:root{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:13px;color:#27303d;background:#f7f6f3;--ink:#27303d;--muted:#7b808b;--line:#e9e8e5;--blue:#e9f0f8;--rose:#f8e9ef;--lilac:#efedf7;--yellow:#faf2dc;--red:#a65d5a;--accent:#596784;--row:192px}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #7486b0;outline-offset:2px}button{border:0;background:none}a{color:inherit;text-decoration:none}.shell{display:grid;grid-template-columns:188px minmax(0,1fr);height:100vh;overflow:hidden}.sidebar{background:#f5f4f0;border-right:1px solid #e5e4df;padding:18px 12px 10px;display:flex;flex-direction:column}.brand{height:99px;display:flex;align-items:center;justify-content:flex-start;padding-left:12px;margin-bottom:8px}.brand img{width:105px;height:85px;object-fit:contain}.nav-item{height:40px;display:flex;align-items:center;gap:11px;padding:0 11px;color:#68707b;border-radius:6px;font-size:13px;margin:2px 0;font-weight:500}.nav-item svg{width:17px;height:17px;flex:none;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round}.nav-item.active{color:#2d384c;background:#e7e7ee;font-weight:650}.nav-item:hover{background:#ebeae6}.nav-divider{height:10px}.nav-item .count{margin-left:auto;font-size:11px;color:#7b6575;background:#eee4e9;min-width:20px;line-height:20px;text-align:center;border-radius:4px}.profile{display:flex;gap:9px;align-items:center;margin-top:auto;border-top:1px solid #e4e3df;padding:16px 3px 9px}.profile-avatar{height:31px;width:31px;display:grid;place-items:center;border:1px solid #e0dbe5;background:#eeebf1;border-radius:50%;font-size:11px;color:#70637c}.profile b{font-size:12px;font-weight:600}.profile small{display:block;font-size:11px;color:#858792;margin-top:3px}.profile-more{margin-left:auto;color:#8b8d94}.sample-note{font-size:10px;color:#91939b;padding-left:43px}main{min-width:0;min-height:0;overflow:hidden;padding:0 16px 12px;display:flex;flex-direction:column;background:#fdfdfc}.toolbar{height:70px;min-height:70px;display:flex;align-items:center;gap:30px}h1{margin:0;font-size:24px;font-weight:650;letter-spacing:-.7px;min-width:112px}.period-control{display:flex;gap:8px;align-items:center}.period-control b{font-size:15px;font-weight:600;white-space:nowrap}.icon-button{width:29px;height:29px;display:inline-grid;place-items:center;border-radius:5px;font-size:21px;color:#7c828b;flex:none}.icon-button:hover{background:#f0f0f3}.today-button{border:1px solid var(--line);background:#fff;padding:6px 9px;border-radius:5px;font-size:12px;margin-left:8px;color:#6b7480}.toolbar-end{display:flex;align-items:center;gap:16px;margin-left:auto}.primary{height:33px;padding:0 14px;border-radius:6px;background:#303b54;color:#fff;font-size:13px;font-weight:600}.filterbar{min-height:44px;display:flex;align-items:flex-start;gap:12px}.location-tabs{display:flex;background:#f0f0ed;padding:3px;border-radius:6px;gap:1px}.location-tabs button{font-size:12px;padding:5px 9px;border-radius:4px;color:#7b8086}.location-tabs button.selected{background:#fff;color:#303b4e;box-shadow:0 1px 3px #2221}.filter{height:32px;border:1px solid var(--line);border-radius:5px;display:flex;align-items:center;gap:7px;padding:0 9px;font-size:12px}.tiny-avatar{height:19px;width:19px;background:#ede9f3;display:grid;place-items:center;font-size:8px;border-radius:50%;color:#83728e}.filter>span:last-child{color:#92949b;margin-left:9px}.view-tabs{display:flex;gap:2px;margin-left:auto;height:32px;align-items:center}.view-tabs button{font-size:12px;color:#9396a0;padding:6px 9px}.view-tabs .selected{color:#455169;background:#eeeff4;border-radius:4px}.help{font-size:13px;border:1px solid #e7e7e6;border-radius:50%;width:22px;height:22px;margin-top:5px;margin-left:auto}.view-tabs+.help{margin-left:0}#journal-tools{margin-left:auto}#student-search{width:190px;height:32px;border:1px solid var(--line);border-radius:5px;padding:0 11px;font-size:12px;background:white}.schedule-layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:14px}.calendar{display:flex;flex-direction:column;min-height:0;min-width:0;border:1px solid #e5e5e3;border-radius:7px;background:white;overflow:hidden}.calendar-heading{height:54px;min-height:54px;display:grid;grid-template-columns:43px minmax(0,1fr);border-bottom:1px solid var(--line)}.timezone{font-size:10px;color:#959aa2;display:flex;align-items:center;justify-content:center}.calendar-heading>div{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}.day-heading{display:flex;align-items:center;gap:8px;padding-left:10px;border-left:1px solid #efefed;font-size:12px;color:#7b838f}.day-heading strong{font-size:20px;font-weight:500;color:#3c4759}.day-heading.today{background:#f3f2f8}.day-heading.today strong{background:#555e78;color:#fff;border-radius:50%;width:31px;height:31px;display:grid;place-items:center;font-size:17px}.day-heading small{font-size:10px;color:#9a9eaa;margin-left:auto;margin-right:8px}.calendar-scroll{overflow-y:auto;overflow-x:hidden;flex:1;min-height:0;scrollbar-width:none}.calendar-scroll::-webkit-scrollbar{display:none}.calendar-body{display:grid;grid-template-columns:43px minmax(0,1fr);height:2304px}.time-axis{position:relative;background:white}.time{height:96px;font-size:10.5px;color:#979ca4;text-align:right;padding:4px 7px 0 0}.time.hour{color:#727d8c;font-size:11px}.days{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));min-width:0}.day{position:relative;border-left:1px solid #e9e9e7;background:repeating-linear-gradient(to bottom,transparent 0,transparent 47px,#f4f4f2 47px,#f4f4f2 48px);height:2304px}.day::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(to bottom,transparent 0,transparent 95px,#eaeceE 95px,#eaecee 96px);pointer-events:none}.day.today{background-color:#fdfcfe}.lesson{position:absolute;left:3px;right:3px;border:1px solid #dbe3ee;border-left:3px solid #a8bcd8;border-radius:5px;background:#f3f6fa;padding:7px 7px 6px;overflow:hidden;text-align:left;width:calc(100% - 6px);cursor:pointer;display:flex;flex-direction:column;align-items:stretch;color:var(--ink)}.lesson:hover{border-color:#8498b6;box-shadow:0 2px 5px #27303d16;z-index:2}.lesson.past{background:#f8f9fb;border-color:#e1e5ec;border-left-color:#bdcadb}.lesson.trial{background:#fdfaf1;border-color:#ede3c7;border-left-color:#d9bd76}.lesson.makeup{background:#f4f9f6;border-color:#dbe9e1;border-left-color:#99baa9}.lesson.moved{background:#f7f5fb;border-color:#e0dbe9;border-left-color:#b3a6ca}.lesson.cancelled{background:#fcf8f7;border-color:#eddfdc;border-left-color:#cfaaa3}.lesson .lesson-meta{display:flex;align-items:center;justify-content:space-between;font-size:11px;line-height:15px;color:#6f7b8e;font-variant-numeric:tabular-nums}.lesson .lesson-title{font-size:13px;line-height:17px;font-weight:650;letter-spacing:-.2px;margin-top:3px;white-space:nowrap}.lesson .lesson-context{font-size:11px;line-height:15px;color:#88909c;white-space:nowrap;margin-bottom:5px}.lesson .person{height:20px;display:flex;align-items:center;gap:4px;justify-content:space-between;color:#394354}.lesson .person-name{font-size:13px;line-height:18px;white-space:nowrap;font-weight:450;letter-spacing:-.25px}.lesson .participant-state{min-width:17px;height:16px;line-height:16px;border-radius:3px;text-align:center;color:#667d9c;background:#e8edf5;font-size:11px;font-weight:600;padding:0 2px;flex:none}.participant-state.online{font-size:9px}.participant-state.recording,.participant-state.materials{background:#edeaf6;color:#83709c}.participant-state.freeze{background:#edf1f5;color:#8094a5}.participant-state.cancelled{background:#f6e9e6;color:#b07669}.lesson-foot{position:absolute;left:7px;right:7px;bottom:8px;font-size:11px;color:#8a929e;display:flex;align-items:center;justify-content:space-between;gap:4px}.lesson.busy .lesson-foot{display:none}.lesson-type{font-size:10px;line-height:17px;display:inline-block;color:#6d7b90}.lesson-type.last{color:#9d7641;background:#fbf0dc;padding:0 4px;border-radius:3px}.cancelled .lesson-title{color:#a18079;text-decoration:line-through}.now-line{position:absolute;left:0;right:0;height:1px;background:#bb8294;z-index:2;pointer-events:none}.now-line:before{content:'';width:5px;height:5px;background:#bb8294;border-radius:50%;position:absolute;left:0;top:-2px}.unavailable{position:absolute;left:1px;right:1px;background:repeating-linear-gradient(135deg,#eeefef,#eeefef 4px,#e4e6e7 4px,#e4e6e7 5px);border-top:1px solid #dedfe2;border-bottom:1px solid #dedfe2;color:#858c96;font-size:11px;padding:11px 8px}.unavailable span{background:#eeeff0ba;line-height:17px}.free-window{position:absolute;left:9px;color:#a5abb3;font-size:11px;padding-top:9px}.calendar-footer{min-height:29px;display:flex;align-items:center;gap:14px;padding:0 10px;border-top:1px solid var(--line);color:#969ba2;font-size:10px;white-space:nowrap}.calendar-footer span{display:flex;align-items:center;gap:5px}.footer-right{margin-left:auto}.free-key,.blocked-key{width:10px;height:10px;border:1px solid #d6d9dd;border-radius:2px;background:white}.blocked-key{background:repeating-linear-gradient(135deg,#eee,#eee 2px,#bbc0c7 2px,#bbc0c7 3px)}.control{min-width:0;border-left:1px solid #e9e8e4;padding-left:13px;overflow:auto;scrollbar-width:none}.control-heading{height:53px;display:flex;align-items:center;gap:8px}.control-heading b{font-size:15px;font-weight:650}.control-heading>span{font-size:10px;border:1px solid #e4e4e4;border-radius:4px;line-height:17px;padding:0 5px;color:#9398a3}.control-heading button{margin-left:auto}.control-caption{font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#9a9da4;margin:6px 0 4px}.task{padding:12px 0 11px;border-bottom:1px solid var(--line)}.task-title{font-size:10px;text-transform:uppercase;letter-spacing:.5px;color:#959399;display:flex;align-items:center;gap:5px}.task-title i{width:5px;height:5px;border-radius:50%;background:#c5b2bc}.task.overdue .task-title{color:#b16e65}.task.overdue .task-title i{background:#bc8177}.task-name{font-size:13px;font-weight:600;margin-top:6px;white-space:nowrap}.task-detail{color:#9096a0;font-size:11px;line-height:16px;margin-top:3px}.task button{margin-top:6px;font-size:11px;color:#637390;padding:0;font-weight:600}.task button:after{content:' ↗';font-size:13px}.notes{padding-top:18px}.notes>span{font-size:11px;color:#9999a2}.notes p{font-size:12px;line-height:18px;color:#777e89;margin:8px 0}.notes button{font-size:11px;color:#a3a5ad;padding:0}
#journal{min-height:0;flex:1;display:flex;flex-direction:column}.journal-status{height:44px;min-height:44px;display:flex;gap:20px;align-items:center;border-top:1px solid #eeedea}.journal-status button{padding:0;font-size:12px;color:#7b8492;display:flex;gap:6px;align-items:center}.journal-status button b{font-size:11px;font-weight:500;background:#f0eff3;padding:2px 5px;border-radius:4px;color:#7a7b8b}.state-dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:#c2a278}.journal-status-end{margin-left:auto;font-size:11px;color:#999da4}.journal-status-end b{font-weight:500;color:#717c8b}.journal-scroll{min-height:0;flex:1;overflow:auto;border:1px solid #e8e7e4;border-radius:6px 6px 0 0;scrollbar-width:thin}.journal-scroll table{width:100%;table-layout:fixed;border-collapse:separate;border-spacing:0}#month-table th{height:49px;background:#f9f9f7;position:sticky;top:0;z-index:5;border-bottom:1px solid #e5e6e6;font-size:11px;color:#88909a;font-weight:500}#month-table th:nth-child(-n+4){text-align:left;padding-left:10px}#month-table th small{display:block;font-size:9px;margin:0 0 4px;color:#a9acb2}#month-table th .date-number{font-size:12px;color:#788494}#month-table th.today .date-number{color:#fff;background:#606982;width:21px;height:21px;border-radius:50%;display:inline-grid;place-items:center}#month-table .today{background-color:#f8f7fb}#month-table .week-start{border-left:1px solid #e8e8ed}#month-table tbody td{height:56px;border-bottom:1px solid #efefec;padding:0;text-align:center;background-color:#fff}#month-table tbody tr:hover td{background-color:#faf9fc}#month-table tbody td.today{background-color:#f8f7fb}#month-table .section-row td{height:25px;background:#f6f6f4;text-align:left;font-size:11px;color:#7f8791;font-weight:500;padding-left:10px;border-bottom:1px solid #ecece8}.section-row span{color:#a5a8ae;font-weight:400;margin-left:12px}#month-table td.student-cell,#month-table td.balance-cell,#month-table td.package-cell,#month-table td.makeup-cell{text-align:left;padding:6px 9px}.student-cell .student-name{font-size:13px;line-height:17px;font-weight:550;white-space:nowrap;cursor:pointer}.student-cell .student-info{font-size:11px;color:#7e8794;line-height:15px;margin-top:3px;white-space:nowrap}.student-cell .student-info span{color:#7e8d9e}.balance-value{font-size:19px;font-weight:550;letter-spacing:-.6px;line-height:22px;font-variant-numeric:tabular-nums}.balance-value.negative{color:#ac655e}.balance-value.last{color:#a68b52}.payment-state{font-size:10px;line-height:13px;color:#9a9fa6;white-space:nowrap}.payment-state.debt{color:#b47871}.payment-state.due{color:#a78a56}.payment-state.prepaid{color:#7985a1}.package-main{font-size:13px;color:#4a5668;line-height:18px;white-space:nowrap}.package-main span{font-size:11px;color:#9a9fa8;margin-left:3px}.package-sub{font-size:11px;color:#7e8794;line-height:15px;white-space:nowrap}.package-sub.prepaid{color:#7f7296}.makeup-main{font-size:16px;color:#85759d;line-height:20px}.makeup-sub{font-size:10.5px;color:#81798f;white-space:nowrap}.no-value{color:#c3c7cd;font-size:12px}.cell-button{border-radius:5px;width:21px;height:27px;padding:0;display:inline-grid;place-items:center;font-size:12px;color:#6a7890;position:relative}.cell-button:hover{background:#e6ebf3;outline:1px solid #c6d0e1}.cell-button.future{color:#b6bdc6;font-size:15px}.cell-button.recording,.cell-button.materials{color:#94809e;background:#f4f1f8}.cell-button.freeze{color:#a2b5c1;background:#f0f5f7}.cell-button.cancelled{color:#b4a5a1;font-size:16px}.cell-button.trial{color:#b89861;background:#fcf5e7}.cell-button.last-paid{outline:1px solid #d8be91;background:#fcf6e9;color:#ac8a52}.cell-button.attended{font-size:9px;color:#8c9bb0}.cell-button.empty{color:transparent;cursor:default}.journal-footer{height:37px;min-height:37px;display:flex;align-items:center;gap:16px;border:1px solid #e8e7e4;border-top:0;border-radius:0 0 6px 6px;padding:0 12px;color:#9b9ea5;font-size:10.5px}.journal-footer b{font-weight:500;color:#7e8a9c;margin-right:2px}.sticky1{position:sticky;left:0;z-index:2}.sticky2{position:sticky;left:190px;z-index:2}.sticky3{position:sticky;left:267px;z-index:2}.sticky4{position:sticky;left:399px;z-index:2;border-right:1px solid #e4e5e8}#month-table thead .sticky1,#month-table thead .sticky2,#month-table thead .sticky3,#month-table thead .sticky4{z-index:6}.drawer-backdrop{position:fixed;inset:0;background:#20283828;z-index:20}.drawer{position:fixed;right:0;top:0;bottom:0;width:390px;background:#fff;box-shadow:-10px 0 40px #25304918;z-index:21;padding:24px;overflow:auto}.drawer header{display:flex;align-items:center;justify-content:space-between}.drawer .eyebrow{font-size:11px;text-transform:uppercase;color:#9b95a6;letter-spacing:.6px}.drawer h2{font-size:22px;line-height:30px;font-weight:600;letter-spacing:-.4px;margin:22px 0}.detail-row{display:flex;justify-content:space-between;align-items:baseline;border-bottom:1px solid #efeeeb;padding:13px 0;gap:20px;font-size:13px}.detail-row span{color:#969ca5}.detail-row b{font-weight:500;text-align:right}.drawer p{font-size:13px;line-height:21px;color:#7b8493}.drawer-person{padding:10px 0;display:flex;justify-content:space-between;border-bottom:1px solid #eee;font-size:13px}.drawer-person span{font-size:11px;color:#8694a8}.drawer .detail-note{margin-top:24px;font-size:11px;background:#f8f7f5;padding:12px;border-radius:5px;color:#96969d}.drawer button.primary{margin-top:18px}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#303c51;color:#fff;padding:12px 18px;font-size:12px;border-radius:6px;z-index:30}[hidden]{display:none!important}

.lesson-meta,.lesson-title,.lesson-context,.participants{flex-shrink:0}

/* Owner desktop refinement 2026-09-26: hourly reservation geometry, explicit fields. */
.time{height:192px;font-size:12px}.time.hour{font-size:12px}
.day{background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 191px,#cbd1da 191px,#cbd1da 192px)}
.day::before{display:none}.day-heading{border-left-color:#d5d9df}
.lesson .person{display:grid;grid-template-columns:minmax(0,1fr) 15px 21px;gap:2px;height:20px}
.lesson .person-name{font-size:13px;letter-spacing:-.35px}.participant-number{text-align:center;font-size:12px;font-variant-numeric:tabular-nums;color:#445575}
.lesson .participant-state{background:transparent;padding:0;min-width:0;font-size:12px;white-space:nowrap}
.lesson .lesson-context{color:#657183}.unavailable{color:#596371}
#month-table th{color:#596575}#month-table th small{color:#748091}
#month-table tbody td{border-bottom-color:#dfe3e8;border-right:1px solid #e1e5eb}
#month-table .sticky1,#month-table .sticky2,#month-table .sticky3,#month-table .sticky4{border-right:1px solid #b8c2ce}
.cell-button{width:100%;height:37px;display:flex;flex-direction:column;justify-content:center;gap:0;font-size:12px;line-height:16px;border-radius:3px}
.cell-button b{font-size:13px;font-weight:600;line-height:16px;color:#34455f}
.cell-button.attended{font-size:12px;color:#667994}.cell-button.future{font-size:12px;color:#657388;border:1px dashed #c3cad4;height:37px}
.cell-button.future b{font-weight:400}.cell-button.recording,.cell-button.materials{color:#675774}
.payment-state{color:#667080}.package-main span{color:#717b89}.journal-footer{color:#717987}
.command-form{display:grid;gap:12px}.command-form label{display:grid;gap:5px;font-size:13px}.command-form input,.command-form select,.command-form textarea{width:100%;border:1px solid #c7cdd6;padding:8px;background:#fff;color:#27303d;border-radius:4px;font:inherit}.command-form textarea{min-height:65px}.command-form .check{display:flex;align-items:center}.command-form .check input{width:auto}.command-form button,.action-row button,.proposal button{padding:8px;border:1px solid #c7cdd6;border-radius:4px}.command-result{white-space:pre-wrap;font-size:12px}.action-row{display:flex;flex-wrap:wrap;gap:5px;margin:8px 0}.proposal{border-bottom:1px solid #dce0e5;padding:12px 0}#teacher-filter{height:32px;border:1px solid #c7cdd6;border-radius:4px;background:#fff;color:#394354;max-width:220px}#action-result{overflow-wrap:anywhere}
.unavailable.unknown{background:#f4f2ed;color:#756d5d}.unavailable.approval-window{background:#f5eef7;color:#795d81}
.people-workspace{flex:1;min-height:0;overflow:auto;padding:18px 12px}.people-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #dfe3e8;margin-bottom:18px;padding-bottom:14px}.people-heading b{font-size:18px}.people-heading p{color:#748091}.people-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.people-columns section{border:1px solid #dfe3e8;border-radius:7px;padding:15px;background:#fff}.people-row{display:flex;width:100%;justify-content:space-between;text-align:left;padding:12px;border-bottom:1px solid #e7e9ed;gap:10px}.people-row:hover{background:#f3f4f8}.people-row span{color:#738095}.drawer h3{font-size:13px;margin:24px 0 6px}.drawer fieldset{border:1px solid #d9dee6;border-radius:6px;display:grid;gap:10px}.drawer .action-row button{border:1px solid #c7cdd6;border-radius:4px;padding:8px}@media(max-width:820px){.people-columns{grid-template-columns:1fr}.people-row{flex-direction:column}}
.team-page{min-width:0;overflow:auto;padding:20px 30px 60px;max-width:1100px}.team-page>.toolbar{display:flex;align-items:center;justify-content:space-between}.team-page h2{font-size:19px;margin:16px 0}.team-page h3{font-size:15px;margin:20px 0 10px}.team-page p{color:var(--muted);line-height:1.5}.team-page #team-list{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.team-person{border:1px solid var(--line);background:white;border-radius:7px;padding:10px 14px;text-align:left}.team-person:hover{background:var(--blue)}.team-page #team-detail{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px 24px}.team-page form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;margin:14px 0;padding:14px;background:#faf9f6;border-radius:8px}.team-page form h3,.team-page form p,.team-page form fieldset,.team-page form #impact-result{grid-column:1/-1}.team-page form label{display:grid;gap:5px;color:var(--ink);font-weight:600}.team-page input:not([type=checkbox]),.team-page select{width:100%;padding:9px;border:1px solid #cbd0d9;border-radius:5px;background:white}.team-page fieldset{border:1px solid var(--line);border-radius:6px}.team-page fieldset label{display:inline-flex;gap:7px;align-items:center;margin:7px 12px 7px 0}.team-day{display:grid;grid-template-columns:60px 1fr 1fr 1fr;align-items:center;gap:8px}.team-page button:not(.primary){border:1px solid #cbd0d9;border-radius:5px;background:#fff;padding:9px 12px}.team-page .action-row{gap:10px;margin:18px 0}.team-page .action-row a{color:var(--accent);padding:10px}.team-page ul{padding-left:20px;line-height:1.8}.team-page #team-error{color:#a13535}@media(max-width:820px){.team-page{padding:14px}.team-page form{grid-template-columns:1fr}.team-day{grid-template-columns:45px 1fr 1fr}.team-day select{grid-column:2/-1}}
.daily-shell{min-height:100vh}.daily-page{min-width:0;flex:1;padding:24px;overflow:auto}.daily-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.daily-header h1{font-size:25px}.daily-header select,.daily-detail input,.daily-detail select,.daily-detail textarea{background:#fff;border:1px solid #b9c6d5;border-radius:6px;padding:8px;max-width:100%}.daily-header label{white-space:nowrap}.daily-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:10px;margin:20px 0}.daily-metrics>div{display:grid;background:#f2f5fc;border:1px solid #d9e1ee;border-radius:8px;padding:14px;gap:5px}.daily-metrics b{font-size:25px;color:#344766}.daily-metrics span,.daily-lesson small,.daily-task small{color:#69768b}.daily-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.daily-columns section{border:1px solid #dbe1e9;background:#fff;border-radius:9px;padding:14px}.daily-columns h2{font-size:17px;margin:5px 0 13px}.daily-lesson,.daily-task{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #e5e9ef;background:#fff;padding:12px 5px;color:#2c394b;text-decoration:none}.daily-task{display:grid;gap:5px;cursor:pointer}.daily-task span{font-size:13px}.daily-lesson small{display:block;margin-top:5px}.daily-lesson:hover,.daily-task:hover{background:#f3f5fb}.daily-detail{width:min(380px,100vw);overflow:auto;border-left:1px solid #d6dce6;background:#fafbff;padding:20px}.daily-detail dl{display:grid;grid-template-columns:1fr 1fr;gap:9px}.daily-detail dt{color:#69768b}.daily-detail dd{margin:0;overflow-wrap:anywhere}.daily-detail form,.daily-detail label{display:grid;gap:8px;margin:14px 0}.daily-detail textarea{width:100%;min-height:95px}.daily-detail button{border:1px solid #b9c6d5;background:#fff;border-radius:6px;padding:8px;cursor:pointer}.daily-actions{display:flex;gap:12px;flex-wrap:wrap}#close-task{float:right}#daily-error,#detail-error{color:#a33535}@media(max-width:820px){.daily-shell{display:block}.daily-shell .sidebar{width:100%;height:auto;padding:9px}.daily-shell .sidebar .brand{display:none}.daily-shell nav{display:flex;overflow-x:auto;gap:5px}.daily-shell nav a{white-space:nowrap}.daily-page{padding:14px}.daily-columns{grid-template-columns:1fr}.daily-detail{position:fixed;inset:0 0 0 auto;z-index:20;box-shadow:0 0 0 100vmax #24334588;max-width:100vw}.daily-header{align-items:flex-start}.daily-header select{max-width:140px}}
.daily-drilldown{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0 0}.daily-drilldown label{display:grid;gap:5px;min-width:min(230px,100%)}.daily-drilldown select{border:1px solid #b9c6d5;border-radius:6px;padding:8px;max-width:100%;background:#fff}

/* Website intake uses the same People workspace and source identity. */
.lead-controls{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.lead-controls input{flex:1 1 100%;min-width:0;font-size:16px;padding:9px;border:1px solid #c9d3e0;border-radius:7px}.lead-controls select,.lead-controls button{min-height:36px;max-width:100%;border:1px solid #c9d3e0;border-radius:6px;padding:5px 8px;background:#fff}.lead-controls select{flex:1}.lead-row{width:100%;text-align:left}.lead-row small{display:block;overflow-wrap:anywhere;font-size:11px;color:#60718b}.lead-source-badge{font-size:10px;background:#e8eff8;border-radius:5px;padding:3px 5px;color:#3c5475}.lead-needs-details{color:#866015!important}.website-demo-link{display:inline-block;font-size:12px;margin:8px 12px 8px 0;color:#355b91}#lead-count{color:#62748b}#complete-lead-form fieldset{border:1px solid #dae1ec;padding:12px;border-radius:8px;display:grid;gap:9px}.people-heading>div:last-child{display:flex;align-items:center;gap:7px;flex-wrap:wrap}@media(max-width:820px){.lead-controls select{font-size:12px}.lead-controls button{font-size:12px}.website-demo-link{margin:6px 0}.people-heading{align-items:flex-start!important}}

.lead-row.people-row{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;justify-items:start;padding:13px 8px}.lead-row.people-row strong,.lead-row.people-row span,.lead-row.people-row small{max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere}.lesson.limited{background:#f0f1f4;color:#687487;cursor:default;padding:10px;box-sizing:border-box}

/* Desktop weekly header: weekday/date is centered over the exact same grid track as the day body. */
@media(min-width:821px){
  .calendar-heading>div,.days{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  .day-heading{
    justify-content:center;
    gap:6px;
    padding-left:0;
    padding-right:0;
    text-align:center;
  }
  .day-heading>span,.day-heading>strong{flex:none}
}


/* CITY CRM sign-in — restored from the established staff CRM visual language. */
body.auth-body{margin:0;min-height:100dvh;overflow:auto;background:#fffdf7;color:#252f5e;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.auth-header{height:94px;background:#fff;border-top:3px solid #ed3d4d;border-bottom:1px solid #e5e6ed;display:flex;align-items:center;gap:24px;padding:0 max(24px,calc((100vw - 1160px)/2))}
.auth-brand{display:flex;align-items:center;gap:14px;color:#252f5e;text-decoration:none;font-size:28px;font-weight:900;white-space:nowrap}.auth-brand img{display:block;width:82px;height:66px;object-fit:contain}.auth-brand span{font-size:14px;font-weight:500;color:#65708b;letter-spacing:.04em}
.auth-badge{font-size:12px;background:#f4f0ff;padding:8px 12px;border-radius:30px;margin-left:auto;white-space:nowrap;color:#252f5e}
.auth-main{max-width:1160px;min-height:calc(100dvh - 94px);margin:0 auto;padding:56px 24px;display:block;background:transparent;overflow:visible}
.auth-login{max-width:490px;margin:15px auto;background:#fff;padding:36px;border:1px solid #e5e6ed;border-radius:16px}.auth-eyebrow{margin:0;letter-spacing:2px;font-size:11px;font-weight:750;color:#252f5e}.auth-login h1{min-width:0;font-size:32px;line-height:1.15;margin:8px 0 12px;letter-spacing:-1.2px;color:#252f5e}.auth-intro{line-height:1.6;color:#65708b;margin:0}.auth-form{margin-top:28px;display:block}.auth-form label{display:grid;gap:8px;font-size:14px;font-weight:650;margin-bottom:18px;color:#252f5e}.auth-form input{width:100%;padding:12px;border:1px solid #d8dce8;border-radius:8px;background:#fff;color:#252f5e;font:inherit;font-size:16px;min-height:48px}.auth-form input:focus{outline:2px solid #ed3d4d;outline-offset:2px}
.auth-primary{width:100%;font:inherit;cursor:pointer;border:1px solid #252f5e;border-radius:9px;padding:11px 18px;background:#252f5e;color:white;font-weight:650;box-shadow:0 3px 0 #ed3d4d;min-height:48px}.auth-primary:hover{background:#1b2347}.auth-primary:active{transform:translateY(1px)}.auth-primary:disabled{opacity:.5;cursor:wait}.auth-note{font-size:12px;line-height:1.6;color:#65708b}.auth-error{min-height:18px;margin:8px 0 0;color:#9c382a;font-size:12px;line-height:18px}
@media(max-width:650px){.auth-header{padding:8px 16px;gap:10px;height:auto;min-height:72px;flex-wrap:nowrap;border-top-width:2px}.auth-brand img{width:64px;height:52px}.auth-brand span{font-size:12px}.auth-badge{font-size:10px;padding:7px 10px}.auth-main{padding:30px 16px;min-height:calc(100dvh - 72px)}.auth-login{padding:24px;margin:8px auto}.auth-login h1{font-size:30px}.auth-form{margin-top:24px}}
