
/* Project-wide typography */
html,body,button,input,select,textarea,optgroup{font-family:Calibri,"Times New Roman",sans-serif !important;}
*{font-family:inherit !important;}
:root{--bg:#fff7ee;--card:#fff;--text:#1c1c1c;--muted:#5e564e;--line:rgba(28,28,28,.1);--accent:#1c1c1c;--accent2:#fff3cc;--green:#1f9d68;--orange:#c67a17;--red:#cb4646;--nav:#1c1c1c;--shadow:0 12px 28px rgba(70,40,10,.08);--sun:#ffd84a;--sun-deep:#e2b423}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--text);background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}a{color:inherit}.muted{color:var(--muted)}
.container{width:min(1160px,calc(100% - 36px));margin:auto}.site-head{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.site-head .inner{height:72px;display:flex;align-items:center;justify-content:space-between;gap:18px}.logo{display:flex;align-items:center;gap:11px;font-weight:800}.logo-mark{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:var(--nav);color:#fff}.site-nav{display:flex;align-items:center;gap:8px}.site-nav button{border:0;background:transparent;padding:9px 11px;border-radius:9px;color:#435067}.site-nav button:hover{background:#f1f4f8}.btn{border:1px solid var(--line);background:#fff;color:var(--text);padding:10px 14px;border-radius:10px;font-weight:700}.btn:hover{background:#f8fafc}.btn-primary{background:var(--accent);color:#fff;border-color:var(--accent)}.btn-primary:hover{background:#245ed1}.btn-danger{color:var(--red)}.btn-link{background:none;border:0;color:var(--accent);padding:0;font-weight:700}.actions{display:flex;gap:9px;flex-wrap:wrap}
.hero{padding:68px 0 56px;background:linear-gradient(180deg,#fff 0,#f8faff 100%)}.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:42px;align-items:center}.eyebrow{display:inline-flex;align-items:center;background:var(--accent2);color:#2859ac;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800}.hero h1{font-size:48px;line-height:1.05;margin:16px 0 14px;letter-spacing:-1px}.hero p{font-size:18px;line-height:1.55;color:#596274;max-width:650px}.hero-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:var(--shadow)}.mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.mini{border:1px solid var(--line);border-radius:12px;padding:14px}.mini b{display:block;margin-bottom:4px}.section{padding:56px 0}.section h2{text-align:center;margin:0 0 10px;font-size:30px}.section>.lead{text-align:center;color:var(--muted);max-width:700px;margin:0 auto 26px;line-height:1.5}.cards3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.feature{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:var(--shadow)}.feature .icon{width:38px;height:38px;border-radius:10px;background:var(--accent2);color:#2d5bab;display:grid;place-items:center;font-weight:800;margin-bottom:14px}.footer{padding:32px 0;border-top:1px solid var(--line);color:var(--muted);font-size:12px}
.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:30px}.auth-card{width:min(620px,100%);background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:var(--shadow)}.auth-card h1{margin:0 0 8px}.auth-card p{line-height:1.5}.form{display:grid;gap:13px;margin-top:18px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field label{font-size:11px;font-weight:800;color:#586276;display:block;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:10px;background:#fff;padding:11px 12px;outline:none}.field textarea{min-height:90px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#9cb9f6;box-shadow:0 0 0 3px var(--accent2)}.note{margin-top:14px;background:#f7f9fc;border:1px solid var(--line);padding:12px;border-radius:10px;color:var(--muted);font-size:12px;line-height:1.45}.switch-line{display:flex;gap:10px;align-items:center;justify-content:center;margin-top:16px;font-size:12px}
.app{min-height:100vh;display:flex}.sidebar{width:246px;background:var(--nav);color:#dfe7f2;min-height:100vh;padding:18px 14px;position:sticky;top:0;height:100vh}.sidebar .logo{margin-bottom:18px}.sidebar .logo-mark{background:#fff;color:var(--nav)}.nav{display:grid;gap:4px}.nav button{width:100%;border:0;background:transparent;color:#cdd7e6;text-align:left;padding:10px 11px;border-radius:9px}.nav button:hover{background:#22334e}.nav button.active{background:#fff;color:var(--nav)}.side-bottom{position:absolute;left:14px;right:14px;bottom:15px;border:1px solid #2b3b55;border-radius:11px;padding:11px}.side-bottom .small{font-size:10px;color:#95a3b8}.main{flex:1;min-width:0}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 26px;position:sticky;top:0;z-index:10}.page-title h1{margin:0;font-size:22px}.page-title p{margin:4px 0 0;font-size:11px;color:var(--muted)}.person{display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e8effc;color:#2858a5;font-size:11px;font-weight:800}.content{padding:24px 26px 44px}.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px;box-shadow:0 2px 8px rgba(23,32,51,.02)}.stat .label{font-size:11px;color:var(--muted)}.stat .value{font-weight:800;font-size:26px;margin:6px 0}.stat .hint{font-size:10px;color:var(--muted)}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.section-head h2{font-size:15px;margin:0}.table-wrap{overflow:auto}.table{border-collapse:collapse;width:100%;font-size:12px}.table th,.table td{padding:10px 8px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}.table th{font-size:10px;color:#697486}.badge{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:800}.badge-blue{background:#edf3ff;color:#315da7}.badge-green{background:#e8f7f0;color:#20865d}.badge-orange{background:#fff2df;color:#b06a10}.badge-red{background:#fdecec;color:#bd4444}.empty{border:1px dashed var(--line);border-radius:10px;padding:24px;text-align:center;color:var(--muted);font-size:12px}.list{display:grid;gap:8px}.list-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding:10px 0}.list-row:last-child{border-bottom:0}.lesson{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:10px;padding:10px}.time{width:48px;font-weight:800}.lesson-title{font-size:13px;font-weight:800}.lesson-sub{font-size:10px;color:var(--muted);margin-top:3px}.calendar{display:grid;grid-template-columns:90px repeat(7,minmax(110px,1fr));border:1px solid var(--line);border-radius:12px;overflow:hidden;min-width:900px}.calcell{min-height:58px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:6px;font-size:10px}.calhead{background:#f7f9fc;font-weight:800}.event{background:var(--accent2);border:1px solid #d7e5ff;border-radius:8px;padding:6px;margin-top:4px;color:#2f5fae}.event b{display:block;font-size:10px}.chat-grid{display:grid;grid-template-columns:255px 1fr;min-height:560px}.chat-list{border-right:1px solid var(--line);padding-right:10px}.chat-item{width:100%;text-align:left;border:0;background:#fff;padding:10px;border-radius:10px;margin-bottom:4px}.chat-item.active{background:#eff4ff}.chat-main{display:flex;flex-direction:column;min-width:0;padding-left:14px}.messages{flex:1;max-height:440px;overflow:auto;display:grid;align-content:start;gap:8px;padding:8px 0}.msg{max-width:72%;padding:9px 11px;background:#f2f4f7;border-radius:11px;font-size:12px}.msg.self{justify-self:end;background:#eaf1ff}.msg small{display:block;font-size:9px;color:var(--muted);margin-bottom:3px}.chat-input{display:flex;gap:8px;border-top:1px solid var(--line);padding-top:10px}.chat-input input{flex:1;border:1px solid var(--line);border-radius:10px;padding:10px}.modal-backdrop{position:fixed;inset:0;background:rgba(13,19,31,.45);display:grid;place-items:center;padding:18px;z-index:50}.modal{width:min(620px,100%);background:#fff;border-radius:16px;padding:20px;box-shadow:0 24px 70px rgba(0,0,0,.25)}.modal-head{display:flex;align-items:center;justify-content:space-between}.modal-head h3{margin:0;font-size:16px}.close{border:0;background:transparent;font-size:24px;color:#667080}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.toast{position:fixed;right:20px;bottom:20px;background:var(--nav);color:#fff;padding:11px 14px;border-radius:10px;font-size:12px;opacity:0;transform:translateY(8px);transition:.2s;z-index:80}.toast.show{opacity:1;transform:none}
.hello{font-size:28px;font-weight:800;letter-spacing:-.4px;margin:0 0 14px}.folds{display:grid;gap:14px}.fold{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 2px 8px rgba(23,32,51,.02)}.fold-head{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;border:0;background:transparent;padding:16px 18px;font-size:16px;font-weight:800;text-align:left;color:var(--text)}.fold-chevron{width:9px;height:9px;border-right:2px solid #5c6778;border-bottom:2px solid #5c6778;transform:rotate(45deg);margin-top:-4px;flex:0 0 auto}.fold.collapsed .fold-chevron{transform:rotate(-135deg);margin-top:4px}.fold.collapsed .fold-body{display:none}.fold{min-width:0}.fold-body{padding:0 18px 18px;min-width:0}.course-rail{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0}.course-scroller{min-width:0;display:flex;gap:14px;overflow-x:auto;scroll-behavior:smooth;scroll-snap-type:x mandatory;scrollbar-width:none}.course-scroller::-webkit-scrollbar{display:none}.course-card{flex:0 0 460px;max-width:100%;scroll-snap-align:start;border:1px solid #d5dbe6;border-radius:18px;padding:18px;background:#fff}.course-top{display:grid;grid-template-columns:96px 1fr;gap:16px;align-items:center}.course-photo{width:96px;height:96px;border-radius:50%;border:3px solid #243044;display:grid;place-items:center;background:#f3f0e8;color:#243044;font-size:28px;font-weight:800}.course-card h3{margin:0;font-size:22px;line-height:1.15;letter-spacing:.03em;text-transform:uppercase}.course-teacher{margin-top:8px;color:#5c6778;font-size:14px}.course-count{text-align:right;margin:16px 0;font-weight:700}.course-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.course-btn{width:100%;min-height:42px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--text);font-size:13px;font-weight:700;line-height:1.25;display:inline-flex;align-items:center;justify-content:center;text-align:center}.course-btn:hover{background:#f8fafc}.course-btn.is-primary{background:var(--accent);border-color:var(--accent);color:#fff}.course-btn.is-primary:hover{background:#245ed1}.course-renew{margin-top:8px;min-height:40px;background:#f4f7fb;color:#243044}.rail-btn{width:36px;height:36px;flex:0 0 auto;border:1px solid var(--line);border-radius:50%;background:#fff;font-size:22px;line-height:1;color:#243044}.rail-btn:disabled{opacity:.35;cursor:default}.schedule-page{display:grid;gap:22px}.schedule-block h2{margin:0 0 12px;font-size:16px}.schedule-list{display:grid;gap:12px}.schedule-card{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:18px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px 18px}.schedule-date{text-align:center;padding-top:2px}.schedule-date b{display:block;font-size:32px;line-height:1;letter-spacing:-.4px}.schedule-date span{display:block;margin-top:3px;color:var(--muted);font-size:12px}.schedule-date strong{display:block;margin-top:8px;font-size:14px}.schedule-kicker{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.schedule-body h3{margin:8px 0 0;font-size:18px}.schedule-meta{margin-top:4px;color:#5c6778;font-size:13px}.schedule-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:0;padding-left:16px;border-left:1px solid var(--line);min-width:148px}.schedule-actions .course-btn{width:100%;min-height:38px;padding:8px 14px}@media(max-width:760px){.schedule-card{grid-template-columns:72px minmax(0,1fr);align-items:start}.schedule-actions{grid-column:1 / -1;flex-direction:row;flex-wrap:wrap;min-width:0;padding-left:0;border-left:0}.schedule-actions .course-btn{width:auto}}.cal-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}.view-switch{display:flex;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:#fff}.view-switch button{border:0;background:transparent;padding:8px 14px;font-weight:700;color:var(--text)}.view-switch button.active{background:var(--accent);color:#fff}.cal-nav{display:flex;align-items:center;gap:8px}.cal-nav b{min-width:160px;text-align:center;font-size:14px}.schedule-empty{margin:0 0 10px}.schedule-scope{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:12px}.week-scroll{overflow:auto;border:1px solid var(--line);border-radius:14px;background:#fff}.week-grid{display:grid;grid-template-columns:64px repeat(7,minmax(120px,1fr));min-width:980px}.week-times,.week-day{display:flex;flex-direction:column}.week-head{height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-bottom:1px solid var(--line);background:#f7f9fc;font-size:12px;color:var(--muted)}.week-head b{color:var(--text);font-size:16px;line-height:1}.week-day.today .week-head{background:#f4f8ff}.week-day.today .week-col{background-color:#f4f8ff}.week-day.today .week-head b{color:#2457b8}.week-time{display:flex;align-items:flex-start;justify-content:flex-end;padding:4px 8px 0 0;color:var(--muted);font-size:11px;box-sizing:border-box}.week-col{position:relative;background-image:repeating-linear-gradient(to bottom,transparent 0,transparent 55px,var(--line) 55px,var(--line) 56px);border-left:1px solid var(--line)}.week-event{position:absolute;border:1px solid #d5e3ff;border-radius:8px;background:#eef4ff;padding:6px 8px;text-align:left;overflow:hidden;z-index:1;color:var(--text)}.week-event.group{background:#f6f7fa;border-color:#e1e6ef}.week-event b{display:block;font-size:11px;line-height:1.25}.week-event span{display:block;margin-top:2px;font-size:10px;color:#5c6778}.week-now{position:absolute;left:0;right:0;border-top:2px solid var(--accent);z-index:2;pointer-events:none}.week-now::before{content:'';position:absolute;left:-4px;top:-5px;width:8px;height:8px;border-radius:50%;background:var(--accent)}.lesson-pop{position:fixed;z-index:60;width:280px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 16px 40px rgba(23,32,51,.14);padding:16px 16px 14px}.lesson-pop h3{margin:8px 28px 8px 0;font-size:18px}.lesson-pop-close{position:absolute;top:8px;right:8px;border:0;background:transparent;font-size:22px;line-height:1;color:#667080}.lesson-pop-line{font-size:13px;color:#5c6778;margin-top:4px}.lesson-pop-line b{color:var(--text)}.lesson-pop-status{margin-top:12px;background:#f4f7fb;border-radius:10px;padding:8px 10px;font-size:12px;font-weight:800;text-align:center}.lesson-pop-actions{display:flex;flex-direction:column;gap:8px;margin-top:12px}.lesson-pop-actions .course-btn{width:100%}.kv{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);font-size:13px}.kv span{color:var(--muted)}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.filters button{border-radius:999px;padding:8px 16px;min-height:36px;border:1px solid #d5dbe6;background:#f3f5f8;font-weight:700}.filters button:hover{background:#e8edf3}.filters button.active{background:var(--accent);color:#fff;border-color:var(--accent)}.filters button.active:hover{background:#245ed1}.filebox{border:1px dashed var(--line);border-radius:12px;padding:14px;background:#f8fafc}
@media(max-width:1000px){.hero-grid{grid-template-columns:1fr}.grid4{grid-template-columns:repeat(2,1fr)}.cards3,.grid3,.audience-grid,.steps-grid,.direction-grid{grid-template-columns:1fr}.prices-grid{grid-template-columns:repeat(2,1fr)}.sidebar{width:215px}.content{padding:20px}.topbar{padding:0 20px}}
@media(max-width:760px){.site-nav button:nth-child(3),.site-nav button:nth-child(4){display:none}.hero h1{font-size:36px}.form-row,.grid2,.grid4,.prices-grid{grid-template-columns:1fr}.sidebar{width:76px}.sidebar .logo div:last-child,.sidebar .nav button{font-size:0}.sidebar .nav button::before{content:'•';font-size:18px}.side-bottom{display:none}.content{padding:16px}.chat-grid{grid-template-columns:1fr}.chat-list{border-right:0;border-bottom:1px solid var(--line);padding-right:0;padding-bottom:8px}.chat-main{padding-left:0}.topbar{height:66px}}
.chat-card{padding:0;overflow:hidden}.chat-card .chat-grid{grid-template-columns:320px 1fr;min-height:640px}.chat-card .chat-list{padding:8px;overflow:auto}.chat-card .chat-item{display:flex;gap:10px;align-items:flex-start;background:transparent;padding:10px;border-radius:12px}.chat-card .chat-item.active{background:#eef4ff}.chat-avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#e8effc;color:#2858a5;font-size:13px;font-weight:800;flex:0 0 auto}.chat-item-body{min-width:0;flex:1;display:grid;gap:2px}.chat-title-row{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.chat-title-row b{font-size:14px}.chat-title-row time,.chat-sub,.chat-preview{color:var(--muted);font-size:12px}.chat-preview{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-card .chat-main{min-height:640px;padding-left:0}.chat-head{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line)}.chat-head b{font-size:16px}.chat-card .messages{flex:1;max-height:none;overflow:auto;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:16px;background:#f7f9fc}.chat-day{align-self:center;font-size:11px;color:var(--muted);background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px 8px}.chat-card .msg{max-width:min(72%,520px);padding:10px 12px;background:#fff;border-radius:14px;font-size:14px;line-height:1.4}.chat-card .msg.self{align-self:flex-end;background:#e7f0ff}.chat-card .msg time{display:block;margin-top:4px;font-size:11px;color:var(--muted);text-align:right}.chat-empty{color:var(--muted);font-size:14px}.chat-card .chat-input{padding:12px 16px}.teachers-layout{display:grid;grid-template-columns:minmax(200px,260px) minmax(0,1fr);gap:14px;align-items:start}@media(max-width:760px){.teachers-layout{grid-template-columns:1fr}}.cab-page{display:grid;gap:14px}.cab-card h2{margin:0;font-size:16px}.cab-card .lead{margin:4px 0 12px;color:var(--muted);font-size:13px}.cab-person{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;margin-bottom:4px}.cab-person .avatar{width:48px;height:48px;font-size:16px}.cab-row{display:grid;grid-template-columns:minmax(140px,200px) 1fr auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--line);font-size:14px}.cab-row span{color:var(--muted)}.cab-row b{font-weight:650;text-align:right}.cab-danger{border-color:#f0d0d0}
.public-section{scroll-margin-top:92px}.audience-grid{grid-template-columns:repeat(3,1fr)}.audience-card{min-height:238px;display:flex;flex-direction:column}.audience-icon{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:#eef4ff;color:#2f5fae;font-size:28px;margin-bottom:15px}.audience-card h3{margin:0 0 8px}.audience-card p{margin:0;line-height:1.55}.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.step-card{position:relative;overflow:hidden}.step-number{font-size:12px;font-weight:900;color:#315da7;background:#edf3ff;border-radius:999px;padding:5px 9px;display:inline-block;margin-bottom:12px}.step-card h3{margin:0 0 8px;font-size:17px}.step-card p{margin:0;line-height:1.55}.direction-grid{grid-template-columns:repeat(3,1fr)}.direction-card{min-height:138px}.direction-card h3{margin:0 0 7px}.direction-card .icon{font-size:18px}.prices-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.price-card{display:flex;flex-direction:column;min-height:300px}.price-card.featured{border-color:#b8ccf6;box-shadow:0 8px 26px rgba(47,111,237,.10)}.price-card h3{margin:0 0 8px;font-size:18px}.price{font-size:31px;font-weight:850;letter-spacing:-.5px;margin:7px 0}.price small{font-size:13px;font-weight:700;color:var(--muted)}.price-meta{font-size:12px;color:var(--muted);line-height:1.5}.price-list{display:grid;gap:8px;margin:16px 0 20px;padding:0;list-style:none}.price-list li{font-size:12px;color:#4f596a}.price-list li::before{content:'✓';font-weight:900;color:var(--green);margin-right:7px}.price-card .btn{margin-top:auto}.teacher-empty{padding:46px 20px}.public-note{margin-top:16px;text-align:center;color:var(--muted);font-size:12px}.public-cta{background:#16243a;color:#fff;border-radius:20px;padding:34px}.public-cta h2{color:#fff;text-align:left;margin:0 0 9px}.public-cta p{color:#cdd7e6;max-width:760px;line-height:1.55}.public-cta .btn{margin-top:8px}.public-top-actions{display:flex;gap:9px;align-items:center}.public-account{border:1px solid var(--line);background:#fff;color:var(--text);padding:9px 12px;border-radius:10px;font-weight:750}.teacher-card .icon{background:#f2f5f9}.teacher-card h3{margin:0 0 7px}.teacher-card p{line-height:1.5}.teacher-subjects{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px}.teacher-chip{font-size:10px;border:1px solid var(--line);background:#f8fafc;padding:5px 8px;border-radius:999px;color:#556074}


html,body{font-family:Candara,"Segoe UI","Trebuchet MS",sans-serif;background:
radial-gradient(820px 380px at 100% 0%,#ffe7c2 0%,transparent 62%),
radial-gradient(640px 320px at -8% 8%,#efe3ff 0%,transparent 55%),
var(--bg);color:var(--text)}
.site-head{background:rgba(255,247,238,.92);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.site-head .inner{height:78px}
.logo{font-size:18px;letter-spacing:-.3px}
.logo-mark,.sidebar .logo-mark{width:42px;height:42px;border-radius:14px;background:var(--sun);color:var(--text);box-shadow:0 3px 0 var(--sun-deep)}
.site-nav button{border-radius:999px;font-weight:800;color:#3d362f;padding:8px 12px}
.site-nav button:hover{background:rgba(28,28,28,.06)}
.site-nav .public-account{background:var(--sun);color:var(--text);border:0;border-radius:999px;padding:12px 18px;font-weight:800;box-shadow:0 3px 0 var(--sun-deep)}
.site-nav .public-account:hover{background:var(--sun);transform:translateY(1px);box-shadow:0 2px 0 var(--sun-deep)}
.btn{border-radius:999px;font-weight:800;border:1.5px solid var(--text);padding:11px 16px;background:#fff}
.btn:hover{background:#fffaf3}
.btn-primary,.course-btn.is-primary,.view-switch button.active,.filters button.active{background:var(--sun);color:var(--text);border-color:var(--sun);box-shadow:0 3px 0 var(--sun-deep)}
.btn-primary:hover,.course-btn.is-primary:hover,.filters button.active:hover{background:var(--sun);color:var(--text);box-shadow:0 2px 0 var(--sun-deep)}
.btn-link{color:var(--text);font-weight:800}
.btn-danger{color:var(--red);border-color:#f0c4c4}
.leave-list{margin:8px 0 14px;padding-left:18px}
.leave-list li{margin:4px 0}
.section{padding:72px 0}
.section h2{text-align:left;font-size:40px;line-height:1.05;letter-spacing:-1.2px;font-weight:800}
.section>.lead{text-align:left;margin:0 0 26px;max-width:680px;font-size:18px;line-height:1.5}
.feature{border:0;border-radius:26px;box-shadow:0 12px 28px rgba(70,40,10,.06)}
.feature .icon{border-radius:16px;background:#fff4cc;color:#1c1c1c}
.step-number{background:#1c1c1c;color:#ffd84a;border-radius:14px;padding:8px 12px;font-family:"Segoe UI",Arial,sans-serif;font-size:16px;font-variant-numeric:tabular-nums}
.step-card h3{font-size:20px}
.footer{font-size:14px;border-top:1px solid var(--line)}
.public-cta{background:var(--sun);color:var(--text);border-radius:32px;box-shadow:0 8px 0 var(--sun-deep)}
.public-cta h2,.public-cta p{color:var(--text)}
.public-note{font-size:15px}
.teacher-chip{font-size:12px;border-radius:999px;background:#fffaf3}
.auth-card{border:0;border-radius:32px;padding:32px;box-shadow:0 18px 44px rgba(70,40,10,.1)}
.auth-card h1{font-size:34px;letter-spacing:-.8px}
.field label{font-size:13px;color:#5e564e}
.field input,.field select,.field textarea{border-radius:14px;padding:12px 14px;font-size:16px;border-color:rgba(28,28,28,.14)}
.field input:focus,.field select:focus,.field textarea:focus{border-color:#e2b423;box-shadow:0 0 0 3px #fff3cc}
.note{border-radius:16px;background:#fffaf3;font-size:14px}
.switch-line{font-size:14px}
.app{background:transparent}
.sidebar{background:#fffaf3;color:var(--text);border-right:1px solid var(--line)}
.nav button{color:#3d362f;border-radius:999px;font-weight:750;font-size:15px}
.nav button:hover{background:rgba(28,28,28,.06)}
.nav button.active{background:var(--sun);color:var(--text)}
.side-bottom{border:1px solid var(--line);border-radius:18px;background:#fff}
.side-bottom .small{font-size:12px;color:#7a7168}
.topbar{height:78px;background:rgba(255,247,238,.92);backdrop-filter:blur(16px)}
.page-title h1{font-size:26px;letter-spacing:-.4px}
.page-title p{font-size:14px}
.avatar,.chat-avatar{background:#fff1cc;color:#1c1c1c}
.person b{font-size:15px!important}
.person small{font-size:13px!important;color:#7a7168!important}
.content{font-size:15px}
.card,.fold,.schedule-card,.schedule-scope,.lesson-pop,.modal{border-radius:22px;border-color:var(--line);box-shadow:0 10px 24px rgba(70,40,10,.05)}
.stat .label{font-size:13px}
.stat .value{font-size:30px}
.stat .hint{font-size:13px}
.section-head h2,.schedule-block h2,.cab-card h2{font-size:20px}
.table{font-size:14px}
.table th{font-size:12px}
.badge{font-size:12px;padding:5px 10px}
.badge-blue{background:#fff3cc;color:#6a4b00}
.empty{font-size:15px;border-radius:16px}
.lesson-title{font-size:15px}
.lesson-sub,.chat-title-row time,.chat-sub,.chat-preview,.chat-day{font-size:13px}
.fold-head{font-size:18px}
.course-btn{border-radius:999px;font-size:14px}
.course-card{border-radius:24px}
.hello{font-size:32px}
.filters button{background:#fff;border-color:rgba(28,28,28,.12)}
.week-head{background:#fffaf3}
.week-day.today .week-head,.week-day.today .week-col{background:#fff6df}
.week-day.today .week-head b{color:#1c1c1c}
.week-event{background:#fff6df;border-color:#f0d56a;color:#1c1c1c}
.week-event b{font-size:12px}
.week-event span{font-size:12px}
.week-now{border-top-color:#ff6b4a}
.week-now::before{background:#ff6b4a}
.chat-card .chat-item.active{background:#fff4cc}
.chat-card .messages{background:#fffaf3}
.chat-card .msg.self{background:#fff1c2}
.chat-card .msg{font-size:15px}
.modal{border-radius:24px}
.modal-head h3{font-size:20px}
.toast{background:#1c1c1c;border-radius:999px;font-size:14px}
.cab-card .lead,.cab-row,.kv,.lesson-pop-line{font-size:15px}
.lesson-pop h3{font-size:20px}
.lesson-pop-status{background:#fff6df;border-radius:12px;font-size:14px}

.mk-home{--ink:#1c1c1c;--soft:#5e564e;--cream:#fff7ee;--sun:#ffd84a;--sun-deep:#e2b423;--line:rgba(28,28,28,.08);background:
radial-gradient(820px 380px at 100% 0%,#ffe7c2 0%,transparent 62%),
radial-gradient(640px 320px at -8% 180px,#efe3ff 0%,transparent 60%),
var(--cream);color:var(--ink);min-height:100vh;font-family:Candara,"Segoe UI","Trebuchet MS",sans-serif}
.mk-wrap{width:min(1180px,calc(100% - 40px));margin:0 auto}
.mk-head{position:sticky;top:0;z-index:30;background:rgba(255,247,238,.9);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.mk-head-inner{min-height:78px;display:flex;align-items:center;gap:18px}
.mk-logo{display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:0;font-weight:800;font-size:18px;letter-spacing:-.3px}
.mk-logo-mark{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:var(--sun);color:var(--ink);box-shadow:0 3px 0 var(--sun-deep);font-size:14px}
.mk-nav{display:flex;align-items:center;gap:4px;margin-left:8px}
.mk-nav button{border:0;background:transparent;color:#3d362f;padding:8px 12px;border-radius:999px;font-weight:700}
.mk-nav button:hover{background:rgba(28,28,28,.06)}
.mk-cabinet{margin-left:auto;border:0;background:var(--sun);color:var(--ink);font-weight:800;padding:12px 18px;border-radius:999px;box-shadow:0 3px 0 var(--sun-deep)}
.mk-cabinet:hover{transform:translateY(1px);box-shadow:0 2px 0 var(--sun-deep)}
.mk-hero{padding:54px 0 28px}
.mk-hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:36px;align-items:center}
.mk-hero h1{font-size:62px;line-height:.98;letter-spacing:-2px;margin:0 0 16px;font-weight:800}
.mk-hero-lead{font-size:18px;line-height:1.55;color:var(--soft);max-width:560px;margin:0}
.mk-hero-note{margin:12px 0 0;color:#7a7168;font-size:15px;line-height:1.5;max-width:540px}
.mk-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.mk-btn{border-radius:999px;padding:14px 20px;font-weight:800;border:0;line-height:1.1}
.mk-btn-sun{background:var(--sun);color:var(--ink);box-shadow:0 4px 0 var(--sun-deep)}
.mk-btn-sun:hover{transform:translateY(2px);box-shadow:0 2px 0 var(--sun-deep)}
.mk-btn-line{background:#fff;color:var(--ink);border:1.5px solid var(--ink)}
.mk-btn-line:hover{background:#fffaf3}
.mk-btn-ink{background:var(--ink);color:#fff}
.mk-btn-ink:hover{background:#2c2c2c}
.mk-hero-visual{position:relative;min-height:460px}
.mk-orb{position:absolute;border-radius:50%;z-index:0}
.mk-orb-a{width:280px;height:280px;background:#ffe08a;right:36px;top:24px}
.mk-orb-b{width:180px;height:180px;background:#ffd0c4;left:18px;bottom:36px}
.mk-orb-c{width:120px;height:120px;background:#d9ccff;right:8px;bottom:64px}
.mk-lesson{position:absolute;left:72px;right:48px;top:86px;z-index:1;background:#fff;border-radius:32px;padding:22px;box-shadow:0 24px 50px rgba(70,40,10,.12)}
.mk-lesson-top{display:flex;align-items:center;gap:6px;color:#8a8178;font-size:13px;font-weight:700}
.mk-lesson-top span{width:10px;height:10px;border-radius:50%;background:#ffe08a}
.mk-lesson-top span:nth-child(2){background:#ffb4a2}
.mk-lesson-top span:nth-child(3){background:#c9b6ff}
.mk-lesson-top b{margin-left:6px;color:var(--ink)}
.mk-lesson h3{margin:18px 0 8px;font-size:28px;letter-spacing:-.6px}
.mk-eq{font-size:34px;font-weight:800;letter-spacing:-1px;background:#fff6df;border-radius:18px;padding:16px 18px}
.mk-pills{display:flex;gap:8px;margin-top:14px}
.mk-pills em{font-style:normal;background:#f6f1ea;border-radius:999px;padding:8px 12px;font-size:13px;font-weight:800}
.mk-meter{height:10px;border-radius:999px;background:#f3ece4;margin-top:16px;overflow:hidden}
.mk-meter span{display:block;width:68%;height:100%;background:#ff6b4a;border-radius:inherit}
.mk-sticker{position:absolute;z-index:2;background:#fff;border-radius:18px;padding:12px 14px;font-weight:800;font-size:14px;box-shadow:0 12px 30px rgba(70,40,10,.1);max-width:210px}
.mk-sticker small{display:block;font-weight:700;color:var(--soft);font-size:12px;margin-top:2px}
.mk-sticker-a{left:0;top:28px;background:#fff4cc;transform:rotate(-6deg)}
.mk-sticker-b{right:0;bottom:18px;background:#e7fff3;transform:rotate(4deg)}
.mk-band{padding:72px 0}
.mk-band-white{background:#fff}
.mk-band-peach{background:#fff1e4}
.mk-home h2{margin:0 0 10px;font-size:44px;line-height:1.02;letter-spacing:-1.4px;font-weight:800;text-align:left}
.mk-lead{margin:0 0 28px;max-width:640px;color:var(--soft);font-size:18px;line-height:1.5}
.mk-subjects{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.mk-subject{border-radius:30px;min-height:148px;padding:20px;display:flex;flex-direction:column;justify-content:space-between;background:var(--tone);color:#1c1c1c}
.mk-subject-mark{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:rgba(255,255,255,.78);color:#1c1c1c}
.mk-subject-mark svg{width:30px;height:30px;display:block}
.mk-subject h3{margin:16px 0 0;font-size:26px;letter-spacing:-.5px}
.mk-why{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.mk-why article{border-radius:26px;padding:20px;min-height:210px;border:1.5px solid rgba(28,28,28,.08);box-shadow:0 12px 28px rgba(60,30,10,.08)}
.mk-why article:nth-child(1){background:#ffd15c}
.mk-why article:nth-child(2){background:#ffb5a3}
.mk-why article:nth-child(3){background:#b9d4ff}
.mk-why article:nth-child(4){background:#8ee0c0}
.mk-why-ico{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;font-weight:800;margin-bottom:18px;background:rgba(255,255,255,.8);color:#1c1c1c}
.mk-why h3{margin:0 0 8px;font-size:20px;letter-spacing:-.3px}
.mk-why p{margin:0;color:#3a312b;line-height:1.45;font-size:15px}
.mk-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.mk-step{background:#fff;border-radius:26px;padding:20px 20px 22px;min-height:230px}
.mk-step b{display:grid;place-items:center;width:52px;height:52px;padding:0;border-radius:16px;background:#1c1c1c;color:#ffd84a;font-family:"Segoe UI",Arial,sans-serif;font-size:18px;font-weight:800;font-variant-numeric:tabular-nums lining-nums;letter-spacing:0;line-height:1;margin:0 0 16px}
.mk-step h3{margin:0 0 8px;font-size:20px;letter-spacing:-.3px}
.mk-step p{margin:0;color:var(--soft);line-height:1.5;font-size:15px}
.mk-audience{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.mk-audience article{border-radius:30px;padding:24px;min-height:250px;background:#fff}
.mk-audience article:nth-child(1){background:#fff4cc}
.mk-audience article:nth-child(2){background:#ffe8e1}
.mk-audience article:nth-child(3){background:#e7f6ff}
.mk-audience em{font-style:normal;font-size:28px;display:block;margin-bottom:12px}
.mk-audience h3{margin:0 0 8px;font-size:24px;letter-spacing:-.4px}
.mk-audience p{margin:0;line-height:1.5;color:#4e463f}
.mk-teachers{display:grid;grid-template-columns:1.2fr .8fr;gap:22px;align-items:center;background:#1c1c1c;color:#fff;border-radius:36px;padding:36px}
.mk-teachers h2{color:#fff}
.mk-teachers p{color:#d9d0c6;font-size:17px;line-height:1.55;max-width:560px;margin:0 0 20px}
.mk-teacher-side{background:#2a2a2a;border-radius:28px;padding:22px;min-height:220px;display:flex;flex-direction:column;justify-content:space-between}
.mk-avatars{display:flex}
.mk-avatars span{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#ffd84a;color:#1c1c1c;font-weight:800;margin-right:-12px;border:3px solid #2a2a2a}
.mk-avatars span:nth-child(2){background:#ffb4a2}
.mk-avatars span:nth-child(3){background:#d9ccff}
.mk-teacher-side small{color:#d9d0c6;font-size:14px;line-height:1.45}
.mk-prices{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.mk-price{position:relative;background:#ffd15c;border-radius:28px;padding:22px 20px 20px;display:flex;flex-direction:column;min-height:390px;border:1.5px solid rgba(28,28,28,.08);box-shadow:0 14px 30px rgba(70,40,10,.08)}
.mk-price:nth-child(2),.mk-price.is-hot{background:#ff8b6e;border-color:#f07454}
.mk-price:nth-child(3){background:#c7b0ff;border-color:#b197f5}
.mk-price:nth-child(4){background:#7fd9b8;border-color:#63c9a4}
.mk-price-tag{position:absolute;top:16px;right:16px;background:#fff;border-radius:999px;padding:6px 12px;font-size:14px;font-weight:800}
.mk-price h3{margin:28px 0 0;font-size:26px;line-height:1.15;letter-spacing:-.4px;min-height:64px}
.mk-price-sum{font-size:42px;font-weight:800;letter-spacing:-1px;margin:10px 0 6px}
.mk-price-meta{color:#3a312b;font-size:15px;line-height:1.4;min-height:44px}
.mk-price ul{list-style:none;margin:16px 0 20px;padding:0;display:grid;gap:8px}
.mk-price li{font-size:16px;line-height:1.4;padding-left:20px;position:relative}
.mk-price li::before{content:"";position:absolute;left:0;top:7px;width:8px;height:8px;border-radius:50%;background:#1c1c1c}
.mk-price .mk-btn{margin-top:auto;width:100%;font-size:16px;padding:15px 18px}
.mk-note{margin:16px 0 0;color:#7a7168;font-size:15px}
.mk-faq{display:grid;gap:10px}
.mk-faq-item{background:#fff;border-radius:20px;padding:0 18px}
.mk-faq-q{width:100%;border:0;background:transparent;font-weight:800;font-size:17px;padding:16px 0;display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left}
.mk-faq-q i{width:28px;height:28px;border-radius:50%;background:#fff1e4;position:relative;flex:0 0 auto}
.mk-faq-q i::before,.mk-faq-q i::after{content:"";position:absolute;left:8px;top:13px;width:12px;height:2px;border-radius:2px;background:#1c1c1c;transition:transform .35s ease}
.mk-faq-q i::after{left:13px;top:8px;width:2px;height:12px}
.mk-faq-item.is-open .mk-faq-q i::after{transform:scaleY(0)}
.mk-faq-a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s ease}
.mk-faq-item.is-open .mk-faq-a{grid-template-rows:1fr}
.mk-faq-a>div{overflow:hidden}
.mk-faq-a p{margin:0 0 16px;color:var(--soft);line-height:1.55}
.mk-final{padding:10px 0 72px}
.mk-final-card{background:var(--sun);border-radius:36px;padding:40px;box-shadow:0 8px 0 #e2b423}
.mk-final-card h2{max-width:680px}
.mk-final-card p{max-width:640px;font-size:18px;line-height:1.5;margin:0 0 20px}
.mk-foot{padding:28px 0 36px;color:#7a7168;font-size:14px}
.mk-foot-row{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:22px}
.mk-foot button{border:0;background:transparent;color:var(--ink);font-weight:800;padding:0}
.mk-foot button:hover{text-decoration:underline}
@media(max-width:1100px){
.mk-hero h1{font-size:50px}
.mk-prices{grid-template-columns:repeat(2,1fr)}
.mk-why{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:1040px){.mk-hero-grid{grid-template-columns:1fr}.mk-hero-visual{min-height:420px}}
@media(max-width:900px){
.mk-head-inner{flex-wrap:wrap;padding:12px 0 10px}
.mk-nav{order:3;flex:1 0 100%;flex-wrap:wrap;row-gap:2px}
.mk-hero-grid,.mk-teachers,.mk-audience,.mk-steps,.mk-subjects{grid-template-columns:1fr}
.mk-hero-visual{min-height:420px}
.mk-home h2{font-size:34px}
.mk-hero{padding-top:28px}
}
@media(max-width:640px){
.mk-wrap{width:min(1180px,calc(100% - 28px))}
.mk-hero h1{font-size:38px;letter-spacing:-1.2px}
.mk-prices,.mk-why{grid-template-columns:1fr}
.mk-lesson{left:24px;right:24px}
.mk-sticker-a,.mk-sticker-b{position:static;transform:none;margin-top:10px}
.mk-hero-visual{min-height:0;display:flex;flex-direction:column}
.mk-lesson{position:relative;left:auto;right:auto;top:auto;margin-top:12px}
.mk-orb{display:none}
.mk-final-card,.mk-teachers{padding:22px;border-radius:24px}
.mk-cabinet{padding:10px 14px}
}
@media(prefers-reduced-motion:reduce){
.mk-btn-sun:hover,.mk-cabinet:hover{transform:none}
.mk-faq-a,.mk-faq-q i::before,.mk-faq-q i::after{transition:none}
}
.ru-date{position:relative}
.ru-date-btn,#lTime{font-family:Candara,"Segoe UI","Trebuchet MS",sans-serif;font-size:16px;font-weight:400;color:#1c1c1c;font-variant-numeric:tabular-nums lining-nums}
.ru-date-btn{width:100%;text-align:left;border:1px solid rgba(28,28,28,.14);border-radius:14px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231c1c1c' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") no-repeat right 14px center;padding:12px 42px 12px 14px}
.ru-date-btn:focus{border-color:#e2b423;box-shadow:0 0 0 3px #fff3cc;outline:none}
#lTime{padding-right:46px;background-image:none;border-radius:14px}
#lTime:focus{border-color:#e2b423;box-shadow:0 0 0 3px #fff3cc;outline:none}
.ru-time{position:relative}
.ru-time-open{position:absolute;top:0;right:0;width:42px;height:100%;border:0;padding:0;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231c1c1c' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v5l3 2'/%3E%3C/svg%3E") no-repeat center;cursor:pointer}
.ru-time-open:focus{outline:none}
.ru-time-pop{position:absolute;z-index:8;top:calc(100% + 8px);right:0;width:228px;background:#fff;border:1px solid rgba(28,28,28,.08);border-radius:18px;box-shadow:0 16px 40px rgba(70,40,10,.16);padding:8px}
.ru-time-wheels{position:relative;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
.ru-time-mark{position:absolute;left:6px;right:6px;top:50%;height:36px;margin-top:-18px;background:#ffd84a;border-radius:12px;box-shadow:0 2px 0 #e2b423;pointer-events:none;z-index:0}
.ru-time-colon{position:relative;z-index:1;font-size:20px;font-weight:800;color:#1c1c1c;padding:0 2px}
.ru-time-wheel{position:relative;z-index:1;height:180px;overflow-y:auto;scroll-snap-type:y mandatory;scrollbar-width:none;overscroll-behavior:contain;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 24%,#000 76%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 24%,#000 76%,transparent 100%)}
.ru-time-wheel::-webkit-scrollbar{display:none}
.ru-time-spacer{height:72px}
.ru-time-item{display:grid;place-items:center;width:100%;height:36px;border:0;background:transparent;padding:0;scroll-snap-align:center;font-size:18px;font-weight:700;font-variant-numeric:tabular-nums lining-nums;color:rgba(28,28,28,.38);cursor:pointer}
.ru-time-item.is-selected{color:#1c1c1c;font-weight:800}
.ru-cal{position:absolute;z-index:6;top:calc(100% + 8px);left:0;width:max-content;background:#fff;border:1px solid rgba(28,28,28,.08);border-radius:18px;box-shadow:0 16px 40px rgba(70,40,10,.16);padding:12px;font-family:Candara,"Segoe UI","Trebuchet MS",sans-serif}
.ru-cal-head{display:flex;align-items:center;justify-content:center;gap:4px;margin-bottom:8px}
.ru-cal-head b{min-width:118px;text-align:center;font-size:15px;font-weight:800;white-space:nowrap}
.field:has(.ru-cal:not(.hidden)){position:relative;z-index:8}
.ru-cal-head button{width:32px;height:32px;flex:0 0 32px;padding:0;border:0;border-radius:10px;background:#fff7ee;font-size:18px;line-height:1}
.ru-cal-head button:hover{background:#fff3cc}
.ru-cal-grid{display:grid;grid-template-columns:repeat(7,36px);gap:2px;align-content:start}
.ru-wd,.ru-day,.ru-empty{width:36px;height:36px;margin:0;padding:0}
.ru-wd{display:grid;place-items:center;font-size:12px;font-weight:800;color:#7a7168}
.ru-day{display:grid;place-items:center;border:0;background:transparent;border-radius:10px;font-size:15px;font-weight:700;color:#1c1c1c}
.ru-day:hover{background:#fff3cc}
.ru-day.is-selected{background:#ffd84a;box-shadow:0 2px 0 #e2b423}
.ru-day.is-today:not(.is-selected){box-shadow:inset 0 0 0 1px #e2b423}
.ru-day.is-past{color:#c4bdb4}
.ru-empty{height:36px}
.trial-datetime{position:relative;z-index:3}


/* Репетитор: рабочее расписание и доступность */
.tutor-home-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:14px}
.tutor-availability-card{min-width:0}
.avail-summary{display:grid;gap:7px;margin-top:8px}
.avail-day{display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;align-items:center;padding:6px 0;border-bottom:1px solid var(--line)}
.avail-day:last-child{border-bottom:0}
.avail-day>span{font-weight:850;font-size:13px}
.avail-day>div{display:flex;gap:6px;flex-wrap:wrap}
.avail-day em{font-style:normal;color:var(--muted);font-size:13px}
.avail-chip{border:1px solid #dbe5f4;background:#f4f7fb;border-radius:999px;padding:6px 9px;font:inherit;font-size:12px;font-weight:750;cursor:pointer}
.avail-chip:hover{background:#eef3f9}
.availability-form{display:grid;gap:12px}
.availability-form-note{padding:11px 13px;border-radius:14px;background:#fff8df;border:1px solid #f1df9a;line-height:1.5;font-size:13px}
.availability-preview{padding:10px 12px;border-radius:12px;background:#f8fafc;border:1px solid var(--line);font-weight:800;font-size:13px}
.tutor-schedule-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:10px}
.tutor-schedule-title{display:flex;align-items:center;gap:10px}
.tutor-schedule-title>b{min-width:215px;text-align:center;font-size:18px}
.tutor-schedule-note{margin-top:7px;color:var(--muted);font-size:14px;line-height:1.45}.tutor-schedule-note b{color:var(--text)}
.tutor-legend{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:0 0 12px;font-size:13px;color:#6b655d}
.tutor-legend span{display:inline-flex;align-items:center;gap:6px}
.tutor-legend i{width:12px;height:12px;border-radius:4px;display:inline-block;border:1px solid transparent}
.tutor-legend .legend-slot{background:#f3f7ff;border-color:#d6e3f7}
.legend-avail{background:#e9f3ff;border-color:#c8dcf7!important}
.legend-lesson{background:#fff2b9;border-color:#e7cf63!important}
.legend-forced{background:#fff0df;border-color:#efa961!important}
.tutor-calendar-scroll{overflow:auto;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 10px 24px rgba(70,40,10,.04)}
.tutor-calendar{min-width:1030px}
.tutor-calendar-head{display:grid;grid-template-columns:64px repeat(7,minmax(130px,1fr));position:sticky;top:0;z-index:6;background:#fffaf3;border-bottom:1px solid var(--line)}
.tutor-calendar-head>div,.tutor-week-head,.tutor-week-time-head{min-width:0}
.tutor-week-time-head{height:58px;border-right:1px solid var(--line)}
.tutor-week-head{height:58px;display:flex;align-items:center;justify-content:center;gap:3px;flex-direction:column;border-right:1px solid var(--line);font-size:12px;color:#7a7168;background:#fffaf3}
.tutor-week-head b{font-size:17px;line-height:1;color:var(--text)}
.tutor-week-head small{font-size:10px;color:var(--muted)}
.tutor-week-head.is-today{background:#fff2c9}
.tutor-calendar-body{display:grid;grid-template-columns:64px repeat(7,minmax(130px,1fr))}
.tutor-week-times{background:#fffaf3;border-right:1px solid var(--line)}
.tutor-time{box-sizing:border-box;padding:3px 8px 0 0;text-align:right;color:#6f675f;font-size:13px;font-weight:700;border-bottom:1px dotted rgba(28,28,28,.09)}
.tutor-day-col{position:relative;border-right:1px solid var(--line);background:#fff;overflow:hidden}
.tutor-day-col.is-today{background:#fffdf6}
.tutor-slot{position:absolute;left:0;right:0;margin:0;padding:0 5px;border:0;border-bottom:1px dotted rgba(28,28,28,.08);background:transparent;z-index:1;cursor:pointer;transition:background .12s,box-shadow .12s;display:flex;align-items:center;justify-content:flex-start;text-align:left;box-sizing:border-box;color:#3f669e;font-size:12px;font-weight:850;white-space:nowrap;overflow:hidden}
.tutor-slot:hover{background:rgba(91,123,201,.08);box-shadow:inset 0 0 0 1px rgba(91,123,201,.12)}
.tutor-slot.is-open{background:rgba(102,142,216,.16);color:#3e679e}
.tutor-slot.is-open:hover{background:rgba(102,142,216,.27);box-shadow:inset 0 0 0 1px rgba(91,123,201,.16)}
.tutor-slot span{display:block;line-height:1.05;font-size:12px;pointer-events:none;overflow:hidden;text-overflow:clip}
.tutor-avail-block{position:absolute;left:3px;right:3px;background:#eaf3ff;border:1px solid #cbddf5;border-radius:7px;z-index:1;overflow:hidden;pointer-events:none}
.tutor-avail-block span{display:block;padding:4px 7px;color:#4a74ad;font-size:10px;font-weight:800;white-space:nowrap}
.tutor-grid-line{position:absolute;left:0;right:0;height:1px;background:rgba(28,28,28,.06);z-index:2;pointer-events:none}
.tutor-grid-line.hour-line{background:rgba(28,28,28,.10)}
.tutor-lesson{position:absolute;left:4px;right:4px;z-index:4;display:flex;align-items:flex-start;flex-direction:column;gap:1px;border:1px solid #e7cd5c;border-radius:8px;background:#fff2b9;padding:4px 7px;text-align:left;overflow:hidden;color:var(--text);cursor:pointer;box-shadow:0 3px 7px rgba(70,40,10,.08)}
.tutor-lesson:hover{transform:translateY(-1px);box-shadow:0 5px 10px rgba(70,40,10,.10)}
.tutor-lesson strong{font-size:12px;line-height:1.1}
.tutor-lesson span{font-size:12px;font-weight:850;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}
.tutor-lesson small{font-size:11px;color:#5e564e;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}
.tutor-lesson em{font-style:normal;font-size:11px;font-weight:850;color:#b25f10;margin-top:1px}
.tutor-lesson.forced{background:#fff0df;border-color:#eeac63}
.tutor-lesson.forced strong{color:#a85d13}
.tutor-students-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tutor-student-card{border:1px solid var(--line);border-radius:18px;padding:15px;background:#fff}
.tutor-student-person{display:flex;gap:11px;align-items:center}
.tutor-student-person h3{margin:0;font-size:18px}
.tutor-student-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 0}
.tutor-student-meta span{display:block;font-size:11px;color:var(--muted);margin-bottom:3px}
.tutor-student-meta b{font-size:13px}
.tutor-student-card .actions{margin-top:3px}
@media(max-width:980px){.tutor-home-grid{grid-template-columns:1fr}.tutor-students-grid{grid-template-columns:1fr}}
@media(max-width:760px){.tutor-schedule-title>b{min-width:140px;font-size:15px}.tutor-schedule-toolbar{align-items:flex-start}.tutor-calendar{min-width:910px}.tutor-calendar-head,.tutor-calendar-body{grid-template-columns:54px repeat(7,minmax(122px,1fr))}.tutor-week-time-head{height:54px}.tutor-week-head{height:54px}.tutor-student-meta{grid-template-columns:1fr}.tutor-home-grid{display:grid}}

/* Chat and profile updates */
.topbar-person{border:0;background:transparent;padding:5px 7px;border-radius:11px;cursor:pointer}.topbar-person:hover{background:#fff8dd}.topbar-person:focus-visible{outline:2px solid #d8b733;outline-offset:2px}
.chat-pin{margin-left:4px;font-size:11px}.chat-file-wrap{display:flex;align-items:center;gap:6px;min-width:0}.chat-file-btn{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--line);border-radius:9px;background:#fff;cursor:pointer;font-size:17px}.chat-file-name{max-width:170px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted);font-size:11px}.msg-file{margin-top:5px;padding:7px 8px;background:#f8fafc;border:1px solid var(--line);border-radius:8px}.msg-file a{color:#315da7;text-decoration:none;font-weight:700}.msg-file a:hover{text-decoration:underline}
.balance-history{display:grid;gap:0}.balance-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}.balance-row:last-child{border-bottom:0}.balance-row strong{font-size:15px;white-space:nowrap}.balance-row.credit strong{color:#21825d}.balance-row.debit strong{color:#b36227}.balance-summary{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);margin-top:14px;padding-top:10px;font-size:12px}.balance-summary b{font-size:13px}
.floating-chat{position:fixed;left:18px;bottom:18px;z-index:35}.floating-chat-button{position:relative;width:56px;height:56px;border:1px solid #e5d48b;border-radius:50%;background:#ffd84a;color:#1d1c18;box-shadow:0 8px 24px rgba(40,32,10,.2);cursor:pointer;font-size:24px;display:grid;place-items:center}.floating-chat-button:hover{transform:translateY(-1px)}.floating-chat-button b{position:absolute;right:-1px;top:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:#c84444;color:#fff;border:2px solid #fff;font-size:11px;display:grid;place-items:center}.floating-chat-panel{position:absolute;left:0;bottom:68px;width:390px;height:520px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 55px rgba(28,30,35,.2);overflow:hidden;display:flex;flex-direction:column}.floating-chat-panel[hidden]{display:none}.floating-chat-head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--line);background:#fffdf7}.floating-chat-head strong{display:block;font-size:15px}.floating-chat-head small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.floating-chat-close{border:0;background:transparent;font-size:23px;color:#666;cursor:pointer}.floating-chat-body{display:grid;grid-template-columns:138px 1fr;min-height:0;flex:1}.floating-chat-list{border-right:1px solid var(--line);overflow:auto;background:#fff}.floating-chat-item{width:100%;border:0;background:transparent;display:flex;align-items:flex-start;gap:8px;text-align:left;padding:9px;border-bottom:1px solid rgba(0,0,0,.04);cursor:pointer}.floating-chat-item:hover{background:#fffaf0}.floating-chat-item.active{background:#fff3c7}.floating-chat-item .chat-avatar{width:32px;height:32px;font-size:11px}.floating-chat-item span:nth-child(2){min-width:0}.floating-chat-item b{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.floating-chat-item small{display:block;color:var(--muted);font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}.floating-chat-thread{display:flex;flex-direction:column;gap:7px;overflow:auto;padding:12px;background:#fffcf5}.floating-msg{max-width:86%;padding:7px 9px;background:#fff;border:1px solid #eee4cd;border-radius:10px;font-size:12px;line-height:1.35}.floating-msg.self{align-self:flex-end;background:#fff0bd}.floating-msg time{display:block;color:var(--muted);font-size:9px;text-align:right;margin-top:3px}.floating-file{display:block;margin-top:4px;color:#315da7;text-decoration:none;font-weight:700;font-size:11px}.floating-chat-composer{grid-column:1 / -1;display:flex;gap:5px;align-items:center;padding:8px;border-top:1px solid var(--line);background:#fff}.floating-chat-composer input{flex:1;min-width:0;border:1px solid var(--line);border-radius:9px;padding:9px 10px;font:inherit}.floating-chat-composer .chat-file-btn{width:34px;height:34px}.floating-chat-composer .btn{width:38px;padding:8px 0}
@media(max-width:760px){.floating-chat{left:10px;bottom:10px}.floating-chat-panel{left:0;bottom:66px;width:min(360px,calc(100vw - 20px));height:min(70vh,520px)}.floating-chat-body{grid-template-columns:110px 1fr}.chat-file-name{max-width:90px}}

/* Lesson statistics and homework tracking */
.lesson-stat-card{border-left:4px solid #2c9a65}
.lesson-connection-line,.lesson-connection-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 16px}
.lesson-connection-line>div,.lesson-connection-grid>div{background:#f3faf5;border:1px solid #d8efdf;border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:4px}
.lesson-connection-line span,.lesson-connection-grid span{font-size:11px;color:var(--muted)}
.lesson-stars{display:flex;gap:4px;align-items:center}
.star-btn{border:0;background:transparent;font-size:34px;line-height:1;color:#c9c2a5;cursor:pointer;padding:0 3px}
.star-btn.selected{color:#f0b500}
.star-btn:hover{transform:scale(1.05)}
.lesson-homework-editor{margin-top:16px;padding-top:15px;border-top:1px solid var(--line)}
.check-row{display:flex;gap:10px;align-items:flex-start;cursor:pointer}
.check-row input{margin-top:3px}
.check-row span{display:grid;gap:3px}
.check-row small{color:var(--muted);font-size:11px}
.hw-fields{display:grid;gap:10px;margin-top:12px;padding-left:26px}
.hw-fields.hidden{display:none}
.homework-view-stat{margin:10px 0;padding:10px 12px;border:1px solid #cfe9d8;background:#f3fbf5;border-radius:10px;display:grid;gap:3px}
.homework-view-stat b{color:#21895a;font-size:13px}
.homework-view-stat span{color:var(--muted);font-size:11px}
.stats-note{margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}
.stats-note p{margin:6px 0 0;line-height:1.55;white-space:pre-wrap}
.stars-text{color:#f0b500;letter-spacing:2px;font-size:16px}
.stats-modal{font-size:13px}
.floating-chat{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
@media(max-width:760px){.lesson-connection-line,.lesson-connection-grid{grid-template-columns:1fr}.hw-fields{padding-left:0}}

/* Tutor statistics page */
.lesson-stat-list{display:grid;gap:12px}
.lesson-stat-list-card{border:1px solid var(--line);border-radius:14px;padding:15px;background:#fff}
.lesson-stat-list-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.lesson-stat-list-top h3{margin:4px 0 3px;font-size:16px}
.stat-student{font-size:12px;color:var(--muted)}
.lesson-stat-status{flex:0 0 auto}
.lesson-stat-list-grid{display:grid;grid-template-columns:minmax(150px,.65fr) minmax(220px,1.2fr) minmax(200px,1fr);gap:10px;margin-top:13px}
.lesson-stat-list-grid>div{border:1px solid var(--line);border-radius:10px;padding:10px;background:#fbfcfe;min-width:0}
.lesson-stat-list-grid>div>span{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}
.lesson-stat-list-grid>div>p{margin:0;line-height:1.5;font-size:12px;white-space:pre-wrap;word-break:break-word}
.lesson-stat-list-grid small{display:block;margin-top:4px;color:var(--muted);font-size:10px}
.stat-homework-mini{display:grid;gap:4px;min-width:0}
.stat-homework-mini b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.stat-homework-mini span{font-size:10px;color:var(--muted)}
.lesson-stat-list-card .actions{margin-top:11px}
@media(max-width:900px){.lesson-stat-list-grid{grid-template-columns:1fr 1fr}.lesson-stat-list-grid>div:nth-child(2){grid-column:1 / -1}}
@media(max-width:620px){.lesson-stat-list-top{flex-direction:column}.lesson-stat-list-grid{grid-template-columns:1fr}.lesson-stat-list-grid>div:nth-child(2){grid-column:auto}}

.month-switcher{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:12px;padding:10px 0}.month-switcher>div{text-align:center;min-width:190px}.month-switcher b{display:block;font-size:18px}.month-switcher small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.month-switcher button:disabled{opacity:.45;cursor:not-allowed}.report-list{display:grid;gap:14px;margin-top:14px}.report-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px}.report-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.report-card-head h3{margin:5px 0 3px;font-size:18px}.report-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.report-card textarea{min-height:140px}.report-card textarea:disabled{background:#f7f7f7;cursor:not-allowed}.report-card .note{margin-top:12px}.report-card .actions{margin-top:8px}@media(max-width:760px){.report-fields{grid-template-columns:1fr}.month-switcher>div{min-width:130px}.report-card-head{flex-direction:column}}

/* Tutor profile */
.profile-required{font-size:15px;line-height:1.55;border-left:4px solid #e2a72d}.profile-photo-row{display:flex;align-items:center;gap:18px;margin-bottom:18px}.profile-photo,.teacher-photo{width:112px;height:112px;border-radius:20px;object-fit:cover;border:1px solid var(--line);background:#f3f5f8}.profile-photo-placeholder,.teacher-photo-placeholder{display:grid;place-items:center;font-size:30px;font-weight:800;color:#2858a5}.teacher-card .teacher-photo{width:150px;height:150px;border-radius:18px;margin:0 auto 14px}.teacher-card{text-align:center}.teacher-approach{font-size:13px;line-height:1.5;text-align:left;margin-top:10px}.mini-file-preview{width:90px;height:90px;object-fit:cover;border-radius:10px;border:1px solid var(--line);margin-top:8px}.file-pill{display:inline-block;margin-top:8px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;background:#fafafa;font-size:13px}.field-help{display:block;color:var(--muted);font-size:12px;margin-top:5px}
/* Floating chat: smoother, lower and more detailed */
.floating-chat{left:16px;bottom:10px;z-index:60}.floating-chat-button{width:60px;height:60px;border-radius:18px;transition:transform .25s ease,box-shadow .25s ease,background .25s ease}.floating-chat-button:hover{transform:translateY(-2px) scale(1.02);box-shadow:0 12px 30px rgba(40,32,10,.24)}.floating-chat-button span{transition:transform .25s ease}.floating-chat-panel{left:0;bottom:72px;width:430px;height:570px;border-radius:20px;box-shadow:0 24px 70px rgba(28,30,35,.25);transform-origin:bottom left;animation:chatPanelIn .22s ease-out}.floating-chat-panel[hidden]{display:none!important}.floating-chat-head{padding:15px 16px;background:linear-gradient(180deg,#fffdf7,#fff);}.floating-chat-head strong{font-size:16px}.floating-chat-head small{font-size:11px}.floating-chat-body{grid-template-columns:150px 1fr}.floating-chat-item{padding:11px 9px}.floating-chat-item b{font-size:12px}.floating-chat-item small{font-size:10px}.floating-chat-thread{padding:14px;background:#f7f9fc}.floating-msg{font-size:13px;line-height:1.45;border-radius:14px;padding:9px 11px}.floating-chat-composer{padding:11px;border-top:1px solid var(--line);background:#fff;display:flex;align-items:center;gap:7px}.floating-chat-composer input{min-width:0;flex:1;border:1px solid #dfe4eb;border-radius:12px;padding:10px 11px;font-size:13px;outline:none}.floating-chat-composer input:focus{border-color:#9bb8e8;box-shadow:0 0 0 3px rgba(80,130,210,.1)}@keyframes chatPanelIn{from{opacity:0;transform:translateY(14px) scale(.97)}to{opacity:1;transform:none}}@media(max-width:560px){.floating-chat-panel{left:0;bottom:70px;width:min(94vw,430px);height:65vh}.floating-chat-body{grid-template-columns:120px 1fr}.profile-photo-row{align-items:flex-start}.profile-photo{width:88px;height:88px}}

/* Tutor notification reminder */
#tutorNotificationPrompt{z-index:90}.notification-modal{width:min(560px,calc(100vw - 28px));border-radius:22px}.notification-prompt{display:grid;grid-template-columns:56px 1fr;gap:14px;align-items:start}.notification-prompt-icon{width:56px;height:56px;border-radius:16px;background:#fff1c2;display:grid;place-items:center;font-size:27px}.notification-prompt h3{margin:0 0 7px;font-size:20px}.notification-prompt p{margin:0;color:var(--muted);font-size:14px;line-height:1.55}.notification-prompt .note{margin-top:12px;font-size:13px}.notification-prompt-note{margin-top:12px!important;font-size:12px!important}.notification-modal .modal-actions{justify-content:flex-start;margin-top:18px}.notification-modal .btn-primary{min-width:220px}


/* === Tutor schedule: reference-like weekly calendar === */
.tutor-schedule-topline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px;flex-wrap:wrap}
.tutor-week-picker{display:flex;align-items:center;gap:10px}
.tutor-week-picker__time{min-width:190px;text-align:center;padding:5px 14px;border:1px solid var(--line);border-radius:14px;background:#fff}
.tutor-week-picker__time .muted{font-size:11px;margin-bottom:2px}
.tutor-week-picker__time b{font-size:17px}
.tutor-schedule-note{margin:8px 0 14px;padding:11px 14px;border:1px solid #e7e0cf;border-radius:13px;background:#fffdf7;color:#5f584f;font-size:14px;line-height:1.5}
.app:has(.tutor-calendar-scroll){height:100vh;overflow:hidden}
.app:has(.tutor-calendar-scroll) .main{display:flex;flex-direction:column;height:100vh;min-width:0;min-height:0}
.app:has(.tutor-calendar-scroll) .topbar{flex:0 0 auto}
.app:has(.tutor-calendar-scroll) .content{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;padding:16px 18px 18px;overflow:hidden}
.app:has(.tutor-calendar-scroll) .tutor-schedule-toolbar,
.app:has(.tutor-calendar-scroll) .tutor-legend{flex:0 0 auto}
.tutor-calendar-scroll{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 30px rgba(38,34,28,.06)}
.tutor-calendar{min-width:1050px}
.tutor-calendar-head,.tutor-calendar-body{display:grid;grid-template-columns:70px repeat(7,minmax(130px,1fr))}
.tutor-calendar-head{position:sticky;top:0;z-index:5;background:#fff}
.tutor-calendar-head>div{border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.tutor-week-time-head{height:68px;background:#fffaf3;position:sticky;left:0;z-index:8}
.tutor-week-head{height:68px;display:flex;align-items:center;justify-content:center;gap:3px;flex-direction:column;font-size:13px;color:#766e65;background:#fff}
.tutor-week-head b{font-size:19px;line-height:1;color:var(--text)}
.tutor-week-head small{font-size:11px;color:var(--muted)}
.tutor-week-head.is-today{background:#fff2c9}
.tutor-week-times{background:#fffaf3;border-right:1px solid var(--line);position:sticky;left:0;z-index:4}
.tutor-time{box-sizing:border-box;padding:4px 9px 0 0;text-align:right;color:#6f675f;font-size:13px;font-weight:750;border-bottom:1px dotted rgba(28,28,28,.1)}
.tutor-time-hour{position:absolute!important;right:0;height:auto!important;border-bottom:0!important;transform:translateY(-1px)}
.tutor-day-col{position:relative;background:#fff;z-index:1}
.tutor-day-col.is-today{background:#fffdf8}
.tutor-day-col .tutor-slot{position:absolute;left:0;right:0;margin:0;padding:0 6px;border:0;border-bottom:1px dotted rgba(28,28,28,.08);background:transparent;z-index:2;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;text-align:left;box-sizing:border-box;color:#3f669e;font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;transition:background .12s,box-shadow .12s}
.tutor-day-col .tutor-slot:hover{background:rgba(91,123,201,.08);box-shadow:inset 0 0 0 1px rgba(91,123,201,.12)}
.tutor-day-col .tutor-slot.is-open{background:rgba(102,142,216,.17);color:#315c94}
.tutor-day-col .tutor-slot.is-open:hover{background:rgba(102,142,216,.26)}
.tutor-day-col .tutor-slot span{font-size:12px;line-height:1.05;pointer-events:none;overflow:hidden}
.tutor-grid-line{position:absolute;left:0;right:0;height:1px;border-top:1px dotted rgba(39,36,32,.06);pointer-events:none;z-index:1}.tutor-slot{pointer-events:auto!important}
.tutor-grid-line.hour-line{border-top:1px solid rgba(39,36,32,.13)}
.tutor-lesson{position:absolute;left:4px;right:4px;margin:0;border:1px solid #c8b0e9;border-radius:9px;background:#f0e7fb;color:#463d53;z-index:4;text-align:left;padding:6px 8px;overflow:hidden;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;box-sizing:border-box;box-shadow:0 3px 10px rgba(74,54,104,.08)}
.tutor-lesson strong{font-size:12px}
.tutor-lesson span{font-size:12px;font-weight:750;line-height:1.2;margin-top:1px}
.tutor-lesson small{font-size:11px;color:#645b6e;line-height:1.2;margin-top:2px}
.tutor-lesson em{font-size:10px;color:#a66419;font-style:normal;margin-top:2px;font-weight:800}
.tutor-lesson.forced{background:#fff0dc;border-color:#e6be8a;color:#744c22}
.tutor-lesson.forced small{color:#8b6b43}
.tutor-legend{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;margin-bottom:10px;font-size:12px;color:#696158}
.tutor-legend span{display:inline-flex;align-items:center;gap:6px}
.tutor-legend i{width:12px;height:12px;border-radius:4px;border:1px solid rgba(0,0,0,.08);display:inline-block}
.tutor-legend .legend-avail{background:rgba(102,142,216,.18)}
.tutor-legend .legend-lesson{background:#f0e7fb;border-color:#c8b0e9}
.tutor-legend .legend-forced{background:#fff0dc;border-color:#e6be8a}
@media(max-width:760px){.tutor-calendar-head,.tutor-calendar-body{grid-template-columns:62px repeat(7,minmax(122px,1fr))}.tutor-week-picker__time{min-width:160px}.tutor-schedule-note{font-size:13px}.tutor-week-head{height:62px}}

/* Notification prompt must never remain after permission is granted. */
#tutorNotificationPrompt{z-index:9999}

/* Рабочее время: окно выбора и выделение диапазона мышью */
.availability-modal-backdrop{background:rgba(13,19,31,.08);place-items:initial;pointer-events:auto;z-index:10000;display:block}
.availability-modal-backdrop .modal{width:340px;max-width:calc(100vw - 28px);border-radius:18px;padding:16px;box-shadow:0 18px 45px rgba(23,32,51,.18);margin:0;position:fixed;z-index:10001;pointer-events:auto;box-sizing:border-box;overflow:visible}
.availability-modal-backdrop .modal *{pointer-events:auto;box-sizing:border-box}
.availability-modal-backdrop .modal-head{gap:12px}
.availability-modal-backdrop .modal-head h3{font-size:19px;line-height:1.2}
.availability-modal-backdrop .modal-head .close{font-size:26px;cursor:pointer;line-height:1;flex:0 0 auto}
.availability-modal-backdrop .modal-actions{position:relative;z-index:2;margin-top:18px;padding-top:2px}
.availability-actions{width:100%;display:flex;align-items:center;gap:8px}
.availability-actions-right{display:flex;flex:1;gap:8px;min-width:0}
.availability-actions .btn{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;height:42px;margin:0;padding:0 12px;line-height:1;font-size:14px;font-weight:800;white-space:nowrap;box-sizing:border-box}
.availability-actions .availability-delete{flex:0 0 42px;width:42px;min-width:42px;max-width:42px;height:42px;padding:0}
.availability-actions .availability-delete svg{display:block}
.schedule-dragging,.schedule-dragging *{cursor:crosshair!important}
.availability-modal-form{display:grid;gap:15px}
.availability-date{font-size:17px;font-weight:800;color:var(--text)}
.availability-time-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px}
.availability-time{position:relative;min-width:0;z-index:4}
.availability-time:focus-within,.availability-time:has(.availability-time-menu:not(.hidden)){z-index:30}
.availability-time-btn{width:100%;height:46px;text-align:left;border:1px solid rgba(28,28,28,.14);border-radius:14px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231c1c1c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;padding:0 34px 0 14px;font-size:16px;font-weight:400;line-height:1;color:var(--text);cursor:pointer}
.availability-time-btn:focus,.availability-time-btn[aria-expanded="true"]{outline:0;border-color:#e2b423;box-shadow:0 0 0 3px #fff3cc}
.availability-time-menu{position:absolute;z-index:6;top:calc(100% + 6px);left:0;right:0;max-height:220px;overflow:auto;background:#fff;border:1px solid rgba(28,28,28,.08);border-radius:16px;box-shadow:0 16px 40px rgba(70,40,10,.16);padding:6px;scrollbar-width:thin;scrollbar-color:#e2b423 transparent}
.availability-time-menu.is-up{top:auto;bottom:calc(100% + 6px)}
.availability-time-option{width:100%;border:0;background:transparent;border-radius:10px;padding:8px 10px;text-align:left;font-size:15px;font-weight:700;line-height:1.1;color:var(--text);cursor:pointer}
.availability-time-option:hover{background:#fff3cc}
.availability-time-option.is-selected{background:#ffd84a;box-shadow:0 2px 0 #e2b423}
.availability-time-row>span{color:var(--muted);font-weight:800;text-align:center}
.availability-repeat{display:grid;grid-template-columns:1fr 1fr;border:1.5px solid rgba(28,28,28,.14);background:#fffaf3;border-radius:14px;padding:4px;gap:4px}
.availability-repeat-btn{border:0;border-radius:10px;background:transparent;padding:10px 8px;font-size:14px;font-weight:800;color:#5e564e;cursor:pointer}
.availability-repeat-btn:hover{background:rgba(28,28,28,.04);color:var(--text)}
.availability-repeat-btn.is-active{background:var(--sun);color:var(--text);box-shadow:0 2px 0 var(--sun-deep)}
.availability-repeat-btn.is-active:hover{background:var(--sun);color:var(--text)}
.availability-edit-note{padding:9px 11px;border-radius:14px;background:#fffaf3;border:1px solid rgba(28,28,28,.1);color:#5e564e;font-size:12px;line-height:1.4}
.tutor-slot.is-drag-selected,.tutor-slot.is-editing{background:rgba(255,216,74,.72)!important;box-shadow:inset 3px 0 0 #e2b423!important;z-index:3}
.tutor-slot.is-drag-selected span,.tutor-slot.is-editing span{font-weight:900;color:#1c1c1c}
.tutor-day-col{user-select:none}
.tutor-slot{user-select:none;-webkit-user-select:none}
@media(max-width:520px){.availability-modal-backdrop .modal{width:min(340px,calc(100vw - 20px));padding:14px}.availability-actions .btn{font-size:13px;padding:0 8px}}

/* Расписание методиста: блок на всё свободное место между шапкой и меню */
.app:has(.methodist-schedule){height:100vh;overflow:hidden}
.app:has(.methodist-schedule) .main{display:flex;flex-direction:column;height:100vh;min-width:0;min-height:0}
.app:has(.methodist-schedule) .topbar{flex:0 0 auto}
.app:has(.methodist-schedule) .content{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;padding:16px 18px 18px;overflow:hidden}
.methodist-schedule{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:0 10px 24px rgba(70,40,10,.05);padding:16px 16px 14px}
.methodist-tutor-pick{position:relative}
.methodist-tutor-current{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;width:260px;max-width:100%;height:44px;padding:0 32px 0 14px;border:1px solid var(--line);border-radius:14px;background:#fffaf3;cursor:pointer;text-align:left;position:relative}
.methodist-tutor-current b,.methodist-tutor-current small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.methodist-tutor-current b{font-size:14px;line-height:1.2}
.methodist-tutor-current small{font-size:11px;color:var(--muted);font-weight:650}
.methodist-tutor-current::after{content:'▾';position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:12px;color:#6f675f}
.methodist-tutor-menu{position:absolute;z-index:20;top:calc(100% + 6px);left:0;width:320px;background:#fff;border:1px solid rgba(28,28,28,.08);border-radius:16px;box-shadow:0 16px 40px rgba(70,40,10,.16);padding:8px}
.methodist-tutor-menu.hidden{display:none}
.methodist-tutor-menu input{width:100%;border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin-bottom:6px;background:#fff;outline:none}
.methodist-tutor-menu input:focus{border-color:#e2b423;box-shadow:0 0 0 3px #fff3cc}
.methodist-tutor-list{max-height:280px;overflow:auto;display:flex;flex-direction:column;gap:2px}
.methodist-tutor-list button{display:flex;flex-direction:column;align-items:flex-start;gap:1px;width:100%;border:0;background:transparent;border-radius:12px;padding:8px 10px;text-align:left;cursor:pointer}
.methodist-tutor-list button b,.methodist-tutor-list button small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.methodist-tutor-list button small{font-size:12px;color:#6f675f;font-weight:650}
.methodist-tutor-list button.is-on,.methodist-tutor-list button:hover{background:#fff3cc}
.methodist-tutor-empty{padding:8px 10px 6px;color:#6f675f;font-size:13px}
.methodist-schedule .tutor-calendar-scroll{flex:1;min-height:0;border:1px solid var(--line);border-radius:16px;background:#fff}
.methodist-schedule .tutor-slot{cursor:default}
.methodist-schedule .tutor-slot.is-book{cursor:pointer}
.methodist-schedule .tutor-slot.is-book span{font-size:11px;font-weight:800;color:#1c1c1c}
.methodist-schedule-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}
.methodist-schedule-head h2{margin:0;font-size:20px}
.methodist-schedule-head p{margin:4px 0 0;font-size:13px;max-width:680px;line-height:1.4}
.methodist-schedule-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.methodist-schedule-nav{display:flex;align-items:center;gap:8px}
.methodist-schedule-nav b{min-width:150px;text-align:center;font-size:15px}
.methodist-board{flex:1;min-height:0;min-width:0;overflow:auto;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 30px rgba(38,34,28,.06)}
.methodist-board-inner{min-width:1050px}
.methodist-board-head,.methodist-board-body{display:grid;grid-template-columns:70px repeat(7,minmax(130px,1fr))}
.methodist-board-head{position:sticky;top:0;z-index:6;background:#fff;border-bottom:1px solid var(--line)}
.methodist-board-corner{height:68px;background:#fffaf3;border-right:1px solid var(--line)}
.methodist-board-day{height:68px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-right:1px solid var(--line);background:#fff;font-size:13px;color:#766e65}
.methodist-board-day b{font-size:19px;line-height:1;color:var(--text)}
.methodist-board-day small{font-size:11px;color:var(--muted)}
.methodist-board-day.is-today{background:#fff2c9}
.methodist-board-times{background:#fffaf3;border-right:1px solid var(--line)}
.methodist-board-time{box-sizing:border-box;padding:2px 9px 0 0;text-align:right;color:#6f675f;font-size:13px;font-weight:750}
.methodist-day{position:relative;background:#fff;border-right:1px solid var(--line);overflow:hidden}
.methodist-day.is-today{background:#fffdf8}
.methodist-grid-line{position:absolute;left:0;right:0;height:0;border-top:1px dotted rgba(39,36,32,.08);pointer-events:none;z-index:1}
.methodist-grid-line.is-hour{border-top:1px solid rgba(39,36,32,.14)}
.methodist-day .methodist-lesson{position:absolute;z-index:4;margin:0;border:1px solid #e7cd5c;border-radius:9px;background:#fff3cc;color:var(--text);padding:5px 7px;overflow:hidden;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;box-sizing:border-box;box-shadow:0 3px 10px rgba(70,40,10,.08);text-align:left}
.methodist-day .methodist-lesson:hover{background:#ffd84a}
.methodist-day .methodist-lesson strong{font-size:12px;line-height:1.15}
.methodist-day .methodist-lesson span,.methodist-day .methodist-lesson small{display:block;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}
.methodist-day .methodist-lesson span{margin-top:1px;font-size:12px;font-weight:750}
.methodist-day .methodist-lesson small{margin-top:1px;font-size:11px;color:#5e564e}
.methodist-day .methodist-lesson.is-forced{background:#fff0dc;border-color:#e6be8a}
@media(max-width:760px){.methodist-board-inner{min-width:910px}.methodist-board-head,.methodist-board-body{grid-template-columns:62px repeat(7,minmax(122px,1fr))}.methodist-board-day,.methodist-board-corner{height:62px}}

/* Экраны методиста: белый блок на всю свободную ширину и высоту, текст не обрезается */
.app:has(.methodist-office){height:100vh;overflow:hidden}
.app:has(.methodist-office) .main{display:flex;flex-direction:column;height:100vh;min-width:0;min-height:0}
.app:has(.methodist-office) .topbar{flex:0 0 auto}
.app:has(.methodist-office) .content{flex:1 1 auto;min-height:0;min-width:0;display:flex;flex-direction:column;padding:16px 18px 18px;overflow:hidden}
.methodist-office{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column;gap:14px}
.methodist-office>.section-head{flex:0 0 auto;min-width:0}
.methodist-office>.card{flex:1 1 auto;min-height:0;min-width:0;width:auto;display:flex;flex-direction:column}
.methodist-office .section-head{flex:0 0 auto;min-width:0}
.methodist-office .section-head>div{min-width:0}
.methodist-office .table-wrap{flex:1 1 auto;min-height:0;min-width:0;overflow:auto}
.methodist-office .table{width:100%;min-width:100%;table-layout:auto}
.methodist-office .table th,.methodist-office .table td{white-space:normal;overflow-wrap:break-word;vertical-align:top}
.methodist-office .table .btn,.methodist-office .table .badge{white-space:normal;overflow-wrap:normal;height:auto;line-height:1.25;max-width:100%}
.methodist-office .table .btn{margin:0 0 6px}
.methodist-office .chat-card{padding:0;overflow:hidden}
.methodist-office .chat-card .chat-grid{flex:1;min-height:0;height:auto;grid-template-columns:minmax(280px,34%) minmax(0,1fr)}
.methodist-office .chat-card .chat-list,.methodist-office .chat-card .chat-main,.methodist-office .chat-card .messages{min-height:0;min-width:0}
.methodist-office .chat-card .chat-main{display:flex;flex-direction:column;height:auto}
.methodist-office .chat-card .messages{flex:1 1 auto;max-height:none}
.methodist-office .chat-card .chat-input{flex:0 0 auto}
.methodist-office .chat-preview{white-space:normal;overflow:hidden;text-overflow:unset;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}
@media(max-width:760px){.methodist-office .chat-card .chat-grid{grid-template-columns:1fr}}
.soc{display:grid;gap:16px}
.soc-top{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}
.soc-top h2{margin:0;font-size:34px;letter-spacing:-1px}
.soc-top p{margin:6px 0 0;max-width:560px;color:#5e564e;line-height:1.45}
.soc-search{display:grid;gap:6px;min-width:min(320px,100%)}
.soc-search span{font-size:12px;font-weight:800;color:#7a7168}
.soc-search input{width:100%;border:1.5px solid rgba(28,28,28,.14);border-radius:16px;background:#fff;padding:12px 14px;font-size:16px;outline:none}
.soc-search input:focus{border-color:#e2b423;box-shadow:0 0 0 3px #fff3cc}
.soc-tabs{display:flex;gap:8px;padding:6px;width:max-content;max-width:100%;background:#fff;border-radius:999px;box-shadow:0 8px 20px rgba(70,40,10,.06)}
.soc-tabs button{border:0;background:transparent;border-radius:999px;padding:10px 18px;font-weight:800;color:#5e564e}
.soc-tabs button.is-on{background:var(--sun);color:#1c1c1c;box-shadow:0 3px 0 var(--sun-deep)}
.soc-tabs.is-paused{box-shadow:none}
.soc-tabs.is-paused button.is-on{background:transparent;color:#5e564e;box-shadow:none}
.soc-search-note{margin:0;max-width:720px;padding:10px 14px;border-radius:14px;background:#fff6df;color:#3d362f;line-height:1.4}
.soc-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,380px);gap:16px;align-items:start}
.soc-feed{display:grid;gap:12px}
.soc-card{display:grid;gap:10px;width:100%;text-align:left;border:1.5px solid transparent;background:#fff;border-radius:24px;padding:16px;box-shadow:0 10px 24px rgba(70,40,10,.05)}
.soc-card:hover{border-color:#f0d56a}
.soc-card.is-selected{border-color:#e2b423;box-shadow:0 0 0 3px #fff3cc}
.soc-card-person{display:flex;gap:12px;align-items:center;padding-right:92px}
.soc-card-person b{display:block;font-size:18px}
.soc-card-person small{display:block;margin-top:2px;color:#7a7168}
.soc-photo{border-radius:50%;object-fit:cover;background:#ffd84a;color:#1c1c1c;border:3px solid #fff;box-shadow:0 4px 0 #e2b423;display:grid;place-items:center;font-weight:800;flex:0 0 auto}
.soc-role{justify-self:start;background:#fff3cc;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:800}
.soc-card .soc-role{position:absolute}
.soc-card{position:relative}
.soc-card .soc-role{top:16px;right:16px}
.soc-excerpt{color:#3d362f;line-height:1.45;min-height:2.9em}
.soc-chips{display:flex;flex-wrap:wrap;gap:6px}
.soc-chips i{font-style:normal;background:#fffaf3;border:1px solid rgba(28,28,28,.08);border-radius:999px;padding:5px 10px;font-size:13px;font-weight:700}
.soc-empty,.soc-profile-empty{background:#fff;border-radius:24px;padding:28px;color:#5e564e;line-height:1.5}
.soc-profile-empty b{display:block;color:#1c1c1c;font-size:18px;margin-bottom:6px}
.soc-profile{position:sticky;top:94px;background:#fff;border-radius:28px;padding:18px;box-shadow:0 14px 32px rgba(70,40,10,.08);display:grid;gap:16px}
.soc-profile-head{display:grid;grid-template-columns:96px 1fr;gap:14px;align-items:center;padding:18px;border-radius:22px;background:linear-gradient(160deg,#ffe7a3,#fff7ee 70%)}
.soc-profile-head h3{margin:4px 0 2px;font-size:24px;letter-spacing:-.4px}
.soc-profile-head p,.soc-profile section p{margin:0;color:#3d362f;line-height:1.5}
.soc-profile h4{margin:0 0 6px;font-size:14px;color:#7a7168}
.soc-role.is-mine{background:#1c1c1c;color:#ffd84a}
.soc-lock{margin:0;padding:12px 14px;border-radius:16px;background:#fff6df;line-height:1.45}
.soc-subjects{display:grid;gap:10px}
.soc-subject{display:grid;gap:10px;padding:12px;border-radius:18px;background:#fffaf3}
.soc-subject b{display:block}
.soc-subject small,.soc-subject span{display:block;color:#7a7168}
.soc-actions{display:flex;flex-wrap:wrap;gap:8px}
.soc-wait{font-size:13px;font-weight:800;color:#6a4b00}
@media(max-width:900px){.soc-top{flex-direction:column;align-items:stretch}.soc-split{grid-template-columns:1fr}.soc-profile{position:static}.soc-card .soc-role{position:static}.soc-card-person{padding-right:0}}
.auth-card.is-wide{width:min(920px,100%);max-height:calc(100vh - 40px);overflow:auto}
.reg-days{display:flex;flex-wrap:wrap;gap:8px}
.reg-days button{border:1.5px solid rgba(28,28,28,.12);background:#fff;border-radius:999px;padding:8px 12px;font-weight:800}
.reg-days button.is-on{background:var(--sun);border-color:var(--sun);box-shadow:0 3px 0 var(--sun-deep)}
.reg-match,.reg-profile,.reg-tutor{display:flex;gap:14px;align-items:center;text-align:left;background:#fffaf3;border-radius:22px;padding:14px}
.reg-match b,.reg-tutor b{display:block;font-size:18px}
.reg-match p,.reg-block p{margin:4px 0 0;line-height:1.45}
.reg-tutor{width:100%;border:1.5px solid transparent;margin-bottom:8px}
.reg-tutor:hover{border-color:#e2b423}
.reg-tutor small{display:block;color:#7a7168;margin-top:3px}
.reg-block h3{margin:16px 0 6px;font-size:16px}
.reg-slot-day{margin-top:10px}
.reg-slot-day b{display:block;margin-bottom:6px}
.reg-slot{border:1.5px solid rgba(28,28,28,.12);background:#fff;border-radius:999px;padding:7px 10px;margin:0 6px 6px 0;font-weight:800}
.reg-slot:hover{border-color:#e2b423;background:#fff6df}
.intro-note,.lesson-balance-strip{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border-radius:22px;padding:16px 18px;margin-bottom:14px;box-shadow:0 10px 24px rgba(70,40,10,.05)}
.intro-note{background:#fff6df;display:grid;justify-content:stretch}
.intro-note b{display:block;margin-bottom:4px}
.lesson-balance-strip b{display:block;font-size:22px}
.lesson-balance-strip span,.intro-note span{color:#5e564e}
.intro-actions{display:flex;flex-wrap:wrap;gap:6px}
@media(max-width:760px){.lesson-balance-strip{flex-direction:column;align-items:stretch}}
.reg-intro-date{margin:12px 0 0;padding:12px 14px;border-radius:16px;background:#fff6df;line-height:1.45}
.profile-subjects{margin-top:2px}
.subject-picks{display:flex;flex-wrap:wrap;gap:8px;padding:10px;background:#fffaf3;border:1.5px solid rgba(28,28,28,.08);border-radius:18px}
.subject-pick{position:relative;display:inline-flex;align-items:center;width:auto;flex:0 0 auto;border:1.5px solid transparent;border-radius:999px;padding:8px 14px;background:#fff;font-weight:800;color:#3d362f;cursor:pointer}
.field .subject-pick input{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);box-shadow:none;appearance:none}
.subject-pick:hover{background:#fff6df}
.subject-pick:has(input:checked){background:var(--sun);border-color:var(--sun);color:#1c1c1c;box-shadow:0 3px 0 var(--sun-deep)}
.subject-pick:has(input:focus-visible){outline:2px solid #e2b423;outline-offset:2px}
.field .profile-file-input{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0,0,0,0);box-shadow:none}
.profile-file{position:relative}
.profile-file-card{display:flex;gap:14px;align-items:center;padding:12px;background:#fffaf3;border:1.5px solid rgba(28,28,28,.08);border-radius:18px}
.profile-file-preview{width:76px;height:76px;flex:0 0 auto;border-radius:16px;overflow:hidden;background:#fff;border:1px solid rgba(28,28,28,.08);display:grid;place-items:center;color:#1c1c1c}
.profile-file-preview img{width:100%;height:100%;object-fit:cover;margin:0;border:0;border-radius:0}
.profile-file-copy{display:grid;gap:6px;justify-items:start;min-width:0}
.profile-file-copy b{font-size:15px;line-height:1.3;word-break:break-word}
.profile-file .btn{padding:8px 14px}
.profile-file-doc{font-size:13px;font-weight:800}
.auth-wrap:has(.trial-booking){place-items:start center;padding-top:24px}
.auth-card:has(.trial-booking){display:flex;flex-direction:column}
.trial-booking{display:flex;flex-direction:column;min-width:0}
.trial-top{flex:0 0 auto;position:sticky;top:0;z-index:6;background:#fff;padding-bottom:6px}
.trial-lead{margin:0}
.trial-pane{min-height:340px}
.trial-note{margin:0 0 12px;color:#5e564e;font-size:14px;line-height:1.4}
.schedule-hits{display:grid;gap:10px;margin-top:12px}
.schedule-hit{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:16px;background:#fffaf3}
.schedule-slots{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.schedule-slot{border-radius:999px}
.trial-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.trial-tabs button{border:1.5px solid rgba(28,28,28,.12);background:#fff;border-radius:999px;padding:10px 14px;font-weight:800;text-align:left}
.trial-tabs button.is-on{background:var(--sun);border-color:var(--sun);box-shadow:0 3px 0 var(--sun-deep)}
.trial-card{display:flex;gap:12px;align-items:center;justify-content:space-between;width:100%;background:#fff;border:1.5px solid transparent;border-radius:20px;padding:12px;margin:0 0 8px;box-shadow:0 8px 18px rgba(70,40,10,.05)}
.trial-person{display:flex;gap:12px;align-items:center;text-align:left}
.trial-person b,.trial-person small{display:block}
.trial-person small{color:#7a7168;font-weight:600}
.trial-free{display:inline-block;margin-top:6px;background:#fff6df;border-radius:999px;padding:4px 8px;font-style:normal;font-weight:800;font-size:13px}
.phone-box{display:flex;align-items:stretch;position:relative;min-width:0;background:#fff;border:1.5px solid rgba(28,28,28,.14);border-radius:14px}
.phone-box:focus-within{border-color:#e2b423;box-shadow:0 0 0 3px #fff3cc}
.phone-code{flex:0 0 auto;display:flex;align-items:center;gap:6px;border:0;border-right:1px solid rgba(28,28,28,.1);background:#fffaf3;border-radius:12px 0 0 12px;padding:0 12px;font-weight:800;color:#1c1c1c}
.phone-code b{font-size:13px;letter-spacing:.04em}
.phone-code span{color:#5e564e;font-size:14px}
.phone-code::after{content:'';width:7px;height:7px;border-right:2px solid #5e564e;border-bottom:2px solid #5e564e;transform:rotate(45deg);margin:-3px 0 0 2px}
.field .phone-national{flex:1 1 auto;width:auto;min-width:0;border:0;background:transparent;box-shadow:none;border-radius:0 14px 14px 0;padding:12px}
.field .phone-national:focus{border:0;box-shadow:none}
.phone-menu{position:absolute;z-index:30;top:calc(100% + 6px);left:0;width:min(340px,calc(100vw - 48px));max-height:280px;overflow:auto;background:#fff;border:1px solid rgba(28,28,28,.08);border-radius:16px;box-shadow:0 16px 40px rgba(70,40,10,.16);padding:8px}
.phone-menu.is-up{top:auto;bottom:calc(100% + 6px)}
.field .phone-search{width:100%;margin:0 0 6px;border-radius:12px;padding:10px 12px}
.phone-option{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;background:transparent;border-radius:12px;padding:8px 10px;font-weight:700;text-align:left}
.phone-option b{display:inline-block;min-width:28px}
.phone-option:hover{background:#fff6df}
.phone-option.is-on{background:#ffd84a}
.phone-empty{padding:10px;color:#5e564e;font-size:13px}
.setup-person{background:#fffaf3;border-radius:18px;padding:14px}.setup-person-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.setup-person-head b{margin:0}.setup-remove{width:auto;border:0;background:none;padding:0;font-weight:800;color:#9a3412;box-shadow:none}.setup-add{width:100%;border:1px dashed rgba(28,28,28,.22);background:#fff;border-radius:999px;font-weight:800;padding:12px 18px}.setup-add:hover{background:#fffaf3}.err:empty{display:none}.err{margin:0;color:#9a3412;font-weight:800;line-height:1.45}
.field-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}.field-head label{margin-bottom:6px}.forgot{border:0;background:none;padding:0;font-size:13px;font-weight:800;color:inherit;text-decoration:none}
.field-error{margin-top:6px;color:#cb4646;font-size:12px;font-weight:800;line-height:1.35}
.confirm-code{letter-spacing:.42em;font-weight:800;font-size:22px;text-align:center}
.auth-back{display:inline-flex;align-items:center;gap:8px;margin-top:18px;padding:0;border:0;background:transparent;color:#3d362f;font-weight:800;cursor:pointer}
.auth-back i{width:34px;height:34px;border-radius:50%;border:1.5px solid rgba(28,28,28,.14);background:#fffaf3;position:relative}
.auth-back i::before{content:'';position:absolute;left:14px;top:12px;width:8px;height:8px;border-left:2px solid #3d362f;border-bottom:2px solid #3d362f;transform:rotate(45deg)}
.auth-back:hover i{background:#fff3cc}
.auth-card .auth-back+h1{margin-top:14px}
.login-alert{display:none;margin-top:16px;padding:16px 18px;border-radius:18px;background:#fff1ef;border:1px solid #e7a39a;color:#9a3412;font-size:16px;font-weight:800;line-height:1.45}
.login-alert.is-on{display:block}
.field.is-error>input,.field.is-error>select,.field.is-error>textarea{border-color:#cb4646;box-shadow:0 0 0 3px #fdecec}
.field.is-error .phone-box{border-color:#cb4646;box-shadow:0 0 0 3px #fdecec}
.field.is-error .phone-box:focus-within{border-color:#e2b423;box-shadow:0 0 0 3px #fff3cc}
.field.is-error .subject-picks{border-color:#cb4646;box-shadow:0 0 0 3px #fdecec}
.soft-pick{position:relative}
.soft-pick.is-open{z-index:6}
.soft-pick-btn{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;width:100%;min-height:48px;padding:8px 36px 8px 14px;border:1px solid rgba(28,28,28,.14);border-radius:14px;background:#fffaf3;cursor:pointer;text-align:left;position:relative}
.soft-pick-btn b,.soft-pick-btn small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.soft-pick-btn b{font-size:15px;font-weight:750;line-height:1.2}
.soft-pick-btn small{font-size:12px;color:#5e564e;font-weight:650}
.soft-pick-btn::after{content:'';position:absolute;right:16px;top:50%;width:7px;height:7px;border-right:2px solid #5e564e;border-bottom:2px solid #5e564e;transform:translateY(-70%) rotate(45deg)}
.soft-pick.is-open .soft-pick-btn::after{transform:translateY(-20%) rotate(225deg)}
.soft-pick-menu{position:absolute;z-index:8;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid rgba(28,28,28,.08);border-radius:16px;box-shadow:0 16px 40px rgba(70,40,10,.16);padding:8px}
.soft-pick-menu.hidden{display:none}
.field .soft-pick-menu input{width:100%;margin:0 0 6px;border:1px solid var(--line);border-radius:12px;padding:10px 12px;background:#fff;box-shadow:none}
.field .soft-pick-menu input:focus{border-color:#e2b423;box-shadow:0 0 0 3px #fff3cc}
.soft-pick-list{max-height:220px;overflow:auto;display:flex;flex-direction:column;gap:2px}
.soft-pick-list button{display:flex;flex-direction:column;align-items:flex-start;gap:1px;width:100%;border:0;background:transparent;border-radius:12px;padding:8px 10px;text-align:left;cursor:pointer}
.soft-pick-list button b,.soft-pick-list button small{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.soft-pick-list button small{font-size:12px;color:#6f675f;font-weight:650}
.soft-pick-list button:hover{background:#fff6df}
.soft-pick-list button.is-on{background:#ffd84a}
.soft-pick-empty{padding:8px 10px 6px;color:#6f675f;font-size:13px}
.tutor-day-col .tutor-lesson.is-pending{background:#fffdf6;border:1px dashed #e2b423;color:var(--text)}
.tutor-day-col .tutor-lesson.is-pending em{font-style:normal;font-size:10px;font-weight:800;color:#8a6a12}
.sidebar .nav{position:relative}
.nav-pill{position:absolute;left:0;top:0;z-index:0;border-radius:999px;background:var(--sun);box-shadow:0 3px 0 var(--sun-deep);pointer-events:none;opacity:0;transition:transform .32s cubic-bezier(.2,.7,.2,1),width .32s cubic-bezier(.2,.7,.2,1),height .32s cubic-bezier(.2,.7,.2,1),opacity .2s ease}
.nav a{position:relative;z-index:1;display:block;width:100%;box-sizing:border-box;text-decoration:none;color:#3d362f;border-radius:999px;font-weight:750;font-size:15px;text-align:left;padding:10px 11px;transition:color .22s ease,background .22s ease}
.nav a:hover{background:rgba(28,28,28,.06)}
.nav a.active,.nav a.active:hover{background:transparent;color:var(--text)}
.mk-nav a,.site-nav a{text-decoration:none;color:#3d362f;padding:8px 12px;border-radius:999px;font-weight:700}
.mk-nav a:hover,.site-nav a:hover{background:rgba(28,28,28,.06)}
a.mk-logo{text-decoration:none;color:inherit}
a.mk-cabinet{text-decoration:none;display:inline-block}
.site-nav a.public-account{background:var(--sun);color:var(--text);padding:12px 18px;font-weight:800;box-shadow:0 3px 0 var(--sun-deep)}
.course-photo{overflow:hidden}
.course-photo img{width:100%;height:100%;object-fit:cover;display:block}
.soc-tabs{position:relative}
.soc-tab-pill{position:absolute;top:6px;left:0;height:calc(100% - 12px);border-radius:999px;background:var(--sun);box-shadow:0 3px 0 var(--sun-deep);transition:transform .28s cubic-bezier(.2,.7,.2,1),width .28s cubic-bezier(.2,.7,.2,1),opacity .2s ease;pointer-events:none;opacity:0}
.soc-tabs button{position:relative;z-index:1;transition:color .22s ease}
.soc-tabs button.is-on{background:transparent;box-shadow:none;color:#1c1c1c}
.soc-feed.is-in,.soc-profile.is-in{animation:coursePaneIn .32s ease}
@keyframes coursePaneIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.shimmer{display:block;border-radius:12px;background:linear-gradient(90deg,#f3efe6 0%,#fff 48%,#f3efe6 100%);background-size:200% 100%;animation:shimmer 1.15s ease-in-out infinite}
@keyframes shimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}
.soc-shimmer-card{display:flex;gap:12px;align-items:center;background:#fff;border-radius:24px;padding:16px;box-shadow:0 10px 24px rgba(70,40,10,.05)}
.shimmer-avatar{width:64px;height:64px;border-radius:50%;flex:0 0 auto}
.shimmer-avatar.lg{width:96px;height:96px}
.shimmer-lines{flex:1;display:grid;gap:8px;align-content:center}
.shimmer-lines i{height:14px}
.shimmer.short{width:62%}
.shimmer.shorter{width:40%}
.soc-shimmer-profile{display:grid;gap:14px}
.soc-shimmer-head{display:grid;grid-template-columns:96px 1fr;gap:14px;align-items:center;padding:18px;border-radius:22px;background:linear-gradient(160deg,#ffe7a3,#fff7ee 70%)}
.shimmer.block{height:72px}
.shimmer.block.short{height:44px;width:72%}
@media (prefers-reduced-motion:reduce){.soc-tab-pill,.view-tab-pill,.nav-pill,.soc-feed.is-in,.soc-profile.is-in,.messages.is-in,#scheduleBody.is-in,.shimmer{animation:none;transition:none}}
.view-switch{position:relative;gap:4px;padding:4px;border-radius:999px;overflow:visible;background:#fff}
.view-tab-pill{position:absolute;top:4px;left:0;height:calc(100% - 8px);border-radius:999px;background:var(--sun);box-shadow:0 3px 0 var(--sun-deep);transition:transform .28s cubic-bezier(.2,.7,.2,1),width .28s cubic-bezier(.2,.7,.2,1),opacity .2s ease;pointer-events:none;opacity:0}
.view-switch button{position:relative;z-index:1;border-radius:999px;transition:color .22s ease}
.view-switch button.active{background:transparent;color:#1c1c1c;box-shadow:none;border-color:transparent}
#scheduleBody.is-in{animation:schedulePaneIn .28s ease}
@keyframes schedulePaneIn{from{opacity:0}to{opacity:1}}
.schedule-shimmer{display:grid;gap:12px}
.schedule-shimmer-title{height:22px;width:160px;border-radius:8px}
.schedule-shimmer-card{display:grid;grid-template-columns:72px minmax(0,1fr) 120px;gap:18px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px 18px}
.schedule-shimmer-date{width:56px;height:64px;border-radius:12px}
.schedule-shimmer-btn{height:40px;border-radius:999px}
.schedule-cal-shimmer{display:grid;grid-template-rows:68px 1fr;min-height:420px}
.schedule-cal-shimmer-head,.schedule-cal-shimmer-grid{display:grid;grid-template-columns:70px repeat(7,minmax(130px,1fr))}
.schedule-cal-shimmer-head{align-items:center;padding:0 0 0 0;border-bottom:1px solid var(--line);background:#fff}
.schedule-shimmer-day{height:42px;width:70%;margin:0 auto;border-radius:12px}
.schedule-shimmer-times{background:linear-gradient(#fffaf3,#fffaf3)}
.schedule-shimmer-col{display:grid;gap:18px;align-content:start;padding:16px 10px;border-left:1px solid var(--line)}
.schedule-shimmer-col i{height:54px}
.schedule-shimmer-col .mid{height:78px;width:100%}
.schedule-shimmer-col .short{height:36px;width:80%}
.teachers-layout .person .avatar{overflow:hidden}
.teachers-layout .person .avatar img{width:100%;height:100%;object-fit:cover;display:block}
.student-schedule .tutor-slot.is-static{pointer-events:none!important;cursor:default}
.student-schedule .tutor-slot.is-static:hover{background:transparent;box-shadow:none}
.student-now{position:absolute;left:0;right:0;height:2px;background:#e24b4b;z-index:3;pointer-events:none}
.student-now::before{content:'';position:absolute;left:-1px;top:-3px;width:8px;height:8px;border-radius:50%;background:#e24b4b}
.tutor-lesson.is-cancelled{background:#f6f3ee;border-color:#e4ddd2;color:#8a8178;box-shadow:none}
.tutor-legend .legend-pending{background:#fffdf6;border:1px dashed #e2b423}
.app:has(.student-schedule .tutor-calendar-scroll) .student-schedule{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
.app:has(.student-schedule .tutor-calendar-scroll) #scheduleToolbar,
.app:has(.student-schedule .tutor-calendar-scroll) #scheduleScope{flex:0 0 auto}
.app:has(.student-schedule .tutor-calendar-scroll) #scheduleBody{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:10px}
.app:has(.student-schedule .tutor-calendar-scroll) #scheduleBody>.tutor-calendar-scroll{flex:1 1 auto;min-height:0}
@media(max-width:760px){.schedule-shimmer-card{grid-template-columns:56px minmax(0,1fr)}.schedule-shimmer-btn{display:none}.schedule-cal-shimmer-head,.schedule-cal-shimmer-grid{grid-template-columns:62px repeat(7,minmax(122px,1fr))}}
.chat-input{align-items:center}
.chat-send{width:42px;height:42px;min-width:42px;padding:0;border:0;border-radius:50%;background:var(--sun);color:#1c1c1c;box-shadow:0 3px 0 var(--sun-deep);display:grid;place-items:center;flex:0 0 auto;cursor:pointer}
.chat-send svg{width:20px;height:20px;display:block;transform:rotate(-35deg) translate(1px,-1px)}
.chat-send:hover{filter:brightness(.97)}
.chat-send:disabled{opacity:.45;cursor:default}
.floating-chat-composer .chat-send{width:36px;height:36px;min-width:36px;box-shadow:0 2px 0 var(--sun-deep)}
.chat-shimmer{display:grid;gap:10px;width:100%;padding:6px 2px}
.chat-shimmer-row{display:flex}
.chat-shimmer-row.is-self{justify-content:flex-end}
.chat-bubble{height:44px;width:62%;border-radius:14px}
.chat-bubble.short{width:36%;height:36px}
.chat-bubble.mid{width:48%}
.chat-outgoing-bar{width:128px;height:14px;border-radius:8px}
.messages.is-in{animation:coursePaneIn .28s ease}
@media(max-width:760px){.sidebar .nav a{font-size:0}.sidebar .nav a::before{content:'•';font-size:18px}}
.soc-split.is-wide{grid-template-columns:minmax(0,1fr)}
.soc-profile[hidden]{display:none}
.course-subject-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.course-subject{display:grid;gap:12px;align-content:start;background:#fff;border-radius:24px;padding:16px;box-shadow:0 10px 24px rgba(70,40,10,.05)}
.course-subject.is-mine{background:#fffaf3}
.course-subject.is-empty{background:#f7f3ee}
.course-subject-head{display:flex;gap:12px;align-items:center}
.course-subject-mark{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--tone,#ffe08a);flex:0 0 auto}
.course-subject-mark svg{width:26px;height:26px;display:block}
.course-subject h3{margin:0;font-size:20px;letter-spacing:-.3px}
.course-subject .course-meta{margin:2px 0 0;color:#7a7168;font-size:13px}
.course-subject-badge{margin-left:auto;background:#fff3cc;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:800;white-space:nowrap}
.course-subject p{margin:0;color:#3d362f;line-height:1.45}
.course-subject-actions{display:flex;flex-wrap:wrap;gap:8px}
.course-day{margin-top:12px}
.course-day b{display:block;margin-bottom:6px}
.course-times{display:flex;flex-wrap:wrap;gap:8px}
.course-times button{border:1.5px solid rgba(28,28,28,.12);background:#fff;border-radius:999px;padding:8px 12px;font-weight:800}
.course-times button.is-on{background:var(--sun);border-color:var(--sun);box-shadow:0 3px 0 var(--sun-deep)}
.course-pick{margin-top:14px;padding:12px 14px;border-radius:16px;background:#fff6df;line-height:1.45}
.course-pick p{margin:4px 0 0}
.course-sheet{position:fixed;inset:0;z-index:40;display:grid;place-items:center;padding:18px;background:rgba(28,28,28,.28)}
.course-panel{width:min(640px,100%);max-height:min(88vh,760px);overflow:auto;background:#fff7ee;border-radius:28px;padding:22px;box-shadow:0 24px 60px rgba(70,40,10,.22)}
.course-panel h2{margin:0;font-size:28px;letter-spacing:-.6px}
.course-kicker{margin:16px 0 8px;font-size:13px;font-weight:800;color:#7a7168}
.course-error{margin:10px 0 0;color:#cb4646;font-weight:700}
.course-custom{display:flex;gap:8px;align-items:end;flex-wrap:wrap;margin-top:12px}
.course-custom input{border:1.5px solid rgba(28,28,28,.14);border-radius:14px;padding:10px 12px;width:120px;background:#fff}
.course-crumb{display:inline-flex;align-items:center;gap:4px;margin:0 0 2px;padding:0;border:0;background:none;color:#9a6a1a;font-size:13px;font-weight:800;line-height:1.2;cursor:pointer}
.course-crumb:hover{color:#1c1c1c}
.course-crumb[hidden]{display:none}
.soc-feed>.soc-split{grid-template-columns:minmax(220px,.9fr) minmax(340px,1.15fr)}
.soc-feed>.soc-split.is-browse{grid-template-columns:minmax(200px,260px) minmax(0,1fr)}
.soc-profile:has(.course-slot-stage){position:static}
.course-slot-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:2px 0 10px}
.course-slot-tools .tutor-schedule-title>b{min-width:0;font-size:15px}
.course-view{display:flex;gap:4px;padding:4px;background:#fff;border:1px solid rgba(28,28,28,.08);border-radius:999px;flex:0 0 auto}
.course-view button{border:0;background:transparent;border-radius:999px;padding:6px 12px;font-size:13px;font-weight:800;color:#5e564e}
.course-view button.is-on{background:var(--sun);color:#1c1c1c;box-shadow:0 2px 0 var(--sun-deep)}
.course-legend.is-spacer{display:none}
.course-slot-stage{height:460px;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 8px 30px rgba(38,34,28,.06)}
.course-slot-stage:has(.course-day),
.course-slot-stage:has(.course-list-shimmer),
.course-slot-stage:has(.empty){height:auto;max-height:460px;overflow:auto;padding:12px 14px}
.course-intro-cal{height:100%;overflow:auto;overscroll-behavior:contain;border:0;border-radius:0;background:#fff;box-shadow:none}
.course-intro-cal .tutor-day-col .tutor-slot.is-picked{background:#ffd84a;box-shadow:inset 0 0 0 2px #1c1c1c;z-index:3}
.course-intro-cal .tutor-day-col .tutor-slot.is-picked span{color:#1c1c1c}
.course-legend-pick{background:#ffd84a;border-color:#e2b423}
.course-cal-shimmer{height:100%;display:grid;grid-template-rows:68px minmax(0,1fr)}
.course-cal-shimmer-head,.course-cal-shimmer-grid{display:grid;grid-template-columns:54px repeat(7,minmax(0,1fr));min-width:0}
.course-cal-shimmer-head{align-items:center;border-bottom:1px solid var(--line)}
.course-shimmer-day{height:42px;width:70%;margin:0 auto;border-radius:12px}
.course-shimmer-times{background:#fffaf3}
.course-shimmer-col{display:grid;gap:14px;align-content:start;padding:14px 8px;border-left:1px solid var(--line)}
.course-shimmer-col i{height:48px}
.course-shimmer-col .mid{height:72px}
.course-shimmer-col .short{height:32px;width:80%}
.course-list-shimmer{display:grid;gap:18px;align-content:start}
.course-shimmer-label{display:block;height:14px;width:120px}
.course-shimmer-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.course-shimmer-pills i{height:36px;width:72px;border-radius:999px}
.course-shimmer-pills .short{width:54px}
.rail-btn:disabled{opacity:.35;cursor:default}
@media(max-width:900px){.course-subject-grid{grid-template-columns:1fr}.course-subject-badge{margin-left:0}.soc-feed>.soc-split,.soc-feed>.soc-split.is-browse{grid-template-columns:1fr}}
