:root{--bg: #f6f7f4;--surface: #ffffff;--border: #e6e8e2;--text: #1f2421;--muted: #6b736c;--accent: #27500a;--accent-soft: #eaf3de;--danger: #b3261e;--shadow: 0 1px 2px rgba(31, 36, 33, .06), 0 2px 8px rgba(31, 36, 33, .04);--radius: 14px;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif}*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}#root{max-width:560px;margin:0 auto;min-height:100vh;display:flex;flex-direction:column}.app-header{padding:20px 18px 14px;padding-top:calc(20px + env(safe-area-inset-top))}.app-header h1{margin:0;font-size:22px;font-weight:700;letter-spacing:-.01em}.app-header p{margin:4px 0 0;color:var(--muted);font-size:13px}.tabbar{position:sticky;bottom:0;display:flex;background:var(--surface);border-top:1px solid var(--border);padding-bottom:env(safe-area-inset-bottom);z-index:10}.tabbar button{flex:1;border:none;background:none;padding:10px 4px 12px;font-size:11px;font-weight:600;color:var(--muted);cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:3px}.tabbar button .icon{font-size:20px;line-height:1}.tabbar button.active{color:var(--accent)}main{flex:1;padding:4px 16px 24px}.section-title{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin:18px 2px 8px}.empty{text-align:center;color:var(--muted);padding:48px 16px;font-size:14px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px 16px;margin-bottom:12px}.card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.card-head .dish{margin:0;font-size:17px;font-weight:700}.card-head .meal-type{margin:2px 0 0;font-size:13px;color:var(--muted)}.attendees-chip{display:inline-block;margin-top:6px;padding:2px 9px;border-radius:999px;background:var(--accent-soft);color:var(--accent);font-size:12px;font-weight:700}.badge{font-size:11px;font-weight:700;padding:3px 9px;border-radius:999px;white-space:nowrap}.badge.upcoming{background:var(--accent-soft);color:var(--accent)}.badge.done{background:#eef0ec;color:var(--muted)}.card-items{list-style:none;margin:12px 0 0;padding:0;display:flex;flex-direction:column;gap:7px}.card-items li{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px}.card-items .item-name{flex:1}.notes{margin:12px 0 0;font-size:13px;color:var(--muted);font-style:italic}.card-footer{display:flex;justify-content:flex-end;gap:4px;margin-top:12px}.link-danger{background:none;border:none;color:var(--danger);font-size:13px;font-weight:600;cursor:pointer;padding:4px 6px}.link-edit{background:none;border:none;color:var(--accent);font-size:13px;font-weight:600;cursor:pointer;padding:4px 6px}.avatar{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;font-size:12px;font-weight:700;flex-shrink:0}.who-chip{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;padding:3px 10px 3px 4px;border-radius:999px}.who-chip .dot{width:16px;height:16px;border-radius:50%}.who-chip.unassigned{background:#eef0ec;color:var(--muted);padding-left:10px}.field{margin-bottom:14px}.field label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}input[type=text],input[type=date],select,textarea{width:100%;font:inherit;font-size:16px;padding:11px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text)}textarea{resize:vertical;min-height:64px}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #27500a1f}.date-hint{margin:6px 2px 0;font-size:13px;font-weight:600;color:var(--accent)}.item-row{display:flex;gap:8px;margin-bottom:8px;align-items:center}.item-row input{flex:2}.item-row select{flex:1.4;min-width:0}.item-row .remove{flex-shrink:0;width:38px;height:42px;border:1px solid var(--border);background:var(--surface);border-radius:10px;font-size:18px;color:var(--muted);cursor:pointer}.btn{font:inherit;font-weight:600;font-size:15px;padding:12px 16px;border-radius:10px;border:1px solid transparent;cursor:pointer}.btn-primary{background:var(--accent);color:#fff}.btn-secondary{background:var(--surface);color:var(--text);border-color:var(--border)}.btn-ghost{background:var(--accent-soft);color:var(--accent);border:none;width:100%}.btn-row{display:flex;gap:10px;margin-top:18px}.btn-row .btn{flex:1}.error-banner{background:#fdecea;color:var(--danger);border:1px solid #f5c6c2;border-radius:10px;padding:10px 12px;font-size:13px;margin-bottom:14px}.person-row{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px 14px;margin-bottom:10px}.person-row .name{flex:1;font-weight:600;font-size:15px}.color-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.color-swatch{border:2px solid transparent;border-radius:10px;padding:10px 8px;font-size:13px;font-weight:700;cursor:pointer;text-align:center}.color-swatch.selected{border-color:var(--text)}
