/* Shared MyIRL palette. Images and QR artwork retain their own colors. */
:root {
  color-scheme: light;
  --mi-bg: #f5f7fc;
  --mi-surface: #ffffff;
  --mi-surface-soft: #f0f4fa;
  --mi-surface-hover: #e8eef8;
  --mi-sidebar: #ffffff;
  --mi-text: #17233c;
  --mi-text-secondary: #36465f;
  --mi-muted: #5a6a82;
  --mi-subtle: #6a7890;
  --mi-border: #dce3ef;
  --mi-border-strong: #b9c8de;
  --mi-accent: #365cff;
  --mi-accent-hover: #2446d8;
  --mi-accent-soft: #edf1ff;
  --mi-accent-text: #ffffff;
  --mi-success: #13754c;
  --mi-success-soft: #e8f7ef;
  --mi-success-border: #a9d9c0;
  --mi-warning: #8c5905;
  --mi-warning-soft: #fff6df;
  --mi-warning-border: #e6cc8c;
  --mi-danger: #bc3348;
  --mi-danger-soft: #fff0f2;
  --mi-danger-border: #eab3be;
  --mi-info: #215e95;
  --mi-info-soft: #edf6ff;
  --mi-info-border: #b9d8f1;
  --mi-shadow: 0 8px 28px #223f6e0a, 0 1px 3px #223f6e05;
  --mi-shadow-float: 0 18px 60px #1d335125;
  --mi-focus: #365cff;
  --mi-chart-fill: #365cff12;
  --mi-overlay: #111c36a8;
  --mi-radius: 16px;
  --mi-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mi-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --mi-bg: #0c1220;
  --mi-surface: #141d2d;
  --mi-surface-soft: #1a2639;
  --mi-surface-hover: #22324a;
  --mi-sidebar: #101827;
  --mi-text: #f0f4ff;
  --mi-text-secondary: #d2ddef;
  --mi-muted: #a6b6cd;
  --mi-subtle: #92a3bd;
  --mi-border: #2a3b54;
  --mi-border-strong: #435b7a;
  --mi-accent: #92a8ff;
  --mi-accent-hover: #b1bfff;
  --mi-accent-soft: #28375d;
  --mi-accent-text: #0c183d;
  --mi-success: #70e2aa;
  --mi-success-soft: #143b30;
  --mi-success-border: #2b6a52;
  --mi-warning: #ffd287;
  --mi-warning-soft: #3b3020;
  --mi-warning-border: #775d2e;
  --mi-danger: #ff99a9;
  --mi-danger-soft: #442532;
  --mi-danger-border: #814255;
  --mi-info: #9dcdff;
  --mi-info-soft: #1a334e;
  --mi-info-border: #3a5e81;
  --mi-shadow: 0 8px 28px #0000001c;
  --mi-shadow-float: 0 20px 70px #00000060;
  --mi-focus: #adc0ff;
  --mi-chart-fill: #92a8ff1a;
  --mi-overlay: #030711c9;
}
html { background: var(--mi-bg); }
[data-theme-toggle] { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 42px; min-height: 42px; padding: 9px; border: 1px solid var(--mi-border); border-radius: 11px; color: var(--mi-text-secondary); background: var(--mi-surface); cursor: pointer; flex-shrink: 0; }
[data-theme-toggle]:hover { background: var(--mi-surface-hover); color: var(--mi-text); }
[data-theme-toggle] [data-theme-icon] { display: inline-flex; width: 20px; height: 20px; }
[data-theme-toggle] svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[data-theme-label] { font: 600 13px var(--mi-sans); }
:where(button, a, input, select, textarea, summary):focus-visible { outline: 3px solid var(--mi-focus); outline-offset: 3px; }
::selection { background: var(--mi-accent); color: var(--mi-accent-text); }
@media(prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* Suppress only automatic translation widget chrome, never product copy. */
.goog-te-banner-frame,.goog-te-menu-frame,.goog-te-gadget,.goog-te-balloon-frame,#goog-gt-tt,.goog-tooltip{display:none!important;visibility:hidden!important;pointer-events:none!important}
