/* Keep report action labels centered and visible at narrow grid widths. */
#reportsScreen .report-actions{align-items:stretch!important;flex-wrap:wrap;height:auto!important;min-width:0;gap:8px}
#reportsScreen .report-actions button{display:flex;align-items:center;justify-content:center;text-align:center;white-space:nowrap;line-height:1.2!important;min-height:44px;height:auto!important;padding:10px 12px!important;flex:1 1 64px}
#reportsScreen .report-actions .report-run{flex-basis:110px}
#replenishment .panelhead{flex-wrap:wrap;gap:14px}
#replenishmentShare{flex:none;min-height:44px;background:var(--teal);color:#fff;border-color:var(--teal);white-space:normal;line-height:1.3}
.replenishment-share-status{color:#617580;font-size:12px;margin:0 0 12px;white-space:pre-line}
.replenishment-share-status:empty{display:none}
#weekdayAnalysis [data-weekday]{cursor:pointer;outline:none}
#weekdayAnalysis [data-weekday]:focus-visible .weekday-hit-area{stroke:var(--teal);stroke-width:2;rx:6}
#weekdayAnalysis .weekday-chart>line{pointer-events:none}
.replenishment-share-fallback{width:100%;min-height:240px;margin-bottom:14px;padding:12px;border:1px solid #d8e5e5;border-radius:8px;font:inherit;resize:vertical}

/* Match the small floating hour-detail window; keep only percentages. */
#dayTooltip.weekday-percent-tooltip{width:340px}
#dayTooltip.weekday-percent-tooltip .tip-title{font-size:15px}
#dayTooltip.weekday-percent-tooltip .weekday-tip-scope{margin:6px 0 12px;font-size:11px;color:var(--muted)}
#dayTooltip.weekday-percent-tooltip .tip-row{grid-template-columns:minmax(0,1fr) auto;font-size:12px;padding:8px 0}
#dayTooltip.weekday-percent-tooltip .tip-row>b{font-size:12px;color:var(--teal)}
@media(max-width:520px){#replenishmentShare{width:100%}}
@media print{#replenishmentShare,.replenishment-share-status{display:none!important}}
