:root{--blue:#296fff;--ink:#17233b;--muted:#7a8397;--line:#e9edf4;--paper:#f7f9fd;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible{outline:3px solid #93b7ff;outline-offset:4px}a{color:var(--blue);text-decoration:none}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.035em}h1{font-size:36px;line-height:1.17;margin-bottom:12px}h2{font-size:25px;margin-bottom:12px}h3{font-size:18px;margin-bottom:8px}p{line-height:1.65}.hidden{display:none!important}.muted{color:var(--muted)}.overline{font-size:10px;font-weight:750;letter-spacing:2px;display:block;margin-bottom:20px}.logo{font-size:39px;font-weight:850;letter-spacing:-3px;line-height:1;color:var(--blue);display:inline-flex;align-items:baseline}.logo span{font-size:13px;margin-left:5px;letter-spacing:0}.button{border:1px solid var(--line);border-radius:12px;padding:13px 19px;min-height:47px;font-size:14px;font-weight:650;display:inline-flex;justify-content:center;gap:12px;align-items:center;background:#fff;color:var(--ink)}.button:hover{background:#f2f6ff;border-color:#cddcfb}.primary{background:var(--blue);color:white;border-color:var(--blue);box-shadow:0 5px 14px #296fff16}.primary:hover{background:#1b5ee7;color:white}.soft{background:#edf3ff;color:var(--blue);border-color:#edf3ff}.full{width:100%}.text-button{border:0;background:none;color:var(--blue);padding:10px 0;font-size:13px}.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-button{border:1px solid var(--line);border-radius:50%;background:#fff;width:42px;height:42px;display:flex;align-items:center;justify-content:center;position:relative}.dot{position:absolute;right:1px;top:-4px;background:var(--blue);border:2px solid white;color:white;font-size:10px;border-radius:20px;min-width:18px;height:18px;display:grid;place-items:center}.avatar{background:#edf2ff;color:var(--blue);width:40px;height:40px;border-radius:50%;display:grid;place-items:center;font-weight:700}.tag{display:inline-flex;align-items:center;gap:6px;border-radius:7px;padding:5px 9px;font-size:11px;font-weight:600;background:#eef3ff;color:var(--blue)}.tag.green{color:#15875b;background:#eaf7f0}.tag.amber{color:#ae7414;background:#fff6e5}.tag.gray{color:var(--muted);background:#f1f3f7}.pill-dot{width:5px;height:5px;border-radius:50%;background:currentColor}.divider{height:1px;background:var(--line);margin:22px 0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.section-head h2{font-size:21px;margin:0}.section-head p{margin:6px 0 0;font-size:13px}.panel{border:1px solid var(--line);background:white;border-radius:22px;padding:27px}.empty{padding:45px 25px;text-align:center;background:white;border:1px dashed #d8dfed;border-radius:22px}.empty-symbol{width:60px;height:60px;background:#f0f5ff;color:var(--blue);border-radius:19px;display:grid;place-items:center;margin:0 auto 19px}.empty h3{font-size:20px}.empty p{color:var(--muted);font-size:14px;max-width:400px;margin:0 auto 21px}.form-error{color:#b93345;font-size:13px;min-height:6px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.wide{grid-column:1/-1}label{font-size:13px;font-weight:600;display:block}label input,label select,label textarea{margin-top:9px}input,select,textarea{width:100%;border:1px solid #dfe5ef;border-radius:11px;background:white;color:var(--ink);padding:13px;min-height:46px;font-size:14px;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #296fff0d}textarea{resize:vertical;min-height:112px;line-height:1.6}fieldset{margin:0;padding:0;border:0}legend{font-size:13px;font-weight:600;margin-bottom:12px}.field-note{font-size:12px;color:var(--muted);font-weight:400;margin:8px 0 0}.segmented{display:flex;background:#f3f5f9;border:1px solid #edf0f6;border-radius:11px;padding:4px;margin:25px 0}.segmented button{border:0;flex:1;background:transparent;color:var(--muted);padding:9px 12px;border-radius:8px;font-weight:600;font-size:13px}.segmented .selected{background:#fff;color:var(--ink);box-shadow:0 2px 6px #18233c09}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.choice{padding:18px;text-align:left;border:1px solid var(--line);border-radius:13px;background:white;color:var(--ink);font-weight:600;line-height:1.6}.choice small{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-top:3px}.choice.selected{border-color:var(--blue);color:var(--blue);background:#f3f7ff;box-shadow:0 0 0 1px var(--blue)}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.actions.end{justify-content:space-between;margin-top:28px}.back{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:0;color:var(--muted);font-size:13px;margin-bottom:22px}.check-grid{display:flex;gap:8px;flex-wrap:wrap}.check-grid label{position:relative;cursor:pointer}.check-grid input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}.check-grid span{border:1px solid var(--line);display:inline-block;padding:10px 13px;border-radius:10px;font-size:13px;font-weight:500}.check-grid input:checked+span{background:#edf3ff;border-color:var(--blue);color:var(--blue)}.check-grid input:focus-visible+span{outline:2px solid var(--blue)}.prose{white-space:pre-wrap;overflow-wrap:anywhere}.inline-note{background:#f1f6ff;border-radius:12px;padding:15px 18px;font-size:13px;color:#526d9f;line-height:1.65}.danger-note{background:#fff4ee;color:#9b6237}.mini-label{font-size:11px;color:var(--muted);display:block;margin-bottom:5px}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;box-shadow:0 7px 30px #17233b25;max-width:calc(100% - 30px);width:max-content;padding:15px 22px;border-radius:13px;font-size:14px;z-index:20;display:none}#toast.visible{display:block}.boot{height:100dvh;display:grid;place-content:center;text-align:center;gap:20px}.boot p{color:var(--muted);font-size:13px}
.auth-page{display:grid;grid-template-columns:48% 52%;min-height:100dvh;background:white}.auth-story{padding:54px 9%;background:#eef3ff;position:relative;overflow:hidden}.story-copy{margin-top:82px}.story-copy .overline{color:#7e91b5;font-size:9px}.story-copy h1{font-size:58px;line-height:1.12;letter-spacing:-3px;max-width:500px;margin-bottom:24px}.story-copy>p{font-size:17px;color:#7487a9}.story-footer{font-size:11px;color:#8d9bb4;margin-bottom:0}.story-art{height:220px;position:relative;margin:25px 0 28px}.art-orbit{width:270px;height:190px;border:1px solid #d4e0fa;border-radius:50%;position:absolute;left:38px;top:15px;transform:rotate(-25deg)}.art-tile{position:absolute;display:flex;align-items:center;justify-content:center;border-radius:28px}.art-book{left:50px;top:20px;width:180px;height:160px;background:var(--blue);color:white;font-size:69px;font-weight:600;letter-spacing:-4px;transform:rotate(-11deg);box-shadow:0 20px 36px #296fff25;flex-direction:column}.art-book span{font-size:10px;letter-spacing:0;margin-top:5px;font-weight:400}.art-star{width:76px;height:76px;left:233px;top:108px;background:#d7e4ff;border:5px solid #eef3ff;color:var(--blue);font-size:45px;transform:rotate(12deg)}.auth-right{display:grid;place-items:center;padding:50px}.auth-card{width:100%;max-width:360px}.auth-card .overline{color:#9ba5b6}.auth-card h2{font-size:32px;margin-bottom:10px}.auth-card>p{font-size:14px}.auth-card form>label{margin:20px 0}.admin-toggle{margin:20px auto 0;display:block;color:#969eac;font-size:11px}.role-choice{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}.role-choice label{flex:1}.role-choice input{position:absolute;opacity:0;width:0}.role-choice span{display:block;padding:13px;border:1px solid var(--line);border-radius:10px;font-size:12px;text-align:center}.role-choice input:checked+span{border-color:var(--blue);color:var(--blue);background:#f3f7ff}.telegram{width:100%;margin-top:12px}.mobile-brand{display:none}
.app{display:flex;min-height:100dvh}.sidebar{width:235px;background:#fff;border-right:1px solid var(--line);padding:42px 24px 22px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:4}.sidebar>.logo{margin:0 14px 55px}.workspace-label{color:#acb2bf;font-size:9px;letter-spacing:1.6px;font-weight:650;margin:0 14px 17px}.nav-link{display:flex;align-items:center;gap:13px;width:100%;border:0;border-radius:11px;background:transparent;color:#7b8496;text-align:left;font-size:13px;padding:14px;margin:3px 0;font-weight:550;min-height:45px}.nav-link.active{color:var(--blue);background:#edf3ff}.nav-link:hover{background:#f5f7fb}.nav-count{margin-left:auto;border-radius:5px;font-size:10px;background:#dce8ff;color:var(--blue);padding:3px 5px}.sidebar-bottom{margin-top:auto}.small-note{border-top:1px solid var(--line);padding:22px 14px 10px;color:#a5aebd;font-size:12px;line-height:1.7}.sidebar-bottom .nav-link{font-size:11px;margin-top:18px}.sidebar-bottom span{margin-left:auto}.workspace{margin-left:235px;flex:1;min-width:0}.topbar{height:93px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fff;border-bottom:1px solid var(--line)}.breadcrumb{font-size:12px;color:#a2aabb}.breadcrumb span{margin:0 12px;color:#d4d9e3}.breadcrumb b{font-weight:500;color:#627089}.topbar-actions{display:flex;align-items:center;gap:13px}.topbar-actions>.icon-button{margin-right:10px}.identity{display:flex;flex-direction:column;gap:5px;font-size:12px;max-width:190px}.identity strong{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.identity span{font-size:10px;color:var(--muted)}main{padding:38px 42px 24px;max-width:1440px;margin:auto;min-height:calc(100dvh - 154px)}.page-footer{padding:17px 42px 22px;color:#a8b0bf;font-size:10px;display:flex;gap:15px}.page-footer span{padding-left:15px;border-left:1px solid var(--line)}.welcome{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:29px}.welcome h1{font-size:30px;margin:0 0 9px}.welcome p{color:var(--muted);font-size:13px;margin:0}.date-label{font-size:11px;color:#9aa4b6;padding-bottom:4px;text-transform:capitalize}.home-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr);gap:22px;margin-bottom:30px}.hero{background:var(--blue);border-radius:22px;padding:32px;color:white;position:relative;overflow:hidden;min-height:255px}.hero:after{content:'✦';position:absolute;font-size:245px;line-height:1;right:-30px;bottom:-50px;color:#ffffff12;pointer-events:none;transform:rotate(-12deg)}.hero .overline{color:#d4e3ff;font-size:9px;margin-bottom:18px}.hero h2{font-size:33px;line-height:1.15;max-width:330px;font-weight:650}.hero p{max-width:320px;font-size:12px;color:#d9e6ff;line-height:1.7;margin-bottom:23px}.hero .button{border:0;font-size:12px;color:var(--blue);position:relative;z-index:1;min-height:42px}.steps-panel{padding:26px}.steps-panel h3{font-size:15px;margin-bottom:23px}.how-step{display:flex;gap:13px;align-items:flex-start;margin-bottom:19px}.how-step:last-child{margin-bottom:0}.step-circle{background:#f2f6ff;color:var(--blue);font-size:11px;font-weight:650;width:27px;height:27px;display:grid;place-items:center;border-radius:9px;flex-shrink:0}.how-step strong{font-size:12px;font-weight:600;display:block;margin:1px 0 4px}.how-step p{font-size:11px;color:var(--muted);line-height:1.5;margin:0}.request-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.request-card{padding:24px}.request-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px;gap:10px}.subject-symbol{width:42px;height:42px;background:#eff4ff;color:var(--blue);border-radius:12px;display:grid;place-items:center;font-size:20px}.request-card h3{font-size:19px;margin-bottom:8px}.request-meta{font-size:12px;color:var(--muted);margin-bottom:13px}.request-goal{font-size:13px;line-height:1.6;color:#63718c;min-height:40px;margin-bottom:21px}.request-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:18px}.price{font-weight:650;font-size:17px;white-space:nowrap}.price small{font-size:10px;color:var(--muted);font-weight:400;display:block;margin-top:4px}.request-bottom .button{font-size:12px;min-height:39px;padding:10px 12px}.tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin:25px 0 24px}.tab{border:0;border-bottom:2px solid transparent;background:none;padding:0 0 13px;color:var(--muted);font-size:13px}.tab.active{color:var(--blue);border-bottom-color:var(--blue)}.mobile-navigation{display:none}
.wizard-wrap{max-width:710px;margin:0 auto}.wizard-top{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-bottom:12px}.progress-track{height:4px;background:#e5ebf5;border-radius:4px;overflow:hidden;margin-bottom:28px}.progress-track span{display:block;height:100%;background:var(--blue)}.wizard-panel{padding:36px}.wizard-panel h1{font-size:27px;margin-bottom:11px}.wizard-panel>.muted{font-size:13px;margin-bottom:30px}.goal-grid{display:grid;gap:10px}.summary{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:26px 0}.summary strong{font-size:14px;font-weight:600}.budget-grid{grid-template-columns:repeat(3,1fr)}.budget-grid .choice{text-align:center;font-size:18px;padding:17px 10px}.budget-grid small{font-size:10px}.station-confirm{margin-top:14px;display:flex;align-items:center;justify-content:space-between;background:#edf7f1;padding:15px;border-radius:12px;font-size:13px;gap:12px}.station-confirm .button{min-height:35px;padding:8px 12px}.tutor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.tutor-card{padding:25px}.tutor-heading{display:flex;gap:17px;align-items:center;margin-bottom:23px}.tutor-photo{width:74px;height:85px;border-radius:15px;object-fit:cover;background:#edf3ff;display:grid;place-items:center;font-size:30px;flex-shrink:0}.tutor-heading h2{font-size:20px;margin-bottom:7px}.rating{font-size:12px;color:#b9841c}.rating span{color:var(--muted);font-size:11px}.about-text{font-size:13px;color:#697991;line-height:1.7;margin-bottom:20px}.price-line{font-size:22px;font-weight:650;margin:20px 0}.price-line small{font-weight:400;color:var(--muted);font-size:11px}.tutor-card .actions .button{flex:1;font-size:12px;padding-left:10px;padding-right:10px}.notification-list{display:grid;gap:12px}.notification{padding:22px 25px;display:flex;align-items:flex-start;gap:16px}.notification.unread{border-color:#c7d9ff;background:#fbfdff}.notice-icon{background:#edf3ff;color:var(--blue);border-radius:11px;padding:10px;display:flex}.notification p{font-size:13px;line-height:1.7;margin-bottom:9px}.notification time{color:var(--muted);font-size:11px}.chat-layout{display:grid;grid-template-columns:280px minmax(0,1fr);height:min(690px,calc(100dvh - 240px));min-height:470px;overflow:hidden;padding:0}.chat-list{border-right:1px solid var(--line);overflow:auto;padding:12px}.chat-contact{border:0;background:none;border-radius:12px;padding:16px;width:100%;text-align:left;display:flex;gap:11px;color:var(--ink)}.chat-contact.active{background:#edf3ff}.chat-contact strong{font-size:12px;font-weight:650;display:block;margin:2px 0 5px}.chat-contact small{font-size:10px;color:var(--muted)}.chat-contact .avatar{height:35px;width:35px;font-size:12px;flex-shrink:0}.chat-pane{display:flex;flex-direction:column;min-height:0;min-width:0}.chat-header{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;border-bottom:1px solid var(--line);font-size:14px;font-weight:650}.chat-header small{display:block;font-size:11px;color:var(--muted);font-weight:400;margin-top:5px}.chat-policy{font-size:10px;line-height:1.65;color:#919aad;background:#fcfdff;padding:11px 24px;border-bottom:1px solid var(--line)}.messages{flex:1;overflow:auto;padding:23px;display:flex;flex-direction:column;gap:13px;background:#fafbfe;overscroll-behavior:contain}.bubble{background:white;border:1px solid var(--line);border-radius:15px 15px 15px 4px;padding:12px 15px;max-width:83%;width:max-content;font-size:13px;line-height:1.6;align-self:flex-start;overflow-wrap:anywhere;white-space:pre-wrap}.bubble.mine{background:#edf3ff;border-color:#e3ebff;align-self:flex-end;border-radius:15px 15px 4px 15px}.bubble time{display:block;text-align:right;font-size:9px;color:#99a4b6;margin-top:5px}.chat-composer{display:flex;align-items:flex-end;gap:12px;border-top:1px solid var(--line);padding:15px 20px;background:white}.chat-composer textarea{min-height:47px;height:47px;max-height:130px;resize:vertical;font-size:13px;margin:0}.chat-composer .button{padding:12px 16px}.chat-placeholder{display:grid;place-content:center;text-align:center;padding:30px;flex:1;color:var(--muted);font-size:13px}.profile-wrap{max-width:850px;margin:auto}.profile-photo{display:flex;align-items:center;gap:22px;margin-bottom:28px}.profile-photo img{width:92px;height:105px;object-fit:cover;border-radius:15px}.profile-photo input{font-size:12px;padding:10px}.profile-section{margin-bottom:27px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin:25px 0}.stat-grid strong{display:block;font-size:32px;font-weight:650;margin:10px 0}.stat-grid span{color:var(--muted);font-size:12px}.review-row{padding:20px;border-bottom:1px solid var(--line)}.review-row p{font-size:13px;color:#63718c;margin:10px 0 0}.review-row time{font-size:11px;color:var(--muted);margin-left:13px}.loading{padding:60px;text-align:center;font-size:13px;color:var(--muted)}
@media(max-width:1100px){.sidebar{width:205px;padding:34px 17px}.workspace{margin-left:205px}.topbar{padding:0 27px}main{padding:30px 27px}.home-grid{grid-template-columns:1.5fr 1fr;gap:16px}.hero{padding:27px}.hero h2{font-size:29px}.steps-panel{padding:22px}.chat-layout{grid-template-columns:220px 1fr}.request-card{padding:20px}.request-bottom .button{font-size:11px}.story-copy h1{font-size:47px}.auth-story{padding:48px 8%}.auth-right{padding:35px}.identity{max-width:130px}.tutor-grid{grid-template-columns:1fr}}
@media(max-width:780px){.sidebar{display:none}.workspace{margin-left:0}.mobile-brand{display:inline-flex;font-size:32px}.topbar{height:76px;padding:0 22px}.breadcrumb{display:none}.topbar-actions .identity{display:none}.topbar-actions>.icon-button{margin:0}.topbar-actions{gap:12px}.avatar{width:34px;height:34px;font-size:13px}.icon-button{height:36px;width:36px}main{padding:28px 20px 20px;min-height:calc(100dvh - 210px)}.page-footer{padding:16px 20px 105px;font-size:9px}.mobile-navigation{position:fixed;bottom:0;left:0;right:0;display:flex;padding:10px 8px calc(10px + env(safe-area-inset-bottom));justify-content:space-around;z-index:10;background:#fffffff5;backdrop-filter:blur(20px);border-top:1px solid var(--line)}.mobile-navigation button{display:flex;flex-direction:column;align-items:center;gap:6px;border:0;background:none;color:#939fb3;font-size:9px;min-width:58px;min-height:40px;padding:0;position:relative}.mobile-navigation button.active{color:var(--blue)}.mobile-navigation .nav-count{position:absolute;top:-4px;right:5px;border-radius:8px;font-size:8px;min-width:14px;height:14px;line-height:14px;background:var(--blue);color:white;padding:0}.welcome h1{font-size:28px}.welcome{margin-bottom:23px}.date-label{display:none}.home-grid{grid-template-columns:1fr;gap:16px;margin-bottom:28px}.hero{padding:29px;min-height:238px}.hero h2{font-size:32px}.hero p{max-width:260px;font-size:12px}.hero .overline{font-size:8px}.steps-panel{display:none}.request-grid{gap:14px}.request-card{padding:20px}.request-bottom{align-items:flex-start;flex-direction:column;gap:17px}.request-bottom .button{width:100%;font-size:12px}.request-card h3{font-size:17px}.request-goal{font-size:12px}.section-head h2{font-size:20px}.section-head .button{font-size:11px;padding:10px 13px;min-height:40px}.section-head{gap:10px}.panel{border-radius:18px}.auth-page{grid-template-columns:1fr}.auth-story{display:none}.auth-right{padding:38px 25px;align-items:start}.auth-card{max-width:390px}.auth-card .mobile-brand{margin:0 0 50px;font-size:40px}.auth-card h2{font-size:31px}.wizard-panel{padding:25px 22px}.wizard-panel h1{font-size:24px}.budget-grid{grid-template-columns:repeat(2,1fr)}.field-grid{grid-template-columns:1fr}.field-grid .wide{grid-column:auto}.wizard-top{font-size:10px}.summary{gap:22px 13px}.summary strong{font-size:13px}.chat-layout{grid-template-columns:1fr;height:calc(100dvh - 205px);min-height:400px;border:0;border-radius:17px}.chat-list{border:0}.chat-layout.open .chat-list{display:none}.chat-layout:not(.open) .chat-pane{display:none}.chat-header{padding:15px 18px;font-size:13px;gap:9px}.chat-header .text-button{font-size:12px;flex-shrink:0}.chat-policy{padding:10px 18px;font-size:9px}.messages{padding:17px 14px;gap:10px}.bubble{font-size:13px;max-width:90%}.chat-composer{padding:12px;gap:8px}.chat-composer .button{padding:12px}.chat-composer textarea{font-size:16px}.stat-grid{grid-template-columns:1fr;gap:12px}.stat-grid .panel{display:flex;justify-content:space-between;align-items:center;padding:20px}.stat-grid strong{margin:0;font-size:27px}.tutor-card{padding:23px}.tutor-heading h2{font-size:19px}.tutor-photo{width:64px;height:77px}.notification{padding:18px 16px;gap:12px}.notification p{font-size:12px}.notice-icon{padding:8px}#toast{bottom:95px;font-size:12px}.profile-photo{align-items:flex-start;gap:15px}.profile-photo input{max-width:240px}.profile-wrap .panel{padding:23px}.back{margin-bottom:20px}}
@media(max-width:420px){.request-grid{grid-template-columns:1fr}.request-bottom{flex-direction:row;align-items:center}.request-bottom .button{width:auto}.welcome h1{font-size:26px}.hero h2{font-size:30px}.hero{padding:27px}.request-goal{min-height:0}.auth-card .overline{font-size:9px}.tutor-card .actions{flex-direction:column}.tutor-card .actions .button{width:100%}.choice{padding:15px;font-size:13px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:780px){.chat-layout{height:calc(100dvh - 310px);min-height:300px}}
.learning-form{display:grid;gap:22px}.learning-form h2,.learning-form h3,.learning-form p{margin-bottom:0}.learning-form form{display:grid;gap:19px}.learning-form .button{justify-self:start}.learning-form input[type=file]{font-size:12px}.lesson-card h3{margin-top:20px;font-size:21px}.lesson-card>.muted{font-size:13px;margin-bottom:18px}.lesson-date{font-size:14px;font-weight:550;line-height:1.7}.lesson-detail{max-width:790px}.lesson-detail h2{margin-top:23px}.lesson-detail .actions{margin-top:20px}.invoice-amount{font-size:43px;letter-spacing:-2px;margin:0}.receipt-row{display:grid;gap:15px;border-top:1px solid var(--line);padding-top:20px}.receipt-row .tag,.receipt-row .button{justify-self:start}.balance-hero{background:var(--blue);color:white;padding:35px}.balance-hero .overline{color:#d8e5ff}.balance-hero h2{font-size:43px;margin:12px 0}.balance-hero p{font-size:13px;color:#e3ebff}.balance-hero .button{color:var(--blue)}.transaction-list{display:grid;gap:12px}.transaction{padding:22px}.transaction summary{display:flex;justify-content:space-between;gap:15px;cursor:pointer;font-size:14px}.transaction p{font-size:13px;margin:19px 0 0}.positive{color:#16845b}.confirm-check{display:flex;align-items:flex-start;gap:12px;font-size:13px;line-height:1.7}.confirm-check input{width:18px;min-height:18px;margin:2px 0 0;flex-shrink:0}.menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:700px}.menu-grid .button{justify-content:flex-start;padding:24px;font-size:17px}.attention{display:flex;gap:20px;align-items:center;justify-content:space-between;background:#eaf7f0;border:1px solid #bfe3ce;border-radius:17px;padding:22px 25px;margin-bottom:25px}.attention strong{font-size:15px;color:#23764e}.attention p{font-size:12px;color:#5c8b70;margin:6px 0 0}details>summary{cursor:pointer;font-size:14px;font-weight:600}details[open]>summary{margin-bottom:22px}.sidebar nav .nav-link{padding-top:12px;padding-bottom:12px}
@media(max-width:780px){.learning-form{gap:20px}.learning-form .button{font-size:13px}.invoice-amount,.balance-hero h2{font-size:35px}.balance-hero{padding:27px}.attention{padding:20px;flex-direction:column;align-items:flex-start;gap:13px}.attention .button{min-height:40px;font-size:12px}.transaction summary{font-size:12px}.menu-grid{grid-template-columns:1fr}.menu-grid .button{font-size:15px;padding:21px}.lesson-card h3{font-size:19px}.learning-form input[type=date],.learning-form input[type=time]{min-width:0;font-size:16px}.learning-form .field-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}

/* Supplied brand assets stay unchanged; the SVG viewport frames the wordmark. */
.logo{width:132px;height:39px;flex-shrink:0;mix-blend-mode:multiply}
.logo>svg{display:block;width:100%;height:100%;flex-shrink:0}
@media(max-width:780px){.logo.mobile-brand{width:110px;height:32px}.auth-card .logo.mobile-brand{width:135px;height:40px}}
.auth-methods{display:grid;gap:10px;margin-top:24px}
.auth-methods .button{min-height:50px;gap:9px;text-decoration:none}
.auth-methods .button[aria-disabled=true],.auth-methods .button:disabled{background:#eef1f6;color:#657188;cursor:default;opacity:1}
.auth-methods p{font-size:13px;margin:2px 0 0}
.auth-links{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;margin-top:16px}
#auth-back{margin-top:12px}
/* Shared portal: documents, people, referrals and support. */
.people-list{display:grid;gap:12px}.list-entry{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;text-align:left;color:var(--text,#172033);font:inherit;cursor:pointer}.list-entry>span:nth-last-child(2){flex:1}.list-entry strong,.list-entry small{display:block}.list-entry small{color:#7c8498;margin-top:6px}.list-entry:hover{border-color:#296fff}.filter-bar{display:flex;align-items:end;gap:14px;margin-bottom:20px}.filter-bar label:first-child{flex:1}.filter-bar label{min-width:140px}.document-list{display:grid;gap:12px;margin-top:16px}.document-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #edf0f7}.document-row .actions{flex-wrap:wrap}.upload-block{padding-top:20px;margin-top:20px;border-top:1px solid #edf0f7}.upload-block>label{display:block;margin-bottom:12px}.upload-block input[type=checkbox],.all-metro input,.profile-section input[type=checkbox]{width:18px;min-height:18px;vertical-align:middle;margin-right:8px}.all-metro{display:block;background:#eef4ff;padding:18px;border-radius:16px;font-size:18px;font-weight:700;color:#296fff}.metro-picker{margin-top:16px}.metro-picker .check-grid{max-height:300px;overflow:auto;margin-top:12px}.metro-picker input[type=search],#profile-metro-search{margin-top:14px}details.panel>summary{cursor:pointer;font-weight:700;font-size:18px;list-style-position:inside}details.panel[open]>summary{margin-bottom:20px}[hidden]{display:none!important}.preview-card{max-width:850px}.referral-hero{padding:36px;border-radius:28px}.referral-hero p{max-width:720px;line-height:1.9}.referral-hero .referral-link{display:block;margin:24px 0 14px}.referral-link input{background:#fff;color:#172033;margin-top:10px}.referral-stats{margin-top:24px}.referral-stats strong{font-size:25px!important;overflow-wrap:anywhere}.support-thread{max-width:850px}.support-message{padding:18px;background:#f4f7fd;border-radius:18px;margin-bottom:16px;max-width:90%;overflow-wrap:anywhere}.support-message.mine{background:#eaf1ff;margin-left:auto}.support-message .button{margin:6px 8px 0 0}.chat-attachment{display:block;margin-top:10px}.chat-attachment img{max-width:100%;max-height:320px;border-radius:12px;object-fit:contain}.chat-file-button{position:relative;cursor:pointer;padding:12px}.chat-file-button input{max-width:130px;font-size:11px;min-height:0}.role-options{flex-wrap:wrap}.pager{margin-top:20px}
@media(max-width:700px){.filter-bar{flex-direction:column;align-items:stretch}.filter-bar label{width:100%}.list-entry{flex-wrap:wrap}.list-entry .actions{width:100%}.document-row{align-items:flex-start;flex-direction:column}.referral-hero{padding:24px}.referral-hero h2{font-size:32px}.support-message{max-width:100%}.chat-file-button{padding:4px}.chat-file-button input{max-width:80px}.chat-form{flex-wrap:wrap}.chat-form textarea{min-width:60%}}
.sidebar #navigation{min-height:0;overflow-y:auto;flex:1;padding-bottom:12px}.sidebar>.logo,.sidebar>.workspace-label,.sidebar-bottom{flex-shrink:0}.sidebar-bottom{padding-top:12px}.sidebar-bottom .small-note{font-size:11px}

#push-settings{margin-bottom:16px}
#push-settings button[hidden]{display:none}
