/* Maternity / spouse / parental leave pay workspace only; the shared fixed partials own the hero and Article. */
.tn-mpl-page {
  --mpl-paper: #faf6ee;
  --mpl-surface: #fffdf7;
  --mpl-wash: #f5efdf;
  --mpl-ink: #1a1208;
  --mpl-muted: #5a4a30;
  --mpl-line: #b8a888;
  --mpl-soft: #ddd4be;
  --mpl-accent: #c44a00;
  --mpl-error: #8a2b15;
  --mpl-quiet: #ede6d4;
  --mpl-quiet-hover: #dfd4bb;
  --mpl-active: #1a1208;
  --mpl-active-text: #faf6ee;
  --mpl-seg-gov: #1a1208;
  --mpl-seg-employer: #c44a00;
  --mpl-seg-gap: #b8a888;
  --mpl-seg-later: #8a7550;
  --mpl-scheme: light;
  --mpl-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-mpl-page,
html:is([data-scheme="dark"], [data-scheme="inverse"]) body:not([data-scheme="light"]) .tn-mpl-page {
  --mpl-paper: #241d12;
  --mpl-surface: #322a1a;
  --mpl-wash: #2c2418;
  --mpl-ink: #efe6d2;
  --mpl-muted: #c3b492;
  --mpl-line: #826744;
  --mpl-soft: #574a37;
  --mpl-accent: #f29a5d;
  --mpl-error: #f1a078;
  --mpl-quiet: #2f2115;
  --mpl-quiet-hover: #3a2a1b;
  --mpl-active: #4a3116;
  --mpl-active-text: #f7ead1;
  --mpl-seg-gov: #efe6d2;
  --mpl-seg-employer: #f29a5d;
  --mpl-seg-gap: #826744;
  --mpl-seg-later: #a89068;
  --mpl-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  body[data-scheme="auto"] .tn-mpl-page,
  html[data-scheme="auto"] body:not([data-scheme="light"]):not([data-scheme="dark"]):not([data-scheme="inverse"]) .tn-mpl-page {
    --mpl-paper: #241d12;
    --mpl-surface: #322a1a;
    --mpl-wash: #2c2418;
    --mpl-ink: #efe6d2;
    --mpl-muted: #c3b492;
    --mpl-line: #826744;
    --mpl-soft: #574a37;
    --mpl-accent: #f29a5d;
    --mpl-error: #f1a078;
    --mpl-quiet: #2f2115;
    --mpl-quiet-hover: #3a2a1b;
    --mpl-active: #4a3116;
    --mpl-active-text: #f7ead1;
    --mpl-seg-gov: #efe6d2;
    --mpl-seg-employer: #f29a5d;
    --mpl-seg-gap: #826744;
    --mpl-seg-later: #a89068;
    --mpl-scheme: dark;
  }
}
.tn-mpl-page [hidden] { display: none !important; }
/* The creative is SDK-sized; these wrappers reserve minimum space, never cap its height. */
.tn-mpl-page .tn-mpl-ad {
  width: 100%;
  max-width: 900px;
  min-height: 90px;
  height: auto;
  max-height: none;
  margin-inline: auto;
  overflow: visible;
  background: transparent;
}
.tn-mpl-page .tn-mpl-ad--top { margin-block: 54px 18px; }
.tn-mpl-page .tn-mpl-ad--bottom { margin-block: 28px 26px; }
.tn-mpl-page .tn-mpl-tool,
.tn-mpl-page .tn-mpl-tool *,
.tn-mpl-page .tn-mpl-tool *::before,
.tn-mpl-page .tn-mpl-tool *::after { box-sizing: border-box; }
.tn-mpl-page .tn-mpl-tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 1180px;
  min-width: 0;
  margin-inline: auto;
  border: 1px solid var(--mpl-line);
  border-block: 3px double var(--mpl-line);
  background: var(--mpl-paper);
  color: var(--mpl-ink);
  -webkit-text-fill-color: currentColor;
  color-scheme: var(--mpl-scheme);
  font: 14px/1.6 var(--mpl-sans);
  overflow-wrap: break-word;
}
.tn-mpl-page .tn-mpl-tool :is(p, dl, dt, dd, fieldset, legend, h3, ul, ol, li, table, caption) { margin: 0; }
.tn-mpl-page .tn-mpl-tool :is(ul, ol, li) { list-style: none; padding: 0; }
.tn-mpl-page .tn-mpl-tool li::before { content: none; }
.tn-mpl-page .tn-mpl-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-mpl-page .tn-mpl-tool button { font-family: var(--mpl-sans); }
.tn-mpl-page .tn-mpl-kicker { color: var(--mpl-muted); -webkit-text-fill-color: var(--mpl-muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; line-height: 1.5; }
.tn-mpl-page .tn-mpl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* mode tabs */
.tn-mpl-page .tn-mpl-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--mpl-line); background: var(--mpl-wash); }
.tn-mpl-page .tn-mpl-tool .tn-mpl-modes button {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 10px;
  min-width: 0;
  min-height: 66px;
  margin: 0;
  padding: 12px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--mpl-ink);
  -webkit-text-fill-color: var(--mpl-ink);
  text-align: left;
  cursor: pointer;
  transition: background-color .16s ease;
}
.tn-mpl-page .tn-mpl-tool .tn-mpl-modes button + button { border-left: 1px solid var(--mpl-line); }
.tn-mpl-page .tn-mpl-tool .tn-mpl-modes button:hover { background: var(--mpl-quiet-hover); }
.tn-mpl-page .tn-mpl-modes i { grid-row: 1 / 3; align-self: center; color: var(--mpl-muted); -webkit-text-fill-color: var(--mpl-muted); font: 800 12px/1 var(--mpl-sans); font-style: normal; font-variant-numeric: lining-nums tabular-nums; letter-spacing: .04em; }
.tn-mpl-page .tn-mpl-modes b { min-width: 0; font-size: 15px; font-weight: 800; line-height: 1.35; word-break: keep-all; }
.tn-mpl-page .tn-mpl-modes span { min-width: 0; color: var(--mpl-muted); -webkit-text-fill-color: var(--mpl-muted); font-size: 12px; line-height: 1.45; word-break: keep-all; }
.tn-mpl-page .tn-mpl-tool .tn-mpl-modes button[aria-selected="true"] { background: var(--mpl-active); color: var(--mpl-active-text); -webkit-text-fill-color: var(--mpl-active-text); cursor: default; }
.tn-mpl-page .tn-mpl-modes button[aria-selected="true"] :is(span, i) { color: var(--mpl-active-text); -webkit-text-fill-color: var(--mpl-active-text); opacity: .78; }
.tn-mpl-page .tn-mpl-modes button[aria-selected="true"] i { color: var(--mpl-accent); -webkit-text-fill-color: var(--mpl-accent); opacity: 1; }
.tn-mpl-page .tn-mpl-modes button[aria-selected="true"]::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; border-right: 1px solid var(--mpl-line); border-bottom: 1px solid var(--mpl-line); background: var(--mpl-active); transform: translateX(-50%) rotate(45deg); }

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

