:root{--red: #b3262e;--green: #1f5d3a;--gold: #d4a437;--bg: #fbf6ee;--card: #ffffff;--text: #2b2b2b;--muted: #6b6b6b;--border: #e5dccb}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--text);line-height:1.4}.wrap{max-width:720px;margin:0 auto;padding:0 16px 96px}header{background:linear-gradient(135deg,var(--green),#14402a);color:#fff;text-align:center;padding:28px 16px 22px;border-bottom:4px solid var(--red)}header h1{margin:0 0 4px;font-size:1.9rem}header p{margin:0;opacity:.9}.tabs{display:flex;gap:8px;margin:16px 0}.tabs button{flex:1;padding:10px;border:2px solid var(--green);background:#fff;color:var(--green);border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer}.tabs button.active{background:var(--green);color:#fff}.card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:16px;margin-bottom:16px}.card h2{margin:0 0 10px;color:var(--red);font-size:1.2rem}label{display:block;font-weight:600;margin-bottom:6px}input[type=text],textarea,select#name{width:100%;padding:10px 12px;font:inherit;border:1px solid var(--border);border-radius:8px;background:#fff}textarea{resize:vertical;min-height:70px}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid var(--border)}.row:first-of-type{border-top:0}.row .name{flex:1}.row .unit{color:var(--muted);font-size:.85rem}.counter{display:flex;align-items:center;gap:8px}.counter button{width:38px;height:38px;border-radius:50%;border:0;font-size:1.3rem;background:var(--green);color:#fff;cursor:pointer}.counter button:disabled{background:#c9c9c9;cursor:default}.counter .qty{min-width:28px;text-align:center;font-weight:700;font-size:1.1rem}.primary{width:100%;padding:14px;font-size:1.1rem;font-weight:700;color:#fff;background:var(--red);border:0;border-radius:10px;cursor:pointer}.primary:disabled{opacity:.5;cursor:default}.msg{position:fixed;left:50%;bottom:16px;transform:translate(-50%);z-index:100;width:calc(100% - 32px);max-width:688px;box-sizing:border-box;padding:12px 14px;border-radius:10px;cursor:pointer;box-shadow:0 4px 16px #00000040}.msg.ok{background:#e3f3e8;color:#1a5a30;border:1px solid #1a5a30}.msg.err{background:#fbe5e5;color:#8a1d1d;border:1px solid #8a1d1d}.msg.info{background:#fff6dc;color:#6b5200;border:1px solid #6b5200}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:6px 4px;border-top:1px solid var(--border)}th{color:var(--muted);font-weight:600;font-size:.85rem}th.num,td.num{text-align:right}td.num{font-weight:700}.admin-item,.admin-rename{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px 0;border-top:1px solid var(--border)}.admin-rename{grid-template-columns:1fr auto;border-top:0;padding-top:0}.admin-item select,.admin-item input[type=number],.admin-item input{padding:8px;font:inherit;border:1px solid var(--border);border-radius:8px;min-width:0}button.small{padding:8px 12px;border:0;border-radius:8px;background:var(--green);color:#fff;font:inherit;cursor:pointer}button.small.danger{background:var(--red)}button.small:disabled{opacity:.5;cursor:default}.guest{padding:8px 0;border-top:1px solid var(--border)}.guest:first-of-type{border-top:0}.guest .who{font-weight:700}.guest .what{color:var(--muted);font-size:.92rem}.guest .note{font-style:italic;font-size:.9rem}.votes{margin:0 0 6px;color:var(--muted);font-size:.9rem}button.vote{min-width:110px;padding:8px 12px;border:2px solid var(--green);border-radius:10px;background:#fff;color:var(--green);font:inherit;font-weight:600;cursor:pointer}button.vote.on{background:var(--green);color:#fff}button.vote:disabled{border-color:#c9c9c9;color:#a0a0a0;cursor:default}.guest .choices{list-style:none;margin:6px 0 0;padding:0}.guest .choices li{display:flex;justify-content:space-between;gap:12px;padding:4px 0;border-top:1px dotted var(--border);font-size:.95rem}.guest .choices li:first-child{border-top:0}.guest .choices .amount{font-weight:600;white-space:nowrap}.guest .note{margin-top:6px}
