/* Country portal visual layer — one card system for 230 hosts.
   Tokens: 8/14/22 radii, 240ms transitions, two-layer shadows, 44px targets. */

:root {
  --bg: #ffffff;
  --bg2: #f5f5f7;
  --surface: #ffffff;
  --fg: #1d1d1f;
  --mut: #6e6e73;
  --line: rgba(29, 29, 31, .13);
  --line-soft: rgba(29, 29, 31, .07);
  --acc: #0066cc;
  --acc-soft: #e9f2fc;
  --ok: #1f7a3d;
  --ok-soft: #e7f5ec;
  --warn: #946200;
  --warn-soft: #fff6e0;
  --bad: #b42318;
  --bad-soft: #fdecea;
  --r1: 8px;
  --r2: 14px;
  --r3: 22px;
  --dur: 240ms;
  --ease: cubic-bezier(.32, .72, 0, 1);
  --shadow1: 0 1px 2px rgba(15, 23, 42, .06), 0 6px 18px rgba(15, 23, 42, .07);
  --shadow2: 0 2px 6px rgba(15, 23, 42, .08), 0 20px 46px rgba(15, 23, 42, .14);
  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0f14;
    --bg2: #121820;
    --surface: #121820;
    --fg: #e6ebf0;
    --mut: #93a1ad;
    --line: rgba(230, 235, 240, .14);
    --line-soft: rgba(230, 235, 240, .08);
    --acc: #6fb3ff;
    --acc-soft: #14283d;
    --ok: #55d07a;
    --ok-soft: #13291b;
    --warn: #ffb340;
    --warn-soft: #2a2114;
    --bad: #ff8b80;
    --bad-soft: #2c1716;
    --shadow1: 0 1px 2px rgba(0, 0, 0, .35), 0 6px 20px rgba(0, 0, 0, .28);
    --shadow2: 0 3px 8px rgba(0, 0, 0, .42), 0 22px 50px rgba(0, 0, 0, .48);
  }
}

html[data-theme="dark"] {
  --bg: #0b0f14;
  --bg2: #121820;
  --surface: #121820;
  --fg: #e6ebf0;
  --mut: #93a1ad;
  --line: rgba(230, 235, 240, .14);
  --line-soft: rgba(230, 235, 240, .08);
  --acc: #6fb3ff;
  --acc-soft: #14283d;
  --ok: #55d07a;
  --ok-soft: #13291b;
  --warn: #ffb340;
  --warn-soft: #2a2114;
  --bad: #ff8b80;
  --bad-soft: #2c1716;
  --shadow1: 0 1px 2px rgba(0, 0, 0, .35), 0 6px 20px rgba(0, 0, 0, .28);
  --shadow2: 0 3px 8px rgba(0, 0, 0, .42), 0 22px 50px rgba(0, 0, 0, .48);
}

html[data-theme="light"] {
  --bg: #ffffff;
  --bg2: #f5f5f7;
  --surface: #ffffff;
  --fg: #1d1d1f;
  --mut: #6e6e73;
  --line: rgba(29, 29, 31, .13);
  --line-soft: rgba(29, 29, 31, .07);
  --acc: #0066cc;
  --acc-soft: #e9f2fc;
  --ok: #1f7a3d;
  --ok-soft: #e7f5ec;
  --warn: #946200;
  --warn-soft: #fff6e0;
  --bad: #b42318;
  --bad-soft: #fdecea;
  --shadow1: 0 1px 2px rgba(15, 23, 42, .06), 0 6px 18px rgba(15, 23, 42, .07);
  --shadow2: 0 2px 6px rgba(15, 23, 42, .08), 0 20px 46px rgba(15, 23, 42, .14);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 var(--font);
  overflow-x: hidden;
  overflow-wrap: anywhere;
}

img, svg, video, canvas, iframe { max-width: 100%; }
main, .layout, .layout > *, .wrap, .portal-main { min-width: 0; }

header a { color: inherit; }

/* The shared gov header is the sticky, blurred chrome. Keep it above the
   portal content while letting the country masthead scroll naturally. */
