/* Workable days page (/werkbare-dagen/, /en/workable-days/). Builds on site.css tokens. */
.wd-page [hidden] { display: none !important; }
.wd-page .wrap { padding-inline: clamp(16px, 3vw, 48px); }

.wd-intro { padding-top: 40px; padding-bottom: 28px; }
.wd-intro h1 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 12px; overflow-wrap: anywhere; }
.wd-intro .lead { max-width: 42em; font-size: clamp(17px, 1.6vw, 20px); }

.wd { display: grid; gap: 24px; max-width: 980px; padding-bottom: 64px; }
.wd-form { display: grid; gap: 14px; min-width: 0; }
.wd-example { font-size: 14px; color: var(--muted); }

.wd-card { min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px 24px; display: grid; gap: 20px; }
.wd-card h3 { font-size: 21px; color: var(--navy); }
.wd-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.wd-group legend { padding: 0; margin: 0 0 8px; font: 600 21px/1.2 Outfit, Inter, sans-serif; letter-spacing: -0.01em; color: var(--navy); }
.wd-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 20px; }
.wd-field { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; align-content: start; min-width: 0; }
.wd-field label { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.wd-input { display: flex; align-items: center; min-height: 48px; background: var(--white); border: 1.5px solid var(--line-2); border-radius: 12px; transition: border-color .15s; }
.wd-input:hover { border-color: #B3B8C3; }
.wd-input:focus-within { border-color: var(--navy); outline: 3px solid var(--ring); outline-offset: 1px; }
.wd-input input, .wd-input select { flex: 1 1 0; width: 0; min-width: 0; height: 45px; padding: 0 14px; border: 0; background: transparent; color: var(--ink); font: 400 16px Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.wd-input select { width: 100%; cursor: pointer; }
.wd-input input:focus-visible, .wd-input select:focus-visible { outline: none; }
.wd-affix { flex: none; padding-right: 14px; color: var(--muted); font-size: 15px; white-space: nowrap; }
.wd-input:has(input[aria-invalid="true"]) { border-color: #b4441f; }
.wd-hint { font-size: 13px; line-height: 1.45; color: var(--muted); }
.wd-error { font-size: 13px; line-height: 1.45; font-weight: 600; color: var(--error); }
.wd-error:empty { display: none; }
.wd-small { font-size: 13px; line-height: 1.45; color: var(--muted); }

.wd-results { display: grid; gap: 20px; min-width: 0; }
.wd-results h2 { font-size: clamp(26px, 3.4vw, 34px); }
.wd-buffer { display: grid; gap: 8px; background: var(--brand-navy); color: #ECEEF4; border-radius: 22px; padding: 22px 26px 22px; box-shadow: var(--shadow); }
.wd-buffer h3 { font-size: 19px; color: #fff; }
.wd-big { font: 600 clamp(36px, 4.2vw, 52px)/1.05 Outfit, Inter, sans-serif; letter-spacing: -0.02em; color: var(--orange); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.wd-buffer p { overflow-wrap: anywhere; }
.wd-formula { font-size: 15px; color: #DFDCD6; font-variant-numeric: tabular-nums; }
.wd-buffer .wd-small { color: #C3CADA; }
.wd-problem { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-size: 15px; }

.wd-chart-card { padding-bottom: 18px; }
.wd-chart { display: block; width: 100%; height: auto; overflow: visible; }
.wd-bar { fill: #D4D0C6; }
.wd-bar.is-on { fill: var(--navy); }
.wd-value { font: 600 9.5px Inter, system-ui, sans-serif; fill: var(--ink); font-variant-numeric: tabular-nums; }
.wd-month { font: 400 10px Inter, system-ui, sans-serif; fill: var(--muted); }
.wd-axis { stroke: #B3B8C3; stroke-width: 1; }
.wd-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.wd-legend li { display: flex; align-items: center; gap: 8px; }
.wd-swatch { width: 14px; height: 14px; border-radius: 3px; background: #D4D0C6; }
.wd-swatch.is-on { background: var(--navy); }

.wd-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.wd-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.wd-table caption { padding: 12px 14px 6px; text-align: left; font: 600 18px Outfit, Inter, sans-serif; color: var(--navy); }
.wd-table caption.wd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; }
.wd-table th, .wd-table td { padding: 9px 14px; text-align: right; font-size: 15px; border-top: 1px solid var(--line); white-space: nowrap; }
.wd-table th:first-child, .wd-table td:first-child { text-align: left; }
.wd-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-top: 0; white-space: normal; vertical-align: bottom; }
.wd-table tbody th { font-weight: 600; color: var(--navy); }
.wd-table tr.is-on { background: rgba(252,163,17,.35); }
.wd-table tr.is-total { background: var(--paper); font-weight: 600; }

.wd-notes { display: grid; gap: 8px; }
.wd-source { font-size: 15px; font-weight: 600; color: var(--ink); }
.wd-source a { color: var(--navy); }
.wd-disclaimer { font-size: 15px; font-weight: 600; color: var(--navy); }
.wd-checked { margin-top: 0; }

.wd-more { max-width: 820px; display: grid; gap: 56px; padding-bottom: 88px; }
.wd-section h2 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 14px; }
.wd-section > p { color: var(--muted); }
.wd-section > p + p { margin-top: 12px; }
.wd-faq details:last-child { margin-bottom: 0; }
.wd-cta { padding-top: 28px; border-top: 1px solid var(--line); text-align: center; font-size: 17px; color: var(--muted); }
.wd-cta a { color: var(--navy); font-weight: 600; }

@media (max-width: 560px) {
  .wd-intro { padding-top: 28px; }
  .wd-card { padding: 18px 16px 20px; border-radius: 18px; }
  .wd-buffer { padding: 20px 18px; border-radius: 18px; }
  .wd-more { gap: 44px; }
  .wd-fields { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .wd-input { transition: none; }
}
.wd-table.is-wrap th, .wd-table.is-wrap td { white-space: normal; overflow-wrap: anywhere; }
