/* Layout: case-file sections on a quiet paper ground; one ink band per page for the thesis, orange only for action and deadlines. */
:root {
  --paper: #FFFFFF;
  --sand: #F4F5F2;
  --ink: #13212E;
  --ink-2: #3D4A57;
  --muted: #56636F;
  --line: #DCE1E5;
  --accent: #C2410C;
  --accent-hover: #9A3412;
  --accent-ink: #FFFFFF;
  --accent-soft: #FFF1E8;
  --accent-line: #FBD5BC;
  --band: #13212E;
  --band-2: #1B2D3E;
  --band-line: #33475A;
  --band-fg: #FFFFFF;
  --band-muted: #C2CCD5;
  --band-accent: #FDBA74;
  --ex: #6B4E16;
  --ex-bg: #FBF1D9;
  --display: "IBM Plex Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --body: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;
  --wrap: 1160px;
  --r: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E1720; --sand: #141F2A; --ink: #E7ECF0; --ink-2: #C2CCD5; --muted: #9AA7B3; --line: #26343F;
    --accent: #F59152; --accent-hover: #FBAA74; --accent-ink: #1A0E06; --accent-soft: #2A1C14; --accent-line: #5A3420;
    --band: #172736; --band-2: #1E3244; --band-line: #34495C; --band-fg: #FFFFFF; --band-muted: #B6C2CC; --band-accent: #FDBA74;
    --ex: #F3D79B; --ex-bg: #3A2F17;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E1720; --sand: #141F2A; --ink: #E7ECF0; --ink-2: #C2CCD5; --muted: #9AA7B3; --line: #26343F;
  --accent: #F59152; --accent-hover: #FBAA74; --accent-ink: #1A0E06; --accent-soft: #2A1C14; --accent-line: #5A3420;
  --band: #172736; --band-2: #1E3244; --band-line: #34495C; --band-fg: #FFFFFF; --band-muted: #B6C2CC; --band-accent: #FDBA74;
  --ex: #F3D79B; --ex-bg: #3A2F17;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.7;
  word-break: keep-all; overflow-wrap: anywhere;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img { max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.3; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.sec { padding-block: 88px; }
.sec.tight { padding-block: 56px; }
.sand { background: var(--sand); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); }
.h2 { font-size: clamp(26px, 3.3vw, 38px); font-weight: 700; }
.h3 { font-size: 20px; font-weight: 700; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.sec-head > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.more { font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* example marker */
.ex { display: inline-block; vertical-align: middle; font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; line-height: 1; padding: 4px 7px; border-radius: 6px; background: var(--ex-bg); color: var(--ex); margin-left: 6px; }

/* header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.hbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.25; }
.brand small { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; color: var(--accent); }
.brand strong { font-family: var(--display); font-size: 19px; }
.nav { display: flex; flex-wrap: wrap; gap: 2px 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; padding-block: 10px; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav a:hover { color: var(--accent); }
.hcall { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-inline: 18px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.hcall:hover { color: var(--paper); opacity: 0.9; }
.menu-btn { display: none; min-height: 44px; min-width: 44px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 10px; font: inherit; font-weight: 700; padding-inline: 12px; cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .hcall { display: none; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 0; padding-bottom: 8px; }
  .nav.open { display: flex; }
  .nav a { padding-block: 12px; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--line); }
}

/* ink band */
.band { background: var(--band); color: var(--band-fg); }
.band .eyebrow { color: var(--band-accent); }
.band .lead, .band .muted { color: var(--band-muted); }
.band a:not(.btn) { color: var(--band-fg); }
.hero { padding-block: 80px 72px; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; }
.hero-main { flex: 999 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 700; line-height: 1.2; }
.hero-side { flex: 1 1 320px; min-width: 0; border: 1px solid var(--band-line); background: var(--band-2); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.page-hero { padding-block: 64px 56px; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 48px); }
.crumb { font-size: 14px; color: var(--band-muted); }
.crumb a { color: var(--band-muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding-inline: 22px; border-radius: 12px; font-weight: 700; text-decoration: none; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-light { background: var(--band-fg); color: #13212E; }
.btn-light:hover { color: #13212E; opacity: 0.92; }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; max-width: 560px; }
.split a { display: flex; flex-direction: column; gap: 2px; padding: 18px 22px; border-radius: 14px; text-decoration: none; }
.split a span:first-child { font-size: 13px; }
.split a span:last-child { font-family: var(--display); font-size: 20px; font-weight: 700; }
.band .split .w { background: var(--accent); color: var(--accent-ink); }
.split .w span:first-child { opacity: 0.85; }
.band .split .e { background: var(--band-fg); color: #13212E; }
.split .e span:first-child { color: #4A5763; }
.split a:hover { filter: brightness(1.05); }
.hero-links { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 15px; }
.hero-links a { min-height: 44px; display: inline-flex; align-items: center; }

/* three answers list */
.qlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.qlist li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.qlist b { display: block; font-size: 17px; }
.qlist span { font-size: 14px; color: var(--band-muted); }
.qn { font-family: var(--display); font-weight: 700; color: var(--band-accent); font-variant-numeric: tabular-nums; }

/* deadline strip */
.deadlines { background: var(--accent-soft); border-bottom: 1px solid var(--accent-line); }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 32px; align-items: center; padding-block: 28px; }
.dl-grid strong { font-family: var(--display); font-size: 32px; color: var(--accent); line-height: 1.1; display: block; font-variant-numeric: tabular-nums; }
.dl-grid p { font-size: 15px; color: var(--ink-2); }
.dl-title { font-family: var(--display); font-size: 20px; font-weight: 700; }

/* tabs */
.tabs { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--sand); border: 1px solid var(--line); }
.tabs button { min-height: 44px; padding-inline: 22px; border-radius: 999px; border: 0; background: transparent; color: var(--ink-2); font: inherit; font-weight: 700; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }

/* situation cards */
.grid3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.sit { display: flex; flex-direction: column; gap: 8px; padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.sit:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-2px); }
.sit .tag { font-size: 13px; font-weight: 700; color: var(--accent); }
.sit h3 { font-size: 21px; }
.sit p { font-size: 15px; color: var(--muted); }
.sit .go { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 700; color: var(--ink-2); }

/* calculator */
.calc { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.calc-form { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.calc-out { flex: 1 1 340px; min-width: 0; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.calc-out .big { font-family: var(--display); font-size: clamp(30px, 4vw, 42px); font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.calc-out .left { font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 700; }
.field input, .field select, .field textarea { min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font: inherit; font-weight: 400; }
.field textarea { min-height: 120px; resize: vertical; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 24px; border: 0; margin: 0; padding: 0; }
.radios legend { font-size: 15px; font-weight: 700; margin-bottom: 6px; padding: 0; }
.radios label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; }
input[type="radio"], input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 14px; color: var(--ink-2); align-items: start; }
.consent input { margin-top: 3px; }
.notice { padding: 14px 16px; border-radius: 10px; background: var(--accent-soft); border: 1px solid var(--accent-line); font-size: 15px; }

/* case cards */
.case { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--r); background: var(--sand); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); }
.chip.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.case h3 { font-size: 19px; line-height: 1.45; }
.case .issue { font-size: 15px; color: var(--ink-2); }
.case .res { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; color: var(--accent); font-size: 15px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { min-height: 44px; padding-inline: 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); font: inherit; font-weight: 700; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.case-full { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.case-full summary { list-style: none; cursor: pointer; padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.case-full summary::-webkit-details-marker { display: none; }
.case-full summary h3 { font-size: 19px; line-height: 1.45; }
.case-full summary .toggle { font-size: 14px; font-weight: 700; color: var(--accent); }
.case-full[open] summary .toggle::after { content: " 접기"; }
.case-full:not([open]) summary .toggle::after { content: " 자세히 보기"; }
.case-body { padding: 0 26px 26px; display: flex; flex-direction: column; gap: 18px; }
.case-body dl { margin: 0; display: grid; grid-template-columns: minmax(96px, max-content) 1fr; gap: 12px 20px; }
.case-body dt { font-weight: 700; font-size: 15px; }
.case-body dd { margin: 0; color: var(--ink-2); font-size: 15px; min-width: 0; }
.case-list { display: flex; flex-direction: column; gap: 14px; }

/* lists & tables */
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 15px; }
.checks li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 5px; border: 2px solid var(--accent); }
.checks b { display: block; font-size: 16px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.steps li { border-top: 2px solid var(--accent); padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.steps .n { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--accent); }
.steps b { font-family: var(--display); font-size: 20px; }
.steps p { font-size: 15px; color: var(--ink-2); }
.band .steps li { border-top-color: var(--band-accent); }
.band .steps .n { color: var(--band-accent); }
.band .steps p { color: var(--band-muted); }
.flow { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.flow > div { flex: 1 1 200px; min-width: 0; padding: 20px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.flow .when { font-size: 13px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.flow b { font-family: var(--display); font-size: 18px; }
.flow p { font-size: 14px; color: var(--muted); }
.flow .lawyer { border-style: dashed; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--sand); font-weight: 700; }
tbody tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* two-column article layout */
.cols { display: flex; flex-wrap: wrap; gap: 48px; }
.cols > .main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
.cols > aside { flex: 1 1 280px; min-width: 0; }
.side-card { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; background: var(--paper); }
.side-card .tel { font-family: var(--display); font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.block { display: flex; flex-direction: column; gap: 18px; }
.block h2 { font-size: 26px; }
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 68ch; }
.prose h2 { font-size: 24px; margin-top: 16px; }
.prose ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }

/* about */
.about { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.photo { flex: 1 1 300px; max-width: 400px; width: 100%; aspect-ratio: 4 / 5; border-radius: 20px; background: var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 15px; }
.about-text { flex: 999 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.cred { padding: 20px 22px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.cred b { font-family: var(--display); font-size: 19px; display: block; }
.creds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 24px; font-size: 15px; color: var(--ink-2); }
.creds li { padding-left: 14px; border-left: 2px solid var(--accent); }

/* columns list */
.clist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.clist a, .clist div.item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; padding-block: 22px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.clist .cat { flex: 0 0 110px; font-size: 14px; font-weight: 700; color: var(--accent); }
.clist .t { flex: 999 1 380px; min-width: 0; font-family: var(--display); font-size: 19px; font-weight: 600; }
.clist .d { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.clist a:hover .t { color: var(--accent); }

/* fees */
.fee { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 20px 24px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); flex-wrap: wrap; }
.fee b { font-size: 17px; font-weight: 500; }
.fee .p { font-family: var(--display); font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* faq */
.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq summary { cursor: pointer; font-family: var(--display); font-size: 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 44px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--accent); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 10px; color: var(--ink-2); max-width: 70ch; }

/* contact */
.contact { display: flex; flex-wrap: wrap; gap: 48px; }
.contact-info { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.form { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: 30px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.info { margin: 0; display: grid; grid-template-columns: 80px 1fr; gap: 10px 16px; font-size: 16px; }
.info dt { font-weight: 700; }
.info dd { margin: 0; color: var(--ink-2); min-width: 0; }
.copy { min-height: 36px; padding-inline: 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; margin-left: 8px; }

/* cta band */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { font-size: clamp(24px, 3vw, 34px); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer */
.footer { background: var(--band); color: var(--band-muted); font-size: 14px; }
.footer .wrap { padding-block: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.footer strong { color: var(--band-fg); font-family: var(--display); font-size: 17px; display: block; margin-bottom: 6px; }
.footer a { color: var(--band-fg); }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: flex-end; }

/* mobile action bar */
.mbar { display: none; }
@media (max-width: 900px) {
  .mbar {
    display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    background: var(--paper); border-top: 1px solid var(--line);
    padding-top: 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-right: max(12px, env(safe-area-inset-right, 0px));
  }
  .mbar a { min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 12px; font-weight: 700; text-decoration: none; font-size: 15px; border: 1px solid var(--line); color: var(--ink); }
  .mbar a.go { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
  body { padding-bottom: 80px; }
  .sec { padding-block: 64px; }
  .hero { padding-block: 56px 52px; }
}
.skip { position: absolute; left: -9999px; top: 8px; z-index: 70; }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); }

.brand img { display: block; height: 44px; width: auto; }
@media (max-width: 480px) { .brand img { height: 36px; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand img { filter: brightness(0) invert(1); } }
:root[data-theme="dark"] .brand img { filter: brightness(0) invert(1); }

.map { position: relative; flex: 1 1 460px; min-width: 0; max-width: 100%; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--sand); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-link { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: 14px; text-decoration: none; }
.map-link span { background: #03C75A; color: #FFFFFF; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.map-link:hover span { background: #02B350; }

/* hidden panels must stay hidden even when a display rule applies */
[hidden] { display: none !important; }
/* tab switch is a row, not the column layout other sec-head children use */
.sec-head > .tabs { flex-direction: row; flex: none; }
.tabs button { white-space: nowrap; }