.gov-header {
  background: color-mix(in srgb, var(--bg) 78%, transparent) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
  border-bottom: 1px solid var(--line) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset;
}
html[data-theme="dark"] .gov-header {
  background: color-mix(in srgb, #0b0f14 80%, transparent) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset;
}

.portal-main {
  width: min(100%, var(--wrap));
  margin: 0 auto;
  padding: 30px clamp(14px, 3vw, 26px) 84px;
}

/* ── masthead ─────────────────────────────────────────────────────────── */
.portal-mast {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 8px 0 4px;
}

.portal-ident {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.portal-ident > div { flex: 1 1 420px; min-width: 0; }

.iso-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--bg2);
  color: var(--mut);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .12em;
  font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow1);
  flex: 0 0 auto;
}

.portal-kicker {
  margin: 0 0 2px;
  color: var(--mut);
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h1.portal-title {
  margin: 0;
  font-size: clamp(2.05rem, 5.2vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: -.032em;
  text-wrap: balance;
}

.portal-summary {
  max-width: 68ch;
  margin: 0;
  color: var(--mut);
  font-size: clamp(1rem, 1.35vw, 1.09rem);
  line-height: 1.5;
  text-wrap: pretty;
}

.portal-nav {
  display: flex;
  align-items: center;
  gap: 3px;
  width: max-content;
  max-width: 100%;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg2);
  box-shadow: var(--shadow1);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.portal-nav::-webkit-scrollbar { display: none; }

.portal-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--mut);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: -.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
.portal-nav a:hover { color: var(--fg); text-decoration: none; }
.portal-nav a[aria-current="page"] {
  background: var(--surface);
  color: var(--fg);
  box-shadow: var(--shadow1);
}

/* ── shared type + section rhythm ─────────────────────────────────────── */
.section { margin: 42px 0 0; min-width: 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.section-head h2,
.section > h2 {
  margin: 0;
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  line-height: 1.2;
  letter-spacing: -.018em;
}
.section-head p { margin: 0; color: var(--mut); font-size: .88rem; }
.section-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--acc);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--mut);
  font-size: .76rem;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.eyebrow a { color: inherit; }
.lede { max-width: 72ch; color: var(--mut); font-size: 1.04rem; }
.mut { color: var(--mut); }
.micro { font-size: .8rem; }
hr.rule { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }

a {
  color: var(--acc);
  text-decoration: none;
  text-underline-offset: 3px;
}
a:hover { text-decoration: underline; }

a, button, .btn, .card, tr, summary, input, select {
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
}

button, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg2);
  color: var(--fg);
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
}
button:hover, .btn:hover { filter: brightness(.97); text-decoration: none; }
button:active, .btn:active { transform: scale(.985); }

input, select {
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg2);
  color: var(--fg);
  font: inherit;
}

/* ── hero stats ───────────────────────────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  min-height: 148px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r3);
  background: var(--surface);
  box-shadow: var(--shadow1);
}
.stat-label {
  color: var(--mut);
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.stat-value {
  font-size: clamp(1.25rem, 2.6vw, 2.2rem);
  font-weight: 680;
  line-height: 1.02;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow-wrap: normal;
}
.stat-note { color: var(--mut); font-size: .8rem; line-height: 1.4; }

/* ── card system ──────────────────────────────────────────────────────── */
.card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--surface);
  box-shadow: var(--shadow1);
}
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }

.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 14px;
}

.dept-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 168px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--surface);
  box-shadow: var(--shadow1);
  color: inherit;
  text-decoration: none;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              background-color var(--dur) var(--ease);
}
.dept-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow2);
  border-color: color-mix(in srgb, var(--acc) 42%, var(--line));
  text-decoration: none;
}
.dept-card:active { transform: translateY(-1px) scale(.995); }

.dept-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.dept-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: var(--r2);
  background: var(--acc-soft);
  color: var(--acc);
}
.dept-icon svg { width: 22px; height: 22px; }
.dept-count {
  color: var(--mut);
  font-size: .78rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.dept-name {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.25;
  letter-spacing: -.012em;
  text-transform: capitalize;
}
.dept-status {
  margin: 0;
  color: var(--mut);
  font-size: .86rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dept-headline {
  margin-top: auto;
  color: var(--fg);
  font-size: .86rem;
  font-variant-numeric: tabular-nums;
}
.dept-headline strong { font-weight: 650; }

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--mut);
  font-size: .82rem;
}
.status-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--mut);
}
.status-green .status-dot { background: var(--ok); }
.status-yellow .status-dot { background: var(--warn); }
.status-red .status-dot { background: var(--bad); }
.status-none .status-dot { background: var(--mut); }

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: .12rem .58rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg2);
  font-size: .75rem;
  font-weight: 650;
}

