@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;color:#172b3e;background:#f5f8fb;font-synthesis:none;text-rendering:optimizeLegibility;font-smooth:always;--navy:#0b1f33;--muted:#75869a;--line:#e7edf3;--blue:#3678c7;--shadow:0 12px 32px rgba(26,57,89,.055)}
*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f5f8fb}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:var(--navy);color:#d6e1ee;padding:26px 16px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:11px;padding:1px 10px 33px;color:white;text-decoration:none}.brand-mark{width:36px;height:36px;border-radius:11px;background:#35a4a0;display:grid;place-items:center;color:white;font-family:Manrope,sans-serif;font-weight:800;font-size:20px}.brand strong{display:block;font:800 17px Manrope,sans-serif;letter-spacing:.2px}.brand small{display:block;color:#8298ae;font-size:9px;letter-spacing:1.45px;margin-top:3px}.nav-list{display:grid;gap:7px}.nav-item{height:44px;border-radius:9px;padding:0 12px;display:flex;align-items:center;gap:13px;text-decoration:none;color:#a9bbcd;font-size:13px;font-weight:600}.nav-item span{width:18px;text-align:center;font-size:18px}.nav-item.active{background:#183a57;color:#fff}.sidebar-note{margin-top:auto;border:1px solid #27435d;background:#102a43;border-radius:11px;padding:13px 11px;display:flex;align-items:flex-start;gap:9px}.sidebar-note strong,.sidebar-note small{display:block}.sidebar-note strong{font-size:11px;color:#e8f1fb}.sidebar-note small{font-size:10px;color:#91a9bf;margin-top:4px}.status-dot{width:8px;height:8px;border-radius:50%;background:#e9a744;flex:none;box-shadow:0 0 0 3px rgba(233,167,68,.12)}.main-content{margin-left:244px;padding:0 42px 30px;max-width:1600px}.topbar{height:72px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:17px}.topbar-spacer{flex:1}.connection-pill{border:1px solid #e8edf2;background:#fff;border-radius:20px;padding:8px 12px;display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600;color:#6e7e8e}.connection-pill .status-dot{width:7px;height:7px}.avatar{border:0;width:34px;height:34px;border-radius:50%;background:#dceeff;color:#2e68a4;font-weight:700}.mobile-brand{display:none}.welcome-row{padding:31px 0 23px;display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.eyebrow{font-size:10px;letter-spacing:1.35px;font-weight:700;color:#8c9bad;margin:0 0 8px}h1,h2,h3,p{margin-top:0}h1{font:800 27px Manrope,sans-serif;letter-spacing:-.8px;margin:0;color:#172b3e}h1 span{font-size:21px}.subtitle{font-size:13px;color:#8493a2;margin:7px 0 0}.primary-button{border:0;border-radius:9px;background:#3279bf;color:#fff;font-weight:700;font-size:12px;padding:11px 15px}.primary-button:disabled,.text-button:disabled{opacity:.5;cursor:not-allowed}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.stat-card,.panel{background:white;border:1px solid #eaf0f5;border-radius:13px;box-shadow:var(--shadow)}.stat-card{min-height:142px;padding:16px;display:grid;grid-template-columns:36px 1fr;grid-template-rows:25px 37px 18px;column-gap:9px;align-items:center}.stat-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:16px;font-weight:700}.blue{background:#edf5ff;color:#4280cb}.green{background:#e9f8f0;color:#36a477}.amber{background:#fff4e6;color:#d99134}.violet{background:#f3efff;color:#8363cf}.stat-label{font-size:11px;font-weight:600;color:#65788b}.stat-card strong{grid-column:1/3;font:800 26px Manrope,sans-serif;color:#1d344a}.stat-card small{grid-column:1/3;font-size:10px;color:#a2afbb}.content-grid{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(330px,.78fr);gap:16px;margin-top:17px}.panel{padding:19px}.student-panel{min-height:324px}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.panel-heading h2,.mini-panel h2{font:750 15px Manrope,sans-serif;margin:0;color:#20364b}.panel-heading p,.mini-panel p{font-size:11px;color:#8b9aaa;margin:6px 0 0}.text-button{border:0;background:none;color:#4f81b7;font-size:11px;font-weight:700;padding:4px}.empty-state{max-width:340px;margin:30px auto 12px;text-align:center}.empty-illustration{width:78px;height:66px;margin:0 auto 15px;border-radius:18px;background:#f2f7fc;position:relative;display:grid;place-items:center;color:#78a6d6;font-size:31px}.empty-illustration i{position:absolute;bottom:11px;width:8px;height:8px;border-radius:50%;background:#bed8f1}.empty-illustration i:first-of-type{left:10px}.empty-illustration i:last-of-type{right:10px}.empty-state h3{font:700 13px Manrope,sans-serif;margin:0 0 7px;color:#344b61}.empty-state p{font-size:11px;line-height:1.6;color:#91a0af;margin:0 auto 13px;max-width:290px}.hint-chip{display:inline-block;border-radius:20px;background:#f3f7fa;padding:6px 10px;color:#7d8fa2;font-size:9px;font-weight:700;letter-spacing:.2px}.setup-panel{background:linear-gradient(145deg,#fff 30%,#f4f9ff 100%)}.step-label{font-size:9px;letter-spacing:1.4px;color:#3583b7;font-weight:800;display:block;margin-bottom:6px}.setup-icon{width:31px;height:31px;background:#e8f3fc;border-radius:9px;display:grid;place-items:center;color:#4789bf;font-weight:700}.setup-copy{font-size:11px;line-height:1.65;color:#72859a;margin:15px 0}.setup-list{list-style:none;padding:0;margin:0;display:grid;gap:13px}.setup-list li{display:flex;gap:10px;align-items:center}.setup-list li>span{width:24px;height:24px;border-radius:50%;background:#eaf4fc;display:grid;place-items:center;color:#4083b9;font-size:10px;font-weight:800;flex:none}.setup-list strong,.setup-list small{display:block}.setup-list strong{font-size:10px;color:#3c5369}.setup-list small{font-size:9px;color:#98a7b5;margin-top:3px}.security-note{border-top:1px solid #e4edf4;margin-top:17px;padding-top:13px;display:flex;gap:9px;font-size:9px;line-height:1.5;color:#788ea0}.security-note span:first-child{font-size:15px;color:#4283b7}.lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.mini-panel{display:flex;align-items:center;gap:11px;padding:14px 16px}.mini-icon{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;font-weight:700;flex:none}.mini-panel>div:nth-child(2){flex:1}.mini-panel h2{font-size:12px}.mini-panel p{font-size:10px;margin-top:4px}.coming-soon{font-size:9px;color:#98a6b5;border:1px solid #e8edf1;padding:5px 8px;border-radius:14px;white-space:nowrap}footer{padding:23px 2px 0;color:#a5b0bb;font-size:10px}footer span{padding:0 5px}.mobile-brand{align-items:center;gap:8px;color:#19334c}.mobile-brand .brand-mark{width:29px;height:29px;border-radius:9px;font-size:16px}.mobile-brand strong{font:800 15px Manrope,sans-serif}

