html.drugdb-html,
html.drugdb-html body.drugdb-body {
  height: auto !important;
  min-height: 100%;
  overflow: auto !important;
}

body.drugdb-body {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
}

body[data-page="baza-lijekova"] {
  background: #f4f7fb;
  color: #0f172a;
}

body[data-page="baza-lijekova"] *,
body[data-page="baza-lijekova"] *::before,
body[data-page="baza-lijekova"] *::after {
  box-sizing: border-box;
}

body[data-page="baza-lijekova"] .subtitle {
  display: none;
}


body.drugdb-body--detail {
  --drugdb-hero-top: var(--wa-green-dark);
  --drugdb-hero-top-2: color-mix(in srgb, var(--wa-green-dark) 88%, var(--wa-green) 12%);
  --drugdb-hero-mid: var(--wa-green);
  --drugdb-hero-glow: #58d9ca;
  --drugdb-hero-glow-soft: rgba(88,217,202,.18);
  --drugdb-hero-deep: #0b6171;
  --drugdb-hero-deepest: #08384d;
}

body.drugdb-body--detail .topbar {
  background: var(--wa-green-dark);
  border-bottom-color: transparent;
  box-shadow: none;
}


body.drugdb-body--detail .drugdb-shell {
  background: linear-gradient(
    180deg,
    var(--wa-green-dark) 0px,
    var(--wa-green-dark) calc(var(--drugdb-topbar-h, 76px) + 26px),
    color-mix(in srgb, var(--wa-green-dark) 74%, var(--wa-green) 26%) calc(var(--drugdb-topbar-h, 76px) + 54px),
    #f4f7fb calc(var(--drugdb-topbar-h, 76px) + 56px)
  );
}

.drugdb-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.drugdb-topbar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: .55rem .95rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.14);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
}

.drugdb-topbar-btn:hover {
  color: #fff;
  text-decoration: none;
  background: rgba(255,255,255,.20);
}

.drugdb-wrap {
  width: min(1240px, calc(100% - 24px));
  max-width: 100%;
  margin: 20px auto 40px;
  display: grid;
  gap: 18px;
  align-items: start;
}

.drugdb-wrap.has-detail {
  margin-top: 0;
  width: min(1680px, calc(100% - 24px));
}


.drugdb-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(2,6,23,.06);
  padding: 22px;
  min-width: 0;
}

.drugdb-search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 22px;
  align-items: center;
  overflow: visible;
  position: relative;
  z-index: 18;
}

.drugdb-search-copy {
  min-width: 0;
}

.drugdb-title {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.15;
}

.drugdb-sub {
  color: #475569;
  margin-top: 10px;
  line-height: 1.6;
}

.drugdb-form {
  display: grid;
  gap: 12px;
}

.drugdb-field {
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 24;
}

.drugdb-label {
  font-weight: 800;
  color: #0f172a;
  font-size: .92rem;
}

.drugdb-input {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 18px;
  padding: 0 1rem;
  font: inherit;
  background: #fff;
  color: #0f172a;
  transition: border-radius .14s ease, border-color .14s ease, box-shadow .14s ease;
}

.drugdb-input:focus {
  outline: none;
  border-color: rgba(18,140,126,.55);
  box-shadow: 0 0 0 4px rgba(18,140,126,.12);
}

.drugdb-field.is-open .drugdb-input {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.drugdb-field.is-open .drugdb-autocomplete {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.drugdb-hint {
  color: #64748b;
  font-size: .9rem;
  line-height: 1.45;
}

.drugdb-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.drugdb-actions .btn {
  min-height: 48px;
  border-radius: 14px;
  font-weight: 800;
  padding: .8rem 1rem;
}

.drugdb-actions .btn-ghost {
  border: 1px solid rgba(15,23,42,.10) !important;
  background: #fff !important;
  color: #334155 !important;
}

.drugdb-actions .btn-ghost:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
}

.drugdb-autocomplete {
  display: grid;
  gap: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% - 1px);
  border: 1px solid rgba(15,23,42,.10);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(2,6,23,.08);
  max-height: min(320px, 52dvh);
  overflow-y: auto;
  z-index: 40;
}

.drugdb-autocomplete[hidden] {
  display: none !important;
}

.drugdb-autocomplete-btn {
  appearance: none;
  border: 0;
  border-top: 1px solid rgba(15,23,42,.06);
  background: #fff;
  color: #0f172a;
  text-align: left;
  padding: .9rem 1rem;
  display: grid;
  gap: 8px;
  font: inherit;
  cursor: pointer;
}

.drugdb-autocomplete-btn:first-child {
  border-top: 0;
}

.drugdb-autocomplete-btn:hover,
.drugdb-autocomplete-btn:focus,
.drugdb-autocomplete-btn.is-active {
  outline: none;
  background: #f8fafc;
}

.drugdb-autocomplete-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.drugdb-autocomplete-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #64748b;
  font-size: .88rem;
  line-height: 1.35;
}

.drugdb-autocomplete-line2 {
  color: #475569;
  font-size: .86rem;
  line-height: 1.35;
}

.drugdb-autocomplete-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drugdb-autocomplete-flags .drugdb-badge {
  min-height: 24px;
  padding: .18rem .52rem;
  font-size: .72rem;
}

.drugdb-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: .28rem .62rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: .78rem;
  font-weight: 800;
}

.drugdb-badge.mixed,
.drugdb-badge.muted {
  background: #f8fafc;
  color: #475569;
}

.drugdb-badge.oll,
.drugdb-badge.success {
  background: #ecfdf5;
  color: #065f46;
}

.drugdb-badge.dll {
  background: #fff7ed;
  color: #9a3412;
}

.drugdb-badge.copay {
  background: #eff6ff;
  color: #1d4ed8;
}

.drugdb-main {
  min-width: 0;
  transition: opacity .18s ease, filter .18s ease, transform .18s ease;
}

.drugdb-main.is-searching {
  opacity: .5;
  filter: blur(1px);
  pointer-events: none;
  transform: translateY(2px);
}

.drugdb-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.drugdb-head-main {
  min-width: 0;
}

.drugdb-kicker {
  color: #64748b;
  font-size: .84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 6px;
}

.drugdb-empty {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px dashed rgba(15,23,42,.16);
  border-radius: 18px;
  background: #fcfffe;
  color: #475569;
}

.drugdb-empty-soft {
  background: #f8fafc;
}

.drugdb-empty-title {
  font-size: 1rem;
  font-weight: 900;
  color: #0f172a;
}

.drugdb-error {
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff7ed;
  border: 1px solid rgba(234,88,12,.18);
  color: #9a3412;
}

.drugdb-list {
  display: grid;
  gap: 14px;
}

.drugdb-result-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.drugdb-result-card:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-1px);
  border-color: rgba(18,140,126,.28);
  box-shadow: 0 12px 24px rgba(2,6,23,.08);
}

.drugdb-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.drugdb-result-title {
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.28;
}

.drugdb-result-sub {
  color: #475569;
  line-height: 1.45;
}

.drugdb-result-meta {
  margin-top: 6px;
  color: #475569;
  font-size: .92rem;
  line-height: 1.45;
}

.drugdb-result-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.drugdb-result-flag {
  min-height: 24px;
  padding: .18rem .52rem;
  font-size: .72rem;
}

