.report-tools{min-width:0;max-width:76ch;line-height:1.55;scroll-margin-top:90px}.report-tools [hidden]{display:none!important}
.report-tools :is(p,li,h4,h5,strong,summary){overflow-wrap:anywhere}
.report-tools form{display:grid;gap:16px;max-width:760px;margin:20px 0}
.report-tools label{display:flex!important;flex-direction:column;gap:8px;min-width:0;line-height:1.5}
.report-tools :is(select,textarea){display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;margin:0;font:inherit;color:var(--text,#eee5d7);background:#101618;border:1px solid #5e6765;border-radius:10px;padding:12px}
.report-tools textarea{resize:vertical;min-height:110px}.report-tools select{min-height:48px}
.report-tools .report-check{display:grid!important;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:12px}
.report-tools .report-check input{width:20px;height:20px;min-width:20px;margin:4px 0 0!important;accent-color:var(--gold,#e7b35d)}
.report-tools .btn{min-height:44px;max-width:100%;white-space:normal;line-height:1.45;margin:6px 0}
.report-tools .btn:disabled{opacity:.5}.report-tools .toolbar{flex-wrap:wrap;gap:10px}
.report-tools summary{cursor:pointer;min-height:44px;padding:10px 0;color:var(--gold2,#eed098)}
.report-tools :is(button,summary,input,select,textarea):focus-visible{outline:2px solid var(--gold2,#ffd990);outline-offset:3px}
.report-evidence,.report-tools pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.55;margin:14px 0;padding:16px;background:rgba(0,0,0,.3);border:1px solid var(--line,#56442d);border-radius:12px;max-width:100%;box-sizing:border-box}
.report-case{margin:22px 0;padding:20px;border:1px solid var(--gold,#c0924b);border-radius:14px;background:linear-gradient(145deg,rgba(40,24,38,.55),rgba(7,8,12,.8));scroll-margin:90px 0 110px}
.report-history{padding-left:22px}.report-history li{padding:12px 0;border-bottom:1px solid var(--line,#56442d)}
.report-history p{white-space:pre-wrap;margin:6px 0}.report-history time{display:block;font-size:.85rem;color:var(--muted,#c6b89c)}
.report-list>article{padding:16px 0;border-bottom:1px solid var(--line,#56442d)}
.report-list p{margin:4px 0}.report-tools [role=status]{white-space:pre-wrap;color:var(--gold2,#eed098)}
.report-tools h5{font-size:1.15rem}.report-tools .section-sub{font-size:.9rem}
@media(max-width:760px){.report-case{padding:14px}.report-tools .btn{width:100%}.report-tools .toolbar{display:grid;grid-template-columns:minmax(0,1fr)}.report-evidence{padding:12px}}

/* Keep the result near its controls; background detail is available on demand. */
.report-tools>h4{margin-bottom:8px}
.report-tools>.section-sub{margin:8px 0 12px;max-width:65ch}
.report-tools .report-actions{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin:16px 0}
.report-tools .report-actions .btn{width:auto;flex:1 1 12rem;margin:0;padding:10px 14px}
.report-tools .report-actions label{flex:1 1 15rem;font-size:.9rem;gap:4px}
.report-tools .report-actions-personal .btn{flex:0 1 auto}
.report-tools>[role=status]{margin:14px 0;font-size:.95rem;max-width:65ch}
.report-tools>[role=status]:empty{display:none}
.report-tools .report-background{border-top:1px solid var(--line,#56442d);margin-top:20px;padding-top:4px}
.report-tools .report-background>summary{font-size:.9rem;color:var(--muted,#c6b89c);line-height:1.5}
.report-tools .report-background .section-sub{margin:6px 0 12px;max-width:65ch}
.report-tools a{color:var(--gold2,#eed098);text-underline-offset:3px}
.report-case>h5{margin:0 0 14px}
