@font-face{font-family:Open Sans;src:url(/fonts/open-sans-latin-wght-normal.woff2) format("woff2");font-weight:300 800;font-style:normal;font-display:swap}@font-face{font-family:Open Sans;src:url(/fonts/open-sans-latin-wght-italic.woff2) format("woff2");font-weight:300 800;font-style:italic;font-display:swap}@font-face{font-family:Montserrat;src:url(/fonts/montserrat-latin-wght-normal.woff2) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}:root{--navy: #0B2545;--navy-800: #13325A;--navy-700: #1D4170;--navy-100: #E7ECF3;--navy-50: #F2F5F9;--gold: #D4A645;--gold-600: #A87D24;--gold-700: #7D5B13;--gold-100: #F7EBCF;--gold-50: #FBF5E7;--teal: #0F7D77;--teal-700: #0B5F5A;--teal-100: #D5EDEB;--teal-50: #EBF6F5;--ivory: #F8F4E8;--bg: #FAF8F3;--surface: #FFFFFF;--surface-2: #FCFBF8;--border: #E7E2D6;--border-strong: #D6CFBF;--text: #1A2638;--text-strong: #0B2545;--text-muted: #5A6577;--text-subtle: #5F6979;--danger: #B42318;--danger-50: #FDEDEC;--warning: #7D5B13;--warning-50: #FBF5E7;--success: #0B5F5A;--success-50: #EBF6F5;--info: #1D4170;--info-50: #F2F5F9;--focus: #0F7D77;--radius-sm: 6px;--radius: 10px;--radius-lg: 14px;--shadow-sm: 0 1px 2px rgba(11, 37, 69, .06);--shadow: 0 1px 2px rgba(11, 37, 69, .05), 0 4px 16px rgba(11, 37, 69, .06);--shadow-lg: 0 12px 40px rgba(11, 37, 69, .18);--font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;--font-body: "Open Sans", "Segoe UI", system-ui, sans-serif;--sidebar-w: 256px;--topbar-h: 60px}*,*:before,*:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-body);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}h1,h2,h3,h4{font-family:var(--font-display);color:var(--text-strong);margin:0;letter-spacing:-.01em}h1{font-size:22px;font-weight:700}h2{font-size:16px;font-weight:700}h3{font-size:14px;font-weight:600}p{margin:0}a{color:var(--teal-700);text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:2px}button,input,select,textarea{font:inherit;color:inherit}:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:4px}::selection{background:var(--gold-100);color:var(--navy)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.skip-link{position:absolute;left:12px;top:-60px;z-index:100;background:var(--gold);color:var(--navy);padding:8px 14px;border-radius:var(--radius-sm);font-weight:600}.skip-link:focus{top:10px}.num{font-variant-numeric:tabular-nums}.muted{color:var(--text-muted)}.subtle{color:var(--text-subtle);font-size:12px}.nowrap{white-space:nowrap}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shell{display:grid;grid-template-columns:var(--sidebar-w) 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--navy);color:#dce3ee;display:flex;flex-direction:column;border-right:1px solid rgba(255,255,255,.04);z-index:40}.sidebar-brand{padding:18px 18px 14px;display:block;border-bottom:1px solid rgba(255,255,255,.07)}.sidebar-brand img{display:block;width:100%;max-width:210px;height:auto}.sidebar nav{flex:1;overflow-y:auto;padding:10px 10px 16px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.15) transparent}.nav-section{margin-top:14px}.nav-section-title{font-size:10.5px;letter-spacing:.09em;text-transform:uppercase;color:#8c9bb3;padding:6px 10px;font-weight:600}.nav-link{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;color:#d3dbe7;font-weight:500;font-size:13.5px;position:relative;transition:background .15s,color .15s}.nav-link:hover{background:#ffffff0f;color:#fff;text-decoration:none}.nav-link.active{background:#d4a64524;color:#fff}.nav-link.active:before{content:"";position:absolute;left:-10px;top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0;background:var(--gold)}.nav-link svg{flex:none;opacity:.9}.nav-badge{margin-left:auto;background:var(--gold);color:var(--navy);font-size:11px;font-weight:700;border-radius:999px;padding:0 7px;line-height:18px;min-width:20px;text-align:center}.sidebar-foot{padding:12px 18px;border-top:1px solid rgba(255,255,255,.07);font-size:11.5px;color:#8c9bb3}.main{min-width:0;display:flex;flex-direction:column}.topbar{position:sticky;top:0;z-index:30;height:var(--topbar-h);display:flex;align-items:center;gap:12px;padding:0 24px;background:#faf8f3eb;-webkit-backdrop-filter:saturate(1.4) blur(8px);backdrop-filter:saturate(1.4) blur(8px);border-bottom:1px solid var(--border)}.topbar-title{font-family:var(--font-display);font-weight:600;color:var(--text-strong);font-size:15px}.topbar-spacer{flex:1}.topbar .menu-toggle{display:none}.content{padding:24px;max-width:1440px;width:100%;margin:0 auto}.demo-banner{background:var(--gold-50);border-bottom:1px solid var(--gold-100);color:var(--gold-700);font-size:12.5px;font-weight:600;padding:6px 24px;display:flex;gap:8px;align-items:center}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}.page-header .eyebrow{font-size:11.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--gold-700);font-weight:700;margin-bottom:4px}.page-header p{color:var(--text-muted);margin-top:4px;max-width:70ch}.page-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.breadcrumb{font-size:12.5px;color:var(--text-muted);margin-bottom:6px;display:flex;gap:6px;align-items:center}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.card-header{display:flex;align-items:center;justify-content:space-between;gap:8px 12px;padding:14px 18px;border-bottom:1px solid var(--border);flex-wrap:wrap}.card-header h2{min-width:0;overflow-wrap:anywhere}.card-header h2{font-size:14.5px}.card-body{padding:16px 18px}.card-body.flush{padding:0}.card+.card{margin-top:16px}.grid{display:grid;gap:16px}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-main{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.stack{display:flex;flex-direction:column;gap:16px}.row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.row-between{display:flex;align-items:center;justify-content:space-between;gap:8px}.kpi{padding:16px 18px;display:flex;flex-direction:column;gap:6px;min-height:112px;position:relative}.kpi-label{font-size:12.5px;color:var(--text-muted);font-weight:600;display:flex;align-items:center;gap:6px}.kpi-value{font-family:var(--font-display);font-size:26px;font-weight:700;color:var(--text-strong);font-variant-numeric:tabular-nums;letter-spacing:-.02em;line-height:1.15}.kpi-value.small{font-size:20px}.kpi-foot{font-size:12px;color:var(--text-muted);display:flex;align-items:center;gap:6px;margin-top:auto}.kpi a.kpi-link{position:absolute;inset:0;border-radius:var(--radius-lg)}.trend{display:inline-flex;align-items:center;gap:2px;font-weight:700;font-size:12px;padding:1px 6px;border-radius:999px}.trend.up{color:var(--teal-700);background:var(--teal-50)}.trend.down{color:var(--danger);background:var(--danger-50)}.trend.flat{color:var(--text-muted);background:var(--navy-50)}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;padding:0 14px;border-radius:8px;border:1px solid transparent;font-weight:600;font-size:13.5px;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,color .15s,box-shadow .15s;text-decoration:none!important;-webkit-user-select:none;user-select:none}.btn:disabled,.btn[aria-disabled=true]{opacity:.55;cursor:not-allowed}.btn-primary{background:var(--navy);color:#fff}.btn-primary:hover:not(:disabled){background:var(--navy-800)}.btn-accent{background:var(--teal);color:#fff}.btn-accent:hover:not(:disabled){background:var(--teal-700)}.btn-gold{background:var(--gold);color:var(--navy)}.btn-gold:hover:not(:disabled){background:#c9993a}.btn-secondary{background:var(--surface);color:var(--text-strong);border-color:var(--border-strong)}.btn-secondary:hover:not(:disabled){background:var(--navy-50);border-color:#c5cedb}.btn-ghost{background:transparent;color:var(--text-strong)}.btn-ghost:hover:not(:disabled){background:var(--navy-50)}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover:not(:disabled){background:#9a1d14}.btn-sm{height:30px;padding:0 10px;font-size:12.5px;border-radius:7px}.btn-icon{width:36px;padding:0}.btn-icon.btn-sm{width:30px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}.form-grid .full{grid-column:1 / -1}.field{display:flex;flex-direction:column;gap:5px;min-width:0}.field label,.field .label{font-size:12.5px;font-weight:600;color:var(--text-strong)}.field .hint{font-size:12px;color:var(--text-muted)}.field .error{font-size:12px;color:var(--danger);font-weight:600}.req{color:var(--danger);margin-left:2px}.input,.select,.textarea{width:100%;height:38px;padding:0 11px;border:1px solid var(--border-strong);border-radius:8px;background:var(--surface);transition:border-color .15s,box-shadow .15s;color:var(--text)}.textarea{height:auto;min-height:84px;padding:9px 11px;resize:vertical}.select{appearance:none;padding-right:32px;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='%235A6577' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center}.input:hover,.select:hover,.textarea:hover{border-color:#bdb5a3}.input:focus,.select:focus,.textarea:focus{outline:none;border-color:var(--teal);box-shadow:0 0 0 3px #0f7d7729}.input[aria-invalid=true],.select[aria-invalid=true],.textarea[aria-invalid=true]{border-color:var(--danger)}.input:disabled,.select:disabled{background:var(--navy-50);color:var(--text-muted)}.checkbox{display:inline-flex;align-items:center;gap:8px;cursor:pointer;font-size:13.5px}.checkbox input{width:16px;height:16px;accent-color:var(--teal)}.chip-select{display:flex;flex-wrap:wrap;gap:6px}.chip-toggle{border:1px solid var(--border-strong);background:var(--surface);border-radius:999px;padding:4px 11px;font-size:12.5px;cursor:pointer;font-weight:500}.chip-toggle[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:#fff}.search-input{position:relative}.search-input svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--text-subtle);pointer-events:none}.search-input .input{padding-left:34px}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:12px 14px;border-bottom:1px solid var(--border)}.toolbar .search-input{flex:1 1 240px;max-width:360px}.toolbar .select{width:auto;min-width:150px;height:34px}.toolbar .input{height:34px}.tabs{display:flex;gap:2px;border-bottom:1px solid var(--border);margin-bottom:16px;overflow-x:auto;scrollbar-width:none}.tab{padding:10px 14px;font-weight:600;font-size:13.5px;color:var(--text-muted);background:none;border:0;border-bottom:2px solid transparent;cursor:pointer;white-space:nowrap;margin-bottom:-1px}.tab:hover{color:var(--text-strong)}.tab[aria-selected=true]{color:var(--text-strong);border-bottom-color:var(--gold)}.segmented{display:inline-flex;background:var(--navy-50);border-radius:9px;padding:3px;gap:2px}.segmented button{border:0;background:transparent;padding:5px 12px;border-radius:7px;font-weight:600;font-size:12.5px;color:var(--text-muted);cursor:pointer}.segmented button[aria-pressed=true]{background:var(--surface);color:var(--text-strong);box-shadow:var(--shadow-sm)}.table-wrap{overflow-x:auto}table.table{width:100%;border-collapse:separate;border-spacing:0;font-size:13.5px}.table th{text-align:left;font-weight:600;font-size:12px;color:var(--text-muted);text-transform:none;padding:10px 14px;border-bottom:1px solid var(--border);background:var(--surface-2);white-space:nowrap;position:sticky;top:0}.table td{padding:11px 14px;border-bottom:1px solid #F0ECE2;vertical-align:middle}.table tbody tr:last-child td{border-bottom:0}.table tbody tr.clickable{cursor:pointer}.table tbody tr.clickable:hover td{background:var(--navy-50)}.table td.right,.table th.right{text-align:right}.table .cell-title{font-weight:600;color:var(--text-strong)}.table .cell-sub{font-size:12px;color:var(--text-muted)}.sort-btn{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:4px}.pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;border-top:1px solid var(--border);font-size:12.5px;color:var(--text-muted)}.badge{display:inline-flex;align-items:center;gap:5px;height:22px;padding:0 9px;border-radius:999px;font-size:11.5px;font-weight:700;white-space:nowrap;border:1px solid transparent}.badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.8}.badge.plain:before{display:none}.badge-neutral{background:var(--navy-50);color:var(--navy-700);border-color:var(--navy-100)}.badge-info{background:var(--info-50);color:var(--info);border-color:var(--navy-100)}.badge-success{background:var(--success-50);color:var(--success);border-color:var(--teal-100)}.badge-warning{background:var(--warning-50);color:var(--warning);border-color:var(--gold-100)}.badge-danger{background:var(--danger-50);color:var(--danger);border-color:#f7d3d0}.badge-gold{background:var(--gold-100);color:var(--gold-700);border-color:#efd9a8}.badge-navy{background:var(--navy);color:#fff}.tag{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:6px;font-size:11.5px;font-weight:600;background:var(--navy-50);color:var(--navy-700)}.priority-urgent{color:var(--danger)}.priority-high{color:var(--gold-700)}.avatar{width:32px;height:32px;border-radius:50%;background:var(--navy-100);color:var(--navy);display:inline-flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;font-family:var(--font-display);flex:none}.avatar.lg{width:52px;height:52px;font-size:17px}.avatar.gold{background:var(--gold-100);color:var(--gold-700)}.list{list-style:none;margin:0;padding:0}.list-item{display:flex;align-items:center;gap:12px;padding:11px 18px;border-bottom:1px solid #F0ECE2}.list-item:last-child{border-bottom:0}.list-item a.stretch{color:inherit}.timeline{list-style:none;margin:0;padding:0;position:relative}.timeline li{position:relative;padding:0 0 16px 26px}.timeline li:before{content:"";position:absolute;left:6px;top:6px;bottom:-6px;width:1.5px;background:var(--border)}.timeline li:last-child:before{display:none}.timeline .dot{position:absolute;left:0;top:3px;width:14px;height:14px;border-radius:50%;background:var(--surface);border:2px solid var(--teal)}.timeline .dot.gold{border-color:var(--gold)}.timeline .dot.navy{border-color:var(--navy)}.timeline .when{font-size:11.5px;color:var(--text-subtle)}.dl{display:grid;grid-template-columns:minmax(120px,38%) 1fr;gap:8px 14px;font-size:13.5px}.dl dt{color:var(--text-muted)}.dl dd{margin:0;color:var(--text);font-weight:500;overflow-wrap:anywhere}.callout{display:flex;gap:10px;padding:12px 14px;border-radius:var(--radius);border:1px solid;font-size:13.5px;align-items:flex-start}.callout svg{flex:none;margin-top:1px}.callout-info{background:var(--info-50);border-color:var(--navy-100);color:var(--info)}.callout-warning{background:var(--warning-50);border-color:var(--gold-100);color:var(--warning)}.callout-danger{background:var(--danger-50);border-color:#f7d3d0;color:var(--danger)}.callout-success{background:var(--success-50);border-color:var(--teal-100);color:var(--success)}.alert-row{display:flex;align-items:center;gap:12px;padding:11px 18px;border-bottom:1px solid #F0ECE2;color:inherit}.alert-row:hover{background:var(--navy-50);text-decoration:none}.alert-row:last-child{border-bottom:0}.sev{width:8px;height:8px;border-radius:50%;flex:none}.sev-high{background:var(--danger)}.sev-medium{background:var(--gold)}.sev-low{background:var(--teal)}.empty{text-align:center;padding:40px 20px;color:var(--text-muted)}.empty .empty-icon{width:46px;height:46px;border-radius:12px;background:var(--navy-50);color:var(--navy-700);display:inline-flex;align-items:center;justify-content:center;margin-bottom:10px}.empty h3{font-size:14.5px;margin-bottom:4px}.skeleton{background:linear-gradient(90deg,#f1eee6,#f8f6f0,#f1eee6);background-size:200% 100%;animation:shimmer 1.2s infinite linear;border-radius:6px}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media(prefers-reduced-motion:reduce){.skeleton{animation:none}*{transition:none!important}}.spinner{width:18px;height:18px;border:2px solid var(--navy-100);border-top-color:var(--teal);border-radius:50%;animation:spin .7s linear infinite;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.center-page{min-height:60vh;display:flex;align-items:center;justify-content:center}.overlay{position:fixed;inset:0;background:#0b25456b;z-index:80;display:flex;align-items:flex-start;justify-content:center;padding:6vh 16px;overflow-y:auto;animation:fade .15s ease-out}@keyframes fade{0%{opacity:0}}.dialog{background:var(--surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);width:100%;max-width:560px;animation:rise .18s ease-out}.dialog.wide{max-width:820px}.dialog.narrow{max-width:420px}@keyframes rise{0%{transform:translateY(8px);opacity:.6}}.dialog-header{padding:18px 20px 12px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.dialog-header p{color:var(--text-muted);margin-top:4px;font-size:13px}.dialog-body{padding:4px 20px 18px;max-height:70vh;overflow-y:auto}.dialog-footer{padding:14px 20px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:8px;background:var(--surface-2);border-radius:0 0 var(--radius-lg) var(--radius-lg)}.drawer-overlay{justify-content:flex-end;padding:0;align-items:stretch}.drawer{background:var(--surface);width:min(560px,100%);height:100vh;box-shadow:var(--shadow-lg);display:flex;flex-direction:column;animation:slide .2s ease-out}@keyframes slide{0%{transform:translate(24px);opacity:.6}}.drawer .dialog-body{max-height:none;flex:1}.toasts{position:fixed;right:18px;bottom:18px;z-index:120;display:flex;flex-direction:column;gap:8px;max-width:min(420px,calc(100vw - 36px))}.toast{background:var(--navy);color:#fff;padding:11px 14px;border-radius:10px;box-shadow:var(--shadow-lg);display:flex;gap:10px;align-items:flex-start;font-size:13.5px;animation:rise .18s ease-out}.toast.error{background:#7a1a12}.toast.success svg{color:#8fe0d9}.toast button{margin-left:auto;background:none;border:0;color:inherit;opacity:.7;cursor:pointer;padding:0}.kanban{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,1fr);gap:12px;overflow-x:auto;padding-bottom:8px}.kanban-col{background:#f3f0e7;border-radius:var(--radius-lg);padding:10px;display:flex;flex-direction:column;gap:8px;min-height:200px}.kanban-col header{display:flex;align-items:center;justify-content:space-between;padding:2px 4px 6px;font-weight:700;font-size:12.5px;color:var(--text-strong);font-family:var(--font-display)}.kanban-card{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:10px 12px;box-shadow:var(--shadow-sm);display:flex;flex-direction:column;gap:6px;cursor:pointer;text-align:left;width:100%}.kanban-card:hover{border-color:#c9c1ae}.kanban-col.won{background:var(--teal-50)}.kanban-col.lost{background:#f5f2ec;opacity:.85}.week{display:grid;grid-template-columns:56px repeat(6,minmax(120px,1fr));border-top:1px solid var(--border);overflow-x:auto}.week-head{position:sticky;top:0;background:var(--surface-2);border-bottom:1px solid var(--border);padding:8px 6px;font-size:12px;font-weight:700;text-align:center;color:var(--text-strong)}.week-head.today{color:var(--teal-700)}.week-hour{font-size:11px;color:var(--text-subtle);text-align:right;padding:2px 6px 0 0;border-right:1px solid var(--border);height:52px}.week-cell{border-right:1px solid #F0ECE2;border-bottom:1px solid #F0ECE2;height:52px;position:relative}.week-day{position:relative}.appt{position:absolute;left:3px;right:3px;border-radius:7px;padding:4px 7px;font-size:11.5px;overflow:hidden;border-left:3px solid var(--teal);background:var(--teal-50);color:var(--teal-700);cursor:pointer;text-align:left;border-top:0;border-right:0;border-bottom:0}.appt.requested{border-left-color:var(--gold);background:var(--gold-50);color:var(--gold-700)}.appt.completed{border-left-color:var(--navy-700);background:var(--navy-50);color:var(--navy-700)}.appt.no_show,.appt.cancelled{border-left-color:var(--danger);background:var(--danger-50);color:var(--danger)}.appt strong{display:block;font-size:11.5px}.chart{width:100%;height:auto;display:block;overflow:visible}.chart text{font-family:var(--font-body);fill:var(--text-muted);font-size:11px}.legend{display:flex;flex-wrap:wrap;gap:12px;font-size:12px;color:var(--text-muted)}.legend span{display:inline-flex;align-items:center;gap:6px}.legend i{width:10px;height:10px;border-radius:3px;display:inline-block}.hbar{display:grid;grid-template-columns:minmax(90px,34%) 1fr auto;align-items:center;gap:10px;font-size:12.5px;padding:5px 0}.hbar-track{height:8px;background:var(--navy-50);border-radius:999px;overflow:hidden}.hbar-fill{height:100%;border-radius:999px;background:var(--navy)}.progress{height:6px;background:var(--navy-50);border-radius:999px;overflow:hidden}.progress>span{display:block;height:100%;background:var(--teal);border-radius:999px}.funnel-step{display:grid;grid-template-columns:130px 1fr 48px;gap:10px;align-items:center;font-size:12.5px;padding:4px 0}.funnel-bar{height:24px;border-radius:6px;background:var(--navy);min-width:3px}.login-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:var(--surface)}.login-visual{background:var(--navy);color:#dce3ee;padding:48px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-visual img.logo{width:min(420px,90%);height:auto}.login-visual h2{color:#fff;font-size:26px;line-height:1.3;max-width:22ch;font-weight:700}.login-visual .gold-rule{width:56px;height:3px;background:var(--gold);border-radius:2px;margin:18px 0}.login-visual ul{padding:0;margin:0;list-style:none;display:grid;gap:10px;font-size:14px}.login-visual li{display:flex;gap:10px;align-items:center}.login-visual li svg{color:var(--gold)}.login-form-wrap{display:flex;align-items:center;justify-content:center;padding:40px 24px}.login-card{width:100%;max-width:380px}.login-card h1{font-size:24px;margin-bottom:6px}.lang-switch{display:inline-flex;gap:2px;background:var(--navy-50);border-radius:8px;padding:3px}.lang-switch button{border:0;background:transparent;font-weight:700;font-size:12px;padding:4px 9px;border-radius:6px;cursor:pointer;color:var(--text-muted)}.lang-switch button[aria-pressed=true]{background:var(--surface);color:var(--text-strong);box-shadow:var(--shadow-sm)}.menu{position:relative}.menu-panel{position:absolute;right:0;top:calc(100% + 6px);background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow-lg);min-width:230px;padding:6px;z-index:60}.menu-panel .menu-item{display:flex;align-items:center;gap:9px;width:100%;padding:8px 10px;border-radius:8px;background:none;border:0;cursor:pointer;font-size:13.5px;color:var(--text);text-align:left}.menu-panel .menu-item:hover{background:var(--navy-50);text-decoration:none}.menu-panel hr{border:0;border-top:1px solid var(--border);margin:6px 0}.user-chip{display:flex;align-items:center;gap:9px;background:none;border:0;cursor:pointer;padding:4px 6px 4px 4px;border-radius:999px}.user-chip:hover{background:var(--navy-50)}.user-chip .who{text-align:left;line-height:1.2}.user-chip .who strong{display:block;font-size:13px;color:var(--text-strong)}.user-chip .who span{font-size:11.5px;color:var(--text-muted)}.profile-head{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.profile-head .meta{display:flex;gap:8px 16px;flex-wrap:wrap;color:var(--text-muted);font-size:13px;margin-top:4px}.stat-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));border-top:1px solid var(--border)}.stat-strip>div{padding:12px 18px;border-right:1px solid var(--border)}.stat-strip>div:last-child{border-right:0}.stat-strip .label{font-size:12px;color:var(--text-muted)}.stat-strip .value{font-family:var(--font-display);font-weight:700;font-size:17px;color:var(--text-strong);font-variant-numeric:tabular-nums}.att-options{display:inline-flex;gap:4px}.att-options button{border:1px solid var(--border-strong);background:var(--surface);border-radius:7px;padding:4px 9px;font-size:12px;font-weight:700;cursor:pointer;min-width:34px}.att-options button[aria-pressed=true].present{background:var(--teal);border-color:var(--teal);color:#fff}.att-options button[aria-pressed=true].late{background:var(--gold);border-color:var(--gold);color:var(--navy)}.att-options button[aria-pressed=true].absent{background:var(--danger);border-color:var(--danger);color:#fff}.att-options button[aria-pressed=true].excused{background:var(--navy-700);border-color:var(--navy-700);color:#fff}.receipt{max-width:720px;margin:0 auto;background:#fff;padding:36px;border:1px solid var(--border);border-radius:var(--radius-lg)}.receipt-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;border-bottom:2px solid var(--gold);padding-bottom:16px;margin-bottom:20px}.receipt-head img{width:240px;height:auto}@media print{.sidebar,.topbar,.demo-banner,.no-print,.toasts{display:none!important}.shell{display:block}.content{padding:0}body{background:#fff}.receipt{border:0}}@media(max-width:1200px){.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-main{grid-template-columns:minmax(0,1fr)}}@media(max-width:960px){.shell{grid-template-columns:1fr}.sidebar{position:fixed;left:0;top:0;bottom:0;width:var(--sidebar-w);transform:translate(-100%);transition:transform .2s ease;box-shadow:var(--shadow-lg)}.sidebar.open{transform:translate(0)}.sidebar-backdrop{position:fixed;inset:0;background:#0b254566;z-index:35}.topbar .menu-toggle{display:inline-flex}.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.login-page{grid-template-columns:1fr}.login-visual{padding:28px 24px}.login-visual h2,.login-visual ul{display:none}}@media(max-width:640px){.content{padding:16px}.topbar{padding:0 16px}.grid-2,.grid-3,.grid-4,.form-grid{grid-template-columns:minmax(0,1fr)}.segmented{flex-wrap:wrap}.page-actions{width:100%}.toolbar .select,.toolbar .search-input{flex:1 1 100%;max-width:none}.user-chip .who{display:none}.kpi-value{font-size:22px}.kpi{min-height:0}.page-header h1{font-size:19px}.table.responsive thead{display:none}.table.responsive tr{display:block;border-bottom:1px solid var(--border);padding:8px 0}.table.responsive td{display:flex;justify-content:space-between;gap:12px;border:0;padding:5px 14px;text-align:right}.table.responsive td:before{content:attr(data-label);color:var(--text-muted);font-weight:600;font-size:12px;text-align:left}.table.responsive td.right{text-align:right}.dl{grid-template-columns:1fr;gap:2px}.dl dd{margin-bottom:8px}.demo-banner{padding:6px 16px}}.pwa-tools{padding:.5rem 1rem;text-align:end}.pwa-tools p{margin:.25rem 0}
