: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;flex-wrap:wrap;gap:4px;padding:8px 12px;display:flex;position:sticky;top:0}.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)}.count{background:var(--danger);color:#fff;text-align:center;border-radius:999px;min-width:20px;margin-left:6px;padding:0 6px;font-size:.75rem;line-height:20px;display:inline-block}.cost{text-align:right}.cost-up{background:var(--danger-soft);color:var(--danger)}.cost-down{background:var(--ok-soft);color:var(--ok)}.cost-same,.cost-first{color:#334155;background:#e2e8f0}.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.warn{color:#92400e;background:#fef3c7}.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}}.cost-chart{color:var(--navy);display:block}.pages{gap:8px;display:flex;overflow-x:auto}.pages img{border:1px solid var(--line);border-radius:var(--radius);width:auto;height:180px;display:block}.bottom-nav{display:none}.sheet{width:100%;max-width:none;padding:16px 16px calc(16px + env(safe-area-inset-bottom));border:0;border-radius:16px 16px 0 0;margin:auto 0 0}.sheet::backdrop{background:#0f172a80}.sheet .plain a{color:var(--text);border-bottom:1px solid var(--line);padding:12px 4px;font-size:1.05rem;text-decoration:none;display:block}.sheet .plain a.active{color:var(--navy);font-weight:700}.sheet button{width:100%;margin-top:12px}@media (width<=767px){.desktop-only{display:none!important}.topbar .who{text-align:right}main{padding-bottom:calc(88px + env(safe-area-inset-bottom))}.bottom-nav{z-index:5;border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);background:#fff;display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-nav a,.bottom-nav button.more{min-width:0;min-height:60px;color:var(--muted);background:0 0;border:0;border-radius:0;flex-direction:column;flex:1 1 0;justify-content:flex-start;align-items:center;gap:2px;padding:8px 2px 6px;font-size:.72rem;font-weight:600;text-decoration:none;display:flex}.bottom-nav .nav-icon{border-radius:999px;place-items:center;width:56px;height:30px;display:grid;position:relative}.bottom-nav .nav-label{text-overflow:ellipsis;white-space:nowrap;max-width:100%;line-height:1.1;overflow:hidden}.bottom-nav a.active,.bottom-nav button.more.open{color:var(--navy)}.bottom-nav a.active .nav-icon,.bottom-nav button.more.open .nav-icon{background:var(--yellow-soft);box-shadow:inset 0 0 0 1px var(--yellow)}.bottom-nav .count{min-width:18px;margin:0;padding:0 5px;font-size:.7rem;line-height:18px;position:absolute;top:-4px;right:4px}}.row>*,.between>*,.grid2>*,.stack>*,.card>*{min-width:0}.card,.list li{overflow-wrap:break-word}input,select,textarea{min-width:0;max-width:100%}.grid2 input,.grid2 select{width:100%}img,svg,video{max-width:100%}table{max-width:100%;display:block;overflow-x:auto}.wrap{flex-wrap:wrap}.topbar .who{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.password-field{display:block;position:relative}.password-field input{width:100%;padding-right:52px}.password-field .eye{width:44px;height:44px;min-height:0;color:var(--muted);background:0 0;border:0;place-items:center;padding:0;display:grid;position:absolute;top:50%;right:2px;transform:translateY(-50%)}.password-field .eye:hover:not(:disabled){background:var(--yellow-soft);color:var(--navy)}html{scroll-padding-block:96px}.keyboard-open .bottom-nav{display:none!important}.product .name{flex:9rem;min-width:9rem}.product .prices{flex:0 auto;min-width:0;max-width:45%}.product .prices small{text-align:right}@media (width<=420px){.product{flex-wrap:wrap}.product .prices{flex-flow:wrap;flex:100%;justify-content:flex-end;align-items:baseline;gap:4px 12px;max-width:none}}.autocomplete{display:block;position:relative}.autocomplete input{width:100%}.suggestions{z-index:4;background:#fff;border:1px solid #d1d5db;border-radius:8px;max-height:40vh;margin:4px 0 0;padding:4px 0;list-style:none;position:absolute;left:0;right:0;overflow-y:auto;box-shadow:0 6px 18px #0f172a26}.suggestions li{min-height:44px;color:var(--text);cursor:pointer;align-items:center;padding:12px 14px;font-size:1rem;display:flex}.suggestions li.active,.suggestions li:hover{background:var(--yellow-soft)}.cards-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;display:grid}.provider-card{min-height:112px;color:inherit;text-align:left;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:4px;text-decoration:none;display:flex}.provider-card strong{font-size:1.05rem}.provider-card.new{border:2px dashed var(--navy);background:var(--yellow-soft);color:var(--navy);justify-content:center;align-items:center}.provider-card .plus{font-size:2rem;line-height:1}
