/* ===== Be Well teması: krem zemin, adaçayı yeşili + koyu zeytin (renkler config.brandColor / brandColorDark) =====
   --gold adı geriye uyumluluk için korunur: artık adaçayı süs rengi.
   Sağdan sola (fa) için yön bağımsız (logical) özellikler kullanılır: margin-inline, inset-inline, text-align: start… */
:root {
  --brand: #4a5a3c;          /* birincil düğme (config ezer) */
  --brand-ink: #f3f1e8;
  --accent: #56683f;         /* koyu adaçayı — metin vurgusu (krem üzerinde okunur koyulukta) */
  --gold: #9fb08c;           /* adaçayı süs çizgileri */
  --sage: #b9c8a8;
  --logo-bg: #f3f1e8;
  --brand-soft: color-mix(in srgb, var(--sage) 30%, var(--surface));
  --bg: #f3f1e8;
  --bg-2: #e9eadb;
  --surface: #fbfaf5;
  --surface-2: #eeeee2;
  --text: #3d4436;
  --muted: #676d5e;
  --line: rgba(61, 68, 54, .15);
  --shadow: 0 10px 30px rgba(61, 68, 54, .08);
  --ok: #3f7d5c;   --ok-bg: #e5f0e3;
  --busy: #a8323e; --busy-bg: #f8e6e7;
  --meal: #8a6416; --meal-bg: #f4ecd6;
  --off: #7d8074;  --off-bg: #e9e9df;
  --r: 18px;
  --gutter: 16px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --accent: #c3d1b2;
    --gold: #8a9c77;
    --brand-soft: color-mix(in srgb, var(--gold) 22%, var(--surface));
    --bg: #1f241c;
    --bg-2: #232920;
    --surface: #283024;
    --surface-2: #313a2c;
    --text: #eef0e6;
    --muted: #b0b7a3;
    --line: rgba(185, 200, 168, .16);
    --shadow: 0 10px 30px rgba(0, 0, 0, .4);
    --ok: #8fd4a6; --ok-bg: #18291d;
    --busy: #ff8f9a; --busy-bg: #33171b;
    --meal: #e3c57e; --meal-bg: #2f2a19;
    --off: #a3a896; --off-bg: #2c3327;
    color-scheme: dark;
  }
}
/* Farsça: Vazirmatn */
:root:lang(fa) { --font: "Vazirmatn", "Inter", system-ui, sans-serif; --display: "Vazirmatn", "Cormorant Garamond", serif; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 640px; margin: 0 auto; padding: 0 var(--gutter); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; letter-spacing: .005em; }
h2 { font-size: 1.85rem; line-height: 1.15; margin-bottom: 14px; }
:lang(fa) h1, :lang(fa) h2, :lang(fa) h3 { font-weight: 700; letter-spacing: 0; }
:lang(fa) h2 { font-size: 1.5rem; }
.eyebrow { color: var(--accent); font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 6px; }
:lang(fa) .eyebrow, :lang(ru) .eyebrow { letter-spacing: .06em; }
.muted { color: var(--muted); }
section.block { padding: 36px 0 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  min-height: 50px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .1s ease, opacity .2s;
}
.btn:active { transform: scale(.97); }
.btn-brand { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.btn-wa { background: #25d366; color: #06230f; border-color: transparent; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--brand)); flex: none; }
.pill { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  background: var(--brand-soft); color: var(--accent); white-space: nowrap; }
.pill.warn { background: var(--meal-bg); color: var(--meal); }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.bad { background: var(--busy-bg); color: var(--busy); }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%) translateY(20px); opacity: 0;
  background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: 99px; font-weight: 700; transition: .25s; pointer-events: none;
  z-index: 50; max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
