:root{--ink:#172522;--muted:#687773;--line:#dce6e2;--bg:#f3f7f5;--card:#fff;--brand:#0b5b4f;--brand2:#d8f2e9;--danger:#a83232;--shadow:0 10px 35px rgba(20,55,48,.08)}*{box-sizing:border-box}html{background:#dfe9e5}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",Inter,Arial,sans-serif;color:var(--ink);background:var(--bg);min-height:100vh}.app-shell{max-width:720px;margin:auto;min-height:100vh;background:var(--bg);padding-bottom:calc(84px + env(safe-area-inset-bottom))}.topbar{position:sticky;top:0;z-index:5;display:flex;justify-content:space-between;align-items:center;padding:calc(14px + env(safe-area-inset-top)) 18px 12px;background:rgba(243,247,245,.92);backdrop-filter:blur(16px)}h1,h2,h3,p{margin:0}.topbar small,.eyebrow{color:var(--brand);font-weight:800;font-size:11px;letter-spacing:.08em}.topbar h1{font-size:22px}.icon-btn{width:40px;height:40px;border:1px solid var(--line);border-radius:50%;background:var(--card);font-size:20px}.screen{display:none;padding:10px 16px 24px}.screen.active{display:block}.hero{padding:22px;border-radius:24px;background:linear-gradient(135deg,#0b4d43,#0b6b5b);color:white;box-shadow:var(--shadow)}.hero>p{opacity:.75;font-size:14px}.hero h2{font-size:24px;margin:5px 0 20px}.stats{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stats div{background:rgba(255,255,255,.12);padding:12px;border-radius:16px}.stats strong{display:block;font-size:24px}.stats span{font-size:12px;opacity:.8}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:22px 0 12px}.section-head h2{font-size:27px}.section-head h3{font-size:18px}.primary,.text-btn{border:0;color:var(--brand);font-weight:750;background:none}.primary{background:var(--brand);color:white;border-radius:13px;padding:13px 16px}.compact{padding:11px 14px}.stack{display:grid;gap:10px}.card{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:15px;box-shadow:0 3px 14px rgba(20,55,48,.03)}.row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.card h3{font-size:16px}.meta{color:var(--muted);font-size:13px;margin-top:5px;line-height:1.45}.pill{font-size:11px;padding:5px 8px;border-radius:99px;background:var(--brand2);color:var(--brand);white-space:nowrap}.pill.done{background:#e8ecea;color:#66716e}.actions{display:flex;gap:8px;margin-top:13px;flex-wrap:wrap}.actions button,.slot{min-height:40px;border:1px solid var(--line);border-radius:11px;background:white;padding:8px 11px;font-weight:650;color:var(--ink)}.actions button.emphasis,.slot.selected{background:var(--brand);color:white;border-color:var(--brand)}.notice{font-size:13px;line-height:1.45;color:#5d624f;background:#fff9db;border:1px solid #eee2a7;border-radius:14px;padding:12px;margin-bottom:12px}.message{margin-top:12px;background:#e9efec;border-radius:16px 16px 16px 4px;padding:12px;font-size:14px;line-height:1.45}.search,input,select,textarea{width:100%;font:inherit;border:1px solid var(--line);border-radius:13px;padding:13px;background:white;color:var(--ink)}label{display:block;font-size:13px;font-weight:700;margin:12px 0 5px}.menu-card{padding:0;margin-top:18px;overflow:hidden}.menu-card button{width:100%;display:flex;justify-content:space-between;border:0;border-bottom:1px solid var(--line);background:white;text-align:left;padding:17px;font:inherit}.menu-card button:last-child{border-bottom:0}.danger{color:var(--danger)}.about{margin-top:14px}.about p{color:var(--muted);font-size:13px;line-height:1.5;margin-top:6px}.bottom-nav{position:fixed;z-index:8;bottom:0;left:50%;transform:translateX(-50%);width:min(720px,100%);display:grid;grid-template-columns:repeat(5,1fr);padding:8px 8px calc(7px + env(safe-area-inset-bottom));background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-top:1px solid var(--line)}.bottom-nav button{position:relative;border:0;background:none;color:var(--muted);font-size:10px;padding:3px}.bottom-nav span{display:block;font-size:21px;height:27px}.bottom-nav button.active{color:var(--brand);font-weight:800}.bottom-nav i{position:absolute;top:0;right:19%;background:#d43c3c;color:white;border-radius:99px;min-width:17px;height:17px;font-size:10px;font-style:normal;padding:2px}dialog{width:min(94%,560px);max-height:88vh;border:0;border-radius:24px;padding:0;box-shadow:0 24px 80px rgba(0,0,0,.25)}dialog::backdrop{background:rgba(8,24,20,.45);backdrop-filter:blur(3px)}dialog form{padding:20px;overflow:auto;max-height:88vh}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.modal-head h2{font-size:21px}.modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:18px}.modal-actions button{min-height:46px;border-radius:13px;border:1px solid var(--line);background:white;font-weight:750}.modal-actions .primary{background:var(--brand);color:#fff}#toast{position:fixed;z-index:20;left:50%;bottom:95px;transform:translate(-50%,20px);background:#162c27;color:white;padding:11px 15px;border-radius:12px;opacity:0;transition:.2s;pointer-events:none;white-space:nowrap;max-width:90%;overflow:hidden;text-overflow:ellipsis}#toast.show{opacity:1;transform:translate(-50%,0)}.empty{text-align:center;color:var(--muted);padding:28px 10px}.slot-grid{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}@media(min-width:700px){.screen{padding-left:24px;padding-right:24px}.bottom-nav{border-left:1px solid var(--line);border-right:1px solid var(--line)}}

.place-choice{width:min(92vw,480px);max-height:80dvh;overflow-y:auto;padding:24px;border:0;border-radius:24px;box-sizing:border-box}.place-choice button{display:block;width:100%;min-height:48px;margin:12px 0;white-space:normal;overflow-wrap:anywhere}.place-choice::backdrop{background:#18332c88}

dialog,dialog form{max-height:88dvh}#toast{bottom:calc(86px + env(safe-area-inset-bottom,0px))}
