:root{--navy:#0f172a;--navy-2:#1e293b;--yellow:#ffd900;--yellow-soft:#fff6bf;--blue:#0000cd;--ok:#166534;--ok-soft:#dcfce7;--bg:#f8fafc;--card:#fff;--text:#1c1917;--muted:#6b7280;--line:#e5e7eb;--danger:#b91c1c;--danger-soft:#fee2e2;--radius:10px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font:16px/1.45 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}main{max-width:860px;margin:0 auto;padding:16px 16px 64px}h1{margin:.2em 0;font-size:1.4rem}h2{margin:.2em 0;font-size:1.1rem}a{color:var(--blue)}.muted{color:var(--muted)}.center{text-align:center;padding:2rem}.stack{flex-direction:column;gap:12px;display:flex}.row{align-items:center;gap:10px;display:flex}.between{justify-content:space-between}.grid2{grid-template-columns:1fr 1fr;gap:12px;display:grid}.actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:14px}.list,.plain{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.plain{gap:4px;margin-top:8px}.topbar{background:var(--navy);color:#fff;align-items:center;gap:12px;padding:10px 16px;display:flex}.topbar .brand{width:auto;max-width:60vw;height:36px;display:block}.topbar .who{color:#cbd5e1;text-align:right;flex:1;font-size:.85rem}.topbar button{border-color:var(--yellow);color:var(--yellow);background:0 0}.tabs{border-bottom:1px solid var(--line);z-index:2;background:#fff;gap:4px;padding:8px 12px;display:flex;position:sticky;top:0;overflow-x:auto}.tabs a{white-space:nowrap;color:var(--text);border-radius:999px;padding:8px 12px;text-decoration:none}.tabs a.active{background:var(--yellow-soft);color:var(--navy);box-shadow:inset 0 -3px 0 var(--yellow);font-weight:700}label{color:var(--muted);flex-direction:column;gap:4px;font-size:.9rem;display:flex}label.row{color:var(--text);flex-direction:row;font-size:1rem}input,select,textarea,button{font:inherit}input,select,textarea{color:var(--text);background:#fff;border:1px solid #d1d5db;border-radius:8px;min-height:44px;padding:10px}textarea{min-height:80px}input[type=checkbox]{width:20px;height:20px;min-height:0}button{background:var(--yellow);min-height:44px;color:var(--navy);cursor:pointer;border:1px solid #b89b00;border-radius:8px;padding:0 16px;font-weight:700}button:hover:not(:disabled){background:#ffe433}button.secondary{color:var(--navy);border-color:var(--navy);background:#fff;font-weight:600}button:disabled{opacity:.5;cursor:not-allowed}:focus-visible{outline:3px solid var(--blue);outline-offset:2px}.product{color:inherit;justify-content:space-between;align-items:flex-start;gap:12px;text-decoration:none;display:flex}.product .name{flex:1;font-weight:600}.search-area{flex-direction:column;gap:2px;display:flex}.scan-hint{width:44px;color:var(--navy);white-space:nowrap;flex-direction:column;align-self:flex-end;align-items:center;gap:1px;margin-right:4px;font-size:.8rem;font-weight:700;line-height:1;display:flex}.searchbox{position:relative}.searchbox input{width:100%;padding-right:56px}.searchbox input[type=search]::-webkit-search-cancel-button{appearance:none}.scan-button{width:44px;height:44px;color:var(--navy);border-radius:8px;place-items:center;text-decoration:none;display:grid;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.scan-button:hover{background:var(--yellow-soft)}.thumb{object-fit:cover;background:#e2e8f0;border-radius:8px;flex:none;width:64px;height:64px}.photo{margin:0}.photo img{border-radius:var(--radius);background:#e2e8f0;width:100%;max-width:360px;display:block}.photo figcaption{margin-top:4px;font-size:.75rem}.prices{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.card.prices{align-items:flex-start}.price{flex-direction:column;display:flex}.price-label{color:var(--muted);font-size:.75rem}.price .offer{color:var(--danger)}.chips{flex-wrap:wrap;gap:6px;display:flex}.chip{min-height:36px;color:var(--text);cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:999px;flex-direction:row;align-items:center;gap:6px;padding:6px 12px;font-size:.9rem;display:inline-flex}.chip.on{background:var(--yellow-soft);border-color:var(--navy);color:var(--navy);font-weight:600}.chip input{opacity:0;pointer-events:none;position:absolute}.badge{color:#92400e;background:#fef3c7;border-radius:999px;padding:2px 10px;font-size:.8rem}.badge.ok{background:var(--ok-soft);color:var(--ok)}.alert{border-radius:8px;margin:0;padding:10px 12px}.alert.error{background:var(--danger-soft);color:var(--danger)}.alert.ok{background:var(--ok-soft);color:var(--ok)}.viewfinder{border-radius:var(--radius);object-fit:cover;background:#000;width:100%;max-height:60vh}.picker-list{border:1px solid var(--line);border-radius:8px;gap:2px;max-height:280px;padding:8px;overflow:auto}.picker-actions{justify-content:space-between;align-items:center;display:flex}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid var(--line);padding:6px 4px}summary{cursor:pointer;justify-content:space-between;gap:12px;display:flex}fieldset{border:1px solid var(--line);border-radius:var(--radius)}dialog{border-radius:var(--radius);border:0;width:min(92vw,460px);padding:20px}dialog::backdrop{background:#00000073}.login-wrap{background:var(--navy);place-items:center;min-height:100vh;padding:16px;display:grid}.login{width:min(100%,400px)}.login .logo{width:320px;max-width:100%;height:auto;margin:0 auto 20px;display:block}.button-link{background:var(--yellow);color:var(--navy);border:1px solid #b89b00;border-radius:8px;margin-top:4px;padding:10px 16px;font-weight:700;text-decoration:none;display:inline-block}@media (width<=520px){.grid2{grid-template-columns:1fr}}
