#root{min-height:100dvh}.app-shell{min-height:100dvh;background:oklch(var(--background))}.skip-link{position:fixed;top:8px;left:8px;z-index:80;padding:10px 16px;border-radius:8px;color:oklch(var(--primary-foreground));background:oklch(var(--primary));transform:translateY(-150%);transition:transform .16s ease-out}.skip-link:focus{transform:translateY(0)}.sidebar{position:fixed;inset:0 auto 0 0;z-index:20;display:flex;width:252px;flex-direction:column;padding:28px 18px 20px;color:oklch(var(--sidebar-foreground));background:oklch(var(--sidebar-background))}.brand{display:flex;min-height:48px;align-items:center;gap:12px;padding:0;border:0;color:inherit;background:transparent;text-align:left}.brand-mark{display:grid;width:44px;height:44px;flex:0 0 44px;place-items:center;border:1px solid oklch(.75 .04 145 / .55);border-radius:12px 12px 12px 3px;font-family:"PT Serif",serif;font-size:26px}.brand strong,.brand small{display:block}.brand strong{font-family:"PT Serif",serif;font-size:24px;font-weight:400;line-height:1.1}.brand small{margin-top:4px;color:#bbc9ba;font-size:11px;letter-spacing:.02em}.side-nav{display:flex;flex-direction:column;gap:6px;margin-top:48px}.side-nav button{display:flex;min-height:48px;align-items:center;gap:12px;padding:12px 14px;border:0;border-radius:10px;color:#c3cec3;background:transparent;font-size:14px;text-align:left;transition:color .16s ease-out,background-color .16s ease-out,transform .16s ease-out}.side-nav button svg{width:19px;height:19px}.side-nav button:hover{color:oklch(var(--sidebar-accent-foreground));background:oklch(var(--sidebar-accent));transform:translate(2px)}.side-nav button.active{color:oklch(var(--sidebar-primary-foreground));background:oklch(var(--sidebar-primary));font-weight:650}.sidebar-bottom{margin-top:auto}.storage-card{padding:16px;border:1px solid oklch(var(--sidebar-border));border-radius:14px;background:#0f271a}.storage-card>svg{width:20px;margin-bottom:12px;color:#a3c5a3}.storage-card strong{display:block;font-size:13px}.storage-card p{margin-top:6px;color:#b3beb3;font-size:11px;line-height:1.55}.storage-card>div{display:flex;gap:8px;margin-top:14px}.storage-card button{display:inline-flex;min-height:36px;flex:1;align-items:center;justify-content:center;gap:5px;padding:6px;border:1px solid oklch(var(--sidebar-border));border-radius:8px;color:oklch(var(--sidebar-foreground));background:transparent;font-size:11px;transition:background-color .16s ease-out}.storage-card button:hover{background:oklch(var(--sidebar-accent))}.storage-card button svg{width:13px;height:13px}.teacher-app-link{min-height:44px;margin-top:12px;padding:10px 12px;display:flex;align-items:center;justify-content:center;gap:8px;color:oklch(var(--sidebar-foreground));border:1px solid oklch(var(--sidebar-border));border-radius:10px;font-size:12px;text-decoration:none;transition:background-color .16s ease-out}.teacher-app-link:hover{background:oklch(var(--sidebar-accent))}.teacher-app-link svg{width:17px;height:17px}.sidebar-caption{margin-top:16px;color:#8f9d8f;font-size:10px;text-align:center;text-transform:uppercase;letter-spacing:.12em}.mobile-header,.mobile-nav{display:none}.main-content{min-height:100dvh;margin-left:252px;padding:36px 40px 56px}.page{width:100%;max-width:1380px;margin:0 auto}.demo-banner{display:flex;max-width:1380px;min-height:52px;align-items:center;gap:12px;margin:0 auto 28px;padding:12px 16px;border:1px solid oklch(.84 .05 75);border-radius:12px;color:#4b361c;background:#f8e9d2;font-size:13px}.demo-banner>svg{width:18px;flex:0 0 18px}.demo-banner p{flex:1}.demo-banner button{min-height:36px;padding:6px 10px;border:0;border-radius:8px;color:#3e290f;background:#edd3b0;font-size:12px;font-weight:700;white-space:nowrap}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.overline{margin-bottom:7px;color:oklch(var(--muted-foreground));font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.12em}.page-heading h1{font-size:clamp(34px,3.2vw,46px);line-height:1.1;letter-spacing:-.025em}.heading-date{margin-top:8px;color:oklch(var(--muted-foreground));font-size:14px}.heading-actions{display:flex;gap:8px}[data-slot=button]{min-height:44px;border-radius:10px;font-weight:650;transition:transform .15s ease-out,color .15s ease-out,background-color .15s ease-out,border-color .15s ease-out}[data-slot=button]:active{transform:scale(.98)}[data-slot=button][data-variant=outline]{border-color:oklch(var(--border));background:oklch(var(--card));box-shadow:none}[data-slot=button][data-variant=outline]:hover,[data-slot=button][data-variant=ghost]:hover{background:oklch(var(--secondary))}.date-switcher{display:flex;align-items:center;gap:6px;margin-bottom:24px}.date-switcher>button,.period-tabs button{min-height:44px;padding:9px 16px;border:1px solid transparent;border-radius:10px;color:oklch(var(--muted-foreground));background:transparent;font-size:13px;font-weight:650;transition:color .15s ease-out,background-color .15s ease-out}.date-switcher>button:hover,.period-tabs button:hover{color:oklch(var(--foreground));background:oklch(var(--secondary))}.date-switcher>button.active,.period-tabs button.active{color:oklch(var(--primary-foreground));background:oklch(var(--primary))}.date-input-wrap{display:flex;min-height:44px;align-items:center;gap:8px;margin-left:6px;padding:0 10px;border:1px solid oklch(var(--border));border-radius:10px;background:oklch(var(--card))}.date-input-wrap svg{width:17px;color:oklch(var(--muted-foreground))}.date-input-wrap input{min-height:42px;border:0;color:oklch(var(--foreground));background:transparent;font-size:13px;outline:0}.metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}.metric-card{position:relative;min-width:0;padding:20px;overflow:hidden;border:1px solid oklch(var(--border));border-radius:16px;background:oklch(var(--card))}.metric-icon{position:absolute;top:18px;right:18px;color:#5a7b65}.metric-icon svg{width:19px;height:19px}.metric-card p{max-width:calc(100% - 28px);color:oklch(var(--muted-foreground));font-size:12px;font-weight:650}.metric-card strong{display:block;margin-top:10px;font-size:36px;font-weight:550;line-height:1;letter-spacing:-.04em}.metric-card>span{display:block;margin-top:9px;color:oklch(var(--muted-foreground));font-size:11px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);align-items:start;gap:20px}.dashboard-side{display:grid;gap:20px;min-width:0}.panel{min-width:0;border:1px solid oklch(var(--border));border-radius:16px;background:oklch(var(--card))}.panel-heading{display:flex;min-height:76px;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid oklch(var(--border))}.panel-heading h2{font-size:21px;line-height:1.25}.panel-heading p{margin-top:4px;color:oklch(var(--muted-foreground));font-size:11px}.lesson-list{padding:0 20px}.lesson-row{display:grid;width:100%;min-height:84px;grid-template-columns:54px 8px minmax(0,1fr) auto 18px;align-items:center;gap:14px;padding:14px 0;border:0;border-bottom:1px solid oklch(var(--border));color:oklch(var(--foreground));background:transparent;text-align:left;transition:background-color .15s ease-out,transform .15s ease-out}.lesson-row:last-child{border-bottom:0}.lesson-row:hover{background:oklch(var(--secondary) / .55);transform:translate(3px)}.lesson-time{font-size:17px;font-weight:750;letter-spacing:-.02em}.activity-dot{display:block;width:8px;height:8px;flex:0 0 8px;border-radius:50%}.lesson-main,.schedule-title{min-width:0}.lesson-main strong,.lesson-main span,.schedule-title strong,.schedule-title small{display:block}.lesson-main strong,.schedule-title strong{overflow:hidden;font-size:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.lesson-main span,.schedule-title small{margin-top:4px;color:oklch(var(--muted-foreground));font-size:11px}.attendance-summary{min-width:62px;text-align:right}.attendance-summary strong{font-size:20px}.attendance-summary strong span{color:oklch(var(--muted-foreground));font-size:13px;font-weight:500}.attendance-summary small{display:block;color:oklch(var(--muted-foreground));font-size:10px}.row-chevron{width:17px;color:oklch(var(--muted-foreground))}.panel-footer-note{padding:12px 20px;border-top:1px solid oklch(var(--border));color:oklch(var(--muted-foreground));background:oklch(var(--secondary) / .4);font-size:10px;text-align:center}.sales-by-activity,.low-balance-list{padding:6px 20px 14px}.sale-activity-row,.balance-row{display:flex;min-height:66px;align-items:center;gap:10px;border-bottom:1px solid oklch(var(--border))}.sale-activity-row:last-child,.balance-row:last-child{border-bottom:0}.sale-activity-row>div:nth-child(2),.balance-row>div{min-width:0;flex:1}.sale-activity-row strong,.sale-activity-row span,.balance-row strong,.balance-row span{display:block}.sale-activity-row strong,.balance-row strong{font-size:12px}.sale-activity-row span,.balance-row span{margin-top:3px;color:oklch(var(--muted-foreground));font-size:10px}.sale-activity-row b{font-size:11px;white-space:nowrap}.balance-row b{color:#934319;font-size:11px;white-space:nowrap}.quiet-message{padding:20px 0;color:oklch(var(--muted-foreground));font-size:12px;text-align:center}.compact-empty{padding:20px 0 12px;text-align:center}.compact-empty p{margin-bottom:14px;color:oklch(var(--muted-foreground));font-size:12px}.empty-state{display:flex;min-height:280px;flex-direction:column;align-items:center;justify-content:center;padding:32px 20px;text-align:center}.empty-state>svg{width:30px;height:30px;margin-bottom:16px;color:#5a7b65}.empty-state h3{font-size:16px}.empty-state p{max-width:340px;margin:7px 0 18px;color:oklch(var(--muted-foreground));font-size:12px}.app-dialog{width:calc(100% - 32px);max-width:620px;max-height:90dvh;gap:20px;padding:26px;overflow-y:auto;border-color:oklch(var(--border));border-radius:18px;background:oklch(var(--popover));box-shadow:0 24px 80px #091a1133}.app-dialog [data-slot=dialog-title]{font-family:"PT Serif",serif;font-size:25px;font-weight:400;line-height:1.25}.app-dialog [data-slot=dialog-description]{margin-top:6px;font-size:12px;line-height:1.55}.app-dialog [data-slot=dialog-close]{display:grid;width:40px;height:40px;place-items:center;border-radius:10px}.form-stack{display:grid;gap:16px}.field{display:grid;min-width:0;gap:7px}.field>span,.student-picker legend{color:oklch(var(--foreground));font-size:12px;font-weight:700}.field small{color:oklch(var(--muted-foreground));font-weight:400}.field input,.field select,.field textarea,.add-to-lesson select{width:100%;min-height:46px;padding:11px 12px;border:1px solid oklch(var(--input));border-radius:10px;color:oklch(var(--foreground));background:oklch(var(--card));font-size:14px;transition:border-color .15s ease-out,box-shadow .15s ease-out}.field textarea{min-height:82px;resize:vertical}.field input:hover,.field select:hover,.field textarea:hover{border-color:#7c9785}.field input:disabled{color:oklch(var(--muted-foreground));background:oklch(var(--muted))}.field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}.form-hint{color:oklch(var(--muted-foreground));font-size:11px;line-height:1.6}.segmented-control{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;padding:4px;border-radius:12px;background:oklch(var(--secondary))}.segmented-control button{min-height:42px;padding:8px;border:0;border-radius:9px;color:oklch(var(--muted-foreground));background:transparent;font-size:12px;font-weight:650}.segmented-control button.active{color:oklch(var(--primary-foreground));background:oklch(var(--primary))}.validity-note{padding:13px 14px;border:1px solid oklch(.82 .035 150);border-radius:10px;background:#e3f4e6}.validity-note span,.validity-note strong{display:block}.validity-note span{color:oklch(var(--muted-foreground));font-size:10px}.validity-note strong{margin-top:4px;font-size:12px}.student-picker{max-height:220px;margin:0;padding:12px;overflow-y:auto;border:1px solid oklch(var(--border));border-radius:12px}.student-picker legend{padding:0 6px}.student-picker legend span{margin-left:4px;color:oklch(var(--muted-foreground));font-weight:500}.check-row{display:flex;min-height:40px;align-items:center;gap:10px;padding:6px;border-radius:8px;font-size:13px}.check-row:hover{background:oklch(var(--secondary))}.check-row input{width:18px;height:18px;accent-color:oklch(var(--primary))}.schedule-toolbar,.list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.date-navigation{display:flex;align-items:center;gap:12px}.date-navigation>div{min-width:220px;text-align:center}.date-navigation strong{display:block;font-size:14px;text-transform:capitalize}.date-navigation div button{min-height:28px;padding:0;border:0;color:oklch(var(--primary));background:transparent;font-size:11px}.schedule-date-input{margin-left:0}.schedule-list-header,.schedule-row{display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(180px,1fr) 130px 88px;align-items:center;gap:16px}.schedule-list-header{min-height:46px;padding:0 20px;border-bottom:1px solid oklch(var(--border));color:oklch(var(--muted-foreground));font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.schedule-row{min-height:86px;margin:0 20px;border-bottom:1px solid oklch(var(--border))}.schedule-row:last-child{border-bottom:0}.schedule-open{display:grid;min-width:0;min-height:60px;grid-template-columns:52px 8px minmax(0,1fr);align-items:center;gap:12px;padding:0;border:0;color:oklch(var(--foreground));background:transparent;text-align:left}.schedule-open:hover strong{color:oklch(var(--primary))}.schedule-students{display:flex;min-width:0;align-items:center;gap:8px;color:oklch(var(--muted-foreground));font-size:11px}.schedule-students svg{width:15px;flex:0 0 15px}.schedule-students span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attendance-pill{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border:0;border-radius:10px;color:oklch(var(--secondary-foreground));background:oklch(var(--secondary));font-size:11px;font-weight:700}.attendance-pill:hover{background:#caddcd}.attendance-pill svg{width:14px}.delete-button{color:oklch(var(--muted-foreground))}.delete-button:hover{color:oklch(var(--destructive));background:#ffe8e6!important}.search-field{display:flex;width:min(440px,100%);min-height:46px;align-items:center;gap:10px;padding:0 12px;border:1px solid oklch(var(--border));border-radius:11px;background:oklch(var(--card))}.search-field>svg{width:17px;color:oklch(var(--muted-foreground))}.search-field input{min-width:0;min-height:44px;flex:1;border:0;color:oklch(var(--foreground));background:transparent;font-size:13px;outline:0}.search-field button{display:grid;width:36px;height:36px;place-items:center;border:0;color:oklch(var(--muted-foreground));background:transparent}.search-field button svg{width:16px}.list-count{color:oklch(var(--muted-foreground));font-size:12px;white-space:nowrap}.students-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.student-card{min-width:0;padding:20px;border:1px solid oklch(var(--border));border-radius:16px;color:oklch(var(--foreground));background:oklch(var(--card));text-align:left;transition:transform .17s ease-out,border-color .17s ease-out,box-shadow .17s ease-out}.student-card:hover{border-color:#8ba694;box-shadow:0 10px 28px #20332912;transform:translateY(-2px)}.student-card-top{display:flex;align-items:center;gap:11px}.avatar{display:grid;width:42px;height:42px;flex:0 0 42px;place-items:center;border-radius:50%;color:#1c3a27;background:#cce6d0;font-size:12px;font-weight:750}.avatar-small{width:34px;height:34px;flex-basis:34px;font-size:10px}.avatar-large{width:52px;height:52px;flex-basis:52px;font-size:15px}.student-name{min-width:0;flex:1}.student-name strong,.student-name span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.student-name strong{font-size:13px}.student-name span{margin-top:3px;color:oklch(var(--muted-foreground));font-size:10px}.student-card-top>svg{width:16px;color:oklch(var(--muted-foreground))}.student-total{display:flex;align-items:baseline;gap:8px;margin-top:22px}.student-total strong{font-size:30px;line-height:1}.student-total span{color:oklch(var(--muted-foreground));font-size:11px}.balance-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:16px}.balance-tags span{padding:4px 8px;border-radius:6px;color:oklch(var(--secondary-foreground));background:oklch(var(--secondary));font-size:9px}.students-empty{min-height:360px}.dialog-student-heading{display:flex;align-items:center;gap:14px}.student-note{padding:12px;border-radius:10px;color:oklch(var(--muted-foreground));background:oklch(var(--secondary));font-size:12px}.dialog-total-balance{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-block:1px solid oklch(var(--border))}.dialog-total-balance>span{color:oklch(var(--muted-foreground));font-size:12px}.dialog-total-balance strong{font-size:28px;white-space:nowrap}.dialog-total-balance small{font-size:11px;font-weight:500}.dialog-section-heading{display:flex;align-items:center;justify-content:space-between}.dialog-section-heading h3{font-size:13px}.dialog-section-heading>span{display:grid;width:24px;height:24px;place-items:center;border-radius:50%;background:oklch(var(--secondary));font-size:10px}.student-purchases{max-height:310px;overflow-y:auto}.student-purchase-row{display:flex;min-height:74px;align-items:center;gap:12px;border-bottom:1px solid oklch(var(--border))}.student-purchase-row>div:nth-child(2){min-width:0;flex:1}.student-purchase-row strong,.student-purchase-row span{display:block}.student-purchase-row strong{font-size:12px}.student-purchase-row span{margin-top:3px;color:oklch(var(--muted-foreground));font-size:9px}.student-purchase-row b{font-size:13px;white-space:nowrap}.student-purchase-row.expired{opacity:.68}.expiry-label{display:block;margin-top:5px;color:oklch(var(--primary));font-size:9px;font-weight:700}.expiry-label.expired{color:oklch(var(--destructive))}.student-dialog-actions{display:flex;justify-content:flex-end;gap:8px}.sales-overview{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:1px;margin-bottom:20px;overflow:hidden;border:1px solid oklch(var(--border));border-radius:14px;background:oklch(var(--border))}.sales-overview>div{padding:18px 20px;background:oklch(var(--card))}.sales-overview span,.sales-overview strong{display:block}.sales-overview span{color:oklch(var(--muted-foreground));font-size:10px}.sales-overview strong{margin-top:6px;font-size:22px}.period-tabs{display:flex;gap:4px;padding:4px;border-radius:12px;background:oklch(var(--secondary))}.period-tabs button{min-height:38px;padding:7px 13px}.sales-table-header,.sales-table-row{display:grid;grid-template-columns:minmax(170px,1.15fr) minmax(200px,1.4fr) minmax(130px,.9fr) 70px 90px 44px;align-items:center;gap:14px}.sales-table-header{min-height:46px;padding:0 18px;border-bottom:1px solid oklch(var(--border));color:oklch(var(--muted-foreground));font-size:10px;font-weight:700;text-transform:uppercase}.sales-table-row{min-height:78px;margin:0 18px;border-bottom:1px solid oklch(var(--border));font-size:11px}.sales-table-row:last-child{border-bottom:0}.sale-student{display:flex;min-width:0;align-items:center;gap:9px}.sale-student strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sale-product strong,.sale-product span,.sale-date,.sale-date small{display:block}.sale-product span{margin-top:3px;color:oklch(var(--muted-foreground));font-size:9px}.sale-date{color:oklch(var(--muted-foreground));font-size:10px}.sale-date small{margin-top:3px;color:oklch(var(--primary));font-size:9px}.sale-remaining{font-weight:700}.sale-amount{font-size:11px;white-space:nowrap}.attendance-dialog{max-width:760px}.attendance-dialog-title{display:flex;align-items:flex-start;gap:12px}.attendance-dialog-title .activity-dot{margin-top:10px}.attendance-progress{padding:14px 16px;border-radius:12px;background:oklch(var(--secondary))}.attendance-progress>div:first-child{font-size:12px}.attendance-progress strong{font-size:20px}.progress-track{height:5px;margin-top:10px;overflow:hidden;border-radius:5px;background:#c3d3c5}.progress-track span{display:block;height:100%;border-radius:inherit;background:oklch(var(--primary));transition:width .22s ease-out}.attendance-roster{display:grid;gap:0}.attendance-student{display:flex;min-height:76px;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid oklch(var(--border))}.attendance-person{display:flex;min-width:190px;flex:1;align-items:center;gap:10px}.attendance-person strong,.attendance-person span{display:block}.attendance-person strong{font-size:12px}.attendance-person span{margin-top:3px;color:oklch(var(--muted-foreground));font-size:10px}.attendance-actions{display:flex;gap:5px}.attendance-actions button{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:4px;padding:7px 10px;border:1px solid oklch(var(--border));border-radius:9px;color:oklch(var(--muted-foreground));background:oklch(var(--card));font-size:10px;font-weight:650}.attendance-actions button svg{width:13px;height:13px}.attendance-actions button:hover{color:oklch(var(--foreground));background:oklch(var(--secondary))}.attendance-actions button.present.active{border-color:oklch(var(--primary));color:oklch(var(--primary-foreground));background:oklch(var(--primary))}.attendance-actions button.absent.active{border-color:#ce7069;color:#7c2524;background:#ffe4e1;background:oklch(.94 .035 25)}.attendance-actions button.active:not(.present):not(.absent){color:oklch(var(--accent-foreground));background:oklch(var(--accent))}.no-subscription{display:inline-flex;min-height:32px;align-items:center;gap:4px;margin-left:44px;padding:0;border:0;color:oklch(var(--destructive));background:transparent;font-size:10px}.no-subscription svg{width:12px}.add-to-lesson{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px dashed oklch(var(--input));border-radius:10px}.add-to-lesson>svg{width:18px;color:oklch(var(--muted-foreground))}.add-to-lesson select{border:0;background:transparent}.attendance-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.attendance-footer p{color:oklch(var(--muted-foreground));font-size:10px}.visually-hidden-input{display:none}.app-toast{font-family:Manrope Variable,sans-serif!important}@media(max-width:1199px){.main-content{padding-inline:28px}.metrics-grid,.students-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-table-header,.sales-table-row{grid-template-columns:minmax(150px,1.1fr) minmax(160px,1.2fr) minmax(110px,.8fr) 60px 80px 44px;gap:10px}}@media(max-width:1023px){.sidebar{display:none}.mobile-header{display:flex;min-height:76px;align-items:center;justify-content:space-between;padding:12px 24px;border-bottom:1px solid oklch(var(--border));color:oklch(var(--sidebar-foreground));background:oklch(var(--sidebar-background))}.mobile-header .brand-mark{width:38px;height:38px;flex-basis:38px;font-size:22px}.mobile-header .brand strong{font-size:21px}.mobile-header [data-slot=button]{color:oklch(var(--sidebar-foreground))}.mobile-header [data-slot=button]:hover{background:oklch(var(--sidebar-accent))}.main-content{margin-left:0;padding:28px 24px 104px}.mobile-nav{position:fixed;inset:auto 0 0;z-index:30;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:6px 10px calc(6px + env(safe-area-inset-bottom));border-top:1px solid oklch(var(--border));background:oklch(var(--card) / .97);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.mobile-nav button{display:flex;min-height:58px;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:10px;color:oklch(var(--muted-foreground));background:transparent;font-size:10px}.mobile-nav button svg{width:20px;height:20px}.mobile-nav button.active{color:oklch(var(--primary));background:oklch(var(--secondary));font-weight:750}.dashboard-grid{grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr)}}@media(max-width:767px){.main-content{padding:24px 18px 100px}.demo-banner{flex-wrap:wrap;margin-bottom:22px}.demo-banner p{min-width:calc(100% - 32px)}.demo-banner button{width:100%;min-height:42px}.page-heading{align-items:flex-start;margin-bottom:22px}.dashboard-heading{flex-direction:column}.heading-actions{width:100%}.heading-actions [data-slot=button]{flex:1}.dashboard-grid{grid-template-columns:1fr}.schedule-list-header,.sales-table-header{display:none}.schedule-row{grid-template-columns:minmax(0,1fr) auto 44px;gap:10px;padding:14px 0}.schedule-open{grid-column:1 / -1}.schedule-students{grid-column:1}.attendance-pill{grid-column:2}.schedule-row>.delete-button{grid-column:3}.sales-table-row{grid-template-columns:minmax(0,1fr) auto 44px;gap:9px;padding:16px 0}.sale-student{grid-column:1 / 3}.sales-table-row>.delete-button{grid-column:3;grid-row:1}.sale-product{grid-column:1 / -1}.sale-date{grid-column:1}.sale-remaining{grid-column:2}.sale-amount{grid-column:1}.sales-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.attendance-student{align-items:flex-start}.attendance-actions{width:100%}.attendance-actions button{min-height:44px;flex:1}}@media(max-width:540px){.mobile-header{padding-inline:16px}.main-content{padding-inline:14px}.page-heading:not(.dashboard-heading){flex-direction:column}.page-heading:not(.dashboard-heading)>[data-slot=button]{width:100%}.page-heading h1{font-size:34px}.heading-actions{flex-direction:column}.date-switcher{flex-wrap:wrap}.date-switcher>button{flex:1;padding-inline:10px}.date-input-wrap{width:100%;margin:4px 0 0}.date-input-wrap input{flex:1}.metrics-grid{gap:8px}.metric-card{padding:16px}.metric-icon{top:14px;right:14px}.metric-card strong{font-size:30px}.metric-card>span{font-size:9px}.lesson-list{padding-inline:14px}.lesson-row{grid-template-columns:46px 7px minmax(0,1fr) auto;gap:9px}.lesson-row .row-chevron{display:none}.lesson-main strong{white-space:normal}.attendance-summary{min-width:44px}.panel-heading,.sales-by-activity,.low-balance-list{padding-inline:16px}.schedule-toolbar,.list-toolbar{align-items:stretch;flex-direction:column}.date-navigation{justify-content:space-between}.date-navigation>div{min-width:0}.schedule-date-input,.search-field{width:100%}.list-count{align-self:flex-end}.students-grid{grid-template-columns:1fr}.period-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.period-tabs button{padding-inline:5px;font-size:11px}.field-row{grid-template-columns:1fr}.app-dialog{width:calc(100% - 20px);padding:22px 18px}.form-actions,.student-dialog-actions{flex-direction:column-reverse}.form-actions [data-slot=button],.student-dialog-actions [data-slot=button]{width:100%}.dialog-total-balance{align-items:flex-start;flex-direction:column;gap:6px}.attendance-person{min-width:0}.attendance-actions button{padding-inline:5px;font-size:9px}.attendance-footer{align-items:stretch;flex-direction:column}.no-subscription{min-height:40px;margin-left:0}}.row-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px}.student-delete-link{display:inline-flex;min-height:40px;align-items:center;gap:7px;padding:0;border:0;color:oklch(var(--destructive));background:transparent;font-size:11px}.student-delete-link svg{width:14px}.student-delete-link:hover{text-decoration:underline}@media(min-width:768px){.sales-table-header,.sales-table-row{grid-template-columns:minmax(170px,1.15fr) minmax(200px,1.4fr) minmax(130px,.9fr) 70px 90px 88px}}@media(min-width:768px)and (max-width:1199px){.sales-table-header,.sales-table-row{grid-template-columns:minmax(150px,1.1fr) minmax(160px,1.2fr) minmax(110px,.8fr) 60px 80px 88px}}@media(max-width:767px){.schedule-row>.row-actions{grid-column:3}.sales-table-row>.row-actions{grid-column:3;grid-row:1}}.sidebar-logout{display:flex;width:100%;min-height:44px;align-items:center;justify-content:center;gap:8px;margin-top:6px;padding:8px;border:0;color:#bbc9ba;background:transparent;font-size:12px}.sidebar-logout:hover{color:oklch(var(--sidebar-foreground))}.sidebar-logout svg{width:16px}.mobile-header-actions{display:flex;align-items:center;gap:2px}.cloud-sync-error{display:flex;align-items:center;gap:12px;max-width:1380px;margin:0 auto 20px;padding:12px 16px;border:1px solid oklch(.82 .08 45);border-radius:12px;color:#733119;background:#ffeadc;background:oklch(.95 .035 55);font-size:13px}.cloud-sync-error>svg{flex:0 0 18px}.cloud-sync-error p{flex:1}.cloud-sync-error button{min-height:40px;padding:6px 12px;border:0;border-radius:8px;color:inherit;background:#f6d3bc;font-weight:700}.access-current{display:flex;align-items:flex-start;gap:12px;max-height:180px;padding:14px;overflow-y:auto;border-radius:12px;background:oklch(var(--secondary))}.access-current>svg{flex:0 0 20px;color:oklch(var(--primary))}.access-current p+p{margin-top:12px}.access-current strong,.access-current span{display:block}.access-current strong{font-size:13px}.access-current span{margin-top:3px;color:oklch(var(--muted-foreground));font-size:11px}@media(max-width:540px){.mobile-header .brand small{display:none}.mobile-header .brand strong{font-size:20px}.cloud-sync-error{flex-wrap:wrap}.cloud-sync-error p{min-width:calc(100% - 32px)}}
