.report-history { color:#173c32; background:#fff; border:1px solid #d6e1d9; border-radius:20px; padding:clamp(18px,4vw,32px); font-family:system-ui,sans-serif; line-height:1.6; overflow-wrap:anywhere; }
.report-history h2 { margin:0 0 12px; font-size:clamp(24px,4vw,32px); line-height:1.2; }
.report-history h3 { margin:0 0 12px; font-size:24px; }
.report-history p { margin:10px 0; }
.report-history-status { padding:12px 16px; border-radius:10px; background:#eff5f0; }
.report-history-list { padding:0; list-style:none; display:grid; gap:12px; }
.report-history-list li { border:1px solid #d6e1d9; padding:16px; border-radius:12px; }
.report-history-list li p { margin-bottom:0; color:#4d6258; }
.report-history button { font:inherit; font-weight:650; cursor:pointer; background:#fff; border:1px solid #b5cbbd; border-radius:10px; padding:10px 16px; min-height:44px; color:#173c32; max-width:100%; white-space:normal; }
.report-history button:hover { background:#eff5f0; }
.report-history button:focus-visible { outline:3px solid #b77d21; outline-offset:3px; }
.report-history button:disabled { cursor:wait; opacity:.6; }
.report-history [hidden] { display:none; }
.report-history-controls { display:flex; flex-wrap:wrap; gap:12px; }
.report-history-detail { margin-top:24px; padding-top:24px; border-top:2px solid #23634c; }
.report-history-detail dl { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:20px 0; }
.report-history-detail dl div { padding:16px; background:#f1f6f2; border-radius:12px; min-width:0; }
.report-history-detail dt { color:#4d6258; font-size:14px; }
.report-history-detail dd { margin:6px 0 0; font-size:clamp(18px,2vw,24px); font-weight:700; line-height:1.3; font-variant-numeric:tabular-nums; }
@media(max-width:700px) { .report-history-detail dl { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:420px) { .report-history-detail dl { grid-template-columns:1fr; } .report-history-controls button { width:100%; } }
.report-recovery fieldset { margin:20px 0 0; padding:16px; border:1px solid #b5cbbd; border-radius:12px; }
.report-recovery legend { padding:0 8px; font-weight:700; }
.report-recovery label { display:block; margin:16px 0; cursor:pointer; }
.report-recovery input[type=checkbox] { width:20px; height:20px; vertical-align:middle; accent-color:#23634c; }
.report-recovery fieldset button { margin:8px 12px 0 0; }
@media(max-width:420px) { .report-recovery fieldset button { width:100%; margin-right:0; } }
.report-recovery { max-width:620px; margin-inline:auto; box-shadow:0 12px 36px #173c3208; }
.report-recovery h2 { font-size:clamp(22px,4vw,28px); }
.report-recovery .recovery-primary { background:#23634c; color:#fff; border-color:#23634c; }
.report-recovery .recovery-primary:hover { background:#194d3a; }
.report-recovery .recovery-secondary { border-color:transparent; background:transparent; color:#52685c; font-weight:500; text-decoration:underline; text-underline-offset:3px; }
.report-recovery fieldset { margin-top:16px; padding:16px; background:#f7faf7; }
.report-recovery fieldset p { margin-top:0; }
.report-recovery label { font-size:15px; line-height:1.5; }


#savedReportWrite > label:first-of-type { display:block; margin:16px 0; }
#savedReportReason { display:block; box-sizing:border-box; width:100%; min-height:46px; margin-top:8px; padding:12px; border:1px solid #c7d2c9; border-radius:10px; background:#fff; color:inherit; font:inherit; }
#savedReportReason:focus-visible { outline:2px solid #23634c; outline-offset:2px; }

.report-history-comparison { margin-top:24px; padding-top:20px; border-top:1px solid #d6e1d9; }
.report-history-comparison h4 { margin:0 0 12px; font-size:20px; }
.report-history-comparison dd span { display:block; font-size:14px; font-weight:400; line-height:1.5; color:#4d6258; }
.report-history-comparison dd strong { display:block; margin-top:6px; font-size:clamp(18px,2vw,22px); }
