:root {
    --surface: #f9f9ff;
    --surface-low: #f1f3ff;
    --surface-high: #d7e3ff;
    --surface-strong: #011b3e;
    --surface-strong-soft: #163258;
    --ink: #011b3e;
    --ink-soft: #57657a;
    --ink-faint: #74777f;
    --line: rgba(1, 27, 62, 0.2);
    --line-strong: rgba(1, 27, 62, 0.36);
    --blue: #2563eb;
    --gold: #d97706;
    --danger: #ba1a1a;
    --white: #ffffff;
    --radius: 0px;
    --shadow: none;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--surface);
    color: var(--ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

body.body--modal-open {
    overflow: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(1, 27, 62, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(1, 27, 62, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    opacity: 0.35;
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
}

.skip-link {
    position: absolute;
    top: 12px;
    left: 16px;
    z-index: 120;
    padding: 10px 14px;
    border: 1px solid var(--surface-strong);
    background: var(--white);
    color: var(--surface-strong);
    transform: translateY(-160%);
    transition: transform 120ms ease;
}

.skip-link:focus-visible {
    transform: translateY(0);
}

img {
    display: block;
    width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    background: none;
}

main,
section,
article,
aside,
nav,
header,
footer {
    position: relative;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.9;
    text-transform: uppercase;
}

p,
li {
    color: var(--ink-soft);
}

.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.mono-label,
.brandmark__meta,
.command-badge,
.command-rail__version,
.command-rail__status,
.signal-row__item,
.document-meta,
.panel-rule,
.panel-meta,
.status-list,
.section-badges,
.register-list span,
.ledger-field span,
.form-status,
.form-note,
.decision-ribbon__ref,
.confidence-readout small,
.timeline-list,
.footer-links,
.app-footer,
.table-scroll table,
th {
    font-family: "Roboto Mono", Consolas, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow {
    margin-bottom: 10px;
    color: var(--blue);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.button,
.button--secondary,
.ghost-button,
.ghost-link,
.text-link {
    transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.button,
.button--secondary,
.ghost-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.button {
    background: var(--surface-strong);
    color: var(--white);
}

.button:hover {
    background: var(--surface-strong-soft);
}

.button--inverse {
    background: var(--white);
    color: var(--surface-strong);
    border-color: rgba(255, 255, 255, 0.4);
}

.button--inverse:hover {
    background: rgba(255, 255, 255, 0.88);
}

.button--secondary,
.ghost-button {
    color: var(--ink);
    background: transparent;
}

.button--secondary:hover,
.ghost-button:hover {
    background: rgba(1, 27, 62, 0.06);
}

.button--rail {
    width: 100%;
    margin-bottom: 22px;
}

.button:disabled,
.button--secondary:disabled,
.ghost-button:disabled,
.button[aria-disabled="true"],
.button--secondary[aria-disabled="true"],
.ghost-button[aria-disabled="true"],
.button.is-disabled,
.button--secondary.is-disabled,
.ghost-button.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.text-link,
.ghost-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--blue);
    font-weight: 700;
    text-transform: uppercase;
}

.text-link:hover,
.ghost-link:hover {
    color: var(--surface-strong);
}

.ghost-link--light {
    color: rgba(255, 255, 255, 0.8);
}

.ghost-link--light:hover {
    color: var(--white);
}

.command-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    height: 72px;
    padding: 0 28px 0 292px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 2px solid var(--line);
    background: rgba(249, 249, 255, 0.92);
    backdrop-filter: blur(16px);
}

.command-header__brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brandmark {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 1.34rem;
    font-weight: 900;
    text-transform: uppercase;
}

.brandmark__meta {
    margin: 0;
    color: var(--ink-faint);
}

.command-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.command-nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 24px 4px 22px;
    color: var(--ink-faint);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 3px solid transparent;
}

.command-nav__link.is-active,
.command-nav__link:hover {
    color: var(--surface-strong);
    border-bottom-color: var(--blue);
}

.command-header__tools {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--ink-faint);
}

.command-badge {
    padding: 8px 12px;
    background: var(--surface-strong);
    color: var(--white);
}

.command-rail {
    position: fixed;
    inset: 72px auto 0 0;
    z-index: 50;
    width: 256px;
    padding: 28px 16px 24px;
    background: rgba(241, 243, 255, 0.96);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
}

.command-rail__head {
    margin-bottom: 26px;
    padding: 0 10px;
}

.command-rail__label {
    margin-bottom: 6px;
    font-size: 1.02rem;
    font-weight: 900;
    text-transform: uppercase;
}

.command-rail__version {
    color: var(--ink-faint);
}

.command-rail__nav {
    display: grid;
    gap: 6px;
}

.command-rail__link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 12px;
    color: var(--ink-faint);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.command-rail__link.is-active {
    background: var(--surface-strong);
    color: var(--white);
}

.command-rail__link.is-active:hover {
    background: var(--surface-strong);
    color: var(--white);
}

.command-rail__link:hover {
    background: rgba(1, 27, 62, 0.06);
    color: var(--surface-strong);
}

.command-rail__footer {
    margin-top: auto;
    padding: 26px 10px 0;
    border-top: 1px solid var(--line);
}

.command-rail__status {
    display: grid;
    gap: 8px;
    color: var(--ink-faint);
}

.app-main {
    margin-left: 256px;
    padding: 112px 32px 112px;
}

.app-main > * {
    max-width: 1280px;
    margin: 0 auto 24px;
}

.dashboard-hero,
.directive-hero {
    padding: 12px 0 0;
}

.dashboard-hero {
    padding: 30px 30px 34px;
    background: linear-gradient(90deg, rgba(215, 227, 255, 0.86) 0%, rgba(241, 243, 255, 0.58) 100%);
    border: 1px solid var(--line-strong);
}

.dashboard-hero__head,
.directive-hero__meta,
.section-bar,
.panel-heading,
.ledger-panel__header,
.verdict-header,
.ledger-card__footer,
.lead-drawer__header,
.checker-form__actions,
.verdict-actions,
.app-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.dashboard-hero h1,
.directive-hero h1 {
    margin-bottom: 18px;
    max-width: 820px;
    font-size: 5.6rem;
}

.dashboard-hero__summary,
.directive-hero__summary {
    max-width: 620px;
    font-size: 1.08rem;
}

.signal-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.signal-row__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink-faint);
}

.signal-row__item::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--surface-strong);
}

.document-meta {
    display: grid;
    gap: 6px;
    justify-items: end;
    color: var(--ink-faint);
    min-width: 220px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
}

.document-meta strong {
    color: var(--surface-strong);
    font-size: 0.92rem;
}

.command-grid,
.checker-board,
.directive-layout,
.register-grid,
.two-up,
.three-up,
.content-layout {
    display: grid;
    gap: 24px;
}

.command-grid {
    grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
    gap: 0;
    border: 1px solid var(--line-strong);
    background: var(--white);
}

.command-panel,
.ledger-card,
.register-panel,
.ledger-panel,
.checker-result,
.protocol-block,
.timeline-panel,
.action-panel,
.content-block,
.metric,
.lead-drawer__panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.command-panel,
.ledger-panel,
.checker-result,
.timeline-panel,
.action-panel,
.content-block,
.metric,
.lead-drawer__panel,
.register-panel {
    padding: 28px;
}

.command-grid > .command-panel {
    border: 0;
}

.command-grid > .command-panel + .command-panel {
    border-left: 1px solid var(--line);
}

.command-panel--primary,
.action-panel--dark {
    background: linear-gradient(180deg, var(--surface-strong) 0%, var(--surface-strong-soft) 100%);
    color: var(--white);
}

.command-panel--secondary {
    background: linear-gradient(180deg, var(--white) 0%, var(--surface-low) 100%);
}

.command-panel--primary {
    min-height: 520px;
    padding: 34px;
}

.command-panel--secondary {
    min-height: 520px;
    display: grid;
    align-content: start;
}

.command-panel--primary p,
.action-panel--dark p,
.command-panel--primary .ghost-link,
.command-panel--primary .panel-meta,
.action-panel--dark .ghost-link {
    color: rgba(255, 255, 255, 0.78);
}

.panel-rule {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.66);
}

.panel-rule div {
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, 0.16);
}

.command-panel h2,
.ledger-panel h1,
.checker-result h2,
.directive-hero h1,
.timeline-panel h2,
.action-panel h2,
.register-panel h3,
.protocol-block h2 {
    font-size: 2.45rem;
    margin-bottom: 14px;
}

.command-panel h2 {
    max-width: 12ch;
    font-size: 3.4rem;
}

.ledger-panel__header {
    margin: -28px -28px 24px;
    padding: 24px 28px 22px;
    border-bottom: 2px solid var(--line);
    background: rgba(255, 255, 255, 0.5);
}

.ledger-panel__intro {
    max-width: 18ch;
    margin: 0;
    font-family: "Roboto Mono", Consolas, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-faint);
}

.command-panel--secondary .panel-heading,
.register-panel > .panel-heading,
.timeline-panel > .panel-heading {
    margin: -28px -28px 24px;
    padding: 24px 28px 22px;
    border-bottom: 2px solid var(--line);
}

.command-panel--secondary .panel-heading {
    background: rgba(215, 227, 255, 0.42);
}

.register-panel > .panel-heading {
    background: rgba(255, 255, 255, 0.52);
}

.timeline-panel > .panel-heading {
    background: var(--surface-strong);
    border-bottom-color: rgba(255, 255, 255, 0.18);
}

.timeline-panel > .panel-heading p,
.timeline-panel > .panel-heading h2 {
    color: var(--white);
}

.command-panel__actions,
.ledger-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.panel-meta {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    color: rgba(255, 255, 255, 0.58);
}

.status-list,
.register-list,
.source-list,
.timeline-list,
.checklist-list,
.rationale-list,
.bullet-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.status-list {
    display: grid;
    gap: 14px;
}

.status-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 54px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.status-list strong {
    color: var(--surface-strong);
    font-size: 0.76rem;
}

.reference-figure {
    margin: 24px 0 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface-low);
}

.reference-figure img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: grayscale(0.14) contrast(1.05);
}

.reference-figure--checker img {
    aspect-ratio: 16 / 6;
}

.ledger-section,
.register-panel--wide {
    padding-top: 8px;
}

.section-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.section-badges span,
.confidence-readout span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    min-height: 40px;
    padding: 0 14px;
    background: var(--surface-low);
    color: var(--surface-strong);
    border: 1px solid var(--line);
}

.section-bar h2,
.register-panel--wide h2 {
    margin-bottom: 0;
    font-size: 2.1rem;
}

.ledger-section--home .section-bar,
.register-grid--home .register-panel > .panel-heading,
.register-panel--wide .section-bar {
    padding: 18px 22px;
    background: var(--surface-strong);
    color: var(--white);
}

.ledger-section--home .section-bar .mono-label,
.ledger-section--home .section-bar h2,
.register-grid--home .register-panel > .panel-heading .mono-label,
.register-grid--home .register-panel > .panel-heading h3,
.register-panel--wide .section-bar .mono-label,
.register-panel--wide .section-bar h2 {
    color: var(--white);
}

.ledger-section--home .section-badges span {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.18);
}

.ledger-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.ledger-card-grid--compact {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.ledger-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 0;
    border-top: 6px solid var(--surface-strong);
    background: linear-gradient(180deg, var(--white) 0%, rgba(241, 243, 255, 0.4) 100%);
}

.ledger-card:nth-child(3n) {
    border-top-color: var(--blue);
}

.ledger-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.ledger-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0;
}

.ledger-card p {
    max-width: 34ch;
}

.ledger-card__footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.register-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr) minmax(0, 0.9fr);
    gap: 0;
    border: 1px solid var(--line-strong);
    background: var(--white);
}

.register-grid > .register-panel {
    border: 0;
}

.register-grid > .register-panel + .register-panel {
    border-left: 1px solid var(--line);
}

.register-panel--emphasis {
    background: var(--white);
}

.register-panel--tone {
    background: linear-gradient(180deg, var(--surface-low) 0%, rgba(215, 227, 255, 0.6) 100%);
}

.register-panel--quiet {
    background: rgba(241, 243, 255, 0.44);
}

.register-list {
    display: grid;
    gap: 16px;
}

.register-list li {
    display: grid;
    gap: 6px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.register-list li:first-child {
    border-top: 0;
    padding-top: 0;
}

.register-list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--surface-strong);
    font-size: 1.08rem;
    font-weight: 800;
    text-transform: uppercase;
}

.checker-board {
    grid-template-columns: minmax(360px, 0.88fr) minmax(0, 1.12fr);
    align-items: start;
    gap: 0;
    border: 1px solid var(--line-strong);
    background: var(--white);
}

.checker-board > * {
    border: 0;
}

.checker-board > * + * {
    border-left: 1px solid var(--line);
}

.ledger-panel {
    background: linear-gradient(180deg, var(--surface-low) 0%, #eef3ff 100%);
}

.checker-result {
    background: var(--white);
}

.ledger-panel h1 {
    margin-bottom: 0;
}

.form-note,
.result-note {
    margin-bottom: 0;
}

.checker-form {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.checker-form__pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.checker-form__pair--triple {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ledger-field {
    display: grid;
    gap: 8px;
}

input,
select,
textarea {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-left: 2px solid var(--surface-strong);
    border-bottom: 2px solid var(--surface-strong);
    background: var(--surface-low);
    padding: 0 14px;
    color: var(--surface-strong);
    font-family: "Roboto Mono", Consolas, monospace;
    font-size: 0.94rem;
}

textarea {
    min-height: 132px;
    padding: 14px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid rgba(37, 99, 235, 0.24);
    outline-offset: 2px;
}

.integrity-panel {
    margin-top: 28px;
    padding: 18px 18px 0;
    border-left: 3px solid var(--surface-strong);
    background: rgba(215, 227, 255, 0.42);
}

.integrity-ledger,
.protocol-summary {
    margin-top: 18px;
    padding: 22px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(241, 243, 255, 0.8) 0%, rgba(255, 255, 255, 0.92) 100%);
}

.integrity-ledger .checklist-list {
    margin-top: 16px;
}

.checker-result {
    display: grid;
    gap: 22px;
}

.verdict-header {
    margin: -28px -28px 20px;
    padding: 30px 30px 24px;
    background: linear-gradient(180deg, var(--surface-strong) 0%, var(--surface-strong-soft) 100%);
    color: var(--white);
}

.verdict-header .mono-label,
.verdict-header h2,
.verdict-header small {
    color: var(--white);
}

.verdict-header h2 {
    margin-bottom: 0;
    font-size: 6rem;
}

.confidence-readout {
    display: grid;
    gap: 6px;
    justify-items: end;
}

.confidence-readout span {
    font-size: 1rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.16);
}

.decision-ribbon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px;
    background: linear-gradient(90deg, var(--danger) 0%, #d22b2b 100%);
    color: var(--white);
}

.decision-ribbon h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
}

