:root {
  color-scheme: light dark;
  --site-blue: #176b63;
  --site-blue-dark: #11564f;
  --site-ink: #0a0b0d;
  --site-body: #5b616e;
  --site-muted: #7c828a;
  --site-canvas: #fbfaf6;
  --site-soft: #f2f1e9;
  --site-strong: #e7e8df;
  --site-line: #dedfd5;
  --site-success: #05b169;
  --site-danger: #cf202f;
  --site-radius: 12px;
  --site-pill: 100px;
  --site-glass: rgba(255, 255, 255, .68);
  --site-glass-strong: rgba(255, 255, 255, .82);
  --site-glass-line: rgba(255, 255, 255, .72);
  --site-shadow: 0 24px 70px rgba(57, 65, 49, .12);
  --site-shadow-inset: inset 0 1px 0 rgba(255, 255, 255, .95);

  /* Legacy page aliases keep older inline components on the shared palette. */
  --ink: var(--site-ink);
  --navy: var(--site-ink);
  --muted: var(--site-body);
  --line: var(--site-line);
  --paper: var(--site-canvas);
  --surface: var(--site-canvas);
  --soft: var(--site-soft);
  --strong: var(--site-strong);
  --coral: var(--site-blue);
  --accent: var(--site-blue);
  --danger: var(--site-danger);
}

/* Final brand overrides intentionally come after legacy component rules. */
.nav-pill-btn, .button-pill-cta, .btn.primary, .button.primary,
button.primary, input[type="submit"], input[type="button"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .3), transparent 48%),
    linear-gradient(135deg, #e88917, #b95708) !important;
  border-color: rgba(185, 87, 8, .38) !important;
  color: #fff !important;
  text-shadow: none !important;
}

.nav-pill-btn:hover, .button-pill-cta:hover, .btn.primary:hover,
.button.primary:hover, button.primary:hover, input[type="submit"]:hover,
input[type="button"]:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .36), transparent 48%),
    linear-gradient(135deg, #f19a2d, #c9630b) !important;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 4% 8%, rgba(142, 166, 132, .28), transparent 30rem),
    radial-gradient(circle at 96% 10%, rgba(218, 190, 139, .24), transparent 30rem),
    radial-gradient(circle at 52% 100%, rgba(164, 177, 147, .16), transparent 36rem),
    #f2f1e9;
}
body {
  position: relative;
  color: var(--site-body) !important;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .5), rgba(231, 232, 221, .3)),
    transparent !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}
body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  filter: blur(12px);
  opacity: .55;
}
body::before {
  top: 18%;
  left: -12rem;
  background: radial-gradient(circle, rgba(137, 160, 125, .24), transparent 68%);
}
body::after {
  right: -12rem;
  bottom: 8%;
  background: radial-gradient(circle, rgba(211, 181, 125, .2), transparent 68%);
}
h1, h2, h3, h4, h5, h6 { color: var(--site-ink); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
a { color: var(--site-blue); }
a:hover { color: var(--site-blue-dark); }

header, .topbar, .site-header, .page-header {
  border-color: var(--site-line) !important;
}
.topbar, .site-header, .page-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .22)),
    linear-gradient(135deg, rgba(217, 228, 207, .24), rgba(246, 231, 201, .16)) !important;
  border: 1px solid rgba(255, 255, 255, .82) !important;
  box-shadow:
    var(--site-shadow-inset),
    0 16px 42px rgba(57, 65, 49, .14),
    0 0 22px rgba(137, 160, 125, .12),
    inset 0 2px 0 rgba(255, 255, 255, .56),
    inset 0 -2px 7px rgba(93, 105, 77, .09) !important;
  backdrop-filter: saturate(185%) blur(24px);
  -webkit-backdrop-filter: saturate(185%) blur(24px);
}
.topbar::before, .site-header::before, .page-header::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .98), transparent);
  content: "";
  pointer-events: none;
}
.topbar::after, .site-header::after, .page-header::after {
  position: absolute;
  z-index: -1;
  top: 8px;
  left: 12%;
  width: 42%;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .3), transparent);
  content: "";
  filter: blur(10px);
  pointer-events: none;
}
.topbar .status, .site-header .status, .page-header .status {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .54), rgba(255, 255, 255, .2)) !important;
  border: 1px solid rgba(255, 255, 255, .84) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .88),
    inset 0 -2px 5px rgba(93, 105, 77, .09),
    0 8px 20px rgba(57, 65, 49, .09) !important;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.nav-bar {
  position: sticky;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .46), rgba(255, 255, 255, .2)),
    linear-gradient(135deg, rgba(217, 228, 207, .2), rgba(246, 231, 201, .13)) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .88) !important;
  box-shadow:
    var(--site-shadow-inset),
    0 14px 38px rgba(57, 65, 49, .14),
    0 0 24px rgba(137, 160, 125, .12),
    0 2px 8px rgba(57, 65, 49, .07),
    inset 0 2px 0 rgba(255, 255, 255, .58),
    inset 0 3px 7px rgba(255, 255, 255, .12),
    inset 0 -1px 0 rgba(105, 116, 87, .16),
    inset 0 -3px 8px rgba(105, 116, 87, .09),
    inset 0 -5px 12px rgba(80, 94, 67, .05) !important;
  backdrop-filter: saturate(190%) blur(26px);
  -webkit-backdrop-filter: saturate(190%) blur(26px);
}
.nav-bar::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 7%;
  right: 7%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .98), transparent);
  content: "";
  pointer-events: none;
}
.nav-bar::after {
  position: absolute;
  z-index: -1;
  top: 8px;
  left: 12%;
  width: 46%;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, 0));
  content: "";
  filter: blur(10px);
  transform: rotate(-2deg);
  pointer-events: none;
}

