:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#252d28;background:#f5f6f3;font-synthesis:none;--accent:#bdef75;--green:#3c693f;--muted:#7c837e;--line:#e9ece5;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #6b983b;outline-offset:3px}button{border:0}svg{display:block;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:34px;font-weight:650;letter-spacing:-1.5px}h2{font-size:19px;font-weight:620;letter-spacing:-.45px}h3{font-size:16px;font-weight:600}small{font-size:12px}button{transition:background .15s,transform .15s}button:active{transform:translateY(1px)}.muted{color:var(--muted)}.skip-link{position:fixed;top:-100px;left:20px;z-index:20;background:white;padding:15px}.skip-link:focus{top:10px}.initial-loading{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;color:var(--muted)}.initial-loading strong{font-size:30px;color:#252d28}.brand-mark{height:42px;width:42px;border-radius:12px;background:var(--accent);color:#253226;display:grid;place-items:center;font-size:35px;font-weight:750;line-height:1;padding-bottom:6px}.layout{min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;width:224px;background:#242c27;color:#d9dfd9;padding:38px 22px 24px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:12px;padding:0 14px;color:white;font-size:27px;font-weight:650;letter-spacing:-1px}.brand .brand-mark{height:35px;width:35px;font-size:29px;border-radius:10px}.workspace-label{padding:0 15px;margin-top:46px;margin-bottom:15px;text-transform:uppercase;letter-spacing:1.8px;font-size:9px;color:#8c9a8e}.nav{display:flex;flex-direction:column;gap:7px}.nav-item{display:flex;align-items:center;gap:13px;width:100%;padding:14px 16px;background:transparent;color:#aeb9b0;border-radius:11px;text-align:left;font-size:13px;font-weight:550;min-height:46px}.nav-item:hover{background:#323d34;color:white}.nav-item.active{background:var(--accent);color:#263524}.nav-item .count{margin-left:auto;font-size:10px;border:1px solid currentColor;border-radius:5px;min-width:19px;text-align:center;padding:1px 4px}.sidebar-bottom{margin-top:auto;padding-top:30px}.sidebar-note{border-top:1px solid #3a423b;margin:22px 10px 0;padding-top:20px;font-size:11px;line-height:1.65;color:#8e9b91}.sidebar-note strong{font-weight:500;color:#d0dbd1;display:block;font-size:12px;margin-bottom:3px}.main{margin-left:224px;padding:34px 40px 40px;max-width:1610px}.topbar{display:flex;align-items:center;justify-content:space-between;padding-bottom:29px;border-bottom:1px solid #e4e8df;margin-bottom:31px;gap:16px}.breadcrumb{display:flex;align-items:center;gap:8px;font-size:12px;color:#838b83}.breadcrumb strong{color:#3c443e;font-weight:500}.topbar-right{display:flex;align-items:center;gap:18px}.live-status{display:flex;align-items:center;gap:7px;font-size:11px;color:#757e75}.live-dot{width:6px;height:6px;border-radius:50%;background:#6c9d49}.profile{width:33px;height:33px;border-radius:50%;background:#e7ebdf;color:#566049;display:grid;place-items:center;font-size:12px;font-weight:600}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{color:#92998f;text-transform:uppercase;letter-spacing:1.7px;font-size:10px;font-weight:600;margin-bottom:9px}.subtitle{color:var(--muted);font-size:13px;line-height:1.6;margin-top:9px}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:10px 15px;border-radius:9px;font-size:12px;font-weight:600;background:#fff;color:#404940;border:1px solid #e2e6dd;white-space:nowrap}.btn:hover{background:#edf0e7}.btn.primary{background:#29382a;color:white;border-color:#29382a}.btn.primary:hover{background:#40543b}.btn.green{background:var(--accent);color:#2c3c23;border-color:var(--accent)}.btn.danger{color:#a0473a;background:#fff3ef;border-color:#f4ded7}.btn.small{padding:7px 10px;min-height:34px;font-size:11px}.btn.icon-only{padding:10px;min-width:42px}.text-btn{background:transparent;color:#6a7860;padding:8px 0;font-size:12px;display:inline-flex;align-items:center;gap:7px;min-height:36px}.text-btn:hover{color:#263d22}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:22px}.income-card{background:var(--accent);border-radius:17px;position:relative;overflow:hidden;padding:25px 28px;min-height:230px}.income-card:after{content:"";position:absolute;width:175px;height:175px;border:1px solid #9dd858;border-radius:50%;right:-33px;bottom:-40px;box-shadow:0 0 0 24px #afe568,0 0 0 25px #9dd858,0 0 0 50px #afe568,0 0 0 51px #9dd858;opacity:.45;pointer-events:none}.income-card>*{position:relative;z-index:1}.card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.card-label{font-size:12px;font-weight:550;color:#496333}.round-icon{width:31px;height:31px;border-radius:50%;background:#ffffff65;display:grid;place-items:center}.income-value{font-size:47px;line-height:1.1;font-weight:600;letter-spacing:-2px;margin:16px 0 11px}.income-value .currency{font-size:31px;font-weight:400}.income-caption{font-size:11px;color:#4b623b}.income-footer{border-top:1px solid #89b75355;margin-top:22px;padding-top:15px;display:flex;justify-content:space-between;gap:18px;font-size:11px;color:#4b623b}.income-footer strong{font-size:16px;color:#293d24;display:block;margin-top:5px;font-weight:600}.summary-stack{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:19px}.summary-box{padding:20px 21px;background:#fff;border:1px solid var(--line);border-radius:13px}.summary-head{display:flex;align-items:center;justify-content:space-between;color:#7b8577;font-size:11px;gap:6px}.summary-number{font-size:28px;font-weight:600;letter-spacing:-1px;margin-top:13px}.summary-description{font-size:11px;color:#92998e;margin-top:5px}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;min-width:0;overflow:hidden}.panel.pad{padding:23px 25px}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px}.panel-heading .subtitle{font-size:11px;margin-top:6px}.chart-panel{margin-top:22px}.chart-total{font-size:25px;letter-spacing:-.8px;font-weight:600;margin-bottom:6px}.chart-caption{font-size:11px;color:#969e91}.chart{width:100%;margin-top:10px}.chart-labels{display:flex;justify-content:space-between;font-size:10px;color:#9ba294;padding:0 5px}.legend{display:flex;align-items:center;gap:6px;font-size:10px;color:#85907e}.legend:before{content:"";width:7px;height:7px;background:#93bc62;border-radius:2px}.today-panel .panel-heading{padding:23px 23px 0}.date-pill{border:1px solid #e8ebdf;border-radius:7px;padding:7px 9px;font-size:10px;color:#707e65}.lesson-list{display:flex;flex-direction:column}.lesson-row{display:flex;align-items:center;gap:12px;min-width:0;border-top:1px solid #f0f2ed;padding:18px 0}.lesson-row:first-child{border-top:0}.lesson-time{font-size:12px;font-weight:600;min-width:42px;align-self:flex-start;padding-top:3px}.lesson-time small{display:block;font-size:9px;font-weight:400;color:#969d91;margin-top:5px}.avatar{display:grid;place-items:center;flex-shrink:0;width:39px;height:39px;background:#edf0e5;border-radius:12px;font-size:12px;color:#708358;font-weight:600}.avatar.tone-1{background:#f3ebe3;color:#ac8261}.avatar.tone-2{background:#e9eef2;color:#758898}.avatar.tone-3{background:#f0e9f0;color:#a187a4}.lesson-info{flex:1;min-width:0}.lesson-name{display:block;font-size:12px;line-height:1.4;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.lesson-meta{color:#939b8e;font-size:10px;margin-top:5px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}.lesson-end{display:flex;align-items:flex-end;flex-direction:column;gap:6px;flex-shrink:0}.lesson-price{font-size:12px;font-weight:600;white-space:nowrap}.badge{display:inline-flex;align-items:center;gap:4px;font-size:9px;line-height:1.4;border-radius:5px;padding:4px 6px;color:#728359;background:#eff4e7;white-space:nowrap}.badge.pending{color:#ad8b42;background:#fbf5e8}.badge.needs_review{color:#a7764c;background:#fbede1}.badge.cancelled,.badge.ignored{color:#90978d;background:#f0f2ed}.row-button{background:none;width:100%;text-align:left;color:inherit;border-radius:7px}.row-button:hover{background:#fafbf8}.today-list{padding:0 23px}.panel-footer{display:flex;justify-content:center;border-top:1px solid var(--line);padding:10px 20px}.attention-card{background:#f0f1e9;border:1px solid #e5e8d9;border-radius:14px;padding:20px 21px;margin-top:20px}.attention-icon{color:#929c6b;margin-bottom:15px}.attention-card h3{font-size:14px;margin-bottom:8px}.attention-card p{font-size:11px;color:#89917c;line-height:1.65;margin-bottom:14px}.attention-card .btn{width:100%;background:#fffefa;border-color:#e3e6d7}.section-spacer{margin-top:24px}.filterbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:20px}.tabs{display:flex;gap:4px;padding:4px;background:#e9ede3;border-radius:10px;flex-wrap:wrap}.tab{padding:9px 13px;border-radius:7px;color:#829074;background:transparent;font-size:11px;min-height:36px}.tab.active{background:white;color:#374b2a;box-shadow:0 1px 3px #33442209}.field-inline{border:1px solid #e0e5d8;background:white;border-radius:9px;color:#647256;padding:10px 12px;min-height:42px;font-size:12px}.full-list{padding:5px 23px}.full-list .lesson-row{padding:17px 0}.full-list .lesson-name{font-size:14px}.full-list .lesson-meta{font-size:11px}.full-list .lesson-price{font-size:14px}.full-list .avatar{width:43px;height:43px}.empty{padding:46px 22px;text-align:center;color:#8e9984;font-size:13px;line-height:1.7}.empty svg{margin:0 auto 15px;color:#a4b18f}.empty strong{display:block;color:#57664c;font-weight:550;margin-bottom:6px}.student-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.student-card{padding:21px;text-align:left;width:100%;color:inherit;cursor:pointer}.student-card:hover{border-color:#b3c997}.student-card .avatar{height:47px;width:47px;font-size:16px;margin-bottom:19px}.student-card h3{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.student-card .subtitle{font-size:12px}.student-card-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:20px;padding-top:16px;font-size:11px;color:#949c8e}.student-card-bottom strong{display:block;font-size:15px;color:#46553c;margin-top:5px;font-weight:600}.search{min-width:240px}.analytics-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:22px}.analytics-stats .summary-box:first-child{background:var(--accent);border-color:var(--accent)}.analytics-stats .summary-number{font-size:26px}.distribution-row{display:flex;align-items:center;gap:13px;margin-top:20px}.distribution-row .lesson-info{flex:1}.distribution-bar{height:4px;border-radius:3px;background:#edf1e7;margin-top:9px;overflow:hidden}.distribution-bar span{display:block;height:100%;background:#a9cd7a;border-radius:3px}.distribution-total{text-align:right;font-size:13px;font-weight:600;min-width:80px}.distribution-total small{display:block;font-size:10px;color:#929c86;margin-top:5px;font-weight:400}.settings-panel{max-width:680px}.form-stack{display:flex;flex-direction:column;gap:18px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#526046}.field input,.field select{width:100%;border:1px solid #dce3d3;border-radius:9px;padding:12px;color:#283822;background:#fff;font-size:14px;min-height:44px}.field small,.form-hint{font-size:11px;color:#8b9680;line-height:1.65}.check-field{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#526046;line-height:1.6}.check-field input{margin-top:3px;width:18px;height:18px;accent-color:#668642}.check-field small{display:block;color:#8b9680;font-size:11px}.form-divider{border:0;border-top:1px solid var(--line);margin:4px 0}.form-section-title{font-size:13px;color:#536449;margin-bottom:0}.error-box{padding:13px 15px;background:#fff0eb;border:1px solid #f1d6cc;border-radius:10px;color:#9a4c3b;font-size:12px;line-height:1.6;margin-bottom:16px}.error-box:empty{display:none}.error-screen{max-width:440px;padding:32px;margin:15vh auto;background:white;border:1px solid var(--line);border-radius:18px}.error-screen h1{font-size:25px}.error-screen p{color:#7b8573;font-size:13px;line-height:1.7;margin:16px 0 23px}dialog{border:1px solid #e8edde;border-radius:19px;padding:0;width:min(500px,calc(100% - 30px));max-height:calc(100dvh - 40px - var(--safe-top) - var(--safe-bottom));color:#2d3b26;background:#fff;box-shadow:0 20px 100px #202b2526}dialog::backdrop{background:#202c2566;backdrop-filter:blur(3px)}.dialog-head{padding:24px 25px 18px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;position:sticky;top:0;background:white;z-index:1;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:21px}.dialog-body{padding:22px 25px 25px}.dialog-subtitle{font-size:12px;color:#8b9580;margin-top:8px;line-height:1.5}.dialog-close{background:#f1f4ec;border-radius:50%;padding:9px;color:#849078;flex-shrink:0;min-height:36px;min-width:36px}.dialog-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:20px;flex-wrap:wrap}.dialog-body .actions{gap:8px}.dialog-body .actions .btn{flex:1}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;background:#f6f8f1;border-radius:10px;padding:17px;margin-bottom:20px}.detail-grid small{color:#8f9b82;display:block;font-size:10px;margin-bottom:7px}.detail-grid strong{font-size:15px;font-weight:600}.batch-row{display:grid;grid-template-columns:20px 1fr 115px;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.batch-row input{width:18px;height:18px;accent-color:#7e9f59}.batch-row select{font-size:11px;padding:8px;border:1px solid #e0e5d8;border-radius:7px;background:white;width:100%}.batch-row .lesson-name{white-space:normal}.demo-label{display:inline-flex;border:1px solid #c9d4b8;padding:4px 7px;border-radius:4px;color:#7e8e6c;font-size:9px;letter-spacing:.7px}.mobile-header{display:none}#toast{position:fixed;bottom:calc(25px + var(--safe-bottom));left:calc(50% + 112px);transform:translateX(-50%) translateY(15px);background:#2c3e29;color:#f3f9ee;box-shadow:0 5px 30px #34462b20;border-radius:11px;padding:14px 20px;max-width:calc(100% - 35px);font-size:12px;line-height:1.5;z-index:15;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px}th,td{text-align:left;padding:13px 9px;border-bottom:1px solid var(--line)}th{font-size:10px;font-weight:500;color:#8c9981}td:last-child,th:last-child{text-align:right}details summary{cursor:pointer;font-size:12px;color:#718360;padding:12px 0}details[open] summary{margin-bottom:10px}.month-picker{min-width:150px}.loading-indicator{height:3px;background:linear-gradient(90deg,#bdef75,#507a35,#bdef75);background-size:200% 100%;animation:loading 1.3s linear infinite;border-radius:3px;margin-bottom:15px}@keyframes loading{to{background-position:-200% 0}}
@media(min-width:1550px){.main{padding:40px 60px}.dashboard-grid{grid-template-columns:minmax(0,1.8fr) minmax(350px,1fr)}}
@media(max-width:1150px){.sidebar{width:190px;padding:30px 15px}.main{margin-left:190px;padding:28px}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:16px}.income-value{font-size:39px}.student-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.page-heading{align-items:flex-start}.page-heading .actions{justify-content:flex-end}.today-list{padding:0 17px}.today-panel .panel-heading{padding:20px 17px 0}.today-list .avatar{display:none}#toast{left:calc(50% + 95px)}}
@media(max-width:820px){.sidebar{width:166px;padding:27px 11px}.brand{font-size:23px;padding:0 9px}.nav-item{font-size:12px;padding:12px}.main{margin-left:166px;padding:25px 20px}.dashboard-grid{grid-template-columns:1fr}.dashboard-right{display:grid;grid-template-columns:1fr;gap:0}.today-list .avatar{display:grid}.page-heading{gap:12px}h1{font-size:30px}.topbar-right{gap:10px}.live-status{font-size:10px}.summary-stack{margin-top:16px}.chart-panel{margin-top:17px}#toast{left:calc(50% + 83px)}}
@media(max-width:600px){.sidebar{inset:auto 0 0;width:100%;padding:6px 12px calc(7px + var(--safe-bottom));background:#fcfdf9f5;border-top:1px solid #e2e8d9;backdrop-filter:blur(15px)}.sidebar .brand,.workspace-label,.sidebar-bottom{display:none}.nav{flex-direction:row;gap:4px}.nav-item{flex:1;flex-direction:column;gap:5px;justify-content:center;font-size:9px;padding:8px 5px;border-radius:9px;min-height:53px;color:#8d9981;position:relative}.nav-item.active{background:#eef5e3;color:#496637}.nav-item .count{position:absolute;top:3px;right:calc(50% - 23px);font-size:8px;min-width:13px;background:#c9e79c;border:0;padding:0 3px}.main{margin:0;padding:calc(19px + var(--safe-top)) 18px calc(105px + var(--safe-bottom))}.topbar{padding-bottom:19px;margin-bottom:24px}.breadcrumb{display:none}.mobile-header{display:flex;align-items:center;gap:8px;font-size:22px;font-weight:650;letter-spacing:-.7px}.mobile-header .brand-mark{width:27px;height:27px;font-size:24px;border-radius:8px}.profile{display:none}.live-status{display:none}.topbar-right .btn{min-height:35px;min-width:35px;padding:8px;background:transparent}.page-heading{margin-bottom:24px;flex-wrap:wrap}.page-heading .actions{justify-content:flex-start;gap:7px}.page-heading .actions .btn{font-size:11px;padding:9px 12px;min-height:38px}h1{font-size:31px}.eyebrow{font-size:9px;margin-bottom:7px}.subtitle{font-size:12px}.income-card{padding:23px;min-height:222px;border-radius:16px}.income-value{font-size:43px;margin-top:17px}.income-footer{margin-top:22px}.summary-box{padding:18px}.summary-stack{gap:12px}.summary-number{font-size:27px}.summary-head{font-size:10px}.summary-description{font-size:10px}.panel.pad{padding:21px}.panel-heading h2{font-size:17px}.panel-heading{margin-bottom:15px}.today-list{padding:0 20px}.today-panel .panel-heading{padding:21px 20px 0}.dashboard-grid{gap:17px}.lesson-row{padding:17px 0}.attention-card{margin-top:17px}.filterbar{align-items:stretch;gap:12px}.filterbar .tabs{width:100%;overflow-x:auto;flex-wrap:nowrap}.tab{padding:8px 10px;white-space:nowrap;font-size:10px;flex:1}.full-list{padding:5px 16px}.full-list .avatar{height:35px;width:35px;font-size:11px}.full-list .lesson-name{font-size:12px}.full-list .lesson-price{font-size:12px}.full-list .lesson-meta{font-size:10px}.full-list .lesson-row{gap:9px}.full-list .lesson-time{min-width:36px;font-size:11px}.student-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.student-card{padding:16px}.student-card h3{font-size:13px}.student-card .subtitle{font-size:10px}.student-card .avatar{height:40px;width:40px;margin-bottom:15px}.student-card-bottom{flex-direction:column;gap:11px;margin-top:15px;padding-top:12px;font-size:10px}.student-card-bottom strong{font-size:14px}.search{width:100%;min-width:0}.analytics-stats{gap:12px;margin-bottom:17px}.analytics-stats .summary-number{font-size:24px}.analytics-stats .summary-box{padding:17px 15px}.month-picker{max-width:100%;min-width:130px}.chart-total{font-size:24px}.dialog-head{padding:21px 20px 16px}.dialog-body{padding:20px}.dialog-head h2{font-size:20px}dialog{max-height:calc(100dvh - 28px - var(--safe-top) - var(--safe-bottom));width:calc(100% - 24px)}#toast{left:50%;bottom:calc(88px + var(--safe-bottom));width:max-content;max-width:calc(100% - 32px)}.error-screen{margin:12vh 18px}.demo-label{font-size:8px}.batch-row{grid-template-columns:18px 1fr 105px;gap:8px}.batch-row .lesson-name{font-size:11px}.analytics-stats .summary-description{line-height:1.5}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