.decision-ribbon__ref {
    color: rgba(255, 255, 255, 0.72);
}

.mono-label--light {
    color: rgba(255, 255, 255, 0.72);
}

.verdict-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.verdict-grid--secondary {
    align-items: start;
}

.verdict-block {
    min-height: 100%;
    padding: 22px;
    background: var(--surface-low);
    border-left: 4px solid var(--surface-strong);
}

.verdict-block h3 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.checklist-list,
.rationale-list,
.bullet-list,
.timeline-list {
    display: grid;
    gap: 12px;
}

.checklist-list li,
.timeline-list li,
.bullet-list li {
    position: relative;
    padding-left: 18px;
}

.checklist-list li::before,
.bullet-list li::before,
.timeline-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    background: var(--surface-strong);
}

.rationale-list li {
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.rationale-list li:first-child {
    padding-top: 0;
    border-top: 0;
}

.source-list {
    display: grid;
    gap: 14px;
}

.source-list li {
    display: grid;
    gap: 4px;
}

.source-list a {
    color: var(--surface-strong);
    font-weight: 800;
    text-transform: uppercase;
}

.source-list span {
    color: var(--ink-faint);
    font-family: "Roboto Mono", Consolas, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.directive-hero__meta {
    margin-bottom: 22px;
}

.directive-hero {
    padding: 30px 32px 34px;
    background: linear-gradient(180deg, var(--surface-strong) 0%, #102d52 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--white);
}

.directive-hero .eyebrow {
    color: #cddcff;
}

.directive-hero .breadcrumb-row,
.directive-hero .document-meta,
.directive-hero .directive-hero__summary {
    color: rgba(255, 255, 255, 0.78);
}

.directive-hero .document-meta {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
}

.directive-hero .document-meta strong {
    color: var(--white);
}

.breadcrumb-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--ink-faint);
    font-family: "Roboto Mono", Consolas, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.breadcrumb-row a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 6px;
}

.directive-layout {
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.7fr);
    align-items: start;
}

.directive-canvas {
    display: grid;
    gap: 24px;
}

.section-matrix {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--line-strong);
    background: var(--white);
}

.protocol-block {
    padding: 24px;
    border: 0;
    background: var(--white);
}

.protocol-block:nth-child(odd) {
    background: rgba(241, 243, 255, 0.72);
}

.protocol-block:nth-child(2n) {
    border-left: 1px solid var(--line);
}

.protocol-block:nth-child(n + 3) {
    border-top: 1px solid var(--line);
}

.protocol-block__header {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.protocol-block h2 {
    font-size: 1.8rem;
    margin-bottom: 0;
}

.timeline-panel {
    background: var(--surface-low);
    border-left: 4px solid var(--surface-strong);
}

.protocol-summary {
    margin-top: 24px;
}

.protocol-summary > .panel-heading {
    margin: -22px -22px 20px;
    padding: 20px 22px 18px;
    background: rgba(215, 227, 255, 0.54);
    border-bottom: 2px solid var(--line);
}

.protocol-summary__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.protocol-summary__grid div {
    display: grid;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.protocol-summary__grid strong {
    color: var(--surface-strong);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
}

.source-briefs {
    display: grid;
    gap: 20px;
}

.source-brief + .source-brief {
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.source-brief__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.source-brief h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.2;
}

.source-brief h3 a {
    color: var(--surface-strong);
}

.source-brief__meta {
    color: var(--ink-faint);
    font-family: "Roboto Mono", Consolas, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.source-brief__facts {
    gap: 10px;
}

.source-brief__facts li {
    color: var(--ink-soft);
}

.timeline-list {
    counter-reset: protocol-step;
}

.timeline-list li {
    padding: 0 0 0 64px;
    min-height: 48px;
}

.timeline-list li::before {
    counter-increment: protocol-step;
    content: counter(protocol-step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-strong);
    color: var(--white);
    font-family: "Roboto Mono", Consolas, monospace;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
}

.action-column {
    display: grid;
    gap: 18px;
    align-content: start;
}

.action-panel h2 {
    font-size: 2.2rem;
}

.team-trust {
    margin: 0 auto 24px;
    max-width: 1280px;
    padding: 24px 28px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(180deg, rgba(215, 227, 255, 0.5) 0%, rgba(255, 255, 255, 0.94) 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr);
    gap: 24px;
}

.team-trust__intro h2 {
    margin-bottom: 12px;
    font-size: 2rem;
}

.team-trust__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.team-trust__item {
    display: grid;
    gap: 8px;
    padding-top: 12px;
    border-top: 3px solid var(--surface-strong);
}

.team-trust__item strong {
    color: var(--surface-strong);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
}

.app-footer {
    position: fixed;
    inset: auto 0 0 256px;
    min-height: 52px;
    padding: 0 32px;
    border-top: 1px solid var(--line);
    background: rgba(249, 249, 255, 0.94);
    backdrop-filter: blur(16px);
    color: var(--ink-faint);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.lead-drawer {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    justify-content: flex-end;
    background: rgba(1, 27, 62, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease;
}

.lead-drawer.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lead-drawer__panel {
    width: min(460px, 100vw);
    height: 100%;
    overflow: auto;
    border-left: 1px solid var(--line);
    box-shadow: none;
    outline: none;
}

.lead-drawer__summary {
    margin-bottom: 24px;
}

.lead-drawer__checklist {
    margin-bottom: 24px;
}

.lead-form {
    display: grid;
    gap: 18px;
}

.lead-form label {
    display: grid;
    gap: 8px;
}

.content-block,
.metric {
    padding: 24px;
}

.band {
    margin-bottom: 24px;
}

.band--soft,
.register-panel--wide {
    background: transparent;
}

.section-heading {
    display: grid;
    gap: 8px;
    margin-bottom: 20px;
}

.content-block h2,
.metric strong {
    font-size: 1.9rem;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 18px;
}

.metric span {
    display: block;
    color: var(--ink-faint);
}

.metric strong {
    display: block;
    margin-top: 16px;
}

.two-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-up {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.table-scroll {
    overflow: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

th,
td {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

td {
    color: var(--ink-soft);
}

@media (max-width: 1180px) {
    .command-header {
        padding-left: 32px;
    }

    .command-rail {
        position: static;
        width: auto;
        inset: auto;
        margin: 72px 32px 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        border: 1px solid var(--line);
    }

    .command-rail__head,
    .command-rail__footer {
        margin: 0;
        padding: 0;
        border: 0;
    }

    .command-rail__nav {
        grid-auto-flow: column;
        grid-auto-columns: max-content;
    }

    .button--rail {
        width: auto;
        margin: 0;
    }

    .app-main {
        margin-left: 0;
        padding-top: 32px;
    }

    .app-main > * {
        max-width: none;
    }

    .app-footer {
        inset: auto 0 0 0;
    }
}

@media (max-width: 960px) {
    .command-header {
        flex-wrap: wrap;
        height: auto;
        padding: 16px 20px;
    }

    .command-nav {
        order: 3;
        width: 100%;
        overflow: auto;
    }

    .command-rail {
        margin: 116px 20px 0;
        padding: 18px;
        flex-direction: column;
        align-items: stretch;
    }

    .command-rail__nav {
        grid-auto-flow: row;
        grid-auto-columns: auto;
    }

    .app-main {
        padding: 24px 20px 44px;
    }

    .dashboard-hero {
        padding: 24px;
    }

    .dashboard-hero__head,
    .directive-hero__meta,
    .section-bar,
    .ledger-panel__header,
    .verdict-header,
    .checker-form__actions,
    .verdict-actions,
    .app-footer,
    .lead-drawer__header {
        flex-direction: column;
    }

    .dashboard-hero h1,
    .directive-hero h1 {
        font-size: 3.5rem;
    }

    .command-grid,
    .checker-board,
    .directive-layout,
    .register-grid,
    .section-matrix,
    .two-up,
    .three-up,
    .verdict-grid {
        grid-template-columns: 1fr;
    }

    .ledger-card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .command-grid,
    .checker-board,
    .register-grid,
    .section-matrix {
        gap: 24px;
        border: 0;
        background: transparent;
    }

    .command-grid > .command-panel,
    .checker-board > *,
    .register-grid > .register-panel,
    .protocol-block {
        border: 1px solid var(--line);
    }

    .command-grid > .command-panel + .command-panel,
    .checker-board > * + *,
    .register-grid > .register-panel + .register-panel,
    .protocol-block:nth-child(2n) {
        border-left: 1px solid var(--line);
    }

    .checker-form__pair,
    .checker-form__pair--triple {
        grid-template-columns: 1fr;
    }

    .protocol-summary__grid {
        grid-template-columns: 1fr;
    }

    .source-brief__head {
        flex-direction: column;
    }

    .source-brief__meta {
        white-space: normal;
    }

    .verdict-header h2 {
        font-size: 4rem;
    }

    .action-column {
        position: static;
    }

    .team-trust,
    .team-trust__grid {
        grid-template-columns: 1fr;
    }

    .app-footer {
        position: static;
        inset: auto;
        min-height: 0;
        margin: 24px 20px 0;
        padding: 16px 20px;
        border: 1px solid var(--line);
        background: rgba(241, 243, 255, 0.92);
        backdrop-filter: none;
    }
}

@media (max-width: 720px) {
    .command-header {
        height: 56px;
        min-height: 56px;
        padding: 0 16px;
        justify-content: flex-start;
    }

    .command-nav {
        display: none;
    }

    .command-header__tools {
        display: none;
    }

    .command-header__brand {
        gap: 0;
    }

    .command-rail {
        margin: 72px 16px 0;
        padding: 10px;
        gap: 10px;
    }

    .command-rail__head {
        display: none;
    }

    .command-rail__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .command-rail__link {
        min-height: 44px;
        padding: 0 8px;
        font-size: 0.68rem;
    }

    .command-rail__footer {
        padding: 0;
        border-top: 0;
    }

    .command-rail__status {
        display: none;
    }

    .button--rail {
        width: 100%;
        margin: 0;
    }

    .app-main {
        padding: 20px 16px 36px;
    }

    .document-meta {
        min-width: 0;
        width: 100%;
        justify-items: start;
    }

    .dashboard-hero h1,
    .directive-hero h1 {
        font-size: 2.25rem;
    }

    .command-panel h2,
    .ledger-panel h1,
    .checker-result h2,
    .timeline-panel h2,
    .action-panel h2,
    .section-bar h2,
    .register-panel--wide h2 {
        font-size: 1.85rem;
    }

    .register-panel h3,
    .protocol-block h2 {
        font-size: 1.7rem;
    }

    .verdict-header h2 {
        font-size: 3rem;
    }

    .ledger-card h3 {
        font-size: 1.55rem;
    }

    .team-trust {
        margin: 0 16px 20px;
        padding: 22px;
    }

    .team-trust__intro h2 {
        font-size: 1.8rem;
    }

    .ledger-card-grid,
    .footer-links {
        grid-template-columns: 1fr;
        display: grid;
    }

    .command-panel,
    .ledger-panel,
    .checker-result,
    .register-panel,
    .timeline-panel,
    .action-panel,
    .content-block,
    .metric,
    .lead-drawer__panel {
        padding: 22px;
    }

    .app-footer {
        margin: 20px 16px 0;
        padding: 14px 16px;
    }

    .command-panel--secondary .panel-heading,
    .register-panel > .panel-heading,
    .timeline-panel > .panel-heading {
        margin: -22px -22px 20px;
        padding: 20px 22px 18px;
    }

    .ledger-panel__header {
        margin: -22px -22px 20px;
        padding: 20px 22px 18px;
    }

    .verdict-header {
        margin: -22px -22px 18px;
        padding: 24px 22px 20px;
    }
}

/* 2026 refresh: calmer hierarchy, clearer copy surface, lighter chrome */
:root {
    --surface: #edf1f5;
    --surface-low: #f7f9fb;
    --surface-high: #dde6ee;
    --surface-strong: #10233d;
    --surface-strong-soft: #1b3458;
    --ink: #10233d;
    --ink-soft: #45586e;
    --ink-faint: #647588;
    --line: rgba(16, 35, 61, 0.12);
    --line-strong: rgba(16, 35, 61, 0.2);
    --blue: #2f6fed;
    --gold: #c78a2d;
    --danger: #b53b2f;
    --white: #ffffff;
    --radius: 8px;
    --shadow: 0 18px 48px rgba(16, 35, 61, 0.08);
}

html {
    background: var(--surface);
}

body {
    background:
        radial-gradient(circle at top left, rgba(47, 111, 237, 0.08), transparent 28%),
        linear-gradient(180deg, #f7f9fb 0%, #edf1f5 100%);
    color: var(--ink);
}

body::before {
    display: none;
}

h1,
h2,
h3,
h4 {
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.04;
    text-transform: none;
}

p,
li {
    color: var(--ink-soft);
}

.button,
.button--secondary,
.ghost-button {
    min-height: 46px;
    border-radius: 8px;
    letter-spacing: 0;
    text-transform: none;
}

.button {
    background: var(--surface-strong);
    border-color: var(--surface-strong);
}

.button:hover {
    background: var(--surface-strong-soft);
}

.button--header {
    min-width: 170px;
}

.button--inverse {
    background: var(--white);
    color: var(--surface-strong);
    border-color: rgba(255, 255, 255, 0.28);
}

.ghost-button,
.button--secondary {
    background: transparent;
}

.text-link,
.ghost-link,
.brandmark,
.command-nav__link,
.footer-links a,
.register-list a,
.source-list a,
.breadcrumb-row a {
    text-transform: none;
    letter-spacing: 0;
}

.source-list a,
.checklist-list li,
.rationale-list li,
.verdict-handoff__summary,
.handoff-document__reference,
.handoff-document__verification,
.handoff-provenance p,
.handoff-card p,
.handoff-section p {
    overflow-wrap: anywhere;
}

.command-header {
    position: sticky;
    inset: 0 0 auto 0;
    height: auto;
    padding: 12px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(247, 249, 251, 0.72);
    backdrop-filter: blur(12px);
}

.command-header__brand {
    gap: 2px;
}

.brandmark {
    min-height: 0;
    font-size: 1.06rem;
    font-weight: 780;
}

.brandmark__meta {
    font-size: 0.82rem;
    letter-spacing: 0;
    text-transform: none;
}

.command-nav {
    gap: 10px;
}

.command-nav__link {
    min-height: 34px;
    padding: 0 10px;
    color: var(--ink-soft);
    font-size: 0.86rem;
    font-weight: 600;
    border-bottom: 0;
    border-radius: 6px;
    line-height: 1.2;
}

.command-nav__link.is-active,
.command-nav__link:hover {
    color: var(--surface-strong);
    background: rgba(16, 35, 61, 0.06);
}

.command-header__tools,
.command-rail {
    display: none !important;
}

.app-main {
    margin-left: 0;
    padding: 24px 24px 48px;
}

.app-main > * {
    max-width: 1240px;
    margin: 0 auto 28px;
}

.command-header__brand,
.command-nav,
.command-nav__link,
.verdict-handoff__header > *,
.handoff-toolbar > *,
.handoff-toolbar__actions,
.handoff-document__header > *,
.handoff-document__footer > *,
.handoff-issuer__identity,
.handoff-stamp {
    min-width: 0;
}

.shell {
    max-width: 1240px;
    margin: 0 auto;
}

.dashboard-hero,
.directive-hero {
    overflow: hidden;
    border-radius: 8px;
}

.dashboard-hero {
    min-height: min(72svh, 740px);
    padding: 48px;
    display: flex;
    align-items: flex-end;
    border: 0;
    background-color: #10233d;
    background-image:
        linear-gradient(106deg, rgba(16, 35, 61, 0.92) 10%, rgba(16, 35, 61, 0.7) 42%, rgba(16, 35, 61, 0.34) 74%, rgba(16, 35, 61, 0.12) 100%),
        radial-gradient(circle at 84% 18%, rgba(199, 138, 45, 0.22), transparent 24%),
        radial-gradient(circle at 12% 18%, rgba(47, 111, 237, 0.24), transparent 30%),
        var(--hero-image, none);
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.dashboard-hero__head {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    align-items: end;
    width: 100%;
}

.dashboard-hero__head > div,
.directive-hero__meta > div {
    min-width: 0;
}

.dashboard-hero h1,
.directive-hero h1 {
    margin-bottom: 18px;
}

.dashboard-hero h1 {
    max-width: 8.6ch;
    font-size: clamp(2.8rem, 5.4vw, 5.2rem);
}

.directive-hero h1 {
    max-width: 11.5ch;
    font-size: clamp(2.6rem, 5.1vw, 4.9rem);
}

.dashboard-hero__summary {
    max-width: 36rem;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.88);
    overflow-wrap: anywhere;
}

.directive-hero__summary {
    overflow-wrap: anywhere;
}

.dashboard-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin: 24px 0 18px;
}

.signal-row__item {
    color: rgba(255, 255, 255, 0.82);
}

.signal-row__item::before {
    background: var(--gold);
    border-radius: 999px;
}

.document-meta {
    min-width: 0;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    backdrop-filter: blur(12px);
}

.document-meta strong {
    color: var(--white);
    font-size: 0.98rem;
}

.command-grid,
.checker-board,
.directive-layout,
.register-grid,
.section-matrix,
.two-up,
.three-up,
.verdict-grid {
    gap: 24px;
}

.command-grid,
.checker-board,
.register-grid,
.section-matrix {
    border: 0;
    background: transparent;
}

.command-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
}

.register-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr) minmax(0, 0.95fr);
}

.checker-board {
    grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
}

.directive-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.78fr);
}

.directive-layout--trust {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.directive-layout--trust .section-matrix {
    grid-template-columns: 1fr;
}

.command-panel,
.ledger-card,
.register-panel,
.ledger-panel,
.checker-result,
.protocol-block,
.timeline-panel,
.action-panel,
.content-block,
.metric,
.lead-drawer__panel,
.team-trust {
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.command-grid > .command-panel,
.register-grid > .register-panel,
.checker-board > * {
    border: 1px solid var(--line);
}

.command-grid > .command-panel + .command-panel,
.register-grid > .register-panel + .register-panel,
.checker-board > * + * {
    border-left: 1px solid var(--line);
}

.command-panel,
.register-panel,
.ledger-panel,
.checker-result,
.timeline-panel,
.action-panel,
.content-block,
.metric,
.lead-drawer__panel {
    padding: 28px;
}

.command-panel--primary {
    min-height: 0;
    background: var(--white);
    color: var(--ink);
}

.command-panel--primary p,
.command-panel--primary .panel-meta,
.command-panel--primary .ghost-link {
    color: var(--ink-soft);
}

.command-panel--secondary,
.ledger-panel,
.register-panel--tone,
.register-panel--quiet,
.protocol-summary,
.integrity-ledger,
.timeline-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 249, 251, 0.92) 100%);
}

.action-panel--dark {
    background: linear-gradient(180deg, rgba(16, 35, 61, 0.97) 0%, rgba(27, 52, 88, 0.94) 100%);
    color: var(--white);
}

.directive-hero {
    position: relative;
    isolation: isolate;
    background-color: #10233d;
    color: var(--white);
}

.directive-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(16, 35, 61, 0.9) 0%, rgba(16, 35, 61, 0.72) 52%, rgba(16, 35, 61, 0.42) 100%),
        radial-gradient(circle at 88% 18%, rgba(199, 138, 45, 0.18), transparent 26%),
        radial-gradient(circle at 10% 16%, rgba(47, 111, 237, 0.22), transparent 30%);
}

