/* Reports inside Rx (?p=reports, 12-Nov-2026). Every control 44 px, typing boxes 16 px, no sideways scroll at 360 px (UX-01, UX-61, UX-65). */
#reports { max-width: 980px; }
#reports h1 { font-size: 22px; margin: 4px 0 6px; line-height: 1.25; }
#reports .rp-sub { color: var(--muted, #5b6b7a); margin: 0 0 10px; font-size: 14px; }
#reports .rp-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0 12px; }
#reports .rp-search { flex: 1 1 220px; min-height: 44px; font-size: 16px; padding: 8px 12px; border: 1px solid var(--field, #cfd8e0); border-radius: 8px; box-sizing: border-box; min-width: 0; }
#reports .rp-btn, #reports .rp-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--field, #cfd8e0);
  background: #f6f8fa; color: #0F2233; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; box-sizing: border-box; }
#reports .rp-btn { border-radius: 8px; background: var(--accent, #0D7A71); border-color: var(--accent, #0D7A71); color: #fff; }
#reports .rp-chip.on { background: var(--accent, #0D7A71); border-color: var(--accent, #0D7A71); color: #fff; }
#reports .rp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
#reports details.rp-filters { margin: 0 0 14px; border: 1px solid #e3e9ef; border-radius: 10px; background: #fff; }
#reports details.rp-filters > summary { min-height: 44px; display: flex; align-items: center; padding: 0 12px; cursor: pointer; font-size: 14px; font-weight: 600; color: #0F2233; }
#reports .rp-filtergrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; padding: 0 12px 12px; }
#reports .rp-filtergrid label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted, #5b6b7a); }
#reports .rp-filtergrid select, #reports .rp-filtergrid input { min-height: 44px; font-size: 16px; padding: 6px 10px; border: 1px solid var(--field, #cfd8e0); border-radius: 8px; box-sizing: border-box; width: 100%; background: #fff; color: #0F2233; }
#reports .rp-group { margin: 0 0 12px; border: 1px solid #e3e9ef; border-radius: 10px; background: #fff; }
#reports .rp-group > summary { min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-weight: 700; cursor: pointer; font-size: 15px; color: #0F2233; }
#reports .rp-group > summary .n { color: var(--muted, #5b6b7a); font-weight: 600; font-size: 13px; }
#reports .rp-group.decide > summary { color: #a11d1d; }
#reports .rp-row { display: block; padding: 10px 12px; min-height: 44px; border-top: 1px solid #eef2f6; text-decoration: none; color: #0F2233; box-sizing: border-box; }
#reports .rp-row:hover { background: #f6f8fa; }
#reports .rp-row .t { font-weight: 600; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
#reports .rp-row .m { color: var(--muted, #5b6b7a); font-size: 12.5px; margin-top: 2px; overflow-wrap: anywhere; }
#reports .rp-row .s { font-size: 13.5px; margin-top: 3px; color: #2a3b4b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
#reports .chip-decide { display: inline-block; background: #c62828; color: #fff; border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 700; margin-left: 6px; vertical-align: 1px; }
#reports .chip-ok { display: inline-block; background: #e8f5ee; color: #17633a; border-radius: 999px; padding: 1px 9px; font-size: 12px; font-weight: 600; margin-left: 6px; }
#reports .rp-more > summary { min-height: 44px; display: flex; align-items: center; padding: 0 12px; color: var(--accent-d, #0b6a63); font-weight: 600; cursor: pointer; border-top: 1px solid #eef2f6; }
#reports .rp-empty { padding: 18px 12px; color: var(--muted, #5b6b7a); }
/* one report */
#reports a.rp-back { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; font-weight: 600; color: var(--accent-d, #0b6a63); text-decoration: none; }
#reports .rp-box { border: 1px solid #e3e9ef; border-radius: 10px; background: #fff; padding: 12px; margin: 0 0 14px; }
#reports .rp-box h2 { font-size: 16px; margin: 0 0 8px; }
#reports .rp-decide { border: 2px solid #c62828; background: #fff7f7; }
#reports .rp-decide h2 { color: #a11d1d; }
#reports .rp-clear { border-color: #bfe3cf; background: #f3fbf6; }
#reports .rp-item { padding: 10px 0; border-top: 1px solid #f0d6d6; }
#reports .rp-item:first-of-type { border-top: 0; padding-top: 0; }
#reports .rp-item .q { font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
#reports .rp-item .d { margin-top: 4px; font-size: 14px; color: #2a3b4b; overflow-wrap: anywhere; }
#reports .rp-item .d div { margin-top: 3px; }
#reports .rp-ask { margin: 8px 0 0; padding: 8px 10px; border-radius: 8px; background: #fff; border: 1px solid #ecd0d0; font-size: 14px; }
#reports .rp-state { font-weight: 700; }
#reports .rp-state.not_asked { color: #8a5a00; } #reports .rp-state.asked { color: #a11d1d; } #reports .rp-state.answered { color: #17633a; }
#reports .rp-opts { margin: 6px 0 0; padding: 0; list-style: none; }
#reports .rp-opts li { padding: 4px 0; font-size: 13.5px; overflow-wrap: anywhere; }
#reports .rp-opts .rec { font-weight: 700; color: #17633a; }
#reports .rp-opts .k { display: inline-block; min-width: 20px; font-weight: 700; }
#reports .rp-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
#reports .rp-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 8px; background: var(--accent, #0D7A71); color: #fff; font-weight: 600; text-decoration: none; font-size: 14px; }
#reports .rp-links a.alt { background: #f6f8fa; color: #0F2233; border: 1px solid var(--field, #cfd8e0); }
#reports .rp-src { font-size: 12.5px; color: var(--muted, #5b6b7a); overflow-wrap: anywhere; user-select: all; }
#reports .rp-diff h3 { font-size: 14px; margin: 8px 0 4px; }
#reports .rp-diff ul { margin: 0; padding-left: 18px; font-size: 13.5px; }
#reports .rp-diff li { margin: 2px 0; overflow-wrap: anywhere; }
#reports .rp-diff .add li { color: #17633a; } #reports .rp-diff .gone li { color: #8a2a2a; text-decoration: line-through; }
#reports .rp-box details > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 700; font-size: 15px; }
#reports .rp-run { display: block; padding: 8px 4px; min-height: 44px; box-sizing: border-box; border-top: 1px solid #eef2f6; text-decoration: none; color: #0F2233; }
#reports .rp-run.cur { background: #eef7f6; font-weight: 700; }
#reports .rp-run .m { color: var(--muted, #5b6b7a); font-size: 12.5px; }
#reports .rp-trend { margin: 0 0 8px; font-size: 13px; color: var(--muted, #5b6b7a); }
#reports .rp-trend svg { display: block; width: 100%; max-width: 360px; height: 48px; }
#reports .rp-body { border: 1px solid #e3e9ef; border-radius: 10px; background: #fff; padding: 12px; overflow-x: auto; overflow-wrap: anywhere; }
#reports .rp-body table { max-width: 100%; display: block; overflow-x: auto; }
#reports .rp-body img { max-width: 100%; height: auto; }
@media (max-width: 600px) { #reports h1 { font-size: 19px; } }
