@import"https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap";.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.stat-card{background:#fff;border-radius:16px;padding:18px 20px;box-shadow:var(--shadow-card);display:flex;flex-direction:column;gap:8px;min-width:0}.stat-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.stat-card-label{font-size:13px;font-weight:600;color:#64748b}.stat-card-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#e6f4f6;color:#1a7f8e;flex-shrink:0}.stat-card-value{font-size:clamp(22px,2.2vw,28px);font-weight:800;letter-spacing:-.5px;font-variant-numeric:tabular-nums;line-height:1.1;overflow-wrap:anywhere}.stat-card-foot{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:20px}.stat-card-hint{font-size:12px;color:#94a3b8}.tone-amber .stat-card-icon{background:#fef3c7;color:#b45309}.tone-indigo .stat-card-icon{background:#e0e7ff;color:#4338ca}.tone-pink .stat-card-icon{background:#fce7f3;color:#be185d}.tone-green .stat-card-icon{background:#dcfce7;color:#166534}.tone-red .stat-card-icon{background:#fee2e2;color:#b91c1c}.tone-slate .stat-card-icon{background:#eef2f6;color:#475569}.delta{display:inline-flex;align-items:center;gap:2px;font-size:12px;font-weight:700;padding:2px 8px;border-radius:99px;font-variant-numeric:tabular-nums}.delta.up{background:#dcfce7;color:#166534}.delta.down{background:#fee2e2;color:#991b1b}.delta.flat{background:#eef2f6;color:#64748b}.panel{background:#fff;border-radius:16px;padding:20px;box-shadow:var(--shadow-card);min-width:0}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}.panel-head h3{margin:0;font-size:16px;font-weight:800;letter-spacing:-.2px}.panel-head p{margin:4px 0 0;font-size:13px;color:#64748b}.analytics-page{gap:20px}.analytics-grid{display:grid;gap:20px}.analytics-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-grid.wide{grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}.analytics-range{margin:-4px 0 0}.analytics-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.analytics-toolbar-right{display:flex;align-items:center;gap:12px;margin-left:auto;flex-wrap:wrap}.analytics-dates{display:flex;gap:12px}.segmented{display:inline-flex;gap:2px;padding:4px;background:#e8edf3;border-radius:12px;flex-wrap:wrap}.segmented button{border:0;background:transparent;color:#475569;padding:8px 14px;border-radius:9px;font-weight:700;font-size:13px;cursor:pointer;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}.segmented button.active{background:#fff;color:#0f172a;box-shadow:0 1px 3px #0f172a1f}.segmented.small button{padding:6px 12px;font-size:12px}.date-field{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:#64748b}.date-field input{height:44px;border:1.5px solid #e2e8f0;background:#f8fafc;border-radius:12px;padding:0 12px;font-family:inherit;font-size:14px;color:#0f172a}.mini-progress{display:inline-block;vertical-align:middle;width:90px;height:8px;border-radius:99px;background:#eef2f6;overflow:hidden;margin-right:8px}.mini-progress div{height:100%;background:#1a7f8e;border-radius:99px}td small{display:block;font-size:11px;color:#94a3b8;margin-top:2px}td small.neg{color:#b91c1c;font-weight:700}.chart-empty{padding:36px 16px;text-align:center;color:#94a3b8;font-size:14px}.area-chart{position:relative}.area-chart svg{width:100%;display:block}.chart-grid{stroke:#eef2f6;stroke-width:1}.chart-cursor{stroke:#cbd5e1;stroke-width:1;stroke-dasharray:4 4}.chart-dot{position:absolute;width:12px;height:12px;border-radius:50%;border:2px solid #fff;transform:translate(-50%,-50%);pointer-events:none;box-shadow:0 1px 4px #0f172a4d}.chart-tip{position:absolute;top:4px;transform:translate(-50%);background:#0f172a;color:#fff;padding:8px 10px;border-radius:10px;font-size:12px;display:flex;flex-direction:column;gap:2px;pointer-events:none;white-space:nowrap;z-index:2}.chart-tip strong{font-size:12px}.chart-tip span{color:#cbd5e1}.chart-axis{display:flex;justify-content:space-between;margin-top:8px;font-size:12px;color:#94a3b8}.column-chart{display:flex;align-items:stretch;gap:3px}.column-chart-col{flex:1;display:flex;flex-direction:column;min-width:0}.column-chart-bar-wrap{flex:1;display:flex;align-items:flex-end}.column-chart-bar{width:100%;border-radius:4px 4px 0 0;transition:height .4s cubic-bezier(.23,1,.32,1)}.column-chart-col span{height:16px;font-size:10px;color:#94a3b8;text-align:center;margin-top:4px;white-space:nowrap}.bar-list{display:flex;flex-direction:column;gap:14px}.bar-list-head{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:6px}.bar-list-label{font-weight:700;color:#334155}.bar-list-value{font-weight:800;font-variant-numeric:tabular-nums}.bar-list-value em{font-style:normal;font-weight:600;color:#94a3b8;margin-left:8px}.bar-list-track{height:8px;border-radius:99px;background:#eef2f6;overflow:hidden}.bar-list-fill{height:100%;border-radius:99px;transition:width .5s cubic-bezier(.23,1,.32,1)}.donut{display:flex;align-items:center;gap:24px;flex-wrap:wrap}.donut-chart{position:relative;width:150px;height:150px;flex-shrink:0}.donut-chart svg{width:100%;height:100%}.donut-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.donut-center strong{font-size:24px;font-weight:800}.donut-center span{font-size:12px;color:#94a3b8}.donut-legend{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px;flex:1;min-width:180px}.donut-legend li{display:grid;grid-template-columns:10px 1fr auto 40px;gap:8px;align-items:center;font-size:13px}.donut-legend i{width:10px;height:10px;border-radius:3px}.donut-legend strong{font-variant-numeric:tabular-nums}.donut-legend em{font-style:normal;color:#94a3b8;text-align:right}.progress-ring{position:relative;flex-shrink:0}.progress-ring svg{width:100%;height:100%}.progress-ring span{position:absolute;inset:0;display:grid;place-items:center;font-weight:800;font-size:16px}.rank-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.rank-list li{display:grid;grid-template-columns:28px 1fr auto auto;gap:12px;align-items:center;font-size:14px}.rank-list .rank{width:24px;height:24px;border-radius:8px;background:#e6f4f6;color:#1a7f8e;display:grid;place-items:center;font-weight:800;font-size:12px}.rank-list em{font-style:normal;color:#94a3b8;font-size:12px}.rank-list strong{font-variant-numeric:tabular-nums}.health-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.health-grid div{background:#f8fafc;border-radius:12px;padding:14px;display:flex;flex-direction:column;gap:2px}.health-grid strong{font-size:24px;font-weight:800}.health-grid span{font-size:12px;color:#64748b}.health-grid .bad{background:#fee2e2}.health-grid .bad strong{color:#b91c1c}.hero-card{background:linear-gradient(135deg,#0f4c57,#1a7f8e);color:#fff;border-radius:20px;padding:clamp(20px,3vw,32px);display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:24px;align-items:stretch}.hero-eyebrow{margin:0;font-size:13px;font-weight:600;opacity:.8}.hero-card h2{margin:6px 0 4px;font-size:clamp(22px,3vw,30px);font-weight:800;letter-spacing:-.5px}.hero-sub{margin:0 0 20px;opacity:.85;font-size:14px}.hero-numbers{display:flex;gap:clamp(16px,3vw,36px);flex-wrap:wrap}.hero-numbers div{display:flex;flex-direction:column;gap:4px;align-items:flex-start}.hero-numbers span{font-size:12px;opacity:.8;font-weight:600}.hero-numbers strong{font-size:clamp(24px,3vw,34px);font-weight:800;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.hero-numbers small{opacity:.75;font-size:11px}.hero-numbers .delta{background:#ffffff2e;color:#fff}.hero-actions{display:flex}.hero-settle{width:100%;background:#ffffff1f;border:1px solid rgba(255,255,255,.22);border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:10px;justify-content:center}.hero-settle-top{display:flex;align-items:center;gap:8px}.hero-settle span{font-size:13px;opacity:.9}.hero-settle .btn.primary{background:#fff;color:#0f4c57;box-shadow:none}.hero-settle .btn.primary:hover{background:#f1f5f9;transform:none}.hero-settle.locked,.hero-settle.mismatch{background:#dc26264d;border-color:#fecaca80}.hero-link{background:none;border:0;color:#fff;opacity:.85;text-decoration:underline;cursor:pointer;font-family:inherit;font-size:12px;padding:0;text-align:left}.coverage-card{display:flex;align-items:center;gap:18px;margin-bottom:18px}.coverage-card strong{display:block;font-size:18px}.coverage-card span{display:block;font-size:13px;color:#64748b}.coverage-card small{font-size:12px;color:#94a3b8}.quick-actions{display:flex;flex-wrap:wrap;gap:8px}.quick-actions .btn{min-height:38px;padding:6px 14px}.activity-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px}.activity-list li{display:flex;gap:12px;align-items:flex-start}.activity-list i{width:8px;height:8px;border-radius:50%;background:#1a7f8e;margin-top:7px;flex-shrink:0}.activity-list p{margin:0;font-size:13px;font-weight:600;overflow-wrap:anywhere}.activity-list span{font-size:12px;color:#94a3b8}.settle-badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:99px;font-size:12px;font-weight:700;white-space:nowrap}.settle-badge.settled{background:#dcfce7;color:#166534}.settle-badge.resolved{background:#d1fae5;color:#047857}.settle-badge.mismatch{background:#fee2e2;color:#991b1b}.settle-badge.overdue{background:#ffedd5;color:#c2410c}.settle-badge.open{background:#e0f2fe;color:#0369a1}.settle-drift{color:#b45309!important;font-weight:700}.settle-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca;border-radius:12px;padding:12px 14px;font-size:14px;font-weight:600}.settle-btn{display:inline-flex;align-items:center;gap:8px;border:0;border-radius:12px;padding:0 14px;height:44px;font-family:inherit;font-weight:700;font-size:14px;cursor:pointer;transition:transform .15s cubic-bezier(.23,1,.32,1),background-color .15s ease,color .15s ease;-webkit-tap-highlight-color:transparent}.settle-btn:active{transform:scale(.96)}.settle-btn.neutral{background:#eef2f6;color:#475569}.settle-btn.active{background:#1a7f8e;color:#fff}.settle-btn.done{background:#dcfce7;color:#166534}.settle-btn.danger{background:#fee2e2;color:#991b1b}.settle-btn.pulse,.settle-pulse{position:relative;animation:settlePulse 2.4s ease-out 6}@keyframes settlePulse{0%{box-shadow:0 0 #1a7f8e8c}70%{box-shadow:0 0 0 12px #1a7f8e00}to{box-shadow:0 0 #1a7f8e00}}.settle-banner{display:flex;align-items:center;gap:12px;padding:12px var(--page-pad);background:#fef2f2;border-bottom:1px solid #fecaca;border-left:4px solid #dc2626;color:#991b1b}.settle-banner>div{flex:1;min-width:0}.settle-banner p{margin:0;font-weight:800;font-size:14px}.settle-banner span{font-size:12px;color:#b91c1c}.settle-banner .btn{min-height:38px;padding:6px 16px;background:#fff;color:#991b1b}.settle-popup{position:fixed;right:20px;bottom:20px;z-index:1050;width:min(340px,calc(100vw - 32px));background:#fff;border-radius:16px;padding:16px 16px 16px 14px;box-shadow:0 0 0 1px #0f172a0f,0 20px 40px -12px #0f172a4d;display:flex;gap:12px;animation:popIn .28s cubic-bezier(.23,1,.32,1)}@keyframes popIn{0%{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}.settle-popup-icon{width:40px;height:40px;border-radius:12px;background:#e6f4f6;color:#1a7f8e;display:grid;place-items:center;flex-shrink:0}.settle-popup-body{display:flex;flex-direction:column;gap:4px;min-width:0}.settle-popup-body strong{font-size:15px}.settle-popup-body span{font-size:13px;color:#64748b;margin-bottom:8px}.settle-popup-body .btn{min-height:42px;padding:8px 14px}.settle-popup-close{position:absolute;top:8px;right:8px;border:0;background:transparent;color:#94a3b8;width:28px;height:28px;border-radius:8px;cursor:pointer;display:grid;place-items:center}.settle-popup-close:hover{background:#f1f5f9;color:#475569}.settle-overlay{position:fixed;inset:0;z-index:1100;background:#0f172a73;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:12px;animation:overlayIn .2s ease-out}.settle-modal{width:min(760px,100%);max-height:min(92vh,900px);background:#fff;border-radius:20px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 30px 60px -20px #0f172a73;animation:riseIn .28s cubic-bezier(.23,1,.32,1)}.settle-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 24px 12px}.settle-head h2{margin:0;font-size:20px;font-weight:800;letter-spacing:-.3px}.settle-head p{margin:4px 0 0;color:#64748b;font-size:14px}.settle-close{border:0;background:#f1f5f9;width:38px;height:38px;border-radius:12px;cursor:pointer;display:grid;place-items:center;color:#475569}.settle-close:hover{background:#e2e8f0}.settle-dates{display:flex;gap:8px;padding:0 24px 8px;overflow-x:auto}.settle-dates button{position:relative;border:1.5px solid #e2e8f0;background:#fff;border-radius:10px;padding:6px 12px;font-family:inherit;font-weight:700;font-size:13px;cursor:pointer;white-space:nowrap;color:#475569}.settle-dates button.active{border-color:#1a7f8e;background:#e6f4f6;color:#0f4c57}.settle-dates i{position:absolute;top:-3px;right:-3px;width:9px;height:9px;border-radius:50%;background:#dc2626;border:2px solid #fff}.settle-body{padding:8px 24px 20px;overflow-y:auto;display:flex;flex-direction:column;gap:16px}.settle-loading{display:grid;gap:12px}.settle-hint{margin:0;color:#64748b;font-size:14px}.settle-quote{margin:0;font-style:italic;color:#475569;font-size:14px}.settle-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.settle-card{background:#f8fafc;border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:2px}.settle-card span{font-size:12px;font-weight:700;color:#64748b}.settle-card strong{font-size:26px;font-weight:800;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.settle-card em{font-style:normal;font-size:12px;color:#94a3b8}.settle-card.highlight{background:#e6f4f6}.settle-card.highlight strong{color:#0f4c57}.settle-split{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settle-split h4{margin:0 0 8px;font-size:13px;color:#64748b;text-transform:uppercase;letter-spacing:.5px}.settle-line{display:grid;grid-template-columns:1fr auto auto;gap:10px;padding:8px 0;border-top:1px solid #f1f5f9;font-size:14px;align-items:baseline}.settle-line em{font-style:normal;font-size:12px;color:#94a3b8}.settle-line strong{font-variant-numeric:tabular-nums}.settle-note{display:flex;gap:12px;align-items:flex-start;border-radius:14px;padding:12px 14px}.settle-note>div{display:flex;flex-direction:column;gap:2px;min-width:0}.settle-note strong{font-size:14px}.settle-note span{font-size:13px;overflow-wrap:anywhere}.settle-note.ok{background:#ecfdf5;color:#065f46}.settle-note.warn{background:#fffbeb;color:#92400e}.settle-note.bad{background:#fef2f2;color:#991b1b}.settle-compare{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.settle-compare div{background:#f8fafc;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:2px}.settle-compare span{font-size:12px;font-weight:700;color:#64748b}.settle-compare strong{font-size:20px;font-weight:800}.settle-compare em{font-style:normal;font-size:13px;color:#475569}.settle-compare .diff{background:#fee2e2}.settle-compare .diff strong,.settle-compare .diff em{color:#991b1b}.settle-toggle{align-self:flex-start;background:none;border:0;color:#1a7f8e;font-family:inherit;font-weight:700;font-size:14px;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:4px 0}.settle-bills{max-height:260px;overflow:auto;border:1px solid #e2e8f0;border-radius:12px}.settle-bills table{min-width:560px;font-size:13px}.settle-bills th{padding:10px 12px;position:sticky;top:0}.settle-bills td{padding:10px 12px}.settle-bills tr.cancelled td{color:#94a3b8;text-decoration:line-through}.settle-history{font-size:13px}.settle-history summary{cursor:pointer;font-weight:700;color:#475569}.settle-history ul{list-style:none;padding:8px 0 0;margin:0;display:flex;flex-direction:column;gap:10px}.settle-history li{display:flex;flex-direction:column;gap:1px;padding-left:12px;border-left:2px solid #e2e8f0}.settle-history li span{color:#64748b}.settle-form{background:#f8fafc;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:12px}.settle-form h4{margin:0;font-size:15px}.settle-form label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700;color:#475569}.settle-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.settle-diff{border-radius:10px;padding:10px 12px;font-size:14px;font-weight:700}.settle-diff.ok{background:#dcfce7;color:#166534}.settle-diff.bad{background:#fee2e2;color:#991b1b}.settle-foot{display:flex;justify-content:flex-end;gap:12px;padding:14px 24px;border-top:1px solid #eef2f6;background:#fff;flex-wrap:wrap}.settle-foot .btn{min-width:150px}.settle-done{text-align:center;padding:24px 12px;display:flex;flex-direction:column;align-items:center;gap:10px}.settle-done h3{margin:0;font-size:22px}.settle-done p{margin:0 0 8px;color:#64748b;max-width:360px}.settle-done-icon{width:84px;height:84px;display:grid;place-items:center}.settle-done.ok .settle-done-icon svg{width:84px;height:84px;stroke:#16a34a}.settle-done.ok .settle-done-icon circle{stroke-dasharray:151;stroke-dashoffset:151;animation:drawStroke .5s cubic-bezier(.23,1,.32,1) forwards}.settle-done.ok .settle-done-icon path{stroke-dasharray:40;stroke-dashoffset:40;animation:drawStroke .35s .35s cubic-bezier(.23,1,.32,1) forwards}.settle-done.warn .settle-done-icon{color:#d97706}@keyframes drawStroke{to{stroke-dashoffset:0}}@media(max-width:960px){.analytics-grid.two,.analytics-grid.wide,.hero-card{grid-template-columns:minmax(0,1fr)}}@media(max-width:640px){.settle-modal{max-height:96vh;border-radius:16px}.settle-head,.settle-body,.settle-foot,.settle-dates{padding-left:16px;padding-right:16px}.settle-split,.settle-form-grid,.settle-compare{grid-template-columns:1fr}.settle-foot .btn{flex:1;min-width:0}.settle-btn span{display:none}.settle-popup{right:12px;bottom:12px}.settle-banner{flex-wrap:wrap}.analytics-toolbar-right{margin-left:0}.health-grid{grid-template-columns:1fr}.rank-list li{grid-template-columns:28px 1fr auto}.rank-list em{display:none}}@media(prefers-reduced-motion:reduce){.settle-pulse,.settle-btn.pulse{animation:none}.settle-popup,.settle-modal{animation:overlayIn .15s ease-out}.settle-done.ok .settle-done-icon circle,.settle-done.ok .settle-done-icon path{animation:none;stroke-dashoffset:0}.bar-list-fill,.column-chart-bar{transition:none}}.settle-head,.settle-dates,.settle-foot{flex-shrink:0}.settle-dates{padding-top:6px}.settle-body{min-height:0;flex:1 1 auto}.settle-body>*{flex-shrink:0}.settle-cards{align-items:start}.analytics-toolbar-right{flex-wrap:nowrap}.analytics-toolbar-right .select-wrap{min-width:170px}@media(max-width:640px){.analytics-toolbar-right{flex-wrap:wrap}}.ledger-legend{margin:0 0 0 auto;font-size:13px;color:#64748b}.ledger-legend b{color:#0f172a}.ledger-actions{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap}.ledger-actions h2{margin:0;font-size:22px;font-weight:800;letter-spacing:-.3px}.ledger-actions p{margin:4px 0 0}.ledger-buttons{display:flex;gap:8px;flex-wrap:wrap}.ledger-buttons .btn{min-height:40px;padding:8px 14px}.ledger-table th.num,.ledger-table td.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.ledger-table tr.clickable{cursor:pointer}.ledger-balance{font-weight:800;font-variant-numeric:tabular-nums}.ledger-balance.dr{color:#b45309}.ledger-balance.cr{color:#047857}.ledger-balance.zero{color:#64748b}.ledger-balance.big{font-size:18px}.statement td{vertical-align:top}.statement tr.brought td,.statement tr.totals td{background:#f8fafc}.statement tr.closing td{background:#0f4c57;color:#fff;border-top:2px solid #0f172a}.statement tr.closing .ledger-balance{color:#fff}.statement tr.voided td{color:#94a3b8}.statement tr.voided td:nth-child(2){text-decoration:line-through}.statement tr.kind-payment td:nth-child(5){color:#047857;font-weight:700}.statement tr.kind-sale td:nth-child(4){font-weight:600}.statement .settle-badge{margin-left:8px;font-size:11px;padding:2px 8px;text-transform:capitalize}.void-tag{margin-left:8px;font-size:10px;font-weight:800;padding:2px 6px;border-radius:6px;background:#fee2e2;color:#991b1b}.link-btn{background:none;border:0;padding:4px 6px;font-family:inherit;font-weight:700;font-size:12px;color:#1a7f8e;cursor:pointer}.link-btn.danger{color:#b91c1c}.link-btn:hover{text-decoration:underline}.balance-sheet{display:grid;grid-template-columns:1fr 1fr;gap:24px}.balance-sheet h4{margin:0 0 8px;font-size:12px;text-transform:uppercase;letter-spacing:.6px;color:#64748b}.bs-line{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #f1f5f9;font-size:14px}.bs-line strong{font-variant-numeric:tabular-nums}.bs-line.muted{color:#94a3b8}.bs-total{display:flex;justify-content:space-between;gap:12px;padding:10px 0 0;margin-top:4px;border-top:2px solid #0f172a;font-weight:800;font-size:15px}.bs-net{display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding:14px 16px;border-radius:12px;background:#e6f4f6;color:#0f4c57;font-weight:800}.bs-net strong{font-size:20px;font-variant-numeric:tabular-nums}.bs-movement .bs-total{border-top-width:2px}@media(max-width:960px){.balance-sheet{grid-template-columns:1fr}.ledger-legend{margin-left:0}}@media(max-width:640px){.ledger-buttons .btn{flex:1 1 calc(50% - 8px);min-width:0}}.ledger-table.statement{min-width:860px}.ledger-table.statement th:last-child{width:1%}.ledger-table.statement td:nth-child(1){white-space:nowrap}.ledger-table.statement td:nth-child(2){min-width:280px}.ledger-table.statement td:nth-child(3){white-space:nowrap;color:#64748b;font-size:13px}.ledger-table.statement td:last-child{white-space:nowrap;width:1%}.ledger-table.statement td small{display:block;margin-top:2px}.account-actions{display:flex;gap:8px;margin-left:auto;flex-wrap:wrap}.account-actions .btn{min-height:38px;padding:6px 14px}.account-note{display:flex;align-items:center;gap:12px;background:#fffbeb;color:#78350f;border:1px solid #fde68a;border-radius:14px;padding:12px 16px;font-size:14px}.account-note>svg{color:#d97706;flex-shrink:0}.account-page .ledger-table td small{display:block;font-size:11.5px;color:#94a3b8;margin-top:2px}.account-page .ledger-table td.muted{color:#64748b}.account-payments{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.account-payments li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #eef2f6}.account-payments li:last-child{border-bottom:0}.account-payments strong{display:block;font-size:16px;font-variant-numeric:tabular-nums;color:#15803d}.account-payments small{color:#64748b;font-size:12.5px}.account-payments span{font-size:12px;font-weight:700;color:#64748b;background:#f1f5f9;border-radius:99px;padding:3px 10px}.account-snapshot{background:#fff;border-radius:16px;box-shadow:var(--shadow-card);padding:16px 20px;display:grid;grid-template-columns:1.4fr 1fr 1fr auto;gap:20px;align-items:center}.account-snapshot>div{display:flex;flex-direction:column;gap:2px;min-width:0}.account-snapshot span{font-size:12.5px;font-weight:700;color:#64748b}.account-snapshot strong{font-size:24px;letter-spacing:-.5px;font-variant-numeric:tabular-nums;color:#0f172a}.account-snapshot small{font-size:12px;color:#94a3b8}.account-snap-main strong{font-size:30px;color:#0f4c57}.account-snapshot .btn{min-height:40px;padding:6px 14px;white-space:nowrap}@media(max-width:820px){.account-snapshot{grid-template-columns:1fr 1fr}.account-snap-main,.account-snapshot .btn{grid-column:1 / -1}}.margin-split{display:flex;align-items:stretch;gap:14px;flex-wrap:wrap}.margin-split>div{flex:1 1 180px;background:#f8fafc;border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:3px}.margin-split>i{align-self:center;font-style:normal;font-size:22px;font-weight:800;color:#94a3b8}.margin-split span{font-size:12.5px;font-weight:700;color:#64748b}.margin-split strong{font-size:24px;font-variant-numeric:tabular-nums;letter-spacing:-.5px;color:#0f172a}.margin-split small{font-size:12px;color:#94a3b8}.margin-split .b2b{background:#e6f4f6}.margin-split .b2b strong{color:#0f4c57}.margin-split .keep{background:#ecfdf5}.margin-split .keep strong{color:#15803d}.margin-warn{margin:12px 0 0;color:#92400e;background:#fffbeb;border-radius:10px;padding:8px 12px;font-size:13px;font-weight:600}.ledger-table td.muted{color:#64748b}@media(max-width:640px){.margin-split>i{display:none}}.shine-card{--shine-a: #0f4c57;--shine-b: #1a7f8e;position:relative;overflow:hidden;isolation:isolate;border-radius:18px;padding:18px 20px;color:#fff;background:linear-gradient(135deg,var(--shine-a) 0%,var(--shine-b) 100%);box-shadow:0 14px 32px -16px var(--shine-a),0 0 0 1px #ffffff14 inset}.shine-indigo{--shine-a: #312e81;--shine-b: #4f46e5}.shine-amber{--shine-a: #92400e;--shine-b: #d97706}.shine-emerald{--shine-a: #065f46;--shine-b: #10b981}.shine-rose{--shine-a: #9f1239;--shine-b: #e11d48}.shine-card:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(120% 100% at 100% 0%,rgba(255,255,255,.24),transparent 55%),radial-gradient(80% 90% at 0% 100%,rgba(255,255,255,.1),transparent 60%)}.shine-card:after{content:"";position:absolute;top:-20%;bottom:-20%;left:0;width:36%;z-index:-1;pointer-events:none;background:linear-gradient(100deg,transparent,rgba(255,255,255,.3),transparent);transform:translate(-160%) skew(-18deg);animation:shineSweep 8s ease-in-out infinite}@keyframes shineSweep{0%,60%{transform:translate(-160%) skew(-18deg)}to{transform:translate(420%) skew(-18deg)}}.shine-head{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.shine-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;background:#ffffff2e;box-shadow:0 0 0 1px #fff3 inset;flex-shrink:0}.shine-text{flex:1;min-width:200px}.shine-eyebrow{margin:0 0 2px;font-size:11px;font-weight:800;letter-spacing:1px;text-transform:uppercase;opacity:.8}.shine-text h3{margin:0;font-size:18px;font-weight:800;letter-spacing:-.3px;line-height:1.25}.shine-sub{margin:4px 0 0;font-size:13px;opacity:.88}.shine-action{display:flex;gap:8px;flex-wrap:wrap}.shine-action .btn{background:#fff;color:#0f172a;box-shadow:none;min-height:40px;padding:8px 16px}.shine-action .btn:hover{background:#f1f5f9;transform:none}.shine-action .btn.ghost{background:#ffffff29;color:#fff}.shine-body{margin-top:14px;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.shine-stat{background:#ffffff21;border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:1px;min-width:0;box-shadow:0 0 0 1px #ffffff1f inset}.shine-stat span{font-size:11.5px;font-weight:700;opacity:.85}.shine-stat strong{font-size:19px;font-weight:800;letter-spacing:-.3px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.shine-stat em{font-style:normal;font-size:11.5px;opacity:.8}.sidebar-shine{position:relative;overflow:hidden;isolation:isolate;margin:2px 0 4px;padding:11px 12px;border-radius:14px;color:#fff;text-align:left;border:0;font-family:inherit;cursor:pointer;background:linear-gradient(135deg,#0f4c57,#1a7f8e);box-shadow:0 10px 24px -14px #1a7f8ee6,0 0 0 1px #ffffff1a inset;display:flex;flex-direction:column;gap:2px;transition:transform .15s cubic-bezier(.23,1,.32,1)}.sidebar-shine:active{transform:scale(.98)}.sidebar-shine:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(120% 100% at 100% 0%,rgba(255,255,255,.28),transparent 55%)}.sidebar-shine:after{content:"";position:absolute;top:-20%;bottom:-20%;left:0;width:40%;z-index:-1;pointer-events:none;background:linear-gradient(100deg,transparent,rgba(255,255,255,.34),transparent);transform:translate(-160%) skew(-18deg);animation:shineSweep 7s ease-in-out infinite}.sidebar-shine small{font-size:10px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;opacity:.85}.sidebar-shine strong{font-size:20px;font-weight:800;letter-spacing:-.4px;font-variant-numeric:tabular-nums;line-height:1.2}.sidebar-shine span{font-size:11.5px;opacity:.9;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.sidebar-shine .pill{background:#fff3;border-radius:99px;padding:1px 8px;font-weight:700}.sidebar-shine .pill.warn{background:#fbbf24e6;color:#451a03}.sidebar-shine .pill.bad{background:#fecacaf2;color:#7f1d1d}.sidebar-shine .pill.good{background:#bbf7d0f2;color:#14532d}.sidebar.collapsed .sidebar-shine{display:none}@media(prefers-reduced-motion:reduce){.shine-card:after,.sidebar-shine:after{animation:none;display:none}}@media(max-width:640px){.shine-text h3{font-size:16px}.shine-body{grid-template-columns:repeat(2,minmax(0,1fr))}}.bv-overlay{z-index:1200}.bv-modal{width:min(640px,100%);position:relative}.bv-head-right{display:flex;align-items:center;gap:10px}.bv-student{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px 18px;background:#f8fafc;border:1px solid #e5edf5;border-radius:14px;padding:14px 16px}.bv-student div{display:flex;flex-direction:column;gap:2px;min-width:0}.bv-student span{font-size:12.5px;font-weight:700;color:#475569}.bv-student strong{font-size:15px;font-weight:700;color:#0f172a;overflow-wrap:anywhere}.bv-items{box-shadow:none;border:1px solid #eef2f6}.bv-items table{min-width:0;font-size:14px}.bv-items td small{display:block;font-size:12px;color:#64748b;text-transform:capitalize}.bv-items th.num,.bv-items td.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.bv-totals{display:flex;flex-direction:column;gap:6px;align-items:flex-end}.bv-totals>div{display:flex;justify-content:space-between;gap:32px;min-width:220px;font-size:14px;color:#475569}.bv-totals .grand{border-top:2px solid #0f172a;padding-top:8px;margin-top:2px;font-size:18px;color:#0f172a}.bv-totals .grand strong{color:#0f4c57;font-weight:800}.bv-timeline{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.bv-timeline li{display:flex;gap:12px;align-items:flex-start}.bv-timeline i{width:12px;height:12px;border-radius:50%;border:2px solid #cbd5e1;background:#fff;margin-top:4px;flex-shrink:0}.bv-timeline i.on{background:#1a7f8e;border-color:#1a7f8e}.bv-timeline i.good{background:#16a34a;border-color:#16a34a}.bv-timeline i.bad{background:#dc2626;border-color:#dc2626}.bv-timeline strong{display:block;font-size:14px}.bv-timeline span{font-size:12.5px;color:#64748b}.sd-invoices{background:#f8fafc;border:1px solid #e5edf5;border-radius:14px;padding:12px;display:flex;flex-direction:column;gap:10px}.sd-invoices-head{display:flex;justify-content:space-between;align-items:baseline;padding:0 4px}.sd-invoices-head span{font-size:13px;font-weight:700;color:#475569}.sd-invoices-head strong{font-size:18px;font-weight:800;color:#0f4c57;font-variant-numeric:tabular-nums}.sd-invoice{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:start}.sd-invoice-main{min-width:0}.sd-invoice-main strong{display:block;font-size:14px;color:#0f6f7d}.sd-invoice-main span{display:block;font-size:13px;color:#475569;line-height:1.35;margin-top:2px;overflow-wrap:anywhere}.sd-invoice-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.sd-invoice-amount{font-size:17px;font-weight:800;color:#0f172a;font-variant-numeric:tabular-nums}.sd-invoice-side .badge{padding:2px 10px;font-size:11px}.sd-invoice-actions{grid-column:1 / -1;display:flex;gap:8px}.sd-viewbtn{flex:1;min-height:36px;border:1.5px solid #1a7f8e;background:#fff;color:#0f6f7d;border-radius:10px;font-family:inherit;font-weight:700;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;transition:background-color .15s ease,transform .12s ease}.sd-viewbtn:hover{background:#f0f9fa}.sd-viewbtn:active{transform:scale(.97)}@media(max-width:640px){.bv-totals>div{min-width:0;width:100%}}.app .sidebar{width:clamp(188px,13.5vw,216px);padding:12px 10px;gap:10px;transition:width .22s cubic-bezier(.23,1,.32,1)}.app .sidebar-brand{padding:4px 6px 8px;gap:10px;font-size:15px;letter-spacing:.2px;min-height:44px;border-bottom:1px solid rgba(255,255,255,.06);margin-bottom:2px}.sidebar-brand>span{flex:1;line-height:1.15;text-transform:uppercase;font-size:14px}.sidebar-toggle{border:0;background:#ffffff0f;color:#94a3b8;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;cursor:pointer;flex-shrink:0;transition:background-color .15s ease,color .15s ease}.sidebar-toggle:hover{background:#ffffff1f;color:#fff}.app .nav{gap:2px}.app .nav button{min-height:38px;padding:0 10px;gap:10px;font-size:13.5px;border-radius:10px;white-space:nowrap}.app .nav button svg{flex-shrink:0}.app .nav button.active{box-shadow:0 4px 12px #1a7f8e40}.app .sidebar-footer{gap:6px;padding-top:8px;border-top:1px solid rgba(255,255,255,.06)}.sidebar-user{display:flex;align-items:center;gap:10px;padding:4px 6px;min-width:0}.sidebar-avatar{width:32px;height:32px;border-radius:10px;background:#1a7f8e59;color:#fff;display:grid;place-items:center;font-weight:800;font-size:12px;flex-shrink:0}.sidebar-user-text{display:flex;flex-direction:column;min-width:0}.sidebar-user-text strong{color:#fff;font-size:13px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-user-text span{font-size:10px;letter-spacing:.6px;text-transform:uppercase;color:#64748b}.sidebar-actions{display:flex;gap:6px}.sidebar-actions button{flex:1;min-height:34px;border:0;border-radius:9px;background:#ffffff0d;color:#cbd5e1;font-family:inherit;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;transition:background-color .15s ease,color .15s ease}.sidebar-actions button:hover{background:#ffffff1f;color:#fff}@media(min-width:769px){.app .sidebar.collapsed{width:64px;padding:12px 8px;align-items:stretch}.sidebar.collapsed .nav-label,.sidebar.collapsed .sidebar-user-text{display:none}.sidebar.collapsed .sidebar-brand{flex-direction:column;gap:8px;padding:4px 0 8px}.sidebar.collapsed .nav button{justify-content:center;padding:0}.sidebar.collapsed .sidebar-user{justify-content:center;padding:4px 0}.sidebar.collapsed .sidebar-actions{flex-direction:column}}@media(max-width:768px){.sidebar-toggle{display:none}.app .sidebar{width:min(260px,80vw)}}.students-page{gap:14px}.sp-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.sp-card{text-align:left;border:1.5px solid transparent;background:#fff;border-radius:14px;padding:14px 16px;box-shadow:var(--shadow-card);font-family:inherit;cursor:pointer;display:flex;flex-direction:column;gap:2px;min-width:0;transition:transform .15s cubic-bezier(.23,1,.32,1),border-color .15s ease,box-shadow .15s ease}.sp-card:active{transform:scale(.98)}.sp-card span{font-size:12px;font-weight:700;color:#64748b}.sp-card strong{font-size:26px;font-weight:800;letter-spacing:-.5px;font-variant-numeric:tabular-nums;line-height:1.15;color:#0f172a}.sp-card em{font-style:normal;font-size:12px;color:#94a3b8}.sp-card-bar{height:5px;background:#eef2f6;border-radius:99px;overflow:hidden;margin:4px 0 2px}.sp-card-bar i{display:block;height:100%;border-radius:99px;background:#94a3b8;transition:width .5s cubic-bezier(.23,1,.32,1)}.sp-card.tone-amber .sp-card-bar i{background:#f59e0b}.sp-card.tone-indigo .sp-card-bar i{background:#6366f1}.sp-card.tone-green .sp-card-bar i{background:#16a34a}.sp-card.active{border-color:#1a7f8e;background:#f0f9fa}.sp-card.active strong{color:#0f4c57}.sp-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.sp-toolbar .select-wrap{min-width:130px}.sp-search{flex:1 1 280px;display:flex;align-items:center;gap:10px;height:48px;padding:0 14px;background:#fff;border:1.5px solid #e2e8f0;border-radius:12px;color:#94a3b8;transition:border-color .15s ease,box-shadow .15s ease}.sp-search:focus-within{border-color:#1a7f8e;box-shadow:0 0 0 3px #1a7f8e26}.sp-search input{flex:1;min-width:0;border:0;outline:none;background:transparent;font-family:inherit;font-size:14px;color:#0f172a}.sp-search kbd{font-family:inherit;font-size:11px;font-weight:700;color:#94a3b8;border:1px solid #e2e8f0;border-radius:6px;padding:1px 7px;background:#f8fafc}.sp-search button{border:0;background:transparent;color:#94a3b8;cursor:pointer;display:grid;place-items:center;padding:4px;border-radius:8px}.sp-search button:hover{color:#475569;background:#f1f5f9}.sp-dir{min-height:48px;width:48px;padding:0}.sp-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.sp-summary{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.sp-summary>strong{font-size:15px}.sp-chip{display:inline-flex;align-items:center;gap:6px;background:#e6f4f6;color:#0f4c57;border:0;border-radius:99px;padding:4px 10px;font-family:inherit;font-size:12px;font-weight:700}.sp-chip button{border:0;background:transparent;color:inherit;display:grid;place-items:center;cursor:pointer;padding:0;opacity:.7}.sp-chip button:hover{opacity:1}button.sp-chip.warn{background:#fffbeb;color:#92400e;cursor:pointer}button.sp-chip.warn:hover{background:#fef3c7}.sp-buttons{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.sp-buttons .btn{min-height:40px;padding:8px 14px}.sp-table-wrap{overflow-x:auto}.sp-table{min-width:1020px}.sp-table th.sortable{padding:0}.sp-table th.sortable button{width:100%;border:0;background:transparent;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;text-align:left;padding:12px;display:inline-flex;align-items:center;gap:6px;cursor:pointer}.sp-table th.sortable.num button{justify-content:flex-end}.sp-table th.sortable button:hover{color:#0f172a}.sp-table th.sortable .faint{opacity:.35}.sp-table th,.sp-table td{padding-left:12px;padding-right:12px}.sp-table td{padding-top:12px;padding-bottom:12px;vertical-align:middle}.sp-table tbody tr{cursor:pointer}.sp-table td small{display:block;font-size:12px;color:#94a3b8;margin-top:2px}.sp-table td.num,.sp-table th.num{text-align:right}.sp-table-wrap.compact td{padding-top:6px;padding-bottom:6px}.sp-table-wrap.compact .sp-avatar{width:28px;height:28px;font-size:11px}.sp-table-wrap.compact td small{display:none}.sp-table-wrap.compact td .sp-bill-info small{display:block}.sp-student{display:flex;align-items:center;gap:10px;min-width:0}.sp-student strong{display:block;font-size:14px}.sp-avatar{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;font-weight:800;font-size:12px;flex-shrink:0;background:#eef2f6;color:#475569}.sp-avatar.male{background:#dbeafe;color:#1d4ed8}.sp-avatar.female{background:#fce7f3;color:#be185d}.sp-adm{background:#f1f5f9;padding:3px 8px;border-radius:6px;font-weight:700;font-size:12px}.sp-school{font-size:13px;font-weight:600;white-space:nowrap}.sp-class{font-weight:800;white-space:nowrap}.sp-phone{display:inline-flex;align-items:center;gap:6px;color:#1a7f8e;font-weight:700;font-size:13px;text-decoration:none;white-space:nowrap}.sp-phone:hover{text-decoration:underline}.sp-nomobile{display:inline-flex;align-items:center;gap:6px;color:#b45309;background:#fffbeb;border-radius:8px;padding:3px 8px;font-size:12px;font-weight:700;white-space:nowrap}.sp-bill-info strong{display:block;font-size:13px}.sp-bill-info small{max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sp-amount{color:#1a7f8e;font-variant-numeric:tabular-nums}.sp-actions{display:inline-flex;align-items:center;gap:6px;justify-content:flex-end}.sp-icon,.sp-bill{border:0;cursor:pointer;font-family:inherit;transition:background-color .15s ease,color .15s ease,transform .12s ease}.sp-icon{width:34px;height:34px;border-radius:10px;background:#f1f5f9;color:#475569;display:grid;place-items:center}.sp-icon:hover{background:#e2e8f0}.sp-icon.danger{color:#b91c1c;background:#fef2f2}.sp-icon.danger:hover{background:#fee2e2}.sp-bill{height:34px;padding:0 12px;border-radius:10px;background:#1a7f8e;color:#fff;font-weight:700;font-size:12px;display:inline-flex;align-items:center;gap:6px}.sp-bill:hover{background:#156673}.sp-icon:active,.sp-bill:active{transform:scale(.96)}.sp-more{text-align:center;padding:18px 0;color:#94a3b8;font-weight:600}.sp-end{text-align:center;color:#94a3b8;font-size:13px;margin:4px 0 0}.sp-mobile-list{display:grid;gap:10px}.sp-mobile-card{background:#fff;border-radius:14px;padding:14px;box-shadow:var(--shadow-card);display:grid;gap:10px}.sp-mobile-top{display:flex;align-items:center;gap:10px}.sp-mobile-name{flex:1;min-width:0}.sp-mobile-name strong{display:block;font-size:15px}.sp-mobile-name small{color:#94a3b8;font-size:12px}.sp-mobile-meta{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:13px;font-weight:600;color:#475569}.sp-mobile-bill{display:grid;grid-template-columns:1fr auto;gap:2px 8px;font-size:13px}.sp-mobile-bill small{grid-column:1;color:#94a3b8}.sp-mobile-bill strong{grid-row:1 / span 2;grid-column:2;align-self:center;color:#1a7f8e}.sp-mobile-card .sp-actions{justify-content:flex-start}@media(max-width:960px){.sp-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.sp-toolbar .select-wrap{flex:1 1 calc(50% - 10px);min-width:0}.sp-search{flex-basis:100%}.sp-buttons .btn{flex:1 1 auto}.sp-card strong{font-size:22px}}@media(prefers-reduced-motion:reduce){.app .sidebar,.sp-card-bar i{transition:none}}.sidebar-actions button{white-space:nowrap;padding:0 6px;gap:5px;font-size:11.5px}.sp-student{min-width:220px}.sp-student>div{min-width:0}.sp-student strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px}.sp-student small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px}.sp-table .badge{white-space:nowrap;max-width:none;border-radius:99px;padding:5px 12px}.sp-table td:last-child{white-space:nowrap}.sp-filter-set{display:contents}.sp-filter-toggle{display:none}@media(max-width:640px){.sp-cards{display:flex;overflow-x:auto;gap:8px;padding-bottom:4px;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}.sp-card{flex:0 0 auto;min-width:128px;padding:10px 12px;scroll-snap-align:start}.sp-card strong{font-size:20px}.sp-card em,.sp-card-bar{display:none}.sp-search{flex:1 1 0;min-width:0;height:44px}.sp-filter-toggle{display:inline-flex;min-height:44px;padding:0 14px}.sp-filter-set{display:none;flex-basis:100%;gap:8px;flex-wrap:wrap}.sp-filter-set.open{display:flex}.sp-filter-set .select-wrap{flex:1 1 calc(50% - 8px);min-width:0}.sp-bar{gap:8px}}.day-grid-wrap{overflow-x:auto}.day-grid{display:grid;gap:6px;align-items:center;min-width:520px}.day-head{display:flex;flex-direction:column;align-items:center;font-size:11px;color:#64748b;line-height:1.15}.day-head b{font-size:12px;color:#334155;font-variant-numeric:tabular-nums}.day-head i{font-style:normal;font-weight:700;opacity:.7}.day-head.today b{color:#0f6f7d}.day-row{display:contents}.day-school{font-weight:700;font-size:13.5px;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-right:8px}.day-cell{height:28px;border-radius:8px;border:0;cursor:pointer;background:#eef2f6;transition:transform .12s cubic-bezier(.23,1,.32,1),box-shadow .15s ease}.day-cell:disabled{cursor:default;background:repeating-linear-gradient(135deg,#f1f5f9 0 4px,#e8edf3 4px 8px);opacity:.8}.day-cell:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 6px 12px -6px #0f172a66}.day-cell:not(:disabled):active{transform:scale(.94)}.day-cell.ok{background:#22c55e}.day-cell.open{background:#38bdf8}.day-cell.late{background:#f59e0b}.day-cell.bad{background:#ef4444}.day-cell.today{box-shadow:0 0 0 2px #fff,0 0 0 4px #1a7f8e}.day-legend{display:flex;gap:14px;flex-wrap:wrap;align-items:center;margin-top:12px;font-size:12.5px;color:#475569}.day-legend i{display:inline-block;width:12px;height:12px;border-radius:4px;margin-right:-6px}.day-legend i.ok{background:#22c55e}.day-legend i.open{background:#38bdf8}.day-legend i.late{background:#f59e0b}.day-legend i.bad{background:#ef4444}.day-legend i.none{background:#e2e8f0}.settle-table td small{display:block;font-size:11.5px;color:#94a3b8;margin-top:2px}.settle-table td small.neg{color:#b91c1c;font-weight:700}.settle-table tbody tr.st-bad td:first-child{box-shadow:inset 4px 0 #ef4444}.settle-table tbody tr.st-late td:first-child{box-shadow:inset 4px 0 #f59e0b}.settle-table tbody tr.st-open td:first-child{box-shadow:inset 4px 0 #38bdf8}.settle-table tbody tr.st-ok td:first-child{box-shadow:inset 4px 0 #22c55e}.settle-actions{display:inline-flex;align-items:center;gap:8px;justify-content:flex-end}.settle-view{border:0;background:transparent;color:#0f6f7d;font-family:inherit;font-weight:700;font-size:12.5px;display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border-radius:8px;cursor:pointer;white-space:nowrap;transition:background-color .15s ease}.settle-view:hover{background:#e6f4f6}.settle-bills-wrap{display:flex;flex-direction:column;gap:8px}.settle-bill-search{display:flex;align-items:center;gap:8px;height:40px;padding:0 12px;border:1.5px solid #e2e8f0;border-radius:10px;background:#f8fafc;color:#94a3b8}.settle-bill-search:focus-within{border-color:#1a7f8e;background:#fff}.settle-bill-search input{flex:1;min-width:0;border:0;outline:none;background:transparent;font-family:inherit;font-size:14px;color:#0f172a}.settle-bills{max-height:320px}.settle-bills table{min-width:620px}.settle-bills td.num,.settle-bills th.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.settle-bills tfoot td{position:sticky;bottom:0;background:#0f4c57;color:#fff;font-weight:800;padding:10px 12px}@media(max-width:640px){.settle-actions{flex-direction:column;align-items:stretch}}.pricing-tabs{display:flex;gap:4px;padding:4px;background:#e8edf3;border-radius:14px;width:fit-content;max-width:100%;overflow-x:auto}.pricing-tabs button{border:0;background:transparent;color:#475569;padding:10px 18px;border-radius:10px;font-family:inherit;font-weight:700;font-size:14px;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;gap:8px;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}.pricing-tabs button.active{background:#fff;color:#0f172a;box-shadow:0 1px 3px #0f172a1f}.pricing-tabs button span{background:#e6f4f6;color:#0f4c57;border-radius:99px;padding:1px 8px;font-size:12px}.pr-banner{background:#f0f9fa;color:#0f4c57;border-radius:12px;padding:12px 14px;font-size:14px;margin-bottom:16px}.pr-banner.school{background:#eef2ff;color:#3730a3}.pr-wrap{box-shadow:none;border:1px solid #eef2f6}.pr-grid{min-width:820px}.pr-grid th{vertical-align:bottom}.pr-grid th span{display:block}.pr-grid th .link-btn{padding:2px 0;font-size:11px;text-transform:none;letter-spacing:0}.pr-grid td{padding:10px 12px}.pr-grid .pr-class{font-weight:800;white-space:nowrap}.pr-missing{color:#cbd5e1;font-size:13px}.pr-hint{display:block;margin-top:3px;font-size:11px;color:#94a3b8}.pr-input{display:flex;align-items:center;gap:6px;height:42px;padding:0 10px;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:10px;transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease}.pr-input:focus-within{border-color:#1a7f8e;background:#fff;box-shadow:0 0 0 3px #1a7f8e26}.pr-input span{color:#94a3b8;font-weight:700}.pr-input input{width:100%;min-width:0;border:0;background:transparent;outline:none;font-family:inherit;font-weight:800;font-size:15px;font-variant-numeric:tabular-nums;color:#0f172a;-moz-appearance:textfield}.pr-input input::-webkit-outer-spin-button,.pr-input input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.pr-input.dirty{background:#fffbeb;border-color:#f59e0b}.pr-input.inherited input{color:#94a3b8;font-weight:700}.pr-savebar{position:sticky;bottom:12px;z-index:5;margin-top:16px;display:flex;align-items:center;gap:12px;padding:12px 16px;background:#0f172a;color:#fff;border-radius:14px;box-shadow:0 12px 30px -10px #0f172a80;animation:popIn .22s cubic-bezier(.23,1,.32,1)}.pr-savebar span{flex:1;font-weight:700;font-size:14px}.pr-savebar .btn{min-height:38px;padding:6px 16px}.pr-savebar .btn.secondary{background:#ffffff1f;color:#fff}.pr-products-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.pr-products-head p{margin:0;max-width:720px}.pr-products{display:grid;gap:20px}.pr-product{background:#fff;border-radius:16px;padding:20px;box-shadow:var(--shadow-card);display:flex;flex-direction:column;gap:16px;min-width:0}.pr-product.off{opacity:.75}.pr-product>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.pr-product h3{margin:0 0 8px;font-size:18px;font-weight:800;letter-spacing:-.3px}.pr-chips{display:flex;gap:8px;flex-wrap:wrap}.pr-chip{background:#e6f4f6;color:#0f4c57;border-radius:99px;padding:3px 10px;font-size:12px;font-weight:700}.pr-chip.soft{background:#eef2f6;color:#475569}.pr-chip.warn{background:#fee2e2;color:#991b1b}.pr-product-actions{display:flex;gap:8px;flex-wrap:wrap}.pr-product-actions .btn{min-height:38px;padding:6px 14px}.btn.secondary.danger{color:#b91c1c}.pr-groups{min-width:560px}.pr-groups td small{display:block;font-size:12px;color:#94a3b8;margin-top:2px}.pr-size-chips{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.pr-size-chips span{background:#f1f5f9;color:#334155;border-radius:8px;padding:3px 9px;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}.pr-size-chips em{font-style:normal;font-size:12px;color:#94a3b8;margin-left:4px}.pr-size-chips.preview{margin-top:10px}.pr-editor{width:min(860px,100%)}.pr-editor .settle-form-grid.three{grid-template-columns:1.4fr 1fr 1fr}.pr-check{flex-direction:row!important;align-items:center;gap:10px!important}.pr-editor-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.pr-editor-tools h4{margin:0;font-size:15px}.pr-editor-tools>div{display:flex;gap:8px;flex-wrap:wrap}.pr-editor-tools .btn{min-height:38px;padding:6px 14px}.pr-group{background:#f8fafc;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:12px;border:1px solid #eef2f6}.pr-group>header{display:flex;justify-content:space-between;align-items:center;gap:12px}.pr-group label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700;color:#475569}.pr-class-chips{display:flex;flex-wrap:wrap;gap:6px}.pr-class-chips button{border:1.5px solid #e2e8f0;background:#fff;color:#475569;border-radius:10px;padding:6px 12px;font-family:inherit;font-weight:700;font-size:13px;cursor:pointer;transition:background-color .12s ease,border-color .12s ease,color .12s ease,transform .12s ease}.pr-class-chips button:active:not(:disabled){transform:scale(.96)}.pr-class-chips button.on{background:#1a7f8e;border-color:#1a7f8e;color:#fff}.pr-class-chips button.taken{opacity:.35;cursor:not-allowed;background:#f1f5f9}.pr-add-group{align-self:flex-start}.pr-paste{background:#f0f9fa;border:1px dashed #1a7f8e;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:10px}.pr-paste p{margin:0;font-size:13px;color:#0f4c57}.pr-paste code{background:#fff;padding:1px 6px;border-radius:6px}.pr-paste-result{display:flex;flex-direction:column;gap:3px;font-size:13px;color:#334155}.pr-paste-result em{color:#b45309;font-style:normal}.pr-paste-actions{display:flex;justify-content:flex-end;gap:8px}.pr-paste-actions .btn{min-height:38px;padding:6px 16px}@media(max-width:640px){.pr-editor .settle-form-grid.three{grid-template-columns:1fr}.pr-savebar{flex-wrap:wrap}.pr-savebar span{flex-basis:100%}}.pr-editor .input,.ledger-modal .input{padding-left:14px}.pr-editor select.input,.ledger-modal select.input{padding-right:10px}.pr-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.pr-toolbar .rp-search{flex:1 1 220px;max-width:360px}.pr-count{background:#e6f4f6;color:#0f4c57;border-radius:99px;padding:0 7px;font-size:11.5px;margin-left:4px}.pr-groups td{vertical-align:middle}.pr-groups td .pr-input{max-width:170px}.pr-groups th.num,.pr-groups td.num{text-align:right}.pr-margin{display:inline-flex;flex-direction:column;align-items:flex-end;line-height:1.2;font-variant-numeric:tabular-nums}.pr-margin strong{font-size:15px}.pr-margin small{font-size:12px;font-weight:700;margin:0}.pr-margin.good{color:#15803d}.pr-margin.low{color:#b45309}.pr-margin.bad{color:#b91c1c}.pr-chip.margin-good{background:#dcfce7;color:#166534}.pr-chip.margin-low{background:#fef3c7;color:#92400e}.pr-chip.margin-bad{background:#fee2e2;color:#991b1b}.pr-margin-line{font-size:13px;font-weight:700}.pr-margin-line.good{color:#15803d}.pr-margin-line.low{color:#b45309}.pr-margin-line.bad{color:#b91c1c}.pr-editor .settle-form-grid{grid-template-columns:1fr 1fr}@media(max-width:640px){.pr-editor .settle-form-grid{grid-template-columns:1fr}.pr-groups{min-width:520px}}.pr-pack{color:#0f6f7d!important;font-weight:600}.pr-contents{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700;color:#475569}.rp-tabs{display:flex;gap:4px;padding:4px;background:#e8edf3;border-radius:14px;width:fit-content;max-width:100%;overflow-x:auto}.rp-tabs button{border:0;background:transparent;color:#475569;padding:10px 16px;border-radius:10px;font-family:inherit;font-weight:700;font-size:14px;cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;gap:8px;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}.rp-tabs button.active{background:#fff;color:#0f172a;box-shadow:0 1px 3px #0f172a1f}.rp-catalog{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}.rp-report{text-align:left;border:1.5px solid transparent;background:#fff;border-radius:14px;padding:12px 14px;box-shadow:var(--shadow-card);font-family:inherit;cursor:pointer;display:flex;flex-direction:column;gap:3px;min-width:0;transition:transform .15s cubic-bezier(.23,1,.32,1),border-color .15s ease,background-color .15s ease}.rp-report:active{transform:scale(.98)}.rp-report strong{font-size:14.5px;color:#0f172a}.rp-report small{font-size:12px;color:#64748b;line-height:1.35}.rp-report-icon{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#e6f4f6;color:#1a7f8e;margin-bottom:4px}.rp-report.active{border-color:#1a7f8e;background:#f0f9fa}.rp-report.active .rp-report-icon{background:#1a7f8e;color:#fff}.rp-filters{background:#fff;border-radius:16px;padding:16px 18px;box-shadow:var(--shadow-card);display:flex;flex-direction:column;gap:14px}.rp-field{display:flex;flex-direction:column;gap:6px;min-width:150px}.rp-field.wide{width:100%}.rp-field.grow{flex:1 1 240px}.rp-field>label{font-size:12px;font-weight:700;color:#475569;display:flex;align-items:center;gap:6px}.rp-field>label em{font-style:normal;font-weight:600;color:#94a3b8}.rp-field.off{opacity:.45}.rp-field.off *{cursor:not-allowed}.rp-row{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-end}.rp-presets{width:fit-content;max-width:100%;overflow-x:auto}.rp-custom{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}.rp-custom .input{height:42px;padding:0 10px;width:auto}.rp-custom span{color:#64748b;font-weight:700;font-size:13px}.rp-chips{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.rp-hint{font-size:12.5px;color:#64748b}.rp-chips .rp-hint{margin-left:auto}.rp-search{display:flex;align-items:center;gap:8px;height:42px;padding:0 12px;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:10px;color:#94a3b8;transition:border-color .15s ease,box-shadow .15s ease}.rp-search:focus-within{border-color:#1a7f8e;box-shadow:0 0 0 3px #1a7f8e26;background:#fff}.rp-search input{flex:1;min-width:0;border:0;outline:none;background:transparent;font-family:inherit;font-size:14px;color:#0f172a}.rp-search button{border:0;background:transparent;color:#94a3b8;cursor:pointer;display:grid;place-items:center;padding:2px}.rp-field .select-wrap{flex:none;width:100%;min-width:0}.rp-field .select-wrap select{height:42px}.rp-kpis{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}.rp-results{background:#fff;border-radius:16px;padding:18px;box-shadow:var(--shadow-card);display:flex;flex-direction:column;gap:14px;min-width:0}.rp-results-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap}.rp-results-head h3{margin:0;font-size:18px;font-weight:800;letter-spacing:-.3px}.rp-results-head p{margin:4px 0 0;font-size:13px;color:#64748b}.rp-downloads{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.rp-downloads .btn{min-height:40px;padding:8px 14px}.rp-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.rp-toolbar .rp-search{flex:1 1 260px;max-width:420px}.rp-size select{height:42px}.rp-notice{background:#ecfdf5;color:#065f46;border-radius:12px;padding:10px 14px;font-size:14px;font-weight:600}.rp-table-wrap{box-shadow:none;border:1px solid #eef2f6;max-height:640px;overflow:auto}.rp-table{min-width:760px;font-size:13.5px}.rp-table thead th{position:sticky;top:0;z-index:2;background:#f8fafc;padding:0}.rp-table thead th button{width:100%;border:0;background:transparent;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;text-align:left;padding:11px 12px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;white-space:nowrap}.rp-table thead th.num button{justify-content:flex-end}.rp-table thead th button:hover{color:#0f172a}.rp-table .faint{opacity:.4}.rp-table td{padding:10px 12px;vertical-align:top}.rp-table td.num,.rp-table th.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.rp-table td small{display:block;font-size:11.5px;color:#94a3b8}.rp-table tbody tr.dim{opacity:.55}.rp-table tfoot td{position:sticky;bottom:0;background:#0f4c57;color:#fff;font-weight:800;padding:11px 12px}.rp-action{background:#eef2f6;color:#334155;border-radius:8px;padding:2px 8px;font-size:12px;font-weight:700;text-transform:capitalize;white-space:nowrap}.rp-pager{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px;color:#64748b}.rp-pager>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.rp-pager .btn{min-height:36px;padding:6px 12px}.rp-history{background:#fff;border-radius:16px;padding:18px;box-shadow:var(--shadow-card)}.rp-history header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.rp-history h3{margin:0;font-size:15px;display:flex;align-items:center;gap:8px}.rp-history ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.rp-history li{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #f1f5f9;flex-wrap:wrap}.rp-history li>div:first-child{display:flex;flex-direction:column;gap:1px;min-width:0}.rp-history li strong{font-size:14px}.rp-history li span{font-size:12.5px;color:#475569}.rp-history li small{font-size:11.5px;color:#94a3b8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:420px}.rp-history-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end}.rp-history-actions .btn{min-height:36px;padding:6px 12px;text-decoration:none}.spin{animation:rpSpin .9s linear infinite}@keyframes rpSpin{to{transform:rotate(360deg)}}@media(max-width:640px){.rp-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.rp-report small{display:none}.rp-field{flex:1 1 calc(50% - 12px);min-width:0}.rp-chips .rp-hint{margin-left:0;flex-basis:100%}.rp-downloads .btn{flex:1 1 auto}.rp-toolbar .rp-search{max-width:none}}@media(prefers-reduced-motion:reduce){.spin{animation:none}}.btn.rp-filter-toggle{display:none}.rp-more{display:contents}.rp-more>.rp-row,.rp-more>.rp-chips{width:100%}@media(max-width:640px){.rp-catalog{display:flex;overflow-x:auto;gap:8px;padding-bottom:4px;scroll-snap-type:x proximity}.rp-report{flex:0 0 auto;min-width:150px;scroll-snap-align:start}.btn.rp-filter-toggle{display:inline-flex;width:100%;min-height:42px}.rp-more{display:none;flex-direction:column;gap:14px}.rp-more.open{display:flex}.rp-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.rp-kpis .stat-card{padding:12px 14px}.rp-kpis .stat-card-foot{display:none}}.pnl-export{display:flex;gap:8px;flex-wrap:wrap}.pnl-alert{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fffbeb;color:#78350f;border:1px solid #fde68a;border-radius:14px;padding:12px 16px;font-size:14px}.pnl-alert>svg{color:#d97706;flex-shrink:0}.pnl-alert>div{flex:1 1 260px}.pnl-alert .btn{min-height:38px;padding:6px 14px;text-decoration:none}.pnl-filters .rp-hint{margin:0}.pnl-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pnl-charts .pnl-wide{grid-column:1 / -1}@media(max-width:820px){.pnl-charts{grid-template-columns:1fr}}.pnl-table td small{display:block;font-size:11.5px;color:#94a3b8;margin-top:2px}.pnl-table td small.pnl-warn{color:#b45309;font-weight:700}.pnl-table th.num,.pnl-table td.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.pnl-table tfoot td{position:sticky;bottom:0;background:#0f4c57;color:#fff;font-weight:800;padding:10px 12px}.pnl-money{color:#15803d}.pnl-money.bad{color:#b91c1c}.pnl-bar{display:block;height:4px;border-radius:99px;background:#eef2f6;margin-top:5px;margin-left:auto;width:100%;max-width:120px;overflow:hidden}.pnl-bar b{display:block;height:100%;border-radius:99px;background:#22c55e}.pnl-bar b.bad{background:#ef4444}.pnl-chip{display:inline-block;border-radius:99px;padding:2px 9px;font-size:12px;font-weight:800;background:#f1f5f9;color:#64748b}.pnl-chip.good{background:#dcfce7;color:#166534}.pnl-chip.low{background:#fef3c7;color:#92400e}.pnl-chip.bad{background:#fee2e2;color:#991b1b}.pnl-table small .pnl-chip{margin-top:2px;font-size:11px;color:inherit}.rp-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:#64748b}.rp-pager>div{display:flex;gap:6px}.rp-pager .btn{min-height:36px;padding:4px 10px}.drawer .tabs{padding:0 24px;margin-bottom:14px;gap:20px}.drawer .page.drawer-body-padded{padding:0 24px 24px;gap:14px}.drawer .page.drawer-body-padded>.grid{gap:14px!important}.sd-subtitle{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;font-weight:700;color:#475569;margin-top:2px}.sd-subtitle .badge{padding:2px 10px;font-size:11px}.sd-info{display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;padding:14px 16px;background:#f8fafc;border:1px solid #e5edf5;border-radius:14px}.sd-info>div{display:flex;flex-direction:column;gap:2px;min-width:0}.sd-info>div.wide{grid-column:1 / -1}.sd-info span{font-size:12.5px;font-weight:700;color:#475569}.sd-info strong{font-size:15.5px;font-weight:700;color:#0f172a;overflow-wrap:anywhere;line-height:1.3}.sd-info a{color:#0f6f7d;text-decoration:none}.sd-info a:hover{text-decoration:underline}.sd-missing{font-style:normal;font-size:13px;font-weight:700;color:#92400e;background:#fffbeb;border-radius:8px;padding:2px 8px;display:inline-block;width:fit-content}.sd-actions{display:grid;gap:8px}.sd-actions .btn{width:100%;min-height:48px}.sd-hint{margin:0;font-size:13px;color:#475569}.sd-hint .link-btn{padding:0 2px;font-size:13px}.sd-billing{display:flex;flex-direction:column;gap:14px}.sd-strip{display:flex;align-items:center;gap:12px;padding-top:4px}.sd-back{border:0;background:#f1f5f9;color:#334155;height:36px;padding:0 12px;border-radius:10px;font-family:inherit;font-weight:700;font-size:13px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;flex-shrink:0;transition:background-color .15s ease,transform .12s ease}.sd-back:hover{background:#e2e8f0}.sd-back:active{transform:scale(.96)}.sd-strip-text{display:flex;flex-direction:column;min-width:0}.sd-strip-text strong{font-size:17px;font-weight:800;letter-spacing:-.2px}.sd-strip-text span{font-size:13px;color:#475569;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sd-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca;border-radius:12px;padding:10px 12px;font-size:14px;font-weight:600}.sd-block{display:flex;flex-direction:column;gap:8px}.sd-block h4{margin:0;font-size:13px;font-weight:800;color:#334155;text-transform:uppercase;letter-spacing:.6px}.sd-block h4 small{text-transform:none;letter-spacing:0;font-weight:600;color:#64748b;margin-left:6px;font-size:12px}.sd-segment{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;background:#eef2f6;border-radius:12px}.sd-segment button{border:0;background:transparent;height:38px;border-radius:9px;font-family:inherit;font-weight:700;font-size:14px;color:#475569;cursor:pointer;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}.sd-segment button.on{background:#fff;color:#0f4c57;box-shadow:0 1px 3px #0f172a26}.sd-options{display:flex;flex-direction:column;gap:8px}.sd-option{border:1.5px solid #e2e8f0;border-radius:12px;background:#fff;padding:10px 12px;display:flex;flex-direction:column;gap:8px;transition:border-color .15s ease,background-color .15s ease}.sd-option.on{border-color:#1a7f8e;background:#f0f9fa}.sd-option>label{display:flex;align-items:center;gap:10px;cursor:pointer;min-height:28px}.sd-option>label input{width:18px;height:18px;accent-color:#1a7f8e;flex-shrink:0}.sd-option>label span{flex:1;font-weight:700;font-size:14.5px;color:#0f172a}.sd-option>label em{font-style:normal;font-weight:800;color:#0f6f7d;font-variant-numeric:tabular-nums}.sd-extra{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.sd-extra select{flex:1 1 130px;height:38px;border:1.5px solid #cbd5e1;border-radius:10px;padding:0 10px;font-family:inherit;font-weight:700;font-size:14px;background:#fff;color:#0f172a}.sd-stepper{display:inline-flex;align-items:center;border:1.5px solid #cbd5e1;border-radius:10px;background:#fff;overflow:hidden;width:fit-content}.sd-stepper button{width:36px;height:34px;border:0;background:transparent;font-size:18px;font-weight:700;color:#334155;cursor:pointer}.sd-stepper button:hover:not(:disabled){background:#f1f5f9}.sd-stepper button:disabled{color:#cbd5e1;cursor:not-allowed}.sd-stepper span{min-width:30px;text-align:center;font-weight:800;font-variant-numeric:tabular-nums}.sd-house{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:4px 2px 0}.sd-house>span{font-size:13px;font-weight:700;color:#334155}.sd-house>div{display:flex;gap:6px;flex-wrap:wrap}.sd-house button{border:1.5px solid #e2e8f0;background:#fff;border-radius:99px;height:34px;padding:0 12px;display:inline-flex;align-items:center;gap:6px;font-family:inherit;font-weight:700;font-size:13px;text-transform:capitalize;color:#334155;cursor:pointer}.sd-house button i{width:12px;height:12px;border-radius:50%;display:inline-block}.sd-house button.on{border-color:#0f172a;background:#f8fafc}.sd-warn{background:#fef2f2;color:#991b1b;border-radius:12px;padding:10px 12px;font-weight:700;font-size:13px}.sd-actionbar{position:sticky;bottom:-24px;margin:6px -24px -24px;padding:12px 24px 16px;background:#fff;border-top:1px solid #e5edf5;box-shadow:0 -10px 24px -16px #0f172a40;display:flex;align-items:center;gap:14px;z-index:2}.sd-total{display:flex;flex-direction:column;min-width:96px}.sd-total span{font-size:12px;font-weight:700;color:#475569}.sd-total strong{font-size:22px;font-weight:800;letter-spacing:-.4px;font-variant-numeric:tabular-nums;color:#0f4c57}.sd-actionbar .btn{flex:1;min-height:48px}@media(max-width:768px){.drawer .page.drawer-body-padded{padding:0 16px 16px}.drawer .tabs{padding:0 16px}.sd-actionbar{bottom:-16px;margin:6px -16px -16px;padding:12px 16px 16px}}@media(max-width:380px){.sd-info{grid-template-columns:1fr}}.sd-billing{min-height:calc(100dvh - 110px)}.sd-actionbar{margin-top:auto}.sd-segment{background:#e2e8f0}.sd-segment button{display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#64748b;font-weight:700;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease,transform .12s ease}.sd-segment button:active{transform:scale(.97)}.sd-segment button.on{background:linear-gradient(135deg,#1a7f8e,#0f5f6c);color:#fff;box-shadow:0 6px 14px -6px #0f5f6cb3}.sd-segment button .sd-tick{margin-left:2px}.sd-option{position:relative;padding-left:14px}.sd-option:not(.on)>label em{color:#64748b}.sd-option.on{border-color:#1a7f8e;border-width:2px;padding:9px 11px 9px 13px;background:linear-gradient(180deg,#e6f4f6,#f0f9fa);box-shadow:0 0 0 3px #1a7f8e24}.sd-option.on:before{content:"";position:absolute;left:0;top:9px;bottom:9px;width:4px;border-radius:0 4px 4px 0;background:#1a7f8e}.sd-option.on>label span{color:#0f4c57}.sd-option.on>label em{color:#0f4c57;font-size:15px}.sd-option>label input{width:20px;height:20px}:root{--primary: #1a7f8e;--primary-dark: #156673;--bg-app: #f1f5f9;--bg-card: #ffffff;--text-main: #0f172a;--text-muted: #64748b;--border: #e2e8f0;--radius-xl: 24px;--radius-lg: 16px;--radius-md: 12px;--sidebar-width: clamp(224px, 18vw, 260px);--page-pad: clamp(16px, 3vw, 40px)}*{box-sizing:border-box}body{margin:0;font-family:Plus Jakarta Sans,system-ui,-apple-system,sans-serif;background:var(--bg-app);color:var(--text-main);-webkit-font-smoothing:antialiased}.login{min-height:100vh;display:flex;align-items:center;justify-content:center;background:radial-gradient(circle at top left,#f8fafc,#eff6ff);padding:20px}.login-card{width:100%;max-width:420px;background:#fffffff2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:48px 40px;border-radius:var(--radius-xl);box-shadow:0 25px 50px -12px #00000014;border:1px solid rgba(255,255,255,.5);text-align:center}.app{min-height:100vh;display:flex}.sidebar{width:var(--sidebar-width);background:#020617;color:#94a3b8;display:flex;flex-direction:column;height:100vh;padding:18px 12px;gap:16px;border-right:1px solid #1e293b;flex-shrink:0;overflow-y:auto;overscroll-behavior:contain}.sidebar-brand{color:#fff;font-weight:800;font-size:18px;padding:8px 10px;display:flex;align-items:center;gap:12px}.sidebar-footer{margin-top:auto;display:grid;gap:12px;padding-top:8px}.nav{display:grid;gap:4px}.nav-group{display:grid;gap:2px}.nav-group-header{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;cursor:pointer;border-radius:var(--radius-md);color:#94a3b8;font-weight:600;font-size:14px;transition:all .2s ease;border:0;background:transparent;text-align:left}.nav-group-header div{display:flex;align-items:center;gap:10px;min-width:0}.nav-group-header:hover{background:#ffffff0d;color:#fff}.nav-group-header.active{color:#fff;background:#ffffff14}.nav-sub-items{display:grid;gap:2px;padding:2px 0 6px 38px}.nav-sub-item{padding:8px 10px;font-size:12px;font-weight:600;color:#64748b;text-decoration:none;border-radius:10px;transition:all .2s ease;cursor:pointer;border:0;background:transparent;text-align:left}.nav-sub-item:hover,.nav-sub-item.active{color:#fff;background:#ffffff0d}.nav-sub-item.active{color:#1a7f8e;background:#1a7f8e1a}.nav button{min-height:44px;border:0;background:transparent;color:#94a3b8;border-radius:var(--radius-md);display:flex;gap:10px;align-items:center;padding:0 12px;text-align:left;font-weight:600;font-size:14px;transition:all .2s ease}.nav button:hover{background:#ffffff0d;color:#fff}.nav button.active{color:#fff;background:var(--primary);box-shadow:0 8px 16px #1a7f8e4d}.main{flex:1;min-width:0;display:flex;flex-direction:column;height:100vh}.title{margin:0;font-size:28px;font-weight:800;letter-spacing:-.5px;color:var(--text-main)}.muted{color:var(--text-muted);font-size:14px}.topbar{min-height:72px;padding:0 var(--page-pad);display:flex;align-items:center;justify-content:space-between;flex-shrink:0;border-bottom:1px solid var(--border);background:#fff}.mobile-only{display:none}.lookup-form{display:flex;gap:12px}.toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}.toolbar>*{min-width:0}.page{padding:16px var(--page-pad) 32px var(--page-pad);display:grid;gap:24px;overflow-y:auto;min-width:0}.grid.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px}.reports-filter-card{padding:18px 20px}.reports-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:14px}.reports-header h2{margin-bottom:4px}.reports-clear-btn{height:38px;padding:0 14px;flex:0 0 auto}.reports-filter-grid{display:grid;grid-template-columns:minmax(180px,1.3fr) repeat(2,minmax(128px,.75fr)) repeat(2,minmax(108px,.6fr)) minmax(150px,.9fr) minmax(110px,.6fr) minmax(110px,.6fr);gap:10px;align-items:end}.reports-field{margin:0;min-width:0}.reports-field label{margin-bottom:5px;padding-left:2px;font-size:11px;color:#64748b}.reports-field .input,.reports-field .select-wrap select{height:40px;min-height:40px;border-radius:10px;font-size:13px;background:#f8fafc}.reports-field .input{padding:8px 12px}.reports-search-field{grid-column:span 2}.reports-search-field .input{padding-left:40px}.reports-search-field .input-icon-wrap .icon{left:14px}.reports-field .select-wrap{width:100%;min-width:0;flex:none}.reports-field .select-wrap select{padding:0 32px 0 12px}.card{background:#fff;padding:clamp(16px,2vw,24px);border-radius:var(--radius-lg);border:1px solid var(--border);box-shadow:0 1px 3px #00000005}.metric{font-size:32px;font-weight:800;margin-top:8px;letter-spacing:-1px}.table-wrap{background:#fff;border-radius:var(--radius-lg);border:1px solid var(--border);overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}.filter-bar{background:#fff;padding:clamp(14px,2vw,20px);border-radius:var(--radius-lg);border:1px solid var(--border);display:flex;flex-direction:column;gap:20px}.filter-row{display:flex;gap:16px;align-items:center;flex-wrap:wrap}.filter-group{display:flex;align-items:center;background:#f8fafc;border-radius:var(--radius-md);border:1.5px solid #e2e8f0;padding:0 16px;height:48px;gap:10px;flex:1;min-width:200px;max-width:100%}.filter-group:focus-within{border-color:var(--primary);background:#fff;box-shadow:0 0 0 4px #1a7f8e1a}.filter-group .icon{color:#94a3b8}.filter-group input,.filter-group select{border:0;background:transparent;height:100%;width:100%;font-family:inherit;font-size:14px;font-weight:500;color:var(--text-main);outline:none}.select-wrap{position:relative;flex:0 1 180px;min-width:150px;max-width:100%}.select-wrap select{width:100%;height:48px;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:var(--radius-md);padding:0 16px;font-size:14px;font-weight:600;appearance:none;cursor:pointer}.select-wrap:after{content:"▾";position:absolute;right:16px;top:50%;transform:translateY(-50%);pointer-events:none;color:#94a3b8}table{width:100%;border-collapse:collapse;min-width:720px}th{background:#f8fafc;padding:14px 18px;text-align:left;font-size:11px;font-weight:800;color:#64748b;text-transform:uppercase;letter-spacing:.5px}td{padding:16px 18px;border-top:1px solid #f1f5f9}tr:hover td{background:#fcfdfe}.drawer-overlay{position:fixed;inset:0;background:#0f172a4d;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);display:flex;justify-content:flex-end;z-index:1000}.drawer{width:100%;max-width:min(480px,calc(100vw - 28px));background:#fff;height:100%;box-shadow:-24px 0 80px #0f172a26;display:flex;flex-direction:column;animation:slideIn .5s cubic-bezier(.16,1,.3,1)}@keyframes slideIn{0%{transform:translate(100%)}to{transform:translate(0)}}.drawer header{padding:18px 22px;border-bottom:1px solid #f1f5f9;display:flex;align-items:center;justify-content:space-between}.drawer header h2{margin:0;font-size:21px;font-weight:800}.drawer .page{padding:20px 22px;flex:1;overflow-y:auto;gap:16px}.drawer .drawer-form-compact{align-content:start;gap:12px;padding-top:16px;padding-bottom:16px}.section-group{background:#f8fafc;border-radius:var(--radius-md);padding:16px;margin-bottom:0;border:1px solid #e5edf5}.section-group h3{margin:0 0 14px;font-size:13px;font-weight:800;color:var(--primary);text-transform:uppercase;letter-spacing:1px}.drawer-form-compact .section-group{padding:12px}.drawer-form-compact .section-group h3{margin-bottom:10px;font-size:11px;letter-spacing:.5px}.field{margin-bottom:14px;position:relative}.drawer-form-compact .field{margin-bottom:10px}.drawer-form-compact .field:last-child{margin-bottom:0}.field label{display:block;font-size:12px;font-weight:700;color:#475569;margin-bottom:8px;padding-left:4px}.input-icon-wrap{position:relative;display:flex;align-items:center}.input-icon-wrap .icon{position:absolute;left:18px;color:#94a3b8;transition:all .2s ease}.input,.textarea{width:100%;min-height:48px;background:#fff;border:1.5px solid #e2e8f0;border-radius:var(--radius-md);padding:12px 18px 12px 52px;font-size:15px;font-weight:500;font-family:inherit;transition:all .2s ease}.drawer-form-compact .input,.drawer-form-compact .select-wrap select{min-height:40px;height:40px;border-radius:10px;font-size:13px}.drawer-form-compact .input{padding:9px 12px 9px 38px}.drawer-form-compact .input-icon-wrap .icon{left:13px;width:15px;height:15px}.drawer-form-compact .select-wrap{width:100%;flex:1 1 auto}.drawer-form-compact .select-wrap select{padding:0 34px 0 12px}.drawer-form-compact .grid.two{gap:12px}.drawer-form-compact .compact-textarea{height:50px;min-height:50px;resize:vertical;padding-top:12px}.input:focus,.textarea:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 4px #1a7f8e1a}.textarea{min-height:100px;padding-top:18px}.grid.two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.drawer footer{padding:16px 22px;border-top:1px solid #f1f5f9;background:#fff;display:flex;gap:16px}.btn{min-height:44px;height:auto;padding:10px 18px;border-radius:var(--radius-md);font-size:14px;font-weight:700;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center;gap:12px;border:0}.btn.primary{background:var(--primary);color:#fff;box-shadow:0 10px 15px -3px #1a7f8e33}.btn.primary:hover{background:var(--primary-dark);transform:translateY(-2px);box-shadow:0 20px 25px -5px #1a7f8e4d}.btn.secondary{background:#f1f5f9;color:#475569}.btn.ghost{background:transparent}.badge{padding:6px 12px;border-radius:99px;font-size:12px;font-weight:700}.badge.delivered{background:#dcfce7;color:#166534}.badge.generated{background:#fef3c7;color:#92400e}.badge.cancelled{background:#fee2e2;color:#991b1b}.badge.dress-issue,.badge.success{background:#dcfce7;color:#166534}.badge.dress-not-issued,.badge.danger{background:#fee2e2;color:#991b1b}.badge.warning{background:#fef3c7;color:#92400e}.alert-badge{cursor:pointer;background:#1a7f8e1a;color:#1a7f8e;padding:12px 16px;border-radius:var(--radius-md);font-weight:700;display:flex;align-items:center;justify-content:space-between}.student-mobile-list{display:none}.student-mobile-card{width:100%;border:1px solid #e2e8f0;border-radius:14px;background:#fff;padding:14px;text-align:left;box-shadow:0 8px 18px #0f172a0a;cursor:pointer;touch-action:manipulation}.student-mobile-card-main,.student-mobile-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.student-mobile-card code{display:inline-block;background:#f1f5f9;border-radius:6px;padding:3px 7px;font-size:12px;font-weight:800;color:#0f172a}.student-mobile-card h3{margin:8px 0 3px;font-size:16px;line-height:1.2}.student-mobile-card p{margin:0;font-size:12px;color:#64748b}.student-mobile-meta{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.student-mobile-meta span{background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:700;color:#475569}.student-mobile-footer strong{color:#1a7f8e;font-size:16px}.student-mobile-footer>div{display:flex;gap:8px}.student-mobile-footer .btn{min-height:34px;height:34px;padding:0 10px;font-size:12px;gap:6px}.danger-action{color:#dc2626;background:#fef2f2}.order-summary-mini{border:1px solid #dbeafe;background:#f8fbff;border-radius:12px;padding:12px}.order-summary-mini-head,.order-summary-mini-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px}.order-summary-mini-head{color:#0f172a;font-size:13px;font-weight:800;margin-bottom:8px}.order-summary-mini-head strong,.order-summary-mini-row strong{color:#1a7f8e}.order-summary-mini-items{display:grid;gap:6px}.order-summary-mini-row{background:#fff;border:1px solid #e2e8f0;border-radius:9px;padding:8px 10px;font-size:12px}.order-summary-mini-row span:first-child{font-weight:700;color:#334155}.order-summary-mini-row span:nth-child(2){color:#64748b;font-weight:700}.shopkeeper-page{max-width:820px;margin:0 auto;padding:14px 18px 32px}.shopkeeper-card{padding:24px;box-shadow:0 16px 30px #0f172a0f}.shopkeeper-search-input{height:50px;min-height:50px;font-size:15px;padding-left:44px}.shopkeeper-search-icon{top:15px}.shopkeeper-result{margin-top:22px;padding-top:22px;border-top:1.5px solid #f1f5f9}.shopkeeper-student-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:16px}.shopkeeper-student-head h2{font-size:22px;font-weight:900;color:#1e293b;margin:0 0 3px;line-height:1.1}.shopkeeper-info-grid{gap:12px;margin-bottom:16px}.shopkeeper-info-cell{background:#f8fafc;padding:12px;border-radius:12px}.shopkeeper-info-cell p{margin-top:0}.shopkeeper-order-card{margin-bottom:16px;background:#fff;border:1px solid #e2e8f0;border-radius:14px;overflow:hidden}.shopkeeper-order-row{padding:10px 14px;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px}.shopkeeper-total{margin-bottom:18px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.shopkeeper-total-amount{font-size:26px;font-weight:900;color:#1a7f8e;letter-spacing:0}.shopkeeper-deliver-btn{width:100%;height:52px;font-size:15px;gap:10px}@media(max-width:768px){.mobile-only{display:flex}.sidebar{position:fixed;left:-260px;z-index:2000;transition:all .3s cubic-bezier(.4,0,.2,1)}.sidebar.mobile-open{left:0}.sidebar-overlay{position:fixed;inset:0;background:#0f172a66;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1999;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.page{padding:12px;gap:16px}.topbar{padding:0 12px;min-height:70px}.title{font-size:18px}.grid.two,.grid.three,.grid.cards{grid-template-columns:1fr;gap:12px}.drawer{max-width:100%}.lookup-form{flex-direction:column}.lookup-submit{width:100%;height:52px}.shopkeeper-page{padding:8px 10px 86px;gap:10px;max-width:100%}.shopkeeper-card{padding:12px;border-radius:14px}.shopkeeper-search{gap:8px}.shopkeeper-search-input{height:44px!important;min-height:44px;font-size:14px!important;padding-left:40px!important;border-radius:12px}.shopkeeper-search-icon{top:12px!important;left:14px!important;width:18px;height:18px}.shopkeeper-search .lookup-submit{height:42px;border-radius:12px}.shopkeeper-result{margin-top:14px;padding-top:14px}.shopkeeper-student-head{margin-bottom:10px;gap:8px}.shopkeeper-student-head h2{font-size:18px;line-height:1.15}.shopkeeper-student-head p{font-size:12px!important}.shopkeeper-info-grid{display:grid;grid-template-columns:1fr;gap:8px;margin-bottom:10px}.shopkeeper-info-cell{padding:9px 10px;border-radius:10px}.shopkeeper-info-cell p{margin-bottom:2px!important;font-size:12px!important}.shopkeeper-info-cell p:first-child{font-size:10px!important;margin-bottom:4px!important}.shopkeeper-order-card{margin-bottom:10px;border-radius:12px}.shopkeeper-order-card>div:first-child{padding:9px 10px!important}.shopkeeper-order-row{padding:9px 10px;grid-template-columns:minmax(0,1fr) auto;gap:8px}.shopkeeper-order-row>span:last-child{grid-column:2;font-size:13px!important}.shopkeeper-order-row>span:nth-child(2){grid-column:1;justify-self:start;padding:3px 8px!important;font-size:11px!important}.shopkeeper-order-row p{font-size:13px!important}.shopkeeper-total{padding:10px 12px;border-radius:12px;margin-bottom:10px}.shopkeeper-total p{font-size:11px!important}.shopkeeper-total-amount{font-size:22px}.shopkeeper-deliver-btn{position:sticky;bottom:10px;z-index:30;height:48px;border-radius:14px;box-shadow:0 14px 24px #1a7f8e3d}.filter-row{flex-direction:column;align-items:stretch;gap:8px}.filter-group{min-width:0;flex:none;height:44px;padding:0 12px}.select-wrap{flex:none;min-width:0;width:100%}.select-wrap select{height:44px;padding:0 12px}.reports-filter-card{padding:14px}.reports-header{flex-direction:row;align-items:flex-start;margin-bottom:12px}.reports-header h2{font-size:18px}.reports-header p{font-size:12px}.reports-clear-btn{width:auto!important;height:36px!important;padding:0 12px!important;font-size:12px!important}.reports-filter-grid{grid-template-columns:1fr 1fr;gap:8px}.reports-school-filter,.reports-search-field{grid-column:1 / -1}.reports-field .input,.reports-field .select-wrap select{height:38px;min-height:38px;font-size:12px}.toolbar{flex-direction:column;align-items:stretch;gap:10px}.toolbar .btn{width:100%;height:48px;font-size:14px;padding:0 16px}.toolbar>div{margin-left:0!important;text-align:center;width:100%}.toolbar>div>div{flex-direction:column;gap:10px!important}.toolbar>div>div .btn{width:100%!important}.student-mobile-list{display:grid;gap:12px}.student-table-wrap{display:none}th,td{padding:12px 14px}.drawer header,.drawer .page,.drawer footer{padding-left:16px;padding-right:16px}.drawer footer{flex-direction:column}}.invoice-container{display:flex;justify-content:center;padding:20px;background:#f1f5f9}.invoice{width:148mm;min-height:210mm;padding:15mm;background:#fff;color:#000;font-family:Inter,sans-serif;line-height:1.4;position:relative;box-shadow:0 10px 30px #0000001a}.invoice-header{text-align:center;border-bottom:2px solid #000;padding-bottom:10px;margin-bottom:15px}.invoice-header h1{font-size:24px;font-weight:800;margin:0;text-transform:uppercase;letter-spacing:1px}.invoice-header p{margin:2px 0;font-size:13px;font-weight:600}.receipt-title{text-align:center;margin-bottom:15px}.receipt-title span{display:inline-block;background:#f1f5f9;border:1.5px solid #000;padding:4px 20px;font-weight:800;font-size:14px;border-radius:4px}.info-row{display:flex;justify-content:space-between;margin-bottom:15px;font-size:14px}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}.details-grid.three{grid-template-columns:1.5fr 1fr .5fr}.detail-item{display:flex;align-items:baseline;gap:6px;font-size:13px}.detail-item .label{font-weight:600;color:#475569;white-space:nowrap}.detail-item .value{font-weight:700;border-bottom:1px dotted #cbd5e1;flex:1}.description-section p{font-weight:700;margin-bottom:5px;font-size:13px}.total-box-container{display:flex;justify-content:flex-start;margin-top:25px}.total-amount-box{border:2.5px solid #000;padding:8px 24px;font-size:20px;font-weight:900;display:inline-block}.footer-note{margin-top:30px;font-size:11px;text-align:center;border-top:1px solid #e2e8f0;padding-top:10px}.signature-area{margin-top:40px;display:flex;justify-content:space-between}.signature-area p{font-size:12px;font-weight:700;border-top:1px solid #000;padding-top:5px;min-width:150px}@media print{@page{size:A5;margin:0}body{background:#fff!important}}.tabs{display:flex;gap:24px;border-bottom:1.5px solid var(--border);margin-bottom:24px;padding:0 40px}.tab-btn{background:transparent;border:0;padding:12px 4px;font-size:14px;font-weight:700;color:var(--text-muted);cursor:pointer;position:relative;transition:all .2s ease;display:flex;align-items:center;gap:8px}.tab-btn:hover{color:var(--text-main)}.price-edit-cell{display:flex;flex-direction:column;align-items:center;gap:8px}.btn.sm{padding:4px 12px;font-size:.8rem}.pricing-grid th{background:var(--bg-soft);text-align:center}.pricing-grid td{text-align:center;vertical-align:middle}.price-input-group{display:flex;align-items:center;justify-content:center;gap:8px;background:var(--bg-soft);padding:4px 12px;border-radius:6px;border:1px solid var(--border);width:fit-content;margin:0 auto}.price-input-group span{font-weight:600;color:var(--text-muted)}.price-input-group input{border:none;background:transparent;width:80px;font-size:1rem;font-weight:600;color:var(--text);outline:none;text-align:right}.price-input-group:focus-within{border-color:var(--primary);box-shadow:0 0 0 2px #1a7f8e1a}.tab-btn.active{color:var(--primary)}.tab-btn.active:after{content:"";position:absolute;bottom:-1.5px;left:0;right:0;height:2px;background:var(--primary);border-radius:2px}@media(min-width:769px)and (max-width:1180px){:root{--page-pad: 20px}.sidebar{width:220px}.title{font-size:24px}.toolbar{flex-wrap:wrap}.reports-filter-grid{grid-template-columns:repeat(4,minmax(130px,1fr))}.reports-school-filter,.reports-search-field{grid-column:span 2}.grid.two{grid-template-columns:1fr}}.btn:disabled,.btn[disabled]{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}.btn.success{background:#16a34a;color:#fff;box-shadow:0 10px 15px -3px #16a34a33}.btn.success:hover:not(:disabled){background:#15803d}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-bottom:24px}@media(max-width:768px){.drawer-body-padded{padding-left:16px!important;padding-right:16px!important}}:root{--ease-out: cubic-bezier(.23, 1, .32, 1);--shadow-card: 0 0 0 1px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04), 0 6px 16px -8px rgba(15, 23, 42, .08)}.card,.table-wrap,.filter-bar{border-color:transparent;box-shadow:var(--shadow-card)}.btn{transition:transform .15s var(--ease-out),background-color .15s ease,color .15s ease,box-shadow .15s ease,opacity .15s ease;-webkit-tap-highlight-color:transparent}.btn:active:not(:disabled){transform:scale(.96)}@media(hover:none){.btn.primary:hover{transform:none}}:where(button,a,input,select,textarea,[role=button],[tabindex]):focus-visible{outline:2px solid var(--primary);outline-offset:2px}.sidebar :where(button,a):focus-visible{outline-color:#5eead4}.input,.textarea,.filter-group,.select-wrap select{transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}.input::placeholder,.textarea::placeholder,.filter-group input::placeholder{color:#94a3b8}.nav button,.nav-group-header,.nav-sub-item{transition:background-color .15s ease,color .15s ease,box-shadow .15s ease}.badge{display:inline-flex;align-items:center;white-space:nowrap;line-height:1.2}.metric,.table-wrap td,.pricing-grid td{font-variant-numeric:tabular-nums}tr:hover td{background:transparent}@media(hover:hover)and (pointer:fine){.table-wrap tbody tr{transition:background-color .12s ease}.table-wrap tbody tr:hover td{background:#f6f9fb}}.title{text-wrap:balance}.muted{text-wrap:pretty}.drawer-overlay{background:#0f172a59;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);animation:overlayIn .2s ease-out}.drawer{animation:slideIn .28s cubic-bezier(.32,.72,0,1)}@keyframes overlayIn{0%{opacity:0}to{opacity:1}}.login-card{animation:riseIn .3s var(--ease-out)}@keyframes riseIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.skeleton{background:linear-gradient(90deg,#e8edf3 25%,#f3f6f9,#e8edf3 75%);background-size:200% 100%;animation:shimmer 1.4s ease-in-out infinite;border-radius:var(--radius-lg)}.skeleton-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px}.skeleton-card{height:96px}.skeleton-block{height:280px}@keyframes shimmer{to{background-position:-200% 0}}.empty-state{display:grid;gap:4px;justify-items:center;padding:48px 16px;text-align:center;color:var(--text-muted);font-size:14px}.empty-state strong{color:var(--text-main);font-size:16px}.page,.table-wrap,.drawer{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}.sidebar{scrollbar-width:thin;scrollbar-color:#334155 transparent}@media(max-width:768px){.input,.textarea,.filter-group input,.filter-group select,.select-wrap select{font-size:16px}}@supports (height: 100dvh){.main,.sidebar{height:100dvh}}@media(prefers-reduced-motion:reduce){.drawer,.login-card{animation:overlayIn .15s ease-out}.skeleton{animation:none}.btn:active:not(:disabled){transform:none}}.table-wrap th,.table-wrap td{padding-left:12px;padding-right:12px}.table-wrap .badge{white-space:normal;text-align:center;max-width:124px;border-radius:14px;padding:5px 10px}@media(max-width:768px){.filter-row{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:8px}.filter-row>:first-child,.filter-row>.btn,.filter-row>.select-wrap:last-of-type:nth-child(2n){grid-column:1 / -1}.filter-row .select-wrap,.filter-row .filter-group{min-width:0}}.dup-switch{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;cursor:pointer;font-family:inherit;font-weight:800;font-size:13px;color:#64748b;padding:4px;border-radius:99px}.dup-switch i{width:38px;height:22px;border-radius:99px;background:#cbd5e1;position:relative;transition:background-color .15s ease;flex-shrink:0}.dup-switch i:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0f172a4d;transition:transform .15s cubic-bezier(.23,1,.32,1)}.dup-switch.on i{background:#1a7f8e}.dup-switch.on i:after{transform:translate(16px)}.dup-switch.on{color:#0f4c57}.dup-option{display:flex;gap:12px;align-items:flex-start;border:1.5px solid #e2e8f0;border-radius:12px;padding:12px 14px;cursor:pointer}.dup-option input{width:20px;height:20px;accent-color:#1a7f8e;margin-top:2px;flex-shrink:0}.dup-option span{display:flex;flex-direction:column;gap:2px}.dup-option small{color:#64748b;font-size:12.5px}
