:root {
  --page-bg: #eef0f4;
  --page-text: #1d2433;
  --page-muted: #687080;
  --page-surface: #fff;
  --page-line: #d9dde5;
  --page-hover: #edf0f7;
  --page-accent: #5468e7;
  --page-button: #5468e7;
  --page-button-hover: #4558d5;
}
:root[data-theme="dark"] {
  --page-bg: #181818;
  --page-text: #cccccc;
  --page-muted: #9d9d9d;
  --page-surface: #1e1e1e;
  --page-line: #303030;
  --page-hover: #2d2d30;
  --page-accent: #75beff;
  --page-button: #007acc;
  --page-button-hover: #168bd2;
}
.kodie-logo { display: block; width: 140px; height: auto; max-width: 100%; }
/* Inversion with a hue rotation keeps the coral accents warm on dark surfaces. */
[data-theme="dark"] .kodie-logo { filter: invert(1) hue-rotate(180deg); }
.auth-card > .kodie-logo { width: 180px; margin-bottom: 26px; }
.home-welcome > .home-greeting { width: auto; height: 57px; margin: 0 auto 26px; }
.chat-name .kodie-logo { width: 76px; }
.brand .kodie-logo { width: 120px; }
.public-footer { width: min(1120px, calc(100vw - 48px)); margin: 0 auto; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; border-top: 1px solid var(--page-line); padding: 24px 0 28px; color: var(--page-muted); font-size: 12px; line-height: 1.6; }
.public-footer-dot { color: #f16e5b; }
.public-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 24px; }
.public-footer a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.public-footer a:hover { color: var(--page-accent); text-decoration: underline; text-underline-offset: 3px; }
.public-footer a:focus-visible { outline: 3px solid var(--page-accent); outline-offset: 4px; border-radius: 3px; }
@media (max-width: 760px) {
  .public-footer { flex-direction: column; align-items: flex-start; gap: 8px; }
  .public-footer nav { gap: 4px 20px; }
  .chat-name .kodie-logo { width: 68px; }
  .home-welcome > .home-greeting { height: 49px; margin-bottom: 20px; }
}
