:root {
  --background: #fcf9f5;
  --card: #ffffff;
  --foreground: #292524;
  --muted: #78716c;
  --faint: #a8a29e;
  --primary: #f97316;
  --primary-deep: #ea580c;
  --primary-soft: #fff0e6;
  --border: #e7e5e4;
  --tab: #ffffff;
  --visual: #fed7aa;
  --secondary: #f8eee1;
  --muted-surface: #f1ece6;
  --fresh: #15803d;
  --fresh-soft: #dcfce7;
  --expiring: #b45309;
  --expiring-soft: #fef3c7;
  --expired: #dc2626;
  --expired-soft: #fee2e2;
  --chill: #0284c7;
  --chill-soft: #e0f2fe;
  --share: #7c3aed;
  --share-soft: #f3e8ff;
  --ai: #c026d3;
  --ai-soft: #fae8ff;
  --feedback: #db2777;
  --feedback-soft: #fce7f3;
  --shadow: #7c2d1230;
  --overlay: #00000066;
  --on-primary: #ffffff;
  --on-hero: #ffffff;
  --hero-surface: #ffffffe8;
  --badge-overlay: #00000088;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --background: #211914;
  --card: #30251f;
  --foreground: #faf7f2;
  --muted: #b8aaa0;
  --faint: #8f8178;
  --primary: #fb7f2a;
  --primary-deep: #ff9a58;
  --primary-soft: #4a2c1c;
  --border: #493a31;
  --tab: #291f1a;
  --visual: #5b3826;
  --secondary: #3c3028;
  --muted-surface: #3a3029;
  --fresh: #55d49a;
  --fresh-soft: #173c2d;
  --expiring: #f7b84d;
  --expiring-soft: #432f18;
  --expired: #fa8383;
  --expired-soft: #472020;
  --chill: #5bc0eb;
  --chill-soft: #173645;
  --share: #c4b5fd;
  --share-soft: #32264d;
  --ai: #e879f9;
  --ai-soft: #402244;
  --feedback: #f9a8d4;
  --feedback-soft: #462439;
  --shadow: #00000066;
  --overlay: #00000099;
  --on-primary: #ffffff;
  --on-hero: #ffffff;
  --hero-surface: #30251fe8;
  --badge-overlay: #00000099;
} }
:root[data-theme="dark"] {
  --background: #211914;
  --card: #30251f;
  --foreground: #faf7f2;
  --muted: #b8aaa0;
  --faint: #8f8178;
  --primary: #fb7f2a;
  --primary-deep: #ff9a58;
  --primary-soft: #4a2c1c;
  --border: #493a31;
  --tab: #291f1a;
  --visual: #5b3826;
  --secondary: #3c3028;
  --muted-surface: #3a3029;
  --fresh: #55d49a;
  --fresh-soft: #173c2d;
  --expiring: #f7b84d;
  --expiring-soft: #432f18;
  --expired: #fa8383;
  --expired-soft: #472020;
  --chill: #5bc0eb;
  --chill-soft: #173645;
  --share: #c4b5fd;
  --share-soft: #32264d;
  --ai: #e879f9;
  --ai-soft: #402244;
  --feedback: #f9a8d4;
  --feedback-soft: #462439;
  --shadow: #00000066;
  --overlay: #00000099;
  --on-primary: #ffffff;
  --on-hero: #ffffff;
  --hero-surface: #30251fe8;
  --badge-overlay: #00000099;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: light dark; scroll-behavior: smooth; }
body { margin: 0; background: var(--background); color: var(--foreground); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--chill); outline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: 0; }
.eyebrow { color: var(--primary-deep); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; border-radius: 8px; background: var(--primary); color: white; text-decoration: none; font-weight: 800; cursor: pointer; }
.button:hover { background: var(--primary-deep); }
.button.secondary { border-color: var(--border); background: var(--card); color: var(--foreground); }
.button.secondary:hover { background: var(--primary-soft); }
.button[aria-disabled=true] { opacity: .55; cursor: not-allowed; pointer-events: none; }
.form { display: grid; gap: 16px; margin-top: 28px; max-width: 640px; }
.form label { display: grid; gap: 7px; font-weight: 700; }
.form input, .form select, .form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--card); color: var(--foreground); }
.form small { color: var(--muted); font-weight: 400; }
.status { min-height: 26px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
