:root { --bg:#f5f7fb; --ink:#162033; --muted:#687386; --line:#e3e8f0; --blue:#275df5; --safe:#138a64; --near:#b7791f; --bad:#c33737; }
.actions { flex-wrap:wrap; }
.secondary:disabled,.quiet:disabled { opacity:.6; cursor:wait; }
.forecast-summary { margin-top:8px; padding:16px; border-radius:12px; color:#344056; background:#f6f4ff; border:1px solid #e3defe; line-height:1.75; white-space:pre-line; }
.history-table-wrap { max-height:410px; overflow:auto; border:1px solid var(--line); border-radius:11px; }
table { width:100%; border-collapse:collapse; font-size:13px; }
th,td { padding:9px 11px; text-align:left; border-bottom:1px solid var(--line); }
th { position:sticky; top:0; color:var(--muted); background:#f8f9fc; font-weight:700; }
td:last-child,th:last-child { text-align:right; font-variant-numeric:tabular-nums; }
tr:last-child td { border-bottom:0; }
@media (max-width:760px) { .history-table-wrap { max-height:280px; } }
.trend-heading { align-items:flex-start; gap:14px; }
.trend-heading > div:first-child { display:grid; gap:3px; }
.range-controls { display:flex; padding:3px; border-radius:10px; background:#eef1f6; }
.range-controls button { padding:6px 10px; color:var(--muted); background:transparent; font-size:12px; white-space:nowrap; }
.range-controls button.active { color:var(--blue); background:#fff; box-shadow:0 1px 4px rgba(28,45,75,.12); }
.trend-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin:6px 0 8px; }
.trend-stats div { display:grid; gap:2px; padding:9px 10px; border-radius:9px; background:#f7f8fb; }
.trend-stats span { color:var(--muted); font-size:11px; }
.trend-stats strong { font-size:14px; font-variant-numeric:tabular-nums; }
#trend-chart { width:100%; height:290px; overflow:visible; }
.trend-legend { display:flex; flex-wrap:wrap; gap:14px; color:var(--muted); font-size:11px; margin:0 0 10px 45px; }
.trend-legend span::before { content:""; display:inline-block; width:8px; height:8px; margin-right:5px; border-radius:50%; }
.history-dot::before { background:#6b4eff; }.morning-dot::before { background:#275df5; }.afternoon-dot::before { background:#e58a24; }.manual-dot::before { background:#778298; }
.trend-details { margin-top:12px; }
.trend-details summary { color:var(--blue); cursor:pointer; font-size:13px; font-weight:700; }
.trend-details .history-table-wrap { max-height:280px; margin-top:10px; }
@media (max-width:760px) { .trend-heading { display:grid; } .trend-stats { grid-template-columns:repeat(2,1fr); } .trend-legend { margin-left:0; } }
.assistant-card { display:grid; gap:14px; }
.assistant-card .section-title { margin-bottom:0; }
.quick-questions { display:flex; flex-wrap:wrap; gap:8px; }
.quick-questions button { padding:7px 10px; color:#4d3f9f; background:#f0edff; font-size:12px; }
.chat-form { display:grid; grid-template-columns:minmax(260px,1fr) auto auto; gap:12px; align-items:end; }
.push-option { display:flex; grid-template-columns:none; flex-direction:row; align-items:center; gap:7px; padding-bottom:10px; font-weight:500; white-space:nowrap; }
.push-option input { width:auto; margin:0; }
.chat-answer { min-height:72px; padding:15px 16px; border-radius:12px; color:#344056; background:#f7f9fc; border:1px solid var(--line); line-height:1.75; white-space:pre-line; }
@media (max-width:900px) { .chat-form { grid-template-columns:1fr; } .push-option { padding-bottom:0; white-space:normal; } }
* { box-sizing:border-box; } body { margin:0; color:var(--ink); background:var(--bg); font:15px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.shell { max-width:1160px; margin:0 auto; padding:44px 24px 54px; } header { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:28px; } h1,h2,p { margin:0; } h1 { font-size:30px; letter-spacing:-.8px; } h2 { font-size:16px; } .eyebrow { color:var(--blue); font-size:12px; font-weight:750; letter-spacing:1.2px; margin-bottom:7px; } .subtle,.section-title span,.tip { color:var(--muted); font-size:13px; }.grid { display:grid; gap:16px; margin-bottom:16px; }.top-grid { grid-template-columns:repeat(3, 1fr); }.content-grid { grid-template-columns:2fr 1fr; }.bottom-grid { grid-template-columns:1.2fr .8fr; }.card { background:#fff; border:1px solid var(--line); border-radius:16px; padding:21px; box-shadow:0 8px 24px rgba(28,45,75,.04); }.label { color:var(--muted); font-size:13px; }.rate { font-size:36px; font-weight:750; letter-spacing:-1.5px; margin:8px 0 4px; }.metric { font-size:27px; font-weight:720; margin:8px 0 4px; }.status { border-left:5px solid var(--safe); }.status.near { border-left-color:var(--near); }.status.breached { border-left-color:var(--bad); }.section-title { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }.chart-card { min-height:337px; } #chart { width:100%; height:270px; overflow:visible; } .empty { color:var(--muted); text-align:center; padding:34px 0; }.chart-card .empty { display:none; } form { display:grid; gap:13px; } label { display:grid; gap:6px; color:#465267; font-size:13px; font-weight:650; } input { width:100%; border:1px solid #ccd4e1; border-radius:9px; padding:10px 11px; font:inherit; } input:focus { outline:2px solid #b8caff; border-color:var(--blue); } button { border:0; border-radius:9px; cursor:pointer; font:inherit; font-weight:700; padding:10px 14px; } .actions { display:flex; gap:10px; }.primary { background:var(--blue); color:#fff; }.primary:disabled { opacity:.6; cursor:wait; }.quiet { color:#43516a; background:#e9edf3; }.secondary { color:var(--blue); background:#ebf0ff; }.tip { margin-top:15px; }.report { color:#344056; line-height:1.75; }.alerts { list-style:none; padding:0; margin:0; display:grid; gap:10px; }.alerts li { border-left:3px solid var(--line); padding-left:10px; color:#3e4a5e; }.alerts li.breached { border-color:var(--bad); }.alerts li.near { border-color:var(--near); }.alerts li.safe { border-color:var(--safe); }.notice { min-height:24px; color:var(--bad); font-weight:650; margin-top:4px; } @media (max-width:760px) { .shell { padding:27px 16px; } header { display:grid; } .top-grid,.content-grid,.bottom-grid { grid-template-columns:1fr; } h1 { font-size:26px; } }
