@charset "UTF-8";
/* ============================================================================
   The desk behind the paper (v29 craft pass): the app is the desk that
   produces the registry paper — dense, tabular, quiet; provenance in mono;
   indigo spent only on actions. SoftReply's density standard on the locked
   v17 brand. See docs/dparegister/v29-app-ui-craft-pass.md.
   ========================================================================= */
/* v31 #7: native controls join the one action color. */
.theme-dparegister input[type=checkbox],
.theme-dparegister input[type=radio] {
  accent-color: var(--brand);
}

/* page container inside the app shell */
.dpa-page {
  padding: 20px 26px 32px;
  max-width: 1200px;
  font-size: 13.5px;
}

/* App type scale — Sora carries page titles; sections stay quiet. */
.dpa-page .skiwo-page-header__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.01em;
}

.dpa-page .skiwo-page-header__subtitle {
  font-size: 13.5px;
}

.dpa-page h2 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
}

.dpa-page .skiwo-card h2:first-child {
  margin-top: 0;
}

/* Bootstrap-era utility, kept as vocabulary: muted metadata text. */
.dpa-page .text-muted {
  color: var(--text-mid);
}

/* Link discipline: indigo is spent on actions. App links read as quiet
   actions (indigo, underline on hover); identity links in rows stay ink. */
.dpa-page a:not(.skiwo-btn) {
  color: var(--brand);
  text-decoration: none;
}

.dpa-page a:not(.skiwo-btn):hover {
  text-decoration: underline;
}

.dpa-page .dpa-ledger a {
  color: inherit;
}

.dpa-page .dpa-ledger a:hover {
  color: var(--brand);
}

/* Form controls — one voice for every bare input in the app (the add-a-tool
   flow, service adds, scan form, deed upload). Kit-token styling. */
.dpa-page input[type=text],
.dpa-page input[type=url],
.dpa-page input[type=email],
.dpa-page input[type=date],
.dpa-page input[type=number],
.dpa-page select,
.dpa-page textarea {
  font: inherit;
  font-size: 13.5px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-3);
  border-radius: 8px;
  padding: 7px 10px;
}

.dpa-page input[type=text]:focus-visible,
.dpa-page input[type=url]:focus-visible,
.dpa-page input[type=email]:focus-visible,
.dpa-page input[type=date]:focus-visible,
.dpa-page input[type=number]:focus-visible,
.dpa-page select:focus-visible,
.dpa-page textarea:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-ring);
}

/* Chrome density is the KIT's now: UI::Sidebar(compact:) — what remains is
   DPA's own trim plus the v59 mock's rail type ramp (adopted 2026-08-08):
   10px/700/.06em caps section headers, 13px items, 26px sub indent,
   9.5px mono R/W chips, amber active with no edge bar. */
.theme-dparegister .skiwo-sidebar {
  --dz-rail-pad:14px 10px;
  gap: 2px;
  scrollbar-width: none;
}
.theme-dparegister .skiwo-sidebar::-webkit-scrollbar {
  display: none;
}
.theme-dparegister .skiwo-sidebar .skiwo-sidebar__nav {
  gap: 1px;
}
.theme-dparegister .skiwo-sidebar .skiwo-nav-item__icon {
  font-size: 13px;
  inline-size: 16px;
}
.theme-dparegister .skiwo-sidebar .skiwo-nav-section__summary {
  min-block-size: 26px;
  font-size: 10px;
  letter-spacing: 0.06em;
  padding-inline: 9px;
  gap: 6px;
}
.theme-dparegister .skiwo-sidebar .skiwo-nav-section__summary .skiwo-nav-section__chev {
  inline-size: 10px;
  block-size: 10px;
}
.theme-dparegister .skiwo-sidebar .skiwo-nav-section {
  margin-block-start: 6px;
}
.theme-dparegister .skiwo-sidebar .skiwo-sidebar__nav .skiwo-nav-item {
  font-size: 13px;
  font-weight: 400;
}
.theme-dparegister .skiwo-sidebar .skiwo-sidebar__nav > .skiwo-nav-item {
  min-block-size: 30px;
  padding-inline-start: 18px;
}
.theme-dparegister .skiwo-sidebar .skiwo-nav-item--sub {
  padding-inline-start: 26px;
  min-block-size: 30px;
  font-size: 13px;
}
.theme-dparegister .skiwo-sidebar .skiwo-sidebar__nav .skiwo-nav-item.is-active {
  font-weight: 600;
}
.theme-dparegister .skiwo-sidebar .skiwo-nav-item.is-active::before {
  display: none;
}
.theme-dparegister .skiwo-sidebar .skiwo-nav-item__badge .skiwo-badge {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  line-height: 1.4;
  padding: 1px 4px;
  border-radius: 3px;
  border: 0;
  min-inline-size: 0;
  block-size: auto;
  background: var(--border-2);
  color: var(--icon-faint);
}
.theme-dparegister .skiwo-sidebar .skiwo-nav-item.dpa-rail-w .skiwo-nav-item__badge .skiwo-badge {
  background: var(--brand-tint);
  color: var(--brand-hover);
}

/* The ledger — every list in the app is the same object (v30 F1 spec):
   32px header row 11/650 uppercase .06em; 44px body rows; hairlines; 28px
   identity tiles; mono provenance; end-aligned chips. */
.dpa-ledger {
  font-size: 13px;
}
.dpa-ledger .skiwo-table__th {
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.06em;
  color: var(--icon-faint);
  padding-block: 8px;
  padding-inline: 12px;
}
.dpa-ledger .skiwo-table__cell {
  padding-block: 12px;
  padding-inline: 12px;
  vertical-align: middle;
  border-color: var(--border-1);
}
.dpa-ledger .skiwo-table__cell--mono {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mid);
  font-variant-numeric: tabular-nums;
}
.dpa-ledger a {
  text-decoration: none;
  color: inherit;
}
.dpa-ledger a:hover {
  color: var(--brand-ink);
  text-decoration: underline;
}

/* v87 rule 7: the verdict pill IS the tone — solid filled, mono, uppercase,
   and red red is white-on-red, the loudest thing on any screen. The kit's
   --badge-ink/--badge-tint (set inline per verdict by Dpa::Base) do the work;
   the old flat grey ground and its StatusDot are gone. */
.dpa-page .skiwo-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  border: 0;
  white-space: nowrap;
  background: var(--badge-tint, var(--border-2));
  color: var(--badge-ink, var(--text-mid));
}

/* The topbar account trigger is the accent monogram tile (v87 mock:69). */
.theme-dparegister .skiwo-topbar .skiwo-avatar {
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 700;
}

/* Vertical rhythm. The UI:: kit's fields/cards deliberately own no outer
   margin — the page provides the stack. Scoped under .dpa-page (module scope)
   so nothing leaks into other products. */
.dpa-page .skiwo-banner {
  margin-block-end: 18px;
}

.dpa-page .skiwo-page-header {
  margin-block-end: 8px;
}

.dpa-page .skiwo-card {
  margin-block-start: 16px;
}

.dpa-page .skiwo-field {
  margin-block-end: 16px;
}

.dpa-page .skiwo-field:last-child {
  margin-block-end: 0;
}

.dpa-page .skiwo-checkbox {
  margin-block-end: 10px;
}

.dpa-page .skiwo-table {
  margin-block-start: 8px;
}

/* One chrome (2026-07-21 shared app chrome): the ink rail owns the brand mark;
   tenant chip + account menu live in the shared UI::Topbar, top right. */
