/* =========================================================
   MEDIKA WELAS ASIH — STYLE CLEAN CONSOLIDATED
   Clean dari override berlapis. Final state:
   - Hero search tetap baseline
   - Header action desktop disembunyikan
   - Selector desktop card layout V3
   - Tablet/mobile selector chip horizontal
   - Kajian Duha & Bimroh sudah siap
   ========================================================= */

/* ---------- Tokens & Base ---------- */
:root {
  --medika-navy: #0f2f75;
  --medika-blue: #2457d6;
  --medika-blue-dark: #12377d;
  --medika-sky: #e8f3ff;
  --medika-soft: #f6f9fd;
  --medika-line: #dfe8f3;
  --medika-text: #0f172a;
  --medika-muted: #64748b;
  --medika-danger: #ef4444;
  --medika-green: #22c55e;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --soft-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  --container: 1280px;
  --bottom-height: 84px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  padding-bottom: var(--bottom-height);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--medika-text);
  background:
    radial-gradient(circle at 8% 0%, rgba(37, 99, 235, 0.08), transparent 28%),
    radial-gradient(circle at 92% 4%, rgba(148, 163, 184, 0.08), transparent 26%),
    linear-gradient(180deg, #fbfdff 0%, #f7f9fc 50%, #f3f6fa 100%);
}

button, input, select, textarea { font-family: inherit; }

button { cursor: pointer; }

.hidden { display: none !important; }

/* ---------- Header ---------- */
.top-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 72px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(18px);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  cursor: pointer;
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(135deg, #05245f, #1d63d8);
  color: #fff;
  box-shadow: var(--soft-shadow);
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.brand-block h1 {
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.02em;
  color: var(--medika-navy);
}

.brand-block p {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--medika-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.desktop-actions { display: none; }

/* ---------- Layout ---------- */
.public-root,
.admin-root {
  width: min(var(--container), calc(100% - 32px));
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 0 28px;
}

.media-hub,
.media-selector-editorial-v2,
.media-workspace,
.main-footer,
.footer-v2 {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   HERO SEARCH CENTER
   Premium • compact • search-first
   ========================================================= */

.smart-hero {
  position: relative;
  overflow: visible;
  border-radius: 0;
  padding: 22px 0 8px;
  color: var(--medika-text);
  background: transparent;
  box-shadow: none;
}

.hero-v3,
.smart-hero-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
  padding: 38px 16px 18px;
}

.hero-v3-kicker,
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 15px;
  background: rgba(239, 246, 255, 0.92);
  border: 1px solid #dbeafe;
  color: #12377d;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
  box-shadow: 0 10px 22px rgba(15, 47, 117, 0.06);
}

.smart-hero h2,
.hero-v3 h2,
.smart-hero-inner h2 {
  margin: 0 auto;
  max-width: 1050px;
  color: #0f2f75;
  font-size: clamp(46px, 5.6vw, 78px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.065em;
  text-align: center;
  text-wrap: balance;
}

.smart-hero p,
.hero-v3 p,
.smart-hero-inner p {
  margin: 18px auto 0;
  max-width: 900px;
  color: #526986;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.75;
  font-weight: 600;
  text-align: center;
  text-wrap: balance;
}

/* Search panel */
.smart-search-panel {
  position: relative;
  width: min(900px, 100%);
  max-width: 900px;
  margin: 26px auto 0;
  background:
    radial-gradient(circle at 92% 0%, rgba(96, 165, 250, 0.28), transparent 32%),
    linear-gradient(135deg, #0f2f75, #12377d);
  border: 1px solid rgba(191, 219, 254, 0.18);
  border-radius: 30px;
  padding: 10px;
  box-shadow:
    0 24px 52px rgba(15, 47, 117, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  overflow: visible;
  z-index: 30;
}

.hero-search-row {
  position: relative;
  background: #ffffff;
  border-radius: 23px;
  box-shadow:
    0 12px 26px rgba(15, 23, 42, 0.08),
    inset 0 0 0 1px rgba(226, 232, 240, 0.62);
  overflow: hidden;
}

.hero-search-row i {
  position: absolute;
  left: 23px;
  top: 50%;
  transform: translateY(-50%);
  color: #0f3b8f;
  font-size: 17px;
  z-index: 2;
}

.hero-search-row input {
  width: 100%;
  height: 64px;
  border: 0;
  outline: none;
  border-radius: 23px;
  background: #ffffff;
  color: #0f172a;
  padding: 0 78px 0 56px;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.01em;
  box-shadow: none;
}

.hero-search-row input::placeholder {
  color: #71717a;
  opacity: 0.92;
}

/* Arrow kanan */
.hero-search-row::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0f2f75, #2457d6);
  color: #ffffff;
  pointer-events: none;
  box-shadow: 0 12px 24px rgba(15, 47, 117, 0.24);
  z-index: 2;
}

.hero-search-submit,
.smart-search-submit,
.search-submit-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f2f75, #2457d6);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 17px;
  z-index: 3;
}

/* Topik cepat */
.hero-help-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 10px 4px;
}

.hero-help-label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 950;
  padding: 8px;
  letter-spacing: -0.01em;
}

.hero-topic-chip {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  transition: background 0.16s ease, transform 0.16s ease;
}

.hero-topic-chip:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

/* Quick Search Result */

.quick-results {
  position: absolute;
  left: 50%;
  right: auto;
  top: calc(100% + 12px);
  transform: translateX(-50%);
  z-index: 80;
  display: none;
  width: min(820px, calc(100% - 24px));
  max-height: 340px;
  overflow-y: auto;
  overflow-x: hidden;
  margin: 0;
  padding: 10px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 24px;
  box-shadow:
    0 24px 56px rgba(15, 23, 42, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.64) inset;
  backdrop-filter: blur(16px);
  text-align: left;
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.55) transparent;
}

.quick-results.active {
  display: block;
}

.quick-results::-webkit-scrollbar {
  width: 14px;
}

.quick-results::-webkit-scrollbar-track {
  background: transparent;
  margin: 28px 0;
}

.quick-results::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.58);
  border-radius: 999px;
  border-left: 2px solid transparent;
  border-right: 7px solid transparent;
  background-clip: content-box;
}

.quick-results::-webkit-scrollbar-thumb:hover {
  background: rgba(30, 64, 175, 0.72);
  border-left: 2px solid transparent;
  border-right: 7px solid transparent;
  background-clip: content-box;
}

.quick-result-item {
  width: 100%;
  min-height: 58px;
  border: 0;
  background: transparent;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border-radius: 16px;
  transition: background 0.16s ease, transform 0.16s ease;
}

.quick-result-item + .quick-result-item {
  margin-top: 4px;
}

.quick-result-item:hover {
  background: #f1f7ff;
  transform: translateX(2px);
}

.quick-result-icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #123f93;
  flex: 0 0 auto;
  box-shadow: inset 0 0 0 1px rgba(191, 219, 254, 0.72);
}

.quick-result-text {
  min-width: 0;
}

.quick-result-text strong,
.quick-result-text span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-result-text strong {
  color: #0f172a;
  font-size: 13.5px;
  font-weight: 950;
  line-height: 1.25;
}

.quick-result-text span {
  margin-top: 3px;
  color: #64748b;
  font-size: 11.5px;
  font-weight: 800;
}

/* ---------- Media Selector: Desktop Card Layout V3 ---------- */
.media-hub {
  position: relative;
  z-index: 1;
  margin-top: 28px;
}

.media-switcher-v2 { display: grid; gap: 14px; }

.media-selector-editorial-v2.selector-layout-v3 {
  display: grid;
  grid-template-columns:
    minmax(300px, 1.46fr)
    minmax(160px, 0.72fr)
    minmax(160px, 0.72fr)
    minmax(138px, 0.58fr)
    minmax(158px, 0.68fr);
  grid-template-rows: repeat(2, 156px);
  gap: 14px;
  align-items: stretch;
}

.media-switch-btn-v2,
.media-tile-v2 {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 156px;
  padding: 20px;
  border: 0;
  border-radius: 28px;
  color: #fff;
  text-align: left;
  background-image:
    linear-gradient(180deg, rgba(15, 23, 42, 0.04) 0%, rgba(15, 23, 42, 0.30) 44%, rgba(15, 23, 42, 0.88) 100%),
    var(--media-bg);
  background-color: #12377d;
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-tile-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.16);
}

.media-tile-v2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.24), transparent 24%),
    linear-gradient(135deg, rgba(30, 58, 138, 0.10), rgba(15, 23, 42, 0.18));
}

.media-tile-top-v2 {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  align-items: flex-start;
}

.media-switch-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  font-size: 14px;
}

.media-tile-content-v2 {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
}

.media-tile-content-v2 strong {
  display: block;
  color: #fff;
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.045em;
  text-shadow: 0 7px 18px rgba(15, 23, 42, 0.30);
  text-wrap: balance;
}

.media-tile-content-v2 small {
  display: block;
  margin-top: 7px;
  max-width: 240px;
  color: rgba(255, 255, 255, 0.90);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 850;
  text-wrap: balance;
}

.tile-leaflet {
  grid-column: 1;
  grid-row: 1 / 3;
  min-height: 326px;
  align-items: flex-start;
  justify-content: flex-end;
}

.tile-podcast {
  grid-column: 2 / 4;
  grid-row: 1;
  min-height: 156px;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
}

.tile-emagazine {
  grid-column: 2;
  grid-row: 2;
  align-items: center;
  justify-content: center;
}

.tile-informasi {
  grid-column: 3;
  grid-row: 2;
  align-items: center;
  justify-content: center;
}

.tile-video {
  grid-column: 4;
  grid-row: 1 / 3;
  min-height: 326px;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
}

.tile-kajian-duha {
  grid-column: 5;
  grid-row: 1;
  align-items: center;
  justify-content: center;
}

.tile-bimroh {
  grid-column: 5;
  grid-row: 2;
  align-items: center;
  justify-content: center;
}

.tile-leaflet .media-tile-top-v2 { justify-content: flex-start; }
.tile-leaflet .media-tile-content-v2 { text-align: left; }
.tile-leaflet .media-tile-content-v2 strong {
  font-size: clamp(36px, 3.2vw, 46px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}
.tile-leaflet .media-tile-content-v2 small {
  max-width: 330px;
  font-size: 13px;
}

.tile-podcast .media-tile-top-v2,
.tile-emagazine .media-tile-top-v2,
.tile-informasi .media-tile-top-v2,
.tile-kajian-duha .media-tile-top-v2,
.tile-bimroh .media-tile-top-v2,
.tile-video .media-tile-top-v2 {
  justify-content: center;
}

.tile-podcast .media-tile-content-v2,
.tile-emagazine .media-tile-content-v2,
.tile-informasi .media-tile-content-v2,
.tile-kajian-duha .media-tile-content-v2,
.tile-bimroh .media-tile-content-v2,
.tile-video .media-tile-content-v2 {
  text-align: center;
}

.tile-podcast .media-tile-content-v2 strong {
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.tile-podcast .media-tile-content-v2 small {
  max-width: 360px;
  font-size: 12.5px;
}

.tile-video .media-tile-top-v2 { margin-bottom: 12px; }

.tile-video .media-switch-icon {
  width: 44px;
  height: 44px;
  border-radius: 17px;
}

.tile-video .media-tile-content-v2 strong {
  max-width: 112px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 1.05;
}

.tile-video .media-tile-content-v2 small {
  max-width: 116px;
  margin-left: auto;
  margin-right: auto;
  font-size: 11.2px;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tile-emagazine .media-tile-content-v2 strong,
.tile-informasi .media-tile-content-v2 strong,
.tile-kajian-duha .media-tile-content-v2 strong,
.tile-bimroh .media-tile-content-v2 strong {
  font-size: 18px;
  line-height: 1.12;
}

.tile-emagazine .media-tile-content-v2 small,
.tile-informasi .media-tile-content-v2 small,
.tile-kajian-duha .media-tile-content-v2 small,
.tile-bimroh .media-tile-content-v2 small {
  max-width: 132px;
  margin-left: auto;
  margin-right: auto;
  font-size: 11px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tile-informasi.is-placeholder-v3 { cursor: default; }

.tile-informasi.is-placeholder-v3::before {
  content: "Segera";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  font-size: 9px;
  line-height: 1;
  font-weight: 950;
}

.media-tile-v2.active {
  background-image:
    radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.22), transparent 24%),
    linear-gradient(135deg, rgba(15, 47, 117, 0.94), rgba(36, 87, 214, 0.90)),
    var(--media-bg);
  background-color: #2457d6;
  color: #fff;
  outline: 3px solid rgba(147, 197, 253, 0.62);
  box-shadow:
    0 0 0 6px rgba(37, 99, 235, 0.12),
    0 20px 44px rgba(30, 58, 138, 0.22);
}

.media-tile-v2.active .media-switch-icon {
  background: linear-gradient(135deg, #0f2f75, #2457d6);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
}

/* ---------- Media Workspace ---------- */
.media-workspace {
  margin-top: 22px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 30px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.media-head-v2 {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.media-title-v2 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.media-title-v2 i {
  width: 30px;
  height: 30px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 1px;
  background: #eff6ff;
  color: var(--medika-navy);
  border: 1px solid #dbeafe;
  font-size: 15px;
}

.media-title-v2 h3 {
  margin: 0;
  color: var(--medika-text);
  font-size: 25px;
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.media-head-v2 p {
  margin: 6px 0 0;
  color: var(--medika-muted);
  line-height: 1.55;
}

.media-filter-row-v2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 22px;
}

.inline-search-v2 { position: relative; }

.inline-search-v2 i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--medika-muted);
}

.inline-search-v2 input {
  width: 100%;
  height: 56px;
  padding: 0 16px 0 46px;
  border: 1px solid var(--medika-line);
  border-radius: 18px;
  outline: none;
  background: #fff;
  font-weight: 800;
}

.category-row-v2 {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.category-row-v2::-webkit-scrollbar { display: none; }

.category-chip-v2 {
  flex: 0 0 auto;
  padding: 10px 13px;
  border: 1px solid var(--medika-line);
  border-radius: 999px;
  background: #fff;
  color: var(--medika-text);
  font-size: 12px;
  font-weight: 900;
}

.category-chip-v2.active {
  background: var(--medika-navy);
  color: #fff;
  border-color: var(--medika-navy);
}

/* ---------- Media Grid & Cards ---------- */
.media-grid-v2 {
  display: grid;
  gap: 20px;
}

.media-grid-v2.leaflet-mode,
.media-grid-v2.video-mode,
.media-grid-v2.magazine-mode {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.media-grid-v2.podcast-mode,
.media-grid-v2.kajian-mode {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.media-grid-v2.bimroh-mode {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.card-v2 {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 26px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  transition: 0.18s ease;
}

.card-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.10);
}

.leaflet-card-v2 .thumb-v2,
.magazine-card-v2 .thumb-v2 {
  aspect-ratio: 4 / 5;
  margin: 12px;
  overflow: hidden;
  border-radius: 20px;
  background: #eaf2ff;
}

.thumb-v2 img,
.video-thumb-v2 img,
.podcast-cover-v3 img,
.kajian-cover-v2 img,
.bimroh-icon-wrap-v2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fallback-icon {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-size: 34px;
}

.card-body-v2 {
  padding: 2px 16px 16px;
}

.card-title-v2 {
  margin: 0;
  color: var(--medika-text);
  font-size: 15px;
  line-height: 1.32;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.card-summary-v2 {
  margin: 8px 0 0;
  color: var(--medika-muted);
  font-size: 12px;
  line-height: 1.5;
}

.badge-v2 {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-bottom: 9px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--medika-navy);
  font-size: 11px;
  font-weight: 900;
}

.action-row-v2,
.podcast-actions-v3,
.kajian-actions-v2,
.bimroh-actions-v2 {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.main-action-v2,
.podcast-watch-v3,
.kajian-watch-v2 {
  flex: 1;
  border: 0;
  border-radius: 16px;
  padding: 12px 14px;
  background: linear-gradient(135deg, var(--medika-navy), var(--medika-blue));
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.kajian-watch-v2 {
  background: linear-gradient(135deg, #166534, #16a34a);
}

.share-action-v2,
.podcast-share-v3,
.kajian-share-v2 {
  width: 46px;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  background: #eff6ff;
  color: var(--medika-navy);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
}

.kajian-share-v2 {
  border-color: #dcfce7;
  background: #f0fdf4;
  color: #166534;
}

/* Video cards */
.video-card-v2 {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.13);
}

.video-card-v2:hover .video-thumb-v2 img {
  transform: scale(1.035);
}

.video-card-v2:hover .play-orb-v2 {
  transform: scale(1.08);
}

.video-thumb-v2 {
  position: absolute;
  inset: 0;
}

.video-thumb-v2 img {
  transition: transform 0.24s ease;
}

.video-thumb-v2::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15,23,42,0.08) 0%, rgba(15,23,42,0.18) 40%, rgba(15,23,42,0.92) 100%);
}

.video-content-v2 {
  position: absolute;
  inset: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.video-badge-v2 {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 950;
}

.play-orb-v2 {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: auto;
  border-radius: 999px;
  background: var(--medika-danger);
  color: #fff;
  box-shadow: 0 16px 32px rgba(239, 68, 68, 0.34);
  font-size: 21px;
  transition: transform 0.24s ease;
}

.video-bottom-v2 h4 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: -0.025em;
}

.video-actions-v2 {
  margin-top: 13px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.video-actions-v2 button {
  border: 0;
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 950;
}

.video-watch-v2 {
  flex: 1;
  background: #fff;
  color: var(--medika-navy);
}

.video-share-v2 {
  width: 40px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}

/* Podcast & Kajian cards */
.podcast-card-v3,
.kajian-card-v2 {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 28px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.podcast-card-v3:hover,
.kajian-card-v2:hover,
.bimroh-card-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.11);
}

.podcast-cover-v3,
.kajian-cover-v2 {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eaf2ff;
}

.podcast-cover-fallback-v3,
.kajian-cover-fallback-v2 {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-size: 42px;
}

.podcast-cover-shade-v3,
.kajian-cover-shade-v2 {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 18%, rgba(255,255,255,0.20), transparent 25%),
    linear-gradient(180deg, rgba(15,23,42,0.04) 0%, rgba(15,23,42,0.18) 42%, rgba(15,23,42,0.72) 100%);
  pointer-events: none;
}

.podcast-badge-v3 {
  position: absolute;
  top: 14px;
  right: 14px;
  left: auto;
  z-index: 3;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  width: fit-content;
  max-width: calc(100% - 28px);

  padding: 9px 14px;

  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.62),
      rgba(255, 255, 255, 0.32)
    );

  color: #e53935;

  backdrop-filter: blur(18px) saturate(165%);
  -webkit-backdrop-filter: blur(18px) saturate(165%);

  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    inset 0 -1px 0 rgba(255, 255, 255, 0.10);

  font-size: 12px;
  font-weight: 800;
  line-height: 1;

  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.22);
  white-space: nowrap;
}

.podcast-card-v3 .podcast-badge-v3 i,
.podcast-card-v3 .podcast-badge-v3 svg {
  color: #ef4444 !important;
  fill: currentColor !important;
  opacity: 1 !important;
  text-shadow: none;
}

.kajian-badge-v2 {
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 950;
}

.podcast-play-v3,
.kajian-play-v2 {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ef4444;
  color: #fff;
  box-shadow: 0 16px 34px rgba(239, 68, 68, 0.32);
  font-size: 18px;
}

.kajian-play-v2 {
  background: #16a34a;
  box-shadow: 0 16px 34px rgba(22, 163, 74, 0.32);
}

.podcast-content-v3,
.kajian-content-v2 {
  padding: 18px;
}

.podcast-kicker-v3,
.kajian-kicker-v2 {
  margin-bottom: 9px;
  color: #ef4444;
  letter-spacing: 0.20em;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 950;
  text-transform: uppercase;
}

.kajian-kicker-v2 {
  color: #16a34a;
  letter-spacing: 0.18em;
}

.podcast-content-v3 h4,
.kajian-content-v2 h4,
.bimroh-content-v2 h4 {
  margin: 0;
  color: var(--medika-text);
  font-weight: 950;
  letter-spacing: -0.035em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.podcast-content-v3 h4,
.kajian-content-v2 h4 {
  font-size: 19px;
  line-height: 1.25;
  -webkit-line-clamp: 2;
}

.podcast-content-v3 p,
.kajian-content-v2 p,
.bimroh-content-v2 p {
  margin: 10px 0 0;
  color: var(--medika-muted);
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.podcast-content-v3 p,
.kajian-content-v2 p { -webkit-line-clamp: 2; }

/* Bimroh cards */
.bimroh-card-v2 {
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 28px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}

.bimroh-icon-wrap-v2 {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 85% 10%, rgba(255,255,255,0.35), transparent 25%),
    linear-gradient(135deg, #0f2f75, #2457d6);
  color: #fff;
  font-size: 42px;
}

.bimroh-content-v2 { padding-top: 14px; }

.bimroh-content-v2 h4 {
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.025em;
  -webkit-line-clamp: 2;
}

.bimroh-content-v2 p {
  font-size: 12.5px;
  line-height: 1.55;
  -webkit-line-clamp: 3;
}

/* ---------- Common Components ---------- */
.primary-btn,
.ghost-btn,
.danger-btn,
.soft-btn,
.success-btn {
  border: 0;
  border-radius: 16px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: 0.2s ease;
  text-decoration: none;
}

.primary-btn {
  background: linear-gradient(135deg, var(--medika-navy), var(--medika-blue));
  color: #fff;
  box-shadow: 0 12px 26px rgba(30, 58, 138, 0.22);
}

.success-btn {
  background: linear-gradient(135deg, #16a34a, #0f766e);
  color: #fff;
}

.ghost-btn {
  background: #fff;
  color: var(--medika-navy);
  border: 1px solid var(--medika-line);
}

.soft-btn,
.share-link-btn-v3,
.audio-leaflet-btn-v3 {
  background: #eff6ff;
  color: var(--medika-navy);
  border: 1px solid #dbeafe;
}

.danger-btn {
  background: #dc2626;
  color: #fff;
}

.small {
  padding: 10px 13px;
  font-size: 13px;
  border-radius: 13px;
}

.full { width: 100%; }

.primary-btn:disabled,
.success-btn:disabled,
.soft-btn:disabled,
.audio-leaflet-btn-v3:disabled,
.primary-btn.is-disabled,
.audio-leaflet-btn-v3.is-disabled {
  opacity: 0.64;
  cursor: not-allowed;
  box-shadow: none;
}

.empty-state {
  padding: 32px 18px;
  text-align: center;
  color: var(--medika-muted);
  border: 1px dashed #cbd5e1;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
}

.empty-state i {
  margin-bottom: 12px;
  color: #cbd5e1;
  font-size: 36px;
}

.section { margin-top: 22px; }

.section-subtitle,
.detail-summary {
  color: var(--medika-muted);
  line-height: 1.6;
  font-size: 13px;
}

.detail-summary {
  line-height: 1.75;
  font-size: 14px;
}

.detail-action-grid,
.detail-action-grid-v2,
.quick-detail-actions-v3 {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.audio-box {
  margin-top: 16px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--medika-line);
  border-radius: 22px;
}

.audio-box strong {
  display: block;
  margin-bottom: 10px;
  color: var(--medika-navy);
}

audio { width: 100%; }

.hidden-audio-v2,
.hidden-audio-v3 { display: none; }

/* =========================================================
   PUBLIC DETAIL MODAL V7
   Compact floating modal khusus mobile.
   Modal admin tidak terpengaruh.
   ========================================================= */

body.medika-modal-open-v7 {
  overflow: hidden;
}

@media (max-width: 760px) {
  .modal-backdrop.is-public-detail-v7 {
    align-items: center;
    justify-content: center;
    padding:
      max(12px, env(safe-area-inset-top))
      12px
      max(12px, env(safe-area-inset-bottom));
    overflow: hidden;
    background: rgba(15, 23, 42, 0.66);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
  }

  .modal-box.is-public-detail-v7 {
    position: relative;
    width: min(390px, calc(100vw - 24px));
    max-width: 390px;
    max-height: min(88dvh, 700px);
    margin: 0;
    padding: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 25px;
    background: #ffffff;
    box-shadow:
      0 30px 80px rgba(15, 23, 42, 0.32);
    scrollbar-width: thin;
  }

  /* Leaflet dan E-Magazine */
  .modal-box.is-public-detail-v7
  .quick-detail-card-v3 {
    display: block;
    padding: 0;
  }

  .modal-box.is-public-detail-v7
  .quick-detail-cover-wrap-v3 {
    width: 100%;
    height: clamp(168px, 46vw, 205px);
    min-height: 0;
    max-height: none;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: #eef4ff;
  }

  .modal-box.is-public-detail-v7
  .quick-detail-cover-wrap-v3 img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
  }

  .modal-box.is-public-detail-v7
  .quick-detail-cover-wrap-v3 img.portrait {
    object-fit: cover;
    object-position: center 28%;
  }

  .modal-box.is-public-detail-v7
  .detail-cover-placeholder-v3 {
    min-height: 0;
    height: 100%;
  }

  .modal-box.is-public-detail-v7
  .quick-detail-info-v3 {
    display: block;
    padding: 13px 4px 2px;
  }

  .modal-box.is-public-detail-v7
  .detail-badge-v3 {
    margin-bottom: 9px;
    padding: 6px 9px;
    font-size: 10px;
  }

  .modal-box.is-public-detail-v7
  .quick-detail-info-v3 h4 {
    margin: 0;
    font-size: 20px;
    line-height: 1.24;
    letter-spacing: -0.035em;
  }

  .modal-box.is-public-detail-v7
  .quick-detail-info-v3 > p {
    display: -webkit-box;
    margin: 8px 0 0;
    overflow: hidden;
    color: #64748b;
    font-size: 13px;
    line-height: 1.58;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
  }

  .modal-box.is-public-detail-v7
  .quick-detail-actions-v3 {
    display: grid;
    grid-template-columns:
      minmax(0, 1fr)
      minmax(108px, auto);
    gap: 8px;
    margin-top: 13px;
  }

  .modal-box.is-public-detail-v7
  .quick-detail-actions-v3
  .audio-leaflet-btn-v3 {
    grid-column: 1 / -1;
  }

  .modal-box.is-public-detail-v7
  .quick-detail-actions-v3
  .primary-btn,
  .modal-box.is-public-detail-v7
  .quick-detail-actions-v3
  .soft-btn {
    min-height: 44px;
    padding: 9px 11px;
    border-radius: 14px;
    font-size: 12.5px;
  }

  .modal-box.is-public-detail-v7
  .quick-detail-actions-v3
  .share-link-btn-v3 {
    width: auto;
    min-width: 108px;
  }

  /* Podcast, Video dan Kajian Duha */
  .modal-box.is-public-detail-v7
  .podcast-detail-modal-v4,
  .modal-box.is-public-detail-v7
  .kajian-detail-modal-v3,
  .modal-box.is-public-detail-v7
  .video-detail-modal-v3 {
    display: block;
    padding: 0;
  }

  .modal-box.is-public-detail-v7
  .podcast-detail-cover-v4,
  .modal-box.is-public-detail-v7
  .kajian-detail-cover-v3,
  .modal-box.is-public-detail-v7
  .video-detail-cover-v3 {
    width: 100%;
    height: clamp(168px, 46vw, 205px);
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    overflow: hidden;
    border-radius: 18px;
  }

  .modal-box.is-public-detail-v7
  .podcast-detail-cover-v4 img,
  .modal-box.is-public-detail-v7
  .kajian-detail-cover-v3 img,
  .modal-box.is-public-detail-v7
  .video-detail-cover-v3 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .modal-box.is-public-detail-v7
  .podcast-detail-info-v4,
  .modal-box.is-public-detail-v7
  .kajian-detail-info-v3,
  .modal-box.is-public-detail-v7
  .video-detail-info-v3 {
    display: block;
    padding: 13px 4px 2px;
  }

  .modal-box.is-public-detail-v7
  .podcast-detail-info-v4 h4,
  .modal-box.is-public-detail-v7
  .kajian-detail-info-v3 h4,
  .modal-box.is-public-detail-v7
  .video-detail-info-v3 h4 {
    margin: 0;
    font-size: 20px;
    line-height: 1.24;
    letter-spacing: -0.035em;
  }

  .modal-box.is-public-detail-v7
  .podcast-detail-info-v4 p,
  .modal-box.is-public-detail-v7
  .kajian-detail-info-v3 p,
  .modal-box.is-public-detail-v7
  .video-detail-info-v3 p {
    display: -webkit-box;
    margin: 8px 0 0;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.58;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
  }

  .modal-box.is-public-detail-v7
  .podcast-detail-actions-v4,
  .modal-box.is-public-detail-v7
  .kajian-detail-actions-v3,
  .modal-box.is-public-detail-v7
  .video-detail-actions-v3 {
    display: grid;
    grid-template-columns:
      minmax(0, 1fr)
      minmax(108px, auto);
    gap: 8px;
    margin-top: 13px;
  }

  .modal-box.is-public-detail-v7
  .podcast-detail-actions-v4 button,
  .modal-box.is-public-detail-v7
  .kajian-detail-actions-v3 button,
  .modal-box.is-public-detail-v7
  .video-detail-actions-v3 button {
    min-height: 44px;
    padding: 9px 11px;
    border-radius: 14px;
    font-size: 12.5px;
  }

  /* Bimbingan Rohani database */
  .modal-box.is-public-detail-v7
  .bimroh-detail-modal-v3 {
    gap: 10px;
    padding: 2px;
  }

  .modal-box.is-public-detail-v7
  .bimroh-detail-cover-v3 {
    max-height: 175px;
    border-radius: 18px;
  }

  .modal-box.is-public-detail-v7
  .bimroh-detail-head-v3 {
    gap: 7px;
    padding-right: 42px;
  }

  .modal-box.is-public-detail-v7
  .bimroh-detail-head-v3 h4 {
    font-size: 20px;
    line-height: 1.24;
  }

  .modal-box.is-public-detail-v7
  .bimroh-detail-text-v3 {
    max-height: 220px;
    padding: 13px;
    border-radius: 17px;
    font-size: 13px;
    line-height: 1.65;
  }

  .modal-box.is-public-detail-v7
  .bimroh-detail-actions-v3 {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .modal-box.is-public-detail-v7
  .bimroh-detail-actions-v3 button {
    min-height: 44px;
    padding: 9px 10px;
    border-radius: 14px;
    font-size: 12px;
  }

  /* Tombol close floating */
  .modal-box.is-public-detail-v7
  .quick-detail-close-float-v3 {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.92);
    color: #35527c;
    box-shadow:
      0 8px 22px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

@media (max-width: 380px), (max-height: 700px) {
  .modal-box.is-public-detail-v7 {
    width: calc(100vw - 20px);
    max-height: 90dvh;
    padding: 10px;
  }

  .modal-box.is-public-detail-v7
  .quick-detail-cover-wrap-v3,
  .modal-box.is-public-detail-v7
  .podcast-detail-cover-v4,
  .modal-box.is-public-detail-v7
  .kajian-detail-cover-v3,
  .modal-box.is-public-detail-v7
  .video-detail-cover-v3 {
    height: 150px;
  }

  .modal-box.is-public-detail-v7
  .quick-detail-info-v3 > p,
  .modal-box.is-public-detail-v7
  .podcast-detail-info-v4 p,
  .modal-box.is-public-detail-v7
  .kajian-detail-info-v3 p,
  .modal-box.is-public-detail-v7
  .video-detail-info-v3 p {
    -webkit-line-clamp: 3;
  }
}

/* ---------- Modals & Detail ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(6px);
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 92vh;
  overflow: auto;
  padding: 20px;
  background: #fff;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -18px 45px rgba(15, 23, 42, 0.22);
}

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

.modal-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.close-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 16px;
  background: #f1f5f9;
  color: #64748b;
}

.quick-detail-close-float-v3 {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 8;
}

.quick-detail-card-v3 {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(280px, 1.05fr);
  gap: 20px;
  align-items: stretch;
  padding-top: 10px;
}

.quick-detail-cover-wrap-v3 {
  min-height: 360px;
  max-height: 520px;
  overflow: hidden;
  background: #eef4ff;
  border: 1px solid #dbeafe;
  border-radius: 24px;
}

.quick-detail-cover-wrap-v3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-cover-placeholder-v3,
.detail-cover-placeholder-v2 {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-size: 42px;
}

.quick-detail-info-v3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
  min-width: 0;
}

.quick-detail-info-v3 h4,
.podcast-detail-info-v4 h4,
.video-detail-info-v3 h4,
.kajian-detail-info-v3 h4,
.bimroh-detail-head-v3 h4 {
  margin: 0;
  color: var(--medika-text);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.quick-detail-info-v3 h4 { font-size: 24px; line-height: 1.2; }

.quick-detail-info-v3 p,
.podcast-detail-info-v4 p,
.video-detail-info-v3 p,
.kajian-detail-info-v3 p,
.bimroh-detail-head-v3 p {
  margin: 0;
  color: var(--medika-muted);
  font-size: 15px;
  line-height: 1.8;
}

.quick-detail-info-v3 p { font-size: 14px; line-height: 1.75; }

.detail-inline-error-v3,
.detail-inline-error-v2 {
  margin-top: 6px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 16px;
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
  font-size: 12px;
  font-weight: 900;
}

.podcast-detail-modal-v4,
.kajian-detail-modal-v3,
.bimroh-detail-modal-v3 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 12px 6px 6px;
}

.video-detail-modal-v3 {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(300px, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 12px 6px 6px;
}

.podcast-detail-cover-v4,
.kajian-detail-cover-v3,
.video-detail-cover-v3 {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #0f172a;
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.podcast-detail-cover-v4,
.kajian-detail-cover-v3 { aspect-ratio: 16 / 9; }

.video-detail-cover-v3 {
  aspect-ratio: 9 / 16;
  max-height: 520px;
}

.podcast-detail-cover-v4 img,
.kajian-detail-cover-v3 img,
.video-detail-cover-v3 img,
.bimroh-detail-cover-v3 img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.podcast-detail-fallback-v4,
.kajian-detail-fallback-v3,
.video-detail-fallback-v3 {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-size: 44px;
  background: #eaf2ff;
}

.podcast-detail-overlay-v4,
.kajian-detail-overlay-v3,
.video-detail-overlay-v3 {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,0.18), transparent 24%),
    linear-gradient(180deg, rgba(15,23,42,0.02) 0%, rgba(15,23,42,0.08) 42%, rgba(15,23,42,0.34) 100%);
  pointer-events: none;
}

.podcast-detail-play-v4,
.kajian-detail-play-v3,
.video-detail-play-v3 {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ef4444;
  color: #fff;
  box-shadow: 0 16px 34px rgba(239, 68, 68, 0.32);
  font-size: 18px;
}

.kajian-detail-play-v3 {
  background: #16a34a;
  box-shadow: 0 16px 34px rgba(22, 163, 74, 0.32);
}

.podcast-detail-info-v4,
.kajian-detail-info-v3,
.video-detail-info-v3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.podcast-detail-actions-v4,
.kajian-detail-actions-v3,
.video-detail-actions-v3 {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
  margin-top: 6px;
}

.kajian-speaker-v3 {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #f0fdf4;
  color: #166534;
  font-size: 12px;
  font-weight: 900;
}

.bimroh-detail-modal-v3 { gap: 16px; padding-top: 14px; }

.bimroh-detail-head-v3 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 52px;
}

.bimroh-detail-cover-v3 {
  width: 100%;
  max-height: 320px;
  overflow: hidden;
  border-radius: 24px;
  background: #eaf2ff;
}

.bimroh-detail-text-v3 {
  max-height: 340px;
  overflow-y: auto;
  padding: 18px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  color: var(--medika-text);
  font-size: 15px;
  line-height: 1.9;
}

.bimroh-detail-actions-v3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

/* ---------- Pagination ---------- */
.media-result-meta-v2 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--medika-muted);
  font-size: 12px;
  font-weight: 800;
}

.pagination-v2 {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pagination-number-wrap-v2 {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination-btn-v2,
.pagination-number-v2 {
  min-height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #fff;
  color: var(--medika-navy);
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
}

.pagination-number-v2 {
  width: 40px;
  padding: 0;
}

.pagination-number-v2.active {
  background: linear-gradient(135deg, var(--medika-navy), var(--medika-blue));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(30, 58, 138, 0.18);
}

.pagination-btn-v2:disabled,
.pagination-number-v2:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.pagination-dots-v2 {
  color: var(--medika-muted);
  font-size: 12px;
  font-weight: 950;
  padding: 0 2px;
}

/* ---------- Loading & Toast ---------- */
.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: #fff;
  transition: opacity 0.25s ease;
}

.loader-card {
  text-align: center;
  padding: 22px;
}

.loader-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 23px;
  display: grid;
  place-items: center;
  background: #eff6ff;
  color: var(--medika-navy);
  font-size: 23px;
  box-shadow: var(--soft-shadow);
}

.loader-spinner {
  width: 42px;
  height: 42px;
  margin: -44px auto 18px;
  border: 4px solid #e5e7eb;
  border-top-color: var(--medika-navy);
  border-radius: 999px;
  animation: spin 0.9s linear infinite;
}

.loader-card h3 {
  margin: 0;
  color: var(--medika-navy);
}

.loader-card p {
  margin: 7px 0 0;
  color: var(--medika-muted);
  font-size: 13px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.toast-root {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 96px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  pointer-events: none;
}

.toast {
  padding: 13px 14px;
  background: #fff;
  border: 1px solid var(--medika-line);
  border-left: 5px solid var(--medika-navy);
  border-radius: 18px;
  box-shadow: var(--shadow);
  color: var(--medika-text);
  font-size: 13px;
  font-weight: 800;
}

.toast.error { border-left-color: #dc2626; }
.toast.success { border-left-color: #16a34a; }

/* ---------- Footer ---------- */
.main-footer,
.footer-v2 {
  width: min(var(--container), calc(100% - 32px));
  max-width: var(--container);
  margin: 20px auto 0;
  padding: 34px 0 110px;
}

.footer-panel-v2 {
  padding: 24px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--medika-line);
  border-radius: 32px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.055);
}

.footer-grid-v2 {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr 1fr;
  gap: 22px;
}

.footer-brand-v2 strong {
  display: block;
  margin-bottom: 8px;
  color: var(--medika-navy);
  font-size: 20px;
}

.footer-brand-v2 p,
.footer-col-v2 p {
  margin: 0;
  color: var(--medika-muted);
  line-height: 1.65;
  font-size: 13px;
}

.footer-col-v2 h4 {
  margin: 0 0 10px;
  color: #94a3b8;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 950;
}

.footer-link-v2 {
  display: block;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--medika-navy);
  font-weight: 900;
  text-align: left;
}

.footer-wa-v2 {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  border-radius: 999px;
  background: #22c55e;
  color: #fff;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(34,197,94,0.22);
}

.footer-social-v2 {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-v2 a,
.footer-admin-v2 {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--medika-line);
  color: var(--medika-navy);
  text-decoration: none;
}

.footer-bottom-v2 {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--medika-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--medika-muted);
  font-size: 12px;
}

/* ---------- Admin UI ---------- */
.admin-layout { display: grid; gap: 14px; }

.admin-panel {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--medika-line);
  border-radius: 26px;
  box-shadow: var(--soft-shadow);
}

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

