/* Dr Healthy browser-compatible customer experience. Local assets only. */

:root {
  --dh-forest: #3a2a1d;
  --dh-green: #503c27;
  --dh-green-2: #6a4a31;
  --dh-lime: #c9743b;
  --dh-lime-soft: #f6e2d3;
  --dh-cream: #f3e5d6;
  --dh-surface: #fffbf7;
  --dh-ink: #3a2a1d;
  --dh-muted: #766a60;
  --dh-line: #ddccba;
  --dh-mint: #ede0d0;
  --dh-warn: #b65f2d;
  --dh-warn-bg: #f9e9d7;
  --dh-danger: #ac5145;
  --dh-danger-bg: #fce8e5;
  --dh-shadow: 0 18px 46px rgba(80, 60, 39, 0.11);
  --dh-shadow-soft: 0 8px 25px rgba(80, 60, 39, 0.07);
  --dh-radius: 20px;
  --dh-page: 1180px;
}

/* The fallback stores the selected theme locally and resolves System at runtime. */
html.dh-theme-resolved-dark {
  color-scheme: dark;
  --dh-forest: #f3e5d6;
  --dh-green: #ede0d0;
  --dh-green-2: #e4c8b0;
  --dh-lime: #c9743b;
  --dh-lime-soft: #4d2d1b;
  --dh-cream: #17100b;
  --dh-surface: #21170f;
  --dh-ink: #f3e5d6;
  --dh-muted: #d0bfb0;
  --dh-line: #503a2b;
  --dh-mint: #38291e;
  --dh-warn: #e8a06d;
  --dh-warn-bg: #4d2d1b;
  --dh-danger: #f1a59b;
  --dh-danger-bg: #4d2826;
  --dh-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
  --dh-shadow-soft: 0 8px 25px rgba(0, 0, 0, 0.25);
}

html.fallback-active,
html.fallback-active body {
  min-height: 100%;
  margin: 0;
  background: var(--dh-cream);
}

html.fallback-active #app-launcher,
html.fallback-active #source-file-warning {
  display: none !important;
}

#compatibility-app {
  display: none;
}

html.fallback-active #compatibility-app {
  display: block;
  position: fixed;
  z-index: 2147483647;
  inset: 0;
  min-height: 100dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}

#compatibility-app,
#compatibility-app * {
  box-sizing: border-box;
}

#compatibility-app .dh-auth,
#compatibility-app .dh-app {
  min-height: 100vh;
  color: var(--dh-ink);
  background:
    radial-gradient(circle at 100% 0, rgba(201, 116, 59, 0.15), transparent 27rem),
    var(--dh-cream);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  direction: inherit;
  text-align: start;
}

#compatibility-app button,
#compatibility-app input {
  font: inherit;
}

#compatibility-app button {
  -webkit-tap-highlight-color: transparent;
}

#compatibility-app button:focus-visible,
#compatibility-app a:focus-visible,
#compatibility-app input:focus-visible {
  outline: 3px solid rgba(201, 116, 59, 0.8);
  outline-offset: 3px;
}

#compatibility-app button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

#compatibility-app .dh-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#compatibility-app .dh-icon {
  display: inline-grid;
  width: 1.1em;
  height: 1.1em;
  place-items: center;
  font-style: normal;
  line-height: 1;
}

/* Shared buttons and marks */
#compatibility-app .dh-primary-button,
#compatibility-app .dh-outline-button,
#compatibility-app .dh-ghost-button,
#compatibility-app .dh-social-button,
#compatibility-app .dh-lime-button,
#compatibility-app .dh-link-light,
#compatibility-app .dh-text-button,
#compatibility-app .dh-back-button {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease, background 160ms ease, border-color 160ms ease;
}

#compatibility-app .dh-primary-button:hover:not(:disabled),
#compatibility-app .dh-outline-button:hover:not(:disabled),
#compatibility-app .dh-ghost-button:hover:not(:disabled),
#compatibility-app .dh-social-button:hover:not(:disabled),
#compatibility-app .dh-lime-button:hover:not(:disabled) {
  transform: translateY(-2px);
}

#compatibility-app .dh-primary-button {
  color: var(--dh-forest);
  background: var(--dh-lime);
  box-shadow: 0 10px 25px rgba(201, 116, 59, 0.26);
}

#compatibility-app .dh-primary-button:hover:not(:disabled),
#compatibility-app .dh-lime-button:hover:not(:disabled) {
  background: #d9844c;
  box-shadow: 0 13px 29px rgba(201, 116, 59, 0.36);
}

#compatibility-app .dh-outline-button {
  border-color: var(--dh-line);
  color: var(--dh-green);
  background: var(--dh-surface);
}

#compatibility-app .dh-outline-button:hover:not(:disabled) {
  border-color: var(--dh-green);
  background: var(--dh-mint);
}

#compatibility-app .dh-ghost-button {
  border-color: var(--dh-line);
  color: var(--dh-green);
  background: var(--dh-surface);
}

#compatibility-app .dh-ghost-button:hover:not(:disabled) {
  background: var(--dh-mint);
  border-color: var(--dh-green);
}

#compatibility-app .dh-social-button {
  width: 100%;
  border-color: var(--dh-line);
  color: var(--dh-ink);
  background: var(--dh-surface);
}

#compatibility-app .dh-social-stack {
  display: grid;
  gap: 9px;
}

#compatibility-app .dh-google-social-button {
  border-color: #747775;
  color: #1f1f1f;
  background: #fff;
}

#compatibility-app .dh-apple-social-button {
  border-color: #000;
  color: #fff;
  background: #000;
}

#compatibility-app .dh-lime-button {
  color: var(--dh-forest);
  background: var(--dh-lime);
  box-shadow: 0 10px 23px rgba(0, 0, 0, 0.16);
}

#compatibility-app .dh-link-light {
  min-height: auto;
  padding: 7px 1px;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  text-align: right;
}

#compatibility-app .dh-link-light span {
  color: var(--dh-lime);
}

#compatibility-app .dh-text-button {
  min-height: auto;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  color: var(--dh-green);
  background: transparent;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

#compatibility-app .dh-back-button {
  min-height: 31px;
  padding: 4px 0;
  border: 0;
  color: var(--dh-green);
  background: transparent;
}

#compatibility-app .dh-full {
  width: 100%;
}

#compatibility-app .dh-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: inherit;
  text-decoration: none;
}

#compatibility-app .dh-brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 14px rgba(80, 60, 39, 0.20);
}

#compatibility-app .dh-brand-copy {
  display: grid;
  gap: 0;
}

#compatibility-app .dh-brand-copy strong {
  color: var(--dh-forest);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.1;
}

#compatibility-app .dh-brand-copy small {
  color: var(--dh-muted);
  font-size: 0.65rem;
  font-weight: 700;
}

#compatibility-app .dh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  color: var(--dh-green-2);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.012em;
}

#compatibility-app .dh-eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dh-lime);
  box-shadow: 0 0 0 5px rgba(201, 116, 59, 0.23);
  content: "";
}

#compatibility-app .dh-light-eyebrow {
  color: var(--dh-lime);
}

#compatibility-app .dh-light-eyebrow::before {
  box-shadow: 0 0 0 5px rgba(201, 116, 59, 0.14);
}

/* Authentication */
#compatibility-app .dh-auth {
  display: grid;
  min-height: 100vh;
  background: var(--dh-cream);
}

#compatibility-app .dh-auth-copy {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  overflow: hidden;
  padding: 24px clamp(20px, 7vw, 68px) 25px;
  color: #fff;
  background:
    radial-gradient(circle at 13% 100%, rgba(201, 116, 59, 0.22), transparent 15rem),
    radial-gradient(circle at 95% 0, rgba(201, 116, 59, 0.19), transparent 20rem),
    linear-gradient(145deg, var(--dh-forest), var(--dh-green));
}

#compatibility-app .dh-auth-copy::before,
#compatibility-app .dh-auth-copy::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

#compatibility-app .dh-auth-copy::before {
  bottom: -19rem;
  left: -15rem;
  width: 42rem;
  height: 42rem;
}

#compatibility-app .dh-auth-copy::after {
  top: -18rem;
  right: -13rem;
  width: 36rem;
  height: 36rem;
}

#compatibility-app .dh-auth-top,
#compatibility-app .dh-auth-main,
#compatibility-app .dh-auth-foot {
  position: relative;
  z-index: 1;
}

#compatibility-app .dh-auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#compatibility-app .dh-auth-copy .dh-brand-copy strong {
  color: #fff;
}

#compatibility-app .dh-auth-copy .dh-brand-copy small {
  color: #ede0d0;
}

#compatibility-app .dh-local-badge {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 999px;
  color: #f3e5d6;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.67rem;
  font-weight: 800;
}

#compatibility-app .dh-auth-main {
  max-width: 525px;
  margin-top: auto;
  padding: 50px 0 27px;
}

#compatibility-app .dh-auth-main .dh-eyebrow {
  color: var(--dh-lime);
}

#compatibility-app .dh-auth-main h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.28rem, 8.8vw, 4rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

#compatibility-app .dh-auth-main h1 em {
  color: var(--dh-lime);
  font-style: normal;
}

#compatibility-app .dh-auth-main > p:not(.dh-eyebrow) {
  max-width: 480px;
  margin: 16px 0 0;
  color: #efe0d1;
  font-size: 0.96rem;
  line-height: 1.85;
}

#compatibility-app .dh-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

#compatibility-app .dh-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  color: #f3e5d6;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.69rem;
  font-weight: 750;
}

