:root {
  --ink: #17191b;
  --ink-soft: #25292c;
  --paper: #f5f4f0;
  --white: #ffffff;
  --line: #d4d0c7;
  --muted: #656a6d;
  --red: #9f2727;
  --red-dark: #731c1e;
  --gold: #c2a34f;
  --focus: #806611;
  --green: #31734a;
  --shadow: 0 10px 28px rgba(20, 22, 24, .12);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--paper); color: var(--ink); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; transform: translateY(-160%); background: var(--white); padding: 12px 16px; }
.skip-link:focus { transform: none; }
.staging-banner { display: flex; flex-direction: column; gap: 2px; padding: 9px 16px; color: #17191b; background: #e3c96f; border-bottom: 1px solid #8e7628; text-align: center; font-size: .8rem; }
.site-header { position: relative; z-index: 20; color: var(--white); background: var(--ink); border-top: 4px solid var(--red); border-bottom: 1px solid #383d40; }
.header-inner, .section-inner, .footer-inner, .app-page { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.header-inner { width: min(1560px, calc(100% - 32px)); min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; min-width: 0; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; color: var(--ink); background: var(--gold); border: 2px solid #e2c875; font-weight: 900; }
.brand strong, .brand small { display: block; letter-spacing: 0; }
.brand strong { font-size: 1.06rem; }
.brand small { margin-top: 2px; color: #bfc3c5; font-size: .72rem; }
.desktop-nav { display: none; align-items: center; gap: clamp(10px, 1.2vw, 18px); font-size: .86rem; font-weight: 700; }
.desktop-nav a:not(.button), .link-button { color: #e8e9e9; text-decoration: none; }
.desktop-nav a:hover:not(.button), .link-button:hover { color: var(--gold); }
.desktop-nav form { margin: 0; }
.link-button { border: 0; padding: 0; background: none; cursor: pointer; }
.mobile-nav { position: relative; }
.mobile-nav summary { cursor: pointer; list-style: none; border: 1px solid #565c60; padding: 10px 12px; font-weight: 700; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; top: calc(100% + 13px); right: 0; width: min(280px, calc(100vw - 32px)); max-height: calc(100vh - 158px); max-height: calc(100dvh - 158px); overflow-y: auto; overscroll-behavior: contain; background: var(--ink-soft); border: 1px solid #4b5053; box-shadow: var(--shadow); }
.mobile-nav nav a, .mobile-nav nav form { display: block; width: 100%; padding: 14px 16px; border-bottom: 1px solid #414649; text-decoration: none; }
.mobile-nav nav .link-button { width: 100%; min-height: 44px; text-align: left; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid var(--red-dark); border-radius: 4px; padding: 12px 18px; color: var(--white); background: var(--red); box-shadow: 0 3px 0 var(--red-dark); font-weight: 800; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--red-dark); }
.button-small { min-height: 38px; padding: 8px 14px; }
.button-full { width: 100%; }
.button-secondary { border-color: rgba(255,255,255,.7); background: rgba(20,22,24,.55); box-shadow: none; }
.button-secondary:hover { background: var(--ink); }
.button-secondary-dark { border-color: var(--ink); color: var(--ink); background: transparent; box-shadow: none; }
.button-secondary-dark:hover { color: var(--white); background: var(--ink); }
.hero { position: relative; min-height: clamp(520px, 68vh, 620px); display: flex; align-items: flex-end; color: var(--white); background-image: url("../images/private-fire-dozer.17a1f8d6fe20.jpg"); background-size: cover; background-position: center 54%; }
.hero::before { position: absolute; inset: 0; content: ""; background: rgba(10, 12, 13, .68); }
.hero-inner { position: relative; z-index: 1; width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 76px 0 58px; }
.eyebrow { margin: 0 0 12px; color: #ead383; font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0; }
.eyebrow-dark { color: var(--red); }
.hero h1 { max-width: 800px; margin: 0; font-size: 2.4rem; line-height: 1.02; letter-spacing: 0; }
.hero-copy { max-width: 720px; margin: 20px 0 0; color: #eef0f0; font-size: 1rem; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.trust-line { margin: 24px 0 0; color: #e7d38e; font-weight: 800; }
.action-band { background: var(--ink); color: var(--white); }
.action-grid { display: grid; }
.action-item { min-height: 150px; display: grid; align-content: center; gap: 7px; padding: 24px 18px; border-bottom: 1px solid #3c4144; text-decoration: none; }
.action-item:hover { background: var(--ink-soft); }
.action-item > span { color: var(--gold); font-size: .75rem; font-weight: 900; }
.action-item strong { font-size: 1.08rem; }
.action-item small { color: #bbc0c2; line-height: 1.45; }
.purpose-section { padding: 72px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.purpose-grid { display: grid; gap: 28px; }
.purpose-grid h2 { max-width: 560px; margin: 0; font-size: 1.75rem; line-height: 1.08; }
.boundary-copy { max-width: 620px; color: #474c4f; font-size: 1.04rem; line-height: 1.68; }
.boundary-copy p { margin-top: 0; }
.message-stack { width: min(760px, calc(100% - 32px)); position: fixed; z-index: 50; top: 92px; left: 50%; transform: translateX(-50%); }
.message { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; padding: 13px 12px 13px 16px; border: 1px solid #aeb3b0; background: var(--white); box-shadow: var(--shadow); opacity: 1; transform: translateY(0); transition: opacity 180ms ease, transform 180ms ease; }
.message-success { border-left: 5px solid var(--green); }
.message-error { border-left: 5px solid var(--red); }
.message-is-closing { opacity: 0; transform: translateY(-6px); }
.message-dismiss { flex: 0 0 34px; width: 34px; height: 34px; border: 0; background: transparent; color: #4b504e; font: 700 1.45rem/1 Arial, sans-serif; cursor: pointer; }
.message-dismiss:hover { color: var(--red); background: #f2f0eb; }
.message-dismiss:focus-visible { color: var(--red); background: #f2f0eb; outline: 3px solid var(--focus); outline-offset: 2px; }
.app-page { padding: 44px 0 76px; }
.app-page-narrow { max-width: 860px; }
.page-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
.page-heading h1 { margin: 0; font-size: 2rem; }
.page-heading p:not(.eyebrow) { margin: 8px 0 0; color: var(--muted); }
.notice-panel { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; padding: 18px; border-left: 5px solid var(--gold); background: #fff9e6; }
.notice-panel p { margin: 5px 0 0; color: var(--muted); }
.notice-danger { border-left-color: var(--red); background: #fff0ed; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.offline-form-status { display: grid; gap: 14px; margin: 0 0 24px; padding: 16px; border: 1px solid #c4c7c8; border-left: 5px solid var(--gold); background: #f3f4f4; }
.offline-form-status p { margin: 5px 0 0; color: var(--muted); line-height: 1.45; }
.offline-form-status small { display: block; margin-top: 7px; color: #555b5e; }
.offline-form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.offline-form-actions .button { min-height: 40px; padding: 8px 12px; }
.invitation-qr { width: 208px; margin-top: 12px; padding: 8px; background: #fff; border: 2px solid var(--gold); }
.invitation-qr img { display: block; width: 192px; height: 192px; }
.role-search-label { display: grid; gap: 6px; margin-bottom: 8px; }
.role-search-status { color: var(--muted); font-size: 0.875rem; font-weight: 400; }
.role-show-all { margin: 0 0 8px; }
[data-role-options] { max-height: 300px; overflow-y: auto; padding: 8px; border: 1px solid #b9bdbf; background: #fff; }
[data-role-options] > div { min-height: 36px; display: flex; align-items: center; }
.role-search-control { display: grid; gap: 7px; margin-bottom: 10px; }
.role-search-control input { width: 100%; min-height: 44px; border: 1px solid #9ea3a5; border-radius: 3px; padding: 9px 11px; color: var(--ink); background: var(--white); }
.role-search-control input:focus { border-color: var(--focus); outline: 3px solid var(--focus); outline-offset: 2px; }
[data-role-search] { max-height: 320px; overflow-y: auto; padding: 8px; border: 1px solid #b9bdbf; background: #fff; }
[data-role-search] > div { min-height: 38px; display: flex; align-items: center; gap: 8px; }
.catalog-source { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 24px; margin: 24px 0; padding: 20px; border: 1px solid var(--line); border-left: 4px solid var(--gold); background: #fff; }
.catalog-source h2, .catalog-source p { margin: 0 0 7px; }
.catalog-source dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 0; }
.catalog-source dl div { min-width: 0; }
.catalog-source dt { color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.catalog-source dd { margin: 2px 0 0; overflow-wrap: anywhere; font-weight: 650; }
.catalog-source-empty { grid-template-columns: 1fr; }
.catalog-requirement-section { margin-top: 20px; }
.fieldset-intro { margin: -4px 0 14px; color: var(--muted); }
.catalog-requirement-list { display: grid; gap: 10px; }
.catalog-requirement-row { padding: 14px; border: 1px solid var(--line); background: #fff; }
.catalog-requirement-heading label { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.catalog-requirement-heading input { margin-top: 4px; }
.catalog-requirement-heading span { display: grid; gap: 2px; }
.catalog-requirement-heading small { color: var(--muted); font-weight: 400; }
.catalog-requirement-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 12px 0 0 28px; }
.catalog-requirement-controls p { margin: 0; }
.catalog-requirement-controls label { display: block; margin-bottom: 4px; font-size: .84rem; font-weight: 700; }
.catalog-requirement-controls select, .catalog-requirement-controls input[type="number"], .catalog-requirement-controls input[type="text"] { width: 100%; }
.catalog-requirement-controls .catalog-check label { display: flex; align-items: center; gap: 8px; min-height: 42px; margin: 0; }
.catalog-requirement-controls .catalog-notes { grid-column: 1 / -1; }
.catalog-requirement-form, .catalog-requirement-form fieldset, .catalog-requirement-form fieldset > p { min-width: 0; }
.catalog-requirement-form fieldset > p > input:not([type="checkbox"]):not([type="radio"]), .catalog-requirement-form fieldset > p > select, .catalog-requirement-form fieldset > p > textarea { width: 100%; max-width: 100%; }
.catalog-requirement-form select { text-overflow: ellipsis; }
.availability-form, .availability-form fieldset, .availability-form fieldset > p, .availability-form .form-disclosure, .availability-form .form-disclosure-body { min-width: 0; max-width: 100%; }
.availability-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .availability-form select, .availability-form textarea { width: 100%; max-width: 100%; }
.availability-form select { text-overflow: ellipsis; }
@media (max-width: 760px) { .catalog-source, .catalog-requirement-controls { grid-template-columns: 1fr; } .catalog-source dl { grid-template-columns: 1fr; } .catalog-requirement-controls { margin-left: 0; } }
.role-option-suggested { background: #fff9e6; }
.role-suggestion-badge { margin-left: auto; padding: 2px 6px; border: 1px solid #8f7328; color: #4f411d; background: #fff; font-size: .72rem; font-weight: 800; }
.optional-config-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 6px 0 18px; }
.optional-config-row > span { color: var(--muted); }
.pay-dialog { width: min(620px, calc(100% - 24px)); max-height: calc(100dvh - 32px); overflow-y: auto; border: 2px solid var(--gold); padding: 20px; background: #fff; color: var(--ink); }
.pay-dialog::backdrop { background: rgba(15, 17, 18, 0.72); }
.dialog-heading { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.dialog-heading h2 { margin: 0; }
.dialog-close { width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 2rem; line-height: 1; cursor: pointer; }
.dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.dialog-actions span { color: var(--muted); font-size: 0.9rem; }
.private-location-control { margin: 12px 0 18px; padding: 14px; border-left: 4px solid var(--gold); background: #f3f4f4; }
.private-location-control p { margin: 6px 0 10px; color: var(--muted); }
.private-location-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.private-location-control > span { display: block; margin-top: 8px; color: var(--muted); }
.offline-form-status.is-pending { border-left-color: #b56c10; background: #fff8e8; }
.offline-form-status.is-error { border-left-color: var(--red); background: #fff0f0; }
.offline-form-status.is-synced { border-left-color: #397952; background: #edf8f1; }
.text-action { min-height: 44px; display: inline-flex; align-items: center; border: 0; padding: 10px 2px; color: #6f171a; background: transparent; font-weight: 800; text-decoration: underline; cursor: pointer; }
.finance-page { width: min(1380px, calc(100% - 32px)); }
.finance-filter-grid { align-items: start; }
.finance-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); border: 1px solid var(--line); background: var(--line); gap: 1px; }
.finance-metrics > div { min-height: 88px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 14px 18px; background: var(--white); }
.finance-metrics span { color: var(--muted); font-size: .78rem; }
.finance-metrics strong { font-size: 1.55rem; }
.finance-incident-row small { margin-top: 7px; }
.section-title p { margin: -10px 0 16px; color: var(--muted); font-size: .84rem; }
.finance-matrix-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); background: var(--white); }
.finance-matrix { min-width: 920px; width: 100%; border-collapse: collapse; font-size: .78rem; }
.finance-matrix th, .finance-matrix td { min-width: 94px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.finance-matrix thead th { color: #414649; background: #f0f1f1; }
.finance-matrix thead th span, .finance-matrix tbody th span, .finance-matrix tbody th small { display: block; color: var(--muted); font-size: .7rem; }
.finance-matrix thead th:first-child, .finance-matrix tbody th { position: sticky; z-index: 2; left: 0; min-width: 190px; background: #faf9f6; }
.finance-matrix thead th:first-child { z-index: 3; background: #eceeed; }
.finance-matrix a { color: inherit; font-weight: 800; }
.matrix-state > a, .matrix-state > span { display: block; line-height: 1.25; }
.matrix-state small { display: flex; gap: 4px; margin-top: 7px; }
.matrix-state small b { display: inline-grid; width: 20px; height: 20px; place-items: center; border: 1px solid currentColor; font-size: .63rem; }
.matrix-state-missing, .matrix-state-returned, .matrix-state-signed-missing { color: #7f1518; background: #fff0f0; }
.matrix-state-draft, .matrix-state-saved-offline, .matrix-state-waiting-to-sync { color: #65520f; background: #fff8df; }
.matrix-state-submitted, .matrix-state-resubmitted, .matrix-state-company-reviewed { color: #274e70; background: #edf4fa; }
.matrix-state-company-accepted, .matrix-state-signed-uploaded, .matrix-state-final, .matrix-state-corrected { color: #245538; background: #edf8f1; }
.matrix-state-not-expected, .matrix-state-voided, .matrix-state-superseded { color: #5d6264; background: #f0f1f1; }
.finance-record-columns { display: grid; gap: 0 24px; }
.draft-conflict-panel { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; padding: 18px; border-left: 5px solid var(--red); background: #fff0f0; }
.draft-conflict-panel p { max-width: 780px; margin: 5px 0 0; color: #5b4848; line-height: 1.5; }
.draft-conflict-panel form { margin: 0; }
.draft-sync-panel { display: flex; flex-direction: column; gap: 12px; padding: 15px 17px; border: 1px solid var(--line); background: var(--white); }
.draft-sync-panel strong, .draft-sync-panel span { display: block; }
.draft-sync-panel span { margin-top: 4px; color: var(--muted); font-size: .82rem; }
.draft-sync-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.metric-row { display: grid; border: 1px solid var(--line); background: var(--white); }
.metric { min-height: 132px; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-bottom: 1px solid var(--line); }
.metric:last-child { border-bottom: 0; }
.metric span { color: var(--muted); font-size: .84rem; }
.metric strong { font-size: 1.8rem; }
.metric a { margin-top: auto; color: var(--red); font-weight: 700; }
.platform-metric-grid { display: grid; margin-top: 22px; border: 1px solid var(--line); background: var(--white); }
.platform-metric { min-width: 0; min-height: 124px; display: flex; flex-direction: column; gap: 5px; padding: 20px; border-bottom: 1px solid var(--line); }
.platform-metric:last-child { border-bottom: 0; }
.platform-metric span, .platform-metric small { color: var(--muted); }
.platform-metric span { font-size: .82rem; font-weight: 800; text-transform: uppercase; }
.platform-metric strong { font-size: 1.85rem; }
.platform-metric small { margin-top: auto; line-height: 1.4; }
.platform-admin-grid { display: grid; gap: 22px; margin-top: 22px; }
.platform-queue-list { border: 1px solid var(--line); background: var(--white); }
.platform-queue-row { display: grid; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.platform-queue-row:last-child { border-bottom: 0; }
.platform-queue-row > div:first-child strong, .platform-queue-row > div:first-child span { display: block; }
.platform-queue-row > div:first-child span { margin-top: 4px; color: var(--muted); line-height: 1.4; }
.platform-queue-row > div:nth-child(2) { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 2px 8px; }
.platform-queue-row > div:nth-child(2) b { font-size: 1.15rem; }
.platform-queue-row > div:nth-child(2) small { color: var(--muted); }
.platform-queue-row > a { color: var(--red); font-weight: 800; }
.approval-checklist { display: grid; gap: 12px; }
.approval-checklist-group { border: 1px solid var(--line); background: var(--white); }
.approval-checklist-group > summary { display: grid; gap: 12px; padding: 18px 20px; cursor: pointer; list-style-position: inside; }
.approval-checklist-group > summary span, .approval-checklist-group > summary strong, .approval-checklist-group > summary small { display: block; }
.approval-checklist-group > summary small { margin-top: 5px; color: var(--muted); line-height: 1.45; }
.approval-checklist-group[open] > summary { border-bottom: 1px solid var(--line); background: #faf9f6; }
.approval-checklist-items { display: grid; }
.approval-checklist-item { display: grid; gap: 18px; padding: 20px; border-bottom: 1px solid var(--line); }
.approval-checklist-item h2 { margin: 4px 0 10px; font-size: 1.08rem; }
.approval-checklist-item p { margin: 7px 0 0; line-height: 1.5; }
.approval-checklist-status { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.approval-checklist-status small { color: var(--muted); }
.approval-checklist-status .button { min-height: 40px; padding: 9px 12px; }
.approval-group-footer { padding: 15px 20px; background: #faf9f6; }
.approval-group-footer a { color: var(--red); font-weight: 800; }
.platform-identity-notice .status-chip { flex: 0 0 auto; }
.dashboard-grid, .detail-grid { display: grid; gap: 22px; margin-top: 22px; }
.workspace-panel, .next-panel, .detail-panel, .share-panel, .table-shell { border: 1px solid var(--line); background: var(--white); }
.workspace-panel, .detail-panel, .share-panel { padding: 24px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.panel-heading h2, .next-panel h2, .detail-panel h2, .share-panel h2 { margin: 0; font-size: 1.2rem; }
.panel-heading a { color: var(--red); font-weight: 700; }
.empty-workspace { padding: 34px 0 8px; }
.empty-workspace p { max-width: 550px; color: var(--muted); line-height: 1.55; }
.next-panel { padding: 24px; background: var(--ink); color: var(--white); border-color: var(--ink); }
.status-list { margin: 20px 0; }
.status-list div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid #414649; }
.status-list dt { color: #bcc1c3; }
.status-list dd { margin: 0; font-weight: 800; }
.status-good { color: #7fc496; }
.small-note { color: var(--muted); font-size: .82rem; line-height: 1.55; }
.next-panel .small-note { color: #aeb4b6; }
.next-panel .text-action, .trust-aside .text-action { color: #e7d38e; }
.form-page { width: min(1040px, calc(100% - 32px)); min-width: 0; margin: 0 auto; padding: 44px 0 76px; display: grid; gap: 20px; }
.form-page-narrow { width: min(560px, calc(100% - 32px)); }
.form-shell { min-width: 0; max-width: 100%; padding: 26px; border: 1px solid var(--line); background: var(--white); }
.form-shell h1 { margin: 0 0 10px; font-size: 1.9rem; }
.recovery-policy-form, .security-policy-form { width: 100%; }
.policy-form-section { display: grid; gap: 18px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.policy-form-section h3 { margin: 0 0 6px; font-size: 1.12rem; }
.policy-form-section > div:first-child p { margin: 0; color: var(--muted); line-height: 1.5; }
.policy-field-grid { display: grid; gap: 18px; align-items: start; }
.form-intro { margin: 0 0 24px; color: var(--muted); line-height: 1.55; }
.form-context-action { margin: 0 0 20px; padding: 14px 16px; border-left: 4px solid var(--gold); background: var(--paper); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.need-progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 28px; border: 1px solid var(--line); }
.need-progress a { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px; color: var(--muted); text-decoration: none; font-size: .78rem; font-weight: 800; }
.need-progress a + a { border-left: 1px solid var(--line); }
.need-progress a[aria-current="step"] { color: var(--ink); background: #fff7da; }
.need-progress span { display: inline-grid; flex: 0 0 24px; height: 24px; place-items: center; border: 1px solid #8f7328; color: var(--ink); background: var(--gold); }
.needs-page { display: grid; gap: 24px; }
.needs-actions { padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.needs-actions a { color: var(--ink); font-weight: 800; }
.queue-nav { gap: 8px 22px; }
.queue-nav a[aria-current=page] { color: var(--red); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.queue-filter-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.queue-search-field { grid-column: span 2; }
.queue-filter-actions { min-height: 46px; display: flex; align-items: center; gap: 14px; }
.queue-record > .heading-actions { flex: 0 0 auto; justify-content: flex-end; }
.queue-footer-action { padding: 14px 20px; text-align: right; }
.need-row, .compact-record { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.need-row > div, .compact-record { min-width: 0; }
.need-row strong, .need-row small, .compact-record strong, .compact-record span { display: block; }
.need-row small, .compact-record span { margin-top: 4px; color: var(--muted); }
.need-row:hover, .compact-record:hover { background: #faf9f6; }
.need-type-picker { display: grid; gap: 12px; }
.need-type-option { display: flex; align-items: center; gap: 14px; min-height: 66px; padding: 14px 16px; border: 1px solid var(--line); cursor: pointer; }
.need-type-option:has(input:checked) { border-color: #8f7328; background: #fff7da; }
.need-type-option input { width: 20px; height: 20px; }
.need-type-picker .form-actions { margin-top: 12px; }
.need-item-list { display: grid; gap: 12px; }
.need-item-record { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; border: 1px solid var(--line); background: var(--white); }
.need-item-record h2 { margin: 7px 0 3px; font-size: 1.15rem; }
.need-item-record p, .need-item-record small { margin: 0; color: var(--muted); }
.requirement-summary { display: grid; gap: 3px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.requirement-summary span { color: var(--muted); font-size: .88rem; }
.record-actions, .request-command-bar, .request-command-bar > div { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.record-actions form, .request-command-bar form { margin: 0; }
.request-command-bar { justify-content: space-between; padding: 18px 20px; border: 1px solid var(--line); background: var(--white); }
.subrecord-list { margin-top: 24px; border: 1px solid var(--line); }
.offer-item-form { margin: 12px 0; padding: 14px; border: 1px solid var(--line); background: #faf9f6; }
.offer-document-list { display: grid; gap: 10px; min-width: min(100%, 360px); }
.offer-document-list h2, .offer-document-list h3 { margin: 0; font-size: 1rem; }
.document-selection { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--line); background: var(--white); }
.document-selection small { display: block; overflow-wrap: anywhere; }
.document-selection.is-revoked { opacity: .7; }
.offer-comparison { display: grid; gap: 14px; }
.offer-column { padding: 20px; border: 1px solid var(--line); background: var(--white); }
.offer-column h2 { margin: 8px 0 4px; font-size: 1.2rem; }
.offer-line { display: grid; gap: 3px; padding: 13px 0; border-top: 1px solid var(--line); }
.offer-line span, .offer-line small { color: var(--muted); }
.accept-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 20px; margin: 12px 0; padding: 14px; border: 1px solid var(--line); }
.accept-line > span:last-child { grid-column: 1 / -1; color: var(--muted); font-size: .82rem; }
.notice-warning { border-left-color: var(--red); }
@media (min-width: 840px) { .offer-comparison { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .need-progress { grid-template-columns: 1fr 1fr; } .need-progress a:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); } .need-progress a:nth-child(4) { border-top: 1px solid var(--line); } .need-item-record, .need-row { align-items: flex-start; flex-direction: column; } .accept-line { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .queue-search-field { grid-column: span 1; } .queue-record > .heading-actions { justify-content: flex-start; } }
.field { margin-bottom: 18px; }
.field-choice-group { min-width: 0; border: 0; padding: 0; }
.field-choice-group > legend { margin-bottom: 7px; padding: 0; font-size: .9rem; font-weight: 800; }
.field > label:not(.check-row) { display: block; margin-bottom: 7px; font-size: .9rem; font-weight: 800; }
.field input:not([type=checkbox]), .field select, .field textarea { width: 100%; min-height: 46px; border: 1px solid #9ea3a5; border-radius: 3px; padding: 10px 12px; color: var(--ink); background: var(--white); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--focus); outline: 3px solid var(--focus); outline-offset: 2px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; line-height: 1.4; }
.check-row input { width: 20px; height: 20px; flex: 0 0 20px; }
.help-text { margin-top: 6px; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.help-text ul { margin: 6px 0 0; padding-left: 18px; }
.error-text, .form-alert { color: #7f1518; font-size: .86rem; font-weight: 700; }
.error-text span { display: block; margin-top: 4px; }
.form-error-summary { margin-bottom: 20px; padding: 16px 18px; border-left: 5px solid var(--red); background: #fff0f0; }
.form-error-summary strong { display: block; margin-bottom: 8px; }
.form-error-summary ul { margin: 0; padding-left: 20px; }
.form-error-summary a { min-height: 28px; display: inline-flex; align-items: center; }
.form-alert { margin-bottom: 18px; padding: 12px; background: #fff0f0; border-left: 4px solid var(--red); }
.form-foot { text-align: center; color: var(--muted); }
.trust-aside { padding: 26px; color: var(--white); background: var(--ink); border-top: 5px solid var(--gold); }
.trust-aside strong { font-size: 1.25rem; line-height: 1.35; }
.trust-aside p { color: #bfc4c6; line-height: 1.55; }
.status-page { min-height: 55vh; display: grid; place-items: center; padding: 48px 16px; }
.status-page section { width: min(640px, 100%); padding: 32px; border-left: 5px solid var(--gold); background: var(--white); }
.status-page h1 { margin-top: 0; }
.status-page p { color: var(--muted); line-height: 1.6; }
.status-page .button { margin-top: 14px; }
.security-note { margin: 20px 0; padding: 14px; border-left: 4px solid var(--green); background: #eef7f1; }
.security-note p { margin: 5px 0 0; color: #46524a; }
.table-heading { display: flex; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.table-heading > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.table-heading span { color: var(--muted); font-size: .84rem; }
.table-scroll { max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
.table-scroll table { width: 100%; min-width: 720px; border-collapse: collapse; }
.table-scroll th, .table-scroll td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.table-scroll th { color: #414649; background: #f0f1f1; font-size: .78rem; }
.table-scroll:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.table-heading > .email-operations-actions { flex-direction: row; align-items: center; overflow: visible; }
.email-operations-actions > details { position: relative; }
.email-operations-actions > details > summary { min-height: 40px; display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid var(--line-strong); background: var(--white); cursor: pointer; font-weight: 800; list-style: none; }
.email-operations-actions > details > summary::-webkit-details-marker { display: none; }
.email-operations-actions > details[open] > summary { border-color: var(--focus); outline: 2px solid var(--focus); outline-offset: 2px; }
.email-operations-actions form { position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; width: min(380px, calc(100vw - 32px)); max-height: 72vh; overflow: auto; padding: 16px; border: 1px solid var(--line-strong); background: var(--white); box-shadow: 0 12px 28px rgba(23, 25, 27, .2); }
.record-row { display: grid; gap: 8px; padding: 17px 20px; border-bottom: 1px solid var(--line); text-decoration: none; }
.record-row:last-child { border-bottom: 0; }
.record-row:hover { background: #faf9f6; }
.record-row strong, .record-row small { display: block; }
.record-row small, .record-row > span:last-child { color: var(--muted); font-size: .83rem; }
.record-status { color: var(--green); font-size: .83rem; font-weight: 800; }
.empty-table { padding: 42px 20px; text-align: center; }
.empty-table p { color: var(--muted); }
.detail-list { margin: 20px 0 0; }
.detail-list div { display: grid; gap: 5px; padding: 13px 0; border-top: 1px solid var(--line); }
.detail-list dt { color: var(--muted); font-size: .82rem; }
.detail-list dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.hash-value { font-family: Consolas, monospace; font-size: .76rem; }
.share-panel p { color: var(--muted); line-height: 1.5; }
.nav-count { display: inline-grid; min-width: 20px; height: 20px; place-items: center; padding: 0 5px; border-radius: 10px; color: var(--ink); background: var(--gold); font-size: .7rem; }
.search-shell { margin-bottom: 22px; padding: 20px; border: 1px solid var(--line); background: var(--white); }
.search-fields { display: grid; gap: 14px; align-items: end; }
.search-fields .field { margin: 0; }
.results-heading { display: flex; flex-direction: column; gap: 5px; margin: 24px 0 12px; }
.results-heading span { color: var(--muted); font-size: .84rem; }
.listing-table { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.job-row { display: grid; gap: 14px; padding: 20px; border-bottom: 1px solid var(--line); text-decoration: none; }
.job-row:last-child { border-bottom: 0; }
a.job-row:hover { background: #faf9f6; }
.job-row h2, .message-row h2 { margin: 7px 0 4px; font-size: 1.12rem; }
.job-row p, .message-row p { margin: 0; color: var(--muted); line-height: 1.45; }
.job-row > div:nth-child(2), .job-row > div:nth-child(3) { display: flex; flex-direction: column; gap: 5px; }
.job-row > div:nth-child(2) span, .job-row > div:nth-child(3) span { color: var(--muted); font-size: .82rem; }
.status-chip { display: inline-flex; width: fit-content; padding: 4px 7px; border: 1px solid #b9a45c; color: #5c4b12; background: #fff7da; font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.status-published, .status-contacted, .status-hired { border-color: #75a387; color: #245538; background: #edf8f1; }
.status-denied { border-color: #bd7777; color: #7b2020; background: #fff0f0; }
.status-paused, .status-withdrawn, .status-not_selected { border-color: #a9adaf; color: #54595c; background: #f1f2f2; }
.status-offered, .status-interviewing { border-color: #7896b3; color: #274e70; background: #edf4fa; }
.pagination { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; }
.pagination a, .text-action { color: var(--red); font-weight: 800; }
.button-approve { border-color: #2e6b43; background: #2e6b43; }
.button-approve:hover { border-color: #214f31; background: #214f31; }
.button-deny { border-color: #9d2929; background: #9d2929; }
.button-deny:hover { border-color: #761e1e; background: #761e1e; }
.job-facts { display: grid; gap: 1px; margin: -24px -24px 28px; background: var(--line); }
.job-facts > div { min-height: 102px; display: flex; flex-direction: column; gap: 5px; justify-content: center; padding: 18px 20px; background: #faf9f6; }
.job-facts span, .job-facts small { color: var(--muted); font-size: .78rem; }
.job-description h2 { margin: 30px 0 10px; font-size: 1.18rem; }
.long-copy { color: #454a4d; line-height: 1.68; }
.long-copy p { margin-top: 0; }
.job-action-panel form { margin-top: 12px; }
.job-action-panel .text-action { display: block; margin-top: 20px; }
.status-callout { padding: 13px; background: #2c3134; line-height: 1.45; }
.structured-form fieldset { margin: 30px 0 0; border: 0; border-top: 1px solid var(--line); padding: 22px 0 0; }
.structured-form legend { padding: 0 14px 0 0; font-size: 1.05rem; font-weight: 900; }
.form-grid { display: grid; gap: 0 18px; }
.workspace-section { margin-top: 34px; }
.workspace-section > h2 { margin: 0 0 14px; font-size: 1.25rem; }
.work-summary { border: 1px solid var(--line); background: var(--white); }
.work-summary .panel-heading { padding: 20px 22px; }
.summary-actions { display: grid; }
.summary-actions a { min-height: 112px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 20px 22px; border-bottom: 1px solid var(--line); text-decoration: none; }
.summary-actions a:last-child { border-bottom: 0; }
.summary-actions a:hover { background: #faf9f6; }
.summary-actions strong { font-size: 1.7rem; }
.summary-actions span { color: var(--muted); }
.applicant-list { border-top: 1px solid var(--line); }
.applicant-row { display: grid; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.applicant-summary h2 { margin: 9px 0 4px; font-size: 1.3rem; }
.applicant-summary > p { color: var(--muted); }
.applicant-summary blockquote { margin: 18px 0; padding: 15px 18px; border-left: 4px solid var(--gold); background: var(--white); line-height: 1.55; }
.review-form { padding: 20px; border: 1px solid var(--line); background: var(--white); }
.danger-action { color: #851e21; cursor: pointer; }
.message-row { display: flex; flex-direction: column; gap: 8px; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--line); text-decoration: none; }
.message-row:last-child { border-bottom: 0; }
.message-row:hover { background: #faf9f6; }
.message-row > span { color: var(--muted); font-size: .82rem; }
.message-thread { display: grid; gap: 14px; }
.message-bubble { max-width: 760px; padding: 18px 20px; border: 1px solid var(--line); background: var(--white); }
.message-bubble header { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.message-bubble time { color: var(--muted); font-size: .76rem; }
.message-bubble p { margin: 0; line-height: 1.58; }
.message-own { justify-self: end; border-color: #b8a158; background: #fff9e6; }
.message-composer { margin-top: 24px; padding: 22px; border-top: 4px solid var(--gold); background: var(--white); }
.notification-list { border-top: 1px solid var(--line); }
.notification-list form { margin: 0; }
.notification-row { width: 100%; display: grid; gap: 7px; padding: 18px 20px; border: 0; border-bottom: 1px solid var(--line); text-align: left; color: var(--ink); background: var(--white); cursor: pointer; }
.notification-row:hover { background: #faf9f6; }
.notification-row time, .notification-row > span:not(.status-chip) { color: var(--muted); font-size: .82rem; }
.notification-unread { border-left: 5px solid var(--red); }
.heading-actions, .inline-actions, .record-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.visibility-note { margin-bottom: 24px; padding: 17px 19px; border-left: 5px solid #7b8083; background: #eceeed; }
.visibility-note p { margin: 5px 0 0; color: #4e5457; line-height: 1.5; }
.visibility-on { border-left-color: var(--green); background: #edf7f0; }
.profile-record { display: flex; flex-direction: column; gap: 14px; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.profile-record:last-child { border-bottom: 0; }
.profile-record strong, .profile-record span, .profile-record small { display: block; }
.profile-record span { margin-top: 4px; color: #454a4d; }
.profile-record small { margin-top: 5px; color: var(--muted); }
.record-actions form { margin: 0; }
.record-actions a, .record-actions button { font-size: .86rem; font-weight: 800; }
.danger-action { border: 0; padding: 5px 0; background: transparent; font-weight: 800; }
.directory-row { display: flex; flex-direction: column; gap: 15px; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--line); text-decoration: none; }
.directory-row:last-child { border-bottom: 0; }
.directory-row:hover { background: #faf9f6; }
.directory-row h2 { margin: 8px 0 4px; font-size: 1.18rem; }
.directory-row p, .directory-row small { margin: 0; color: var(--muted); line-height: 1.45; }
.directory-row > strong { color: var(--red); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 24px; }
.tag-list span { padding: 7px 9px; border: 1px solid #c6b978; background: #fff8df; font-size: .82rem; font-weight: 700; }
.compact-list { border-top: 1px solid var(--line); }
.compact-list > a, .compact-list > div { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.compact-list strong, .compact-list span, .compact-list small { display: block; }
.compact-list span, .compact-list small { margin-top: 4px; color: var(--muted); font-size: .84rem; }
.compact-list p:not(.small-note) { margin: 8px 0 0; color: #4e5356; line-height: 1.5; }
.external-action { display: block; margin-top: 13px; overflow-wrap: anywhere; }
.inline-actions { margin-top: 15px; }
.section-actions { display: flex; flex-wrap: wrap; gap: 18px; margin: -10px 0 24px; }
.resource-quick-form { margin-top: 24px; }
.resource-type-picker { display: grid; gap: 7px; }
.resource-type-picker > label { margin: 0 !important; }
.resource-type-picker > label:nth-of-type(2) { margin-top: 8px !important; }
.form-disclosure { margin: 22px 0; border: 1px solid var(--line); background: var(--white); }
.form-disclosure > summary { padding: 16px 18px; cursor: pointer; background: #faf9f6; font-weight: 800; }
.form-disclosure-body { padding: 4px 18px 18px; border-top: 1px solid var(--line); }
.form-disclosure-body > .help-text { margin: 14px 0 20px; }
.resource-agency-picker, .agency-type-picker { display: grid; gap: 7px; }
.resource-agency-picker > label, .agency-type-picker > label { margin: 0 !important; }
.resource-agency-picker > label:nth-of-type(2), .agency-type-picker > label:nth-of-type(2) { margin-top: 8px !important; }
.resource-setup-drawer { margin-top: 26px; border: 1px solid var(--line); background: var(--white); }
.resource-setup-drawer > summary { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; cursor: pointer; background: #faf9f6; font-weight: 800; }
.resource-setup-drawer > summary span, .resource-setup-drawer > summary strong, .resource-setup-drawer > summary small { display: block; }
.resource-setup-drawer > summary small { margin-top: 4px; color: var(--muted); font-weight: 400; }
.resource-setup-body { padding: 0 20px 4px; }
.resource-progress-actions { display: flex; justify-content: flex-end; padding: 2px 0 8px; }
.sticky-form-actions.resource-save-actions { position: static; justify-content: flex-start; margin-bottom: 8px; box-shadow: none; }
.plain-submit { border: 0; padding: 10px 2px; background: transparent; cursor: pointer; }
.configuration-summary { display: grid; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.configuration-summary > div { min-height: 92px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.configuration-summary > div:last-child { border-bottom: 0; }
.configuration-summary span { color: var(--muted); font-size: .78rem; }
.configuration-summary strong { line-height: 1.35; }
.type-criteria-band { padding: 20px; border-left: 5px solid var(--gold); background: #fff9e6; }
.type-criteria-band > div strong, .type-criteria-band > div span { display: block; }
.type-criteria-band > div span { margin-top: 4px; }
.type-criteria-band dl { display: grid; gap: 8px; margin: 18px 0; }
.type-criteria-band dl div { display: grid; grid-template-columns: minmax(120px, .45fr) 1fr; gap: 12px; }
.type-criteria-band dt { color: var(--muted); }
.type-criteria-band dd { margin: 0; font-weight: 700; }
.type-criteria-band p { margin: 14px 0 0; color: #59523d; font-size: .84rem; }
.dynamic-resource-form { margin-top: 30px; }
.resource-question-group { margin: 0; padding: 24px 0 8px; border: 0; border-top: 1px solid var(--line); }
.resource-question-group legend { padding: 0 16px 0 0; font-size: 1.15rem; font-weight: 900; }
.resource-question-grid { display: grid; gap: 0 24px; margin-top: 18px; }
.type-driver-field { padding: 14px; border-left: 4px solid var(--gold); background: #fff9e6; }
.type-driver-field label small { display: inline-block; margin-left: 6px; color: #715d19; font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.official-options-group { border-top-color: #b49a43; }
.related-resource-group { border-top-color: #758894; }
.sticky-form-actions { position: sticky; z-index: 5; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 20px 0 36px; padding: 14px 16px; border-top: 1px solid var(--line); background: rgba(255,255,255,.97); box-shadow: 0 -5px 16px rgba(20,22,23,.08); }
.sticky-form-actions span { color: var(--muted); font-size: .82rem; }
.configuration-actions { display: grid; }
.configuration-actions a { min-height: 96px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 18px 20px; border-bottom: 1px solid var(--line); text-decoration: none; }
.configuration-actions a:last-child { border-bottom: 0; }
.configuration-actions a:hover { background: #faf9f6; }
.configuration-actions span { color: var(--muted); font-size: .82rem; }
.company-capability-section { border-left: 5px solid #7b8083; }
.resource-row { display: grid; gap: 14px; padding: 20px; border-bottom: 1px solid var(--line); text-decoration: none; }
.resource-row:last-child { border-bottom: 0; }
.resource-row:hover { background: #faf9f6; }
.resource-row h2 { margin: 8px 0 4px; font-size: 1.2rem; }
.resource-row p { margin: 0; color: var(--muted); }
.resource-row > div:nth-child(n+2) { display: flex; flex-direction: column; gap: 5px; }
.resource-row span { color: var(--muted); font-size: .82rem; }
.metric-status { font-size: 1.15rem !important; line-height: 1.25; }
.dark-compact-list { margin-top: 16px; border-top: 1px solid #414649; }
.dark-compact-list a { display: block; padding: 13px 0; border-bottom: 1px solid #414649; text-decoration: none; }
.dark-compact-list strong, .dark-compact-list span { display: block; }
.dark-compact-list span { margin-top: 4px; color: #b8bec0; font-size: .8rem; }
.status-alert { color: #8b1f22; }
.equipment-exchange-page { width: min(1280px, calc(100% - 32px)); }
.exchange-heading, .exchange-detail-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 26px; }
.exchange-heading h1, .exchange-detail-heading h1 { margin: 0; font-size: 2rem; letter-spacing: 0; }
.exchange-heading p:not(.eyebrow), .exchange-detail-heading p { margin: 8px 0 0; color: var(--muted); }
.exchange-filters { margin-bottom: 22px; border: 1px solid var(--line); background: var(--white); }
.exchange-search-row { display: grid; gap: 12px; align-items: end; padding: 18px; }
.exchange-search-row .field, .filter-grid .field { margin: 0; }
.filter-drawer { border-top: 1px solid var(--line); }
.filter-drawer summary { cursor: pointer; padding: 14px 18px; font-weight: 800; }
.filter-drawer[open] summary { border-bottom: 1px solid var(--line); }
.filter-grid { display: grid; gap: 16px; padding: 18px; }
.filter-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 0 18px 18px; }
.filter-actions a { color: var(--red); font-weight: 800; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 18px 0 12px; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); background: var(--white); }
.view-toggle a { min-width: 58px; padding: 8px 12px; text-align: center; text-decoration: none; }
.view-toggle a[aria-current=page] { color: var(--white); background: var(--ink); }
.exchange-results { display: grid; gap: 16px; margin-bottom: 34px; }
.exchange-results-grid, .exchange-results-compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, 255px), 1fr)); }
.exchange-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.exchange-card > a { display: grid; height: 100%; color: inherit; text-decoration: none; }
.exchange-card:hover { border-color: #8b742c; box-shadow: 0 8px 22px rgba(20,22,23,.1); }
.exchange-card-image { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 4 / 3; color: #f2e5b0; background: #303537; }
.exchange-card-image img { width: 100%; height: 100%; object-fit: cover; }
.exchange-card-image > span { max-width: 80%; font-weight: 900; text-align: center; }
.listing-type-flag { position: absolute; top: 10px; left: 10px; padding: 6px 8px; color: var(--white); background: rgba(23,25,27,.9); font-size: .7rem; font-weight: 900; }
.exchange-card-copy { display: grid; align-content: start; gap: 7px; padding: 15px; }
.exchange-card-heading { display: grid; gap: 7px; }
.exchange-card-copy h2 { margin: 0; overflow-wrap: anywhere; font-size: 1.04rem; line-height: 1.3; }
.exchange-card-copy p { margin: 0; color: var(--muted); font-size: .84rem; }
.exchange-card-copy strong { font-size: 1rem; }
.exchange-card-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; padding-top: 6px; border-top: 1px solid #ece9e2; color: var(--muted); font-size: .75rem; }
.exchange-results-list .exchange-card > a { grid-template-columns: 122px minmax(0, 1fr); }
.exchange-results-list .exchange-card-image { height: 100%; min-height: 116px; aspect-ratio: auto; }
.exchange-results-list .exchange-card-heading { grid-template-columns: minmax(0, 1fr) auto; }
.exchange-secondary { margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line); }
.section-title h2 { margin: 0 0 18px; font-size: 1.5rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: var(--muted); font-size: .84rem; }
.breadcrumb a { color: var(--red); font-weight: 800; }
.listing-kickers { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.listing-kickers span, .seller-badge { display: inline-flex; width: fit-content; padding: 6px 8px; color: var(--ink); background: #e8d58f; border: 1px solid #9b8130; font-size: .7rem; font-weight: 900; text-transform: uppercase; }
.listing-price { display: flex; flex-direction: column; gap: 3px; }
.listing-price strong { font-size: 1.75rem; }
.listing-price span { color: var(--muted); font-size: .82rem; }
.exchange-detail-layout { display: grid; gap: 26px; align-items: start; }
.exchange-detail-main { min-width: 0; }
.exchange-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 30px; }
.exchange-gallery img, .gallery-placeholder { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #303537; }
.exchange-gallery img:first-child, .gallery-placeholder:first-child { grid-column: 1 / -1; }
.gallery-placeholder { display: grid; place-items: center; padding: 30px; color: #f2e5b0; font-weight: 900; text-align: center; }
.exchange-description, .exchange-facts, .exchange-disclosures { padding: 26px 0; border-top: 1px solid var(--line); }
.exchange-description h2, .exchange-facts h2, .exchange-disclosures h2, .buyer-checklist h2 { margin: 0 0 18px; font-size: 1.35rem; }
.exchange-facts dl, .exchange-disclosures dl { display: grid; margin: 0; border: 1px solid var(--line); background: var(--white); }
.exchange-facts dl div, .exchange-disclosures dl div { display: grid; gap: 6px; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.exchange-facts dl div:last-child, .exchange-disclosures dl div:last-child { border-bottom: 0; }
.exchange-facts dt, .exchange-disclosures dt { color: var(--muted); font-size: .78rem; font-weight: 800; }
.exchange-facts dd, .exchange-disclosures dd { margin: 0; font-weight: 700; }
.exchange-seller-panel { padding: 22px; color: var(--white); background: var(--ink); border-top: 5px solid var(--gold); }
.seller-identity { padding-bottom: 18px; border-bottom: 1px solid #414649; }
.seller-identity h2 { margin: 12px 0 4px; font-size: 1.25rem; }
.seller-identity p { margin: 0; color: #bfc4c6; }
.exchange-seller-panel form { margin-top: 20px; }
.exchange-seller-panel .field label { color: #eef0f0; }
.exchange-seller-panel .help-text { color: #bfc4c6; }
.seller-actions { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; }
.seller-actions form { margin: 0; }
.seller-actions button, .seller-actions a { border: 0; padding: 0; color: #e3cd7e; background: transparent; font: inherit; font-weight: 800; cursor: pointer; }
.transaction-boundary { margin-top: 22px; padding-top: 18px; border-top: 1px solid #414649; }
.transaction-boundary p { margin-bottom: 0; color: #bfc4c6; font-size: .8rem; line-height: 1.55; }
.buyer-checklist { margin-top: 34px; padding: 24px; border: 1px solid #9b8130; background: #fff9e6; }
.buyer-checklist > div { display: grid; gap: 9px; }
.buyer-checklist span { padding-left: 16px; border-left: 3px solid var(--gold); }
.buyer-checklist p { margin: 18px 0 0; color: var(--muted); font-size: .8rem; }
.dynamic-question-note { margin: 20px 0; padding: 16px; border-left: 4px solid var(--gold); background: #fff9e6; }
.dynamic-question-note p { margin: 5px 0 0; color: var(--muted); }
.exchange-photo-manager { grid-column: 1 / -1; padding: 24px; border: 1px solid var(--line); background: var(--white); }
.exchange-photo-manager h2 { margin-top: 0; }
.exchange-photo-manager > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.exchange-photo-manager article { position: relative; }
.exchange-photo-manager img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.exchange-photo-manager form { position: absolute; right: 6px; bottom: 8px; }
.exchange-photo-manager button { border: 1px solid var(--white); padding: 6px 8px; color: var(--white); background: rgba(23,25,27,.9); cursor: pointer; }
.archive-form { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.share-workspace { display: grid; gap: 24px; padding: 22px; }
.share-workspace > form { max-width: 520px; }
.packet-row-action { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.packet-row-action a { color: var(--red); font-weight: 800; }
.packet-row-action small { color: var(--muted); }
.packet-create-page .field ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.packet-create-page .field li label { display: flex; align-items: flex-start; gap: 9px; line-height: 1.4; }
.packet-create-page .field li input { width: 20px; height: 20px; flex: 0 0 20px; }
.packet-preview { border: 1px solid var(--line); background: var(--white); }
.packet-preview .panel-heading { padding: 20px 22px; }
.packet-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--line); gap: 1px; }
.packet-metrics div { min-height: 92px; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 16px 20px; background: #faf9f6; }
.packet-metrics span { color: var(--muted); font-size: .78rem; }
.packet-metrics strong { font-size: 1.55rem; }
.packet-checklist > div { display: flex; flex-direction: column; gap: 10px; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.packet-checklist > div:last-child { border-bottom: 0; }
.packet-checklist strong, .packet-checklist small { display: block; }
.packet-checklist small { margin-top: 4px; color: var(--muted); line-height: 1.45; }
.packet-summary-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.packet-downloads { display: grid; gap: 10px; margin: 20px 0; }
.packet-downloads .button { width: 100%; }
.status-complete, .status-satisfied { border-color: #75a387; color: #245538; background: #edf8f1; }
.status-failed, .status-missing, .status-expired { border-color: #b66b6e; color: #7f1518; background: #fff0f0; }
.status-building, .status-running, .status-queued { border-color: #7896b3; color: #274e70; background: #edf4fa; }
.status-optional_missing, .status-not_applicable { border-color: #a9adaf; color: #54595c; background: #f1f2f2; }
.compliance-page { width: min(1240px, calc(100% - 32px)); }
.compliance-disclaimer { margin: 0 0 24px; padding: 18px 20px; border-left: 5px solid var(--gold); background: #fff9e6; }
.compliance-disclaimer p { max-width: 980px; margin: 6px 0 0; color: #55533f; line-height: 1.55; }
.compliance-filter-grid { display: grid; gap: 14px; align-items: end; }
.compliance-filter-grid .field { margin: 0; }
.compliance-filter-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.compliance-row { display: grid; gap: 18px; padding: 22px 20px; border-bottom: 1px solid var(--line); text-decoration: none; }
.compliance-row:last-child { border-bottom: 0; }
.compliance-row:hover { background: #faf9f6; }
.compliance-row h2 { margin: 8px 0 6px; font-size: 1.16rem; }
.compliance-row p { max-width: 780px; margin: 0; color: var(--muted); line-height: 1.5; }
.compliance-row dl { display: grid; gap: 9px; margin: 0; }
.compliance-row dl div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px; }
.compliance-row dt { color: var(--muted); font-size: .76rem; }
.compliance-row dd { margin: 0; font-size: .82rem; font-weight: 800; overflow-wrap: anywhere; }
.status-current { border-color: #75a387; color: #245538; background: #edf8f1; }
.status-superseded, .status-archived { border-color: #a9adaf; color: #54595c; background: #f1f2f2; }
.compliance-detail-heading { margin: 22px 0 26px; }
.compliance-detail-heading h1 { max-width: 900px; margin: 10px 0 8px; font-size: 2rem; }
.compliance-detail-heading small { display: block; margin-bottom: 6px; color: var(--red); font-size: .76rem; font-weight: 900; text-transform: uppercase; }
.compliance-detail-heading p { max-width: 900px; margin: 0; color: var(--muted); line-height: 1.6; }
.compliance-detail-grid { display: grid; gap: 24px; align-items: start; }
.compliance-main { display: grid; gap: 24px; min-width: 0; }
.compliance-section { margin: 0; }
.compliance-requirements article { padding: 20px 0; border-bottom: 1px solid var(--line); }
.compliance-requirements article:last-child { border-bottom: 0; }
.compliance-requirements h3 { margin: 9px 0 7px; font-size: 1.04rem; }
.compliance-requirements p { margin: 0 0 9px; color: #454a4d; line-height: 1.6; }
.compliance-requirements small { display: block; margin-top: 5px; color: var(--muted); line-height: 1.45; }
.requirement-recommended { border-color: #7896b3; color: #274e70; background: #edf4fa; }
.compliance-source-panel { padding: 24px; color: var(--white); background: var(--ink); border-top: 5px solid var(--gold); }
.compliance-source-panel h2 { margin: 0 0 18px; }
.compliance-source-panel .status-list dd { max-width: 58%; text-align: right; overflow-wrap: anywhere; }
.version-links, .related-workflows { display: grid; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #414649; }
.version-links a { color: #e3c96f; }
.related-workflows span { color: #c9cdcf; font-size: .82rem; line-height: 1.4; }
.directory-disclaimer { margin-bottom: 24px; padding: 18px 20px; border-left: 5px solid var(--gold); background: #fff9e6; }
.directory-disclaimer strong { display: block; }
.directory-disclaimer p { max-width: 940px; margin: 5px 0 0; color: var(--muted); line-height: 1.5; }
.directory-filter-grid { display: grid; gap: 14px; align-items: end; }
.directory-filter-grid .field { margin: 0; }
.directory-filter-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.directory-row-meta { display: grid; gap: 5px; min-width: 190px; }
.directory-row-meta strong { color: var(--ink); }
.directory-row-meta span { color: var(--muted); font-size: .82rem; }
.directory-detail-grid { display: grid; gap: 24px; align-items: start; }
.directory-main { display: grid; gap: 22px; }
.content-section { padding: 24px; border: 1px solid var(--line); background: var(--white); }
.content-section h2 { margin: 0 0 14px; }
.content-section .long-copy { margin: 0; color: #464b4e; line-height: 1.7; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.directory-contact-panel, .directory-source-panel { padding: 24px; color: var(--white); background: var(--ink); border-top: 5px solid var(--gold); }
.directory-contact-panel h2, .directory-source-panel h2 { margin: 0 0 18px; }
.directory-contact-panel .status-list, .directory-source-panel .status-list { margin-bottom: 22px; }
.directory-contact-panel .status-list a, .directory-source-panel .status-list a { color: #e3c96f; }
.directory-contact-panel .status-list dd, .directory-source-panel .status-list dd { max-width: 58%; text-align: right; overflow-wrap: anywhere; }
.inquiry-block { margin-top: 24px; padding-top: 22px; border-top: 1px solid #414649; }
.inquiry-block p, .inquiry-block .help-text { color: #c9cdcf; }
.inquiry-block label { color: var(--white); }
.inquiry-block textarea { min-height: 120px; }
.record-status-strip { display: flex; justify-content: space-between; gap: 18px; margin: 0 0 24px; padding: 13px 16px; border-left: 5px solid var(--gold); background: #f0eee7; }
.directory-source-panel > .status-chip { margin-bottom: 16px; }
.legal-page { width: min(800px, calc(100% - 32px)); margin: 0 auto; padding: 54px 0 80px; }
.legal-page h1 { font-size: 2.2rem; }
.legal-page h2 { margin-top: 34px; font-size: 1.3rem; }
.legal-page p { color: #4f5457; line-height: 1.75; }
.help-search-band { color: var(--white); background: var(--ink); border-bottom: 5px solid var(--gold); }
.help-search-inner { width: min(980px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 44px; }
.help-search-inner h1 { max-width: 760px; margin: 0; font-size: 2.35rem; line-height: 1.08; }
.help-search-inner > p:not(.eyebrow) { max-width: 700px; margin: 12px 0 0; color: #c9cdcf; line-height: 1.5; }
.help-search-form { margin-top: 26px; }
.help-search-form label { display: block; margin-bottom: 8px; color: #f4f4f2; font-weight: 800; }
.help-search-form > div { display: grid; gap: 10px; }
.help-search-form input { width: 100%; min-height: 52px; border: 2px solid #8e9497; border-radius: 3px; padding: 12px 14px; color: var(--ink); background: var(--white); }
.help-search-form input:focus { border-color: var(--gold); outline-color: #e5ca72; }
.help-page { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 76px; }
.help-category-nav { display: flex; gap: 0; margin-bottom: 42px; overflow-x: auto; border: 1px solid var(--line); background: var(--white); scrollbar-width: thin; }
.help-category-nav a { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; min-height: 48px; padding: 10px 14px; border-right: 1px solid var(--line); text-decoration: none; font-size: .82rem; font-weight: 800; }
.help-category-nav a:last-child { border-right: 0; }
.help-category-nav a:hover, .help-category-nav a[aria-current="page"] { color: var(--white); background: var(--red-dark); }
.help-category-nav span { display: inline-grid; min-width: 24px; height: 24px; place-items: center; border: 1px solid currentColor; font-size: .7rem; }
.help-category-section { margin-bottom: 52px; }
.help-category-section .section-title h2 { margin: 0 0 10px; font-size: 1.65rem; }
.help-category-grid { display: grid; gap: 12px; }
.help-category-card { min-height: 155px; display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: 4px; background: var(--white); text-decoration: none; }
.help-category-card:hover { border-top-color: var(--red); box-shadow: var(--shadow); }
.help-category-card strong { font-size: 1.04rem; }
.help-category-card span { color: var(--muted); line-height: 1.45; }
.help-category-card small { margin-top: auto; color: var(--red-dark); font-weight: 800; }
.help-results-section { padding-top: 4px; }
.help-results-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.help-results-heading h2 { margin: 0; font-size: 1.65rem; }
.help-results-heading .eyebrow { margin-bottom: 8px; }
.help-results-grid { display: grid; border-top: 1px solid var(--line); }
.help-result-card { min-width: 0; padding: 20px 2px; border-bottom: 1px solid var(--line); }
.help-result-card > span { color: var(--red-dark); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.help-result-card h3 { margin: 7px 0 8px; font-size: 1.1rem; }
.help-result-card h3 a { text-decoration-color: transparent; }
.help-result-card h3 a:hover { color: var(--red); text-decoration-color: currentColor; }
.help-result-card p { margin: 0; color: #4f5457; line-height: 1.5; }
.help-result-card small { display: block; margin-top: 12px; color: var(--muted); }
.help-empty { padding: 34px; border-left: 5px solid var(--gold); background: var(--white); }
.help-empty h3 { margin: 0 0 8px; }
.help-empty p { max-width: 760px; margin: 0 0 20px; color: var(--muted); line-height: 1.55; }
.help-article-page { padding-top: 24px; }
.help-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: var(--muted); font-size: .84rem; }
.help-breadcrumbs a { color: var(--red-dark); font-weight: 800; }
.help-article-layout { display: grid; gap: 28px; align-items: start; }
.help-article { min-width: 0; }
.help-article > header { padding: 28px; border-top: 5px solid var(--gold); background: var(--white); }
.help-article > header h1 { margin: 0; font-size: 2.2rem; line-height: 1.1; }
.help-article > header > p:not(.eyebrow) { max-width: 760px; margin: 14px 0 0; color: #4c5154; font-size: 1.05rem; line-height: 1.6; }
.help-article > section { margin-top: 20px; padding: 26px 28px; border: 1px solid var(--line); background: var(--white); }
.help-article > section h2 { margin: 0 0 18px; font-size: 1.25rem; }
.help-symptom-list { display: grid; gap: 10px; margin: 0; padding-left: 22px; }
.help-symptom-list li { padding-left: 4px; color: #454a4d; line-height: 1.5; }
.help-symptom-list li::marker { color: var(--gold); }
.help-step-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.help-step-list li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 13px; padding: 15px 0; border-top: 1px solid var(--line); }
.help-step-list li:first-child { border-top: 0; padding-top: 0; }
.help-step-list li:last-child { padding-bottom: 0; }
.help-step-list span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #8f7328; color: var(--ink); background: var(--gold); font-weight: 900; }
.help-step-list p { margin: 5px 0 0; color: #3f4447; line-height: 1.55; }
.help-article-action { margin-top: 20px; }
.help-article .help-escalation { border-left: 5px solid var(--red); background: #fff9e9; }
.help-escalation p { color: #4f5457; line-height: 1.55; }
.help-escalation strong { display: block; color: var(--red-dark); line-height: 1.45; }
.help-related { border: 1px solid var(--line); background: var(--white); }
.help-related > h2 { margin: 0; padding: 20px; border-bottom: 1px solid var(--line); font-size: 1.15rem; }
.help-related > div a { display: block; padding: 16px 20px; border-bottom: 1px solid var(--line); text-decoration: none; }
.help-related > div a:hover { background: #f3f1ea; }
.help-related a strong, .help-related a span { display: block; }
.help-related a span { margin-top: 5px; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.help-related form { display: grid; gap: 10px; padding: 20px; background: var(--ink); color: var(--white); }
.help-related form label { font-weight: 800; }
.help-related form input { width: 100%; min-height: 44px; padding: 10px; border: 1px solid #8e9497; }
.site-footer { color: #c9cdcf; background: #111315; border-top: 4px solid var(--red); }
.footer-inner { display: flex; flex-direction: column; gap: 24px; padding: 34px 0; }
.footer-inner p { margin: 5px 0 0; font-size: .84rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 20px; }
@media (min-width: 680px) {
  .hero h1 { font-size: 3.4rem; }
  .hero-copy { font-size: 1.18rem; }
  .purpose-grid h2 { font-size: 2.45rem; }
  .page-heading h1 { font-size: 2.65rem; }
  .form-shell h1 { font-size: 2.35rem; }
  .exchange-heading h1, .exchange-detail-heading h1 { font-size: 2.7rem; }
  .compliance-detail-heading h1 { font-size: 2.65rem; }
  .legal-page h1 { font-size: 3rem; }
  .staging-banner { flex-direction: row; justify-content: center; gap: 12px; }
  .page-heading { flex-direction: row; justify-content: space-between; align-items: center; }
  .notice-panel { flex-direction: row; justify-content: space-between; align-items: center; }
  .metric-row { grid-template-columns: repeat(3, 1fr); }
  .metric { border-right: 1px solid var(--line); border-bottom: 0; }
  .metric:last-child { border-right: 0; }
  .platform-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .platform-metric { border-right: 1px solid var(--line); }
  .platform-metric:nth-child(2n) { border-right: 0; }
  .platform-metric:nth-last-child(-n+2) { border-bottom: 0; }
  .record-row { grid-template-columns: minmax(240px, 1fr) 180px 160px; align-items: center; }
  .detail-list div { grid-template-columns: 140px 1fr; }
  .form-shell { padding: 34px; }
  .policy-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .policy-field-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .search-fields .button { width: fit-content; }
  .job-facts { grid-template-columns: repeat(3, 1fr); margin: -34px -34px 30px; }
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .configuration-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .configuration-summary > div { border-right: 1px solid var(--line); }
  .configuration-summary > div:nth-child(2n) { border-right: 0; }
  .configuration-summary > div:nth-last-child(-n+2) { border-bottom: 0; }
  .resource-question-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .configuration-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .configuration-actions a { border-right: 1px solid var(--line); }
  .configuration-actions a:nth-child(2n) { border-right: 0; }
  .summary-actions { grid-template-columns: repeat(3, 1fr); }
  .summary-actions a { border-right: 1px solid var(--line); border-bottom: 0; }
  .summary-actions a:last-child { border-right: 0; }
  .message-row { flex-direction: row; align-items: center; }
  .message-bubble header { flex-direction: row; justify-content: space-between; }
  .profile-record, .directory-row { flex-direction: row; align-items: center; }
  .exchange-heading, .exchange-detail-heading { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .exchange-search-row { grid-template-columns: minmax(0, 1fr) auto; }
  .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exchange-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exchange-facts dl, .exchange-disclosures dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exchange-facts dl div, .exchange-disclosures dl div { border-right: 1px solid var(--line); }
  .exchange-facts dl div:nth-child(2n), .exchange-disclosures dl div:nth-child(2n) { border-right: 0; }
  .exchange-disclosures .disclosure-wide { grid-column: 1 / -1; border-right: 0; }
  .packet-row-action { align-items: flex-end; text-align: right; }
  .packet-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .packet-checklist > div { flex-direction: row; align-items: center; }
  .compliance-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compliance-query { grid-column: 1 / -1; }
  .directory-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .directory-query { grid-column: 1 / -1; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .help-search-inner h1 { font-size: 3.1rem; }
  .help-search-form > div { grid-template-columns: minmax(0, 1fr) auto; }
  .help-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .help-results-heading { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .help-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 30px; }
  .help-article > header h1 { font-size: 2.8rem; }
}
.mfa-qr { display: block; width: min(240px, 100%); height: auto; aspect-ratio: 1; border: 1px solid var(--line); }
.recovery-code-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin: 20px 0; padding-left: 24px; }
.recovery-code-list code { font-size: .94rem; overflow-wrap: anywhere; }

@media (min-width: 900px) {
  .hero h1 { font-size: 4.15rem; }
  .purpose-grid h2 { font-size: 3rem; }
  .page-heading h1 { font-size: 3.1rem; }
  .form-shell h1 { font-size: 2.7rem; }
  .exchange-heading h1, .exchange-detail-heading h1 { font-size: 3.15rem; }
  .compliance-detail-heading h1 { font-size: 3.1rem; }
  .legal-page h1 { font-size: 3.5rem; }
  .action-grid { grid-template-columns: repeat(4, 1fr); }
  .action-grid-six { grid-template-columns: repeat(3, 1fr); }
  .action-item { border-right: 1px solid #3c4144; border-bottom: 0; }
  .action-item:last-child { border-right: 0; }
  .action-grid-six .action-item:nth-child(-n+3) { border-bottom: 1px solid #3c4144; }
  .action-grid-six .action-item:nth-child(3n) { border-right: 0; }
  .purpose-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr) 320px; }
  .platform-admin-grid { grid-template-columns: minmax(0, 1fr) 330px; align-items: start; }
  .platform-access-panel { position: sticky; top: 20px; }
  .platform-queue-row { grid-template-columns: minmax(0, 1fr) 150px 150px; align-items: center; }
  .approval-checklist-group > summary { grid-template-columns: minmax(0, 1fr) 180px; align-items: center; }
  .approval-checklist-group > summary > span:last-child { text-align: right; }
  .approval-checklist-group > summary > span:last-child .status-chip { margin-left: auto; }
  .approval-checklist-item { grid-template-columns: minmax(0, 1fr) 210px; align-items: start; }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 360px; }
  .form-page:not(.form-page-narrow) { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .form-page .form-shell-wide { grid-column: 1 / -1; width: min(760px, 100%); justify-self: center; }
  .search-fields { grid-template-columns: 1.2fr 1fr 1fr auto; }
  .search-fields-simple { grid-template-columns: minmax(0, 1fr) auto; }
  .search-fields-directory { grid-template-columns: minmax(0, 1fr) 240px auto; }
  .resource-filters { grid-template-columns: 1fr 1fr 1fr auto; }
  .document-filters { grid-template-columns: 1fr 1fr auto; }
  .job-row { grid-template-columns: minmax(0, 1.5fr) minmax(180px, .7fr) minmax(150px, .5fr); align-items: center; }
  .resource-row { grid-template-columns: minmax(0, 1.2fr) minmax(180px, .8fr) minmax(190px, .7fr); align-items: center; }
  .applicant-row { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .finance-record-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exchange-results-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .exchange-detail-layout { grid-template-columns: minmax(0, 1fr) 330px; }
  .exchange-seller-panel { position: sticky; top: 20px; }
  .packet-summary-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .compliance-filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compliance-query { grid-column: span 2; }
  .compliance-row { grid-template-columns: minmax(0, 1fr) 300px; align-items: center; }
  .compliance-detail-grid { grid-template-columns: minmax(0, 1fr) 350px; }
  .compliance-source-panel { position: sticky; top: 20px; }
  .directory-filter-grid { grid-template-columns: minmax(0, 1.4fr) 220px 220px auto; }
  .directory-query { grid-column: auto; }
  .directory-detail-grid { grid-template-columns: minmax(0, 1fr) 350px; }
  .directory-contact-panel, .directory-source-panel { position: sticky; top: 20px; }
  .help-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .help-article-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .help-related { position: sticky; top: 20px; }
}
@media (min-width: 1380px) {
  .desktop-nav { display: flex; }
  .mobile-nav { display: none; }
}
@media (min-width: 1180px) {
  .exchange-results-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .exchange-results-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px), (pointer: coarse) {
  .button-small { min-height: 44px; }
  .pagination a, .form-foot a, .footer-inner nav a, .panel-heading a, .heading-actions a { min-height: 44px; display: inline-flex; align-items: center; }
  .email-operations-heading, .table-heading > .email-operations-actions { flex-direction: column; align-items: stretch; }
  .email-operations-actions { width: 100%; }
  .email-operations-actions > details > summary { width: 100%; }
  .email-operations-actions form { position: static; width: 100%; max-height: none; margin-top: 8px; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