@media(max-width:1050px){.main-content{padding:0 26px 25px}.sidebar{width:215px}.main-content{margin-left:215px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-grid{grid-template-columns:1fr}.student-panel{min-height:300px}}
@media(max-width:650px){.sidebar{display:none}.main-content{margin:0;padding:0 16px 22px}.topbar{height:58px}.mobile-brand{display:flex}.connection-pill{font-size:0;padding:9px}.connection-pill .status-dot{width:8px;height:8px}.avatar{width:31px;height:31px}.welcome-row{align-items:flex-start;padding:25px 0 19px}.welcome-row h1{font-size:22px}.subtitle{font-size:11px;max-width:220px;line-height:1.5}.primary-button{font-size:0;padding:10px 13px;white-space:nowrap}.primary-button:first-letter{font-size:16px}.stats-grid{gap:10px}.stat-card{min-height:124px;padding:12px;grid-template-rows:24px 31px 15px;column-gap:7px}.stat-icon{width:29px;height:29px;border-radius:8px}.stat-label{font-size:10px}.stat-card strong{font-size:23px}.stat-card small{font-size:9px}.content-grid{margin-top:12px;gap:12px}.panel{padding:15px;border-radius:12px}.student-panel{min-height:286px}.panel-heading h2{font-size:14px}.empty-state{margin-top:26px}.setup-copy{font-size:10px}.lower-grid{grid-template-columns:1fr;gap:10px;margin-top:12px}.mini-panel{padding:12px 14px}.coming-soon{font-size:8px}footer{padding-top:18px}}

@media(prefers-reduced-motion:no-preference){.panel,.stat-card{transition:transform .18s ease,box-shadow .18s ease}.panel:hover,.stat-card:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(26,57,89,.08)}}

