/* ZIP lookup on /power-outages/ (assets/outage-lookup.js). Uses the guide.css tokens so it follows light and dark.
   Layout: one reading column; the result reads top to bottom as verdict, tool, checklist, history, companies. */
.ol { --ol-mark: var(--g-link); --ol-track: var(--g-wash); }
.ol-form { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin: 0.6rem 0 1rem; font-family: var(--g-sans); }
.ol-form label { width: 100%; font-weight: 600; font-size: 0.95rem; }
.ol-form input { font: inherit; font-size: 1.15rem; width: 8.5em; padding: 0.55rem 0.7rem; border: 1px solid var(--g-rule-strong); border-radius: 4px; background: var(--g-paper); color: var(--g-ink); letter-spacing: 0.06em; }
.ol-form button, .ol-btn { font: inherit; font-weight: 600; font-size: 1rem; padding: 0.6rem 1rem; border: 0; border-radius: 4px; background: var(--g-ink); color: var(--g-paper); cursor: pointer; text-decoration: none; display: inline-block; }
.ol-form button:hover, .ol-btn:hover { opacity: 0.88; }
.ol-form input:focus-visible, .ol-form button:focus-visible, .ol-btn:focus-visible, .ol-switch:focus-visible, .ol-copy:focus-visible, .ol-radio input:focus-visible { outline: 2px solid var(--g-link); outline-offset: 2px; }
.ol-out { font-family: var(--g-sans); }
.ol-out:empty { display: none; }
.ol-name { margin: 1.2rem 0 0.3rem; }
.ol-lead { font-size: 1.1rem; line-height: 1.5; max-width: 34em; }
.ol-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin: 1rem 0 0.6rem; }
.ol-tile { border: 1px solid var(--g-rule); border-radius: 6px; padding: 0.75rem 0.85rem; display: flex; flex-direction: column; gap: 0.2rem; }
.ol-tile span { font-size: 0.88rem; color: var(--g-ink-2); line-height: 1.35; }
.ol-tile .ol-big { font-size: 1.55rem; font-weight: 700; color: var(--g-ink); font-variant-numeric: tabular-nums; line-height: 1.15; }
.ol-tile small { font-size: 0.8rem; color: var(--g-ink-3); line-height: 1.3; }
.ol-worse { color: var(--g-bad); font-weight: 600; }
.ol-better { color: var(--g-good); font-weight: 600; }
.ol-block { margin: 2rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--g-rule); }
.ol-block h3 { margin: 0 0 0.5rem; }
.ol-verdict { font-size: 1.2rem; font-weight: 700; margin: 0.2rem 0 0.4rem; }
.ol-pick { background: var(--g-wash); padding: 0.6rem 0.8rem; border-radius: 4px; font-size: 0.92rem; }
.ol-switch, .ol-copy { font: inherit; font-size: 0.88rem; margin: 0.15rem 0.2rem; padding: 0.25rem 0.7rem; border: 1px solid var(--g-rule-strong); border-radius: 999px; background: var(--g-paper); color: var(--g-link); cursor: pointer; }
.ol-none, .ol-wait { color: var(--g-ink-2); }
.ol-storms { padding-left: 1.2rem; }
/* coverage tool */
.ol-bundles { border: 0; padding: 0; margin: 0.8rem 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; }
.ol-bundles legend { font-weight: 600; font-size: 0.92rem; margin-bottom: 0.3rem; padding: 0; }
.ol-radio { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.95rem; cursor: pointer; }
.ol-meters { list-style: none; padding: 0; margin: 0.6rem 0; display: grid; gap: 0.8rem; }
.ol-meter-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; font-size: 0.95rem; }
.ol-meter-head small { color: var(--g-ink-3); }
.ol-meter-head b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.ol-meter { display: block; height: 10px; border-radius: 5px; background: var(--ol-track); overflow: hidden; margin-top: 0.3rem; }
.ol-meter span { display: block; height: 100%; background: var(--ol-mark); border-radius: 5px; }
/* checklist */
.ol-check { padding-left: 1.2rem; display: grid; gap: 0.5rem; }
/* charts: one series, recessive axis, text in text colors */
.ol-chart { width: 100%; height: auto; display: block; margin: 0.6rem 0; overflow: visible; }
.ol-bar { fill: var(--ol-mark); }
.ol-hit { fill: transparent; }
.ol-col:hover .ol-bar { opacity: 0.8; }
.ol-axis { stroke: var(--g-rule-strong); stroke-width: 1; }
.ol-tick { fill: var(--g-ink-3); font: 12px var(--g-sans); }
.ol-val { fill: var(--g-ink); font: 600 12px var(--g-sans); }
.ol-more { margin: 0.4rem 0 0; }
.ol-more summary { cursor: pointer; color: var(--g-link); font-size: 0.92rem; }
.ol-share { margin-top: 1.6rem; }
.ol-copied { font-size: 0.88rem; color: var(--g-ink-2); word-break: break-all; }
@media (max-width: 480px) { .ol-form input { width: 100%; } .ol-form button { width: 100%; } .ol-tile .ol-big { font-size: 1.35rem; } }
@media (prefers-reduced-motion: reduce) { .ol-col:hover .ol-bar { opacity: 1; } }
/* static page tables and lists */
.ol-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
.ol-cols ol { padding-left: 1.3rem; }
@media (max-width: 560px) { .ol-cols { grid-template-columns: 1fr; } }
.ol-sortable th[data-dir="desc"]::after { content: " \2193"; }
.ol-sortable th[data-dir="asc"]::after { content: " \2191"; }
.ol-bars { font-family: var(--g-sans); font-size: 0.88rem; margin: 0.8rem 0 1rem; max-width: 34rem; }
.ol-bar-row { display: grid; grid-template-columns: 2.6rem 1fr 3.4rem; align-items: center; gap: 0.5rem; margin: 0.2rem 0; }
.ol-bar-t { background: var(--g-wash); height: 0.95rem; border-radius: 2px; overflow: hidden; }
.ol-bar-t span { display: block; height: 100%; background: var(--g-ink-2); }
.ol-bar-n { text-align: right; font-variant-numeric: tabular-nums; color: var(--g-ink-2); }
/* Long column names wrap on these pages instead of pushing the table wider than the column. */
.g-table th.n { white-space: normal; min-width: 5.5rem; }
/* user-test fixes (2026-10-14) */
body.guide a.ol-btn, body.guide a.ol-btn:visited { color: var(--g-paper); text-decoration: none; }
.ol-radio { position: relative; padding: 0.5rem 0.85rem; min-height: 44px; border: 1px solid var(--g-rule-strong); border-radius: 999px; background: var(--g-paper); }
.ol-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ol-radio.on { background: var(--g-ink); border-color: var(--g-ink); color: var(--g-paper); font-weight: 600; }
.ol-radio:has(input:focus-visible) { outline: 2px solid var(--g-link); outline-offset: 2px; }
.ol-meter-head > span { display: flex; flex-direction: column; gap: 0.1rem; min-width: 0; }
.ol-meter-head small { font-size: 0.85rem; }
.ol-tag { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 0 0.4rem; border-radius: 3px; background: var(--g-wash); color: var(--g-ink-2); margin-left: 0.3rem; vertical-align: 1px; }
.ol-aside { font-size: 0.95rem; }
.ol-block h4 { margin: 1rem 0 0.4rem; font-size: 1rem; }
.ol-rank { font-size: 0.95rem; color: var(--g-ink-2); }
.ol-defs { margin-top: 0.2rem; }
.ol-tile small { font-size: 0.85rem; color: var(--g-ink-2); }
.ol-tick { font-size: 13px; }
.ol-val { fill: var(--g-ink-2); font-weight: 400; }
.ol-val.ol-max { fill: var(--g-ink); font-weight: 700; }
@media (max-width: 40rem) { .g-table td.n { white-space: normal; } }
@media (max-width: 40rem) { .g-table td.ol-empty { display: none; } }
.ol-btn { margin-top: 0.8rem; }