.dpa-menu-id {
  display: flex;
  flex-direction: column;
  padding: 4px 12px;
}

.dpa-menu-id__name {
  font-weight: 600;
  font-size: 13px;
}

.dpa-menu-id__email {
  font-size: 12px;
  color: var(--text-mid);
}

/* ── v60 tracer bullet (Chapter 1) ─────────────────────────────────────── */
.dpa-summary-row {
  display: flex;
  gap: 16px;
  margin: 10px 0 16px;
  flex-wrap: wrap;
}

.dpa-dotcount {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--dot-ink, var(--text-mid));
}
.dpa-dotcount--quiet {
  color: var(--icon-faint);
}

.dpa-intake-form {
  display: grid;
  gap: 10px;
}
.dpa-intake-form .skiwo-btn {
  justify-self: start;
}

.dpa-conflict-reason {
  display: block;
  margin-top: 4px;
  color: var(--text-mid);
  font-size: 12px;
}

.dpa-tasks-card {
  margin-top: 24px;
}

.dpa-task-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.dpa-task-row__what {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dpa-approval-form {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.dpa-approval-form .skiwo-field {
  margin: 0;
  min-width: 180px;
}

.dpa-dependency-actions {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
}

/* The dated stamp under a title: data, in the mono voice (v87 mock:322). */
.dpa-stamp {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--icon-faint);
  margin: -4px 0 14px;
}

.dpa-screen-crumb {
  font-size: 12.5px;
  color: var(--text-mid);
  margin-bottom: 4px;
}

/* ── v62 Ch2: chips + folded ledger ────────────────────────────────────── */
.dpa-page .dpa-chips {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  flex-wrap: wrap;
}

/* v87 mock:96-103 — filled pills, no outline, no dot. Active is solid accent
   with white text; the rest are their verdict's tint with its own ink, and the
   count rides inside at reduced opacity. */
.dpa-page a.dpa-chip {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 15px;
  border: 0;
  border-radius: var(--r-chip);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  background: var(--chip-tint, var(--surface-2));
  color: var(--chip-ink, var(--text-mid));
}
.dpa-page a.dpa-chip:hover {
  text-decoration: none;
}
.dpa-page a.dpa-chip--active {
  background: var(--brand);
  color: var(--on-brand);
}
.dpa-page a.dpa-chip--needs_attention {
  --chip-tint: var(--v-amber-pill);
  --chip-ink: var(--v-amber-text);
}
.dpa-page a.dpa-chip--red_red {
  --chip-tint: var(--v-red-pill);
  --chip-ink: var(--v-red-text);
}
.dpa-page a.dpa-chip--overridden {
  --chip-tint: var(--border-2);
  --chip-ink: var(--text-mid);
}
.dpa-page a.dpa-chip--custom_paper {
  --chip-tint: var(--v-custom-tint);
  --chip-ink: var(--v-custom);
}
.dpa-page a.dpa-chip__count {
  opacity: 0.6;
}

.dpa-ledger-group__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.dpa-ledger-group__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--icon-faint);
}

.dpa-cell-main {
  font-weight: 500;
  font-size: 13px;
}

.dpa-cell-sub {
  font-size: 11.5px;
  color: var(--text-mid);
  margin-top: 2px;
}

.dpa-ctype {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 500;
  padding: 1px 5px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  color: var(--text-mid);
}
.dpa-ctype--custom {
  background: var(--v-custom-tint);
  color: var(--v-custom);
}
.dpa-ctype--template {
  background: var(--brand-tint);
  color: var(--brand-hover);
}

/* ── v62 Ch3: persona screens ──────────────────────────────────────────── */
.dpa-persona-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 404px;
  gap: 24px;
  align-items: start;
}

.dpa-panel-main {
  min-width: 0;
  overflow-x: auto;
}

.dpa-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dpa-panel-card {
  padding: 16px 18px;
}
.dpa-panel-card__kicker {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--icon-faint);
}
.dpa-panel-card__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin: 2px 0 6px;
}
.dpa-panel-card__note {
  font-size: 12px;
  color: var(--text-mid);
  margin: 0 0 8px;
}

/* v93: why a group of panels has no controls. A persona screen says this once
   on its crumb; a detail page mixes several personas, so each group says its
   own, above the cards it explains. Tokens only (standing truth 15). */
.dpa-panel-note-readonly {
  font-size: 12px;
  color: var(--text-mid);
  margin: 0 0 -4px;
  font-family: var(--font-mono);
}

/* v87 rule 8: a read-only value is typography, never a box that reads as a
   disabled input. End-aligned against its label, mono for codes, Sora for the
   numbers an auditor reads off. */
.dpa-field-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 6px 0;
  border-top: 1px solid var(--border-1);
}
.dpa-field-row:first-child {
  border-top: 0;
}
.dpa-field-row__label {
  font-size: 12.5px;
  color: var(--text-mid);
}
.dpa-field-row__value {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text);
  text-align: right;
}
.dpa-field-row__value--num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}

.dpa-mono-block {
  font-family: var(--font-mono);
  font-size: 11.5px;
  border: 1px dashed var(--border-3);
  border-radius: var(--r-control);
  padding: 10px 12px;
  white-space: pre-wrap;
  color: var(--text-mid);
  background: var(--surface-3);
}

.dpa-edited {
  background: var(--v-custom-tint) !important;
}

@media (max-width: 1100px) {
  .dpa-persona-grid {
    grid-template-columns: 1fr;
  }
}
.dpa-row-action {
  display: inline-block;
  margin-top: 7px;
  padding: 4px 10px;
  border: 1px solid var(--border-3);
  border-radius: var(--r-control);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--brand);
  background: var(--surface);
}
.dpa-row-action:hover {
  text-decoration: none;
  color: var(--brand-hover);
}

/* Agenda: the why-this-order line under each meeting's note. */
.dpa-agenda-why {
  font-style: italic;
  color: var(--text-mid);
}

/* ── The high five (2026-08-08): the all-clear banner ──────────────────── */
.dpa-all-clear {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 16px;
  padding: 16px 18px;
  border: 1px solid var(--ok);
  border-radius: var(--r-card);
  background: var(--ok-tint);
}
.dpa-all-clear__mark {
  flex: none;
  display: grid;
  place-items: center;
  inline-size: 30px;
  block-size: 30px;
  border-radius: var(--r-chip);
  background: var(--ok);
  color: var(--on-brand);
  font-size: 15px;
  font-weight: 700;
}
.dpa-all-clear__title {
  font-size: 15px;
  font-weight: 650;
  color: var(--ok);
}
.dpa-all-clear__body {
  font-size: 12.5px;
  color: var(--text-mid);
  margin-top: 2px;
}

/* ── v62 Ch5: entity links + detail pages ──────────────────────────────── */
.dpa-search-form {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 18px;
}
.dpa-search-form > * {
  margin-bottom: 0;
}

.dpa-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 12.5px;
}
.dpa-check-row input {
  margin: 0;
}

.dpa-ledger-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted var(--border);
}
.dpa-ledger-link:hover {
  text-decoration: none;
  color: var(--text);
  border-bottom-style: solid;
}

