/* Daily worker insurance workspace only; the shared fixed partials own the hero and Article. */
.tn-dwi-page {
  --dwi-paper: #faf6ee;
  --dwi-surface: #fffdf7;
  --dwi-wash: #f5efdf;
  --dwi-ink: #1a1208;
  --dwi-muted: #5a4a30;
  --dwi-line: #b8a888;
  --dwi-soft: #ddd4be;
  --dwi-accent: #c44a00;
  --dwi-error: #8a2b15;
  --dwi-quiet: #ede6d4;
  --dwi-quiet-hover: #dfd4bb;
  --dwi-active: #1a1208;
  --dwi-active-text: #faf6ee;
  --dwi-seg-pension: #1a1208;
  --dwi-seg-health: #c44a00;
  --dwi-seg-employment: #8a7550;
  --dwi-seg-tax: #d9a441;
  --dwi-seg-net: #e6dcc4;
  --dwi-scheme: light;
  --dwi-sans: -apple-system, BlinkMacSystemFont, "Pretendard", "Segoe UI", system-ui, sans-serif;
}
body:is([data-scheme="dark"], [data-scheme="inverse"], [data-scheme="auto"][data-d="dark"], [data-scheme="auto"][data-l="dark"]) .tn-dwi-page,
html:is([data-scheme="dark"], [data-scheme="inverse"]) body:not([data-scheme="light"]) .tn-dwi-page {
  --dwi-paper: #241d12;
  --dwi-surface: #322a1a;
  --dwi-wash: #2c2418;
  --dwi-ink: #efe6d2;
  --dwi-muted: #c3b492;
  --dwi-line: #826744;
  --dwi-soft: #574a37;
  --dwi-accent: #f29a5d;
  --dwi-error: #f1a078;
  --dwi-quiet: #2f2115;
  --dwi-quiet-hover: #3a2a1b;
  --dwi-active: #4a3116;
  --dwi-active-text: #f7ead1;
  --dwi-seg-pension: #efe6d2;
  --dwi-seg-health: #f29a5d;
  --dwi-seg-employment: #a89068;
  --dwi-seg-tax: #d9b35e;
  --dwi-seg-net: #4a3f2e;
  --dwi-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  body[data-scheme="auto"] .tn-dwi-page,
  html[data-scheme="auto"] body:not([data-scheme="light"]):not([data-scheme="dark"]):not([data-scheme="inverse"]) .tn-dwi-page {
    --dwi-paper: #241d12;
    --dwi-surface: #322a1a;
    --dwi-wash: #2c2418;
    --dwi-ink: #efe6d2;
    --dwi-muted: #c3b492;
    --dwi-line: #826744;
    --dwi-soft: #574a37;
    --dwi-accent: #f29a5d;
    --dwi-error: #f1a078;
    --dwi-quiet: #2f2115;
    --dwi-quiet-hover: #3a2a1b;
    --dwi-active: #4a3116;
    --dwi-active-text: #f7ead1;
    --dwi-seg-pension: #efe6d2;
    --dwi-seg-health: #f29a5d;
    --dwi-seg-employment: #a89068;
    --dwi-seg-tax: #d9b35e;
    --dwi-seg-net: #4a3f2e;
    --dwi-scheme: dark;
  }
}
.tn-dwi-page [hidden] { display: none !important; }
/* The creative is SDK-sized; these wrappers reserve minimum space, never cap its height. */
.tn-dwi-page .tn-dwi-ad {
  width: 100%;
  max-width: 900px;
  min-height: 90px;
  height: auto;
  max-height: none;
  margin-inline: auto;
  overflow: visible;
  background: transparent;
}
.tn-dwi-page .tn-dwi-ad--top { margin-block: 54px 18px; }
.tn-dwi-page .tn-dwi-ad--bottom { margin-block: 28px 26px; }
.tn-dwi-page .tn-dwi-tool,
.tn-dwi-page .tn-dwi-tool *,
.tn-dwi-page .tn-dwi-tool *::before,
.tn-dwi-page .tn-dwi-tool *::after { box-sizing: border-box; }
.tn-dwi-page .tn-dwi-tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  max-width: 1180px;
  min-width: 0;
  margin-inline: auto;
  border: 1px solid var(--dwi-line);
  border-block: 3px double var(--dwi-line);
  background: var(--dwi-paper);
  color: var(--dwi-ink);
  -webkit-text-fill-color: currentColor;
  color-scheme: var(--dwi-scheme);
  font: 14px/1.6 var(--dwi-sans);
  overflow-wrap: break-word;
}
.tn-dwi-page .tn-dwi-tool :is(p, dl, dt, dd, fieldset, legend, h3, ul, li) { margin: 0; }
.tn-dwi-page .tn-dwi-tool :is(ul, ol, li) { list-style: none; padding: 0; }
.tn-dwi-page .tn-dwi-tool li::before { content: none; }
.tn-dwi-page .tn-dwi-tool :is(code, pre, kbd, samp) { padding: 0; border: 0; border-radius: 0; background: none; background-color: transparent; color: inherit; -webkit-text-fill-color: inherit; }
.tn-dwi-page .tn-dwi-tool .tn-dwi-kicker { color: var(--dwi-muted); -webkit-text-fill-color: var(--dwi-muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; line-height: 1.5; }
.tn-dwi-page .tn-dwi-tool button { font-family: var(--dwi-sans); }
.tn-dwi-page .tn-dwi-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 01 form */
.tn-dwi-page .tn-dwi-form { display: grid; align-content: start; gap: 16px; min-width: 0; padding: 26px 28px; }
.tn-dwi-page .tn-dwi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; min-width: 0; }
.tn-dwi-page .tn-dwi-field { display: grid; align-content: start; gap: 5px; min-width: 0; padding: 0; border: 0; background: transparent; }
.tn-dwi-page .tn-dwi-field--wide,
.tn-dwi-page .tn-dwi-segment { grid-column: 1 / -1; }
.tn-dwi-page .tn-dwi-field > label,
.tn-dwi-page .tn-dwi-segment legend { display: flex; align-items: center; gap: 2px; padding: 0; color: var(--dwi-ink); -webkit-text-fill-color: var(--dwi-ink); font-size: 13px; font-weight: 700; line-height: 24px; word-break: keep-all; }
.tn-dwi-page .tn-dwi-segment legend { float: left; width: 100%; margin-bottom: 5px; }
.tn-dwi-page .tn-dwi-segment .tn-dwi-seg-row { clear: both; }
.tn-dwi-page .tn-dwi-tool .tn-dwi-control {
  display: flex !important;
  align-items: center !important;
  gap: 8px;
  min-width: 0;
  min-height: 48px;
  padding-inline: 12px;
  border: 1px solid var(--dwi-line);
  background: var(--dwi-surface);
  color: var(--dwi-ink);
}
.tn-dwi-page .tn-dwi-control:focus-within { outline: 2px solid var(--dwi-accent); outline-offset: 2px; }
.tn-dwi-page .tn-dwi-control:has([aria-invalid="true"]) { border-color: var(--dwi-error); }
.tn-dwi-page .tn-dwi-control :is(input, select) {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--dwi-ink);
  -webkit-text-fill-color: var(--dwi-ink);
  font: 600 16px/1.4 var(--dwi-sans);
  font-variant-numeric: lining-nums tabular-nums;
  outline: none;
}
.tn-dwi-page .tn-dwi-control select { cursor: pointer; font-size: 14px; appearance: none; -webkit-appearance: none; }
.tn-dwi-page .tn-dwi-control--select::after { content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin-top: -4px; border-right: 1.5px solid var(--dwi-muted); border-bottom: 1.5px solid var(--dwi-muted); transform: rotate(45deg); pointer-events: none; }
.tn-dwi-page .tn-dwi-control option { background: var(--dwi-surface); color: var(--dwi-ink); }
.tn-dwi-page .tn-dwi-control input::placeholder { color: var(--dwi-ink); -webkit-text-fill-color: var(--dwi-ink); opacity: .35; font-weight: 400; }
.tn-dwi-page .tn-dwi-control > span { flex: 0 0 auto; color: var(--dwi-muted); -webkit-text-fill-color: var(--dwi-muted); font-size: 13px; }
.tn-dwi-page .tn-dwi-control--step { padding-inline: 0; }
.tn-dwi-page .tn-dwi-control--step input { padding-inline: 4px; text-align: center; }
.tn-dwi-page .tn-dwi-control--step button {
  flex: 0 0 44px;
  align-self: stretch;
  min-height: 46px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--dwi-quiet);
  box-shadow: none;
  color: var(--dwi-ink);
  -webkit-text-fill-color: var(--dwi-ink);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}
