/* === style.css === */
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#25282e;background:#fafbfc;font-synthesis:none;font-size:16px;line-height:1.5;--muted:#777f8b;--line:#e8ebef;--blue:#397ec4;--soft:#edf5fc}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{color:inherit;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button{transition:background .18s,transform .18s}button:active:not(:disabled){transform:scale(.98)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #92c5ed;outline-offset:3px}[hidden]{display:none!important}.icon{width:22px;height:22px;flex-shrink:0}.layout{min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#f1f3f5;border-right:1px solid var(--line);padding:36px 22px 20px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px;font-weight:650;font-size:22px;letter-spacing:-.7px}.brand-symbol{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:#252c35;color:white;font-size:21px;font-weight:550;letter-spacing:0}.brand small{display:block;font-size:11px;color:var(--muted);font-weight:400;letter-spacing:2px;margin-top:1px}.sidebar nav{display:grid;gap:8px;margin-top:52px}.nav-link{display:flex;align-items:center;gap:13px;padding:12px 15px;border-radius:12px;color:#707783;font-size:15px;font-weight:500}.nav-link:hover{background:#e9edf1}.nav-link.active{background:#fff;color:#283844;box-shadow:0 2px 8px #202e3c04}.nav-link.active .icon{color:var(--blue)}.sidebar-bottom{margin-top:auto}.environment{font-size:11px;color:#8b919a;padding:16px 8px;display:flex;align-items:center;gap:7px}.environment>span{width:5px;height:5px;border-radius:50%;background:#88a9bd}.identity{display:flex;align-items:center;width:100%;gap:10px;border:0;border-top:1px solid #e3e6ea;background:none;padding:18px 0 0;text-align:left;font-size:12px}.identity>span:nth-child(2){flex:1}.identity small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.identity>.icon{width:14px}.avatar{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#e2e7ec;color:#536271;font-size:13px;flex-shrink:0}.avatar .icon{width:16px}.main-shell{margin-left:238px;min-height:100dvh}.mobile-header,.bottom-nav{display:none}main{animation:arrive .22s ease-out}.ask-page{min-height:100dvh;max-width:1100px;margin:auto;padding:32px 64px 25px;display:flex;flex-direction:column}.teacher-topline{display:flex;align-items:center;gap:10px}.teacher-avatar{width:34px;height:34px;border-radius:50%;background:#e9edf1;color:#5b6672;display:grid;place-items:center;font-size:14px}.teacher-topline strong{font-size:13px;font-weight:550;display:block}.teacher-topline small{font-size:10px;color:#8a919a;display:block;margin-top:2px}.teacher-topline>.icon-button{margin-left:auto}.icon-button{width:36px;height:36px;padding:8px;border:0;border-radius:10px;background:transparent;display:grid;place-items:center;color:#717a85}.icon-button:hover:not(:disabled){background:#edf0f3}.icon-button .icon{width:19px;height:19px}.welcome{width:100%;max-width:710px;margin:auto; padding:64px 0 48px}.eyebrow{font-size:12px;letter-spacing:1.6px;color:#7d8895;font-weight:500;margin:0 0 20px}.welcome h1{font-size:clamp(30px,3.3vw,47px);line-height:1.3;font-weight:600;letter-spacing:-1.8px;margin:0}.welcome-description{font-size:16px;color:#818894;line-height:1.9;margin:22px 0 37px}.mobile-break{display:none}.prompts{display:grid;grid-template-columns:1fr 1fr;gap:0 32px;max-width:650px}.prompt{display:flex;align-items:center;gap:10px;text-align:left;border:0;border-bottom:1px solid var(--line);background:none;padding:18px 0;font-size:13px}.prompt:hover{color:var(--blue)}.prompt-number{color:#a0a9b3;font-size:10px;font-variant-numeric:tabular-nums}.prompt .icon{margin-left:auto;width:13px;color:#a6afb8}.composer-section{width:100%;max-width:730px;margin:0 auto}.composer{border:1px solid #e1e6ec;box-shadow:0 5px 24px #243a4f05;background:#fff;border-radius:20px;padding:16px 18px 12px;position:relative}.composer:focus-within{border-color:#a9c9e3;box-shadow:0 0 0 3px #edf5fc}.composer textarea{display:block;resize:none;max-height:160px;min-height:54px;width:100%;border:0;background:transparent;font-size:15px;line-height:1.7;color:#28313a;outline:0}.composer textarea:focus-visible{outline:none}.composer textarea::placeholder{color:#a0a7b1}.composer-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.input-tools{display:flex;gap:16px}.input-action{display:flex;align-items:center;gap:5px;border:0;background:none;padding:8px 0;color:#79818d;font-size:11px}.input-action .icon{width:17px;height:17px}.send-button{width:34px;height:34px;border:0;border-radius:50%;display:grid;place-items:center;background:#dfeaf5;color:#547fa8}.send-button .icon{width:19px}.service-note{text-align:center;font-size:10px;color:#979fa9;margin:12px 0 0;line-height:1.5}.upload-menu{position:absolute;bottom:64px;left:12px;max-width:300px;background:white;padding:16px;border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 30px #273b5214;font-size:12px;z-index:5}.upload-menu p{font-weight:600;margin:0 0 6px}.upload-menu span{font-size:11px;color:var(--muted);line-height:1.7}.content-page{padding:66px 56px;max-width:1120px;margin:auto}.page-heading{margin-bottom:46px}.page-heading .eyebrow{margin-bottom:14px}.page-heading h1{font-size:34px;letter-spacing:-1px;font-weight:600;margin:0}.description{font-size:14px;color:var(--muted);margin-top:16px;line-height:1.8}.empty-state{padding:72px 20px;text-align:center;border-top:1px solid var(--line)}.empty-state>.icon{width:34px;height:34px;color:#a0b2c3;margin-bottom:12px}.empty-state h2{font-size:18px;font-weight:550;margin:0 0 12px}.empty-state p{max-width:440px;margin:auto;font-size:13px;color:var(--muted);line-height:1.8}.loading{font-size:13px;color:var(--muted);padding:24px 0}.course-row{padding:20px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:16px}.course-row h2{font-size:17px;margin:0 0 6px;font-weight:550}.course-row p{font-size:12px;color:var(--muted);margin:0}.course-mark{width:72px;height:54px;background:#eef3f7;border-radius:10px;display:grid;place-items:center;color:#7c95ad}.course-row .tag{margin-left:auto}.tag,.status-label{font-size:11px;color:#7d8895;border-radius:6px;background:#eff2f5;padding:5px 9px;white-space:nowrap}.tool-feature{display:grid;grid-template-columns:1fr 1.1fr;align-items:center;gap:48px;padding:24px 0 40px}.tool-art{height:260px;border-radius:24px;background:#edf0f4;display:grid;place-items:center}.product-outline{height:128px;width:94px;border:1px solid #c5d0dc;border-radius:15px 15px 25px 25px;background:#f9fafb;box-shadow:18px 17px 24px #70829415;position:relative;transform:rotate(-8deg)}.product-outline:before{content:'';position:absolute;width:44px;height:17px;border:1px solid #c5d0dc;border-radius:6px 6px 0 0;left:24px;top:-18px;background:#e4eaf0}.product-outline:after{content:'';position:absolute;width:40px;height:1px;background:#d0d9e2;left:26px;top:57px}.tool-feature .eyebrow{margin-bottom:12px}.tool-feature h2{font-size:26px;line-height:1.5;letter-spacing:-.6px;font-weight:550;margin:0}.tool-feature p:not(.eyebrow){font-size:13px;color:var(--muted);line-height:1.8;max-width:330px;margin:16px 0 20px}.plain-notice{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:20px;line-height:1.8}.login-prompt{max-width:440px;margin:80px auto;text-align:center}.login-prompt>.icon{width:36px;height:36px;color:#a3b4c4}.login-prompt h2{font-size:23px;font-weight:550}.login-prompt p{font-size:13px;line-height:1.9;color:var(--muted);margin-bottom:26px}.primary-button{border:0;border-radius:11px;padding:12px 24px;background:#357fc3;color:white;font-size:14px;font-weight:500}.primary-button:hover{background:#2b6faa}.profile-summary{display:flex;align-items:center;gap:16px;margin-bottom:44px}.avatar.large{width:52px;height:52px;font-size:20px}.profile-summary h2{font-size:20px;margin:0 0 4px;font-weight:550}.profile-summary p{font-size:12px;color:var(--muted);margin:0}.profile-summary .tag{margin-left:auto}.account-grid{display:grid;grid-template-columns:repeat(3,1fr);margin:24px 0 32px;gap:24px}.account-grid>div{border-left:1px solid var(--line);padding-left:22px}.account-grid>div:first-child{border:0;padding-left:0}.account-grid span{font-size:12px;color:var(--muted);display:block}.account-grid strong{display:block;font-size:25px;font-weight:550;margin-top:12px;letter-spacing:-.5px}.account-grid small{font-size:11px;color:var(--muted);margin-left:5px;font-weight:400}.settings-list{margin-top:38px}.settings-list a,.settings-list button{display:flex;width:100%;justify-content:space-between;border:0;border-bottom:1px solid var(--line);background:none;padding:18px 0;font-size:14px;text-align:left}.settings-list .icon{width:16px;color:#a1aab3}.admin-modules{margin:42px 0 24px}.admin-module{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding:17px 0;font-size:14px}.modal-backdrop{position:fixed;inset:0;background:#1d2b3d40;backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:100}.login-modal{position:relative;width:100%;max-width:410px;background:#fff;border-radius:24px;padding:34px}.modal-close{position:absolute;top:16px;right:16px}.login-modal>.brand-symbol{width:37px;height:37px;font-size:19px}.login-modal h2{font-size:25px;font-weight:600;letter-spacing:-.6px;margin:22px 0 8px}.login-modal>p{font-size:12px;color:var(--muted);line-height:1.7}.login-modal form{margin-top:24px}.login-modal label{display:block;font-size:12px;margin-bottom:16px;font-weight:500}.login-modal input{display:block;width:100%;margin-top:8px;padding:11px 13px;border:1px solid #dfe5eb;border-radius:9px;font-size:14px;min-height:44px}.login-modal form .primary-button{width:100%}.form-error{font-size:12px;color:#ad3434;line-height:1.5;margin:0 0 12px}.modal-note{font-size:11px!important;margin:18px 0 0}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#293441;color:white;border-radius:12px;padding:12px 20px;font-size:13px;box-shadow:0 6px 20px #0001;z-index:110;max-width:90vw}.boot{padding:40px;color:var(--muted);text-align:center}@keyframes arrive{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:none}}@media(min-width:1500px){.ask-page{padding-top:42px}.welcome{padding-top:100px;padding-bottom:80px}}@media(max-width:1050px){.sidebar{width:210px;padding:32px 18px 20px}.main-shell{margin-left:210px}.ask-page{padding:28px 36px 25px}.content-page{padding:52px 36px}.welcome h1{font-size:34px}.prompts{gap:0 22px}.prompt{font-size:12px}.input-action{min-height:40px}}@media(max-width:700px){body{background:#fafbfc}.sidebar{display:none}.main-shell{margin-left:0;padding-bottom:calc(67px + env(safe-area-inset-bottom))}.mobile-header{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;background:#fafbfc;border-bottom:1px solid #eff1f4}.mobile-brand{font-size:18px;letter-spacing:-.5px;font-weight:650}.mobile-brand span{font-size:10px;color:#969ea8;letter-spacing:1px;font-weight:400;margin-left:9px}.bottom-nav{position:fixed;bottom:0;left:0;right:0;background:#fafbfced;backdrop-filter:blur(18px);border-top:1px solid #e9edf2;padding:8px 12px calc(8px + env(safe-area-inset-bottom));display:flex;justify-content:space-around;z-index:20}.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:58px;color:#939ba6;font-size:10px;padding:3px 10px}.bottom-nav a.active{color:#337cb9}.bottom-nav .icon{width:21px;height:21px}.ask-page{min-height:calc(100dvh - 125px - env(safe-area-inset-bottom));padding:22px 24px 16px}.teacher-topline{gap:9px}.teacher-topline strong{font-size:12px}.teacher-topline small{font-size:9px}.teacher-avatar{height:31px;width:31px;font-size:13px}.welcome{padding:44px 0 36px;margin:auto}.eyebrow{font-size:10px;margin-bottom:18px;letter-spacing:1.5px}.welcome h1{font-size:35px;letter-spacing:-1.4px;line-height:1.4}.mobile-break{display:block}.desktop-break{display:none}.welcome-description{font-size:13px;line-height:1.9;margin:17px 0 24px;max-width:285px}.prompts{gap:0 18px}.prompt{font-size:11px;padding:14px 0;gap:5px;line-height:1.6}.prompt-number{display:none}.prompt .icon{width:11px}.composer{border-radius:17px;padding:13px 14px 9px}.composer textarea{font-size:16px;min-height:48px}.input-tools{gap:17px}.input-action{font-size:10px;min-height:38px}.input-action .icon{width:16px;height:16px}.service-note{font-size:9px;margin-top:10px}.content-page{padding:34px 24px}.page-heading{margin-bottom:32px}.page-heading h1{font-size:27px;line-height:1.4;letter-spacing:-.8px}.description{font-size:12px;line-height:1.9}.empty-state{padding:58px 6px}.empty-state h2{font-size:17px}.empty-state p{font-size:12px}.tool-feature{grid-template-columns:1fr;gap:28px;padding:0 0 28px}.tool-art{height:185px;border-radius:18px}.product-outline{transform:rotate(-8deg) scale(.8)}.tool-feature h2{font-size:25px}.tool-feature h2 br{display:none}.tool-feature p:not(.eyebrow){max-width:none}.account-grid{gap:12px}.account-grid>div{padding-left:13px}.account-grid strong{font-size:20px}.account-grid span{font-size:10px}.account-grid small{font-size:9px}.login-prompt{margin:60px auto}.profile-summary{margin-bottom:30px}.course-row{flex-wrap:wrap}.course-row .tag{margin-left:88px}.login-modal{padding:30px 24px}.toast{bottom:calc(85px + env(safe-area-inset-bottom));font-size:12px}.admin-module{font-size:13px}.tag{font-size:10px}}@media(max-width:360px){.ask-page{padding-left:18px;padding-right:18px}.welcome h1{font-size:31px}.prompt{font-size:10px}.content-page{padding-left:18px;padding-right:18px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(max-height:650px) and (max-width:700px){.welcome{padding-top:24px;padding-bottom:24px}.welcome h1{font-size:30px}.teacher-topline{display:none}} 
.section-title{font-size:17px;font-weight:550;margin:32px 0 12px}.user-list{margin-bottom:28px}.user-list>div{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);font-size:14px}.user-list small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.history-modal{max-width:600px;max-height:80dvh;display:flex;flex-direction:column}.history-content{overflow-y:auto;min-height:80px}.history-item{display:flex;align-items:center;justify-content:space-between;border:0;border-bottom:1px solid var(--line);padding:16px 0;background:none;text-align:left;width:100%;font-size:14px}.history-item .icon{width:15px}.history-back{background:none;color:var(--blue);border:0;padding:12px 0;font-size:12px}.history-message{border-bottom:1px solid var(--line);padding:16px 0}.history-message strong{font-size:12px;color:var(--muted);font-weight:500}.history-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8}.history-content h3{font-size:18px;font-weight:550}.modal-backdrop{overflow:auto}.teacher-topline small{font-size:11px}.service-note{font-size:11px}.input-action{font-size:12px}@media(max-width:700px){.prompt{font-size:12px}.teacher-topline small{font-size:10px}.input-action{font-size:12px}.service-note{font-size:10px}.welcome-description{font-size:14px}.bottom-nav a{font-size:11px}.identity small{font-size:11px}}@media(max-width:360px){.prompts{grid-template-columns:1fr}.prompt{font-size:13px;padding:10px 0}.welcome{padding-top:25px;padding-bottom:25px}} 
.teacher-avatar{overflow:hidden;flex-shrink:0}.teacher-avatar img{width:100%;height:100%;object-fit:cover;object-position:50% 50%;display:block}
/* Readability pass: never hide AI identity or shrink meaningful copy to fit. */
:root{--muted:#65707d}.brand small,.identity small,.environment,.teacher-topline small,.eyebrow,.mobile-brand span,.welcome-description,.service-note,.input-action,.description,.empty-state p,.course-row p,.tag,.status-label,.plain-notice,.account-grid span,.account-grid small,.login-modal>p,.modal-note,.user-list small{color:#65707d}.teacher-topline small,.identity small,.environment,.brand small,.eyebrow,.service-note,.input-action,.tag,.status-label,.account-grid span,.account-grid small,.modal-note,.user-list small,.history-back,.history-message strong{font-size:12px}.prompt,.description,.empty-state p,.course-row p,.plain-notice,.tool-feature p:not(.eyebrow),.login-prompt p,.login-modal>p,.form-error,.login-modal label{font-size:14px}.welcome-description{font-size:16px}.prompt-number{font-size:12px;color:#707d8a}.composer textarea::placeholder{color:#707b88}.upload-menu{font-size:14px}.upload-menu span{font-size:13px;color:#65707d}.nav-link{color:#65707d}.teacher-topline strong{font-size:14px}.input-action,.icon-button{min-height:40px}.bottom-nav a{color:#65707d}.bottom-nav a.active{color:#246ba6}.service-note{line-height:1.65}.login-modal .modal-note{font-size:12px!important}.course-row .tag{white-space:normal}.toast{font-size:14px}
@media(max-width:700px){.teacher-topline{display:flex}.teacher-topline strong{font-size:13px}.teacher-topline small,.mobile-brand span,.eyebrow,.input-action,.service-note,.bottom-nav a,.tag,.status-label,.account-grid span,.account-grid small{font-size:12px}.prompt{font-size:14px;min-height:52px;line-height:1.6}.welcome-description{font-size:15px}.description,.empty-state p,.plain-notice,.admin-module{font-size:14px}.input-action,.icon-button{min-height:44px}.input-tools{gap:16px}.composer-actions .send-button{width:40px;height:40px}.bottom-nav{padding-top:7px;padding-bottom:calc(7px + env(safe-area-inset-bottom))}.bottom-nav a{padding-top:3px;padding-bottom:3px}.mobile-brand span{letter-spacing:0}.welcome{padding-top:34px;padding-bottom:28px}.account-grid{gap:10px}.account-grid strong{font-size:21px}.account-grid small{display:block;margin:3px 0 0}.teacher-topline small{line-height:1.5}.service-note{margin-top:12px}}@media(max-height:650px) and (max-width:700px){.teacher-topline{display:flex}.welcome{padding:24px 0}.teacher-avatar{height:29px;width:29px}.teacher-topline strong{font-size:13px}.teacher-topline small{font-size:12px}}
.test-actions{margin-top:48px;padding-top:12px;border-top:1px solid var(--line)}.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.section-title-row .section-title{margin:16px 0}.test-actions>.plain-notice{border:0;padding:0;margin:0 0 24px}.action-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:24px}.action-tabs button{font-size:13px;min-height:42px;border:1px solid transparent;background:transparent;padding:9px 14px;border-radius:10px;color:#65707d}.action-tabs button.selected{background:#edf5fc;color:#2c6ca8;border-color:#dbe9f5}.admin-action-form{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px;max-width:690px}.admin-action-form label{font-size:13px;display:block}.admin-action-form input,.admin-action-form select{display:block;width:100%;min-height:44px;padding:11px 12px;margin-top:8px;border:1px solid #dbe2e9;border-radius:9px;background:white;font-size:14px;color:#293440}.admin-action-form .primary-button{justify-self:start}.admin-action-form .form-help,.admin-action-form .form-error{grid-column:1/-1;margin:0;font-size:13px;color:#65707d;line-height:1.7}.admin-action-form .form-error{color:#ad3434}.confirm-modal{max-width:490px;max-height:90dvh;overflow:auto}.preview-summary{margin:24px 0;font-size:14px;line-height:1.8;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;overflow-wrap:anywhere}.preview-summary dl{margin:0}.preview-summary dl>div{display:flex;justify-content:space-between;gap:18px;padding:6px 0}.preview-summary dt{color:#65707d;font-size:12px}.preview-summary dd{margin:0;text-align:right}.confirm-modal .primary-button,.secondary-button{width:100%;min-height:44px}.secondary-button{border:0;background:none;color:#65707d;font-size:14px;margin-top:8px;border-radius:10px}.secondary-button:hover{background:#f0f3f6}@media(max-width:700px){.admin-action-form{grid-template-columns:1fr}.section-title-row{gap:0}.action-tabs{gap:2px}.action-tabs button{padding:9px 10px;font-size:12px}.admin-action-form .primary-button{width:100%}.preview-summary dl>div{display:block}.preview-summary dd{text-align:left}}
.upload-menu{overflow-y:auto;overscroll-behavior:contain;z-index:40;max-width:calc(100vw - 32px)}
.user-detail-button{display:flex;width:100%;justify-content:space-between;align-items:center;padding:14px 0;border:0;border-bottom:1px solid var(--line);background:none;font-size:14px;text-align:left}.user-detail-button:hover{background:#f0f4f7}.rights-details{font-size:13px;color:#65707d;line-height:1.8;margin-bottom:24px}.rights-details strong{font-weight:550;color:#354454}.test-order{display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px 12px;padding:14px 0;border-bottom:1px solid var(--line);font-size:14px}.test-order strong{font-weight:500}.test-order small{display:block;width:100%;font-size:12px;color:#65707d}
/* Stage 3: real private course workflow, isolated from the global visual structure. */
.course-row-copy{min-width:0;flex:1}.course-row-copy h2{overflow-wrap:anywhere}.course-open{display:flex;align-items:center;gap:5px;color:#2e72ad;font-size:14px;min-height:44px}.course-open .icon{width:15px}.course-player-page{padding:36px 42px;max-width:1500px;margin:auto}.back-link{font-size:13px;color:#65707d;display:inline-flex;min-height:40px;align-items:center}.course-title-row{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:20px 0 28px}.course-title-row .eyebrow{margin-bottom:12px}.course-title-row h1{font-size:28px;line-height:1.5;margin:0;font-weight:550;letter-spacing:-.6px;overflow-wrap:anywhere}.learning-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:30px}.lesson-main{min-width:0}.lesson-video{display:block;width:100%;max-height:70dvh;aspect-ratio:16/9;background:#11151a;border-radius:14px}.player-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0 22px;font-size:12px;color:#65707d}.player-tools label{display:flex;align-items:center;gap:8px;white-space:nowrap}.player-tools select{font-size:13px;padding:7px 9px;min-height:36px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#394652}.player-tools>span{text-align:right}.lesson-question{padding:5px 0 0 24px;border-left:1px solid var(--line)}.lesson-teacher{display:flex;align-items:center;gap:10px}.lesson-teacher img{width:34px;height:34px;object-fit:cover;object-position:center;border-radius:50%}.lesson-teacher strong{display:block;font-size:14px;font-weight:550}.lesson-teacher small{display:block;font-size:12px;color:#65707d;margin-top:4px;line-height:1.6}.lesson-question>p{font-size:15px;line-height:1.9;margin:26px 0;color:#65707d}.lesson-ask-disabled{border:1px solid var(--line);border-radius:13px;padding:12px;background:#fff}.lesson-ask-disabled textarea{width:100%;border:0;resize:none;background:none;font-size:14px;color:#65707d;line-height:1.7}.lesson-ask-disabled span{font-size:12px;color:#65707d;line-height:1.7;display:block}.lesson-materials{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:20px 0}.lesson-materials summary{cursor:pointer;font-size:14px;padding:17px 0;font-weight:500}.lesson-materials summary span{float:right;font-size:12px;color:#65707d;font-weight:400}.lesson-materials a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;font-size:14px;border-top:1px solid #edf0f3}.lesson-materials a span{overflow-wrap:anywhere}.lesson-materials small{font-size:12px;white-space:nowrap;color:#65707d}.course-service-note{font-size:12px;color:#65707d;line-height:1.8;max-width:650px;margin-top:24px}.course-login{display:block;margin:10px auto}.course-admin-section{margin-top:48px;padding-top:16px;border-top:1px solid var(--line)}.course-admin-section>.form-help{font-size:13px;color:#65707d;line-height:1.8;margin:0 0 24px}.course-upload-details{border:1px solid var(--line);border-radius:14px;background:#fff;margin:24px 0}.course-upload-details>summary{padding:18px 20px;cursor:pointer;font-size:15px;font-weight:500;list-style:none;display:flex;justify-content:space-between;align-items:center}.course-upload-details>summary .icon{width:18px}.course-upload-form{padding:4px 20px 22px;display:grid;gap:20px}.course-upload-form label,.supplement-form label{font-size:14px;display:block}.course-upload-form input,.course-upload-form select,.supplement-form input,.supplement-form select{display:block;width:100%;margin-top:9px;min-height:44px;border:1px solid #dbe2e9;background:#fff;border-radius:9px;padding:10px 12px;font-size:14px}.course-upload-form input:disabled{background:#f5f7f9;color:#65707d}.course-upload-form input[type=file],.supplement-form input[type=file]{font-size:13px;overflow:hidden}.course-upload-form small{display:block;font-size:12px;line-height:1.7;color:#65707d;margin-top:8px}.course-form-pair{display:grid;grid-template-columns:1fr 1fr;gap:20px}.course-upload-form .form-help,.supplement-form .form-help{font-size:12px;line-height:1.8;color:#65707d;margin:0}.upload-status{font-size:13px;line-height:1.8;color:#416a8e;margin:0}.course-form-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.course-form-actions .secondary-button{width:auto;border:1px solid #b5cfe4;color:#2b6ca5;background:#eef6fc;padding:11px 18px;margin:0}.admin-course-item{padding:24px 0;border-bottom:1px solid var(--line)}.admin-course-main{display:flex;align-items:center;justify-content:space-between;gap:16px}.admin-course-main h3{font-size:16px;font-weight:550;margin:0 0 8px;overflow-wrap:anywhere}.admin-course-main p{font-size:12px;color:#65707d;margin:0}.admin-course-actions{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:16px}.admin-course-actions a,.admin-course-actions button{font-size:13px;color:#2f72aa;min-height:36px;display:inline-flex;align-items:center;background:none;border:0;padding:0}.admin-course-actions>span{font-size:12px;color:#65707d;margin-left:auto}.course-row-message{font-size:13px;line-height:1.8;color:#826540;margin-top:10px}.supplement-form{margin-top:16px;background:#f3f6f8;padding:18px;border-radius:12px;display:grid;gap:16px}.supplement-form button{justify-self:start}.course-upload-details[open]>summary .icon{transform:rotate(45deg)}
@media(max-width:1100px){.course-player-page{padding:28px}.learning-layout{grid-template-columns:minmax(0,1fr) 230px;gap:22px}.lesson-question{padding-left:18px}.lesson-teacher{align-items:flex-start}.lesson-teacher strong{font-size:13px}}@media(max-width:900px){.learning-layout{grid-template-columns:1fr}.lesson-question{border-left:0;border-top:1px solid var(--line);padding:22px 0 0}.lesson-question>p{margin:18px 0;font-size:14px}.lesson-question>p br{display:none}.lesson-ask-disabled textarea{min-height:54px}.lesson-teacher strong{font-size:14px}}@media(max-width:700px){.course-player-page{padding:22px 20px}.course-title-row{display:block;margin:16px 0 22px}.course-title-row h1{font-size:24px}.course-title-row>.tag{display:inline-block;margin-top:12px}.lesson-video{border-radius:11px}.player-tools{font-size:12px;gap:10px;align-items:flex-start}.course-form-pair{grid-template-columns:1fr;gap:20px}.course-upload-form{padding:4px 16px 20px}.course-upload-details>summary{padding:17px 16px}.course-form-actions{display:grid;grid-template-columns:1fr;width:100%}.course-form-actions button{width:100%!important}.admin-course-main{align-items:flex-start}.admin-course-actions{gap:16px}.admin-course-actions>span{margin-left:0;width:100%}.course-open{margin-left:88px;font-size:14px}.course-admin-section{margin-top:36px}.course-row{gap:12px}.lesson-materials a{align-items:flex-start}.supplement-form{padding:14px}.lesson-question{padding-top:20px}}
/* Test refunds: a single original-order sheet, not another primary menu. */
.refund-order-entry{display:flex;align-items:center;gap:6px;border:0;background:none;color:#2e72ad;padding:8px 0;min-height:38px;font-size:13px}.refund-order-entry .icon{width:14px;height:14px}.refund-modal{max-width:690px;max-height:92dvh;overflow-y:auto;overscroll-behavior:contain}.refund-modal h2{margin-top:16px}.refund-back,.refund-return-list{background:none;border:0;padding:8px 0;font-size:13px;min-height:40px;color:#536a7d}.refund-back{padding-right:35px}.refund-test-label{font-size:13px!important;color:#5e7181!important}.refund-order-caption{margin-top:24px;font-size:13px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.refund-order-caption code,.refund-status code{font-size:11px;color:#65707d;overflow-wrap:anywhere}.refund-amounts{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0;padding:20px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.refund-amounts dt{font-size:12px;color:#65707d}.refund-amounts dd{margin:6px 0 0;font-size:22px;font-weight:550;letter-spacing:-.5px}.refund-rule,.refund-warning{font-size:13px;line-height:1.8;color:#6b634f}.refund-rule{margin:18px 0 28px;color:#65707d}.refund-request-section h3,.refund-history h3{font-size:17px;font-weight:550;margin:24px 0 18px}.refund-request-form,.refund-action-form{display:grid;gap:18px}.refund-modal label{font-size:14px;font-weight:400;margin:0}.refund-modal label input:not([type=checkbox]),.refund-modal select,.refund-modal textarea{display:block;width:100%;border:1px solid #dce3ea;border-radius:9px;background:#fff;color:#293440;padding:11px 12px;margin-top:8px;min-height:44px;font-size:14px;font-family:inherit}.refund-modal textarea{resize:vertical;line-height:1.7}.refund-modal input:disabled{background:#f2f4f6}.refund-form-pair{display:grid;grid-template-columns:1fr auto;align-items:end;gap:12px}.refund-fill-max{background:none;border:0;min-height:44px;color:#2e72ad;font-size:12px;padding:9px 0}.refund-modal .form-help{font-size:12px;line-height:1.8;color:#65707d;margin:0}.refund-modal h4{font-size:15px;font-weight:550;margin:8px 0 12px}.refund-buckets,.refund-membership{border-top:1px solid var(--line);padding-top:18px}.refund-bucket{border-bottom:1px solid var(--line);padding:18px 0}.refund-bucket-heading{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:16px}.refund-bucket-heading strong{font-weight:550}.refund-bucket-heading span{color:#65707d}.refund-bucket label{display:flex;align-items:center;justify-content:space-between;gap:16px}.refund-bucket input[type=number]{width:120px!important;margin-top:0!important}.refund-bucket details{font-size:12px;color:#65707d;line-height:1.8;margin-top:12px}.refund-bucket details summary{cursor:pointer;padding:8px 0;min-height:36px}.refund-membership>p{font-size:12px;line-height:1.8;color:#65707d}.refund-membership>.refund-warning{font-size:13px;color:#6b634f}.refund-history{margin-top:30px}.refund-history-item{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;border:0;border-bottom:1px solid var(--line);background:none;text-align:left;padding:16px 0;font-size:15px}.refund-history-item small{display:block;font-size:12px;line-height:1.7;color:#65707d;margin-top:5px;max-width:340px;overflow-wrap:anywhere}.refund-status{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:16px 0}.refund-plan{padding:14px 0 20px;border-bottom:1px solid var(--line);margin-bottom:22px}.refund-plan p{font-size:14px;line-height:1.8;overflow-wrap:anywhere;margin:10px 0}.refund-plan small{display:block;font-size:11px;color:#65707d;overflow-wrap:anywhere}.refund-plan .refund-warning{font-size:13px}.refund-action-form{margin-top:24px}.refund-check{display:flex!important;align-items:flex-start;gap:10px;line-height:1.8;font-size:13px!important}.refund-check input{width:18px;height:18px;min-width:18px;margin:3px 0 0;padding:0;accent-color:#397ec4}.refund-cancel{border-top:1px solid var(--line);margin-top:26px;padding-top:8px}.refund-cancel summary{cursor:pointer;font-size:13px;min-height:44px;padding:13px 0;color:#65707d}.refund-cancel .refund-action-form{margin-top:8px}.refund-cancel .secondary-button{border:1px solid var(--line);margin:0}.refund-done{font-size:14px;line-height:1.8;color:#366b59;background:#f0f7f3;border-radius:10px;padding:16px}.refund-request-form>.primary-button,.refund-action-form>.primary-button{width:100%;line-height:1.6;min-height:46px}.refund-history-item .tag{white-space:normal;text-align:right}.refund-modal .form-error:empty{display:none}
@media(max-width:700px){.refund-modal{max-height:92dvh;padding:26px 20px}.refund-form-pair{grid-template-columns:1fr;gap:0}.refund-fill-max{text-align:left;justify-self:start}.refund-amounts dd{font-size:21px}.refund-order-caption code,.refund-status code,.refund-plan small{font-size:12px}.refund-history-item{gap:12px}.refund-history-item small{max-width:210px}.refund-bucket label{font-size:13px}.refund-modal h2{font-size:23px}.refund-order-entry{min-height:44px}}
.offline-refund-warning{margin:14px 0 18px;padding:15px 16px;border-radius:12px;background:#fff7e8;color:#6b5632}.offline-refund-warning strong{font-size:15px}.offline-refund-warning p{margin:6px 0 0;font-size:13px;line-height:1.7}.offline-refund-form,.offline-refund-confirm{display:grid;gap:16px}.offline-refund-form fieldset{border:1px solid var(--line);border-radius:12px;padding:15px}.offline-refund-form legend{padding:0 7px;font-size:14px}.offline-refund-confirm{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.offline-refund-confirm h3,.offline-refund-confirm p{margin:0}.offline-refund-modal .secondary-button{margin:0}

/* === tokens.css === */
/* 智营 AI 品牌令牌 + 开屏样式（2026-11-09）
   原则：只新增、不覆盖旧规则；白底黑灰为主，品牌红仅用于 LOGO、发送键、选中态、聚焦态。
   回滚：删除本文件引用即可恢复原样（index.html 中 tokens.css 一行）。 */
:root{
  --zy-brand:#e02e24;
  --zy-brand-ink:#c2231a;
  --zy-brand-soft:#fdefec;
}
.zy-logo{display:block;width:100%;height:100%}
.brand-symbol.zy-brand{background:transparent;padding:0}
.brand-symbol.zy-brand .zy-logo{width:40px;height:40px;border-radius:12px}

/* 开屏：每次新会话打开页面时出现一次；主体退场由 CSS 动画兜底（1.9s 后自动隐藏），JS 只负责 logo 飞入导航 */
.zy-splash{position:fixed;inset:0;z-index:400;background:#fafbfc;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;animation:zySplashIn .45s ease-out both,zySplashHide .4s ease 1.9s forwards}
@keyframes zySplashIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes zySplashHide{to{opacity:0;visibility:hidden;pointer-events:none}}
.zy-splash-logo{width:92px;height:92px;border-radius:22px;filter:drop-shadow(0 12px 28px rgba(224,46,36,.22))}
.zy-splash h1{margin:22px 0 0;font-size:30px;font-weight:650;color:#111820;letter-spacing:-1px}
.zy-splash p{margin:10px 0 0;font-size:15px;color:#65707d}
.zy-splash small{margin-top:26px;font-size:11px;color:#8b919a}
.zy-fly{position:fixed;z-index:401;pointer-events:none;border-radius:22px;filter:drop-shadow(0 12px 28px rgba(224,46,36,.22));transition:all .5s cubic-bezier(.45,0,.2,1)}

/* 品牌红点缀：覆盖旧蓝色强调（style.css 加载在前，本文件在后） */
.bottom-nav a.active{color:#e02e24}
.bottom-nav a.active .icon{color:#e02e24}
.nav-link.active .icon{color:#e02e24}
.prompt:hover{color:#c2231a}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline-color:#f0b9b2}
.composer:focus-within{border-color:#e8a49d;box-shadow:0 0 0 3px var(--zy-brand-soft)}
.send-button{background:#e02e24;color:#fff}
.send-button:hover{background:#c2231a}
.action-tabs button.selected{background:var(--zy-brand-soft);color:#c2231a;border-color:#f3cbc5}

/* === student.css === */
/* Student presentation overrides; admin forms and financial workflows retain their original styles. */
.student-header{height:80px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #edf0f2;padding:0 38px;background:white}.student-brand{display:flex;gap:11px;align-items:center}.student-brand strong{display:block;font-size:18px;line-height:1.3}.student-brand small{display:block;font-size:12px;color:#62676d;margin-top:3px}.student-header>div{display:flex;align-items:center;gap:10px}.student-new{display:flex;align-items:center;gap:5px;font-size:13px;color:#62676d;border:0;background:transparent;padding:9px}.student-new .icon{width:18px}.student-ask{max-width:780px;padding:24px 40px;min-height:calc(100dvh - 80px);display:flex;flex-direction:column;background:white;margin:auto}.student-ask .welcome{margin:auto 0;padding:25px 0 34px;text-align:center}.student-ai-mark{width:64px;height:64px;margin:0 auto 18px;background:#f4f5f6;border-radius:20px;display:grid;place-items:center}.student-ai-mark svg{width:32px;height:32px}.student-ask .welcome h1{font-size:29px;letter-spacing:-.6px;line-height:1.4}.student-ask .welcome-description{font-size:14px;line-height:1.7;color:#62676d;margin:14px auto 30px;max-width:490px}.student-ask .prompts{display:grid;grid-template-columns:1fr 1fr;gap:10px}.student-ask .prompt{border:0;background:#f5f5f7;border-radius:15px;padding:16px 18px;min-height:88px;display:flex;flex-direction:column;text-align:left;align-items:stretch;justify-content:space-between;gap:12px;font-size:15px;font-weight:400}.student-ask .prompt>span:last-child{align-self:flex-end;color:#747b82}.student-ask .prompt:hover{background:#edf1f5}.student-ask .composer{border:1px solid #e3e5e8;border-radius:21px;padding:12px;box-shadow:0 4px 16px #22242605;background:white}.student-ask .composer textarea{min-height:58px}.student-ask .composer-section{padding:0;margin:0}.student-disclosure{font-size:12px;color:#62676d;text-align:center;margin:10px 0;line-height:1.6}.student-content{max-width:920px;padding:32px 42px 50px;margin:auto}.student-content h1{font-size:26px;letter-spacing:-.6px;line-height:1.4}.student-subtitle{font-size:14px;line-height:1.7;color:#62676d;margin:10px 0 24px}.student-tools{display:grid;gap:12px;max-width:660px}.student-row{display:flex;align-items:center;gap:12px;width:100%;background:#f5f5f7;border:0;padding:17px;border-radius:15px;text-align:left;min-height:85px}.student-row-icon{display:grid;place-items:center;flex-shrink:0;background:white;width:42px;height:42px;border-radius:12px}.student-row>span:nth-child(2){flex:1}.student-row strong{font-size:15px;display:block;font-weight:550}.student-row small{font-size:12px;color:#62676d;display:block;margin-top:4px}.student-row>.icon{width:16px;color:#747b82}.student-back{border:0;background:none;color:#62676d;font-size:14px;padding:0;margin:0 0 25px}.student-pending{padding:30px 0;max-width:550px}.student-pending h2{font-size:17px}.student-pending p{font-size:14px;line-height:1.8;color:#62676d}.student-profile{max-width:700px}.student-profile-heading{text-align:center;padding:20px 0 28px}.student-profile-heading .avatar{margin:0 auto 15px;width:62px;height:62px;border-radius:22px}.student-profile-heading h1{font-size:24px}.student-profile-heading p{font-size:14px;color:#62676d}.student-profile-heading small{font-size:12px;color:#62676d}.student-expiry{display:block;margin-top:5px}.student-profile-heading .primary-button{display:block;width:auto;margin:18px auto 0}.student-personal-list>a,.student-personal-list>button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;padding:19px 4px;background:none;border:0;border-bottom:1px solid #eceef0;font-size:15px;text-align:left}.student-personal-list .icon{width:17px;color:#747b82}.student-balance{margin-left:auto;color:#62676d;font-size:13px}.student-course-host{min-width:0}.student-course-list{display:grid;gap:5px;margin:24px 0}.student-course-list .student-row{background:transparent}.student-course-list .student-row.selected{background:#f4f5f6}.student-course-list h2{font-size:17px}.student-course-list .student-row:hover{background:#f4f5f6}.student-course-page .course-player-page{padding:0;max-width:none}.student-course-page .course-player-page>.back-link{display:none}.student-course-page .course-title-row h1{font-size:20px}.student-course-page .learning-layout{grid-template-columns:1fr}.student-course-page .lesson-question{border:0;border-top:1px solid #e8ebef;border-radius:0;padding:18px 0;background:none}.student-course-page .lesson-question>p{display:none}.student-course-page .lesson-teacher{margin-bottom:12px}.student-course-page .lesson-question textarea{max-height:80px}.student-course-page .lesson-video{aspect-ratio:16/9;border-radius:16px}.student-course-page{max-width:960px}.student-course-page .empty-state{padding:35px 20px}.main-shell{background:#fff}
@media(max-width:700px){.student-header{height:70px;padding:0 18px;padding-top:env(safe-area-inset-top)}.student-brand strong{font-size:17px}.student-brand .brand-symbol{width:35px;height:35px}.student-new{font-size:12px;padding:6px}.student-header>div{gap:2px}.student-header .icon-button{width:36px;height:36px}.student-ask{padding:10px 18px 16px;min-height:calc(100dvh - 146px - env(safe-area-inset-bottom))}.student-ask .welcome{padding:24px 0 28px}.student-ask .welcome h1{font-size:22px;letter-spacing:-.65px}.student-ask .welcome-description{font-size:13px;margin:12px 0 24px}.student-ai-mark{width:58px;height:58px;margin-bottom:16px}.student-ask .prompts{gap:8px}.student-ask .prompt{padding:13px 12px;font-size:14px;min-height:85px;border-radius:14px}.student-ask .composer{padding:10px;border-radius:18px}.student-content{padding:24px 18px 32px}.student-content h1{font-size:24px}.student-subtitle{font-size:13px}.student-profile-heading h1{font-size:23px}.student-course-page .course-title-row h1{font-size:18px}.student-profile-heading{padding-top:15px}.student-personal-list>button,.student-personal-list>a{padding:18px 4px}.student-course-page .lesson-question{margin-top:12px}.student-course-page .course-player-page{padding-bottom:0}}@media(max-width:360px){.student-ask .welcome h1{font-size:20px}.student-ask .prompt{font-size:13px}}@media(max-height:520px){.student-ask{min-height:0}.student-ask .welcome{padding-top:12px}}
@media(max-width:700px) and (max-height:650px){html.student-text-entry .bottom-nav{display:none}html.student-text-entry .student-ask{min-height:calc(100dvh - 70px);padding-top:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom));justify-content:flex-end}html.student-text-entry .student-ask .welcome{display:none}html.student-text-entry .student-ask .composer-section{margin-top:auto;scroll-margin-bottom:calc(8px + env(safe-area-inset-bottom))}html.student-text-entry .lesson-ask-form{scroll-margin-bottom:calc(8px + env(safe-area-inset-bottom))}}
.student-image-studio{max-width:720px;margin-top:24px;padding:24px;border:1px solid var(--line,#e5e7eb);border-radius:20px;background:#fff;display:grid;gap:18px}
.image-studio-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.image-studio-heading h2{margin:0 0 6px}.image-studio-heading p{margin:0;color:var(--muted,#68707d)}
.image-studio-status{white-space:nowrap;padding:6px 10px;border-radius:999px;background:#f3f4f6;color:#59606b;font-size:13px}
.student-image-studio label{display:grid;gap:8px;font-weight:600}.student-image-studio select,.student-image-studio textarea,.student-image-studio input{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid #dfe3e8;border-radius:12px;background:#f8f9fb;color:#69717d;font:inherit;resize:vertical}
.image-result{display:grid;gap:12px}.image-result img{width:min(100%,600px);aspect-ratio:1;object-fit:contain;border:1px solid var(--line,#e5e7eb);border-radius:16px;background:#f8f9fb}.image-result a{justify-self:start}
.image-source-picker{padding:16px;border:1px dashed #cbd2dc;border-radius:14px;background:#f8fafc}.image-source-picker span,.image-source-preview p{font-size:12px;color:#68707d;font-weight:400}.image-source-preview{display:grid;grid-template-columns:120px 1fr;gap:14px;align-items:center}.image-source-preview img{width:120px;height:120px;object-fit:contain;border:1px solid #e1e5ea;border-radius:12px;background:#fff}
.image-studio-options{display:grid;grid-template-columns:1fr 1fr;gap:14px}.image-studio-budget{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:14px;border-radius:12px;background:#f6f8fb;color:#48505d}.image-studio-budget span{color:#68707d}
@media(max-width:640px){.student-image-studio{padding:18px}.image-studio-options{grid-template-columns:1fr}.image-studio-heading{display:grid}}
.poster-studio{max-width:780px;margin-top:24px;padding:24px;border:1px solid var(--line,#e5e7eb);border-radius:20px;background:#fff;display:grid;gap:18px}.poster-intro{display:grid;gap:5px;padding:14px 16px;border-radius:14px;background:#f4f7fa;color:#253142}.poster-intro span,.poster-status{color:#68707d;font-size:13px}.poster-file,.poster-fields label{display:grid;gap:8px;font-weight:600}.poster-file{padding:16px;border:1px dashed #bfc8d4;border-radius:14px;background:#fafbfc}.poster-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}.poster-fields input,.poster-fields select{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid #dfe3e8;border-radius:12px;background:#fff;font:inherit}.poster-canvas{width:min(100%,640px);height:auto;border:1px solid #dfe3e8;border-radius:16px;background:#f6f7f9}.poster-save{justify-self:start}.poster-status{margin:0}@media(max-width:640px){.poster-studio{padding:18px}.poster-fields{grid-template-columns:1fr}}
.breakeven-calculator{max-width:720px;display:grid;gap:20px}.breakeven-calculator form{display:grid;gap:18px}.calculator-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.calculator-grid label{display:grid;gap:7px;font-size:14px;font-weight:600}.calculator-grid input{padding:12px 14px;border:1px solid #dfe3e8;border-radius:12px;background:#fff;font:inherit}.calculator-result{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:18px;border-radius:16px;background:#f4f7fb}.calculator-result>div{display:grid;gap:7px}.calculator-result span{font-size:12px;color:#68707d}.calculator-result strong{font-size:24px;color:#1d2735}.calculator-result p{grid-column:1/-1;margin:5px 0 0;padding-top:13px;border-top:1px solid #dce2e9;font-size:13px;line-height:1.7;color:#536071}@media(max-width:640px){.calculator-grid,.calculator-result{grid-template-columns:1fr}.calculator-result p{grid-column:auto}}
.calculator-grid label small{font-size:11px;line-height:1.5;color:#68707d;font-weight:400}
.calculator-guide{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:14px 16px;border-radius:13px;background:#eef4ff;color:#34445d}.calculator-guide span{font-size:13px}
.calculator-guide label{display:flex;gap:8px;align-items:center;font-size:13px}.calculator-guide select{padding:6px 9px;border:1px solid #cbd7e7;border-radius:8px;background:white}.sku-list{display:grid;gap:14px}.sku-input-card{padding:16px;border:1px solid #dfe4ea;border-radius:15px;background:#fff}.sku-card-head{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:13px}.sku-card-head>label{display:grid;gap:6px;font-size:13px;font-weight:600}.sku-card-head input{padding:9px 11px;border:1px solid #dfe3e8;border-radius:9px}.sku-card-head>div{display:flex;gap:7px}.sku-card-head button{border:0;background:#f1f4f7;border-radius:8px;padding:8px 10px}.sku-remove{color:#a33}.sku-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.sku-fields label{display:grid;gap:5px;font-size:12px;color:#536071}.sku-fields input{min-width:0;padding:10px;border:1px solid #dfe3e8;border-radius:9px;font:inherit}.sku-list-actions{display:flex;align-items:center;gap:12px}.sku-list-actions span{font-size:12px;color:#68707d}.portfolio-result{display:grid;gap:15px}.sku-results{display:grid;gap:8px}.sku-result-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;padding:13px 15px;border:1px solid #e1e6ec;border-radius:12px}.sku-result-row>div{display:flex;gap:8px}.sku-result-row span{font-size:13px;color:#586474}.sku-result-row.loss{border-color:#efb8b8;background:#fff5f5}.sku-result-row.loss b{color:#b42318}@media(max-width:640px){.sku-fields{grid-template-columns:1fr 1fr}.sku-result-row{grid-template-columns:1fr}.sku-card-head{align-items:start}.calculator-guide{display:grid}}
.pdd-import{margin-bottom:18px;padding:17px;border:1px solid #cbd9ea;border-radius:15px;background:#f7fbff}.pdd-import h2{margin:0 0 6px;font-size:17px}.pdd-import>p{margin:0 0 12px;color:#536071;font-size:13px}.pdd-file-button{display:inline-flex;align-items:center;padding:9px 13px;border-radius:9px;background:#1f5f9e;color:#fff;font-weight:600;cursor:pointer}.pdd-file-button input{display:none}.pdd-import-preview{margin-top:14px}.pdd-import-preview p{margin:8px 0;font-size:13px}.pdd-preview-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.pdd-preview-metrics div{padding:10px;background:#fff;border:1px solid #dfe7ef;border-radius:10px}.pdd-preview-metrics b,.pdd-preview-metrics span{display:block}.pdd-preview-metrics span{margin-top:3px;color:#68707d;font-size:11px}.import-warning{color:#8a4b08;background:#fff7e8;border-radius:9px;padding:9px 11px}@media(max-width:640px){.pdd-preview-metrics{grid-template-columns:1fr 1fr}}
.product-test{display:grid;gap:16px}.test-scope{padding:14px;border:1px solid #cbd9ea;border-radius:13px;background:#f7fbff}.test-scope strong,.test-scope label{display:block}.test-scope label{margin-top:8px;font-size:13px}.test-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.test-fields label{display:grid;gap:6px;font-size:13px;font-weight:600}.test-fields input{padding:11px;border:1px solid #d9e0e8;border-radius:9px;font:inherit}.test-fields small{font-weight:400;color:#68707d}.test-result{display:grid;gap:14px}.test-verdict{padding:17px;border-radius:14px;background:#edf7f2;border:1px solid #cce4d8}.test-verdict span,.test-verdict strong{display:block}.test-verdict strong{margin:5px 0;font-size:23px}.test-verdict p{margin:0;color:#48586a}.test-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.test-metrics div{padding:13px;border:1px solid #dfe5eb;border-radius:11px}.test-metrics span,.test-metrics b{display:block}.test-metrics span{font-size:12px;color:#66717f}.test-metrics b{margin-top:5px}.test-result ul{margin:0;padding-left:20px;color:#5c6673;font-size:13px}@media(max-width:640px){.test-fields,.test-metrics{grid-template-columns:1fr}}
.plain-guide{display:grid;gap:7px;padding:16px;border-radius:14px;background:#f7fbff;border:1px solid #cbd9ea}.plain-guide strong{font-size:16px}.plain-guide span{font-size:13px;color:#526172}.plain-results{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.plain-results div{padding:15px;border:1px solid #dfe5eb;border-radius:12px;background:#fff}.plain-results span,.plain-results b{display:block}.plain-results span{font-size:12px;color:#66717f}.plain-results b{margin-top:7px;font-size:20px}.test-result details{border:1px solid #dfe5eb;border-radius:11px;padding:11px 13px}.test-result summary{cursor:pointer;font-weight:600}.test-result details .test-metrics{margin-top:11px;grid-template-columns:repeat(4,1fr)}@media(max-width:640px){.plain-results,.test-result details .test-metrics{grid-template-columns:1fr}}
.store-diagnosis{display:grid;gap:15px}.diagnosis-upload{padding:17px;border:1px solid #cbd9ea;border-radius:14px;background:#f7fbff}.diagnosis-upload h2,.diagnosis-upload p{margin:0 0 9px}.diagnosis-upload p{font-size:13px;color:#536071}.diagnosis-result{display:grid;gap:17px}.diagnosis-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.diagnosis-metrics div{padding:15px;border:1px solid #dfe5eb;border-radius:12px}.diagnosis-metrics b,.diagnosis-metrics span{display:block}.diagnosis-metrics b{font-size:22px}.diagnosis-metrics span{margin-top:4px;color:#67727f;font-size:12px}.diagnosis-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}.diagnosis-columns section{padding:15px;border:1px solid #dfe5eb;border-radius:12px}.diagnosis-columns h2,.diagnosis-result>section h2{margin:0 0 10px;font-size:16px}.diagnosis-columns ul{margin:0;padding-left:20px;font-size:13px;color:#4f5c6b}.diagnosis-ranking{display:grid;gap:7px}.diagnosis-ranking>div{display:flex;justify-content:space-between;gap:12px;padding:11px 13px;border:1px solid #e1e6ec;border-radius:10px}.diagnosis-ranking span,.diagnosis-ranking small{display:block}.diagnosis-ranking small{margin-top:3px;max-width:520px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6c7581}.diagnosis-ranking strong{white-space:nowrap}@media(max-width:640px){.diagnosis-metrics{grid-template-columns:1fr 1fr}.diagnosis-columns{grid-template-columns:1fr}.diagnosis-ranking>div{align-items:start}.diagnosis-ranking small{max-width:210px}}
.inventory-plan{display:grid;gap:16px}.inventory-result{display:grid;gap:14px}.inventory-verdict{padding:17px;border:1px solid #cce4d8;border-radius:14px;background:#edf7f2}.inventory-verdict span,.inventory-verdict strong{display:block}.inventory-verdict strong{margin:5px 0;font-size:22px}.inventory-verdict p,.inventory-note{margin:0;color:#526172}.inventory-note{padding:11px 13px;border-radius:10px;background:#f4f6f8;font-size:13px}
.discount-analysis,.discount-result{display:grid;gap:16px}.discount-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1fr;align-items:center;gap:8px}.discount-flow div{padding:14px;border:1px solid #dfe5eb;border-radius:11px}.discount-flow .store-cost{border-color:#efc9c4;background:#fff8f7}.discount-flow span,.discount-flow b{display:block}.discount-flow span{font-size:12px;color:#68727f}.discount-flow b{margin-top:5px}.discount-flow i{font-style:normal;color:#7b8490}.discount-main{display:grid;grid-template-columns:1fr 1fr;gap:10px}.discount-main section{padding:17px;border-radius:13px;background:#f7fbff;border:1px solid #cbd9ea}.discount-main span,.discount-main strong,.discount-main small{display:block}.discount-main strong{margin:6px 0;font-size:25px}.discount-main small{color:#66717f}.discount-explain{padding:15px;border:1px solid #dfe5eb;border-radius:12px}.discount-explain h2{margin:0 0 9px;font-size:16px}.discount-explain ul{margin:0;padding-left:20px;color:#4f5c6b;font-size:13px}@media(max-width:720px){.discount-flow{grid-template-columns:1fr 1fr}.discount-flow i{display:none}.discount-main{grid-template-columns:1fr}}
.store-opening-flow{display:grid;gap:15px}.store-existing{display:grid;gap:7px;padding:14px;border:1px solid #d8d0f0;border-radius:12px;background:#faf8ff}.store-existing span{font-size:13px;color:#536071}.store-opening-status{margin:0;padding:12px 14px;border:1px solid #bcd5c8;border-radius:12px;background:#f3fbf6;font-weight:700}.store-opening-steps{display:grid;gap:12px;margin:0;padding:0;list-style:none}.store-opening-steps>li{padding:16px;border:1px solid #dfe5eb;border-radius:13px;background:#fff}.store-opening-steps h2{margin:0 0 7px;font-size:16px}.store-opening-steps p{margin:0 0 11px;color:#536071;font-size:13px}.store-opening-steps .primary-button,.store-opening-steps .secondary-button{display:inline-flex;margin:4px 7px 4px 0;text-decoration:none}.store-opening-actions{display:flex;flex-wrap:wrap;gap:7px}.store-storage-note{margin:0;color:#68727f;font-size:12px}@media(max-width:640px){.store-opening-steps .primary-button,.store-opening-steps .secondary-button,.store-existing .secondary-button{width:100%;justify-content:center;margin-right:0}.store-opening-actions{display:grid}}
.lesson-chapters{margin:14px 0 10px;padding:14px;border:1px solid #e7e9ec;border-radius:15px;background:#fafafa}.lesson-chapters-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:10px}.lesson-chapters-heading strong{font-size:14px}.lesson-chapters-heading small{font-size:12px;color:#6b7178}.lesson-chapter-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.lesson-chapter-list button{min-width:0;border:1px solid transparent;border-radius:12px;background:#fff;padding:10px;text-align:left;display:grid;grid-template-columns:auto 1fr;gap:2px 8px;align-items:center}.lesson-chapter-list button>span{grid-row:1/3;color:#9a6b29;font-size:12px;font-weight:700}.lesson-chapter-list button>strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lesson-chapter-list button>small{font-size:11px;color:#737980}.lesson-chapter-list button:hover{border-color:#d9c4a5}.lesson-chapter-list button.active{border-color:#bb8741;background:#fff8ed;box-shadow:0 2px 9px #7d4d1512}@media(max-width:700px){.lesson-chapter-list{grid-template-columns:1fr 1fr}.lesson-chapters-heading{align-items:flex-start;flex-direction:column;gap:3px}}
.lesson-chapters{padding:10px 0;border:0;border-bottom:1px solid #eceef0;border-radius:0;background:transparent}.lesson-chapters-heading{margin:0 0 7px}.lesson-chapter-list{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}.lesson-chapter-list button{flex:1 0 130px;padding:8px;border-color:#eceef0}.lesson-chapter-list button.active{box-shadow:none}.player-help{margin:5px 0 0;font-size:12px;color:#6b7178}.player-help summary{cursor:pointer;display:inline}.player-help a{display:inline-block;margin:8px 0 0;color:#4f657b}@media(max-width:700px){.lesson-chapters-heading{align-items:baseline;flex-direction:row}.lesson-chapter-list{display:flex}}
.chapter-admin-host{margin-top:10px}.chapter-admin-form{display:grid;gap:8px;padding:13px;border:1px solid #dfe4e9;border-radius:12px;background:#fafbfc}.chapter-admin-row{display:grid;grid-template-columns:24px minmax(160px,1fr) 90px auto 90px;gap:7px;align-items:center}.chapter-admin-row>span:first-child{font-weight:700;color:#7a5a30}.chapter-admin-row input{min-width:0;padding:8px;border:1px solid #d9dee4;border-radius:8px;background:#fff}.chapter-admin-form .course-form-actions{display:flex;gap:8px}.chapter-admin-form .course-form-actions button{margin:0}@media(max-width:700px){.chapter-admin-row{grid-template-columns:24px 1fr}.chapter-admin-row input[name="start"],.chapter-admin-row input[name="end"]{grid-column:auto}.chapter-admin-row>span:not(:first-child){display:none}}
.trial-banner{margin:16px auto 0;max-width:900px;padding:12px 16px;border:1px solid #d9e1ea;border-radius:14px;background:#f7fafc;display:flex;gap:12px;align-items:center;justify-content:space-between;color:#243243}.trial-banner strong{color:#0b5d4b}.trial-banner span,.trial-banner a{font-size:.88rem;color:#647080}.trial-banner b{font-variant-numeric:tabular-nums;color:#243243}@media(max-width:640px){.trial-banner{margin:10px 12px 0;align-items:flex-start;flex-direction:column;gap:3px}}
.tools-home{max-width:820px}.tools-heading h1{margin:0;font-size:32px}.tools-heading p{margin:8px 0 24px;color:#747881}.tools-ai-card{padding:22px;border-radius:22px;background:#f4f4f5}.tools-ai-card>strong{font-size:20px}.tools-ai-card>p{margin:10px 0 16px;color:#747881}.tools-ai-go{border:0;border-radius:14px;background:#19191b;color:#fff;font-size:14px;font-weight:550;padding:12px 18px;cursor:pointer}.tools-ai-go:hover{background:#333}.student-ask.has-conversation .ask-hero{display:none}.student-ask.has-conversation .welcome{margin:0;padding:0 0 12px;text-align:left}.membership-expiring strong{color:#b45309}.membership-expiring a{color:#19191b;font-weight:550;margin-left:6px}.conversation-message:last-child{scroll-margin-bottom:110px}.tools-section-title{display:flex;justify-content:space-between;align-items:center;margin:30px 0 14px}.tools-section-title h2{margin:0;font-size:21px}.tools-section-title span{color:#747881}.tools-common{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tools-card{min-height:150px;border:0;border-radius:20px;background:#f4f4f5;padding:18px;text-align:left;display:flex;flex-direction:column;align-items:flex-start}.tools-card .student-row-icon{margin-bottom:auto}.tools-card strong{font-size:20px}.tools-card small{margin-top:7px;color:#747881;font-size:13px}.tools-more{border:1px solid #e3e3e5;border-radius:20px;padding:0 18px}.tools-list-row{display:flex;align-items:center;gap:13px;width:100%;border:0;border-bottom:1px solid #e8e8ea;background:#fff;padding:18px 0;text-align:left}.tools-list-row:last-child{border-bottom:0}.tools-list-row>span:nth-child(2){flex:1}.tools-list-row strong,.tools-list-row small{display:block}.tools-list-row strong{font-size:17px}.tools-list-row small{margin-top:5px;color:#747881}.tools-list-row>.icon{width:18px;color:#888}.tools-local-note{color:#747881;font-size:12px;text-align:center;margin:18px}.decision-tool{max-width:720px;display:grid;gap:18px}.decision-tool form{display:grid;gap:16px}.decision-tool select{padding:11px;border:1px solid #d9e0e8;border-radius:9px;background:#fff;font:inherit}.decision-result,.start-plan{display:grid;gap:14px;padding:18px;border:1px solid #dfe5eb;border-radius:15px;background:#fafbfc}.decision-result>strong{font-size:21px}.decision-result>p,.start-plan>p{margin:0;color:#596575;line-height:1.7}.start-plan h2{margin:0;font-size:18px}.start-plan ol{display:grid;gap:10px;margin:0;padding-left:23px}.start-plan li{line-height:1.65}@media(max-width:640px){.tools-heading h1{font-size:27px}.tools-ai-card{padding:18px}.tools-common{gap:9px}.tools-card{min-height:135px;padding:15px}.tools-card strong{font-size:17px}.tools-card small{font-size:12px}.tools-more{padding:0 14px}}
.pdd-advisor-intake{margin:0 0 22px;padding:16px;border:1px solid #d8e1eb;border-radius:16px;background:#f8fbff}.pdd-advisor-intake summary{cursor:pointer;font-weight:700;font-size:16px}.pdd-advisor-intake>p{margin:9px 0 14px;color:#5c6877;font-size:13px}.advisor-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.advisor-grid label{display:grid;gap:5px;color:#4e5a68;font-size:12px}.advisor-grid input{min-width:0;padding:10px;border:1px solid #d7dee7;border-radius:9px;background:#fff;font:inherit}.advisor-status{display:grid;gap:4px;margin-top:13px;padding:12px;border-radius:11px;background:#fff6e7;color:#6f4b12}.advisor-status span{font-size:12px;line-height:1.6}@media(max-width:640px){.advisor-grid{grid-template-columns:1fr}}
.tools-choice-guide{margin:16px 0 4px;padding:14px 16px;border-left:4px solid #24282d;border-radius:0 12px 12px 0;background:#f7f8f9}.tools-choice-guide strong{font-size:14px}.tools-choice-guide p{margin:7px 0 0;color:#56616e;font-size:13px;line-height:1.8}.tools-choice-guide b{color:#20262d}.tools-card small,.tools-list-row small{line-height:1.55}.tools-card{min-height:165px}@media(max-width:640px){.tools-card{min-height:150px}.tools-choice-guide{padding:13px 14px}.tools-choice-guide p{font-size:12px}}
.drag-checks{display:grid;gap:8px}.drag-checks>div{display:grid;gap:3px;padding:11px 13px;border:1px solid #dfe5eb;border-radius:10px}.drag-checks>div.pass{background:#f2faf6;border-color:#cfe6d8}.drag-checks>div.fail{background:#fff7f6;border-color:#efd0cc}.drag-checks b{font-size:13px}.drag-checks span{font-size:12px;color:#596575;line-height:1.55}.price-drag-tool .service-note{margin:0;padding-top:12px;border-top:1px solid #e2e6eb}
.profit-head,.profit-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:18px;margin:0 0 14px;color:#1d1d1f}.profit-head h1{margin:0 0 8px}.profit-head p,.profit-card small,.profit-card>p{color:#667085}.profit-tabs{display:flex;gap:8px;margin-top:16px;background:#f2f4f7;border-radius:12px;padding:4px}.profit-tabs button{flex:1;border:0;border-radius:9px;padding:10px;background:transparent;color:#475467;font-weight:650}.profit-tabs button.active{background:#fff;color:#1677ff;box-shadow:0 1px 4px rgba(16,24,40,.12)}.profit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profit-card label{display:flex;flex-direction:column;gap:6px;color:#344054;font-weight:600}.profit-card input,.profit-card select{box-sizing:border-box;width:100%;min-height:44px;border:1px solid #d0d5dd;border-radius:10px;background:#f8fafc;padding:10px 12px;font:inherit;color:#101828}.profit-card input:focus,.profit-card select:focus{outline:2px solid #b9d8ff;border-color:#1677ff}.profit-card summary{cursor:pointer;font-weight:700;color:#344054}.profit-radio{display:flex;gap:16px;flex-wrap:wrap;margin:10px 0}.profit-radio label,.profit-card label:has(input[type=checkbox]){display:flex;flex-direction:row;align-items:center;font-weight:500}.profit-card input[type=radio],.profit-card input[type=checkbox]{width:18px;min-height:18px}.profit-result{border-radius:14px;background:#f7f8fa;padding:16px}.profit-result span{display:block;color:#667085}.profit-result strong{display:block;font-size:30px;margin:4px 0;color:#1677ff}.profit-result p{margin:5px 0;color:#475467}.profit-card fieldset{border:1px solid #e4e7ec;border-radius:12px;margin:10px 0;padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profit-card fieldset legend{font-weight:700}.profit-actions{display:flex;gap:10px;position:sticky;bottom:8px;background:rgba(255,255,255,.94);padding:10px;border-radius:14px;backdrop-filter:blur(10px)}@media(max-width:700px){.profit-grid,.profit-card fieldset{grid-template-columns:1fr}.profit-head,.profit-card{padding:14px;border-radius:15px}.profit-actions{display:grid;grid-template-columns:1fr 1fr}.profit-result strong{font-size:26px}}
.profit-result.profit-positive strong{color:#18864b}.profit-result.profit-negative strong{color:#c73535}
.membership-center{max-width:940px}.membership-heading{text-align:center;padding:5px 0 24px}.membership-heading small{color:#1677ff;font-weight:650}.membership-heading h1{margin:8px 0}.membership-heading p{color:#667085}.membership-family-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.membership-family{border:1px solid #e4e7ec;border-radius:20px;padding:22px;background:#fff}.membership-family.coaching{background:#f8fafc}.membership-family h2{margin:0 0 6px}.membership-family>p,.membership-family li{color:#667085;line-height:1.65}.membership-family ul{padding-left:20px}.membership-terms{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0}.membership-terms section{display:grid;gap:3px;padding:13px 9px;border-radius:12px;background:#f4f6f8;text-align:center}.membership-terms strong{font-size:22px}.membership-terms span,.membership-terms small{font-size:12px;color:#667085}.membership-usage{font-size:12px;line-height:1.6;color:#667085}.membership-usage p{margin:7px 0}.membership-family>button{width:100%;margin-top:12px}@media(max-width:700px){.membership-family-grid{grid-template-columns:1fr}.membership-family{padding:17px}.membership-terms{gap:6px}.membership-terms strong{font-size:19px}}
.coaching-entry{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:20px 0;padding:15px 17px;border:1px solid #e3e7ec;border-radius:14px;background:#f8fafc}.coaching-entry>div{display:grid;gap:4px}.coaching-entry strong{font-size:14px;color:#273444}.coaching-entry span{font-size:12px;line-height:1.65;color:#667085}.coaching-entry-link{flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border:1px solid #bfd2e5;border-radius:10px;color:#24679e;background:#fff;font-size:13px;font-weight:650;text-decoration:none}@media(max-width:640px){.coaching-entry{align-items:stretch;flex-direction:column;gap:12px;padding:14px}.coaching-entry-link{width:100%;box-sizing:border-box}}
.coaching-workflow{margin-top:22px;padding:20px;border:1px solid #e4e7ec;border-radius:16px;background:#fff}.coaching-workflow h2{font-size:18px;margin:0 0 8px}.coaching-case-list{display:grid;gap:10px;margin:16px 0}.coaching-case-list article{display:grid;gap:5px;padding:14px;border-radius:12px;background:#f5f7f9}.coaching-case-list span,.coaching-case-list small{font-size:13px;line-height:1.6;color:#667085}.coaching-apply{display:grid;gap:14px;margin-top:16px}.coaching-apply textarea{width:100%;min-height:92px;margin-top:7px;border:1px solid #d9dfe6;border-radius:10px;padding:11px;resize:vertical}.coaching-consent{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.6;color:#667085}.coaching-apply .primary-button{width:100%}@media(max-width:640px){.coaching-workflow{padding:16px}}
.teacher-coaching-page{max-width:760px}.coaching-case-list details{margin-top:8px}.coaching-case-list details p{font-size:12px;line-height:1.7;color:#667085}.coaching-case-list .coaching-actions{display:grid;gap:9px;margin-top:10px}.coaching-case-list .coaching-actions button{min-height:40px;border:1px solid #cbd7e2;border-radius:9px;background:#fff}.coaching-case-list .coaching-actions textarea{display:block;width:100%;min-height:80px;margin-top:6px;border:1px solid #d5dce4;border-radius:9px;padding:10px;resize:vertical}.coaching-case-list .coaching-actions form{display:grid;gap:8px}
/* ===== 质感打磨层（2026-11-09，对齐 WorkBuddy 标准：大字号、深文字、少边框、有层次）===== */
:root{--ink:#1f2429;--ink-2:#4c545e;--ink-3:#7b828d}
.main-shell{color:var(--ink)}
.welcome-description,.description,.empty-state p,.student-subtitle,.student-ask .welcome-description,.student-profile-heading p,.student-pending p,.student-row small{color:var(--ink-2)}
.service-note,.student-disclosure,.student-brand small,.student-new{color:var(--ink-3)}
@media(max-width:700px){
 .student-ask .welcome h1{font-size:24px;letter-spacing:-.7px}
 .student-ask .welcome-description{font-size:15px;line-height:1.8}
 .student-ask .prompt{font-size:15px}
 .description{font-size:14px;line-height:1.8}
 .empty-state{border-top:0;padding-top:44px}
 .empty-state h2{font-size:18px;color:var(--ink)}
 .empty-state p{font-size:14px}
 .service-note{font-size:11.5px;max-width:330px;margin-left:auto;margin-right:auto}
 .input-action{font-size:11.5px}
 .composer textarea{font-size:16px}
 .composer textarea::placeholder{color:#9aa1ab}
 .bottom-nav a{font-size:12px;font-weight:500}
 .bottom-nav a.active{color:var(--ink);font-weight:650}
 .student-content h1{font-size:26px}
 .student-subtitle{font-size:14px}
 .student-row strong{font-size:16px}
 .student-row small{font-size:13px}
 .student-personal-list>a,.student-personal-list>button{font-size:16px;color:var(--ink)}
 .student-balance{font-size:14px;color:var(--ink-2)}
 .student-profile-heading h1{font-size:25px}
 .student-profile-heading p{font-size:15px}
 .student-profile-heading small{font-size:13px;color:var(--ink-2)}
 .student-profile-heading .avatar{border-radius:50%}
 .student-header{border-bottom:0}
}
.avatar,.student-profile-heading .avatar,.teacher-avatar{background:linear-gradient(135deg,#4f7cf6,#8b5cf6);color:#fff;font-weight:600;letter-spacing:1px}
.student-ask .send-button{background:var(--ink);color:#fff}
.student-ask .send-button .icon{color:#fff}
.bottom-nav a.active{color:var(--ink)}
.student-ai-mark{background:linear-gradient(135deg,#eef2ff,#f4f5f8)}
/* ===== 2026-11-14 工具页排版重做：独立彩色图标徽章 + 卡片层级 ===== */
.tools-common{grid-template-columns:1fr 1fr;gap:12px}
.tools-card{position:relative;min-height:148px;border:1px solid #e6e7ea;border-radius:20px;background:#fff;padding:16px 18px;box-shadow:0 1px 2px rgba(20,24,32,.04);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.tools-card:hover{transform:translateY(-2px);border-color:#d5d7db;box-shadow:0 6px 18px rgba(20,24,32,.08)}
.tools-card:active{transform:translateY(0)}
.tools-card .student-row-icon{width:46px;height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;margin:0 0 14px}
.tools-card .student-row-icon .icon{width:24px;height:24px}
.tools-card strong{font-size:17px;font-weight:620;letter-spacing:.1px}
.tools-card small{margin-top:6px;color:#747881;font-size:13px;line-height:1.55}
.tools-card[data-tool="breakeven"] .student-row-icon{background:#e8f1ff;color:#2376d4}
.tools-card[data-tool="diagnosis"] .student-row-icon{background:#fff3e6;color:#d97a29}
.tools-card[data-tool="price-drag"] .student-row-icon{background:#e9f7ef;color:#1f9d61}
.tools-card[data-tool="images"] .student-row-icon{background:#f3ecff;color:#8455d6}
.tools-card[data-tool="today-advice"] .student-row-icon{background:#fff8e0;color:#b8860b}
.tools-more .tools-list-row .student-row-icon{width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex:none}
.tools-more .tools-list-row .student-row-icon .icon{width:20px;height:20px}
.tools-more .tools-list-row[data-tool="breakeven"] .student-row-icon{background:#e8f1ff;color:#2376d4}
.tools-more .tools-list-row[data-tool="diagnosis"] .student-row-icon{background:#fff3e6;color:#d97a29}
.tools-more .tools-list-row[data-tool="price-drag"] .student-row-icon{background:#e9f7ef;color:#1f9d61}
.tools-more .tools-list-row[data-tool="images"] .student-row-icon{background:#f3ecff;color:#8455d6}
.tools-more .tools-list-row[data-tool="today-advice"] .student-row-icon{background:#fff8e0;color:#b8860b}
@media (max-width:640px){.tools-common{gap:10px}.tools-card{min-height:0;padding:14px}.tools-card strong{font-size:15px}.tools-card .student-row-icon{width:40px;height:40px;margin-bottom:10px}}

/* === today-advice.css === */
.today-advice{max-width:680px;margin:0 auto;padding:24px 16px 80px;color:#111;background:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.today-advice h1{font-size:30px;line-height:1.15;margin:8px 0}.today-advice h2{font-size:19px;margin:28px 0 12px}
.today-advice .eyebrow{color:#0674e7;font-weight:650;margin:0}.today-advice .subtitle,.today-advice .privacy{color:#60646c;line-height:1.5}
.today-advice .issue-grid{display:grid;gap:10px}.today-advice button,.today-advice textarea{box-sizing:border-box;width:100%;font:inherit;border-radius:14px;border:1px solid #d9dce1}
.today-advice button{min-height:48px;padding:12px;background:#f4f5f7;color:#111;text-align:left}.today-advice button:focus-visible,.today-advice textarea:focus-visible{outline:3px solid #b7d8ff;outline-offset:2px}
.today-advice form,.today-advice .resume{margin-top:22px;padding:16px;border-radius:18px;background:#f5f6f8}.today-advice textarea{display:block;min-height:96px;margin:10px 0;padding:12px;background:#fff}.today-advice form button,.today-advice .resume button{background:#0878e8;color:#fff;text-align:center;border:0}
.today-advice pre{overflow:auto;padding:12px;border-radius:12px;background:#f5f6f8}.today-advice .fact-grid{display:grid;gap:10px}.today-advice .fact-grid input,.today-advice .fact-grid select{box-sizing:border-box;width:100%;min-height:42px;margin-top:4px;border:1px solid #d9dce1;border-radius:10px;background:#fff}.today-advice .feedback{display:grid;gap:8px;margin:12px 0}
@media(min-width:640px){.today-advice .issue-grid{grid-template-columns:1fr 1fr}}

/* === admin-ui.css === */
.admin-workspace{max-width:1240px;margin:auto;padding:30px 32px 60px}.admin-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:26px}.admin-heading h1{font-size:26px;line-height:1.4;margin:0}.admin-heading p{font-size:13px;color:#62676d;margin:7px 0 0}.admin-heading>a{font-size:13px;color:#526779}.admin-layout{display:grid;grid-template-columns:155px minmax(0,1fr);gap:30px}.admin-nav{display:flex;flex-direction:column;gap:5px;align-self:start;position:sticky;top:20px}.admin-nav button{background:transparent;border:0;padding:12px 14px;border-radius:11px;text-align:left;font-size:14px;color:#62676d}.admin-nav button[aria-pressed=true]{background:#eaf0f6;color:#253d53;font-weight:600}.admin-panels{min-width:0}.admin-panels h2{font-size:20px;margin:0 0 16px;line-height:1.5}.admin-panels h3{font-size:16px}.admin-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid #eceff2;padding-bottom:24px;margin-bottom:24px;gap:14px}.admin-metrics>div{display:grid;gap:10px}.admin-metrics span{font-size:13px;color:#62676d}.admin-metrics strong{font-size:30px;font-weight:600}.admin-shortcuts{display:grid;gap:9px}.admin-shortcuts button{position:relative;text-align:left;border:0;border-radius:13px;background:#f5f6f7;padding:17px 45px 17px 18px}.admin-shortcuts strong{display:block;font-size:15px;font-weight:550}.admin-shortcuts small{display:block;color:#62676d;font-size:12px;margin-top:5px}.admin-shortcuts .icon{position:absolute;right:18px;top:26px;width:16px;color:#727b83}.admin-secondary{border-top:1px solid #e8ecef;margin-top:24px;padding-top:18px;color:#62676d}.admin-secondary>summary{cursor:pointer;font-size:13px;color:#424b52;min-height:30px}.admin-secondary>p{font-size:13px;line-height:1.8;max-width:680px}.admin-section-head p,.admin-help{font-size:13px;line-height:1.8;color:#62676d;margin:8px 0 18px}.admin-search{display:grid;gap:8px;font-size:13px;color:#62676d;max-width:500px;margin:18px 0}.admin-search input,.admin-search select{width:100%;border:1px solid #dfe4e8;border-radius:11px;padding:11px 13px;font-size:14px;color:#25282e;background:white}.admin-user-results{max-height:330px;overflow:auto;overscroll-behavior:contain}.admin-user-row{width:100%;display:flex;align-items:center;gap:12px;text-align:left;background:none;border:0;border-bottom:1px solid #edf0f2;padding:14px 3px}.admin-user-row>span:first-child{flex:1}.admin-user-row strong{display:block;font-size:14px;font-weight:550}.admin-user-row small{display:block;font-size:12px;color:#62676d;margin-top:3px}.admin-user-row>.icon{width:16px;color:#727b83}.admin-member-actions{margin-top:30px}.admin-focused-action{margin:0!important;padding:0!important;border:0!important}.admin-focused-action .admin-action-form{max-width:550px}.admin-focused-action .primary-button{width:auto;min-width:170px}.admin-capabilities details{border-bottom:1px solid #edf0f2;padding:14px 0}.admin-capabilities summary{cursor:pointer;font-size:14px}.admin-capabilities summary small{float:right;color:#62676d;font-size:12px}.admin-capabilities p{font-size:13px;color:#62676d;line-height:1.7}.admin-panels .course-admin-section{margin-top:0;border-top:0;padding-top:0}.admin-panels .course-admin-section .section-title-row{display:none}.admin-panels .course-upload-details{background:#fafbfc}.admin-loading{font-size:14px;color:#62676d}.admin-workspace .empty-state{padding:35px 20px}.admin-account-note{font-size:12px;color:#62676d;line-height:1.7}.admin-detail-actions{display:flex;gap:8px;flex-wrap:wrap}.admin-detail-actions button{font-size:13px;border:1px solid #dfe4e8;background:#f7f9fb;border-radius:9px;padding:7px 10px}@media(max-width:900px){.admin-workspace{padding:24px}.admin-layout{grid-template-columns:1fr;gap:24px}.admin-nav{position:static;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;border-bottom:1px solid #e8ecef;padding-bottom:15px}.admin-nav button{text-align:center;font-size:13px;padding:10px 5px}}@media(max-width:600px){.admin-workspace{padding:22px 18px 40px}.admin-heading{align-items:flex-start;margin-bottom:20px}.admin-heading h1{font-size:23px}.admin-heading>a{white-space:nowrap;margin-top:5px}.admin-metrics strong{font-size:26px}.admin-metrics span{font-size:12px}.admin-nav{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-panels h2{font-size:19px}.admin-user-results{max-height:280px}.admin-focused-action .primary-button{width:100%}.admin-capabilities summary small{float:none;display:block;margin-top:5px}}
.trial-admin-card{margin:14px 0;padding:14px;border:1px solid #dfe5ec;border-radius:14px;background:#f8fafc}.trial-admin-card h3{margin:0 0 8px}.trial-admin-card p{margin:6px 0}.trial-admin-card small{display:block;margin-top:8px;color:#66717d}.trial-admin-card [data-trial-countdown]{font-variant-numeric:tabular-nums}
.ai-reconcile-card>p{font-size:13px;line-height:1.7;color:#59636d}.ai-reconcile-card form{display:grid;gap:12px;margin-top:14px}.ai-reconcile-card form>label{display:grid;gap:6px;font-size:13px;color:#4e5963}.ai-reconcile-card select,.ai-reconcile-card input,.ai-reconcile-card textarea{width:100%;box-sizing:border-box;border:1px solid #d7dee5;border-radius:10px;background:#fff;padding:10px 11px;font:inherit;color:#25282e}.ai-reconcile-card textarea{min-height:88px;resize:vertical}.ai-reconcile-card .refund-check{display:flex;align-items:flex-start;gap:8px;line-height:1.6}.ai-reconcile-card .refund-check input{width:auto;margin-top:3px}.ai-reconcile-card .primary-button{justify-self:start}.ai-reconcile-card .preview-summary{margin-top:14px}@media(max-width:600px){.ai-reconcile-card .primary-button{width:100%;min-height:44px}.ai-reconcile-card>summary{line-height:1.5;padding:4px 0}.ai-reconcile-card textarea{min-height:104px}}
.coaching-admin-list{display:grid;gap:12px}.coaching-admin-list>article{padding:17px;border:1px solid #e2e7ed;border-radius:14px;background:#fff}.coaching-admin-list>article>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:12px}.coaching-admin-list p,.coaching-admin-list small{display:block;font-size:13px;line-height:1.7;color:#667085}.coaching-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:14px}.coaching-actions>button,.coaching-actions form button{min-height:38px;border:1px solid #cbd7e2;border-radius:9px;background:#fff;padding:0 13px}.coaching-actions form{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:8px;width:100%;align-items:end}.coaching-actions label{font-size:12px;color:#667085}.coaching-actions input,.coaching-actions select{display:block;width:100%;min-height:38px;margin-top:5px;border:1px solid #d5dce4;border-radius:8px;padding:6px}@media(max-width:760px){.coaching-actions form{grid-template-columns:1fr}.coaching-actions>button{flex:1}.coaching-admin-list>article{padding:14px}}
.admin-student-filters{display:grid;grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr));gap:10px;align-items:end;margin:18px 0}.admin-student-filters label{display:grid;gap:7px;font-size:12px;color:#62676d}.admin-student-filters .admin-search{margin:0;max-width:none}.admin-student-filters input,.admin-student-filters select{width:100%;min-width:0;border:1px solid #dfe4e8;border-radius:11px;padding:10px 11px;font-size:13px;color:#25282e;background:white}@media(max-width:900px){.admin-student-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-student-filters .admin-search{grid-column:1/-1}}@media(max-width:600px){.admin-student-filters{grid-template-columns:1fr}.admin-student-filters .admin-search{grid-column:auto}}
.refund-estimate{margin-top:8px;padding:10px 12px;border-radius:10px;background:#fff7ed;color:#7c4a03;font-size:13px;line-height:1.7}.refund-estimate small{display:block;margin-top:4px;color:#8a6a3f;font-size:12px}
/* Account details: presentation only; collapsed records retain their original handlers. */
.admin-account-detail{width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box}
.admin-account-detail .account-detail-heading{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;margin:4px 0 18px;overflow-wrap:anywhere}
.admin-account-detail .account-detail-heading>strong{font-size:17px}.admin-account-detail .account-detail-heading>span{font-size:13px;color:#66717d}.admin-account-detail .account-detail-heading>small{font-size:12px;color:#526779;background:#f2f5f8;border-radius:6px;padding:4px 7px}
.admin-account-detail .account-detail-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.admin-account-detail .account-detail-summary>section{min-width:0;background:#f5f7fa;border:1px solid #e9edf2;border-radius:14px;padding:16px;display:grid;gap:8px;align-content:start;overflow-wrap:anywhere}.admin-account-detail .account-detail-summary>section>span{font-size:12px;color:#66717d}.admin-account-detail .account-detail-summary strong{font-size:20px;line-height:1.4}.admin-account-detail .account-detail-summary small{font-size:12px;font-weight:400;line-height:1.6;color:#66717d}
.admin-account-detail .admin-detail-actions{margin:4px 0 20px}.admin-account-detail .admin-detail-actions button{min-height:42px}.admin-account-detail .account-detail-section{border-top:1px solid #e7ebf0;margin:0;padding:0}.admin-account-detail .account-detail-section>summary{cursor:pointer;min-height:52px;padding:15px 2px;box-sizing:border-box;font-size:14px;line-height:22px;color:#344251}.admin-account-detail .account-detail-section>summary>span{float:right;font-size:12px;color:#7a8490;margin-left:10px}.admin-account-detail summary:focus-visible,.admin-account-detail button:focus-visible{outline:2px solid #3478f6;outline-offset:3px;border-radius:4px}.admin-account-detail .account-detail-body{padding:0 2px 16px;overflow-wrap:anywhere}.admin-account-detail .account-detail-body>p{font-size:13px;line-height:1.7}.admin-account-detail .account-detail-body .test-order{margin:8px 0}.admin-account-detail .account-detail-body .plain-notice{font-size:12px;line-height:1.7}
@media(max-width:520px){.admin-account-detail{padding:22px 18px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.admin-account-detail .account-detail-summary{grid-template-columns:1fr;gap:8px}.admin-account-detail .account-detail-summary>section{padding:12px 14px}.admin-account-detail .admin-detail-actions{display:grid;grid-template-columns:1fr 1fr}.admin-account-detail .admin-detail-actions button{min-height:44px;padding:9px 8px}}

/* Membership shortcuts keep account identity and consequential controls separate. */
.member-quick-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #e7ebf0}
.member-quick-row>.admin-user-row{flex:1;min-width:0;border-bottom:0}
.member-quick-actions{display:flex;gap:6px;flex:0 0 auto}
.member-quick-actions:empty{display:none}
.member-quick-actions button{min-height:36px;white-space:nowrap;padding:6px 12px;border:1px solid #dfe6ee;border-radius:8px;background:#fff;color:#233b55;font:inherit;font-size:13px;cursor:pointer}
.member-quick-actions button:hover,.member-quick-actions button:focus-visible{background:#eef5ff;border-color:#89afd9}
.member-quick-modal{max-height:calc(100dvh - 24px);overflow:auto}
.member-quick-account{color:#53667a;margin:4px 0 14px}
.member-quick-form form{margin:0}
.member-quick-form p:empty{display:none}
.member-quick-form label[hidden],.member-quick-form details[hidden],.member-quick-form button[hidden]{display:none}
.member-quick-more{margin:1px 0 12px;font-size:13px}
.member-quick-more[open]{padding-bottom:8px}
.member-quick-more input[type=checkbox]{width:auto;min-height:0;margin:0 5px}
@media(max-width:550px){.member-quick-row{align-items:stretch;flex-direction:column;gap:0}.member-quick-actions{padding:0 0 8px}.member-quick-actions button{min-height:44px}}

/* === admin-pending-billing.css === */
.pending-billing-review{min-width:0;padding:22px;border:1px solid #dfe5ec;border-radius:16px;background:#f8fafc}
.pending-billing-heading,.pending-billing-heading>div,.pending-billing-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.pending-billing-heading h3{margin:0}.pending-billing-readonly,.pending-billing-state{display:inline-block;border-radius:6px;padding:4px 8px;font-size:12px;line-height:1.5;background:#eaf0f6;color:#344f68}
.pending-billing-review .admin-help{margin-bottom:12px}.pending-billing-status{font-size:13px;line-height:1.7;color:#485767;margin:12px 0}
.pending-billing-list{display:grid;gap:12px}.pending-billing-card{min-width:0;border:1px solid #e1e6ec;border-radius:12px;background:#fff;padding:16px}.pending-billing-card h4{margin:0;font-size:15px;line-height:1.6;color:#253d53}
.pending-billing-age,.pending-billing-muted{font-size:12px;line-height:1.8;color:#62676d;overflow-wrap:anywhere}.pending-billing-age{margin:8px 0 12px}.pending-billing-muted{margin:12px 0 0}
.pending-billing-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin:12px 0}.pending-billing-facts>div{min-width:0}.pending-billing-facts dt{font-size:12px;color:#62676d;margin-bottom:5px}.pending-billing-facts dd{margin:0;color:#303e4b;font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.pending-billing-findings{margin:12px 0;padding:10px 12px 10px 28px;border-radius:8px;background:#fff8ec;color:#805518;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
.pending-billing-detail{border-top:1px solid #edf0f2;margin-top:14px;padding-top:10px}.pending-billing-detail summary{cursor:pointer;font-size:13px;line-height:24px;color:#526779;padding:5px 0}.pending-billing-detail .pending-billing-facts{margin-bottom:0}
.pending-billing-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:16px}.pending-billing-page{font-size:12px;color:#62676d;white-space:nowrap}.pending-billing-review button{width:auto;margin:0;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;font-size:13px;border:1px solid #ced7e0;border-radius:9px;background:#fff;color:#344f68;cursor:pointer}.pending-billing-review button:disabled{opacity:.5;cursor:default}.pending-billing-review button:focus-visible,.pending-billing-detail summary:focus-visible{outline:2px solid #42668a;outline-offset:3px}
@media(max-width:600px){.pending-billing-review{padding:14px;border-radius:12px}.pending-billing-heading{align-items:flex-start}.pending-billing-heading>div{gap:8px}.pending-billing-heading h3{font-size:16px}.pending-billing-card{padding:13px}.pending-billing-facts{grid-template-columns:minmax(0,1fr);gap:10px}.pending-billing-pagination{justify-content:space-between;gap:8px}.pending-billing-pagination button{flex:1}.pending-billing-card-head{gap:8px}}

/* === trial-readiness.css === */
.trial-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.trial-steps button {
  display: grid;
  grid-template-columns: 2rem 1fr;
  column-gap: 0.65rem;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 1rem;
  border: 1px solid #e0e5e9;
  border-radius: 16px;
  background: #fff;
  text-align: left;
}

.trial-steps button > span {
  display: grid;
  grid-row: 1 / 3;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #253d53;
  color: #fff;
  font-weight: 700;
}

.trial-steps button strong { font-size: 0.98rem; }
.trial-steps button small { margin-top: 0.2rem; color: #62676d; line-height: 1.5; }

.admin-readiness {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}

.admin-readiness section {
  padding: 0.9rem 1rem;
  border: 1px solid #cde8d7;
  border-radius: 14px;
  background: #f3fbf6;
}

.admin-readiness section.pending { border-color: #eadfc4; background: #fffaf0; }
.admin-readiness h3 { margin: 0 0 0.35rem; font-size: 0.95rem; }
.admin-readiness p { margin: 0; color: #62676d; font-size: 0.9rem; line-height: 1.65; }

@media (max-width: 760px) {
  .trial-steps,
  .admin-readiness { grid-template-columns: 1fr; }
}

/* === course-order.css === */
.course-order-actions {
  display: inline-flex;
  gap: 12px;
  margin-left: 0 !important;
  width: auto !important;
}

.course-order-actions button:disabled {
  color: #a9b0b8;
  cursor: not-allowed;
}

.course-order-actions button:not(:disabled) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* === admin-knowledge.css === */
.knowledge-create {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  max-width: 720px;
  margin-bottom: 24px;
}
.knowledge-create label { display: grid; gap: 7px; font-size: 13px; color: #62676d; }
.knowledge-create input { border: 1px solid #dfe4e8; border-radius: 10px; padding: 11px 12px; font-size: 14px; }
.knowledge-create .form-error { grid-column: 1 / -1; margin: 0; }
.knowledge-list { display: grid; gap: 14px; }
.knowledge-card { border: 1px solid #e4e8ec; border-radius: 14px; padding: 17px; background: #fff; }
.knowledge-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.knowledge-card h3 { margin: 0 0 5px; }
.knowledge-card small, .knowledge-version p, .knowledge-progress { font-size: 12px; color: #62676d; }
.knowledge-file { cursor: pointer; }
.knowledge-progress:empty { display: none; }
.knowledge-versions { display: grid; gap: 9px; margin-top: 14px; }
.knowledge-version { background: #f7f9fb; border-radius: 11px; padding: 12px; }
.knowledge-version > div:first-child { display: flex; gap: 9px; align-items: center; }
.knowledge-version p { margin: 7px 0; }
.knowledge-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.knowledge-actions button, .knowledge-actions a { font-size: 12px; border: 1px solid #dfe4e8; background: white; color: #394957; border-radius: 8px; padding: 7px 10px; text-decoration: none; }
.knowledge-actions button:disabled { opacity: .55; }
.knowledge-text { margin-top: 10px; border-top: 1px solid #e1e6ea; padding-top: 10px; }
.knowledge-text section + section { margin-top: 12px; }
.knowledge-text strong { font-size: 12px; color: #526779; }
.knowledge-text pre { margin: 6px 0 0; padding: 10px; max-height: 260px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; border-radius: 8px; background: #fff; color: #2f3439; font: 12px/1.7 system-ui, sans-serif; }
.knowledge-local-tools { margin: 0 0 20px; padding: 0; border: 1px solid #e3e8ec; border-radius: 12px; background: #fafbfc; }
.knowledge-local-tools > summary { padding: 14px 16px; min-height: auto; }
.knowledge-local-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; align-items: end; max-width: 760px; margin: 0; padding: 2px 15px 15px; }
.knowledge-create-tools { margin: 0 0 20px; }
.knowledge-create-tools > summary { font-weight: 550; }
.knowledge-create-tools .knowledge-create { margin-top: 12px; }
.knowledge-empty-docs { margin-top: 14px; border-top: 1px solid #e4e8eb; }
.knowledge-empty-docs > summary { padding: 15px 2px; color: #65707d; font-size: 13px; cursor: pointer; }
.knowledge-empty-docs > .knowledge-card { margin-top: 8px; }
.knowledge-local-search label { display: grid; gap: 7px; color: #52606c; font-size: 13px; }
.knowledge-local-search input { border: 1px solid #dfe4e8; border-radius: 9px; padding: 10px 12px; font-size: 14px; background: #fff; }
.knowledge-local-search > p { grid-column: 1 / -1; margin: 0; color: #68727c; font-size: 12px; }
.knowledge-search-results { grid-column: 1 / -1; display: grid; gap: 9px; font-size: 13px; }
.knowledge-search-results article { border-top: 1px solid #dfe5e9; padding-top: 9px; }
.knowledge-search-results p { max-height: 160px; overflow: auto; white-space: pre-wrap; margin: 5px 0 0; line-height: 1.65; color: #434a51; }
.featured-admin { margin-top: 34px; padding-top: 26px; border-top: 1px solid #e4e8ec; }
.featured-create { display: grid; grid-template-columns: minmax(220px,1.4fr) minmax(220px,1fr) 90px auto; gap: 10px; align-items: end; }
.featured-create label { display: grid; gap: 7px; font-size: 13px; color: #62676d; }
.featured-create input,.featured-create select,.featured-row input { min-height: 42px; border: 1px solid #dfe4e8; border-radius: 9px; padding: 9px 11px; background: #fff; font-size: 13px; }
.featured-create .form-error { grid-column: 1 / -1; margin: 0; }
.featured-create-actions { grid-column: 1 / -1; display: flex; gap: 9px; flex-wrap: wrap; }
.featured-create-actions .secondary-button { width: auto; margin: 0; }
.featured-preview { grid-column: 1 / -1; border: 1px solid #dfe6eb; border-radius: 10px; background: #f7fafc; padding: 12px; }
.featured-preview strong { font-size: 13px; }
.featured-preview p { margin: 8px 0 0; padding-top: 8px; border-top: 1px solid #e4e9ed; color: #4b5660; font-size: 12px; line-height: 1.7; }
.featured-list { display: grid; gap: 9px; margin-top: 18px; }
.featured-row { display: grid; grid-template-columns: minmax(240px,1fr) 80px auto auto; gap: 10px; align-items: center; padding: 12px; border: 1px solid #e5e9ed; border-radius: 11px; background: #fafbfc; }
.featured-row label { display: flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 12px; color: #62676d; }
.featured-row label input { min-height: auto; }
.featured-row button { min-height: 38px; border: 1px solid #d7dfe6; border-radius: 8px; background: #fff; color: #2f628e; padding: 0 13px; }
.featured-row .course-row-message { grid-column: 1 / -1; margin: 0; }
.knowledge-folders > .settings-card { margin-bottom: 22px; }
.knowledge-folders [data-persona] { display: grid; gap: 13px; margin-top: 14px; }
.knowledge-folders [data-persona] label { display: grid; gap: 7px; color: #52606c; font-size: 13px; }
.knowledge-folders [data-persona] input,
.knowledge-folders [data-persona] textarea,
.knowledge-folder-grid [data-create] input { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #dfe4e8; border-radius: 10px; padding: 11px 12px; background: #fff; color: #25282e; font: inherit; }
.knowledge-folders [data-persona] textarea { min-height: 96px; resize: vertical; line-height: 1.65; }
.knowledge-folders [data-persona] button { justify-self: start; }
.knowledge-folder-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.knowledge-folder-grid > section { min-width: 0; padding: 16px; border: 1px solid #e4e8ec; border-radius: 14px; background: #fff; }
.knowledge-folder-grid > section h3 { margin: 0 0 10px; }
.knowledge-folder-grid [data-create] { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
@media (max-width: 600px) {
  .knowledge-create { grid-template-columns: 1fr; }
  .knowledge-card-head { display: grid; }
  .knowledge-file { text-align: center; }
  .knowledge-local-search { grid-template-columns: 1fr; }
  .featured-create,.featured-row { grid-template-columns: 1fr; }
  .knowledge-folders [data-persona] label { display: grid; gap: 7px; line-height: 1.5; }
  .knowledge-folders [data-persona] input,
  .knowledge-folders [data-persona] textarea { display: block; margin: 0; }
  .knowledge-folders [data-persona] button { width: 100%; min-height: 44px; }
  .knowledge-folder-grid { grid-template-columns: 1fr; }
  .knowledge-folder-grid [data-create] { grid-template-columns: 1fr; }
  .knowledge-folder-grid [data-create] button { min-height: 44px; }
}

/* === vod.css === */
.vod-upload-panel{margin-top:16px}
.vod-upload-panel form{display:grid;gap:14px}
.vod-cost-confirm{display:flex!important;align-items:flex-start;gap:9px;line-height:1.7}
.vod-cost-confirm input{width:18px!important;min-height:18px!important;margin:3px 0 0!important;flex:0 0 18px}
.vod-upload-panel .vod-stop{justify-self:start}
@media(max-width:700px){.vod-upload-panel .primary-button,.vod-upload-panel .secondary-button{width:100%}}

/* === ui-v2.css === */
/* 智营AI UI V2 —— 首页视觉升级（2026-11-10）
   依据：zhiying_mobile_demo.html 原型（第一优先视觉标准）。
   原则：只新增不覆盖旧规则；作用域限定学员端问答页（.student-ask）、顶部品牌区、对话气泡。
   不动：侧边栏、底部导航（老板明示保持原样）、会员数据、全部业务逻辑。
   回滚：删除 index.html 中 ui-v2.css 一行引用 + revert student.js 的灵儿形象插入即可恢复原样。 */
:root{
  --v2-bg:#f7f9fc;
  --v2-ink:#182333;
  --v2-muted:#7f8da0;
  --v2-muted-2:#9aa5b3;
  --v2-brand:#1874dc;
  --v2-brand-deep:#1b66bb;
  --v2-brand-word:#2376d4;
  --v2-teal:#16bba6;
  --v2-chip-border:#e9eef5;
  --v2-chip-ink:#53677f;
  --v2-shadow-soft:0 10px 40px rgba(32,58,90,.075);
}

/* 全局画布：原型径向渐变浅底 */
.layout{background:radial-gradient(ellipse at 50% 35%,#ffffff 0%,var(--v2-bg) 65%)}

/* 顶部品牌区（问答页）：去线融底，向原型靠 */
.student-header{background:transparent;border-bottom:0}
.student-brand strong{font-size:22px;font-weight:750;letter-spacing:-.6px;color:var(--v2-ink)}
.student-brand small{display:flex;align-items:center;gap:5px;color:var(--v2-muted);font-size:12.5px;margin-top:4px}
.student-brand small::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--v2-teal);box-shadow:0 0 8px rgba(22,187,166,.55);flex-shrink:0}
.student-header .icon-button,.student-new{background:#fff;border-radius:50%;box-shadow:0 5px 24px rgba(32,59,90,.05);color:#223b57}
.student-new{border-radius:22px}
.student-new:hover{background:#fff}

/* 灵儿形象：原型纯 CSS 机器人（无外部图片，无版权风险） */
.student-ai-mark{display:none}
.linga-mascot{height:166px;width:166px;position:relative;filter:drop-shadow(0 15px 13px rgba(32,75,128,.13));margin:0 auto}
.linga-mascot .glow{position:absolute;inset:30px;border-radius:50%;background:#dbeeff;filter:blur(32px)}
.linga-mascot .ears{position:absolute;left:31px;top:15px;width:105px;display:flex;justify-content:space-between}
.linga-mascot .ear{width:37px;height:55px;border-radius:9px 28px 8px 6px;background:linear-gradient(130deg,#c8d7ea,#7189a9);transform:rotate(-17deg)}
.linga-mascot .ear+.ear{transform:rotate(17deg);border-radius:28px 9px 6px 8px}
.linga-mascot .head{position:absolute;left:18px;top:41px;width:133px;height:94px;border-radius:42px;background:linear-gradient(145deg,#dce9f8,#8ea9c8);border:5px solid #c2d5e8;box-shadow:inset 0 2px 6px #fff}
.linga-mascot .face{position:absolute;inset:10px 9px 13px;border-radius:28px;background:#12273d;display:flex;align-items:center;justify-content:center;gap:27px}
.linga-mascot .eye{height:27px;width:9px;background:#54e6cf;border-radius:9px;box-shadow:0 0 15px #45e7ce}
.linga-mascot .bodybot{position:absolute;left:48px;top:125px;width:75px;height:38px;border-radius:18px;background:#a8bed7;border:5px solid #d5e5f5}

/* 欢迎区：原型大标题 + 副文案（文案服从现有线上口径） */
.student-ask .welcome{padding-top:8px}
.student-ask .welcome h1{font-size:clamp(31px,7.5vw,40px);letter-spacing:-1px;line-height:1.3;margin:16px 0 12px;font-weight:780;color:var(--v2-ink)}
.student-ask .welcome-description{color:var(--v2-muted);font-size:15px;line-height:1.9;margin:0 0 6px}

/* 快捷问题：原型 chip 样式 */
.student-ask .prompts{display:flex;flex-wrap:wrap;gap:9px;margin-top:28px;max-width:none}
.student-ask .prompt{display:inline-flex;flex-direction:row;align-items:center;gap:7px;min-height:0;width:auto;max-width:100%;background:#fff;border:1px solid var(--v2-chip-border);color:var(--v2-chip-ink);padding:10px 14px;border-radius:18px;font-size:13px;font-weight:400;text-align:left;cursor:pointer}
.student-ask .prompt:hover{color:var(--v2-brand-deep);border-color:#d6e6f5;background:#fff}
.student-ask .prompt>span:first-child{flex:none}
.student-ask .prompt>span:last-child{display:none}

/* 输入框：原型大圆角 + 轻柔阴影（保留现有语音/上传/发送逻辑与结构） */
.student-ask .composer{border:1px solid #f0f2f6;border-radius:29px;box-shadow:var(--v2-shadow-soft);background:#fff;padding:12px 16px 10px}
.student-ask .composer:focus-within{border-color:#bfd9f0;box-shadow:0 0 0 3px rgba(24,116,220,.08),var(--v2-shadow-soft)}
.student-ask .composer textarea{min-height:44px;max-height:160px;font-size:15px;color:#28313a}
.student-ask .composer textarea::placeholder{color:#a6b0bb}
.student-ask .input-action{color:#253c57;font-size:12px}
.student-ask .send-button{width:36px;height:36px;background:var(--v2-brand);color:#fff}
.student-ask .send-button:hover:not(:disabled){background:#1465c2}
.student-ask .send-button:disabled{background:#dfeaf5;color:#547fa8}
.student-ask .service-note{color:var(--v2-muted-2);font-size:12px}
.student-ask .student-disclosure{color:var(--v2-muted-2);font-size:11px}

/* 对话气泡：原型样式（用户浅蓝右置、AI 白底轻阴影） */
.student-ask .conversation-message{border-bottom:0;background:#fff;border-radius:18px;box-shadow:0 3px 20px rgba(0,0,0,.03);padding:13px 17px;margin:14px 0;max-width:92%}
.student-ask .conversation-message.user{background:#dcecff;margin-left:auto;box-shadow:none}
.student-ask .conversation-message p{font-size:15px;line-height:1.8}

/* 空态/加载小字统一色 */
.student-pending p{color:var(--v2-muted)}

/* —— 手机端（原型目标形态）—— */
@media(max-width:700px){
  .student-header{height:64px;padding:0 18px;padding-top:calc(env(safe-area-inset-top) * .6)}
  .student-brand strong{font-size:24px;letter-spacing:-.6px}
  .student-brand .brand-symbol{width:38px;height:38px}
  .student-brand small{font-size:12.5px}
  .ask-page{padding:6px 24px 25px;max-width:520px;margin:auto;width:100%}
  .student-ask .welcome{padding:6px 0 30px;text-align:center}
  .linga-mascot{margin:0 auto}
  .student-ask .welcome h1{font-size:clamp(31px,7.8vw,36px);text-align:center}
  .student-ask .welcome-description{font-size:14.5px;text-align:center}
  .student-ask .prompts{justify-content:center}
  .student-ask .composer-section{max-width:none}
}

/* —— 电脑端：保留侧边栏结构，内容区按原型刷新 —— */
@media(min-width:701px){
  .ask-page{padding:40px 64px 25px}
  .student-ask .welcome{max-width:760px;margin:0 auto;text-align:center;padding-top:30px;padding-bottom:40px}
  .linga-mascot{width:190px;height:190px;margin:0 auto}
  .linga-mascot .ears{left:35px;top:17px;width:120px}
  .linga-mascot .ear{width:42px;height:62px}
  .linga-mascot .head{left:20px;top:47px;width:152px;height:108px}
  .linga-mascot .face{gap:31px}
  .linga-mascot .eye{height:31px;width:10px}
  .linga-mascot .bodybot{left:55px;top:144px;width:86px;height:44px;border-radius:20px}
  .student-ask .welcome h1{font-size:clamp(34px,3.6vw,42px)}
  .student-ask .prompts{justify-content:center;max-width:640px;margin-left:auto;margin-right:auto}
  .student-ask .composer-section{max-width:760px}
  .student-ask.has-conversation .linga-mascot{display:none}
  .student-ask.has-conversation .welcome{text-align:left;padding:16px 0 20px;max-width:none}
}

/* 进入对话后：欢迎区收缩（延续现有行为，机器人随 ask-hero 一起隐藏） */
.student-ask.has-conversation .linga-mascot{display:none}
.student-ask.has-conversation .welcome{text-align:left}

/* ============================================================
   V2.1（2026-11-10 老板拍板）：LOGO 红改原型蓝 + 头部/导航/输入框全按原型
   ============================================================ */
:root{--v2-brand:#2376d4;--v2-brand-deep:#1b66bb;--v2-ink:#253c57;--v2-mute:#94a3b8;--v2-nav:#9aa5b3}

/* —— 头部：☰ + 智营AI·灵儿 + ● 在线陪伴（原型 header）—— */
.student-header{align-items:center}
.student-header .header-menu{font-size:21px;color:var(--v2-ink);background:none;border:0;width:38px;height:38px;border-radius:12px}
.student-header .header-menu:hover{background:#eef4fb}
.student-header .header-brand-block .brand{font-size:19px;font-weight:800;color:var(--v2-ink);letter-spacing:.2px}
.student-header .header-brand-block .brand-ling{font-size:13px;font-weight:500;color:var(--v2-mute)}
.student-header .header-brand-block .sub{font-size:11.5px;color:var(--v2-mute);margin-top:2px}
.student-header .header-brand-block .sub b{color:#16bba6;font-weight:700;margin-right:2px}
.student-header .student-brand{display:none}

/* —— 导航：原型字符图标（桌面侧边栏 + 手机底栏）—— */
.sidebar .nav-link{flex-direction:column;align-items:center;gap:7px}
.sidebar .nav-link .ico,.bottom-nav .ico{font-size:23px;line-height:1;font-style:normal}
.sidebar .nav-link{gap:4px}
.bottom-nav a{flex-direction:column;gap:6px;font-size:12px;color:var(--v2-nav)}
.bottom-nav a.active{color:var(--v2-brand-deep);font-weight:700}
.sidebar .nav-link.active{color:var(--v2-brand-deep)}

/* —— 输入框：原型 composer（◉语音 + 输入 + ＋上传 + ↑发送）—— */
.composer.v2{display:flex;align-items:center;gap:12px;padding:11px 14px;background:#fff;border-radius:29px;box-shadow:0 10px 40px #203a5a13;border:1px solid #f0f2f6}
.composer.v2 textarea{border:0;outline:0;min-width:0;flex:1;font-size:15px;background:transparent;resize:none;max-height:120px;line-height:1.5;padding:6px 0}
.composer.v2 .voice,.composer.v2 .plus{border:0;background:none;color:var(--v2-ink);font-size:24px;cursor:pointer;padding:0 2px;line-height:1}
.composer.v2 .voice:active,.composer.v2 .plus:active{transform:scale(.92)}
.composer.v2 .send{border:0;background:#1874dc;color:#fff;width:35px;height:35px;border-radius:50%;font-size:19px;cursor:pointer;flex:none;display:flex;align-items:center;justify-content:center;padding:0}
.composer.v2 .send:disabled{opacity:.35;cursor:default}
.composer.v2 .send:not(:disabled):hover{background:#1b66bb}
.composer.v2~.service-note,.composer-section .service-note{margin-top:10px}
.composer-section .input-tools,.composer-section .composer-actions{display:none!important}
.student-ask .composer-section{padding-bottom:calc(10px + env(safe-area-inset-bottom))}

/* —— 手机端微调 —— */
@media(max-width:700px){
  .student-header{padding:10px 16px}
  .sidebar{display:none}
}
.student-header .header-brand-block{white-space:nowrap}
.student-header .header-brand-block .sub{white-space:nowrap}
.student-header .student-new{white-space:nowrap;flex:none}
@media(max-width:700px){
  .student-header .student-new{display:none}
}
.student-header .student-new span{display:none}
.student-header .student-new{padding:8px}

/* 电脑端侧边栏品牌块：与手机头部同款（原型纯文字，无图形LOGO） */
.sidebar .brand.v2-brand{display:flex;flex-direction:column;gap:3px;padding:6px 4px}
.sidebar .v2-brand-text{font-size:19px;font-weight:800;color:var(--v2-ink,#253c57);letter-spacing:.2px}
.sidebar .v2-ling{font-size:13px;font-weight:500;color:var(--v2-mute,#94a3b8)}
.sidebar .v2-brand-sub{font-size:11.5px;color:var(--v2-mute,#94a3b8);white-space:nowrap}
.sidebar .v2-brand-sub b{color:#16bba6;font-weight:700;margin-right:2px}
.sidebar .v2-brand-sub{font-size:10.5px;letter-spacing:0}
.sidebar .brand.v2-brand{padding-right:2px}

/* 灵儿小脑袋：常驻顶部品牌旁（欢迎页大机器人照旧，对话态也在） */
.mini-bot{position:relative;width:40px;height:30px;flex:none;display:inline-block}
.mini-bot .mb-ear{position:absolute;top:-2px;width:9px;height:12px;border-radius:5px;background:linear-gradient(145deg,#dce9f8,#8ea9c8);border:2px solid #c2d5e8}
.mini-bot .mb-ear:nth-of-type(1){left:6px;transform:rotate(-8deg)}
.mini-bot .mb-ear:nth-of-type(2){right:6px;transform:rotate(8deg)}
.mini-bot .mb-head{position:absolute;left:1px;top:7px;width:38px;height:24px;border-radius:12px;background:linear-gradient(145deg,#dce9f8,#8ea9c8);border:2px solid #c2d5e8;box-shadow:inset 0 1px 3px #fff,0 3px 10px #203a5a22}
.mini-bot .mb-face{position:absolute;inset:2px 3px 2px;border-radius:9px;background:#12273d;display:flex;align-items:center;justify-content:center;gap:7px}
.mini-bot .mb-eye{display:block;height:11px;width:4px;background:#54e6cf;border-radius:4px;box-shadow:0 0 8px #45e7ce}
.student-header .header-brand-block{align-items:center;display:flex;gap:10px}
@media(max-width:700px){
  .student-header .header-brand-block{gap:7px}
  .student-header .mini-bot{width:32px;height:25px}
  .student-header .mini-bot .mb-head{width:30px;height:20px;left:1px;top:5px}
  .student-header .mini-bot .mb-face{inset:2px 2px}
  .student-header .mini-bot .mb-eye{height:8px;width:3px;gap:5px}
  .student-header .mini-bot .mb-face{gap:5px}
  .student-header .header-brand-block .brand{font-size:15.5px}
  .student-header .header-brand-block .sub{font-size:9.5px}
}

/* ===== 手机端头部：逐条照抄原型 zhiying_mobile_demo.html ===== */
@media(max-width:700px){
  .student-header{padding:calc(14px + env(safe-area-inset-top)) 16px 12px;gap:10px}
  .student-header .header-menu{width:46px;height:46px;background:#fff;border:0;border-radius:50%;font-size:23px;color:#223b57;box-shadow:0 5px 24px #203b5a0a}
  .student-header .header-brand-block{gap:8px}
  .student-header .mini-bot{width:30px;height:24px}
  .student-header .mini-bot .mb-head{width:28px;height:19px;top:5px}
  .student-header .mini-bot .mb-face{inset:2px}
  .student-header .mini-bot .mb-eye{height:8px;width:3px}
  .student-header .mini-bot .mb-face{gap:5px}
  .student-header .header-brand-block .brand{font-size:21px;font-weight:750;letter-spacing:-.5px;color:#182333}
  .student-header .header-brand-block .brand-ling{font-size:13px;font-weight:500;color:#94a3b8}
  .student-header .header-brand-block .sub{font-size:11.5px;color:#8c99a9;margin-top:3px;letter-spacing:0}
}
@media(max-width:700px){
  .student-header{gap:6px;padding-left:12px;padding-right:12px}
  .student-header .header-menu{width:40px;height:40px;font-size:20px}
  .student-header .header-brand-block{gap:6px}
  .student-header .mini-bot{width:26px;height:21px}
  .student-header .mini-bot .mb-head{width:24px;height:17px;top:4px}
  .student-header .mini-bot .mb-eye{height:7px;width:3px}
  .student-header .header-brand-block .sub{font-size:10px;letter-spacing:-.2px}
}

/* —— 2026-11-14 老板要求：上传入口单独列出来，电脑端和手机端都必须看得见 ——
   原来只有一个"＋"字符按钮，学员找不到，也分不清是传图片还是传文件。
   现在固定两颗胶囊按钮 + 一条"已读内容"卡片，卡片由 student.js 控制显隐。 */
.attach-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 2px 8px}
.attach-btn{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:6px 13px;border:1px solid #dfe6ef;border-radius:999px;background:#fff;color:var(--v2-ink,#1c2b3a);font-size:13.5px;font-weight:600;line-height:1;cursor:pointer;box-shadow:0 2px 8px #203a5a0d;font-family:inherit}
.attach-btn:hover{border-color:#b9cbe2;background:#f7fafd}
.attach-btn:active{transform:scale(.97)}
.attach-hint{color:#8b96a5;font-size:12px;line-height:1.4}
.attach-chip{display:flex;align-items:center;gap:9px;margin:0 2px 8px;padding:8px 10px;border:1px solid #d8e6f5;border-radius:14px;background:#f4f9ff}
.attach-chip[hidden]{display:none}
.attach-chip-icon{font-size:16px;line-height:1}
.attach-chip-text{display:flex;flex-direction:column;min-width:0;flex:1;gap:2px}
.attach-chip-text b{font-size:13px;font-weight:700;color:#1c2b3a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.attach-chip-text small{font-size:12px;color:#6b7b8d}
.attach-chip-x{border:0;background:none;color:#7b8794;font-size:18px;line-height:1;cursor:pointer;padding:0 4px;font-family:inherit}
@media (max-width:560px){
 .attach-bar{gap:6px}
 .attach-btn{padding:7px 12px;font-size:13px;min-height:36px}
 .attach-hint{width:100%;font-size:11.5px}
 .attach-chip{margin-bottom:6px}
}

/* === points-help.css === */
/* Server-confirmed low balance: keep the action beside the composer, not in a toast. */
.points-help[hidden],.points-help-details[hidden]{display:none}
.points-help{margin:0 0 12px;padding:12px 14px;border:1px solid #d8e3df;border-radius:14px;background:#f4faf7;color:#233b31;font-size:14px;line-height:1.6}
.points-help-warning{background:#fff5e6;border-color:#e9bb79;color:#643f10}
.points-help-summary,.points-help-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.points-help button,.points-help-contact a{border:1px solid #c79c57;border-radius:8px;padding:8px 12px;min-height:40px;background:#fff;color:#56360e;font:inherit;text-decoration:none;cursor:pointer;display:inline-block}
.points-help button:disabled{opacity:.6;cursor:wait}
.points-help-details{border-top:1px solid #decba9;margin-top:12px;padding-top:4px}
.points-help-details p{margin:8px 0;white-space:normal}
.points-help-actions{margin-top:12px;justify-content:flex-start}
@media(max-width:600px){.points-help-summary{align-items:flex-start}.points-help-summary strong{flex:1 1 100%}}

.support-contact-qr{margin:12px 0 0;color:#4e627d;text-align:center;font-size:12px}.support-contact-qr canvas{display:block;inline-size:135px;max-inline-size:100%;block-size:auto;margin:0 auto 4px;image-rendering:pixelated}

/* === chat-experience.css === */
/* Chat-only visual layer. Account, course, image and billing screens keep their own UI. */
.chat-layout{--chat-ink:#19324f;--chat-muted:#74849a;--chat-line:#e5edf5;background:#f8fafd}
.chat-layout .sidebar{width:220px;padding:30px 20px 20px;background:#f3f6fb;border-right:1px solid #e7edf5}
.chat-layout .sidebar .brand.v2-brand{align-items:flex-start;padding:5px 9px;gap:7px}
.chat-layout .sidebar .v2-brand-text{font-size:22px;letter-spacing:-.6px}
.chat-layout .sidebar .v2-brand-sub{font-size:9px;color:#7f8ba0;white-space:normal}
.chat-layout .sidebar nav{margin-top:42px;gap:8px}
.chat-layout .sidebar .nav-link{flex-direction:row;justify-content:flex-start;gap:13px;padding:13px 15px;font-size:14px;font-weight:500;border-radius:12px}
.chat-layout .sidebar .nav-link .ico{font-size:19px;width:22px;text-align:center}
.chat-layout .sidebar .nav-link.active{background:#e6effc;color:#2269b6;box-shadow:none}
.chat-layout .sidebar .nav-link:hover{background:#eaf0f8}
.chat-layout .sidebar .environment{font-size:10px;color:#8c99ac}
.chat-layout .identity{border-color:#e0e7f0;padding-top:17px}
.chat-layout .main-shell{margin-left:220px;background:#fff}
.chat-layout .student-header{height:78px;padding:0 36px;border-bottom:1px solid #eef2f7;position:sticky;top:0;z-index:8;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);gap:16px}
.chat-layout .student-header .header-brand-block{display:grid;grid-template-columns:36px auto;column-gap:10px;row-gap:1px;min-width:0;white-space:normal;margin-right:auto}
.chat-layout .header-brand-block .mini-bot{grid-row:1/3;width:36px}
.chat-layout .student-header .header-brand-block .brand{font-size:18px;line-height:1.35;gap:3px;letter-spacing:-.4px}
.chat-layout .header-brand-block .brand-ling{font-size:13px;margin-left:4px}
.chat-layout .student-header .header-brand-block .sub{font-size:10px;line-height:1.5;margin:0;color:#8b98aa;white-space:nowrap}
.chat-layout .student-header .header-menu{height:38px;width:38px;border:1px solid #e6edf5;border-radius:11px;background:white;box-shadow:none;font-size:19px}
.chat-layout .student-header .student-new{display:flex;align-items:center;gap:6px;background:#f1f6fd;border:1px solid #dfebfa;border-radius:11px;color:#2b69ab;padding:9px 12px;box-shadow:none;font-size:12px}
.chat-layout .student-header .student-new span{display:inline}
.chat-layout .student-header .student-new .icon{width:16px;height:16px}
.chat-layout .student-header .student-new:hover{background:#e8f1fc}
.chat-layout .student-ask{width:100%;max-width:870px;min-height:calc(100dvh - 78px);padding:36px 42px 18px;background:transparent}
.chat-layout .student-ask:not(.has-conversation){justify-content:center;gap:26px}
.chat-layout .student-ask:not(.has-conversation) .welcome{width:100%;max-width:none;margin:0;padding:0}
.chat-layout .student-ask .ask-hero{display:grid;grid-template-columns:minmax(0,1fr) 170px;grid-template-areas:'eyebrow mascot' 'title mascot' 'description mascot' 'intro intro' 'prompts prompts';column-gap:24px;text-align:left}
.chat-layout .student-ask .welcome-eyebrow{grid-area:eyebrow;margin:0 0 10px;color:#6384aa;font-size:12px;letter-spacing:1.1px;font-weight:550}
.chat-layout .student-ask .ask-hero h1{grid-area:title;font-size:36px;line-height:1.35;font-weight:720;letter-spacing:-1px;margin:0 0 14px;text-align:left;color:var(--chat-ink)}
.chat-layout .student-ask .welcome-description{grid-area:description;font-size:14px;line-height:1.85;margin:0;max-width:none;text-align:left;color:var(--chat-muted)}
.chat-layout .student-ask .linga-mascot{grid-area:mascot;align-self:center;justify-self:center;width:190px;height:190px;transform:scale(.8);margin:-10px -10px -4px;filter:drop-shadow(0 14px 17px #2b65a51a)}
.chat-layout .student-ask .prompt-intro{grid-area:intro;max-width:none;width:100%;margin:26px 0 10px;gap:10px}
.chat-layout .student-ask .prompt-intro strong{color:#75859a;font-size:12px;font-weight:500}
.chat-layout .student-ask .prompt-intro span{font-size:10px;color:#9aa6b7}
.chat-layout .student-ask .prompts{grid-area:prompts;width:100%;max-width:none;margin:0;gap:10px}
.chat-layout .student-ask .prompt{min-height:50px;padding:12px 14px;border:1px solid #e8eef6;background:#f9fbff;border-radius:12px;color:#526881;font-size:12.5px;font-weight:400;box-shadow:none}
.chat-layout .student-ask .prompt:hover{background:#eef5ff;border-color:#c7dcf6;color:#275f9d;transform:translateY(-1px)}
.chat-layout .student-ask .composer-section{width:100%;max-width:none;margin:0;padding:0}
.chat-layout .chat-composer-shell{background:#fff;border:1px solid #dce7f3;border-radius:20px;box-shadow:0 5px 25px #264e7b09,0 1px 4px #264e7b04;overflow:hidden;transition:border-color .18s,box-shadow .18s}
.chat-layout .chat-composer-shell:focus-within{border-color:#8ab8e8;box-shadow:0 0 0 3px #eaf3fd,0 7px 28px #264e7b0a}
.chat-layout .student-ask .composer.v2{align-items:flex-end;gap:12px;border:0;background:transparent;box-shadow:none;border-radius:0;padding:16px 16px 8px}
.chat-layout .student-ask .composer textarea{width:100%;min-height:56px;max-height:160px;font-size:15px;line-height:1.65;color:#263b55;padding:1px 0;resize:none;overflow-y:auto}
.chat-layout .student-ask .composer textarea::placeholder{color:#a0adbd}
.chat-layout .student-ask .composer textarea:disabled{opacity:.65}
.chat-layout .student-ask .composer .send{width:36px;height:36px;border-radius:11px;background:#2878d3;box-shadow:none;margin-bottom:1px}
.chat-layout .student-ask .composer .send .icon{width:19px;height:19px}
.chat-layout .student-ask .composer .send:disabled{background:#d9e6f6;color:#92aeca;opacity:1}
.chat-layout .student-ask .composer .send:hover:not(:disabled){background:#1a65ba}
.chat-layout .student-ask .attach-bar{display:flex;gap:5px;align-items:center;margin:0;padding:5px 12px 12px;flex-wrap:wrap}
.chat-layout .attach-btn,.chat-layout .attach-bar .voice{border:0;border-radius:9px;min-height:34px;padding:7px 9px;display:inline-flex;gap:5px;align-items:center;background:transparent;color:#62768f;box-shadow:none;font-size:12px;line-height:1.4;font-weight:500;font-family:inherit}
.chat-layout .attach-btn .icon,.chat-layout .attach-bar .voice .icon{height:16px;width:16px}
.chat-layout .attach-btn:hover,.chat-layout .attach-bar .voice:hover{background:#eef4fc;color:#286cb4}
.chat-layout .attach-hint{font-size:10px;color:#9aa7b8;margin-left:auto;line-height:1.5}
.chat-layout .attach-bar .input-action{border:0;background:#fff1f0;color:#a9524d;border-radius:8px;font-size:11px;padding:7px 9px}
.chat-layout .attach-chip{margin:3px 14px 7px;padding:9px 10px;background:#f0f6fd;border-color:#d9e8f7;border-radius:11px}
.chat-layout .attach-chip-x{min-width:30px;min-height:30px;font-size:20px}
.chat-layout .composer-footnote{display:flex;justify-content:space-between;gap:12px;padding:9px 3px 0;font-size:10px;color:#97a4b4;line-height:1.5}
.chat-layout .student-ask .service-note{margin:6px 3px 0;font-size:10px;line-height:1.55;color:#8191a5;text-align:left;overflow-wrap:anywhere}
.chat-layout .student-ask .student-disclosure{display:none}
.chat-layout .student-ask.has-conversation{padding-top:22px;gap:12px}
.chat-layout .student-ask.has-conversation .ask-hero{display:none}
.chat-layout .student-ask.has-conversation .welcome{width:100%;max-width:none;margin:0;padding:0}
.chat-layout .student-ask.has-conversation .composer-section{position:sticky;bottom:0;z-index:4;margin-top:auto;padding:14px 0 14px;background:linear-gradient(180deg,#ffffff00,#fff 15px)}
.chat-layout .student-ask .conversation-message{margin:24px 0;padding:0;max-width:100%;background:transparent;box-shadow:none;border:0;border-radius:0}
.chat-layout .student-ask .conversation-message.assistant{padding:0 2px}
.chat-layout .student-ask .conversation-message.user{width:fit-content;max-width:85%;margin:10px 0 25px auto;padding:13px 17px;border:1px solid #dfebf9;border-radius:16px 16px 4px 16px;background:#edf4fe;color:#26496e}
.chat-layout .conversation-speaker{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:600;letter-spacing:.2px;color:#58718f;margin-bottom:10px}
.chat-layout .assistant>.conversation-speaker::before{content:'✦';display:grid;place-items:center;width:23px;height:23px;border-radius:8px;background:#e9f2fd;color:#2a77c8;font-size:14px;line-height:1}
.chat-layout .user>.conversation-speaker{font-size:10px;color:#7f98b4;margin-bottom:5px;font-weight:400}
.chat-layout .student-ask .conversation-message p{font-size:15px;line-height:1.85;color:#34485f}
.chat-layout .conversation-message .answer-body p{margin-bottom:12px}
.chat-layout .conversation-message .answer-body strong{color:#1c3c61;font-weight:650}
.chat-layout .conversation-message .answer-body .answer-heading{font-size:15px;margin:18px 0 8px;font-weight:650;color:#1c3c61}
.chat-layout .conversation-message .answer-points li{font-size:15px;line-height:1.85}
.chat-layout .student-ask .conversation-message .conversation-billing{font-size:10px;line-height:1.5;color:#94a1b2;margin-top:14px}
.chat-layout .conversation-message details{padding-top:4px;color:#8a99ab;font-size:11px}
.chat-layout .conversation-message summary{color:#7b8da3;min-height:32px;line-height:32px}
.chat-layout .conversation-message .conversation-reasoning-text{border-left:2px solid #e4edf7;padding-left:13px;font-size:13px;color:#7c8a9d}
.chat-layout .conversation-thinking-text{color:#7e91a8!important;font-size:13px!important}
.chat-layout .conversation-check{font-size:12px;padding:8px 14px;border-radius:10px;color:#326eaf;background:#f2f7fe;border-color:#dbe9f8}
.chat-layout .conversation-checkin{border-left:2px solid #7cb8db;background:#f3f9fd;border-radius:0 11px 11px 0;padding:12px 15px}
.chat-layout .conversation-checkin p{font-size:13px;color:#5c7890}
@media(min-width:701px) and (max-width:1060px){
 .chat-layout .sidebar{width:195px;padding-left:14px;padding-right:14px}
 .chat-layout .main-shell{margin-left:195px}
 .chat-layout .student-header{padding-left:24px;padding-right:24px}
 .chat-layout .student-ask{padding-left:28px;padding-right:28px}
 .chat-layout .student-ask .ask-hero{grid-template-columns:minmax(0,1fr) 130px;gap:0 14px}
 .chat-layout .student-ask .linga-mascot{transform:scale(.66);margin-left:-30px;margin-right:-30px}
 .chat-layout .student-ask .ask-hero h1{font-size:32px}
}
@media(max-width:700px){
 .chat-layout .sidebar{display:none}
 .chat-layout .main-shell{margin-left:0;padding-bottom:calc(68px + env(safe-area-inset-bottom))}
 .chat-layout .student-header{height:68px;padding:9px 15px;gap:10px}
 .chat-layout .student-header .header-menu{width:36px;height:36px;border-radius:10px;flex:none;font-size:18px}
 .chat-layout .student-header .header-brand-block{grid-template-columns:28px auto;gap:1px 6px}
 .chat-layout .header-brand-block .mini-bot{width:28px;height:24px}
 .chat-layout .student-header .header-brand-block .brand{font-size:17px;gap:2px}
 .chat-layout .header-brand-block .brand-ling{font-size:11px;margin-left:3px}
 .chat-layout .student-header .header-brand-block .sub{font-size:9px;max-width:180px;overflow:hidden;text-overflow:ellipsis}
 .chat-layout .student-header .student-new{width:36px;height:36px;min-width:36px;padding:8px;border-radius:10px;justify-content:center}
 .chat-layout .student-header .student-new span{display:none}
 .chat-layout .student-header .student-new .icon{width:18px;height:18px}
 .chat-layout .student-ask{max-width:540px;padding:24px 20px 12px;min-height:calc(100dvh - 136px - env(safe-area-inset-bottom))}
 .chat-layout .student-ask:not(.has-conversation){gap:22px}
 .chat-layout .student-ask .ask-hero{grid-template-columns:minmax(0,1fr) 90px;gap:0 8px}
 .chat-layout .student-ask .welcome-eyebrow{font-size:10px;letter-spacing:.7px;margin-bottom:9px}
 .chat-layout .student-ask .ask-hero h1{font-size:27px;line-height:1.4;letter-spacing:-.65px;margin:0 0 11px}
 .chat-layout .student-ask .welcome-description{font-size:12px;line-height:1.8}
 .chat-layout .student-ask .linga-mascot{transform:scale(.54);margin:-28px -40px -30px;width:166px;height:166px;align-self:start}
 .chat-layout .student-ask .prompt-intro{margin-top:23px;margin-bottom:9px;align-items:center;flex-direction:row}
 .chat-layout .student-ask .prompt-intro strong{font-size:10px}
 .chat-layout .student-ask .prompt-intro span{font-size:9px}
 .chat-layout .student-ask .prompts{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .chat-layout .student-ask .prompt{font-size:11px;line-height:1.6;min-height:62px;padding:10px 11px;gap:5px;border-radius:11px}
 .chat-layout .student-ask .prompt>span:last-child{font-size:11px}
 .chat-layout .chat-composer-shell{border-radius:17px}
 .chat-layout .student-ask .composer.v2{padding:13px 12px 6px;gap:8px}
 .chat-layout .student-ask .composer textarea{font-size:16px;line-height:1.6;min-height:56px}
 .chat-layout .student-ask .composer .send{width:34px;height:34px;border-radius:10px}
 .chat-layout .student-ask .attach-bar{padding:4px 8px 9px;gap:2px}
 .chat-layout .attach-btn,.chat-layout .attach-bar .voice{padding:7px;min-height:34px;font-size:11px;gap:4px}
 .chat-layout .attach-hint{font-size:9px;width:100%;margin-left:7px;margin-top:1px}
 .chat-layout .composer-footnote{font-size:9px;padding-top:7px;justify-content:flex-end}
 .chat-layout .keyboard-hint{display:none}
 .chat-layout .student-ask .service-note{font-size:9px;line-height:1.6}
 .chat-layout .student-ask.has-conversation{padding-top:12px;padding-bottom:0;gap:0}
 .chat-layout .student-ask.has-conversation .composer-section{bottom:calc(68px + env(safe-area-inset-bottom));padding-top:12px;padding-bottom:10px}
 .chat-layout .student-ask .conversation-message.user{max-width:90%;padding:11px 14px;margin-top:10px}
 .chat-layout .student-ask .conversation-message.assistant{padding:0}
 .chat-layout .student-ask .conversation-message p,.chat-layout .conversation-message .answer-points li{font-size:15px;line-height:1.85}
 .chat-layout .bottom-nav{border-color:#e6edf6;background:#ffffffed}
 .chat-layout .bottom-nav a{font-size:10px;gap:4px}
 .chat-layout .bottom-nav a .ico{font-size:20px}
}
@media(max-width:360px){
 .chat-layout .student-header{padding-left:10px;padding-right:10px;gap:7px}
 .chat-layout .student-header .header-brand-block{grid-template-columns:auto}
 .chat-layout .header-brand-block .mini-bot{display:none}
 .chat-layout .student-header .header-brand-block .sub{max-width:180px;font-size:8px}
 .chat-layout .student-ask{padding-left:16px;padding-right:16px}
 .chat-layout .student-ask .ask-hero h1{font-size:24px}
 .chat-layout .student-ask .ask-hero{grid-template-columns:minmax(0,1fr) 70px}
 .chat-layout .student-ask .linga-mascot{transform:scale(.45);margin-left:-48px;margin-right:-48px}
 .chat-layout .student-ask .prompt-intro span{font-size:8px}
}
@media(max-width:700px) and (max-height:650px){
 html.student-text-entry .chat-layout .main-shell{padding-bottom:0}
 html.student-text-entry .chat-layout .student-ask{min-height:calc(100dvh - 68px);padding-top:8px;padding-bottom:8px}
 html.student-text-entry .chat-layout .student-ask:not(.has-conversation) .welcome{display:none}
 html.student-text-entry .chat-layout .student-ask.has-conversation .welcome{display:block}
 html.student-text-entry .chat-layout .student-ask .composer-section{bottom:0;scroll-margin-bottom:8px}
}
@media(prefers-reduced-motion:reduce){.chat-layout *{scroll-behavior:auto!important;transition:none!important}.chat-layout .prompt:hover{transform:none}}

/* Compact laptop heights keep the input controls on the first screen. */
.chat-layout [data-attach-preview]{width:42px;height:42px;object-fit:cover;flex:none;border-radius:8px;border:1px solid #d7e4f3}
.chat-layout .attach-chip:has([data-attach-preview]:not([hidden])) .attach-chip-icon{display:none}
.chat-layout .attach-chip-text{min-width:0;flex:1;overflow-wrap:anywhere}
.chat-layout .attach-chip-text b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-layout .upload-progress{margin:2px 16px 8px;color:#617d9d;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.chat-layout .attach-btn:disabled,.chat-layout .attach-bar .voice:disabled{opacity:.45;cursor:not-allowed}
@media(min-width:701px) and (max-height:760px){
 .chat-layout .student-ask{padding-top:22px;padding-bottom:14px}
 .chat-layout .student-ask:not(.has-conversation){gap:18px}
 .chat-layout .student-ask .welcome-eyebrow{margin-bottom:7px;font-size:11px}
 .chat-layout .student-ask .ask-hero h1{font-size:30px;line-height:1.3;margin-bottom:10px}
 .chat-layout .student-ask .welcome-description{font-size:13px;line-height:1.7}
 .chat-layout .student-ask .prompt-intro{margin-top:18px;margin-bottom:8px}
 .chat-layout .student-ask .prompt{min-height:43px;padding-top:10px;padding-bottom:10px}
 .chat-layout .student-ask .prompts{gap:8px}
 .chat-layout .student-ask .linga-mascot{transform:scale(.68);margin-top:-20px;margin-bottom:-20px}
 .chat-layout .student-ask .composer.v2{padding-top:12px;padding-bottom:5px}
 .chat-layout .student-ask .attach-bar{padding-bottom:8px}
}

/* Shared student header must not force tools/courses/profile wider than a phone. */
@media(max-width:700px){
 .layout:not(.chat-layout) .student-header{height:68px;padding:9px 15px;gap:10px;max-width:100%}
 .layout:not(.chat-layout) .student-header .header-menu{flex:none;width:36px;height:36px;border-radius:10px;font-size:18px}
 .layout:not(.chat-layout) .student-header .header-brand-block{display:grid;grid-template-columns:28px minmax(0,1fr);gap:1px 6px;min-width:0;white-space:normal;margin-right:auto}
 .layout:not(.chat-layout) .header-brand-block .mini-bot{grid-row:1/3;width:28px;height:24px}
 .layout:not(.chat-layout) .student-header .header-brand-block .brand{font-size:17px;line-height:1.35;gap:2px;letter-spacing:-.4px}
 .layout:not(.chat-layout) .header-brand-block .brand-ling{font-size:11px;margin-left:3px}
 .layout:not(.chat-layout) .student-header .header-brand-block .sub{font-size:9px;line-height:1.5;margin:0;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}

/* Tools use the same restrained blue/white vocabulary as the chat entry. */
.tools-home .tools-ai-card{background:#f0f6fe;border:1px solid #dfeafa;border-radius:18px;box-shadow:none;padding:20px 24px}
.tools-home .tools-ai-card>strong{font-size:17px;color:#244b78}
.tools-home .tools-ai-card p{font-size:13px;line-height:1.8;color:#6c8199;margin:10px 0 14px}
.tools-home .tools-ai-go{background:#2b76c8;border:0;border-radius:10px;padding:10px 15px;font-size:12px;box-shadow:none}
.tools-home .tools-card{border:1px solid #e5ecf5;box-shadow:0 3px 12px #243e5a04;border-radius:16px}
.tools-home .tools-card:hover{border-color:#bad5f2;background:#f8fbff}
.tools-home .tools-card small{font-size:12px;line-height:1.75;color:#7b8a9c}
.tools-home .tools-section-title h2{font-size:18px;color:#2e425c}
.tools-home .tools-section-title span{font-size:11px;color:#8a98aa}
@media(max-width:700px){
 .tools-home .tools-ai-card{padding:17px 18px;border-radius:15px}
 .tools-home .tools-ai-card>strong{font-size:15px}
 .tools-home .tools-ai-card p{font-size:12px;margin:8px 0 12px}
 .tools-home .tools-card{padding:15px 14px;border-radius:14px}
 .tools-home .tools-card strong{font-size:14px}
 .tools-home .tools-card small{font-size:11px;line-height:1.7}
 .tools-home .tools-choice-guide p{font-size:12px;line-height:1.85}
}

.chat-layout .student-ask .conversation-user-attachment .conversation-attachment-text{font-size:12px;line-height:1.75;color:#69839d}
.chat-layout .conversation-user-attachment summary{font-size:11px;line-height:1.6;min-height:28px;padding-top:7px}

/* Voice input recovery: independent touch targets and pre-recording disclosure. */
.chat-layout .attach-bar .voice,.chat-layout .attach-bar .voice-cancel{min-height:44px;min-width:44px;padding:10px 12px;white-space:normal;max-width:100%;touch-action:manipulation}
.chat-layout .attach-bar .voice-cancel[hidden]{display:none}
.chat-layout .voice-status{margin:0;padding:0 14px 12px;font-size:12px;line-height:1.65;color:#62768f;overflow-wrap:anywhere}

/* Candidate: consistent touch and keyboard controls without extra panels. */
.chat-layout .attach-bar .attach-btn,.chat-layout .student-ask .composer .send{min-width:44px;min-height:44px}
.chat-layout button:focus-visible,.chat-layout a:focus-visible{outline:2px solid #2878d3;outline-offset:3px}
.chat-layout .voice-status:empty{display:none}
.chat-layout .voice-status{color:#50667f;font-size:11px;padding-top:2px}
.chat-layout .attach-hint{color:#647992}
@media(max-width:700px){
 .chat-layout .student-ask{padding-left:18px;padding-right:18px}
 .chat-layout .student-ask .prompts{gap:0 14px}
 .chat-layout .student-ask .prompt{border:0;border-bottom:1px solid #e5edf7;border-radius:0;background:transparent;min-height:54px;padding:10px 0;box-shadow:none}
 .chat-layout .attach-bar .attach-btn,.chat-layout .attach-bar .voice,.chat-layout .attach-bar .voice-cancel{padding:10px 9px}
 .chat-layout .attach-hint{font-size:10px}
 .chat-layout .composer-footnote,.chat-layout .student-ask .service-note{font-size:11px}
}

/* Keep the input and its notices out of the message viewport. */
.chat-layout .main-shell:has(.student-ask.has-conversation) {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
}
.chat-layout .main-shell:has(.student-ask.has-conversation) > .student-header {
  flex: none;
}
.chat-layout .main-shell > .student-ask.has-conversation {
  flex: 1 1 0;
  min-height: 0;
  margin-block: 0;
  padding-block: 8px;
  gap: 8px;
}
.chat-layout .student-ask.has-conversation > .welcome {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-anchor: none;
  overscroll-behavior-y: contain;
}
.chat-layout .main-shell .student-ask.has-conversation > .composer-section {
  flex: none;
  position: relative;
  bottom: auto;
  margin: 0;
  padding: 0;
  background: none;
}
.chat-layout .student-ask.has-conversation .composer #question {
  max-height: min(160px, 28dvh);
}
@media (max-width:700px) and (max-height:650px) {
  html.student-text-entry .chat-layout .main-shell:has(.student-ask.has-conversation) {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* With the keyboard up in a shallow mobile view, the composer can scroll
   independently instead of pushing the whole conversation out of view. */
@media(max-width:700px) and (max-height:440px){
 html.student-text-entry .chat-layout .main-shell .student-ask.has-conversation > .composer-section{
   max-height:min(58dvh,max(76px,calc(100dvh - 144px)));
   overflow-y:auto;
   overscroll-behavior-y:contain;
   padding-inline:4px;
 }
}

/* === voice-realtime.css === */
.voice-recovery{max-width:100%;margin:8px 0;color:#52627a;font-size:13px}
.voice-recovery>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:#2563b9;outline-offset:3px}
.voice-recovery>textarea{display:block;box-sizing:border-box;width:100%;min-height:100px;max-height:240px;padding:12px;border:1px solid #d6e3f5;border-radius:10px;background:#fff;color:#17315b;font:inherit;line-height:1.65;resize:vertical}
.voice-recovery>textarea:focus-visible{outline:2px solid #3074d6;outline-offset:2px}

/* === home-welcome.css === */
/* Welcome-only refinements. Keep chat, navigation, billing and tool logic intact. */
.student-ask:not(.has-conversation) .welcome{padding-top:10px;padding-bottom:22px}
.student-ask .prompt-intro{display:flex;align-items:center;justify-content:space-between;gap:10px;max-width:600px;margin:22px auto 10px;text-align:left}
.student-ask .prompt-intro strong{font-size:13px;font-weight:600;color:#53677f}
.student-ask .prompt-intro span{font-size:11px;color:#8b97a7}
.student-ask .prompts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-width:600px;margin:0 auto}
.student-ask .prompt{display:flex;justify-content:space-between;width:100%;min-height:46px;margin:0;padding:11px 14px;border-radius:14px;background:#f8fbff;border-color:#e4edf7;line-height:1.5}
.student-ask .prompt>span:first-child{flex:1;min-width:0;overflow-wrap:anywhere}
.student-ask .prompt>span:last-child{display:block;align-self:center;flex:none;color:#8ca6c2}
.student-ask .prompt:hover{background:#eef6ff;border-color:#b9d4ef}
.student-ask.has-conversation .prompt-intro{display:none}

/* A quiet float and occasional blink, with no JavaScript loop or model calls. */
.linga-mascot .head,.linga-mascot .ears,.linga-mascot .bodybot{animation:lingaFloat 4.8s ease-in-out infinite}
.linga-mascot .eye,.mini-bot .mb-eye{transform-origin:center;animation:lingaBlink 6.4s ease-in-out infinite}
.mini-bot .mb-eye{animation-delay:1.2s}
@keyframes lingaFloat{0%,100%{translate:0 0}50%{translate:0 -7px}}
@keyframes lingaBlink{0%,43%,47%,100%{transform:scaleY(1)}45%{transform:scaleY(.13)}}

@media(min-width:701px) and (max-height:850px){
 .student-ask:not(.has-conversation){padding-top:8px;padding-bottom:12px}
 .student-ask:not(.has-conversation) .welcome{padding-top:0;padding-bottom:18px}
 .student-ask:not(.has-conversation) .linga-mascot{transform:scale(.72);margin-top:-24px;margin-bottom:-32px}
 .student-ask:not(.has-conversation) .welcome h1{font-size:32px;margin:4px 0 8px}
 .student-ask:not(.has-conversation) .welcome-description{font-size:14px;line-height:1.7}
 .student-ask .prompt-intro{margin-top:16px}
}
@media(max-width:700px){
 .student-ask:not(.has-conversation) .welcome{padding-top:6px;padding-bottom:20px}
 .student-ask:not(.has-conversation) .linga-mascot{transform:scale(.84);margin-top:-10px;margin-bottom:-14px}
 .student-ask:not(.has-conversation) .welcome h1{font-size:30px;margin:8px 0}
 .student-ask:not(.has-conversation) .welcome-description{font-size:13px;line-height:1.7}
 .student-ask .prompt-intro{margin-top:18px}
 .student-ask .prompt{padding:10px 11px;font-size:12px;min-height:54px}
}
@media(max-width:360px){.student-ask .prompt-intro{align-items:flex-start;flex-direction:column;gap:2px}.student-ask .prompts{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.linga-mascot .head,.linga-mascot .ears,.linga-mascot .bodybot,.linga-mascot .eye,.mini-bot .mb-eye{animation:none!important}}

/* Approved desktop homepage v49 */
/* Desktop welcome-only presentation; all mobile rules remain the original CSS. */
@media(min-width:1000px){
.chat-layout:has(.student-ask:not(.has-conversation)) .student-header{height:64px;padding:0 32px}.chat-layout:has(.student-ask:not(.has-conversation)) .student-header .header-brand-block{display:block}.chat-layout:has(.student-ask:not(.has-conversation)) .header-brand-block .mini-bot{display:none}.chat-layout:has(.student-ask:not(.has-conversation)) .header-brand-block .sub{display:none}.chat-layout:has(.student-ask:not(.has-conversation)) .student-header .header-brand-block .brand{font-size:16px}.chat-layout:has(.student-ask:not(.has-conversation)) .student-header .student-new{background:transparent;border-color:#e5edf5}
.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation){display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto auto auto;align-content:center;justify-content:normal;gap:0;max-width:860px;min-height:calc(100dvh - 64px);padding:38px 44px 64px}
.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .welcome,.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .ask-hero{display:contents}
.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .linga-mascot{grid-area:auto;grid-row:1;justify-self:center;position:relative;right:auto;top:auto;width:170px;height:170px;transform:scale(.42);margin:-48px auto -46px;opacity:1}
.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .welcome-eyebrow{display:none}
.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .welcome h1{grid-area:auto;grid-row:2;text-align:center;font-size:27px;font-weight:600;letter-spacing:.2px;line-height:1.5;margin:0 0 10px}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .welcome h1 br{display:none}
.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .welcome-description{grid-area:auto;grid-row:3;text-align:center;font-size:13px;line-height:1.8;color:#7b8c9e;margin:0 0 26px}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .welcome-description br{display:none}
.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .composer-section{grid-row:4;margin:0;width:100%}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .chat-composer-shell{border:1px solid #d9e5f3;border-radius:20px;background:#fff;box-shadow:0 8px 35px #345b8910,0 2px 6px #345b8905;transition:border-color .2s,box-shadow .2s}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .chat-composer-shell:focus-within{border-color:#95b7e8;box-shadow:0 8px 35px #345b8914,0 0 0 3px #edf4ff}
.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .composer{padding:19px 19px 8px}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) #question{min-height:76px;font-size:15px;line-height:1.8}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .attach-bar{padding:0 16px 12px;gap:12px}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .voice-status{font-size:10px;margin:0;padding:0 19px 12px;color:#8a98aa}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .composer-footnote{margin-top:10px;font-size:10px}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .service-note{font-size:10px;color:#8a98aa}
.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .prompt-intro{grid-area:auto;grid-row:5;margin:24px 0 7px;max-width:none;justify-content:center;gap:10px}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .prompt-intro strong{font-weight:400;color:#8a98aa;font-size:11px}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .prompt-intro span{font-size:10px;color:#9aa7b7}
.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .prompts{grid-area:auto;grid-row:6;display:flex;flex-wrap:wrap;justify-content:center;gap:4px 14px;max-width:none;margin:0}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .prompt{width:auto;min-height:32px;background:transparent;border:0;border-radius:7px;padding:5px 7px;font-size:12px;color:#678099;gap:8px;box-shadow:none}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .prompt:hover{background:#f0f5fb;color:#326caf}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .prompt>span:last-child{font-size:11px;color:#9aafc5}
}
@media(min-width:1000px){.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .prompts{max-width:650px;margin:0 auto}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .prompt{flex:0 1 calc(50% - 7px);justify-content:space-between}}

.third-heading,.third-guidance{display:none}
@media(min-width:1000px){
.chat-layout:has(.student-ask:not(.has-conversation)){background:#f8faff}.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell{background:radial-gradient(ellipse at 50% 43%,#eef5ff70 0%,#f9fbfe55 35%,#fff 75%)}.chat-layout:has(.student-ask:not(.has-conversation)) .sidebar{background:#f8fafde8;border-right-color:#eaf0f7}.chat-layout:has(.student-ask:not(.has-conversation)) .student-header{height:66px;background:#ffffffb5;border-bottom-color:#eef2f780;padding:0 32px}.chat-layout:has(.student-ask:not(.has-conversation)) .student-header .header-brand-block .brand{color:#6d8199;font-size:14px}.chat-layout:has(.student-ask:not(.has-conversation)) .student-header .header-menu{border:0;background:transparent;color:#6f829a}.chat-layout:has(.student-ask:not(.has-conversation)) .student-header .student-new{background:#fff;border-color:#e5edf6;font-size:12px;box-shadow:0 2px 4px #35507503}
.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation){max-width:872px;min-height:calc(100dvh - 66px);padding:50px 38px 76px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto auto auto;align-content:center;gap:0}
.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .linga-mascot{grid-row:1;grid-column:1;width:170px;height:170px;transform:scale(.31);margin:-56px auto -54px;justify-self:center}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .welcome-eyebrow{display:block;grid-area:auto;grid-row:2;text-align:center;margin:0 0 14px;letter-spacing:1.7px;color:#7892b2;font-weight:500;font-size:11px}
.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .welcome h1{grid-row:3;grid-column:1;font-size:32px;line-height:1.5;font-weight:600;letter-spacing:.5px;text-align:center;margin:0 0 11px;color:#213650}.original-heading{display:none}.third-heading{display:inline}
.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .welcome-description{grid-row:4;grid-column:1;text-align:center;margin:0 0 32px;font-size:13px;color:#8b99aa;line-height:1.8}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .welcome-description br{display:block}
.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .composer-section{grid-row:5;grid-column:1;margin:0}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .chat-composer-shell{border-radius:24px;background:#fff;border:1px solid #dfe8f3;box-shadow:0 12px 36px #3d60840b,0 3px 8px #3d608405;overflow:visible}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .chat-composer-shell:focus-within{border-color:#91b6e8;box-shadow:0 14px 36px #3d60840f,0 0 0 3px #edf4ff}
.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .composer{padding:23px 24px 12px;align-items:flex-start}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) #question{min-height:88px;height:88px;font-size:16px;line-height:1.8;letter-spacing:.1px}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) #question::placeholder{color:#a4afbd;font-size:15px}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .send-button{border-radius:50%;width:38px;height:38px;min-width:38px;align-self:flex-end;margin-bottom:1px}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .send-button:disabled{background:#eaf0f8;color:#9bb0cb;opacity:1}
.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .attach-bar{padding:4px 20px 15px;gap:9px;border:0}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .attach-btn,.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .voice{min-height:32px;padding:6px 9px;border-radius:8px;color:#70849c;font-size:12px}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .attach-btn:hover,.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .voice:hover{background:#f1f6fd;color:#376ca9}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .attach-hint{display:none}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .voice-status{display:none}
.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .third-guidance{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:13px 6px 0;font-size:11px;line-height:1.7;color:#9aa7b7}.third-guidance details{position:relative;text-align:right;max-width:300px}.third-guidance summary{cursor:pointer;color:#8b9eb5;white-space:nowrap}.third-guidance details[open]{text-align:left;color:#74869c}.third-guidance details p{margin:10px 0;font-size:11px}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .composer-footnote,.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .service-note{display:none}
.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .prompt-intro{grid-row:6;margin:31px 0 9px;justify-content:center;gap:8px}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .prompt-intro strong{color:#9ba8b9;font-size:11px}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .prompt-intro>span{display:none}
.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .prompts{grid-row:7;width:100%;max-width:680px;gap:5px 20px;margin:0 auto}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .prompt{flex-basis:calc(50% - 10px);font-size:12px;line-height:1.6;color:#71869f;min-height:34px;padding:6px 9px;background:transparent;border:0;border-radius:8px;justify-content:space-between}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .prompt:hover{background:#edf4fc;color:#336da9}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .prompt>span:last-child{opacity:.6}
}
.third-description{display:none}
@media(min-width:1000px){.original-description{display:none}.third-description{display:inline}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .welcome-description{color:#7d8ea3;font-size:13px}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .service-note.preview-feedback{display:block;color:#56799f;font-size:12px;margin:12px 6px 0}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .prompt{color:#637d98}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .third-guidance{color:#8799ad}}

@media(min-width:1000px){.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .service-note,.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .voice-status{display:block}.chat-layout:has(.student-ask:not(.has-conversation)) .student-ask:not(.has-conversation) .service-note{font-size:11px;margin:8px 6px;color:#74869c}}

/* Same welcome copy, compact mobile composition; conversation view stays original. */
.original-heading,.original-description{display:none}.third-heading,.third-description{display:inline}
@media(max-width:999px){
.chat-layout .student-ask:not(.has-conversation){display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:0;padding:30px 18px 34px;min-height:calc(100dvh - 132px)}
.chat-layout .student-ask:not(.has-conversation) .welcome,.chat-layout .student-ask:not(.has-conversation) .ask-hero{display:contents}
.chat-layout .student-ask:not(.has-conversation) .linga-mascot{position:relative;grid-row:1;grid-column:1;top:auto;right:auto;width:170px;height:170px;transform:scale(.29);margin:-57px auto -56px;justify-self:center}
.chat-layout .student-ask:not(.has-conversation) .welcome-eyebrow{grid-row:2;grid-column:1;text-align:center;margin:0 0 12px;font-size:10px;letter-spacing:1px}
.chat-layout .student-ask:not(.has-conversation) .welcome h1{grid-row:3;grid-column:1;text-align:center;font-size:24px;line-height:1.55;margin:0 auto 10px;max-width:340px;letter-spacing:0}
.chat-layout .student-ask:not(.has-conversation) .welcome-description{grid-row:4;grid-column:1;text-align:center;margin:0 auto 24px;max-width:315px;font-size:12px;line-height:1.8}
.chat-layout .student-ask:not(.has-conversation) .composer-section{grid-row:5;grid-column:1;margin:0;min-width:0}
.chat-layout .student-ask:not(.has-conversation) .chat-composer-shell{border:1px solid #dfe8f3;border-radius:20px;background:#fff;box-shadow:0 8px 28px #3d60840a;overflow:visible}
.chat-layout .student-ask:not(.has-conversation) .composer{padding:17px 16px 10px}
.chat-layout .student-ask:not(.has-conversation) #question{min-height:72px;font-size:16px;line-height:1.7}
.chat-layout .student-ask:not(.has-conversation) .attach-bar{padding:4px 10px 12px;gap:4px;flex-wrap:wrap}
.chat-layout .student-ask:not(.has-conversation) .attach-btn,.chat-layout .student-ask:not(.has-conversation) .voice{min-height:40px;padding:8px;font-size:12px}
.chat-layout .student-ask:not(.has-conversation) .attach-hint{display:none}
.chat-layout .student-ask:not(.has-conversation) .third-guidance{display:flex;justify-content:space-between;gap:10px;margin:12px 3px 0;font-size:11px;line-height:1.7;color:#8799ad}
.chat-layout .student-ask:not(.has-conversation) .third-guidance details{max-width:50%;text-align:right}.third-guidance summary{white-space:nowrap;cursor:pointer}
.chat-layout .student-ask:not(.has-conversation) .composer-footnote{display:none}
.chat-layout .student-ask:not(.has-conversation) .service-note{font-size:11px;margin:8px 3px}
.chat-layout .student-ask:not(.has-conversation) .prompt-intro{grid-row:6;grid-column:1;justify-content:center;margin:23px 0 8px}.chat-layout .student-ask:not(.has-conversation) .prompt-intro span:not(.third-heading){display:none}
.chat-layout .student-ask:not(.has-conversation) .prompts{grid-row:7;grid-column:1;display:flex;flex-direction:column;gap:2px;max-width:none;margin:0}
.chat-layout .student-ask:not(.has-conversation) .prompt{display:flex;justify-content:space-between;background:transparent;border:0;border-radius:8px;padding:11px 9px;min-height:44px;font-size:12px;line-height:1.6;width:100%;color:#637d98}
}

.home-mobile-break{display:none}@media(max-width:999px){.home-mobile-break{display:block}.chat-layout .student-ask:not(.has-conversation){gap:0}}

/* Ordinary chat: one quiet canvas, compact controls, readable conversation. */
.chat-layout {
  --chat-ink: #182d48;
  --chat-muted: #526983;
  --chat-line: #dce7f4;
  --chat-panel: #f4f8fd;
  --chat-accent: #2063c5;
}
.chat-layout .main-shell {
  background: radial-gradient(ellipse at 53% 5%, #edf3fa 0, #f7f9fc 45%, #f8fafc 76%);
}
.chat-layout .sidebar {
  background: #f1f6fc;
  border-color: var(--chat-line);
}
.chat-layout .sidebar .nav-link.active,
.chat-layout .bottom-nav a.active {
  color: var(--chat-accent);
  background: #e4efff;
}
.chat-layout .student-header {
  height: 68px;
  background: #f8fbfff5;
  border-color: var(--chat-line);
}
.chat-layout .student-header .student-new {
  color: var(--chat-accent);
  background: #edf4ff;
  border-color: #d8e7fc;
}
.chat-layout .student-ask.has-conversation {
  width: min(100%, 824px);
  min-height: calc(100dvh - 68px);
  padding-inline: clamp(18px, 4vw, 48px);
}
.chat-layout .student-ask.has-conversation .composer-section {
  background: linear-gradient(transparent, #f8fafc 14px);
}
.chat-layout .student-ask .conversation-message.assistant {
  margin: 18px 0 22px;
  padding: 15px 18px;
  background: #fff;
  border: 1px solid #e0e9f4;
  border-radius: 5px 17px 17px;
}
.chat-layout .student-ask .conversation-message.user {
  margin-block: 10px 16px;
  padding: 10px 14px;
  color: #244772;
  background: #e8f1ff;
  border-color: #dbeaff;
}
.chat-layout .student-ask .conversation-message :is(p, li) {
  line-height: 1.72;
  color: #243c58;
  overflow-wrap: anywhere;
}
.chat-layout .student-ask .conversation-message .answer-body p { margin-bottom: 10px; }
.chat-layout .student-ask .conversation-message .answer-body p:last-child { margin-bottom: 0; }
.chat-layout .student-ask .conversation-speaker { margin-bottom: 7px; color: #526d8e; }
.chat-layout .student-ask .chat-composer-shell { border-color: #cdddf1; border-radius: 18px; overflow: visible; }
.chat-layout .student-ask .composer.v2 { padding: 11px 12px 3px; border-radius: 17px 17px 0 0; }
.chat-layout .student-ask .composer #question { min-height: 56px; }
.chat-layout .student-ask .attach-bar { padding: 1px 10px 7px; gap: 3px; }
.chat-layout .student-ask .attach-bar :is(.attach-btn,.voice) {
  position: relative;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  padding: 0 9px;
  color: #44668b;
}
.chat-layout .student-ask .attach-bar .icon { width: 19px; height: 19px; }
.chat-layout .student-ask .attach-bar .attach-btn > span,
.chat-layout .student-ask .attach-bar .voice[aria-label$="语音输入"] > span,
.chat-layout .chat-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.chat-layout .student-ask .chat-input-help {
  position: relative;
  margin-left: auto;
  color: #526983;
  font-size: 12px;
}
.chat-layout .student-ask .chat-input-help summary {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0 8px;
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
}
.chat-layout .chat-input-help summary::-webkit-details-marker { display: none; }
.chat-layout .student-ask .chat-input-help-content {
  position: absolute;
  z-index: 6;
  bottom: 45px;
  right: 0;
  width: min(265px, 70vw);
  padding: 11px 14px;
  background: #fff;
  border: 1px solid var(--chat-line);
  border-radius: 12px;
  box-shadow: 0 8px 26px #213e6820;
}
.chat-layout .chat-input-help-content p { margin: 4px 0; line-height: 1.6; }
.chat-layout .student-ask .service-note:empty { margin: 0; }
.chat-layout .student-ask :is(button,summary):focus-visible { outline: 2px solid var(--chat-accent); outline-offset: 2px; }
@media (max-width:700px) {
  .chat-layout .student-header { height: 60px; }
  .chat-layout .student-ask.has-conversation { min-height: calc(100dvh - 124px); padding-inline: 12px; }
  .chat-layout .student-ask .conversation-message.assistant { padding: 12px 14px; }
  .chat-layout .student-ask .conversation-message.user { max-width: 88%; }
  .chat-layout .student-ask .composer-section .composer #question { font-size: 16px; }
  .chat-layout .bottom-nav { border-color: var(--chat-line); background: #f8fbfff7; }
  .chat-layout .bottom-nav a { border-radius: 10px; }
}

.chat-layout :is(.sidebar,.bottom-nav) .ico > .icon,
.chat-layout .header-menu > .icon { width: 19px; height: 19px; display: block; margin: auto; }
.chat-layout .bottom-nav a.active .icon { color: var(--chat-accent); }

/* === course-categories.css === */
.course-category-toolbar {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px 16px;
  padding:12px 14px;
  margin:0 0 12px;
  border:1px solid #e2eaf5;
  border-radius:12px;
  background:#f4f8fd;
  color:#223856;
  font-size:14px;
}
.course-category-toolbar label {display:flex;align-items:center;gap:8px;font-weight:650}
.course-category-toolbar select,.course-category-edit select {
  border:1px solid #c9d7eb;
  border-radius:8px;
  background:white;
  color:#223856;
  font:inherit;
  padding:7px 9px;
  min-height:36px;
  max-width:100%;
}
.course-category-count {color:#4d6282;font-size:13px}
.course-category-edit {display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding-top:10px}
.course-category-edit label {display:flex;align-items:center;gap:8px;color:#223856;font-size:13px}
.course-category-edit button {min-height:36px}
.course-category-edit .course-row-message {flex-basis:100%;margin:0}
.admin-course-item[hidden],.course-category-edit[hidden] {display:none!important}
@media(max-width:600px) {
 .course-category-toolbar label {flex-wrap:wrap}
 .course-category-toolbar select,.course-category-edit select {font-size:16px;min-height:44px}
 .course-category-edit button {min-height:44px}
}
.course-order-actions[hidden] {display:none!important}

.student-course-page .student-category-results {display:grid;gap:8px;min-width:0}
.student-course-page .student-category-filter .course-category-toolbar {margin-bottom:2px}
.student-course-page .student-category-filter .course-category-toolbar select {min-width:0}

/* === desktop-sidebar.css === */
/* Main desktop navigation, shared by all routes. The mobile bottom bar is untouched. */
@media (min-width:701px) {
  .layout { --desktop-sidebar-width:220px; --desktop-sidebar-edge:20px; }
  .layout .sidebar {
    width:var(--desktop-sidebar-width); padding:30px var(--desktop-sidebar-edge) 20px;
    overflow-y:auto;
  }
  .layout > aside.sidebar, .layout:has(.student-ask:not(.has-conversation)) > aside.sidebar { background:#f8fafd; border-right:1px solid #eaf0f7; }
  .layout .sidebar .brand.v2-brand { align-items:flex-start; padding:5px 9px; gap:7px; }
  .layout .sidebar .v2-brand-text { font-size:22px; letter-spacing:-.6px; }
  .layout .sidebar .v2-brand-sub { font-size:9px; color:#7f8ba0; white-space:normal; }
  .layout .sidebar nav { margin-top:42px; gap:8px; }
  .layout .sidebar .nav-link {
    flex-direction:row; align-items:center; justify-content:flex-start; gap:13px;
    min-height:47px; padding:13px 15px; font-size:14px; font-weight:500; border-radius:12px;
  }
  .layout .sidebar .nav-link .ico { display:grid; place-items:center; width:22px; flex:0 0 22px; }
  .layout .sidebar .nav-link .icon { width:19px; height:19px; }
  .layout .sidebar .nav-link:hover { background:#eaf0f8; }
  .layout .sidebar .nav-link[aria-current="page"] { background:#e6effc; color:#2269b6; box-shadow:none; }
  .layout .sidebar .nav-link:focus-visible { outline:2px solid #2b75cd; outline-offset:2px; }
  .layout .sidebar .environment { font-size:10px; color:#8c99ac; }
  .layout .sidebar .identity { border-color:#e0e7f0; padding-top:17px; }
  .layout .main-shell { margin-left:var(--desktop-sidebar-width); }
}
@media (min-width:701px) and (max-width:1060px) {
  .layout { --desktop-sidebar-width:195px; --desktop-sidebar-edge:14px; }
}

/* === ask-simplify-v1.css === */
/* Chat canvas only. Leave navigation, content, billing and input behavior alone. */
.chat-layout:has(.student-ask) > .main-shell {
  background: radial-gradient(ellipse at 52% 24%, #eef5ff 0, #fbfdff 41%, #fff 77%);
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell > #page.student-ask:not(.has-conversation) {
  max-width: 776px;
  grid-template-rows: repeat(7, auto);
  padding: clamp(32px, 7vh, 82px) 28px 30px;
  align-content: center;
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .linga-mascot {
  display: none;
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .welcome-eyebrow {
  grid-row: 2;
  margin: 0 0 10px;
  color: #516c92;
  letter-spacing: .075em;
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .welcome h1 {
  font-size: clamp(25px, 3.2vw, 36px);
  font-weight: 670;
  letter-spacing: -.035em;
  line-height: 1.24;
  margin: 0 auto 10px;
  max-width: 100%;
  color: #182c4b;
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .welcome-description {
  color: #566d89;
  margin: 0 auto 24px;
  font-size: 14px;
  line-height: 1.65;
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .prompt-intro {
  justify-content: flex-start;
  margin: 22px 0 5px;
  padding-inline: 8px;
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .prompt-intro strong {
  color: #536c89;
  font-size: 12px;
  font-weight: 600;
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .prompts:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
  max-width: none;
  width: 100%;
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .prompt {
  width: 100%;
  min-height: 44px;
  padding: 6px 8px;
  color: #3d5576;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 13px;
  text-align: left;
  transform: none;
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .prompt:hover {
  color: #1b5da7;
  background: #edf4ff;
  transform: none;
}

/* Keep the composer as one surface; nearby controls no longer read as cards. */
.chat-layout:has(.student-ask) .main-shell #page.student-ask .chat-composer-shell {
  border-radius: 21px;
  border-color: #cddcf0;
  overflow: visible;
  box-shadow: 0 5px 18px #213e6810;
}
.chat-layout:has(.student-ask) .main-shell #page.student-ask .chat-composer-shell:focus-within {
  border-color: #7eafe0;
  box-shadow: 0 0 0 3px #e9f2ff;
}
.chat-layout:has(.student-ask) .main-shell #page.student-ask .composer.v2 {
  align-items: flex-end;
  padding: 13px 14px 3px;
  gap: 8px;
}
.chat-layout:has(.student-ask) .main-shell #page.student-ask .composer #question {
  min-height: 56px;
  font-size: 16px;
  line-height: 1.6;
}
.chat-layout:has(.student-ask) .main-shell #page.student-ask .composer #question::placeholder {
  color: #6f829a;
}
.chat-layout:has(.student-ask) .main-shell #page.student-ask .composer .send {
  box-sizing: border-box;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  border-radius: 14px;
}
.chat-layout:has(.student-ask) .main-shell #page.student-ask .attach-bar {
  gap: 2px;
  padding: 0 10px 5px;
}
.chat-layout:has(.student-ask) .main-shell #page.student-ask .attach-bar :is(.attach-btn,.voice) {
  min-width: 44px;
  min-height: 44px;
  padding: 0 9px;
}
.chat-layout:has(.student-ask) .main-shell #page.student-ask .chat-input-help summary {
  color: #526a85;
  text-underline-offset: 3px;
}
.chat-layout:has(.student-ask) .main-shell #page.student-ask .chat-input-help summary:hover {text-decoration: underline;}
.chat-layout:has(.student-ask) .main-shell #page.student-ask .chat-input-help-content {
  width: min(276px, 78vw);
  z-index: 7;
}
.chat-layout:has(.student-ask) .main-shell #page.student-ask .service-note {
  margin: 6px 3px 0;
  color: #526b86;
  font-size: 12px;
  line-height: 1.55;
}
.chat-layout:has(.student-ask) .main-shell #page.student-ask .service-note:empty {
  display: none;
}
.chat-layout:has(.student-ask) .main-shell #page.student-ask .shop-profile-tools {
  display: flex;
  justify-content: flex-end;
}
.chat-layout:has(.student-ask) .main-shell #page.student-ask .shop-profile-tools .conversation-check {
  margin: 0;
  border: 0;
  padding: 3px 4px;
  min-height: 32px;
  background: transparent;
  color: #526a85;
  opacity: 1 !important;
  text-underline-offset: 3px;
}
.chat-layout:has(.student-ask) .main-shell #page.student-ask .shop-profile-tools .conversation-check:hover {text-decoration: underline;}

/* Same message renderer/history; give answers a quiet, contiguous reading surface. */
.chat-layout:has(.student-ask) .main-shell > #page.student-ask.has-conversation { max-width: 776px; }
.chat-layout:has(.student-ask) .main-shell #page.student-ask.has-conversation .conversation-message.assistant {
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0 3px 0;
  border-radius: 0;
  margin-block: 15px 22px;
}
.chat-layout:has(.student-ask) .main-shell #page.student-ask.has-conversation .conversation-message.user {
  background: #eaf2ff;
  border-color: transparent;
  border-radius: 16px 16px 6px 16px;
}
.chat-layout:has(.student-ask) .main-shell #page.student-ask.has-conversation .conversation-message :is(p,li) {
  line-height: 1.69;
}
@media (max-width: 700px) {
  .chat-layout:has(.student-ask) > .main-shell {
    background: linear-gradient(180deg,#f4f8ff,#fff 300px);
  }
  .chat-layout:has(.student-ask:not(.has-conversation)) .main-shell > #page.student-ask:not(.has-conversation) {
    align-content: start;
    padding: 30px 14px 18px;
    min-height: calc(100dvh - 128px - env(safe-area-inset-bottom));
  }
  .chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .welcome-description {
    margin-bottom: 18px;
    font-size: 13px;
  }
  .chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .prompt-intro {
    margin-top: 14px;
  }
  .chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .prompts:not([hidden]) {
    grid-template-columns: minmax(0,1fr);
    gap: 0;
  }
  .chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .prompt {
    border-bottom: 1px solid #e9eff7;
  }
  .chat-layout:has(.student-ask) .main-shell #page.student-ask .composer.v2 {padding-inline: 11px;}
  .chat-layout:has(.student-ask) .main-shell #page.student-ask .attach-bar {padding-inline: 7px;}
  .chat-layout:has(.student-ask) .main-shell > #page.student-ask.has-conversation {padding-inline: 12px;}
}
@media (max-width:700px) and (max-height:440px) {
  html.student-text-entry .chat-layout:has(.student-ask:not(.has-conversation)) .main-shell > #page.student-ask:not(.has-conversation) {padding-top: 13px;}
  html.student-text-entry .chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .welcome-description {margin-bottom: 9px;}
}
@media (prefers-reduced-motion: reduce) {
  .chat-layout:has(.student-ask) .main-shell #page.student-ask .chat-composer-shell {transition: none;}
}

/* Conversation gutter: keep copy clear of overlay and classic scrollbars. */
.chat-layout .main-shell #page.student-ask.has-conversation > .welcome {
  box-sizing: border-box;
  min-inline-size: 0;
  max-inline-size: 100%;
  margin-inline: 0;
  padding-inline: 4px 18px;
  scrollbar-gutter: stable;
}
.chat-layout #page.student-ask.has-conversation :is(.conversation-log,[data-conversation-log],.conversation-message,.answer-body) {
  box-sizing: border-box;
  min-inline-size: 0;
  max-inline-size: 100%;
}
.chat-layout #page.student-ask.has-conversation .conversation-message {
  overflow-wrap: anywhere;
}
.chat-layout #page.student-ask.has-conversation .conversation-message pre {
  max-inline-size: 100%;
  overflow-x: auto;
}
@media (max-width: 700px) {
  .chat-layout .main-shell #page.student-ask.has-conversation > .welcome {
    padding-inline: 3px 11px;
  }
}

/* === ask-home-quiet-v1.css === */
/* Empty #ask only. Existing navigation and conversation styles stay mounted. */
.chat-layout:has(.student-ask:not(.has-conversation)) > .main-shell {
  background: #f9fbfd;
}
.chat-layout .main-shell > #page.student-ask.has-conversation > .ask-home-prompts {
  display: none;
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell > #page.student-ask:not(.has-conversation) {
  display: grid;
  width: min(100%, 700px);
  padding: clamp(30px, 12vh, 112px) clamp(22px, 5vw, 44px) 28px;
  grid-template: auto / minmax(0, 1fr);
  grid-auto-rows: auto;
  align-content: start;
  justify-content: stretch;
  row-gap: 18px;
}
.chat-layout .main-shell > #page.student-ask:not(.has-conversation) > :is(.welcome,.composer-section,.ask-home-prompts,.trial-banner) {
  grid-area: auto;
  min-width: 0;
}
.chat-layout .main-shell > #page.student-ask:not(.has-conversation) > .welcome {
  display: block;
  margin: 0;
  padding: 0;
}
.chat-layout .main-shell > #page.student-ask:not(.has-conversation) .ask-hero {
  display: block;
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .ask-hero h1 {
  max-width: none;
  text-align: center;
  margin: 0;
  font-size: clamp(24px, 3vw, 35px);
  line-height: 1.28;
  font-weight: 570;
  letter-spacing: -.025em;
  color: #233c59;
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .chat-composer-shell {
  border-radius: 18px;
  box-shadow: 0 4px 19px #31547e0a;
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .service-note:not(:empty) {
  display: block;
  line-height: 1.65;
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .ask-home-prompts {
  display: grid;
  justify-self: center;
  width: 100%;
  max-width: none;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 4px 18px;
  margin: 0;
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .ask-home-prompts .prompt {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 430;
  color: #415974;
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .ask-home-prompts .prompt:is(:hover,:focus-visible) {
  color: #215597;
  background: #edf4fd;
}
.chat-layout .main-shell #page.student-ask:not(.has-conversation) .ask-home-prompts .prompt > span:last-child {
  align-self: center;
  flex: none;
  color: #647f9c;
}
@media (max-width:700px) {
 .chat-layout:has(.student-ask:not(.has-conversation)) .main-shell > #page.student-ask:not(.has-conversation) {
   padding: clamp(22px, 7vh, 58px) clamp(13px, 4.6vw, 25px) 18px;
   row-gap: 14px;
 }
 .chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .ask-home-prompts {
   grid-template-columns: minmax(0,1fr);
   gap: 2px;
 }
 .chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .ask-home-prompts .prompt {
   padding-inline: 7px;
 }
}
@media (max-width:700px) and (max-height:650px) {
 html.student-text-entry .chat-layout:has(.student-ask:not(.has-conversation)) .main-shell > #page.student-ask:not(.has-conversation) {
   padding-top: 8px;
   align-content: end;
 }
 html.student-text-entry .chat-layout:has(.student-ask:not(.has-conversation)) .main-shell > #page.student-ask:not(.has-conversation) > :is(.welcome,.ask-home-prompts) {display:none;}
}

/* A single headline, with the case count as supporting evidence. */
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .ask-hero {
 display:flex; flex-direction:column; align-items:center; gap:13px; margin-bottom:8px;
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .ask-hero h1 {
 display:block; text-align:center; margin:0;
 font-size:clamp(26px,3.3vw,36px); font-weight:650; letter-spacing:-.035em; line-height:1.24; color:#182a3f;
}
.ask-home-headline { min-width:0; text-align:center; text-wrap:balance; }
.ask-home-headline p { margin:8px 0 0; color:#54667c; font-size:14px; line-height:1.55; }
.ask-home-headline p strong { color:#304964; font-weight:650; font-variant-numeric:tabular-nums; }
.ask-home-mascot {
 flex:none; width:48px; height:48px; display:grid; place-items:center;
 border-radius:15px; background:#edf5ff; border:1px solid #dce9f6;
}
.ask-home-mascot .mini-bot { animation:askHomeBotFloat 4.8s ease-in-out infinite; }
@keyframes askHomeBotFloat { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-3px); } }
.chat-layout:has(.student-ask:not(.has-conversation)) .student-header .header-brand-block :is(.mini-bot,.sub),
.chat-layout:has(.student-ask:not(.has-conversation)) .sidebar .v2-brand-sub { display:none; }
/* Override the older prompt-container grid: only the four cards are a grid. */
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation)
  > .prompts.ask-home-prompts:not([hidden]) {
 display:flex;
 flex-flow:column nowrap;
 align-items:stretch;
 justify-self:stretch;
 gap:9px;
 width:100%;
 max-width:none;
 margin:0;
 padding:0;
 box-sizing:border-box;
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) > .composer-section,
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation) .chat-composer-shell {
 width:100%; max-width:none; box-sizing:border-box;
}
.ask-home-prompts-heading {
 display:flex; align-items:center; justify-content:space-between;
 gap:12px; padding:0 2px; min-height:32px;
 color:#505d6c; font-size:13px; line-height:1.4; font-weight:550;
}
.ask-home-prompts-heading button {
 border:1px solid #e1e7ef; background:#fff; color:#3e5873;
 font:inherit; padding:5px 10px; min-height:32px; border-radius:8px; cursor:pointer;
}
.ask-home-prompts-heading button:hover { background:#f0f4f8; }
.ask-home-prompts-heading button:focus-visible { outline:2px solid #1766bf; outline-offset:2px; }
.ask-home-prompt-grid {
 display:grid; width:100%; box-sizing:border-box;
 grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:1fr;
 gap:8px; min-width:0;
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation)
  .ask-home-prompt-grid > button.prompt {
 display:grid; grid-template-columns:minmax(0,1fr) 14px; align-items:center;
 box-sizing:border-box; width:100%; min-width:0; min-height:48px; margin:0;
 gap:8px; padding:10px 12px; border:1px solid #e1e7ef; border-radius:10px; background:#fff;
 color:#263a52; text-align:left; font-size:14px; font-weight:400; line-height:1.42;
}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell #page.student-ask:not(.has-conversation)
  .ask-home-prompt-grid > button.prompt:is(:hover,:focus-visible) {
 color:#204b78; border-color:#bfd2e5; background:#f5f8fc;
}
.ask-home-prompt-grid > button > span:first-child { min-width:0; overflow-wrap:anywhere; }
.ask-home-prompt-grid > button > span:last-child { text-align:right; font-size:12px; }
@media(min-width:701px) {
 .chat-layout:has(.student-ask:not(.has-conversation)) .student-header .header-brand-block { display:none; }
 .chat-layout:has(.student-ask:not(.has-conversation)) .student-header > :last-child { margin-left:auto; }
}
@media(max-width:700px) {
 .chat-layout:has(.student-ask:not(.has-conversation)) .student-header .header-brand-block { display:block; }
 .ask-home-mascot { width:42px; height:42px; border-radius:13px; }
 .ask-home-mascot .mini-bot { scale:.85; }
 .ask-home-prompt-grid { grid-template-columns:minmax(0,1fr); grid-auto-rows:auto; gap:6px; }
 .ask-home-prompts-heading button { min-height:44px; }
}
@media(prefers-reduced-motion:reduce) { .ask-home-mascot .mini-bot { animation:none; } }

/* === site-record-footer-v1.css === */
/* Main site compliance footer. Keep it in flow above the fixed mobile nav. */
.site-record-footer {
 display:flex;align-items:center;justify-content:center;flex-wrap:wrap;
 gap:0 8px;min-height:32px;margin:0;padding:5px 10px;
 font:400 12px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;
 color:#52647a;text-align:center;background:transparent;
}
.site-record-footer a {color:inherit;text-decoration:none;}
.site-record-footer a:hover,.site-record-footer a:focus-visible {text-decoration:underline;}
.main-shell > .site-record-footer {flex:none;}
.chat-layout:has(.student-ask:not(.has-conversation)) .main-shell > #page.student-ask:not(.has-conversation) {
 min-height:calc(100dvh - 110px);
}
@media(max-width:700px){
 .chat-layout:has(.student-ask:not(.has-conversation)) .main-shell > #page.student-ask:not(.has-conversation){
  min-height:calc(100dvh - 160px - env(safe-area-inset-bottom));
 }
 html.student-text-entry .main-shell > .site-record-footer {display:none;}
}

/* Only generated results use this notice. Never overlay product pixels. */
.generated-result-notice,.ai-compliance-footer {
 display:block;margin:8px 0 0;padding:6px 0 0;border-top:1px solid #f0f0f0;
 font-size:12px;line-height:1.55;color:#606b78;overflow-wrap:anywhere;
}
.generated-result-notice[hidden],.ai-compliance-footer[hidden]{display:none!important;}

body[data-canvas=true][data-integrated=true] .canvas-aperture #ci-gallery .result-card>.generated-result-notice {
 display:block;color:#c0cbd8;border-top-color:#43536c;font-size:12px;
}