/* ── v62 Ch4: the chain sheet (1k) ─────────────────────────────────────── */
.dpa-group {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-card);
  margin-bottom: 12px;
  overflow: hidden;
  /* --icon-faint, not the mock's --text-ghost: a caret is a state indicator and
     3:1 is the floor (WCAG 1.4.11); the faintest grey is 2.2:1. */
  /* A custom paper is the group's headline fact, said once (mock:180-190). */
}
.dpa-group__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface-2);
  cursor: pointer;
  list-style: none;
}
.dpa-group__head::-webkit-details-marker {
  display: none;
}
.dpa-group__spacer {
  flex: 1;
}
.dpa-group__caret {
  flex: none;
  color: var(--icon-faint);
  font-size: 11px;
}
.dpa-group__caret::before {
  content: "▾";
}
.dpa-group[open] .dpa-group__caret::before {
  content: "▴";
}
.dpa-group--custom > .dpa-group__head {
  background: var(--v-custom-tint);
  box-shadow: inset 0 0 0 1px var(--v-custom-border);
}
.dpa-group .dpa-ledger {
  margin: 0;
}

/* A red row is tinted and its offending country carries the verdict's ink. */
.dpa-row--red > .skiwo-table__cell {
  background: var(--v-red-tint);
}

.dpa-row--red .dpa-loc {
  color: var(--v-red);
  font-weight: 700;
}

.dpa-row--amber .dpa-loc {
  color: var(--v-amber-text);
  font-weight: 700;
}

/* ── v88 Ch4: Today (mock:312-433) ─────────────────────────────────────── */
.dpa-page .skiwo-page-header__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--icon-faint);
}

/* Four derived counts. No borders around a number (rule 8); the worst news is
   the loudest tile, and the money is quiet because it is a consequence. */
.dpa-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 16px 0 10px;
}

.dpa-tile {
  border-radius: var(--r-card);
  padding: 16px 18px;
  display: block;
  text-decoration: none;
}
.dpa-tile__number {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}
.dpa-tile__label {
  font-size: 12.5px;
  margin-top: 2px;
}
.dpa-tile--ink {
  background: var(--ink-band);
}
.dpa-tile--ink .dpa-tile__number {
  color: var(--on-ink);
}
.dpa-tile--ink .dpa-tile__label {
  color: var(--on-ink-mute);
}
.dpa-tile--red {
  background: var(--v-red);
}
.dpa-tile--red .dpa-tile__number {
  color: var(--on-ink);
}
.dpa-tile--red .dpa-tile__label {
  color: var(--on-red-mute);
}
.dpa-tile--amber {
  background: var(--v-amber-pill);
}
.dpa-tile--amber .dpa-tile__number, .dpa-tile--amber .dpa-tile__label {
  color: var(--v-amber-deep);
}
.dpa-tile--quiet {
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.dpa-tile--quiet .dpa-tile__number {
  color: var(--text);
}
.dpa-tile--quiet .dpa-tile__label {
  color: var(--text-mid);
}

.dpa-today-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.dpa-today-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.dpa-today-col__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dpa-today-col__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}

/* A room: the mock's card is the summary; the work it holds is one click in,
   so merging the agenda into Today drops nothing. */
.dpa-room {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
}
.dpa-room__head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}
.dpa-room__head::-webkit-details-marker {
  display: none;
}
.dpa-room__n {
  flex: none;
  inline-size: 26px;
  block-size: 26px;
  border-radius: var(--r-control);
  background: var(--brand);
  color: var(--on-brand);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.dpa-room__body {
  flex: 1;
  min-width: 0;
}
.dpa-room__title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.dpa-room__count {
  color: var(--icon-faint);
  font-weight: 400;
}
.dpa-room__count--warn {
  color: var(--v-amber-text);
  font-weight: 600;
}
.dpa-room__count--danger {
  color: var(--v-red);
  font-weight: 600;
}
.dpa-room__personas {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.dpa-room__lines {
  padding: 0 16px 12px;
  border-top: 1px solid var(--border-1);
}

/* Rule 13: a persona badge is a blue-tinted mono chip, never a verdict colour. */
.dpa-persona-chip {
  background: var(--brand-tint);
  color: var(--brand-hover);
  border-radius: var(--r-pill);
  padding: 1px 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dpa-card {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: 16px 18px;
}
.dpa-card--row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
}

.dpa-rule {
  block-size: 1px;
  background: var(--border-2);
  margin: 14px 0;
}

.dpa-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--icon-faint);
  margin-bottom: 8px;
}

/* The register's shape in one bar: real proportions, verdict colour only. */
.dpa-split {
  display: flex;
  block-size: 14px;
  border-radius: 7px;
  overflow: hidden;
  gap: 2px;
}
.dpa-split__seg {
  block-size: 100%;
}

.dpa-week__title {
  font-size: 13.5px;
  font-weight: 700;
}

.dpa-week__meta {
  font-size: 12px;
  color: var(--icon-faint);
  margin-top: 2px;
}

@media (max-width: 1100px) {
  .dpa-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
  .dpa-today-cols {
    grid-template-columns: 1fr;
  }
}
/* ── v88 Ch3: one card, three tabs (mock:291-305) ──────────────────────── */
.dpa-tabs__bar {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--border-2);
  margin-bottom: 12px;
}
.dpa-tabs__tab {
  background: none;
  border: 0;
  padding: 4px 0 8px;
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-mid);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.dpa-tabs__tab:hover {
  color: var(--brand-hover);
}
.dpa-tabs__tab.is-active {
  color: var(--brand-hover);
  border-bottom-color: var(--brand);
}

/* ── v88 Ch5: one form, four steps (mock:452-535) ──────────────────────── */
.dpa-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dpa-steps__footer {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.dpa-step {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface);
  padding: 14px 18px 16px;
  margin: 0;
  /* The active step is the first unfinished one: a blue edge and a solid
     number. It gates nothing — every field is rendered and submits. */
}
.dpa-step__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  float: none;
  width: auto;
}
.dpa-step__n {
  flex: none;
  inline-size: 24px;
  block-size: 24px;
  border-radius: var(--r-chip);
  background: var(--brand-tint);
  color: var(--brand-hover);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.dpa-step__label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}
.dpa-step__body {
  margin-top: 12px;
}
.dpa-step--compact .dpa-step__body {
  margin-top: 8px;
}
.dpa-step.is-active {
  border: 2px solid var(--brand);
  background: var(--surface-3);
  padding: 13px 17px 15px;
}
.dpa-step.is-active .dpa-step__n {
  background: var(--brand);
  color: var(--on-brand);
}

/* The kit's manual-entry link is the last line of the company selector and
   carries no space of its own; inside a step the next field sat on top of it. */
.dpa-step .skiwo-company-selector__toggle {
  margin-bottom: 14px;
}

.dpa-panel-card--raised {
  background: var(--surface-3);
}

.dpa-panel-card--dashed {
  border-style: dashed;
}

/* The checklist mirrors the steps and never leads them. */
.dpa-check {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 0;
  font-size: 13px;
  color: var(--text-mid);
}
.dpa-check__mark {
  flex: none;
  inline-size: 17px;
  block-size: 17px;
  border-radius: var(--r-chip);
  border: 1px solid var(--border-4);
}
.dpa-check.is-done {
  color: var(--text);
}
.dpa-check.is-done .dpa-check__mark {
  background: var(--v-green);
  border-color: var(--v-green);
  position: relative;
}
.dpa-check.is-done .dpa-check__mark::after {
  content: "✓";
  color: var(--on-ink);
  font-size: 11px;
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

/* ── The customer portal (v96 Ch3, refaced v108 §8: facts, no verdict colour)
   One markup serves desktop, 390px and print; only this stylesheet reshapes
   it. Tokens only (standing truth 15) - every colour here is the theme's. */
.dpa-portal {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 48px;
  background: var(--bg-app);
  font-family: var(--font-ui);
  color: var(--text);
}
.dpa-portal--gone {
  display: flex;
  justify-content: center;
  padding: 64px 16px;
}

.dpa-portal-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
}

