.explorer { padding: 46px 0 20px; }
.figure-toolbar,.chapter-actions,.read-controls {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.explore-intro { margin-bottom: 26px; }
.explore-intro h1 { font-size: clamp(1.95rem, 4vw, 3rem); margin: 0; line-height: 1.2; letter-spacing: -.045em; }
.explore-intro p,.chapter-intro p { margin: 10px 0 0; color: #4e6178; line-height: 1.7; }
.explorer .step-nav { border-bottom: 1px solid #dbe1ec; padding-bottom: 14px; margin-bottom: 18px; }
.explorer .step-button { overflow-wrap: anywhere; padding: 10px 9px; }
.explorer .step-button strong { font-size: .88rem; line-height: 1.3; white-space: normal; }
.explorer .step-button small,.explorer .step-number { font-size: .8rem; }
.explorer .step-number { margin-bottom: 6px; }
.chapter { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 3vw, 40px); }
.chapter h2 { margin: 6px 0; line-height: 1.25; letter-spacing: -.035em; font-size: clamp(1.45rem, 3vw, 2.15rem); }
.chapter h3 { margin: 0 0 16px; line-height: 1.4; font-size: 1.17rem; letter-spacing: -.025em; }
.chapter h4 { font-size: 1.15rem; line-height: 1.5; margin: 0 0 10px; }
.chapter p,.chapter dd { overflow-wrap: anywhere; }
.chapter-intro .step-index { color: #41569b; font-family: inherit; letter-spacing: .06em; font-size: .82rem; font-weight: 700; }
.step-english { display: block; color: #64748a; font-size: .88rem; }
#page-reference { color: #566581; font-size: .82rem; margin: 0 0 14px; }
.overview-layout { margin: 24px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.beginner-flow h3 { margin-bottom: 14px; }
#overview-steps { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
#overview-steps li { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 10px; align-items: start; }
.overview-number { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e9eefa; color: #344fac; font-size: .86rem; font-weight: 700; }
#overview-steps strong { display: block; color: #2b405e; font-size: .98rem; line-height: 1.5; }
#overview-steps p { margin: 3px 0 0; color: #4e6178; font-size: .92rem; line-height: 1.65; word-break: keep-all; }
.overview-focus { border-left: 3px solid #8ca6d9; margin: 17px 0 0; padding: 9px 12px; color: #344d74; background: #f3f6fc; font-size: .9rem; line-height: 1.7; border-radius: 0 6px 6px 0; word-break: keep-all; }
.process-primer-host { margin: 28px 0; }
.process-primer-host[hidden] { display: none; }
.explore-disclosure { margin-top: 13px; border: 1px solid #d6dfef; border-radius: 12px; background: #fff; }
.explore-disclosure > summary { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 18px; border-radius: 12px; cursor: pointer; list-style: none; background: #f5f7fc; color: #2f4468; }
.explore-disclosure > summary::-webkit-details-marker { display: none; }
.explore-disclosure > summary strong { display: block; font-size: 1rem; line-height: 1.45; }
.explore-disclosure > summary small { display: block; margin-top: 4px; color: #5b6c84; font-size: .84rem; line-height: 1.5; }
.explore-disclosure > summary:hover { background: #edf2fc; }
.explore-disclosure[open] > summary { border-bottom: 1px solid #dce4f0; border-radius: 12px 12px 0 0; }
.disclosure-state { display: flex; align-items: center; gap: 8px; flex: none; color: #3b53a5; font-size: .86rem; }
.disclosure-state::before { content: '펼치기'; }
.disclosure-state::after { content: '+'; font-size: 1.4rem; line-height: 1; }
.explore-disclosure[open] > summary .disclosure-state::before { content: '접기'; }
.explore-disclosure[open] > summary .disclosure-state::after { content: '−'; }
.disclosure-body { padding: 22px; }
.disclosure-body .bridge-copy { margin-bottom: 23px; }
.explore-disclosure > summary:focus-visible,.chapter button:focus-visible,.chapter a:focus-visible,#topic-reader:focus-visible { outline: 3px solid #576ee0; outline-offset: 3px; }
.bridge-copy dl { margin: 0; }
.bridge-copy dl>div { display: grid; grid-template-columns: 87px 1fr; border-top: 1px solid var(--line); gap: 12px; padding: 11px 0; }
.bridge-copy dt { color: #344dac; font-weight: 650; font-size: .9rem; }
.bridge-copy dd { margin: 0; font-size: .96rem; line-height: 1.7; }
.section-figure { background: #f2f5fa; padding: 17px 21px; margin: 0; border-radius: 12px; }
.figure-toolbar { flex-wrap: wrap; gap: 8px; }
.figure-toolbar h3 { margin: 0; }
.diagram-switch { background: #e3e9f3; padding: 3px; border-radius: 8px; display: flex; }
.diagram-switch button,.read-controls button { background: transparent; color: #3e506d; font-size: .9rem; border-radius: 6px; padding: 6px 10px; }
.diagram-switch [aria-pressed=true] { color: #253f9d; background: white; box-shadow: 0 1px 4px #253f9d1c; }
#cross-section svg { display: block; width: 100%; height: auto; max-height: 340px; margin: 8px auto; }
#change { font-size: .9rem; text-align: center; color: #485970; }
.reader { border-top: 1px solid var(--line); padding-top: 25px; }
.reader-layout { display: grid; grid-template-columns: minmax(205px, .43fr) minmax(0, 1fr); gap: 28px; }
#topic-list { display: flex; flex-direction: column; gap: 5px; align-self: start; }
#topic-list button { text-align: left; color: #495974; background: #f5f7fa; padding: 12px 14px; border: 1px solid transparent; border-radius: 8px; line-height: 1.48; font-size: .94rem; }
#topic-list button:hover { background: #edf0f8; }
#topic-list [aria-pressed=true] { color: #253f9d; background: #edf0ff; border-color: #b7c5ef; font-weight: 650; }
#topic-reader { min-width: 0; border-left: 2px solid #e3e9f5; padding: 4px 0 0 24px; line-height: 1.8; }
#topic-reader p { margin: 11px 0; color: #48576d; font-size: 1rem; }
#topic-reader .topic-lead { color: #273c5c; font-weight: 580; }
#topic-reader table { border-collapse: collapse; width: 100%; font-size: .91rem; margin: 20px 0; word-break: normal; overflow-wrap: anywhere; }
#topic-reader th,#topic-reader td { padding: 9px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
#topic-reader th { background: #f1f4fa; color: #394967; }
#topic-reader figure { margin: 18px 0; }
#topic-reader figure svg { display: block; width: 100%; max-height: 245px; height: auto; }
#topic-reader figcaption { font-size: .91rem; color: #526078; margin-top: 8px; }
.read-controls { margin-top: 20px; padding-top: 13px; border-top: 1px solid var(--line); }
.read-controls button { background: #f1f3fa; font-weight: 600; }
.read-controls span { font-size: .85rem; color: #57677d; }
.practice-layout { margin: 0 0 24px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; }
.practice-layout section { border-radius: 12px; padding: 20px; }
.inspection { background: #eef6f3; }
.inspection p,.reading-case p { margin: 9px 0 0; line-height: 1.7; }
.inspection .tool-name { font-weight: 650; color: #205749; }
.reading-case { background: #f0f3fc; }
#case-options,#answers { display: grid; gap: 6px; margin-top: 12px; }
#case-options button,.quiz button { width: 100%; background: #fff; border: 1px solid #d6deed; padding: 8px 10px; color: #3e506d; text-align: left; border-radius: 7px; font-size: .92rem; margin: 0; }
#case-options .correct { border-color: #6eaf98; background: #e9f6f1; }
#case-options .wrong { border-color: #c5826f; background: #fff0eb; }
#case-feedback:empty { display: none; }
#case-feedback { font-size: .94rem; }
.review { border-top: 1px solid var(--line); padding-top: 22px; }
.review-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; padding-bottom: 16px; }
.review .level-switch { width: fit-content; margin: 0 0 14px; }
.review .quiz { padding-top: 0; }
.chapter-actions { margin-top: 22px; flex-wrap: wrap; }
#lab-link { font-size: .94rem; text-decoration: underline; text-underline-offset: 3px; color: #3249a5; }
.chapter-actions .primary { padding: 10px 14px; font-size: .9rem; }
.explorer .local-note { font-size: .82rem; text-align: right; }
@media (max-width: 820px) {
  .overview-layout { gap: 18px; }
  .bridge-copy dl>div { display: block; }
  .reader-layout { grid-template-columns: minmax(155px,.45fr) minmax(0,1fr); gap: 16px; }
}
@media (max-width: 720px) {
  .explorer { padding: 28px 0 12px; }
  .explorer .step-nav { margin-right: 0; padding-right: 0; }
  .explorer .step-button { flex-basis: 124px; }
  .overview-layout,.reader-layout,.practice-layout,.review-body { grid-template-columns: minmax(0,1fr); }
  .overview-layout { margin-top: 20px; }
  .disclosure-body { padding: 16px; }
  .explore-disclosure > summary { padding: 14px; }
  .explore-disclosure > summary small { max-width: 28ch; }
  .bridge-copy dl>div { display: grid; grid-template-columns: 76px minmax(0,1fr); }
  .chapter-intro p { margin-bottom: 8px; }
  #topic-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  #topic-list button { padding: 8px; font-size: .88rem; }
  #topic-reader { padding: 12px 0 0; border: 0; }
  .section-figure,.practice-layout section { padding: 15px; }
  .explorer .local-note { text-align: left; }
}
@media (max-width: 480px) {
  .chapter-actions { flex-direction: column; align-items: stretch; gap: 12px; }
}
@media (max-width: 380px) {
  .explorer .chapter { padding: 14px; }
  .bridge-copy dl>div { grid-template-columns: 66px minmax(0,1fr); }
  .disclosure-state::before { content: none; }
  .explore-disclosure[open] > summary .disclosure-state::before { content: none; }
  .disclosure-body { padding: 12px; }
}
