/* Report dialog: parameters, a preview that mirrors the PDF, and the download action. */
.r-sheet[open]{width:min(760px,calc(100% - 28px))}
.r-dates{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.r-dates .field{margin:0}
.r-dates input{min-height:44px}
.r-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px}
.r-checks .j-check{min-height:44px;align-items:flex-start}
.r-checks .j-check span{display:flex;flex-direction:column}
.r-checks small{font-size:11px;color:var(--muted)}
.r-one{font-size:13px;color:#c3d6f0}
.r-excluded{display:flex;gap:8px;align-items:flex-start;font-size:12px;margin-top:10px}
.r-excluded .icon{width:15px;height:15px;flex-shrink:0;margin-top:2px}
.r-open .icon{width:16px;height:16px}
.r-preview{gap:0}
.r-preview:focus{outline:none}
.r-block{border-top:1px solid #26364c;padding:14px 0}
.r-block:first-child{border-top:0;padding-top:4px}
.r-block h3{font-size:16px;margin-bottom:6px}
.r-block h4{font-size:14px;margin:10px 0 4px;color:#cfe0f7}
.r-block p{font-size:13px;line-height:1.55}
.r-table{font-size:12px}
.r-table td,.r-table th{padding:8px 6px}
.r-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:8px 0}
.r-chart{margin:0;border:1px solid #26364c;border-radius:12px;padding:10px 12px;background:#101a2a}
.r-chart figcaption{font-size:11.5px;color:#b9cde9;line-height:1.45;margin-bottom:6px}
.r-chart figcaption b{color:#e5f0ff}
.r-chart svg{width:100%;height:auto;display:block;overflow:visible}
.r-line{fill:none;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.r-dash{fill:none;stroke:#7d8ba0;stroke-width:1.1;stroke-dasharray:3 3}
.r-gap{fill:none;stroke:#7d8ba0;stroke-width:1}
.r-ref-a{stroke:#8fa2bb;stroke-width:1;stroke-dasharray:1 3}
.r-ref-g{stroke:#c3d6f0;stroke-width:1;stroke-dasharray:6 3}
.metric-sleep .r-line{stroke:var(--d-sleep,#a89aff)}.metric-sleep .r-dots{fill:var(--d-sleep,#a89aff)}
.metric-energy .r-line{stroke:var(--d-energy,#ffbf69)}.metric-energy .r-dots{fill:var(--d-energy,#ffbf69)}
.metric-focus .r-line{stroke:var(--d-focus,#51d6e8)}.metric-focus .r-dots{fill:var(--d-focus,#51d6e8)}
.metric-rest .r-line{stroke:var(--d-rest,#63deb0)}.metric-rest .r-dots{fill:var(--d-rest,#63deb0)}
.r-days summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:#a9c9f4;font-size:13px}
.r-note{border-left:3px solid #71dab3;padding:4px 0 4px 12px;margin:8px 0}
.r-note small{display:block;color:var(--muted);font-size:11px;margin:2px 0}
.r-note p{white-space:pre-line}
@media(max-width:700px){
 .r-sheet[open]{width:100%}
 .r-checks,.r-charts{grid-template-columns:1fr}
 .r-open{width:100%}
}