/* the identity band (M:497-517) */
.dpa-portal__band {
  background: var(--ink-band);
  padding: 30px 40px 28px;
}

.dpa-portal__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-ink-mute);
  margin-bottom: 10px;
}

.dpa-portal__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--on-ink);
  line-height: 1.15;
  margin: 0;
}

.dpa-portal__intro {
  font-size: 14.5px;
  color: var(--on-ink-mute);
  margin: 10px 0 0;
  max-width: 640px;
}

.dpa-portal__stats {
  display: flex;
  gap: 34px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--ink-band-2);
  align-items: flex-end;
}

.dpa-portal-stat__n {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  color: var(--on-ink);
  line-height: 1;
}

.dpa-portal-stat__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-ink-mute);
  margin-top: 7px;
}

.dpa-portal__stamp {
  margin-left: auto;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--on-ink-mute);
  text-transform: uppercase;
}

/* cards */
.dpa-portal-card {
  background: var(--surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--r-card);
  margin: 28px 40px 0;
  overflow: hidden;
}

.dpa-portal-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.dpa-portal-card__body {
  font-size: 13.5px;
  color: var(--text-mid);
  margin: 5px 0 0;
}

.dpa-portal-card__note {
  font-size: 12.5px;
  color: var(--text-mid);
  margin: 14px 0 0;
}

/* after the press (2b/2c) */
.dpa-portal-answered {
  padding: 20px 22px;
}

.dpa-portal-answered--ack {
  background: var(--brand-tint);
  border-color: var(--brand-border);
}

.dpa-portal-answered--objected {
  border-top: 3px solid var(--border-3);
}

.dpa-portal-answered .dpa-portal-card__title {
  margin-top: 9px;
}

.dpa-portal-answered .dpa-portal-card__body {
  color: var(--text);
  margin-top: 7px;
  line-height: 1.55;
}

.dpa-portal-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  padding: 4px 8px;
}
.dpa-portal-chip--blue {
  background: var(--brand-tint);
  color: var(--brand-hover);
}
.dpa-portal-chip--red {
  color: var(--text-mid);
}
.dpa-portal-chip--amber {
  background: var(--v-amber-pill);
  color: var(--v-amber-text);
}

.dpa-portal-answered--ack .dpa-portal-chip--blue {
  background: var(--surface);
}

.dpa-portal-reason {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--surface-2);
  border-radius: var(--r-control);
}
.dpa-portal-reason p {
  font-size: 13.5px;
  color: var(--text);
  margin: 6px 0 0;
}

/* the decision (M:520-595) */
.dpa-portal-decide {
  border-top: 3px solid var(--v-amber);
}

.dpa-portal-decide__head {
  padding: 20px 26px 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.dpa-portal-decide__deadline {
  text-align: right;
  flex-shrink: 0;
}

.dpa-portal-decide__date {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--v-amber-text);
}

.dpa-portal-notice {
  border-top: 1px solid var(--border-2);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

.dpa-portal-notice__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  margin: 12px 0 0;
}

.dpa-portal-notice__meta {
  display: flex;
  gap: 26px;
  margin-top: 14px;
}

.dpa-portal-fact {
  font-size: 13.5px;
  color: var(--text);
  margin-top: 4px;
}

.dpa-portal-notice__meta .dpa-portal-label + div {
  margin-top: 4px;
}

.dpa-portal-notice__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dpa-portal-notice__object {
  border-top: 1px solid var(--border-1);
  padding-top: 12px;
  /* the kit field inside the object row: its label takes the mono micro-label
     voice, its input the portal control shape */
}
.dpa-portal-notice__object .skiwo-field {
  flex: 1;
  min-width: 0;
}
.dpa-portal-notice__object .skiwo-field__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  font-weight: 400;
}

.dpa-portal-notice__object-row {
  display: flex;
  gap: 8px;
}

.dpa-portal-input, .dpa-portal-notice__object input[type=text] {
  width: 100%;
  border: 1px solid var(--border-3);
  border-radius: var(--r-control);
  padding: 10px 12px;
  font-family: var(--font-ui);
  font-size: 13.5px;
  color: var(--text);
  background: var(--surface);
}

/* UI::Button wearing the portal's shape (the kit class still carries
   behavior; these override the visual per the mock M:559,573) */
.dpa-portal-btn {
  border-radius: var(--r-control);
  font-family: var(--font-ui);
}
.dpa-portal-btn--primary {
  width: 100%;
  background: var(--brand);
  color: var(--on-brand);
  border: none;
  padding: 13px 18px;
  font-size: 14.5px;
  font-weight: 700;
}
.dpa-portal-btn--primary:hover {
  background: var(--brand-hover);
}
.dpa-portal-btn--secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-3);
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  flex-shrink: 0;
  align-self: flex-end;
}
.dpa-portal-btn--secondary:hover {
  background: var(--surface-2);
}

.dpa-portal-notice__object-row {
  align-items: flex-end;
}

.dpa-portal-ask {
  font-size: 13.5px;
  color: var(--brand-hover);
  text-decoration: underline;
  align-self: flex-start;
}

/* quiet (2a) */
.dpa-portal-quiet {
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.dpa-portal-quiet__last {
  text-align: right;
  flex-shrink: 0;
}

.dpa-portal-quiet__date {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-top: 4px;
}

/* the two tables (receipt + register) */
.dpa-portal-block {
  padding: 34px 40px 0;
}
.dpa-portal-block:last-child {
  padding-bottom: 40px;
}

.dpa-portal-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.dpa-portal-block__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 14px;
}

.dpa-portal-block__head .dpa-portal-block__title {
  margin-bottom: 0;
}

.dpa-portal-legend {
  font-size: 12.5px;
  color: var(--text-mid);
}

.dpa-portal-table {
  background: var(--surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--r-card);
  overflow: hidden;
}

.dpa-portal-table__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 12px 24px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.dpa-portal-table__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 15px 24px;
  border-bottom: 1px solid var(--border-1);
  align-items: center;
}
.dpa-portal-table__row:last-child {
  border-bottom: 0;
}

.dpa-portal-table__row--reviewed, .dpa-portal-table__head.dpa-portal-table__row--reviewed {
  grid-template-columns: 1.5fr 1.2fr 1fr 150px;
}

.dpa-portal-table__name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.dpa-portal-table__sub {
  font-size: 12.5px;
  color: var(--text-mid);
  margin-top: 5px;
}

.dpa-portal-table__cell {
  font-size: 13.5px;
  color: var(--text);
}
.dpa-portal-table__cell--mid {
  color: var(--text-mid);
}

.dpa-portal-table__right {
  text-align: right;
}

.dpa-portal-table__mono {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mid);
}

.dpa-portal-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  border-radius: var(--r-pill);
  padding: 4px 8px;
}
.dpa-portal-pill--service {
  background: var(--surface-2);
  color: var(--text-mid);
}
.dpa-portal-pill--pending {
  background: var(--v-amber-pill);
  color: var(--v-amber-text);
}

