/* searchmybenefits.com — class prefix smb. Colours meet WCAG AA (4.5:1) for text in both schemes. */
:root {
  --bg: #ffffff; --fg: #1b1f24; --muted: #4f5761; --line: #d0d7de; --accent: #0b6b45; --accent-fg: #ffffff;
  --panel: #f3f7f5; --under-bg: #e6f4ec; --under-line: #0b6b45; --over-bg: #f6f8fa; --over-line: #8c959f;
  --err-bg: #ffebe9; --err-line: #cf222e; --focus: #0a58ca;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1419; --fg: #e6edf3; --muted: #a3acb6; --line: #3d444d; --accent: #4cc38a; --accent-fg: #0f1419;
    --panel: #161d24; --under-bg: #12291e; --under-line: #4cc38a; --over-bg: #161b22; --over-line: #6e7681;
    --err-bg: #3d1214; --err-line: #f85149; --focus: #79b8ff; }
}
* { box-sizing: border-box; }
body.smb { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.smb-skip { position: absolute; left: -9999px; }
.smb-skip:focus { left: 8px; top: 8px; background: var(--bg); padding: 8px 12px; z-index: 10; }
.smb-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.smb-wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }
.smb-header { border-bottom: 1px solid var(--line); }
.smb-header-row { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 8px; }
.smb-brand { font-weight: 800; font-size: 1.2rem; color: var(--fg); text-decoration: none; }
.smb-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.smb-nav a { color: var(--muted); text-decoration: none; padding: 4px 0; }
.smb-nav a[aria-current="page"] { color: var(--fg); font-weight: 600; text-decoration: underline; }
.smb-notgov { margin: 0 0 8px; font-size: .85rem; color: var(--muted); }
.smb-main { padding-top: 24px; padding-bottom: 48px; }
.smb-hero h1 { margin: 0 0 8px; font-size: 1.75rem; line-height: 1.25; }
.smb-lede { margin: 0 0 20px; color: var(--muted); max-width: 680px; }
.smb-tool { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin-bottom: 32px; }
.smb-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-bottom: 16px; }
.smb-field label { display: block; font-weight: 600; margin-bottom: 4px; }
.smb-field input, .smb-field select { width: 100%; font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--muted); border-radius: 6px; padding: 8px 10px; min-height: 44px; }
.smb-money { display: flex; align-items: center; gap: 6px; }
.smb-help { margin: 4px 0 0; font-size: .85rem; color: var(--muted); }
.smb-button { font: inherit; font-weight: 700; background: var(--accent); color: var(--accent-fg); border: 0; border-radius: 6px; padding: 10px 20px; min-height: 44px; cursor: pointer; }
.smb-button:disabled { opacity: .5; cursor: not-allowed; }
.smb-error { background: var(--err-bg); border-left: 4px solid var(--err-line); padding: 8px 12px; margin: 12px 0 0; }
.smb-notice { margin: 12px 0 0; }
.smb-fault { background: var(--err-bg); border: 2px solid var(--err-line); border-radius: 8px; padding: 12px 16px; }
.smb-results { margin-top: 20px; }
.smb-results h2 { margin: 0 0 8px; }
.smb-summary { font-size: 1.05rem; font-weight: 600; }
.smb-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.smb-row { border: 1px solid var(--line); border-left-width: 6px; border-radius: 8px; padding: 12px 14px; background: var(--bg); }
.smb-row-under { border-left-color: var(--under-line); background: var(--under-bg); }
.smb-row-over { border-left-color: var(--over-line); background: var(--over-bg); }
.smb-row h3 { margin: 0 0 4px; font-size: 1.05rem; }
.smb-row p { margin: 4px 0; }
.smb-status { font-weight: 700; }
.smb-near { font-style: italic; }
.smb-note, .smb-links { font-size: .92rem; color: var(--muted); }
.smb-tables h2, .smb-other h2 { margin-top: 0; }
.smb-details { margin: 8px 0; }
.smb-details summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.smb-table-wrap { overflow-x: auto; }
.smb-table { border-collapse: collapse; font-size: .9rem; min-width: 760px; }
.smb-table th, .smb-table td { border: 1px solid var(--line); padding: 6px 8px; text-align: right; vertical-align: top; }
.smb-table thead th { text-align: left; background: var(--panel); }
.smb-table tbody th { text-align: left; }
.smb-sources li, .smb-other li { margin: 4px 0; }
.smb-prose { max-width: 700px; }
.smb-prose h2 { font-size: 1.15rem; margin-top: 1.5em; }
.config-error { border: 2px solid var(--err-line); background: var(--err-bg); padding: 12px 16px; border-radius: 6px; margin: 16px 0; }
.config-error-inline { color: var(--err-line); font-weight: 700; }
.smb-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; padding: 16px 0 32px; }
.smb-footer p { margin: 4px 0; }
.smb-small { font-size: .82rem; color: var(--muted); }
@media (max-width: 520px) { .smb-hero h1 { font-size: 1.45rem; } .smb-tool { padding: 14px; } }

/* Stock photographs, self-hosted (2026-11-11). */
.smb-shot{margin:0 0 1.25rem}
.smb-shot img{display:block;width:100%;max-width:100%;height:auto}
.smb-shot figcaption{margin:.4rem 0 0;font-size:.95rem}