/* ── indicators ───────────────────────────────────────────────────────── */
.ind-lane {
  min-width: 0;
  margin: 16px 0;
  padding: clamp(16px, 2.4vw, 22px);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  background: var(--surface);
  box-shadow: var(--shadow1);
}
.ind-lane-head {
  display: flex;
  align-items: baseline;
  gap: 10px 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.ind-lane-head h2 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: -.016em;
  text-transform: capitalize;
}
.ind-lane-head .ind-total { color: var(--mut); font-size: .82rem; }
.ind-lane-head .section-link { margin-left: auto; }

.ind-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 188px), 1fr));
  gap: 11px;
}
.ind-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r2);
  background: var(--bg2);
}
.ind-key {
  color: var(--mut);
  font-size: .72rem;
  line-height: 1.35;
  letter-spacing: .01em;
  overflow-wrap: anywhere;
}
.ind-value {
  font-size: 1.4rem;
  font-weight: 670;
  line-height: 1.1;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.ind-meta { color: var(--mut); font-size: .75rem; line-height: 1.4; }
.ind-meta a { color: var(--mut); text-decoration: underline; text-decoration-color: var(--line); }
.sparkline { display: block; width: 100%; height: 34px; color: var(--acc); margin-top: 2px; }

.ind-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: var(--r2);
  color: var(--mut);
  font-size: .88rem;
}

/* ── tables ───────────────────────────────────────────────────────────── */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--surface);
  box-shadow: var(--shadow1);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.table-wrap table { min-width: 620px; }
th, td {
  padding: 11px 13px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
tr:last-child th, tr:last-child td { border-bottom: 0; }
th {
  color: var(--mut);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: var(--bg2);
  white-space: nowrap;
}
tbody tr:hover { background: color-mix(in srgb, var(--acc) 5%, transparent); }
td code, th code { font-size: .86em; overflow-wrap: anywhere; }

/* ── notices board ───────────────────────────────────────────────────── */
.notice-board {
  display: grid;
  gap: 18px;
  max-width: 80ch;
  margin-top: 24px;
}
.notice-board .section { margin-top: 0; }
.notice {
  border-radius: var(--r2) !important;
  box-shadow: var(--shadow1);
}
.notice h2 { letter-spacing: -.01em; }
.advisory {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--surface);
  box-shadow: var(--shadow1);
}
.advisory + .advisory { margin-top: 12px; }
.advisory h3 { margin: 0 0 .35rem; font-size: 1.05rem; letter-spacing: -.012em; }
.advisory p { margin: .4rem 0; }
.advisory .badge { margin-bottom: 2px; }
.notice-board .visa-form {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--bg2);
}
.notice-board .visa-form label { font-size: .84rem; font-weight: 600; }
.notice-board .visa-form input { min-width: 9rem; }

/* ── data / records ───────────────────────────────────────────────────── */
.data-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 14px;
}
.data-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--surface);
  box-shadow: var(--shadow1);
}
.data-card .data-number {
  font-size: 1.65rem;
  font-weight: 680;
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
}
.link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.link-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--surface);
  color: var(--fg);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.link-list a:hover { border-color: var(--acc); box-shadow: var(--shadow1); text-decoration: none; }

/* ── notices list (overview) ──────────────────────────────────────────── */
.notice-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r2);
  background: var(--surface);
  box-shadow: var(--shadow1);
}
.notice-summary p { margin: 0; color: var(--mut); font-size: .92rem; }
.notice-summary strong { color: var(--fg); }

/* ── classes retained from the old template ───────────────────────────── */
.page-head { max-width: 72ch; }
.page-head h1 { margin: 0 0 10px; font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -.03em; line-height: 1.08; }
.list-flat { list-style: none; margin: 0; padding: 0; }
.list-flat li { padding: .55rem 0; border-bottom: 1px solid var(--line-soft); }
.visa-form input { min-width: 8rem; }
details.card summary { cursor: pointer; font-weight: 600; }

