.compare-tray{position:fixed;z-index:70;inset-inline:16px;bottom:18px;max-width:660px;margin:auto;padding:12px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;border:1px solid var(--line,#65757d);border-radius:16px;background:var(--card,#32383d);color:var(--text,#eef5f7);box-shadow:0 10px 32px #0005}.compare-tray[hidden]{display:none!important}.mini-app .compare-tray{bottom:calc(90px + env(safe-area-inset-bottom))}.compare-tray .btn,.compare-tray button{width:auto;min-height:44px;margin:0}body:has(.compare-tray:not([hidden])){padding-bottom:180px}.comparison-scroll{max-width:100%;overflow-x:auto}.comparison-table{min-width:640px;table-layout:fixed}.comparison-table th,.comparison-table td{min-width:150px;vertical-align:top;padding:14px}.comparison-table td .btn{display:block;margin:8px 0}.compare-photo{width:130px;height:150px;object-fit:contain}.price-chart{display:block;width:100%;max-height:220px;color:var(--primary,#1c9079);background:var(--bg,#252b30);border-radius:12px;margin:20px 0}.import-row-error td{background:var(--err-bg,#502d35)!important;color:var(--err-fg,#ffd4dc)!important}.store-performance-compact{border-top:1px solid var(--line,#65757d);padding-top:10px;margin-top:10px;font-size:.85rem}.store-performance-compact p{margin:6px 0}.store-performance-compact small{white-space:nowrap}[data-compare-add][aria-pressed=true]{background:var(--ok-bg,#294c43)!important;color:var(--ok-fg,#b0f0d4)!important;border-color:currentColor!important}@media(max-width:600px){.compare-tray{inset-inline:8px;padding:8px;font-size:.9rem}.comparison-table{min-width:570px}}
.compare-tray{background:var(--card-bg)!important;color:var(--fg)!important;border-color:var(--border)!important}
html[data-theme] body .comparison-scroll table :is(th,td){background:var(--card-bg)!important;color:var(--fg)!important;border-color:var(--border)!important}
html[data-theme] body .comparison-scroll table tbody tr:nth-child(even) :is(th,td){background:var(--bg)!important;color:var(--fg)!important}
html[data-theme] body .comparison-scroll table tr.import-row-error :is(th,td){background:var(--err-bg)!important;color:var(--err-fg)!important}

.header-account-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px;max-width:100%}.header-account-links .btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;width:auto;margin:0}.header-account-links .badge{background:var(--ok-bg)!important;color:var(--ok-fg)!important;min-width:25px;text-align:center}.header-account-links .header-inventory-link{border-color:var(--primary)!important}@media(max-width:700px){.site-header .header-account-links{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.header-account-links .btn{font-size:13px;padding:9px 6px;white-space:normal}.header-account-links .header-inventory-link{grid-column:1/-1}}

/* Paired foreground and background across native and mini-app forms. */
html[data-theme] body :is(input:not([type=checkbox]):not([type=radio]):not([type=submit]),textarea,select){background-color:var(--card-bg)!important;color:var(--fg)!important;-webkit-text-fill-color:var(--fg)!important;caret-color:var(--primary)}
html[data-theme] body :is(input,textarea)::placeholder{color:var(--muted)!important;-webkit-text-fill-color:var(--muted)!important;opacity:1}
html[data-theme] body select option{background:var(--card-bg);color:var(--fg)}
.verification-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.location-picker{border:1px solid var(--border);border-radius:12px;padding:16px}.location-picker [data-location-status]{color:var(--fg)}

html[data-theme] body .subscription-days{background:var(--ok-bg,#e4f4ed)!important;color:var(--ok-fg,#185c46)!important;border:1px solid var(--border)}
html[data-theme] body .report-metric{background:var(--card-bg)!important;color:var(--fg)!important;border:1px solid var(--border)}
html[data-theme] body .report-metric strong{color:var(--fg)!important}html[data-theme] body .report-metric span{color:var(--muted)!important}
