/* Approved NEXO dark visual system. Shared across every role and module. */
:root{--bg:#10151a;--card:#141b21;--ink:#f5f7fa;--text:#f5f7fa;--muted:#aab4c0;--line:#2b343e;--brand:#e4f222;--brand-dark:#d4e216;--surface-0:#10151a;--surface-1:#141b21;--surface-2:#1b242d;--surface-3:#27323d;--text-2:#d3dbe4;--text-3:#aab4c0;--radius-card:12px;--radius-control:8px}
html{scroll-padding-top:80px}body{background:var(--bg);color:var(--text);font-size:15px;line-height:1.55;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input,select,textarea{font:inherit}button{font-size:14px;line-height:1.35;min-height:44px;border-radius:8px}button:disabled{opacity:.55;cursor:not-allowed}button:not(:disabled){transition:background-color .15s,border-color .15s,color .15s}
button.primary,.primary{background:var(--brand);color:#11180a;border-color:var(--brand);font-weight:650}.secondary,.ghost{background:#18212a;color:#e0e6ed;border:1px solid #34404c}.secondary:hover,.ghost:hover{background:#23303c;border-color:#607082}
:focus-visible{outline:3px solid var(--brand);outline-offset:3px}a{color:#dce75f}a:hover{color:#f2faa1}.muted{color:var(--muted);font-size:14px}.eyebrow{font-size:12px;font-weight:600;letter-spacing:.08em;color:var(--muted)}
.shell{grid-template-columns:280px minmax(0,1fr);padding:0;gap:0;background:var(--bg)}
.portal-header.sidebar{position:sticky;top:0;height:100dvh;max-height:100dvh;padding:24px 16px 16px;background:#11181e;border-right:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden}
.brand{gap:14px;padding:0 8px 22px;border-color:var(--line);flex-shrink:0}.brand-mark{width:48px;height:48px;border-radius:10px}.brand strong{font-size:24px;line-height:1.2;font-weight:650;letter-spacing:-.04em}.brand small{margin-top:5px;font-size:12px;color:var(--muted)}
.section-search{margin:14px 2px 10px;flex-shrink:0}.section-search input{width:100%;min-height:44px;font-size:14px;background:#0f151b;border-color:#35404b;border-radius:8px;padding:10px 12px;color:var(--text)}
.portal-header .nav{display:flex;flex-direction:column;gap:4px;min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#40505f transparent;padding-right:3px}
.nav-group{padding:20px 10px 6px;font-size:11px;line-height:1.5;color:#a6b2be;letter-spacing:.09em;font-weight:650}.nav-group:first-child{padding-top:10px}
.portal-header .nav button{flex-shrink:0;display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 12px;color:#c3cdd8;border:1px solid transparent;border-radius:8px;font-size:14px;line-height:1.4;text-align:left}
.portal-header .nav button.active{color:#fff;background:#222b28;border-color:#344138;box-shadow:inset 3px 0 var(--brand);font-weight:600}.portal-header .nav button:hover{background:#202b35;color:#fff}
.nav-symbol{width:22px;display:inline-flex;align-items:center;flex-shrink:0}.nexo-icon{display:inline-block;vertical-align:middle;flex-shrink:0;width:20px;height:20px;filter:invert(85%) sepia(9%) saturate(270%) hue-rotate(177deg) brightness(102%)}
.primary .nexo-icon{filter:none}.nav-empty{font-size:14px;line-height:1.6}.portal-header .side-user{flex-shrink:0;gap:10px;margin-top:14px;padding:14px 8px 0;border-color:var(--line);flex-wrap:wrap}.side-user .user-copy{min-width:0;flex:1 1 100%}.side-user b{display:block;overflow-wrap:anywhere;font-size:13px;color:#d7e0e9}.side-user .role{font-size:12px;color:var(--muted)}.side-user .ghost{font-size:12px;min-height:38px;padding:8px 12px}
.main{min-width:0}.topbar{min-height:64px;padding:0 34px;background:var(--bg);border-color:var(--line);position:sticky;top:0;z-index:10}.topbar-title{font-size:14px;font-weight:600;color:#e9edf2}.portal-date{font-size:12px;color:var(--muted)}
.content{padding:30px 34px 100px;max-width:1600px;margin-inline:auto}.hero{gap:24px;align-items:center;margin-bottom:26px}.hero h2{font-size:clamp(28px,2.7vw,40px);line-height:1.16;font-weight:650;letter-spacing:-.035em;margin:10px 0 12px;color:var(--text);max-width:none}.hero .muted{max-width:65ch;margin:0;font-size:15px;color:var(--muted)}.hero-actions{display:flex;gap:10px}.hero-actions button{padding:13px 20px;gap:10px;display:inline-flex;align-items:center;justify-content:center}
.grid{gap:16px}.card{background:var(--card);border:1px solid var(--line);padding:22px;border-radius:12px;box-shadow:none;color:var(--text)}.card h3{font-size:18px;line-height:1.4;letter-spacing:-.015em;font-weight:600;margin-top:0}.card p{line-height:1.65}.section-heading{gap:16px;align-items:center}.section-heading h3{margin:0}
#dashboardView .kpi{background:var(--card);position:relative;min-height:138px;padding:20px 18px 20px 76px;display:flex;flex-direction:column;justify-content:center}.metric-icon{position:absolute;left:18px;top:24px;width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#233524}.metric-requests .metric-icon{background:#3b3021}.metric-clock .metric-icon{background:#203349}.metric-access .metric-icon{background:#342743}.metric-icon .nexo-icon{width:24px;height:24px}#dashboardView .kpi strong{font-size:32px;font-weight:650;line-height:1.15;letter-spacing:-.03em;order:-1;margin:0 0 7px}#dashboardView .kpi .muted{font-size:14px;color:#e2e8ef;font-weight:500}#dashboardView .kpi .trend{font-size:12px;color:var(--muted);line-height:1.5;margin-top:6px}
.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:18px;margin-top:20px}.dashboard-columns>article{min-width:0}.quick-actions{display:grid;gap:10px;margin-top:20px}.quick-actions button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:12px 16px;text-align:left;font-size:14px}.quick-actions button:after{content:none}.empty{color:var(--muted);font-size:14px}.compact-empty{padding:30px 12px;min-height:160px}.compact-empty h3{font-size:16px;color:#eef3f7;margin:16px 0 6px}.compact-empty p{margin:0;max-width:50ch;margin-inline:auto}.empty-symbol{width:54px;height:54px;border:1px solid #35414e;background:#202b35;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-size:inherit}.empty-symbol .nexo-icon{width:26px;height:26px}
.recent-activity,.recent-requests{margin-top:20px}.recent-activity .section-heading{padding-bottom:16px}.recent-activity .table-wrap{border-top:1px solid var(--line);border-radius:0;margin:0 -22px -22px}.recent-activity .table th,.recent-activity .table td{padding-inline:22px}.recent-activity .table th{font-size:11px;letter-spacing:.05em;text-transform:uppercase;background:#18212a}.recent-activity .table td{font-size:13px}.recent-activity .table td:first-child{white-space:nowrap}
.table-wrap{min-width:0;overflow:auto;overscroll-behavior-x:contain;border:1px solid var(--line);border-radius:10px;scrollbar-width:thin;scrollbar-color:#435364 #141b21}.table{width:100%;font-size:14px;border-collapse:collapse}.table th{font-size:12px;font-weight:600;line-height:1.5;color:#b7c4d1;background:#19222b;white-space:normal;text-align:left}.table th,.table td{padding:14px 16px;border-color:var(--line);vertical-align:middle}.table td{color:#e0e7ef;line-height:1.55}.table tbody tr:hover{background:#1b252f}.table button{min-height:38px;font-size:13px;white-space:nowrap}
.toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:0 0 20px}.toolbar input,.toolbar select,.field input,.field select,.field textarea{min-height:44px;font-size:15px;background:#101820;color:#f0f4f8;border:1px solid #42505e;border-radius:8px;padding:10px 12px}.field{gap:7px}.field label,.form-grid label{font-size:14px;color:#d4dde7;line-height:1.5}.form-grid{gap:18px}.field textarea,textarea{resize:vertical}.note,.success-note{font-size:14px;line-height:1.65;border-radius:8px;padding:14px 16px}.note{background:#202a35;color:#dce6f0;border:1px solid #425364}.privacy-note,.hint,.help-text{font-size:13px;line-height:1.6;color:var(--muted)}
.pill{font-size:12px;font-weight:550;line-height:1.4;padding:6px 10px;border-radius:6px}.pill.success{background:#183126;color:#a9e7c2;border:1px solid #2c553e}.pill.warning{background:#3b2d17;color:#f3d491;border:1px solid #695229}.pill.danger,.pill.error{background:#3c2328;color:#ffbec6;border:1px solid #79404a}.list-item{padding:15px 0;border-color:var(--line);gap:16px}.list-item b{font-size:14px}.list-item p{font-size:13px;color:var(--muted);margin:4px 0 0}
.modal{background:#080c11cc}.modal-card{background:#141d26;color:var(--text);border-color:#445361;border-radius:14px;padding:26px}.modal-card h3{font-size:21px}.modal-actions{background:#141d26;border-color:var(--line);gap:10px;padding-top:18px}.modal-actions button{min-width:100px}.icon-close{background:#202c38;color:#d8e4ee;border-color:#42505e;min-width:40px;min-height:40px}
.login-page{background:#10151a;padding:32px}.login-panel{width:min(490px,100%)}.login-card{padding:38px;background:#141b21;border:1px solid #35414c;border-radius:14px}.login-card h2{font-size:34px;line-height:1.2;font-weight:650;letter-spacing:-.03em}.login-card .muted{font-size:15px;line-height:1.6}.login-nexus-mark{width:48px;height:48px;border-radius:10px;margin-bottom:24px}.auth-tabs{padding:4px;background:#10161c;border-color:#35414c;border-radius:9px;margin:28px 0}.auth-tabs button{font-size:14px;min-height:44px}.auth-tabs button.active{background:#24303b;color:#fff;box-shadow:none}.login-card .field{margin-bottom:18px}.login-card .primary{min-height:48px}.password-toggle{font-size:12px;min-height:36px;background:#263440;color:#e0e8f1}.footer-note{font-size:12px;line-height:1.6;margin-top:26px;color:var(--muted)}
.settings-layout,.org-layout,.workforce-module{color:var(--text)}.settings-layout label,.org-layout label,.workforce-module label{font-size:14px;color:#d3dce5}.settings-layout input,.settings-layout select,.settings-layout textarea,.org-layout input,.org-layout select,.workforce-module input,.workforce-module select,.workforce-module textarea{font-size:15px;background:#101820;border-color:#42505e;color:#f0f4f8}.settings-gps-choice label{padding:16px;border-color:#42505e;background:#18222c}.settings-gps-choice label:has(input:checked){background:#263025;border-color:var(--brand)}.workforce-preview,.settings-panel,.org-panel{background:var(--card);border-color:var(--line)}.workforce-preview dt{font-size:13px;color:var(--muted)}.workforce-preview dd{font-size:14px}.bank-kicker,.bank-year,.bank-primary span,.bank-breakdown span{font-size:12px;color:var(--muted)}.bank-breakdown strong{font-size:14px}.bank-card-v2,.admin-bank-person{background:var(--card);border-color:var(--line)}.bank-primary strong{font-size:34px}.cal-day{background:var(--card);border-color:var(--line)}.cal-head{font-size:12px;color:var(--muted)}.admin-bank-row{padding:16px}.admin-bank-title strong{font-size:14px}.admin-bank-title span,.admin-bank-available span{font-size:12px}
#rrhh-ai-launch{min-height:46px;font-size:13px;padding:12px 16px;border-radius:10px}#rrhh-ai-panel{background:#15202b;border-color:#42505e;border-radius:14px}#rrhh-ai-panel .rrhh-ai-message,#rrhh-ai-panel .rrhh-ai-chip{font-size:14px;line-height:1.6}#rrhh-ai-panel input{font-size:15px}.toast{font-size:14px;line-height:1.5;background:#20303f;color:#f0f5fa;border-color:#506375}
@media(min-width:781px){.mobile-menu{display:none!important}}
@media(max-width:1200px){.shell{grid-template-columns:248px minmax(0,1fr)}.content{padding:26px 24px 100px}.topbar{padding-inline:24px}.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-columns{grid-template-columns:minmax(0,1fr)}.hero{align-items:flex-start}.brand strong{font-size:22px}}
@media(max-width:780px){.shell{display:block}.portal-header.sidebar{display:grid;grid-template-columns:minmax(0,1fr) auto;position:sticky;top:0;height:auto;max-height:100dvh;padding:12px 16px;background:#11181e;border-right:0;border-bottom:1px solid var(--line);overflow:auto;z-index:20}.brand{padding:0;border:0;gap:10px}.brand-mark{width:36px;height:36px}.brand strong{font-size:21px}.brand small{display:none}.portal-header .mobile-menu{display:inline-flex;min-height:44px;padding:10px 14px}.portal-header .nav,.portal-header .side-user,.portal-header .section-search{display:none}.portal-header.open .section-search{display:block;grid-column:1/-1;margin:16px 0 8px}.portal-header.open .nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-column:1/-1;max-height:55dvh;overflow:auto;gap:5px}.portal-header.open .nav-group{grid-column:1/-1;padding-top:14px}.portal-header .nav button{font-size:13px;min-height:46px;padding:10px 8px;gap:8px}.portal-header.open .side-user{display:flex;grid-column:1/-1;margin-top:12px}.nav-empty{grid-column:1/-1}.topbar{min-height:52px;padding:12px 18px;position:static;gap:8px;flex-wrap:wrap}.portal-date{font-size:12px}.content{padding:22px 16px 95px}.hero{flex-direction:column;gap:16px;margin-bottom:22px}.hero h2{font-size:29px;line-height:1.2}.hero .muted{font-size:14px}.hero-actions{width:100%}.hero-actions button{min-height:46px;flex:1}.grid{gap:12px}.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}#dashboardView .kpi{min-height:146px;padding:18px 14px}.metric-icon{position:static;width:34px;height:34px;margin-bottom:10px;border-radius:50%}.metric-icon .nexo-icon{width:19px;height:19px}#dashboardView .kpi strong{order:0;font-size:29px;margin:7px 0 4px}.kpi .muted{font-size:13px}.kpi .trend{font-size:12px}.card{padding:18px}.card h3{font-size:17px}.dashboard-columns{grid-template-columns:minmax(0,1fr);gap:14px;margin-top:16px}.section-heading{align-items:flex-start;flex-wrap:wrap;gap:10px}.compact-empty{padding:26px 8px;min-height:140px}.recent-activity .table-wrap{margin:0 -18px -18px}.recent-activity .table th,.recent-activity .table td{padding:12px 16px}.table{min-width:620px;font-size:14px}.table th,.table td{padding:12px}.toolbar input,.toolbar select,.field input,.field select,.field textarea,.workforce-module input,.workforce-module select,.workforce-module textarea{font-size:16px;width:100%}.toolbar{gap:10px}.toolbar>*{max-width:100%;min-width:0}.form-grid,.workforce-module .form-grid{grid-template-columns:minmax(0,1fr)}.modal{padding:10px}.modal-card{padding:20px;max-height:92dvh}.modal-actions{flex-wrap:wrap;bottom:-20px}.modal-actions button{flex:1}.login-page{padding:18px}.login-card{padding:28px 24px}.login-card h2{font-size:30px}.footer-note{font-size:12px}.toast{left:16px;right:16px;bottom:82px}#rrhh-ai-launch{right:16px;bottom:16px}#rrhh-ai-panel{right:12px;bottom:76px;max-width:calc(100vw - 24px)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
[hidden]{display:none!important}

.recent-activity .table tbody tr{background:var(--card)}

#dashboardView .kpi::before{display:none}.dashboard-columns .compact-empty{min-height:130px;padding:22px 12px}.dashboard-columns .compact-empty p{color:var(--muted);font-size:14px}.recent-activity .section-heading{padding-bottom:12px}
