.deal-alarm-trigger {
  display: grid;
  place-items: center;
  order: 5;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 1px solid #cbd8d2;
  border-radius: 50%;
  background: #fff;
  color: #1d3d66;
  cursor: pointer;
}
.deal-alarm-trigger:hover,
.deal-alarm-trigger[aria-expanded="true"] { background: #e8f1f0; border-color: #9ab5ad; }
.deal-alarm-trigger svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media(max-width:639px) {
  .topbar .deal-alarm-trigger { order: 3; width: 34px; height: 34px; padding: 6px; }
  .deal-alarm-trigger svg { width: 19px; height: 19px; }
}
@media(max-width:359px) {
  .topbar .deal-alarm-trigger { width: 30px; height: 30px; padding: 6px; }
}

.deal-alarm-dialog {
  width: min(620px, calc(100% - 32px));
  max-width: 620px;
  max-height: min(850px, calc(100dvh - 40px));
  padding: 0;
  overflow: hidden;
  border: 1px solid #dce5df;
  border-radius: 20px;
  background: #f3f7f5;
  color: #163027;
  box-shadow: 0 24px 80px #102a2740;
}
.deal-alarm-dialog::backdrop { background: #102a2770; backdrop-filter: blur(2px); }
.deal-alarm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 22px;
  border-bottom: 1px solid #dce5df;
  background: #fff;
}
.deal-alarm-header h2 { margin: 0; color: #163027; font-size: 21px; }
.deal-alarm-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid #d4dfd9;
  border-radius: 50%;
  background: #fff;
  color: #365648;
  font-size: 25px;
  cursor: pointer;
}
.deal-alarm-content { max-height: calc(100dvh - 190px); overflow: auto; padding: 18px 22px 10px; }
.deal-alarm-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 10px;
  padding: 15px 16px;
  border: 1px solid #e0e8e3;
  border-radius: 16px;
  background: #fff;
}
.deal-alarm-option-copy { display: flex; align-items: center; gap: 13px; min-width: 0; }
.deal-alarm-option-icon { flex: none; font-size: 24px; }
.deal-alarm-option-copy strong { display: block; font-size: 15px; }
.deal-alarm-option-copy small { display: block; margin-top: 3px; color: #66746d; font-size: 12px; line-height: 1.45; }
.deal-alarm-toggle { position: relative; display: inline-flex; flex: none; align-items: center; cursor: pointer; }
.deal-alarm-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.deal-alarm-switch {
  width: 52px;
  height: 30px;
  border-radius: 20px;
  background: #dce5e1;
  transition: background .15s ease;
}
.deal-alarm-switch::after {
  display: block;
  width: 22px;
  height: 22px;
  margin: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px #16302735;
  content: "";
  transition: transform .15s ease;
}
.deal-alarm-toggle input:checked + .deal-alarm-switch { background: #21834b; }
.deal-alarm-toggle input:checked + .deal-alarm-switch::after { transform: translateX(22px); }
.deal-alarm-toggle input:focus-visible + .deal-alarm-switch { outline: 3px solid #1d3d66; outline-offset: 3px; }
.deal-alarm-range-head,.deal-alarm-category-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 10px; }
.deal-alarm-range-head strong,.deal-alarm-category-head strong { color: #526960; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; }
.deal-alarm-range-value { color: #1d3d66; font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.deal-alarm-range { width: 100%; margin: 4px 0 12px; accent-color: #21834b; cursor: pointer; }
.deal-alarm-category-hint { color: #718079; font-size: 12px; text-align: right; }
.deal-alarm-categories { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 7px; }
.deal-alarm-category {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #d6e0da;
  border-radius: 22px;
  background: #fff;
  color: #425d4e;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.deal-alarm-category svg { display: block; flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.deal-alarm-category[aria-pressed="true"] { border-color: #21834b; background: #e3f1e8; color: #176239; }
.deal-alarm-support { min-height: 18px; margin: 7px 0 4px; color: #526960; font-size: 12px; line-height: 1.5; }
.deal-alarm-actions { display: flex; align-items: center; gap: 10px; padding: 12px 22px 18px; border-top: 1px solid #e0e8e3; background: #f3f7f5; }
.deal-alarm-save,.deal-alarm-test {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.deal-alarm-save { flex: 1; background: #1d3d66; color: #fff; }
.deal-alarm-save:hover { background: #285682; }
.deal-alarm-test { border-color: #cbd8d2; background: #fff; color: #1d3d66; }
.deal-alarm-save:focus-visible,.deal-alarm-test:focus-visible,.deal-alarm-close:focus-visible,.deal-alarm-category:focus-visible { outline: 3px solid #287c69; outline-offset: 2px; }

.deal-new-banner {
  position: fixed;
  z-index: 1200;
  top: 105px;
  right: max(16px, calc((100% - 1440px) / 2));
  width: min(390px, calc(100% - 32px));
  overflow: hidden;
  border: 1px solid #d5e0da;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 36px #102a2730;
  color: #243b53;
}
.deal-new-banner[hidden] { display: none; }
.deal-new-header { display: flex; background: #f6faf8; }
.deal-new-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
  min-width: 0;
  padding: 13px 0 13px 15px;
  border: 0;
  background: #f6faf8;
  color: #1d3d66;
  font: inherit;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}
.deal-new-dismiss {
  flex: 0 0 44px; border: 0; background: transparent; color: inherit;
  font: 24px/1 system-ui; cursor: pointer;
}
.deal-new-dismiss:hover { background: #21834b18; }
.deal-new-dismiss:focus-visible { outline: 2px solid #21834b; outline-offset: -4px; }
.deal-new-count { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #21834b; color: #fff; font-size: 13px; font-variant-numeric: tabular-nums; }
.deal-new-label { flex: 1; font-size: 14px; }
.deal-new-chevron {
  flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.deal-new-toggle:focus-visible { outline: 2px solid #21834b; outline-offset: -4px; }
.deal-new-banner.is-open .deal-new-header { border-bottom: 1px solid #e1e9e4; }
.deal-new-toggle[aria-expanded="true"] .deal-new-chevron { transform: rotate(180deg); }
.deal-new-list { display: grid; gap: 4px; max-height: min(42vh, 320px); overflow: auto; overscroll-behavior: contain; padding: 7px; background: #fff; }
.deal-new-banner .deal-new-list[hidden] { display: none; }
.deal-new-list a { display: flex; align-items: flex-start; gap: 9px; padding: 10px; border-radius: 9px; color: #30483b; font-size: 13px; line-height: 1.4; text-decoration: none; }
.deal-new-list a svg { display: block; flex: none; width: 16px; height: 16px; margin-top: 1px; color: #21834b; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.deal-new-list a:hover,.deal-new-list a:focus-visible { background: #edf5ef; outline: none; }

.pwa-install-card {
  position: fixed;
  z-index: 1250;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(540px, calc(100% - 28px));
  padding: 17px;
  border: 1px solid #dce5df;
  border-radius: 16px;
  background: #fff;
  color: #163027;
  box-shadow: 0 12px 40px #102a2730;
}
.pwa-install-copy { min-width: 0; }
.pwa-install-copy strong { color: #1d3d66; font-size: 15px; }
.pwa-install-copy p { margin: 5px 0 0; color: #526960; font-size: 13px; line-height: 1.45; }
.pwa-install-copy .pwa-ios-help { color: #176239; }
.pwa-install-actions { display: flex; flex: none; gap: 7px; }
.pwa-install-actions button { min-height: 38px; padding: 8px 11px; border: 1px solid #d6e0da; border-radius: 9px; background: #fff; color: #365648; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.pwa-install-actions .pwa-install-accept { border-color: #1d3d66; background: #1d3d66; color: #fff; }
.pwa-install-actions button:focus-visible { outline: 3px solid #287c69; outline-offset: 2px; }

.settings-dialog {
  width: min(600px, calc(100% - 32px));
  max-width: 600px;
  max-height: min(820px, calc(100dvh - 40px));
  padding: 0;
  overflow: hidden;
  border: 1px solid #dce5df;
  border-radius: 20px;
  background: #f3f7f5;
  color: #163027;
  box-shadow: 0 24px 80px #102a2740;
}
.settings-dialog::backdrop { background: #102a2770; backdrop-filter: blur(2px); }
.settings-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 22px;
  border-bottom: 1px solid #dce5df;
  background: #fff;
}
.settings-dialog-header h2 { margin: 0; color: #163027; font-size: 21px; }
.settings-dialog-header p { margin: 4px 0 0; color: #66746d; font-size: 12px; }
.settings-dialog-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid #d4dfd9;
  border-radius: 50%;
  background: #fff;
  color: #365648;
  font-size: 25px;
  cursor: pointer;
}
.settings-dialog-content {
  max-height: min(700px, calc(100dvh - 140px));
  overflow: auto;
  overscroll-behavior: contain;
  padding: 8px 22px 22px;
}
.settings-section { padding: 14px 0; border-bottom: 1px solid #e0e8e3; }
.settings-section:last-child { border-bottom: 0; }
.settings-section > h3 {
  margin: 0 0 12px;
  color: #526960;
  font-size: 11px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}
.settings-switch-row,.settings-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 11px 12px;
  border: 1px solid #e0e8e3;
  border-radius: 12px;
  background: #fff;
}
.settings-switch-row { cursor: pointer; }
.settings-field { margin-top: 8px; }
.settings-option-copy { min-width: 0; }
.settings-option-copy strong { display: block; font-size: 14px; }
.settings-option-copy small { display: block; margin-top: 3px; color: #66746d; font-size: 11px; line-height: 1.4; }
.settings-switch { position: relative; display: inline-flex; flex: none; cursor: pointer; }
.settings-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.settings-switch > span {
  width: 48px;
  height: 28px;
  border-radius: 18px;
  background: #dce5e1;
  transition: background .15s ease;
}
.settings-switch > span::after {
  display: block;
  width: 20px;
  height: 20px;
  margin: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px #16302735;
  content: "";
  transition: transform .15s ease;
}
.settings-switch input:checked + span { background: #21834b; }
.settings-switch input:checked + span::after { transform: translateX(20px); }
.settings-switch input:focus-visible + span { outline: 3px solid #1d3d66; outline-offset: 3px; }
.settings-field select {
  flex: none;
  min-height: 38px;
  padding: 6px 30px 6px 10px;
  border: 1px solid #cbd8d2;
  border-radius: 8px;
  background: #f7faf8;
  color: #163027;
  font: inherit;
  font-size: 13px;
}
.settings-choice-group { min-width: 0; margin: 12px 0 0; padding: 0; border: 0; }
.settings-choice-group legend { margin-bottom: 8px; color: #365648; font-size: 13px; font-weight: 700; }
.settings-choice-options { display: flex; flex-wrap: wrap; gap: 8px; }
.settings-choice { position: relative; cursor: pointer; }
.settings-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.settings-choice span {
  display: block;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid #d6e0da;
  border-radius: 9px;
  background: #fff;
  color: #425d4e;
  font-size: 12px;
  line-height: 18px;
}
.settings-choice input:checked + span { border-color: #21834b; background: #e3f1e8; color: #176239; }
.settings-choice input:focus-visible + span { outline: 3px solid #1d3d66; outline-offset: 2px; }
.settings-account-section a,.settings-account-section form button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: 600 13px/1.4 'DM Sans',system-ui,sans-serif;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.settings-account-section a:hover,.settings-account-section form button:hover { background: #edf4ef; }
.settings-account-section form { margin: 4px 0 0; }
.settings-account-section .admin-settings-group > summary { padding: 10px; border-radius: 8px; font-size: 13px; font-weight: 700; cursor: pointer; }
.settings-account-section .admin-settings-group > summary:hover { background: #edf4ef; }
.settings-account-section .admin-settings-links { margin-left: 10px; border-left: 1px solid #d5e1da; padding-left: 4px; }
main.deals.is-compact:not(.is-list) .product { padding: 10px; }
main.deals.is-compact:not(.is-list) .img-frame { height: 166px; }
main.deals.is-compact:not(.is-list) .product-content { margin-top: 8px; }
main.deals.is-compact:not(.is-list) .product h2 { min-height: 36px; }
main.deals.is-compact:not(.is-list) .price-container { min-height: 42px; margin-top: 8px; }
main.deals.is-compact:not(.is-list) .partner-note {
  min-height: 0;
  margin: 5px 0 8px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
main.deals.is-compact:not(.is-list) .product > .actions { padding-top: 8px; }
main.deals.is-compact.is-list .product { padding: 8px 10px; row-gap: 4px; }
main.deals.is-compact.is-list .product h2 { line-height: 1.25; }

@media(max-width:639px) {
  .header-wrap {
    position: sticky;
    top: 0;
    z-index: 1100;
    padding-top: env(safe-area-inset-top);
  }
  .sticky-deal-navigation {
    position: sticky;
    top: calc(63px + env(safe-area-inset-top));
    z-index: 1080;
    margin: 0 -8px;
    padding: 0 8px;
    background: var(--bg);
  }
  .sticky-deal-navigation .category-navigation {
    margin-bottom: 0;
    padding-bottom: 2px;
  }
  .sticky-deal-navigation .deals-toolbar {
    margin-bottom: 0;
    padding-bottom: 5px;
    background: var(--bg);
  }
  .category-navigation .category-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding-bottom: 9px;
  }
  .category-navigation .category-filters::-webkit-scrollbar { display: none; }
  main.deals.is-compact:not(.is-list) .product { padding: 7px; }
  main.deals.is-compact:not(.is-list) .img-frame { height: 128px; }
  main.deals.is-compact:not(.is-list) .product h2 { min-height: 34px; }
  main.deals.is-compact:not(.is-list) .price-container { min-height: 38px; }
  main.deals.is-compact.is-single .img-frame { height: clamp(210px, 62vw, 300px); }
  .settings-dialog {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - env(safe-area-inset-top));
    margin: auto 0 0;
    border-radius: 20px 20px 0 0;
  }
  .settings-dialog-header { padding: 14px 17px; }
  .settings-dialog-content {
    max-height: calc(100dvh - 100px - env(safe-area-inset-top));
    padding: 5px 15px max(18px, env(safe-area-inset-bottom));
  }
  .settings-section { padding: 12px 0; }
  .settings-switch-row,.settings-field { gap: 10px; padding: 10px; }
}

html[data-theme="dark"] .deal-alarm-trigger { border-color: #40584a; background: #23362e; color: #dcebe2; }
html[data-theme="dark"] .deal-alarm-dialog { border-color: #40584a; background: #1d3028; color: #dcebe2; }
html[data-theme="dark"] .deal-alarm-header,html[data-theme="dark"] .deal-alarm-option,html[data-theme="dark"] .deal-alarm-category,html[data-theme="dark"] .deal-alarm-test,html[data-theme="dark"] .deal-alarm-close,html[data-theme="dark"] .pwa-install-card { border-color: #40584a; background: #23362e; color: #dcebe2; }
html[data-theme="dark"] .deal-alarm-header h2,html[data-theme="dark"] .pwa-install-copy strong { color: #dcebe2; }
html[data-theme="dark"] .deal-alarm-option-copy small,html[data-theme="dark"] .deal-alarm-support,html[data-theme="dark"] .deal-alarm-category-hint,html[data-theme="dark"] .pwa-install-copy p { color: #a6b9ad; }
html[data-theme="dark"] .deal-alarm-actions { border-color: #40584a; background: #1d3028; }
html[data-theme="dark"] .deal-alarm-category[aria-pressed="true"] { background: #345442; color: #fff; }
html[data-theme="dark"] .deal-alarm-save { background: #2c6a8a; }
html[data-theme="dark"] .deal-new-banner { border-color: #40584a; background: #1d3028; color: #dcebe2; }
html[data-theme="dark"] :is(.deal-new-header,.deal-new-toggle) { background: #23362e; color: #dcebe2; }
html[data-theme="dark"] .deal-new-banner.is-open .deal-new-header { border-color: #40584a; }
html[data-theme="dark"] .deal-new-list { background: #1d3028; }
html[data-theme="dark"] .deal-new-list a { color: #dcebe2; }
html[data-theme="dark"] .deal-new-list a:hover,html[data-theme="dark"] .deal-new-list a:focus-visible { background: #ffffff14; }
html[data-theme="dark"] .settings-dialog { border-color: #40584a; background: #1d3028; color: #dcebe2; }
html[data-theme="dark"] .settings-dialog-header,html[data-theme="dark"] .settings-switch-row,html[data-theme="dark"] .settings-field,html[data-theme="dark"] .settings-choice span,html[data-theme="dark"] .settings-dialog-close { border-color: #40584a; background: #23362e; color: #dcebe2; }
html[data-theme="dark"] .settings-dialog-header h2 { color: #e5eee9; }
html[data-theme="dark"] .settings-dialog-header p,html[data-theme="dark"] .settings-option-copy small,html[data-theme="dark"] .settings-section > h3,html[data-theme="dark"] .settings-choice-group legend { color: #a6b9ad; }
html[data-theme="dark"] .settings-section { border-color: #40584a; }
html[data-theme="dark"] .settings-field select { border-color: #40584a; background: #1d3028; color: #dcebe2; }
html[data-theme="dark"] .settings-choice input:checked + span { border-color: #4aa574; background: #345442; color: #fff; }
html[data-theme="dark"] .settings-account-section a:hover,html[data-theme="dark"] .settings-account-section form button:hover,html[data-theme="dark"] .settings-account-section .admin-settings-group > summary:hover { background: #314a3c; }
html[data-theme="dark"] .settings-account-section .admin-settings-links { border-color: #40584a; }
html[data-theme="dark"] .settings-dialog-close { background: #23362e; }
html[data-theme="dark"] .settings-switch input:checked + span { background: #3ba66b; }
html[data-theme="dark"] .category-navigation { border-color: #34473d; }

@media(max-width:600px) {
  .deal-alarm-dialog { width: 100%; max-width: none; max-height: 94dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; }
  .deal-alarm-header { padding: 14px 17px; }
  .deal-alarm-content { max-height: calc(94dvh - 150px); padding: 13px 15px 8px; }
  .deal-alarm-option { gap: 10px; padding: 12px; }
  .deal-alarm-option-copy { gap: 9px; }
  .deal-alarm-option-copy strong { font-size: 14px; }
  .deal-alarm-option-copy small { font-size: 11px; }
  .deal-alarm-category { min-height: 36px; padding: 7px 10px; font-size: 12px; }
  .deal-alarm-actions { position: sticky; bottom: 0; padding: 10px 15px max(14px, env(safe-area-inset-bottom)); }
  .deal-new-banner { top: calc(76px + env(safe-area-inset-top)); right: 12px; left: 12px; width: auto; max-height: min(45dvh, 380px); }
  .deal-new-list { max-height: min(36dvh, 280px); }
  .pwa-install-card { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); align-items: flex-start; flex-direction: column; gap: 10px; padding: 14px; }
  .pwa-install-actions { width: 100%; }
  .pwa-install-actions button { flex: 1; }
}
@media(prefers-reduced-motion:reduce) {
  .deal-alarm-switch,.deal-alarm-switch::after,.settings-switch > span,.settings-switch > span::after { transition: none; }
}

/* Deal-Alarm settings */
.deal-alarm-dialog {
  box-sizing: border-box;
  --alarm-surface: #fff;
  --alarm-soft: #edf5ef;
  --alarm-line: #d5e3da;
  --alarm-ink: #163027;
  --alarm-muted: #526960;
  --alarm-accent: #176239;
  color: var(--alarm-ink);
}
html[data-theme="dark"] .deal-alarm-dialog {
  --alarm-surface: #23362e;
  --alarm-soft: #2d4839;
  --alarm-line: #40584a;
  --alarm-ink: #dcebe2;
  --alarm-muted: #afc5b8;
  --alarm-accent: #a4dcb8;
}
.deal-alarm-dialog[open] {
  display: flex;
  flex-direction: column;
}
.deal-alarm-dialog :is(.deal-alarm-header,.deal-alarm-actions) { flex: none; }
.deal-alarm-dialog .deal-alarm-header {
  background: var(--alarm-soft);
  border-color: var(--alarm-line);
}
.deal-alarm-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
.deal-alarm-heading p { margin: 4px 0 0; color: var(--alarm-muted); font-size: 12px; }
.deal-alarm-dialog .deal-alarm-content {
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.deal-alarm-dialog .deal-alarm-option { border-color: var(--alarm-line); cursor: pointer; }
.deal-alarm-option:has(input:checked) { box-shadow: inset 3px 0 #21834b; }
.deal-alarm-option-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--alarm-soft);
  color: var(--alarm-accent);
}
.deal-alarm-heading .deal-alarm-option-icon {
  width: 42px;
  height: 42px;
  background: #176239;
  color: #fff;
}
.deal-alarm-option-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.deal-alarm-filter {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--alarm-line);
  border-radius: 14px;
  background: var(--alarm-surface);
}
.deal-alarm-filter .deal-alarm-range-head { margin: 0 0 6px; }
.deal-alarm-range-head label,.deal-alarm-category-head strong {
  color: var(--alarm-ink);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}
.deal-alarm-range-value {
  padding: 3px 9px;
  border-radius: 7px;
  background: var(--alarm-soft);
  color: var(--alarm-accent);
  font-size: 15px;
}
.deal-alarm-filter .deal-alarm-range { display: block; margin: 5px 0 9px; }
.deal-alarm-presets { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }
.deal-alarm-presets button {
  min-height: 35px;
  padding: 4px;
  border: 1px solid var(--alarm-line);
  border-radius: 8px;
  background: var(--alarm-surface);
  color: var(--alarm-ink);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.deal-alarm-presets button[aria-pressed="true"],
.deal-alarm-dialog .deal-alarm-category[aria-pressed="true"] {
  border-color: var(--alarm-accent);
  background: var(--alarm-soft);
  color: var(--alarm-accent);
}
.deal-alarm-presets button:focus-visible { outline: 2px solid var(--alarm-accent); outline-offset: 2px; }
.deal-alarm-all { font-weight: 750; }
.deal-alarm-dialog .deal-alarm-save { background: #176239; }
.deal-alarm-dialog .deal-alarm-save:hover { background: #114d2c; }
.deal-alarm-dialog .deal-alarm-test { color: var(--alarm-ink); }
@media(max-width:639px) {
  .deal-alarm-dialog { max-height: min(92dvh, calc(100dvh - env(safe-area-inset-top) - 12px)); }
  .deal-alarm-heading .deal-alarm-option-icon { width: 36px; height: 36px; }
  .deal-alarm-dialog .deal-alarm-content { padding: 12px 14px 8px; }
  .deal-alarm-dialog .deal-alarm-option { gap: 8px; padding: 9px 10px; }
  .deal-alarm-option-copy { gap: 8px; }
  .deal-alarm-option-copy .deal-alarm-option-icon { width: 32px; height: 32px; }
}


/* Merkliste */
.wishlist-dialog .deal-alarm-content { padding-block: 12px; }
.wishlist-dialog-items {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wishlist-dialog-items li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--alarm-line);
  border-radius: 12px;
  background: var(--alarm-surface);
}
.wishlist-dialog-items a {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 48px;
  padding: 3px;
  color: var(--alarm-ink);
  font-size: 13px;
  text-decoration: none;
}
.wishlist-dialog-items a:hover span { text-decoration: underline; }
.wishlist-dialog-items a span { min-width: 0; overflow-wrap: anywhere; }
.wishlist-dialog-items img {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 7px;
  background: var(--alarm-soft);
  object-fit: contain;
}
.wishlist-dialog-items strong { display: block; margin-top: 4px; color: var(--alarm-accent); }
.wishlist-dialog-items button {
  flex: 0 0 38px;
  min-height: 38px;
  padding: 0;
  border: 1px solid var(--alarm-line);
  border-radius: 9px;
  background: var(--alarm-surface);
  color: var(--alarm-muted);
  font: 22px/1 system-ui;
  cursor: pointer;
}
.wishlist-dialog-items button:hover { background: var(--alarm-soft); color: var(--alarm-ink); }
.wishlist-dialog :is(a,button):focus-visible { outline: 2px solid var(--alarm-accent); outline-offset: 2px; }
.wishlist-dialog .deal-alarm-test { display: grid; place-items: center; text-align: center; text-decoration: none; }
#wishlist-dialog-status { margin: 4px 0; color: var(--alarm-muted); font-size: 13px; }
@media(max-width:359px) {
  .wishlist-dialog .deal-alarm-actions { gap: 6px; }
  .wishlist-dialog .deal-alarm-actions > * { padding-inline: 8px; font-size: 12px; }
}


/* Account and administration dialogs */
.settings-dialog.deal-alarm-dialog .settings-dialog-content {
  padding: 8px 22px 18px;
}
.settings-dialog.deal-alarm-dialog .settings-section > h3 {
  color: var(--alarm-ink);
}
.settings-dialog .admin-settings-links {
  display: grid;
  gap: 5px;
  margin: 4px 0 0;
  padding: 0;
  border: 0;
}
.settings-dialog .admin-settings-links a {
  display: block;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--alarm-line);
  border-radius: 9px;
  background: var(--alarm-surface);
  color: var(--alarm-accent);
  overflow-wrap: anywhere;
}
.settings-dialog .admin-settings-group > summary:hover { background: var(--alarm-soft); }
.deal-alarm-dialog.admin-work-dialog {
  width: min(920px, calc(100% - 32px));
  max-width: 920px;
  height: min(860px, calc(100dvh - 40px));
}
.admin-work-dialog iframe { flex: 1; width: 100%; min-height: 0; border: 0; background: var(--alarm-surface); }
.admin-work-dialog .deal-alarm-actions { justify-content: flex-end; }
.admin-work-full { display: inline-flex; align-items: center; text-decoration: none; }
.admin-work-full:hover { background: var(--alarm-soft); }
.cm-admin-embedded { color-scheme: light; }
.cm-admin-embedded body {
  margin: 14px;
  background: #f3f7f5;
  color: #163027;
}
.cm-admin-embedded main > h1 { display: none; }
.cm-admin-embedded main > nav { gap: 7px; margin: 0 0 10px; }
.cm-admin-embedded .publisher,
.cm-admin-embedded form.editor { border-radius: 14px; }
.cm-admin-embedded[data-theme="dark"] { color-scheme: dark; }
.cm-admin-embedded[data-theme="dark"] body { background: #1d3028; color: #dcebe2; }
.cm-admin-embedded[data-theme="dark"] :is(section,form.editor,fieldset,select,textarea,input:not([type=checkbox]):not([type=radio]),.cm-admin-nav a) {
  border-color: #40584a;
  background: #23362e;
  color: #dcebe2;
}
.cm-admin-embedded[data-theme="dark"] .cm-admin-nav a[aria-current=page] { background: #176239; color: #fff; }
.cm-admin-embedded[data-theme="dark"] a { color: #a4dcb8; }
.cm-admin-embedded[data-theme="dark"] small { color: #afc5b8; }
.cm-admin-embedded[data-theme="dark"] .message { background: #3a3123; color: #f2dca7; }
@media(max-width:639px) {
  .settings-dialog.deal-alarm-dialog .settings-dialog-content { padding: 6px 14px 16px; }
  .deal-alarm-dialog.admin-work-dialog {
    width: 100%;
    max-width: none;
    height: calc(100dvh - env(safe-area-inset-top) - 12px);
  }
  .cm-admin-embedded body { margin: 10px; }
}
