/* Compact order card; inherits the renter's light or dark theme. */
html body.rental-client .rental-summary.rental-summary-v3{padding:20px!important;min-width:0;border-radius:18px;color:var(--rc-text)}
.rental-client .rental-summary-v3 h3{margin:0 0 14px;font-size:18px;line-height:1.25}
html body.rental-client .rental-summary-v3>div{display:block;padding:0;border:0;margin:0;font-size:14px}
.rental-client .rental-summary-v3 .summary-context{color:var(--rc-muted);font-size:12px!important;text-transform:capitalize;margin-bottom:5px!important}
.rental-client .rental-summary-v3 .summary-context [hidden]{display:none!important}
.rental-client .rental-summary-v3 .summary-service>b{display:block;max-width:none;text-align:left;overflow-wrap:anywhere;font-size:13px;line-height:1.55;font-weight:600}
html body.rental-client .rental-summary-v3>div.summary-price{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:12px;margin:16px 0 0;padding:14px 0 16px;border-top:1px solid var(--rc-line);border-bottom:1px solid var(--rc-line)}
.rental-client .rental-summary-v3 .summary-price>div{display:grid;gap:4px;min-width:0}
.rental-client .rental-summary-v3 .summary-price>div:last-child{text-align:right}
.rental-client .rental-summary-v3 .summary-price>div:last-child b{text-align:right}
.rental-client .rental-summary-v3 .summary-price span{font-size:12px;color:var(--rc-muted)}
.rental-client .rental-summary-v3 .summary-price b{max-width:none;font-size:16px;line-height:1.35;overflow-wrap:anywhere;text-align:left}
html body.rental-client .rental-summary-v3 #rentalSummaryTotal{font-size:20px;color:var(--rc-accent)!important}
html body.rental-client .rental-summary-v3 section.completion-history{margin:0;padding:16px 0 0;border:0;background:transparent;font-size:13px;line-height:1.4}
.rental-client .rental-summary-v3 .completion-strength{display:flex;align-items:center;gap:14px}
.rental-client .rental-summary-v3 .strength-clock{width:96px;height:96px;flex:0 0 96px;overflow:visible;--strength-colour:var(--rc-muted)}
.rental-client .rental-summary-v3 .strength-clock[data-rating=strong]{--strength-colour:#15803d}
.rental-client .rental-summary-v3 .strength-clock[data-rating=moderate]{--strength-colour:#c2410c}
.rental-client .rental-summary-v3 .strength-clock[data-rating=weak]{--strength-colour:#b91c1c}
.rental-client .rental-summary-v3 .clock-face{fill:var(--rc-soft);stroke:var(--rc-line);stroke-width:1}
.rental-client .rental-summary-v3 .clock-track{fill:none;stroke:var(--rc-line);stroke-width:4;stroke-linecap:round}
.rental-client .rental-summary-v3 .clock-value{fill:none;stroke:var(--strength-colour);stroke-width:4;stroke-linecap:round;transition:stroke-dasharray .5s ease,stroke .3s ease}
.rental-client .rental-summary-v3 .clock-ticks{fill:none;stroke:var(--rc-muted);stroke-width:1;opacity:.6}
.rental-client .rental-summary-v3 .clock-needle{fill:var(--strength-colour);stroke:var(--strength-colour);stroke-width:2;stroke-linecap:round;transition:transform .5s ease}
.rental-client .rental-summary-v3 .strength-copy{display:grid;gap:3px;min-width:0}
.rental-client .rental-summary-v3 .strength-copy>span{font-size:12px;color:var(--rc-muted)}
.rental-client .rental-summary-v3 .strength-copy>strong{font-size:20px;line-height:1.25;font-weight:650}
.rental-client .rental-summary-v3 .strength-copy>small{font-size:12px;color:var(--rc-muted)}
.rental-client .rental-summary-v3 .completion-metrics{display:grid;gap:9px;margin-top:14px}
.rental-client .rental-summary-v3 .completion-metrics[hidden]{display:none!important}
.rental-client .rental-summary-v3 .completion-metrics>div{display:flex;justify-content:space-between;align-items:center;gap:10px}
.rental-client .rental-summary-v3 .completion-metrics span{font-size:12px;color:var(--rc-muted)}
.rental-client .rental-summary-v3 .completion-metrics strong{font-size:13px;font-weight:600}
.rental-client .rental-summary-v3 #rentalRecentCompletions{display:flex;gap:0;flex-wrap:wrap;justify-content:flex-end}
.rental-client .rental-summary-v3 #rentalRecentCompletions strong+strong::before{content:' / ';color:var(--rc-muted);padding:0 5px;font-weight:400}
.rental-client .rental-summary-v3 .completion-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:12px}
.rental-client .rental-summary-v3 .completion-status{font-size:10px;color:var(--rc-muted);line-height:1.4}
.rental-client .rental-summary-v3 .completion-explanation{position:relative;flex:0 0 auto}
.rental-client .rental-summary-v3 .completion-explanation>summary{cursor:pointer;list-style:none;color:var(--rc-muted);font-size:14px;padding:4px 5px;display:flex;align-items:center;justify-content:center;border-radius:5px}
.rental-client .rental-summary-v3 .completion-explanation>summary::-webkit-details-marker{display:none}
.rental-client .rental-summary-v3 .completion-explanation>summary:focus-visible{outline:2px solid var(--rc-accent);outline-offset:2px}
.rental-client .rental-summary-v3 .completion-explanation[open]>div{position:absolute;right:0;bottom:32px;width:230px;max-width:calc(100vw - 64px);z-index:5;padding:14px;background:var(--rc-card);border:1px solid var(--rc-line);border-radius:12px;box-shadow:0 8px 30px rgba(0,0,0,.18)}
.rental-client .rental-summary-v3 .completion-explanation p{font-size:11px;line-height:1.6;color:var(--rc-muted);margin:8px 0 0}
.rental-client .rental-summary-v3 .completion-explanation strong{font-size:12px}
@media(prefers-reduced-motion:reduce){.rental-client .rental-summary-v3 .clock-value,.rental-client .rental-summary-v3 .clock-needle{transition:none}}

.rental-client .rental-summary-v3 .clock-status{fill:var(--strength-colour);stroke:none;font-family:system-ui,sans-serif;font-size:10px;font-weight:700}
html[data-rental-mode=dark] .rental-client .rental-summary-v3 .strength-clock[data-rating=strong]{--strength-colour:#4ade80}
html[data-rental-mode=dark] .rental-client .rental-summary-v3 .strength-clock[data-rating=moderate]{--strength-colour:#fb923c}
html[data-rental-mode=dark] .rental-client .rental-summary-v3 .strength-clock[data-rating=weak]{--strength-colour:#f87171}
