/* Lochaber Weather - Station status page (wxstatus.php), Nov 2026 */
.st-intro { color: var(--muted); max-width: 85ch; line-height: 1.55; }
.st-banner { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 14px 18px; border-radius: 16px;
  background: var(--surface-2); border: 1px solid var(--border); border-left: 6px solid #3fa36b; }
.st-banner strong { display: block; font-size: 1.1rem; }
.st-banner span { color: var(--muted); font-size: .9rem; }
.st-dot { flex: none; width: 16px; height: 16px; border-radius: 50%; background: #3fa36b; box-shadow: 0 0 0 5px rgba(63,163,107,.25); }
.st-warn { border-left-color: #f2a33a; } .st-warn .st-dot { background: #f2a33a; box-shadow: 0 0 0 5px rgba(242,163,58,.25); }
.st-bad { border-left-color: #e05252; } .st-bad .st-dot { background: #e05252; box-shadow: 0 0 0 5px rgba(224,82,82,.25); }
.st-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 0 0 16px; }
.st-tile { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px; min-width: 0; }
.st-tile span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.st-tile strong { display: block; margin-top: 3px; font-size: 1.05rem; }
.st-tile em { display: block; font-style: normal; font-size: .8rem; color: var(--muted); }
.st-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; margin: 0 0 16px; min-width: 0; }
.st-card h2 { margin: 0 0 10px; font-size: 1.15rem; }
.st-card > p { max-width: 90ch; line-height: 1.55; }
.st-table-wrap { overflow-x: auto; }
.st-table { width: 100%; border-collapse: collapse; font-size: .92rem; table-layout: fixed; min-width: 560px; }
.st-table th:nth-child(1) { width: 38%; } .st-table th:nth-child(2) { width: 16%; } .st-table th:nth-child(3) { width: 20%; } .st-table th:nth-child(4) { width: 12%; } .st-table th:nth-child(5) { width: 14%; }
.st-table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; padding: 6px 10px; border-bottom: 1px solid var(--border); }
.st-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.st-table tr:last-child td { border-bottom: 0; }
.st-num { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.st-pill.ok { background: rgba(63,163,107,.18); color: #3fa36b; border: 1px solid rgba(63,163,107,.45); }
.st-pill.stale { background: rgba(224,82,82,.16); color: #e05252; border: 1px solid rgba(224,82,82,.45); }
[data-theme="light"] .st-pill.ok { color: #1e7a4b; } [data-theme="light"] .st-pill.stale { color: #b42323; }
.st-core { display: inline-block; padding: 0 6px; border-radius: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .04em; vertical-align: 1px;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted); }
.st-vp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.st-vpbox { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.st-vpbox > span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.st-vpbox > strong { display: block; margin: 4px 0 6px; font-size: 1.4rem; }
.st-vpbox > em { display: block; font-style: normal; font-size: .82rem; color: var(--muted); line-height: 1.4; }
.st-vpwide { grid-column: 1 / -1; }
.st-bar { height: 8px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; margin-bottom: 8px; }
.st-bar i { display: block; height: 100%; border-radius: 99px; background: #3fa36b; }
.st-bar i.warn { background: #f2a33a; } .st-bar i.stale { background: #e05252; }
.st-pk { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 4px 0 0; }
.st-pk div { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; }
.st-pk dt { font-size: .75rem; color: var(--muted); }
.st-pk dd { margin: 2px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 800px) { .st-vp { grid-template-columns: minmax(0, 1fr); } .st-pk { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .st-num { white-space: normal; } .st-table td, .st-table th { padding: 7px 6px; } .st-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .st-tile strong { font-size: .95rem; } .st-card { padding: 14px 12px; } .st-hide-sm { display: none; } .st-table { min-width: 0; table-layout: auto; } }
