
    :root {
      color-scheme: light;
      --ink: #17251f;
      --muted: #66736c;
      --line: #e3e7e0;
      --paper: #ffffff;
      --canvas: #f5f4ef;
      --green: #246b4d;
      --green-dark: #174a35;
      --green-soft: #e8f2eb;
      --amber: #9a620c;
      --amber-soft: #fbf1d9;
      --red: #a73b34;
      --red-soft: #fae9e7;
      --shadow: 0 16px 45px rgba(28, 48, 38, .08);
      font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-synthesis: none;
      text-rendering: optimizeLegibility;
    }
    * { box-sizing: border-box; }
    body { margin: 0; background: var(--canvas); color: var(--ink); min-width: 320px; }
    button, select { font: inherit; }
    button:focus-visible, select:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #77b797; outline-offset: 3px; }
    .topbar { min-height: 72px; background: #fff; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(18px, 4vw, 54px); gap: 18px; }
    .brand { display: flex; align-items: center; gap: 11px; font-weight: 750; letter-spacing: -.03em; font-size: 18px; white-space: nowrap; }
    .brand-mark { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: white; background: var(--green); }
    .brand small { display: block; color: var(--muted); font-size: 10px; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; margin-top: 1px; }
    .top-right { display: flex; align-items: center; gap: 12px; }
    .demo-flag { font-size: 11px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--green-dark); background: var(--green-soft); border: 1px solid #d0e5d7; border-radius: 99px; padding: 7px 10px; }
    .workspace { font-size: 12px; color: var(--muted); border-left: 1px solid var(--line); padding-left: 14px; }
    main { max-width: 1250px; padding: 34px 28px 60px; margin: auto; }
    .page-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
    .eyebrow { color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 8px; }
    h1 { font-size: clamp(27px, 3vw, 38px); line-height: 1.08; letter-spacing: -.045em; margin: 0; }
    .subtitle { margin: 10px 0 0; color: var(--muted); font-size: 14px; max-width: 630px; line-height: 1.55; }
    .head-actions { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
    .connection { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 99px; padding: 9px 12px; font-size: 12px; font-weight: 650; cursor: pointer; }
    .dot { width: 8px; height: 8px; border-radius: 99px; background: #3f9b65; box-shadow: 0 0 0 3px #e5f3e9; }
    .connection.offline .dot { background: #c67b1a; box-shadow: 0 0 0 3px #fcf0d9; }
    .icon-btn { border: 1px solid var(--line); color: var(--muted); background: white; border-radius: 9px; padding: 9px 11px; font-weight: 650; font-size: 12px; cursor: pointer; }
    .shell { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 18px; align-items: start; }
    .main-col { display: grid; gap: 16px; min-width: 0; }
    .card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
    .card-pad { padding: 21px 23px; }
    .section-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
    .section-head h2, .section-head h3 { margin: 0; font-size: 15px; letter-spacing: -.02em; }
    .step-label { color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
    .role-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; background: #f9fbf8; border: 1px solid #dce8df; border-radius: 13px; }
    .role-copy { min-width: 0; }
    .role-copy strong { display: block; font-size: 13px; }
    .role-copy span { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; line-height: 1.4; }
    .role-select { max-width: 220px; color: var(--ink); background: white; border: 1px solid #cad8ce; border-radius: 9px; padding: 9px 32px 9px 10px; font-size: 12px; font-weight: 650; }
    .role-warning { color: #6c582c; background: #fff9e9; border: 1px solid #f0e1b8; border-radius: 10px; padding: 10px 12px; font-size: 11px; line-height: 1.5; margin-top: 10px; }
    .fixture-row { display: flex; gap: 8px; flex-wrap: wrap; }
    .fixture { text-align: left; border: 1px solid var(--line); border-radius: 10px; background: white; padding: 9px 11px; color: var(--ink); font-size: 11px; cursor: pointer; }
    .fixture strong { display: block; font-size: 11px; margin-bottom: 3px; }
    .fixture span { color: var(--muted); }
    .fixture[aria-pressed="true"] { border-color: #77b797; background: #f3faf5; box-shadow: inset 0 0 0 1px #77b797; }
    .record-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
    .record-box { padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfa; }
    .record-box.proposed { background: #f3faf5; border-color: #cce2d3; }
    .record-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 13px; }
    .record-top strong { font-size: 12px; }
    .record-id { font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--muted); }
    .field { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
    .field label { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 5px; }
    .field .value { font-size: 13px; font-weight: 650; overflow-wrap: anywhere; }
    .change-arrow { display: flex; align-items: center; justify-content: center; color: #7b8d82; }
    .change-arrow svg { transform: rotate(90deg); }
    .proposal-layout { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); gap: 10px; align-items: stretch; }
    .delta { color: var(--green-dark); background: #e7f3eb; border-radius: 5px; padding: 2px 5px; font-size: 10px; margin-left: 5px; }
    .meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
    .meta { border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
    .meta button { padding: 0; border: 0; color: var(--green-dark); background: transparent; cursor: pointer; font-size: 11px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
    .meta p { color: var(--muted); font-size: 10px; line-height: 1.45; margin: 5px 0 0; }
    .status-row { display: flex; gap: 12px; align-items: flex-start; padding: 14px 15px; border: 1px solid var(--line); background: #fafbf9; border-radius: 12px; }
    .status-icon { flex: none; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: var(--green-dark); background: var(--green-soft); }
    .status-icon.reject { color: var(--red); background: var(--red-soft); }
    .status-icon.abstain, .status-icon.wait { color: var(--amber); background: var(--amber-soft); }
    .status-copy { flex: 1; min-width: 0; }
    .status-title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .status-title strong { font-size: 13px; }
    .badge { border-radius: 99px; padding: 4px 8px; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
    .badge.pass { background: var(--green-soft); color: var(--green-dark); }
    .badge.reject { background: var(--red-soft); color: var(--red); }
    .badge.abstain, .badge.wait { background: var(--amber-soft); color: var(--amber); }
    .badge.pending { color: #74551c; background: #fff2d2; }
    .badge.done { color: var(--green-dark); background: var(--green-soft); }
    .status-copy p { color: var(--muted); font-size: 11px; line-height: 1.5; margin: 6px 0 0; }
    .action-row { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 13px; }
    .btn { border: 1px solid transparent; border-radius: 9px; padding: 10px 14px; font-size: 12px; font-weight: 750; cursor: pointer; transition: transform .08s, background .12s; }
    .btn:active { transform: translateY(1px); }
    .btn:disabled { cursor: not-allowed; opacity: .48; }
    .btn-primary { background: var(--green); color: white; }
    .btn-primary:hover:not(:disabled) { background: var(--green-dark); }
    .btn-secondary { background: white; color: var(--ink); border-color: var(--line); }
    .btn-danger { background: var(--red-soft); color: var(--red); border-color: #f2d1cd; }
    .btn-quiet { padding: 7px 10px; color: var(--muted); background: transparent; border-color: transparent; }
    .reviewer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
    .reviewer-note { padding: 10px 11px; border-radius: 9px; border: 1px dashed #d4ddd6; color: var(--muted); font-size: 10px; line-height: 1.45; }
    .receipt { border: 1px solid #cce2d3; background: #f4faf5; border-radius: 12px; padding: 14px; margin-top: 12px; }
    .receipt h3 { margin: 0; font-size: 12px; }
    .receipt p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
    .receipt-code { margin-top: 9px; color: #335c44; background: white; border: 1px solid #dce9df; padding: 9px; border-radius: 7px; overflow-wrap: anywhere; font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; }
    .explain-card { padding: 17px; position: sticky; top: 18px; }
    .explain-card h2 { font-size: 14px; margin: 0; }
    .explain-kicker { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 9px; font-weight: 800; margin: 0 0 8px; }
    .explain-body { color: #526158; font-size: 11px; line-height: 1.65; margin: 9px 0 0; }
    .explain-list { padding-left: 17px; margin: 10px 0 0; color: #526158; font-size: 10px; line-height: 1.7; }
    .timeline { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
    .timeline h3 { margin: 0 0 10px; font-size: 11px; }
    .timeline-item { display: grid; grid-template-columns: 10px 1fr; gap: 8px; margin: 9px 0; font-size: 10px; color: var(--muted); line-height: 1.4; }
    .timeline-dot { width: 7px; height: 7px; margin-top: 3px; border-radius: 50%; background: #9db0a3; }
    .timeline-item strong { display: block; color: var(--ink); font-size: 10px; }
    .footnote { color: #748179; font-size: 10px; line-height: 1.55; margin: 14px 2px 0; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
    dialog { width: min(480px, calc(100vw - 28px)); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 80px rgba(15,35,23,.24); padding: 0; color: var(--ink); }
    dialog::backdrop { background: rgba(18, 31, 24, .38); backdrop-filter: blur(2px); }
    .dialog-content { padding: 22px; }
    .dialog-content h2 { margin: 0; font-size: 18px; letter-spacing: -.03em; }
    .dialog-content p { font-size: 12px; line-height: 1.55; color: var(--muted); }
    .confirm-change { padding: 12px; border: 1px solid var(--line); background: #f8faf7; border-radius: 10px; font-size: 12px; line-height: 1.6; }
    .dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
    @media (max-width: 900px) { .shell { grid-template-columns: minmax(0, 1fr) 270px; } main { padding-inline: 20px; } }
    @media (max-width: 740px) {
      .topbar { min-height: 62px; padding-inline: 16px; }
      .workspace { display: none; }
      main { padding: 24px 14px 42px; }
      .page-head { align-items: flex-start; flex-direction: column; gap: 15px; }
      .head-actions { width: 100%; justify-content: space-between; }
      .shell { grid-template-columns: 1fr; }
      .explain-card { position: static; order: -1; }
      .role-bar { align-items: flex-start; flex-direction: column; }
      .role-select { max-width: none; width: 100%; }
      .card-pad { padding: 17px 15px; }
    }
    @media (max-width: 470px) {
      .record-grid { grid-template-columns: 1fr; }
      .proposal-layout { grid-template-columns: 1fr; }
      .change-arrow { height: 17px; }
      .change-arrow svg { transform: none; }
      .meta-grid, .reviewer-grid { grid-template-columns: 1fr; }
      .fixture-row { display: grid; grid-template-columns: 1fr 1fr; }
      .fixture { min-height: 57px; }
      .demo-flag { font-size: 9px; }
      .brand { font-size: 16px; }
    }
    @media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }

.back-home { color: var(--green-dark); font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

/* Keep the standalone demonstration in the public site's visual family. */
:root { --ink:#163c32; --muted:#52675e; --line:#d9e3d9; --canvas:#fcfdf9; --green:#28684c; --green-dark:#1c4e3c; --green-soft:#edf3e7; --shadow:0 18px 54px -34px #173e3245; }
.topbar { background:#fcfdf9; }
.page-head { padding:28px; border:1px solid var(--line); border-radius:16px; background:#f3f6ed; }
button,select { border-radius:8px; }
.subtitle { line-height:1.8; }
@media(max-width:600px) { .page-head { padding:22px; border-radius:12px; } }
