@keyframes drawerIn{from{transform:translateX(20px);opacity:.5}to{transform:translateX(0);opacity:1}}@keyframes toastIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}

/* Keep the primary Zenith operations screen inside one desktop viewport. */
@media (min-width:861px) and (max-height:900px){
  .zenith-header{height:102px}
  .zenith-header-left,.zenith-header-right{padding-top:27px}
  .zenith-header-left:after,.zenith-header-right:after{bottom:8px}
  .zenith-nav{height:38px}
  .zenith-home{height:calc(100dvh - 140px)}
  .zenith-systems{padding:14px 30px 16px}
  .system-glyph{transform:scale(.76) translateY(-5px)}
  .system-tile-name{bottom:38px;font-size:9px}
  .system-tile-meta{bottom:12px;font-size:7px}
  .system-tile-index{top:11px;left:12px}
  .zenith-designation{padding:15px 26px 12px 46px}
  .designation-kicker{font-size:10px;margin:1px 0 9px}
  .designation-title{font-size:clamp(58px,6.7vw,96px)}
  .designation-rule{margin:19px 0}
  .library-feature,.department-feature{min-height:98px;padding:17px 22px}
  .library-feature h2,.department-feature h2{font-size:26px;margin-bottom:6px}
  .library-feature p,.department-feature p{font-size:11px;line-height:1.35}
  .library-icon,.department-status-mark{width:52px;height:52px;margin-left:20px}
  .designation-list{margin-top:14px}
  .designation-row{min-height:48px;grid-template-columns:38px 108px 1fr;gap:12px;padding:5px 0}
  .designation-row .row-no{font-size:8px}
  .designation-row strong{font-size:10px}
  .designation-row p{font-size:9.5px;line-height:1.32;max-width:none}
}

@media(max-width:1180px){:root{--rail:190px}.content-grid{grid-template-columns:1fr}.dept-hero{grid-template-columns:1fr}.dept-summary{display:grid;grid-template-columns:repeat(3,1fr)}.summary-row{display:flex;flex-direction:column;justify-content:center;padding:16px;border-right:1px solid var(--border)}.summary-row small{grid-column:auto}.allocation-grid{grid-template-columns:repeat(2,1fr)}.structure-grid{grid-template-columns:repeat(2,1fr)}.profile-layout{grid-template-columns:270px 1fr}}
@media(max-width:860px){.app-shell{display:block}.rail{height:auto;min-height:0;position:static;border-right:0;border-bottom:1px solid var(--border);padding:14px}.rail-brand{padding:0 4px 12px}.brand-mark{font-size:20px}.nav{display:flex;overflow:auto}.nav-item{grid-template-columns:auto auto;gap:6px;white-space:nowrap}.nav-item.active:before{left:8px;right:8px;bottom:-1px;top:auto;width:auto;height:2px}.rail-system{display:none}.topbar{padding:0 16px}.command-button,.system-time{display:none}.page{padding:30px 16px 50px}.page-head{grid-template-columns:1fr;gap:20px}.page-head .eyebrow{grid-column:auto}.page-actions{justify-content:flex-start}.page-title{font-size:52px}.metrics-band{grid-template-columns:repeat(2,1fr)}.metric{min-height:116px;border-bottom:1px solid var(--border)}.department-row{grid-template-columns:36px 1fr auto}.coverage-data{display:none}.status{grid-column:2}.row-arrow{grid-column:3;grid-row:1/3}.coverage-head,.coverage-row{grid-template-columns:1fr 68px 68px 72px;padding:0 10px;gap:7px}.allocation-grid{grid-template-columns:1fr}.allocation-column{border-right:0}.exception-strip{align-items:flex-start;flex-direction:column}.data-head{display:none}.data-row{grid-template-columns:1fr auto;gap:7px;padding:13px 14px}.data-row>*:not(:first-child):not(:last-child){display:none}.profile-layout{grid-template-columns:1fr}.structure-grid{grid-template-columns:1fr}.request-row,.notice-row{grid-template-columns:1fr auto}.request-row>*:not(:first-child):not(:last-child),.notice-row>*:not(:first-child):not(:last-child){display:none}.audit-row{grid-template-columns:60px 1fr}.audit-row>*:nth-child(3),.audit-row>*:nth-child(4){display:none}.form-grid,.info-grid{grid-template-columns:1fr}.form-field.full{grid-column:auto}}