#compatibility-app .dh-trust-row .dh-icon {
  color: var(--dh-lime);
}

#compatibility-app .dh-food-orbit {
  position: relative;
  display: none;
  height: 155px;
  margin-top: 5px;
}

#compatibility-app .dh-orbit-circle {
  position: absolute;
  left: 45px;
  width: 142px;
  height: 142px;
  border: 1px dashed rgba(255, 255, 255, 0.27);
  border-radius: 50%;
}

#compatibility-app .dh-orbit-card {
  position: absolute;
  z-index: 1;
  display: inline-grid;
  min-width: 100px;
  gap: 3px;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
  font-size: 1.65rem;
}

#compatibility-app .dh-orbit-card b {
  color: #f3e5d6;
  font-size: 0.65rem;
}

#compatibility-app .dh-orbit-one {
  top: 8px;
  left: 0;
}

#compatibility-app .dh-orbit-two {
  right: 18px;
  bottom: 0;
}

#compatibility-app .dh-auth-foot {
  margin: 0;
  color: #d9bfaa;
  font-size: 0.73rem;
  font-weight: 700;
}

#compatibility-app .dh-auth-panel {
  display: grid;
  place-items: center;
  padding: 36px 20px 48px;
}

#compatibility-app .dh-auth-card {
  width: min(100%, 428px);
}

#compatibility-app .dh-panel-kicker {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--dh-green);
  background: var(--dh-mint);
  font-size: 0.7rem;
  font-weight: 900;
}

#compatibility-app .dh-auth-card h2 {
  margin: 0;
  color: var(--dh-forest);
  font-size: clamp(1.65rem, 5.5vw, 2.05rem);
  line-height: 1.2;
}

#compatibility-app .dh-auth-card > p:not(.dh-privacy) {
  margin: 9px 0 23px;
  color: var(--dh-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

#compatibility-app .dh-auth-form {
  display: grid;
  gap: 9px;
}

#compatibility-app .dh-auth-form label {
  color: var(--dh-ink);
  font-size: 0.82rem;
  font-weight: 850;
}

#compatibility-app .dh-auth-form input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--dh-line);
  border-radius: 13px;
  outline: 0;
  color: var(--dh-ink);
  background: var(--dh-surface);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

#compatibility-app .dh-auth-form input:focus,
#compatibility-app .dh-custom-days input:focus {
  border-color: var(--dh-green);
  box-shadow: 0 0 0 4px rgba(80, 60, 39, 0.1);
}

#compatibility-app .dh-auth-form input[type="email"] {
  direction: ltr;
  text-align: left;
}

#compatibility-app .dh-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 19px 0;
  color: #998a7c;
  font-size: 0.72rem;
  font-weight: 750;
}

#compatibility-app .dh-divider::before,
#compatibility-app .dh-divider::after {
  height: 1px;
  flex: 1;
  background: var(--dh-line);
  content: "";
}

#compatibility-app .dh-social-mark {
  display: block;
  width: 21px;
  height: 21px;
  object-fit: contain;
}

#compatibility-app .dh-apple-mark {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  color: currentColor;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1;
}

#compatibility-app .dh-ghost-button {
  margin-top: 10px;
}

#compatibility-app .dh-privacy {
  display: flex;
  align-items: start;
  gap: 6px;
  margin: 18px 0 0;
  color: var(--dh-muted);
  font-size: 0.7rem;
  line-height: 1.55;
}

#compatibility-app .dh-privacy .dh-icon {
  color: var(--dh-green);
}

/* Navigation and generic page shell */
#compatibility-app .dh-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(80, 60, 39, 0.08);
  background: rgba(243, 229, 214, 0.91);
  box-shadow: 0 3px 20px rgba(243, 229, 214, 0.72);
  backdrop-filter: blur(15px);
}

#compatibility-app .dh-header-inner,
#compatibility-app .dh-page {
  width: min(calc(100% - 32px), var(--dh-page));
  margin-inline: auto;
}

#compatibility-app .dh-header-inner {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#compatibility-app .dh-nav {
  display: none;
  align-items: center;
  gap: 3px;
}

#compatibility-app .dh-nav button {
  display: inline-flex;
  min-height: 37px;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 0;
  border-radius: 10px;
  color: #766a60;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

#compatibility-app .dh-nav button:hover,
#compatibility-app .dh-nav button.is-active {
  color: var(--dh-green);
  background: var(--dh-mint);
}

#compatibility-app .dh-header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}

#compatibility-app .dh-notification,
#compatibility-app .dh-avatar,
#compatibility-app .dh-cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 37px;
  border: 1px solid var(--dh-line);
  color: var(--dh-green);
  background: var(--dh-surface);
  cursor: pointer;
}

#compatibility-app .dh-notification {
  width: 37px;
  padding: 0;
  border-radius: 11px;
}

#compatibility-app .dh-notification > i:not(.dh-icon) {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--dh-surface);
  border-radius: 50%;
  background: var(--dh-lime);
}

#compatibility-app .dh-avatar {
  width: 37px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--dh-forest);
  background: linear-gradient(135deg, #f1d7c0, var(--dh-lime));
  font-size: 0.78rem;
  font-weight: 950;
}

#compatibility-app .dh-cart-button {
  gap: 5px;
  padding: 7px 9px;
  border-radius: 11px;
  font-size: 0.73rem;
  font-weight: 850;
}

#compatibility-app .dh-cart-button span {
  display: none;
}

#compatibility-app .dh-cart-button b {
  display: grid;
  min-width: 16px;
  height: 16px;
  place-items: center;
  border-radius: 50%;
  color: var(--dh-forest);
  background: var(--dh-lime);
  font-size: 0.62rem;
}

#compatibility-app .dh-page {
  padding: 22px 0 92px;
}

#compatibility-app .dh-mobile-nav {
  position: fixed;
  z-index: 35;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-around;
  padding: 5px 8px calc(5px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(80, 60, 39, 0.1);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -8px 26px rgba(58, 42, 29, 0.08);
  backdrop-filter: blur(14px);
}

#compatibility-app .dh-mobile-nav button {
  display: grid;
  flex: 1 1 0;
  min-width: 51px;
  max-width: 84px;
  min-height: 48px;
  place-items: center;
  align-content: center;
  gap: 2px;
  padding: 3px 7px;
  border: 0;
  border-radius: 11px;
  color: var(--dh-muted);
  background: transparent;
  font-size: 0.61rem;
  font-weight: 850;
  cursor: pointer;
}

@media (max-width: 374px) {
  #compatibility-app .dh-mobile-nav {
    padding-inline: 3px;
  }

  #compatibility-app .dh-mobile-nav button {
    min-width: 0;
    padding-inline: 2px;
    font-size: 0.56rem;
  }
}

#compatibility-app .dh-mobile-nav .dh-icon {
  font-size: 1rem;
}

#compatibility-app .dh-mobile-nav button.is-active {
  color: var(--dh-green);
  background: var(--dh-mint);
}

/* Customer home */
#compatibility-app .dh-customer-hero,
#compatibility-app .dh-order-hero {
  position: relative;
  display: grid;
  gap: 23px;
  padding: 25px 20px;
  overflow: hidden;
  border-radius: 23px;
  color: #fff;
  background:
    radial-gradient(circle at 87% 14%, rgba(201, 116, 59, 0.28), transparent 12rem),
    linear-gradient(125deg, var(--dh-forest), var(--dh-green));
  box-shadow: var(--dh-shadow);
}

#compatibility-app .dh-customer-hero::after,
#compatibility-app .dh-order-hero::after {
  position: absolute;
  bottom: -14rem;
  left: -5rem;
  width: 29rem;
  height: 29rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
}

#compatibility-app .dh-hero-copy,
#compatibility-app .dh-hero-stat,
#compatibility-app .dh-order-hero > * {
  position: relative;
  z-index: 1;
}

#compatibility-app .dh-hero-copy h1,
#compatibility-app .dh-order-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.75rem, 7.6vw, 3rem);
  font-weight: 950;
  letter-spacing: -0.038em;
  line-height: 1.15;
}

#compatibility-app .dh-hero-copy h1 span {
  color: var(--dh-lime);
}

#compatibility-app .dh-hero-copy p,
#compatibility-app .dh-order-hero p {
  max-width: 550px;
  margin: 12px 0 0;
  color: #ede0d0;
  font-size: 0.9rem;
  line-height: 1.75;
}

#compatibility-app .dh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 19px;
}

#compatibility-app .dh-hero-stat {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(9px);
}

#compatibility-app .dh-progress-ring {
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  place-items: center;
  border: 5px solid var(--dh-lime);
  border-right-color: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

#compatibility-app .dh-progress-ring span,
#compatibility-app .dh-progress-ring small {
  display: block;
  text-align: center;
}

#compatibility-app .dh-progress-ring span {
  color: #fff;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
}

#compatibility-app .dh-progress-ring small {
  margin-top: 3px;
  color: #ede0d0;
  font-size: 0.47rem;
}

#compatibility-app .dh-hero-stat strong,
#compatibility-app .dh-hero-stat small {
  display: block;
}

#compatibility-app .dh-hero-stat strong {
  color: #fff;
  font-size: 0.82rem;
}

#compatibility-app .dh-hero-stat small {
  margin-top: 2px;
  color: #ede0d0;
  font-size: 0.68rem;
}