.tn-dwi-page .tn-dwi-control--step button:first-child { border-right: 1px solid var(--dwi-line); }
.tn-dwi-page .tn-dwi-control--step button:last-child { border-left: 1px solid var(--dwi-line); }
.tn-dwi-page .tn-dwi-control--step > span { padding-right: 4px; }
.tn-dwi-page .tn-dwi-control--step button:hover { background: var(--dwi-quiet-hover); }
.tn-dwi-page .tn-dwi-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 3px; }
.tn-dwi-page .tn-dwi-chips button {
  min-height: 32px;
  margin: 0;
  padding: 4px 11px;
  border: 1px solid var(--dwi-soft);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--dwi-muted);
  -webkit-text-fill-color: var(--dwi-muted);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.2;
  cursor: pointer;
}
.tn-dwi-page .tn-dwi-chips button:hover { border-color: var(--dwi-line); background: var(--dwi-wash); color: var(--dwi-ink); -webkit-text-fill-color: var(--dwi-ink); }
.tn-dwi-page .tn-dwi-seg-row { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; border: 1px solid var(--dwi-line); background: var(--dwi-surface); }
.tn-dwi-page .tn-dwi-seg-row label { position: relative; display: flex; min-width: 0; margin: 0; cursor: pointer; }
.tn-dwi-page .tn-dwi-seg-row label + label { border-left: 1px solid var(--dwi-line); }
.tn-dwi-page .tn-dwi-seg-row input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tn-dwi-page .tn-dwi-seg-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  padding: 8px 6px;
  color: var(--dwi-muted);
  -webkit-text-fill-color: var(--dwi-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  word-break: keep-all;
}
.tn-dwi-page .tn-dwi-seg-row label:hover span { background: var(--dwi-wash); }
.tn-dwi-page .tn-dwi-seg-row input:checked + span { background: var(--dwi-active); color: var(--dwi-active-text); -webkit-text-fill-color: var(--dwi-active-text); font-weight: 700; }
.tn-dwi-page .tn-dwi-seg-row input:focus-visible + span { outline: 2px solid var(--dwi-accent); outline-offset: -4px; }
.tn-dwi-page .tn-dwi-actions,
.tn-dwi-page .tn-dwi-result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tn-dwi-page :is(.tn-dwi-actions, .tn-dwi-result-actions) button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 9px 16px;
  border: 1px solid var(--dwi-line);
  border-radius: 0;
  background: var(--dwi-quiet);
  box-shadow: none;
  color: var(--dwi-ink);
  -webkit-text-fill-color: var(--dwi-ink);
  font: 700 13px/1.2 var(--dwi-sans);
  cursor: pointer;
  transition: background-color .16s ease;
}
.tn-dwi-page :is(.tn-dwi-actions, .tn-dwi-result-actions) button:hover:not(:disabled) { background: var(--dwi-quiet-hover); }
.tn-dwi-page .tn-dwi-result-actions button:disabled { opacity: .55; cursor: not-allowed; }
.tn-dwi-page .tn-dwi-tool :is(input, select, button):focus-visible,
.tn-dwi-page .tn-dwi-table-wrap:focus-visible { outline: 2px solid var(--dwi-accent); outline-offset: 2px; }
.tn-dwi-page .tn-dwi-control :is(input, select):focus-visible { outline: none; }
.tn-dwi-page .tn-dwi-error { color: var(--dwi-error); -webkit-text-fill-color: var(--dwi-error); font-size: 13px; font-weight: 700; line-height: 1.6; word-break: keep-all; }

