:root {
  --app-w: 430px;
  --bg: #202426;
  --paper: #f6f7f3;
  --card: #fffefd;
  --ink: #161a19;
  --muted: #68716f;
  --subtle: #f0f3ef;
  --line: #e0e5df;
  --line-strong: #cbd4cf;
  --accent: #12604f;
  --accent-ink: #0d4035;
  --accent-soft: #edf6f1;
  --blue: #31557f;
  --blue-soft: #eef4f8;
  --green: #246347;
  --amber: #7a5b14;
  --amber-soft: #fbf3dd;
  --rose: #7f3d4a;
  --rose-soft: #fbf0f2;
  --shadow: none;
  --radius: 8px;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: "Pretendard", "Segoe UI", "Apple SD Gothic Neo", Arial, sans-serif;
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(18, 96, 79, .28);
  outline-offset: 2px;
}

.mobile-shell {
  width: 100%;
  max-width: var(--app-w);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--paper);
  border-inline: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 64px rgba(0,0,0,.22);
  position: relative;
  padding: max(12px, env(safe-area-inset-top)) 12px calc(104px + env(safe-area-inset-bottom));
}

@media (max-width: 430px) {
  .mobile-shell {
    max-width: none;
    border-inline: 0;
  }
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0 10px;
  background: rgba(246,247,243,.94);
  border-bottom: 1px solid rgba(221,227,225,.6);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 9px;
}

.brand > span:last-child {
  min-width: 0;
}

