:root{--brand:#7563a6;--brand-dark:#594583;--brand-soft:#eee8f5;--bg:#f8f6fc;--ink:#363044;--muted:#777081;--line:#e9e4ef;--paper:#fff;--cream:#eedda8;--cream-soft:#fcf5df;--green:#34766a;--green-soft:#e9f4ee;--amber:#8c6324;--amber-soft:#fff3de;--red:#a64d5c;--red-soft:#fceef0;--radius:22px;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;font-size:16px;line-height:1.65}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b49edb;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:30px;line-height:1.4;letter-spacing:-.035em;font-weight:650}h2{font-size:19px;line-height:1.5;font-weight:600}h3{font-size:16px;font-weight:600}small,.meta{font-size:13px;color:var(--muted)}svg.icon{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.icon-sm svg{width:17px;height:17px}.review-bar{min-height:74px;padding:14px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--paper);border-bottom:1px solid var(--line)}.review-brand{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:14px;font-weight:600}.tiny-note{font-size:30px;line-height:1;color:var(--brand)}.review-divider{padding:0 8px;color:#c2b9d1}.review-title{font-weight:400;color:var(--muted)}.review-switch{display:flex;background:#f4f1f8;border-radius:12px;padding:4px;gap:3px}.review-switch button{border:0;color:var(--muted);background:transparent;padding:7px 20px;font-size:14px;border-radius:9px;white-space:nowrap}.review-switch button.selected{color:var(--brand-dark);background:#fff;box-shadow:0 2px 5px #44325a0b;font-weight:600}.draft-tag{font-size:12px;letter-spacing:.06em;color:var(--brand-dark);background:var(--brand-soft);padding:6px 12px;border-radius:8px;white-space:nowrap}.demo-strip{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:10px 32px;background:#f0ecf6;font-size:12px;color:#736781}.demo-strip>span{display:flex;align-items:center;gap:8px}.demo-dot{width:5px;height:5px;background:var(--brand);border-radius:100%;flex:none}.demo-strip label{display:flex;align-items:center;gap:8px;white-space:nowrap}.demo-strip select{border:1px solid #d8cfe4;background:#faf8fd;border-radius:7px;color:#66547e;font-size:12px;padding:4px 7px;max-width:200px}.student-shell{max-width:1100px;margin:0 auto;padding:30px 36px 50px}.app-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:34px}.app-brand{display:flex;align-items:center;gap:10px;font-weight:600;letter-spacing:.05em}.brand-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:13px;background:var(--brand);color:#fff;font-size:31px;line-height:1}.student-nav{display:flex;gap:6px;align-items:center}.student-nav a{padding:9px 17px;border-radius:11px;display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted)}.student-nav a.active{background:var(--brand-soft);color:var(--brand-dark);font-weight:600}.avatar{display:grid;place-items:center;background:#e9dfef;color:#766186;border-radius:50%;width:40px;height:40px;font-size:14px;font-weight:600;flex:none}.avatar.cream{background:var(--cream-soft);color:#a48548}.avatar.green{background:var(--green-soft);color:var(--green)}.page-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.page-heading p{color:var(--muted);font-size:14px;margin-top:6px}.greeting-spark{display:inline-block;color:#c4a459;font-size:26px;margin-left:7px}.text-button{border:0;background:none;color:var(--brand);display:inline-flex;align-items:center;gap:6px;font-size:14px;padding:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border-radius:12px;border:1px solid transparent;background:var(--brand);color:#fff;font-size:14px;font-weight:550;line-height:1.5}.button:hover{background:var(--brand-dark)}.button.secondary{color:var(--brand-dark);background:var(--brand-soft)}.button.secondary:hover{background:#e4dcef}.button.outline{background:var(--paper);border-color:var(--line);color:var(--ink)}.button.outline:hover{border-color:#bca9d5}.button.ghost{background:transparent;color:var(--muted)}.button.full{width:100%}.button:disabled{background:#e5e1e9;color:#aaa3b3;border-color:transparent}.button.small{min-height:36px;padding:6px 12px;font-size:13px}.status{display:inline-flex;align-items:center;gap:5px;font-size:12px;line-height:1.5;padding:4px 9px;border-radius:7px;background:var(--brand-soft);color:var(--brand-dark);white-space:nowrap}.status.green{background:var(--green-soft);color:var(--green)}.status.amber{background:var(--amber-soft);color:var(--amber)}.status.gray{background:#f1eef3;color:#7e7688}.status.red{background:var(--red-soft);color:var(--red)}.tag{font-size:12px;color:var(--muted);display:inline-flex;padding:3px 8px;background:#f5f3f8;border-radius:6px}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:24px}.section-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.subheading{font-size:14px;color:var(--muted)}.home-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:22px}.next-lesson{background:#ede6f6;border-color:#e5dcef;padding:27px 28px;position:relative;overflow:hidden}.next-lesson h2{font-size:22px;margin-bottom:9px}.next-lesson .section-top{margin-bottom:25px}.next-body{display:flex;gap:22px;align-items:center}.date-tile{background:#faf8fe;min-width:82px;width:82px;border-radius:15px;padding:10px;text-align:center;flex:none}.date-tile strong{display:block;font-size:36px;line-height:1.25;font-weight:550;letter-spacing:-.03em;color:var(--brand-dark)}.date-tile span{font-size:12px;color:var(--brand)}.next-copy{min-width:0}.next-copy p{font-size:14px;color:#76648c}.lesson-meta{display:flex;align-items:center;flex-wrap:wrap;gap:13px;margin-top:12px;font-size:13px;color:#6b587f}.lesson-meta>span{display:flex;gap:5px;align-items:center}.next-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:26px;padding-top:20px;border-top:1px solid #dcd1e8}.next-bottom small{font-size:12px;color:#756482}.balance-card{display:flex;flex-direction:column;justify-content:space-between;background:#fff}.balance-number{font-size:39px;letter-spacing:-.04em;line-height:1.35;font-weight:600;margin:11px 0;color:var(--ink);font-variant-numeric:tabular-nums}.balance-number>span{font-size:20px;margin-right:6px;font-weight:400}.balance-description{font-size:13px;color:var(--muted)}.price-row{display:flex;gap:14px;margin:13px 0 19px;font-size:13px;color:var(--muted)}.price-row b{font-weight:500;color:var(--ink)}.balance-card .text-button{padding-top:15px;border-top:1px solid var(--line);width:100%;justify-content:space-between}.home-lower{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:22px;margin-top:22px}.practice-head{display:flex;align-items:center;gap:12px;margin-bottom:16px}.practice-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--cream-soft);color:#a28340;flex:none}.practice-content{color:#6a6176;font-size:14px;line-height:1.9}.practice-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px}.soft-note{background:#f4f0f8;border:0;display:flex;flex-direction:column;justify-content:center}.soft-note h3{margin:12px 0 8px}.soft-note p{color:var(--muted);font-size:14px}.soft-note>svg{color:var(--brand);width:24px;height:24px}.mini-line{margin:18px 0;border-top:1px solid var(--line)}.caption{color:var(--muted);font-size:13px;margin-top:12px}.inline-note{padding:12px 15px;border-radius:12px;background:var(--brand-soft);color:#705b8a;font-size:13px;display:flex;align-items:flex-start;gap:9px}.inline-note svg{margin-top:2px;width:17px;height:17px}.page-stack{display:grid;gap:20px}.empty-state{padding:35px 16px;text-align:center;color:var(--muted)}.empty-state h3{color:var(--ink);margin:10px 0}.empty-state .button{margin-top:18px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.muted{color:var(--muted)}.space-top{margin-top:20px}.numeric{font-variant-numeric:tabular-nums}.booking-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:22px;align-items:start}.step-label{display:flex;align-items:center;gap:10px;margin-bottom:15px;font-size:15px;font-weight:550}.step-label>span{width:23px;height:23px;border-radius:7px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;font-size:12px}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.choice{padding:16px;border:1px solid var(--line);background:#fff;border-radius:13px;text-align:left;color:var(--ink);display:flex;justify-content:space-between;gap:10px;align-items:center;min-height:78px}.choice.selected{border-color:var(--brand);background:#f8f5fc;box-shadow:inset 0 0 0 .5px var(--brand)}.choice:disabled{background:#f7f5f8;color:#a19aa8;opacity:.85}.choice small{display:block;font-size:12px;margin-top:4px}.choice svg{color:var(--brand)}.choice .radio-dot{width:17px;height:17px;border:1px solid #d4cada;border-radius:50%;flex:none}.choice.selected .radio-dot{border:5px solid var(--brand)}.booking-section+.booking-section{margin-top:26px;padding-top:24px;border-top:1px solid var(--line)}.week-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.date-choice{border:1px solid transparent;background:#f7f5f9;border-radius:12px;padding:10px 3px;color:var(--muted)}.date-choice span{display:block;font-size:12px}.date-choice strong{display:block;font-weight:550;font-size:18px;margin:3px 0}.date-choice.selected{background:var(--brand);color:#fff}.time-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:17px}.time-choice{padding:10px 5px;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:10px;min-height:69px}.time-choice small{display:block;font-size:11px;margin-top:2px;color:var(--muted)}.time-choice.selected{border-color:var(--brand);background:var(--brand-soft);color:var(--brand-dark)}.time-choice:disabled{background:#f5f3f7;color:#aaa3b2;border-color:transparent}.time-choice:disabled small{color:#9991a3}.booking-summary{background:var(--paper);position:sticky;top:20px}.definition{display:grid;grid-template-columns:auto minmax(0,1fr);gap:13px 15px;margin:21px 0;font-size:14px}.definition dt{color:var(--muted)}.definition dd{margin:0;text-align:right;overflow-wrap:anywhere}.definition strong{font-weight:600}.price-total{border-top:1px solid var(--line);padding-top:20px;margin-top:20px;display:flex;justify-content:space-between;align-items:baseline}.price-total strong{font-size:27px;font-weight:600}.booking-summary .button.full{margin-top:20px}.booking-summary textarea{display:block;width:100%;border:1px solid var(--line);border-radius:10px;padding:10px;resize:vertical;min-height:76px;font-size:14px;background:#fcfbfd;color:var(--ink);margin-top:8px}.field-label{font-size:13px;color:var(--muted)}.success-symbol{width:56px;height:56px;margin:0 auto 17px;display:grid;place-items:center;color:var(--brand);background:var(--brand-soft);border-radius:20px}.success-symbol svg{width:27px;height:27px}.segmented{display:flex;gap:5px;background:#efebf5;padding:4px;border-radius:11px;width:max-content;max-width:100%;margin-bottom:22px}.segmented button{border:0;background:transparent;color:var(--muted);padding:8px 18px;border-radius:8px;font-size:14px}.segmented button.selected{background:#fff;color:var(--brand-dark);box-shadow:0 2px 5px #46344c08}.course-list{display:grid;gap:14px}.course-row{display:flex;align-items:center;gap:20px;padding:21px 24px}.course-row .date-tile{width:61px;min-width:61px;padding:8px;background:#f4f0f9;border-radius:12px}.course-row .date-tile strong{font-size:25px}.course-row .date-tile span{font-size:11px}.course-info{flex:1;min-width:0}.course-info h3{margin-bottom:6px}.course-info p{font-size:14px;color:var(--muted)}.course-end{display:flex;align-items:flex-end;flex-direction:column;gap:13px}.profile-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:22px}.profile-hero{display:flex;gap:16px;align-items:center;margin-bottom:24px}.profile-hero .avatar{width:58px;height:58px;font-size:20px}.ledger-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:17px 0;border-bottom:1px solid var(--line)}.ledger-row:last-child{border-bottom:0;padding-bottom:0}.ledger-row p{font-size:14px}.ledger-row small{display:block;margin-top:2px}.ledger-amount{text-align:right;font-weight:550;font-variant-numeric:tabular-nums}.ledger-amount.positive{color:var(--green)}.profile-links{display:grid;gap:2px;margin-top:20px}.profile-links button{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border:0;border-bottom:1px solid var(--line);background:none;color:var(--ink);text-align:left;font-size:14px}.profile-links button:last-child{border-bottom:0}.progress-track{height:7px;border-radius:9px;background:var(--brand-soft);overflow:hidden;margin:20px 0 11px}.progress-fill{height:100%;background:var(--brand);border-radius:9px}.file-row{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fff;width:100%;text-align:left;color:var(--ink);margin-top:9px}.file-ext{width:37px;height:40px;display:grid;place-items:center;border-radius:8px;background:#f0ebf8;color:var(--brand);font-size:10px;letter-spacing:.02em;flex:none}.file-row>span:nth-child(2){flex:1;min-width:0;font-size:14px;overflow-wrap:anywhere}.file-row svg{color:var(--muted);width:17px}.record-section{margin-top:24px}.record-section h3{margin-bottom:9px}.record-section p,.record-section li{font-size:14px;color:#706678;line-height:1.9}.record-section ul{padding-left:20px;margin:0}.privacy-note{display:flex;gap:7px;align-items:center;font-size:12px;color:var(--muted);margin-top:18px}.teacher-shell{max-width:1480px;margin:0 auto;display:grid;grid-template-columns:215px minmax(0,1fr);min-height:calc(100vh - 122px)}.teacher-sidebar{padding:30px 18px;border-right:1px solid var(--line);background:#faf8fd;display:flex;flex-direction:column;gap:30px}.teacher-sidebar .app-brand{padding-left:12px}.teacher-nav{display:grid;gap:7px}.teacher-nav a{display:flex;gap:12px;align-items:center;padding:11px 16px;border-radius:11px;font-size:14px;color:var(--muted)}.teacher-nav a.active{background:var(--brand-soft);color:var(--brand-dark);font-weight:600}.sidebar-note{margin-top:auto;padding:16px;color:#9684ae;font-size:12px}.teacher-main{padding:32px;min-width:0}.teacher-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:15px}.teacher-top p{font-size:14px;color:var(--muted);margin-top:5px}.stats-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:25px 0}.stat-card{padding:20px 22px}.stat-card:first-child{background:#eee8f7;border-color:#e5dcef}.stat-card .stat-label{font-size:13px;color:var(--muted)}.stat-card strong{display:block;font-size:31px;line-height:1.4;font-weight:600;font-variant-numeric:tabular-nums;margin:8px 0 4px}.stat-card strong small{font-size:13px;font-weight:400;margin-left:5px}.stat-card p{font-size:12px;color:var(--muted)}.teacher-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,1fr);gap:22px}.teacher-schedule-item{display:flex;align-items:center;gap:15px;padding:17px 0;border-bottom:1px solid var(--line)}.teacher-schedule-item:last-child{border:0;padding-bottom:0}.teacher-schedule-item .time{font-size:14px;width:49px;flex:none;color:var(--muted);font-variant-numeric:tabular-nums}.teacher-schedule-item .lesson-copy{flex:1;border-left:3px solid var(--brand);padding-left:15px}.teacher-schedule-item h3{font-size:15px}.teacher-schedule-item p{font-size:13px;color:var(--muted);margin-top:5px}.todo-item{padding:15px 0;border-bottom:1px solid var(--line)}.todo-item:last-child{border:0;padding-bottom:0}.todo-item .row{justify-content:space-between;align-items:flex-start}.todo-item p{font-size:13px;color:var(--muted);margin:5px 0 12px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px;white-space:nowrap}th{text-align:left;font-size:12px;font-weight:500;color:var(--muted);padding:12px 14px;background:#faf8fd;border-bottom:1px solid var(--line)}td{padding:17px 14px;border-bottom:1px solid var(--line)}tr:last-child td{border-bottom:0}.table-name{display:flex;gap:10px;align-items:center}.table-name .avatar{width:33px;height:33px;font-size:12px}.table-name small{display:block;font-size:11px}.table-amount{text-align:right;font-variant-numeric:tabular-nums}.filter-row{display:flex;align-items:center;gap:10px;margin-bottom:20px;flex-wrap:wrap}.searchbox{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;min-width:200px}.searchbox svg{color:var(--muted);width:17px}.searchbox input{border:0;outline:0;width:100%;min-width:0;font-size:14px;background:transparent;color:var(--ink)}.filter-row select{padding:9px 13px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font-size:14px}.follow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.follow-card{padding:21px}.follow-card p{font-size:14px;color:var(--muted);line-height:1.85;margin:15px 0}.follow-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:20px}.calendar-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.calendar-day{min-width:0}.calendar-day>header{text-align:center;padding:12px 3px;font-size:13px;color:var(--muted);border-bottom:1px solid var(--line);margin-bottom:12px}.calendar-day>header strong{display:block;font-size:21px;color:var(--ink)}.calendar-entry{padding:12px;border-radius:12px;background:var(--brand-soft);color:var(--brand-dark);margin-bottom:10px;font-size:13px;min-height:100px}.calendar-entry.green{background:var(--green-soft);color:var(--green)}.calendar-entry.closed{background:#efedf1;color:#938a9b;min-height:85px}.calendar-entry strong{display:block;font-size:14px;font-weight:550;margin:5px 0}.calendar-entry span{font-size:12px}.availability-slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:20px}.availability-slot{padding:12px 5px;border:1px solid var(--line);background:#fff;border-radius:10px;color:var(--brand);font-size:14px}.availability-slot.closed{background:#efedf1;color:#92899a}.availability-slot span{display:block;font-size:11px;margin-top:3px}.finance-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.finance-summary strong{display:block;font-size:31px;margin:10px 0;font-variant-numeric:tabular-nums}.finance-summary h3{font-size:14px;font-weight:500;color:var(--muted)}.finance-summary p{font-size:12px;color:var(--muted)}.design-shell{max-width:1080px;padding:40px 36px 60px;margin:auto}.design-shell .page-heading{margin-bottom:30px}.design-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:24px}.swatches{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:20px}.swatch{border-radius:12px;height:98px;padding:13px 10px;display:flex;flex-direction:column;justify-content:space-between;font-size:12px}.swatch strong{font-size:13px;font-weight:500}.type-sample{padding:20px 0;border-bottom:1px solid var(--line)}.type-sample:last-child{border:0}.type-sample h2{font-size:28px;margin-bottom:5px}.component-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px}.design-logo{display:flex;align-items:center;gap:16px;margin:25px 0}.design-logo .brand-mark{width:65px;height:65px;border-radius:21px;font-size:49px}.design-principles{font-size:14px;color:var(--muted);line-height:1.9;padding-left:19px;margin:16px 0 0}.design-principles li{margin-bottom:7px}dialog{width:min(520px,calc(100% - 32px));border:1px solid var(--line);border-radius:23px;padding:0;color:var(--ink);box-shadow:0 20px 80px #34234521;max-height:90dvh;background:#fff}dialog::backdrop{background:#29203355;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:20px}.dialog-close{border:0;background:#f3f0f7;color:#8e809e;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;font-size:24px;line-height:1}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}.dialog-inner textarea,.dialog-inner input,.dialog-inner select{width:100%;padding:11px 12px;border:1px solid var(--line);border-radius:10px;background:#fdfcfe;font-size:14px;margin-top:6px;color:var(--ink)}.dialog-inner textarea{min-height:120px;resize:vertical}.dialog-inner .field-label{display:block;margin-top:14px}.dialog-body{font-size:14px;color:var(--muted);line-height:1.9}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,15px);background:#443651;color:#fff;border-radius:12px;padding:12px 20px;font-size:14px;z-index:20;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;max-width:calc(100% - 36px);text-align:center;box-shadow:0 8px 30px #39274920}.toast.visible{opacity:1;transform:translate(-50%)}.screen-reader-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@media(min-width:1400px){.student-shell{padding-top:38px}.app-header{margin-bottom:42px}}@media(max-width:1100px){.review-bar{padding:14px 22px}.review-switch button{padding:7px 14px}.review-title,.review-divider{display:none}.teacher-shell{grid-template-columns:178px minmax(0,1fr)}.teacher-sidebar{padding:26px 12px}.teacher-main{padding:27px 23px}.teacher-grid{grid-template-columns:1fr}.stats-row{gap:12px}.stat-card{padding:17px}.stat-card strong{font-size:27px}.follow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-sidebar .app-brand{font-size:14px;padding-left:3px}.teacher-sidebar .brand-mark{width:31px;height:31px;font-size:25px}.teacher-nav a{padding:11px 12px}}@media(max-width:800px){.review-bar{flex-wrap:wrap;gap:10px;padding:12px 18px}.draft-tag{margin-left:auto}.review-switch{order:3;width:100%}.review-switch button{flex:1}.demo-strip{padding:9px 18px;flex-wrap:wrap;gap:6px;font-size:11px}.demo-strip label{margin-left:auto}.student-shell{padding:23px 22px 40px}.app-header{margin-bottom:27px}.app-brand{font-size:15px}.student-nav a{padding:8px 10px;font-size:13px;gap:5px}.student-nav a svg{width:17px}.home-grid,.home-lower,.profile-grid{grid-template-columns:minmax(0,1fr)}.home-lower{gap:18px;margin-top:18px}.home-grid{gap:18px}.balance-card{display:block}.balance-number{margin:7px 0}.home-lower .soft-note{display:none}.next-lesson{padding:24px}.booking-grid{grid-template-columns:minmax(0,1fr)}.booking-summary{position:static}.teacher-shell{display:block}.teacher-sidebar{border:0;padding:13px 22px;background:var(--bg);display:block}.teacher-sidebar .app-brand,.sidebar-note{display:none}.teacher-nav{display:flex;gap:5px;flex-wrap:wrap}.teacher-nav a{padding:9px 11px;font-size:13px}.teacher-nav svg{width:17px}.teacher-main{padding:18px 22px 40px}.stats-row{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.finance-summary .card{padding:17px}.finance-summary strong{font-size:25px}.calendar-grid{grid-template-columns:repeat(5,minmax(130px,1fr))}.calendar-scroll{overflow:auto}.design-shell{padding:28px 22px}.design-grid{grid-template-columns:1fr}.course-row{gap:14px;padding:19px}.course-end .button{padding:6px 10px}.next-bottom .button{white-space:nowrap}}@media(max-width:540px){body{font-size:16px}.review-brand{font-size:13px}.draft-tag{font-size:11px;padding:5px 8px}.review-switch button{font-size:13px}.demo-strip>span{line-height:1.6}.demo-strip label{font-size:11px}.demo-strip select{font-size:12px;max-width:180px}.student-shell{padding:22px 18px 102px}.app-header{margin-bottom:25px}.student-nav{position:fixed;bottom:0;left:0;right:0;z-index:10;background:#ffffffed;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--line);justify-content:space-around;padding:9px 10px calc(9px + env(safe-area-inset-bottom));gap:4px}.student-nav a{display:flex;flex:1;flex-direction:column;gap:3px;padding:6px 12px;font-size:11px;border-radius:11px}.student-nav a svg{width:21px;height:21px}.student-nav a.active{background:transparent;color:var(--brand)}.student-nav a.active svg{fill:#eee8f5}.app-header .avatar{width:34px;height:34px;font-size:12px}.brand-mark{width:35px;height:35px;font-size:29px;border-radius:12px}h1{font-size:26px}.page-heading{margin-bottom:21px}.page-heading p{font-size:13px}.greeting-spark{font-size:23px}.page-heading>.button{padding:9px 12px;font-size:12px}.card{padding:21px;border-radius:20px}.next-lesson{padding:22px}.next-lesson .section-top{margin-bottom:20px}.next-lesson h2{font-size:20px}.next-body{gap:16px}.date-tile{width:66px;min-width:66px;padding:10px 7px}.date-tile strong{font-size:31px}.lesson-meta{gap:7px;font-size:12px;margin-top:9px}.next-bottom{margin-top:22px;padding-top:16px;gap:10px}.next-bottom small{font-size:11px;max-width:130px}.next-bottom .button{font-size:13px;padding:9px 13px}.balance-number{font-size:36px}.price-row{font-size:13px;flex-wrap:wrap}.practice-content{font-size:14px}.booking-grid{gap:18px}.choice{padding:13px 11px;min-height:75px;font-size:14px}.choice small{font-size:11px}.week-strip{gap:4px}.date-choice{padding:8px 1px}.date-choice span{font-size:11px}.date-choice strong{font-size:17px}.time-grid{gap:8px}.time-choice{font-size:14px}.time-choice small{font-size:11px}.course-row{flex-wrap:wrap;gap:12px;padding:17px}.course-info{min-width:150px}.course-end{flex-direction:row;width:100%;justify-content:space-between;align-items:center;padding-left:73px;gap:10px}.course-info p{font-size:13px}.course-info h3{font-size:15px}.segmented{width:100%;gap:2px}.segmented button{flex:1;font-size:13px;padding:8px 10px}.profile-hero .avatar{width:48px;height:48px;font-size:17px}.teacher-main{padding:16px 18px 35px}.teacher-sidebar{padding:12px 15px}.teacher-nav a{font-size:12px;padding:8px 9px;gap:5px}.teacher-nav svg{width:16px;height:16px}.teacher-top{align-items:flex-start;margin-bottom:20px}.teacher-top>.button{padding:9px 11px;font-size:12px}.teacher-top p{font-size:13px}.stats-row{margin:20px 0;gap:10px}.stat-card{padding:16px}.stat-card strong{font-size:28px}.teacher-grid{gap:18px}.teacher-schedule-item{gap:10px;flex-wrap:wrap}.teacher-schedule-item .time{width:43px;font-size:13px}.teacher-schedule-item .button{margin-left:53px;min-height:36px}.teacher-schedule-item .lesson-copy{min-width:170px}.follow-grid{grid-template-columns:1fr}.filter-row{align-items:stretch}.searchbox{width:100%}.availability-slots{grid-template-columns:repeat(3,minmax(0,1fr))}.finance-summary{grid-template-columns:1fr;gap:12px}.finance-summary .card{display:grid;grid-template-columns:1fr auto;gap:7px 12px;align-items:center;padding:19px}.finance-summary strong{margin:0}.finance-summary p{grid-column:1/-1}.design-shell{padding:27px 18px 40px}.swatches{gap:7px}.swatch{padding:10px 6px;height:93px;font-size:10px}.swatch strong{font-size:12px}.design-shell .card{padding:21px}.dialog-inner{padding:23px}.toast{bottom:92px;font-size:13px}.button{min-height:44px}.button.small{min-height:40px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.brand-mark{flex:none}.brand-text{line-height:1.5;overflow-wrap:anywhere;letter-spacing:0}.teacher-sidebar .app-brand{align-items:flex-start;padding-left:0}.teacher-sidebar .brand-text{font-size:15px}.table-sub{display:block;max-width:210px;white-space:normal;overflow-wrap:anywhere}.table-name small{font-size:13px}.student-mobile-list{display:none}.formal-course-summary{display:flex;align-items:center;gap:14px;padding:16px;background:var(--brand-soft);border-radius:13px}.source-line{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;margin:20px 0 12px}.source-line strong{font-weight:550;color:var(--ink)}.follow-card .source-detail{margin:-4px 0 14px;font-size:14px;overflow-wrap:anywhere}.follow-note,.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.convert-link{margin-top:18px;padding-top:16px;border-top:1px solid var(--line);width:100%;justify-content:flex-start}.follow-filters label{display:flex;align-items:center;gap:8px;font-size:14px}.follow-card .status,.follow-filters .meta{font-size:14px}.follow-filters .meta{flex-basis:100%;margin-top:3px}.dialog-inner .field-label{font-size:14px}.dialog-actions{flex-wrap:wrap}.student-mobile-card .definition{font-size:14px}.dialog-inner input,.dialog-inner select,.dialog-inner textarea{font-size:16px}.follow-card .empty-state{grid-column:1/-1}@media(max-width:800px){.student-desktop-table{display:none}.student-mobile-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.student-mobile-card{min-width:0}.review-brand{white-space:normal;overflow-wrap:anywhere}.teacher-nav a{min-height:44px;font-size:14px}.student-shell .app-brand{max-width:240px}}@media(max-width:540px){.student-mobile-list{grid-template-columns:1fr}.teacher-top{flex-wrap:wrap}.teacher-top>.button{font-size:14px}.follow-filters label{width:100%;justify-content:space-between}.follow-filters select{min-width:180px;font-size:16px}.review-bar .draft-tag{display:none}.source-line,.follow-footer{flex-wrap:wrap}.dialog-actions>.button{flex:1;white-space:normal}.dialog-header h2{overflow-wrap:anywhere;min-width:0}.dialog-close{flex:none}.demo-strip,.demo-strip label,.demo-strip select{font-size:12px}.student-nav a,.segmented button{font-size:14px}.searchbox input{font-size:16px}.review-switch button{min-height:40px}}:root{color-scheme:light;--brand:#7563a6}body{min-width:320px}button,.button.small,.text-button{min-height:44px}input,select,textarea{font-size:16px!important}input,select,textarea,button{max-width:100%}button{white-space:normal}a{text-underline-offset:3px}.loading-screen{min-height:100dvh;display:grid;place-items:center;color:var(--brand)}.auth-shell{min-height:100dvh;padding:48px 24px;display:grid;place-items:center;background:radial-gradient(ellipse at 10% 0%,#eae2f5 0%,transparent 55%),var(--bg)}.auth-card{width:min(100%,440px);padding:36px}.auth-card>.app-brand{margin-bottom:32px}.auth-card h1{font-size:28px}.auth-card .intro{color:var(--muted);margin:10px 0 24px}.auth-footer{font-size:13px;text-align:center;color:var(--muted);margin-top:24px}.auth-note{padding:16px;background:var(--brand-soft);border-radius:12px;font-size:14px;line-height:1.8;margin:20px 0}.auth-card .field{margin-top:18px}.auth-card .button.full{margin-top:24px}.site-topbar{border-bottom:1px solid var(--line);background:#ffffffd9;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px max(24px,calc((100% - 1416px)/2));min-height:76px}.site-topbar .app-brand{font-size:16px}.account-actions{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted)}.account-actions .text-button{padding:0 7px}.teacher-shell{min-height:calc(100dvh - 76px)}.teacher-sidebar{position:sticky;top:0;align-self:start;min-height:calc(100dvh - 76px)}.teacher-main{padding-bottom:60px}.teacher-nav a,.student-nav a{min-height:44px}.student-shell{padding-top:28px}.student-shell .app-header{justify-content:flex-end;margin-bottom:24px}.student-nav a,.teacher-nav a{font-size:15px}.sidebar-note{margin-top:32px}.sync-note{font-size:12px;color:var(--muted);margin-top:24px}.brand-mark{font-family:Georgia,serif}.brand-text small{display:block;font-size:11px;color:var(--muted);letter-spacing:.06em;font-weight:400}.section-top .row{flex-wrap:wrap}.page-heading{align-items:flex-start}.page-heading>.row{flex-wrap:wrap;justify-content:flex-end}.page-heading h1{font-size:28px}.page-heading>.row .button{white-space:nowrap}.stack{display:grid;gap:18px}.grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.grid-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.field{display:block;min-width:0}.field>span{display:block;font-size:14px;color:var(--ink);margin-bottom:7px}.field input:not([type=checkbox]),.field select,.field textarea{width:100%;padding:11px 12px;border:1px solid #dcd4e7;border-radius:11px;background:#fdfcfe;color:var(--ink);min-height:46px;margin:0}.field textarea{min-height:100px;resize:vertical}.field small{display:block;margin-top:5px;line-height:1.6}.fields{display:grid;gap:17px}.fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}.field.wide{grid-column:1/-1}.check-field{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px}.check-field input{width:20px;height:20px;accent-color:var(--brand);flex:none}.form-note{color:var(--muted);font-size:13px;line-height:1.8}.form-error,.error-banner{padding:12px 15px;color:#934052;background:var(--red-soft);border:1px solid #edcbd3;border-radius:11px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.form-error:empty{display:none}.error-banner{margin-bottom:20px;display:flex;align-items:center;justify-content:space-between;gap:12px}.inline-success{padding:13px;background:var(--green-soft);color:var(--green);border-radius:12px;font-size:14px}.dialog-close{width:44px;height:44px;flex:none}.dialog-inner input,.dialog-inner select,.dialog-inner textarea{margin-top:0}.dialog-inner{padding:28px}.dialog-header{margin-bottom:24px}.dialog-body .card{padding:18px}dialog.wide-dialog{width:min(820px,calc(100% - 32px))}.dialog-actions{padding-top:18px;border-top:1px solid var(--line)}.dialog-actions .button{min-width:105px}.button.danger{background:var(--red-soft);color:var(--red)}.button.danger:hover{background:#f4dce1}.text-button.danger{color:var(--red)}.button svg{width:18px;height:18px}.notice{display:flex;gap:13px;align-items:flex-start;padding:17px;border-radius:14px;background:var(--cream-soft);font-size:14px;color:#826631}.notice .icon{margin-top:3px}.notice h3{font-size:15px;margin-bottom:3px}.notice p{font-size:13px}.notice.purple{background:var(--brand-soft);color:var(--brand-dark)}.notice.red{background:var(--red-soft);color:var(--red)}.reminder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.reminder-grid .notice{min-width:0}.list-card{display:flex;align-items:flex-start;gap:14px;padding:18px 0;border-bottom:1px solid var(--line)}.list-card:last-child{border-bottom:0;padding-bottom:0}.list-card:first-child{padding-top:0}.list-card .list-content{flex:1;min-width:0}.list-card .list-content h3{margin-bottom:5px}.list-card p{font-size:14px;color:var(--muted)}.list-card .row{margin-top:10px;gap:8px}.list-card>.button{flex:none}.date-tile.compact{min-width:56px;width:56px;padding:8px;border-radius:12px;background:var(--brand-soft)}.date-tile.compact strong{font-size:25px}.date-tile.compact span{font-size:12px}.student-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.student-card .section-top{align-items:flex-start}.student-card .definition{margin:18px 0;font-size:14px}.student-card .actions{padding-top:16px;border-top:1px solid var(--line);display:flex;gap:8px;flex-wrap:wrap}.student-card .actions .button{flex:1;padding:9px 11px}.source-text{font-size:13px;color:var(--muted);overflow-wrap:anywhere}.student-avatar{width:43px;height:43px;background:var(--brand-soft);font-size:16px}.search-field{max-width:320px;flex:1;min-width:190px}.search-field input{width:100%;border:1px solid var(--line);padding:10px 13px;border-radius:11px;background:#fff;color:var(--ink);min-height:46px}.filter-row select,.filter-row input[type=date]{font-size:16px;padding:10px 13px;min-height:46px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink)}.filter-row label{display:flex;gap:8px;align-items:center;font-size:14px}.filter-row{gap:12px}.status{font-size:13px}.blank-icon{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:18px;background:var(--brand-soft);color:var(--brand);margin-bottom:8px}.empty-state{padding:34px 20px}.empty-state p{font-size:14px;max-width:450px;margin:6px auto 0}.empty-state h3{font-size:16px}.stats-row{margin:0 0 22px}.stat-card strong small{color:var(--muted)}.course-card{padding:21px;display:flex;gap:16px;align-items:flex-start}.course-card .course-info{flex:1}.course-card .course-info h3{margin:0 0 7px}.course-card .course-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:16px}.course-card .course-actions .button{padding:9px 13px}.course-card .row{gap:9px;flex-wrap:wrap}.course-card .meta{margin-top:8px}.course-card .course-status{margin-left:auto}.course-time{font-size:17px!important;font-weight:600;color:var(--ink)!important}.record-box{background:#f8f6fc;border-radius:13px;padding:16px;margin-top:16px}.record-box h3{font-size:14px;color:var(--brand-dark);margin-bottom:7px}.record-box p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.records-grid{display:grid;gap:16px}.record-meta{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.file-row .file-info small{display:block}.file-row .file-info{min-width:0;flex:1;overflow-wrap:anywhere}.files-list{margin-top:12px}.file-row{min-height:52px}.slot-help{font-size:13px;color:var(--muted);margin:16px 0}.time-choice.selected{box-shadow:inset 0 0 0 1px var(--brand)}.time-choice:disabled{background:#ece9f0;color:#9c94a6;opacity:1}.booking-controls{margin-bottom:20px}.booking-controls .choice-grid{margin-top:14px}.booking-grid .booking-summary{top:24px}.booking-summary .field textarea{font-size:16px}.availability-list{display:grid;gap:9px}.availability-row{border:1px solid var(--line);border-radius:12px;padding:12px 15px;display:flex;justify-content:space-between;align-items:center;gap:12px}.availability-row p{font-size:14px}.availability-row small{display:block}.balance-mini{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}.balance-mini strong{font-size:26px;display:block}.balance-mini span{font-size:13px;color:var(--muted)}.financial-card .definition{margin:16px 0}.financial-card .section-top{margin-bottom:8px}.finance-summary{margin-bottom:22px}.finance-summary strong{overflow-wrap:anywhere}.payment-row{display:flex;gap:14px;align-items:flex-start;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line)}.payment-row:last-child{border:0}.payment-row:first-child{padding-top:0}.payment-row small{display:block}.payment-row strong{white-space:nowrap}.payment-row .row{justify-content:flex-end;flex-wrap:wrap}.payment-row p{font-size:14px;overflow-wrap:anywhere}.section-note{font-size:13px;color:var(--muted);margin:7px 0 20px}.credential-box{border:1px dashed #bba7d8;background:#f7f3fd;border-radius:14px;padding:18px}.credential-box code{display:block;font-family:ui-monospace,monospace;font-size:17px;margin-top:5px;overflow-wrap:anywhere;color:var(--brand-dark);-webkit-user-select:all;user-select:all}.credential-box .field+.field{margin-top:16px}.privacy-note{font-size:13px;line-height:1.7}.page-separator{height:1px;background:var(--line);margin:20px 0}.account-card{display:flex;gap:16px;align-items:flex-start}.account-card .profile-hero{margin-bottom:0}.tag-list{display:flex;gap:8px;flex-wrap:wrap}.button-row{display:flex;gap:10px;flex-wrap:wrap}.soft-panel{background:var(--brand-soft);border-radius:14px;padding:18px}.plain-list{padding-left:19px;margin:8px 0;font-size:14px;color:var(--muted)}.text-wrap{overflow-wrap:anywhere}.page-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.page-tabs .button{background:#fff;color:var(--muted);border-color:var(--line)}.page-tabs .button.selected{background:var(--brand-soft);border-color:#d7cbe7;color:var(--brand-dark)}@media(max-width:1000px){.student-cards{grid-template-columns:1fr}.teacher-shell{grid-template-columns:180px minmax(0,1fr)}.grid-three,.reminder-grid,.grid-two{grid-template-columns:1fr}}@media(max-width:800px){.site-topbar{padding:13px 22px}.teacher-shell{display:block}.teacher-sidebar{position:static;min-height:0;padding:12px 18px}.teacher-nav{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;padding-bottom:4px}.teacher-nav a{flex:none}.teacher-sidebar .sidebar-note{display:none}.teacher-main{padding-top:14px}.grid-two{grid-template-columns:1fr}.page-heading{flex-wrap:wrap}.student-shell .app-header{justify-content:center}.student-nav{width:100%;justify-content:space-between}.student-nav a{justify-content:center;flex:1}.reminder-grid,.finance-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.teacher-main .card{min-width:0}}@media(max-width:540px){.site-topbar{padding:12px 18px}.brand-text{font-size:15px}.brand-text small{font-size:10px}.account-actions{gap:3px}.account-actions>.role-label{display:none}.site-topbar .text-button{font-size:13px}.teacher-main{padding:12px 18px 36px}.teacher-nav{gap:4px}.teacher-nav a{padding:9px 12px}.teacher-nav a svg{display:none}.student-shell .app-header{margin:0}.student-nav a{font-size:13px;padding:7px 5px}.student-shell{padding-top:24px}.page-heading h1{font-size:25px}.page-heading>.row{justify-content:flex-start}.page-heading>.row .button{font-size:14px}.fields.two{grid-template-columns:1fr}.field.wide{grid-column:auto}.grid-two,.grid-three,.reminder-grid,.finance-summary{grid-template-columns:1fr}.card{padding:20px}.auth-shell{padding:24px 18px}.auth-card{padding:28px 23px}.auth-card>.app-brand{margin-bottom:25px}.course-card{gap:11px;padding:18px}.course-card .date-tile{min-width:47px;width:47px}.course-card .course-status{margin-left:0}.course-card .course-actions{margin-left:-58px;justify-content:flex-start}.course-card .course-actions .button{flex:1}.list-card{flex-wrap:wrap}.list-card>.button{margin-left:70px}.list-card .list-content{min-width:170px}.finance-summary .card{display:block}.finance-summary strong{margin:10px 0}.filter-row label{width:100%;justify-content:space-between}.filter-row label select{flex:1;min-width:0}.filter-row .search-field{width:100%;max-width:none}.dialog-inner{padding:22px}.dialog-header h2{font-size:19px}.dialog-actions .button{min-width:0}.payment-row{gap:9px}.payment-row .row{max-width:120px}.stats-row strong{font-size:26px}.stat-card{padding:16px}.stat-card .stat-label{font-size:12px}.availability-row{padding:11px}.balance-mini strong{font-size:25px}.toast{bottom:86px}.teacher-shell~.toast{bottom:20px}.button-row .button{flex:1}}
