/* Marine blue guest UX — deep navy, calm trust, one bright green CTA */
@font-face{
  font-family:"Fraunces";
  font-style:normal;
  font-weight:600 700;
  font-display:swap;
  src:url("/fonts/fraunces-latin.woff2") format("woff2");
}
@font-face{
  font-family:"Sora";
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
  src:url("/fonts/sora-latin.woff2") format("woff2");
}

.guest-flow{
  --guest-bg:#0b1f33;
  --guest-bg-mid:#102a43;
  --guest-surface:#163452;
  --guest-surface-2:#1a3d5c;
  --guest-ink:#f4f8fc;
  --guest-body:#d7e3ef;
  --guest-muted:#9bb0c4;
  --guest-line:rgba(215,227,239,.16);
  --guest-line-strong:rgba(215,227,239,.28);
  --guest-green:#1fd98a;
  --guest-green-ink:#06281a;
  --guest-green-deep:#12b56f;
  --guest-fair:#7cc4ff;
  --guest-fair-ink:#9fd0ff;
  --guest-high:#ff9b6b;
  --guest-high-ink:#ffe0d0;
  --guest-warn-bg:rgba(255,155,107,.18);
  --guest-fair-bg:rgba(80,160,230,.22);
  --guest-good-bg:rgba(31,217,138,.18);
  --guest-good-ink:#b8f7d7;
  --guest-unavailable-bg:rgba(155,176,196,.14);
  --guest-unavailable-ink:#d7e3ef;
  --guest-focus:#7cc4ff;
  --guest-radius:14px;
  --guest-font:"Sora",ui-sans-serif,sans-serif;
  --guest-display:"Fraunces",Georgia,"Times New Roman",serif;
  font-family:var(--guest-font);
  font-size:16px;
  line-height:1.5;
  color:var(--guest-body);
  background:
    radial-gradient(1200px 520px at 12% -8%,rgba(54,120,180,.28),transparent 58%),
    radial-gradient(900px 480px at 92% 8%,rgba(31,217,138,.08),transparent 52%),
    linear-gradient(180deg,var(--guest-bg-mid) 0%,var(--guest-bg) 46%,#091828 100%);
  background-attachment:fixed;
  min-height:100vh;
}
.guest-flow main{max-width:440px;margin:0 auto;padding:0 16px 48px}
.guest-flow .hero{padding:12px 0 20px;text-align:left;animation:guest-rise .55s ease both}
.guest-flow .hero h1{
  font-family:var(--guest-display);font-size:1.85rem;line-height:1.12;margin:8px 0;
  color:var(--guest-ink);letter-spacing:-.03em;font-weight:700
}
.guest-flow .hero .sub{margin:0;max-width:none;font-size:1rem;color:var(--guest-body)}
.guest-flow .hero .sub:empty,.guest-public #guestSubtitle[hidden]{display:none!important}
.guest-flow .hero .eyebrow{
  margin:0;font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--guest-muted)
}
.guest-flow .top-links{
  display:flex;align-items:center;gap:6px;margin:0;padding:0;font-size:14px
}
.guest-flow .top-links a:link,
.guest-flow .top-links a:visited{
  font-family:var(--guest-font);
  font-weight:500;
  font-size:14px;
  letter-spacing:.01em;
  line-height:1.2;
  color:var(--guest-body);
  text-decoration:none;
  padding:8px 12px;
  min-height:44px;
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  border:1px solid transparent;
  background:transparent;
  transition:background .18s ease,border-color .18s ease,color .18s ease
}
.guest-flow .top-links a:hover{
  text-decoration:none;
  color:var(--guest-ink);
  background:rgba(215,227,239,.10);
  border-color:var(--guest-line)
}
.guest-flow .top-links a:focus-visible{
  text-decoration:none;
  color:var(--guest-ink);
  background:rgba(215,227,239,.12);
  border-color:var(--guest-line);
  outline:3px solid var(--guest-focus);
  outline-offset:2px
}
.guest-flow label{display:block;font-weight:600;color:var(--guest-ink);margin:14px 0 6px;font-size:1rem}
.guest-flow input, .guest-flow textarea, .guest-flow select{
  font:inherit;font-size:1rem;color:var(--guest-ink);border:1px solid var(--guest-line-strong);
  background:rgba(9,24,40,.55);border-radius:12px;min-height:44px;padding:10px 12px;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease
}
.guest-flow input::placeholder,.guest-flow textarea::placeholder{color:rgba(199,214,228,.95)}
/* Prefer whole-word wraps — overflow-wrap:anywhere caused "Auto R epair"-style breaks */
.guest-flow .card p,.guest-flow .guest-summary,.guest-flow .guest-confirm-vehicle,
.guest-flow .guest-table td,.guest-flow .guest-headline,.guest-flow .guest-range{
  overflow-wrap:break-word;word-break:normal;hyphens:manual
}
.guest-flow input:focus-visible,.guest-flow textarea:focus-visible{
  outline:none;border-color:var(--guest-focus);box-shadow:0 0 0 3px rgba(124,196,255,.28);background:rgba(9,24,40,.75)
}
.guest-flow textarea{min-height:9rem;line-height:1.45}
.guest-flow .fine{font-size:.9375rem;color:var(--guest-muted)}
.guest-flow .consent{font-size:1rem;color:var(--guest-body);margin:16px 0 8px;align-items:center}
.guest-flow .consent input{min-height:20px;min-width:20px;margin-top:0;accent-color:var(--guest-green)}
.guest-flow .consent a{color:var(--guest-green);font-weight:700}
.guest-flow .primary{
  background:var(--guest-green);color:var(--guest-green-ink);min-height:48px;font:inherit;font-size:1.0625rem;font-weight:700;
  border:0;border-radius:12px;margin-top:12px;cursor:pointer;width:100%;
  box-shadow:0 8px 24px rgba(31,217,138,.22);transition:transform .18s ease,box-shadow .18s ease,filter .18s ease
}
.guest-flow .primary:hover:not(:disabled){filter:brightness(1.04);transform:translateY(-1px);box-shadow:0 12px 28px rgba(31,217,138,.28)}
.guest-flow .primary:active:not(:disabled){transform:translateY(0)}
.guest-flow .primary:disabled{opacity:.55;cursor:progress;box-shadow:none}
.guest-flow .primary:focus-visible{outline:3px solid var(--guest-focus);outline-offset:3px}