/* help circle */
.tn-dwi-page .tn-dwi-help { display: inline-flex; flex: 0 0 24px; }
.tn-dwi-page .tn-dwi-tool .tn-dwi-help-trigger {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  min-height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: var(--dwi-muted);
  -webkit-text-fill-color: var(--dwi-muted);
  font: 700 12px/1 var(--dwi-sans);
  cursor: help;
  appearance: none;
}
.tn-dwi-page .tn-dwi-tool .tn-dwi-help-trigger::before { content: ""; position: absolute; inset: 3px; border: 1px solid var(--dwi-line); border-radius: 50%; background: var(--dwi-wash); pointer-events: none; z-index: -1; }
.tn-dwi-page .tn-dwi-tool .tn-dwi-help-trigger:focus-visible { outline: 2px solid var(--dwi-accent); outline-offset: 2px; }
.tn-dwi-page .tn-dwi-tip {
  position: fixed;
  z-index: 10000;
  display: block;
  width: min(320px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--dwi-line);
  background: var(--dwi-surface);
  color: var(--dwi-ink);
  -webkit-text-fill-color: var(--dwi-ink);
  font: 400 12px/1.6 var(--dwi-sans);
  text-align: left;
  white-space: normal;
  word-break: keep-all;
}

/* 02 results */
.tn-dwi-page .tn-dwi-results { display: grid; align-content: start; gap: 14px; min-width: 0; padding: 26px 28px; border-left: 1px solid var(--dwi-line); background: var(--dwi-wash); }
.tn-dwi-page .tn-dwi-results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tn-dwi-page .tn-dwi-view { display: inline-flex; border: 1px solid var(--dwi-line); background: var(--dwi-surface); }
.tn-dwi-page .tn-dwi-view button {
  min-height: 32px;
  margin: 0;
  padding: 4px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--dwi-muted);
  -webkit-text-fill-color: var(--dwi-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}
