@font-face{font-family:Manrope;src:url('/assets/fonts/Manrope-Variable.ttf') format('truetype');font-weight:200 800;font-display:swap}
:root{--navy:#031e39;--navy-raised:#0d2e4a;--gold:#dab36b;--gold-light:#f3e4c2;--gold-ink:#79571e;--red:#a41213;--paper:#f4f3ee;--ivory:#fbf8ef;--ink:#132f47;--muted:#64717b;--line:#e2e5e7;--pale:#edf2f6;--teal:#153e5a;--rust:#a41213;--ease-out:cubic-bezier(.23,1,.32,1);--ease-in-out:cubic-bezier(.77,0,.175,1);--sidebar:242px;font-family:Manrope,'Segoe UI',sans-serif}
body{font-size:14px;line-height:1.65}h1{font-weight:800;letter-spacing:-1.2px}h2{font-weight:800;letter-spacing:-.4px}button,a,input,textarea,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--gold)}.icon{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.primary,.secondary,.danger,.gold-button{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:44px;border-radius:9px;font-weight:750;white-space:nowrap}.primary{background:var(--navy);color:var(--ivory)}.gold-button{background:var(--gold);color:var(--navy);border:0;padding:10px 16px}.gold-button .icon{width:17px}.text-button{display:inline-flex;align-items:center;gap:7px;min-height:40px;color:var(--navy-raised)}.text-button .icon{width:16px}.icon-button,.refresh-button{display:inline-grid;place-items:center;width:42px;height:42px;flex-shrink:0;border:1px solid var(--line);background:var(--white);border-radius:50%;color:var(--ink)}.refresh-button .icon{width:18px}input,select,textarea{min-height:46px;border-color:#d4dbe0;border-radius:8px;font-weight:450;transition:border-color 160ms ease,box-shadow 160ms ease}input::placeholder{color:#84909b}input:focus,textarea:focus,select:focus{border-color:#8aabbd;box-shadow:0 0 0 3px #153e5a0a}.primary:disabled::after{content:'';width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}.error{border-color:var(--red)}
.refresh-button.is-loading .icon{animation:spin .7s linear infinite}.keyboard-mode .editor-dialog,.keyboard-mode .editor-dialog[open]{transition:none;animation:none;transform:none}
.page-date,.panel-heading p,.activity-item small,.ring-label small,.table-footnote,.activity-empty,.workspace-footer,.login-copyright,.login-copyright>span,.login-form small,th,td.title-cell small{color:var(--muted)}.chart-axis{fill:var(--muted)}input::placeholder{color:var(--muted)}.help-note{color:var(--gold-ink)}
/* The supplied crest anchors the entrance and navigation. */
.login-screen{grid-template-columns:48% 52%}.login-brand{isolation:isolate;position:relative;overflow:hidden;background:var(--navy);color:var(--ivory);padding:34px 52px;min-height:100vh;display:flex;flex-direction:column}.login-brand::before{content:'';position:absolute;left:0;top:0;bottom:0;width:7px;background:var(--red)}.login-brand::after{content:'';position:absolute;inset:0;z-index:-1;background:url('/assets/support-illustration.svg') center/120% no-repeat;opacity:.13}.login-wordmark{display:flex;align-items:center;gap:11px;font-weight:800;font-size:19px;letter-spacing:-.5px}.login-wordmark>span:last-child{font-size:11px;font-weight:500;margin-left:auto;color:#b7c2ca}.brand-signal{width:12px;height:17px;background:var(--gold);clip-path:polygon(0 0,100% 0,100% 70%,50% 100%,0 70%)}.login-emblem{display:grid;place-items:center;flex:1;padding:30px 0;width:100%}.crest-plate{width:clamp(200px,23vw,300px);aspect-ratio:4/5;background:var(--red);border:1px solid #dab36b80;border-radius:15px;box-shadow:14px 18px 0 #00000020,0 25px 50px #00000030;transform:rotate(-4deg);overflow:hidden;transition:transform 250ms var(--ease-out)}.crest-plate img{display:block;width:100%;height:100%;object-fit:contain;clip-path:inset(3.8% 3.2% 1.5% 3.2%)}.login-brand-bottom{width:100%}.login-brand h1{font-size:clamp(30px,3vw,46px);line-height:1.12;letter-spacing:-1.5px;margin:12px 0 15px}.login-brand-bottom>p{color:#9eafbe;font-size:13px;margin-bottom:24px}.motto{display:flex;align-items:center;gap:15px;border-top:1px solid #dab36b38;padding-top:20px;color:var(--gold);font-size:12px;font-weight:600}.motto>span{color:#527086}.login-panel{position:relative;padding:55px;background:var(--ivory)}.login-form{max-width:400px}.login-form-heading{display:flex;align-items:center;gap:9px;color:var(--gold-ink);font-size:12px;font-weight:750;margin-bottom:24px}.section-mark{width:22px;height:3px;background:var(--red);border-radius:2px}.login-form h2{font-size:37px;line-height:1.16;letter-spacing:-1.5px;margin-bottom:17px}.login-form>p{font-size:14px;max-width:350px;margin-bottom:31px}.login-form label{font-size:13px;font-weight:750;margin:20px 0}.login-form input{min-height:51px}.login-form .primary{width:100%;min-height:50px}.login-form small{display:flex;justify-content:center;align-items:center;gap:7px;font-size:11px;color:#77818a}.login-form small .icon{width:14px}.login-copyright{position:absolute;bottom:20px;left:50px;right:50px;display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin:0}
/* Navigation chrome and working canvas. */
.app-shell{grid-template-columns:var(--sidebar) minmax(0,1fr);background:var(--navy)}.sidebar{background:var(--navy);padding:27px 18px 22px;color:#b2bfcb;z-index:30;overflow-y:auto}.brand{display:flex;align-items:center;gap:10px;padding:0 10px;color:var(--ivory)}.brand img{width:43px;height:55px;object-fit:contain;flex-shrink:0}.brand>span{font-size:23px;font-weight:800;letter-spacing:-1px}.brand strong{display:block;font-size:15px;font-weight:500;letter-spacing:2px;color:var(--gold);line-height:1.1}.organization{margin:17px 0 0 16px;padding:0;font-size:11px;color:#a8bac9}.sidebar-rule{height:1px;background:#dab36b30;margin:21px 13px 23px}.nav-item{position:relative;display:flex;align-items:center;gap:12px;padding:13px 15px;min-height:48px;color:#b3c0cd;font-size:12px;border-radius:8px;transition:color 150ms ease,background-color 150ms ease}.nav-item .icon{width:18px;height:18px;opacity:.9}.nav-item.active{background:var(--gold);color:var(--navy);font-weight:800}.nav-item.active::after{content:'';position:absolute;right:13px;width:5px;height:5px;border-radius:50%;background:var(--navy)}.sidebar-note{margin:35px 14px 25px;padding-top:22px;border-top:1px solid #dab36b25;color:var(--gold)}.sidebar-note>.icon{width:28px;height:28px;margin-bottom:14px;stroke-width:1.2}.sidebar-note p{font-size:23px;line-height:1.3;font-weight:750;letter-spacing:-.4px;margin:0 0 12px}.sidebar-note>span{font-size:11px;line-height:1.7;color:#91a3b3}.sidebar-footer{border:0;font-size:11px;color:#91a7b8;display:flex;align-items:center;gap:8px}.sidebar-footer .status-dot{margin:0}.workspace{background:var(--paper)}.topbar{min-height:78px;padding:16px 34px;background:#ffffffad}.breadcrumb{font-size:11px;color:var(--muted);white-space:nowrap}.breadcrumb span{padding:0 11px;color:#b6c0c7}.breadcrumb strong{font-weight:650;color:var(--ink)}.account-tools{gap:12px}.account-avatar{display:grid;place-items:center;background:var(--gold-light);color:var(--gold-ink);width:32px;height:32px;border-radius:50%;font-size:12px;font-weight:800;border:1px solid #e5d5b5}.account-tools>span{font-size:11px;font-weight:700;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-tools .text-button{font-size:11px;min-height:36px}.account-tools #logout-button{border-left:1px solid var(--line);padding-left:14px}.account-tools #logout-button .icon{width:14px}#workspace-main{padding:28px 34px 38px;max-width:1540px;margin:0 auto}.page-heading{margin-bottom:24px}.page-heading p{font-size:13px}.page-date{font-size:11px;color:#7a8790;margin-bottom:9px}.workspace-footer{font-size:10px;color:#82909a;padding:19px 34px}.workspace-footer>span:first-child{display:flex;align-items:center;gap:8px;font-weight:650}.footer-mark{width:7px;height:10px;background:var(--gold);clip-path:polygon(0 0,100% 0,100% 70%,50% 100%,0 70%)}
/* A branded first view; charts use real ticket records. */
.welcome-banner{position:relative;overflow:hidden;isolation:isolate;background:var(--navy);color:var(--ivory);border:1px solid #15374e;border-radius:14px;display:grid;grid-template-columns:minmax(0,1fr) 280px;min-height:240px;padding:28px 34px;margin-bottom:22px}.welcome-banner::before{content:'';position:absolute;left:0;top:30px;bottom:30px;width:3px;background:var(--gold)}.welcome-banner::after{content:'';position:absolute;right:-50px;bottom:-100px;width:250px;height:250px;border:1px solid #dab36b1f;transform:rotate(35deg);z-index:-1}.welcome-copy{align-self:center;z-index:2}.welcome-label{display:flex;align-items:center;gap:8px;font-size:11px;color:#a6b8c8;margin-bottom:14px}.welcome-label .status-dot{background:var(--gold);margin:0;width:5px;height:5px}.welcome-copy h2{font-size:30px;letter-spacing:-1px;line-height:1.2;max-width:510px;margin-bottom:12px;font-weight:750}.welcome-copy>p{font-size:12px;max-width:450px;color:#a8bbca;line-height:1.8;margin-bottom:21px}.welcome-actions{display:flex;gap:19px;align-items:center}.welcome-actions button{font-size:11px;min-height:40px}.welcome-link{background:none;border:0;border-bottom:1px solid #dab36b60;color:#e1d4b5;font-weight:650;padding:8px 0}.welcome-art{position:relative;display:flex;align-items:center;justify-content:center;min-width:0}.support-art{width:290px;max-width:120%;height:auto}.art-caption{position:absolute;right:-4px;bottom:2px;color:#bda476;font-size:10px;line-height:1.6;text-align:right}.banner-star{position:absolute;right:28px;top:20px;color:var(--gold);font-size:15px;opacity:.8}.metric-row{gap:16px;padding:0;border:0;margin-bottom:22px}.metric{display:block;text-align:left;background:var(--white);border:1px solid var(--line);padding:19px 20px;border-radius:11px;min-height:136px;color:var(--ink);box-shadow:0 3px 8px #102c3e03;position:relative}.metric:first-child{border-color:var(--line)}.metric-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.metric-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#f2eee3;color:var(--gold-ink)}.metric-icon .icon{width:17px;height:17px}.metric:first-child .metric-icon{background:#fbeceb;color:var(--red)}.metric-arrow{color:#a8b5bd;width:15px;height:15px}.metric-value{font-size:34px;font-weight:800;letter-spacing:-1.4px;line-height:1.1;font-variant-numeric:tabular-nums}.metric-label{font-size:11px;color:var(--muted);margin-top:9px;line-height:1.4}.panel{border-radius:12px;padding:23px;box-shadow:0 3px 12px #102c3e02;min-width:0}.panel-heading{align-items:flex-start;gap:14px;margin-bottom:18px}.panel-heading h2{font-size:16px;margin:0 0 4px}.panel-heading p{font-size:11px;margin:0;color:#7b8995}.section-icon{width:28px;height:28px;color:#b3c0c8;stroke-width:1.3}.analytics-grid{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(0,1fr);gap:20px;margin-bottom:22px}.period-control{display:flex;gap:3px;flex-shrink:0;background:var(--paper);border:1px solid var(--line);padding:3px;border-radius:7px}.period-control button{background:none;border:0;min-height:34px;padding:5px 10px;border-radius:5px;font-size:11px;font-weight:650;color:var(--muted);transition:background-color 160ms ease,color 160ms ease,box-shadow 160ms ease}.period-control button[aria-pressed=true]{background:var(--white);color:var(--navy);box-shadow:0 1px 5px #0f2d4012}.chart-summary{display:flex;align-items:baseline;gap:9px;font-size:11px;color:var(--muted);margin-bottom:5px}.chart-summary strong{font-size:28px;color:var(--ink);font-weight:800;letter-spacing:-.8px}.chart-summary>.muted{margin-left:auto;font-size:10px}.trend-chart{width:100%;height:165px;margin:4px 0 0}.trend-chart svg{width:100%;height:100%;overflow:visible}.chart-grid{stroke:#e8edf0;stroke-width:1;stroke-dasharray:3 5}.chart-axis{font-family:Manrope,sans-serif;font-size:11px;fill:#748794}.chart-area{fill:url(#trend-fill)}.chart-line{stroke:var(--navy-raised);stroke-width:2.6;fill:none;stroke-linecap:round;stroke-linejoin:round}.chart-marker{fill:var(--gold);stroke:var(--white);stroke-width:3}.chart-selected-line{stroke:#ccb487;stroke-width:1;stroke-dasharray:3 4}.chart-inspector{display:flex;align-items:center;gap:9px;font-size:11px;border-top:1px solid #eff1f3;padding-top:11px;margin-top:4px;min-height:44px}.chart-inspector>.icon{width:14px;height:14px;color:var(--gold-ink)}.chart-inspector>span{white-space:nowrap;font-weight:600}.chart-inspector>input{width:auto;min-width:60px;flex:1;margin-left:12px;padding:0;min-height:32px;border:0;accent-color:var(--navy);box-shadow:none;cursor:pointer}.chart-data{font-size:11px;color:var(--muted);margin-top:8px}.chart-data summary{cursor:pointer;min-height:32px}.chart-data table th,.chart-data table td{padding:6px 10px}.status-chart-layout{display:flex;align-items:center;gap:22px;min-height:218px}.status-chart{position:relative;flex-shrink:0;width:150px;height:150px}.status-chart svg{width:100%;height:100%;transform:rotate(-90deg)}.ring-track{stroke:#eef1f3;fill:none;stroke-width:11}.ring-segment{fill:none;stroke-width:11;stroke-linecap:butt}.status-open{stroke:var(--red);background:var(--red)}.status-in_progress{stroke:var(--gold);background:var(--gold)}.status-resolved{stroke:#24567a;background:#24567a}.status-closed{stroke:#a7b5c1;background:#a7b5c1}.ring-label{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}.ring-label strong{font-size:30px;font-weight:800;line-height:1.2;letter-spacing:-1px}.ring-label small{font-size:10px;color:#7d8b96}.status-legend{display:grid;gap:2px;flex:1;min-width:0}.legend-row{display:flex;align-items:center;gap:8px;background:none;border:0;text-align:left;padding:10px 3px;font-size:11px;color:var(--muted);min-height:42px;width:100%;border-bottom:1px solid #eff1f3}.legend-row:last-child{border:0}.legend-dot{width:7px;height:7px;border-radius:2px;flex-shrink:0}.legend-row strong{margin-left:auto;font-size:13px;color:var(--ink)}.legend-row .icon{width:12px;color:#a8b5bf}.knowledge-panel{margin-bottom:22px}.knowledge-coverage{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.coverage-item{border:1px solid var(--line);border-radius:8px;background:#fcfcfa;padding:13px 14px;display:flex;align-items:center;gap:10px;color:var(--muted);min-width:0;text-align:left;min-height:48px}.coverage-item>.icon{width:18px;color:#a78b54}.coverage-item span{font-size:11px;font-weight:600}.coverage-item strong{margin-left:auto;font-size:18px;font-weight:800;color:var(--ink)}.overview-columns{gap:20px}.system-row{padding:11px 0;border-color:#eef0f2;font-size:12px;align-items:center}.system-name{display:flex;align-items:center;gap:9px}.system-name .icon{width:15px;height:15px;color:#8d9eaa}.help-note{display:flex;gap:10px;align-items:flex-start;background:var(--ivory);border:1px solid #ece6d8;font-size:11px;line-height:1.8;padding:12px 13px;color:#88734a;margin-top:17px}.help-note>.icon{width:17px;color:#a58b56;margin-top:2px}.badge{font-size:10px;border-radius:5px;font-weight:700}.badge.good{background:#e8f2ec;color:#286048}.badge.warn{background:#fbf0d8;color:#805c21}.badge.bad{background:#fbecea;color:#962d26}.activity-item{display:grid;grid-template-columns:27px 1fr;gap:10px;position:relative;padding:10px 0;font-size:12px;border:0}.activity-item::before{content:'';position:absolute;top:35px;bottom:-10px;left:13px;width:1px;background:var(--line)}.activity-item:last-child::before{display:none}.activity-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;background:#f0f3f5;color:#718793}.activity-icon .icon{width:13px;height:13px}.activity-item small{font-size:10px;color:#7c8b96}.activity-empty{padding:24px 20px 16px;text-align:center;color:#7a8c99;font-size:12px}.activity-empty>.icon{display:block;width:42px;height:42px;color:#c9b58b;margin:0 auto 14px;stroke-width:1.1}.activity-empty p{margin-bottom:0;line-height:1.8}
/* Familiar editors with clearer hierarchy and deliberate feedback. */
.list-panel{padding:0}.knowledge-chips{display:flex;gap:7px;padding:19px 21px 0;overflow-x:auto}.category-chip{display:flex;align-items:center;gap:7px;white-space:nowrap;background:none;border:1px solid var(--line);border-radius:7px;padding:8px 12px;min-height:42px;font-size:12px;color:var(--muted);font-weight:600;transition:background-color 160ms ease,border-color 160ms ease,color 160ms ease}.category-chip .icon{width:14px;height:14px}.category-chip[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:var(--ivory)}.list-toolbar{padding:20px 21px}.search-label{position:relative;max-width:430px}.search-label>.icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);width:16px;color:#899aa7;pointer-events:none}.search-label input{padding-left:39px;font-size:13px;background:#fbfcfc}.list-toolbar>label+label{min-width:175px;max-width:230px}.list-toolbar select{font-size:12px}.list-toolbar>.muted{font-size:11px}th{font-size:11px;color:#758591;background:#fafbfc;padding:13px 21px}td{padding:17px 21px;font-size:12px;vertical-align:middle}td.title-cell{font-weight:700}td.title-cell small{font-size:11px;color:#7b8c98;line-height:1.6}td .text-button{font-size:11px;min-height:36px;padding:3px 8px;border:1px solid #e5e9eb;border-radius:5px;white-space:nowrap}.table-footnote{font-size:10px;color:#7f8f9b}.empty-state>.icon{width:44px;height:44px;color:#baa271;stroke-width:1.1;margin-bottom:16px}.empty-state h2{font-size:18px;margin-bottom:9px}.empty-state p{font-size:12px;max-width:390px;margin:0 auto;line-height:1.8}.empty-state.loading>.icon{animation:spin 1.2s linear infinite;width:27px;height:27px}.empty-state.loading{padding:45px 24px}.empty-state.loading h2{font-size:13px;color:var(--muted);font-weight:600}.editor-dialog{border-radius:14px;box-shadow:0 25px 100px #031e3933;opacity:0;transform:translateY(12px) scale(.97);transition:opacity 220ms var(--ease-out),transform 220ms var(--ease-out),display 220ms allow-discrete,overlay 220ms allow-discrete}.editor-dialog[open]{opacity:1;transform:translateY(0) scale(1);animation:none}.editor-dialog::backdrop{background:#031e3900;transition:background-color 220ms ease,display 220ms allow-discrete,overlay 220ms allow-discrete}.editor-dialog[open]::backdrop{background:#031e3980}@starting-style{.editor-dialog[open]{opacity:0;transform:translateY(12px) scale(.97)}.editor-dialog[open]::backdrop{background:#031e3900}}.dialog-heading{background:var(--ivory);padding:25px 29px 21px}.dialog-heading h2{font-size:24px;font-weight:800}.dialog-heading p{font-size:11px;color:var(--gold-ink)}.editor-fields{padding:25px 29px;gap:18px}.field-label{font-size:13px;font-weight:700}.checkbox-label{background:var(--ivory);border:1px solid #ece3d1;border-radius:8px;cursor:pointer}.checkbox-label input{accent-color:var(--navy);flex-shrink:0}.checkbox-label small{display:block;line-height:1.7;font-size:11px}.dialog-actions{background:#fafbfc}.detail-description{font-size:13px;border-radius:8px}.detail-history{font-size:12px}.toast{z-index:60;display:flex;align-items:center;gap:10px;background:var(--navy);color:var(--ivory);border-radius:10px;border:1px solid #385469;box-shadow:0 12px 40px #031e3933;font-size:12px;opacity:0;transform:translate(-50%,14px);transition:opacity 200ms var(--ease-out),transform 200ms var(--ease-out);pointer-events:none}.toast.visible{opacity:1;transform:translate(-50%,0)}.toast>.icon{width:18px;color:var(--gold)}
@media(hover:hover) and (pointer:fine){.primary:hover{background:#123852}.gold-button:hover{background:#e9c984}.text-button:hover{color:#9a742e}.nav-item:not(.active):hover{background:#13324d;color:var(--ivory)}.metric:hover{border-color:#c9b589;box-shadow:0 5px 16px #102c3e08;transform:translateY(-2px)}.metric:hover .metric-arrow{transform:translateX(2px);color:var(--gold-ink)}.coverage-item:hover{border-color:#c9b589;background:var(--ivory)}.legend-row:hover{color:var(--ink);background:#fafbf8}.category-chip:not([aria-pressed=true]):hover{background:#f3f5f6;color:var(--ink)}tbody tr:hover{background:#fcfbf7}.crest-plate:hover{transform:rotate(0) translateY(-3px)}.refresh-button:hover{background:var(--ivory);color:var(--gold-ink)}}
@media(prefers-reduced-motion:no-preference){.primary,.secondary,.danger,.gold-button,.metric,.coverage-item{transition:transform 160ms var(--ease-out),background-color 160ms ease,border-color 160ms ease,box-shadow 160ms ease}.primary:active,.secondary:active,.gold-button:active,.danger:active{transform:scale(.97)}.metric:active{transform:scale(.985)}.metric-arrow{transition:transform 160ms var(--ease-out),color 160ms ease}.support-art{animation:emblem-in 260ms var(--ease-out) both}.login-emblem{animation:emblem-in 280ms var(--ease-out) both}@keyframes emblem-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1200px){:root{--sidebar:210px}.sidebar{padding-left:12px;padding-right:12px}.brand{gap:8px;padding:0 8px}.brand>span{font-size:21px}.organization{font-size:10px}.topbar{padding:15px 25px;justify-content:flex-end}.breadcrumb{display:none}#workspace-main{padding:27px 25px}.metric-row{gap:12px}.metric{padding:16px}.metric-value{font-size:30px}.metric-label{font-size:10px}.analytics-grid{grid-template-columns:1.25fr 1fr;gap:16px}.panel{padding:20px}.status-chart-layout{gap:12px;flex-wrap:wrap;justify-content:center;min-height:0}.status-chart{width:135px;height:135px}.status-legend{min-width:130px}.knowledge-coverage{gap:7px}.coverage-item{gap:6px;padding:11px 9px}.coverage-item>.icon{width:15px}.coverage-item span{font-size:10px}.coverage-item strong{font-size:16px}.welcome-banner{grid-template-columns:1fr 220px;padding:26px 28px}.welcome-copy h2{font-size:27px}.support-art{width:255px}.account-tools>span{max-width:170px}.list-panel{padding:0}}
@media(max-width:1000px){.analytics-grid{grid-template-columns:1fr}.status-chart-layout{min-height:170px;justify-content:flex-start;gap:40px;flex-wrap:nowrap}.status-chart{width:160px;height:160px}.status-legend{max-width:300px}.legend-row{font-size:12px}.trend-chart{height:190px}.overview-columns{grid-template-columns:1fr}.knowledge-coverage{grid-template-columns:repeat(3,1fr)}.welcome-banner{grid-template-columns:1fr 160px}.welcome-copy h2{font-size:25px}.welcome-copy>p{font-size:11px}.welcome-actions{gap:13px}.welcome-actions button{font-size:11px}.support-art{width:210px;max-width:140%}.art-caption{font-size:9px;bottom:5px}.metric-row{grid-template-columns:repeat(2,1fr)}.metric{min-height:120px}.metric-label{font-size:12px}.sidebar-note p{font-size:21px}.login-form h2{font-size:32px}.login-panel{padding:35px}.login-brand{padding:30px}.login-wordmark>span:last-child{display:none}}
@media(max-width:740px){.login-screen{display:block}.login-brand{min-height:0;padding:23px 26px 25px;display:grid;grid-template-columns:1fr 90px;grid-template-rows:auto auto;gap:15px;align-items:stretch}.login-wordmark{font-size:17px;grid-column:1;align-self:start}.login-emblem{grid-column:2;grid-row:1/3;padding:0}.crest-plate{width:79px;border-radius:6px;box-shadow:5px 6px 0 #00000020;transform:rotate(-3deg)}.login-brand-bottom{grid-column:1;grid-row:2}.login-brand h1{font-size:25px;letter-spacing:-.8px;line-height:1.15;margin:1px 0 9px}.login-brand-bottom>p{display:none}.motto{border:0;padding:0;font-size:9px;gap:9px}.login-panel{padding:32px 26px 65px;min-height:65vh}.login-form{max-width:430px}.login-form h2{font-size:31px}.login-form-heading{margin-bottom:18px}.login-form>p{font-size:13px;margin-bottom:23px}.login-copyright{left:26px;right:26px;bottom:18px;font-size:9px}.app-shell{display:block;background:var(--paper)}.sidebar{position:relative;height:auto;padding:16px 16px 11px;overflow:visible}.brand{padding:0;gap:8px;font-size:22px}.brand img{width:30px;height:38px}.brand>span{display:flex;align-items:baseline;gap:3px;font-size:22px}.brand strong{display:inline;font-size:17px;letter-spacing:-.5px}.organization{display:block;position:absolute;right:20px;top:24px;margin:0;color:#a4b6c6;font-size:9px}.sidebar-rule,.sidebar-note,.sidebar-footer{display:none}.sidebar nav{display:flex;margin-top:16px;gap:5px;overflow-x:auto;scrollbar-width:none}.nav-item{padding:10px 12px;min-height:44px;font-size:11px;gap:7px;flex-shrink:0;border-radius:6px}.nav-item>.icon{width:15px;height:15px}.nav-item.active::after{display:none}.topbar{padding:9px 16px;min-height:56px;background:#fafbf8}.account-tools{flex-wrap:nowrap;gap:8px;justify-content:flex-end;width:100%}.account-avatar{width:28px;height:28px;font-size:10px;margin-right:auto;flex-shrink:0}.account-tools>span{font-size:10px;max-width:110px}.account-tools .text-button{font-size:9px;min-height:38px}.account-tools #logout-button{padding-left:9px;gap:5px}.account-tools #logout-button>.icon{width:13px}#workspace-main{padding:24px 16px 28px}.page-heading{margin-bottom:20px;align-items:flex-start;gap:16px}.page-heading h1{font-size:27px;letter-spacing:-1px}.page-heading p{font-size:12px;line-height:1.7;max-width:290px}.page-date{font-size:10px;margin-bottom:8px}.page-heading:has(#add-button:not([hidden])){flex-direction:column}.page-heading #add-button{font-size:12px;min-height:44px;padding:10px 14px}.welcome-banner{grid-template-columns:1fr 100px;min-height:222px;padding:22px 23px;gap:5px;border-radius:11px;margin-bottom:16px}.welcome-label{font-size:9px;margin-bottom:12px;gap:6px}.welcome-copy h2{font-size:22px;letter-spacing:-.7px;line-height:1.25;min-width:210px;max-width:230px}.welcome-copy>p{font-size:10px;line-height:1.7;max-width:240px;margin-bottom:15px}.welcome-art{align-self:start;padding-top:15px;opacity:.55}.support-art{width:150px;max-width:170%;transform:translateX(3px)}.art-caption{display:none}.banner-star{right:15px;top:10px;font-size:11px}.welcome-actions{gap:13px;flex-wrap:wrap;min-width:240px}.welcome-actions button{min-height:40px;font-size:10px;padding:7px 10px}.welcome-actions>.welcome-link{font-size:10px;padding:6px 0}.gold-button>.icon{width:13px}.metric-row{gap:11px;margin-bottom:17px}.metric{padding:16px;min-height:126px;border-radius:10px}.metric-top{margin-bottom:10px}.metric-value{font-size:31px}.metric-icon{width:29px;height:29px}.metric-icon>.icon{width:15px}.metric-label{font-size:11px}.analytics-grid{gap:16px;margin-bottom:16px}.panel{padding:19px;border-radius:10px}.panel-heading{gap:10px;margin-bottom:17px}.panel-heading h2{font-size:15px}.panel-heading p{font-size:11px;line-height:1.7}.period-control button{font-size:10px;min-height:36px;padding:5px 8px}.chart-summary strong{font-size:25px}.chart-summary>span{font-size:10px}.chart-summary>.muted{display:none}.trend-chart{height:165px}.chart-inspector{font-size:10px;gap:6px;flex-wrap:wrap}.chart-inspector>.icon{width:13px}.chart-inspector>input{margin-left:6px;min-width:70px}.status-chart-layout{gap:24px;min-height:165px}.status-chart{width:140px;height:140px}.status-legend{min-width:125px}.legend-row{font-size:11px;padding:9px 0}.ring-label strong{font-size:28px}.knowledge-panel{margin-bottom:16px}.knowledge-panel .panel-heading{flex-wrap:wrap}.knowledge-panel .text-button{font-size:11px;min-height:32px;padding:0}.knowledge-coverage{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.coverage-item{padding:12px;min-height:51px}.coverage-item span{font-size:11px}.coverage-item strong{font-size:17px}.overview-columns{gap:16px}.system-row{font-size:11px;padding:11px 0}.system-name>.icon{width:14px}.badge{font-size:9px}.help-note{font-size:10px;padding:11px}.activity-empty{font-size:11px;padding:18px}.workspace-footer{padding:16px;font-size:9px;gap:10px}.list-panel{padding:0}.knowledge-chips{padding:15px 15px 0;gap:6px}.category-chip{font-size:11px;padding:8px 10px;min-height:44px}.list-toolbar{padding:15px;flex-wrap:wrap;gap:10px}.search-label{min-width:100%;max-width:none}.search-label input{font-size:12px}.list-toolbar>label+label{min-width:160px;flex:1}.list-toolbar .muted{font-size:10px}th{font-size:10px;padding:12px 17px}td{font-size:11px;padding:16px 17px}.table-footnote{font-size:9px;padding:12px 16px}.empty-state{padding:38px 20px}.empty-state h2{font-size:16px}.empty-state p{font-size:12px}.editor-dialog{width:calc(100vw - 20px);max-height:94vh;border-radius:11px}.dialog-heading{padding:20px}.dialog-heading h2{font-size:21px}.editor-fields{padding:20px;gap:17px}.dialog-actions{padding:15px;gap:8px}.dialog-actions button{font-size:11px;padding:10px 12px;min-height:44px}.field-label{font-size:12px}.field-label input,.field-label select,.field-label textarea{font-size:14px}.checkbox-label strong{font-size:12px}.checkbox-label small{font-size:11px}.toast{width:calc(100vw - 32px);font-size:12px;justify-content:center;bottom:16px}}
@media(max-width:370px){.account-tools>span{display:none}.welcome-banner{grid-template-columns:1fr 70px;padding:20px}.welcome-copy h2{font-size:21px;min-width:200px}.welcome-art{opacity:.4}.status-chart-layout{gap:15px}.status-chart{width:125px;height:125px}.metric{padding:14px}.period-control button{padding:5px 6px}.panel{padding:16px}.list-panel{padding:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important}.primary,.secondary,.danger,.gold-button,.metric,.coverage-item,.crest-plate,.nav-item,.metric-arrow{transition:color 100ms ease,background-color 100ms ease,border-color 100ms ease!important}.metric:hover,.crest-plate:hover,.primary:active,.secondary:active,.danger:active,.gold-button:active{transform:none!important}.support-art,.login-emblem{animation:none!important}.editor-dialog,.editor-dialog[open]{transform:none;animation:none;transition:opacity 100ms ease,display 100ms allow-discrete,overlay 100ms allow-discrete}.editor-dialog::backdrop{transition:background-color 100ms ease,display 100ms allow-discrete,overlay 100ms allow-discrete}.toast,.toast.visible{transform:translate(-50%,0);transition:opacity 100ms ease}.primary:disabled::after,.empty-state.loading>.icon{animation:none!important}}
@media(prefers-reduced-motion:reduce){.refresh-button.is-loading .icon{animation:none!important}}
/* Text on light surfaces retains AA contrast; decorative strokes stay lighter. */
.page-date,.panel-heading p,.activity-item small,.ring-label small,.table-footnote,.activity-empty,.workspace-footer,.login-copyright,.login-copyright>span,.login-form small,th,td.title-cell small{color:var(--muted)}
.chart-axis{fill:var(--muted)}input::placeholder{color:var(--muted)}.help-note{color:var(--gold-ink)}
.login-emblem{opacity:0;animation:none!important;transition:opacity 200ms var(--ease-out)}.login-emblem.crest-ready{opacity:1}
@media(prefers-reduced-motion:reduce){.login-emblem{transition:opacity 100ms ease}.crest-plate{transform:none}}

.session-screen{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:24px;text-align:center}
.session-screen img{object-fit:contain;margin-bottom:14px}
.session-screen h1{font-size:24px;letter-spacing:-.4px}
.session-screen p{color:var(--muted);margin-bottom:12px}
.ai-config-view [tabindex="-1"]{scroll-margin-top:84px}
.kb-search-panel{margin-top:18px}
.source-list-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:20px 0 10px}
.source-list-title{margin:0}
.source-card h3{margin:0;overflow-wrap:anywhere;font-size:16px}
.source-card-top{flex-wrap:wrap;align-items:baseline}
.source-card .muted{overflow-wrap:anywhere}

.subpage-nav{display:flex;flex-wrap:wrap;gap:4px 10px;margin:0 0 14px;padding:0 0 6px;border-bottom:1px solid var(--line)}
.subpage-nav button{min-height:44px;padding:6px 10px;border-bottom:3px solid transparent;color:var(--ink)}
.subpage-nav button[aria-pressed="true"]{border-bottom-color:var(--gold,#c59a48);background:var(--paper)}
.insight-subpage{display:grid;gap:20px;min-width:0}
