:root{color-scheme:light;--page:#f7f6fb;--white:#fff;--ink:#211b35;--muted:#625b75;--line:#e6e1ef;--purple:#5135be;--wash:#f0ecff;--green:#146448;--green-bg:#e6f5ed;--amber:#84470d;--amber-bg:#fff2d9;--red:#9d2943;--red-bg:#fdeef1;font-family:Geist,Inter,system-ui,sans-serif;background:var(--page);color:var(--ink);font-size:16px}
*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer}a{color:var(--purple)}[hidden]{display:none!important}button:disabled{cursor:wait;opacity:.65}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #987ef2;outline-offset:3px}
.wrap{width:min(1060px,calc(100% - 64px));margin-inline:auto}.topbar{background:#fff;border-bottom:1px solid var(--line)}.bar-inner{height:72px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:block;flex-shrink:0;width:clamp(130px,26vw,167px)}.brand img{display:block;width:100%;height:auto;border-radius:8px}.profile-button,.close{background:#fff;border:1px solid var(--line);border-radius:10px;padding:9px 14px;color:var(--ink);font-weight:650}.profile-button:hover,.close:hover{background:var(--wash)}
.hero{margin:22px 0 16px;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden;padding:14px 22px;border-radius:23px;background:radial-gradient(ellipse at 92% 22%,#543a9e,transparent 61%),linear-gradient(120deg,#211641,#35236b);color:#fff}.hero-copy{position:relative;z-index:1;width:min(100%,610px)}h2,h3,p{margin:0}.compass{width:72px;height:auto;flex-shrink:0;margin-left:20px}.hero form{display:flex;background:white;border-radius:13px;padding:5px;gap:4px}.hero input{min-width:0;flex:1;border:0;background:transparent;color:var(--ink);padding:12px;border-radius:8px}.hero input::placeholder{color:#716882}.primary{border:0;background:#5e42d0;color:white;border-radius:9px;font-weight:720;padding:12px 17px;white-space:nowrap}.primary:hover{background:#4c31b5}.primary span{margin-left:4px}.examples{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.examples button{background:#ffffff12;color:#f5efff;border:1px solid #ffffff3b;padding:5px 9px;border-radius:8px;font-size:.81rem}.examples button:hover{background:#ffffff25}
.initial,.offer-card,.coupon,.corporate,.unavailable{background:white;border:1px solid var(--line);border-radius:16px}.hint,.sub,.evidence,.summary,.footer{color:var(--muted);font-size:.83rem}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{border:1px solid var(--line);border-radius:9px;padding:7px 9px;background:white;color:#4d455e;display:inline-flex;align-items:center;gap:6px;font-size:.85rem;font-weight:650}.chip:has(input:checked){background:var(--wash);color:#412993;border-color:#d9cefa}.chip:hover{border-color:#9a86da}.chip input{accent-color:var(--purple);width:16px;height:16px;margin:0}
.initial{text-align:center;padding:29px 20px 32px;border-style:dashed}.initial img{margin-bottom:9px}.initial h2{font-size:1.13rem;margin-bottom:5px}.initial p{color:var(--muted);font-size:.91rem}.notice{padding:12px 14px;border-radius:11px;background:var(--wash);color:#49308d;margin:12px 0;font-size:.91rem}
.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:27px 0 12px}.section-head h2{font-size:1.55rem;letter-spacing:-.035em}.offer-list,.coupon-list{display:grid;gap:9px}.offer-card{padding:15px 17px;display:grid;gap:8px}.provider-name{display:flex;align-items:center;gap:9px;font-size:.98rem}.value{font-size:1.28rem;font-weight:800;letter-spacing:-.035em;color:#382384}.terms{color:#4f4763;font-size:.87rem;line-height:1.45;margin:4px 0}.evidence a{color:inherit}.action{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:var(--wash);border:1px solid #ddd3fb;color:#412997;padding:8px 11px;text-decoration:none;border-radius:9px;font-weight:700;font-size:.83rem;white-space:nowrap}.action:hover{background:#e6ddff}.label{display:inline-block;border-radius:5px;background:var(--amber-bg);color:var(--amber);padding:2px 5px;font-size:.72rem;font-weight:650;margin-left:5px;letter-spacing:0;vertical-align:middle}.math{margin-top:13px;background:#f0ecfc;border-radius:12px;padding:13px 16px;color:#39246c;line-height:1.5;font-size:.89rem}.math summary{cursor:pointer;font-weight:700}.math ul{padding-left:20px;margin:7px 0}.corporate,.unavailable,.coupon{padding:14px 16px}.unavailable,.corporate{margin-top:11px}.unavailable ul{margin:8px 0 0;padding-left:20px;line-height:1.65}.corporate{display:flex;align-items:center;justify-content:space-between;gap:12px}.corporate h3,.coupon h3{font-size:1rem;margin-bottom:4px}.coupon{display:grid;gap:6px}.coupon .action{justify-self:start}.compat{display:flex;gap:5px 7px;flex-wrap:wrap;margin:3px 0}.compat span{background:var(--wash);padding:4px 7px;border-radius:7px;font-size:.77rem}.compat .yes{background:var(--green-bg);color:var(--green)}.compat .no{background:var(--red-bg);color:var(--red)}.footer{border-top:1px solid var(--line);margin-top:32px;padding:16px 0 24px;display:flex;justify-content:space-between;gap:10px}
dialog{width:min(520px,calc(100% - 26px));max-height:85vh;border:1px solid var(--line);border-radius:18px;padding:22px;color:var(--ink);box-shadow:0 18px 80px #20113e55}dialog::backdrop{background:#21163b75}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.dialog-head p{color:var(--muted);font-size:.88rem;margin:6px 0 12px}.close{padding:2px 10px;font-size:1.3rem}.fields{display:grid;grid-template-columns:1fr 1fr;gap:9px}.field{display:grid;gap:5px;font-size:.83rem;font-weight:650;margin-bottom:9px}.field input{width:100%;min-width:0;border:1px solid #d7cfe6;border-radius:8px;padding:9px;color:var(--ink)}dialog .hint{margin:9px 0 13px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:750px){.wrap{width:calc(100% - 36px)}.hero{padding:12px 16px;margin-top:14px}.compass{display:none}.hero-copy{width:100%}}
@media(max-width:420px){.wrap{width:calc(100% - 24px)}.hero{padding-inline:12px}.hero input{padding:10px 7px}.primary{padding:10px 9px;font-size:.85rem}.bar-inner{height:61px}.section-head{align-items:flex-start;flex-direction:column;gap:3px}.corporate{align-items:flex-start;flex-direction:column}.footer{flex-direction:column}}

.hero .recognition{margin:9px 0 0;color:#e3dbf6;font-size:.85rem}
.suggestions,.shortcuts{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.shortcuts{display:grid;gap:8px}
.shortcut-row{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.shortcut-row span{color:#e3dbf6;font-size:.78rem;margin-right:2px}
.suggestions button,.shortcuts button{border:1px solid #ffffff65;background:#ffffff16;color:#fff;border-radius:8px;font-size:.82rem;padding:6px 10px;min-height:36px}
.suggestions button:hover,.shortcuts button:hover{background:#ffffff2a}
.feedback{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.feedback .notice{margin-block:3px}
.result-title,.offer-head,.coupon-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.offer-head{justify-content:space-between}
.offer-details,.threshold details{border-top:1px solid var(--line);padding-top:7px;color:var(--muted);font-size:.83rem}
.offer-details summary,.threshold summary,.unavailable summary,.login-settings summary{cursor:pointer;font-weight:650}
.extra-rate{padding:7px 0;border-top:1px solid var(--line)}
.extra-rate strong{color:#382384}
.threshold{margin-top:7px;padding:7px 10px;background:var(--wash);border-radius:8px;font-size:.83rem;color:#39246c}
.threshold details{margin-top:5px}
.threshold ul{padding-left:19px;margin:5px 0}
.coupon-actions code{padding:6px 9px;border-radius:6px;background:#f0ecff;overflow-wrap:anywhere}
.provider-settings{margin:3px 0 15px;padding:10px 12px 12px;border:1px solid var(--line);border-radius:10px}
.provider-settings legend{font-size:.9rem;font-weight:700;padding-inline:5px}
.login-settings{margin:0 0 13px;font-size:.87rem}
.login-settings .fields{margin-top:9px}
@media(max-width:750px){.offer-head .action,.coupon-actions .action,.favorite{min-height:40px}}

.calculator {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.calculator summary { cursor: pointer; font-weight: 700; }
.calculator form { margin-top: 12px; }
.calculator-fields { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; margin-bottom: 6px; }
.calculator-fields .field { margin-bottom: 0; }
.calculator-fields input, .calculator-fields select {
  width: min(100%, 220px);
  min-height: 42px;
  padding: 8px;
  border: 1px solid #d7cfe6;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 1rem;
}
.calculator-fields .primary { min-height: 42px; }
.calculation-options { margin-top: 10px; }
.calculation-options summary { font-size: .84rem; color: var(--muted); }
.calculation-options .calculator-fields { margin-top: 8px; }
.text-button { margin-top: 8px; border: 0; padding: 6px 0; background: none; color: var(--purple); text-decoration: underline; }
.savings-note { margin: 0 0 10px; font-size: .84rem; color: var(--muted); }
.offer-list .corporate { margin-top: 0; }
.reference-difference{color:var(--amber);background:var(--amber-bg);border-radius:6px;padding:5px 8px;font-size:.8rem;width:fit-content}

.purchase-trigger { margin-top: 9px; }
.purchase-check .sub { margin: 5px 0 12px; }
.purchase-check > .field { max-width: 580px; }
.purchase-check > .action { margin-top: 12px; }
.purchase-offer-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 6px 12px; }
.purchase-offer > .action, .purchase-offer details > .action { justify-self: start; }
.purchase-offer details > .chip { margin-top: 5px; }
.purchase-links, .purchase-result:not([hidden]) { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.purchase-links { margin-bottom: 8px; }
.purchase-result p { flex-basis: 100%; }

/* Search and comparison hierarchy */
:root {
  --page: #f6f5f9;
  --control-line: #877b9b;
  --focus: #5135be;
}
.wrap { width: min(960px, calc(100% - 48px)); }
.hero {
  display: block;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  overflow: visible;
}
.hero-copy { width: 100%; }
.hero h1 { margin: 0 0 16px; font-size: clamp(1.3rem, 3vw, 1.75rem); letter-spacing: -.035em; }
.search-label { display: block; margin-bottom: 6px; font-weight: 680; }
.hero form { padding: 0; gap: 8px; }
.hero input { width: 100%; min-height: 46px; border: 1px solid var(--control-line); padding: 10px 12px; }
.primary { min-height: 44px; background: var(--purple); white-space: normal; }
.action { min-height: 44px; white-space: normal; text-align: center; }
.hero .recognition { color: var(--green); font-weight: 650; }
.purchase-tools { margin-top: 8px; color: var(--muted); font-size: .85rem; }
.purchase-tools summary { width: fit-content; padding-block: 12px; cursor: pointer; }
.hero .purchase-trigger { display: block; min-height: 44px; margin: 0; font-size: .9rem; font-weight: 650; }
.hero .examples, .hero .shortcuts { margin-top: 2px; }
.hero .examples button, .hero .suggestions button, .hero .shortcuts button {
  color: var(--ink);
  background: #f4f2f8;
  border: 1px solid var(--line);
  min-height: 36px;
}
.hero .examples button:hover, .hero .suggestions button:hover, .hero .shortcuts button:hover { background: var(--wash); }
.shortcut-row span { color: var(--muted); }
.field input, .field select, .calculator-fields input, .calculator-fields select { border: 1px solid var(--control-line); }
.field select { width: 100%; min-width: 0; min-height: 44px; padding: 8px; border-radius: 8px; background: var(--white); color: var(--ink); font: inherit; }
:where(button, a, input, select, summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.result-overview, .pharmacy-best {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 8px;
  min-width: 0;
}
.result-overview .section-head { margin: 0; }
.result-overview .featured-offer { margin: 0; background: #faf8ff; }
.featured-rank {
  flex: 0 0 16px;
  height: 30px;
  border-radius: 3px;
  /* Show only the yellow podium from the existing 888 × 301 logo. */
  background: url('/logo.webp?v=2') -22.8px -21.8px / 204.2px 69.2px no-repeat;
}
.featured-offer .featured-action {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}
.featured-offer .featured-action:hover { background: #412997; }
.featured-compare { justify-self: start; padding: 8px 0; font-size: .9rem; font-weight: 680; }
.result-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.result-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 10px; font-weight: 680; }
.result-group { margin-top: 14px; }
.result-group h3 { margin-bottom: 7px; font-size: .92rem; }
.result-group .offer-card h3 { margin: 0; }
.result-section-title { margin-top: 22px; font-size: 1.23rem; }
.result-section-copy { margin: 5px 0 8px; }
.footer img { align-self: flex-start; display: block; }
.result-overview .summary, .result-overview a, .pharmacy-best p { margin: 0; }
.result-overview .result-next, .pharmacy-best .action { justify-self: start; }
.result-overview .result-next { font-size: .9rem; }
#calculator { margin-top: 10px; }
#calculator:not([open]) { padding-block: 4px; }
#calculator > summary { padding-block: 10px; color: var(--purple); }
.offer-card .sub, .offer-card .terms, .offer-card .evidence { overflow-wrap: anywhere; }
.tariff-confirmation { margin: 5px 0; }
.tariff-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; margin: 5px 0; }
.tariff-actions .tariff-confirmation { margin: 0; }
.tariff-confirmation[aria-pressed="true"] { background: var(--green-bg); border-color: var(--green); color: var(--green); }
.source-details { margin-top: 12px; font-size: .86rem; }
.source-details summary { cursor: pointer; }
.status-chip {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: .8125rem;
  font-weight: 680;
}
.status-chip.ok { color: var(--green); background: var(--green-bg); }
.status-chip.caution { color: var(--amber); background: var(--amber-bg); }
#purchase-pharmacy { background: #f4f2fa; color: var(--ink); }
#purchase-pharmacy-status { margin: 8px 0; }
#purchase-pharmacy-status:empty { display: none; }
.pharmacy-best { margin-bottom: 8px; }
.pharmacy-best .primary { display: inline-flex; align-items: center; padding: 10px 14px; text-decoration: none; color: white; }
.manual-entry { margin-top: 12px; }
.manual-entry > summary { min-height: 44px; padding: 10px 0; }
.manual-entry > .action { margin-top: 10px; }
.purchase-offer-fields { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.purchase-offer, .purchase-offer details, .purchase-offer input, .purchase-offer label, .purchase-offer .action { min-width: 0; max-width: 100%; }
.purchase-offer details .chip { white-space: normal; }
.purchase-offer details .chip input { flex-shrink: 0; }
.purchase-offer details .action { margin-bottom: 4px; }
.advanced-settings { display: grid; gap: 12px; margin-top: 10px; }
.feedback .notice { color: var(--amber); background: var(--amber-bg); }
.feedback #retry { min-height: 44px; margin: 0; font-size: .85rem; }
#result-intro:not([hidden]) + .feedback { column-gap: 12px; row-gap: 0; }
#result-intro:not([hidden]) + .feedback .notice {
  padding: 4px 8px;
  font-size: .85rem;
}
.hero .recognition-caution { color: var(--amber); }
.manual-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 10px; }
.manual-actions .text-button { min-height: 44px; margin: 0; text-align: left; }
.tariff-card { gap: 4px; padding: 10px 14px; border-radius: 12px; }
.tariff-card .offer-head { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, auto) auto; gap: 6px 12px; }
.tariff-card .offer-head .value { min-width: 0; overflow-wrap: anywhere; font-size: 1.1rem; }
.tariff-card .offer-head > .offer-basis { grid-column: 1 / -1; }
.tariff-limit { display: block; margin-top: 4px; color: var(--amber); font-weight: 680; }
.excluded-tariffs { margin-top: 10px; }
.tariff-card .offer-head > .action { grid-column: 3; grid-row: 1 / span 2; justify-self: end; }
.tariff-card .offer-head:has(> .action) > .offer-basis { grid-column: 1 / 3; }
.provider-logo {
  width: 32px;
  height: 32px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  object-fit: contain;
  flex-shrink: 0;
}
.chip .provider-logo, .provider-link .provider-logo { width: 23px; height: 23px; padding: 2px; border-radius: 5px; }
.provider-logo.provider-wordmark { width: 50px; }
.chip .provider-wordmark, .provider-link .provider-wordmark { width: 40px; }
.chip input { flex-shrink: 0; }
.provider-link { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; }
.unavailable li + li { margin-top: 5px; }
.tariff-card .provider-name { min-width: 0; overflow-wrap: anywhere; }
.tariff-card .terms { margin: 3px 0; }
.tariff-card .terms:empty { display: none; }
.tariff-card .offer-details { padding-top: 5px; }
.expand-tariffs { margin-top: 8px; }
#purchase-pharmacy-offers > button { justify-self: start; }
.pharmacy-best .offer-details { width: 100%; }

@media (max-width: 600px) {
  .tariff-card .offer-head { grid-template-columns: minmax(0, 1fr) fit-content(36%); }
  .tariff-card .offer-head > .action { grid-column: 1 / -1; grid-row: auto; justify-self: start; }
  .tariff-card .offer-head:has(> .action) > .offer-basis { grid-column: 1 / -1; }
  .tariff-card .offer-head .value { text-align: right; font-size: 1rem; }
}

@media (max-width: 390px) {
  .tariff-card .offer-head:has(.featured-rank) { grid-template-columns: minmax(0, 1fr); }
  .tariff-card .offer-head:has(.featured-rank) .value { text-align: left; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 24px); }
  .hero { padding: 14px; }
  .hero h1 { margin-bottom: 10px; }
  .hero form { display: grid; grid-template-columns: minmax(0, 1fr); }
  .hero .primary, #purchase-pharmacy .primary { width: 100%; }
  .offer-card, .result-overview, .pharmacy-best { padding: 12px; }
  .result-overview .result-next { justify-self: stretch; }
  .purchase-check { padding: 12px; }
  .result-nav a { padding-inline: 5px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
}

.pilot-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 10px;
  margin-block: 12px;
}
.pilot-overview .result-overview { align-content: start; }
.pilot-overview .result-overview h3,
.pilot-overview .result-overview p { margin: 0; }

/* Search-as-you-type */
.hero {
  background: radial-gradient(ellipse at 95% 10%, #513080, transparent 65%), linear-gradient(120deg, #2e174c, #3b215f);
  color: #fff;
}
.hero .search-label { color: #ece4f8; font-size: .9rem; font-weight: 550; }
.hero form { background: transparent; align-items: start; }
.search-entry { position: relative; flex: 1; min-width: 0; }
.search-control { display: flex; align-items: center; gap: 10px; padding-inline: 14px 5px; background: #fff; border: 2px solid transparent; border-radius: 12px; }
.search-control:focus-within { border-color: #b8a0fa; box-shadow: 0 0 0 3px #ffffff24; }
.hero .search-control input { flex: 1; min-width: 0; min-height: 50px; padding: 10px 0; border: 0; border-radius: 0; background: transparent; color: var(--ink); font-size: 1rem; outline: none; }
.search-icon { position: relative; display: block; width: 16px; height: 16px; border: 2px solid #81768e; border-radius: 50%; flex-shrink: 0; margin-right: 3px; }
.search-icon::after { content: ''; position: absolute; width: 7px; height: 2px; background: #81768e; right: -6px; bottom: -3px; transform: rotate(45deg); }
.search-clear { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #756980; font-size: 1.75rem; line-height: 1; flex-shrink: 0; }
.search-clear:hover { background: var(--wash); }
.hero .primary { min-height: 54px; }
.hero .recognition { color: #eee4ff; }
.hero .recognition-caution { color: #ffedc8; }
.hero .purchase-tools { color: #e0d2f3; }
.hero .purchase-trigger { color: #fff; }
.hero .examples button, .hero .shortcuts button { color: #fff; background: #ffffff12; border-color: #ffffff3b; }
.hero .examples button:hover, .hero .shortcuts button:hover { background: #ffffff25; }
.hero .shortcut-row span { color: #ded3ed; }
.hero .suggestions {
  position: absolute;
  top: calc(100% + 4px);
  inset-inline: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: auto;
  max-height: min(320px, 45dvh);
  overscroll-behavior: contain;
  border: 1px solid #d8cfea;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px #211b3526;
  scrollbar-width: thin;
}
.hero .suggestions button {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  text-align: left;
  font-size: 1rem;
}
.hero .suggestions button:last-child { border-bottom: 0; }
.hero .suggestions button:first-child { background: #f4f0ff; }
.hero .suggestions:has([aria-selected="true"]) button:first-child[aria-selected="false"] { background: #fff; }
.hero .suggestions button:hover, .hero .suggestions button[aria-selected="true"] { background: #eee7ff; }
.shop-monogram { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: #f0ebf8; color: #493568; font-size: 1.15rem; font-weight: 650; }
.shop-suggestion-copy { display: grid; gap: 3px; min-width: 0; flex: 1; }
.shop-suggestion-name { font-size: .98rem; line-height: 1.25; overflow-wrap: anywhere; }
.shop-suggestion-domain { color: #70667e; font-size: .81rem; line-height: 1.25; overflow-wrap: anywhere; }
.shop-suggestion-arrow { font-size: 1.7rem; line-height: 1; color: #8a7d9b; }
.search-match { color: var(--purple); background: transparent; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 600px) {
  .hero:has(.suggestions:not([hidden])) #submit,
  .hero:has(.suggestions:not([hidden])) .examples,
  .hero:has(.suggestions:not([hidden])) .shortcuts,
  .hero:has(.suggestions:not([hidden])) .purchase-tools { display: none; }
  .hero .suggestions button { padding: 10px 12px; }
}

.hero .suggestions.suggestions-above { top: auto; bottom: calc(100% + 4px); }


.shop-suggestion-rate { display: grid; gap: 3px; flex: 0 0 auto; max-width: 128px; text-align: right; }
.shop-suggestion-cashback { display: grid; gap: 2px; color: var(--purple); font-size: .88rem; line-height: 1.25; }
.shop-suggestion-rate-meta { color: var(--muted); font-size: .67rem; line-height: 1.25; }
.preview-open .shop-suggestion-cashback { color: var(--muted); font-size: .78rem; font-weight: 550; }
.preview-note { position: sticky; bottom: 0; flex: 0 0 auto; padding: 8px 10px; border-top: 1px solid var(--line); color: var(--muted); background: #fff; font-size: .66rem; line-height: 1.4; text-align: center; }
@media (max-width: 420px) {
  .shop-suggestion-rate { max-width: 96px; }
  .hero .suggestions button { gap: 9px; }
  .shop-suggestion-cashback { font-size: .82rem; }
  .shop-monogram { display: none; }
}

.reports-dialog{width:min(920px,94vw);max-height:90dvh;border:1px solid #ddd;border-radius:18px;padding:24px;color:#252035}.reports-dialog::backdrop{background:#20103299}.reports-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.report-card{border-bottom:1px solid #ddd;padding:14px 0}.report-card summary{cursor:pointer;font-weight:650}.report-card input,.report-card select,#shop-report input{max-width:100%;padding:10px;margin:5px;border:1px solid #bbb;border-radius:8px}.report-card select{display:block}.reports-dialog button,#shop-report button{margin:5px}

.mail-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:.85rem;line-height:1.5}

.stats-consent{position:fixed;bottom:12px;left:12px;right:12px;max-width:720px;margin:auto;z-index:90;background:#fff;color:#252035;border:1px solid #ccc;border-radius:14px;padding:18px;box-shadow:0 8px 40px #20103240;max-height:75dvh;overflow:auto}.stats-consent h2{margin:0 0 8px}.stats-consent p{font-size:.85rem;line-height:1.5}.stats-consent button{margin:4px}.stats-table{border-collapse:collapse;font-size:.8rem;width:100%;margin:12px 0}.stats-table th,.stats-table td{text-align:left;padding:8px;border-bottom:1px solid #ddd;overflow-wrap:anywhere}.stats-table th{background:#f5f1fc}#stats-content{overflow-x:auto}#stats-content input{padding:8px;margin:4px}