#compatibility-app .dh-hero-stat button {
  margin-top: 8px;
  padding: 0;
  border: 0;
  color: var(--dh-lime);
  background: transparent;
  font-size: 0.68rem;
  font-weight: 850;
  cursor: pointer;
}

#compatibility-app .dh-hero-leaf {
  position: absolute;
  z-index: 0;
  top: 13px;
  left: 15px;
  color: rgba(255, 255, 255, 0.13);
  font-size: 4.7rem;
}

#compatibility-app .dh-overview-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

#compatibility-app .dh-overview-card,
#compatibility-app .dh-product-card,
#compatibility-app .dh-plan-card,
#compatibility-app .dh-menu-aside,
#compatibility-app .dh-cart-card,
#compatibility-app .dh-cart-summary,
#compatibility-app .dh-payment-instruction,
#compatibility-app .dh-proof-card,
#compatibility-app .dh-timeline-card,
#compatibility-app .dh-order-summary,
#compatibility-app .dh-plan-step-content {
  border: 1px solid rgba(80, 60, 39, 0.09);
  border-radius: var(--dh-radius);
  background: var(--dh-surface);
  box-shadow: var(--dh-shadow-soft);
}

#compatibility-app .dh-overview-card {
  padding: 17px;
}

#compatibility-app .dh-card-heading,
#compatibility-app .dh-card-section-title {
  display: flex;
  align-items: center;
  gap: 9px;
}

#compatibility-app .dh-card-heading > div,
#compatibility-app .dh-card-section-title > div {
  min-width: 0;
}

#compatibility-app .dh-card-heading small,
#compatibility-app .dh-card-section-title p {
  display: block;
  color: var(--dh-muted);
  font-size: 0.7rem;
}

#compatibility-app .dh-card-heading strong,
#compatibility-app .dh-card-section-title h2 {
  display: block;
  margin-top: 2px;
  color: var(--dh-forest);
  font-size: 0.85rem;
  line-height: 1.3;
}

#compatibility-app .dh-card-section-title h2,
#compatibility-app .dh-card-section-title p {
  margin: 0;
}

#compatibility-app .dh-card-section-title p {
  margin-top: 3px;
  line-height: 1.5;
}

#compatibility-app .dh-mini-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: var(--dh-green);
  background: var(--dh-mint);
  font-size: 0.9rem;
}

#compatibility-app .dh-lime-icon {
  color: var(--dh-forest);
  background: var(--dh-lime);
}

#compatibility-app .dh-status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  margin-right: auto;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 900;
  white-space: nowrap;
}

#compatibility-app .dh-status-success {
  color: var(--dh-green);
  background: var(--dh-mint);
}

#compatibility-app .dh-status-lime {
  color: var(--dh-forest);
  background: var(--dh-lime);
}

#compatibility-app .dh-status-pending {
  color: var(--dh-warn);
  background: var(--dh-warn-bg);
}

#compatibility-app .dh-meal-line {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  margin-top: 17px;
}

#compatibility-app .dh-meal-emoji,
#compatibility-app .dh-cart-item-emoji {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 12px;
  background: #f6e2d3;
  font-size: 1.15rem;
}

#compatibility-app .dh-meal-line b,
#compatibility-app .dh-meal-line small {
  display: block;
}

#compatibility-app .dh-meal-line b {
  color: var(--dh-ink);
  font-size: 0.8rem;
}

#compatibility-app .dh-meal-line small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--dh-muted);
  font-size: 0.66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#compatibility-app .dh-meal-line button,
#compatibility-app .dh-payment-card button {
  padding: 0;
  border: 0;
  color: var(--dh-green);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 850;
  cursor: pointer;
}

#compatibility-app .dh-payment-card > p {
  margin: 14px 0;
  color: var(--dh-muted);
  font-size: 0.75rem;
  line-height: 1.65;
}

#compatibility-app .dh-health-card {
  display: flex;
  min-height: 125px;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--dh-surface), var(--dh-mint));
}

#compatibility-app .dh-health-card small,
#compatibility-app .dh-health-card strong,
#compatibility-app .dh-health-card span {
  display: block;
}

#compatibility-app .dh-health-card small,
#compatibility-app .dh-health-card span {
  color: var(--dh-muted);
  font-size: 0.69rem;
}

#compatibility-app .dh-health-card strong {
  margin: 5px 0 2px;
  color: var(--dh-forest);
  font-size: 1.5rem;
  line-height: 1;
}

#compatibility-app .dh-chart {
  display: flex;
  width: 43%;
  height: 77px;
  align-items: end;
  justify-content: end;
  gap: 4px;
}

#compatibility-app .dh-chart i {
  display: block;
  width: 8px;
  min-height: 7px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--dh-lime), var(--dh-green));
}

#compatibility-app .dh-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin: 34px 0 17px;
}

#compatibility-app .dh-section-head h2,
#compatibility-app .dh-page-hero h1,
#compatibility-app .dh-payment-heading h1 {
  margin: 0;
  color: var(--dh-forest);
  font-size: clamp(1.45rem, 5.8vw, 2.22rem);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

#compatibility-app .dh-section-head p,
#compatibility-app .dh-page-hero p,
#compatibility-app .dh-payment-heading p {
  max-width: 620px;
  margin: 7px 0 0;
  color: var(--dh-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

#compatibility-app .dh-section-head .dh-outline-button {
  display: none;
}

/* Product menu */
#compatibility-app .dh-featured-grid,
#compatibility-app .dh-product-grid {
  display: grid;
  gap: 12px;
}

#compatibility-app .dh-product-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 11px;
  min-height: 143px;
  padding: 11px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

#compatibility-app .dh-product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(80, 60, 39, 0.2);
  box-shadow: var(--dh-shadow);
}

#compatibility-app .dh-product-card.is-picked {
  border-color: var(--dh-green);
  box-shadow: 0 0 0 3px rgba(80, 60, 39, 0.08), var(--dh-shadow-soft);
}

#compatibility-app .dh-product-card.is-unavailable {
  opacity: 0.68;
}

#compatibility-app .dh-product-image {
  position: relative;
  display: grid;
  min-height: 119px;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  font-size: 2.18rem;
}

#compatibility-app .dh-product-image::before,
#compatibility-app .dh-product-image::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

#compatibility-app .dh-product-image::before {
  top: -22px;
  right: -19px;
  width: 76px;
  height: 76px;
  background: rgba(255, 255, 255, 0.4);
}

#compatibility-app .dh-product-image::after {
  bottom: -29px;
  left: -16px;
  width: 74px;
  height: 74px;
  border: 9px solid rgba(80, 60, 39, 0.07);
}

#compatibility-app .dh-product-image > span {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 5px rgba(58, 42, 29, 0.11));
}

#compatibility-app .dh-product-image b {
  position: absolute;
  z-index: 2;
  right: 6px;
  bottom: 7px;
  padding: 3px 5px;
  border-radius: 6px;
  color: #fff;
  background: rgba(58, 42, 29, 0.76);
  font-size: 0.54rem;
  white-space: nowrap;
}

#compatibility-app .dh-image-mint { background: #e2f1dc; }
#compatibility-app .dh-image-peach { background: #f8e5ce; }
#compatibility-app .dh-image-lime { background: #eef3cf; }
#compatibility-app .dh-image-aqua { background: #dcefeb; }
#compatibility-app .dh-image-berry { background: #eee3ef; }
#compatibility-app .dh-image-sand { background: #f4e8d9; }

#compatibility-app .dh-product-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

#compatibility-app .dh-product-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 7px;
}

#compatibility-app .dh-product-title h3 {
  margin: 0;
  color: var(--dh-forest);
  font-size: 0.91rem;
  line-height: 1.35;
}

#compatibility-app .dh-product-title strong {
  flex: 0 0 auto;
  color: var(--dh-green);
  font-size: 0.69rem;
  font-weight: 950;
  white-space: nowrap;
}

#compatibility-app .dh-product-info > p {
  display: -webkit-box;
  margin: 5px 0 0;
  overflow: hidden;
  color: var(--dh-muted);
  font-size: 0.69rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#compatibility-app .dh-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 8px;
  margin: 7px 0 0;
  color: #89786a;
  font-size: 0.61rem;
  font-weight: 700;
}

#compatibility-app .dh-select-button {
  align-self: start;
  min-height: 28px;
  margin-top: auto;
  padding: 5px 8px;
  border: 1px solid var(--dh-line);
  border-radius: 8px;
  color: var(--dh-green);
  background: var(--dh-surface);
  font-size: 0.64rem;
  font-weight: 850;
  cursor: pointer;
}

#compatibility-app .dh-product-card.is-picked .dh-select-button,
#compatibility-app .dh-select-button:hover {
  border-color: var(--dh-lime);
  color: var(--dh-forest);
  background: var(--dh-lime);
}

#compatibility-app .dh-unavailable-note {
  display: inline-flex;
  align-self: start;
  margin-top: auto;
  color: var(--dh-muted);
  font-size: 0.64rem;
  font-weight: 800;
}

#compatibility-app .dh-page-hero {
  margin-bottom: 20px;
  padding: 8px 0 2px;
}

#compatibility-app .dh-page-hero h1 em,
#compatibility-app .dh-payment-heading h1 em {
  color: var(--dh-green-2);
  font-style: normal;
}

#compatibility-app .dh-category-tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding: 2px 1px 5px;
  scrollbar-width: thin;
}

#compatibility-app .dh-category-tabs button {
  min-height: 36px;
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid var(--dh-line);
  border-radius: 999px;
  color: var(--dh-muted);
  background: var(--dh-surface);
  font-size: 0.77rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

