:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#183344;background:#f3f6f8;font-size:16px;--nav:#123344;--accent:#086c68;--line:#dce4e9;--muted:#596d7a}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:7px;padding:10px 15px;background:white;color:var(--nav);font-weight:600;min-height:42px}button:hover{background:#edf3f4}button:disabled{opacity:.55;cursor:wait}button.primary{background:var(--accent);color:#fff;border-color:var(--accent)}button.danger{color:#a12424}button.small{font-size:14px;padding:7px 10px;min-height:36px}button.link{border:0;background:none;text-decoration:underline;padding:4px;min-height:32px}input,select,textarea{width:100%;padding:11px;border:1px solid #b7c5ce;border-radius:6px;color:#183344;background:#fff;min-height:44px}input:focus,textarea:focus,select:focus,button:focus-visible{outline:3px solid #56aece;outline-offset:2px}input[readonly]{background:#eef3f5}textarea{resize:vertical;min-height:85px}label{display:grid;gap:7px;font-size:14px;font-weight:600}h1{font-size:29px;letter-spacing:-.6px;margin:0 0 8px}h2{font-size:19px;margin:0}h3{font-size:16px;margin:0 0 12px}p{line-height:1.55}small,.muted{color:var(--muted)}small{font-size:13px}.layout{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--nav);color:#fff;padding:30px 17px;position:sticky;top:0;height:100vh;overflow:auto;display:flex;flex-direction:column;gap:24px}.brand{display:flex;gap:12px;align-items:center;padding:0 10px;font-size:19px;font-weight:700}.brandmark{display:grid;place-items:center;background:#1d5265;width:38px;height:38px;border-radius:8px;color:#6ae4cc;font-size:25px}.brand small{display:block;color:#b1c8d3;font-weight:400;margin-top:3px}.nav{display:grid;gap:3px}.nav button{text-align:left;color:#d3e0e7;border:0;background:transparent;font-size:14px;padding:11px 13px}.nav button:hover{background:#22485b}.nav button.active{background:#e1f4ef;color:#104d47}.nav-label{font-size:12px;color:#a5becc;letter-spacing:1.3px;padding:17px 13px 6px}.userbox{margin-top:auto;border-top:1px solid #385463;padding:18px 10px 0;font-size:14px}.userbox small{color:#bdd0dc}.userbox button{display:block;margin-top:12px;background:transparent;border-color:#5c7583;color:white}.main{padding:32px 38px;min-width:0}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;font-size:14px;color:var(--muted);gap:12px}.local{background:#e6efee;color:#325d59;padding:6px 10px;border-radius:5px;font-size:13px}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.pagehead p{margin:0;color:var(--muted);font-size:14px}.toolbar{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:22px}.toolbar label{max-width:210px;flex:1;min-width:145px}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:23px}.card{border:1px solid var(--line);background:#fff;border-radius:10px;padding:21px}.card .label{font-size:14px;color:var(--muted);margin-bottom:12px}.card .value{font-size:25px;font-weight:700;letter-spacing:-.6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.card small{display:block;margin-top:8px}.card.highlight{background:var(--nav);color:white;border:0}.card.highlight .label,.card.highlight small{color:#c6dbe5}.card.positive .value{color:var(--accent)}.section{border:1px solid var(--line);background:#fff;border-radius:10px;margin-bottom:24px;overflow:hidden}.sectionhead{padding:20px 22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px}.sectionhead small{font-size:14px}.sectionbody{padding:22px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th{text-align:left;font-size:12px;letter-spacing:.3px;color:#526775;background:#f7f9fb;font-weight:650;text-transform:uppercase;padding:13px 17px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:15px 17px;border-bottom:1px solid #e8edef;vertical-align:top;line-height:1.45}tr:last-child td{border-bottom:0}.money{white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right}td .secondary{font-size:13px;color:var(--muted);margin-top:4px}.badge{display:inline-block;background:#edf2f5;padding:5px 8px;border-radius:5px;font-size:12px;white-space:nowrap;color:#486371}.badge.green{background:#e0f4ed;color:#12674f}.badge.amber{background:#fff1d6;color:#815300}.badge.red{background:#ffe9e6;color:#a13025}.empty{text-align:center;padding:45px 20px;color:var(--muted)}.empty strong{display:block;color:#284554;font-size:17px;margin-bottom:8px}.breakdown{display:grid;grid-template-columns:repeat(3,1fr)}.breakdown>div{padding:24px;border-right:1px solid var(--line)}.breakdown>div:last-child{border-right:0}.breakdown strong{display:block;margin:10px 0 5px;font-size:23px}.hint{padding:13px 16px;background:#eef5f7;border-left:3px solid #7fa8ba;font-size:14px;color:#3b5969;line-height:1.6;margin:17px 0}.auth{max-width:450px;margin:8vh auto;background:#fff;padding:36px;border:1px solid var(--line);border-radius:14px}.auth .brand{padding:0;margin-bottom:28px}.auth form{display:grid;gap:17px}.auth h1{font-size:24px}.auth p{color:var(--muted);font-size:14px}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.formgrid .wide{grid-column:1/-1}.actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px;flex-wrap:wrap}.error{color:#9d2727;background:#fff0ee;padding:12px;border-radius:5px;font-size:14px}.error:empty{display:none}dialog{border:0;border-radius:12px;box-shadow:0 20px 80px #0d253946;width:min(800px,94vw);max-height:90vh;padding:0;color:#183344}dialog::backdrop{background:#0e263c80}.modalhead{padding:23px 26px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.modalbody{padding:25px 26px}.details{display:grid;grid-template-columns:1fr 1fr;gap:17px}.details>div{overflow-wrap:anywhere}.details dt{font-size:13px;color:var(--muted);margin-bottom:5px}.details dd{margin:0;font-size:15px}.version{border:1px solid var(--line);border-radius:7px;margin:15px 0;padding:18px}.version h3{margin:0 0 8px}.version p{font-size:14px;margin:6px 0}.version details{margin-top:15px}#notice{position:fixed;bottom:25px;right:25px;max-width:440px;background:#163f42;color:white;border-radius:8px;box-shadow:0 8px 30px #0002;padding:15px 20px;z-index:20}#notice:empty{display:none}.report-title{margin:20px 0}.report-block{border:1px solid #acbcc6;margin-bottom:18px;background:#fff;break-inside:auto}.report-block h2{padding:11px 14px;background:#e7edf2;font-size:16px;border-bottom:1px solid #acbcc6}.report-inner{display:grid;grid-template-columns:minmax(0,1fr) 170px}.report-metrics{border-left:1px solid #acbcc6;padding:12px;font-size:13px}.report-metrics strong{display:block;margin:4px 0 15px;font-size:16px}.report-block table{font-size:12px}.report-block th{font-size:11px;padding:9px}.report-block td{padding:9px}.summarypair{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:16px}.summarypair p{display:flex;justify-content:space-between;margin:8px 0;font-size:14px;gap:14px}.printonly{display:none}.checkline{display:flex;align-items:center;gap:10px}.checkline input{width:18px;min-height:18px}.periodsum{margin-bottom:16px;padding:12px 16px;background:#e7f3ef}.historytable td{white-space:pre-wrap;overflow-wrap:anywhere}.mobiletitle{display:none}
@media(min-width:1500px){.main{max-width:1550px;width:100%;margin:0 auto}}
@media(max-width:1100px){.main{padding:26px 22px}.layout{grid-template-columns:205px minmax(0,1fr)}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.card .value{font-size:24px}}
@media(max-width:700px){.layout{display:block}.sidebar{height:auto;position:static;padding:16px;gap:12px}.brand{font-size:17px}.nav{display:flex;overflow-x:auto;gap:6px;padding-bottom:5px}.nav button{white-space:nowrap}.nav-label{display:none}.userbox{display:flex;align-items:center;gap:14px;padding:8px 4px 0}.userbox button{margin:0 0 0 auto;padding:6px 12px;min-height:34px}.userbox small{display:none}.main{padding:22px 15px}.topbar{margin-bottom:20px;font-size:12px}.local{font-size:12px}.pagehead{align-items:flex-start;flex-wrap:wrap}h1{font-size:25px}.cards{gap:10px}.card{padding:16px 13px}.card .value{font-size:21px}.card .label{font-size:13px}.breakdown{grid-template-columns:1fr}.breakdown>div{border-right:0;border-bottom:1px solid var(--line);padding:18px}.formgrid,.details{grid-template-columns:1fr}.auth{margin:30px 15px;padding:25px}.report-inner{grid-template-columns:1fr}.report-metrics{border-left:0;border-top:1px solid var(--line);display:flex;gap:20px;flex-wrap:wrap}.summarypair{grid-template-columns:1fr}.modalbody{padding:20px}#notice{left:15px;right:15px;bottom:15px}.sectionhead{padding:17px;flex-wrap:wrap}}
@media print{@page{size:A4 landscape;margin:10mm}body{background:#fff;color:#000}.sidebar,.topbar,.pagehead,.toolbar,.no-print,#notice,dialog{display:none!important}.layout{display:block}.main{padding:0;max-width:none}.printonly{display:block}.report-title h1{font-size:20px}.report-block{border-color:#777;margin-bottom:12px;border-radius:0;overflow:visible}.tablewrap{overflow:visible}.report-block table{font-size:9px;table-layout:auto}.report-block th{font-size:8px;white-space:normal}.report-block td,.report-block th{padding:5px;border-bottom:1px solid #ccc;overflow-wrap:anywhere}.report-block h2{font-size:12px;padding:7px;background:#e5e5e5!important;print-color-adjust:exact}.report-inner{display:block;position:relative}.report-metrics{border-left:0;border-top:1px solid #aaa;display:flex;gap:24px;padding:7px;font-size:10px}.report-metrics strong{display:inline;margin-left:5px;font-size:11px}.summarypair{display:grid;grid-template-columns:1fr 1fr;padding:10px}.summarypair p{font-size:11px}.summarypair h3{font-size:12px}thead{display:table-header-group}tr{break-inside:avoid}.report-title{margin:0 0 12px}.report-title p{font-size:11px;margin:3px 0}.periodsum{font-size:11px}.empty{padding:10px;font-size:10px}.money{white-space:nowrap}}

.category-subtitle{display:block;font-size:.58em;line-height:1.5;font-weight:500;margin-top:4px;letter-spacing:.02em}.nav .category-subtitle{font-size:.73em;color:inherit;opacity:.85}.company-logo{width:48px;height:48px;object-fit:contain;flex-shrink:0}.brand>div{overflow-wrap:anywhere}.sidebar .brand{font-size:15px;gap:8px}.sidebar .brandmark,.sidebar .company-logo{flex-shrink:0;width:36px;height:36px}.password-toggle{font-size:12px;padding:5px 8px;justify-self:start}.schedule{border:1px solid #d8e3e4;padding:16px;border-radius:10px}.schedule-row{display:grid;grid-template-columns:100px 1fr 1fr;gap:12px;align-items:center;margin-top:12px}.schedule p{font-size:13px;color:#52676b}.report-brand{color:#183c43}.report-brand small{color:#52676b}.sectionbody{padding:20px}@media(max-width:600px){.schedule-row{grid-template-columns:1fr 1fr}.schedule-row>strong{grid-column:1/-1}.category-subtitle{font-size:.6em}.pagehead h1{font-size:24px}}@media print{.report-brand .company-logo{width:40px;height:40px}.report-block h2 .category-subtitle{font-size:10px}}

.payment-options{border:1px solid #d8e3e4;border-radius:10px;padding:14px;min-width:0}.payment-options legend{font-weight:600;padding:0 6px}.payment-options p{font-size:13px;color:#52676b;margin:0 0 12px}.payment-options>div{display:grid;grid-template-columns:1fr 1fr;gap:12px}.payment-options label{display:flex;align-items:center;gap:8px;font-size:13px}.payment-options input{width:18px;height:18px;flex-shrink:0;margin:0}#entryform input[type=text]:not([data-money]),#entryform textarea{text-transform:uppercase}@media(max-width:600px){.payment-options>div{grid-template-columns:1fr}}

/* Dark workspace inspired by the supplied reference. Print remains on white paper. */
@media screen{
 :root{color-scheme:dark;color:#e2eef4;background:#0b141a;--nav:#0a141b;--accent:#19c7c4;--line:#263d49;--muted:#a0bac8;font-family:Segoe UI,Inter,Arial,sans-serif}
 body{background:radial-gradient(ellipse at 70% 0%,#172c35 0,transparent 65%),#0d171d;color:#e2eef4}
 button{background:#1a2c36;color:#e1edf3;border-color:#304956;border-radius:7px;transition:background .15s,border-color .15s;box-shadow:none}
 button:hover{background:#233e49;border-color:#4b707e}
 button.primary{color:#062d32;background:linear-gradient(135deg,#2ce0d1,#17b9c7);border:1px solid #2dd4d1;box-shadow:0 4px 18px #0ac5c41b}
 button.primary:hover{background:linear-gradient(135deg,#60efe0,#31cfdb);border-color:#70eee3}
 button.danger{color:#ffaba8}button.link{color:#6fddd5}
 input,textarea,select{color:#e4f0f6;background:#1a2d37;border:1px solid #304956;border-radius:6px;accent-color:#23cec5}
 input::placeholder,textarea::placeholder{color:#91aebb;opacity:1}
 input[readonly]{background:#12232d;color:#b3cbd7}
 input:focus,textarea:focus,select:focus,button:focus-visible{outline:2px solid #41d9d4;outline-offset:2px;border-color:#41d9d4}
 input[type=checkbox]{min-height:18px;accent-color:#25d5c8}
 label{color:#c8dce6}small,.muted{color:var(--muted)}
 h1,h2,h3{color:#e9f4fc}h1{font-size:28px;letter-spacing:-.6px}h2{font-size:18px}
 .layout{grid-template-columns:224px minmax(0,1fr)}
 .sidebar{background:linear-gradient(150deg,#0b171e,#071117);border-right:1px solid #28404a;padding:24px 12px 18px;gap:17px;scrollbar-width:thin;scrollbar-color:#35535f transparent}
 .sidebar .brand{padding:0 10px;font-size:15px;gap:10px;min-height:48px;line-height:1.4}
 .sidebar .brandmark{background:#15353e;color:#59ead8;border:1px solid #2a5159;font-size:22px}
 .brand small{color:#9ab5c4;font-size:12px}
 .nav{gap:3px}.nav button{display:flex;align-items:center;gap:12px;min-height:42px;padding:9px 12px;font-weight:500;font-size:14px;color:#d0e0e7;border-radius:6px;line-height:1.4}
 .nav .ui-icon{width:18px;height:18px;flex-shrink:0;color:#c5d8e2}
 .nav button>span{min-width:0}
 .nav .category-subtitle{font-size:12px;line-height:1.4;margin-top:1px;letter-spacing:0;color:#a6c1ce;opacity:1}
 .nav button:hover{background:#152e38}.nav button.active{background:linear-gradient(90deg,#154a4e,#12383f);color:#e7ffff;box-shadow:inset 2px 0 #27d4cd}
 .nav button.active .ui-icon{color:#6df5e1}.nav button.active small{color:#baeee7}
 .nav-label{font-size:12px;letter-spacing:1px;color:#83a6b6;padding:16px 12px 5px}
 .userbox{border-color:#223d48;padding:16px 10px 0;color:#d2e3eb}.userbox small{color:#93b5c5}.userbox button{border-color:#34515e;color:#d5e6ef;font-size:13px}
 .main{padding:0 30px 28px;max-width:none}
 .topbar{min-height:66px;padding:13px 0;margin:0 0 25px;border-bottom:1px solid #233b46;font-size:12px;letter-spacing:.2px;color:#87adbf;line-height:1.5}
 .account-chip{display:flex;align-items:center;gap:10px;flex-shrink:0;color:#d8e9f2;letter-spacing:0}.account-chip strong{font-size:13px;font-weight:600;display:block}.account-chip small{font-size:12px;display:block;color:#91adba}.account-avatar{background:#447f87;color:#e7fcfa;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:600}
 .pagehead{margin-bottom:23px;align-items:center}.pagehead h1 .category-subtitle{font-size:14px;color:#a8cadb;margin-top:6px;font-weight:400}.pagehead p{font-size:14px;color:#94b5c4}
 .toolbar{gap:16px;margin-bottom:20px}.toolbar label{max-width:270px}.toolbar input{background:#1a2e38}.toolbar .muted{font-size:13px;padding-bottom:13px}
 .cards{gap:16px}.ledger-cards{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
 .card{background:linear-gradient(135deg,#1c333b,#172833);border:1px solid #29414e;border-radius:9px;padding:22px 18px;min-height:133px;display:flex;gap:16px;align-items:flex-start;box-shadow:0 5px 20px #0000000b}
 .metric-content{min-width:0;flex:1}.metric-icon{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;border-radius:8px;background:#173e57;color:#39baff}.metric-icon .ui-icon{width:27px;height:27px}.metric-icon.box{background:linear-gradient(145deg,#13736c,#12443e);color:#9bf5d8;box-shadow:0 0 24px #1ee8bf16}.metric-icon.calendar{background:#1b3b60;color:#69a5ff}.metric-icon.out{color:#efbfa0;background:#4d3830}.metric-icon.clock{color:#7edfd9;background:#184048}
 .card .label{font-size:14px;color:#c1d8e3;line-height:1.4;margin-bottom:8px}.card .value{font-size:25px;letter-spacing:-.5px;color:#e9f5fc;line-height:1.2}.card small{font-size:12px;color:#a9c1d0;line-height:1.5;margin-top:13px}.card.highlight{background:linear-gradient(125deg,#193d40,#182e38);border:1px solid #2a5a5e}.card.highlight .label,.card.highlight small{color:#c1e3e2}.card.positive .value{color:#80ead1}
 .section{background:linear-gradient(140deg,#14262f,#101d25);border:1px solid #2b4552;border-radius:8px;box-shadow:0 8px 24px #0000000c}.sectionhead{padding:17px 19px;background:#1a2e38;border-bottom:1px solid #2b4552}.sectionhead h2{font-size:17px}.sectionhead small{font-size:13px;color:#a8c3d0}
 th{background:#12232c;color:#9ec0d0;font-size:12px;font-weight:500;letter-spacing:0;border-color:#2b4350;padding:13px 17px}td{border-color:#243a45;color:#d5e5ee;padding:16px 17px}tbody tr:hover{background:#19313b}td .secondary{color:#91aebe}
 .badge{background:#203743;color:#aac8d7;border:1px solid #355361}.badge.green{background:#153d35;color:#98efd0;border-color:#276b57}.badge.amber{background:#3c3320;color:#f0d394;border-color:#665634}.badge.red{background:#45282d;color:#ffb0b3;border-color:#704048}
 .empty{padding:44px 20px;color:#8eb0c1;display:flex;flex-direction:column;align-items:center;font-size:14px;gap:6px}.empty>.ui-icon{width:39px;height:39px;color:#5d93a9;margin-bottom:12px}.empty strong{color:#d6e9f4;font-size:16px;margin-bottom:0}.empty .primary{margin-top:12px;min-height:38px;font-size:14px;padding:8px 16px}
 .breakdown>div{border-color:#2b4350;color:#b6d0df}.breakdown strong{color:#ebf7fc}.breakdown small{color:#91b1c3}
 .hint{background:#19323b;color:#bed7e2;border-left-color:#36b8b5}.error{background:#40272e;color:#ffc0bc;border:1px solid #6a3943}
 .auth{background:linear-gradient(140deg,#1b303b,#101e26);border-color:#2d4755;box-shadow:0 22px 75px #0005}.auth p{color:#a5c0cf}
 dialog{background:#142630;color:#e4eff5;border:1px solid #385360;box-shadow:0 25px 90px #0009}dialog::backdrop{background:#020c15b3;backdrop-filter:blur(3px)}.modalhead{background:#182f3a;border-color:#2e4754;padding:21px 25px}.modalhead h2{line-height:1.5}.modalbody{padding:25px}.details dt{color:#95b5c5}.details dd{color:#e4f1f8}.version{border-color:#324d5b;background:#172b35}
 .schedule,.payment-options{border-color:#34505e;background:#122630}.schedule p,.payment-options p{color:#a9c5d3}.payment-options legend{color:#cde9f4}#pending-schedule{border:0;padding:0;margin:0;min-width:0}
 #notice{background:#164344;border:1px solid #3b7775;color:#e0fffa;box-shadow:0 8px 28px #0005}
 .report-block{background:#142630;border-color:#36515e;border-radius:7px;overflow:hidden}.report-block h2{background:#203843;border-color:#36515e;color:#e8f4fc}.report-block .category-subtitle{color:#acd0de}.report-metrics{border-color:#36515e;color:#b1cedd}.report-metrics strong,.summarypair strong{color:#e8f7ff}.report-brand,.report-brand small{color:#c6e3ee}.periodsum{background:#173b3d;border:1px solid #2b595b;color:#c2e8e6;border-radius:6px}
 .ui-icon{width:20px;height:20px;vertical-align:middle}
 ::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-track{background:#102029}::-webkit-scrollbar-thumb{background:#355461;border-radius:8px;border:2px solid #102029}
 @media(max-width:1200px){.layout{grid-template-columns:210px minmax(0,1fr)}.main{padding:0 24px 24px}.cards:not(.ledger-cards){grid-template-columns:repeat(2,minmax(0,1fr))}.card{gap:12px;padding:20px 16px}.metric-icon{width:40px;height:40px}.card .value{font-size:23px}.ledger-cards{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}}
 @media(max-width:700px){.layout{display:block}.sidebar{height:auto;position:static;padding:14px 13px;gap:12px;border-bottom:1px solid #294451;border-right:0}.sidebar .brand{min-height:40px}.nav{display:flex;padding:4px 0 7px;gap:7px}.nav button{min-width:max-content;min-height:46px;padding:9px 13px;border:1px solid #233d49}.nav button.active{box-shadow:none;border-color:#286368}.nav .category-subtitle{font-size:12px}.nav-label{display:none}.userbox{display:flex;padding:10px 8px 0}.main{padding:0 15px 22px}.topbar{min-height:56px;margin-bottom:20px;gap:14px}.topbar>span{font-size:12px;line-height:1.5}.account-chip{display:none}.pagehead{gap:13px;flex-wrap:wrap}.pagehead h1{font-size:25px}.pagehead h1 .category-subtitle{font-size:13px}.pagehead>button{min-height:42px}.cards,.ledger-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.card{padding:16px 12px;gap:10px;min-height:126px;display:block}.metric-icon{width:32px;height:32px;float:right;margin-left:5px;margin-bottom:9px}.metric-icon .ui-icon{width:21px;height:21px}.card .label{font-size:14px;min-height:36px}.card .value{font-size:22px;clear:both}.card small{font-size:12px}.ledger-cards>.card:last-child:nth-child(odd){grid-column:1/-1}.sectionhead{padding:16px}.sectionhead h2{font-size:16px}.toolbar label{max-width:none}.modalbody{padding:20px 17px}.modalhead{padding:17px;gap:12px}.modalhead h2{font-size:17px}.report-metrics{border-color:#36515e}.auth{margin:28px 15px}}
 @media(prefers-reduced-motion:reduce){button{transition:none}}
}
@media print{.metric-icon,.empty>.ui-icon,.empty>button,.account-chip{display:none!important}.metric-content{display:contents}}
.goal-progress{margin-top:15px}.goal-progress-line{display:flex;align-items:center;gap:9px}.goal-progress-line span{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#caeaf0}.goal-progress progress{appearance:none;-webkit-appearance:none;display:block;flex:1;min-width:0;width:100%;height:8px;overflow:hidden;border:0;border-radius:8px;background:#324e59;color:#39dfd1}.goal-progress progress::-webkit-progress-bar{background:#324e59;border-radius:8px}.goal-progress progress::-webkit-progress-value{background:linear-gradient(90deg,#18bcbf,#58efcf);border-radius:8px}.goal-progress progress::-moz-progress-bar{background:linear-gradient(90deg,#18bcbf,#58efcf);border-radius:8px}.card .goal-progress small{font-size:12px;color:#b9d5de;margin-top:8px;line-height:1.5}@media(max-width:700px){.goal-progress{clear:both;margin-top:12px}.goal-progress-line{gap:6px}}
.target-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.target-cards .value{font-size:22px}.summarypair{gap:18px;padding:20px;align-items:start}.summary-card{min-width:0;border:1px solid #c5d2d9;border-radius:8px;overflow:hidden;background:#fff}.summary-card:only-child{grid-column:1/-1}.summary-card h3{padding:13px 17px;margin:0;background:#edf3f5;border-bottom:1px solid #c5d2d9;line-height:1.5;font-size:14px;letter-spacing:.2px}.summary-card dl{margin:0;padding:5px 17px 12px}.summary-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:baseline;padding:11px 0;border-bottom:1px solid #e1e8ec;font-size:14px}.summary-row:last-child{border:0}.summary-row dt{margin:0;color:#4c6675}.summary-row dd{margin:0;text-align:right;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.summary-total,.summary-profit{font-weight:700}.summary-total dd,.summary-profit dd{font-size:17px}.summary-profit{border-bottom:0}.summary-goal{border-top:1px solid #b4c7cf;margin-top:5px;padding-top:16px}@media screen{.summary-card{background:#132933;border-color:#345361}.summary-card h3{background:#1d3844;border-color:#345361;color:#c7e4f0}.summary-row{border-color:#29434e}.summary-row dt{color:#b5cedc}.summary-row dd{color:#e9f7ff}.summary-total dt,.summary-profit dt{color:#e5f4fc}.summary-profit dd{color:#78e8cf}.summary-goal{border-top-color:#3b5966}.metric-icon.shield{color:#98baff;background:#243d62}@media(max-width:1200px){.cards.target-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.target-cards .card{display:block}.target-cards .metric-icon{float:right;margin:0 0 12px 8px}.target-cards .value{font-size:21px;clear:both}.target-cards .goal-progress{clear:both}}@media(max-width:700px){.cards.target-cards{grid-template-columns:1fr}.target-cards .card{display:flex;align-items:start;min-height:0}.target-cards .metric-icon{float:none;margin:0}.target-cards .label{min-height:0}.target-cards .value{font-size:22px}.summarypair{padding:12px;gap:12px}.summary-card h3{padding:12px}.summary-card dl{padding:2px 12px 10px}.summary-row{font-size:14px;gap:10px}}}@media print{.summarypair{padding:8px;gap:12px}.summary-card{border-color:#aab9c2;border-radius:0;break-inside:avoid}.summary-card h3{padding:7px 10px;font-size:11px;background:#edf1f3!important;color:#111;print-color-adjust:exact}.summary-card dl{padding:2px 10px 7px}.summary-row{padding:6px 0;font-size:10px;gap:8px}.summary-row dt{color:#333}.summary-row dd{color:#111}.summary-total dd,.summary-profit dd{font-size:12px}.summary-goal{padding-top:9px;margin-top:3px}}
@media screen{.cards:not(.ledger-cards):not(.target-cards)>.card{display:block}.cards:not(.ledger-cards):not(.target-cards)>.card>.metric-icon{float:right;margin:0 0 12px 10px}.cards:not(.ledger-cards):not(.target-cards)>.card .label{min-height:38px}.cards:not(.ledger-cards):not(.target-cards)>.card .value{clear:both}.cards:not(.ledger-cards):not(.target-cards)>.card .goal-progress{clear:both}}

/* Dashboard: monthly overview, daily cards and progress goals. */
@media screen {
 .dashboard-design .cards.dashboard-month{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
 .dashboard-design .cards.dashboard-day,.dashboard-design .cards.exam-targets{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dashboard-design .card{border-radius:12px;background:linear-gradient(125deg,#123440,#0a2633);border-color:#204752;box-shadow:inset 0 1px 0 #ffffff06,0 8px 20px #00000012}
 .dashboard-design .dashboard-month>.card{padding:22px 18px;min-height:166px;position:relative}
 .dashboard-design .dashboard-month>.card>.metric-icon{float:left;margin:0 12px 15px 0;width:35px;height:35px}
 .dashboard-design .dashboard-month .metric-content{display:contents}
 .dashboard-design .dashboard-month>.card .label{min-height:35px;display:flex;align-items:center;font-size:13px;line-height:1.35;color:#d6e7ed;margin-bottom:17px}
 .dashboard-design .dashboard-month>.card .value{font-size:clamp(22px,2.1vw,30px);letter-spacing:-.5px;white-space:nowrap;font-weight:750;clear:both}
 .dashboard-design .dashboard-month>.card small{display:block;font-size:11px;margin-top:14px;color:#a7c2cf}
 .dashboard-design .dashboard-month .revenue-tone{background:linear-gradient(125deg,#0b4548,#092e37);border-color:#12626a}
 .dashboard-design .dashboard-month .profit-tone{background:linear-gradient(125deg,#0b4054,#082b3b);border-color:#15556e}
 .dashboard-design .dashboard-month .expense-tone{background:linear-gradient(125deg,#4d2931,#192c37);border-color:#734049}
 .dashboard-design .dashboard-month .pending-tone{background:linear-gradient(125deg,#403a2b,#202f2f);border-color:#5e5131}
 .dashboard-design .revenue-tone .metric-icon{background:#086b68;color:#68f6db}.dashboard-design .profit-tone .metric-icon{background:#165b93;color:#8dccff}.dashboard-design .expense-tone .metric-icon,.dashboard-design .expense-day .metric-icon{background:#783942;color:#ffb7b7}.dashboard-design .pending-tone .metric-icon{background:#815528;color:#ffda98}
 .dashboard-design .cards.dashboard-day>.card{display:flex;align-items:center;padding:18px 24px;min-height:101px;position:relative}
 .dashboard-design .cards.dashboard-day>.card>.metric-icon{float:none;margin:0 20px 0 0;width:42px;height:42px}
 .dashboard-design .cards.dashboard-day .label{min-height:0;font-size:13px;margin-bottom:6px}.dashboard-design .cards.dashboard-day .value{font-size:24px}.dashboard-design .cards.dashboard-day small{margin-top:4px;display:block}
 .dashboard-design .dashboard-day .card:after{content:'▦';margin-left:auto;width:39px;height:39px;display:grid;place-items:center;align-self:flex-start;background:#123c4a;color:#a3e8ea;border-radius:8px;font-size:25px}
 .dashboard-focus{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:16px;margin-bottom:20px;align-items:stretch}
 .dashboard-focus .section{margin:0;background:linear-gradient(125deg,#143541,#0b2835);border-color:#28505e;border-radius:12px}
 .chart-heading{padding:19px 20px 0;display:flex;gap:12px;align-items:center;justify-content:space-between}.chart-heading h2{font-size:15px;line-height:1.5;margin:0;font-weight:650}.chart-heading h2 span{text-transform:capitalize}.chart-caption{border:1px solid #3a5964;border-radius:6px;font-size:11px;color:#c3d8e5;padding:8px 13px;white-space:nowrap}.chart-scroll{overflow-x:auto;padding:0 12px 0 0}.revenue-chart{width:100%;min-width:340px;display:block;height:auto;max-height:270px}.revenue-chart line{stroke:#30515e;stroke-width:1}.revenue-chart text{fill:#a8c4d0;font-size:11px;font-family:inherit}.revenue-chart rect{fill:#27d5d3}
 .dashboard-focus .main-goal{display:block;padding:25px 23px;min-width:0}.main-goal>.ui-icon{float:left;width:42px;height:42px;padding:8px;border-radius:10px;background:#08797a;color:#82ffff;margin-right:16px}.main-goal .label{font-size:15px;margin:3px 0 15px}.main-goal .value{font-size:34px;font-weight:750}.main-goal .goal-progress{clear:both;margin-top:24px}.main-goal .goal-progress progress{height:14px}.main-goal .goal-progress-line>span{display:none}.main-goal .goal-progress small{font-size:14px;display:block;color:#7aeeee;margin-top:10px}.goal-remaining{font-size:12px;color:#d0dfe4;line-height:1.7;margin:20px 0 0}.goal-remaining strong{color:#f3d584}.goal-success{font-size:12px;font-weight:600;color:#49e6c9;margin:13px 0 0}
 .dashboard-design .cards.target-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-design .target-cards .card{display:block;min-height:161px;padding:19px}.dashboard-design .target-cards .metric-icon{float:left;width:36px;height:36px;margin:0 14px 13px 0}.dashboard-design .target-cards .metric-content{display:contents}.dashboard-design .target-cards .label{font-size:13px;margin:2px 0 9px;min-height:0}.dashboard-design .target-cards .value{font-size:22px;clear:none}.dashboard-design .target-cards .goal-progress{clear:both;margin-top:21px}.dashboard-design .target-cards .goal-progress progress{height:10px}.dashboard-design .new-target .metric-icon{background:#2a5085;color:#b5cbff}.dashboard-design .profit-target .metric-icon{background:#116b5b;color:#7dfbd6}
 .dashboard-design .exam-targets .card{display:flex;min-height:130px}.dashboard-design .exam-targets .metric-icon{float:none;margin:0}.dashboard-design .exam-targets .label{min-height:0}.dashboard-design .exam-targets .value{font-size:23px}.dashboard-design .exam-targets .goal-progress{margin-top:12px}
 .student-guardian{border:1px solid #345461;border-radius:9px;padding:18px;background:#102731}.student-guardian legend{padding:0 8px;color:#bce7ee;font-weight:600;font-size:14px}.student-guardian .formgrid{margin:0}
 @media(max-width:1250px){.dashboard-design .cards.dashboard-month{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-design .dashboard-month>.card .value{font-size:28px}.dashboard-design .dashboard-month>.card{min-height:151px}.dashboard-focus{grid-template-columns:minmax(0,1.3fr) minmax(260px,1fr)}.chart-heading{padding:16px 14px 0}.chart-caption{display:none}.dashboard-design .target-cards .value{font-size:20px}}
 @media(max-width:900px){.dashboard-focus{grid-template-columns:1fr}.dashboard-focus .main-goal{min-height:210px}.revenue-chart{max-height:none}.dashboard-design .target-cards .metric-icon{float:right;margin:0 0 10px 8px}.dashboard-design .target-cards .value{clear:both}}
 @media(max-width:700px){.dashboard-design .cards.dashboard-month{gap:10px}.dashboard-design .dashboard-month>.card{padding:16px 12px;min-height:159px}.dashboard-design .dashboard-month>.card>.metric-icon{width:29px;height:29px;margin:0 8px 11px 0}.dashboard-design .dashboard-month>.card .label{font-size:12px;min-height:29px;margin-bottom:12px}.dashboard-design .dashboard-month>.card .value{font-size:22px;white-space:normal;overflow-wrap:anywhere}.dashboard-design .cards.dashboard-day{grid-template-columns:1fr;gap:10px}.dashboard-design .cards.dashboard-day>.card{padding:16px 19px;min-height:96px}.dashboard-focus{gap:12px}.dashboard-focus .main-goal{padding:22px 19px}.dashboard-design .cards.target-cards,.dashboard-design .cards.exam-targets{grid-template-columns:1fr}.dashboard-design .target-cards .card{min-height:145px}.dashboard-design .target-cards .metric-icon{float:left;margin:0 14px 12px 0}.dashboard-design .target-cards .value{clear:none;font-size:23px}.dashboard-design .exam-targets .card{padding:19px}.chart-heading h2{font-size:14px}.chart-scroll{padding-right:8px}.student-guardian{padding:13px}}
}

.cep-search{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.cep-search label{flex:1;min-width:170px}.cep-search small{flex-basis:100%;color:#9dbdcb}.pending-all{display:flex;align-items:center;gap:9px;margin:0 0 18px}.pending-all input{width:auto}.schedule-row>label:has([data-receipt]){grid-column:1/-1}.student-guardian[hidden]{display:none}

@media screen{.dashboard-design .cards.student-total{grid-template-columns:1fr}.dashboard-design .student-total>.card{min-height:0;padding:16px 22px}.dashboard-design .student-total>.card .label{min-height:0}.dashboard-design .student-total>.card .value{font-size:27px}.dashboard-design .student-total>.card small{margin-top:5px}}@media print{.birthday-report{background:#fff!important;border:0;color:#111}.birthday-report .sectionhead{background:#fff!important;color:#111;border-bottom:1px solid #aaa}.birthday-report .sectionhead h2{font-size:18px}.birthday-report .sectionbody{padding:10px 0}.birthday-report th,.birthday-report td{color:#111!important;background:#fff!important;border-bottom:1px solid #ccc;padding:9px;font-size:12px}.birthday-report .brand{margin:12px 0}}

/* Balanced dashboard rhythm; keep the existing palette and surfaces. */
@media screen{
 .dashboard-design{display:grid;gap:18px;min-width:0}
 .dashboard-design>.cards,.dashboard-design>.section,.dashboard-design>.dashboard-focus{margin:0;min-width:0}
 .dashboard-design .cards.dashboard-day{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 .dashboard-design .cards.dashboard-day>.card{padding:20px;align-items:flex-start;min-height:132px;gap:14px}
 .dashboard-design .cards.dashboard-day>.card>.metric-icon{margin:0;flex-shrink:0;width:36px;height:36px}
 .dashboard-design .dashboard-day .card:after{display:none}
 .dashboard-design .cards.dashboard-day .label{min-height:20px;line-height:1.45}
 .dashboard-design .cards.dashboard-day .value{font-size:25px;line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
 .dashboard-design .cards.dashboard-day small{line-height:1.5;margin-top:7px}
 .dashboard-design .dashboard-month>.card{min-height:164px;padding:20px}
 .dashboard-design .dashboard-month>.card .value{font-size:clamp(22px,1.8vw,29px);white-space:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
 .dashboard-design .dashboard-month>.card .label{min-height:38px;margin-bottom:16px}
 .dashboard-design .dashboard-month>.card small{line-height:1.5;min-height:33px;margin-top:10px}
 .dashboard-design .dashboard-focus{grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:18px}
 .dashboard-design .chart-panel{display:flex;flex-direction:column;justify-content:space-between}
 .dashboard-design .chart-heading{padding:20px 22px 4px;align-items:flex-start}
 .dashboard-design .chart-heading h2{font-size:15px;line-height:1.6}
 .dashboard-design .chart-heading h2 span{display:block;color:#a8c4d0;font-size:12px;font-weight:400}
 .dashboard-design .chart-scroll{padding:6px 14px 12px 0}
 .dashboard-design .revenue-chart{min-width:0;max-height:260px}
 .dashboard-design .main-goal{padding:24px;min-height:254px}
 .dashboard-design .main-goal .value{font-size:32px;line-height:1.35}
 .dashboard-design .main-goal .goal-progress{margin-top:24px}
 .dashboard-design .target-cards>.card{padding:20px;min-height:180px;display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:14px;align-content:start}
 .dashboard-design .target-cards>.card>.metric-icon{grid-column:1;grid-row:1/3;float:none;margin:0;width:36px;height:36px}
 .dashboard-design .target-cards .metric-content{display:contents}
 .dashboard-design .target-cards .label{grid-column:2;margin:0 0 8px;line-height:1.5;min-height:20px}
 .dashboard-design .target-cards .value{grid-column:2;font-size:23px;line-height:1.35;clear:none;overflow-wrap:anywhere}
 .dashboard-design .target-cards .goal-progress{grid-column:1/-1;margin-top:22px;clear:none}
 .dashboard-design .target-cards .goal-success,.dashboard-design .target-cards .metric-content>small{grid-column:1/-1;margin-top:10px;line-height:1.5}
 .dashboard-design .exam-targets>.card{padding:20px;gap:14px;min-height:150px;align-items:flex-start}
 .dashboard-design .exam-targets .label{min-height:22px;line-height:1.5}
 .dashboard-design .exam-targets .value{font-size:23px;line-height:1.35}
 .dashboard-design .exam-targets .goal-progress{margin-top:20px}
 @media(max-width:1100px){.dashboard-design .dashboard-focus{grid-template-columns:minmax(0,1.2fr) minmax(260px,1fr)}.dashboard-design .cards.dashboard-day>.card{display:block;padding:18px}.dashboard-design .cards.dashboard-day>.card>.metric-icon{float:right;margin:0 0 8px 8px}.dashboard-design .cards.dashboard-day .value{clear:both}.dashboard-design .target-cards>.card{grid-template-columns:1fr;min-height:210px}.dashboard-design .target-cards>.card>.metric-icon{grid-column:1;grid-row:auto;margin:0 0 12px}.dashboard-design .target-cards .label,.dashboard-design .target-cards .value{grid-column:1}}
 @media(max-width:900px){.dashboard-design .dashboard-focus{grid-template-columns:1fr}.dashboard-design .main-goal{min-height:220px}.dashboard-design .cards.dashboard-day{grid-template-columns:repeat(3,minmax(0,1fr))}}
 @media(max-width:700px){.dashboard-design{gap:14px}.dashboard-design .cards.dashboard-day{grid-template-columns:1fr;gap:10px}.dashboard-design .cards.dashboard-day>.card{display:flex;min-height:104px;padding:18px}.dashboard-design .cards.dashboard-day>.card>.metric-icon{float:none;margin:0}.dashboard-design .dashboard-month>.card{padding:16px 12px;min-height:165px}.dashboard-design .dashboard-month>.card .label{min-height:36px}.dashboard-design .dashboard-month>.card .value{font-size:22px}.dashboard-design .dashboard-focus{gap:14px}.dashboard-design .main-goal{padding:20px}.dashboard-design .target-cards>.card{grid-template-columns:36px minmax(0,1fr);min-height:155px;padding:18px}.dashboard-design .target-cards>.card>.metric-icon{grid-column:1;grid-row:1/3;margin:0}.dashboard-design .target-cards .label,.dashboard-design .target-cards .value{grid-column:2}.dashboard-design .exam-targets>.card{padding:18px;min-height:140px}.dashboard-design .chart-heading{padding:18px 18px 4px}}
}

@media screen and (min-width:1000px){.dashboard-design .cards.exam-targets{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-design .exam-targets>.card{display:block}.dashboard-design .exam-targets>.card>.metric-icon{float:right;margin:0 0 10px 8px}.dashboard-design .exam-targets .value{clear:both}}

.pagehead p:empty{display:none}.subnav{padding-left:14px;border-left:1px solid #31505e;margin:0 0 10px 16px;display:grid;gap:3px}.nav .subnav button{min-height:37px;font-size:13px}.hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.hub-grid h2{font-size:19px}.hub-grid p{color:#a9c4d0;line-height:1.6;min-height:52px}.calendar-scroll{overflow-x:auto}.appointment-calendar{display:grid;grid-template-columns:repeat(7,minmax(100px,1fr));min-width:720px;gap:1px;background:#284854;border:1px solid #284854;border-radius:8px;overflow:hidden}.appointment-calendar.calendar-day{grid-template-columns:1fr;min-width:0}.calendar-weekday{font-size:11px;text-align:center;padding:10px;background:#172f3a;color:#a8c9d6}.calendar-cell{min-height:115px;background:#102832;padding:9px;min-width:0}.calendar-cell h3{font-size:12px;margin:0 0 9px;color:#aacad6}.calendar-blank{background:#0d2029}.calendar-today{box-shadow:inset 0 0 0 1px #22d4ca}.appointment{display:block;width:100%;text-align:left;padding:7px 8px;margin:4px 0;font-size:12px;background:#155054;color:#d9fffa;border:1px solid #287379;overflow-wrap:anywhere;min-height:0}.appointment strong{display:block;font-size:11px;margin-bottom:3px}.attendance-grid{max-height:540px}.attendance-grid th,.attendance-grid td{padding:6px;text-align:center}.attendance-grid th:first-child{position:sticky;left:0;min-width:180px;max-width:240px;text-align:left;z-index:1;background:#162f3a}.attendance-grid thead{position:sticky;top:0;z-index:2}.attendance-grid small{display:block;font-size:10px;margin-top:4px;color:#8caebb}.attendance-mark{width:35px;min-height:35px;padding:4px;font-size:13px}.mark-P{background:#155d4a;color:#a4f9d8;border-color:#258368}.mark-J{background:#5a4926;color:#ffe2a0;border-color:#8b753b}.mark-F{background:#622e38;color:#ffbec9;border-color:#944855}.mark-empty{color:#819ca9}.attendance-mark:disabled{opacity:.35;cursor:not-allowed}.roster-options{max-height:330px;overflow:auto;display:grid;gap:8px;padding:10px 0}.roster-options label{display:flex;align-items:center;gap:10px;border-bottom:1px solid #28434f;padding:9px}.roster-options input{width:18px;min-height:18px;flex-shrink:0}.attendance-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.attendance-summary .card{min-height:110px;padding:18px}.summary-total dd,.summary-profit dd,.summary-percent dd{display:block!important;visibility:visible!important;font-size:18px;font-weight:750;font-variant-numeric:tabular-nums}.summary-percent dt{font-weight:600}@media(max-width:700px){.hub-grid{grid-template-columns:1fr}.subnav{display:flex;min-width:max-content;padding-left:8px;margin:0;border:0}.attendance-summary{grid-template-columns:1fr}.hub-grid p{min-height:0}.attendance-grid th:first-child{min-width:145px;max-width:180px}.appointment-calendar{min-width:700px}}@media print{.summary-total dd,.summary-profit dd,.summary-percent dd{font-size:12px;color:#111!important}.summary-percent dt{color:#111!important}.appointment-calendar,.calendar-cell,.calendar-weekday{background:#fff;color:#111}.appointment{background:#fff;color:#111}}
.attendance-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--border,#29454e);border-radius:12px;overflow:hidden;gap:1px;background:var(--border,#29454e)}
.attendance-stat{padding:18px 20px;background:#102b35;min-width:0}.attendance-stat>div{display:flex;align-items:center;justify-content:space-between;gap:20px}.attendance-stat span{font-size:1rem}.attendance-stat strong{font-size:1.55rem;color:#41ded5;font-variant-numeric:tabular-nums}.attendance-stat details{margin-top:12px}.attendance-stat summary{cursor:pointer;color:#a4dcd9;font-size:.9rem}.attendance-stat ul{margin:12px 0 0;padding-left:20px;max-height:230px;overflow:auto}.attendance-stat li{padding:5px 0}.appointment small{display:block;margin-top:6px;font-size:.8rem;line-height:1.5}.student-financial{margin-top:24px}.student-financial h4{margin:22px 0 10px}@media(max-width:640px){.attendance-stats{grid-template-columns:1fr}.attendance-stat{padding:14px 16px}}
tr.lead-neutral>td{background:#172a33}tr.lead-scheduled>td{background:#123a55}tr.lead-enrolled>td{background:#123f34}tr.lead-lost>td{background:#482b35}tr.lead-neutral>td:first-child{border-left:4px solid #6d8793}tr.lead-scheduled>td:first-child{border-left:4px solid #48a9ed}tr.lead-enrolled>td:first-child{border-left:4px solid #38d391}tr.lead-lost>td:first-child{border-left:4px solid #ed788c}.appointment.lead-scheduled,select.lead-scheduled{background:#123a55;border-color:#48a9ed;color:#d7edff}.appointment.lead-enrolled,select.lead-enrolled{background:#123f34;border-color:#38d391;color:#ceffe7}.appointment.lead-lost,select.lead-lost{background:#482b35;border-color:#ed788c;color:#ffe0e5}.appointment.lead-neutral,select.lead-neutral{background:#172a33;border-color:#6d8793;color:#e0e9ed}.report-tabs{padding-bottom:14px;border-bottom:1px solid var(--line)}@media print{.engagement-report .attendance-stats{display:block;background:white}.engagement-report .attendance-stat{background:white;color:#111;border-bottom:1px solid #bbb;break-inside:avoid}.engagement-report .attendance-stat strong,.engagement-report .attendance-stat summary{color:#111}.engagement-report .attendance-stat ul{max-height:none;overflow:visible}.engagement-report details{display:block}.engagement-report details::details-content{content-visibility:visible}tr[class^=lead-]>td{background:white!important;color:#111}}
/* Aligned dashboard sections and engagement counters. */
.dashboard-section-title{margin:4px 0 -4px;font-size:1rem;color:#b8d4df;font-weight:650;letter-spacing:.2px}#dashboard-lessons:empty{display:none}#dashboard-lessons>.section{margin:0}.dashboard-design .dashboard-month>.card{min-height:156px}.dashboard-design .dashboard-month .value{font-size:clamp(1.2rem,2.1vw,1.7rem);line-height:1.3}.dashboard-design .cards.target-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-design .target-cards>.card{height:100%;min-height:190px}.dashboard-design .target-cards .label{min-height:42px}.attendance-stats{align-items:stretch;gap:12px;background:transparent;border:0;overflow:visible}.attendance-stat{border:1px solid #29454e;border-radius:10px;padding:20px;min-height:96px}.attendance-stat>div{min-height:44px;align-items:flex-start}.attendance-stat strong{line-height:1.1;font-size:1.8rem;flex-shrink:0}.attendance-stat span{line-height:1.5}.attendance-stat details{border-top:1px solid #29454e;padding-top:12px}.attendance-stat li small{display:block;line-height:1.5}.attendance-stat ul{padding-left:18px}@media(max-width:1100px){.dashboard-design .cards.target-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.dashboard-design .cards.dashboard-month,.dashboard-design .cards.target-cards,.dashboard-design .cards.exam-targets{grid-template-columns:1fr}.dashboard-design .dashboard-month>.card{min-height:130px;padding:18px}.dashboard-design .dashboard-month .value{font-size:1.6rem}.dashboard-design .target-cards>.card{min-height:155px}.dashboard-design .target-cards .label{min-height:0}.attendance-stat{padding:16px}.dashboard-section-title{margin-top:8px}}
/* Resumo de engajamento: apresentação, sem alterações nos indicadores. */
@media screen {
  .attendance-stats{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:16px;padding:2px}
  .attendance-stat{--stat-color:#50d5c8;min-height:124px;padding:0;border:1px solid #2a4651;border-top:3px solid var(--stat-color);border-radius:12px;background:linear-gradient(145deg,#142f3a,#102630);box-shadow:0 4px 16px #00000012;overflow:hidden}
  .attendance-stat:nth-child(2){--stat-color:#e7b86e}
  .attendance-stat:nth-child(3){--stat-color:#e996a3}
  .attendance-stat:nth-child(4){--stat-color:#80c7ed}
  .attendance-stat:nth-child(5){--stat-color:#72cfb0}
  .attendance-stat:nth-child(6){--stat-color:#e7b86e}
  .attendance-stat>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;min-height:118px;padding:22px}
  .attendance-stat span{font-size:.9rem;font-weight:550;line-height:1.5;color:#d4e3e9;max-width:200px;overflow-wrap:normal}
  .attendance-stat strong{font-size:1.85rem;line-height:1.2;letter-spacing:-.5px;color:var(--stat-color);font-variant-numeric:tabular-nums;text-align:right}
  .attendance-stat details{padding:0;margin:0;border:0;border-top:1px solid #2a4651;background:#0d222c66}
  .attendance-stat summary{padding:13px 22px;margin:0;font-size:.875rem;font-weight:550;line-height:1.45;color:#aecbd6;cursor:pointer;transition:background .15s,color .15s}
  .attendance-stat summary:hover{background:#25445066;color:#fff}
  .attendance-stat summary:focus-visible{outline:2px solid #57d4cb;outline-offset:-3px;border-radius:4px}
  .attendance-stat details[open] summary{color:#e4f5fa;background:#25445044;border-bottom:1px solid #29444f}
  .attendance-stat ul{list-style:none;margin:0;padding:0 18px;max-height:300px;overflow:auto;scrollbar-width:thin;scrollbar-color:#496773 transparent}
  .attendance-stat li{padding:14px 4px;margin:0;font-size:.875rem;font-weight:550;line-height:1.5;color:#e1eef3;border-bottom:1px solid #27424d;overflow-wrap:anywhere}
  .attendance-stat li:last-child{border-bottom:0}
  .attendance-stat li small{display:block;margin-top:5px;font-size:.8rem;line-height:1.55;font-weight:400;color:#98b8c5}
  .attendance-stat details>p{margin:0;padding:18px 22px;font-size:.875rem;color:#9ebbc7}
}
@media screen and (max-width:1150px){.attendance-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-stat>div{min-height:106px;padding:20px}.attendance-stat{min-height:112px}}
@media screen and (max-width:650px){.attendance-stats{grid-template-columns:1fr;gap:12px;padding:0}.attendance-stat{min-height:92px}.attendance-stat>div{min-height:86px;padding:18px 20px}.attendance-stat span{max-width:none}.attendance-stat strong{font-size:1.75rem}.attendance-stat summary{padding:12px 20px}.attendance-stat ul{max-height:none}}
/* Total de presenças fixo na extremidade da grade. */
.attendance-grid .presence-total{position:sticky;right:0;z-index:1;min-width:105px;max-width:140px;text-align:center;background:#193842;border-left:2px solid #3b626b;white-space:normal;box-shadow:-5px 0 10px #071b2222}.attendance-grid thead .presence-total{z-index:3;color:#d6eeef;font-size:.75rem;line-height:1.4}.attendance-grid .presence-total strong{font-size:1rem;color:#63e1cf;font-variant-numeric:tabular-nums}@media print{.attendance-grid .presence-total{position:static;background:white;color:#111;box-shadow:none}.attendance-grid .presence-total strong{color:#111}}
/* Modelos editáveis e emissão de contratos */
.contract-workspace .toolbar{align-items:end}.contract-workspace .toolbar>.actions{margin:0}.contract-models{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;padding:20px}.contract-model{padding:20px;border:1px solid var(--border,#2a4b57);border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:16px}.contract-model h3{font-size:16px;margin:10px 0 0}.contract-state{font-size:13px;color:#a8bac4}.contract-state.is-active{color:#50d4be}.contract-editor-panel form>label{display:block;margin-bottom:24px}.contract-active{display:flex!important;align-items:center;gap:10px}.contract-active input{width:18px;height:18px}.contract-image-box{padding:20px;background:#192f3a;border:1px solid #31515e;border-radius:8px;margin:22px 0}.contract-image-box p{font-size:14px;color:#bdd1dc;margin:16px 0 0}.contract-image-box img{max-width:220px;max-height:120px;object-fit:contain;margin:16px 0}.contract-image-box input{max-width:100%}.contract-editor-tools{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:10px;border:1px solid #bacbd5;background:#edf2f6;border-radius:7px 7px 0 0;color:#253c4d}.contract-editor-tools button,.contract-editor-tools select{background:#fff;color:#21394a;border:1px solid #c3d0d9;padding:9px;font-size:14px;min-height:40px}.contract-editor-tools label{margin:0}.contract-rich-editor{background:white;color:#1b2731;border:1px solid #bacbd5;border-top:0;padding:32px;min-height:500px;max-height:70vh;overflow:auto;font:16px/1.7 Arial,sans-serif;outline-offset:3px;overflow-wrap:anywhere}.contract-rich-editor h2{font-size:20px}.contract-rich-editor h3{font-size:18px}.contract-rich-editor p{margin:0 0 18px}.contract-rich-editor:focus{outline:2px solid #2ad6ce}.align-left{text-align:left}.align-center{text-align:center}.align-right{text-align:right}.align-justify{text-align:justify}.contract-source{padding:18px 0}.contract-auto-fields{border:1px solid #31515e;border-radius:8px;padding:16px;margin:8px 0 24px}.contract-auto-fields summary{cursor:pointer;font-weight:600}.contract-auto-fields dd{white-space:normal;overflow-wrap:anywhere}.contract-extra-fields{padding-bottom:20px}.contract-document-frame{width:100%;height:65vh;min-height:400px;border:1px solid #bacbd5;background:white;border-radius:6px}.contract-preview-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}.contract-missing{padding:16px;border:1px solid #a8803e;background:#342e23;border-radius:8px;margin-bottom:16px;font-size:14px}.contract-missing p{line-height:1.6}.contract-missing label{display:flex;align-items:flex-start;gap:10px}.contract-missing input{width:18px;height:18px;flex:0 0 auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:650px){.contract-models{grid-template-columns:1fr;padding:12px}.contract-model{flex-wrap:wrap}.contract-rich-editor{padding:18px;min-height:350px}.contract-editor-tools{gap:4px}.contract-editor-tools button{padding:8px;font-size:13px}.contract-workspace .toolbar>.actions{flex-wrap:wrap}.contract-workspace .toolbar>.actions button{flex:1}.contract-document-frame{min-height:350px}}
/* Dashboard: uma escala consistente de cartões, números e espaçamento. */
@media screen {
 .main:has(.dashboard-design){width:100%;max-width:1680px;margin-inline:auto}
 .dashboard-design{gap:18px;container-type:inline-size}
 .dashboard-design .dashboard-section-title{font-size:1rem;font-weight:650;color:#c5dce5;margin:12px 0 -6px;line-height:1.5}
 .dashboard-design .dashboard-section-title:first-child{margin-top:0}
 .dashboard-design .cards{gap:16px;align-items:stretch}
 .dashboard-design .cards.dashboard-month{grid-template-columns:repeat(4,minmax(0,1fr))}
 .dashboard-design .cards.dashboard-day,.dashboard-design .cards.target-cards,.dashboard-design .cards.exam-targets{grid-template-columns:repeat(3,minmax(0,1fr))}
 .dashboard-design .cards.dashboard-month>.card{display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:12px;row-gap:14px;min-width:0;min-height:170px;height:auto;padding:22px;border-radius:12px;align-content:start}
 .dashboard-design .dashboard-month>.card>.metric-icon{grid-column:1;grid-row:1;float:none;margin:0;width:36px;height:36px}
 .dashboard-design .dashboard-month .metric-content{display:contents}
 .dashboard-design .dashboard-month>.card .label{grid-column:2;grid-row:1;display:flex;align-items:center;font-size:.875rem;line-height:1.4;min-height:36px;margin:0}
 .dashboard-design .dashboard-month>.card .value{grid-column:1/-1;grid-row:2;clear:none;font-size:clamp(1.375rem,2.7cqi,1.875rem);line-height:1.2;letter-spacing:-.5px;white-space:normal;word-break:normal;overflow-wrap:anywhere}
 .dashboard-design .dashboard-month>.card small{grid-column:1/-1;grid-row:3;align-self:end;font-size:.8125rem;line-height:1.5;min-height:0;margin:0;color:#aec7d2}
 .dashboard-design .cards.dashboard-day>.card{display:grid;grid-template-columns:36px minmax(0,1fr);gap:14px;align-items:start;padding:20px 22px;min-height:128px;height:auto}
 .dashboard-design .cards.dashboard-day>.card>.metric-icon{float:none;margin:0;width:36px;height:36px}
 .dashboard-design .dashboard-day .metric-content{display:block;min-width:0}
 .dashboard-design .cards.dashboard-day .label{font-size:.875rem;min-height:0;line-height:1.4;margin:0 0 10px}
 .dashboard-design .cards.dashboard-day .value{font-size:clamp(1.375rem,2.4cqi,1.625rem);line-height:1.25;clear:none}
 .dashboard-design .cards.dashboard-day small{font-size:.8125rem;line-height:1.4;margin-top:8px}
 .dashboard-design .cards.target-cards>.card,.dashboard-design .cards.exam-targets>.card{display:grid;grid-template-columns:36px minmax(0,1fr);grid-template-rows:minmax(36px,auto) auto minmax(48px,1fr) minmax(24px,auto);column-gap:12px;row-gap:10px;min-height:214px;height:auto;padding:22px;align-items:start;align-content:stretch}
 .dashboard-design .target-cards>.card>.metric-icon,.dashboard-design .exam-targets>.card>.metric-icon{grid-column:1;grid-row:1;float:none;margin:0;width:36px;height:36px}
 .dashboard-design .target-cards .metric-content,.dashboard-design .exam-targets .metric-content{display:contents}
 .dashboard-design .target-cards .label,.dashboard-design .exam-targets .label{grid-column:2;grid-row:1;align-self:center;font-size:.875rem;line-height:1.4;min-height:0;margin:0}
 .dashboard-design .target-cards .value,.dashboard-design .exam-targets .value{grid-column:1/-1;grid-row:2;font-size:1.375rem;line-height:1.3;margin:0;clear:none;overflow-wrap:anywhere}
 .dashboard-design .target-cards .goal-progress,.dashboard-design .exam-targets .goal-progress{grid-column:1/-1;grid-row:3;align-self:end;margin:6px 0 0;clear:none;min-width:0}
 .dashboard-design .goal-progress-line{gap:10px;align-items:center}
 .dashboard-design .goal-progress progress{height:9px;min-width:0;flex:1}
 .dashboard-design .goal-progress-line>span{font-size:.8125rem;font-variant-numeric:tabular-nums;flex-shrink:0}
 .dashboard-design .goal-progress small{font-size:.8125rem;line-height:1.5;margin-top:8px}
 .dashboard-design .target-cards .metric-content>small,.dashboard-design .exam-targets .metric-content>small,.dashboard-design .target-cards .goal-success{grid-column:1/-1;grid-row:4;font-size:.8125rem;line-height:1.5;min-height:0;margin:0;align-self:end}
 .dashboard-design .dashboard-focus{grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:16px;align-items:stretch}
 .dashboard-design .chart-panel{display:flex;min-width:0;min-height:286px;justify-content:space-between}
 .dashboard-design .chart-heading{padding:22px 22px 4px;gap:16px;align-items:start}
 .dashboard-design .chart-heading h2{font-size:1rem;line-height:1.45}
 .dashboard-design .chart-heading h2 span{font-size:.8125rem;margin-top:5px}
 .dashboard-design .chart-caption{display:none}
 .dashboard-design .chart-scroll{padding:4px 12px 8px;overflow-x:auto}
 .dashboard-design .revenue-chart{min-width:430px;max-height:258px;width:100%;height:auto}
 .dashboard-design .main-goal{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto 1fr auto;gap:12px;min-height:286px;padding:24px;align-content:start}
 .dashboard-design .main-goal>.ui-icon{grid-column:1;grid-row:1/3;float:none;margin:0;width:42px;height:42px}
 .dashboard-design .main-goal .label{grid-column:2;grid-row:1;font-size:.9375rem;line-height:1.4;margin:0}
 .dashboard-design .main-goal .value{grid-column:2;grid-row:2;font-size:clamp(1.75rem,3.4cqi,2.5rem);line-height:1.2;min-width:0;overflow-wrap:anywhere}
 .dashboard-design .main-goal .goal-progress{grid-column:1/-1;grid-row:3;margin:14px 0 0;align-self:center}
 .dashboard-design .main-goal .goal-progress progress{height:12px}
 .dashboard-design .main-goal .goal-remaining,.dashboard-design .main-goal .goal-success{grid-column:1/-1;grid-row:4;font-size:.875rem;line-height:1.6;margin:0}
 .dashboard-design>.section .sectionhead,#dashboard-lessons .sectionhead{padding:18px 22px;flex-wrap:wrap}
 .dashboard-design>.section .sectionhead h2,#dashboard-lessons h2{font-size:1rem;line-height:1.5}
 .dashboard-design .breakdown>div{padding:22px}
 .dashboard-design .breakdown strong{font-size:1.5rem;line-height:1.3;overflow-wrap:anywhere}
 #dashboard-lessons .sectionbody{padding:8px 22px 18px}
 #dashboard-lessons .sectionbody>p{margin:0;padding:14px 0;border-bottom:1px solid #2b4853;font-size:.9375rem}
 #dashboard-lessons .sectionbody>button{margin-top:14px}
 @media(max-width:1300px){.dashboard-design .cards.dashboard-month{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-design .dashboard-month>.card .value{font-size:1.75rem}.dashboard-design .cards.target-cards,.dashboard-design .cards.exam-targets{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-design .cards.exam-targets>.card:last-child:nth-child(odd){grid-column:1/-1}.dashboard-design .dashboard-focus{grid-template-columns:minmax(0,1.4fr) minmax(270px,1fr)}}
 @media(max-width:1050px){.dashboard-design .dashboard-focus{grid-template-columns:1fr}.dashboard-design .main-goal{min-height:230px}.dashboard-design .cards.dashboard-day{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-design .dashboard-day>.card:first-child{grid-column:1/-1}.dashboard-design .cards.dashboard-day>.card{min-height:115px}}
 @media(max-width:700px){.dashboard-design{gap:14px}.dashboard-design .cards{gap:12px}.dashboard-design .cards.target-cards,.dashboard-design .cards.exam-targets{grid-template-columns:1fr}.dashboard-design .cards.target-cards>.card,.dashboard-design .cards.exam-targets>.card{padding:20px;min-height:206px}.dashboard-design .chart-panel{min-height:0}.dashboard-design .main-goal{padding:22px;min-height:225px}.dashboard-design .cards.dashboard-month>.card{padding:18px;min-height:162px}.dashboard-design .dashboard-section-title{margin-top:8px}.dashboard-design .chart-heading{padding:20px 20px 4px}}
 @media(max-width:540px){.dashboard-design .cards.dashboard-month,.dashboard-design .cards.dashboard-day{grid-template-columns:1fr}.dashboard-design .dashboard-month>.card .value{font-size:1.75rem}.dashboard-design .cards.dashboard-month>.card{min-height:156px}.dashboard-design .cards.dashboard-day>.card{min-height:116px}.dashboard-design .breakdown{grid-template-columns:1fr}.dashboard-design .breakdown>div{border-right:0;border-bottom:1px solid #2b4853}.dashboard-design .breakdown>div:last-child{border-bottom:0}}
}
.whatsapp-contract-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:7px;background:#16865e;color:#fff;text-decoration:none;font-weight:600}.whatsapp-contract-button:hover{background:#116e4e}
/* Dashboard: referência azul, hierarquia compacta e cartões alinhados. */
@media screen {
.main:has(.dashboard-design){background:radial-gradient(ellipse at 72% 0,#0a304b55,transparent 65%),#041927;max-width:1680px;padding:24px;color:#eaf5ff}
.main:has(.dashboard-design)>.topbar{display:none}
.main:has(.dashboard-design)>.pagehead{padding:0 0 22px;border-bottom:1px solid #1b4968;margin-bottom:22px;min-height:80px}
.main:has(.dashboard-design)>.pagehead h1{font-size:1.8rem;letter-spacing:.02em;color:#f2f7ff}
.main:has(.dashboard-design)>.pagehead h1:before{content:'▦';display:inline-grid;place-items:center;margin-right:16px;color:#55c2ff;background:#083555;border-radius:10px;width:46px;height:46px}
.main:has(.dashboard-design)>.pagehead p{font-size:.875rem;color:#97c8ea;margin:4px 0 0 62px}
.main:has(.dashboard-design) #content>.toolbar{justify-content:flex-end;margin-top:-102px;min-height:80px;margin-bottom:22px;position:relative;width:max-content;max-width:45%;margin-left:auto}
.main:has(.dashboard-design) #selected-date{background:#08283f;border-color:#346185;color:#e6f3ff;min-height:40px}
.dashboard-design{gap:16px}
.dashboard-design .dashboard-section-title{color:#eff7ff;font-size:1.0625rem;font-weight:700;margin:6px 0 -5px}
.dashboard-design .cards{gap:12px}
.dashboard-design .cards.dashboard-month{grid-template-columns:repeat(4,minmax(0,1fr))}
.dashboard-design .cards.dashboard-day,.dashboard-design .cards.target-cards,.dashboard-design .cards.exam-targets{grid-template-columns:repeat(3,minmax(0,1fr))}
.dashboard-design .card,.dashboard-design .chart-panel{background:linear-gradient(135deg,#0c3047,#042236);border:1px solid #225779;border-radius:11px;box-shadow:inset 0 1px 0 #ffffff08,0 5px 14px #0000001c}
.dashboard-design .cards.dashboard-month>.card{grid-template-columns:46px minmax(0,1fr);grid-template-rows:auto auto 1fr;gap:9px 12px;min-height:158px;padding:17px}
.dashboard-design .dashboard-month>.card>.metric-icon{width:46px;height:46px;grid-row:1/3;border-radius:12px}
.dashboard-design .dashboard-month>.card .label{font-size:.875rem;min-height:28px;line-height:1.4;color:#edf6ff}
.dashboard-design .dashboard-month>.card .value{grid-column:2;grid-row:2;font-size:clamp(1.15rem,2cqi,1.5rem);letter-spacing:-.3px;line-height:1.3}
.dashboard-design .dashboard-month>.card small{grid-column:2;grid-row:3;font-size:.8125rem;align-self:start;color:#aed2e6}
.dashboard-design .dashboard-month .revenue-tone{background:linear-gradient(130deg,#074547,#032e39);border-color:#00aaa4}
.dashboard-design .dashboard-month .profit-tone{background:linear-gradient(130deg,#0d3c66,#032440);border-color:#168cda}
.dashboard-design .dashboard-month .expense-tone{background:linear-gradient(130deg,#50283d,#102638);border-color:#c54c62}
.dashboard-design .dashboard-month .pending-tone{background:linear-gradient(130deg,#423b20,#192c2f);border-color:#b38326}
.dashboard-design .metric-icon{border-radius:11px;background:linear-gradient(135deg,#137aba,#114070);color:#87dcff;box-shadow:inset 0 1px #ffffff22}
.dashboard-design .metric-icon .ui-icon{width:27px;height:27px}
.dashboard-design .revenue-tone .metric-icon,.dashboard-design .day-tone .metric-icon,.dashboard-design .material-target .metric-icon,.dashboard-design .profit-target .metric-icon{background:linear-gradient(135deg,#019f91,#006b6e);color:#a8fff0}
.dashboard-design .expense-tone .metric-icon,.dashboard-design .expense-day .metric-icon{background:linear-gradient(135deg,#b43857,#6d3452);color:#ffacc1}
.dashboard-design .pending-tone .metric-icon{background:linear-gradient(135deg,#b78014,#695317);color:#ffe292}
.dashboard-design .students-tone{background:linear-gradient(130deg,#1b2f60,#10233b);border-color:#605ca4}
.dashboard-design .students-tone .metric-icon{background:linear-gradient(130deg,#6554d8,#3541a5);color:#e3ddff}
.dashboard-design .cards.dashboard-day>.card{grid-template-columns:46px minmax(0,1fr);gap:16px;padding:17px;min-height:110px}
.dashboard-design .cards.dashboard-day>.card>.metric-icon{width:46px;height:46px}
.dashboard-design .dashboard-day>.card:first-child,.dashboard-design .cards.exam-targets>.card:last-child:nth-child(odd){grid-column:auto}
.dashboard-design .dashboard-day .card:after{display:none}
.dashboard-design .cards.dashboard-day .label{margin:0 0 7px;font-size:.875rem}
.dashboard-design .cards.dashboard-day .value{font-size:1.5rem}
.dashboard-design .cards.dashboard-day small{font-size:.8125rem;margin-top:6px;color:#abcce4}
.dashboard-design .cards.target-cards>.card,.dashboard-design .cards.exam-targets>.card{grid-template-columns:46px minmax(0,1fr);grid-template-rows:auto auto 1fr auto;gap:5px 14px;min-height:166px;padding:17px}
.dashboard-design .target-cards>.card>.metric-icon,.dashboard-design .exam-targets>.card>.metric-icon{width:46px;height:46px;grid-row:1/3}
.dashboard-design .target-cards .label,.dashboard-design .exam-targets .label{font-size:.875rem;grid-row:1;align-self:end}
.dashboard-design .target-cards .value,.dashboard-design .exam-targets .value{grid-column:2;grid-row:2;font-size:1.125rem;line-height:1.3;align-self:start}
.dashboard-design .target-cards .goal-progress,.dashboard-design .exam-targets .goal-progress{margin-top:10px;align-self:start}
.dashboard-design .target-cards .metric-content>small,.dashboard-design .exam-targets .metric-content>small{color:#a9cce4;line-height:1.4}
.dashboard-design .goal-progress progress{height:10px;background:#203f57}
.dashboard-design progress::-webkit-progress-bar{background:#203f57}.dashboard-design progress::-webkit-progress-value{background:linear-gradient(90deg,#00c9bb,#2be5c4)}
.dashboard-design .new-target progress::-webkit-progress-value{background:linear-gradient(90deg,#138fee,#29c9ee)}
.dashboard-design .dashboard-focus{grid-template-columns:minmax(0,1.73fr) minmax(290px,1fr);gap:14px}
.dashboard-design .chart-panel{min-height:300px;display:flex;flex-direction:column;justify-content:flex-start;overflow:hidden}
.dashboard-design .chart-heading{padding:17px 18px 6px;align-items:center;gap:10px}
.dashboard-design .chart-heading h2{font-size:.9375rem}.dashboard-design .chart-heading h2 span{display:block;font-size:.8125rem;color:#9cc6e4;margin-top:4px}
.chart-tabs{display:flex;gap:2px;padding:3px;background:#0a2940;border:1px solid #19405b;border-radius:9px}
.chart-tabs button{background:transparent;border:0;color:#a4cce8;font-size:.8125rem;padding:7px 10px;border-radius:6px;min-height:32px}
.chart-tabs button[aria-pressed=true]{color:white;background:#135894;box-shadow:inset 0 0 0 1px #2696eb}
.weekly-revenue{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:7px 18px 0;padding:10px 12px;background:#052438;border:1px solid #16435e;border-radius:8px}
.weekly-revenue span{font-size:.875rem;color:#d8eeff}.weekly-revenue small{display:block;font-size:.75rem;color:#98bed9;margin-top:3px}.weekly-revenue strong{font-size:1.0625rem;color:#31e1cd;white-space:nowrap}
.dashboard-design .chart-scroll{padding:0 10px;flex:1;display:flex;align-items:center}.dashboard-design .revenue-chart{max-height:220px;min-width:340px}.dashboard-design .revenue-chart rect{fill:#03d5df}.dashboard-design .revenue-chart line{stroke:#20465c}.dashboard-design .revenue-chart text{fill:#a7cbe6}
.dashboard-design .main-goal{min-height:300px;padding:21px;grid-template-columns:50px minmax(0,1fr);gap:12px}
.dashboard-design .main-goal>.ui-icon{width:50px;height:50px;padding:9px;border-radius:50%;background:#006f72;color:#affff0}
.dashboard-design .main-goal .value{font-size:2.4rem}.dashboard-design .main-goal .goal-progress progress{height:14px}.dashboard-design .main-goal .goal-progress-line>span{display:none}
.dashboard-design .main-goal .goal-remaining,.dashboard-design .main-goal .goal-success{background:#0a304a;border:1px solid #18506c;border-radius:9px;padding:11px;font-size:.875rem}.dashboard-design .goal-remaining strong{color:#ffc559}
#dashboard-lessons:empty{display:none}.lessons-compact{border:1px solid #225674;border-radius:10px;background:#092b40;padding:12px 16px}
.lessons-title{display:flex;align-items:center;gap:10px}.lessons-title>.ui-icon{color:#5dcdf6;width:25px;height:25px}.lessons-title h2{font-size:.875rem!important;margin:0}.lessons-title h2 span{margin-left:7px;background:#135c78;color:#b9f6ff;padding:2px 7px;border-radius:12px}.lessons-title small{font-size:.75rem;color:#9bbfd5}.lessons-title button{margin-left:auto;font-size:.8125rem;padding:6px 10px;min-height:32px}
.lessons-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:9px;max-height:120px;overflow:auto}.lesson-pill{display:flex;align-items:center;gap:9px;font-size:.8125rem;border:1px solid #23506a;border-radius:7px;padding:8px 10px;background:#082435}.lesson-pill strong{color:#46dcce}.lesson-pill small{color:#9ebfd3}
.dashboard-detail{border-top:1px solid #194058;padding-top:14px}.dashboard-detail>summary{font-size:.875rem;color:#97bedc;cursor:pointer}.dashboard-detail>.section{margin-top:14px}
@media(max-width:1200px){.main:has(.dashboard-design) #content>.toolbar{margin-top:0;max-width:100%;width:100%;justify-content:flex-start;min-height:0}.main:has(.dashboard-design)>.pagehead{margin-bottom:14px}.dashboard-design .cards.dashboard-month{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-design .dashboard-focus{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr)}}
@media(max-width:1000px){.dashboard-design .cards.target-cards,.dashboard-design .cards.exam-targets{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-design .dashboard-focus{grid-template-columns:1fr}.dashboard-design .main-goal{min-height:230px}.dashboard-design .chart-tabs button{padding:7px}.main:has(.dashboard-design){padding:18px}}
@media(max-width:700px){.dashboard-design .cards.dashboard-day,.dashboard-design .cards.target-cards,.dashboard-design .cards.exam-targets{grid-template-columns:1fr}.dashboard-design .cards.target-cards>.card,.dashboard-design .cards.exam-targets>.card{min-height:154px}.chart-heading{flex-wrap:wrap}.weekly-revenue{flex-wrap:wrap}.main:has(.dashboard-design)>.pagehead p{margin-left:0}.dashboard-design .cards.dashboard-month>.card{grid-template-columns:34px minmax(0,1fr);padding:14px;column-gap:9px}.dashboard-design .dashboard-month>.card>.metric-icon{width:34px;height:34px}.dashboard-design .dashboard-month>.card .value{grid-column:1/-1}.dashboard-design .dashboard-month>.card small{grid-column:1/-1}.lesson-pill{flex-wrap:wrap}}
@media(max-width:460px){.dashboard-design .cards.dashboard-month{grid-template-columns:1fr}.dashboard-design .cards.dashboard-month>.card{grid-template-columns:46px minmax(0,1fr);min-height:132px}.dashboard-design .dashboard-month>.card .value,.dashboard-design .dashboard-month>.card small{grid-column:2}.dashboard-design .chart-scroll{overflow:auto}.lessons-title{flex-wrap:wrap}}
}
