/* Approved warm ivory palette. Existing layout, typography and behavior retained. */
:root {
  color-scheme: light;
  --color-paper: #fff8ed;
  --color-paper-raised: #fffdf8;
  --color-paper-deep: #f9efdf;
  --color-paper-sunken: #f3e6d3;
  --color-ink: #28251f;
  --color-body: #514a40;
  --color-muted: #665d52;
  --color-rule: #e5d7c4;
  --color-rule-strong: #c1ad92;
  --color-amber: #f6bc73;
  --color-amber-hover: #f2ad59;
  --color-amber-deep: #885319;
  --color-amber-soft: #f8d4a5;
  --color-night: #fff8ed;
  --color-night-text: #28251f;
  --color-night-body: #514a40;
  --color-night-muted: #665d52;
  --color-hero-amber: #885319;
  --color-hero-amber-hover: #f2ad59;
  --color-sky: #fff8ed;
  --color-mint: #fff8ed;
  --color-sunshine: #fff8ed;
  --color-sky-rule: #e5d7c4;
  --color-mint-rule: #e5d7c4;
  --color-sunshine-rule: #e5d7c4;
  --color-source-blue: #885319;
  --color-source-coral: #885319;
  --color-source-green: #885319;
  --color-focus: #885319;
}
html { scrollbar-color: #c1ad92 #fff8ed; }
::selection { background: #f8d4a5; color: #28251f; }
input, textarea { caret-color: #885319; }
.site-header, .hero { --color-focus: #885319; }
.hero-actions .button, .contact-section .button,
.motion-share-action .th-demo-share { background: #f6bc73; color: #28251f; }
.knowledge-section, .contact-section { border-top: 1px solid #e5d7c4; }
.knowledge-heading p, .knowledge-flow p, .release-note { color: #514a40; }
.contact-symbol svg, .site-footer .brand-mark { stroke: #885319; }
.contact-section .container > p, .contact-note,
.site-footer p, .footer-inner > span { color: #514a40; }
.motion-preview {
  --motion-ink: #28251f;
  --motion-muted: #665d52;
  --motion-rule: #e5d7c4;
  --motion-surface: #f9efdf;
  --motion-blue: #885319;
  --motion-yellow: #f6bc73;
}
.motion-picker, .motion-work { background: #fffdf8; }
.motion-option.is-selected { background: #f9efdf; }
.motion-avatar { background-color: #e5d7c4; color: #28251f; }
.motion-avatar--qr { background-color: #e5d7c4; }
.motion-working-text, .motion-review { color: #665d52; }
.motion-work.is-shared { border-color: #a8b38d; }
.motion-work-check, .motion-share-state svg { stroke: #566843; }
.motion-trail .motion-avatar { border-color: #fff8ed; }
.th-share-url { background: #fffdf8; color: #28251f; border-color: #c1ad92; }
.af-dialog {
  color-scheme: light;
  --af-bg: #fff8ed;
  --af-surface: #f9efdf;
  --af-rule: #e5d7c4;
  --af-text: #28251f;
  --af-muted: #665d52;
  --af-blue: #885319;
  --af-gold: #885319;
}
.af-dialog ::selection { background: #f8d4a5; color: #28251f; }
.af-dialog::backdrop { background: rgb(40 37 31 / .35); }
@media (hover: hover) and (pointer: fine) {
  .hero-actions .button:hover, .contact-section .button:hover,
  .motion-share-action .th-demo-share:hover { background: #f2ad59; }
}