.dpa-portal-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-3);
  font-size: 12.5px;
  color: var(--text-mid);
}

/* the dead link (2d) */
.dpa-portal-gone {
  max-width: 440px;
  padding: 30px 32px;
  margin: 0;
}
.dpa-portal-gone .dpa-portal-card__title {
  font-size: 19px;
  margin-top: 10px;
}
.dpa-portal-gone .dpa-portal-card__body {
  font-size: 14px;
  color: var(--text);
  margin-top: 9px;
  line-height: 1.6;
}

.dpa-portal-gone__ask {
  font-size: 13px;
  color: var(--text-mid);
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border-1);
}

/* 390px (1b): stat tiles shrink, notice grid stacks, table rows fold into
   two-line cards - same markup, no second template. */
@media (max-width: 700px) {
  .dpa-portal__band {
    padding: 22px 20px;
  }
  .dpa-portal__title {
    font-size: 21px;
  }
  .dpa-portal__stats {
    gap: 22px;
    margin-top: 18px;
    padding-top: 16px;
  }
  .dpa-portal-stat__n {
    font-size: 22px;
  }
  .dpa-portal-stat__label {
    font-size: 9.5px;
  }
  .dpa-portal__stamp {
    display: none;
  }
  .dpa-portal-card {
    margin: 18px 16px 0;
  }
  .dpa-portal-block {
    padding: 24px 16px 0;
  }
  .dpa-portal-decide__head {
    flex-direction: column;
  }
  .dpa-portal-decide__deadline {
    text-align: left;
  }
  .dpa-portal-notice {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }
  .dpa-portal-notice__meta {
    flex-direction: column;
    gap: 9px;
  }
  .dpa-portal-notice__meta > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .dpa-portal-notice__meta > div .dpa-portal-fact {
    margin-top: 0;
    text-align: right;
  }
  .dpa-portal-notice__object-row {
    flex-direction: column;
  }
  .dpa-portal-notice__object-row .dpa-portal-btn--secondary {
    width: 100%;
    padding: 13px 18px;
  }
  .dpa-portal-table__head {
    display: none;
  }
  .dpa-portal-table__row {
    grid-template-columns: 1fr auto;
    gap: 6px 10px;
    padding: 14px 16px;
  }
  .dpa-portal-table__row--reviewed > :nth-child(n+2) {
    grid-column: 1/-1;
  }
  .dpa-portal-table__row--reviewed > .dpa-portal-table__right:last-child {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
  }
  .dpa-portal-table__cell {
    font-size: 12.5px;
    color: var(--text-mid);
  }
}
/* 2h: what the customer forwards to their auditor. The screen chrome goes,
   the tables and the band's facts stay. */
@media print {
  .dpa-portal {
    background: var(--surface);
    max-width: none;
  }
  .dpa-portal__band {
    background: var(--surface);
    border-bottom: 2px solid var(--ink-band);
    padding: 0 0 18px;
  }
  .dpa-portal__kicker, .dpa-portal__intro, .dpa-portal-stat__label,
  .dpa-portal__stamp {
    color: var(--text-mid);
  }
  .dpa-portal__title, .dpa-portal-stat__n {
    color: var(--text);
  }
  .dpa-portal-answered, .dpa-portal-notice__actions, .dpa-portal-notice__object {
    display: none;
  }
  .dpa-portal-card, .dpa-portal-block {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
}
/* ── The marketing site (v100, from the v99 mock 1a-1d) ───────────────────
   Same token voice as the app and the portal; dpa-mkt-* is the site's own
   layout vocabulary. One markup, three widths - the queries reshape. */
.dpa-mkt {
  max-width: 1280px;
  margin: 0 auto;
  background: var(--bg-app);
  font-family: var(--font-ui);
  color: var(--text);
}

.dpa-mkt-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.dpa-mkt-kicker--onink {
  color: var(--on-ink-mute);
  font-weight: 500;
}

.dpa-mkt-h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  max-width: 760px;
  text-wrap: pretty;
}

.dpa-mkt-h2 {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 12px 0 0;
}

.dpa-mkt-lede {
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-mid);
  margin: 14px 0 0;
  max-width: 660px;
  text-wrap: pretty;
}

.dpa-mkt-sub {
  font-size: 17px;
  color: var(--text-mid);
  margin: 12px 0 0;
  max-width: 660px;
}
.dpa-mkt-sub--small {
  font-size: 15px;
  margin-top: 16px;
}

.dpa-mkt-more {
  margin: 20px 0 0;
}
.dpa-mkt-more a {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.dpa-mkt-more a:hover {
  text-decoration: underline;
}

.dpa-mkt-section {
  padding: 56px 44px 0;
}

/* buttons */
.dpa-mkt-btn {
  display: inline-block;
  border-radius: var(--r-control);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.dpa-mkt-btn--primary {
  background: var(--brand);
  color: var(--on-brand);
  border: none;
  padding: 13px 22px;
}
.dpa-mkt-btn--primary:hover {
  background: var(--brand-hover);
  color: var(--on-brand);
  text-decoration: none;
}
.dpa-mkt-btn--outline {
  border: 1px solid var(--ink-band-2);
  color: var(--on-ink);
  padding: 12px 21px;
  background: transparent;
}
.dpa-mkt-btn--outline:hover {
  color: var(--on-ink);
  text-decoration: none;
  border-color: var(--on-ink-mute);
}
.dpa-mkt-btn--ink {
  border-color: var(--border-3);
  color: var(--text);
}
.dpa-mkt-btn--ink:hover {
  color: var(--text);
  background: var(--surface-2);
}
.dpa-mkt-btn--ghost {
  border: 1px solid var(--ink-band-2);
  color: var(--on-ink);
  padding: 12px 21px;
  background: transparent;
}
.dpa-mkt-btn--ghost:hover {
  border-color: var(--on-ink-mute);
}
.dpa-mkt-btn--nav {
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 7px;
}

/* nav */
.dpa-mkt-nav {
  background: var(--ink-band);
  padding: 16px 44px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.dpa-mkt-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.dpa-mkt-nav__brand:hover {
  text-decoration: none;
}

.dpa-mkt-nav__mark {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: var(--brand);
  display: inline-block;
}

.dpa-mkt-nav__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--on-ink);
  letter-spacing: -0.01em;
}

.dpa-mkt-nav__links {
  display: flex;
  gap: 26px;
  margin-left: 8px;
}

.dpa-mkt-nav__link {
  font-size: 14px;
  color: var(--on-ink-mute);
  text-decoration: none;
}
.dpa-mkt-nav__link:hover {
  color: var(--on-ink);
  text-decoration: none;
}
.dpa-mkt-nav__link--active {
  color: var(--on-ink);
  font-weight: 600;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 2px;
}

.dpa-mkt-nav__end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.dpa-mkt-nav__locales {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--on-ink-mute);
}

.dpa-mkt-nav__locale {
  color: var(--on-ink-blue);
  text-decoration: none;
}

.dpa-mkt-nav__locale--current {
  color: var(--on-ink-mute);
}

/* hero + proof (M:59-84) */
.dpa-mkt-hero {
  background: var(--ink-band);
  padding: 64px 44px 190px;
}

.dpa-mkt-hero__inner {
  max-width: 760px;
}

.dpa-mkt-hero__title {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 700;
  color: var(--on-ink);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 18px 0 0;
  text-wrap: pretty;
}

