/* Maaşlar yattı mı? — tek dosya, bağımlılık yok. Mobil öncelikli. */
:root {
  color-scheme: light dark;
  --bg: #f4f8f7; --surface: #fff; --tint: #eaf3f1; --text: #14201f; --muted: #4b5d5b;
  --line: #d3e0dd; --line-strong: #7a918d;
  --brand: #0f5f58; --brand-hover: #0a443f; --on-brand: #fff; --link: #0f5f58; --head: #0f5f58;
  --header-bg: #0f5f58; --header-ink: #e6f4f1;
  --accent: #f5b335; --hl: #f5b335; --on-accent: #251600; --accent-text: #b23a0a; --accent-tint: #fff1cf; --accent-ink: #6b3a00;
  --error: #b3001b; --error-tint: #fdecee; --info-tint: #e3f1ee;
  --bar: #3f8f86; --bar-change: #8f3d0a; --focus: #1a4fd6;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1514; --surface: #131f1e; --tint: #1a2a28; --text: #e8f1ef; --muted: #a6bbb8;
    --line: #274240; --line-strong: #6f8c88;
    --brand: #3fb5a8; --brand-hover: #5cc8bb; --on-brand: #04201d; --link: #6fd3c7; --head: #7fdccf;
    --header-bg: #0a3b37; --header-ink: #d6ece8;
    --hl: rgba(245, 179, 53, 0.4); --accent-text: #ff9d73; --accent-tint: #3a2a0a; --accent-ink: #ffd58a;
    --error: #ff8f9d; --error-tint: #3a1519; --info-tint: #12302d;
    --bar: #4aa79d; --bar-change: #ffb454; --focus: #8ab4ff;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.6 var(--font); }
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6rem; }
h2 { font-size: 1.5rem; margin-top: 2.5rem; }
h3 { font-size: 1.15rem; margin-top: 1.5rem; }
p { margin: 0 0 1rem; }
strong { font-weight: 700; }
table { border-collapse: collapse; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }

.wrap { width: 100%; max-width: 60rem; margin-inline: auto; padding-inline: 1rem; }
main.wrap { padding-block: 1rem 2rem; }

.skip { position: absolute; left: 0.5rem; top: 0.5rem; z-index: 100; padding: 0.6rem 1rem; background: var(--surface);
  color: var(--head); font-weight: 700; border-radius: 8px; transform: translateY(-300%); }
.skip:focus { transform: none; }

