:root{
  color-scheme: light;
  --paper:#FFF8EC; --surface:#FFFFFF; --ink:#22180F; --muted:#5E4E40; --line:#EADFCC; --tint:#F3F8EE;
  --green:#1E7A3A; --green-ink:#FFFFFF; --orange:#D9650A; --yellow:#FFC93C; --soft:#E3F0DC;
  --warn-bg:#FFF1D6; --warn-ink:#5A3A00; --bad:#B3261E; --off-bg:#FBE3E3; --off-ink:#7A1D1D;
  --display:'Baloo 2','Trebuchet MS',sans-serif; --body:'Nunito Sans','Segoe UI',system-ui,sans-serif;
}
@media (prefers-color-scheme: dark){
  :root{
    color-scheme: dark;
    --paper:#14110D; --surface:#1E1A15; --ink:#F2EBDF; --muted:#BFB3A3; --line:#3A332A; --tint:#1F2A1F;
    --green:#7FD39A; --green-ink:#0E1A12; --orange:#FFA45C; --yellow:#FFC93C; --soft:#203626;
    --warn-bg:#3A2E12; --warn-ink:#FCE3A6; --bad:#FF8A80; --off-bg:#3A1F1F; --off-ink:#FFC9C9;
  }
}
*,*::before,*::after{ box-sizing:border-box; }
[hidden]{ display:none !important; }
.badge svg{ width:100%; height:auto; display:block; }
html{ padding-top:env(safe-area-inset-top,0px); }
body{ margin:0; background:var(--paper); color:var(--ink); font-family:var(--body); font-size:16px; line-height:1.5; padding-bottom:env(safe-area-inset-bottom,0px); }
button,input,select,textarea{ font:inherit; color:inherit; }
:focus-visible{ outline:3px solid var(--yellow); outline-offset:2px; border-radius:8px; }
a{ color:var(--green); }
h1,h2,h3{ font-family:var(--display); line-height:1.1; margin:0; }
h1{ font-size:32px; } h2{ font-size:22px; } h3{ font-size:18px; }
.wrap{ max-width:560px; margin:0 auto; padding:0 16px 40px; }
.wrap.wide{ max-width:1120px; }
.top{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:14px 0; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--display); font-weight:800; font-size:24px; }
.brand .t{ color:var(--green); } .brand .b{ color:var(--orange); }
.card{ background:var(--surface); border:1px solid var(--line); border-radius:18px; padding:16px; display:flex; flex-direction:column; gap:12px; }
.stack{ display:flex; flex-direction:column; gap:14px; }
.row{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.between{ display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; }
.grid2{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
@media (max-width:520px){ .grid2{ grid-template-columns:1fr; } }
.btn{ min-height:46px; padding:0 16px; border-radius:12px; border:1.5px solid var(--line); background:var(--surface); font-weight:800; cursor:pointer; display:inline-flex; align-items:center; justify-content:center; gap:8px; text-decoration:none; color:var(--ink); }
.btn.primary{ background:var(--green); color:var(--green-ink); border-color:var(--green); }
.btn.outline{ border-color:var(--green); color:var(--green); }
.btn.small{ min-height:40px; padding:0 12px; font-size:14px; }
.btn.block{ width:100%; }
.btn:disabled{ opacity:.5; cursor:not-allowed; }
.field{ display:flex; flex-direction:column; gap:6px; font-weight:700; font-size:14px; }
.field input,.field select,.field textarea{ min-height:46px; border:1.5px solid var(--line); border-radius:12px; padding:8px 12px; font-weight:400; font-size:16px; background:var(--surface); }
.field textarea{ min-height:100px; }
.check{ display:flex; gap:10px; align-items:flex-start; font-size:15px; cursor:pointer; }
.check input{ width:20px; height:20px; margin-top:2px; accent-color:var(--green); flex-shrink:0; }
.chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{ display:flex; align-items:center; gap:7px; min-height:44px; padding:0 14px; border:1.5px solid var(--line); border-radius:999px; cursor:pointer; }
.chip:has(input:checked){ border-color:var(--green); background:var(--tint); font-weight:800; }
.chip input{ accent-color:var(--green); margin:0; }
.small{ font-size:13px; color:var(--muted); }
.muted{ color:var(--muted); }
.big{ font-family:var(--display); font-size:34px; font-weight:800; line-height:1; }
.kv{ display:flex; justify-content:space-between; gap:12px; font-size:15px; }
.kv span:first-child{ color:var(--muted); } .kv span:last-child{ font-weight:700; text-align:right; }
.tag{ display:inline-flex; align-items:center; font-size:12px; font-weight:800; padding:4px 10px; border-radius:999px; background:var(--soft); color:var(--green); white-space:nowrap; }
.tag.warn{ background:var(--warn-bg); color:var(--warn-ink); }
.tag.off{ background:var(--off-bg); color:var(--off-ink); }
.note{ background:var(--warn-bg); color:var(--warn-ink); border-radius:12px; padding:12px 14px; font-size:14px; }
.hero{ background:var(--green); color:var(--green-ink); border-radius:22px; padding:24px 20px; display:flex; flex-direction:column; gap:12px; }
.hero h1{ font-size:38px; color:var(--green-ink); }
.price-row{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.price{ background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:12px; text-align:center; }
.price b{ display:block; font-family:var(--display); font-size:24px; }
.tabs{ display:flex; gap:6px; overflow-x:auto; padding-bottom:4px; margin-bottom:14px; }
.tabs button{ min-height:42px; padding:0 14px; border-radius:999px; border:1.5px solid var(--line); background:var(--surface); font-weight:800; cursor:pointer; white-space:nowrap; }
.tabs button[aria-current="page"]{ background:var(--green); color:var(--green-ink); border-color:var(--green); }
.cal{ display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:6px; }
.cal .h{ text-align:center; font-size:12px; font-weight:800; color:var(--muted); }
.cal button{ aspect-ratio:1; min-height:42px; border-radius:10px; border:1.5px solid var(--line); background:var(--surface); font-weight:800; cursor:pointer; display:flex; flex-direction:column; align-items:center; justify-content:center; font-size:15px; padding:0; }
.cal button:disabled{ cursor:default; }
.cal .serv{ border-color:var(--green); }
.cal .off{ background:var(--off-bg); color:var(--off-ink); border-color:transparent; }
.cal .hol{ background:var(--warn-bg); color:var(--warn-ink); border-color:transparent; }
.cal .none{ opacity:.45; }
.cal .done{ background:var(--soft); color:var(--green); border-color:transparent; }
.cal .past{ opacity:.6; }
.cal small{ font-size:9px; font-weight:800; line-height:1; }
.legend{ display:flex; flex-wrap:wrap; gap:8px; font-size:12px; }
.scroll{ overflow-x:auto; }
table{ width:100%; border-collapse:collapse; font-size:14px; }
th{ text-align:left; font-size:12px; color:var(--muted); padding:8px; border-bottom:1.5px solid var(--line); white-space:nowrap; }
td{ padding:8px; border-bottom:1px solid var(--line); vertical-align:top; }
.allergy{ color:var(--bad); font-weight:800; }
.counts{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
@media (max-width:620px){ .counts{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
.count{ background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:12px; }
.count b{ display:block; font-family:var(--display); font-size:30px; line-height:1; }
.toast{ position:fixed; left:50%; bottom:24px; transform:translateX(-50%); background:var(--ink); color:var(--surface); padding:12px 18px; border-radius:12px; font-weight:700; font-size:14px; max-width:calc(100% - 32px); z-index:50; }
.center{ text-align:center; padding:60px 0; }
.sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
@media print{
  .noprint,.tabs,.top,.toast{ display:none !important; }
  body{ background:#fff; color:#000; }
  .card{ border:none; padding:0; }
}
