/* v0.6.5.39 / R51 — Workspace product UI normalization.
   Source of truth: capsule-notes@99ad8cc, design-tokens.ts + Workspace/Panel/Chat/Studio components. */
:root{
  --product-primary:#1A73E8;
  --product-primary-hover:#1765CC;
  --product-primary-light:#E8F0FE;
  --product-primary-container:#D2E3FC;
  --product-page:#F7F6F3;
  --product-surface:#FFFFFF;
  --product-surface-elevated:#F1F1EF;
  --product-border:#E8E7E4;
  --product-text:#2C2C2B;
  --product-meta:#6B6B5E;
  --brand:var(--product-primary);
  --brand-soft:var(--product-primary-light);
  --brand-border:var(--product-primary-container);
  --ink:var(--product-text);
  --muted:var(--product-meta)
}
html,body{background:var(--product-page);color:var(--product-text);font-family:Inter,"PingFang SC","Microsoft YaHei",Arial,sans-serif}
.workspace-demo{background:var(--product-page);border:1px solid var(--product-border);border-radius:8px;box-shadow:0 1px 2px rgba(0,0,0,.05)}
.workspace-product-header{position:absolute;inset:0 0 auto;height:42px;padding:7px 12px 0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;background:var(--product-page);z-index:4;color:var(--product-text)}
.workspace-brand{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;white-space:nowrap}.workspace-brand img{width:19px;height:19px;display:block}.workspace-capsule-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600}.workspace-save-state{display:flex;align-items:center;gap:4px;color:var(--product-meta);font-size:9px;white-space:nowrap}.workspace-save-state span{font-size:10px;color:var(--product-primary)}
.workspace-content{inset:42px 0 0;padding:0 10px 10px;gap:12px}
.panel{background:var(--product-surface);border:1px solid var(--product-border);border-radius:8px;box-shadow:0 1px 2px rgba(0,0,0,.05)}
.panel-header{height:44px;padding:0 12px;background:#fff;border-bottom:1px solid var(--product-border);color:var(--product-text);font-size:12px;font-weight:600}
.panel-title{gap:8px;font-size:13px;font-weight:650}.muted,.tool-copy span,.translation,.context-label,.source-file small,.mode-input,.flash-hint,.exam-empty{color:var(--product-meta)}
.title-icon{width:20px;height:20px;border:0;border-radius:5px;background:var(--product-surface-elevated);color:var(--product-meta)}.title-icon img{width:15px;height:15px;display:block}.badge,.source-chip{color:var(--product-meta);background:var(--product-surface-elevated);border:1px solid var(--product-border);border-radius:6px;font-weight:600}
button{color:var(--product-text)}.button,.upload-button,.file-choice,.mode-selector,.mode-option,.tool-btn,.quiz-option{border-color:var(--product-border);border-radius:8px;background:#fff}.button.primary{border-color:var(--product-primary);background:var(--product-primary);color:#fff}.button.primary.demo-hover,.button.primary:hover{background:var(--product-primary-hover);border-color:var(--product-primary-hover)}
.button.demo-hover,.tool-btn.demo-hover,.upload-button.demo-hover,.quiz-option.demo-hover,.flash-card.demo-hover,.copy-tool.demo-hover{transform:translateY(-1px);border-color:#C8C7C3;box-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)}
.button.demo-click,.tool-btn.demo-click,.upload-button.demo-click,.quiz-option.demo-click,.flash-card.demo-click,.copy-tool.demo-click{transform:scale(.98);box-shadow:0 0 0 3px rgba(26,115,232,.13)}
.chat-scroll,.mode-chat-scroll{background:#fff}.message{font-size:10.5px;line-height:1.55;color:var(--product-text)}.message.system,.message.ai{position:relative;max-width:100%;padding:1px 0 1px 27px!important;border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;color:var(--product-text)!important}.message.system:before,.message.ai:before{content:"✦";position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:var(--product-primary-light);color:var(--product-primary);font-size:10px}.message.user{align-self:flex-end;max-width:85%;padding:7px 10px;background:var(--product-primary);color:#fff;border-radius:12px 12px 3px 12px;line-height:1.45}.message.ai b{color:var(--product-text)}
.chat-input,.mode-compose{border:1px solid var(--product-border);background:#fff;border-radius:12px;box-shadow:0 1px 2px rgba(0,0,0,.05);color:var(--product-meta)}.chat-send{display:grid;place-items:center;background:var(--product-primary);border:0;color:#fff}.chat-send.demo-hover{background:var(--product-primary-hover)}
.selection-toolbar,.copy-tool{background:#fff!important;color:var(--product-text)!important;border:1px solid var(--product-border)!important;border-radius:8px!important;box-shadow:0 8px 16px -4px rgba(0,0,0,.12),0 4px 8px -2px rgba(0,0,0,.08)!important}.selection-toolbar .ask-chat{color:var(--product-text)!important;font-weight:600!important}.selection-toolbar span{color:var(--product-meta)}
.select-term,.selection{background-image:linear-gradient(var(--product-primary-container),var(--product-primary-container))}.demo-cursor.is-dragging:before{background:var(--product-text)}
.timestamp{color:var(--product-primary)}.record-live{border-color:#F2D4D3;background:#FFF8F8}.record-start .mic{background:rgba(255,255,255,.16)}
.upload-button{border:1px dashed #C8C7C3;background:#fff;color:var(--product-primary)}.upload-symbol{background:var(--product-primary-light);color:var(--product-primary);border:0}.file-picker{border-color:var(--product-border);box-shadow:0 8px 16px -4px rgba(0,0,0,.12)}.file-choice{background:#fff}.upload-item{border-color:var(--product-border);background:#fff}.file-status{color:var(--product-meta)}.progress-track{background:var(--product-surface-elevated)}.progress-bar{background:var(--product-primary)}
.reading-result{gap:7px}.result-block{padding:8px 9px;border:1px solid var(--product-border);border-left:1px solid var(--product-border);border-radius:8px;background:#fff}.result-block>b,.eyebrow,.mode-context .eyebrow,.flash-definition,.guide-content h4,.structured-note h5{color:var(--product-text);font-weight:650}.result-block p{color:var(--product-text)}.reading-loading{background:var(--product-surface-elevated);color:var(--product-meta)}
.source-file,.mode-context,.context-card,.guide-section{border-color:var(--product-border);background:#fff}.doc-mark{border-color:var(--product-border);background:var(--product-surface-elevated);color:var(--product-meta)}.mode-context{background:#fff}.mode-compose{margin:0 12px 10px;padding:0 7px}.mode-selector{border-color:var(--product-border);background:var(--product-surface-elevated);color:var(--product-text);font-weight:600}.mode-menu{border-color:var(--product-border);box-shadow:0 8px 16px -4px rgba(0,0,0,.12),0 4px 8px -2px rgba(0,0,0,.08)}.mode-option{color:var(--product-text)}.mode-option:hover,.mode-option.demo-hover{background:var(--product-surface-elevated);color:var(--product-text)}
.document-page{background:#fff}.document-page p{color:var(--product-text)}.editor-toolbar{border-color:var(--product-border);color:var(--product-meta)}.editor-tool{border-radius:5px}.editor-caret-line{border-color:var(--product-border)}.editor-caret-line i{background:var(--product-text)}.structured-note h5{font-size:11px}
.tool-btn{border-color:var(--product-border);background:#fff}.tool-icon{background:var(--product-surface-elevated);color:var(--product-meta)}.tool-btn.active,.tool-btn.demo-hover{border-color:#C8C7C3;background:var(--product-surface-elevated);box-shadow:0 0 0 2px rgba(0,0,0,.025)}.mindmap{background:#fff;border-color:var(--product-border)}.mindmap path{stroke:#B8B7B2}.map-node{border-color:var(--product-border);border-radius:6px;background:#fff;color:var(--product-text);box-shadow:0 1px 2px rgba(0,0,0,.05)}.map-node.root{background:var(--product-primary);border-color:var(--product-primary);color:#fff}.map-node.n1{background:var(--product-primary-light);color:var(--product-text)}.quiz-card,.flash-face,.guide-card{border-color:var(--product-border);background:#fff}.quiz-option.correct.demo-hover{border-color:var(--product-primary);background:var(--product-primary-light)}.guide-chapter.active{background:var(--product-surface-elevated);color:var(--product-text)}
.demo-cursor{filter:drop-shadow(0 1px 1px rgba(44,44,43,.15))}.demo-cursor.is-text:before{background:var(--product-text)}.demo-cursor.is-text:after{border-color:var(--product-text)}
/* v0.6.5.31 — verified correction layer */
.workspace-product-header{display:none!important}
.workspace-content{inset:0!important;padding:10px!important}

/* Lecture: reserve fixed result slots so asking never reflows existing content. */
body[data-scene="lecture"] .chat-scroll{position:relative!important;overflow:hidden!important}
body[data-scene="lecture"] .lecture-question{position:absolute!important;left:12px!important;right:12px!important;top:48px!important;margin:0!important;transform:none!important}
body[data-scene="lecture"] .lecture-answer{position:absolute!important;left:12px!important;right:12px!important;top:103px!important;margin:0!important;transform:none!important}
body[data-scene="lecture"] .typing{position:absolute!important;left:14px!important;top:53px!important;margin:0!important}

/* Reading: single-line file title, balanced card spacing and genuine 0→20→50→72→100 progress. */
body[data-scene="reading"] .file-picker{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body[data-scene="reading"] .file-choice{height:68px!important;margin:0!important;padding:10px 12px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;gap:9px!important;text-align:left!important}
body[data-scene="reading"] .file-choice>span:last-child,body[data-scene="reading"] .file-meta{min-width:0!important}
body[data-scene="reading"] .file-choice b,body[data-scene="reading"] .file-name{display:block!important;max-width:none!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;word-break:normal!important}
body[data-scene="reading"] .upload-item{padding:10px!important;border-radius:10px!important}
body[data-scene="reading"] .file-row{grid-template-columns:32px minmax(0,1fr)!important;gap:8px!important}
body[data-scene="reading"] .progress-track{height:5px!important;background:var(--product-surface-elevated)!important}
body[data-scene="reading"] .progress-bar{width:var(--upload,0%)!important;transition:width .62s ease!important}
body[data-scene="reading"][data-phase="0"] .progress-bar,body[data-scene="reading"][data-phase="1"] .progress-bar,body[data-scene="reading"][data-phase="2"] .progress-bar{width:0!important}
body[data-scene="reading"][data-phase="3"] .progress-bar{width:20%!important}
body[data-scene="reading"][data-phase="4"] .progress-bar{width:50%!important}
body[data-scene="reading"][data-phase="5"] .progress-bar{width:72%!important}
body[data-scene="reading"][data-phase="6"] .progress-bar,body[data-scene="reading"][data-phase="7"] .progress-bar,body[data-scene="reading"][data-phase="8"] .progress-bar,body[data-scene="reading"][data-phase="9"] .progress-bar{width:100%!important}

/* Seminar / Essay: blue semantic labels are visually separated from generated content. */
.mode-chat-scroll{gap:8px!important;padding-top:10px!important}
.mode-chat-scroll .message.ai{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:5px!important;padding:5px 0 8px 27px!important;border-bottom:1px solid var(--product-border)!important}
.mode-chat-scroll .message.ai:last-of-type{border-bottom:0!important}
.mode-chat-scroll .message.ai .eyebrow{display:block!important;margin:0 0 6px!important;color:var(--product-primary)!important;font-size:10px!important;line-height:14px!important;font-weight:750!important}
.mode-chat-scroll .generated-content{display:block;color:var(--product-text);line-height:1.45}
.mode-chat-scroll .generated-content .source-chip{display:inline-block;margin-top:5px}
body[data-scene="essay"] .mode-chat-scroll{gap:5px!important;padding-block:8px 6px!important}
body[data-scene="essay"] .mode-chat-scroll .message{font-size:10px!important;line-height:1.38!important}
body[data-scene="essay"] .mode-chat-scroll .message.ai{gap:4px!important;padding-block:3px 6px!important}
body[data-scene="essay"] .mode-chat-scroll .message.system{padding-top:0!important;padding-bottom:0!important}
body[data-scene="essay"] .mode-context{padding:8px!important;margin-bottom:0!important}

/* Notes: one stable selection and an observable English paste sequence. */
body[data-scene="notes"] .select-b{background:none!important}
body[data-scene="notes"][data-phase="1"] .select-a,body[data-scene="notes"][data-phase="2"] .select-a,body[data-scene="notes"][data-phase="3"] .select-a,body[data-scene="notes"][data-phase="4"] .select-a,body[data-scene="notes"][data-phase="5"] .select-a,body[data-scene="notes"][data-phase="6"] .select-a,body[data-scene="notes"][data-phase="7"] .select-a,body[data-scene="notes"][data-phase="8"] .select-a{background-size:100% 100%!important}
.pasted-source{display:none;margin-top:10px;padding:9px 10px;border:1px solid var(--product-border);border-radius:8px;background:#fff;color:var(--product-text);font-size:10px;line-height:1.45}
body[data-scene="notes"] .paste-loading,body[data-scene="notes"] .structured-note{display:none}
body[data-scene="notes"][data-phase="6"] .pasted-source,body[data-scene="notes"][data-phase="7"] .pasted-source{display:block}
body[data-scene="notes"][data-phase="7"] .paste-loading{display:flex;margin-top:8px}
body[data-scene="notes"][data-phase="8"] .structured-note{display:block;color:var(--product-text)}
body[data-scene="notes"][data-phase="8"] .editor-caret-line{display:none}
body[data-scene="notes"][data-phase="5"] .editor-caret-line,body[data-scene="notes"][data-phase="6"] .editor-caret-line,body[data-scene="notes"][data-phase="7"] .editor-caret-line{display:block!important;height:48px!important}
body[data-scene="notes"][data-phase="6"] .editor-caret-line,body[data-scene="notes"][data-phase="7"] .editor-caret-line{height:4px!important;border:0!important;margin:0!important}

/* Exam: remove the unapproved blue emphasis from learning-guide taxonomy labels. */
body[data-scene="exam"] .guide-section>b{color:var(--product-text)!important}

.demo-cursor{filter:none!important}
.demo-cursor.is-arrow{width:16px!important;height:20px!important;background-size:16px 20px!important}
.demo-cursor.is-text{filter:none!important}

/* R44: separate pointer assets and an explicit copy → paste → bullet flow. */
.demo-cursor{pointer-events:none!important;filter:none!important;background:none!important;overflow:visible}
.demo-cursor:before,.demo-cursor:after{content:none!important;display:none!important}
.cursor-arrow-asset{display:none;width:18px;height:22px;overflow:visible}
.cursor-ibeam-asset{display:none;position:absolute;left:-5px;top:-10px;width:11px;height:20px;border-top:2px solid var(--product-text);border-bottom:2px solid var(--product-text)}
.cursor-ibeam-asset:before{content:"";position:absolute;left:4px;top:0;width:2px;height:16px;background:var(--product-text)}
.demo-cursor.is-arrow .cursor-arrow-asset{display:block}
.demo-cursor.is-text .cursor-ibeam-asset{display:block}
body[data-scene="notes"] .select-a{background-image:linear-gradient(var(--product-primary-container),var(--product-primary-container))!important;background-repeat:no-repeat!important;background-position:left top!important;background-size:0 100%!important;transition:background-size .76s linear!important}
body[data-scene="notes"][data-phase="1"] .select-a,body[data-scene="notes"][data-phase="2"] .select-a,body[data-scene="notes"][data-phase="3"] .select-a,body[data-scene="notes"][data-phase="4"] .select-a,body[data-scene="notes"][data-phase="5"] .select-a,body[data-scene="notes"][data-phase="6"] .select-a,body[data-scene="notes"][data-phase="7"] .select-a{background-size:100% 100%!important}
body[data-scene="notes"] .select-b{background:none!important}
body[data-scene="notes"] .copy-tool{display:none!important}
body[data-scene="notes"][data-phase="2"] .copy-tool,body[data-scene="notes"][data-phase="3"] .copy-tool{display:flex!important}
body[data-scene="notes"] .editor-caret-line{display:none!important;position:relative;height:42px!important;margin:0!important;border:0!important}
body[data-scene="notes"][data-phase="4"] .editor-caret-line{display:block!important}
body[data-scene="notes"] .editor-caret-line>i{position:absolute;left:1px;top:8px;width:1.5px;height:17px;background:var(--product-text);animation:caretBlink .85s steps(1,end) infinite}
@keyframes caretBlink{50%{opacity:.2}}
.paste-action{display:none;position:absolute;left:0;top:27px;height:28px;padding:0 10px;border:1px solid var(--product-border);border-radius:7px;background:#fff;color:var(--product-text);box-shadow:0 6px 14px rgba(0,0,0,.12);font-size:10px;font-weight:650}
body[data-scene="notes"][data-phase="4"] .paste-action{display:block}
body[data-scene="notes"] .pasted-source{display:none!important}
body[data-scene="notes"][data-phase="5"] .pasted-source,body[data-scene="notes"][data-phase="6"] .pasted-source{display:block!important}
body[data-scene="notes"] .structured-note{display:none!important}
body[data-scene="notes"][data-phase="7"] .structured-note{display:block!important;color:var(--product-text)}
.editor-tool{border:0;background:transparent;color:inherit;padding:0}
.bullet-tool.demo-hover,.bullet-tool.demo-click{background:var(--product-primary-light);color:var(--product-primary);box-shadow:0 0 0 1px var(--product-primary-container)}
.mode-chat-scroll .message.staged{display:none!important;opacity:0!important;transform:none!important}
body[data-scene="seminar"][data-phase="3"] .seminar-idea,body[data-scene="seminar"][data-phase="4"] .seminar-idea,body[data-scene="seminar"][data-phase="5"] .seminar-idea,body[data-scene="seminar"][data-phase="6"] .seminar-idea,body[data-scene="seminar"][data-phase="4"] .seminar-evidence,body[data-scene="seminar"][data-phase="5"] .seminar-evidence,body[data-scene="seminar"][data-phase="6"] .seminar-evidence,body[data-scene="seminar"][data-phase="5"] .seminar-follow,body[data-scene="seminar"][data-phase="6"] .seminar-follow,body[data-scene="seminar"][data-phase="6"] .seminar-response{display:grid!important;opacity:1!important}
body[data-scene="seminar"][data-phase="5"] .seminar-follow,body[data-scene="seminar"][data-phase="6"] .seminar-follow{display:block!important}
body[data-scene="essay"][data-phase="3"] .essay-thesis,body[data-scene="essay"][data-phase="4"] .essay-thesis,body[data-scene="essay"][data-phase="5"] .essay-thesis,body[data-scene="essay"][data-phase="6"] .essay-thesis,body[data-scene="essay"][data-phase="4"] .essay-argument,body[data-scene="essay"][data-phase="5"] .essay-argument,body[data-scene="essay"][data-phase="6"] .essay-argument,body[data-scene="essay"][data-phase="5"] .essay-outline,body[data-scene="essay"][data-phase="6"] .essay-outline,body[data-scene="essay"][data-phase="6"] .essay-source{display:grid!important;opacity:1!important}

/* R45: contract corrections — compact natural content height, exact Notes causality and canonical tokens. */
body[data-scene="reading"] .workspace-content,
body[data-scene="seminar"] .workspace-content,
body[data-scene="notes"] .workspace-content,
body[data-scene="essay"] .workspace-content{inset:20px 10px auto!important;height:416px!important;padding:0!important;align-items:stretch!important}
body[data-scene="reading"] .resource-body{padding:12px!important;gap:10px!important}
body[data-scene="reading"] .chat-scroll{padding:10px!important;gap:7px!important}
body[data-scene="reading"] .result-block{padding:7px 9px!important}
body[data-scene="reading"] .result-block p{line-height:1.42!important;margin-top:3px!important}
.mode-chat-scroll{gap:6px!important;padding:8px 12px 6px!important}
.mode-chat-scroll .message.system{line-height:1.5!important}
.mode-chat-scroll .message.ai{gap:4px!important;padding:3px 0 6px 27px!important;line-height:1.44!important}
.mode-chat-scroll .message.ai .eyebrow{margin:0 0 5px!important;line-height:1.35!important}
.mode-chat-scroll .generated-content{line-height:1.44!important}
body[data-scene="seminar"] .mode-context,body[data-scene="essay"] .mode-context{padding:8px!important}
body[data-scene="seminar"] .context-card,body[data-scene="essay"] .context-card{padding:8px!important;line-height:1.45!important}
body[data-scene="notes"] .document-page{padding:14px 16px!important}
body[data-scene="notes"] .document-page h4{line-height:1.35!important;margin-bottom:9px!important}
body[data-scene="notes"] .document-page p{line-height:1.48!important;margin:0 0 9px!important}
body[data-scene="notes"] .note-editor-body{padding:14px 16px!important}
body[data-scene="notes"].is-resetting .select-a{transition:none!important}
body[data-scene="notes"] .select-a{background-size:0 100%!important;transition:background-size .76s linear!important}
body[data-scene="notes"][data-phase="1"] .select-a,body[data-scene="notes"][data-phase="2"] .select-a,body[data-scene="notes"][data-phase="3"] .select-a,body[data-scene="notes"][data-phase="4"] .select-a,body[data-scene="notes"][data-phase="5"] .select-a,body[data-scene="notes"][data-phase="6"] .select-a,body[data-scene="notes"][data-phase="7"] .select-a,body[data-scene="notes"][data-phase="8"] .select-a{background-size:100% 100%!important}
body[data-scene="notes"] .copy-tool{display:none!important}
body[data-scene="notes"][data-phase="2"] .copy-tool,body[data-scene="notes"][data-phase="3"] .copy-tool{display:flex!important}
body[data-scene="notes"] .editor-caret-line{display:none!important;height:42px!important;margin:0!important;border:0!important}
body[data-scene="notes"][data-phase="4"] .editor-caret-line,body[data-scene="notes"][data-phase="5"] .editor-caret-line{display:block!important}
body[data-scene="notes"] .paste-action{display:none!important}
body[data-scene="notes"][data-phase="5"] .paste-action{display:block!important}
body[data-scene="notes"] .pasted-source{display:none!important;margin:8px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:10.5px!important;line-height:1.5!important}
body[data-scene="notes"][data-phase="6"] .pasted-source,body[data-scene="notes"][data-phase="7"] .pasted-source{display:block!important}
body[data-scene="notes"] .structured-note{display:none!important;margin-top:8px!important;padding:0!important;border:0!important;background:transparent!important}
body[data-scene="notes"][data-phase="8"] .structured-note{display:block!important}
body[data-scene="notes"] .structured-note ul{margin:0!important;padding-left:18px!important}
body[data-scene="notes"] .structured-note li{padding-left:2px!important;font-size:10.5px!important;line-height:1.5!important;color:var(--product-text)!important}
body[data-scene="notes"][data-phase="8"] .editor-caret-line{display:none!important}

/* R48: one persistent Reading file object across selection, upload and completion. */
body[data-scene="reading"] .file-object{position:absolute!important;left:10px!important;top:88px!important;box-sizing:border-box!important;width:179px!important;height:56px!important;padding:4px 0 8px!important;display:none;grid-template-columns:30px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important}
body[data-scene="reading"]:not([data-phase="0"]) .file-object{display:grid!important}
body[data-scene="reading"] .file-object .pdf{width:27px!important;height:31px!important;border-radius:5px!important}
body[data-scene="reading"] .file-object .file-meta{min-width:0!important;line-height:1!important}
body[data-scene="reading"] .file-object .file-name{font-size:10px!important;line-height:14px!important;font-weight:700!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body[data-scene="reading"] .file-object .file-status{display:block!important;margin-top:1px!important;font-size:9px!important;line-height:12px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;color:var(--product-meta)!important}
body[data-scene="reading"] .file-object .file-size,body[data-scene="reading"] .file-object .uploading-label,body[data-scene="reading"] .file-object .uploaded-label{display:none!important}
body[data-scene="reading"][data-phase="1"] .file-object .file-size{display:inline!important}
body[data-scene="reading"][data-phase="2"] .file-object .uploading-label,body[data-scene="reading"][data-phase="3"] .file-object .uploading-label,body[data-scene="reading"][data-phase="4"] .file-object .uploading-label,body[data-scene="reading"][data-phase="5"] .file-object .uploading-label,body[data-scene="reading"][data-phase="6"] .file-object .uploading-label{display:inline!important}
body[data-scene="reading"][data-phase="7"] .file-object .uploaded-label,body[data-scene="reading"][data-phase="8"] .file-object .uploaded-label,body[data-scene="reading"][data-phase="9"] .file-object .uploaded-label{display:inline!important}
body[data-scene="reading"] .file-object .progress-track{position:absolute!important;left:0!important;right:0!important;bottom:2px!important;height:4px!important;margin:0!important;display:none!important}
body[data-scene="reading"][data-phase="2"] .file-object .progress-track,body[data-scene="reading"][data-phase="3"] .file-object .progress-track,body[data-scene="reading"][data-phase="4"] .file-object .progress-track,body[data-scene="reading"][data-phase="5"] .file-object .progress-track,body[data-scene="reading"][data-phase="6"] .file-object .progress-track{display:block!important}
.cursor-ibeam-asset{left:-6px!important;top:-11px!important;width:12px!important;height:22px!important;border:0!important}
.cursor-ibeam-asset:before{left:5px!important;top:0!important;width:1.5px!important;height:22px!important;background:var(--product-text)!important}
.cursor-ibeam-asset:after{content:"";position:absolute;left:2px;top:0;width:8px;height:1.5px;background:var(--product-text);box-shadow:0 20.5px 0 var(--product-text)}
.mode-chat-scroll{gap:8px!important}
.mode-chat-scroll .message.system,.mode-chat-scroll .message.ai{box-sizing:border-box!important;width:100%!important;padding-left:32px!important}
.mode-chat-scroll .message.system:before,.mode-chat-scroll .message.ai:before{left:2px!important;top:3px!important;width:20px!important;height:20px!important}
.mode-chat-scroll .message.ai{grid-template-columns:minmax(0,1fr)!important}
.mode-chat-scroll .message.ai .eyebrow,.mode-chat-scroll .message.ai .generated-content{min-width:0!important;margin-left:0!important;text-align:left!important}
body[data-scene="exam"] .flash-term,body[data-scene="exam"] .flash-definition{color:var(--product-text)!important}
body[data-scene="exam"] .flash-source{background:var(--product-surface-elevated)!important;color:var(--product-meta)!important}

@media(prefers-reduced-motion:reduce){.workspace-product-header *{animation:none!important}}

/* R47 feedback: the welcome line is label-only; keep its icon from touching the first generated response. */
body[data-scene="seminar"] .mode-chat-scroll>.message.system:first-child,body[data-scene="essay"] .mode-chat-scroll>.message.system:first-child{padding-left:0!important;margin-bottom:14px!important}
body[data-scene="seminar"] .mode-chat-scroll>.message.system:first-child::before,body[data-scene="essay"] .mode-chat-scroll>.message.system:first-child::before{display:none!important}
body[data-scene="seminar"] .mode-chat-scroll>.message.system:first-child+.message,body[data-scene="essay"] .mode-chat-scroll>.message.system:first-child+.message{margin-top:0!important}

/* R47: Notes content does not exist until paste; the same node is replaced only by list structure. */
.workspace-demo{border:0!important;border-radius:0!important;box-shadow:none!important}
body[data-scene="notes"] .note-content-slot{min-width:0;margin:0;padding:0}
body[data-scene="notes"] .note-content-slot .pasted-source{display:block!important;margin:8px 0 0!important;padding:0!important;border:0!important;background:transparent!important;color:var(--product-text)!important;font-size:10.5px!important;line-height:1.5!important}
body[data-scene="notes"] .note-content-slot .structured-note{display:block!important;margin:8px 0 0!important;padding:0!important;border:0!important;background:transparent!important}
body[data-scene="notes"] .note-content-slot .structured-note ul{margin:0!important;padding-left:18px!important}
body[data-scene="notes"] .note-content-slot .structured-note li{padding-left:2px!important;font-size:10.5px!important;line-height:1.5!important;color:var(--product-text)!important}
.message.system:before,.message.ai:before{content:""!important;background:var(--product-primary-light) url("assets/sparkles.svg") center/12px 12px no-repeat!important;color:transparent!important}

/* R51 Exam: Workspace-token mind map with stable staged reveal. */
body[data-scene="exam"]{background:#F7F6F3;color:#2C2C2B}
body[data-scene="exam"] .workspace-demo{width:696px;height:456px;margin:12px;background:#F7F6F3}
body[data-scene="exam"] .workspace-topbar{height:48px;display:flex;align-items:center;gap:14px;padding:0 14px;border-bottom:1px solid #E8E7E4;background:#FFFFFF}
body[data-scene="exam"] .workspace-brand{display:flex;align-items:center;gap:7px;font-size:12px}
body[data-scene="exam"] .workspace-brand img{width:20px;height:18px}
body[data-scene="exam"] .workspace-course{display:flex;align-items:baseline;gap:8px;min-width:0;flex:1}
body[data-scene="exam"] .workspace-course strong{font-size:12px;white-space:nowrap}
body[data-scene="exam"] .workspace-course span{color:#6B6B5E;font-size:10px}
body[data-scene="exam"] .workspace-user{width:26px;height:26px;display:grid;place-items:center;border-radius:50%;background:#E8F0FE;color:#1A73E8;font-size:9px;font-weight:700}
body[data-scene="exam"] .workspace-body{height:408px;display:grid;grid-template-columns:138px minmax(0,1fr);gap:10px;padding:10px}
body[data-scene="exam"] .workspace-sidebar{display:flex;flex-direction:column;border:1px solid #E8E7E4;border-radius:12px;background:#FFFFFF;overflow:hidden}
body[data-scene="exam"] .sidebar-title{padding:12px 12px 8px;color:#6B6B5E;font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
body[data-scene="exam"] .tool-list{padding:0 7px;gap:3px}
body[data-scene="exam"] .tool-btn{height:36px;border:0;border-radius:8px;padding:0 8px;gap:8px;background:transparent;color:#6B6B5E}
body[data-scene="exam"] .tool-btn img{width:18px;height:18px}
body[data-scene="exam"] .tool-btn span{font-size:10px;font-weight:600}
body[data-scene="exam"] .tool-btn.active{border:0;background:#E8F0FE;color:#1A73E8;box-shadow:none}
body[data-scene="exam"] .sidebar-note{display:grid;gap:3px;margin:auto 9px 10px;padding-top:10px;border-top:1px solid #E8E7E4}
body[data-scene="exam"] .sidebar-note strong{font-size:9px}
body[data-scene="exam"] .sidebar-note span{color:#6B6B5E;font-size:8px}
body[data-scene="exam"] .exam-layout{display:grid;grid-template-columns:152px minmax(0,1fr);gap:10px;min-width:0;min-height:0}
body[data-scene="exam"] .panel{border-color:#E8E7E4;border-radius:12px;box-shadow:none;background:#FFFFFF}
body[data-scene="exam"] .panel-title{height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 10px;border-bottom:1px solid #E8E7E4;font-size:10px;font-weight:700}
body[data-scene="exam"] .panel-title small{color:#6B6B5E;font-size:8px;font-weight:500}
body[data-scene="exam"] .exam-source-list{display:grid;gap:4px;padding:8px}
body[data-scene="exam"] .source-item{display:flex;align-items:center;gap:7px;padding:7px;border-radius:8px;background:#F7F6F3}
body[data-scene="exam"] .source-item img{width:18px;height:18px;flex:0 0 18px}
body[data-scene="exam"] .source-item span{min-width:0;display:grid;gap:2px}
body[data-scene="exam"] .source-item strong{overflow:hidden;font-size:8px;line-height:12px;text-overflow:ellipsis;white-space:nowrap}
body[data-scene="exam"] .source-item small{color:#6B6B5E;font-size:7px}
body[data-scene="exam"] .source-summary{margin:4px 8px;padding:9px;border:1px solid #E8E7E4;border-radius:8px}
body[data-scene="exam"] .source-summary strong{font-size:9px}
body[data-scene="exam"] .source-summary p{margin:4px 0 0;color:#6B6B5E;font-size:8px;line-height:12px}
body[data-scene="exam"] .exam-preview-panel{position:relative;min-width:0}
body[data-scene="exam"] .mindmap-viewport{position:absolute;inset:38px 0 0;overflow:hidden;background:#F7F6F3;opacity:0;transition:opacity .25s ease}
body[data-scene="exam"][data-tool="mindmap"] .mindmap-viewport{opacity:1}
body[data-scene="exam"] .mindmap-stage{position:absolute;left:0;top:0;width:960px;height:520px;transform:translateX(0);transform-origin:left top;transition:transform 1.05s cubic-bezier(.22,.8,.28,1)}
body[data-scene="exam"] .mindmap-connectors{position:absolute;inset:0;width:960px;height:520px;overflow:visible}
body[data-scene="exam"] .mindmap-connectors path{fill:none;stroke:#9CBDE8;stroke-width:1.6;stroke-linecap:round}
body[data-scene="exam"] .map-lines,body[data-scene="exam"] .map-node{opacity:0;transition:opacity .42s ease,transform .42s ease}
body[data-scene="exam"] .map-node{position:absolute;left:var(--x);top:var(--y);min-width:118px;max-width:150px;padding:8px 12px;border:1px solid #E8E7E4;border-radius:8px;background:#FFFFFF;color:#2C2C2B;box-shadow:none;font-size:10px;line-height:16px;font-weight:550;text-align:center;white-space:nowrap;transform:translateX(-7px)}
body[data-scene="exam"] .map-root{min-width:144px;padding:11px 16px;border-color:#1A73E8;border-radius:12px;background:#1A73E8;color:#FFFFFF;font-size:12px;font-weight:700}
body[data-scene="exam"] .map-l1{border-color:#AFCBF0;background:#E8F0FE;color:#2C2C2B;font-size:10.5px;font-weight:650}
body[data-scene="exam"] .map-l2{background:#FFFFFF}
body[data-scene="exam"] .map-l3{border-color:#E8E7E4;background:#F1F1EF;color:#6B6B5E;font-size:9px}
body[data-scene="exam"][data-phase="2"] .map-root,body[data-scene="exam"][data-phase="3"] .map-root,body[data-scene="exam"][data-phase="4"] .map-root,body[data-scene="exam"][data-phase="5"] .map-root,body[data-scene="exam"][data-phase="6"] .map-root{opacity:1;transform:none}
body[data-scene="exam"][data-phase="3"] .map-lines-l1,body[data-scene="exam"][data-phase="4"] .map-lines-l1,body[data-scene="exam"][data-phase="5"] .map-lines-l1,body[data-scene="exam"][data-phase="6"] .map-lines-l1,body[data-scene="exam"][data-phase="3"] .map-l1,body[data-scene="exam"][data-phase="4"] .map-l1,body[data-scene="exam"][data-phase="5"] .map-l1,body[data-scene="exam"][data-phase="6"] .map-l1{opacity:1;transform:none}
body[data-scene="exam"][data-phase="4"] .map-lines-l2,body[data-scene="exam"][data-phase="5"] .map-lines-l2,body[data-scene="exam"][data-phase="6"] .map-lines-l2,body[data-scene="exam"][data-phase="4"] .map-l2,body[data-scene="exam"][data-phase="5"] .map-l2,body[data-scene="exam"][data-phase="6"] .map-l2{opacity:1;transform:none}
body[data-scene="exam"][data-phase="5"] .map-lines-l3,body[data-scene="exam"][data-phase="6"] .map-lines-l3,body[data-scene="exam"][data-phase="5"] .map-l3,body[data-scene="exam"][data-phase="6"] .map-l3{opacity:1;transform:none}
body[data-scene="exam"][data-phase="6"] .mindmap-stage{transform:translateX(-330px)}

/* R52: exact Workspace icon sizing and causal scene corrections. */
.record-start .mic img,.upload-symbol img{width:18px;height:18px;display:block}.chat-send img{width:13px;height:13px;display:block}.mode-selector img{width:13px;height:13px;display:block}.copy-tool img,.paste-action img{width:14px;height:14px;display:block}.editor-tool img{width:14px;height:14px;display:block}.copy-tool,.paste-action{gap:5px!important;align-items:center!important}
.demo-cursor.is-text .cursor-arrow-asset{display:none!important}.demo-cursor.is-text .cursor-ibeam-asset{display:block!important;width:2px!important;height:16px!important;border-radius:2px!important;background:#2C2C2B!important;box-shadow:0 -3px 0 -1px #2C2C2B,0 3px 0 -1px #2C2C2B}.demo-cursor.is-arrow .cursor-ibeam-asset{display:none!important}
body[data-scene="reading"] .file-object{display:grid!important;width:160px!important;height:56px!important;grid-template-columns:28px minmax(0,1fr)!important;grid-template-rows:1fr 5px!important;column-gap:7px!important;padding:7px 8px 6px!important}
body[data-scene="reading"][data-phase="1"] .file-object{border-color:#D2E3FC!important;background:#E8F0FE!important;box-shadow:0 0 0 2px rgba(26,115,232,.08)!important}
body[data-scene="reading"] .pdf-icon{grid-row:1;width:24px;height:24px;align-self:center;display:block}
body[data-scene="reading"] .file-meta{grid-row:1;align-self:center;min-width:0!important}
body[data-scene="reading"] .file-name{font-size:9.5px!important;line-height:14px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body[data-scene="reading"] .file-size,body[data-scene="reading"][data-phase="0"] .file-object .file-size{display:inline!important}
body[data-scene="reading"] .file-status{margin-top:1px!important;line-height:12px!important}
body[data-scene="reading"] .progress-track{grid-column:1/-1!important;grid-row:2!important;align-self:end!important;margin:0!important;height:4px!important}
body[data-scene="seminar"] .mode-chat-scroll,body[data-scene="essay"] .mode-chat-scroll{gap:8px!important;padding:10px 12px!important}
body[data-scene="seminar"] .message,body[data-scene="essay"] .message{line-height:1.48!important;margin:0!important}
body[data-scene="seminar"] .eyebrow,body[data-scene="essay"] .eyebrow{display:block!important;margin:0 0 4px!important;font-size:9px!important;font-weight:650!important;letter-spacing:0!important;text-transform:none!important}
body[data-scene="seminar"] .generated-content,body[data-scene="essay"] .generated-content{display:block!important;line-height:1.48!important}

/* R52 Exam: real Studio shell and four non-empty generated results. */
body[data-scene="exam"] .workspace-demo{background:#F7F6F3!important}
body[data-scene="exam"] .workspace-topbar{height:42px!important;padding:0 12px!important;border-bottom:1px solid #E8E7E4!important;background:#F7F6F3!important}
body[data-scene="exam"] .workspace-topbar .workspace-brand{font-size:12px!important;font-weight:700!important}body[data-scene="exam"] .workspace-topbar .workspace-brand img{width:19px!important;height:19px!important}
body[data-scene="exam"] .workspace-name{font-size:11px!important;font-weight:600!important;color:#2C2C2B!important}body[data-scene="exam"] .workspace-state{font-size:9px!important;color:#6B6B5E!important}
body[data-scene="exam"] .workspace-body{position:absolute!important;inset:42px 0 0!important;display:grid!important;grid-template-columns:154px minmax(0,1fr)!important;gap:10px!important;padding:10px!important}
body[data-scene="exam"] .studio-sidebar,body[data-scene="exam"] .studio-preview{min-width:0!important;min-height:0!important;border:1px solid #E8E7E4!important;border-radius:8px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 1px 2px rgba(0,0,0,.05)!important}
body[data-scene="exam"] .studio-heading,body[data-scene="exam"] .studio-preview-head{height:42px!important;padding:0 10px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;border-bottom:1px solid #E8E7E4!important;background:#fff!important}
body[data-scene="exam"] .studio-heading strong,body[data-scene="exam"] .studio-preview-head strong{font-size:12px!important;font-weight:650!important;color:#2C2C2B!important}body[data-scene="exam"] .studio-heading span,body[data-scene="exam"] .studio-preview-head span{font-size:8px!important;color:#6B6B5E!important}
body[data-scene="exam"] .tool-list{padding:8px!important;display:grid!important;gap:6px!important}
body[data-scene="exam"] .tool-btn{height:54px!important;width:100%!important;padding:0 8px!important;display:flex!important;align-items:center!important;gap:8px!important;border:1px solid #E8E7E4!important;border-radius:8px!important;background:#fff!important;text-align:left!important;box-shadow:none!important}
body[data-scene="exam"] .tool-btn>img{width:20px!important;height:20px!important;display:block!important;flex:0 0 20px!important}body[data-scene="exam"] .tool-btn span{min-width:0!important}body[data-scene="exam"] .tool-btn b{display:block!important;font-size:10px!important;line-height:14px!important;color:#2C2C2B!important}body[data-scene="exam"] .tool-btn small{display:block!important;margin-top:1px!important;font-size:8px!important;line-height:11px!important;color:#6B6B5E!important}
body[data-scene="exam"] .tool-btn.active,body[data-scene="exam"] .tool-btn.demo-hover{border-color:#D2E3FC!important;background:#E8F0FE!important;box-shadow:none!important;transform:none!important}
body[data-scene="exam"] .exam-result{position:relative!important;height:calc(100% - 42px)!important;padding:8px!important;overflow:hidden!important}
body[data-scene="exam"] .studio-intro{height:100%;display:grid;place-content:center;justify-items:center;gap:7px;text-align:center;color:#6B6B5E}body[data-scene="exam"] .studio-intro img{width:24px;height:24px}body[data-scene="exam"] .studio-intro strong{font-size:12px;color:#2C2C2B}body[data-scene="exam"] .studio-intro span{font-size:9px}
body[data-scene="exam"] .tool-result{display:none!important;height:100%!important;min-height:0!important}body[data-scene="exam"][data-tool="mindmap"] .studio-intro,body[data-scene="exam"][data-tool="flash"] .studio-intro,body[data-scene="exam"][data-tool="quiz"] .studio-intro,body[data-scene="exam"][data-tool="guide"] .studio-intro{display:none!important}body[data-scene="exam"][data-tool="mindmap"] .mindmap-result,body[data-scene="exam"][data-tool="flash"] .flash-result,body[data-scene="exam"][data-tool="quiz"] .quiz-result,body[data-scene="exam"][data-tool="guide"] .guide-result{display:block!important}
body[data-scene="exam"] .mindmap-viewport{position:relative!important;height:100%!important;border:1px solid #E8E7E4!important;border-radius:8px!important;background:#fff!important;overflow:hidden!important}
body[data-scene="exam"] .mindmap-stage{position:absolute!important;left:0!important;top:0!important;width:520px!important;height:350px!important;transform-origin:0 0!important;transition:transform .8s cubic-bezier(.22,.61,.36,1)!important}
body[data-scene="exam"] .mindmap-lines{position:absolute!important;inset:0!important;width:520px!important;height:350px!important}body[data-scene="exam"] .mindmap-lines path{fill:none!important;stroke:#B8B7B2!important;stroke-width:1.35!important;stroke-linecap:round!important}
body[data-scene="exam"] .map-node{position:absolute!important;min-width:112px!important;max-width:118px!important;height:30px!important;padding:0 7px!important;display:flex!important;align-items:center!important;justify-content:center!important;border:1px solid #E8E7E4!important;border-radius:6px!important;background:#fff!important;color:#2C2C2B!important;font-size:9.5px!important;line-height:12px!important;font-weight:560!important;text-align:center!important;white-space:nowrap!important;box-shadow:0 1px 2px rgba(0,0,0,.05)!important;opacity:0!important;transform:translateX(-5px)!important;transition:opacity .34s ease,transform .34s ease!important}
body[data-scene="exam"] .map-node.root{min-width:112px!important;background:#1A73E8!important;border-color:#1A73E8!important;color:#fff!important;font-size:10px!important;font-weight:650!important}body[data-scene="exam"] .map-node.l1{background:#E8F0FE!important;border-color:#D2E3FC!important;font-weight:650!important}body[data-scene="exam"] .map-node.l2{color:#2C2C2B!important}body[data-scene="exam"] .map-node.l3{min-width:102px!important;max-width:102px!important;height:28px!important;color:#6B6B5E!important;font-size:9px!important}
body[data-scene="exam"] .line-level{opacity:0!important;transition:opacity .34s ease!important}
body[data-scene="exam"][data-phase="1"] .map-node.root,body[data-scene="exam"][data-phase="2"] .map-node.root,body[data-scene="exam"][data-phase="3"] .map-node.root,body[data-scene="exam"][data-phase="4"] .map-node.root,body[data-scene="exam"][data-phase="5"] .map-node.root{opacity:1!important;transform:none!important}
body[data-scene="exam"][data-phase="2"] .map-node.l1,body[data-scene="exam"][data-phase="3"] .map-node.l1,body[data-scene="exam"][data-phase="4"] .map-node.l1,body[data-scene="exam"][data-phase="5"] .map-node.l1,body[data-scene="exam"][data-phase="2"] .line-l1,body[data-scene="exam"][data-phase="3"] .line-l1,body[data-scene="exam"][data-phase="4"] .line-l1,body[data-scene="exam"][data-phase="5"] .line-l1{opacity:1!important;transform:none!important}
body[data-scene="exam"][data-phase="3"] .map-node.l2,body[data-scene="exam"][data-phase="4"] .map-node.l2,body[data-scene="exam"][data-phase="5"] .map-node.l2,body[data-scene="exam"][data-phase="3"] .line-l2,body[data-scene="exam"][data-phase="4"] .line-l2,body[data-scene="exam"][data-phase="5"] .line-l2{opacity:1!important;transform:none!important}
body[data-scene="exam"][data-phase="4"] .map-node.l3,body[data-scene="exam"][data-phase="5"] .map-node.l3,body[data-scene="exam"][data-phase="4"] .line-l3,body[data-scene="exam"][data-phase="5"] .line-l3{opacity:1!important;transform:none!important}
body[data-scene="exam"][data-phase="5"] .mindmap-stage{transform:translate(5px,3px) scale(.92)!important}
body[data-scene="exam"] .flash-scene{height:100%;display:grid;place-items:center;perspective:900px}body[data-scene="exam"] .flash-card-3d{position:relative;width:300px;height:220px;transform-style:preserve-3d;transition:transform .72s cubic-bezier(.2,.7,.2,1)}body[data-scene="exam"][data-flipped="true"] .flash-card-3d{transform:rotateY(180deg)}body[data-scene="exam"] .flash-face{position:absolute;inset:0;padding:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:1px solid #E8E7E4;border-radius:14px;background:#fff;backface-visibility:hidden;box-shadow:0 8px 20px rgba(44,44,43,.08);text-align:center}body[data-scene="exam"] .flash-back{transform:rotateY(180deg);background:#F7F6F3}body[data-scene="exam"] .flash-face>span,body[data-scene="exam"] .flash-face small{font-size:9px;color:#6B6B5E}body[data-scene="exam"] .flash-face strong{font-size:19px;color:#2C2C2B}body[data-scene="exam"] .flash-face p{margin:0;font-size:11px;line-height:1.55;color:#2C2C2B}
body[data-scene="exam"] .quiz-real{width:330px;margin:12px auto;padding:16px;border:1px solid #E8E7E4;border-radius:12px;background:#fff}body[data-scene="exam"] .quiz-progress{font-size:9px;color:#6B6B5E}body[data-scene="exam"] .quiz-real h3{margin:8px 0 12px;font-size:12px;line-height:1.45;color:#2C2C2B}body[data-scene="exam"] .quiz-choice{width:100%;min-height:36px;margin:5px 0;padding:7px 10px;border:1px solid #E8E7E4;border-radius:8px;background:#fff;font-size:9.5px;text-align:left;color:#2C2C2B}body[data-scene="exam"][data-phase="9"] .quiz-correct{border-color:#1A73E8!important;background:#E8F0FE!important;color:#1765CC!important}body[data-scene="exam"] .quiz-feedback{display:none;margin-top:8px;padding:8px;border-radius:8px;background:#E8F0FE;font-size:9px;line-height:1.4;color:#2C2C2B}body[data-scene="exam"][data-phase="9"] .quiz-feedback{display:grid;gap:2px}body[data-scene="exam"] .quiz-feedback strong{color:#1765CC}
body[data-scene="exam"] .guide-real{width:350px;margin:8px auto;padding:14px;border:1px solid #E8E7E4;border-radius:12px;background:#fff}body[data-scene="exam"] .guide-real header{padding-bottom:9px;border-bottom:1px solid #E8E7E4}body[data-scene="exam"] .guide-real header span{display:block;font-size:9px;color:#6B6B5E}body[data-scene="exam"] .guide-real header strong{display:block;margin-top:2px;font-size:13px;color:#2C2C2B}.guide-steps{display:grid;gap:7px;margin-top:10px}.guide-steps section{display:flex;gap:8px;align-items:flex-start}.guide-steps section>b{width:20px;height:20px;display:grid;place-items:center;border-radius:6px;background:#E8F0FE;color:#1A73E8;font-size:9px}.guide-steps section div{flex:1}.guide-steps section strong{display:block;font-size:10px;color:#2C2C2B}.guide-steps section p{margin:2px 0 0;font-size:9px;line-height:1.35;color:#6B6B5E}.guide-advice{margin:10px 0 0;padding:8px;border-radius:8px;background:#F1F1EF;font-size:9px;line-height:1.45;color:#2C2C2B}

body[data-scene="exam"] .preview-placeholder{display:none;position:absolute;inset:38px 0 0;place-items:center;color:#6B6B5E;background:#F7F6F3;font-size:11px}
body[data-scene="exam"][data-tool="flash"] .preview-flash,body[data-scene="exam"][data-tool="quiz"] .preview-quiz,body[data-scene="exam"][data-tool="guide"] .preview-guide{display:grid}
@media(prefers-reduced-motion:reduce){body[data-scene="exam"] .mindmap-stage,body[data-scene="exam"] .map-lines,body[data-scene="exam"] .map-node{transition:none!important}}

/* R53: lock first-frame geometry, single cursor actor, and scene detail corrections. */
body[data-scene="lecture"] .selection-toolbar{transition:opacity .16s ease!important;transform:none!important}
body[data-scene="lecture"] .record-start .mic{background:#fff!important;box-shadow:0 0 0 1px rgba(255,255,255,.72)!important}
body[data-scene="lecture"] .record-start .mic img{width:18px!important;height:18px!important;opacity:1!important}
body[data-scene="reading"][data-phase="1"] .file-object{border-color:transparent!important;background:transparent!important;box-shadow:none!important}
body[data-scene="reading"][data-phase="2"] .upload-button{border-color:#1A73E8!important;background:#E8F0FE!important;box-shadow:inset 0 0 0 1px #1A73E8!important;transform:none!important}
body[data-scene="notes"] .document-page,body[data-scene="notes"] .note-editor-body{caret-color:transparent!important;user-select:none!important}
body[data-scene="notes"] .cursor-ibeam-asset{left:-1px!important;top:-8px!important;width:2px!important;height:16px!important;border:0!important;background:#2C2C2B!important;box-shadow:0 -3px 0 -1px #2C2C2B,0 3px 0 -1px #2C2C2B!important}
body[data-scene="notes"] .cursor-ibeam-asset::before,body[data-scene="notes"] .cursor-ibeam-asset::after{content:none!important;display:none!important}
body[data-scene="notes"] .editor-caret-line>i{display:none!important;animation:none!important}
body[data-scene="notes"] .paste-action{box-sizing:border-box!important;min-width:68px!important;height:30px!important;padding:0 10px!important;align-items:center!important;justify-content:center!important;line-height:1!important}
body[data-scene="notes"][data-phase="5"] .paste-action{display:flex!important}
body[data-scene="exam"] .studio-heading{justify-content:flex-start!important}
body[data-scene="exam"] .studio-preview-head:has(.preview-title:empty){justify-content:flex-end!important}
body[data-scene="exam"] .preview-title:empty{display:none!important}
body[data-scene="exam"] .next-generation{white-space:nowrap!important}
body[data-scene="exam"] .mindmap-stage{height:360px!important}

/* R54: distinguish selection I-beam from insertion caret, and keep exactly one cursor mode visible. */
body[data-scene="notes"] .demo-cursor.is-text .cursor-ibeam-asset{left:-4px!important;top:-9px!important;width:2px!important;height:18px!important;border:0!important;border-radius:1px!important;background:#2C2C2B!important;box-shadow:none!important}
body[data-scene="notes"] .cursor-ibeam-asset::before,body[data-scene="notes"] .cursor-ibeam-asset::after{content:""!important;display:block!important;position:absolute!important;left:-3px!important;width:8px!important;height:2px!important;border-radius:1px!important;background:#2C2C2B!important}
body[data-scene="notes"] .cursor-ibeam-asset::before{top:0!important}
body[data-scene="notes"] .cursor-ibeam-asset::after{bottom:0!important}
@keyframes notes-caret-blink{0%,46%{opacity:1}47%,100%{opacity:0}}
body[data-scene="notes"] .editor-caret-line>i{display:none!important;width:2px!important;height:16px!important;border-radius:1px!important;background:#2C2C2B!important;animation:notes-caret-blink .9s step-end infinite!important}
body[data-scene="notes"][data-phase="4"] .editor-caret-line>i{display:block!important}
body[data-scene="notes"] .pasted-caret{display:none!important;width:2px;height:15px;margin-left:2px;vertical-align:-2px;border-radius:1px;background:#2C2C2B;animation:notes-caret-blink .9s step-end infinite}

/* R57: one semantic I-beam asset only. Remove the inherited second vertical stroke. */
.demo-cursor.is-text::before,.demo-cursor.is-text::after{content:none!important;display:none!important}
.demo-cursor.is-text .cursor-ibeam-asset{position:absolute!important;left:-4px!important;top:-9px!important;width:2px!important;height:18px!important;border:0!important;border-radius:1px!important;background:#2C2C2B!important;box-shadow:none!important;transform:none!important}
.demo-cursor.is-text .cursor-ibeam-asset::before,.demo-cursor.is-text .cursor-ibeam-asset::after{content:""!important;display:block!important;position:absolute!important;left:-3px!important;right:auto!important;width:8px!important;height:2px!important;border:0!important;border-radius:1px!important;background:#2C2C2B!important;box-shadow:none!important;transform:none!important}
.demo-cursor.is-text .cursor-ibeam-asset::before{top:0!important;bottom:auto!important}
.demo-cursor.is-text .cursor-ibeam-asset::after{top:auto!important;bottom:0!important}
body[data-scene="notes"][data-phase="6"] .pasted-caret{display:inline-block!important}
@media(prefers-reduced-motion:reduce){body[data-scene="notes"] .editor-caret-line>i,body[data-scene="notes"] .pasted-caret{animation:none!important}}

/* R59: keep English staged content inside the fixed 720×480 product canvas. */
html[lang="en"] body[data-scene="essay"] .mode-chat-scroll{gap:4px!important;padding-block:7px!important}
html[lang="en"] body[data-scene="essay"] .mode-chat-scroll>.message.system:first-child{margin-bottom:4px!important}
html[lang="en"] body[data-scene="essay"] .mode-chat-scroll .message.ai{gap:2px!important;padding-top:1px!important;padding-bottom:3px!important}
html[lang="en"] body[data-scene="essay"] .mode-chat-scroll .message.ai .eyebrow{margin-bottom:2px!important}
html[lang="en"] body[data-scene="essay"] .mode-chat-scroll .generated-content .source-chip{margin-top:2px!important}
html[lang="en"] body[data-scene="exam"] .map-node{font-size:9px!important;letter-spacing:-.1px!important}
html[lang="en"] body[data-scene="exam"] .map-node.root{font-size:10px!important}

/* R60: keep the selected English Seminar mode on one line; no other scene geometry changes. */
html[lang="en"] body[data-scene="seminar"] .mode-compose{grid-template-columns:148px minmax(0,1fr) 32px}
html[lang="en"] body[data-scene="seminar"] .mode-selector{white-space:nowrap;padding-inline:8px;gap:4px;font-size:11px}

/* Same-package visual correction: align all scene-canvas insets and remove
   the Exam scene's one-off brand bar without changing its tool interactions. */
body[data-scene="lecture"] .workspace-content,
body[data-scene="exam"] .workspace-body{
  inset:20px 10px auto!important;
  width:auto!important;
  height:416px!important;
  padding:0!important;
  gap:10px!important;
}
