:root {
  color-scheme: light;
  --ink: #17243a;
  --ink-2: #34445b;
  --muted: #68778d;
  --line: #d8e0e9;
  --line-strong: #b8c5d3;
  --paper: #ffffff;
  --canvas: #f5f7f9;
  --warm: #fffdf6;
  --black: #111820;
  --yellow: #ffd43b;
  --yellow-soft: #fff4bd;
  --yellow-deep: #d99b00;
  --sky: #dcefff;
  --sky-strong: #278be5;
  --mint: #dff5e9;
  --mint-strong: #168a69;
  --coral: #ffe0d5;
  --coral-strong: #db6545;
  --lavender: #eee8ff;
  --lavender-strong: #7258bd;
  --danger: #b8422e;
  --success: #147859;
  --shadow-sm: 0 4px 14px rgba(23, 36, 58, 0.08);
  --shadow-md: 0 14px 34px rgba(23, 36, 58, 0.13);
  --page: 1180px;
  --header: 72px;
  --font: Aptos, "Segoe UI", Arial, sans-serif;
  --display: "Aptos Display", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; letter-spacing: 0; }
button, input, textarea, select { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: 0; }
h1 { font-size: 2.45rem; margin-bottom: 14px; }
h2 { font-size: 1.55rem; margin-bottom: 10px; }
h3 { font-size: 1.05rem; }
p { color: var(--muted); }
button { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(39, 139, 229, 0.45); outline-offset: 3px; }

