/* Karta gminy (/gmina/<slug>/, build/karta.py) - dokłada się do styles.css (barwy, pismo, nagłówek, stopka, .warn, .facts, .bars, .chart, .note) */
.karta .wrap, .katalog .wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.nw { white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- góra: nazwa, położenie, najważniejsze liczby ---------- */
.k-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); grid-template-areas: "id map" "sum map" "act map";
  grid-template-rows: auto auto 1fr; column-gap: 64px; padding-top: 52px; padding-bottom: 56px; }
.k-id { grid-area: id; }
.k-crumb { margin: 0 0 14px; font-stretch: 85%; font-weight: 600; font-size: 15px; color: var(--line); }
.k-crumb a { color: var(--line); text-decoration: none; }
.k-crumb a:hover { color: var(--signal); }
.k-id { container-type: inline-size; }
/* nazwa na całą szerokość kolumny: --em = szerokość najdłuższego wiersza w em z metryk pisma (build/karta.py name_em) */
.k-name { margin: 0; font-stretch: 118%; font-weight: 800; font-size: 56px; font-size: clamp(32px, calc(100cqi / var(--em, 7)), 104px);
  line-height: 0.95; letter-spacing: -0.022em; text-wrap: balance; }
.k-sub { margin: 16px 0 0; max-width: 34em; font-stretch: 88%; font-weight: 520; font-size: 18px; line-height: 1.4; color: var(--line); }
.k-lead { margin: 12px 0 0; max-width: 34em; font-size: 17px; line-height: 1.5; color: var(--bone); }

