/* Customer star ratings (ratings.js): the tap block on the visit sign-off and the director's #/ratings page */
.rt-entry { border-top: 1px dashed var(--line); padding-top: 14px; }
.rt-entry h3 { font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.rt-ask { font: 700 1.05rem/1.3 var(--display); margin: 0 0 8px; }
.rt-ask small { display: block; font: 500 13px/1.4 var(--body); color: var(--muted); margin-top: 2px; }
.rt-pick { display: flex; gap: 6px; margin-bottom: 10px; }
.rt-star { flex: 1; max-width: 64px; min-height: 56px; font-size: 40px; line-height: 1; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--line); cursor: pointer; padding: 0; touch-action: manipulation; }
.rt-star.on { color: #e8a800; border-color: #e8a800; background: #fff8e1; }
.rt-note { font-size: 12px; margin: 0; }
.rt-stars { display: inline-flex; gap: 1px; color: var(--line); letter-spacing: 0; vertical-align: middle; }
.rt-stars i { font-style: normal; }
.rt-stars i.on { color: #e8a800; }
.rt-stars.lg { font-size: 26px; }
.rt-card { display: flex; align-items: center; gap: 10px; margin: 4px 0; }
.rt-quote { margin: 4px 0; padding: 8px 12px; border-left: 3px solid var(--line); background: var(--hover); white-space: pre-wrap; }
.rt-chip { color: var(--warn); background: var(--warn-bg); }
.rt-chip.low { color: var(--bad); background: var(--bad-bg); }
.rt-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0; }
.rt-kpis .panel { display: flex; flex-direction: column; gap: 4px; }
.rt-kpis small { color: var(--muted); font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.rt-kpis b { font: 800 1.8rem/1 var(--display); }
.rt-kpis b.rt-bad { color: var(--bad); }
.rt-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rt-two .panel, .rt-kpis + .panel, .rt-two + .panel { margin-bottom: 14px; }
section.panel + section.panel { margin-top: 14px; }
.rt-two > section.panel { margin: 0; }
@media (max-width: 900px) { .rt-two { grid-template-columns: 1fr; } .rt-kpis { gap: 8px; } .rt-star { max-width: none; } }