#compatibility-app .dh-category-tabs button:hover,
#compatibility-app .dh-category-tabs button.is-active {
  border-color: var(--dh-green);
  color: var(--dh-green);
  background: var(--dh-mint);
}

#compatibility-app .dh-menu-layout {
  display: grid;
  gap: 16px;
  align-items: start;
}

#compatibility-app .dh-menu-aside {
  position: relative;
  padding: 19px;
  overflow: hidden;
}

#compatibility-app .dh-menu-aside::after,
#compatibility-app .dh-cart-summary::after {
  position: absolute;
  top: -42px;
  left: -37px;
  width: 121px;
  height: 121px;
  border-radius: 50%;
  background: rgba(201, 116, 59, 0.21);
  content: "";
}

#compatibility-app .dh-menu-aside > *,
#compatibility-app .dh-cart-summary > * {
  position: relative;
  z-index: 1;
}

#compatibility-app .dh-aside-mark {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 10px;
  color: var(--dh-forest);
  background: var(--dh-lime);
  font-weight: 950;
}

#compatibility-app .dh-menu-aside h2,
#compatibility-app .dh-cart-summary h2 {
  margin: 12px 0 5px;
  color: var(--dh-forest);
  font-size: 1.08rem;
}

#compatibility-app .dh-menu-aside > p {
  margin: 0 0 15px;
  color: var(--dh-muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

#compatibility-app .dh-menu-aside > div,
#compatibility-app .dh-cart-summary > div,
#compatibility-app .dh-order-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 0;
  border-top: 1px solid var(--dh-line);
  color: var(--dh-muted);
  font-size: 0.73rem;
}

#compatibility-app .dh-menu-aside > div b,
#compatibility-app .dh-cart-summary > div b,
#compatibility-app .dh-order-summary > div b {
  color: var(--dh-ink);
  font-size: 0.77rem;
}

#compatibility-app .dh-menu-aside .dh-primary-button {
  margin-top: 14px;
}

/* Subscription: a clear, three-step flow */
#compatibility-app .dh-plan-hero {
  margin-bottom: 20px;
}

#compatibility-app .dh-plan-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

#compatibility-app .dh-plan-steps li {
  position: relative;
  display: grid;
  place-items: center;
  gap: 5px;
  color: #998a7c;
  font-size: 0.67rem;
  font-weight: 850;
  text-align: center;
}

#compatibility-app .dh-plan-steps li:not(:last-child)::after {
  position: absolute;
  z-index: 0;
  top: 13px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: #dce6df;
  content: "";
}

#compatibility-app .dh-plan-steps i {
  position: relative;
  z-index: 1;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 2px solid var(--dh-line);
  border-radius: 50%;
  color: var(--dh-muted);
  background: var(--dh-surface);
  font-size: 0.7rem;
  font-style: normal;
}

#compatibility-app .dh-plan-steps li.is-complete,
#compatibility-app .dh-plan-steps li.is-current {
  color: var(--dh-green);
}

#compatibility-app .dh-plan-steps li.is-complete i {
  border-color: var(--dh-green);
  color: var(--dh-forest);
  background: var(--dh-lime);
}

#compatibility-app .dh-plan-steps li.is-complete::after {
  background: var(--dh-green);
}

#compatibility-app .dh-plan-steps li.is-current i {
  border-color: var(--dh-green);
  color: var(--dh-green);
  background: var(--dh-mint);
  box-shadow: 0 0 0 5px rgba(80, 60, 39, 0.08);
}

#compatibility-app .dh-plan-layout {
  display: grid;
  gap: 16px;
  align-items: start;
}

#compatibility-app .dh-plan-step-content,
#compatibility-app .dh-plan-card {
  padding: 19px;
}

#compatibility-app .dh-step-heading {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-bottom: 18px;
}

#compatibility-app .dh-step-heading > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  color: var(--dh-forest);
  background: var(--dh-lime);
  font-size: 0.83rem;
  font-weight: 950;
}

#compatibility-app .dh-step-heading h2,
#compatibility-app .dh-step-heading p {
  margin: 0;
}

#compatibility-app .dh-step-heading h2 {
  color: var(--dh-forest);
  font-size: 1.1rem;
}

#compatibility-app .dh-step-heading p {
  margin-top: 3px;
  color: var(--dh-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

#compatibility-app .dh-duration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#compatibility-app .dh-duration-grid button {
  position: relative;
  min-height: 62px;
  padding: 10px;
  border: 1px solid var(--dh-line);
  border-radius: 13px;
  color: var(--dh-muted);
  background: var(--dh-surface);
  text-align: right;
  cursor: pointer;
}

#compatibility-app .dh-duration-grid button b,
#compatibility-app .dh-duration-grid button small {
  display: block;
}

#compatibility-app .dh-duration-grid button b {
  color: var(--dh-ink);
  font-size: 0.81rem;
}

#compatibility-app .dh-duration-grid button small {
  margin-top: 3px;
  color: var(--dh-muted);
  font-size: 0.63rem;
}

#compatibility-app .dh-duration-grid button.is-active {
  border-color: var(--dh-green);
  background: var(--dh-mint);
  box-shadow: 0 0 0 2px rgba(80, 60, 39, 0.08);
}

#compatibility-app .dh-duration-grid button.is-active::after {
  position: absolute;
  top: 8px;
  left: 8px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  color: var(--dh-forest);
  background: var(--dh-lime);
  font-size: 0.61rem;
  font-weight: 950;
  content: "✓";
}

#compatibility-app .dh-custom-days {
  display: grid;
  grid-template-columns: auto 82px;
  gap: 9px;
  align-items: center;
  margin-top: 12px;
  color: var(--dh-ink);
  font-size: 0.79rem;
  font-weight: 850;
}

#compatibility-app .dh-custom-days input {
  width: 100%;
  min-height: 41px;
  padding: 6px 9px;
  border: 1px solid var(--dh-line);
  border-radius: 10px;
  outline: 0;
  color: var(--dh-forest);
  font-weight: 900;
}

#compatibility-app .dh-custom-days small {
  grid-column: 1 / -1;
  color: var(--dh-muted);
  font-size: 0.65rem;
  font-weight: 650;
}

#compatibility-app .dh-meals-per-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 21px;
  padding-top: 17px;
  border-top: 1px solid var(--dh-line);
  color: var(--dh-ink);
  font-size: 0.79rem;
  font-weight: 850;
}

#compatibility-app .dh-meals-per-day > div {
  display: grid;
  grid-template-columns: 30px 29px 30px;
  grid-template-rows: auto auto;
  gap: 4px;
  align-items: center;
  text-align: center;
}

#compatibility-app .dh-meals-per-day button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--dh-green);
  background: var(--dh-mint);
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
}

#compatibility-app .dh-meals-per-day button:hover {
  color: var(--dh-forest);
  background: var(--dh-lime);
}

#compatibility-app .dh-meals-per-day strong {
  color: var(--dh-forest);
  font-size: 0.93rem;
}

#compatibility-app .dh-meals-per-day small {
  grid-column: 1 / -1;
  color: var(--dh-muted);
  font-size: 0.58rem;
}

#compatibility-app .dh-step-action {
  width: 100%;
  margin-top: 21px;
}

#compatibility-app .dh-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 21px;
}

#compatibility-app .dh-plan-product-grid {
  margin-top: 4px;
}

#compatibility-app .dh-plan-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

#compatibility-app .dh-plan-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: var(--dh-forest);
  background: var(--dh-lime);
  font-weight: 950;
}

#compatibility-app .dh-plan-top small,
#compatibility-app .dh-plan-top h2 {
  display: block;
  margin: 0;
}

#compatibility-app .dh-plan-top small {
  color: var(--dh-muted);
  font-size: 0.68rem;
}

#compatibility-app .dh-plan-top h2 {
  color: var(--dh-forest);
  font-size: 1rem;
}

#compatibility-app .dh-plan-summary {
  display: grid;
  gap: 0;
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  color: #fff;
  background: var(--dh-forest);
}

#compatibility-app .dh-plan-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  color: #c6dbd0;
  font-size: 0.72rem;
}

#compatibility-app .dh-plan-summary b {
  color: #fff;
  font-size: 0.76rem;
}

#compatibility-app .dh-plan-summary .dh-discount-line b {
  color: var(--dh-lime);
}

#compatibility-app .dh-plan-summary .dh-total-line {
  align-items: end;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

#compatibility-app .dh-plan-summary .dh-total-line strong {
  color: #fff;
  font-size: 1.13rem;
  line-height: 1;
}

#compatibility-app .dh-plan-note,
#compatibility-app .dh-cart-summary > p {
  display: flex;
  align-items: start;
  gap: 6px;
  margin: 14px 0 0;
  color: var(--dh-muted);
  font-size: 0.66rem;
  line-height: 1.55;
}

#compatibility-app .dh-plan-note .dh-icon,
#compatibility-app .dh-cart-summary > p .dh-icon {
  color: var(--dh-green);
}

#compatibility-app .dh-review-grid {
  display: grid;
  gap: 11px;
}

#compatibility-app .dh-review-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#compatibility-app .dh-review-summary > div {
  padding: 12px;
  border-radius: 12px;
  background: #fbf3eb;
}

#compatibility-app .dh-review-summary span,
#compatibility-app .dh-review-summary b {
  display: block;
}

#compatibility-app .dh-review-summary span {
  color: var(--dh-muted);
  font-size: 0.67rem;
}

