:root {
  font: 16px/1.5 "Segoe UI", Arial, sans-serif;
  color: #192f28;
  background: #f4f6f0;
  --ink: #193e32;
  --muted: #52655b;
  --lime: #dafa85;
  --line: #d9e1d6;
  --shadow: 0 7px 22px -17px #193e324d;
}
* {box-sizing:border-box}
body {margin:0}
body > header {background:var(--ink);color:white;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px max(calc((100vw - 1160px)/2),5vw)}
.brand,.line,.row,.top,#identity,.stat-head {display:flex;gap:12px;align-items:center}
.brand {font-weight:800;font-size:2.2rem;letter-spacing:-.08em;line-height:1}
.brand i {display:grid;place-items:center;font:700 1.9rem Arial;background:var(--lime);color:var(--ink);width:40px;height:40px;border-radius:13px 13px 13px 3px}
.brand span {border-left:1px solid #647d70;padding-left:13px;font-size:.92rem;letter-spacing:0;font-weight:500;color:#d7e6d9}
#identity {min-width:0}
.avatar {background:#d5e6d3;color:var(--ink);border-radius:50%;height:36px;width:36px;display:grid;place-items:center;font-weight:bold}
.account {min-width:0;line-height:1.25}
.account b,.account small {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:23ch}
.account small {color:#d1dfd4}
#identity button {color:white;background:transparent;border:1px solid #738b7e}
main {width:min(1160px,90%);margin:0 auto;padding-bottom:40px}
button,.btn {appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid transparent;background:var(--ink);color:white;border-radius:11px;padding:9px 16px;font:650 .94rem/1.3 inherit;font-family:inherit;font-size:.94rem;font-weight:650;cursor:pointer;text-decoration:none;transition:background .15s,box-shadow .15s}
button:hover,.btn:hover {box-shadow:inset 0 0 0 99px #162d2412}
button:disabled {opacity:.55;cursor:wait}
.quiet {background:#eef3e9;color:var(--ink);border-color:#d8e2d4}
.link {background:transparent;color:var(--ink);text-decoration:underline;text-underline-offset:3px}
a {color:#24563b}
:focus-visible {outline:3px solid #62851e;outline-offset:3px}
.icon {width:21px;height:21px;flex:none}
.tabs {display:flex;gap:5px;padding:12px 0;border-bottom:1px solid var(--line)}
.tabs button {background:transparent;color:var(--muted)}
.tabs .active {background:#dfeacb;color:var(--ink)}
.top,.row {justify-content:space-between}
.top {margin:32px 0 23px}
.top h1,.hero h1,.entry h2,dialog h2 {line-height:1.04;letter-spacing:-.055em;margin:0;font-weight:750}
.top h1 {font-size:clamp(2.1rem,4vw,3.4rem)}
.top .sub {margin:8px 0 0;color:var(--muted)}
.top button {background:var(--lime);color:var(--ink);border-color:#b1cc74}
.stats {display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:26px}
.stat,.panel {background:white;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px}
.stat {color:var(--ink);display:block;text-align:left;padding:20px}
.stat-head {gap:9px;font-size:.94rem}
.stat-icon,.empty-icon {display:inline-grid;place-items:center;border-radius:11px;width:36px;height:36px;background:var(--tint,#eef3e9);color:var(--tone,var(--ink))}
.prep {--tint:#fff0cb;--tone:#795716}
.ready {--tint:#e6f3d1;--tone:#3a5c23}
.route {--tint:#e5edff;--tone:#38558c}
.done {--tint:#e2eee8;--tone:#35634e}
.stat b {font-size:2.6rem;font-weight:690;letter-spacing:-.06em;display:block;margin-top:12px;line-height:1}
.stat[aria-pressed=true] {outline:2px solid #517449;outline-offset:-2px;background:#f6faee}
.panel {padding:22px 24px;margin:16px 0}
.panel h2 {margin:0;font-size:1.27rem;letter-spacing:-.03em}
.row {flex-wrap:wrap}
.order {display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:17px 0}
.order:first-of-type {margin-top:16px}
.order:last-child {padding-bottom:2px}
.line {min-width:0}
.order strong,.order small {display:block;overflow-wrap:anywhere}
.order small {margin-top:4px;color:var(--muted);font-size:.91rem}
.store {border-left:3px solid var(--stripe);padding-left:6px}
.right {display:flex;gap:14px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.right div:empty {display:none}
.right div {display:flex;gap:6px;flex-wrap:wrap}
.tag {display:inline-flex;align-items:center;gap:6px;background:var(--tint);color:var(--tone);font-weight:650;font-size:.86rem;padding:5px 10px;border-radius:20px;white-space:nowrap}
.tag:before {content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.empty {padding:30px 16px;text-align:center;background:#f6f8f2;border:1px dashed #cbd7c7;border-radius:12px;color:var(--muted);margin:18px 0 0}
.empty p {margin:9px auto 0}
.settlement>.row:first-child {background:var(--ink);color:white;border-radius:12px;padding:18px}
.settlement>.row strong {color:var(--lime);font-size:1.8rem;letter-spacing:-.04em}
label {display:grid;gap:6px;font-size:.94rem;font-weight:600}
input,textarea,select {color:inherit;min-width:0;width:100%;font:inherit;border:1px solid #bdcbbb;border-radius:10px;background:white;padding:10px 12px}
textarea {resize:vertical;min-height:80px}
.check {width:24px;height:24px;accent-color:var(--ink);flex:none}
.delivery:has(.check:checked) {background:#f0f8e3}
.fields {display:grid;grid-template-columns:1fr 1fr;gap:12px}
.login {display:grid;grid-template-columns:1fr 1fr;max-width:1000px;margin:clamp(26px,7vh,80px) auto;background:white;border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 16px 55px -36px #18392cb3}
.hero {background:#214b3b;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding-top:38px}
.hero h1 {color:white;font-size:clamp(3rem,5.6vw,5.5rem);padding:0 38px 35px}
.hero h1 em {font-family:Georgia,serif;font-weight:400;color:var(--lime)}
.city {display:block;width:100%;height:auto}
.entry {padding:clamp(26px,5vw,60px);align-self:center}
.entry h2,dialog h2 {font-size:2rem;margin-bottom:26px}
.entry form,dialog form {display:grid;gap:16px}
.entry .link {padding-left:0;margin-top:12px}
dialog {color:inherit;width:min(500px,94vw);max-height:92dvh;overflow:auto;border:1px solid var(--line);border-radius:19px;padding:28px;box-shadow:0 18px 80px #15332540}
dialog::backdrop {background:#14291ee0;opacity:.7}
dialog p {margin:0}
#quote {background:#eef6e0;padding:12px 14px;border-left:3px solid #79a63c;border-radius:8px;font-weight:600}
#show strong {font:700 1.6rem monospace;letter-spacing:.09em;color:var(--ink)}
.end {display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);padding-top:16px}
.error {color:#942a28;margin:0}
.error:empty {display:none}
#notice:not(:empty) {position:fixed;z-index:5;bottom:18px;left:50%;transform:translateX(-50%);padding:13px 18px;background:var(--ink);color:white;border-radius:12px;width:max-content;max-width:92vw}
@media(max-width:760px){
 main {width:94%}
 .stat {padding:14px}
 .stats {grid-template-columns:1fr 1fr;gap:10px}
 .panel {padding:17px}
 .login {grid-template-columns:1fr;max-width:480px}
 .hero {position:relative;min-height:135px;padding:22px 0}
 .hero h1 {padding:0 18px;font-size:2.65rem;position:relative;z-index:1}
 .city {position:absolute;right:-6%;top:0;width:57%;height:100%;object-fit:cover}
 .entry {padding:25px}
 .top {margin:23px 0 18px;flex-wrap:wrap}
 .delivery {align-items:flex-start;flex-direction:column;gap:10px}
 .right {justify-content:flex-start}
 .signed-in main {padding-bottom:98px}
 .tabs {position:fixed;z-index:3;bottom:0;left:0;width:100%;justify-content:space-evenly;gap:2px;padding:5px 3px max(5px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff;box-shadow:0 -3px 16px #183c290c}
 .tabs button {flex:1;max-width:130px;flex-direction:column;gap:2px;padding:5px 2px;font-size:.86rem}
 #notice:not(:empty) {bottom:80px}
 .brand span {display:none}
 .account b {max-width:14ch}
}
@media(max-width:400px){
 .stat-head {display:block}
 .stat-icon {display:flex;margin-bottom:6px}
 .top h1 {font-size:1.95rem}
 .account b {max-width:10ch}
 dialog {padding:18px}
}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