/* keep short fields paired per mode instead of leaving a lone half-width field */
.tn-mpl-page:is([data-mpl-active="spouse"], [data-mpl-active="parental"]) .tn-mpl-field:has(#mpl-start) { grid-column: 1 / -1; }
.tn-mpl-page[data-mpl-active="spouse"] .tn-mpl-segment { order: 1; }
.tn-mpl-page[data-mpl-active="spouse"] .tn-mpl-checks { order: 2; }

/* help circle: 18px visible circle inside a 24px target */
.tn-mpl-page .tn-mpl-help { display: inline-flex; flex: 0 0 24px; }
.tn-mpl-page .tn-mpl-tool .tn-mpl-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(--mpl-muted);
  -webkit-text-fill-color: var(--mpl-muted);
  font: 700 12px/1 var(--mpl-sans);
  cursor: help;
  appearance: none;
}
.tn-mpl-page .tn-mpl-tool .tn-mpl-help-trigger::before { content: ""; position: absolute; inset: 3px; border: 1px solid var(--mpl-line); border-radius: 50%; background: var(--mpl-wash); pointer-events: none; z-index: -1; }
.tn-mpl-page .tn-mpl-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(--mpl-line);
  background: var(--mpl-surface);
  color: var(--mpl-ink);
  -webkit-text-fill-color: var(--mpl-ink);
  font: 400 12px/1.6 var(--mpl-sans);
  text-align: left;
  white-space: normal;
  word-break: keep-all;
}