.admin-header h2 {
  margin: 0;
  color: var(--medika-navy);
  font-size: 23px;
  font-weight: 900;
}

.admin-header p {
  margin: 5px 0 0;
  color: var(--medika-muted);
  font-size: 13px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 14px;
  padding-bottom: 4px;
}

.admin-tab {
  flex: 0 0 auto;
  padding: 11px 13px;
  border: 1px solid var(--medika-line);
  border-radius: 14px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.admin-tab.active {
  background: var(--medika-navy);
  color: #fff;
  border-color: var(--medika-navy);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.stat-card {
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--medika-line);
  border-radius: 20px;
}

.stat-card small {
  display: block;
  color: var(--medika-muted);
  font-size: 11px;
  font-weight: 900;
}

.stat-card strong {
  display: block;
  margin-top: 6px;
  color: var(--medika-navy);
  font-size: 24px;
  font-weight: 900;
}

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

.admin-item {
  padding: 13px;
  display: grid;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--medika-line);
  border-radius: 20px;
}

.admin-item-title {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
}

.admin-item-meta {
  color: var(--medika-muted);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-item-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.form-grid { display: grid; gap: 13px; }

.form-field label {
  display: block;
  margin-bottom: 7px;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  outline: none;
  background: #f8fafc;
  border: 1px solid var(--medika-line);
  border-radius: 16px;
  color: var(--medika-text);
  font-size: 14px;
  font-weight: 700;
}

.form-field textarea {
  min-height: 92px;
  resize: vertical;
}

.form-note {
  margin-top: 6px;
  color: var(--medika-muted);
  font-size: 11px;
  line-height: 1.5;
}

.upload-overlay {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
}

.upload-box {
  width: min(360px, 100%);
  padding: 22px;
  text-align: center;
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.upload-box i {
  margin-bottom: 10px;
  color: var(--medika-navy);
  font-size: 28px;
}

.upload-box h3 {
  margin: 0;
  color: var(--medika-navy);
}

.upload-box p {
  color: var(--medika-muted);
  font-size: 13px;
  line-height: 1.6;
}

/* =========================================================
   MEDIKA PREMIUM INITIAL LOADING
   Simple, centered, senior friendly
   ========================================================= */

.medika-premium-loader-v1 {
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
  padding: 32px 18px;
  background:
    radial-gradient(circle at top, rgba(56,189,248,0.10), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #f4f8fc 100%);
}

.medika-loader-card-v1 {
  width: min(420px, 100%);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 22px;
  border-radius: 30px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(15,61,104,0.08);
  box-shadow: 0 24px 70px rgba(15,61,104,0.08);
}

.medika-loader-mark-v1 {
  position: relative;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
}

.medika-loader-spinner-v1 {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 4px solid rgba(15,61,104,0.10);
  border-top-color: #0f3d68;
  border-right-color: #38bdf8;
  animation: medikaLoaderSpinV1 0.9s linear infinite;
}

.medika-loader-heart-v1 {
  width: 54px;
  height: 54px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #092c4c, #155c96);
  color: #ffffff;
  font-size: 22px;
  box-shadow: 0 14px 34px rgba(15,61,104,0.20);
  z-index: 1;
}

.medika-loader-card-v1 h2 {
  margin: 6px 0 0;
  color: #0f2f4f;
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.medika-loader-card-v1 p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

.medika-loader-error-v1 {
  border-color: rgba(220,38,38,0.14);
  background: rgba(255,255,255,0.84);
}

.medika-loader-error-v1 .medika-loader-heart-v1 {
  background: linear-gradient(135deg, #991b1b, #dc2626);
}

.medika-loader-retry-v1 {
  margin-top: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 900;
}

@keyframes medikaLoaderSpinV1 {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .medika-premium-loader-v1 {
    min-height: calc(100vh - 96px);
    padding: 24px 16px;
  }

  .medika-loader-card-v1 {
    padding: 26px 18px;
    border-radius: 26px;
  }

  .medika-loader-mark-v1 {
    width: 78px;
    height: 78px;
  }

  .medika-loader-heart-v1 {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    font-size: 20px;
  }
}

/* =========================================================
   MEDIKA PREMIUM FIRST-LOAD SPLASH V2
   Lightweight CSS-only brand reveal. Tidak dipakai ulang oleh
   loading internal, filter, navigasi, maupun CRUD.
   ========================================================= */

.medika-initial-splash-v2 {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 38%, rgba(71, 162, 255, 0.16), transparent 28%),
    radial-gradient(circle at 12% 14%, rgba(17, 92, 204, 0.10), transparent 31%),
    radial-gradient(circle at 88% 86%, rgba(14, 165, 233, 0.09), transparent 29%),
    linear-gradient(145deg, #f9fcff 0%, #f1f7ff 48%, #f8fbff 100%);
  color: #0c3273;
  opacity: 1;
  visibility: visible;
  transition: opacity 360ms ease, visibility 360ms ease;
}

.medika-initial-splash-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(22, 83, 166, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 83, 166, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
}

.medika-initial-splash-v2.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.medika-splash-aura-v2 {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.6;
  animation: medikaSplashFloatV2 5.5s ease-in-out infinite alternate;
}

.medika-splash-aura-one-v2 {
  width: min(42vw, 520px);
  aspect-ratio: 1;
  top: -24%;
  right: -8%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.13), transparent 67%);
}

.medika-splash-aura-two-v2 {
  width: min(36vw, 460px);
  aspect-ratio: 1;
  bottom: -24%;
  left: -7%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.13), transparent 67%);
  animation-delay: -2.2s;
}

.medika-splash-content-v2 {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  transform: translateY(-10px);
  animation: medikaSplashEnterV2 580ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.medika-splash-logo-stage-v2 {
  position: relative;
  width: 124px;
  height: 124px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}

.medika-splash-orbit-v2 {
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(31, 101, 199, 0.18);
  border-top-color: rgba(31, 101, 199, 0.72);
  border-right-color: rgba(14, 165, 233, 0.46);
  border-radius: 999px;
  animation: medikaSplashOrbitV2 2.6s linear infinite;
}

.medika-splash-orbit-dot-v2 {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 999px;
  background: #2b7de9;
  box-shadow: 0 0 0 6px rgba(43, 125, 233, 0.10), 0 0 24px rgba(43, 125, 233, 0.48);
  transform-origin: 4px 58px;
  animation: medikaSplashDotV2 2.6s linear infinite;
}

.medika-splash-logo-v2 {
  position: relative;
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.94);
  color: #1252ad;
  font-size: 34px;
  box-shadow:
    0 22px 54px rgba(19, 73, 148, 0.18),
    0 4px 14px rgba(19, 73, 148, 0.10),
    inset 0 0 0 5px rgba(230, 241, 255, 0.72);
}

.medika-splash-logo-v2::after {
  content: '';
  position: absolute;
  inset: -30% auto -30% -52%;
  width: 42%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.78), transparent);
  animation: medikaSplashShineV2 2.8s ease-in-out infinite;
}

.medika-splash-logo-v2 img {
  width: 86%;
  height: 86%;
  display: block;
  object-fit: contain;
}

.medika-splash-brand-v2 span {
  display: block;
  margin-bottom: 7px;
  color: #4f6f9c;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.20em;
}

.medika-splash-brand-v2 h1 {
  margin: 0;
  color: #0c3273;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.055em;
}

.medika-splash-brand-v2 p {
  margin: 10px 0 0;
  color: #607697;
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.5;
  font-weight: 700;
}

.medika-splash-progress-v2 {
  width: 184px;
  height: 3px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(20, 76, 153, 0.10);
}

.medika-splash-progress-v2 span {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #154c9e, #38bdf8);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.38);
  animation: medikaSplashProgressV2 1.15s ease-in-out infinite;
}

.medika-splash-caption-v2 {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  margin: 0;
  color: #8394ad;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}

@keyframes medikaSplashEnterV2 {
  from { opacity: 0; transform: translateY(4px) scale(0.985); }
  to { opacity: 1; transform: translateY(-10px) scale(1); }
}

@keyframes medikaSplashOrbitV2 {
  to { transform: rotate(360deg); }
}

@keyframes medikaSplashDotV2 {
  to { transform: rotate(360deg); }
}

@keyframes medikaSplashProgressV2 {
  0% { transform: translateX(-110%); }
  55%, 100% { transform: translateX(245%); }
}

@keyframes medikaSplashShineV2 {
  0%, 25% { transform: translateX(0) rotate(18deg); opacity: 0; }
  45% { opacity: 0.75; }
  68%, 100% { transform: translateX(390%) rotate(18deg); opacity: 0; }
}

@keyframes medikaSplashFloatV2 {
  to { transform: translate3d(0, 18px, 0) scale(1.04); }
}

@media (max-width: 640px) {
  .medika-initial-splash-v2 {
    padding: 22px;
  }

  .medika-splash-logo-stage-v2 {
    width: 112px;
    height: 112px;
    margin-bottom: 22px;
  }

  .medika-splash-orbit-dot-v2 {
    transform-origin: 4px 52px;
  }

  .medika-splash-logo-v2 {
    width: 86px;
    height: 86px;
  }

  .medika-splash-progress-v2 {
    width: 160px;
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .medika-splash-aura-v2,
  .medika-splash-content-v2,
  .medika-splash-orbit-v2,
  .medika-splash-orbit-dot-v2,
  .medika-splash-logo-v2::after,
  .medika-splash-progress-v2 span {
    animation: none !important;
  }

  .medika-splash-progress-v2 span {
    width: 100%;
    opacity: 0.6;
  }
}

/* ---------- Bottom Nav ---------- */
.bottom-nav {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  height: 68px;
  padding: 7px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(18px);
}

.bottom-nav.bottom-nav-v2 {
  grid-template-columns: repeat(5, 1fr);
  height: 74px;
  left: 10px;
  right: 10px;
  bottom: 10px;
}

.bottom-nav-item {
  min-width: 0;
  border: 0;
  border-radius: 21px;
  background: transparent;
  color: #475569;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-weight: 900;
}

.bottom-nav-item span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #475569;
}

.bottom-nav-item small {
  color: #475569;
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}

.bottom-nav-item.active:not(.bottom-nav-main) span {
  background: #eff6ff;
  color: var(--medika-navy);
}

.bottom-nav-item.active:not(.bottom-nav-main) small {
  color: var(--medika-navy);
}

.bottom-nav-main {
  transform: translateY(-13px);
}

.bottom-nav-main span {
  width: 48px;
  height: 48px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--medika-navy), var(--medika-blue));
  color: #fff;
  box-shadow: 0 14px 28px rgba(30, 58, 138, 0.26);
}

.bottom-nav-main small {
  margin-top: 2px;
  color: var(--medika-navy);
}

/* =========================================================
   MEDIKA PUBLIC UX - SENIOR FRIENDLY + FAST LOADING
   Paket 1-3
   ========================================================= */

.public-root {
  scroll-behavior: smooth;
}

.senior-hero-v1 {
  padding: clamp(24px, 4vw, 42px);
}

.senior-hero-v1 h2 {
  max-width: 780px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.senior-hero-v1 p {
  max-width: 760px;
  font-size: clamp(16px, 2.3vw, 20px);
  line-height: 1.7;
}

.senior-search-panel-v1 {
  margin-top: 22px;
}

.senior-search-row-v1 {
  min-height: 62px;
  border-radius: 22px;
}

.senior-search-row-v1 input {
  min-height: 58px;
  font-size: 17px;
  line-height: 1.4;
}

.senior-search-row-v1 i {
  font-size: 20px;
}

.senior-topic-row-v1 {
  gap: 10px;
  align-items: center;
}

.senior-topic-chip-v1 {
  min-height: 42px;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
}

.senior-media-selector-v1 {
  gap: 14px;
}

.senior-media-tile-v1 {
  min-height: 132px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f1f7ff 100%) !important;
  border: 1px solid rgba(15, 61, 104, 0.10);
  box-shadow: 0 14px 34px rgba(15, 61, 104, 0.08);
}

.senior-media-tile-v1::before {
  background-image: none !important;
}

.senior-media-tile-v1 .media-tile-overlay-v2 {
  background: linear-gradient(135deg, rgba(15, 61, 104, 0.06), rgba(56, 189, 248, 0.06)) !important;
}

.senior-media-tile-v1 .media-switch-icon {
  width: 48px;
  height: 48px;
  border-radius: 17px;
  font-size: 20px;
}

.senior-media-tile-v1 .media-tile-content-v2 strong {
  color: #0f2f4f;
  font-size: clamp(18px, 2.5vw, 23px);
  line-height: 1.2;
}

.senior-media-tile-v1 .media-tile-content-v2 small {
  color: #475569;
  font-size: 14px;
  line-height: 1.45;
}

.main-action-v2,
.video-watch-v2,
.podcast-watch-v3,
.kajian-watch-v2 {
  min-height: 48px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 900;
}

.share-action-v2,
.video-share-v2,
.podcast-share-v3,
.kajian-share-v2 {
  min-width: 48px;
  min-height: 48px;
  border-radius: 16px;
}

.card-title-v2,
.video-bottom-v2 h4,
.podcast-content-v3 h4,
.kajian-content-v2 h4,
.bimroh-content-v2 h4 {
  font-size: clamp(18px, 2.3vw, 22px);
  line-height: 1.32;
}

.card-summary-v2,
.podcast-content-v3 p,
.kajian-content-v2 p,
.bimroh-content-v2 p {
  font-size: 15px;
  line-height: 1.65;
}

.senior-empty-state-v1 {
  border-radius: 24px;
  padding: 34px 22px;
}

.senior-empty-state-v1 i {
  font-size: 38px;
}

.senior-empty-state-v1 h3 {
  margin: 10px 0 6px;
  font-size: 20px;
  line-height: 1.25;
}

.senior-empty-state-v1 p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
}

.senior-skeleton-search-v1 {
  width: min(720px, 100%);
  height: 62px;
  margin-top: 24px;
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(226,232,240,0.75), rgba(255,255,255,0.92), rgba(226,232,240,0.75));
  background-size: 200% 100%;
  animation: medikaSeniorShimmer 1.2s infinite;
}

.senior-skeleton-grid-v1 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 8px 0 16px;
}

.senior-skeleton-card-v1 {
  min-height: 132px;
  border-radius: 24px;
  background: linear-gradient(90deg, rgba(226,232,240,0.72), rgba(255,255,255,0.94), rgba(226,232,240,0.72));
  background-size: 200% 100%;
  animation: medikaSeniorShimmer 1.2s infinite;
  border: 1px solid rgba(15,61,104,0.08);
}

.senior-error-box-v1 {
  border: 1px solid rgba(220, 38, 38, 0.14);
  background:
    radial-gradient(circle at top right, rgba(254, 226, 226, 0.72), transparent 35%),
    linear-gradient(135deg, #ffffff, #fff7f7);
}

.senior-retry-btn-v1 {
  margin-top: 18px;
  min-height: 52px;
  border-radius: 17px;
  font-size: 16px;
  font-weight: 900;
}

@keyframes medikaSeniorShimmer {
  to {
    background-position: -200% 0;
  }
}

@media (max-width: 720px) {
  .senior-hero-v1 {
    padding: 24px 18px;
  }

  .senior-search-row-v1 {
    min-height: 58px;
  }

  .senior-search-row-v1 input {
    min-height: 54px;
    font-size: 16px;
  }

  .senior-topic-row-v1 {
    align-items: flex-start;
  }

  .senior-topic-chip-v1 {
    font-size: 13px;
    min-height: 40px;
  }

  .senior-skeleton-grid-v1 {
    grid-template-columns: 1fr;
  }

  .senior-media-tile-v1 {
    min-height: 118px;
  }
}


/* =========================================================
   BIMROH-1 — TAB, SEPARATOR, DIRECT CARD OPEN
   ========================================================= */

.bimroh-board-v1 {
  display: grid;
  gap: 20px;
}

.bimroh-board-intro-v1 {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(36,87,214,0.10), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f6f9ff 100%);
  border: 1px solid rgba(15,47,117,0.10);
  box-shadow: 0 16px 40px rgba(15,23,42,0.055);
}

.bimroh-board-kicker-v1 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(36,87,214,0.08);
  color: #0f2f75;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
}

.bimroh-board-intro-v1 h3 {
  margin: 0 0 7px;
  color: #0f172a;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.bimroh-board-intro-v1 p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
  max-width: 720px;
}

.bimroh-tabs-v1 {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}

.bimroh-tabs-v1::-webkit-scrollbar {
  display: none;
}

.bimroh-tab-v1 {
  min-height: 44px;
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid rgba(15,47,117,0.12);
  background: #ffffff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(15,23,42,0.04);
}

.bimroh-tab-v1.active {
  background: linear-gradient(135deg, #0f2f75, #2457d6);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(36,87,214,0.20);
}

.bimroh-section-v1 {
  display: grid;
  gap: 14px;
}

.bimroh-section-head-v1 {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 13px;
  align-items: center;
  padding: 4px 2px 0;
}

.bimroh-section-icon-v1 {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(36,87,214,0.09);
  color: #0f2f75;
  font-size: 20px;
}

.bimroh-section-head-v1 h4 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.bimroh-section-head-v1 p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.bimroh-guide-grid-v1 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bimroh-guide-card-v1 {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  min-height: 142px;
  padding: 18px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(15,47,117,0.10);
  box-shadow: 0 16px 38px rgba(15,23,42,0.06);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.bimroh-guide-card-v1:hover {
  transform: translateY(-2px);
  border-color: rgba(36,87,214,0.22);
  box-shadow: 0 22px 48px rgba(15,23,42,0.10);
}

.bimroh-guide-icon-v1 {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,0.28), transparent 35%),
    linear-gradient(135deg, #0f2f75, #2457d6);
  color: #ffffff;
  font-size: 23px;
  box-shadow: 0 14px 30px rgba(36,87,214,0.18);
}

.bimroh-guide-body-v1 {
  min-width: 0;
}

.bimroh-guide-kicker-v1 {
  color: #2457d6;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .055em;
  margin-bottom: 7px;
}

.bimroh-guide-body-v1 h4 {
  margin: 0 0 7px;
  color: #0f172a;
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.bimroh-guide-body-v1 p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
}

.bimroh-guide-foot-v1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.bimroh-guide-action-v1 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #0f2f75;
  font-size: 14px;
  font-weight: 900;
}

.bimroh-guide-mini-v1 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-size: 14px;
}

.bimroh-reader-close-v1 {
  position: sticky;
  top: 0;
  margin-left: auto;
  z-index: 3;
}

.bimroh-reader-v1 {
  display: grid;
  gap: 18px;
  padding: 4px 2px 0;
}

.bimroh-reader-head-v1 {
  padding: 18px 18px 6px;
  text-align: left;
}

.bimroh-reader-kicker-v1 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(36,87,214,0.08);
  color: #0f2f75;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}

.bimroh-reader-head-v1 h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.bimroh-reader-head-v1 p {
  margin: 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.65;
}

.bimroh-reader-tools-v1 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 18px;
}

.bimroh-reader-tools-v1 button {
  min-height: 42px;
  padding: 10px 13px;
  border-radius: 14px;
  border: 1px solid rgba(15,47,117,0.12);
  background: #ffffff;
  color: #0f2f75;
  font-size: 13px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.bimroh-reader-body-v1 {
  margin: 0 18px;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(15,47,117,0.10);
  box-shadow: 0 14px 34px rgba(15,23,42,0.05);
  color: #0f172a;
  font-size: 20px;
  line-height: 1.95;
}

.bimroh-reader-body-v1 p {
  margin: 0 0 18px;
}

.bimroh-reader-body-v1 p:last-child {
  margin-bottom: 0;
}

.bimroh-reader-audio-v1 {
  width: calc(100% - 36px);
  margin: 0 18px;
}

.bimroh-reader-bottom-v1 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px 18px;
  flex-wrap: wrap;
}

.bimroh-reader-bottom-v1 .btn,
.bimroh-reader-bottom-v1 button {
  min-height: 46px;
  border-radius: 15px;
  font-weight: 900;
}

@media (max-width: 820px) {
  .bimroh-guide-grid-v1 {
    grid-template-columns: 1fr;
  }

  .bimroh-guide-card-v1 {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .bimroh-board-intro-v1 {
    padding: 18px;
    border-radius: 22px;
  }

  .bimroh-guide-card-v1 {
    grid-template-columns: 50px 1fr;
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
  }

  .bimroh-guide-icon-v1 {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    font-size: 20px;
  }

  .bimroh-section-head-v1 {
    grid-template-columns: 42px 1fr;
  }

  .bimroh-section-icon-v1 {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    font-size: 18px;
  }

  .bimroh-reader-body-v1 {
    margin: 0 12px;
    padding: 18px;
    font-size: 19px;
    line-height: 1.9;
  }

  .bimroh-reader-head-v1,
  .bimroh-reader-tools-v1,
  .bimroh-reader-bottom-v1 {
    padding-left: 12px;
    padding-right: 12px;
  }

  .bimroh-reader-bottom-v1 {
    flex-direction: column-reverse;
  }

  .bimroh-reader-bottom-v1 button {
    width: 100%;
  }
}

/* =========================================================
   BIMROH STATIC INLINE READER
   Modern, minimalis, ramah dewasa & lansia
   ========================================================= */

.bimroh-static-board {
  display: grid;
  gap: 22px;
}

.bimroh-static-hero {
  padding: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(36,87,214,0.12), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f6f9ff 100%);
  border: 1px solid rgba(15,47,117,0.10);
  box-shadow: 0 18px 44px rgba(15,23,42,0.06);
}

.bimroh-static-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(36,87,214,0.08);
  color: #0f2f75;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}

.bimroh-static-hero h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.bimroh-static-hero p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.65;
  max-width: 760px;
}

.bimroh-static-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
}

.bimroh-static-tabs::-webkit-scrollbar {
  display: none;
}

.bimroh-static-tab {
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(15,47,117,0.12);
  background: #ffffff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(15,23,42,0.045);
  cursor: pointer;
}

.bimroh-static-tab.active {
  background: linear-gradient(135deg, #0f2f75, #2457d6);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(36,87,214,0.20);
}

.bimroh-static-section {
  display: grid;
  gap: 14px;
}

.bimroh-static-section-head {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 13px;
  align-items: center;
  padding-top: 4px;
}

.bimroh-static-section-icon {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(36,87,214,0.09);
  color: #0f2f75;
  font-size: 21px;
}

.bimroh-static-section-head h4 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.bimroh-static-section-head p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.bimroh-static-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bimroh-static-card {
  width: 100%;
  display: grid;
  grid-template-columns: 56px 1fr 32px;
  gap: 14px;
  align-items: center;
  min-height: 126px;
  padding: 17px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(15,47,117,0.10);
  box-shadow: 0 16px 38px rgba(15,23,42,0.055);
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  cursor: pointer;
}

.bimroh-static-card:hover {
  transform: translateY(-2px);
  border-color: rgba(36,87,214,0.24);
  box-shadow: 0 22px 50px rgba(15,23,42,0.10);
}

.bimroh-static-card.active {
  border-color: rgba(36,87,214,0.36);
  background:
    radial-gradient(circle at top right, rgba(36,87,214,0.09), transparent 34%),
    #ffffff;
}

.bimroh-static-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #0f2f75, #2457d6);
  color: #ffffff;
  font-size: 22px;
  box-shadow: 0 14px 28px rgba(36,87,214,0.18);
}

.bimroh-static-card-copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.bimroh-static-card-copy small {
  color: #2457d6;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.bimroh-static-card-copy strong {
  color: #0f172a;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.bimroh-static-card-copy em {
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
  font-style: normal;
  font-weight: 700;
}

.bimroh-static-card-arrow {
  color: #94a3b8;
  font-size: 18px;
}

.bimroh-static-reader {
  overflow: hidden;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid rgba(15,47,117,0.10);
  box-shadow: 0 22px 60px rgba(15,23,42,0.075);
}

.bimroh-static-reader-head {
  padding: 24px 24px 18px;
  background:
    radial-gradient(circle at top right, rgba(36,87,214,0.09), transparent 30%),
    linear-gradient(135deg, #ffffff, #f7faff);
  border-bottom: 1px solid rgba(15,47,117,0.08);
}

.bimroh-static-reader-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(36,87,214,0.08);
  color: #0f2f75;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 12px;
}

.bimroh-static-reader-head h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.bimroh-static-reader-head p {
  margin: 0;
  color: #64748b;
  font-size: 16px;
  line-height: 1.65;
  max-width: 780px;
}

.bimroh-static-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.bimroh-static-tools button {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 15px;
  border: 1px solid rgba(15,47,117,0.12);
  background: #ffffff;
  color: #0f2f75;
  font-size: 13px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.bimroh-static-reader-body {
  padding: 26px;
  color: #0f172a;
  line-height: 1.9;
}

.bimroh-static-paragraph {
  margin: 0 0 18px;
}

.bimroh-static-list-block {
  margin: 20px 0;
  padding: 18px;
  border-radius: 22px;
  background: #f8fbff;
  border: 1px solid rgba(15,47,117,0.08);
}

.bimroh-static-list-block h5 {
  margin: 0 0 12px;
  color: #0f2f75;
  font-size: 16px;
  font-weight: 900;
}

.bimroh-static-list-block ol {
  margin: 0;
  padding-left: 22px;
}

.bimroh-static-list-block li {
  margin-bottom: 10px;
}

.bimroh-static-note {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  margin: 20px 0;
  padding: 16px;
  border-radius: 20px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #1e3a8a;
}

.bimroh-static-note i {
  width: 34px;
  height: 34px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #dbeafe;
}

.bimroh-static-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 750;
}

.bimroh-static-arabic-block {
  margin: 22px 0;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(15,47,117,0.10);
  box-shadow: 0 12px 30px rgba(15,23,42,0.045);
}

.bimroh-static-ayah-number {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(36,87,214,0.08);
  color: #0f2f75;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 14px;
}

.bimroh-static-arabic {
  direction: rtl;
  text-align: right;
  color: #0f172a;
  font-family: "Times New Roman", "Scheherazade New", serif;
  font-size: 1.65em;
  line-height: 2.15;
  margin-bottom: 14px;
}

.bimroh-static-latin {
  color: #0f2f75;
  font-size: 0.98em;
  line-height: 1.75;
  font-weight: 850;
  margin-bottom: 10px;
}

.bimroh-static-arti {
  color: #475569;
  font-size: 0.92em;
  line-height: 1.75;
  padding-top: 10px;
  border-top: 1px solid rgba(15,47,117,0.08);
}

@media (max-width: 860px) {
  .bimroh-static-card-grid {
    grid-template-columns: 1fr;
  }

  .bimroh-static-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .bimroh-static-hero,
  .bimroh-static-reader-head {
    padding: 20px;
    border-radius: 24px;
  }

  .bimroh-static-card {
    grid-template-columns: 50px 1fr 24px;
    gap: 12px;
    padding: 15px;
    border-radius: 22px;
  }

  .bimroh-static-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    font-size: 20px;
  }

  .bimroh-static-section-head {
    grid-template-columns: 44px 1fr;
  }

  .bimroh-static-section-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    font-size: 18px;
  }

  .bimroh-static-reader {
    border-radius: 26px;
  }

  .bimroh-static-reader-body {
    padding: 20px;
  }

  .bimroh-static-arabic-block {
    padding: 18px;
    border-radius: 22px;
  }

  .bimroh-static-arabic {
    font-size: 1.45em;
    line-height: 2.05;
  }

  .bimroh-static-tools button {
    flex: 1;
    justify-content: center;
  }
}

/* =========================================================
   BIMROH-2 — UX POLISH & NAVIGASI LANSIA
   ========================================================= */

.bimroh-static-card-area {
  display: grid;
  gap: 22px;
  scroll-margin-top: 96px;
}

.bimroh-static-card {
  position: relative;
}

.bimroh-static-card.active {
  border-color: rgba(36,87,214,0.55) !important;
  box-shadow: 0 24px 58px rgba(36,87,214,0.16) !important;
}

.bimroh-static-card.active::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 20px;
  border: 1px solid rgba(36,87,214,0.14);
  pointer-events: none;
}

.bimroh-static-card-topline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.bimroh-static-reading-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(36,87,214,0.10);
  color: #0f2f75;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: none;
}

.bimroh-static-card.active .bimroh-static-card-arrow {
  color: #2457d6;
}

.bimroh-static-reader-polished {
  scroll-margin-top: 96px;
}

.bimroh-reader-status-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0f2f75, #2457d6);
  color: #ffffff;
}

.bimroh-reader-status-v2 span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 950;
}

.bimroh-reader-status-v2 button {
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.14);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.bimroh-static-reader-polished .bimroh-static-reader-head {
  padding-top: 26px;
}

.bimroh-static-reader-polished .bimroh-static-reader-body {
  min-height: 180px;
}

.bimroh-reader-bottom-nav-v2 {
  display: flex;
  justify-content: center;
  padding: 0 24px 24px;
}

.bimroh-reader-bottom-nav-v2 button {
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(15,47,117,0.12);
  background: #ffffff;
  color: #0f2f75;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(15,23,42,0.06);
  cursor: pointer;
}

