.login-screen { min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); background: var(--surface); }
.login-intro { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: clamp(32px, 7vw, 96px); color: #fff; background: #14213d; }
.login-intro-copy { max-width: 620px; }
.login-intro-copy h1 { margin: 16px 0; font-size: clamp(38px, 5vw, 70px); line-height: 1.1; letter-spacing: -.065em; }
.login-intro-copy h1 em { color: #aebcff; font-style: normal; }
.login-intro-copy p { max-width: 520px; margin: 0; color: #c5d0e4; font-size: 15px; line-height: 1.85; }
.login-trust { display: flex; align-items: center; gap: 11px; color: #aab7cc; font-size: 12px; }
.login-panel { width: min(100%, 560px); min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 6vw, 88px); }
.login-panel > .brand-lockup { margin-bottom: var(--space-10); }
.login-copy h2 { margin: 9px 0 8px; font-size: 30px; letter-spacing: -.05em; }
.login-copy p { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.65; }
.login-form { margin-top: 32px; }
.login-demo { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-tertiary); font-size: 12px; }
.login-demo button { min-height: 36px; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 7px 11px; color: var(--text-secondary); background: var(--surface); }
.login-demo button:hover { border-color: var(--brand); color: var(--brand-strong); }
.login-panel > .caption { margin-top: 20px; }
.app-shell { height: 100dvh; min-height: 100dvh; display: grid; grid-template-columns: 240px minmax(0, 1fr) 320px; }
.app-shell.staff-shell { grid-template-columns: 240px minmax(0, 1fr); }
.app-shell.staff-shell .context-panel { display: none; }
.app-shell > *, .app-frame, .app-main, .context-panel { min-height: 0; }
.desktop-sidebar { min-width: 0; display: flex; flex-direction: column; padding: 24px 16px; color: #fff; background: var(--surface-dark); }
.sidebar-brand { padding: 0 10px 40px; }
.sidebar-section-label { padding: 0 12px 12px; color: #8998b1; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.nav-stack { display: grid; gap: 4px; }
.nav-item { min-height: 44px; display: flex; align-items: center; gap: 11px; border: 0; border-radius: var(--radius-sm); padding: 9px 12px; color: #b1bed1; background: transparent; text-align: left; font-size: 13px; font-weight: 650; }
.nav-item:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-item.is-active { color: #fff; background: #304db9; }
.nav-icon { width: 21px; color: currentColor; font-size: 17px; text-align: center; }
.sidebar-footer { display: flex; align-items: flex-start; gap: 10px; margin-top: auto; padding: 16px 12px 0; border-top: 1px solid rgba(255,255,255,.1); color: #99a8be; font-size: 11px; line-height: 1.5; }
.sidebar-footer b, .sidebar-footer small { display: block; }
.sidebar-footer b { color: #dae2ee; font-size: 12px; }
.app-frame { min-width: 0; display: grid; grid-template-rows: 72px minmax(0, 1fr); }
.topbar { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: 0 28px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.92); backdrop-filter: blur(12px); }
.topbar-title { display: grid; gap: 4px; min-width: 0; }
.topbar-title strong { font-size: 15px; }
.topbar-actions { display: flex; align-items: center; gap: 8px; min-width: 0; }
.user-chip { max-width: 180px; overflow: hidden; color: var(--text-secondary); font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.app-main { min-width: 0; overflow-y: auto; padding: 32px 28px 48px; }
.page-container { width: 100%; max-width: var(--content-max); margin: 0 auto; }
.context-panel { min-width: 0; overflow-y: auto; padding: 26px 20px; border-left: 1px solid var(--border); background: #fbfcfe; }
.context-drawer, .drawer-backdrop { display: none; }
.tablet-only, .mobile-bottom-nav { display: none; }