.guest-public{color:var(--guest-body)}
.guest-public .topbar{
  background:rgba(11,31,51,.82);border-bottom:1px solid var(--guest-line);padding-block:6px;
  backdrop-filter:blur(10px);color:var(--guest-ink)
}
.guest-public .topbar a:link,.guest-public .topbar a:visited{color:var(--guest-body)}
.guest-public .topbar .brand{text-decoration:none;color:var(--guest-ink);font-weight:700;font-size:1.05rem}
.guest-public .logo{
  display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;
  background:var(--guest-green);color:var(--guest-green-ink);font-size:14px;line-height:1;padding:0
}
.guest-public .logo .brand-mark{display:block;width:16px;height:16px}
.guest-public .engine-badge{
  background:rgba(215,227,239,.08);border-color:var(--guest-line);color:var(--guest-muted)
}
.guest-public .hero{background:transparent;box-shadow:none;clip-path:none;color:var(--guest-ink);padding:10px 0 8px}
.guest-public .hero .sub{color:var(--guest-body)}
.guest-public #status:empty,.guest-public #intakeStatus:empty,.guest-public #confirmStatus:empty,.guest-public #copyAskStatus:empty{display:none}
.guest-public #reviewTitle,.guest-public #confirmTitle.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.guest-public #reviewCard,.guest-public #confirmCard,.guest-public .guest-result{border:0;box-shadow:none;padding:0;background:transparent}
.guest-public .guest-upload{margin-bottom:0}
.guest-public .guest-paste-primary{margin-bottom:12px}
.guest-public .guest-result{margin-top:12px}
.guest-flow .card{
  background:var(--guest-surface);border:1px solid var(--guest-line);border-radius:var(--guest-radius);
  box-shadow:0 16px 40px rgba(0,0,0,.22);color:var(--guest-body);animation:guest-rise .55s ease both
}
.guest-flow .card h2{color:var(--guest-ink)}
.guest-public .form-card{margin-top:0}

.guest-steps{margin:8px 0 4px;animation:guest-fade .45s ease both}
.guest-steps ol{display:flex;gap:0;list-style:none;margin:0;padding:0;align-items:center}
.guest-steps li{
  flex:1;text-align:center;font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--guest-muted);position:relative;padding:8px 4px;transition:color .25s ease
}
.guest-steps li + li::before{
  content:"";position:absolute;left:-50%;right:50%;top:50%;height:2px;background:var(--guest-line);z-index:0
}
.guest-steps li span{position:relative;z-index:1;background:transparent;padding:0 4px}
.guest-public .guest-steps li span{background:transparent}
.guest-steps li.is-current{color:var(--guest-ink)}
.guest-steps li.is-done{color:var(--guest-green)}
.guest-steps li.is-current span,.guest-steps li.is-done span{
  border-bottom:2px solid currentColor;padding-bottom:2px
}

/* Text-first intake — prominent paste, compact file secondary */
.guest-paste-primary{margin:0 0 12px;animation:guest-rise .5s ease both}
.guest-paste-primary label{margin-top:0}
.guest-estimate-wrap{position:relative}
.guest-paste-primary textarea{
  min-height:12rem;width:100%;resize:vertical;box-sizing:border-box;
  background:rgba(9,24,40,.62);border-color:var(--guest-line-strong);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04),0 10px 28px rgba(0,0,0,.16)
}
.guest-paste-primary textarea:focus-visible{
  background:rgba(9,24,40,.78)
}
.guest-paste-primary textarea.is-demo-idle::placeholder{color:transparent}
.guest-typing-demo{
  position:absolute;inset:0;z-index:1;margin:0;padding:10px 12px;box-sizing:border-box;
  overflow:hidden;pointer-events:none;border-radius:12px;
  font:inherit;font-size:1rem;line-height:1.45;letter-spacing:normal;
  color:rgba(199,214,228,.78);white-space:pre-wrap;word-break:normal;hyphens:manual
}
.guest-typing-caret{
  display:inline-block;width:1.5px;height:1.05em;margin-left:1px;vertical-align:-0.12em;
  background:rgba(124,196,255,.9);border-radius:1px;animation:guest-caret-blink 1.05s step-end infinite
}
@keyframes guest-caret-blink{50%{opacity:0}}

