/* The growth wheel sets the color reference for the rest of the Demo. */
:root {
  --green: #577451;
  --blue: #426c72;
  --ink: #29382e;
  --muted: #657068;
  --glass: rgb(255 254 248 / 68%);
  --sage-selection: #d6e3c9;
  --sage-ink: #344b35;
  --paper: #fcfbf4;
  --ui-control: rgb(255 255 255 / 55%);
  --ui-panel: rgb(255 255 255 / 89%);
  --ui-inset: #f3f5ee;
  --ui-divider: #dce3d6;
  --ui-rim: #fffef9;
  --ui-outline: #829872;
  --ui-warning: #805c34;
  --ui-danger: #a03f36;
  --ui-title: 16px;
  --ui-body: 14px;
  --ui-meta: 12px;
  --ui-card-radius: 20px;
  --ui-row-radius: 12px;
  --ui-nav-size: 44px;
  --ui-nav-shadow: 0 4px 16px #0409110d;
}

body { background: #edf0e9; }
.phone {
  background: linear-gradient(159deg, #edf2e4 0%, #eff1e9 53%, #eeeae1 100%);
}
/* The child map and all six illustrated scenes display their native material colors. */
.phone:not(:has(.child-atlas-home, qs-brain-wheel, qs-home-room, qs-life-place)),
.phone[data-showing-letter] {
  filter: saturate(.84);
}
.phone .ambient-asset { opacity: .68; }
.showcase, .demo-toolbar, .stage-caption { filter: saturate(.84); }
.brand-leaf { background: var(--green); }
.device-page { --dev-green: var(--green); --dev-ink: var(--ink); }
.meal-page { --meal-accent: #526f51; }

.brain-keys button[aria-pressed="true"],
.place-label[aria-pressed="true"] .place-chip {
  color: var(--sage-ink);
  background: var(--sage-selection);
}
.place-chip {
  color: #354737;
  background: var(--paper);
  border-color: #fffef9;
  box-shadow: 0 2px 6px #485a411b;
}
.place-object i { background: #8b9a7c; border-color: #fffcf1; }
.place-object[data-active="true"] i { background: #657e58; box-shadow: 0 0 0 2px #f9f9e382; }
.place-reply { color: #424d3c; background: var(--paper); }