.directive-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.directive-hero__meta,
.directive-hero h1,
.directive-hero__summary {
    position: relative;
    z-index: 2;
}

.action-panel--quiet {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 245, 250, 0.94) 100%);
}

.action-panel--dark p,
.action-panel--dark .ghost-link {
    color: rgba(255, 255, 255, 0.82);
}

.panel-rule,
.panel-meta {
    color: var(--ink-faint);
}

.panel-rule div {
    background: var(--line);
}

.command-panel h2 {
    max-width: 13ch;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.command-panel--secondary .panel-heading,
.register-panel > .panel-heading,
.timeline-panel > .panel-heading,
.protocol-summary > .panel-heading,
.ledger-panel__header,
.verdict-header {
    margin: 0 0 24px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--line);
    background: transparent;
}

.ledger-panel__header {
    border-bottom-width: 1px;
}

.verdict-header {
    border-bottom: 0;
    padding: 28px;
    margin: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--surface-strong) 0%, var(--surface-strong-soft) 100%);
}

.verdict-header h2 {
    margin-bottom: 0;
    font-size: clamp(2.4rem, 4vw, 4.6rem);
}

.confidence-readout span,
.section-badges span {
    border-radius: 999px;
}

.decision-ribbon {
    padding: 18px 20px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--danger) 0%, #cf564a 100%);
}

.ledger-card-grid {
    gap: 20px;
}

.ledger-card {
    gap: 14px;
    border-top: 0;
    background: var(--white);
}

.ledger-card h3 {
    font-size: 1.5rem;
}

.ledger-card__footer {
    border-top: 1px solid var(--line);
}

.section-bar,
.register-grid--home .register-panel > .panel-heading,
.register-panel--wide .section-bar {
    padding: 0 0 18px;
    background: transparent !important;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.ledger-section--home .section-bar .mono-label,
.ledger-section--home .section-bar h2,
.register-grid--home .register-panel > .panel-heading .mono-label,
.register-grid--home .register-panel > .panel-heading h3,
.register-panel--wide .section-bar .mono-label,
.register-panel--wide .section-bar h2 {
    color: var(--ink);
}

.ledger-section--home .section-badges span {
    background: rgba(16, 35, 61, 0.04);
    color: var(--ink);
    border-color: var(--line);
}

.reference-figure {
    margin-top: 20px;
    border: 0;
    border-radius: 8px;
    background: var(--surface-high);
}

.reference-figure img {
    filter: saturate(0.92) contrast(1.02);
}

input,
select,
textarea {
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

textarea {
    min-height: 136px;
    padding: 14px;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(47, 111, 237, 0.14);
    border-color: rgba(47, 111, 237, 0.42);
    outline-offset: 0;
}

.verdict-block {
    padding: 22px;
    border: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(247, 249, 251, 0.96);
}

.status-list li,
.rationale-list li {
    border-bottom-color: var(--line);
}

.checklist-list li::before,
.bullet-list li::before,
.timeline-list li::before {
    border-radius: 999px;
}

.timeline-list li::before {
    border-radius: 8px;
}

.team-trust {
    padding: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 251, 0.94) 100%);
}

.team-trust__item {
    padding: 16px;
    border: 1px solid var(--line);
    border-top: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
}

.team-trust__item strong {
    text-transform: none;
}

.app-footer {
    position: static;
    inset: auto;
    min-height: 0;
    padding: 24px 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: none;
}

.footer-links {
    gap: 14px 18px;
}

.lead-drawer {
    background: rgba(16, 35, 61, 0.36);
}

.lead-drawer__panel {
    width: min(480px, 100vw);
    border-left: 0;
    box-shadow: -12px 0 40px rgba(16, 35, 61, 0.16);
}

.lead-drawer__summary,
.lead-drawer__checklist,
.lead-form__consent {
    margin-bottom: 20px;
}

.lead-form__consent {
    font-size: 0.9rem;
    line-height: 1.6;
}

.lead-form__consent a {
    color: var(--blue);
}

.content-block,
.metric {
    background: rgba(255, 255, 255, 0.96);
}

th {
    font-size: 0.78rem;
}

