:root {
  --carbon: #203b49;
  --carbon-2: #345964;
  --porcelain: #f0f3f2;
  --paper: #fbfcfa;
  --mist: #e6ecea;
  --mist-2: #ccd8d4;
  --jade: #3e7c73;
  --jade-soft: #e0ece8;
  --gold: #b5945c;
  --gold-soft: #efe8da;
  --coral: #a96b5f;
  --coral-soft: #f0e5e2;
  --sky: #dde6ea;
  --sky-strong: #718f9d;
  --ink-soft: #64767b;
  --line: #d3ddda;
  --shadow: 0 20px 54px rgba(47, 77, 82, .12);
  --display: "Avenir Next", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --body: "Avenir Next", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --mono: "DIN Alternate", "Avenir Next Condensed", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 0; background: var(--porcelain); color: var(--carbon); font-family: var(--body); font-synthesis: none; text-rendering: optimizeLegibility; }
body { margin: 0; min-height: 100vh; }
button, input, select, textarea { font: inherit; }
code, kbd, samp, pre { font-family: var(--mono); font-variant-numeric: tabular-nums; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 999; top: 8px; left: 8px; padding: 10px 14px; background: var(--carbon); color: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(11, 107, 97, .35); outline-offset: 3px; }

.demo-banner { position: fixed; z-index: 30; top: 0; left: 0; right: 0; height: 34px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; background: #fff4d8; border-bottom: 1px solid #e7cc8d; color: #6c5027; font-size: 12px; letter-spacing: .02em; }
.demo-banner span { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; }

.investor-body { background-color: var(--porcelain); background-image: repeating-linear-gradient(112deg, transparent 0, transparent 34px, rgba(11, 107, 97, .025) 35px, transparent 36px); }
.investor-shell { min-height: 100vh; padding-top: 34px; display: grid; grid-template-columns: minmax(280px, 31vw) minmax(0, 1fr); }
.journey-panel { position: sticky; top: 34px; height: calc(100vh - 34px); overflow: auto; padding: 44px clamp(28px, 4vw, 64px); background: var(--carbon); color: white; }
.journey-panel::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .15; background-image: radial-gradient(circle at 0 0, transparent 0 18px, rgba(255,255,255,.28) 19px, transparent 20px), radial-gradient(circle at 100% 100%, transparent 0 24px, rgba(184,138,75,.5) 25px, transparent 26px); background-size: 70px 70px, 94px 94px; mask-image: linear-gradient(to bottom, transparent, #000 28%, #000 70%, transparent); }
.brand-lockup { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.brand-lockup strong { display: block; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: .08em; }
.brand-lockup small { display: block; margin-top: 4px; color: rgba(255,255,255,.48); font-family: var(--mono); font-size: 8px; letter-spacing: .16em; }
.brand-seal { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.52); color: #fff; font-family: var(--display); font-size: 21px; transform: rotate(-2deg); }
.brand-seal.large { width: 54px; height: 54px; margin: 0 auto 20px; background: var(--carbon); }
.firm-brand { position: relative; z-index: 1; }
.co-brand-lockup { display: flex; align-items: center; gap: 12px; min-width: 0; }
.co-brand-lockup img { display: block; width: min(158px, 62%); height: auto; flex: 0 1 auto; }
.co-brand-divider { width: 1px; height: 34px; flex: 0 0 1px; background: rgba(255,255,255,.36); }
.jingshuo-mark { flex: 0 0 auto; color: white; font-family: var(--display); font-size: 16px; font-weight: 600; letter-spacing: .1em; white-space: nowrap; }
.platform-wordmark { margin-top: 18px; padding: 13px 0 0 15px; border-top: 1px solid rgba(255,255,255,.13); border-left: 2px solid var(--gold); }
.platform-wordmark strong, .platform-wordmark small { display: block; }
.platform-wordmark strong { font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: .08em; }
.platform-wordmark small { margin-top: 5px; color: rgba(255,255,255,.48); font-size: 9px; letter-spacing: .12em; }
.invitation-caption { margin-top: 52px; color: rgba(255,255,255,.44); font-size: 11px; letter-spacing: .14em; }
.reference { margin-top: 8px; font-family: var(--mono); font-size: 14px; letter-spacing: .03em; }
.step-track { position: relative; z-index: 1; margin-top: 32px; }
.step-track::before { content: ""; position: absolute; top: 17px; bottom: 22px; left: 16px; width: 1px; background: rgba(255,255,255,.14); }
.step-item { position: relative; display: flex; align-items: center; gap: 15px; min-height: 58px; color: rgba(255,255,255,.38); }
.step-node { position: relative; z-index: 1; width: 33px; height: 33px; flex: 0 0 33px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: var(--carbon); font-family: var(--mono); font-size: 11px; }
.step-node svg { width: 16px; }
.step-item strong, .step-item small { display: block; }
.step-item strong { font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.step-item small { margin-top: 2px; font-size: 10px; opacity: .7; }
.step-item.is-active { color: white; }
.step-item.is-active .step-node { border-color: var(--gold); box-shadow: 0 0 0 5px rgba(184,138,75,.1); color: var(--gold); }
.step-item.is-complete { color: rgba(255,255,255,.8); }
.step-item.is-complete .step-node { background: var(--jade); border-color: var(--jade); color: white; }
.boundary-note { position: relative; z-index: 1; margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.boundary-note p { margin: 10px 0 0; color: rgba(255,255,255,.52); font-size: 11px; line-height: 1.75; }
.boundary-mark { display: inline-flex; align-items: center; height: 23px; padding: 0 8px; border: 1px solid var(--gold); color: var(--gold); font-size: 10px; letter-spacing: .08em; }
.firm-office-card { position: relative; z-index: 1; display: grid; gap: 6px; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.56); font-style: normal; }
.firm-office-card small { color: var(--gold); font-family: var(--mono); font-size: 8px; letter-spacing: .13em; }
.firm-office-card strong { color: rgba(255,255,255,.9); font-family: var(--display); font-size: 13px; font-weight: 500; }
.firm-office-card span { font-size: 9px; line-height: 1.65; }
.firm-office-card a { width: fit-content; color: rgba(255,255,255,.65); font-family: var(--mono); font-size: 9px; text-decoration: none; }
.firm-office-card a:hover { color: white; }

.journey-main { min-width: 0; padding: 58px clamp(28px, 7vw, 112px) 40px; }
.journey-header { max-width: 900px; margin: 0 auto 26px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.eyebrow { margin: 0 0 10px; color: var(--jade); font-family: var(--mono); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.journey-header h1, .admin-topbar h1 { margin: 0; font-family: var(--display); font-size: clamp(23px, 3vw, 36px); font-weight: 650; line-height: 1.22; letter-spacing: .015em; }
.trust-chip, .role-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border: 1px solid var(--line); background: rgba(255,255,255,.7); color: var(--ink-soft); font-size: 11px; white-space: nowrap; }
.trust-chip span, .status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 0 4px var(--jade-soft); }
.docket-card { position: relative; max-width: 900px; min-height: 520px; margin: 0 auto; padding: clamp(28px, 5vw, 62px); background: rgba(255,255,255,.94); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.docket-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--jade) 0 72%, var(--gold) 72% 88%, var(--coral) 88%); }
.card-header { max-width: 660px; margin-bottom: 34px; }
.card-header h2, .completion-view h2, .pending-view h2 { margin: 0 0 12px; font-family: var(--display); font-size: clamp(25px, 4vw, 42px); font-weight: 650; line-height: 1.2; letter-spacing: .01em; }
.card-header > p:last-child, .completion-view > p, .pending-view > p { margin: 0; color: var(--ink-soft); line-height: 1.8; font-size: 14px; }
.journey-footer { max-width: 900px; display: flex; justify-content: space-between; margin: 20px auto 0; color: #8793a0; font-family: var(--mono); font-size: 10px; }
.journey-footer a { text-decoration: none; border-bottom: 1px solid #abb5bd; }
.firm-footer > div { display: flex; align-items: center; gap: 10px; }
.firm-footer strong { color: #3f5264; font-family: var(--display); font-weight: 600; }
.firm-footer div:last-child { justify-content: flex-end; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > span:first-child { font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.field input, .field select, .field textarea, .table-tools input { width: 100%; min-height: 47px; padding: 10px 13px; border: 1px solid var(--mist-2); border-radius: 2px; background: #fff; color: var(--carbon); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus, .table-tools input:focus { border-color: var(--jade); box-shadow: 0 0 0 3px var(--jade-soft); outline: none; }
.field small { color: var(--ink-soft); font-size: 10px; line-height: 1.5; }
.field-wide { grid-column: 1 / -1; }
.check-row { display: flex; align-items: flex-start; gap: 11px; color: #35465a; font-size: 13px; line-height: 1.55; cursor: pointer; }
.check-row input { width: 17px; height: 17px; flex: 0 0 auto; margin: 1px 0 0; accent-color: var(--jade); }
.action-row { margin-top: 12px; display: flex; justify-content: flex-end; }
.primary-button, .secondary-button, .danger-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 20px; border: 1px solid transparent; border-radius: 2px; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.primary-button { background: var(--carbon); color: white; box-shadow: 0 12px 24px rgba(11,23,39,.15); }
.primary-button svg { width: 18px; }
.primary-button:hover:not(:disabled) { transform: translateY(-1px); background: #152941; box-shadow: 0 16px 30px rgba(11,23,39,.2); }
.primary-button:disabled { cursor: not-allowed; opacity: .46; }
.secondary-button { background: white; color: var(--carbon); border-color: var(--mist-2); }
.danger-button { background: white; border-color: #e9b4ae; color: #9e3f36; }
.secondary-button.compact { min-height: 34px; padding: 0 12px; font-size: 12px; }
.text-button { padding: 2px; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--jade); cursor: pointer; font-size: 12px; }
.demo-footnote { display: flex; align-items: flex-start; gap: 10px; grid-column: 1 / -1; padding: 13px 15px; background: #f2f6f5; border-left: 2px solid var(--jade); color: var(--ink-soft); }
.demo-footnote span { width: 19px; height: 19px; display: grid; place-items: center; border: 1px solid var(--jade); border-radius: 50%; color: var(--jade); font-family: var(--display); font-size: 12px; }
.demo-footnote p { margin: 0; font-size: 11px; line-height: 1.65; }
.unit-input { position: relative; }
.unit-input input { padding-right: 54px; }
.unit-input em { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); font-style: normal; font-size: 11px; }

.question-list { display: grid; gap: 30px; }
.question { margin: 0; padding: 0 0 28px; border: 0; border-bottom: 1px solid var(--line); }
.question legend { width: 100%; margin-bottom: 14px; display: flex; gap: 12px; font-weight: 600; font-size: 14px; }
.question legend span { color: var(--gold); font-family: var(--mono); font-size: 10px; }
.scale-options { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; }
.scale-options label { min-width: 0; cursor: pointer; }
.scale-options input { position: absolute; opacity: 0; pointer-events: none; }
.scale-options span { height: 100%; min-height: 52px; display: grid; place-items: center; padding: 8px; border: 1px solid var(--line); color: var(--ink-soft); text-align: center; font-size: 11px; line-height: 1.4; transition: .18s ease; }
.scale-options input:checked + span { border-color: var(--jade); background: var(--jade-soft); color: var(--jade); box-shadow: inset 0 -2px var(--jade); }
.scale-options input:focus-visible + span { outline: 3px solid rgba(11,107,97,.3); }

.upload-zone { position: relative; min-height: 130px; align-items: center; justify-content: center; border: 1px dashed #a9bbb7; background: #f7faf9; text-align: center; cursor: pointer; }
.upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-zone strong { font-size: 13px; }
.upload-zone small { color: var(--ink-soft); font-size: 10px; }
.upload-icon { color: var(--jade); font-size: 25px; }
.demo-file-row { display: flex; justify-content: space-between; gap: 16px; color: var(--ink-soft); font-size: 11px; }

.product-ribbon { margin: 0 0 28px; padding: 22px; display: grid; grid-template-columns: 1.35fr 2fr; gap: 24px; background: var(--carbon); color: white; }
.product-ribbon small, .product-ribbon dt { color: rgba(255,255,255,.48); font-size: 9px; letter-spacing: .09em; }
.product-ribbon strong { display: block; margin-top: 7px; font-family: var(--display); font-size: 18px; font-weight: 500; line-height: 1.5; }
.product-ribbon dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.product-ribbon dd { margin: 4px 0 0; font-size: 11px; }
.disclosure-list { border-top: 1px solid var(--line); }
.disclosure-clause { display: grid; grid-template-columns: 18px 28px 1fr; gap: 12px; align-items: start; padding: 18px 8px; border-bottom: 1px solid var(--line); color: #344559; font-size: 13px; line-height: 1.75; cursor: pointer; }
.disclosure-clause input { width: 17px; height: 17px; margin-top: 4px; accent-color: var(--jade); }
.clause-number { padding-top: 2px; color: var(--gold); font-family: var(--mono); font-size: 10px; }
.final-check { margin: 22px 0 14px; font-weight: 600; }
.evidence-stamp { display: flex; gap: 18px; color: var(--ink-soft); font-family: var(--mono); font-size: 9px; }

.contract-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contract-summary > div { padding: 26px; background: white; }
.contract-summary small, .contract-summary strong, .contract-summary span { display: block; }
.contract-summary small { color: var(--ink-soft); font-size: 10px; }
.contract-summary strong { margin: 8px 0 16px; font-family: var(--display); font-size: 20px; }
.contract-summary span { color: var(--ink-soft); font-size: 10px; }
.signing-ticket { display: flex; align-items: center; gap: 22px; padding: 24px; border: 1px solid var(--gold-soft); background: #fbf8f1; }
.ticket-mark { width: 54px; height: 54px; display: grid; place-items: center; border: 2px solid var(--gold); color: var(--gold); font-family: var(--display); font-size: 23px; transform: rotate(-3deg); }
.signing-ticket small, .signing-ticket strong { display: block; }
.signing-ticket strong { margin: 5px 0; font-family: var(--mono); font-size: 13px; }
.signing-ticket p { margin: 0; color: var(--ink-soft); font-size: 11px; }

.record-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(240px, .85fr); gap: 18px; }
.camera-stage { position: relative; min-height: 260px; display: grid; place-items: center; background: #07111e; color: white; overflow: hidden; }
.camera-stage::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,255,255,.15); pointer-events: none; }
.camera-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#camera-placeholder { position: relative; z-index: 2; text-align: center; }
#camera-placeholder span { color: var(--coral); }
#camera-placeholder strong, #camera-placeholder small { display: block; }
#camera-placeholder strong { margin: 8px; font-size: 13px; }
#camera-placeholder small { color: rgba(255,255,255,.48); font-size: 10px; }
#record-timer { position: absolute; z-index: 3; right: 23px; bottom: 20px; font-family: var(--mono); font-size: 11px; }
.script-sheet { padding: 24px; border: 1px solid var(--line); background: repeating-linear-gradient(to bottom, #fff 0 31px, #eaf0ee 32px); }
.script-sheet small { color: var(--gold); font-family: var(--mono); font-size: 9px; letter-spacing: .1em; }
.script-sheet p { margin: 15px 0 0; font-family: var(--display); font-size: 15px; line-height: 2.12; }
.record-actions { display: flex; align-items: center; gap: 12px; margin: 18px 0; }
.upload-video { color: var(--jade); font-size: 11px; cursor: pointer; text-decoration: underline; }
.upload-video input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.ready-line { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--jade-soft); color: var(--jade); }
.ready-line > span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--jade); color: white; }
.ready-line svg { width: 14px; }
.ready-line strong, .ready-line small { display: block; }
.ready-line small { margin-top: 3px; color: #527a75; }

.pending-view, .completion-view, .empty-view { min-height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.pending-view > p, .completion-view > p { max-width: 580px; }
.pending-view .secondary-button { margin-top: 28px; }
.pending-view .text-button { margin-top: 18px; }
.pending-orbit { position: relative; width: 82px; height: 82px; margin-bottom: 28px; border: 1px solid var(--gold-soft); border-radius: 50%; }
.pending-orbit::before { content: ""; position: absolute; inset: 11px; border: 1px dashed var(--gold); border-radius: 50%; }
.pending-orbit span { position: absolute; width: 10px; height: 10px; top: -5px; left: calc(50% - 5px); border-radius: 50%; background: var(--gold); animation: orbit 3s linear infinite; transform-origin: 5px 46px; }
.completion-seal { width: 88px; height: 88px; margin-bottom: 28px; display: grid; place-items: center; border: 3px double var(--jade); color: var(--jade); font-family: var(--display); font-size: 27px; transform: rotate(-5deg); }
.completion-warning { max-width: 620px; display: grid; grid-template-columns: 160px 1fr; gap: 20px; margin: 30px 0; padding: 20px; border: 1px solid #e7c2bd; background: #fff9f8; text-align: left; }
.completion-warning strong { color: var(--coral); }
.completion-warning span { color: var(--ink-soft); font-size: 12px; line-height: 1.65; }
.timeline { width: 100%; margin-top: 28px; border-top: 1px solid var(--line); text-align: left; }
.timeline > div { display: grid; grid-template-columns: 90px 1fr auto; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.timeline time { color: var(--ink-soft); }
.timeline code { color: #83909d; font-size: 9px; }
.empty-view > span { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--coral); color: var(--coral); font-family: var(--display); font-size: 28px; }
.empty-view code { margin-top: 18px; padding: 8px 10px; background: var(--mist); }
.notice { max-width: 900px; margin: 0 auto 18px; padding: 13px 16px; border-left: 3px solid var(--jade); background: var(--jade-soft); color: #15574f; font-size: 12px; }
.notice.error { border-color: var(--coral); background: var(--coral-soft); color: #813c35; }
.notice.success { border-color: var(--jade); }
.loading-block { min-height: 360px; display: grid; place-items: center; align-content: center; color: var(--ink-soft); font-size: 12px; }
.spinner { width: 28px; height: 28px; border: 2px solid var(--mist-2); border-top-color: var(--jade); border-radius: 50%; animation: spin 1s linear infinite; }

/* Admin */
.admin-body { background: #f1f5f4; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; width: 230px; display: flex; flex-direction: column; padding: 30px 20px 22px; background: var(--carbon); color: white; }
.admin-brand { padding: 0 8px 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.admin-brand .co-brand-lockup { gap: 7px; }
.admin-brand .co-brand-lockup img { width: 94px; }
.admin-brand .co-brand-divider { height: 27px; }
.admin-brand .jingshuo-mark { font-size: 12px; letter-spacing: .04em; }
.admin-brand .platform-wordmark { margin-top: 14px; padding-top: 11px; }
.admin-nav { margin-top: 26px; display: grid; gap: 7px; }
.admin-nav button { height: 43px; display: flex; align-items: center; gap: 13px; padding: 0 13px; border: 0; background: transparent; color: rgba(255,255,255,.54); text-align: left; cursor: pointer; }
.admin-nav button span { width: 18px; color: rgba(255,255,255,.34); font-family: var(--mono); }
.admin-nav button.active { background: rgba(255,255,255,.09); color: white; box-shadow: inset 2px 0 var(--gold); }
.admin-office { display: grid; gap: 5px; margin: auto 8px 16px; color: rgba(255,255,255,.43); font-style: normal; }
.admin-office strong { color: rgba(255,255,255,.82); font-family: var(--display); font-size: 11px; font-weight: 500; }
.admin-office span { font-size: 8px; line-height: 1.5; }
.admin-office a { width: fit-content; color: rgba(255,255,255,.56); font-family: var(--mono); font-size: 8px; text-decoration: none; }
.admin-sidebar-foot { display: flex; align-items: center; gap: 12px; padding: 14px 8px 0; border-top: 1px solid rgba(255,255,255,.1); }
.admin-sidebar-foot strong, .admin-sidebar-foot small { display: block; }
.admin-sidebar-foot strong { font-size: 11px; font-weight: 500; }
.admin-sidebar-foot small { margin-top: 3px; color: rgba(255,255,255,.42); font-size: 9px; }
.admin-main { min-height: 100vh; margin-left: 230px; padding: 34px clamp(30px, 5vw, 72px) 70px; }
.admin-topbar { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.topbar-actions { display: flex; gap: 10px; align-items: center; }
.metric-ledger { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.metric { position: relative; min-height: 144px; padding: 22px; background: white; overflow: hidden; }
.metric::after { content: ""; position: absolute; right: -13px; bottom: -20px; width: 72px; height: 72px; border: 1px solid var(--mist); border-radius: 50%; }
.metric small, .metric strong, .metric span { display: block; }
.metric small { color: var(--ink-soft); font-size: 10px; }
.metric strong { margin: 12px 0; font-family: var(--display); font-size: 36px; font-weight: 500; }
.metric span { color: #86929e; font-size: 9px; }
.metric.alert { box-shadow: inset 0 3px var(--gold); }
.metric.alert strong { color: #9a6a2d; }
.metric.success { box-shadow: inset 0 3px var(--jade); }
.desk-grid { margin-top: 20px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; }
.admin-card { padding: 24px; border: 1px solid var(--line); background: white; }
.admin-card > header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.admin-card h2 { margin: 0; font-family: var(--display); font-size: 21px; font-weight: 600; }
.queue-list { display: grid; }
.queue-list button { display: grid; grid-template-columns: 37px 1fr auto; gap: 13px; align-items: center; padding: 14px 0; border: 0; border-top: 1px solid var(--line); background: white; text-align: left; cursor: pointer; }
.queue-list button:hover { color: var(--jade); }
.queue-mark { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-family: var(--display); }
.queue-list strong, .queue-list small { display: block; }
.queue-list strong { font-size: 12px; }
.queue-list small { margin-top: 4px; color: var(--ink-soft); font-size: 9px; }
.queue-list em { font-style: normal; }
.empty-queue { min-height: 170px; display: grid; place-items: center; align-content: center; color: var(--ink-soft); font-size: 11px; }
.empty-queue span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--jade-soft); color: var(--jade); }
.empty-queue svg { width: 17px; }
.evidence-bars { display: grid; gap: 16px; }
.evidence-bars span { display: flex; justify-content: space-between; margin-bottom: 7px; }
.evidence-bars strong { font-size: 10px; }
.evidence-bars em { color: var(--ink-soft); font-family: var(--mono); font-size: 9px; font-style: normal; }
.evidence-bars i { height: 4px; display: block; background: var(--mist); overflow: hidden; }
.evidence-bars b { height: 100%; display: block; background: var(--jade); }
.evidence-bars .w-0 { width: 0; }.evidence-bars .w-10 { width: 10%; }.evidence-bars .w-20 { width: 20%; }.evidence-bars .w-30 { width: 30%; }.evidence-bars .w-40 { width: 40%; }.evidence-bars .w-50 { width: 50%; }.evidence-bars .w-60 { width: 60%; }.evidence-bars .w-70 { width: 70%; }.evidence-bars .w-80 { width: 80%; }.evidence-bars .w-90 { width: 90%; }.evidence-bars .w-100 { width: 100%; }
.boundary-card { margin-top: 20px; display: flex; justify-content: space-between; gap: 30px; border-left: 3px solid var(--gold); }
.boundary-card h2 { margin: 12px 0 6px; }
.boundary-card p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.7; }
.boundary-card code { color: #86919c; font-size: 9px; white-space: nowrap; }

.table-card { padding: 0; overflow: hidden; }
.table-card > header { padding: 22px 24px 18px; margin: 0; }
.table-tools { display: flex; gap: 8px; }
.table-tools input { min-height: 34px; width: 230px; font-size: 11px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 980px; }
th { padding: 10px 14px; background: #f5f8f7; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 9px; font-weight: 500; text-align: left; letter-spacing: .05em; }
td { padding: 15px 14px; border-bottom: 1px solid var(--line); font-size: 11px; vertical-align: middle; }
td strong, td small { display: block; }
td strong { font-family: var(--mono); font-size: 10px; }
td small { margin-top: 5px; color: #8a96a1; font-size: 9px; }
.product-cell { max-width: 210px; }
.stage-label { padding-left: 9px; border-left: 2px solid var(--jade); }
.status-pill { display: inline-flex; align-items: center; min-height: 23px; padding: 0 8px; border: 1px solid var(--mist-2); background: #f7f9f8; color: var(--ink-soft); font-size: 9px; white-space: nowrap; }
.status-pill.success { border-color: #aed4cb; background: #edf8f5; color: var(--jade); }
.status-pill.warning { border-color: #e2c99f; background: #fcf6e9; color: #966d33; }
.status-pill.danger { border-color: #e9b4ae; background: #fff5f3; color: var(--coral); }
.icon-button { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); background: white; color: var(--carbon); cursor: pointer; }
.empty-cell { padding: 60px; text-align: center; color: var(--ink-soft); }

.product-admin-grid, .integration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product-symbol { width: 76px; height: 76px; margin: 18px 0 22px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: var(--display); font-size: 26px; }
.template-card > dl, .integration-card dl, .review-block dl { display: grid; gap: 0; margin: 22px 0 0; }
.template-card dl div, .integration-card dl div, .review-block dl div { display: grid; grid-template-columns: 140px 1fr; gap: 15px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 11px; }
dt { color: var(--ink-soft); }
dd { margin: 0; }
.version-row { display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: 14px; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.version-row strong { font-family: var(--mono); font-size: 10px; }
.version-row small { color: var(--jade); }
.callout { margin-top: 22px; padding: 15px; background: #f4f7f6; color: var(--ink-soft); font-size: 10px; line-height: 1.7; }
.integration-card { display: grid; grid-template-columns: 60px 1fr; gap: 18px; }
.integration-logo { width: 54px; height: 54px; display: grid; place-items: center; background: var(--carbon); color: white; font-family: var(--display); font-size: 22px; }
.integration-card dl, .integration-card > p { grid-column: 1 / -1; }
.integration-card > p { margin: 5px 0 0; color: var(--ink-soft); font-size: 10px; line-height: 1.7; }
.integration-checklist { margin: 20px 0; display: grid; }
.integration-checklist div { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.integration-checklist span { width: 13px; height: 13px; border: 1px solid var(--gold); }

.login-dialog, .case-dialog { padding: 0; border: 0; box-shadow: 0 30px 90px rgba(4,15,27,.32); }
.login-dialog::backdrop, .case-dialog::backdrop { background: rgba(8,20,34,.72); backdrop-filter: blur(4px); }
.login-dialog form { width: min(440px, calc(100vw - 32px)); padding: 42px; text-align: center; }
.login-dialog h2 { margin: 0 0 10px; font-family: var(--display); font-size: 27px; }
.login-dialog p { color: var(--ink-soft); font-size: 11px; }
.login-dialog .field { margin: 24px 0 15px; text-align: left; }
.login-dialog .primary-button { width: 100%; }
.login-dialog form > small { display: block; margin-top: 18px; color: #88939d; font-size: 9px; line-height: 1.6; }
.login-firm-logo { margin: -42px -42px 26px; padding: 25px 42px; background: var(--carbon); }
.login-co-brand { justify-content: center; }
.login-co-brand img { width: min(182px, 58%); }
.case-dialog { width: min(780px, calc(100vw - 36px)); max-height: calc(100vh - 40px); }
#case-detail { padding: 32px; }
.dialog-header { display: flex; justify-content: space-between; gap: 22px; }
.dialog-header h2 { margin: 0 0 5px; font-family: var(--display); font-size: 28px; }
.dialog-header > div > span { color: var(--ink-soft); font-size: 10px; }
.case-status-strip { display: flex; align-items: center; justify-content: space-between; margin: 22px 0; padding: 13px 15px; background: var(--carbon); color: white; font-size: 11px; }
.case-status-strip code { color: rgba(255,255,255,.52); font-size: 9px; }
.case-facts { display: grid; grid-template-columns: 1.5fr .8fr .8fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.case-facts > div { padding: 16px; background: white; }
.case-facts small, .case-facts strong { display: block; }
.case-facts small { color: var(--ink-soft); font-size: 9px; }
.case-facts strong { margin-top: 7px; font-size: 11px; line-height: 1.5; }
.review-block { margin-top: 22px; padding: 18px; border: 1px solid var(--line); }
.review-block header { display: flex; align-items: center; justify-content: space-between; }
.review-block h3, .admin-timeline h3 { margin: 0; font-family: var(--display); font-size: 16px; }
.review-block dl div { grid-template-columns: 120px 1fr; }
.review-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 17px; }
.review-actions button { min-height: 36px; }
.review-note { margin-top: 20px; }
.admin-timeline h3 { padding: 20px 0 12px; }
.muted { color: var(--ink-soft); font-size: 11px; }

/* Signing mock */
.sign-body { min-height: 100vh; background: #eef2f4; }
.sign-shell { width: min(960px, calc(100vw - 28px)); margin: 0 auto; padding: 30px 0 70px; }
.provider-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.provider-logo { color: #214d8d; font-size: 24px; font-weight: 700; font-style: italic; }
.sign-document { padding: clamp(24px, 5vw, 54px); background: white; box-shadow: var(--shadow); }
.sign-document header h1 { margin: 0; font-family: var(--display); }
.sign-document header > p:last-child { color: var(--ink-soft); font-size: 11px; }
.mock-paper { position: relative; max-width: 680px; min-height: 430px; margin: 34px auto; padding: 56px; border: 1px solid #cfd7df; background: #fff; box-shadow: 0 14px 40px rgba(25,46,69,.08); overflow: hidden; }
.mock-paper h2 { font-family: var(--display); text-align: center; }
.mock-paper p { line-height: 2; font-size: 12px; }
.paper-watermark { position: absolute; top: 42%; left: 17%; color: rgba(24,55,91,.05); font-size: 110px; font-weight: 700; transform: rotate(-24deg); }
.signature-place { position: absolute; right: 52px; bottom: 45px; width: 170px; padding: 16px; border: 1px dashed #9aaaba; text-align: center; }
.signature-place span, .signature-place strong { display: block; }
.signature-place span { color: #8793a0; font-size: 9px; }
.signature-place strong { margin-top: 8px; color: #214d8d; font-family: var(--display); }
.sign-document > .check-row { justify-content: center; }
.sign-document > .primary-button { margin: 22px auto 0; }
.inline-error { color: var(--coral); text-align: center; font-size: 11px; }

/* Client demo control room */
.demo-hub-body { min-height: 100vh; color: #edf3f1; background: #07111e; background-image: radial-gradient(circle at 82% 8%, rgba(27,105,95,.24), transparent 34%), linear-gradient(125deg, rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(35deg, rgba(255,255,255,.018) 1px, transparent 1px); background-size: auto, 38px 38px, 38px 38px; }
.demo-hub-header { position: sticky; z-index: 20; top: 0; min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 14px clamp(24px, 4vw, 64px); border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(7,17,30,.94); backdrop-filter: blur(16px); box-shadow: 0 18px 42px rgba(0,0,0,.2); }
.demo-brand { display: flex; align-items: center; gap: 21px; }
.demo-brand .co-brand-lockup img { width: 160px; }
.demo-brand > .demo-brand-separator { width: 1px; height: 34px; background: rgba(255,255,255,.16); }
.demo-brand strong, .demo-brand small, .demo-header-meta strong, .demo-header-meta small { display: block; }
.demo-brand strong { font-family: var(--display); font-size: 16px; font-weight: 500; letter-spacing: .08em; }
.demo-brand .jingshuo-mark { font-weight: 600; letter-spacing: .1em; }
.demo-brand small { margin-top: 5px; color: rgba(255,255,255,.38); font-family: var(--mono); font-size: 8px; letter-spacing: .13em; }
.demo-header-meta { position: relative; display: grid; grid-template-columns: 12px auto; column-gap: 9px; align-items: center; }
.demo-header-meta .live-dot { grid-row: 1 / 3; width: 8px; height: 8px; border-radius: 50%; background: #53c2a7; box-shadow: 0 0 0 5px rgba(83,194,167,.12); }
.demo-header-meta strong { font-size: 11px; font-weight: 500; }
.demo-header-meta small { color: rgba(255,255,255,.4); font-size: 8px; }
.demo-header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.demo-pace-picker { min-height: 42px; display: grid; grid-template-columns: auto auto; align-items: center; gap: 9px; padding: 0 10px; border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.55); font-size: 8px; }
.demo-pace-picker select { border: 0; background: transparent; color: white; font-size: 9px; outline: none; cursor: pointer; }
.demo-pace-picker option { color: var(--carbon); }
.demo-stage { display: grid; grid-template-columns: minmax(320px, .66fr) minmax(620px, 1.5fr); gap: clamp(20px, 3vw, 42px); max-width: 1720px; margin: 0 auto; padding: clamp(28px, 4vw, 58px); }
.demo-story { min-width: 0; }
.demo-kicker { margin: 0 0 18px; color: #72b9a9; font-family: var(--mono); font-size: 9px; letter-spacing: .19em; }
.demo-story h1 { margin: 0; font-family: var(--display); font-size: clamp(36px, 4vw, 64px); font-weight: 650; line-height: 1.08; letter-spacing: -.015em; }
.demo-lead { max-width: 510px; margin: 22px 0 0; color: rgba(237,243,241,.56); font-size: 12px; line-height: 1.9; }
.demo-capability-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 30px 0; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); }
.demo-capability-strip > div { min-width: 0; padding: 13px 10px; background: rgba(11,24,39,.88); }
.demo-capability-strip span, .demo-capability-strip strong { display: block; }
.demo-capability-strip span { color: rgba(255,255,255,.35); font-size: 8px; }
.demo-capability-strip strong { margin-top: 5px; color: #dce9e6; font-size: 9px; font-weight: 500; }
.demo-script-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 0 0 12px; }
.demo-script-heading small { color: var(--gold); font-family: var(--mono); font-size: 8px; letter-spacing: .13em; }
.demo-script-heading h2 { margin: 4px 0 0; font-family: var(--display); font-size: 19px; font-weight: 500; }
.demo-sequence-badge { color: rgba(255,255,255,.38); font-family: var(--mono); font-size: 9px; letter-spacing: .12em; }
.demo-outline-button, .demo-reset-button { min-height: 34px; padding: 0 12px; border: 1px solid rgba(255,255,255,.17); background: transparent; color: rgba(255,255,255,.72); font-size: 9px; cursor: pointer; }
.demo-outline-button.running { border-color: var(--gold); color: #e5bf85; }
.demo-outline-button.auto-primary { min-height: 42px; padding: 0 17px; border-color: rgba(114,185,169,.72); background: rgba(61,143,126,.14); color: #e8f5f1; box-shadow: 0 0 0 1px rgba(114,185,169,.08), 0 12px 32px rgba(0,0,0,.18); font-weight: 600; letter-spacing: .04em; }
.demo-outline-button.auto-primary:hover { background: rgba(61,143,126,.25); border-color: #72b9a9; }
.scenario-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.scenario-list button { min-width: 0; min-height: 68px; display: grid; grid-template-columns: 24px 1fr; gap: 8px; align-items: start; padding: 13px 10px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); color: rgba(255,255,255,.58); text-align: left; cursor: pointer; transition: border-color .18s, background .18s, color .18s; }
.scenario-list button:hover { border-color: rgba(114,185,169,.5); color: white; }
.scenario-list button:disabled { cursor: wait; opacity: .55; }
.scenario-list button.active { border-color: #4c9a89; background: rgba(36,112,96,.16); color: white; box-shadow: inset 0 -2px #4c9a89; }
.scenario-list button > span { color: var(--gold); font-family: var(--mono); font-size: 8px; }
.scenario-list strong, .scenario-list small { display: block; }
.scenario-list strong { font-size: 10px; font-weight: 500; line-height: 1.45; }
.scenario-list small { margin-top: 4px; color: rgba(255,255,255,.34); font-size: 7px; line-height: 1.35; }
.presenter-note { margin-top: 15px; padding: 16px 18px; border-left: 2px solid var(--gold); background: rgba(255,255,255,.035); }
.presenter-note span { color: #d4ad73; font-size: 9px; }
.presenter-note p { margin: 6px 0 0; color: rgba(255,255,255,.5); font-size: 10px; line-height: 1.7; }
.demo-preview { position: sticky; top: 112px; min-width: 0; align-self: start; border: 1px solid rgba(255,255,255,.14); background: #eef3f2; box-shadow: 0 36px 90px rgba(0,0,0,.3); }
.preview-toolbar { min-height: 60px; display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 14px; padding: 10px 15px; background: #f9fbfa; color: var(--carbon); border-bottom: 1px solid #dbe4e1; }
.preview-window-dots { display: flex; gap: 6px; }
.preview-window-dots span { width: 8px; height: 8px; border-radius: 50%; background: #cfd9d6; }
.preview-window-dots span:first-child { background: #c7655a; }
.preview-window-dots span:nth-child(2) { background: #c69c59; }
.preview-window-dots span:last-child { background: #56a18f; }
.preview-location { min-width: 0; text-align: center; }
.preview-location small, .preview-location strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-location small { color: #7e8d98; font-family: var(--mono); font-size: 7px; letter-spacing: .15em; }
.preview-location strong { margin-top: 4px; font-family: var(--display); font-size: 12px; font-weight: 600; }
.preview-actions { display: flex; align-items: center; gap: 4px; }
.preview-actions button, .preview-actions a { min-height: 29px; display: inline-flex; align-items: center; justify-content: center; padding: 0 8px; border: 1px solid #d7e0dd; background: white; color: #657482; font-size: 8px; text-decoration: none; cursor: pointer; }
.preview-actions button.active { background: var(--carbon); border-color: var(--carbon); color: white; }
.preview-statusbar { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 15px; background: #e7eeec; color: #566976; }
.preview-statusbar span { display: flex; align-items: center; gap: 8px; }
.preview-statusbar i { width: 6px; height: 6px; border-radius: 50%; background: var(--jade); }
.preview-statusbar strong { font-size: 8px; font-weight: 600; }
.preview-statusbar code { color: #71808b; font-size: 7px; }
.autopilot-bar { min-height: 54px; display: grid; grid-template-columns: minmax(170px, .8fr) minmax(180px, 1.2fr) auto; align-items: center; gap: 14px; padding: 8px 14px; background: #10253a; color: white; border-bottom: 1px solid rgba(255,255,255,.1); }
.autopilot-copy { min-width: 0; }
.autopilot-copy small, .autopilot-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.autopilot-copy small { color: #72b9a9; font-family: var(--mono); font-size: 7px; letter-spacing: .12em; }
.autopilot-copy strong { margin-top: 4px; font-size: 9px; font-weight: 500; }
.autopilot-track { height: 3px; overflow: hidden; background: rgba(255,255,255,.12); }
.autopilot-track span { width: 100%; height: 100%; display: block; transform: scaleX(0); transform-origin: left center; background: linear-gradient(90deg, #72b9a9, #d4ad73); }
.autopilot-controls { display: flex; gap: 5px; }
.continuous-badge { min-height: 27px; display: inline-flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.82); font-size: 8px; letter-spacing: .06em; white-space: nowrap; }
.continuous-badge i { width: 6px; height: 6px; border-radius: 50%; background: #8bd3bf; box-shadow: 0 0 0 4px rgba(139,211,191,.12); animation: rec-blink 1s infinite alternate; }
.continuous-badge.complete { border-color: rgba(255,240,186,.36); color: #fff0ba; }
.continuous-badge.complete::before { content: "✓"; }
.demo-preview iframe { width: 100%; height: min(760px, calc(100vh - 230px)); min-height: 590px; display: block; border: 0; background: var(--porcelain); }
.preview-loading { position: absolute; z-index: 4; inset: 94px 0 48px; display: grid; place-items: center; align-content: center; background: rgba(241,246,244,.92); color: var(--ink-soft); font-size: 10px; }
.service-simulation { position: absolute; z-index: 8; inset: 148px 0 48px; display: grid; place-items: center; padding: 24px; background: rgba(5,15,27,.84); backdrop-filter: blur(8px); }
.service-simulation-card { width: min(410px, 90%); padding: 30px; border: 1px solid rgba(255,255,255,.18); background: linear-gradient(145deg, rgba(19,41,61,.98), rgba(7,19,32,.98)); color: white; box-shadow: 0 28px 70px rgba(0,0,0,.36); }
.service-sigil { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid #c9a66e; color: #e8c895; font-family: var(--display); font-size: 25px; transform: rotate(-2deg); }
.service-simulation-card > p { margin: 18px 0 5px; color: #72b9a9; font-family: var(--mono); font-size: 8px; letter-spacing: .15em; }
.service-simulation-card > h3 { margin: 0; font-family: var(--display); font-size: 23px; font-weight: 500; }
.service-simulation-card > small { display: block; margin-top: 20px; color: rgba(255,255,255,.36); font-size: 8px; }
.service-steps { display: grid; gap: 7px; margin-top: 22px; }
.service-steps > div { min-height: 38px; display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 10px; padding: 0 11px; border: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.48); transition: border-color .2s, background .2s, color .2s; }
.service-steps span { width: 8px; height: 8px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; }
.service-steps strong { font-size: 9px; font-weight: 500; }
.service-steps small { font-size: 7px; }
.service-steps > div.active { border-color: rgba(114,185,169,.6); background: rgba(114,185,169,.08); color: white; }
.service-steps > div.active span { border-color: #72b9a9; box-shadow: 0 0 0 4px rgba(114,185,169,.12); animation: service-pulse .7s infinite alternate; }
.service-steps > div.done { color: rgba(255,255,255,.78); }
.service-steps > div.done span { border-color: #72b9a9; background: #72b9a9; }
.preview-foot { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 14px; background: #f9fbfa; color: #82918c; border-top: 1px solid #dbe4e1; }
.preview-foot > div { display: flex; flex-wrap: wrap; gap: 6px 15px; }
.preview-foot span { font-size: 7px; }
.demo-reset-button { flex: 0 0 auto; border-color: #d7e0dd; color: #596b78; }
.demo-hub-footer { display: flex; justify-content: space-between; gap: 30px; padding: 22px clamp(24px, 4vw, 64px) 32px; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.38); font-size: 8px; }
.demo-hub-footer > div { display: flex; gap: 14px; }
.demo-hub-footer strong { color: rgba(255,255,255,.64); font-family: var(--display); font-weight: 500; }
.demo-hub-footer a { color: inherit; text-decoration: none; }
.demo-notice { position: fixed; z-index: 30; right: 20px; bottom: 20px; max-width: 340px; padding: 13px 16px; border-left: 3px solid var(--coral); background: #fff; color: #703f39; box-shadow: 0 18px 45px rgba(0,0,0,.24); font-size: 10px; }
.demo-notice.info { border-left-color: var(--jade); color: #285c55; }

/* Same-origin automation affordances are inserted only while the client demo is running. */
.demo-hub-body.is-autoplay, .demo-hub-body.is-autoplay *, .demo-autoplay-view, .demo-autoplay-view * { cursor: none !important; }
.preview-actions .is-disabled { pointer-events: none; opacity: .42; }
.demo-ghost-cursor { position: fixed; z-index: 9999; left: 0; top: 0; width: 23px; height: 28px; pointer-events: none; transform: translate3d(12px,12px,0); filter: drop-shadow(0 4px 7px rgba(0,0,0,.28)); }
.demo-ghost-cursor::before { content: ""; position: absolute; left: 1px; top: 0; width: 0; height: 0; border-top: 19px solid #0b6b61; border-right: 13px solid transparent; transform: rotate(-19deg); transform-origin: top left; }
.demo-ghost-cursor::after { content: ""; position: absolute; left: 4px; top: 3px; width: 0; height: 0; border-top: 13px solid white; border-right: 8px solid transparent; transform: rotate(-19deg); transform-origin: top left; }
.demo-ghost-cursor span { position: absolute; left: -10px; top: -10px; width: 30px; height: 30px; border: 1px solid rgba(11,107,97,.65); border-radius: 50%; opacity: 0; }
.demo-ghost-cursor.is-clicking span { animation: demo-click-ring .45s ease-out; }
.demo-auto-focus { outline: 3px solid rgba(11,107,97,.38) !important; outline-offset: 4px !important; box-shadow: 0 0 0 8px rgba(11,107,97,.08) !important; }

.demo-video-button { border-color: var(--gold); color: #7f5c29; }
.upload-video.is-disabled { pointer-events: none; opacity: .35; }
.camera-stage.is-simulating { background: #071625; }
.simulated-video-feed { position: absolute; z-index: 2; inset: 0; overflow: hidden; background: radial-gradient(circle at 50% 38%, rgba(45,116,106,.36), transparent 18%), linear-gradient(145deg, #0c2032, #07111e 70%); }
.video-grid { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(114,185,169,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(114,185,169,.18) 1px, transparent 1px); background-size: 34px 34px; }
.video-scanline { position: absolute; z-index: 4; left: 0; right: 0; height: 1px; background: rgba(114,220,196,.65); box-shadow: 0 0 14px rgba(114,220,196,.75); animation: video-scan 2.1s linear infinite; }
.sim-person { position: absolute; left: 50%; top: 46%; width: 150px; height: 210px; transform: translate(-50%,-50%); }
.sim-head { position: absolute; z-index: 2; left: 44px; top: 5px; width: 62px; height: 78px; border-radius: 46% 46% 42% 42%; background: linear-gradient(145deg, #c39b79, #986f55); box-shadow: inset -8px -5px rgba(60,34,25,.12); }
.sim-head::before { content: ""; position: absolute; left: 9px; right: 9px; top: -5px; height: 30px; border-radius: 50% 50% 30% 30%; background: #1a2631; }
.sim-head::after { content: ""; position: absolute; left: 17px; top: 41px; width: 28px; height: 8px; border-bottom: 2px solid rgba(70,39,29,.5); border-radius: 50%; animation: sim-speaking .55s infinite alternate; }
.sim-body { position: absolute; left: 9px; right: 9px; top: 76px; height: 132px; border-radius: 55px 55px 8px 8px; background: linear-gradient(145deg, #1c384c, #102536); }
.face-box { position: absolute; z-index: 5; left: 50%; top: 41%; width: 90px; height: 108px; transform: translate(-50%,-50%); border: 1px solid rgba(114,220,196,.52); }
.face-box > i { position: absolute; width: 14px; height: 14px; border-color: #72dcc4; }
.face-box > i:nth-child(1) { left: -1px; top: -1px; border-left: 2px solid; border-top: 2px solid; }
.face-box > i:nth-child(2) { right: -1px; top: -1px; border-right: 2px solid; border-top: 2px solid; }
.face-box > i:nth-child(3) { left: -1px; bottom: -1px; border-left: 2px solid; border-bottom: 2px solid; }
.face-box > i:nth-child(4) { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }
.face-box small { position: absolute; left: 50%; bottom: -19px; transform: translateX(-50%); color: #72dcc4; font-size: 8px; white-space: nowrap; }
.recording-hud { position: absolute; z-index: 5; left: 18px; top: 17px; display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.72); font-family: var(--mono); font-size: 8px; letter-spacing: .09em; }
.recording-hud span { width: 7px; height: 7px; border-radius: 50%; background: #e45e55; box-shadow: 0 0 0 4px rgba(228,94,85,.16); animation: rec-blink .8s infinite alternate; }
.voice-wave { position: absolute; z-index: 5; left: 18px; bottom: 46px; height: 28px; display: flex; align-items: center; gap: 3px; }
.voice-wave i { width: 2px; height: 7px; background: #72dcc4; animation: voice-wave .75s infinite ease-in-out alternate; }
.voice-wave i:nth-child(3n) { animation-delay: .15s; }
.voice-wave i:nth-child(4n) { animation-delay: .3s; }
.voice-wave i:nth-child(5n) { animation-delay: .45s; }
.sim-caption { position: absolute; z-index: 5; left: 50%; bottom: 14px; width: calc(100% - 80px); transform: translateX(-50%); color: white; font-size: 10px; text-align: center; text-shadow: 0 2px 6px #000; }
.camera-stage.is-complete .recording-hud { color: #8ddcc9; }
.camera-stage.is-complete .recording-hud span { background: #72b9a9; animation: none; }

@keyframes service-pulse { to { transform: scale(1.25); } }
@keyframes demo-click-ring { from { opacity: .8; transform: scale(.35); } to { opacity: 0; transform: scale(1.35); } }
@keyframes video-scan { from { top: 8%; } to { top: 88%; } }
@keyframes sim-speaking { from { height: 6px; } to { height: 12px; } }
@keyframes rec-blink { to { opacity: .35; } }
@keyframes voice-wave { from { height: 5px; } to { height: 25px; } }

/* Executive Evidence visual system
   A restrained light business interface built from mist, slate, muted teal and champagne. */
html { background: var(--porcelain); color: var(--carbon); }
body { color: var(--carbon); }
.demo-banner { background: #ecefea; border-color: #d6dedb; color: #66736f; }

/* Investor journey */
.investor-body {
  background-color: var(--porcelain);
  background-image:
    linear-gradient(135deg, rgba(113,143,157,.08), transparent 34%),
    repeating-linear-gradient(90deg, transparent 0, transparent 47px, rgba(62,124,115,.026) 48px),
    repeating-linear-gradient(0deg, transparent 0, transparent 47px, rgba(62,124,115,.02) 48px);
}
.journey-panel {
  color: var(--carbon);
  background:
    linear-gradient(180deg, #e8eeec 0%, #edf1ef 60%, #e8ece8 100%);
  border-right: 1px solid #d3dcda;
  box-shadow: 18px 0 48px rgba(55,80,84,.06);
}
.journey-panel::before { display: none; }
.journey-panel::after { opacity: .26; background-image: linear-gradient(135deg, rgba(62,124,115,.10) 1px, transparent 1px); background-size: 30px 30px; mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 78%, transparent); }
.firm-brand { padding: 20px; border-radius: 6px; color: white; background: #477477; box-shadow: 0 12px 28px rgba(46,85,88,.16); }
.firm-brand .co-brand-lockup img { filter: drop-shadow(0 3px 9px rgba(16,89,87,.12)); }
.platform-wordmark { border-top-color: rgba(255,255,255,.35); border-left-color: #ffe09b; }
.platform-wordmark small { color: rgba(255,255,255,.72); }
.invitation-caption { color: #6a8790; }
.reference { color: var(--carbon); }
.step-track::before { background: linear-gradient(to bottom, #7c9ca5, #56877f 62%, #b5945c); }
.step-item { color: #77909a; }
.step-node { border-color: #c6d2cf; background: rgba(251,252,250,.88); color: #687b80; box-shadow: none; }
.step-item.is-active { color: var(--carbon); }
.step-item.is-active .step-node { border-color: var(--gold); background: #f3eee4; color: #846a3f; box-shadow: 0 0 0 4px rgba(181,148,92,.12); }
.step-item.is-complete { color: #3f716c; }
.step-item.is-complete .step-node { background: #4f837b; border-color: #4f837b; color: white; }
.boundary-note { border-top-color: rgba(55,126,129,.18); }
.boundary-note p { color: #627f86; }
.boundary-mark { border-color: rgba(181,148,92,.72); border-radius: 2px; background: #f1ece2; color: #7e6844; }
.firm-office-card { border-top-color: rgba(55,126,129,.18); color: #6c8790; }
.firm-office-card small { color: #ae7b22; }
.firm-office-card strong { color: var(--carbon); }
.firm-office-card a { color: #4d747c; }
.firm-office-card a:hover { color: var(--jade); }
.journey-main { background: transparent; }
.journey-header h1, .admin-topbar h1 { color: #244f5d; }
.trust-chip, .role-chip { border-color: #d0dad7; border-radius: 3px; background: rgba(251,252,250,.84); color: #5f7277; box-shadow: none; }
.docket-card { border: 1px solid #d5dfdc; border-radius: 8px; background: rgba(251,252,250,.96); box-shadow: 0 24px 60px rgba(48,78,82,.11); backdrop-filter: blur(10px); }
.docket-card::before { height: 4px; background: linear-gradient(90deg, #718f9d 0 32%, #4d8178 32% 76%, #b5945c 76%); }
.card-header h2, .completion-view h2, .pending-view h2 { color: #244f5d; }
.field input, .field select, .field textarea, .table-tools input { border-color: #cbd7d4; border-radius: 4px; background: rgba(255,255,255,.90); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9fcfc5; }
.check-row input { accent-color: var(--jade); }
.primary-button { border-radius: 4px; background: #3e7c73; box-shadow: 0 10px 22px rgba(49,98,92,.18); }
.primary-button:hover:not(:disabled) { background: #326c64; box-shadow: 0 13px 26px rgba(49,98,92,.22); }
.secondary-button, .danger-button { border-radius: 4px; background: rgba(255,255,255,.88); }
.text-button { color: #217f72; }
.demo-footnote { border: 1px solid #d5dfdc; border-left: 3px solid #5d8c83; border-radius: 3px; background: #eef3f1; }
.scale-options span { border-color: #d1dcda; border-radius: 3px; background: rgba(255,255,255,.72); }
.scale-options input:checked + span { border-color: #56877f; background: #e5eeeb; color: #345f59; box-shadow: inset 0 -2px #56877f; }
.upload-zone { border-color: #a8bfba; border-radius: 4px; background: #f2f6f4; }
.product-ribbon { border-radius: 4px; color: var(--carbon); background: #e5edeb; border-left: 3px solid #b5945c; }
.product-ribbon small, .product-ribbon dt { color: #647f87; }
.contract-summary, .contract-summary > div { background: transparent; }
.contract-summary { gap: 12px; border: 0; }
.contract-summary > div { border: 1px solid var(--line); border-radius: 4px; background: rgba(255,255,255,.78); }
.signing-ticket { border-radius: 4px; background: #f2efe7; }
.camera-stage, .camera-stage.is-simulating { border-radius: 6px; background: linear-gradient(145deg, #456c75, #527f7b 70%); }
.simulated-video-feed { background: radial-gradient(circle at 50% 38%, rgba(200,177,128,.18), transparent 20%), linear-gradient(145deg, #456c75, #527f7b 70%); }
.sim-head::before { background: #355666; }
.sim-body { background: linear-gradient(145deg, #e6b883, #d58f72); }
.script-sheet { border-radius: 4px; background: repeating-linear-gradient(to bottom, #fbfcfa 0 31px, #e5ebe9 32px); }
.ready-line, .completion-warning, .notice, .callout { border-radius: 3px; }
.completion-seal { border-color: #53aa98; color: #268372; }

/* Compliance workspace */
.admin-body { background: linear-gradient(145deg, #eef2f1, #f5f6f3 58%, #eeefeb); }
.admin-sidebar { color: var(--carbon); background: #e8eeec; border-right: 1px solid #d1dad7; box-shadow: 14px 0 40px rgba(55,79,83,.06); }
.admin-brand { padding: 18px; border: 0; border-radius: 6px; background: #477477; box-shadow: 0 11px 26px rgba(47,83,86,.14); }
.admin-brand .platform-wordmark { color: white; }
.admin-nav button { border-radius: 3px; color: #5d7177; }
.admin-nav button span { color: #74a8aa; }
.admin-nav button:hover { background: rgba(255,255,255,.52); color: #246f69; }
.admin-nav button.active { background: rgba(251,252,250,.94); color: #355f5a; box-shadow: inset 3px 0 #b5945c; }
.admin-office { color: #6b858c; }
.admin-office strong { color: var(--carbon); }
.admin-office a { color: #53777e; }
.admin-sidebar-foot { border-top-color: rgba(71,137,139,.17); }
.admin-sidebar-foot small { color: #789098; }
.metric-ledger { gap: 1px; border: 1px solid var(--line); background: var(--line); }
.metric { border: 0; border-radius: 0; background: rgba(251,252,250,.92); box-shadow: none; }
.metric::after { display: none; }
.metric.alert, .metric.success { box-shadow: none; }
.metric.alert::before, .metric.success::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--gold); }
.metric.success::before { background: var(--jade); }
.admin-card { border-color: #d5dfdc; border-radius: 6px; background: rgba(251,252,250,.94); box-shadow: 0 14px 36px rgba(52,78,82,.07); }
.queue-list button { background: transparent; }
.queue-mark, .product-symbol { border-radius: 3px; background: #f0ebe1; }
.status-pill, .icon-button { border-radius: 3px; }
.table-card { border-radius: 6px; }
th { background: #eef7f4; }
.integration-logo { border-radius: 4px; background: #527e7b; box-shadow: 0 8px 18px rgba(56,94,93,.14); }
.login-dialog, .case-dialog { border-radius: 8px; overflow: hidden; box-shadow: 0 28px 76px rgba(47,73,78,.20); }
.login-dialog::backdrop, .case-dialog::backdrop { background: rgba(73,121,129,.34); }
.login-firm-logo { background: #477477; }
.case-status-strip { border-radius: 3px; background: #527e7b; }
.review-block { border-radius: 4px; background: rgba(247,249,247,.82); }

/* Signing service */
.sign-body { background: linear-gradient(145deg, #eaefed, #f4f5f2); }
.sign-document { border: 1px solid #d5dfdc; border-radius: 8px; background: rgba(251,252,250,.96); box-shadow: 0 24px 60px rgba(53,80,84,.10); }
.mock-paper { border-color: #d1dad7; border-radius: 4px; background: #fbfcfa; box-shadow: 0 13px 34px rgba(54,80,84,.08); }

/* Presentation room */
.demo-hub-body { color: var(--carbon); background-color: #eef2f1; background-image: linear-gradient(135deg, rgba(113,143,157,.08), transparent 34%), repeating-linear-gradient(90deg, transparent 0, transparent 47px, rgba(62,124,115,.025) 48px), repeating-linear-gradient(0deg, transparent 0, transparent 47px, rgba(62,124,115,.018) 48px); }
.demo-hub-header { border-bottom-color: #d4ddda; background: rgba(246,248,246,.94); box-shadow: 0 12px 32px rgba(52,78,82,.08); }
.demo-brand { padding: 13px 18px; border-radius: 6px; color: white; background: #477477; box-shadow: 0 9px 22px rgba(47,84,87,.14); }
.demo-brand > .demo-brand-separator { background: rgba(255,255,255,.35); }
.demo-brand small { color: rgba(255,255,255,.72); }
.demo-header-meta strong { color: #315a64; }
.demo-header-meta small { color: #759097; }
.demo-pace-picker { border-color: #d0dad7; border-radius: 3px; background: rgba(251,252,250,.86); color: #687a7f; }
.demo-pace-picker select, .demo-pace-picker option { color: #315b64; }
.demo-story { position: relative; z-index: 1; }
.demo-story::before { display: none; }
.demo-kicker { color: #278878; }
.demo-story h1 { color: #214f5d; }
.demo-lead { color: #5f7a82; }
.demo-capability-strip { gap: 1px; border: 1px solid #d2dcda; background: #d2dcda; }
.demo-capability-strip > div { position: relative; padding: 16px 13px; border: 0; border-radius: 0; background: rgba(251,252,250,.92); box-shadow: none; overflow: hidden; }
.demo-capability-strip > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #718f9d; }
.demo-capability-strip > div:nth-child(2)::before { background: #4f8178; }
.demo-capability-strip > div:nth-child(3)::before { background: #b5945c; }
.demo-capability-strip > div:nth-child(4)::before { background: #8a7565; }
.demo-capability-strip span { color: #81949a; }
.demo-capability-strip strong { color: #315761; }
.demo-script-heading h2 { color: #315761; }
.demo-sequence-badge { color: #7e969b; }
.demo-outline-button { border-color: #ccd7d4; border-radius: 3px; color: #48676e; }
.demo-outline-button.auto-primary { border-color: #3e7c73; background: #3e7c73; color: white; box-shadow: 0 9px 20px rgba(49,96,91,.16); }
.demo-outline-button.auto-primary:hover { border-color: #326c64; background: #326c64; }
.demo-outline-button.running { border-color: #e3b04b; color: white; }
.scenario-list { gap: 6px; }
.scenario-list button { border-color: #d3ddda; border-radius: 3px; background: rgba(251,252,250,.78); color: #5f7378; box-shadow: none; }
.scenario-list button:hover { border-color: #8eaaa4; background: #fbfcfa; color: #365f5b; }
.scenario-list button.active { border-color: #668f87; background: #e3ece9; color: #315d58; box-shadow: inset 0 -2px #4f8178; }
.scenario-list small { color: #8aa0a5; }
.presenter-note { border: 1px solid #ded8c9; border-left: 3px solid #b5945c; border-radius: 3px; background: rgba(242,239,231,.86); }
.presenter-note span { color: #7f6741; }
.presenter-note p { color: #687f84; }
.demo-preview { border: 1px solid #cbd6d3; border-radius: 8px; box-shadow: 0 24px 64px rgba(48,75,80,.14); overflow: hidden; }
.preview-toolbar { background: rgba(255,255,255,.94); }
.preview-actions button, .preview-actions a { border-radius: 3px; }
.preview-actions button.active { border-color: #4e7e77; background: #4e7e77; }
.preview-statusbar { background: #e6ecea; }
.autopilot-bar { background: #477477; border-bottom-color: rgba(255,255,255,.18); }
.autopilot-copy small { color: #fff0ba; }
.autopilot-track span { background: linear-gradient(90deg, #fff0ac, #ffd28a, #fff); }
.continuous-badge { border-radius: 3px; }
.preview-loading { background: rgba(239,249,246,.94); }
.service-simulation { background: rgba(221,230,232,.88); }
.service-simulation-card { border-color: #d0dad7; border-radius: 8px; background: rgba(251,252,250,.98); color: var(--carbon); box-shadow: 0 24px 60px rgba(49,76,81,.16); }
.service-sigil { border-color: #b5945c; border-radius: 3px; background: #f0ebe1; color: #7b633e; }
.service-simulation-card > p { color: #2a8b7c; }
.service-simulation-card > small { color: #809399; }
.service-steps > div { border-color: #d4dedb; border-radius: 3px; color: #718086; }
.service-steps span { border-color: #9ecbc2; }
.service-steps > div.active { border-color: #78bfb0; background: #e7f6f0; color: #2b615f; }
.service-steps > div.done { color: #3d716c; }
.preview-foot { background: rgba(255,255,255,.94); }
.demo-reset-button { border-radius: 3px; background: white; }
.demo-hub-footer { border-top-color: rgba(78,145,147,.15); color: #71898f; }
.demo-hub-footer strong { color: #315761; }
.demo-notice { border-radius: 3px; box-shadow: 0 18px 45px rgba(49,75,80,.16); }

/* Identity authentication, extended suitability and dual-person recording */
.identity-auth-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: 28px; align-items: start; }
.auth-form-panel { display: grid; gap: 17px; }
.auth-flow-index { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 8px; margin-bottom: 3px; color: #91a09f; font-size: 9px; letter-spacing: .04em; }
.auth-flow-index i { height: 1px; background: #cfdbd8; }
.auth-flow-index span { white-space: nowrap; }
.auth-flow-index span.is-current { color: #6b5939; }
.auth-flow-index span.is-complete { color: var(--jade); font-weight: 650; }
.sms-verification { display: grid; grid-template-columns: 1fr auto; gap: 9px; align-items: end; }
.sms-verification .secondary-button { min-height: 47px; }
.verification-state { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 12px; border: 1px solid #d5dfdc; background: #f4f7f5; }
.verification-state > span { width: 25px; height: 25px; display: grid; place-items: center; flex: 0 0 25px; border: 1px solid #b8c8c4; border-radius: 50%; color: #879997; font-size: 11px; }
.verification-state > span.is-passed { border-color: #70aa9f; background: #dcece7; color: #2b7469; }
.verification-state p { margin: 0; }
.verification-state strong, .verification-state small { display: block; }
.verification-state strong { color: #37555b; font-size: 11px; }
.verification-state small { margin-top: 3px; color: #7a8c90; font-size: 9px; }
.face-consent { padding: 12px 14px; border-left: 2px solid #b5945c; background: #f5f1e8; font-size: 11px; }
.auth-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 9px; }
.alternative-auth { width: fit-content; color: #677f84; }
.face-verification-panel { padding: 13px; border: 1px solid #cbd8d4; background: linear-gradient(160deg, #e5ece9, #f3f5f2); box-shadow: 0 18px 44px rgba(52,79,81,.09); }
.face-demo-label { display: flex; justify-content: space-between; align-items: center; padding: 2px 3px 10px; color: #6c8083; font-size: 9px; letter-spacing: .08em; }
.face-demo-label span { color: #886d3e; }
.face-stage { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #9baead; }
.face-stage img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.88) contrast(.98); transform: scale(1.015); }
.face-mask { position: absolute; inset: 0; background: radial-gradient(ellipse 32% 42% at 50% 42%, transparent 0 86%, rgba(20,45,48,.34) 87%), linear-gradient(to top, rgba(15,39,43,.48), transparent 32%); }
.face-frame { position: absolute; width: 52%; height: 62%; left: 24%; top: 13%; }
.face-frame i { position: absolute; width: 24px; height: 24px; border-color: rgba(255,255,255,.92); border-style: solid; }
.face-frame i:nth-child(1) { left: 0; top: 0; border-width: 2px 0 0 2px; }
.face-frame i:nth-child(2) { right: 0; top: 0; border-width: 2px 2px 0 0; }
.face-frame i:nth-child(3) { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.face-frame i:nth-child(4) { left: 0; bottom: 0; border-width: 0 0 2px 2px; }
.face-scanline { position: absolute; display: none; left: 24%; width: 52%; top: 17%; height: 1px; background: #8ff0dc; box-shadow: 0 0 12px #4be4c6; }
.face-stage.is-scanning .face-scanline { display: block; animation: face-auth-scan 1.5s ease-in-out infinite alternate; }
.face-stage.is-passed .face-frame i { border-color: #8cf0dc; }
.liveness-copy { position: absolute; left: 16px; right: 16px; bottom: 14px; min-height: 32px; display: flex; justify-content: center; align-items: center; padding: 7px 10px; background: rgba(25,54,57,.72); color: white; backdrop-filter: blur(7px); font-size: 10px; letter-spacing: .04em; }
.liveness-copy strong { margin-left: 5px; color: #adf4e5; }
.face-result-list { display: grid; gap: 1px; margin-top: 10px; background: #d0dbd8; }
.face-result-list > div { display: grid; grid-template-columns: 27px 1fr; align-items: center; gap: 9px; padding: 9px; background: rgba(252,253,251,.94); }
.face-result-list > div > span { color: #a1875d; font-family: var(--mono); font-size: 9px; }
.face-result-list p { margin: 0; }
.face-result-list strong, .face-result-list small { display: block; }
.face-result-list strong { color: #46646a; font-size: 10px; }
.face-result-list small { margin-top: 2px; color: #829397; font-size: 8px; }
.face-result-list > div.is-active { background: #e7f2ef; box-shadow: inset 3px 0 #5a9086; }
.face-result-list > div.is-passed > span { color: #2c8578; }
.face-boundary { margin: 10px 2px 0; color: #75898c; font-size: 8px; line-height: 1.6; }
.identity-pass-card { display: grid; grid-template-columns: 154px 1fr; gap: 26px; align-items: center; padding: 22px; border: 1px solid #cfdbd8; background: linear-gradient(135deg, #e8efec, #f6f7f4); }
.identity-pass-portrait { position: relative; aspect-ratio: 1; overflow: hidden; }
.identity-pass-portrait img { width: 100%; height: 100%; object-fit: cover; }
.identity-pass-portrait > span { position: absolute; right: 9px; bottom: 9px; width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; background: #3e7c73; color: white; box-shadow: 0 5px 14px rgba(38,81,76,.24); }
.identity-pass-portrait svg { width: 18px; }
.identity-pass-card h3 { margin: 0 0 14px; color: #28545b; font-size: 24px; }
.identity-pass-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 0; }
.identity-pass-card dl div { padding-top: 8px; border-top: 1px solid #d5dfdc; }
.identity-pass-card dt { font-size: 9px; }
.identity-pass-card dd { margin-top: 3px; color: #365961; font-size: 11px; }
.registration-consents { display: grid; gap: 15px; margin-top: 24px; }
.registration-consents .check-row { padding: 16px; border: 1px solid #d5dfdc; background: #fbfcfa; }
.registration-consents .check-row strong, .registration-consents .check-row small { display: block; }
.registration-consents .check-row small { margin-top: 4px; color: #72878b; font-size: 10px; }
.risk-overview { display: grid; grid-template-columns: 110px 110px 140px 1fr; gap: 1px; margin-bottom: 24px; border: 1px solid #d1dcda; background: #d1dcda; }
.risk-overview > div, .risk-overview > p { margin: 0; padding: 14px; background: #f5f7f4; }
.risk-overview strong, .risk-overview span { display: block; }
.risk-overview strong { color: #315c62; font-size: 19px; }
.risk-overview span { margin-top: 3px; color: #809195; font-size: 8px; }
.risk-overview p { color: #6d8185; font-size: 9px; line-height: 1.65; }
.questionnaire { display: grid; gap: 20px; }
.risk-section { border: 1px solid #d3ddda; background: rgba(251,252,250,.78); }
.risk-section > header, .disclosure-group > header { display: grid; grid-template-columns: 38px 1fr auto; gap: 13px; align-items: center; padding: 15px 18px; border-bottom: 1px solid #d4dedb; background: #e9efed; }
.risk-section > header > span, .disclosure-group > header > span { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid #ad9470; color: #806844; font-family: var(--mono); font-size: 10px; }
.risk-section header h3, .disclosure-group header h3 { margin: 0; color: #315861; font-size: 14px; }
.risk-section header p, .disclosure-group header p { margin: 3px 0 0; color: #768b8f; font-size: 9px; }
.risk-section header em, .disclosure-group header em { color: #73888c; font-size: 9px; font-style: normal; }
.risk-section .question-list { gap: 0; padding: 0 18px; }
.risk-section .question { padding: 19px 0; }
.risk-section .question:last-child { border-bottom: 0; }
.questionnaire-submit { position: sticky; z-index: 6; bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 12px 14px; border: 1px solid #c8d6d2; background: rgba(250,252,249,.95); box-shadow: 0 14px 34px rgba(45,76,79,.16); backdrop-filter: blur(12px); }
.questionnaire-submit > div { display: flex; align-items: baseline; gap: 8px; }
.questionnaire-submit strong { color: #315f63; font-family: var(--mono); font-size: 14px; }
.questionnaire-submit span { color: #7a8d90; font-size: 9px; }
.investor-profile-report { margin-bottom: 18px; border: 1px solid #cbd7d4; background: #fbfcfa; box-shadow: 0 18px 42px rgba(48,76,80,.08); }
.profile-report-head { display: grid; grid-template-columns: minmax(0, 1fr) 118px; gap: 26px; align-items: center; padding: 28px; color: white; background: linear-gradient(128deg, #315f61, #477b76 72%, #6d8f87); }
.profile-report-head > div:first-child > span { color: #d9c18e; font-size: 9px; letter-spacing: .16em; }
.profile-report-head h3 { margin: 8px 0 10px; font-size: clamp(25px, 4vw, 38px); font-weight: 650; letter-spacing: .05em; }
.profile-report-head p { max-width: 570px; margin: 0; color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.8; }
.profile-score-seal { width: 112px; height: 112px; display: grid; place-items: center; align-content: center; border: 1px solid rgba(235,211,160,.72); border-radius: 50%; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 7px rgba(255,255,255,.035); }
.profile-score-seal small, .profile-score-seal strong, .profile-score-seal span { display: block; }
.profile-score-seal small { color: #ead8ae; font-size: 8px; letter-spacing: .1em; }
.profile-score-seal strong { margin: 2px 0 -2px; font-size: 34px; font-weight: 600; }
.profile-score-seal span { color: rgba(255,255,255,.48); font-size: 8px; }
.profile-report-meta { display: grid; grid-template-columns: 1.2fr .7fr .6fr 1.2fr; gap: 1px; border-bottom: 1px solid #d6dfdc; background: #d6dfdc; }
.profile-report-meta span { min-width: 0; display: grid; gap: 4px; padding: 11px 13px; background: #f0f4f2; color: #7b8c8f; font-size: 8px; white-space: normal; overflow: visible; }
.profile-report-meta strong { margin-left: 0; color: #3e6267; font-family: var(--mono); font-weight: 600; overflow-wrap: anywhere; }
.profile-dimensions { padding: 24px 28px 20px; }
.profile-dimensions > header { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 17px; }
.profile-dimensions header small { color: #aa8952; font-size: 8px; letter-spacing: .14em; }
.profile-dimensions h4 { margin: 4px 0 0; color: #315861; font-size: 16px; }
.profile-dimensions > header > span { color: #839497; font-size: 8px; }
.profile-dimension { display: grid; grid-template-columns: 26px 135px minmax(100px, 1fr) 30px; gap: 12px; align-items: center; min-height: 38px; border-top: 1px solid #e0e7e5; }
.profile-dimension .dimension-code { color: #9a7b49; font-family: var(--mono); font-size: 9px; }
.profile-dimension strong { color: #46666a; font-size: 10px; font-weight: 600; }
.profile-dimension i { height: 5px; background: #dce5e2; overflow: hidden; }
.profile-dimension b { height: 100%; display: block; background: linear-gradient(90deg, #6ea096, #b89a62); }
.profile-dimension .profile-w-0 { width: 0; }.profile-dimension .profile-w-5 { width: 5%; }.profile-dimension .profile-w-10 { width: 10%; }.profile-dimension .profile-w-15 { width: 15%; }.profile-dimension .profile-w-20 { width: 20%; }.profile-dimension .profile-w-25 { width: 25%; }.profile-dimension .profile-w-30 { width: 30%; }.profile-dimension .profile-w-35 { width: 35%; }.profile-dimension .profile-w-40 { width: 40%; }.profile-dimension .profile-w-45 { width: 45%; }.profile-dimension .profile-w-50 { width: 50%; }.profile-dimension .profile-w-55 { width: 55%; }.profile-dimension .profile-w-60 { width: 60%; }.profile-dimension .profile-w-65 { width: 65%; }.profile-dimension .profile-w-70 { width: 70%; }.profile-dimension .profile-w-75 { width: 75%; }.profile-dimension .profile-w-80 { width: 80%; }.profile-dimension .profile-w-85 { width: 85%; }.profile-dimension .profile-w-90 { width: 90%; }.profile-dimension .profile-w-95 { width: 95%; }.profile-dimension .profile-w-100 { width: 100%; }
.profile-dimension em { color: #315f63; font-family: var(--mono); font-size: 10px; font-style: normal; text-align: right; }
.profile-insights { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border-top: 1px solid #d6dfdc; background: #d6dfdc; }
.profile-insights section { padding: 20px 28px; background: #f2f5f3; }
.profile-insights small { color: #927649; font-size: 9px; letter-spacing: .1em; }
.profile-insights ul { display: grid; gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; }
.profile-insights li { display: flex; gap: 8px; color: #49686c; font-size: 10px; }
.profile-insights li::before { content: "✓"; color: var(--jade); }
.profile-insights p { margin: 12px 0 0; color: #667d81; font-size: 10px; line-height: 1.75; }
.profile-report-foot { display: flex; justify-content: space-between; gap: 16px; padding: 10px 28px; border-top: 1px solid #dde5e2; color: #8b989a; font-family: var(--mono); font-size: 8px; }
.disclosure-progress { position: sticky; z-index: 6; top: 12px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; margin-bottom: 16px; padding: 12px 14px; border: 1px solid #cdd9d6; background: rgba(249,251,248,.95); box-shadow: 0 8px 24px rgba(47,78,80,.10); backdrop-filter: blur(10px); }
.disclosure-progress strong, .disclosure-progress span { display: block; }
.disclosure-progress strong { color: #315f63; font-family: var(--mono); font-size: 13px; }
.disclosure-progress span { color: #7a8d90; font-size: 8px; }
.disclosure-progress > i { height: 4px; background: #dde6e3; overflow: hidden; }
.disclosure-progress b { width: 0; height: 100%; display: block; background: linear-gradient(90deg, #5c9389, #b5945c); transition: width .2s; }
.disclosure-groups { display: grid; gap: 20px; }
.disclosure-group { border: 1px solid #d3ddda; }
.disclosure-group .disclosure-list { border-top: 0; padding: 0 16px; }
.disclosure-clause > span:last-child strong, .disclosure-clause > span:last-child small { display: block; }
.disclosure-clause > span:last-child strong { color: #355761; font-size: 12px; }
.disclosure-clause > span:last-child small { margin-top: 4px; color: #6f8387; font-size: 10px; line-height: 1.7; }
.dual-recording-strip { display: grid; grid-template-columns: 100px 100px 110px 1fr; gap: 1px; margin-bottom: 18px; border: 1px solid #d0dbd8; background: #d0dbd8; }
.dual-recording-strip > div, .dual-recording-strip > p { margin: 0; padding: 12px; background: #eef3f0; }
.dual-recording-strip strong, .dual-recording-strip span { display: block; }
.dual-recording-strip strong { color: #8d7040; font-size: 18px; }
.dual-recording-strip span { margin-top: 2px; color: #657d81; font-size: 8px; }
.dual-recording-strip p { color: #6d8185; font-size: 9px; line-height: 1.6; }
.witness-script { margin-top: 20px; padding-top: 15px; border-top: 1px solid #cfdbd8; }
.witness-script p { margin-top: 7px; font-size: 12px; line-height: 1.7; }
.dual-video-feed > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dual-video-feed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,27,31,.72), transparent 45%); }
.dual-face-box { position: absolute; z-index: 4; top: 17%; width: 22%; height: 40%; }
.investor-face-box { left: 15%; }
.witness-face-box { right: 15%; }
.dual-face-box i { position: absolute; width: 15px; height: 15px; border-color: #9aefdc; border-style: solid; }
.dual-face-box i:nth-child(1) { left: 0; top: 0; border-width: 1px 0 0 1px; }.dual-face-box i:nth-child(2) { right: 0; top: 0; border-width: 1px 1px 0 0; }.dual-face-box i:nth-child(3) { right: 0; bottom: 0; border-width: 0 1px 1px 0; }.dual-face-box i:nth-child(4) { left: 0; bottom: 0; border-width: 0 0 1px 1px; }
.dual-face-box small { position: absolute; left: 0; bottom: -17px; color: #d5fff5; font-size: 7px; white-space: nowrap; text-shadow: 0 1px 3px #000; }
.dual-person-label { position: absolute; z-index: 5; bottom: 39px; display: grid; padding: 5px 7px; background: rgba(21,50,53,.78); color: white; backdrop-filter: blur(5px); }
.investor-label { left: 12px; }.witness-label { right: 12px; text-align: right; }
.dual-person-label strong { font-size: 8px; }.dual-person-label span { color: #bde9df; font-size: 6px; }
.dual-audio { position: absolute; z-index: 5; left: 50%; bottom: 36px; transform: translateX(-50%); display: flex; gap: 10px; }
.dual-audio > div { display: flex; align-items: end; gap: 2px; height: 20px; }
.dual-audio small { margin-right: 3px; color: #d4b675; font-size: 7px; }
.dual-audio i { width: 2px; height: 5px; background: #a8eddf; animation: voice-wave .5s ease-in-out infinite alternate; }
.dual-audio > div:nth-child(2) i { animation-delay: .18s; }

@keyframes face-auth-scan { from { top: 17%; } to { top: 75%; } }

@media (max-width: 1080px) {
  .demo-stage { grid-template-columns: 1fr; padding: 20px; }
  .demo-preview { position: relative; top: auto; order: -1; }
  .demo-preview iframe { height: 720px; }
  .demo-story h1 br { display: none; }
  .scenario-list { grid-template-columns: repeat(3, 1fr); }
  .demo-brand > .demo-brand-separator, .demo-brand > .demo-platform-copy { display: none; }
}

@media (max-width: 700px) {
  .demo-hub-header { height: auto; min-height: 72px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px; }
  .demo-brand { width: 100%; min-width: 0; padding: 12px 14px; box-sizing: border-box; justify-content: center; overflow: hidden; }
  .demo-brand .co-brand-lockup { width: 100%; display: grid; grid-template-columns: minmax(0, 142px) 1px minmax(72px, auto); justify-content: center; gap: 10px; }
  .demo-brand .co-brand-lockup img { width: 100%; max-width: 142px; }
  .demo-brand .co-brand-divider { height: 28px; }
  .demo-brand .jingshuo-mark { font-size: clamp(11px, 3.4vw, 14px); letter-spacing: .04em; }
  .demo-brand > .demo-brand-separator, .demo-brand > .demo-platform-copy, .demo-header-meta { display: none; }
  .demo-header-tools { width: 100%; flex: 1; gap: 7px; }
  .demo-pace-picker { margin-left: auto; }
  .demo-stage { padding: 10px; }
  .preview-toolbar { grid-template-columns: 44px 1fr; }
  .preview-actions { grid-column: 1 / -1; justify-content: center; }
  .preview-statusbar code { display: none; }
  .autopilot-bar { grid-template-columns: 1fr auto; gap: 8px; }
  .autopilot-track { grid-column: 1 / -1; grid-row: 2; }
  .autopilot-controls { grid-column: 2; grid-row: 1; }
  .service-simulation { top: 178px; padding: 12px; }
  .service-simulation-card { padding: 22px; }
  .demo-preview iframe { min-height: 680px; height: 76vh; }
  .preview-foot > div { display: none; }
  .preview-foot { justify-content: flex-end; }
  .demo-story { padding: 20px 6px; }
  .demo-story h1 { font-size: 36px; }
  .demo-capability-strip { grid-template-columns: 1fr 1fr; }
  .scenario-list { grid-template-columns: 1fr 1fr; }
  .demo-hub-footer { display: grid; padding: 18px 16px 28px; }
  .demo-hub-footer > div { display: grid; gap: 5px; }
  .profile-report-head { grid-template-columns: minmax(0, 1fr) 82px; gap: 15px; padding: 22px 18px; }
  .profile-report-head h3 { font-size: clamp(18px, 5vw, 21px); letter-spacing: .02em; }
  .profile-score-seal { width: 78px; height: 78px; }
  .profile-score-seal strong { font-size: 25px; }
  .profile-report-meta { grid-template-columns: 1fr; }
  .profile-report-meta span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .profile-report-meta strong { margin-left: 0; text-align: right; overflow-wrap: anywhere; }
  .profile-dimensions { padding: 20px 18px 16px; }
  .profile-dimension { grid-template-columns: 20px 105px minmax(70px, 1fr) 25px; gap: 8px; }
  .profile-insights { grid-template-columns: 1fr; }
  .profile-insights section { padding: 18px; }
  .profile-report-foot { display: grid; padding: 10px 18px; }
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media (max-width: 960px) {
  .investor-shell { grid-template-columns: 240px minmax(0, 1fr); }
  .journey-panel { padding: 32px 24px; }
  .firm-brand .co-brand-lockup { gap: 8px; }
  .firm-brand .co-brand-lockup img { width: 105px; }
  .firm-brand .co-brand-divider { height: 27px; }
  .firm-brand .jingshuo-mark { font-size: 13px; letter-spacing: .04em; }
  .firm-brand .platform-wordmark { display: none; }
  .journey-main { padding: 44px 28px; }
  .scale-options { grid-template-columns: 1fr; }
  .scale-options span { min-height: 42px; justify-items: start; text-align: left; }
  .record-layout { grid-template-columns: 1fr; }
  .identity-auth-grid { grid-template-columns: 1fr; }
  .face-verification-panel { max-width: 520px; }
  .risk-overview { grid-template-columns: repeat(3, 1fr); }
  .risk-overview > p { grid-column: 1 / -1; }
  .metric-ledger { grid-template-columns: repeat(2, 1fr); }
  .product-admin-grid, .integration-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .demo-banner { position: relative; height: auto; min-height: 42px; text-align: center; line-height: 1.35; }
  .investor-shell { display: block; padding-top: 0; }
  .journey-panel { position: relative; top: 0; height: auto; padding: 24px 20px 18px; }
  .journey-panel::after, .invitation-caption, .boundary-note, .firm-office-card { display: none; }
  .firm-brand { display: block; min-width: 0; }
  .firm-brand .co-brand-lockup { width: 100%; display: grid; grid-template-columns: minmax(0, 145px) 1px minmax(72px, auto); justify-content: start; gap: 10px; overflow: hidden; }
  .firm-brand .co-brand-lockup img { width: 100%; max-width: 145px; }
  .firm-brand .jingshuo-mark { font-size: clamp(11px, 3.5vw, 14px); letter-spacing: .04em; }
  .firm-brand .platform-wordmark { display: none; }
  .reference { position: static; margin: 10px 0 0; color: rgba(255,255,255,.55); font-size: 9px; text-align: right; }
  .step-track { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0; margin-top: 14px; }
  .step-track::before { top: 14px; left: 8%; right: 8%; bottom: auto; width: auto; }
  .step-item { min-height: 40px; display: grid; justify-items: center; gap: 7px; }
  .step-node { width: 29px; height: 29px; flex-basis: 29px; }
  .step-item strong { font-size: 9px; }
  .step-item small { display: none; }
  .journey-main { padding: 28px 14px 30px; }
  .journey-header { align-items: start; }
  .journey-header h1 { font-size: 22px; }
  .trust-chip { display: none; }
  .docket-card { min-height: 500px; padding: 30px 20px; box-shadow: 0 16px 40px rgba(12,31,47,.09); }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .product-ribbon, .contract-summary { grid-template-columns: 1fr; }
  .product-ribbon dl { margin-top: 10px; }
  .completion-warning { grid-template-columns: 1fr; gap: 8px; }
  .timeline > div { grid-template-columns: 70px 1fr; }
  .timeline code { display: none; }
  .record-actions { flex-wrap: wrap; }
  .identity-pass-card { grid-template-columns: 100px 1fr; gap: 16px; }
  .identity-pass-card dl { grid-template-columns: 1fr; }
  .dual-recording-strip { grid-template-columns: repeat(3, 1fr); }
  .dual-recording-strip > p { grid-column: 1 / -1; }
  .firm-footer { display: grid; gap: 9px; }
  .firm-footer > div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .firm-footer div:last-child { align-items: flex-end; }

  .admin-sidebar { position: sticky; z-index: 10; top: 0; width: 100%; height: auto; padding: 12px 14px; flex-direction: row; align-items: center; overflow-x: auto; }
  .admin-brand { display: none; }
  .admin-nav { margin: 0; display: flex; gap: 4px; }
  .admin-nav button { height: 38px; padding: 0 11px; white-space: nowrap; font-size: 11px; }
  .admin-nav button span { display: none; }
  .admin-sidebar-foot, .admin-office { display: none; }
  .admin-main { margin-left: 0; padding: 24px 14px 50px; }
  .admin-topbar { align-items: start; }
  .admin-topbar h1 { font-size: 24px; }
  .role-chip { display: none; }
  .metric-ledger { grid-template-columns: 1fr 1fr; }
  .metric { min-height: 120px; padding: 17px; }
  .desk-grid { grid-template-columns: 1fr; }
  .boundary-card { display: block; }
  .boundary-card code { display: block; margin-top: 14px; }
  .table-card > header { align-items: start; flex-direction: column; }
  .table-tools { width: 100%; }
  .table-tools input { width: 100%; }
  #case-detail { padding: 22px 16px; }
  .case-facts { grid-template-columns: 1fr; }
  .review-block dl div { grid-template-columns: 100px 1fr; }
  .mock-paper { padding: 30px 24px; }
  .signature-place { right: 24px; bottom: 30px; }
}

@media (max-width: 420px) {
  .profile-report-head { grid-template-columns: 1fr; }
  .profile-score-seal { width: 76px; height: 76px; justify-self: end; }
  .profile-score-seal strong { font-size: 24px; }
}

@media (max-width: 720px) {
  /* Mobile presentation controls: readable and reliably tappable. */
  .demo-pace-picker span { font-size: 10px; }
  .demo-pace-picker select { min-height: 36px; font-size: 11px; }
  .preview-actions button, .preview-actions a { min-width: 36px; min-height: 36px; padding: 0 10px; font-size: 10px; }
  .demo-reset-button { min-height: 40px; font-size: 10px; }
  .demo-capability-strip span { font-size: 10px; }
  .demo-capability-strip strong { font-size: 11px; line-height: 1.45; }
  .demo-script-heading small, .scenario-list button > span { font-size: 9px; }
  .scenario-list strong { font-size: 11px; }
  .scenario-list small { font-size: 9px; }
  .presenter-note span { font-size: 10px; }
  .presenter-note p { font-size: 11px; }
  .preview-location small { font-size: 9px; }
  .preview-statusbar strong { font-size: 10px; }
  .demo-hub-footer { font-size: 10px; line-height: 1.65; }
  .demo-hub-footer a { min-height: 36px; display: inline-flex; align-items: center; }

  /* The eight-stage investor journey becomes a legible 4 × 2 route on phones. */
  .step-track { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 12px; }
  .step-track::before { display: none; }
  .step-item { min-height: 58px; grid-template-rows: 32px auto; align-content: start; gap: 6px; }
  .step-item:not(:nth-child(4n))::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 15px;
    left: calc(50% + 16px);
    width: calc(100% - 32px);
    height: 1px;
    background: rgba(255,255,255,.2);
  }
  .step-node { width: 32px; height: 32px; flex-basis: 32px; }
  .step-item strong { max-width: 64px; font-size: 10px; line-height: 1.3; text-align: center; }
  .auth-flow-index { font-size: 10px; }
  .risk-overview span, .risk-overview p { font-size: 10px; }
  .risk-section header p, .disclosure-group header p, .risk-section header em, .disclosure-group header em { font-size: 10px; }
  .face-demo-label, .face-demo-label small, .face-result-list small, .face-boundary { font-size: 10px; }
  .profile-report-meta span { font-size: 10px; }
  .profile-report-foot { font-size: 9px; }
  .profile-score-seal small, .profile-score-seal span, .profile-dimensions header small, .profile-dimensions > header > span { font-size: 9px; }
  .disclosure-progress span { font-size: 10px; }
  .dual-recording-strip span, .dual-recording-strip p { font-size: 10px; }

  .text-button { min-height: 36px; padding: 7px 2px; }
  .firm-footer a { min-height: 36px; display: inline-flex; align-items: center; }
  .icon-button { width: 40px; height: 40px; }
  .record-actions > button, .record-actions > label { flex: 1 1 100%; min-height: 42px; justify-content: center; }
}

@media (max-width: 420px) {
  .auth-actions { grid-template-columns: 1fr; }
  .identity-pass-card { grid-template-columns: 1fr; }
  .identity-pass-portrait { width: min(124px, 56vw); justify-self: center; }
  .signing-ticket { align-items: flex-start; gap: 14px; padding: 18px; }
  .profile-dimension { grid-template-columns: 18px 84px minmax(36px, 1fr) 24px; gap: 6px; }
  .profile-dimensions > header { display: grid; grid-template-columns: 1fr; align-items: start; gap: 7px; }
  .admin-topbar { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .topbar-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .topbar-actions .secondary-button { min-width: 0; min-height: 40px; padding: 0 8px; font-size: 11px; white-space: nowrap; }
  .version-row { grid-template-columns: 1fr; gap: 5px; }
  .version-row strong { overflow-wrap: anywhere; }
}
