/* ============================================================
   Design tokens — cream base, peach-rose primary, one accent per room
   ============================================================ */
:root {
  color-scheme: only light;   /* the app is always light: the rooms have their own night */
  /* palette */
  --cream: #fff8ee;
  --cream-2: #fff1e0;
  --paper: #ffffff;
  --ink: #3f3a36;
  --ink-2: #6b625c;
  --ink-3: #a39890;
  --line: #f1e4d6;
  --line-2: #e8d6c4;

  --rose: #f43f5e;
  --rose-2: #fb7185;
  --rose-soft: #ffe4e6;
  --peach: #ff9f80;
  --amber: #f59e0b;
  --amber-soft: #fef3c7;
  --sky: #0ea5e9;
  --sky-soft: #e0f2fe;
  --violet: #8b5cf6;
  --violet-soft: #ede9fe;
  --green: #10b981;
  --green-soft: #d1fae5;

  --primary: var(--rose);
  --primary-grad: linear-gradient(135deg, #fb7185 0%, #f43f5e 55%, #fb923c 130%);

  /* per-room accent (overridden by [data-room]) */
  --accent: var(--rose);

  /* radii */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* shadows */
  --sh-1: 0 1px 2px rgba(120, 72, 40, .08), 0 2px 8px rgba(120, 72, 40, .08);
  --sh-2: 0 6px 24px rgba(120, 72, 40, .16), 0 2px 6px rgba(120, 72, 40, .08);
  --sh-press: inset 0 2px 4px rgba(0, 0, 0, .08);

  /* type scale */
  --fs-xs: 11px;
  --fs-sm: 13px;
  --fs-md: 15px;
  --fs-lg: 18px;
  --fs-xl: 22px;

  /* motion */
  --ease-spring: cubic-bezier(.2, .9, .3, 1.25);
  --ease-out: cubic-bezier(.2, .8, .3, 1);

  /* safe areas & keyboard */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --kb: 0px;

  --font: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

#app-shell[data-room="living"]   { --accent: #f43f5e; }
#app-shell[data-room="catroom"]  { --accent: #fb923c; }
#app-shell[data-room="kitchen"]  { --accent: #f59e0b; }
#app-shell[data-room="bathroom"] { --accent: #0ea5e9; }
#app-shell[data-room="wardrobe"] { --accent: #8b5cf6; }
#app-shell[data-room="balcony"]  { --accent: #7c3aed; }
#app-shell[data-room="park"]     { --accent: #10b981; }
#app-shell[data-room="gym"]      { --accent: #0d9488; }
