:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --public-bg: #f7f5f2;
  --public-surface: #fff;
  --public-surface-soft: #f0ede8;
  --public-text: #22211f;
  --public-muted: #706c66;
  --public-line: #ded9d2;
  --public-accent: #8b6a40;
  --public-accent-dark: #6e512e;
  --public-accent-highlight: #d8bc7c;
  --public-radius: 10px;
  --public-shadow: 0 18px 48px rgb(45 36 28 / 9%);
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; background: var(--public-bg); scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: var(--public-bg); color: var(--public-text); }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--public-accent) 70%, white); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Shared, accessible image failure placeholder for informative public media. */
.image-fallback-frame { position: relative; overflow: hidden; }
.image-fallback-frame > img[hidden] { display: none !important; }
.image-fallback { position: absolute; z-index: 1; inset: 0; display: grid; align-content: center; justify-items: center; gap: 10px; overflow: auto; padding: clamp(12px, 4vw, 30px); background: var(--image-fallback-bg, var(--public-surface-soft)); color: var(--image-fallback-fg, var(--public-text)); text-align: center; }
.image-fallback[hidden] { display: none !important; }
.image-fallback__icon { display: grid; width: 2.5rem; flex: 0 0 auto; aspect-ratio: 1; place-items: center; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); border-radius: 6px; color: currentColor; font-size: 1.15rem; line-height: 1; opacity: .72; }
.image-fallback__status { font-size: .78rem; font-weight: 700; }
.image-fallback__description { max-width: 34ch; font-size: clamp(.82rem, 1.5vw, 1rem); font-weight: 600; line-height: 1.4; }
html[data-theme="dark"] .image-fallback-frame .image-fallback { --image-fallback-bg: #20211F; --image-fallback-fg: #F0EDE8; }
