@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

[hidden] { display: none !important; }

:root {
  --paper: #f8f7f2;
  --card: #ffffff;
  --ink: #192b24;
  --muted: #626b62;
  --line: #dedfd6;
  --line-strong: #b9c0ba;
  --green: #205b43;
  --green-ink: #0d4d30;
  --green-tint: #e3efe7;
  --amber-tint: #fbf1d6;
  --amber-ink: #7a5a00;
  --wrap: 1160px;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 16px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-ink); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 2px; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { top: 8px; }

/* Header */
.header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header .wrap { display: flex; align-items: center; gap: 28px; min-height: 60px; }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; overflow-wrap: normal; }
.nav a, .lang, .tag, .rows .actions a, .chips a { overflow-wrap: normal; }
.wordmark i { width: 14px; height: 14px; background: var(--green); border-radius: 3px 3px 3px 0; display: inline-block; }
.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { white-space: nowrap; text-decoration: none; color: var(--muted); padding: 18px 0 16px; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { color: var(--ink); border-color: var(--green); }
.nav a:hover { color: var(--ink); }
.lang { margin-left: auto; font-size: 14px; text-decoration: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.lang:hover { border-color: var(--ink); }

.preview-banner { background: var(--amber-tint); color: var(--amber-ink); font-size: 14px; padding: 8px 0; border-bottom: 1px solid #ead9a5; }

/* Search */
.search { margin: 8px 0 32px; }
.search label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.search input { width: 100%; max-width: 620px; border: 1px solid var(--line-strong); border-radius: 6px; padding: 12px 14px; font-size: 16px; background: var(--card); }
.search input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px var(--green-tint); }
.search .hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.count { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Sections */
.section { padding: 28px 0 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.section-head h2 { font-size: 22px; font-weight: 700; }
.section-head .count { white-space: nowrap; }
.section h3 { font-size: 16px; font-weight: 600; padding: 22px 0 8px; display: flex; gap: 10px; align-items: baseline; }
.section h3 a { text-decoration: none; }
.section h3 a:hover { text-decoration: underline; }
.section h3 .count { font-weight: 500; }
.empty { padding: 20px 0; color: var(--muted); font-size: 15px; }
.empty strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }

/* Directory rows */
.rows > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.rows > li:first-child { border-top: 0; }
.rows .name { font-size: 19px; font-weight: 600; }
.rows .name small { font-weight: 500; color: var(--muted); font-size: 14px; margin-left: 6px; }
.rows .meta { font-size: 14px; color: var(--muted); margin-top: 2px; }
.rows .meta .sep { margin: 0 6px; color: var(--line-strong); }
.rows .desc { font-size: 15px; margin-top: 4px; }
.rows .check { font-size: 12px; color: var(--muted); margin-top: 6px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.rows .actions { display: flex; gap: 6px; align-items: flex-start; flex-wrap: wrap; justify-content: flex-end; }
.rows .actions a { font-size: 13px; text-decoration: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 11px; white-space: nowrap; background: var(--card); }
.rows .actions a:hover { border-color: var(--green); color: var(--green-ink); background: var(--green-tint); }
.rows .actions .none { font-size: 13px; color: var(--muted); padding: 5px 0; }
.tag { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.01em; border: 1px solid var(--line-strong); border-radius: 4px; padding: 1px 6px; line-height: 1.5; color: var(--muted); background: var(--card); }
.tag.state { color: var(--ink); }
.tag.anchor { border-color: var(--green); color: var(--green-ink); background: var(--green-tint); }
.tag.ko { border-color: var(--green); color: var(--green-ink); background: var(--green-tint); }
.tag.unverified { border-color: #ead9a5; background: var(--amber-tint); color: var(--amber-ink); }

/* Page heads for inner pages */
.page-head { padding: 40px 0 20px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head h1 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: -0.02em; }
.page-head .lede { margin-top: 12px; font-size: 16px; color: var(--muted); max-width: 40em; }
.page-head .facts { margin-top: 14px; display: flex; gap: 10px 22px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.page-head .facts strong { color: var(--ink); font-weight: 600; }
.page-head .facts a { text-decoration: none; }
.page-head .facts a:hover { text-decoration: underline; }

.related { padding: 26px 0 8px; border-top: 1px solid var(--line); margin-top: 32px; }
.related h2 { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { font-size: 14px; text-decoration: none; border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 12px; background: var(--card); }
.chips a:hover { border-color: var(--green); color: var(--green-ink); }
.chips .count { font-size: 12px; margin-left: 5px; }

/* Prose (about) */
.prose { max-width: 40em; font-size: 16.5px; line-height: 1.75; }
.prose p + p { margin-top: 16px; }
.prose h2 { font-size: 19px; font-weight: 700; margin: 32px 0 10px; }

/* Listing request form */
.request-form { max-width: 720px; }
.request-form fieldset { border: 0; border-top: 1px solid var(--line-strong); padding: 18px 0 8px; margin: 12px 0 0; }
.request-form legend { padding: 0 8px 0 0; font-weight: 600; font-size: 15px; }
.field { margin: 12px 0; }
.field label, .field .label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 5px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 6px; padding: 10px 12px; font-size: 16px; background: var(--card); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px var(--green-tint); }
.field textarea { resize: vertical; min-height: 120px; }
.field .hint, .request-form .hint { font-size: 13px; color: var(--muted); margin-top: 5px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.choices { display: flex; flex-direction: column; gap: 6px; }
.choices.wrap { flex-direction: row; flex-wrap: wrap; gap: 6px 18px; }
.choices label { font-size: 15px; display: inline-flex; gap: 8px; align-items: center; font-weight: 400; margin: 0; }
.choices input { width: 16px; height: 16px; accent-color: var(--green); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.button { background: var(--green); color: #fff; border: 0; border-radius: 6px; padding: 12px 22px; font-size: 16px; font-weight: 600; cursor: pointer; margin-top: 18px; }
.button:hover { background: var(--green-ink); }
.button:disabled { opacity: 0.6; cursor: default; }
.notice { border: 1px solid var(--line-strong); border-radius: 6px; padding: 14px 16px; margin: 8px 0 20px; font-size: 15px; max-width: 720px; }
.notice strong { display: block; margin-bottom: 4px; }
.notice.ok { background: var(--green-tint); border-color: var(--green); }
.notice.err { background: var(--amber-tint); border-color: #ead9a5; color: var(--amber-ink); }

/* Footer */
.footer { margin-top: 56px; border-top: 1px solid var(--line-strong); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: start; }
.footer .wordmark { color: var(--ink); font-size: 17px; }
.footer .source { margin-top: 10px; max-width: 46em; }
.footer .request { text-align: right; }
.footer .request a { font-weight: 600; color: var(--ink); }
.footer .edition { display: block; margin-top: 6px; font-variant-numeric: tabular-nums; }

@media (max-width: 820px) {

  .footer .wrap { grid-template-columns: 1fr; }
  .footer .request { text-align: left; }
}
@media (max-width: 600px) {
  .header .wrap { flex-wrap: wrap; gap: 0 14px; min-height: 0; padding-top: 10px; }
  .wordmark { flex: 1 1 auto; }
  .lang { order: 2; }
  .nav { order: 3; flex-basis: 100%; gap: 18px; font-size: 14px; overflow-x: auto; }
  .nav a { padding: 10px 0 10px; }
  .section-head { flex-wrap: wrap; gap: 4px 16px; }

  .rows > li { grid-template-columns: 1fr; gap: 10px; }
  .grid2 { grid-template-columns: 1fr; }
  .rows .actions { justify-content: flex-start; }
  .wrap { padding: 0 18px; }
}
@media (prefers-reduced-motion: no-preference) {
  .rows .actions a, .chips a, .lang { transition: border-color 120ms ease, background-color 120ms ease; }
}

/* A neighborhood directory: warm paper, clear labels and a compact finder. */
.directory-hero { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 64px; padding: 60px 0 34px; align-items: start; }
.eyebrow { font-size: 12px; letter-spacing: .09em; font-weight: 650; color: var(--green); }
.directory-hero h1 { font-size: clamp(32px, 4.1vw, 52px); line-height: 1.2; letter-spacing: -.035em; margin-top: 17px; font-weight: 750; }
.directory-hero .intro { max-width: 34em; font-size: 17px; color: var(--muted); margin-top: 22px; }
.home-search { margin-top: 30px; }
.home-search > label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.home-search-controls { display: flex; background: white; border: 1px solid var(--green); border-radius: 8px; padding: 5px; min-width: 0; }
.home-search input { width: 100%; min-width: 0; border: 0; background: transparent; padding: 10px; font-size: 16px; }
.home-search select { width: 135px; flex-shrink: 0; border: 0; border-left: 1px solid var(--line); background: white; padding: 6px; font-size: 14px; color: var(--muted); }
.home-search button { flex-shrink: 0; border: 0; border-radius: 5px; background: var(--green); color: white; font-size: 15px; padding: 10px 16px; cursor: pointer; }
.home-search button:hover { background: var(--green-ink); }
.text-link { font-size: 14px; font-weight: 600; text-decoration: none; }
.directory-hero .text-link { display: inline-block; margin-top: 14px; }
.directory-note { padding: 28px; background: #e9eddf; border-radius: 3px 40px 3px 3px; }
.note-mark { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: var(--green); border-radius: 20px 20px 20px 2px; color: white; font-size: 39px; font-weight: 650; margin-bottom: 24px; }
.directory-note .eyebrow { letter-spacing: 0; }
.directory-note h2 { font-size: 23px; max-width: 12em; margin: 10px 0 12px; line-height: 1.35; }
.directory-note > p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.directory-note a { display: inline-block; font-size: 13px; font-weight: 600; margin-top: 20px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-grid li { border-bottom: 1px solid var(--line); }
.category-grid a { position: relative; display: block; padding: 20px 14px 20px 0; min-height: 126px; text-decoration: none; }
.category-grid a:hover { background: var(--green-tint); }
.category-grid li:not(:nth-child(4n+1)) a { padding-left: 20px; }
.category-number { display: block; color: var(--muted); font-size: 11px; margin-bottom: 5px; font-variant-numeric: tabular-nums; }
.category-grid strong { display: block; padding-right: 37px; font-size: 18px; font-weight: 650; }
.category-count { position: absolute; right: 16px; top: 45px; font-size: 13px; color: var(--green); }
.category-count span { margin-left: 8px; }
.category-grid p { font-size: 12px; color: var(--muted); margin-top: 6px; }
.region-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.region-list li { border-bottom: 1px solid var(--line); }
.region-list a { display: flex; align-items: center; gap: 12px; padding: 17px 0; text-decoration: none; }
.region-list strong { font-weight: 550; font-size: 15px; }
.region-list .count { margin-left: auto; white-space: nowrap; }
.rows .name > a { text-decoration: none; }
.rows .name > a:hover { text-decoration: underline; }
.address { font-size: 13px; color: var(--muted); margin-top: 10px; overflow-wrap: anywhere; word-break: normal; }
.evidence { font-size: 12px; color: var(--muted); margin-top: 10px; max-width: 680px; }
.evidence summary { width: fit-content; cursor: pointer; text-underline-offset: 3px; }
.evidence summary:hover { color: var(--green); text-decoration: underline; }
.evidence dl { border-left: 2px solid var(--line); padding: 4px 0 4px 16px; margin: 12px 0 0; }
.evidence dt { font-weight: 650; color: var(--ink); margin-top: 12px; }
.evidence dt:first-child { margin-top: 0; }
.evidence dd { margin: 3px 0 0; }
.evidence a { word-break: break-all; }
.directory-filters { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: end; padding-bottom: 16px; }
.directory-filters > label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.directory-filters select { font: inherit; min-width: 170px; max-width: 100%; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 6px; padding: 11px 12px; background: white; }
.directory-filters .filter-check { flex-direction: row; align-items: center; min-height: 45px; font-size: 14px; }
.filter-check input { accent-color: var(--green); width: 16px; height: 16px; }
.directory-filters button { border: 0; background: none; font-size: 13px; text-decoration: underline; cursor: pointer; min-height: 45px; }
.business-detail { max-width: 760px; background: white; border: 1px solid var(--line); border-radius: 6px; padding: 28px; }
.business-detail .address { font-size: 16px; }
.business-phone { margin: 14px 0; font-size: 20px; }
.business-detail .actions { display: flex; flex-wrap: wrap; gap: 12px 20px; font-size: 14px; margin: 18px 0; }
.business-detail .check { color: var(--muted); font-size: 13px; margin-top: 24px; }
.business-detail .evidence { font-size: 14px; }
.detail-correction { margin-top: 30px; font-size: 14px; }
@media (max-width: 1000px) {
  .directory-hero { gap: 30px; grid-template-columns: minmax(0, 1.7fr) minmax(240px, 1fr); }
  .home-search-controls { flex-wrap: wrap; }
  .home-search input { flex-basis: 100%; }
  .home-search select { flex: 1; border-left: 0; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid li a { padding-left: 12px !important; }
}
@media (max-width: 760px) {
  .directory-hero { grid-template-columns: 1fr; padding: 36px 0 8px; gap: 28px; }
  .directory-note { padding: 20px; border-radius: 3px 24px 3px 3px; }
  .note-mark { float: right; margin: 0 0 12px 20px; width: 48px; height: 48px; font-size: 29px; border-radius: 16px 16px 16px 2px; }
  .directory-note h2 { max-width: none; font-size: 19px; }
  .directory-note a { margin-top: 12px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid strong { font-size: 17px; }
  .category-grid a { min-height: 145px; }
  .region-list { grid-template-columns: 1fr; }
  .directory-filters > label:not(.filter-check) { flex: 1; min-width: 140px; }
  .directory-filters select { min-width: 0; width: 100%; font-size: 16px; }
  .business-detail { padding: 20px; }
  .rows .name { font-size: 18px; }
  .directory-hero .intro { font-size: 16px; }
}

/* Source guides keep lookup resources separate from reviewed business rows. */
.source-method { margin-bottom: 28px; font-size: 15px; }
.source-section-intro { max-width: 54em; color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.source-rows .name { margin: 0; }
.source-rows .check { line-height: 1.8; }
.source-limit, .evidence-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.source-rows .chips { margin-top: 12px; }
.source-related .hint { color: var(--muted); font-size: 13px; }
.source-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; margin-top: 18px; }
.source-links li { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.source-links a { font-size: 14px; overflow-wrap: anywhere; }
.source-links span { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
@media (max-width: 600px) {
  .source-links { grid-template-columns: 1fr; }
}
