:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:#18332e;background:#f5f7f5}*{box-sizing:border-box}body{margin:0}header{background:#164e45;color:white}.wrap{width:min(1060px,calc(100% - 32px));margin:auto}.heading{padding:24px 0;display:flex;align-items:center;justify-content:space-between;gap:18px}.overline{letter-spacing:.15em;font-size:11px;opacity:.65;font-weight:800}h1{margin:2px 0;font-size:32px;letter-spacing:-.04em}h1 small{font-size:13px;letter-spacing:0;font-weight:500;color:#bdded4}h2{font-size:23px;margin:0 0 5px}h3{margin:0 0 7px}.topActions{display:flex;align-items:center;gap:12px}.status{font-size:12px;color:#bfe1d6}button,.fileLabel{appearance:none;border:0;border-radius:10px;background:#187662;color:#fff;padding:11px 16px;font-size:14px;font-weight:700;cursor:pointer}button:hover{filter:brightness(.95)}button.secondary,.fileLabel{background:#e5f0ed;color:#175447}header button.secondary{background:#ffffff20;color:white}button.iconButton{background:transparent;color:inherit;padding:3px 8px;font-size:22px}.notice{background:#fff7df;border:1px solid #f0dfa6;padding:14px 16px;border-radius:12px;margin:22px 0;font-size:13px;line-height:1.6}.tabs{display:flex;gap:7px;border-bottom:1px solid #dce5df;overflow:auto;margin-bottom:26px}.tabs button{background:transparent;color:#63766f;border-radius:9px 9px 0 0;white-space:nowrap}.tabs button.active{color:#11634f;border-bottom:3px solid #177e63}.tab{display:none;padding-bottom:45px}.tab.active{display:block}.sectionHead{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.sectionHead p{margin:0;color:#73827b;font-size:14px}.toolbar{display:flex;gap:10px;margin-bottom:16px}input,select{background:#fff;border:1px solid #cfddd5;border-radius:9px;padding:11px 12px;font:inherit;color:#18332e;min-width:0}input[type=search]{flex:1}.toolbar select{min-width:180px}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:14px}.productCard,.panel{background:white;border:1px solid #e0e9e2;border-radius:16px;padding:17px;box-shadow:0 2px 7px #163b2710}.productCard .photo{height:112px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#e9f2ee;margin-bottom:12px;overflow:hidden;font-size:45px}.photo img{height:100%;width:100%;object-fit:contain}.productCard h3{font-size:16px}.muted,.productCard small{color:#72817b;font-size:12px}.priceBig{font-size:22px;font-weight:800;margin:12px 0 2px}.row{display:flex;justify-content:space-between;gap:8px;align-items:center}.chip{display:inline-flex;padding:4px 8px;border-radius:30px;background:#ebf3ef;color:#356454;font-size:11px}.buttonRow{display:flex;gap:7px;margin-top:14px}.buttonRow button{flex:1;padding:9px;font-size:12px}.panel{margin-bottom:15px}.formGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}label{display:flex;flex-direction:column;font-weight:650;font-size:13px;gap:6px}.full{grid-column:1/-1}.result{margin-top:18px;border-radius:12px;background:#eff6f2;padding:18px}.result.good{background:#e2f6e9}.result.bad{background:#fff0e7}.result .big{font-size:28px;font-weight:850}.result.empty{color:#778880}.tableWrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}th,td{padding:12px 9px;text-align:left;border-bottom:1px solid #eef1ef}th{color:#60746c}td:last-child,th:last-child{text-align:right}.badge{border-radius:16px;background:#e6f4e9;padding:3px 7px;font-size:11px}.chart{width:100%;height:185px}.chart text{font-size:10px;fill:#758780}.settingsCards .panel{margin:0}.settingsCards .panel p{font-size:13px;line-height:1.55;color:#68786f}#offResults{margin-top:12px;display:grid;gap:8px}.offItem{border:1px solid #dce6df;padding:10px;border-radius:8px}.fileLabel input{display:none}dialog{border:0;border-radius:17px;padding:0;width:min(480px,calc(100% - 22px));max-height:90vh;overflow:auto;box-shadow:0 16px 80px #0005}dialog::backdrop{background:#051c18a8}.dialogForm{padding:24px;display:grid;gap:14px}.dialogHead{display:flex;justify-content:space-between;align-items:center}.dialogHead h2{font-size:21px}.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.actions{display:flex;justify-content:end;gap:9px}.preview{height:120px;object-fit:contain}.hint{margin:-8px 0 0;color:#7c8b83;font-size:12px}.check{flex-direction:row;align-items:center}.check input{width:18px;height:18px}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#173a31;color:white;padding:12px 18px;border-radius:10px;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90vw}#toast.show{opacity:1}@media(max-width:640px){.heading{align-items:start}.topActions{display:grid}.topActions .status{font-size:10px}h1{font-size:26px}.sectionHead{align-items:start}.sectionHead button{font-size:12px;padding:9px}.toolbar{flex-direction:column}.formGrid{grid-template-columns:1fr 1fr}.formGrid label:first-child{grid-column:1/-1}.formGrid label:nth-child(4){grid-column:1/-1}.cards{grid-template-columns:1fr 1fr}.productCard{padding:12px}.productCard .photo{height:84px}.buttonRow{flex-wrap:wrap}.buttonRow button{min-width:100%}}@media(max-width:430px){.cards{grid-template-columns:1fr}.heading{flex-wrap:wrap}.topActions{display:flex;flex-wrap:wrap}}

