.page.content-page.report-workspace{--rp-ink:#19372a;--rp-muted:#50665a;--rp-line:#dce6dc;--rp-card:#fffefa;--rp-input:#f5f8f3;--rp-green:#315843;--rp-tint:#eaf2e7;--rp-attn:#80531f;width:100%;max-width:1160px;margin-inline:auto;padding:24px clamp(14px,3.8vw,43px) 40px}
[data-theme=dark] .page.content-page.report-workspace{--rp-ink:#e9f3e8;--rp-muted:#b6cabd;--rp-line:#43584a;--rp-card:#212f26;--rp-input:#18281e;--rp-green:#c5e5b7;--rp-tint:#2d4436;--rp-attn:#f0cc93}
.report-workspace [hidden]{display:none!important}
.report-workspace :is(a,button,summary,textarea):focus-visible{outline:2px solid #709962;outline-offset:3px}
.report-hero{isolation:isolate;position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(205px,.6fr);gap:20px;align-items:end;background:linear-gradient(112deg,#183429 8%,#264a36 57%,#395842);color:#f6faf3;border-radius:25px;padding:24px clamp(22px,4vw,42px) 30px;box-shadow:0 12px 40px #1c3b2b21}
.report-hero::after{content:"";z-index:-1;position:absolute;left:auto;right:-100px;top:-145px;width:430px;aspect-ratio:1;border-radius:50%;background:repeating-radial-gradient(circle at center,transparent 0 32px,#e2f5d21a 33px 34px,transparent 35px 49px);pointer-events:none}
.report-hero-main{min-width:0}
.report-back{color:#eef7e9;min-height:44px;display:inline-flex;align-items:center;gap:6px;text-decoration:none;font-size:13px;font-weight:750}
.report-back:hover{text-decoration:underline;text-underline-offset:4px}
.report-hero .report-back:focus-visible{outline-color:#f1ffd9}
.report-kicker{font-size:10px;font-weight:850;letter-spacing:.12em;color:#d4ead0;text-transform:uppercase;margin:8px 0 7px}
.report-kicker span{margin-inline:3px;color:#aaD69f}
.report-hero h1{font-size:clamp(32px,4.8vw,61px);font-weight:840;letter-spacing:-.056em;line-height:1.05;margin:0 0 12px;overflow-wrap:break-word}
.report-hero p{font-size:clamp(13px,1.7vw,15px);max-width:63ch;color:#e4f1e1;line-height:1.6;margin:0}
.report-hero-outcome{display:grid;align-self:end;min-width:0;gap:6px;padding:15px 17px;border-radius:13px;background:#112a2080;border:1px solid #cde8c844}
.report-hero-outcome span{font-size:10px;font-weight:800;color:#d0e9cb;letter-spacing:.11em}
.report-hero-outcome strong{font-size:15px;line-height:1.35;color:#f2f9f0}
.report-layout{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(205px,.72fr);align-items:start;gap:18px;margin-top:17px}
.report-main,.report-aside{display:grid;min-width:0;gap:14px}
.report-card{min-width:0;border:1px solid var(--rp-line);border-radius:18px;background:var(--rp-card);padding:clamp(15px,2.6vw,24px);color:var(--rp-ink)}
.report-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px 12px;flex-wrap:wrap}
.report-muted-kicker{color:var(--rp-muted);font-size:10px;font-weight:850;letter-spacing:.12em}
.report-card h2{color:var(--rp-ink);font-size:clamp(19px,2.5vw,24px);line-height:1.18;letter-spacing:-.04em;margin:5px 0 0}
.report-badge,.report-optional{display:inline-block;max-width:100%;line-height:1.3;border:1px solid var(--rp-line);border-radius:999px;background:var(--rp-input);color:var(--rp-muted);padding:5px 9px;font-size:11px;font-weight:800}
.report-badge[data-state=done],.report-badge[data-state=draft]{background:var(--rp-tint);color:var(--rp-green)}
.report-badge:is([data-state=stale],[data-state=error]){color:var(--rp-attn);border-color:currentColor}
.report-status,.report-guide p,.report-blocker p,.report-legacy p{color:var(--rp-muted);margin:9px 0 0;line-height:1.55;font-size:14px;overflow-wrap:anywhere}
.report-status[data-state=stale],.report-status[data-state=error]{color:var(--rp-attn)}
.report-blocker{margin-top:13px;padding:10px 13px;background:var(--rp-input);border-left:3px solid #91aa86;border-radius:0 9px 9px 0}
.report-blocker p{margin:0}
.report-indicator{height:4px;margin-top:14px;background:var(--rp-tint);border-radius:9px;overflow:hidden}
.report-indicator i{display:block;width:40%;height:100%;border-radius:9px;background:#628a64;animation:report-move 1.25s ease-in-out infinite}
@keyframes report-move{0%{transform:translateX(-100%)}100%{transform:translateX(350%)}}
.report-result{display:grid;gap:8px;margin-top:14px;min-width:0}
.report-summary,.report-long{border:1px solid var(--rp-line);border-radius:12px;overflow:hidden;background:var(--rp-input)}
.report-summary summary,.report-long summary,.report-legacy summary{list-style:none;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:7px;padding:7px 13px;color:var(--rp-ink);font-size:14px;font-weight:820;cursor:pointer}
.report-summary summary::-webkit-details-marker,.report-long summary::-webkit-details-marker,.report-legacy summary::-webkit-details-marker{display:none}
.report-result details[open] summary{border-bottom:1px solid var(--rp-line)}
.report-result details[open] summary span{transform:rotate(180deg)}
.report-prose{padding:12px 14px 15px;color:var(--rp-ink);font-size:14px;line-height:1.65;overflow-wrap:anywhere;word-break:break-word}
.report-prose :is(p,h3,ul,ol){margin:0 0 10px}
.report-prose :last-child{margin-bottom:0}
.report-prose h3{font-size:16px;line-height:1.3;margin-top:13px}
.report-prose :is(ol,ul){padding-left:20px}
.report-prose li+li{margin-top:5px}
.report-prose a{color:var(--rp-green);text-decoration:underline;text-underline-offset:3px}
.report-prose code{background:var(--rp-tint);padding:1px 4px;border-radius:3px}
.report-material-card textarea{display:block;width:100%;min-height:105px;max-height:48vh;resize:vertical;border:1px solid var(--rp-line);border-radius:12px;background:var(--rp-input);color:var(--rp-ink);padding:10px 13px;margin-top:13px;font:inherit;font-size:16px;line-height:1.45}
.report-material-card textarea::placeholder{color:var(--rp-muted);opacity:1}
.report-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:13px}
.report-actions p{margin:0;color:var(--rp-muted);font-size:11px;line-height:1.45}
.report-primary,.report-secondary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;max-width:100%;border:0;border-radius:10px;padding:9px 14px;font:inherit;font-size:13px;line-height:1.3;font-weight:800;text-decoration:none;cursor:pointer}
.report-primary{background:#2b533d;color:#fff}
.report-primary:hover:not(:disabled){background:#37654b}
.report-primary:disabled{opacity:.49;cursor:not-allowed}
.report-secondary{color:var(--rp-green);background:transparent;padding-inline:0}
.report-secondary:hover{text-decoration:underline;text-underline-offset:3px}
.report-neighbors{display:grid;gap:9px;padding-block:12px}
.report-neighbors a{display:grid;gap:2px;color:var(--rp-ink);text-decoration:none;min-height:44px;align-content:center;padding:5px 0;}
.report-neighbors a+a{border-top:1px solid var(--rp-line);padding-top:11px}
.report-neighbors a:hover strong{text-decoration:underline;text-underline-offset:3px}
.report-neighbors span{font-size:11px;color:var(--rp-muted)}
.report-neighbors strong{font-size:14px}
.report-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.report-group .report-hero{display:block}
.report-group-list{display:grid;gap:9px;list-style:none;margin:17px 0 0;padding:0}
.report-group-list a{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:13px;align-items:center;text-decoration:none;color:var(--rp-ink);border:1px solid var(--rp-line);border-radius:14px;background:var(--rp-card);padding:12px;min-height:61px}
.report-group-list a:hover{border-color:#81a176}
.report-group-list a>span{display:grid;place-content:center;background:var(--rp-tint);color:var(--rp-green);border-radius:9px;height:34px;font-size:12px;font-weight:800}
.report-group-list a strong,.report-group-list a small{display:block}
.report-group-list a small{margin-top:3px;color:var(--rp-muted);font-size:12px}
@media(max-width:730px){.page.content-page.report-workspace{padding:14px 13px 26px}.report-hero{grid-template-columns:1fr;gap:12px;border-radius:18px;padding:9px 17px 17px}.report-hero h1{font-size:clamp(30px,9vw,42px)}.report-hero-outcome{padding:9px 11px;gap:3px}.report-hero-outcome strong{font-size:13px}.report-layout{grid-template-columns:1fr;gap:12px;margin-top:12px}.report-main,.report-aside{gap:11px}.report-card{border-radius:14px}.report-material-card textarea{min-height:96px}}
@media(prefers-reduced-motion:reduce){.report-indicator i{animation:none}}

.report-guidance{margin-top:15px}.report-guidance>label{display:block;color:var(--rp-ink);font-size:clamp(16px,2.5vw,20px);font-weight:800;line-height:1.35}.report-guidance p{margin:5px 0 10px;color:var(--rp-muted);font-size:13px;line-height:1.45}
.report-examples{background:var(--rp-input);border:1px solid var(--rp-line);border-radius:12px;padding:0 12px 4px}.report-examples summary{min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:6px;cursor:pointer;font-size:13px;font-weight:800;list-style:none}.report-examples summary::-webkit-details-marker{display:none}.report-examples[open] summary span{transform:rotate(180deg)}
.report-examples ul{margin:0 0 7px;padding-left:18px;color:var(--rp-muted);font-size:13px;line-height:1.44}.report-examples li+li{margin-top:5px}

.report-bio-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px;margin-top:15px}
.report-bio-fields label{display:grid;align-content:start;gap:6px;min-width:0;color:var(--rp-ink);font-size:13px;font-weight:750}
.report-bio-fields input,.report-bio-fields textarea{box-sizing:border-box;width:100%;min-width:0;border:1px solid var(--rp-line);border-radius:12px;background:var(--rp-input);color:var(--rp-ink);padding:9px 12px;font:inherit;font-size:16px;line-height:1.45}
.report-bio-fields textarea{min-height:72px;max-height:48vh;resize:vertical}
.report-bio-fields input::placeholder,.report-bio-fields textarea::placeholder{color:var(--rp-muted);opacity:1}
.report-bio .report-actions p:empty{display:none}
@media(max-width:630px){.report-bio-fields{grid-template-columns:1fr}}

.report-quality{padding:12px 14px;border:1px solid var(--rp-line);background:var(--rp-input);border-radius:13px;color:var(--rp-ink);overflow-wrap:anywhere}
.report-quality[hidden]{display:none}
.report-quality[data-quality=needs_review]{border-inline-start:4px solid #af8041}
.report-quality h3{font-size:14px;margin:0 0 5px}
.report-quality p,.report-quality li{font-size:13px;line-height:1.45;margin:0}
.report-quality ul{padding-inline-start:19px;margin:8px 0 0}
.report-quality li+li{margin-top:8px}
.report-quality li span{display:block;color:var(--rp-muted)}

.report-stage-chat>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-weight:700;min-height:44px}
.report-stage-chat>summary::-webkit-details-marker{display:none}
.report-stage-chat p{overflow-wrap:anywhere}
#stage-chat-log{max-height:420px;overflow-y:auto;display:grid;gap:10px;margin-block:12px}
#stage-chat-log:empty,.talk-history-controls:not(:has(button:not([hidden]))){display:none}
.stage-chat-message{padding:10px 14px;border:1px solid currentColor;border-color:color-mix(in srgb,currentColor 14%,transparent);border-radius:14px;width:fit-content;max-width:100%;overflow-wrap:anywhere}
.stage-chat-message.is-user{justify-self:end;background:color-mix(in srgb,#188c68 12%,transparent)}
.stage-chat-message strong{font-size:.78rem}
.stage-chat-message p{margin:4px 0 0;white-space:pre-wrap}
#stage-chat-input{display:block;width:100%;margin-block:6px 12px;padding:10px;border-radius:10px;background:transparent;color:inherit;resize:vertical}
#stage-chat-status{margin-block:8px 0}
.talk-history-controls{display:flex;flex-wrap:wrap;gap:8px;padding-inline:12px}