.drugdb-result-foot {
  color: #334155;
  font-size: .95rem;
}

.drugdb-breadcrumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.drugdb-backlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f766e;
  font-weight: 800;
  text-decoration: none;
}

.drugdb-backlink:hover {
  text-decoration: underline;
}

.drugdb-detail-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
  align-items: start;
}

.drugdb-detail-main {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.drugdb-detail-rail {
  min-width: 0;
}

.drugdb-detail-rail-stack {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 16px;
}

.drugdb-hero {
  overflow: hidden;
}

.drugdb-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 22px;
  align-items: start;
}

.drugdb-hero-main {
  min-width: 0;
}

.drugdb-detail-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.08;
}

.drugdb-detail-subtitle {
  margin-top: 8px;
  color: #334155;
  font-size: 1.04rem;
  line-height: 1.45;
}

.drugdb-hero-meta {
  margin-top: 12px;
  color: #64748b;
  line-height: 1.5;
}

.drugdb-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.drugdb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.drugdb-quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: .58rem .92rem;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.09);
  background: #fff;
  color: #0f172a;
  font-weight: 800;
  text-decoration: none;
}

.drugdb-quick-link:hover {
  text-decoration: none;
  border-color: rgba(18,140,126,.25);
  color: #0f766e;
  background: #f8fffe;
}

.drugdb-hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.drugdb-fact-card,
.drugdb-info-card,
.drugdb-sidebar-panel {
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  background: #fff;
}

.drugdb-fact-card {
  padding: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.drugdb-info-label {
  display: block;
  color: #64748b;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.drugdb-fact-value {
  margin-top: 6px;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

.drugdb-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: sticky;
  top: 12px;
  z-index: 10;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(2,6,23,.06);
}

.drugdb-section-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: .5rem .85rem;
  border-radius: 999px;
  background: #f8fafc;
  color: #334155;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}

.drugdb-section-chip:hover {
  text-decoration: none;
  color: #0f172a;
  border-color: rgba(18,140,126,.18);
}

.drugdb-section-chip.is-active {
  background: #e6fffb;
  color: #0f766e;
  border-color: rgba(18,140,126,.24);
}

.drugdb-section {
  scroll-margin-top: 86px;
}

.drugdb-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.drugdb-card-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 900;
}

.drugdb-section-sub {
  margin-top: 6px;
  color: #64748b;
  line-height: 1.45;
}

.drugdb-filter-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.drugdb-filter-chip {
  appearance: none;
  border: 1px solid rgba(15,23,42,.09);
  background: #fff;
  color: #334155;
  min-height: 36px;
  padding: .45rem .8rem;
  border-radius: 999px;
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
  cursor: pointer;
}

.drugdb-filter-chip.is-active {
  border-color: rgba(18,140,126,.24);
  background: #e6fffb;
  color: #0f766e;
}

.drugdb-table-wrap {
  overflow: auto;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
}

.drugdb-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.drugdb-table th,
.drugdb-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(15,23,42,.07);
  vertical-align: top;
  text-align: left;
}

.drugdb-table th {
  background: #f8fafc;
  color: #334155;
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.drugdb-table tr:last-child td {
  border-bottom: 0;
}

.drugdb-package-title {
  font-weight: 900;
  line-height: 1.32;
}

.drugdb-package-meta {
  margin-top: 6px;
  color: #475569;
  line-height: 1.45;
}

.drugdb-copay-value {
  font-weight: 900;
  color: #0f172a;
}

.drugdb-package-cards {
  display: none;
}

.drugdb-package-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  background: #fff;
}

.drugdb-package-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.drugdb-package-card-main {
  min-width: 0;
}

.drugdb-package-card-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.drugdb-package-card-footer {
  display: flex;
  justify-content: flex-end;
}

.drugdb-package-rx-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(59, 130, 246, .12);
  border: 1px solid rgba(59, 130, 246, .18);
  color: #1d4ed8;
  font-weight: 900;
  font-size: .95rem;
  flex: 0 0 auto;
}

.drugdb-package-stat {
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8fafc;
}

.drugdb-alt-list {
  display: grid;
  gap: 12px;
}

.drugdb-alt-card {
  padding: 16px;
  border: 1px solid rgba(16,185,129,.16);
  border-radius: 18px;
  background: linear-gradient(180deg, #f3fff9 0%, #ecfdf5 100%);
}

.drugdb-alt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.drugdb-alt-title {
  font-weight: 900;
  line-height: 1.3;
}

.drugdb-alt-sub {
  color: #065f46;
  margin-top: 4px;
  line-height: 1.45;
}

.drugdb-alt-pres {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.drugdb-alt-pres-item {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(16,185,129,.12);
}

.drugdb-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.drugdb-info-card {
  padding: 16px;
}

.drugdb-info-card-wide {
  grid-column: 1 / -1;
}

.drugdb-info-value {
  margin-top: 6px;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.45;
}

.drugdb-copy-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.drugdb-copy-text {
  color: #0f172a;
  line-height: 1.6;
}

.drugdb-doc-list {
  display: grid;
  gap: 10px;
}

.drugdb-doc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.08);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.drugdb-doc-row:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-1px);
  border-color: rgba(18,140,126,.24);
  box-shadow: 0 10px 22px rgba(2,6,23,.06);
}

.drugdb-doc-title {
  font-weight: 900;
  line-height: 1.3;
}

.drugdb-doc-meta {
  margin-top: 4px;
  color: #64748b;
  line-height: 1.4;
}

.drugdb-doc-action {
  color: #0f766e;
  font-weight: 900;
  white-space: nowrap;
}

.drugdb-sidebar-panel {
  padding: 18px;
  box-shadow: 0 14px 34px rgba(2,6,23,.05);
}

.drugdb-sidebar-stats {
  display: grid;
  gap: 12px;
}

.drugdb-sidebar-stat {
  padding: 12px 14px;
  border-radius: 16px;
  background: #f8fafc;
}

.drugdb-sidebar-links {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.drugdb-sidebar-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.drugdb-sidebar-link,
.drugdb-sidebar-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: .55rem .85rem;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.08);
  background: #fff;
  color: #0f172a;
  font-weight: 800;
  text-decoration: none;
}

.drugdb-sidebar-link:hover,
.drugdb-sidebar-action:hover {
  text-decoration: none;
  color: #0f766e;
  border-color: rgba(18,140,126,.24);
  background: #f8fffe;
}

@media (max-width: 1100px) {
  .drugdb-detail-page {
    grid-template-columns: minmax(0, 1fr) 270px;
  }

  .drugdb-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .drugdb-search-panel,
  .drugdb-detail-page {
    grid-template-columns: minmax(0, 1fr);
  }

  .drugdb-detail-rail {
    position: static;
    display: none;
  }
}

