.app-shell{background:var(--brand-bg,#ecfdf5);min-height:100vh;color:var(--text-dark,#1e293b);font-family:DM Sans,system-ui,sans-serif;display:flex}.app-shell__sidebar{width:var(--sidebar-width,260px);flex:0 0 var(--sidebar-width,260px);background:var(--color-sidebar,#1a5632);z-index:100;border-right:1px solid #ffffff14;flex-direction:column;height:100vh;display:flex;position:sticky;top:0}.app-shell__sidebar-header{border-bottom:1px solid #ffffff14;padding:20px}.app-shell__logo{align-items:center;gap:12px;display:flex}.app-shell__logo-icon{color:#fff;text-align:center;background:linear-gradient(135deg,#00a86b 0%,#84cc16 100%);border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;font-size:11px;font-weight:700;line-height:1.1;display:flex}[data-subject=ela] .app-shell__logo-icon{background:linear-gradient(135deg,#2563eb 0%,#3b82f6 100%)}.app-shell__logo-text{color:var(--shell-sidebar-text,#fff);font-family:Fraunces,Georgia,serif;font-size:20px;font-weight:700;line-height:1.1}.app-shell__logo-text-secondary{color:var(--shell-sidebar-text-muted,#fff9);margin-top:2px;font-family:DM Sans,system-ui,sans-serif;font-size:11px;font-weight:500;display:block}.app-shell__sidebar-nav{flex:1;padding:16px 12px;overflow-y:auto}.app-shell__nav-section{margin-bottom:24px}.app-shell__nav-section-title{text-transform:uppercase;letter-spacing:.5px;color:var(--shell-sidebar-text-muted,#ffffff80);margin-bottom:8px;padding:0 12px;font-size:11px;font-weight:600}.app-shell__nav-item{cursor:pointer;color:var(--shell-sidebar-nav-text,#ffffffe0);border-radius:10px;align-items:center;gap:12px;margin-bottom:4px;padding:12px 14px;font-size:14px;font-weight:500;text-decoration:none;transition:background .15s,color .15s;display:flex}.app-shell__nav-item:hover{color:var(--shell-sidebar-text,#fff);background:#ffffff0d}.app-shell__nav-item.is-active{background:var(--shell-active-bg,#ffffff1a);color:var(--shell-active-text,#ecfdf5);font-weight:600}.app-shell__nav-icon{flex:0 0 20px;width:20px;height:20px}.app-shell__nav-label{flex:1}.app-shell__nav-badge{background:var(--emergency,#dc2626);color:#fff;border-radius:10px;padding:2px 7px;font-size:10px;font-weight:700}.app-shell__sidebar-footer{border-top:1px solid #ffffff14;padding:16px;position:relative}.app-shell__user-card{background:0 0;border-radius:10px;align-items:center;gap:12px;padding:10px;display:flex}.app-shell__user-card--button{cursor:pointer;text-align:left;width:100%;font:inherit;color:inherit;border:none;transition:background .15s}.app-shell__user-card--button:hover,.app-shell__user-card--button[aria-expanded=true]{background:#ffffff0f}.app-shell__user-card--button:focus-visible{outline:2px solid var(--shell-sidebar-nav-text,#ffffffe0);outline-offset:2px}.app-shell__user-caret{color:var(--shell-sidebar-text-muted,#ffffffb8);margin-left:auto;font-size:11px;line-height:1}.app-shell__user-menu{background:var(--white,#fff);z-index:20;border-radius:10px;padding:6px;position:absolute;bottom:calc(100% - 8px);left:16px;right:16px;box-shadow:0 10px 24px #0f172a47,0 2px 6px #0f172a29}.app-shell__user-menu-item{width:100%;font:inherit;color:var(--text-dark,#1e293b);text-align:left;cursor:pointer;background:0 0;border:none;border-radius:8px;padding:10px 12px;font-size:13px;font-weight:500}.app-shell__user-menu-item:hover{background:var(--bg-light,#f1f5f9)}.app-shell__user-menu-item:focus-visible{outline:2px solid var(--brand-accent,#22c55e);outline-offset:-2px}.app-shell__user-avatar{color:#fff;background:#00a86b;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;font-size:14px;font-weight:600;display:flex}[data-subject=ela] .app-shell__user-avatar{background:#2563eb}.app-shell__user-info{flex:1;min-width:0}.app-shell__user-name{color:var(--shell-sidebar-text,#fff);text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;overflow:hidden}.app-shell__user-role{color:var(--shell-sidebar-text-muted,#fff9);font-size:12px}.app-shell__signout{width:100%;color:var(--shell-sidebar-text-muted,#ffffffd9);cursor:pointer;background:0 0;border:1px solid #ffffff26;border-radius:10px;justify-content:center;align-items:center;gap:6px;margin-top:12px;padding:8px 12px;font-family:inherit;font-size:13px;font-weight:500;transition:background .15s;display:flex}.app-shell__signout:hover{background:#ffffff0d}.app-shell__main{flex-direction:column;flex:1;min-width:0;display:flex}.app-shell__topbar{background:var(--white,#fff);border-bottom:1px solid var(--border,#e2e8f0);z-index:50;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:16px 32px;display:flex;position:sticky;top:0}.app-shell__topbar-title{color:var(--text-dark,#1e293b);margin:0;font-family:Fraunces,Georgia,serif;font-size:24px;font-weight:700;line-height:1.2}.app-shell__topbar-subtitle{color:var(--text-muted,#64748b);margin:4px 0 0;font-family:DM Sans,system-ui,sans-serif;font-size:13px}.app-shell__topbar-actions{align-items:center;gap:10px;display:flex}.app-shell__content{flex:1;align-self:stretch;width:100%;padding:28px 32px}.app-shell__subject-toggle{background:var(--bg-light,#f1f5f9);border-radius:999px;gap:4px;padding:4px;display:inline-flex}.app-shell__subject-toggle button{color:var(--text-muted,#64748b);cursor:pointer;background:0 0;border:none;border-radius:999px;padding:6px 14px;font-family:inherit;font-size:13px;font-weight:600;transition:background .15s,color .15s}.app-shell__subject-toggle button.is-active{background:var(--tier1-green,#00a86b);color:#fff}[data-subject=ela] .app-shell__subject-toggle button.is-active{background:#2563eb}.app-shell--minimal .app-shell__main{width:100%}.app-shell--minimal .app-shell__content{max-width:none}