#compatibility-app .dh-review-summary b {
  margin-top: 4px;
  color: var(--dh-forest);
  font-size: 0.8rem;
}

#compatibility-app .dh-picked-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 13px;
  border: 1px solid var(--dh-line);
  border-radius: 13px;
}

#compatibility-app .dh-picked-list span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--dh-green);
  background: var(--dh-mint);
  font-size: 0.7rem;
  font-weight: 800;
}

#compatibility-app .dh-picked-list i {
  font-style: normal;
}

#compatibility-app .dh-picked-list p {
  margin: 0;
  color: var(--dh-muted);
  font-size: 0.75rem;
}

/* Cart */
#compatibility-app .dh-cart-layout {
  display: grid;
  gap: 16px;
  margin-top: 4px;
  align-items: start;
}

#compatibility-app .dh-cart-card,
#compatibility-app .dh-cart-summary {
  padding: 19px;
}

#compatibility-app .dh-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 13px;
}

#compatibility-app .dh-card-title h2 {
  margin: 0;
  color: var(--dh-forest);
  font-size: 1.08rem;
}

#compatibility-app .dh-cart-items {
  display: grid;
}

#compatibility-app .dh-cart-items article {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto 23px;
  gap: 8px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--dh-line);
}

#compatibility-app .dh-cart-items article:first-child {
  border-top: 0;
}

#compatibility-app .dh-cart-item-emoji {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

#compatibility-app .dh-cart-items strong,
#compatibility-app .dh-cart-items small {
  display: block;
}

#compatibility-app .dh-cart-items strong {
  overflow: hidden;
  color: var(--dh-ink);
  font-size: 0.77rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#compatibility-app .dh-cart-items small {
  margin-top: 2px;
  overflow: hidden;
  color: var(--dh-muted);
  font-size: 0.61rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#compatibility-app .dh-cart-items b {
  color: var(--dh-green);
  font-size: 0.66rem;
  white-space: nowrap;
}

#compatibility-app .dh-cart-items button {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 7px;
  color: var(--dh-muted);
  background: #f1e6da;
  cursor: pointer;
}

#compatibility-app .dh-cart-items button:hover {
  color: #fff;
  background: var(--dh-danger);
}

#compatibility-app .dh-empty-cart {
  display: grid;
  min-height: 168px;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 1px dashed #cbb9a8;
  border-radius: 15px;
  color: var(--dh-muted);
  text-align: center;
}

#compatibility-app .dh-empty-cart > span {
  font-size: 1.8rem;
}

#compatibility-app .dh-empty-cart h2,
#compatibility-app .dh-empty-cart p {
  margin: 0;
}

#compatibility-app .dh-empty-cart h2 {
  color: var(--dh-ink);
  font-size: 0.9rem;
}

#compatibility-app .dh-empty-cart p {
  font-size: 0.74rem;
}

#compatibility-app .dh-empty-cart .dh-primary-button {
  margin-top: 7px;
  padding-inline: 14px;
}

#compatibility-app .dh-delivery-choice {
  margin-top: 19px;
  padding-top: 17px;
  border-top: 1px solid var(--dh-line);
}

#compatibility-app .dh-delivery-choice h3 {
  margin: 0 0 9px;
  color: var(--dh-ink);
  font-size: 0.84rem;
}

#compatibility-app .dh-delivery-choice > div {
  display: grid;
  gap: 8px;
}

#compatibility-app .dh-delivery-choice button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 10px;
  border: 1px solid var(--dh-line);
  border-radius: 12px;
  color: var(--dh-muted);
  background: var(--dh-surface);
  text-align: right;
  cursor: pointer;
}

#compatibility-app .dh-delivery-choice button.is-active {
  border-color: var(--dh-green);
  color: var(--dh-green);
  background: var(--dh-mint);
}

#compatibility-app .dh-delivery-choice .dh-icon {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 8px;
  color: var(--dh-green);
  background: var(--dh-surface);
}

#compatibility-app .dh-delivery-choice button span,
#compatibility-app .dh-delivery-choice button small {
  display: block;
}

#compatibility-app .dh-delivery-choice button span {
  color: currentColor;
  font-size: 0.75rem;
  font-weight: 850;
}

#compatibility-app .dh-delivery-choice button small {
  margin-top: 2px;
  color: var(--dh-muted);
  font-size: 0.62rem;
  font-weight: 650;
}

#compatibility-app .dh-cart-summary {
  position: relative;
  overflow: hidden;
}

#compatibility-app .dh-cart-summary .dh-aside-mark {
  margin-bottom: 10px;
}

#compatibility-app .dh-cart-summary .dh-cart-discount b {
  color: var(--dh-green);
}

#compatibility-app .dh-cart-summary .dh-cart-total {
  align-items: end;
  margin-top: 3px;
  padding-top: 14px;
  border-top: 1px solid var(--dh-line);
}

#compatibility-app .dh-cart-summary .dh-cart-total strong {
  color: var(--dh-forest);
  font-size: 1.14rem;
  line-height: 1;
}

#compatibility-app .dh-cart-summary .dh-primary-button {
  margin-top: 16px;
}

/* Sham Cash checkout */
#compatibility-app .dh-payment-page {
  padding-top: 20px;
}

#compatibility-app .dh-payment-heading {
  margin: 13px 0 20px;
}

#compatibility-app .dh-payment-grid {
  display: grid;
  gap: 16px;
  align-items: start;
}

#compatibility-app .dh-payment-instruction,
#compatibility-app .dh-proof-card {
  padding: 19px;
}

#compatibility-app .dh-payment-title {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
}

#compatibility-app .dh-sham-logo {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #8a5c36, var(--dh-green));
  font-size: 1.16rem;
  font-weight: 950;
}

#compatibility-app .dh-payment-title small,
#compatibility-app .dh-payment-title h2 {
  display: block;
  margin: 0;
}

#compatibility-app .dh-payment-title small {
  color: var(--dh-muted);
  font-size: 0.67rem;
}

#compatibility-app .dh-payment-title h2 {
  color: var(--dh-forest);
  font-size: 1.04rem;
}

#compatibility-app .dh-secure-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 7px;
  border-radius: 999px;
  color: var(--dh-green);
  background: var(--dh-mint);
  font-size: 0.59rem;
  font-weight: 850;
  white-space: nowrap;
}

#compatibility-app .dh-amount-box {
  display: grid;
  gap: 2px;
  margin-top: 18px;
  padding: 16px;
  border-radius: 15px;
  color: #fff;
  background: var(--dh-forest);
}

#compatibility-app .dh-amount-box span,
#compatibility-app .dh-amount-box small {
  color: #ede0d0;
  font-size: 0.69rem;
}

#compatibility-app .dh-amount-box strong {
  margin: 4px 0;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.1;
}

#compatibility-app .dh-payment-steps {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

#compatibility-app .dh-payment-steps li {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: var(--dh-muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

#compatibility-app .dh-payment-steps b {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--dh-forest);
  background: var(--dh-lime);
  font-size: 0.67rem;
}

#compatibility-app .dh-payment-steps strong {
  color: var(--dh-green);
}

#compatibility-app .dh-reference {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 9px;
  align-items: center;
  margin-top: 20px;
  padding: 11px 12px;
  border: 1px dashed #cbb9a8;
  border-radius: 12px;
  background: #fffbf7;
}

#compatibility-app .dh-reference > span {
  color: var(--dh-muted);
  font-size: 0.65rem;
  font-weight: 750;
}

#compatibility-app .dh-reference code {
  direction: ltr;
  color: var(--dh-forest);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

#compatibility-app .dh-reference button {
  grid-row: 1 / 3;
  grid-column: 2;
  min-height: 30px;
  padding: 5px 9px;
  border: 0;
  border-radius: 8px;
  color: var(--dh-green);
  background: var(--dh-mint);
  font-size: 0.66rem;
  font-weight: 850;
  cursor: pointer;
}

#compatibility-app .dh-proof-card {
  text-align: center;
}

#compatibility-app .dh-qr-wrap {
  display: grid;
  width: min(100%, 205px);
  aspect-ratio: 1;
  margin-inline: auto;
  place-items: center;
  padding: 13px;
  border-radius: 17px;
  background: #f9f0e8;
}

#compatibility-app .dh-qr {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: repeat(11, 1fr);
  gap: 1.5px;
  padding: 10px;
  border: 7px solid #fff;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 19px rgba(58, 42, 29, 0.1);
}

#compatibility-app .dh-qr i {
  display: block;
  border-radius: 1px;
  background: transparent;
}

#compatibility-app .dh-qr i.is-filled {
  background: var(--dh-forest);
}

#compatibility-app .dh-qr-caption {
  margin: 10px 0 14px;
  color: var(--dh-muted);
  font-size: 0.69rem;
}

#compatibility-app .dh-receipt-zone {
  position: relative;
  display: grid;
  min-height: 142px;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 13px;
  border: 1.5px dashed #cbb9a8;
  border-radius: 15px;
  background: #fffbf7;
}

#compatibility-app .dh-receipt-zone.has-file {
  border-color: var(--dh-green);
  background: var(--dh-mint);
}

#compatibility-app .dh-upload-icon {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 11px;
  color: var(--dh-green);
  background: var(--dh-surface);
  box-shadow: 0 4px 11px rgba(58, 42, 29, 0.08);
}

#compatibility-app .dh-receipt-zone > strong {
  max-width: 100%;
  overflow: hidden;
  color: var(--dh-ink);
  font-size: 0.78rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#compatibility-app .dh-receipt-zone > small {
  color: var(--dh-muted);
  font-size: 0.62rem;
  line-height: 1.4;
}

