/* Shared look of the home menu and the lists app (same tokens as the shop). */
:root {
  --bg: #f3f5f4; --surface: #ffffff; --fg: #14201b; --muted: #5b6b64; --line: #d9e0dc;
  --accent: #0f6b4f; --accent-fg: #ffffff; --accent-soft: #dcefe7; --danger: #b3261e;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101614; --surface: #18211e; --fg: #e6efeb; --muted: #93a59d; --line: #2a3631;
    --accent: #4fc79a; --accent-fg: #06241a; --accent-soft: #1d3a2f; --danger: #f2877f;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg); color: var(--fg);
  font: 14px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
  padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right));
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.wrap { padding-left: 8px; padding-right: 8px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; color: var(--muted); }
.input {
  width: 100%; min-height: 40px; padding: 0 12px; font-size: 16px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px;
}
.input:focus-visible, .btn:focus-visible, .row button:focus-visible, a:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
.btn { min-height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-fg); font-weight: 600; }
.btn.ghost { background: transparent; color: var(--fg); border: 1.5px solid var(--line); }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 13px; }
.error { color: var(--danger); min-height: 1.4em; font-size: 14px; }
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  background: var(--fg); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-size: 14px; z-index: 20; max-width: 90vw;
}