main, .shell, .app-shell, .page-shell, .content, .container {
  color: var(--site-body);
}
.card, .panel, .surface, .content-card, article, section.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, .76), rgba(255, 255, 255, .42)) !important;
  border: 1px solid var(--site-glass-line) !important;
  border-radius: var(--site-radius) !important;
  box-shadow:
    var(--site-shadow-inset),
    var(--site-shadow),
    0 0 20px rgba(137, 160, 125, .1) !important;
  backdrop-filter: saturate(145%) blur(18px);
  -webkit-backdrop-filter: saturate(145%) blur(18px);
}
.card::before, .panel::before, .surface::before, .content-card::before,
article::before, section.card::before {
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .95), transparent);
  content: "";
  pointer-events: none;
}

button, .button, .btn, .continue, .nav-pill-btn, .button-pill-cta,
input[type="submit"], input[type="button"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--site-pill) !important;
  border: 1px solid rgba(255, 255, 255, .62) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .34), transparent 48%),
    linear-gradient(135deg, rgba(47, 126, 114, .96), rgba(23, 91, 83, .94)) !important;
  color: #fff !important;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
  font-weight: 600;
  box-shadow:
    0 10px 22px rgba(23, 107, 99, .18),
    0 2px 5px rgba(33, 59, 52, .1),
    inset 0 1px 0 rgba(255, 255, 255, .78),
    inset 0 -1px 0 rgba(12, 67, 61, .22);
  text-shadow: 0 1px 2px rgba(12, 53, 48, .22);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
button::before, .button::before, .btn::before, .continue::before,
.nav-pill-btn::before, .button-pill-cta::before,
input[type="submit"]::before, input[type="button"]::before {
  position: absolute;
  z-index: -1;
  top: -60%;
  left: 8%;
  width: 84%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .25);
  content: "";
  filter: blur(10px);
  pointer-events: none;
}
button:hover, .button:hover, .btn:hover, .continue:hover,
.nav-pill-btn:hover, .button-pill-cta:hover,
input[type="submit"]:hover, input[type="button"]:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .46), transparent 48%),
    linear-gradient(135deg, rgba(57, 139, 125, .98), rgba(27, 105, 95, .96)) !important;
  box-shadow:
    0 13px 26px rgba(23, 107, 99, .24),
    0 3px 8px rgba(33, 59, 52, .12),
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 -1px 0 rgba(12, 67, 61, .2);
  filter: saturate(1.08);
  transform: translateY(-2px);
}

/* Video controls intentionally stay compact and dark over the media surface. */
.lucide-icon {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.patient-video-tool {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  padding: 0 !important;
  border-radius: 9999px !important;
  background: rgba(10, 11, 13, .65) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-size: 11px !important;
}
.patient-video-tool .lucide-icon {
  width: 14px;
  height: 14px;
}
.patient-video-tool::before {
  display: none;
}
.patient-video-tool:hover,
.patient-video-tool:focus-visible {
  background: rgba(255, 255, 255, .2) !important;
  border-color: rgba(255, 255, 255, .3) !important;
  box-shadow: none !important;
}
button:active, .button:active, .btn:active, .continue:active,
.nav-pill-btn:active, .button-pill-cta:active,
input[type="submit"]:active, input[type="button"]:active {
  box-shadow:
    0 5px 12px rgba(23, 107, 99, .16),
    inset 0 2px 5px rgba(12, 67, 61, .18),
    inset 0 1px 0 rgba(255, 255, 255, .5);
  transform: translateY(0) scale(.985);
}
button.secondary, .button.secondary, .btn.secondary, .button-pill-secondary,
.secondary {
  color: var(--site-blue) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .2)) !important;
  border-color: rgba(255, 255, 255, .86) !important;
  box-shadow:
    0 10px 24px rgba(57, 65, 49, .1),
    var(--site-shadow-inset),
    inset 0 -1px 0 rgba(104, 116, 88, .14);
  text-shadow: none;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
button.secondary:hover, .button.secondary:hover, .btn.secondary:hover,
.button-pill-secondary:hover, .secondary:hover {
  color: var(--site-blue-dark) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .84), rgba(225, 232, 212, .5)) !important;
}

/* Segmented clinical selectors use aria-pressed for their selected state. */
.sex-buttons button {
  color: var(--site-ink) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .2)) !important;
  border-color: rgba(255, 255, 255, .86) !important;
  border-radius: var(--site-pill) !important;
  box-shadow:
    0 10px 24px rgba(57, 65, 49, .1),
    var(--site-shadow-inset),
    inset 0 -1px 0 rgba(104, 116, 88, .14) !important;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.sex-buttons button[aria-pressed="true"] {
  color: #fff !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .34), transparent 48%),
    linear-gradient(135deg, rgba(47, 126, 114, .96), rgba(23, 91, 83, .94)) !important;
  border-color: rgba(255, 255, 255, .62) !important;
  box-shadow:
    0 10px 22px rgba(23, 107, 99, .18),
    0 2px 5px rgba(33, 59, 52, .1),
    inset 0 1px 0 rgba(255, 255, 255, .78),
    inset 0 -1px 0 rgba(12, 67, 61, .22) !important;
}
.sex-buttons button:hover,
.sex-buttons button:focus-visible {
  border-color: var(--site-blue) !important;
  box-shadow:
    0 0 0 3px rgba(23, 107, 99, .12),
    0 10px 22px rgba(23, 107, 99, .16),
    var(--site-shadow-inset) !important;
}

