/* ========================================================================
   VOLTIMOR TECHNOLOGIES | BRAND + READABILITY | 2026-11-10
   Complete replacement for assets/css/voltimor-brand-20261110.css
   Uses original Voltimor logo colours. Keeps functional CSS and JS untouched.
   FixxWorx colours appear only as small accents.
   ======================================================================== */

:root {
  --vol-black: #01060c;
  --vol-navy: #041526;
  --vol-navy-mid: #0a2646;
  --vol-royal: #006fec;
  --vol-electric: #1aa0fb;
  --vol-cyan: #60d2fb;
  --vol-steel: #9d9ea3;
  --vol-silver: #e2e2e3;
  --vol-pearl: #f3f6fa;
  --vol-ink: #14263c;
  --vol-muted: #455a6e;
  --vol-border: #c8d5e2;
  --vol-fi-orange: #f38237;
  --vol-fi-purple: #8050bd;
  --vol-fi-pink: #e35a9b;
  --vol-gradient: linear-gradient(112deg, #0353b5 0%, #006fec 52%, #1aa0fb 100%);
  --vol-metal: linear-gradient(125deg, #f9fcff, #dfe3e9 35%, #aeb8c4 65%, #f0f2f5);
  --vt-night: var(--vol-navy);
  --vt-deep: var(--vol-navy-mid);
  --vt-blue: var(--vol-royal);
  --vt-electric: var(--vol-electric);
  --vt-silver: var(--vol-silver);
  --vt-paper: var(--vol-pearl);
  --vt-ink: var(--vol-ink);
  --vt-muted: var(--vol-muted);
  --vt-line: var(--vol-border);
  --vt-orange: var(--vol-fi-orange);
  --vt-purple: var(--vol-fi-purple);
  --vt-pink: var(--vol-fi-pink);
}

/* Typography: preserve local layouts and set safe wrapping only where needed. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.public-site, body.admin-portal-body, body.client-body,
body.client-auth-body, body.auth-body, body.qa-body {
  font-family: 'Segoe UI', Inter, Arial, system-ui, sans-serif;
  line-height: 1.5;
}
body.public-site *, body.admin-portal-body *, body.client-body *,
body.client-auth-body *, body.auth-body *, body.qa-body * { box-sizing: border-box; }
body.public-site h1, body.public-site h2, body.public-site h3,
body.admin-portal-body h1, body.admin-portal-body h2, body.admin-portal-body h3,
body.client-body h1, body.client-body h2, body.client-body h3 {
  max-width: 100%;
  overflow-wrap: break-word;
  line-height: 1.17;
}
body.public-site p, body.admin-portal-body p, body.client-body p,
body.public-site label, body.admin-portal-body label, body.client-body label,
body.public-site td, body.admin-portal-body td, body.client-body td {
  overflow-wrap: break-word;
}
body.public-site button, body.admin-portal-body button, body.client-body button,
body.public-site .button, body.admin-portal-body .button, body.client-body .button {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.35;
}
body.public-site input, body.public-site select, body.public-site textarea,
body.admin-portal-body input, body.admin-portal-body select, body.admin-portal-body textarea,
body.client-body input, body.client-body select, body.client-body textarea {
  box-sizing: border-box;
  max-width: 100%;
}
body.public-site a:focus-visible, body.public-site button:focus-visible,
body.admin-portal-body a:focus-visible, body.admin-portal-body button:focus-visible,
body.client-body a:focus-visible, body.client-body button:focus-visible {
  outline: 3px solid var(--vol-electric);
  outline-offset: 2px;
}

/* ========================================================================
   PUBLIC WEBSITE: real home hero uses fwx12-* classes, not .hero-copy.
   ======================================================================== */
body.public-site {
  --brand: var(--vol-royal);
  --blue: var(--vol-royal);
  --ink: var(--vol-ink);
  --muted: var(--vol-muted);
  --line: var(--vol-border);
  --violet: var(--vol-fi-purple);
  --coral: var(--vol-fi-orange);
}
.public-site .site-header {
  background: linear-gradient(100deg, #ffffff, #f3f6fa 55%, #e7edf5) !important;
  border-bottom: 2px solid #a7c3db !important;
}
.public-site .site-header::before { background: var(--vol-gradient) !important; }
.public-site .nav-wrap { min-height: 78px; gap: 12px; }
.public-site .brand { color: #092239 !important; min-width: 0; }
.public-site .brand small { color: #455a6e; }
.public-site .nav { gap: 10px; }
.public-site .nav a { line-height: 1.4; }

/* Specific, high-contrast hero text rules override old gradient-fill CSS. */
.public-site .fwx12-hero {
  background: radial-gradient(circle at 80% 5%, rgba(0,111,236,.28), transparent 38%),
              radial-gradient(circle at 8% 90%, rgba(26,160,251,.12), transparent 40%),
              linear-gradient(125deg, #01060c, #041526 44%, #0a2646) !important;
  color: #f4f8ff !important;
}
.public-site .fwx12-hero::before { content: 'V'; color: rgba(226,226,227,.035); }
.public-site .fwx12-hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(24px,4vw,65px); }
.public-site .fwx12-hero-copy,
.public-site .fwx12-workday-board { min-width: 0; max-width: 100%; }
.public-site .fwx12-hero-copy h1,
.public-site .fwx12-hero-copy h1:not(.unused) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: clamp(2.65rem, 5.25vw, 5.25rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  overflow-wrap: normal;
  word-break: normal;
  text-shadow: 0 3px 18px rgba(0,0,0,.25);
}
.public-site .fwx12-hero-copy h1 em,
.public-site .fwx12-hero-copy h1 i {
  display: block;
  color: #e2e2e3 !important;
  -webkit-text-fill-color: #e2e2e3 !important;
  background: none !important;
  font-style: italic;
  line-height: 1.12;
  font-size: .64em;
  text-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.public-site .fwx12-hero-copy > p {
  color: #e2ebf5 !important;
  font-size: clamp(1rem,1.15vw,1.2rem);
  line-height: 1.65;
  max-width: 690px;
}
.public-site .fwx12-kicker { color: #d8ebff !important; font-size: .76rem; line-height: 1.4; }
.public-site .fwx12-kicker::before { background: linear-gradient(90deg,var(--vol-electric),var(--vol-silver),var(--vol-fi-orange)); }
.public-site .fwx12-primary {
  background: var(--vol-gradient) !important;
  color: #ffffff !important;
  border-color: #197de7 !important;
  box-shadow: 0 12px 30px rgba(0,111,236,.24) !important;
}
.public-site .fwx12-brakki-button {
  background: #133d60 !important;
  border-color: #739fcb !important;
  color: #ffffff !important;
}
.public-site .fwx12-brakki-button:hover { background: #f3f6fa !important; color: #092239 !important; }
.public-site .fwx12-client-link { color: #e0ebf7; font-size: .87rem; }
.public-site .fwx12-no-jargon span { color: #d6e5f5; font-size: .83rem; }
.public-site .fwx12-no-jargon b { background: var(--vol-gradient); }
.public-site .fwx12-workday-board {
  background: linear-gradient(155deg, #06182b, #0b2540) !important;
  border-color: #477494 !important;
  transform: none;
}
.public-site .fwx12-board-top span { background: var(--vol-royal); font-size: .7rem; }
.public-site .fwx12-lane strong { font-size: 1rem; line-height: 1.35; }
.public-site .fwx12-lane p { font-size: .78rem; }
.public-site .fwx12-lane small { font-size: .7rem; }
.public-site .fwx12-board-foot b { line-height: 1.4; }
/* Legacy product gradients are secondary accents within product cards. */
.public-site .artisan-lane { background: linear-gradient(110deg,#4c2992,#8e34ab 53%,#d95772); }
.public-site .siteforge-lane { background: linear-gradient(110deg,#8e402a,#c96a34 51%,#226c8e); }
.public-site .fwx12-marquee { background: #f2f6fb; border-color: #d1dce8; }
.public-site .fwx12-marquee span { color: #173c5c; font-size: .72rem; }
.public-site .fwx12-marquee i { color: var(--vol-fi-purple); }

/* Reusable public buttons, without overwriting special functional controls. */
.public-site .button.primary,
.public-site .button:not(.ghost):not(.light):not(.secondary):not(.fwx12-brakki-button):not(.fwx12-primary) {
  background: var(--vol-gradient) !important;
  color: #ffffff !important;
}
.public-site .button.ghost { border-color: #9aafc5; }

/* ========================================================================
   ADMINISTRATOR INTERFACE: silver workspace, dark-blue navigation.
   ======================================================================== */
body.admin-portal-body {
  --navy: var(--vol-navy);
  --navy-2: var(--vol-navy-mid);
  --navy-3: #123f69;
  --paper: #eef3f9;
  --surface: #ffffff;
  --surface-2: #f5f8fb;
  --ink: var(--vol-ink);
  --muted: var(--vol-muted);
  --line: var(--vol-border);
  --line-strong: #aebfce;
  --blue: var(--vol-royal);
  --accent: var(--vol-royal);
  --accent-2: var(--vol-electric);
  --orange: var(--vol-fi-orange);
  --pink: var(--vol-fi-pink);
  --purple: var(--vol-fi-purple);
}
.admin-portal-body .sidebar {
  background: linear-gradient(168deg,#01060c,#041526 44%,#0a2646) !important;
  border-right: 1px solid #164a7a;
}
.admin-portal-body .sidebar-brand { min-height: 86px; height: auto; }
.admin-portal-body .brand-copy b { color: #f4f7fb; line-height: 1.3; }
.admin-portal-body .brand-copy small { color: #c2d4e7; line-height: 1.4; }
.admin-portal-body .nav-item { min-height: 42px; line-height: 1.4; white-space: normal; }
.admin-portal-body .nav-item.active {
  background: linear-gradient(92deg,#004fae,#0c5898) !important;
  box-shadow: inset 4px 0 0 var(--vol-electric) !important;
}
.admin-portal-body .nav-label { color: #b1cee6; }
.admin-portal-body .admin-header {
  min-height: 76px;
  height: auto;
  background: linear-gradient(90deg,#ffffff,#f2f6fb);
}
.admin-portal-body .admin-content,
.admin-portal-body .admin-content-inner { min-width: 0; }
.admin-portal-body .admin-header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.admin-portal-body .button.primary,
.admin-portal-body .button.button-primary {
  background: var(--vol-gradient) !important;
  color: #ffffff !important;
  border-color: var(--vol-royal) !important;
}
.admin-portal-body .metric-icon { background: #e4f1ff; color: #0054b6; }
.admin-portal-body .metric-card,
.admin-portal-body .registry-card,
.admin-portal-body .panel { border-color: #cbd8e5; }
.admin-portal-body .registry-card.product-orange::before { background: var(--vol-fi-orange); }
.admin-portal-body .registry-card.product-purple::before { background: var(--vol-fi-purple); }
.admin-portal-body .registry-card.product-blue::before { background: var(--vol-electric); }
.admin-portal-body .registry-card small,
.admin-portal-body .metric-card small,
.admin-portal-body .field-help { font-size: .85rem; line-height: 1.5; }
.admin-portal-body .status-pill,
.admin-portal-body .badge { line-height: 1.4; }
.admin-portal-body .identity-table-wrap,
.admin-portal-body .table-scroll { max-width: 100%; overflow-x: auto; }
.admin-portal-body .provisioning-existing-form { grid-template-columns: repeat(4,minmax(0,1fr)); }

/* Client and login screens share the same brand but keep their own layout. */
body.client-body, body.client-auth-body {
  --brand: var(--vol-royal);
  --blue: var(--vol-royal);
  --ink: var(--vol-ink);
  --muted: var(--vol-muted);
  --line: var(--vol-border);
}
.client-body .client-sidebar { background: linear-gradient(165deg,#01060c,#0a2646) !important; }
.client-body .client-button.primary,
.client-body .button.primary { background: var(--vol-gradient) !important; color: #ffffff !important; }
body.auth-body { background: radial-gradient(ellipse at 75% 12%,#164b87,transparent 45%),linear-gradient(130deg,#01060c,#0a2646) !important; }
body.qa-body { --accent: var(--vol-royal); --blue: var(--vol-royal); }

/* Prevent clipping in common card, form and table layouts. */
.public-site .fwx12-lane,
.public-site .fwx12-path,
.admin-portal-body .registry-card,
.admin-portal-body .metric-card,
.admin-portal-body .admin-header-actions { min-width: 0; }
.public-site .fwx12-lane > div,
.public-site .fwx12-path-copy,
.admin-portal-body .registry-card > div { min-width: 0; }
.admin-portal-body .registry-actions,
.admin-portal-body .header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Responsive breakpoints: retain the working mobile menu behaviour. */
@media (max-width: 1280px) {
  .public-site .nav-wrap { gap: 9px; }
  .public-site .nav { gap: 9px; }
  .admin-portal-body .provisioning-existing-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1100px) {
  .public-site .fwx12-hero-grid { grid-template-columns: minmax(0,1fr); }
  .public-site .fwx12-workday-board { max-width: 760px; }
  .public-site .fwx12-hero-copy h1 { font-size: clamp(2.5rem,7vw,4.3rem); }
}
@media (max-width: 760px) {
  .public-site .fwx12-hero { padding-top: 54px; }
  .public-site .fwx12-hero-copy h1 { font-size: clamp(2.25rem,8vw,3.5rem); }
  .public-site .fwx12-hero-copy > p { font-size: 1rem; }
  .admin-portal-body .provisioning-existing-form { grid-template-columns: minmax(0,1fr); }
  .admin-portal-body .admin-header-actions { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .public-site .fwx12-hero-copy h1 { font-size: clamp(2.1rem,9vw,2.8rem); }
  .public-site .fwx12-lane { grid-template-columns: 48px minmax(0,1fr) 18px; gap: 9px; padding: 13px; }
  .public-site .fwx12-lane-code { width: 46px; height: 46px; }
  .public-site .fwx12-hero-actions { align-items: stretch; }
  .public-site .fwx12-hero-actions .button { width: 100%; }
  .admin-portal-body .admin-content { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  body.public-site *, body.admin-portal-body *, body.client-body * {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