/* mapa w nagłówku: gmina wśród sąsiadów, podpisy w HTML (stały rozmiar pisma), w rogu Polska z kropką */
.k-hmap { grid-area: map; position: relative; align-self: start; margin: 8px 0 0; }
.k-hmap svg { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 10px; background: var(--deep); }
.k-hg use { fill: #24434E; stroke: rgba(127, 163, 174, 0.42); stroke-width: 0.9px; vector-effect: non-scaling-stroke; stroke-linejoin: round; cursor: pointer; }
.k-hg use:hover { fill: #2F5663; stroke: var(--bone); }
.k-hme { fill: var(--signal); stroke: var(--deep); stroke-width: 1.2px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.k-hmap .k-wl { stroke: rgba(230, 223, 204, 0.5); }
.k-lab { position: absolute; inset: 0; pointer-events: none; }
.k-lab span { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; font-stretch: 82%; font-weight: 620; font-size: 13px; letter-spacing: 0.015em;
  color: rgba(230, 223, 204, 0.86); text-shadow: 0 0 3px var(--deep), 0 0 6px var(--deep); }
.k-ins { position: absolute; width: 23%; padding: 6px; border-radius: 8px; background: rgba(10, 38, 48, 0.86); }
.k-ins-tr { top: 10px; right: 10px; } .k-ins-tl { top: 10px; left: 10px; } .k-ins-br { bottom: 10px; right: 10px; } .k-ins-bl { bottom: 10px; left: 10px; }
.k-ins img { display: block; width: 100%; height: auto; }
.k-ins > div { position: relative; }
.k-ins i { position: absolute; width: 9px; height: 9px; border: 2px solid var(--deep); border-radius: 50%; background: var(--signal);
  box-sizing: content-box; transform: translate(-50%, -50%); }

.k-sum { grid-area: sum; margin-top: 44px; max-width: 640px; }
.k-sum ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.k-sum li { border-bottom: 1px solid var(--rule); }
.k-sum a { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 4px 20px; align-items: baseline; margin: 10px 0; padding: 3px 0 3px 14px;
  border-left: 3px solid var(--c, var(--line)); text-decoration: none; }
.k-sum b { font-stretch: 112%; font-weight: 760; font-size: 25px; line-height: 1.12; letter-spacing: -0.005em; font-variant-numeric: tabular-nums; }
.k-sum span { font-size: 15.5px; line-height: 1.35; color: var(--line); text-wrap: pretty; }
.k-sum a:hover b { color: var(--signal); }
.k-sum a:hover span { color: var(--bone); }
/* pole dotyku co najmniej 44 px także przy wierszu w jednej linii (niewidoczny ::after w odstępie między wierszami) */
.k-sum a { position: relative; }
.k-sum a::after { content: ""; position: absolute; inset: -7px 0; }

.k-act { grid-area: act; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 30px; }
.k-btn { height: 46px; padding: 0 18px; border: 1.5px solid var(--bone); border-radius: 6px; background: none; font-weight: 650; font-size: 16px; }
.k-btn:hover { border-color: var(--signal); color: var(--signal); }
.k-btn-p { border-color: var(--signal); background: var(--signal); color: var(--deep); }
.k-btn-p:hover { border-color: var(--bone); background: var(--bone); color: var(--deep); }
.k-btn-p[aria-pressed="true"] { background: none; color: var(--signal); }
.k-btn-p[aria-pressed="true"]:hover { border-color: var(--bone); color: var(--bone); }
.k-toast { flex-basis: 100%; margin: 2px 0 0; min-height: 1.4em; font-stretch: 88%; font-size: 14.5px; line-height: 1.4; color: var(--signal); }

/* ---------- spis części karty: przyklejony pod nagłówkiem strony, przewijany w bok (przy wielu mapach) ---------- */
.k-toc { position: sticky; top: var(--top); z-index: 15; background: rgba(15, 52, 65, 0.97); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.k-toc .wrap { padding: 0; }
.k-toc ul { display: flex; gap: 8px; margin: 0; padding: 9px 24px; list-style: none; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.k-toc ul::-webkit-scrollbar { display: none; }
.k-toc li { flex: none; }
.k-toc a { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 12px; border: 1px solid var(--rule); border-radius: 6px;
  text-decoration: none; white-space: nowrap; font-stretch: 88%; font-weight: 620; font-size: 15px; color: var(--line); transition: border-color 0.15s, color 0.15s, background-color 0.15s; }
.k-toc a i { flex: none; width: 10px; height: 10px; border-radius: 2px; }
.k-toc a { position: relative; }
.k-toc a::after { content: ""; position: absolute; inset: -6px 0; } /* pole dotyku 44 px w wewnętrznym marginesie paska */
.k-toc a:hover { border-color: var(--line); color: var(--bone); }
.k-toc a[aria-current="true"] { border-color: var(--bone); background: var(--land); color: var(--bone); }
.k-toc-nb { background: none; box-shadow: inset 0 0 0 2px var(--line); }
.k-toc + .k-sec > .k-in { border-top: 0; }
.k-sec, .k-nb { scroll-margin-top: calc(var(--top) + 56px); }

/* „Pobierz obrazek”: podgląd obrazka do relacji przed zapisaniem */
.k-dlg { width: min(440px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 10px;
  background: var(--deep); color: var(--bone); }
.k-dlg::backdrop { background: rgba(6, 20, 26, 0.78); }
.k-dlg-in { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 16px 18px; }
.k-dlg-h { margin: 0; align-self: flex-start; font-stretch: 108%; font-weight: 740; font-size: 19px; }
.k-dlg img { display: block; width: auto; height: min(62dvh, 640px); max-width: 100%; aspect-ratio: 9 / 16; border-radius: 6px; background: var(--ocean); }
.k-dlg-p { margin: 0; align-self: flex-start; font-stretch: 88%; font-size: 14.5px; line-height: 1.4; color: var(--line); }
.k-dlg-act { display: flex; flex-wrap: wrap; gap: 8px; align-self: stretch; }
.k-dlg-act .k-btn { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.k-dlg-act .k-btn[hidden] { display: none; }

/* ---------- sekcje: tekst po lewej, mapa okolicy po prawej ---------- */
.k-sec { padding: 0 24px; }
.k-sec > .k-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 0 72px; align-items: start;
  max-width: 1192px; margin: 0 auto; padding: 60px 0 72px; border-top: 1px solid var(--rule); }
.k-vis { position: sticky; top: calc(var(--top) + 28px); }
.k-h { margin: 0; font-stretch: 112%; font-weight: 780; font-size: 34px; line-height: 1.05; letter-spacing: -0.01em; }
.k-film { margin: 8px 0 0; max-width: 30em; font-family: var(--note); font-style: italic; font-size: 17px; line-height: 1.35; color: var(--line); }
.k-film a { color: var(--line); text-decoration-color: rgba(127, 163, 174, 0.5); }
.k-film a:hover { color: var(--bone); text-decoration-color: var(--signal); }
.k-head .warn { margin: 22px 0 0; }
.k-kick { margin: 30px 0 0; font-stretch: 88%; font-weight: 620; font-size: 15px; color: var(--line); }
.k-big { margin: 28px 0 0; font-stretch: 125%; font-weight: 850; font-size: 92px; line-height: 0.88; letter-spacing: -0.025em; color: var(--signal);
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.k-kick + .k-big { margin-top: 8px; }
.k-big-t { font-stretch: 110%; font-weight: 820; font-size: 58px; line-height: 0.98; letter-spacing: -0.015em; white-space: normal; text-wrap: balance; }
.k-big2 { margin: 0; font-stretch: 125%; font-weight: 820; font-size: 52px; line-height: 0.9; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.k-bcap { margin: 12px 0 0; max-width: 30em; font-size: 18px; line-height: 1.4; }
.k-bcap b { font-weight: 680; font-variant-numeric: tabular-nums; white-space: nowrap; }
.k-ctx { margin: 14px 0 0; max-width: 34em; text-wrap: pretty; }
.k-h3 { margin: 34px 0 10px; font-stretch: 100%; font-weight: 720; font-size: 18px; }
.k-more p { max-width: 36em; text-wrap: pretty; }
.k-more > p:not(.note):not(.k-big2):not(.k-bcap):not(.k-ctx) { margin: 0 0 12px; }
.k-more .note { margin: 10px 0 0; }
.k-more .facts { margin: 18px 0 0; }
.k-foot { margin-top: 30px; }
/* „Jak to liczymy”: definicje i zastrzeżenia metody, schowane, żeby karta była krótsza */
.k-how { margin: 0 0 18px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.k-how summary { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; list-style: none; font-weight: 650; font-size: 15.5px; }
.k-how summary::-webkit-details-marker { display: none; }
.k-how summary::before { content: ""; width: 7px; height: 7px; margin: 0 2px 3px 2px; border-right: 2px solid var(--line); border-bottom: 2px solid var(--line);
  transform: rotate(45deg); transition: transform 0.15s; }
.k-how[open] summary::before { margin-bottom: -2px; transform: rotate(-135deg); }
.k-how summary:hover { color: var(--signal); }
.k-how > div { padding: 0 0 6px; }
.k-how p { margin: 0 0 12px; max-width: 40em; font-size: 15.5px; line-height: 1.5; color: rgba(230, 223, 204, 0.86); }
.k-src { margin: 0; max-width: 42em; font-size: 13.5px; line-height: 1.45; color: var(--line); }
.k-go { display: inline-flex; align-items: center; min-height: 44px; margin: 16px 10px 0 0; padding: 0 16px; border: 1.5px solid var(--line);
  border-radius: 6px; text-decoration: none; font-weight: 650; font-size: 15.5px; }
.k-go:hover { border-color: var(--signal); color: var(--signal); }

/* mapka okolicy: gminy w barwach mapy, żółty obrys tej gminy */
.k-map { margin: 0; }
.k-map svg { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 8px; background: var(--deep); }
.k-gm use { stroke: rgba(10, 38, 48, 0.7); stroke-width: 0.8px; vector-effect: non-scaling-stroke; stroke-linejoin: round; cursor: pointer; }
.k-gm use:hover, .k-gm use.on { stroke: var(--bone); stroke-width: 2px; }
.k-wl { fill: none; stroke: rgba(230, 223, 204, 0.6); stroke-width: 1.4px; vector-effect: non-scaling-stroke; stroke-linejoin: round; pointer-events: none; }
/* obrys tej gminy: ciemna obwódka pod żółtą linią, żeby była widoczna także na żółtych i jasnych barwach */
.k-mec { fill: none; stroke: var(--deep); stroke-width: 7px; stroke-opacity: 0.85; vector-effect: non-scaling-stroke; stroke-linejoin: round; pointer-events: none; }
.k-me { fill: none; stroke: var(--signal); stroke-width: 3.2px; vector-effect: non-scaling-stroke; stroke-linejoin: round; pointer-events: none; }
.k-mec2 { fill: none; stroke: var(--deep); stroke-width: 5px; stroke-opacity: 0.8; vector-effect: non-scaling-stroke; stroke-linejoin: round; pointer-events: none; }
.k-me2 { fill: none; stroke: var(--signal); stroke-width: 2.2px; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; pointer-events: none; }
.k-leg { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 16px; margin: 12px 0 0; }
.k-leg p { flex: 1 1 12em; margin: 0; font-stretch: 82%; font-weight: 600; font-size: 13.5px; line-height: 1.3; }
.k-leg-bar { position: relative; flex: 0 1 270px; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); height: 27px; }
.k-leg-bar i { height: 9px; }
.k-leg-bar i:first-child { border-radius: 2px 0 0 2px; }
.k-leg-bar i:last-of-type { border-radius: 0 2px 2px 0; }
.k-leg-bar b { position: absolute; top: 12px; transform: translateX(-50%); font-stretch: 72%; font-weight: 520; font-size: 12px; color: var(--line);
  font-variant-numeric: tabular-nums; white-space: nowrap; }
.k-leg-k > div { display: flex; flex-wrap: wrap; gap: 4px 14px; font-stretch: 82%; font-weight: 560; font-size: 13px; }
.k-leg-k span { display: inline-flex; align-items: center; gap: 7px; }
.k-leg-k i { width: 16px; height: 10px; border-radius: 2px; }
.k-cap { margin: 8px 0 0; min-height: 2.9em; font-stretch: 88%; font-size: 14.5px; line-height: 1.4; color: var(--line); }
.k-cap b { font-weight: 700; color: var(--bone); }
.k-extra { margin-top: 30px; }
/* mapa całej Polski (zabory 1914) z obrysem gminy */
.k-pl-in { position: relative; max-width: 560px; margin: 0 auto; }
.k-pl-in img { display: block; width: 100%; height: auto; }
.k-pl-in svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; border: 0; border-radius: 0; background: none; }
.k-pl-in path { fill: var(--signal); stroke: var(--signal); stroke-width: 1.5px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.k-pl-in circle { fill: none; stroke: var(--signal); stroke-width: 2.4px; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 2px rgba(10, 38, 48, 0.9)); }
.k-pl .k-leg { margin-top: 6px; }
@media (min-width: 901px) {
  /* wykres ma ramkę 400 jednostek jak w panelu mapy; w szerszej kolumnie mniejsze pismo, żeby miało te same ok. 12 px */
  .k-chart text { font-size: 8.6px; }
  .k-chart .val { font-size: 9.4px; }
  .k-chart .it { font-size: 9.4px; }
}
.k-extra .note { margin: 8px 0 0; }
.k-chart { margin: 0; }

/* porównanie z województwem i Polską */
.k-cmp { display: grid; gap: 12px; margin: 22px 0 0; max-width: 560px; }
.k-cmp-r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px 14px; align-items: baseline; }
.k-cmp-r span { font-size: 15px; line-height: 1.3; color: var(--line); }
.k-cmp-r b { grid-column: 2; grid-row: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.k-cmp-r i { grid-column: 1 / -1; grid-row: 2; position: relative; height: 8px; border-radius: 4px; background: rgba(127, 163, 174, 0.14); }
.k-cmp-r i::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: var(--w); border-radius: 4px; background: rgba(127, 163, 174, 0.75); }
.k-cmp-r.me span { color: var(--bone); font-weight: 650; }
.k-cmp-r.me i::after { background: var(--signal); }

/* zabory: oś czasu (te same klatki co na mapie zaborów) */
.k-tl { margin: 0; padding: 0; list-style: none; max-width: 520px; }
.k-tl li { display: grid; grid-template-columns: 3.1em 10px minmax(0, 1fr); gap: 0 14px; }
.k-tl span { padding: 5px 0; font-stretch: 88%; font-weight: 640; font-variant-numeric: tabular-nums; color: var(--line); }
.k-tl i { display: block; box-shadow: inset 0 0 0 1px rgba(127, 163, 174, 0.35); }
.k-tl li:first-child i { border-radius: 5px 5px 0 0; }
.k-tl li:last-child i { border-radius: 0 0 5px 5px; }
.k-tl b { padding: 5px 0; font-weight: 600; line-height: 1.3; }
.k-tl li.same b { font-weight: 480; color: rgba(230, 223, 204, 0.62); }
.k-tl li.y1914 span, .k-tl li.y1914 b { color: var(--signal); }
.k-tl small { display: block; font-stretch: 88%; font-weight: 500; font-size: 13.5px; color: var(--line); }

/* sąsiednie gminy */
.k-nb { padding-top: 60px; padding-bottom: 80px; }
.k-nb .k-h { padding-top: 60px; border-top: 1px solid var(--rule); }
.k-nb { padding-top: 0; }
.k-nb ul { margin: 22px 0 0; padding: 0; list-style: none; columns: 4 220px; column-gap: 36px; }
.k-nb li { break-inside: avoid; padding: 8px 0 9px; border-bottom: 1px solid var(--rule); }
.k-nb a { font-weight: 650; text-decoration: none; }
.k-nb a:hover { color: var(--signal); }
.k-other { margin: 26px 0 0; font-weight: 650; }
.k-nb span { display: block; font-stretch: 85%; font-size: 14px; color: var(--line); }

@media (max-width: 1100px) {
  .k-hero { column-gap: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); }
  .k-sec > .k-in { gap: 0 44px; }
  .k-big { font-size: 76px; }
}
@media (max-width: 900px) {
  .karta .wrap, .katalog .wrap { padding-left: 16px; padding-right: 16px; }
  .k-hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "id" "map" "sum" "act"; grid-template-rows: none; padding-top: 22px; padding-bottom: 44px; }
  .k-crumb { margin-bottom: 8px; font-size: 14px; }
  .k-sub { margin-top: 10px; font-size: 16px; }
  .k-hmap { margin-top: 20px; }
  .k-hmap svg { border-radius: 8px; }
  .k-lab span { font-size: 11.5px; }
  .k-ins { width: 26%; padding: 4px; border-radius: 6px; }
  .k-ins-tr { top: 6px; right: 6px; } .k-ins-tl { top: 6px; left: 6px; } .k-ins-br { bottom: 6px; right: 6px; } .k-ins-bl { bottom: 6px; left: 6px; }
  .k-ins i { width: 7px; height: 7px; }
  .k-sum { margin-top: 26px; }
  .k-sum a { grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 2px 12px; margin: 9px 0; padding-left: 11px; }
  .k-sum b { font-size: 20px; }
  .k-sum span { font-size: 14.5px; }
  .k-act { margin-top: 22px; }
  .k-btn { flex: 1 1 auto; }
  .k-toc ul { padding: 8px 16px; gap: 6px; }
  .k-toc a { height: 34px; padding: 0 12px 0 10px; font-size: 14.5px; }
  .k-sec, .k-nb { scroll-margin-top: calc(var(--top) + 52px); }
  .k-sec { padding: 0 16px; }
  .k-sec > .k-in { display: flex; flex-direction: column; align-items: stretch; padding: 40px 0 48px; }
  .k-txt, .k-vis { display: contents; }
  .k-head { order: 1; }
  .k-map { order: 2; margin-top: 24px; }
  .k-extra { order: 3; margin-top: 28px; }
  .k-more { order: 4; }
  .k-foot { order: 5; margin-top: 26px; }
  .k-h { font-size: 28px; }
  .k-film { font-size: 16px; }
  .k-big { margin-top: 22px; font-size: 68px; }
  .k-big-t { font-size: 42px; }
  .k-big2 { font-size: 44px; }
  .k-bcap { font-size: 17px; }
  .k-h3 { margin-top: 28px; }
  .k-map svg { border-radius: 6px; }
  .k-leg-bar { flex-basis: 100%; }
  .k-go { flex: 1 1 auto; justify-content: center; }
  .k-foot { display: flex; flex-wrap: wrap; column-gap: 10px; }
  .k-foot .k-src, .k-foot .k-how { flex-basis: 100%; }
  .k-foot .k-go { margin-right: 0; }
  .k-nb { padding-bottom: 56px; }
  .k-nb .k-h { padding-top: 40px; }
  .k-nb ul { columns: 2 140px; column-gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .k-gm use, .k-how summary::before, .k-toc a { transition: none; }
}

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* katalog gmin: /gminy/ i /gminy/<województwo>/ (build/karta.py katalog, 24.10.2026) */
.kt { padding: 34px 0 56px; }
.kt h1 { margin: 0 0 14px; font-stretch: 112%; font-weight: 800; font-size: clamp(30px, 5vw, 46px); line-height: 1.08; letter-spacing: -0.01em; }
.kt-intro { max-width: 46em; margin: 0 0 22px; font-size: 18px; line-height: 1.55; }
.kt-woj { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.kt-woj a { display: block; height: 100%; box-sizing: border-box; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 8px; text-decoration: none; background: var(--deep); }
.kt-woj a:hover { border-color: var(--signal); color: var(--bone); }
.kt-woj b { display: block; font-stretch: 100%; font-weight: 720; font-size: 18px; }
.kt-woj span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.4; color: var(--line); }
.kt-scroll { overflow-x: auto; margin: 0 0 14px; border: 1px solid var(--rule); border-radius: 8px; -webkit-overflow-scrolling: touch; }
.kt-tab { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.kt-tab th { position: sticky; top: 0; padding: 10px 12px; background: var(--deep); text-align: left; font-stretch: 85%; font-weight: 650; font-size: 13.5px; color: var(--line); white-space: nowrap; }
.kt-tab td { padding: 8px 12px; border-top: 1px solid var(--rule); vertical-align: top; }
.kt-tab td.r, .kt-tab th.r { text-align: right; white-space: nowrap; }
.kt-tab td small { display: block; color: var(--line); font-size: 13px; }
.kt-tab a { font-weight: 620; text-decoration: none; }
.kt-tab a:hover { text-decoration: underline; }
.kt-note { max-width: 46em; margin: 8px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--line); }
@media (max-width: 640px) { .kt { padding: 22px 0 40px; } .kt-intro { font-size: 16.5px; } }
.k-nb-p { max-width: 46em; margin: 14px 0 18px; color: var(--line); }
.kt-tab tr.me td { background: rgba(255, 194, 26, 0.09); }
.kt-tab tr.me b { color: var(--signal); }