.brand-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.db-chip {
  flex: 0 0 auto;
  max-width: 72px;
  min-height: 30px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.db-chip b,
.db-chip em {
  font-style: normal;
}

.db-chip em {
  display: none;
}

@media (max-width: 380px) {
  .mobile-shell {
    padding-left: 10px;
    padding-right: 10px;
  }

  .db-chip {
    max-width: 64px;
    padding-inline: 8px;
  }
}

.global-search {
  position: sticky;
  top: 49px;
  z-index: 18;
  display: flex;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.global-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 12px;
  background: transparent;
  color: var(--ink);
}

.global-search input::placeholder {
  color: #9aa3a0;
}

.global-search button {
  width: 56px;
  border: 0;
  border-left: 1px solid var(--line);
  background: var(--accent);
  color: white;
  font-size: 13px;
  font-weight: 850;
}

.app-main {
  padding-top: 12px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  width: 100%;
  max-width: var(--app-w);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px 12px calc(6px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

@media (max-width: 430px) {
  .bottom-nav {
    left: 0;
    right: 0;
    max-width: none;
    transform: none;
  }
}

.bottom-nav a {
  min-height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.bottom-nav span {
  display: none;
}

.bottom-nav a.active {
  background: var(--accent-soft);
  color: var(--accent);
}

.hero-board,
.home-hero,
.content-rule,
.community-feed,
.data-brief,
.region-hero,
.panel,
.filter-card,
.results,
.detail-card,
.editorial-band,
.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.home-hero {
  position: relative;
  padding: 22px 16px 16px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(237,246,241,.96), rgba(255,254,253,.96) 58%),
    #fff;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent);
}

.home-hero h1 {
  margin: 0;
  max-width: 9em;
  font-size: 29px;
  line-height: 1.08;
}

.home-hero .lead {
  max-width: 34em;
}

.quick-actions {
  margin-top: 15px;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.quick-actions a {
  min-height: 62px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  align-items: center;
  padding: 12px 14px 12px 13px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset;
}

.quick-actions a:last-child {
  border-bottom: 0;
}

.quick-actions span {
  grid-column: 1;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.quick-actions b {
  grid-column: 1;
  font-size: 15px;
  line-height: 1.35;
}

.quick-actions a::after {
  content: "›";
  grid-column: 2;
  grid-row: 1 / span 2;
  display: block;
  align-self: center;
  color: #8a9a93;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.community-feed {
  margin-top: 10px;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: none;
}

.community-feed article {
  padding: 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.community-feed .featured-note {
  border-color: var(--line);
  background: #fff;
}

.community-feed article:last-child {
  border-bottom: 0;
}

.community-feed span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
}

.community-feed b {
  display: block;
  font-size: 16px;
  line-height: 1.38;
}

.community-feed p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.content-rule {
  margin-top: 10px;
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.content-rule div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 3px 10px;
  padding: 13px;
  background: #fff;
}

.content-rule span {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.content-rule b {
  font-size: 15px;
}

.content-rule p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.data-brief {
  margin: 10px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
}

.data-brief.soft-proof {
  background: #fbfcfa;
}

.data-brief div {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px;
  border-right: 1px solid var(--line);
}

.data-brief div:last-child {
  border-right: 0;
}

.data-brief b {
  color: var(--ink);
  font-size: 18px;
}

.data-brief span {
  color: var(--muted);
  font-size: 12px;
}

.region-list,
.intent-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.region-list a,
.intent-list a {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 42px 12px 12px;
  background: #fff;
}

.intent-list a {
  display: grid;
  justify-content: stretch;
}

.region-list b,
.intent-list b {
  font-size: 14px;
}

.region-list span,
.intent-list span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.region-list a::after,
.intent-list a::after,
.compact-list a::after,
.district-card::after,
.result-row::after {
  content: "›";
  position: absolute;
  right: 14px;
  top: 50%;
  width: auto;
  height: auto;
  display: block;
  transform: translateY(-50%);
  color: #8a9a93;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.compact-list a[target="_blank"]::after {
  content: "↗";
  font-size: 14px;
}

.text-link[target="_blank"]::after {
  content: "↗";
  display: inline-flex;
  margin-left: 4px;
  font-size: 13px;
}

.region-list a:active,
.intent-list a:active,
.compact-list a:active,
.district-card:active,
.result-row:active,
.quick-actions a:active {
  transform: translateY(1px);
  background: var(--accent-soft);
}

.hero-board {
  display: grid;
  gap: 10px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-copy {
  padding: 20px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.eyebrow,
.section-head p,
.result-title p {
  margin: 0 0 7px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0;
}

h1, h2, h3, p, b, strong, dd {
  overflow-wrap: anywhere;
}

.hero-copy h1,
.region-hero h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: 0;
}

.lead {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.hero-search {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.home-hero .hero-search {
  grid-template-columns: minmax(0, 1fr) 72px;
}

.home-hero .hero-search button {
  min-height: 44px;
}

.hero-search input,
.hero-search select,
.hero-search button,
.filter-card input,
.filter-card select,
.filter-card button {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border-radius: var(--radius);
}

.hero-search input,
.hero-search select,
.filter-card input,
.filter-card select {
  border: 1px solid var(--line-strong);
  padding: 0 11px;
  background: #fff;
  color: var(--ink);
}

.hero-search input::placeholder,
.filter-card input::placeholder {
  color: #9aa3a0;
}

.hero-search button,
.filter-card button {
  border: 0;
  background: var(--accent);
  color: #fff;
  font-weight: 850;
}

.hero-visual {
  min-height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.orbit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  padding: 0;
}

.data-dot {
  position: static;
  width: auto;
  min-height: 58px;
  padding: 12px;
  display: grid;
  gap: 3px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
}

.data-dot b { font-size: 14px; }
.data-dot span { color: var(--accent); font-size: 12px; font-weight: 850; }

.hero-total {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border-top: 1px solid var(--line);
  background: var(--subtle);
  color: var(--ink);
}

.hero-total strong { font-size: 22px; }
.hero-total span { color: var(--muted); font-size: 12px; }

.metric-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}

.metric-strip article {
  min-height: 118px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.metric-strip span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 8px;
}

.metric-strip strong {
  display: block;
  font-size: 25px;
  letter-spacing: 0;
}

.metric-strip p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.48;
}

.insight-grid,
.two-columns,
.search-page,
.detail-layout,
.sample-grid {
  display: grid;
  gap: 10px;
}

.panel,
.results,
.filter-card,
.detail-card,
.editorial-band {
  padding: 14px;
}

.section-head,
.result-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.result-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.section-head h2,
.result-title h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.28;
}

.result-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
}

.priority-line {
  margin: -2px 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.priority-line::-webkit-scrollbar {
  display: none;
}

.priority-line span,
.priority-line a {
  flex: 0 0 auto;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.priority-line span {
  color: var(--accent-ink);
}

.priority-line a {
  max-width: 190px;
  padding: 0 9px;
  border: 1px solid var(--line);
  background: #fff;
  color: #26332f;
  overflow: hidden;
  text-overflow: ellipsis;
}

.section-head a,
.result-title a,
.result-title button,
.result-title > span,
.result-tools span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.result-title button {
  color: var(--accent-ink);
}

.result-title > span,
.result-tools span {
  color: var(--muted);
}

.section-head a::after,
.result-title a::after {
  content: "›";
  font-size: 17px;
  line-height: 1;
}

.text-link {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.region-bars,
.compact-list,
.result-list,
.district-grid {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.region-bar {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 66px;
  gap: 9px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.region-name { font-weight: 850; }
.region-num { color: var(--muted); font-size: 12px; text-align: right; }
.bar-track { height: 5px; border-radius: 999px; background: var(--subtle); overflow: hidden; }
.bar-track i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }

.editorial-copy,
.editorial-band p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 14px;
}

.editorial-copy p:first-child,
.editorial-band p:first-child {
  margin-top: 0;
}

.facility-card,
.result-row,
.district-card,
.compact-list a {
  position: relative;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.result-row:last-child,
.district-card:last-child,
.compact-list a:last-child {
  border-bottom: 0;
}

.facility-card {
  min-height: 168px;
  padding: 13px;
  display: grid;
  gap: 9px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.kind {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}

.kind.hospital { color: #19466d; background: #edf4f8; border-color: #d7e5ed; }
.kind.pharmacy { color: #17603f; background: #edf7f2; border-color: #d8ebe2; }

.facility-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.facility-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.filter-card {
  display: grid;
  gap: 11px;
  background:
    linear-gradient(145deg, rgba(237,246,241,.88), rgba(255,254,253,.98) 60%),
    #fff;
}

.filter-card h1 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}

.hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.filter-card label {
  display: grid;
  gap: 6px;
}

.filter-card label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.advanced-filter {
  display: grid;
  gap: 9px;
}

.advanced-filter summary {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #31443e;
  font-size: 13px;
  font-weight: 850;
  list-style: none;
}

.advanced-filter summary::-webkit-details-marker {
  display: none;
}

.advanced-filter summary::after {
  content: "⌄";
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 900;
}

.advanced-filter[open] summary::after {
  transform: rotate(180deg);
}

.advanced-filter label {
  margin-top: 9px;
}

.result-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  padding: 13px 38px 13px 12px;
  box-shadow: none;
}

.result-row.primary-result {
  padding-right: 66px;
}

.result-row.primary-result::after {
  content: "상세";
  right: 12px;
  width: auto;
  min-width: 38px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
}

.result-row h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.result-row p {
  margin: 7px 0 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.result-row dl {
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 4px 8px;
  font-size: 12px;
}

.row-meta {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  color: #3b4441;
  font-size: 12px;
  line-height: 1.5;
}

.row-meta span {
  display: block;
}

.pharmacy-result {
  grid-template-columns: minmax(0, 1fr);
}

.pharmacy-result .kind {
  display: none;
}

dt { color: var(--muted); font-weight: 850; }
dd { margin: 0; overflow-wrap: anywhere; }

.region-hero {
  padding: 18px 14px;
  display: grid;
  gap: 14px;
  background:
    linear-gradient(145deg, rgba(238,244,248,.82), rgba(255,254,253,.98) 60%),
    #fff;
  color: var(--ink);
}

.care-hero {
  padding: 12px 2px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.care-hero h1 {
  font-size: 24px;
}

.care-hero .lead {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
}

.care-hero-tags {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.care-hero-tags span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #3b4441;
  font-size: 12px;
  font-weight: 800;
}

.context-strip {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding-left: 9px;
  border-left: 3px solid var(--accent);
}

.context-strip span {
  min-width: 0;
  color: #40504b;
  font-size: 12px;
  font-weight: 780;
  line-height: 1.35;
}

.care-results .result-row {
  grid-template-columns: minmax(0, 1fr);
}

.care-results .result-row .kind {
  display: none;
}

.care-results .result-list,
.result-list.choice-list {
  gap: 8px;
  border: 0;
  overflow: visible;
  background: transparent;
}

.result-row.choice-card {
  display: block;
  padding: 13px;
  border: 1px solid #dce4df;
  border-radius: var(--radius);
  background: #fff;
}

.result-row.choice-card::after,
.result-row.primary-result::after {
  content: none;
  display: none;
}

.choice-main {
  display: grid;
  gap: 8px;
}

.choice-head {
  display: flex;
  align-items: center;
  gap: 7px;
}

.choice-head .kind {
  display: inline-flex;
}

.choice-main h2 a {
  color: inherit;
}

.choice-rank {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.choice-action {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.choice-action::after {
  content: "›";
  font-size: 17px;
  line-height: 1;
}

.choice-address {
  margin: 0;
}

.choice-distance {
  margin: -2px 0 0;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.choice-distance:not([hidden]) {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(31, 111, 91, .2);
  border-radius: 999px;
  background: var(--accent-soft);
}

.choice-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.choice-tags span {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #f5f7f5;
  color: #39433f;
  font-size: 11px;
  font-weight: 850;
}

.choice-tags span:first-child {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.choice-hint {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.choice-proof {
  margin: -1px 0 0;
  color: #2d5149;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
}

.choice-status {
  margin: 0;
  padding: 8px 9px;
  border-radius: var(--radius);
  background: #fff8f0;
  color: #6a421f;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
}

.choice-phone {
  margin: -1px 0 0;
  color: #17231f;
  font-size: 13px;
  font-weight: 900;
}

.choice-reasons {
  margin: 1px 0 0;
  padding: 0;
  display: grid;
  gap: 5px;
  list-style: none;
}

.choice-reasons li {
  position: relative;
  padding-left: 14px;
  color: #344640;
  font-size: 12px;
  line-height: 1.48;
}

.choice-reasons li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
}

.choice-card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 2px;
}

.choice-card-actions a,
.choice-card-actions span {
  min-width: 0;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: #263630;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.choice-card-actions span {
  border-style: dashed;
  color: var(--muted);
}

.choice-card-actions a:first-child {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.scope-nudge {
  margin-top: 12px;
  display: grid;
  gap: 4px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.scope-nudge b,
.scope-nudge span {
  display: block;
}

.scope-nudge b {
  font-size: 13px;
}

.scope-nudge span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.region-score {
  min-height: 92px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.region-score strong {
  font-size: 30px;
}

.region-score span {
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 800;
}

.district-card {
  padding: 13px 38px 13px 13px;
  display: grid;
  gap: 5px;
}

.district-card strong { font-size: 16px; }
.district-card span { color: var(--accent); font-weight: 850; }
.district-card small { color: var(--muted); }

.compact-list a {
  padding: 13px 38px 13px 12px;
  display: grid;
  gap: 5px;
}

.compact-list b { line-height: 1.35; }
.compact-list span { color: var(--muted); font-size: 13px; line-height: 1.5; }

.review-stack {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.review-stack article {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.review-stack div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.review-stack span {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.review-stack p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.naver-mention-box {
  display: grid;
  gap: 9px;
}

.naver-mention-box + .compact-list,
.naver-mention-box + .review-stack {
  margin-top: 12px;
}

.mention-box-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.mention-box-head b {
  font-size: 15px;
  line-height: 1.35;
}

.mention-box-head span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.mention-summary {
  flex: 0 1 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.mention-summary em {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.mention-caution {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.mention-caution a {
  color: var(--accent);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mention-insight {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7faf8;
}

.mention-insight b {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.mention-insight p {
  margin: 6px 0 0;
  color: #40534d;
  font-size: 12px;
  line-height: 1.58;
}

.mention-insight div {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.mention-insight span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.mention-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.mention-card {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 12px 38px 12px 12px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.mention-card:last-child {
  border-bottom: 0;
}

.mention-card::after {
  content: "↗";
  position: absolute;
  right: 14px;
  top: 18px;
  color: #8a9a93;
  font-size: 14px;
  font-weight: 900;
}

.mention-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.mention-meta em {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.mention-meta em.quality-badge {
  background: #f4f6f5;
  color: #394844;
}

.mention-meta em.quality-high {
  background: #e9f5ef;
  color: #0f5b48;
}

.mention-meta em.quality-mid {
  background: #eef4f8;
  color: #284f77;
}

.mention-meta em.quality-low,
.mention-meta em.quality-muted {
  background: #f4f1ec;
  color: #6c604d;
}

.mention-meta em.subjective-badge {
  background: #fbf3dd;
  color: #71520f;
}

.mention-meta em.community-badge {
  background: #f6edf2;
  color: #773d58;
}

.mention-meta small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.mention-card b {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.42;
}

.mention-role {
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.45;
}

.mention-reason {
  color: #6a746f;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.45;
}

.mention-card p {
  margin: 0;
  color: #52615c;
  font-size: 12px;
  line-height: 1.55;
}

.guide-stack {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.guide-stack article {
  padding: 13px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.guide-stack article:last-child {
  border-bottom: 0;
}

.guide-stack b,
.guide-stack span {
  display: block;
}

.guide-stack b {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.35;
}

.guide-stack span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.editorial-band {
  margin-top: 10px;
}

.editorial-band h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.breadcrumb {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.breadcrumb a {
  color: var(--accent);
  font-weight: 850;
}

.detail-card h1 {
  margin: 9px 0 0;
  font-size: 26px;
  line-height: 1.16;
}

.detail-card {
  position: relative;
  overflow: hidden;
}

.detail-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent);
}

.visit-hero {
  background:
    linear-gradient(145deg, rgba(255,254,253,.98), rgba(239,246,243,.92)),
    #fff;
}

.detail-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
}

.profile-thumb {
  width: 76px;
  height: 76px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  object-fit: cover;
}

.action-note {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #d7e5dd;
  border-radius: var(--radius);
  background: rgba(237,246,241,.72);
}

.action-note b,
.action-note span {
  display: block;
}

.action-note b {
  font-size: 14px;
}

.action-note span {
  margin-top: 5px;
  color: #3b5149;
  font-size: 13px;
  line-height: 1.55;
}

.selection-note ul {
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  list-style: none;
}

.selection-note li {
  position: relative;
  padding-left: 15px;
  color: #304842;
  font-size: 13px;
  line-height: 1.55;
}

.selection-note li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
}

.visit-status {
  margin-top: 14px;
  display: grid;
  gap: 5px;
  padding: 13px;
  border: 1px solid #cfe2da;
  border-radius: var(--radius);
  background: #eef8f3;
}

.visit-status.warn {
  border-color: #e5cdb8;
  background: #fff8f0;
}

.visit-status b,
.visit-status span {
  display: block;
}

.visit-status b {
  color: #10231d;
  font-size: 15px;
}

.visit-status.warn b {
  color: #7a3d14;
}

.visit-status span {
  color: #355047;
  font-size: 13px;
  line-height: 1.52;
}

.visit-status.warn span {
  color: #5b4233;
}

.visit-conclusion {
  margin-top: 12px;
  padding: 15px 14px;
  border: 1px solid #d7ddd7;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(246,249,247,.88)),
    #fff;
}

.visit-conclusion h2 {
  margin: 4px 0 0;
  color: #121918;
  font-size: 18px;
  line-height: 1.32;
}

.visit-conclusion > p:last-of-type {
  margin: 8px 0 0;
  color: #344a43;
  font-size: 13px;
  line-height: 1.62;
}

.visit-conclusion div {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.visit-conclusion span {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef4f1;
  color: #163e36;
  font-size: 11px;
  font-weight: 900;
}

.closure-note {
  border-color: #e5cdb8;
  background: #fff8f0;
}

.closure-note b {
  color: #7a3d14;
}

.closure-note span {
  color: #5b4233;
}

.cta-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.cta-grid.secondary-actions {
  margin-top: 7px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cta-grid.primary-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cta-grid a,
.cta-grid button {
  min-width: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  overflow-wrap: anywhere;
}

.primary-actions a {
  min-height: 60px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
}

.primary-actions svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action-helper {
  margin: 8px 0 0;
  padding: 9px 11px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.source-helper {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.call-script {
  margin-top: 8px;
  padding: 10px 11px;
  border: 1px solid #d8e6de;
  border-radius: var(--radius);
  background: #fbfdfb;
}

.call-script b {
  display: block;
  color: #14231e;
  font-size: 12px;
  font-weight: 900;
}

.call-script div {
  margin-top: 7px;
  display: grid;
  gap: 5px;
}

.call-script span {
  position: relative;
  padding-left: 15px;
  color: #344c45;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.42;
}

.call-script span::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .7em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
}

.cta-grid .cta-map,
.cta-grid .cta-street,
.cta-grid .cta-copy,
.cta-grid .cta-related {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.cta-grid .cta-copy,
.cta-grid .cta-related {
  min-height: 38px;
  border-color: transparent;
  background: var(--subtle);
  color: #3b4441;
  font-size: 12px;
  white-space: normal;
}

.cta-grid .cta-copy.is-copied {
  border-color: #cfe5dc;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.cta-grid .cta-map::after {
  content: none;
}

.cta-grid .cta-route {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.map-embed-card {
  position: relative;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #d7e3dc;
  border-radius: var(--radius);
  background: #fff;
}

.map-embed-card .section-head {
  margin-bottom: 10px;
}

.map-frame {
  width: 100%;
  display: block;
  border: 0;
  border-radius: var(--radius);
  background: #eef3ef;
}

.map-frame {
  height: 184px;
}

.streetview-link-card {
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f7faf8, #fff);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 10px;
  align-items: center;
  padding: 11px;
  color: var(--ink);
}

.streetview-link-card span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.streetview-link-card b {
  grid-column: 1;
  font-size: 14px;
  line-height: 1.35;
}

.streetview-link-card small {
  grid-column: 1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.streetview-link-card::after {
  content: "›";
  grid-column: 2;
  grid-row: 1 / span 3;
  color: var(--accent);
  font-size: 24px;
  font-weight: 800;
}

.opinion-box,
.fact-box {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.opinion-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.opinion-head h2,
.fact-box h2 {
  margin: 3px 0 0;
  font-size: 17px;
  line-height: 1.3;
}

.opinion-head > span {
  flex: 0 0 auto;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.opinion-box > p {
  margin: 10px 0 0;
  color: #314741;
  font-size: 13px;
  line-height: 1.65;
}

.opinion-points {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.opinion-points span {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid #eadfcb;
  background: #fffaf0;
  color: #725312;
  font-size: 11px;
  font-weight: 900;
}

.opinion-points .positive {
  border-color: #cfe3d9;
  background: #eef8f3;
  color: var(--accent-ink);
}

.opinion-evidence {
  margin-top: 10px;
  display: grid;
  gap: 6px;
}

.opinion-evidence a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px;
  align-items: baseline;
  padding: 9px 10px;
  border-radius: var(--radius);
  background: #f7faf8;
}

.opinion-evidence b {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.opinion-evidence span {
  min-width: 0;
  color: #40524d;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.45;
}

.fact-box {
  background: #fbfdfb;
}

.fact-list {
  margin-top: 10px;
  display: grid;
  gap: 7px;
}

.fact-card {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 11px 34px 11px 11px;
  border: 1px solid #dce5df;
  border-radius: var(--radius);
  background: #fff;
}

.fact-card::after {
  content: "›";
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 22px;
  font-weight: 900;
}

.fact-card span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.fact-card b {
  color: #1f2d29;
  font-size: 13px;
  line-height: 1.45;
}

.fact-card small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.map-preview {
  position: relative;
  min-height: 112px;
  margin-top: 12px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: end;
  gap: 10px;
  padding: 14px;
  border: 1px solid #d7e3dc;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(30deg, transparent 47%, rgba(18,96,79,.14) 48%, rgba(18,96,79,.14) 52%, transparent 53%),
    linear-gradient(110deg, transparent 44%, rgba(49,85,127,.13) 45%, rgba(49,85,127,.13) 50%, transparent 51%),
    linear-gradient(180deg, #f7faf7, #eef5f1);
}

.map-preview::before,
.map-preview::after {
  content: "";
  position: absolute;
  inset: auto -28px 28px;
  height: 18px;
  transform: rotate(-12deg);
  background: rgba(255,255,255,.78);
  border-block: 1px solid rgba(203,212,207,.8);
}

.map-preview::after {
  inset: 24px -24px auto;
  height: 14px;
  transform: rotate(18deg);
}

.map-preview-pin {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px 999px 999px 2px;
  transform: rotate(-45deg);
  background: var(--accent);
  box-shadow: 0 8px 20px rgba(18,96,79,.22);
}

.map-preview-pin::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fff;
}

.map-preview-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.map-preview-copy b,
.map-preview-copy small {
  display: block;
}

.map-preview-copy b {
  font-size: 14px;
  line-height: 1.35;
}

.map-preview-copy small {
  margin-top: 4px;
  color: #4d5b57;
  font-size: 12px;
  line-height: 1.45;
}

.map-preview em {
  position: relative;
  z-index: 1;
  align-self: center;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.parking-box {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.parking-box h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.parking-list {
  margin-top: 10px;
  display: grid;
  gap: 7px;
}

.parking-list div {
  display: grid;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--subtle);
}

.parking-list b,
.parking-list span,
.parking-list small {
  display: block;
}

.parking-list b {
  font-size: 13px;
  line-height: 1.35;
}

.parking-list span {
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.parking-list small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.visit-summary {
  margin-top: 15px;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.visit-summary div {
  min-height: 52px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.visit-summary div:last-child {
  border-bottom: 0;
}

.visit-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.visit-summary b {
  font-size: 15px;
  line-height: 1.35;
}

.next-path-panel {
  background:
    linear-gradient(180deg, rgba(255,254,253,.98), rgba(248,250,248,.98)),
    #fff;
}

.next-path-list {
  display: grid;
  gap: 7px;
}

.next-path-list a {
  position: relative;
  min-height: 82px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 13px 42px 13px 13px;
  border: 1px solid #dce4df;
  border-radius: var(--radius);
  background: #fff;
}

.next-path-list a::after {
  content: "›";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.next-path-list span,
.next-path-list b,
.next-path-list small {
  display: block;
}

.next-path-list span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
}

.next-path-list b {
  font-size: 16px;
  line-height: 1.35;
}

.next-path-list small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.48;
}

.enrichment-box,
.decision-box,
.official-box {
  margin-top: 16px;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.enrichment-box {
  background: transparent;
  border-color: var(--line);
}

.enrichment-box strong {
  display: block;
  line-height: 1.45;
}

.enrichment-box p {
  margin: 9px 0 0;
  max-height: 210px;
  overflow: auto;
  color: #31443e;
  font-size: 13px;
  line-height: 1.68;
  white-space: pre-line;
}

.rating-line {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.rating-line span {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 850;
}

.enrichment-box .text-link {
  display: inline-flex;
  margin-top: 10px;
}

.decision-box {
  background: transparent;
  border-color: var(--line);
}

.decision-box h2,
.official-box h2 {
  margin: 0;
  font-size: 17px;
}

.decision-box ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #3b4441;
  font-size: 13px;
  line-height: 1.62;
}

.decision-box li + li {
  margin-top: 5px;
}

.official-box {
  border-color: var(--line);
  background: transparent;
}

.official-list {
  margin-top: 10px;
  display: grid;
  gap: 7px;
}

.official-list div {
  min-height: 68px;
  padding: 11px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #f8faf8;
}

.official-list span,
.official-list b,
.official-list small {
  display: block;
}

.official-list span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
}

.official-list b {
  margin-top: 5px;
  font-size: 15px;
  line-height: 1.4;
}

.official-list small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.source-panel .official-list {
  margin-top: 0;
}

.source-panel .raw-data {
  margin-top: 12px;
}

.detail-grid {
  margin: 18px 0 0;
  display: grid;
  gap: 7px;
}

.detail-grid div {
  min-height: 70px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.detail-grid dt {
  margin-bottom: 7px;
  font-size: 12px;
}

.raw-data,
.secondary-details {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.raw-data summary,
.secondary-details summary {
  position: relative;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 48px 0 12px;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.raw-data summary::after,
.secondary-details summary::after,
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: transparent;
  transition: background .16s ease;
}

.raw-data summary::before,
.secondary-details summary::before,
.faq-list summary::before {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  z-index: 1;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-65%) rotate(45deg);
  transform-origin: 50% 50%;
  transition: transform .16s ease;
}

.raw-data[open] summary::after,
.secondary-details[open] summary::after,
.faq-list details[open] summary::after {
  background: transparent;
}

.raw-data[open] summary::before,
.secondary-details[open] summary::before,
.faq-list details[open] summary::before {
  transform: translateY(-35%) rotate(225deg);
}

.raw-data .detail-grid,
.raw-data .data-meta {
  padding: 0 12px 12px;
}

.secondary-details {
  padding: 0;
}

.secondary-details .check-list {
  padding: 0 12px 12px;
}

.care-basis-details .basis-grid,
.care-guide-details .guide-stack {
  margin: 0 12px 12px;
}

.data-meta {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.data-meta div {
  min-height: 40px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--subtle);
}

.data-meta span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.data-meta b {
  font-size: 12px;
  line-height: 1.45;
}

.check-list,
.compare-grid,
.basis-grid {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.check-list div,
.compare-grid div,
.basis-grid div {
  min-height: 54px;
  padding: 11px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.check-list div:last-child,
.compare-grid div:last-child,
.basis-grid div:last-child {
  border-bottom: 0;
}

.check-list b,
.check-list span,
.compare-grid span,
.basis-grid span,
.compare-grid small,
.basis-grid small {
  display: block;
}

.check-list b,
.compare-grid span,
.basis-grid span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.check-list span,
.compare-grid small,
.basis-grid small {
  margin-top: 4px;
  color: #3b4441;
  font-size: 13px;
  line-height: 1.45;
}

.check-list .ok {
  border-color: #cfe5dc;
  background: var(--accent-soft);
}

.check-list .warn {
  border-color: #eadbb5;
  background: var(--amber-soft);
}

.compare-grid b,
.basis-grid b {
  display: block;
  margin-top: 5px;
  font-size: 22px;
}

.chip-section {
  display: grid;
  gap: 9px;
}

.chip-section + .chip-section,
.notice-box {
  margin-top: 15px;
}

.chip-section h3 {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 16px;
}

.chip-section h3 small {
  color: var(--muted);
  font-size: 12px;
}

.chip-list,
.mini-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip-list a,
.chip-list span,
.mini-metrics span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: #26302d;
  font-size: 12px;
  font-weight: 800;
}

.chip-list a {
  border-color: var(--line-strong);
  background: #fff;
  color: #26302d;
}

.chip-list a::after {
  content: "›";
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.chip-list em,
.mini-metrics b {
  font-style: normal;
  color: var(--accent);
}

.hour-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.hour-grid span {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 10px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.hour-grid b {
  color: var(--ink);
}

.notice-box {
  padding: 12px;
  border-radius: var(--radius);
  background: var(--amber-soft);
  border: 1px solid #eadbb5;
}

.notice-box p {
  margin: 0;
  color: #67470e;
  font-size: 13px;
  line-height: 1.55;
}

.notice-box p + p {
  margin-top: 6px;
}

.faq-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.faq-list details {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  overflow: hidden;
}

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 48px 0 12px;
  font-weight: 850;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 12px 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.empty-state {
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 18px;
  text-align: center;
  color: var(--muted);
}

.empty-state strong { color: var(--ink); }

.site-footer {
  margin-top: 16px;
  padding: 15px 2px 4px;
  border-top: 1px solid var(--line);
  color: #55635f;
}

.site-footer strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.3;
}

.site-footer p {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.55;
}

.site-footer .footer-source {
  margin-top: 9px;
  color: #687571;
}

.site-footer nav {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
}

.site-footer nav a {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

.site-footer small {
  display: block;
  margin-top: 10px;
  color: #8a9692;
  font-size: 11px;
  line-height: 1.45;
}

.info-page {
  display: grid;
  gap: 10px;
}

.info-hero {
  padding: 16px 2px 8px;
}

.info-hero h1 {
  margin: 0;
  font-size: 25px;
  line-height: 1.16;
}

.info-hero .lead {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.58;
}

.info-panel {
  box-shadow: none;
}

.info-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.info-list li {
  position: relative;
  padding-left: 15px;
  color: #31433d;
  font-size: 13px;
  line-height: 1.62;
}

.info-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
}

.reference-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.reference-list a {
  position: relative;
  min-height: 62px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px 38px 12px 12px;
  background: #fff;
  color: var(--ink);
}

.reference-list a::after {
  content: "›";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 22px;
}

.reference-list b {
  font-size: 13px;
  line-height: 1.35;
}

.reference-list span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

@media (min-width: 431px) {
  body {
    padding: 18px 0;
  }

  .mobile-shell {
    min-height: calc(100vh - 36px);
    border-radius: 12px;
    overflow: hidden;
  }

  .bottom-nav {
    bottom: 18px;
    border-radius: 0 0 12px 12px;
  }
}
