.novice-guide-ring{position:fixed;z-index:12000;pointer-events:none;border:1px solid #e7b0c6;border-radius:22px;box-shadow:0 0 12px 7px #edb5ce55,inset 0 0 18px #efbad140;animation:novice-breathe 3s ease-in-out infinite}
.novice-guide-card{position:fixed;z-index:12001;box-sizing:border-box;width:360px;padding:10px 32px 12px 4px;border:0;border-radius:0;background:transparent;color:#493b43;box-shadow:none;font:14px/1.65 system-ui,sans-serif;max-height:55vh;overflow:auto}
.novice-guide-card[hidden],.novice-guide-ring[hidden]{display:none!important}.novice-guide-number{font-size:42px;line-height:1;color:#bd718e;font-weight:400}.novice-guide-card h2{font-size:19px;margin:8px 0}.novice-guide-card p{margin:8px 0}.novice-guide-detail{border-top:1px solid #ead6e0;padding-top:8px}.novice-guide-actions{display:flex;flex-wrap:wrap;gap:8px}.novice-guide-actions button,.novice-guide-entry{font:inherit;border:0;border-radius:8px;background:#f0e2e9;color:inherit;padding:6px 9px;cursor:pointer}.novice-guide-actions button:focus-visible,.novice-guide-entry:focus-visible{outline:2px solid #965b76;outline-offset:2px}.novice-guide-entry{font-size:12px;margin:6px;color:#965b76}.novice-guide-card[data-target-missing=true] h2:after{content:' · 等待界面';font-size:11px;color:#75666e}.novice-guide-demo{max-width:760px;width:90vw;max-height:80vh;overflow:auto;border:1px solid #e4cbd7;border-radius:20px;padding:24px}.novice-guide-demo pre{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.7 system-ui;background:#f7f3f5;padding:12px}.novice-guide-demo section{border-top:1px solid #ddd;margin-top:20px}.novice-guide-typing p,.novice-guide-typing .novice-guide-number,.novice-guide-typing .novice-guide-actions button:not(:last-child){display:none}.novice-guide-typing{width:auto;padding:8px}.novice-guide-typing h2{font-size:12px;margin:0}
@keyframes novice-breathe{50%{box-shadow:0 0 20px 10px #edb5ce80,inset 0 0 22px #efbad155}}
@media(prefers-reduced-motion:reduce){.novice-guide-ring{animation:none}}
.novice-margin-sample{position:fixed;z-index:12000;pointer-events:none;padding:0 6px;border-radius:4px;background:#f6eaf0;color:#644554;font:12px/17px system-ui,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media print{.novice-guide-card,.novice-guide-ring,.novice-guide-entry,.novice-guide-demo,.novice-margin-sample{display:none!important}}
.novice-guide-picker{width:100%;max-width:100%;margin:4px 0 8px;border:1px solid #e4d2dc;border-radius:8px;padding:6px;background:#fff;color:inherit;font:inherit}.novice-guide-walkthrough{border-left:2px solid #d9b5c7;padding-left:10px;white-space:pre-line}.novice-guide-typing .novice-guide-picker{display:none}.novice-guide-walkthrough[hidden]{display:none!important}
.novice-guide-expand{display:none}.novice-guide-typing .novice-guide-actions .novice-guide-expand{display:inline-block!important}
.intro-copy>.novice-guide-next,.novice-guide-actions>.novice-guide-next{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 16px;border:1px solid #d4afc2;border-radius:10px;background:#f6eaf0;color:#965b76;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer}.intro-copy>.novice-guide-next{margin-top:16px}.novice-guide-next:hover{background:#efdae5}.novice-guide-next:focus-visible{outline:2px solid #b87e97;outline-offset:3px}.novice-guide-next[hidden]{display:none!important}
.novice-awaiting-upload #tagsContainer{display:none!important}.novice-sample-file{display:flex;align-items:center;justify-content:center;width:50px;height:56px;margin:12px 0 8px;border:1px solid #e8e8e8;border-radius:2px;background:#fafafa;color:#111;font-size:10px;font-weight:600;box-shadow:0 1px 2px #00000008}.novice-sample-file[hidden]{display:none!important}.home-command-panel:has(.novice-sample-files:not([hidden]) .novice-sample-file) .home-prompt-editor.is-empty::before{content:none}

/* 各步骤沿用首页的数字与说明布局，辅助操作不做按钮墙。 */
.novice-guide-card{display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:22px;color:#584950}.novice-guide-card>*{grid-column:2}.novice-guide-card>.novice-guide-number{grid-column:1;grid-row:1 / span 8;font-size:64px;line-height:1;font-weight:300;letter-spacing:-4px;color:#b87e97}.novice-guide-card h2{font-size:23px;font-weight:500;margin:0 0 8px}.novice-guide-card p{font-size:14px;line-height:1.8;color:#8c7782;margin:0 0 12px}.novice-guide-actions{display:grid;grid-template-columns:repeat(2,max-content);gap:10px 18px}.novice-guide-actions button{background:none;border:0;color:#a26682;padding:4px 0;font-size:12px}.novice-guide-actions>.novice-guide-next{grid-column:1/-1;justify-self:start;margin:4px 0 6px;padding:8px 16px;border:1px solid #d4afc2;background:#f6eaf0;font-size:14px}.novice-guide-close{position:absolute;right:0;top:7px;border:0;background:none;color:#b49ca8;font-size:24px;width:30px;height:30px;cursor:pointer}.novice-guide-card [hidden]{display:none!important}.novice-guide-typing{display:block}.novice-guide-typing>.novice-guide-close{display:none}@media(max-width:600px){.novice-guide-card{grid-template-columns:48px minmax(0,1fr);column-gap:16px}.novice-guide-card>.novice-guide-number{font-size:48px}.novice-guide-card h2{font-size:20px}.novice-guide-actions{gap:8px 12px}}
.novice-guide-slot:has(>.novice-guide-card:not([hidden])){display:flex;justify-content:center;width:100%;padding-top:28px;padding-bottom:24px}.novice-guide-card.novice-guide-in-flow{position:relative;flex:none;max-height:none;overflow:visible}
.novice-side-layout{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:20px}.novice-side-layout>.home-command-wrap{flex:1;min-width:0;margin:0}.novice-side-layout>.novice-guide-slot{flex:0 0 360px;width:360px;padding:0}.novice-guide-slot:not(:has(>.novice-guide-card:not([hidden]))){display:none}
#tagsContainer .novice-scene-selected{border-color:#b87e97;background:#f6eaf0}.novice-guide-card .novice-scene-status{font-size:12px;color:#a26682}
.novice-hi-guard{position:fixed;z-index:12002;border:0;border-radius:50%;background:transparent;cursor:pointer;padding:0}.novice-hi-notice{position:fixed;z-index:12003;max-width:270px;padding:7px 10px;background:#fff;color:#965b76;font-size:14px;line-height:1.5;box-shadow:0 2px 10px #0000000d;border-radius:6px;pointer-events:none}.novice-hi-guard[hidden],.novice-hi-notice[hidden]{display:none!important}.novice-hi-guard:focus-visible{outline:2px solid #b87e97;outline-offset:3px}

.novice-sample-files{display:flex;gap:12px;flex-wrap:wrap}.novice-sample-files[hidden]{display:none!important}.novice-sample-files .novice-sample-file{position:relative;flex:none}.novice-sample-delete{position:absolute;right:-7px;top:-7px;width:20px;height:20px;padding:0;border:1px solid #e4e4e4;border-radius:50%;background:white;color:#777;font:16px/18px system-ui;cursor:pointer}.novice-sample-delete:hover{color:#111;background:#eee}.novice-sample-delete:focus-visible{outline:2px solid #b87e97;outline-offset:2px}.novice-sample-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.novice-sample-capsule{display:flex;align-items:center;gap:3px;width:max-content;max-width:100%;margin:8px 0 0;padding:6px 14px;border:1px solid #ddd;border-radius:999px;color:#111;font:14px/1.5 system-ui}.novice-sample-capsule span{color:#9ca3af;font-size:12px}.novice-sample-capsule[hidden]{display:none!important}.novice-hi-guard.novice-hi-ready{background:#000;color:#fff;font:600 22px/1 system-ui}
.home-command-panel:has(.novice-sample-capsule:not([hidden])) #homeActionHint{visibility:hidden}

.guide-toggle{display:inline-flex!important;align-items:center;justify-content:center;width:36px;height:36px;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#f6eaf0!important;cursor:pointer}.guide-toggle svg{width:36px;height:36px;overflow:visible}.guide-toggle .guide-icon-play,.guide-toggle .guide-icon-stop{display:none}.guide-toggle:not([aria-pressed="true"]):hover .guide-icon-light{display:none}.guide-toggle:not([aria-pressed="true"]):hover .guide-icon-play{display:block}.guide-toggle[aria-pressed="true"] .guide-icon-light{display:none}.guide-toggle[aria-pressed="true"] .guide-icon-stop{display:block}.guide-toggle:focus-visible{outline:2px solid #b87e97!important;outline-offset:3px;border-radius:50%}
.novice-substep-major{display:inline-block;font-size:2em;line-height:1;font-weight:300;letter-spacing:-1px;vertical-align:baseline}
.novice-home-feedback{position:fixed;z-index:12005;right:24px;width:300px;max-width:calc(100vw - 32px);box-sizing:border-box;padding:16px 28px 16px 16px;background:#fff;color:#584950;font:14px/1.75 system-ui;box-shadow:0 6px 24px #0000000a}.novice-home-feedback[hidden]{display:none!important}.novice-home-feedback h3{font-size:20px;font-weight:500;margin:0 0 8px}.novice-home-feedback p{margin:8px 0}.novice-home-feedback button:not(.novice-guide-close){background:none;border:0;color:#a26682;padding:6px 12px 6px 0;cursor:pointer}.novice-home-status{color:#8c7782;font-size:12px}.dark .novice-home-feedback{background:#202020;color:#eee}
.home-nav-actions .novice-entry-seen{border-radius:50%;background:#f6eaf0}.home-nav-actions .novice-entry-current{background:#f6eaf0;box-shadow:0 0 12px 4px #e9bbd240;outline:1px solid #e7c6d6;outline-offset:2px}.novice-home-branches .novice-branch-seen{text-decoration:underline;text-decoration-color:#d4afc2;text-underline-offset:5px}

/* 演示焦点沿用指引粉色，保留键盘可见反馈。 */
.novice-demo-active :is(button,summary,a,input,select,textarea):focus-visible{outline:1px solid #d4afc2!important;outline-offset:2px;box-shadow:0 0 12px 3px #e9bbd230!important}
.novice-demo-active :is(#recentPapersMenu,#recentCardsMenu)[open]>summary{outline:1px solid #d4afc2!important;outline-offset:2px;box-shadow:0 0 12px 3px #e9bbd230;color:#965b76}

/* 文件菜单保留统一光晕，仅缩小圆角。 */
.novice-guide-ring.novice-ring-menu{border-radius:12px}

/* 磨砂底让试题和菜单的轮廓透出，同时保持指引文字清晰。 */
.novice-guide-card.novice-guide-paper-surface {
  padding: 18px 32px 18px 16px;
  border-radius: 16px;
  background: rgba(255, 251, 253, .76);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px #493b4324;
}
.novice-guide-paper-surface p { color: #66535e; }
.novice-guide-paper-surface > .novice-guide-close {
  position: sticky;
  top: -8px;
  right: auto;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  z-index: 1;
  width: 36px;
  height: 36px;
  margin: -8px -22px -28px 0;
  padding: 0;
  border-radius: 8px;
  font: 22px/1 system-ui, sans-serif;
  place-items: center;
}
.novice-guide-paper-surface:not(.novice-guide-typing) > .novice-guide-close { display: grid; }
.novice-guide-paper-surface > .novice-guide-close:hover,
.novice-guide-paper-surface > .novice-guide-close:focus-visible { background: #b87e9729; }
.novice-guide-paper-surface > h2 { padding-right: 14px; }
.dark .novice-guide-card.novice-guide-paper-surface {
  background: rgba(38, 31, 36, .78);
  color: #f2e8ed;
  color-scheme: dark;
}
.dark .novice-guide-paper-surface .novice-guide-picker { background: #382b33; border-color: #8e627b; }
.dark .novice-guide-paper-surface p,
.dark .novice-guide-paper-surface[data-target-missing=true] h2::after { color: #d8c3cf; }
.dark .novice-guide-paper-surface :is(.novice-guide-number, .novice-guide-close, .novice-guide-actions button, .novice-guide-topics button) { color: #e2b5cc; }
.dark .novice-guide-paper-surface :is(.novice-guide-next, .novice-guide-topics button[aria-pressed="true"]) {
  background: #55394b;
  border-color: #8e627b;
}

.novice-editor-entry{order:3;flex:none;margin-left:4px!important}

/* 指引中的菜单使用统一光晕，贴合展开面板。 */
.novice-demo-active[data-novice-style="0"] .exam-style-menu>summary,
.novice-demo-active[data-novice-style="1"] .style-menu>summary,
.novice-demo-active :is(.exam-style-menu[open]>.style-category-body,.style-menu[open]>.style-menu-panel,#fileMenu[open]>.file-menu-panel,.file-menu-panel details[open]>.file-export-body,.question-context-menu,.question-context-menu [role=menu]:not([hidden])) {
  outline:1px solid #e7b0c6;
  outline-offset:3px;
  box-shadow:0 0 12px 7px #edb5ce55,inset 0 0 18px #efbad140!important;
}
@supports (appearance:base-select) {
  /* 沿用原有 select 的选项、键盘操作和 change 事件，同时给弹层加光晕。 */
  .novice-demo-active :is(#paperHeaderMenu,#paperSealMenu)>select,
  .novice-demo-active :is(#paperHeaderMenu,#paperSealMenu)>select::picker(select) {
    appearance:base-select;
  }
  .novice-demo-active :is(#paperHeaderMenu,#paperSealMenu)>select::picker(select) {
    margin-top:4px;
    max-height:46vh;
    padding:4px;
    border:1px solid #e7b0c6;
    border-radius:10px;
    background:var(--glass-surface,#fafafc);
    box-shadow:0 0 12px 7px #edb5ce55,inset 0 0 18px #efbad140;
  }
  .novice-demo-active :is(#paperHeaderMenu,#paperSealMenu)>select option { padding:8px; }
}

/* 左右窗口功能索引，当前子项明确反馈。 */
.novice-guide-topics{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0;grid-column:2;min-width:0}.novice-guide-topics[hidden]{display:none}.novice-guide-topics button{font:inherit;font-size:12px;text-align:left;padding:6px 8px;border:1px solid transparent;border-radius:7px;background:transparent;color:#a65f80;cursor:pointer}.novice-guide-topics button[aria-pressed="true"]{background:#f6eaf0;border-color:#e4b7cd}.novice-guide-topics button:focus-visible{outline:2px solid #b87e97;outline-offset:2px}

/* 覆盖正文的说明可拖开，按钮、输入和滚动保持原操作。 */
.novice-guide-paper-surface,.novice-home-feedback{cursor:move}.novice-guide-dragging,.novice-guide-dragging *{cursor:grabbing!important;user-select:none!important}.novice-guide-card :is(button,a,select),.novice-home-feedback :is(button,a){cursor:pointer}

/* 指引光晕直接附着菜单，展开、移动时与菜单共同定位。 */
.novice-context-mouse{display:none}
.novice-demo-active .novice-context-mouse{display:inline-flex}

