@font-face{font-family:Roboto;src:url(Roboto-Regular.ttf)}@font-face{font-family:Roboto;src:url(Roboto-Bold.ttf);font-weight:700}*{box-sizing:border-box}body{margin:0;background:#f4f7fc;color:#14283f;font-family:Roboto,Arial,sans-serif;font-size:15px}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}button:focus-visible,a:focus-visible{outline:3px solid #f7bd35;outline-offset:3px}button:disabled{opacity:.5;cursor:wait}button svg{width:21px;height:21px;vertical-align:middle}svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.shell{max-width:1120px;margin:auto}.top{display:flex;align-items:center;justify-content:space-between;padding:22px 24px 17px;background:#fff;border-bottom:1px solid #e3eaf3}.wordmark{font-size:17px;font-weight:700;letter-spacing:1.2px;line-height:1.2}.wordmark b{color:#0877e4;font-size:25px;letter-spacing:2px}.wordmark small{display:block;letter-spacing:2.5px;font-size:9px;color:#718297;margin-top:5px}.iconbtn{height:44px;width:44px;border-radius:50%;background:#edf4fd;color:#1876cc;display:inline-grid;place-items:center}.topright{display:flex;gap:10px;align-items:center}.avatar{display:inline-grid;place-items:center;width:43px;height:43px;border-radius:15px;background:#e8f2ff;color:#0877e4;font-weight:700;flex-shrink:0}.mode{font-size:11px;font-weight:700;color:#725514;background:#fff1c8;padding:7px 10px;border-radius:20px}.status{padding:9px 24px;background:#edf5ff;color:#405e7d;display:flex;justify-content:space-between;gap:8px;font-size:12px;align-items:center}.status button{background:transparent;color:#0767c6;font-size:12px;text-decoration:underline}.content{padding:26px 24px 110px;max-width:940px;margin:auto}.eyebrow{color:#6c8198;font-size:11px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase}.heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}h1{font-size:29px;line-height:1.15;margin:7px 0 0;letter-spacing:-.8px}h2{font-size:19px;margin:0}h3{font-size:16px;margin:0 0 5px}p{line-height:1.5}.muted{color:#718297;font-size:13px}.hero{padding:25px;border-radius:25px;background:linear-gradient(125deg,#0877e4,#0758b5);color:white;display:grid;grid-template-columns:1.1fr 1fr;align-items:center;overflow:hidden;margin:0 0 20px;box-shadow:0 12px 30px #0877e425;min-height:220px}.hero h2{font-size:27px;letter-spacing:-.6px;line-height:1.2}.hero p{color:#d4e8ff;font-size:13px}.hero .pill{background:#ffffff22;color:#fff}.brandframe{background:white;border-radius:22px;overflow:hidden;max-width:280px;margin-left:20px;align-self:center}.brandframe img{width:100%;display:block;margin-top:-26%;margin-bottom:-10%}.pill{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:6px 10px;font-size:11px;font-weight:700;background:#edf5ff;color:#0877e4}.pill.green{background:#e8f8ef;color:#1b7c55}.pill.amber{background:#fff3d8;color:#846016}.primary{padding:13px 18px;background:#0877e4;color:#fff;border-radius:13px;font-weight:700;min-height:45px}.hero .primary{background:#fff;color:#075dba}.secondary{padding:12px 17px;background:#eaf2fd;color:#0767c6;border-radius:12px;font-weight:700;min-height:44px}.danger{color:#a42f3b;background:#fff0f1}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-bottom:25px}.stat{background:#fff;padding:17px;border:1px solid #e7edf6;border-radius:18px}.stat b{display:block;font-size:25px;letter-spacing:-.6px;margin-bottom:5px}.stat span{font-size:11px;color:#6c8198}.sectionhead{display:flex;justify-content:space-between;align-items:center;margin:25px 0 13px}.textbtn{background:none;color:#0877e4;font-weight:700;font-size:12px;padding:10px}.card{background:#fff;border:1px solid #e5ecf5;border-radius:20px;padding:18px;margin-bottom:12px}.row{display:flex;gap:13px;align-items:center}.grow{flex:1;min-width:0}.between{justify-content:space-between}.time{border-right:1px solid #e1e8f2;padding-right:16px;min-width:67px;font-size:17px;font-weight:700}.time small{display:block;color:#8291a4;font-size:10px;margin-top:5px;font-weight:400}.small{font-size:12px}.line{height:1px;background:#edf1f7;margin:15px 0}.actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}.actions button{flex:1}.nav{position:fixed;bottom:0;left:0;right:0;max-width:1120px;margin:auto;background:#fffffffa;border-top:1px solid #e1e8f2;display:flex;padding:9px 10px max(12px,env(safe-area-inset-bottom));z-index:10}.nav button{flex:1;background:none;display:flex;flex-direction:column;align-items:center;gap:6px;color:#8090a3;font-size:10px;padding:6px 2px}.nav button.active{color:#0877e4;font-weight:700}.nav .active svg{background:#e7f2ff;border-radius:8px;box-shadow:0 0 0 7px #e7f2ff}.nav svg{width:22px;height:22px;margin-bottom:3px}.daystrip{display:flex;gap:7px;overflow:auto;padding:2px 1px 14px}.daystrip button{min-width:51px;border-radius:16px;padding:12px 8px;background:#fff;color:#6b7f96;border:1px solid #e4eaf3}.daystrip strong{display:block;font-size:20px;margin-top:7px;color:#1a3049}.daystrip .selected{background:#0877e4;color:#fff;border-color:#0877e4}.daystrip .selected strong{color:white}.input,select,textarea{width:100%;border:1px solid #dce5f0;border-radius:12px;background:#fff;padding:13px;color:#14283f;outline:none}.input:focus,select:focus,textarea:focus{border-color:#0877e4;box-shadow:0 0 0 3px #0877e416}label{display:block;font-size:12px;font-weight:700;margin:16px 0 7px}input[type=range]{width:100%;accent-color:#0877e4}.search{margin:0 0 17px}.person{width:100%;text-align:left;background:#fff}.person .avatar{width:49px;height:49px}.chev{color:#a2b0c1}.badge{border-radius:50%;background:#0877e4;color:white;min-width:21px;height:21px;display:grid;place-items:center;font-size:11px}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty{padding:40px 22px;text-align:center;color:#6c8198;background:#fff;border-radius:20px}.progress{height:6px;background:#e9eff7;border-radius:10px;overflow:hidden;margin:12px 0}.progress i{display:block;background:#0877e4;height:100%}.levelrow{margin-top:9px;display:flex;justify-content:space-between;font-size:11px;color:#7b8ba0}.chat{display:flex;flex-direction:column;gap:12px;margin-top:18px}.bubble{background:#fff;border:1px solid #e2eaf5;padding:13px 15px;border-radius:17px 17px 17px 3px;max-width:87%;align-self:flex-start;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.bubble.mine{background:#0877e4;color:white;border-color:#0877e4;border-radius:17px 17px 3px 17px;align-self:flex-end}.bubble small{display:block;font-size:10px;opacity:.65;margin-top:6px;text-align:right}.composer{display:flex;gap:8px;position:sticky;bottom:90px;background:#f4f7cf00;padding:14px 0 0}.composer textarea{resize:none;min-height:47px;max-height:150px;box-shadow:0 3px 15px #14283f0d}.composer button{width:48px;flex-shrink:0}.notice{background:#fff5dc;color:#795921;border-radius:13px;padding:13px;font-size:12px;line-height:1.5;margin:14px 0}.settingsrow{padding:15px 0;border-bottom:1px solid #e8eef6}.settingsrow b{display:block;margin-bottom:4px}dialog{border:0;border-radius:24px;padding:25px;width:calc(100% - 32px);max-width:460px;max-height:88vh;color:#14283f;box-shadow:0 25px 90px #091c4440}dialog::backdrop{background:#112b4c66}dialog h2{margin-bottom:15px}dialog .actions{margin-top:22px}#toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);background:#14283f;color:white;border-radius:13px;padding:13px 19px;max-width:90%;width:max-content;z-index:100;display:none;font-size:13px}.error{color:#b32638;font-size:13px}.split{display:grid;grid-template-columns:1fr 1fr;gap:12px}.back{margin-bottom:18px}.balance{font-size:32px;font-weight:700;letter-spacing:-1px}.skill{padding:18px}.skill .row{align-items:flex-start}.skillnum{color:#7891ad;font-size:12px;min-width:20px}.signin{max-width:450px;margin:20px auto}.tagline{text-align:center;font-size:11px;color:#8695a9;margin:27px 0 8px}.linkbutton{display:block;text-align:center;margin:14px auto;background:transparent;color:#0877e4;font-weight:700}.dategroup{margin:20px 0 12px;font-weight:700;font-size:12px;color:#6c8198}.desktoplabel{display:none}@media(min-width:780px){.top{border-radius:0 0 20px 20px}.content{padding-top:35px}.hero{min-height:260px;padding:35px}.hero h2{font-size:35px}.brandframe{max-width:290px;justify-self:end}.stats{gap:18px}.stat{padding:22px}.stat b{font-size:32px}.desktoplabel{display:inline}.nav{border-radius:22px 22px 0 0;box-shadow:0 -10px 40px #183b6306}}@media(max-width:380px){.content{padding:22px 16px 110px}.hero{padding:19px}.hero h2{font-size:23px}.brandframe{margin-left:10px}.stat{padding:12px}.mode{font-size:10px}.top{padding:18px 16px}}

.whatsapp{background:#16874c}.whatsapp:hover{background:#106f3c}

@media(max-width:779px){.hero{display:block;position:relative;min-height:285px;padding:24px}.hero h2{max-width:250px;font-size:27px;margin-top:12px}.hero p{max-width:190px}.brandframe{position:absolute;bottom:24px;right:18px;width:131px;margin:0}.hero .primary{font-size:13px;padding:13px}.hero .pill{font-size:10px}.whatsapp{font-size:14px}}

.scope label{margin-top:0}.scope select{margin-top:4px}.tabs{margin:0 0 15px}.bankdetails{display:grid;grid-template-columns:1fr;gap:7px}.bankdetails dt{font-size:11px;color:#718297;margin-top:10px}.bankdetails dd{margin:0;font-weight:700;font-size:17px;overflow-wrap:anywhere}.checklabel{display:flex;gap:12px;line-height:1.6;align-items:flex-start}.checklabel input{width:24px;height:24px;flex-shrink:0}.composer{background:#f4f7fc}

.licence-text{white-space:pre-wrap;font-family:inherit;font-size:12px;line-height:1.5;overflow-wrap:anywhere}

.hero{display:block;min-height:0;padding:26px 28px}.hero h2{max-width:none}.hero p{max-width:none}.hero .primary{margin-top:3px}@media(min-width:780px){.hero{padding:30px 36px}.hero h2{font-size:32px}.hero p{font-size:14px}}
html{color-scheme:light}.clipboard-helper{position:fixed;opacity:0;width:1px;height:1px;left:0;top:0}html[data-theme=dark]{color-scheme:dark}html[data-theme=dark] body{background:#0d1724;color:#e4edf8}html[data-theme=dark] .top,html[data-theme=dark] .card,html[data-theme=dark] .stat,html[data-theme=dark] .person,html[data-theme=dark] .empty,html[data-theme=dark] dialog{background:#172537;border-color:#2b405a;color:#e4edf8}html[data-theme=dark] .nav{background:#142235fa;border-color:#2b405a}html[data-theme=dark] .status{background:#122b47;color:#b8cee6}html[data-theme=dark] .input,html[data-theme=dark] select,html[data-theme=dark] textarea{background:#102033;border-color:#38516d;color:#e4edf8}html[data-theme=dark] .secondary,html[data-theme=dark] .iconbtn,html[data-theme=dark] .avatar{background:#203c5c;color:#a2cdff}html[data-theme=dark] .textbtn,html[data-theme=dark] .status button,html[data-theme=dark] .wordmark b{color:#89bdff}html[data-theme=dark] .muted,html[data-theme=dark] .stat span,html[data-theme=dark] .eyebrow,html[data-theme=dark] .tagline,html[data-theme=dark] .bankdetails dt{color:#a3b7ce}html[data-theme=dark] .line,html[data-theme=dark] .progress{background:#2c4058}html[data-theme=dark] .settingsrow,html[data-theme=dark] .time{border-color:#2c4058}html[data-theme=dark] .daystrip button{background:#172537;border-color:#2b405a;color:#a3b7ce}html[data-theme=dark] .daystrip strong{color:#e4edf8}html[data-theme=dark] .daystrip .selected{background:#0877e4;color:#fff}html[data-theme=dark] .daystrip .selected strong{color:#fff}html[data-theme=dark] .pill{background:#203c5c;color:#b2d3ff}html[data-theme=dark] .pill.green{background:#143e30;color:#92e2bb}html[data-theme=dark] .pill.amber,html[data-theme=dark] .mode,html[data-theme=dark] .notice{background:#443519;color:#ffe09a}html[data-theme=dark] .bubble{background:#172537;border-color:#2c4058;color:#e4edf8}html[data-theme=dark] .bubble.mine{background:#0877e4;border-color:#0877e4;color:#fff}html[data-theme=dark] .composer{background:#0d1724}html[data-theme=dark] .nav button{color:#a3b7ce}html[data-theme=dark] .nav button.active{color:#89bdff}html[data-theme=dark] .nav .active svg{background:#203c5c;box-shadow:0 0 0 7px #203c5c}html[data-theme=dark] .error{color:#ff9da8}html[data-theme=dark] .hero .pill{background:#ffffff22;color:#fff}html[data-theme=dark] .danger{background:#492631;color:#ffb6be}

.credit-card{border-top:4px solid #0877e4}.credit-value{font-size:35px;line-height:1.2;font-weight:700;letter-spacing:-1px;margin:15px 0}.lesson-date{font-size:22px;line-height:1.35;margin:12px 0}.lesson-clock{font-size:31px;letter-spacing:-.8px;font-weight:700}.lesson-clock span{display:block;font-size:12px;letter-spacing:0;color:#718297;font-weight:400;margin-top:7px}.next-lesson p{margin:8px 0}.dashboard-actions{margin:18px 0}.notification-card{margin-top:12px}.notification-body{white-space:pre-wrap;overflow-wrap:anywhere}html[data-theme=dark] .lesson-clock span{color:#a3b7ce}

.profile-section{border-top:1px solid #dce5f0;margin-top:22px;padding-top:18px}html[data-theme=dark] .profile-section{border-color:#38516d}

.wordmark b.platform-name{font-size:25px;letter-spacing:-.8px}.school-brand{padding:9px 24px;background:#fff;border-bottom:1px solid #e3eaf3;color:#55708d;font-size:12px;font-weight:700}.school-brand .pill{margin-left:10px}html[data-theme=dark] .school-brand{background:#172537;border-color:#2b405a;color:#a3b7ce}@media(max-width:380px){.wordmark b.platform-name{font-size:21px}.mode{font-size:9px;padding:7px 8px}}

.gap-time{font-size:24px;margin:12px 0}.lesson-gaps{margin-top:28px}.gap-card .settingsrow button{margin-top:10px}

.tutorial-choices{display:grid;gap:10px;margin-bottom:20px}.tutorial-choices button{text-align:left}.tutorial-player{margin:16px 0}.tutorial-player video{display:block;width:100%;height:auto;aspect-ratio:10/7;background:#061425;border-radius:12px}.tutorial-expand{margin-top:10px}.tutorial-player.expanded{position:fixed;inset:0;z-index:200;background:#061425;margin:0;padding:12px;display:flex;flex-direction:column;align-items:center;justify-content:center}.tutorial-player.expanded video{width:100%;height:calc(100% - 64px);object-fit:contain;min-height:0}.tutorial-player.expanded .tutorial-expand{flex-shrink:0}.tutorial-transcript{margin-top:18px}.tutorial-transcript summary{cursor:pointer;font-weight:700;padding:10px 0}.tutorial-transcript p{line-height:1.6}

.diary-toggle,.week-navigation{margin-bottom:16px}.week-scroll{overflow:auto;max-height:75vh;border:1px solid #a6b3c4;border-radius:12px}.week-head,.week-body{display:grid;min-width:max-content}.week-head{position:sticky;top:0;z-index:3;background:#eaf2fd;color:#14283f}.week-head>*{padding:10px 5px;font-size:12px;border-right:1px solid #b2c2d5;min-width:0}.week-head small{display:block;font-size:10px}.week-body{position:relative}.week-day,.week-times{position:relative;border-right:1px solid #b2c2d5;height:100%;min-width:0}.week-times{background:#fff;position:sticky;left:0;z-index:2;color:#14283f}.week-times span{position:absolute;font-size:11px;left:5px}.week-hour{position:absolute;left:0;right:0;border-top:1px solid #c5d0dd;height:69px;pointer-events:none}.week-lesson{position:absolute;left:3px;right:3px;padding:5px;text-align:left;border-radius:7px;border-left:5px solid #bf2737;overflow:auto;color:#14283f;display:flex;flex-direction:column;gap:3px;font-size:11px;min-height:27px}.week-lesson strong{font-size:12px}.type-lesson{background:#d9ecff}.type-mock{background:#e9dcff}.type-practical{background:#fff0b8}.week-lesson.pay-paid{border-left-color:#16834b}.week-lesson.pay-requested{border-left-color:#b57500}.week-lesson.pay-credit{border-left-color:#1468cb}.week-lesson.cancelled{background:#e5e7eb;opacity:.7;border-left-color:#6b7280}.week-legend{display:flex;gap:7px;flex-wrap:wrap;margin-top:16px}.week-legend span{padding:7px 10px;border-radius:8px;color:#14283f;font-size:12px}.week-section{padding:16px}.working-days{display:grid;grid-template-columns:1fr 1fr;gap:4px}.quick-messages{margin:10px 0}.quick-messages button{font-size:13px}html[data-theme=dark] .week-head,html[data-theme=dark] .week-times{background:#172537;color:#e4edf8}

.week-lesson{touch-action:none;user-select:none;-webkit-user-select:none;padding-top:16px;padding-bottom:16px}.resize-handle{position:absolute;left:0;right:0;text-align:center;height:15px;line-height:15px;background:#14283f1a;cursor:ns-resize}.resize-top{top:0}.resize-bottom{bottom:0}.week-lesson.dragging{outline:3px solid #0877e4;opacity:.7}#lesson-drag-tools{position:fixed;left:8px;right:8px;top:8px;z-index:150;background:#0b203a;color:white;padding:10px;border-radius:12px;box-shadow:0 4px 16px #0005;font-size:13px;pointer-events:auto}#lesson-drag-tools p{margin:0 0 10px}#lesson-drag-tools>div{display:flex;gap:8px}#lesson-drag-tools span{flex:1;text-align:center;padding:15px 4px;background:#285079;border-radius:8px}#lesson-drag-tools .selected{background:#0877e4}

/* Keep a five-day week visible on a phone; longer working weeks can scroll. */
.week-head,.week-body{min-width:100%;width:100%}.week-section{padding:8px}.week-lesson{font-size:9px;padding-left:2px;padding-right:2px;border-left-width:3px;gap:2px;overflow:hidden}.week-lesson strong{font-size:10px;overflow-wrap:anywhere}.week-lesson small{font-size:9px}.week-head>*{font-size:10px;padding:8px 2px;overflow-wrap:anywhere}.week-times span{font-size:9px;left:2px}.week-lesson.dragging{z-index:10;overflow:visible;box-shadow:0 6px 20px #0005}.week-day{overflow:visible}
.terms-copy{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:15px}.terms-copy+.actions{margin-top:20px}#terms-body{min-height:240px;resize:vertical}#pupil-terms-form{padding-bottom:30px}