/* Compact secondary upload — not a huge dropzone */
.guest-upload{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;max-width:100%;
  color:var(--guest-ink);border:1px solid var(--guest-line-strong);border-radius:10px;
  padding:10px 14px;text-align:left;background:rgba(9,24,40,.4);
  margin:0 0 14px;cursor:pointer;box-shadow:none;
  transition:background .18s ease,border-color .18s ease,color .18s ease
}
.guest-upload:hover{
  background:rgba(26,61,92,.85);border-color:rgba(124,196,255,.35);transform:none;box-shadow:none
}
.guest-upload:focus-visible,.guest-upload.drag{
  border-color:var(--guest-green);outline:3px solid rgba(124,196,255,.45);outline-offset:2px;
  background:rgba(26,61,92,.9)
}
.guest-upload-icon{display:inline-flex;color:#8ec5ef;margin:0;flex:0 0 auto}
.guest-upload-label{font:inherit;font-size:.975rem;font-weight:600;color:var(--guest-ink)}
.guest-upload strong{display:inline;margin:0;color:var(--guest-ink);font-size:.975rem}
.guest-upload-copy{display:none}
.guest-paste-link{margin:10px 0 0;text-align:center}
.guest-text-btn,.guest-btn-secondary{
  appearance:none;border:0;background:none;color:var(--guest-green);font:inherit;font-weight:700;
  cursor:pointer;min-height:44px;padding:8px 4px;text-decoration:underline;text-underline-offset:3px
}
.guest-btn-secondary{
  display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--guest-line-strong);border-radius:10px;
  background:rgba(9,24,40,.4);text-decoration:none;padding:10px 14px;color:var(--guest-ink);
  transition:background .18s ease,border-color .18s ease
}
.guest-btn-secondary:hover{background:rgba(26,61,92,.85);border-color:rgba(124,196,255,.35)}
.guest-btn-secondary:focus-visible,.guest-text-btn:focus-visible{outline:3px solid var(--guest-focus);outline-offset:3px}

