/* Year-End Organizer standalone shell: colors (light and dark), page frame and header. The organizer's own rules are
   in org-styles.css, scoped under .yeo. Mobile first (375 px). */
:root {
  --accent: #1f4e79; --accent-ink: #ffffff;
  --bg: #f3f5f8; --card: #ffffff; --text: #18202a; --muted: #5a6573; --line: #dde3ea;
  --ok: #1e7a46; --ok-bg: #e5f4ea; --miss: #b3261e; --miss-bg: #fdecea; --warn: #8a5a00; --warn-bg: #fff4dc; --link: #1f4e79;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #8ab8e6; --accent-ink: #0c1620;
    --bg: #11161c; --card: #1a2129; --text: #edf2f7; --muted: #a6b1bd; --line: #2e3844;
    --ok: #7fd6a2; --ok-bg: #173323; --miss: #ffb4ab; --miss-bg: #3b1d1a; --warn: #f2c66d; --warn-bg: #352a12; --link: #9cc3ec;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.45 -apple-system, system-ui, "Segoe UI", Roboto, sans-serif; -webkit-text-size-adjust: 100%; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 8px;
  padding: calc(8px + env(safe-area-inset-top)) 16px 8px; background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { flex: 1 1 auto; min-width: 0; font-size: .95rem; line-height: 1.25; color: var(--accent); }
.hb { flex: 0 0 auto; background: var(--card); color: var(--accent); border: 1px solid var(--line); border-radius: 20px; padding: 6px 12px; font: inherit; font-weight: 600; font-size: .85rem; min-height: 40px; cursor: pointer; }
main { display: block; padding: 12px 16px calc(32px + env(safe-area-inset-bottom)); max-width: 720px; margin: 0 auto; }
.loading { text-align: center; color: var(--muted); padding: 40px 0; }
