:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#102a56;background:#f5f7fb;font-synthesis:none;--ink: #102a56;--muted: #718099;--pink: #ff80b5;--line: #e7ecf4;--soft: #f1f5fa;--accent: #96315e}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea,[tabindex]{-webkit-tap-highlight-color:transparent}button{border:0;background:var(--pink);color:var(--ink);padding:11px 17px;border-radius:12px;font-size:13px;font-weight:600;cursor:pointer;transition:background .15s,box-shadow .15s,transform .12s}button:hover{filter:brightness(.98)}button:active{transform:scale(.97)}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #ff80b599;outline-offset:3px}input,textarea,select{border:1px solid #e2e8f1;border-radius:10px;padding:10px 12px;min-height:42px;width:100%;color:var(--ink);background:#f8fafd;font-size:13px;outline:none}input:focus,textarea:focus,select:focus{border-color:#df86ae;box-shadow:0 0 0 3px #ff80b518}input[type=checkbox]{accent-color:var(--pink);width:18px;height:18px;min-height:18px}textarea{min-height:86px;resize:vertical;line-height:1.5}label{display:grid;gap:7px;font-size:11px;font-weight:600;color:#64748c}form{display:grid;gap:15px}h1,h2,h3,p{margin:0}h1{font-size:27px;letter-spacing:-.9px}h2{font-size:20px;letter-spacing:-.4px}h3{font-size:16px}p{line-height:1.6}small,.muted{color:var(--muted);font-size:11px;line-height:1.5}.eyebrow{display:block;font-size:9px;font-weight:700;letter-spacing:1.8px;color:var(--muted)}a{color:var(--accent)}.secondary{background:var(--soft)}.link,.danger-link{background:transparent;padding:8px;color:var(--accent)}.danger-link,.danger-text{color:#ae2448}.danger-button{background:#ffe5ed;color:#ae2448}.compact{font-size:11px;padding:9px 13px}.icon-button{width:34px;height:34px;border-radius:11px;padding:0;display:inline-flex;align-items:center;justify-content:center;background:transparent;font-size:24px;font-weight:400;flex-shrink:0}.icon-button:hover{background:var(--soft)}.badge{width:25px;height:25px;object-fit:contain;vertical-align:middle;flex-shrink:0}.color-dot{display:inline-block;width:9px;height:9px;border-radius:50%;flex-shrink:0}.wordmark,.brand{font-size:29px;letter-spacing:-1.8px;font-weight:800;font-style:italic;text-decoration:none;color:var(--ink)}.wordmark span,.brand span{color:var(--pink)}.app-shell{margin:0;max-width:none;width:100%;height:100dvh;min-height:600px;display:grid;grid-template-rows:68px auto minmax(0,1fr) auto;padding:0 26px 10px}.app-header{display:flex;align-items:center;gap:26px;border-bottom:1px solid var(--line);padding:0 4px}.app-header>div{display:none}.avatar{margin-left:auto;width:34px;height:34px;border-radius:50%;background:#e8eef8;padding:0;font-size:12px}.app-shell>nav{position:absolute;top:17px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:3px;border:1px solid #fff;background:#ffffffa6;border-radius:13px;padding:3px;box-shadow:0 2px 8px #102a5604;z-index:20}.app-shell>nav button{background:transparent;color:#78849a;font-size:11px;padding:8px 20px;border-radius:9px;font-weight:600}.app-shell>nav button.active{background:#102a56;color:#fff;box-shadow:0 2px 7px #102a561c}.app-footer{font-size:9px;color:#8b96a6;padding:6px 3px 0;text-align:right}.tab-calendar>nav+.error,.tab-calendar>nav+.notice{margin-top:8px}.error,.notice{border-radius:12px;padding:12px 16px;font-size:12px;margin:12px 0;background:#ffe8ef;color:#9c315d}.notice{background:#f0f8dd;color:#395417}.notice .link{font-size:12px}.app-shell>.error,.app-shell>.notice{grid-row:2}.app-shell>.desktop-workspace{grid-row:3}.tab-calendar .app-footer{display:none}.desktop-workspace{min-height:0;display:flex;flex-direction:column;grid-row:3;padding-top:19px}.calendar-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;min-height:52px}.calendar-heading h1{display:flex;align-items:center;position:relative;margin-top:4px}.calendar-heading h1 select{font-size:25px;letter-spacing:-.8px;font-weight:700;background:transparent;border:0;padding:0 20px 0 0;min-height:32px;width:auto;position:relative;z-index:1;box-shadow:none}.chalk-heart{position:absolute;font-family:Georgia,serif;font-size:58px;font-weight:400;color:#f0b6d0;right:30px;top:-13px;transform:rotate(-12deg);opacity:.7;pointer-events:none}.period-navigation{display:flex;align-items:center;gap:12px}.period-navigation>.icon-button{color:#d7689a;font-size:30px;background:#fff;width:29px;height:29px}.period-title{text-align:center}.period-title strong{font-size:13px;font-weight:650;display:block}.zone-button{display:block;font-size:9px;color:#7a879b;background:transparent;padding:4px;margin:auto;font-weight:400}.week-overview{display:grid;gap:4px;font-size:9px;color:#8390a2;margin-left:9px}.week-overview b{font-weight:600;color:#53647e}.calendar-actions{display:flex;align-items:center;gap:6px}.edit-button{background:#fff;border:1px solid #e2e8f1;color:#78849a;font-size:11px;padding:9px 13px}.edit-button.active{background:#ffe5ef;border-color:#f1b0cd;color:#9e3a66}.undo-button{padding:0;width:32px;height:32px;border-radius:10px;color:#d65a91;background:#ffe5ef;font-size:25px}.kebab{background:#fff;border:1px solid #e7ecf4;font-size:22px}.calendar-strip{display:flex;align-items:center;gap:8px;min-height:43px;margin-bottom:14px}.profile-strip{display:flex;align-items:center;gap:7px;overflow:auto;scrollbar-width:thin;mask-image:linear-gradient(to right,#000 calc(100% - 18px),transparent);padding-right:20px;flex:1;min-width:0}.profile-chip{display:flex;align-items:center;gap:7px;white-space:nowrap;padding:7px 11px;background:#fff;border:1px solid #e8ecf3;color:#63728a;font-size:11px;border-radius:11px;height:35px}.profile-chip .badge{width:21px;height:21px}.profile-chip.selected{background:#ffe3ef;border-color:#ed94bb;color:#9d3c67;box-shadow:0 0 0 2px #ff80b516}.self-chip{background:#f2f8e8;border-color:#e1eccd}.self-chip.selected{background:#d9f6a0;border-color:#a7ce63;color:#355012}.strip-divider{width:1px;background:#dce3ee;height:19px;margin:0 4px;flex-shrink:0}.strip-divider:first-child{display:none}.add-owner{height:35px;width:35px;padding:0;border:1px solid #f1c3d7;color:#a54370;background:#fff0f7;font-size:23px;border-radius:11px}.density-control{display:flex;border:1px solid #e2e8f1;background:#fff;padding:3px;border-radius:10px;margin-left:14px}.density-control:empty{display:none}.density-control button{font-size:9px;padding:5px 9px;background:transparent;color:#8692a5;border-radius:6px}.density-control button.chosen{color:#53647b;background:#edf2f8}.menu-anchor{position:relative}.anchor-menu{position:absolute;right:0;top:calc(100% + 7px);width:215px;z-index:80;background:#ffffffef;backdrop-filter:blur(18px);box-shadow:0 12px 40px #102a561c;border:1px solid #fff;border-radius:15px;padding:6px}.anchor-menu button{display:block;width:100%;background:transparent;text-align:left;font-size:12px;padding:12px}.anchor-menu button:hover{background:#f3f6fa}.anchor-menu .self-action{color:#4d6b1c}.calendar-stage{position:relative;min-height:0;flex:1;border-radius:18px;border:1px solid #e3e9f2;background:#fff;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scroll-behavior:auto}.time-calendar{min-width:0;position:relative}.time-header{display:grid;grid-template-columns:52px repeat(var(--visible-days, 7),minmax(0,1fr));height:48px;background:#fff;position:sticky;top:0;z-index:15;border-bottom:1px solid var(--line)}.axis-caption{font-size:8px;color:#a1aabb;display:flex;align-items:center;justify-content:center}.weekday{display:flex;align-items:center;justify-content:center;gap:9px;color:#8290a4;font-size:9px;text-transform:uppercase;border-left:1px solid #f1f4f8}.weekday strong{font-size:15px;font-weight:600;color:#526783}.weekday.today{background:#fff7fb}.weekday.today strong{background:var(--pink);color:var(--ink);width:27px;height:27px;border-radius:9px;display:grid;place-items:center}.time-body{position:relative;display:flex}.time-axis{width:52px;flex-shrink:0;position:relative}.time-axis>span{position:absolute;font-size:8px;color:#9ca8b9;right:10px;transform:translateY(-50%);font-variant-numeric:tabular-nums}.time-axis>span:first-child{transform:translateY(4px)}.day-columns{display:grid;grid-template-columns:repeat(var(--visible-days, 7),minmax(0,1fr));flex:1}.day-column{position:relative;border-left:1px solid #edf1f7;min-width:0}.editing .day-column{cursor:crosshair}.hour-rule{height:1px;background:#eef2f7;position:absolute;left:0;right:0;pointer-events:none}.lesson-card{position:relative;border:1px solid #e1e9f2;border-radius:8px;background:#edf3faf2;box-shadow:inset 0 1px #ffffffc7;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:9px 10px;overflow:hidden;cursor:pointer;color:#29405f;transition:box-shadow .12s,background .12s;touch-action:pan-y}.lesson-card:hover{box-shadow:0 3px 12px #102a5610;z-index:5}.lesson-card strong{font-size:11px;font-weight:600;line-height:1.3;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.lesson-time{font-size:9px;color:#798ba1;font-variant-numeric:tabular-nums}.lesson-corner{display:inline-flex;align-items:center;gap:2px;position:absolute;right:0;bottom:0;border-top-left-radius:7px;padding:2px 4px;font-size:9px;background:#ffffffab;color:#688099;min-width:12px;min-height:10px}.lesson-corner:empty{display:none}.owner-selected{border-color:#f2b1cd;background:#fff0f7}.self-card{background:#f0f7e4;border-color:#dfeaca;color:#4c6235}.self-card .lesson-time{color:#8a9b76}.moved-card{background:#ffe7f1;border-left:3px solid #ed8bb5}.self-card.moved-card{background:#e4f1c9;border-left-color:#7d9e34}.short-card{padding:2px 6px;flex-direction:row;justify-content:space-between;align-items:center;gap:3px}.short-card strong{font-size:9px;min-width:0}.short-card .lesson-time{font-size:7px;white-space:nowrap}.short-card .lesson-corner{display:inline-flex;align-items:center;gap:2px;font-size:7px;padding:0 2px;min-height:6px;opacity:.8}.editing .lesson-card{touch-action:none;cursor:grab;padding-right:23px}.editing .lesson-card:active{cursor:grabbing}.editing .short-card{padding-right:22px}.event-delete{position:absolute;right:2px;top:1px;padding:0;width:19px;height:19px;background:#ffffff80;color:#ae6d8b;border-radius:5px;font-size:17px;font-weight:400;line-height:17px;z-index:5}.event-delete:hover{background:#ffd9e8;color:#a32b5e}.resize-handle{position:absolute;left:5px;right:25px;height:8px;cursor:ns-resize;z-index:4;touch-action:none}.resize-handle:after{content:"";position:absolute;left:0;right:0;top:3px;height:2px;border-radius:2px;background:#889ab250;transition:background .1s}.resize-handle:hover:after{background:#ba7297}.resize-handle.top{top:0}.resize-handle.bottom{bottom:0;right:max(25px,var(--status-width, 25px))}.ghost-card{position:absolute;left:2px;right:5px;border:1px dashed #c79bb1;border-radius:8px;background:#fff6fa80;pointer-events:none}.dragging-card{z-index:25;box-shadow:0 8px 20px #102a561c;border-color:#d86d9c;transition:none;pointer-events:none}.invalid-card{background:#ffe1e5;border-color:#c84565}.calendar-gap{position:absolute;left:0;right:0;text-align:center;font-size:8px;color:#acb6c4;transform:translateY(-50%);pointer-events:none}.quarter-label{position:absolute;left:0;right:0;font-size:7px;color:#a0aec0;border-top:1px dashed #e7d5e0;pointer-events:none;z-index:1;animation:fade-in .1s}.calendar-footnote{font-size:9px;color:#9aa6b7;height:28px;display:flex;gap:7px;align-items:center;flex-shrink:0}.calendar-footnote>span:last-child{margin-left:auto}.live-dot{height:5px;width:5px;border-radius:50%;background:#e4a4c1}.calendar-status{font-size:11px;color:#a94c75;background:#fff0f5;padding:6px 12px;border-radius:8px;margin-bottom:6px}.desktop-month{min-width:0;height:100%;display:flex;flex-direction:column}.month-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));height:34px;align-items:center;text-align:center;font-size:9px;color:#9aa7b9;position:sticky;top:0;z-index:15;background:#fff;border-bottom:1px solid var(--line);flex-shrink:0}.month-weeks{display:grid;flex:1;min-height:0}.month-week-row{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.month-day{position:relative;border-right:1px solid #edf1f6;border-bottom:1px solid #edf1f6;min-width:0;padding:5px}.month-day:last-child{border-right:0}.month-day.outside{background:#fafbfd}.month-day.outside>.lesson-card{opacity:.65}.month-day-number{font-size:10px;width:24px;height:24px;padding:0;background:transparent;margin-bottom:5px;color:#6b7d95}.month-day.today .month-day-number{background:#ffe4ef;color:#a94a78}.month-day .lesson-card{min-height:39px;margin-bottom:4px;padding:5px 7px;gap:2px}.month-day .lesson-card strong{font-size:9px}.month-day .lesson-time{font-size:8px}.month-day .event-delete{width:16px;height:16px;font-size:14px}.month-day .lesson-corner{display:inline-flex;align-items:center;gap:2px;font-size:7px}.month-add{position:absolute;right:5px;top:4px;background:transparent;color:#c698ad;padding:0;width:24px;height:24px;opacity:.6}.event-popover{position:fixed;width:376px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 100px);overflow:auto;z-index:50;background:#fff;border:1px solid #e3e9f2;border-radius:19px;box-shadow:0 18px 70px #102a5626,0 3px 12px #102a560a;padding:19px;animation:popover-in .16s ease-out;scrollbar-width:thin}.popover-heading{display:flex;gap:4px;align-items:flex-start;margin-bottom:15px}.popover-heading>div{flex:1;min-width:0}.popover-heading h2{display:flex;align-items:center;gap:7px;font-size:18px;line-height:1.4;margin-top:6px;overflow-wrap:anywhere}.popover-heading h2 .badge{width:25px;height:25px}.popover-heading .icon-button{width:24px;height:24px;font-size:21px}.text-icon{padding:0;width:25px;height:25px;font-size:16px;background:transparent;color:#ba799a;flex-shrink:0}.event-time{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}.event-time strong{font-size:23px;font-weight:600;letter-spacing:-.6px}.event-time strong>span{color:#c0cad7}.event-time small{display:block;font-size:9px;margin-top:3px}.student-time{font-size:9px;color:#8292a7;background:#f6f8fc;padding:9px;border-radius:8px;margin-bottom:17px}.event-popover>label{margin:15px 0 0}.money-input{display:flex;align-items:center;gap:10px}.money-input input{font-size:18px;font-weight:600}.money-input>span{font-size:11px;color:#8b98ab;white-space:nowrap}.suggested{font-size:9px;display:block;margin-top:5px}.payment-block{margin:18px 0;border-top:1px solid #eef2f7;border-bottom:1px solid #eef2f7;padding:12px 0}.payment-title{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:600}.switch{width:35px;height:21px;border-radius:20px;background:#dfe6ef;padding:3px;display:flex;align-items:center}.switch i{height:15px;width:15px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #102a5620}.switch.on{background:var(--pink);justify-content:flex-end}.payment-options{display:flex;gap:5px;margin:10px 0 5px}.payment-options button{flex:1;background:#f2f5f9;border-radius:8px;padding:7px;font-size:11px}.payment-options button.selected{background:#ffe1ed;color:#a64972}.payment-block>small{font-size:9px}.save-state{font-size:10px;display:flex;align-items:center;gap:5px;color:#8a98aa;min-height:27px}.status-dot{width:5px;height:5px;border-radius:50%;background:#a1b88b}.status-dot.saving,.status-dot.dirty{background:#ddb478}.status-dot.error{background:#c7627e}.popover-footer{display:flex;align-items:center;gap:8px;justify-content:space-between;border-top:1px solid #eef2f7;padding-top:13px;margin-top:8px}.popover-footer button{font-size:10px;padding:8px 10px}.event-dock{position:fixed;bottom:20px;right:35px;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #ebd2e0;box-shadow:0 10px 35px #102a561a;border-radius:14px;padding:9px 12px;z-index:50;font-size:12px}.event-dock button{font-size:10px}.event-dock .icon-button{font-size:20px;width:22px;height:22px}.move-origin{display:flex;align-items:center;gap:6px;margin:7px 0 12px}.move-origin>span{font-size:9px;color:#98a3b4;flex:1}.move-origin button{padding:6px 8px;font-size:9px;background:#fff0f7;color:#ad5b84}.inline-error{font-size:10px;color:#ae2448;margin:4px 0}.attendance{border:1px solid #e6ecf4;border-radius:10px;padding:9px 11px;margin-top:14px}.attendance legend{font-size:10px;color:#8a99ac;padding:0 5px}.attendance label{display:flex;justify-content:space-between;align-items:center;font-size:11px;padding:4px 0}.attendance small{display:block;font-size:9px}.dialog-backdrop,.modal{position:fixed;inset:0;background:#102a562e;backdrop-filter:blur(3px);z-index:100;display:grid;place-items:center;padding:22px}.dialog-card,.modal>form{background:#fff;border:1px solid #e4eaf3;border-radius:21px;padding:24px;box-shadow:0 20px 80px #102a5621;width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 60px);overflow:auto;scrollbar-width:thin;animation:popover-in .15s ease-out}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:15px}.dialog-heading h2{font-size:20px}.dialog-card>p{margin-bottom:18px}.dialog-card>.decision-actions{display:grid;gap:8px}.dialog-card>input{margin-bottom:15px}.dialog-card form>button:last-child{margin-top:5px}.dialog-card .muted{font-size:12px}.modal form{gap:12px}.modal form h2{margin-bottom:5px}.roster-row{display:flex;gap:5px;margin:6px 0}.roster-row input{min-width:0}.roster-row button{padding:5px 9px}fieldset{border:1px solid var(--line);border-radius:12px;padding:12px}legend{font-size:11px;color:var(--muted)}.check-row{display:flex;align-items:center;gap:8px}.profiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(255px,1fr));gap:16px;margin:18px 0}.profiles article,.account article{background:#fff;border:1px solid #e5ebf3;border-radius:18px;padding:22px}.profiles article h3{display:flex;align-items:center;gap:8px}.profiles p{font-size:12px;color:#8b98ac;margin:10px 0}.profiles .link{font-size:11px;margin-top:10px}.tab-people,.tab-finance,.tab-account{height:auto;min-height:100dvh;display:block}.tab-people>.app-header,.tab-finance>.app-header,.tab-account>.app-header{height:68px;margin-bottom:25px}.tab-people>section,.tab-people>details{margin-top:25px}.tab-people>button{margin-top:4px}.tab-people h2{font-size:21px}.tab-people>section h2{margin-top:24px}.tab-finance>label{max-width:350px;margin:20px 0}.tab-finance>h2{margin:24px 0 8px}.bank-chart{display:flex;gap:22px;background:#fff;border:1px solid #e6ecf5;border-radius:18px;padding:25px;overflow-x:auto}.bank-column{min-width:70px;display:flex;flex-direction:column;align-items:center;gap:7px;font-size:12px}.bar-track{position:relative;height:160px;width:40px}.bar{position:absolute;bottom:0;width:100%;background:var(--pink);border-radius:9px 9px 0 0}.bar.self{background:#bdf246}.bank-marker{position:absolute;left:-10px;right:-10px;border-bottom:1px solid #102a56;text-align:right;font-size:9px}.bank-column small{max-width:100px;text-align:center}.spark{width:100%;height:48px;color:#cb759d;margin-top:12px}.self{background:#eff8dc;border-radius:12px;padding:8px}.self .spark{color:#789d32}details{background:#fff;border:1px solid #e7ecf4;border-radius:17px;padding:18px;margin:22px 0}summary{cursor:pointer;font-size:13px;font-weight:600}details section{margin-top:16px}details label{margin:10px 0;display:flex;align-items:center;justify-content:space-between}details label input{width:110px}.account{max-width:620px;margin:30px auto}.account>h2{overflow-wrap:anywhere}.account>p{margin:12px 0;color:#8795a9;font-size:13px}.account article{margin:18px 0}.account article p{margin:14px 0}.account>button{margin:8px 8px 0 0}.login{max-width:430px;margin:8vh auto;padding:25px;background:transparent}.login h1{font-size:43px;line-height:1.1;margin:20px 0;letter-spacing:-1.7px}.login>p{color:#8794a7;font-size:13px;margin-bottom:25px}.login form{gap:15px}.login form>div{display:flex;justify-content:space-between}.login small{display:block;margin-top:20px}.loading{display:grid;place-items:center;height:100vh;font-size:14px;color:#8593a7}@keyframes popover-in{0%{opacity:0;transform:translateY(5px) scale(.99)}to{opacity:1;transform:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@media(min-width:1900px){.app-shell{padding-left:42px;padding-right:42px}.calendar-heading{margin-bottom:24px}.calendar-heading h1 select{font-size:30px}.lesson-card strong{font-size:13px}.lesson-time{font-size:11px}.profile-chip{font-size:12px;height:38px}.calendar-heading{min-height:70px}}@media(max-width:1100px){.app-shell{padding-left:14px;padding-right:14px}.calendar-heading{gap:6px}.calendar-heading h1 select{font-size:21px}.period-navigation{gap:6px}.period-title strong{font-size:11px}.week-overview{font-size:8px;margin-left:0}.calendar-actions .compact{display:none}.density-control{margin-left:2px}.app-shell>nav button{padding:8px 12px}.calendar-actions{gap:3px}.calendar-heading .eyebrow{font-size:8px}.edit-button{font-size:10px;padding:8px}.lesson-card{padding-left:6px}}@media(max-width:800px){.calendar-heading{flex-wrap:wrap}.period-navigation{order:3;width:100%;justify-content:center}.app-shell{padding:0 8px 5px;min-height:650px}.app-shell>nav{left:85px;right:50px;transform:none;justify-content:center}.app-shell>nav button{padding:8px;font-size:10px}.wordmark{font-size:24px}.density-control button{font-size:8px;padding:5px}.calendar-strip{margin-bottom:8px}.event-popover{max-width:calc(100vw - 24px)}.calendar-footnote>span:last-child{display:none}.profile-chip{height:31px;font-size:10px}.calendar-heading{margin-bottom:10px}.event-dock{left:12px;right:12px;bottom:10px;font-size:10px}.event-dock strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@supports not (backdrop-filter: blur(1px)){.anchor-menu{background:#fff}.dialog-backdrop{background:#102a5645}}@media print{@page{size:A4 landscape;margin:10mm}.app-header,nav,.calendar-heading,.calendar-strip,.calendar-footnote,.app-footer,.event-popover,.event-dock,.event-delete,.resize-handle{display:none!important}.app-shell{height:auto;display:block;padding:0;background:#fff}.desktop-workspace{height:auto}.calendar-stage{overflow:visible;max-height:none;height:auto}.time-header,.month-weekdays{position:static}.lesson-card{-webkit-print-color-adjust:exact;print-color-adjust:exact;break-inside:avoid}.month-week-row{break-inside:avoid}.time-calendar{height:650px!important}.time-body{height:600px!important}}.calendar-preserver{display:flex;min-height:0;grid-row:3;flex-direction:column}.calendar-preserver[hidden]{display:none}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:26px 0 24px;gap:20px}.section-heading h1{margin-top:5px;font-size:29px}.people-actions{display:flex;gap:8px}.people-actions button{font-size:12px}.people-workspace,.finance-workspace{padding:0 3px 25px}.people-section{margin:28px 0}.people-section-title{display:flex;align-items:center;gap:9px}.people-section-title h2{font-size:19px}.people-section-title>span{font-size:10px;color:#96a3b5;background:#e8edf5;border-radius:5px;padding:2px 6px}.people-section-title>button{margin-left:auto}.person-card{text-align:left;background:#fff;border:1px solid #e4eaf3;border-radius:17px;padding:18px 21px;transition:box-shadow .15s,border-color .15s;color:var(--ink);font-weight:400}.person-card:hover{filter:none;box-shadow:0 5px 20px #102a5608;border-color:#edc1d5}.person-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.person-avatar{width:43px;height:43px;background:#f4f7fb;border-radius:14px;display:grid;place-items:center}.person-avatar .badge{width:34px;height:34px}.person-avatar .color-dot{width:13px;height:13px}.card-chevron{color:#b0bccd;font-size:15px}.person-card h3{font-size:16px;margin:0}.person-card p{font-size:10px;color:#96a3b4;margin:6px 0 16px}.person-meta{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #eef2f7;padding-top:12px;font-size:10px;color:#8190a5}.self-person{background:#fcfef8;border-color:#e4ecd7}.self-primary{background:#c7ee83;color:#354d17}.empty-section{margin-top:15px;padding:20px;border:1px dashed #dfe6f0;border-radius:14px;color:#a3afbf;font-size:12px}.people-archive summary{display:flex;gap:10px}.people-archive summary>span{color:#9aa8ba;font-size:11px}.archive-row{display:flex;align-items:center;gap:12px;background:transparent;border-bottom:1px solid #edf1f6;border-radius:0;width:100%;text-align:left;padding:14px 3px}.archive-row>small{margin-left:auto}.people-archive h3{font-size:11px;color:#8d9bb0;margin:15px 0 4px}.form-fields{border:0;padding:0;display:grid;gap:15px}.form-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.badge-picker{display:flex;gap:4px;flex-wrap:wrap}.badge-picker button{width:35px;height:35px;padding:4px;background:#f5f7fb;border:1px solid transparent;border-radius:10px;display:grid;place-items:center}.badge-picker button.chosen{background:#ffe8f1;border-color:#e69dbd}.badge-picker img{width:27px;height:27px;object-fit:contain}.profile-history{border-top:1px solid var(--line);padding-top:20px;margin-top:17px}.profile-history h3{font-size:12px;margin:13px 0 6px}.profile-history p{font-size:11px;color:#8b99ad}.note-link{display:flex;align-items:flex-start;gap:8px;background:#f7f9fc;width:100%;text-align:left;margin:6px 0;padding:12px;font-size:11px;font-weight:400}.note-link time{white-space:nowrap;color:#8d9aaf;font-size:9px}.note-link span{flex:1;white-space:pre-wrap;overflow-wrap:anywhere}.archive-profile h3{display:flex;align-items:center;gap:9px}.archive-profile>p{margin:15px 0}.archive-profile>label{margin:15px 0}.finance-heroes{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:17px}.finance-hero{padding:23px 25px;border:1px solid #e4eaf3;border-radius:19px;background:#fff;min-height:170px}.finance-hero.income{background:#fff1f7;border-color:#f2d7e5}.finance-hero.self-hero{background:#f2f9e7;border-color:#e0eccf}.finance-hero>small:first-child{font-size:11px;font-weight:600;display:block;margin-bottom:14px}.finance-hero strong{display:block;font-size:30px;font-weight:600;letter-spacing:-1px;margin:8px 0}.finance-hero strong>span{font-size:16px;letter-spacing:0;color:#95a1b3;font-weight:400}.finance-hero .spark{margin:0 0 8px;height:36px}.self-hero .spark{color:#a3bf6e}.finance-hero p{font-size:11px;color:#8797ac;margin:10px 0}.finance-explainer{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;font-size:10px;color:#8392a8;margin-top:17px}.finance-explainer small{font-size:9px}.compact-heading{margin:30px 0 17px}.compact-heading h2{margin-top:5px;font-size:22px}.chart-legend{font-size:10px;color:#94a1b4;margin:10px 0}.chart-legend>span{display:inline-block;width:15px;border-top:1px solid #102a5680;margin:0 6px 3px 0}.bank-detail-row{display:flex;align-items:center;gap:10px;padding:14px 0;border-bottom:1px solid #eef2f6;font-size:11px}.bank-detail-row strong{font-weight:500}.bank-detail-row>span:last-child,.bank-detail-row>span:nth-last-child(2){margin-left:auto;color:#8190a6}.finance-note{font-size:10px;color:#96a4b7}.segmented{display:flex;border:1px solid #e5eaf2;border-radius:11px;padding:3px;gap:3px}.segmented button{font-size:10px;background:transparent;flex:1;padding:9px}.segmented button.chosen{background:#ffe7f1;color:#a94f7a}.tax-presets{display:flex;gap:7px}.tax-presets .chosen{background:#ffe1ee}.tax-presets button{font-size:12px}.trash-row{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding:15px 0}.trash-row strong{font-size:12px}.trash-row small{display:block;font-size:10px;margin-top:4px}.backup-section{display:grid;gap:13px;margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.poster-preview{width:100%;max-height:54vh;object-fit:contain;background:#f3f6fa;border:1px solid var(--line);border-radius:12px;margin-bottom:12px}.dialog-card>.poster-preview~p{margin-bottom:15px}.calendar-preserver>.desktop-workspace{flex:1}.lesson-card strong,.lesson-time{flex-shrink:0}.lesson-card{padding-top:6px;padding-bottom:6px;gap:3px}.edge-stack{position:absolute;left:0;right:0;display:grid;grid-template-columns:52px repeat(var(--visible-days, 7),minmax(0,1fr));z-index:18;pointer-events:none;padding:0 1px;min-width:0}.edge-stack.below{transform:translateY(-100%);padding-bottom:2px}.edge-stack.above{padding-top:2px}.edge-stack-day{min-width:0;padding:0 3px;display:flex;flex-direction:column;gap:2px}.edge-stack-day>button{pointer-events:auto;display:flex;justify-content:space-between;gap:3px;width:100%;min-width:0;background:#f0f4fbdc;backdrop-filter:blur(9px);border:1px solid #dde5f1;border-radius:5px;padding:3px 5px;font-size:8px;box-shadow:0 1px 5px #102a5605}.edge-stack-day b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.edge-stack-day span{font-size:7px;white-space:nowrap;color:#8594aa}.edge-stack-day .more-edge{justify-content:center;color:#a3738b;font-size:7px}.edge-break{text-align:center;background:#ffffffd4;border-radius:3px;line-height:9px}.agenda-row{display:flex;width:100%;align-items:center;justify-content:space-between;background:#f4f7fb;text-align:left;margin:5px 0;font-size:12px}.agenda-row time{font-size:10px;color:#8a9bb1}.month-day{padding:4px}.month-day-number{height:21px;min-height:21px;margin-bottom:3px}.month-day .lesson-card{min-height:32px;margin-bottom:3px;padding:4px 6px;gap:2px}.month-day .lesson-card strong{font-size:9px;line-height:1.3}.month-day .lesson-time{line-height:1.2}.privacy-cover{position:fixed;inset:0;z-index:10000;background:#f5f7fb;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}.privacy-cover p{font-size:12px;color:#8c99ac}.unavailable-event{flex-wrap:wrap;max-width:400px}.unavailable-event textarea{width:100%}.weekday[role=button]{cursor:pointer}.weekday[role=button]:hover{background:#faf5f9}.zone-results{max-height:52vh;overflow:auto;margin-top:15px;scrollbar-width:thin}.zone-results section{margin-top:12px}.zone-results h3{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#99a5b7;padding:8px 10px}.zone-results button{width:100%;display:flex;align-items:center;justify-content:space-between;text-align:left;background:transparent;font-size:12px;padding:9px 10px;border-radius:9px;font-weight:500}.zone-results button.chosen{background:#fff0f7;color:#a44c75}.zone-results small{display:block;font-size:9px;margin-top:3px}.field-button{text-align:left;font-size:12px;min-height:42px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-shell>.error{position:fixed;z-index:150;top:75px;left:50%;transform:translate(-50%);width:min(720px,calc(100vw - 30px));box-shadow:0 8px 35px #102a5620;margin:0;font-size:12px}.app-shell>.error button{font-size:10px;padding:6px}.zone-button:disabled{opacity:.6}.chalk-heart{right:35px;top:-12px;color:#edb0cb;opacity:.65}.current-time-marker{position:absolute;left:0;right:0;height:1px;background:#ec90b766;pointer-events:none;z-index:4}.current-time-marker i{position:absolute;left:-3px;top:-2px;width:5px;height:5px;border-radius:50%;background:#ed8eb7}.undo-button{display:grid;place-items:center}.bar,.bar.self{padding:0;min-height:0}.app-shell>nav button{transition:transform .12s}.event-popover{animation:popover-enter .14s cubic-bezier(.2,.7,.3,1)}@keyframes popover-enter{0%{transform:translateY(3px) scale(.985)}to{transform:none}}.time-axis .quarter-axis{font-size:8px;color:#b289a0;animation:fade-in .1s}.edge-fade{position:absolute;left:52px;right:0;height:20px;z-index:16;pointer-events:none;opacity:.7}.edge-fade.above{background:linear-gradient(to bottom,#fff,transparent)}.edge-fade.below{background:linear-gradient(to top,#fff,transparent)}.historical-card{opacity:.65}.lesson-history{font-size:8px;color:#8f9eaf}.calendar-status>.link{font-size:10px;margin-left:7px;padding:3px}.retained-draft{display:grid;gap:10px;border-top:1px solid var(--line);padding-top:15px;margin-top:15px}.retained-draft h3{font-size:13px}.header-save-status{margin-left:auto;display:flex;align-items:center;gap:5px;font-size:9px;color:#a0adbc}.header-save-status i{width:5px;height:5px;border-radius:50%;background:#aabe9c}.header-save-status+.avatar{margin-left:0}@media(max-width:850px){.header-save-status{display:none}}.time-axis .last-hour{transform:translateY(-110%)}:root{--muted: #60718a}.app-shell>nav button,.zone-button,.weekday,.axis-caption,.time-axis>span,.student-time,.calendar-footnote,.calendar-gap,.lesson-time{color:#60718a}.self-card .lesson-time{color:#526b33}.time-axis .quarter-axis,.event-delete{color:#96315e}.resize-handle:after{background:#60718a}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid #96315e;outline-offset:3px}input:focus,textarea:focus,select:focus{border-color:#96315e}.app-shell>nav button.active{color:#fff}.view-switch{position:relative;z-index:1;display:flex;align-items:center;gap:12px;background:transparent;padding:0;font-size:25px;line-height:32px;letter-spacing:-.8px;font-weight:700;border-radius:5px}.view-switch svg{flex-shrink:0;margin-left:5px}.view-menu{left:0;right:auto;width:250px}.view-menu button{font-size:13px;letter-spacing:0}.view-menu small{display:block;font-size:10px;font-weight:400;margin-top:4px;color:#60718a}.anchor-menu button[aria-checked=true]{background:#fff0f7;color:#96315e}.anchor-menu button:focus-visible{outline:2px solid #96315e;outline-offset:-2px}@media(min-width:1900px){.view-switch{font-size:30px}}@media(max-width:1100px){.view-switch{font-size:21px;gap:7px}}html,body,#root{width:100%;min-width:0}.app-shell{min-height:0;padding-inline:clamp(8px,1.8vw,26px)}.app-shell>*,.desktop-workspace,.calendar-heading>*,.calendar-strip,.calendar-stage,.workspace-container{min-width:0}.calendar-stage{overflow-x:hidden}.calendar-heading{flex-wrap:wrap}.period-navigation{flex:1 1 260px;justify-content:center;min-width:0}.calendar-actions{flex-shrink:0}.range-selector{display:flex;align-items:center;gap:4px;margin:-6px 0 10px;font-size:11px;color:var(--muted);flex-wrap:wrap}.range-selector button{width:auto;min-height:26px;padding:4px 10px;background:transparent;color:var(--muted);font-size:11px}.range-selector button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 5px #102a5610}.creation-preview{position:absolute;inset-inline:2px;pointer-events:none;z-index:3;border-block:1px solid #ea759a;background:#ff80b50b;border-radius:3px}.creation-preview span{position:absolute;top:2px;left:4px;font-size:10px;color:#aa375e;background:#fff8fc;padding:2px 4px;border-radius:3px;white-space:nowrap}@media(max-width:1280px){.calendar-heading{gap:8px;margin-bottom:10px}.calendar-heading .eyebrow{display:none}.view-switch{font-size:21px}.week-overview{font-size:9px}.calendar-strip{gap:6px}.calendar-actions{gap:4px}}@media(max-height:760px){.app-shell{grid-template-rows:56px auto minmax(0,1fr) auto}.desktop-workspace{padding-top:10px}.calendar-heading{min-height:40px;margin-bottom:8px}.calendar-strip{margin-bottom:8px}.range-selector{margin-bottom:6px}.calendar-footnote{padding-top:5px}}.people-workspace .section-heading{margin:12px 0;gap:12px}.people-workspace .section-heading h1{font-size:24px}.people-workspace .people-section{margin:10px 0}.people-workspace .people-section-title{height:34px}.people-workspace .people-section-title h2{font-size:16px;margin:0}.people-workspace .profiles{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;margin-top:6px}.people-workspace .person-card{height:96px;min-width:0;padding:10px 12px;display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:24px 18px 22px;column-gap:8px;border-radius:14px}.people-workspace .person-card-top{grid-row:1/3;margin:0;align-self:start}.people-workspace .person-avatar{width:30px;height:30px;border-radius:9px}.people-workspace .person-avatar .badge{width:28px;height:28px}.people-workspace .card-chevron{display:none}.people-workspace .person-card h3{font-size:13px;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.people-workspace .person-card p{font-size:11px;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.people-workspace .person-meta{grid-column:1/-1;padding-top:6px;font-size:11px}.people-workspace .empty-section{padding:6px 10px;margin-top:4px;font-size:11px}.people-pages{display:flex;justify-content:center;align-items:center;gap:12px;font-size:12px;margin:8px 0}.people-pages button{padding:5px 12px}@media(max-width:650px){.people-workspace .section-heading{flex-wrap:wrap}.people-workspace .profiles{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}.tab-people .people-workspace{grid-row:3;min-height:0;padding-bottom:4px}.tab-people .app-footer{grid-row:4}.people-workspace .profiles{margin:6px 0 0}.people-workspace .people-archive{margin-top:10px;padding:12px 16px}.tab-people{display:grid;height:100dvh;min-height:0}.tab-people>.app-header{height:auto;margin-bottom:0}.tab-people>.people-workspace{margin-top:0}.tab-people .people-section-title h2{margin:0}.payment-control{margin:10px 0;padding-top:9px;border-top:1px solid #e8edf5}.payment-fixed-row{display:flex;gap:5px;align-items:center}.payment-fixed-row.is-locked{opacity:.66}.payment-fixed-row button{min-height:44px;min-width:35px;padding:8px;background:#eff3f9;border-radius:12px;font-weight:700}.payment-fixed-row button.selected,.payment-editor-choices button.selected,.payment-receipts button.selected{background:#ffe1ed;color:#102a56}.payment-fixed-row button:disabled{opacity:1;cursor:default}.payment-fixed-row .payment-paid{display:flex;align-items:center;gap:6px;flex:1;justify-content:center;font-size:12px;white-space:nowrap}.payment-mini-switch{width:29px;height:19px;padding:3px;border-radius:10px;background:#d5dfed;display:inline-flex}.payment-mini-switch.on{background:#ff80b5;justify-content:flex-end}.payment-mini-switch i{width:13px;height:13px;border-radius:50%;background:#fff}.payment-control small{display:block;font-size:11px;line-height:1.5;color:#718299;margin-top:7px}.payment-footer{display:flex;gap:8px;justify-content:space-between}.payment-footer .link{min-height:44px;padding:0;font-size:11px;color:#ab396a;background:transparent}.payment-dialog-backdrop{background:#102a5608!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;z-index:160}.payment-dialog-card{padding:18px!important;border-radius:22px!important;max-width:calc(100vw - 24px);box-shadow:0 12px 42px #102a5620;background:#fff!important;animation:popover-enter .13s ease-out}.payment-dialog-card .dialog-heading h2{font-size:18px}.payment-explanation{font-size:12px;line-height:1.5;color:#718299}.payment-editor-choices{display:flex;gap:7px;margin:12px 0}.payment-editor-choices button{flex:1;min-height:48px;background:#eff3f9;font-size:17px;border-radius:13px}.payment-receipts{display:flex;gap:6px;overflow-x:auto;padding:7px 0}.payment-receipts button{white-space:nowrap;min-height:40px;font-size:11px;padding:7px 10px;background:#eff3f9}.payment-custom{display:flex;gap:7px;margin:10px 0}.payment-custom input{min-width:0;flex:1;min-height:44px;font-size:13px}.payment-custom button{min-width:44px}.payment-dialog-card small{display:block;font-size:11px;color:#718299;line-height:1.5}.payment-dialog-card .cancel-payment{min-height:44px;padding:12px 0 0;font-size:12px}.lesson-card,.resize-handle{user-select:none;-webkit-user-select:none}.bank-chart-section{border-left:1px solid #172b4d20;padding-left:12px}.bank-chart-section h3{font-size:12px;margin:0 0 18px}.bank-section-columns{display:flex;gap:12px;align-items:end}.occupied-toast{animation:occupied-toast 1.7s both;pointer-events:none}@keyframes occupied-toast{0%{opacity:0}10%,85%{opacity:1}to{opacity:0}}@media(prefers-reduced-motion:reduce){.occupied-toast{animation:none}}.grab-calendar,.grab-calendar .lesson-card{cursor:grab}.grab-calendar:active{cursor:grabbing}.calendar-stage.editing .lesson-card{animation:edit-wiggle .22s ease-out}@keyframes edit-wiggle{0%,to{rotate:0deg}25%{rotate:-.6deg}75%{rotate:.6deg}}@media(prefers-reduced-motion:reduce){.calendar-stage.editing .lesson-card{animation:none}}.base-price{display:block;color:#60718a;font-size:11px;margin-top:6px}.bank-chart-section{flex:1;min-width:max-content}.bank-section-columns{justify-content:space-evenly}.time-calendar{user-select:none;-webkit-user-select:none}.time-calendar input,.time-calendar textarea{user-select:text;-webkit-user-select:text}.time-header>div:not(.axis-caption),.day-columns,.edge-stack-day{transform:translate3d(var(--calendar-pan-x,0px),0,0)}.calendar-page-handles{position:absolute;left:53px;right:3px;display:flex;justify-content:space-between;z-index:22;pointer-events:none}.calendar-page-handles button{pointer-events:auto;width:23px;min-height:40px;padding:0;border-radius:14px;background:#ffffffd9;border:1px solid #ff80b54a;color:var(--ink);font-size:26px;box-shadow:0 2px 12px #102a5610;backdrop-filter:blur(10px);opacity:.65;transition:opacity .12s,background .12s,transform .12s}.calendar-page-handles button:hover,.calendar-page-handles button:focus-visible{opacity:1;background:#ffe8f2;transform:scale(1.08)}.payment-coin{display:inline-flex;align-items:center;gap:2px;font-size:9px;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--ink)}.payment-coin svg{flex:none}.edge-stack-day>button{min-height:27px;border-radius:7px;padding:5px 6px;font-size:10px;border-left-width:2px;align-items:center}.edge-stack-day>button span{font-size:8px;color:var(--ink);opacity:.7}.edge-stack-day .more-edge{min-height:20px}.creation-preview{border-color:#102a5680;background:#102a5614;transition:top 65ms ease-out,height 65ms ease-out}.creation-preview span{color:var(--ink);background:#f5f8ff}.dragging-card{transition:top 65ms ease-out,height 65ms ease-out}.quarter-axis{animation:quarter-appear 60ms ease-out}@keyframes quarter-appear{0%{opacity:0}to{opacity:1}}@media(prefers-reduced-motion:reduce){.creation-preview,.dragging-card,.calendar-page-handles button{transition:none}.quarter-axis{animation:none}}.month-stage{overflow:hidden}.desktop-month,.month-weeks{height:100%;min-height:0}.month-week-row,.month-day{min-height:0;overflow:hidden}.month-more{font-size:10px;color:var(--ink);background:transparent;padding:2px 6px}.month-weeks{height:auto;flex:1 1 0}.month-more{position:absolute;bottom:2px;right:4px;z-index:3;min-height:14px;line-height:12px;background:#ffffffed}.month-day .lesson-card:has(.event-delete){padding-right:23px}.month-day .lesson-time{flex-shrink:0;white-space:nowrap}.decision-text{white-space:pre-line}.admin-workspace{min-height:0;overflow:auto;padding:20px 24px 40px;width:100%;max-width:1200px;margin:0 auto}.admin-workspace label{display:flex;flex-direction:column;gap:6px;margin:12px 0}.admin-workspace form{max-width:600px}.admin-workspace input{max-width:100%;min-height:42px}.admin-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:12px 0}.admin-row>span{flex:1;min-width:180px;overflow-wrap:anywhere}.admin-card{border:1px solid #DFE7F1;border-radius:18px;background:#fff;padding:20px;margin:18px 0}.admin-workspace pre{max-height:320px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:16px;background:#f7fafe;border-radius:12px}.admin-preview{margin-top:16px;border-top:1px solid #DFE7F1;padding-top:12px}