.dpa-mkt-hero__lede {
  font-size: 18px;
  line-height: 1.5;
  color: var(--on-ink-mute);
  margin: 20px 0 0;
  max-width: 620px;
  text-wrap: pretty;
}

.dpa-mkt-hero__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.dpa-mkt-hero__facts {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 28px;
  line-height: 1.7;
}

.dpa-mkt-proof {
  padding: 0 44px;
  margin-top: -150px;
}

.dpa-mkt-proof__frame {
  background: var(--surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-shell);
  overflow: hidden;
  margin: 0;
}

.dpa-mkt-proof__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.dpa-mkt-proof__url {
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  text-transform: none;
}

.dpa-mkt-proof__shot {
  height: 430px;
  overflow: hidden;
  background: var(--bg-app);
}
.dpa-mkt-proof__shot img {
  display: block;
  width: 100%;
}
.dpa-mkt-proof__shot--tall {
  height: 760px;
}

.dpa-mkt-proof__caption {
  font-size: 14px;
  color: var(--text-mid);
  margin: 14px 0 0;
  max-width: 640px;
}

/* the chain (M:88-135) */
.dpa-mkt-chain {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 28px;
}

.dpa-mkt-chain__arrow {
  align-self: center;
  color: var(--border-4);
  font-size: 14px;
}

.dpa-mkt-chain__card {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--r-card);
  padding: 16px 18px;
}

.dpa-mkt-chain__n {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  color: var(--text-faint);
}

.dpa-mkt-chain__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin-top: 8px;
}

.dpa-mkt-chain__eg {
  font-size: 12.5px;
  color: var(--text-mid);
  margin-top: 4px;
}

/* verdicts split (M:138-165) */
.dpa-mkt-verdicts {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: start;
}

.dpa-mkt-table {
  background: var(--surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--r-card);
  overflow: hidden;
}

.dpa-mkt-table__head {
  display: grid;
  grid-template-columns: 1.3fr 1fr 118px;
  gap: 16px;
  padding: 12px 20px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.dpa-mkt-table__row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 118px;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-1);
  align-items: center;
}
.dpa-mkt-table__row--red {
  background: var(--v-red-tint);
}

.dpa-mkt-table__name {
  font-size: 13.5px;
  font-weight: 600;
}

.dpa-mkt-table__tool {
  font-size: 13px;
  color: var(--text-mid);
}

.dpa-mkt-table__right {
  text-align: right;
}

.dpa-mkt-table__foot {
  padding: 13px 20px;
  background: var(--surface-3);
  border-top: 1px solid var(--border-1);
  font-size: 12.5px;
  color: var(--text-mid);
}

.dpa-mkt-region {
  font-family: var(--font-mono);
  font-size: 12px;
  background: none;
  padding: 0;
  color: var(--text-mid);
}
.dpa-mkt-region--red {
  color: var(--v-red-text);
  font-weight: 600;
}

.dpa-mkt-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  border-radius: var(--r-pill);
  padding: 4px 8px;
}
.dpa-mkt-pill--green {
  background: var(--v-green-pill);
  color: var(--v-green-text);
}
.dpa-mkt-pill--amber {
  background: var(--v-amber-pill);
  color: var(--v-amber-text);
}
.dpa-mkt-pill--red {
  background: var(--v-red);
  color: var(--on-brand);
}

/* rules (M:168-183) */
.dpa-mkt-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.dpa-mkt-rule {
  background: var(--surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--r-card);
  padding: 24px 26px;
}

.dpa-mkt-rule__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.dpa-mkt-rule__body {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-mid);
  margin: 10px 0 0;
}

/* CTA band + footer (M:186-206) */
.dpa-mkt-band-wrap {
  padding: 56px 44px 0;
}

.dpa-mkt-band {
  background: var(--ink-band);
  border-radius: var(--r-card);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.dpa-mkt-band__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--on-ink);
  letter-spacing: -0.01em;
  margin: 0;
}

.dpa-mkt-band__sub {
  font-size: 15px;
  color: var(--on-ink-mute);
  margin: 8px 0 0;
}

.dpa-mkt-band__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.dpa-mkt-footer {
  padding: 36px 44px 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.dpa-mkt-footer__brand {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
}

.dpa-mkt-footer__made {
  font-size: 13px;
  color: var(--text-mid);
  margin-top: 6px;
}

.dpa-mkt-footer__cols {
  display: flex;
  gap: 36px;
  font-size: 13.5px;
}

.dpa-mkt-footer__col {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.dpa-mkt-footer__col a {
  text-decoration: none;
}
.dpa-mkt-footer__col a:hover {
  text-decoration: underline;
}

/* inner pages (1c) */
.dpa-mkt-inner-head {
  padding: 48px 44px 34px;
  border-bottom: 1px solid var(--border-3);
}

.dpa-mkt-portal {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 36px;
  align-items: start;
  padding-top: 40px;
}

.dpa-mkt-annotations {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dpa-mkt-note {
  background: var(--surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--r-card);
  padding: 20px 22px;
}
.dpa-mkt-note--flat {
  background: var(--surface-3);
}

.dpa-mkt-note__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dpa-mkt-note__badge {
  width: 26px;
  height: 26px;
  border-radius: 99px;
  background: var(--brand);
  color: var(--on-brand);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dpa-mkt-note__badge--lg {
  width: 34px;
  height: 34px;
  font-size: 15px;
}

.dpa-mkt-note__title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}

.dpa-mkt-note__body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-mid);
  margin: 10px 0 0;
}

.dpa-mkt-note__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  font-size: 14.5px;
}

.dpa-mkt-spec {
  background: var(--surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--r-card);
  overflow: hidden;
  margin-top: 18px;
}

.dpa-mkt-spec__row {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 24px;
  padding: 15px 24px;
  border-bottom: 1px solid var(--border-1);
}
.dpa-mkt-spec__row:last-child {
  border-bottom: 0;
}

.dpa-mkt-spec__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-mid);
  padding-top: 2px;
}

.dpa-mkt-spec__value {
  font-size: 14px;
}

.dpa-mkt-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.dpa-mkt-step {
  display: flex;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--r-card);
  padding: 24px 26px;
}

.dpa-mkt-step__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin: 2px 0 0;
}

.dpa-mkt-step__body {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-mid);
  margin: 8px 0 0;
}

/* pricing (1d) */
.dpa-mkt-pricing {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
  align-items: start;
  padding-top: 28px;
}

.dpa-mkt-pricing__aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dpa-mkt-price-card {
  background: var(--surface);
  border: 1px solid var(--brand-border);
  border-radius: var(--r-card);
  padding: 30px 32px;
}

.dpa-mkt-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.dpa-mkt-price__n {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}

.dpa-mkt-price__per {
  font-size: 15px;
  color: var(--text-mid);
}

.dpa-mkt-price-card .dpa-mkt-kicker {
  margin-top: 10px;
}

.dpa-mkt-price-card__rule {
  border: 0;
  height: 1px;
  background: var(--border-2);
  margin: 22px 0;
}

.dpa-mkt-price-card__list {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14.5px;
}

.dpa-mkt-price-card__actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.dpa-mkt-price-card__setup {
  font-size: 13px;
  color: var(--text-mid);
  margin: 14px 0 0;
}

.dpa-mkt-fineprint {
  font-size: 13px;
  color: var(--text-mid);
  border-top: 1px solid var(--border-3);
  padding: 18px 0 40px;
  margin: 32px 0 0;
}