@media (max-width: 740px) {
  .drugdb-wrap {
    width: min(100%, calc(100% - 16px));
    margin: 14px auto 28px;
    gap: 14px;
  }

  .drugdb-card {
    padding: 18px;
    border-radius: 18px;
  }

  .drugdb-title {
    font-size: 1.35rem;
  }

  .drugdb-detail-title {
    font-size: 1.5rem;
  }

  .drugdb-hero-facts,
  .drugdb-info-grid,
  .drugdb-package-card-bottom {
    grid-template-columns: minmax(0, 1fr);
  }

  .drugdb-section-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .drugdb-section-nav::-webkit-scrollbar {
    display: none;
  }

  .drugdb-section-chip {
    flex: 0 0 auto;
  }

  .drugdb-section-head {
    display: grid;
    gap: 12px;
  }

  .drugdb-table-wrap {
    display: none;
  }

  .drugdb-meditately-table-wrap {
    display: block;
  }

  .drugdb-package-cards {
    display: grid;
    gap: 12px;
  }

  .drugdb-doc-row,
  .drugdb-alt-head,
  .drugdb-result-head {
    grid-template-columns: minmax(0, 1fr);
    display: grid;
  }

  .drugdb-doc-action,
  .drugdb-result-badge,
  .drugdb-alt-flag {
    justify-self: start;
  }

  .drugdb-package-card-top {
    align-items: flex-start;
  }

  .drugdb-package-card-footer {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .drugdb-topbar-btn {
    min-height: 38px;
    padding: .5rem .8rem;
    font-size: .9rem;
  }

  .drugdb-input {
    min-height: 56px;
    font-size: 1rem;
  }

  .drugdb-autocomplete {
    max-height: min(360px, 52dvh);
  }

  .drugdb-autocomplete-btn {
    padding: .95rem 1rem;
  }

  .drugdb-autocomplete-title {
    font-size: 1.04rem;
  }
}

/* Patch 1b: search-first homepage + compact utility search */
.drugdb-wrap.is-home {
  width: min(1040px, calc(100% - 24px));
  min-height: calc(100dvh - 96px);
  display: block;
  padding: clamp(26px, 5vh, 56px) 0 24px;
}

.drugdb-shell.is-searching .drugdb-wrap.is-home {
  padding-top: clamp(26px, 5vh, 56px);
}

.drugdb-main.is-home {
  display: none;
}

.drugdb-search-panel.is-home {
  width: min(840px, 100%);
  max-width: 840px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  text-align: center;
}

.drugdb-home-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -.03em;
}

.drugdb-home-sub {
  max-width: 640px;
  margin: 12px auto 0;
  font-size: 1.02rem;
}

.drugdb-form-home {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.drugdb-search-panel.is-compact {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 16px 18px;
  border-radius: 20px;
}

.drugdb-search-panel.is-compact .drugdb-search-copy {
  display: none;
}

.drugdb-form-compact {
  width: 100%;
}

.drugdb-input-wrap {
  position: relative;
}

.drugdb-input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1.16rem;
  line-height: 1;
  pointer-events: none;
}

.drugdb-input {
  padding-left: 50px;
  padding-right: 48px;
}

.drugdb-input.is-home {
  min-height: 70px;
  border-radius: 999px;
  font-size: 1.08rem;
  box-shadow: 0 12px 30px rgba(2,6,23,.08);
}

.drugdb-input.is-compact {
  min-height: 52px;
  border-radius: 999px;
}

.drugdb-input-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #64748b;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.drugdb-input-clear:hover,
.drugdb-input-clear:focus {
  outline: none;
  background: #f1f5f9;
  color: #0f172a;
}

.drugdb-search-panel.is-home .drugdb-field {
  gap: 18px;
}

.drugdb-live-label {
  display: none !important;
}

.drugdb-search-panel.is-compact .drugdb-field {
  gap: 0;
}

.drugdb-search-panel.is-home .drugdb-autocomplete {
  position: static;
  left: auto;
  right: auto;
  top: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  max-height: none;
  margin-top: 26px;
  padding: 0;
  overflow-y: auto;
  text-align: left;
  overscroll-behavior: contain;
}

.drugdb-search-panel.is-home .drugdb-autocomplete::-webkit-scrollbar {
  width: 6px;
}

.drugdb-search-panel.is-home .drugdb-autocomplete::-webkit-scrollbar-thumb {
  background: rgba(100,116,139,.35);
  border-radius: 999px;
}

.drugdb-search-panel.is-home .drugdb-autocomplete::-webkit-scrollbar-track {
  background: transparent;
}

.drugdb-search-panel.is-compact .drugdb-autocomplete {
  border-radius: 0 0 20px 20px;
}

.drugdb-search-panel.is-home .drugdb-autocomplete-btn {
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid rgba(15,23,42,.08);
  background: transparent;
  border-radius: 0;
  gap: 10px;
  min-height: 88px;
}

.drugdb-search-panel.is-home .drugdb-autocomplete-btn:first-child {
  border-top: 1px solid rgba(15,23,42,.08);
}

.drugdb-search-panel.is-home .drugdb-autocomplete-btn:hover,
.drugdb-search-panel.is-home .drugdb-autocomplete-btn:focus,
.drugdb-search-panel.is-home .drugdb-autocomplete-btn.is-active {
  background: rgba(255,255,255,.68);
}

.drugdb-search-panel.is-home .drugdb-autocomplete-title {
  font-size: 1.06rem;
  line-height: 1.25;
}

.drugdb-search-panel.is-home .drugdb-autocomplete-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.drugdb-search-panel.is-home .drugdb-autocomplete-meta > span:first-child,
.drugdb-search-panel.is-home .drugdb-autocomplete-line2 {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drugdb-search-copy {
  min-width: 0;
}

.drugdb-search-panel.is-home .drugdb-field.is-open .drugdb-input {
  border-color: rgba(18,140,126,.55);
  border-radius: 999px;
}

.drugdb-search-panel.is-compact .drugdb-field.is-open .drugdb-input {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.drugdb-result-meta:empty {
  display: none;
}

@media (max-width: 980px) {
  .drugdb-wrap.is-home {
    min-height: calc(100dvh - 96px);
    width: min(100%, calc(100% - 20px));
    padding-top: 28px;
  }

  .drugdb-shell.is-searching .drugdb-wrap.is-home {
    padding-top: 28px;
  }
}

@media (max-width: 640px) {
  .drugdb-search-panel.is-home .drugdb-autocomplete {
    margin-top: 22px;
    max-height: none;
  }

  .drugdb-search-panel.is-home .drugdb-autocomplete-btn {
    padding: .95rem 0;
  }

  .drugdb-search-panel.is-home .drugdb-autocomplete-title {
    font-size: 1rem;
  }

  .drugdb-wrap.is-home {
    width: min(100%, calc(100% - 16px));
    min-height: calc(100dvh - 96px);
    padding: 24px 0 20px;
  }

  .drugdb-search-panel.is-home {
    gap: 14px;
  }

  .drugdb-home-title {
    font-size: 2rem;
  }

  .drugdb-home-sub {
    font-size: .96rem;
    margin-top: 10px;
  }

  .drugdb-input.is-home {
    min-height: 62px;
    font-size: 1rem;
  }

  .drugdb-input.is-compact {
    min-height: 50px;
  }

  .drugdb-input-icon {
    left: 18px;
    font-size: 1.18rem;
  }

  .drugdb-input {
    padding-left: 48px;
  }

  .drugdb-input-clear {
    right: 8px;
    width: 32px;
    height: 32px;
  }
}


.drugdb-shell.is-searching .drugdb-search-panel.is-home .drugdb-autocomplete {
  padding-bottom: max(12px, env(safe-area-inset-bottom));
}

/* Integrated drug hero detail v3 */
.drugdb-detail-page--integrated {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 18px;
}

.drugdb-detail-top {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  margin-top: -1px;
  margin-bottom: -50px;
}

.drugdb-integrated-hero {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  padding: 12px 18px 92px;
  color: #f8fffe;
  box-shadow: none;
  isolation: isolate;
}

.drugdb-integrated-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(54% 28% at 84% 12%, rgba(7, 94, 84, .24) 0%, rgba(7, 94, 84, .16) 34%, rgba(7, 94, 84, 0) 76%),
    radial-gradient(48% 24% at 20% 72%, rgba(88, 217, 202, .16) 0%, rgba(88, 217, 202, .08) 28%, rgba(88, 217, 202, 0) 62%),
    radial-gradient(40% 22% at 78% 62%, rgba(91, 233, 220, .10) 0%, rgba(91, 233, 220, .05) 28%, rgba(91, 233, 220, 0) 64%),
    radial-gradient(80% 58% at 70% 96%, rgba(22, 151, 137, .18) 0%, rgba(22, 151, 137, .09) 38%, rgba(22, 151, 137, 0) 76%),
    radial-gradient(136% 116% at 104% 118%, rgba(8, 56, 77, .90) 0%, rgba(8, 56, 77, .84) 34%, rgba(8, 56, 77, .66) 58%, rgba(8, 56, 77, .30) 78%, rgba(8, 56, 77, 0) 100%),
    linear-gradient(180deg, var(--drugdb-hero-top) 0%, var(--drugdb-hero-top) 40%, color-mix(in srgb, var(--wa-green-dark) 95%, var(--wa-green) 5%) 49%, color-mix(in srgb, var(--wa-green-dark) 84%, var(--wa-green) 16%) 62%, var(--drugdb-hero-mid) 76%, var(--drugdb-hero-deep) 89%, var(--drugdb-hero-deepest) 100%);
  background-color: var(--drugdb-hero-top);
  pointer-events: none;
}

.drugdb-integrated-hero-bg::before,
.drugdb-integrated-hero-bg::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: cover;
}