input, textarea, select {
  color: var(--site-ink) !important;
  background: rgba(255, 255, 255, .64) !important;
  border: 1px solid var(--site-glass-line) !important;
  border-radius: 8px !important;
  box-shadow: var(--site-shadow-inset);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
input:focus, textarea:focus, select:focus {
  outline: 3px solid rgba(23, 107, 99, .16) !important;
  border-color: var(--site-blue) !important;
}
input:hover, textarea:hover, select:hover {
  background: rgba(255, 255, 255, .8) !important;
  border-color: rgba(23, 107, 99, .3) !important;
}
label { color: var(--site-body); }

.status, .badge, .pill {
  border-radius: var(--site-pill) !important;
  border-color: var(--site-line) !important;
  background: var(--site-soft) !important;
  color: var(--site-ink) !important;
}
.eyebrow { color: var(--site-blue) !important; }
.muted, .helper, .builder-note { color: var(--site-muted); }
.lead { color: var(--site-body) !important; }
.small, .footer { color: var(--site-muted) !important; }
.section { border-color: var(--site-line) !important; }
.btn {
  color: var(--site-ink) !important;
}
.btn.primary {
  color: #fff !important;
}
.nav-pill-primary {
  color: #fff !important;
}
button.danger-button, .button.danger-button {
  color: var(--site-danger) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .58), rgba(255, 255, 255, .16)),
    linear-gradient(135deg, rgba(255, 232, 235, .78), rgba(255, 190, 198, .44)) !important;
  border-color: rgba(207, 32, 47, .34) !important;
  text-shadow: none;
  box-shadow:
    0 10px 24px rgba(145, 30, 45, .14),
    var(--site-shadow-inset),
    inset 0 -1px 0 rgba(145, 30, 45, .14) !important;
}
button.danger-button:hover, .button.danger-button:hover {
  color: #a31827 !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .2)),
    linear-gradient(135deg, rgba(255, 220, 225, .9), rgba(255, 170, 181, .56)) !important;
  border-color: rgba(207, 32, 47, .52) !important;
  box-shadow:
    0 14px 30px rgba(145, 30, 45, .2),
    var(--site-shadow-inset),
    inset 0 -1px 0 rgba(145, 30, 45, .12) !important;
}

/* Keep the UPI deep-link consistent with the shared liquid-glass controls. */
.upi-app-link {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--site-blue) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .64), rgba(255, 255, 255, .22)),
    linear-gradient(135deg, rgba(217, 228, 207, .56), rgba(246, 231, 201, .34)) !important;
  border: 1px solid rgba(255, 255, 255, .86) !important;
  border-radius: var(--site-pill) !important;
  box-shadow:
    0 10px 24px rgba(57, 65, 49, .12),
    inset 0 1px 0 rgba(255, 255, 255, .94),
    inset 0 -2px 5px rgba(93, 105, 77, .1) !important;
  text-shadow: none;
  backdrop-filter: saturate(170%) blur(14px);
  -webkit-backdrop-filter: saturate(170%) blur(14px);
}
.upi-app-link::before {
  position: absolute;
  z-index: -1;
  top: -60%;
  left: 8%;
  width: 84%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  content: "";
  filter: blur(10px);
  pointer-events: none;
}
.upi-app-link:hover,
.upi-app-link:focus-visible {
  color: var(--site-blue-dark) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .32)),
    linear-gradient(135deg, rgba(217, 228, 207, .72), rgba(246, 231, 201, .46)) !important;
  border-color: rgba(255, 255, 255, .98) !important;
  box-shadow:
    0 14px 30px rgba(57, 65, 49, .15),
    inset 0 1px 0 rgba(255, 255, 255, .98),
    inset 0 -2px 6px rgba(93, 105, 77, .12) !important;
  transform: translateY(-2px);
}

.btn:hover, .btn.primary:hover {
  color: inherit !important;
}
.nav-pill-btn:hover, .button-pill-cta:hover {
  color: #fff !important;
}

table { border-color: var(--site-line); }
th { color: var(--site-ink); background: var(--site-soft); }
td { border-color: var(--site-line); }

footer {
  color: var(--site-muted);
  border-color: var(--site-line) !important;
  background: var(--site-glass-strong) !important;
  box-shadow: var(--site-shadow-inset);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 15px !important;
  border: 1px solid rgba(105, 116, 87, .25) !important;
  border-radius: 9999px !important;
  color: #18304f !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(232, 234, 221, .62)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .95),
    0 8px 22px rgba(57, 65, 49, .1),
    0 0 18px rgba(126, 145, 105, .1) !important;
  backdrop-filter: saturate(150%) blur(16px);
  -webkit-backdrop-filter: saturate(150%) blur(16px);
  font-size: 12px !important;
  letter-spacing: .02em;
  white-space: nowrap;
}

