/* /take-home-pay/ and /take-home-pay/<market> (atlas/seo/pages/paycalc.py, templates/paycalc*.html).
   Text is --ink; grey only for field hints (tests/test_no_grey_text.py).
   One centred column (owner, 30 Oct 2026): the hero, the "Your pay" form with its answer straight
   below it, the examples, the quick answers and the country list all sit in the middle. The hero's TEXT is
   left-aligned inside that column, like every other SEO template's hero (R4.1 final review D8, 2026-11-16). */

.sx-paycalc { --pc-w: 680px; }
.sx-paycalc .hm-sec--first > * { margin-left: auto; margin-right: auto; }
.sx-paycalc .sx-hero__in { grid-template-columns: minmax(0, 1fr); max-width: var(--pc-w); text-align: left; }

.pc-calc { display: grid; gap: 24px; box-sizing: content-box; max-width: var(--pc-w); margin: 0 auto; }   /* its card on the hero's left edge (D8) */
.pc-calc > * { margin-left: 0; margin-right: 0; }   /* home.css's :where(.hm-sec) > * auto margins would shrink and centre a grid item */

.pc-form { display: grid; gap: 16px; }
.pc-more { display: grid; gap: 16px; }
.pc-more > summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.pc-more[open] > summary { margin-bottom: 12px; }
.pc-more > .wz-field + .wz-field { margin-top: 16px; }

.pc-result { display: grid; gap: 16px; min-width: 0; }
.pc-scenarios { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pc-scenario.is-best { border-color: var(--accent); }
.pc-scenario__label { font-size: var(--fs-md); font-weight: 700; color: var(--ink); display: flex; gap: 8px; align-items: center; }
.pc-figure { font-size: var(--fs-lead); color: var(--ink); margin-top: 8px; }
.pc-figure b { font-size: 1.6em; font-variant-numeric: tabular-nums; }
.pc-year { color: var(--ink); margin-top: 4px; }

.pc-lines, .pc-examples { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.pc-examples { max-width: var(--pc-w); margin: 0 auto; }
.pc-lines { margin-top: 16px; }
.pc-lines caption { text-align: left; font-size: var(--fs-sm); color: var(--ink); padding-bottom: 6px; }
.pc-lines th, .pc-lines td, .pc-examples th, .pc-examples td {
  padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink); text-align: left; font-weight: 400;
}
.pc-lines td, .pc-examples td { text-align: right; }
.pc-lines tr.is-employer th, .pc-lines tr.is-employer td { font-style: italic; }
.pc-examples th[scope="col"] { font-weight: 700; }
.pc-examples th[scope="col"] + th, .pc-examples td { padding-left: 16px; }

.pc-notes, .pc-assumptions { display: grid; gap: 6px; padding-left: 20px; color: var(--ink); }
.pc-sources > summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.pc-sources ul { display: grid; gap: 6px; padding-left: 20px; margin-top: 8px; color: var(--ink); }

.pc-markets { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; list-style: none; padding: 0; }
.pc-markets a { display: inline-block; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--pill); color: var(--ink); }