.guest-file-card{
  display:grid;grid-template-columns:56px 1fr;gap:12px 14px;align-items:center;
  border:1px solid var(--guest-line);border-radius:14px;padding:14px;margin:0 0 14px;
  background:var(--guest-surface);animation:guest-rise .4s ease both
}
.guest-file-card .guest-btn-secondary{grid-column:1 / -1;width:100%}
.guest-file-thumb{
  width:56px;height:56px;border-radius:10px;background:rgba(9,24,40,.55);display:grid;place-items:center;
  color:#8ec5ef;overflow:hidden;font-size:12px;font-weight:800;letter-spacing:.04em
}
.guest-file-thumb img{width:100%;height:100%;object-fit:cover}
.guest-file-body{min-width:0}
.guest-file-body strong{display:block;color:var(--guest-ink);font-size:1rem;overflow-wrap:anywhere}
.guest-file-meta{margin:2px 0 0;color:var(--guest-muted);font-size:.9375rem}
.guest-file-progress{margin:6px 0 0;font-size:.9375rem;font-weight:700;color:var(--guest-body)}
.guest-file-progress[data-state="uploading"],.guest-file-progress[data-state="reading"]{color:#8ec5ef}
#fileReadMeter{display:block;width:100%;height:.65rem;margin-top:.5rem;accent-color:var(--guest-green)}
@media(prefers-reduced-motion:reduce){#fileReadMeter:indeterminate{appearance:none;border:0;border-radius:1rem;background:#8ec5ef}#fileReadMeter:indeterminate::-webkit-progress-bar{background:#8ec5ef;border-radius:1rem}}
.guest-file-progress[data-state="ready"]{color:var(--guest-green)}
.guest-file-progress[data-state="error"]{color:#ff8fab}

.guest-status{min-height:1.25em;margin:8px 0 0;color:var(--guest-body);font-size:1rem}
.guest-shop-label,.guest-work-label{margin:12px 0 6px;font-weight:600;color:var(--guest-ink);font-size:1rem}
.guest-optional{font-weight:500;color:#c7d6e4}
.guest-shop{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 14px}
.guest-shop button{
  appearance:none;border:1px solid var(--guest-line-strong);background:rgba(9,24,40,.45);border-radius:10px;padding:12px 8px;
  font:inherit;font-size:1rem;cursor:pointer;min-height:44px;color:var(--guest-ink);
  transition:background .18s ease,border-color .18s ease,transform .18s ease
}
.guest-shop button:hover{border-color:rgba(124,196,255,.4)}
.guest-shop button[aria-pressed="true"]{
  background:var(--guest-ink);color:var(--guest-bg);border-color:var(--guest-ink);font-weight:700
}
.guest-more{margin:0 0 16px}
.guest-more summary{cursor:pointer;color:var(--guest-ink);font-weight:600;min-height:44px;display:flex;align-items:center}
.guest-more .guest-section{margin-top:8px}

.guest-confirm-lead{margin:0 0 12px;color:var(--guest-body);font-size:1rem}
.guest-confirm-vehicle{margin:0 0 12px;font-weight:700;color:var(--guest-ink);font-size:1.0625rem}
.guest-table-wrap{
  overflow-x:auto;margin:0 0 16px;border:1px solid var(--guest-line);border-radius:12px;
  background:rgba(9,24,40,.4)
}
.guest-table{width:100%;border-collapse:collapse;font-size:1rem}
.guest-table th,.guest-table td{padding:12px 14px;border-bottom:1px solid var(--guest-line);text-align:left;vertical-align:top;color:var(--guest-ink)}
.guest-table thead th{
  background:rgba(22,52,82,.85);font-size:.8125rem;letter-spacing:.03em;text-transform:uppercase;color:#c7d6e4;
  white-space:nowrap
}
.guest-table .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.guest-table tbody tr:last-child td{border-bottom:0}
.guest-table tfoot th,.guest-table tfoot td{border-bottom:0;background:rgba(26,61,92,.55);font-size:1.0625rem}
.guest-confirm-actions{display:grid;gap:10px;margin-top:8px}
.guest-confirm-actions .guest-btn-secondary{width:100%}

.guest-flow .card.guest-result{margin-top:16px;animation:none}
.guest-verdict-card{
  border-radius:18px;padding:22px 18px;margin:0 0 16px;border:1px solid var(--guest-line);
  background:var(--guest-surface)
}
.guest-verdict-card.tone-go,.guest-verdict-card.tone-good{background:var(--guest-good-bg);border-color:rgba(31,217,138,.42)}
.guest-verdict-card.tone-go .guest-headline,.guest-verdict-card.tone-good .guest-headline{color:var(--guest-good-ink)}
.guest-verdict-card.tone-ask,.guest-verdict-card.tone-needs{background:rgba(245,196,84,.14);border-color:rgba(245,196,84,.36)}
.guest-verdict-card.tone-ask .guest-headline,.guest-verdict-card.tone-needs .guest-headline{color:#ffe4a8}
.guest-verdict-card.tone-hold,.guest-verdict-card.tone-high,.guest-verdict-card.tone-warn{background:var(--guest-warn-bg);border-color:rgba(255,155,107,.45)}
.guest-verdict-card.tone-hold .guest-headline,.guest-verdict-card.tone-high .guest-headline,.guest-verdict-card.tone-warn .guest-headline{color:var(--guest-high-ink)}
.guest-verdict-card.tone-fair{background:var(--guest-fair-bg);border-color:rgba(124,196,255,.42)}
.guest-verdict-card.tone-fair .guest-headline{color:var(--guest-fair-ink)}
.guest-verdict-card.tone-unavailable{
  background:var(--guest-unavailable-bg);border-color:rgba(199,214,228,.28)
}
.guest-verdict-card.tone-unavailable .guest-headline{
  color:var(--guest-unavailable-ink)
}
.guest-verdict-card.tone-rejected{background:#391f2b;border-color:#f7828b}
.guest-verdict-card.tone-rejected .guest-headline{color:#ffd9de}
.guest-verdict-card.tone-low{background:rgba(124,196,255,.14);border-color:rgba(124,196,255,.36)}
.guest-verdict-card.tone-low .guest-headline{color:#cfe8ff}
.guest-verdict-card.tone-medium,.guest-verdict-card.tone-neutral{
  background:rgba(155,176,196,.12);border-color:rgba(199,214,228,.24)
}
.guest-verdict-card.tone-medium .guest-headline,.guest-verdict-card.tone-neutral .guest-headline{
  color:var(--guest-unavailable-ink)
}
.guest-verdict-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-bottom:10px}
.guest-verdict-meta .guest-badge{margin:0}
.guest-marine-label{
  font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--guest-muted)
}
.guest-judge{display:inline-flex;align-items:center;gap:6px;color:var(--guest-ink);font-size:.875rem;font-weight:700}
.guest-judge-avatar{
  display:grid;place-items:center;width:30px;height:30px;border-radius:50%;
  background:rgba(31,217,138,.16);font-size:17px;color:var(--guest-green)
}
.guest-badge{display:inline-block;font-size:.75rem;font-weight:800;letter-spacing:.04em;padding:6px 10px;border-radius:8px;margin:0 0 10px}
.guest-badge-high{background:rgba(31,217,138,.2);color:#b8f7d7}
.guest-badge-warn{background:rgba(255,155,107,.24);color:#ffd2c2}
.guest-badge-needs{background:rgba(245,196,84,.22);color:#ffe4a8}
.guest-badge-low{background:rgba(124,196,255,.22);color:#cfe8ff}
.guest-badge-medium{background:rgba(155,176,196,.2);color:var(--guest-unavailable-ink)}
.guest-badge-neutral{background:rgba(155,176,196,.2);color:var(--guest-unavailable-ink)}
.guest-headline{
  font-family:var(--guest-display);font-size:1.75rem;line-height:1.15;margin:0 0 10px;
  letter-spacing:-.02em;color:var(--guest-ink);font-weight:700
}
.guest-action-support{
  margin:0 0 8px;font-size:1.05rem;line-height:1.4;color:var(--guest-ink);font-weight:500
}
.guest-fairness-line{
  margin:0 0 10px;font-size:.875rem;line-height:1.35;color:var(--guest-muted);font-weight:500
}
.guest-range{font-size:1.5rem;line-height:1.2;margin:0 0 10px;font-weight:700;color:var(--guest-ink);font-variant-numeric:tabular-nums}
.guest-summary{color:var(--guest-body);margin:0 0 12px;font-size:1rem}
.guest-job-context{color:var(--guest-body);margin:0;font-size:1rem;line-height:1.45}
.guest-confidence{margin:0 0 7px;color:var(--guest-ink);font-size:.9rem}
.guest-next-step{
  margin:14px 0 0;padding:12px 14px;border-radius:12px;background:rgba(9,24,40,.45);
  color:var(--guest-ink);font-size:1rem;border:1px solid var(--guest-line)
}
.guest-next-step strong{display:block;margin-bottom:4px;font-size:.8125rem;letter-spacing:.04em;text-transform:uppercase;color:var(--guest-muted)}
.guest-scale,.guest-action-gauge{margin:0 0 14px}
/* Concern dial: red → amber → green (Hold off → Ask first → Go ahead) */
.guest-scale-track,.guest-action-gauge-track{
  position:relative;height:10px;border-radius:999px;
  background:linear-gradient(90deg,#d64545 0%,#e6b422 50%,#2f9e5c 100%);margin:8px 0 6px
}
.guest-scale-needle,.guest-action-gauge-needle{
  position:absolute;top:50%;left:var(--needle,50%);width:16px;height:16px;border-radius:50%;
  background:#fff;border:3px solid var(--guest-ink);transform:translate(-50%,-50%);box-shadow:0 1px 2px rgba(0,0,0,.25);
  animation:guest-needle .55s cubic-bezier(.2,.7,.2,1) both
}
.guest-scale-labels,.guest-action-gauge-labels{display:flex;justify-content:space-between;font-size:.8125rem;color:var(--guest-muted)}
.guest-section{margin:0 0 16px}
.guest-section h3{font-size:.8125rem;letter-spacing:.04em;text-transform:uppercase;color:var(--guest-muted);margin:0 0 6px}
.guest-section ul{margin:0;padding-left:18px}
.guest-section li{margin:4px 0;color:var(--guest-body);font-size:1rem}
.guest-attractive-section{
  margin:0 0 18px;padding:16px 16px 14px;border-radius:16px;border:1px solid var(--guest-line);
  background:rgba(9,24,40,.35)
}
.guest-attractive-section h3{
  margin:0 0 12px;font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;
  color:#9ec4e8;font-weight:700
}
/* Credibility detail under the action hero — one tap, does not compete with Go/Ask/Hold */
.guest-detail{
  margin:0 0 12px;border-radius:16px;border:1px solid var(--guest-line);
  background:rgba(9,24,40,.28);overflow:hidden
}
.guest-detail > summary{
  list-style:none;cursor:pointer;padding:14px 16px;font-size:.8125rem;font-weight:700;
  letter-spacing:.06em;text-transform:uppercase;color:#9ec4e8;
  display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;
  box-sizing:border-box
}
.guest-detail > summary::-webkit-details-marker{display:none}
.guest-detail > summary::after{
  content:"";width:8px;height:8px;border-right:2px solid var(--guest-muted);border-bottom:2px solid var(--guest-muted);
  transform:rotate(45deg);transition:transform .18s ease;flex:0 0 auto;margin-top:-4px
}
.guest-detail[open] > summary::after{transform:rotate(225deg);margin-top:4px}
.guest-detail > summary:focus-visible{
  outline:3px solid var(--guest-focus);outline-offset:-3px
}
.guest-detail-body{padding:0 16px 16px}
.guest-detail-optional > summary{color:var(--guest-muted);font-weight:600}
.guest-checked-list{margin:0;display:grid;gap:10px}
.guest-checked-row{display:grid;grid-template-columns:7.5rem 1fr;gap:10px 12px;align-items:start}
.guest-checked-row dt{margin:0;color:var(--guest-muted);font-size:.9375rem}
.guest-checked-row dd{margin:0;color:var(--guest-ink);font-size:1rem;overflow-wrap:anywhere}
.guest-line-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.guest-line-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.guest-line-main{display:grid;gap:2px;min-width:0}
.guest-line-main strong{color:var(--guest-ink);font-size:1rem;overflow-wrap:anywhere}
.guest-line-detail{color:var(--guest-body);font-size:.9375rem;font-variant-numeric:tabular-nums}
.guest-line-note{color:var(--guest-muted);font-size:.875rem}
.guest-line-tag{
  flex:0 0 auto;align-self:center;font-size:.75rem;font-weight:800;letter-spacing:.02em;
  padding:6px 10px;border-radius:999px;white-space:nowrap
}
.guest-line-tag-inline{background:rgba(31,217,138,.18);color:#b8f7d7}
.guest-line-tag-low{background:rgba(124,196,255,.2);color:#cfe8ff}
.guest-line-tag-unassessed{background:#273d52;color:#d7e3ef}
.guest-line-tag-high,.guest-line-tag-attention{background:rgba(245,196,84,.22);color:#ffe4a8}
.guest-line-row.is-attention{
  margin:0 -6px;padding:8px 6px;border-radius:10px;
  background:rgba(245,196,84,.10);border:1px solid rgba(245,196,84,.28)
}
.guest-attractive-list{margin:0;padding-left:1.2rem;display:grid;gap:8px}
.guest-attractive-list li{color:var(--guest-ink);font-size:1rem;overflow-wrap:anywhere}
.guest-disclaimer{background:rgba(9,24,40,.45);border-radius:10px;padding:12px 14px;margin:0 0 14px;color:var(--guest-body);font-size:1rem;border:1px solid var(--guest-line)}
.guest-ask{margin:0 0 12px;color:var(--guest-ink);font-size:1rem}
.guest-result-actions{display:grid;gap:10px;margin-top:8px}
.guest-result-actions .primary,.guest-result-actions .guest-btn-secondary{width:100%;box-sizing:border-box}
.guest-result-links{margin:14px 0 0;text-align:center;color:var(--guest-muted);font-size:.9375rem}
.guest-text-link{
  appearance:none;border:0;background:none;padding:0;margin:0;color:#9ec4e8;font:inherit;font-size:inherit;
  cursor:pointer;text-decoration:underline;text-underline-offset:3px;min-height:auto
}
.guest-text-link:hover{color:var(--guest-ink)}
.guest-save-note{margin-top:10px;text-align:center}
.guest-save-link{margin:14px 0 0;text-align:center}
.guest-save-link .primary{width:100%;box-sizing:border-box}
@media (max-width:520px){
  .guest-checked-row{grid-template-columns:1fr;gap:2px}
}
.guest-choice{display:grid;gap:8px;margin:0 0 14px}
.guest-choice button{
  text-align:left;border:1px solid var(--guest-line-strong);background:rgba(9,24,40,.45);border-radius:12px;
  padding:14px;font:inherit;font-size:1rem;cursor:pointer;min-height:48px;color:var(--guest-ink);
  transition:background .18s ease,border-color .18s ease
}
.guest-choice button[aria-pressed="true"]{border-color:var(--guest-green);background:rgba(31,217,138,.12);font-weight:700}
.guest-seg{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 14px}
.guest-seg button{
  appearance:none;border:1px solid var(--guest-line-strong);background:rgba(9,24,40,.45);border-radius:10px;
  padding:12px 8px;font:inherit;font-size:1rem;cursor:pointer;min-height:44px;color:var(--guest-ink)
}
.guest-seg button[aria-pressed="true"]{background:var(--guest-ink);color:var(--guest-bg);border-color:var(--guest-ink)}
#saveTitle:focus,#followupTitle:focus,#confirmTitle:focus,#resultTitle:focus{outline:3px solid var(--guest-focus);outline-offset:4px}
.paste-panel[hidden],#fileInput{display:none}
.guest-file-card + .guest-upload,.guest-upload + .guest-file-card{margin-top:0}
.guest-restart{
  display:flex;width:100%;box-sizing:border-box;margin:0 0 14px;justify-content:center
}

@keyframes guest-rise{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:none}
}
@keyframes guest-fade{
  from{opacity:0}
  to{opacity:1}
}
@keyframes guest-needle{
  from{transform:translate(-50%,-50%) scale(.6);opacity:0}
  to{transform:translate(-50%,-50%) scale(1);opacity:1}
}
@media (prefers-reduced-motion:reduce){
  .guest-flow .hero,.guest-public .card,.guest-file-card,.guest-verdict-card,.guest-steps,.guest-scale-needle,
  .guest-action-gauge-needle,.guest-upload,.guest-flow .primary{animation:none!important;transition:none!important}
  .guest-typing-demo{display:none!important}
  .guest-paste-primary textarea.is-demo-idle::placeholder{color:rgba(199,214,228,.95)}
  .guest-typing-caret{animation:none!important}
}

@media (min-width:760px){
  .guest-flow main{width:100%;max-width:720px;padding-inline:28px}
  .guest-flow .hero h1{font-size:2.4rem}
  .guest-headline{font-size:2rem}
  .guest-range{font-size:1.75rem}
  .guest-confirm-actions{grid-template-columns:1fr 1fr}
  .guest-file-card{grid-template-columns:64px 1fr auto;align-items:center}
  .guest-file-card .guest-btn-secondary{grid-column:auto;width:auto}
}

.guest-scale-needle.needle-0,.guest-action-gauge-needle.needle-0{left:0%}
.guest-scale-needle.needle-1,.guest-action-gauge-needle.needle-1{left:1%}
.guest-scale-needle.needle-2,.guest-action-gauge-needle.needle-2{left:2%}
.guest-scale-needle.needle-3,.guest-action-gauge-needle.needle-3{left:3%}
.guest-scale-needle.needle-4,.guest-action-gauge-needle.needle-4{left:4%}
.guest-scale-needle.needle-5,.guest-action-gauge-needle.needle-5{left:5%}
.guest-scale-needle.needle-6,.guest-action-gauge-needle.needle-6{left:6%}
.guest-scale-needle.needle-7,.guest-action-gauge-needle.needle-7{left:7%}
.guest-scale-needle.needle-8,.guest-action-gauge-needle.needle-8{left:8%}
.guest-scale-needle.needle-9,.guest-action-gauge-needle.needle-9{left:9%}
.guest-scale-needle.needle-10,.guest-action-gauge-needle.needle-10{left:10%}
.guest-scale-needle.needle-11,.guest-action-gauge-needle.needle-11{left:11%}
.guest-scale-needle.needle-12,.guest-action-gauge-needle.needle-12{left:12%}
.guest-scale-needle.needle-13,.guest-action-gauge-needle.needle-13{left:13%}
.guest-scale-needle.needle-14,.guest-action-gauge-needle.needle-14{left:14%}
.guest-scale-needle.needle-15,.guest-action-gauge-needle.needle-15{left:15%}
.guest-scale-needle.needle-16,.guest-action-gauge-needle.needle-16{left:16%}
.guest-scale-needle.needle-17,.guest-action-gauge-needle.needle-17{left:17%}
.guest-scale-needle.needle-18,.guest-action-gauge-needle.needle-18{left:18%}
.guest-scale-needle.needle-19,.guest-action-gauge-needle.needle-19{left:19%}
.guest-scale-needle.needle-20,.guest-action-gauge-needle.needle-20{left:20%}
.guest-scale-needle.needle-21,.guest-action-gauge-needle.needle-21{left:21%}
.guest-scale-needle.needle-22,.guest-action-gauge-needle.needle-22{left:22%}
.guest-scale-needle.needle-23,.guest-action-gauge-needle.needle-23{left:23%}
.guest-scale-needle.needle-24,.guest-action-gauge-needle.needle-24{left:24%}
.guest-scale-needle.needle-25,.guest-action-gauge-needle.needle-25{left:25%}
.guest-scale-needle.needle-26,.guest-action-gauge-needle.needle-26{left:26%}
.guest-scale-needle.needle-27,.guest-action-gauge-needle.needle-27{left:27%}
.guest-scale-needle.needle-28,.guest-action-gauge-needle.needle-28{left:28%}
.guest-scale-needle.needle-29,.guest-action-gauge-needle.needle-29{left:29%}
.guest-scale-needle.needle-30,.guest-action-gauge-needle.needle-30{left:30%}
.guest-scale-needle.needle-31,.guest-action-gauge-needle.needle-31{left:31%}
.guest-scale-needle.needle-32,.guest-action-gauge-needle.needle-32{left:32%}
.guest-scale-needle.needle-33,.guest-action-gauge-needle.needle-33{left:33%}
.guest-scale-needle.needle-34,.guest-action-gauge-needle.needle-34{left:34%}
.guest-scale-needle.needle-35,.guest-action-gauge-needle.needle-35{left:35%}
.guest-scale-needle.needle-36,.guest-action-gauge-needle.needle-36{left:36%}
.guest-scale-needle.needle-37,.guest-action-gauge-needle.needle-37{left:37%}
.guest-scale-needle.needle-38,.guest-action-gauge-needle.needle-38{left:38%}
.guest-scale-needle.needle-39,.guest-action-gauge-needle.needle-39{left:39%}
.guest-scale-needle.needle-40,.guest-action-gauge-needle.needle-40{left:40%}
.guest-scale-needle.needle-41,.guest-action-gauge-needle.needle-41{left:41%}
.guest-scale-needle.needle-42,.guest-action-gauge-needle.needle-42{left:42%}
.guest-scale-needle.needle-43,.guest-action-gauge-needle.needle-43{left:43%}
.guest-scale-needle.needle-44,.guest-action-gauge-needle.needle-44{left:44%}
.guest-scale-needle.needle-45,.guest-action-gauge-needle.needle-45{left:45%}
.guest-scale-needle.needle-46,.guest-action-gauge-needle.needle-46{left:46%}
.guest-scale-needle.needle-47,.guest-action-gauge-needle.needle-47{left:47%}
.guest-scale-needle.needle-48,.guest-action-gauge-needle.needle-48{left:48%}
.guest-scale-needle.needle-49,.guest-action-gauge-needle.needle-49{left:49%}
.guest-scale-needle.needle-50,.guest-action-gauge-needle.needle-50{left:50%}
.guest-scale-needle.needle-51,.guest-action-gauge-needle.needle-51{left:51%}
.guest-scale-needle.needle-52,.guest-action-gauge-needle.needle-52{left:52%}
.guest-scale-needle.needle-53,.guest-action-gauge-needle.needle-53{left:53%}
.guest-scale-needle.needle-54,.guest-action-gauge-needle.needle-54{left:54%}
.guest-scale-needle.needle-55,.guest-action-gauge-needle.needle-55{left:55%}
.guest-scale-needle.needle-56,.guest-action-gauge-needle.needle-56{left:56%}
.guest-scale-needle.needle-57,.guest-action-gauge-needle.needle-57{left:57%}
.guest-scale-needle.needle-58,.guest-action-gauge-needle.needle-58{left:58%}
.guest-scale-needle.needle-59,.guest-action-gauge-needle.needle-59{left:59%}
.guest-scale-needle.needle-60,.guest-action-gauge-needle.needle-60{left:60%}
.guest-scale-needle.needle-61,.guest-action-gauge-needle.needle-61{left:61%}
.guest-scale-needle.needle-62,.guest-action-gauge-needle.needle-62{left:62%}
.guest-scale-needle.needle-63,.guest-action-gauge-needle.needle-63{left:63%}
.guest-scale-needle.needle-64,.guest-action-gauge-needle.needle-64{left:64%}
.guest-scale-needle.needle-65,.guest-action-gauge-needle.needle-65{left:65%}
.guest-scale-needle.needle-66,.guest-action-gauge-needle.needle-66{left:66%}
.guest-scale-needle.needle-67,.guest-action-gauge-needle.needle-67{left:67%}
.guest-scale-needle.needle-68,.guest-action-gauge-needle.needle-68{left:68%}
.guest-scale-needle.needle-69,.guest-action-gauge-needle.needle-69{left:69%}
.guest-scale-needle.needle-70,.guest-action-gauge-needle.needle-70{left:70%}
.guest-scale-needle.needle-71,.guest-action-gauge-needle.needle-71{left:71%}
.guest-scale-needle.needle-72,.guest-action-gauge-needle.needle-72{left:72%}
.guest-scale-needle.needle-73,.guest-action-gauge-needle.needle-73{left:73%}
.guest-scale-needle.needle-74,.guest-action-gauge-needle.needle-74{left:74%}
.guest-scale-needle.needle-75,.guest-action-gauge-needle.needle-75{left:75%}
.guest-scale-needle.needle-76,.guest-action-gauge-needle.needle-76{left:76%}
.guest-scale-needle.needle-77,.guest-action-gauge-needle.needle-77{left:77%}
.guest-scale-needle.needle-78,.guest-action-gauge-needle.needle-78{left:78%}
.guest-scale-needle.needle-79,.guest-action-gauge-needle.needle-79{left:79%}
.guest-scale-needle.needle-80,.guest-action-gauge-needle.needle-80{left:80%}
.guest-scale-needle.needle-81,.guest-action-gauge-needle.needle-81{left:81%}
.guest-scale-needle.needle-82,.guest-action-gauge-needle.needle-82{left:82%}
.guest-scale-needle.needle-83,.guest-action-gauge-needle.needle-83{left:83%}
.guest-scale-needle.needle-84,.guest-action-gauge-needle.needle-84{left:84%}
.guest-scale-needle.needle-85,.guest-action-gauge-needle.needle-85{left:85%}
.guest-scale-needle.needle-86,.guest-action-gauge-needle.needle-86{left:86%}
.guest-scale-needle.needle-87,.guest-action-gauge-needle.needle-87{left:87%}
.guest-scale-needle.needle-88,.guest-action-gauge-needle.needle-88{left:88%}
.guest-scale-needle.needle-89,.guest-action-gauge-needle.needle-89{left:89%}
.guest-scale-needle.needle-90,.guest-action-gauge-needle.needle-90{left:90%}
.guest-scale-needle.needle-91,.guest-action-gauge-needle.needle-91{left:91%}
.guest-scale-needle.needle-92,.guest-action-gauge-needle.needle-92{left:92%}
.guest-scale-needle.needle-93,.guest-action-gauge-needle.needle-93{left:93%}
.guest-scale-needle.needle-94,.guest-action-gauge-needle.needle-94{left:94%}
.guest-scale-needle.needle-95,.guest-action-gauge-needle.needle-95{left:95%}
.guest-scale-needle.needle-96,.guest-action-gauge-needle.needle-96{left:96%}
.guest-scale-needle.needle-97,.guest-action-gauge-needle.needle-97{left:97%}
.guest-scale-needle.needle-98,.guest-action-gauge-needle.needle-98{left:98%}
.guest-scale-needle.needle-99,.guest-action-gauge-needle.needle-99{left:99%}
.guest-scale-needle.needle-100,.guest-action-gauge-needle.needle-100{left:100%}