@media (max-width: 960px) {
    .command-header {
        padding: 11px 16px;
    }

    .command-nav {
        width: auto;
        overflow: visible;
        flex-wrap: wrap;
        gap: 8px;
    }

    .dashboard-hero,
    .directive-hero {
        padding: 28px 24px;
    }

    .section-bar,
    .ledger-panel__header,
    .checker-form__actions,
    .verdict-actions,
    .app-footer,
    .lead-drawer__header {
        flex-direction: column;
    }

    .dashboard-hero__head,
    .directive-hero__meta {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dashboard-hero__summary,
    .directive-hero__summary {
        max-width: none;
    }

    .document-meta {
        max-width: 360px;
    }

    .command-grid,
    .checker-board,
    .directive-layout,
    .register-grid,
    .section-matrix,
    .two-up,
    .three-up,
    .verdict-grid,
    .team-trust,
    .team-trust__grid {
        grid-template-columns: 1fr;
    }

    .command-grid > .command-panel + .command-panel,
    .checker-board > * + *,
    .register-grid > .register-panel + .register-panel {
        border-left-width: 0;
    }
}

@media (max-width: 720px) {
    .command-header {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 10px 14px;
    }

    .command-nav {
        display: flex;
        width: 100%;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .command-nav__link {
        flex: 1 1 calc(50% - 4px);
        min-width: 0;
        justify-content: center;
        min-height: 36px;
        padding: 0 8px;
        font-size: 0.82rem;
    }

    .button--header {
        width: 100%;
    }

    .app-main {
        padding: 18px 14px 28px;
    }

    .dashboard-hero,
    .directive-hero {
        min-height: 0;
        padding: 24px 20px;
    }

    .dashboard-hero h1,
    .directive-hero h1 {
        max-width: 8.8ch;
        font-size: clamp(2.35rem, 13vw, 3.2rem);
        line-height: 0.94;
    }

    .dashboard-hero__actions {
        margin: 20px 0 16px;
    }

    .dashboard-hero__summary,
    .directive-hero__summary,
    .signal-row {
        width: min(100%, 18.5rem);
    }

    .dashboard-hero__head,
    .directive-hero__meta {
        gap: 16px;
    }

    .document-meta {
        max-width: none;
        padding: 16px 18px;
    }

    .checker-form {
        gap: 14px;
    }

    .checker-form__pair,
    .checker-form__pair--triple {
        gap: 14px;
    }

    .verdict-header {
        padding: 18px;
        gap: 14px;
    }

    .verdict-header h2 {
        font-size: clamp(2rem, 15vw, 2.8rem);
    }

    .confidence-readout {
        justify-items: start;
    }

    .confidence-readout span {
        min-width: 0;
    }

    .decision-ribbon {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .signal-row {
        gap: 12px 16px;
    }

    .command-panel,
    .register-panel,
    .ledger-panel,
    .checker-result,
    .timeline-panel,
    .action-panel,
    .content-block,
    .metric,
    .lead-drawer__panel,
    .team-trust {
        padding: 22px;
    }

    .verdict-header {
        padding: 22px;
    }
}

.app-main > .home-page {
    max-width: none;
}

.home-page {
    display: grid;
    gap: 52px;
}

.home-page > * {
    width: min(100%, 1240px);
    margin: 0 auto;
}

.home-page h1,
.home-page h2,
.home-page h3 {
    font-family: "Fraunces", Georgia, serif;
    font-weight: 600;
    color: #182321;
}

.home-page p,
.home-page li {
    color: #4e625d;
}

.home-page .eyebrow {
    margin-bottom: 12px;
    color: #5a776b;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
}

.home-page .button,
.home-page .ghost-button {
    min-height: 48px;
}

.home-hero {
    width: auto;
    min-height: min(78svh, 780px);
    margin-left: calc(50% - 50vw + 24px);
    margin-right: calc(50% - 50vw + 24px);
    padding: 56px 24px;
    display: flex;
    align-items: flex-end;
    background-color: #182321;
    background-image:
        linear-gradient(103deg, rgba(24, 35, 33, 0.92) 8%, rgba(24, 35, 33, 0.78) 42%, rgba(24, 35, 33, 0.34) 74%, rgba(24, 35, 33, 0.08) 100%),
        radial-gradient(circle at 82% 18%, rgba(189, 96, 67, 0.24), transparent 24%),
        radial-gradient(circle at 14% 18%, rgba(98, 145, 122, 0.28), transparent 28%),
        url('https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&fm=jpg&q=80&w=1600');
    background-position: center;
    background-size: cover;
    color: var(--white);
}

.home-hero__inner {
    width: min(100%, 1240px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 32px;
    align-items: end;
}

.home-hero__copy,
.home-hero__rail {
    min-width: 0;
}

.home-hero__copy .eyebrow,
.home-hero__rail-label {
    color: rgba(255, 255, 255, 0.72);
}

.home-hero__copy h1,
.home-hero__rail h2 {
    color: var(--white);
}

.home-hero__copy h1 {
    max-width: 8.4ch;
    margin-bottom: 18px;
    font-size: clamp(3.5rem, 7vw, 6.4rem);
    line-height: 0.92;
}

.home-hero__summary {
    max-width: 34rem;
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.84);
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin: 26px 0 30px;
}

.home-hero__actions .button {
    background: var(--white);
    color: #182321;
    border-color: var(--white);
}

.home-hero__actions .button:hover {
    background: rgba(255, 255, 255, 0.88);
}

.home-hero__actions .ghost-link {
    color: rgba(255, 255, 255, 0.92);
}

.home-hero__actions .ghost-link:hover {
    color: var(--white);
}

.home-hero__notes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-hero__note {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.home-hero__note span {
    display: inline-flex;
    margin-bottom: 10px;
    font-family: "Roboto Mono", Consolas, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.home-hero__note p,
.home-hero__contact {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
}

.home-hero__rail {
    display: grid;
    gap: 18px;
    padding: 28px;
    align-self: stretch;
    align-content: end;
    background: rgba(13, 20, 19, 0.36);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    backdrop-filter: blur(12px);
}

.home-hero__rail-label {
    margin-bottom: 0;
    font-family: "Roboto Mono", Consolas, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-hero__rail h2 {
    max-width: 13ch;
    margin-bottom: 0;
    font-size: 2.25rem;
    line-height: 1;
}

.home-hero__rail-list,
.home-guidance__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-hero__rail-list {
    display: grid;
    gap: 10px;
}

.home-hero__rail-list li,
.home-guidance__list li {
    position: relative;
    padding-left: 18px;
}

.home-hero__rail-list li {
    color: rgba(255, 255, 255, 0.8);
}

.home-hero__rail-list li::before,
.home-guidance__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #bd6043;
}

.home-section-heading {
    display: grid;
    gap: 12px;
    max-width: 40rem;
}

.home-section-heading h2 {
    max-width: 13ch;
    margin-bottom: 0;
    font-size: clamp(2.4rem, 4.3vw, 4.4rem);
    line-height: 0.98;
}

.home-section-heading p:last-child {
    margin-bottom: 0;
    font-size: 1.04rem;
}

.home-blockers,
.home-trust-surface {
    display: grid;
    grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
    gap: 32px;
    align-items: start;
}

.home-blocker-list,
.home-route-list,
.home-trust-links {
    overflow: hidden;
    border: 1px solid rgba(24, 35, 33, 0.12);
    border-radius: 8px;
    background: rgba(24, 35, 33, 0.08);
}

.home-blocker,
.home-trust-link {
    display: grid;
    gap: 10px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.94);
}

.home-blocker + .home-blocker,
.home-trust-link + .home-trust-link {
    border-top: 1px solid rgba(24, 35, 33, 0.08);
}

.home-blocker {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 20px;
}

.home-blocker__index {
    font-family: "Roboto Mono", Consolas, monospace;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #73857f;
}

.home-blocker__content h3 {
    margin-bottom: 8px;
    font-size: 1.74rem;
}

.home-blocker__content p:last-child,
.home-trust-link__summary {
    margin-bottom: 0;
}

.home-routes {
    display: grid;
    gap: 24px;
}

.home-routes__layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 28px;
    align-items: start;
}

.home-route-feature {
    overflow: hidden;
    border: 1px solid rgba(24, 35, 33, 0.12);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 20px 42px rgba(24, 35, 33, 0.08);
}

.home-route-feature__media img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.home-route-feature__body {
    padding: 28px;
}

.home-route-feature__body h3 {
    margin-bottom: 14px;
    font-size: 2.5rem;
    line-height: 1;
}

.home-route-feature__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0 24px;
    font-family: "Roboto Mono", Consolas, monospace;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #70837e;
}

.home-route-feature__actions,
.home-route-list__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.home-route-list__item {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 18px;
    background: var(--white);
}

.home-route-list__item + .home-route-list__item {
    border-top: 1px solid rgba(24, 35, 33, 0.08);
}

.home-route-list__media img {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
}

.home-route-list__body {
    min-width: 0;
}

.home-route-list__body h3 {
    margin-bottom: 8px;
    font-size: 1.6rem;
}

.home-route-list__body h3 a {
    color: #182321;
}

.home-route-list__body p:last-child {
    margin-bottom: 0;
}

.home-route-list__actions {
    justify-content: flex-end;
}

.home-guidance {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.home-guidance__panel {
    padding: 32px;
    border: 1px solid rgba(24, 35, 33, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
}

.home-guidance__panel h2 {
    max-width: 12ch;
    margin-bottom: 14px;
    font-size: 2.6rem;
    line-height: 0.98;
}

.home-guidance__panel p {
    max-width: 34rem;
}

.home-guidance__panel--accent {
    background: linear-gradient(145deg, #1d2a27 0%, #314944 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

.home-guidance__panel--accent .eyebrow,
.home-guidance__panel--accent h2 {
    color: var(--white);
}

.home-guidance__panel--accent p,
.home-guidance__panel--accent li {
    color: rgba(255, 255, 255, 0.82);
}

.home-guidance__panel--accent .home-guidance__list li::before {
    background: rgba(255, 255, 255, 0.86);
}

.home-guidance__list {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
}

.home-guidance__cta {
    margin-top: 24px;
    background: var(--white);
    color: #182321;
    border-color: var(--white);
}

.home-guidance__cta:hover {
    background: rgba(255, 255, 255, 0.9);
}

.home-trust-link__title {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.56rem;
    line-height: 1.02;
    color: #182321;
}

.home-trust-link__summary {
    color: #5b6f69;
}

@media (max-width: 1100px) {
    .home-routes__layout,
    .home-blockers,
    .home-trust-surface,
    .home-guidance {
        grid-template-columns: 1fr;
    }

    .home-route-list__item {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .home-route-list__actions {
        justify-content: flex-start;
        grid-column: 2;
    }
}

@media (max-width: 960px) {
    .home-hero {
        min-height: 0;
        margin-left: calc(50% - 50vw + 20px);
        margin-right: calc(50% - 50vw + 20px);
        padding: 32px 20px;
    }

    .home-hero__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-hero__copy h1 {
        font-size: clamp(3rem, 10vw, 5rem);
    }

    .home-hero__notes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .home-page {
        gap: 36px;
    }

    .home-page > * {
        width: 100%;
    }

    .home-hero {
        margin-left: calc(50% - 50vw + 16px);
        margin-right: calc(50% - 50vw + 16px);
        padding: 28px 16px;
    }

    .home-hero__copy h1 {
        max-width: 8.8ch;
        font-size: clamp(2.8rem, 13vw, 4rem);
    }

    .home-hero__summary {
        font-size: 1rem;
    }

    .home-hero__rail {
        padding: 22px;
    }

    .home-section-heading h2,
    .home-guidance__panel h2,
    .home-route-feature__body h3 {
        font-size: 2.15rem;
    }

    .home-blocker {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-route-feature__body,
    .home-guidance__panel {
        padding: 24px;
    }

    .home-route-list__item {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-route-list__media img {
        aspect-ratio: 16 / 10;
    }

    .home-route-list__actions {
        grid-column: auto;
    }

    .home-trust-link {
        padding: 20px;
    }
}

.verdict-handoff {
    padding: 24px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--blue);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(240, 245, 255, 0.94) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.verdict-handoff__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.verdict-handoff__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.verdict-handoff__header h3 {
    margin-bottom: 0;
    font-size: 1.9rem;
}

.verdict-handoff__summary {
    margin: 14px 0 16px;
}

.verdict-handoff__guard {
    margin: -6px 0 18px;
    padding: 12px 14px;
    border: 1px solid rgba(1, 27, 62, 0.16);
    border-radius: 8px;
    background: rgba(255, 248, 235, 0.82);
    color: var(--ink);
}

.office-profile-panel,
.office-tools-panel {
    margin: 18px 0 18px;
    border: 1px dashed rgba(1, 27, 62, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
}

.office-profile-panel[open],
.office-tools-panel[open] {
    background: rgba(248, 250, 255, 0.9);
}

.office-profile-panel__summary,
.office-tools-panel__summary {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
}

.office-profile-panel__summary::-webkit-details-marker,
.office-tools-panel__summary::-webkit-details-marker {
    display: none;
}

.office-profile-panel__summary strong,
.office-tools-panel__summary strong {
    color: var(--surface-strong);
    font-size: 1.02rem;
}

.office-profile-panel__hint,
.office-tools-panel__hint {
    color: var(--ink-faint);
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.office-profile-panel__body,
.office-tools-panel__body {
    display: grid;
    gap: 14px;
    padding: 0 18px 18px;
    border-top: 1px solid rgba(1, 27, 62, 0.1);
}

.office-profile-panel__copy p {
    margin: 0;
}

.office-profile-panel__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

.office-profile-panel__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.office-profile-panel__actions .form-status {
    margin: 0;
}

.office-tools-panel__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.office-tools-panel__preview-label {
    margin: 0;
}

.verdict-handoff__preview {
    margin: 0;
    padding: 18px;
    border: 1px solid rgba(1, 27, 62, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    font-family: "Roboto Mono", Consolas, monospace;
    font-size: 0.84rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

.verdict-handoff .form-status {
    margin-top: 12px;
}

#ownerHandoffStatus {
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink-faint);
}

@media (max-width: 720px) {
    .verdict-handoff {
        padding: 18px;
    }

    .verdict-handoff__header {
        flex-direction: column;
    }

    .verdict-handoff__header h3 {
        font-size: 1.45rem;
        line-height: 1.06;
    }

    .office-profile-panel__fields {
        grid-template-columns: 1fr;
    }

    .office-profile-panel__actions,
    .office-tools-panel__actions {
        width: 100%;
    }

    .verdict-handoff__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .verdict-handoff__actions > *,
    .office-profile-panel__actions > *,
    .office-tools-panel__actions > * {
        flex: 1 1 100%;
    }

    .verdict-handoff__preview {
        padding: 16px;
        font-size: 0.8rem;
    }
}

.handoff-body {
    background: var(--surface-low);
}

.handoff-body::before {
    opacity: 0.18;
}

.handoff-main {
    padding: 32px;
}

.handoff-shell {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    gap: 20px;
}

.handoff-toolbar,
.handoff-toolbar__actions,
.handoff-document__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.handoff-toolbar {
    padding: 8px 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: rgba(249, 249, 255, 0.62);
}

.handoff-toolbar--export {
    background: rgba(244, 248, 255, 0.92);
}

.handoff-toolbar > .ghost-button {
    margin-right: auto;
}

.handoff-toolbar__note {
    margin: -6px 0 2px;
    font-size: 0.95rem;
    color: var(--ink-muted);
}

.handoff-empty,
.handoff-document {
    padding: 34px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--white);
}

.handoff-empty h1,
.handoff-document__header h1 {
    margin-bottom: 14px;
    font-size: 3.4rem;
    line-height: 0.94;
}

.handoff-empty p,
.handoff-document__lede,
.handoff-document__reference,
.handoff-document__verification,
.handoff-card p,
.handoff-section p {
    max-width: 76ch;
    font-size: 1rem;
}

.handoff-document__reference {
    margin-bottom: 0;
    color: var(--ink-faint);
}

.handoff-stamp {
    min-width: 220px;
    display: grid;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--line);
    background: var(--surface-low);
}

.handoff-stamp strong {
    color: var(--surface-strong);
    font-size: 1rem;
}

.handoff-request-sheet {
    margin-top: 24px;
    padding: 22px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.92);
}

.handoff-send-guard {
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid rgba(1, 27, 62, 0.18);
    border-radius: 8px;
    background: rgba(255, 248, 235, 0.82);
}

.handoff-send-guard h2 {
    margin-bottom: 8px;
    font-size: 1.9rem;
    line-height: 1.02;
}

.handoff-send-guard p:last-child {
    margin-bottom: 0;
}

.handoff-request-sheet__copy {
    display: grid;
    gap: 8px;
}

.handoff-request-sheet__copy h2 {
    margin-bottom: 0;
    font-size: 1.9rem;
    line-height: 1.02;
}

.handoff-request-sheet__copy p:last-child {
    margin-bottom: 0;
}

.handoff-issuer {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.handoff-issuer__identity {
    display: grid;
    gap: 8px;
}

.handoff-issuer__identity strong {
    font-size: 1.35rem;
    color: var(--surface-strong);
}

.handoff-issuer__subline,
.handoff-issuer__note {
    color: var(--ink-faint);
}

.handoff-issuer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px 18px;
}

.handoff-issuer__item {
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-low);
}

.handoff-issuer__item strong,
.handoff-issuer__item a {
    color: var(--surface-strong);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.handoff-provenance {
    margin-top: 24px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(240, 245, 255, 0.72);
}

.handoff-provenance p {
    margin: 0;
}

.handoff-highlight-grid,
.handoff-detail-grid {
    display: grid;
    gap: 22px;
}

.handoff-highlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 28px 0 30px;
}

.handoff-highlight-grid--request {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 18px 0 0;
}

.handoff-cover {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 22px;
    margin-top: 26px;
    padding: 22px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: rgba(248, 250, 252, 0.92);
}

.handoff-cover__copy h2 {
    margin-bottom: 10px;
    font-size: 1.65rem;
    line-height: 1.02;
}

.handoff-cover__list {
    margin-top: 0;
}

.handoff-cover__list li + li {
    margin-top: 10px;
}

.handoff-background {
    margin-top: 30px;
}

.handoff-background__copy {
    margin-bottom: 10px;
}

.handoff-background__copy h2 {
    margin-bottom: 0;
    font-size: 2rem;
}

.handoff-followup-block {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 22px;
    padding: 22px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: rgba(240, 245, 255, 0.72);
}

.handoff-followup-block__copy h2 {
    margin-bottom: 10px;
    color: var(--surface-strong);
    font-size: 1.65rem;
    line-height: 1.02;
}

.handoff-followup-block__copy p {
    color: var(--ink-soft);
}

.handoff-followup-block__list {
    margin-top: 0;
}

.handoff-followup-block__list li + li {
    margin-top: 10px;
}

.handoff-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.handoff-card,
.handoff-section {
    padding-top: 18px;
    border-top: 3px solid rgba(37, 99, 235, 0.18);
}

.handoff-secondary-copy {
    color: var(--ink-faint);
}

.handoff-section--wide {
    grid-column: 1 / -1;
}

.handoff-read-list {
    margin-top: 14px;
}

.handoff-card .checklist-list {
    margin-top: 14px;
}

.handoff-card__split {
    display: grid;
    gap: 14px;
}

.handoff-card__list-block {
    display: grid;
    gap: 8px;
}

.handoff-card__subhead {
    margin-bottom: 0;
}

.handoff-card__list-block .checklist-list {
    margin-top: 0;
}

.handoff-card__fallback {
    display: none;
}

.handoff-official-guide-inline {
    display: none;
}

.handoff-document__footer {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.handoff-document__footer .text-link {
    min-height: 0;
    padding: 0;
}

@media (max-width: 980px) {
    .handoff-main {
        padding: 24px 20px 28px;
    }

    .handoff-toolbar,
    .handoff-toolbar__actions,
    .handoff-document__header,
    .handoff-document__footer {
        flex-direction: column;
    }

    .handoff-toolbar {
        padding: 12px;
    }

    .handoff-toolbar > .ghost-button {
        margin-right: 0;
    }

    .handoff-toolbar__actions {
        width: 100%;
    }

    .handoff-toolbar__actions > * {
        flex: 1 1 100%;
    }

    .handoff-highlight-grid,
    .handoff-detail-grid,
    .handoff-cover,
    .handoff-followup-block,
    .handoff-issuer,
    .handoff-issuer__grid {
        grid-template-columns: 1fr;
    }

    .handoff-stamp {
        min-width: 0;
        width: 100%;
    }

    .handoff-stamp,
    .handoff-provenance,
    .handoff-send-guard,
    .handoff-request-sheet,
    .handoff-cover,
    .handoff-followup-block {
        padding: 16px;
    }

    .handoff-background__copy h2 {
        font-size: 1.7rem;
    }

    .handoff-empty,
    .handoff-document {
        padding: 24px;
    }

    .handoff-empty h1,
    .handoff-document__header h1 {
        font-size: 2.35rem;
    }
}

@page {
    margin: 0.5in 0.55in;
}

@media print {
    body::before {
        display: none;
    }

    html,
    body {
        background: var(--white);
        color: var(--ink);
        font-size: 10.25pt;
        line-height: 1.45;
    }

    .handoff-body {
        background: var(--white);
    }

    .handoff-main {
        padding: 0;
    }

    .handoff-toolbar,
    .handoff-toolbar__note,
    #ownerHandoffStatus {
        display: none;
    }

    .handoff-shell {
        max-width: none;
        gap: 0;
    }

    .handoff-document {
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .handoff-document h1,
    .handoff-document h2,
    .handoff-document h3 {
        line-height: 1.08;
        text-transform: none;
    }

    .handoff-document p,
    .handoff-document li,
    .handoff-document a,
    .handoff-document__reference,
    .handoff-document__verification,
    .handoff-issuer__subline,
    .handoff-issuer__note {
        color: var(--ink);
    }

    .handoff-document__header {
        display: block;
        padding-bottom: 10pt;
        margin-bottom: 10pt;
        border-bottom: 1px solid rgba(1, 27, 62, 0.18);
        break-after: avoid-page;
    }

    .handoff-document__header h1 {
        font-size: 22pt;
        line-height: 1.08;
        margin-bottom: 10pt;
    }

    .handoff-request-sheet {
        margin-top: 10pt;
        padding: 8pt 10pt;
        border: 1px solid rgba(1, 27, 62, 0.18);
        background: transparent;
        break-inside: auto;
        page-break-inside: auto;
    }

    .handoff-send-guard {
        margin-top: 10pt;
        padding: 8pt 10pt;
        border: 1px solid rgba(1, 27, 62, 0.18);
        background: transparent;
    }

    .handoff-send-guard h2 {
        font-size: 15pt;
        line-height: 1.15;
    }

    .handoff-request-sheet__copy {
        gap: 4pt;
        margin-bottom: 8pt;
    }

    .handoff-request-sheet__copy h2 {
        font-size: 15pt;
        line-height: 1.15;
    }

    .handoff-issuer,
    .handoff-highlight-grid,
    .handoff-detail-grid,
    .handoff-cover,
    .handoff-followup-block,
    .handoff-issuer__grid {
        grid-template-columns: 1fr;
        gap: 8pt;
    }

    .handoff-highlight-grid {
        margin: 10pt 0 12pt;
    }

    .handoff-highlight-grid--request {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8pt 10pt;
        margin: 8pt 0 0;
    }

    .handoff-background {
        margin-top: 8pt;
        break-before: auto;
        page-break-before: auto;
    }

    .handoff-background__copy {
        margin-bottom: 4pt;
        break-inside: avoid-page;
        page-break-inside: avoid;
        break-after: avoid-page;
        page-break-after: avoid;
    }

    .handoff-background__copy h2 {
        font-size: 15pt;
        line-height: 1.2;
    }

    .handoff-stamp {
        width: 100%;
        max-width: none;
        padding: 8pt 10pt;
        border: 1px solid rgba(1, 27, 62, 0.18);
        background: transparent;
    }

    .handoff-issuer__identity {
        display: none;
    }

    .handoff-issuer {
        padding-bottom: 12pt;
        gap: 6pt;
    }

    .handoff-provenance {
        margin-top: 12pt;
    }

    .handoff-provenance,
    .handoff-reply-today,
    .handoff-cover,
    .handoff-followup-block,
    .handoff-issuer__item {
        padding: 8pt 10pt;
        border: 1px solid rgba(1, 27, 62, 0.15);
        background: transparent;
    }

    .handoff-reply-today {
        margin-top: 10pt;
    }

    .handoff-cover {
        margin-top: 12pt;
    }

    .handoff-document__lede,
    .handoff-document__reference,
    .handoff-document__verification,
    .handoff-card p,
    .handoff-section p,
    .handoff-provenance p,
    .handoff-document li {
        font-size: 9.75pt;
        line-height: 1.42;
    }

    .handoff-reply-today .checklist-list,
    .handoff-cover .checklist-list,
    .handoff-card .checklist-list,
    .handoff-section .checklist-list,
    .handoff-background .source-list {
        gap: 8pt;
    }

    .handoff-card__split {
        gap: 8pt;
    }

    .handoff-card,
    .handoff-section {
        padding-top: 8pt;
        border-top: 1px solid rgba(1, 27, 62, 0.22);
    }

    .handoff-section--wide {
        break-inside: auto;
        page-break-inside: auto;
    }

    .handoff-secondary-copy {
        color: rgba(16, 35, 61, 0.82);
    }

    .handoff-document__footer {
        display: none;
    }

    .handoff-official-guide-inline {
        display: grid;
        gap: 2pt;
        margin-top: 6pt;
        padding-top: 5pt;
        border-top: 1px solid rgba(1, 27, 62, 0.18);
        font-size: 8.75pt;
        line-height: 1.3;
    }

    .handoff-official-guide-inline p:last-child {
        margin-bottom: 0;
        font-size: 8.5pt;
    }

    .handoff-official-guide-inline .text-link {
        display: inline;
        color: inherit;
        text-decoration: underline;
        font-weight: 600;
        text-transform: none;
    }

    .handoff-document__header,
    .handoff-issuer,
    .handoff-send-guard,
    .handoff-provenance,
    .handoff-reply-today,
    .handoff-stamp,
    .handoff-cover,
    .handoff-followup-block,
    .handoff-card,
    .handoff-section {
        break-inside: avoid-page;
        page-break-inside: avoid;
    }

    .handoff-section--wide {
        break-inside: auto;
        page-break-inside: auto;
    }

    .handoff-background .source-list {
        display: block;
        columns: 2;
        column-gap: 14pt;
        font-size: 8.5pt;
        line-height: 1.22;
    }

    .handoff-background .source-list li {
        display: block;
        margin-bottom: 3pt;
        break-inside: avoid-column;
        page-break-inside: avoid;
    }

    .handoff-background .source-list a {
        font-size: 8.5pt;
        line-height: 1.18;
    }
}

.home-office-entry {
    padding: 30px;
    border: 1px solid var(--line-strong);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 245, 255, 0.94) 100%);
}

.home-office-entry__layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 24px;
    align-items: start;
}

.home-office-entry__actions {
    display: grid;
    gap: 12px;
}

.office-entry {
    margin-bottom: 26px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 18px;
}

.office-entry__title {
    margin-bottom: 8px;
    color: var(--surface-strong);
    font-size: 1.36rem;
    font-weight: 900;
    text-transform: uppercase;
}

.office-entry__summary {
    margin-bottom: 0;
}

.office-entry__list {
    margin-top: 0;
}

.office-starters {
    margin-bottom: 26px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 16px;
}

.office-starters__copy p:last-child {
    margin-bottom: 0;
}

.office-starters__actions,
.office-workflow-cases {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.office-starters__actions .ghost-button,
.office-workflow-cases .ghost-button {
    min-width: 0;
}

.office-starters__actions .ghost-button.is-active {
    border-color: rgba(30, 52, 46, 0.48);
    background: rgba(30, 52, 46, 0.08);
    color: var(--surface-strong);
}

.office-starters__status {
    margin-bottom: 0;
}

.office-workflow-page {
    display: grid;
    gap: 28px;
}

.office-workflow-hero {
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
    gap: 28px;
    align-items: stretch;
}

.office-workflow-hero__media {
    overflow: hidden;
    border: 1px solid rgba(24, 35, 33, 0.12);
    border-radius: 8px;
    min-height: 100%;
}

.office-workflow-hero__media img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.office-workflow-hero__copy {
    display: grid;
    gap: 16px;
    padding: 32px;
    border: 1px solid rgba(24, 35, 33, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
}

.office-workflow-hero__copy h1 {
    margin-bottom: 0;
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 0.96;
}

.office-workflow-hero__summary {
    max-width: 42rem;
    font-size: 1.08rem;
}

.office-workflow-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.office-workflow-hero__list {
    margin-top: 4px;
}

.office-workflow-band {
    display: grid;
    gap: 24px;
}

.office-workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.office-workflow-step,
.office-workflow-panel {
    padding: 28px;
    border: 1px solid rgba(24, 35, 33, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
}

.office-workflow-step__index {
    display: block;
    margin-bottom: 12px;
    font-family: "Roboto Mono", Consolas, monospace;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #73857f;
}

.office-workflow-step h3,
.office-workflow-panel h2 {
    margin-bottom: 12px;
    font-size: 2rem;
    line-height: 0.98;
}

.office-workflow-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.office-workflow-panel--accent {
    background: linear-gradient(145deg, #1d2a27 0%, #314944 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

.office-workflow-panel--accent .eyebrow,
.office-workflow-panel--accent h2 {
    color: var(--white);
}

.office-workflow-panel--accent p,
.office-workflow-panel--accent li {
    color: rgba(255, 255, 255, 0.84);
}

.office-workflow-panel--accent .checklist-list li::before {
    background: rgba(255, 255, 255, 0.86);
}

.office-workflow-panel--cases {
    display: grid;
    gap: 16px;
}

.office-workflow-entry {
    margin-top: 0;
}

@media (max-width: 980px) {
    .office-workflow-hero,
    .office-workflow-steps,
    .office-workflow-grid,
    .home-office-entry__layout {
        grid-template-columns: 1fr;
    }

    .office-workflow-hero__copy,
    .office-workflow-step,
    .office-workflow-panel {
        padding: 24px;
    }

    .office-starters__actions,
    .office-workflow-cases {
        flex-direction: column;
    }

    .office-workflow-hero__media img {
        min-height: 320px;
    }
}

.office-workflow-page h1,
.office-workflow-page h2,
.office-workflow-page h3,
.office-entry__title,
.verdict-handoff__header h3,
.handoff-empty h1,
.handoff-document__header h1,
.handoff-request-sheet__copy h2,
.handoff-cover__copy h2,
.handoff-background__copy h2,
.handoff-send-guard h2 {
    font-family: "Newsreader", "Fraunces", Georgia, serif;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.office-workflow-page {
    gap: 32px;
}

.office-workflow-hero {
    grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
    align-items: start;
}

.office-workflow-hero__copy {
    padding: 36px;
    border: 1px solid rgba(1, 27, 62, 0.18);
    border-radius: 0;
    background: linear-gradient(180deg, rgba(255, 252, 246, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.office-workflow-hero__summary {
    padding-left: 14px;
    border-left: 2px solid rgba(217, 119, 6, 0.46);
}

.office-workflow-hero__status {
    display: grid;
    gap: 18px;
}

.office-workflow-status-card {
    display: grid;
    gap: 14px;
    padding: 24px;
    border: 1px solid rgba(1, 27, 62, 0.18);
    border-radius: 0;
    background: linear-gradient(180deg, rgba(249, 246, 240, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.office-workflow-status-card--note {
    background: rgba(255, 255, 255, 0.98);
}

.office-workflow-status-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.office-workflow-status-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid rgba(1, 27, 62, 0.18);
    background: rgba(255, 248, 235, 0.8);
    color: var(--surface-strong);
    font-family: "Roboto Mono", Consolas, monospace;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.office-workflow-status-card h2 {
    margin-bottom: 0;
    font-size: 2.25rem;
    line-height: 0.98;
}

.office-workflow-status-card p {
    margin-bottom: 0;
}

.office-workflow-status-card__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    border: 1px solid rgba(1, 27, 62, 0.16);
    background: rgba(255, 255, 255, 0.9);
}

.office-workflow-status-card__item {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-right: 1px solid rgba(1, 27, 62, 0.12);
    border-bottom: 1px solid rgba(1, 27, 62, 0.12);
}

.office-workflow-status-card__item:nth-child(2n) {
    border-right: 0;
}

.office-workflow-status-card__item:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.office-workflow-status-card__item strong {
    color: var(--surface-strong);
    font-size: 1.06rem;
}

.office-workflow-step,
.office-workflow-panel,
.home-office-entry {
    border-radius: 0;
    background: rgba(255, 255, 255, 0.96);
}

.office-workflow-step,
.office-workflow-panel {
    padding: 30px;
    border-color: rgba(1, 27, 62, 0.18);
}

.office-workflow-step::before,
.office-workflow-panel::before,
.home-office-entry::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(217, 119, 6, 0.46) 0%, rgba(217, 119, 6, 0.08) 100%);
}

.office-workflow-step h3,
.office-workflow-panel h2 {
    font-size: 2.18rem;
}

.office-workflow-step__index {
    color: var(--ink-faint);
}

.office-workflow-panel--accent {
    background: rgba(250, 247, 240, 0.96);
    border-color: rgba(1, 27, 62, 0.18);
}

.office-workflow-panel--accent .eyebrow,
.office-workflow-panel--accent h2,
.office-workflow-panel--accent p,
.office-workflow-panel--accent li {
    color: inherit;
}

.office-workflow-panel--accent .checklist-list li::before {
    background: rgba(1, 27, 62, 0.82);
}

.office-workflow-cases {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.office-starter-link,
.office-starter-card {
    min-height: 0;
    padding: 16px;
    align-items: flex-start;
    justify-content: flex-start;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.96);
    text-align: left;
}

.office-starter-link,
.office-starter-card {
    display: grid;
    gap: 4px;
}

.office-starter-link__meta,
.office-starter-card__meta {
    color: var(--ink-faint);
    font-family: "Roboto Mono", Consolas, monospace;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.office-starter-link strong,
.office-starter-card strong {
    color: var(--surface-strong);
    font-family: "Newsreader", "Fraunces", Georgia, serif;
    font-size: 1.2rem;
    line-height: 1;
}

.office-starter-link small,
.office-starter-card small {
    color: var(--ink-faint);
    font-size: 0.92rem;
    line-height: 1.4;
}

.office-entry {
    margin-bottom: 28px;
    padding: 24px 0;
    border-top: 1px solid rgba(1, 27, 62, 0.18);
    border-bottom: 1px solid rgba(1, 27, 62, 0.18);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 18px 24px;
    align-items: start;
}

.office-entry__copy {
    display: grid;
    gap: 8px;
}

.office-entry__title {
    margin-bottom: 0;
    color: var(--surface-strong);
    font-size: 2.15rem;
    line-height: 0.98;
}

.office-entry__ledger {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border: 1px solid rgba(1, 27, 62, 0.16);
    background: rgba(250, 247, 240, 0.88);
}

.office-entry__ledger-item {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-right: 1px solid rgba(1, 27, 62, 0.12);
}

.office-entry__ledger-item:last-child {
    border-right: 0;
}

.office-entry__ledger-item strong {
    color: var(--surface-strong);
    font-size: 1.04rem;
}

.office-entry__list {
    grid-column: 1 / -1;
    margin-top: 0;
}

.office-starters {
    gap: 18px;
}

.office-starters__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.office-starters__actions .ghost-button.is-active {
    border-color: rgba(217, 119, 6, 0.52);
    background: rgba(217, 119, 6, 0.08);
    color: var(--surface-strong);
}

.verdict-handoff {
    padding: 28px;
    border: 1px solid rgba(1, 27, 62, 0.18);
    border-top: 4px solid rgba(217, 119, 6, 0.48);
    border-left-width: 1px;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(255, 252, 246, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.verdict-handoff__header h3 {
    font-size: 2.1rem;
    line-height: 0.98;
}

.verdict-handoff__actions .button,
.verdict-handoff__actions .ghost-button,
.office-profile-panel__actions .ghost-button,
.office-tools-panel__actions .ghost-button,
.handoff-shell .button,
.handoff-shell .ghost-button {
    border-radius: 0;
}

.verdict-handoff__summary {
    margin: 14px 0 18px;
    max-width: 38rem;
}

.verdict-handoff__proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border: 1px solid rgba(1, 27, 62, 0.16);
    background: rgba(250, 247, 240, 0.88);
}

.verdict-handoff__proof-item {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-right: 1px solid rgba(1, 27, 62, 0.12);
}

.verdict-handoff__proof-item:last-child {
    border-right: 0;
}

.verdict-handoff__proof-item strong {
    color: var(--surface-strong);
    font-size: 1.04rem;
}

.verdict-handoff__trust {
    margin-top: 14px;
}

.verdict-handoff__guard,
.office-profile-panel,
.office-tools-panel,
.verdict-handoff__preview {
    border-radius: 0;
}

.office-profile-panel,
.office-tools-panel {
    border-style: solid;
    background: rgba(255, 255, 255, 0.86);
}

.office-profile-panel__summary strong,
.office-tools-panel__summary strong {
    font-family: "Newsreader", "Fraunces", Georgia, serif;
    font-size: 1.18rem;
    font-weight: 700;
}

.handoff-body {
    background: #ebe9e3;
}

.handoff-main {
    padding: 36px 24px 40px;
}

.handoff-shell {
    max-width: 1040px;
    gap: 18px;
}

.handoff-toolbar {
    padding: 10px 12px;
    border: 1px solid rgba(1, 27, 62, 0.12);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.82);
}

.handoff-toolbar--export {
    background: rgba(255, 255, 255, 0.94);
}

.handoff-toolbar__note {
    margin: 0;
    padding-left: 14px;
    border-left: 2px solid rgba(217, 119, 6, 0.46);
    max-width: 54rem;
}

.handoff-empty,
.handoff-document {
    padding: 38px;
    border: 1px solid rgba(1, 27, 62, 0.2);
    border-radius: 0;
    background: #fffdfa;
    box-shadow: 0 0 0 1px rgba(1, 27, 62, 0.04);
}

.handoff-document__header {
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(1, 27, 62, 0.16);
}

.handoff-document__intro {
    display: grid;
    gap: 10px;
    max-width: 44rem;
}

.handoff-document__kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.handoff-document__badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border: 1px solid rgba(1, 27, 62, 0.18);
    background: rgba(255, 248, 235, 0.78);
    color: var(--surface-strong);
    font-family: "Roboto Mono", Consolas, monospace;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.handoff-empty h1,
.handoff-document__header h1 {
    margin-bottom: 6px;
    max-width: 12ch;
    font-size: clamp(3rem, 6vw, 4.6rem);
    line-height: 0.94;
}

.handoff-stamp {
    min-width: 240px;
    padding: 18px;
    border: 1px solid rgba(1, 27, 62, 0.16);
    border-top: 4px solid rgba(217, 119, 6, 0.46);
    border-radius: 0;
    background: linear-gradient(180deg, rgba(250, 247, 240, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.handoff-issuer {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 24px;
    padding: 22px 0;
    border-top: 1px solid rgba(1, 27, 62, 0.12);
    border-bottom: 1px solid rgba(1, 27, 62, 0.12);
}

.handoff-issuer__identity strong {
    font-family: "Newsreader", "Fraunces", Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.handoff-issuer__item {
    border-radius: 0;
    border-color: rgba(1, 27, 62, 0.14);
    background: rgba(248, 246, 241, 0.9);
}

.handoff-request-sheet {
    margin-top: 26px;
    padding: 24px;
    border: 1px solid rgba(1, 27, 62, 0.16);
    border-left: 4px solid rgba(217, 119, 6, 0.46);
    border-radius: 0;
    background: rgba(250, 247, 240, 0.84);
}

.handoff-send-guard,
.handoff-provenance,
.handoff-reply-today,
.handoff-cover,
.handoff-followup-block {
    border-radius: 0;
    border-color: rgba(1, 27, 62, 0.16);
}

.handoff-provenance,
.handoff-reply-today,
.handoff-cover {
    background: rgba(248, 246, 241, 0.76);
}

.handoff-highlight-grid {
    gap: 18px 22px;
}

.handoff-card,
.handoff-section {
    padding-top: 16px;
    border-top: 1px solid rgba(1, 27, 62, 0.18);
}

.handoff-document__footer {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid rgba(1, 27, 62, 0.16);
}

@media (max-width: 980px) {
    .office-workflow-hero,
    .office-workflow-grid,
    .office-workflow-steps,
    .office-workflow-cases,
    .home-office-entry__layout,
    .office-entry,
    .office-entry__ledger,
    .office-starters__actions,
    .verdict-handoff__proof-grid,
    .office-workflow-status-card__grid {
        grid-template-columns: 1fr;
    }

    .office-workflow-hero__copy,
    .office-workflow-step,
    .office-workflow-panel,
    .handoff-empty,
    .handoff-document {
        padding: 24px;
    }

    .office-entry__ledger-item,
    .verdict-handoff__proof-item,
    .office-workflow-status-card__item {
        border-right: 0;
        border-bottom: 1px solid rgba(1, 27, 62, 0.12);
    }

    .office-entry__ledger-item:last-child,
    .verdict-handoff__proof-item:last-child,
    .office-workflow-status-card__item:last-child {
        border-bottom: 0;
    }

    .office-workflow-status-card h2,
    .office-entry__title,
    .verdict-handoff__header h3 {
        font-size: 1.8rem;
    }

    .handoff-main {
        padding: 24px 20px 28px;
    }
}

@media (max-width: 720px) {
    .office-workflow-hero__copy,
    .office-workflow-status-card,
    .verdict-handoff,
    .handoff-empty,
    .handoff-document {
        padding: 20px;
    }

    .handoff-toolbar__actions,
    .verdict-handoff__actions,
    .office-profile-panel__actions,
    .office-tools-panel__actions {
        width: 100%;
    }

    .handoff-toolbar__actions > *,
    .verdict-handoff__actions > *,
    .office-profile-panel__actions > *,
    .office-tools-panel__actions > * {
        flex: 1 1 100%;
    }
}

.command-header {
    background: rgba(247, 249, 251, 0.98);
    border-bottom: 1px solid rgba(1, 27, 62, 0.14);
    backdrop-filter: none;
    padding: 10px 20px;
}

#office-workflow {
    scroll-margin-top: 108px;
}

.command-header__brand {
    gap: 1px;
}

.brandmark {
    font-size: 1rem;
}

.brandmark__meta {
    font-size: 0.78rem;
}

.command-nav {
    gap: 8px;
}

.command-nav__link {
    min-height: 32px;
    padding: 0 9px;
    font-size: 0.82rem;
}

.button--header {
    min-width: 154px;
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.76rem;
}

.decision-ribbon {
    padding: 18px 20px;
    border-top: 3px solid rgba(217, 119, 6, 0.42);
    background: linear-gradient(90deg, rgba(255, 248, 235, 0.96) 0%, rgba(250, 247, 240, 0.96) 100%);
    color: var(--surface-strong);
}

.decision-ribbon h3,
.decision-ribbon .mono-label--light {
    color: var(--surface-strong);
}

.decision-ribbon__ref {
    color: var(--ink-faint);
}

.verdict-handoff {
    padding: 24px 24px 22px;
}

.verdict-handoff__header {
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(1, 27, 62, 0.12);
}

.verdict-handoff__header h3 {
    font-size: 2rem;
}

.verdict-handoff__summary {
    margin: 16px 0 14px;
    line-height: 1.62;
}

.verdict-handoff__proof-grid {
    margin-top: 2px;
}

.verdict-handoff__proof-item {
    padding: 12px 14px;
}

.verdict-handoff__trust {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(1, 27, 62, 0.08);
}

.office-profile-panel,
.office-tools-panel {
    margin: 14px 0 0;
}

.office-profile-panel__summary,
.office-tools-panel__summary {
    padding: 14px 16px;
}

.office-profile-panel__body,
.office-tools-panel__body {
    gap: 12px;
    padding: 0 16px 16px;
}

.verdict-handoff__preview {
    padding: 16px;
    line-height: 1.55;
}

.checker-public-intro {
    display: grid;
    gap: 16px;
    margin-bottom: 22px;
    padding: 18px 20px;
    border: 1px solid rgba(1, 27, 62, 0.16);
    border-top: 3px solid rgba(47, 111, 237, 0.32);
    background: linear-gradient(180deg, rgba(244, 248, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.checker-public-intro__copy {
    display: grid;
    gap: 8px;
}

.checker-public-intro__title {
    margin: 0;
    color: var(--surface-strong);
    font-family: "Newsreader", "Fraunces", Georgia, serif;
    font-size: 1.92rem;
    font-weight: 700;
    line-height: 0.98;
}

.checker-public-intro__summary {
    margin: 0;
    max-width: 42rem;
}

.checker-public-intro__signals {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.checker-public-intro__signal {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    border: 1px solid rgba(1, 27, 62, 0.14);
    background: rgba(255, 255, 255, 0.9);
}

.checker-public-intro__signal strong {
    color: var(--surface-strong);
    font-size: 0.98rem;
    line-height: 1.34;
}

.office-entry {
    margin-top: 8px;
}

.office-entry__title {
    max-width: 16ch;
    font-size: 1.86rem;
}

.office-entry__summary,
.office-starters__copy p:last-child {
    max-width: 40rem;
}

.handoff-action-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 18px;
    padding: 18px 20px;
    border: 1px solid rgba(1, 27, 62, 0.16);
    border-left: 3px solid rgba(217, 119, 6, 0.5);
    background: linear-gradient(180deg, rgba(250, 247, 240, 0.9) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.handoff-action-strip__item {
    display: grid;
    gap: 6px;
    align-content: start;
}

.handoff-action-strip__item strong {
    color: var(--surface-strong);
    font-size: 1.02rem;
    line-height: 1.42;
}

@media (max-width: 980px) {
    #office-workflow {
        scroll-margin-top: 92px;
    }

    .checker-public-intro__signals,
    .handoff-action-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .command-header {
        height: auto;
        min-height: 0;
        padding: 8px 14px;
        gap: 6px;
    }

    #office-workflow {
        scroll-margin-top: 76px;
    }

    .brandmark {
        font-size: 0.96rem;
    }

    .brandmark__meta {
        font-size: 0.74rem;
    }

    .button--header {
        min-height: 38px;
        padding: 0 14px;
        font-size: 0.72rem;
    }

    .verdict-handoff {
        padding: 18px 18px 16px;
    }

    .verdict-handoff__header {
        padding-bottom: 12px;
    }

    .verdict-handoff__summary {
        margin: 14px 0 12px;
    }

    .verdict-handoff__proof-item {
        padding: 12px;
    }

    .checker-public-intro {
        padding: 16px;
    }

    .checker-public-intro__title {
        font-size: 1.58rem;
    }

    .handoff-action-strip {
        padding: 16px;
    }

    .office-profile-panel__summary,
    .office-tools-panel__summary {
        padding: 12px 14px;
    }

    .office-profile-panel__body,
    .office-tools-panel__body {
        padding: 0 14px 14px;
    }
}

.verdict-handoff {
    padding: 22px 22px 20px;
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.verdict-handoff__cover {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(260px, 0.76fr);
    gap: 18px;
    align-items: start;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(1, 27, 62, 0.12);
}

.verdict-handoff__copy {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.verdict-handoff__header {
    align-items: flex-end;
    gap: 12px;
    padding-bottom: 0;
    border-bottom: 0;
}

.verdict-handoff__badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border: 1px solid rgba(1, 27, 62, 0.16);
    background: rgba(255, 248, 235, 0.76);
    color: var(--surface-strong);
    font-family: "Roboto Mono", Consolas, monospace;
    font-size: 0.67rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.verdict-handoff__header h3 {
    margin-bottom: 0;
}

.verdict-handoff__launch {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid rgba(1, 27, 62, 0.16);
    background: rgba(248, 246, 241, 0.94);
}

.verdict-handoff__launch strong {
    color: var(--surface-strong);
    font-family: "Newsreader", "Fraunces", Georgia, serif;
    font-size: 1.62rem;
    font-weight: 700;
    line-height: 0.98;
}

.verdict-handoff__launch-note {
    margin: 0;
    color: var(--ink-soft);
    font-size: 0.96rem;
    line-height: 1.55;
}

.verdict-handoff__actions {
    justify-content: flex-start;
}

.verdict-handoff__actions .button {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    font-size: 0.76rem;
}

.verdict-handoff__actions .button.is-disabled,
.verdict-handoff__actions .button[aria-disabled="true"] {
    opacity: 1;
    background: rgba(1, 27, 62, 0.08);
    color: var(--surface-strong);
    border-color: rgba(1, 27, 62, 0.16);
}

.verdict-handoff__summary {
    max-width: 37rem;
}

.verdict-handoff__proof-grid {
    margin-top: 16px;
}

.verdict-handoff__proof-item {
    gap: 8px;
}

.verdict-handoff__proof-item strong {
    font-family: "Newsreader", "Fraunces", Georgia, serif;
    font-size: 1.14rem;
    font-weight: 700;
    line-height: 1.04;
}

.verdict-handoff__trust {
    font-size: 0.94rem;
}

.handoff-shell {
    max-width: 920px;
    gap: 16px;
}

.handoff-shell--export {
    max-width: 880px;
}

.handoff-toolbar {
    align-items: center;
    padding: 8px 10px;
}

.handoff-toolbar__actions {
    align-items: center;
}

.handoff-toolbar .button,
.handoff-toolbar .ghost-button {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.76rem;
}

.handoff-toolbar__note {
    max-width: 44rem;
    font-size: 0.92rem;
    line-height: 1.55;
}

.handoff-empty,
.handoff-document {
    padding: 40px 42px;
}

.handoff-document--export {
    box-shadow: 0 18px 42px rgba(1, 27, 62, 0.08);
}

.handoff-document__header {
    gap: 24px;
    padding-bottom: 24px;
}

.handoff-document__intro {
    gap: 8px;
    max-width: 38rem;
}

.handoff-document__kicker {
    gap: 8px;
}

.handoff-document__badge {
    padding: 5px 9px;
}

.handoff-document__badge--surface {
    background: rgba(1, 27, 62, 0.06);
}

.handoff-empty h1,
.handoff-document__header h1 {
    max-width: 11.5ch;
    font-size: clamp(2.9rem, 5vw, 4.1rem);
}

.handoff-document__lede {
    max-width: 36rem;
    font-size: 1.08rem;
    line-height: 1.56;
}

.handoff-document__reference {
    max-width: 34rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.handoff-stamp {
    min-width: 280px;
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
}

.handoff-stamp__item {
    display: grid;
    gap: 5px;
    padding: 14px 16px;
    border: 1px solid rgba(1, 27, 62, 0.16);
    border-top: 3px solid rgba(217, 119, 6, 0.46);
    background: linear-gradient(180deg, rgba(250, 247, 240, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.handoff-stamp__item strong {
    color: var(--surface-strong);
    font-family: "Newsreader", "Fraunces", Georgia, serif;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.02;
}

.handoff-issuer {
    gap: 18px;
    padding: 18px 0 20px;
}

.handoff-issuer__identity {
    gap: 6px;
}

.handoff-issuer__item {
    padding: 12px 14px;
}

.handoff-issuer__note {
    margin: 0;
    max-width: 30rem;
}

.handoff-request-sheet {
    padding: 22px 22px 20px;
    background: linear-gradient(180deg, rgba(250, 247, 240, 0.92) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.handoff-request-sheet__copy {
    gap: 6px;
    max-width: 36rem;
}

.handoff-request-sheet__copy h2 {
    font-size: 1.75rem;
}

.handoff-highlight-grid--request {
    margin-top: 16px;
    gap: 18px 20px;
}

.handoff-provenance,
.handoff-reply-today,
.handoff-cover,
.handoff-followup-block {
    padding: 18px 20px;
}

.handoff-reply-today {
    margin-top: 24px;
    border: 1px solid rgba(1, 27, 62, 0.16);
    background: rgba(255, 255, 255, 0.94);
}

.handoff-reply-today__copy {
    display: grid;
    gap: 6px;
    max-width: 34rem;
}

.handoff-reply-today__copy h2 {
    margin-bottom: 0;
    font-size: 1.72rem;
    line-height: 1.02;
}

.handoff-reply-today__list {
    margin-top: 14px;
}

.handoff-cover__copy,
.handoff-background__copy {
    max-width: 34rem;
}

.handoff-card,
.handoff-section {
    padding-top: 14px;
}

.handoff-document__footer {
    align-items: flex-end;
}

.handoff-document__verification {
    max-width: 30rem;
    font-size: 0.95rem;
}

@media (max-width: 980px) {
    .verdict-handoff__cover {
        grid-template-columns: 1fr;
    }

    .verdict-handoff__launch {
        padding: 14px;
    }

    .handoff-shell,
    .handoff-shell--export {
        max-width: none;
    }

    .handoff-toolbar .button,
    .handoff-toolbar .ghost-button {
        width: 100%;
    }

    .handoff-empty,
    .handoff-document {
        padding: 28px 24px;
    }

    .handoff-document__header {
        gap: 18px;
    }

    .handoff-stamp {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 720px) {
    .verdict-handoff {
        padding: 18px;
    }

    .verdict-handoff__cover {
        gap: 14px;
        padding-bottom: 14px;
    }

    .verdict-handoff__header {
        align-items: flex-start;
    }

    .verdict-handoff__badge {
        order: -1;
    }

    .verdict-handoff__launch strong {
        font-size: 1.48rem;
    }

    .verdict-handoff__actions .button {
        min-height: 44px;
    }

    .verdict-handoff__proof-grid {
        margin-top: 14px;
    }

    .handoff-main {
        padding: 20px 14px 26px;
    }

    .handoff-toolbar {
        padding: 8px 10px;
    }

    .handoff-empty,
    .handoff-document {
        padding: 22px 18px;
    }

    .handoff-empty h1,
    .handoff-document__header h1 {
        max-width: 10.5ch;
        font-size: clamp(2.2rem, 12vw, 3rem);
    }

    .handoff-document__lede {
        font-size: 1rem;
    }

    .handoff-stamp__item {
        padding: 12px 14px;
    }

    .handoff-request-sheet,
    .handoff-provenance,
    .handoff-reply-today,
    .handoff-cover,
    .handoff-followup-block {
        padding: 16px;
    }

    .handoff-request-sheet__copy h2,
    .handoff-reply-today__copy h2,
    .handoff-cover__copy h2,
    .handoff-background__copy h2 {
        font-size: 1.5rem;
    }
}

@media print {
    .handoff-empty h1,
    .handoff-document__header h1 {
        max-width: none;
    }

    .handoff-document__header {
        padding-bottom: 12pt;
        margin-bottom: 12pt;
    }

    .handoff-document__kicker {
        gap: 6pt;
        margin-bottom: 8pt;
    }

    .handoff-document__badge {
        padding: 3pt 6pt;
        background: transparent;
    }

    .handoff-document__badge--surface {
        background: rgba(1, 27, 62, 0.04);
    }

    .handoff-document__header h1 {
        font-size: 20pt;
        margin-bottom: 6pt;
    }

    .handoff-document__lede {
        max-width: none;
        font-size: 10.75pt;
        margin-bottom: 6pt;
    }

    .handoff-document__reference {
        font-size: 9pt;
    }

    .handoff-stamp {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8pt;
        margin-top: 8pt;
    }

    .handoff-stamp__item {
        padding: 6pt 8pt 7pt;
        border: 1pt solid rgba(1, 27, 62, 0.18);
        border-top: 2pt solid rgba(217, 119, 6, 0.5);
        background: transparent;
        break-inside: avoid;
    }

    .handoff-stamp__item strong {
        font-size: 11.5pt;
    }

    .handoff-issuer {
        gap: 10pt;
        padding: 10pt 0 12pt;
        break-inside: avoid;
    }

    .handoff-issuer__grid {
        gap: 8pt;
    }

    .handoff-issuer__item {
        padding: 6pt 8pt;
        background: transparent;
    }

    .handoff-request-sheet,
    .handoff-provenance,
    .handoff-reply-today,
    .handoff-cover,
    .handoff-followup-block {
        margin-top: 10pt;
        padding: 8pt 10pt;
        background: transparent;
        break-inside: avoid-page;
        page-break-inside: avoid;
    }

    .handoff-request-sheet {
        border-left: 2pt solid rgba(217, 119, 6, 0.5);
    }

    .handoff-request-sheet__copy h2,
    .handoff-reply-today__copy h2,
    .handoff-cover__copy h2,
    .handoff-background__copy h2 {
        font-size: 14.5pt;
        line-height: 1.1;
    }

    .handoff-highlight-grid--request,
    .handoff-detail-grid {
        gap: 10pt 12pt;
    }

    .handoff-card,
    .handoff-section {
        padding-top: 8pt;
        border-top: 1pt solid rgba(1, 27, 62, 0.18);
        break-inside: avoid;
    }

    .handoff-document__footer {
        margin-top: 12pt;
        padding-top: 10pt;
    }
}

body::before {
    opacity: 0.16;
    background-size: 40px 40px;
}

.command-header {
    position: relative;
    inset: auto;
    padding: 14px 24px 12px;
    border-bottom: 1px solid rgba(1, 27, 62, 0.12);
    background: transparent;
}

.command-header__brand {
    gap: 0;
}

.brandmark {
    font-size: 0.98rem;
    font-weight: 760;
}

.brandmark__meta {
    color: var(--ink-faint);
    font-size: 0.75rem;
}

.command-nav {
    gap: 6px;
}

.command-nav__link {
    min-height: 30px;
    padding: 0 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

.command-nav__link.is-active,
.command-nav__link:hover {
    background: rgba(1, 27, 62, 0.04);
}

.button--header {
    min-height: 38px;
    min-width: 144px;
    padding: 0 14px;
    background: transparent;
    color: var(--surface-strong);
    border-color: rgba(1, 27, 62, 0.16);
}

.button--header:hover {
    background: rgba(1, 27, 62, 0.05);
}

.app-main {
    padding: 18px 24px 42px;
}

.app-main > * {
    max-width: 1180px;
    margin: 0 auto 24px;
}

#office-workflow {
    scroll-margin-top: 18px;
}

.dashboard-hero,
.directive-hero {
    min-height: min(62svh, 620px);
    padding: 40px;
}

.dashboard-hero h1 {
    max-width: 9.2ch;
    font-size: clamp(2.5rem, 4.8vw, 4.4rem);
}

.directive-hero h1 {
    max-width: 12.5ch;
    font-size: clamp(2.3rem, 4.2vw, 3.8rem);
}

.verdict-header {
    padding: 20px 22px;
    border: 1px solid rgba(1, 27, 62, 0.16);
    border-top: 3px solid rgba(217, 119, 6, 0.42);
    border-radius: 0;
    background: linear-gradient(180deg, rgba(250, 247, 240, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.verdict-header .mono-label,
.verdict-header small {
    color: var(--ink-faint);
}

.verdict-header h2 {
    color: var(--surface-strong);
    font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.confidence-readout {
    gap: 8px;
    padding-left: 14px;
    border-left: 1px solid rgba(1, 27, 62, 0.12);
    justify-items: start;
}

.confidence-readout span {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    padding: 6px 10px;
    border: 1px solid rgba(1, 27, 62, 0.14);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.8);
    color: var(--surface-strong);
}

.reference-figure--checker {
    display: none;
}

.home-hero {
    min-height: min(64svh, 660px);
    padding: 44px 24px;
    background-image:
        linear-gradient(103deg, rgba(24, 35, 33, 0.9) 8%, rgba(24, 35, 33, 0.7) 44%, rgba(24, 35, 33, 0.28) 74%, rgba(24, 35, 33, 0.08) 100%),
        url('https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&fm=jpg&q=80&w=1600');
}

.home-hero__copy h1 {
    max-width: 9ch;
    font-size: clamp(3rem, 5.8vw, 5.2rem);
    line-height: 0.94;
}

.home-hero__summary {
    max-width: 32rem;
    font-size: 1.04rem;
}

.home-hero__actions {
    margin: 22px 0 24px;
}

.home-hero__notes {
    gap: 14px;
}

.home-hero__rail {
    gap: 14px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: none;
}

.home-hero__rail h2 {
    max-width: 14ch;
    font-size: 1.82rem;
    line-height: 1.02;
}

.home-section-heading h2 {
    max-width: 15ch;
    font-size: clamp(2rem, 3.6vw, 3.4rem);
}

.home-blockers,
.home-trust-surface {
    grid-template-columns: minmax(240px, 0.76fr) minmax(0, 1.24fr);
    gap: 24px;
}

.home-blocker,
.home-trust-link {
    gap: 8px;
    padding: 18px 20px;
}

.home-blocker {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
}

.home-blocker__content h3 {
    margin-bottom: 6px;
    font-size: 1.44rem;
    line-height: 1.06;
}

.home-routes {
    gap: 18px;
}

.home-routes__layout {
    gap: 20px;
}

.home-route-feature {
    box-shadow: none;
}

.home-route-feature__media img {
    aspect-ratio: 16 / 10;
}

.home-route-feature__body {
    padding: 22px;
}

.home-office-entry {
    padding: 20px 22px;
    border-left: 4px solid rgba(217, 119, 6, 0.42);
    background: linear-gradient(180deg, rgba(255, 252, 246, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.home-office-entry__layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.85fr);
    gap: 20px;
}

.home-route-feature__body h3 {
    font-size: 1.72rem;
    line-height: 1.04;
}

.home-route-feature__meta {
    margin: 16px 0 18px;
    gap: 10px;
    font-size: 0.68rem;
}

.home-route-list__item {
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 14px;
    padding: 14px;
}

.home-route-list__body h3 {
    font-size: 1.18rem;
    line-height: 1.08;
}

.home-route-list__body p {
    font-size: 0.94rem;
    line-height: 1.44;
}

.home-routes__note {
    margin: 0;
    max-width: 38rem;
    color: var(--ink-faint);
    font-size: 0.92rem;
}

.home-guidance {
    gap: 18px;
}

.home-guidance__panel {
    padding: 24px 22px;
    border-radius: 0;
}

.home-guidance__panel h2 {
    max-width: 14ch;
    margin-bottom: 10px;
    font-size: 1.72rem;
}

.home-guidance__panel p {
    max-width: 30rem;
    font-size: 0.95rem;
}

.home-guidance__panel--accent {
    background: linear-gradient(180deg, rgba(255, 252, 246, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-color: rgba(1, 27, 62, 0.16);
}

.home-guidance__panel--accent .eyebrow,
.home-guidance__panel--accent h2,
.home-guidance__panel--accent p,
.home-guidance__panel--accent li {
    color: inherit;
}

.home-guidance__panel--accent .home-guidance__list li::before {
    background: rgba(1, 27, 62, 0.82);
}

.home-guidance__list {
    gap: 10px;
    margin-top: 16px;
}

.home-guidance__cta {
    margin-top: 18px;
    background: var(--surface-strong);
    color: var(--white);
    border-color: var(--surface-strong);
}

.home-guidance__cta:hover {
    background: rgba(1, 27, 62, 0.9);
    color: var(--white);
}

.home-trust-link__title {
    font-size: 1.28rem;
}

.office-workflow-hero {
    gap: 18px;
}

.office-workflow-hero__copy {
    padding: 28px;
}

.office-workflow-hero__copy h1 {
    font-size: clamp(2.45rem, 4.2vw, 4.2rem);
}

.office-workflow-hero__summary {
    font-size: 0.96rem;
    line-height: 1.5;
}

.office-workflow-hero__status {
    gap: 12px;
}

.office-workflow-status-card {
    gap: 10px;
    padding: 18px;
}

.office-workflow-status-card h2 {
    font-size: 1.46rem;
    line-height: 1.04;
}

.office-workflow-status-card p {
    font-size: 0.95rem;
}

.office-workflow-status-card__badge {
    padding: 4px 8px;
    font-size: 0.62rem;
}

.office-workflow-status-card__grid {
    grid-template-columns: 1fr;
    gap: 8px;
    border: 0;
    background: transparent;
}

.office-workflow-status-card__item,
.office-workflow-status-card__item:nth-child(2n),
.office-workflow-status-card__item:nth-last-child(-n + 2) {
    padding: 10px 12px;
    border: 1px solid rgba(1, 27, 62, 0.12);
    background: rgba(248, 246, 241, 0.8);
}

.office-workflow-status-card__item strong {
    font-size: 0.98rem;
}

.office-workflow-status-card--note {
    padding: 16px 18px;
    border-style: solid;
    background: rgba(255, 255, 255, 0.98);
}

.office-workflow-panel--accent {
    background: rgba(250, 247, 240, 0.96);
    border-color: rgba(1, 27, 62, 0.18);
}

.office-workflow-panel--accent .eyebrow,
.office-workflow-panel--accent h2,
.office-workflow-panel--accent p,
.office-workflow-panel--accent li {
    color: inherit;
}

.office-workflow-panel--accent .checklist-list li::before {
    background: rgba(1, 27, 62, 0.82);
}

.office-workflow-step,
.office-workflow-panel {
    padding: 24px 22px;
}

.office-workflow-step h3,
.office-workflow-panel h2 {
    font-size: 1.62rem;
    line-height: 1.04;
}

.office-workflow-cases {
    gap: 10px;
}

.office-starter-link {
    padding: 14px;
}

.office-starter-link strong {
    font-size: 1.08rem;
}

.handoff-shell {
    max-width: 880px;
}

.handoff-shell--export {
    max-width: 840px;
}

.handoff-toolbar {
    padding: 8px 10px;
}

.handoff-toolbar__note {
    margin: 2px 0 0;
    padding-left: 0;
    border-left: 0;
    max-width: 36rem;
    font-size: 0.88rem;
    color: var(--ink-faint);
}

.handoff-document__header {
    gap: 20px;
}

.handoff-empty h1,
.handoff-document__header h1 {
    max-width: 13.2ch;
    font-size: clamp(2.7rem, 4.5vw, 3.8rem);
}

.handoff-document__reference {
    max-width: 32rem;
}

.handoff-issuer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.handoff-request-sheet__copy,
.handoff-reply-today__copy,
.handoff-cover__copy,
.handoff-background__copy {
    break-after: avoid-page;
}

@media (max-width: 980px) {
    .command-header {
        padding: 12px 18px 10px;
    }

    .app-main {
        padding: 16px 18px 36px;
    }

    .home-hero {
        min-height: 0;
        padding: 34px 20px;
    }

    .home-blockers,
    .home-trust-surface,
    .home-routes__layout,
    .home-guidance {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-route-list__item {
        grid-template-columns: 120px minmax(0, 1fr);
    }

    .office-workflow-status-card--note {
        padding: 14px 16px;
    }

    .office-workflow-cases {
        grid-template-columns: 1fr;
    }

    .handoff-issuer {
        grid-template-columns: 1fr;
    }

    .handoff-issuer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .command-header {
        padding: 10px 14px;
        gap: 8px;
    }

    .command-nav {
        gap: 4px;
    }

    .button--header {
        width: auto;
        min-height: 36px;
    }

    #office-workflow {
        scroll-margin-top: 12px;
    }

    .app-main {
        padding: 14px 14px 32px;
    }

    .dashboard-hero,
    .directive-hero {
        padding: 24px 20px;
        min-height: 0;
    }

    .dashboard-hero h1,
    .directive-hero h1 {
        font-size: clamp(2.1rem, 10.5vw, 3rem);
        line-height: 0.98;
    }

    .verdict-header {
        padding: 18px 18px 16px;
    }

    .confidence-readout {
        padding-left: 0;
        border-left: 0;
    }

    .home-hero {
        padding: 26px 16px;
    }

    .home-hero__copy h1 {
        max-width: 9.6ch;
        font-size: clamp(2.45rem, 11.5vw, 3.45rem);
    }

    .home-hero__rail {
        padding: 18px;
    }

    .home-hero__rail h2 {
        font-size: 1.5rem;
    }

    .home-office-entry {
        padding: 20px;
    }

    .home-route-list__item {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
    }

    .home-route-list__body h3,
    .office-workflow-step h3,
    .office-workflow-panel h2 {
        font-size: 1.32rem;
        line-height: 1.06;
    }

    .home-route-feature__body,
    .home-guidance__panel,
    .office-workflow-step,
    .office-workflow-panel {
        padding: 20px;
    }

    .office-workflow-hero__copy {
        padding: 24px 20px;
    }

    .office-workflow-hero__copy h1 {
        font-size: clamp(2.05rem, 10vw, 3rem);
    }

    .office-workflow-status-card {
        padding: 16px;
    }

    .office-workflow-status-card h2 {
        font-size: 1.46rem;
    }

    .handoff-toolbar {
        padding: 6px 8px;
    }

    .handoff-toolbar__actions {
        gap: 8px;
    }

    .handoff-toolbar__note {
        font-size: 0.82rem;
    }

    .handoff-empty h1,
    .handoff-document__header h1 {
        max-width: 14ch;
        font-size: clamp(1.88rem, 8.8vw, 2.45rem);
    }

    .handoff-document__header {
        gap: 16px;
    }

    .handoff-issuer__grid {
        grid-template-columns: 1fr;
    }
}

@media print {
    .handoff-issuer {
        break-inside: avoid;
    }

    .handoff-request-sheet,
    .handoff-reply-today,
    .handoff-cover,
    .handoff-followup-block,
    .handoff-background {
        break-inside: auto;
        page-break-inside: auto;
    }

    .handoff-provenance,
    .handoff-document__footer {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

.home-hero {
    min-height: min(56svh, 560px);
    padding: 36px 24px;
}

.home-hero__inner {
    width: min(100%, 1160px);
    grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr);
    gap: 24px;
}

.home-hero__copy h1 {
    max-width: 10.2ch;
    font-size: clamp(2.75rem, 5.1vw, 4.65rem);
}

.home-hero__summary {
    max-width: 30rem;
    font-size: 0.98rem;
    line-height: 1.58;
}

.home-hero__actions {
    margin: 18px 0;
}

.home-hero__notes {
    max-width: 42rem;
    gap: 12px;
}

.home-hero__note {
    padding-top: 12px;
}

.home-hero__note p {
    font-size: 0.92rem;
    line-height: 1.42;
}

.home-hero__rail {
    gap: 12px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.home-hero__rail h2 {
    max-width: 12.8ch;
    font-size: 1.56rem;
    line-height: 1.04;
}

.home-hero__rail-list {
    gap: 8px;
}

.home-section-heading {
    gap: 10px;
    max-width: 36rem;
}

.home-section-heading h2 {
    max-width: 16ch;
    font-size: clamp(1.9rem, 3.1vw, 3rem);
}

.home-office-entry {
    padding: 20px 22px;
}

.home-office-entry__layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.85fr);
    gap: 20px;
}

.home-guidance__panel h2 {
    font-size: 1.92rem;
}

@media (max-width: 980px) {
    .home-hero__inner,
    .home-office-entry__layout {
        grid-template-columns: 1fr;
    }

    .home-hero__inner {
        gap: 18px;
    }
}

@media (max-width: 720px) {
    .home-hero {
        padding: 22px 14px;
    }

    .home-hero__copy h1 {
        max-width: 11.5ch;
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .home-hero__rail {
        padding: 16px;
    }

    .home-hero__rail h2 {
        font-size: 1.3rem;
    }

    .home-hero__notes {
        gap: 10px;
    }

    .home-section-heading h2 {
        font-size: clamp(1.7rem, 8vw, 2.35rem);
    }
}

@media print {
    .handoff-document__badge--surface {
        display: none;
    }

    .handoff-document__kicker {
        margin-bottom: 6pt;
    }

    .handoff-document__header {
        padding-bottom: 10pt;
        margin-bottom: 10pt;
    }

    .handoff-document__header h1 {
        font-size: 18.75pt;
        line-height: 1.02;
        margin-bottom: 4pt;
    }

    .handoff-document__lede {
        font-size: 10pt;
        line-height: 1.34;
        margin-bottom: 4pt;
    }

    .handoff-document__reference {
        font-size: 8.5pt;
        line-height: 1.28;
    }

    .handoff-stamp {
        gap: 6pt;
        margin-top: 6pt;
    }

    .handoff-stamp__item {
        padding: 5pt 7pt 6pt;
    }

    .handoff-stamp__item strong {
        font-size: 10.75pt;
    }

    .handoff-action-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6pt;
        margin: 0 0 8pt;
        padding: 7pt 9pt;
        border-left-width: 2pt;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .handoff-action-strip__item strong {
        font-size: 9.4pt;
        line-height: 1.3;
    }

    .handoff-issuer {
        gap: 8pt;
        padding: 8pt 0 10pt;
    }

    .handoff-issuer__grid {
        gap: 6pt;
    }

    .handoff-issuer__item {
        padding: 5pt 7pt;
    }

    .handoff-issuer__note {
        margin-top: 2pt;
        font-size: 8.5pt;
        line-height: 1.26;
    }

    .handoff-document p,
    .handoff-document li,
    .handoff-document a,
    .handoff-document__reference,
    .handoff-document__verification,
    .handoff-issuer__subline {
        font-size: 9.05pt;
        line-height: 1.34;
    }

    .handoff-request-sheet,
    .handoff-provenance,
    .handoff-reply-today,
    .handoff-cover,
    .handoff-followup-block,
    .handoff-background {
        margin-top: 8pt;
        padding: 7pt 9pt;
    }

    .handoff-background {
        margin-top: 7pt;
    }

    .handoff-background__copy {
        margin-bottom: 2pt;
        break-after: auto;
        page-break-after: auto;
    }

    .handoff-request-sheet__copy h2,
    .handoff-reply-today__copy h2,
    .handoff-cover__copy h2,
    .handoff-background__copy h2 {
        font-size: 13.25pt;
        line-height: 1.08;
    }

    .handoff-highlight-grid--request,
    .handoff-detail-grid {
        gap: 8pt 10pt;
    }

    .handoff-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .handoff-section--wide {
        grid-column: 1 / -1;
    }

    .handoff-card,
    .handoff-section {
        padding-top: 6pt;
    }

    .handoff-provenance p {
        font-size: 8.6pt;
        line-height: 1.28;
    }

    .handoff-background .source-list {
        columns: 2;
        column-gap: 12pt;
        gap: 0;
    }

    .handoff-background .source-list li {
        margin-bottom: 2pt;
    }

    .handoff-background .source-list a {
        font-size: 8.25pt;
        line-height: 1.16;
    }

    .handoff-document__footer {
        display: none !important;
    }
}
