:root {
  --bg: #f3efe6;
  --paper: rgba(255,255,255,.78);
  --ink: #2c2c34;
  --muted: #686873;
  --line: #b8b2c7;
  --accent: #8d7aa8;
  --accent2: #a7b6a2;
  --warm: #d8bf94;
  --shadow: 0 18px 50px rgba(55, 48, 72, .12);
}
* { box-sizing: border-box; }
html, body { margin:0; min-height:100%; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; color:var(--ink); }
body {
  background:
    radial-gradient(circle at 15% 20%, rgba(187,166,210,.30), transparent 26%),
    radial-gradient(circle at 85% 15%, rgba(191,211,190,.30), transparent 24%),
    radial-gradient(circle at 70% 80%, rgba(226,203,164,.28), transparent 28%),
    var(--bg);
  padding: 28px 18px 60px;
}
.noise { position:fixed; inset:0; pointer-events:none; opacity:.055; background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E"); }
.shell { max-width:900px; margin:0 auto; position:relative; }
.topbar { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; margin-bottom:18px; }
.eyebrow { font-size:.82rem; letter-spacing:.16em; color:var(--accent); font-weight:700; }
h1 { margin:.4rem 0 0; font-size:clamp(1.1rem, 2vw, 1.45rem); font-weight:600; }
.status-pill { border:1px solid var(--line); padding:8px 10px; border-radius:999px; background:rgba(255,255,255,.45); font-size:.74rem; color:var(--muted); }
.card { position:relative; background:var(--paper); border:1px solid rgba(125,116,145,.30); border-radius:24px; padding:clamp(22px,4vw,42px); box-shadow:var(--shadow); backdrop-filter: blur(8px); }
.hidden { display:none; }
.hero { min-height:460px; display:flex; flex-direction:column; justify-content:center; }
.stamp { position:absolute; right:28px; top:28px; transform:rotate(4deg); border:2px solid var(--accent); padding:7px 10px; color:var(--accent); font-weight:800; letter-spacing:.08em; }
.kicker { color:var(--muted); text-transform:uppercase; font-size:.78rem; letter-spacing:.08em; }
h2 { font-family: Georgia, 'Times New Roman', serif; font-size:clamp(2rem,6vw,4rem); line-height:.98; margin:.6rem 0 1rem; font-weight:600; }
.lead { max-width:680px; line-height:1.65; color:#4d4d57; font-size:1rem; }
button { font:inherit; }
.primary, .ghost { border-radius:14px; padding:12px 16px; cursor:pointer; transition:.18s ease; }
.primary { background:var(--ink); color:white; border:1px solid var(--ink); box-shadow:0 6px 0 rgba(44,44,52,.12); }
.primary:hover { transform:translateY(-2px) rotate(-.3deg); }
.primary:disabled { opacity:.35; cursor:not-allowed; transform:none; }
.ghost { background:transparent; border:1px dashed var(--line); color:var(--muted); }
.fineprint { margin-top:16px; color:var(--muted); font-size:.75rem; }
.progress-wrap { margin-bottom:28px; }
.progress-meta { display:flex; justify-content:space-between; font-size:.75rem; color:var(--muted); margin-bottom:8px; }
.progress-track { height:11px; border:1px solid var(--line); border-radius:999px; overflow:hidden; background:rgba(255,255,255,.55); }
.progress-bar { height:100%; width:0; background:repeating-linear-gradient(90deg,var(--accent),var(--accent) 12px,transparent 12px,transparent 15px); transition:width .25s ease; }
.question-card { animation:fade .25s ease; }
@keyframes fade { from { opacity:0; transform:translateY(5px);} to {opacity:1; transform:none;} }
.question-number { color:var(--accent); font-size:.76rem; letter-spacing:.12em; text-transform:uppercase; }
.question-title { font-family: Georgia, 'Times New Roman', serif; font-size:clamp(1.45rem,3vw,2.2rem); line-height:1.2; margin:.55rem 0 .4rem; }
.question-note { color:var(--muted); line-height:1.5; margin-bottom:18px; }
.options { display:grid; gap:12px; }
.option { position:relative; width:100%; text-align:left; border:1px solid rgba(130,120,148,.35); background:rgba(255,255,255,.52); padding:14px 16px; border-radius:15px; cursor:pointer; transition:.15s ease; line-height:1.35; }
.option:hover { transform:rotate(.35deg) translateY(-1px); border-color:var(--accent); }
.option.selected { background:#fff; border:2px solid var(--accent); box-shadow:4px 4px 0 rgba(141,122,168,.12); }
.option.selected::after { content:'✓ reluctantly accepted'; position:absolute; right:12px; top:10px; font-size:.62rem; color:var(--accent); }
.controls { display:flex; justify-content:space-between; gap:10px; margin-top:28px; }
.frog-desk { position:fixed; right:18px; bottom:18px; display:flex; align-items:flex-end; gap:8px; z-index:20; }
.frog { border:1px solid rgba(90,90,90,.18); background:rgba(255,255,255,.78); width:54px; height:54px; border-radius:18px; cursor:pointer; font-size:1.65rem; box-shadow:var(--shadow); }
.frog:active { transform:scale(.94) rotate(-3deg); }
.frog-bubble { max-width:220px; background:rgba(255,255,255,.92); border:1px solid rgba(120,120,130,.22); padding:9px 11px; border-radius:13px 13px 4px 13px; font-size:.72rem; color:var(--muted); box-shadow:var(--shadow); }
.report-head { display:flex; justify-content:space-between; gap:18px; align-items:flex-start; border-bottom:1px dashed var(--line); padding-bottom:18px; margin-bottom:22px; }
.report-code { color:var(--muted); font-size:.75rem; }
.result-title { font-family:Georgia, 'Times New Roman', serif; font-size:clamp(2rem,5vw,3.4rem); margin:.35rem 0; }
.result-sub { color:var(--muted); line-height:1.55; }
.metric { margin:15px 0; }
.metric-row { display:flex; justify-content:space-between; gap:12px; font-size:.78rem; margin-bottom:6px; }
.meter { height:10px; border:1px solid var(--line); border-radius:999px; overflow:hidden; }
.meter > div { height:100%; background:var(--accent2); }
.assigned { margin-top:26px; padding:18px; border-radius:18px; border:1px dashed var(--warm); background:rgba(255,250,240,.6); }
.approved { display:inline-block; margin-top:24px; border:2px solid var(--accent); color:var(--accent); padding:8px 12px; font-weight:800; transform:rotate(-2deg); }
.restart { margin-top:20px; }
.tiny { font-size:.7rem; color:var(--muted); margin-top:18px; }
@media (max-width:650px) {
  .topbar { flex-direction:column; }
  .status-pill { align-self:flex-start; }
  .stamp { position:static; align-self:flex-end; margin-bottom:12px; width:max-content; }
  .hero { min-height:0; }
  .progress-meta { gap:12px; }
  .frog-bubble { display:none; }
}
