/* A deliberately calm night theme for the entire Helpful Panda site. */
.theme-toggle { min-height: 38px; padding: .42rem .75rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-size: .84rem; font-weight: 700; }
.theme-toggle:hover { border-color: var(--blue); color: var(--blue); }
body.dark-mode { --ink: #e8f0fb; --cream: #0d1622; --mist: #132235; --line: #31445c; --muted: #b4c3d5; background: #0d1622; color: #e8f0fb; }
.dark-mode .site-header, .dark-mode footer { background: #0d1622; color: #c7d5e8; }
.dark-mode .site-header nav a, .dark-mode footer a { color: #dbe8f8; }
.dark-mode .theme-toggle { background: #17273a; color: #f8fbff; border-color: #526a85; }
.dark-mode .theme-toggle:hover { background: #233c5a; border-color: #8fc4ff; color: #fff; }
.dark-mode .live-panel, .dark-mode .source-card, .dark-mode .notice, .dark-mode .three-up article, .dark-mode .history-controls input, .dark-mode .history-controls select { background: #172536; border-color: #3a5069; color: #e8f0fb; }
.dark-mode .history-controls label, .dark-mode .notice-meta, .dark-mode .source-card span, .dark-mode .service-note, .dark-mode .updated, .dark-mode .notice-header p, .dark-mode .empty { color: #b4c3d5; }
.dark-mode .source-card strong, .dark-mode .notice a { color: #a9d1ff; }
.dark-mode .status.loading { background: #173250; color: #d8ebff; }
.dark-mode .status.ok { background: #163b2a; color: #bdf3cf; }
.dark-mode .status.attention { background: #4b3517; color: #ffe1a8; }
.dark-mode .statement, .dark-mode .how-it-works { background: #132235; }
.dark-mode .policy a { color: #a9d1ff; }
.dark-mode .contact { background: #071526; }

/* A clean dark-header lockup: no white canvas from the master board image. */
.dark-mode .brand-board-logo { width: 228px; height: 52px; overflow: visible; background: none; }
.dark-mode .brand-board-logo img { display: none; }
.dark-mode .brand-board-logo::before { content: "Helpful Panda"; display: block; color: #f5f9ff; font-size: 1.22rem; font-weight: 700; letter-spacing: -.045em; line-height: 1; padding-top: .38rem; }
.dark-mode .brand-board-logo::after { content: "SOFTWARE"; display: block; position: absolute; left: .08rem; top: 1.83rem; color: #8fc4ff; font-size: .52rem; font-weight: 700; letter-spacing: .23em; line-height: 1; }

/* Square the product mark with the Panda Recall headline rather than the full copy block. */
@media (min-width: 961px) { .recall-hero .recall-mark.large { align-self: flex-start; margin-top: .35rem; } }
@media (min-width: 761px) and (max-width: 960px) { .recall-hero .recall-mark.large { align-self: flex-start; margin-top: 1.6rem; } }
@media (max-width: 760px) { .dark-mode .brand-board-logo { width: 166px; height: 42px; transform: none; } .dark-mode .brand-board-logo::before { font-size: 1rem; padding-top: .28rem; } .dark-mode .brand-board-logo::after { top: 1.53rem; font-size: .45rem; } }

/* Standalone approved Panda Recall icon — no master-board crop or label bleed. */
.recall-mark, .recall-mark.large { background: transparent url('assets/panda-recall-icon.png?v=3') center / cover no-repeat; }
.recall-mark { clip-path: inset(4px 4px 9px round 28px); }

.dark-mode .eyebrow, .dark-mode .hero h1 span { color: #a9d1ff; }
.dark-mode .store-preview { background: var(--mist); }
.dark-mode .store-badge { color: #dbe8f8; }
.dark-mode :where(a, button, input, select):focus-visible { outline-color: #a9d1ff; }
