/* RevealEmail lookup, report, and checkout components.
   Tokens sit in :where(:root) so the theme's own :root always wins, while the
   components still render under any other theme. */

:where(:root) {
  --re-ink: #0c2340;
  --re-ink-2: #243b5a;
  --re-muted: #56657a;
  --re-line: #d9dee8;
  --re-line-soft: #e8ebf1;
  --re-envelope: #edf1f6;
  --re-letter: #ffffff;
  --re-blue: #0b5fb0;
  --re-blue-deep: #064a8e;
  --re-blue-wash: #e6f0fb;
  --re-red: #e0413f;
  --re-green: #1f8a5b;
  --re-green-wash: #e3f4ec;
  --re-amber: #a86300;
  --re-amber-wash: #fff1db;
  --re-bad: #c22f2d;
  --re-bad-wash: #fde8e7;
  --re-font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --re-radius-sm: 8px;
  --re-radius: 12px;
  --re-radius-lg: 18px;
  --re-stripe: repeating-linear-gradient(135deg, var(--re-blue) 0 14px, var(--re-letter) 14px 22px, var(--re-red) 22px 36px, var(--re-letter) 36px 44px);
  --re-paper-shadow: 0 1px 0 rgba(12, 35, 64, 0.04), 0 2px 4px rgba(12, 35, 64, 0.04), 0 28px 56px -28px rgba(12, 35, 64, 0.28);
}

.re-lookup,
.re-results,
.re-scan,
.re-pricing,
.re-thankyou {
  font-family: var(--re-font);
  color: var(--re-ink);
  -webkit-font-smoothing: antialiased;
}

.re-lookup *,
.re-results *,
.re-scan *,
.re-pricing * {
  box-sizing: border-box;
}

/* Component display rules below would otherwise beat the hidden attribute. */
.re-lookup [hidden],
.re-results [hidden],
.re-scan [hidden],
.re-pricing [hidden] {
  display: none !important;
}

/* ── Buttons (the theme restyles these; this is the standalone fallback) ── */