/* results */
.tn-mpl-page .tn-mpl-results { display: grid; align-content: start; gap: 14px; min-width: 0; padding: 26px 28px; border-left: 1px solid var(--mpl-line); background: var(--mpl-wash); }
.tn-mpl-page .tn-mpl-std { display: grid; gap: 6px; padding-bottom: 12px; border-bottom: 1px dashed var(--mpl-line); }
.tn-mpl-page .tn-mpl-std-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.tn-mpl-page .tn-mpl-years { display: flex; }
.tn-mpl-page .tn-mpl-years li {
  position: relative;
  padding: 2px 9px;
  border: 1px solid var(--mpl-soft);
  color: var(--mpl-muted);
  -webkit-text-fill-color: var(--mpl-muted);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1.5;
  white-space: nowrap;
}
.tn-mpl-page .tn-mpl-years li + li { margin-left: -1px; }
.tn-mpl-page .tn-mpl-years li[data-active="true"] { z-index: 1; border-color: var(--mpl-accent); background: var(--mpl-surface); color: var(--mpl-accent); -webkit-text-fill-color: var(--mpl-accent); }
.tn-mpl-page #mpl-std-text { color: var(--mpl-ink); -webkit-text-fill-color: var(--mpl-ink); font-size: 12px; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; line-height: 1.6; word-break: keep-all; }
.tn-mpl-page .tn-mpl-hero-result { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid var(--mpl-line); border-block: 3px double var(--mpl-line); background: var(--mpl-surface); }
.tn-mpl-page .tn-mpl-hero-result > span { color: var(--mpl-muted); -webkit-text-fill-color: var(--mpl-muted); font-size: 13px; font-weight: 700; word-break: keep-all; }
.tn-mpl-page .tn-mpl-hero-result output { color: var(--mpl-ink); -webkit-text-fill-color: var(--mpl-ink); font: 800 clamp(30px, 3.3vw, 40px)/1.2 var(--mpl-sans); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.tn-mpl-page .tn-mpl-hero-result p { color: var(--mpl-muted); -webkit-text-fill-color: var(--mpl-muted); font-size: 13px; font-variant-numeric: lining-nums tabular-nums; line-height: 1.6; word-break: keep-all; }
.tn-mpl-page .tn-mpl-bar { display: flex; height: 12px; overflow: hidden; border: 1px solid var(--mpl-line); background: var(--mpl-surface); }
.tn-mpl-page .tn-mpl-bar span { display: block; height: 100%; min-width: 2px; transition: width .2s ease; }
.tn-mpl-page [data-part="gov"], .tn-mpl-page [data-part="first"] { --mpl-sw: var(--mpl-seg-gov); }
.tn-mpl-page [data-part="employer"] { --mpl-sw: var(--mpl-seg-employer); }
.tn-mpl-page [data-part="later"] { --mpl-sw: var(--mpl-seg-later); }
.tn-mpl-page [data-part="gap"] { --mpl-sw: repeating-linear-gradient(135deg, var(--mpl-seg-gap) 0 2px, transparent 2px 5px); }
.tn-mpl-page .tn-mpl-bar span { background: var(--mpl-sw); }
.tn-mpl-page .tn-mpl-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: -6px; color: var(--mpl-muted); -webkit-text-fill-color: var(--mpl-muted); font-size: 11px; line-height: 1.5; }
.tn-mpl-page .tn-mpl-legend span { display: inline-flex; align-items: center; gap: 5px; }
.tn-mpl-page .tn-mpl-legend span::before,
.tn-mpl-page .tn-mpl-breakdown dt i { content: ""; display: inline-block; flex: 0 0 9px; width: 9px; height: 9px; border: 1px solid var(--mpl-line); background: var(--mpl-sw); }
.tn-mpl-page .tn-mpl-breakdown { display: grid; border: 1px solid var(--mpl-line); background: var(--mpl-surface); }
.tn-mpl-page .tn-mpl-breakdown:empty { display: none; }
.tn-mpl-page .tn-mpl-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; padding: 9px 12px; }
.tn-mpl-page .tn-mpl-row + .tn-mpl-row { border-top: 1px solid var(--mpl-soft); }
.tn-mpl-page .tn-mpl-row dt { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 7px; min-width: 0; color: var(--mpl-ink); -webkit-text-fill-color: var(--mpl-ink); font-size: 13px; font-weight: 600; line-height: 1.45; word-break: keep-all; }
.tn-mpl-page .tn-mpl-row dt small { flex-basis: 100%; padding-left: 16px; color: var(--mpl-muted); -webkit-text-fill-color: var(--mpl-muted); font-size: 11px; font-weight: 400; font-variant-numeric: lining-nums tabular-nums; }
.tn-mpl-page .tn-mpl-row dd output { color: var(--mpl-ink); -webkit-text-fill-color: var(--mpl-ink); font: 800 15px/1.3 var(--mpl-sans); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.tn-mpl-page .tn-mpl-row--total { border-top: 1px solid var(--mpl-line) !important; background: var(--mpl-wash); }
.tn-mpl-page .tn-mpl-row--total dt { font-weight: 800; }
.tn-mpl-page .tn-mpl-row--total dd output { font-size: 17px; }
.tn-mpl-page .tn-mpl-notes { display: grid; gap: 6px; }
.tn-mpl-page .tn-mpl-notes li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 6px; color: var(--mpl-ink); -webkit-text-fill-color: var(--mpl-ink); font-size: 12px; font-variant-numeric: lining-nums tabular-nums; line-height: 1.6; word-break: keep-all; }
.tn-mpl-page .tn-mpl-tool .tn-mpl-notes li::before { content: "※"; color: var(--mpl-accent); -webkit-text-fill-color: var(--mpl-accent); font-weight: 700; }
.tn-mpl-page .tn-mpl-status { flex: 1 1 180px; color: var(--mpl-muted); -webkit-text-fill-color: var(--mpl-muted); font-size: 12px; line-height: 1.6; word-break: keep-all; }