.tn-dwi-page .tn-dwi-view button + button { border-left: 1px solid var(--dwi-line); }
.tn-dwi-page .tn-dwi-view button[aria-pressed="true"] { background: var(--dwi-active); color: var(--dwi-active-text); -webkit-text-fill-color: var(--dwi-active-text); }
.tn-dwi-page .tn-dwi-hero-result { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--dwi-line); border-block: 3px double var(--dwi-line); background: var(--dwi-surface); }
.tn-dwi-page .tn-dwi-hero-result > span { color: var(--dwi-muted); -webkit-text-fill-color: var(--dwi-muted); font-size: 13px; font-weight: 700; }
.tn-dwi-page .tn-dwi-hero-result output { color: var(--dwi-ink); -webkit-text-fill-color: var(--dwi-ink); font: 800 clamp(30px, 3.3vw, 40px)/1.2 var(--dwi-sans); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.tn-dwi-page .tn-dwi-hero-result p { color: var(--dwi-muted); -webkit-text-fill-color: var(--dwi-muted); font-size: 13px; line-height: 1.6; }
.tn-dwi-page .tn-dwi-hero-result b { color: var(--dwi-ink); -webkit-text-fill-color: var(--dwi-ink); font-weight: 700; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.tn-dwi-page .tn-dwi-hero-result em { font-style: normal; white-space: nowrap; }
.tn-dwi-page .tn-dwi-badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--dwi-line); background: var(--dwi-surface); }
.tn-dwi-page .tn-dwi-badges li { display: grid; gap: 2px; min-width: 0; padding: 9px 10px; }
.tn-dwi-page .tn-dwi-badges li + li { border-left: 1px solid var(--dwi-soft); }
.tn-dwi-page .tn-dwi-badges span { color: var(--dwi-muted); -webkit-text-fill-color: var(--dwi-muted); font-size: 11px; font-weight: 700; line-height: 1.4; }
.tn-dwi-page .tn-dwi-badges b { display: flex; align-items: center; gap: 6px; color: var(--dwi-ink); -webkit-text-fill-color: var(--dwi-ink); font-size: 13px; font-weight: 800; line-height: 1.35; word-break: keep-all; }
.tn-dwi-page .tn-dwi-badges b::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; border: 1.5px solid var(--dwi-line); }
.tn-dwi-page .tn-dwi-badges [data-state="on"] b::before { border-color: var(--dwi-accent); background: var(--dwi-accent); }
.tn-dwi-page .tn-dwi-badges [data-state="part"] b::before { border-color: var(--dwi-accent); background: linear-gradient(90deg, var(--dwi-accent) 50%, transparent 50%); }
.tn-dwi-page .tn-dwi-badges [data-state="off"] b { color: var(--dwi-muted); -webkit-text-fill-color: var(--dwi-muted); }
.tn-dwi-page .tn-dwi-badges [data-state="employer"] b::before { border-radius: 50%; }
.tn-dwi-page .tn-dwi-badges [data-state="idle"] b { color: var(--dwi-muted); -webkit-text-fill-color: var(--dwi-muted); font-weight: 600; }
.tn-dwi-page .tn-dwi-bar { display: flex; height: 10px; overflow: hidden; border: 1px solid var(--dwi-line); background: var(--dwi-surface); }
.tn-dwi-page .tn-dwi-bar span { display: block; height: 100%; min-width: 2px; transition: width .2s ease; }
.tn-dwi-page [data-part="pension"] { --dwi-sw: var(--dwi-seg-pension); }
.tn-dwi-page [data-part="health"] { --dwi-sw: var(--dwi-seg-health); }
.tn-dwi-page [data-part="employment"] { --dwi-sw: var(--dwi-seg-employment); }
.tn-dwi-page [data-part="tax"] { --dwi-sw: var(--dwi-seg-tax); }
.tn-dwi-page :is([data-part="net"], [data-part="wage"]) { --dwi-sw: var(--dwi-seg-net); }
.tn-dwi-page .tn-dwi-bar span { background: var(--dwi-sw); }
.tn-dwi-page .tn-dwi-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: -6px; color: var(--dwi-muted); -webkit-text-fill-color: var(--dwi-muted); font-size: 11px; line-height: 1.5; }
.tn-dwi-page .tn-dwi-legend span { display: inline-flex; align-items: center; gap: 5px; }
.tn-dwi-page .tn-dwi-legend span::before,
.tn-dwi-page .tn-dwi-breakdown dt i { content: ""; display: inline-block; flex: 0 0 9px; width: 9px; height: 9px; border: 1px solid var(--dwi-line); background: var(--dwi-sw); }
.tn-dwi-page .tn-dwi-breakdown { display: grid; border: 1px solid var(--dwi-line); background: var(--dwi-surface); }
.tn-dwi-page .tn-dwi-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 9px 12px; }
.tn-dwi-page .tn-dwi-row + .tn-dwi-row { border-top: 1px solid var(--dwi-soft); }
.tn-dwi-page .tn-dwi-row dt { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 7px; min-width: 0; color: var(--dwi-ink); -webkit-text-fill-color: var(--dwi-ink); font-size: 13px; font-weight: 600; line-height: 1.45; }
.tn-dwi-page .tn-dwi-row dt small { color: var(--dwi-muted); -webkit-text-fill-color: var(--dwi-muted); font-size: 11px; font-weight: 400; }
.tn-dwi-page .tn-dwi-row dd output { color: var(--dwi-ink); -webkit-text-fill-color: var(--dwi-ink); font: 800 15px/1.3 var(--dwi-sans); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.tn-dwi-page .tn-dwi-row--total { border-top: 1px solid var(--dwi-line) !important; background: var(--dwi-wash); }
.tn-dwi-page .tn-dwi-row--total dt { font-weight: 800; }
.tn-dwi-page .tn-dwi-row--total dd output { font-size: 17px; }
.tn-dwi-page .tn-dwi-note,
.tn-dwi-page .tn-dwi-status { color: var(--dwi-muted); -webkit-text-fill-color: var(--dwi-muted); font-size: 12px; line-height: 1.6; word-break: keep-all; }
.tn-dwi-page .tn-dwi-note { font-variant-numeric: lining-nums tabular-nums; }
.tn-dwi-page .tn-dwi-result-actions .tn-dwi-status { flex: 1 1 180px; }

/* 03 / 04 full-width panels */
.tn-dwi-page .tn-dwi-panel { grid-column: 1 / -1; display: grid; gap: 14px; min-width: 0; padding: 24px 28px; border-top: 1px solid var(--dwi-line); }
.tn-dwi-page .tn-dwi-panel-head { display: grid; gap: 4px; }
.tn-dwi-page .tn-dwi-panel-head p:not(.tn-dwi-kicker),
.tn-dwi-page .tn-dwi-scroll-hint { color: var(--dwi-muted); -webkit-text-fill-color: var(--dwi-muted); font-size: 13px; line-height: 1.6; word-break: keep-all; }
.tn-dwi-page .tn-dwi-judges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--dwi-line); background: var(--dwi-surface); }
.tn-dwi-page .tn-dwi-judge { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; min-width: 0; padding: 14px 16px; }
.tn-dwi-page .tn-dwi-judge + .tn-dwi-judge { border-left: 1px solid var(--dwi-soft); }
.tn-dwi-page .tn-dwi-judge h3 { color: var(--dwi-ink); -webkit-text-fill-color: var(--dwi-ink); font-size: 14px; font-weight: 800; line-height: 1.4; }
.tn-dwi-page .tn-dwi-judge ul { display: grid; align-content: start; gap: 6px; }
.tn-dwi-page .tn-dwi-judge li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; align-items: baseline; gap: 6px; color: var(--dwi-ink); -webkit-text-fill-color: var(--dwi-ink); font-size: 13px; line-height: 1.5; word-break: keep-all; }
.tn-dwi-page .tn-dwi-judge li[data-met="no"],
.tn-dwi-page .tn-dwi-judge li[data-met="na"] { color: var(--dwi-muted); -webkit-text-fill-color: var(--dwi-muted); }
.tn-dwi-page .tn-dwi-mark { display: inline-grid; place-items: center; width: 16px; height: 16px; border: 1px solid var(--dwi-line); font-size: 10px; font-weight: 800; line-height: 1; }
.tn-dwi-page li[data-met="yes"] .tn-dwi-mark { border-color: var(--dwi-accent); color: var(--dwi-accent); -webkit-text-fill-color: var(--dwi-accent); }
.tn-dwi-page .tn-dwi-judge li em { color: var(--dwi-muted); -webkit-text-fill-color: var(--dwi-muted); font-size: 12px; font-style: normal; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.tn-dwi-page .tn-dwi-judge > p { padding-top: 10px; border-top: 1px solid var(--dwi-soft); color: var(--dwi-ink); -webkit-text-fill-color: var(--dwi-ink); font-size: 13px; font-weight: 700; line-height: 1.5; word-break: keep-all; }
.tn-dwi-page .tn-dwi-next { display: flex; gap: 8px; padding: 11px 14px; border: 1px solid var(--dwi-soft); background: var(--dwi-wash); color: var(--dwi-ink); -webkit-text-fill-color: var(--dwi-ink); font-size: 13px; font-weight: 600; line-height: 1.6; word-break: keep-all; }
.tn-dwi-page .tn-dwi-next::before { content: "→"; flex: 0 0 auto; color: var(--dwi-accent); -webkit-text-fill-color: var(--dwi-accent); font-weight: 800; }
.tn-dwi-page .tn-dwi-scroll-hint { display: none; margin-bottom: -6px; font-size: 12px; }
.tn-dwi-page .tn-dwi-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; border: 1px solid var(--dwi-line); }
.tn-dwi-page .tn-dwi-table-wrap table { width: 100%; min-width: 880px; margin: 0; border-collapse: collapse; background: var(--dwi-surface); font-variant-numeric: lining-nums tabular-nums; }
.tn-dwi-page .tn-dwi-table-wrap :is(th, td) { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--dwi-soft); background: transparent; color: var(--dwi-ink); -webkit-text-fill-color: var(--dwi-ink); font-size: 13px; font-weight: 500; line-height: 1.5; text-align: right; white-space: nowrap; }
.tn-dwi-page .tn-dwi-table-wrap thead th { border-bottom: 2px solid var(--dwi-line); background: var(--dwi-wash); color: var(--dwi-muted); -webkit-text-fill-color: var(--dwi-muted); font-size: 12px; font-weight: 700; }
.tn-dwi-page .tn-dwi-table-wrap :is(th, td):first-child,
.tn-dwi-page .tn-dwi-table-wrap :is(th, td):nth-child(3) { text-align: left; }
.tn-dwi-page .tn-dwi-table-wrap tbody th { font-weight: 700; }
.tn-dwi-page .tn-dwi-table-wrap tbody td:nth-last-child(2) { font-weight: 800; }
.tn-dwi-page .tn-dwi-table-wrap tbody tr:last-child :is(th, td) { border-bottom: 0; }
.tn-dwi-page .tn-dwi-table-wrap tbody tr[data-current="true"] :is(th, td) { background: var(--dwi-wash); }
.tn-dwi-page .tn-dwi-table-wrap tbody tr[data-current="true"] th { text-decoration: underline 2px var(--dwi-accent); text-underline-offset: 4px; color: var(--dwi-accent); -webkit-text-fill-color: var(--dwi-accent); }
.tn-dwi-page .tn-dwi-table-wrap td[colspan] { color: var(--dwi-muted); -webkit-text-fill-color: var(--dwi-muted); text-align: center; }
.tn-dwi-page .tn-dwi-privacy,
.tn-dwi-page .tn-dwi-tool > noscript { grid-column: 1 / -1; padding: 12px 28px; border-top: 1px solid var(--dwi-soft); color: var(--dwi-muted); -webkit-text-fill-color: var(--dwi-muted); font-size: 12px; line-height: 1.6; word-break: keep-all; }

