@import"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,Arial,sans-serif;color:#263b35;background:#f6f8f5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--bg:#f6f8f5;--surface:#fff;--text:#263b35;--muted:#87958e;--line:#e8ede8;--green:#23715a;--green-dark:#195940;--green-soft:#e3f3e9;--shadow:0 4px 24px rgba(36,70,53,.045) }:root[data-theme=dark]{--bg:#17211d;--surface:#22302a;--text:#eff5ef;--muted:#a2b4a9;--line:#34443a;--green:#8dd6aa;--green-dark:#b6e7c5;--green-soft:#2d4c3a;--shadow:0 4px 24px rgba(0,0,0,.1);color-scheme:dark}*{box-sizing:border-box}body{margin:0;min-width:320px;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}h1,h2,h3,p{margin:0}h1,h2,h3,strong{font-family:Manrope,DM Sans,sans-serif}h1{font-size:clamp(27px,3vw,34px);letter-spacing:-.045em;line-height:1.2}h2{font-size:19px;letter-spacing:-.035em}.app-shell{min-height:100vh}.main-column{min-width:0}.content{width:min(100%,1120px);margin:auto;padding:28px 36px 80px}.sidebar{display:none}.topbar{height:72px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px}.topbar-brand,.brand{display:flex;align-items:center;gap:10px}.topbar-brand strong,.brand strong{font-size:18px;letter-spacing:-.06em}.brand-symbol{height:33px;width:33px;display:grid;place-items:center;background:var(--green);color:#fff;border-radius:11px;font-size:25px;line-height:1}.topbar-title{font-weight:700;color:var(--muted);font-size:13px}.icon-button,.back-button{width:42px;height:42px;border:1px solid var(--line);background:var(--surface);color:var(--text);display:grid;place-items:center;border-radius:12px}.icon-button:hover,.back-button:hover{border-color:var(--green)}.bottom-nav{display:none}.eyebrow{font-size:10px;letter-spacing:.16em;color:var(--green);font-weight:800}.page-heading{display:flex;justify-content:space-between;align-items:center;margin:4px 0 27px}.page-heading h1{margin:6px 0}.page-heading p,.welcome p{color:var(--muted);font-size:14px}.page-heading--action{gap:12px}.card{background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.button{border:0;border-radius:12px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 17px;font-weight:700;font-size:13px;white-space:nowrap}.button--primary{background:var(--green);color:#fff}.button--primary:hover{background:#185841}.button--secondary{background:var(--green-soft);color:var(--green-dark)}.button--secondary:hover{filter:brightness(.97)}.button--ghost{background:transparent;color:var(--green)}.text-link{border:0;background:none;color:var(--green);font-size:13px;font-weight:700;display:inline-flex;align-items:center;gap:5px;padding:8px 0}.muted{color:var(--muted)}.welcome{min-height:134px;display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.welcome h1{margin:7px 0}.welcome-art{width:95px;height:95px;background:#e7f1df;border-radius:28px;display:grid;place-items:center;transform:rotate(-8deg);color:#8eac83}.welcome-art span{font-size:80px;line-height:1;transform:rotate(8deg)}.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.summary-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;min-height:139px;padding:20px;display:flex;flex-direction:column;align-items:flex-start;box-shadow:var(--shadow)}.summary-card>span,.home-highlight span,.metric small,.stat small,.debt-banner small{font-size:12px;color:var(--muted);font-weight:600}.summary-card strong{font-size:35px;letter-spacing:-.06em;margin:10px 0 5px}.summary-card small{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted)}.summary-card--primary{background:#e8f4eb;border-color:#e8f4eb}.summary-card--primary strong{color:#205e48}.home-highlight{display:flex;align-items:center;gap:14px;padding:16px 20px;margin:13px 0 18px}.home-highlight>div:nth-child(2){display:flex;flex-direction:column;gap:2px}.home-highlight strong{font-size:21px}.home-highlight .demo-mini{margin-left:auto;background:var(--bg);padding:5px 8px;border-radius:7px;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.icon-box{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;flex:none}.icon-box--mint{background:#e2f2e8;color:#39856b}.icon-box--peach{background:#faeae1;color:#bc8160}.icon-box--lavender{background:#eeeaf8;color:#8d7fb1}.alert-banner{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #f2dcbc;background:#fff8eb;color:#835d27;border-radius:14px;padding:13px 16px;margin-bottom:25px}.alert-banner span{display:flex;flex-direction:column;gap:3px;flex:1}.alert-banner strong{font-size:13px}.alert-banner small{font-size:11px;opacity:.8}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 14px}.count-label{color:var(--muted);font-size:12px}.lesson-list,.children-list,.transaction-list,.attendance-list,.settings-list,.occupancy-list{display:grid;gap:10px}.lesson-card{min-height:84px;display:flex;align-items:center;gap:17px;text-align:left;padding:14px 19px;color:var(--text);width:100%}.lesson-card:hover,.child-row:hover{border-color:#bed8c8;transform:translateY(-1px)}.lesson-time{width:55px;flex:none;display:flex;flex-direction:column;gap:3px}.lesson-time strong{font-size:18px}.lesson-time span,.lesson-main small,.child-row small,.transaction-row small,.occupancy small,.setting-group small{font-size:11px;color:var(--muted)}.lesson-main{display:flex;align-items:center;gap:12px;min-width:0;flex:1}.lesson-main>div{display:flex;flex-direction:column;gap:4px;min-width:0}.lesson-main strong,.child-row strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.group-mark{width:41px;height:41px;display:grid;place-items:center;border-radius:12px;font-size:18px;font-weight:800;flex:none}.group-mark--peach,.avatar--peach{background:#fae9e0;color:#bb8067}.group-mark--lavender,.avatar--lavender{background:#eee9f9;color:#8e7eae}.group-mark--mint,.avatar--mint{background:#dff1e8;color:#5e9b79}.group-mark--sky,.avatar--sky{background:#e3eff9;color:#618faf}.group-mark--butter,.avatar--butter{background:#f7efda;color:#ae944f}.status{display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:6px 9px;font-size:10px;font-weight:800;white-space:nowrap}.status-dot{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}.status--planned{background:#eaf2f8;color:#66869c}.status--ongoing{background:#eee9fa;color:#8775b5}.status--awaiting{background:#fff2df;color:#ad7b2b}.status--completed{background:#e4f3e9;color:#508866}.status--cancelled{background:#f3f0ef;color:#968d88}.toolbar,.filter-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.segmented{display:inline-flex;background:#eaf0e9;padding:4px;border-radius:11px;gap:2px}.segmented button{border:0;background:transparent;color:#708476;border-radius:8px;padding:9px 14px;font-size:12px;font-weight:700;white-space:nowrap}.segmented button.active{background:var(--surface);color:var(--green-dark);box-shadow:0 2px 7px #263b3512}.date-navigator{display:flex;align-items:center;justify-content:space-between;margin:16px 0;padding:6px}.date-navigator button{border:0;background:transparent;color:var(--green);width:40px;height:40px;display:grid;place-items:center}.date-navigator strong{font-size:14px;text-align:center;text-transform:capitalize}.week-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}.week-strip button{display:flex;flex-direction:column;align-items:center;gap:3px;min-height:67px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--text);padding:8px 3px}.week-strip button.selected{background:var(--green);color:#fff}.week-strip span{font-size:10px}.week-strip strong{font-size:17px}.week-strip i{width:4px;height:4px;border-radius:50%}.week-strip .has-lessons{background:currentColor}.day-label{font-size:11px;color:var(--muted);font-weight:700;text-transform:capitalize;padding:7px 2px}.empty-state{border:1px dashed var(--line);border-radius:18px;min-height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:var(--muted);text-align:center;padding:20px}.empty-state strong{color:var(--text)}.empty-state span{font-size:12px}.search-box{height:48px;display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:0 14px;color:var(--muted)}.search-box input{border:0;outline:0;background:transparent;color:var(--text);width:100%;font-size:13px}.filter-row{margin:12px 0}.select-wrap{height:41px;display:flex;align-items:center;gap:5px;color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:0 10px}.select-wrap select{border:0;background:transparent;outline:0;color:var(--text);font-size:12px;max-width:150px}.child-row{min-height:72px;width:100%;display:flex;align-items:center;gap:12px;text-align:left;padding:11px 15px;color:var(--text)}.avatar{width:43px;height:43px;display:grid;place-items:center;border-radius:50%;font-size:13px;font-weight:800;flex:none}.child-row__main{min-width:0;display:flex;flex-direction:column;gap:3px;flex:1}.child-row__right{display:flex;align-items:center;gap:10px;font-size:11px;font-weight:800;color:var(--green);white-space:nowrap}.child-row__right .low{color:#ad7b2b}.period-switch{margin-bottom:17px}.finance-hero{background:#2f735d;color:#fff;border-radius:19px;padding:24px;display:flex;flex-direction:column;gap:6px;position:relative;overflow:hidden}.finance-hero:after{content:"✳";position:absolute;right:16px;top:-51px;font-size:180px;color:#ffffff13}.finance-hero span{font-size:12px;opacity:.8}.finance-hero strong{font-size:34px;letter-spacing:-.045em}.finance-hero small{font-size:11px;opacity:.72;z-index:1}.metric-pair,.profile-facts{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:12px 0}.metric{padding:17px;display:flex;flex-direction:column;gap:7px}.metric strong{font-size:21px}.metric .icon-box{margin-bottom:6px}.debt-banner{padding:17px;display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.debt-banner>div{display:flex;flex-direction:column;gap:4px}.debt-banner strong{font-size:21px}.debt-banner>span{font-size:11px;color:#ae793b;background:#fcf1df;padding:7px 9px;border-radius:9px}.action-pair,.profile-actions{display:flex;gap:10px}.transaction-row{display:flex;align-items:center;gap:12px;padding:13px 16px}.transaction-row>div{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}.transaction-row>div strong{font-size:13px}.transaction-row>strong{font-size:13px;white-space:nowrap}.positive{color:var(--green)}.stats-intro{display:flex;align-items:center;gap:12px;padding:16px}.stats-intro>div{display:flex;flex-direction:column;gap:4px}.stats-intro strong{font-size:14px}.stats-intro small{font-size:11px;color:var(--muted)}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:12px 0}.stat{padding:17px;min-height:117px;display:flex;flex-direction:column;justify-content:space-between}.stat strong{font-size:23px}.stat span{font-size:10px;color:var(--muted)}.chart{padding:18px}.bar-row{margin:12px 0}.bar-row>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:7px}.bar-row strong{font-size:12px}.bar-track{height:8px;background:#edf1ec;border-radius:8px;overflow:hidden}.bar-track>span{display:block;height:100%;background:#8bc8a4;border-radius:8px}.occupancy{display:flex;align-items:center;gap:12px;padding:12px 15px}.occupancy>div{flex:1;display:flex;flex-direction:column;gap:3px}.occupancy strong{font-size:13px}.occupancy>span:last-child{font-weight:800;color:var(--green)}.fine-print,.form-note{font-size:11px;color:var(--muted);line-height:1.5;margin:17px 0}.detail-heading{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:800;margin:0 0 22px}.lesson-detail-hero{display:flex;align-items:center;gap:16px;background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:20px}.lesson-detail-hero .group-mark{width:58px;height:58px;font-size:24px;border-radius:17px}.lesson-detail-hero>div:nth-child(2){flex:1}.lesson-detail-hero h1{font-size:25px;margin:5px 0}.lesson-detail-hero p{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:12px}.attendance-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:24px 0 13px}.attendance-top p{color:var(--muted);font-size:12px;margin-top:4px}.attendance-row{display:flex;align-items:center;gap:12px;padding:13px 15px;flex-wrap:wrap}.attendance-child{flex:1;min-width:110px;display:flex;flex-direction:column;gap:3px}.attendance-child strong{font-size:13px}.attendance-child small{font-size:10px;color:var(--muted)}.attendance-controls{display:flex;gap:5px}.att-chip{border:1px solid var(--line);background:var(--surface);color:var(--muted);min-height:38px;min-width:38px;border-radius:9px;font-size:18px;font-weight:800;display:flex;align-items:center;justify-content:center;gap:5px;padding:0 8px}.att-chip span{font-size:10px;font-weight:700;display:none}.att-chip--present.selected{background:#e3f2e8;color:#287153;border-color:#bfe1c9}.att-chip--unmarked.selected{background:#eef1ef;color:#56645e;border-color:#cbd3ce}.att-chip--absent.selected{background:#f7e8e5;color:#b76c61;border-color:#eccbc5}.reason-select{margin-left:55px;min-height:35px;background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:0 8px;color:var(--text);font-size:11px}.save-bar{position:sticky;bottom:0;background:var(--bg);border-top:1px solid var(--line);padding:14px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.save-bar span{color:var(--muted);font-size:11px;max-width:310px}.notice{background:#fff8eb;color:#85622f;border:1px solid #f3e1be;border-radius:12px;padding:13px 15px;font-size:12px;line-height:1.5;margin:16px 0}.profile-header{display:flex;align-items:center;gap:16px;padding:22px}.avatar--large{width:67px;height:67px;font-size:19px}.profile-header h1{margin:5px 0;font-size:26px}.profile-header p{color:var(--muted);font-size:12px}.profile-actions{margin:15px 0}.profile-facts>.card{display:flex;flex-direction:column;gap:7px;padding:17px}.profile-facts small{color:var(--muted);font-size:11px}.profile-facts strong{font-size:16px}.profile-section{padding:5px 18px}.profile-section p{padding:15px 0;color:var(--muted);font-size:12px}.profile-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.profile-line:last-child{border:0}.profile-line span{color:var(--muted)}.profile-line strong{font-size:11px;text-align:right}.archive-action{margin-top:15px}.setting-group{display:flex;align-items:center;gap:12px;padding:14px}.setting-group>div{display:flex;flex-direction:column;gap:3px;flex:1}.setting-group>div strong{font-size:13px}.setting-group>strong{font-size:13px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#1c2b25a8;z-index:30;display:flex;align-items:center;justify-content:center;padding:20px}.modal{width:min(100%,430px);max-height:min(90vh,800px);overflow:auto;background:var(--surface);border-radius:20px;padding:23px;box-shadow:0 20px 70px #0003}.modal-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:19px}.modal-head h2{font-size:21px;margin-top:4px}.form-grid{display:grid;gap:12px}.form-grid label{display:grid;gap:6px;font-size:11px;font-weight:700;color:var(--muted)}.form-grid input,.form-grid select,.form-grid textarea{width:100%;min-height:43px;border:1px solid var(--line);border-radius:10px;padding:10px 11px;background:var(--bg);color:var(--text);outline:0;font-size:13px}.form-grid textarea{resize:vertical}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.search-box:focus-within{border-color:var(--green)}.form-grid .button{width:100%}.form-note{margin:0}.toast{position:fixed;right:24px;bottom:24px;z-index:40;display:flex;align-items:center;gap:8px;background:#1f6047;color:#fff;padding:12px 16px;border-radius:12px;box-shadow:0 10px 25px #0002;font-size:12px}.side-note{font-size:11px;color:var(--muted)}@media (min-width:1000px){.app-shell{display:grid;grid-template-columns:228px minmax(0,1fr)}.sidebar{display:flex;position:sticky;top:0;height:100vh;background:var(--surface);border-right:1px solid var(--line);padding:27px 15px;flex-direction:column}.brand{margin:4px 10px 43px}.brand div{display:flex;flex-direction:column;line-height:1.15}.brand small{color:var(--muted);font-size:11px;letter-spacing:.16em}.sidebar nav{display:grid;gap:5px}.sidebar nav button,.side-settings{border:0;width:100%;display:flex;align-items:center;gap:12px;padding:12px 15px;border-radius:11px;background:transparent;color:var(--muted);text-align:left;font-size:13px;font-weight:700;min-height:44px}.sidebar nav button.active{background:var(--green-soft);color:var(--green-dark)}.sidebar nav button:hover,.side-settings:hover{background:var(--bg)}.side-settings{margin-top:auto}.side-note{display:flex;align-items:center;gap:7px;margin:17px 15px}.side-note .status-dot{background:#5fb886}.topbar-brand{visibility:hidden}}@media (max-width:999px){.content{padding:24px 25px 110px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:20;display:grid;grid-template-columns:repeat(5,1fr);background:var(--surface);border-top:1px solid var(--line);padding:7px 7px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -5px 20px #263b350b}.bottom-nav button{min-height:49px;border:0;background:transparent;color:var(--muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:10px;font-weight:700;border-radius:10px}.bottom-nav button.active{color:var(--green);background:var(--green-soft)}.save-bar{bottom:calc(62px + env(safe-area-inset-bottom));padding:10px 0}.toast{bottom:calc(78px + env(safe-area-inset-bottom))}.stat-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:600px){.topbar{height:58px;padding:0 17px}.topbar-brand strong{font-size:15px}.topbar-title{display:none}.content{padding:21px 16px 110px}.welcome{min-height:108px;margin-bottom:14px}.welcome-art{height:73px;width:73px;border-radius:21px}.welcome-art span{font-size:62px}.summary-grid{grid-template-columns:repeat(2,1fr);gap:9px}.summary-card{min-height:109px;padding:14px}.summary-card strong{font-size:28px;margin:6px 0 2px}.summary-card>span{font-size:10px}.summary-card small{font-size:9px}.home-highlight{margin-top:10px}.section-title h2{font-size:17px}.lesson-card{gap:9px;padding:11px;min-height:73px}.lesson-time{width:44px}.lesson-time strong{font-size:15px}.lesson-time span{font-size:9px}.lesson-main{gap:8px}.lesson-main strong{font-size:12px}.lesson-main small{font-size:10px}.group-mark{width:34px;height:34px;font-size:15px;border-radius:10px}.lesson-card .status{padding:5px 6px;font-size:9px}.lesson-chevron{display:none}.page-heading{margin-bottom:20px}.page-heading--action .button{padding:0 11px}.filter-row{align-items:stretch}.filter-row .segmented button{padding:8px 9px}.select-wrap{max-width:46%}.select-wrap select{max-width:112px}.child-row{padding:10px}.child-row__right{gap:2px;font-size:10px}.finance-hero{padding:20px}.finance-hero strong{font-size:30px}.metric{padding:14px}.metric strong{font-size:18px}.action-pair .button{flex:1;padding:0 8px;font-size:11px}.detail-heading{margin-bottom:14px}.lesson-detail-hero{padding:15px;gap:10px;flex-wrap:wrap}.lesson-detail-hero h1{font-size:20px}.lesson-detail-hero .status{margin-left:50px}.attendance-top h2{font-size:17px}.attendance-top .button{padding:0 10px;font-size:11px}.attendance-row{padding:10px;gap:8px}.attendance-child{min-width:90px}.attendance-controls{width:100%;justify-content:space-between;padding-left:49px}.att-chip{flex:1;min-height:42px}.att-chip span{display:inline;font-size:9px}.reason-select{margin-left:49px;width:calc(100% - 49px)}.save-bar span{font-size:9px;max-width:180px}.profile-header{padding:16px}.profile-header h1{font-size:22px}.profile-facts strong{font-size:13px}.stat-grid{gap:9px}.stat{min-height:105px;padding:13px}.stat strong{font-size:20px}.modal-backdrop{align-items:end;padding:0}.modal{width:100%;max-height:92vh;border-radius:20px 20px 0 0;padding:20px 20px calc(20px + env(safe-area-inset-bottom))}}@media (min-width:1000px){.topbar .icon-button{visibility:hidden}}@media (max-width:370px){.lesson-card .group-mark{display:none}.lesson-card .status{font-size:8px}.att-chip{padding:0 3px}.att-chip span{font-size:8px}.bottom-nav button{font-size:9px}}.topbar{height:58px}.content{padding-top:18px}.lessons-heading{display:flex;align-items:end;justify-content:space-between;margin:0 0 12px}.lessons-heading h1{font-size:27px;margin-top:3px}.journal-toolbar{display:grid;grid-template-columns:44px minmax(0,1fr) 44px 44px;align-items:center;gap:2px;padding:3px;border-radius:13px}.journal-toolbar>button{width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:10px;background:transparent;color:var(--green)}.journal-toolbar>button:hover,.journal-toolbar>button.active{background:var(--green-soft)}.journal-date{position:relative;text-align:center;min-width:0;height:44px;display:grid;place-items:center;cursor:pointer}.journal-date strong{font-size:13px;text-transform:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%;padding:0 5px}.journal-date input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.journal-date:focus-within{outline:2px solid var(--green);border-radius:8px}.view-switch{display:flex;gap:6px;margin:12px 0}.view-switch button{min-height:44px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--muted);padding:0 12px;font-size:12px;font-weight:700}.view-switch button.active{background:var(--green-soft);border-color:var(--green-soft);color:var(--green-dark)}.daily-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:13px}.daily-summary>div{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:11px;padding:10px 11px;display:flex;flex-direction:column;gap:3px}.daily-summary strong{font-size:17px;white-space:nowrap}.daily-summary span{font-size:10px;color:var(--muted)}.lesson-card{min-height:66px;padding-top:10px;padding-bottom:10px}.bottom-nav{grid-template-columns:repeat(4,1fr)}.month-calendar{padding:16px}.month-calendar__weekdays,.month-calendar__grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.month-calendar__weekdays{text-align:center;color:var(--muted);font-size:11px;margin-bottom:6px}.month-calendar__grid button{min-width:0;min-height:49px;border:0;border-radius:9px;background:var(--bg);color:var(--text);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px}.month-calendar__grid button.selected{background:var(--green);color:#fff}.month-calendar__grid button strong{font-size:13px}.month-calendar__grid button i{width:4px;height:4px;border-radius:50%;background:currentColor}.journal-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;margin-bottom:12px}.journal-summary div{display:flex;flex-direction:column;gap:3px}.journal-summary small,.journal-summary>span{font-size:11px;color:var(--muted)}.journal-summary strong{font-size:20px}.journal-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:13px;background:var(--surface);max-width:100%}.journal-scroll:focus-visible{outline:2px solid var(--green)}.journal-table{border-collapse:separate;border-spacing:0;font-size:11px;white-space:nowrap}.journal-table th,.journal-table td{min-width:60px;height:48px;padding:5px;text-align:center;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.journal-table th:first-child{position:sticky;left:0;z-index:2;min-width:166px;max-width:166px;text-align:left;padding:7px 10px;background:var(--surface)}.journal-table thead th,.journal-table tfoot th,.journal-table tfoot td{background:var(--green-soft);font-weight:800}.journal-table thead th:first-child,.journal-table tfoot th:first-child{z-index:3;background:var(--green-soft)}.journal-table tbody th small{display:block;color:var(--green);margin-top:3px}.journal-attendance,.journal-payment{display:block;font-weight:800}.journal-attendance{color:var(--muted)}.journal-payment{color:var(--green);font-size:10px}.journal-legend{color:var(--muted);font-size:11px;line-height:1.5;margin-top:10px}.detail-heading{margin-bottom:12px}.draft-indicator{margin-left:auto;font-size:11px;font-weight:700;color:var(--green)}.draft-indicator--unsaved{color:#ad7b2b}.journal-lesson-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:11px}.journal-lesson-heading h1{font-size:23px;margin:4px 0}.journal-lesson-heading p{font-size:12px;color:var(--muted)}.journal-totals{display:flex;justify-content:space-between;gap:10px;padding:10px 13px;border-radius:10px;background:var(--green-soft);font-size:11px;color:var(--green-dark)}.journal-totals strong{font-size:11px}.attendance-top{margin:15px 0 10px}.attendance-row{display:grid;grid-template-columns:43px minmax(0,1fr) auto;gap:8px 11px;padding:11px 13px}.attendance-child{min-width:0}.attendance-child strong,.attendance-child small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reason-select{grid-column:2 / -1;margin:0;width:100%;min-height:38px}.row-payments{grid-column:1 / -1;border-top:1px solid var(--line);padding-top:7px;display:flex;align-items:center;gap:7px;min-width:0;flex-wrap:wrap}.row-debts{grid-column:1 / -1;width:100%}.row-debts>small{color:var(--muted);font-weight:700}.row-debts .profile-line{flex-wrap:wrap}.row-payments__label,.no-payment{color:var(--muted);font-size:11px}.row-payments__items{display:flex;align-items:center;gap:5px;flex:1;flex-wrap:wrap;min-width:0}.payment-pill{border:0;border-radius:8px;background:var(--green-soft);color:var(--green-dark);min-height:44px;padding:0 8px;font-size:11px;font-weight:800;white-space:nowrap}.payment-pill small{font-size:10px;font-weight:500}.quick-payment{display:inline-flex;align-items:center;gap:3px;min-height:44px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--green);font-size:11px;font-weight:800;padding:0 9px;white-space:nowrap}.att-chip,.segmented button,.icon-button,.back-button{min-height:44px}.att-chip,.icon-button,.back-button{min-width:44px}.transaction-row{width:100%;text-align:left;color:var(--text)}.finance-hero{padding:16px 18px}.finance-hero:after{content:none}.finance-hero strong{font-size:27px}.metric-pair{margin:8px 0}.metric{padding:12px 14px;gap:3px}.metric .icon-box{display:none}.debt-banner{padding:12px 14px;margin-bottom:10px}.stat-grid{margin-top:0}.profile-line--button{width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text)}@media (max-width:600px){.content{padding:12px 12px 102px}.lessons-heading{margin-bottom:9px}.lessons-heading h1{font-size:24px}.daily-summary{gap:5px}.daily-summary>div{padding:8px 6px}.daily-summary strong{font-size:14px}.daily-summary span{font-size:9px}.lesson-card .group-mark{display:grid}.lesson-card{gap:7px}.lesson-card .status{max-width:85px;white-space:normal;line-height:1.1}.journal-summary>span{max-width:120px;text-align:right}.attendance-row{grid-template-columns:36px minmax(0,1fr);gap:7px 9px;padding:9px}.attendance-row .avatar{width:36px;height:36px}.attendance-controls{grid-column:2;width:100%;padding:0}.att-chip{min-height:44px}.reason-select{grid-column:2}.row-payments{gap:5px}.save-bar{bottom:calc(62px + env(safe-area-inset-bottom))}.save-bar span{max-width:125px}.save-bar .button{white-space:normal;text-align:center;max-width:185px}.journal-date strong{font-size:11px}}.dev-banner{position:sticky;top:0;z-index:80;padding:6px 14px;text-align:center;background:#17493f;color:#fff;font-size:12px}.gate{max-width:440px;margin:12vh auto;padding:28px}.gate h1{font-size:23px}.api-error,.api-success{padding:12px 14px;border-radius:12px;margin:12px 0}.api-error{color:#8b2430;background:#fff0f0}.api-success{color:#11604c;background:#e8f8f1;display:flex;align-items:center;gap:7px}.search-field{display:flex;align-items:center;gap:9px;padding:0 14px;background:#fff;border:1px solid #e5e8e4;border-radius:12px;margin:16px 0}.search-field input{border:0;outline:0;width:100%;min-height:45px;background:transparent;font:inherit}.group-picker{border:1px solid #e3e8e4;border-radius:12px;padding:12px;display:grid;gap:8px}.group-picker label,.inline-check{display:flex;align-items:center;gap:8px}.group-picker input,.inline-check input{width:auto}.real-group{flex-wrap:wrap}.real-group__actions{display:flex;gap:8px;width:100%;justify-content:flex-end}.real-group__actions .button{min-height:36px;padding:6px 12px}.real-section-head{display:flex;align-items:center;justify-content:space-between}.real-section{margin-top:28px}.real-section-head{gap:12px;margin-bottom:12px}.real-section-head h2{margin:0}.real-section-head p{margin:4px 0 0;color:var(--muted);font-size:13px}.real-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.real-journal-date{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;margin:16px 0}.real-journal-date>button{display:grid;place-items:center;width:44px;min-height:44px;border:1px solid #e3e8e4;border-radius:12px;background:#fff;color:var(--green)}.real-journal-date label{position:relative;display:grid;place-items:center;min-width:0;min-height:44px;cursor:pointer}.real-journal-date strong{overflow:hidden;max-width:100%;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.real-journal-date input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.real-journal-date label:focus-within{outline:2px solid var(--green);border-radius:8px}.report-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0;padding:16px}.report-filters label{display:grid;gap:6px;min-width:0}.report-filters input,.report-filters select{width:100%;min-width:0}.report-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:16px;padding:18px;margin:16px 0}.report-facts div{display:grid;gap:5px}.report-facts strong{font-size:1.35rem}.profile-more{margin:20px 0}.profile-more summary{cursor:pointer;font-weight:700;padding:14px;border-radius:14px;background:var(--surface, #fff)}.currency-switch{margin:12px 0 16px}.rent-panel .profile-line{flex-wrap:wrap}.rent-panel .profile-line>span{flex:1 1 150px}.rent-panel .profile-line>.button{flex:0 1 auto}@media (max-width: 600px){.rent-panel .profile-line>.button{width:100%}}@media (max-width: 600px){.report-filters{grid-template-columns:1fr}}.schedule-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}.schedule-row>div:first-child{display:grid;gap:4px}.schedule-row small{color:var(--muted)}@media (max-width: 600px){.real-section-head{align-items:flex-start;flex-direction:column}.schedule-row{align-items:stretch}.schedule-row .real-group__actions{justify-content:flex-start;flex-wrap:wrap}}:root,:root[data-theme=dark]{--bg:#fffcf5;--surface:#fff;--text:#242424;--muted:#747474;--line:#edeae3;--accent:#f7c948;--accent-strong:#f2b705;--accent-soft:#fff4c9;--danger:#c84f46;--danger-soft:#fff0ec;--green:#39735e;--green-dark:#285845;--green-soft:#eaf4ed;--shadow:0 8px 24px rgba(40,35,21,.045);color:var(--text);background:var(--bg);color-scheme:light}body{background:var(--bg);color:var(--text)}.content{padding-bottom:max(100px,calc(84px + env(safe-area-inset-bottom)))}.card{border-radius:16px;box-shadow:var(--shadow)}.brand-symbol{background:var(--accent);color:var(--text)}.eyebrow{color:#866100}.button{min-height:44px;border-radius:12px;transition:background .15s ease,transform .15s ease,box-shadow .15s ease}.button--primary{background:var(--accent);color:var(--text);box-shadow:0 3px 10px #ae79001f}.button--primary:hover{background:var(--accent-strong)}.button--primary:active{transform:translateY(1px)}.button--secondary{background:#f5f3ee;color:var(--text)}.button--secondary:hover{background:#ece8df;filter:none}.button--ghost{color:var(--text)}.archive-action,.button--danger{color:var(--danger);background:var(--danger-soft)}.archive-action:hover,.button--danger:hover{background:#ffe2da}.segmented{background:#f6f2e9}.segmented button{color:#62615e}.segmented button.active,.view-switch button.active{background:var(--accent);border-color:var(--accent);color:var(--text);box-shadow:none}.bottom-nav button.active,.sidebar nav button.active{background:var(--accent-soft);color:var(--text)}.week-strip button.selected,.month-calendar__grid button.selected{background:var(--accent);color:var(--text)}.lesson-card:hover,.child-row:hover{border-color:#e7d898}.finance-hero{background:var(--accent-soft);color:var(--text)}.finance-hero:after{color:#52421a17}.api-error,.debt-banner{color:#8e3029;background:var(--danger-soft)}.search-field,.group-picker{border-color:var(--line)}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #b17a00;outline-offset:2px}input,select,textarea{accent-color:var(--accent-strong)}.modal{max-height:min(88vh,760px);overflow-y:auto}.avatar--girl{background:#f9e1eb;color:#754254}.avatar--boy{background:#e1f1fb;color:#385d73}.avatar--neutral{background:#f0eee9;color:#5b5750}.child-row{min-height:64px;padding:10px 14px}.child-row__badges{display:flex;flex-wrap:wrap;gap:5px;margin-top:3px}.child-row__badges em{font-style:normal;font-size:10px;font-weight:700;color:#35664f;background:#eaf4ed;border-radius:99px;padding:2px 7px}.child-row__badges .debt-badge{color:#9b3d36;background:var(--danger-soft)}.profile-actions{display:flex;flex-wrap:wrap;gap:8px}.profile-header{padding:18px}.profile-header .avatar--large{width:60px;height:60px}.profile-facts>.card{padding:14px 16px}.transfer-warning{padding:14px;border:1px solid #edc5bc;border-radius:12px;background:var(--danger-soft);color:#7d322c}.transfer-warning p{margin:6px 0 12px;line-height:1.5}.transfer-warning .inline-check{font-weight:700}.lesson-calendar{margin:0 0 8px}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.calendar-current{min-width:0;display:grid;gap:2px}.calendar-current small,.calendar-sheet-head small{color:var(--muted);font-size:11px}.calendar-current strong{font-size:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.calendar-controls{display:flex;gap:5px;flex:none}.calendar-controls button,.calendar-sheet-head button,.calendar-month-nav button{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text)}.calendar-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-top:12px}.calendar-day{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-width:0;min-height:68px;border:1px solid var(--line);border-radius:13px;background:var(--surface);color:var(--text)}.calendar-day small{font-size:11px;color:var(--muted);text-transform:capitalize}.calendar-day strong{font-size:16px;line-height:1}.calendar-day.is-selected{background:var(--accent);border-color:var(--accent)}.calendar-day.is-selected small{color:#3e350f}.calendar-day.is-today:not(.is-selected){border-color:var(--accent-strong)}.calendar-dot{width:5px;height:5px;border-radius:50%;background:transparent}.calendar-dot.has-lessons{background:var(--green)}.calendar-day.is-selected .calendar-dot.has-lessons{background:#423713}.calendar-today{margin-top:8px;min-height:36px;padding:0 12px;border:0;border-radius:9px;background:var(--accent-soft);color:var(--text);font-weight:700}.calendar-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;display:flex;align-items:flex-end;justify-content:center;padding:0;background:#24242466}.calendar-sheet{width:min(100%,520px);max-height:92vh;overflow:auto;padding:18px 18px max(22px,env(safe-area-inset-bottom));border-radius:22px 22px 0 0;background:var(--surface);box-shadow:0 -12px 40px #1e190e1f}.calendar-sheet-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.calendar-sheet-head h2{margin-top:3px}.calendar-month-nav{display:flex;align-items:center;justify-content:space-between;margin:12px 0}.calendar-month-nav button:nth-child(2){padding:0 14px;background:var(--accent-soft);font-weight:700}.calendar-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.calendar-weekday{padding:7px 0;text-align:center;font-size:11px;color:var(--muted);font-weight:700}.calendar-month .calendar-day{min-height:48px;border-color:transparent;border-radius:10px}.calendar-month .calendar-day.is-outside{opacity:.43}.calendar-month .calendar-day.is-selected{border-color:var(--accent)}.calendar-month .calendar-day strong{font-size:13px}.calendar-key{display:flex;align-items:center;gap:6px;margin-top:12px;font-size:11px;color:var(--muted)}.lesson-day-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:14px 0}.lesson-count{margin:12px 0 8px;font-size:15px}.lesson-day-footer .journal-summary{flex:1 1 180px;margin:0}@media (max-width:600px){.content{padding-left:16px;padding-right:16px}.calendar-current strong{font-size:14px}.calendar-controls button{min-width:40px;min-height:44px}.calendar-week{gap:4px}.calendar-week .calendar-day{min-height:62px}.calendar-week .calendar-day strong{font-size:15px}.profile-actions .button{flex:1 1 120px}}.page-heading--stacked,.page-heading--stacked .eyebrow{display:block}@media (max-width:600px){.profile-actions .button{flex:1 1 105px}}.payment-review{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;margin:.8rem 0}.payment-review p{margin:.25rem 0 0;color:var(--muted, #656565);font-size:.9rem}.notification-settings{margin:1.5rem 0 4rem;padding:1.25rem}.notification-settings h2{margin:0 0 .5rem}.notification-settings h3{margin:1.5rem 0 .4rem}.notification-settings p{color:#5d5d5d}.notification-options{display:grid;gap:.3rem}.notification-option{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.7rem .25rem;border-bottom:1px solid #eee9d7;cursor:pointer}.notification-option input{accent-color:#d6a600;width:1.15rem;height:1.15rem}@media (max-width: 600px){.payment-review{align-items:flex-start;flex-direction:column}}
