:root {
  --guide-ink:#132b45;
  --guide-text:#314760;
  --guide-muted:#496078;
  --guide-blue:#214da6;
  --guide-deep:#182f49;
  --guide-line:#ccd7e4;
  --guide-paper:#f5f6f8;
  --guide-wash:#eaf0f9;
  --guide-white:#fff;
  --learn-ink:var(--guide-ink);
  --learn-sub:var(--guide-text);
  --learn-teal:var(--guide-blue);
  --learn-deep:var(--guide-deep);
  --learn-rule:var(--guide-line);
  --learn-wash:var(--guide-wash);
  --learn-paper:var(--guide-paper);
  --ink:var(--guide-ink);
  --green:#244589;
  --green2:#3159a0;
  --muted:var(--guide-muted);
  --line:var(--guide-line);
  --paper:var(--guide-paper);
  --soft:var(--guide-wash);
}
html { font-size:16px; word-break:normal; line-height:1.6; }
:lang(ko) :is(h1,h2,h3,h4,button,label,summary,.site-nav a,.concept-navigation a) {
  word-break:keep-all;
  overflow-wrap:anywhere;
}
:lang(ko) :is(em,i) { font-style:normal; }
:lang(ko) :is(p,li,button,label,small,input,select) { letter-spacing:0; }
:where(button,a,input,select,summary):focus-visible { outline:3px solid #996006; outline-offset:3px; }
body.on-discovery, body.on-library { background:var(--guide-paper); }
body.on-discovery main.wrap, body.on-library main.wrap { width:min(1280px,calc(100% - 64px)); }
body .site-header .top { min-height:70px; gap:18px; }
body .site-header .brand { font-size:22px; letter-spacing:-.025em; }
body .site-header .site-nav { gap:clamp(14px,2.3vw,36px); }
body .site-nav a { padding-inline:4px; min-height:69px; font-size:.95rem; }
body .site-nav a[aria-current] { color:var(--guide-blue); border-block-end-width:3px; }
body .site-header .search-trigger,body.on-discovery .site-header .search-trigger,body.on-cover .site-header .search-trigger {
  min-height:44px; padding-inline:13px; border-radius:6px; color:var(--guide-ink);
}
.hub { padding-block:33px 25px; }
.hub .hub-title {
  font-size:clamp(2rem,3.5vw,3rem); line-height:1.34; letter-spacing:-.028em; font-weight:780;
}
.hub :is(.formation-intro p,.map-intro p,.atlas-hero .intro) {
  max-width:54ch; margin-top:3px; color:var(--guide-text); font-size:1.06rem; line-height:1.65;
}
.hub .formation-intro { margin-bottom:25px; }
.hub .learn-action,.hub .action { border-radius:6px; }
.learn-source,.ridge-case-note>a,.ridge-source-links a { color:var(--guide-text); font-size:.82rem; }
.learn-badge.model { color:#2e5148; background:#f9fbf8; border-color:#b1c6bb; }
.learn-badge.obs { background:#172e48; }
.learn-segment button,.learn-aux-tools button,.learn-stage-choices button { border-radius:5px; }

.concept-arrangement {
  display:grid; grid-template-columns:210px minmax(0,1fr); gap:26px; align-items:start;
}
.concept-article {
  min-width:0; background:var(--guide-white); border:1px solid var(--guide-line); border-radius:9px;
  padding:clamp(20px,2.4vw,33px);
}
.concept-navigation {
  padding:16px 10px; border-radius:8px; color:#edf4ff; background:var(--guide-deep);
}
.concept-group + .concept-group { margin-top:13px; padding-top:13px; border-top:1px solid #416080; }
.concept-group h2 {
  margin:0 8px 5px; color:#b9cee7; font-size:.85rem; line-height:1.4; font-weight:730;
}
.concept-group ul { list-style:none; margin:0; padding:0; }
.concept-group a {
  display:block; min-height:41px; padding:7px 8px 7px 10px; align-content:center;
  border-inline-start:3px solid transparent; border-radius:5px; color:inherit; text-decoration:none; font-size:.96rem;
}
.concept-group a:hover { background:#294969; }
.concept-group a[aria-current] { border-inline-start-color:#aac7ff; background:#335780; color:#fff; font-weight:760; }
.concept-group a:focus-visible { outline-color:#ffdb81; outline-offset:-3px; }
.concept-picker { display:none; }
.learn-concept-title { font-size:clamp(1.65rem,3vw,2.45rem); font-weight:770; line-height:1.32; letter-spacing:-.025em; }
.learn-concept-summary { max-width:59ch; margin:7px 0 20px; font-size:1.06rem; color:var(--guide-text); line-height:1.65; }
.learn-workbench {
  grid-template-columns:minmax(0,1.75fr) minmax(245px,1fr); border-radius:7px;
  background:var(--guide-white);
}
.learn-model { background:#edf2ef; }
.learn-model-bar { padding:11px 12px 0; }
.learn-model-bar .learn-segment button { min-height:44px; padding-inline:10px; font-size:.9rem; }
.learn-model-note { color:#314d49; font-size:.85rem; padding:4px 12px 12px; line-height:1.5; }
.learn-console { padding:19px; }
.hub .learn-model-title { font-size:1.22rem; font-weight:760; line-height:1.38; }
.learn-model-description { color:var(--guide-text); font-size:.94rem; line-height:1.6; margin:7px 0 11px; }
.learn-model-controls { gap:12px; margin:5px 0 9px; }
.learn-strength { padding-block:4px; font-size:.96rem; }
.learn-strength-head output { color:var(--guide-blue); font-weight:750; }
.learn-console .learn-reset { border-color:var(--guide-line); color:var(--guide-blue); }
.learn-console .learn-qualifier { font-size:.83rem; line-height:1.5; color:var(--guide-muted); }
.hub .learn-concept-read {
  max-width:100%; margin-top:26px; font-size:1rem; line-height:1.68;
}
.hub .learn-concept-read :is(.formation-point,.formation-observe) { margin-top:0; padding-top:13px; }
.hub .learn-concept-read h3 { font-size:1.07rem; color:var(--guide-ink); }
.hub .learn-concept-read .formation-observe { margin-top:18px; padding:14px; background:#eef3fb; border:0; border-inline-start:3px solid #7494cb; }
.hub .formation-sources { font-size:.85rem; gap:3px 14px; }
.learn-onward { border-top:1px solid var(--guide-line); padding-top:15px; }
.ridge-atlas { color:var(--guide-ink); }
.ridge-atlas .ridge-intro,.ridge-atlas .ridge-interpret { font-size:.97rem; }
.ridge-observation,.ridge-process-note,.ridge-profile-note { font-size:.89rem; }
.ridge-atlas .ridge-clue { font-size:.84rem; }

.hub .atlas-hero {
  align-items:end; gap:18px; padding-bottom:21px; border-bottom:1px solid var(--guide-line);
}
.atlas-total { color:var(--guide-muted); font-size:1rem; }
.hub .atlas-search { border-color:#8da3bb; box-shadow:none; }
.hub .atlas-search input { font-size:1rem; }
.hub .atlas-work {
  display:grid; grid-template-columns:210px minmax(0,1fr);
  grid-template-areas:"rail results"; gap:10px 24px; align-items:start;
}
.atlas-rail { grid-area:rail; padding:14px; background:#fff; border:1px solid var(--guide-line); border-radius:8px; }
.atlas-refinement { display:block; position:relative; margin:0 0 0 auto; z-index:2; }
.atlas-refinement summary {
  min-height:44px; padding:7px 10px; align-content:center; cursor:pointer; border:1px solid var(--guide-line);
  border-radius:5px; background:#fff; color:var(--guide-text); font-size:.9rem; font-weight:700;
}
.atlas-refinement[open] summary { color:var(--guide-blue); border-color:#8ba6d2; }
.atlas-refine-options {
  position:absolute; inset:calc(100% + 4px) 0 auto auto; width:min(305px,calc(100vw - 42px));
  display:grid; justify-items:start; gap:8px; padding:9px;
  border:1px solid var(--guide-line); border-radius:5px; background:#fff; box-shadow:0 5px 16px #19375221;
}
.hub .atlas-refine-options .atlas-facets { margin:0; }

.hub .shelf { grid-area:results; background:transparent; border:0; border-radius:0; padding:4px 0 0; }
.hub .taxonomy h2,.hub .hub-resources h2 {
  position:static; clip-path:none; width:auto; height:auto; margin:0 0 6px;
  font-size:1rem; line-height:1.42; color:var(--guide-ink);
}
.hub .group-list { grid-template-columns:1fr; gap:3px; background:none; border:0; border-radius:0; padding:0; }
.hub .group-button {
  justify-content:space-between; align-items:center; text-align:left; gap:5px; min-height:44px;
  color:var(--guide-text); border-radius:5px; padding:6px 8px; font-size:.92rem;
}
.hub .group-button[aria-pressed=true] { background:var(--guide-wash); color:#193d87; border-color:#98b1d8; }
.hub .group-count { color:var(--guide-muted); font-variant-numeric:tabular-nums; font-size:.8rem; }
.hub .hub-resources { display:grid; gap:0; margin:15px 0 0; padding:13px 0 0; }
.hub .hub-resources a { min-height:40px; align-content:center; color:var(--guide-text); font-size:.92rem; }
.hub .filter { border-radius:5px; padding-inline:10px; font-size:.9rem; }
.hub .shelf-head { padding:2px 0 7px; border-bottom:1px solid var(--guide-line); }
.hub .shelf-head h2 { font-size:clamp(1.35rem,3vw,1.83rem); line-height:1.35; }
.hub .result-count { font-size:.94rem; font-weight:680; }
.hub .atlas-card { border-radius:7px; }
.hub .atlas-card:hover { border-color:#819bc5; background:#fdfefe; }
.hub .atlas-thumb { background:#e9eeeb; aspect-ratio:2/1; }
.hub .atlas-thumb img { object-fit:contain; }
.hub .atlas-card-copy { padding:10px 12px 13px; line-height:1.55; }
.hub .atlas-card-copy h3 { font-size:1.08rem; line-height:1.34; font-weight:760; color:var(--guide-ink); }
.hub .atlas-card-copy .card-class { margin-top:2px; color:var(--guide-muted); font-size:.8rem; }
.hub .atlas-card-copy p {
  margin-top:5px; font-size:.9rem; line-height:1.55; color:var(--guide-text);
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden;
}

.hub .lesson-work { border-radius:8px; grid-template-columns:200px minmax(0,1fr); }
.hub .lesson-rail { background:#edf1f7; padding:18px 13px; border-radius:8px 0 0 8px; }
.hub .lesson-rail h2 { font-size:1.2rem; }
.hub .lesson-choice { color:var(--guide-text); line-height:1.35; font-size:.94rem; }
.hub .lesson-choice[aria-pressed=true] { background:#fff; border-color:#8aa4cf; }
.hub .lesson-reader { padding:21px clamp(15px,2.5vw,32px) 25px; }
.hub .step { font-size:.95rem; min-height:44px; border-radius:5px; }
.hub .learn-question .hub-title { font-size:clamp(1.7rem,3.45vw,2.65rem); }
.learn-question p,.hub .lesson-intro { font-size:1rem; line-height:1.6; }
.learn-evidence { border-radius:6px; }
.learn-evidence-title h2 { color:var(--guide-ink); }
.learn-clue-note,.learn-data-note,.learn-time-caption { color:var(--guide-text); font-size:.89rem; }
.hub-map .map-shell { background:#162d48; border-color:#162d48; border-radius:8px; }
.hub-map .map-panel { border-radius:8px; }
.hub-map .map-panel h2 { color:var(--guide-ink); }
.hub-map .map-panel-copy,.hub-map .map-related { color:var(--guide-text); }
.hub-map .map-clue { background:#eef3fb; color:var(--guide-text); font-size:.91rem; padding:9px 11px; }
.hub-map .map-caption,.hub-map .map-caption a { color:#e0eaf7; font-size:.82rem; }
.hub-map .map-basemap button[aria-pressed=true] { color:#173568; background:#e6effe; border-color:#e6effe; }
.hub-map .map-more { min-height:44px; }

body.on-library .lib-reader { max-width:1120px; }
body.on-library .lib-header { padding:22px 0 18px; }
.lib-header h1 { letter-spacing:-.025em; line-height:1.32; }
.lib-lead { color:var(--guide-text); font-size:1.05rem; line-height:1.64; }
.lib-tabs { border-color:var(--guide-line); }
.lib-tabs a { color:var(--guide-text); }
.lib-tabs a[aria-current] { color:var(--guide-blue); }
.lib-tabs a[aria-current]::after { background:var(--guide-blue); }
.lib-tabs a:hover { background:var(--guide-wash); }
.lib-picture-modes { margin-block:4px; }
.lib-picture-modes a { color:var(--guide-blue); }
.lib-picture-modes a[aria-current] { border-color:var(--guide-blue); color:var(--guide-deep); background:var(--guide-wash); }
.lib-section h2 { font-size:clamp(1.2rem,2vw,1.48rem); letter-spacing:-.02em; }
.lib-section p { color:var(--guide-text); line-height:1.7; }
.lib-case { background:#edf2fa; border-inline-start-color:#6e8dbb; }
.lib-chooser select { color:var(--guide-ink); border-color:#8da3bb; }
.process-picker button,.form-pick,.plate-choice { line-height:1.4; }
.process-picker button[aria-pressed=true],.plate-choice[aria-pressed=true] { border-color:var(--guide-blue); }

@media(max-width:1040px) {
  .concept-arrangement { display:block; }
  .concept-navigation { display:none; }
  .concept-picker {
    display:flex; align-items:center; gap:12px; margin-bottom:11px; color:var(--guide-ink); font-weight:720;
  }
  .concept-picker select {
    display:block; flex:1; width:auto; min-width:0; min-height:46px; padding:4px 10px; font:inherit; font-weight:670;
    color:var(--guide-ink); background:var(--guide-white); border:1px solid #8da3bb; border-radius:5px;
  }
  .hub .atlas-work { grid-template-columns:178px minmax(0,1fr); gap:9px 17px; }
}
@media(max-width:760px) {
  body.on-discovery main.wrap,body.on-library main.wrap { width:calc(100% - 30px); }
  body .site-header .top { min-height:58px; gap:5px; }
  body .site-header .brand { font-size:19px; }
  body .site-header .site-nav { gap:0; }
  body .site-nav a { min-height:62px; font-size:.78rem; }
  body .site-nav a[aria-current] { background:#eef3fc; }
  body .site-header .search-trigger,body.on-discovery .site-header .search-trigger,body.on-cover .site-header .search-trigger { padding-inline:9px; }
  .hub { padding-block:19px 16px; }
  .hub .formation-intro { margin-bottom:14px; }
  .hub :is(.formation-intro p,.map-intro p,.atlas-hero .intro) { font-size:1rem; line-height:1.55; }
  .concept-picker { gap:8px; font-size:.94rem; }
  .concept-article { padding:14px; }
  .learn-concept-summary { margin:5px 0 13px; font-size:1rem; }
  .learn-workbench { grid-template-columns:1fr; }
  .learn-model-bar { padding:7px 8px 0; }
  .learn-model-bar .learn-segment button { padding-inline:7px; font-size:.82rem; }
  .learn-model-note { font-size:.82rem; padding:2px 9px 8px; }
  .learn-console { padding:13px; }
  .learn-model-description { margin:4px 0 5px; }
  .learn-model-controls { gap:5px; }
  .hub .learn-concept-read { margin-top:16px; }
  .learn-point-grid { grid-template-columns:1fr; }
  .hub .atlas-hero { gap:12px; padding-bottom:14px; }
  .hub .atlas-work {
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"categories" "results" "resources"; gap:9px;
  }
  .atlas-rail { display:contents; }
  .hub .taxonomy { grid-area:categories; }
  .hub .taxonomy h2 { display:none; }
  .hub .group-list { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .hub .group-button { background:#fff; justify-content:center; text-align:center; padding:4px; font-size:.82rem; }
  .hub .group-count { font-size:.72rem; }
  .hub .hub-resources { grid-area:resources; }
  .hub .lesson-work { grid-template-columns:1fr; }
  .hub .lesson-rail { padding:8px; border-radius:7px 7px 0 0; }
  .hub .lesson-rail h2 { font-size:.94rem; }
  .hub .lesson-reader { padding:13px; }
  .hub .step { font-size:.84rem; }
  .hub .learn-question .hub-title { font-size:1.6rem; line-height:1.35; }
  .learn-investigate-tools .learn-segment button,.learn-investigate-tools .learn-aux-tools button { font-size:.84rem; }
  body.on-library .lib-header { padding:14px 0; }
  .lib-tabs a { font-size:.92rem; }
}
@media(max-width:510px) {
  .hub .atlas-cards { grid-template-columns:minmax(0,1fr); gap:7px; margin-top:8px; }
  .hub .atlas-card { display:grid; grid-template-columns:106px minmax(0,1fr); }
  .hub .atlas-thumb { height:auto; min-height:86px; aspect-ratio:auto; }
  .hub .atlas-card-copy { padding:7px 8px; }
  .hub .atlas-card-copy h3 { font-size:1rem; }
  .hub .atlas-card-copy p { font-size:.85rem; -webkit-line-clamp:2; }
  .hub .atlas-card-copy .card-class { font-size:.75rem; }
  .learn-evidence-title h2 { font-size:1.1rem; }
}

body.learning-project main.wrap { width:min(calc(100% - 34px),1570px); }
.hub .map-search-tools {
  display:grid; grid-template-columns:minmax(210px,420px) minmax(155px,200px) auto;
  align-items:stretch; justify-content:start; gap:8px; margin:14px 0 14px;
}
.hub .map-search-tools .atlas-search { width:100%; min-width:0; }
.hub .map-search-tools .map-korea { white-space:nowrap; padding-inline:12px; }
.hub .map-panel h2,.hub .shelf-head h2,.hub .lesson-rail h2 { letter-spacing:-.025em; }
@media(max-width:760px) {
  .hub .map-search-tools {
    grid-template-columns:minmax(0,1fr) auto; justify-content:stretch; margin-top:11px;
  }
  .hub .map-search-tools .atlas-search { grid-column:1 / -1; }
  .hub-map .map-search-tools select,.hub .map-search-tools .map-korea { min-height:44px; font-size:.9rem; }
}

.hub .map-panel-head { padding:12px 15px; }
.hub .map-panel-head h2 { margin:0; line-height:1.34; font-size:clamp(1.32rem,2vw,1.65rem); }
.hub .map-panel-head .place-meta { color:var(--guide-muted); font-size:.88rem; font-weight:610; margin-top:4px; }
.hub .map-panel-copy { padding-top:10px; }
.hub .map-panel-copy .map-callout { font-size:.95rem; line-height:1.6; margin-top:0; }
.hub .image-credit { font-size:.79rem; }
@media(max-width:760px) {
  .hub .map-panel-head { padding:11px 13px; }
  .hub .map-panel-copy { padding-inline:13px; }
  .hub .shelf-head { align-items:center; gap:8px; }
}

:lang(ko) :is(.formation-intro p,.learn-concept-summary,.learn-model-note,.learn-model-description,
  .learn-question p,.map-callout,.lib-lead,.lib-section p) { word-break:keep-all; overflow-wrap:anywhere; }
.hub .atlas-thumb.atlas-photo img { object-fit:cover; }
.learn-investigate-tools { justify-content:flex-start; }
.learn-investigate-tools .learn-observation-row { margin:0; }
.learn-investigate-tools .learn-aux-tools { margin-inline-start:auto; }
@media(min-width:601px) {
  .learn-investigate-tools .learn-observation-row:not(:has(.learn-clues:not([hidden]))) { display:none; }
}
@media(max-width:600px) {
  .learn-investigate-tools .learn-observation-row { flex:0 0 100%; }
  .learn-investigate-tools .learn-observation-row:empty { display:none; }
}
