:root {
  --ink: #14251e;
  --muted: #5d6d66;
  --forest: #17603e;
  --forest-dark: #0b3425;
  --teal: #197c75;
  --blue: #286b88;
  --coral: #b85c3f;
  --gold: #c79627;
  --paper: #f4f6f1;
  --surface: #ffffff;
  --soft-green: #e7f1e8;
  --soft-blue: #e6f1f5;
  --soft-coral: #f7e9e4;
  --soft-gold: #fbf2d6;
  --line: #c9d5ce;
  --shadow: 0 10px 26px rgba(17, 48, 35, 0.08);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html.language-pending body { visibility: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: "Yu Gothic", "Meiryo", "Segoe UI", Arial, sans-serif;
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(40, 107, 136, 0.36);
  outline-offset: 2px;
}

.app-shell {
  width: min(1480px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 0 0 36px;
}

.guide-network-bar {
  display: grid;
  min-height: 68px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid #275946;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(105deg, #08291f 0%, #0d4835 62%, #1a6250 100%);
  color: #fff;
  grid-template-columns: minmax(190px, 1fr) auto;
  gap: 18px;
}

.guide-network-story {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.guide-network-story strong {
  color: #d8f26a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .045em;
  white-space: nowrap;
}

.guide-network-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-network-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 999px;
  background: #fff;
  color: var(--forest-dark);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  gap: 8px;
  transition: background 150ms ease, transform 150ms ease;
}

.guide-network-link--summit { background: #edf7f1; }
.guide-network-link--practice { border-color: #b6d7d0; background: #e8f5f2; }
.guide-network-link:hover { background: #e5f4b5; transform: translateY(-1px); }
.guide-network-link b { font-size: 15px; line-height: 1; }

.language-switch {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, minmax(92px, 1fr));
  overflow: visible;
  border: 1px solid #8fb4a6;
  border-radius: 8px;
  background: #e8f1ec;
  box-shadow: 0 4px 12px rgba(11, 52, 37, .09);
}

.language-button {
  min-height: 44px;
  border: 0;
  border-right: 1px solid #8fb4a6;
  padding: 8px 14px;
  background: transparent;
  color: var(--forest-dark);
  font-size: 13px;
  font-weight: 900;
}
.language-button:last-child { border-right: 0; }
.language-button:first-child { border-radius: 7px 0 0 7px; }
.language-button:last-child { border-radius: 0 7px 7px 0; }
.language-button.active { background: var(--forest); color: #fff; }
.language-button.active::before { content: "✓"; margin-right: 6px; }
.language-button:not(.active):hover { background: #d6e7df; color: var(--forest-dark); }
.language-button:focus-visible {
  position: relative;
  z-index: 2;
  outline: 3px solid #fff;
  outline-offset: 1px;
  box-shadow: 0 0 0 5px var(--forest-dark);
}

.app-hero {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 28px;
  padding: 34px 40px;
  border-radius: 8px;
  background: var(--forest-dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.hero-image, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image { object-fit: cover; object-position: center 43%; }
.hero-shade { background: rgba(7, 38, 27, 0.79); }
.hero-content { position: relative; z-index: 1; }

.eyebrow, .section-kicker {
  margin: 0 0 8px;
  color: #f1ce75;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: 43px;
  line-height: 1.2;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.title-chunk {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.lead {
  max-width: 830px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.65;
}

.icon-button, .pagination button {
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  font-weight: 900;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}
.icon-button:hover, .pagination button:hover { transform: translateY(-1px); }

.view-tabs {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.view-tab {
  min-height: 62px;
  min-width: 0;
  border: 0;
  border-right: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px;
  font-weight: 900;
}
.view-tab:last-child { border-right: 0; }
.view-tab span { overflow-wrap: anywhere; line-height: 1.35; text-align: center; }
.view-tab strong { min-width: 32px; color: var(--blue); font-size: 18px; }
.view-tab.active { background: var(--forest); color: #fff; }
.view-tab.active strong { color: #f4d477; }

.english-article-section {
  margin-top: 22px;
  padding: 28px;
  border: 1px solid #b8d5c5;
  border-radius: 10px;
  background: linear-gradient(135deg, #eef7f0 0%, #fffdf5 100%);
  box-shadow: var(--shadow);
}
.article-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.article-section-heading > div { min-width: 0; }
.article-section-heading .section-kicker { color: var(--forest); }
.article-section-heading h2 { margin: 0; font-size: 30px; line-height: 1.2; }
.article-section-heading p:last-child { max-width: 720px; margin: 9px 0 0; color: var(--muted); line-height: 1.6; }
.article-publication-link, .article-action {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 10px 14px;
  color: #fff;
  background: var(--forest);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}
.article-publication-link { flex: 0 0 auto; }
.article-count { margin: 18px 0 10px; color: var(--muted); font-size: 11px; font-weight: 900; }
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.article-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(17, 48, 35, 0.06);
  display: grid;
  grid-template-rows: auto 1fr;
}
.lead-article-card { grid-column: 1 / -1; grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr); grid-template-rows: 1fr; }
.article-image-link { display: block; min-width: 0; overflow: hidden; background: var(--soft-green); }
.article-image { width: 100%; height: 100%; min-height: 210px; aspect-ratio: 3 / 2; display: block; object-fit: cover; transition: transform 180ms ease; }
.article-image-link:hover .article-image { transform: scale(1.025); }
.article-card-body { min-width: 0; padding: 18px; display: flex; flex-direction: column; }
.article-meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 10px; font-weight: 800; }
.article-meta span { border-radius: 999px; padding: 4px 8px; color: var(--forest); background: var(--soft-green); font-weight: 900; }
.article-card h3 { margin: 12px 0 0; font-size: 20px; line-height: 1.35; overflow-wrap: anywhere; }
.article-subtitle { margin: 8px 0 0; color: var(--blue); font-size: 13px; font-weight: 900; line-height: 1.5; }
.article-summary { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.article-action { align-self: flex-start; margin-top: auto; padding-top: 9px; padding-bottom: 9px; }

.library-disclosure { display: block; min-width: 0; }
.library-disclosure > summary[hidden] { display: none; }
.library-disclosure-body { min-width: 0; }
.note-archive-summary {
  min-height: 86px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid #d8c6be;
  border-radius: 9px;
  background: var(--soft-coral);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  list-style: none;
}
.note-archive-summary::-webkit-details-marker { display: none; }
.note-archive-summary span { min-width: 0; }
.note-archive-summary strong { display: block; font-size: 16px; }
.note-archive-summary small { display: block; margin-top: 5px; color: var(--muted); line-height: 1.5; }
.note-archive-summary b { min-height: 42px; flex: 0 0 auto; display: inline-flex; align-items: center; border-radius: 7px; padding: 8px 12px; color: #fff; background: var(--coral); font-size: 11px; }
.library-disclosure.is-note-archive[open] > .note-archive-summary { border-radius: 9px 9px 0 0; }
.library-disclosure.is-note-archive[open] > .library-disclosure-body { padding: 0 18px 18px; border: 1px solid #d8c6be; border-top: 0; border-radius: 0 0 9px 9px; background: rgba(255, 255, 255, .48); }

.view-intro {
  min-height: 128px;
  padding: 26px 2px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  align-items: center;
  gap: 28px;
}
.view-intro h2, .board-heading h2 { margin: 0; font-size: 24px; letter-spacing: 0; }
.view-intro > div > p:last-child { margin: 8px 0 0; color: var(--muted); line-height: 1.6; }
.view-intro .section-kicker, .board-heading .section-kicker { color: var(--coral); }

.selection-note {
  min-height: 70px;
  padding: 13px 0 13px 18px;
  border-left: 5px solid var(--gold);
  display: grid;
  align-content: center;
  gap: 4px;
}
.selection-note strong { font-size: 13px; }
.selection-note span { color: var(--muted); font-size: 12px; line-height: 1.5; }

.report-mode-bar { margin-top: 18px; display: flex; justify-content: flex-end; }
.report-mode-bar[hidden] { display: none; }
.report-mode-bar .scope-switch { width: min(100%, 340px); }

.scope-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}
.scope-button {
  min-height: 40px;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 7px 10px;
  background: var(--surface);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}
.scope-button:last-child { border-right: 0; }
.scope-button.active { background: var(--gold); color: #302303; }
.scope-button:not(.active):hover { background: var(--soft-gold); color: #684900; }

.featured-note {
  min-height: 98px;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}
.featured-note img { width: 100%; height: 100%; min-height: 98px; object-fit: cover; }
.featured-note > span { min-width: 0; padding: 12px 14px; display: grid; align-content: center; gap: 4px; }
.featured-note b { color: var(--coral); font-size: 10px; }
.featured-note strong { font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.featured-note small { color: var(--blue); font-size: 11px; }

.library-toolbar {
  margin-top: 18px;
  padding: 13px;
  display: grid;
  grid-template-columns: minmax(250px, 1.5fr) repeat(4, minmax(135px, 0.72fr)) auto;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.library-toolbar.with-publisher { grid-template-columns: minmax(220px, 1.35fr) repeat(5, minmax(120px, 0.72fr)) auto; }

.search-control, .select-control { min-width: 0; display: grid; gap: 5px; }
.search-control span, .select-control span { color: var(--muted); font-size: 10px; font-weight: 900; }
.search-control input, .select-control select {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 8px 10px;
  background: #fff;
  color: var(--ink);
}
.toolbar-actions { display: flex; align-items: end; gap: 7px; }
.icon-button { width: 42px; padding: 0; border-color: var(--line); background: #fff; color: var(--muted); font-size: 20px; }

.filter-summary {
  min-height: 70px;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  display: grid;
  align-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
}
.filter-summary p { margin: 0; }
.view-instruction-title { color: var(--ink); font-weight: 900; }
.view-instruction-text { line-height: 1.55; }

.library-board { padding-top: 22px; }
.board-heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 14px; }
.board-heading > p { margin: 0; color: var(--muted); font-size: 12px; }

.source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(315px, 1fr));
  gap: 13px;
}

.source-card {
  min-width: 0;
  min-height: 390px;
  padding: 16px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--forest);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 7px 20px rgba(17, 48, 35, 0.06);
  display: flex;
  flex-direction: column;
}
.source-card.latest-card { border-top-color: var(--gold); }
.source-card.note-card { padding: 0; border-top-color: var(--coral); overflow: hidden; }
.source-card.data-card { border-top-color: var(--blue); min-height: 360px; }
.source-card.guide-card { border-top-color: var(--teal); min-height: 330px; }

.note-image {
  width: 100%;
  aspect-ratio: 16 / 8.2;
  display: block;
  object-fit: cover;
  background: var(--soft-green);
  transition: transform 180ms ease;
}
.note-image-link { display: block; overflow: hidden; background: var(--soft-green); cursor: pointer; }
.note-image-link:hover .note-image { transform: scale(1.025); }
.note-card-body { min-width: 0; flex: 1; padding: 14px 16px 16px; display: flex; flex-direction: column; }

.card-top { min-height: 29px; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.kind-tag, .health-tag, .rank-tag, .source-family, .note-cited-tag {
  min-height: 24px;
  max-width: 74%;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kind-tag { color: var(--blue); background: var(--soft-blue); }
.rank-tag { color: #694900; background: var(--soft-gold); }
.source-family { color: var(--coral); background: var(--soft-coral); }
.note-cited-tag { color: #714f00; background: var(--soft-gold); }
.health-tag { margin-left: auto; color: var(--muted); background: #eef1ee; }
.health-tag.ok { color: var(--forest); background: var(--soft-green); }
.health-tag.warn { color: var(--coral); background: var(--soft-coral); }
.health-tag.status-prepublication { color: #714f00; background: var(--soft-gold); }
.health-tag.status-scheduled { color: var(--blue); background: var(--soft-blue); }

.title-row { display: flex; align-items: flex-start; gap: 11px; margin-top: 11px; }
.title-copy { min-width: 0; flex: 1; }
.source-card h3 { margin: 0; font-size: 17px; line-height: 1.42; letter-spacing: 0; overflow-wrap: anywhere; }
.title-ja { margin: 5px 0 0; color: var(--blue); font-size: 11px; line-height: 1.45; font-weight: 800; }

.score-badge {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--forest-dark);
  background: var(--soft-gold);
}
.score-badge strong { font-size: 21px; line-height: 1; }
.score-badge small { margin-top: 2px; font-size: 7px; font-weight: 900; }

.publication-meta {
  margin: 13px 0 0;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 11px;
}
.publication-meta div:first-child { grid-column: 1 / -1; }
.publication-meta span { display: block; color: var(--muted); font-size: 8px; font-weight: 900; }
.publication-meta strong { display: block; margin-top: 2px; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }

.summary-label { margin: 12px 0 0; color: var(--blue); font-size: 9px; font-weight: 900; letter-spacing: 0; }
.summary-label + .read-value { margin-top: 4px; }
.read-value { flex: 1; margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.62; }
.data-card .read-value { flex: 0 0 auto; }
.data-details {
  margin-top: 13px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.data-details > summary {
  min-height: 44px;
  padding: 10px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  list-style: none;
  cursor: pointer;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
}
.data-details > summary::-webkit-details-marker { display: none; }
.data-details > summary::after {
  content: "+";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-content: center;
  color: var(--forest);
  background: var(--soft-green);
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
}
.data-details[open] > summary::after { content: "−"; }
.data-details[open] > summary { border-bottom: 1px solid var(--line); }
.data-fit {
  margin: 0;
}
.data-fit-row {
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
}
.data-fit dt {
  margin: 0;
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  line-height: 1.45;
}
.data-fit dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: 10px;
  line-height: 1.58;
  overflow-wrap: anywhere;
}
.note-reference-row {
  margin-top: 11px;
  padding: 9px 10px;
  border-left: 4px solid var(--gold);
  background: #fff9df;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 3px 8px;
  font-size: 10px;
  line-height: 1.45;
}
.note-reference-row span { color: #714f00; font-size: 8px; font-weight: 900; }
.note-reference-row a { min-width: 0; color: var(--blue); font-weight: 900; overflow-wrap: anywhere; }
.note-reference-row small { grid-column: 2; color: var(--muted); font-size: 8px; }
.theme-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.theme-tag { border-radius: 999px; padding: 4px 7px; background: #f0f3ef; color: var(--muted); font-size: 9px; font-weight: 800; }

.note-context { margin: 10px 0 0; padding-left: 10px; border-left: 4px solid var(--coral); color: var(--muted); font-size: 10px; line-height: 1.5; }
.note-context strong { display: block; color: var(--ink); font-size: 11px; }

.card-actions { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-top: 13px; }
.card-actions a {
  min-height: 39px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--forest);
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
}
.card-actions .secondary-link { color: var(--blue); background: var(--soft-blue); border-color: #bdd3dc; }
.note-card .card-actions a { background: var(--coral); }

.empty-state { min-height: 260px; border: 1px dashed var(--line); display: grid; place-content: center; text-align: center; color: var(--muted); }
.catalog-error{min-height:220px;border:1px solid #b85c45;border-radius:18px;background:#fff5f0;display:grid;place-content:center;justify-items:center;gap:8px;padding:28px;text-align:center;color:#633226}.catalog-error[hidden]{display:none}.catalog-error button{min-height:44px;margin-top:8px;padding:8px 20px;border:0;border-radius:999px;background:var(--forest-dark);color:#fff;font:inherit;font-weight:800;cursor:pointer}
.empty-state strong { color: var(--ink); font-size: 18px; }
.empty-state span { margin-top: 6px; }

.pagination { margin-top: 20px; display: flex; justify-content: center; align-items: center; gap: 12px; }
.pagination button { width: 44px; padding: 0; border-color: var(--line); background: #fff; color: var(--blue); font-size: 18px; }
.pagination button[disabled] { opacity: 0.38; cursor: default; transform: none; }
.pagination span { min-width: 100px; text-align: center; color: var(--muted); font-size: 12px; font-weight: 900; }

.methodology { margin-top: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.methodology summary { padding: 17px 3px; cursor: pointer; color: var(--blue); font-weight: 900; }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.method-grid div { padding: 13px; background: #fff; }
.method-grid b { display: block; font-size: 12px; }
.method-grid span { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; line-height: 1.45; }
.methodology > p { margin: 14px 0 18px; color: var(--muted); font-size: 11px; line-height: 1.65; }

footer { padding: 22px 2px 0; display: grid; grid-template-columns: minmax(170px, 0.8fr) minmax(300px, 1.35fr) minmax(220px, 1fr); align-items: start; gap: 24px; color: var(--muted); font-size: 11.5px; line-height: 1.55; }
footer p { margin: 0; }
footer strong, footer span { display: block; }
footer span { margin-top: 4px; }
footer > p:first-child strong { color: var(--ink); font-size: 12.5px; }
footer > p:last-child { font-size: 11px; line-height: 1.65; }
.footer-views { min-width: 0; }
.footer-views > strong { color: var(--ink); font-size: 11.5px; }
.footer-view-counts { display: flex; flex-wrap: wrap; gap: 5px 15px; margin-top: 6px; }
.footer-view-counts span { display: inline-flex; align-items: baseline; gap: 6px; margin: 0; white-space: nowrap; }
.footer-view-counts b { color: var(--muted); font-size: 10px; }
.footer-view-counts em { color: var(--forest); font-size: 14px; font-style: normal; font-weight: 900; }
.footer-views small { display: block; margin-top: 6px; font-size: 10.5px; line-height: 1.55; }
.footer-credit{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:#61736c;font-size:12px;line-height:1.6}.linkedin-credit{display:inline-flex;align-items:center;gap:5px;color:inherit;text-decoration:none;font-weight:800;letter-spacing:0}.linkedin-credit-icon{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:4px;background:#0a66c2;color:#fff;font:800 13px/1 Arial,sans-serif}.linkedin-credit-label{text-decoration:underline;text-underline-offset:3px}.linkedin-credit:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:4px}

@media (max-width: 1180px) {
  .library-toolbar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .library-toolbar.with-publisher { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .search-control { grid-column: span 2; }
  .toolbar-actions { justify-content: flex-end; }
}

@media (max-width: 850px) {
  .guide-network-bar { align-items: stretch; grid-template-columns: 1fr; gap: 8px; }
  .guide-network-story { justify-content: space-between; }
  .guide-network-links { width: 100%; }
  .guide-network-link { min-width: 0; flex: 1 1 0; border-radius: 7px; }
  .app-hero { grid-template-columns: 1fr; align-items: end; padding: 30px 26px; }
  h1 { font-size: 35px; }
  .view-intro { grid-template-columns: 1fr; gap: 16px; }
  .lead-article-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .method-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .app-shell { width: min(100vw - 18px, 1480px); }
  .guide-network-bar { padding: 10px; }
  .guide-network-story { justify-content: space-between; gap: 8px; }
  .guide-network-story strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; }
  .guide-network-links { display: grid; grid-template-columns: 1fr; }
  .guide-network-link { width: 100%; min-height: 46px; }
  .language-switch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .language-button { min-height: 44px; padding: 8px 10px; font-size: 13px; }
  .app-hero { min-height: 365px; padding: 28px 22px; }
  h1 { font-size: 25px; line-height: 1.24; }
  .lead { font-size: 14px; }
  .view-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .view-tab { min-height: 76px; flex-direction: column; gap: 4px; }
  .view-tab:nth-child(2) { border-right: 0; }
  .view-tab:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .view-tab strong { font-size: 16px; }
  .english-article-section { padding: 19px 14px; }
  .article-section-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
  .article-section-heading h2 { font-size: 24px; }
  .article-publication-link { width: 100%; }
  .article-grid { grid-template-columns: 1fr; }
  .lead-article-card { grid-column: auto; }
  .article-image { min-height: 0; }
  .note-archive-summary { align-items: flex-start; flex-direction: column; }
  .note-archive-summary b { width: 100%; justify-content: center; }
  .library-disclosure.is-note-archive[open] > .library-disclosure-body { padding: 0 12px 14px; }
  .view-intro h2, .board-heading h2 { font-size: 21px; }
  .featured-note { grid-template-columns: 105px minmax(0, 1fr); }
  .report-mode-bar { justify-content: stretch; }
  .report-mode-bar .scope-switch { width: 100%; }
  .library-toolbar { grid-template-columns: 1fr; }
  .library-toolbar.with-publisher { grid-template-columns: 1fr; }
  .search-control { grid-column: auto; }
  .toolbar-actions { justify-content: stretch; }
  .board-heading { align-items: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr; gap: 12px; }
  .source-grid { grid-template-columns: 1fr; }
  .source-card { min-height: 0; }
  .publication-meta { grid-template-columns: 1fr; }
  .publication-meta div:first-child { grid-column: auto; }
  .data-fit-row { grid-template-columns: 1fr; gap: 4px; }
  .method-grid { grid-template-columns: 1fr; }
}

@media (max-width: 350px) {
  h1 { font-size: 22px; }
}

@media (max-width: 310px) {
  h1 { font-size: 20px; }
}
.guide-language-toolbar{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-bottom:12px}
.language-switch-label{color:var(--forest-dark);font-size:12px;font-weight:900;letter-spacing:.02em}
@media (max-width:620px){.guide-language-toolbar{align-items:stretch;flex-direction:column;gap:6px}.language-switch{width:100%}.language-switch-label{font-size:11px}}
.language-fallback-notice{margin:0 0 14px;padding:12px 16px;border:1px solid rgba(255,255,255,.34);border-radius:14px;background:#fff8dc;color:#173f31;font-size:14px;font-weight:700;line-height:1.6}
.footer-guide-network-links{margin-top:12px;justify-content:flex-end}