/* 390 (1b): the queries do the mobile mock's work on the same markup */
@media (max-width: 760px) {
  .dpa-mkt-nav {
    padding: 14px 18px;
    gap: 14px;
    flex-wrap: wrap;
  }
  .dpa-mkt-nav__links {
    order: 3;
    width: 100%;
    gap: 16px;
    margin-left: 0;
    flex-wrap: wrap;
  }
  .dpa-mkt-hero {
    padding: 34px 18px 100px;
  }
  .dpa-mkt-hero__title {
    font-size: 31px;
  }
  .dpa-mkt-hero__lede {
    font-size: 16px;
  }
  .dpa-mkt-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .dpa-mkt-proof {
    padding: 0 18px;
    margin-top: -76px;
  }
  .dpa-mkt-proof__shot {
    height: 210px;
  }
  .dpa-mkt-proof__shot img {
    width: 150%;
    margin-left: -8%;
  }
  .dpa-mkt-proof__shot--tall {
    height: 420px;
  }
  .dpa-mkt-proof__shot--tall img {
    width: 100%;
    margin-left: 0;
  }
  .dpa-mkt-section, .dpa-mkt-band-wrap {
    padding: 38px 18px 0;
  }
  .dpa-mkt-inner-head {
    padding: 30px 18px 26px;
  }
  .dpa-mkt-h1 {
    font-size: 28px;
  }
  .dpa-mkt-h2 {
    font-size: 23px;
  }
  .dpa-mkt-lede, .dpa-mkt-sub {
    font-size: 15.5px;
  }
  .dpa-mkt-chain {
    flex-direction: column;
    gap: 6px;
  }
  .dpa-mkt-chain__arrow {
    display: none;
  }
  .dpa-mkt-chain__card {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 12px 14px;
  }
  .dpa-mkt-chain__card .dpa-mkt-chain__name, .dpa-mkt-chain__card .dpa-mkt-chain__eg, .dpa-mkt-chain__card .dpa-mkt-chain__n {
    margin-top: 0;
  }
  .dpa-mkt-verdicts, .dpa-mkt-portal, .dpa-mkt-pricing {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .dpa-mkt-rules {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .dpa-mkt-table__head {
    display: none;
  }
  .dpa-mkt-table__row {
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    padding: 13px 14px;
  }
  .dpa-mkt-table__tool {
    grid-column: 1/-1;
  }
  .dpa-mkt-table__right {
    grid-column: 2;
    grid-row: 1;
  }
  .dpa-mkt-band {
    flex-direction: column;
    align-items: stretch;
    padding: 26px 22px;
  }
  .dpa-mkt-band__actions {
    flex-direction: column;
  }
  .dpa-mkt-spec__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .dpa-mkt-footer {
    flex-direction: column;
  }
  .dpa-mkt-price-card__actions {
    flex-direction: column;
  }
}
/* ============================================================================
   v108 §3 — the Left · Top · Side · Bottom shell on Lilac Candy.
   ========================================================================= */
.dpa-app {
  min-height: 100vh;
}

/* The icon rail is the vivid violet chrome, collapsed by default (the kit's
   LeftSidebar rule); expanded it stays on the same ink so the rail never
   changes colour under a person's hand. */
.dpa-app .skiwo-sidebar {
  --surface:var(--brand-deep);
  --surface-2:color-mix(in srgb,var(--brand-deep-ink) 10%,transparent);
  --text:var(--brand-deep-ink);
  --text-2:var(--brand-deep-ink);
  --text-mid:var(--brand-deep-muted);
  --icon-faint:var(--brand-deep-muted);
  --brand:var(--brand-deep-ink);
  --brand-ink:var(--brand-deep-ink);
  --brand-tint:color-mix(in srgb,var(--brand-deep-ink) 18%,transparent);
  --border-1:transparent;
  --border-2:transparent;
  --border-3:transparent;
  border-inline-end: 0;
  z-index: 10;
}
.dpa-app .skiwo-sidebar .skiwo-nav-item {
  font-size: 13px;
}
.dpa-app .skiwo-sidebar .skiwo-drawer {
  --surface:var(--surface-2);
  --text:var(--text);
  --brand:var(--brand);
  --brand-ink:var(--brand-ink);
  --brand-tint:var(--brand-tint);
  color: var(--text);
}

/* The folder rail: the room's name on top, its folders with counts. */
.dpa-app .skiwo-folderrail {
  background: var(--surface);
  border-inline-end: 1px solid var(--hairline);
}

.dpa-app .skiwo-folderrail__label:first-child {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-transform: none;
  letter-spacing: -0.01em;
}

/* The page: a question, its one-sentence answer, then lists. */
.dpa-page {
  padding: 24px 26px 40px;
  max-width: 1100px;
}

.dpa-q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
  text-wrap: balance;
}

.dpa-a {
  font-size: 17px;
  color: var(--text-mid);
  margin: 0 0 22px;
  max-width: 60ch;
}

.dpa-a strong {
  color: var(--text);
  font-weight: 600;
}

.dpa-list {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  overflow: hidden;
}

.dpa-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 18px;
  align-items: center;
  padding: 13px 16px;
  border-top: 1px solid var(--hairline);
  text-decoration: none;
  color: inherit;
}

.dpa-row:first-child {
  border-top: 0;
}

a.dpa-row:hover {
  background: var(--surface-3);
  text-decoration: none;
}

.dpa-row__t {
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text);
}

.dpa-row__s {
  color: var(--text-mid);
  font-size: 14px;
  margin-top: 2px;
}

.dpa-row__r {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--text-faint);
}

/* Who may press a button the viewer cannot (v108 §5). */
.dpa-needs {
  font-size: 12px;
  color: var(--text-faint);
  margin: 0;
}

/* ── Today (v108 §6): situations, one verb per row, the date it bites ── */
.dpa-sums {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--text-mid);
}

.dpa-sums > div {
  display: flex;
  gap: 8px;
  align-items: baseline;
  padding: 8px 12px;
  border-radius: var(--r-control);
  background: var(--surface);
  border: 1px solid var(--border-2);
}

.dpa-sums b {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--text);
  line-height: 1;
}

.dpa-sit {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  overflow: hidden;
  margin-bottom: 14px;
}

.dpa-sit__h {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 10px 18px;
  align-items: center;
  padding: 14px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--hairline);
}

.dpa-sit__t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
}

.dpa-sit__t a {
  color: inherit;
  text-decoration: none;
}

.dpa-sit__s {
  color: var(--text-mid);
  font-size: 13.5px;
  margin-top: 2px;
}

.dpa-row--sit {
  grid-template-columns: auto 1fr auto;
  padding: 11px 16px;
}

.dpa-row__plain {
  font-weight: 400;
}

.dpa-kind {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: var(--r-chip);
  min-width: 62px;
  text-align: center;
}

.dpa-kind--press {
  background: var(--brand-tint);
  color: var(--brand-ink);
}

.dpa-kind--decide {
  background: var(--warn-tint);
  color: var(--warn);
}

.dpa-kind--do {
  background: var(--surface-2);
  color: var(--text-mid);
}

.dpa-kind--know {
  background: var(--surface-2);
  color: var(--text-faint);
}

.dpa-dl {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.3;
  padding-left: 10px;
  border-left: 3px solid var(--warn-bar);
  font-variant-numeric: tabular-nums;
}