.setup-form{display:grid;gap:11px;margin:14px 0 4px}.setup-form[hidden],.students-list[hidden],.student-empty-title[hidden],.student-empty-copy[hidden],#student-empty-hint[hidden]{display:none}.setup-form label{display:grid;gap:5px;color:#52677c;font-size:10px;font-weight:700}.setup-form input{width:100%;min-height:38px;border:1px solid #dce6ef;border-radius:8px;padding:9px 10px;background:#fff;color:#243b51;font:500 11px 'DM Sans',sans-serif;outline:none}.setup-form input:focus{border-color:#5c9ed1;box-shadow:0 0 0 3px rgba(71,137,191,.13)}.full-button{width:100%;font-size:11px;cursor:pointer}.full-button:disabled{opacity:.65}.form-help{font-size:9px;color:#9aa8b6;margin:-3px 0 0}.setup-message{min-height:15px;font-size:10px;line-height:1.45;color:#72859a;margin:9px 0 0}.setup-message[data-kind="success"]{color:#278360}.setup-message[data-kind="error"]{color:#b54646}.students-list{display:grid;margin-top:16px;max-height:250px;overflow:auto}.student-row{display:grid;grid-template-columns:minmax(110px,1.4fr) .7fr 1fr .7fr;gap:8px;align-items:center;padding:10px 7px;border-bottom:1px solid #edf1f5;font-size:10px;color:#607489}.student-header{position:sticky;top:0;background:#fff;color:#9aa8b5;font-weight:700;text-transform:uppercase;font-size:8px;letter-spacing:.6px}.student-name{font-weight:700;color:#354e64}.student-status{text-transform:capitalize}.avatar[hidden]{display:none}
.change-config{border:0;background:transparent;color:#4a7eaa;font:600 10px 'DM Sans',sans-serif;text-decoration:underline;cursor:pointer;padding:4px}.change-config:hover{color:#275f8b}
.import-panel{max-width:520px;margin:22px auto 0;padding:16px;border:1px solid #e4edf4;border-radius:11px;background:#fbfdff;text-align:left}.import-panel[hidden]{display:none}.import-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.entry-title{font:700 12px Manrope,sans-serif;color:#344b61;margin:0 0 9px}.import-heading .entry-title{margin:0}.import-heading a{font-size:10px;font-weight:700;color:#3279bf;white-space:nowrap}.import-panel>p{font-size:10px;line-height:1.5;color:#8192a2;margin:7px 0 12px}.file-label{display:grid;gap:6px;font-size:10px;font-weight:700;color:#52677c}.file-label input{width:100%;font:10px 'DM Sans',sans-serif;color:#667b8f}.student-entry-form{display:grid;grid-template-columns:1fr 1fr;gap:9px}.student-entry-form label{display:grid;gap:5px;color:#52677c;font-size:10px;font-weight:700}.student-entry-form input,.import-panel textarea{width:100%;min-height:36px;border:1px solid #dce6ef;border-radius:8px;padding:8px 9px;background:#fff;color:#243b51;font:500 11px 'DM Sans',sans-serif;outline:none}.student-entry-form input:focus,.import-panel textarea:focus{border-color:#5c9ed1;box-shadow:0 0 0 3px rgba(71,137,191,.13)}.student-entry-form .full-button{grid-column:1/-1}.import-panel textarea{display:block;min-height:88px;resize:vertical;line-height:1.5}.secondary-button{margin-top:8px;border:1px solid #d8e5ef;border-radius:8px;background:#fff;color:#3478ad;padding:8px 11px;font:700 10px 'DM Sans',sans-serif;cursor:pointer}.entry-divider{height:1px;background:#e8eef3;margin:16px 0}.import-preview{min-height:14px;margin:9px 0;color:#71869a;font-size:10px;line-height:1.45}.import-preview[data-kind="success"]{color:#278360}.import-preview[data-kind="error"]{color:#b54646}.import-panel .full-button{font-size:11px;cursor:pointer}.import-panel .full-button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:650px){.import-panel{padding:13px}.student-entry-form{gap:8px}.student-entry-form label{font-size:9px}.student-entry-form input{min-width:0}.import-heading a{font-size:9px}}

/* Feature modules */
.theme-nav{border:0;width:100%;background:transparent;text-align:left;cursor:pointer;font:600 13px 'DM Sans',sans-serif}
.theme-action{width:34px;height:34px;border:1px solid #e2eaf0;border-radius:50%;background:#fff;color:#385b78;font-size:17px;cursor:pointer;flex:none}
.student-tools,.ledger-tools{display:flex;gap:8px;align-items:center;justify-content:space-between;margin:16px 0 8px;width:100%}
.bulk-defaults{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}
.bulk-defaults label{display:grid;gap:5px;color:#52677c;font-size:10px;font-weight:700}
.bulk-defaults input{width:100%;min-height:35px;border:1px solid #dce6ef;border-radius:8px;padding:8px 9px;background:#fff;color:#243b51;font:500 11px 'DM Sans',sans-serif}
.student-tools input,.ledger-tools input,.module-controls input,.module-controls select,.bulk-absent-label input,.payment-form input,.payment-form select{min-height:36px;border:1px solid #dce6ef;border-radius:8px;padding:8px 10px;background:#fff;color:#243b51;font:500 11px 'DM Sans',sans-serif;outline:none;min-width:0}
.student-tools input{flex:1}.student-tools select{min-height:36px;border:1px solid #dce6ef;border-radius:8px;padding:8px;background:#fff;color:#435a70;font:600 10px 'DM Sans',sans-serif}.student-tools[hidden]{display:none}
.module-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin-top:16px;align-items:start}
.module-panel{min-width:0}.module-panel .panel-heading{align-items:center}.module-panel .panel-heading p{max-width:390px;line-height:1.5}
.module-controls{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:17px 0 12px;align-items:end}
.module-controls label,.payment-form label,.bulk-absent-label{display:grid;gap:5px;color:#52677c;font-size:10px;font-weight:700;min-width:0}
.module-controls button{margin:0;min-height:34px}
.bulk-absent-label{margin:12px 0}.bulk-absent-label input{width:100%}
.module-list{max-height:310px;overflow:auto;border-top:1px solid #edf1f5}
.attendance-row,.payment-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 4px;border-bottom:1px solid #edf1f5;font-size:11px}
.attendance-row>span,.payment-row>span{display:grid;gap:3px;min-width:0}.attendance-row strong,.payment-row strong{color:#354e64;font-size:11px}.attendance-row small,.payment-row small{color:#91a0af;font-size:9px}.attendance-row select{width:100px;min-height:31px;border:1px solid #dce6ef;border-radius:7px;background:#fff;padding:5px;font:600 10px 'DM Sans',sans-serif;color:#435a70}
.payment-row b{color:#20364b;white-space:nowrap}.module-empty{color:#91a0af;font-size:10px;line-height:1.6;padding:10px 2px;margin:0}
.module-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px}.module-footer #attendance-message,.module-message{font-size:10px;line-height:1.5;color:#5f758a}.module-actions{display:flex;align-items:center;gap:7px}.module-footer .primary-button{white-space:nowrap}
.payment-form{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:17px 0}.payment-form label{font-size:10px}.payment-form .wide-field{grid-column:1/-1}
.ledger-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:17px 0 8px}.ledger-heading .entry-title{margin:0;white-space:nowrap}.ledger-tools{margin:0;justify-content:flex-end}.ledger-tools input{width:min(180px,50vw)}.ledger-tools .secondary-button{margin:0;white-space:nowrap;padding:8px}
.module-panel .primary-button,.import-panel .primary-button,.student-entry-form .primary-button{font-size:11px;cursor:pointer}
.student-row{grid-template-columns:minmax(100px,1.5fr) .6fr .8fr .6fr auto}
.student-actions{display:flex;gap:5px;justify-content:flex-end}.student-actions button{border:0;background:transparent;color:#3279bf;font:700 9px 'DM Sans',sans-serif;padding:4px 2px;cursor:pointer}.student-actions button:last-child{color:#8997a5}
.backup-panel{margin-top:16px}.backup-actions{display:grid;grid-template-columns:auto minmax(180px,1fr) auto;align-items:end;gap:12px;margin-top:16px}.backup-actions .secondary-button,.backup-actions .primary-button{font-size:10px;white-space:nowrap;cursor:pointer}.backup-actions .file-label input{display:block;margin-top:6px}
.monthly-report-tools{display:flex;justify-content:flex-end;align-items:end;gap:8px;margin:14px 0}.monthly-report-tools label{display:grid;gap:5px;color:#52677c;font-size:9px;font-weight:700}.monthly-report-tools input{min-height:34px;border:1px solid #dce6ef;border-radius:8px;padding:7px;background:#fff;color:#344b61;font:500 10px 'DM Sans',sans-serif}.monthly-report-tools button{margin:0;white-space:nowrap}
.edit-dialog{width:min(560px,calc(100% - 28px));max-height:90vh;overflow:auto;border:1px solid #e4edf4;border-radius:14px;padding:20px;background:#fff;color:#243b51;box-shadow:0 25px 80px rgba(14,37,58,.24)}.edit-dialog::backdrop{background:rgba(13,30,45,.55)}.edit-dialog form{display:grid;gap:15px}.edit-dialog .student-entry-form{grid-template-columns:1fr 1fr}.edit-dialog .student-entry-form .full-button{grid-column:1/-1}.dialog-close{width:30px;height:30px;border:1px solid #e2eaf0;border-radius:50%;background:#fff;color:#4a6075;font-size:18px;cursor:pointer}
.print-report-only{display:none}
@media(max-width:950px){.module-grid{grid-template-columns:1fr}}
@media(max-width:650px){.theme-nav{display:none}.module-grid{gap:12px;margin-top:12px}.module-controls{gap:7px}.module-controls label,.payment-form label,.bulk-absent-label{font-size:9px}.payment-form{gap:8px}.module-footer{align-items:flex-start;flex-direction:column}.module-actions{width:100%}.module-actions button{flex:1}.module-footer .primary-button{width:100%}.ledger-heading{align-items:flex-start;flex-direction:column}.ledger-tools{width:100%;justify-content:space-between}.ledger-tools input{flex:1}.student-row{grid-template-columns:minmax(65px,1fr) .38fr .5fr .4fr auto;gap:4px;padding:9px 3px;font-size:8px}.student-actions{gap:3px}.student-actions button{font-size:8px}.student-tools{flex-wrap:wrap}.student-tools input{min-width:120px}.student-tools select{flex:none}.backup-actions{grid-template-columns:1fr}.monthly-report-tools{justify-content:flex-start;flex-wrap:wrap}.edit-dialog{padding:14px}}

/* Locally remembered light/dark display preference. */
html[data-theme="dark"] body{background:#101a24;color:#e5edf5}
html[data-theme="dark"] .main-content{color:#e5edf5}
html[data-theme="dark"] .panel,html[data-theme="dark"] .stat-card,html[data-theme="dark"] .connection-pill{background:#192735;border-color:#2a3a49;box-shadow:none}
html[data-theme="dark"] h1,html[data-theme="dark"] .stat-card strong,html[data-theme="dark"] .panel-heading h2,html[data-theme="dark"] .mini-panel h2,html[data-theme="dark"] .payment-row b{color:#e5edf5}
html[data-theme="dark"] .subtitle,html[data-theme="dark"] .panel-heading p,html[data-theme="dark"] .stat-label,html[data-theme="dark"] .setup-copy,html[data-theme="dark"] .empty-state p{color:#a7b6c5}
html[data-theme="dark"] .topbar{border-color:#2a3a49}html[data-theme="dark"] .setup-panel{background:#192735}html[data-theme="dark"] .theme-action{background:#192735;border-color:#344858;color:#e5edf5}
html[data-theme="dark"] .import-panel,html[data-theme="dark"] .student-header{background:#162330;border-color:#2a3a49}
html[data-theme="dark"] .student-entry-form input,html[data-theme="dark"] .import-panel textarea,html[data-theme="dark"] .setup-form input,html[data-theme="dark"] .student-tools input,html[data-theme="dark"] .ledger-tools input,html[data-theme="dark"] .module-controls input,html[data-theme="dark"] .module-controls select,html[data-theme="dark"] .bulk-absent-label input,html[data-theme="dark"] .payment-form input,html[data-theme="dark"] .payment-form select,html[data-theme="dark"] .attendance-row select,html[data-theme="dark"] .bulk-defaults input{background:#101a24;border-color:#344858;color:#e5edf5}
html[data-theme="dark"] .student-row,html[data-theme="dark"] .attendance-row,html[data-theme="dark"] .payment-row,html[data-theme="dark"] .module-list{border-color:#2a3a49}
html[data-theme="dark"] .student-name,html[data-theme="dark"] .attendance-row strong,html[data-theme="dark"] .payment-row strong,html[data-theme="dark"] .entry-title{color:#dce7f1}
html[data-theme="dark"] .secondary-button{background:#192735;border-color:#344858;color:#9cc9ed}
html[data-theme="dark"] .student-tools select,html[data-theme="dark"] .monthly-report-tools input{background:#101a24;border-color:#344858;color:#e5edf5}html[data-theme="dark"] .edit-dialog{background:#192735;color:#e5edf5;border-color:#344858}html[data-theme="dark"] .dialog-close{background:#101a24;border-color:#344858;color:#e5edf5}

@media print{body *{visibility:hidden!important}#monthly-report-print-area{display:block!important;visibility:visible!important;position:absolute;inset:0;padding:18px;color:#111;background:#fff;font:11pt Arial,sans-serif}#monthly-report-print-area *{visibility:visible!important}#monthly-report-print-area h1{font-size:18pt;color:#111;margin-bottom:8px}#monthly-report-print-area p{font-size:11pt}#monthly-report-print-area table{width:100%;border-collapse:collapse;margin:16px 0}#monthly-report-print-area th,#monthly-report-print-area td{border:1px solid #aaa;padding:6px;text-align:left;font-size:9pt}#monthly-report-print-area small{font-size:8pt;color:#555}}

/* Full Command Center modules */
.sidebar{overflow-y:auto}.nav-list{gap:5px}.nav-item{min-height:40px;height:auto;font-size:12px}.extended-modules{margin-top:16px;scroll-margin-top:18px}.module-panel{scroll-margin-top:18px}.payment-form textarea,.payment-form input[type="file"],.payment-form select{min-height:36px;border:1px solid #dce6ef;border-radius:8px;padding:8px 10px;background:#fff;color:#243b51;font:500 11px 'DM Sans',sans-serif;min-width:0}.payment-form textarea{resize:vertical;line-height:1.5}.payment-form .file-label{display:grid}.mark-row,.resource-row,.productivity-row,.history-row{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:10px 4px;border-bottom:1px solid #edf1f5;font-size:10px}.mark-row>span,.resource-row>span,.productivity-row>span,.history-row{min-width:0}.mark-row>span,.resource-row>span,.productivity-row>span{display:grid;gap:3px;flex:1}.mark-row strong,.resource-row strong,.productivity-row strong,.history-row strong{color:#354e64;font-size:10px}.mark-row small,.resource-row small,.productivity-row small,.history-row small{color:#91a0af;font-size:9px}.mark-row input{width:82px;min-width:0;min-height:32px;border:1px solid #dce6ef;border-radius:7px;padding:6px;background:#fff;color:#344b61;font:10px 'DM Sans',sans-serif}.mark-row input[type="text"]{width:min(190px,40%)}.history-row{width:100%;text-align:left;background:transparent;border:0;border-bottom:1px solid #edf1f5;cursor:pointer}.history-row:hover{background:#f6f9fc}.resource-row p,.productivity-row p{margin:3px 0 0;color:#72859a;font-size:10px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.resource-row .secondary-button,.productivity-row .secondary-button{margin:0;white-space:nowrap}.report-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin:12px 0}.report-stats .stat-card{min-height:110px;padding:12px;grid-template-rows:20px 30px 14px}.report-stats .stat-card strong{font-size:20px;overflow-wrap:anywhere}.productivity-filters{margin:10px 0}.productivity-filters select{min-height:34px;border:1px solid #dce6ef;border-radius:8px;padding:7px;background:#fff;color:#435a70;font:600 10px 'DM Sans',sans-serif}.productivity-row.is-done strong{text-decoration:line-through;color:#8b9aaa}.extended-modules .ledger-heading input{max-width:180px;min-height:32px;border:1px solid #dce6ef;border-radius:7px;padding:7px;font:10px 'DM Sans',sans-serif}.nav-item{scroll-margin-top:15px}
.alerts-panel{margin-top:15px;padding-top:15px;padding-bottom:13px}.dashboard-alerts{margin:11px 0 0;padding-left:17px;display:grid;gap:6px;color:#647a8e;font-size:10px;line-height:1.5}
@media(max-width:650px){.sidebar{display:block;position:sticky;inset:0 0 auto;width:100%;height:auto;padding:7px 8px;background:#0b1f33}.sidebar .brand,.sidebar-note{display:none}.nav-list{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}.nav-list::-webkit-scrollbar{display:none}.nav-item{height:34px;min-height:34px;padding:0 9px;gap:6px;white-space:nowrap;font-size:10px}.nav-item span{width:auto;font-size:13px}.main-content{margin:0;padding:0 16px 22px}.mark-row{flex-wrap:wrap}.mark-row>span{flex-basis:100%}.mark-row input[type="text"]{flex:1;width:auto}.report-stats{gap:8px}.report-stats .stat-card{min-height:98px}.resource-row,.productivity-row{align-items:flex-start}.extended-modules{margin-top:12px}.payment-form .file-label input{max-width:100%;font-size:9px}}
html[data-theme="dark"] .payment-form textarea,html[data-theme="dark"] .payment-form input[type="file"],html[data-theme="dark"] .mark-row input,html[data-theme="dark"] .extended-modules .ledger-heading input,html[data-theme="dark"] .productivity-filters select{background:#101a24;border-color:#344858;color:#e5edf5}html[data-theme="dark"] .mark-row,html[data-theme="dark"] .resource-row,html[data-theme="dark"] .productivity-row,html[data-theme="dark"] .history-row{border-color:#2a3a49}html[data-theme="dark"] .mark-row strong,html[data-theme="dark"] .resource-row strong,html[data-theme="dark"] .productivity-row strong,html[data-theme="dark"] .history-row strong{color:#dce7f1}
