/* Shared palette and controls. Component light palettes live in zz_theme_*.css.
   Existing dark styles remain the default; nothing is recolored with filters. */
:root { color-scheme: dark; }
:root[data-theme="light"] {
  color-scheme: light;
  /* Legacy names for the shared tokens in design_tokens.css. */
  --theme-bg: var(--cb-surface-page);
  --theme-surface: var(--cb-surface-card);
  --theme-surface-soft: #edf5f0;
  --theme-surface-raised: var(--cb-surface-raised);
  --theme-text: var(--cb-text);
  --theme-muted: var(--cb-text-muted);
  --theme-accent: var(--cb-accent);
  --theme-accent-hover: var(--cb-accent-strong);
  --theme-border: var(--cb-border);
  --theme-success: #087b55;
  --theme-warning: #84510c;
  --theme-danger: #b43f3e;
  --theme-shadow: 0 8px 28px #143e2910;
}
:root[data-theme="light"] body { background: var(--theme-bg); color: var(--theme-text); }
:root[data-theme="light"] .cb-home {
  --cb-bg: var(--theme-bg); --cb-panel: var(--theme-surface); --cb-green: var(--theme-accent); --cb-muted: var(--theme-muted);
  background: var(--theme-bg); color: var(--theme-text);
}
:root[data-theme="light"] ::selection { color: #063f2b; background: #bcebd1; }
:root:not([data-theme-ready]) .cb-theme-toggle { display: none; }
.cb-home .cb-theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px;
  width: 44px; height: 44px; padding: 0; border: 1px solid #7bf4c440; border-radius: 13px;
  background: linear-gradient(140deg, #1a3b30, #102820); color: #a3f6cf;
  box-shadow: inset 0 1px #d0ffe319; cursor: pointer;
  transition: background .18s, border-color .18s, box-shadow .18s;
}
.cb-home .cb-theme-toggle:hover { background: #244b3d; border-color: #7bf4c47a; }
.cb-home .cb-theme-toggle:focus-visible { outline: 2px solid #8aefc0; outline-offset: 3px; }
.cb-theme-toggle svg { width: 21px; height: 21px; }
.cb-theme-toggle .cb-theme-moon, :root[data-theme="light"] .cb-theme-toggle .cb-theme-sun { display: none; }
:root[data-theme="light"] .cb-theme-toggle .cb-theme-moon { display: block; }
.cb-app-account { display: flex; align-items: center; gap: 14px; }
:root[data-theme="light"] .cb-home .cb-theme-toggle { color: var(--theme-accent); background: #f0f8f3; border-color: var(--theme-border); box-shadow: 0 2px 5px #17372d06; }
:root[data-theme="light"] .cb-home .cb-theme-toggle:hover { background: #dff0e6; border-color: #83b69c; }
:root[data-theme="light"] .cb-home :is(a, button, summary, input, select, textarea):focus-visible { outline-color: var(--theme-accent); }

/* Account navigation and public authentication navigation. */
:root[data-theme="light"] .cb-app-header { --cb-nav-surface: #f2f8f4; }
:root[data-theme="light"] .cb-app-bar { background: linear-gradient(115deg, #f4faf6, #ffffffed 55%); border-color: var(--theme-border); box-shadow: var(--theme-shadow), inset 0 1px #fff; }
:root[data-theme="light"] :is(.cb-app-bar::before, .cb-account-heading::after) { opacity: .5; }
:root[data-theme="light"] .cb-home :is(.cb-app-brand, .cb-profile-label strong, .cb-profile-intro strong) { color: var(--theme-text); }
:root[data-theme="light"] .cb-home :is(.cb-app-wordmark > span, .cb-app-emblem, .cb-profile-intro .cb-profile-eyebrow) { color: var(--theme-accent); }
:root[data-theme="light"] .cb-home :is(.cb-app-wordmark small, .cb-profile-label > span, .cb-profile-intro > span:last-child, .cb-profile-action small, .cb-profile-chevron, .cb-profile-action-arrow, .cb-profile-action > svg) { color: var(--theme-muted); }
:root[data-theme="light"] .cb-app-navigation, :root[data-theme="light"] .cb-profile-intro { border-color: var(--theme-border); }
:root[data-theme="light"] .cb-home :is(.cb-app-nav-link, .cb-app-login, .cb-profile-action) { color: var(--theme-muted); }
:root[data-theme="light"] .cb-home :is(.cb-app-nav-link:hover, .cb-app-login:hover, .cb-app-login[aria-current], .cb-profile-action:hover, .cb-profile-action[aria-current], .cb-app-nav-link.is-current) { color: #075b3d; background: #e1f1e7; border-color: #b5d7c3; box-shadow: none; }
:root[data-theme="light"] .cb-app-nav-link.is-current::after { background: var(--theme-accent); box-shadow: none; }
:root[data-theme="light"] .cb-profile-avatar { background: linear-gradient(140deg, #d0eadb, #e6f4ec); color: #1b5c40; border-color: #aacfb8; box-shadow: inset 0 1px #fff; }
:root[data-theme="light"] :is(.cb-profile-trigger:hover, .cb-profile[open] > .cb-profile-trigger) { background: #eaf5ee; border-color: var(--theme-border); }
:root[data-theme="light"] .cb-profile-panel { background: var(--theme-surface); border-color: var(--theme-border); box-shadow: 0 18px 55px #163e2926; }
:root[data-theme="light"] .cb-home .cb-profile-signout, :root[data-theme="light"] .cb-home .cb-profile-signout > svg { color: var(--theme-danger); }
:root[data-theme="light"] .cb-home .cb-profile-signout:hover { color: #923333; background: #fff0ec; }
:root[data-theme="light"] .cb-home .cb-app-join { background: linear-gradient(115deg, #13845e, #066d4c); color: #fff; border-color: #08754f; box-shadow: inset 0 1px #ffffff26, 0 4px 14px #087b551a; }

/* Shared page surfaces, type and action hierarchy. */
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish { --ui-line: var(--theme-border); --ui-muted: var(--theme-muted); --ui-surface: linear-gradient(145deg, #fff, #f8fbf9); }
:root[data-theme="light"] .cb-home :is(.cb-auth-card, .cb-account-panel, .cb-admin-editor),
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish :is(.cb-auth-card, .cb-account-panel, .cb-admin-editor) { color: var(--theme-text); background: linear-gradient(145deg, #fff, #f8fbf9); border-color: var(--theme-border); box-shadow: var(--theme-shadow), inset 0 1px #fff; }
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish .cb-auth-card .cb-admin-editor { background: none; box-shadow: none; border: 0; }
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish .cb-account-heading { color: var(--theme-text); background: linear-gradient(115deg, #e7f3eb, #fafdfb 70%); border-color: #bfd8c8; box-shadow: var(--theme-shadow); }
:root[data-theme="light"] .cb-home :is(.cb-account-intro, .cb-account-heading > p:not(.cb-eyebrow), .cb-account-panel > p, .cb-account-switch, .cb-account-footer, .cb-team-meta, .cb-account-history > p, .cb-history-event > span),
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish :is(.cb-account-intro, .cb-account-panel > p, .cb-account-heading > p:not(.cb-eyebrow), .cb-field-help) { color: var(--theme-muted); }
:root[data-theme="light"] .cb-home .cb-field-help { color: var(--theme-muted); }
:root[data-theme="light"] .cb-home :is(.cb-account-intro strong, .cb-account-name, .cb-team-option strong) { color: var(--theme-text); }
:root[data-theme="light"] .cb-home :is(.cb-text-link, .cb-accent, .cb-eyebrow, .cb-account-switch a, .cb-account-state),
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish :is(.cb-text-link, .cb-accent, .cb-eyebrow) { color: var(--theme-accent); text-shadow: none; }
:root[data-theme="light"] .cb-home .cb-text-link:hover { color: var(--theme-accent-hover); }
:root[data-theme="light"] .cb-home :is(.cb-account-footer, .cb-account-row, .cb-history-event) { border-color: var(--theme-border); }
:root[data-theme="light"] .cb-home .cb-team-logo { color: #0d6847; background: #e4f2e9; border-color: #b4d4c1; }
:root[data-theme="light"] .cb-home .cb-team-logo:has(img) { background: #fff; }
:root[data-theme="light"] .cb-home .cb-button-primary,
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish .cb-button-primary { color: #fff; background: linear-gradient(115deg, #13845e, #066d4c); border-color: #08754f; box-shadow: inset 0 1px #ffffff26, 0 5px 18px #087b5521; }
:root[data-theme="light"] .cb-home .cb-button-primary:hover,
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish .cb-button-primary:hover { color: #fff; background: linear-gradient(115deg, #08764f, #045a3c); box-shadow: 0 6px 20px #087b5529; }
:root[data-theme="light"] .cb-home .cb-button:not(.cb-button-primary, .cb-button-danger),
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish .cb-button:not(.cb-button-primary, .cb-button-danger) { color: #185c40; border-color: #b3d2bf; background: linear-gradient(135deg, #f1f8f3, #e4f1e9); box-shadow: inset 0 1px #fff; }
:root[data-theme="light"] .cb-home .cb-button:not(.cb-button-primary, .cb-button-danger):hover,
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish .cb-button:not(.cb-button-primary, .cb-button-danger):not(:disabled):hover { color: #074a30; border-color: #86b69a; background: #dceee2; }
:root[data-theme="light"] .cb-home .cb-button-danger,
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish .cb-button-danger { color: #9c322d; background: #fff0ec; border-color: #e4b9b0; box-shadow: none; }
:root[data-theme="light"] .cb-home .cb-button-danger:hover,
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish .cb-button-danger:hover { color: #802823; background: #fce2dc; box-shadow: none; }
:root[data-theme="light"] .cb-home .cb-button:disabled,
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish .cb-button:disabled { color: #61786a; background: #e7ede9; border-color: #cddbd2; box-shadow: none; }

/* Forms: date/select widgets, autofill and focus need the same palette. */
:root[data-theme="light"] .cb-home :is(.cb-form-field label, .cb-check-field, .cb-logo-remove, .cb-account-form legend),
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish :is(.cb-form-field label, .cb-check-field, .cb-logo-remove, .cb-account-form legend) { color: var(--theme-text); }
:root[data-theme="light"] .cb-home .cb-form-field :is(input, textarea, select):not([type="checkbox"], [type="radio"], [type="hidden"]),
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish .cb-form-field :is(input, textarea, select):not([type="checkbox"], [type="radio"], [type="hidden"]) { background: #fff; color: var(--theme-text); border-color: #b5ccbe; color-scheme: light; caret-color: var(--theme-accent); box-shadow: inset 0 1px 3px #143e2906; }
:root[data-theme="light"] .cb-home .cb-form-field :is(input, textarea)::placeholder,
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish .cb-form-field :is(input, textarea)::placeholder { color: #637b6c; opacity: 1; }
:root[data-theme="light"] .cb-home .cb-form-field :is(input, select, textarea):focus,
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish .cb-form-field :is(input, select, textarea):focus { outline-color: #087b5570; border-color: var(--theme-accent); box-shadow: 0 0 0 4px #087b5509; }
:root[data-theme="light"] .cb-home .cb-form-field :is(input[readonly], input:disabled, select:disabled),
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish .cb-form-field :is(input[readonly], input:disabled, select:disabled) { background: #edf2ee; color: #526558; }
:root[data-theme="light"] .cb-home input:is([type="checkbox"], [type="radio"]),
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish input:is([type="checkbox"], [type="radio"]) { color-scheme: light; accent-color: var(--theme-accent); }
:root[data-theme="light"] .cb-home .cb-form-field input:-webkit-autofill { -webkit-text-fill-color: var(--theme-text); box-shadow: inset 0 0 0 1000px #e9f5ed; caret-color: var(--theme-accent); }
:root[data-theme="light"] .cb-home .cb-password-toggle { color: var(--theme-accent); border-color: var(--theme-border); }
:root[data-theme="light"] .cb-home .cb-password-toggle:hover { color: var(--theme-accent-hover); background: #edf5f0; }
:root[data-theme="light"] .cb-home .cb-account-form fieldset,
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish .cb-account-form fieldset { border-color: var(--theme-border); background: #f5faf7; }
:root[data-theme="light"] .cb-home :is(.cb-logo-upload, .cb-photo-upload),
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish :is(.cb-logo-upload, .cb-photo-upload) { background: #f6faf7; border-color: #b6d1c0; }
:root[data-theme="light"] .cb-home input[type="file"]::file-selector-button,
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish input[type="file"]::file-selector-button { color: #155437; background: #e3f1e8; border-color: #b3d1bf; }
:root[data-theme="light"] .cb-home .cb-form-field .field_with_errors :is(input, textarea, select),
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish .cb-form-field .field_with_errors :is(input, textarea, select) { border-color: var(--theme-danger); }
:root[data-theme="light"] .cb-home .cb-account-form legend span { color: var(--theme-muted); }
:root[data-theme="light"] .cb-home :is(.cb-account-main.cb-interface-polish, .cb-league-flow) .cb-image-dropzone { color: var(--theme-text); background: linear-gradient(135deg, #f3faf6, #fff); border-color: #93bba4; }
:root[data-theme="light"] .cb-home :is(.cb-account-main.cb-interface-polish, .cb-league-flow) .cb-image-dropzone:is(:hover, .has-file) { border-color: var(--theme-accent); }
:root[data-theme="light"] .cb-home :is(.cb-account-main.cb-interface-polish, .cb-league-flow) .cb-image-dropzone.is-dragging { background: #e2f4e9; border-color: var(--theme-accent); box-shadow: 0 0 0 3px #087b5517; }
:root[data-theme="light"] .cb-home :is(.cb-account-main.cb-interface-polish, .cb-league-flow) .cb-image-dropzone:focus-within { outline-color: var(--theme-accent); }
:root[data-theme="light"] .cb-home :is(.cb-account-main.cb-interface-polish, .cb-league-flow) .cb-image-dropzone strong { color: var(--theme-text); }
:root[data-theme="light"] .cb-home :is(.cb-account-main.cb-interface-polish, .cb-league-flow) .cb-image-dropzone :is(.cb-image-upload-icon, .cb-image-browse) { color: var(--theme-accent); }
:root[data-theme="light"] .cb-home :is(.cb-account-main.cb-interface-polish, .cb-league-flow) .cb-image-dropzone > :is(span, small) { color: var(--theme-muted); }
:root[data-theme="light"] .cb-home :is(.cb-account-main.cb-interface-polish, .cb-league-flow) .cb-logo-upload input[type="file"]:invalid { color: var(--theme-danger); background: #fff0ec; border-color: #d99083; }
:root[data-theme="light"] .cb-home :is(.cb-account-main.cb-interface-polish, .cb-league-flow) .cb-logo-upload:has(input[type="file"]:invalid) .cb-logo-feedback { color: #97362e; background: #fff0ec; border-color: #d99083; }
:root[data-theme="light"] .cb-home .cb-status { color: #236146; background: #e6f3eb; border-color: #b1d4bf; }

/* Feedback and table chrome retain meaningful state colors. */
:root[data-theme="light"] .cb-home .cb-flash,
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish .cb-flash:not(.cb-flash-alert) { color: #215f42; background: #e7f5ec; border-color: #b0d9be; }
:root[data-theme="light"] .cb-home :is(.cb-form-errors, .cb-flash-alert),
:root[data-theme="light"] .cb-home .cb-account-main.cb-interface-polish :is(.cb-form-errors, .cb-flash-alert) { color: #97362e; background: #fff0ec; border-color: #e6b8ad; }
:root[data-theme="light"] .cb-home :is(.cb-import-errors, .cb-account-disabled, .cb-filter-status.is-error) { color: var(--theme-danger); }
:root[data-theme="light"] .cb-home :is(.cb-import-table-wrap, .cb-standings-table-wrap) { border-color: var(--theme-border); scrollbar-color: #9bbba9 #eff5f1; }
:root[data-theme="light"] .cb-home .cb-import-table caption { color: var(--theme-muted); }
:root[data-theme="light"] .cb-home .cb-import-table :is(th, td) { border-color: var(--theme-border); }
:root[data-theme="light"] .cb-home .cb-import-table th { color: var(--theme-text); background: #eaf3ed; }
:root[data-theme="light"] .cb-home .cb-pagination { color: var(--theme-muted); }
:root[data-theme="light"] .cb-home .cb-pagination a { color: var(--theme-accent); }
:root[data-theme="light"] .cb-home .cb-pagination span[aria-disabled] { background: #edf2ef; color: #66796e; border-color: var(--theme-border); }
:root[data-theme="light"] .cb-home .cb-filter-status { color: var(--theme-muted); }

/* Dialogs live outside <main> and must follow the document preference. */
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-dialog { background: #fff; color: var(--theme-text); border-color: #b4d1c0; box-shadow: 0 24px 80px #102e3340, inset 0 1px #fff; color-scheme: light; scrollbar-color: #9bbba9 #eff5f1; }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-dialog::backdrop { background: #0a261d6b; backdrop-filter: blur(5px); }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-flow { background: linear-gradient(140deg, #fff, #f6faf7); color: var(--theme-text); border-color: var(--theme-border); box-shadow: var(--theme-shadow); }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-dialog .cb-league-flow { background: transparent; box-shadow: none; }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-flow-heading :is(h1, h2) { color: var(--theme-text); }
:root[data-theme="light"] .cb-home.cb-account-shell :is(.cb-league-flow-heading p:not(.cb-eyebrow), .cb-league-dialog-loading, .cb-league-flow .cb-field-help) { color: var(--theme-muted); }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-dialog-close { background: #eef6f1; color: var(--theme-text); border-color: var(--theme-border); }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-dialog-close:hover { background: #ddecdf; }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-admin-action-icon { background: linear-gradient(140deg, #dff1e5, #f1f8f4); color: var(--theme-accent); border-color: #b7d6c2; box-shadow: inset 0 1px #fff; }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-admin-action-secondary { border-color: var(--theme-border); }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-flow.cb-admin-action .cb-button-danger { color: #9c322d; background: #fff0ec; border-color: #e4b9b0; }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-admin-action .cb-account-form fieldset { background: none; border: 0; }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-flow .cb-form-field label { color: var(--theme-text); }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-flow .cb-form-field :is(input, select, textarea):not([type="hidden"], [type="checkbox"], [type="radio"]) { color: var(--theme-text); background: #fff; border-color: #b5ccbe; color-scheme: light; box-shadow: inset 0 1px 3px #143e2906; }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-flow input::placeholder { color: #637b6c; }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-flow .cb-form-field :is(input, select, textarea):focus { border-color: var(--theme-accent); outline-color: #087b5570; box-shadow: 0 0 0 4px #087b5509; }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-flow .cb-form-field :is(input[readonly], input:disabled, select:disabled) { background: #edf2ee; color: #526558; }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-flow .cb-form-field .field_with_errors :is(input, textarea, select) { border-color: var(--theme-danger); }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-flow .cb-button { background: #e4f1e9; color: #185c40; border-color: #b3d2bf; box-shadow: inset 0 1px #fff; }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-flow .cb-button:hover { background: #dceee2; color: #074a30; border-color: #86b69a; }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-flow .cb-button-primary { color: #fff; background: linear-gradient(115deg, #13845e, #066d4c); border-color: #08754f; box-shadow: 0 5px 18px #087b5521; }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-flow .cb-button-primary:hover { color: #fff; background: #056443; }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-flow .cb-button-danger { color: #9c322d; background: #fff0ec; border-color: #e4b9b0; box-shadow: none; }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-flow .cb-button-danger:hover { color: #802823; background: #fce2dc; border-color: #d19d90; }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-flow .cb-button:disabled { background: #e7ede9; color: #61786a; border-color: #cddbd2; box-shadow: none; }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-dialog-error { color: #97362e; background: #fff0ec; border-color: #e6b8ad; }
:root[data-theme="light"] .cb-home.cb-account-shell .cb-league-dialog-loading a { color: var(--theme-accent); }

/* Keep a full touch target in compact account headers. */
@media (max-width: 600px) {
  .cb-app-account { gap: 6px; }
  .cb-app-bar { gap: 8px; }
}
@media (max-width: 480px) {
  .cb-app-bar .cb-app-emblem { width: 26px; height: 34px; }
  .cb-app-bar .cb-app-emblem svg { width: 34px; height: 34px; }
  .cb-app-bar .cb-profile-chevron { display: none; }
  .cb-app-bar .cb-profile-trigger { min-width: 44px; justify-content: center; }
  .cb-app-bar .cb-app-wordmark { font-size: 21px; }
  .cb-app-bar:has(.cb-app-guest), .cb-landing .cb-nav:has(.cb-landing-login) { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; }
  .cb-app-guest, .cb-landing .cb-nav:has(.cb-landing-login) .cb-landing-account { display: contents; }
  .cb-app-guest .cb-theme-toggle, .cb-landing .cb-nav:has(.cb-landing-login) .cb-theme-toggle { grid-column: 2; grid-row: 1; justify-self: end; }
  .cb-app-guest .cb-app-login, .cb-landing .cb-landing-login { grid-column: 1; grid-row: 2; justify-self: start; }
  .cb-app-guest .cb-app-join, .cb-landing .cb-nav:has(.cb-landing-login) .cb-app-join { grid-column: 2; grid-row: 2; justify-self: end; }
  .cb-landing .cb-nav:has(.cb-landing-login) .cb-nav-links { grid-column: 1 / -1; grid-row: 3; }
}
@media (max-width: 350px) {
  .cb-app-bar .cb-app-emblem { display: none; }
}
@media (max-width: 380px) {
  .cb-app-bar { gap: 4px; padding-inline: 10px; }
  .cb-app-bar .cb-app-wordmark { font-size: 20px; }
  .cb-landing .cb-nav:not(:has(.cb-landing-login)) .cb-app-emblem { display: none; }
  .cb-landing .cb-nav:not(:has(.cb-landing-login)) .cb-landing-account { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .cb-home .cb-theme-toggle { transition: none; } }
