/* 导游学霸 Design System v2
   Modern Chinese atlas × professional study terminal */
:root{
  --ds-ink:#17343a;
  --ds-muted:#657a7d;
  --ds-teal:#137f91;
  --ds-jade:#268b79;
  --ds-paper:#ffffff;
  --ds-line:rgba(40,76,82,.14);
  --ds-focus:#2b93a3;
  --ds-serif:var(--font-display);
  --ds-sans:var(--font-ui);
}

/* Navigation: one calm, platform-independent icon language. */
.sidebar{width:214px}
.sb-brand{height:72px}
.sb-brand-mark{border-radius:10px;background:linear-gradient(145deg,#258e9d,#126477);box-shadow:0 8px 22px rgba(25,113,130,.22)}
.sb-progress{margin:14px 13px 10px;padding:13px 14px;border-radius:12px}
.sb-progress-status{display:flex;align-items:center;gap:7px;margin-bottom:8px;color:var(--t2);font-size:12px}
.sb-progress-status i{width:7px;height:7px;border-radius:50%;background:#43b99c;box-shadow:0 0 0 4px rgba(67,185,156,.12)}
.sb-progress-num{display:flex;align-items:baseline;justify-content:space-between;margin:0 0 8px;text-align:left}
.sb-progress-num b{font:700 26px/1 Georgia,serif}
.sb-progress-num span{color:var(--t3);font-size:12px}
.sb-progress-label{text-align:left;font-size:12px;margin-top:8px}
.sb-nav{padding:7px 12px 12px;gap:3px}
.sb-nav-group{padding:15px 10px 5px;color:rgba(73,93,97,.92);font-size:11px;font-weight:700;letter-spacing:.12em}
.sb-nav-item{min-height:48px;padding:11px 12px;gap:11px;border:1px solid transparent}
.sb-nav-item .sb-nav-ic{display:grid;place-items:center;width:22px;height:22px;font-size:0}
.sb-nav-item .sb-nav-ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sb-nav-item.on{font-weight:700}
.sb-toggle{min-height:40px}
.sb-toggle span{font-size:23px;line-height:1;transition:transform .25s}
.sidebar:not(.expanded) .sb-toggle span{transform:rotate(180deg)}
.sidebar.expanded .sb-toggle::after{content:"收起导航"}
.workspace-bar{left:214px}
main,main.map-full{margin-left:214px}

/* Every interactive control needs a visible keyboard contract. */
button:focus-visible,[role="button"]:focus-visible,a:focus-visible{
  outline:3px solid color-mix(in srgb,var(--ds-focus) 55%,transparent);
  outline-offset:3px;
}

/* Map loading is now useful content, not a blank dark panel. */
.map-loading{
  gap:0;background:
    radial-gradient(circle at 50% 45%,rgba(36,139,151,.12),transparent 27%),
    linear-gradient(rgba(88,131,139,.045) 1px,transparent 1px),
    linear-gradient(90deg,rgba(88,131,139,.045) 1px,transparent 1px),
    #081019;
  background-size:auto,34px 34px,34px 34px,auto;color:#dbe9e9
}
.ml-map-shell{position:relative;width:180px;height:118px;margin-bottom:22px}
.ml-map-shell svg{width:100%;height:100%;overflow:visible;fill:rgba(36,139,151,.07);stroke:#4db3be;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 14px rgba(77,179,190,.2))}
.ml-map-shell>span{position:absolute;width:7px;height:7px;border:2px solid #e0b664;border-radius:50%;background:#081019;box-shadow:0 0 0 5px rgba(224,182,100,.1);animation:mapPulse 1.8s infinite}
.ml-map-shell>span:nth-of-type(1){left:48px;top:48px}
.ml-map-shell>span:nth-of-type(2){left:103px;top:65px;animation-delay:.45s}
.ml-map-shell>span:nth-of-type(3){left:135px;top:49px;animation-delay:.9s}
.ml-text{display:grid;gap:3px;text-align:center;letter-spacing:0}
.ml-text b{color:#eef7f6;font-size:16px}
.ml-text span{color:#789295;font-size:12px}
.ml-progress{width:min(310px,72vw);height:6px;margin-top:24px;overflow:hidden;border-radius:99px;background:rgba(135,176,181,.13);box-shadow:inset 0 0 0 1px rgba(135,176,181,.08)}
.ml-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#267f91,#50b7ae,#e2b664);box-shadow:0 0 18px rgba(80,183,174,.38);transition:width .22s ease-out}
.ml-progress-meta{display:flex;justify-content:space-between;width:min(310px,72vw);margin-top:9px;color:#789295;font-size:11px}
.ml-progress-meta b{color:#a8c5c7;font:600 11px Georgia,serif}
.map-loading.is-complete{opacity:0;transition:opacity .25s ease}
@keyframes mapPulse{50%{transform:scale(1.45);box-shadow:0 0 0 9px rgba(224,182,100,0)}}
@media(prefers-reduced-motion:reduce){.ml-map-shell>span{animation:none}}

/* Raise the most problematic microcopy without flattening dense learning screens. */
.workspace-bar p,.command-actions em,.subject-meta,.course-heading p{font-size:12px}

/* Quiz hub: three jobs, one vocabulary, no decorative icon noise. */
.quiz-page>.view-head h1{font-family:var(--ds-serif)}
.quiz-entry-section{margin-top:28px}
.quiz-entry-section>header{display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:start;margin-bottom:12px}
.quiz-entry-section>header>span{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(72,145,153,.25);border-radius:8px;color:#5fa1aa;font:700 11px Georgia,serif}
.quiz-entry-section>header div{display:grid;gap:2px}
.quiz-entry-section>header b{font-size:17px;color:var(--t)}
.quiz-entry-section>header p{margin:0;color:var(--t3);font-size:12px}
.quiz-entry-section .quiz-subjects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0}
.quiz-entry-section .qs-item{width:100%;min-height:82px;display:grid;grid-template-columns:44px 1fr auto;gap:12px;text-align:left;transform:none}
.quiz-entry-section .qs-item:hover{transform:translateY(-2px)}
.qs-code{display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(87,154,163,.22);border-radius:9px;background:rgba(37,128,143,.07);color:#4d99a4;font-size:11px;font-weight:800}
.quiz-entry-section .qs-count{min-width:58px;text-align:center;font:700 14px Georgia,serif}
.quiz-review-entry{width:100%;min-height:82px;padding:17px 19px;display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid rgba(63,150,140,.22);border-radius:10px;background:linear-gradient(105deg,rgba(38,139,121,.1),rgba(38,139,121,.025));text-align:left}
.quiz-review-entry>div{display:grid;gap:4px}.quiz-review-entry b{font-size:15px}.quiz-review-entry span{color:var(--t3);font-size:12px}.quiz-review-entry em{color:#4fa398;font-size:12px;font-style:normal;font-weight:700}
.quiz-specialty-entries{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.quiz-specialty-entries button{min-height:94px;padding:17px 18px;display:grid;grid-template-columns:1fr auto;gap:5px 12px;border:1px solid var(--line);border-radius:10px;background:var(--card);text-align:left}
.quiz-specialty-entries button:hover{border-color:#5c9ea7;transform:translateY(-2px)}
.quiz-specialty-entries span{grid-column:1/-1;color:#5c9ea7;font-size:11px;font-weight:800;letter-spacing:.08em}
.quiz-specialty-entries b{font-size:14px}.quiz-specialty-entries em{color:var(--t3);font-size:12px;font-style:normal}
.topic-specialty-hub .ts-icon{font:700 11px Georgia,serif;letter-spacing:.05em;color:var(--gc,#5c9ea7);background:color-mix(in srgb,var(--gc,#5c9ea7) 9%,transparent)}

/* Answering mode: restrained exam dossier, not a neon AI dashboard. */
body[data-view="quiz"].quiz-answering main{
  background:
    linear-gradient(rgba(193,173,137,.055) 1px,transparent 1px),
    #11181b;
  background-size:100% 34px;
}
body[data-view="quiz"].quiz-answering .practice-progress{height:2px;background:rgba(206,186,150,.14)}
body[data-view="quiz"].quiz-answering .practice-progress i{background:#b79259;box-shadow:none}
body[data-view="quiz"].quiz-answering .practice-card{
  background:#171f22;border-color:rgba(204,184,148,.22);border-radius:7px;
  box-shadow:0 26px 70px rgba(0,0,0,.2)
}
body[data-view="quiz"].quiz-answering .quiz-stem>i{
  color:#f4efe4;background:#283336;border:1px solid rgba(204,184,148,.32);
  border-radius:3px;font-family:Georgia,serif
}
body[data-view="quiz"].quiz-answering .practice-score b{color:#d5c5a7}
body[data-view="quiz"].quiz-answering .practice-stage .opt:hover{border-color:rgba(183,146,89,.55);background:rgba(183,146,89,.045)}
body[data-view="quiz"].quiz-answering .practice-stage .opt.selected{
  border-color:#b79259;background:rgba(183,146,89,.08);box-shadow:inset 3px 0 #b79259
}
body[data-view="quiz"].quiz-answering .tag.b{color:#cfb98f;background:rgba(183,146,89,.09);border-color:rgba(183,146,89,.18)}
body[data-view="quiz"].quiz-answering .quiz-nav-next{
  min-width:108px;color:#f8f4eb;background:#293437;border:1px solid rgba(211,194,162,.3);
  border-radius:4px;box-shadow:0 7px 18px rgba(0,0,0,.18)
}
body[data-view="quiz"].quiz-answering .quiz-nav-next:hover{background:#354246;border-color:#b79259}
body[data-view="quiz"].quiz-answering .quiz-nav-prev{border-radius:4px}
body[data-view="quiz"].quiz-answering .practice-nav>span b{color:#d5c5a7;font-family:Georgia,serif}

html[data-theme="day"] body[data-view="quiz"].quiz-answering main{
  background:
    linear-gradient(rgba(23,52,58,.03) 1px,transparent 1px),
    #ffffff;
  background-size:100% 34px
}
html[data-theme="day"] body[data-view="quiz"].quiz-answering .practice-card{
  color:#20292b;background:#ffffff;border-color:#d9dfe1;
  box-shadow:0 24px 65px rgba(52,65,61,.08)
}
html[data-theme="day"] body[data-view="quiz"].quiz-answering .quiz-stem>i{
  color:#fffaf0;background:#273537;border-color:#273537
}
html[data-theme="day"] body[data-view="quiz"].quiz-answering .practice-progress{background:#ded7c9}
html[data-theme="day"] body[data-view="quiz"].quiz-answering .practice-progress i{background:#a47a3d}
html[data-theme="day"] body[data-view="quiz"].quiz-answering .practice-score b,
html[data-theme="day"] body[data-view="quiz"].quiz-answering .practice-nav>span b{color:#273537}
html[data-theme="day"] body[data-view="quiz"].quiz-answering .practice-stage .opt:hover{border-color:#b79b6b;background:#fcf8ef}
html[data-theme="day"] body[data-view="quiz"].quiz-answering .practice-stage .opt.selected{border-color:#9f7840;background:#faf4e8;box-shadow:inset 3px 0 #9f7840}
html[data-theme="day"] body[data-view="quiz"].quiz-answering .tag.b{color:#725630;background:#f5ede0;border-color:#dfcfb5}
html[data-theme="day"] body[data-view="quiz"].quiz-answering .quiz-nav-next{
  color:#fffdf8;background:#273537;border-color:#273537;box-shadow:0 7px 16px rgba(39,53,55,.15)
}
html[data-theme="day"] body[data-view="quiz"].quiz-answering .quiz-nav-next:hover{background:#172426;border-color:#172426}

/* Immersive practice: answering owns the viewport. The reading column stays
   deliberately bounded, but the surrounding dashboard chrome and card frame
   disappear so large type—not nested containers—sets the hierarchy. */
body[data-view="quiz"].quiz-answering{
  /* clip 同样裁掉横向溢出,但不像 hidden 会把 body 变成滚动容器、
     弄坏 practice-nav 的吸底 sticky(做题导航) */
  overflow-x:clip
}
body[data-view="quiz"].quiz-answering :is(.sidebar,.workspace-bar,.mobile-menu-btn,.mobile-sidebar-backdrop){
  display:none!important
}
body[data-view="quiz"].quiz-answering main{
  min-height:100svh;margin-left:0!important;padding:0!important
}
body[data-view="quiz"].quiz-answering .quiz-page.is-answering{
  width:100%;max-width:none;padding:30px clamp(28px,5vw,96px) 52px
}
body[data-view="quiz"].quiz-answering .practice-stage{
  width:100%;max-width:1480px;margin:0 auto;padding:0
}
body[data-view="quiz"].quiz-answering .quiz-session-head{
  padding-bottom:22px
}
body[data-view="quiz"].quiz-answering .quiz-session-head h2{
  font-size:22px!important
}
body[data-view="quiz"].quiz-answering .practice-card,
html[data-theme="day"] body[data-view="quiz"].quiz-answering .practice-card{
  padding:30px 0 0;background:transparent;border:0;border-radius:0;box-shadow:none
}
body[data-view="quiz"].quiz-answering .practice-meta{
  margin-bottom:34px;padding-bottom:18px
}
body[data-view="quiz"].quiz-answering .quiz-stem{
  grid-template-columns:46px minmax(0,1fr);gap:18px;margin-bottom:30px
}
body[data-view="quiz"].quiz-answering .quiz-stem>i{
  width:42px;height:42px;font-size:16px
}
body[data-view="quiz"].quiz-answering .quiz-q{
  max-width:46em;font-size:clamp(25px,1.65vw,31px);line-height:1.65
}
body[data-view="quiz"].quiz-answering .question-context{
  padding:20px 24px;margin-bottom:20px
}
body[data-view="quiz"].quiz-answering .question-context p{
  font-size:15px;line-height:1.75
}
body[data-view="quiz"].quiz-answering .quiz-options{
  gap:14px
}
body[data-view="quiz"].quiz-answering .quiz-options .opt{
  min-height:72px;padding:17px 20px;font-size:18px;line-height:1.6
}
body[data-view="quiz"].quiz-answering .quiz-options .opt .k{
  flex-basis:36px;width:36px;height:36px;font-size:14px
}
body[data-view="quiz"].quiz-answering .answer-reveal{
  padding:17px 19px
}
body[data-view="quiz"].quiz-answering .answer-reveal .answer-letters{
  font-size:20px
}
body[data-view="quiz"].quiz-answering .quiz-exp{
  padding:20px 22px;font-size:16px;line-height:1.85
}
body[data-view="quiz"].quiz-answering .practice-nav{
  margin-top:30px;padding-top:22px
}
body[data-view="quiz"].quiz-answering :is(.quiz-nav-prev,.quiz-nav-next){
  min-height:50px;padding:13px 22px;font-size:16px
}

@media(max-width:720px){
  body[data-view="quiz"].quiz-answering .quiz-page.is-answering{
    padding:18px 16px 32px
  }
  body[data-view="quiz"].quiz-answering .quiz-session-head h2{font-size:18px!important}
  body[data-view="quiz"].quiz-answering .practice-card{padding-top:22px}
  body[data-view="quiz"].quiz-answering .quiz-stem{
    grid-template-columns:34px minmax(0,1fr);gap:12px;margin-bottom:22px
  }
  body[data-view="quiz"].quiz-answering .quiz-stem>i{width:32px;height:32px;font-size:13px}
  body[data-view="quiz"].quiz-answering .quiz-q{font-size:22px;line-height:1.65}
  body[data-view="quiz"].quiz-answering .quiz-options .opt{
    min-height:60px;padding:14px 15px;font-size:16px
  }
  body[data-view="quiz"].quiz-answering .question-context{padding:16px}
  body[data-view="quiz"].quiz-answering .question-context p{font-size:14px}
  body[data-view="quiz"].quiz-answering .quiz-exp{padding:17px;font-size:15px}
}

/* Guide library: document index, not an emoji catalogue. */
.guide-list-item{grid-template-columns:34px minmax(0,1fr);gap:12px}
.guide-list-index{
  display:grid;place-items:center;width:30px;height:30px;color:var(--lt-text-3,#738083);
  font:650 10px/1 var(--font-metric,monospace);letter-spacing:.08em;
  border:1px solid var(--lt-line,rgba(90,105,105,.18));border-radius:2px
}
.guide-list-item.on .guide-list-index{
  color:#8d662d;border-color:rgba(164,122,61,.52);background:rgba(164,122,61,.08)
}
.guide-list-copy{min-width:0}
.guide-list-copy b{display:block;font-size:14px}
.guide-list-copy div{
  margin-top:4px;color:var(--t3);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
}
.guide-document-mark{
  display:grid;place-items:center;width:34px;height:38px;color:#9b7135;
  font:700 14px/1 var(--font-display,serif);border:1px solid rgba(164,122,61,.38);
  border-radius:2px;background:rgba(164,122,61,.07)
}

/* Interview: a formal oral-exam desk, not a playful quiz widget. */
.split-list .interview-head{margin:4px 0 26px}
.interview-head>span{
  display:block;margin-bottom:10px;color:#9b7135;
  font:650 10px/1 var(--font-metric,monospace);letter-spacing:.16em
}
.interview-head h1{margin:0 0 7px;font-size:27px;letter-spacing:-.025em}
.interview-head p{max-width:560px;line-height:1.65}
.interview-syllabus-note{
  max-width:760px;margin:0 0 22px;padding:18px 20px;
  border:1px solid rgba(164,122,61,.28);border-radius:5px;
  background:linear-gradient(135deg,rgba(164,122,61,.09),rgba(164,122,61,.025))
}
.isn-label{
  margin-bottom:8px;color:#9b7135;
  font:650 10px/1 var(--font-metric,monospace);letter-spacing:.12em;text-transform:uppercase
}
.isn-main{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.isn-main b{font-size:18px;color:var(--t1)}
.isn-main span{font-size:13px;color:var(--t3)}
.isn-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 18px;
  margin-top:14px
}
.isn-grid p,.isn-warning{margin:0;font-size:12px;line-height:1.65;color:var(--t2)}
.isn-grid strong{display:inline-block;min-width:62px;margin-right:6px;color:#8d662d}
.isn-warning{
  margin-top:13px;padding-top:11px;border-top:1px solid rgba(164,122,61,.2);
  color:var(--t2)
}
.delta-specialty-entry{
  position:relative;display:grid;grid-template-columns:50px minmax(0,1fr);gap:2px 12px;
  align-items:center;text-align:left;min-height:78px;padding:14px 16px!important;
  border-color:rgba(164,122,61,.38)!important;
  background:linear-gradient(120deg,rgba(164,122,61,.12),rgba(164,122,61,.025))!important
}
.delta-specialty-entry>span{
  grid-row:1/3;display:grid;place-items:center;width:50px;height:42px;
  color:#8d662d;font:750 12px/1 var(--font-metric,monospace);
  border:1px solid rgba(164,122,61,.38);border-radius:3px
}
.delta-specialty-entry>b{font-size:14px;color:var(--t1)}
.delta-specialty-entry>em{font-size:11px;color:var(--t3);font-style:normal}
.quiz-source-link{
  display:inline-flex;align-items:center;margin-top:12px;padding:7px 10px;
  color:#8d662d;font-size:11px;text-decoration:none;
  border:1px solid rgba(164,122,61,.3);border-radius:3px;background:rgba(164,122,61,.06)
}
.quiz-source-link:hover{border-color:rgba(164,122,61,.62);background:rgba(164,122,61,.12)}
@media(max-width:620px){
  .isn-grid{grid-template-columns:1fr}
}
@media(max-width:900px){
  body[data-view="interview"] .split-stage{
    display:block;height:auto;min-height:100vh;overflow:visible
  }
  body[data-view="interview"] .split-list{
    height:auto;min-height:100vh;overflow:visible;border-right:0
  }
  body[data-view="interview"] .split-map{display:none}
}
.interview-card{
  max-width:640px;padding:24px;border-radius:6px;box-shadow:0 12px 30px rgba(24,35,34,.06)
}
.interview-card .quiz-q{min-height:70px;padding:12px 0 24px;font-size:18px;line-height:1.7}
.interview-card #ivAns{
  border-left-color:#a47a3d!important;border-radius:2px!important;background:rgba(164,122,61,.07)!important
}
.interview-card .btn{min-height:42px;border-radius:3px;box-shadow:none}
.interview-card #ivToggle{color:#fffdf8;background:#273537;border-color:#273537}
.interview-card #ivToggle:hover{background:#1c282a}
.interview-card .interview-step{margin-left:auto}
.interview-card .interview-step+.interview-step{margin-left:0}
.interview-card .bar{height:3px;border-radius:0}
.interview-card .bar i{background:#a47a3d;border-radius:0}
.split-tip{border-radius:3px;letter-spacing:.01em}
html[data-theme="day"] body[data-view="interview"] .pill.on{
  color:#fffdf8;background:#a47a3d;border-color:#a47a3d
}

/* Progress: sober study record, no mascot or synthetic AI glow. */
body[data-view="me"] .rank-seal{
  width:54px;height:54px;border:1px solid rgba(164,122,61,.58);border-radius:3px;
  color:#d7b87d;background:transparent;box-shadow:none;transform:none;animation:none
}
body[data-view="me"] .rank-seal:before,
body[data-view="me"] .rank-seal:after{display:none}
body[data-view="me"] .rank-seal>span{transform:none}
body[data-view="me"] .ai-orbit{
  width:48px;height:48px;border-color:rgba(164,122,61,.55);border-radius:3px;color:#c49a58
}
body[data-view="me"] .ai-orbit:before,
body[data-view="me"] .ai-orbit:after{display:none}
body[data-view="me"] .ai-action{
  color:#fffdf8;background:#273537;border-radius:3px
}
body[data-view="me"] .subject-progress-list u{background:#a47a3d}
html[data-theme="day"] body[data-view="me"] .rank-command{
  color:#20292b;background:#fffdf8;border-color:#d6cec0;box-shadow:0 15px 38px rgba(70,57,39,.07)
}
html[data-theme="day"] body[data-view="me"] .rank-copy h2,
html[data-theme="day"] body[data-view="me"] .rank-kpis b{color:#273537}
html[data-theme="day"] body[data-view="me"] .rank-copy p,
html[data-theme="day"] body[data-view="me"] .rank-copy small,
html[data-theme="day"] body[data-view="me"] .rank-kpis span,
html[data-theme="day"] body[data-view="me"] .rank-kpis small{color:#74736e}
html[data-theme="day"] body[data-view="me"] .rank-kpis{border-left-color:#ded8cc}
html[data-theme="day"] body[data-view="me"] .rank-kpis>div{border-right-color:#e6e0d5}
html[data-theme="day"] body[data-view="me"] .rank-seal{color:#765a31;background:#f7f0e3}
html[data-theme="day"] body[data-view="me"] .ai-diagnosis-body{
  border-color:rgba(41,66,77,.18);background:#ffffff
}
html[data-theme="day"] body[data-view="me"] .ai-orbit{color:#765a31;background:#f7f0e3}
html[data-theme="day"] body[data-view="me"] .ai-diagnosis-body h3{color:#273537}
html[data-theme="day"] body[data-view="me"] .ai-action{color:#fffdf8;background:#273537}

/* Map detail system: archival field notes, consistent with the main product. */
.spot-modal{
  border-radius:8px;
  border-color:rgba(164,122,61,.28);
  box-shadow:0 28px 80px rgba(7,14,18,.42)
}
.spot-modal .sd-card{background:#111c22}
.spot-modal .sd-body{padding:28px 30px 36px}
.spot-modal .sd-record-type{
  margin-bottom:8px;color:#c49a58;font:650 10px/1 var(--font-metric,monospace);
  letter-spacing:.14em;text-transform:uppercase
}
.spot-modal .sd-title{font-size:30px;letter-spacing:-.025em}
.spot-modal .sd-tags .tag{border-radius:2px}
.spot-modal .sd-section{
  margin-top:20px;padding-top:18px;border-top:1px solid rgba(160,177,177,.14)
}
.spot-modal .sd-section-h{
  margin-bottom:12px;color:#c49a58;font-size:11px;letter-spacing:.12em
}
.spot-modal .sd-addr{
  border-left-color:#a47a3d;border-radius:0;background:#17242b
}
.spot-modal .sd-must-section{
  border:1px solid rgba(164,122,61,.26);border-radius:3px;background:rgba(164,122,61,.07)
}
.spot-modal .btn,
.spot-modal .spot-inline-next,
.spot-modal .spot-inline-submit,
.spot-modal .spot-practice-cta{border-radius:3px;box-shadow:none}
.spot-modal .btn-p,
.spot-modal .spot-inline-next,
.spot-modal .spot-inline-submit,
.spot-modal .spot-practice-cta{
  color:#fffdf8!important;background:#273537!important;border-color:#273537!important
}
.spot-modal .spot-inline-head i{border-radius:0;background:linear-gradient(90deg,#a47a3d var(--spot-progress,100%),rgba(131,172,176,.16) 0)}
.spot-modal .spot-inline-options button{border-radius:3px}
.spot-modal .spot-inline-options button i{border-radius:2px}
.spot-modal .spot-inline-options button.selected{
  color:#eadcc3;background:rgba(164,122,61,.11);border-color:#a47a3d;box-shadow:inset 3px 0 #a47a3d
}
.spot-poster-teaser{border-radius:4px}
.spot-poster-copy small,
.knowledge-poster>header span,
.knowledge-poster-title small{color:#c49a58}
.knowledge-poster,
.knowledge-poster-bundle{border-radius:4px}
.knowledge-poster-stage ol li,
.poster-coverage-supplement{border-radius:3px}

html[data-theme="day"] .spot-modal{border-color:#cfc4b2;box-shadow:0 30px 90px rgba(43,37,28,.25)}
html[data-theme="day"] .spot-modal .sd-card{color:#273537;background:#fffdf8}
html[data-theme="day"] .spot-modal .sd-title{color:#20292b}
html[data-theme="day"] .spot-modal .sd-section{border-top-color:#e3ddd2}
html[data-theme="day"] .spot-modal .sd-section-h{color:#8b6630}
html[data-theme="day"] .spot-modal .sd-tags .tag{color:#5d6868;background:#f3efe7;border-color:#ddd5c8}
html[data-theme="day"] .spot-modal .sd-addr{color:#5f6664;background:#f5f0e7}
html[data-theme="day"] .spot-modal .spot-profile,
html[data-theme="day"] .spot-modal .spot-profile-groups article,
html[data-theme="day"] .spot-modal .spot-inline-summary{background:#f8f4ec;border-color:#ddd4c5}
html[data-theme="day"] .spot-modal .spot-inline-options button{
  color:#273537;background:#fffdf8;border-color:#ddd5c8
}
html[data-theme="day"] .spot-modal .spot-inline-options button:hover{background:#faf5eb;border-color:#b99a68}
html[data-theme="day"] .spot-modal .spot-inline-options button i{color:#6f7470;background:#eee9df}
.ln-cat-code{
  display:inline-grid;place-items:center;width:23px;height:23px;margin-right:8px;
  color:#a47a3d;font:650 10px/1 var(--font-metric,monospace);font-style:normal;
  border:1px solid rgba(164,122,61,.35);border-radius:2px
}
.geo-usage-note{
  padding:14px!important;color:var(--t2);font-size:13px;line-height:1.7;text-align:center;
  border-radius:3px!important
}
.learned-mark{
  display:inline-block;margin-left:6px;padding:2px 6px;color:#356b59;
  font-size:9px;font-weight:650;border:1px solid rgba(53,107,89,.28);border-radius:2px
}
.study-mode-code{
  display:grid;place-items:center;width:32px;height:32px;color:#715b91;
  font:650 11px/1 var(--font-metric,monospace);border:1px solid rgba(113,91,145,.3);border-radius:2px
}
.study-set-label{color:var(--t3);font-size:12px;letter-spacing:.08em}
.exam-summary-card{border-radius:6px!important}
.exam-summary-state{
  display:inline-block;margin-bottom:14px;padding:5px 10px;color:#8b6630;
  font-size:11px;letter-spacing:.1em;border:1px solid rgba(164,122,61,.35);border-radius:2px
}
.exam-summary-score{color:#273537;font:700 34px/1.1 Georgia,serif}
.quiz-complete{display:grid;justify-items:center;gap:10px;padding:42px 24px!important}
.quiz-complete>span{color:#9b7135;font:650 10px/1 var(--font-metric,monospace);letter-spacing:.14em}
.quiz-complete>b{font-size:20px}

@media(max-width:768px){
  .sidebar{width:min(86vw,300px)}
  .workspace-bar{left:0;height:64px;padding:0 16px 0 72px}
  .workspace-bar>div{gap:0}
  .workspace-bar>div>span{display:none}
  .workspace-bar b{font-size:15px}
  main,main.map-full{margin-left:0}
  .mobile-menu-btn{display:grid;align-content:center;justify-content:center;gap:4px;width:46px;height:46px;border-radius:12px}
  .mobile-menu-btn span{display:block;width:19px;height:2px;border-radius:2px;background:currentColor}
  .map-loading{padding:76px 24px 36px}
  .ml-map-shell{width:150px;height:98px}
  .layer-nav-fab{min-height:46px}
  .quiz-entry-section .quiz-subjects,.quiz-specialty-entries{grid-template-columns:1fr}
  .quiz-entry-section .qs-item{grid-template-columns:40px 1fr auto;padding:13px}
  .qs-code{width:38px;height:38px}
  .quiz-review-entry{align-items:flex-start;flex-direction:column;gap:10px}
  .interview-card{padding:18px}
  .interview-card .flex.wrap{display:grid;grid-template-columns:1fr 1fr}
  .interview-card .interview-step{margin-left:0}
  .spot-modal .sd-body{padding:22px 18px 30px}
  .spot-modal .sd-title{font-size:26px}
}

/* ===== 自由组卷（自定义混合刷题）入口与配置页 ===== */
.quiz-custom-entry .quiz-custom-start{
  width:100%;min-height:82px;padding:16px 19px;display:flex;align-items:center;justify-content:space-between;gap:16px;
  border:1px solid rgba(63,150,140,.28);border-radius:10px;
  background:linear-gradient(105deg,rgba(38,139,121,.12),rgba(38,139,121,.03));text-align:left;cursor:pointer;
  transition:transform .15s,border-color .15s;
}
.quiz-custom-entry .quiz-custom-start:hover{transform:translateY(-2px);border-color:#5c9ea7}
.quiz-custom-entry .quiz-custom-start>div{display:grid;gap:4px}
.quiz-custom-entry .quiz-custom-start b{font-size:15px}
.quiz-custom-entry .quiz-custom-start span{color:var(--t3);font-size:12px}
.quiz-custom-entry .quiz-custom-start em{color:#4fa398;font-size:12px;font-style:normal;font-weight:700;white-space:nowrap}

/* 配置页 */
.cs-page{display:grid;gap:4px;margin-top:6px}
.cs-back{color:var(--t3);font-size:13px;background:none;border:none;cursor:pointer;justify-self:start;padding:4px 0}
.cs-back:hover{color:var(--t)}
.cs-title{display:grid;gap:3px;margin:2px 0 14px}
.cs-title b{font-size:19px;color:var(--t)}
.cs-title span{color:var(--t3);font-size:12px}
.cs-step{margin-top:18px}
.cs-step>header{display:grid;grid-template-columns:30px 1fr;gap:11px;align-items:start;margin-bottom:11px}
.cs-step>header>span{display:grid;place-items:center;width:28px;height:28px;border:1px solid rgba(72,145,153,.25);border-radius:7px;color:#5fa1aa;font:700 12px Georgia,serif}
.cs-step>header div{display:grid;gap:2px}
.cs-step>header b{font-size:15px;color:var(--t)}
.cs-step>header small{color:var(--t3);font-size:12px}
.cs-subjects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.cs-item{cursor:pointer}
.cs-item .cs-check{display:grid;place-items:center;width:30px;height:30px;border-radius:7px;font-size:16px;font-weight:800;color:#4fa398;background:rgba(38,139,121,.1);border:1px solid rgba(38,139,121,.18)}
.cs-item:not(.on) .cs-check{color:var(--t3);background:transparent}
.cs-item.on{border-color:#3a9889;box-shadow:0 0 0 1px rgba(58,152,137,.25),0 14px 36px rgba(38,139,121,.1)}
/* 章节多选块 */
.cs-chapter-block{margin-top:12px;padding:13px 14px;border:1px solid var(--line);border-radius:10px;background:var(--card)}
.cs-chapter-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.cs-chapter-head b{font-size:13px;color:var(--t)}
.cs-all-btn{font-size:12px;padding:5px 11px;border:1px solid var(--line);border-radius:7px;background:transparent;color:var(--t2);cursor:pointer}
.cs-all-btn.on{border-color:#3a9889;color:#4fa398;background:rgba(38,139,121,.08)}
.cs-chapter-list{display:flex;flex-wrap:wrap;gap:7px}
.cs-chapter{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border:1px solid var(--line);border-radius:7px;background:var(--card);color:var(--t2);font-size:13px;cursor:pointer}
.cs-chapter small{color:var(--t3);font-size:11px}
.cs-chapter.on{border-color:#3a9889;color:var(--t);background:rgba(38,139,121,.08)}
.cs-chapter.on small{color:#4fa398}
/* pill 选项（题型/题量/模式） */
.cs-pills{display:flex;flex-wrap:wrap;gap:8px}
.cs-pill{padding:9px 16px;border:1px solid var(--line);border-radius:8px;background:var(--card);color:var(--t2);font-size:13px;cursor:pointer;transition:border-color .15s,color .15s}
.cs-pill:hover{border-color:#5c9ea7}
.cs-pill.on{border-color:#3a9889;color:var(--t);background:rgba(38,139,121,.1);font-weight:600}
/* 底部摘要 + 开始按钮 */
.cs-summary{position:sticky;bottom:0;margin-top:24px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;border:1px solid rgba(72,145,153,.28);border-radius:11px;background:color-mix(in srgb,var(--card) 88%,rgba(38,139,121,.06));backdrop-filter:blur(8px);box-shadow:0 -8px 30px rgba(0,0,0,.06)}
.cs-summary-info{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13px;color:var(--t3)}
.cs-summary-info b{color:var(--t);font-family:Georgia,serif}
.cs-start{min-width:130px;justify-self:end}
.cs-start:disabled{opacity:.5;cursor:not-allowed}
.cs-hint{margin-top:10px;color:var(--t3);font-size:12px}
/* 配置页在答题态下用浅底，避免与 exam dossier 冲突 */
body[data-view="quiz"].quiz-answering .cs-page,
body[data-view="quiz"].quiz-answering .cs-chapter-block,
body[data-view="quiz"].quiz-answering .cs-chapter,
body[data-view="quiz"].quiz-answering .cs-pill{background:#171f22;border-color:rgba(204,184,148,.18);color:#e9e2d3}
body[data-view="quiz"].quiz-answering .cs-title b,
body[data-view="quiz"].quiz-answering .cs-step>header b{color:#f4efe4}
body[data-view="quiz"].quiz-answering .cs-summary{background:#1a2326;border-color:rgba(204,184,148,.28)}
/* 自由组卷考试计时徽章 */
.exam-timer-badge{margin-left:auto;padding:5px 12px;border-radius:7px;font:700 13px Georgia,serif;color:#cfb98f;background:rgba(183,146,89,.12);border:1px solid rgba(183,146,89,.28);font-variant-numeric:tabular-nums;white-space:nowrap}

/* ===== 薄弱章节专项 ===== */
.chapter-weakness-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.chapter-weakness-list button{min-height:88px;padding:15px 17px;display:flex;align-items:center;justify-content:space-between;gap:14px;text-align:left;border:1px solid rgba(202,112,72,.22);border-radius:10px;background:linear-gradient(110deg,rgba(202,112,72,.1),rgba(202,112,72,.02));color:var(--t);cursor:pointer}
.chapter-weakness-list button:hover{border-color:rgba(202,112,72,.55);transform:translateY(-2px)}
.chapter-weakness-list button>div{display:grid;gap:3px;min-width:0}
.chapter-weakness-list span{color:#c67b57;font-size:11px;font-weight:700}
.chapter-weakness-list b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
.chapter-weakness-list small,.chapter-weakness-empty span,.chapter-weakness-more{color:var(--t3);font-size:11px}
.chapter-weakness-list em{flex:none;color:#c67b57;font-size:12px;font-style:normal;font-weight:700}
.chapter-weakness-empty{padding:20px;display:grid;gap:5px;border:1px dashed var(--line);border-radius:10px;text-align:center}
.chapter-weakness-more{display:block;margin-top:9px;text-align:right}
.chapter-specialty-bar{border-color:rgba(202,112,72,.3)}
.chapter-specialty-complete p{max-width:520px;margin:8px auto 18px;color:var(--t3)}
.sb-exam-countdown{position:relative;margin:0 13px 10px;padding:9px 12px;display:flex;align-items:center;border:1px solid var(--line);border-radius:10px;background:color-mix(in srgb,var(--card) 90%,transparent);cursor:pointer;overflow:hidden}
.sb-exam-countdown>span{display:grid;gap:2px;pointer-events:none}
.sb-exam-countdown b{color:var(--t);font-size:13px;line-height:1.25;font-variant-numeric:tabular-nums}
.sb-exam-countdown small{color:var(--t3);font-size:10px;white-space:nowrap}
.sb-exam-countdown input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
@media(max-width:700px){
  .chapter-weakness-list{grid-template-columns:1fr}
  .chapter-weakness-list button{align-items:flex-start}
}

/* ===== 全真模拟面试(ivmock) ===== */
body[data-view="ivmock"] #view{max-width:920px;margin:0 auto;padding:0 0 60px}
.ivmock-page{padding:0}
.ivmock-stepper{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}
.ivmock-stepper span{display:inline-flex;align-items:center;gap:7px;padding:7px 13px;font-size:12px;color:var(--t3);border:1px solid var(--line);border-radius:999px;background:var(--card)}
.ivmock-stepper span i{display:grid;place-items:center;width:18px;height:18px;font:700 11px/1 inherit;font-style:normal;border-radius:50%;background:rgba(164,122,61,.14);color:#c9a063}
.ivmock-stepper span.on{color:var(--t);border-color:rgba(164,122,61,.55)}
.ivmock-stepper span.done{color:var(--t2)}
.ivmock-stepper span.done i{background:rgba(78,201,168,.16);color:var(--jade)}
.ivm-intro p{margin:0 0 14px;line-height:1.7;color:var(--t2)}
/* 抽题密封卡 */
.ivm-seal{display:grid;gap:10px}
.ivm-seal-row{display:grid;grid-template-columns:190px 1fr;gap:12px;align-items:center;padding:14px 16px;border:1px solid var(--line);border-radius:10px;background:var(--card2)}
.ivm-seal-row b{display:block;font-size:17px;color:var(--t)}
.ivm-seal-row em{display:block;font-style:normal;font-size:12px;color:var(--t3)}
.ivm-seal-qas{display:grid;gap:6px}
.ivm-seal-qas>div{display:flex;align-items:center;gap:12px;padding:10px 16px;border:1px dashed var(--line);border-radius:10px}
.ivm-seal-qas b{font-size:13px;color:var(--t3);font-weight:500}
.ivm-note{margin:4px 0;padding:11px 13px;font-size:12.5px;line-height:1.7;color:var(--t2);border-left:3px solid rgba(164,122,61,.5);background:rgba(164,122,61,.06);border-radius:0 8px 8px 0}
.ivm-note b{color:var(--t)}
/* 讲解计时 */
.ivm-speech{display:grid;gap:12px}
.ivm-speech-head{display:flex;flex-direction:column;gap:9px}
.ivm-speech-head h2{margin:0;font-size:24px;letter-spacing:-.02em}
.ivm-speech-head em{font-style:normal;font-size:12.5px;color:var(--t3)}
.ivm-clock{font-variant-numeric:tabular-nums;font-size:56px;font-weight:750;line-height:1;letter-spacing:.02em;color:var(--gold);padding:18px 0 8px;text-align:center}
.ivm-clock.low{color:var(--red);animation:ivmPulse 1s infinite}
@keyframes ivmPulse{50%{opacity:.55}}
.ivm-timeup{display:none;padding:10px 13px;font-size:13px;color:var(--red);border:1px solid rgba(239,107,107,.4);border-radius:8px;background:rgba(239,107,107,.08);text-align:center}
/* 评分点自评 */
.ivm-check{display:grid;gap:10px}
.ivm-check-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.ivm-time-chip{font-size:12.5px;color:var(--jade);border:1px solid rgba(78,201,168,.35);border-radius:999px;padding:5px 11px;background:rgba(78,201,168,.07)}
.ivm-time-chip.bad{color:var(--red);border-color:rgba(239,107,107,.4);background:rgba(239,107,107,.07)}
.ivm-check-group{border:1px solid var(--line);border-radius:10px;overflow:hidden}
.ivm-check-group h4{display:flex;align-items:baseline;gap:9px;margin:0;padding:10px 14px;font-size:13.5px;color:var(--t);background:var(--card2)}
.ivm-check-group h4 i{display:grid;place-items:center;min-width:20px;height:20px;font:700 11px/1 inherit;font-style:normal;border-radius:50%;background:rgba(164,122,61,.16);color:#c9a063}
.ivm-check-group h4 em{font-style:normal;font-size:11.5px;color:var(--t3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.ivm-check-item{display:flex;align-items:center;gap:10px;padding:10px 14px;font-size:13px;color:var(--t2);cursor:pointer;border-top:1px solid var(--line);user-select:none}
.ivm-check-item:hover{background:rgba(164,122,61,.05)}
.ivm-check-item i{flex:none;width:17px;height:17px;border:1.5px solid var(--t3);border-radius:5px;position:relative;transition:all .15s}
.ivm-check-item.on{color:var(--t)}
.ivm-check-item.on i{border-color:var(--jade);background:rgba(78,201,168,.18)}
.ivm-check-item.on i::after{content:"✓";position:absolute;inset:0;display:grid;place-items:center;font-size:11px;color:var(--jade)}
.ivm-count{font-size:13px;color:var(--t3)}
.ivm-count b{font-size:17px;color:var(--jade)}
/* 问答自评 */
.ivm-qa-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.ivm-qa .quiz-q{margin:12px 0}
.ivm-rates{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.ivm-rates button{display:grid;gap:5px;justify-items:start;padding:15px 14px;text-align:left;border:1px solid var(--line);border-radius:10px;background:var(--card2);cursor:pointer;transition:all .15s}
.ivm-rates button:hover{transform:translateY(-2px);border-color:rgba(164,122,61,.6)}
.ivm-rates b{font-size:15px;color:var(--t)}
.ivm-rates span{font-size:11.5px;color:var(--t3);line-height:1.5}
.ivm-rated{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;padding:11px 14px;border-radius:8px;background:var(--card2);font-size:13px;color:var(--t2)}
.ivm-rated b.r-会说{color:var(--jade)}
.ivm-rated b.r-提示后会{color:var(--orange)}
.ivm-rated b.r-不会{color:var(--red)}
.ivm-rated span{font-size:11.5px;color:var(--t3)}
.ivm-answer summary{cursor:pointer;font-size:13px;color:#c9a063;padding:4px 0}
.ivm-answer p{margin:8px 0 0;font-size:13.5px;line-height:1.85;color:var(--t2);padding:12px 14px;background:var(--card2);border-left:3px solid var(--jade);border-radius:0 8px 8px 0}
/* 成绩复盘 */
.ivm-result{display:grid;gap:14px}
.ivm-score{display:flex;align-items:baseline;gap:12px}
.ivm-score b{font-size:40px;color:var(--gold);letter-spacing:-.02em}
.ivm-score span{font-size:12.5px;color:var(--t3)}
.ivm-rule{margin:0;font-size:12px;color:var(--t3);padding-bottom:12px;border-bottom:1px solid var(--line)}
.ivm-res-row{display:grid;gap:8px;padding:14px 16px;border:1px solid var(--line);border-radius:10px}
.ivm-res-row.ok{border-color:rgba(78,201,168,.3)}
.ivm-res-row.bad{border-color:rgba(239,107,107,.35)}
.ivm-res-row .bar{height:8px}
.ivm-res-row em{font-style:normal;font-size:12.5px;color:var(--t2)}
.ivm-res-qa{display:grid;gap:8px}
.ivm-res-qa>div{display:grid;grid-template-columns:86px 1fr auto;gap:12px;align-items:center;padding:11px 14px;border-radius:10px;border:1px solid var(--line)}
.ivm-res-qa>div span{font-size:11.5px;color:var(--t3)}
.ivm-res-qa>div p{margin:0;font-size:13px;color:var(--t);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ivm-res-qa>div em{font-style:normal;font-size:12px;font-weight:700}
.ivm-res-qa>div.ok em{color:var(--jade)}
.ivm-res-qa>div.mid em{color:var(--orange)}
.ivm-res-qa>div.bad em{color:var(--red)}
.ivm-advice{padding:13px 15px;font-size:13px;line-height:1.75;color:var(--t2);border-left:3px solid var(--gold);background:rgba(240,200,118,.07);border-radius:0 8px 8px 0}
.ivm-untouched{display:grid;gap:8px;padding:13px 15px;border:1px dashed var(--line);border-radius:10px}
.ivm-untouched b{font-size:13px;color:var(--t)}
.ivm-untouched>div{display:flex;flex-wrap:wrap;gap:6px}
.ivm-untouched>div span{padding:4px 10px;font-size:11.5px;color:var(--t2);border:1px solid var(--line);border-radius:999px;background:var(--card2)}
.ivm-untouched p{margin:0;font-size:11.5px;color:var(--t3)}
/* 入口问答池切换 */
.ivm-pool{display:inline-flex;align-items:center;gap:8px}
.ivm-pool>span{font-size:12px;color:var(--t3)}
.ivm-pool button{padding:6px 12px;font-size:12px;color:var(--t2);border:1px solid var(--line);border-radius:999px;background:var(--card2);cursor:pointer}
.ivm-pool button.on{color:var(--gold);border-color:rgba(240,200,118,.55);background:rgba(240,200,118,.08)}
@media(max-width:640px){
  .ivm-seal-row{grid-template-columns:1fr;gap:6px}
  .ivm-rates{grid-template-columns:1fr}
  .ivm-res-qa>div{grid-template-columns:1fr;gap:4px}
  .ivm-res-qa>div p{white-space:normal}
  .ivm-clock{font-size:44px}
}

/* ===== 面试记忆闭环:状态徽标/要点条目/复习队列/篇目面板 ===== */
.iv-badge{display:inline-block;margin-left:8px;padding:2px 9px;font-size:11px;font-weight:600;border-radius:999px;vertical-align:1px}
.iv-badge.ok{color:var(--jade);background:rgba(78,201,168,.12);border:1px solid rgba(78,201,168,.35)}
.iv-badge.mid{color:var(--orange);background:rgba(240,160,80,.1);border:1px solid rgba(240,160,80,.35)}
.iv-badge.bad{color:var(--red);background:rgba(239,107,107,.1);border:1px solid rgba(239,107,107,.35)}
.iv-points-box{padding:13px 15px;background:var(--card2);border-radius:0 8px 8px 0;border-left:3px solid var(--jade)}
.iv-points-box>span{display:block;margin-bottom:8px;font-size:11.5px;color:var(--t3)}
.iv-points{margin:0;padding-left:18px;list-style:none}
.iv-points li{position:relative;margin:0 0 7px;font-size:13.5px;line-height:1.75;color:var(--t2)}
.iv-points li:last-child{margin-bottom:0}
.iv-points li::before{content:"";position:absolute;left:-14px;top:.65em;width:6px;height:6px;border-radius:50%;background:rgba(164,122,61,.55)}
.iv-points-box.hide{display:none}
.iv-rate{min-width:96px}
.iv-rate-ok:hover{border-color:rgba(78,201,168,.6);color:var(--jade)}
.iv-rate-mid:hover{border-color:rgba(240,160,80,.6);color:var(--orange)}
.iv-rate-bad:hover{border-color:rgba(239,107,107,.6);color:var(--red)}
.pill em{margin-left:4px;padding:1px 7px;font-style:normal;font-size:10.5px;color:var(--red);background:rgba(239,107,107,.12);border-radius:999px}
/* 复习队列 */
.iv-review header,.iv-guides header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.iv-review header span,.iv-guides header span{font:750 10.5px/1 var(--font-metric,monospace);letter-spacing:.14em;color:var(--t3)}
.iv-review header h2,.iv-guides header h2{margin:5px 0 0;font-size:17px}
.iv-review header em{font-style:normal;font-size:12px;color:var(--t3)}
.iv-review p{margin:0;font-size:13px;line-height:1.7;color:var(--t2)}
.iv-review p b{color:var(--red)}
.iv-review-guides{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.iv-review-guides button{padding:7px 12px;font-size:12.5px;color:var(--red);border:1px solid rgba(239,107,107,.35);border-radius:999px;background:rgba(239,107,107,.06);cursor:pointer}
.iv-review-guides button:hover{border-color:rgba(239,107,107,.65)}
.iv-review-card{border-color:rgba(164,122,61,.45)!important}
/* 16篇讲解掌握面板 */
.iv-guides header em{font-style:normal;font-size:12.5px;color:var(--gold)}
.iv-guide-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.ivg{display:grid;gap:3px;justify-items:start;padding:11px 12px;text-align:left;border:1px solid var(--line);border-radius:9px;background:var(--card2);cursor:pointer;transition:transform .15s,border-color .15s}
.ivg:hover{transform:translateY(-2px)}
.ivg b{font-size:13px;color:var(--t);line-height:1.3}
.ivg span{font-size:10.5px;color:var(--t3)}
.ivg.ok{border-color:rgba(78,201,168,.35)}
.ivg.ok span{color:var(--jade)}
.ivg.mid{border-color:rgba(240,160,80,.35)}
.ivg.mid span{color:var(--orange)}
.ivg.bad{border-color:rgba(239,107,107,.4)}
.ivg.bad span{color:var(--red)}
.iv-guides>p{margin:10px 0 0;font-size:11.5px;color:var(--t3)}
/* 录音指示与回放 */
.ivm-rec{display:inline-flex;align-items:center;gap:7px;align-self:start;padding:6px 12px;font-size:12px;color:var(--t3);border:1px dashed var(--line);border-radius:999px}
.ivm-rec::first-letter{color:var(--red)}
.ivm-audio{display:grid;gap:8px;padding:12px 14px;border:1px dashed var(--line);border-radius:9px;background:var(--card2)}
.ivm-audio>span{font-size:11.5px;color:var(--t3)}
.ivm-audio audio{width:100%;height:38px}
@media(max-width:640px){
  .iv-guide-grid{grid-template-columns:repeat(2,1fr)}
  .iv-rate{min-width:82px}
}

/* ===== 章节刷题模式选择(学习/巩固/测评) ===== */
.pm-picker{display:grid;gap:18px;padding:30px 28px 26px}
.pm-head{display:grid;gap:6px}
.pm-head>span{color:#3a8c99;font:800 9px Georgia,serif;letter-spacing:.18em}
.pm-head>b{font-size:22px}
.pm-head>small{color:var(--t3);font-size:11px}
.pm-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.pm-card{position:relative;display:grid;gap:6px;align-content:start;padding:18px 16px;text-align:left;border:1.5px solid var(--line);border-radius:14px;background:var(--card);cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .2s}
.pm-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(20,74,105,.08)}
.pm-card>i{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:rgba(58,152,169,.12);color:#22707f;font-style:normal;font-weight:800;font-size:15px}
.pm-card>b{font-size:15px}
.pm-card>span{color:var(--t2);font-size:11px}
.pm-card>em{color:var(--t3);font-size:10px;font-style:normal;line-height:1.6}
.pm-card.on{border-color:#3a9889;background:linear-gradient(150deg,rgba(58,152,145,.06),var(--card) 55%)}
.pm-card.on::after{content:"✓";position:absolute;top:12px;right:12px;color:#3a9889;font-weight:800;font-size:12px}
.pm-counts{display:none;gap:10px;align-items:center;padding:14px 16px;border:1px dashed var(--line);border-radius:12px;background:rgba(58,152,169,.04)}
.pm-counts.show{display:flex;flex-wrap:wrap}
.pm-counts>span{color:#33566e;font-size:11px;font-weight:700;white-space:nowrap}
.pm-count-pills{display:flex;gap:8px;flex-wrap:wrap}
.pm-count{padding:8px 14px;border:1.5px solid var(--line);border-radius:999px;background:var(--card);color:var(--t2);font-size:12px;font-weight:700;cursor:pointer;transition:border-color .2s,background .2s}
.pm-count:hover{border-color:rgba(58,152,169,.4)}
.pm-count.on{border-color:#3a9889;background:rgba(38,139,121,.1);color:#22707f}
.pm-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
@media(max-width:700px){
  .pm-picker{padding:22px 16px 20px;gap:14px}
  .pm-cards{grid-template-columns:1fr}
  .pm-card{padding:14px}
}

/* 测评模式:右上角交卷按钮 */
.assess-submit{padding:7px 16px;border:0;border-radius:999px;background:linear-gradient(135deg,#d96565,#c74e4e);color:#fff;font-size:12px;font-weight:800;cursor:pointer;box-shadow:0 4px 14px rgba(201,78,78,.25);transition:transform .15s,box-shadow .15s}
.assess-submit:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(201,78,78,.32)}
.assess-submit:active{transform:none}

/* ===== 测评报告(成熟题库风格:成绩头+统计格+题号网格+解析列表) ===== */
.as-report{display:grid;gap:0;max-width:860px;margin:0 auto;border:1px solid var(--line);border-radius:20px;background:var(--card);overflow:hidden;box-shadow:0 22px 60px rgba(12,48,60,.08)}
.as-hero{display:grid;justify-items:center;gap:10px;padding:34px 24px 24px;background:linear-gradient(170deg,rgba(58,152,169,.07),transparent 70%)}
.as-hero-tag{color:#33566e;font-size:11px;font-weight:700;letter-spacing:.08em}
.as-hero-score{display:flex;align-items:baseline;gap:10px}
.as-hero-score b{font:800 56px/1 Georgia,serif;color:#143b52;letter-spacing:-.02em}
.as-hero-score b i{font-style:normal;font-size:24px;font-weight:800;color:#5f7480}
.as-hero-score em{font-style:normal;font-size:15px;font-weight:800;color:#3a9889}
.as-hero>p{margin:0;color:var(--t3);font-size:12px}
.as-hero-stats{display:flex;gap:10px;margin-top:10px;flex-wrap:wrap;justify-content:center}
.as-stat{display:grid;justify-items:center;gap:3px;min-width:86px;padding:12px 18px;border-radius:12px;background:var(--card);border:1px solid var(--line)}
.as-stat b{font:800 20px Georgia,serif;color:var(--t)}
.as-stat span{color:var(--t3);font-size:10px;letter-spacing:.1em}
.as-stat.ok b{color:#2f8f74}.as-stat.ok{border-color:rgba(47,143,116,.25);background:rgba(47,143,116,.05)}
.as-stat.bad b{color:#c74e4e}.as-stat.bad{border-color:rgba(199,78,78,.22);background:rgba(199,78,78,.04)}
.as-stat.skip b{color:#8296a0}
.as-stat.time b{font-size:18px;color:#143b52}
.as-grid-block{padding:18px 24px 20px;border-top:1px solid var(--line)}
.as-grid-legend{display:flex;align-items:center;gap:14px;margin-bottom:12px;color:var(--t3);font-size:11px;flex-wrap:wrap}
.as-grid-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px;vertical-align:-1px}
.as-grid-legend i.ok{background:#2f8f74}.as-grid-legend i.bad{background:#c74e4e}.as-grid-legend i.skip{background:#c6d2d8}
.as-grid-legend span{margin-left:auto}
.as-grid{display:flex;flex-wrap:wrap;gap:7px}
.as-grid-dot{width:34px;height:34px;border-radius:9px;border:1.5px solid;font:700 13px/30px Georgia,serif;text-align:center;cursor:pointer;transition:transform .12s,box-shadow .12s;background:var(--card)}
.as-grid-dot:hover{transform:translateY(-2px);box-shadow:0 6px 14px rgba(12,48,60,.12)}
.as-grid-dot.ok{color:#2f8f74;border-color:rgba(47,143,116,.45);background:rgba(47,143,116,.08)}
.as-grid-dot.bad{color:#c74e4e;border-color:rgba(199,78,78,.4);background:rgba(199,78,78,.07)}
.as-grid-dot.skip{color:#8296a0;border-color:var(--line);background:repeating-linear-gradient(45deg,transparent 0 5px,rgba(130,150,160,.09) 5px 10px)}
.as-review{border-top:1px solid var(--line);padding:18px 24px 8px;background:rgba(248,251,252,.6)}
.as-review-tabs{display:flex;gap:8px;margin-bottom:14px}
.as-tab{padding:9px 16px;border:1.5px solid var(--line);border-radius:999px;background:var(--card);color:var(--t2);font-size:12px;font-weight:700;cursor:pointer;transition:all .18s}
.as-tab:hover{border-color:rgba(58,152,169,.4)}
.as-tab.on{border-color:#3a9889;background:rgba(38,139,121,.1);color:#22707f}
.as-review-empty{padding:28px;text-align:center;color:var(--t3);font-size:13px}
.as-item{display:grid;gap:10px;margin-bottom:12px;padding:16px 18px;border-radius:14px;border:1px solid var(--line);border-left-width:4px;background:var(--card);transition:box-shadow .3s}
.as-item.bad{border-left-color:#c74e4e}
.as-item.ok{border-left-color:#2f8f74}
.as-item.flash{box-shadow:0 0 0 3px rgba(58,152,169,.35)}
.as-item header{display:flex;align-items:center;gap:10px}
.as-item-no{display:grid;place-items:center;min-width:26px;height:26px;padding:0 4px;border-radius:8px;background:rgba(58,152,169,.1);color:#22707f;font:800 12px Georgia,serif}
.as-item-state{font-size:11px;font-weight:800}
.as-item.bad .as-item-state{color:#c74e4e}
.as-item.ok .as-item-state{color:#2f8f74}
.as-item-type{margin-left:auto;color:var(--t3);font-size:10px}
.as-item-q{font-size:14px;font-weight:650;line-height:1.7;color:var(--t)}
.as-item-answers{display:grid;gap:6px}
.as-answer{display:flex;align-items:baseline;gap:10px;padding:8px 12px;border-radius:9px;font-size:12px}
.as-answer span{flex-shrink:0;color:var(--t3);font-size:10px;letter-spacing:.06em}
.as-answer b{font-weight:700;line-height:1.6}
.as-answer.ok{background:rgba(47,143,116,.07)}
.as-answer.ok b{color:#22685a}
.as-answer.bad{background:rgba(199,78,78,.06)}
.as-answer.bad b{color:#a83c3c}
.as-answer.bad b i{font-style:normal;color:var(--t3);font-weight:500}
.as-item-exp{border-top:1px dashed var(--line);padding-top:10px}
.as-item-exp summary{cursor:pointer;color:#33566e;font-size:11px;font-weight:700;letter-spacing:.06em;list-style:none}
.as-item-exp summary::-webkit-details-marker{display:none}
.as-item-exp summary::before{content:"▸ ";color:#3a8c99}
.as-item-exp[open] summary::before{content:"▾ "}
.as-item-exp>div{margin-top:8px;color:var(--t2);font-size:12.5px;line-height:1.85;white-space:pre-wrap}
.as-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;padding:20px 24px 26px;border-top:1px solid var(--line)}
@media(max-width:640px){
  .as-hero{padding:26px 16px 18px}
  .as-hero-score b{font-size:44px}
  .as-stat{min-width:72px;padding:10px 12px}
  .as-grid-block{padding:14px 16px 16px}
  .as-grid-dot{width:30px;height:30px;line-height:27px;font-size:12px}
  .as-review{padding:14px 16px 6px}
  .as-item{padding:13px 14px}
  .as-actions{padding:16px 16px 22px}
}

/* 章节列表：本科目内复习优先级。标签先于星级，直接给出行动顺序。 */
.qc-item{display:flex;align-items:center;gap:10px}
.chapter-priority{--priority:#64717a;--priority-soft:#eef1f2;display:inline-flex;align-items:center;gap:6px;flex-shrink:0;color:var(--priority);font-size:10px;letter-spacing:.035em;white-space:nowrap}
.chapter-priority>b{min-width:32px;padding:3px 7px;border:1px solid color-mix(in srgb,var(--priority) 42%,transparent);border-radius:3px;background:var(--priority-soft);color:var(--priority);font-size:10px;line-height:1;font-weight:850;text-align:center;letter-spacing:.12em}
.chapter-priority>span{font-family:"SFMono-Regular",Consolas,monospace;font-size:10px;letter-spacing:-.04em}
.chapter-priority>i{font-style:normal;color:#33566e;font-size:10px;font-weight:650;letter-spacing:0}
.priority-5{--priority:#9e3d2f;--priority-soft:#f8e9e5}
.priority-4{--priority:#9a6419;--priority-soft:#f8efdc}
.priority-3{--priority:#27705e;--priority-soft:#e5f1ed}
.priority-2{--priority:#526a7d;--priority-soft:#eaf0f4}
.priority-1{--priority:#74736f;--priority-soft:#f0efec}
.qc-weight{margin-left:auto}
.qc-item:has(.priority-5){box-shadow:inset 3px 0 0 #9e3d2f}
.qc-item:has(.priority-1){opacity:.82}
.qc-item .qc-count{margin-left:0}
.qc-item .qc-name{flex:1;min-width:0;text-align:left}
.chapter-priority-guide{display:flex;align-items:center;gap:12px;margin:10px 0 14px;padding:11px 14px;border:1px solid #d9d5c9;border-left:4px solid #9e3d2f;border-radius:5px;background:linear-gradient(90deg,#faf5ec,#fffdf8);color:#43515a;font-size:11px;line-height:1.55}
.chapter-priority-guide>b{color:#24333c;font-size:11px;letter-spacing:.08em;white-space:nowrap}
.chapter-priority-guide i{padding:2px 5px;border-radius:2px;font-style:normal;font-weight:800}
.chapter-priority-guide .g5{background:#f8e9e5;color:#9e3d2f}
.chapter-priority-guide .g4{background:#f8efdc;color:#9a6419}
.chapter-priority-guide .g2{background:#eaf0f4;color:#526a7d}
@media(max-width:640px){
  .qc-item{flex-wrap:wrap}
  .qc-weight{width:100%;margin-left:0;order:3}
  .chapter-priority>i{font-size:9px}
  .chapter-priority-guide{align-items:flex-start;flex-direction:column;gap:4px}
}

/* 薄弱章节条目与模式选择卡复用同一优先级语义 */
.cw-weight{display:flex;width:max-content;margin:4px 0 2px}
.pm-head .pm-weight{margin-left:7px;vertical-align:middle}