.bimroh-reader-bottom-nav-v2 button:hover,
.bimroh-reader-status-v2 button:hover,
.bimroh-static-tools button:hover {
  transform: translateY(-1px);
}

.bimroh-static-tools button {
  transition: transform .16s ease, box-shadow .16s ease;
}

@media (max-width: 640px) {
  .bimroh-reader-status-v2 {
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
  }

  .bimroh-reader-status-v2 button {
    justify-content: center;
    width: 100%;
  }

  .bimroh-reader-status-v2 span {
    justify-content: center;
  }

  .bimroh-reader-bottom-nav-v2 {
    padding: 0 20px 22px;
  }

  .bimroh-reader-bottom-nav-v2 button {
    width: 100%;
    justify-content: center;
  }

  .bimroh-static-reading-pill {
    font-size: 9.5px;
  }
}

/* =========================================================
   ADMIN CONTENT MANAGER V3
   Clean rebuild for Kelola Konten
   ========================================================= */

.admin-content-manager-v3 {
  width: 100%;
}

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

.admin-content-title-v3 {
  min-width: 0;
}

.admin-content-kicker-v3 {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #12377d;
  font-size: 11px;
  font-weight: 950;
  margin-bottom: 10px;
}

.admin-content-title-v3 h2 {
  margin: 0;
  color: var(--medika-navy);
  font-size: 28px;
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.admin-content-title-v3 p {
  margin: 7px 0 0;
  color: var(--medika-muted);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 650;
}

.admin-content-total-v3 {
  min-width: 118px;
  padding: 13px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #0f2f75, #2457d6);
  color: #ffffff;
  text-align: right;
  box-shadow: 0 16px 34px rgba(15, 47, 117, 0.18);
}

.admin-content-total-v3 small {
  display: block;
  font-size: 11px;
  opacity: 0.78;
  font-weight: 850;
}

.admin-content-total-v3 strong {
  display: block;
  margin-top: 2px;
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
}

.admin-content-add-row-v3 {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 12px;
  border-radius: 22px;
  background: #f8fbff;
  border: 1px solid #e2e8f0;
  margin-bottom: 14px;
}

.admin-add-chip-v3 {
  min-height: 40px;
  border: 1px solid #dbeafe;
  background: #ffffff;
  color: #0f2f75;
  border-radius: 999px;
  padding: 9px 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.admin-add-chip-v3:hover {
  background: #eff6ff;
  transform: translateY(-1px);
}

.admin-content-toolbar-v3 {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-search-box-v3 {
  position: relative;
  width: 100%;
}

.admin-search-box-v3 > i {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 15px;
}

.admin-search-box-v3 input {
  width: 100%;
  height: 52px;
  border: 1px solid #dbe7f5;
  border-radius: 18px;
  outline: none;
  background: #ffffff;
  color: var(--medika-text);
  padding: 0 52px 0 46px;
  font-size: 13px;
  font-weight: 750;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.72);
}

.admin-search-box-v3 input:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.admin-search-clear-v3 {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 12px;
  background: #eff6ff;
  color: #0f2f75;
  display: grid;
  place-items: center;
}

.admin-filter-row-v3 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-filter-chip-v3 {
  min-height: 38px;
  border: 1px solid #dbe7f5;
  background: #ffffff;
  color: #0f2f75;
  border-radius: 999px;
  padding: 8px 10px 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 950;
}

.admin-filter-chip-v3 span {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  background: #eff6ff;
  color: #0f2f75;
  font-size: 11px;
}

.admin-filter-chip-v3.active {
  background: linear-gradient(135deg, #0f2f75, #2457d6);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(15, 47, 117, 0.18);
}

.admin-filter-chip-v3.active span {
  background: rgba(255,255,255,0.18);
  color: #ffffff;
}

.admin-content-summary-v3 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--medika-muted);
  font-size: 12px;
  font-weight: 800;
}

.admin-content-summary-v3 span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.admin-content-summary-v3 strong {
  color: #0f2f75;
}

.admin-content-list-v3 {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.admin-content-card-v3 {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 112px;
  padding: 14px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #dfe8f3;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.admin-content-card-v3:hover {
  transform: translateY(-1px);
  border-color: #bfdbfe;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.admin-content-thumb-v3 {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #12377d;
  font-size: 24px;
  flex: 0 0 auto;
}

.admin-content-thumb-v3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-content-info-v3 {
  min-width: 0;
}

.admin-content-line-v3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}

.admin-type-badge-v3,
.admin-featured-badge-v3 {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 10.5px;
  line-height: 1;
  font-weight: 950;
}

.admin-type-badge-v3 {
  background: #eff6ff;
  color: #0f2f75;
  border: 1px solid #dbeafe;
}

.admin-featured-badge-v3 {
  background: #fef9c3;
  color: #854d0e;
  border: 1px solid #fde68a;
}

.admin-content-item-title-v3 {
  margin: 0;
  color: var(--medika-text);
  font-size: 15px;
  line-height: 1.28;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.admin-content-item-summary-v3 {
  margin: 5px 0 0;
  color: var(--medika-muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.admin-content-meta-v3 {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.admin-content-meta-v3 span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 10.5px;
  font-weight: 850;
}

.admin-content-actions-v3 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-edit-btn-v3,
.admin-delete-btn-v3 {
  min-height: 38px;
  border-radius: 14px;
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 950;
}

.admin-edit-btn-v3 {
  border: 1px solid #dbeafe;
  background: #ffffff;
  color: #0f2f75;
}

.admin-edit-btn-v3:hover {
  background: #eff6ff;
}

.admin-delete-btn-v3 {
  border: 1px solid transparent;
  background: #ef4444;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.18);
}

.admin-delete-btn-v3:hover {
  background: #dc2626;
}

.admin-no-result-v3 {
  margin-top: 14px;
}

/* Mobile admin content manager */
@media (max-width: 760px) {
  .admin-content-head-v3 {
    flex-direction: column;
  }

  .admin-content-total-v3 {
    width: 100%;
    text-align: left;
  }

  .admin-content-add-row-v3 {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .admin-content-add-row-v3::-webkit-scrollbar {
    display: none;
  }

  .admin-add-chip-v3 {
    flex: 0 0 auto;
  }

  .admin-filter-row-v3 {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  .admin-filter-row-v3::-webkit-scrollbar {
    display: none;
  }

  .admin-filter-chip-v3 {
    flex: 0 0 auto;
  }

  .admin-content-card-v3 {
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: flex-start;
    gap: 12px;
    padding: 13px;
  }

  .admin-content-thumb-v3 {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    font-size: 20px;
  }

  .admin-content-actions-v3 {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .admin-edit-btn-v3,
  .admin-delete-btn-v3 {
    width: 100%;
  }

  .admin-content-item-summary-v3 {
    -webkit-line-clamp: 2;
  }

  .admin-content-meta-v3 {
    gap: 6px;
  }

  .admin-content-meta-v3 span {
    font-size: 10px;
  }
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .detail-action-grid,
  .detail-action-grid-v2,
  .quick-detail-actions-v3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-action-grid-v2 .audio-leaflet-btn-v3,
  .quick-detail-actions-v3 .audio-leaflet-btn-v3 {
    grid-column: 1 / -1;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .modal-backdrop {
    align-items: center;
    padding: 20px;
  }

  .modal-box {
    border-radius: 30px;
  }
}

@media (min-width: 920px) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .admin-layout { grid-template-columns: 230px 1fr; }
  .admin-tabs { flex-direction: column; overflow: visible; }
  .toast-root { left: auto; width: 360px; bottom: 24px; }
  .desktop-actions { display: none; }
}

@media (max-width: 1080px) {
  .media-hub { margin-top: 20px; }

  .media-selector-editorial-v2.selector-layout-v3 {
    display: flex;
    grid-template-columns: none;
    grid-template-rows: none;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 2px 12px;
    margin: 0;
    background: transparent;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .media-selector-editorial-v2.selector-layout-v3::-webkit-scrollbar {
    display: none;
  }

  .selector-layout-v3 .media-tile-v2,
  .selector-layout-v3 .tile-leaflet,
  .selector-layout-v3 .tile-podcast,
  .selector-layout-v3 .tile-emagazine,
  .selector-layout-v3 .tile-informasi,
  .selector-layout-v3 .tile-video,
  .selector-layout-v3 .tile-kajian-duha,
  .selector-layout-v3 .tile-bimroh {
    position: relative;
    flex: 0 0 auto;
    width: auto;
    min-width: max-content;
    max-width: none;
    height: 46px;
    min-height: 46px;
    max-height: 46px;
    grid-column: auto;
    grid-row: auto;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 15px 0 11px;
    border-radius: 999px;
    background-image: none;
    background: rgba(255, 255, 255, 0.96);
    color: var(--medika-navy);
    border: 1px solid rgba(191, 219, 254, 0.88);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.055);
    overflow: visible;
    isolation: auto;
    scroll-snap-align: start;
    transform: none;
  }

  .selector-layout-v3 .media-tile-v2:hover {
    transform: none;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.055);
  }

  .selector-layout-v3 .media-tile-v2::after,
  .selector-layout-v3 .media-tile-overlay-v2,
  .selector-layout-v3 .tile-informasi.is-placeholder-v3::before {
    display: none;
    content: none;
  }

  .selector-layout-v3 .media-tile-top-v2,
  .selector-layout-v3 .media-tile-content-v2 {
    position: static;
    inset: auto;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  .selector-layout-v3 .media-switch-icon,
  .selector-layout-v3 .tile-video .media-switch-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 999px;
    font-size: 12px;
    display: grid;
    place-items: center;
    background: #eff6ff;
    color: var(--medika-navy);
    border: 1px solid #dbeafe;
    box-shadow: none;
    backdrop-filter: none;
  }

  .selector-layout-v3 .media-tile-content-v2 strong,
  .selector-layout-v3 .tile-leaflet .media-tile-content-v2 strong,
  .selector-layout-v3 .tile-podcast .media-tile-content-v2 strong,
  .selector-layout-v3 .tile-video .media-tile-content-v2 strong,
  .selector-layout-v3 .tile-emagazine .media-tile-content-v2 strong,
  .selector-layout-v3 .tile-informasi .media-tile-content-v2 strong,
  .selector-layout-v3 .tile-kajian-duha .media-tile-content-v2 strong,
  .selector-layout-v3 .tile-bimroh .media-tile-content-v2 strong {
    display: block;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    color: var(--medika-navy);
    font-size: 13px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.015em;
    text-shadow: none;
    white-space: nowrap;
  }

  .selector-layout-v3 .tile-video {
    width: 142px;
    min-width: 142px;
    max-width: 142px;
    gap: 7px;
    padding: 0 10px;
    overflow: hidden;
  }

  .selector-layout-v3 .tile-video .media-switch-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 11px;
  }

  .selector-layout-v3 .tile-video .media-tile-content-v2 {
    max-width: 92px;
    overflow: hidden;
  }

  .selector-layout-v3 .tile-video .media-tile-content-v2 strong {
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
  }

  .selector-layout-v3 .media-tile-content-v2 small {
    display: none;
  }

  .selector-layout-v3 .media-tile-v2.active {
    background: linear-gradient(135deg, var(--medika-navy), var(--medika-blue));
    color: #fff;
    border-color: transparent;
    outline: none;
    box-shadow: 0 12px 24px rgba(30, 58, 138, 0.20);
  }

  .selector-layout-v3 .media-tile-v2.active .media-switch-icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
  }

  .selector-layout-v3 .media-tile-v2.active .media-tile-content-v2 strong {
    color: #fff;
  }

  .selector-layout-v3 .tile-informasi.is-placeholder-v3 {
    opacity: 0.82;
  }
}

@media (max-width: 920px) {
  :root { --container: 100%; }

  body { padding-bottom: 92px; }

  .public-root,
  .admin-root {
    width: calc(100% - 28px);
    max-width: 100%;
    padding-top: 14px;
  }

  .smart-hero { padding: 18px 0 8px; }

  .hero-v3,
  .smart-hero-inner {
    padding: 28px 0 10px;
  }

  .smart-hero h2,
  .hero-v3 h2,
  .smart-hero-inner h2 {
    font-size: clamp(36px, 10.5vw, 52px);
    line-height: 1.04;
    letter-spacing: -0.055em;
  }

  .smart-hero p,
  .hero-v3 p,
  .smart-hero-inner p {
    max-width: 94%;
    font-size: 15px;
    line-height: 1.65;
  }

  .media-workspace {
    padding: 18px;
    border-radius: 26px;
  }

  .media-grid-v2.leaflet-mode,
  .media-grid-v2.video-mode,
  .media-grid-v2.magazine-mode {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid-v2 {
    grid-template-columns: 1fr;
  }

  .footer-bottom-v2 {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 820px) {
  .media-grid-v2.kajian-mode,
  .media-grid-v2.bimroh-mode,
  .media-grid-v2.podcast-mode {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .quick-detail-card-v3,
  .video-detail-modal-v3 {
    grid-template-columns: 1fr;
  }

  .quick-detail-cover-wrap-v3 {
    min-height: 300px;
    max-height: none;
  }

  .quick-detail-info-v3 {
    justify-content: flex-start;
  }

  .quick-detail-close-float-v3 {
    top: 16px;
    right: 16px;
  }

  .podcast-detail-modal-v4,
  .kajian-detail-modal-v3,
  .bimroh-detail-modal-v3 {
    gap: 16px;
    padding-top: 24px;
  }

  .podcast-detail-info-v4 h4,
  .video-detail-info-v3 h4,
  .kajian-detail-info-v3 h4,
  .bimroh-detail-head-v3 h4 {
    font-size: 23px;
  }

  .podcast-detail-info-v4 p,
  .video-detail-info-v3 p,
  .kajian-detail-info-v3 p,
  .bimroh-detail-head-v3 p,
  .bimroh-detail-text-v3 {
    font-size: 14px;
    line-height: 1.7;
  }

  .podcast-detail-actions-v4,
  .video-detail-actions-v3,
  .kajian-detail-actions-v3,
  .bimroh-detail-actions-v3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .top-header { padding: 10px 14px; }

  .public-root,
  .admin-root {
    width: calc(100% - 24px);
  }

  .smart-search-panel {
    width: 100%;
    max-width: 100%;
    margin-top: 22px;
    border-radius: 24px;
    padding: 8px;
  }

  .hero-search-row {
    border-radius: 19px;
  }

  .hero-search-row input {
    height: 56px;
    border-radius: 19px;
    font-size: 14px;
    padding-left: 48px;
    padding-right: 68px;
  }

  .hero-search-row i {
    left: 18px;
    font-size: 15px;
  }

  .hero-search-row::after,
  .hero-search-submit,
  .smart-search-submit,
  .search-submit-btn {
    right: 8px;
    width: 42px;
    height: 42px;
    border-radius: 16px;
  }

  .hero-help-row {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 7px;
    padding: 10px 2px 2px;
    scrollbar-width: none;
  }

  .hero-help-row::-webkit-scrollbar {
    display: none;
  }

  .hero-help-label {
    flex: 0 0 auto;
    padding: 8px 6px;
    font-size: 11.5px;
  }

  .hero-topic-chip {
    flex: 0 0 auto;
    padding: 8px 13px;
    font-size: 11.5px;
  }

  .quick-results {
    width: calc(100% - 16px);
    max-height: 300px;
    border-radius: 20px;
    padding: 8px;
  }

  .quick-result-item {
    min-height: 56px;
    padding: 8px;
  }

  .quick-result-icon {
    width: 38px;
    height: 38px;
  }

  .media-selector-editorial-v2.selector-layout-v3 {
    gap: 8px;
    padding: 5px 2px 10px;
  }

  .selector-layout-v3 .media-tile-v2,
  .selector-layout-v3 .tile-leaflet,
  .selector-layout-v3 .tile-podcast,
  .selector-layout-v3 .tile-emagazine,
  .selector-layout-v3 .tile-informasi,
  .selector-layout-v3 .tile-video,
  .selector-layout-v3 .tile-kajian-duha,
  .selector-layout-v3 .tile-bimroh {
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    padding: 0 13px 0 9px;
    gap: 7px;
  }

  .selector-layout-v3 .media-switch-icon {
    width: 27px;
    height: 27px;
    min-width: 27px;
    font-size: 11px;
  }

  .selector-layout-v3 .media-tile-content-v2 strong {
    font-size: 12px;
  }

  .selector-layout-v3 .tile-video {
    width: 142px;
    min-width: 142px;
    max-width: 142px;
    padding: 0 10px;
  }

  .media-workspace {
    margin-top: 16px;
    padding: 16px;
  }

  .media-grid-v2 {
    gap: 14px;
  }

  .media-grid-v2.leaflet-mode,
  .media-grid-v2.magazine-mode,
  .media-grid-v2.video-mode {
    grid-template-columns: 1fr;
  }

  .media-result-meta-v2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 11.5px;
  }

  .pagination-v2 {
    gap: 9px;
  }

  .pagination-btn-v2,
  .pagination-number-wrap-v2 {
    width: 100%;
  }

  .card-body-v2 {
    padding: 0 12px 13px;
  }

  .card-title-v2 {
    font-size: 13px;
  }

  .main-action-v2 {
    font-size: 12px;
    padding: 10px;
  }

  .share-action-v2 {
    width: 38px;
  }

  .bottom-nav-item small {
    font-size: 9.5px;
  }

  .bottom-nav-main span {
    width: 46px;
    height: 46px;
  }

  .media-title-v2 {
    gap: 9px;
  }

  .media-title-v2 i {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    font-size: 14px;
  }

  .media-title-v2 h3 {
    font-size: 22px;
    line-height: 1.12;
  }

  .media-head-v2 p {
    font-size: 14px;
    line-height: 1.55;
  }
}

/* =========================================================
   BIMROH MOBILE READER V3 — MOBILE FIRST FULL SCREEN
   Diletakkan PALING BAWAH di Styles.html.
   Desktop tetap menggunakan desain lama.
   ========================================================= */

.bimroh-mobile-reader-root {
  display: none;
}

@media (max-width: 768px) {
  body.bimroh-reader-open {
    padding-bottom: 0 !important;
    overflow: hidden !important;
    overscroll-behavior: none;
    background: #ffffff;
  }

  body.bimroh-reader-open #topHeader,
  body.bimroh-reader-open #bottomNav,
  body.bimroh-reader-open #mainFooter {
    display: none !important;
  }

  body.bimroh-reader-open #publicRoot,
  body.bimroh-reader-open #adminRoot {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .bimroh-mobile-reader-root.is-active {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: block;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #ffffff;
    color: #0f172a;
    isolation: isolate;
  }

  .bimroh-mobile-reader-shell {
    position: relative;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    width: 100%;
    height: 100%;
    min-height: 0;
    background:
      radial-gradient(circle at 8% 0%, rgba(36, 87, 214, 0.06), transparent 25%),
      linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  }

  .bimroh-mobile-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 15;
    height: 3px;
    overflow: hidden;
    background: rgba(15, 47, 117, 0.08);
  }

  .bimroh-mobile-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(90deg, #0f2f75, #2457d6);
    transition: width 0.08s linear;
  }

  .bimroh-mobile-reader-header {
    position: relative;
    z-index: 12;
    min-height: calc(58px + env(safe-area-inset-top));
    padding: calc(8px + env(safe-area-inset-top)) 10px 8px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(226, 232, 240, 0.92);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(18px);
  }

  .bimroh-mobile-icon-button,
  .bimroh-mobile-aa-button {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid rgba(15, 47, 117, 0.10);
    border-radius: 15px;
    background: #ffffff;
    color: #0f2f75;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    font-size: 15px;
    font-weight: 950;
    -webkit-tap-highlight-color: transparent;
  }

  .bimroh-mobile-icon-button:active,
  .bimroh-mobile-aa-button:active {
    transform: scale(0.96);
  }

  .bimroh-mobile-aa-button.active {
    border-color: rgba(36, 87, 214, 0.32);
    background: #eff6ff;
    color: #1747a6;
  }

  .bimroh-mobile-header-title {
    min-width: 0;
    padding: 0 2px;
  }

  .bimroh-mobile-header-title small,
  .bimroh-mobile-header-title strong {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .bimroh-mobile-header-title small {
    margin-bottom: 3px;
    color: #64748b;
    font-size: 10px;
    line-height: 1.1;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .bimroh-mobile-header-title strong {
    color: #0f2f75;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 950;
    letter-spacing: -0.025em;
  }

  .bimroh-mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .bimroh-mobile-settings {
    position: relative;
    z-index: 11;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    padding: 9px 10px;
    background: rgba(248, 251, 255, 0.98);
    border-bottom: 1px solid rgba(219, 234, 254, 0.9);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
  }

  .bimroh-mobile-settings.is-open {
    display: flex;
  }

  .bimroh-mobile-layer-controls,
  .bimroh-mobile-font-controls {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
  }

  .bimroh-mobile-layer-controls {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .bimroh-mobile-layer-controls::-webkit-scrollbar {
    display: none;
  }

  .bimroh-mobile-layer-controls button,
  .bimroh-mobile-font-controls button {
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(15, 47, 117, 0.12);
    border-radius: 12px;
    background: #ffffff;
    color: #526986;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }

  .bimroh-mobile-layer-controls button.active {
    border-color: #2457d6;
    background: linear-gradient(135deg, #0f2f75, #2457d6);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(36, 87, 214, 0.18);
  }

  .bimroh-mobile-font-controls {
    flex: 0 0 auto;
  }

  .bimroh-mobile-font-controls span {
    min-width: 38px;
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
    text-align: center;
  }

  .bimroh-mobile-reader-scroll {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(36, 87, 214, 0.42) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .bimroh-mobile-reader-scroll::-webkit-scrollbar {
    width: 5px;
  }

  .bimroh-mobile-reader-scroll::-webkit-scrollbar-track {
    background: transparent;
  }

  .bimroh-mobile-reader-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(36, 87, 214, 0.34);
  }

  .bimroh-mobile-article {
    --bimroh-reader-font: 18px;
    width: 100%;
    max-width: 760px;
    min-height: 100%;
    margin: 0 auto;
    padding: 0 14px calc(44px + env(safe-area-inset-bottom));
    font-size: var(--bimroh-reader-font);
  }

  .bimroh-mobile-article-intro {
    padding: 24px 2px 20px;
    border-bottom: 1px solid rgba(15, 47, 117, 0.08);
  }

  .bimroh-mobile-article-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #1747a6;
    font-size: 10.5px;
    line-height: 1;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .bimroh-mobile-article-intro h1 {
    margin: 14px 0 0;
    color: #0f172a;
    font-size: clamp(27px, 8vw, 38px);
    line-height: 1.13;
    font-weight: 950;
    letter-spacing: -0.055em;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  .bimroh-mobile-article-intro p {
    margin: 10px 0 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.65;
    font-weight: 600;
  }

  .bimroh-mobile-article-body {
    padding: 18px 0 4px;
    color: #26364d;
    line-height: 1.82;
  }

  .bimroh-mobile-paragraph {
    margin: 0 2px 17px;
    color: #334155;
    font-size: 1em;
    line-height: 1.82;
    font-weight: 500;
    overflow-wrap: anywhere;
  }

  .bimroh-mobile-paragraph.is-bacaan-label {
    width: fit-content;
    margin-top: 22px;
    margin-bottom: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #1747a6;
    font-size: 0.72em;
    line-height: 1.2;
    font-weight: 950;
  }

  .bimroh-mobile-accordion {
    margin: 14px 0;
    overflow: hidden;
    border: 1px solid rgba(15, 47, 117, 0.10);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    scroll-margin-top: 78px;
  }

  .bimroh-mobile-accordion summary {
    min-height: 58px;
    padding: 12px 13px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    gap: 10px;
    align-items: center;
    color: #0f2f75;
    font-size: 0.86em;
    line-height: 1.4;
    font-weight: 950;
    list-style: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .bimroh-mobile-accordion summary::-webkit-details-marker {
    display: none;
  }

  .bimroh-mobile-accordion-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #eff6ff;
    color: #1747a6;
    font-size: 13px;
  }

  .bimroh-mobile-accordion-chevron {
    justify-self: end;
    color: #94a3b8;
    font-size: 12px;
    transition: transform 0.18s ease;
  }

  .bimroh-mobile-accordion[open] .bimroh-mobile-accordion-chevron {
    transform: rotate(180deg);
  }

  .bimroh-mobile-accordion[open] summary {
    border-bottom: 1px solid rgba(15, 47, 117, 0.08);
    background: #fbfdff;
  }

  .bimroh-mobile-accordion-body {
    padding: 14px 16px 16px;
  }

  .bimroh-mobile-accordion-body ol,
  .bimroh-mobile-accordion-body ul {
    margin: 0;
    padding-left: 22px;
  }

  .bimroh-mobile-accordion-body li {
    margin: 0 0 11px;
    padding-left: 4px;
    color: #334155;
    font-size: 0.92em;
    line-height: 1.72;
    font-weight: 500;
  }

  .bimroh-mobile-accordion-body li:last-child {
    margin-bottom: 0;
  }

  .bimroh-mobile-note {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
    margin: 18px 0;
    padding: 14px;
    border-radius: 18px;
    box-shadow: none;
    scroll-margin-top: 78px;
  }

  .bimroh-mobile-note p {
    color: #1e3a8a;
    font-size: 0.82em;
    line-height: 1.68;
    font-weight: 650;
    overflow-wrap: anywhere;
  }

  .bimroh-mobile-section-marker {
    margin: 28px 0 14px;
    padding: 14px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f2f75, #2457d6);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 47, 117, 0.16);
    scroll-margin-top: 78px;
  }

  .bimroh-mobile-section-marker i {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.14);
  }

  .bimroh-mobile-section-marker p {
    margin: 0;
    color: #ffffff;
    font-size: 0.8em;
    line-height: 1.55;
    font-weight: 800;
  }

  .bimroh-mobile-recitation {
    margin: 18px 0;
    padding: 18px 14px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(15, 47, 117, 0.10);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.045);
    scroll-margin-top: 78px;
  }

  .bimroh-mobile-recitation-title {
    margin: 0 0 13px;
    color: #0f2f75;
    font-size: 0.78em;
    line-height: 1.4;
    font-weight: 950;
    letter-spacing: -0.02em;
  }

  .bimroh-mobile-recitation .bimroh-static-ayah-number {
    min-height: 28px;
    margin-bottom: 10px;
    padding: 6px 10px;
    font-size: 10.5px;
  }

  .bimroh-mobile-recitation .bimroh-static-arabic {
    margin: 0 0 14px;
    color: #0f172a;
    font-family: "Times New Roman", "Scheherazade New", serif;
    font-size: clamp(2rem, calc(var(--bimroh-reader-font) * 1.78), 2.85rem);
    line-height: 2.02;
    font-weight: 500;
    text-align: right;
    direction: rtl;
    overflow-wrap: anywhere;
  }

  .bimroh-mobile-recitation .bimroh-static-latin {
    margin: 0 0 11px;
    color: #173f8a;
    font-size: 0.98em;
    line-height: 1.72;
    font-weight: 650;
    letter-spacing: -0.015em;
    overflow-wrap: anywhere;
  }

  .bimroh-mobile-recitation .bimroh-static-arti {
    padding-top: 11px;
    color: #526174;
    border-top: 1px solid rgba(15, 47, 117, 0.08);
    font-size: 0.9em;
    line-height: 1.72;
    font-weight: 450;
    overflow-wrap: anywhere;
  }

  .bimroh-mobile-reader-root.is-arabic-hidden .bimroh-static-arabic,
  .bimroh-mobile-reader-root.is-latin-hidden .bimroh-static-latin,
  .bimroh-mobile-reader-root.is-arti-hidden .bimroh-static-arti {
    display: none !important;
  }

  .bimroh-mobile-reader-root.is-arabic-hidden.is-latin-hidden .bimroh-static-arti {
    padding-top: 0;
    border-top: 0;
  }

  .bimroh-mobile-article-footer {
    padding: 28px 0 0;
  }

  .bimroh-mobile-finish-card {
    padding: 15px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    border-radius: 18px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
  }

  .bimroh-mobile-finish-card > i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #dcfce7;
  }

  .bimroh-mobile-finish-card strong,
  .bimroh-mobile-finish-card p {
    display: block;
    margin: 0;
  }

  .bimroh-mobile-finish-card strong {
    font-size: 13px;
    font-weight: 950;
  }

  .bimroh-mobile-finish-card p {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.45;
    font-weight: 650;
  }

  .bimroh-mobile-neighbour-nav {
    margin-top: 13px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .bimroh-mobile-neighbour-nav button {
    min-width: 0;
    min-height: 72px;
    padding: 11px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 7px;
    align-items: center;
    border: 1px solid rgba(15, 47, 117, 0.10);
    border-radius: 16px;
    background: #ffffff;
    color: #0f2f75;
    text-align: left;
  }

  .bimroh-mobile-neighbour-nav button.next {
    grid-template-columns: minmax(0, 1fr) 24px;
    text-align: right;
  }

  .bimroh-mobile-neighbour-nav button span,
  .bimroh-mobile-neighbour-nav button small,
  .bimroh-mobile-neighbour-nav button strong {
    display: block;
    min-width: 0;
  }

  .bimroh-mobile-neighbour-nav button small {
    margin-bottom: 3px;
    color: #94a3b8;
    font-size: 9px;
    line-height: 1;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .bimroh-mobile-neighbour-nav button strong {
    display: -webkit-box;
    overflow: hidden;
    color: #0f2f75;
    font-size: 10.5px;
    line-height: 1.35;
    font-weight: 900;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .bimroh-mobile-back-list {
    width: 100%;
    min-height: 50px;
    margin-top: 11px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f2f75, #2457d6);
    color: #ffffff;
    font-size: 12px;
    font-weight: 950;
    box-shadow: 0 12px 26px rgba(15, 47, 117, 0.18);
  }

  .bimroh-mobile-scroll-top {
    position: absolute;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    z-index: 14;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f2f75, #2457d6);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(15, 47, 117, 0.24);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  }

  .bimroh-mobile-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .bimroh-mobile-toc {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: grid;
    align-items: end;
    pointer-events: none;
    visibility: hidden;
  }

  .bimroh-mobile-toc.is-open {
    pointer-events: auto;
    visibility: visible;
  }

  .bimroh-mobile-toc-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(15, 23, 42, 0.48);
    opacity: 0;
    backdrop-filter: blur(3px);
    transition: opacity 0.2s ease;
  }

  .bimroh-mobile-toc.is-open .bimroh-mobile-toc-backdrop {
    opacity: 1;
  }

  .bimroh-mobile-toc-panel {
    position: relative;
    z-index: 2;
    width: 100%;
    max-height: min(78dvh, 680px);
    padding-bottom: env(safe-area-inset-bottom);
    overflow: hidden;
    border-radius: 26px 26px 0 0;
    background: #ffffff;
    box-shadow: 0 -24px 60px rgba(15, 23, 42, 0.22);
    transform: translateY(102%);
    transition: transform 0.24s ease;
  }

  .bimroh-mobile-toc.is-open .bimroh-mobile-toc-panel {
    transform: translateY(0);
  }

  .bimroh-mobile-toc-head {
    min-height: 72px;
    padding: 14px 14px 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  }

  .bimroh-mobile-toc-head small,
  .bimroh-mobile-toc-head h2 {
    display: block;
    margin: 0;
  }

  .bimroh-mobile-toc-head small {
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .bimroh-mobile-toc-head h2 {
    margin-top: 3px;
    color: #0f2f75;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: -0.04em;
  }

  .bimroh-mobile-toc-list {
    max-height: calc(min(78dvh, 680px) - 72px - env(safe-area-inset-bottom));
    padding: 9px 10px 16px;
    overflow-y: auto;
  }

  .bimroh-mobile-toc-list button {
    width: 100%;
    min-height: 52px;
    padding: 9px 8px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 20px;
    gap: 8px;
    align-items: center;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #334155;
    text-align: left;
  }

  .bimroh-mobile-toc-list button + button {
    margin-top: 3px;
  }

  .bimroh-mobile-toc-list button:active {
    background: #eff6ff;
  }

  .bimroh-mobile-toc-number {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #eff6ff;
    color: #1747a6;
    font-size: 10px;
    font-weight: 950;
  }

  .bimroh-mobile-toc-label {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
  }

  .bimroh-mobile-toc-label i {
    color: #2457d6;
    font-size: 11px;
  }

  .bimroh-mobile-toc-list button > i {
    justify-self: end;
    color: #94a3b8;
    font-size: 10px;
  }

  .bimroh-mobile-toc-empty {
    margin: 0;
    padding: 22px 14px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
  }

  /* Daftar BIMROH di mobile dibuat lebih padat; reader inline dihilangkan oleh JS. */
  .media-workspace.bimroh-workspace-active {
    padding-left: 12px;
    padding-right: 12px;
  }

  .bimroh-static-board.is-mobile-board {
    gap: 18px;
  }

  .bimroh-static-board.is-mobile-board .bimroh-static-hero {
    padding: 18px 16px;
    border-radius: 22px;
  }

  .bimroh-static-board.is-mobile-board .bimroh-static-hero h3 {
    font-size: 24px;
    line-height: 1.12;
  }

  .bimroh-static-board.is-mobile-board .bimroh-static-hero p {
    font-size: 13px;
    line-height: 1.55;
  }

  .bimroh-static-board.is-mobile-board .bimroh-static-tabs {
    margin-left: -2px;
    margin-right: -2px;
  }

  .bimroh-static-board.is-mobile-board .bimroh-static-section {
    gap: 12px;
  }

  .bimroh-static-board.is-mobile-board .bimroh-static-card-grid {
    gap: 10px;
  }

  .bimroh-static-board.is-mobile-board .bimroh-static-card {
    grid-template-columns: 48px minmax(0, 1fr) 20px;
    gap: 11px;
    min-height: 98px;
    padding: 13px;
    border-radius: 20px;
  }

  .bimroh-static-board.is-mobile-board .bimroh-static-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .bimroh-static-board.is-mobile-board .bimroh-static-card-copy strong {
    font-size: 15px;
    line-height: 1.3;
  }

  .bimroh-static-board.is-mobile-board .bimroh-static-card-copy em {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 390px) {
  .bimroh-mobile-reader-header {
    grid-template-columns: 40px minmax(0, 1fr) auto;
    padding-left: 8px;
    padding-right: 8px;
  }

  .bimroh-mobile-icon-button,
  .bimroh-mobile-aa-button {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .bimroh-mobile-header-actions {
    gap: 4px;
  }

  .bimroh-mobile-settings {
    padding-left: 8px;
    padding-right: 8px;
    gap: 6px;
  }

  .bimroh-mobile-layer-controls button,
  .bimroh-mobile-font-controls button {
    padding-left: 8px;
    padding-right: 8px;
  }

  .bimroh-mobile-font-controls span {
    display: none;
  }

  .bimroh-mobile-article {
    padding-left: 11px;
    padding-right: 11px;
  }

  .bimroh-mobile-recitation {
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 18px;
  }

  .bimroh-mobile-neighbour-nav {
    grid-template-columns: 1fr;
  }

  .bimroh-mobile-neighbour-nav > span:empty {
    display: none;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  .bimroh-mobile-reader-header {
    min-height: calc(52px + env(safe-area-inset-top));
    padding-top: calc(5px + env(safe-area-inset-top));
    padding-bottom: 5px;
  }

  .bimroh-mobile-icon-button,
  .bimroh-mobile-aa-button {
    width: 38px;
    height: 38px;
  }

  .bimroh-mobile-article-intro {
    padding-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bimroh-mobile-progress span,
  .bimroh-mobile-toc-backdrop,
  .bimroh-mobile-toc-panel,
  .bimroh-mobile-scroll-top,
  .bimroh-mobile-accordion-chevron {
    transition: none !important;
  }

  .bimroh-mobile-reader-scroll {
    scroll-behavior: auto;
  }
}


/* =========================================================
   BIMROH V3.1 — WHATSAPP PETUGAS BIMBINGAN ROHANI
   Desktop: CTA di sisi kanan hero.
   Mobile: CTA turun menjadi tombol full-width.
   ========================================================= */

.bimroh-static-hero.bimroh-static-hero-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
  align-items: center;
  gap: clamp(20px, 3vw, 38px);
  padding: clamp(22px, 2.5vw, 30px);
}

.bimroh-static-hero-copy {
  min-width: 0;
}

.bimroh-contact-cta {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 106px;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 14px;
  padding: 17px 17px 17px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 24px;
  background:
    radial-gradient(circle at 86% 6%, rgba(96, 165, 250, 0.34), transparent 34%),
    linear-gradient(135deg, #0f2f75 0%, #17469d 58%, #2457d6 100%);
  color: #ffffff;
  text-decoration: none;
  text-align: left;
  box-shadow:
    0 18px 34px rgba(15, 47, 117, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.bimroh-contact-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(255,255,255,0.08), transparent 40%);
  pointer-events: none;
}

.bimroh-contact-cta:hover {
  transform: translateY(-2px);
  filter: saturate(1.04);
  box-shadow:
    0 24px 46px rgba(15, 47, 117, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.bimroh-contact-cta:active {
  transform: translateY(0) scale(0.992);
}

.bimroh-contact-cta:focus-visible {
  outline: 4px solid rgba(37, 211, 102, 0.28);
  outline-offset: 4px;
}

.bimroh-contact-cta-icon {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #25d366;
  color: #ffffff;
  font-size: 25px;
  box-shadow:
    0 12px 24px rgba(7, 94, 84, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.28);
}

.bimroh-contact-cta-icon::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 13px;
  height: 13px;
  border: 3px solid #17469d;
  border-radius: 999px;
  background: #86efac;
}

.bimroh-contact-cta-copy {
  min-width: 0;
  display: block;
}

.bimroh-contact-cta-copy small,
.bimroh-contact-cta-copy strong,
.bimroh-contact-cta-copy em {
  display: block;
}

.bimroh-contact-cta-copy small {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.bimroh-contact-cta-copy strong {
  color: #ffffff;
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.bimroh-contact-cta-copy em {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11.5px;
  line-height: 1.35;
  font-style: normal;
  font-weight: 700;
}

.bimroh-contact-cta-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  justify-self: end;
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13px;
  backdrop-filter: blur(10px);
}

@media (max-width: 980px) {
  .media-workspace.bimroh-workspace-active,
  .media-workspace.bimroh-workspace-active #activeMediaList,
  .bimroh-static-board,
  .bimroh-static-board > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .media-workspace.bimroh-workspace-active {
    overflow-x: clip;
  }

  .bimroh-static-hero.bimroh-static-hero-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;

    width: 100%;
    max-width: 100%;
    min-width: 0;

    padding: 20px;
    overflow: hidden;
  }

  .bimroh-static-hero-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .bimroh-static-hero-copy h3,
  .bimroh-static-hero-copy p {
    width: 100%;
    max-width: 100%;

    white-space: normal;
    overflow-wrap: anywhere;
  }

  .bimroh-contact-cta {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    grid-template-columns:
      48px
      minmax(0, 1fr)
      30px;

    gap: 12px;
    min-height: 96px;
    padding: 15px;

    overflow: hidden;
  }

  .bimroh-contact-cta-copy {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .bimroh-contact-cta-copy small,
  .bimroh-contact-cta-copy strong,
  .bimroh-contact-cta-copy em {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .bimroh-contact-cta-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 22px;
  }

  .bimroh-static-tabs,
  .bimroh-static-section,
  .bimroh-static-card-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .bimroh-static-section-head {
    grid-template-columns:
      48px
      minmax(0, 1fr);
  }

  .bimroh-static-section-head > div {
    min-width: 0;
  }

  .bimroh-static-section-head h4,
  .bimroh-static-section-head p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}


@media (max-width: 768px) {
  .media-workspace.bimroh-workspace-active {
    padding-left: 12px;
    padding-right: 12px;
  }

  .bimroh-static-board.is-mobile-board {
    gap: 18px;
  }

  .bimroh-static-board.is-mobile-board
  .bimroh-static-hero.bimroh-static-hero-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr);

    width: 100%;
    max-width: 100%;

    padding: 18px 16px 16px;
    border-radius: 22px;
  }

  .bimroh-static-board.is-mobile-board
  .bimroh-static-hero h3 {
    font-size: 23px;
    line-height: 1.16;
    letter-spacing: -0.035em;
  }

  .bimroh-static-board.is-mobile-board
  .bimroh-static-hero p {
    font-size: 13px;
    line-height: 1.55;
  }

  .bimroh-static-board.is-mobile-board
  .bimroh-contact-cta {
    grid-template-columns:
      44px
      minmax(0, 1fr);

    gap: 11px;

    width: 100%;
    max-width: 100%;
    min-height: 92px;

    margin-top: 0;
    padding: 13px;

    border-radius: 19px;
  }

  .bimroh-static-board.is-mobile-board
  .bimroh-contact-cta-arrow {
    display: none;
  }

  .bimroh-static-board.is-mobile-board
  .bimroh-contact-cta-icon {
    width: 44px;
    height: 44px;

    border-radius: 14px;
    font-size: 20px;
  }

  .bimroh-static-board.is-mobile-board
  .bimroh-contact-cta-copy small {
    font-size: 8.5px;
  }

  .bimroh-static-board.is-mobile-board
  .bimroh-contact-cta-copy strong {
    font-size: 13px;
    line-height: 1.32;
  }

  .bimroh-static-board.is-mobile-board
  .bimroh-contact-cta-copy em {
    margin-top: 5px;

    font-size: 10.5px;
    line-height: 1.45;
  }

  .bimroh-static-board.is-mobile-board
  .bimroh-static-tabs {
    margin-left: 0;
    margin-right: 0;

    padding-left: 0;
    padding-right: 0;
  }

  .bimroh-static-board.is-mobile-board
  .bimroh-static-section-head {
    grid-template-columns:
      44px
      minmax(0, 1fr);

    gap: 11px;
  }

  .bimroh-static-board.is-mobile-board
  .bimroh-static-section-icon {
    width: 44px;
    height: 44px;
  }

  .bimroh-static-board.is-mobile-board
  .bimroh-static-section-head h4 {
    font-size: 20px;
    line-height: 1.25;
  }

  .bimroh-static-board.is-mobile-board
  .bimroh-static-section-head p {
    font-size: 12px;
    line-height: 1.5;
  }
}


@media (max-width: 380px) {
  .media-workspace.bimroh-workspace-active {
    padding-left: 9px;
    padding-right: 9px;
  }

  .bimroh-static-board.is-mobile-board
  .bimroh-static-hero.bimroh-static-hero-contact {
    padding: 16px 13px 13px;
    border-radius: 20px;
  }

  .bimroh-static-board.is-mobile-board
  .bimroh-static-hero h3 {
    font-size: 21px;
  }

  .bimroh-static-board.is-mobile-board
  .bimroh-contact-cta {
    grid-template-columns:
      40px
      minmax(0, 1fr);

    gap: 10px;
    padding: 12px 11px;
  }

  .bimroh-static-board.is-mobile-board
  .bimroh-contact-cta-icon {
    width: 40px;
    height: 40px;

    border-radius: 13px;
    font-size: 18px;
  }

  .bimroh-static-board.is-mobile-board
  .bimroh-contact-cta-copy strong {
    font-size: 12px;
  }

  .bimroh-static-board.is-mobile-board
  .bimroh-contact-cta-copy em {
    font-size: 9.5px;
  }
}

/* =========================================================
   BIMROH V3.2 — CLEAN UI, CONTEXT HELP & ARTICLE SEARCH
   ========================================================= */

/* Failsafe: label teknis lama tidak ditampilkan. */
.bimroh-static-reading-pill,
.bimroh-reader-status-v2 {
  display: none !important;
}

.bimroh-static-recitation-title {
  margin: 0 0 14px;
  color: #0f2f75;
  font-size: 0.86em;
  line-height: 1.45;
  font-weight: 900;
}

/* ---------- Bantuan kontekstual ---------- */
.bimroh-context-help-cta {
  margin: 24px 0;
  padding: 16px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  border: 1px solid rgba(34, 197, 94, 0.24);
  border-radius: 20px;
  background:
    radial-gradient(circle at 0% 0%, rgba(34, 197, 94, 0.12), transparent 34%),
    linear-gradient(135deg, #f8fffb, #f0fdf4);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.bimroh-context-help-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #22c55e;
  color: #ffffff;
  font-size: 22px;
  box-shadow: 0 10px 22px rgba(34, 197, 94, 0.24);
}

.bimroh-context-help-copy {
  min-width: 0;
}

.bimroh-context-help-copy small,
.bimroh-context-help-copy strong,
.bimroh-context-help-copy span {
  display: block;
}

.bimroh-context-help-copy small {
  color: #15803d;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.bimroh-context-help-copy strong {
  margin-top: 4px;
  color: #14532d;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 950;
  letter-spacing: -0.025em;
}

.bimroh-context-help-copy span {
  margin-top: 3px;
  color: #4b6354;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 650;
}

.bimroh-context-help-cta > a {
  min-height: 44px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  background: #16a34a;
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.2);
  transition: transform 0.16s ease, background 0.16s ease;
}

.bimroh-context-help-cta > a:hover {
  background: #15803d;
  transform: translateY(-1px);
}

.bimroh-context-help-cta > a:focus-visible {
  outline: 3px solid rgba(34, 197, 94, 0.26);
  outline-offset: 3px;
}

/* ---------- Pencarian dalam artikel ---------- */
.bimroh-article-search-panel {
  display: none;
  min-width: 0;
  border: 1px solid rgba(15, 47, 117, 0.10);
  background: #f8fbff;
}

.bimroh-article-search-panel.is-open {
  display: flex;
}

.bimroh-article-search-panel.is-desktop {
  margin-top: 14px;
  padding: 10px;
  align-items: center;
  gap: 10px;
  border-radius: 17px;
}

.bimroh-article-search-input-wrap {
  position: relative;
  min-width: 0;
  flex: 1 1 auto;
}

.bimroh-article-search-input-wrap > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 13px;
  pointer-events: none;
}

.bimroh-article-search-input-wrap input {
  width: 100%;
  height: 44px;
  padding: 0 42px 0 39px;
  border: 1px solid #dbe6f2;
  border-radius: 13px;
  outline: none;
  background: #ffffff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
}

.bimroh-article-search-input-wrap input:focus {
  border-color: #2457d6;
  box-shadow: 0 0 0 4px rgba(36, 87, 214, 0.10);
}

.bimroh-article-search-clear {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #94a3b8;
}

.bimroh-article-search-nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 5px;
}

.bimroh-article-search-nav span {
  min-width: 112px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 800;
  text-align: right;
}

.bimroh-article-search-nav button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 47, 117, 0.10);
  border-radius: 11px;
  background: #ffffff;
  color: #0f2f75;
}

mark.bimroh-search-highlight {
  padding: 0.05em 0.13em;
  border-radius: 5px;
  background: #fde68a;
  color: inherit;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

mark.bimroh-search-highlight.is-current {
  background: #f59e0b;
  color: #431407;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.20);
}

/* ---------- Fix CTA hero nama/nomor ---------- */
.bimroh-contact-cta-copy {
  min-width: 0;
}

.bimroh-contact-cta-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  margin-top: 12px;
}

.bimroh-contact-cta-name,
.bimroh-contact-cta-phone {
  display: block;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.94);
  font-style: normal;
}

.bimroh-contact-cta-name {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.bimroh-contact-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  white-space: nowrap;
}

.bimroh-contact-cta-phone i {
  color: #62e995;
}

@media (max-width: 768px) {
  .bimroh-mobile-reader-shell {
    grid-template-rows: auto auto minmax(0, 1fr);
  }

  .bimroh-mobile-reader-controls {
    position: relative;
    z-index: 11;
    min-height: 0;
    background: rgba(248, 251, 255, 0.98);
  }

  .bimroh-mobile-reader-header {
    grid-template-columns: 42px minmax(0, 1fr) auto;
  }

  .bimroh-mobile-header-actions {
    gap: 4px;
  }

  .bimroh-mobile-header-actions .bimroh-mobile-icon-button,
  .bimroh-mobile-header-actions .bimroh-mobile-aa-button {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .bimroh-article-search-panel.is-mobile {
    padding: 8px 10px 9px;
    align-items: center;
    gap: 7px;
    border-width: 0 0 1px;
    border-radius: 0;
    background: rgba(248, 251, 255, 0.99);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
  }

  .bimroh-article-search-panel.is-mobile .bimroh-article-search-input-wrap input {
    height: 42px;
    font-size: 12px;
  }

  .bimroh-article-search-panel.is-mobile .bimroh-article-search-nav {
    gap: 3px;
  }

  .bimroh-article-search-panel.is-mobile .bimroh-article-search-nav span {
    min-width: 74px;
    max-width: 88px;
    font-size: 9.5px;
    text-align: center;
  }

  .bimroh-article-search-panel.is-mobile .bimroh-article-search-nav button {
    width: 32px;
    height: 32px;
    border-radius: 10px;
  }

  .bimroh-context-help-cta {
    margin: 20px 0;
    padding: 14px;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    border-radius: 18px;
  }

  .bimroh-context-help-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 19px;
  }

  .bimroh-context-help-copy small {
    font-size: 9.5px;
  }

  .bimroh-context-help-copy strong {
    font-size: 14px;
  }

  .bimroh-context-help-copy span {
    font-size: 11px;
  }

  .bimroh-context-help-cta > a {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 46px;
    margin-top: 2px;
  }

  .bimroh-contact-cta-meta {
    gap: 3px;
    margin-top: 10px;
  }

  .bimroh-contact-cta-name,
  .bimroh-contact-cta-phone {
    font-size: 13px;
  }

  .bimroh-contact-cta-phone {
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .bimroh-mobile-header-title small {
    display: none;
  }

  .bimroh-mobile-header-actions .bimroh-mobile-icon-button,
  .bimroh-mobile-header-actions .bimroh-mobile-aa-button {
    width: 36px;
    height: 36px;
  }

  .bimroh-article-search-panel.is-mobile {
    flex-wrap: wrap;
  }

  .bimroh-article-search-panel.is-mobile .bimroh-article-search-input-wrap {
    flex-basis: 100%;
  }

  .bimroh-article-search-panel.is-mobile .bimroh-article-search-nav {
    width: 100%;
    justify-content: flex-end;
  }

  .bimroh-article-search-panel.is-mobile .bimroh-article-search-nav span {
    margin-right: auto;
    max-width: none;
    text-align: left;
  }
}

/* =========================================================
   MEDIKA ADMIN WORKSPACE V4
   Isolated admin-only UI/UX layer
   ========================================================= */

:root {
  --admin-v4-ink: #10213f;
  --admin-v4-heading: #0b2f6f;
  --admin-v4-muted: #68778f;
  --admin-v4-primary: #1747b5;
  --admin-v4-primary-strong: #0f347f;
  --admin-v4-primary-soft: #eaf1ff;
  --admin-v4-line: #dce5f1;
  --admin-v4-surface: #ffffff;
  --admin-v4-canvas: #f4f7fb;
  --admin-v4-success: #15835d;
  --admin-v4-warning: #b66b0c;
  --admin-v4-danger: #d9363e;
  --admin-v4-shadow: 0 18px 50px rgba(26, 49, 88, 0.08);
  --admin-v4-shadow-soft: 0 8px 24px rgba(26, 49, 88, 0.06);
}

body.admin-drawer-open-v4 {
  overflow: hidden;
}

body.admin-mode-v4 {
  padding-bottom: 0;
  background:
    radial-gradient(circle at 85% 8%, rgba(67, 112, 211, 0.09), transparent 28%),
    linear-gradient(180deg, #f5f8fc 0%, #eef3f9 100%);
}

.admin-root:not(.hidden) {
  width: min(1600px, calc(100% - 40px));
  max-width: 1600px;
  padding: 20px 0 40px;
}

.admin-layout-v4 {
  display: grid;
  grid-template-columns: 278px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.admin-sidebar-v4 {
  position: sticky;
  top: 18px;
  min-height: calc(100vh - 180px);
  padding: 18px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--admin-v4-line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--admin-v4-shadow);
  z-index: 20;
}

.admin-sidebar-brand-v4,
.admin-login-brand-v4 {
  display: flex;
  align-items: center;
  gap: 11px;
}

.admin-sidebar-brand-v4 > span,
.admin-login-brand-v4 > span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #0e347f, #245bd6);
  color: #fff;
  box-shadow: 0 10px 24px rgba(23, 71, 181, 0.22);
}

.admin-sidebar-brand-v4 > div,
.admin-login-brand-v4 > div {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.admin-sidebar-brand-v4 strong,
.admin-login-brand-v4 strong {
  color: var(--admin-v4-heading);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 950;
}

.admin-sidebar-brand-v4 small,
.admin-login-brand-v4 small {
  color: var(--admin-v4-muted);
  font-size: 10.5px;
  font-weight: 750;
}

.admin-sidebar-brand-v4 > button {
  display: none;
  margin-left: auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  background: #f0f4fa;
  color: var(--admin-v4-heading);
}

.admin-profile-v4 {
  margin-top: 20px;
  padding: 14px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid #e4eaf2;
  border-radius: 18px;
  background: #f8fafd;
}

.admin-avatar-v4,
.admin-user-avatar-v4 {
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(145deg, #dce8ff, #edf3ff);
  color: var(--admin-v4-primary-strong);
  font-weight: 950;
}

.admin-avatar-v4 {
  width: 42px;
  height: 42px;
  font-size: 13px;
}

.admin-profile-v4 > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.admin-profile-v4 strong {
  overflow: hidden;
  color: var(--admin-v4-ink);
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-profile-v4 small {
  overflow: hidden;
  color: var(--admin-v4-muted);
  font-size: 10.5px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-role-dot-v4 {
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #8794a8;
  box-shadow: 0 0 0 2px #d7deea;
}

.admin-role-dot-v4.is-super-admin { background: #7957d5; }
.admin-role-dot-v4.is-admin { background: #2676d9; }
.admin-role-dot-v4.is-viewer { background: #15946b; }

.admin-role-card-v4 {
  margin-top: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 15px;
  background: #f0f4fa;
  color: #44546b;
}

.admin-role-card-v4.is-super-admin { background: #f2edff; color: #6542bf; }
.admin-role-card-v4.is-admin { background: #eaf3ff; color: #1e62bd; }
.admin-role-card-v4.is-viewer { background: #e9f8f2; color: #147c5c; }

.admin-role-card-v4 > i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.admin-role-card-v4 > div {
  display: grid;
  gap: 1px;
}

.admin-role-card-v4 strong { font-size: 10.5px; font-weight: 950; }
.admin-role-card-v4 small { font-size: 9px; font-weight: 700; opacity: 0.8; }

.admin-tabs-v4 {
  margin: 18px 0 20px;
  padding: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  overflow: visible;
}

.admin-nav-label-v4 {
  margin: 2px 8px 5px;
  color: #8a97aa;
  font-size: 9.5px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-nav-label-v4.is-system { margin-top: 13px; }

.admin-tab-v4 {
  width: 100%;
  min-height: 52px;
  padding: 8px 9px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 15px;
  background: transparent;
  color: #47566c;
  text-align: left;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.admin-tab-v4:hover {
  border-color: #e1e8f2;
  background: #f7f9fc;
  transform: translateX(2px);
}

.admin-tab-v4.active {
  border-color: #d6e4ff;
  background: linear-gradient(135deg, #eaf1ff, #f4f7ff);
  color: var(--admin-v4-primary-strong);
  box-shadow: inset 3px 0 0 var(--admin-v4-primary);
}

.admin-tab-icon-v4 {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #eef2f7;
  color: #65748a;
  font-size: 13px;
}

.admin-tab-v4.active .admin-tab-icon-v4 {
  background: var(--admin-v4-primary);
  color: #fff;
  box-shadow: 0 7px 16px rgba(23, 71, 181, 0.2);
}

.admin-tab-copy-v4 {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.admin-tab-copy-v4 strong { font-size: 12px; line-height: 1.2; font-weight: 900; }
.admin-tab-copy-v4 small { color: #8793a5; font-size: 9.5px; font-weight: 700; }
.admin-tab-arrow-v4 { color: #a1adbc; font-size: 9px; }
.admin-tab-v4.active .admin-tab-arrow-v4 { color: var(--admin-v4-primary); }

.admin-sidebar-footer-v4 {
  padding-top: 14px;
  display: grid;
  gap: 7px;
  border-top: 1px solid #e6ebf2;
}

.admin-sidebar-action-v4 {
  min-height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: transparent;
  color: #44546b;
  font-size: 11.5px;
  font-weight: 900;
}

.admin-sidebar-action-v4:hover { background: #f3f6fa; }
.admin-sidebar-action-v4.is-logout { color: #c7353e; }
.admin-sidebar-action-v4.is-logout:hover { background: #fff0f1; }

.admin-workspace-v4 {
  min-width: 0;
  min-height: calc(100vh - 180px);
  overflow: visible;
  border: 1px solid var(--admin-v4-line);
  border-radius: 26px;
  background: var(--admin-v4-canvas);
  box-shadow: var(--admin-v4-shadow);
}

.admin-topbar-v4 {
  min-height: 70px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #e0e7f1;
  border-radius: 26px 26px 0 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
}

.admin-topbar-left-v4,
.admin-topbar-actions-v4 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-topbar-left-v4 > div { display: grid; gap: 2px; }
.admin-topbar-left-v4 small { color: #8390a4; font-size: 9.5px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.08em; }
.admin-topbar-left-v4 strong { color: var(--admin-v4-heading); font-size: 16px; line-height: 1.2; font-weight: 950; }

.admin-menu-toggle-v4 {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid #dfe6f0;
  border-radius: 12px;
  background: #fff;
  color: var(--admin-v4-heading);
}

.admin-topbar-role-v4,
.admin-view-site-v4 {
  min-height: 36px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 11px;
  font-size: 10.5px;
  font-weight: 900;
}

.admin-topbar-role-v4 { background: #eef2f7; color: #506078; }
.admin-topbar-role-v4.is-super-admin { background: #f1ecff; color: #6742c0; }
.admin-topbar-role-v4.is-admin { background: #eaf3ff; color: #1f62ba; }
.admin-topbar-role-v4.is-viewer { background: #e8f8f1; color: #147d5c; }

.admin-view-site-v4 {
  border: 1px solid #dce4ef;
  background: #fff;
  color: var(--admin-v4-heading);
}

.admin-view-site-v4:hover { border-color: #b9cdf3; background: #f5f8ff; }

.admin-content-area-v4 {
  min-width: 0;
  padding: clamp(18px, 2.4vw, 30px);
}

.admin-page-v4 {
  min-width: 0;
  display: grid;
  gap: 20px;
}

.admin-page-head-v4 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-page-head-v4 > div:first-child { min-width: 0; }

.admin-eyebrow-v4 {
  width: fit-content;
  margin-bottom: 9px;
  padding: 6px 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d7e5ff;
  border-radius: 999px;
  background: #edf3ff;
  color: var(--admin-v4-primary-strong);
  font-size: 9.5px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.03em;
}

.admin-page-head-v4 h2 {
  margin: 0;
  color: var(--admin-v4-heading);
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.admin-page-head-v4 p {
  max-width: 720px;
  margin: 7px 0 0;
  color: var(--admin-v4-muted);
  font-size: 12.5px;
  line-height: 1.6;
  font-weight: 650;
}

.admin-primary-button-v4,
.admin-secondary-button-v4 {
  min-height: 42px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 13px;
  font-size: 11.5px;
  font-weight: 950;
  white-space: nowrap;
}

.admin-primary-button-v4 {
  border: 1px solid var(--admin-v4-primary);
  background: linear-gradient(135deg, var(--admin-v4-primary-strong), #245bd6);
  color: #fff;
  box-shadow: 0 10px 24px rgba(23, 71, 181, 0.2);
}

.admin-primary-button-v4:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(23, 71, 181, 0.25); }

.admin-secondary-button-v4 {
  border: 1px solid #d9e2ee;
  background: #fff;
  color: var(--admin-v4-heading);
}

.admin-secondary-button-v4:hover { border-color: #b9cdf3; background: #f6f9ff; }

.admin-hero-grid-v4,
.admin-analytics-grid-v4,
.admin-migration-grid-v4 {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 16px;
}

.admin-total-card-v4 {
  min-height: 216px;
  padding: 22px;
  overflow: hidden;
  position: relative;
  border-radius: 22px;
  background:
    radial-gradient(circle at 85% 15%, rgba(99, 145, 255, 0.5), transparent 32%),
    linear-gradient(145deg, #0b2e70, #174bb9 65%, #2a62db);
  color: #fff;
  box-shadow: 0 18px 36px rgba(15, 52, 127, 0.2);
}

.admin-total-card-v4::after {
  content: '';
  position: absolute;
  right: -55px;
  bottom: -75px;
  width: 210px;
  height: 210px;
  border: 30px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.admin-total-card-top-v4 {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 850;
}

.admin-total-card-top-v4 i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

.admin-total-card-v4 > strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 12px;
  font-size: clamp(38px, 4.4vw, 55px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.admin-total-card-v4 > p {
  position: relative;
  z-index: 1;
  margin: 7px 0 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 10.5px;
  font-weight: 700;
}

.admin-total-breakdown-v4 {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.admin-total-breakdown-v4 span {
  min-width: 0;
  padding: 8px;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.7);
  font-size: 8.5px;
  font-weight: 700;
}

.admin-total-breakdown-v4 b { color: #fff; font-size: 13px; font-weight: 950; }

.admin-quick-actions-v4,
.admin-surface-v4 {
  padding: 20px;
  border: 1px solid var(--admin-v4-line);
  border-radius: 22px;
  background: var(--admin-v4-surface);
  box-shadow: var(--admin-v4-shadow-soft);
}

.admin-section-head-v4 {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.admin-section-head-v4 small {
  display: block;
  margin-bottom: 3px;
  color: #8a96a8;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.admin-section-head-v4 h3 {
  margin: 0;
  color: var(--admin-v4-ink);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 950;
}

.admin-section-head-v4 p {
  margin: 4px 0 0;
  color: var(--admin-v4-muted);
  font-size: 10.5px;
  line-height: 1.5;
  font-weight: 650;
}

.admin-section-head-v4 > button {
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: 10px;
  background: #edf3ff;
  color: var(--admin-v4-primary);
  font-size: 10px;
  font-weight: 900;
}

.admin-quick-grid-v4 {
  margin-top: 13px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-quick-grid-v4 > button {
  min-height: 68px;
  padding: 9px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border: 1px solid #e3e8f0;
  border-radius: 14px;
  background: #fbfcfe;
  color: var(--admin-v4-ink);
  text-align: left;
}

.admin-quick-grid-v4 > button:hover { border-color: #c6d7f5; background: #f6f9ff; transform: translateY(-1px); }

.admin-quick-grid-v4 > button > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #eaf2ff;
  color: #2566c7;
}

.admin-quick-grid-v4 > button > span.is-violet { background: #f1ecff; color: #7650cf; }
.admin-quick-grid-v4 > button > span.is-green { background: #e8f8f1; color: #16805f; }
.admin-quick-grid-v4 > button > span.is-amber { background: #fff5df; color: #b56b0d; }

.admin-quick-grid-v4 > button > div { min-width: 0; display: grid; gap: 2px; }
.admin-quick-grid-v4 > button strong { font-size: 10.5px; font-weight: 950; }
.admin-quick-grid-v4 > button small { overflow: hidden; color: #7f8b9d; font-size: 8.7px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.admin-quick-grid-v4 > button > i { color: #9aa6b6; font-size: 9px; }

.admin-metric-grid-v4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-metric-grid-v4.is-analytics { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.admin-metric-card-v4 {
  min-width: 0;
  min-height: 116px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--admin-v4-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--admin-v4-shadow-soft);
}

.admin-metric-icon-v4 {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eaf2ff;
  color: #2464c4;
}

.admin-metric-card-v4.is-violet .admin-metric-icon-v4 { background: #f1ecff; color: #7650cf; }
.admin-metric-card-v4.is-rose .admin-metric-icon-v4 { background: #ffedef; color: #ce4552; }
.admin-metric-card-v4.is-green .admin-metric-icon-v4 { background: #e8f8f1; color: #16805f; }
.admin-metric-card-v4.is-amber .admin-metric-icon-v4 { background: #fff5df; color: #b56b0d; }
.admin-metric-card-v4.is-cyan .admin-metric-icon-v4 { background: #e6f8fb; color: #128199; }
.admin-metric-card-v4.is-indigo .admin-metric-icon-v4 { background: #ecefff; color: #555ec3; }
.admin-metric-card-v4.is-slate .admin-metric-icon-v4 { background: #edf1f5; color: #59697e; }

.admin-metric-card-v4 > div { min-width: 0; }
.admin-metric-card-v4 small { color: #758399; font-size: 9.5px; font-weight: 850; }
.admin-metric-card-v4 strong { margin-top: 3px; color: var(--admin-v4-heading); font-size: 25px; line-height: 1; font-weight: 950; letter-spacing: -0.04em; }
.admin-metric-card-v4 p { margin: 6px 0 0; color: #99a3b2; font-size: 8.7px; line-height: 1.35; font-weight: 650; }

.admin-ranked-list-v4 { margin-top: 14px; display: grid; gap: 7px; }

.admin-ranked-row-v4 {
  min-height: 58px;
  padding: 8px 10px;
  display: grid;
  grid-template-columns: 26px 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid #e5eaf1;
  border-radius: 14px;
  background: #fbfcfe;
}

.admin-rank-v4 { color: #98a4b5; font-size: 10px; font-weight: 950; text-align: center; }

.admin-ranked-icon-v4 {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #edf3ff;
  color: var(--admin-v4-primary);
}

.admin-ranked-copy-v4 { min-width: 0; display: grid; gap: 2px; }
.admin-ranked-copy-v4 strong { overflow: hidden; color: var(--admin-v4-ink); font-size: 11px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.admin-ranked-copy-v4 small { color: #8390a3; font-size: 8.8px; font-weight: 750; }
.admin-ranked-stats-v4 { display: flex; align-items: center; gap: 6px; }
.admin-ranked-stats-v4 span { padding: 5px 7px; display: inline-flex; align-items: center; gap: 4px; border-radius: 8px; background: #f0f3f7; color: #65748a; font-size: 8.5px; font-weight: 800; }

/* Login */
.admin-login-v4 {
  min-height: min(690px, calc(100vh - 190px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.75fr);
  overflow: hidden;
  border: 1px solid var(--admin-v4-line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--admin-v4-shadow);
}

.admin-login-story-v4 {
  min-height: 590px;
  padding: clamp(30px, 5vw, 64px);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(75, 125, 239, 0.55), transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(55, 114, 230, 0.35), transparent 34%),
    linear-gradient(145deg, #082863, #103f99 60%, #1f56ca);
  color: #fff;
}

.admin-login-story-v4::before,
.admin-login-story-v4::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.admin-login-story-v4::before { right: -120px; bottom: -130px; width: 390px; height: 390px; }
.admin-login-story-v4::after { right: -35px; bottom: -45px; width: 220px; height: 220px; }
.admin-login-story-v4 .admin-login-brand-v4 { position: relative; z-index: 1; }
.admin-login-story-v4 .admin-login-brand-v4 > span { background: rgba(255, 255, 255, 0.14); box-shadow: none; }
.admin-login-story-v4 .admin-login-brand-v4 strong { color: #fff; }
.admin-login-story-v4 .admin-login-brand-v4 small { color: rgba(255, 255, 255, 0.68); }

.admin-login-copy-v4 {
  max-width: 570px;
  margin: auto 0;
  position: relative;
  z-index: 1;
}

.admin-login-copy-v4 .admin-eyebrow-v4 { border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.1); color: #fff; }
.admin-login-copy-v4 h2 { margin: 0; max-width: 560px; font-size: clamp(34px, 4.5vw, 58px); line-height: 1.02; font-weight: 950; letter-spacing: -0.055em; }
.admin-login-copy-v4 p { max-width: 510px; margin: 18px 0 0; color: rgba(255, 255, 255, 0.72); font-size: 14px; line-height: 1.75; font-weight: 650; }

.admin-login-assurance-v4 {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.admin-login-assurance-v4 span { padding: 8px 11px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.78); font-size: 9.5px; font-weight: 800; }

.admin-login-card-v4 {
  padding: clamp(28px, 4.5vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.admin-login-card-head-v4 { display: flex; align-items: center; gap: 13px; margin-bottom: 26px; }
.admin-login-icon-v4 { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--admin-v4-primary-soft); color: var(--admin-v4-primary); }
.admin-login-card-head-v4 p { margin: 0 0 2px; color: var(--admin-v4-muted); font-size: 10.5px; font-weight: 750; }
.admin-login-card-head-v4 h2 { margin: 0; color: var(--admin-v4-heading); font-size: 25px; font-weight: 950; letter-spacing: -0.035em; }
.admin-login-form-v4 { gap: 16px; }
.admin-label-row-v4 { display: flex; justify-content: space-between; gap: 10px; }
.admin-label-row-v4 small { color: #95a0b0; font-size: 9px; font-weight: 700; }

.admin-input-icon-v4 { position: relative; }
.admin-input-icon-v4 > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8390a3; font-size: 12px; }
.admin-input-icon-v4 input { height: 48px; padding-left: 40px; border-radius: 14px; background: #f8fafd; }
.admin-input-icon-v4.has-action input { padding-right: 46px; }
.admin-input-icon-v4 > button { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: #718096; }
.admin-input-icon-v4 > button:hover { background: #edf2f8; color: var(--admin-v4-heading); }

.admin-login-submit-v4 { min-height: 48px; margin-top: 2px; padding: 0 16px; justify-content: space-between; border-radius: 14px; }
.admin-back-public-v4 { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: transparent; color: var(--admin-v4-primary-strong); font-size: 10.5px; font-weight: 900; }
.admin-back-public-v4:hover { text-decoration: underline; }
.admin-login-help-v4 { margin: 24px 0 0; padding-top: 18px; display: flex; align-items: center; gap: 7px; border-top: 1px solid #e6ebf2; color: #8a96a8; font-size: 9.5px; line-height: 1.5; font-weight: 700; }

/* Content manager */
.admin-create-wrap-v4 { position: relative; flex: 0 0 auto; }
.admin-create-menu-v4 { position: absolute; z-index: 80; top: calc(100% + 9px); right: 0; width: min(330px, calc(100vw - 36px)); padding: 10px; display: grid; gap: 5px; border: 1px solid var(--admin-v4-line); border-radius: 18px; background: #fff; box-shadow: 0 22px 55px rgba(21, 43, 80, 0.18); }
.admin-create-menu-v4.hidden { display: none; }
.admin-create-menu-v4 > div { padding: 7px 8px 9px; display: grid; gap: 2px; border-bottom: 1px solid #e8edf3; }
.admin-create-menu-v4 > div strong { color: var(--admin-v4-ink); font-size: 11px; font-weight: 950; }
.admin-create-menu-v4 > div small { color: var(--admin-v4-muted); font-size: 9px; font-weight: 650; }
.admin-create-menu-v4 > button { min-height: 42px; padding: 7px 9px; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 8px; border: 0; border-radius: 11px; background: transparent; color: var(--admin-v4-ink); text-align: left; font-size: 10.5px; font-weight: 900; }
.admin-create-menu-v4 > button:hover { background: #f1f5fb; }
.admin-create-menu-v4 > button > i:first-child { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: #edf3ff; color: var(--admin-v4-primary); }
.admin-create-menu-v4 > button > i:last-child { color: #9aa6b6; font-size: 9px; }

.admin-content-toolbar-v4 { margin: 0; padding: 14px; gap: 11px; border: 1px solid var(--admin-v4-line); border-radius: 20px; background: #fff; box-shadow: var(--admin-v4-shadow-soft); }
.admin-search-box-v4 input { height: 46px; border-radius: 14px; background: #f8fafd; }
.admin-filter-row-v4 { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.admin-filter-row-v4 .admin-filter-chip-v3 { flex: 0 0 auto; min-height: 35px; padding-top: 7px; padding-bottom: 7px; }
.admin-content-summary-v4 { padding-top: 2px; justify-content: space-between; }
.admin-content-summary-v4 span { border: 0; background: transparent; padding: 0; }
.admin-content-list-v4 { margin-top: 0; gap: 9px; }

.admin-content-card-v4 { min-height: 106px; padding: 13px; grid-template-columns: 62px minmax(0, 1fr) auto; border-radius: 18px; box-shadow: none; }
.admin-content-card-v4:hover { transform: none; border-color: #bcd0f3; box-shadow: 0 8px 20px rgba(23, 58, 113, 0.06); }
.admin-content-thumb-v4 { width: 62px; height: 62px; border-radius: 14px; }
.admin-content-item-title-v3 { font-size: 13.5px; }
.admin-content-item-summary-v3 { font-size: 10.5px; }
.admin-status-badge-v4 { padding: 4px 7px; display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; background: #edf1f5; color: #65748a; font-size: 8px; line-height: 1; font-weight: 900; }
.admin-status-badge-v4 i { font-size: 5px; }
.admin-status-badge-v4.is-active { background: #e8f7f1; color: #147b5b; }
.admin-status-badge-v4.is-inactive { background: #fff0f1; color: #c63c46; }
.admin-content-actions-v4 { align-self: center; }
.admin-readonly-label-v4 { padding: 6px 9px; display: inline-flex; align-items: center; gap: 6px; border-radius: 10px; background: #edf2f7; color: #66758a; font-size: 9px; font-weight: 900; }

/* Tables, users, categories */
.admin-inline-summary-v4 { display: flex; flex-wrap: wrap; gap: 8px; }
.admin-inline-summary-v4 > span { padding: 8px 10px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #dfe6ef; border-radius: 11px; background: #fff; color: #6c7a8f; font-size: 9.5px; font-weight: 750; }
.admin-inline-summary-v4 > span i { color: var(--admin-v4-primary); }
.admin-inline-summary-v4 > span strong { color: var(--admin-v4-heading); font-size: 11px; }
.admin-inline-summary-v4 > span.is-readonly { background: #edf8f4; color: #147d5c; }

.admin-table-surface-v4 { padding: 0; overflow: hidden; }
.admin-table-head-v4 { min-height: 42px; padding: 0 16px; align-items: center; background: #f5f7fa; border-bottom: 1px solid #e2e8f0; color: #7d899b; font-size: 9px; font-weight: 950; text-transform: uppercase; letter-spacing: 0.06em; }
.admin-category-grid-v4 { display: grid; grid-template-columns: minmax(240px, 1.5fr) 90px 120px 170px; gap: 14px; }
.admin-user-grid-v4 { display: grid; grid-template-columns: minmax(240px, 1.5fr) 140px 110px 170px; gap: 14px; }
.admin-table-list-v4 { gap: 0; }
.admin-table-row-v4 { min-height: 74px; padding: 11px 16px; align-items: center; border: 0; border-bottom: 1px solid #e7ebf1; border-radius: 0; background: #fff; }
.admin-table-row-v4:last-child { border-bottom: 0; }
.admin-table-row-v4:hover { background: #fbfcfe; }
.admin-table-primary-v4 { min-width: 0; display: flex; align-items: center; gap: 11px; }
.admin-table-primary-v4 > div { min-width: 0; display: grid; gap: 3px; }
.admin-table-primary-v4 strong { overflow: hidden; color: var(--admin-v4-ink); font-size: 11.5px; font-weight: 950; text-overflow: ellipsis; white-space: nowrap; }
.admin-table-primary-v4 strong em { margin-left: 7px; padding: 3px 6px; border-radius: 999px; background: #edf3ff; color: var(--admin-v4-primary); font-size: 7.5px; font-style: normal; vertical-align: middle; }
.admin-table-primary-v4 small { overflow: hidden; color: #8793a5; font-size: 9px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }

.admin-category-icon-v4 { --category-color: #1e3a8a; width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 12px; background: color-mix(in srgb, var(--category-color) 12%, white); color: var(--category-color); }
.admin-user-avatar-v4 { width: 38px; height: 38px; flex: 0 0 38px; font-size: 10px; }
.admin-user-avatar-v4.is-super-admin { background: #f0eaff; color: #6841c1; }
.admin-user-avatar-v4.is-admin { background: #e7f1ff; color: #1f62bc; }
.admin-user-avatar-v4.is-viewer { background: #e7f8f1; color: #137c5b; }

.admin-order-pill-v4 { width: fit-content; min-width: 34px; padding: 6px 8px; border-radius: 9px; background: #eef2f6; color: #56667c; font-size: 9px; font-weight: 950; text-align: center; }
.admin-state-pill-v4,
.admin-role-pill-v4 { width: fit-content; padding: 6px 8px; display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; font-size: 8.5px; font-weight: 900; white-space: nowrap; }
.admin-state-pill-v4 { background: #edf1f5; color: #6b788b; }
.admin-state-pill-v4 i { font-size: 5px; }
.admin-state-pill-v4.is-active { background: #e7f7f0; color: #147b59; }
.admin-state-pill-v4.is-inactive { background: #fff0f1; color: #c93c46; }
.admin-role-pill-v4 { background: #eef2f7; color: #56667b; }
.admin-role-pill-v4.is-super-admin { background: #f1ebff; color: #6a45c2; }
.admin-role-pill-v4.is-admin { background: #e8f2ff; color: #2164bd; }
.admin-role-pill-v4.is-viewer { background: #e7f8f1; color: #147c5b; }

.admin-row-actions-v4 { justify-content: flex-end; flex-wrap: nowrap; }
.admin-icon-text-button-v4 { min-height: 32px; padding: 0 9px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #dce4ee; border-radius: 10px; background: #fff; color: var(--admin-v4-heading); font-size: 9px; font-weight: 900; }
.admin-icon-text-button-v4:hover { border-color: #b9cdf3; background: #f4f8ff; }
.admin-icon-text-button-v4.is-danger { border-color: #f3d8da; color: #c83d46; }
.admin-icon-text-button-v4.is-danger:hover { background: #fff1f2; }

.admin-mini-metrics-v4 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.admin-mini-metrics-v4 article { min-height: 78px; padding: 13px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--admin-v4-line); border-radius: 16px; background: #fff; }
.admin-mini-metrics-v4 article > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: #eaf2ff; color: #2464c4; }
.admin-mini-metrics-v4 article > span.is-green { background: #e7f8f1; color: #147f5e; }
.admin-mini-metrics-v4 article > span.is-violet { background: #f0ebff; color: #704bc7; }
.admin-mini-metrics-v4 article > div { display: grid; gap: 2px; }
.admin-mini-metrics-v4 small { color: #7c899b; font-size: 9px; font-weight: 800; }
.admin-mini-metrics-v4 strong { color: var(--admin-v4-heading); font-size: 20px; line-height: 1; font-weight: 950; }

/* Analytics */
.admin-trend-chart-v4 { height: 220px; margin-top: 20px; padding-top: 10px; display: flex; align-items: stretch; gap: 6px; border-bottom: 1px solid #dfe6ef; }
.admin-trend-item-v4 { min-width: 0; flex: 1; display: grid; grid-template-rows: minmax(0, 1fr) 22px; align-items: end; gap: 5px; }
.admin-trend-item-v4 > span { height: 100%; display: flex; align-items: flex-end; justify-content: center; border-radius: 8px 8px 0 0; background: linear-gradient(to top, rgba(23, 71, 181, 0.04), transparent); }
.admin-trend-item-v4 i { width: min(18px, 72%); min-height: 4px; display: block; border-radius: 6px 6px 2px 2px; background: linear-gradient(to top, #1747b5, #5d8bee); box-shadow: 0 5px 12px rgba(23, 71, 181, 0.14); }
.admin-trend-item-v4 small { overflow: hidden; color: #8a96a7; font-size: 7.5px; font-weight: 700; text-align: center; text-overflow: ellipsis; white-space: nowrap; }

.admin-device-list-v4 { margin-top: 20px; display: grid; gap: 14px; }
.admin-device-row-v4 { display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 10px; }
.admin-device-row-v4 > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: #eaf2ff; color: #2464c4; }
.admin-device-row-v4 > span.is-violet { background: #f0ebff; color: #704bc7; }
.admin-device-row-v4 > span.is-green { background: #e7f8f1; color: #147f5e; }
.admin-device-row-v4 > span.is-slate { background: #edf1f5; color: #627187; }
.admin-device-row-v4 > div { min-width: 0; display: grid; gap: 7px; }
.admin-device-row-v4 > div > div { display: flex; justify-content: space-between; gap: 10px; }
.admin-device-row-v4 strong { color: var(--admin-v4-ink); font-size: 10.5px; font-weight: 900; }
.admin-device-row-v4 small { color: #8190a4; font-size: 9px; font-weight: 750; }
.admin-device-row-v4 > div > i { height: 6px; overflow: hidden; border-radius: 999px; background: #edf1f6; }
.admin-device-row-v4 > div > i > b { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, #1747b5, #5b88e9); }

/* Migration and alerts */
.admin-inline-alert-v4 { padding: 14px 16px; display: flex; align-items: flex-start; gap: 11px; border: 1px solid #dfe6ef; border-radius: 16px; background: #fff; color: #56667c; }
.admin-inline-alert-v4 > i { margin-top: 1px; }
.admin-inline-alert-v4 > div { min-width: 0; display: grid; gap: 3px; }
.admin-inline-alert-v4 strong { font-size: 10.5px; font-weight: 950; }
.admin-inline-alert-v4 p { margin: 0; font-size: 9.5px; line-height: 1.5; font-weight: 650; }
.admin-inline-alert-v4.is-warning { border-color: #f1dfb9; background: #fff9eb; color: #945c0d; }
.admin-inline-alert-v4.is-success { border-color: #cce9dc; background: #edf9f4; color: #127052; }
.admin-inline-alert-v4.is-danger { border-color: #f0d0d3; background: #fff1f2; color: #b62f39; }

.admin-migration-card-v4 { min-height: 230px; display: flex; flex-direction: column; align-items: flex-start; }
.admin-migration-card-v4 > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: #edf3ff; color: var(--admin-v4-primary); }
.admin-migration-card-v4 > div { margin: 18px 0 22px; }
.admin-migration-card-v4 small { color: #8793a5; font-size: 9px; font-weight: 950; text-transform: uppercase; letter-spacing: 0.08em; }
.admin-migration-card-v4 h3 { margin: 4px 0 7px; color: var(--admin-v4-heading); font-size: 18px; font-weight: 950; }
.admin-migration-card-v4 p { margin: 0; color: var(--admin-v4-muted); font-size: 10.5px; line-height: 1.55; font-weight: 650; }
.admin-migration-card-v4 > button { width: 100%; margin-top: auto; }
.admin-migration-result-v4 { display: grid; gap: 10px; }
.admin-migration-result-v4.hidden { display: none; }
.admin-migration-result-v4 details { overflow: hidden; border: 1px solid var(--admin-v4-line); border-radius: 15px; background: #fff; }
.admin-migration-result-v4 summary { padding: 12px 14px; color: var(--admin-v4-heading); font-size: 10px; font-weight: 900; cursor: pointer; }
.admin-migration-result-v4 pre { max-height: 360px; margin: 0; padding: 14px; overflow: auto; border-top: 1px solid var(--admin-v4-line); background: #101827; color: #dce7f8; font-size: 9px; line-height: 1.55; }

.admin-confirm-v4 { padding: 8px 4px 2px; display: grid; justify-items: center; gap: 16px; text-align: center; }
.admin-confirm-icon-v4 { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: #edf3ff; color: var(--admin-v4-primary); font-size: 20px; }
.admin-confirm-icon-v4.is-danger { background: #ffedef; color: var(--admin-v4-danger); }
.admin-confirm-v4 > div:nth-child(2) { max-width: 540px; }
.admin-confirm-v4 small { color: #9a6a70; font-size: 8.5px; font-weight: 950; text-transform: uppercase; letter-spacing: 0.08em; }
.admin-confirm-v4 h3 { margin: 4px 0 7px; color: var(--admin-v4-ink); font-size: 21px; font-weight: 950; letter-spacing: -0.035em; }
.admin-confirm-v4 p { margin: 0; color: var(--admin-v4-muted); font-size: 11px; line-height: 1.6; font-weight: 650; }
.admin-confirm-actions-v4 { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.admin-danger-button-v4 { min-height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--admin-v4-danger); border-radius: 13px; background: var(--admin-v4-danger); color: #fff; font-size: 11px; font-weight: 950; box-shadow: 0 10px 22px rgba(217, 54, 62, 0.18); }
.admin-danger-button-v4:hover { background: #c92d35; }

.admin-drawer-backdrop-v4 { display: none; }

/* Admin form polish without changing field IDs/contracts */
.admin-form-dialog-v4 { min-width: 0; }
.admin-form-head-v4 { padding-bottom: 15px; border-bottom: 1px solid #e5eaf1; }
.admin-form-title-v4 { min-width: 0; display: flex; align-items: flex-start; gap: 12px; }
.admin-form-title-v4 > span { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 14px; background: #eaf2ff; color: var(--admin-v4-primary); }
.admin-form-title-v4 > div { min-width: 0; }
.admin-form-title-v4 small { display: block; margin-bottom: 3px; color: #7f8c9f; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; }
.admin-form-title-v4 h3 { color: var(--admin-v4-heading); font-size: 20px; }
.admin-form-title-v4 p { margin: 4px 0 0; }

.admin-form-steps-v4 { margin: 0 0 15px; padding: 9px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; border-radius: 14px; background: #f4f7fb; }
.admin-form-steps-v4 span { min-height: 34px; padding: 0 8px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; color: #8793a4; font-size: 9px; font-weight: 850; }
.admin-form-steps-v4 span.active { background: #fff; color: var(--admin-v4-primary-strong); box-shadow: 0 5px 14px rgba(22, 49, 90, 0.07); }

.admin-form-grid-v4 { gap: 11px; }
.admin-form-section-v4 { padding: 15px; display: grid; gap: 14px; border: 1px solid #e2e8f0; border-radius: 17px; background: #fff; }
.admin-form-section-head-v4 { display: flex; align-items: center; gap: 9px; }
.admin-form-section-head-v4 > span { width: 28px; height: 28px; flex: 0 0 28px; display: grid; place-items: center; border-radius: 9px; background: #eaf2ff; color: var(--admin-v4-primary); font-size: 9px; font-weight: 950; }
.admin-form-section-head-v4 > div { display: grid; gap: 2px; }
.admin-form-section-head-v4 strong { color: var(--admin-v4-ink); font-size: 11px; font-weight: 950; }
.admin-form-section-head-v4 small { color: #8793a4; font-size: 8.8px; font-weight: 650; }
.admin-form-fields-v4 { display: grid; gap: 12px; }
.admin-form-fields-2-v4,
.admin-form-files-v4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-form-fields-2-v4 > .form-field:has(textarea),
.admin-form-files-v4 > .form-field:last-child:nth-child(odd) { grid-column: 1 / -1; }
.admin-form-publish-v4 { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(250px, 1.3fr); align-items: center; gap: 14px; }

.admin-switch-field-v4 { min-height: 66px; padding: 12px; display: grid; grid-template-columns: 38px minmax(0, 1fr); align-items: center; gap: 11px; border: 1px solid #e1e7ef; border-radius: 14px; background: #f8fafd; cursor: pointer; }
.admin-switch-field-v4 input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.admin-switch-field-v4 > span { width: 38px; height: 22px; position: relative; border-radius: 999px; background: #cbd4e0; transition: background 0.18s ease; }
.admin-switch-field-v4 > span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(23, 40, 69, 0.18); transition: transform 0.18s ease; }
.admin-switch-field-v4 input:checked + span { background: var(--admin-v4-primary); }
.admin-switch-field-v4 input:checked + span::after { transform: translateX(16px); }
.admin-switch-field-v4 input:focus-visible + span { box-shadow: 0 0 0 4px rgba(36, 87, 214, 0.14); }
.admin-switch-field-v4 > div { display: grid; gap: 2px; }
.admin-switch-field-v4 strong { color: var(--admin-v4-ink); font-size: 10.5px; font-weight: 950; }
.admin-switch-field-v4 small { color: #7e8b9e; font-size: 8.7px; line-height: 1.4; font-weight: 650; }

.admin-form-footer-v4 { position: sticky; bottom: -20px; z-index: 5; margin: 2px -20px -20px; padding: 13px 20px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; border-top: 1px solid #e1e7ef; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(14px); }
.admin-form-footer-v4 button { min-width: 130px; }

.modal-box .form-grid .form-field > label { color: #263a59; }
.modal-box .form-grid .form-field input,
.modal-box .form-grid .form-field select,
.modal-box .form-grid .form-field textarea { border-radius: 13px; background: #f8fafd; }
.modal-box .form-grid .form-field input:focus,
.modal-box .form-grid .form-field select:focus,
.modal-box .form-grid .form-field textarea:focus { border-color: #7ba3ed; box-shadow: 0 0 0 4px rgba(36, 87, 214, 0.09); }

@media (min-width: 640px) {
  .admin-form-dialog-v4 { margin: -2px; }
  .admin-form-dialog-v4 .admin-form-section-v4:first-of-type .admin-form-fields-v4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-form-dialog-v4 .admin-form-section-v4:first-of-type .form-field:has(textarea),
  .admin-form-dialog-v4 .admin-form-section-v4:first-of-type .form-field:last-child { grid-column: 1 / -1; }
}

@media (max-width: 1180px) {
  .admin-layout-v4 { grid-template-columns: 250px minmax(0, 1fr); }
  .admin-sidebar-v4 { padding: 15px; }
  .admin-metric-grid-v4,
  .admin-metric-grid-v4.is-analytics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-category-grid-v4 { grid-template-columns: minmax(210px, 1.3fr) 70px 100px 150px; }
  .admin-user-grid-v4 { grid-template-columns: minmax(210px, 1.3fr) 120px 95px 150px; }
}

@media (max-width: 1020px) {
  .admin-root:not(.hidden) { width: min(100% - 28px, 1000px); padding-top: 14px; }
  .admin-layout-v4 { display: block; }
  .admin-workspace-v4 { min-height: 680px; }
  .admin-sidebar-v4 { position: fixed; top: 0; bottom: 0; left: 0; width: min(300px, calc(100vw - 54px)); min-height: 100vh; max-height: 100vh; overflow-y: auto; border-radius: 0 24px 24px 0; transform: translateX(-105%); transition: transform 0.22s ease; z-index: 1002; }
  .admin-layout-v4.is-sidebar-open .admin-sidebar-v4 { transform: translateX(0); }
  .admin-sidebar-brand-v4 > button { display: grid; place-items: center; }
  .admin-drawer-backdrop-v4 { position: fixed; inset: 0; z-index: 1001; border: 0; background: rgba(8, 19, 38, 0.5); opacity: 0; pointer-events: none; transition: opacity 0.2s ease; }
  .admin-layout-v4.is-sidebar-open .admin-drawer-backdrop-v4 { display: block; opacity: 1; pointer-events: auto; }
  .admin-menu-toggle-v4 { display: grid; place-items: center; }
}

@media (max-width: 820px) {
  .admin-login-v4 { grid-template-columns: 1fr; }
  .admin-login-story-v4 { min-height: 280px; padding: 28px; }
  .admin-login-copy-v4 { margin: 38px 0; }
  .admin-login-copy-v4 h2 { max-width: 600px; font-size: clamp(30px, 7vw, 46px); }
  .admin-login-assurance-v4 { margin-top: auto; }
  .admin-login-card-v4 { padding: 34px 28px; }
  .admin-hero-grid-v4,
  .admin-analytics-grid-v4,
  .admin-migration-grid-v4 { grid-template-columns: 1fr; }
  .admin-category-grid-v4,
  .admin-user-grid-v4 { grid-template-columns: minmax(0, 1fr) auto auto; }
  .admin-table-head-v4 { display: none; }
  .admin-table-row-v4 { padding: 14px; }
  .admin-table-row-v4 > .admin-table-primary-v4 { grid-column: 1 / -1; margin-bottom: 4px; }
  .admin-table-row-v4 > .admin-row-actions-v4 { justify-self: end; }
  .admin-mini-metrics-v4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .admin-root:not(.hidden) { width: calc(100% - 20px); padding: 10px 0 24px; }
  .admin-workspace-v4 { border-radius: 20px; }
  .admin-topbar-v4 { min-height: 62px; padding: 10px 13px; border-radius: 20px 20px 0 0; }
  .admin-topbar-role-v4 { display: none; }
  .admin-view-site-v4 span { display: none; }
  .admin-view-site-v4 { width: 38px; padding: 0; justify-content: center; }
  .admin-content-area-v4 { padding: 16px 13px 20px; }
  .admin-page-v4 { gap: 15px; }
  .admin-page-head-v4 { flex-direction: column; gap: 12px; }
  .admin-page-head-v4 > .admin-primary-button-v4,
  .admin-page-head-v4 > .admin-secondary-button-v4,
  .admin-page-head-v4 > .admin-create-wrap-v4 { width: 100%; }
  .admin-page-head-v4 .admin-primary-button-v4,
  .admin-page-head-v4 .admin-secondary-button-v4 { width: 100%; }
  .admin-page-head-v4 h2 { font-size: 26px; }
  .admin-total-card-v4 { min-height: 220px; padding: 19px; }
  .admin-total-breakdown-v4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-quick-actions-v4,
  .admin-surface-v4 { padding: 15px; border-radius: 18px; }
  .admin-quick-grid-v4 { grid-template-columns: 1fr; }
  .admin-metric-grid-v4,
  .admin-metric-grid-v4.is-analytics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .admin-metric-card-v4 { min-height: 104px; padding: 12px; gap: 8px; }
  .admin-metric-icon-v4 { width: 32px; height: 32px; flex-basis: 32px; border-radius: 10px; }
  .admin-metric-card-v4 strong { font-size: 21px; }
  .admin-ranked-row-v4 { grid-template-columns: 24px 32px minmax(0, 1fr); }
  .admin-ranked-stats-v4 { grid-column: 2 / -1; justify-content: flex-start; }
  .admin-content-toolbar-v4 { padding: 10px; border-radius: 16px; }
  .admin-content-summary-v4 { align-items: flex-start; flex-direction: column; }
  .admin-content-card-v4 { grid-template-columns: 50px minmax(0, 1fr); align-items: flex-start; padding: 11px; }
  .admin-content-thumb-v4 { width: 50px; height: 50px; }
  .admin-content-actions-v4 { grid-column: 1 / -1; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-content-actions-v4 > button:only-child { grid-column: 1 / -1; }
  .admin-content-card-v4 > .admin-readonly-label-v4 { grid-column: 1 / -1; justify-self: start; }
  .admin-category-grid-v4,
  .admin-user-grid-v4 { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .admin-table-row-v4 > .admin-table-primary-v4 { grid-column: 1 / -1; }
  .admin-table-row-v4 > .admin-row-actions-v4 { grid-column: 1 / -1; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-row-actions-v4 > button:only-child { grid-column: 1 / -1; }
  .admin-mini-metrics-v4 { grid-template-columns: 1fr; }
  .admin-mini-metrics-v4 article { min-height: 66px; }
  .admin-trend-chart-v4 { height: 180px; gap: 3px; }
  .admin-trend-item-v4 small { font-size: 6px; }
}

@media (max-width: 480px) {
  .admin-login-story-v4 { min-height: 250px; padding: 22px; }
  .admin-login-copy-v4 { margin: 30px 0; }
  .admin-login-copy-v4 h2 { font-size: 30px; }
  .admin-login-copy-v4 p { font-size: 12px; }
  .admin-login-assurance-v4 span:nth-child(2) { display: none; }
  .admin-login-card-v4 { padding: 28px 20px; }
  .admin-metric-grid-v4,
  .admin-metric-grid-v4.is-analytics { grid-template-columns: 1fr; }
  .admin-metric-card-v4 { min-height: 94px; }
  .admin-create-menu-v4 { position: fixed; left: 10px; right: 10px; top: auto; bottom: 14px; width: auto; max-height: min(520px, calc(100vh - 28px)); overflow-y: auto; }
}

/* =========================================================
   PERFORMANCE V1 — tidak mengubah layout atau interaksi
   Browser dapat melewati layout/paint elemen yang masih jauh
   di luar viewport, lalu merendernya saat mendekat.
   ========================================================= */
@supports (content-visibility: auto) {
  .media-grid-v2 > article,
  .admin-content-list-v4 > article,
  .admin-table-list-v4 > article,
  .admin-ranked-list-v4 > article,
  .bimroh-static-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 120px;
  }

  .bimroh-static-section {
    contain-intrinsic-size: auto 520px;
  }
}

/* =========================================================
   MEDIKA HOME REFINEMENT V1
   Branding, proporsi hero desktop, dan aksesibilitas search.
   Tidak mengubah kontrak data, routing, atau workspace admin.
   ========================================================= */

/* Logo resmi memakai LOGO_FILE_ID dari sheet Settings. */
.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 17px;
}

.brand-logo.has-brand-image-v5 {
  overflow: visible;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.brand-logo.has-brand-image-v5 img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 50%;
  background: transparent;
}

/* Tombol panah sekarang elemen interaktif asli, bukan dekorasi semata. */
.hero-search-submit {
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.hero-search-submit > i {
  position: static;
  inset: auto;
  transform: none;
  color: inherit;
  font-size: 17px;
}

.hero-search-submit:hover {
  transform: translateY(-50%) scale(1.04);
  filter: brightness(1.06);
  box-shadow: 0 14px 28px rgba(15, 47, 117, 0.30);
}

.hero-search-submit:active {
  transform: translateY(-50%) scale(0.97);
}

.hero-search-submit:focus-visible,
.hero-topic-chip:focus-visible,
.hero-search-row input:focus-visible {
  outline: 3px solid rgba(147, 197, 253, 0.96);
  outline-offset: 3px;
}

.hero-search-row:focus-within {
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.10),
    0 0 0 4px rgba(96, 165, 250, 0.22),
    inset 0 0 0 1px rgba(37, 99, 235, 0.42);
}

/* Desktop besar: judul menjadi fokus utama tanpa mendorong media terlalu jauh. */
@media (min-width: 1200px) {
  .smart-hero {
    padding: 14px 0 2px;
  }

  .hero-v3.senior-hero-v1 {
    padding: 30px 16px 10px;
  }

  .hero-v3.senior-hero-v1 .hero-v3-kicker {
    margin-bottom: 22px;
  }

  .hero-v3.senior-hero-v1 .hero-main-title-v5 {
    max-width: 1120px;
    font-size: clamp(72px, 4.35vw, 84px);
    line-height: 0.99;
    letter-spacing: -0.064em;
  }

  .hero-v3.senior-hero-v1 .hero-main-description-v5 {
    max-width: 960px;
    margin-top: 20px;
    font-size: clamp(18px, 1.18vw, 21px);
    line-height: 1.62;
    font-weight: 600;
  }

  .hero-v3.senior-hero-v1 .senior-search-panel-v1 {
    margin-top: 24px;
  }

  .media-hub {
    margin-top: 20px;
  }
}

/* Laptop: tetap terasa besar, tetapi aman pada lebar kerja yang lebih sempit. */
@media (min-width: 921px) and (max-width: 1199px) {
  .smart-hero {
    padding-top: 12px;
  }

  .hero-v3.senior-hero-v1 {
    padding: 28px 14px 10px;
  }

  .hero-v3.senior-hero-v1 .hero-main-title-v5 {
    max-width: 940px;
    font-size: clamp(58px, 6vw, 68px);
    line-height: 1.01;
    letter-spacing: -0.058em;
  }

  .hero-v3.senior-hero-v1 .hero-main-description-v5 {
    max-width: 850px;
    line-height: 1.62;
  }

  .media-hub {
    margin-top: 22px;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .brand-logo.has-brand-image-v5 {
    border-radius: 50%;
  }

  .hero-v3-kicker,
  .hero-kicker {
    max-width: calc(100vw - 48px);
    justify-content: center;
    padding: 8px 12px;
    font-size: 10.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-search-submit {
    transition: none;
  }
}

/* =========================================================
   PUBLIC HEADER V6
   Transparan di posisi atas, glass saat halaman digulir.
   ========================================================= */
.top-header.medika-public-header-v6 {
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 82px;
  padding: 10px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    backdrop-filter 180ms ease;
}

.top-header-inner-v6 {
  width: min(var(--container), calc(100% - 48px));
  min-height: 60px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.medika-public-header-v6.is-scrolled-v6 {
  background: rgba(255, 255, 255, 0.72);
  border-bottom-color: rgba(203, 213, 225, 0.62);
  box-shadow:
    0 12px 36px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(20px) saturate(165%);
  -webkit-backdrop-filter: blur(20px) saturate(165%);
}

.medika-public-header-v6 .brand-block {
  min-width: 0;
  flex: 0 1 auto;
}

.medika-public-header-v6 .brand-logo {
  flex: 0 0 auto;
}

.brand-copy-v6 {
  min-width: 0;
}

.medika-public-header-v6 .brand-block h1 {
  margin: 0;
  color: #0f347c;
  font-size: 20px;
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: 0.025em;
}

.medika-public-header-v6 .brand-block p {
  margin: 5px 0 0;
  color: #607493;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
  white-space: nowrap;
}

.public-header-nav-v6 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  flex: 0 0 auto;
}

.public-header-link-v6 {
  position: relative;
  min-height: 44px;
  padding: 0 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #173b7d;
  font-size: 13px;
  line-height: 1;
  font-weight: 850;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 160ms ease;
}

.public-header-link-v6::after {
  content: '';
  position: absolute;
  right: 2px;
  bottom: 6px;
  left: 2px;
  height: 2px;
  border-radius: 999px;
  background: #2563eb;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.public-header-link-v6:hover,
.public-header-link-v6:focus-visible {
  color: #1d4ed8;
}

.public-header-link-v6:hover::after,
.public-header-link-v6:focus-visible::after {
  transform: scaleX(1);
}

.public-header-link-v6:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.2);
  outline-offset: 5px;
  border-radius: 6px;
}

/* Area admin tidak memakai navigasi publik dan tetap memiliki header terbaca. */
.admin-mode-v4 .medika-public-header-v6 {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(203, 213, 225, 0.72);
  box-shadow: 0 10px 28px rgba(15, 52, 124, 0.07);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.admin-mode-v4 .public-header-nav-v6 {
  display: none;
}

@media (max-width: 760px) {
  .top-header.medika-public-header-v6 {
    min-height: 116px;
    padding: 8px 0 7px;
  }

  .top-header-inner-v6 {
    width: calc(100% - 24px);
    min-height: 100px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  .medika-public-header-v6 .brand-block {
    width: 100%;
  }

  .medika-public-header-v6 .brand-logo {
    width: 42px;
    height: 42px;
  }

  .medika-public-header-v6 .brand-block h1 {
    font-size: 17px;
  }

  .medika-public-header-v6 .brand-block p {
    margin-top: 3px;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
  }

  .public-header-nav-v6 {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding-top: 3px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
  }

  .public-header-link-v6 {
    min-height: 38px;
    padding: 0 10px;
    font-size: 11.5px;
  }

  .public-header-link-v6:first-child {
    border-right: 1px solid rgba(148, 163, 184, 0.22);
  }

  .public-header-link-v6::after {
    right: 22%;
    bottom: 3px;
    left: 22%;
  }

  .admin-mode-v4 .top-header-inner-v6 {
    min-height: 58px;
  }

  .admin-mode-v4 .top-header.medika-public-header-v6 {
    min-height: 74px;
  }
}

@media (max-width: 390px) {
  .medika-public-header-v6 .brand-block h1 {
    font-size: 16px;
  }

  .medika-public-header-v6 .brand-block p {
    font-size: 9.25px;
  }

  .public-header-link-v6 {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-header.medika-public-header-v6,
  .public-header-link-v6,
  .public-header-link-v6::after {
    transition: none;
  }
}

/* =========================================================
   LEAFLET AUDIO PLAYER V1
   GOOGLE DRIVE PREVIEW
   ========================================================= */

body.medika-leaflet-audio-open-v1 {
  overflow: hidden;
}

[data-medika-leaflet-audio-label] {
  pointer-events: none;
}

.medika-leaflet-audio-overlay-v1 {
  position: fixed;
  inset: 0;
  z-index: 380;

  display: grid;
  place-items: center;

  padding: 22px;

  background: rgba(7, 22, 48, 0.7);

  backdrop-filter:
    blur(14px)
    saturate(140%);

  -webkit-backdrop-filter:
    blur(14px)
    saturate(140%);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 180ms ease,
    visibility 180ms ease;
}

.medika-leaflet-audio-overlay-v1.is-visible {
  opacity: 1;
  visibility: visible;
}

.medika-leaflet-audio-overlay-v1.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.medika-leaflet-audio-card-v1 {
  width: min(620px, 100%);

  overflow: hidden;

  border:
    1px solid
    rgba(255, 255, 255, 0.8);

  border-radius: 28px;

  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(61, 132, 255, 0.14),
      transparent 38%
    ),
    radial-gradient(
      circle at 0% 100%,
      rgba(22, 171, 164, 0.08),
      transparent 42%
    ),
    #ffffff;

  box-shadow:
    0 32px 90px
    rgba(3, 18, 43, 0.38);

  transform:
    translateY(14px)
    scale(0.985);

  transition:
    transform 180ms ease;
}

.medika-leaflet-audio-overlay-v1.is-visible
.medika-leaflet-audio-card-v1 {
  transform:
    translateY(0)
    scale(1);
}

.medika-leaflet-audio-head-v1 {
  display: grid;

  grid-template-columns:
    auto
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 14px;

  padding:
    20px
    20px
    16px;
}

.medika-leaflet-audio-icon-v1 {
  width: 52px;
  height: 52px;

  display: grid;
  place-items: center;

  flex: 0 0 auto;

  border-radius: 17px;

  background:
    linear-gradient(
      145deg,
      #0c3a86,
      #286bdc
    );

  color: #ffffff;

  font-size: 19px;

  box-shadow:
    0 13px 30px
    rgba(24, 83, 180, 0.26);
}

.medika-leaflet-audio-title-v1 {
  min-width: 0;
}

.medika-leaflet-audio-title-v1 small {
  display: block;

  margin-bottom: 4px;

  color: #6c7f9c;

  font-size: 10px;
  font-weight: 900;

  line-height: 1.2;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}

.medika-leaflet-audio-title-v1 h3 {
  margin: 0;

  overflow: hidden;

  color: #0b2e69;

  font-size: 20px;
  font-weight: 900;

  line-height: 1.25;

  letter-spacing: -0.025em;

  text-overflow: ellipsis;
  white-space: nowrap;
}

.medika-leaflet-audio-close-v1 {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  padding: 0;

  border:
    1px solid
    #dce5f2;

  border-radius: 14px;

  background: #f4f7fb;

  color: #60738f;

  font-size: 16px;

  cursor: pointer;

  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.medika-leaflet-audio-close-v1:hover {
  background: #eaf0f8;
  color: #153f7e;

  transform: translateY(-1px);
}

.medika-leaflet-audio-close-v1:focus-visible {
  outline:
    3px solid
    rgba(41, 105, 218, 0.24);

  outline-offset: 2px;
}

.medika-leaflet-audio-frame-v1 {
  min-height: 188px;

  margin:
    0
    20px;

  overflow: hidden;

  border:
    1px solid
    rgba(20, 66, 142, 0.2);

  border-radius: 21px;

  background:
    linear-gradient(
      145deg,
      #061a3b,
      #103e83
    );

  box-shadow:
    inset 0 1px 0
    rgba(255, 255, 255, 0.08);
}

.medika-leaflet-audio-frame-v1 iframe {
  display: block;

  width: 100%;
  height: 188px;

  border: 0;

  background: #061a3b;
}

.medika-leaflet-audio-foot-v1 {
  display: flex;
  align-items: center;

  gap: 8px;

  padding:
    15px
    20px
    20px;

  color: #71829b;

  font-size: 12px;
  font-weight: 750;

  line-height: 1.45;
}

.medika-leaflet-audio-foot-v1 i {
  flex: 0 0 auto;

  color: #2765c6;

  font-size: 14px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {
  .medika-leaflet-audio-overlay-v1 {
    place-items: center;
    padding:
      max(14px, env(safe-area-inset-top))
      12px
      max(14px, env(safe-area-inset-bottom));
  }

  .medika-leaflet-audio-card-v1 {
    width: 100%;
    border-radius: 25px;
  }

  .medika-leaflet-audio-head-v1 {
    grid-template-columns:
      auto
      minmax(0, 1fr)
      auto;

    gap: 11px;

    padding:
      16px
      16px
      13px;
  }

  .medika-leaflet-audio-icon-v1 {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 17px;
  }

  .medika-leaflet-audio-title-v1 small {
    font-size: 9px;
  }

  .medika-leaflet-audio-title-v1 h3 {
    font-size: 17px;
  }

  .medika-leaflet-audio-close-v1 {
    width: 39px;
    height: 39px;
    border-radius: 13px;
  }

  .medika-leaflet-audio-frame-v1 {
    min-height: 170px;
    margin: 0 12px;
    border-radius: 18px;
  }

  .medika-leaflet-audio-frame-v1 iframe {
    height: 170px;
  }

  .medika-leaflet-audio-foot-v1 {
    padding:
      13px
      16px
      17px;

    font-size: 11px;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (
  max-width: 380px
),
(
  max-height: 650px
) {
  .medika-leaflet-audio-overlay-v1 {
    padding: 9px;
  }

  .medika-leaflet-audio-head-v1 {
    padding:
      13px
      13px
      11px;
  }

  .medika-leaflet-audio-icon-v1 {
    width: 40px;
    height: 40px;
  }

  .medika-leaflet-audio-title-v1 h3 {
    font-size: 15px;
  }

  .medika-leaflet-audio-frame-v1 {
    min-height: 150px;

    margin:
      0
      9px;
  }

  .medika-leaflet-audio-frame-v1 iframe {
    height: 150px;
  }

  .medika-leaflet-audio-foot-v1 {
    padding:
      11px
      13px
      14px;
  }
}

/* =========================================================
   INFORMASI — LAYANAN LABORATORIUM V1
   ========================================================= */

.lab-information-filter-hidden-v1 {
  display: none !important;
}

.information-service-list-v1 {
  display: grid;
  gap: 14px;
}

.information-service-accordion-v1 {
  overflow: hidden;
  border: 1px solid #dce6f2;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.065);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.information-service-accordion-v1[open] {
  border-color: #bfd6f7;
  box-shadow: 0 18px 42px rgba(30, 58, 138, 0.10);
}

/*
 * Pengaman eksplisit untuk build accordion V2.
 * Native <details> sebenarnya sudah menyembunyikan isi ketika atribut
 * "open" tidak tersedia, tetapi aturan ini memastikan hasilnya konsisten
 * walaupun ada stylesheet browser atau aturan lama yang ikut terbawa.
 */
.information-service-accordion-v1:not([open]) > .information-service-body-v1 {
  display: none !important;
}

.information-service-accordion-v1[open] > .information-service-body-v1 {
  display: block;
}

.information-service-summary-v1 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 108px;
  padding: 18px 20px;
  list-style: none;
  cursor: pointer;
  user-select: none;
  background:
    radial-gradient(circle at 94% 8%, rgba(96, 165, 250, 0.14), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f7faff 100%);
  transition: background 0.2s ease;
}

.information-service-summary-v1::-webkit-details-marker {
  display: none;
}

.information-service-summary-v1:hover {
  background:
    radial-gradient(circle at 94% 8%, rgba(96, 165, 250, 0.20), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f1f6ff 100%);
}

.information-service-summary-v1:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: -3px;
}

.information-service-accordion-v1[open] .information-service-summary-v1 {
  border-bottom: 1px solid #e3ebf5;
  background:
    radial-gradient(circle at 94% 8%, rgba(96, 165, 250, 0.16), transparent 30%),
    linear-gradient(135deg, #fafdff 0%, #f1f6ff 100%);
}

.information-service-summary-icon-v1 {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 19px;
  color: #fff;
  background: linear-gradient(145deg, #0f2f75, #2457d6);
  box-shadow: 0 12px 26px rgba(30, 58, 138, 0.20);
  font-size: 22px;
}

.information-service-summary-copy-v1 {
  min-width: 0;
}

.information-service-summary-copy-v1 small,
.information-service-summary-copy-v1 strong,
.information-service-summary-copy-v1 > span {
  display: block;
}

.information-service-summary-copy-v1 small {
  margin-bottom: 4px;
  color: #2563eb;
  font-size: 9.5px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.information-service-summary-copy-v1 strong {
  color: #12203a;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -0.025em;
}

.information-service-summary-copy-v1 > span {
  margin-top: 5px;
  color: #697a91;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
}

.information-service-summary-meta-v1 {
  display: flex;
  align-items: center;
  gap: 7px;
}

.information-service-summary-meta-v1 > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid #dce8f8;
  border-radius: 999px;
  color: #385271;
  background: rgba(255, 255, 255, 0.85);
  font-size: 9.5px;
  line-height: 1;
  font-weight: 850;
  white-space: nowrap;
}

.information-service-summary-meta-v1 i {
  color: #2563eb;
}

.information-service-summary-action-v1 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 950;
}

.information-service-summary-action-v1 > i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #cfe0fa;
  border-radius: 13px;
  background: #edf5ff;
  transition:
    transform 0.22s ease,
    background 0.2s ease;
}

.information-service-accordion-v1[open] .information-service-summary-action-v1 > i {
  transform: rotate(180deg);
  background: #dfeeff;
}

.information-service-accordion-v1[open] .information-service-summary-action-label-v1 {
  font-size: 0;
}

.information-service-accordion-v1[open] .information-service-summary-action-label-v1::after {
  content: "Tutup";
  font-size: 10px;
}

.information-service-body-v1 {
  padding: 20px;
  background: #fbfdff;
  animation: informationServiceRevealV1 0.22s ease both;
}

@keyframes informationServiceRevealV1 {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lab-information-v1 {
  display: grid;
  gap: 22px;
}

.lab-information-hero-v1 {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border: 1px solid #dce8f8;
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 10%, rgba(96, 165, 250, 0.20), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
}

.lab-information-hero-v1::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -64px;
  width: 190px;
  height: 190px;
  border: 28px solid rgba(37, 99, 235, 0.055);
  border-radius: 999px;
  pointer-events: none;
}

.lab-information-hero-icon-v1 {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(145deg, #0f2f75, #2457d6);
  box-shadow: 0 16px 32px rgba(30, 58, 138, 0.22);
  font-size: 25px;
}

.lab-information-hero-copy-v1 {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.lab-information-eyebrow-v1 {
  display: block;
  margin-bottom: 5px;
  color: #2563eb;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lab-information-hero-copy-v1 h3 {
  margin: 0;
  color: #0f2f75;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.045em;
}

.lab-information-hero-copy-v1 p {
  max-width: 720px;
  margin: 8px 0 0;
  color: #52647b;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.lab-information-status-v1 {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  color: #166534;
  background: rgba(240, 253, 244, 0.92);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.lab-information-facts-v1 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.lab-information-fact-v1 {
  position: relative;
  min-width: 0;
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid #e2eaf4;
  border-radius: 20px;
  color: inherit;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
  text-decoration: none;
}

.lab-information-fact-v1 > span {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #1d4ed8;
  background: #eaf2ff;
  font-size: 15px;
}

.lab-information-fact-v1 > div {
  min-width: 0;
}

.lab-information-fact-v1 small,
.lab-information-fact-v1 strong {
  display: block;
}

.lab-information-fact-v1 small {
  margin-bottom: 4px;
  color: #74839a;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lab-information-fact-v1 strong {
  overflow-wrap: anywhere;
  color: #17223a;
  font-size: 12px;
  line-height: 1.38;
  font-weight: 900;
}

.lab-information-fact-v1.is-link-v1 {
  padding-right: 38px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.lab-information-fact-v1.is-link-v1:hover {
  transform: translateY(-2px);
  border-color: #bfdbfe;
  box-shadow: 0 16px 32px rgba(30, 58, 138, 0.10);
}

.lab-information-fact-v1.is-link-v1:nth-child(3) > span {
  color: #15803d;
  background: #ecfdf3;
}

.lab-information-link-arrow-v1 {
  position: absolute;
  top: 14px;
  right: 14px;
  color: #9aa9bd;
  font-size: 10px;
}

.lab-information-section-head-v1 {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 2px 2px 0;
}

.lab-information-section-head-v1 span {
  display: block;
  margin-bottom: 3px;
  color: #2563eb;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lab-information-section-head-v1 h4 {
  margin: 0;
  color: #12203a;
  font-size: 21px;
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.035em;
}

.lab-information-section-head-v1 p {
  margin: 0;
  color: #6b7a90;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 800;
}

.lab-information-section-head-v1 p i {
  margin-right: 5px;
  color: #2563eb;
}

.lab-information-grid-v1 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.lab-information-card-v1 {
  overflow: hidden;
  border: 1px solid #dfe8f3;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.075);
}

.lab-information-image-button-v1 {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: #eef3f8;
  cursor: zoom-in;
}

.lab-information-image-button-v1 img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1491 / 1055;
  object-fit: contain;
  background: #fff;
  transition: transform 0.25s ease;
}

.lab-information-image-button-v1:hover img {
  transform: scale(1.015);
}

.lab-information-zoom-badge-v1 {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 47, 117, 0.88);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.20);
  backdrop-filter: blur(12px);
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
}

.lab-information-card-copy-v1 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 15px 16px 17px;
}

.lab-information-page-v1 {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, #0f2f75, #2457d6);
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.lab-information-card-copy-v1 h4 {
  margin: 0;
  color: #17223a;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 950;
}

.lab-information-card-copy-v1 p {
  margin: 4px 0 0;
  color: #6b7a90;
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 700;
}

.lab-information-card-open-v1 {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #dbeafe;
  border-radius: 13px;
  color: #1d4ed8;
  background: #eff6ff;
  cursor: pointer;
}

.lab-information-note-v1 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border: 1px solid #fde68a;
  border-radius: 20px;
  background: #fffbeb;
}

.lab-information-note-v1 > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #92400e;
  background: #fef3c7;
}

.lab-information-note-v1 p {
  margin: 0;
  color: #713f12;
  font-size: 11.5px;
  line-height: 1.5;
  font-weight: 800;
}

.lab-information-note-actions-v1 {
  display: flex;
  gap: 8px;
}

.lab-information-note-actions-v1 a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid #d6e3f3;
  border-radius: 12px;
  color: #17418f;
  background: #fff;
  font-size: 10.5px;
  font-weight: 900;
  text-decoration: none;
}

.lab-information-note-actions-v1 a.is-whatsapp-v1 {
  border-color: #bbf7d0;
  color: #166534;
  background: #f0fdf4;
}

body.medika-lab-viewer-open-v1 {
  overflow: hidden !important;
}

.lab-image-viewer-v1 {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  color: #fff;
  background: rgba(3, 12, 28, 0.98);
  outline: none;
}

.lab-image-viewer-toolbar-v1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 27, 61, 0.96);
}

.lab-image-viewer-title-v1 {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}

.lab-image-viewer-title-v1 > span {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #2457d6;
  font-size: 10px;
  font-weight: 950;
}

.lab-image-viewer-title-v1 small,
.lab-image-viewer-title-v1 strong {
  display: block;
}

.lab-image-viewer-title-v1 small {
  margin-bottom: 3px;
  color: #9fc1f3;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lab-image-viewer-title-v1 strong {
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lab-image-viewer-controls-v1 {
  display: flex;
  align-items: center;
  gap: 7px;
}

.lab-image-viewer-controls-v1 button {
  min-width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.lab-image-viewer-controls-v1 button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.lab-image-viewer-controls-v1 .lab-image-viewer-zoom-label-v1 {
  min-width: 60px;
  font-size: 10px;
}

.lab-image-viewer-controls-v1 .lab-image-viewer-close-v1 {
  margin-left: 5px;
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(220, 38, 38, 0.22);
}

.lab-image-viewer-stage-v1 {
  overflow: auto;
  display: block;
  padding: 22px;
  text-align: center;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y pinch-zoom;
}

.lab-image-viewer-stage-v1 img {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  margin: 0 auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  user-select: none;
}

.lab-image-viewer-hint-v1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: #acc0dc;
  background: #071a38;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 1080px) {
  .information-service-summary-v1 {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .information-service-summary-meta-v1 {
    display: none;
  }

  .lab-information-facts-v1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .information-service-accordion-v1 {
    border-radius: 20px;
  }

  .information-service-summary-v1 {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 92px;
    padding: 14px;
  }

  .information-service-summary-icon-v1 {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 18px;
  }

  .information-service-summary-copy-v1 strong {
    font-size: 16px;
  }

  .information-service-summary-copy-v1 > span {
    overflow: hidden;
    max-width: 100%;
    margin-top: 3px;
    font-size: 9.5px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .information-service-summary-action-label-v1 {
    display: none;
  }

  .information-service-summary-action-v1 > i {
    width: 34px;
    height: 34px;
    border-radius: 12px;
  }

  .information-service-body-v1 {
    padding: 12px;
  }

  .lab-information-v1 {
    gap: 15px;
  }

  .lab-information-hero-v1 {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 13px;
    padding: 17px;
    border-radius: 21px;
  }

  .lab-information-hero-icon-v1 {
    width: 50px;
    height: 50px;
    border-radius: 17px;
    font-size: 19px;
  }

  .lab-information-hero-copy-v1 h3 {
    font-size: 23px;
  }

  .lab-information-hero-copy-v1 p {
    font-size: 11px;
  }

  .lab-information-status-v1 {
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: -2px;
    padding: 7px 10px;
    font-size: 9px;
  }

  .lab-information-facts-v1 {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .lab-information-fact-v1 {
    min-height: 72px;
    padding: 12px;
    border-radius: 17px;
  }

  .lab-information-fact-v1 strong {
    font-size: 11.5px;
  }

  .lab-information-section-head-v1 {
    display: block;
  }

  .lab-information-section-head-v1 h4 {
    font-size: 18px;
  }

  .lab-information-section-head-v1 p {
    margin-top: 6px;
  }

  .lab-information-grid-v1 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lab-information-card-v1 {
    border-radius: 19px;
  }

  .lab-information-zoom-badge-v1 {
    right: 8px;
    bottom: 8px;
    padding: 7px 9px;
    font-size: 9px;
  }

  .lab-information-card-copy-v1 {
    padding: 12px;
  }

  .lab-information-page-v1 {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .lab-information-note-v1 {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 13px;
    border-radius: 17px;
  }

  .lab-information-note-actions-v1 {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lab-image-viewer-toolbar-v1 {
    align-items: flex-start;
    padding: 9px 10px;
  }

  .lab-image-viewer-title-v1 > span {
    display: none;
  }

  .lab-image-viewer-title-v1 small {
    font-size: 8px;
  }

  .lab-image-viewer-title-v1 strong {
    max-width: 125px;
    font-size: 11px;
  }

  .lab-image-viewer-controls-v1 {
    gap: 4px;
  }

  .lab-image-viewer-controls-v1 button {
    min-width: 35px;
    width: 35px;
    height: 35px;
    padding: 0;
    border-radius: 10px;
  }

  .lab-image-viewer-controls-v1 .lab-image-viewer-zoom-label-v1 {
    min-width: 46px;
    width: 46px;
    font-size: 9px;
  }

  .lab-image-viewer-reset-v1 {
    display: none !important;
  }

  .lab-image-viewer-stage-v1 {
    padding: 10px;
  }

  .lab-image-viewer-stage-v1 img {
    border-radius: 6px;
  }

  .lab-image-viewer-hint-v1 {
    font-size: 9px;
  }
}

/* =========================================================
   INFORMASI — KANAL PENGADUAN V1
   ========================================================= */

.complaint-channel-summary-icon-v1 {
  background: linear-gradient(145deg, #9a3412, #ea580c);
  box-shadow: 0 12px 26px rgba(194, 65, 12, 0.22);
}

.complaint-channel-information-body-v1 {
  background:
    radial-gradient(circle at 100% 0%, rgba(234, 88, 12, 0.055), transparent 30%),
    #fbfdff;
}

.complaint-channel-information-v1 {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.complaint-channel-intro-v1 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 17px 18px;
  border: 1px solid #e4eaf2;
  border-radius: 19px;
  background: #fff;
}

.complaint-channel-intro-v1 > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #c2410c;
  background: #fff1e8;
  font-size: 18px;
}

.complaint-channel-intro-v1 small,
.complaint-channel-intro-v1 strong {
  display: block;
}

.complaint-channel-intro-v1 small {
  margin-bottom: 3px;
  color: #c2410c;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.complaint-channel-intro-v1 strong {
  color: #17233b;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 950;
  letter-spacing: -0.018em;
}

.complaint-channel-intro-v1 p {
  margin: 5px 0 0;
  color: #687990;
  font-size: 11px;
  line-height: 1.55;
  font-weight: 650;
}

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

.complaint-channel-card-v1 {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-height: 176px;
  padding: 18px;
  border: 1px solid #dfe7f1;
  border-radius: 21px;
  color: inherit;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 9px 24px rgba(15, 23, 42, 0.045);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.complaint-channel-card-v1::after {
  content: "";
  position: absolute;
  top: -48px;
  right: -44px;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  opacity: 0.58;
  pointer-events: none;
}

.complaint-channel-card-v1:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.085);
}

.complaint-channel-card-v1:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.26);
  outline-offset: 2px;
}

.complaint-channel-card-v1.is-wbs-v1:hover {
  border-color: #fdba74;
}

.complaint-channel-card-v1.is-wbs-v1::after {
  background: #ffedd5;
}

.complaint-channel-card-v1.is-whatsapp-v1:hover {
  border-color: #86efac;
}

.complaint-channel-card-v1.is-whatsapp-v1::after {
  background: #dcfce7;
}

.complaint-channel-card-icon-v1 {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  font-size: 21px;
}

.is-wbs-v1 .complaint-channel-card-icon-v1 {
  background: linear-gradient(145deg, #9a3412, #ea580c);
  box-shadow: 0 10px 22px rgba(194, 65, 12, 0.20);
}

.is-whatsapp-v1 .complaint-channel-card-icon-v1 {
  background: linear-gradient(145deg, #15803d, #22c55e);
  box-shadow: 0 10px 22px rgba(22, 163, 74, 0.20);
}

.complaint-channel-card-copy-v1 {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.complaint-channel-card-copy-v1 small,
.complaint-channel-card-copy-v1 strong,
.complaint-channel-card-copy-v1 > span {
  display: block;
}

.complaint-channel-card-copy-v1 small {
  margin-bottom: 4px;
  color: #66758b;
  font-size: 8.5px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.complaint-channel-card-copy-v1 strong {
  color: #17233b;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 950;
}

.complaint-channel-card-copy-v1 > span {
  overflow: hidden;
  margin-top: 4px;
  color: #435a76;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.complaint-channel-card-copy-v1 p {
  margin: 8px 0 0;
  color: #708096;
  font-size: 10.5px;
  line-height: 1.55;
  font-weight: 650;
}

.complaint-channel-card-action-v1 {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  margin-top: auto;
  padding: 0 12px;
  border-radius: 11px;
  font-size: 9.5px;
  font-weight: 950;
}

.is-wbs-v1 .complaint-channel-card-action-v1 {
  color: #9a3412;
  background: #fff1e8;
}

.is-whatsapp-v1 .complaint-channel-card-action-v1 {
  color: #15803d;
  background: #e9fbea;
}

.complaint-channel-note-v1 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #dbe7f4;
  border-radius: 15px;
  color: #53657c;
  background: #f5f9fe;
}

.complaint-channel-note-v1 i {
  margin-top: 2px;
  color: #2563eb;
}

.complaint-channel-note-v1 p {
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 700;
}

@media (max-width: 720px) {
  .complaint-channel-information-v1 {
    gap: 11px;
  }

  .complaint-channel-intro-v1 {
    gap: 11px;
    padding: 13px;
    border-radius: 17px;
  }

  .complaint-channel-intro-v1 > span {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 17px;
  }

  .complaint-channel-intro-v1 strong {
    font-size: 14px;
  }

  .complaint-channel-intro-v1 p {
    font-size: 9.5px;
  }

  .complaint-channel-grid-v1 {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .complaint-channel-card-v1 {
    min-height: 0;
    gap: 11px;
    padding: 14px;
    border-radius: 18px;
  }

  .complaint-channel-card-icon-v1 {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    font-size: 19px;
  }

  .complaint-channel-card-copy-v1 strong {
    font-size: 13.5px;
  }

  .complaint-channel-card-copy-v1 p {
    font-size: 9.5px;
  }

  .complaint-channel-card-action-v1 {
    min-height: 32px;
    font-size: 9px;
  }

  .complaint-channel-note-v1 {
    padding: 11px 12px;
    border-radius: 14px;
  }

  .complaint-channel-note-v1 p {
    font-size: 9px;
  }
}

/* =========================================================
   INFORMASI — POLIKLINIK & JADWAL DOKTER V1
   ========================================================= */

.doctor-schedule-summary-icon-v1 {
  background: linear-gradient(145deg, #0b5f71, #0ea5a8);
  box-shadow: 0 12px 26px rgba(8, 112, 127, 0.22);
}

.doctor-schedule-information-body-v1 {
  background:
    radial-gradient(circle at 100% 0%, rgba(14, 165, 168, 0.055), transparent 28%),
    #fbfdff;
}

.doctor-schedule-information-v1,
.doctor-schedule-root-v1 {
  min-width: 0;
}

.doctor-schedule-root-v1 {
  display: grid;
  gap: 18px;
}

.doctor-schedule-loading-v1,
.doctor-schedule-error-v1 {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 24px;
  border: 1px solid #dce7f2;
  border-radius: 22px;
  background: #fff;
  text-align: left;
}

.doctor-schedule-loading-v1 > span,
.doctor-schedule-error-v1 > span {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(145deg, #0b5f71, #0ea5a8);
  box-shadow: 0 12px 24px rgba(8, 112, 127, 0.18);
}

.doctor-schedule-loading-v1 strong,
.doctor-schedule-error-v1 strong {
  display: block;
  color: #14213a;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 950;
}

.doctor-schedule-loading-v1 p,
.doctor-schedule-error-v1 p {
  margin: 5px 0 0;
  color: #687a91;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 700;
}

.doctor-schedule-error-v1 {
  justify-content: flex-start;
  border-color: #fecaca;
  background: #fffafa;
}

.doctor-schedule-error-v1 > span {
  color: #b91c1c;
  background: #fee2e2;
  box-shadow: none;
}

.doctor-schedule-error-v1 > div {
  min-width: 0;
  flex: 1;
}

.doctor-schedule-error-v1 button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid #fecaca;
  border-radius: 12px;
  color: #991b1b;
  background: #fff;
  cursor: pointer;
  font-size: 10.5px;
  font-weight: 900;
}

.doctor-schedule-audit-v1 {
  display: grid;
  gap: 10px;
}

.doctor-schedule-period-v2 {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  border: 1px solid #e0e8f2;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.035);
}

.doctor-schedule-period-v2 > span {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #1d4ed8;
  background: #eaf2ff;
  font-size: 13px;
}

.doctor-schedule-period-v2 > strong {
  color: #17223a;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 950;
}

.doctor-schedule-period-notice-v1 {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid #fcd34d;
  border-radius: 16px;
  color: #78350f;
  background: #fffbeb;
}

.doctor-schedule-period-notice-v1 > i {
  flex: 0 0 auto;
  color: #d97706;
}

.doctor-schedule-period-notice-v1 p {
  margin: 0;
  font-size: 11px;
  line-height: 1.5;
  font-weight: 750;
}

.doctor-schedule-period-notice-v1 strong {
  margin-right: 5px;
  font-weight: 950;
}

.doctor-schedule-audit-grid-v1 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.doctor-schedule-audit-item-v1 {
  min-width: 0;
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid #e0e9f3;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.035);
}

.doctor-schedule-audit-item-v1 > span {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #1d4ed8;
  background: #eaf2ff;
  font-size: 14px;
}

.doctor-schedule-audit-item-v1.is-valid-v1 > span {
  color: #15803d;
  background: #ecfdf3;
}

.doctor-schedule-audit-item-v1 > div {
  min-width: 0;
}

.doctor-schedule-audit-item-v1 small,
.doctor-schedule-audit-item-v1 strong {
  display: block;
}

.doctor-schedule-audit-item-v1 small {
  margin-bottom: 4px;
  color: #76869b;
  font-size: 8.5px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.doctor-schedule-audit-item-v1 strong {
  overflow-wrap: anywhere;
  color: #17223a;
  font-size: 10.5px;
  line-height: 1.38;
  font-weight: 900;
}

.doctor-schedule-step-v1 {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e0e8f2;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.doctor-schedule-step-heading-v1 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.doctor-schedule-step-heading-v1 > span {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #0f2f75, #2457d6);
  font-size: 11px;
  font-weight: 950;
}

.doctor-schedule-step-heading-v1 small,
.doctor-schedule-step-heading-v1 strong {
  display: block;
}

.doctor-schedule-step-heading-v1 small {
  margin-bottom: 2px;
  color: #72839a;
  font-size: 8.5px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.doctor-schedule-step-heading-v1 strong {
  color: #16233b;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 950;
}

.doctor-schedule-service-tabs-v1 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.doctor-schedule-service-tab-v1 {
  min-width: 0;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid #dce6f1;
  border-radius: 16px;
  color: #40536c;
  background: #f8fafc;
  cursor: pointer;
  text-align: left;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.doctor-schedule-service-tab-v1:hover {
  transform: translateY(-1px);
  border-color: #bdd3ef;
  background: #f3f8ff;
}

.doctor-schedule-service-tab-v1 > span {
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #1d4ed8;
  background: #eaf2ff;
}

.doctor-schedule-service-tab-v1 > div {
  min-width: 0;
}

.doctor-schedule-service-tab-v1 strong,
.doctor-schedule-service-tab-v1 small {
  display: block;
}

.doctor-schedule-service-tab-v1 strong {
  color: #24344d;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 950;
}

.doctor-schedule-service-tab-v1 small {
  margin-top: 4px;
  color: #7a899d;
  font-size: 8.5px;
  line-height: 1.2;
  font-weight: 800;
}

.doctor-schedule-service-tab-v1.is-active-v1 {
  border-color: #86b7f4;
  color: #fff;
  background:
    radial-gradient(circle at 96% 0%, rgba(255, 255, 255, 0.14), transparent 35%),
    linear-gradient(145deg, #0f2f75, #2457d6);
  box-shadow: 0 10px 22px rgba(30, 58, 138, 0.17);
}

.doctor-schedule-service-tab-v1.is-active-v1 > span {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.doctor-schedule-service-tab-v1.is-active-v1 strong,
.doctor-schedule-service-tab-v1.is-active-v1 small {
  color: #fff;
}

.doctor-schedule-group-tabs-v1 {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 1px 1px 4px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.doctor-schedule-group-tab-v1 {
  min-width: max-content;
  min-height: 40px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid #dce6f1;
  border-radius: 999px;
  color: #41546d;
  background: #fff;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  font-size: 9.5px;
  line-height: 1.25;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.025);
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.doctor-schedule-group-tab-v1:hover {
  border-color: #b9d7e2;
  color: #0d6872;
  background: #f3fbfb;
}

.doctor-schedule-group-tab-v1.is-active-v1 {
  border-color: #0f8d96;
  color: #fff;
  background: linear-gradient(145deg, #087681, #0f9ba2);
  box-shadow: 0 7px 16px rgba(8, 118, 129, 0.17);
}

.doctor-schedule-group-tab-v1:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.doctor-schedule-results-step-v1 {
  gap: 14px;
}

.doctor-schedule-search-v1 {
  min-height: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 8px 0 14px;
  border: 1px solid #cfdceb;
  border-radius: 15px;
  background: #f8fafc;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.doctor-schedule-search-v1:focus-within {
  border-color: #60a5fa;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.10);
}

.doctor-schedule-search-v1 > i {
  color: #52708f;
}

.doctor-schedule-search-v1 input {
  min-width: 0;
  width: 100%;
  height: 46px;
  padding: 0;
  border: 0;
  outline: none;
  color: #17223a;
  background: transparent;
  font-family: inherit;
  font-size: 11px;
  font-weight: 750;
}

.doctor-schedule-search-v1 input::placeholder {
  color: #8a99ad;
}

.doctor-schedule-search-v1 button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 11px;
  color: #60748e;
  background: #eaf0f7;
  cursor: pointer;
}

.doctor-schedule-results-v1 {
  min-width: 0;
}

.doctor-schedule-results-heading-v1 {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  padding: 0 2px;
}

.doctor-schedule-results-heading-v1 strong,
.doctor-schedule-results-heading-v1 span {
  display: block;
}

.doctor-schedule-results-heading-v1 strong {
  color: #17223a;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 950;
}

.doctor-schedule-results-heading-v1 span,
.doctor-schedule-results-heading-v1 small {
  margin-top: 3px;
  color: #74849a;
  font-size: 8.5px;
  line-height: 1.35;
  font-weight: 800;
}

.doctor-schedule-results-heading-v1 small i {
  margin-right: 4px;
  color: #2563eb;
}

.doctor-schedule-polyclinic-list-v1 {
  display: grid;
  gap: 9px;
}

.doctor-schedule-polyclinic-v1 {
  overflow: hidden;
  border: 1px solid #dfe8f2;
  border-radius: 17px;
  background: #fff;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.doctor-schedule-polyclinic-v1[open] {
  border-color: #a9c8ef;
  box-shadow: 0 12px 28px rgba(30, 58, 138, 0.075);
}

.doctor-schedule-polyclinic-v1:not([open]) >
.doctor-schedule-polyclinic-body-v1 {
  display: none !important;
}

.doctor-schedule-polyclinic-v1 > summary {
  min-height: 70px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  list-style: none;
  cursor: pointer;
  user-select: none;
  background: #fff;
}

.doctor-schedule-polyclinic-v1 > summary::-webkit-details-marker {
  display: none;
}

.doctor-schedule-polyclinic-v1[open] > summary {
  border-bottom: 1px solid #e4ebf4;
  background: #f7faff;
}

.doctor-schedule-polyclinic-icon-v1 {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #0d7882;
  background: #e7f8f8;
  font-size: 15px;
}

.doctor-schedule-polyclinic-copy-v1 {
  min-width: 0;
}

.doctor-schedule-polyclinic-copy-v1 small,
.doctor-schedule-polyclinic-copy-v1 strong,
.doctor-schedule-polyclinic-copy-v1 > span {
  display: block;
}

.doctor-schedule-polyclinic-copy-v1 small {
  margin-bottom: 3px;
  color: #2672ba;
  font-size: 7.5px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.doctor-schedule-polyclinic-copy-v1 strong {
  color: #17223a;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 950;
}

.doctor-schedule-polyclinic-copy-v1 > span {
  margin-top: 4px;
  color: #7a899d;
  font-size: 8.5px;
  line-height: 1.2;
  font-weight: 800;
}

.doctor-schedule-polyclinic-flags-v1 {
  display: flex;
  align-items: center;
  gap: 5px;
}

.doctor-schedule-polyclinic-flags-v1 em {
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 7.5px;
  line-height: 1;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.doctor-schedule-polyclinic-flags-v1 em.is-change-v1 {
  color: #92400e;
  background: #fef3c7;
}

.doctor-schedule-polyclinic-flags-v1 em.is-closed-v1 {
  color: #991b1b;
  background: #fee2e2;
}

.doctor-schedule-polyclinic-chevron-v1 {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #3565a3;
  background: #edf4fc;
  transition: transform 0.2s ease;
}

.doctor-schedule-polyclinic-v1[open]
.doctor-schedule-polyclinic-chevron-v1 {
  transform: rotate(180deg);
}

.doctor-schedule-polyclinic-body-v1 {
  display: grid;
  gap: 9px;
  padding: 10px;
  background: #f8fafc;
}

.doctor-schedule-item-v1 {
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) minmax(160px, 0.8fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e0e8f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.035);
}

.doctor-schedule-item-v1.is-closed-v1 {
  border-color: #fecaca;
  background: #fffafa;
  box-shadow: 0 6px 18px rgba(185, 28, 28, 0.035);
}

.doctor-schedule-doctor-v1 {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.doctor-schedule-doctor-v1 > span {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #1d4ed8;
  background: #eaf2ff;
}

.doctor-schedule-doctor-v1 > div {
  min-width: 0;
}

.doctor-schedule-doctor-v1 small,
.doctor-schedule-doctor-v1 strong {
  display: block;
}

.doctor-schedule-doctor-v1 small {
  margin-bottom: 3px;
  color: #7d8da1;
  font-size: 7.5px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.doctor-schedule-doctor-v1 strong {
  overflow-wrap: anywhere;
  color: #14213a;
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 950;
}

.doctor-schedule-when-v1 {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.doctor-schedule-when-v1 > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #425670;
  font-size: 9px;
  line-height: 1.3;
  font-weight: 850;
}

.doctor-schedule-when-v1 i {
  width: 14px;
  color: #2672ba;
  text-align: center;
}

.doctor-schedule-badges-v1 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  flex-wrap: wrap;
}

.doctor-schedule-status-v1,
.doctor-schedule-change-v1,
.doctor-schedule-special-v1 {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 27px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 7.5px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}

.doctor-schedule-status-v1.is-active-v1 {
  display: none;
}

.doctor-schedule-status-v1.is-closed-v1 {
  color: #991b1b;
  background: #fee2e2;
}

.doctor-schedule-change-v1 {
  color: #92400e;
  background: #fef3c7;
}

.doctor-schedule-special-v1 {
  color: #5b21b6;
  background: #ede9fe;
}

.doctor-schedule-note-v1 {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 9px 10px;
  border: 1px solid #e3e9f1;
  border-radius: 10px;
  color: #52647b;
  background: #f8fafc;
  font-size: 8.5px;
  line-height: 1.45;
  font-weight: 750;
}

.doctor-schedule-note-v1 i {
  margin-top: 2px;
  color: #64748b;
}

.doctor-schedule-source-v1 {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px dashed #dce4ed;
  color: #7d8ca0;
  font-size: 7.5px;
  line-height: 1.3;
  font-weight: 800;
}

.doctor-schedule-source-v1 > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.doctor-schedule-source-v1 > span:last-child {
  color: #15803d;
  font-weight: 950;
}

.doctor-schedule-empty-v1 {
  min-height: 140px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 20px;
  border: 1px dashed #cad8e7;
  border-radius: 16px;
  background: #f8fafc;
  text-align: center;
}

.doctor-schedule-empty-v1 > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #52708f;
  background: #eaf0f7;
}

.doctor-schedule-empty-v1 strong {
  color: #26364e;
  font-size: 11px;
  font-weight: 950;
}

.doctor-schedule-empty-v1 p {
  max-width: 520px;
  margin: 0;
  color: #718096;
  font-size: 9px;
  line-height: 1.45;
  font-weight: 750;
}

.doctor-schedule-disclaimer-v1 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #fde68a;
  border-radius: 18px;
  background: #fffbeb;
}

.doctor-schedule-disclaimer-v1 > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #92400e;
  background: #fef3c7;
}

.doctor-schedule-disclaimer-v1 strong,
.doctor-schedule-disclaimer-v1 p {
  display: block;
}

.doctor-schedule-disclaimer-v1 strong {
  color: #713f12;
  font-size: 10.5px;
  line-height: 1.25;
  font-weight: 950;
}

.doctor-schedule-disclaimer-v1 p {
  margin: 4px 0 0;
  color: #854d0e;
  font-size: 8.5px;
  line-height: 1.45;
  font-weight: 750;
}

.doctor-schedule-disclaimer-v1 > a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  color: #166534;
  background: #f0fdf4;
  font-size: 9px;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .doctor-schedule-audit-grid-v1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doctor-schedule-item-v1 {
    grid-template-columns: minmax(200px, 1.2fr) minmax(150px, 0.8fr);
  }

  .doctor-schedule-badges-v1 {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .doctor-schedule-information-body-v1 {
    padding: 12px;
  }

  .doctor-schedule-root-v1 {
    gap: 12px;
  }

  .doctor-schedule-loading-v1,
  .doctor-schedule-error-v1 {
    min-height: 130px;
    padding: 16px;
    border-radius: 17px;
  }

  .doctor-schedule-error-v1 {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .doctor-schedule-error-v1 button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .doctor-schedule-period-notice-v1 {
    align-items: flex-start;
    padding: 11px 12px;
    border-radius: 14px;
  }

  .doctor-schedule-period-notice-v1 p {
    font-size: 9.5px;
  }

  .doctor-schedule-period-v2 {
    min-height: 50px;
    padding: 9px 11px;
    border-radius: 14px;
  }

  .doctor-schedule-period-v2 > span {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 12px;
  }

  .doctor-schedule-period-v2 > strong {
    font-size: 10.5px;
  }

  .doctor-schedule-step-v1 {
    gap: 10px;
    padding: 12px;
    border-radius: 17px;
  }

  .doctor-schedule-step-heading-v1 > span {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    font-size: 10px;
  }

  .doctor-schedule-step-heading-v1 strong {
    font-size: 11px;
  }

  .doctor-schedule-service-tabs-v1 {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .doctor-schedule-service-tab-v1 {
    min-height: 58px;
    padding: 9px 10px;
    border-radius: 14px;
  }

  .doctor-schedule-service-tab-v1 > span {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .doctor-schedule-service-tab-v1 strong {
    font-size: 10px;
  }

  .doctor-schedule-group-tab-v1 {
    min-width: max-content;
    min-height: 38px;
    padding: 0 13px;
    font-size: 9px;
  }

  .doctor-schedule-search-v1 {
    min-height: 45px;
    border-radius: 13px;
  }

  .doctor-schedule-search-v1 input {
    height: 43px;
    font-size: 10px;
  }

  .doctor-schedule-results-heading-v1 {
    align-items: flex-start;
  }

  .doctor-schedule-results-heading-v1 > small {
    display: none;
  }

  .doctor-schedule-polyclinic-v1 {
    border-radius: 15px;
  }

  .doctor-schedule-polyclinic-v1 > summary {
    min-height: 66px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 9px;
    padding: 10px;
  }

  .doctor-schedule-polyclinic-icon-v1 {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 13px;
  }

  .doctor-schedule-polyclinic-copy-v1 strong {
    font-size: 10.5px;
  }

  .doctor-schedule-polyclinic-flags-v1 {
    display: none;
  }

  .doctor-schedule-polyclinic-chevron-v1 {
    width: 30px;
    height: 30px;
  }

  .doctor-schedule-polyclinic-body-v1 {
    gap: 7px;
    padding: 7px;
  }

  .doctor-schedule-item-v1 {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
  }

  .doctor-schedule-doctor-v1 strong {
    font-size: 10px;
  }

  .doctor-schedule-badges-v1,
  .doctor-schedule-note-v1,
  .doctor-schedule-source-v1 {
    grid-column: 1;
  }

  .doctor-schedule-badges-v1 {
    justify-content: flex-start;
  }

  .doctor-schedule-source-v1 {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .doctor-schedule-disclaimer-v1 {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: flex-start;
    padding: 12px;
    border-radius: 15px;
  }

  .doctor-schedule-disclaimer-v1 > a {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 390px) {
  .doctor-schedule-group-tab-v1 {
    min-width: max-content;
  }
}

/* =========================================================
   LABORATORIUM — LAZY ASSET V4
   Gambar dimuat saat accordion dibuka, bukan pada HTML awal.
   ========================================================= */

.lab-information-image-button-v1 {
  position: relative;
}

.lab-information-card-v1.is-loading-v4
  .lab-information-image-button-v1,
.lab-information-card-v1.is-error-v4
  .lab-information-image-button-v1 {
  min-height: 220px;
  background:
    radial-gradient(circle at 20% 18%, rgba(38, 109, 211, 0.13), transparent 34%),
    linear-gradient(145deg, #f7fbff, #edf4fb);
}

.lab-information-card-v1.is-loading-v4
  .lab-information-image-button-v1 img,
.lab-information-card-v1.is-error-v4
  .lab-information-image-button-v1 img {
  display: none;
}

.lab-information-image-loading-v4 {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  color: #1d4f91;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
}

.lab-information-image-loading-v4 > i {
  font-size: 1.3rem;
}

.lab-information-card-v1.is-loading-v4
  .lab-information-image-loading-v4,
.lab-information-card-v1.is-error-v4
  .lab-information-image-loading-v4 {
  display: flex;
}

.lab-information-card-v1.is-error-v4
  .lab-information-image-loading-v4 {
  color: #b4232b;
}

.lab-information-card-v1.is-loading-v4
  .lab-information-zoom-badge-v1,
.lab-information-card-v1.is-error-v4
  .lab-information-zoom-badge-v1 {
  display: none;
}

.lab-information-card-v1.is-ready-v4
  .lab-information-image-loading-v4 {
  display: none;
}

@media (max-width: 640px) {
  .lab-information-card-v1.is-loading-v4
    .lab-information-image-button-v1,
  .lab-information-card-v1.is-error-v4
    .lab-information-image-button-v1 {
    min-height: 168px;
  }
}

/* =========================================================
   JADWAL DOKTER MOBILE V13/V14
   FULL-SCREEN MASTER / DETAIL + COMPACT DOCTOR SCHEDULE
   Desktop tidak menggunakan blok ini.
   ========================================================= */

.doctor-mobile-root-v13 {
  display: none;
}

@media (max-width: 768px) {
  body.doctor-mobile-open-v13 {
    padding-bottom: 0 !important;
    overflow: hidden !important;
    overscroll-behavior: none;
    background: #f8fafc;
  }

  body.doctor-mobile-open-v13 #topHeader,
  body.doctor-mobile-open-v13 #bottomNav,
  body.doctor-mobile-open-v13 #mainFooter {
    display: none !important;
  }

  body.doctor-mobile-open-v13 #publicRoot,
  body.doctor-mobile-open-v13 #adminRoot {
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .doctor-mobile-root-v13.is-active-v13 {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: block;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    color: #17223a;
    background: #f8fafc;
    isolation: isolate;
  }

  .doctor-mobile-shell-v13 {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    height: 100%;
    min-height: 0;
    background:
      radial-gradient(
        circle at 88% -4%,
        rgba(15, 141, 150, 0.07),
        transparent 28%
      ),
      linear-gradient(180deg, #ffffff 0%, #f8fafc 30%);
  }

  .doctor-mobile-header-v13 {
    position: relative;
    z-index: 10;
    min-height: calc(62px + env(safe-area-inset-top));
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 9px;
    padding:
      calc(9px + env(safe-area-inset-top))
      11px
      9px;
    border-bottom: 1px solid #e3eaf2;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(18px);
  }

  .doctor-mobile-back-v13 {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid #dce6f1;
    border-radius: 14px;
    color: #175f68;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
    font-size: 15px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .doctor-mobile-back-v13:active {
    transform: scale(0.96);
  }

  .doctor-mobile-header-copy-v13 {
    min-width: 0;
  }

  .doctor-mobile-header-copy-v13 small,
  .doctor-mobile-header-copy-v13 strong {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .doctor-mobile-header-copy-v13 small {
    margin-bottom: 3px;
    color: #6f8095;
    font-size: 9px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .doctor-mobile-header-copy-v13 strong {
    color: #123d45;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 950;
    letter-spacing: -0.025em;
  }

  .doctor-mobile-header-mark-v13 {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #087681;
    background: #e9f8f8;
    font-size: 14px;
  }

  .doctor-mobile-scroll-v13 {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(8, 118, 129, 0.36) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .doctor-mobile-scroll-v13::-webkit-scrollbar {
    width: 4px;
  }

  .doctor-mobile-scroll-v13::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(8, 118, 129, 0.3);
  }

  .doctor-mobile-list-v13,
  .doctor-mobile-detail-v13 {
    width: 100%;
    max-width: 760px;
    min-height: 100%;
    margin: 0 auto;
    padding: 14px 12px calc(34px + env(safe-area-inset-bottom));
  }

  .doctor-mobile-notice-v13 {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    margin-bottom: 11px;
    padding: 11px 12px;
    border: 1px solid #f5d675;
    border-radius: 15px;
    color: #7a4910;
    background: #fffbeb;
  }

  .doctor-mobile-notice-v13 > i {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #fef3c7;
  }

  .doctor-mobile-notice-v13 p {
    margin: 1px 0 0;
    font-size: 10px;
    line-height: 1.5;
    font-weight: 750;
  }

  .doctor-mobile-finder-v13 {
    position: sticky;
    top: 0;
    z-index: 5;
    margin: 0 -12px 13px;
    padding: 11px 12px 10px;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    border-bottom: 1px solid rgba(218, 228, 238, 0.95);
    background: rgba(248, 250, 252, 0.97);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
    backdrop-filter: blur(16px);
  }

  .doctor-mobile-search-v13 {
    min-height: 48px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 34px;
    align-items: center;
    gap: 9px;
    padding: 0 7px 0 14px;
    border: 1px solid #cbd9e8;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.035);
  }

  .doctor-mobile-search-v13:focus-within {
    border-color: #37a3aa;
    box-shadow: 0 0 0 4px rgba(15, 141, 150, 0.1);
  }

  .doctor-mobile-search-v13 > i {
    color: #4f7084;
    font-size: 13px;
  }

  .doctor-mobile-search-v13 input {
    min-width: 0;
    width: 100%;
    height: 46px;
    padding: 0;
    border: 0;
    outline: none;
    color: #17223a;
    background: transparent;
    font-family: inherit;
    font-size: 12px;
    font-weight: 750;
  }

  .doctor-mobile-search-v13 input::placeholder {
    color: #8b9aac;
  }

  .doctor-mobile-search-v13 button {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 11px;
    color: #61778c;
    background: #eef3f7;
  }

  .doctor-mobile-filter-v13 {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 9px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .doctor-mobile-filter-v13::-webkit-scrollbar {
    display: none;
  }

  .doctor-mobile-filter-v13 button {
    min-width: max-content;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid #d9e3ec;
    border-radius: 999px;
    color: #536a7e;
    background: #ffffff;
    font-family: inherit;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }

  .doctor-mobile-filter-v13 button.is-active-v13 {
    border-color: #0f8d96;
    color: #ffffff;
    background: linear-gradient(145deg, #087681, #0f9ba2);
    box-shadow: 0 7px 16px rgba(8, 118, 129, 0.18);
  }

  .doctor-mobile-results-v13 {
    min-width: 0;
  }

  .doctor-mobile-results-head-v13 {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin: 0 2px 9px;
  }

  .doctor-mobile-results-head-v13 small,
  .doctor-mobile-results-head-v13 strong {
    display: block;
  }

  .doctor-mobile-results-head-v13 small {
    margin-bottom: 3px;
    color: #728398;
    font-size: 8px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .doctor-mobile-results-head-v13 strong {
    color: #1d2d43;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 950;
  }

  .doctor-mobile-results-head-v13 > span {
    color: #7b899b;
    font-size: 8px;
    line-height: 1.25;
    font-weight: 800;
    text-align: right;
  }

  .doctor-mobile-polyclinic-list-v13 {
    overflow: hidden;
    border: 1px solid #dde6ef;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  }

  .doctor-mobile-polyclinic-row-v13 {
    width: 100%;
    min-height: 78px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 12px;
    border: 0;
    border-bottom: 1px solid #edf1f5;
    color: inherit;
    background: #ffffff;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .doctor-mobile-polyclinic-row-v13:last-child {
    border-bottom: 0;
  }

  .doctor-mobile-polyclinic-row-v13:active {
    background: #f1fbfb;
  }

  .doctor-mobile-polyclinic-icon-v13 {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #087681;
    background: #e8f8f8;
    font-size: 14px;
  }

  .doctor-mobile-polyclinic-copy-v13 {
    min-width: 0;
  }

  .doctor-mobile-polyclinic-copy-v13 small,
  .doctor-mobile-polyclinic-copy-v13 strong,
  .doctor-mobile-polyclinic-copy-v13 > span {
    display: block;
  }

  .doctor-mobile-polyclinic-copy-v13 small {
    overflow: hidden;
    margin-bottom: 4px;
    color: #317292;
    font-size: 7.5px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0.035em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .doctor-mobile-polyclinic-copy-v13 strong {
    color: #17223a;
    font-size: 11.5px;
    line-height: 1.32;
    font-weight: 950;
    overflow-wrap: anywhere;
  }

  .doctor-mobile-polyclinic-copy-v13 > span {
    margin-top: 4px;
    color: #78889b;
    font-size: 8.5px;
    line-height: 1.2;
    font-weight: 800;
  }

  .doctor-mobile-polyclinic-side-v13 {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    color: #4e6f87;
  }

  .doctor-mobile-polyclinic-side-v13 em {
    display: inline-flex;
    min-height: 19px;
    align-items: center;
    padding: 0 6px;
    border-radius: 999px;
    font-size: 6.5px;
    line-height: 1;
    font-style: normal;
    font-weight: 950;
  }

  .doctor-mobile-polyclinic-side-v13 em.is-change-v13 {
    color: #92400e;
    background: #fef3c7;
  }

  .doctor-mobile-polyclinic-side-v13 em.is-closed-v13 {
    color: #991b1b;
    background: #fee2e2;
  }

  .doctor-mobile-polyclinic-side-v13 > i {
    margin-top: 2px;
    font-size: 11px;
  }

  .doctor-mobile-empty-v13 {
    min-height: 160px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 24px 18px;
    border: 1px dashed #cad7e5;
    border-radius: 18px;
    background: #ffffff;
    text-align: center;
  }

  .doctor-mobile-empty-v13 > span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #587287;
    background: #edf3f7;
  }

  .doctor-mobile-empty-v13 strong {
    color: #26364e;
    font-size: 12px;
    font-weight: 950;
  }

  .doctor-mobile-empty-v13 p {
    max-width: 300px;
    margin: 0;
    color: #718096;
    font-size: 10px;
    line-height: 1.5;
    font-weight: 700;
  }

  .doctor-mobile-disclaimer-v13 {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    margin-top: 14px;
    padding: 13px;
    border: 1px solid #f5db86;
    border-radius: 17px;
    background: #fffbeb;
  }

  .doctor-mobile-disclaimer-v13 > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #92400e;
    background: #fef3c7;
  }

  .doctor-mobile-disclaimer-v13 strong {
    display: block;
    color: #713f12;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 950;
  }

  .doctor-mobile-disclaimer-v13 p {
    margin: 4px 0 0;
    color: #854d0e;
    font-size: 9px;
    line-height: 1.5;
    font-weight: 700;
  }

  .doctor-mobile-disclaimer-v13 > a {
    grid-column: 1 / -1;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1px;
    border: 1px solid #a7e7ba;
    border-radius: 13px;
    color: #166534;
    background: #f0fdf4;
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
    text-decoration: none;
  }

  .doctor-mobile-detail-v13 {
    padding-top: 18px;
  }

  .doctor-mobile-detail-intro-v13 {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding: 0 2px 18px;
    border-bottom: 1px solid #dfe8ef;
  }

  .doctor-mobile-detail-intro-v13 > span {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #087681;
    background: #dff4f4;
    font-size: 16px;
  }

  .doctor-mobile-detail-intro-v13 small {
    display: block;
    margin: 1px 0 5px;
    color: #35768a;
    font-size: 8px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: 0.045em;
    text-transform: uppercase;
  }

  .doctor-mobile-detail-intro-v13 h1 {
    margin: 0;
    color: #17223a;
    font-size: clamp(19px, 5.7vw, 27px);
    line-height: 1.18;
    font-weight: 950;
    letter-spacing: -0.04em;
    overflow-wrap: anywhere;
  }

  .doctor-mobile-detail-intro-v13 p {
    margin: 7px 0 0;
    color: #6e7f93;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 800;
  }

  .doctor-mobile-detail-heading-v13 {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 2px 10px;
  }

  .doctor-mobile-detail-heading-v13 small,
  .doctor-mobile-detail-heading-v13 strong {
    display: block;
  }

  .doctor-mobile-detail-heading-v13 small {
    margin-bottom: 3px;
    color: #75869a;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .doctor-mobile-detail-heading-v13 strong {
    color: #1e2d43;
    font-size: 12px;
    font-weight: 950;
  }

  .doctor-mobile-detail-heading-v13 > span {
    max-width: 48%;
    overflow: hidden;
    padding: 6px 8px;
    border-radius: 999px;
    color: #5b4b8a;
    background: #f1edff;
    font-size: 7.5px;
    line-height: 1;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .doctor-mobile-schedule-list-v13 {
    overflow: hidden;
    border: 1px solid #dde6ef;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  }

  .doctor-mobile-schedule-row-v13 {
    display: grid;
    gap: 8px;
    padding: 13px 14px;
    border-bottom: 1px solid #edf1f5;
    background: #ffffff;
  }

  .doctor-mobile-schedule-row-v13:last-child {
    border-bottom: 0;
  }

  .doctor-mobile-schedule-row-v13.has-closed-v14 {
    background:
      linear-gradient(
        90deg,
        rgba(254, 226, 226, 0.2),
        transparent 42%
      ),
      #ffffff;
  }

  .doctor-mobile-doctor-v14 {
    min-width: 0;
    padding: 0 1px;
  }

  .doctor-mobile-doctor-v14 strong {
    display: block;
    color: #17223a;
    font-size: 11.5px;
    line-height: 1.42;
    font-weight: 950;
    overflow-wrap: anywhere;
  }

  .doctor-mobile-slot-list-v14 {
    display: grid;
    gap: 0;
  }

  .doctor-mobile-slot-v14 {
    display: grid;
    gap: 5px;
    padding: 7px 1px;
    border-top: 1px solid #edf1f5;
  }

  .doctor-mobile-slot-v14:first-child {
    border-top: 0;
  }

  .doctor-mobile-slot-v14.is-closed-v14 {
    color: #991b1b;
  }

  .doctor-mobile-slot-main-v14 {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 10px;
    color: #40566d;
    font-size: 9px;
    line-height: 1.42;
    font-weight: 850;
  }

  .doctor-mobile-slot-day-v14 {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .doctor-mobile-slot-time-v14 {
    color: #2672ba;
    font-weight: 900;
    white-space: nowrap;
  }

  .doctor-mobile-slot-v14.is-closed-v14
    .doctor-mobile-slot-time-v14 {
    color: #991b1b;
  }

  .doctor-mobile-badges-v13 {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
  }

  .doctor-mobile-badges-v13 em {
    min-height: 22px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 7.5px;
    line-height: 1;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
  }

  .doctor-mobile-badges-v13 em.is-closed-v13 {
    color: #991b1b;
    background: #fee2e2;
  }

  .doctor-mobile-badges-v13 em.is-change-v13 {
    color: #92400e;
    background: #fef3c7;
  }

  .doctor-mobile-badges-v13 em.is-special-v13 {
    color: #5b21b6;
    background: #ede9fe;
  }

  .doctor-mobile-note-v13 {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 7px;
    margin: 0;
    padding: 7px 8px;
    border: 1px solid #e3e9f1;
    border-radius: 11px;
    color: #52647b;
    background: #f8fafc;
    font-size: 9px;
    line-height: 1.5;
    font-weight: 700;
  }

  .doctor-mobile-note-v13 i {
    margin-top: 2px;
    color: #64748b;
  }

  .doctor-mobile-slot-badges-v14 {
    gap: 4px;
  }

  .doctor-mobile-state-v13 {
    min-height: 100%;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 9px;
    padding: 28px;
    text-align: center;
  }

  .doctor-mobile-state-v13 > span {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #087681;
    background: #e2f6f6;
    font-size: 19px;
  }

  .doctor-mobile-state-v13 strong {
    color: #203248;
    font-size: 14px;
    font-weight: 950;
  }

  .doctor-mobile-state-v13 p {
    max-width: 310px;
    margin: 0;
    color: #708196;
    font-size: 11px;
    line-height: 1.55;
    font-weight: 700;
  }

  .doctor-mobile-state-v13.is-error-v13 > span {
    color: #b4232b;
    background: #feecec;
  }

  .doctor-mobile-state-v13 > button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 5px;
    padding: 0 16px;
    border: 0;
    border-radius: 13px;
    color: #ffffff;
    background: #087681;
    font-family: inherit;
    font-size: 10px;
    font-weight: 950;
  }
}

@media (max-width: 380px) {
  .doctor-mobile-list-v13,
  .doctor-mobile-detail-v13 {
    padding-right: 9px;
    padding-left: 9px;
  }

  .doctor-mobile-finder-v13 {
    margin-right: -9px;
    margin-left: -9px;
    padding-right: 9px;
    padding-left: 9px;
  }

  .doctor-mobile-polyclinic-row-v13 {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 9px;
    padding: 11px 9px;
  }

  .doctor-mobile-polyclinic-icon-v13 {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .doctor-mobile-polyclinic-copy-v13 strong {
    font-size: 10.5px;
  }

  .doctor-mobile-slot-main-v14 {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .doctor-mobile-slot-time-v14 {
    white-space: normal;
  }

  .doctor-mobile-results-head-v13 > span {
    display: none;
  }
}

/* =========================================================
   RADIOLOGI — 8 ALAT V16
   Daftar ringkas + screen detail penuh + lazy image.
   ========================================================= */

.radiology-summary-icon-v15 {
  background:
    linear-gradient(145deg, #0d3978 0%, #1769c2 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 69, 139, 0.22);
}

.radiology-information-body-v15 {
  background:
    radial-gradient(circle at 100% 0%, rgba(59, 130, 246, 0.08), transparent 34%),
    #f8fbff;
}

.radiology-information-v15 {
  padding: 20px;
}

.radiology-section-head-v15 {
  margin-bottom: 14px;
}

.radiology-section-head-v15 span {
  display: block;
  margin-bottom: 4px;
  color: var(--medika-blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.radiology-section-head-v15 h4 {
  margin: 0;
  color: #102348;
  font-size: 18px;
  line-height: 1.35;
}

.radiology-equipment-list-v15 {
  overflow: hidden;
  border: 1px solid #dce7f4;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 47, 117, 0.06);
}

.radiology-equipment-row-v15 {
  width: 100%;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 0;
  border-bottom: 1px solid #e7edf5;
  text-align: left;
  color: inherit;
  background: transparent;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.radiology-equipment-row-v15:last-child {
  border-bottom: 0;
}

.radiology-equipment-row-v15:hover {
  background: #f5f9ff;
}

.radiology-equipment-row-v15:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid rgba(36, 87, 214, 0.24);
  outline-offset: -3px;
}

.radiology-equipment-icon-v15 {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #1454ad;
  background:
    linear-gradient(145deg, #e8f3ff 0%, #dcecff 100%);
  font-size: 18px;
}

.radiology-equipment-copy-v15 {
  min-width: 0;
  display: block;
}

.radiology-equipment-copy-v15 small,
.radiology-equipment-copy-v15 strong,
.radiology-equipment-copy-v15 > span {
  display: block;
}

.radiology-equipment-copy-v15 small {
  margin-bottom: 3px;
  color: #64748b;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.radiology-equipment-copy-v15 strong {
  color: #102348;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.radiology-equipment-copy-v15 > span {
  margin-top: 4px;
  color: #66758a;
  font-size: 11.5px;
  line-height: 1.55;
}

.radiology-equipment-action-v15 {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  justify-self: end;
  border-radius: 50%;
  color: #2457d6;
  background: #edf4ff;
  font-size: 11px;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.radiology-equipment-row-v15:hover .radiology-equipment-action-v15 {
  color: #fff;
  background: #2457d6;
  transform: translateX(2px);
}

body.medika-radiology-detail-open-v15 {
  overscroll-behavior: none;
}

.radiology-detail-screen-v15 {
  position: fixed;
  inset: 0;
  z-index: 1300;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: var(--medika-text);
  background:
    radial-gradient(circle at 5% 0%, rgba(37, 99, 235, 0.10), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #f3f7fc 100%);
}

.radiology-detail-screen-v15:focus {
  outline: none;
}

.radiology-detail-header-v15 {
  min-height: 70px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px max(20px, calc((100vw - 980px) / 2));
  border-bottom: 1px solid rgba(215, 226, 239, 0.92);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 9px 28px rgba(15, 23, 42, 0.045);
  backdrop-filter: blur(18px);
}

.radiology-detail-back-v15 {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #dce6f2;
  border-radius: 14px;
  color: #163f83;
  background: #f8fbff;
  font-size: 14px;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.radiology-detail-back-v15:hover {
  border-color: #bcd2ef;
  color: #fff;
  background: #174da8;
}

.radiology-detail-back-v15:focus-visible {
  outline: 3px solid rgba(36, 87, 214, 0.24);
  outline-offset: 2px;
}

.radiology-detail-header-v15 > div {
  min-width: 0;
}

.radiology-detail-header-v15 small,
.radiology-detail-header-v15 strong {
  display: block;
}

.radiology-detail-header-v15 small {
  margin-bottom: 2px;
  color: #718096;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.radiology-detail-header-v15 strong {
  color: #102348;
  font-size: 14px;
  line-height: 1.3;
}

.radiology-detail-main-v15 {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 20px 48px;
}

.radiology-detail-article-v15 {
  width: min(920px, 100%);
  margin: 0 auto;
}

.radiology-detail-figure-v15 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(195, 211, 231, 0.9);
  border-radius: 24px;
  background:
    linear-gradient(110deg, #edf3fa 8%, #f8fbff 18%, #edf3fa 33%);
  background-size: 220% 100%;
  box-shadow: 0 22px 58px rgba(15, 47, 117, 0.13);
}

.radiology-detail-figure-v15.is-loading-v15 {
  animation: radiologyImageShimmerV15 1.4s linear infinite;
}

@keyframes radiologyImageShimmerV15 {
  to { background-position-x: -220%; }
}

.radiology-detail-figure-v15 img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.24s ease;
}

.radiology-detail-figure-v15.is-ready-v15 img {
  opacity: 1;
}

.radiology-detail-image-state-v15 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  padding: 20px;
  color: #315178;
  background: rgba(245, 249, 254, 0.82);
  text-align: center;
  font-size: 12px;
  font-weight: 750;
}

.radiology-detail-figure-v15.is-ready-v15
  .radiology-detail-image-state-v15 {
  display: none;
}

.radiology-detail-figure-v15.is-error-v15
  .radiology-detail-image-state-v15 {
  color: #9f2f2f;
  background: #fff7f7;
}

.radiology-detail-image-state-v15 > i {
  font-size: 20px;
}

.radiology-detail-image-state-v15 button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
  padding: 9px 13px;
  border: 1px solid #f0caca;
  border-radius: 11px;
  color: #992f2f;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.radiology-detail-copy-v15 {
  margin-top: 28px;
  padding: 0 8px;
}

.radiology-detail-title-v15 {
  padding-bottom: 22px;
  border-bottom: 1px solid #dce6f2;
}

.radiology-detail-title-v15 > span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #1852a4;
  background: #e8f2ff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.radiology-detail-title-v15 h2 {
  margin: 10px 0 0;
  color: #0f2f75;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.22;
  letter-spacing: -0.025em;
}

.radiology-detail-section-v15 {
  padding: 24px 0;
  border-bottom: 1px solid #dce6f2;
}

.radiology-detail-section-v15:last-child {
  border-bottom: 0;
}

.radiology-detail-section-title-v15 {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 10px;
}

.radiology-detail-section-title-v15 > span {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #1f5cb5;
  background: #eaf3ff;
  font-size: 13px;
}

.radiology-detail-section-title-v15 h3 {
  margin: 0;
  color: #17345f;
  font-size: 17px;
  line-height: 1.35;
}

.radiology-detail-section-v15 p {
  margin: 0;
  color: #42526b;
  font-size: 15px;
  line-height: 1.82;
}

@media (max-width: 768px) {
  .radiology-information-v15 {
    padding: 15px 12px;
  }

  .radiology-section-head-v15 {
    padding: 0 2px;
  }

  .radiology-section-head-v15 h4 {
    font-size: 15px;
  }

  .radiology-equipment-list-v15 {
    border-radius: 17px;
    box-shadow: 0 8px 22px rgba(15, 47, 117, 0.055);
  }

  .radiology-equipment-row-v15 {
    grid-template-columns: 42px minmax(0, 1fr) 28px;
    gap: 11px;
    padding: 13px 12px;
  }

  .radiology-equipment-icon-v15 {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: 16px;
  }

  .radiology-equipment-copy-v15 strong {
    font-size: 12.5px;
  }

  .radiology-equipment-copy-v15 > span {
    font-size: 10.5px;
    line-height: 1.48;
  }

  .radiology-equipment-action-v15 {
    width: 28px;
    height: 28px;
  }

  .radiology-detail-header-v15 {
    min-height: 62px;
    padding: max(9px, env(safe-area-inset-top)) 12px 9px;
  }

  .radiology-detail-back-v15 {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .radiology-detail-main-v15 {
    padding: 0 0 calc(32px + env(safe-area-inset-bottom));
    background: #fff;
  }

  .radiology-detail-figure-v15 {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .radiology-detail-copy-v15 {
    margin-top: 0;
    padding: 22px 18px 0;
  }

  .radiology-detail-title-v15 {
    padding-bottom: 19px;
  }

  .radiology-detail-title-v15 h2 {
    margin-top: 9px;
    font-size: 24px;
  }

  .radiology-detail-section-v15 {
    padding: 20px 0;
  }

  .radiology-detail-section-title-v15 {
    gap: 10px;
    margin-bottom: 9px;
  }

  .radiology-detail-section-title-v15 > span {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 12px;
  }

  .radiology-detail-section-title-v15 h3 {
    font-size: 15px;
  }

  .radiology-detail-section-v15 p {
    color: #475569;
    font-size: 14px;
    line-height: 1.78;
  }
}

@media (max-width: 390px) {
  .radiology-equipment-copy-v15 > span {
    display: none;
  }

  .radiology-detail-copy-v15 {
    padding-right: 15px;
    padding-left: 15px;
  }

  .radiology-detail-title-v15 h2 {
    font-size: 22px;
  }
}
/* =========================================================
   MEDIKA V20 — DIRECT DOCTOR ANSWERS + FULL-PAGE SCHEDULE
   ========================================================= */

.medika-ai-hero-v19 {
  overflow: visible;
}

.medika-ai-hero-kicker-v19 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 18px;
  padding: 9px 14px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  color: #12377d;
  background: rgba(239, 246, 255, 0.94);
  box-shadow: 0 10px 24px rgba(15, 47, 117, 0.07);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.medika-ai-hero-kicker-v19 i {
  color: #2457d6;
}

.medika-ai-search-panel-v19 {
  width: min(980px, 100%);
  max-width: 980px;
}

.medika-ai-quick-menu-v19 {
  padding-top: 13px;
}

.medika-ai-topic-chip-v19 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
}

.medika-universal-results-v19 {
  width: min(900px, calc(100% - 20px));
  max-height: min(500px, 62vh);
  padding: 12px;
}

.medika-search-status-v19 {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px;
  color: #334155;
}

.medika-search-status-v19 > span {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #1d4ed8;
  background: #eff6ff;
}

.medika-search-status-v19 strong,
.medika-search-status-v19 small {
  display: block;
}

.medika-search-status-v19 strong {
  color: #0f172a;
  font-size: 13px;
  font-weight: 900;
}

.medika-search-status-v19 small {
  margin-top: 4px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.5;
}

.medika-search-group-v19 + .medika-search-group-v19 {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e8eef6;
}

.medika-search-group-title-v19 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 3px 10px 7px;
  color: #526986;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.medika-universal-result-v19 {
  position: relative;
}

.medika-universal-result-v19 .quick-result-text {
  min-width: 0;
  padding-right: 28px;
}

.medika-universal-result-v19 .quick-result-text strong,
.medika-universal-result-v19 .quick-result-text span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.medika-universal-result-v19 .quick-result-chevron-v19 {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 12px;
}

.medika-search-empty-v19 {
  padding: 16px;
  text-align: center;
}

.medika-search-empty-icon-v19 {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  border-radius: 17px;
  color: #1d4ed8;
  background: #eff6ff;
}

.medika-search-empty-v19 strong {
  display: block;
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
}

.medika-search-empty-v19 p {
  margin: 7px auto 13px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}

.medika-search-chat-cta-v19,
.medika-search-retry-v19 {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  padding: 10px 15px;
  color: #fff;
  background: linear-gradient(135deg, #0f2f75, #2457d6);
  box-shadow: 0 10px 22px rgba(15, 47, 117, 0.18);
  font-size: 12px;
  font-weight: 900;
}

.medika-search-retry-v19 {
  margin-left: 7px;
  color: #12377d;
  background: #eff6ff;
  box-shadow: none;
}

.medika-search-followup-v21-1 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  margin: 10px 10px 12px;
  padding: 12px;
  border: 1px solid #dbe7fb;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
}

.medika-search-followup-icon-v21-1 {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #1746a2;
  background: #fff;
  box-shadow: 0 7px 17px rgba(15, 47, 117, 0.1);
}

.medika-search-followup-copy-v21-1 {
  min-width: 0;
}

.medika-search-followup-copy-v21-1 strong,
.medika-search-followup-copy-v21-1 > span {
  display: block;
}

.medika-search-followup-copy-v21-1 strong {
  color: #0f2f75;
  font-size: 12px;
  font-weight: 900;
}

.medika-search-followup-copy-v21-1 > span {
  margin-top: 2px;
  overflow: hidden;
  color: #64748b;
  font-size: 11px;
  line-height: 1.45;
  text-overflow: ellipsis;
}

.medika-search-followup-copy-v21-1 q {
  color: #334155;
  font-weight: 800;
}

.medika-search-followup-button-v21-1 {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 12px;
  padding: 9px 12px;
  color: #fff;
  background: linear-gradient(135deg, #0f2f75, #2457d6);
  box-shadow: 0 8px 18px rgba(15, 47, 117, 0.16);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.medika-search-followup-button-v21-1:hover {
  filter: brightness(1.04);
}

.medika-search-followup-button-v21-1:focus-visible {
  outline: 3px solid rgba(36, 87, 214, 0.24);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .medika-search-followup-v21-1 {
    grid-template-columns: auto minmax(0, 1fr);
    margin: 9px 8px 10px;
    padding: 11px;
  }

  .medika-search-followup-button-v21-1 {
    grid-column: 1 / -1;
    width: 100%;
  }
}

.medika-ai-chat-mount-v19 {
  width: min(980px, calc(100% - 32px));
  margin: 8px auto 0;
}

.medika-ai-panel-v19 {
  display: none;
  width: 100%;
  text-align: left;
}

.medika-ai-panel-v19.is-open-v19 {
  display: block;
  animation: medikaAiPanelInV19 0.22s ease both;
}

.medika-ai-panel-shell-v19 {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto minmax(240px, 1fr) auto auto;
  min-height: 560px;
  max-height: 720px;
  border: 1px solid #dce7f4;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 26px 68px rgba(15, 47, 117, 0.15);
}

.medika-ai-panel-header-v19 {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #e7eef7;
  background:
    radial-gradient(circle at 94% 0%, rgba(96, 165, 250, 0.22), transparent 35%),
    linear-gradient(135deg, #f8fbff, #ffffff);
}

.medika-ai-back-v19 {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid #dbe6f3;
  border-radius: 14px;
  color: #12377d;
  background: #fff;
}

.medika-ai-avatar-v19 {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #0f2f75, #2457d6);
  box-shadow: 0 10px 22px rgba(15, 47, 117, 0.18);
}

.medika-ai-header-copy-v19 {
  min-width: 0;
  flex: 1;
}

.medika-ai-header-copy-v19 strong,
.medika-ai-header-copy-v19 span {
  display: block;
}

.medika-ai-header-copy-v19 strong {
  color: #0f2f75;
  font-size: 16px;
  font-weight: 950;
}

.medika-ai-header-copy-v19 span {
  margin-top: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
}

.medika-ai-foundation-badge-v19 {
  border: 1px solid #dbeafe;
  border-radius: 999px;
  padding: 6px 9px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 10px;
  font-weight: 900;
}

.medika-ai-boundary-v19 {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 18px;
  border-bottom: 1px solid #e8eef6;
  color: #526986;
  background: #f8fbff;
}

.medika-ai-boundary-v19 i {
  margin-top: 3px;
  color: #2563eb;
}

.medika-ai-boundary-v19 p {
  margin: 0;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.55;
}

.medika-ai-messages-v19 {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at 8% 0%, rgba(219, 234, 254, 0.45), transparent 24%),
    #f9fbfe;
}

.medika-ai-message-v19 {
  max-width: min(78%, 680px);
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.65;
  word-break: break-word;
}

.medika-ai-message-v19 p {
  margin: 0;
}

.medika-ai-message-v19.is-assistant-v19 {
  align-self: flex-start;
  border: 1px solid #dfe9f5;
  border-bottom-left-radius: 6px;
  color: #26364d;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.medika-ai-message-v19.is-user-v19 {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  color: #fff !important;
  background: linear-gradient(135deg, #12377d, #2457d6);
}

.medika-ai-message-v19.is-user-v19 p {
  color: #fff !important;
}

.medika-ai-message-label-v19 {
  display: block;
  margin-bottom: 5px;
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.medika-ai-message-actions-v19 {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.medika-ai-message-action-v19 {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #d9e6f5;
  border-radius: 12px;
  padding: 8px 10px;
  color: #12377d;
  background: #f8fbff;
  font-size: 11px;
  font-weight: 850;
}

.medika-ai-loading-v19 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.medika-ai-loading-v19 i {
  color: #2563eb;
}

.medika-ai-limit-notice-v19 {
  padding: 9px 18px;
  color: #9a3412;
  background: #fff7ed;
  border-top: 1px solid #fed7aa;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.5;
}

.medika-ai-composer-v19 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: end;
  gap: 10px;
  padding: 13px 16px 8px;
  border-top: 1px solid #e5edf7;
  background: #fff;
}

.medika-ai-composer-field-v19 {
  display: block;
  min-width: 0;
}

.medika-ai-composer-v19 .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.medika-ai-composer-field-v19 textarea {
  width: 100%;
  max-height: 112px;
  resize: none;
  display: block;
  border: 1px solid #d7e3f1;
  border-radius: 17px;
  outline: none;
  padding: 13px 14px;
  color: #0f172a;
  background: #f8fafc;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.medika-ai-composer-field-v19 textarea:focus {
  border-color: #93b4f4;
  box-shadow: 0 0 0 4px rgba(37, 87, 214, 0.09);
}

.medika-ai-send-v19 {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0f2f75, #2457d6);
  box-shadow: 0 10px 22px rgba(15, 47, 117, 0.2);
}

.medika-ai-send-v19:disabled,
.medika-ai-composer-field-v19 textarea:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.medika-ai-session-note-v19 {
  margin: 0;
  padding: 0 16px 11px;
  color: #94a3b8;
  background: #fff;
  font-size: 9px;
  text-align: center;
}

@keyframes medikaAiPanelInV19 {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .medika-ai-hero-kicker-v19 {
    margin-bottom: 13px;
    padding: 8px 12px;
    font-size: 10px;
  }

  .medika-ai-quick-menu-v19 {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 12px 2px 4px;
    scrollbar-width: none;
  }

  .medika-ai-quick-menu-v19::-webkit-scrollbar {
    display: none;
  }

  .medika-ai-topic-chip-v19 {
    flex: 0 0 auto;
    min-height: 35px;
    padding: 8px 11px;
    font-size: 10px;
  }

  .medika-universal-results-v19 {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-height: 54vh;
    margin: 10px 0 0;
    border-radius: 19px;
  }

  .medika-ai-chat-mount-v19 {
    width: 100%;
    margin: 0;
  }

  .medika-ai-panel-v19.is-open-v19 {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: block;
    padding: max(8px, env(safe-area-inset-top)) 0 env(safe-area-inset-bottom);
    background: #fff;
  }

  .medika-ai-panel-shell-v19 {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .medika-ai-panel-header-v19 {
    min-height: 66px;
    padding: 10px 13px;
  }

  .medika-ai-boundary-v19 {
    padding: 9px 14px;
  }

  .medika-ai-messages-v19 {
    padding: 15px 13px;
  }

  .medika-ai-message-v19 {
    max-width: 88%;
    font-size: 12px;
  }

  .medika-ai-composer-v19 {
    grid-template-columns: minmax(0, 1fr) 46px;
    padding: 10px 12px 7px;
  }

  .medika-ai-send-v19 {
    width: 46px;
    height: 46px;
  }

  body.medika-ai-chat-open-v19 {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .medika-ai-panel-v19.is-open-v19 {
    animation: none;
  }
}

/* =========================================================
   MEDIKA V21.2 — MOBILE AI ENTRY + CONVERSATION STARTERS
   Desktop hero dan penempatan chat tidak diubah.
   ========================================================= */

.bottom-nav-ai-v21-2 span {
  position: relative;
  isolation: isolate;
}

.bottom-nav-ai-v21-2 .bottom-nav-ai-spark-v21-2 {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 2;
  color: #dbeafe;
  font-size: 8px;
  filter: drop-shadow(0 1px 2px rgba(15, 47, 117, 0.32));
}

.bottom-nav-ai-v21-2 small {
  color: #0f2f75;
  font-size: 8.7px;
  letter-spacing: -0.02em;
}

.bottom-nav-ai-v21-2 span::after {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border: 1px solid rgba(147, 197, 253, 0.5);
  border-radius: 24px;
  opacity: 0.75;
}

.medika-ai-welcome-v21-2 {
  width: min(100%, 680px);
  align-self: center;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  padding: 18px;
  border: 1px solid #dbe8f7;
  border-radius: 24px;
  color: #20334c;
  background:
    radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.2), transparent 34%),
    linear-gradient(145deg, #ffffff, #f7fbff);
  box-shadow: 0 14px 34px rgba(15, 47, 117, 0.08);
  transition:
    padding 0.2s ease,
    border-radius 0.2s ease;
}

.medika-ai-welcome-icon-v21-2 {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #0f2f75, #2f6be5);
  box-shadow: 0 10px 22px rgba(15, 47, 117, 0.2);
}

.medika-ai-welcome-copy-v21-2 {
  min-width: 0;
  align-self: center;
}

.medika-ai-welcome-copy-v21-2 > span {
  display: block;
  margin-bottom: 4px;
  color: #2563eb;
  font-size: 9px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.medika-ai-welcome-copy-v21-2 strong {
  display: block;
  color: #0f2f75;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 950;
  letter-spacing: -0.025em;
}

.medika-ai-welcome-copy-v21-2 p {
  margin: 5px 0 0;
  color: #5d7188;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.medika-ai-starter-v21-2 {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.medika-ai-starter-label-v21-2 {
  color: #536b87;
  font-size: 10px;
  font-weight: 900;
}

.medika-ai-starter-grid-v21-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.medika-ai-starter-grid-v21-2 button {
  min-width: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d9e7f7;
  border-radius: 15px;
  padding: 10px 11px;
  color: #12377d;
  background: rgba(255, 255, 255, 0.9);
  text-align: left;
  font: inherit;
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 850;
  box-shadow: 0 5px 14px rgba(15, 47, 117, 0.04);
}

.medika-ai-starter-grid-v21-2 button i {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 13px;
}

.medika-ai-starter-grid-v21-2 button:active {
  transform: translateY(1px);
  background: #f4f8ff;
}

.medika-ai-starter-grid-v21-2 button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.22);
  outline-offset: 2px;
}

.medika-ai-welcome-hint-v21-2 {
  grid-column: 1 / -1;
  margin: 0;
  color: #7b8da3;
  font-size: 9.5px;
  line-height: 1.45;
  text-align: center;
}

.medika-ai-welcome-v21-2.is-used-v21-2 {
  align-self: flex-start;
  padding: 12px 14px;
  border-radius: 18px;
}

.medika-ai-welcome-v21-2.is-used-v21-2
  .medika-ai-welcome-icon-v21-2 {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 12px;
}

.medika-ai-welcome-v21-2.is-used-v21-2
  .medika-ai-welcome-copy-v21-2 > span,
.medika-ai-welcome-v21-2.is-used-v21-2
  .medika-ai-welcome-copy-v21-2 p,
.medika-ai-welcome-v21-2.is-used-v21-2
  .medika-ai-starter-v21-2,
.medika-ai-welcome-v21-2.is-used-v21-2
  .medika-ai-welcome-hint-v21-2 {
  display: none;
}

.medika-ai-welcome-v21-2.is-used-v21-2
  .medika-ai-welcome-copy-v21-2 strong {
  font-size: 12px;
}

@media (max-width: 760px) {
  body.medika-ai-chat-open-v19 #bottomNav {
    z-index: 160;
    display: grid;
    transition:
      opacity 0.18s ease,
      transform 0.18s ease;
  }

  body.medika-ai-chat-open-v19
    .medika-ai-panel-v19.is-open-v19 {
    inset: 0 0 calc(94px + env(safe-area-inset-bottom)) 0;
    padding-bottom: 0;
  }

  body.medika-ai-keyboard-open-v21-2 #bottomNav {
    opacity: 0;
    pointer-events: none;
    transform: translateY(
      calc(100% + 24px + env(safe-area-inset-bottom))
    );
  }

  body.medika-ai-keyboard-open-v21-2
    .medika-ai-panel-v19.is-open-v19 {
    inset-bottom: 0;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .medika-ai-messages-v19 {
    gap: 11px;
  }

  .medika-ai-welcome-v21-2 {
    width: 100%;
    padding: 15px;
    border-radius: 21px;
  }

  .medika-ai-welcome-icon-v21-2 {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .medika-ai-welcome-copy-v21-2 strong {
    font-size: 15px;
  }

  .medika-ai-starter-grid-v21-2 {
    gap: 8px;
  }

  .medika-ai-starter-grid-v21-2 button {
    min-height: 50px;
    padding: 9px;
    font-size: 10px;
  }

  .medika-ai-starter-grid-v21-2 button i {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
}

@media (max-width: 380px) {
  .medika-ai-starter-grid-v21-2 button {
    gap: 7px;
    padding: 8px;
    font-size: 9.3px;
  }

  .bottom-nav-ai-v21-2 small {
    font-size: 8px;
  }
}

/* =========================================================
   MEDIKA V20 — DIRECT DOCTOR ANSWERS
   ========================================================= */

.medika-ai-message-v19.is-direct-schedule-v20 {
  width: min(100%, 760px);
  max-width: 100%;
}

.medika-ai-direct-answer-v20 {
  display: grid;
  gap: 12px;
}

.medika-ai-direct-intro-v20 {
  display: grid;
  gap: 5px;
}

.medika-ai-direct-intro-v20 strong {
  color: #102a43;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 950;
}

.medika-ai-direct-intro-v20 p {
  margin: 0;
  color: #5d7188;
  font-size: 11px;
  line-height: 1.55;
  font-weight: 700;
}

.medika-ai-direct-intro-v20.is-empty-v20 {
  padding: 12px;
  border: 1px dashed #c8d6e5;
  border-radius: 14px;
  background: #f8fafc;
}

.medika-ai-polyclinic-list-v20,
.medika-ai-doctor-list-v20,
.medika-ai-schedule-list-v20 {
  display: grid;
  gap: 8px;
}

.medika-ai-polyclinic-card-v20 {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 11px;
  border: 1px solid #dce7f1;
  border-radius: 14px;
  background: #fff;
}

.medika-ai-polyclinic-card-v20 > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #087681;
  background: #e7f8f8;
}

.medika-ai-polyclinic-card-v20 strong,
.medika-ai-polyclinic-card-v20 small,
.medika-ai-polyclinic-card-v20 p {
  display: block;
}

.medika-ai-polyclinic-card-v20 strong {
  color: #17223a;
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 950;
}

.medika-ai-polyclinic-card-v20 small {
  margin-top: 3px;
  color: #236fa9;
  font-size: 8.5px;
  line-height: 1.35;
  font-weight: 900;
}

.medika-ai-polyclinic-card-v20 p {
  margin: 4px 0 0;
  color: #74849a;
  font-size: 8.5px;
  line-height: 1.35;
  font-weight: 750;
}

.medika-ai-polyclinic-doctors-v20-1 {
  display: grid;
  gap: 3px;
  margin: 7px 0 0;
  padding: 7px 0 0 15px;
  border-top: 1px dashed #dce7f1;
  color: #334155;
  font-size: 8.5px;
  line-height: 1.4;
  font-weight: 800;
}

.medika-ai-doctor-row-v20 {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid #dce7f1;
  border-radius: 13px;
  background: #fff;
}

.medika-ai-doctor-row-v20 > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #1d4ed8;
  background: #eaf2ff;
  font-size: 8px;
  font-weight: 950;
}

.medika-ai-doctor-row-v20 strong,
.medika-ai-doctor-row-v20 small {
  display: block;
}

.medika-ai-doctor-row-v20 strong {
  color: #17223a;
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 950;
}

.medika-ai-doctor-row-v20 small {
  margin-top: 3px;
  color: #718096;
  font-size: 8.5px;
  line-height: 1.4;
  font-weight: 750;
}

.medika-ai-operational-note-v20 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding: 9px 10px;
  border: 1px solid #cfe4f5;
  border-radius: 12px;
  color: #245a7a;
  background: #f0f8ff;
  font-size: 9px;
  line-height: 1.45;
  font-weight: 750;
}

.medika-ai-operational-note-v20 i {
  margin-top: 2px;
}

.medika-ai-schedule-polyclinic-v20 {
  overflow: hidden;
  border: 1px solid #d8e4ef;
  border-radius: 15px;
  background: #fff;
}

.medika-ai-schedule-polyclinic-v20 > header {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-bottom: 1px solid #e4ebf2;
  background:
    radial-gradient(
      circle at 96% 0%,
      rgba(15, 141, 150, 0.08),
      transparent 42%
    ),
    #f7fbfc;
}

.medika-ai-schedule-polyclinic-v20 > header small {
  color: #0f7780;
  font-size: 8px;
  line-height: 1.25;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.medika-ai-schedule-polyclinic-v20 > header strong {
  color: #17324a;
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 950;
}

.medika-ai-schedule-polyclinic-v20 > div {
  display: grid;
  gap: 8px;
  padding: 8px;
  background: #f8fafc;
}

.medika-ai-schedule-doctor-v20 {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #e1e9f1;
  border-radius: 12px;
  background: #fff;
}

.medika-ai-schedule-doctor-name-v20 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.medika-ai-schedule-doctor-name-v20 > span {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #1d4ed8;
  background: #eaf2ff;
}

.medika-ai-schedule-doctor-name-v20 strong {
  color: #17223a;
  font-size: 10.5px;
  line-height: 1.35;
  font-weight: 950;
}

.medika-ai-schedule-times-v20 {
  display: grid;
  gap: 5px;
}

.medika-ai-schedule-times-v20 > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 9px;
  color: #52657b;
  background: #f6f9fc;
  font-size: 8.5px;
  line-height: 1.35;
  font-weight: 800;
}

.medika-ai-schedule-times-v20 span,
.medika-ai-schedule-times-v20 strong {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.medika-ai-schedule-times-v20 strong {
  color: #175f68;
  white-space: nowrap;
}

.medika-ai-schedule-times-v20 i {
  color: #2b73b4;
}

.medika-ai-direct-action-v20 {
  min-height: 38px;
}

.medika-ai-direct-source-v20 {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #dce5ee;
  color: #718096;
  font-size: 8px;
  line-height: 1.4;
  font-weight: 750;
}

.medika-ai-direct-source-v20 i {
  margin-top: 2px;
  color: #0f8d96;
}

/* =========================================================
   MEDIKA V21 — REGISTRATION GUIDANCE + GUMASEP
   ========================================================= */

.medika-ai-message-v19.is-registration-v21 {
  width: min(100%, 760px);
  max-width: 100%;
}

.medika-ai-registration-choice-v21 {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  padding: 11px;
  border: 1px solid #cfe4f5;
  border-radius: 13px;
  color: #245a7a;
  background: #f0f8ff;
}

.medika-ai-registration-choice-v21 > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #0f7780;
  background: #dff5f5;
}

.medika-ai-registration-choice-v21 p {
  margin: 0;
  color: #385b75;
  font-size: 9.5px;
  line-height: 1.55;
  font-weight: 750;
}

.medika-ai-registration-requirement-v21 {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  padding: 10px 11px;
  border: 1px solid #f0d8a5;
  border-radius: 13px;
  color: #704a0b;
  background: #fffbeb;
  font-size: 9.5px;
  line-height: 1.55;
  font-weight: 750;
}

.medika-ai-registration-requirement-v21 i {
  margin-top: 3px;
  color: #b7791f;
}

.medika-ai-registration-requirement-v21 strong {
  color: #744b05;
  font-weight: 950;
}

.medika-ai-registration-steps-v21 {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.medika-ai-registration-steps-v21 li {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 10px 11px;
  border: 1px solid #dce7f1;
  border-radius: 13px;
  background: #fff;
}

.medika-ai-registration-steps-v21 li > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #0f7a83, #12377d);
  font-size: 9px;
  font-weight: 950;
}

.medika-ai-registration-steps-v21 p {
  margin: 0;
  color: #5b6f84;
  font-size: 9px;
  line-height: 1.5;
  font-weight: 750;
}

.medika-ai-registration-steps-v21 p strong {
  display: block;
  margin-bottom: 2px;
  color: #17223a;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 950;
}

.medika-ai-external-action-v21 {
  text-decoration: none !important;
}

.medika-ai-external-action-v21:hover,
.medika-ai-external-action-v21:focus-visible {
  color: #0f5d67;
  border-color: #9fd5d9;
  background: #eefafa;
}

/* =========================================================
   MEDIKA V20 — FULL-PAGE JADWAL DOKTER DESKTOP
   ========================================================= */

body.medika-doctor-page-open-v20 {
  overflow: hidden !important;
  overscroll-behavior: none;
}

body.medika-doctor-page-open-v20 #topHeader,
body.medika-doctor-page-open-v20 #bottomNav,
body.medika-doctor-page-open-v20 #mainFooter {
  display: none !important;
}

body.medika-doctor-page-open-v20 #publicRoot,
body.medika-doctor-page-open-v20 #adminRoot {
  visibility: hidden !important;
  pointer-events: none !important;
}

.medika-doctor-page-v20 {
  display: none;
}

.medika-doctor-page-v20.is-active-v20 {
  position: fixed;
  inset: 0;
  z-index: 10030;
  display: block;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  color: #17223a;
  background: #f4f7fb;
  isolation: isolate;
}

.medika-doctor-page-shell-v20 {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-height: 0;
}

.medika-doctor-page-header-v20 {
  position: relative;
  z-index: 3;
  min-height: 72px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 11px;
  padding: 10px max(18px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid #dfe7ef;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.055);
  backdrop-filter: blur(18px);
}

.medika-doctor-page-back-v20 {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #d7e2ec;
  border-radius: 14px;
  color: #175f68;
  background: #fff;
  box-shadow: 0 5px 15px rgba(15, 23, 42, 0.05);
  cursor: pointer;
}

.medika-doctor-page-header-v20 > div {
  min-width: 0;
}

.medika-doctor-page-header-v20 small,
.medika-doctor-page-header-v20 strong {
  display: block;
}

.medika-doctor-page-header-v20 small {
  margin-bottom: 3px;
  color: #6e8094;
  font-size: 9px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.medika-doctor-page-header-v20 strong {
  overflow: hidden;
  color: #123d45;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.medika-doctor-page-header-v20 > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #087681;
  background: #e7f8f8;
}

.medika-doctor-page-scroll-v20 {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: thin;
}

.medika-doctor-page-host-v20 {
  width: min(1180px, calc(100% - 32px));
  min-height: 100%;
  margin: 0 auto;
  padding: 24px 0 42px;
}

.medika-doctor-page-host-v20
  .doctor-schedule-root-v1 {
  gap: 16px;
}

.medika-doctor-page-host-v20
  .doctor-schedule-step-v1,
.medika-doctor-page-host-v20
  .doctor-schedule-disclaimer-v1,
.medika-doctor-page-host-v20
  .doctor-schedule-audit-v1 {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
}

@media (max-width: 760px) {
  .medika-ai-message-v19.is-direct-schedule-v20 {
    width: 100%;
    max-width: 100%;
  }

  .medika-ai-schedule-times-v20 > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .medika-ai-schedule-times-v20 strong {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .medika-doctor-page-v20.is-active-v20 {
    scroll-behavior: auto;
  }
}

/* =========================================================
   MEDIKA V22 — DATABASE DECISION ENGINE
   ========================================================= */

.medika-ai-message-v19.is-decision-v22 {
  width: min(100%, 720px);
  max-width: 92%;
}

.medika-decision-notice-v22 {
  margin: 0 0 8px !important;
  padding: 8px 10px;
  border: 1px solid #f1d7a7;
  border-radius: 10px;
  color: #7c4a03;
  background: #fff9eb;
  font-size: 11px;
  font-weight: 750;
}

.medika-decision-options-v22 {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.medika-decision-option-v22 {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #ccdaeb;
  border-radius: 12px;
  color: #17365d;
  background: #f8fbff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.medika-decision-option-v22:hover {
  border-color: #6f98d1;
  background: #eef5ff;
  transform: translateY(-1px);
}

.medika-decision-option-v22 i {
  display: none;
  color: inherit;
}

.medika-decision-option-v22[aria-pressed="true"] {
  border-color: #2457d6;
  color: #fff;
  background: linear-gradient(135deg, #12377d, #2457d6);
  box-shadow: 0 8px 18px rgba(36, 87, 214, 0.18);
}

.medika-decision-option-v22[aria-pressed="true"] i {
  display: inline-block;
}

.medika-decision-option-v22:disabled,
.medika-decision-continue-v22:disabled {
  cursor: default;
  opacity: 0.58;
  transform: none;
}

.medika-decision-continue-v22 {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 9px 15px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: #12377d;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.medika-decision-cancel-hint-v22 {
  display: block;
  margin-top: 9px;
  color: #75869b;
  font-size: 10px;
  line-height: 1.45;
}

.medika-ai-message-v19.is-decision-v22.is-answered-v22 {
  opacity: 0.82;
}

@media (max-width: 760px) {
  .medika-ai-message-v19.is-decision-v22 {
    width: 100%;
    max-width: 100%;
  }

  .medika-decision-option-v22 {
    min-height: 44px;
    font-size: 11.5px;
  }
}

/* =========================================================
   MEDIKA V23 — CLOUDFLARE PUBLIC OVERRIDES
   Phase 3: Public Shell + Home only.
   ========================================================= */
:root {
  --medika-v23-safe-bottom: env(safe-area-inset-bottom, 0px);
}

body.medika-cloudflare-v23 {
  min-height: 100dvh;
}

.medika-v23-phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 8px;
  padding: 5px 9px;
  border: 1px solid rgba(40, 89, 168, .12);
  border-radius: 999px;
  background: rgba(241, 246, 255, .92);
  color: #5f7392;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.medika-v23-coming-soon {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 32px 18px;
  text-align: center;
}

.medika-v23-coming-soon > div {
  width: min(560px, 100%);
  padding: 28px;
  border: 1px solid #dfe8f5;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(22, 59, 107, .08);
}

.medika-v23-coming-soon i {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  border-radius: 20px;
  background: #edf4ff;
  color: #2059b7;
  font-size: 25px;
}

.medika-v23-coming-soon h3 {
  margin: 0 0 7px;
  color: #12366d;
  font-size: 21px;
  font-weight: 900;
}

.medika-v23-coming-soon p {
  margin: 0;
  color: #71829a;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.65;
}

.medika-v23-bridge-indicator {
  position: fixed;
  right: 12px;
  bottom: calc(86px + var(--medika-v23-safe-bottom));
  z-index: 70;
  display: none;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border: 1px solid rgba(22, 109, 79, .12);
  border-radius: 999px;
  background: rgba(240, 251, 246, .94);
  color: #176c50;
  box-shadow: 0 8px 25px rgba(20, 70, 55, .08);
  font-size: 10px;
  font-weight: 850;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.medika-v23-bridge-indicator.is-visible {
  display: inline-flex;
}

/* Phase 3 intentionally has no Admin entry. */
.footer-admin-v2,
.admin-entry {
  display: none !important;
}

/* Keep content usable even when an image provider is slow in IG webview. */
img {
  background-color: #f3f6fb;
}

@media (max-width: 720px) {
  .medika-v23-phase-badge {
    display: none;
  }

  .medika-v23-bridge-indicator {
    bottom: calc(92px + var(--medika-v23-safe-bottom));
  }
}