.drugdb-integrated-hero-bg::before {
  top: 108px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 720' preserveAspectRatio='none'%3E%3Cpath fill='rgba(183,255,245,0.12)' d='M0 378c132-72 258-98 388-78 132 20 228 86 346 88 114 2 182-54 292-62 114-10 220 24 354 118v278H0z'/%3E%3Cpath fill='rgba(101,230,214,0.10)' d='M0 488c144-94 290-126 428-104 122 20 212 80 328 80 116 0 192-54 312-52 126 4 242 56 412 184v116H0z'/%3E%3C/svg%3E");
  opacity: .22;
  mix-blend-mode: screen;
  background-position: center top;
}

.drugdb-integrated-hero-bg::after {
  top: 132px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 680' preserveAspectRatio='none'%3E%3Cpath fill='rgba(4,62,78,0.22)' d='M0 268c112 44 214 60 318 48 98-10 184-54 294-56 114-2 186 42 294 42 110 0 186-48 292-56 118-10 236 26 402 124v358H0z'/%3E%3Cpath fill='rgba(24,167,151,0.14)' d='M0 366c120 62 226 86 332 72 112-14 210-76 324-78 108-2 178 44 286 50 118 6 214-34 342-40 120-8 226 14 316 58v272H0z'/%3E%3C/svg%3E");
  opacity: .42;
  background-position: center top;
}

.drugdb-integrated-hero::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 168px;
  background: linear-gradient(180deg, var(--wa-green-dark) 0%, var(--wa-green-dark) 70%, rgba(7,94,84,.94) 84%, rgba(7,94,84,.36) 92%, rgba(7,94,84,0) 100%);
  pointer-events: none;
  z-index: 0;
}

.drugdb-integrated-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 154px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(214,255,248,.04) 28%, rgba(255,255,255,.18) 68%, rgba(255,255,255,0) 100%),
    radial-gradient(72% 86% at 50% 100%, rgba(173,255,245,.12) 0%, rgba(173,255,245,.05) 38%, rgba(173,255,245,0) 72%);
  pointer-events: none;
}

.drugdb-integrated-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  text-align: center;
}

.drugdb-integrated-hero-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 58px;
}

.drugdb-integrated-hero-top,
.drugdb-integrated-hero-top-actions {
  display: flex;
  align-items: center;
}

.drugdb-integrated-hero-top-actions {
  justify-content: flex-end;
}

.drugdb-back-icon-btn {
  --drugdb-back-btn-size: 48px;
  --drugdb-back-btn-icon-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--drugdb-back-btn-size);
  height: var(--drugdb-back-btn-size);
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(235,255,250,.26);
  background:
    linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.03) 100%),
    linear-gradient(145deg, rgba(16,140,130,.72) 0%, rgba(6,97,95,.80) 54%, rgba(7,59,74,.82) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 10px 24px rgba(2, 6, 23, .18),
    0 0 0 1px rgba(255,255,255,.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}

.drugdb-back-icon-btn:hover {
  text-decoration: none;
  color: #fff;
  border-color: rgba(235,255,250,.34);
  background:
    linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 100%),
    linear-gradient(145deg, rgba(20,155,142,.78) 0%, rgba(8,112,109,.84) 56%, rgba(8,67,83,.88) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 14px 28px rgba(2, 6, 23, .22),
    0 0 0 1px rgba(255,255,255,.04);
}

.drugdb-back-icon-btn:active {
  transform: translateY(1px) scale(.985);
}

.drugdb-back-icon-btn:focus-visible {
  outline: 2px solid rgba(255,255,255,.92);
  outline-offset: 2px;
}

.drugdb-back-icon-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.drugdb-back-icon-glyph {
  width: var(--drugdb-back-btn-icon-size);
  height: var(--drugdb-back-btn-icon-size);
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  overflow: visible;
  transform: translateX(-.5px);
}

.drugdb-back-icon-glyph--ai {
  transform: none;
  stroke-width: 2.4;
}

.drugdb-back-icon-btn--hero {
  --drugdb-back-btn-size: 50px;
  --drugdb-back-btn-icon-size: 23px;
}

.drugdb-back-icon-btn--ai {
  background:
    linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 100%),
    linear-gradient(145deg, rgba(22,156,147,.76) 0%, rgba(8,108,113,.84) 54%, rgba(11,72,96,.86) 100%);
}

.drugdb-integrated-hero-copy {
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-top: 6px;
}

.drugdb-integrated-title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
  width: fit-content;
  margin-inline: auto;
}

.drugdb-integrated-title {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.04em;
  color: #fff;
}

.drugdb-title-pill-icon {
  width: clamp(34px, 4vw, 56px);
  height: clamp(34px, 4vw, 56px);
  color: rgba(255,255,255,.98);
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 18px rgba(2, 6, 23, .18));
}

.drugdb-integrated-subtitle {
  font-size: clamp(1.02rem, 2vw, 1.48rem);
  line-height: 1.22;
  color: rgba(255,255,255,.95);
  margin-bottom: 2px;
}

.drugdb-integrated-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 14px;
  color: rgba(236,253,245,.95);
  line-height: 1.5;
  font-size: .98rem;
  max-width: 1180px;
}

.drugdb-integrated-meta strong {
  color: #fff;
}

.drugdb-hero-nav,
.drugdb-compact-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
}

