/* UnionJobSource — mobile-first, responsive, accessible application styles. */
:root { --ink:#153b32; --ink-deep:#102e27; --paper:#f7f4ec; --white:#fffefb; --line:#dcded3; --muted:#59675f; --gold:#dba84d; --gold-pale:#f6e6bd; --soft-green:#e8eee4; --red:#963e37; --radius:12px; --shadow:0 12px 40px rgb(21 59 50 / 5%); }
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body { margin:0; background:var(--paper); color:var(--ink); font:16px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; -webkit-font-smoothing:antialiased; }
a { color:inherit; text-underline-offset:4px; overflow-wrap:anywhere; }
button,input,select,textarea { font:inherit; }
button,a,input,select,textarea,summary { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.46; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible { outline:3px solid #a36705; outline-offset:4px; }
::selection { background:var(--gold-pale); color:var(--ink-deep); }
h1,h2,h3,h4,p { margin-top:0; }
h1,h2,h3 { line-height:1.16; letter-spacing:-.035em; overflow-wrap:anywhere; }
h1 { font-size:clamp(2.35rem,8vw,2.75rem); font-weight:650; margin-bottom:24px; }
h1 em { font-family:Georgia,"Times New Roman",serif; font-weight:400; }
h2 { font-size:1.65rem; font-weight:650; }
h3 { font-size:1.28rem; font-weight:650; }
p { margin-bottom:1em; }
img,svg { max-width:100%; }
code { font:12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace; overflow-wrap:anywhere; }
.shell { width:min(1220px,calc(100% - 32px)); margin-inline:auto; }
.muted { color:var(--muted); }
.small { font-size:13px; }
.eyebrow { font-size:11px; letter-spacing:.12em; text-transform:uppercase; font-weight:750; line-height:1.6; margin-bottom:13px; }
.visually-hidden { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:fixed; left:20px; top:-100px; padding:12px 20px; background:var(--ink); color:white; z-index:100; border-radius:6px; }
.skip-link:focus { top:12px; }
.site-header { background:var(--paper); border-bottom:1px solid var(--line); }
.header-inner { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 16px; padding-top:12px; }
.brand { display:flex; gap:10px; align-items:center; min-height:44px; max-width:100%; text-decoration:none; font-size:21px; font-weight:780; letter-spacing:-1px; white-space:nowrap; }
.brand-light { font-weight:500; }
.brand-period { color:#a6711c; }
.brand-mark { display:grid; place-items:center; flex-shrink:0; height:31px; width:31px; background:var(--ink); color:var(--paper); border-radius:8px 8px 8px 2px; font-size:22px; font-family:Georgia,"Times New Roman",serif; font-weight:700; }
.primary-nav { display:flex; flex-wrap:wrap; align-items:center; gap:0 8px; width:100%; margin:0; }
.primary-nav a { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 10px 12px; text-decoration:none; font-size:14px; font-weight:650; border-bottom:2px solid transparent; }
.primary-nav a:hover,.primary-nav a.is-active { border-color:var(--ink); }
.city-label { display:none; align-items:center; gap:8px; white-space:nowrap; border-left:1px solid var(--line); padding-left:30px; font-size:12px; color:var(--muted); }
.status-dot { width:7px; height:7px; border-radius:100%; background:var(--ink); }
.hero { padding:32px 0 26px; }
.hero-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:28px; align-items:center; }
.hero-copy>.eyebrow { display:flex; align-items:center; gap:8px; font-size:10px; margin-bottom:18px; }
.eyebrow-rule { display:block; flex-shrink:0; width:24px; height:2px; background:#a5772d; }
.hero h1 { font-size:clamp(2.5rem,10.5vw,3.5rem); line-height:1.025; letter-spacing:-.055em; margin-bottom:20px; }
.hero-description { color:var(--muted); font-size:16px; line-height:1.7; max-width:550px; margin-bottom:20px; }
.hero-principles { display:flex; flex-wrap:wrap; gap:8px 14px; font-size:12px; font-weight:650; }
.hero-principles span { display:flex; align-items:center; gap:7px; }
.hero-principles span::before { content:""; width:4px; height:4px; border-radius:100%; background:#af802e; }
.hero-note { display:none; position:relative; padding:30px; background:var(--soft-green); border:1px solid #d7dfd2; border-radius:var(--radius); }
.note-number { position:absolute; right:25px; top:25px; font:10px/1 ui-monospace,monospace; letter-spacing:.08em; color:#647467; }
.hero-note h2 { font:400 28px/1.15 Georgia,"Times New Roman",serif; letter-spacing:-.04em; margin:9px 0 26px; }
.principle-list { list-style:none; margin:0; padding:0; }
.principle-list li { display:flex; gap:13px; padding:14px 0; border-top:1px solid #cbd7c8; }
.principle-list li:last-child { padding-bottom:0; }
.principle-list li>span { font:10px/2 ui-monospace,monospace; color:var(--muted); padding-top:2px; }
.principle-list strong { display:block; font-size:12px; font-weight:700; }
.principle-list p { color:var(--muted); font-size:11px; line-height:1.6; margin:4px 0 0; }
.catalog-section { padding-bottom:42px; }
.search-panel { display:grid; grid-template-columns:minmax(0,1fr); align-items:end; gap:16px; padding:18px; margin-bottom:30px; background:var(--white); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); }
.search-field { display:flex; flex-direction:column; min-width:0; }
.search-field label { font-size:11px; font-weight:750; letter-spacing:.06em; text-transform:uppercase; margin-bottom:7px; }
.search-field--query { min-width:0; }
.search-field--borough { width:auto; }
.search-panel.job-search { grid-template-columns:minmax(0,1fr); }
.job-search .search-field--borough { width:auto; }
.search-field--source { min-width:0; }
.search-field input,.search-field select { border:1px solid #cbd4c8; border-radius:6px; background:var(--white); color:var(--ink); width:100%; min-width:0; min-height:48px; padding:9px 12px; font-size:16px; line-height:1.5; }
.search-field input::placeholder { color:#6c756f; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-width:0; max-width:100%; min-height:48px; padding:12px 18px; border:1px solid transparent; border-radius:6px; font-weight:700; font-size:14px; text-decoration:none; text-align:center; line-height:1.4; transition:background .15s,color .15s,transform .15s; }
.button--primary { color:var(--white); background:var(--ink); border-color:var(--ink); }
.button--primary:hover:not(:disabled) { background:var(--ink-deep); transform:translateY(-1px); }
.button--outline { color:var(--ink); background:transparent; border-color:#bbc6bb; }
.button--outline:hover { background:var(--soft-green); }
.button--full { width:100%; }
.button-row { display:flex; flex-direction:column; align-items:flex-start; flex-wrap:wrap; gap:10px; margin-top:24px; }
.search-submit { width:100%; min-height:48px; }
.catalog-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:28px; align-items:start; }
.section-heading { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:10px 16px; margin-bottom:20px; }
.section-heading h2 { margin:0; font-size:22px; }
.section-heading .eyebrow { margin-bottom:6px; color:var(--muted); }
.section-heading p:not(.eyebrow) { font-size:13px; margin:10px 0 0; }
.result-count { font-size:13px; white-space:nowrap; color:var(--muted); }
.active-filters { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:-8px 0 24px; }
.filter-chip { min-width:0; max-width:100%; overflow-wrap:anywhere; background:#e9ede4; padding:6px 10px; border-radius:5px; font-size:13px; }
.text-link { display:inline-flex; align-items:center; gap:6px; min-height:44px; max-width:100%; padding-block:8px; font-size:14px; font-weight:700; line-height:1.5; text-decoration:underline; text-decoration-color:#99a79a; }
.text-link:hover { text-decoration-color:var(--ink); }
.job-list { display:grid; gap:12px; }
.job-card { display:flex; flex-direction:column; justify-content:space-between; gap:18px; min-width:0; padding:20px; border:1px solid var(--line); border-radius:var(--radius); background:var(--white); transition:border-color .15s,box-shadow .15s; }
.job-card:hover { border-color:#aab9aa; box-shadow:0 4px 20px rgb(21 59 50 / 4%); }
.job-card-main { min-width:0; flex:1; }
.employer-name { font-size:11px; letter-spacing:.08em; color:var(--muted); margin-bottom:9px; }
.job-card h3 { font-size:22px; margin-bottom:10px; letter-spacing:-.025em; line-height:1.22; }
.job-card h3 a { display:flex; align-items:center; min-height:44px; text-decoration:none; }
.job-card h3 a:hover { text-decoration:underline; }
.job-facts { display:flex; flex-wrap:wrap; gap:5px 13px; font-size:13px; color:var(--muted); }
.job-facts span+span::before { content:"·"; margin-right:13px; }
.union-line { font-size:13px; margin:14px 0 16px; line-height:1.5; }
.tiny-check { display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; background:#e6eee1; border-radius:100%; font-size:11px; font-weight:800; flex-shrink:0; }
.union-line .tiny-check { margin-right:8px; }
.job-card-meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px 13px; margin-top:15px; }
.badge { display:inline-flex; align-items:center; width:fit-content; max-width:100%; white-space:normal; overflow-wrap:anywhere; font-size:11px; font-weight:700; line-height:1.45; border-radius:4px; padding:5px 8px; }
.badge--positive { color:#24523b; background:#e6eee1; }
.badge--caution { color:#865313; background:#faeed5; }
.badge--negative { color:#8e3835; background:#f7e6e1; }
.badge--neutral { color:#4f6257; background:#ebeee6; }
.verified-date { font-size:12px; color:var(--muted); }
.job-card-side { display:flex; flex-direction:column; justify-content:space-between; align-items:stretch; text-align:left; width:100%; min-width:0; flex-shrink:0; gap:12px; border-top:1px solid #e6e9df; padding-top:14px; }
.job-pay { max-width:100%; font-size:14px; font-weight:750; line-height:1.6; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; margin:0; }
.job-pay--unknown { font-size:13px; color:var(--muted); font-weight:500; }
.job-pay--details { font-size:13px; font-weight:600; }
.pay-information h2 { margin-bottom:16px; }
.pay-summary { font-size:21px; font-weight:750; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.pay-qualification { color:var(--muted); font-size:14px; line-height:1.7; }
.pay-source-heading { margin-top:24px; font-size:16px; }
.source-pay-text { overflow-wrap:anywhere; }
.source-pay-text + .source-pay-text { margin-top:16px; }
.pay-information>.text-link { display:inline-block; margin-top:12px; }
.card-arrow { display:flex; align-items:center; justify-content:space-between; min-height:44px; min-width:44px; gap:10px; font-size:14px; font-weight:700; text-decoration:none; white-space:nowrap; }
.card-arrow span { display:grid; place-items:center; flex-shrink:0; height:29px; width:29px; border:1px solid #cbd4c8; border-radius:100%; font-size:17px; }
.card-arrow:hover span { background:var(--ink); color:white; border-color:var(--ink); }
.results-note { margin:22px 0 0; font-size:13px; color:var(--muted); line-height:1.7; }
.pagination { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items:center; gap:10px; padding-top:24px; }
.pagination>span { color:var(--muted); font-size:12px; text-align:center; }
.pagination>div:last-child { text-align:right; }
.pagination .button { min-height:44px; padding:9px 12px; font-size:13px; }
.catalog-aside { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; padding-top:12px; }
.aside-card { min-width:0; padding:24px; background:#edeadd; border-radius:var(--radius); border:1px solid #dfdece; }
.aside-card>.eyebrow { font-size:10px; }
.aside-card h3 { font:400 28px/1.15 Georgia,"Times New Roman",serif; margin-bottom:18px; }
.aside-card>p:not(.eyebrow) { color:var(--muted); font-size:13px; line-height:1.75; }
.coverage-stat { display:flex; align-items:center; gap:12px; border-top:1px solid #d5d8c9; border-bottom:1px solid #d5d8c9; margin:22px 0; padding:17px 0; }
.coverage-stat strong { font-size:34px; line-height:1; font-weight:600; letter-spacing:-.05em; }
.coverage-stat span { font-size:12px; color:var(--muted); line-height:1.4; max-width:150px; }
.aside-note { display:flex; gap:10px; min-width:0; margin:8px 0 0; padding:12px 0; }
.aside-note p { font-size:13px; color:var(--muted); line-height:1.75; margin:0; }
.aside-note strong { color:var(--ink); }
.empty-state { border:1px dashed #b6c5b4; background:#f0f2e8; border-radius:var(--radius); padding:28px 22px; }
.empty-icon { display:grid; place-items:center; width:44px; height:44px; font-size:28px; font-weight:300; border:1px solid #bccbb8; border-radius:100%; margin-bottom:24px; }
.empty-state .eyebrow { color:var(--muted); font-size:10px; margin-bottom:11px; }
.empty-state h3 { font-size:26px; max-width:450px; line-height:1.2; margin-bottom:17px; }
.empty-state>p:not(.eyebrow) { color:var(--muted); max-width:510px; font-size:14px; line-height:1.85; margin-bottom:0; }
.empty-state.compact { padding:28px 22px; }
.empty-state.compact h3 { font-size:24px; }
.site-footer { border-top:1px solid var(--line); padding:30px 0; }
.footer-inner { display:grid; gap:20px; }
.footer-brand { display:inline-flex; align-items:center; min-height:44px; font-size:17px; font-weight:750; letter-spacing:-.5px; text-decoration:none; }
.footer-inner p { font-size:12px; color:var(--muted); margin:0; }
.footer-note { font-size:12px; line-height:1.8; color:var(--muted); }
.footer-inner nav { display:flex; flex-wrap:wrap; gap:4px 20px; }
.footer-inner nav a { display:inline-flex; align-items:center; min-height:44px; padding-block:8px; font-size:13px; color:var(--muted); }
.flash-stack { padding-top:24px; }
.flash { padding:14px 20px; background:#e4eddf; border:1px solid #c2d5bd; border-radius:7px; font-size:14px; }
.flash--error { background:#f8e8e1; border-color:#deb5a8; color:#84392e; }
.page-intro { padding-block:38px 25px; }
.page-intro h1 { font-size:clamp(2.25rem,9vw,2.75rem); line-height:1.08; }
.page-intro>p:last-child { color:var(--muted); font-size:16px; line-height:1.8; max-width:620px; }
.source-section { padding-bottom:45px; }
.source-legend { display:grid; grid-template-columns:minmax(0,auto) minmax(0,1fr); align-items:center; gap:10px 12px; border-top:1px solid var(--line); padding:17px 0 25px; font-size:12px; color:var(--muted); }
.source-legend>span:not(.badge) { min-width:0; }
.source-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
.source-card { display:flex; flex-direction:column; background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:22px; min-width:0; }
.source-card-top { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px 12px; align-items:start; margin-bottom:17px; }
.source-card-top .eyebrow { color:var(--muted); font-size:10px; margin:0; }
.source-card-top .badge { flex-shrink:1; font-size:11px; }
.source-card h3 { font-size:22px; line-height:1.2; margin-bottom:8px; }
.source-address { color:var(--muted); font-size:12px; overflow-wrap:anywhere; margin-bottom:20px; }
.source-facts { margin:0; }
.source-facts div { margin-bottom:15px; }
.source-facts dt { font-size:12px; font-weight:650; color:var(--muted); margin-bottom:3px; }
.source-facts dd { margin:0; font-size:14px; overflow-wrap:anywhere; }
.source-card-footer { display:flex; flex-wrap:wrap; gap:4px 20px; border-top:1px solid var(--line); margin-top:auto; padding-top:12px; }
.editorial-note { display:grid; grid-template-columns:minmax(0,1fr); gap:9px; border-top:1px solid var(--line); margin-top:34px; padding-top:26px; }
.editorial-note h3 { font:400 25px/1.2 Georgia,serif; margin-bottom:7px; }
.editorial-note>p:last-child { color:var(--muted); font-size:14px; line-height:1.8; }
.detail-shell { padding-top:20px; padding-bottom:42px; }
.back-link { display:inline-flex; align-items:center; gap:10px; min-height:44px; padding-block:8px; color:var(--muted); font-size:14px; text-decoration:none; font-weight:650; }
.back-link:hover { text-decoration:underline; }
.job-detail-header { padding:25px 0 28px; border-bottom:1px solid var(--line); margin-bottom:24px; }
.job-detail-header h1 { font-size:clamp(1.9rem,7.8vw,2.35rem); max-width:970px; line-height:1.13; }
.job-detail-header>.eyebrow { color:var(--muted); }
.detail-badges { display:flex; flex-wrap:wrap; gap:9px; }
.detail-badges .badge { font-size:11px; padding:6px 10px; }
.detail-grid { display:grid; grid-template-columns:minmax(0,1fr); grid-template-areas:"sidebar" "content"; gap:16px; align-items:start; }
.detail-content,.review-content { min-width:0; }
.content-panel { min-width:0; background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:20px; margin-bottom:16px; }
.panel-heading { display:flex; align-items:center; gap:10px; margin-bottom:23px; }
.panel-heading h2 { font-size:21px; margin:0; }
.section-number { flex-shrink:0; color:#8c6b2e; background:#f8f0dc; font:10px/1 ui-monospace,monospace; padding:8px; border-radius:4px; }
.content-panel>h3 { font-size:18px; margin-top:30px; }
.prose { color:#344e42; font-size:16px; line-height:1.8; overflow-wrap:anywhere; }
.prose p:last-child { margin-bottom:0; }
.representation-callout { display:flex; align-items:start; gap:13px; margin-bottom:16px; }
.representation-callout .tiny-check { height:25px; width:25px; margin-top:3px; }
.representation-callout .eyebrow { font-size:9px; margin-bottom:6px; color:var(--muted); }
.representation-callout h3 { font-size:19px; margin-bottom:0; line-height:1.3; }
.evidence-panel>.muted { font-size:14px; line-height:1.8; }
.evidence-list { display:grid; gap:12px; margin-top:22px; }
.evidence-item { min-width:0; padding:16px; background:#f2f4ed; border:1px solid #e0e6da; border-radius:7px; }
.evidence-item-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; }
blockquote { margin:18px 0; padding-left:16px; border-left:2px solid #adbb9f; color:#425c4b; font-size:14px; line-height:1.8; white-space:pre-line; overflow-wrap:anywhere; }
.detail-sidebar,.review-sidebar { position:static; min-width:0; }
.apply-panel { background:#e9eee1; border:1px solid #d0dcc8; border-radius:var(--radius); padding:20px; }
.apply-panel h2 { font:400 30px/1.15 Georgia,serif; }
.apply-panel>p:not(.eyebrow):not(.source-domain) { color:var(--muted); font-size:14px; line-height:1.8; margin-bottom:23px; }
.source-domain { text-align:center; font-size:12px; color:var(--muted); margin:9px 0 24px; overflow-wrap:anywhere; }
.detail-facts { display:grid; grid-template-columns:minmax(0,1fr); gap:0 18px; margin:0; }
.detail-facts div { min-width:0; border-top:1px solid #cdd8c5; padding:15px 0; }
.detail-facts div:last-child { padding-bottom:15px; }
.detail-facts dt { font-size:12px; color:var(--muted); margin-bottom:4px; }
.detail-facts dd { margin:0; font-size:14px; font-weight:650; line-height:1.7; overflow-wrap:anywhere; }
.detail-facts small { display:block; font-size:12px; font-weight:400; color:var(--muted); margin-top:5px; }
.sidebar-footnote { margin:17px 5px; font-size:12px; line-height:1.8; color:var(--muted); }
.admin-shell { padding-top:28px; padding-bottom:42px; }
.admin-page-heading { display:flex; flex-direction:column; align-items:start; gap:7px; margin:12px 0 30px; }
.admin-page-heading h1 { font-size:clamp(2.35rem,8vw,2.65rem); line-height:1.07; }
.admin-page-heading>.badge { margin-top:0; }
.page-description { max-width:590px; color:var(--muted); font-size:14px; }
.stats-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; margin-bottom:32px; }
.stat-card { min-width:0; border:1px solid var(--line); padding:18px; background:var(--white); border-radius:var(--radius); }
.stat-card>span { display:block; font-size:12px; color:var(--muted); font-weight:650; }
.stat-card>strong { display:block; font-size:36px; font-weight:650; letter-spacing:-.06em; line-height:1.4; margin:8px 0; }
.stat-card>p { margin:0; color:var(--muted); font-size:12px; line-height:1.7; }
.table-wrap { overflow-x:auto; border:1px solid var(--line); border-radius:var(--radius); background:var(--white); }
.review-table { width:100%; border-collapse:collapse; text-align:left; }
.review-table th { font-size:10px; font-weight:700; color:var(--muted); letter-spacing:.04em; padding:16px 20px; border-bottom:1px solid var(--line); background:#eff1e8; }
.review-table td { padding:20px; border-bottom:1px solid #e4e7de; font-size:12px; line-height:1.6; }
.review-table tr:last-child td { border-bottom:0; }
.review-table tbody tr:hover { background:#fafbf5; }
.review-job-cell { width:40%; min-width:240px; }
.review-job-cell>a { display:block; font-size:14px; font-weight:700; line-height:1.5; text-decoration:none; }
.review-job-cell>a:hover { text-decoration:underline; }
.review-job-cell>span { display:block; color:var(--muted); font-size:11px; margin-top:5px; }
.review-open { display:flex; justify-content:space-between; align-items:center; gap:15px; white-space:nowrap; text-decoration:none; font-weight:700; }
.admin-guidance { display:block; border:1px solid #d4deca; background:#edf2e6; border-radius:8px; padding:20px; margin-top:26px; }
.admin-guidance strong { flex-shrink:0; font-size:12px; }
.admin-guidance p { font-size:13px; color:var(--muted); line-height:1.75; margin:7px 0 0; }
.review-detail-heading { display:block; padding:28px 0; margin-bottom:24px; border-bottom:1px solid var(--line); }
.review-detail-heading h1 { font-size:clamp(1.9rem,7.5vw,2.35rem); line-height:1.2; max-width:850px; }
.review-detail-heading>span { display:block; margin-top:20px; }
.review-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; align-items:start; }
.record-stack { display:grid; gap:16px; }
.record-card { min-width:0; background:#f8f9f3; border:1px solid #e1e5d9; padding:17px; border-radius:7px; }
.record-card-heading { display:flex; flex-wrap:wrap; align-items:start; justify-content:space-between; gap:13px; margin-bottom:16px; }
.record-card-heading h3 { font-size:16px; line-height:1.4; margin:0; flex:1; }
.record-card>p { font-size:12px; color:var(--muted); line-height:1.8; }
.record-facts { display:grid; grid-template-columns:minmax(0,1fr); gap:15px 25px; margin:0 0 19px; }
.record-facts dt { font-size:10px; color:var(--muted); margin-bottom:4px; }
.record-facts dd { margin:0; font-size:13px; line-height:1.65; overflow-wrap:anywhere; }
.record-facts small { display:block; color:var(--muted); font-size:10px; }
.location-row { display:flex; flex-direction:column; align-items:start; gap:12px; justify-content:space-between; border-top:1px solid var(--line); padding-top:17px; }
.location-row:first-child { border:0; padding-top:0; }
.location-row strong { font-size:14px; }
.location-row p { font-size:12px; margin:5px 0; }
.observation-list { margin-top:24px; }
.observation-item { position:relative; display:flex; gap:17px; padding:0 0 25px; }
.observation-item:last-child { padding-bottom:0; }
.observation-item:not(:last-child)::before { content:""; position:absolute; top:14px; bottom:0; left:5px; width:1px; background:#d3dfcb; }
.observation-marker { height:11px; width:11px; flex-shrink:0; border-radius:100%; background:#d1dec7; border:3px solid #f1f5ec; outline:1px solid #bdcdb2; margin-top:5px; z-index:1; }
.observation-body { min-width:0; flex:1; }
.observation-body strong { font-size:13px; }
.observation-body>p { margin:8px 0; }
.observation-metadata { display:flex; flex-wrap:wrap; gap:6px 18px; color:var(--muted); font-size:10px; }
.evidence-details { margin-top:13px; border:1px solid #e1e7d8; border-radius:5px; padding:10px 12px; background:#f7f9f2; }
.evidence-details summary { font-size:11px; cursor:pointer; font-weight:650; }
.evidence-details dl { font-size:11px; margin:12px 0; }
.evidence-details dt { color:var(--muted); margin:10px 0 3px; }
.evidence-details dd { margin:0; }
.evidence-details code { font-size:10px; }
.decision-panel { background:#eeeada; border:1px solid #dad7c4; border-radius:var(--radius); padding:24px; }
.decision-panel h2 { font:400 28px/1.17 Georgia,serif; margin-bottom:25px; }
.readiness-banner { background:#fbf2dc; border:1px solid #e4d5ad; border-radius:7px; padding:14px; }
.readiness-banner strong { display:block; color:#79531f; font-size:12px; }
.readiness-banner p { color:#735e3e; font-size:11px; line-height:1.8; margin:6px 0 0; }
.readiness-banner--ready { background:#e5efdf; border-color:#b8cdb0; }
.readiness-banner--ready strong,.readiness-banner--ready p { color:#2f5737; }
.blocker-list { padding-left:18px; font-size:11px; color:#725d3b; line-height:1.8; margin:18px 0; }
.blocker-list li { margin-bottom:6px; }
.decision-form { margin-top:23px; }
.decision-form>label { display:block; font-size:11px; font-weight:700; margin-bottom:9px; }
.decision-form textarea { resize:vertical; min-height:130px; width:100%; border:1px solid #c7c7b5; background:var(--white); border-radius:6px; color:var(--ink); padding:12px; font-size:16px; line-height:1.7; }
.decision-form textarea::placeholder { color:#747a6e; }
.form-hint { color:var(--muted); font-size:10px; margin:7px 0 18px; }
.decision-form .button+.button { margin-top:9px; }
.exam-search { grid-template-columns:minmax(0,1fr); }
.exam-search .search-field--query { min-width:0; }
.exam-search-filter { min-width:0; }
.exam-access { margin:13px 0; font-size:14px; font-weight:650; }
.exam-card-dates { display:flex; flex-wrap:wrap; gap:12px 22px; color:var(--muted); font-size:13px; }
.exam-card-dates strong { display:block; color:var(--ink); font-size:14px; font-weight:600; margin-top:3px; }
.exam-counts { margin:22px 0 0; }
.exam-counts>div { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0; border-top:1px solid #d5d8c9; }
.exam-counts dd { margin:0; font-size:18px; font-weight:650; }
.exam-eligibility-label { font-size:14px; }
.exam-facts { margin-top:24px; }
.exam-warning { font-size:13px; color:#79531f; background:#fbf2dc; border:1px solid #e4d5ad; padding:15px; border-radius:6px; }

/* Phone layouts are the default. Wider screens add columns only when useful. */
.header-inner>*,.hero-grid>*,.catalog-layout>*,.section-heading>*,.source-card-top>*,.detail-grid>*,.review-grid>*,.record-facts>div,.representation-callout>div { min-width:0; }
p,.job-facts span,.source-facts dd,.record-facts dd { overflow-wrap:anywhere; }
.detail-content { grid-area:content; }
.detail-sidebar { grid-area:sidebar; }
.button,.primary-nav a,.card-arrow,.text-link,.back-link,.footer-inner a { touch-action:manipulation; }

@media (min-width:360px) {
  .detail-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width:400px) {
  .stats-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .job-card-side { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:16px; }
}
@media (min-width:650px) {
  .shell { width:min(1220px,calc(100% - 48px)); }
  .header-inner { min-height:80px; flex-wrap:nowrap; gap:20px; padding-top:0; }
  .brand { font-size:23px; gap:12px; }
  .brand-mark { width:35px; height:35px; font-size:24px; }
  .primary-nav { width:auto; margin-left:auto; gap:6px; }
  .primary-nav a { padding:25px 10px; font-size:13px; }
  .hero { padding:48px 0 40px; }
  .hero h1 { font-size:54px; }
  .hero-description { font-size:17px; }
  .search-panel { padding:20px; gap:18px; margin-bottom:38px; }
  .search-panel.job-search,.exam-search { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .job-search .search-field--query,.job-search .search-submit,.exam-search .search-field--query,.exam-search .search-submit { grid-column:1/-1; }
  .button-row { flex-direction:row; align-items:center; }
  .section-heading { margin-bottom:24px; }
  .section-heading h2 { font-size:24px; }
  .job-card { flex-direction:row; padding:23px; gap:20px; }
  .job-card h3 { font-size:21px; }
  .job-card-side { display:flex; flex-direction:column; align-items:flex-end; width:150px; border-top:0; padding-top:0; text-align:right; gap:20px; }
  .job-pay { font-size:13px; }
  .job-pay--unknown,.job-pay--details { font-size:12px; }
  .card-arrow { font-size:13px; gap:12px; }
  .catalog-section { padding-bottom:65px; }
  .catalog-aside { grid-template-columns:repeat(2,minmax(0,1fr)); gap:25px; }
  .aside-note { margin-block:10px; padding:10px; }
  .empty-state { padding:38px 30px; }
  .empty-state h3 { font-size:29px; }
  .footer-inner { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:25px; }
  .page-intro { padding-block:52px 35px; }
  .page-intro h1 { font-size:clamp(2.8rem,4.7vw,4.4rem); }
  .source-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
  .source-section { padding-bottom:65px; }
  .editorial-note { grid-template-columns:1fr 2fr; gap:20px; }
  .editorial-note>.eyebrow { grid-column:1/-1; margin-bottom:0; }
  .detail-shell { padding-top:30px; padding-bottom:65px; }
  .job-detail-header { padding:34px 0; margin-bottom:30px; }
  .job-detail-header h1 { font-size:clamp(2.3rem,4vw,3.5rem); }
  .content-panel,.apply-panel { padding:25px; }
  .content-panel { margin-bottom:20px; }
  .pay-summary { font-size:22px; }
  .evidence-item { padding:20px; }
  .record-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .admin-guidance { display:flex; align-items:start; gap:25px; padding:22px 25px; }
  .admin-guidance p { margin:0; }
  .location-row { flex-direction:row; gap:20px; }
}
@media (min-width:1000px) {
  .shell { width:min(1220px,calc(100% - 56px)); }
  h1 { font-size:clamp(2.7rem,5.4vw,4.8rem); }
  h2 { font-size:1.85rem; }
  .header-inner { min-height:92px; gap:32px; }
  .primary-nav { gap:20px; }
  .primary-nav a { padding:33px 5px; }
  .hero { padding:68px 0 56px; }
  .hero-grid { grid-template-columns:minmax(0,1fr) 310px; gap:45px; }
  .hero h1 { font-size:clamp(3.3rem,6.5vw,4.6rem); }
  .hero-copy>.eyebrow { font-size:11px; margin-bottom:24px; }
  .hero-note { display:block; padding:25px; }
  .search-panel { padding:16px 16px 16px 24px; gap:22px; margin-bottom:44px; }
  .search-panel.job-search { grid-template-columns:minmax(0,1.35fr) minmax(0,.9fr) minmax(0,1.25fr) auto; }
  .exam-search { grid-template-columns:minmax(0,1.15fr) minmax(0,.8fr) minmax(0,1fr) auto; }
  .job-search .search-field--query,.job-search .search-submit,.exam-search .search-field--query,.exam-search .search-submit { grid-column:auto; }
  .search-field label { font-size:10px; margin-bottom:5px; }
  .search-field input,.search-field select { min-height:44px; padding:3px 0; border:0; border-radius:3px; background:transparent; }
  .search-field--borough,.search-field--source,.exam-search-filter { border-left:1px solid var(--line); padding-left:24px; }
  .search-submit { width:auto; min-height:54px; padding-inline:25px; }
  .catalog-layout { grid-template-columns:minmax(0,1fr) 240px; gap:22px; }
  .catalog-aside { display:block; padding-top:4px; }
  .aside-card { padding:21px; }
  .aside-note { margin:25px 3px; padding:0; }
  .catalog-section { padding-bottom:80px; }
  .source-legend { display:flex; flex-wrap:wrap; gap:8px 12px; }
  .source-legend>span:not(.badge) { margin-right:12px; }
  .stats-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; margin-bottom:45px; }
  .detail-grid { grid-template-columns:minmax(0,1fr) 300px; grid-template-areas:"content sidebar"; gap:22px; }
  .review-grid { grid-template-columns:minmax(0,1fr) 300px; gap:22px; }
  .detail-sidebar,.review-sidebar { position:sticky; top:22px; }
  .detail-facts { grid-template-columns:minmax(0,1fr); }
  .detail-facts div:last-child { padding-bottom:0; }
  .prose { font-size:15px; line-height:1.85; }
  .admin-shell { padding-top:38px; padding-bottom:75px; }
  .admin-page-heading { flex-direction:row; justify-content:space-between; gap:25px; margin-bottom:35px; }
  .admin-page-heading h1 { font-size:clamp(2.6rem,4.3vw,4rem); }
  .admin-page-heading>.badge { margin-top:9px; }
  .review-detail-heading { display:flex; justify-content:space-between; align-items:start; gap:35px; padding:35px 0 29px; margin-bottom:28px; }
  .review-detail-heading h1 { font-size:clamp(2rem,3.2vw,3rem); }
  .review-detail-heading>span { margin-top:5px; }
  .record-card { padding:22px; }
  .decision-panel { padding:25px; }
  .decision-panel h2 { font-size:31px; }
}
@media (min-width:1100px) {
  .shell { width:min(1220px,calc(100% - 88px)); }
  .city-label { display:flex; }
  .primary-nav { gap:20px; }
  .hero-grid { grid-template-columns:minmax(0,1fr) 350px; gap:80px; }
  .hero h1 { font-size:clamp(3.7rem,6.1vw,5.4rem); margin-bottom:24px; }
  .hero-note { padding:30px; }
  .catalog-layout { grid-template-columns:minmax(0,1fr) 276px; gap:34px; }
  .job-card { padding:27px; gap:28px; }
  .job-card-side { width:155px; }
  .aside-card { padding:25px; }
  .source-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .source-card { padding:24px; }
  .source-section { padding-bottom:75px; }
  .editorial-note { grid-template-columns:150px 240px minmax(0,1fr); gap:25px; margin-top:48px; padding-top:30px; }
  .editorial-note>.eyebrow { grid-column:auto; }
  .detail-grid,.review-grid { grid-template-columns:minmax(0,1fr) 330px; gap:32px; }
  .content-panel { padding:30px; }
  .apply-panel { padding:27px; }
  .detail-shell { padding-top:34px; padding-bottom:80px; }
  .job-detail-header { padding:42px 0 36px; }
  .stat-card { padding:23px; }
  .stat-card>strong { font-size:40px; }
  .site-footer { padding:35px 0; }
}
@media (min-width:1500px) {
  .shell { width:min(1320px,calc(100% - 120px)); }
  .hero { padding-top:85px; }
  .hero-grid { grid-template-columns:minmax(0,1fr) 390px; gap:120px; }
  .hero-note { padding:35px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { transition:none!important; } }
@media print { .site-header,.site-footer,.back-link,.search-panel,.decision-form,.review-sidebar { display:none!important; } body { background:white; color:black; } .shell { width:100%; } .detail-grid,.review-grid { display:block; } .content-panel,.apply-panel { break-inside:avoid; border-color:#aaa; box-shadow:none; } .detail-sidebar { position:static; } a { text-decoration:underline; } }


/* Review pages and source health remain usable on narrow devices. */
.source-health { margin:36px 0; }
.source-health-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; }
.source-health-card { min-width:0; background:var(--white); border:1px solid var(--line); border-radius:var(--radius); padding:20px; }
.source-health-card h3 { font-size:16px; margin-bottom:7px; }
.source-health-card .record-facts { grid-template-columns:repeat(2,minmax(0,1fr)); }
.source-health-card .record-facts div { margin:0; }
.refresh-differences { display:grid; gap:12px; margin:20px 0; }
.refresh-differences>div { min-width:0; border:1px solid var(--line); padding:14px; border-radius:7px; background:#fafbf5; }
.refresh-differences dt { font-weight:750; margin-bottom:10px; font-size:14px; }
.refresh-differences dd { margin:8px 0; font-size:13px; overflow-wrap:anywhere; white-space:pre-wrap; }
.refresh-differences dd span { display:block; font-weight:650; color:var(--muted); font-size:11px; margin-bottom:3px; }
@media (min-width:650px) { .source-health-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (min-width:1100px) { .source-health-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }

/* Verified agency filters complement source IDs (NYCHA inside City, LIRR inside MTA). */
.agency-shortcuts { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; margin:-12px 0 24px; }
.agency-shortcut { display:inline-flex; align-items:center; min-height:44px; max-width:100%; padding:8px 12px; border:1px solid var(--line); background:var(--white); border-radius:6px; text-decoration:none; font-size:13px; font-weight:650; }
.agency-shortcut:hover { background:var(--soft-green); }
.search-field--agency { min-width:0; }
@media (min-width:650px) and (max-width:999px) { .job-search .search-field--agency { grid-column:1/-1; } }
@media (min-width:1000px) {
  .search-panel.job-search { grid-template-columns:minmax(0,1.25fr) minmax(0,.72fr) minmax(0,.95fr) minmax(0,1fr) auto; gap:12px; }
  .job-search .search-field--agency { grid-column:auto; border-left:1px solid var(--line); padding-left:18px; }
  .job-search .search-field--borough,.job-search .search-field--source { padding-left:18px; }
}

/* SEO landing pages reuse the responsive public catalog, with compact discovery navigation. */
.seo-intro { padding-top:22px; padding-bottom:28px; }
.seo-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:3px 9px; color:var(--muted); font-size:12px; margin-bottom:22px; }
.seo-breadcrumb a { display:inline-flex; align-items:center; min-height:44px; }
.seo-intro>.eyebrow { display:flex; align-items:center; gap:8px; }
.seo-intro h1 { font-size:clamp(2.35rem,7vw,4.1rem); margin-bottom:14px; }
.seo-intro .hero-description { max-width:740px; margin-bottom:16px; }
.seo-related { margin-top:18px; padding:17px 0; border-top:1px solid var(--line); min-width:0; }
.seo-related h2 { font-size:19px; margin:0 0 8px; }
.seo-related ul { list-style:none; padding:0; margin:0; }
.seo-related li { display:grid; gap:0; border-bottom:1px solid var(--line); padding:6px 0 9px; }
.seo-related li a { display:flex; align-items:center; min-height:44px; font-size:14px; font-weight:650; }
.seo-related li span { font-size:12px; color:var(--muted); }
@media (min-width:650px) { .seo-intro { padding-top:30px; padding-bottom:38px; } }

@media (max-width:649px) {
  .seo-intro { padding-top:8px; padding-bottom:20px; }
  .seo-breadcrumb { margin-bottom:12px; }
  .seo-intro>.eyebrow { margin-bottom:8px; font-size:10px; letter-spacing:.06em; }
  .seo-intro h1 { font-size:clamp(1.95rem,7.8vw,2.35rem); margin-bottom:10px; }
  .seo-intro .hero-description { font-size:14px; line-height:1.5; margin-bottom:10px; }
  .seo-intro .hero-principles { gap:4px 10px; font-size:11px; }
  .catalog-results .section-heading { gap:4px 12px; margin-bottom:14px; }
}

.job-search-heading { padding-block: clamp(20px, 4vw, 48px) 16px; }
.job-search-heading h1 { margin: 0; font-size: clamp(1.85rem, 5vw, 3.5rem); line-height: 1.12; }
.focused-search, .focused-results { max-width: 56rem; }
.focused-search { align-items: start; gap: 12px; margin-bottom: 18px; }
.focused-search .search-field label { font-size: .875rem; text-transform: none; letter-spacing: normal; }
.focused-search .search-field input, .focused-search .search-field select {
  min-height: 46px; padding: 8px 10px; border: 1px solid #839189; background: var(--white);
}
.job-filters summary { cursor: pointer; padding-block: 12px; min-height: 44px; font-weight: 650; }
.job-filter-fields { display: grid; gap: 12px; padding-block: 4px 12px; }
.job-filter-fields .search-field { padding: 0; border: 0; }
@media (min-width: 650px) {
  .job-filter-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .focused-search .search-submit { justify-self: start; }
}