.productLink{background:transparent;color:inherit;padding:0;border-radius:0;text-align:left;font:inherit;font-weight:inherit}.productLink:hover{text-decoration:underline;filter:none}.productLink:focus-visible{outline:2px solid #168268;outline-offset:4px}.buttonRow button{min-width:0}

[hidden]{display:none!important}.productDetail .sectionHead{margin-top:6px}.productDetail #historyBack{margin-bottom:14px}.productDetail #historyTitle{margin-top:6px}

.productCard{cursor:pointer}.productCard:has(button:focus-visible){outline:2px solid #168268;outline-offset:2px}


/* Preisradar V1.5: Mobile-first Oberfläche, bestehende IDs und Speicherung unverändert */
@media(max-width:700px){
  body{background:#f5f8f6;color:#17352d} .wrap{width:calc(100% - 28px);max-width:520px}
  header{background:#f5f8f6;color:#17352d;border-bottom:1px solid #e6ece8}
  .heading{padding:17px 0 13px;align-items:center;flex-wrap:nowrap}
  .overline{font-size:9px;letter-spacing:.18em;color:#67867b;opacity:1}
  h1{font-size:27px;letter-spacing:-.055em;margin:0}h1 small{font-size:10px;color:#769587;font-weight:700}
  .topActions{display:none}
  #localNotice{padding:9px 11px;margin:10px 0 14px;font-size:11px;line-height:1.45;border-color:#e9ebd8;background:#fcfbf0}
  main{padding-bottom:105px}
  .tabs{position:fixed;z-index:30;bottom:0;left:0;right:0;display:flex;justify-content:space-around;align-items:stretch;background:#fff;border-top:1px solid #dce8e2;box-shadow:0 -5px 22px #173a3110;margin:0;padding:5px max(10px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));gap:3px;overflow:visible}
  .tabs button{border:0!important;border-radius:12px!important;background:transparent;color:#6f857a;padding:6px 8px;font-size:11px;min-height:55px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;flex:1;white-space:nowrap}
  .tabs button.active{background:#e4f2eb;color:#09644f}
  .tabs .navIcon{font-size:23px;font-weight:700;line-height:26px}
  .tabs .quickNav{color:#0e715b;font-weight:800}
  .tabs .quickNav .navIcon{background:#147864;color:#fff;display:grid;place-items:center;border-radius:12px;font-size:25px;width:35px;height:32px}
  .tab{padding-bottom:10px}.sectionHead{align-items:start;gap:10px;margin-bottom:14px}.sectionHead h2{font-size:22px;margin-bottom:5px}.sectionHead p{font-size:12px;line-height:1.35;max-width:245px}.sectionHead button{font-size:11px;padding:10px 11px;flex-shrink:0}
  .toolbar{display:grid;grid-template-columns:1fr auto;gap:8px;margin-bottom:14px}.toolbar input{width:100%;font-size:16px;padding:13px 12px}.toolbar select{min-width:0;max-width:125px;width:125px;font-size:12px;padding:11px 6px}
  .cards:not(.settingsCards){grid-template-columns:1fr;gap:9px}
  .productCard{position:relative;display:grid;grid-template-columns:77px minmax(0,1fr);grid-template-rows:auto auto auto auto;gap:2px 12px;min-height:125px;padding:12px;border:1px solid #e0e9e3;border-radius:16px;box-shadow:0 2px 8px #1b4b3710}
  .productCard .photo{grid-column:1;grid-row:1/5;width:77px;height:77px;align-self:start;margin:0;border-radius:12px;font-size:31px}
  .productCard .row{grid-column:2;grid-row:1;min-width:0;justify-content:start;gap:8px}.productCard .row small{font-size:10px}
  .productCard .chip{font-size:10px;padding:3px 7px;max-width:150px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
  .productCard h3{grid-column:2;grid-row:2;line-height:1.2;font-size:16px;margin:2px 0 1px;min-width:0}.productCard .productLink{text-decoration:none!important;text-align:left}.productCard .productLink span{display:none}
  .productCard>small{grid-column:2;font-size:10px}.productCard .priceBig{grid-column:2;grid-row:4;font-size:18px;line-height:1.2;margin:4px 0;color:#11684f}
  .productCard .buttonRow{grid-column:1/-1;grid-row:6;justify-content:flex-end;margin:6px 0 0;border-top:1px solid #eef2ee;padding-top:8px}
  .productCard .buttonRow button{min-width:0;flex:0 0 auto;padding:7px 12px;font-size:12px;border-radius:9px}
  .productCard::after{content:'›';position:absolute;right:13px;top:36px;font-size:24px;color:#89a298;pointer-events:none}
  .settingsCards{grid-template-columns:1fr;gap:12px}.panel{padding:14px;border-radius:16px}
  .formGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.formGrid label:first-child,.formGrid label:nth-child(4){grid-column:1/-1}
  input,select{font-size:16px;min-height:44px}label{font-size:12px}
  dialog{width:100%;max-width:none;max-height:min(88dvh,820px);position:fixed;top:auto;bottom:0;margin:0;border-radius:22px 22px 0 0;padding-bottom:env(safe-area-inset-bottom)}.dialogForm{padding:20px 18px 24px;gap:12px}.dialogHead h2{font-size:20px}.dialogForm .actions{position:sticky;bottom:0;background:#fff;padding-top:10px;display:grid;grid-template-columns:1fr 1.3fr}.dialogForm .actions button{min-height:46px}
  #productHistory .sectionHead{display:flex;align-items:start}#productHistory .sectionHead button{white-space:nowrap}#historyTitle{font-size:20px!important}#historySubtitle{font-size:12px}
  #historyTable{margin:0 -4px}#historyTable table{font-size:12px}
  #toast{bottom:88px;width:calc(100% - 36px);text-align:center}
}
@media(min-width:701px){.navIcon{display:none}.tabs .quickNav{background:#187662;color:#fff;border-radius:9px}.tabs .quickNav:hover{filter:brightness(.94)}}

/* V1.6 kompakte Mobile-First-Bedienung */
html,body{max-width:100%;overflow-x:hidden}header .heading{padding:12px 0}header h1{font-size:25px;margin:0}.gear{border-radius:50%;width:44px;height:44px;padding:0;font-size:25px;background:transparent;color:inherit}header{background:#164e45;color:white}main{padding-top:15px}.settingsTitle{display:flex;align-items:center;gap:15px;margin-bottom:18px}.settingsTitle h2{margin:0}.themePanel{margin-bottom:20px}.themeRow{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-size:16px}.themeRow span{display:grid;gap:4px}.themeRow small{font-size:12px;font-weight:400;color:#71847b}.themeRow input{width:43px;height:24px;min-height:24px;accent-color:#218c70;flex-shrink:0}.visuallyHidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.priceForm{gap:12px}.priceForm .dialogHead{justify-content:flex-end;height:25px}.priceLine{display:grid;grid-template-columns:minmax(115px,41%) minmax(0,1fr);align-items:center;gap:10px}.priceLine label{min-width:0;font-weight:700}.priceLine input,.priceLine select{width:100%;min-width:0;max-width:100%}.unitRadios{display:flex;justify-content:space-between;gap:4px;border:0;padding:0;margin:0}.unitRadios label{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px;font-size:14px;font-weight:700;min-width:0;flex:1;padding:8px 3px;border:1px solid #d5e3db;border-radius:9px;cursor:pointer}.unitRadios input{width:17px;height:17px;min-height:0;margin:0;accent-color:#187662}.priceForm .actions{margin-top:4px}.priceForm>*{max-width:100%;min-width:0}
@media(max-width:700px){header{background:#164e45;color:#fff}header .heading{padding:10px 0}header h1{font-size:23px}main{padding-top:13px}.tabs{gap:12px;justify-content:center}.tabs button{max-width:210px}.priceForm{padding:12px 15px calc(18px + env(safe-area-inset-bottom));gap:10px}.priceForm .actions{padding-top:5px}.priceLine{grid-template-columns:minmax(103px,39%) minmax(0,1fr);gap:8px}.priceLine label{font-size:12px}.priceLine input,.priceLine select{font-size:16px;padding:9px 8px;min-height:41px}.unitRadios label{padding:8px 2px}.priceForm .dialogHead{height:22px}.priceForm .actions button{min-height:43px}#priceDialog{overflow-x:hidden;width:100%;max-width:100vw;box-sizing:border-box}#priceDialog .dialogForm{box-sizing:border-box;width:100%;overflow-x:hidden}}
@media(max-width:360px){.priceLine{grid-template-columns:105px minmax(0,1fr)}.priceLine label{font-size:11px}}
:root[data-theme="dark"]{color-scheme:dark;background:#111b1a;color:#e6f3ee}
[data-theme="dark"] body,[data-theme="dark"] header{background:#111b1a;color:#e6f3ee}[data-theme="dark"] header{border-bottom:1px solid #304942}[data-theme="dark"] .productCard,[data-theme="dark"] .panel,[data-theme="dark"] .tabs,[data-theme="dark"] dialog{background:#1b2c29;color:#e6f3ee;border-color:#365149}[data-theme="dark"] .productCard .photo,[data-theme="dark"] .result,[data-theme="dark"] .chip{background:#29453b;color:#d4ede1}[data-theme="dark"] input,[data-theme="dark"] select{background:#152521;color:#e6f3ee;border-color:#456358}[data-theme="dark"] .muted,[data-theme="dark"] .productCard small,[data-theme="dark"] .sectionHead p,[data-theme="dark"] .settingsCards .panel p,[data-theme="dark"] .themeRow small{color:#afc5bc}[data-theme="dark"] button.secondary,[data-theme="dark"] .fileLabel{background:#304a40;color:#e2f4e9}[data-theme="dark"] .tabs button{color:#b5cdc3}[data-theme="dark"] .tabs button.active{background:#2b5544;color:#e9fff2}[data-theme="dark"] .priceBig{color:#78ddae}[data-theme="dark"] .unitRadios label{border-color:#456358}[data-theme="dark"] .priceForm .actions{background:#1b2c29}[data-theme="dark"] .result.good{background:#224d37}[data-theme="dark"] .result.bad{background:#58382a}[data-theme="dark"] th,[data-theme="dark"] td{border-color:#334d44}[data-theme="dark"] th{color:#bcd3c9}

/* V1.8: Dialoge oben statt als Bottom-Sheet.
   Der sichtbare Android-Viewport schrumpft bei geoeffneter Tastatur;
   deshalb begrenzen wir die Dialoghoehe auf 100dvh und scrollen nur vertikal. */
@media (max-width:700px) {
  dialog, #priceDialog, #productDialog {
    position:fixed;
    inset:auto 0 auto 0;
    top:max(8px, env(safe-area-inset-top));
    bottom:auto;
    margin:0 auto;
    width:calc(100% - 16px);
    max-width:480px;
    max-height:calc(100dvh - 16px - env(safe-area-inset-top));
    border-radius:16px;
    padding-bottom:0;
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
  }
  dialog .dialogForm {
    width:100%;
    min-width:0;
    overflow-x:hidden;
    padding-bottom:14px;
  }
  dialog .dialogForm .actions {
    position:sticky;
    bottom:0;
    z-index:1;
    padding-bottom:3px;
  }
}

/* V1.9: kompakte Preishistorie und Bedienung mit langem Druecken */
#historyTable{width:100%;max-width:100%;margin:0;overflow-x:hidden}
#historyTable table{table-layout:fixed;width:100%;white-space:normal;font-size:clamp(9px,2.5vw,12px)}
#historyTable th,#historyTable td{padding:9px 3px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
#historyTable th:nth-child(1){width:19%}#historyTable th:nth-child(2){width:18%}#historyTable th:nth-child(3){width:20%}#historyTable th:nth-child(4){width:20%}#historyTable th:nth-child(5){width:23%}
#historyTable td:nth-child(1),#historyTable td:nth-child(2),#historyTable td:nth-child(4),#historyTable td:nth-child(5){white-space:nowrap;letter-spacing:-.035em}
#historyTable tr[data-price-id]{touch-action:pan-y;cursor:context-menu}
.longPressOverlay{position:fixed;inset:0;z-index:1000;background:#0009;display:flex;align-items:center;justify-content:center;padding:20px}
.longPressPanel{background:#fff;color:#152b24;border-radius:16px;width:min(340px,100%);padding:20px;display:grid;gap:10px;box-shadow:0 15px 60px #0005}
.longPressPanel p{margin:0 0 7px;font-weight:700}
.longPressPanel .deleteAction{background:#b52b35;color:#fff}
/* Echter Schwarzmodus fuer AMOLED – neutrale Grautoene statt Gruenstich. */
:root[data-theme="dark"]{color-scheme:dark;background:#000;color:#f5f5f5}
[data-theme="dark"] body,[data-theme="dark"] header{background:#000;color:#f5f5f5}
[data-theme="dark"] header{border-color:#303030}
[data-theme="dark"] .productCard,[data-theme="dark"] .panel,[data-theme="dark"] .tabs,[data-theme="dark"] dialog,[data-theme="dark"] .longPressPanel{background:#090909;color:#f5f5f5;border-color:#333}
[data-theme="dark"] .productCard .photo,[data-theme="dark"] .result,[data-theme="dark"] .chip{background:#171717;color:#efefef}
[data-theme="dark"] input,[data-theme="dark"] select{background:#101010;color:#fff;border-color:#484848}
[data-theme="dark"] .muted,[data-theme="dark"] .productCard small,[data-theme="dark"] .sectionHead p,[data-theme="dark"] .settingsCards .panel p,[data-theme="dark"] .themeRow small{color:#b8b8b8}
[data-theme="dark"] button.secondary,[data-theme="dark"] .fileLabel{background:#222;color:#f1f1f1}
[data-theme="dark"] .tabs button{color:#bdbdbd}
[data-theme="dark"] .tabs button.active{background:#202020;color:#fff}
[data-theme="dark"] .unitRadios label{border-color:#555}
[data-theme="dark"] .priceForm .actions{background:#090909}
[data-theme="dark"] .result.good{background:#12291d}
[data-theme="dark"] .result.bad{background:#291612}
[data-theme="dark"] th,[data-theme="dark"] td{border-color:#303030}
[data-theme="dark"] th{color:#c9c9c9}
[data-theme="dark"] .buttonRow{border-color:#333}
[data-theme="dark"] .productCard .priceBig{color:#80eac1}
[data-theme="dark"] .longPressPanel .deleteAction{background:#b52b35;color:#fff}

/* V2.0: kompakte Vergleichsansicht und Formular-Erstpreis */
.homeLogo{appearance:none;display:inline-block;background:transparent;color:inherit;border:0;border-radius:4px;padding:0;font:inherit;font-size:inherit;font-weight:inherit;letter-spacing:inherit;text-align:left;cursor:pointer}
#compare .panel,#compareForm,#compareResult,#compare .priceLine{min-width:0;max-width:100%;box-sizing:border-box}
#compare .panel{overflow:hidden}
.compareForm{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;width:100%;min-width:0}
.compareForm>select,.compareForm>button,.compareForm>.priceLine,.compareForm>.unitRadios{width:100%;max-width:100%;min-width:0}
.compareForm .priceLine{display:grid;grid-template-columns:minmax(100px,39%) minmax(0,1fr);gap:8px;align-items:center}
.compareForm input,.compareForm select{width:100%;min-width:0;max-width:100%}
.compareForm .unitRadios,.initialPriceFields .unitRadios{display:flex;min-width:0;max-width:100%;gap:4px}
.compareForm .unitRadios label,.initialPriceFields .unitRadios label{min-width:0;flex:1}
#compareResult{overflow-wrap:anywhere;overflow:hidden;padding:12px}
.initialPriceFields{border:1px solid #d5e3db;border-radius:12px;min-width:0;margin:0;padding:12px;display:grid;gap:12px}
.initialPriceFields[hidden]{display:none}
.initialPriceFields legend{font-size:14px;font-weight:750;padding:0 5px}
.initialPriceFields .priceLine{grid-template-columns:minmax(100px,39%) minmax(0,1fr)}
.initialPriceFields input{width:100%;max-width:100%;min-width:0}
.fixedProductName{min-width:0;overflow-wrap:anywhere;font-size:15px}
[data-theme="dark"] .initialPriceFields{border-color:#444}
@media(max-width:430px){#compare .panel{padding:12px}.compareForm{gap:10px}.compareForm .priceLine label,.initialPriceFields .priceLine label{font-size:12px}.compareForm .unitRadios label,.initialPriceFields .unitRadios label{padding:8px 1px;font-size:12px}.initialPriceFields{padding:9px}}

/* V2.1: mobile Suche und automatische Auswertung beim Preisvergleich */
.comparePicker{position:relative;min-width:0;width:100%}
.comparePicker input{width:100%;box-sizing:border-box}
.compareSuggestions{position:relative;width:100%;max-height:220px;overflow-y:auto;background:#fff;border:1px solid #cbdad2;border-radius:10px;margin-top:4px;z-index:3;box-sizing:border-box}
.compareSuggestions[hidden]{display:none}
.compareSuggestions button{display:block;width:100%;text-align:left;background:transparent;color:inherit;border:0;border-bottom:1px solid #ddd;padding:12px 10px;border-radius:0;min-height:44px;white-space:normal}
.compareSuggestions button:last-child{border-bottom:0}
.compareSuggestions p{padding:10px;margin:0}
.compareNote{font-size:12px;color:#61766d;line-height:1.5;margin:8px 0 0}
#compareSave{width:100%;margin-top:12px}
#compareSave[hidden]{display:none}
#compare .compareForm .unitRadios{display:flex;justify-content:space-between;gap:4px;border:0;padding:0;margin:0;min-width:0}
#compare .compareForm .unitRadios label{display:flex;align-items:center;justify-content:center;flex:1 1 0;gap:5px;font-size:14px;font-weight:700;min-width:0;padding:8px 3px;border:1px solid #d5e3db;border-radius:9px;white-space:nowrap}
#compare .compareForm .unitRadios input{flex:0 0 17px;width:17px;height:17px;min-height:0;margin:0;accent-color:#187662}
[data-theme="dark"] .compareSuggestions{background:#101010;border-color:#444}
[data-theme="dark"] .compareSuggestions button{color:#fafafa;border-color:#333}
[data-theme="dark"] .compareNote{color:#bababa}
[data-theme="dark"] #compare .compareForm .unitRadios label{border-color:#555}
@media(max-width:430px){#compare .compareForm .unitRadios label{font-size:12px;gap:3px;padding:8px 1px}#compare .compareForm .unitRadios input{flex-basis:15px;width:15px;height:15px}}

/* V2.2: freundliche, gut erreichbare Mengenpruefung */
#quantityCheck.quantityCheck{position:fixed;top:50%;bottom:auto;left:50%;transform:translate(-50%,-50%);margin:0;width:min(370px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 36px);border-radius:20px;overflow:auto;background:#fff;color:#1a2825;box-sizing:border-box;padding:0;box-shadow:0 24px 80px #0006}
.quantityCheckBody{padding:24px 20px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}
.quantityIcon{display:grid;place-items:center;background:#fff0c7;color:#7a4c02;width:48px;height:48px;border-radius:50%;font-size:28px;font-weight:800}
.quantityCheck h2{font-size:20px;margin:0}.quantityCheck p{font-size:15px;line-height:1.5;margin:0 0 8px}.quantityActions{display:grid;grid-template-columns:1fr;gap:10px;width:100%}.quantityActions button{min-height:46px;white-space:normal}
[data-theme="dark"] #quantityCheck.quantityCheck{background:#090909;color:#fafafa;border:1px solid #444}
[data-theme="dark"] .quantityIcon{background:#382b13;color:#ffd58c}
@media(max-width:700px){#quantityCheck.quantityCheck{top:50%;bottom:auto;margin:0;border-radius:20px;width:calc(100vw - 32px)}}

.syncPanel input {width:100%;max-width:100%;box-sizing:border-box;margin:8px 0 12px}
.syncActions {display:grid;gap:10px}
.syncActions button {white-space:normal;min-height:44px;width:100%}
.syncPanel p {overflow-wrap:anywhere}
