.report-workspace{color-scheme:light;--bg:#edf6fa;--panel:#fff;--ink:#123245;--muted:#476777;--line:#cfE3ec;--accent:#08628d;--rt-soft:#e5f3fa;--rt-strong:#06476a;min-height:100vh;background:var(--bg);font:15px/1.57 "Segoe UI","Microsoft YaHei UI","Microsoft YaHei",system-ui,sans-serif}
.report-workspace .top{background:#fff;padding:12px max(16px,calc((100% - 1040px)/2))}
.report-workspace main{max-width:68rem;padding:16px 16px 36px}
.report-workspace :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.report-workspace button,.report-workspace .button{min-height:44px;background:var(--accent);color:#fff;border-radius:8px;font-size:14px}
.report-workspace button.quiet,.report-workspace .quiet{background:#fff;color:var(--rt-strong);border:1px solid var(--line)}
.report-workspace button:hover:not(:disabled){filter:brightness(.95)}
.report-workspace .brand{font-size:1rem;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block}
.report-shell{display:grid;gap:16px;min-width:0}
.report-tabs,.report-workspace .report-tabs{display:flex;flex-wrap:wrap;padding:6px;gap:6px;background:#fff;border:1px solid var(--line);border-radius:11px}
.report-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;border-color:transparent}
.report-tabs button[aria-pressed=true],.report-segments button[aria-pressed=true]{background:var(--rt-soft);color:var(--rt-strong);border-color:#88bcd4}
.report-tabs svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.report-content{display:grid;gap:12px;min-width:0;align-items:start}
.report-panel,.report-workspace .report-legacy{background:#fff;border:1px solid var(--line);border-radius:13px;padding:20px;min-width:0}
.report-panel>.report-panel{margin-top:12px;padding:0;border:0;border-radius:0}
.report-panel h2{margin:0 0 4px;font-size:20px;font-weight:650}
.report-panel>p{margin:4px 0 10px}
.report-status{min-height:1.4em}
.report-segments,.report-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.report-segments button{font-weight:600;padding:8px 12px}
.report-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.report-panel label{min-width:0;display:grid;gap:5px;font-size:14px;color:var(--ink)}
.report-form label:has(textarea),.report-form>.report-money-line,.report-form>p,.report-form>.report-actions,.report-form>.report-checks{grid-column:1/-1}
.report-form label:has([type=checkbox]){display:flex;align-items:center;gap:8px;min-height:40px}
.report-form input:not([type=checkbox]),.report-panel select,.report-form textarea{width:100%;min-width:0;min-height:44px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);padding:8px 10px;font:inherit}
.report-form textarea{resize:vertical}
.report-form input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent);margin:0}
.report-form button[type=submit]{justify-self:start}
.report-form>.report-checks{display:flex;gap:4px 12px;flex-wrap:wrap}
.report-money-line{display:flex;gap:12px;justify-content:space-between;color:var(--rt-strong);padding:12px;background:var(--rt-soft);border-radius:8px}
.report-cards{display:grid;gap:10px;margin:10px 0}
.report-card{padding:13px;border:1px solid var(--line);border-radius:10px;overflow-wrap:anywhere}
.report-card>p{margin:4px 0}
.report-card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}
.report-state{font-size:13px;color:var(--rt-strong);background:var(--rt-soft);padding:2px 7px;border-radius:5px;white-space:nowrap}
.report-facts{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 10px;margin:8px 0 0;font-size:14px}
.report-facts dt{color:var(--muted)}
.report-facts dd{margin:0;white-space:pre-wrap}
.report-details{margin-top:12px}
.report-details summary,.report-workspace .report-legacy>summary{color:var(--rt-strong);cursor:pointer;min-height:34px}
.report-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.report-summary article{min-width:0;padding:10px;background:var(--rt-soft);border-radius:8px;color:var(--rt-strong)}
.report-summary span,.report-summary strong{display:block;overflow-wrap:anywhere}
.report-summary strong{font-size:clamp(18px,3vw,24px);font-variant-numeric:tabular-nums}
@media(max-width:680px){
 .report-workspace main{padding:12px 12px 28px}
 .report-panel,.report-workspace .report-legacy{padding:15px}
 .report-form{grid-template-columns:minmax(0,1fr)}
 .report-form button[type=submit]{width:100%}
 .player-workspace #workspace{padding-bottom:calc(68px + env(safe-area-inset-bottom))}
 .player-workspace .report-tabs{position:fixed;bottom:0;inset-inline:0;z-index:5;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;border-radius:0;border-width:1px 0 0;padding:6px 12px max(6px,env(safe-area-inset-bottom))}
 .player-workspace .report-tabs button{flex-direction:column;gap:2px;font-size:13px}
 .report-segments{gap:5px}
 .report-segments button{padding:7px 8px;font-size:13px}
}