/* ==============================================================
   ZENITH-X TEMPLATE CORRECTION — light technical system language
   The live Aura reference, not a generic SaaS dashboard, is the
   visual source of truth for the management experience.
   ============================================================== */
:root{
  --bg:#dcecee;
  --bg-2:#dcecee;
  --surface:#e5f2f3;
  --surface-dark:#132127;
  --accent:#effb32;
  --text:#101c21;
  --muted:#5d6d72;
  --muted-2:#7d8c90;
  --border:rgba(16,28,33,.23);
  --border-2:rgba(16,28,33,.42);
  --success:#3f6658;
  --warning:#8a622c;
  --critical:#8c433f;
  --info:#506d78;
  --radius:0px;
  --control:0px;
  --shadow:0 18px 44px rgba(31,54,61,.12);
}
html{background:var(--bg);color-scheme:light}
body{background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body:before{content:"";position:fixed;inset:0;pointer-events:none;opacity:.18;background-image:radial-gradient(rgba(16,28,33,.35) .45px,transparent .45px);background-size:12px 12px;mask-image:linear-gradient(to right,transparent 52%,#000 60%,#000 100%)}
button{color:var(--text)}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:1px solid var(--text);outline-offset:3px}
.eyebrow{color:var(--muted);font-weight:500}
.workspace{min-width:0}

/* Global template header */
.app-shell.zenith-shell{display:block;min-height:100vh;background:transparent}
.zenith-header{height:118px;display:grid;grid-template-columns:56.5% 43.5%;border-top:2px solid var(--text);border-bottom:0;background:var(--bg);position:relative;z-index:20}
.zenith-header-left,.zenith-header-right{position:relative;display:flex;align-items:flex-start;padding:35px 30px 0}
.zenith-header-left{border-right:1px solid var(--border-2);gap:18px}
.zenith-header-left:after,.zenith-header-right:after{content:"";position:absolute;left:30px;right:30px;bottom:10px;height:1px;background:var(--border-2)}
.corner-launch{width:29px;height:29px;border:1px solid var(--border-2);background:transparent;font-size:18px;display:grid;place-items:center;padding:0;cursor:pointer;margin-top:10px}
.header-ident{display:grid;gap:12px;margin-left:0}
.header-node{display:grid;gap:12px;margin-left:auto;margin-right:20px;text-align:center;min-width:190px}
.micro-label{font-size:9px;letter-spacing:.13em;color:#738287;font-weight:500}
.header-line{font-size:9px;letter-spacing:.14em;font-weight:500;color:var(--text)}
.zenith-header-right{gap:16px}
.header-counter{width:35px;height:28px;background:var(--text);color:#f5fbfc;display:grid;place-items:center;font:500 13px/1 "JetBrains Mono",ui-monospace,monospace}
.header-engine{display:grid;gap:12px;padding-top:1px}
.header-project{margin-left:auto;display:flex;align-items:flex-start;gap:22px;padding-top:1px}
.dots-button{border:0;background:transparent;font-weight:800;letter-spacing:2px;font-size:17px;padding:0;cursor:pointer;line-height:.8}

/* Compact app navigation, intentionally understated */
.zenith-nav{height:42px;border-bottom:1px solid var(--border-2);display:flex;align-items:stretch;padding:0 30px;gap:0;background:var(--bg);position:sticky;top:0;z-index:18}
.zenith-nav-item{border:0;border-right:1px solid var(--border);background:transparent;padding:0 15px;display:flex;align-items:center;gap:8px;font:500 8px/1 "JetBrains Mono",ui-monospace,monospace;letter-spacing:.08em;cursor:pointer;color:#516167;position:relative;white-space:nowrap}
.zenith-nav-item:first-child{border-left:1px solid var(--border)}
.zenith-nav-item span{color:#7a898e}
.zenith-nav-item:hover,.zenith-nav-item.active{color:var(--text);background:rgba(255,255,255,.14)}
.zenith-nav-item.active:after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--text)}
.zenith-nav-item.employee-switch{margin-left:auto;border-left:1px solid var(--border)}

/* Main Zenith landing/Today composition */
.zenith-home{height:calc(100dvh - 160px);min-height:0;display:grid;grid-template-columns:56.5% 43.5%;background:var(--bg);overflow:hidden}
.zenith-systems{border-right:1px solid var(--border-2);padding:18px 30px 20px;min-height:0;overflow:hidden}
.systems-grid{height:100%;min-height:0;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,minmax(0,1fr));border-left:1px solid var(--border-2);border-top:1px solid var(--border-2)}
.system-tile{position:relative;border:0;border-right:1px solid var(--border-2);border-bottom:1px solid var(--border-2);background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer;overflow:hidden;transition:background .18s ease}
.system-tile:hover{background:rgba(255,255,255,.21)}
.system-tile-index{position:absolute;left:14px;top:15px;font-size:8px;color:#53656a;letter-spacing:.02em}
.system-tile-name{position:absolute;bottom:48px;left:12px;right:12px;text-align:center;font-size:10px;letter-spacing:.13em;font-weight:600}
.system-tile-meta{position:absolute;bottom:16px;left:0;right:0;text-align:center;font-size:8px;letter-spacing:.08em;color:#728187}
.system-tile.attention .system-tile-meta:before{content:"! ";color:var(--critical);font-weight:700}

/* Abstract department glyph language modelled after reference */
.system-glyph{width:110px;height:110px;display:block;position:relative;color:var(--text);transform:scale(.88) translateY(-8px)}
.system-glyph:before,.system-glyph:after,.system-glyph i,.system-glyph b{content:"";position:absolute;display:block;box-sizing:border-box}
.glyph-1:before{width:67px;height:67px;border:2px solid currentColor;transform:rotate(45deg);left:22px;top:22px}.glyph-1:after{width:43px;height:43px;border:1.5px solid currentColor;border-radius:50%;left:34px;top:34px}.glyph-1 i{width:10px;height:10px;background:currentColor;left:50px;top:50px}
.glyph-2:before{width:87px;height:87px;border:2px solid currentColor;border-radius:50%;left:12px;top:12px;border-right-color:transparent}.glyph-2:after{width:30px;height:30px;border:2px solid currentColor;border-radius:50%;left:41px;top:41px}.glyph-2 i{width:4px;height:21px;background:currentColor;left:54px;top:45px}.glyph-2 b{width:21px;height:4px;background:currentColor;left:45px;top:54px}
.glyph-3:before{content:"V";font:800 76px/1 Inter,sans-serif;left:28px;top:17px}
.glyph-4:before{width:0;height:0;border-left:28px solid transparent;border-right:28px solid transparent;border-bottom:50px solid currentColor;left:27px;top:33px}.glyph-4:after{width:18px;height:18px;border-radius:50%;background:var(--bg);left:46px;top:50px}
.glyph-5:before{width:87px;height:87px;background:currentColor;left:12px;top:12px}.glyph-5:after{width:43px;height:43px;border:1.5px solid var(--bg);transform:rotate(45deg);left:34px;top:34px}.glyph-5 i{width:10px;height:10px;background:var(--bg);transform:rotate(45deg);left:50px;top:50px}
.glyph-6:before{width:91px;height:3px;background:currentColor;left:10px;top:34px;box-shadow:0 51px 0 currentColor}.glyph-6:after{width:12px;height:51px;border-left:4px solid currentColor;border-right:4px solid currentColor;left:18px;top:36px;box-shadow:59px 0 0 -4px var(--bg),59px 0 0 0 currentColor}