/* Temperature review uses readable type at the rendered width, not a scaled sparkline. */
#trend-subtitle{font-size:13px;line-height:1.7}
.trend-days,.trend-methods{display:flex;gap:6px;overflow-x:auto;padding:3px 2px 7px;margin-top:13px;scrollbar-width:thin;scrollbar-color:#b7cceb transparent}
.trend-days button,.trend-methods button{flex:none;min-height:44px;padding:9px 13px;border-radius:9px;color:#4b6588;font-size:14px;font-weight:500;white-space:nowrap}
.trend-days button:hover,.trend-methods button:hover{background:#f1f6ff}
.trend-days button[aria-pressed="true"],.trend-methods button[aria-pressed="true"]{background:var(--blue-soft);color:#2856bd;font-weight:700}
.trend-methods{margin-top:12px;border-bottom:1px solid var(--line);border-radius:0;padding-bottom:8px}
.trend-methods+.trend-days{margin-top:6px}
.trend-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:17px 0 4px}
.trend-stats>div{min-width:0;display:grid;grid-template-columns:auto 1fr;align-items:baseline;column-gap:8px;row-gap:2px}
.trend-stats>div+div{border-left:1px solid var(--line);padding-left:16px}
.trend-stats span{color:var(--muted);font-size:13px}
.trend-stats strong{font-size:23px;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1.4}
.trend-stats small{font-size:12px;font-weight:400}
.trend-stats time{grid-column:1/-1;font-size:13px;color:#526b8b;font-variant-numeric:tabular-nums;white-space:nowrap}
.trend-plot{margin:13px 0 0}
.trend-plot>.temperature-chart{display:block;width:100%;height:230px;fill:none;stroke:none;overflow:visible}
.temperature-chart text{fill:#526b8b;font-size:13px;stroke:none;font-family:inherit;font-variant-numeric:tabular-nums}
.temperature-chart .trend-date-axis{fill:var(--ink);font-size:13px;font-weight:500}
.trend-grid{stroke:#e4ebf6;stroke-width:1}
.trend-day-line{stroke:#e4ebf6;stroke-width:1;stroke-dasharray:3 5}
.trend-line{fill:none;stroke:var(--blue);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.trend-point{cursor:pointer;outline:none}
.trend-point-hit{fill:transparent;stroke:none}
.trend-point-dot{fill:#fff;stroke:var(--blue);stroke-width:2.25}
.trend-point.is-selected .trend-point-dot{fill:var(--blue);stroke:#fff;stroke-width:2.25;paint-order:stroke fill}
.trend-point:focus-visible .trend-point-hit{fill:#3467d511;stroke:var(--blue);stroke-width:1.5;stroke-dasharray:3 3}
.trend-point:hover .trend-point-dot{fill:#dce8ff}
.trend-reading{display:flex;align-items:center;gap:10px;padding:10px 4px;background:#f1f6ff;border-radius:10px}
.trend-reading-copy{flex:1;min-width:0;text-align:center}
.trend-reading-copy>div{display:flex;justify-content:center;align-items:baseline;gap:9px}
.trend-reading-copy strong{font-size:22px;line-height:1.35;font-weight:600;color:#2856bd;font-variant-numeric:tabular-nums}
.trend-reading-copy small{font-size:13px;font-weight:400}
.trend-reading-copy span{font-size:12px;color:#526b8b;overflow-wrap:anywhere}
.trend-reading-copy time{display:block;margin-top:3px;color:#385b87;font-size:13px;font-weight:500;font-variant-numeric:tabular-nums;white-space:normal}
.trend-step{flex:none;display:grid;place-items:center;min-width:44px;min-height:44px;padding:8px;border-radius:8px;color:var(--blue)}
.trend-step:hover:not(:disabled){background:#dce8ff}
.trend-step:disabled{background:transparent;color:#9ab2d2}
.trend-step svg{width:22px;height:24px;stroke-width:2}
.trend-interaction-hint{font-size:12px;color:var(--muted);text-align:center;margin:9px 0 2px;line-height:1.6}
#trend .trend-table{font-size:13px;color:#526b8b}
#trend .trend-table summary{font-size:14px;padding:13px 0;color:#365f9b}
#trend .trend-table table{table-layout:fixed}
#trend .trend-table th:first-child{width:49%}
#trend .trend-table th:nth-child(2){width:28%}
#trend .trend-table td,#trend .trend-table th{padding:10px 3px}
#trend .trend-table td{overflow-wrap:anywhere}
#trend .trend-table th{font-size:12px}
#trend .trend-table td:first-child time{display:flex;gap:4px;flex-wrap:wrap}
#trend .trend-table td:first-child strong{font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
#chart-note{font-size:12px;line-height:1.7;color:#60728b}
@media(max-width:360px){.trend-section{padding:16px 12px}.trend-stats{gap:8px}.trend-stats>div{column-gap:5px}.trend-stats>div+div{padding-left:10px}.trend-stats strong{font-size:21px}.trend-stats time{font-size:12px}.trend-reading{gap:1px}.trend-reading-copy time{font-size:12px}.trend-days button{padding:9px 11px}}