.drugdb-hero-nav {
  justify-content: center;
  overflow-x: auto;
  width: 100%;
  margin-top: 14px;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.drugdb-hero-nav::-webkit-scrollbar { display: none; }

.drugdb-hero-chip,
.drugdb-compact-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .72rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: .98rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 0 auto;
}

.drugdb-hero-chip {
  background: transparent;
  border: 1px solid rgba(255,255,255,.76);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

.drugdb-hero-chip:hover {
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,.08);
}

.drugdb-hero-chip.is-active {
  background: linear-gradient(180deg, #23d7ca 0%, #0eb9bc 100%);
  border-color: rgba(44,239,228,.75);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 191, 192, .22);
}

.drugdb-compact-chip {
  background: rgba(255,255,255,.66);
  border: 1px solid rgba(15,23,42,.08);
  color: #0f172a;
}

.drugdb-compact-chip.is-active {
  border-color: rgba(45,212,191,.48);
  box-shadow: inset 0 0 0 1px rgba(45,212,191,.08);
}

.drugdb-integrated-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.drugdb-integrated-badges .drugdb-badge {
  background: rgba(255,255,255,.92);
  color: #0f172a;
}

.drugdb-integrated-badges .drugdb-badge.oll,
.drugdb-integrated-badges .drugdb-badge.success {
  background: #ecfdf5;
  color: #065f46;
}

.drugdb-integrated-badges .drugdb-badge.dll {
  background: #fff7ed;
  color: #9a3412;
}

.drugdb-integrated-badges .drugdb-badge--link {
  text-decoration: none;
}

.drugdb-integrated-badges .drugdb-badge--link:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.drugdb-integrated-badges .drugdb-badge.hzzo {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: rgba(29,78,216,.18);
}

.drugdb-detail-sheet {
  position: relative;
  z-index: 2;
  padding: 20px;
  border-radius: 28px 28px 0 0;
  background: #fff;
  border: 1px solid rgba(15,23,42,.06);
  box-shadow: 0 18px 40px rgba(2, 6, 23, .08);
  display: grid;
  gap: 16px;
}

.drugdb-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.drugdb-summary-tile {
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.08);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.drugdb-summary-label {
  display: block;
  color: #64748b;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.drugdb-summary-value {
  margin-top: 8px;
  color: #0f172a;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.22;
}

.drugdb-compact-header {
  position: fixed;
  left: max(8px, env(safe-area-inset-left));
  right: max(8px, env(safe-area-inset-right));
  top: max(8px, env(safe-area-inset-top));
  z-index: 60;
  padding: 12px 14px 13px;
  border-radius: 24px;
  border: 1px solid rgba(233,255,251,.22);
  background:
    radial-gradient(64% 82% at 10% 0%, rgba(130,255,238,.14) 0%, rgba(130,255,238,0) 64%),
    radial-gradient(88% 96% at 100% 100%, rgba(16,147,136,.20) 0%, rgba(16,147,136,0) 70%),
    linear-gradient(145deg, rgba(11,100,100,.93) 0%, rgba(10,90,96,.94) 42%, rgba(12,72,88,.95) 100%);
  color: #fff;
  backdrop-filter: blur(14px) saturate(1.08);
  -webkit-backdrop-filter: blur(14px) saturate(1.08);
  box-shadow: 0 18px 38px rgba(2,6,23,.26);
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.drugdb-compact-header::before,
.drugdb-compact-header::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.drugdb-compact-header::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 42%),
    linear-gradient(90deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 18%);
  z-index: -1;
}

.drugdb-compact-header::after {
  inset: 1px;
  border-radius: 23px;
  border: 1px solid rgba(255,255,255,.04);
  z-index: -1;
}

.drugdb-compact-header.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.drugdb-compact-header-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drugdb-compact-close-btn {
  margin-left: auto;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.94);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

.drugdb-compact-close-btn:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.32);
}

.drugdb-compact-close-btn:active {
  transform: translateY(1px) scale(.98);
}

.drugdb-compact-close-btn:focus-visible {
  outline: 2px solid rgba(255,255,255,.92);
  outline-offset: 2px;
}

.drugdb-compact-close-glyph {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  fill: none;
}

.drugdb-back-icon-btn--compact {
  --drugdb-back-btn-size: 42px;
  --drugdb-back-btn-icon-size: 20px;
  flex: 0 0 42px;
}

.drugdb-compact-chip {
  min-width: 0;
  width: 100%;
  min-height: 40px;
  padding: .56rem .28rem;
  font-size: clamp(.74rem, 2vw, .96rem);
  letter-spacing: -.02em;
  line-height: 1.1;
  text-align: center;
}

