
  .tpa-rc *,
  .tpa-rc *::before,
  .tpa-rc *::after { box-sizing: border-box; margin: 0; padding: 0; }

  .tpa-rc {
    --ink: #0F1E2E;
    --ink-soft: #33475C;
    --muted: #6B7C8E;
    --paper: #E9EEF3;
    --card: #FFFFFF;
    --line: #D8E0E8;
    --line-soft: #E7ECF1;
    --brand: #0D5C63;
    --brand-deep: #094248;
    --signal: #C0791A;
    --ready: #2E7D5B;
    --dev: #B8862B;
    --risk: #BF4630;
    --shadow: 0 1px 2px rgba(15,30,46,.04), 0 12px 32px rgba(15,30,46,.08);

    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    padding: 28px 20px;
    display: flex;
    justify-content: center;
  }

  .tpa-rc .shell { width: 100%; max-width: 720px; }

  .tpa-rc .card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .tpa-rc .pad { padding: clamp(24px, 5vw, 44px); }

  .tpa-rc .eyebrow {
    font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
    font-size: 12px; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--brand);
    display: inline-flex; align-items: center; gap: 8px;
  }
  .tpa-rc .eyebrow::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%;
    background: var(--signal);
  }

  .tpa-rc h2 {
    font-family: 'Montserrat','Inter',sans-serif;
    font-weight: 700;
    font-size: clamp(26px, 5vw, 38px);
    line-height: 1.08; letter-spacing: -.02em;
    margin: 16px 0 0; text-wrap: balance;
  }
  .tpa-rc .lede {
    color: var(--ink-soft);
    font-size: clamp(15px, 2.4vw, 17px);
    margin-top: 14px; max-width: 54ch;
  }

  /* context panel (signature) */
  .tpa-rc .context {
    margin-top: 30px;
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    background: linear-gradient(180deg, #FFFDF8 0%, #FFFFFF 100%);
    padding: 20px 22px;
  }
  .tpa-rc .ctx-label {
    font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
    font-size: 11px; letter-spacing: .12em;
    text-transform: uppercase; color: var(--signal); font-weight: 600;
  }
  .tpa-rc .ctx-row {
    display: flex; align-items: baseline; gap: 14px; margin-top: 12px; flex-wrap: wrap;
  }
  .tpa-rc .ctx-stat {
    font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
    font-weight: 600; font-size: clamp(30px, 6vw, 42px);
    color: var(--ink); line-height: 1;
  }
  .tpa-rc .ctx-stat span { color: var(--brand); }
  .tpa-rc .ctx-text { color: var(--ink-soft); font-size: 14px; flex: 1 1 240px; }
  .tpa-rc .ctx-note {
    margin-top: 14px; font-size: 13px; color: var(--ink-soft);
    border-top: 1px solid var(--line-soft); padding-top: 12px;
  }
  .tpa-rc .ctx-note b { color: var(--ink); font-weight: 600; }

  .tpa-rc .btn {
    font-family: 'Montserrat','Inter',sans-serif;
    font-weight: 600; font-size: 15px;
    border: none; border-radius: 10px;
    padding: 14px 24px; cursor: pointer;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
    display: inline-flex; align-items: center; gap: 10px;
  }
  .tpa-rc .btn-primary {
    background: var(--brand); color: #fff;
    box-shadow: 0 6px 16px rgba(13,92,99,.24);
  }
  .tpa-rc .btn-primary:hover { background: var(--brand-deep); transform: translateY(-1px); }
  .tpa-rc .btn-primary:disabled {
    background: var(--line); color: var(--muted);
    box-shadow: none; cursor: not-allowed; transform: none;
  }
  .tpa-rc .btn-ghost { background: transparent; color: var(--ink-soft); padding: 14px 16px; }
  .tpa-rc .btn-ghost:hover { color: var(--ink); }
  .tpa-rc .btn-arrow::after { content: "\2192"; font-size: 17px; }

  .tpa-rc .start-row {
    margin-top: 28px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  }
  .tpa-rc .start-meta { font-size: 13px; color: var(--muted); margin-left: 4px; }

  .tpa-rc .qhead {
    display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 22px;
  }
  .tpa-rc .qcount {
    font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace; font-size: 12px;
    letter-spacing: .1em; color: var(--muted); font-weight: 600;
  }
  .tpa-rc .qcount b { color: var(--brand); }
  .tpa-rc .qarea {
    font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace; font-size: 11px;
    letter-spacing: .08em; text-transform: uppercase; color: var(--signal); font-weight: 600;
  }
  .tpa-rc .track {
    height: 4px; background: var(--line-soft); border-radius: 3px;
    overflow: hidden; margin-bottom: 30px;
  }
  .tpa-rc .track > span {
    display: block; height: 100%; background: var(--brand); border-radius: 3px;
    transition: width .35s cubic-bezier(.4,0,.2,1);
  }

  .tpa-rc .qtext {
    font-family: 'Montserrat','Inter',sans-serif; font-weight: 600;
    font-size: clamp(19px, 3.4vw, 24px); line-height: 1.22;
    letter-spacing: -.01em; margin-bottom: 24px; text-wrap: balance;
  }

  .tpa-rc .opts { display: flex; flex-direction: column; gap: 10px; }
  .tpa-rc .opt {
    text-align: left; background: #fff;
    border: 1.5px solid var(--line); border-radius: 12px;
    padding: 16px 18px; cursor: pointer;
    font-family: 'Inter', sans-serif; font-size: 15px; color: var(--ink-soft);
    transition: border-color .12s ease, background .12s ease, transform .08s ease;
    display: flex; align-items: center; gap: 14px;
  }
  .tpa-rc .opt:hover { border-color: var(--brand); background: #F6FBFB; }
  .tpa-rc .opt:active { transform: scale(.995); }
  .tpa-rc .opt .dot {
    width: 20px; height: 20px; border-radius: 50%;
    border: 2px solid var(--line); flex: 0 0 auto; position: relative;
    transition: border-color .12s ease;
  }
  .tpa-rc .opt:hover .dot { border-color: var(--brand); }
  .tpa-rc .opt.sel { border-color: var(--brand); background: #F1F8F8; color: var(--ink); font-weight: 500; }
  .tpa-rc .opt.sel .dot { border-color: var(--brand); }
  .tpa-rc .opt.sel .dot::after {
    content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--brand);
  }

  .tpa-rc .qnav { margin-top: 26px; display: flex; justify-content: space-between; align-items: center; }

  .tpa-rc .res-top { display: flex; gap: clamp(20px, 4vw, 36px); align-items: center; flex-wrap: wrap; }
  .tpa-rc .ring { flex: 0 0 auto; }
  .tpa-rc .res-copy { flex: 1 1 260px; min-width: 240px; }
  .tpa-rc .band-tag {
    display: inline-block; font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace;
    font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    padding: 5px 11px; border-radius: 6px; margin-bottom: 12px;
  }
  .tpa-rc .res-title {
    font-family: 'Montserrat','Inter',sans-serif; font-weight: 700;
    font-size: clamp(21px, 3.6vw, 27px); line-height: 1.15; letter-spacing: -.01em;
  }
  .tpa-rc .res-sub { color: var(--ink-soft); font-size: 15px; margin-top: 10px; }

  .tpa-rc .breakdown { margin-top: 30px; border-top: 1px solid var(--line-soft); padding-top: 24px; }
  .tpa-rc .bd-title {
    font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace; font-size: 11px;
    letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px;
  }
  .tpa-rc .chips { display: flex; flex-direction: column; gap: 8px; }
  .tpa-rc .chip {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 14px; border: 1px solid var(--line-soft); border-radius: 10px; font-size: 14px;
  }
  .tpa-rc .chip .cstat { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
  .tpa-rc .chip .cname { flex: 1; color: var(--ink); }
  .tpa-rc .chip .clevel {
    font-family: ui-monospace,'SF Mono',Menlo,Consolas,monospace; font-size: 11px;
    letter-spacing: .05em; text-transform: uppercase; font-weight: 600;
  }
  .tpa-rc .lv-done { color: var(--ready); }
  .tpa-rc .lv-prog { color: var(--dev); }
  .tpa-rc .lv-none { color: var(--risk); }
  .tpa-rc .st-done { background: var(--ready); }
  .tpa-rc .st-prog { background: var(--dev); }
  .tpa-rc .st-none { background: var(--risk); }

  .tpa-rc .capture {
    margin-top: 30px; background: #F6FAFB;
    border: 1px solid var(--line-soft); border-radius: 14px;
    padding: clamp(20px, 4vw, 30px);
  }
  .tpa-rc .cap-h { font-family: 'Montserrat','Inter',sans-serif; font-weight: 600; font-size: 19px; letter-spacing: -.01em; }
  .tpa-rc .cap-p { color: var(--ink-soft); font-size: 14px; margin-top: 8px; }
  .tpa-rc .fields { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .tpa-rc .field { display: flex; flex-direction: column; gap: 6px; }
  .tpa-rc .field.full { grid-column: 1 / -1; }
  .tpa-rc .field label { font-size: 12px; font-weight: 600; color: var(--ink-soft); letter-spacing: .01em; }
  .tpa-rc .field input,
  .tpa-rc .field select {
    font-family: 'Inter', sans-serif; font-size: 15px; color: var(--ink);
    padding: 11px 13px; border: 1.5px solid var(--line); border-radius: 9px; background: #fff; width: 100%;
  }
  .tpa-rc .field input:focus,
  .tpa-rc .field select:focus {
    outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13,92,99,.12);
  }
  .tpa-rc .cap-submit { margin-top: 16px; width: 100%; justify-content: center; }
  .tpa-rc .cap-fine { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }

  .tpa-rc .thanks { text-align: center; padding: 8px 0; }
  .tpa-rc .thanks .tick {
    width: 52px; height: 52px; border-radius: 50%; background: var(--ready); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 14px;
  }
  .tpa-rc .thanks h3 { font-family: 'Montserrat','Inter',sans-serif; font-size: 20px; font-weight: 600; }
  .tpa-rc .thanks p { color: var(--ink-soft); font-size: 14px; margin-top: 8px; }
  .tpa-rc .thanks .btn { margin-top: 20px; }

  .tpa-rc .foot { margin-top: 18px; text-align: center; font-size: 12px; color: var(--muted); }
  .tpa-rc .foot b { color: var(--ink-soft); font-weight: 600; }

  .tpa-rc .screen { display: none; }
  .tpa-rc .screen.on { display: block; animation: tpaIn .3s ease; }
  @keyframes tpaIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
  .tpa-rc .ring circle.val { transition: stroke-dashoffset 1s cubic-bezier(.3,0,.2,1); }

  @media (max-width: 480px) {
    .tpa-rc .fields { grid-template-columns: 1fr; }
    .tpa-rc .btn-ghost { padding-left: 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    .tpa-rc * { animation: none !important; transition: none !important; }
  }

/* EIXSYS brand recolor */
.tpa-rc{--ink:#0C1B2A;--ink-soft:#39485A;--muted:#5A6B7B;--paper:#F5F8FB;--card:#FFFFFF;--line:#E4EAF1;--line-soft:#EEF3F8;--brand:#1E73BE;--brand-deep:#14538F;--signal:#B26A00;--ready:#0E7C50;--dev:#B8862B;--risk:#BF4630}
