:root{--bg: #FFF8F0;--card: #FFFFFF;--ink: #1F1235;--muted: #4A3B5C;--faint: #6B5A7A;--accent: #5B21B6;--accent-dark: #4C1D95;--accent-soft: #F3E8FF;--border: #E9D5FF;--line: #F5F0FA;--yellow: #FDE047;--yellow-edge: #CA8A04;--yes: #15803D;--yes-edge: #166534;--yes-soft: #DCFCE7;--amber-soft: #FEF3C7;--amber-ink: #92400E;--danger: #B91C1C;--danger-soft: #FEE2E2;--shadow: #F0D9C2;color-scheme:light}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--ink);font-family:Rubik,system-ui,sans-serif;-webkit-text-size-adjust:100%}body{min-height:100dvh}a{color:var(--accent)}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}h1,h2,h3{margin:0}.app{max-width:560px;margin:0 auto;min-height:100dvh;display:flex;flex-direction:column;position:relative}.main{flex:1;padding:18px 16px 110px;display:flex;flex-direction:column;gap:14px}.center{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:32px;text-align:center}.hero{background:var(--accent);color:#fff;padding:calc(20px + env(safe-area-inset-top)) 20px 18px;border-radius:0 0 28px 28px;display:flex;flex-direction:column;gap:12px}.hero h1{font-size:23px;font-weight:800}.hero .bar{display:flex;justify-content:space-between;align-items:center;gap:8px}.hero a,.hero .back{color:#fff;text-decoration:none;font-size:14px;min-height:36px;display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:0}.hero .round{width:44px;height:44px;border-radius:999px;background:#ffffff2e;justify-content:center}.badge{background:var(--yellow);color:var(--ink)!important;font-size:13px;font-weight:700;padding:0 12px;height:36px;border-radius:999px}.pills{display:flex;gap:8px;flex-wrap:wrap}.pill{border:1.5px solid rgba(255,255,255,.6);color:#fff;font-size:15px;font-weight:500;padding:0 18px;border-radius:999px;min-height:44px;display:inline-flex;align-items:center;text-decoration:none;background:transparent}.pill.on{background:#fff;color:var(--ink);font-weight:700;border-color:#fff}.tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#00000038;padding:5px;border-radius:18px}.hero .tab{justify-content:center;gap:8px;min-height:54px;border-radius:14px;font-size:17px;font-weight:700;color:#fff;background:#ffffff24}.hero .tab.on{background:var(--yellow);color:var(--ink);box-shadow:0 3px 0 var(--yellow-edge)}.ecard{background:var(--card);border-radius:22px;overflow:hidden;box-shadow:0 4px 0 var(--shadow)}.ecard.cancelled{box-shadow:none;border:2px dashed #FCA5A5}.band{color:var(--ink);padding:11px 16px;display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:700}.band .meal{font-size:13px;background:#ffffff8c;padding:3px 10px;border-radius:999px}.ebody{padding:14px 16px 16px;display:flex;flex-direction:column;gap:12px}.ebody h2{font-size:21px;font-weight:800}.etitle{text-decoration:none;color:var(--ink);display:flex;flex-direction:column;gap:4px}.addr{font-size:15px;color:var(--muted)}.strike{text-decoration:line-through;color:var(--faint)}.stats{display:flex;gap:8px;text-decoration:none}.stat{flex:1;border-radius:14px;padding:8px 10px;display:flex;flex-direction:column;text-align:right;border:0}.stat b{font-size:22px;font-weight:800}.stat span{font-size:12px}.stat.g{background:var(--yes-soft);color:var(--yes-edge)}.stat.p{background:var(--accent-soft);color:var(--accent)}.stat.y{background:var(--amber-soft);color:var(--amber-ink)}.btn{border:0;background:var(--accent);color:#fff;border-radius:14px;padding:0 16px;min-height:48px;font-size:16px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;text-align:center}.btn:disabled{opacity:.5;cursor:default}.btn.yes{background:var(--yes)}.btn.no{background:#fff;color:var(--muted);border:2px solid var(--border);font-weight:500}.btn.no.on{background:var(--accent-soft);color:var(--accent);border-color:var(--accent);font-weight:700}.btn.yes.off{background:#fff;color:var(--yes-edge);border:2px solid #BBF7D0}.btn.yellow{background:var(--yellow);color:var(--ink);border-radius:999px;box-shadow:0 5px 0 var(--yellow-edge);font-weight:800;min-height:54px}.btn.wa{background:var(--yes);border-radius:999px;box-shadow:0 5px 0 var(--yes-edge);min-height:52px}.btn.ghost{background:#fff;color:var(--accent);border:2px solid var(--border)}.btn.danger{background:transparent;color:var(--danger);border:2px dashed #FCA5A5;font-size:14px;min-height:46px}.btn.sm{min-height:40px;font-size:14px;border-radius:999px;padding:0 14px}.btn.block{width:100%}.duo{display:flex;gap:8px}.duo>*{flex:1}.link{background:none;border:0;padding:0;color:var(--accent);font-weight:700;font-size:14px;min-height:36px;display:inline-flex;align-items:center;text-decoration:none}.link.muted{color:var(--muted);font-weight:500;text-decoration:underline;font-size:13px}.link.danger{color:var(--danger)}.iconbtn{width:40px;height:40px;border:0;background:transparent;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;color:var(--muted);flex-shrink:0}.iconbtn.danger{color:var(--danger)}.quick{display:flex;gap:8px}.quick button{flex:1;border:0;border-radius:12px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:13px;font-weight:700}.q-cal{background:#eff6ff;color:#1d4ed8}.q-nav{background:#fff1e6;color:#c2410c}.q-wa{background:#ecfdf5;color:#047857}.fab{position:fixed;bottom:calc(24px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%);z-index:5;padding:0 26px;white-space:nowrap}.card{background:var(--card);border-radius:20px;padding:16px;display:flex;flex-direction:column;gap:10px}.sec{background:var(--card);border-radius:20px;overflow:hidden;border:2px solid var(--border)}.sec>h2,.sec>.sech{font-size:16px;font-weight:800;padding:9px 16px;display:flex;align-items:center;gap:6px}.sech h2{font-size:16px;font-weight:800;flex:1}.irow{display:flex;align-items:center;gap:8px;padding:6px 8px 6px 16px;min-height:52px;border-top:1px solid var(--line)}.sec>h2+.irow,.sech+.irow{border-top:0}.irow .t{flex:1;min-width:0;font-size:15px;font-weight:500}.irow .sub{font-size:12px;color:var(--muted)}.who{background:var(--accent-soft);color:var(--accent);font-size:13px;font-weight:700;padding:4px 10px;border-radius:999px;white-space:nowrap}.who.me{background:var(--yellow);color:var(--ink)}.tag{font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;white-space:nowrap;display:inline-block;vertical-align:middle}.tag.extra{background:var(--amber-soft);color:var(--amber-ink)}.tag.admin{background:var(--accent);color:#fff}.tag.red{background:#dc2626;color:#fff;font-size:13px;padding:4px 12px}.tag.amber{background:var(--amber-soft);color:var(--amber-ink);font-size:13px;padding:4px 10px}.addrow{display:flex;gap:8px;padding:8px 12px 12px;border-top:1px solid var(--line)}.addlink{display:flex;align-items:center;min-height:44px;padding:0 16px;border-top:1px solid var(--line);font-size:14px;font-weight:700;background:none;border-left:0;border-right:0;border-bottom:0;width:100%;text-align:right}.dashed{border:2px dashed #C4B5FD;background:#fff;color:var(--accent);font-weight:700;border-radius:18px;min-height:50px;font-size:15px;width:100%}.empty{padding:10px 16px;font-size:13px;color:var(--muted)}.hint{font-size:13px;color:var(--muted);line-height:1.5}.small{font-size:12px;color:var(--muted)}.err{color:var(--danger);font-size:14px}.banner{background:var(--yes-soft);border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:10px;color:var(--yes-edge);font-weight:700}.notes{background:var(--bg);border-radius:12px;padding:10px 12px;font-size:14px;line-height:1.5;color:var(--muted);white-space:pre-wrap}.month{font-size:13px;font-weight:700;color:var(--muted);margin-top:4px}.prow{text-decoration:none;color:var(--ink);background:var(--card);border-radius:18px;padding:14px 16px;display:flex;gap:14px;align-items:center}.prow .d{width:48px;height:48px;flex-shrink:0;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800}.field{display:flex;flex-direction:column;gap:6px}.field>label,.field>.lbl{font-size:14px;font-weight:700}.input{border:2px solid var(--border);border-radius:14px;padding:0 14px;font-size:16px;min-height:50px;background:#fff;width:100%}.input:focus{outline:none;border-color:var(--accent)}textarea.input{padding:10px 14px;min-height:80px;resize:vertical}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.opt{border:2px solid var(--border);background:#fff;color:var(--muted);border-radius:12px;min-height:44px;font-size:14px}.opt.on{border-color:var(--accent);background:var(--accent);color:#fff;font-weight:700}.mode{border:2px solid var(--border);background:#fff;border-radius:14px;padding:10px 12px;text-align:right;display:flex;flex-direction:column;gap:2px}.mode b{font-size:15px}.mode span{font-size:12px;color:var(--muted)}.mode.on{border-color:var(--accent);background:var(--accent-soft)}.chips{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.chip{background:var(--accent-soft);color:var(--accent);font-size:14px;font-weight:700;padding:0 14px;min-height:40px;border-radius:999px;border:0}.line{display:flex;justify-content:space-between;align-items:center;min-height:48px;font-size:15px;gap:10px}.switch{width:52px;height:30px;border-radius:999px;background:#d8cce6;position:relative;border:0;padding:0;flex-shrink:0}.switch:after{content:"";position:absolute;top:3px;right:3px;width:24px;height:24px;border-radius:999px;background:#fff;transition:right .15s}.switch[aria-checked=true]{background:var(--yes)}.switch[aria-checked=true]:after{right:25px}.stepper{display:flex;align-items:center;gap:14px}.stepper button{width:44px;height:44px;border-radius:999px;border:2px solid var(--border);background:#fff;color:var(--accent);font-size:22px;font-weight:700}.stepper button.plus{background:var(--accent);color:#fff;border-color:var(--accent)}.stepper b{font-size:20px;min-width:22px;text-align:center}.mrow{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 8px 8px 16px;min-height:52px;border-top:1px solid var(--line);font-size:15px;width:100%;background:none;border-left:0;border-right:0;border-bottom:0;text-align:right}.sec>h2+.mrow{border-top:0}.mrow .n{font-weight:700;display:flex;flex-direction:column}.mrow .c{font-size:13px;color:var(--muted)}.sheet-bg{position:fixed;top:0;right:0;bottom:0;left:0;background:#1f123573;z-index:20;display:flex;align-items:flex-end;justify-content:center}.sheet{background:var(--bg);width:100%;max-width:560px;border-radius:24px 24px 0 0;padding:18px 18px calc(22px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:12px;max-height:88dvh;overflow-y:auto}.sheet .top{display:flex;justify-content:space-between;align-items:center}.sheet h2{font-size:18px;font-weight:800}.edit-hero{background:var(--ink)}.edit-hero .kicker{color:var(--yellow);font-size:13px;font-weight:700}.bottom-bar{position:fixed;bottom:0;left:0;right:0;z-index:5;padding:12px 18px calc(18px + env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--border)}.bottom-bar>*{max-width:524px;margin:0 auto;width:100%}.logo{display:flex;gap:8px}.logo span{width:40px;height:40px;border-radius:13px}