.theme-toggle:hover {
  color: #06386a !important;
  border-color: rgba(23, 107, 99, .4) !important;
  background: linear-gradient(135deg, #fff, rgba(225, 232, 212, .84)) !important;
}

.theme-toggle:focus-visible {
  outline: 3px solid rgba(23, 107, 99, .4) !important;
  outline-offset: 3px;
}

.theme-toggle-icon {
  flex: 0 0 auto;
  filter: drop-shadow(0 0 5px rgba(126, 145, 105, .28));
}

@media (max-width: 640px) {
  .theme-toggle {
    gap: 7px;
    min-height: 40px;
    padding: 8px 12px !important;
  }
}

/* Cosmic saffron identity: warm orange accents grounded by midnight navy
   and violet, without using green as the primary brand colour. */
:root {
  --site-blue: #b95708;
  --site-blue-dark: #8f3f05;
  --site-success: #b95708;
  --site-canvas: #fffaf2;
  --site-soft: #fff1dc;
  --site-strong: #f8dfbd;
  --site-line: #ead7c0;
  --site-glass-line: rgba(185, 87, 8, .2);
  --site-shadow: 0 24px 70px rgba(73, 37, 14, .14);
  --coral: #d86f0a;
  --accent: #b95708;
}

html {
  background:
    radial-gradient(circle at 5% 8%, rgba(244, 143, 36, .28), transparent 30rem),
    radial-gradient(circle at 94% 12%, rgba(91, 53, 135, .16), transparent 30rem),
    radial-gradient(circle at 52% 100%, rgba(232, 111, 25, .14), transparent 36rem),
    #fff7eb;
}

body {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .58), rgba(255, 236, 210, .34)),
    transparent !important;
}

body::before { background: radial-gradient(circle, rgba(244, 143, 36, .2), transparent 68%); }
body::after { background: radial-gradient(circle, rgba(91, 53, 135, .14), transparent 68%); }
a { color: #9f4706; }
a:hover { color: #6f2d03; }

.topbar, .site-header, .page-header, .nav-bar {
  background:
    linear-gradient(135deg, rgba(255, 250, 242, .86), rgba(255, 232, 199, .62)),
    linear-gradient(90deg, rgba(232, 111, 25, .12), rgba(91, 53, 135, .08)) !important;
  box-shadow: var(--site-shadow-inset), 0 16px 42px rgba(73, 37, 14, .14),
    0 0 22px rgba(232, 111, 25, .14) !important;
}

.card, .panel, .surface, .content-card, article, section.card {
  box-shadow: var(--site-shadow-inset), var(--site-shadow),
    0 0 20px rgba(232, 111, 25, .1) !important;
}

button, .button, .btn, .continue, .nav-pill-btn, .button-pill-cta,
input[type="submit"], input[type="button"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .3), transparent 48%),
    linear-gradient(135deg, #e88917, #b95708) !important;
  box-shadow: 0 10px 22px rgba(185, 87, 8, .24),
    0 2px 5px rgba(73, 37, 14, .12),
    inset 0 1px 0 rgba(255, 255, 255, .78) !important;
}

button:hover, .button:hover, .btn:hover, .continue:hover,
.nav-pill-btn:hover, .button-pill-cta:hover,
input[type="submit"]:hover, input[type="button"]:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .36), transparent 48%),
    linear-gradient(135deg, #f19a2d, #c9630b) !important;
}

.theme-toggle {
  color: #6f2d03 !important;
  border-color: rgba(185, 87, 8, .26) !important;
  background: linear-gradient(135deg, rgba(255, 246, 230, .92), rgba(255, 229, 192, .8)) !important;
}

/* Deep glass footer with a broad, layered bevel rather than a flat panel. */
footer.footer-light {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72) !important;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .62), rgba(239, 239, 228, .46) 38%, rgba(222, 228, 211, .5) 100%),
    linear-gradient(110deg, rgba(218, 228, 207, .42), rgba(246, 231, 201, .26)) !important;
  box-shadow:
    0 18px 45px rgba(57, 65, 49, .12),
    0 3px 10px rgba(57, 65, 49, .07),
    0 0 22px rgba(137, 160, 125, .1),
    inset 0 1px 0 rgba(255, 255, 255, .9),
    inset 0 -1px 0 rgba(132, 142, 111, .2) !important;
  backdrop-filter: saturate(135%) blur(28px);
  -webkit-backdrop-filter: saturate(135%) blur(28px);
}

footer.footer-light::before {
  position: absolute;
  z-index: -1;
  content: "";
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 25px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .28), transparent 30%),
    linear-gradient(300deg, rgba(145, 163, 126, .1), transparent 34%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .72),
    inset 0 -1px 2px rgba(94, 105, 76, .12);
  pointer-events: none;
}

footer.footer-light > * {
  position: relative;
  z-index: 1;
}

/* Compact public-page link bars use the same polished glass treatment at a smaller scale. */
footer.footer:not(.footer-light) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 18px 24px !important;
  border: 1px solid rgba(255, 255, 255, .7) !important;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .58), rgba(240, 239, 229, .44) 44%, rgba(224, 228, 215, .48)),
    linear-gradient(110deg, rgba(218, 228, 207, .36), rgba(246, 231, 201, .22)) !important;
  box-shadow:
    0 12px 28px rgba(57, 65, 49, .09),
    0 0 18px rgba(137, 160, 125, .08),
    inset 0 1px 0 rgba(255, 255, 255, .86),
    inset 0 -1px 0 rgba(132, 142, 111, .18) !important;
  backdrop-filter: saturate(130%) blur(22px);
  -webkit-backdrop-filter: saturate(130%) blur(22px);
}