:where(.re-btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: var(--re-radius-sm);
  font: 700 15px/1 var(--re-font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
:where(.re-btn svg) { width: 18px; height: 18px; }
:where(.re-btn--primary) { background: var(--re-blue); color: #fff; }
:where(.re-btn--primary:hover) { background: var(--re-blue-deep); color: #fff; }
:where(.re-btn--secondary) { background: var(--re-letter); color: var(--re-ink); border-color: var(--re-line); }
:where(.re-btn--secondary:hover) { border-color: var(--re-ink); }
:where(.re-btn:disabled) { opacity: 0.6; cursor: progress; }
:where(.re-btn:focus-visible) { outline: 3px solid var(--re-blue); outline-offset: 2px; }

.re-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--re-blue);
  font: 600 14px/1.3 var(--re-font);
  cursor: pointer;
}
.re-link-btn svg { width: 17px; height: 17px; }
.re-link-btn:hover { color: var(--re-blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.re-link-btn:focus-visible { outline: 2px solid var(--re-blue); outline-offset: 2px; border-radius: 4px; }

/* ── Lookup form: a letter with an airmail edge ──────────────────────────── */

.re-lookup {
  position: relative;
  background: var(--re-letter);
  border-radius: 6px;
  box-shadow: var(--re-paper-shadow);
  overflow: hidden;
}
.re-lookup::before {
  content: "";
  display: block;
  height: 8px;
  background: var(--re-stripe);
}
.re-lookup__inner { padding: 26px 28px 24px; }

.re-lookup__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.re-lookup__title {
  margin: 0;
  font: 800 21px/1.2 var(--re-font);
  letter-spacing: -0.02em;
  color: var(--re-ink);
}
.re-lookup__free {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--re-green-wash);
  color: var(--re-green);
  font: 700 13px/1.2 var(--re-font);
}

.re-label {
  display: block;
  margin: 0 0 8px;
  font: 600 14px/1.3 var(--re-font);
  color: var(--re-ink-2);
}

.re-field {
  position: relative;
  background: var(--re-letter);
  border-radius: var(--re-radius-sm);
}
.re-field__icon {
  position: absolute;
  left: 15px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  color: var(--re-muted);
  pointer-events: none;
  z-index: 2;
}
.re-lookup-input,
.re-input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1.5px solid var(--re-line);
  border-radius: var(--re-radius-sm);
  background: var(--re-letter);
  color: var(--re-ink);
  font: 500 17px/1.2 var(--re-font);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, border-radius 0.12s ease;
}
.re-lookup-input { padding-left: 46px; background: transparent; position: relative; z-index: 1; }
.re-lookup-input::placeholder,
.re-input::placeholder { color: #9aa0b1; }
.re-lookup-input:focus,
.re-input:focus {
  outline: none;
  border-color: var(--re-blue);
  box-shadow: 0 0 0 4px var(--re-blue-wash);
}

.re-suggest-field { position: relative; }
.re-field__ghost {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 16px 0 46px;
  font: 500 17px/1.2 var(--re-font);
  color: #b4bbca;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  z-index: 0;
}
.re-field__ghost-typed { color: transparent; }
.re-suggest {
  margin: -1.5px 0 0;
  padding: 6px;
  list-style: none;
  border: 1.5px solid var(--re-blue);
  border-top-color: var(--re-line-soft);
  border-radius: 0 0 var(--re-radius-sm) var(--re-radius-sm);
  background: var(--re-letter);
  box-shadow: 0 14px 28px -16px rgba(12, 35, 64, 0.35);
}
.re-suggest-field.is-open {
  border-radius: var(--re-radius-sm);
  box-shadow: 0 0 0 4px var(--re-blue-wash);
}
.re-suggest-field.is-open .re-lookup-input {
  border-color: var(--re-blue);
  border-bottom-color: var(--re-line-soft);
  border-radius: var(--re-radius-sm) var(--re-radius-sm) 0 0;
  box-shadow: none;
}
.re-suggest__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--re-ink);
  font: 500 16px/1.2 var(--re-font);
  cursor: pointer;
}
.re-suggest__item:hover,
.re-suggest__item.is-on {
  background: var(--re-blue-wash);
  color: var(--re-blue-deep);
}
.re-suggest__email { min-width: 0; overflow-wrap: anywhere; }
.re-suggest__typed { color: var(--re-ink); }
.re-suggest__rest { color: var(--re-blue); font-weight: 700; }
.re-suggest__prov {
  flex: none;
  color: var(--re-muted);
  font: 600 12px/1 var(--re-font);
  letter-spacing: 0.02em;
}
.re-suggest__item.is-on .re-suggest__prov,
.re-suggest__item:hover .re-suggest__prov { color: var(--re-blue); }
.re-coupon-input { letter-spacing: 0.08em; font-size: 15px; min-height: 46px; }

.re-coupon-toggle-row { margin: 10px 0 0; }
.re-coupon-panel { margin-top: 12px; }
.re-coupon-connected {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px dashed var(--re-blue);
  border-radius: var(--re-radius-sm);
  background: var(--re-blue-wash);
  font-size: 14px;
  color: var(--re-ink-2);
}
.re-coupon-connected > svg { width: 18px; height: 18px; color: var(--re-blue); flex: none; }
.re-coupon-connected__text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.re-coupon-connected__code { letter-spacing: 0.06em; color: var(--re-blue-deep); }

.re-submit { width: 100%; margin-top: 18px; min-height: 54px; font-size: 16px; }

.re-lookup__foot {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--re-muted);
}
.re-lookup__foot svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }

.re-lookup-error {
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: var(--re-radius-sm);
  background: var(--re-bad-wash);
  color: var(--re-bad);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

/* ── Scanner overlay ─────────────────────────────────────────────────────── */

.re-scan {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(12, 35, 64, 0.72);
  backdrop-filter: blur(6px);
  animation: re-fade 0.2s ease;
}
.re-scan__card {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 30px 26px 24px;
  border-radius: 6px;
  background: var(--re-letter);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5);
  text-align: center;
}
.re-scan__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: var(--re-stripe);
}
.re-scan__envelope {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--re-blue-wash);
  color: var(--re-blue);
  animation: re-bob 1.6s ease-in-out infinite;
}
.re-scan__envelope svg { width: 30px; height: 30px; }
.re-scan__envelope img { display: block; width: 44px; height: 44px; object-fit: contain; }
.re-scan__query {
  margin: 14px 0 2px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.re-scan__stage { margin: 0 0 16px; color: var(--re-muted); font-size: 14px; }
.re-scan__track { height: 6px; border-radius: 99px; background: var(--re-line-soft); overflow: hidden; }
.re-scan__fill { width: 0; height: 100%; background: var(--re-blue); transition: width 0.12s linear; }

.re-scan__sources { margin-top: 18px; text-align: left; }
.re-scan__sources-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--re-muted);
}
.re-scan__grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; }
.re-scan__src {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--re-line-soft);
}
.re-scan__src img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.3;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.re-scan__src.is-active img { opacity: 0.6; }
.re-scan__src.is-hit img { filter: none; opacity: 1; }

.re-scan__steps {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 14px;
  color: #9aa0b1;
}
.re-scan__steps li { position: relative; padding: 5px 0 5px 24px; }
.re-scan__steps li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border: 2px solid currentColor;
  border-radius: 50%;
}
.re-scan__steps li.is-on { color: var(--re-ink); font-weight: 600; }
.re-scan__steps li.is-on::before { border-color: var(--re-blue); background: var(--re-blue-wash); }
.re-scan__steps li.is-done { color: var(--re-green); }
.re-scan__steps li.is-done::before { border-color: var(--re-green); background: var(--re-green); }

@keyframes re-fade { from { opacity: 0; } }
@keyframes re-bob { 50% { transform: translateY(-4px); } }

/* ── Results ─────────────────────────────────────────────────────────────── */

.re-results__loading,
.re-results__error {
  padding: 40px 24px;
  border-radius: var(--re-radius);
  background: var(--re-letter);
  text-align: center;
  color: var(--re-muted);
}
.re-results__error { color: var(--re-bad); font-weight: 600; }

.re-report-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 980px) {
  .re-report-layout { grid-template-columns: minmax(0, 1fr) 350px; }
  .re-report-layout__side { position: sticky; top: 96px; }
}
.re-results__narrow { max-width: 820px; margin: 0 auto; }

.re-report {
  position: relative;
  padding: 30px 30px 22px;
  border-radius: 6px;
  background: var(--re-letter);
  box-shadow: var(--re-paper-shadow);
  overflow: hidden;
}
.re-report::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--re-stripe);
}
.re-report--flat { box-shadow: none; border: 1px solid var(--re-line); }
.re-report--flat::before { display: none; }

.re-report__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.re-report__id { min-width: 0; }
.re-report__kind { margin: 0 0 6px; font-size: 14px; font-weight: 600; color: var(--re-muted); }
.re-report__email {
  margin: 0;
  font: 800 clamp(22px, 3.4vw, 30px)/1.12 var(--re-font);
  letter-spacing: -0.025em;
  color: var(--re-ink);
  overflow-wrap: break-word;
}
.re-report__sub { margin: 8px 0 0; font-size: 14px; color: var(--re-muted); }
.re-report__summary {
  margin: 22px 0 6px;
  padding-left: 14px;
  border-left: 3px solid var(--re-blue);
  font-size: 17px;
  line-height: 1.5;
  color: var(--re-ink-2);
}
.re-report--flat .re-report__summary { margin-top: 0; }
.re-report__foot {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--re-line);
  font-size: 13px;
  line-height: 1.45;
  color: var(--re-muted);
}
.re-report__foot svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }

/* The postmark: the verdict, franked. */
.re-postmark {
  --tone: var(--re-green);
  position: relative;
  flex: none;
  width: 128px;
  height: 128px;
  margin-right: 58px;
  color: var(--tone);
  transform: rotate(-9deg);
}
.re-postmark--warn { --tone: var(--re-amber); }
.re-postmark--bad { --tone: var(--re-bad); }
.re-postmark--premium { --tone: var(--re-blue); }
.re-postmark__ring {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 3px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--re-letter), inset 0 0 0 5.5px currentColor;
  text-align: center;
}
.re-postmark__top,
.re-postmark__date {
  max-width: 88px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}