@media (max-width: 900px) {
  .tn-dwi-page .tn-dwi-judges { grid-template-columns: minmax(0, 1fr); }
  .tn-dwi-page .tn-dwi-judge + .tn-dwi-judge { border-left: 0; border-top: 1px solid var(--dwi-soft); }
}
@media (max-width: 760px) {
  .tn-dwi-page .tn-dwi-ad--top { margin-top: 48px; }
  .tn-dwi-page .tn-dwi-tool { grid-template-columns: minmax(0, 1fr); }
  .tn-dwi-page :is(.tn-dwi-form, .tn-dwi-results, .tn-dwi-panel) { padding: 20px 16px; }
  .tn-dwi-page .tn-dwi-results { border-left: 0; border-top: 1px solid var(--dwi-line); }
  .tn-dwi-page .tn-dwi-badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tn-dwi-page .tn-dwi-badges li:nth-child(3) { border-left: 0; }
  .tn-dwi-page .tn-dwi-badges li:nth-child(n+3) { border-top: 1px solid var(--dwi-soft); }
  .tn-dwi-page .tn-dwi-scroll-hint { display: block; }
  .tn-dwi-page .tn-dwi-privacy,
  .tn-dwi-page .tn-dwi-tool > noscript { padding-inline: 16px; }
}
@media (max-width: 480px) {
  .tn-dwi-page .tn-dwi-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 390px) {
  .tn-dwi-page :is(.tn-dwi-form, .tn-dwi-results, .tn-dwi-panel) { padding: 18px 12px; }
  .tn-dwi-page .tn-dwi-grid { gap: 14px 10px; }
  .tn-dwi-page .tn-dwi-control { padding-inline: 10px; }
  .tn-dwi-page .tn-dwi-control--step { padding-inline: 0; }
  .tn-dwi-page .tn-dwi-control--step button { flex-basis: 38px; }
  .tn-dwi-page .tn-dwi-seg-row span { padding-inline: 4px; font-size: 12px; }
  .tn-dwi-page .tn-dwi-hero-result { padding: 14px 12px; }
  .tn-dwi-page .tn-dwi-hero-result output { font-size: 28px; }
  .tn-dwi-page .tn-dwi-row { padding-inline: 10px; }
  .tn-dwi-page .tn-dwi-privacy,
  .tn-dwi-page .tn-dwi-tool > noscript { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .tn-dwi-page .tn-dwi-bar span,
  .tn-dwi-page :is(.tn-dwi-actions, .tn-dwi-result-actions) button { transition: none; }
}