/* Header */
.site-header { background: var(--header-bg); color: #fff; }
.header-inner { display: flex; flex-direction: column; gap: 0.25rem; padding-block: 0.75rem 0.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; align-self: flex-start; flex: none; white-space: nowrap; color: #fff; font-size: 1.25rem;
  font-weight: 800; text-decoration: none; letter-spacing: -0.01em; padding: 0.25rem 0.25rem 0.25rem 0; }
.brand em { font-style: normal; color: #ffc857; }
.brand-mark { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-size: 1.1rem; line-height: 1; }
.brand[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.tool-nav ul { display: flex; gap: 0.35rem; margin: 0; padding: 0.25rem 0.25rem 0.5rem; list-style: none; overflow-x: auto;
  white-space: nowrap; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.tool-nav li { flex: none; }
.tool-nav a { display: block; padding: 0.55rem 0.85rem; border-radius: 999px; color: var(--header-ink); font-size: 0.95rem;
  text-decoration: none; }
.tool-nav a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.tool-nav a[aria-current="page"] { background: #fff; color: #0a443f; font-weight: 700; }
.site-header :focus-visible { outline-color: #fff; }
@media (min-width: 62em) {
  .header-inner { padding-block: 0.75rem 0.6rem; }
  .tool-nav ul { flex-wrap: wrap; overflow: visible; padding: 0 0 0.25rem; white-space: normal; }
  .tool-nav a { padding-inline: 0.7rem; }
}

.crumbs { padding-top: 1rem; font-size: 0.875rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin: 0 0.5rem; color: var(--muted); }
.crumbs [aria-current] { color: var(--text); font-weight: 600; }

/* Controls */
button, input, select { font: inherit; color: inherit; }
button[type="submit"], a.cta { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px;
  padding: 0.6rem 1.5rem; border: 0; border-radius: 12px; background: var(--brand); color: var(--on-brand); font-weight: 700;
  font-size: 1.05rem; text-decoration: none; cursor: pointer; }
button[type="submit"]:hover { background: var(--brand-hover); }
a.cta { background: var(--accent); color: var(--on-accent); box-shadow: 0 2px 0 rgba(0, 0, 0, 0.18); }
a.cta:hover { filter: brightness(1.06); }
input[type="text"], select { width: 100%; min-height: 48px; padding: 0.6rem 0.8rem; border: 2px solid var(--line-strong);
  border-radius: 10px; background: var(--surface); }
input[type="text"]:focus-visible, select:focus-visible { border-color: var(--focus); outline-offset: 1px; }
input[type="checkbox"], input[type="radio"] { width: 1.3rem; height: 1.3rem; margin: 0; flex: none; accent-color: var(--brand); }

/* Hero */
.hero { padding-block: 1.5rem 1rem; }
.hero-title { display: inline; margin: 0; font-size: clamp(2.25rem, 9vw, 4rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.3;
  background: linear-gradient(transparent 62%, var(--hl) 62%); color: var(--text); padding-inline: 0.15em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-card { margin: 1.25rem 0; padding: 1.25rem; background: var(--surface); border: 2px solid var(--line); border-radius: 20px; }
.countdown { display: flex; flex-direction: column; justify-content: center; gap: 0.35rem; min-height: 9.5rem; }
.countdown p { margin: 0; }
.countdown .answer { color: var(--accent-text); font-size: clamp(1.75rem, 7vw, 2.75rem); font-weight: 800; line-height: 1.15; }
.countdown .answer span { display: inline-block; margin-right: 0.2em; }
.countdown .sub { font-size: 1.2rem; }
.countdown .sub strong { color: var(--head); font-variant-numeric: tabular-nums; }
.countdown .meta { margin-top: 0.4rem; color: var(--muted); font-size: 0.875rem; }
@media (min-width: 40em) { .hero-card { padding: 1.75rem 2rem; } .countdown { min-height: 7.5rem; } }

.payday { margin: 1.25rem 0 0; padding-top: 1.25rem; border-top: 2px solid var(--line); }
.payday-row { display: grid; gap: 0.5rem; }
.payday-row label { font-weight: 600; }
@media (min-width: 40em) {
  .payday-row { display: flex; align-items: center; gap: 0.75rem; }
  .payday-row select { width: auto; min-width: 12rem; }
}
label.check { display: flex; align-items: center; gap: 0.6rem; min-height: 44px; margin-top: 0.5rem; }
.hint { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.875rem; }

/* Tool cards */
.tool-grid { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 40em) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 60em) { .tool-grid { grid-template-columns: repeat(3, 1fr); } }
a.tool { display: block; height: 100%; padding: 1rem 1.1rem; background: var(--surface); border: 2px solid var(--line);
  border-radius: 14px; color: var(--text); text-decoration: none; }
a.tool:hover { border-color: var(--brand); }
a.tool strong { display: block; margin-bottom: 0.2rem; color: var(--head); font-size: 1.1rem; }
a.tool span { color: var(--muted); font-size: 0.925rem; }
@media (prefers-reduced-motion: no-preference) {
  a.tool { transition: transform 0.12s ease, border-color 0.12s ease; }
  a.tool:hover { transform: translateY(-2px); }
}
.facts { display: grid; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.facts li { padding: 0.75rem 1rem; background: var(--surface); border-left: 5px solid var(--accent); border-radius: 0 12px 12px 0; }
@media (min-width: 52em) { .facts { grid-template-columns: repeat(3, 1fr); } }

/* Page head, forms */
.page-head { padding-block: 1rem 0.5rem; }
.page-head h1 { font-size: clamp(1.75rem, 5.5vw, 2.5rem); font-weight: 800; letter-spacing: -0.015em; }
.lead { max-width: 60ch; color: var(--muted); font-size: 1.1rem; }
.notice { max-width: 70ch; padding: 0.8rem 1rem; background: var(--info-tint); border-left: 5px solid var(--brand); border-radius: 0 10px 10px 0; }

form.calc { margin-block: 1rem 1.5rem; padding: 1.25rem; background: var(--surface); border: 2px solid var(--line); border-radius: 18px; }
.field { margin-bottom: 1.1rem; border: 0; }
.field > label, fieldset.field legend { display: block; margin-bottom: 0.35rem; padding: 0; font-weight: 600; }
.input-wrap { position: relative; }
.input-wrap input { padding-right: 3.4rem; font-variant-numeric: tabular-nums; }
.suffix { position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; pointer-events: none; }
.row { display: grid; gap: 0 1rem; }
.monthly-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; margin-top: 1rem; }
.monthly-fields .field { margin-bottom: 0; min-width: 0; }
@media (min-width: 48em) { .monthly-fields { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 36em) { .row { grid-template-columns: 1fr 1fr; } }
details.more { margin-bottom: 1.1rem; }
details.more summary { cursor: pointer; padding: 0.6rem 0; color: var(--link); font-weight: 600; }
details.more[open] summary { margin-bottom: 0.5rem; }
fieldset.choices { margin-inline: 0; padding: 0.75rem; border: 2px solid var(--line-strong); border-radius: 12px; }
fieldset.choices legend { padding-inline: 0.4rem; }
label.choice { display: flex; align-items: center; gap: 0.7rem; min-height: 44px; padding: 0.35rem 0.5rem; border-radius: 8px; cursor: pointer; }
label.choice:hover { background: var(--tint); }
.hint-inline { color: var(--muted); font-size: 0.9rem; }
form.calc button[type="submit"] { width: 100%; margin-top: 0.4rem; }
@media (min-width: 36em) { form.calc button[type="submit"] { width: auto; min-width: 14rem; } }

.has-error input, .has-error select, input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--error); background: var(--error-tint); }
.has-error > label, .has-error legend { color: var(--error); }
.has-error fieldset.choices, fieldset.choices.has-error { border-color: var(--error); }
.error { margin: 0.35rem 0 0; color: var(--error); font-size: 0.925rem; font-weight: 600; }
.form-errors { margin-bottom: 1.5rem; padding: 1rem 1.25rem; background: var(--error-tint); border: 2px solid var(--error); border-radius: 14px; }
.form-errors p { margin-bottom: 0.4rem; color: var(--error); }
.form-errors ul { margin: 0; padding-left: 1.25rem; }
.form-errors a { color: var(--error); font-weight: 600; }

/* Result card */
.result { margin-block: 1.5rem; padding: 1.25rem; background: var(--surface); border: 3px solid var(--brand); border-radius: 20px; scroll-margin-top: 1rem; }
.result:focus { outline: none; }
.result:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.headline { margin: 0 0 0.5rem; color: var(--head); font-size: clamp(2rem, 8.5vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.1; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.compare { font-size: 1.1rem; }
.joke { margin: 0 0 1rem; padding: 0.8rem 1rem; background: var(--accent-tint); color: var(--accent-ink); border-left: 5px solid var(--accent);
  border-radius: 0 12px 12px 0; font-weight: 600; }
.reason { padding: 0.7rem 1rem; background: var(--tint); border-radius: 10px; }
.note { color: var(--muted); font-size: 0.875rem; }
.aside-box { margin-block: 1.25rem; padding: 0.9rem 1.1rem; background: var(--tint); border: 1px solid var(--line); border-radius: 14px; }
.aside-box h3 { margin-top: 0; }
.aside-box p:last-child { margin-bottom: 0; }
@media (min-width: 40em) { .result { padding: 2rem; } }

/* Tables */
.breakdown, .months, .compare-table, .brackets, .params { width: 100%; font-variant-numeric: tabular-nums; }
caption { padding-bottom: 0.5rem; text-align: left; font-weight: 700; }
.breakdown { margin-block: 1rem; }
.breakdown th, .breakdown td { padding: 0.5rem 0.4rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.breakdown th { text-align: left; font-weight: 400; }
.breakdown td { text-align: right; white-space: nowrap; }
.breakdown tr.sub th, .breakdown tr.sub td { padding-block: 0.3rem; color: var(--muted); font-size: 0.9rem; }
.breakdown tr.sub th { padding-left: 1.25rem; }
.breakdown tr.total th, .breakdown tr.total td { font-weight: 700; border-bottom: 0; padding-top: 0.8rem; }
.breakdown tr.grand th, .breakdown tr.grand td { padding-block: 0.8rem; background: var(--info-tint); border-top: 3px solid var(--brand);
  font-size: 1.2rem; font-weight: 800; color: var(--head); }
.only-narrow { display: none; }
@media (max-width: 39.99em) { .only-narrow { display: revert; } }
.table-scroll { margin-block: 1rem; overflow-x: auto; }
.table-scroll:focus-visible { outline-offset: 0; }
.months, .compare-table, .brackets, .params { font-size: 0.9rem; }
.months th, .months td, .compare-table th, .compare-table td, .brackets th, .brackets td, .params th, .params td {
  padding: 0.5rem 0.65rem; border-bottom: 1px solid var(--line); text-align: right; }
.months th:first-child, .compare-table th:first-child, .params th:first-child, .params td:first-child, .brackets td:first-child { text-align: left; }
.months thead th, .compare-table thead th, .brackets thead th, .params thead th { background: var(--tint); font-weight: 700; white-space: nowrap; }
.months { min-width: 46rem; margin: 0; }
.months th, .months td { white-space: nowrap; }
.months tbody tr, .months tfoot tr { background: var(--surface); }
.months tbody tr:nth-child(even), .compare-table tbody tr:nth-child(even), .brackets tbody tr:nth-child(even), .params tbody tr:nth-child(even) { background: var(--tint); }
.months tbody th, .months tfoot th { position: sticky; left: 0; background: inherit; text-align: left; }
.months tbody tr.change, .compare-table tbody tr.change { background: var(--accent-tint); color: var(--accent-ink); }
.months tbody tr.current, .brackets tbody tr.current { background: var(--info-tint); box-shadow: inset 4px 0 0 var(--brand); }
.months tfoot tr { background: var(--tint); }
.months tfoot th, .months tfoot td { border-top: 2px solid var(--line-strong); font-weight: 800; }
.compare-table, .brackets, .params { margin-block: 1rem; }
.compare-table td:not(:first-child) { font-weight: 600; }
.params td a, .params th a { overflow-wrap: anywhere; }
.params td:last-child { text-align: left; }
.brackets td:last-child, .params td:nth-child(2) { text-align: right; }
@media (max-width: 47.99em) { .params { display: block; overflow-x: auto; } }

.changes { margin: 1rem 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.changes li { padding: 0.6rem 0.9rem; background: var(--accent-tint); color: var(--accent-ink); border-left: 5px solid var(--accent);
  border-radius: 0 10px 10px 0; font-weight: 600; }

/* Chart (SVG styled by CSS only) */
figure.chart { margin: 1.25rem 0; overflow-x: auto; }
figure.chart svg { display: block; width: 100%; height: auto; min-width: 34rem; }
@media (min-width: 40em) { figure.chart svg { min-width: 0; } }
figure.chart figcaption { margin-top: 0.5rem; color: var(--muted); font-size: 0.875rem; }
.chart .axis { stroke: var(--line-strong); stroke-width: 2; }
.chart .bar rect { fill: var(--bar); }
.chart .bar.change rect { fill: var(--bar-change); }
.chart text { fill: var(--text); font-family: var(--font); text-anchor: middle; }
.chart text.v { font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chart text.m { fill: var(--muted); font-size: 13px; }

/* Long-form content */
.content { margin-top: 2rem; }
.content h2:first-child { margin-top: 0; }
.content p, .content ul, .content ol, .prose > * { max-width: 70ch; }
.content ul, .content ol { padding-left: 1.25rem; }
.content > .table-scroll, .content > table, .content > figure { max-width: none; }
ol.steps { padding: 0; list-style: none; counter-reset: step; }
ol.steps li { position: relative; margin-bottom: 0.9rem; padding-left: 2.8rem; counter-increment: step; }
ol.steps li::before { content: counter(step); position: absolute; left: 0; top: 0.05rem; display: grid; place-items: center; width: 2rem; height: 2rem;
  border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 800; font-size: 0.95rem; }

.faq details { margin-bottom: 0.5rem; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px; }
.faq summary { position: relative; padding: 0.9rem 2.75rem 0.9rem 1rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--head); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details p { margin: 0; padding: 0.9rem 1rem; max-width: 70ch; }

.sources ul { padding-left: 1.25rem; font-size: 0.95rem; }
.sources li { margin-bottom: 0.4rem; }
.sources .what { font-weight: 700; }
.updated, .src-line, .status { color: var(--muted); font-size: 0.875rem; }
.provisional { display: inline-block; padding: 0.15rem 0.7rem; background: var(--accent-tint); color: var(--accent-ink); border: 1px solid var(--accent);
  border-radius: 999px; font-size: 0.875rem; font-weight: 600; }
p.provisional { margin-bottom: 0.8rem; }
.verified { display: inline-block; padding: 0.15rem 0.7rem; background: var(--info-tint); color: var(--head); border: 1px solid var(--brand);
  border-radius: 999px; font-size: 0.875rem; font-weight: 600; }
.tag { display: inline-block; padding: 0 0.5rem; background: var(--tint); border: 1px solid var(--line-strong); border-radius: 6px; font-size: 0.8rem; }
.pub, .dates { color: var(--muted); font-size: 0.85em; }
.year-block { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 2px solid var(--line); }
.year-block:first-of-type { border-top: 0; padding-top: 0; }

.related ul { margin: 0; padding: 0; list-style: none; }
.related li { padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.related li a { font-weight: 700; }
.related li span { display: block; color: var(--muted); font-size: 0.9rem; }
@media (min-width: 40em) { .related li span { display: inline; margin-left: 0.4rem; } }

/* Ads: fixed box so late-loading creatives never shift layout. */
.ad-slot { position: relative; min-height: 280px; margin: 1.5rem 0; background: var(--tint); border: 1px dashed var(--line-strong); border-radius: 8px; }
.ad-slot::before { content: "Reklam"; position: absolute; top: 0.4rem; left: 0.6rem; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* The minimum-wage card includes a long cumulative-base value. Let that
   value wrap instead of squeezing labels or escaping the card on phones. */
.minimum-wage .breakdown thead th:not(:first-child) { text-align: right; }
@media (max-width: 39.99em) {
  .minimum-wage .result .breakdown { table-layout: fixed; }
  .minimum-wage .result .breakdown th { width: 55%; }
  .minimum-wage .result .breakdown td { white-space: normal; }
}

/* Table-first calculators: aligned controls, a quiet result heading, and one
   shared ledger. Hidden employer columns remain available without JavaScript. */
form.calc { border-width: 1px; border-radius: 12px; padding: 1rem; }
.result { border: 1px solid var(--line-strong); border-radius: 12px; padding: 1rem; }
.headline { font-size: clamp(1.4rem, 5vw, 2rem); line-height: 1.25; }
.payroll-grid { margin-block: 1rem 1.5rem; }
.payroll-grid .table-option { display: inline-flex; align-items: center; min-height: 44px; margin-left: .5rem; font-size: .9rem; font-weight: 600; cursor: pointer; }
.employer-toggle { vertical-align: middle; }
.table-help { margin-bottom: .35rem; }
.payroll-grid .table-scroll { border: 1px solid var(--line-strong); border-radius: 8px; margin-top: .5rem; }
.payroll-table { width: 100%; min-width: 70rem; border-collapse: separate; border-spacing: 0; font-size: .85rem; }
.payroll-table caption { padding: .65rem .75rem; color: var(--head); background: var(--surface); }
.payroll-table thead th { white-space: normal; text-align: center; line-height: 1.35; border-right: 1px solid var(--line); }
.payroll-table thead tr:first-child th { background: var(--info-tint); color: var(--head); }
.payroll-table th, .payroll-table td { padding: .6rem .7rem; }
.payroll-table th:first-child { min-width: 6rem; }
.payroll-table td:nth-child(2) { color: var(--head); font-weight: 800; }
.payroll-table thead tr:first-child th:first-child { position: sticky; left: 0; z-index: 2; }
.payroll-table tbody th, .payroll-table tfoot th { z-index: 1; border-right: 1px solid var(--line-strong); }
.employer-toggle:not(:checked) ~ .table-scroll .employer-col { display: none; }
.payroll-table tbody tr.gross-change { box-shadow: inset 4px 0 0 var(--brand); }
.payroll-table tbody tr.gross-change td:nth-child(3) { background: var(--info-tint); color: var(--head); font-weight: 800; }
.payroll-table tbody tr:hover { background: var(--info-tint); }
.compare-table { min-width: 32rem; }
@media (min-width: 48em) {
 form.calc { display: flex; flex-wrap: wrap; align-items: flex-start; gap: .75rem 1rem; }
 form.calc > .field { flex: 1 1 13rem; margin: 0; }
 form.calc > .row { flex: 1 1 20rem; }
 form.calc .row .field { margin: 0; }
 form.calc > details.more { order: 2; flex-basis: 100%; margin: 0; }
 form.calc > button[type="submit"] { align-self: flex-start; margin-top: 1.95rem; min-width: 10rem; }
 form.calc > fieldset.choices { flex-basis: 100%; }
}
@media (max-width: 39.99em) {
 .result { padding: .85rem; }
 .payroll-table th, .payroll-table td { padding: .55rem .6rem; }
 .payroll-table th:first-child { min-width: 5rem; }
 .payroll-grid .table-option { font-size: .82rem; }
}
@media print {
 .employer-toggle, .table-option, .table-help { display: none; }
 .payroll-table { min-width: 0; font-size: 7pt; }
 .payroll-table th, .payroll-table td { padding: .2rem; white-space: normal; }
}

/* Footer */
.site-footer { margin-top: 3rem; padding-block: 2rem; background: var(--tint); border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.footer-links a { display: inline-block; padding: 0.4rem 0; font-weight: 600; }
.site-footer p { max-width: 70ch; margin-bottom: 0.6rem; }
.fine { font-size: 0.8rem; }

@media print {
  .site-header, .crumbs, form, .ad-slot, .footer-links, .skip, .related { display: none !important; }
  body { background: #fff; color: #000; }
  .result, .hero-card, .site-footer { border-color: #000; background: #fff; }
  a { color: #000; }
  .table-scroll { overflow: visible; }
}

[hidden] { display: none !important; }
.live-clock { font-size: clamp(1.1rem, 4.6vw, 2rem); font-weight: 750; color: var(--head); font-variant-numeric: tabular-nums; }
