:root { --cream:#FBF3E4; --pumpkin:#E2681C; --rind:#C4500F; --green:#23402F; --bark:#2A1D12; --paper:#fff; --soft:#FFE3C2; }
* { box-sizing:border-box; margin:0; }
body { background:var(--cream); color:var(--bark); font-family:"Karla", system-ui, sans-serif; font-size:17px; line-height:1.6; }
h1, h2, h3 { font-family:"Fraunces", Georgia, serif; line-height:1.1; }
.wrap { max-width:1040px; margin:0 auto; padding:0 24px; }
nav { display:flex; justify-content:space-between; align-items:center; padding:22px 0; }
.logo { font-family:"Fraunces", Georgia, serif; font-weight:800; font-size:26px; color:var(--rind); text-decoration:none; }
.btn { display:inline-block; background:var(--pumpkin); color:#fff; padding:12px 22px; border-radius:999px; text-decoration:none; border:0; font:inherit; font-weight:600; cursor:pointer; }
.btn:hover { background:var(--rind); } .btn:disabled { opacity:.5; cursor:not-allowed; }
.btn.dark { background:var(--bark); } .btn.ghost { background:transparent; color:var(--bark); border:2px solid var(--bark); }
h1 { font-size:clamp(38px, 6vw, 64px); font-weight:800; letter-spacing:-.02em; margin:8px 0 10px; }
h1 em { font-style:italic; color:var(--pumpkin); }
.lead { max-width:60ch; font-size:18px; margin-bottom:28px; }
.layout { display:grid; grid-template-columns:1.4fr .9fr; gap:28px; align-items:start; padding-bottom:72px; }
.card { background:var(--paper); border:2px solid var(--bark); border-radius:18px; padding:24px; box-shadow:6px 6px 0 var(--bark); margin-bottom:24px; }
.card h2 { font-size:26px; margin-bottom:6px; } .hint { font-size:15px; opacity:.75; margin-bottom:14px; }
label { display:block; font-weight:600; font-size:15px; margin:12px 0 4px; }
input, select, textarea { width:100%; padding:11px 14px; border-radius:12px; border:2px solid var(--bark); font:inherit; background:#fff; color:var(--bark); }
input:focus, select:focus, textarea:focus { outline:3px solid var(--green); outline-offset:1px; }
.row { display:grid; grid-template-columns:1fr 1.4fr 90px 40px; gap:10px; align-items:end; margin-bottom:10px; }
.row .x { height:46px; border-radius:12px; border:2px solid var(--bark); background:#fff; cursor:pointer; font-size:20px; }
.two { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.checks { display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:6px; } .checks label { display:flex; gap:8px; align-items:center; font-weight:400; margin:0; }
.checks input { width:auto; }
.addr-row { display:grid; grid-template-columns:130px 1fr; gap:12px; } .addr { position:relative; } .sugg { position:absolute; z-index:5; left:0; right:0; top:100%; background:#fff; border:2px solid var(--bark); border-radius:12px; margin-top:4px; list-style:none; padding:4px; display:none; }
.sugg li { padding:8px 10px; border-radius:8px; cursor:pointer; } .sugg li:hover, .sugg li.on { background:var(--soft); }
.badge { display:inline-block; margin-top:8px; padding:4px 12px; border-radius:999px; font-size:14px; font-weight:600; }
.badge.ok { background:#DCEFD9; color:#1E5130; } .badge.no { background:#FBE0D8; color:#8A2A0B; } .badge.wait { background:#EEE6D6; }
.summary { position:sticky; top:16px; } .sum-line { display:flex; justify-content:space-between; gap:12px; font-size:15px; padding:4px 0; }
.sum-total { display:flex; justify-content:space-between; font-family:"Fraunces", Georgia, serif; font-size:26px; font-weight:800; border-top:2px solid var(--bark); margin-top:10px; padding-top:10px; }
.bar { height:14px; border-radius:999px; background:#EEE6D6; border:2px solid var(--bark); overflow:hidden; margin:14px 0 6px; }
.bar > i { display:block; height:100%; width:0; background:var(--pumpkin); transition:width .35s ease; }
.bar-note { font-size:14px; }
.err { color:#8A2A0B; font-weight:600; min-height:1.4em; margin-top:10px; }
.done { text-align:center; } .done .id { font-family:"Fraunces", Georgia, serif; font-size:40px; color:var(--rind); }
.pay { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin:18px 0; }
.small { font-size:14px; opacity:.8; }
footer { padding:28px 0; font-size:14px; display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; } footer a { color:inherit; }
@media (max-width:860px) { .layout { grid-template-columns:1fr; } .summary { position:static; } .row { grid-template-columns:1fr 1fr; } .row .x { grid-column:span 2; height:38px; } .two { grid-template-columns:1fr; } .addr-row { grid-template-columns:110px 1fr; } }
@media (prefers-reduced-motion:reduce) { .bar > i { transition:none; } }
