/* Mobile demo guidelines · toB. One frame, fixed slots, one content scroller. */
:root{color-scheme:light;--app-bg:#eeedf3;--page-wash:linear-gradient(160deg,#fff0e4 0,#ffffff 300px);--surface:#fff;--maincolor:#ff5900;--semantic-active:#2f80ed;--danger:#f02425;--success:#218562;--ink:rgba(0,0,0,.9);--muted:rgba(0,0,0,.6);--line:#ededed;--soft:#f5f5f7;--soft-theme:#fff4ec;--green:var(--muted);--teal:var(--maincolor);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Noto Sans SC","Microsoft YaHei",sans-serif;color:var(--ink);font-size:14px}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:var(--app-bg)}button,input,textarea,select{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{cursor:default;opacity:.42}button{color:inherit}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--semantic-active);outline-offset:3px}button:active:not(:disabled){filter:brightness(.96)}button,summary{user-select:none}button svg{pointer-events:none}p{line-height:1.7;margin:0}h1,h2,h3,h4{margin:0;font-weight:600}h2{font-size:18px}h3{font-size:16px}ul,ol{padding:0;margin:0;list-style:none}[hidden]{display:none!important}.icon{width:22px;height:22px;flex-shrink:0;vertical-align:middle}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.app-shell{position:relative;width:100%;max-width:375px;height:100dvh;margin:auto;overflow:hidden;background:var(--app-bg)}.app-background{height:100%;display:flex;flex-direction:column;overflow:hidden;background:var(--page-wash)}.app-background:not(.is-secondary){background:linear-gradient(160deg,#fff0e4 0,#FAFBFC 300px)}.app-header{flex:none;padding:max(8px,env(safe-area-inset-top)) 16px 8px;background:transparent;z-index:3}.nav-row{height:48px;display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:8px}.nav-row h1{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.is-secondary .nav-row h1{text-align:center;font-size:17px}.header-context{font-size:12px;color:var(--muted);text-align:right}.brand-mark,.login-mark{display:grid;place-items:center;width:32px;height:32px;background:var(--maincolor);border-radius:10px;color:white;box-shadow:0 2px 5px rgba(255,89,0,.18)}.brand-mark svg,.login-mark svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.brand-mark .brand-spark,.login-mark .brand-spark{fill:currentColor;stroke:none}.icon-button{width:40px;height:40px;display:grid;place-items:center;background:transparent;border:0;border-radius:12px}.content{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:8px 16px 24px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}.content::-webkit-scrollbar,.sheet-body::-webkit-scrollbar{display:none}.bottom-slot{flex:none;background:var(--app-bg);z-index:2}.bottom-nav{background:#fff;border-top:1px solid rgba(0,0,0,.05);padding:5px 8px max(6px,env(safe-area-inset-bottom))}.bottom-nav [role=tablist]{display:grid;grid-template-columns:repeat(5,1fr);gap:2px}.nav-item{border:0;background:transparent;padding:7px 0;display:flex;align-items:center;flex-direction:column;gap:4px;border-radius:12px;font-size:10px;color:#737378;min-height:54px}.nav-item.active{color:var(--maincolor);background:var(--soft-theme)}.nav-icon{height:23px}.page-panel{display:flex;flex-direction:column;gap:12px}.page-description{font-size:13px;color:var(--muted);margin:0 0 4px}.primary,.secondary,.drill-action,.drill-secondary-action,.coach-action,.knowledge-action,.login-submit{border:0;border-radius:12px;min-height:44px;padding:10px 16px;font-weight:500;display:inline-flex;justify-content:center;align-items:center;gap:8px;background:var(--maincolor);color:white}.secondary,.drill-secondary-action,.coach-action-secondary{background:#fff;border:1px solid #e6e6e6;color:var(--ink)}.full{width:100%;margin-top:20px}.neutral-label{display:inline-flex;border-radius:6px;background:var(--soft);padding:4px 8px;font-size:12px;color:var(--muted)}.page-actions,.drill-next-bar{padding:12px 16px max(12px,env(safe-area-inset-bottom));display:flex;gap:8px;background:var(--app-bg)}.page-actions>*:last-child,.drill-next-bar>*:last-child{flex:1}.page-actions button,.drill-next-bar button{min-height:48px}.page-actions:empty{display:none}.section-kicker,.knowledge-label{font-size:13px;font-weight:500;color:var(--muted)}.view-back,.drill-toolbar,.drill-current-state{display:none}.knowledge-search{margin:4px 0 12px}.knowledge-search-row{height:44px;display:flex;align-items:center;gap:8px;background:white;border-radius:12px;padding:4px 6px 4px 12px}.search-icon{color:#96969c;display:flex}.knowledge-search input{width:0;flex:1;min-width:0;border:0;outline:none;background:transparent;font-size:14px}.knowledge-search button{display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:9px;background:var(--maincolor);color:#fff}.segmented{display:flex;align-items:center;background:transparent;border-radius:0;padding:0;gap:10px}.segmented button{border:0;border-radius:5px;background:#fff;color:var(--ink);height:36px;padding:0 20px;font-size:14px;white-space:nowrap}.segmented button[aria-pressed=true]{background:#fff;color:var(--maincolor);font-weight:600}.level-cards{display:grid;gap:12px}.level-card{background:white;border-radius:20px;overflow:hidden}.level-card__head{display:flex;align-items:center;gap:12px;width:100%;padding:16px 12px;border:0;background:white;text-align:left;min-height:82px}.level-card__id{width:40px;height:40px;display:grid;place-items:center;background:var(--soft);color:var(--muted);font-weight:600;border-radius:12px}.level-card__body{flex:1;font-size:16px}.level-card__progress{font-size:12px;color:var(--muted)}.level-card__head>.icon{width:16px;color:#999}.level-card.is-done .level-card__id{color:var(--success)}.level-card__entries{padding:0 12px 12px}.level-entry{display:flex;align-items:center;gap:12px;min-height:56px;background:none;border:0;border-top:1px solid var(--line);width:100%;text-align:left;font-size:15px;line-height:1.5}.level-entry__mark .icon{width:18px;height:18px;color:#bbb}.level-entry.is-learned .icon{color:var(--success)}.level-card__practice{background:var(--soft);border-radius:12px;padding:12px;font-size:12px;color:var(--muted)}#page-brain[data-mode=learn]>*:not(.level-guide){display:none}.is-secondary .level-card__head{min-height:56px}.is-secondary .level-card__head>.icon{display:none}.knowledge-page-heading{display:none}.knowledge-filters{display:flex;align-items:center;gap:8px;font-size:13px}.knowledge-filters select{padding:9px 24px 9px 12px;background:white;color:var(--ink);border:0;border-radius:10px;max-width:150px}.knowledge-clear{margin-left:auto;background:transparent;border:0;padding:8px;color:var(--muted);font-size:12px}.knowledge-section-grid{display:flex;overflow-x:auto;gap:8px;scrollbar-width:none;margin:0 -16px;padding:0 16px}.knowledge-section{flex-shrink:0;white-space:nowrap;display:flex;align-items:center;gap:5px;border:0;background:white;border-radius:99px;padding:9px 12px;font-size:12px}.knowledge-section.active{background:var(--maincolor);color:#fff}.knowledge-section small,.knowledge-section-icon{display:none}.knowledge-section strong{font-weight:500}.knowledge-results-heading{display:flex;justify-content:space-between;align-items:center;margin-top:4px}.knowledge-results-heading .knowledge-label{display:none}.knowledge-count{font-size:12px;color:var(--muted)}.knowledge-list{display:grid;gap:10px}.knowledge-card{width:100%;text-align:left;border:0;background:white;padding:16px 12px;border-radius:20px;display:block}.knowledge-card-meta{display:block;font-size:11px;color:var(--muted);margin-bottom:8px}.knowledge-card strong{display:flex;justify-content:space-between;gap:8px;font-size:15px;line-height:1.5}.knowledge-card strong .icon{width:16px;color:#999}.knowledge-card-summary{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;color:var(--muted);line-height:1.6;margin-top:8px}.knowledge-more,.drill-review-toggle{border:1px solid #ddd;background:#fff;min-height:44px;padding:10px;border-radius:12px;font-size:13px}.knowledge-empty,.drill-empty,.knowledge-loading,.drill-loading{background:white;border-radius:20px;padding:28px 16px;text-align:center;display:grid;justify-items:center;gap:12px;color:var(--muted)}
/* Knowledge is a full secondary reading layer with a fixed back affordance. */
.knowledge-detail-layer{position:absolute;inset:0;z-index:30;background:var(--page-wash)}.knowledge-detail{height:100%;display:flex;flex-direction:column}.knowledge-detail-top{height:64px;flex:none;display:flex;align-items:center;gap:12px;padding:8px 16px;background:transparent}.detail-close{order:-1;background:transparent;border:0;width:40px;height:40px;display:grid;place-items:center;border-radius:12px}.knowledge-detail-top .knowledge-label{font-size:13px}.knowledge-detail-body{overflow-y:auto;overscroll-behavior:contain;padding:20px 16px 32px;background:#fff;flex:1;min-height:0}.knowledge-detail-body h3{font-size:21px;line-height:1.45;margin-bottom:20px}.knowledge-detail-content p{font-size:15px;line-height:1.85;margin-bottom:16px}.knowledge-context{border:1px solid var(--line);border-radius:12px;padding:12px;margin:20px 0;background:var(--soft)}.knowledge-context strong{font-size:13px}.knowledge-context p{font-size:14px;margin-top:8px}.knowledge-sources h4{margin:24px 0 12px;font-size:14px}.excerpt{border:1px solid var(--line);border-radius:12px;margin-bottom:8px;overflow:hidden}.excerpt__head{display:flex;width:100%;align-items:center;gap:8px;padding:12px;background:white;border:0;text-align:left}.excerpt__id{font-size:11px;color:var(--muted)}.excerpt__meta{flex:1;min-width:0;font-size:13px;line-height:1.6}.excerpt__section{display:block;color:var(--muted);font-size:12px}.excerpt__action{flex-shrink:0;font-size:12px;color:var(--muted)}.excerpt__text{padding:0 12px 12px}.excerpt__text p{white-space:pre-wrap;font-size:14px;margin:12px 0;overflow-wrap:anywhere}.excerpt__state{font-size:13px;color:var(--muted);padding:12px}.figure-full img,.excerpt img{max-width:100%;height:auto}.figure-thumbs{display:flex;gap:8px;overflow:auto}.figure-thumb{max-width:110px;background:var(--soft);border:0;padding:8px}.figure-thumb img{width:100%}.figure-full{padding:8px}.figure-full button{background:white;border:1px solid var(--line);padding:8px}
/* Training entries and dedicated question view. */
.drill-bank{display:grid;gap:10px}.drill-bank__item{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;background:white;border:0;border-radius:20px;padding:20px 16px;min-height:76px;text-align:left}.drill-bank__name{font-size:16px;font-weight:600}.drill-bank__note{font-size:13px;color:var(--muted)}.drill-bank__item>.icon{width:16px;color:#999}.drill-bank__name{flex:1}.drill-bank__item.is-pending{min-height:52px;padding:14px 16px;opacity:.55;background:rgba(255,255,255,.6)}.drill-bank__item.is-pending .drill-bank__name{font-size:14px;font-weight:400}.drill-progress-row{display:flex;align-items:center;justify-content:space-between;font-size:13px;padding:4px 0}.drill-progress-row>div{display:flex;align-items:center;gap:8px}.drill-progress-row .knowledge-label{display:none}.drill-progress-row strong{font-size:18px;color:var(--maincolor);font-variant-numeric:tabular-nums}.drill-progress-note{color:var(--muted);font-size:12px}.drill-question-nav ol{display:grid;grid-template-columns:repeat(10,1fr);gap:4px}.drill-question-jump{height:32px;width:100%;border:1px solid #ddd;background:white;border-radius:7px;padding:0;font-size:11px;color:var(--muted)}.drill-question-jump.current{background:var(--maincolor);color:white;border-color:var(--maincolor)}.drill-question-jump.answered:not(.current){background:#e7f4ee;color:var(--success);border-color:transparent}.drill-question-jump.skipped:not(.current){background:#ddd;color:#555}.drill-question{margin:0;padding:16px 12px;border:0;background:white;border-radius:20px;min-width:0}.drill-question legend{float:left;display:flex;gap:10px;width:100%;padding:0;margin:0 0 20px;font-size:16px;line-height:1.7;font-weight:600}.drill-question-number{display:none}.drill-question-category{display:block;font-size:12px;font-weight:400;color:var(--muted);margin-bottom:8px}.drill-options{clear:both;display:grid;gap:10px}.drill-option{position:relative;display:flex;align-items:flex-start;gap:10px;border:1px solid #e6e6e6;border-radius:12px;padding:14px 12px;font-size:14px;line-height:1.7;cursor:pointer}.drill-option input{position:absolute;opacity:0;width:1px;height:1px}.drill-option:has(input:focus-visible){border-color:var(--maincolor);outline:none}.drill-option input:focus-visible{outline:none}.drill-option-letter{width:22px;flex-shrink:0;text-align:center;font-weight:600;color:var(--muted)}.drill-option.selected{border-color:var(--maincolor);background:var(--soft-theme)}.drill-option.correct-answer{border-color:var(--success);background:#f1faf5}.drill-option.incorrect-answer{border-color:var(--danger);background:#fff5f5}.drill-feedback{padding:4px 0}.drill-feedback-heading{display:flex;align-items:center;gap:12px;margin:8px 0 20px}.drill-feedback-icon{background:#e7f4ee;color:var(--success);width:40px;height:40px;border-radius:12px;display:grid;place-items:center}.incorrect .drill-feedback-icon{color:var(--danger);background:#ffecec}.drill-feedback-heading strong{font-size:18px}.drill-feedback-heading span:not(.drill-feedback-icon){display:block;font-size:13px;color:var(--muted);margin-top:4px}.drill-feedback-explanation{font-size:15px;line-height:1.8;margin:16px 0}.drill-feedback-answers,.drill-answer-grid{display:grid;gap:12px;background:white;border-radius:12px;padding:12px;margin:12px 0}.drill-feedback-answers dt,.drill-answer-grid dt{font-size:12px;color:var(--muted);margin-bottom:5px}.drill-feedback-answers dd,.drill-answer-grid dd{font-size:14px;margin:0;line-height:1.65}.drill-result-refs{font-size:12px;display:flex;gap:8px;align-items:center;color:var(--muted);margin-top:12px;flex-wrap:wrap}.drill-result-refs b{font-weight:400;padding:3px 6px;border-radius:4px;background:#e8e8ed}.drill-source-list{margin-top:20px}.drill-source-list-label{font-size:12px;color:var(--muted)}.drill-source{display:flex;gap:8px;align-items:baseline;border-top:1px solid #ddd;padding:12px 0;font-size:13px;line-height:1.6;margin-top:8px}.drill-source strong{font-weight:400;flex:1}.drill-source span{font-size:11px;color:var(--muted)}.drill-score-card,.drill-topic-summary,.drill-result-item{background:white;border-radius:20px;padding:16px}.drill-score-card>div:first-child{display:flex;justify-content:space-between;align-items:center}.drill-score-card strong{font-size:40px}.drill-score-card small{font-size:14px;color:var(--muted);font-weight:400}.drill-score-detail{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:16px}.drill-topic-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.drill-topic-list span{background:var(--soft);padding:5px 8px;border-radius:6px}.drill-result-list{display:grid;gap:12px}.drill-result-heading{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:12px}.drill-explanation{font-size:14px}.section-heading .section-kicker,.section-heading .status-chip{display:none}.section-description{font-size:13px;color:var(--muted);margin-top:6px}.drill-alert,.coach-error{background:#fff1f1;color:#a32929;border-radius:12px;padding:12px;font-size:13px;line-height:1.6}.drill-alert p{margin-top:6px}
/* Chat body scrolls; its composer lives in the frame's bottom slot. */
.scene-picker{display:grid;gap:12px}.scene-pick{width:100%;background:white;border:1px solid var(--line);border-radius:20px;padding:16px 12px;text-align:left;display:grid;gap:8px}.scene-pick__name{font-size:16px;font-weight:600;line-height:1.5}.scene-pick__label{display:none}.scene-pick__text{color:var(--muted);font-size:14px;line-height:1.65}.resume-card{display:flex;align-items:center;gap:8px;background:white;border:0;padding:14px 12px;border-radius:12px;font-size:14px}.resume-card .icon:last-child{margin-left:auto}.page-panel-chat{height:100%;min-height:0}.content:has(.page-panel-chat){overflow:hidden;padding-bottom:12px}.chat-log{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:none;display:flex;flex-direction:column;gap:20px;padding-bottom:8px}.chat-msg{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.chat-avatar{width:28px;height:28px;display:grid;place-items:center;border-radius:8px;font-size:12px;background:white;color:var(--muted)}.chat-bubble{max-width:calc(100% - 28px);padding:12px 14px;background:white;border-radius:4px 20px 20px 20px;font-size:15px;line-height:1.7;overflow-wrap:anywhere}.chat-msg-user{align-items:flex-end}.chat-msg-user .chat-bubble{color:white;background:var(--maincolor);border-radius:20px 4px 20px 20px}.chat-dock{padding:12px 12px max(12px,env(safe-area-inset-bottom));background:var(--app-bg)}.chat-chips{display:flex;gap:8px;margin:0 4px 8px}.chat-chip{display:flex;align-items:center;gap:5px;min-height:32px;padding:5px 12px;border:1px solid rgba(0,0,0,.12);border-radius:99px;background:white;color:var(--ink);font-size:12px}.chat-chip .icon{width:16px;height:16px}.chat-input-bar{display:flex;align-items:flex-end;gap:4px;border-radius:25px;padding:4px;background:white;box-shadow:inset 0 -2px 14px #ff59000f,inset 0 6px 14px #ff590014;min-height:50px}.chat-input-bar textarea{border:0;background:transparent;outline:0;resize:none;min-height:42px;max-height:132px;line-height:22px;font-size:15px;padding:10px 8px 10px 12px;flex:1;min-width:0}.chat-input-bar textarea::placeholder{font-size:14px;color:#999}.chat-send{width:42px;height:42px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--maincolor);color:#fff;flex-shrink:0}.chat-send:disabled{background:#E5E7EB;color:#9CA3AF;opacity:1}.chat-secondary{display:block;border:0;background:transparent;margin:8px auto 0;padding:6px 12px;font-size:12px;color:var(--muted);min-height:32px}.chat-thinking{color:var(--muted);font-size:13px;background:white;border-radius:12px;padding:12px}.at-menu{display:none}.speaker-entry{background:white;border-radius:20px;padding:20px 16px}.entry-symbol{display:grid;place-items:center;width:44px;height:44px;background:var(--soft-theme);color:var(--maincolor);border-radius:12px;margin-bottom:16px}.speaker-scenario{font-size:15px;line-height:1.85;margin:12px 0 16px}.speaker-task{background:white;border-radius:12px;padding:12px 16px}.speaker-task summary{font-size:13px;color:var(--muted);cursor:pointer;min-height:22px}.speaker-task p{font-size:14px;padding-top:12px}.speaker-editor{padding:16px 12px;background:white;border-radius:20px}.speaker-editor label{font-size:14px;font-weight:600}.speaker-editor textarea{width:100%;min-height:280px;resize:vertical;border:0;margin-top:12px;padding:0;background:white;font-size:15px;line-height:1.8;outline:none}.editor-meta{display:flex;justify-content:space-between;font-size:12px;color:#888;border-top:1px solid var(--line);padding-top:12px}.speaker-result-head,.coach-review-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.speaker-result-head strong,.coach-review-score strong{font-size:40px;font-weight:650}.speaker-result-head small,.coach-review-score small{font-size:14px;font-weight:400;color:var(--muted)}.speaker-feedback,.coach-review-summary{font-size:15px;line-height:1.8;margin:12px 0}.coach-notes,.coach-reference,.coach-dimensions{margin-top:20px}.coach-notes>strong,.coach-reference>strong{font-size:14px}.coach-notes ul{list-style:disc;padding-left:18px;margin-top:8px}.coach-notes li{font-size:14px;line-height:1.8;margin-top:4px}.coach-reference{background:white;border-radius:12px;padding:12px}.coach-reference p{font-size:14px;margin-top:8px}.coach-compliance{font-size:13px;background:white;border-radius:12px;padding:12px}.coach-dimensions ul{background:white;border:1px solid var(--line);border-radius:12px;padding:0 12px;margin-top:8px}.coach-dimensions li{display:flex;align-items:baseline;gap:12px;justify-content:space-between;font-size:13px;padding:12px 0;border-bottom:1px solid var(--line)}.coach-dimensions li:last-child{border:0}.coach-dimensions small{font-size:12px;color:var(--muted);font-weight:400}.coach-failures{background:#fff0f0;border-radius:12px;padding:12px;color:#ab2020;font-size:13px}
/* Shared sheets: overlay -> fixed header -> scroll body -> fixed actions. */
.sheet-overlay{position:absolute;inset:0;background:rgba(0,0,0,.4);z-index:40;display:flex;align-items:flex-end}.sheet{width:100%;max-height:92%;display:flex;flex-direction:column;background:white;border-radius:24px 24px 0 0;overflow:hidden}.sheet:not(.compact){height:84%}.sheet.compact{min-height:240px}.sheet-header{height:56px;flex-shrink:0;display:flex;align-items:center;padding:0 12px 0 16px;gap:8px}.sheet-header h2{font-size:16px;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sheet-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;background:var(--app-bg);padding:16px;scrollbar-width:none}.sheet-actions{display:flex;gap:8px;padding:12px 16px max(12px,env(safe-area-inset-bottom));background:white}.sheet-actions button{min-height:48px;flex:1}.sheet-search{display:flex;align-items:center;gap:8px;background:white;padding:10px 12px;border-radius:12px;margin-bottom:12px}.sheet-search input{border:0;background:transparent;min-width:0;flex:1;outline:none}.panel-knowledge-list{display:grid;gap:8px}.panel-entry{border:0;padding:14px 12px;display:flex;gap:8px;justify-content:space-between;text-align:left;background:white;border-radius:12px;font-size:14px;line-height:1.5}.panel-entry .icon{width:16px;color:#999}.hint-panel__text{font-size:15px;line-height:1.8;margin-bottom:12px}.hint-panel__state{font-size:14px;color:var(--muted)}
/* Personal learning dashboard. */
.profile-identity{display:flex;align-items:center;gap:12px;padding:4px 0 8px}.profile-avatar{width:44px;height:44px;border-radius:50%;background:white;display:grid;place-items:center;font-size:20px}.profile-name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.profile-name{font-size:18px}.profile-role,.profile-tag{font-size:12px;color:var(--muted)}.profile-overview,.profile-summary,.profile-section{background:white;border-radius:20px;padding:16px 12px}.profile-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.profile-stat{text-align:center;background:var(--soft);padding:12px 4px;border-radius:12px}.profile-stat strong{display:block;font-size:22px;margin-bottom:4px;font-weight:600}.profile-stat span,.profile-stat small{font-size:11px;color:var(--muted)}.profile-activity-head{display:flex;justify-content:space-between;align-items:center;margin:16px 0 8px;font-size:12px;color:var(--muted)}.profile-week{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}.profile-day{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:11px;color:var(--muted)}.profile-day-bar{background:var(--soft);border-radius:6px;min-height:28px;width:100%;display:grid;place-items:center}.profile-day.is-active .profile-day-bar{background:var(--soft-theme);color:var(--maincolor)}.profile-radar{width:100%;max-height:240px;display:block}.profile-radar text{font-size:10px;fill:var(--muted)}.profile-radar-grid{fill:none;stroke:#e6e6e6}.profile-radar-axis{stroke:#e6e6e6}.profile-radar-area{fill:#ff59001a;stroke:var(--maincolor);stroke-width:1.5}.profile-radar-point{fill:var(--maincolor)}.profile-summary-head,.profile-history-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.profile-capabilities li,.profile-capability-list li{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:12px 0;gap:8px;font-size:13px}.profile-capabilities small{font-size:11px;color:var(--muted)}.profile-recommendation,.profile-empty{font-size:14px;line-height:1.7;color:var(--muted)}.profile-records{display:grid;gap:8px}.profile-record{padding:12px 0;border-bottom:1px solid var(--line)}.profile-record-main{display:flex;justify-content:space-between;gap:12px;align-items:baseline;font-size:14px}.profile-record-main time{display:block;font-size:11px;color:var(--muted);margin-top:4px}.profile-record-score{white-space:nowrap;font-size:18px}.profile-record-score small{font-size:11px;color:var(--muted)}.profile-record-detail{margin-top:12px;font-size:13px;color:var(--muted)}.profile-record-detail li{margin-top:6px;line-height:1.6}.profile-group-title{display:flex;justify-content:space-between;font-size:13px;margin:16px 0 8px}.empty-state{display:flex;align-items:center;flex-direction:column;gap:12px;padding:20px 8px;color:var(--muted);font-size:13px}.empty-state>.icon{width:32px;height:32px;color:#999}.status-chip{font-size:12px;color:var(--semantic-active)}.login-screen{height:100%;padding:60px 24px;overflow:auto;display:flex;flex-direction:column;justify-content:center;gap:28px}.login-brand{display:flex;gap:12px;align-items:center}.login-card{background:white;border-radius:24px;padding:24px 20px;display:grid;gap:20px}.login-card h1{font-size:24px}.login-hint{font-size:13px;color:var(--muted);margin-top:-12px}.login-field{display:grid;gap:8px;font-size:13px}.login-field input{height:46px;border:1px solid #ddd;border-radius:10px;width:100%;padding:10px;background:white}.login-error{color:var(--danger);font-size:13px}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:16px;z-index:99;background:white;padding:12px}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}@media(max-height:550px){.app-header{padding-top:0}.nav-row{height:44px}.sheet:not(.compact){height:92%}.chat-secondary{margin-top:0}}

.sheet.feedback-sheet{height:auto;max-height:85%;min-height:440px}.sheet.feedback-sheet .sheet-body{flex:0 1 auto}
.profile-hero-id{display:flex;align-items:center;gap:12px;padding:4px 0 8px}.profile-id-name{display:flex;align-items:center;gap:6px;margin-bottom:4px}.profile-id-name h1{font-size:19px}.profile-id-tag{font-size:11px;padding:3px 6px;border-radius:6px;background:rgba(0,0,0,.04);color:var(--muted)}.profile-id-text>span:last-child{font-size:12px;color:var(--muted)}.profile-card{background:white;border-radius:20px;padding:12px}.profile-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.profile-kpi{background:var(--soft);border-radius:12px;text-align:center;padding:12px 2px;display:grid;gap:4px}.profile-kpi strong{font-size:22px}.profile-kpi small{font-size:11px;font-weight:400}.profile-kpi>span{font-size:11px;color:var(--muted)}.profile-week{display:block;margin-top:16px}.profile-heat{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-top:8px}.profile-heat-cell{display:grid;place-items:center;height:30px;background:var(--soft);border-radius:6px;font-size:12px;color:#999}.profile-heat-cell:not(.is-0){background:var(--soft-theme);color:var(--maincolor)}.profile-radar-figure{margin:12px 0}.profile-radar-note{font-size:11px;color:var(--muted);line-height:1.6;margin:8px 0}.profile-capability li{padding:12px 0;border-top:1px solid var(--line)}.profile-capability-head{display:flex;justify-content:space-between;gap:8px;font-size:13px}.profile-capability-head strong{white-space:nowrap;font-weight:500}.profile-capability-head small{font-size:11px;color:var(--muted)}.profile-bar{height:5px;background:var(--soft);border-radius:99px;margin:8px 0;overflow:hidden}.profile-bar>span{height:100%;display:block;background:var(--maincolor);border-radius:99px}.profile-capability-note{font-size:11px;color:var(--muted)}.profile-history-group{margin-top:20px}.profile-history-count{font-size:12px;color:var(--muted)}.profile-history>li{padding:12px 0;border-top:1px solid var(--line)}.profile-record-main>div{flex:1;min-width:0}.profile-record-main strong{font-size:13px;line-height:1.6;font-weight:500}.profile-record-main>div>span{display:block;font-size:11px;color:var(--muted);margin-top:4px}.profile-record-score{font-size:20px}.pending-banks{margin-top:8px}.pending-banks summary{padding:12px 0;font-size:13px;color:var(--muted);cursor:pointer}.pending-banks .drill-bank{margin-top:4px}.sheet-body .source-note{font-size:12px;color:var(--muted);margin-top:20px}
.unscored-dimensions{margin-top:16px;font-size:13px;color:var(--muted)}.unscored-dimensions summary{padding:10px 0;cursor:pointer}.profile-id-name h2{font-size:19px}

.search-empty{display:flex;flex-direction:column;align-items:center;gap:12px;padding:64px 16px;color:var(--muted);font-size:14px}.search-empty>.icon{width:36px;height:36px;color:#aaa}.search-page h2{font-size:16px}.app-header:has([data-open-search]) .segmented{margin-top:8px}

/* Reference course list: illustrated book, title, progress and compact CTA. */
.level-cards:has(.course-card){gap:12px}
.course-card{display:flex;align-items:center;gap:15px;width:100%;min-height:110px;padding:14px;background:#fff;border:0;border-radius:10px;box-shadow:0 3px 14px rgba(40,48,60,.055);text-align:left;color:#424d55}
.course-cover{position:relative;display:block;flex:0 0 62px;width:62px;height:79px;border-radius:6px;isolation:isolate;background:#a5f1df;--book:#09c69a;--book-dark:#00aa87;--band:#00bb94;overflow:visible}
.course-cover--gold{background:#fff08b;--book:#ffd000;--book-dark:#ebbb00;--band:#ffbb00}
.course-cover--blue{background:#c4e5ff;--book:#519cef;--book-dark:#3582d9;--band:#388bf0}
.cover-grid{position:absolute;inset:0;border-radius:6px;overflow:hidden;background-image:linear-gradient(#ffffff26 1px,transparent 1px),linear-gradient(90deg,#ffffff26 1px,transparent 1px);background-size:4px 4px}
.cover-pages{position:absolute;left:7px;top:7px;width:42px;height:61px;background:#fffff3;border-radius:5px 5px 1px 1px;transform:rotate(-5deg)}
.cover-pages-back{left:13px;top:6px;width:42px;border:1px solid #fff9;background:#ffffff55;transform:rotate(1deg)}
.cover-book{position:absolute;left:5px;right:5px;bottom:0;height:58px;border-radius:4px 5px 2px 2px;background:var(--book);box-shadow:inset 3px 0 #ffffff26,inset -4px -4px var(--book-dark)}
.cover-book:after{content:"";position:absolute;inset:6px 6px 5px;border-radius:3px;background:#ffffff0d}
.cover-title{position:absolute;left:0;right:0;top:17px;color:#fff;font-size:15px;font-weight:900;line-height:1.05;text-align:center;letter-spacing:1px;z-index:1}
.cover-band{position:absolute;top:15px;left:2px;min-width:49px;padding:3px 4px 2px;border-radius:8px;background:var(--band);color:white;font-weight:800;font-size:7px;line-height:1.2;transform:rotate(-5deg);border:1px solid #ffffff85;box-shadow:0 1px 2px #0002;white-space:nowrap}
.cover-seal{position:absolute;right:0;top:28px;width:13px;height:13px;border-radius:50%;display:grid;place-items:center;border:1px solid #fffc;background:#ffffff30;color:white}.cover-seal .icon{width:8px;height:8px;stroke-width:2}
.course-info{min-width:0;flex:1;align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;padding:1px 0 0}
.course-title{font-size:16px;font-weight:500;line-height:1.5;color:#424d55}
.course-footer{display:flex;gap:24px;align-items:center;margin-bottom:0}
.course-progress{position:relative;flex:1;min-width:0;height:13px;background:#fff6f0;border-radius:99px;overflow:hidden;display:block}
.course-progress-fill{position:absolute;inset:0 auto 0 0;background:#ffe5ce;border-radius:99px}
.course-progress-text{position:absolute;right:5px;top:0;line-height:13px;font-size:10px;color:#ff8500;font-variant-numeric:tabular-nums}
.course-cta{display:grid;place-items:center;flex-shrink:0;width:59px;height:28px;border-radius:99px;background:linear-gradient(110deg,#ffbd73,#ff8900);box-shadow:0 3px 6px #ff900026;color:white;font-size:13px;font-weight:500}
@media(max-width:350px){.course-card{gap:12px;padding:12px}.course-footer{gap:12px}.course-title{font-size:15px}}

/* Practice report: reference gauge, improvement card and statistical summary. */
.content:has(.practice-report){padding-top:8px}
.practice-report{gap:14px}.report-score-card,.report-plan-card,.report-stats-card{background:#fff;border-radius:16px;padding:16px 14px;box-shadow:0 8px 24px #87909d04}
.report-score-card{padding-top:16px}.report-gauge{position:relative;width:100%;height:170px;margin:0 auto 8px;max-width:320px}.report-gauge svg{width:100%;height:100%;overflow:visible}.gauge-halo{fill:none;stroke:#fff9f5;stroke-width:32}.gauge-track{fill:none;stroke:#ffecdf;stroke-width:10;stroke-linecap:round}.gauge-value{fill:none;stroke:url(#score-gradient);stroke-width:14;stroke-linecap:round}.gauge-marker-halo{fill:white;filter:drop-shadow(0 2px 3px #d88b5c38)}.gauge-marker{fill:#ff8b3c}.gauge-score{position:absolute;inset:50px 0 0;display:flex;align-items:center;flex-direction:column;gap:4px}.gauge-score>span{font-size:14px;color:#8a91a7;font-weight:500}.gauge-score strong{font-size:44px;line-height:1.12;font-weight:650;letter-spacing:-1px;color:#20282c;font-variant-numeric:tabular-nums}.gauge-score small{font-size:13px;color:#8a91a7;margin-top:2px}.report-meta{border-top:1px solid #f0f1f5;padding-top:12px;display:grid;gap:10px}.report-meta>div{display:flex;align-items:center;gap:8px;color:#949db4;font-size:12px}.report-meta .icon{width:14px;height:14px;color:#aeb5c5}.report-meta strong{margin-left:auto;font-weight:400;text-align:right;font-size:12px}.report-plan-card h2,.report-stats-card h2{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:600;line-height:28px;color:#171d23}.report-symbol{width:20px;height:20px;display:grid;place-items:center;flex-shrink:0;border-radius:5px;color:#fff}.report-symbol .icon{width:15px;height:15px}.report-symbol.plan{background:linear-gradient(145deg,#ff9873,#ff5947);box-shadow:0 2px 3px #ff704d25}.report-symbol.stats{background:linear-gradient(145deg,#67b9ff,#2584ff);box-shadow:0 2px 3px #2584ff25}.report-plan-card p{color:#8a93ac;font-size:13px;line-height:1.8;margin-top:12px}.report-topic-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.report-topic-chips span{font-size:11px;color:#8a93ac;background:#f6f7fa;padding:4px 8px;border-radius:6px}.report-plan-action{display:block;width:100%;height:40px;border-radius:99px;background:#fff1e6;color:#ff5900;border:0;font-size:15px;font-weight:600;margin-top:20px}.report-stats{display:grid;grid-template-columns:repeat(4,1fr);background:#f6f7fa;border-radius:9px;margin-top:16px;padding:12px 4px}.report-stats>div{position:relative;text-align:center;display:flex;flex-direction:column;gap:5px}.report-stats>div+div:before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:1px;background:#e7eaf1}.report-stats span{font-size:12px;color:#8a93ac}.report-stats strong{font-size:16px;font-weight:500;color:#2f80ed}.report-stats small{font-size:10px;margin-left:2px;font-weight:400}.report-stats .correct{color:#2bbd78}.report-stats .wrong{color:#f05a40}.report-review-entry{display:flex;align-items:flex-start;gap:12px;width:100%;padding:22px 0 5px;border:0;background:transparent;text-align:left}.report-expand{display:grid;place-items:center;width:20px;height:20px;flex-shrink:0;border-radius:50%;background:#ff8a37;color:white;box-shadow:0 2px 6px #ff8a3725}.report-expand .icon{width:14px;height:14px;transform:rotate(90deg)}.report-expand.open .icon{transform:rotate(-90deg)}.report-review-entry strong{font-size:15px;font-weight:600;line-height:22px}.report-review-entry small{display:block;color:#8a93ac;font-size:12px;line-height:1.7;margin-top:9px}.practice-report .drill-result-item{border-radius:16px}.practice-report .drill-result-item h3{line-height:1.65;font-size:15px}

/* Training landing: illustrated banner followed by quiet, aligned topic rows. */
.training-home{gap:0}.training-banner{position:relative;min-height:146px;overflow:hidden;border-radius:14px;background:linear-gradient(125deg,#ff5900 0%,#ff9947 52%,#ffdcc1 100%);padding:20px 16px;color:white;margin-bottom:20px}.training-banner:before{content:"";position:absolute;width:210px;height:160px;right:-76px;top:-69px;border:1px solid #ffffff45;transform:rotate(-25deg);border-radius:24px;background:#ffffff12}.training-banner-copy{position:relative;z-index:1;width:70%}.training-banner-kicker{display:inline-block;font-size:10px;line-height:18px;padding:0 6px;border:1px solid #ffffff65;border-radius:99px;background:#ffffff15;margin-bottom:6px}.training-banner h2{font-size:29px;font-weight:800;letter-spacing:1px;line-height:1.25;text-shadow:0 2px 1px #c26c2220}.training-banner-copy>strong{display:block;font-size:13px;line-height:1.6;margin-top:5px;font-weight:600}.training-banner p{font-size:10px;color:#fff5e9;margin-top:6px;letter-spacing:.5px}.training-banner-art{position:absolute;width:139px;height:144px;right:-3px;bottom:-1px;pointer-events:none}.training-list-heading{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e1ddd83d;padding:14px 0 4px}.training-list-heading h2{font-size:13px;font-weight:500;color:#717782}.training-list-heading>span{font-size:11px;color:#999fa9}.training-list{display:grid;gap:0}.training-row{display:flex;align-items:center;gap:10px;width:100%;min-height:88px;padding:18px 0;border:0;background:transparent;text-align:left}.training-row-mark{display:grid;place-items:center;align-self:flex-start;width:20px;height:20px;margin-top:2px;border-radius:50%;background:#ff8c37;color:white;flex-shrink:0;box-shadow:0 2px 5px #ff8c3730}.training-row-mark .icon{width:14px;height:14px;stroke-width:2.5}.training-row-body{flex:1;min-width:0}.training-row-body>strong{display:block;font-size:17px;line-height:24px;font-weight:600}.training-row-meta{display:flex;align-items:center;gap:10px;color:#979ba3;font-size:11px;margin-top:9px;line-height:16px}.training-progress-segments{display:flex;gap:4px}.training-progress-segments i{width:10px;height:5px;border-radius:3px;background:#dddfe5}.training-progress-segments i.filled{background:#ffb241}.training-row-action{font-size:12px;color:#ed711d;white-space:nowrap}.training-row>.icon{width:16px;height:16px;color:#a3a8af;margin-left:-6px}.training-row:disabled{opacity:1}.training-row.is-unavailable .training-row-mark{background:#e1e3e9;color:#9ba1ac;box-shadow:none}.training-row.is-unavailable .training-row-mark .icon{stroke-width:1.75}.training-row.is-unavailable .training-row-body>strong{color:#747a85;font-weight:500}.training-pending{font-size:11px;color:#aaaeb7}.training-row:not(:last-child){border-bottom:0}

.drill-next-bar{background:#fff}.bottom-slot:has(.drill-next-bar){background:#fff}

/* Learning chapter detail: small metadata header, independent directory cards. */
.is-secondary .level-card{background:transparent;border-radius:0;overflow:visible}
.is-secondary .level-card__head{background:transparent;min-height:36px;padding:0 0 12px;gap:6px}
.is-secondary .level-card__id{width:auto;height:auto;background:transparent;border-radius:0;font-size:12px;font-weight:500;color:var(--muted)}
.is-secondary .level-card__body{font-size:12px;color:var(--muted)}
.is-secondary .level-card__body strong{font-weight:400}
.is-secondary .level-card__progress{font-size:12px}
.is-secondary .level-card__entries{padding:0;display:grid;gap:12px}
.is-secondary .level-entry{min-height:64px;padding:16px 14px;background:#fff;border:0;border-radius:14px;box-shadow:0 3px 14px rgba(40,48,60,.055);gap:12px}
.is-secondary .level-entry__mark{display:flex;flex-shrink:0}
.is-secondary .level-card__practice{margin-top:4px;padding:12px 0;background:transparent;border-radius:0;line-height:1.7}

/* Product dropdown aligns its trigger and menu to the content inset. */
.knowledge-filters{min-height:44px;justify-content:space-between;gap:12px}
.product-picker{position:relative;min-width:204px;max-width:100%;z-index:5}
.product-trigger{display:flex;align-items:center;gap:12px;width:100%;height:44px;padding:0 12px;background:#fff;border:1px solid #edeef1;border-radius:12px;text-align:left}
.product-trigger-label{font-size:12px;color:#8b9098;padding-right:12px;border-right:1px solid #edeef1;line-height:16px}
.product-trigger strong{flex:1;font-size:14px;font-weight:500;white-space:nowrap}.product-trigger>.icon{width:16px;height:16px;color:#8b9098;transform:rotate(90deg)}
.product-trigger[aria-expanded=true]>.icon{transform:rotate(-90deg)}
.product-options{position:absolute;left:0;right:0;top:calc(100% + 6px);padding:5px;background:#fff;border:1px solid #edeef1;border-radius:12px;box-shadow:0 8px 28px rgba(40,48,60,.12)}
.product-options button{width:100%;min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;border:0;border-radius:8px;background:#fff;font-size:14px;text-align:left}
.product-options button[aria-selected=true]{background:#fff4ec;color:var(--maincolor);font-weight:500}.product-options .icon{width:17px;height:17px}.product-options button:hover{background:#f7f8fa}.knowledge-clear{white-space:nowrap;min-height:40px;padding:6px 0}

/* 学术知识卡片：增加轻微层次感，保持白底的轻盈视觉 */
.knowledge-card {
  box-shadow: 0 3px 14px rgba(40, 48, 60, .055);
}


/* AI 陪练：固定场景医生形象与完整场景文案 */
.scene-pick{grid-template-columns:84px minmax(0,1fr);align-items:center;gap:12px;padding:12px;min-height:120px}
.scene-pick__portrait{display:block;width:84px;height:104px;overflow:hidden;border-radius:12px;background:#eff5f6}
.scene-pick__portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 35%}
.scene-pick__copy{display:flex;flex-direction:column;gap:6px;min-width:0}
.scene-pick__name{font-size:15px}
.scene-pick__text{font-size:13px;line-height:1.6}

/* Compact modern navigation: quiet outline / orange tonal selection */
.bottom-nav{padding-top:6px;border-top:1px solid #F0F1F3}
.nav-item{gap:3px;color:#92969E;padding:4px 0 5px;border-radius:0;font-size:10px;min-height:55px}
.nav-item.active{background:transparent;color:var(--maincolor);font-weight:600}
.nav-icon{width:44px;height:30px;display:grid;place-items:center;border-radius:10px}
.nav-icon .icon{width:23px;height:23px}
.nav-item.active .nav-icon{background:#FFF0E5}
.nav-icon-surface{fill:transparent}
.nav-item.active .nav-icon-surface{fill:currentColor;fill-opacity:.13}

/* Softwave navigation: rounded outlines and solid orange selection. */
.nav-icon{height:30px;width:40px;border-radius:12px}
.nav-icon .icon{width:25px;height:25px}
.nav-item{color:#92959C;font-size:10px;gap:4px}
.nav-item.active .nav-icon{background:transparent}
.nav-item.active .nav-icon-surface{fill:currentColor;fill-opacity:1}
.nav-item.active .nav-icon-detail{stroke:#fff}

/* 演说家主题主页 */
.speaker-home{gap:0}.speech-banner{position:relative;overflow:hidden;min-height:170px;border-radius:20px;background:linear-gradient(120deg,#ffe1c4,#fff0dc 65%,#fff7ed);padding:22px 18px;margin-bottom:26px}.speech-banner-copy{position:relative;z-index:1}.speech-eyebrow{font-size:11px;font-weight:600;color:#b45b24;letter-spacing:1px}.speech-banner h2{font-size:24px;line-height:1.35;margin:7px 0 10px;color:#763918;font-weight:750}.speech-banner p{font-size:11px;color:#a26b49}.speech-art{position:absolute;width:153px;height:172px;right:-7px;bottom:0}.speech-section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 14px}.speech-section-heading h2{font-size:17px}.speech-section-heading>span{font-size:12px;color:#92959c}.speech-topic-list{display:grid;gap:12px}.speech-topic-card{display:flex;align-items:stretch;gap:14px;width:100%;border:0;border-radius:20px;background:white;padding:14px;text-align:left;box-shadow:0 3px 16px #28303c0d}.speech-topic-cover{width:76px;flex-shrink:0;border-radius:13px;min-height:142px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:linear-gradient(155deg,#fff0e1,#ffcf9f);color:#f47722}.speech-topic-cover>.icon{width:38px;height:38px;stroke-width:1.5;margin-bottom:4px}.speech-cover-line{height:4px;width:36px;border-radius:4px;background:#eaa66b80}.speech-cover-line.short{width:24px;margin-top:-4px}.speech-topic-copy{min-width:0;flex:1;display:flex;flex-direction:column}.speech-topic-kicker{font-size:10px;color:#92959c;margin:2px 0 5px}.speech-topic-copy>strong{font-size:16px;line-height:1.5}.speech-topic-description{font-size:12px;color:#7c8087;line-height:1.7;margin-top:7px}.speech-topic-footer{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-top:auto;padding-top:14px}.speech-topic-tag{font-size:10px;color:#96999e;background:#f6f7f9;border-radius:5px;padding:4px 6px}.speech-topic-action{color:var(--maincolor);display:flex;align-items:center;gap:4px;font-size:12px;font-weight:500}.speech-topic-action .icon{width:15px;height:15px}

/* Refined orange-white speech banner */
.speech-banner{background:linear-gradient(115deg,#FFF5ED 0%,#FFE1C6 48%,#FFB578 100%);border:1px solid #ffffffa6;min-height:174px;padding:23px 18px;border-radius:20px}
.speech-banner h2{color:#633922;font-size:23px;letter-spacing:.2px;line-height:1.4;margin:8px 0 11px;font-weight:700}
.speech-eyebrow{color:#D16B2D;font-size:10px;letter-spacing:1.2px}
.speech-banner p{color:#A77B5E;font-size:10px}
.speech-art{width:154px;height:174px;right:-2px;bottom:0}

.speech-topic-card.is-pending:disabled{opacity:1;cursor:default;background:#ffffffb3;box-shadow:none;border:1px solid #ECEEF1}
.speech-topic-card.is-pending .speech-topic-cover{background:linear-gradient(155deg,#F2F3F5,#E6E8ED);color:#A3A8B1}
.speech-topic-card.is-pending .speech-cover-line{background:#C9CDD5}
.speech-topic-card.is-pending .speech-topic-copy>strong{color:#868C96}
.speech-topic-card.is-pending .speech-topic-description,.speech-topic-card.is-pending .speech-topic-action{color:#9CA2AC}

.speaker-editor{box-shadow:0 4px 18px rgba(40,48,60,.065)}
.speaker-mode,.speaker-voice-toggle{border:0;background:#FFF4EC;color:#D9651C;border-radius:9px;min-height:40px;padding:8px 10px;display:inline-flex;align-items:center;gap:6px;font-size:12px}
.speaker-mode .icon{width:17px;height:17px}.editor-meta{align-items:center}
.speaker-voice-controls{display:flex;gap:12px;align-items:center;margin-top:12px;padding:12px;background:#FAFBFC;border-radius:12px;font-size:12px;color:#777;line-height:1.6}.speaker-voice-controls>span{flex:1}.speaker-voice-toggle{flex-shrink:0}

/* 演说家与练兵统一的品牌橙 banner */
.speech-banner{background:linear-gradient(125deg,#ff5900 0%,#ff9947 52%,#ffdcc1 100%);border:0;border-radius:14px;min-height:162px;padding:20px 16px;color:#fff;margin-bottom:22px}
.speech-banner h2{color:#fff;font-size:25px;line-height:1.35;font-weight:800;letter-spacing:.5px;margin:8px 0 9px;text-shadow:0 2px 1px #c26c2220}
.speech-eyebrow{display:inline-block;color:#fff;font-size:10px;line-height:18px;letter-spacing:0;border:1px solid #ffffff65;border-radius:99px;padding:0 6px;background:#ffffff15}
.speech-banner p{color:#fff5e9;font-size:10px;letter-spacing:.2px}
.speech-art{width:144px;height:163px;right:-2px;bottom:-1px}

.speech-topic-cover{background:#F0F5F6;overflow:hidden}
.speech-topic-cover img{display:block;width:100%;height:100%;min-height:142px;object-fit:cover;object-position:center}
.speech-topic-card.is-pending .speech-topic-cover img{opacity:.72}

/* 个人学习概览：头像、图标指标和七日轨迹 */
.profile-hero-id{gap:14px;padding:6px 2px 10px}
.profile-avatar{width:58px;height:58px;flex-shrink:0;border:3px solid white;background:linear-gradient(145deg,#FFF3E8,#FFD8B7);border-radius:20px;overflow:hidden;box-shadow:0 4px 12px #C7762F12}
.profile-avatar svg{width:100%;height:100%}.profile-id-name{flex-wrap:wrap;gap:6px}.profile-id-name h2{font-size:21px;margin-right:3px}.profile-id-tag{font-size:10px;background:#ffffffa6;color:#9A735B;border-radius:5px}.profile-id-text>span:last-child{font-size:12px;color:#8B8079}
.profile-activity-card{padding:18px 14px 16px;box-shadow:0 4px 18px #28303C08}
.profile-activity-title,.profile-week-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.profile-activity-title h3{font-size:15px}.profile-activity-title>span,.profile-week-heading>span:last-child{font-size:11px;color:#999DA5}
.profile-kpis{gap:0;margin-top:18px}.profile-kpi{position:relative;background:none;padding:0 2px;gap:5px;justify-items:center;border-radius:0}
.profile-kpi:not(:last-child):after{content:"";position:absolute;right:0;top:40px;height:27px;width:1px;background:#F0F1F4}
.profile-kpi>span.profile-kpi-symbol{width:32px;height:32px;background:#FFF1E6;color:#F48437;border-radius:11px;display:grid;place-items:center;margin-bottom:2px}.profile-kpi-symbol .icon{width:19px;height:19px}.profile-kpi strong{font-size:25px;line-height:1.2;font-weight:650;font-variant-numeric:tabular-nums}.profile-kpi small{margin-left:2px}.profile-kpi>span:last-child{font-size:11px;color:#858994}
.profile-week{margin-top:20px;padding-top:15px;border-top:1px solid #F2F3F5}.profile-week .knowledge-label{font-size:12px;color:#777D88}.profile-heat{position:relative;gap:4px;margin-top:14px}.profile-heat-cell,.profile-heat-cell:not(.is-0){height:auto;background:transparent;gap:9px;color:#999DA5;font-size:11px}.profile-day-dot{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#F5F6F8}.profile-day-dot i{width:4px;height:4px;border-radius:50%;background:#D6D9E0}.profile-heat-cell:not(.is-0) .profile-day-dot{background:linear-gradient(145deg,#FFB36D,#FF7826);color:#fff;box-shadow:0 3px 7px #FF8B3820}.profile-day-dot .icon{width:16px;height:16px;stroke-width:2.5}.profile-heat-cell.is-today .profile-day-name{color:#F57C2C;font-weight:600}.profile-heat-cell.is-today .profile-day-dot{outline:1px solid #FFB580;outline-offset:3px}

.profile-summary-compact .profile-radar-note{display:none}.profile-summary-compact .profile-radar{max-height:190px}.profile-summary-compact .profile-radar-figure{margin:0}.profile-summary-head h3{font-size:15px}.profile-detail-link{border:0;background:none;display:flex;align-items:center;gap:3px;color:#92959c;font-size:11px;min-height:36px;padding:0}.profile-detail-link .icon{width:14px;height:14px}.profile-overview-caption{font-size:11px;color:#969ba4;line-height:1.6;text-align:center;margin:4px 0}.profile-next-step .profile-history-head>.icon{width:19px;color:#F58A41}.profile-next-step .profile-recommendation{font-size:13px}.profile-next-step button{margin-top:12px;min-height:38px;font-size:12px}.profile-next-step button .icon{width:15px;height:15px}.profile-record-entry{border:0;background:white;border-radius:18px;padding:16px 12px;display:flex;align-items:center;gap:10px;text-align:left;min-height:76px}.profile-entry-icon{width:38px;height:38px;display:grid;place-items:center;background:#fff3e9;color:#ee8a44;border-radius:12px}.profile-record-entry strong{font-size:14px;display:block}.profile-record-entry small{display:block;font-size:11px;color:#999;margin-top:5px}.profile-entry-count{margin-left:auto;font-size:11px;color:#999;white-space:nowrap}.profile-record-entry>.icon{width:14px;color:#aaa}.profile-record-tabs{position:sticky;top:-8px;background:#fff8f2;padding:8px 0;z-index:1;gap:8px}.profile-record-tabs button{flex:1;padding:0 8px}.profile-record-tabs button[aria-pressed=true]{background:#fff0e3}.profile-record-page .profile-history-group{margin-top:0}.profile-topics li{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #f2f3f5;font-size:13px}.profile-topics strong{white-space:nowrap}.profile-topics small{font-weight:400;color:#999}

.brand-mark img,.login-mark img{display:block;width:24px;height:24px;object-fit:contain}

.chat-chips{position:relative}
.coach-hint-popover{position:absolute;bottom:calc(100% + 12px);left:0;width:min(310px,100%);background:#fff;border:1px solid #F0E4DA;border-radius:16px;padding:12px 14px;box-shadow:0 6px 28px #51321B24;z-index:5;text-align:left}
.coach-hint-popover:after{content:"";position:absolute;bottom:-6px;left:32px;width:10px;height:10px;background:white;border-right:1px solid #F0E4DA;border-bottom:1px solid #F0E4DA;transform:rotate(45deg)}
.coach-hint-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#B26430;font-size:13px;margin-bottom:5px}.coach-hint-head button{display:grid;place-items:center;width:32px;height:32px;border:0;background:transparent;color:#999;border-radius:8px}.coach-hint-head .icon{width:17px;height:17px}.coach-hint-body{max-height:min(220px,35dvh);overflow:auto;overscroll-behavior:contain}.coach-hint-body .hint-panel__text{font-size:14px;line-height:1.75;margin:0}.coach-hint-body .hint-panel__state{padding:0;font-size:13px;line-height:1.7}.coach-hint-retry{border:0;background:#fff2e8;color:#e97025;border-radius:8px;min-height:36px;padding:7px 10px;font-size:12px;display:flex;align-items:center;gap:6px;margin-top:10px}.coach-hint-retry .icon{width:14px;height:14px}

/* Restore the @ knowledge picker above the composer. */
.chat-dock{position:relative}
.at-menu{display:block;position:absolute;bottom:calc(100% + 8px);left:12px;right:12px;overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #F0E4DA;border-radius:16px;padding:8px;box-shadow:0 6px 28px #51321B24;z-index:6}
.at-menu__group{padding:7px 9px 4px;color:#999;font-size:11px}.at-item{display:flex;align-items:center;gap:10px;width:100%;padding:10px 9px;border:0;border-radius:10px;background:white;text-align:left;min-height:48px}.at-item.is-active{background:#FFF3E9}.at-item__icon{color:#EC8B4B}.at-item__icon .icon{width:20px;height:20px}.at-item__body{min-width:0;display:grid;gap:4px}.at-item__title{font-size:13px;line-height:1.5}.at-item__desc{font-size:11px;color:#92959c}.at-menu__empty,.at-menu__more{padding:10px;font-size:12px;color:#92959c}

.knowledge-sheet .sheet-body{background:#fff}
.knowledge-sheet .sheet-search{background:#F6F7F9}
.knowledge-sheet .panel-entry{border:1px solid #EFF0F2}

/* 场景陪练底部输入操作区 */
.chat-dock,.bottom-slot:has(.chat-dock){background:#fff}

/* 白色对话背景中的医生气泡层次 */
.chat-msg-assistant .chat-bubble{background:#fff;border:1px solid #ECEEF1;box-shadow:0 3px 12px rgba(40,48,60,.055)}
.chat-msg-assistant .chat-avatar{background:#F3F4F6;color:#787E87;border:1px solid #ECEEF1}


/* 答案解析：中性近白背景和答案卡片层次 */
.feedback-sheet .sheet-body{background:#FAFBFC}
.feedback-sheet .drill-feedback-answers{background:#fff;border:1px solid #E9ECF0;box-shadow:0 3px 12px rgba(40,48,60,.045);padding:14px;border-radius:16px}
.feedback-sheet .drill-result-refs b{background:#F0F2F5}
.feedback-sheet .drill-source{border-color:#E9ECF0}

/* 学习章节目录 */
.chapter-overview{display:flex;justify-content:space-between;align-items:center;padding:16px 8px 24px;gap:16px}.chapter-eyebrow{font-size:11px;letter-spacing:.6px;color:#A17D64}.chapter-overview h2{font-size:24px;line-height:1.35;margin:8px 0}.chapter-overview p{font-size:12px;color:#97918C}.chapter-overview p strong{font-weight:600;color:#E47C36}.chapter-ring{position:relative;width:76px;height:76px;flex-shrink:0;display:grid;place-items:center}.chapter-ring svg{position:absolute;inset:0;width:100%;height:100%}.chapter-ring>strong{font-size:23px;color:#DC762F;font-variant-numeric:tabular-nums}.chapter-ring small{font-size:11px;margin-left:1px}.chapter-list-heading{display:flex;justify-content:space-between;align-items:center;margin:6px 2px 14px}.chapter-list-heading h3{font-size:15px}.chapter-list-heading>span{font-size:11px;color:#999DA5}
.is-secondary .chapter-directory .level-entry{padding:16px 14px;min-height:88px;gap:13px;border:1px solid #F0F1F3;border-radius:16px;box-shadow:0 3px 12px #28303C06}.chapter-number{width:36px;height:42px;display:grid;place-items:center;flex-shrink:0;background:#FFF1E5;border-radius:10px;color:#DE7B37;font-size:17px;font-weight:600;font-variant-numeric:tabular-nums}.is-learned .chapter-number{background:#F4F5F7;color:#9299A3}.chapter-entry-copy{display:flex;flex-direction:column;gap:7px;flex:1;min-width:0}.chapter-entry-copy>strong{font-size:14px;font-weight:500;line-height:1.55}.chapter-entry-status{font-size:10px;color:#A3A7AF;display:flex;align-items:center;gap:4px}.is-learned .chapter-entry-status{color:#72958A}.chapter-entry-status .icon{width:12px;height:12px}.chapter-directory .level-entry>.icon{width:15px;height:15px;color:#B5BAC2;flex-shrink:0}

.speaker-actions,.bottom-slot:has(.speaker-actions){background:#fff}
.profile-kpi>span.profile-kpi-symbol{color:#34383F}

.drill-option-letter{display:flex;align-items:center;justify-content:center;min-height:24px}
.drill-option-letter .icon{width:21px;height:21px;stroke-width:2.3}
.drill-option.correct-answer .drill-option-letter{color:var(--success)}
.drill-option.incorrect-answer .drill-option-letter{color:var(--danger)}

.figure-viewer{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:rgba(0,0,0,.88);color:#fff;overflow:hidden}.figure-viewer[open]{display:flex;flex-direction:column}.figure-viewer::backdrop{background:rgba(0,0,0,.4)}.figure-viewer header{display:flex;align-items:center;gap:12px;padding:max(12px,env(safe-area-inset-top)) 16px 12px;flex-shrink:0}.figure-viewer header>span{flex:1;font-size:13px;line-height:1.5}.figure-viewer button{border:0;color:white;background:#ffffff18;border-radius:12px;min-width:44px;height:44px;display:grid;place-items:center}.figure-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;user-select:none}.figure-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;flex-shrink:0;transform-origin:center;user-select:none;-webkit-user-drag:none}.figure-viewer footer{display:flex;justify-content:center;align-items:center;gap:10px;padding:12px 16px max(16px,env(safe-area-inset-bottom));flex-shrink:0}.figure-viewer footer span{font-size:11px;color:#bbb}.figure-viewer [data-zoom-reset]{font-size:12px;padding:0 10px}

/* 出处原文：来源信息、原文与图表的阅读层级 */
.knowledge-sources .knowledge-sources-heading{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:#303640;margin:26px 0 14px}
.knowledge-sources-heading>span{display:grid;place-items:center;width:28px;height:28px;background:#FFF2E8;border-radius:9px;color:#D97B39}.knowledge-sources-heading .icon{width:17px;height:17px}
.knowledge-sources .excerpt{border:1px solid #E9ECF0;border-radius:16px;margin-bottom:12px;background:white;box-shadow:0 3px 12px #28303C04}
.knowledge-sources .excerpt__head{padding:16px 14px;gap:10px;align-items:flex-start;background:#FAFBFC}
.knowledge-sources .excerpt__id{font-size:10px;line-height:22px;padding:0 5px;border-radius:5px;background:#EEF0F3;color:#848B96;margin-top:1px}
.knowledge-sources .excerpt__meta{font-size:13px;line-height:1.65;color:#343A43}
.knowledge-sources .excerpt__source{font-weight:600}
.knowledge-sources .excerpt__section{font-size:11px;color:#9298A1;margin-top:5px;font-weight:400}
.knowledge-sources .excerpt__action{font-size:11px;color:#A07759;padding:3px 0;line-height:20px}
.knowledge-sources .excerpt.is-open .excerpt__head{border-bottom:1px solid #EFF1F4}
.knowledge-sources .excerpt__text{padding:6px 16px 12px}
.knowledge-sources .excerpt__text p{font-size:13px;line-height:1.95;color:#626975;font-weight:400;margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere;letter-spacing:.1px}
.knowledge-sources .excerpt-figures{margin:0 14px;padding:14px 0 16px;border-top:1px solid #EFF1F4}
.knowledge-sources .excerpt-figures__label{font-size:11px;color:#9399A3;line-height:1.6;margin:0 0 10px}
.knowledge-sources .excerpt-figures__strip{display:flex;gap:10px;overflow-x:auto;padding:2px 1px 6px;scrollbar-width:none}
.knowledge-sources .figure-thumb{display:flex;flex-direction:column;gap:7px;flex:0 0 92px;max-width:92px;padding:7px;background:#F7F8FA;border:1px solid #ECEEF2;border-radius:9px}
.knowledge-sources .figure-thumb img{display:block;width:100%;height:112px;object-fit:contain;background:#fff}
.knowledge-sources .figure-thumb__label{font-size:10px;color:#7C8490;line-height:1.5}

/* 更纤细的课程进度与加深的行动按钮 */
.course-progress{height:16px;display:flex;align-items:center;gap:7px;background:transparent;overflow:visible}
.course-progress-track{position:relative;display:block;flex:1;min-width:0;height:5px;background:#FFF3E9;border-radius:99px;overflow:hidden}
.course-progress-text{position:static;min-width:29px;text-align:right;line-height:16px;font-size:10px}
.course-cta{background:linear-gradient(110deg,#FFA144,#FF7400);box-shadow:0 3px 6px #FF790022}

.drill-question-jump{display:grid;place-items:center;padding:0}
.drill-question-jump .icon{width:18px;height:18px;stroke-width:2.3}
.drill-question-jump.is-correct:not(.current){background:#E7F4EE;color:var(--success);border-color:transparent}
.drill-question-jump.is-incorrect:not(.current){background:#FFF0F0;color:var(--danger);border-color:transparent}
.drill-question-jump.current.is-correct,.drill-question-jump.current.is-incorrect{box-shadow:0 0 0 2px #FFD9BE}

.resume-art{display:block;width:42px;height:42px;flex-shrink:0}.resume-art svg{display:block;width:100%;height:100%}.resume-card{gap:12px;padding:12px;border-radius:16px}.resume-card>.icon:last-child{width:17px;color:#9CA2AA}

/* --- BeiGene pack: brand, scene groups (SPEC-007) --- */
.boot-screen{height:100dvh;display:grid;place-items:center;color:var(--muted)}
.brand-mark,.login-mark{background:#fff;box-shadow:0 1px 4px rgba(0,33,71,.12)}
.brand-mark img,.login-mark img{width:26px;height:26px}
.login-brand{flex-direction:column;align-items:flex-start;gap:10px}
.login-logo{display:block;width:176px;height:auto}
.login-brand strong{font-size:15px;color:var(--muted);font-weight:500}
.scene-group{margin-top:16px}.scene-group:first-child{margin-top:4px}
.scene-group__title{display:flex;align-items:baseline;gap:8px;font-size:15px;margin:0 2px 8px}.scene-group__title small{font-size:12px;font-weight:400;color:var(--muted)}
.coach-failures li small,.coach-hints li small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.coach-hints li b{margin-right:6px}
