.admin{max-width:720px;min-height:100dvh;margin:0 auto;background:var(--surface)}.admin-topbar{gap:12px}.admin-topbar .brand{flex:none;font-size:1.15rem}.admin-nav{display:flex;gap:4px;flex:1 1;overflow-x:auto;scrollbar-width:none}.admin-nav a{padding:6px 10px;border-radius:999px;font-size:.9rem;font-weight:600;color:var(--muted);white-space:nowrap}.admin-nav a:active{background:var(--press)}.admin-main{display:flex;flex-direction:column;gap:8px;padding:8px 0 calc(env(safe-area-inset-bottom) + 48px)}.admin-main>.form-error,.admin-main>.form-ok,.admin-main>.pill.block{margin:4px 16px;width:auto}.page-head{display:flex;align-items:center;gap:4px;padding:0 8px}.page-head .page-title{flex:1 1;padding:8px}.page-title{padding:12px 16px 4px;font-size:1.5rem;font-weight:700;letter-spacing:-.02em;margin:0}.pad-x{padding:0 16px}.center{text-align:center}.stats{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:10px;gap:10px;padding:8px 16px}@media (min-width:560px){.stats{grid-template-columns:repeat(4,1fr)}}.stat{display:flex;flex-direction:column;gap:2px;padding:14px;border-radius:16px;background:var(--surface-2)}.stat-value{font-size:1.6rem;font-weight:700;letter-spacing:-.02em;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.stat-label{color:var(--muted);font-size:.82rem}.card-row{width:auto;display:flex;align-items:center;gap:12px;margin:0 16px;padding:12px 14px;border-radius:16px;background:var(--surface-2)}.card-row .row-sub{font-size:.85rem}.link-row{margin-top:16px;min-height:52px}.link-row:after{display:none}.card-list{margin:0 16px;border-radius:16px;overflow:hidden;background:var(--surface-2)}.card-list .row:after{left:16px}.card-list .row:has(.avatar):after{left:76px}.row.static:active{background:none}.badge-count{min-width:28px;border-radius:999px;background:var(--brand);color:var(--brand-ink);font-size:.82rem;text-align:center}.badge-count,.tag{padding:2px 8px;font-weight:700}.tag{flex:none;border-radius:6px;background:var(--warn-bg);color:var(--warn-ink);font-size:.75rem}.tag-merchant{background:var(--brand-soft);color:var(--brand-text)}.tag-off{background:var(--surface-3);color:var(--muted)}.pill-danger{background:#d93025;color:#fff}.pill-danger-text{color:#d93025;background:transparent}.admin-search{margin:4px 16px 8px}.product-item details>summary{list-style:none;cursor:pointer}.product-item details>summary::-webkit-details-marker{display:none}.product-item details[open]>summary{background:var(--press)}.product-edit{display:flex;flex-direction:column;gap:8px;padding:12px 0 8px;background:var(--surface);border-top:1px solid var(--hairline)}.product-edit>form:first-child,.product-edit>form:last-child{padding:0 16px}.add-card{margin:12px 16px 0}.add-card>summary{list-style:none;cursor:pointer}.add-card>summary::-webkit-details-marker{display:none}.add-card[open]>summary{background:var(--surface-2);color:var(--text)}.add-card .admin-form{padding:12px 0 0}.admin-form{display:flex;flex-direction:column;gap:14px;padding:8px 16px}.admin-form .chips,.field{padding:0}.field{display:flex;flex-direction:column;gap:6px;min-width:0;border:0;margin:0}.field-label{font-size:.85rem;font-weight:650;color:var(--muted);padding:0}.field-hint{font-size:.8rem;color:var(--muted)}.field-error{font-size:.82rem;font-weight:600;color:#d93025}.input{width:100%;min-height:48px;padding:0 14px;border:1.5px solid transparent;border-radius:12px;background:var(--surface-2);color:var(--text);font-size:16px;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;transition:border-color .15s}select.input{background-image:linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%);background-position:calc(100% - 20px) 21px,calc(100% - 15px) 21px;background-size:5px 5px;background-repeat:no-repeat;padding-right:36px}.input:focus{border-color:var(--brand-text)}.has-error .input{border-color:#d93025}.field-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px}@media (max-width:380px){.field-row{grid-template-columns:1fr}}.input-group{display:flex;gap:8px}.input-group .input{flex:1 1;min-width:0}.input-group .pill{flex:none;min-height:48px;padding:0 14px}.chip-check{position:relative}.chip-check input{position:absolute;opacity:0;pointer-events:none}.chip-check span{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;background:var(--surface-2);font-size:.88rem;font-weight:500;cursor:pointer;transition:background .15s}.chip-check input:checked+span{background:var(--brand);color:var(--brand-ink)}.chip-check input:focus-visible+span{outline:2px solid var(--brand);outline-offset:2px}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer}.switch-row span{display:flex;flex-direction:column;gap:2px}.switch-row small{color:var(--muted);font-size:.82rem}.switch{-webkit-appearance:none;-moz-appearance:none;appearance:none;position:relative;flex:none;width:51px;height:31px;margin:0;border-radius:999px;background:var(--surface-3);cursor:pointer;transition:background .2s}.switch:after{content:"";position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:#fff;box-shadow:0 2px 4px rgb(0 0 0/.2);transition:transform .2s var(--ease)}.switch:checked{background:var(--brand)}.switch:checked:after{transform:translateX(20px)}.form-error,.form-ok{padding:10px 14px;border-radius:12px;font-size:.9rem;font-weight:600}.form-ok{background:var(--brand-soft);color:var(--brand-text)}.form-error{background:#fdecec;color:#b3261e}.login{display:flex;flex-direction:column;align-items:center;gap:6px;max-width:400px;margin:0 auto;padding:18vh 8px 32px;text-align:center}.login img{border-radius:14px;margin-bottom:8px}.login h1{font-size:1.5rem;letter-spacing:-.02em}.login .admin-form{width:100%;margin-top:16px;text-align:left}.tester-intro{margin-top:8px}.tester{padding-top:4px}.diag{display:flex;flex-direction:column;gap:6px;padding:12px 14px;border-radius:14px;font-size:.9rem;line-height:1.4}.diag-ok{background:var(--brand-soft);color:var(--brand-text)}.diag-warn{background:var(--warn-bg);color:var(--warn-ink)}.diag-error{background:#fdecec;color:#b3261e}.diag span{color:inherit}.diag-meta{font-size:.8rem;opacity:.8}.diag-offers{margin:4px 0 0;padding-left:18px}.diag-offers a{font-weight:650;text-decoration:underline}.diag-code{display:block;padding:8px;border-radius:8px;background:rgb(0 0 0/.06);font-size:.75rem;overflow-wrap:anywhere}.online-offer{padding-left:16px}.online-offer .row-title{gap:6px;color:inherit}.online-offer .row-side{gap:0}.danger-link{color:#d93025;font-size:.8rem}.online-actions{display:flex;flex-direction:column;gap:4px;padding:8px 16px 0}.online-link{margin-top:8px}@media (max-width:480px){.admin-topbar .brand span{display:none}.admin-topbar{gap:6px}.admin-nav a{padding:6px 8px}}.photo-field{display:flex;align-items:center;gap:14px}.photo-field-main{display:flex;flex-direction:column;gap:2px;min-width:0}.photo-field-actions{display:flex;gap:16px;margin-top:4px}.photo-tile{display:grid;place-items:center;flex:none;width:84px;height:84px;border-radius:14px;overflow:hidden;background:var(--surface-2);color:var(--muted)}.photo-tile.sm{width:48px;height:48px;border-radius:10px}.photo-tile img{width:100%;height:100%;object-fit:cover}.bulk,.bulk-list{display:flex;flex-direction:column;gap:10px}.bulk-list{margin:0;padding:0;list-style:none}.bulk-item{display:flex;align-items:flex-start;gap:12px;padding:10px;border-radius:16px;background:var(--surface-2)}.bulk-item .input{min-height:42px;background:var(--surface)}.bulk-item .icon-btn{flex:none;margin:-4px -4px 0 0}.bulk-fields{display:flex;flex-direction:column;gap:8px;flex:1 1;min-width:0}.bulk-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);grid-gap:8px;gap:8px}.bulk-item select.input{padding-left:10px;padding-right:28px;background-position:calc(100% - 16px) 18px,calc(100% - 11px) 18px}.bulk-item .photo-tile{width:64px;height:64px}.compare-photo{width:100%;max-height:240px;object-fit:contain;border-radius:16px;background:var(--surface-2)}.compare{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));grid-gap:10px;gap:10px}.compare-col{display:flex;flex-direction:column;gap:4px;padding:12px;border-radius:16px;background:var(--surface-2);font-size:.92rem}.budget .row-main{gap:6px}.budget-bar{height:8px;background:var(--surface-3);overflow:hidden}.budget-bar,.budget-bar span{display:block;border-radius:8px}.budget-bar span{height:100%;background:var(--good)}.budget-economy .budget-bar span{background:#d69a00}.budget-exhausted .budget-bar span{background:#d93025}.budget-alert{display:block;margin:4px 16px}