.re-postmark__word {
  margin: 5px 0;
  padding: 4px 0;
  border-block: 1.5px solid currentColor;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.re-postmark__waves {
  position: absolute;
  left: calc(100% - 14px);
  top: 36px;
  width: 72px;
  height: 56px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}
@media (max-width: 560px) {
  .re-report { padding: 26px 18px 18px; }
  .re-report__top { flex-direction: column-reverse; align-items: flex-start; }
  .re-postmark { width: 112px; height: 112px; margin: 0 0 0 4px; }
  .re-postmark__waves { display: none; }
}

.re-facts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  column-gap: 28px;
  margin: 18px 0 0;
}
.re-fact { padding: 13px 0; border-bottom: 1px solid var(--re-line-soft); margin: 0; }
.re-fact__k {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--re-muted);
}
.re-fact__k svg { width: 16px; height: 16px; flex: none; }
.re-fact__v {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--re-ink);
  overflow-wrap: anywhere;
}
.re-fact__v.is-empty { font-weight: 500; color: #9aa0b1; }
.re-fact--bad .re-fact__v { color: var(--re-bad); }
.re-fact--warn .re-fact__v { color: var(--re-amber); }

.re-identity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 14px;
  border-radius: var(--re-radius);
  background: var(--re-envelope);
}
.re-identity__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.re-identity__label { margin: 0; font-size: 13px; color: var(--re-muted); }
.re-identity__name { margin: 2px 0 0; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }

/* Locked teaser */
.re-locked {
  position: relative;
  margin-top: 22px;
  border: 1.5px dashed #b7bfd0;
  border-radius: var(--re-radius-lg);
  background: var(--re-letter);
  overflow: hidden;
}
/* The blurred rows sit behind the copy and the copy sets the height, so a
   long translation or a narrow screen can never clip the button. */
.re-locked__preview { position: absolute; inset: 0; padding: 22px; filter: blur(3px); opacity: 0.55; overflow: hidden; }
.re-locked__row { display: flex; align-items: center; gap: 14px; padding: 12px 0; }
.re-locked__avatar { width: 44px; height: 44px; border-radius: 50%; background: #cfd5e3; flex: none; }
.re-locked__bars { flex: 1; }
.re-locked__bar { height: 10px; border-radius: 99px; background: #d9dee8; }
.re-locked__bar + .re-locked__bar { width: 60%; margin-top: 8px; }
.re-locked__chip { width: 76px; height: 24px; border-radius: 99px; background: var(--re-blue-wash); }
.re-locked__veil {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.95) 45%);
  text-align: center;
}
.re-locked__badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--re-ink);
  color: #fff;
}
.re-locked__badge svg { width: 22px; height: 22px; }
.re-locked__title { margin: 0 0 6px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.re-locked__text { max-width: 46ch; margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: var(--re-ink-2); }
.re-locked__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}
.re-locked__list li { display: flex; align-items: center; gap: 6px; }
.re-locked__list svg { width: 16px; height: 16px; color: var(--re-blue); }

/* Credit packs */
.re-packages { border-radius: var(--re-radius-lg); transition: box-shadow 0.3s ease; }
.re-packages.is-flash { box-shadow: 0 0 0 4px var(--re-blue-wash), 0 0 0 6px var(--re-blue); }
.re-packages__intro h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.re-packages__intro p { margin: 0 0 16px; font-size: 15px; line-height: 1.5; color: var(--re-muted); }
.re-packages__grid { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .re-packages:not(.is-stacked) .re-packages__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; }
}
.re-pack {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1.5px solid var(--re-line);
  border-radius: var(--re-radius-lg);
  background: var(--re-letter);
}
.re-pack.is-featured { border: 2px solid var(--re-blue); }
.re-pack__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.re-pack__name { margin: 0; font-size: 17px; font-weight: 700; }
.re-pack__flag {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--re-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.re-pack__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 2px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.re-pack__once { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--re-muted); }
.re-pack__meta { margin: 0 0 14px; font-size: 14px; color: var(--re-muted); }
.re-pack ul { flex: 1; margin: 0 0 18px; padding: 0; list-style: none; }
.re-pack li { display: flex; gap: 8px; padding: 5px 0; font-size: 15px; line-height: 1.4; }
.re-pack li svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--re-green); }
.re-pack .re-btn { width: 100%; }
.re-packages__fine {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--re-muted);
}
.re-packages__fine svg { width: 16px; height: 16px; }

