:root { color-scheme: light; --bg: #fff; --fg: #20242b; --muted: #535c6b; --line: #d9dfe7; }
:root[data-theme="dark"] { color-scheme: dark; --bg: #181c23; --fg: #f1f3f6; --muted: #b7c0cf; --line: #414b59; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark; --bg: #181c23; --fg: #f1f3f6; --muted: #b7c0cf; --line: #414b59; }
}
* { box-sizing: border-box; }
body { margin: 0; padding: 10px 12px 6px; background: var(--bg); color: var(--fg); font: 13px/1.35 system-ui, sans-serif; }
main { position: relative; height: calc(100vh - 38px); min-height: 80px; overflow: auto; scrollbar-width: thin; }
#widget-status { position: absolute; inset: 0; margin: 0; background: var(--bg); z-index: 1; }
#widget-content:empty { min-height: 80px; }
h1, h2, p { margin: 0; }
h1, h2 { font-size: 13px; font-weight: 500; color: var(--muted); }
.names { font-size: 17px; font-weight: 650; overflow-wrap: anywhere; margin: 3px 0; }
.tomorrow { margin-top: 5px; }
.tomorrow .names { font-size: 14px; }
details { font-size: 11px; color: var(--muted); }
summary { cursor: pointer; }
.numbers { display: flex; gap: 12px; margin: 4px 0; font-variant-numeric: tabular-nums; }
.numbers span { display: flex; flex-direction: column; min-width: 44px; color: var(--muted); font-size: 11px; }
.numbers strong { color: var(--fg); font-size: 26px; line-height: 1.1; }
.phase { font-size: 11px; color: var(--muted); }
footer { height: 22px; padding-top: 3px; border-top: 1px solid var(--line); font-size: 10px; display: flex; justify-content: space-between; gap: 8px; }
a { color: var(--muted); text-underline-offset: 2px; }