#compatibility-app .dh-file-button {
  position: relative;
  display: inline-flex;
  min-height: 29px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 8px;
  color: var(--dh-green);
  background: var(--dh-surface);
  font-size: 0.65rem;
  font-weight: 850;
  cursor: pointer;
}

#compatibility-app .dh-file-button input {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

#compatibility-app .dh-proof-card > .dh-primary-button,
#compatibility-app .dh-proof-card > .dh-outline-button {
  margin-top: 13px;
}

#compatibility-app .dh-review-state {
  display: flex;
  align-items: start;
  gap: 9px;
  padding: 14px;
  border-radius: 14px;
  color: var(--dh-warn);
  background: var(--dh-warn-bg);
  text-align: right;
}

#compatibility-app .dh-review-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  color: var(--dh-warn);
  background: #fff9ec;
}

#compatibility-app .dh-review-state strong,
#compatibility-app .dh-review-state p {
  display: block;
  margin: 0;
}

#compatibility-app .dh-review-state strong {
  font-size: 0.78rem;
}

#compatibility-app .dh-review-state p {
  margin-top: 3px;
  color: #8c6a2f;
  font-size: 0.67rem;
  line-height: 1.55;
}

#compatibility-app .dh-payment-assurance {
  display: flex;
  align-items: start;
  gap: 9px;
  margin-top: 16px;
  padding: 13px;
  border: 1px solid rgba(80, 60, 39, 0.1);
  border-radius: 14px;
  color: var(--dh-green);
  background: var(--dh-mint);
}

#compatibility-app .dh-payment-assurance > span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: var(--dh-forest);
  background: var(--dh-lime);
}

#compatibility-app .dh-payment-assurance strong,
#compatibility-app .dh-payment-assurance p {
  display: block;
  margin: 0;
}

#compatibility-app .dh-payment-assurance strong {
  color: var(--dh-forest);
  font-size: 0.78rem;
}

#compatibility-app .dh-payment-assurance p {
  margin-top: 2px;
  color: var(--dh-muted);
  font-size: 0.68rem;
  line-height: 1.5;
}

/* Order status */
#compatibility-app .dh-order-hero > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

#compatibility-app .dh-order-layout {
  display: grid;
  gap: 16px;
  margin-top: 16px;
  align-items: start;
}

#compatibility-app .dh-timeline-card,
#compatibility-app .dh-order-summary {
  padding: 19px;
}

#compatibility-app .dh-timeline {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

#compatibility-app .dh-timeline li {
  position: relative;
  display: grid;
  min-height: 57px;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 11px;
  color: #95a29c;
}

#compatibility-app .dh-timeline li:not(:last-child)::after {
  position: absolute;
  top: 29px;
  right: 13px;
  bottom: -1px;
  width: 2px;
  background: #dce5df;
  content: "";
}

#compatibility-app .dh-timeline li > i {
  position: relative;
  z-index: 1;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 2px solid var(--dh-line);
  border-radius: 50%;
  color: transparent;
  background: var(--dh-surface);
}

#compatibility-app .dh-timeline li.done,
#compatibility-app .dh-timeline li.current {
  color: var(--dh-green);
}

#compatibility-app .dh-timeline li.done > i {
  border-color: var(--dh-green);
  color: var(--dh-forest);
  background: var(--dh-lime);
}

#compatibility-app .dh-timeline li.done > i::after {
  content: "✓";
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 950;
}

#compatibility-app .dh-timeline li.done::after {
  background: var(--dh-green);
}

#compatibility-app .dh-timeline li.current > i {
  border-color: var(--dh-green);
  background: var(--dh-mint);
  box-shadow: 0 0 0 5px rgba(80, 60, 39, 0.08);
}

#compatibility-app .dh-timeline strong,
#compatibility-app .dh-timeline small {
  display: block;
}

#compatibility-app .dh-timeline strong {
  color: currentColor;
  font-size: 0.8rem;
}

#compatibility-app .dh-timeline small {
  margin-top: 2px;
  color: var(--dh-muted);
  font-size: 0.64rem;
}

#compatibility-app .dh-order-summary h2 {
  margin: 0 0 10px;
  color: var(--dh-forest);
  font-size: 1.06rem;
}

#compatibility-app .dh-order-summary .dh-primary-button {
  margin-top: 14px;
}

/* Account and local settings */
#compatibility-app .dh-account-page {
  padding-top: 18px;
}

#compatibility-app .dh-account-hero {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(80, 60, 39, 0.1);
  border-radius: 24px;
  color: var(--dh-forest);
  background:
    radial-gradient(circle at 8% 110%, rgba(201, 116, 59, 0.55), transparent 10rem),
    linear-gradient(135deg, #f3dcc6, var(--dh-lime));
  box-shadow: var(--dh-shadow-soft);
}

#compatibility-app .dh-account-avatar,
#compatibility-app .dh-identity-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--dh-forest);
  background: linear-gradient(135deg, #faecdd, #dc8a51);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.5);
  font-weight: 950;
}

#compatibility-app .dh-account-avatar {
  width: 56px;
  height: 56px;
  font-size: 1.2rem;
}

#compatibility-app .dh-account-hero-copy {
  min-width: 0;
}

#compatibility-app .dh-account-hero .dh-eyebrow {
  color: rgba(58, 42, 29, 0.72);
}

#compatibility-app .dh-account-hero h1,
#compatibility-app .dh-account-hero p {
  margin: 0;
}

#compatibility-app .dh-account-hero h1 {
  margin-top: 3px;
  font-size: clamp(1.36rem, 5.2vw, 2.15rem);
  line-height: 1.2;
}

#compatibility-app .dh-account-hero p {
  margin-top: 7px;
  color: rgba(58, 42, 29, 0.76);
  font-size: 0.76rem;
  line-height: 1.65;
}

#compatibility-app .dh-account-preview {
  grid-column: 1 / -1;
  justify-self: start;
  margin: 0;
  color: var(--dh-forest);
  background: rgba(255, 255, 255, 0.5);
}

#compatibility-app .dh-account-grid {
  display: grid;
  gap: 13px;
  margin-top: 15px;
}

#compatibility-app .dh-account-card {
  padding: 18px;
  border: 1px solid rgba(80, 60, 39, 0.1);
  border-radius: var(--dh-radius);
  background: var(--dh-surface);
  box-shadow: var(--dh-shadow-soft);
}

#compatibility-app .dh-account-card-head {
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

#compatibility-app .dh-account-icon,
#compatibility-app .dh-google-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  color: var(--dh-forest);
  background: var(--dh-lime-soft);
  font-size: 0.9rem;
  font-weight: 950;
}

#compatibility-app .dh-account-social-icon {
  border: 1px solid #747775;
  background: #fff;
}

#compatibility-app .dh-account-social-icon .dh-social-mark {
  width: 22px;
  height: 22px;
}

#compatibility-app .dh-account-card h2,
#compatibility-app .dh-account-card p {
  margin: 0;
}

#compatibility-app .dh-account-card h2 {
  color: var(--dh-forest);
  font-size: 1rem;
}

#compatibility-app .dh-account-card-head p {
  margin-top: 3px;
  color: var(--dh-muted);
  font-size: 0.71rem;
  line-height: 1.55;
}

#compatibility-app .dh-identity-row,
#compatibility-app .dh-unavailable-row,
#compatibility-app .dh-permission-state {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

#compatibility-app .dh-identity-avatar {
  width: 41px;
  height: 41px;
  flex: 0 0 auto;
  font-size: 0.83rem;
}

#compatibility-app .dh-identity-row strong,
#compatibility-app .dh-identity-row small,
#compatibility-app .dh-permission-state strong,
#compatibility-app .dh-permission-state small,
#compatibility-app .dh-unavailable-row strong,
#compatibility-app .dh-unavailable-row small {
  display: block;
}

#compatibility-app .dh-identity-row strong,
#compatibility-app .dh-permission-state strong,
#compatibility-app .dh-unavailable-row strong {
  color: var(--dh-ink);
  font-size: 0.79rem;
}

#compatibility-app .dh-identity-row small,
#compatibility-app .dh-permission-state small,
#compatibility-app .dh-unavailable-row small {
  margin-top: 2px;
  color: var(--dh-muted);
  font-size: 0.67rem;
  line-height: 1.5;
}

#compatibility-app .dh-account-local-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 14px !important;
  padding-top: 13px;
  border-top: 1px solid var(--dh-line);
  color: var(--dh-muted);
  font-size: 0.68rem;
  line-height: 1.55;
}

#compatibility-app .dh-account-local-note .dh-icon {
  color: var(--dh-green);
}

#compatibility-app .dh-setting-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 16px;
}

#compatibility-app .dh-setting-choice {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 6px;
  border: 1px solid var(--dh-line);
  border-radius: 11px;
  color: var(--dh-muted);
  background: var(--dh-surface);
  font-size: 0.7rem;
  font-weight: 850;
  cursor: pointer;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, color 150ms ease;
}

#compatibility-app .dh-setting-choice:hover,
#compatibility-app .dh-setting-choice.is-selected {
  border-color: var(--dh-green);
  color: var(--dh-green);
  background: var(--dh-mint);
}

#compatibility-app .dh-setting-choice:active {
  transform: scale(0.98);
}

#compatibility-app .dh-setting-choice i {
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 50%;
  color: var(--dh-forest);
  background: var(--dh-lime);
  font-size: 0.56rem;
  font-style: normal;
}