/* full-width panels */
.tn-mpl-page .tn-mpl-panel { display: grid; gap: 14px; min-width: 0; padding: 24px 28px; border-top: 1px solid var(--mpl-line); }
.tn-mpl-page .tn-mpl-panel--split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 0; padding: 0; }
.tn-mpl-page .tn-mpl-panel--split > div { display: grid; align-content: start; gap: 14px; min-width: 0; padding: 24px 28px; }
.tn-mpl-page .tn-mpl-panel--split > div + div { border-left: 1px solid var(--mpl-line); background: var(--mpl-wash); }
.tn-mpl-page .tn-mpl-panel-head { display: grid; gap: 3px; }
.tn-mpl-page .tn-mpl-panel-head h3 { color: var(--mpl-ink); -webkit-text-fill-color: var(--mpl-ink); font-size: 16px; font-weight: 800; line-height: 1.45; word-break: keep-all; }
.tn-mpl-page .tn-mpl-panel-head p:not(.tn-mpl-kicker),
.tn-mpl-page .tn-mpl-scroll-hint { color: var(--mpl-muted); -webkit-text-fill-color: var(--mpl-muted); font-size: 13px; line-height: 1.6; word-break: keep-all; }
.tn-mpl-page .tn-mpl-dates { display: grid; border: 1px solid var(--mpl-line); background: var(--mpl-surface); }
.tn-mpl-page .tn-mpl-dates:empty { min-height: 88px; border-style: dashed; background: transparent; }
.tn-mpl-page .tn-mpl-dates > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 10px 12px; }
.tn-mpl-page .tn-mpl-dates > div + div { border-top: 1px solid var(--mpl-soft); }
.tn-mpl-page .tn-mpl-dates dt { color: var(--mpl-muted); -webkit-text-fill-color: var(--mpl-muted); font-size: 12px; font-weight: 700; line-height: 1.55; word-break: keep-all; }
.tn-mpl-page .tn-mpl-dates dd { color: var(--mpl-ink); -webkit-text-fill-color: var(--mpl-ink); font-size: 13px; font-weight: 700; font-variant-numeric: lining-nums tabular-nums; line-height: 1.55; word-break: keep-all; }
.tn-mpl-page .tn-mpl-scroll-hint { display: none; margin-bottom: -6px; font-size: 12px; }
.tn-mpl-page .tn-mpl-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; border: 1px solid var(--mpl-line); }
.tn-mpl-page .tn-mpl-table-wrap table { width: 100%; min-width: 720px; margin: 0; border-collapse: collapse; background: var(--mpl-surface); font-variant-numeric: lining-nums tabular-nums; }
.tn-mpl-page .tn-mpl-table-wrap--std table { min-width: 520px; }
.tn-mpl-page .tn-mpl-table-wrap--compare table { min-width: 560px; }
.tn-mpl-page .tn-mpl-table-wrap :is(th, td) { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--mpl-soft); background: transparent; color: var(--mpl-ink); -webkit-text-fill-color: var(--mpl-ink); font-size: 13px; font-weight: 500; line-height: 1.5; text-align: right; white-space: nowrap; }
.tn-mpl-page .tn-mpl-table-wrap thead th { border-bottom: 2px solid var(--mpl-line); background: var(--mpl-wash); color: var(--mpl-muted); -webkit-text-fill-color: var(--mpl-muted); font-size: 12px; font-weight: 700; }
.tn-mpl-page .tn-mpl-table-wrap :is(th, td):first-child { text-align: left; }
.tn-mpl-page .tn-mpl-table-wrap tbody th { font-weight: 700; }
.tn-mpl-page .tn-mpl-table-wrap tbody tr:last-child :is(th, td) { border-bottom: 0; }
.tn-mpl-page .tn-mpl-table-wrap td[colspan] { color: var(--mpl-muted); -webkit-text-fill-color: var(--mpl-muted); text-align: center; }
.tn-mpl-page .tn-mpl-table-wrap tbody tr:is([data-current="true"], [data-flag="current"]) :is(th, td) { background: var(--mpl-wash); }
.tn-mpl-page .tn-mpl-table-wrap tbody tr:is([data-current="true"], [data-flag="current"]) th { color: var(--mpl-accent); -webkit-text-fill-color: var(--mpl-accent); text-decoration: underline 2px var(--mpl-accent); text-underline-offset: 4px; }
.tn-mpl-page .tn-mpl-table-wrap tbody tr[data-flag="special"] td:nth-child(3) { color: var(--mpl-accent); -webkit-text-fill-color: var(--mpl-accent); font-weight: 700; }
.tn-mpl-page:is([data-mpl-active="maternity"], [data-mpl-active="parental"]) #mpl-schedule-head th:nth-child(2),
.tn-mpl-page:is([data-mpl-active="maternity"], [data-mpl-active="parental"]) #mpl-schedule td:nth-child(2),
.tn-mpl-page[data-mpl-active="parental"] #mpl-schedule-head th:nth-child(3),
.tn-mpl-page[data-mpl-active="parental"] #mpl-schedule td:nth-child(3) { text-align: left; }
.tn-mpl-page .tn-mpl-amount { display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; }
.tn-mpl-page .tn-mpl-amount b { min-width: 96px; font-weight: 800; text-align: right; }
.tn-mpl-page .tn-mpl-meter { display: block; width: 90px; height: 6px; border: 1px solid var(--mpl-soft); background: var(--mpl-paper); }
.tn-mpl-page .tn-mpl-meter span { display: block; height: 100%; background: var(--mpl-seg-gov); }
.tn-mpl-page tr[data-flag="special"] .tn-mpl-meter span { background: var(--mpl-seg-employer); }
.tn-mpl-page .tn-mpl-table-wrap--std :is(th, td) { font-size: 12px; }
.tn-mpl-page .tn-mpl-table-wrap--std tbody tr[data-current="true"] :is(th, td) { font-weight: 700; }
.tn-mpl-page .tn-mpl-privacy,
.tn-mpl-page .tn-mpl-tool > noscript { padding: 12px 28px; border-top: 1px solid var(--mpl-soft); color: var(--mpl-muted); -webkit-text-fill-color: var(--mpl-muted); font-size: 12px; line-height: 1.6; word-break: keep-all; }