footer.gov-footer {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px clamp(14px, 3vw, 26px);
  color: var(--mut);
  font-size: .82rem;
  border-top: 1px solid var(--line);
}
.gov-footer a { color: inherit; }

/* ── responsive: 390 / 320 must never scroll sideways ─────────────────── */
@media (max-width: 760px) {
  .portal-main { padding-top: 22px; }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-card { min-height: 132px; padding: 16px; }
  .portal-nav { width: 100%; }
  .portal-nav a { padding: 0 13px; font-size: .86rem; }
  .ind-lane-head .section-link { margin-left: 0; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .portal-main { padding-left: 14px; padding-right: 14px; }
  .portal-ident { gap: 10px; }
  .iso-chip { min-width: 46px; height: 36px; font-size: .78rem; }
  .stat-label { font-size: .68rem; }
  .stat-value { font-size: clamp(1.15rem, 4.6vw, 1.5rem); }
  .dept-card { min-height: 0; padding: 16px; }
  .ind-lane { padding: 14px; border-radius: var(--r2); }
  .ind-grid { grid-template-columns: 1fr; }
  .notice-board .visa-form { padding: 13px; }
  .table-wrap { border-radius: var(--r1); }
}

@media (max-width: 340px) {
  .stat-row { grid-template-columns: 1fr; }
  .portal-nav a { padding: 0 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .dept-card:hover { transform: none; }
}

@media print {
  .gov-header, .gov-footer, .portal-nav { display: none !important; }
  .dept-card, .stat-card, .ind-lane { break-inside: avoid; box-shadow: none; }
}

/* ── two-column notice board (advisories + outbound visas) ───────────── */
.notice-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
  margin-top: 24px;
}
.notice-col { min-width: 0; }
.notice-col h2 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  letter-spacing: -.012em;
}
.notice-col > p { margin: 0 0 12px; }
.notice-table-wrap { margin-top: 8px; }
.table-wrap .notice-table { min-width: 0; table-layout: fixed; }
.notice-table th:nth-child(1) { width: 24%; }
.notice-table th:nth-child(2) { width: 22%; }
.notice-table th:nth-child(3) { width: 24%; }
.notice-table th:nth-child(4) { width: 17%; }
.notice-table th:nth-child(5) { width: 13%; }
.notice-table td { overflow-wrap: anywhere; }
.notice-table .row-country { font-weight: 650; }
.notice-table .row-sub {
  display: block;
  margin-top: 3px;
  color: var(--mut);
  font-size: .78rem;
  line-height: 1.35;
}
.notice-table .row-absent td { color: var(--mut); }
.notice-table .row-absent td:nth-child(2) { font-style: italic; }
.notice-table .row-conflict td { background: color-mix(in srgb, #a15c00 7%, transparent); }
.conflict-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border: 1px solid #d8a13c;
  border-radius: 999px;
  color: #7a4500;
  font-size: .68rem;
  font-weight: 700;
  white-space: nowrap;
}
.notice-table .row-note td {
  color: var(--mut);
  font-size: .78rem;
  line-height: 1.45;
}
.notice-coverage { margin-top: 30px; max-width: 80ch; }

@media (max-width: 900px) {
  .notice-columns { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .notice-table { table-layout: auto; }
  .notice-table thead { display: none; }
  .notice-table, .notice-table tbody, .notice-table tr,
  .notice-table td { display: block; width: 100%; }
  .notice-table tr {
    padding: 11px 13px;
    border-bottom: 1px solid var(--line-soft);
  }
  .notice-table tr:last-child { border-bottom: 0; }
  .notice-table td {
    display: grid;
    grid-template-columns: 6.6rem minmax(0, 1fr);
    gap: 8px;
    padding: 3px 0;
    border: 0;
  }
  .notice-table td::before {
    content: attr(data-label);
    color: var(--mut);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  .notice-table .row-note td,
  .notice-table td[colspan] { display: block; }
  .notice-table .row-note td::before,
  .notice-table td[colspan]::before { display: none; }
}