#compatibility-app .dh-permission-state {
  align-items: flex-start;
  padding: 11px;
  border: 1px solid var(--dh-line);
  border-radius: 12px;
  background: var(--dh-mint);
}

#compatibility-app .dh-permission-state > span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--dh-muted);
}

#compatibility-app .dh-permission-state.is-success > span {
  background: #c9743b;
}

#compatibility-app .dh-permission-state.is-warning {
  border-color: rgba(166, 106, 14, 0.2);
  background: var(--dh-warn-bg);
}

#compatibility-app .dh-permission-state.is-warning > span {
  background: var(--dh-warn);
}

#compatibility-app .dh-notifications-card .dh-outline-button,
#compatibility-app .dh-google-card .dh-ghost-button {
  margin-top: 12px;
}

#compatibility-app .dh-social-stack .dh-ghost-button {
  margin-top: 0;
}

#compatibility-app .dh-unavailable-row {
  align-items: flex-start;
  padding: 11px;
  border: 1px dashed var(--dh-line);
  border-radius: 12px;
  background: rgba(80, 60, 39, 0.035);
}

#compatibility-app .dh-unavailable-row > span {
  color: var(--dh-green);
}

#compatibility-app .dh-account-back {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  margin-top: 17px;
  padding: 8px 0;
  border: 0;
  color: var(--dh-green);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

#compatibility-app .dh-mahwour-credit {
  display: flex;
  min-height: 64px;
  align-items: center;
  gap: 10px;
  margin-top: 17px;
  padding: 10px 12px;
  border: 1px solid var(--dh-line);
  border-radius: 16px;
  color: var(--dh-ink);
  background: var(--dh-surface);
  box-shadow: var(--dh-shadow-soft);
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease;
}

#compatibility-app .dh-mahwour-credit:hover {
  border-color: var(--dh-lime);
  transform: translateY(-1px);
}

#compatibility-app .dh-mahwour-credit:focus-visible {
  outline: 3px solid rgba(201, 116, 59, 0.38);
  outline-offset: 3px;
}

#compatibility-app .dh-mahwour-credit img {
  width: 48px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
}

#compatibility-app .dh-mahwour-credit span {
  min-width: 0;
  flex: 1 1 auto;
}

#compatibility-app .dh-mahwour-credit strong,
#compatibility-app .dh-mahwour-credit small {
  display: block;
}

#compatibility-app .dh-mahwour-credit strong {
  font-size: 0.77rem;
  font-weight: 900;
}

#compatibility-app .dh-mahwour-credit small {
  margin-top: 2px;
  color: var(--dh-muted);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

#compatibility-app .dh-mahwour-credit b {
  color: var(--dh-green);
  font-size: 1rem;
}

html.dh-theme-resolved-dark #compatibility-app .dh-header {
  border-color: rgba(237, 224, 208, 0.12);
  background: rgba(23, 16, 11, 0.91);
  box-shadow: 0 3px 20px rgba(23, 16, 11, 0.72);
}

/* The account hero intentionally remains lime in dark mode, so it keeps an ink foreground. */
html.dh-theme-resolved-dark #compatibility-app .dh-account-hero,
html.dh-theme-resolved-dark #compatibility-app .dh-account-hero .dh-account-avatar,
html.dh-theme-resolved-dark #compatibility-app .dh-account-hero .dh-account-preview {
  color: #3a2a1d;
}

html.dh-theme-resolved-dark #compatibility-app .dh-mobile-nav,
html.dh-theme-resolved-dark #compatibility-app .dh-outline-button,
html.dh-theme-resolved-dark #compatibility-app .dh-ghost-button,
html.dh-theme-resolved-dark #compatibility-app .dh-social-button,
html.dh-theme-resolved-dark #compatibility-app .dh-notification,
html.dh-theme-resolved-dark #compatibility-app .dh-cart-button,
html.dh-theme-resolved-dark #compatibility-app .dh-auth-form input,
html.dh-theme-resolved-dark #compatibility-app .dh-category-tabs button,
html.dh-theme-resolved-dark #compatibility-app .dh-select-button,
html.dh-theme-resolved-dark #compatibility-app .dh-duration-grid button,
html.dh-theme-resolved-dark #compatibility-app .dh-delivery-choice button,
html.dh-theme-resolved-dark #compatibility-app .dh-delivery-choice .dh-icon,
html.dh-theme-resolved-dark #compatibility-app .dh-toast {
  background: var(--dh-surface);
}

html.dh-theme-resolved-dark #compatibility-app .dh-google-social-button {
  color: #1f1f1f;
  background: #fff;
  border-color: #747775;
}

html.dh-theme-resolved-dark #compatibility-app .dh-apple-social-button {
  color: #fff;
  background: #000;
  border-color: #000;
}

html.dh-theme-resolved-dark #compatibility-app .dh-mobile-nav,
html.dh-theme-resolved-dark #compatibility-app .dh-toast {
  border-color: var(--dh-line);
}

/* Toast */
#compatibility-app .dh-toast {
  position: fixed;
  z-index: 80;
  right: 16px;
  bottom: 78px;
  display: flex;
  width: min(calc(100% - 32px), 350px);
  align-items: center;
  gap: 9px;
  padding: 12px 13px;
  border: 1px solid var(--dh-line);
  border-radius: 13px;
  color: var(--dh-ink);
  background: var(--dh-surface);
  box-shadow: var(--dh-shadow);
  font-size: 0.79rem;
  font-weight: 800;
  animation: dh-toast-in 200ms ease-out both;
}

#compatibility-app .dh-toast .dh-icon {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: var(--dh-forest);
  background: var(--dh-lime);
  font-weight: 950;
}

@keyframes dh-toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Wider layouts */
@media (min-width: 660px) {
  #compatibility-app .dh-auth-panel {
    padding: 52px 38px;
  }

  #compatibility-app .dh-customer-hero {
    grid-template-columns: minmax(0, 1fr) 235px;
    align-items: center;
    padding: 32px;
  }

  #compatibility-app .dh-hero-stat {
    display: grid;
    padding: 18px;
  }

  #compatibility-app .dh-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #compatibility-app .dh-health-card {
    grid-column: 1 / -1;
  }

  #compatibility-app .dh-featured-grid,
  #compatibility-app .dh-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #compatibility-app .dh-menu-layout,
  #compatibility-app .dh-plan-layout,
  #compatibility-app .dh-cart-layout,
  #compatibility-app .dh-payment-grid,
  #compatibility-app .dh-order-layout {
    grid-template-columns: minmax(0, 1fr) minmax(245px, 0.42fr);
  }

  #compatibility-app .dh-menu-aside,
  #compatibility-app .dh-plan-card,
  #compatibility-app .dh-cart-summary,
  #compatibility-app .dh-proof-card,
  #compatibility-app .dh-order-summary {
    position: sticky;
    top: 85px;
  }

  #compatibility-app .dh-payment-instruction {
    grid-column: 1;
  }

  #compatibility-app .dh-order-hero {
    padding: 30px;
  }

  #compatibility-app .dh-account-hero {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    padding: 28px;
  }

  #compatibility-app .dh-account-avatar {
    width: 64px;
    height: 64px;
  }

  #compatibility-app .dh-account-preview {
    grid-column: auto;
    align-self: start;
    justify-self: end;
  }

  #compatibility-app .dh-account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 880px) {
  #compatibility-app .dh-auth {
    grid-template-columns: minmax(0, 1.06fr) minmax(410px, 0.94fr);
  }

  #compatibility-app .dh-auth-copy {
    min-height: 100vh;
    padding: 42px clamp(42px, 7vw, 92px);
  }

  #compatibility-app .dh-auth-main {
    padding: 50px 0;
  }

  #compatibility-app .dh-food-orbit {
    display: block;
  }

  #compatibility-app .dh-auth-panel {
    padding: 54px;
  }

  #compatibility-app .dh-nav {
    display: flex;
  }

  #compatibility-app .dh-mobile-nav {
    display: none;
  }

  #compatibility-app .dh-page {
    padding: 30px 0 48px;
  }

  #compatibility-app .dh-header-inner {
    min-height: 75px;
  }

  #compatibility-app .dh-cart-button span {
    display: inline;
  }

  #compatibility-app .dh-customer-hero {
    padding: 42px;
  }

  #compatibility-app .dh-overview-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.8fr) minmax(210px, 0.65fr);
  }

  #compatibility-app .dh-health-card {
    grid-column: auto;
  }

  #compatibility-app .dh-featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #compatibility-app .dh-product-card {
    grid-template-columns: 102px minmax(0, 1fr);
  }

  #compatibility-app .dh-product-image {
    min-height: 133px;
  }

  #compatibility-app .dh-plan-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  #compatibility-app .dh-plan-step-content,
  #compatibility-app .dh-plan-card,
  #compatibility-app .dh-cart-card,
  #compatibility-app .dh-cart-summary,
  #compatibility-app .dh-payment-instruction,
  #compatibility-app .dh-proof-card,
  #compatibility-app .dh-timeline-card,
  #compatibility-app .dh-order-summary {
    padding: 24px;
  }

  #compatibility-app .dh-payment-grid {
    grid-template-columns: minmax(0, 1fr) 356px;
  }

  #compatibility-app .dh-order-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  #compatibility-app .dh-account-page {
    padding-top: 28px;
  }

  #compatibility-app .dh-account-hero {
    padding: 34px;
  }

  #compatibility-app .dh-account-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  #compatibility-app .dh-account-identity {
    grid-row: span 2;
  }

  #compatibility-app .dh-section-head .dh-outline-button {
    display: inline-flex;
  }

  #compatibility-app .dh-toast {
    right: 25px;
    bottom: 25px;
  }
}

