:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#fafaf9;--card:#fff;--fg:#1c1917;--muted:#78716c;--line:#e7e5e4;--accent:#b45309;--inverse-bg:#1c1917;--inverse-fg:#fff;--topbar-bg:#1c1917;--tag-bg:#fef3c7;--muted-bg:#f5f5f4;--present-bg:#f0fdf4;--missed-bg:#fecaca;--missed-border:#ef4444;--covered-bg:#bfdbfe;--covered-border:#3b82f6;--warn-bg:#fffbeb;--warn-border:#fcd34d;--ok-bg:#ecfdf5;--ok-border:#a7f3d0;--ok-text:#15803d;--busy-border:#fca5a5;--error:#b91c1c;--pill-missed:#fee2e2;--pill-credit:#dcfce7;--pill-makeup:#dbeafe;--pill-override:#ede9fe;--grid-hour:#d6d3d1;--grid-half:#eeecea}[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0f0f10;--card:#1a1a1c;--fg:#ececec;--muted:#9a9a9f;--line:#2c2c30;--accent:#f59e0b;--inverse-bg:#ececec;--inverse-fg:#111113;--topbar-bg:#050506;--tag-bg:#4a3a12;--muted-bg:#222225;--present-bg:#12291c;--missed-bg:#7f1d1d;--missed-border:#f87171;--covered-bg:#1e3a8a;--covered-border:#60a5fa;--warn-bg:#2c2310;--warn-border:#8a6a1c;--ok-bg:#102a1f;--ok-border:#1f5c3f;--ok-text:#4ade80;--busy-border:#9f3a3a;--error:#f87171;--pill-missed:#4a1d22;--pill-credit:#173b26;--pill-makeup:#1b2f4d;--pill-override:#35285a;--grid-hour:#333338;--grid-half:#232327}*{box-sizing:border-box}body{background:var(--bg);color:var(--fg);margin:0;font-family:system-ui,-apple-system,Segoe UI,sans-serif;font-size:15px}button,select,input{font:inherit;border:1px solid var(--line);background:var(--card);color:var(--fg);border-radius:6px;padding:6px 10px}button{cursor:pointer}button.link{color:var(--accent);background:0 0;border:none;padding:0 0 0 10px}.muted{color:var(--muted)}.error{color:var(--error)}.tag{background:var(--tag-bg);border-radius:4px;margin-left:6px;padding:0 6px;font-size:12px;display:inline-block}.center-card{background:var(--card);border:1px solid var(--line);border-radius:12px;max-width:420px;margin:15vh auto 0;padding:32px}.center-card h1{margin-top:0}.center-card form{flex-direction:column;gap:10px;display:flex}.center-card button[type=submit]{background:var(--inverse-bg);color:var(--inverse-fg);border-color:var(--inverse-bg)}.topbar{background:var(--topbar-bg);color:#fff;flex-wrap:wrap;align-items:center;gap:24px;padding:12px 24px;display:flex}.topbar nav{flex-wrap:wrap;gap:16px;display:flex}.topbar nav a{color:#d6d3d1;text-decoration:none}.topbar nav a.active{color:#fff;border-bottom:2px solid #f59e0b}.topbar .who{color:#d6d3d1;margin-left:auto;font-size:13px}.page{padding:20px 24px}.toolbar{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:14px;display:flex}.check{align-items:center;gap:6px;display:flex}.notice{background:var(--ok-bg);border:1px solid var(--ok-border);cursor:pointer;border-radius:8px;margin:10px 0;padding:10px 14px}.day-tabs{flex-wrap:wrap;gap:6px;margin-bottom:12px;display:flex}.day-tabs button.active{background:var(--inverse-bg);color:var(--inverse-fg)}.day-tabs .count{opacity:.7;margin-left:6px;font-size:12px}.room-grid{gap:12px;display:grid;overflow:auto hidden}.room-grid h3{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:0 0 8px;font-size:14px}.lesson{background:var(--card);border:1px solid var(--line);border-left:5px solid #999;border-radius:8px;flex-direction:column;gap:3px;margin-bottom:8px;padding:8px 10px;display:flex}.lesson-time{font-size:13px;font-weight:600}.lesson-student{font-weight:600}.lesson select{margin-top:4px;padding:4px 6px;font-size:13px}.table{border-collapse:collapse;background:var(--card);width:100%}.table th,.table td{text-align:left;border-bottom:1px solid var(--line);padding:8px 10px}.table tr.clickable{cursor:pointer}.table tr.clickable:hover{background:var(--warn-bg)}.table tr.detail td{background:var(--bg)}.table tr.detail ul{margin:0;padding-left:20px}.segmented{display:inline-flex}.segmented button{border-radius:0}.segmented button:first-child{border-radius:6px 0 0 6px}.segmented button:last-child{border-radius:0 6px 6px 0}.segmented button.active{background:var(--inverse-bg);color:var(--inverse-fg);border-color:var(--inverse-bg)}.view-title{min-width:220px}.week-grid{grid-template-columns:repeat(7,minmax(150px,1fr));gap:8px;display:grid;overflow:auto hidden}.week-grid .day-head{text-align:left;width:100%;margin-bottom:8px;font-weight:600}.week-grid .day-head .count{float:right;color:var(--muted);font-weight:400}.lesson.compact{padding:6px 8px;font-size:13px}.lesson.compact .lesson-time{font-size:12px}.lesson.compact select{padding:2px 4px;font-size:12px}.month-grid{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.month-head{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);padding:0 4px;font-size:12px}.month-cell{text-align:left;flex-direction:column;align-items:flex-start;gap:4px;min-height:104px;padding:8px;display:flex}.month-cell:hover{border-color:var(--accent)}.month-cell.other-month{opacity:.45}.month-cell.today{border:2px solid var(--accent)}.month-cell.closed{background:var(--muted-bg)}.month-date{font-weight:700}.month-count{font-size:13px}.pill{border-radius:999px;padding:1px 6px;font-size:11px}.pill-missed{background:var(--pill-missed)}.pill-credit{background:var(--pill-credit)}.pill-makeup{background:var(--pill-makeup)}.tg-sticky{z-index:5;background:var(--bg);position:sticky;top:0}.tg-sticky>.notice{box-shadow:0 0 0 8px var(--bg);border-radius:8px;margin:0 0 8px;padding-top:8px;padding-bottom:8px}.tg-head-scroll{background:var(--card);border:1px solid var(--line);border-bottom:none;border-radius:8px 8px 0 0;overflow:hidden}.tg-head-row{display:grid}.timegrid{overscroll-behavior-x:contain;background:var(--card);border:1px solid var(--line);border-top:none;border-radius:0 0 8px 8px;display:grid;overflow:auto hidden}.tg-corner,.tg-head{background:var(--card);border-bottom:1px solid var(--line);padding:8px 6px;font-size:13px;font-weight:600}.tg-head{border-left:1px solid var(--line)}.tg-head .day-head{text-align:left;width:100%;font-weight:600}.tg-head .count{float:right;color:var(--muted);font-weight:400}.dot{border-radius:50%;width:9px;height:9px;margin-right:6px;display:inline-block}.tg-axis{position:relative}.tg-axis span{color:var(--muted);background:var(--card);font-size:11px;position:absolute;right:6px;transform:translateY(-50%)}.tg-axis span:first-child{transform:none}.tg-axis span:last-child:not(:first-child){transform:translateY(-100%)}.tg-col{border-left:1px solid var(--line);position:relative}.tg-item{padding-top:1px;position:absolute}.tg-item .lesson{gap:1px;height:100%;margin:0;padding:3px 6px;overflow:hidden}.tg-item .lesson .lesson-info{white-space:nowrap;text-overflow:ellipsis;font-size:12px;overflow:hidden}.tg-item .lesson select{max-width:100%;margin-top:1px;padding:1px 2px;font-size:11px}.mini{border:1px solid var(--line);background:var(--card);text-align:left;border-left:4px solid #999;border-radius:5px;flex-direction:column;align-items:flex-start;width:100%;height:100%;padding:1px 4px;font-size:11px;line-height:1.2;display:flex;overflow:hidden}.mini-time{color:var(--muted)}.mini-name{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-weight:600;overflow:hidden}.hint{margin:0 0 8px;font-size:13px}.account h1{margin:4px 0}.cards{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:14px;display:grid}.card{background:var(--card);border:1px solid var(--line);border-radius:10px;margin-bottom:14px;padding:14px 18px}.card h2{margin:0 0 10px;font-size:16px}.card p{margin:4px 0}.credit-group{border-top:1px solid var(--line);padding:10px 0}.credit-group:first-of-type{border-top:none}.credit-group-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.credit-group ul{margin:6px 0 0;padding-left:20px}button.primary{background:var(--inverse-bg);color:var(--inverse-fg);border-color:var(--inverse-bg)}.row{flex-wrap:wrap;align-items:center;gap:10px;margin:8px 0;display:flex}.booking{border:2px solid var(--accent);background:var(--warn-bg);border-radius:10px;margin-top:10px;padding:12px 14px}.booking-head{justify-content:space-between;align-items:center;display:flex}.booking h3{margin:0;font-size:15px}.slot-days{flex-direction:column;gap:8px;max-height:380px;margin:10px 0;display:flex;overflow-y:auto}.slot-day{align-items:flex-start;gap:10px;display:flex}.slot-day-name{flex-shrink:0;width:110px;padding-top:5px;font-weight:600}.slot-list{flex-wrap:wrap;gap:6px;display:flex}.slot{padding:4px 8px;font-size:13px}.slot:hover{border-color:var(--accent);background:var(--warn-bg)}.confirm p{margin:8px 0}.lesson-student a{color:inherit;text-decoration:none}.lesson-student a:hover{text-decoration:underline}.booking .segmented{margin:6px 0 4px}button:disabled{opacity:.45;cursor:not-allowed}.ext-lesson{min-width:190px;padding:5px 4px;font-size:13px}.tag-override{background:var(--pill-override)}.override label{align-items:center;gap:6px;display:flex}.home h1{margin:0 0 12px;font-size:22px}.home h2{margin:18px 0 8px;font-size:15px}.room-cards{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px;display:grid}.room-card{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:12px 14px}.room-card.busy{border-color:var(--busy-border)}.room-card p{margin:6px 0;font-size:14px}.room-card-head{justify-content:space-between;align-items:center;display:flex}.bar{background:var(--muted-bg);border-radius:999px;height:6px;margin-top:8px;overflow:hidden}.bar>div{background:var(--accent);height:100%}.stat-groups{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:0 18px;display:grid}.stats{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.stat{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:10px 12px}.stat-value{font-size:26px;font-weight:700}.stat-label{font-size:13px}.stat-sub{color:var(--muted);margin-top:2px;font-size:12px}.stat-warn{border-color:var(--warn-border);background:var(--warn-bg)}.stat-ok .stat-value{color:var(--ok-text)}a{color:var(--accent)}.theme-toggle{color:#d6d3d1;background:0 0;border:1px solid #444;margin-left:10px;padding:2px 8px;font-size:13px}.home-head{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:8px;display:flex}.home-head h1{text-align:center;min-width:300px;margin:0}.time-pick{color:var(--muted);align-items:center;gap:6px;display:flex}.live{padding:3px 10px;font-size:12px}.notice.preview{cursor:default;background:var(--warn-bg);border-color:var(--warn-border)}.account .table select{padding:3px 6px;font-size:13px}.tg-closed{background:repeating-linear-gradient(135deg, transparent 0 6px, var(--muted-bg) 6px 12px);opacity:.9;pointer-events:none;position:absolute;left:0;right:0}:root{--gap-bg:#e7e5e4;--gap-border:#a8a29e;--gap-text:#44403c}[data-theme=dark]{--gap-bg:#3a3a3f;--gap-border:#6b6b73;--gap-text:#e4e4e7}.tg-gap{background:var(--gap-bg);border:1px dashed var(--gap-border);pointer-events:none;border-radius:5px;justify-content:center;align-items:center;margin-top:1px;display:flex;position:absolute;left:2px;right:2px;overflow:hidden}.tg-gap span{color:var(--gap-text);white-space:nowrap;font-size:11px;font-weight:600}.lesson .lesson-time{justify-content:space-between;align-items:baseline;gap:6px;display:flex}.lesson .lesson-when{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.lesson .lesson-time .lesson-info{white-space:nowrap;text-overflow:ellipsis;flex-shrink:0;max-width:50%;font-size:11px;font-weight:400;overflow:hidden}.lesson,.tg-item .lesson{border-width:1px 1px 1px 7px}.mini{border-width:1px 1px 1px 6px}.small-dot{vertical-align:middle;width:8px;height:8px;margin-right:4px}.att-icon{text-align:center;flex:1;font-size:14px;font-weight:800;line-height:1}.att-present{color:var(--ok-text)}.att-missed{color:var(--missed-border)}.att-covered{color:var(--covered-border)}.mini-time{justify-content:space-between;align-items:center;gap:4px;width:100%;display:flex}.mini-time .att-icon{flex:none;font-size:12px}.form-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px 14px;margin:10px 0;display:grid}.form-grid label{color:var(--muted);flex-direction:column;gap:4px;font-size:13px;display:flex}.form-grid input,.form-grid select{color:var(--fg)}input.wide{width:100%;margin:10px 0}.family-list{border:1px solid var(--line);border-radius:8px;max-height:260px;overflow-y:auto}.family-option{border-bottom:1px solid var(--line);cursor:pointer;align-items:center;gap:10px;padding:8px 10px;display:flex}.family-option.picked{background:var(--warn-bg)}a.button{border:1px solid var(--line);border-radius:6px;padding:6px 12px;text-decoration:none;display:inline-block}a.button.primary{background:var(--inverse-bg);color:var(--inverse-fg);border-color:var(--inverse-bg)}.slot.picked{background:var(--inverse-bg);color:var(--inverse-fg)}.slot.picked .muted{color:inherit;opacity:.8}.series-row{border-bottom:1px solid var(--line);padding:6px 0}.series-row .row{margin:4px 0 2px}.picker{margin-top:6px}:root{--free-bg:#10b9812e;--free-border:#10b9818c;--free-text:#047857}[data-theme=dark]{--free-bg:#34d39929;--free-border:#34d39980;--free-text:#6ee7b7}.tg-free{background:var(--free-bg);border-top:1px solid var(--free-border);border-bottom:1px solid var(--free-border);pointer-events:none;justify-content:flex-end;align-items:flex-start;display:flex;position:absolute;left:0;right:0}.tg-free span{color:var(--free-text);padding:1px 4px;font-size:10px;font-weight:700}.tg-free{z-index:2}.tg-free.in-lane{border:1px solid var(--free-border);border-radius:3px;justify-content:center;align-items:center}.tg-free span.tg-free-label{flex-direction:column;align-items:center;padding:0;font-size:11px;line-height:1;display:flex}.tg-free-label small{font-size:9px;font-weight:600}.tg-free-label.tight{font-size:9px}.tg-free-label.tight small{font-size:8px}.hover-card{z-index:50;box-sizing:border-box;background:var(--card);width:300px;color:var(--fg);border:2px solid var(--line);pointer-events:none;border-left-width:8px;border-radius:10px;padding:14px 16px;position:fixed;box-shadow:0 12px 32px #00000073}.hc-name{margin-bottom:8px;font-size:20px;font-weight:800;line-height:1.2}.hc-row{align-items:center;gap:6px;margin-top:4px;font-size:15px;display:flex}.hc-time{font-weight:600;display:block}.lane-block{opacity:.9;cursor:pointer;border:none;border-radius:3px;width:100%;height:100%;padding:0}.lane-block:hover,.lane-block.peeked{opacity:1;outline:2px solid var(--fg);outline-offset:1px}.lane-legend{align-items:center;gap:18px;margin:0 0 8px;font-size:13px;display:flex}.free-swatch{background:var(--free-bg);border:1px solid var(--free-border);vertical-align:middle;width:14px;height:10px;display:inline-block}.free-pick{align-items:center;gap:6px;font-size:13px;display:flex}.notice.peek{cursor:default;box-sizing:border-box;flex-wrap:wrap;align-items:center;gap:6px;min-height:44px;display:flex}.peek-actions{gap:8px;margin-left:auto;display:flex}@media (max-width:700px){.topbar{gap:8px 14px;padding:10px 12px}.topbar .who .email{display:none}.topbar .who{align-items:center;gap:8px;display:flex}.page{padding:12px 10px}}.notice.peek.empty{background:var(--card);border:1px solid var(--line);color:var(--muted)}.hover-card .att-icon{flex:none;font-size:16px}:root{--day-alt:#0000000d}[data-theme=dark]{--day-alt:#ffffff0e}.tg-col.alt{background-color:var(--day-alt)}.tg-head.alt{background-image:linear-gradient(var(--day-alt), var(--day-alt))}.tg-free.in-lane.align-top{align-items:flex-start;padding-top:3px}.tg-free.in-lane.align-bottom{align-items:flex-end;padding-bottom:3px}.tg-free:not(.in-lane).align-bottom{align-items:flex-end}.tg-free{box-sizing:border-box}.tg-lane-div{border-left:1px solid var(--grid-hour);pointer-events:none;width:0;position:absolute}@media (min-width:701px){.topbar{z-index:30;position:sticky;top:0}.schedule-toolbar{top:var(--topbar-h,0px);z-index:20;background:var(--bg);margin:0 -24px 6px;padding:10px 24px;position:sticky}.tg-sticky{top:calc(var(--topbar-h,0px) + var(--toolbar-h,0px))}}.love-note{color:#ef4444;letter-spacing:.02em;margin:0 auto;font-size:15px;font-weight:700}.love-note+.who{margin-left:0}.any-time-toggle{margin:10px 0 4px}.any-time{flex-wrap:wrap;align-items:flex-end;gap:12px;margin-top:8px;display:flex}.any-time label{flex-direction:column;gap:4px;display:flex}.any-time .ok-text{color:var(--ok-text,#16a34a);flex-basis:100%;margin:0;font-weight:600}.lane-block.trial{outline-offset:-3px;outline:2px dashed #ffffffd9}.hc-tag{vertical-align:middle;margin-left:8px;font-size:12px}.mini-tag{margin-left:4px;padding:0 4px;font-size:10px}.signup-cta{border:1px solid var(--line);border-radius:8px;flex-wrap:wrap;align-items:center;gap:12px;margin:10px 0;padding:10px 12px;display:flex}.signup-cta p{margin:0}.kind-pick,.lesson-type{margin-bottom:10px}.schedule-toolbar,.tb-left,.tb-center,.tb-right{flex-wrap:wrap;align-items:center;gap:10px;display:flex}@media (min-width:1000px){.schedule-toolbar{flex-wrap:nowrap}.tb-left,.tb-right{flex:1 1 0;min-width:0}.tb-center{flex:none}.tb-right{justify-content:flex-end}}.book-btn{padding:8px 16px;font-weight:700}.book-btn.open{outline:2px solid var(--accent);outline-offset:2px}.book-panel{margin:0 0 14px}.book-search input{flex:280px;max-width:420px}.student-pick{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px;margin-top:10px;display:grid}.student-pick button{text-align:left;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 10px;display:flex}.picked-student{margin:8px 0 10px}.instrument-select{flex-direction:column;gap:6px;display:flex}.inline-edit{vertical-align:middle;align-items:flex-start;gap:8px;display:inline-flex}.inline-edit .instrument-select{flex-direction:row}.staff-tabs{margin-bottom:12px}.staff-tabs a.button{border-radius:0}.staff-tabs a.button:first-child{border-radius:6px 0 0 6px}.staff-tabs a.button:last-child{border-radius:0 6px 6px 0}.staff-tabs a.button:only-child{border-radius:6px}.staff-tabs a.button.active{background:var(--inverse-bg);color:var(--inverse-fg);border-color:var(--inverse-bg)}.page-head{align-items:center}.page-head h1{margin:0}.big-dot{vertical-align:middle;width:14px;height:14px;margin-right:10px}.hours-days{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px;margin:10px 0;display:grid}.hours-day{border:1px solid var(--line);border-radius:8px;padding:10px 12px}.hours-day.working{background:#16a34a2e;border-color:#16a34a}.hours-day.off{background:#dc262626;border-color:#dc2626}.hours-day-head{flex-direction:column;gap:2px;margin-bottom:6px;display:flex}.hours-day p{margin:4px 0}.hours-row{align-items:center;gap:6px;margin:4px 0}.hours-row input[type=time],.hours-row .tpk-box{width:110px}.warn-text{color:#f59e0b;font-weight:600}.rate-add{align-items:flex-end}.rate-add label{flex-direction:column;gap:4px;display:flex}.table.compact td{padding:4px 8px}.staff-edit{flex-direction:column;gap:6px;max-width:340px;display:flex}.staff-edit p{margin:0}.staff-actions{white-space:nowrap}.staff-actions button+button{margin-left:6px}.expiring-soon{color:#f59e0b;font-weight:700}.expired-text{color:var(--missed-text,#ef4444);font-weight:600}.credit-note{margin-top:2px;font-size:13px}.adjust-form{flex-wrap:wrap;align-items:flex-end;gap:8px;margin:6px 0;display:flex}.adjust-form label{flex-direction:column;gap:3px;font-size:13px;display:flex}.adjust-form input:not([type=date]){min-width:280px}.credit-history{margin-top:12px}.credit-history summary{cursor:pointer;font-weight:600}.warn-card{border-color:#f59e0b}:root{--today-bg:#f59e0b21;--today-line:#d97706}[data-theme=dark]{--today-bg:#fbbf241c;--today-line:#fbbf24}.tg-head.today{background-image:linear-gradient(var(--today-bg), var(--today-bg));box-shadow:inset 0 -3px 0 var(--today-line)}.today-badge{background:var(--today-line);color:#1c1917;letter-spacing:.02em;border-radius:999px;margin-left:6px;padding:1px 7px;font-size:11px;font-weight:800;display:inline-block}.month-cell.today{background:var(--today-bg);border:2px solid var(--today-line)}.month-cell.today .month-date:after{content:"Today";background:var(--today-line);color:#1c1917;vertical-align:middle;border-radius:999px;margin-left:6px;padding:0 6px;font-size:10px;font-weight:800;display:inline-block}.lane-block{text-align:left;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:1px;padding:2px 3px;display:flex;overflow:hidden}.lb-name,.lb-time{white-space:nowrap;text-overflow:clip;pointer-events:none;max-width:100%;line-height:1.1;display:block;overflow:hidden}.lb-name{font-size:10.5px;font-weight:700}.lb-time{opacity:.85;font-size:9.5px;font-weight:600}.lb-name.long{letter-spacing:-.03em;font-size:9px}.lane-block{gap:0;padding:2px 3px}.lb-name,.lb-time{line-height:1.05}.lb-to{opacity:.75;pointer-events:none;font-size:8px;font-weight:600;line-height:1;display:block}.lane-block.short{padding:1px 3px}.lb-tag{letter-spacing:.01em;white-space:nowrap;opacity:.9;pointer-events:none;background:#00000038;border-radius:2px;margin:1px 0;padding:0 2px;font-size:7px;font-weight:700;line-height:1;display:block}.lane-block.short .lb-tag{margin:0}:root{--day-divider:#000}[data-theme=dark]{--day-divider:#fff}.day-dividers .tg-col,.day-dividers .tg-head{border-left:3px solid var(--day-divider)}.tg-now{border-top:2px solid var(--today-line);z-index:4;pointer-events:none;height:0;position:absolute;left:0;right:0}.tg-now:before{content:"";background:var(--today-line);border-radius:50%;width:10px;height:10px;position:absolute;top:-6px;left:-5px}:root{--gl-hour:#00000029;--gl-half:#00000017;--gl-quarter:#0000001a}[data-theme=dark]{--gl-hour:#ffffff29;--gl-half:#ffffff16;--gl-quarter:#ffffff17}.tg-line{border-top:1px solid var(--gl-hour);z-index:3;pointer-events:none;height:0;position:absolute;left:0;right:0}.tg-line.half{border-top-color:var(--gl-half)}.tg-line.quarter{border-top:1px dotted var(--gl-quarter)}.tg-item{z-index:4}.tg-now{z-index:6}.tg-sticky{z-index:10}.tg-item.draggable{cursor:grab}.tg-item.drag-src{opacity:.35}body.tg-dragging,body.tg-dragging *{-webkit-user-select:none;user-select:none;cursor:grabbing!important}body.tg-dragging .hover-card{display:none}.tg-drop{z-index:7;border:2px dashed var(--today-line);pointer-events:none;background:#fbbf2440;border-radius:4px;justify-content:center;align-items:flex-start;display:flex;position:absolute;overflow:visible}.tg-drop span{background:var(--today-line);color:#1c1917;white-space:nowrap;border-radius:4px;margin-top:-18px;padding:1px 6px;font-size:11px;font-weight:800}.modal-back{z-index:60;background:#00000073;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.modal{background:var(--card);width:min(520px,100%);color:var(--fg);border:1px solid var(--line);border-radius:12px;padding:18px 20px;box-shadow:0 16px 48px #00000080}.modal h3{margin:0 0 10px}.modal .move-row{margin:4px 0}.modal .actions{flex-wrap:wrap;gap:8px;margin-top:14px;display:flex}:root{--topbar-bg:#cfe2f8;--topbar-fg:#0f2742;--topbar-link:#24476e;--topbar-line:#b45309;--topbar-signout:#9a3412;--topbar-border:#0f274240;--love:#c81e1e}[data-theme=dark]{--topbar-bg:#1d3557;--topbar-fg:#f1f5fb;--topbar-link:#c9d8ec;--topbar-line:#fbbf24;--topbar-signout:#fbbf24;--topbar-border:#f1f5fb4d;--love:#ff8a8a}.topbar,.topbar .brand{color:var(--topbar-fg)}.topbar nav a{color:var(--topbar-link)}.topbar nav a.active{color:var(--topbar-fg);border-bottom-color:var(--topbar-line)}.topbar .who{color:var(--topbar-link)}.topbar .who button.link{color:var(--topbar-signout)}.topbar .theme-toggle{color:var(--topbar-fg);border-color:var(--topbar-border)}.love-note{color:var(--love)}.tg-head{font-size:15px}.tg-head .day-head{border-radius:8px;flex-wrap:wrap;align-items:center;gap:2px 6px;padding:9px 10px;font-size:17px;line-height:1.2;display:flex}.tg-head .day-head .dh-day{font-weight:800}.tg-head .day-head .dh-date{font-weight:600}.tg-head .day-head .today-badge{margin-left:0;font-size:12px}.tg-head .day-head .count{float:none;margin-left:auto;font-size:13px}@media (max-width:700px){.tg-head .day-head{padding:7px 8px;font-size:15px}}.schedule-toolbar{background:var(--topbar-bg);color:var(--topbar-fg);border-bottom:1px solid var(--topbar-border);margin:-12px -10px 8px;padding:10px}.schedule-toolbar .view-title,.schedule-toolbar .free-pick{color:var(--topbar-fg)}@media (min-width:701px){.schedule-toolbar{background:var(--topbar-bg);margin:-20px -24px 8px;padding:10px 24px 12px}}:root,[data-theme=dark]{--topbar-bg:var(--brand-red);--topbar-fg:#fff;--topbar-link:#ffffffe0;--topbar-line:#fff;--topbar-signout:#fff3b0;--topbar-border:#ffffff73}.topbar .brand{font-weight:800}.topbar nav a.active{border-bottom-width:3px}.love-note{color:#d61f1f;background:#fff;border-radius:999px;padding:2px 10px}[data-theme=dark] .love-note{color:#d61f1f}.lesson.openable{cursor:pointer}.lesson-dialog{width:min(640px,100%);max-height:calc(100vh - 32px);overflow-y:auto}.ld-head{align-items:center;gap:8px;display:flex}.ld-head h3{flex:1;margin:0;font-size:20px}.ld-head .tag{vertical-align:middle;margin-left:8px}.ld-close{font-size:18px}.ld-when{margin:8px 0 2px;font-size:16px;font-weight:700}.ld-sub{margin:0 0 6px}.lesson-dialog h4{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:14px 0 6px;font-size:13px}.ld-status{flex-wrap:wrap;gap:6px;display:flex}.ld-status button{align-items:center;gap:4px;font-size:13px;display:inline-flex}.ld-status button.active{background:var(--inverse-bg);color:var(--inverse-fg);border-color:var(--inverse-bg)}.ld-status .att-icon{flex:none}.ld-status .ld-status-more{width:auto;max-width:100%;font-size:13px}.ld-status .ld-status-more.active{background-color:var(--inverse-bg);color:var(--inverse-fg);border-color:var(--inverse-bg)}.topbar{position:relative}.topbar-center{left:var(--title-x,50%);pointer-events:none;white-space:nowrap;position:absolute;top:50%;transform:translate(-50%,-50%)}.topbar-title{color:var(--topbar-fg);letter-spacing:.01em;font-size:24px;font-weight:800}.topbar-center:empty{display:none}.topbar.compact{gap:14px;padding-left:14px;padding-right:14px}.topbar.compact nav{gap:12px}.topbar.compact .who .email{display:none}.topbar.compact .topbar-title{font-size:21px}.topbar.title-below .topbar-center{text-align:center;white-space:normal;flex-basis:100%;order:10;padding:2px 0 4px;position:static;transform:none}@media (min-width:701px){.topbar{position:sticky}}.mini.big{gap:1px;padding:3px 8px;line-height:1.2}.mini.big .mini-time{font-size:14px}.mini.big .mini-name{font-size:17px;font-weight:700}.mini.big .mini-tag{vertical-align:middle;font-size:11px}.mini-short-time{display:none}.mini.big.short{justify-content:center;padding:1px 8px}.mini.big.short .mini-time{display:none}.mini.big.short .mini-name{font-size:14px}.mini.big.short .mini-short-time{color:var(--muted);font-weight:600;display:inline}.room-teachers{margin:8px 0 4px;font-size:16px}.room-teachers .rt-on{margin-bottom:2px}.room-teachers .rt-others{margin-top:2px;font-size:15px}.room-card.clickable{cursor:pointer;transition:border-color .15s,transform .15s}.room-card.clickable:hover,.room-card.clickable:focus-visible{border-color:var(--accent,var(--brand-red));transform:translateY(-1px)}.link-button{color:var(--link,var(--brand-red));cursor:pointer;font:inherit;background:0 0;border:none;padding:0;text-decoration:underline}.lesson select,.lesson.compact select,.tg-item .lesson select{font-size:inherit;margin-top:2px;padding:3px 6px;font-weight:600}.home-head h1{flex:none;width:16.5em;min-width:0;max-width:calc(100% - 110px)}.studio-head{color:#1d1d1f;border-radius:8px;margin:-2px;padding:6px 10px;font-size:16px;font-weight:800;display:block;box-shadow:inset 0 0 0 1px #00000014}.home-head .date-pick{position:relative}.home-head .date-title{all:unset;cursor:pointer;text-align:center;border-radius:6px;width:100%;display:block}.home-head .date-title:hover,.home-head .date-title:focus-visible{text-underline-offset:4px;text-decoration:underline}.home-head .date-pick-input{opacity:0;pointer-events:none;border:0;width:1px;height:1px;padding:0;position:absolute;bottom:0;left:50%}.courtesy{flex-direction:column;gap:8px;margin-top:6px;display:flex}.courtesy-dates{flex-wrap:wrap;gap:6px;display:flex}.courtesy-teachers{flex-direction:column;gap:8px;max-height:320px;display:flex;overflow-y:auto}.courtesy-row{flex-direction:column;gap:4px;display:flex}.courtesy-who{font-weight:700}.courtesy-teacher select{margin-left:4px}.courtesy-actions .primary{white-space:normal;text-align:left}.courtesy-card h3{margin:12px 0 6px;font-size:14px}.plain-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.courtesy-card .small{font-size:13px}.courtesy-card .owner-tools{border-top:1px solid var(--line);margin-top:12px;padding-top:8px}.sub-note{color:var(--text,inherit);white-space:nowrap;background:#ffc4002e;border-radius:4px;margin-left:6px;padding:0 5px;font-size:.85em;font-weight:600}.sub-btn{font-weight:700}.sub-list{max-height:360px;margin:8px 0;overflow-y:auto}.sub-list li .check{display:inline}.sub-list-head{gap:12px}.ld-sub-pick select{flex:260px;max-width:100%}.home-lists{align-items:stretch;gap:12px;margin:16px 0;display:flex}.home-lists>.todos{flex:1 1 0;min-width:0}.home-lists>.birthdays{flex:0 0 300px;min-width:0}.home-lists>.overdue-card{flex:0 0 230px}.overdue-clear{border-color:var(--border,#333)}.overdue-clear h2{color:#22c55e}.overdue-clear p{margin:6px 0 0;font-size:13px}@media (max-width:800px){.home-lists{flex-direction:column}.home-lists>.overdue-card,.home-lists>.birthdays{flex:none}}.home-lists .card{margin:0}.todos-head{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:14px}.todos-show{gap:14px;margin-left:auto;font-size:13px;display:inline-flex}.todos-show label.check{align-items:center;gap:4px;display:inline-flex}.todos-head h2{margin:0}.todos h3{text-transform:uppercase;letter-spacing:.04em;margin:10px 0 4px;font-size:13px}.todo{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:baseline;gap:4px 10px;padding:6px 0;font-size:15px;display:flex}.todo:last-child{border-bottom:none}.todo .check{flex:260px;align-items:baseline;gap:8px;display:flex}.todo.done .check span{opacity:.55;text-decoration:line-through}.todo-meta{flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:13px;display:inline-flex}.todo.editing input:not([type=date]){flex:260px}.overdue-text{color:#dc2626;font-weight:700}.todo-form{flex-direction:column;gap:8px;margin:8px 0 10px;display:flex}.todo-form .row{flex-wrap:wrap;align-items:center;gap:8px}.birthdays li{font-size:15px}.bday-today{font-weight:700}.day-marks{gap:4px;margin-left:4px;font-size:13px;font-weight:600;display:inline-flex}.day-marks-bar{border:1px solid var(--line);background:var(--card);border-radius:8px;flex-wrap:wrap;gap:6px 16px;margin:0 0 8px;padding:6px 10px;font-size:14px;font-weight:600;display:flex}.room-card-head{flex-wrap:wrap;align-items:flex-start;gap:4px 10px}.room-card-head .room-name{font-size:17px}.room-head-teachers{text-align:right;margin-left:auto;font-size:15px;line-height:1.3}.room-head-teachers.later{opacity:.6}.room-pill{margin-top:4px;display:inline-block}.room-card .rt-others{margin:6px 0 2px;font-size:14px}.hc-instrument{opacity:.8;font-size:16px;font-weight:600}.fit-line{flex-wrap:wrap;align-items:baseline;max-width:100%;max-height:1.3em;line-height:1.3;display:flex;overflow:hidden}.fit-line .fit-main{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.fit-line .fit-extra{white-space:pre}.inst{opacity:.75;font-size:.85em;font-weight:600}.lb-inst{white-space:nowrap;opacity:.8;max-width:100%;margin-top:1px;font-size:8.5px;font-weight:600;line-height:1.1;display:block;overflow:hidden}.ld-instrument{opacity:.75;font-size:.8em;font-weight:600}.lesson.jam,.mini.jam{background-image:repeating-linear-gradient(135deg,#ffffff0d 0 8px,#0000 8px 16px);border-style:dashed}.lane-block.jam{outline-offset:-2px;outline:2px solid #ffffff80;background-image:repeating-linear-gradient(135deg,#0000002e 0 6px,#0000 6px 12px)!important}.lane-block.jam .lb-name{white-space:normal;word-break:break-word;line-height:1.05}.pill-jam{color:#7c3aed;background:#7c3aed26}.missed-flag{color:#dc2626;font-weight:700}.missed-some{color:#d97706;font-weight:600}.att-scroll{overflow-x:auto}.att-grid th,.att-grid td{text-align:center;white-space:nowrap}.att-grid .att-when{text-align:left}.att-grid .small{font-size:11px;font-weight:500}.att-btn{width:34px;height:30px;padding:0;font-size:16px;font-weight:800}.att-btn.present{color:#16a34a;background:#16a34a2e;border-color:#16a34a}.att-btn.absent{color:#dc2626;background:#dc262626;border-color:#dc2626}.today-row{background:#4393d014}.add-member{flex-direction:column;gap:8px;margin-top:10px;display:flex}.add-member .row{flex-wrap:wrap;gap:8px}.add-member input[list]{flex:240px}.jam-members li{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;padding:4px 0;display:flex}.jam-row{padding:4px 0}.notice.warn{border-color:#d97706}.link.danger{color:#dc2626}.crumbs{margin:0 0 4px}.band-copy-list{margin:6px 0 10px}.jam-all{gap:8px;margin:4px 0 8px}.jam-members .jam-all-row{border-bottom:1px solid var(--line);margin-bottom:2px;padding-bottom:8px}.jam-members .segmented button{min-width:118px}:root{--now-line:#111827;--now-glow:#ffffffb3}[data-theme=dark]{--now-line:#fff;--now-glow:#000000bf}.tg-now{border-top-color:var(--now-line);z-index:6;filter:drop-shadow(0 0 1.5px var(--now-glow))}.tg-now:before{background:var(--now-line)}.tg-gap.clickable{pointer-events:auto;cursor:pointer;z-index:5}.tg-gap .gap-book{color:var(--gap-text);font-size:12px;font-weight:800;display:none}.tg-gap.clickable:hover{filter:brightness(1.25);border-style:solid}.tg-gap.clickable:hover .gap-label{display:none}.tg-gap.clickable:hover .gap-book{display:inline}.gap-for{background:var(--gap-bg);border:1px dashed var(--gap-border);border-radius:8px;margin:0 0 8px;padding:6px 10px;font-weight:600}:root,[data-theme=dark]{--now-line:var(--brand-red)}.tg-now{border-top:2px solid var(--now-line);filter:none;box-shadow:0 0 6px 1px #ce1c1cb3,0 0 14px 2px #ce1c1c4d}.tg-now:before{background:var(--now-line);box-shadow:0 0 8px 2px #ce1c1cbf}.gap-box .gap-option{margin:8px 0}.gap-box .gap-option button{text-align:left}.ld-delete{border-top:1px solid var(--line,#7f7f7f40);margin:14px 0 4px;padding-top:10px}.ld-delete .small{font-size:.85em}.ld-delete-ask{border:1px solid #dc2626;border-radius:8px;padding:10px 12px}.ld-delete-ask p{margin:0 0 8px}.ld-delete-ask .row{flex-wrap:wrap;align-items:center;gap:8px}.danger-btn{color:#fff;background:#dc2626;border-color:#dc2626}.danger-btn:hover:not(:disabled){background:#b91c1c}.withdraw-open{margin:4px 0 12px}.withdraw-card{margin-bottom:16px}.withdraw-card.pending{border-color:#d97706}.withdraw-card .row{flex-wrap:wrap;align-items:flex-end;gap:12px}.withdraw-card label.block{margin:10px 0;display:block}.withdraw-card label.block input{width:100%;max-width:420px;margin-top:4px;display:block}.withdraw-dates label{flex-direction:column;gap:4px;display:flex}.withdraw-picks{margin:10px 0 0}.withdraw-card .chip{border-radius:999px;padding:4px 12px;font-size:.9em}.withdraw-card .chip.on{background:var(--accent,var(--brand-red));color:#fff;border-color:var(--accent,var(--brand-red))}.withdraw-summary{margin:12px 0;padding-left:20px}.withdraw-summary li{margin:4px 0}.withdraw-ask{border:1px solid #d97706;border-radius:8px;margin-top:8px;padding:10px 12px}.withdraw-ask p{margin:0 0 8px}.withdraw-card .small{font-size:.85em}.pause-open{margin:-4px 0 12px}.pause-card{border-color:var(--brand-red);margin-bottom:16px}.pause-card .row{flex-wrap:wrap;align-items:flex-end;gap:12px}.pause-card label.block{margin:10px 0;display:block}.pause-card label.block input{width:100%;max-width:420px;margin-top:4px;display:block}.pause-card .small,.pause-open .small{font-size:.85em}.activity-filters{flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0 14px}.activity-filters input[type=search]{min-width:220px}.activity-table{border-collapse:collapse;width:100%;font-size:.92em}.activity-table th,.activity-table td{text-align:left;border-bottom:1px solid var(--line,#7f7f7f33);vertical-align:top;padding:6px 8px}.activity-table th{font-weight:600}.activity-table .nowrap{white-space:nowrap}.tg-col.bookable{cursor:pointer}.tg-ghost{z-index:3;pointer-events:none;border:1.5px dashed var(--accent,var(--brand-red));background:color-mix(in srgb, var(--accent,var(--brand-red)) 12%, transparent);color:var(--accent,var(--brand-red));border-radius:6px;padding:2px 6px;font-size:.8em;font-weight:600;position:absolute;left:2px;right:2px}.pause-open,.withdraw-open{vertical-align:top;margin:0 22px 12px 0;display:inline-block}.pause-open p{margin:2px 0 0}.import-page .card{margin-bottom:16px}.import-page h2{margin-top:14px}.import-page textarea{width:100%;font-family:monospace;font-size:.85em}.import-ticks{flex-wrap:wrap;gap:6px 18px;margin:6px 0 10px;display:flex}.import-list{columns:2;margin:6px 0 12px;font-size:.92em}.import-wipe{border:1px solid #dc2626;border-radius:8px;margin:16px 0 10px;padding:10px;display:block}.instrument-dd{min-width:170px;display:inline-block;position:relative}.instrument-dd-btn{text-align:left;justify-content:space-between;align-items:center;gap:10px;width:100%;font-weight:400;display:flex}.instrument-dd-caret{opacity:.7}.instrument-dd-list{z-index:30;background:var(--card,#1b1b1d);border:1px solid var(--line,#7f7f7f59);border-radius:8px;flex-direction:column;gap:2px;width:max-content;min-width:100%;padding:6px;display:flex;position:absolute;top:calc(100% + 4px);left:0;box-shadow:0 8px 24px #00000059}.instrument-dd-item{cursor:pointer;white-space:nowrap;text-align:left;border-radius:6px;flex-direction:row;align-items:center;gap:8px;margin:0;padding:5px 8px;display:flex}.instrument-dd-item:hover{background:#7f7f7f2e}.instrument-dd-item input{width:auto;margin:0}.instrument-dd-other{gap:4px;padding:4px 6px;display:flex}.instrument-dd-other input{width:130px}.instrument-dd-done{align-self:flex-end;padding:4px 8px}.field-block{flex-direction:column;grid-column:1/-1;gap:4px;display:flex}.field-block.narrow{grid-column:auto}.pause-kind{margin:4px 0 12px}.tg-axis{position:sticky;left:0}.tg-corner{will-change:transform;position:relative}.tg-axis,.tg-corner{z-index:8;background:var(--card);box-shadow:1px 0 0 var(--line)}.table tr.letter-row td{color:var(--muted);border-bottom:1px solid var(--line);cursor:default;background:0 0;padding:14px 8px 4px;font-size:15px;font-weight:700}.special-card{border-color:#16a34a}.special-mark{margin:0 2px;font-size:.85em;line-height:1}.lane-block .special-mark{margin:0 1px 0 0;font-size:10px}.checkin-buttons{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.checkin-alert{border-color:#f59e0b}.warn-box{border:1px solid #f59e0b;border-radius:6px;margin:6px 0;padding:6px 10px}.warn-box p{margin:0 0 6px}.ld-special{border:1px solid #16a34a;border-radius:6px;margin:6px 0 2px;padding:6px 10px;font-weight:600}.ld-special.due{border-color:#f59e0b}.ld-special p{margin:4px 0 6px;font-weight:400}.checkin-alert li{margin:6px 0}.tg-closed.tg-offhours{background:var(--free-bg);opacity:1}.tg-hours-line{border-top:2px solid var(--free-border);z-index:3;pointer-events:none;height:0;position:absolute;left:0;right:0}.tg-free,.tg-free.in-lane{background:0 0;border-color:#0000}.free-swatch{background:0 0}.free-swatch.offhours-swatch{background:var(--free-bg)}.hours-note.warn{background:var(--warn-bg);border:1px solid var(--warn-border);border-radius:8px;margin:8px 0;padding:8px 12px}.datepick{flex-direction:column;gap:4px;display:flex;position:relative}.datepick-field{gap:6px;display:flex}.datepick-field input{flex:1;min-width:0}.datepick-field input.invalid{border-color:var(--error)}.datepick-btn{padding:4px 9px;line-height:1}.datepick-hint{color:var(--error);font-size:12px}.datepick-pop{z-index:40;background:var(--card);width:300px;color:var(--fg);border:1px solid var(--line);border-radius:10px;flex-direction:column;gap:8px;padding:12px;display:flex;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 10px 28px #0000004d}.datepick-head{justify-content:space-between;align-items:center;gap:6px;display:flex}.datepick-title{gap:4px;margin:0 auto;display:flex}.datepick-title button{background:0 0;border:none;border-radius:6px;padding:4px 8px;font-size:16px;font-weight:700}.datepick-title button:hover,.datepick-title button.on{background:var(--tag-bg);color:var(--accent)}.datepick-nav{background:0 0;border:none;border-radius:6px;padding:2px 10px;font-size:20px}.datepick-nav:hover{background:var(--muted-bg)}.datepick-grid{gap:4px;display:grid}.datepick-grid.days{grid-template-columns:repeat(7,1fr)}.datepick-grid.months{grid-template-columns:repeat(3,1fr)}.datepick-grid.years{grid-template-columns:repeat(4,1fr)}.datepick-grid button{text-align:center;color:var(--fg);background:0 0;border:1px solid #0000;border-radius:6px;padding:8px 0}.datepick-grid.months button,.datepick-grid.years button{padding:10px 0}.datepick-grid button:hover:not(:disabled){background:var(--muted-bg);border-color:var(--line)}.datepick-grid button.today{border-color:var(--accent)}.datepick-grid button.picked{background:var(--accent);color:#fff;font-weight:700}.datepick-grid button:disabled{opacity:.3;cursor:default}.datepick-dow{text-align:center;color:var(--muted);padding:2px 0;font-size:12px}.form-hint,.form-grid .field-block>span:first-child{color:var(--muted);font-size:13px}.form-grid label>input:not([type=checkbox]):not([type=radio]),.form-grid label>select{box-sizing:border-box;width:100%}.form-grid .instrument-dd{display:block}.form-grid .instrument-dd-item{color:var(--fg);flex-direction:row;align-items:center;gap:8px;font-size:14px}.studio-head{text-align:center;flex-direction:column;align-items:center;gap:1px;display:flex}.studio-head.plain{box-shadow:none;color:inherit;background:0 0;padding:0}.studio-head .studio-name{white-space:nowrap}.studio-head .studio-name.small{opacity:.75;letter-spacing:.02em;font-size:12px;font-weight:700}.studio-head .studio-teachers{flex-wrap:wrap;justify-content:center;gap:0 10px;font-size:20px;font-weight:800;line-height:1.15;display:flex}.studio-head .studio-teachers.several{font-size:16px}.studio-head .studio-teachers>span{white-space:nowrap}.studio-head .studio-teachers>span+span:before{content:"&";opacity:.6;margin-right:8px;font-weight:600}.studio-head .studio-teachers{gap:0 8px}.tg-head .studio-head{box-sizing:border-box;justify-content:center;min-height:50px}.tcol{--tca:var(--tc)}[data-theme=dark] .tcol{--tca:var(--tcd,var(--tc))}.color-pick{display:inline-block;position:relative}.color-pick-btn{text-align:left;align-items:center;gap:8px;width:100%;font-weight:400;display:flex}.color-chip{border-radius:4px;padding:1px 7px;font-size:13px;font-weight:700;display:inline-block}.color-pop{z-index:40;background:var(--card);border:1px solid var(--line);border-radius:10px;flex-direction:column;gap:10px;width:290px;padding:10px;display:flex;position:absolute;top:calc(100% + 4px);left:0;box-shadow:0 10px 28px #0000004d}.color-grid{grid-template-columns:repeat(7,1fr);gap:6px;display:grid}.color-swatch{aspect-ratio:1;border:2px solid #0000;border-radius:6px;width:100%;padding:0}.color-swatch:hover{transform:scale(1.1)}.color-swatch.picked{border-color:var(--fg);box-shadow:0 0 0 2px var(--card) inset}.price-line{margin:6px 0}.price-tag{background:var(--ok-bg);border:1px solid var(--ok-border);color:var(--ok-text);border-radius:999px;margin-left:10px;padding:1px 8px;font-size:13px;font-weight:600}.lb-name{font-size:12px}.lb-name.long,.lb-time{font-size:10.5px}.lb-to{font-size:9px}.lb-inst{font-size:9.5px}.lb-tag{font-size:7.5px}.spot-menu{z-index:60;background:var(--card);border:1px solid var(--line);border-radius:8px;flex-direction:column;min-width:220px;padding:4px;display:flex;position:fixed;box-shadow:0 10px 28px #0000004d}.spot-menu button{text-align:left;background:0 0;border:none;border-radius:6px;padding:8px 10px;font-weight:600}.spot-menu button:hover{background:var(--muted-bg)}.modal.bulk-att{width:min(760px,96vw);max-height:88vh;overflow-y:auto}.bulk-list{flex-direction:column;gap:2px;margin:8px 0;display:flex}.bulk-day{margin:12px 0 4px;font-size:15px}.bulk-row{border-radius:6px;grid-template-columns:80px 1fr 250px;align-items:center;gap:8px;padding:5px 6px;display:grid}.bulk-row:nth-child(2n){background:var(--muted-bg)}.bulk-row.bad{background:var(--warn-bg);outline:1px solid var(--warn-border)}.bulk-time{font-variant-numeric:tabular-nums;color:var(--muted)}.bulk-who .tag{margin-left:6px}.bulk-row select{width:100%}.bulk-problem{color:var(--fg);grid-column:1/-1;font-size:13px}@media (max-width:640px){.bulk-row{grid-template-columns:64px 1fr}.bulk-row select{grid-column:1/-1}}.overdue-card .plain-list{margin:6px 0 10px}.att-icon.att-present,.att-icon.att-missed{border-radius:50%;flex:none;justify-content:center;align-items:center;width:18px;height:18px;font-size:12px;font-weight:900;line-height:1;display:inline-flex;box-shadow:0 0 0 2px #fff,0 1px 3px #00000073;color:#fff!important}.att-icon.att-present{background:#16a34a}.att-icon.att-missed{background:#dc2626}.mini-time .att-icon.att-present,.mini-time .att-icon.att-missed{width:15px;height:15px;font-size:10px}.lane-block{position:relative}.att-icon.att-badge{z-index:2;width:14px;height:14px;font-size:9px;position:absolute;top:2px;right:2px}.lane-block.short .att-icon.att-badge{width:12px;height:12px;font-size:8px;top:1px}.lane-block.freed{opacity:1}.lane-block{justify-content:flex-start!important}.lb-short-time{opacity:.9;font-size:9.5px;font-weight:600}.lane-block.short .lb-name{white-space:nowrap}.lane-block{display:block}.lb-inner{text-align:left;flex-direction:column;align-items:flex-start;padding:2px 3px;display:flex;position:absolute;inset:0;overflow:hidden}.lane-block.short .lb-inner{padding:1px 3px}.lb-inner>*{flex-shrink:0}.lane-block .lb-inner{padding:2px 4px;font-family:Inter,Roboto,system-ui,sans-serif}.lane-block .lb-time,.lane-block .lb-name,.lane-block .lb-inst,.lane-block .lb-teacher{white-space:nowrap;text-overflow:clip;letter-spacing:0;opacity:1;pointer-events:none;max-width:100%;margin:0;font-size:11px;line-height:14px;display:block;overflow:hidden}.lane-block .lb-time,.lane-block .lb-name{font-weight:600}.lane-block .lb-inst,.lane-block .lb-teacher{font-weight:400}.lane-block .lb-name{align-items:center;gap:2px;display:flex}.lesson-icon{flex:none;width:14px;height:14px;display:inline-flex}.lesson-icon svg{display:block}.lesson-icon.li-present,.lesson-icon.li-missed{background:#fff;border-radius:50%}.tag.check-tag{color:#fff;background:#ea580c;font-weight:800}.lb-check{color:#fff;background:#ea580c;border-radius:3px;padding:0 3px;font-size:8px;font-weight:800}.lane-block.check-block{outline-offset:-2px;outline:2px dashed #ea580c}.ld-check{border:2px dashed #ea580c;border-radius:6px;margin:6px 0;padding:6px 10px}.ld-check-buttons{flex-wrap:wrap;gap:6px;margin-top:4px;display:inline-flex}.ld-group{margin:4px 0;font-weight:600}.tag.test-tag{color:#fff;letter-spacing:.04em;background:#7c3aed;font-weight:800}.lb-test{color:#fff;vertical-align:1px;background:#7c3aed;border-radius:3px;margin-left:3px;padding:0 3px;font-size:8px;font-weight:800}.test-check{margin:4px 0 10px}.test-delete{margin:6px 0 10px}.lb-test-line{text-align:center;flex-shrink:0;margin:0 0 1px;line-height:11px;display:block}.lane-block.test-block{outline-offset:-2px;outline:2px dashed #7c3aed}.family-contacts{flex-direction:column;gap:8px;margin:6px 0 10px;display:flex}.family-contacts .contact{border:1px solid var(--line);border-radius:6px;padding:6px 8px}.family-contacts .contact.preferred{border-color:#16a34a}.tag.preferred-tag{color:#fff;background:#16a34a}.contact-actions{flex-wrap:wrap;gap:10px;margin-top:4px;font-size:13px;display:flex}.danger-link{color:#dc2626}.contact-form{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));align-items:end;gap:8px;display:grid}.contact-form label{flex-direction:column;gap:2px;font-size:13px;display:flex}.contact-form label.check{flex-direction:row;align-items:center;gap:6px}.contact-form .row{grid-column:1/-1}.table-scroll{overflow-x:auto}.table.resizable{table-layout:fixed}.table.resizable th{text-overflow:ellipsis;white-space:nowrap;position:relative;overflow:hidden}.table.resizable td{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.table.resizable tr.letter-row td,.table.resizable tr.detail td{white-space:normal}.col-resize{cursor:col-resize;touch-action:none;width:8px;height:100%;position:absolute;top:0;right:0}.col-resize:hover{background:#7f7f7f59}.lb-closed{color:#fff;background:#dc2626;border-radius:3px;padding:0 3px;font-size:8px;font-weight:800}.lane-block.needs-handling{outline-offset:-2px;outline:2px dashed #dc2626}.tag.closed-tag{color:#fff;background:#dc2626}.ld-closed{border:2px solid #dc2626;border-radius:6px;margin:6px 0;padding:8px 10px}.ld-closed p{margin:4px 0 6px}.closed-card{border-color:#dc2626}.details-edit{margin:8px 0 12px}.details-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px;margin-bottom:10px;display:grid}.details-grid .field-block{flex-direction:column;grid-column:auto;gap:4px;display:flex}.details-grid .field-block>span:first-child{color:var(--muted);font-size:13px}.payroll-toolbar{flex-wrap:wrap;align-items:center;gap:8px}.payroll-toolbar h1{margin:0 12px 0 0}.payroll-toolbar button.active{background:var(--inverse-bg);color:var(--inverse-fg)}.payroll-warnings p{margin:4px 0}.payroll-table tr.payroll-total td{border-top:2px solid var(--line);font-weight:700}.billing-stats{margin:12px 0 16px}.billing-table td .muted{display:block}.hovertip{cursor:help;border-bottom:1px dotted;position:relative}.hovertip-box{z-index:30;background:var(--card,#222);min-width:260px;max-width:420px;color:var(--fg,inherit);border:1px solid var(--line);white-space:normal;cursor:default;border-radius:8px;margin-top:6px;padding:8px 10px;font-size:13px;font-weight:400;display:none;position:absolute;top:100%;left:0;box-shadow:0 6px 20px #00000059}.hovertip:hover .hovertip-box,.hovertip:focus .hovertip-box{display:block}.hovertip-line{margin:2px 0;display:block}.ld-invoice{border:1px solid #d97706;border-radius:8px;margin:10px 0;padding:8px 10px;font-size:14px}.ld-invoice.sent{border-color:#2563eb}.ld-invoice.paid{border-color:#16a34a}.ld-invoice button{margin-left:6px}.test-view-select{margin-right:8px;padding:2px 4px;font-size:12px}.test-view-select.only{color:#1c1917;background:#fde68a;font-weight:700}.account-table td:nth-child(n+3),.account-table th:nth-child(n+3){text-align:right;white-space:nowrap}.paid-tag{color:#166534;background:#dcfce7}.overdue-tag{color:#991b1b;background:#fee2e2}.account-detail{padding:6px 4px 10px}.account-detail .row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.account-detail td:last-child{text-align:right;white-space:nowrap}.cards>.card{padding:20px 24px;font-size:16px;line-height:1.55}.cards>.card h2{margin-bottom:14px;font-size:19px}.cards>.card p{margin:8px 0}.family-account .account-table th,.family-account .account-table td{padding:10px;font-size:15.5px}.family-account .account-table td:first-child{white-space:nowrap}.family-account .tag{margin-left:6px;font-size:12.5px}.family-account .hovertip-box{font-size:14px;line-height:1.5}.cards>.card>h2:first-child{background:var(--brand-hi);color:#1c1917;border-radius:10px 10px 0 0;align-items:center;gap:8px;margin:-20px -24px 16px;padding:10px 24px;display:flex}.cards>.card>h2:first-child .link,.cards>.card>h2:first-child button{color:#1c1917}.cards>.card>h2:first-child .tag{color:#1c1917;background:#1c19171f}.student-page .card{border-top:3px solid var(--brand-hi)}.student-page .cards>.card{border-top:1px solid var(--line)}.account-more{margin:10px 0 0;font-weight:600}.full-account{grid-template-columns:1fr;max-width:1000px}.record-payment{border:1px solid var(--brand-hi);border-radius:8px;margin:8px 0 14px;padding:12px 14px}.record-payment .row{flex-wrap:wrap;align-items:center;gap:12px;margin:6px 0;display:flex}.record-payment input[type=number]{width:100px}.credit-bal{color:#16a34a;white-space:nowrap}.tuition-qbo{margin:12px 0 18px}.tuition-qbo .warn{color:#b45309}.tuition-qbo td{vertical-align:top}.billing-table>thead>tr>th{z-index:2;background:var(--brand-hi);color:var(--brand-hi-fg);position:sticky;top:48px}.billing-table>thead>tr>th:first-child{border-top-left-radius:8px}.billing-table>thead>tr>th:last-child{border-top-right-radius:8px}.family-contacts .contact{position:relative}.family-contacts .contact .preferred-tag{position:absolute;top:6px;right:8px}.family-contacts .contact.preferred>div:first-child{padding-right:96px}.billing-stats{flex-wrap:wrap;gap:8px;margin:12px 0 8px;display:flex}.billing-stats .stat{align-items:baseline;gap:8px;padding:6px 12px;display:flex}.billing-stats .stat-value{font-size:17px}.billing-stats .stat-label{font-size:12px}.student-title{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.student-title h1{margin-right:auto}.student-title .test-check{opacity:.8;margin:0;font-size:13px}.student-facts{flex-wrap:wrap;align-items:stretch;gap:10px;margin:6px 0 18px;display:flex}.student-facts .fact{border:1px solid var(--line);background:var(--card);border-radius:8px;flex-direction:column;gap:2px;min-width:110px;padding:8px 14px;display:flex}.student-facts .fact span{text-transform:uppercase;letter-spacing:.04em;opacity:.65;font-size:11px}.student-facts .fact strong{font-size:16px;font-weight:600}.student-facts .fact-edit{align-self:center;margin-left:4px}.lesson-mark-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.lesson .lesson-mark-row select{flex:0 auto;width:auto;max-width:calc(100% - 28px)}.lesson .lesson-mark-row .att-icon{flex:none;margin-left:auto}.lesson .lesson-mark-row select{width:20.2em}.lesson .lesson-mark-row{justify-content:flex-start}.lesson .lesson-mark-row .mark-slot{flex:1;justify-content:center;align-items:center;margin-right:-10px;display:flex}.lesson.compact .lesson-mark-row .mark-slot{margin-right:-8px}.tg-item .lesson .lesson-mark-row .mark-slot{margin-right:-6px}.lesson .lesson-mark-row .mark-slot .att-icon{flex:none;margin:0}.lesson .lesson-mark-row{gap:0}.info-dot{vertical-align:super;opacity:.7;cursor:help;font-size:.6em}.billing-only-check{align-self:center;margin-left:auto}.tuition-qbo h2{font-size:16px}.students-table-wrap{border-radius:8px;max-height:calc(100vh - 150px);overflow:auto}.students-table-wrap thead th{z-index:2;background:var(--brand-hi);color:var(--brand-hi-fg);position:sticky;top:0}.add-student-stack{flex-direction:column;align-items:flex-end;gap:2px;display:flex}.add-student-stack .danger-link{font-size:12px}.students-table-wrap .table.resizable thead th{z-index:2;background:var(--brand-hi);color:var(--brand-hi-fg);position:sticky;top:0}.table.resizable th .col-resize{width:10px;right:-1px}.table.resizable th .col-resize:after{content:"";opacity:.35;background:currentColor;border-radius:1px;width:2px;position:absolute;top:20%;bottom:20%;left:4px}.table.resizable th .col-resize:hover:after,body.col-resizing .col-resize:after{opacity:.9;width:3px}body.col-resizing,body.col-resizing *{-webkit-user-select:none;user-select:none;cursor:col-resize!important}.column-controls{align-items:center;gap:12px;display:inline-flex}.billing-table.resizable td{white-space:normal}.billing-table.resizable tr.detail>td{overflow:visible}.billing-table.resizable{table-layout:fixed}.billing-table.resizable>thead>tr>th{z-index:2;background:var(--brand-hi);color:var(--brand-hi-fg);position:sticky;top:48px}.nowrap{white-space:nowrap}.bulk-day-row{align-items:flex-end;gap:8px;margin:12px 0 4px;display:flex}.bulk-day-row .bulk-day{margin:0}.bulk-day-row .bulk-mark-all{color:#fff;background:#16a34a;border-color:#15803d;width:250px;margin-left:auto;margin-right:6px;font-weight:600}.bulk-day-row .bulk-mark-all:hover:not(:disabled){background:#15803d}.show-more{margin:8px 12px 0 0;font-weight:600}.tag.gap-tag{color:#fff;background:#0ea5e9;margin-left:6px}.adult-check{margin:4px 0 10px}.adult-note{grid-column:1/-1;align-self:center;margin:0}.book-search.trial-start{flex-wrap:wrap;align-items:center;gap:14px}.book-search.trial-start .new-trial-btn{padding:12px 22px;font-size:1.15em;font-weight:700}.book-search.trial-start input{flex:1;min-width:220px}.add-to-family{text-align:center;margin-top:14px}.slot-list .slot,.slot-days .slot{color:#14532d;cursor:pointer;background:#dcfce7;border:2px solid #86efac;padding:6px 12px;font-weight:600}.slot-list .slot .muted,.slot-days .slot .muted{color:#166534}.slot-list .slot:hover,.slot-days .slot:hover{color:#052e16;background:#4ade80;border-color:#16a34a}.slot-list .slot.picked,.slot-days .slot.picked{color:#fff;background:#16a34a;border-color:#14532d;box-shadow:0 0 0 3px #16a34a59}.slot-list .slot.picked .muted,.slot-days .slot.picked .muted{color:#dcfce7}.slot-list .slot.picked:before,.slot-days .slot.picked:before{content:"✓ "}.tag.row-tag{vertical-align:1px;border-radius:999px;margin-left:8px;padding:2px 8px;font-size:12px;font-weight:600}.tag.row-tag.kind-trial{color:#1c1917;background:#f59e0b}.tag.row-tag.kind-makeup,.tag.row-tag.kind-courtesy_makeup{color:#fff;background:#a855f7}.tag.row-tag.special-tag{color:#78350f;background:#fde68a}.topbar nav a,.topbar .who button,.topbar .who select,.topbar a.brand,.schedule-toolbar button,.schedule-toolbar select,.schedule-toolbar a{transition:transform .12s,box-shadow .12s,filter .12s,background-color .12s}.topbar nav a:hover,.topbar a.brand:hover{text-underline-offset:4px;filter:brightness(1.15);text-decoration:underline;transform:translateY(-1px)}.topbar .who button:hover,.topbar .who select:hover,.schedule-toolbar button:hover:not(:disabled),.schedule-toolbar select:hover,.schedule-toolbar a:hover{filter:brightness(1.12);cursor:pointer;transform:translateY(-2px);box-shadow:0 4px 10px #00000059}.topbar .who button:active,.schedule-toolbar button:active:not(:disabled),.schedule-toolbar a:active{box-shadow:none;transform:translateY(0)}.bands-table>thead>tr>th{z-index:2;background:var(--brand-hi);color:var(--brand-hi-fg);position:sticky;top:48px}.teachers-table>thead>tr>th{background:var(--brand-hi);color:var(--brand-hi-fg)}.schedule-toolbar .book-btn{min-height:38px;padding:9px 16px}.schedule-toolbar .sub-btn{border:1px solid #ffffff8c}[data-theme=dark] .schedule-toolbar .sub-btn{border-color:#fff}.table tr.letter-row td{color:#dc2626}[data-theme=dark] .table tr.letter-row td{color:#f87171}.family-account{min-width:0;overflow-x:auto}.family-account .account-table{table-layout:auto}.family-account .account-table th,.family-account .account-table td{padding:8px 6px}.family-account .account-table th{white-space:normal;line-height:1.2}.family-account .account-table td:nth-child(2){white-space:normal;overflow-wrap:anywhere}.family-account .account-table tr.detail td{white-space:normal;text-align:left}.family-account .account-detail p,.family-account .account-detail td:first-child{white-space:normal;overflow-wrap:anywhere}.series-price{margin:2px 0 6px}.series-price-edit{border:1px solid var(--line);border-radius:8px;gap:6px;margin:6px 0 10px;padding:10px 12px;display:grid}.series-price-edit label{display:block}.lesson.filled{border-color:#0000002e!important}.lesson.filled a,.lesson.filled .muted,.lesson.filled .lesson-info,.lesson.filled .inst,.lesson.filled .status-text,.lesson.filled .sub-note{opacity:.95;color:inherit!important}.lesson.filled .lesson-info .small-dot{display:none}.lesson.filled select{color:#1c1917;background:#fff;border-color:#00000040}.lesson.filled.jam{background-image:repeating-linear-gradient(135deg,#0000001f 0 8px,#0000 8px 16px)}.lb-jamcount{white-space:nowrap;font-size:.85em;font-weight:700}.jam-counts{align-items:center;gap:10px;font-weight:700;display:inline-flex}.jam-count{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.lesson .lesson-mark-row .mark-slot .jam-counts .att-icon{margin:0}.lesson .lesson-mark-row .mark-slot:has(.jam-counts){justify-content:flex-end;margin-right:0}.jam-counts{margin-left:auto}.jam-counts .att-icon.att-present,.jam-counts .att-icon.att-missed{box-sizing:border-box;width:18px;min-width:18px;height:18px;font-size:12px}.jam-counts .att-icon.att-missed{font-size:13px}.lb-jamstack{flex-direction:column;gap:2px;margin:2px 0;font-size:11px;font-weight:800;display:flex}.lb-jamstack>span{white-space:nowrap;align-items:center;gap:3px;display:inline-flex}.lane-block.jam .lb-name{white-space:normal;word-break:normal;overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;display:flex}.lane-block.jam .lb-jamstack{order:2;margin-top:3px}.lane-block.jam .lb-name{overflow-wrap:normal;letter-spacing:-.02em;font-size:9.5px}.my-settings .setting-row{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:16px;padding:10px 0;display:flex}.my-settings .setting-row>span:first-child{width:170px;font-weight:600}.my-settings .row{margin-top:14px}.topbar .who .settings-link{color:var(--topbar-link);margin-right:8px}.topbar .who .settings-link.active{color:var(--topbar-fg);text-underline-offset:4px;text-decoration:underline}.topbar .who .settings-link{margin-left:8px}@media (max-height:560px){.topbar,.schedule-toolbar{position:static!important}.tg-sticky{top:0!important}.students-table-wrap{max-height:none;overflow:visible}.billing-table>thead>tr>th,.billing-table.resizable>thead>tr>th,.bands-table>thead>tr>th{top:0}}.tg-mobile-nav{display:none}@media (max-width:700px){.tg-mobile-nav{background:var(--bg);justify-content:center;gap:10px;padding:6px 0 8px;display:flex}.tg-mobile-nav button{min-width:48px;padding:6px 14px;font-weight:600}.schedule-toolbar .has-mobile-nav{display:none}}@media (max-height:560px){.tg-mobile-nav{background:var(--bg);justify-content:center;gap:10px;padding:6px 0 8px;display:flex}.tg-mobile-nav button{min-width:48px;padding:6px 14px;font-weight:600}.schedule-toolbar .has-mobile-nav{display:none}}@media (max-width:700px){.topbar{gap:4px 10px;padding:6px 10px;font-size:14px}.topbar .brand{font-size:15px}.topbar nav{white-space:nowrap;scrollbar-width:none;flex:100%;order:2;gap:12px;display:flex;overflow-x:auto}.topbar nav::-webkit-scrollbar{display:none}.topbar .who{gap:6px;margin-left:auto;font-size:13px}.topbar .who .role{display:none}.topbar .who select{padding:2px 4px;font-size:12px}.topbar .topbar-center{flex:100%;order:3}.topbar .topbar-center h1,.topbar .topbar-center *{margin:0;font-size:16px!important}.schedule-toolbar{gap:6px!important;padding:6px 8px!important}.schedule-toolbar .tb-left,.schedule-toolbar .tb-center,.schedule-toolbar .tb-right{flex-wrap:nowrap;gap:6px}.schedule-toolbar .tb-left{display:flex;overflow-x:auto}.schedule-toolbar .book-btn{white-space:nowrap;min-height:0;padding:6px 10px;font-size:13px}.schedule-toolbar .segmented button{white-space:nowrap;padding:5px 9px;font-size:13px}.schedule-toolbar .tb-right{scrollbar-width:none;display:flex;overflow-x:auto}.schedule-toolbar .tb-right::-webkit-scrollbar{display:none}.schedule-toolbar .tb-right .segmented{flex:none}.schedule-toolbar select{padding:4px 6px;font-size:13px}.schedule-toolbar .free-pick{white-space:nowrap;font-size:12px}.lane-legend{display:none}.tg-mobile-nav{padding:4px 0 6px}.tg-mobile-nav button{padding:4px 12px}.topbar nav{flex-wrap:nowrap!important}.topbar nav a{flex:none}.topbar .who>*{white-space:nowrap}.topbar .who .link{padding:0}.topbar{flex-wrap:wrap;row-gap:4px}.topbar .brand{flex:none;order:0}.topbar .who{flex-wrap:nowrap;flex:auto;order:1;justify-content:flex-end;gap:8px;min-width:0}.topbar .who select{max-width:92px;padding:1px 2px;font-size:11px}.topbar .who .settings-link{margin:0;font-size:12px}.topbar .who .link{font-size:12px}.topbar .theme-toggle{padding:1px 5px;font-size:11px}.topbar nav{flex:100%;order:2;justify-content:space-between;gap:6px;font-size:13px;overflow:visible}.topbar nav a{padding:0}.topbar .topbar-center{display:none}.tg-mobile-nav{justify-content:flex-start;align-items:center;gap:6px}.tg-mobile-title{white-space:nowrap;text-overflow:ellipsis;flex:auto;font-size:14px;font-weight:700;overflow:hidden}.tg-mobile-nav button{min-width:0;padding:3px 9px;font-size:13px}}@media (max-height:560px){.tg-mobile-nav{justify-content:flex-start;align-items:center;gap:6px}.tg-mobile-title{white-space:nowrap;flex:auto;font-size:14px;font-weight:700}}.tg-mobile-title{display:none}@media (max-width:700px),(max-height:560px){.tg-mobile-title{display:inline}}@media (max-width:700px){.topbar .brand{font-size:14px}.topbar .who{gap:6px}.topbar .who select{max-width:72px}.topbar .theme-toggle{padding:1px 4px}}.legacy-toggle{margin:8px 0 12px;display:block}.tag.warn{color:#1c1917;background:#f59e0b;margin-left:6px;font-weight:700}:root{--alpha-h:34px}.alpha-bar{z-index:3;box-sizing:border-box;max-width:none;height:var(--alpha-h);background:var(--card);border-bottom:1px solid var(--line);align-items:stretch;gap:2px;padding:3px 4px;display:flex;position:sticky;top:0;left:0}.alpha-bar button{color:#dc2626;cursor:pointer;background:0 0;border:0;border-radius:4px;flex:1 1 0;min-width:0;padding:0;font-size:14px;font-weight:700}[data-theme=dark] .alpha-bar button{color:#f87171}.alpha-bar button:hover:not(:disabled){background:var(--brand-hi);color:var(--brand-hi-fg)}.alpha-bar button:disabled{color:#7f7f7f59;cursor:default}.students-table-wrap .alpha-bar{top:0}.students-table-wrap thead th,.students-table-wrap .table.resizable thead th{top:var(--alpha-h)}.students-table-wrap tr.letter-row td{scroll-margin-top:calc(var(--alpha-h) + 40px)}.alpha-bar+.billing-table{margin-top:0}.alpha-bar:has(+.billing-table){top:48px}.billing-table>thead>tr>th,.billing-table.resizable>thead>tr>th{top:calc(48px + var(--alpha-h))}.billing-table tr.letter-row td{scroll-margin-top:calc(48px + var(--alpha-h) + 40px)}@media (max-width:700px){.alpha-bar button{font-size:12px}}@media (max-height:560px){.alpha-bar:has(+.billing-table){top:0}.billing-table>thead>tr>th,.billing-table.resizable>thead>tr>th{top:var(--alpha-h)}.billing-table tr.letter-row td{scroll-margin-top:calc(var(--alpha-h) + 40px)}}.autopay-toggle{border:1px solid var(--line);color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border-radius:999px;padding:2px 10px;font-size:12px}.autopay-toggle.on{color:#fff;background:#16a34a;border-color:#16a34a;font-weight:700}.table tr.alt-row>td{background:#f1f0ee}[data-theme=dark] .table tr.alt-row>td{background:#ffffff0e}.table tr.clickable:hover>td{background:var(--warn-bg)}.tg-compact .tg-axis span{letter-spacing:-.2px;padding:0;font-size:8.5px;right:2px}.tg-compact .tg-head .day-head{min-width:0;padding-left:0;padding-right:0;font-size:10px}.tg-compact .tg-head .day-head .dh-date,.tg-compact .tg-head .day-head .count,.tg-compact .tg-head .day-head .today-badge{font-size:9px}.tg-compact .tg-head .day-head .count{display:none}.tg-compact .tg-head,.tg-compact .tg-col{min-width:0;overflow:hidden}.tg-compact .lane-block,.tg-compact .lesson{min-width:0;padding:1px;font-size:7.5px;line-height:1.15;overflow:hidden}.tg-compact .lane-block *,.tg-compact .lesson *{line-height:1.15;font-size:7.5px!important}.tg-compact .lb-jamstack,.tg-compact .lesson-icon,.tg-compact svg{transform-origin:0 0;transform:scale(.8)}.tg-compact .gap-book{display:none}.tg-compact .tg-head .day-head .dh-day{font-size:10px}.tg-compact .tg-free-label small,.tg-compact .gap-unit{display:none}.tg-compact .tg-free-label strong,.tg-compact .gap-num{word-break:break-all;text-align:center;width:1ch;margin:0 auto;font-weight:800;display:block;font-size:9px!important;line-height:.95!important}.tg-compact .tg-free-label,.tg-compact .gap-label{flex-direction:column;align-items:center;min-width:0;padding:0;display:flex}@media (max-width:700px){.home-head{grid-template-columns:auto 1fr auto auto auto 1fr auto;grid-template-areas:"date date date date date date date""time.prev units next.live";align-items:center;gap:8px 3px;display:grid}.home-head .date-pick{text-align:center;grid-area:date;justify-self:stretch;width:auto;min-width:0;max-width:none;margin:0;display:block}.home-head .date-title{white-space:nowrap;text-align:center;width:100%;margin:0 auto;padding-left:0;padding-right:0;font-size:clamp(18px,6vw,30px);display:block}.home-head .home-prev{grid-area:prev;min-width:32px;padding-left:7px;padding-right:7px}.home-head .home-next{grid-area:next;min-width:32px;padding-left:7px;padding-right:7px}.home-head .step-unit{grid-area:units;justify-self:center}.home-head .step-unit button{padding:4px 6px;font-size:13px}.home-head .time-pick{grid-area:time;margin:0}.home-head .time-pick .at-word{display:none}.home-head .time-pick input{width:auto;max-width:84px;padding:3px 2px;font-size:13px}.home-head .live,.home-head .home-now{white-space:nowrap;grid-area:live;justify-self:end;padding:3px 7px;font-size:12px}}.spot-menu .spot-menu-head{color:var(--muted);border-bottom:1px solid var(--line);white-space:nowrap;margin-bottom:2px;padding:6px 10px 4px;font-size:12px;font-weight:700}@media (max-width:700px),(max-height:560px){.spot-menu .spot-attendance{display:none}.spot-menu button{padding:10px 12px;font-size:15px}}.screen-layer.booking-layer{background:#00000073}.booking-pop{-webkit-overflow-scrolling:touch;background:var(--bg);color:var(--fg);border-radius:12px;padding:10px 12px 16px;position:absolute;inset:8px;overflow-y:auto;box-shadow:0 12px 40px #0006}.booking-pop .booking{margin:0}.booking-pop-close{float:right;z-index:2;border:1px solid var(--line);background:var(--card);color:var(--fg);border-radius:999px;margin:0 0 6px 8px;padding:6px 12px;font-weight:700;position:sticky;top:0}.screen-layer.peek-layer{pointer-events:none}.lesson-peek{background:var(--card);color:var(--fg);border:1px solid var(--line);border-radius:10px;flex-direction:column;gap:3px;padding:10px 12px;font-size:14px;line-height:1.3;display:flex;position:absolute;box-shadow:0 10px 30px #00000059}.lesson-peek strong{font-size:15px}.tg-compact .lane-block,.tg-compact .mini{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}.week-touch .tg-compact,.week-touch .tg-compact *{-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.screen-layer.dialog-layer .modal-back{align-items:flex-start;padding:8px;position:absolute;inset:0}.screen-layer.dialog-layer .modal{-webkit-overflow-scrolling:touch;box-sizing:border-box;width:100%;max-height:calc(100% - 16px);overflow-y:auto}.tg-compact .tg-head .day-head{text-align:center;box-sizing:border-box;flex-flow:column;justify-content:center;align-items:center;gap:1px;width:100%;padding:5px 1px}.tg-compact .tg-head .day-head>*{text-align:center;align-self:center;margin:0!important}.tg-compact .tg-head .day-head .dh-date{white-space:normal;width:min-content;line-height:1.1}.tg-compact .tg-head .day-head .today-badge{display:none}.tg-compact .tg-head.today .day-head{background:var(--brand-hi);color:var(--brand-hi-fg);border-color:var(--brand-hi)}.tg-compact .tg-head.today .day-head *{color:#1c1917}.ld-time{margin:0 0 2px;font-size:16px;font-weight:700}.ld-att-head{align-items:center;gap:10px;margin-top:12px;display:flex}.ld-att-head h4{margin:0}.ld-att-select{flex:auto;width:auto;min-width:0;max-width:240px;padding:4px 6px;font-size:14px}.ld-tools{flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;display:flex}.ld-sub-select{flex:0 auto;width:auto;max-width:180px;padding:5px 6px;font-size:14px}.ld-move-btn{padding:5px 10px;font-size:14px}.ld-move-btn.active{background:var(--accent);color:#fff;border-color:var(--accent)}.ld-move{border:1px solid var(--line);border-radius:8px;flex-direction:column;gap:8px;margin-top:10px;padding:10px;display:flex}.ld-move-row{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px;display:flex}.ld-move-row input[type=date],.ld-move-row input[type=time],.ld-move-row .tpk{flex:none;width:auto;min-width:0}.ld-move-row input[type=date]{width:9.5em}.ld-move-row .tpk-box{width:7.5em}.ld-move-row select,.ld-move-row button{flex:none}.ld-move-new{color:var(--accent);margin:0;font-weight:700}.ld-more summary{cursor:pointer;color:var(--muted);font-size:14px}.ld-more .ld-move-row{margin-top:8px}.tg-compact .tg-head .day-head{background:var(--card);border:1px solid var(--line);justify-content:flex-start;min-height:64px}[data-theme=dark] .tg-compact .tg-head .day-head{border-color:#ffffff38}.tg-compact .tg-head.today .day-head{background:var(--brand-hi);border-color:var(--brand-hi)}.lesson-dialog .ld-close,.modal .ld-close{border:2px solid;border-radius:50%;flex:0 0 44px;justify-content:center;align-items:center;width:44px;height:44px;margin:-6px -6px 0 4px;padding:0;font-size:30px;font-weight:700;line-height:1;text-decoration:none;display:inline-flex}.booking-pop-close{padding:8px 14px;font-size:17px}.schedule-toolbar a.book-btn{box-sizing:border-box;justify-content:center;align-items:center;text-decoration:none;display:inline-flex}.studio-shown .studio-shown-value{min-height:22px;padding:7px 2px}.ld-move-studio{margin:0;font-size:14px}.add-no-trial{margin-top:4px;display:inline-block}@media (max-width:700px),(max-height:560px){.schedule-toolbar{flex-direction:column;align-items:stretch}.schedule-toolbar .tb-center{order:1;justify-content:center}.schedule-toolbar .tb-right{order:2;justify-content:center}.schedule-toolbar .tb-right:empty{display:none}.schedule-toolbar .tb-left{flex-wrap:nowrap;order:3;justify-content:center}}.students-table-wrap .table td:first-child,.students-table-wrap .table th:first-child{z-index:1;position:sticky;left:0}.students-table-wrap .table tbody tr:not(.letter-row)>td:first-child{background-color:var(--card);box-shadow:1px 0 0 var(--line)}.students-table-wrap .table tbody tr.alt-row>td:first-child{background-color:#f1f0ee}[data-theme=dark] .students-table-wrap .table tbody tr.alt-row>td:first-child{background-color:var(--card);background-image:linear-gradient(#ffffff0e,#ffffff0e)}.students-table-wrap .table tbody tr.clickable:hover>td:first-child{background-color:var(--warn-bg);background-image:none}.students-table-wrap .table thead th:first-child{z-index:3}.teacher-pick{display:inline-block;position:relative}.teacher-pick-btn{white-space:nowrap}.teacher-pick-btn.active{background:var(--brand-hi);color:var(--brand-hi-fg);border-color:var(--brand-hi);font-weight:700}.teacher-pick-menu{z-index:70;background:var(--card);min-width:220px;max-height:60vh;color:var(--fg);border:1px solid var(--line);text-align:left;border-radius:8px;flex-direction:column;gap:6px;padding:10px 12px;display:flex;position:absolute;top:calc(100% + 4px);right:0;overflow-y:auto;box-shadow:0 10px 28px #0000004d}.teacher-pick-menu .dot{vertical-align:middle;border-radius:50%;width:10px;height:10px;display:inline-block}@media (max-width:700px){.teacher-pick-menu{left:50%;right:auto;transform:translate(-50%)}}.students-table-wrap .alpha-bar{max-width:100%}.letter-sticky{position:sticky;left:10px}.autofill{display:block;position:relative}.autofill input{box-sizing:border-box;width:100%}.autofill-suggest{flex-wrap:wrap;gap:6px;margin-top:6px;display:flex}.autofill-suggest button{border-radius:999px;padding:5px 10px;font-size:14px}.instrument-other{align-items:center;gap:8px;display:flex}.students-toolbar{align-items:flex-start;gap:12px;display:flex}.students-toolbar .st-left{flex-wrap:wrap;flex:auto;align-items:center;gap:8px 14px;min-width:0;display:flex}.students-toolbar .st-right{flex-direction:column;flex:none;align-items:flex-end;gap:6px;display:flex}.students-toolbar .add-no-trial{margin:0;padding:4px 10px;font-size:12px}.st-colctl{justify-content:flex-end;margin:4px 0 6px;font-size:13px;display:flex}@media (max-width:700px){.students-toolbar .st-search{width:100%}.toolbar.students-toolbar{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"search book""count add""f1 f1""f2 del";align-items:center;gap:8px 10px;display:grid}.students-toolbar .st-left,.students-toolbar .st-right{display:contents}.students-toolbar .st-search{box-sizing:border-box;grid-area:search;width:100%;min-width:0}.students-toolbar .st-book{grid-area:book}.students-toolbar .st-count{grid-area:count}.students-toolbar .st-add{grid-area:add;justify-self:end}.students-toolbar .st-f1{grid-area:f1}.students-toolbar .st-f2{grid-area:f2}.students-toolbar .st-del{grid-area:del;justify-self:end}.students-toolbar .check{white-space:normal;justify-self:start;align-items:center;gap:6px;display:inline-flex}.students-toolbar .check input[type=checkbox]{flex:none;width:auto;margin:0}.students-toolbar .st-book{justify-self:end}}.tabbar,.tabbar-sheet-back{display:none}@media (max-width:700px){.tabbar{z-index:900;background:var(--topbar-bg);padding:4px 4px calc(4px + env(safe-area-inset-bottom));border-top:1px solid #ffffff26;display:flex;position:fixed;bottom:0;left:0;right:0}.tabbar>a,.tabbar>button{color:#ffffffb8;background:0 0;border:0;border-radius:8px;flex-direction:column;flex:1 1 0;justify-content:center;align-items:center;gap:2px;min-height:48px;padding:4px 0;font-size:11px;font-weight:600;text-decoration:none;display:flex}.tabbar>a.active,.tabbar>button.active{color:var(--brand-hi)}body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}.tabbar-sheet-back{z-index:899;background:#00000073;display:block;position:fixed;inset:0}.tabbar-sheet{left:8px;right:8px;bottom:calc(68px + env(safe-area-inset-bottom));background:var(--card);color:var(--fg);border-radius:14px;flex-direction:column;gap:2px;padding:8px;display:flex;position:fixed;box-shadow:0 12px 40px #00000073}.tabbar-sheet a,.tabbar-sheet button{text-align:left;color:var(--fg);background:0 0;border:0;border-radius:8px;padding:12px 14px;font-size:16px;font-weight:600;text-decoration:none;display:block}.tabbar-sheet a.active{color:var(--brand-hi)}.tabbar-sheet .danger-link{color:#ef4444}.tabbar-sheet p{margin:4px 14px 2px}.topbar nav,.topbar .settings-link,.topbar .who>button.link,.topbar .theme-toggle,.topbar .role,.topbar .email{display:none!important}}:is(body:has(.modal-back) .tabbar,body:has(.modal-back) .tabbar-sheet-back,body:has(.screen-layer) .tabbar){display:none}.login-code{flex-direction:column;gap:8px;margin-top:18px;display:flex}.login-code input{letter-spacing:6px;text-align:center;font-size:22px}.pw-form{flex-direction:column;gap:8px;max-width:360px;display:flex}@media (max-width:700px),(max-height:560px){.topbar{z-index:30;position:sticky;top:0;padding-top:calc(8px + env(safe-area-inset-top,0px))!important}.tg-sticky{top:var(--topbar-h,0px)!important}body:has(.billing-body){overflow:hidden}.billing-head{top:var(--topbar-h,0px);z-index:20;background:var(--bg);margin:0 0 4px;padding-bottom:6px;position:sticky}.billing-body{-webkit-overflow-scrolling:touch;overscroll-behavior:contain;height:calc(100dvh - var(--topbar-h,48px) - var(--billhead-h,60px) - 12px - 64px - env(safe-area-inset-bottom,0px));margin:0 -10px;padding:0 0 12px;overflow:auto}.billing-body>:not(.billing-scroll){box-sizing:border-box;max-width:calc(100vw - 20px);position:sticky;left:10px}.billing-body .alpha-bar{max-width:100vw}.billing-head{flex-wrap:nowrap;gap:6px}.billing-head h1{margin-right:4px;font-size:22px}.billing-head strong{white-space:nowrap;font-size:15px}.billing-head .bh-extra{display:none}.billing-body .billing-table>thead>tr>th:first-child{z-index:3;left:0}.billing-body .billing-table>tbody>tr:not(.detail):not(.letter-row)>td:first-child,.billing-body .billing-table>tfoot>tr>td:first-child{z-index:1;background-color:var(--card);box-shadow:1px 0 0 var(--line);position:sticky;left:0}.billing-body .billing-table>tbody>tr.alt-row>td:first-child{background-color:#f1f0ee}[data-theme=dark] .billing-body .billing-table>tbody>tr.alt-row>td:first-child{background-color:var(--card);background-image:linear-gradient(#ffffff0e,#ffffff0e)}.billing-body .alpha-bar:has(+.billing-table){top:0}.billing-body .billing-table>thead>tr>th,.billing-body .billing-table.resizable>thead>tr>th{top:var(--alpha-h)!important}.billing-body .billing-table tr.letter-row td{scroll-margin-top:calc(var(--alpha-h) + 40px)}.billing-body .billing-scroll{width:max-content;min-width:100%}html,body{overflow-x:clip}}body:before{content:"";height:env(safe-area-inset-top,0px);background:var(--topbar-bg);z-index:25;pointer-events:none;position:fixed;top:0;left:0;right:0}.home-head{top:var(--topbar-h,0px);z-index:20;background:var(--bg);margin-left:-24px;margin-right:-24px;padding:8px 24px;position:sticky}@media (max-width:700px){.home-head{box-shadow:0 1px 0 var(--line);margin-left:-10px;margin-right:-10px;padding:6px 10px}}.refresh-btn,.tg-mobile-views{display:none}@media (max-width:700px),(max-height:560px){.topbar .refresh-btn{border:1px solid var(--topbar-border,#ffffff4d);width:34px;height:30px;color:var(--topbar-fg,#fff);background:0 0;border-radius:8px;justify-content:center;align-items:center;padding:0;font-size:20px;line-height:1;display:inline-flex}.tg-mobile-views{background:var(--bg);justify-content:center;width:max-content;margin:0 auto;padding-top:4px;display:flex}.tg-mobile-views button{padding:4px 12px;font-size:13px}.schedule-toolbar .segmented.has-mobile-nav{display:none}}@media (min-width:701px) and (min-height:561px){.month-sticky{display:none}}@media (max-width:700px),(max-height:560px){.schedule-toolbar .has-mobile-nav{display:none!important}}@media (max-width:700px){.month-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.month-head{text-align:center;letter-spacing:0;padding:0;font-size:10px}.month-cell{text-align:center;align-items:center;gap:2px;min-width:0;min-height:58px;padding:4px 2px;overflow:hidden}.month-date{white-space:nowrap;font-size:13px}.month-count{font-size:11px}.month-count .mc-word,.month-cell .pill,.month-cell.today .month-date:after{display:none}.month-cell .muted{font-size:10px}}@media (max-height:560px){.tg-sticky,.home-head,.billing-head{top:0!important}body:has(.billing-body){overflow:visible}.billing-body{height:calc(100dvh - var(--billhead-h,50px) - 32px)}}.ld-details{border:1px solid var(--line);border-radius:10px;gap:8px;margin:8px 0 4px;padding:10px;display:grid}.ld-details label{gap:4px;font-weight:600;display:grid}.ld-details select{font-weight:400}.ld-details-scope{flex-wrap:wrap;gap:6px 16px;display:flex}.ld-details-scope label{font-weight:400;display:flex}.ld-tools{flex-wrap:wrap}.lesson-instrument{gap:4px;max-width:320px;margin-bottom:10px;font-weight:600;display:grid}.lesson-instrument select{font-weight:400}.lesson-instrument.needs select{border-color:#dc2626}.ld-bottom{border-top:1px solid var(--line,#7f7f7f40);flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;padding-top:10px;display:flex}.ld-bottom .ld-delete-btn{color:#dc2626;background:0 0;border:0;align-items:center;gap:8px;margin-left:auto;padding:6px 4px;font-weight:600;display:inline-flex}.ld-bottom .ld-delete-btn:disabled{opacity:.45}.ld-x{color:#fff;background:#dc2626;border-radius:50%;justify-content:center;align-items:center;width:26px;height:26px;font-size:14px;font-weight:800;line-height:1;display:inline-flex}.ld-delete-ask{margin-top:12px}.ld-bottom{flex-wrap:nowrap;gap:6px}.ld-bottom>button{white-space:nowrap}@media (max-width:700px){.ld-bottom>button{padding:6px 9px;font-size:14px}.ld-bottom .ld-delete-btn{gap:6px;padding:6px 0}.ld-bottom .ld-x{width:22px;height:22px;font-size:12px}}.screen-layer{--pop-top:calc(env(safe-area-inset-top,0px) + 12px)}.screen-layer.dialog-layer .modal-back{padding-top:var(--pop-top)}.screen-layer.dialog-layer .modal{max-height:calc(100% - var(--pop-top) - 8px)}.booking-pop{top:var(--pop-top)}.tg-gap.beside .gap-unit-open{display:none}.students-table-wrap .table.resizable{table-layout:fixed}.students-table-wrap .table.resizable td{white-space:normal;text-overflow:clip;overflow-wrap:anywhere}.students-table-wrap .table.resizable tr.letter-row td{white-space:nowrap;overflow:visible}.lane-block.cancelled{opacity:1;position:relative}.lane-block .lb-x{color:#fff;text-align:center;pointer-events:none;z-index:1;background:#dc2626;border-radius:50%;width:14px;height:14px;font-size:10px;font-weight:900;line-height:14px;position:absolute;top:2px;left:50%;transform:translate(-50%);box-shadow:0 0 0 1.5px #fff}.peek-cancelled{color:#fff;background:#dc2626;border-radius:4px;padding:2px 6px;font-weight:800}.hc-row.hc-cancelled{color:#dc2626}@media (min-width:761px){.lane-block .lb-x{left:auto;right:1px;transform:none}}.tg-free.beside .tg-free-label{flex-direction:column;align-items:center;min-width:0;padding:0;display:flex}.tg-free.beside .tg-free-label strong{word-break:break-all;text-align:center;width:1ch;line-height:1}.tg-free.beside .tg-free-label small{display:none}.role-picks{flex-wrap:wrap;gap:4px 12px;display:flex}.role-picks .check{white-space:nowrap;align-items:center;gap:4px;font-weight:500;display:inline-flex}.staff-table td{vertical-align:top}.desk-line{opacity:.85;white-space:nowrap;text-overflow:ellipsis;font-size:10px;font-weight:600;display:block;overflow:hidden}.week-nav,.ts-controls,.ts-actions{flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0}.shift-grid th,.shift-grid td{vertical-align:top;min-width:96px}.shift-cell.clickable{cursor:pointer}.shift-cell.clickable:hover,.shift-cell.picked{background:var(--warn-bg)}.shift-chip{color:#fff;background:#2563eb;border-radius:6px;margin:2px 0;padding:2px 6px;font-size:12px;font-weight:600;display:inline-block}.shift-chip small{opacity:.9;font-weight:500}.shift-chip.src-extra,.shift-chip.src-swap{background:#16a34a}.shift-chip.src-change{background:#d97706}.shift-chip.off{color:inherit;opacity:.7;background:0 0;border:1px dashed}.pattern-person{margin:8px 0}.pattern-person ul{margin:4px 0 0 18px}.pattern-person .link{margin-left:8px}.time-clock .clock-card{flex-direction:column;gap:10px;max-width:460px;display:flex}.clock-status{margin:0;font-size:18px}.clock-status.in{color:#16a34a}.clock-btn{padding:14px 18px;font-size:22px}.clock-btn.out{background:#dc2626;border-color:#dc2626}.small{font-size:12px}.ts-status{background:var(--warn-bg);border-radius:6px;margin:6px 0;padding:6px 10px}.ts-status.approved{background:#16a34a26}.ts-table td{vertical-align:top}.ts-flags .tag{margin:1px 4px 1px 0;display:inline-block}.tag.warn{color:#1c1917;background:#f59e0b}.tag.bad{color:#fff;background:#dc2626}tr.ts-missed td{background:#dc262614}.ts-fix-form{flex-wrap:wrap;align-items:center;gap:8px;padding:6px 0}.ts-fix-form input:not([type]){min-width:240px}.mark-closed{color:#dc2626;white-space:nowrap;font-weight:700}.quick-clock{border:2px solid #2563eb;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.quick-clock.is-in{border-color:#16a34a}.quick-clock .qc-text{flex-direction:column;gap:2px;display:flex}.quick-clock .qc-text strong{font-size:17px}.quick-clock .qc-actions{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.quick-clock .qc-btn{padding:10px 22px;font-size:18px}.quick-clock .qc-btn.out{background:#dc2626;border-color:#dc2626}.teacher-logins{margin-top:14px}.teacher-logins>summary{cursor:pointer;padding:6px 0;font-weight:700}.payroll-grand{margin:12px 0}.tpk{display:inline-block;position:relative}.tpk-box{font-variant-numeric:tabular-nums;width:7.5em}.tpk-pop{z-index:1000;background:var(--card);max-height:412px;color:var(--fg);border:1px solid var(--line);border-radius:12px;gap:4px;padding:6px;display:flex;position:fixed;box-shadow:0 8px 24px #0000001f}.tpk-col{scrollbar-width:thin;flex-direction:column;gap:2px;padding-right:2px;display:flex;overflow-y:auto}.tpk-col button{min-width:52px;color:inherit;font:inherit;font-variant-numeric:tabular-nums;cursor:pointer;background:0 0;border:0;border-radius:8px;padding:6px 10px;font-size:15px}.tpk-col button:hover{background:var(--muted-bg)}.tpk-col button.tpk-on{color:#1e40af;background:#dbeafe;font-weight:600}.tpk-col button:focus-visible{outline-offset:-2px;outline:2px solid #93c5fd}[data-theme=dark] .tpk-col button.tpk-on{color:#bfdbfe;background:#60a5fa38}[data-theme=dark] .tpk-pop{box-shadow:0 8px 24px #00000080}.makeup-search{width:100%;max-width:360px;margin:4px 0 8px}.makeup-list{max-height:360px;overflow-y:auto}.makeup-row{text-align:left;border:0;border-bottom:1px solid var(--line);width:100%;color:inherit;font:inherit;cursor:pointer;background:0 0;border-radius:6px;grid-template-columns:minmax(0,1fr) 110px 90px 90px;align-items:baseline;gap:12px;padding:8px 10px;display:grid}button.makeup-row:hover{background:var(--muted-bg)}.makeup-head{cursor:default;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);background:var(--warn-bg);z-index:1;font-size:12px;font-weight:700;position:sticky;top:0}.makeup-num,.makeup-head span:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}@media (max-width:700px){.makeup-row{grid-template-columns:minmax(0,1fr) 64px 64px 56px;gap:6px;font-size:14px}}.slot-days .slot:not(.picked){background:#bbf7d0;border-color:#22c55e;box-shadow:0 0 0 1px #22c55e}.slot-legend{margin:0 0 6px}.slot-days .slot-mark{white-space:nowrap;border-radius:6px;align-items:center;padding:6px 10px;font-size:13px;font-weight:600;display:inline-flex}.slot-days .slot-run{color:#a1a1aa;background:#111113;border:1px solid #111113}[data-theme=dark] .slot-days .slot-run{color:#8b8b92;background:#000;border-color:#000}.slot-days .slot-more{color:var(--muted);border:1px dashed var(--line);cursor:pointer;background:0 0;border-radius:6px;padding:6px 10px;font-size:12px}.slot-days .slot-more:hover{color:var(--fg);border-color:var(--muted)}.slot-days .slot-own-lesson{color:#4c1d95;background:#ede9fe;border:2px solid #a78bfa}[data-theme=dark] .slot-days .slot-own-lesson{color:#ddd6fe;background:#a78bfa33}.slot-days .slot.slot-by-own{border-color:#a78bfa}.slot-dayend{align-self:center;margin-left:4px}.mic-wrap{flex-wrap:wrap;align-items:center;gap:8px;display:inline-flex}.mic-btn{border:1px solid var(--line);background:var(--card);color:var(--fg);cursor:pointer;border-radius:999px;padding:4px 10px;font-size:15px;line-height:1.4}.mic-btn:hover{border-color:var(--muted)}.mic-btn.on{color:#fff;background:#dc2626;border-color:#dc2626;font-size:13px;font-weight:700;animation:1.2s ease-in-out infinite mic-pulse}@keyframes mic-pulse{0%,to{box-shadow:0 0 #dc262680}50%{box-shadow:0 0 0 6px #dc262600}}.mic-live{font-style:italic}.slot-days .slot-own-lesson.off{opacity:.75;border-style:dashed}.slot-days .slot-week{flex-direction:column;gap:6px;display:flex}.slot-days .slot-week+.slot-week{margin-top:6px}.slot-week-label{white-space:nowrap;box-sizing:border-box;text-transform:uppercase;letter-spacing:.05em;border-radius:6px;align-self:flex-start;padding:3px 8px;font-size:11px;font-weight:800}.slot-days .slot-week .slot-day-name{box-sizing:border-box;border-radius:6px;padding:5px 8px}.slot-week.wk-blue .slot-week-label,.slot-week.wk-blue .slot-day-name{color:#fff;background:#2563eb}.slot-week.wk-yellow .slot-week-label,.slot-week.wk-yellow .slot-day-name{background:var(--brand-hi);color:var(--brand-hi-fg)}.booking .slot-days{max-height:560px}.give-courtesy{margin:4px 0 12px}.courtesy-give label input[type=date]{margin-left:6px}.courtesy-lesson{margin-top:10px}.courtesy-days .slot-day{align-items:flex-start}.courtesy-day-teachers{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.courtesy-days .courtesy-row{align-items:baseline;gap:10px;display:flex}.courtesy-days .courtesy-who{white-space:nowrap;flex-shrink:0;width:185px;font-weight:600}.courtesy-days .slot-week+.slot-week{margin-top:2px}.courtesy-days .courtesy-row{flex-direction:row}.courtesy-days .courtesy-row .slot-list{flex:1;min-width:0}.tg-compact .tg-item:has(.lb-phone-mark){z-index:4;overflow:visible}.tg-compact .lane-block:has(.lb-phone-mark){overflow:visible}.tg-compact .lane-block .lb-inner{max-width:100%;overflow:hidden}.lb-phone-mark{z-index:3;color:#fff;border-radius:50%;justify-content:center;align-items:center;width:11px;height:11px;font-weight:900;display:flex;position:absolute;top:1px;left:50%;transform:translate(-50%);box-shadow:0 0 0 1px #fff;font-size:7.5px!important;line-height:1!important}.lb-phone-mark.present{background:#16a34a}.lb-phone-mark.missed{background:#dc2626}.lesson-link{color:inherit;border-bottom:1px dotted var(--muted);text-decoration:none}.lesson-link:hover{color:var(--accent,#60a5fa);border-bottom-color:currentColor}.edited-tag{cursor:help}.role-picks.shift-days{flex-wrap:nowrap;gap:6px;display:flex}.role-picks.shift-days .check{white-space:nowrap}.edited-tag{position:relative}.edited-tag:hover:after{content:attr(data-tip);z-index:50;white-space:pre-line;text-transform:none;letter-spacing:normal;background:var(--card);width:max-content;max-width:420px;color:var(--fg);border:1px solid var(--line);border-radius:8px;padding:8px 10px;font-size:13px;font-weight:500;line-height:1.4;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 6px 20px #00000059}.ld-note{background:var(--muted-bg);border-radius:8px;margin:6px 0;padding:6px 10px}.ld-note-edit{flex-direction:column;gap:8px;margin:8px 0;display:flex}.ld-note-edit input{width:100%}.ld-note-picks{flex-wrap:wrap;gap:6px;display:flex}.ld-note-picks .chip{border:1px solid var(--line);color:inherit;cursor:pointer;background:0 0;border-radius:999px;padding:3px 10px;font-size:13px}.ld-note-picks .chip:hover{border-color:var(--muted)}.hover-card .hc-note{font-style:italic}.ld-note p{white-space:pre-wrap;margin:0}.ld-note-clamp{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.ld-note-edit textarea{box-sizing:border-box;resize:vertical;width:100%;font:inherit;line-height:1.4}.family-contacts .contact .contact-actions{justify-content:flex-end;align-items:center;margin-top:6px;font-size:14px}.family-contacts .contact .contact-actions .contact-edit{color:var(--accent,#f59e0b);cursor:pointer;background:0 0;border:1px solid;border-radius:8px;order:9;padding:5px 14px;font-size:15px;font-weight:600}.family-contacts .contact .contact-actions .contact-edit:hover{background:#f59e0b1f}.family-contacts .contact a{text-decoration:none}.family-contacts .contact a:hover{text-underline-offset:3px;text-decoration:underline}.reminders-line .inline-check{cursor:pointer;align-items:center;gap:4px;margin-right:12px;display:inline-flex}.reminder-settings .row.wrap{flex-wrap:wrap;align-items:center;gap:10px 18px;margin:8px 0}.reminder-settings label{align-items:center;gap:6px;display:inline-flex}.reminder-preview ul{max-height:360px;margin:6px 0;padding:0;list-style:none;overflow:auto}.reminder-preview li{border-bottom:1px solid var(--border,#e5e7eb);padding:4px 0}.reminder-email{color:#1f2937;background:#fff;border:1px solid #d1d5db;border-left:4px solid #2563eb;border-radius:8px;margin:8px 0 6px;padding:12px 14px}.reminder-email b{color:#111827}.reminder-email pre{white-space:pre-wrap;color:#1f2937;margin:8px 0 0;font-family:inherit;font-size:14px;line-height:1.45}.cl-page{color:#1f2937;background:#f3f4f6;justify-content:center;min-height:100vh;padding:32px 16px;font-family:Inter,Arial,sans-serif;display:flex}.cl-card{color:#1f2937;background:#fff;border-radius:12px;align-self:flex-start;width:100%;max-width:440px;padding:24px;box-shadow:0 2px 12px #00000014}.cl-brand{color:#2563eb;margin-bottom:12px;font-weight:600}.cl-card h1{color:#111827;margin:0 0 14px;font-size:22px}.cl-lesson{background:#f3f6fb;border-left:4px solid #2563eb;border-radius:4px;margin:0 0 14px;padding:10px 14px}.cl-muted{color:#6b7280;font-size:14px}.cl-note{background:#ecfdf5;border-radius:6px;padding:10px 12px}.cl-warn{color:#92400e;background:#fef3c7;border-radius:6px;padding:10px 12px}.cl-cancel{color:#fff;cursor:pointer;background:#b91c1c;border:none;border-radius:8px;width:100%;margin:6px 0 4px;padding:12px;font-size:16px}.cl-cancel:disabled{opacity:.6}.cl-help{border-top:1px solid #e5e7eb;margin-top:18px;padding-top:14px}.cl-call{text-align:center;background:#2563eb;border-radius:8px;padding:12px;font-size:16px;text-decoration:none;display:block;color:#fff!important}:root{--brand-red:#ce1c1c;--brand-red-bright:#e31b27;--brand-black:#0b0b0b;--brand-hi:#ce1c1c;--brand-hi-fg:#fff;--accent:#b91c1c;--today-bg:#ce1c1c14;--today-line:#ce1c1c;--tag-bg:#fde8e8}[data-theme=dark]{--brand-red:#e31b27;--brand-red-bright:#ef4444;--brand-hi:#ce1c1c;--brand-hi-fg:#fff;--accent:#f05252;--today-bg:#e31b271f;--today-line:#ef4444;--tag-bg:#3f1416}:root,[data-theme=dark]{--topbar-bg:var(--brand-black);--topbar-fg:#fff;--topbar-link:#ffffffd9;--topbar-line:var(--brand-red-bright);--topbar-signout:#fff;--topbar-border:#ffffff59;--now-line:var(--brand-red-bright)}.topbar{border-bottom:3px solid var(--brand-red)}.topbar .brand{letter-spacing:.02em;text-transform:uppercase;color:#fff;align-items:center;gap:8px;font-family:Oswald,Arial Narrow,system-ui,sans-serif;font-weight:700;display:inline-flex}.brand-badge{background:var(--brand-red);color:#fff;letter-spacing:0;width:30px;height:30px;box-shadow:0 0 0 1.5px var(--brand-red);border:2px solid #fff;border-radius:50%;place-items:center;font-size:13px;font-weight:700;display:inline-grid}.brand-word b{color:var(--brand-red-bright);font-weight:700}h1,h2,.topbar-center h1{letter-spacing:.01em;font-family:Oswald,Arial Narrow,system-ui,sans-serif;font-weight:600}button.primary,.button.primary{background:var(--brand-red);border-color:var(--brand-red);color:#fff}button.primary:hover:not(:disabled){background:var(--brand-red-bright);border-color:var(--brand-red-bright)}.schedule-toolbar{background:#4393d0!important}.checkin-buttons button.checkin-yes{color:#fff;background:#16a34a;border-color:#16a34a}.checkin-buttons button.checkin-yes:hover:not(:disabled){background:#15803d;border-color:#15803d}.checkin-buttons button.checkin-no{color:#fff;background:#dc2626;border-color:#dc2626}.checkin-buttons button.checkin-no:hover:not(:disabled){background:#b91c1c;border-color:#b91c1c}.tg-ghost{color:#16a34a!important;background:#16a34a24!important;border-color:#16a34a!important}[data-theme=dark] .tg-ghost{color:#4ade80!important;background:#22c55e29!important;border-color:#22c55e!important}:root,[data-theme=dark]{--band-blue:#4393d0}main.page>:first-child:not(.schedule-toolbar):not(.card):not(p){background:var(--band-blue);color:#fff;margin:-20px -24px 16px;padding:12px 24px}main.page>:first-child:not(.schedule-toolbar):not(.card):not(p) :is(h1,h2,label,.muted,.count),main.page>:first-child:not(.schedule-toolbar):not(.card):not(p) :is(a:not(.button),button.link){color:#fff}@media (max-width:700px){main.page>:first-child:not(.schedule-toolbar):not(.card):not(p){margin:-12px -10px 12px;padding:10px}}main.page>:first-child:not(.schedule-toolbar):not(.card):not(p) a.button:not(.primary):not(.active){color:#1c1917;background:#fff}main.page>:first-child:not(.schedule-toolbar):not(.card):not(p) a.button.active{color:#fff;background:#1c1917;border-color:#1c1917}main.page>.segmented:first-child{flex-wrap:wrap;display:flex}.stat-click{cursor:pointer}.stat-click:hover{filter:brightness(1.15)}.stat-click.stat-on{outline-offset:1px;outline:2px solid #f59e0b}.lesson.rental,.lane-block.rental{border:2px dashed #ffffff8c;color:#fff!important;background-color:#44403c!important;background-image:repeating-linear-gradient(45deg,#ffffff12 0 6px,#0000 6px 12px)!important}.lane-block.rental .lb-name,.lane-block.rental .lb-time{white-space:normal;line-height:1.05;color:#fff!important}.rental-pay{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.rental-pay input{width:9em}.rental-dialog .rental-pay{margin:6px 0 10px}.paid-text{color:#16a34a;font-weight:600}.rental-skipped td{opacity:.75}.rental-form .form-grid{margin-bottom:8px}.student-pair{grid-template-columns:1fr 1fr;align-items:stretch;gap:16px;margin-bottom:16px;display:grid}.student-pair>.card{min-width:0;margin:0}@media (max-width:900px){.student-pair{grid-template-columns:1fr}}.students-toolbar{align-items:center}.students-toolbar .st-title{margin:0 6px 0 0}.students-toolbar .st-search{width:260px}.students-toolbar .st-right{flex-direction:row;align-items:center;gap:10px}.students-toolbar .add-no-trial{padding:6px 12px;font-size:14px}.st-colctl{align-items:center;gap:12px}.st-testctl{justify-content:flex-end;align-items:center;gap:14px;max-width:100%;display:flex}.st-colctl>:last-child{margin-left:auto}@media (max-width:700px){.toolbar.students-toolbar{grid-template-areas:"title title""search book""count add""f1 f1""f2 f2"}.students-toolbar .st-title{grid-area:title}.students-toolbar .st-search{width:100%}.st-testctl{flex-wrap:wrap;justify-content:flex-start;width:auto!important}}.students-toolbar .st-right .st-book,.students-toolbar .st-right .st-add{box-sizing:border-box;align-items:center;height:40px;margin:0;padding:0 16px;font-size:16px;line-height:1;display:inline-flex;border:2px solid #1c1917!important}.trial-who{margin:0 0 14px}.trial-search{width:100%;max-width:420px}.trial-hits li{padding:6px 0}main.page>:first-child .pill.live{border:1px solid #fff9;font-weight:600;color:#fff!important;background:#15803d!important}@media (min-width:701px){.home-head h1{width:13.6em}}.payroll-subhead td{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);border-bottom:2px solid var(--border,#ccc);padding-top:16px;font-size:13px;font-weight:700}.pay-notes{box-sizing:border-box;width:100%;margin-bottom:8px}.sub-paid-row td{border-top:none;padding-top:0}.sub-paid{flex-wrap:wrap;align-items:center;gap:6px 10px;padding-left:18px;font-size:14px;display:flex}.sub-paid-form input:not([type=number]):not([type=date]){width:12em}.teacher-pick-menu.teacher-pick-float{z-index:1000;box-sizing:border-box;min-width:0;position:fixed;right:auto;transform:none}.teacher-pick-float .check{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.teacher-pick-float .check input{width:auto;margin:0}.mini.rental{color:#fff!important;background-color:#44403c!important;background-image:repeating-linear-gradient(45deg,#ffffff12 0 6px,#0000 6px 12px)!important;border:2px dashed #ffffff8c!important}.mini.rental *{color:#fff!important}@media (max-width:700px){.toolbar.students-toolbar{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"title search""add book""f1 f1""f2 count";gap:8px 10px}.students-toolbar .st-title{font-size:26px;line-height:1}.students-toolbar .st-search{min-width:0}.students-toolbar .st-add{justify-self:start}.students-toolbar .st-book{justify-self:end}.students-toolbar .st-right .st-book,.students-toolbar .st-right .st-add{height:36px;padding:0 12px;font-size:14px}.students-toolbar .st-count{justify-self:end}.students-toolbar .check{font-size:14px}}.tg-mobile-views-row{display:none}@media (max-width:700px),(max-height:560px){.tg-mobile-views-row{background:var(--bg);justify-content:center;align-items:center;gap:8px;padding-top:4px;display:flex}.tg-mobile-views-row .tg-mobile-views{margin:0;padding-top:0}.tg-mobile-views-row .teacher-pick-btn{padding:4px 10px;font-size:13px}}.teacher-pick-float .check{grid-template-columns:auto auto minmax(0,1fr);align-items:center;gap:8px;display:grid}.teacher-pick-float .check:first-child{grid-template-columns:auto minmax(0,1fr)}.teacher-pick-float .tp-name{line-height:1.2}.teacher-pick-float .tp-instr{white-space:nowrap}@media (max-width:700px),(max-height:560px){:is(.schedule-toolbar .tb-center,.schedule-toolbar .tb-right:not(:has(>:not(.has-mobile-nav)))){display:none!important}.schedule-toolbar{padding-top:8px!important;padding-bottom:8px!important}.tg-mobile-views-row{gap:10px;padding:10px 0 8px}.tg-mobile-views-row .tg-mobile-views button,.tg-mobile-views-row .teacher-pick-btn{padding:7px 15px;font-size:15px}}@media (max-width:700px){.students-toolbar .st-title{align-self:start;margin-top:-3px;font-size:26px;line-height:1}.students-toolbar .st-search{align-self:center}.billing-head{grid-template-columns:auto auto minmax(0,max-content) auto;justify-content:start;align-items:center;gap:6px;display:grid!important}.billing-head h1{white-space:nowrap;grid-area:1/1;margin:0 2px 0 0}.billing-head .bh-prev{grid-area:1/2}.billing-head strong{text-align:center;grid-area:1/3}.billing-head .bh-next{grid-area:1/4}.billing-head .bh-test{grid-area:2/2/auto/5;justify-self:center;margin-left:0!important}.billing-head .bh-jump{grid-area:3/1/auto/-1;justify-self:start}.billing-head .bh-prev,.billing-head .bh-next{font-size:16px;width:auto!important;min-width:0!important;padding:4px 10px!important}.billing-head strong{white-space:nowrap;font-size:15px!important}.billing-head h1{font-size:24px!important}.billing-head{grid-template-columns:auto auto max-content auto!important}.billing-head .bh-test{justify-self:center;grid-column:3!important}}.mini.big.filled:not(.rental) .mini-time,.mini.big.filled:not(.rental) .mini-name,.mini.big.filled:not(.rental) .inst,.mini.big.filled:not(.rental) .mini-short-time{opacity:1;color:inherit!important}.mini.big.filled:not(.rental) .mini-time{opacity:.85}.book-title{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.book-title .owner-ovr-btn{color:#d97706;cursor:pointer;background:0 0;border:1px solid #b45309;border-radius:6px;padding:4px 10px;font-size:13px;font-weight:600}.book-title .owner-ovr-btn.on{color:#fff;background:#d97706;border-color:#d97706}.shift-chip.off.src-sick{color:#dc2626;opacity:1;border-style:solid;border-color:#dc2626}.payroll-table thead th{top:var(--topbar-h,0px);z-index:5;color:#7f1d1d;background:#fecaca;position:sticky;box-shadow:inset 0 -1px #f87171}@media (max-width:700px){.payroll-table{font-size:13px}.payroll-table th,.payroll-table td{padding:8px 5px}.payroll-table th{font-size:12px}.bands-page .page-head{flex-wrap:wrap;justify-content:flex-start;gap:8px}.bands-page .page-head h1{width:100%}.bands-page .page-head select{width:100%;min-width:0;max-width:100%;font-size:14px}.bands-page .page-head .bands-head-gap{display:none}.bands-table{font-size:13px}.bands-table th,.bands-table td{padding:8px 5px}.bands-table .lineup-roles{display:none}}.bands-table>thead>tr>th{top:var(--topbar-h,0px);z-index:5}@media (max-width:700px){.bands-table>thead>tr>th{top:var(--topbar-h,0px)}}.band-phone-extra{display:none}@media (max-width:700px){.bands-table .col-studio,.bands-table .col-director{display:none}.bands-table .band-phone-extra{margin-top:2px;font-size:12px;display:block}}.lesson .group-who{opacity:.9;font-size:.92em;font-weight:400}.group-classes .group-card{margin-bottom:14px}.group-classes .group-card.ended{opacity:.6}.group-classes .group-head h2{margin:0}.group-classes .group-facts{flex-wrap:wrap;gap:6px 22px;margin:6px 0 8px;display:flex}.group-classes .group-form{border-top:1px solid var(--line);margin:8px 0 12px;padding-top:10px}.group-classes .group-members{margin-top:8px}.group-classes .group-add{flex-direction:column;gap:6px;margin-top:12px;display:flex}.group-dialog .jam-members li{flex-wrap:wrap}