.drugdb-compact-header-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.drugdb-compact-header-title {
  font-weight: 900;
  line-height: 1.18;
  font-size: 1rem;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drugdb-compact-header-subtitle {
  margin-top: 3px;
  color: rgba(236,253,245,.9);
  font-size: .86rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drugdb-compact-nav {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  overflow: visible;
}

.drugdb-compact-nav::-webkit-scrollbar { display: none; }

.drugdb-detail-page--integrated .drugdb-detail-main {
  gap: 0;
}

.drugdb-detail-page--integrated .drugdb-section {
  scroll-margin-top: 108px;
}

.drugdb-detail-page--integrated .drugdb-section-sub {
  display: none;
}

.drugdb-detail-page--integrated .drugdb-detail-rail-stack {
  top: 18px;
}

.drugdb-detail-page--integrated .drugdb-hero,
.drugdb-detail-page--integrated .drugdb-section-nav {
  display: none !important;
}

.drugdb-documents-section .drugdb-doc-list {
  gap: 12px;
}

.drugdb-documents-section .drugdb-doc-row {
  padding: 16px 18px;
  border-radius: 20px;
}

.drugdb-doc-main { min-width: 0; }

.drugdb-package-card {
  gap: 12px;
}

.drugdb-package-card-bottom {
  gap: 10px;
}

.drugdb-package-stat {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.drugdb-package-stat .drugdb-info-label {
  margin-bottom: 4px;
}

.drugdb-empty-soft {
  background: #fff;
}

.drugdb-card.drugdb-section {
  box-shadow: none;
}

.drugdb-hzzo-accordion details,
.drugdb-hzzo-detail {
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  background: #fff;
}

@media (min-width: 981px) {
  .drugdb-wrap.has-detail {
    width: min(1760px, calc(100% - 24px));
  }

  .drugdb-detail-page--integrated {
    grid-template-columns: minmax(0, 1fr) 312px;
    gap: 20px;
  }

  .drugdb-compact-header {
    display: none !important;
  }

  .drugdb-detail-top {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: -54px;
  }

  .drugdb-integrated-hero {
    padding: 20px clamp(34px, 4vw, 72px) 96px;
    min-height: 356px;
    border-radius: 0 0 40px 40px;
  }

  .drugdb-integrated-hero-inner {
    max-width: min(1700px, calc(100vw - 88px));
    gap: 20px;
  }

  .drugdb-integrated-hero-copy {
    max-width: 1480px;
    width: 100%;
    margin-inline: auto;
    gap: 14px;
  }

  .drugdb-integrated-hero-utility {
    min-height: 60px;
  }

  .drugdb-integrated-meta {
    max-width: 1380px;
    gap: 10px 24px;
    font-size: 1rem;
  }

  .drugdb-hero-nav {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }

  .drugdb-integrated-badges {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }

  .drugdb-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .drugdb-detail-page--integrated .drugdb-summary-wrap {
    display: none;
  }

  .drugdb-detail-page--integrated .drugdb-detail-rail {
    align-self: start;
  }

  .drugdb-detail-page--integrated .drugdb-detail-rail-stack {
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    padding-right: 2px;
  }

  .drugdb-detail-sheet {
    padding: 24px;
  }

  .drugdb-detail-page--integrated .drugdb-detail-rail-stack {
    margin-top: 58px;
  }

  .drugdb-compact-header {
    left: max(18px, env(safe-area-inset-left));
    right: max(18px, env(safe-area-inset-right));
    max-width: 1280px;
    margin: 0 auto;
  }
}

@media (max-width: 980px) {
  .drugdb-detail-page--integrated {
    grid-template-columns: minmax(0, 1fr);
  }

  .drugdb-detail-top {
    margin-bottom: -36px;
  }

  .drugdb-detail-page--integrated .drugdb-detail-rail {
    display: none;
  }
}

@media (max-width: 740px) {
  .drugdb-wrap.has-detail {
    width: 100%;
  }

  .drugdb-integrated-hero {
    padding: 12px 16px 56px;
    border-radius: 0 0 28px 28px;
  }

  .drugdb-integrated-hero-inner {
    gap: 10px;
  }

  .drugdb-integrated-hero-utility {
    min-height: 52px;
    margin-bottom: 0;
  }

  .drugdb-back-icon-btn--hero {
    --drugdb-back-btn-size: 46px;
    --drugdb-back-btn-icon-size: 21px;
  }

  .drugdb-back-icon-btn--ai {
    --drugdb-back-btn-icon-size: 20px;
  }

  .drugdb-integrated-title-row {
    gap: 10px;
  }

  .drugdb-integrated-hero-copy {
    margin-top: 2px;
    gap: 12px;
  }

  .drugdb-integrated-title {
    font-size: clamp(1.7rem, 9vw, 2.85rem);
  }

  .drugdb-title-pill-icon {
    width: clamp(28px, 8vw, 40px);
    height: clamp(28px, 8vw, 40px);
  }

  .drugdb-integrated-subtitle {
    font-size: .96rem;
    margin-bottom: 2px;
  }

  .drugdb-integrated-meta {
    font-size: .92rem;
    gap: 9px 12px;
    margin-top: 4px;
  }

  .drugdb-hero-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin-top: 12px;
    overflow-x: visible;
    padding-bottom: 0;
    max-width: 100%;
  }

  .drugdb-hero-chip {
    min-width: 0;
    width: 100%;
    min-height: 40px;
    padding: .54rem .16rem;
    font-size: clamp(.82rem, 3.25vw, .98rem);
    letter-spacing: -.02em;
    text-align: center;
    line-height: 1.08;
  }

  .drugdb-integrated-badges {
    gap: 8px;
    margin-top: 10px;
  }

  .drugdb-detail-sheet {
    padding: 16px;
    border-radius: 26px 26px 0 0;
  }

  .drugdb-summary-grid {
    gap: 10px;
  }

  .drugdb-summary-tile {
    padding: 14px;
    border-radius: 16px;
  }

  .drugdb-summary-value {
    font-size: 1.02rem;
  }

  .drugdb-compact-header {
    left: 8px;
    right: 8px;
    top: 8px;
    padding: 10px 11px 11px;
    border-radius: 20px;
  }

  .drugdb-back-icon-btn--compact {
    --drugdb-back-btn-size: 40px;
    --drugdb-back-btn-icon-size: 19px;
    flex-basis: 40px;
  }

  .drugdb-compact-close-btn {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .drugdb-compact-nav {
    gap: 5px;
  }

  .drugdb-compact-chip {
    min-height: 36px;
    padding: .44rem .08rem;
    font-size: clamp(.72rem, 2.95vw, .88rem);
    letter-spacing: -.025em;
    line-height: 1.04;
  }
}

@media (max-width: 430px) {
  .drugdb-compact-header {
    padding: 10px 10px 10px;
  }

  .drugdb-compact-nav {
    gap: 4px;
  }

  .drugdb-hero-chip {
    font-size: clamp(.78rem, 3.4vw, .94rem);
  }

  .drugdb-compact-chip {
    min-height: 34px;
    padding: .4rem .02rem;
    font-size: clamp(.68rem, 2.75vw, .82rem);
    letter-spacing: -.03em;
  }
}

@media (max-width: 380px) {
  .drugdb-hero-nav,
  .drugdb-compact-nav {
    gap: 5px;
  }

  .drugdb-hero-chip {
    min-height: 38px;
    padding: .5rem .1rem;
    font-size: .74rem;
  }

  .drugdb-compact-chip {
    min-height: 34px;
    padding: .38rem .02rem;
    font-size: .64rem;
    letter-spacing: -.03em;
  }
}
.drugdb-hzzo-accordion {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.drugdb-hzzo-detail {
  overflow: hidden;
}

.drugdb-hzzo-detail summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  font-weight: 900;
  color: #0f172a;
}

.drugdb-hzzo-detail summary::-webkit-details-marker { display: none; }
.drugdb-hzzo-detail summary::after {
  content: '⌄';
  color: #64748b;
  font-size: 1rem;
}
.drugdb-hzzo-detail[open] summary::after { transform: rotate(180deg); }

.drugdb-hzzo-detail-body {
  padding: 0 18px 18px;
}


.drugdb-interactions-section .drugdb-empty {
  margin-top: 2px;
}

/* Detail content restructure v447d */
.drugdb-badge.rx {
  background: #eef4ff;
  color: #1d4ed8;
}

.drugdb-integrated-badges .drugdb-badge.rx {
  background: #eef4ff;
  color: #1d4ed8;
}

.drugdb-badge.hzzo-indication {
  background: #eff6ff;
  color: #1d4ed8;
}

.drugdb-badge.hzzo-guideline {
  background: #eefcf7;
  color: #047857;
}

.drugdb-inline-rx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 28px;
  padding: .18rem .5rem;
  border-radius: 999px;
  background: #eef4ff;
  color: #1d4ed8;
  font-size: .78rem;
  font-weight: 900;
}

.drugdb-summary-wrap {
  display: grid;
  gap: 12px;
}

.drugdb-summary-footnote {
  padding: 0 4px;
  color: #475569;
  font-size: .94rem;
  line-height: 1.4;
}

.drugdb-section-head--split {
  align-items: center;
}

.drugdb-section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.drugdb-section-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fffe 0%, #eefdf9 100%);
  border: 1px solid rgba(15, 23, 42, .08);
  color: #0f766e;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.drugdb-section-icon svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.drugdb-hzzo-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.drugdb-hzzo-mini-card,
.drugdb-hzzo-copy-card {
  box-shadow: none;
}

.drugdb-hzzo-mini-card {
  padding: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.drugdb-info-note {
  margin-top: 6px;
  color: #64748b;
  font-size: .88rem;
  line-height: 1.45;
}

.drugdb-info-grid--stack {
  grid-template-columns: 1fr;
}

.drugdb-hzzo-copy-card.is-indication {
  border-color: rgba(29, 78, 216, .12);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.drugdb-hzzo-copy-card.is-guideline {
  border-color: rgba(4, 120, 87, .12);
  background: linear-gradient(180deg, #ffffff 0%, #f7fffb 100%);
}

.drugdb-copy-text--muted {
  color: #64748b;
}

.drugdb-hzzo-criteria-list {
  display: grid;
  gap: 14px;
}

.drugdb-hzzo-criteria-item {
  display: grid;
  gap: 10px;
}

.drugdb-hzzo-criteria-code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 118, 110, .08);
  border: 1px solid rgba(15, 118, 110, .12);
  color: #0f172a;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .03em;
}

.drugdb-hzzo-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.drugdb-hzzo-copy-card {
  position: relative;
}

.drugdb-hzzo-card-head .drugdb-info-label {
  margin-bottom: 0;
}

.drugdb-hzzo-card-head .drugdb-hzzo-criteria-code {
  margin-left: auto;
  flex: 0 0 auto;
}

.drugdb-hzzo-structured {
  display: grid;
  gap: 12px;
}

.drugdb-copy-paragraph--hzzo {
  line-height: 1.75;
}

.drugdb-hzzo-heading,
.drugdb-hzzo-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #0f172a;
  line-height: 1.72;
}

.drugdb-hzzo-heading {
  margin-top: 2px;
  font-weight: 800;
}

.drugdb-hzzo-line.is-subitem {
  padding-left: 18px;
}

.drugdb-hzzo-line.is-subitem.is-loose {
  padding-left: 26px;
}

.drugdb-hzzo-prefix {
  color: #0f766e;
  font-weight: 800;
  white-space: nowrap;
}

.drugdb-copy-rich {
  display: grid;
  gap: 12px;
}

.drugdb-copy-paragraph {
  margin: 0;
  color: #0f172a;
  line-height: 1.68;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.drugdb-copy-list-markers {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 8px;
  color: #0f172a;
  line-height: 1.6;
}

.drugdb-copy-list-markers li {
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.drugdb-clinical-accordion {
  display: grid;
  gap: 10px;
}

.drugdb-clinical-detail {
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.drugdb-clinical-detail summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-weight: 900;
  color: #0f172a;
}

.drugdb-clinical-detail summary::-webkit-details-marker { display: none; }

.drugdb-clinical-detail summary::after {
  content: '⌄';
  color: #64748b;
  font-size: 1rem;
}

.drugdb-clinical-detail[open] summary::after {
  transform: rotate(180deg);
}

.drugdb-clinical-detail-body {
  padding: 0 18px 18px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.drugdb-clinical-detail .drugdb-empty {
  margin-top: 0;
}

.drugdb-clinical-detail--primary {
  border: 0;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.drugdb-clinical-detail--primary summary {
  position: relative;
  display: block;
  padding: 0 42px 14px 0;
}

.drugdb-clinical-detail--primary summary::after {
  position: absolute;
  right: 0;
  top: 12px;
}

.drugdb-clinical-detail--primary .drugdb-section-head {
  margin-bottom: 0;
}

.drugdb-clinical-detail--primary .drugdb-clinical-detail-body {
  padding: 0;
}

@media (min-width: 981px) {
  .drugdb-detail-page--integrated .drugdb-detail-main {
    min-width: 0;
  }

  .drugdb-summary-wrap {
    gap: 14px;
  }
}

@media (max-width: 740px) {
  .drugdb-section-title-wrap {
    gap: 10px;
  }

  .drugdb-section-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 12px;
  }

  .drugdb-section-icon svg {
    width: 17px;
    height: 17px;
  }

  .drugdb-hzzo-overview-grid {
    grid-template-columns: 1fr;
  }

  .drugdb-summary-footnote {
    font-size: .88rem;
  }

  .drugdb-scroll-top {
    width: 42px;
    height: 42px;
    font-size: 1.16rem;
    right: max(14px, env(safe-area-inset-right));
  }

  .drugdb-ai-fab {
    right: max(14px, env(safe-area-inset-right));
    bottom: calc(max(14px, env(safe-area-inset-bottom)) + 52px);
    height: 42px;
    min-width: 42px;
    padding: 0 12px;
    font-size: .9rem;
    gap: 6px;
  }

  .drugdb-clinical-detail summary,
  .drugdb-hzzo-detail summary {
    padding: 14px 15px;
  }

  .drugdb-clinical-detail--primary summary {
    padding: 0 38px 12px 0;
  }

  .drugdb-clinical-detail-body,
  .drugdb-hzzo-detail-body {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
  }
}

/* Patch v449: document groups + pharmacology + preview open */
.drugdb-preview-shell {
  position: relative;
}

.drugdb-preview-body {
  min-height: 0;
}

.drugdb-preview-shell.is-collapsed .drugdb-preview-body {
  max-height: var(--drugdb-preview-max-h, 14rem);
  overflow: hidden;
}

.drugdb-preview-fade {
  display: none;
}

.drugdb-preview-shell.is-collapsed .drugdb-preview-fade {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.6rem;
  height: 3.75rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.9) 70%, #fff 100%);
}


.drugdb-scroll-gesture [data-section-link],
.drugdb-scroll-gesture .drugdb-ai-fab,
.drugdb-scroll-gesture [data-scroll-top] {
  pointer-events: none !important;
}

.drugdb-preview-toggle {
  margin-top: 10px;
  appearance: none;
  border: 1px solid rgba(15,23,42,.08);
  background: #fff;
  color: #0f766e;
  min-height: 38px;
  padding: .5rem .9rem;
  border-radius: 12px;
  font: inherit;
  font-size: .92rem;
  font-weight: 800;
  cursor: pointer;
}

.drugdb-preview-toggle:hover {
  border-color: rgba(18,140,126,.24);
  background: #f8fffe;
}

.drugdb-scroll-top {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(max(18px, env(safe-area-inset-bottom)) + 4px);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(15,118,110,.96) 0%, rgba(13,148,136,.92) 100%);
  color: #fff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, .18), inset 0 1px 0 rgba(255,255,255,.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 36;
}

.drugdb-scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.drugdb-scroll-top:hover {
  background: linear-gradient(180deg, rgba(13,148,136,.98) 0%, rgba(20,184,166,.94) 100%);
}

.drugdb-scroll-top:focus-visible {
  outline: 3px solid rgba(20,184,166,.28);
  outline-offset: 2px;
}

.drugdb-ai-fab {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: calc(max(18px, env(safe-area-inset-bottom)) + 58px);
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(15,118,110,.96) 0%, rgba(13,148,136,.92) 100%);
  color: #fff;
  box-shadow: 0 18px 36px rgba(15, 23, 42, .18), inset 0 1px 0 rgba(255,255,255,.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .96rem;
  font-weight: 900;
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 36;
}

.drugdb-ai-fab.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.drugdb-ai-fab:hover {
  color: #fff;
  background: linear-gradient(180deg, rgba(13,148,136,.98) 0%, rgba(20,184,166,.94) 100%);
  text-decoration: none;
}

.drugdb-ai-fab:focus-visible {
  outline: 3px solid rgba(20,184,166,.28);
  outline-offset: 2px;
}

.drugdb-ai-fab-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.drugdb-pharma-stack,
.drugdb-pharma-groups,
.drugdb-doc-group-list {
  display: grid;
  gap: 12px;
}

.drugdb-pharma-panel,
.drugdb-doc-group-card {
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  padding: 16px;
}

.drugdb-pharma-panel-title,
.drugdb-doc-group-title,
.drugdb-pharma-group-title {
  color: #0f172a;
  font-weight: 900;
  line-height: 1.32;
}

.drugdb-doc-group-title,
.drugdb-pharma-panel-title {
  margin-bottom: 12px;
}

.drugdb-pharma-group {
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.drugdb-pharma-group summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-weight: 900;
  color: #0f172a;
}

.drugdb-pharma-group summary::-webkit-details-marker { display: none; }

.drugdb-pharma-group summary::after {
  content: '⌄';
  color: #64748b;
  font-size: 1rem;
}

.drugdb-pharma-group[open] summary::after {
  transform: rotate(180deg);
}

.drugdb-pharma-group-meta {
  color: #64748b;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.drugdb-pharma-group-body {
  padding: 0 18px 18px;
  display: grid;
  gap: 12px;
}

.drugdb-pharma-group-flag {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drugdb-pharma-doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drugdb-pharma-doc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: .5rem .8rem;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.08);
  background: #fff;
  color: #0f766e;
  font-weight: 800;
  text-decoration: none;
}

.drugdb-pharma-doc-link:hover {
  text-decoration: none;
  border-color: rgba(18,140,126,.24);
  background: #f8fffe;
}

.drugdb-clinical-accordion--tight {
  gap: 8px;
}

.drugdb-doc-group-card .drugdb-doc-list {
  gap: 8px;
}

@media (max-width: 740px) {
  .drugdb-preview-toggle {
    width: 100%;
  }

  .drugdb-pharma-group summary {
    padding: 14px 15px;
  }

  .drugdb-pharma-group-body {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 15px;
  }
}


/* Patch v122m: Mediately SmPC text polish */
.drugdb-copy-rich--mediately {
  gap: 14px;
}

.drugdb-copy-rich--mediately a {
  color: #0f766e;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.drugdb-inline-ref {
  color: #0f766e;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.drugdb-copy-underline {
  font-weight: 800;
  text-decoration: none;
}

.drugdb-copy-list-markers--mediately,
.drugdb-copy-rich--mediately ol {
  gap: 10px;
  line-height: 1.68;
}

.drugdb-meditately-heading {
  margin: 4px 0 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.45;
}

.drugdb-meditately-subheading,
.drugdb-meditately-minor-heading {
  margin: 6px 0 0;
  color: #0f172a;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.drugdb-meditately-subheading {
  font-size: 1rem;
  font-weight: 900;
}

.drugdb-meditately-minor-heading {
  font-size: .98rem;
  font-weight: 800;
}

.drugdb-meditately-subheading .drugdb-copy-underline,
.drugdb-meditately-minor-heading em {
  text-decoration: none;
  font-style: normal;
}

.drugdb-meditately-table-block {
  display: grid;
  gap: 10px;
}

.drugdb-meditately-table-head {
  display: grid;
  gap: 4px;
}

.drugdb-meditately-table-title {
  color: #0f172a;
  font-weight: 900;
  line-height: 1.35;
}

.drugdb-meditately-table-caption {
  color: #64748b;
  font-size: .92rem;
  line-height: 1.55;
}

.drugdb-meditately-table th,
.drugdb-meditately-table td {
  line-height: 1.48;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

@media (max-width: 740px) {
  .drugdb-meditately-table-block {
    gap: 8px;
  }

  .drugdb-meditately-table-wrap {
    border-radius: 14px;
  }

  .drugdb-meditately-table {
    min-width: 780px;
  }

  .drugdb-meditately-table th,
  .drugdb-meditately-table td {
    min-width: 110px;
    padding: 9px 10px;
    font-size: .94rem;
    line-height: 1.42;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
  }

  .drugdb-meditately-table th:first-child,
  .drugdb-meditately-table td:first-child {
    min-width: 170px;
  }

  .drugdb-meditately-table-title {
    font-size: .96rem;
  }

  .drugdb-meditately-table-caption {
    font-size: .86rem;
    line-height: 1.42;
  }

  .drugdb-meditately-subheading {
    font-size: .98rem;
  }

  .drugdb-meditately-minor-heading {
    font-size: .95rem;
  }
}

.drugdb-detail-intro-card {
  display: grid;
  gap: 10px;
}

.drugdb-breadcrumbs {
  align-items: center;
  color: #64748b;
  font-size: .9rem;
}

.drugdb-breadcrumb-link {
  color: #0f766e;
  font-weight: 700;
  text-decoration: none;
}

.drugdb-breadcrumb-link:hover {
  text-decoration: underline;
}

.drugdb-breadcrumb-current {
  color: #0f172a;
  font-weight: 700;
}

.drugdb-breadcrumb-sep {
  color: #94a3b8;
}

.drugdb-detail-intro-copy .drugdb-copy-rich {
  color: #334155;
}

.drugdb-detail-intro-copy .drugdb-copy-paragraph {
  margin-bottom: 0;
}


.drugdb-home-intro-card {
  margin-top: 2px;
}

.drugdb-home-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 18px;
  align-items: start;
}

.drugdb-home-intro-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.2;
}

.drugdb-home-intro-text {
  margin: 10px 0 0;
  color: #475569;
  line-height: 1.7;
}

.drugdb-home-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.drugdb-home-feature {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(248,250,252,.96), #fff);
}

.drugdb-home-feature strong {
  font-size: .96rem;
  color: #0f172a;
}

.drugdb-home-feature span {
  color: #64748b;
  line-height: 1.5;
  font-size: .92rem;
}

.drugdb-home-feature a {
  color: var(--wa-green-dark);
  font-weight: 700;
}

.drugdb-detail-related-card {
  padding-top: 18px;
  padding-bottom: 18px;
}

.drugdb-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.drugdb-related-link {
  display: grid;
  gap: 6px;
  padding: 14px 15px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 22px rgba(2,6,23,.04);
  transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}

.drugdb-related-link:hover,
.drugdb-related-link:focus {
  text-decoration: none;
  color: inherit;
  transform: translateY(-1px);
  border-color: rgba(18,140,126,.22);
  box-shadow: 0 14px 28px rgba(2,6,23,.08);
}

.drugdb-related-link-title {
  font-weight: 800;
  color: #0f172a;
}

.drugdb-related-link-copy {
  color: #64748b;
  line-height: 1.45;
  font-size: .92rem;
}

.drugdb-alt-link {
  color: inherit;
  text-decoration: none;
}

.drugdb-alt-link:hover,
.drugdb-alt-link:focus {
  color: var(--wa-green-dark);
  text-decoration: underline;
}

.drugdb-alt-actions {
  margin-top: 12px;
}

.drugdb-alt-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: .6rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(18,140,126,.18);
  background: rgba(18,140,126,.08);
  color: #0b6171;
  text-decoration: none;
  font-weight: 800;
}

.drugdb-alt-open:hover,
.drugdb-alt-open:focus {
  color: #075E54;
  text-decoration: none;
  background: rgba(18,140,126,.12);
}

@media (max-width: 920px) {
  .drugdb-home-intro-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .drugdb-home-feature-grid {
    grid-template-columns: 1fr;
  }
}
