.stem-favorite-alerts-intro { margin: -20px 0 30px; max-width: 760px; color: #5c6b74; font-size: 12px; line-height: 1.9; }
.stem-favorite-alerts-intro p { margin: 0; }
.stem-favorite-alerts { margin-top: 13px; border-top: 1px solid #d6dfe4; color: var(--stem-ink, #203746); font-size: 12px; line-height: 1.65; }
.stem-favorite-alerts summary { min-height: 44px; padding: 12px 1px; cursor: pointer; font-weight: 500; }
.stem-favorite-alerts summary::marker { color: #56758a; font-size: 10px; }
.stem-favorite-alerts-title { font-weight: 600; }
.stem-favorite-alerts-summary { display: block; padding-left: 14px; margin-top: 3px; color: var(--stem-slate, #566c7b); font-size: 11px; font-weight: 400; }
.stem-favorite-alerts form { margin: 0; padding: 0 0 12px; }
.stem-favorite-alerts fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.stem-favorite-alerts-legend { margin: 0 0 8px; padding: 0; color: var(--stem-slate, #566c7b); font-size: 11px; }
.stem-favorite-alerts-sale { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 12px; background: var(--stem-canvas, #f3f5f6); cursor: pointer; }
.stem-favorite-alerts-sale > span { min-width: 0; }
.stem-favorite-alerts-sale strong, .stem-favorite-alerts-sale span span { display: block; }
.stem-favorite-alerts-sale strong { font-size: 12px; font-weight: 600; }
.stem-favorite-alerts-sale span span { margin-top: 2px; font-size: 11px; }
.stem-site .stem-favorite-alerts-help { margin: 7px 0 10px; color: var(--stem-slate, #566c7b); font-size: 11px; line-height: 1.75; }
.stem-site .stem-favorite-alerts-subheading { margin: 20px 0 0; font-size: 12px; font-weight: 600; }
.stem-favorite-alerts-stock { display: block; margin-top: 2px; color: var(--stem-slate, #566c7b); font-size: 10px; }
.stem-favorite-alerts-scroll { max-height: 292px; overflow: auto; overscroll-behavior: contain; border-bottom: 1px solid #e4e9ec; }
.stem-site .stem-favorite-alerts table { width: 100%; margin: 0; border: 0; border-collapse: collapse; table-layout: fixed; font-size: 12px; }
.stem-site .stem-favorite-alerts th, .stem-site .stem-favorite-alerts td { padding: 0; border: 0; border-top: 1px solid #e4e9ec; background: #fff; vertical-align: middle; text-align: center; font-weight: 400; }
.stem-site .stem-favorite-alerts th:first-child { width: auto; padding: 8px 6px 8px 2px; text-align: left; overflow-wrap: anywhere; }
.stem-site .stem-favorite-alerts th:not(:first-child), .stem-site .stem-favorite-alerts td { width: 46px; }
.stem-site .stem-favorite-alerts thead th { position: sticky; top: 0; z-index: 1; padding: 7px 0; background: #f1f5f7; font-size: 11px; }
.stem-favorite-alerts-check { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; cursor: pointer; }
.stem-site .stem-favorite-alerts input[type="checkbox"] { appearance: auto; flex-shrink: 0; width: 17px; height: 17px; min-height: 0; margin: 0; accent-color: #315c75; cursor: pointer; }
.stem-site .stem-favorite-alerts-save, .stem-site .stem-favorite-alerts-retry, .stem-site .stem-favorite-alerts-add, .stem-site .stem-favorite-alerts-login { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 44px; margin: 12px 0 0; padding: 8px 10px; border: 1px solid #56758a; border-radius: 0; background: #fff; color: #203746; font: inherit; font-size: 12px; line-height: 1.6; white-space: normal; cursor: pointer; }
.stem-site .stem-favorite-alerts-save { width: 100%; }
.stem-site .stem-favorite-alerts-save:hover, .stem-site .stem-favorite-alerts-add:hover, .stem-site .stem-favorite-alerts-login:hover, .stem-site .stem-favorite-alerts-retry:hover { background: var(--stem-canvas, #f3f5f6); color: var(--stem-ink, #24333d); }
.stem-favorite-alerts-result { min-height: 0; margin: 8px 0 0; font-size: 11px; line-height: 1.7; overflow-wrap: anywhere; }
.stem-favorite-alerts-result:empty { display: none; }
.stem-favorite-alerts fieldset:disabled, .stem-favorite-alerts-save:disabled, .stem-favorite-alerts-add:disabled, .stem-favorite-alerts-retry:disabled { opacity: .6; cursor: wait; }
.stem-favorite-alerts :focus-visible, .stem-favorite-alerts-retry:focus-visible, .stem-favorite-alerts-add:focus-visible, .stem-favorite-alerts-login:focus-visible { outline: 2px solid #315c75; outline-offset: 2px; }
@media (max-width: 600px) {
  .stem-favorite-alerts-intro { margin-top: -10px; margin-bottom: 24px; font-size: 11px; }
  /* A member's SKU table needs the full mobile width. The public/guest grid
     retains its existing layout while no notification settings are shown. */
  .stem-favorites-list:has([data-stem-favorite-alerts-product]:not([hidden])) { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .stem-favorites-list:has([data-stem-favorite-alerts-product]:not([hidden])) .stem-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: start; }
  .stem-favorites-list:has([data-stem-favorite-alerts-product]:not([hidden])) .stem-card-info { min-width: 0; padding-top: 4px; }
  .stem-favorites-list:has([data-stem-favorite-alerts-product]:not([hidden])) .stem-card h3 { font-size: 13px; line-height: 1.75; }
  .stem-favorites-list:has([data-stem-favorite-alerts-product]:not([hidden])) .stem-card-code { font-size: 10px; }
  .stem-favorites-list:has([data-stem-favorite-alerts-product]:not([hidden])) .stem-card-price { font-size: 13px; }
  .stem-site .stem-favorites-list:has([data-stem-favorite-alerts-product]:not([hidden])) .stem-card .stem-favorite-button { top: 5px; right: auto; left: 61px; }
  .stem-site .stem-favorite-alerts table { font-size: 12px; }
  .stem-site .stem-favorite-alerts th:not(:first-child), .stem-site .stem-favorite-alerts td { width: 52px; }
  .stem-site .stem-favorite-alerts-save { font-size: 12px; }
}
