:root[data-brand="diacheck"] {
  --brand: #467823;
  --ink: #172e4d;
  --muted: #496050;
  --surface: #fff;
  --backdrop: #f0f7f1;
  --tint: #e4f5e8;
  --line: #cfdecf;
  --gold: #afd78d;
  --gold-dark: #467823;
  --shadow: 0 3px 15px #30573920;
}

:root[data-brand="diacheck"][data-theme="dark"] {
  --brand: #b2df8c;
  --ink: #eef8ed;
  --muted: #bdcfc0;
  --surface: #22362a;
  --backdrop: #14261e;
  --tint: #2c4936;
  --line: #46604c;
  --gold: #add580;
  --gold-dark: #add580;
  --shadow: 0 3px 14px #070d1860;
}

[data-brand="diacheck"] .auth-card {
  background: #fbfefd url("assets/auth-backdrop.webp") center / cover no-repeat;
}
[data-brand="diacheck"][data-theme="dark"] .auth-card { background: var(--surface); }
[data-brand="diacheck"] .auth-brand { width: min(74%, 230px); }
[data-brand="diacheck"] .intro-image .auth-brand { width: min(76%, 252px); }
[data-brand="diacheck"] .intro-image {
  background-position: center 37%;
}
[data-brand="diacheck"] .intro-caption {
  background: #ffffffdc;
  color: #172e4d;
}
[data-brand="diacheck"] .intro-caption p { color: #467823; }
[data-brand="diacheck"] .meter-hero {
  background: #e7f1f7 url("assets/home-backdrop.webp") center / cover no-repeat;
}
[data-brand="diacheck"] .meter-hero > img {
  opacity: 0;
}
[data-brand="diacheck"] .button:not(.outline) {
  border-color: #467823;
  background: #467823;
  color: white;
}
[data-brand="diacheck"] .home-actions .button:first-child {
  background: var(--tint);
  border-color: var(--line);
}
[data-brand="diacheck"] .phone-input,
[data-brand="diacheck"] .otp-slots span {
  border-color: var(--brand);
}

[data-brand="diacheck"] .meter-hero {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  justify-items: stretch;
  overflow: hidden;
  min-height: 160px;
  padding: 0;
}
[data-brand="diacheck"] .meter-hero > img {
  opacity: 1;
  width: 100%;
  height: 100%;
  min-height: 170px;
  max-height: 230px;
  object-fit: cover;
  object-position: center;
  align-self: stretch;
}
[data-brand="diacheck"] .meter-brand {
  display: grid;
  gap: 5px;
  align-content: center;
  grid-column: 2;
  padding: 18px 10px 18px 9px;
}
[data-brand="diacheck"] .meter-brand > img { width: min(98%, 210px); border-radius: 3px; }
[data-brand="diacheck"] .meter-brand p { font-size: .76rem; font-weight: 700; color: #172e4d; }
[data-brand="diacheck"] .meter-brand small { color: #467823; text-align: right; }
[data-brand="diacheck"] .hero-actions { display: none; }
[data-brand="diacheck"] .auth-badge {
  display: grid;
  width: min(90px, 24vw);
  aspect-ratio: 1;
  place-items: center;
  margin: 0 auto 15px;
  color: #172e4d;
  font-size: 1.85rem;
  background: url("assets/auth-tile.webp") center / contain no-repeat;
}
[data-brand="diacheck"] .manual-icon { width: 31px; height: 31px; margin-inline-end: 7px; }
[data-brand="diacheck"] .home-actions .button { min-height: 50px; }
[data-brand="diacheck"] .day-chip[aria-current="date"] { background: #467823; }
[data-brand="diacheck"] .bottom-nav a[aria-current="page"] { color: var(--ink); background: var(--tint); }
[data-brand="diacheck"] .bottom-nav a[aria-current="page"] img { filter: none; }
[data-brand="diacheck"] .intro-caption { padding: 3px 8px; border-radius: 8px; }
