/* Nexxora UI System v2.4.4
   Shared visual layer: design tokens, executive overview and consistent surfaces.
   Business/data logic remains in app.js; this file is presentation-only. */
:root{
  --nx-bg:#f5f7fc;
  --nx-surface:#ffffff;
  --nx-surface-soft:#f8faff;
  --nx-ink:#14213b;
  --nx-ink-2:#334765;
  --nx-muted:#74839b;
  --nx-border:#e3e9f3;
  --nx-primary:#4f5ff0;
  --nx-primary-2:#7250e7;
  --nx-primary-soft:#eef0ff;
  --nx-success:#159763;
  --nx-warning:#b7791f;
  --nx-danger:#b42318;
  --nx-radius-sm:10px;
  --nx-radius-md:14px;
  --nx-radius-lg:20px;
  --nx-shadow:0 10px 30px rgba(20,36,71,.045);
  --nx-shadow-hover:0 15px 34px rgba(20,36,71,.075);
}
html{scroll-behavior:smooth;scroll-padding-top:98px}
body{background:var(--nx-bg);color:var(--nx-ink);font-feature-settings:"ss01" on,"cv11" on}
header{height:78px;background:rgba(255,255,255,.96);border-bottom-color:var(--nx-border);backdrop-filter:blur(14px);box-shadow:0 2px 12px rgba(20,36,71,.025)}
.brand strong{font-size:15px;letter-spacing:-.2px;color:#12203a}
.brand small{font-size:11px;color:var(--nx-muted)}
.logo-img{width:40px;height:40px}
main{max-width:1680px;margin:24px auto;padding:0 24px 42px}
.workspaceLayout{grid-template-columns:238px minmax(0,1fr);gap:25px}
.workspaceMain{min-width:0;padding-bottom:16px}
.welcome{margin-bottom:22px;align-items:center}
.welcome .eyebrow{color:#6267d9}
.welcome h1{margin:7px 0 5px;font-size:clamp(26px,2.2vw,34px);letter-spacing:-.9px;font-weight:780;color:var(--nx-ink)}
.welcome p{margin:0;max-width:720px;color:var(--nx-muted);font-size:13px}
.panel,.company,.stat,.sideNav{border-color:var(--nx-border);box-shadow:var(--nx-shadow)}
.panel{border-radius:var(--nx-radius-lg);padding:22px;box-shadow:var(--nx-shadow)}
.sideNav{background:var(--nx-surface);border-radius:20px;padding:14px 11px;box-shadow:0 12px 30px rgba(20,36,71,.045)}
.navEyebrow{padding:8px 12px 10px;color:#8a97ad;font-size:10px;letter-spacing:1.4px}
.navItem{min-height:42px;border-radius:11px;color:#53637e;border:1px solid transparent;font-weight:680;transition:background .16s ease,color .16s ease,border-color .16s ease;}
.navItem:hover{background:#f6f7ff;color:#4049aa;filter:none}
.navItem.active{background:linear-gradient(115deg,#eef0ff,#f5f1ff);border-color:#e4e6ff;color:#373fc0;box-shadow:inset 3px 0 #5a61f0}
.navFoot{border-top:1px solid #edf0f6;margin-top:auto;padding:15px 8px 5px}
.navFootBrand{font-size:11px;font-weight:780;line-height:1.6;color:#354968}
.navFootBrand small{font-size:10px;color:#8995a8;font-weight:500}
.navSignOut{border-radius:11px;background:#f8f9fc;border-color:#e2e8f2;color:#4a5d79;transition:background .15s ease,border-color .15s ease}
.navSignOut:hover{background:#fff1f1;border-color:#f5d5d5;color:#a52b2b}
.headerRight{gap:14px}
.who{font-size:12px;color:#62718a}
.notificationBell{background:#f2f3ff;border-color:#e1e4ff;color:#4b4cbb;border-radius:12px;padding:10px 13px}
.globalSearchWrap input{min-height:44px;background:#f8faff;border-color:#e0e6f1;border-radius:14px;padding-left:43px}
.globalSearchResults{border-radius:15px;box-shadow:0 24px 60px rgba(23,37,72,.15)}
button,input,select,textarea{transition:border-color .15s ease,box-shadow .15s ease,background .15s ease,transform .15s ease}
button{font-weight:700}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(86,97,241,.24);outline-offset:2px}
button:not(:disabled):active{transform:translateY(1px)}
.secondary{background:#f0f3fa;color:#3e5272;border:1px solid #e1e7f1}
.secondary:hover{background:#e9eef8;filter:none}
.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:20px}
.stat{position:relative;display:flex;flex-direction:column;gap:0;min-width:0;min-height:158px;padding:17px 18px;border-radius:17px;background:linear-gradient(180deg,#fff 0%,#fdfdff 100%);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.stat:hover{transform:translateY(-2px);box-shadow:var(--nx-shadow-hover);border-color:#d8defc}
.statTop{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}
.statIcon{width:37px;height:37px;display:grid;place-items:center;border-radius:12px;background:#eff0ff;color:#5055cf}
.statIcon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.stat-blue .statIcon{background:#edf6ff;color:#2872bb}.stat-amber .statIcon{background:#fff5df;color:#ad7411}.stat-mint .statIcon{background:#e9f9f2;color:#188560}
.statContext{font-size:9px;letter-spacing:.65px;text-transform:uppercase;color:#97a1b2;font-weight:800}
.stat small{color:#6f7e96;font-size:11px;font-weight:700}
.stat strong{display:block;margin-top:5px;font-size:27px;line-height:1.15;letter-spacing:-.6px;color:#1b2c4c;font-variant-numeric:tabular-nums}
.statHint{margin-top:auto;padding-top:8px;color:#8b97aa;font-size:10px;line-height:1.4}
.sectionTitle{margin:24px 0 13px}
.sectionTitle h2{font-size:18px;letter-spacing:-.25px;color:#1a2c4b}
.company{border-radius:18px;padding:19px;box-shadow:0 7px 22px rgba(20,36,71,.035);transition:box-shadow .18s ease,border-color .18s ease}
.company:hover{border-color:#d4dcf3;box-shadow:var(--nx-shadow-hover)}
.company h3{letter-spacing:-.2px;color:#1d3153}
.companyHead .muted{line-height:1.45}
.company .categoryBlock{min-width:0}
.company .settings,.company .exceptions,.company .report,.company .leaveApprovalsSection{border-color:#edf0f6}
.company .workspacePanelHeading h3{letter-spacing:-.2px}
.domain{background:#f1f4fb;color:#4d607e;border:1px solid #e7ecf5;border-radius:9px}
.tag{background:#f0f1ff;color:#5357bb;border:1px solid #e1e4ff}
.msg{line-height:1.5}
.empty{border-style:solid;border-color:#e4e9f2;background:#fbfcff;border-radius:14px;line-height:1.6}
footer{color:#99a4b6;padding:26px 0 18px;font-size:10px}
#executiveOverview[hidden]{display:none!important}
.executiveOverview{display:grid;gap:18px;margin:0 0 24px}
.executiveHero{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:166px;padding:28px 30px;background:linear-gradient(116deg,#fff 0%,#f6f7ff 52%,#f2f0ff 100%);border-color:#e1e5fb}
.executiveHeroCopy{position:relative;z-index:1;max-width:640px}
.executiveHero h2{margin:8px 0 7px;font-size:clamp(22px,2.1vw,30px);line-height:1.17;letter-spacing:-.9px;color:#1c2b4c}
.executiveHero p{margin:0;color:#72809a;font-size:12px;line-height:1.6}
.executiveHeroActions{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-end;gap:12px;min-width:175px}
.workspaceHealth{display:inline-flex;align-items:center;gap:7px;border:1px solid #d9eee3;border-radius:99px;background:rgba(255,255,255,.8);padding:7px 10px;color:#32775b;font-size:10px;font-weight:750;white-space:nowrap}
.workspaceHealth i{width:7px;height:7px;display:block;border-radius:50%;background:#18a56a;box-shadow:0 0 0 3px #18a56a1b}
.heroPrimary{background:linear-gradient(120deg,var(--nx-primary),var(--nx-primary-2));color:#fff;border:1px solid #5b5be8;box-shadow:0 7px 16px rgba(80,88,226,.18);font-size:12px;padding:12px 15px}
.heroPrimary span{margin-left:8px;font-size:15px}
.heroOrnament{position:absolute;z-index:-1;border-radius:50%;pointer-events:none}
.heroOrnamentOne{right:135px;top:-115px;width:265px;height:265px;border:32px solid rgba(105,116,255,.055)}
.heroOrnamentTwo{right:-55px;bottom:-155px;width:300px;height:300px;background:radial-gradient(circle,rgba(127,103,238,.095),rgba(127,103,238,0) 69%)}
.executiveLayout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.82fr);gap:18px;align-items:start}
.overviewPanel{min-width:0;padding:20px;background:var(--nx-surface);border:1px solid var(--nx-border);border-radius:18px;box-shadow:var(--nx-shadow)}
.overviewPanelHead{display:flex;align-items:flex-start;justify-content:space-between;gap:13px;margin-bottom:15px}
.overviewPanelHead h2{margin:5px 0 5px;font-size:17px;letter-spacing:-.35px;color:#203250}
.overviewPanelHead p{margin:0;color:#8894a8;font-size:11px;line-height:1.5}
.subtleAction{padding:8px 10px;border:1px solid #e5eaf4;background:#fff;color:#596a87;font-size:10px;white-space:nowrap}
.subtleAction:hover{background:#f6f7ff;border-color:#dfe3ff;color:#4b50c3;filter:none}
.overviewCompanyList{display:grid;gap:10px}
.overviewCompanyCard{padding:15px;border:1px solid #e8edf6;border-radius:15px;background:linear-gradient(140deg,#fff,#fcfdff);transition:border-color .16s ease,box-shadow .16s ease}
.overviewCompanyCard:hover{border-color:#d5dcfc;box-shadow:0 7px 20px rgba(31,50,90,.055)}
.overviewCompanyHead{display:flex;align-items:center;gap:11px;min-width:0}
.overviewCompanyMark{display:grid;place-items:center;flex:0 0 41px;width:41px;height:41px;border:1px solid #e1e4ff;border-radius:13px;background:linear-gradient(135deg,#e9edff,#f5edff);color:#4e55cc;font-size:16px;font-weight:850}
.overviewCompanyName{min-width:0;flex:1}
.overviewCompanyName h3{margin:0 0 4px;color:#203250;font-size:14px;letter-spacing:-.2px;overflow-wrap:anywhere}
.overviewCompanyName p{margin:0;color:#8994a8;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.overviewCompanyMetrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0 12px}
.overviewCompanyMetrics>div{min-width:0;padding:10px 11px;border-radius:11px;background:#f7f9fd;border:1px solid #eef1f7}
.overviewCompanyMetrics small{display:block;color:#8a96aa;font-size:8px;letter-spacing:.65px;font-weight:800}
.overviewCompanyMetrics strong{display:block;margin-top:5px;color:#2b4163;font-size:13px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.overviewCompanyFoot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:11px;border-top:1px solid #eef1f6}
.overviewDomainChips{display:flex;gap:5px;flex-wrap:wrap;min-width:0}
.overviewDomainChips span{padding:5px 7px;border:1px solid #e8edf6;border-radius:7px;background:#fff;color:#6a7b96;font-size:9px;overflow-wrap:anywhere}
.companyOpenAction{flex:0 0 auto;padding:8px 10px;border:1px solid #e1e5ff;border-radius:9px;background:#f4f5ff;color:#4c51be;font-size:10px;white-space:nowrap}
.companyOpenAction:hover{background:#ebedff;filter:none}
.companyOpenAction span{margin-left:5px}
.overviewRail{display:grid;gap:18px;min-width:0}
.overviewQuickActions{display:grid;gap:8px}
.overviewQuickAction{display:flex;align-items:center;gap:10px;width:100%;padding:11px;border:1px solid #e8edf6;border-radius:12px;background:#fff;color:#354966;text-align:left}
.overviewQuickAction:hover{background:#f9faff;border-color:#dce2ff;filter:none}
.quickActionIcon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#eff1ff;color:#575cd1;font-size:16px;font-weight:800}
.overviewQuickAction>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.overviewQuickAction strong{color:#2d4262;font-size:11px;line-height:1.4}
.overviewQuickAction small{color:#8995a9;font-size:9px;line-height:1.4}
.overviewQuickAction>b{color:#8d98ab;font-size:16px;font-weight:500}
.overviewQuickAction[hidden],.overviewAdminAction[hidden]{display:none!important}
.overviewPendingBadge{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 8px;border:1px solid #f6e3b4;border-radius:99px;background:#fff8e8;color:#a46f0e;font-size:11px;font-weight:850}
.pendingBadge{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 8px;border:1px solid #f6e3b4;border-radius:99px;background:#fff8e8;color:#a46f0e;font-size:11px;font-weight:850}
.overviewAttentionItems{display:grid;gap:10px}
.overviewAttentionItem{display:flex;align-items:flex-start;gap:9px;padding:10px 0;border-bottom:1px solid #f0f2f7;min-width:0}
.overviewAttentionItem:last-child{border-bottom:0}
.attentionDot{width:8px;height:8px;margin-top:4px;flex:0 0 8px;border-radius:50%;background:#e3a32c;box-shadow:0 0 0 3px #fff4dd}
.overviewAttentionItem>div{min-width:0}
.overviewAttentionItem strong{display:block;color:#344967;font-size:10px;line-height:1.4}
.overviewAttentionItem p{margin:3px 0;color:#78869b;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.overviewAttentionItem small{display:block;color:#a0aabb;font-size:9px;overflow-wrap:anywhere}
.overviewAttentionEmpty{display:flex;align-items:flex-start;gap:10px;padding:12px 0 16px}
.attentionEmptyIcon{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border-radius:10px;background:#e9f9f0;color:#168458;font-weight:900}
.overviewAttentionEmpty strong{display:block;color:#2c4963;font-size:11px;margin-top:2px}
.overviewAttentionEmpty p{margin:4px 0 0;color:#8996aa;font-size:10px;line-height:1.5}
.overviewAllReviews{width:100%;margin-top:12px;text-align:center}
.overviewLoading,.overviewEmpty{padding:18px;border:1px dashed #dfe6f1;border-radius:12px;color:#8a96aa;font-size:11px;line-height:1.6;background:#fafbfe}
#companiesSectionTitle[hidden],#companies[hidden],#stats[hidden],#createPanel[hidden],#notificationCenter[hidden],#executiveOverview[hidden]{display:none!important}
/* Page-level panels and forms use the same rhythm and focus state. */
.settingsForm,.leavePolicyForm,.reportTools,.calendarDayForm,.roleForm{gap:12px}
.company .categoryBlock[style*="display: block"]{animation:nxFadeIn .18s ease both}
@keyframes nxFadeIn{from{opacity:.45;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1250px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.executiveLayout{grid-template-columns:minmax(0,1.15fr) minmax(285px,.85fr)}}
@media(max-width:900px){
  main{padding:0 14px 32px;margin-top:14px}
  header{padding:10px 16px;height:auto;min-height:76px;gap:12px}
  .executiveLayout{grid-template-columns:1fr}
  .executiveHero{align-items:flex-start;flex-direction:column;padding:23px}
  .executiveHeroActions{flex-direction:row;align-items:center;justify-content:space-between;width:100%;min-width:0}
  .overviewRail{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
  .sideNav{position:sticky;top:0;height:auto;max-height:none;min-height:0;overflow:visible;display:flex;flex-direction:row;align-items:center;gap:5px}
  .navFoot{position:sticky;right:0;bottom:auto;flex:0 0 auto;margin:0;padding:4px 6px;background:#fff}
}
@media(max-width:640px){
  .stats{grid-template-columns:1fr 1fr;gap:9px}
  .stat{min-height:137px;padding:13px}
  .stat strong{font-size:23px}
  .statContext{display:none}
  .executiveHero h2{font-size:23px}
  .overviewRail{grid-template-columns:1fr}
  .overviewCompanyMetrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .overviewCompanyMetrics>div{padding:8px 7px}
  .overviewCompanyMetrics small{font-size:7px;letter-spacing:.2px}
  .overviewCompanyMetrics strong{font-size:11px}
  .overviewCompanyFoot{align-items:flex-start;flex-direction:column}
  .companyOpenAction{width:100%}
  .overviewPanel{padding:15px}
  .overviewPanelHead{flex-direction:column;align-items:stretch}
  .subtleAction{align-self:flex-start}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