/* Article: auxiliary comparison list (design system 2026-09-14) */
.tn-mpl-page .tn-article-panel .tn-mpl-compare-list { margin: 12px 0 0; padding: 0; list-style: none; }
.tn-mpl-page .tn-article-panel .tn-mpl-compare-list li { display: grid; gap: 3px; margin: 0; padding: 10px 0; border: 0; background: transparent; line-height: 1.6; }
.tn-mpl-page .tn-article-panel .tn-mpl-compare-list li::before,
.tn-mpl-page .tn-article-panel .tn-mpl-compare-list li::marker { content: none; }
.tn-mpl-page .tn-article-panel .tn-mpl-compare-list li + li { border-top: 1px solid var(--mpl-soft); }
.tn-mpl-page .tn-article-panel .tn-mpl-compare-list span:first-child { color: var(--mpl-ink); -webkit-text-fill-color: var(--mpl-ink); font-size: 14px; font-weight: 500; }
.tn-mpl-page .tn-article-panel .tn-mpl-compare-list span:last-child { color: var(--mpl-muted); -webkit-text-fill-color: var(--mpl-muted); font-size: 13px; font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }

@media (max-width: 900px) {
  .tn-mpl-page .tn-mpl-panel--split { grid-template-columns: minmax(0, 1fr); }
  .tn-mpl-page .tn-mpl-panel--split > div + div { border-left: 0; border-top: 1px solid var(--mpl-line); }
}
@media (max-width: 760px) {
  .tn-mpl-page .tn-mpl-ad--top { margin-top: 48px; }
  .tn-mpl-page .tn-mpl-work { grid-template-columns: minmax(0, 1fr); }
  .tn-mpl-page :is(.tn-mpl-form, .tn-mpl-results, .tn-mpl-panel, .tn-mpl-panel--split > div) { padding: 20px 16px; }
  .tn-mpl-page .tn-mpl-panel--split { padding: 0; }
  .tn-mpl-page .tn-mpl-results { border-left: 0; border-top: 1px solid var(--mpl-line); }
  .tn-mpl-page .tn-mpl-tool .tn-mpl-modes button { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; row-gap: 2px; min-height: 60px; padding: 10px 10px 12px; }
  .tn-mpl-page .tn-mpl-modes i { grid-row: auto; }
  .tn-mpl-page .tn-mpl-modes b { font-size: 13px; }
  .tn-mpl-page .tn-mpl-modes span { display: none; }
  .tn-mpl-page .tn-mpl-scroll-hint { display: block; }
  .tn-mpl-page .tn-mpl-privacy,
  .tn-mpl-page .tn-mpl-tool > noscript { padding-inline: 16px; }
}
@media (max-width: 480px) {
  .tn-mpl-page .tn-mpl-grid { grid-template-columns: minmax(0, 1fr); }
  .tn-mpl-page .tn-mpl-dates > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (max-width: 390px) {
  .tn-mpl-page :is(.tn-mpl-form, .tn-mpl-results, .tn-mpl-panel, .tn-mpl-panel--split > div) { padding: 18px 12px; }
  .tn-mpl-page .tn-mpl-panel--split { padding: 0; }
  .tn-mpl-page .tn-mpl-control { padding-inline: 10px; }
  .tn-mpl-page .tn-mpl-control--step { padding-inline: 0; }
  .tn-mpl-page .tn-mpl-tool .tn-mpl-control--step button { flex-basis: 38px; }
  .tn-mpl-page .tn-mpl-seg-row label > span { padding-inline: 3px; font-size: 12px; }
  .tn-mpl-page .tn-mpl-tool .tn-mpl-modes button { padding-inline: 8px; }
  .tn-mpl-page .tn-mpl-modes b { font-size: 12px; }
  .tn-mpl-page .tn-mpl-hero-result { padding: 14px 12px; }
  .tn-mpl-page .tn-mpl-hero-result output { font-size: 28px; }
  .tn-mpl-page .tn-mpl-row { padding-inline: 10px; }
  .tn-mpl-page .tn-mpl-privacy,
  .tn-mpl-page .tn-mpl-tool > noscript { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .tn-mpl-page .tn-mpl-bar span,
  .tn-mpl-page .tn-mpl-tool .tn-mpl-modes button,
  .tn-mpl-page :is(.tn-mpl-actions, .tn-mpl-result-actions) button { transition: none; }
}
