.summary-next{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:10px}.summary-time{color:#007aff;font-size:22px;font-weight:600;line-height:28px}.summary-copy{display:grid;min-width:0;gap:2px}.summary-name,.summary-meta{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.summary-name{font-size:17px;font-weight:600;line-height:22px}.summary-meta{color:#6b7280;font-size:14px;line-height:20px}.summary-next .pill{white-space:nowrap}@media(max-width:380px){.summary-next{gap:8px}.summary-time{font-size:20px}.summary-next .pill{padding:5px 8px;font-size:12px}}
body.is-loading::before{content:"Обновляем данные…";position:fixed;z-index:1000;top:12px;left:50%;transform:translateX(-50%);padding:8px 12px;border-radius:999px;background:#111827;color:#fff;font-size:14px;font-weight:600;box-shadow:0 6px 18px #11182733}body.is-loading::after{content:"";position:fixed;z-index:999;inset:0;background:#f7f7f21f;pointer-events:auto}
:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#111827;background:#f2f2f7;line-height:1.35}*{box-sizing:border-box}body{margin:0;min-width:320px;background:#f2f2f7}.app{width:min(100%,1200px);min-height:100vh;margin:0 auto;padding:28px 28px 112px}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #007aff66;outline-offset:2px}h1,h2,h3,p{margin:0}.brand{font-size:34px;font-weight:800;letter-spacing:-1.2px;line-height:1.18}.subtitle,.muted{color:#6b7280}.card{background:#fff;border:0;border-radius:24px;padding:16px;box-shadow:none}.auth{max-width:480px;margin:9vh auto}.auth .card{margin-top:24px}.stack{display:grid;gap:12px}.field{display:grid;gap:6px;font-size:14px;font-weight:600}.field input,.field select,.field textarea{width:100%;min-height:46px;padding:11px 12px;border:1px solid #d1d1d6;border-radius:12px;background:#fff;color:#111827;font-weight:400}.field textarea{resize:vertical;min-height:80px}.primary,.secondary,.danger,.icon-button{min-height:44px;padding:10px 15px;border-radius:13px;font-weight:700}.primary{background:#007aff;color:#fff}.secondary{background:#e5f1ff;color:#0066d1}.danger{background:#ffe8e6;color:#c6281c}.primary:disabled,.secondary:disabled{opacity:.55;cursor:not-allowed}.notice{padding:11px 13px;border-radius:12px;background:#fff1f0;color:#b42318;font-size:14px}.consent{font-size:14px;color:#4b5563;display:flex;align-items:flex-start;gap:8px}.top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:20px}.top h1,.screen h1{font-size:24px;line-height:30px;letter-spacing:-.3px}.top>.brand{font-size:34px}.screen{display:grid;gap:12px}.summary-title{font-size:18px;line-height:24px;font-weight:600}.summary-main{font-size:18px;line-height:24px;font-weight:600;margin-top:4px}.pills{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.pill{font-size:13px;line-height:18px;font-weight:500;border-radius:999px;padding:5px 10px;background:#e8f8ed;color:#16873a}.section-title{font-size:18px;line-height:24px;font-weight:600;margin:4px 0 0}.lesson{display:flex;align-items:center;gap:14px;padding:15px 10px;border-bottom:1px solid #f0f0f2;text-align:left;background:transparent;width:100%;cursor:pointer}.lesson:first-child{padding-top:15px}.lesson:last-child{border:0;padding-bottom:15px}.lesson-time{min-width:100px;font-weight:700;font-size:18px;line-height:24px;color:#007aff}.lesson-info{min-width:0;flex:1}.lesson-name{font-size:18px;line-height:24px;font-weight:600}.lesson-meta{color:#6b7280;font-size:15px;line-height:21px}.status{font-size:13px;line-height:18px;font-weight:500;padding:5px 10px;border-radius:999px;background:#fff4df;color:#b97000;white-space:nowrap}.status.done,.status.paid{background:#e8f8ed;color:#16873a}.status.cancelled{background:#ffe8e6;color:#c6281c}.toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.date-input{min-height:44px;padding:10px;border:1px solid #d1d1d6;border-radius:12px;background:#fff}.nav{position:fixed;z-index:5;bottom:max(14px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;gap:6px;width:calc(100% - 56px);max-width:1200px;padding:4px;background:#e5e5ea;border-radius:18px;box-shadow:0 7px 22px #1118270d}.nav button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:48px;padding:0 12px;border-radius:14px;background:transparent;color:#007aff;font-size:16px;font-weight:400}.nav button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.nav button.active{background:#fff;color:#111827;box-shadow:0 1px 3px #11182712}.nav .label{display:inline}.students{display:grid;gap:10px}.student{padding:16px;display:flex;justify-content:space-between;gap:12px;align-items:center;text-align:left;width:100%}.student-name{font-size:17px;font-weight:600}.student-detail{color:#6b7280;font-size:14px}.modal{border:0;padding:0;width:min(540px,calc(100vw - 32px));border-radius:24px;box-shadow:0 18px 60px #11182744;background:#fff}.modal::backdrop{background:#11182766}.modal-content{padding:20px}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.close{font-size:24px;background:transparent;color:#6b7280}.row{display:flex;gap:10px}.row>*{flex:1}.actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.lesson-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lesson-actions button{width:100%}.action-icon{display:inline-grid;place-items:center;width:44px;min-height:44px;padding:0}.action-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.empty{padding:16px;color:#6b7280;text-align:center}.profile-grid{display:grid;gap:12px}@media(max-width:680px){.app{padding:24px 16px 100px}.top{margin-bottom:18px}.nav{width:calc(100% - 32px)}.nav button{gap:0;padding:0}.nav .label{display:none}.lesson{gap:10px;padding-left:8px;}.lesson-time{min-width:62px}.status{font-size:12px;padding:5px 8px}}@media(max-width:390px){.app{padding-left:14px;}.nav{width:calc(100% - 28px)}.lesson-time{min-width:55px;font-size:17px}.lesson-name{font-size:16px}.lesson-meta{font-size:13px}.status{font-size:11px;padding:5px}.row{display:grid}}
.schedule-screen{gap:12px}.schedule-summary h2,.month-calendar h2,.lesson-card h2{font-size:18px;line-height:24px;font-weight:600}.schedule-summary .muted{margin-top:8px}.small{font-size:13px}.blue-pill{background:#e5f1ff;color:#007aff}.orange-pill{background:#fff4df;color:#b97000}.month-calendar{padding:16px}.month-calendar header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.calendar-arrows{display:flex;gap:6px}.calendar-arrows .action-icon{width:38px;min-height:38px;font-size:22px}.calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.calendar-weekdays{margin-bottom:6px;color:#6b7280;font-size:13px;text-align:center}.calendar-day{position:relative;display:grid;place-items:center;aspect-ratio:1;border-radius:14px;background:#fff;color:#111827;font-size:15px}.calendar-day.outside{color:#6b728066}.calendar-day.today{background:#e5f1ff;color:#003b74;font-weight:600}.calendar-day.selected{background:#007aff;color:#fff;font-weight:600}.calendar-day b{position:absolute;bottom:auto;min-width:14px;padding:0 4px;border-radius:99px;background:#fff4df;color:#b97000;font-size:8px;line-height:14px;top:3px;right:5px;font-weight:400}.calendar-day.selected b{background:#ffffff3d;color:#fff}.selected-day{display:flex;align-items:center;justify-content:space-between;gap:12px}.selected-day>div{display:grid;gap:2px}.selected-day strong{font-size:18px;text-transform:capitalize}.selected-day span{font-size:14px;color:#6b7280}.full-button{width:100%;margin-top:8px}.lesson-cards{display:grid;gap:12px}.lesson-card{display:grid;gap:10px}.lesson-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.lesson-card-head h2{margin:0}.lesson-note{color:#6b7280;font-size:13px}.lesson-detail{display:grid;gap:12px}.field-label{display:block;color:#6b7280;font-size:14px;font-weight:600;margin-bottom:6px}.duration-chips{display:flex;gap:6px;flex-wrap:wrap}.chip{min-height:36px;padding:6px 11px;border:1px solid #d1d1d6;border-radius:999px;background:#fff;color:#111827}.chip.selected{border-color:#007aff;background:#e5f1ff;color:#007aff}.android-form{max-height:70vh;overflow:auto;}.modal .full-button{margin-top:0}@media(max-width:420px){.calendar-day{border-radius:11px;font-size:13px}.month-calendar{padding:12px}.selected-day strong{font-size:16px}.lesson-card-head h2{font-size:17px}}
.android-tab{gap:12px}.student-cards{display:grid;gap:12px}.student-card{display:grid;grid-template-columns:1fr auto;gap:3px;text-align:left;width:100%;padding:16px}.student-card strong{font-size:18px;font-weight:600}.student-card span{grid-column:1;color:#6b7280;font-size:15px}.student-card b{grid-row:1/3;grid-column:2;align-self:center;color:#007aff;font-size:25px;font-weight:400}.profile-summary{display:grid;gap:5px}.profile-summary h2{font-size:18px}.profile-summary p{color:#6b7280;font-size:15px}.student-detail{display:grid;gap:12px}.student-detail h2,.student-detail h3{font-size:18px}.student-detail p{margin:0}
.student-page{gap:8px}.back-link{justify-self:start;min-height:auto;padding:3px 0;background:transparent;color:#007aff;font-size:15px}.student-details{display:grid;gap:12px}.student-details-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.student-details-head h1{font-size:24px;line-height:30px}.edit-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:21px;background:#e5f1ff;color:#007aff}.edit-icon svg{width:20px;height:20px;fill:currentColor}.student-details h2,.android-form h2{font-size:18px;line-height:24px;margin-top:4px}.student-info{display:grid;gap:2px}.student-info span{color:#6b7280;font-size:13px}.student-info strong{font-size:17px;font-weight:400}.form-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.form-actions button{min-height:44px}
.collapsed-calendar{display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px;text-align:left;color:#111827;border-radius:20px}.collapsed-calendar>span{display:grid;gap:2px}.collapsed-calendar strong{font-size:18px;text-transform:capitalize}.collapsed-calendar small{color:#6b7280;font-size:14px;text-transform:capitalize}.collapsed-calendar>b{color:#007aff;font-size:16px;font-weight:400}
.students-screen{gap:16px}.students-heading{display:grid;gap:3px}.student-cards{gap:10px}.student-card{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:78px;padding:14px 16px;border:1px solid transparent;border-radius:20px;background:#fff;color:#111827;box-shadow:0 1px 2px #11182708;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.student-card:hover{border-color:#007aff2b;box-shadow:0 7px 18px #1118270d;transform:translateY(-1px)}.student-card:active{transform:translateY(0);box-shadow:none}.student-card .student-avatar{display:grid;grid-column:1;place-items:center;width:46px;height:46px;border-radius:16px;background:#e5f1ff;color:#007aff;font-size:19px;font-weight:700}.student-card .student-card-copy{display:grid;grid-column:2;min-width:0;gap:3px;color:#111827}.student-card-copy strong{overflow:hidden;font-size:17px;line-height:22px;text-overflow:ellipsis;white-space:nowrap}.student-card .student-card-copy>span{grid-column:auto;overflow:hidden;color:#6b7280;font-size:14px;line-height:19px;text-overflow:ellipsis;white-space:nowrap}.student-card>b{display:grid;grid-row:auto;grid-column:3;place-items:center;align-self:center;width:28px;height:28px;border-radius:14px;background:#f2f2f7;color:#007aff;font-size:24px;font-weight:400;line-height:1}.student-create{margin-top:2px}.student-page{gap:12px}.student-details{padding:20px;gap:16px}.student-details-head{padding-bottom:14px;border-bottom:1px solid #e5e5ea}.student-details-head h1{letter-spacing:-.4px}.student-details .subtitle{margin-top:3px}.student-details h2{margin-top:4px;padding-top:14px;border-top:1px solid #e5e5ea;font-size:16px;line-height:22px}.student-details-head+h2{border-top:0}.student-info{gap:4px}.student-info span{font-size:13px;font-weight:500}.student-info strong{font-size:16px;line-height:22px;font-weight:500}.student-details .muted{padding:10px 12px;border-radius:12px;background:#f8f8fa;font-size:14px;line-height:20px}.student-details .danger{margin-top:4px;background:#fff0ef;color:#c6281c}.student-page .android-form{padding:20px;gap:14px;max-height:none}.student-page .android-form h2{padding-top:2px}.student-page .field{gap:7px}.student-page .form-actions{margin-top:4px}.student-page .back-link{margin-left:2px}@media(max-width:420px){.student-card{grid-template-columns:42px minmax(0,1fr) auto;gap:10px;padding:13px}.student-card .student-avatar{width:42px;height:42px;border-radius:14px}.student-details{padding:16px}.student-details-head h1{font-size:22px;line-height:28px}}
.recurring-toggle{display:flex;align-items:center;gap:9px;width:max-content;min-height:38px;padding:7px 12px;border:1px solid #d1d1d6;border-radius:999px;color:#111827;font-size:14px;font-weight:600}.recurring-toggle input{width:16px;height:16px;accent-color:#007aff}.recurring-options{display:none;gap:12px;padding:12px;border-radius:16px;background:#f8f8fa}.recurring-toggle:has(input:checked)+.recurring-options{display:grid}.weekday-chips{display:flex;flex-wrap:wrap;gap:6px}.weekday-chip input{position:absolute;opacity:0}.weekday-chip span{display:block;min-width:38px;padding:8px 9px;border:1px solid #d1d1d6;border-radius:999px;background:#fff;text-align:center;font-size:13px}.weekday-chip input:checked+span{border-color:#007aff;background:#e5f1ff;color:#007aff}
.screen,.auth{animation:screen-enter .24s ease-out both}.card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.lesson-card{cursor:pointer;animation:card-enter .26s ease-out both}.lesson-cards .lesson-card:nth-child(2){animation-delay:.035s}.lesson-cards .lesson-card:nth-child(3){animation-delay:.07s}.lesson-cards .lesson-card:nth-child(4){animation-delay:.105s}.lesson-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px #1118270d}.lesson-card:active{transform:scale(.99);box-shadow:none}.primary,.secondary,.danger,.icon-button,.chip,.calendar-day,.collapsed-calendar,.edit-icon,.back-link,.nav button{transition:transform .14s ease,background-color .18s ease,color .18s ease,box-shadow .18s ease,border-color .18s ease,opacity .18s ease}.primary:not(:disabled):hover{box-shadow:0 7px 16px #007aff38;transform:translateY(-1px)}.secondary:not(:disabled):hover,.chip:hover,.calendar-day:hover{background:#d9ecff}.primary:not(:disabled):active,.secondary:not(:disabled):active,.danger:not(:disabled):active,.icon-button:active,.chip:active,.calendar-day:active,.collapsed-calendar:active,.edit-icon:active,.nav button:active{transform:scale(.97)}.nav button.active{animation:nav-select .2s ease-out}.calendar-day.selected{animation:date-select .2s ease-out}.collapsed-calendar{transition:transform .18s ease,box-shadow .18s ease}.collapsed-calendar:hover{box-shadow:0 6px 18px #1118270d;transform:translateY(-1px)}.modal[open]{animation:modal-enter .2s ease-out}.modal[open]::backdrop{animation:backdrop-enter .2s ease-out}.modal-content{animation:content-enter .24s ease-out}@keyframes screen-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes card-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes nav-select{from{transform:scale(.94)}to{transform:scale(1)}}@keyframes date-select{from{transform:scale(.88)}to{transform:scale(1)}}@keyframes modal-enter{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes backdrop-enter{from{background:#11182700}to{background:#11182766}}@keyframes content-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
.profile-grid .field,.profile-grid .full-button{width:100%;max-width:100%;min-width:0;justify-self:start}.profile-grid .full-button{margin:0}.android-tab>.full-button{width:calc(100% - 24px);justify-self:start}
.schedule-screen:has(.collapsed-calendar) .selected-day{display:none}
.modal .full-button{margin-top:0}
.planner-date.selected.today>strong{color:#000}.planner-calendar-toggle span{display:none}

@media(max-width:620px){.student-list-copy>strong{font-size:16px;color:#000}}
@media(max-width:620px){.students-add-button{min-width:44px;width:44px;padding:0;justify-content:center;font-size:0;gap:0}}

button:disabled{cursor:not-allowed;opacity:.52;box-shadow:none!important;transform:none!important}.secondary:disabled,.danger:disabled{background:#e5e5ea;color:#6b7280}.lesson-payment-hint{margin:0;padding:9px 12px;border-radius:12px;background:#f2f2f7;color:#4b5563;font-size:13px;line-height:18px}.lesson-payment-hint-error{background:#fff0ef;color:#c6281c}.lesson-more{border-top:1px solid #e5e5ea;padding-top:12px}.lesson-more summary{cursor:pointer;color:#007aff;font-size:15px;font-weight:600}.lesson-more .lesson-actions{margin-top:12px}



.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.students-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.student-search{display:block}.student-search input{width:100%;min-height:46px;padding:11px 13px;border:1px solid #d1d1d6;border-radius:14px;background:#fff;color:#111827}.student-filter{display:grid;gap:2px;align-content:center;color:#6b7280;font-size:11px;font-weight:600}.student-filter select{min-height:31px;padding:3px 26px 3px 8px;border:0;border-radius:10px;background:#e5f1ff;color:#007aff;font-size:13px;font-weight:600}.student-card{grid-template-rows:auto auto auto}.student-card .student-card-copy{gap:2px}.student-card .student-upcoming{color:#4b5563;font-size:13px;line-height:18px}.student-card .student-finance{display:flex;flex-wrap:wrap;gap:5px;margin-top:3px}.student-card .student-finance span{width:auto;padding:3px 7px;border-radius:8px;font-size:12px;font-weight:600;line-height:16px;white-space:nowrap}.student-balance{background:#f2f2f7;color:#4b5563}.student-balance.is-positive{background:#e7f7ed;color:#167443}.student-balance.is-empty{background:#fff4df;color:#a85c00}.student-unpaid{background:#fff0ef;color:#c6281c}@media(max-width:520px){.students-tools{grid-template-columns:1fr}.student-filter{grid-template-columns:auto 1fr;align-items:center}.student-filter select{min-height:38px;width:100%}.student-card{align-items:start}.student-card>b{align-self:start;margin-top:10px}}
.students-screen>.student-create{width:100%;justify-self:stretch}
.lesson-card>.pill{justify-self:start}
.auth-wordmark{margin:0;color:#42517f;font-family:"Snell Roundhand","Segoe Script","Brush Script MT",cursive;font-size:clamp(54px,16vw,88px);font-style:italic;font-weight:500;letter-spacing:-.075em;line-height:1;text-shadow:0 2px 12px #42517f26;background:linear-gradient(100deg,#1294a5 0%,#44b77c 16%,#d7d916 25%,#ffd31a 34%,#ffad45 43%,#ff6952 56%,#b576bd 72%,#5ba8e8 100%);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
body:has(.auth-landing){background:#f2f2f7}.auth-landing{display:grid;align-content:center;gap:30px;min-height:calc(100vh - 140px);max-width:520px;margin:0 auto}.auth-hero{display:grid;gap:8px;padding:8px 8px 0}.auth-eyebrow{color:#697386;font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.auth-landing .auth-wordmark{width:max-content;max-width:100%;padding-right:.18em;font-size:clamp(72px,23vw,74px);line-height:1.2;text-shadow:none;font-weight:900}.auth-card{gap:18px;padding:24px;border:1px solid #ffffffb8;border-radius:28px;background:#ffffffd9;box-shadow:0 18px 45px #5965821f;backdrop-filter:blur(14px)}.auth-card-heading{display:grid;gap:4px}.auth-card-heading h2{font-size:22px;letter-spacing:-.35px;line-height:28px}.auth-card-heading p,.auth-footnote{color:#6b7280;font-size:14px;line-height:20px}.auth-card .field{gap:8px;font-size:15px}.auth-card .field input{min-height:52px;border-color:#d9dde7;border-radius:16px;padding:13px 15px}.auth-card .field input:focus{border-color:#007aff;box-shadow:0 0 0 4px #007aff17;outline:0}.auth-card .consent{align-items:center;color:#596273;line-height:20px}.auth-card .consent input{width:18px;height:18px;margin:0;accent-color:#007aff;flex:none}.auth-card .primary{display:flex;align-items:center;justify-content:center;gap:10px;min-height:54px;border-radius:17px;background:linear-gradient(105deg,#007aff,#5b7cff);box-shadow:0 10px 22px #2779d538;font-size:17px}.auth-card .primary span{font-size:21px;line-height:1}.auth-footnote{text-align:center;margin-top:-6px}@media(max-width:520px){.auth-landing{min-height:calc(100vh - 124px);gap:0px}.auth-card{padding:20px;border-radius:25px}}

.planner-screen{display:grid;gap:18px}.planner-hero{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:8px 4px 2px}.planner-kicker{display:block;margin-bottom:5px;color:#6d7486;font-size:11px;font-weight:750;letter-spacing:.09em;text-transform:uppercase}.planner-hero h1{font-size:36px;letter-spacing:-1.25px;line-height:1.06}.planner-hero p{margin-top:7px;color:#697386;font-size:15px}.planner-hero-actions{display:flex;align-items:center;gap:8px}.planner-icon-button{display:grid;place-items:center;width:46px;min-height:46px;padding:0;border-radius:15px;font-size:23px;line-height:1}.planner-add-button{min-height:46px;padding:0 17px;border-radius:15px;font-weight:700}.planner-add-button span{font-size:22px;font-weight:400;line-height:1}.planner-week-card{display:grid;gap:15px;padding:18px 20px;border:1px solid #e7e9f1;border-radius:26px;background:linear-gradient(135deg,#fff 0%,#f6f8ff 100%)}.planner-week-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.planner-week-head>div{display:grid;gap:2px}.planner-week-head strong{font-size:17px;line-height:22px;text-transform:capitalize}.planner-week-head span{color:#6d7486;font-size:13px}.planner-today{min-height:34px;padding:6px 11px;border-radius:11px;font-size:13px}.planner-date-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.planner-date{position:relative;display:grid;justify-items:center;gap:3px;min-height:67px;padding:8px 4px;border:1px solid transparent;border-radius:16px;background:transparent;color:#697386}.planner-date>span{font-size:12px;line-height:15px;text-transform:capitalize}.planner-date>strong{color:#1d2433;font-size:19px;line-height:23px}.planner-date>i{display:block;width:5px;height:5px;border-radius:50%;background:#ff9f0a;font-style:normal}.planner-date>i:empty{visibility:hidden}.planner-date.today:not(.selected)>strong{color:#007aff}.planner-date.selected{border-color:#007aff;background:#007aff;box-shadow:0 8px 18px #007aff2e;color:#ddecff}.planner-date.selected>i{background:#fff}.planner-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,.34fr);gap:18px;align-items:start}.planner-agenda{display:grid;gap:16px;padding:22px}.planner-agenda>header{display:flex;align-items:end;justify-content:space-between;gap:12px}.planner-agenda h2{font-size:23px;letter-spacing:-.45px;line-height:29px;text-transform:capitalize}.planner-day-count{padding:6px 10px;border-radius:999px;background:#edf4ff;color:#0871da;font-size:13px;font-weight:650;white-space:nowrap}.planner-timeline{display:grid;gap:10px}.planner-event{display:grid;grid-template-columns:58px 16px minmax(0,1fr) auto;align-items:start;gap:12px;width:100%;padding:14px 0;border-top:1px solid #eceef3;background:transparent;color:#1d2433;text-align:left}.planner-event:first-child{border-top:0}.planner-event time{display:grid;gap:2px;padding-top:2px}.planner-event time strong{font-size:16px;line-height:20px}.planner-event time span{color:#9098a8;font-size:12px;line-height:16px}.planner-event-line{position:relative;display:block;width:2px;min-height:58px;margin:2px auto 0;background:#d9e7fa}.planner-event-line::before{position:absolute;top:0;left:50%;width:10px;height:10px;border:3px solid #fff;border-radius:50%;background:#007aff;box-shadow:0 0 0 2px #b8d9ff;content:"";transform:translateX(-50%)}.planner-event.done .planner-event-line::before{background:#2f9e6f;box-shadow:0 0 0 2px #bce8d4}.planner-event.cancelled .planner-event-line::before{background:#c77971;box-shadow:0 0 0 2px #f0d1cd}.planner-event-copy{display:grid;min-width:0;gap:3px}.planner-event-copy>strong{overflow:hidden;font-size:16px;line-height:21px;text-overflow:ellipsis;white-space:nowrap}.planner-event-copy>span,.planner-event-copy small{overflow:hidden;color:#6d7486;font-size:13px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.planner-event-copy small{color:#959cab}.planner-event-tags{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px;padding-top:1px}.planner-event-tags .status,.planner-payment{padding:4px 7px;border-radius:8px;font-size:11px;font-weight:650;line-height:14px;white-space:nowrap}.planner-payment{background:#fff4df;color:#a85c00}.planner-payment.is-paid{background:#e7f7ed;color:#167443}.planner-overview{display:grid;gap:17px;padding:22px;border-radius:24px;background:#202a3e;color:#fff}.planner-overview .planner-kicker{margin:0;color:#b4bfd1}.planner-overview-metric{display:flex;align-items:baseline;gap:8px}.planner-overview-metric strong{font-size:42px;letter-spacing:-1.5px;line-height:1}.planner-overview-metric span{color:#ced6e5;font-size:14px}.planner-overview dl{display:grid;gap:9px;margin:0}.planner-overview dl div{display:flex;justify-content:space-between;gap:12px;padding-top:10px;border-top:1px solid #ffffff1f}.planner-overview dt{color:#bfc8d8;font-size:13px}.planner-overview dd{margin:0;font-size:13px;font-weight:650;text-align:right}.planner-calendar-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:2px;padding:0;border:0;background:transparent;color:#fff;font-size:14px;font-weight:650;text-align:left}.planner-calendar-toggle span{font-size:18px}.planner-empty{display:grid;justify-items:start;gap:7px;padding:29px 0 8px;border-top:1px solid #eceef3}.planner-empty strong{font-size:18px}.planner-empty span{color:#6d7486;font-size:14px}.planner-empty button{margin-top:7px;padding:9px 12px;border-radius:12px;color:#007aff;font-weight:650}.planner-month{padding:20px;border:1px solid #e7e9f1}.planner-month header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.planner-month header .planner-kicker{margin-bottom:2px}.planner-month h2{font-size:20px;line-height:26px}.planner-month .calendar-day{background:#f8f9fc}.planner-month .calendar-day:hover{background:#e5f1ff}@media(max-width:720px){.planner-layout{grid-template-columns:1fr}.planner-overview{grid-template-columns:auto 1fr auto;align-items:center;gap:14px}.planner-overview .planner-kicker{grid-column:1/-1}.planner-overview dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.planner-overview dl div{display:grid;gap:3px;padding-top:0;border:0}.planner-overview dd{text-align:left}.planner-calendar-toggle{width:auto;justify-self:end}.planner-event{grid-template-columns:54px 14px minmax(0,1fr)}.planner-event-tags{grid-column:3;justify-content:flex-start;padding-top:0}}@media(max-width:520px){.planner-screen{gap:14px}.planner-hero{align-items:start;padding:4px 2px 0}.planner-hero h1{font-size:31px}.planner-hero p{max-width:230px;font-size:13px;line-height:18px}.planner-icon-button{width:42px;min-height:42px}.planner-add-button{min-height:42px;padding:0 12px;font-size:14px}.planner-week-card{padding:15px 12px;border-radius:22px}.planner-date-strip{gap:3px}.planner-date{min-height:60px;border-radius:13px}.planner-date>span{font-size:11px}.planner-date>strong{font-size:17px}.planner-agenda{padding:18px 15px;border-radius:22px}.planner-agenda h2{font-size:20px;line-height:25px}.planner-day-count{padding:5px 8px;font-size:12px}.planner-event{grid-template-columns:47px 12px minmax(0,1fr);gap:8px;padding:13px 0}.planner-event time strong{font-size:14px}.planner-event time span{font-size:11px}.planner-event-line{min-height:52px}.planner-event-copy>strong{font-size:15px}.planner-event-copy>span{font-size:12px}.planner-event-tags{gap:4px}.planner-event-tags .status,.planner-payment{padding:3px 6px;font-size:10px}.planner-overview{grid-template-columns:1fr auto;gap:13px;padding:18px}.planner-overview .planner-kicker{grid-column:1/-1}.planner-overview-metric strong{font-size:36px}.planner-overview dl{grid-column:1/-1}.planner-calendar-toggle{grid-column:2;grid-row:2;align-self:end}.planner-month{padding:14px}.planner-month .calendar-day{border-radius:11px}}

/* Desktop version follows the calm mobile planner language from the reference. */
:root{--ink:#20233d;--muted:#8b91a7;--line:#e9eaf2;--canvas:#fafafe;--surface:#fff;--violet:#6267e9;--violet-soft:#f0f1ff;--mint:#e8fbf4;--mint-ink:#299a78;--danger-soft:#fff0f2;--danger-ink:#d76b78}body{background:linear-gradient(180deg,#f7f7fc 0,#fff 34rem);color:var(--ink)}.app{width:min(100%,1120px);padding:38px 32px 122px}.screen{gap:20px}.card{border:1px solid var(--line);border-radius:20px;background:var(--surface);box-shadow:0 10px 28px #383a5a08}.subtitle,.muted{color:var(--muted)}h1{font-size:34px;letter-spacing:-1.2px;line-height:1.08}h2{letter-spacing:-.35px}.primary{border-radius:12px;background:var(--violet);box-shadow:0 7px 15px #6267e92b}.secondary{border:1px solid #e0e2ef;border-radius:12px;background:#fff;color:#555c75}.danger{border-radius:12px}.field{color:#676e86;font-size:13px;font-weight:650}.field input,.field select,.field textarea{min-height:50px;border-color:#e1e3ed;border-radius:13px;background:#fff;color:var(--ink);box-shadow:0 2px 4px #25284a03}.field input:focus,.field select:focus,.field textarea:focus{border-color:#a5a8f6;box-shadow:0 0 0 4px #6267e914;outline:0}.modal{width:min(94vw,590px);border:0;border-radius:24px;background:#fff;box-shadow:0 28px 80px #20233d2e}.modal::backdrop{background:#20233d55;backdrop-filter:blur(3px)}.modal-content{padding:24px}.modal-head{padding-bottom:15px;border-bottom:1px solid var(--line)}.close{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#f4f5fa;color:#5a6077}.nav{position:fixed;z-index:20;bottom:22px;left:50%;display:grid;grid-template-columns:repeat(4,1fr);width:min(500px,calc(100vw - 32px));padding:7px;border:1px solid #e5e6f0;border-radius:18px;background:#fffffff2;box-shadow:0 14px 36px #2f31591f;backdrop-filter:blur(18px);transform:translateX(-50%)}.nav button{min-height:54px;border-radius:13px;color:#8a90a6}.nav button svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.9;fill:none}.nav button .label{margin-top:2px;font-size:11px;font-weight:650}.nav button.active{background:var(--violet-soft);color:var(--violet)}.today-screen{max-width:780px;margin:0 auto}.today-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.screen-eyebrow{display:block;margin-bottom:5px;color:#8d92aa;font-size:11px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.today-header p{margin-top:6px;color:#777e96;font-size:15px;text-transform:capitalize}.today-add{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:var(--violet);color:#fff;font-size:28px;font-weight:300;box-shadow:0 8px 20px #6267e933}.today-week{display:grid;gap:10px;padding:16px 12px;border:1px solid var(--line);border-radius:18px;background:#fff}.today-week-days,.today-week-dates{display:grid;grid-template-columns:repeat(7,1fr);text-align:center}.today-week-days span{color:#969bae;font-size:12px;font-weight:650;text-transform:capitalize}.today-week-dates span{display:grid;place-items:center;justify-self:center;width:36px;height:36px;border-radius:50%;color:#4f566d;font-size:15px;font-weight:700}.today-week-dates span.active{background:var(--violet);color:#fff;box-shadow:0 5px 12px #6267e938}.today-summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:16px 18px;border:1px solid #dff3ed;border-radius:18px;background:linear-gradient(110deg,#effbf7,#f6fffc)}.today-summary-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#d6f5ea;color:#2aaf88;font-size:22px}.today-summary div{display:grid;min-width:0;gap:3px}.today-summary strong{font-size:15px}.today-summary div span{color:#778196;font-size:13px}.today-summary button{background:transparent;color:var(--violet);font-size:13px;font-weight:700}.today-summary button span{font-size:19px;vertical-align:-1px}.today-plan{display:grid;gap:11px}.section-heading{display:flex;align-items:end;justify-content:space-between}.section-heading h2{font-size:21px;line-height:26px}.section-heading>span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:var(--violet-soft);color:var(--violet);font-size:13px;font-weight:700}.today-lessons{display:grid;gap:10px}.today-lesson{display:grid;grid-template-columns:64px 44px minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;padding:14px 16px;border:1px solid var(--line);border-radius:18px;background:#fff;color:var(--ink);text-align:left;box-shadow:0 6px 18px #34375a07}.today-lesson:hover{border-color:#cfd1f3;box-shadow:0 9px 24px #454a7710}.today-lesson time{display:grid;gap:3px}.today-lesson time strong{font-size:15px;line-height:18px}.today-lesson time span{color:#9ba0b2;font-size:11px}.today-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#e2e5ff;color:#6267e9;font-size:13px;font-weight:750}.today-lesson:nth-child(3n+2) .today-avatar{background:#dff6ee;color:#35a17d}.today-lesson:nth-child(3n) .today-avatar{background:#fff0de;color:#c97925}.today-lesson-copy{display:grid;min-width:0;gap:3px}.today-lesson-copy strong,.today-lesson-copy span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.today-lesson-copy strong{font-size:15px}.today-lesson-copy span{color:#8990a4;font-size:12px}.today-status{padding:5px 8px;border-radius:8px;background:#f1f2f7;color:#7e8498;font-size:11px;font-weight:700;white-space:nowrap}.today-status.done,.today-status.paid{background:var(--mint);color:var(--mint-ink)}.today-status.cancelled{background:var(--danger-soft);color:var(--danger-ink)}.today-empty{display:grid;justify-items:center;gap:8px;padding:36px 20px;border:1px dashed #dcddea;border-radius:20px;background:#fff;color:#737b91;text-align:center}.today-empty>span{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:var(--violet-soft);color:var(--violet);font-size:25px}.today-empty strong{color:var(--ink);font-size:16px}.today-empty p{font-size:14px}.today-empty .primary{margin-top:4px;padding:11px 16px}.students-screen,.planner-screen,.android-tab{max-width:980px;margin:0 auto}.students-heading h1,.planner-hero h1{font-size:32px}.student-card{border-color:var(--line);border-radius:18px;box-shadow:0 6px 18px #373a6208}.student-card .student-avatar{border-radius:50%;background:#e4e6ff;color:var(--violet)}.student-card>b{background:var(--violet-soft);color:var(--violet)}.student-balance{background:#f0f1f6}.student-balance.is-positive{background:var(--mint);color:var(--mint-ink)}.student-unpaid{background:var(--danger-soft);color:var(--danger-ink)}.student-details,.student-page .android-form,.profile-summary,.profile-grid{border-color:var(--line);box-shadow:0 9px 26px #383a5b07}.student-details-head{border-color:var(--line)}.planner-hero,.planner-week-card,.planner-agenda,.planner-month{border-color:var(--line)}.planner-week-card{border-radius:20px;background:#fff}.planner-date.selected{border-color:var(--violet);background:var(--violet);box-shadow:0 8px 18px #6267e92b}.planner-date.today:not(.selected)>strong{color:var(--violet)}.planner-agenda,.planner-month{border-radius:20px}.planner-day-count{background:var(--violet-soft);color:var(--violet)}.planner-event-line::before{background:var(--violet);box-shadow:0 0 0 2px #d3d5ff}.planner-event-line{background:#e3e4fb}.planner-overview{border-radius:20px;background:linear-gradient(145deg,#676ce9,#565add)}.planner-calendar-toggle{color:#fff}.calendar-day.selected{background:var(--violet)}.calendar-day.today{background:var(--violet-soft);color:var(--violet)}.calendar-day{border-radius:12px}.planner-month .calendar-day{background:#f9f9fd}.auth-card{border-color:#e7e8f3;background:#fff;box-shadow:0 20px 42px #4a4f7a12}.auth-card .primary{background:var(--violet)}@media(max-width:620px){.app{padding:24px 16px 105px}.card{border-radius:18px}.today-lesson{grid-template-columns:50px 40px minmax(0,1fr);gap:10px;padding:12px}.today-status{grid-column:3;justify-self:start;padding:3px 6px;font-size:10px}.today-summary{padding:14px}.today-summary button{font-size:0}.today-summary button span{font-size:20px}.today-week{padding:14px 7px}.today-week-dates span{width:32px;height:32px}.planner-hero{padding:0}.planner-week-card{border-radius:18px}.student-card{border-radius:16px}.modal{width:min(100vw - 20px,590px);border-radius:20px}.modal-content{padding:19px}.nav{bottom:13px;width:calc(100vw - 22px);border-radius:16px}.nav button{min-height:49px}}
.recurring-time-toggle{display:flex;align-items:center;gap:9px;width:max-content;min-height:38px;padding:7px 12px;border:1px solid #d1d1d6;border-radius:999px;color:var(--ink);font-size:14px;font-weight:600}.recurring-time-toggle input{width:16px;height:16px;accent-color:var(--violet)}.recurring-weekly-times{display:grid;gap:8px}.recurring-weekly-time{grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px;color:#676e86;font-size:14px;font-weight:700}.recurring-weekly-time input{min-height:44px}.recurring-weekly-times[hidden],.recurring-weekly-time[hidden]{display:none!important}
.student-details-actions{display:flex;gap:8px}.student-details-actions .edit-icon:first-child{background:#f0f1ff;color:var(--violet)}.student-details-actions .edit-icon:first-child svg{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.student-finance-page{margin:0 auto}.student-finance-page>header{display:grid;gap:4px}.student-finance-page>header .subtitle{font-size:16px}.finance-overview{display:grid;gap:18px;padding:20px}.finance-overview-main{display:grid;gap:4px;padding-bottom:16px;border-bottom:1px solid var(--line)}.finance-overview-main span,.finance-metrics span,.finance-flow-row span{color:var(--muted);font-size:13px;font-weight:650}.finance-overview-main strong{font-size:32px;letter-spacing:-1px}.finance-metrics{display:grid;grid-template-columns:1fr 1fr;gap:14px}.finance-metrics>div{display:grid;gap:4px}.finance-metrics strong{font-size:18px}.finance-metrics small{color:var(--muted);font-size:12px}.finance-debt{color:var(--danger-ink)}.finance-flow{display:grid;gap:12px;padding:20px}.finance-flow h2{font-size:18px}.finance-flow-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.finance-flow-row strong{font-size:15px}.finance-flow-row:nth-of-type(2) strong{color:var(--mint-ink)}.finance-flow-row:nth-of-type(3) strong{color:var(--danger-ink)}.finance-flow-row:nth-of-type(4) strong{color:var(--violet)}.finance-flow p{margin-top:3px;color:var(--muted);font-size:12px;line-height:17px}.finance-history{display:grid;gap:11px}.finance-operations{display:grid;gap:9px}.finance-operation{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;padding:14px 15px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 5px 14px #34375a06}.finance-operation-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;font-size:22px;font-weight:500}.finance-operation.in .finance-operation-icon{background:var(--mint);color:var(--mint-ink)}.finance-operation.out .finance-operation-icon{background:var(--danger-soft);color:var(--danger-ink)}.finance-operation>div{display:grid;min-width:0;gap:3px}.finance-operation>div>strong{font-size:14px}.finance-operation>div>span{overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.finance-operation-amount{text-align:right}.finance-operation.in .finance-operation-amount>strong{color:var(--mint-ink)}.finance-operation.out .finance-operation-amount>strong{color:var(--danger-ink)}.finance-empty{display:grid;gap:5px;padding:28px 18px;color:var(--muted);text-align:center}.finance-empty strong{color:var(--ink)}.finance-empty p{font-size:13px}@media(max-width:420px){.finance-overview,.finance-flow{padding:17px}.finance-overview-main strong{font-size:28px}.finance-operation{grid-template-columns:37px minmax(0,1fr);padding:12px}.finance-operation-icon{width:34px;height:34px}.finance-operation-amount{grid-column:2;text-align:left}.student-details-actions{gap:6px}.student-details-actions .edit-icon{width:38px;height:38px}}

.students-list-screen{display:grid;gap:18px}.students-hero{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:4px 2px}.students-hero>div{display:grid;gap:4px}.students-hero .screen-eyebrow{display:none}.students-hero h1{font-size:36px;letter-spacing:-1.25px;line-height:1.06}.students-hero p{color:var(--muted);font-size:15px}.students-add-button{display:flex;align-items:center;gap:initial;min-height:46px;padding:0 17px;border-radius:15px;font-weight:700}.students-add-button span{font-size:22px;font-weight:400;line-height:1}.students-controls{display:grid;grid-template-columns:minmax(0,1fr) 195px;gap:10px;align-items:end}.student-search-control,.student-filter-control{display:grid;gap:5px;color:#747b91;font-size:12px;font-weight:700}.student-search-control{position:relative}.student-search-control svg{position:absolute;top:50%;left:15px;width:19px;height:19px;fill:none;stroke:#9ba1b4;stroke-width:2;transform:translateY(-50%);pointer-events:none}.student-search-control input,.student-filter-control select{width:100%;height:48px;border:1px solid var(--line);border-radius:15px;background:#fff;color:var(--ink);outline:none;box-shadow:0 5px 14px #34375a05}.student-search-control input{padding:0 15px 0 45px}.student-filter-control select{padding:0 36px 0 14px;font-size:14px;font-weight:650}.student-search-control input:focus,.student-filter-control select:focus{border-color:var(--violet);box-shadow:0 0 0 3px #6267e921}.student-list{display:grid;gap:10px}.student-list-card{display:grid;grid-template-columns:48px minmax(0,1fr) 34px;align-items:center;gap:14px;min-height:116px;padding:18px 16px;border:1px solid var(--line);border-radius:20px;background:#fff;color:var(--ink);text-align:left;box-shadow:0 6px 18px #34375a07;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.student-list-card:hover{border-color:#cfd1f3;box-shadow:0 11px 24px #454a7710;transform:translateY(-1px)}.student-list-avatar{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#e6e8ff;color:var(--violet);font-size:16px;font-weight:800}.student-list-card:nth-child(3n+2) .student-list-avatar{background:#e4f8f0;color:#35a17d}.student-list-card:nth-child(3n) .student-list-avatar{background:#fff0de;color:#c97925}.student-list-copy{display:grid;min-width:0;gap:3px}.student-list-copy>strong{overflow:hidden;font-size:17px;line-height:22px;text-overflow:ellipsis;white-space:nowrap}.student-list-copy>span{overflow:hidden;color:#858ca0;font-size:13px;line-height:17px;text-overflow:ellipsis;white-space:nowrap}.student-list-upcoming{margin-top:1px}.student-list-metrics{display:flex!important;flex-wrap:wrap;gap:6px;margin-top:5px;overflow:visible!important;white-space:normal!important}.student-list-balance,.student-list-debt{display:inline-flex;align-items:center;min-height:23px;padding:3px 7px;border-radius:7px;font-size:11px!important;font-weight:750;line-height:1.1!important}.student-list-balance{background:#fff6df;color:#b77a1d}.student-list-balance.is-positive{background:var(--mint);color:var(--mint-ink)}.student-list-balance.is-negative{background:var(--danger-soft);color:var(--danger-ink)}.student-list-debt{background:var(--danger-soft);color:var(--danger-ink)}.student-list-arrow{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f4f4ff;color:var(--violet);font-size:25px;font-weight:400;line-height:1}.students-empty{display:grid;justify-items:center;gap:7px;padding:38px 20px;color:var(--muted);text-align:center}.students-empty>span{display:grid;place-items:center;width:46px;height:46px;border-radius:15px;background:var(--violet-soft);color:var(--violet);font-size:28px}.students-empty strong{color:var(--ink);font-size:16px}.students-empty p{font-size:14px}.students-empty .primary{margin-top:4px;padding:11px 16px}@media(max-width:620px){.students-hero{align-items:start;padding:0}.students-hero h1{font-size:32px}.students-add-button{min-width:44px;width:44px;padding:0;justify-content:center;font-size:0}.students-add-button span{font-size:25px}.students-controls{grid-template-columns:1fr}.student-filter-control{grid-template-columns:66px minmax(0,1fr);align-items:center;gap:8px}.student-list-card{grid-template-columns:43px minmax(0,1fr) 30px;gap:11px;min-height:108px;padding:15px 13px}.student-list-avatar{width:43px;height:43px;font-size:15px}.student-list-copy>strong{font-size:16px}.student-list-arrow{width:28px;height:28px}.student-list-metrics{margin-top:4px}}
.student-filter-control{display:block}.student-filter-control select{height:48px}@media(max-width:620px){.student-filter-control{display:block}}
.student-list-card>.student-list-avatar{grid-column:1;grid-row:1}.student-list-card>.student-list-copy{grid-column:2;grid-row:1;width:100%}.student-list-card>.student-list-arrow{grid-column:3;grid-row:1}.student-list-card .student-list-copy>span{grid-column:auto}
.recurring-weekly-time{display:grid}
.planner-date>i{position:absolute;top:6px;right:7px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--violet-soft);color:var(--violet);font-size:10px;font-weight:800;line-height:1;font-style:normal}.planner-date>i:empty{display:none}.planner-date.selected>i{background:#fff;color:var(--violet)}
.today-screen{max-width:none;margin:0 auto}
.finance-debt-toggle{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin-top:3px;padding:4px 0;background:transparent;color:var(--violet);text-align:left}.finance-debt-toggle>span{color:var(--muted);font-size:12px;font-weight:650}.finance-debt-toggle>b{font-size:12px}.finance-debt-toggle i{margin-left:2px;font-size:16px;font-style:normal;vertical-align:-1px}.finance-debt-lessons{display:grid;gap:8px;margin-top:16px;padding-top:15px;border-top:1px solid var(--line)}.finance-debt-lessons-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.finance-debt-lessons-heading strong{font-size:15px}.finance-debt-lessons-heading span{color:var(--danger-ink);font-size:14px;font-weight:750}.finance-debt-lesson{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px;padding:11px 12px;border:1px solid #f1dfe2;border-radius:13px;background:#fff8f9}.finance-debt-lesson time{color:#747b91;font-size:12px;font-weight:650}.finance-debt-lesson>div{display:grid;gap:2px;min-width:0}.finance-debt-lesson strong{color:var(--danger-ink);font-size:14px}.finance-debt-lesson span{overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}@media(max-width:420px){.finance-debt-lesson{grid-template-columns:1fr;gap:3px}}

.finance-debt-lesson{width:100%;color:var(--ink);font:inherit;text-align:left;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.finance-debt-lesson:hover{border-color:#e9bcc5;box-shadow:0 5px 14px #7e34400d;transform:translateY(-1px)}.finance-debt-lesson:focus-visible{outline:3px solid #007aff66;outline-offset:2px}

.students-screen,.planner-screen,.android-tab{max-width:none;margin:0 auto}

/* The entry screen uses the same quiet visual language as the public Helly page. */
body:has(.auth-landing){background:#f7f7f2;color:#202420}body:has(.auth-landing)::before,body:has(.auth-landing)::after{position:fixed;z-index:-1;content:"";border-radius:50%;pointer-events:none}body:has(.auth-landing)::before{width:min(76vw,780px);height:min(76vw,780px);right:-33vw;bottom:-39vw;background:#d9e8bf}body:has(.auth-landing)::after{width:min(48vw,490px);height:min(48vw,490px);top:-26vw;left:-19vw;background:#eee0f5}.app:has(.auth-landing){display:grid;min-height:100svh;padding:28px;place-items:center}.auth-landing{position:relative;z-index:0;display:grid;gap:20px;align-content:center;width:min(100%,510px);min-height:auto;margin:0}.auth-landing::before{position:absolute;z-index:-1;top:-38px;right:-49px;width:205px;height:205px;content:"";border-radius:43% 57% 57% 43%;background:#e6edcf;transform:rotate(-13deg)}.auth-brand{display:flex;justify-content:center}.auth-landing .brand{display:inline-flex;align-items:center;gap:10px;color:#202420;font-size:24px;font-weight:800;letter-spacing:-1.3px;line-height:1}.auth-landing .brand-mark{display:grid;place-items:center;width:33px;height:33px;border-radius:11px;background:#383c2d;color:#fff;font-family:Georgia,serif;font-size:23px;font-weight:600;letter-spacing:-2px;line-height:1;transform:rotate(-4deg)}.auth-landing .auth-card{gap:22px;padding:38px;border:1px solid #d6d8c9;border-radius:23px;background:#fcfcf9;box-shadow:0 28px 50px #4f57311c,0 5px 12px #4f573112}.auth-landing .auth-card-heading{display:grid;gap:11px;text-align:center}.auth-landing .auth-card-heading h2{margin:0;color:#202420;font-size:32px;font-weight:750;letter-spacing:-1.35px;line-height:1.06}.auth-landing .auth-card-heading p{max-width:390px;margin:0 auto;color:#6d7268;font-size:16px;line-height:1.45}.auth-landing .field{gap:7px;color:#555b50;font-size:13px;font-weight:750}.auth-landing .field input{min-height:53px;padding:0 15px;border:1px solid #d6d8cf;border-radius:13px;background:#fff;color:#202420;box-shadow:none}.auth-landing .field input::placeholder{color:#a2a69d}.auth-landing .field input:focus{border-color:#7a9448;outline:3px solid #dfeac93d}.auth-landing .consent{gap:10px;color:#73786e;font-size:12px;line-height:1.45}.auth-landing .consent input{width:17px;height:17px;margin:1px 0 0;accent-color:#61763b}.auth-landing .consent a{color:#596d37;font-weight:700}.auth-landing .primary{min-height:53px;border-radius:14px;background:#202420!important;color:#fff;box-shadow:0 12px 22px #20242021;transition:background .18s ease,box-shadow .18s ease,transform .18s ease}.auth-landing .primary:hover{background:#3a402f!important;box-shadow:0 17px 26px #2024202b;transform:translateY(-2px)}.auth-landing .primary span{font-size:20px;line-height:1}.auth-landing .auth-footnote{margin:0;color:#858a80;font-size:12px;text-align:center}.auth-landing .notice{border-color:#efd8d5;background:#fff7f6;color:#a54c45}@media(max-width:560px){.app:has(.auth-landing){padding:20px 18px}.auth-landing{gap:17px}.auth-landing .brand{font-size:21px}.auth-landing .brand-mark{width:29px;height:29px;border-radius:10px;font-size:20px}.auth-landing .auth-card{gap:20px;padding:29px 22px;border-radius:20px}.auth-landing .auth-card-heading h2{font-size:28px;letter-spacing:-1.1px}.auth-landing .auth-card-heading p{font-size:15px}.auth-landing::before{top:-20px;right:-22px;width:150px;height:150px}body:has(.auth-landing)::before{right:-48vw;bottom:-23vw}body:has(.auth-landing)::after{top:-32vw;left:-30vw}}
.auth-code-landing .secondary{min-height:49px;border:1px solid #d6d8cf;border-radius:13px;background:#fff;color:#4d5542;font-size:14px;font-weight:750;transition:border-color .18s ease,background .18s ease,transform .18s ease}.auth-code-landing .secondary:hover:not(:disabled){border-color:#b5c78d;background:#f8faef;transform:translateY(-1px)}.auth-code-landing .secondary:disabled{border-color:#e6e7e1;background:#f4f4f0;color:#a4a89f;cursor:default}.auth-code-landing .auth-footnote a{color:#596d37;font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* Unified Helly application layer: quiet cream, graphite and olive surfaces. */
:root{--ink:#202420;--muted:#6d7268;--canvas:#f7f7f2;--surface:#fcfcf9;--surface-soft:#f1f3e8;--line:#d6d8c9;--olive:#61763b;--olive-bright:#778f42;--olive-soft:#e6edcf;--olive-pale:#d9e8bf;--violet:#202420;--violet-soft:#e6edcf;--danger:#a54c45;--danger-soft:#fff2f0;--warning:#9b7025;--warning-soft:#fff6df;color:var(--ink);background:var(--canvas)}
body,body:has(.auth-landing){background:var(--canvas);color:var(--ink)}body:has(.screen)::before,body:has(.screen)::after{position:fixed;z-index:-1;content:"";border-radius:50%;pointer-events:none}body:has(.screen)::before{top:-340px;right:-300px;width:700px;height:700px;background:#edf1dc}body:has(.screen)::after{bottom:-420px;left:-360px;width:740px;height:740px;background:#f0f2e9}.app{width:min(100%,1180px);padding:34px 28px 126px}.screen{gap:20px}.screen h1,.today-header h1{color:var(--ink);font-weight:760;letter-spacing:-1.25px}.screen h2{color:var(--ink);letter-spacing:-.45px}.subtitle,.muted,.screen p{color:var(--muted)}
.app-header{display:flex;align-items:center;min-height:38px;margin:0 0 22px}.app-header .brand{display:inline-flex;align-items:center;gap:9px;color:var(--ink);font-size:22px;font-weight:800;letter-spacing:-1.15px;line-height:1;text-decoration:none}.app-header .brand-mark{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:#383c2d;color:#fff;font-family:Georgia,serif;font-size:21px;font-weight:600;letter-spacing:-2px;line-height:1;transform:rotate(-4deg)}.app-header .brand:hover{color:#3a402f}.app-header .brand:focus-visible{outline:3px solid #aabf7880;outline-offset:4px}@media(max-width:620px){.app-header{min-height:32px;margin-bottom:16px}.app-header .brand{font-size:20px}.app-header .brand-mark{width:28px;height:28px;border-radius:9px;font-size:19px}}
.card,.modal-content,.student-list-card,.planner-event,.today-lesson,.finance-debt-lesson{border:1px solid var(--line);border-radius:21px;background:white;box-shadow:0 14px 32px #414b2b0c}.card{padding:18px}.card:hover{border-color:#c7cdb5}.stack{gap:14px}.field,.field-label{color:#545b4d;font-size:13px;font-weight:750}.field input,.field select,.field textarea,input[type="search"],.student-search input{min-height:50px;border:1px solid var(--line);border-radius:13px;background:#fff;color:var(--ink);box-shadow:none}.field textarea{min-height:104px}.field input:focus,.field select:focus,.field textarea:focus,input[type="search"]:focus{border-color:var(--olive-bright);outline:3px solid #dfeac980}.field input::placeholder,.field textarea::placeholder{color:#9a9f94}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #aabf7880;outline-offset:2px}
.primary,button.primary,.full-button.primary{min-height:48px;border:1px solid #202420!important;border-radius:13px!important;background:#202420!important;color:#fff!important;font-weight:750;box-shadow:0 10px 20px #2024201c;transition:background .18s ease,box-shadow .18s ease,transform .18s ease}.primary:hover:not(:disabled),button.primary:hover:not(:disabled){background:#3a402f!important;box-shadow:0 15px 25px #20242029;transform:translateY(-1px)}.secondary,button.secondary,.back-link{min-height:46px;border:1px solid var(--line)!important;border-radius:13px!important;background:#fff!important;color:#4d5542!important;font-weight:750;box-shadow:none;transition:border-color .18s ease,background .18s ease,transform .18s ease}.secondary:hover:not(:disabled),button.secondary:hover:not(:disabled),.back-link:hover{border-color:#b7c991!important;background:#f8faef!important;transform:translateY(-1px)}.danger,button.danger{border-color:#e4bbb6!important;background:var(--danger-soft)!important;color:var(--danger)!important}.primary:disabled,.secondary:disabled,button:disabled{opacity:.52;cursor:default;transform:none!important;box-shadow:none!important}.actions{gap:10px}.action-icon{width:48px;min-height:48px}.notice{border-color:#eccfca;background:var(--danger-soft);color:var(--danger)}
.pill,.status,.screen-eyebrow,.ios-pill{border:0;background:var(--olive-soft);color:#4e6130}.orange-pill,.status.cancelled,.status.missed{background:var(--warning-soft);color:var(--warning)}.status.done,.status.completed{background:#e4efdf;color:#557245}.nav{border:1px solid var(--line);border-radius:19px;background:#fcfcf9e8;box-shadow:0 12px 28px #414b2b14;backdrop-filter:blur(12px)}.nav button{color:#74796f}.nav button.active{background:var(--olive-soft);color:#42512a}.nav button.active::after{background:var(--olive)}.nav svg{stroke:currentColor}.top{align-items:flex-start}.top>.primary{white-space:nowrap}
.today-header,.planner-header,.students-hero{padding:4px 1px}.today-header p,.screen-eyebrow{color:#65734a}.today-summary,.today-overview,.planner-summary,.finance-overview,.profile-summary{border-color:#cfd8b7;background:linear-gradient(135deg,#fcfcf9 0%,#f2f6e5 100%)}.today-avatar,.student-list-avatar{background:var(--olive-soft)!important;color:#526632!important}.today-stat,.planner-stat,.finance-metric{border-color:#dbe3c9;background:#f8faef}.today-lesson,.planner-event,.student-list-card{box-shadow:0 8px 18px #414b2b09}.today-lesson:hover,.planner-event:hover,.student-list-card:hover{border-color:#c2ce9e!important;box-shadow:0 13px 25px #414b2b12!important}.planner-date.selected{border-color:var(--olive-soft)!important;background:var(--violet)!important;color:#fff!important;box-shadow:0 8px 18px #2024202b!important}.calendar-day.selected{background:#202420!important;color:#fff!important}.planner-date.today,.calendar-day.today{background:var(--olive-soft)!important;color:#46572d!important}.planner-date>i{background:var(--olive-soft)!important;color:#516332!important}.planner-date.selected>i{background:#fff!important;color:#3e4c28!important}.month-calendar,.planner-calendar{border-color:var(--line)!important;background:var(--surface)!important}.calendar-controls button,.calendar-month-button{border-color:var(--line)!important;background:#fff!important;color:#4d5542!important}
.today-add,.today-week-dates span.active{background:#202420!important;color:#fff!important;box-shadow:0 8px 20px #20242029}.planner-event-line::before{background:#202420!important;box-shadow:0 0 0 2px var(--olive-soft)!important}.planner-event-line{background:#dbe3c9!important}
.students-controls,.student-filter-control,.student-search{border-color:var(--line)!important;background:var(--surface)!important}.student-filter-control select{border-color:var(--line)!important;background:#fff!important;color:var(--ink)!important}.student-list-balance.is-positive{background:#e4efdf!important;color:#557245!important}.student-list-balance.is-negative,.student-list-debt{background:var(--danger-soft)!important;color:var(--danger)!important}.student-list-balance.is-zero{background:var(--surface-soft)!important;color:var(--muted)!important}.student-list-arrow{background:var(--olive-soft)!important;color:#536532!important}.finance-debt-lesson{background:#fffaf8!important;border-color:#ead6d1!important}.finance-debt-lesson:hover{border-color:#dfbcb5!important;box-shadow:0 10px 20px #7e344010!important}.finance-debt-toggle{color:var(--olive)!important}.finance-debt-lessons{border-color:var(--line)!important}.finance-debt-lessons-heading span,.finance-debt-lesson strong{color:var(--danger)!important}.finance-flow-row{border-color:var(--line)!important}
.chip,.weekday-chip span,.duration-chip,.recurring-toggle,.student-filter-chip{border-color:var(--line)!important;background:#fff!important;color:#50574a!important}.chip.active,.weekday-chip input:checked+span,.duration-chip.active,.recurring-toggle:has(input:checked){border-color:#aabd79!important;background:var(--olive-soft)!important;color:#48582e!important}.profile-grid,.android-form,.student-details{border-color:var(--line)}.privacy-actions{border-color:#d7dfbf;background:#f9fbee}.privacy-actions h2{color:var(--ink)}
.modal{padding:0;border:0;background:transparent}.modal::backdrop{background:#20242066;backdrop-filter:blur(3px)}.modal-content{width:min(100%,680px);max-height:min(90vh,800px);overflow:auto;padding:24px;background:var(--surface)}.modal-head{border-color:var(--line)}.close{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink)}.lesson-detail .lesson-card-head,.student-details-head{border-color:var(--line)}
.auth-landing .auth-card{background:var(--surface)}
.auth-landing .brand{text-decoration:none}
@media(max-width:620px){.app{padding:max(16px,calc(16px + env(safe-area-inset-top,0px))) 16px 112px}.screen{gap:16px}.screen h1,.today-header h1{font-size:32px}.card{padding:15px;border-radius:18px}.top>.primary{min-width:48px;padding-inline:13px}.modal-content{padding:19px;border-radius:20px}.nav{right:12px;bottom:12px}.today-lesson,.planner-event,.student-list-card{border-radius:17px}}

@media(max-width:520px){.planner-event{grid-template-columns:47px 12px minmax(0,1fr);gap:8px;padding:10px 10px;row-gap:0}.planner-date>i{position:absolute;top:6px;right:4px;display:grid;place-items:center;min-width:8px;height:8px;padding:0 4px;border-radius:9px;background:var(--violet-soft)!important;color:var(--violet)!important;font-size:10px;font-weight:800;line-height:1;font-style:normal;text-indent:-9999px}}

.planner-date.selected>strong{color:white}

.planner-overview .planner-kicker{margin:0;color:#464952}.planner-overview-metric span{color:#464952;font-size:14px}.planner-overview dt{color:#464952;font-size:13px}.planner-overview dd{margin:0;color:#000;font-size:13px;font-weight:650;text-align:left}.planner-overview-metric strong{color:#000;font-size:42px;letter-spacing:-1.5px;line-height:1}.planner-calendar-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;color:#000}.planner-calendar-toggle span{display:block;line-height:1}.back-link{padding:5px 10px}.student-card{grid-template-rows:inherit}.student-info{display:grid;grid-template-columns:1fr 1fr;gap:2px}.student-info strong{font-size:16px;line-height:22px;font-weight:500;text-align:right}
@media(max-width:620px){.planner-calendar-toggle{grid-column:1/-1;min-height:46px;margin-top:4px;padding:10px 12px;border:1px solid var(--line);border-radius:13px;background:var(--olive-soft);color:#42512a;font-size:14px;font-weight:750}.planner-calendar-toggle span{display:none;place-items:center;width:24px;height:24px;border-radius:50%;background:#fff;font-size:17px;line-height:1}}
@media(max-width:520px){.planner-calendar-toggle{grid-row:auto;align-self:end}}
@media(max-width:420px){.planner-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;padding-inline:0}.planner-hero>div:first-child{min-width:0}.planner-hero-actions{gap:6px}.planner-icon-button{width:44px;min-height:44px}.planner-add-button{min-height:44px;padding-inline:12px;font-size:14px;white-space:nowrap}}
.student-details .subtitle{margin-top:13px}
.student-details-actions .edit-icon{border:1px solid #d8dfc3;background:var(--olive-soft);color:#4e6130}.student-details-actions .edit-icon:first-child{background:#f1f4e8;color:#4e6130}.student-details-actions .edit-icon:hover{border-color:#bdca98;background:#e0e8c9;color:#3e4c28}.student-details .danger.full-button{border-color:#ead9b4!important;background:var(--warning-soft)!important;color:#7d5b20!important;box-shadow:none}
[data-action="request-tutor-notifications"]{display:none}
.planner-date.selected.today>strong{color:#000}