footer.footer:not(.footer-light)::before {
  position: absolute;
  z-index: -1;
  content: "";
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 17px;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .62),
    inset 0 -1px 2px rgba(94, 105, 76, .1);
  pointer-events: none;
}

footer.footer:not(.footer-light) > * {
  position: relative;
  z-index: 1;
}

.glass, .glass-surface {
  background: var(--site-glass) !important;
  border: 1px solid var(--site-glass-line) !important;
  box-shadow:
    var(--site-shadow-inset),
    var(--site-shadow),
    0 0 20px rgba(137, 160, 125, .1) !important;
  backdrop-filter: saturate(145%) blur(18px);
  -webkit-backdrop-filter: saturate(145%) blur(18px);
}

/* Patient sign-in dialog: a translucent layer over the page rather than a flat card. */
.modal-overlay {
  background:
    linear-gradient(135deg, rgba(25, 40, 68, .42), rgba(88, 104, 138, .28)),
    rgba(25, 31, 40, .28) !important;
}
.login-modal-card {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .46)) !important;
  border: 1px solid rgba(255, 255, 255, .9) !important;
  border-radius: 24px !important;
  box-shadow:
    var(--site-shadow-inset),
    0 30px 80px rgba(31, 48, 78, .28),
    0 8px 24px rgba(31, 48, 78, .14) !important;
  backdrop-filter: saturate(155%) blur(24px);
  -webkit-backdrop-filter: saturate(155%) blur(24px);
}
.login-modal-card::before {
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .98), transparent);
  content: "";
  pointer-events: none;
}

/* Page-specific controls keep the same glass treatment despite local styles. */
.nav-pill-btn,
.button-pill-cta {
  color: #fff !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .34), transparent 48%),
    linear-gradient(135deg, rgba(47, 126, 114, .96), rgba(23, 91, 83, .94)) !important;
  border: 1px solid rgba(255, 255, 255, .62) !important;
  box-shadow:
    0 10px 22px rgba(23, 107, 99, .18),
    0 2px 5px rgba(33, 59, 52, .1),
    inset 0 1px 0 rgba(255, 255, 255, .78),
    inset 0 -1px 0 rgba(12, 67, 61, .22) !important;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.button-pill-secondary,
.continue-consult-btn,
.google-signin-btn,
.patient-login-icon,
.modal-close-btn {
  color: var(--site-ink) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .2)) !important;
  border: 1px solid rgba(255, 255, 255, .86) !important;
  box-shadow:
    0 10px 24px rgba(57, 65, 49, .1),
    var(--site-shadow-inset),
    inset 0 -1px 0 rgba(104, 116, 88, .14) !important;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.nav-pill-btn:hover,
.button-pill-cta:hover {
  color: #fff !important;
}
.button-pill-secondary:hover,
.continue-consult-btn:hover,
.google-signin-btn:hover,
.patient-login-icon:hover,
.modal-close-btn:hover {
  color: var(--site-blue-dark) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .84), rgba(225, 232, 212, .5)) !important;
  border-color: rgba(23, 107, 99, .32) !important;
}

