  :root {
    color-scheme: dark;
    --bg: #0a0c0f;
    --card: #14181e;
    --card2: #1a1f26;
    --border: #232830;
    --border-light: #2e343e;
    --text: #e9edf2;
    --muted: #9aa4b2;
    --text-faint: #5c6472;
    --accent: #2bcb9d;
    --accent-dim: #186b52;
    --accent-light: #10261f;
    --green: #22c55e;
    --green-bg: #10291f;
    --green-border: #1c4a37;
    --yellow: #eab308;
    --yellow-bg: #2a2010;
    --yellow-border: #4a3a18;
    --red: #ef4444;
    --red-bg: #2a1616;
    --red-border: #4a2424;
    --blue: #60a5fa;
    --blue-bg: #16202e;
    --blue-border: #24344a;
    --radius: 12px;
    --mono: "SF Mono", ui-monospace, "Roboto Mono", Menlo, Consolas, monospace;
  }
  /* Brand re-theme 2026-08-31: dark "mission control" direction to match
     entgentech_site/ and the rest of the EntgenTech suite. Same semantic
     var names as before, new values -- see claude/decisions-log.md. */
  body { background-image: radial-gradient(circle at 12% 0%, rgba(43,203,157,0.06), transparent 40%); background-repeat: no-repeat; }
  * { box-sizing: border-box; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    padding: 24px;
  }
  .app { max-width: 900px; margin: 0 auto; }
  h1 { font-size: 22px; margin: 0 0 4px; }
  .subtitle { color: var(--muted); margin: 0 0 18px; }
  .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
  .chip {
    background: var(--accent-light);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
  }
  .card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 18px;
  }
  .card h2 { font-size: 15px; margin: 0 0 4px; }
  .card .hint { color: var(--muted); font-size: 12.5px; margin: 0 0 14px; }
  .profile-funding-details { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); }
  .profile-funding-details summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--text); list-style: none; }
  .profile-funding-details summary::-webkit-details-marker { display: none; }
  .profile-funding-details summary:before { content: "▸ "; color: var(--muted); }
  .profile-funding-details[open] summary:before { content: "▾ "; }
  label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 12px 0 4px; }
  label:first-of-type { margin-top: 0; }
  /* Per-field hint, between a label and its input. Distinct from .card .hint,
     which introduces a whole card and carries a much larger bottom margin. */
  .field-hint { color: var(--muted); font-size: 12.5px; line-height: 1.45; margin: 0 0 8px; max-width: 62ch; }
  input[type=text], input[type=password], textarea, select {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 9px 10px;
    font-size: 13.5px;
    font-family: inherit;
    color: var(--text);
    background: var(--card);
  }
  textarea { resize: vertical; min-height: 60px; }
  .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  button {
    background: var(--accent);
    color: #08110c;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 16px;
  }
  button:disabled { opacity: 0.55; cursor: default; }
  button.secondary, a.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }

  /* 2026-09-10, audit finding #3: shown when this tab's bundle predates the
     running deploy (see checkServerVersion in app.js). Bottom-centre rather
     than a top banner on purpose -- it must not push the page down or cover
     anything while a founder is mid-run, because the whole point is that it
     interrupts nothing and can be ignored. */
  .version-notice {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100vw - 32px);
    padding: 10px 14px;
    background: var(--card2);
    border: 1px solid var(--accent-dim);
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.45);
    color: var(--text);
    font-size: 13px;
  }
  .version-notice button { margin-top: 0; }
  button.small-btn, a.small-btn { padding: 7px 12px; font-size: 12.5px; margin-top: 10px; }
  /* 2026-09-09: anchors styled as buttons -- the deliverables downloads have
     to be real <a download> links (a synthesised click on a blob URL is a
     silent no-op in Safari), so they need the base `button` look that the
     element-qualified rules above don't give them. */
  a.secondary, a.small-btn {
    display: inline-block;
    text-decoration: none;
    border-radius: 8px;
    font-family: inherit;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
  }
  .error-box {
    background: var(--red-bg); color: var(--red); border: 1px solid var(--red-border);
    padding: 10px 12px; border-radius: 8px; font-size: 13px; margin-top: 12px;
  }
  .result {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    margin-top: 14px;
    background: var(--card2);
  }
  .result-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
  .result-title { font-size: 16px; font-weight: 700; margin: 0 0 4px; }
  .result-summary { color: var(--muted); margin: 0 0 12px; font-size: 13px; }
  .score-badge {
    min-width: 56px; text-align: center; border-radius: 10px; padding: 6px 10px;
    font-size: 20px; font-weight: 800; color: #fff; flex-shrink: 0;
  }
  .score-sub { font-size: 10px; font-weight: 600; opacity: 0.85; display: block; margin-top: -2px;}
  .score-green { background: var(--green); }
  .score-yellow { background: var(--yellow); color: #1c1300; }
  .score-red { background: var(--red); }
  .score-group { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
  .subscore-row { display: flex; gap: 6px; }
  .subscore-pill {
    font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px;
    background: var(--card2); color: var(--text); border: 1px solid var(--border); white-space: nowrap;
  }
  .subscore-pill.pill-opportunity { color: var(--green); border-color: var(--green-border); background: var(--green-bg); }
  .subscore-pill.pill-fit { color: var(--blue); border-color: var(--blue-border); background: var(--blue-bg); }
  .criteria-list { margin-top: 10px; }
  .criteria-item { margin-bottom: 9px; }
  .criteria-item-top { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; margin-bottom: 3px; gap: 6px; }
  .criteria-item-top .cname-group { display: flex; align-items: center; gap: 6px; min-width: 0; }
  .criteria-item-top .cname { font-weight: 600; }
  .criteria-item-top .cscore { color: var(--muted); flex-shrink: 0; }
  .cat-tag {
    font-size: 9.5px; font-weight: 700; padding: 1px 6px; border-radius: 999px; text-transform: uppercase;
    letter-spacing: 0.02em; flex-shrink: 0;
  }
  .cat-tag.cat-opportunity { color: var(--green); background: var(--green-bg); }
  .cat-tag.cat-fit { color: var(--blue); background: var(--blue-bg); }
  .bar-track { background: var(--border); border-radius: 4px; height: 6px; overflow: hidden; }
  .bar-fill { background: var(--accent); height: 100%; border-radius: 4px; }
  .criteria-note { color: var(--muted); font-size: 12px; margin-top: 2px; }
  .verdict { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); font-size: 13px; }
  .verdict strong { display: block; margin-bottom: 4px; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); }
  .spinner {
    display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.5);
    border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; margin-right: 6px; vertical-align: -2px;
  }
  @keyframes spin { to { transform: rotate(360deg); } }
  .history-head { display: flex; justify-content: space-between; align-items: center; margin: 26px 0 10px; }
  .history-head h2 { font-size: 15px; margin: 0; }
  .clear-btn { background: none; color: var(--muted); border: 1px solid var(--border); padding: 6px 10px; font-size: 12px; margin: 0; }
  details.hist-entry {
    background: var(--card); border: 1px solid var(--border); border-radius: 10px;
    padding: 12px 14px; margin-bottom: 8px;
  }
  details.hist-entry summary {
    cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px;
  }
  details.hist-entry summary::-webkit-details-marker { display: none; }
  .hist-score {
    width: 34px; height: 34px; border-radius: 8px; color: #fff; font-weight: 800;
    display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0;
  }
  .hist-summary-text { flex: 1; }
  .hist-title { font-weight: 600; font-size: 13.5px; }
  .hist-meta { color: var(--muted); font-size: 11.5px; }
  .hist-type-tag {
    font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px;
    background: var(--accent-light); color: var(--accent); flex-shrink: 0;
  }
  .hist-body { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); }
  .hist-actions { display: flex; gap: 8px; }
  .del-btn {
    background: none; border: none; color: var(--muted); font-size: 16px; cursor: pointer;
    padding: 0 2px; margin: 0; line-height: 1;
  }
  .empty-state { color: var(--muted); font-size: 13px; text-align: center; padding: 20px 0; }

  /* Investor materials (Phase 2) */
  .im-block { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); }
  .im-btn { margin-top: 0; }
  .im-target:empty { margin: 0; }
  .investor-materials { margin-top: 4px; }
  .im-exec-summary {
    background: var(--accent-light); border-radius: 10px; padding: 12px 14px; margin-bottom: 14px;
  }
  .im-exec-summary strong {
    display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.03em;
    color: var(--accent); margin-bottom: 4px;
  }
  .im-exec-summary p { margin: 0 0 6px; font-size: 13px; }
  .im-exec-summary p:last-child { margin-bottom: 0; }
  .im-section { margin-bottom: 14px; }
  .im-section-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
  .im-section-head h3 { font-size: 13.5px; margin: 0; }
  .im-section p { margin: 0 0 6px; font-size: 13px; }
  .im-section p:last-child { margin-bottom: 0; }
  .conf-badge {
    font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 999px; flex-shrink: 0;
  }
  .flag-estimated { background: var(--card2); color: var(--muted); }
  .flag-needs { background: var(--yellow-bg); color: var(--yellow); }
  .im-points { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; }
  .im-points li { margin-bottom: 4px; }
  .im-disclaimer { display: block; color: var(--muted); font-size: 11.5px; margin-top: 8px; font-style: italic; }

  /* Market simulation (Phase 3, Tier A) */
  .sim-block { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); }
  .sim-btn { margin-top: 0; }
  .sim-hint { color: var(--muted); font-size: 12px; font-style: italic; margin-top: 4px; }
  .deliverables-btn { margin-top: 0; }
  .deliverables-status { color: var(--muted); font-size: 12.5px; margin-top: 8px; display: flex; align-items: center; gap: 8px; }
  .deliverables-done { font-size: 13px; margin-top: 8px; line-height: 1.5; }
  .sim-banner {
    background: var(--red-bg); color: var(--red); border: 1px solid var(--red-border);
    padding: 8px 12px; border-radius: 8px; font-size: 11.5px; font-weight: 700;
    text-align: center; margin-bottom: 12px; letter-spacing: 0.02em;
  }
  .sim-signal { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; margin-bottom: 10px; }
  .sim-signal-strong { background: var(--green-bg); color: var(--green); }
  .sim-signal-mixed { background: var(--yellow-bg); color: var(--yellow); }
  .sim-signal-weak { background: var(--red-bg); color: var(--red); }
  .sim-section-head { font-size: 13px; font-weight: 700; margin: 14px 0 6px; color: var(--text); }
  .persona-card { background: var(--card2); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
  .persona-name { font-weight: 700; font-size: 12.5px; margin-bottom: 3px; }
  .persona-row { font-size: 12px; color: var(--muted); margin-top: 2px; }
  .persona-row strong { color: var(--text); font-weight: 600; }
  .sim-risks { font-size: 13px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); }

  /* Phase 8 -- Credit Finder */
  .checkbox-group { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 4px; }
  .checkbox-group label {
    display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 400;
    color: var(--text); margin: 0; text-transform: none; letter-spacing: normal;
  }
  .checkbox-group input[type=checkbox] { width: auto; margin: 0; }
  .consent-note { color: var(--muted); font-size: 12px; margin: 6px 0 8px; line-height: 1.4; }
  .cf-block { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); }
  .cf-btn { margin-top: 0; }
  .cf-results { margin-top: 10px; }
  .cf-coverage-note { color: var(--muted); font-size: 12.5px; font-style: italic; margin: 0 0 12px; }
  .cf-match { background: var(--card2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
  .cf-match-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
  .cf-match-name { font-weight: 700; font-size: 13.5px; margin: 0 0 2px; }
  .cf-match-meta { color: var(--muted); font-size: 11.5px; margin: 0; }
  .cf-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 700; white-space: nowrap; letter-spacing: 0.02em; }
  .cf-conf-verified { background: var(--green-bg); color: var(--green); }
  .cf-conf-needs-verification { background: var(--yellow-bg); color: var(--yellow); }
  .cf-cat-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; letter-spacing: 0.02em; margin-left: 6px; }
  .cf-cat-debt { background: var(--blue-bg); color: var(--blue); }
  .cf-cat-equity { background: var(--accent-light); color: var(--accent); }
  .cf-cat-alternative { background: var(--card2); color: var(--muted); }
  .cf-cat-coverage { background: var(--card2); border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; }
  .cf-cat-coverage-row { font-size: 12px; color: var(--muted); margin: 4px 0; display: flex; align-items: center; gap: 4px; }
  .cf-cat-coverage-row .cf-cat-badge { margin-left: 0; }
  .cf-sponsored-section { margin-bottom: 16px; padding-bottom: 4px; border-bottom: 1px solid var(--border); }
  .cf-sponsored-heading { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
  .cf-sponsor-card { background: var(--yellow-bg); border: 1px solid var(--yellow-border); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
  .cf-sponsor-badge { background: var(--yellow-bg); color: var(--yellow); }
  .cf-match-reasoning { font-size: 12.5px; margin: 8px 0; line-height: 1.45; }
  .cf-match-facts { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
  .cf-match-facts strong { color: var(--text); font-weight: 600; }
  .cf-confidence-note { color: var(--muted); font-size: 11.5px; font-style: italic; margin: 4px 0; }
  .cf-source-link { font-size: 12px; color: var(--accent); text-decoration: none; font-weight: 600; }
  .cf-source-link:hover { text-decoration: underline; }

  /* Credit Finder report redesign (2026-08-27) */
  .cf-bottom-line { background: var(--accent-light); border-radius: 10px; padding: 14px 16px; margin-bottom: 14px; }
  .cf-bottom-line-text { font-size: 13.5px; line-height: 1.5; margin: 0 0 8px; color: var(--text); }
  .cf-capital-range { font-size: 13px; margin: 0; color: var(--text); }
  .cf-warnings { background: var(--yellow-bg); border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; }
  .cf-warning-item { font-size: 12.5px; color: var(--yellow); margin: 4px 0; line-height: 1.4; }
  .cf-warning-item:before { content: "\26A0 "; }
  .cf-triage { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 16px; }
  .cf-triage-col { min-width: 0; }
  .cf-triage-heading { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 2px solid var(--border); }
  .cf-triage-now .cf-triage-heading { color: var(--green); border-bottom-color: var(--green); }
  .cf-triage-later .cf-triage-heading { color: var(--yellow); border-bottom-color: var(--yellow-border); }
  .cf-triage-ignore .cf-triage-heading { color: var(--red); border-bottom-color: var(--red-border); }
  .cf-triage-empty { font-size: 12px; color: var(--muted); font-style: italic; }
  .cf-match-later { background: var(--yellow-bg); }
  .cf-match-ignore { background: var(--red-bg); border-color: var(--red-border); padding: 10px 12px; }
  .cf-match-ignore .cf-match-name { font-size: 12.5px; }
  .cf-match-ignore .cf-match-reasoning { font-size: 12px; margin: 4px 0 0; color: var(--red); }
  .cf-catch-note { font-size: 12px; color: var(--yellow); margin: 4px 0; }
  .cf-section { margin-bottom: 18px; }
  .cf-section-heading { font-size: 13px; font-weight: 700; margin: 0 0 10px; color: var(--text); }
  .cf-do-heading { color: var(--green); }
  .cf-dont-heading { color: var(--red); }
  .cf-stack-list { margin: 0; padding-left: 20px; font-size: 12.5px; line-height: 1.6; }
  .cf-stack-list li { margin-bottom: 6px; }
  .cf-stack-rationale { color: var(--muted); }
  .cf-table-wrap { overflow-x: auto; }
  .cf-table { width: 100%; border-collapse: collapse; font-size: 12px; }
  .cf-table th, .cf-table td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
  .cf-table th { background: var(--card2); font-weight: 700; color: var(--text); white-space: nowrap; }
  .cf-plain-list { margin: 0; padding-left: 20px; font-size: 12.5px; line-height: 1.6; }
  .cf-plain-list li { margin-bottom: 6px; }
  .cf-handoff-contact { color: var(--muted); }
  .cf-dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .cf-report-footer { font-size: 11px; color: var(--muted); font-style: italic; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--border); }
  .cf-methodology { font-size: 12px; color: var(--muted); margin: 10px 0; }
  .cf-methodology summary { cursor: pointer; font-weight: 600; color: var(--text); }
  .cf-methodology p { margin: 6px 0 0; line-height: 1.5; }
  @media (max-width: 640px) {
    .cf-triage { grid-template-columns: 1fr; }
    .cf-dodont { grid-template-columns: 1fr; }
  }

  /* Mobile / responsive (phone screens) */
  @media (max-width: 640px) {
    body { padding: 14px; }
    h1 { font-size: 19px; }
    .card { padding: 14px; }
    .row { grid-template-columns: 1fr; gap: 10px; }
    /* Prevent iOS Safari's auto-zoom-on-focus, which otherwise fires on any
       input/textarea/select under 16px */
    input[type=text], input[type=password], textarea, select { font-size: 16px; }
    /* Full-width primary actions -- easier to hit with a thumb than a left-aligned
       button, and matches how most mobile forms present their main CTA. Scoped to
       exclude the smaller secondary/utility buttons, which stay their natural size. */
    button:not(.small-btn):not(.clear-btn):not(.del-btn) {
      width: 100%;
      padding: 12px 16px;
    }
    .result-head { flex-wrap: wrap; }
    .score-group { align-items: flex-start; }
    .hist-actions { flex-wrap: wrap; }
    .hist-actions button { flex: 1; min-width: 120px; }
    .del-btn { padding: 6px 8px; font-size: 18px; }
  }

  /* Accounts (Phase 6) */
  .auth-topbar { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 12.5px; color: var(--muted); }
  .auth-topbar button { margin: 0; padding: 6px 12px; font-size: 12.5px; }
  .auth-card { max-width: 420px; margin: 40px auto; }
  .auth-switch { font-size: 12.5px; color: var(--muted); margin-top: 14px; text-align: center; }
  .auth-switch a { color: var(--accent); cursor: pointer; text-decoration: none; font-weight: 600; }
  .auth-forgot { display: block; text-align: right; font-size: 12px; color: var(--accent); cursor: pointer; margin-top: 8px; text-decoration: none; }
  .auth-msg { font-size: 13px; margin-top: 12px; }
  .success-box { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); padding: 10px 12px; border-radius: 8px; font-size: 13px; margin-top: 12px; }
  .import-banner { background: var(--accent-light); border-radius: 10px; padding: 12px 14px; margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
  .import-banner p { margin: 0; font-size: 12.5px; color: var(--text); }
  .import-banner button { margin: 0; }
  .site-footer { text-align: center; margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }
  .site-footer a { color: var(--muted); text-decoration: underline; }
  .site-footer span { margin: 0 6px; }

  /* Print (PDF export) */
  .print-only { display: none; }
  @media print {
    body > *:not(#printArea) { display: none !important; }
    #printArea { display: block !important; position: static; width: 100%; padding: 0; }
    #printArea h1 { font-size: 20px; }
    #printArea h2 { font-size: 15px; margin-top: 18px; }
    #printArea h3 { font-size: 13px; margin-top: 12px; }
  }

  /* Deep Market Test (2026-08-28) -- reuses existing tokens/elements
     (label/input/select/textarea/.secondary/.small-btn/.error-box/.spinner
     are already globally styled above); these are only the genuinely new
     shapes this feature needs. */
  .dmt-block { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); }
  .dmt-block-done, .cf-block-done { background: var(--accent-light); border-radius: 10px; padding: 12px 14px; border-top: none; margin-top: 10px; }
  .dmt-done-title { font-weight: 700; font-size: 12.5px; margin-bottom: 4px; }
  .dmt-done-text { font-size: 12px; color: var(--text); margin: 0; }
  .dmt-progress-label { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
  .dmt-intake input[type=text], .dmt-intake select, .dmt-intake textarea { margin-bottom: 4px; }
  .dmt-form-error { margin-top: 8px; }
  .dmt-report-view, .cf-report-view { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
  .dmt-table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; font-size: 12.5px; }
  .dmt-table td, .dmt-table th { border: 1px solid var(--border); padding: 6px 8px; text-align: left; vertical-align: top; }
  .dmt-table th { background: var(--bg); font-weight: 700; }
  .dmt-triage { display: flex; gap: 10px; margin: 10px 0; flex-wrap: wrap; }
  .dmt-triage-col { flex: 1; min-width: 160px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; font-size: 12.5px; }
  .dmt-triage-col ul { margin: 6px 0 0; padding-left: 18px; }
  .dmt-triage-keep { border-top: 3px solid var(--green); }
  .dmt-triage-fix { border-top: 3px solid var(--yellow); }
  .dmt-triage-kill { border-top: 3px solid var(--red); }
  .dmt-sev-pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; color: #fff; }
  .dmt-sev-pill.sev-high { background: var(--red); }
  .dmt-sev-pill.sev-medium { background: var(--yellow); }
  .dmt-sev-pill.sev-structural { background: var(--muted); }

  .brand-bar { display: flex; justify-content: center; margin-bottom: 4px; }
  .brand-lockup {
    display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
    padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--border);
    background: var(--card2);
  }
  .brand-lockup img { height: 22px; width: auto; display: block; }
  .brand-lockup .brand-word { font-size: 13px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
  .brand-lockup .brand-word .e { color: var(--accent); }
  .brand-lockup .brand-tag {
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--accent); margin-left: 4px;
  }
  .brand-lockup:hover { border-color: var(--accent-dim); }
  .site-footer .footer-brand { display: inline-flex; align-items: center; gap: 6px; color: var(--text-faint); font-size: 12px; text-decoration: none; vertical-align: middle; }
  .site-footer .footer-brand img { height: 14px; width: auto; }