/* Source breakdown */
.re-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 36px 0 14px;
}
.re-section-head h3 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.re-section-head__count { font-size: 14px; font-weight: 600; color: var(--re-muted); }

.re-modules { display: grid; gap: 10px; }
.re-module {
  border: 1px solid var(--re-line);
  border-radius: var(--re-radius);
  background: var(--re-letter);
}
.re-module:not(.is-found) { background: transparent; border-style: dashed; }
.re-module__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  font-size: 15px;
}
.re-module:not(.is-found) .re-module__head strong { font-weight: 600; color: var(--re-muted); }
.re-badge { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; flex: none; }
.re-badge--ok { background: var(--re-green-wash); color: var(--re-green); }
.re-badge--no { background: var(--re-line-soft); color: var(--re-muted); }
.re-module__body {
  display: flex;
  gap: 16px;
  padding: 0 16px 16px;
  border-top: 1px solid var(--re-line-soft);
  padding-top: 14px;
}
.re-module__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.re-module__body dl {
  display: grid;
  grid-template-columns: minmax(90px, max-content) 1fr;
  gap: 6px 16px;
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 14px;
}
.re-module__body dt { color: var(--re-muted); }
.re-module__body dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.re-module__body a { color: var(--re-blue); }
.re-module__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.re-module__tag { padding: 2px 8px; border-radius: 6px; background: var(--re-envelope); font-size: 12px; }
@media (max-width: 560px) {
  .re-module__body { flex-direction: column; }
  .re-module__body dl { grid-template-columns: 1fr; gap: 2px; }
  .re-module__body dd { margin-bottom: 8px; }
}

.re-results__again { margin: 30px 0 0; text-align: center; }
.re-results__again a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--re-blue);
  font-weight: 700;
  text-decoration: none;
}
.re-results__again a:hover { text-decoration: underline; text-underline-offset: 3px; }
.re-results__again svg { width: 18px; height: 18px; }

.re-empty {
  max-width: 560px;
  margin: 0 auto;
  padding: 40px 28px;
  border-radius: 6px;
  background: var(--re-letter);
  box-shadow: var(--re-paper-shadow);
  text-align: center;
}
.re-empty h2 { margin: 0 0 8px; font-size: 24px; letter-spacing: -0.02em; }
.re-empty p { color: var(--re-muted); }

/* Order received */
.re-thankyou {
  margin: 0 0 28px;
  padding: 28px;
  border-radius: 6px;
  background: var(--re-letter);
  box-shadow: var(--re-paper-shadow);
  position: relative;
  overflow: hidden;
}
.re-thankyou::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: var(--re-stripe);
}
.re-thankyou h2 { margin: 4px 0 6px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.re-thankyou p { margin: 0 0 12px; color: var(--re-ink-2); }
.re-thankyou__code { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.re-thankyou__code code {
  padding: 8px 14px;
  border: 1px dashed var(--re-blue);
  border-radius: var(--re-radius-sm);
  background: var(--re-blue-wash);
  color: var(--re-blue-deep);
  font: 700 18px/1 var(--re-font);
  letter-spacing: 0.1em;
}
.re-thankyou__note { font-size: 14px; color: var(--re-muted) !important; }

@media (prefers-reduced-motion: reduce) {
  .re-scan,
  .re-scan__envelope { animation: none; }
  .re-scan__fill,
  .re-scan__src img,
  .re-packages { transition: none; }
}
