:root {
  --feedbox-backdrop: rgb(0 0 0 / 18%);
  --feedbox-icon-size: 32px;
  --feedbox-control-size: 56px;
  color-scheme: light;
  --canvas: #ffffff;
  --ink: #000000;
  --secondary: #595959;
  --rule: #d6d6d6;
  --rule-strong: #a1a1a1;
  --control-border: #767676;
  --subtle: #f6f6f4;
  --row-hover: #f5f5f5;
  --inverse-ink: #ffffff;
  --place-heart: #985858;
  --serif: 'Bodoni Moda', Georgia, serif;
  --sans: 'Inter', Arial, sans-serif;
  --text-display: clamp(2rem, 3vw, 2.5rem);
  --text-page: 2.25rem;
  --text-empty: clamp(2rem, 3.5vw, 2.75rem);
  --text-work: 2.25rem;
  --text-section: 1.25rem;
  --text-logo: 1.625rem;
  --text-body: .875rem;
  --text-control: .8125rem;
  --text-meta: .8125rem;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --outer: 40px;
  --rail: 176px;
  --radius: 0;
  --privacy-icon-size: 17px;
  --motion: 140ms;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --canvas: #000000;
  --ink: #ffffff;
  --secondary: #b3b3b3;
  --rule: #555555;
  --rule-strong: #666666;
  --control-border: #8a8a8a;
  --subtle: #141414;
  --row-hover: #232323;
  --inverse-ink: #000000;
  --place-heart: #c68e8e;
}
@media (max-width: 680px) {
  :root { --outer: 20px; --text-body: .875rem; --text-logo: 1.4375rem; --text-work: 1.8125rem; --text-section: 1.375rem; }
}
@media (prefers-reduced-motion: reduce) { :root { --motion: 0ms; } }

/* V3 palette, scoped to the Guide while other surfaces are reviewed. */
.guide-shell { --ink: #161616; --secondary: #626262; --rule: #dedede; --control-border: #858585; --subtle: #f5f5f5; }
:root[data-theme='dark'] .guide-shell { --canvas: #171717; --ink: #f4f4f4; --secondary: #b1b1b1; --rule: #393939; --control-border: #929292; --subtle: #232323; --inverse-ink: #151515; }
