:root{font-family:system-ui,sans-serif;color:#172b25;background:#eff5f0;font-synthesis:none;color-scheme:light}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}header{background:#143a31;color:white;padding:25px 18px;border-bottom:4px solid #cea75c}header>div,main{max-width:760px;margin:auto}h1,h2,p{margin:0}h1{font-size:clamp(1.9rem,6vw,2.9rem);line-height:1.12;margin:.3rem 0}.over{color:#f0ce87;font-size:.75rem;letter-spacing:.13em;font-weight:800}.sub{color:#d9e8dd}main{padding:14px 12px 110px}.panel{background:white;padding:16px;border-radius:16px;box-shadow:0 4px 12px #133a3110;margin:12px 0;border:1px solid #dce9df}.panel p{margin:.45rem 0;color:#4c6458}nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}button,input,select{font:inherit;min-height:44px}button{background:#14644d;color:white;border:0;border-radius:10px;padding:.5rem .85rem;font-weight:750;cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button.quiet,nav button{background:#e3efe6;color:#154535}nav button[aria-pressed=true]{background:#14644d;color:white}input,select{background:white;color:#192f26;border:1px solid #879e90;border-radius:9px;padding:.5rem;width:100%;min-width:0}input[aria-invalid=true]{border:2px solid #9b332b}:focus-visible{outline:3px solid #bd8f30;outline-offset:2px}.section-head{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between}.section-head>label{min-width:0;flex:0 1 180px}.hint,small,#item-count{font-size:.85rem;color:#52645b}.sr{position:absolute;left:-10000px}ul{padding:0;margin:0;list-style:none}li{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:11px 0;border-bottom:1px solid #e5eee6}.product-name{flex:1;overflow-wrap:anywhere;font-weight:700}.product-name small{display:block;margin-top:3px;font-weight:500}.qty{width:5.2rem;text-align:center}.unit-select{width:5rem}li:last-child{border-bottom:0}.actions{position:fixed;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:12px max(16px,calc((100vw - 730px)/2)) calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce9df;gap:12px}.actions span{font-weight:750}dialog{max-height:85vh;max-width:540px;width:calc(100vw - 24px);color:#172b25;border:1px solid #dce9df;border-radius:15px;padding:18px}dialog::backdrop{background:#0b1c16aa}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.review-bill{padding:9px 0;border-top:1px solid #dce9df;margin-top:8px}.review-bill li{font-size:.94rem}[role=alert]{color:#8c2e26!important;margin:.6rem 0}#add-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}#add-form label{display:flex;flex-direction:column;gap:4px;font-size:.9rem;font-weight:700}#add-form label:nth-child(2),#extra-error{grid-column:1/-1}#confirmation{overflow-wrap:anywhere}@media(min-width:680px){nav{grid-template-columns:repeat(4,1fr)}}
