/* Enterprise shell: layout, color tokens, navigational states. Feature pages own their content. */
:root{--ent-nav-width:232px;--ent-nav-bg:#152744;--ent-brand:#2664e8;--ent-canvas:#f3f6fa;--ent-ink:#162841;--ent-line:#dce3ed;--ent-muted:#5b6b80;--ent-mark-size:34px}
body.ent-compact{--ent-nav-width:76px}
.ent-frame{display:grid;grid-template-columns:minmax(0,1fr);min-height:100vh;min-height:100dvh}
.ent-has-nav .ent-frame{grid-template-columns:var(--ent-nav-width) minmax(0,1fr)}
.ent-content{min-width:0}
[data-module-nav]{display:none}
.ent-has-nav aside[data-module-nav]{display:flex;position:sticky;align-self:start;inset:0 auto auto 0;z-index:20;min-width:0;width:auto;height:100vh;height:100dvh;max-height:100dvh;box-sizing:border-box;flex-direction:column;gap:0;overflow:hidden;padding:0;color:#e2ebfc;background:var(--ent-nav-bg);border:0;font:14px/1.45 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;letter-spacing:normal;text-align:start}
.ent-brand{display:flex;align-items:center;gap:11px;min-height:72px;padding:0 20px;border-bottom:1px solid #2c3e59;flex-shrink:0;box-sizing:border-box}
.ent-mark,[data-ent-brand-mark]{display:inline-grid;place-items:center;width:var(--ent-mark-size);height:var(--ent-mark-size);flex:0 0 var(--ent-mark-size);background:#2d6bf2;border-radius:8px;color:white}
.ent-mark svg,[data-ent-brand-mark] svg{width:74%;height:74%}
.ent-brand-type{line-height:1.1;white-space:nowrap}.ent-brand-type b{display:block;color:#fff;font-size:18px;font-weight:700;letter-spacing:.06em}.ent-brand-type small{display:block;margin-top:5px;color:#afc2df;font:600 8.5px/1.2 Arial,sans-serif;letter-spacing:.15em}
.ent-menu{display:block;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#445772 transparent;flex:1;min-height:0;padding:8px 12px 22px}
.ent-group{padding-top:22px}.ent-group-title{color:#a6b8d2;white-space:nowrap;font-size:11px;letter-spacing:.08em;font-weight:600;margin:0 11px 8px}
[data-module-nav] .ent-item,[data-module-nav] .ent-fold,[data-module-nav] .ent-mobile-close{display:flex;align-items:center;gap:12px;position:relative;box-sizing:border-box;appearance:none;border:0;border-radius:6px;background:transparent;color:#dce5f4;cursor:pointer;text-align:left;text-decoration:none;font:inherit;line-height:1.35;box-shadow:none;text-shadow:none;white-space:nowrap}
[data-module-nav] .ent-item{min-height:40px;width:100%;padding:8px 12px;margin:2px 0}
[data-module-nav] .ent-item svg,[data-module-nav] .ent-fold svg,[data-module-nav] .ent-mobile-close svg{width:18px;height:18px;flex:none;color:#afc4e2}
[data-module-nav] .ent-item[aria-current=page]{color:#fff;background:#29497a;font-weight:650}
[data-module-nav] .ent-item[aria-current=page]::before{content:"";position:absolute;top:10px;bottom:10px;left:0;width:3px;border-radius:3px;background:#81adff}
[data-module-nav] .ent-item[aria-current=page] svg{color:#bcd5ff}
[data-module-nav] .ent-item:hover,[data-module-nav] .ent-fold:hover,[data-module-nav] .ent-mobile-close:hover{color:#fff;background:#293e5f}
[data-module-nav] :is(.ent-item,.ent-fold,.ent-mobile-close):focus-visible{outline:2px solid #a9caff;outline-offset:1px}
.ent-switch-arrow{margin-inline-start:auto;color:#afc4e2;font-size:14px}
.ent-foot{padding:10px 12px;border-top:1px solid #2c3e59}[data-module-nav] .ent-fold{padding:8px 12px;min-height:38px;width:100%;color:#b4c5df;font-size:13px}
[data-module-nav] .ent-mobile-close,button[data-nav-toggle],.ent-scrim{display:none}
@media(min-width:901px){
  .ent-compact .ent-brand{justify-content:center;padding:0}
  .ent-compact :is(.ent-brand-type,.ent-item-text,.ent-switch-arrow){display:none}
  .ent-compact .ent-group-title{font-size:0;line-height:0;margin:0 7px 8px;border-top:1px solid #344864}
  .ent-compact .ent-group:first-child .ent-group-title{border-color:transparent}
  .ent-compact .ent-group{padding-top:14px}
  .ent-compact [data-module-nav] :is(.ent-item,.ent-fold){justify-content:center;padding-inline:0}
  .ent-compact .ent-fold svg{transform:rotate(180deg)}
}
@media(max-width:900px){
  .ent-has-nav .ent-frame{grid-template-columns:minmax(0,1fr)}
  .ent-has-nav aside[data-module-nav]{position:fixed;z-index:111;inset:0 auto 0 0;width:min(272px,84vw);height:100dvh;transform:translateX(-105%);visibility:hidden}
  .ent-drawer-open aside[data-module-nav]{visibility:visible;transform:none}
  .ent-has-nav [data-nav-toggle]:not([hidden]){appearance:none;display:inline-grid;place-items:center;min-width:38px;height:38px;border:1px solid var(--ent-line);border-radius:7px;background:#fff;color:var(--ent-ink);padding:0;flex-shrink:0;font-size:18px;line-height:1;cursor:pointer}
  [data-module-nav] .ent-mobile-close{display:grid;place-items:center;width:36px;height:36px;margin-left:auto;padding:0}
  .ent-foot{display:none}
  body.ent-drawer-open{overflow:hidden}
  .ent-scrim:not([hidden]){display:block;position:fixed;inset:0;z-index:110;background:rgba(14,26,45,.48)}
}
@media print{aside[data-module-nav],.ent-scrim,[data-nav-toggle]{display:none!important}.ent-has-nav .ent-frame{display:block}}