@media (min-width: 1080px) {
  #compatibility-app .dh-header-inner,
  #compatibility-app .dh-page {
    width: min(calc(100% - 64px), var(--dh-page));
  }

  #compatibility-app .dh-menu-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  #compatibility-app .dh-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  #compatibility-app *,
  #compatibility-app *::before,
  #compatibility-app *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Phone-first customer home. Kept separate from the operational fallback
   screens so a forced fallback is still a complete customer experience. */
#compatibility-app .dh-phone-home {
  display: grid;
  gap: 0;
  padding-top: 18px;
  padding-bottom: 110px;
}

#compatibility-app .dh-phone-home-hero {
  position: relative;
  display: flex;
  min-height: 196px;
  flex-direction: column;
  overflow: hidden;
  padding: 21px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 5% 10%, rgba(201, 116, 59, 0.2), transparent 11rem),
    radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.1), transparent 10rem),
    linear-gradient(135deg, #3a2a1d, #503c27);
  box-shadow: 0 16px 32px rgba(58, 42, 29, 0.2);
}

#compatibility-app .dh-phone-home-hero::after {
  position: absolute;
  top: -75px;
  left: -59px;
  width: 182px;
  height: 182px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  content: "";
}

#compatibility-app .dh-phone-home-hero > * {
  position: relative;
  z-index: 1;
}

#compatibility-app .dh-phone-home-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#compatibility-app .dh-phone-home-hero-top span {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: var(--dh-lime);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.07em;
}

#compatibility-app .dh-phone-home-hero-top i {
  color: var(--dh-lime);
  font-size: 1.15rem;
  font-style: normal;
}

#compatibility-app .dh-phone-home-hero > p {
  margin: auto 0 5px;
  color: var(--dh-lime);
  font-size: 0.72rem;
  font-weight: 850;
}

#compatibility-app .dh-phone-home-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.82rem, 8vw, 2.35rem);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1.11;
}

#compatibility-app .dh-phone-home-hero > small {
  margin-top: 7px;
  color: #ede0d0;
  font-size: 0.75rem;
}

#compatibility-app .dh-phone-home-hero button {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 15px;
  padding: 7px 11px 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  text-align: start;
  cursor: pointer;
}

#compatibility-app .dh-phone-home-hero button span {
  display: grid;
  gap: 1px;
}

#compatibility-app .dh-phone-home-hero button b {
  font-size: 0.77rem;
}

#compatibility-app .dh-phone-home-hero button em {
  color: #ede0d0;
  font-size: 0.65rem;
  font-style: normal;
}

#compatibility-app .dh-phone-home-hero button > i {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 10px;
  color: var(--dh-forest);
  background: var(--dh-lime);
  font-style: normal;
  font-weight: 900;
}

#compatibility-app .dh-phone-search {
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
  padding: 8px 10px;
  border: 1px solid var(--dh-line);
  border-radius: 18px;
  color: var(--dh-muted);
  background: var(--dh-surface);
  text-align: start;
  box-shadow: var(--dh-shadow-soft);
  cursor: pointer;
}

#compatibility-app .dh-phone-search > span:nth-child(2) {
  flex: 1;
  font-size: 0.83rem;
  font-weight: 700;
}

#compatibility-app .dh-phone-search-icon {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border-radius: 12px;
  color: var(--dh-green);
  background: var(--dh-mint);
  font-size: 1.35rem;
  font-weight: 900;
}

#compatibility-app .dh-phone-search > i {
  padding-inline: 4px;
  color: var(--dh-muted);
  font-style: normal;
}

#compatibility-app .dh-phone-category-wrap .dh-category-tabs {
  margin-top: 0;
  padding-bottom: 0;
}

#compatibility-app .dh-phone-category-wrap .dh-category-tabs button {
  min-height: 44px;
  border-radius: 14px;
  background: var(--dh-surface);
}

#compatibility-app .dh-phone-category-wrap .dh-category-tabs button.is-active {
  color: var(--dh-forest);
  background: var(--dh-lime);
  border-color: var(--dh-lime);
}

#compatibility-app .dh-phone-offer {
  display: flex;
  min-height: 132px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 19px;
  border: 1px solid var(--dh-line);
  border-radius: 24px;
  color: var(--dh-ink);
  background: var(--dh-surface);
  box-shadow: var(--dh-shadow-soft);
  text-align: start;
  cursor: pointer;
}

#compatibility-app .dh-phone-offer-copy {
  display: grid;
  gap: 4px;
}

#compatibility-app .dh-phone-offer-copy small {
  color: var(--dh-green-2);
  font-size: 0.68rem;
  font-weight: 900;
}

#compatibility-app .dh-phone-offer-copy strong {
  max-width: 190px;
  color: var(--dh-ink);
  font-size: 1rem;
  line-height: 1.38;
}

#compatibility-app .dh-phone-offer-copy em {
  margin-top: 4px;
  color: var(--dh-green);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

#compatibility-app .dh-phone-offer-art {
  display: grid;
  width: 75px;
  height: 75px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 24px;
  color: var(--dh-forest);
  background:
    radial-gradient(circle at 65% 35%, #fff 0 8%, transparent 9%),
    linear-gradient(145deg, var(--dh-lime), #efd2b7);
  font-size: 2rem;
}

#compatibility-app .dh-phone-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 13px;
}

#compatibility-app .dh-phone-section-head small {
  display: block;
  margin-bottom: 3px;
  color: var(--dh-green-2);
  font-size: 0.68rem;
  font-weight: 900;
}

#compatibility-app .dh-phone-section-head h2 {
  margin: 0;
  color: var(--dh-ink);
  font-size: 1.25rem;
  font-weight: 950;
  letter-spacing: -0.03em;
}

#compatibility-app .dh-phone-section-head button {
  min-height: 38px;
  padding: 5px 0;
  border: 0;
  color: var(--dh-green);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}

#compatibility-app .dh-phone-featured {
  display: grid;
  gap: 10px;
}

#compatibility-app .dh-phone-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: 8px;
  align-items: center;
  min-height: 102px;
  padding: 9px;
  border: 1px solid var(--dh-line);
  border-radius: 21px;
  background: var(--dh-surface);
  box-shadow: var(--dh-shadow-soft);
}

#compatibility-app .dh-phone-product.is-picked {
  border-color: var(--dh-green);
  box-shadow: 0 0 0 3px rgba(80, 60, 39, 0.09), var(--dh-shadow-soft);
}

#compatibility-app .dh-phone-product-main {
  display: grid;
  grid-template-columns: 81px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
  color: var(--dh-ink);
  background: transparent;
  text-align: start;
  cursor: pointer;
}

#compatibility-app .dh-phone-product-art {
  display: grid;
  width: 81px;
  height: 81px;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  font-size: 2.1rem;
}

#compatibility-app .dh-phone-product-main > span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

#compatibility-app .dh-phone-product-main b {
  overflow: hidden;
  color: var(--dh-ink);
  font-size: 0.81rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#compatibility-app .dh-phone-product-main small {
  color: var(--dh-muted);
  font-size: 0.66rem;
}

#compatibility-app .dh-phone-product-main strong {
  color: var(--dh-green);
  font-size: 0.72rem;
  font-weight: 900;
}

#compatibility-app .dh-phone-product-add {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 14px;
  color: var(--dh-forest);
  background: var(--dh-lime);
  font-size: 1.25rem;
  font-weight: 900;
  cursor: pointer;
}

#compatibility-app .dh-phone-product.is-picked .dh-phone-product-add {
  color: #fff;
  background: var(--dh-green);
}

#compatibility-app .dh-phone-next-meal {
  display: grid;
  grid-template-columns: 47px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  width: 100%;
  margin-top: 17px;
  padding: 14px;
  border: 1px solid var(--dh-line);
  border-radius: 20px;
  color: var(--dh-ink);
  background: var(--dh-surface);
  text-align: start;
  box-shadow: var(--dh-shadow-soft);
  cursor: pointer;
}

#compatibility-app .dh-phone-next-icon {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border-radius: 15px;
  color: var(--dh-green);
  background: var(--dh-mint);
  font-size: 1.25rem;
}

#compatibility-app .dh-phone-next-meal > span:nth-child(2) {
  display: grid;
  gap: 3px;
  min-width: 0;
}

#compatibility-app .dh-phone-next-meal small {
  color: var(--dh-muted);
  font-size: 0.66rem;
}

#compatibility-app .dh-phone-next-meal strong {
  overflow: hidden;
  color: var(--dh-ink);
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#compatibility-app .dh-phone-next-meal em {
  padding: 5px 7px;
  border-radius: 8px;
  color: var(--dh-green);
  background: var(--dh-mint);
  font-size: 0.6rem;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

@media (min-width: 660px) {
  #compatibility-app .dh-phone-home {
    padding-top: 28px;
  }

  #compatibility-app .dh-phone-home-hero {
    min-height: 235px;
    padding: 31px;
  }

  #compatibility-app .dh-phone-featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #compatibility-app .dh-phone-product {
    grid-template-columns: minmax(0, 1fr) 42px;
  }

  #compatibility-app .dh-phone-product-main {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  #compatibility-app .dh-phone-product-art {
    width: 66px;
    height: 76px;
  }
}