.dpa-dl b {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.dpa-dl--red {
  border-color: var(--danger);
}

.dpa-dl--red b {
  color: var(--danger);
}

.dpa-dl--none {
  border-color: var(--border-4);
  color: var(--text-faint);
}

.dpa-num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.dpa-sec {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  margin: 24px 0 8px;
}

.dpa-why {
  padding: 12px 16px;
  border-radius: var(--r-card);
  background: var(--brand-tint-3);
  border: 1px solid var(--brand-border);
  font-size: 14px;
  color: var(--text-mid);
  margin: 18px 0 0;
  max-width: 70ch;
}

/* The right column's cards. */
.dpa-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: 16px;
  margin-bottom: 14px;
}

.dpa-card h3 {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--text-muted);
}

.dpa-card__p {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--text-mid);
}

.dpa-card--deep {
  background: var(--brand-deep);
  color: var(--brand-deep-ink);
  border-color: transparent;
}

.dpa-card--deep h3 {
  color: var(--brand-deep-muted);
}

.dpa-card--row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.dpa-big {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.dpa-big small {
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--brand-deep-muted);
  display: block;
  margin-top: 6px;
  letter-spacing: 0;
}

.dpa-tally {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
  color: var(--brand-deep-muted);
}

.dpa-tally li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.dpa-tally .dpa-num {
  min-width: 22px;
  text-align: right;
  font-weight: 500;
  color: var(--brand-deep-ink);
}

.dpa-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dpa-fact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  margin: 0 0 8px;
  align-items: baseline;
}

.dpa-fact b {
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}

.dpa-linkbox {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-mid);
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-control);
  padding: 3px 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  max-width: 260px;
}

.dpa-sec__all {
  font-weight: 400;
  font-size: 13px;
  margin-left: 6px;
}

@media (max-width: 860px) {
  .dpa-sit__h, .dpa-row--sit {
    grid-template-columns: 1fr;
  }
  .dpa-dl {
    border-left: 0;
    padding-left: 0;
    display: flex;
    gap: 10px;
    align-items: baseline;
  }
  .dpa-dl b {
    display: inline;
  }
}
/* ── Tools room (v108 §2): a tool row opens to its mappings ── */
.dpa-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.dpa-chip {
  font-size: 12.5px;
  color: var(--text-mid);
  background: var(--surface-2);
  padding: 3px 9px;
  border-radius: var(--r-pill);
}

.dpa-empty {
  padding: 22px 16px;
  color: var(--text-faint);
  text-align: center;
  margin: 0;
}

.dpa-tool {
  border-top: 1px solid var(--hairline);
}

.dpa-tool:first-child {
  border-top: 0;
}

.dpa-tool__sum {
  cursor: pointer;
  list-style: none;
}

.dpa-tool__sum::-webkit-details-marker {
  display: none;
}

.dpa-tool__sum .dpa-row__t a {
  color: inherit;
  text-decoration: none;
}

.dpa-tool[open] .dpa-tool__sum {
  background: var(--surface-2);
}

.dpa-tool__maps {
  padding: 4px 16px 10px 32px;
  background: var(--surface-3);
}

.dpa-tool__map {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.6fr auto;
  gap: 12px;
  align-items: center;
  padding: 7px 0;
  border-top: 1px solid var(--hairline);
  font-size: 13.5px;
}

.dpa-tool__map:first-child {
  border-top: 0;
}

.dpa-tool__pairs {
  font-size: 12px;
  color: var(--text-faint);
  margin-left: 6px;
}

.dpa-tool__none {
  margin: 6px 0;
  font-size: 13px;
  color: var(--text-faint);
}

.dpa-detail-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  margin-top: 18px;
  align-items: start;
}

@media (max-width: 860px) {
  .dpa-tool__map {
    grid-template-columns: 1fr 1fr;
  }
}
/* ── Add a tool (v108 §7): steps on the left, the consequence on the right ── */
.dpa-add__in {
  width: 100%;
  font: inherit;
  font-size: 19px;
  font-family: var(--font-display);
  font-weight: 500;
  padding: 13px 16px;
  border: 2px solid var(--border-4);
  border-radius: var(--r-card);
  background: var(--surface);
  color: var(--text);
}

.dpa-add__in--sm {
  font-size: 15px;
  font-family: var(--font-ui);
  padding: 9px 12px;
  max-width: 360px;
  margin-top: 6px;
}

.dpa-add__in:focus {
  border-color: var(--brand);
  outline: 0;
  box-shadow: 0 0 0 3px var(--brand-ring);
}

.dpa-add__hint {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 13.5px;
}

.dpa-add__vendor, .dpa-add__new-service, .dpa-add__date {
  margin-top: 12px;
}

.dpa-add__vendor label, .dpa-add__new-service label {
  font-size: 13.5px;
  font-weight: 600;
}

.dpa-add__submit {
  margin-top: 22px;
}

.dpa-step {
  margin-top: 26px;
}

.dpa-step h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.dpa-step__k {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand-ink);
  font-size: 13px;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
}

.dpa-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.dpa-tile {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--border-2);
  border-radius: var(--r-control);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  text-decoration: none;
}

.dpa-tile:hover {
  border-color: var(--brand-border);
  background: var(--brand-tint-3);
  text-decoration: none;
}

.dpa-tile b {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.dpa-tile small {
  color: var(--text-muted);
  font-size: 12px;
}

.dpa-mono {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--on-brand);
  font-size: 14px;
  flex: none;
}

.dpa-zones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.dpa-zone {
  border-radius: var(--r-card);
  padding: 12px;
  border: 1px solid var(--border-2);
  background: var(--surface);
  margin-top: 8px;
}

.dpa-zone h4 {
  margin: 0 0 2px;
  font-size: 14px;
  font-family: var(--font-display);
  font-weight: 600;
}

.dpa-zone p {
  margin: 0 0 8px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.dpa-zone--ok {
  border-color: var(--ok-bar);
  background: var(--ok-tint);
}

.dpa-zone--warn {
  border-color: var(--warn-bar);
  background: var(--warn-tint);
}

.dpa-zone--danger {
  border-color: var(--danger);
  background: var(--danger-tint);
}

.dpa-cc {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: var(--r-chip);
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  cursor: pointer;
  margin: 0 4px 4px 0;
  color: var(--text);
  font: inherit;
}

.dpa-cc[aria-pressed=true] {
  background: var(--brand);
  color: var(--on-brand);
  border-color: var(--brand);
}

.dpa-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.dpa-chp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-2);
  background: var(--surface);
  font-size: 14px;
  cursor: pointer;
  color: var(--text);
}

.dpa-chp:has(input:checked) {
  background: var(--brand-tint);
  border-color: var(--brand);
  color: var(--brand-ink);
  font-weight: 600;
}

.dpa-chp input {
  margin: 0;
}

.dpa-seg {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 14px;
}

.dpa-narr {
  font-size: 14.5px;
  line-height: 1.5;
  margin: 0 0 12px;
}

.dpa-list--tight .dpa-row {
  padding: 8px 12px;
  grid-template-columns: auto 1fr;
}

.dpa-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

.dpa-dot--ok {
  background: var(--ok-bar);
}

.dpa-dot--warn {
  background: var(--warn-bar);
}

.dpa-dot--danger {
  background: var(--danger);
}

/* ── Letters (v108 §2): the letter as the customer receives it ── */
.dpa-letter {
  margin: 0;
  padding: 18px 20px;
  white-space: pre-wrap;
  font-family: var(--font-ui);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text);
  max-width: 70ch;
}
