:root{--bg:#f6f7f3;--surface:#fff;--surface-soft:#f7f8f5;--text:#25372f;--muted:#657269;--line:#e4e9e2;--brand:#345e49;--brand-2:#244d3e;--accent:#376b50;--success:#34704d;--warning:#956422;--danger:#b44238;--shadow:0 3px 16px #1e372606;--radius:16px}*{box-sizing:border-box}html{background:var(--bg);scroll-padding-top:90px}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-family:Segoe UI,-apple-system,BlinkMacSystemFont,sans-serif;font-size:14px}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}svg{vertical-align:middle;flex-shrink:0}:focus-visible{outline-offset:4px;outline:3px solid #719b59}::selection{color:#244d3e;background:#dce9cc}.skip-link{z-index:100;background:var(--brand-2);color:#fff;border-radius:8px;padding:12px 18px;position:fixed;top:-80px;left:16px}.skip-link:focus{top:12px}.app-layout{grid-template-columns:240px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);background:#fff;flex-direction:column;height:100dvh;padding:32px 20px 18px;display:flex;position:sticky;top:0;overflow-y:auto}.brand{align-items:center;gap:12px;padding:0 4px 38px;display:flex}.brand-mark{background:var(--brand-2);color:#fff;letter-spacing:-5px;border-radius:13px;flex:0 0 44px;justify-content:center;align-items:center;width:44px;height:48px;padding-right:4px;font-family:Georgia,serif;font-size:37px;font-weight:700;line-height:1;display:flex}.brand-mark span{color:#ccdf9d}.brand-title{letter-spacing:-.5px;font-size:17px;font-weight:700;line-height:1.2}.brand-subtitle{color:var(--muted);letter-spacing:1.1px;margin-top:8px;font-size:7px;font-weight:650}.nav-caption{color:#879087;letter-spacing:1.5px;padding:0 14px 14px;font-size:10px;font-weight:650}.nav{gap:7px;display:grid}.nav-link{color:#6c786f;border-radius:9px;align-items:center;gap:12px;min-height:46px;padding:11px 14px;font-size:13px;transition:background .18s,color .18s;display:flex}.nav-link:hover{background:var(--surface-soft);color:var(--brand-2)}.nav-link.active{color:#31523b;background:#eaf0e4;font-weight:700}.nav-link.active svg{stroke-width:2px}.nav-active-dot{background:#587545;border-radius:50%;width:6px;height:6px;margin-left:auto}.sidebar-footer{margin-top:auto;padding-top:35px}.sidebar-note{background:#f5f6ee;border:1px solid #e9ecde;border-radius:12px;padding:18px 15px}.sidebar-note>svg{color:#627c43;margin-bottom:12px}.sidebar-note strong{font-size:12px;display:block}.sidebar-note p{color:var(--muted);margin:8px 0 15px;font-size:11px;line-height:1.7}.sidebar-note a{justify-content:space-between;align-items:center;font-size:11px;font-weight:650;display:flex}.demo-label{color:var(--muted);align-items:center;gap:8px;padding:22px 10px 4px;font-size:11px;display:flex}.status-dot,.workspace-dot{background:#8da365;border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block}.main{min-width:0}.topbar{border-bottom:1px solid var(--line);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);z-index:5;background:#fffffff0;justify-content:space-between;align-items:center;gap:12px;height:76px;padding:0 36px;display:flex;position:sticky;top:0}.topbar-title{color:var(--muted);align-items:center;gap:10px;font-size:12px;display:flex}.topbar-divider{color:#c6cdc3;margin:0 6px}.workspace-label{color:var(--text)}.topbar-user{align-items:center;gap:18px;display:flex}.topbar-search{color:var(--muted);align-items:center;gap:9px;min-height:44px;font-size:12px;display:flex}.topbar-search:hover{color:var(--accent)}.avatar{outline:1px solid var(--line);width:36px;height:36px;color:var(--brand-2);background:#e8eddf;border:3px solid #fff;border-radius:50%;place-items:center;font-size:11px;font-weight:700;display:grid}.content{max-width:1540px;margin:0 auto;padding:34px 36px 44px}.content:focus{outline:none}.page-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px;display:flex}.page-heading h1{letter-spacing:-1px;margin:0;font-size:29px;font-weight:650;line-height:1.25}.page-heading p{color:var(--muted);max-width:700px;margin:9px 0 0;font-size:13px;line-height:1.65}.page-heading>div{min-width:0}.eyebrow{letter-spacing:1.9px;color:#637357;margin-bottom:10px;font-size:9px;font-weight:700}.button{background:var(--brand-2);color:#fff;text-align:center;cursor:pointer;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:10px 17px;font-size:13px;font-weight:600;transition:background .18s,box-shadow .18s;display:inline-flex}.button:hover{background:#34644e;box-shadow:0 3px 8px #244d3e18}.button.secondary{color:var(--text);border-color:var(--line);background:#fff}.button.secondary:hover{background:#f2f5ed;border-color:#b9c9b3}.button.ghost{color:var(--muted);background:0 0;padding:0 10px}.button.light{color:#294935;background:#eef2de}.button.light:hover{background:#fff}.button:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);min-width:0;box-shadow:var(--shadow)}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px;display:grid}.stat-card{padding:20px}.stat-link{transition:border-color .18s,transform .18s}.stat-link:hover{border-color:#abc09e;transform:translateY(-2px)}.stat-top,.stat-bottom{justify-content:space-between;align-items:center;gap:8px;display:flex}.stat-label{color:#637467;font-size:12px}.stat-icon{color:#537543;background:#edf3e6;border-radius:10px;place-items:center;width:34px;height:34px;display:inline-grid}.stat-icon.blue{color:#6583a4;background:#edf2f8}.stat-icon.amber,.section-icon.amber{color:#a07d39;background:#fbf4e6}.stat-icon.rose{color:#ae7e68;background:#f9efea}.stat-value{letter-spacing:-1px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:8px 0 13px;font-size:clamp(25px,2.4vw,34px);font-weight:650}.stat-foot{color:var(--muted);font-size:11px;line-height:1.5}.stat-bottom>svg{color:#95a28e}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:22px;display:grid}.dashboard-column{flex-direction:column;gap:22px;min-width:0;display:flex}.section-card{padding:23px}.section-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;display:flex}.section-head h2{letter-spacing:-.3px;margin:0;font-size:15px;font-weight:650}.section-head a{color:var(--accent);flex-shrink:0;align-items:center;gap:6px;min-height:30px;font-size:11px;font-weight:600;display:inline-flex}.section-head a:hover,.list-row-title:hover{text-underline-offset:4px;text-decoration:underline}.section-title{align-items:center;gap:10px;min-width:0;display:flex}.section-icon{color:#6f865c;background:#f1f5ec;border-radius:9px;flex-shrink:0;place-items:center;width:32px;height:32px;display:grid}.count-label{color:#677b59;vertical-align:middle;background:#f0f3ec;border-radius:6px;place-items:center;min-width:21px;height:21px;margin-left:5px;font-size:10px;display:inline-grid}.section-description{color:var(--muted);margin:7px 0 0;font-size:12px}.lesson-list,.attention-list{gap:10px;display:grid}.lesson-item{border-top:1px solid var(--line);grid-template-columns:66px minmax(0,1fr) auto;align-items:center;gap:14px;padding:16px 0;display:grid}.lesson-item:first-child{border-top:0}.lesson-time{font-variant-numeric:tabular-nums;font-size:14px;font-weight:700}.lesson-name{font-size:14px;font-weight:650}.lesson-topic{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.5}.lesson-item:hover .lesson-name{color:var(--accent)}.badge{color:#65745e;white-space:nowrap;background:#f0f3ee;border-radius:6px;align-items:center;gap:4px;padding:5px 8px;font-size:10px;font-weight:600;display:inline-flex}.badge.active{color:var(--success);background:#eaf4e8}.badge.warning{color:var(--warning);background:#fcf2de}.attention-item{background:var(--surface-soft);border-radius:12px;padding:14px}.attention-item strong{font-size:13px;display:block}.attention-item span{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.5;display:block}.table-card{overflow:hidden}.table-toolbar{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:20px;display:flex}.search{border:1px solid var(--line);background:#fff;border-radius:9px;outline:none;width:100%;max-width:360px;height:44px;padding:0 12px}.search:focus,.field input:focus,.field textarea:focus,.field select:focus{border-color:#87a379;box-shadow:0 0 0 3px #92ad7d22}table{border-collapse:collapse;width:100%}th{text-align:left;color:var(--muted);text-transform:uppercase;letter-spacing:.8px;background:#f8faf6;padding:14px 20px;font-size:10px;font-weight:600}td{border-top:1px solid var(--line);vertical-align:middle;padding:19px 20px;font-size:13px}.student-name{font-weight:650}.subtle{color:var(--muted);margin-top:3px;font-size:12px}.row-link:hover{background:#fafcf8}.form-card{max-width:880px;padding:24px}.form-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.field{gap:7px;display:grid}.field.full{grid-column:1/-1}.field label{font-size:13px;font-weight:650}.field small{color:var(--muted);line-height:1.4}.field input,.field textarea,.field select{border:1px solid var(--line);background:#fff;border-radius:11px;outline:none;width:100%;padding:11px 12px}.field textarea{resize:vertical;min-height:110px}.form-actions{border-top:1px solid var(--line);justify-content:flex-end;gap:10px;margin-top:22px;padding-top:20px;display:flex}.notice{color:#7a4a00;background:#fff6e5;border:1px solid #f3dfb3;border-radius:12px;margin-bottom:18px;padding:13px 15px;font-size:13px;line-height:1.5}.student-hero{justify-content:space-between;align-items:flex-start;gap:20px;padding:24px;display:flex}.student-hero h1{letter-spacing:-.035em;margin:0;font-size:28px}.student-meta{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.detail-grid{grid-template-columns:1.1fr .9fr;gap:18px;margin-top:18px;display:grid}.detail-card{padding:22px}.detail-card h2{margin:0 0 18px;font-size:16px}.detail-row{border-top:1px solid var(--line);grid-template-columns:150px 1fr;gap:16px;padding:12px 0;display:grid}.detail-row:first-of-type{border-top:0}.detail-label{color:var(--muted);font-size:13px}.detail-value{font-size:13px;line-height:1.5}.empty-panel{text-align:center;min-height:180px;color:var(--muted);border:1px dashed #cbd5e1;border-radius:14px;place-items:center;padding:25px;display:grid}.auth-page{background:var(--bg);grid-template-columns:1.1fr .9fr;min-height:100vh;display:grid}.auth-side{background:var(--brand-2);color:#fff;flex-direction:column;justify-content:center;padding:8vw;display:flex}.auth-side .eyebrow{color:#9fb3c8;text-transform:uppercase;letter-spacing:.1em;font-size:12px;font-weight:800}.auth-side h1{letter-spacing:-.055em;max-width:700px;margin:18px 0;font-size:clamp(38px,5vw,68px);line-height:.98}.auth-panel{place-items:center;padding:34px;display:grid}.login-card{border:1px solid var(--line);width:min(430px,100%);box-shadow:var(--shadow);background:#fff;border-radius:22px;padding:30px}.login-card h2{letter-spacing:-.03em;margin:0;font-size:24px}.login-card>p{color:var(--muted);margin:8px 0 24px;line-height:1.55}.login-form{gap:15px;display:grid}.login-error{color:var(--danger);font-size:13px}.demo-entry{border-top:1px solid var(--line);color:var(--muted);margin-top:20px;padding-top:18px;font-size:13px}.demo-entry a{color:var(--accent);font-weight:700}.notice.success{color:#276749;background:#eaf5ef;border-color:#c9e8d6}.notice.danger{color:#9b2c2c;background:#fdecec;border-color:#f5c6c6}.badge.danger{color:#9b2c2c;background:#fdecec}.badge.info{color:#2c5282;background:#e8effa}.inline-form{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.inline-form .field{flex:180px;min-width:0}.link-button{color:var(--accent);cursor:pointer;background:0 0;border:0;padding:0;font-size:12px;font-weight:650}.link-button:hover{text-decoration:underline}.link-button.danger{color:var(--danger)}.stack{gap:10px;display:grid}.list-row{border-top:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 0;display:grid}.list-row:first-child{border-top:0;padding-top:0}.list-row-title{font-weight:650}.list-row-meta{color:var(--muted);margin-top:3px;font-size:13px;line-height:1.5}.list-row-actions{white-space:nowrap;align-items:center;gap:12px;display:flex}.board-group{margin-top:18px}.board-group:first-of-type{margin-top:0}.board-group h3{letter-spacing:-.01em;margin:0 0 12px;font-size:14px}.money{font-variant-numeric:tabular-nums;font-weight:700}.money.debt{color:var(--danger)}.money.settled{color:var(--success)}.money-row{border-top:1px solid var(--line);justify-content:space-between;align-items:baseline;gap:14px;padding:9px 0;font-size:13px;display:flex}.money-row:first-of-type{border-top:0}.money-total{border-top:2px solid var(--line);justify-content:space-between;align-items:baseline;gap:14px;margin-top:12px;padding-top:14px;display:flex}.money-total .money{font-size:20px}@media (max-width:780px){.list-row{grid-template-columns:1fr}.list-row-actions{justify-content:flex-start}}.week-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px;display:flex}.week-nav{flex-wrap:wrap;gap:8px;display:flex}.week-nav .button{min-height:36px;padding:0 12px;font-size:13px}.week-range{text-align:right}.week-range strong{font-size:14px;display:block}.week-range .subtle{margin-top:2px}.week-grid-wrap{position:relative;overflow-x:auto}.week-grid-wrap.is-busy{opacity:.6;pointer-events:none}.week-hint{z-index:4;background:var(--brand-2);color:#fff;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:650;position:absolute;top:8px;left:50%;transform:translate(-50%)}.week-grid{grid-template-columns:58px repeat(7,minmax(104px,1fr));min-width:820px;display:grid}.week-corner{border-bottom:1px solid var(--line)}.week-head{text-align:center;border-bottom:1px solid var(--line);border-left:1px solid var(--line);padding:9px 6px 11px}.week-head.is-today{color:var(--brand-2);background:#edf3e5}.week-head-day{font-size:12px;font-weight:700;display:block}.week-head-date{color:var(--muted);margin-top:2px;font-size:11px;display:block}.week-gutter{position:relative}.week-gutter-mark{color:var(--muted);font-variant-numeric:tabular-nums;font-size:11px;position:absolute;right:7px;transform:translateY(-50%)}.week-col{border-left:1px solid var(--line);position:relative}.week-col.is-today{background:#f8fbf3}.week-line{border-top:1px dashed #e4e9f0;position:absolute;left:0;right:0}.week-slot{-webkit-user-select:none;user-select:none;border:1px solid #0000;border-radius:9px;flex-direction:column;gap:1px;padding:4px 6px;display:flex;position:absolute;left:3px;right:3px;overflow:hidden}.week-slot.is-movable{cursor:grab;touch-action:none}.week-slot.is-movable:active{cursor:grabbing}.week-slot:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.week-col.is-drop-target{background:#eef4ff}.week-ghost{border:2px dashed var(--accent);color:var(--accent);pointer-events:none;z-index:2;background:#48658114;border-radius:9px;align-items:flex-start;padding:3px 6px;font-size:10px;font-weight:750;display:flex;position:absolute;left:3px;right:3px}.week-slot.is-dragging{opacity:.85;z-index:3;box-shadow:0 6px 16px #102a4d38}.week-slot-time{font-variant-numeric:tabular-nums;opacity:.85;font-size:10px;font-weight:750}.week-slot-name{font-size:11px;font-weight:650;line-height:1.25;overflow:hidden}.slot-scheduled{color:#1f3f7a;background:#e5edfb;border-color:#cddcf5}.slot-completed{color:#215c3d;background:#e6f4ec;border-color:#c7e6d5}.slot-cancelled{color:#6b7684;background:#f1f3f5;border-color:#e1e5ea;text-decoration:line-through}.slot-noshow{color:#9b2c2c;background:#fdecec;border-color:#f5c9c9}@media (max-width:780px){.week-range{text-align:left}.week-grid{min-width:760px}}.day-picker{flex-wrap:wrap;gap:7px;display:flex}.day-chip{position:relative}.day-chip input{clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.day-chip span{border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:10px;justify-content:center;align-items:center;min-width:46px;padding:9px 10px;font-size:12px;font-weight:650;display:inline-flex}.day-chip input:checked+span{background:var(--brand-2);color:#fff;border-color:var(--brand-2)}.day-chip input:focus-visible+span{box-shadow:0 0 0 3px #9fb3c859}.dashboard-heading{align-items:center}.date-chip{border:1px solid var(--line);color:#6d7a65;white-space:nowrap;background:#fafbf7;border-radius:8px;align-items:center;gap:9px;padding:11px 13px;font-size:11px;display:flex}.day-banner{color:#fff;background:#284f3f;border-radius:17px;justify-content:space-between;min-height:220px;margin-bottom:24px;padding:30px 34px;display:flex;position:relative;overflow:hidden}.day-banner-copy{z-index:1;position:relative}.banner-kicker{color:#c2d2ae;letter-spacing:1.8px;align-items:center;gap:8px;font-size:9px;font-weight:600;display:flex}.banner-kicker .status-dot{background:#c6df98}.day-banner h2{letter-spacing:-.65px;margin:17px 0 9px;font-size:clamp(23px,2.3vw,31px);font-weight:500}.day-banner p{color:#c0d1c4;margin:0;font-size:12px;line-height:1.6}.banner-actions{flex-wrap:wrap;align-items:center;gap:22px;margin-top:22px;display:flex}.banner-actions .button{min-height:39px;padding:8px 13px;font-size:11px}.banner-link{color:#e0e9da;align-items:center;gap:10px;min-height:40px;font-size:11px;display:inline-flex}.banner-link:hover{color:#fff;text-decoration:underline}.math-art{flex-shrink:0;align-self:center;width:270px;height:160px;margin:0 10px 0 30px;position:relative}.math-orbit{border:1px solid #95b78566;border-radius:50%;width:205px;height:105px;position:absolute;top:17px;left:22px;transform:rotate(-35deg)}.orbit-two{border-color:#95b78538;transform:rotate(40deg)}.math-symbol{color:#d5e4b1;font:italic 144px Georgia,serif;position:absolute;top:-42px;left:99px;transform:rotate(-12deg)}.math-plus{color:#a6bf8c;font:30px Georgia,serif;position:absolute;top:6px;left:17px}.math-times{color:#a6bf8c;font:38px Georgia,serif;position:absolute;bottom:34px;right:0}.math-dot{background:#cedca2;border-radius:50%;width:10px;height:10px;position:absolute;top:18px;right:28px}.math-caption{letter-spacing:2.3px;color:#aec19c;font-size:8px;position:absolute;bottom:-11px;left:27px}.dashboard-lesson,.dashboard-lesson:first-child{border:1px solid var(--line);border-radius:11px;grid-template-columns:50px minmax(0,1fr) auto;gap:12px;padding:16px 14px}.dashboard-lesson.next-lesson{background:#f5f8ee;border-color:#dce6cc}.dashboard-lesson .lesson-time{border-right:1px solid #dce3d6;align-self:stretch;padding-top:5px}.dashboard-lesson .lesson-time span{color:var(--muted);margin-top:7px;font-size:10px;font-weight:400;display:block}.lesson-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:10px;margin-top:10px;font-size:10px;display:flex}.lesson-meta span{align-items:center;gap:5px;display:inline-flex}.lesson-trailing{color:#899981;align-items:center;gap:12px;display:flex}.card-footer-link{border-top:1px solid var(--line);color:var(--accent);justify-content:center;align-items:center;gap:7px;min-height:40px;margin-top:18px;padding-top:17px;font-size:11px;display:flex}.card-footer-link:hover{color:var(--text)}.quick-action-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.quick-action-grid>a{border:1px solid var(--line);border-radius:10px;flex-direction:column;align-items:center;gap:10px;padding:15px 7px;font-size:11px;transition:background .18s,border-color .18s;display:flex}.quick-action-grid>a:hover{background:var(--surface-soft);border-color:#bfceb5}.quick-action-grid .stat-icon{background:0 0}.person-cell{align-items:center;gap:11px;min-width:0;display:flex}.person-avatar{color:#7e7555;background:#f2efdf;border-radius:11px;flex-shrink:0;place-items:center;width:37px;height:37px;font-size:11px;font-weight:650;display:grid}.avatar-tone-1{color:#5d7c90;background:#eaf0f5}.avatar-tone-2{color:#a27b64;background:#f3eae5}.payment-row .list-row-title{font-size:12px}.payment-row .list-row-meta{font-size:10px}.payment-row .money{white-space:nowrap;font-size:13px}.payment-row:hover .list-row-title{color:var(--accent)}.students-preview{margin-top:22px}.student-preview-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;display:grid}.student-preview{border:1px solid var(--line);background:#fafbf8;border-radius:10px;align-items:center;gap:12px;padding:15px;display:flex}.student-preview:hover{background:#f4f7ef;border-color:#b7caa7}.student-preview strong{font-size:12px;font-weight:600}.student-preview div>span{color:var(--muted);margin-top:5px;font-size:11px;display:block}.student-preview>svg{color:#90a17e;margin-left:auto}.empty-panel{background:#fafcf7;border-color:#dce4d5;align-content:center;gap:10px;font-size:13px;line-height:1.6}.empty-panel strong{color:var(--text);font-size:14px}.empty-panel .button{margin-top:6px}.empty-panel.compact{min-height:135px}.list-row-title,.detail-value,.lesson-topic{overflow-wrap:anywhere}.search-field{max-width:380px;color:var(--muted);flex:260px;align-items:center;display:flex;position:relative}.search-field>svg{pointer-events:none;position:absolute;left:13px}.search-field .search{background:#fafbf8;max-width:none;padding:0 42px 0 41px;font-size:12px}.icon-button{min-width:44px;min-height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;place-items:center;display:inline-grid}.search-field .icon-button{position:absolute;right:0}.icon-button:hover{color:var(--text);background:#eaf0e4}.filter-tabs{background:#f3f5ef;border-radius:9px;flex-wrap:wrap;gap:4px;padding:4px;display:flex}.filter-tabs button{min-height:36px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:6px 10px;font-size:11px;display:inline-flex}.filter-tabs button.selected{color:var(--brand-2);border-color:var(--line);background:#fff;box-shadow:0 1px 3px #244d3e09}.filter-tabs button span{color:#85917c;font-size:10px}.results-label{color:var(--muted);padding:12px 20px;font-size:11px}.table-scroll{overflow-x:auto}.auth-side{background:#284f3f;padding:6vw;position:relative;overflow:hidden}.auth-side:after{content:"";pointer-events:none;border:1px solid #90ad7933;border-radius:50%;width:500px;height:500px;position:absolute;bottom:-330px;right:-140px;box-shadow:0 0 0 65px #90ad7909,0 0 0 130px #90ad7908}.auth-brand{align-items:center;gap:14px;margin-bottom:65px;font-size:18px;font-weight:600;display:flex}.auth-brand .brand-mark{background:#ffffff12}.auth-side .eyebrow{color:#b4c59e;font-size:10px}.auth-side h1{letter-spacing:-2.5px;font-size:clamp(42px,4.8vw,70px);font-weight:500;line-height:1.13}.auth-side h1 em{color:#cfdfa8;font-family:Georgia,serif;font-weight:400}.auth-side p{color:#c2d1c4;max-width:420px;font-size:14px;line-height:1.9}.auth-features{color:#cbd9c0;flex-wrap:wrap;gap:18px;margin-top:35px;font-size:11px;display:flex}.auth-features span{align-items:center;gap:8px;display:inline-flex}.login-card{border-radius:18px;padding:40px}.login-card h2{font-size:27px;font-weight:600}.login-card>p{margin-bottom:30px;font-size:13px}.login-icon{color:#63824c;background:#eff4e7;border-radius:14px;place-items:center;width:52px;height:52px;margin-bottom:28px;display:grid}.login-form{gap:19px}.login-form .button{margin-top:6px}.field input:disabled{background:var(--surface-soft);cursor:not-allowed}.day-chip span{min-height:44px}@media (min-width:1600px){.content{padding-top:42px}.day-banner{min-height:235px}}@media (max-width:1200px){.app-layout{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:28px 14px 18px}.brand{gap:9px}.brand-title{font-size:15px}.brand-subtitle{font-size:6px}.content{padding:28px 24px 36px}.topbar{padding:0 24px}.dashboard-heading{flex-wrap:wrap;gap:14px}.stat-card{padding:16px}.dashboard-grid{grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:16px}.dashboard-column{gap:16px}.section-card{padding:19px}.math-art{width:220px;margin-right:0}.math-caption{letter-spacing:1.5px}.lesson-trailing{flex-direction:column;gap:8px}}@media (max-width:1050px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.detail-grid{grid-template-columns:minmax(0,1fr)}.dashboard-column{grid-template-columns:minmax(0,1fr);display:grid}.math-art{opacity:.65;width:180px}.math-orbit{left:-10px}.math-symbol{left:65px}.math-caption{display:none}.day-banner{padding:28px}.page-heading>div:has(>.button){flex-wrap:wrap}}@media (max-width:780px){html{scroll-padding-top:76px}.app-layout{grid-template-columns:minmax(0,1fr)}.sidebar{border-right:0;border-bottom:1px solid var(--line);height:auto;padding:15px 16px 0;position:relative;overflow:visible}.brand{gap:10px;padding:0 0 16px}.brand-mark{border-radius:9px;flex-basis:34px;width:34px;height:36px;font-size:29px}.brand-title{font-size:15px}.brand-title br,.brand-subtitle,.nav-caption,.sidebar-note,.sidebar-footer .demo-label{display:none}.sidebar-footer{margin:0;padding:0;position:absolute;top:11px;right:16px}.nav{gap:5px;padding-bottom:10px;display:flex;overflow-x:auto}.nav-link{white-space:nowrap;gap:7px;min-height:44px;padding:10px 12px;font-size:12px}.nav-link svg{width:16px;height:16px}.nav-active-dot{display:none}.topbar{height:58px;padding:0 18px}.topbar-user{gap:13px}.workspace-label,.topbar-divider,.topbar-search span{display:none}.content{padding:25px 18px 36px}.page-heading{flex-direction:column;align-items:stretch;gap:17px}.page-heading h1{font-size:26px}.page-heading>.button{align-self:flex-start}.date-chip{align-self:flex-start;font-size:10px}.day-banner{min-height:auto;padding:25px}.math-art{opacity:.2;pointer-events:none;position:absolute;right:-60px}.day-banner-copy{max-width:100%}.day-banner p{max-width:340px}.stats{gap:11px}.stat-card{padding:16px}.stat-value{font-size:28px}.stat-label{font-size:11px}.stat-icon{border-radius:8px;width:29px;height:29px}.stat-foot{font-size:10px}.section-card{padding:19px}.section-head h2{font-size:14px}.section-title{gap:7px}.section-head{gap:8px}.section-icon{width:27px;height:27px}.section-icon svg{width:17px}.section-head a{font-size:10px}.list-row{grid-template-columns:minmax(0,1fr)}.list-row>.badge{justify-self:start}.payment-row{grid-template-columns:minmax(0,1fr) auto}.lesson-item{grid-template-columns:52px minmax(0,1fr) auto;gap:10px}.dashboard-lesson,.dashboard-lesson:first-child{grid-template-columns:45px minmax(0,1fr)}.dashboard-lesson .lesson-trailing{flex-direction:row;grid-column:2;justify-content:space-between}.lesson-name{font-size:13px}.table-card{overflow:auto}table{min-width:700px}.table-toolbar{padding:16px}.search-field{flex-basis:100%;max-width:none}.filter-tabs{width:100%}.filter-tabs button{flex:1;min-height:40px;padding:6px}.results-label{padding-left:16px}.form-grid{grid-template-columns:minmax(0,1fr)}.field.full{grid-column:auto}.field input,.field textarea,.field select{font-size:16px}.form-card,.detail-card{padding:20px}.form-actions{flex-wrap:wrap}.student-hero{flex-direction:column;padding:20px}.detail-row{grid-template-columns:110px minmax(0,1fr);gap:10px}.auth-page{grid-template-columns:minmax(0,1fr)}.auth-side{padding:32px 26px}.auth-brand{margin-bottom:30px;font-size:16px}.auth-side h1{letter-spacing:-1px;font-size:42px}.auth-features{gap:14px;margin-top:20px}.auth-panel{padding:26px 18px}.login-card{padding:28px}.week-nav .button{min-height:44px}}@media (max-width:380px){.content{padding-left:12px;padding-right:12px}.stat-card{padding:12px}.stat-label{font-size:10px}.stat-value{font-size:24px}.stat-icon{width:25px;height:25px}.stat-bottom>svg{display:none}.section-card{padding:15px}.section-title .section-icon{display:none}.banner-actions{gap:14px}}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.field-hint{color:var(--muted);font-size:12px;line-height:1.5}.toggle-field{cursor:pointer;align-items:center;gap:9px;font-size:13px;font-weight:650;display:flex}.toggle-field input{width:auto;accent-color:var(--success)}.message-list{gap:16px;display:grid}.message-card{border:1px solid var(--line);background:var(--surface-soft,#fafcf7);border-radius:14px;padding:16px}.message-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.message-recipient{flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;display:flex}.message-body-form textarea{border:1px solid var(--line);resize:vertical;width:100%;min-height:120px;font:inherit;background:#fff;border-radius:11px;outline:none;padding:11px 12px;line-height:1.55}.message-actions{flex-wrap:wrap;align-items:center;gap:10px;margin-top:12px;display:flex}.message-actions .notice{flex:260px;margin:0}.message-skip-form{margin-top:10px}@media (max-width:720px){.message-head{flex-direction:column}.message-actions .button{justify-content:center;width:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.report-metrics{grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:14px;margin-top:16px;display:grid}.report-text{white-space:pre-wrap;margin-top:14px;line-height:1.65}.report-text.muted{color:var(--muted)}.note-list{color:var(--muted);margin:6px 0 0;padding-left:18px;font-size:13px}.note-list li{margin-bottom:4px}.stat-value.small{letter-spacing:0;margin:8px 0 10px;font-size:16px;font-weight:600}.booking-page{background:var(--bg,#f6f8f3);min-height:100dvh;padding:24px 16px 48px}.booking-shell{flex-direction:column;gap:16px;width:min(680px,100%);margin:0 auto;display:flex}.booking-shell .card{padding:20px}.booking-shell h1{margin:0 0 4px;font-size:24px}.booking-shell h2{margin:0 0 12px;font-size:17px}.booking-steps{flex-wrap:wrap;gap:8px;display:flex}.booking-chip{border:1px solid var(--line);min-height:44px;color:var(--text);background:#fff;border-radius:12px;justify-content:center;align-items:center;padding:0 16px;font-weight:650;text-decoration:none;display:inline-flex}.booking-chip:hover{background:#f2f5ed;border-color:#b9c9b3}.booking-chip.active{background:var(--success);border-color:var(--success);color:#fff}.booking-chip.muted{color:var(--muted);font-weight:500}.booking-summary{grid-template-columns:120px 1fr;gap:6px 12px;font-size:14px;display:grid}.booking-summary dt{color:var(--muted)}.booking-summary dd{margin:0;font-weight:650}.booking-footer{color:var(--muted);font-size:12px;line-height:1.6}.availability-grid{grid-template-columns:110px repeat(4,minmax(0,1fr));align-items:center;gap:8px 10px;display:grid}.availability-row{display:contents}.availability-head{color:var(--muted);font-size:12px;font-weight:700}.availability-grid input{border:1px solid var(--line);background:#fff;border-radius:10px;width:100%;padding:8px 10px}@media (max-width:640px){.availability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.availability-head{display:none}.availability-row strong{grid-column:1/-1;margin-top:8px}}.week-slot.slot-pending{color:#7b5a14;z-index:1;background:#fffaf0;border:1.5px dashed #d69e2e;text-decoration:none}.week-slot.slot-pending:hover{background:#fef3dc}.privacy-notice{font-size:14px;line-height:1.65}.privacy-notice h2{margin:20px 0 6px;font-size:15px}.privacy-notice ul{margin:6px 0;padding-left:20px}.privacy-notice li{margin:3px 0}.loading-panel{color:var(--muted);align-items:center;gap:10px;padding:28px 4px;font-size:14px;display:flex}.loading-dot{background:var(--success);border-radius:50%;width:10px;height:10px;animation:1s ease-in-out infinite loading-pulse}@keyframes loading-pulse{0%,to{opacity:.25;transform:scale(.8)}50%{opacity:1;transform:scale(1)}}@media (prefers-reduced-motion:reduce){.loading-dot{animation:none}}.check-summary{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;display:flex}.question-grid{grid-template-columns:repeat(auto-fill,minmax(62px,1fr));gap:8px;display:grid}.question-cell{border:1px solid var(--line);background:var(--surface);min-height:62px;color:var(--text);cursor:pointer;border-radius:12px;justify-items:center;gap:2px;padding:8px 4px;transition:background .12s,border-color .12s;display:grid}.question-cell:hover{border-color:var(--accent)}.question-cell .question-no{font-size:16px;font-weight:700}.question-cell .question-state{font-size:13px;line-height:1}.question-cell .question-answer{color:var(--muted);font-size:10px}.question-cell.correct .question-state{color:var(--success)}.question-cell.wrong{background:#fdecec;border-color:#f0b4b4}.question-cell.wrong .question-state{color:var(--danger);font-weight:700}.question-cell.blank{background:#fcf2de;border-color:#ecd49f}.question-cell.blank .question-state{color:var(--warning);font-weight:700}.topic-table{border-collapse:collapse;width:100%;min-width:0;font-size:13px}.topic-table th,.topic-table td{border-top:1px solid var(--line);text-align:left;padding:9px 8px}.topic-table th{color:var(--muted);border-top:0;font-size:12px;font-weight:600}.topic-table td.num,.topic-table th.num{text-align:right;font-variant-numeric:tabular-nums}.topic-chips{flex-wrap:wrap;gap:6px;display:flex}.choice-list{border-top:1px solid var(--line);gap:10px;margin-top:16px;padding-top:14px;display:grid}.choice-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.choice-row .choice-no{min-width:54px;font-weight:700}.choice-button{border:1px solid var(--line);background:var(--surface);min-width:40px;min-height:40px;color:var(--text);cursor:pointer;border-radius:10px;font-weight:600}.choice-button:hover:not(:disabled){border-color:var(--accent)}.choice-button.selected{border-color:var(--danger);color:var(--danger);background:#fdecec}.choice-button:disabled{opacity:.35;cursor:not-allowed}.choice-hint{color:var(--muted);flex-basis:100%;padding-left:60px;font-size:12px}.choice-hint.misconception{color:var(--danger)}@media (prefers-reduced-motion:reduce){.question-cell{transition:none}}
