/* Shared chrome: Knowledge portal proportions, approved ISUI surfaces. */
.workspace{grid-template-columns:276px minmax(0,1fr)}
.sidebar{border-right:1px solid #1a2636;padding-left:12px;padding-right:12px}
.brand{display:block;padding:0 14px 5px;max-width:100%}
.brand img{width:220px;max-width:100%}
.brand-isui{display:flex;justify-content:space-between;width:220px;max-width:100%;margin-top:13px;color:#8fa7c0;font-family:"SFMono-Regular",Menlo,Consolas,"Liberation Mono",monospace;font-size:21px;line-height:1.25;font-weight:400}
.nav-link{font-family:var(--font);font-size:14px;font-weight:400;min-height:42px;padding:10px 13px;gap:12px}
.nav-link.active{font-weight:600}.nav-label{margin-left:13px}
.notification-anchor{position:relative}.notification-trigger{position:relative}
.notification-badge{position:absolute;top:-3px;right:-6px;min-width:18px;height:18px;display:flex;align-items:center;justify-content:center;padding:0 4px;border-radius:10px;background:var(--primary);border:2px solid white;color:white;font-size:9px;line-height:14px;font-weight:650}
.notification-panel{position:absolute;right:-12px;top:calc(100% + 16px);z-index:90;width:410px;max-width:calc(100vw - 28px);background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 14px 44px #10263e24;overflow:hidden;color:var(--text)}
.notification-heading{padding:18px 18px 15px;display:flex;align-items:flex-start;gap:8px;justify-content:space-between;border-bottom:1px solid var(--border)}
.notification-heading h2{font-size:16px;margin:0 0 3px;font-weight:600}.notification-heading .small-text{font-size:11px}
.notification-heading .icon-button{flex:none;width:28px;height:28px;min-height:28px}
.notification-list{max-height:min(440px,60vh);overflow:auto;overscroll-behavior:contain}
.notification-item{position:relative;display:grid;gap:5px;padding:15px 20px 15px 31px;border-bottom:1px solid #edf1f5;color:var(--text);font-size:12px;overflow-wrap:anywhere}
.notification-item:last-child{border:0}.notification-item:hover,.notification-item:focus-visible{background:#f1f5fa;text-decoration:none}.notification-item.unread{background:#f7faff}
.notification-item.unread:before{content:"";position:absolute;left:15px;top:21px;width:6px;height:6px;border-radius:50%;background:var(--primary)}
.notification-item strong{font-size:12px;font-weight:600;color:var(--primary)}.notification-item time{font-size:10px;color:#8190a1}.notification-item .notification-case{color:#6b7e91;font-size:11px}
.notification-state{padding:32px 22px;text-align:center;font-size:13px;color:var(--muted)}.notification-state p{margin:0 0 12px}
.notification-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 14px;border-top:1px solid var(--border);background:#fbfcfd}.notification-footer .btn{font-size:11px}.notification-footer a{font-size:11px}
.toast-stack{position:fixed;right:24px;bottom:24px;z-index:200;display:grid;gap:10px;width:420px;max-width:calc(100vw - 32px);pointer-events:none}
.toast{display:flex;align-items:flex-start;gap:11px;background:#fff;border:1px solid #b8d3c6;border-left:4px solid var(--success);border-radius:10px;padding:16px;box-shadow:0 8px 30px #10263e24;font-size:13px;line-height:1.5;pointer-events:auto;animation:toast-enter .18s ease-out}
.toast-mark{color:var(--success);font-size:16px;line-height:20px;font-weight:650;flex:none}.toast-text{flex:1;min-width:0;overflow-wrap:anywhere}.toast-dismiss{font:20px/20px var(--font);flex:none;border:0;background:none;color:#7d8d9e;padding:0 2px;min-height:22px}
.toast-error{border-color:#e5c6c3;border-left-color:var(--danger)}.toast-error .toast-mark{color:var(--danger)}.toast-warning{border-color:#e6d8b7;border-left-color:var(--amber)}.toast-warning .toast-mark{color:var(--amber)}.toast-info{border-color:#c2d2e3;border-left-color:var(--primary)}.toast-info .toast-mark{color:var(--primary)}
@keyframes toast-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.toast{animation:none}}
@media(max-width:1150px) and (min-width:901px){.workspace{grid-template-columns:244px minmax(0,1fr)}.brand{padding-left:12px;padding-right:12px}.brand img,.brand-isui{width:196px}.nav-link{font-size:13px}}
@media(max-width:900px){.workspace{display:block}.brand{display:flex;align-items:center;gap:24px;padding:0}.brand img{width:190px}.brand-isui{width:125px;max-width:35%;margin:0;font-size:18px}.nav-link{font-size:13px;min-height:38px;padding:8px 13px}.notification-panel{position:fixed;right:14px;top:var(--notification-top,70px)}.toast-stack{right:16px;bottom:16px}}
@media print{.toast-stack,.notification-panel{display:none!important}}

.auth-isui{width:100%;max-width:300px;margin-top:17px}
@media(max-width:900px){.auth-isui{max-width:190px;margin-top:13px}}
/* v2.3: compact caption; the only borrowed app-shell values are KB widths. */
.brand-isui{display:block;width:max-content;max-width:none;margin:11px auto 0;text-align:center;font-size:20px;line-height:1.2;font-weight:400;letter-spacing:.45px;font-stretch:expanded}
.nav-child{margin-left:15px;min-height:34px;font-size:12px;padding-top:7px;padding-bottom:7px}.nav-child .icon{width:16px;height:16px}
.notification-row{border-bottom:1px solid #edf1f5}.notification-row:last-child{border:0}.notification-row .notification-item{border:0;padding-bottom:8px}
.notification-item-actions{display:flex;justify-content:flex-end;gap:8px;padding:0 16px 11px;background:#fff}.notification-item-actions .btn{font-size:10px;min-height:28px;padding:2px 7px}.notification-item-actions .btn:disabled{opacity:.7}
.workspace.menu-collapsed{grid-template-columns:76px minmax(0,1fr)}
.menu-collapsed .sidebar{padding-left:10px;padding-right:10px}.menu-collapsed .brand{padding:0;width:42px;height:42px;overflow:hidden;margin:0 auto 8px}.menu-collapsed .brand img{width:210px;max-width:none;height:38px;object-fit:contain;object-position:left}.menu-collapsed .brand-isui,.menu-collapsed .nav-text,.menu-collapsed .nav-count,.menu-collapsed .nav-label{display:none}
.menu-collapsed .nav-link{justify-content:center;padding:10px;gap:0;width:44px;margin-left:auto;margin-right:auto}.menu-collapsed .nav-child{min-height:34px}.menu-collapsed .sidebar-bottom{align-items:center}
.menu-toggle{flex:none}.topbar .menu-toggle+.top-search{margin-left:0}
.auth{grid-template-columns:1fr 1fr}.auth-brand{min-height:100vh;justify-content:space-between;padding:40px 56px;background:#0b192b}.auth-brand img{width:285px}.auth-message{max-width:440px;margin:0;padding:0}.auth-message h1{font-size:48px;font-weight:700;letter-spacing:-1.7px;line-height:1.16;margin:20px 0 24px}.auth-message p{font-size:17px;line-height:1.65;color:#a6b8cd;max-width:410px}.auth-kicker{font-size:12px;font-weight:600;letter-spacing:1.5px;color:#8ba5c0;line-height:1.5}.auth-topics{display:flex;gap:10px;flex-wrap:wrap;margin-top:34px}.auth-topics span{border:1px solid #304761;border-radius:4px;padding:8px 12px;font-size:12px;color:#a6b8cd}.auth-footer{font-size:12px;color:#8296ae}.auth-main{padding:32px;background:white}.auth-form{width:390px;max-width:100%}.auth-form .auth-kicker{font-size:12px;color:#60758c;margin:0 0 18px}.auth-form h1{font-size:27px;font-weight:700;line-height:1.3;letter-spacing:-.6px;margin:0 0 28px}.auth-form .lead{font-size:14px;line-height:1.6;margin:0 0 30px;color:#65758a}.auth-form .field{margin-bottom:18px}.auth-form .field label{font-size:14px;font-weight:500;color:#1a2636}.auth-form input:not([type=checkbox]):not([type=radio]){height:46px;font-size:14px}.auth-form .btn.block{height:42px;min-height:42px;margin-top:24px;justify-content:space-between}.auth-form .auth-links{font-size:13px;margin:22px 0 0;flex-wrap:wrap;gap:14px;line-height:1.5}.auth-form .auth-links a{color:#6c7e8e}.auth-links a:last-child:nth-child(3){flex-basis:100%}.auth-footnote{font-size:12px;line-height:1.6;margin-top:30px;color:#8695a0}
@media(max-width:1150px) and (min-width:901px){.workspace{grid-template-columns:244px minmax(0,1fr)}.workspace.menu-collapsed{grid-template-columns:76px minmax(0,1fr)}}
@media(max-width:1100px){.auth-brand{padding:36px}.auth-message h1{font-size:42px}}
@media(max-width:900px){.brand-isui{width:max-content;max-width:none;margin:0 0 0 12px}.workspace.menu-collapsed{display:grid;grid-template-columns:64px minmax(0,1fr)}.menu-collapsed .sidebar{position:sticky;top:0;height:100vh;max-height:100vh;flex-wrap:nowrap;align-items:stretch;display:flex;gap:14px;overflow:auto}.menu-collapsed .nav-group{display:grid}.menu-collapsed .sidebar-bottom{margin-top:auto}.menu-collapsed .brand{width:40px;flex:none}.menu-collapsed .sidebar>div{width:auto}.menu-collapsed .content{padding-left:16px;padding-right:16px}.menu-collapsed .topbar{gap:8px;padding-left:10px;padding-right:10px}.menu-collapsed .top-search{min-width:0}.menu-collapsed .top-actions{gap:6px}.menu-collapsed .topbar .account-button>span:not(.avatar){display:none}.menu-collapsed .notification-panel{right:8px;max-width:calc(100vw - 16px)}.menu-collapsed .sidebar-bottom .nav-link{font-size:0}}
@media(max-width:760px){.auth{display:block}.auth-brand{min-height:0;padding:24px}.auth-brand img{width:240px}.auth-message,.auth-footer{display:none}.auth-main{padding:40px 24px}.auth-form h1{font-size:25px}}

/* Use the original standalone EnergyST mark in the compact navigation. */
.brand img.brand-mark{display:none}.menu-collapsed .brand{display:flex;align-items:center;justify-content:center;flex:none}.menu-collapsed .brand img.brand-wordmark{display:none}.menu-collapsed .brand img.brand-mark{display:block;width:38px;height:38px;max-width:100%;object-fit:contain;object-position:center}
