@import"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap";:root{--navy: #030752;--navy-light: #0a1a6e;--slate: #233650;--slate-light: #2e4567;--gold: #CCA876;--gold-dark: #b08d5a;--teal: #09B2A0;--teal-dark: #07907f;--green: #22c55e;--amber: #f59e0b;--red: #ef4444;--blue: #3b82f6;--r-sm: 6px;--r-md: 10px;--r-lg: 16px;--r-xl: 24px;--sidebar-w: 220px;--topbar-h: 60px}:root,html[data-theme=light]{--bg: #f5f7fb;--surface: #ffffff;--surface-2: #f0f3f8;--surface-3: #e4e9f2;--border: rgba(3,7,82,.08);--border-mid: rgba(3,7,82,.14);--text-primary: #0f172a;--text-secondary: #475569;--text-muted: #94a3b8;--shadow-sm: 0 1px 3px rgba(15,23,42,.08);--shadow-md: 0 4px 16px rgba(15,23,42,.1);--shadow-lg: 0 8px 32px rgba(15,23,42,.12);--sidebar-bg: var(--navy);--sidebar-text: #f0f4ff;--sidebar-muted: #8899bb}html[data-theme=dark]{--bg: #0d1117;--surface: #161c27;--surface-2: #1e2636;--surface-3: #252f42;--border: rgba(255,255,255,.08);--border-mid: rgba(255,255,255,.13);--text-primary: #f0f4ff;--text-secondary: #8899bb;--text-muted: #546180;--shadow-sm: 0 1px 3px rgba(0,0,0,.4);--shadow-md: 0 4px 16px rgba(0,0,0,.5);--shadow-lg: 0 8px 32px rgba(0,0,0,.6);--sidebar-bg: var(--navy);--sidebar-text: #f0f4ff;--sidebar-muted: #8899bb}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{font-size:14px}body{font-family:Inter,system-ui,sans-serif;background:var(--bg);color:var(--text-primary);line-height:1.5;-webkit-font-smoothing:antialiased;min-height:100vh}a{color:inherit;text-decoration:none}button{font-family:inherit;cursor:pointer;border:none;background:none}input,select,textarea{font-family:inherit;background:var(--surface-2);color:var(--text-primary);border:1px solid var(--border-mid);border-radius:var(--r-sm);padding:8px 12px;font-size:13px;outline:none;transition:border-color .2s;box-sizing:border-box}input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea{min-height:40px}select{appearance:none;-webkit-appearance:none;-moz-appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7a94' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:12px}html[data-theme=dark] select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239aa8c0' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")}input:focus,select:focus,textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px #09b2a026}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--surface-3);border-radius:99px}.app-shell{display:flex;height:100vh;overflow:hidden}.sidebar-backdrop,.sidebar-close{display:none}.sidebar-acting-label{padding:8px 12px 4px;font-size:10px;color:var(--sidebar-muted);text-transform:uppercase;letter-spacing:.06em}.topbar-menu-btn{display:none}.sidebar{width:var(--sidebar-w);flex-shrink:0;background:var(--sidebar-bg);color:var(--sidebar-text);display:flex;flex-direction:column;border-right:1px solid rgba(255,255,255,.06);overflow-y:auto;z-index:50}.sidebar-brand{padding:20px 16px 16px;border-bottom:1px solid rgba(255,255,255,.08);position:relative}.sidebar-brand-logo{display:flex;align-items:center;gap:10px;margin-bottom:6px}.brand-initials{width:36px;height:36px;border-radius:8px;background:linear-gradient(135deg,var(--gold),var(--gold-dark));display:flex;align-items:center;justify-content:center;font-weight:800;font-size:12px;color:var(--navy);flex-shrink:0}.brand-crest{width:40px;height:40px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 2px 6px rgba(0,0,0,.35))}.brand-text{line-height:1.2}.brand-name{font-weight:700;font-size:13px;color:var(--sidebar-text)}.brand-sub{font-size:10px;color:var(--sidebar-muted);letter-spacing:.04em;text-transform:uppercase}.sidebar-conn{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--sidebar-muted);margin-top:4px}.conn-dot{width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 6px var(--green);animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.sidebar-user{margin:12px 12px 0;padding:10px 12px;background:#ffffff0f;border-radius:var(--r-md);display:flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.1);color:var(--sidebar-text)}.sidebar .user-name{color:var(--sidebar-text)}.sidebar .user-role{color:var(--sidebar-muted)}.user-avatar{width:32px;height:32px;border-radius:8px;background:linear-gradient(135deg,var(--slate),var(--navy-light));display:flex;align-items:center;justify-content:center;font-weight:700;font-size:11px;color:var(--gold);flex-shrink:0}.user-info{flex:1;min-width:0}.user-name{font-weight:600;font-size:12px;truncate:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-role{font-size:10px;color:var(--text-secondary)}.role-badges{display:flex;gap:4px;flex-wrap:wrap;padding:8px 12px 0}.role-badge{font-size:10px;font-weight:600;padding:2px 8px;border-radius:99px;border:1px solid var(--gold);color:var(--gold);background:#cca8761a;cursor:default;text-transform:uppercase;letter-spacing:.04em}.sidebar-nav{flex:1;padding:8px 0}.nav-section-label{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted);padding:14px 16px 4px}.nav-item{display:flex;align-items:center;gap:10px;padding:9px 16px;margin:1px 8px;border-radius:var(--r-md);font-size:13px;color:var(--sidebar-muted);transition:all .18s;cursor:pointer;position:relative}.nav-item:hover{background:#ffffff0f;color:var(--sidebar-text)}.nav-item.active{background:#09b2a026;color:var(--teal);font-weight:600}.nav-item.active:before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:3px;background:var(--teal);border-radius:0 3px 3px 0}.nav-badge{margin-left:auto;background:var(--red);color:#fff;font-size:10px;font-weight:700;min-width:18px;height:18px;border-radius:99px;display:flex;align-items:center;justify-content:center;padding:0 4px}.sidebar-notice{margin:12px;padding:10px 12px;background:#f59e0b1a;border:1px solid rgba(245,158,11,.3);border-radius:var(--r-md);font-size:11px;color:#fbbf24}.sidebar-notice strong{display:block;margin-bottom:2px}.sidebar-footer{padding:12px 16px;font-size:10px;color:var(--text-muted);border-top:1px solid var(--border)}.main-area{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:var(--bg)}.topbar{height:var(--topbar-h);display:flex;align-items:center;gap:12px;padding:0 24px;background:var(--surface);border-bottom:1px solid var(--border);flex-shrink:0}.topbar-breadcrumb{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--text-secondary)}.topbar-breadcrumb .crumb-sep{color:var(--text-muted)}.topbar-breadcrumb .crumb-current{color:var(--text-primary);font-weight:600}.topbar-search{flex:1;max-width:420px;margin:0 auto;position:relative}.topbar-search input{width:100%;background:var(--surface-2);padding-left:36px;font-size:13px}.topbar-search .search-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--text-muted);pointer-events:none}.search-kbd{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:var(--surface-3);border:1px solid var(--border-mid);border-radius:4px;padding:1px 5px;font-size:10px;color:var(--text-muted)}.topbar-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:var(--r-sm);font-size:13px;font-weight:500;transition:all .2s;cursor:pointer}.btn-primary{background:linear-gradient(135deg,var(--teal),var(--teal-dark));color:#fff;box-shadow:0 2px 8px #09b2a059}.btn-primary:hover{filter:brightness(1.1);transform:translateY(-1px)}.btn-ghost{background:transparent;color:var(--text-secondary);border:1px solid var(--border-mid)}.btn-ghost:hover{background:var(--surface-2);color:var(--text-primary)}.btn-gold{background:linear-gradient(135deg,var(--gold),var(--gold-dark));color:var(--navy);font-weight:700}.btn-gold:hover{filter:brightness(1.08);transform:translateY(-1px)}.btn-danger{background:#ef444426;color:var(--red);border:1px solid rgba(239,68,68,.3)}.btn-danger:hover{background:#ef444440}.btn-sm{padding:4px 10px;font-size:12px}.btn-icon{width:34px;height:34px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--r-sm);background:var(--surface-2);border:1px solid var(--border-mid);color:var(--text-secondary);transition:all .2s;position:relative}.btn-icon:hover{background:var(--surface-3);color:var(--text-primary)}.notif-dot{position:absolute;top:4px;right:4px;width:8px;height:8px;border-radius:50%;background:var(--red);border:2px solid var(--surface);display:flex;align-items:center;justify-content:center;font-size:8px;font-weight:700;color:#fff}.notif-dot.notif-count{top:-2px;right:-2px;min-width:16px;height:16px;width:auto;padding:0 4px;font-size:9px;line-height:1}.notif-wrap{position:relative}.notif-panel{position:absolute;right:0;top:calc(100% + 8px);width:min(360px,92vw);max-height:420px;overflow:auto;background:var(--surface);border:1px solid var(--border-mid);border-radius:var(--r-md);box-shadow:0 12px 32px #0000002e;z-index:80}.notif-panel-head{padding:10px 12px;font-size:12px;font-weight:700;border-bottom:1px solid var(--border);color:var(--text-secondary);text-transform:uppercase;letter-spacing:.04em}.notif-empty{padding:20px 14px;font-size:13px;color:var(--text-muted);text-align:center}.notif-list{list-style:none;margin:0;padding:0}.notif-item{display:block;width:100%;text-align:left;padding:10px 12px;border:0;border-bottom:1px solid var(--border);background:transparent;color:inherit;cursor:pointer}.notif-item:hover{background:var(--surface-2)}.notif-item-title{font-size:13px;font-weight:600;color:var(--text-primary)}.notif-item-meta{font-size:11px;color:var(--text-muted);margin-top:2px}.notif-item-body{font-size:12px;color:var(--text-secondary);margin-top:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.page-content{flex:1;min-height:0;overflow-x:hidden;overflow-y:auto;padding:24px 24px 48px;display:flex;flex-direction:column;gap:24px;align-items:stretch}.page-content>*{flex-shrink:0;min-width:0}.phase-banner{display:flex;align-items:center;gap:16px;padding:12px 20px;background:linear-gradient(135deg,#09b2a01f,#0307524d);border:1px solid rgba(9,178,160,.2);border-radius:var(--r-lg)}.phase-tag{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:3px 10px;border-radius:99px;background:#09b2a033;color:var(--teal);flex-shrink:0}.phase-info{flex:1}.phase-title{font-size:22px;font-weight:800;color:var(--text-primary);line-height:1.2}.phase-subtitle{font-size:12px;color:var(--text-secondary);margin-top:2px}.phase-steps{display:flex;align-items:center;gap:0;flex-shrink:0}.phase-step{display:flex;align-items:center;gap:0}.phase-step-label{font-size:10px;font-weight:600;padding:4px 10px;border-radius:4px;white-space:nowrap}.phase-step.done .phase-step-label{background:#09b2a033;color:var(--teal)}.phase-step.active .phase-step-label{background:var(--teal);color:#fff}.phase-step.future .phase-step-label{background:var(--surface-3);color:var(--text-muted)}.phase-arrow{color:var(--text-muted);margin:0 2px;font-size:12px}.dash-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:22px 24px;border-radius:var(--r-xl);border:1px solid var(--border);background:linear-gradient(135deg,#0307520f,#09b2a01a 45%,#cca87624),var(--surface)}html[data-theme=dark] .dash-hero{background:linear-gradient(135deg,#0307528c,#09b2a01f,#cca8761a),var(--surface)}.dash-hero-eyebrow{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--teal);margin-bottom:4px}.dash-hero-title{font-size:26px;font-weight:800;line-height:1.15}.dash-hero-sub{font-size:13px;color:var(--text-secondary);margin-top:6px;max-width:560px}.stat-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}@media (max-width: 1200px){.stat-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 640px){.stat-cards{grid-template-columns:1fr}}.stat-card{border-radius:16px;padding:18px 18px 16px;display:flex;align-items:flex-start;gap:14px;transition:transform .18s ease,box-shadow .18s ease;position:relative;overflow:hidden;border:1px solid transparent;min-height:112px;box-shadow:0 10px 28px #03075214}.stat-card:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(160deg,rgba(255,255,255,.18),transparent 42%);pointer-events:none}.stat-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px #03075224}.stat-card.tone-navy{background:linear-gradient(145deg,#1a2370,#0d1448 55%,#070b2a);color:#f4f6ff}.stat-card.tone-teal{background:linear-gradient(145deg,#0f766e,#0b5f59,#064e49);color:#ecfffb}.stat-card.tone-gold{background:linear-gradient(145deg,#b8893d,#8f6a2a 52%,#6d4f1a);color:#fff8eb}.stat-card.tone-blue{background:linear-gradient(145deg,#2563eb,#1d4ed8,#1e3a8a);color:#eef4ff}.stat-card.tone-amber{background:linear-gradient(145deg,#d97706,#b45309 52%,#7c2d12);color:#fff7ed}.stat-card.tone-green{background:linear-gradient(145deg,#15803d,#166534 52%,#14532d);color:#ecfdf3}.stat-card.tone-rose{background:linear-gradient(145deg,#be123c,#9f1239 52%,#7f1d1d);color:#fff1f2}.stat-card.tone-slate{background:linear-gradient(145deg,#475569,#334155 52%,#1e293b);color:#f8fafc}.stat-card .stat-label,.stat-card .stat-sub{color:#ffffffc7}.stat-card .stat-value{color:#fff}.stat-card .stat-icon{background:#ffffff29;color:#fff;border:1px solid rgba(255,255,255,.18)}.stat-card.gradient-gold,.stat-card.gradient-amber{background:linear-gradient(145deg,#b8893d,#8f6a2a 52%,#6d4f1a);color:#fff8eb}.stat-card.gradient-teal{background:linear-gradient(145deg,#0f766e,#0b5f59,#064e49);color:#ecfffb}.stat-card.gradient-blue{background:linear-gradient(145deg,#2563eb,#1d4ed8,#1e3a8a);color:#eef4ff}html[data-theme=dark] .stat-card{box-shadow:0 12px 28px #00000059}.stat-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;z-index:1}.stat-body{flex:1;position:relative;z-index:1;min-width:0}.stat-label{font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.06em}.stat-value{font-size:30px;font-weight:800;line-height:1.05;margin:6px 0 4px;letter-spacing:-.02em}.stat-sub{font-size:12px;line-height:1.35}.stat-sub.positive{color:var(--green)}.stat-sub.negative{color:var(--red)}.content-grid{display:grid;grid-template-columns:1fr 320px;gap:20px;align-items:start}@media (max-width: 1100px){.content-grid{grid-template-columns:1fr}}.dash-kpi-primary{margin-bottom:4px}.dash-kpi-secondary{grid-template-columns:repeat(4,minmax(0,1fr))}.dash-analytics-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:20px;align-items:stretch}.dash-main-grid{margin-top:0}.dash-pipeline{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px 20px 20px}.dash-pipeline-item{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:var(--r-md);border:1px solid var(--border);background:var(--surface-2)}.dash-pipeline-item strong{font-size:22px;line-height:1.1}.dash-top-offices{display:flex;flex-direction:column}.dash-top-office{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:12px 16px;border:0;border-bottom:1px solid var(--border);background:transparent;color:inherit;cursor:pointer}.dash-top-office:last-child{border-bottom:0}.dash-top-office:hover{background:var(--surface-2)}.dash-top-rank{width:24px;height:24px;border-radius:99px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;background:#09b2a01f;color:var(--teal);flex-shrink:0}.dash-top-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.dash-top-copy strong{font-size:13px}.dash-top-copy small{font-size:11px;color:var(--text-muted)}.dash-health{display:flex;flex-direction:column;gap:10px;padding:16px 20px 20px}.dash-health-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}@media (max-width: 1100px){.dash-analytics-grid{grid-template-columns:1fr}.dash-kpi-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 640px){.dash-kpi-secondary{grid-template-columns:1fr}}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);overflow-x:auto;flex-shrink:0;min-height:auto}.card-header{display:flex;align-items:center;gap:10px;padding:16px 20px;border-bottom:1px solid var(--border)}.card-title{font-weight:700;font-size:14px;flex:1}.card-body{padding:0}.card-footer{padding:12px 20px;border-top:1px solid var(--border);text-align:center}.queue-table{width:100%;border-collapse:collapse}.queue-table th{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted);padding:10px 20px;text-align:left;border-bottom:1px solid var(--border)}.queue-row{border-bottom:1px solid var(--border);transition:background .15s}.queue-row:last-child{border-bottom:none}.queue-row:hover{background:#ffffff08}.queue-cell{padding:14px 20px;vertical-align:middle}.queue-indicator{width:3px;background:var(--border);flex-shrink:0;align-self:stretch}.queue-indicator.urgent{background:var(--red)}.queue-indicator.normal{background:var(--amber)}.queue-indicator.low{background:var(--green)}.doc-title{font-weight:600;font-size:13px;margin-bottom:3px}.doc-meta{font-size:11px;color:var(--text-secondary)}.conf-badge{display:inline-flex;align-items:center;font-size:10px;font-weight:600;padding:2px 8px;border-radius:99px;margin-top:4px}.conf-badge.confidential{background:#ef444426;color:var(--red)}.conf-badge.restricted{background:#f59e0b26;color:var(--amber)}.conf-badge.internal{background:#3b82f626;color:var(--blue)}.conf-badge.public{background:#22c55e26;color:var(--green)}.time-ago{font-size:11px;color:var(--text-muted)}.stage-pill{display:inline-flex;flex-direction:column;font-size:11px;font-weight:600;color:var(--text-primary)}.stage-sub{font-size:10px;color:var(--text-muted);font-weight:400}.action-group{display:flex;gap:6px}.action-btn{width:28px;height:28px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:12px;transition:all .15s;cursor:pointer}.action-btn.approve{background:#22c55e26;color:var(--green)}.action-btn.approve:hover{background:#22c55e4d}.action-btn.return{background:#f59e0b26;color:var(--amber)}.action-btn.return:hover{background:#f59e0b4d}.action-btn.reject{background:#ef444426;color:var(--red)}.action-btn.reject:hover{background:#ef44444d}.link-subtle{font-size:12px;color:var(--text-muted);text-decoration:underline;text-underline-offset:2px;transition:color .15s}.link-subtle:hover{color:var(--teal)}.queue-notice{padding:8px 20px;font-size:11px;color:var(--text-muted);border-top:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.dept-strip{display:flex;gap:8px;padding:16px 20px;flex-wrap:wrap}.dept-chip{padding:8px 14px;border-radius:var(--r-md);cursor:pointer;transition:all .2s;border:1px solid var(--border-mid)}.dept-chip.active{background:var(--navy);border-color:var(--teal)}.dept-chip.active .dept-chip-name,.dept-chip.active .dept-chip-count{color:#f0f4ff}.dept-chip.active .dept-chip-count{opacity:.85}.dept-chip:not(.active):hover{background:var(--surface-2)}.dept-chip-name{font-size:12px;font-weight:600}.dept-chip-count{font-size:10px;color:var(--text-muted)}.dept-activity{display:flex;flex-direction:column;gap:10px;padding:16px 20px}.dept-activity-row{display:grid;gap:8px;text-align:left;background:transparent;border:none;padding:0;cursor:pointer;color:inherit}.dept-activity-meta{display:flex;justify-content:space-between;gap:12px;align-items:baseline}.dept-activity-name{font-size:13px;font-weight:600}.dept-activity-counts{font-size:11px;color:var(--text-muted)}.dept-activity-bars{display:flex;flex-direction:column;gap:4px}.dept-bar-track{height:8px;border-radius:99px;background:var(--surface-3);overflow:hidden}.dept-bar-fill{height:100%;border-radius:99px;min-width:0;transition:width .4s ease}.dept-bar-fill.docs{background:linear-gradient(90deg,#0d9488,var(--teal))}.dept-bar-fill.approvals{background:linear-gradient(90deg,#b45309,var(--gold))}.dept-activity-legend{display:flex;gap:16px;padding:0 20px 16px;font-size:11px;color:var(--text-muted)}.dept-activity-legend .swatch{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px;vertical-align:-1px}.dept-activity-legend .swatch.docs{background:var(--teal)}.dept-activity-legend .swatch.approvals{background:var(--gold)}.dash-range{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;justify-content:flex-end}.dash-range label{display:flex;flex-direction:column;gap:4px;font-size:11px;color:var(--text-muted);font-weight:600}.dash-range input[type=date]{background:var(--surface-2);border:1px solid var(--border-mid);color:var(--text-primary);border-radius:var(--r-sm);padding:6px 10px;font-size:13px}.approval-progress{margin:12px 0 16px}.approval-progress-head{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:8px;flex-wrap:wrap}.approval-progress .progress-bar{height:8px;border-radius:999px;background:var(--surface-3);overflow:hidden;margin-bottom:10px}.approval-progress .phase-steps{display:flex;flex-wrap:wrap;gap:6px;align-items:flex-start;max-width:100%}.approval-progress .phase-step{flex:1 1 120px;min-width:0;max-width:100%}.approval-progress .phase-step-label{white-space:normal;word-break:break-word;display:block;line-height:1.3}.progress-fill.err{background:linear-gradient(90deg,#b91c1c,var(--red))}.request-detail-drawer{width:min(560px,100%)}.doc-drawer-tabs{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.request-detail-body{flex:1;min-height:0;overflow-y:auto;padding-bottom:16px}.request-detail-actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:12px;margin-top:8px;border-top:1px solid var(--border);position:sticky;bottom:0;background:var(--surface)}.filter-toolbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px 14px;margin-bottom:4px;padding:14px 16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);align-items:start}.filter-toolbar .filter-grow{grid-column:span 2}.filter-toolbar>.repo-toolbar-field,.filter-toolbar>.form-group,.filter-toolbar>.search-field,.filter-toolbar .search-field{min-width:0;align-self:start}.filter-toolbar .form-label{min-height:16px;line-height:1.2;margin:0}.filter-toolbar select,.filter-toolbar input:not([type=checkbox]):not([type=radio]),.filter-toolbar .search-field-control,.filter-toolbar .repo-select__control{height:40px;min-height:40px}.filter-toolbar .search-field-hint{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.filter-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;align-self:end;padding-bottom:0;min-height:40px}.tx-filter-toolbar{grid-template-columns:minmax(280px,1.6fr) minmax(140px,.7fr) minmax(220px,1.2fr) repeat(2,minmax(140px,.7fr)) auto;gap:14px 16px}.tx-filter-toolbar .tx-filter-category{min-width:0}.tx-filter-toolbar .tx-category-select,.tx-filter-toolbar .tx-category-select .repo-select__control{width:100%}.tx-filter-toolbar .repo-select__control{min-height:40px;border-color:var(--border-mid);background:var(--surface);box-shadow:none}.tx-filter-toolbar .repo-select__control--is-focused{border-color:var(--teal);box-shadow:0 0 0 2px #09b2a02e}.tx-filter-toolbar .repo-select__menu,.tx-filter-toolbar .repo-select__menu-portal{z-index:40}.tx-filter-toolbar .repo-select__option{white-space:normal;line-height:1.35}.tx-filter-toolbar .repo-select__option--is-focused{background:#09b2a01f}.tx-filter-toolbar .repo-select__option--is-selected{background:var(--navy);color:#fff}.tx-filter-actions{justify-content:flex-start;white-space:nowrap}.students-filter-toolbar{grid-template-columns:minmax(240px,1.4fr) minmax(180px,1fr) minmax(140px,.7fr) auto}@media (max-width: 1100px){.tx-filter-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.tx-filter-toolbar .tx-filter-category,.tx-filter-toolbar .tx-filter-ref,.tx-filter-actions{grid-column:1 / -1}}@media (max-width: 720px){.filter-toolbar .filter-grow{grid-column:span 1}.filter-actions{grid-column:1 / -1}.tx-filter-toolbar,.students-filter-toolbar{grid-template-columns:1fr}}.table-card-body{display:flex;flex-direction:column;min-width:0}.table-card-body>.empty-state{padding:40px 24px}.table-scroll{overflow-x:auto;padding:0}.data-table-card .card-header .badge{margin-left:auto}.data-table{min-width:720px}.data-table th,.data-table .queue-cell{padding:12px 18px}.data-table thead th{position:sticky;top:0;background:var(--surface);z-index:1}.data-table-stack{display:flex;flex-direction:column;gap:2px;font-size:12px}.data-table-actions{display:flex;gap:6px;flex-wrap:wrap}.pager-row{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:0;padding:14px 20px 16px;border-top:1px solid var(--border);background:var(--surface-2)}.pager-meta{font-size:12px;color:var(--text-muted);min-width:0}.pager-controls{display:flex;gap:8px;align-items:center;flex-shrink:0}.tx-stat-cards,.students-stat-cards{margin-bottom:4px}.students-stat-cards{grid-template-columns:repeat(3,minmax(0,1fr))}@media (max-width: 900px){.students-stat-cards{grid-template-columns:1fr}}.student-create-form{display:flex;flex-direction:column;gap:4px}.student-create-form .form-group{margin-bottom:10px}.student-import-hint{margin:0 0 12px;font-size:12px;color:var(--text-secondary);line-height:1.45}.student-import-hint code{font-size:11px;padding:1px 5px;border-radius:4px;background:var(--surface-2)}.student-batch-row{cursor:pointer}.student-batch-row:hover{background:color-mix(in srgb,var(--teal) 8%,transparent)}.student-batch-error{margin-bottom:12px;padding:8px 10px;border-radius:8px;background:color-mix(in srgb,#c0392b 12%,transparent);color:#9b1c1c;font-size:12px}.student-import-stats{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:12px}@media (max-width: 1100px){.student-import-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 640px){.student-import-stats{grid-template-columns:1fr}}.student-import-row-header{flex-wrap:wrap;gap:10px}.student-import-row-filter{margin-left:auto;min-width:180px;height:34px}.btn.is-disabled{opacity:.65;pointer-events:none}.revenue-chart{display:flex;flex-direction:column;gap:14px;padding:16px 20px 20px}.revenue-chart-empty{padding:28px 20px;text-align:center;font-size:13px;color:var(--text-muted)}.revenue-chart-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid var(--border)}.revenue-chart-total strong{font-size:20px;color:var(--text-primary)}.revenue-chart-canvas{width:100%;min-height:280px}.revenue-pie-layout{display:grid;grid-template-columns:minmax(200px,240px) minmax(0,1fr);gap:16px 20px;align-items:center}.revenue-pie-plot{width:100%;aspect-ratio:1 / 1;max-width:240px;margin:0 auto;min-height:0}.revenue-pie-legend{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;min-width:0}.revenue-pie-legend-item{display:flex;align-items:flex-start;gap:10px;min-width:0}.revenue-pie-swatch{width:10px;height:10px;border-radius:99px;margin-top:4px;flex-shrink:0}.revenue-pie-legend-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.revenue-pie-legend-copy strong{font-size:13px;font-weight:600;color:var(--text-primary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.revenue-pie-legend-copy small{font-size:11px;color:var(--text-muted);line-height:1.35}.revenue-tooltip{background:var(--surface);border:1px solid var(--border-mid);border-radius:var(--r-sm);padding:8px 10px;box-shadow:0 8px 20px #0000001f;font-size:12px}.revenue-tooltip strong{display:block;margin-bottom:2px;font-size:13px}@media (max-width: 720px){.revenue-pie-layout{grid-template-columns:1fr;justify-items:center}.revenue-pie-legend{width:100%}}.pay-settings-form{display:flex;flex-direction:column;gap:18px}.pay-settings-section{padding:14px 16px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-2)}.pay-settings-section-head{display:flex;gap:10px;align-items:flex-start;margin-bottom:14px;color:var(--teal)}.pay-settings-section-head h3{margin:0;font-size:14px;font-weight:700;color:var(--text-primary)}.pay-settings-section-head p{margin:2px 0 0;font-size:12px;color:var(--text-muted);font-weight:400}.pay-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px}.pay-settings-grid .form-group{margin-bottom:12px}.pay-settings-span{grid-column:1 / -1}@media (max-width: 720px){.pay-settings-grid{grid-template-columns:1fr}}.pay-settings-toggles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}@media (max-width: 720px){.pay-settings-toggles{grid-template-columns:1fr}}.pay-toggle{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--surface);cursor:pointer;font-size:13px}.pay-toggle input{margin-top:3px}.pay-toggle span{display:flex;flex-direction:column;gap:2px}.pay-toggle strong{font-size:13px;color:var(--text-primary)}.pay-toggle small{font-size:11px;color:var(--text-muted)}.pay-settings-note{margin:12px 0 0;font-size:12px;color:var(--text-secondary)}.pay-settings-actions{display:flex;justify-content:flex-end}.pay-banner{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;padding:12px;margin:8px 0 12px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-2)}.pay-banner p{margin:0;font-size:13px;color:var(--text-secondary)}.doc-signatures,.doc-preview,.doc-messages{max-width:100%;overflow-x:hidden}.sig-pad{max-width:100%!important}.collab-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.collab-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--r-md)}.doc-signatures{display:flex;flex-direction:column;gap:4px}.sig-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.sig-item{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--surface-2, #f8fafc)}.sig-item-main{min-width:0;flex:1}.sig-typed{font-family:Segoe Script,Bradley Hand,Apple Chancery,cursive;font-size:22px;line-height:1.2;color:var(--text-primary);margin-bottom:4px}.sig-image{display:block;max-width:100%;height:56px;object-fit:contain;background:#fff;border:1px solid var(--border);border-radius:6px;margin-bottom:6px}.sig-compose{display:flex;flex-direction:column;gap:10px;margin-top:14px;padding-top:12px;border-top:1px solid var(--border)}.sig-mode-row{display:flex;gap:8px;flex-wrap:wrap}.sig-label{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--text-secondary)}.sig-label input{width:100%}.sig-pad-wrap{display:flex;flex-direction:column;gap:8px;align-items:flex-start}.sig-pad{width:100%;max-width:480px;height:140px;border:1px dashed var(--border-strong, #94a3b8);border-radius:8px;background:#fff;touch-action:none;cursor:crosshair}.right-col{display:flex;flex-direction:column;gap:16px}.authority-list{display:flex;flex-direction:column}.authority-item{display:flex;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid var(--border);transition:background .15s;cursor:pointer}.authority-item:last-child{border-bottom:none}.authority-item:hover{background:#ffffff08}.authority-avatar{width:30px;height:30px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:11px;flex-shrink:0}.authority-info{flex:1;min-width:0}.authority-name{font-size:12px;font-weight:600}.authority-role{font-size:11px;color:var(--text-secondary)}.authority-meta{font-size:11px;color:var(--text-muted);text-align:right}.you-tag{font-size:10px;font-weight:700;background:#09b2a033;color:var(--teal);padding:1px 6px;border-radius:4px;margin-left:4px}.locked-icon{color:var(--text-muted)}.repo-grid{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--border)}.repo-cell{background:var(--surface);padding:14px 16px;display:flex;align-items:center;gap:10px;cursor:pointer;transition:background .15s}.repo-cell:hover{background:var(--surface-2)}.repo-icon{width:28px;height:28px;border-radius:6px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.repo-cell-name{font-size:12px;font-weight:600}.repo-cell-count{font-size:11px;color:var(--text-muted)}.repo-cell-delta{font-size:10px;color:var(--green)}.repo-note{padding:10px 16px;font-size:11px;color:var(--text-muted);border-top:1px solid var(--border);display:flex;align-items:center;gap:6px}.health-item{padding:10px 16px;border-bottom:1px solid var(--border)}.health-item:last-child{border-bottom:none}.health-label-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}.health-label{font-size:12px;color:var(--text-secondary)}.health-val{font-size:12px;font-weight:600}.progress-bar{height:4px;border-radius:99px;background:var(--surface-3);overflow:hidden}.progress-fill{height:100%;border-radius:99px;background:linear-gradient(90deg,var(--teal),var(--teal-dark));transition:width .5s}.health-status{font-size:11px;font-weight:700;padding:2px 8px;border-radius:4px}.health-status.ok{background:#22c55e26;color:var(--green)}.health-status.err{background:#ef444426;color:var(--red)}.health-backup{padding:10px 16px;font-size:11px;color:var(--text-muted);display:flex;align-items:center;gap:6px;border-top:1px solid var(--border)}.pilot-badge{font-size:10px;font-weight:700;text-transform:uppercase;padding:2px 8px;border-radius:4px;background:#22c55e33;color:var(--green)}.login-split{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);background:#fff}.login-panel-left{background:linear-gradient(160deg,#030752e0,#030752b8 45%,#091e46d9),#030752;color:#f5f7fb;padding:28px 36px 32px;display:flex}.login-panel-left-inner{width:100%;max-width:640px;margin:0 auto;display:flex;flex-direction:column;gap:28px}.login-brand-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.login-brand{display:flex;align-items:center;gap:12px;min-width:0}.login-brand-crest{width:56px;height:56px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 4px 12px rgba(0,0,0,.35))}.login-brand-name{font-weight:800;font-size:15px;line-height:1.25}.login-brand-tag{font-size:11px;color:#f5f7fbb8;text-transform:uppercase;letter-spacing:.04em;margin-top:2px}.login-web-pill{flex-shrink:0;font-size:11px;font-weight:600;color:#f5f7fb;text-decoration:none;border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:6px 12px;background:#ffffff0f}.login-web-pill:hover{background:#ffffff1f}.login-left-copy{display:grid;gap:10px}.login-eyebrow{display:inline-flex;width:fit-content;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--gold);background:#cca87624;border:1px solid rgba(204,168,118,.28);border-radius:999px;padding:5px 10px}.login-headline{font-size:clamp(28px,3.4vw,40px);font-weight:800;line-height:1.12;letter-spacing:-.02em;max-width:16ch}.login-left-sub{font-size:14px;line-height:1.55;color:#f5f7fbc7;max-width:46ch}.login-hero-frame{margin-top:auto;border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.14);box-shadow:0 18px 48px #00000059;background:#0b1430}.login-hero-img{display:block;width:100%;height:min(320px,38vh);object-fit:cover;object-position:center}.login-hero-caption{display:flex;align-items:center;gap:8px;padding:10px 14px;font-size:11px;color:#f5f7fbc7;background:#030752e0;border-top:1px solid rgba(255,255,255,.08)}.login-panel-right{display:flex;align-items:center;justify-content:center;padding:32px 28px;background:radial-gradient(ellipse 70% 50% at 100% 0%,rgba(9,178,160,.08),transparent 55%),#f7f8fc}.login-right-inner{width:100%;max-width:420px;display:flex;flex-direction:column;gap:22px}.login-right-top{font-size:12px;color:var(--text-muted);font-weight:600}.login-welcome h2{font-size:34px;font-weight:800;color:var(--navy);letter-spacing:-.02em}.login-welcome p{margin-top:8px;font-size:14px;color:var(--text-secondary);line-height:1.5}.login-form{display:flex;flex-direction:column;gap:4px}.login-input-wrap{position:relative}.login-input-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--text-muted);pointer-events:none}.login-input{padding-left:38px;padding-right:42px;height:44px}.login-eye{position:absolute;right:10px;top:50%;transform:translateY(-50%);color:var(--text-muted);padding:4px;border-radius:6px}.login-eye:hover{color:var(--text-primary);background:var(--surface-2)}.login-label-row{display:flex;justify-content:space-between;align-items:center}.login-forgot-link{border:0;background:none;padding:0;font-size:12px;color:var(--teal);cursor:pointer;font-weight:500}.login-forgot-link:hover{text-decoration:underline}.login-back-link{display:inline-flex;align-items:center;gap:6px;border:0;background:none;padding:0;margin-bottom:10px;font-size:13px;color:var(--teal);cursor:pointer;font-weight:500}.login-back-link:hover{text-decoration:underline}.login-resend{width:100%;justify-content:center;margin-top:8px;height:40px}.login-keep{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--text-secondary);margin:4px 0 10px;cursor:pointer}.login-error{display:flex;gap:8px;align-items:flex-start;background:#ef44441a;border:1px solid rgba(239,68,68,.3);border-radius:8px;padding:10px 12px;margin-bottom:10px;font-size:13px;color:var(--red)}.login-info{display:flex;gap:8px;align-items:flex-start;background:#09b2a01a;border:1px solid rgba(9,178,160,.3);border-radius:8px;padding:10px 12px;margin-bottom:10px;font-size:13px;color:var(--teal)}.login-submit{width:100%;justify-content:center;height:46px;font-size:14px;border-radius:10px}.login-secure-note{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:10px;background:#0307520a;border:1px solid var(--border);font-size:12px;line-height:1.45;color:var(--text-secondary)}.login-secure-note svg{color:var(--teal);flex-shrink:0;margin-top:1px}.login-copy-foot{font-size:11px;color:var(--text-muted);text-align:center}.repo-toolbar{display:grid;grid-template-columns:minmax(220px,280px) minmax(260px,1.4fr) minmax(180px,1fr) auto;gap:12px 14px;align-items:start;margin-bottom:4px;padding:14px 16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md)}.repo-filter-toolbar{grid-template-columns:minmax(220px,280px) minmax(260px,1.4fr) minmax(180px,1fr) auto}.users-filter-toolbar{grid-template-columns:minmax(240px,1.5fr) minmax(150px,.8fr) minmax(160px,.9fr) minmax(130px,.7fr) auto}.roles-filter-toolbar{grid-template-columns:minmax(260px,1.6fr) auto}.categories-filter-toolbar{grid-template-columns:minmax(220px,1.4fr) minmax(130px,.7fr) minmax(130px,.7fr) minmax(120px,.6fr) auto}.templates-filter-toolbar{grid-template-columns:minmax(220px,1.4fr) minmax(120px,.6fr) minmax(120px,.6fr) auto}.approvals-filter-toolbar{grid-template-columns:minmax(240px,1.5fr) minmax(140px,.7fr) auto}.repo-toolbar-field{display:flex;flex-direction:column;gap:6px;margin-bottom:0;min-width:0}.repo-toolbar-field .form-label{margin:0}.repo-category-filter{width:100%}.repo-category-filter .repo-select__control{min-height:40px;border-color:var(--border-mid);background:var(--surface);box-shadow:none}.repo-category-filter .repo-select__control--is-focused{border-color:var(--teal);box-shadow:0 0 0 2px #09b2a02e}.repo-category-filter .repo-select__menu{background:var(--surface);border:1px solid var(--border-mid);z-index:20}.repo-category-filter .repo-select__option--is-focused{background:#09b2a01f}.repo-category-filter .repo-select__option--is-selected{background:var(--navy);color:#fff}.repo-category-filter .repo-select__single-value,.repo-category-filter .repo-select__input-container{color:var(--text-primary)}.repo-category-filter .repo-select__placeholder{color:var(--text-muted)}.repo-search{display:flex;gap:8px;align-items:center;width:100%}.repo-search input{height:40px;box-sizing:border-box}@media (max-width: 1100px){.repo-filter-toolbar,.users-filter-toolbar,.categories-filter-toolbar,.templates-filter-toolbar,.approvals-filter-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.repo-filter-toolbar .filter-actions,.users-filter-toolbar .filter-actions,.categories-filter-toolbar .filter-actions,.templates-filter-toolbar .filter-actions,.approvals-filter-toolbar .filter-actions,.roles-filter-toolbar .filter-actions{grid-column:1 / -1}}@media (max-width: 720px){.repo-toolbar,.repo-filter-toolbar,.users-filter-toolbar,.roles-filter-toolbar,.categories-filter-toolbar,.templates-filter-toolbar,.approvals-filter-toolbar{grid-template-columns:1fr}}.dash-hero-copy{min-width:0}.dash-hero-brand{display:flex;align-items:center;gap:10px;margin-bottom:6px}.dash-hero-crest{width:36px;height:36px;object-fit:contain;filter:drop-shadow(0 2px 6px rgba(3,7,82,.18))}@media (max-width: 960px){.login-split{grid-template-columns:1fr}.login-panel-left{min-height:auto;padding-bottom:24px}.login-hero-img{height:220px}.login-headline{max-width:none}}.toast{position:fixed;top:18px;right:18px;z-index:2000;padding:12px 16px;border-radius:var(--r-md);background:var(--surface);border:1px solid var(--border-mid);box-shadow:var(--shadow-md);font-size:13px;max-width:360px}.toast.ok{border-color:#22c55e66}.toast.err{border-color:#ef444466;color:var(--red)}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:flex;align-items:center;justify-content:center;z-index:1500;padding:24px}.modal-card{width:100%;max-width:520px;max-height:min(90vh,900px);overflow-y:auto;background:var(--surface);border:1px solid var(--border-mid);border-radius:var(--r-lg);padding:24px;box-shadow:var(--shadow-lg)}.login-card{width:100%;max-width:420px;background:var(--surface);border:1px solid var(--border-mid);border-radius:var(--r-xl);padding:40px;box-shadow:var(--shadow-lg)}.login-logo{display:flex;flex-direction:column;align-items:center;gap:14px;margin-bottom:32px;text-align:center}.login-logo-img{width:140px;height:140px;object-fit:contain;filter:drop-shadow(0 8px 24px rgba(3,7,82,.18))}html[data-theme=dark] .login-logo-img{filter:drop-shadow(0 8px 28px rgba(204,168,118,.25))}.login-logo-mark{width:60px;height:60px;border-radius:16px;background:linear-gradient(135deg,var(--gold),var(--gold-dark));display:flex;align-items:center;justify-content:center;font-weight:900;font-size:22px;color:var(--navy);box-shadow:0 4px 20px #cca87666}.login-university{font-weight:800;font-size:18px}.login-system{font-size:13px;color:var(--text-secondary)}.login-tagline{font-size:11px;color:var(--text-muted);margin-top:2px;font-style:italic}.form-group{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}.form-label{font-size:12px;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05em}.form-input{width:100%}.form-error{font-size:12px;color:var(--red);margin-top:4px}.login-btn{width:100%;padding:11px;font-size:14px;border-radius:var(--r-md);margin-top:8px;justify-content:center}.login-footer{text-align:center;margin-top:20px;font-size:11px;color:var(--text-muted)}.login-footer a{color:var(--teal)}.env-banner{position:fixed;bottom:0;left:var(--sidebar-w);right:0;z-index:1000;padding:6px 16px;background:#f59e0b26;border-top:1px solid rgba(245,158,11,.3);display:flex;align-items:center;gap:8px;font-size:11px;color:#fbbf24}.badge{font-size:10px;font-weight:700;padding:2px 8px;border-radius:99px;display:inline-flex;align-items:center;gap:4px}.badge-teal{background:#09b2a033;color:var(--teal)}.badge-amber{background:#f59e0b33;color:var(--amber)}.badge-red{background:#ef444433;color:var(--red)}.badge-green{background:#22c55e33;color:var(--green)}.badge-navy{background:#030752d9;color:#e8ecf8;border:1px solid rgba(255,255,255,.12)}.skeleton{background:linear-gradient(90deg,var(--surface-2) 25%,var(--surface-3) 50%,var(--surface-2) 75%);background-size:200% 100%;animation:shimmer 1.4s infinite;border-radius:var(--r-sm)}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.page-title{font-size:28px;font-weight:800}.page-sub{font-size:13px;color:var(--text-secondary);margin-top:2px}.page-header-actions{display:flex;gap:8px;flex-shrink:0}.empty-state{padding:48px;text-align:center;color:var(--text-muted)}.empty-state svg{opacity:.3;margin-bottom:12px}.drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a66;z-index:1400;display:flex;justify-content:flex-end}.doc-drawer{width:min(480px,100%);height:100%;background:var(--surface);border-left:1px solid var(--border-mid);box-shadow:var(--shadow-lg);padding:20px;display:flex;flex-direction:column;overflow-x:hidden;overflow-y:auto}.doc-drawer-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.doc-drawer-meta{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}.doc-overview{display:grid;gap:10px;font-size:13px}.doc-overview-row{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--border)}.doc-overview-row span{color:var(--text-muted)}.doc-messages{display:flex;flex-direction:column;flex:1;min-height:0;gap:10px}.doc-messages-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px}.doc-messages-thread{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding:4px 2px 8px;min-height:180px}.doc-messages-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:32px 12px;color:var(--text-muted);font-size:13px;text-align:center}.doc-msg{padding:10px 12px;border-radius:var(--r-md);border:1px solid var(--border);background:var(--surface-2)}.doc-msg.mine{border-color:#09b2a059;background:#09b2a00f}.doc-msg.direct{border-color:#f59e0b59}.doc-msg.highlight{outline:2px solid rgba(245,158,11,.65);box-shadow:0 0 0 3px #f59e0b2e}.doc-msg-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;font-size:12px}.doc-msg-meta{color:var(--text-muted);font-size:11px}.doc-msg-body{font-size:13px;line-height:1.45;white-space:pre-wrap;word-break:break-word}.doc-msg-recipients{margin-top:6px;font-size:11px;color:var(--text-muted)}.doc-msg-reply-ref{font-size:11px;color:var(--text-muted);margin-bottom:6px;padding-left:8px;border-left:2px solid var(--border-mid)}.doc-msg-replying{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:8px;color:var(--text-secondary)}.doc-messages-compose{border-top:1px solid var(--border);padding-top:12px;flex-shrink:0}.doc-messages-compose textarea{width:100%;resize:vertical;min-height:72px;border:1px solid var(--border-mid);border-radius:var(--r-md);padding:10px 12px;background:var(--surface);color:var(--text-primary);font:inherit}.doc-stakeholder-picker{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px;max-height:120px;overflow-y:auto}.doc-stakeholder-chip{display:flex;align-items:flex-start;gap:6px;padding:6px 8px;border-radius:8px;border:1px solid var(--border);font-size:12px;cursor:pointer;background:transparent}.doc-stakeholder-chip.on{border-color:#09b2a073;background:#09b2a014}.doc-stakeholder-chip small{display:block;color:var(--text-muted);font-size:10px;margin-top:2px}.doc-stakeholder-chip input{margin-top:2px}.doc-preview{display:flex;flex-direction:column;gap:10px;flex:1;min-height:0}.doc-preview-meta{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.doc-preview-actions{display:flex;gap:8px}.doc-preview-frame{flex:1;min-height:320px;border:1px solid var(--border-mid);border-radius:var(--r-md);overflow:hidden;background:var(--surface-2)}.doc-preview-frame iframe,.doc-preview-frame img{width:100%;height:100%;min-height:320px;border:0;object-fit:contain}.doc-preview-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:40px 16px;color:var(--text-muted);font-size:13px;text-align:center}[title]:not(a):not(button):not(.btn):not(.btn-icon):not(.action-btn):not(.nav-item):not(select):not(input):not(label):not([role=button]){cursor:help}a[title],button[title],.btn[title],.btn-icon[title],.action-btn[title],.nav-item[title],[role=button][title],select[title],label[title]{cursor:pointer}.search-field{display:flex;flex-direction:column;gap:6px;width:100%;min-width:0;position:relative}.search-field-row{display:flex;align-items:center;gap:8px;min-width:0;width:100%}.search-field-control{display:flex;align-items:center;gap:8px;flex:1;min-width:0;height:40px;min-height:40px;box-sizing:border-box;background:var(--surface-2);border:1px solid var(--border-mid);border-radius:var(--r-sm);padding:0 10px;transition:border-color .15s,box-shadow .15s}.search-field-control:focus-within{border-color:var(--teal);box-shadow:0 0 0 3px #09b2a026;background:var(--surface)}.search-field-icon{color:var(--text-muted);flex-shrink:0}.search-field-input{flex:1;min-width:0;height:auto!important;min-height:0!important;border:none!important;background:transparent!important;box-shadow:none!important;padding:0!important;font-size:13px;color:var(--text-primary)}.search-field-input:focus{outline:none}.search-field-input::-webkit-search-cancel-button{display:none}.search-field-clear{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;background:transparent;color:var(--text-muted);border-radius:6px;cursor:pointer;flex-shrink:0}.search-field-clear:hover{background:var(--surface-3);color:var(--text-primary)}.search-field-go{flex-shrink:0;height:40px;min-height:40px;box-sizing:border-box}.filter-toolbar .search-field-go,.filter-toolbar .search-field-row .search-field-go{display:none}.search-field-hint{font-size:11px;color:var(--text-muted);line-height:1.35}.settings-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:20px;align-items:start}.settings-subnav{display:flex;flex-direction:column;gap:2px;padding:8px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);position:sticky;top:12px}.settings-subnav-item{display:flex;align-items:center;gap:8px;padding:9px 12px;border-radius:var(--r-sm);font-size:13px;color:var(--text-secondary);text-decoration:none;transition:background .15s,color .15s}.settings-subnav-item:hover{background:var(--surface-2);color:var(--text-primary)}.settings-subnav-item.active{background:#09b2a01f;color:var(--teal);font-weight:600}.settings-panel{min-width:0;display:flex;flex-direction:column;gap:16px}@media (max-width: 860px){.settings-layout{grid-template-columns:1fr}.settings-subnav{position:static;flex-direction:row;flex-wrap:wrap;gap:4px}.settings-subnav-item{padding:7px 10px;font-size:12px}}.file-dropzone-wrap{display:grid;gap:10px}.file-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:22px 16px;text-align:center;cursor:pointer;border:1.5px dashed var(--border-mid);border-radius:var(--r-md);background:var(--surface-2);color:var(--text-secondary);transition:border-color .15s,background .15s,color .15s}.file-dropzone:hover,.file-dropzone.dragging{border-color:var(--teal);background:#09b2a014;color:var(--text-primary)}.file-dropzone.disabled{opacity:.55;cursor:not-allowed}.file-dropzone-icon{color:var(--teal)}.file-dropzone-label{font-size:13px;font-weight:600}.file-dropzone-hint{font-size:11px;color:var(--text-muted);max-width:420px}.file-dropzone-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}.file-dropzone-list li{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:var(--r-sm);background:var(--surface-2);border:1px solid var(--border);font-size:12px}.file-dropzone-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text-primary)}.file-dropzone-size{color:var(--text-muted);flex-shrink:0}.doc-preview-files{margin-bottom:12px}.doc-preview-files-label{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--text-muted);margin-bottom:8px}.doc-preview-file-tabs{display:flex;flex-wrap:wrap;gap:6px}.doc-preview-file-tab{max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:6px 10px;border-radius:8px;border:1px solid var(--border-mid);background:var(--surface-2);color:var(--text-secondary);font-size:12px;cursor:pointer}.doc-preview-file-tab:hover{color:var(--text-primary);border-color:var(--teal)}.doc-preview-file-tab.active{background:#09b2a01f;border-color:var(--teal);color:var(--teal);font-weight:600}@media (max-width: 960px){.topbar-menu-btn{display:inline-flex;flex-shrink:0}.sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;z-index:90;opacity:0;pointer-events:none;transition:opacity .2s ease}.sidebar-backdrop.is-visible{opacity:1;pointer-events:auto}.sidebar{position:fixed;top:0;left:0;bottom:0;width:min(288px,86vw);transform:translate(-105%);transition:transform .22s ease;z-index:100;box-shadow:var(--shadow-lg)}.sidebar.is-open{transform:translate(0)}.sidebar-close{display:inline-flex;position:absolute;top:14px;right:12px;background:#ffffff14;border-color:#ffffff24;color:var(--sidebar-text)}.topbar{padding:0 12px;gap:8px}.topbar-search,.topbar-breadcrumb .crumb-root,.topbar-breadcrumb .crumb-sep,.topbar-actions .btn-label{display:none}.topbar-raise-btn,.topbar-workflow-btn{padding:0;width:34px;height:34px;justify-content:center}.page-content{padding:16px 12px 40px;gap:16px}.page-header{flex-direction:column;align-items:stretch}.page-header-actions{flex-wrap:wrap}.page-title{font-size:22px}.env-banner{left:0}.notif-panel{right:0;left:auto;width:min(320px,calc(100vw - 24px))}.doc-drawer{width:100%}.modal-backdrop{padding:12px;align-items:flex-end}.modal-card{max-width:100%;max-height:min(92vh,100%);border-radius:var(--r-lg) var(--r-lg) 0 0;padding:18px 16px calc(18px + env(safe-area-inset-bottom,0px))}.login-card{padding:28px 20px;margin:12px}.login-logo-img{width:96px;height:96px}.data-table{min-width:560px}.pager-row{flex-wrap:wrap;gap:10px;padding:12px 14px}.request-detail-actions{flex-wrap:wrap}.doc-drawer-tabs{overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch}.doc-drawer-tabs .btn{flex-shrink:0}}@media (max-width: 640px){.topbar-actions .topbar-workflow-btn{display:none}.stat-cards,.students-stat-cards,.tx-stat-cards{grid-template-columns:1fr}.page-title{font-size:20px}.filter-toolbar,.repo-toolbar,.repo-filter-toolbar,.users-filter-toolbar,.roles-filter-toolbar,.categories-filter-toolbar,.templates-filter-toolbar,.approvals-filter-toolbar,.students-filter-toolbar,.tx-filter-toolbar{grid-template-columns:1fr;padding:12px}.filter-toolbar .filter-grow,.filter-actions,.repo-filter-toolbar .filter-actions,.users-filter-toolbar .filter-actions,.categories-filter-toolbar .filter-actions,.templates-filter-toolbar .filter-actions,.approvals-filter-toolbar .filter-actions,.roles-filter-toolbar .filter-actions{grid-column:1 / -1}.filter-actions{width:100%}.filter-actions .btn{flex:1;justify-content:center}.card-header{flex-wrap:wrap;gap:8px}.queue-table th,.queue-table .queue-cell,.data-table th,.data-table .queue-cell{padding:10px 12px}.doc-overview-row{flex-direction:column;align-items:flex-start;gap:4px}}.pay-result{min-height:100vh;display:grid;place-items:center;padding:24px 16px;background:radial-gradient(ellipse 80% 50% at 50% -10%,rgba(9,178,160,.18),transparent 55%),linear-gradient(165deg,#e8eef8 0%,var(--bg) 45%,#eef2f8 100%)}.pay-result-card{width:min(440px,100%);background:var(--surface, #fff);border:1px solid var(--border, #e2e8f0);border-radius:16px;padding:28px 24px 24px;box-shadow:0 18px 40px #03075214;text-align:center}.pay-result-brand{display:flex;align-items:center;gap:12px;text-align:left;margin-bottom:22px}.pay-result-brand img{width:44px;height:44px;object-fit:contain}.pay-result-brand strong{display:block;font-size:13px;color:var(--navy);line-height:1.25}.pay-result-brand span{display:block;font-size:11px;color:var(--muted, #64748b);margin-top:2px}.pay-result-icon{width:72px;height:72px;margin:0 auto 16px;border-radius:50%;display:grid;place-items:center}.pay-result-icon.is-success{background:#09b2a024;color:var(--teal)}.pay-result-icon.is-failure{background:#dc26261f;color:#dc2626}.pay-result h1{margin:0 0 8px;font-size:1.35rem;color:var(--navy);font-weight:700}.pay-result-copy{margin:0 0 18px;font-size:14px;line-height:1.5;color:var(--muted, #64748b)}.pay-result-meta{display:grid;gap:10px;margin-bottom:20px;padding:12px 14px;border-radius:10px;background:color-mix(in srgb,var(--navy) 4%,transparent);text-align:left}.pay-result-meta span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted, #64748b);margin-bottom:2px}.pay-result-meta strong{font-size:13px;color:var(--navy);word-break:break-all}.pay-result-actions{display:flex;flex-direction:column;gap:8px}.pay-result-actions .btn{justify-content:center;gap:6px}@media (pointer: coarse){.btn-sm{min-height:36px;padding:6px 12px}.nav-item{min-height:44px}.filter-toolbar select,.filter-toolbar .search-field-control{min-height:44px;height:44px}.filter-actions{min-height:44px}}