@media (prefers-reduced-transparency: reduce) {
  .topbar, .site-header, .page-header, .nav-bar, .card, .panel, .surface,
  .content-card, article, section.card, footer, .glass, .glass-surface {
    background: var(--site-canvas) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .topbar .status, .site-header .status, .page-header .status {
    background: var(--site-canvas) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .modal-overlay {
    background: rgba(25, 31, 40, .48) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .login-modal-card {
    background: var(--site-canvas) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-pill-btn, .button-pill-cta, .button-pill-secondary,
  .continue-consult-btn, .google-signin-btn, .patient-login-icon,
  .modal-close-btn {
    background: var(--site-canvas) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  body::before, body::after { display: none; }
}

/* Final cosmic saffron overrides after all legacy component rules. */
.nav-pill-btn, .button-pill-cta, .btn.primary, .button.primary,
button.primary, input[type="submit"], input[type="button"] {
  background: linear-gradient(180deg, rgba(255, 255, 255, .3), transparent 48%), linear-gradient(135deg, #e88917, #b95708) !important;
  border-color: rgba(185, 87, 8, .38) !important;
}
.nav-pill-btn:hover, .button-pill-cta:hover, .btn.primary:hover,
.button.primary:hover, button.primary:hover, input[type="submit"]:hover,
input[type="button"]:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, .36), transparent 48%), linear-gradient(135deg, #f19a2d, #c9630b) !important;
}

/* Cosmic saffron light palette; theme-dark.css supplies the black mode. */
:root {
  color-scheme: light;
  --colors-primary: #b95708;
  --colors-primary-active: #8f3f05;
  --colors-primary-disabled: #c9a27d;
  --colors-accent-yellow: #ffb24d;
  --colors-canvas: #fffaf2;
  --colors-surface-soft: #fff1dc;
  --colors-surface-strong: #f8dfbd;
  --colors-surface-dark: #24170f;
  --colors-surface-dark-elevated: #35251a;
  --colors-hairline: rgba(92, 57, 28, .18);
  --colors-hairline-soft: rgba(92, 57, 28, .1);
  --colors-ink: #24170f;
  --colors-body: #574c43;
  --colors-body-strong: #302217;
  --colors-muted: #786b60;
  --colors-muted-soft: #94867a;
  --colors-on-primary: #fff;
  --colors-on-dark: #fff4e4;
  --colors-on-dark-soft: #d8c9b9;
  --site-blue: #b95708;
  --site-blue-dark: #8f3f05;
  --site-ink: #24170f;
  --site-body: #574c43;
  --site-muted: #786b60;
  --site-canvas: #fffaf2;
  --site-soft: #fff1dc;
  --site-strong: #f8dfbd;
  --site-line: rgba(92, 57, 28, .18);
  --site-success: #3f805c;
  --site-danger: #b93838;
  --site-glass: rgba(255, 250, 242, .88);
  --site-glass-strong: rgba(255, 250, 242, .97);
  --site-glass-line: rgba(92, 57, 28, .16);
  --site-shadow: 0 20px 54px rgba(73, 37, 14, .12);
  --site-shadow-inset: inset 0 1px 0 rgba(255, 255, 255, .86);
  --ink: var(--site-ink);
  --navy: var(--site-ink);
  --muted: var(--site-body);
  --line: var(--site-line);
  --paper: var(--site-canvas);
  --surface: var(--site-canvas);
  --soft: var(--site-soft);
  --strong: var(--site-strong);
  --coral: var(--site-blue);
  --accent: var(--site-blue);
}

html {
  overflow-x: clip;
  min-height: 100%;
  background:
    radial-gradient(ellipse 82rem 58rem at 50% 16%, rgba(232, 111, 25, .14), transparent 72%),
    radial-gradient(ellipse 72rem 64rem at 92% 44%, rgba(122, 67, 158, .09), transparent 74%),
    #fffaf2 !important;
  background-attachment: fixed !important;
}

body {
  overflow-x: clip;
  min-height: 100vh;
  color: var(--site-body) !important;
  background:
    radial-gradient(ellipse 70rem 48rem at 52% 16%, rgba(232, 111, 25, .055), transparent 76%),
    radial-gradient(ellipse 64rem 58rem at 92% 70%, rgba(122, 67, 158, .04), transparent 76%),
    transparent !important;
  color-scheme: light;
}

body::before {
  background: radial-gradient(circle, rgba(232, 111, 25, .16), transparent 68%) !important;
  opacity: .65 !important;
}

body::after {
  background: radial-gradient(circle, rgba(117, 72, 158, .08), transparent 68%) !important;
  opacity: .58 !important;
}

h1, h2, h3, h4, h5, h6, th, strong, dt, summary,
.brand-title, .nav-bar, .topbar, .site-header, .page-header {
  color: var(--site-ink) !important;
}

p, li, label, dd, .lead, .small, .muted, .helper, .builder-note,
.footer, .section-intro, .eyebrow {
  color: var(--site-body) !important;
}

a, a:visited { color: #9f4706 !important; }
a:hover { color: #6f2d03 !important; }

header, .topbar, .site-header, .page-header, .nav-bar,
footer, footer.footer-light, footer.footer:not(.footer-light) {
  color: var(--site-body) !important;
  background: rgba(255, 250, 242, .9) !important;
  border-color: var(--site-glass-line) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 14px 36px rgba(73, 37, 14, .12) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-container {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.card, .panel, .surface, .content-card, article, section.card,
.glass, .glass-surface, .mode-card, .medication-builder,
.quick-actions, .verification, .india-references, .form-help,
.faq-item, .faq-card, .trust-card, .service-card, .credential,
.timing-banner, .notice, .scope-band, .vitals-section,
.verification-band, .portrait-badge-overlay {
  color: var(--site-body) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(255, 243, 224, .94)) !important;
  border-color: rgba(92, 57, 28, .14) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86), 0 16px 38px rgba(73, 37, 14, .1) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

input, textarea, select, .form-control {
  color: #302217 !important;
  background: #fffdf9 !important;
  border-color: rgba(92, 57, 28, .22) !important;
}

input::placeholder, textarea::placeholder { color: #88796b !important; }
input:focus, textarea:focus, select:focus {
  border-color: #b95708 !important;
  box-shadow: 0 0 0 3px rgba(232, 137, 23, .2) !important;
}

.theme-toggle {
  color: #6f2d03 !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(255, 232, 199, .86)) !important;
  border-color: rgba(185, 87, 8, .24) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 22px rgba(73, 37, 14, .12), 0 0 18px rgba(232, 111, 25, .1) !important;
}

.theme-toggle:hover {
  border-color: rgba(185, 87, 8, .42) !important;
  background: linear-gradient(135deg, #fff, #ffe5bf) !important;
}

.theme-toggle-icon { color: #b95708; filter: drop-shadow(0 0 5px rgba(232, 111, 25, .22)); }
:focus-visible { outline-color: #b95708 !important; }

/* Improve information hierarchy in the dark consultation footer. */
body.patient-view footer.footer-light .footer-heading {
  color: #ffbd68 !important;
}

body.patient-view footer.footer-light .footer-text,
body.patient-view footer.footer-light .footer-mono {
  color: #d9dde5 !important;
}

body.patient-view footer.footer-light .footer-link {
  color: #ffb45f !important;
}

body.patient-view footer.footer-light .footer-link:hover {
  color: #ffdaa6 !important;
}

body.patient-view footer.footer-light .footer-text[style*="colors-semantic-down"] {
  color: #ff737d !important;
}

/* Keep the UPI payment rail on its proven dark-and-green palette in either theme. */
body.patient-view #paymentQrPanel {
  color: #e4e7ec !important;
  background: #0b0d11 !important;
  border-color: rgba(255, 255, 255, .1) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .05) !important;
}

body.patient-view #paymentQrPanel #paymentQrTitle {
  color: #ffb24d !important;
}

body.patient-view #paymentQrPanel .payment-panel-content > span {
  color: #b9bec9 !important;
}

body.patient-view #paymentQrPanel .payment-panel-content > span strong {
  color: #a5dfd2 !important;
  background: rgba(131, 203, 187, .14) !important;
}

body.patient-view #paymentQrPanel .payment-panel-toggle {
  color: #d9efe9 !important;
  background: linear-gradient(145deg, #263b37, #172521) !important;
  border-color: rgba(131, 203, 187, .28) !important;
  box-shadow: inset 0 1px 0 rgba(231, 240, 232, .12), 0 4px 12px rgba(0, 0, 0, .28) !important;
}

body.patient-view #paymentQrPanel .payment-panel-toggle:hover,
body.patient-view #paymentQrPanel .payment-panel-toggle:focus-visible {
  color: #fff !important;
  background: linear-gradient(145deg, #31534a, #1c3932) !important;
  border-color: rgba(155, 216, 204, .5) !important;
}

body.patient-view #paymentQrPanel .upi-app-link {
  color: #fff !important;
  background: #347d6c !important;
  border-color: rgba(155, 216, 204, .42) !important;
  box-shadow: 0 8px 20px rgba(23, 88, 74, .3), inset 0 1px 0 rgba(232, 243, 235, .3) !important;
}

body.patient-view #paymentQrPanel .upi-app-link:hover,
body.patient-view #paymentQrPanel .upi-app-link:focus-visible {
  color: #fff !important;
  background: #438c79 !important;
  border-color: rgba(174, 231, 218, .62) !important;
}

.hero-section {
  position: relative;
  isolation: isolate;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.hero-section::before {
  position: absolute;
  z-index: -1;
  inset: -12rem 0;
  background:
    radial-gradient(ellipse 58% 48% at 68% 32%, rgba(232, 111, 25, .14), transparent 78%),
    radial-gradient(ellipse 48% 50% at 19% 70%, rgba(114, 57, 151, .07), transparent 80%);
  content: "";
  filter: blur(76px);
  opacity: .72;
  pointer-events: none;
}

.hero-section h1, .hero-section h2, .hero-section h3 { color: #24170f !important; }
.hero-section .hero-intro, .hero-section p { color: #574c43 !important; }
.hero-section .eyebrow { color: #9f4706 !important; }
.trust-icon-plate { color: #9f4706 !important; background: rgba(232, 111, 25, .12) !important; }

.portrait-badge-overlay {
  color: #24170f !important;
  background: rgba(255, 250, 242, .97) !important;
  border-color: rgba(92, 57, 28, .2) !important;
}

.portrait-badge-overlay .portrait-name {
  color: #24170f !important;
}

.portrait-badge-overlay .portrait-meta,
.portrait-badge-overlay .portrait-meta span {
  color: #574c43 !important;
}

.nav-pill-btn, .button-pill-cta, .btn, .button, button,
input[type="submit"], input[type="button"] {
  color: #fff !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .3), transparent 48%), linear-gradient(135deg, #e88917, #a94b07) !important;
  border-color: rgba(185, 87, 8, .38) !important;
  text-transform: capitalize;
}

.nav-pill-btn:hover, .button-pill-cta:hover, .btn:hover, .button:hover,
button:hover, input[type="submit"]:hover, input[type="button"]:hover {
  color: #fff !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, .36), transparent 48%), linear-gradient(135deg, #f19a2d, #c9630b) !important;
}

input[type="reset"], input[type="image"], .button.secondary {
  text-transform: capitalize;
}

button, [role="button"], .button, .btn, .nav-pill-btn, .button-pill-cta,
input[type="submit"], input[type="button"], input[type="reset"] {
  text-transform: capitalize;
}

@media (prefers-reduced-transparency: reduce) {
  .card, .panel, .surface, .content-card, article, section.card,
  .glass, .glass-surface, .topbar, .site-header, .page-header,
  .nav-bar, footer, footer.footer-light, footer.footer:not(.footer-light) {
    background: #fffaf2 !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 700ms;
  animation-timing-function: cubic-bezier(.22, .75, .25, 1);
}

@view-transition {
  navigation: auto;
}

html.theme-transitioning,
html.theme-transitioning body,
html.theme-transitioning body * {
  transition:
    color 680ms cubic-bezier(.22, .75, .25, 1),
    background-color 680ms cubic-bezier(.22, .75, .25, 1),
    border-color 680ms cubic-bezier(.22, .75, .25, 1),
    box-shadow 680ms cubic-bezier(.22, .75, .25, 1) !important;
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 1ms;
  }

  html.theme-transitioning,
  html.theme-transitioning body,
  html.theme-transitioning body * {
    transition-duration: 1ms !important;
  }
}

button.secondary:disabled,
.button.secondary:disabled,
.btn.secondary:disabled {
  color: #fff4e4 !important;
  background: linear-gradient(145deg, #34363b, #242529) !important;
  border-color: rgba(255, 255, 255, .2) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08) !important;
  opacity: 1 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
}

body:not(.patient-view) .private-meeting-tools > summary {
  border: 1px solid rgba(185, 87, 8, .24) !important;
  border-radius: 999px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .76), rgba(255, 255, 255, .38)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    0 6px 16px rgba(86, 54, 28, .12) !important;
  color: #843800 !important;
}

body:not(.patient-view) .private-meeting-tools > summary:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .52)) !important;
  border-color: rgba(132, 56, 0, .4) !important;
  color: #642900 !important;
}

body:not(.patient-view) .hero-band-dark .hero-band-head h2 {
  color: #fff4e4 !important;
}

body:not(.patient-view) .topbar a,
body:not(.patient-view) .topbar a:visited,
body:not(.patient-view) footer a,
body:not(.patient-view) footer a:visited {
  color: #843800 !important;
}

body:not(.patient-view) .topbar a:hover,
body:not(.patient-view) footer a:hover {
  color: #642900 !important;
}

body:not(.patient-view) footer.footer-light .footer-link,
body:not(.patient-view) footer.footer-light .footer-link:visited {
  color: #843800 !important;
}

body:not(.patient-view) footer.footer-light .footer-link:hover {
  color: #642900 !important;
}

body:not(.patient-view) button.secondary:not(:disabled),
body:not(.patient-view) .button.secondary:not(:disabled),
body:not(.patient-view) .btn.secondary:not(:disabled),
body:not(.patient-view) a.button.secondary {
  color: #843800 !important;
}

body:not(.patient-view) #toggleAdmissions.danger-button {
  color: #8a1822 !important;
  background: linear-gradient(145deg, #fff1ee, #ffd8d3) !important;
  border-color: #b93838 !important;
}

body:not(.patient-view) #toggleAdmissions.danger-button:hover {
  background: linear-gradient(145deg, #ffe5e1, #ffc9c3) !important;
}

body:not(.patient-view) .queue-icon:not(.secondary) {
  color: #fff4e4 !important;
  background: linear-gradient(145deg, #7a3500, #612700) !important;
  border-color: rgba(92, 40, 0, .48) !important;
}

body:not(.patient-view) .queue-icon:not(.secondary):hover {
  background: linear-gradient(145deg, #843800, #6f2d03) !important;
}

body.patient-view .doctor-video-waiting strong {
  color: #fff4e4 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .7);
}

body.patient-view .doctor-video-waiting span {
  color: #e7ded4 !important;
}

.emergency-number {
  color: #c00000 !important;
  font-weight: 800 !important;
  white-space: nowrap;
}

body.patient-view .emergency-number {
  color: #ff4d4f !important;
}

/* Shared rounded glass surfaces for legacy pages and inline-styled screens. */
:root {
  --site-radius: 20px;
  --site-pill: 9999px;
}

header:not(.nav-bar), .topbar, .site-header, .page-header,
.card, .panel, .surface, .content-card, article, section.card,
.glass, .glass-surface, .mode-card, .medication-builder, .quick-actions,
.verification, .india-references, .form-help, .faq-item, .faq-card,
.trust-card, .service-card, .credential, .timing-banner, .notice,
.scope-band, .vitals-section, .verification-band, .portrait-badge-overlay,
.table-wrap, .table-container, .detail, dialog, [role="dialog"],
.modal-card, .login-modal-card, fieldset {
  border-radius: 20px !important;
  border-color: var(--site-glass-line) !important;
  background-color: var(--site-glass) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .72),
    0 16px 40px rgba(57, 65, 49, .12) !important;
  backdrop-filter: saturate(155%) blur(18px);
  -webkit-backdrop-filter: saturate(155%) blur(18px);
}

header:not(.nav-bar) {
  padding: 18px 22px;
  border: 1px solid var(--site-glass-line) !important;
}

.table-wrap, .table-container {
  overflow: auto;
  border: 1px solid var(--site-glass-line) !important;
}

table {
  border-collapse: separate !important;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .48) !important;
}

th {
  background: rgba(255, 255, 255, .54) !important;
}

td, th {
  border-color: rgba(92, 57, 28, .12) !important;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="hidden"]),
select, textarea {
  border-radius: 14px !important;
  border-color: rgba(92, 57, 28, .18) !important;
  background: rgba(255, 255, 255, .58) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .78),
    0 5px 14px rgba(57, 65, 49, .06) !important;
}

input[type="checkbox"], input[type="radio"] {
  border-radius: 5px;
  accent-color: var(--site-blue);
}

dialog {
  border: 1px solid var(--site-glass-line) !important;
  background: rgba(255, 250, 242, .88) !important;
}

summary, .status, .badge, .pill {
  border-radius: 9999px !important;
}

a.nav-pill-btn:link,
a.nav-pill-btn:visited,
a.nav-pill-btn:hover,
a.nav-pill-btn:active,
a.button-pill-cta:link,
a.button-pill-cta:visited,
a.button-pill-cta:hover,
a.button-pill-cta:active {
  color: #fff !important;
}

@media (prefers-reduced-transparency: reduce) {
  header:not(.nav-bar), .topbar, .site-header, .page-header,
  .card, .panel, .surface, .content-card, article, section.card,
  .glass, .glass-surface, .mode-card, .medication-builder, .quick-actions,
  .verification, .india-references, .form-help, .faq-item, .faq-card,
  .trust-card, .service-card, .credential, .timing-banner, .notice,
  .scope-band, .vitals-section, .verification-band, .portrait-badge-overlay,
  .table-wrap, .table-container, dialog, [role="dialog"],
  .modal-card, .login-modal-card, fieldset {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