.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 9999; top: 8px; left: 8px; opacity: 0; transform: translateY(-160%); padding: 10px 14px; background: var(--black); color: white; border-radius: 4px; }
.skip-link:focus-visible { opacity: 1; transform: translateY(0); }
.page-width { width: min(calc(100% - 40px), var(--page)); margin-inline: auto; }
.page-stage { min-height: calc(100vh - var(--header)); }
.icon { flex: 0 0 auto; }
.kicker { display: block; margin-bottom: 7px; color: #5f7591; font-size: 0.72rem; font-weight: 850; text-transform: uppercase; }
.expressive-line { display: block; margin-bottom: 4px; color: #8d5a00; font-family: "Segoe Script", "Bradley Hand", cursive; font-size: 1.25rem; font-weight: 700; }
.muted { color: var(--muted); }

.site-header { position: sticky; z-index: 100; top: 0; isolation: isolate; display: grid; grid-template-columns: auto 1fr auto; align-items: center; height: var(--header); padding: 0 max(20px, calc((100vw - var(--page)) / 2)); border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 2px 8px rgba(23, 36, 58, 0.05); }
.brand-link { display: inline-flex; align-items: center; min-width: 224px; }
.brand-mark { display: inline-flex; align-items: center; gap: 10px; }
.brand-bolt { display: grid; width: 40px; height: 40px; place-items: center; border: 2px solid var(--black); border-radius: 6px; background: var(--black); color: var(--yellow); transform: rotate(-2deg); }
.brand-bolt .icon { stroke: var(--black); stroke-width: 1.6; }
.brand-name { display: grid; line-height: 1; }
.brand-name strong { color: var(--ink); font-family: var(--display); font-size: 1.04rem; font-weight: 900; line-height: 1.1; }
.brand-name small { margin-top: 5px; color: var(--muted); font-size: 0.69rem; font-weight: 800; text-transform: uppercase; }
.brand-mark--compact .brand-bolt { width: 32px; height: 32px; }
.primary-nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
.primary-nav a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 12px; border-radius: 6px; color: #53657b; font-size: 0.88rem; font-weight: 750; }
.primary-nav a:hover { background: var(--canvas); color: var(--ink); }
.primary-nav a.is-active { background: var(--yellow-soft); color: var(--black); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.language-toggle, .menu-button, .icon-button { display: inline-grid; place-items: center; border: 1px solid var(--line); background: white; cursor: pointer; }
.language-toggle { grid-auto-flow: column; gap: 5px; min-width: 52px; height: 38px; padding: 0 9px; border-radius: 6px; font-size: 0.78rem; font-weight: 850; }
.language-toggle:hover, .icon-button:hover { border-color: var(--line-strong); background: var(--canvas); }
.menu-button { display: none; width: 40px; height: 40px; border-radius: 6px; }
.account-button { display: flex; align-items: center; gap: 8px; height: 44px; padding: 3px 8px 3px 4px; border: 1px solid var(--line); border-radius: 6px; background: white; cursor: pointer; }
.account-button > span:not(.avatar) { display: grid; min-width: 0; text-align: left; line-height: 1.1; }
.account-button small { color: var(--muted); font-size: 0.64rem; }
.account-button strong { overflow: hidden; max-width: 104px; margin-top: 3px; font-size: 0.78rem; text-overflow: ellipsis; white-space: nowrap; }
.account-menu { position: absolute; z-index: 120; top: 64px; right: max(20px, calc((100vw - var(--page)) / 2)); width: 280px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow-md); }
.account-menu__identity { display: flex; gap: 10px; align-items: center; padding: 10px; border-bottom: 1px solid var(--line); margin-bottom: 5px; }
.account-menu__identity > span:last-child { display: grid; }
.account-menu__identity small { color: var(--muted); }
.account-menu a, .account-menu button { display: flex; width: 100%; align-items: center; gap: 9px; min-height: 42px; padding: 0 10px; border: 0; border-radius: 5px; background: transparent; cursor: pointer; font-size: 0.88rem; font-weight: 700; text-align: left; }
.account-menu a:hover, .account-menu button:hover { background: var(--canvas); }
.mobile-menu, .mobile-nav { display: none; }

.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border: 1px solid transparent; border-radius: 6px; cursor: pointer; font-size: 0.88rem; font-weight: 850; line-height: 1.1; transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(1px); }
.button:disabled { cursor: not-allowed; opacity: 0.6; transform: none; }
.button--primary { border-color: var(--ink); background: var(--ink); color: white; }
.button--primary:hover { background: #263852; box-shadow: var(--shadow-sm); }
.button--yellow { border-color: var(--black); background: var(--yellow); color: var(--black); box-shadow: 3px 3px 0 var(--black); }
.button--yellow:hover { background: #ffe066; box-shadow: 4px 4px 0 var(--black); }
.button--secondary { border-color: var(--line-strong); background: white; color: var(--ink); }
.button--secondary:hover { border-color: var(--ink); }
.button--ghost { border-color: transparent; background: transparent; color: var(--ink-2); }
.button--ghost:hover { background: var(--canvas); }
.button--text { min-height: 32px; padding: 0; color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow-deep); text-underline-offset: 4px; }
.button--urgent { width: 100%; min-height: 50px; border-color: #8b2d1f; background: #b93e2c; color: white; }
.button--good { border-color: var(--success); background: var(--mint); color: var(--success); }

.avatar { display: inline-grid; flex: 0 0 auto; place-items: center; border: 1px solid rgba(23, 36, 58, 0.16); border-radius: 50%; color: var(--ink); font-weight: 900; }
.avatar--sm { width: 36px; height: 36px; font-size: 0.74rem; }
.avatar--md { width: 46px; height: 46px; font-size: 0.85rem; }
.avatar--lg { width: 62px; height: 62px; font-size: 1.02rem; }
.avatar--xl { width: 86px; height: 86px; font-size: 1.35rem; }
.avatar--sky { background: var(--sky); }
.avatar--mint { background: var(--mint); }
.avatar--coral { background: var(--coral); }
.avatar--lavender { background: var(--lavender); }
.status { display: inline-flex; align-items: center; gap: 6px; width: max-content; min-height: 26px; padding: 0 9px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--ink-2); font-size: 0.72rem; font-weight: 800; white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: #8b98a8; }
.status--good { border-color: #a9dcc9; background: #eefaf5; color: var(--success); }
.status--good i { background: var(--success); }
.status--attention { border-color: #efb79f; background: #fff3ed; color: #9a422b; }
.status--attention i { background: var(--coral-strong); }
.status--info { border-color: #aed5f3; background: #f0f8ff; color: #276a9e; }
.status--info i { background: var(--sky-strong); }
.status--neutral { background: var(--canvas); }

.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding: 52px 0 28px; border-bottom: 1px solid var(--line); }
.page-heading__copy { max-width: 760px; }
.page-heading h1 { margin: 0; }
.page-heading p { max-width: 670px; margin: 10px 0 0; font-size: 1.02rem; }
.page-heading__actions { display: flex; align-items: center; gap: 10px; }
.section-heading { margin-bottom: 20px; }
.section-heading h2 { margin-bottom: 6px; }
.section-heading p { max-width: 670px; margin: 0; }
.section-heading--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.text-link, .back-link { display: inline-flex; align-items: center; gap: 6px; color: #31587c; font-size: 0.86rem; font-weight: 800; }
.text-link:hover, .back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.back-link { margin-top: 28px; }

.home-hero { position: relative; min-height: min(760px, calc(100vh - var(--header) + 26px)); overflow: hidden; border-bottom: 1px solid var(--line); background: #fbfaf5; }
.home-hero__image { position: absolute; inset: 0; background: url("../assets/trades-marketplace-hero.png") center / cover no-repeat; }
.home-hero__wash { position: absolute; inset: 0 auto 0 0; width: 57%; background: rgba(255, 253, 246, 0.9); }
.home-hero__content { position: relative; z-index: 2; padding-top: clamp(52px, 7vh, 92px); padding-bottom: 54px; }
.home-hero h1 { max-width: 660px; margin-bottom: 16px; font-size: clamp(2.5rem, 4.4vw, 4.8rem); line-height: 0.98; }
.home-hero__content > p { max-width: 590px; margin-bottom: 24px; color: #53647b; font-size: 1.12rem; }
.decision-paths { display: grid; width: min(590px, 100%); gap: 8px; }
.decision-path { display: grid; grid-template-columns: 46px minmax(0, 1fr) 22px; align-items: center; gap: 12px; min-height: 78px; padding: 10px 14px 10px 10px; border: 1px solid var(--line-strong); border-left-width: 5px; border-radius: 7px; background: rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-sm); }
.decision-path:hover { border-color: var(--ink); transform: translateX(3px); }
.decision-path__icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 6px; }
.decision-path > span:nth-child(2) { display: grid; min-width: 0; }
.decision-path strong { font-size: 1.02rem; }
.decision-path small { overflow: hidden; margin-top: 2px; color: var(--muted); font-size: 0.76rem; text-overflow: ellipsis; white-space: nowrap; }
.decision-path--employer { border-left-color: var(--sky-strong); }
.decision-path--employer .decision-path__icon { background: var(--sky); color: #1f6fa9; }
.decision-path--contractor { border-left-color: var(--mint-strong); }
.decision-path--contractor .decision-path__icon { background: var(--mint); color: var(--mint-strong); }
.decision-path--urgent { border-left-color: var(--coral-strong); }
.decision-path--urgent .decision-path__icon { background: var(--yellow); color: var(--black); }
.proof-strip { display: flex; align-items: stretch; gap: 0; margin-top: 24px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255, 255, 255, 0.92); }
.home-hero .proof-strip { width: min(590px, 100%); }
.proof-strip > span { display: grid; flex: 1; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 7px; padding: 12px 14px; border-right: 1px solid var(--line); }
.proof-strip > span:last-child { border-right: 0; }
.proof-strip .icon { grid-row: 1 / 3; color: #566c85; }
.proof-strip strong { font-size: 0.85rem; }
.proof-strip small { color: var(--muted); font-size: 0.68rem; }
.flow-band { display: grid; grid-template-columns: 0.8fr 1.25fr; gap: 68px; align-items: start; padding-block: 64px; }
.flow-band .section-heading h2 { font-size: 2.25rem; }
.work-flow { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.work-flow li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 0 0 26px; position: relative; }
.work-flow li::before { content: ""; position: absolute; top: 36px; bottom: 0; left: 18px; width: 2px; background: var(--line); }
.work-flow li:last-child { padding-bottom: 0; }
.work-flow li:last-child::before { display: none; }
.work-flow li > span { display: grid; z-index: 1; width: 38px; height: 38px; place-items: center; border: 2px solid var(--black); border-radius: 50%; background: var(--yellow); font-weight: 900; }
.work-flow strong { display: block; padding-top: 2px; font-size: 1.02rem; }
.work-flow p { margin: 3px 0 0; }
.work-receipt-band { border-block: 1px solid var(--line); background: var(--sky); }
.work-receipt { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding-block: 62px; }
.work-receipt__preview { overflow: hidden; border: 1px solid #abcfe8; border-radius: 8px; background: #fff; box-shadow: 8px 8px 0 rgba(39,139,229,.16); }
.work-receipt__preview header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--yellow-soft); }
.work-receipt__preview header span, .work-receipt__preview li span { display: grid; }
.work-receipt__preview ol { margin: 0; padding: 0; list-style: none; }
.work-receipt__preview li { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 11px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.work-receipt__preview li i { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 6px; background: var(--mint); color: var(--success); }
.work-receipt__preview small { color: var(--muted); }
.work-receipt__preview footer { display: flex; gap: 8px; padding: 13px 18px; color: var(--ink-2); font-weight: 800; }
.work-receipt__facts h2 { font-size: 2.15rem; }
.final-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 54px; }
.final-cta h2 { margin-bottom: 6px; font-size: 2rem; }
.final-cta p { margin-bottom: 0; }

.auth-page { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: center; min-height: calc(100vh - var(--header)); padding-block: 52px; }
.auth-intro { padding: 18px 0; }
.auth-intro h1 { font-size: 3.2rem; }
.auth-intro > p { max-width: 480px; font-size: 1.05rem; }
.auth-assurance { display: flex; gap: 12px; align-items: start; margin-top: 30px; padding: 15px; border-left: 4px solid var(--sky-strong); background: var(--sky); }
.auth-assurance > span { display: grid; }
.auth-assurance small { margin-top: 3px; color: var(--ink-2); }
.profile-gates { display: grid; gap: 10px; }
.profile-gate { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; width: 100%; min-height: 104px; padding: 14px; border: 1px solid var(--line-strong); border-left: 5px solid var(--sky-strong); border-radius: 8px; background: white; cursor: pointer; text-align: left; box-shadow: var(--shadow-sm); }
.profile-gate:hover { border-color: var(--ink); transform: translateX(3px); }
.profile-gate--contractor { border-left-color: var(--mint-strong); }
.profile-gate--admin { border-left-color: var(--lavender-strong); }
.profile-gate__copy { display: grid; min-width: 0; }
.profile-gate__copy > small { color: var(--muted); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; }
.profile-gate__copy > strong { margin: 2px 0; font-size: 1.06rem; }
.profile-gate__copy > span { color: var(--muted); font-size: 0.82rem; }
.profile-gate__action { display: inline-flex; align-items: center; gap: 6px; color: #31587c; font-size: 0.8rem; font-weight: 850; }
.secure-login-note { display: flex; gap: 10px; align-items: start; padding: 14px; color: var(--muted); }
.secure-login-note p { margin: 0; font-size: 0.82rem; }
.secure-provider-gate { display: grid; justify-items: start; padding: 32px; border: 1px solid var(--line-strong); border-left: 6px solid var(--yellow-deep); border-radius: 8px; background: white; box-shadow: var(--shadow-md); }
.brand-login-bolt { display: grid; width: 58px; height: 58px; place-items: center; margin-bottom: 18px; border: 2px solid var(--black); border-radius: 7px; background: var(--black); color: var(--yellow); }
.brand-login-bolt .icon { stroke: var(--black); }
.secure-provider-gate h2 { font-size: 1.65rem; }
.secure-provider-gate p { max-width: 430px; }
.secure-provider-gate > .btn + .btn { margin-top: 10px; }
.secure-provider-gate > a:last-child { margin-top: 18px; color: #31587c; font-size: 0.8rem; font-weight: 800; }

.focused-page { padding-bottom: 70px; }
.wizard-layout, .urgent-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.65fr); gap: 32px; align-items: start; padding-top: 28px; }
.work-form, .urgent-form { border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow-sm); }
.wizard-progress { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); background: var(--canvas); }
.wizard-progress span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; color: var(--muted); font-size: 0.78rem; font-weight: 850; }
.wizard-progress i { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: white; font-style: normal; }
.wizard-progress .is-active { background: var(--yellow-soft); color: var(--ink); }
.wizard-progress .is-active i { border-color: var(--black); background: var(--yellow); color: var(--black); }
.wizard-progress .is-done i { border-color: var(--success); background: var(--mint); color: var(--success); }
.form-step { padding: 30px; scroll-margin-top: 90px; }
.form-step > header { margin-bottom: 26px; }
.form-step > header h2 { margin-bottom: 7px; font-size: 1.65rem; }
.form-step > header p { margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field > span { color: var(--ink-2); font-size: 0.83rem; font-weight: 850; }
.field input, .field textarea, .field select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 5px; background: white; color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #8ba0b5; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--sky-strong); outline: 3px solid rgba(39, 139, 229, 0.14); }
.field small { display: flex; justify-content: flex-end; color: var(--muted); font-size: 0.72rem; }
.check-field { display: flex; gap: 10px; align-items: start; margin: 16px 0; cursor: pointer; }
.check-field input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }
.check-field > span { display: flex; flex: 1; gap: 8px; color: var(--ink-2); font-size: 0.84rem; }
.check-field input:not(:checked) + span .icon { color: #a5b0bd; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.price-field { display: flex; align-items: center; width: min(380px, 100%); margin-bottom: 22px; border-bottom: 2px solid var(--ink); }
.price-field > span { padding-left: 6px; font-size: 2rem; font-weight: 900; }
.price-field label { display: grid; flex: 1; }
.price-field label span { color: var(--muted); font-size: 0.75rem; font-weight: 800; }
.price-field input { width: 100%; padding: 4px 8px 8px; border: 0; outline: 0; color: var(--ink); font-size: 2.25rem; font-weight: 900; }
.fee-receipt { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 22px; border: 1px solid var(--line); border-radius: 7px; background: var(--warm); }
.fee-receipt > div { display: grid; padding: 13px; border-right: 1px solid var(--line); }
.fee-receipt > div:last-child { border-right: 0; }
.fee-receipt span, .fee-receipt small { color: var(--muted); font-size: 0.69rem; }
.fee-receipt strong { margin: 2px 0; }
.job-review article { padding: 20px; border: 1px solid var(--line-strong); border-radius: 7px; background: var(--warm); }
.job-review header, .job-review footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.job-review h3 { margin: 14px 0 8px; font-size: 1.25rem; }
.job-review p { white-space: pre-line; }
.job-review footer { align-items: start; margin-top: 17px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.job-review footer span { display: grid; color: var(--muted); font-size: 0.72rem; }
.job-review footer strong { color: var(--ink); font-size: 0.92rem; }
.wizard-help { position: sticky; top: 96px; display: grid; gap: 12px; }
.plain-assurance { display: flex; gap: 11px; align-items: start; padding: 14px; border-bottom: 1px solid var(--line); }
.plain-assurance > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 6px; background: var(--canvas); }
.plain-assurance strong { font-size: 0.88rem; }
.plain-assurance p { margin: 3px 0 0; font-size: 0.78rem; }

.russel-note { display: flex; gap: 14px; align-items: start; padding: 18px; border: 1px solid #e0c873; border-left: 5px solid var(--yellow-deep); border-radius: 7px; background: var(--yellow-soft); }
.russel-note--sky { border-color: #acd4f1; border-left-color: var(--sky-strong); background: var(--sky); }
.russel-note--mint { border-color: #addcc9; border-left-color: var(--mint-strong); background: var(--mint); }
.russel-note--coral { border-color: #eab6a3; border-left-color: var(--coral-strong); background: var(--coral); }
.russel-note--lavender { border-color: #c9bee9; border-left-color: var(--lavender-strong); background: var(--lavender); }
.russel-face { position: relative; display: grid; flex: 0 0 auto; width: 48px; height: 48px; place-items: center; border: 2px solid var(--ink); border-radius: 50%; background: white; color: var(--ink); font-family: Georgia, serif; font-size: 1.4rem; font-weight: 900; box-shadow: 3px 3px 0 rgba(23, 36, 58, 0.15); }
.russel-face i { position: absolute; right: -1px; bottom: 2px; width: 10px; height: 10px; border: 2px solid white; border-radius: 50%; background: var(--success); }
.russel-face--small { width: 36px; height: 36px; font-size: 1rem; }
.russel-note__body { min-width: 0; }
.russel-note__body > strong { display: block; margin-bottom: 4px; font-size: 0.96rem; }
.russel-note__body p { margin: 0; color: var(--ink-2); font-size: 0.82rem; }
.russel-note__action { margin-top: 7px; }
.russel-note--compact { align-items: center; margin-top: 22px; padding-block: 13px; }
.russel-note--compact .russel-face { width: 40px; height: 40px; font-size: 1.05rem; }

.info-page { padding-bottom: 70px; }
.info-steps { display: grid; grid-template-columns: 1fr 1fr; margin-top: 32px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.info-steps article { display: grid; grid-template-columns: 54px 1fr; gap: 16px; min-height: 190px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.info-steps article:nth-child(2n) { border-right: 0; }
.info-steps article:nth-last-child(-n + 2) { border-bottom: 0; }
.info-steps article > span { display: grid; width: 48px; height: 48px; place-items: center; border: 2px solid var(--black); border-radius: 7px; background: var(--yellow); font-weight: 900; }
.info-steps article h2 { font-size: 1.18rem; }
.info-steps article p { margin: 0; }
.info-page__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 36px; padding: 28px; border-left: 6px solid var(--mint-strong); background: var(--mint); }
.info-page__cta > div:last-child { display: flex; gap: 10px; }
.urgent-hero { padding: 58px 0; border-bottom: 1px solid #d99b89; background: var(--coral); }
.urgent-hero h1 { max-width: 800px; font-size: 3.2rem; }
.urgent-hero p { max-width: 700px; color: #654638; font-size: 1.05rem; }
.urgent-label { display: inline-block; margin-bottom: 9px; padding: 5px 9px; border: 2px solid var(--black); background: var(--yellow); color: var(--black); font-size: 0.75rem; font-weight: 900; text-transform: uppercase; }
.urgent-assurance { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.urgent-assurance span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; font-weight: 800; }
.urgent-layout { padding-block: 36px 70px; }
.urgent-form { padding: 28px; }
.urgent-form > header { margin-bottom: 24px; }
.service-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 22px; }
.service-picker label { cursor: pointer; }
.service-picker input { position: absolute; opacity: 0; pointer-events: none; }
.service-option { display: grid; grid-template-columns: 38px 1fr 20px; align-items: center; gap: 10px; min-height: 78px; padding: 11px; border: 1px solid var(--line-strong); border-radius: 6px; background: white; }
.service-option > span { display: grid; }
.service-option small { color: var(--muted); font-size: 0.7rem; }
.service-option > .icon:last-child { opacity: 0; color: var(--success); }
.service-picker input:checked + .service-option { border: 2px solid var(--ink); background: var(--yellow-soft); }
.service-picker input:checked + .service-option > .icon:last-child { opacity: 1; }
.urgent-side { position: sticky; top: 96px; display: grid; gap: 14px; }
.urgent-side__photo { min-height: 220px; border: 1px solid var(--line); border-radius: 8px; background: url("../assets/trades-marketplace-hero.png") 76% center / cover no-repeat; }
.emergency-note { display: flex; gap: 9px; align-items: start; margin: 0; padding: 12px; border: 1px solid #e7b5a4; background: #fff5f1; color: #7d3a28; font-size: 0.76rem; }
.success-state { padding: 34px; text-align: center; }
.success-state > .icon { color: var(--success); }
.success-state h2 { margin-top: 6px; }
.success-reference { display: grid; margin: 22px auto; padding: 14px; border: 1px dashed var(--line-strong); background: var(--canvas); }
.success-reference span { color: var(--muted); font-size: 0.72rem; }

.job-discovery-preview { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 48px; align-items: start; margin-top: 36px; }
.job-discovery-preview__intro { position: sticky; top: 102px; padding: 24px; border-left: 6px solid var(--mint-strong); background: var(--mint); }
.job-discovery-preview__intro h2 { font-size: 2rem; }
.job-discovery-preview__intro .proof-strip { display: grid; margin-top: 22px; }
.job-discovery-preview__intro .proof-strip > span { border-right: 0; border-bottom: 1px solid var(--line); }
.job-stack, .job-grid { display: grid; gap: 14px; }
.job-card, .contractor-job { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow-sm); }
.job-card:hover, .contractor-job:hover { border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.job-card__top, .contractor-job header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.job-category { display: inline-flex; width: max-content; color: #49627d; font-size: 0.69rem; font-weight: 900; text-transform: uppercase; }
.job-card h3, .contractor-job h2 { margin: 12px 0 7px; font-size: 1.22rem; }
.job-card p, .contractor-job p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin-bottom: 14px; font-size: 0.86rem; }
.job-card footer, .contractor-job footer { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-top: 17px; padding-top: 15px; border-top: 1px solid var(--line); }
.job-facts { display: flex; flex-wrap: wrap; gap: 10px 16px; color: var(--muted); font-size: 0.75rem; }
.job-facts span { display: inline-flex; align-items: center; gap: 5px; }
.job-facts--large { margin: 20px 0 28px; font-size: 0.86rem; }
.posted-price { display: grid; }
.posted-price small { color: var(--muted); font-size: 0.68rem; }
.posted-price strong { font-size: 1.3rem; }
.posted-price--large { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.posted-price--large strong { font-size: 2.3rem; }
.posted-price--large span { color: var(--muted); font-size: 0.76rem; }
.match-pill { padding: 4px 8px; border: 1px solid #a7d7c2; border-radius: 999px; background: var(--mint); color: var(--success); font-size: 0.7rem; font-weight: 850; }
.public-job-detail, .contractor-detail { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 42px; margin-top: 20px; }
.public-job-detail__main > h1, .contractor-detail main > h1 { max-width: 780px; margin-top: 10px; font-size: 2.6rem; }
.lead { max-width: 760px; font-size: 1.06rem; }
.public-job-detail__side, .contractor-detail > aside { position: sticky; top: 96px; display: grid; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow-sm); }
.scope-section { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.scope-section ul { padding-left: 20px; color: var(--ink-2); }
.scope-section li { margin-bottom: 8px; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.skill-tags span { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--canvas); color: var(--ink-2); font-size: 0.74rem; font-weight: 700; }
.employer-mini { display: flex; gap: 10px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); }
.employer-mini > span:last-child { display: grid; }
.employer-mini small, .employer-mini span span { color: var(--muted); font-size: 0.7rem; }
.fit-breakdown { padding: 14px; border-left: 4px solid var(--mint-strong); background: var(--mint); }
.fit-breakdown > div { display: flex; gap: 8px; align-items: baseline; }
.fit-breakdown > div strong { font-size: 1.7rem; }
.fit-breakdown p { display: flex; gap: 7px; align-items: center; margin: 7px 0 0; color: var(--ink-2); font-size: 0.73rem; }

.workspace { padding-bottom: 76px; }
.workspace > .russel-note--compact { margin-bottom: 34px; }
.today-section, .workspace-section { margin-top: 38px; }
.today-time { padding: 5px 9px; border: 1px solid var(--line); background: white; color: var(--muted); font-size: 0.73rem; font-weight: 800; }
.task-list { display: grid; gap: 9px; }
.next-task { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 94px; padding: 14px 15px; border: 1px solid var(--line); border-left: 5px solid var(--sky-strong); border-radius: 7px; background: white; }
.next-task--yellow { border-left-color: var(--yellow-deep); }
.next-task--mint { border-left-color: var(--mint-strong); }
.next-task__icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 6px; background: var(--canvas); }
.next-task--yellow .next-task__icon { background: var(--yellow-soft); }
.next-task--mint .next-task__icon { background: var(--mint); }
.next-task > div { min-width: 0; }
.next-task small { color: var(--muted); font-size: 0.69rem; font-weight: 800; text-transform: uppercase; }
.next-task h2 { margin: 2px 0; font-size: 1rem; }
.next-task p { margin: 0; font-size: 0.78rem; }
.work-list { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; }
.work-row { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 20px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.work-row:last-child { border-bottom: 0; }
.work-row:hover { background: #fbfcfd; }
.work-row__identity { display: flex; min-width: 0; align-items: center; gap: 11px; }
.work-row__identity > span:last-child { display: grid; min-width: 0; }
.work-row__identity small, .work-row__identity span span { color: var(--muted); font-size: 0.7rem; }
.work-row__identity strong { overflow: hidden; max-width: 650px; text-overflow: ellipsis; white-space: nowrap; }
.work-row__status { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; }
.work-list--roomy .work-row { min-height: 88px; }
.workspace > .proof-strip { margin-top: 32px; }
.list-tools { display: flex; justify-content: space-between; gap: 14px; margin: 24px 0 14px; }
.search-box { display: flex; width: min(420px, 100%); align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: white; }
.search-box input { width: 100%; border: 0; outline: 0; }
.segmented { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 6px; background: white; }
.segmented button { min-height: 34px; padding: 0 11px; border: 0; border-radius: 4px; background: transparent; cursor: pointer; color: var(--muted); font-size: 0.76rem; font-weight: 800; }
.segmented button.is-active { background: var(--sky); color: var(--ink); }
.filter-button { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 13px; border: 1px solid var(--line-strong); border-radius: 6px; background: white; cursor: pointer; font-weight: 800; }
.job-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; }
.job-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.application-groups { display: grid; gap: 34px; margin-top: 32px; }
.application-groups section > header h2 { margin-bottom: 15px; }

.job-room { padding-bottom: 80px; }
.job-room__header { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 20px 0 24px; }
.job-room__header h1 { max-width: 820px; margin: 7px 0 9px; font-size: 2.15rem; }
.job-room__money { display: grid; flex: 0 0 auto; justify-items: end; }
.job-room__money small { color: var(--muted); }
.job-room__money > strong { margin: 2px 0 6px; font-size: 1.65rem; }
.room-timeline { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 7px; background: white; list-style: none; }
.room-timeline li { position: relative; display: flex; gap: 9px; align-items: center; }
.room-timeline li::after { content: ""; position: absolute; top: 17px; right: 5px; width: calc(100% - 54px); height: 2px; background: var(--line); transform: translateX(50%); }
.room-timeline li:last-child::after { display: none; }
.room-timeline li > span { display: grid; z-index: 1; flex: 0 0 auto; width: 34px; height: 34px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; background: white; color: var(--muted); font-size: 0.75rem; font-weight: 900; }
.room-timeline li > div { display: grid; z-index: 1; background: white; }
.room-timeline strong { font-size: 0.78rem; }
.room-timeline small { color: var(--muted); font-size: 0.64rem; }
.room-timeline .is-done > span { border-color: var(--success); background: var(--mint); color: var(--success); }
.room-timeline .is-done::after { background: var(--mint-strong); }
.room-timeline .is-current > span { border: 2px solid var(--black); background: var(--yellow); color: var(--black); }
.room-tabs { display: flex; gap: 4px; margin-top: 18px; border-bottom: 1px solid var(--line); }
.room-tabs a { display: inline-flex; align-items: center; gap: 7px; min-height: 48px; padding: 0 15px; border-bottom: 3px solid transparent; color: var(--muted); font-size: 0.84rem; font-weight: 850; }
.room-tabs a span { padding: 1px 7px; border-radius: 999px; background: var(--canvas); font-size: 0.68rem; }
.room-tabs a.is-active { border-bottom-color: var(--ink); color: var(--ink); }
.room-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr); gap: 30px; align-items: start; padding-top: 28px; }
.room-layout > aside { position: sticky; top: 94px; display: grid; gap: 15px; }
.scope-card, .room-section, .proof-review, .funding-callout { border: 1px solid var(--line); border-radius: 8px; background: white; }
.scope-card, .room-section { padding: 24px; }
.scope-card p { white-space: pre-line; }
.room-section { margin-top: 18px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--line); }
.detail-grid div { padding: 15px 0; border-bottom: 1px solid var(--line); }
.detail-grid div:nth-child(odd) { padding-right: 14px; border-right: 1px solid var(--line); }
.detail-grid div:nth-child(even) { padding-left: 14px; }
.detail-grid dt { color: var(--muted); font-size: 0.7rem; font-weight: 800; text-transform: uppercase; }
.detail-grid dd { margin: 3px 0 0; font-weight: 750; }
.proof-review header { display: flex; gap: 14px; align-items: start; padding: 22px; border-bottom: 1px solid var(--line); background: var(--yellow-soft); }
.proof-icon { display: grid; width: 46px; height: 46px; place-items: center; border: 2px solid var(--black); border-radius: 6px; background: var(--yellow); }
.proof-review header p { margin: 0; }
.proof-files { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px; }
.proof-files button { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; padding: 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: white; cursor: pointer; text-align: left; }
.proof-files button:hover { border-color: var(--ink); }
.proof-files button > span { display: flex; align-items: center; gap: 10px; }
.proof-files button span span { display: grid; }
.proof-files small { color: var(--muted); font-size: 0.68rem; }
.proof-decision { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; border-top: 1px solid var(--line); }
.proof-decision p { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 0.77rem; }
.proof-decision > div { display: flex; gap: 8px; }
.funding-callout { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 16px; padding: 22px; border-left: 6px solid var(--yellow-deep); }
.funding-callout > span { display: grid; width: 48px; height: 48px; place-items: center; background: var(--yellow-soft); }
.funding-callout h2 { margin-bottom: 5px; }
.funding-callout p { margin: 0; }
.conversation-preview, .compare-key, .growth-guardrail { padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.conversation-preview header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.conversation-preview header h3 { margin: 0; }
.conversation-preview header a { color: #31587c; font-size: 0.72rem; font-weight: 800; }
.mini-message { padding: 10px 0; border-top: 1px solid var(--line); }
.mini-message p { margin: 3px 0; font-size: 0.76rem; }
.mini-message small { color: var(--muted); font-size: 0.65rem; }
.compare-key h3 { margin-bottom: 11px; }
.compare-key p { margin-bottom: 9px; font-size: 0.76rem; }
.applicant-list { display: grid; gap: 10px; }
.applicant-row { display: grid; grid-template-columns: minmax(230px, 0.85fr) minmax(210px, 0.65fr) 1.2fr auto; align-items: center; gap: 16px; padding: 15px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.applicant-row__person { display: flex; align-items: center; gap: 10px; }
.applicant-row__person > span:last-child { display: grid; }
.applicant-row__person small, .applicant-row__person span span { color: var(--muted); font-size: 0.68rem; }
.applicant-row__person span span { display: flex; align-items: center; gap: 4px; }
.applicant-row__fit { display: flex; gap: 15px; }
.applicant-row__fit span { display: grid; }
.applicant-row__fit small { color: var(--muted); font-size: 0.62rem; }
.applicant-row > p { margin: 0; font-size: 0.75rem; }
.applicant-row__actions { display: grid; gap: 5px; }
.conversation-room { width: min(840px, 100%); margin-inline: auto; }
.message-feed { display: grid; gap: 12px; min-height: 380px; padding: 20px; border: 1px solid var(--line); border-radius: 8px 8px 0 0; background: white; }
.message { display: flex; gap: 10px; align-items: start; max-width: 82%; }
.message--employer { justify-self: end; flex-direction: row-reverse; }
.message > div:last-child { padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--canvas); }
.message--employer > div:last-child { background: var(--sky); }
.message--host > div:last-child { border-color: #e2cc7c; background: var(--yellow-soft); }
.message header { display: flex; gap: 14px; align-items: center; justify-content: space-between; }
.message time { color: var(--muted); font-size: 0.64rem; }
.message p { margin: 4px 0 0; color: var(--ink-2); font-size: 0.82rem; }
.message-composer { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 12px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 8px 8px; background: white; }
.message-composer textarea { width: 100%; min-height: 50px; padding: 10px; border: 1px solid var(--line-strong); border-radius: 5px; resize: vertical; }
.upload-zone label { display: grid; min-height: 150px; place-items: center; padding: 22px; border: 2px dashed var(--line-strong); background: var(--canvas); cursor: pointer; text-align: center; }
.upload-zone span { color: var(--muted); font-size: 0.74rem; }
.proof-review--contractor { padding: 20px; }
.proof-review--contractor header { margin: -20px -20px 20px; background: var(--mint); }

.profile-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.65fr); gap: 30px; align-items: start; margin-top: 28px; }
.profile-layout > aside { display: grid; gap: 16px; }
.profile-identity { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.profile-identity h1 { margin: 3px 0; font-size: 2rem; }
.profile-identity p { margin-bottom: 4px; }
.profile-identity div > span:last-child { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.8rem; }
.profile-section { margin-top: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.profile-section > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.completion-ring { display: grid; width: 62px; height: 62px; place-items: center; border: 6px solid var(--mint-strong); border-radius: 50%; background: white; line-height: 1; }
.completion-ring small { color: var(--muted); font-size: 0.52rem; }
.profile-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.profile-checks span { display: flex; align-items: center; gap: 7px; padding: 9px; border: 1px solid var(--line); background: var(--canvas); font-size: 0.78rem; }
.profile-checks .is-done { border-color: #b4dfcd; background: var(--mint); }
.review-quote > div { display: flex; align-items: center; gap: 9px; }
.review-quote > div > span:last-child { display: grid; }
.review-quote small { color: var(--muted); }
.review-quote p { margin: 15px 0; color: var(--ink-2); font-family: Georgia, serif; font-size: 1rem; }
.review-quote > span { display: flex; align-items: center; gap: 5px; color: #7d5a00; font-size: 0.75rem; font-weight: 800; }
.trust-panel, .signature-card { padding: 19px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.trust-panel header { display: flex; align-items: center; justify-content: space-between; }
.trust-panel header > span { display: grid; }
.trust-panel header small { color: var(--muted); }
.trust-panel header strong { font-size: 2.2rem; }
.trust-panel > p { font-size: 0.76rem; }
.trust-factors { display: grid; gap: 12px; margin: 18px 0; }
.trust-factors > span { position: relative; display: grid; grid-template-columns: 1fr auto; padding-top: 7px; border-top: 6px solid #e5eaf0; }
.trust-factors i { position: absolute; top: -6px; left: 0; width: var(--value); height: 6px; background: var(--mint-strong); }
.trust-factors strong, .trust-factors small { font-size: 0.7rem; }
.trust-factors small { color: var(--muted); }
.trust-panel .text-link { border: 0; background: transparent; cursor: pointer; }
.signature-card { display: flex; gap: 12px; border-left: 5px solid var(--yellow-deep); background: var(--yellow-soft); }
.signature-card.is-signed { border-left-color: var(--mint-strong); background: var(--mint); }
.signature-card h2 { font-size: 1rem; }
.signature-card p { font-size: 0.76rem; }
.money-summary, .growth-pulse { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; margin-top: 28px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.money-summary > div, .growth-pulse > div { display: grid; padding: 20px; border-right: 1px solid var(--line); }
.money-summary > div:last-child, .growth-pulse > div:last-child { border-right: 0; }
.money-summary strong, .growth-pulse strong { font-size: 1.75rem; }
.money-summary small, .growth-pulse small { color: var(--muted); }
.ledger { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; }
.ledger > div { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 70px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ledger > div:last-child { border-bottom: 0; }
.ledger > div > span { display: flex; align-items: center; gap: 10px; }
.ledger > div > span > span { display: grid; }
.ledger small { color: var(--muted); }

.admin-workspace .page-heading { border-bottom-color: #cbc4dd; }
.region-switcher { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 6px; background: white; }
.region-switcher select { border: 0; outline: 0; font-weight: 800; }
.marketing-banner { display: grid; grid-template-columns: 50px 1fr auto; gap: 14px; align-items: center; margin-top: 22px; padding: 15px 17px; border: 2px solid var(--black); border-radius: 7px; background: var(--yellow); box-shadow: 4px 4px 0 var(--black); }
.marketing-banner > span:first-child { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 6px; background: var(--black); color: var(--yellow); }
.marketing-banner > span:nth-child(2) { display: grid; }
.marketing-banner small { font-size: 0.66rem; font-weight: 900; text-transform: uppercase; }
.marketing-banner p { margin: 1px 0 0; color: #3f3618; font-size: 0.75rem; }
.marketing-banner__action { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 900; }
.queue-legend { display: flex; gap: 12px; color: var(--muted); font-size: 0.72rem; }
.queue-legend span { display: flex; align-items: center; gap: 5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky-strong); }
.dot--coral { background: var(--coral-strong); }
.dot--mint { background: var(--mint-strong); }
.care-list { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; }
.care-row { display: grid; grid-template-columns: minmax(190px, 0.7fr) 1fr auto auto; gap: 15px; align-items: center; min-height: 78px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.care-row:last-child { border-bottom: 0; }
.care-row > div { display: flex; align-items: center; gap: 10px; }
.care-row > div > span { display: grid; }
.care-row > div:nth-child(2) { display: grid; }
.care-row small { color: var(--muted); font-size: 0.7rem; }
.region-preview { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; }
.region-preview > div { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px; border-right: 1px solid var(--line); }
.region-preview > div:last-child { border-right: 0; }
.region-preview > div > span { display: flex; align-items: center; gap: 8px; }
.region-preview > div > span > span, .region-preview > div > span:last-child { display: grid; }
.region-preview small { color: var(--muted); font-size: 0.67rem; }
.money-policy-band { display: grid; grid-template-columns: 48px 1fr auto; gap: 15px; align-items: center; margin-top: 28px; padding: 20px; border-left: 6px solid var(--sky-strong); background: var(--sky); }
.money-policy-band h2 { margin-bottom: 4px; }
.money-policy-band p { margin: 0; color: var(--ink-2); font-size: 0.82rem; }
.growth-pulse { grid-template-columns: repeat(4, 1fr); }
.growth-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.55fr); gap: 28px; align-items: start; margin-top: 30px; }
.growth-layout > aside { position: sticky; top: 94px; display: grid; gap: 14px; }
.campaign-board { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; }
.campaign-board > header { margin: 0; padding: 20px; border-bottom: 1px solid var(--line); }
.campaign-row { display: grid; grid-template-columns: 42px minmax(200px, 1fr) auto 80px auto; gap: 13px; align-items: center; min-height: 84px; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.campaign-row:last-child { border-bottom: 0; }
.campaign-row > div, .campaign-row > span:nth-last-child(2) { display: grid; }
.campaign-row small { color: var(--muted); font-size: 0.67rem; }
.campaign-icon { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 6px; }
.campaign-icon--yellow { background: var(--yellow-soft); }
.campaign-icon--coral { background: var(--coral); }
.campaign-icon--mint { background: var(--mint); }
.lead-lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lead-lanes > div { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; align-items: center; padding: 13px; border: 1px solid var(--line); border-left: 4px solid var(--coral-strong); background: white; }
.lead-lanes .icon { grid-row: 1 / 3; }
.lead-lanes small { color: var(--muted); font-size: 0.68rem; }
.growth-guardrail h3 { display: flex; align-items: center; gap: 7px; }
.growth-guardrail p { margin: 0; font-size: 0.76rem; }
.launch-summary { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 18px; margin-top: 28px; }
.launch-score, .launch-blockers { padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.launch-score > span { display: grid; }
.launch-score > span strong { font-size: 2.5rem; }
.launch-score > span small { color: var(--muted); }
.launch-score > i { display: block; height: 10px; margin: 14px 0; background: #e5eaf0; }
.launch-score > i b { display: block; height: 100%; background: var(--yellow-deep); }
.launch-score p { margin: 0; }
.launch-blockers { display: grid; gap: 8px; }
.launch-blockers a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 10px; border: 1px solid var(--line); background: var(--canvas); }
.launch-blockers a span { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 0.68rem; }
.launch-checklist { overflow: hidden; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: white; list-style: none; }
.launch-checklist li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; min-height: 74px; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.launch-checklist li:last-child { border-bottom: 0; }
.launch-checklist li > span:first-child { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); font-weight: 900; }
.launch-checklist li.is-done > span:first-child { border-color: var(--success); background: var(--mint); color: var(--success); }
.launch-checklist li.is-current > span:first-child { border: 2px solid var(--black); background: var(--yellow); color: var(--black); }
.launch-checklist li > div { display: grid; }
.launch-checklist small { color: var(--muted); }
.region-table { overflow: hidden; margin-top: 28px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.region-table__head, .region-table > button { display: grid; grid-template-columns: 1.2fr 1.2fr 0.7fr 0.65fr 0.65fr 0.7fr; gap: 12px; align-items: center; padding: 0 15px; }
.region-table__head { min-height: 44px; border-bottom: 1px solid var(--line); background: var(--canvas); color: var(--muted); font-size: 0.67rem; font-weight: 900; text-transform: uppercase; }
.region-table > button { width: 100%; min-height: 74px; border: 0; border-bottom: 1px solid var(--line); background: white; cursor: pointer; text-align: left; }
.region-table > button:last-child { border-bottom: 0; }
.region-table > button:hover { background: #fbfcfd; }
.region-table > button > span { display: grid; }
.region-table > button > span:nth-child(2) { display: flex; align-items: center; gap: 7px; }
.region-table small { color: var(--muted); font-size: 0.67rem; }
.region-policy { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.region-policy section { display: flex; gap: 13px; padding: 20px; border: 1px solid var(--line); border-left: 5px solid var(--lavender-strong); background: var(--lavender); }
.region-policy h2 { font-size: 1rem; }
.region-policy p { margin: 0; color: var(--ink-2); font-size: 0.78rem; }

.modal-backdrop { position: fixed; z-index: 500; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(17, 24, 32, 0.56); }
.modal { width: min(100%, 640px); max-height: min(820px, calc(100vh - 40px)); overflow: auto; border: 1px solid var(--line-strong); border-radius: 8px; background: white; box-shadow: var(--shadow-md); }
.modal--sm { width: min(100%, 520px); }
.modal > header { position: sticky; z-index: 1; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 20px; border-bottom: 1px solid var(--line); background: white; }
.modal > header h2 { margin: 0; font-size: 1.25rem; }
.icon-button { width: 36px; height: 36px; border-radius: 6px; }
.modal__body { padding: 20px; }
.modal > footer { position: sticky; z-index: 1; bottom: 0; display: flex; justify-content: flex-end; gap: 9px; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--canvas); }
.application-guidance, .signature-intro { display: flex; gap: 12px; align-items: start; margin-bottom: 18px; padding: 13px; border-left: 4px solid var(--mint-strong); background: var(--mint); }
.application-guidance p, .signature-intro p { margin: 0; color: var(--ink-2); font-size: 0.8rem; }
.plain-fee-line { display: flex; align-items: center; gap: 7px; color: var(--success); font-size: 0.76rem; font-weight: 800; }
.agreement-points { display: grid; gap: 8px; margin-bottom: 18px; }
.agreement-points > div { display: flex; gap: 10px; align-items: start; padding: 10px; border: 1px solid var(--line); }
.agreement-points > div > span { display: grid; }
.agreement-points small { color: var(--muted); font-size: 0.7rem; }
.modal-profile { display: flex; gap: 15px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.modal-profile__avatar { display: grid; width: 70px; height: 70px; place-items: center; border-radius: 50%; background: var(--mint); font-size: 1.2rem; font-weight: 900; }
.modal-profile h3 { margin-bottom: 2px; font-size: 1.35rem; }
.modal-profile p { margin-bottom: 10px; }
.modal-profile > div:last-child > div { display: flex; gap: 24px; }
.modal-profile > div:last-child > div span { display: grid; }
.modal-profile small { color: var(--muted); font-size: 0.66rem; }
.score-explanation { padding-top: 17px; }
.score-explanation p { display: flex; gap: 8px; align-items: start; color: var(--ink-2); font-size: 0.8rem; }
.protected-action { display: flex; gap: 12px; align-items: start; padding: 15px; border-left: 5px solid var(--yellow-deep); background: var(--yellow-soft); }
.protected-action p { margin: 4px 0 0; color: var(--ink-2); font-size: 0.78rem; }
.person-backstory > div { display: flex; gap: 12px; align-items: start; }
.person-backstory p { color: var(--ink-2); }
.person-backstory dl { display: grid; grid-template-columns: 1fr 1fr; margin: 18px 0 0; border: 1px solid var(--line); }
.person-backstory dl div { padding: 11px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.person-backstory dt { color: var(--muted); font-size: 0.65rem; font-weight: 800; text-transform: uppercase; }
.person-backstory dd { margin: 3px 0 0; font-size: 0.78rem; font-weight: 750; }
.proof-preview { padding: 30px; text-align: center; }
.proof-preview .icon { color: var(--sky-strong); }
.toast-region { position: fixed; z-index: 700; right: 18px; bottom: 18px; display: grid; width: min(390px, calc(100vw - 36px)); gap: 8px; }
.toast { display: flex; gap: 10px; align-items: center; padding: 13px 14px; border: 1px solid #a9dcc9; border-left: 5px solid var(--success); border-radius: 6px; background: white; box-shadow: var(--shadow-md); opacity: 0; transform: translateY(10px); transition: opacity 180ms ease, transform 180ms ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }
.toast--success .icon { color: var(--success); }
.toast--error { border-color: #eab4a2; border-left-color: var(--danger); }
.toast--error .icon { color: var(--danger); }
.toast span { font-size: 0.82rem; font-weight: 750; }
.error-page { display: grid; min-height: calc(100vh - var(--header)); place-items: center; align-content: center; text-align: center; }
.error-page > span { display: grid; width: 66px; height: 66px; place-items: center; border-radius: 50%; background: var(--coral); color: var(--danger); }
.error-page p { max-width: 520px; }
.empty-state { display: grid; min-height: 220px; place-items: center; align-content: center; text-align: center; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: auto 1fr; }
  .site-header > .primary-nav { display: none; }
  .header-actions { grid-column: 2; }
  .menu-button { display: grid; }
  .mobile-menu { position: absolute; z-index: 110; top: 64px; right: 18px; display: grid; width: min(340px, calc(100vw - 36px)); padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: var(--shadow-md); }
  .mobile-menu .primary-nav { display: grid; }
  .mobile-menu .primary-nav a { justify-content: start; }
  .mobile-menu__actions { display: grid; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
  .applicant-row { grid-template-columns: 1fr 0.7fr; }
  .applicant-row > p { grid-column: 1 / 2; }
  .applicant-row__actions { grid-column: 2; grid-row: 1 / 3; }
  .job-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  :root { --header: 64px; }
  body { padding-bottom: 0; }
  .page-width { width: min(calc(100% - 28px), var(--page)); }
  .site-header { padding-inline: 14px; }
  .brand-link { min-width: 0; }
  .brand-name small { display: none; }
  .header-primary, .account-button > span:not(.avatar), .account-button > .icon { display: none; }
  .account-button { width: 42px; justify-content: center; padding: 2px; }
  .mobile-nav { position: sticky; z-index: 90; top: var(--header); display: grid; grid-template-columns: repeat(4, 1fr); min-height: 62px; padding: 4px max(6px, env(safe-area-inset-right)) 4px max(6px, env(safe-area-inset-left)); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.98); box-shadow: 0 4px 10px rgba(23, 36, 58, 0.05); }
  .mobile-nav a { display: grid; min-width: 0; place-items: center; align-content: center; gap: 1px; border-radius: 5px; color: var(--muted); font-size: 0.62rem; font-weight: 800; }
  .mobile-nav a.is-active { background: var(--yellow-soft); color: var(--ink); }
  .home-hero { min-height: auto; background: var(--warm); }
  .home-hero__image { position: relative; min-height: 290px; background-position: 70% center; }
  .home-hero__wash { display: none; }
  .home-hero__content { padding-top: 30px; padding-bottom: 38px; }
  .home-hero h1 { font-size: 2.7rem; }
  .decision-paths { width: 100%; }
  .home-hero .proof-strip { width: 100%; }
  .flow-band, .work-receipt, .auth-page, .wizard-layout, .urgent-layout, .job-discovery-preview, .public-job-detail, .contractor-detail, .room-layout, .profile-layout, .growth-layout, .launch-summary { grid-template-columns: 1fr; }
  .flow-band { gap: 26px; }
  .work-receipt { gap: 44px; }
  .auth-page { gap: 20px; align-items: start; }
  .auth-intro h1 { font-size: 2.4rem; }
  .wizard-help, .urgent-side, .job-discovery-preview__intro, .public-job-detail__side, .contractor-detail > aside, .room-layout > aside, .growth-layout > aside { position: static; }
  .page-heading { align-items: start; padding-top: 34px; }
  .job-grid, .job-grid--compact { grid-template-columns: 1fr 1fr; }
  .room-timeline { overflow-x: auto; grid-template-columns: repeat(5, minmax(150px, 1fr)); }
  .room-timeline li::after { display: none; }
  .region-preview, .money-summary, .growth-pulse { grid-template-columns: 1fr 1fr; }
  .region-preview > div:nth-child(2), .money-summary > div:nth-child(2), .growth-pulse > div:nth-child(2) { border-right: 0; }
  .region-preview > div, .money-summary > div, .growth-pulse > div { border-bottom: 1px solid var(--line); }
  .region-table { overflow-x: auto; }
  .region-table__head, .region-table > button { min-width: 850px; }
  .region-policy { grid-template-columns: 1fr; }
  .marketing-banner { grid-template-columns: 46px 1fr; }
  .marketing-banner__action { grid-column: 2; }
}

@media (max-width: 620px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  .page-width { width: min(calc(100% - 22px), var(--page)); }
  .brand-mark { gap: 6px; }
  .brand-bolt { width: 34px; height: 34px; }
  .brand-name strong { font-size: 0.82rem; }
  .header-actions { gap: 5px; }
  .language-toggle { min-width: 40px; padding: 0 5px; }
  .language-toggle .icon { display: none; }
  .menu-button { width: 38px; height: 38px; }
  .site-header > .header-actions > .button--ghost { width: 38px; min-height: 38px; padding: 0; }
  .site-header > .header-actions > .button--ghost span { position: absolute; overflow: hidden; width: 1px; height: 1px; clip: rect(0 0 0 0); white-space: nowrap; }
  .home-hero__image { min-height: 230px; }
  .home-hero h1 { font-size: 2.25rem; }
  .home-hero__content > p { font-size: 1rem; }
  .decision-path { grid-template-columns: 42px minmax(0, 1fr) 18px; min-height: 86px; padding-right: 10px; }
  .decision-path small { white-space: normal; }
  .proof-strip { display: grid; }
  .proof-strip > span { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip > span:last-child { border-bottom: 0; }
  .flow-band { padding-block: 42px; }
  .flow-band .section-heading h2, .work-receipt__facts h2 { font-size: 1.7rem; }
  .work-receipt { padding-block: 44px; }
  .final-cta, .page-heading, .section-heading--row, .list-tools, .proof-decision, .job-room__header { align-items: stretch; flex-direction: column; }
  .page-heading { display: flex; }
  .page-heading__actions, .page-heading__actions .button { width: 100%; }
  .final-cta .button { width: 100%; }
  .profile-gate { grid-template-columns: auto 1fr; }
  .profile-gate__action { grid-column: 2; }
  .form-step, .urgent-form { padding: 20px 16px; }
  .field-row, .service-picker, .fee-receipt, .info-steps, .job-grid, .job-grid--compact, .detail-grid, .proof-files, .profile-checks, .region-preview, .money-summary, .growth-pulse, .lead-lanes, .region-policy { grid-template-columns: 1fr; }
  .fee-receipt > div, .money-summary > div, .growth-pulse > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .fee-receipt > div:last-child, .money-summary > div:last-child, .growth-pulse > div:last-child { border-bottom: 0; }
  .info-steps article, .info-steps article:nth-child(2n), .info-steps article:nth-last-child(-n + 2) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .info-steps article:last-child { border-bottom: 0; }
  .info-page__cta { align-items: stretch; flex-direction: column; }
  .info-page__cta > div:last-child { display: grid; }
  .urgent-hero { padding: 36px 0; }
  .urgent-hero h1 { font-size: 2.2rem; }
  .urgent-assurance { display: grid; }
  .next-task { grid-template-columns: 42px 1fr; }
  .next-task .button { grid-column: 1 / 3; width: 100%; }
  .work-row { align-items: start; flex-direction: column; }
  .work-row__status { width: 100%; justify-content: space-between; }
  .job-room__money { justify-items: start; }
  .room-timeline { grid-template-columns: 1fr; overflow: visible; gap: 8px; padding: 12px; }
  .room-timeline li { min-height: 42px; }
  .room-timeline li > div { flex: 1; }
  .room-tabs { overflow-x: auto; }
  .room-tabs a { flex: 0 0 auto; }
  .funding-callout { grid-template-columns: 44px 1fr; }
  .funding-callout .button { grid-column: 1 / 3; }
  .proof-decision { display: flex; }
  .proof-decision > div { display: grid; }
  .detail-grid div:nth-child(odd), .detail-grid div:nth-child(even) { padding: 12px 0; border-right: 0; }
  .applicant-row { grid-template-columns: 1fr; }
  .applicant-row__actions, .applicant-row > p { grid-column: 1; grid-row: auto; }
  .applicant-row__actions { display: flex; }
  .message { max-width: 94%; }
  .message-composer { grid-template-columns: 1fr; }
  .profile-identity { grid-template-columns: auto 1fr; }
  .profile-identity > .button { grid-column: 1 / 3; }
  .care-row { grid-template-columns: 1fr auto; }
  .care-row > div:nth-child(2) { grid-column: 1 / 3; }
  .care-row > .button { grid-column: 1 / 3; }
  .money-policy-band { grid-template-columns: 42px 1fr; }
  .money-policy-band .button { grid-column: 1 / 3; }
  .campaign-row { grid-template-columns: 42px 1fr auto; }
  .campaign-row > .status, .campaign-row > span:nth-last-child(2) { grid-column: 2; }
  .campaign-row > .button { grid-column: 3; grid-row: 1 / 4; }
  .launch-checklist li { grid-template-columns: 34px 1fr; }
  .launch-checklist li .status { grid-column: 2; }
  .modal-backdrop { padding: 8px; }
  .modal { max-height: calc(100vh - 16px); }
  .modal > footer { display: grid; }
  .person-backstory dl { grid-template-columns: 1fr; }
  .person-backstory dl div { border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

.app-shell--lead-partner { background: #f7f8f4; }
.app-shell[data-role="lead_partner"] .primary-nav a.is-active { background: var(--coral); }
.trade-partner-link { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; color: var(--ink); font-size: 0.82rem; font-weight: 850; text-decoration: underline; text-decoration-color: var(--coral-strong); text-underline-offset: 4px; }
.lead-partner-public__hero { min-height: 560px; display: grid; align-items: center; border-bottom: 6px solid var(--yellow); background-color: rgba(17, 24, 32, 0.83); background-image: url("../assets/trades-marketplace-hero.png"); background-position: center; background-size: cover; background-blend-mode: multiply; color: white; }
.lead-partner-public__hero > .page-width { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr); gap: 64px; align-items: end; padding-block: 84px; }
.trade-brand { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--yellow); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; }
.lead-partner-public__hero h1 { max-width: 820px; margin-bottom: 20px; color: white; font-size: 3.45rem; }
.lead-partner-public__hero > .page-width > div > p { max-width: 720px; color: #e5ebf0; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.lead-partner-public__hero .button--secondary { border-color: rgba(255, 255, 255, 0.6); background: rgba(17, 24, 32, 0.72); color: white; }
.lead-partner-public__hero aside { padding: 25px; border: 1px solid rgba(255, 255, 255, 0.5); border-top: 5px solid var(--yellow); background: rgba(17, 24, 32, 0.82); }
.lead-partner-public__hero aside .kicker { color: var(--yellow); }
.lead-partner-public__hero aside strong { display: block; font-size: 1.12rem; }
.lead-partner-public__hero aside p { margin: 10px 0 0; color: #dfe6ec; font-size: 0.9rem; }
.engine-boundary { border-bottom: 1px solid var(--line); background: white; }
.engine-boundary > .page-width { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 28px; align-items: center; min-height: 116px; }
.engine-boundary > .page-width > div { display: flex; align-items: center; gap: 15px; }
.engine-boundary > .page-width > div > span { display: grid; width: 46px; height: 46px; flex: 0 0 auto; place-items: center; border: 2px solid var(--black); background: var(--yellow); color: var(--black); }
.engine-boundary p { margin: 0; color: var(--muted); font-size: 0.88rem; }
.engine-boundary p strong { color: var(--ink); }
.engine-boundary i { width: 1px; height: 62px; background: var(--line); }
.partner-process { padding-block: 72px; }
.partner-process .page-heading { max-width: 880px; }
.partner-process ol { display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px 0 0; padding: 0; border: 1px solid var(--line); background: white; list-style: none; }
.partner-process li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; min-height: 180px; padding: 27px; border-right: 1px solid var(--line); }
.partner-process li:last-child { border-right: 0; }
.partner-process li > span { display: grid; width: 38px; height: 38px; place-items: center; border: 2px solid var(--black); background: var(--yellow); font-weight: 900; }
.partner-process li strong { display: block; margin: 7px 0 8px; font-size: 1.05rem; }
.partner-process li p { margin: 0; font-size: 0.88rem; }
.partner-standards { padding-block: 62px; border-top: 1px solid #e2b6a9; background: var(--coral); }
.partner-standards > .page-width { display: grid; grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr); gap: 54px; align-items: center; }
.partner-standards > .page-width > div:last-child { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.partner-standards > .page-width > div:last-child > span { display: grid; align-content: start; min-height: 150px; padding: 20px; border: 1px solid #d6a08f; background: rgba(255, 255, 255, 0.78); }
.partner-standards svg { margin-bottom: 14px; }
.partner-standards strong, .partner-standards small { display: block; }
.partner-standards small { margin-top: 6px; color: #6b594f; }

.partner-workspace { padding-bottom: 80px; }
.product-boundary { display: flex; align-items: center; gap: 9px; margin: -10px 0 24px; padding: 10px 13px; border-left: 4px solid var(--coral-strong); background: #fff7f3; color: #765246; font-size: 0.8rem; }
.product-boundary--admin { border-left-color: var(--yellow-deep); background: var(--yellow-soft); color: var(--ink); }
.partner-metrics, .lead-ops-summary, .performance-summary { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 28px; border: 1px solid var(--line); background: white; }
.partner-metrics > div, .lead-ops-summary > div, .performance-summary > div { min-width: 0; padding: 20px; border-right: 1px solid var(--line); }
.partner-metrics > div:last-child, .lead-ops-summary > div:last-child, .performance-summary > div:last-child { border-right: 0; }
.partner-metrics strong, .lead-ops-summary strong, .performance-summary strong { display: block; overflow-wrap: anywhere; font-size: 1.7rem; }
.partner-metrics small, .lead-ops-summary small, .performance-summary small { color: var(--muted); }
.lead-inbox-tools { display: flex; align-items: center; gap: 12px; }
.lead-inbox-tools .search-box { width: 290px; }
.partner-lead-list { display: grid; gap: 10px; }
.partner-lead-row { display: grid; grid-template-columns: minmax(230px, 1.15fr) minmax(260px, 1.45fr) minmax(170px, 0.75fr) minmax(210px, 0.9fr); gap: 18px; align-items: center; min-height: 148px; padding: 18px; border: 1px solid var(--line); border-left: 5px solid var(--sky-strong); background: white; box-shadow: 0 2px 8px rgba(23, 36, 58, 0.04); }
.partner-lead-row--offered { border-left-color: var(--coral-strong); }
.partner-lead-row--sold, .partner-lead-row--appointment { border-left-color: var(--mint-strong); }
.partner-lead-row--declined, .partner-lead-row--lost { border-left-color: #8c98a7; }
.partner-lead-row__identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.partner-lead-row__identity > span:last-child, .partner-lead-row__need, .partner-lead-row__contact, .partner-lead-row__decision { display: grid; min-width: 0; }
.partner-lead-row small { color: var(--muted); font-size: 0.72rem; }
.partner-lead-row__identity strong, .partner-lead-row__need > strong { overflow-wrap: anywhere; }
.partner-lead-row__identity > span:last-child > span { display: flex; align-items: center; gap: 5px; margin-top: 5px; color: var(--muted); font-size: 0.77rem; }
.lead-score { display: grid; width: 48px; height: 48px; flex: 0 0 auto; place-items: center; border: 2px solid var(--black); background: var(--yellow-soft); color: var(--ink); font-weight: 900; }
.partner-lead-row__need > span { margin: 5px 0 9px; color: var(--muted); font-size: 0.78rem; }
.lead-verifications { display: flex; flex-wrap: wrap; gap: 5px; }
.lead-verifications span { display: inline-flex; align-items: center; gap: 3px; min-height: 23px; padding: 0 7px; border: 1px solid #b9dccc; background: var(--mint); color: #276652; font-size: 0.66rem; font-weight: 750; }
.partner-lead-row__contact strong { margin: 4px 0; }
.partner-lead-row__contact span { color: var(--muted); font-size: 0.78rem; }
.partner-lead-row__decision { justify-items: end; text-align: right; }
.partner-lead-row__decision > strong { margin-top: 7px; }
.partner-lead-row__decision > div { display: flex; gap: 5px; margin-top: 12px; }
.partner-lead-row__decision .button { min-height: 36px; padding-inline: 10px; font-size: 0.76rem; }

.pipeline-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.pipeline-board > section { min-width: 0; border: 1px solid var(--line); background: #eef2f4; }
.pipeline-board > section > header { display: flex; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 14px; border-bottom: 1px solid var(--line); background: white; font-weight: 850; }
.pipeline-board > section > header strong { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: var(--yellow-soft); font-size: 0.75rem; }
.pipeline-board > section > div { display: grid; gap: 9px; align-content: start; min-height: 410px; padding: 10px; }
.pipeline-lead { display: grid; gap: 8px; width: 100%; min-height: 142px; padding: 13px; border: 1px solid var(--line); background: white; cursor: pointer; text-align: left; }
.pipeline-lead:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.pipeline-lead > span { display: flex; justify-content: space-between; align-items: center; }
.pipeline-lead p { margin: 0; font-size: 0.76rem; }
.pipeline-lead footer { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 0.72rem; }
.pipeline-empty { padding: 12px; font-size: 0.8rem; }

.wallet-layout, .performance-layout, .admin-lead-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(290px, 0.65fr); gap: 28px; align-items: start; }
.wallet-balance { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 16px; min-height: 138px; padding: 24px; border: 1px solid #b9dccc; border-left: 6px solid var(--mint-strong); background: var(--mint); }
.wallet-balance > span:first-child { display: grid; width: 50px; height: 50px; place-items: center; border: 2px solid var(--black); background: white; }
.wallet-balance strong { display: block; font-size: 2rem; }
.wallet-balance p { margin: 3px 0 0; }
.capacity-form { display: grid; gap: 14px; padding: 22px; border: 1px solid var(--line); border-top: 5px solid var(--coral-strong); background: white; }
.capacity-form header { margin-bottom: 4px; }
.capacity-form header h2 { font-size: 1.25rem; }
.performance-layout { margin-top: 28px; }
.source-table { border: 1px solid var(--line); background: white; }
.source-table > div { display: grid; grid-template-columns: 1.35fr repeat(3, 0.75fr) 1fr; gap: 12px; align-items: center; min-height: 62px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 0.8rem; }
.source-table > div:last-child { border-bottom: 0; }
.signal { display: inline-flex; width: max-content; padding: 4px 8px; border: 1px solid var(--line); font-size: 0.7rem; font-weight: 850; }
.signal--good { border-color: #acd8c5; background: var(--mint); color: var(--success); }
.signal--attention { border-color: #eab39e; background: var(--coral); color: #8c3f2a; }
.assumption-note, .assumption-banner { display: flex; gap: 12px; padding: 15px; border: 1px solid #e4c35a; background: var(--yellow-soft); }
.assumption-note p, .assumption-banner p { margin: 0; color: var(--ink-2); font-size: 0.8rem; }

.lead-ops-summary { margin-top: 24px; }
.admin-lead-list { display: grid; gap: 9px; }
.admin-lead-list article { display: grid; grid-template-columns: 52px minmax(0, 1fr) 165px auto; gap: 14px; align-items: center; min-height: 122px; padding: 15px; border: 1px solid var(--line); background: white; }
.admin-lead-list article > div:nth-child(2) { min-width: 0; }
.admin-lead-list article > div:nth-child(2) > strong, .admin-lead-list article > div:nth-child(2) > span { display: block; }
.admin-lead-list article > div:nth-child(2) > p { margin: 4px 0; font-size: 0.78rem; }
.admin-lead-list article > div:nth-child(3) { display: grid; justify-items: start; gap: 5px; }
.admin-lead-list article > div:last-child { display: flex; gap: 5px; }
.partner-capacity, .credit-queue { border: 1px solid var(--line); background: white; }
.partner-capacity header { display: flex; justify-content: space-between; align-items: center; padding: 15px; border-bottom: 1px solid var(--line); }
.partner-capacity header > span:first-child { display: flex; align-items: center; gap: 8px; }
.partner-capacity header > span:first-child > span:last-child { display: grid; }
.partner-capacity dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.partner-capacity dl div { padding: 12px 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partner-capacity dt { color: var(--muted); font-size: 0.7rem; }
.partner-capacity dd { margin: 2px 0 0; font-weight: 850; }
.credit-queue { padding: 18px; }
.credit-queue p { margin: 7px 0; font-size: 0.8rem; }
.credit-queue .button { margin-top: 10px; }

.workspace-shortcuts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: -18px 0 22px; }
.repeat-work-band { display: flex; justify-content: space-between; gap: 30px; align-items: center; margin-top: 20px; padding: 24px; border: 1px solid #e1c453; border-left: 6px solid var(--yellow-deep); background: var(--yellow-soft); }
.repeat-work-band h2 { margin-bottom: 6px; }
.repeat-work-band p { max-width: 590px; margin: 0; }
.repeat-work-band > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.repeat-confirm, .lead-charge { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); background: var(--canvas); }
.repeat-confirm p, .lead-charge p { margin: 5px 0 0; font-size: 0.84rem; }
.lead-charge { align-items: center; border-color: #e2c050; background: var(--yellow-soft); }
.lead-charge > div { display: grid; }
.lead-charge strong { font-size: 1.75rem; }
.lead-detail > div:first-child { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.lead-detail > div:first-child > span:last-child { display: grid; }
.lead-detail dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 16px; border: 1px solid var(--line); }
.lead-detail dl div { padding: 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lead-detail dt { color: var(--muted); font-size: 0.7rem; }
.lead-detail dd { margin: 3px 0 0; font-weight: 750; }

.assumption-banner { align-items: center; margin: 22px 0; }
.engine-math { display: grid; grid-template-columns: 1fr 1fr 0.7fr; margin-bottom: 30px; border: 1px solid var(--line); background: white; }
.engine-math > section, .engine-math > div { min-height: 180px; padding: 23px; border-right: 1px solid var(--line); }
.engine-math > div { display: grid; align-content: center; border-right: 0; background: var(--mint); }
.engine-math > div strong { font-size: 2rem; }
.engine-label { display: inline-flex; margin-bottom: 18px; padding: 5px 8px; border: 1px solid var(--ink); font-size: 0.7rem; font-weight: 900; text-transform: uppercase; }
.engine-label--jobs { background: var(--sky); }
.engine-label--leads { background: var(--coral); }
.engine-math section p { margin: 0 0 5px; color: var(--ink); }
.engine-math section > span:last-child { color: var(--muted); font-size: 0.8rem; }
.economics-table, .recruiter-ledger, .lifecycle-table { overflow-x: auto; border: 1px solid var(--line); background: white; }
.economics-table > div { display: grid; grid-template-columns: minmax(180px, 1.4fr) repeat(5, minmax(92px, 0.75fr)) minmax(120px, 0.9fr); gap: 10px; align-items: center; min-width: 900px; min-height: 59px; padding: 8px 13px; border-bottom: 1px solid var(--line); font-size: 0.78rem; }
.economics-table > div:last-child { border-bottom: 0; }
.economics-table__head, .recruiter-ledger__head, .lifecycle-table__head { min-height: 42px !important; background: var(--canvas); color: var(--muted); font-size: 0.68rem !important; font-weight: 850; text-transform: uppercase; }
.economics-table > div > span:first-child { display: grid; }
.economics-table small { color: var(--muted); }

.lifecycle-principles { display: grid; grid-template-columns: repeat(4, 1fr); margin: 24px 0 30px; border: 1px solid var(--line); background: white; }
.lifecycle-principles > span { display: grid; align-content: start; min-height: 132px; padding: 18px; border-right: 1px solid var(--line); }
.lifecycle-principles > span:last-child { border-right: 0; }
.lifecycle-principles svg { margin-bottom: 11px; }
.lifecycle-principles small { margin-top: 6px; color: var(--muted); }
.lifecycle-table > div { display: grid; grid-template-columns: minmax(170px, 1.15fr) minmax(150px, 1fr) minmax(150px, 1fr) 100px minmax(200px, 1.35fr) 90px; gap: 12px; align-items: center; min-width: 980px; min-height: 64px; padding: 9px 13px; border-bottom: 1px solid var(--line); font-size: 0.77rem; }
.lifecycle-table > div:last-child { border-bottom: 0; }
.lifecycle-table > div > span:first-child { display: grid; }
.lifecycle-table small { color: var(--muted); }

.compensation-rules { display: grid; grid-template-columns: repeat(3, 1fr); margin: 24px 0 30px; border: 1px solid var(--line); background: white; }
.compensation-rules > div { display: grid; grid-template-columns: 38px 1fr; gap: 12px; min-height: 140px; padding: 20px; border-right: 1px solid var(--line); }
.compensation-rules > div:last-child { border-right: 0; }
.compensation-rules > div > span { display: grid; width: 34px; height: 34px; place-items: center; background: var(--yellow); font-weight: 900; }
.compensation-rules p { margin: 5px 0 0; font-size: 0.82rem; }
.recruiter-ledger > div { display: grid; grid-template-columns: minmax(210px, 1.4fr) repeat(5, minmax(90px, 0.7fr)) minmax(130px, 0.9fr) 76px; gap: 10px; align-items: center; min-width: 1000px; min-height: 66px; padding: 9px 13px; border-bottom: 1px solid var(--line); font-size: 0.78rem; }
.recruiter-ledger > div:last-child { border-bottom: 0; }
.recruiter-ledger > div > span:first-child { display: flex; align-items: center; gap: 9px; }
.recruiter-ledger > div > span:first-child > span:last-child { display: grid; }
.recruiter-ledger small { color: var(--muted); }
.franchise-boundary { display: flex; gap: 15px; margin-top: 25px; padding: 20px; border: 1px solid #d4c7f2; border-left: 6px solid var(--lavender-strong); background: var(--lavender); }
.franchise-boundary p { margin: 5px 0 0; font-size: 0.82rem; }

@media (max-width: 1050px) {
  .lead-partner-public__hero > .page-width, .partner-standards > .page-width, .wallet-layout, .performance-layout, .admin-lead-layout { grid-template-columns: 1fr; }
  .lead-partner-public__hero { min-height: 650px; }
  .lead-partner-public__hero aside { max-width: 660px; }
  .partner-lead-row { grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.2fr); }
  .partner-lead-row__decision { justify-items: start; text-align: left; }
  .partner-standards > .page-width > div:last-child { grid-template-columns: repeat(3, 1fr); }
  .pipeline-board { overflow-x: auto; grid-template-columns: repeat(4, minmax(260px, 1fr)); padding-bottom: 8px; }
  .engine-math { grid-template-columns: 1fr 1fr; }
  .engine-math > div { grid-column: 1 / 3; min-height: 120px; }
}

@media (max-width: 760px) {
  .lead-partner-public__hero > .page-width { gap: 28px; padding-block: 52px; }
  .lead-partner-public__hero h1 { font-size: 2.55rem; }
  .engine-boundary > .page-width { grid-template-columns: 1fr; gap: 0; padding-block: 14px; }
  .engine-boundary i { width: 100%; height: 1px; margin-block: 12px; }
  .partner-process ol, .partner-standards > .page-width > div:last-child, .partner-metrics, .lead-ops-summary, .performance-summary, .lifecycle-principles, .compensation-rules { grid-template-columns: 1fr 1fr; }
  .partner-process li:nth-child(2), .partner-standards > .page-width > div:last-child > span:nth-child(2), .partner-metrics > div:nth-child(2), .lead-ops-summary > div:nth-child(2), .performance-summary > div:nth-child(2), .lifecycle-principles > span:nth-child(2) { border-right: 0; }
  .partner-process li:last-child { grid-column: 1 / 3; border-top: 1px solid var(--line); }
  .partner-lead-row { grid-template-columns: 1fr; }
  .lead-inbox-tools { align-items: stretch; flex-direction: column; }
  .lead-inbox-tools .search-box { width: 100%; }
  .partner-lead-row__decision { justify-items: stretch; }
  .partner-lead-row__decision > div { display: grid; grid-template-columns: 1fr 1fr; }
  .source-table { overflow-x: auto; }
  .source-table > div { min-width: 760px; }
  .admin-lead-list article { grid-template-columns: 52px 1fr; }
  .admin-lead-list article > div:nth-child(3), .admin-lead-list article > div:last-child { grid-column: 2; }
  .repeat-work-band { align-items: stretch; flex-direction: column; }
  .repeat-work-band > div:last-child { display: grid; grid-template-columns: 1fr; }
  .engine-math { grid-template-columns: 1fr; }
  .engine-math > section, .engine-math > div { grid-column: 1; border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 520px) {
  .lead-partner-public__hero { min-height: 700px; }
  .lead-partner-public__hero h1 { font-size: 2.2rem; }
  .hero-actions { display: grid; }
  .partner-process ol, .partner-standards > .page-width > div:last-child, .partner-metrics, .lead-ops-summary, .performance-summary, .lifecycle-principles, .compensation-rules { grid-template-columns: 1fr; }
  .partner-process li, .partner-process li:last-child, .partner-standards > .page-width > div:last-child > span, .partner-metrics > div, .lead-ops-summary > div, .performance-summary > div, .lifecycle-principles > span, .compensation-rules > div { grid-column: 1; border-right: 0; border-bottom: 1px solid var(--line); }
  .partner-metrics > div:last-child, .lead-ops-summary > div:last-child, .performance-summary > div:last-child, .lifecycle-principles > span:last-child, .compensation-rules > div:last-child { border-bottom: 0; }
  .partner-lead-row__decision > div { grid-template-columns: 1fr; }
  .partner-lead-row__decision .button { width: 100%; }
  .wallet-balance { grid-template-columns: 50px 1fr; }
  .wallet-balance .status { grid-column: 2; }
  .lead-detail dl, .partner-capacity dl { grid-template-columns: 1fr; }
  .workspace-shortcuts { display: grid; margin-top: 0; }
}

.assumption-banner--strong { border-left: 6px solid var(--yellow-deep); }
.profit-target-strip, .retention-summary, .dispute-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin: 24px 0; border: 1px solid var(--line); background: white; }
.profit-target-strip > div, .retention-summary > div, .dispute-summary > div { min-width: 0; padding: 21px; border-right: 1px solid var(--line); }
.profit-target-strip > div:last-child, .retention-summary > div:last-child, .dispute-summary > div:last-child { border-right: 0; }
.profit-target-strip > div:nth-child(1) { background: var(--yellow-soft); }
.profit-target-strip > div:nth-child(2) { background: var(--mint); }
.profit-target-strip > div:nth-child(3) { background: var(--lavender); }
.profit-target-strip strong, .retention-summary strong, .dispute-summary strong { display: block; overflow-wrap: anywhere; font-size: 1.8rem; }
.profit-target-strip small, .retention-summary small, .dispute-summary small { color: var(--muted); }
.admin-command-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 30px; }
.admin-command-links > a { display: grid; grid-template-columns: 38px minmax(0, 1fr) 20px; gap: 10px; align-items: center; min-height: 84px; padding: 14px; border: 1px solid var(--line); border-left: 5px solid var(--sky-strong); background: white; color: var(--ink); text-decoration: none; transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease; }
.admin-command-links > a:nth-child(1) { border-left-color: var(--yellow-deep); }
.admin-command-links > a:nth-child(2) { border-left-color: var(--mint-strong); }
.admin-command-links > a:nth-child(3) { border-left-color: var(--coral-strong); }
.admin-command-links > a:nth-child(4) { border-left-color: var(--lavender-strong); }
.admin-command-links > a:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.admin-command-links span { display: grid; min-width: 0; }
.admin-command-links small { margin-top: 3px; color: var(--muted); }
.scale-scenario-table, .retention-table, .dispute-table, .automation-table { overflow-x: auto; border: 1px solid var(--line); background: white; }
.scale-scenario-table > div { display: grid; grid-template-columns: minmax(190px, 1.2fr) minmax(190px, 1.25fr) 140px minmax(180px, 1fr) 130px; gap: 12px; align-items: center; min-width: 900px; min-height: 62px; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 0.79rem; }
.scale-scenario-table > div:last-child, .retention-table > div:last-child, .dispute-table > div:last-child, .automation-table > div:last-child { border-bottom: 0; }
.scale-scenario-table__head, .retention-table__head, .dispute-table__head, .automation-table__head { min-height: 43px !important; background: var(--canvas); color: var(--muted); font-size: 0.67rem !important; font-weight: 850; text-transform: uppercase; }
.profit-gate-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.profit-gate-grid article { display: grid; align-content: start; min-height: 142px; padding: 17px; border: 1px solid var(--line); border-top: 4px solid var(--yellow-deep); background: white; }
.profit-gate-grid article:nth-child(3n + 2) { border-top-color: var(--sky-strong); }
.profit-gate-grid article:nth-child(3n + 3) { border-top-color: var(--coral-strong); }
.profit-gate-grid article > .status { width: max-content; margin-bottom: 13px; }
.profit-gate-grid p { margin: 7px 0 0; font-size: 0.8rem; }

.retention-summary, .dispute-summary { grid-template-columns: repeat(4, 1fr); }
.retention-summary > div:nth-child(1), .dispute-summary > div:nth-child(1) { border-top: 5px solid var(--mint-strong); }
.retention-summary > div:nth-child(2), .dispute-summary > div:nth-child(2) { border-top: 5px solid var(--coral-strong); }
.retention-summary > div:nth-child(3), .dispute-summary > div:nth-child(3) { border-top: 5px solid var(--sky-strong); }
.retention-summary > div:nth-child(4), .dispute-summary > div:nth-child(4) { border-top: 5px solid var(--lavender-strong); }
.lifecycle-band { display: grid; grid-template-columns: repeat(4, 1fr); margin: 28px 0; border: 1px solid var(--line); background: white; }
.lifecycle-band > div { display: grid; grid-template-columns: 36px 1fr; gap: 3px 10px; align-content: center; min-height: 92px; padding: 16px; border-right: 1px solid var(--line); }
.lifecycle-band > div:last-child { border-right: 0; }
.lifecycle-band > div > span { display: grid; grid-row: 1 / 3; width: 34px; height: 34px; place-items: center; border: 2px solid var(--ink); background: var(--yellow); font-weight: 900; }
.lifecycle-band small { color: var(--muted); }
.retention-table > div { display: grid; grid-template-columns: minmax(175px, 1.05fr) 122px minmax(170px, 0.95fr) minmax(235px, 1.35fr) 115px 105px 110px; gap: 11px; align-items: center; min-width: 1125px; min-height: 70px; padding: 10px 13px; border-bottom: 1px solid var(--line); font-size: 0.76rem; }
.retention-table > div > span:first-child, .retention-table > div > span:nth-child(5) { display: grid; }
.retention-table > div > span { min-width: 0; overflow-wrap: anywhere; }
.retention-table .status { max-width: 100%; white-space: normal; line-height: 1.2; }
.retention-table > div > span:nth-child(7) .button { width: 100%; min-width: 0; padding-inline: 8px; white-space: nowrap; font-size: 0.72rem; }
.retention-table small { color: var(--muted); }
.retention-rules { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 26px; border: 1px solid var(--line); background: white; }
.retention-rules > span { display: grid; align-content: start; min-height: 132px; padding: 18px; border-right: 1px solid var(--line); }
.retention-rules > span:last-child { border-right: 0; }
.retention-rules svg { margin-bottom: 12px; }
.retention-rules small { margin-top: 6px; color: var(--muted); }
.metric-note { color: var(--muted); font-size: 0.78rem; font-weight: 750; }
.momentum-section { margin-top: 26px; }
.momentum-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.momentum-card { min-width: 0; padding: 16px; border: 1px solid var(--line); border-top: 4px solid var(--sky-strong); border-radius: 6px; background: white; }
.momentum-card:nth-child(3n + 2) { border-top-color: var(--mint-strong); }
.momentum-card:nth-child(3n + 3) { border-top-color: var(--lavender-strong); }
.momentum-card header { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.momentum-card header > div { display: grid; min-width: 0; }
.momentum-card header strong { overflow-wrap: anywhere; }
.momentum-card header small { color: var(--muted); }
.momentum-progress { height: 7px; margin: 14px 0; overflow: hidden; border-radius: 5px; background: #e8edf2; }
.momentum-progress i { display: block; height: 100%; border-radius: inherit; background: var(--mint-strong); }
.momentum-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.momentum-steps span { display: flex; min-width: 0; align-items: center; gap: 6px; color: var(--muted); font-size: 0.72rem; }
.momentum-steps span.is-complete { color: var(--success); font-weight: 750; }
.momentum-steps span.is-needs_human { color: var(--danger); font-weight: 750; }
.handoff-brief { display: grid; grid-template-columns: 1fr 1fr; margin: 18px 0; border: 1px solid var(--line); background: white; }
.handoff-brief > div { min-width: 0; padding: 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.handoff-brief > div:nth-child(2n) { border-right: 0; }
.handoff-brief > div:nth-last-child(-n + 2) { border-bottom: 0; }
.handoff-brief span { color: #5f7591; font-size: 0.68rem; font-weight: 850; text-transform: uppercase; }
.handoff-brief p { margin: 6px 0 0; color: var(--ink-2); font-size: 0.82rem; }
.supervisor-preview { max-height: 330px; margin: 16px 0; overflow-y: auto; border: 1px solid var(--line); background: white; }
.supervisor-preview > div { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(120px, 0.7fr) minmax(180px, 1fr); gap: 12px; min-height: 54px; align-items: center; padding: 10px 13px; border-bottom: 1px solid var(--line); }
.supervisor-preview > div:last-child { border-bottom: 0; }
.supervisor-preview strong { font-size: 0.78rem; text-transform: capitalize; }
.supervisor-preview small { color: var(--muted); }

.dispute-flow { display: grid; grid-template-columns: repeat(8, 1fr); margin: 28px 0; border: 1px solid var(--line); background: white; }
.dispute-flow > span { display: grid; justify-items: center; align-content: center; min-height: 88px; padding: 10px 7px; border-right: 1px solid var(--line); font-size: 0.72rem; font-weight: 800; text-align: center; }
.dispute-flow > span:last-child { border-right: 0; }
.dispute-flow b { display: grid; width: 28px; height: 28px; margin-bottom: 7px; place-items: center; border-radius: 50%; background: var(--coral); color: #7b3a28; }
.dispute-table > div { display: grid; grid-template-columns: minmax(175px, 1.05fr) 160px 150px 80px minmax(160px, 1fr) minmax(230px, 1.3fr) 82px; gap: 11px; align-items: center; min-width: 1100px; min-height: 70px; padding: 10px 13px; border-bottom: 1px solid var(--line); font-size: 0.76rem; }
.dispute-table > div > span:first-child, .dispute-table > div > span:nth-child(6) { display: grid; }
.dispute-table small { color: var(--muted); }

.governance-functions { display: grid; grid-template-columns: repeat(4, 1fr); margin: 24px 0; border: 1px solid var(--line); background: white; }
.governance-functions > span { display: grid; align-content: start; min-height: 126px; padding: 18px; border-right: 1px solid var(--line); border-top: 5px solid var(--sky-strong); }
.governance-functions > span:nth-child(2) { border-top-color: var(--yellow-deep); }
.governance-functions > span:nth-child(3) { border-top-color: var(--mint-strong); }
.governance-functions > span:nth-child(4) { border-top-color: var(--lavender-strong); border-right: 0; }
.governance-functions svg { margin-bottom: 12px; }
.governance-functions small { margin-top: 6px; color: var(--muted); }
.automation-boundary { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 28px; border: 1px solid var(--line); }
.automation-boundary > div { min-height: 116px; padding: 19px; background: var(--mint); }
.automation-boundary > div:last-child { border-left: 1px solid var(--line); background: var(--coral); }
.automation-boundary p { margin: 6px 0 0; color: var(--ink); font-size: 0.84rem; }
.automation-table > div { display: grid; grid-template-columns: minmax(175px, 1.1fr) 105px minmax(190px, 1.25fr) minmax(175px, 1.1fr) minmax(165px, 1fr) 135px 70px; gap: 11px; align-items: center; min-width: 1110px; min-height: 72px; padding: 10px 13px; border-bottom: 1px solid var(--line); font-size: 0.75rem; }
.automation-table > div > span:first-child { display: grid; }
.automation-table small { color: var(--muted); }
.governance-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.governance-notes section { min-height: 150px; padding: 18px; border: 1px solid var(--line); border-left: 5px solid var(--yellow-deep); background: white; }
.governance-notes section:nth-child(2) { border-left-color: var(--coral-strong); }
.governance-notes section:nth-child(3) { border-left-color: var(--lavender-strong); }
.governance-notes h2 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.governance-notes p { margin: 8px 0 0; font-size: 0.82rem; }

.control-boundary { display: flex; gap: 14px; align-items: flex-start; margin: 20px 0; padding: 16px 18px; border: 1px solid var(--line); border-left: 6px solid var(--yellow-deep); background: var(--yellow-soft); }
.control-boundary > svg { flex: 0 0 auto; margin-top: 2px; }
.control-boundary strong { display: block; }
.control-boundary p { margin: 4px 0 0; color: var(--ink); font-size: 0.84rem; }
.growth-risk-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0; border: 1px solid var(--line); background: white; }
.growth-risk-summary > div { min-width: 0; min-height: 118px; padding: 18px; border-right: 1px solid var(--line); }
.growth-risk-summary > div:last-child { border-right: 0; }
.growth-risk-summary > div:nth-child(1) { background: var(--yellow-soft); }
.growth-risk-summary > div:nth-child(2) { background: var(--mint); }
.growth-risk-summary > div:nth-child(3) { background: var(--coral); }
.growth-risk-summary > div:nth-child(4) { background: var(--lavender); }
.growth-risk-summary strong { display: block; overflow-wrap: anywhere; font-size: 1.62rem; }
.growth-risk-summary small { color: var(--muted); }
.control-jump { display: flex; gap: 8px; margin: 22px 0 8px; overflow-x: auto; scrollbar-width: thin; }
.control-jump a { display: inline-flex; flex: 0 0 auto; gap: 8px; align-items: center; min-height: 42px; padding: 8px 13px; border: 1px solid var(--line); border-bottom: 3px solid var(--sky-strong); border-radius: 6px; background: white; color: var(--ink); font-size: 0.78rem; font-weight: 850; text-decoration: none; }
.control-jump a:nth-child(1) { border-bottom-color: var(--yellow-deep); }
.control-jump a:nth-child(2) { border-bottom-color: var(--coral-strong); }
.control-jump a:nth-child(3) { border-bottom-color: var(--lavender-strong); }
.control-jump a:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.control-lane { scroll-margin-top: 96px; margin-top: 34px; padding-top: 4px; }
.control-lane + .control-lane { padding-top: 30px; border-top: 2px solid var(--line); }
.control-lane .section-heading p { max-width: 720px; margin: 5px 0 0; color: var(--muted); font-size: 0.82rem; }
.control-list { overflow-x: auto; border: 1px solid var(--line); background: white; }
.control-list > div { display: grid; gap: 12px; align-items: center; min-height: 72px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 0.76rem; }
.control-list > div:last-child { border-bottom: 0; }
.control-list--experiment > div { grid-template-columns: minmax(250px, 1.6fr) 155px 175px 125px 175px 76px; min-width: 1050px; }
.control-list--security > div { grid-template-columns: minmax(235px, 1.5fr) 110px 145px minmax(180px, 1fr) 170px 78px; min-width: 990px; }
.control-list--governance > div { grid-template-columns: minmax(260px, 1.6fr) 145px 145px 130px 185px 78px; min-width: 1020px; }
.control-list__head { min-height: 42px !important; background: var(--canvas); color: var(--muted); font-size: 0.66rem !important; font-weight: 850; text-transform: uppercase; }
.control-row > span { display: grid; min-width: 0; gap: 3px; }
.control-row > span:last-child { justify-items: end; }
.control-row strong, .control-row small { overflow-wrap: anywhere; }
.control-row small { color: var(--muted); line-height: 1.35; }
.control-empty { display: flex !important; flex-direction: column; justify-content: center; min-width: 0 !important; min-height: 112px !important; text-align: center; }
.control-empty span { color: var(--muted); }
.control-form-heading { grid-column: 1 / -1; display: grid; gap: 3px; margin: 22px 0 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.control-form-heading:first-child { margin-top: 6px; padding-top: 0; border-top: 0; }

.security-assurance { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 13px; align-items: start; margin: 20px 0; padding: 16px 18px; border: 1px solid var(--line); border-left: 6px solid var(--coral-strong); background: var(--coral); }
.security-assurance strong { display: block; }
.security-assurance p { margin: 4px 0 0; color: var(--ink); font-size: 0.84rem; }
.security-assurance > span { padding: 5px 8px; border: 1px solid rgba(23, 36, 58, 0.18); border-radius: 4px; background: rgba(255, 255, 255, 0.62); font-size: 0.72rem; font-weight: 850; white-space: nowrap; }
.security-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0; border: 1px solid var(--line); background: white; }
.security-summary > div { min-width: 0; min-height: 112px; padding: 17px; border-right: 1px solid var(--line); }
.security-summary > div:last-child { border-right: 0; }
.security-summary > div:nth-child(1) { background: var(--sky); }
.security-summary > div:nth-child(2) { background: var(--mint); }
.security-summary > div:nth-child(3) { background: var(--yellow-soft); }
.security-summary > div:nth-child(4) { background: var(--coral); }
.security-summary strong { display: block; font-size: 1.62rem; }
.security-summary small { color: var(--muted); }
.security-functions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 22px 0; }
.security-function { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 11px; align-items: start; min-height: 132px; padding: 15px; border: 1px solid var(--line); border-top: 5px solid var(--sky-strong); background: white; }
.security-function--2 { border-top-color: var(--yellow-deep); }
.security-function--3 { border-top-color: var(--mint-strong); }
.security-function--4 { border-top-color: var(--lavender-strong); }
.security-function--5 { border-top-color: var(--coral-strong); }
.security-function--6 { border-top-color: var(--ink-2); }
.security-function > span:first-child { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--canvas); font-size: 0.72rem; font-weight: 900; }
.security-function > div { min-width: 0; }
.security-function strong { display: block; }
.security-function p { min-height: 39px; margin: 4px 0 8px; font-size: 0.78rem; line-height: 1.35; }
.security-function small { color: var(--muted); font-size: 0.7rem; }
.security-function > .status { grid-column: 1 / -1; justify-self: start; }
.incident-stage-strip { display: grid; grid-template-columns: repeat(5, minmax(118px, 1fr)); overflow-x: auto; margin: 0 0 12px; border: 1px solid var(--line); background: white; }
.incident-stage-strip span { display: flex; min-width: 118px; min-height: 52px; gap: 8px; align-items: center; padding: 10px; border-right: 1px solid var(--line); color: var(--ink-2); font-size: 0.72rem; font-weight: 800; }
.incident-stage-strip span:last-child { border-right: 0; }
.incident-stage-strip b { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-size: 0.7rem; }
.security-incident-list > div { grid-template-columns: minmax(245px, 1.45fr) 100px 150px 155px minmax(205px, 1fr) 78px; min-width: 1035px; }
.security-control-list > div { grid-template-columns: minmax(280px, 1.65fr) 155px 155px 135px minmax(190px, 1fr) 92px; min-width: 1085px; }
.security-lane-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.security-signal-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.security-signal-cards > article { display: grid; min-width: 0; min-height: 174px; padding: 16px; border: 1px solid var(--line); border-left: 5px solid var(--coral-strong); background: white; }
.security-signal-cards > article > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.security-signal-cards > article > span small { color: var(--muted); }
.security-signal-cards > article > strong { margin-top: 11px; }
.security-signal-cards > article > p { margin: 5px 0 12px; font-size: 0.8rem; }
.security-signal-cards footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.72rem; }
.security-human-boundary { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 16px 18px; border: 1px solid var(--line); border-left: 6px solid var(--mint-strong); background: var(--mint); }
.security-human-boundary p { margin: 0; color: var(--ink); font-size: 0.84rem; }

.ledger-boundary { display: flex; gap: 13px; align-items: flex-start; margin: 20px 0; padding: 16px 18px; border: 1px solid var(--line); border-left: 6px solid var(--yellow-deep); background: var(--yellow-soft); }
.ledger-boundary strong { display: block; }
.ledger-boundary p { margin: 4px 0 0; color: var(--ink); font-size: 0.84rem; }
.economic-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 22px 0; border: 1px solid var(--line); background: white; }
.economic-summary > div { min-width: 0; min-height: 112px; padding: 17px; border-right: 1px solid var(--line); }
.economic-summary > div:last-child { border-right: 0; }
.economic-summary > div:nth-child(1) { background: var(--sky); }
.economic-summary > div:nth-child(2) { background: var(--coral); }
.economic-summary > div:nth-child(3) { background: var(--mint); }
.economic-summary > div:nth-child(4) { background: var(--yellow-soft); }
.economic-summary strong { display: block; overflow-wrap: anywhere; font-size: 1.62rem; }
.economic-summary small { color: var(--muted); }
.ledger-proof-key { display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0 8px; border: 1px solid var(--line); background: white; }
.ledger-proof-key > span { display: grid; align-content: start; gap: 7px; min-height: 88px; padding: 14px; border-right: 1px solid var(--line); }
.ledger-proof-key > span:last-child { border-right: 0; }
.ledger-proof-key .status { justify-self: start; }
.ledger-proof-key small { color: var(--muted); font-size: 0.72rem; }
.economic-entry-list > div { grid-template-columns: minmax(240px, 1.35fr) 135px 150px 125px 145px 150px 72px; min-width: 1080px; }
.economic-reconciliation-list > div { grid-template-columns: minmax(210px, 1.25fr) 155px 155px 130px 175px 170px 75px; min-width: 1070px; }
.economic-engine-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border: 1px solid var(--line); background: white; }
.economic-engine-strip > span { display: grid; min-width: 0; min-height: 104px; align-content: center; padding: 16px; border-right: 1px solid var(--line); }
.economic-engine-strip > span:last-child { border-right: 0; }
.economic-engine-strip b { margin-top: 4px; font-size: 1.25rem; overflow-wrap: anywhere; }
.economic-engine-strip small { color: var(--muted); }

@media (max-width: 1120px) {
  .admin-command-links { grid-template-columns: 1fr 1fr; }
  .growth-risk-summary { grid-template-columns: 1fr 1fr; }
  .growth-risk-summary > div:nth-child(2) { border-right: 0; }
  .growth-risk-summary > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .security-summary { grid-template-columns: 1fr 1fr; }
  .security-summary > div:nth-child(2) { border-right: 0; }
  .security-summary > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .economic-summary { grid-template-columns: 1fr 1fr; }
  .economic-summary > div:nth-child(2) { border-right: 0; }
  .economic-summary > div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .control-list { overflow: visible; border: 0; background: transparent; }
  .control-list__head { display: none !important; }
  .control-list > .control-row { grid-template-columns: 1fr 1fr; min-width: 0; margin-bottom: 10px; padding: 15px; border: 1px solid var(--line); border-left: 5px solid var(--sky-strong); border-radius: 6px; background: white; }
  .control-list--experiment > .control-row { border-left-color: var(--yellow-deep); }
  .control-list--security > .control-row { border-left-color: var(--coral-strong); }
  .control-list--governance > .control-row { border-left-color: var(--lavender-strong); }
  .control-row > span:first-child { grid-column: 1 / -1; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
  .control-row > span:last-child { justify-items: start; }
  .security-incident-list > .control-row { border-left-color: var(--coral-strong); }
  .security-control-list > .control-row { border-left-color: var(--mint-strong); }
  .economic-entry-list > .control-row { border-left-color: var(--yellow-deep); }
  .economic-reconciliation-list > .control-row { border-left-color: var(--mint-strong); }
  .security-functions { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .growth-risk-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .growth-risk-summary > div { min-height: 105px; padding: 13px; }
  .growth-risk-summary strong { font-size: 1.35rem; }
  .control-boundary { padding: 14px; }
  .control-lane .section-heading--row { align-items: stretch; }
  .control-lane .section-heading--row .button { width: 100%; }
  .control-list > .control-row { grid-template-columns: 1fr; }
  .control-row > span:first-child { grid-column: auto; }
  .control-row > span { padding: 4px 0; }
  .control-row > span + span { border-top: 1px dashed var(--line); }
  .security-assurance { grid-template-columns: 24px minmax(0, 1fr); padding: 14px; }
  .security-assurance > span { grid-column: 2; justify-self: start; }
  .security-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .security-summary > div { min-height: 102px; padding: 13px; }
  .security-summary strong { font-size: 1.35rem; }
  .security-functions, .security-signal-cards { grid-template-columns: 1fr; }
  .security-function { min-height: 0; }
  .security-function p { min-height: 0; }
  .security-lane-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .security-lane-actions .button { width: 100%; }
  .security-signal-cards footer { align-items: flex-start; flex-direction: column; }
  .security-signal-cards footer .button { width: 100%; }
  .ledger-boundary { padding: 14px; }
  .economic-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .economic-summary > div { min-height: 102px; padding: 13px; }
  .economic-summary strong { font-size: 1.35rem; }
  .ledger-proof-key, .economic-engine-strip { grid-template-columns: 1fr; }
  .ledger-proof-key > span, .economic-engine-strip > span { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .ledger-proof-key > span:last-child, .economic-engine-strip > span:last-child { border-bottom: 0; }
}

@media (max-width: 1050px) {
  .profit-gate-grid { grid-template-columns: 1fr 1fr; }
  .dispute-flow { grid-template-columns: repeat(4, 1fr); }
  .dispute-flow > span:nth-child(4) { border-right: 0; }
  .dispute-flow > span:nth-child(-n + 4) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .profit-target-strip, .retention-summary, .dispute-summary, .lifecycle-band, .governance-functions { grid-template-columns: 1fr 1fr; }
  .profit-target-strip > div:nth-child(2), .retention-summary > div:nth-child(2), .dispute-summary > div:nth-child(2), .lifecycle-band > div:nth-child(2), .governance-functions > span:nth-child(2) { border-right: 0; }
  .profit-target-strip > div:nth-child(-n + 2), .retention-summary > div:nth-child(-n + 2), .dispute-summary > div:nth-child(-n + 2), .lifecycle-band > div:nth-child(-n + 2), .governance-functions > span:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .admin-command-links, .retention-rules, .governance-notes { grid-template-columns: 1fr; }
  .retention-rules > span { border-right: 0; border-bottom: 1px solid var(--line); }
  .retention-rules > span:last-child { border-bottom: 0; }
  .automation-boundary { grid-template-columns: 1fr; }
  .automation-boundary > div:last-child { border-top: 1px solid var(--line); border-left: 0; }
  .momentum-grid { grid-template-columns: 1fr; }
  .retention-table { overflow: visible; border: 0; background: transparent; }
  .retention-table__head { display: none !important; }
  .retention-table > div:not(.retention-table__head):not(.table-empty) { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; min-width: 0; min-height: 0; margin-bottom: 10px; padding: 14px; border: 1px solid var(--line); border-left: 4px solid var(--sky-strong); border-radius: 6px; background: white; }
  .retention-table > div:not(.retention-table__head) > span { min-width: 0; overflow-wrap: anywhere; }
  .retention-table > div:not(.retention-table__head) > span:nth-child(1) { grid-column: 1; grid-row: 1; }
  .retention-table > div:not(.retention-table__head) > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; color: var(--muted); }
  .retention-table > div:not(.retention-table__head) > span:nth-child(2)::before { content: "Moment: "; font-weight: 800; }
  .retention-table > div:not(.retention-table__head) > span:nth-child(3) { grid-column: 2; grid-row: 1; justify-self: end; }
  .retention-table > div:not(.retention-table__head) > span:nth-child(4) { grid-column: 1 / -1; grid-row: 3; padding: 9px 0; border-block: 1px solid var(--line); font-size: 0.83rem; }
  .retention-table > div:not(.retention-table__head) > span:nth-child(5) { grid-column: 1 / -1; grid-row: 4; color: var(--muted); }
  .retention-table > div:not(.retention-table__head) > span:nth-child(5)::before { content: "Owner: "; font-weight: 800; }
  .retention-table > div:not(.retention-table__head) > span:nth-child(6) { grid-column: 1; grid-row: 5; align-self: center; }
  .retention-table > div:not(.retention-table__head) > span:nth-child(7) { grid-column: 2; grid-row: 5; }
  .retention-table > div:not(.retention-table__head) > span:nth-child(7) .button { min-width: 116px; }
}

@media (max-width: 520px) {
  .profit-target-strip, .retention-summary, .dispute-summary, .lifecycle-band, .governance-functions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profit-gate-grid { grid-template-columns: 1fr; }
  .profit-target-strip > div, .retention-summary > div, .dispute-summary > div, .lifecycle-band > div, .governance-functions > span { grid-column: auto; min-height: 108px; padding: 14px; }
  .profit-target-strip > div:nth-child(3) { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
  .profit-target-strip strong, .retention-summary strong, .dispute-summary strong { font-size: 1.48rem; }
  .lifecycle-band > div { min-height: 86px; }
  .governance-functions > span { min-height: 104px; }
  .dispute-flow { grid-template-columns: 1fr 1fr; }
  .dispute-flow > span:nth-child(2n) { border-right: 0; }
  .dispute-flow > span:nth-child(-n + 6) { border-bottom: 1px solid var(--line); }
  .momentum-steps, .handoff-brief { grid-template-columns: 1fr; }
  .handoff-brief > div { border-right: 0; }
  .handoff-brief > div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .supervisor-preview > div { grid-template-columns: 1fr; gap: 3px; padding-block: 12px; }
}
