/* Hastane / ASM tam ekran modal */
:root {
  --hs-red: #d32f2f;
  --hs-red-dark: #b71c1c;
  --hs-bg: #f0f2f8;
  --hs-text: #1a1f2e;
  --hs-muted: #64748b;
  --hs-card-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.hs-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 12000;
  background: rgba(8, 14, 28, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
}
.hs-modal-overlay.open { display: flex; }

.hs-modal {
  flex: 1;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: 100dvh;
  background: var(--hs-bg);
  overflow: hidden;
  position: relative;
  animation: hsSlideUp .28s ease;
}
.hs-modal--fs { display: block; }

@keyframes hsSlideUp {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.hs-list-view,
.hs-detail-view {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  z-index: 1;
}
.hs-detail-view {
  z-index: 2;
  background: #fff;
}
.hs-list-view[hidden],
.hs-detail-view[hidden] { display: none !important; }

.hs-modal-head {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: max(12px, env(safe-area-inset-top)) 14px 12px;
  background: linear-gradient(135deg, #b71c1c 0%, #c62828 55%, #d32f2f 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(183, 28, 28, 0.25);
}
.hs-modal-head--detail .hs-modal-sub {
  font-size: .72rem;
  opacity: .88;
  margin-top: 2px;
}
.hs-modal-back,
.hs-modal-close,
.hs-modal-share {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}
.hs-modal-close { background: rgba(255, 255, 255, 0.12); font-size: 1rem; }
.hs-modal-share { background: rgba(255, 255, 255, 0.14); }
.hs-modal-back:active,
.hs-modal-close:active,
.hs-modal-share:active { background: rgba(255, 255, 255, 0.28); }
.hs-modal-title-wrap { flex: 1; min-width: 0; }
.hs-modal-title-wrap--center { text-align: center; }
.hs-modal-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hs-modal-sub {
  font-size: .68rem;
  opacity: .82;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hs-modal-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 14px max(20px, env(safe-area-inset-bottom));
  background: var(--hs-bg);
}

/* Liste */
.hs-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  margin-bottom: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hs-filters::-webkit-scrollbar { display: none; }
.hs-filter {
  flex-shrink: 0;
  border: none;
  background: #fff;
  color: var(--hs-muted);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: .74rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}
.hs-filter.active {
  background: #c62828;
  color: #fff;
  box-shadow: 0 4px 12px rgba(198, 40, 40, 0.28);
}
.hs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hs-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 16px;
  background: #fff;
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
  box-sizing: border-box;
  font-family: var(--font);
  text-align: left;
  box-shadow: var(--hs-card-shadow);
  transition: box-shadow .15s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.hs-item:active { transform: scale(.985); }
.hs-item-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.hs-item-ico--img {
  padding: 4px;
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.hs-item-ico--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}
.hs-item-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.hs-item-label {
  display: block;
  width: 100%;
  font-size: .92rem;
  font-weight: 800;
  color: var(--hs-text);
  line-height: 1.3;
}
.hs-item-meta {
  display: block;
  width: 100%;
  font-size: .72rem;
  color: var(--hs-muted);
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hs-item-badge {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ffebee;
  color: #c62828;
}
.hs-item-go {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffebee;
  color: #c62828;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  flex-shrink: 0;
}

.hs-loading,
.hs-empty,
.hs-error {
  text-align: center;
  padding: 36px 16px;
  color: var(--hs-muted);
  font-size: .86rem;
}
.hs-error { color: #c62828; }
.hs-loading i { font-size: 1.4rem; color: #c62828; }

/* Detay — kapak + logo */
.hs-detail-scroll {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 16px;
  background: var(--hs-bg);
}
.hs-detail-cover {
  width: 100%;
  height: min(220px, 34vh);
  min-height: 170px;
  position: relative;
  overflow: hidden;
  background-color: #8b1a1a;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hs-detail-cover.is-placeholder {
  height: min(248px, 38vh);
  min-height: 200px;
}
.hs-detail-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.hs-detail-cover-img[hidden] {
  display: none !important;
}
.hs-detail-cover:not(.is-placeholder)::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.42) 100%);
}
.hs-detail-cover.is-placeholder {
  background: #fff;
  border-bottom: 1px solid #e8ecf2;
}
.hs-detail-cover-kp {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px 36px;
  box-sizing: border-box;
  background: #fff;
}
.hs-detail-cover-kp[hidden] {
  display: none !important;
}
.hs-cover-kp-panel {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}
.hs-cover-kp-logo {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hs-cover-kp-logo-frame {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: min(220px, 78vw);
  height: 42px;
  margin: 0 auto;
}
.hs-cover-kp-logo-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hs-cover-kp-tagline {
  margin: 0;
  width: 100%;
  font-size: clamp(0.9rem, 3.6vw, 1.05rem);
  font-weight: 700;
  line-height: 1.45;
  color: #455a64;
  text-align: center;
  text-shadow: 0 2px 10px rgba(69, 90, 100, 0.18);
}
.hs-cover-kp-tagline-hl {
  display: block;
  margin-top: 4px;
  font-size: clamp(1rem, 4vw, 1.18rem);
  font-weight: 800;
  color: #b71c1c;
  letter-spacing: -0.02em;
  text-shadow: 0 3px 14px rgba(183, 28, 28, 0.22);
}
.hs-detail-sheet {
  position: relative;
  margin-top: -32px;
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 0 16px 24px;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
  z-index: 2;
}
.hs-detail-logo-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: -48px auto 0;
}
.hs-detail-logo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #ffebee;
  border: 4px solid #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 2rem;
}
.hs-detail-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  background: #fff;
}
.hs-detail-identity {
  text-align: center;
  padding: 14px 0 16px;
}
.hs-detail-name {
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0 0 10px;
  color: var(--hs-text);
  line-height: 1.25;
}
.hs-detail-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.hs-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .68rem;
  font-weight: 700;
  color: #c62828;
  background: #ffebee;
  padding: 6px 12px;
  border-radius: 999px;
}
.hs-badge i { font-size: .72rem; }

.hs-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.hs-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-height: 96px;
  padding: 14px 6px 10px;
  border: none;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--hs-card-shadow);
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: var(--hs-text);
  font-family: inherit;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.hs-action-btn:active { transform: scale(0.97); }
.hs-action-btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}
.hs-action-btn > i { font-size: 1.3rem; }
.hs-ico-green { color: #2e7d32; }
.hs-ico-blue { color: #1565c0; }
.hs-ico-orange { color: #e65100; }
.hs-ico-purple { color: #7b1fa2; }
.hs-ico-teal { color: #00897b; }
.hs-action-btn strong {
  display: block;
  font-size: .6rem;
  font-weight: 800;
  line-height: 1.2;
}
.hs-action-btn span {
  display: block;
  font-size: .56rem;
  font-weight: 600;
  color: var(--hs-muted);
  line-height: 1.25;
}

.hs-info-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--hs-card-shadow);
  border: 1px solid rgba(15, 23, 42, 0.05);
  overflow: hidden;
}
.hs-info-list:empty { display: none; }
.hs-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: inherit;
}
.hs-info-row:last-child { border-bottom: 0; }
a.hs-info-row:active { background: #fafafa; }
.hs-info-row > i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ffebee;
  color: #c62828;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0;
}
.hs-info-copy { flex: 1; min-width: 0; }
.hs-info-label {
  display: block;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 3px;
}
.hs-info-val {
  font-size: .8rem;
  font-weight: 600;
  color: var(--hs-text);
  line-height: 1.4;
  word-break: break-word;
}
.hs-info-chev {
  color: #cbd5e1;
  font-size: .7rem;
  flex-shrink: 0;
}

.hs-section {
  margin-bottom: 16px;
}
.hs-section[hidden] { display: none !important; }
.hs-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.hs-section-head h3 {
  margin: 0;
  font-size: .88rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--hs-text);
}
.hs-section-head h3 i { color: #c62828; }
.hs-section-link {
  font-size: .72rem;
  font-weight: 700;
  color: #c62828;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.hs-chip-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hs-chip-scroll::-webkit-scrollbar { display: none; }
.hs-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--hs-card-shadow);
  border: 1px solid rgba(15, 23, 42, 0.05);
  font-size: .74rem;
  font-weight: 700;
  color: var(--hs-text);
}
.hs-chip i { font-size: .9rem; }

.hs-doctor-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 0;
  scrollbar-width: none;
}
.hs-doctor-scroll::-webkit-scrollbar { display: none; }
.hs-doctor-card {
  flex-shrink: 0;
  width: min(200px, 72vw);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--hs-card-shadow);
  border: 1px solid rgba(15, 23, 42, 0.05);
  text-decoration: none;
  color: inherit;
}
.hs-doctor-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  color: #c62828;
}
.hs-doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hs-doctor-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hs-doctor-copy strong {
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.2;
}
.hs-doctor-copy em {
  font-size: .66rem;
  font-style: normal;
  font-weight: 700;
}
.hs-doctor-card > .fa-chevron-right {
  color: #cbd5e1;
  font-size: .68rem;
}

.hs-map-card {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: var(--hs-card-shadow);
  border: 1px solid rgba(15, 23, 42, 0.05);
  margin-bottom: 8px;
}
.hs-map-card[hidden] { display: none !important; }
.hs-map-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.hs-map-card-head h3 {
  margin: 0;
  font-size: .82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hs-map-card-head h3 i { color: #c62828; }
.hs-map-card-link {
  font-size: .68rem;
  font-weight: 700;
  color: #c62828;
  text-decoration: none;
  white-space: nowrap;
}
.hs-map-embed {
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  background: #e2e8f0;
}
.hs-map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.hs-map-fallback {
  margin: 0;
  font-size: .8rem;
  color: var(--hs-muted);
  line-height: 1.45;
}

.hs-emergency-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0));
  background: linear-gradient(135deg, #b71c1c 0%, #c62828 55%, #d32f2f 100%);
  color: #fff;
  box-shadow: 0 -4px 20px rgba(183, 28, 28, 0.3);
}
.hs-emergency-bar[hidden] { display: none !important; }
.hs-emergency-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  line-height: 1.3;
  min-width: 0;
}
.hs-emergency-copy i {
  font-size: 1.1rem;
  opacity: .9;
  flex-shrink: 0;
}
.hs-emergency-copy strong {
  display: block;
  font-size: .78rem;
  font-weight: 800;
}
.hs-emergency-call {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.hs-emergency-call:active { background: rgba(0, 0, 0, 0.32); }

@media (min-width: 900px) {
  .hs-modal-overlay {
    padding: 24px;
    align-items: center;
    justify-content: center;
  }
  .hs-modal:not(.hs-modal--desk-list):not(.hs-modal--desk-detail) {
    max-width: 480px;
    max-height: min(92vh, 820px);
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(8, 18, 36, 0.28);
  }
}

/* Masaüstü — liste & detay */
@media (min-width: 1024px) {
  .hs-modal-overlay:has(.hs-modal--desk-list),
  .hs-modal-overlay:has(.hs-modal--desk-detail) {
    padding: 24px;
    align-items: center;
    justify-content: center;
  }

  .hs-modal.hs-modal--desk-list,
  .hs-modal.hs-modal--desk-detail {
    flex: none;
    display: flex;
    flex-direction: column;
    width: min(1120px, 96vw);
    max-width: min(1120px, 96vw);
    height: auto;
    max-height: min(92dvh, 860px);
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(8, 18, 36, 0.32);
    overflow: hidden;
    background: #fff;
    animation: hsDeskIn .28s ease;
  }
  @keyframes hsDeskIn {
    from { transform: scale(.97); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }

  .hs-modal.hs-modal--desk-list .hs-list-view .hs-modal-head,
  .hs-modal.hs-modal--desk-detail .hs-detail-view > .hs-modal-head { display: none !important; }

  .hs-modal.hs-modal--desk-list .hs-list-view,
  .hs-modal.hs-modal--desk-detail .hs-detail-view {
    position: relative;
    inset: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: min(92dvh, 860px);
    max-height: min(92dvh, 860px);
  }

  .hs-modal.hs-modal--desk-list .hs-modal-body--desk-list {
    padding: 0;
    overflow: hidden;
    background: #fff;
    flex: 1;
    min-height: 0;
  }

  .hs-desk-pick {
    display: flex;
    flex: 1;
    min-height: 0;
    height: 100%;
  }

  .hs-desk-sidebar {
    flex: 0 0 320px;
    width: 320px;
    background: linear-gradient(180deg, #b71c1c 0%, #8b1a1a 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
  }
  .hs-desk-sidebar-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 28px 24px 12px;
  }
  .hs-desk-brand {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
  }
  .hs-desk-brand-ico {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
  }
  .hs-desk-brand-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.15;
  }
  .hs-desk-brand-sub {
    margin: 4px 0 0;
    font-size: .82rem;
    opacity: .85;
  }
  .hs-desk-intro {
    margin: 0 0 18px;
    font-size: .84rem;
    line-height: 1.55;
    opacity: .88;
  }
  .hs-desk-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .hs-desk-features li {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .hs-desk-feat-ico {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
  }
  .hs-desk-feat-ico i { font-size: .88rem; line-height: 1; }
  .hs-desk-feat-copy strong {
    display: block;
    font-size: .86rem;
    font-weight: 700;
    margin-bottom: 3px;
  }
  .hs-desk-feat-copy span {
    display: block;
    font-size: .74rem;
    opacity: .78;
    line-height: 1.45;
  }
  .hs-desk-sidebar-foot {
    flex-shrink: 0;
    padding: 8px 24px 64px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 1;
  }
  .hs-desk-kp-logo-wrap {
    width: min(210px, 88%);
    height: 42px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hs-desk-kp-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: .98;
  }
  .hs-desk-tagline {
    min-height: 2.8em;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hs-desk-tagline-text {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
    transition: opacity .38s ease, transform .38s ease;
  }
  .hs-desk-tagline.is-changing .hs-desk-tagline-text {
    opacity: 0;
    transform: translateY(6px);
  }
  .hs-desk-tagline-text em {
    font-style: normal;
    font-weight: 800;
    background: linear-gradient(90deg, #fecaca 0%, #fde68a 55%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hs-desk-skyline {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 72' fill='none'%3E%3Cpath d='M0 72V48l24-8 20 12 28-20 32 16 24-28 36 12 28-16 20 24 32-8 16 20 40-12 20 20V72H0z' fill='rgba(255,255,255,0.08)'/%3E%3C/svg%3E") bottom center / cover no-repeat;
    pointer-events: none;
  }

  .hs-desk-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
  }
  .hs-desk-main-top {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px 12px;
    background: #fff;
    border-bottom: 1px solid #e8ecf3;
  }
  .hs-desk-main-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--hs-text);
  }
  .hs-desk-back,
  .hs-desk-close {
    border: 1px solid #e8ecf3;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    color: var(--hs-text);
    transition: background .15s, border-color .15s;
  }
  .hs-desk-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    font-size: .82rem;
    font-weight: 700;
  }
  .hs-desk-back:hover { background: #f1f5f9; }
  .hs-desk-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    flex-shrink: 0;
  }
  .hs-desk-close:hover { background: #f1f5f9; color: #1e293b; }

  .hs-desk-main-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 12px 22px 22px;
  }
  .hs-desk-main-scroll .hs-filters {
    padding-top: 0;
    margin-bottom: 14px;
  }

  .hs-desk-rows {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .hs-desk-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e8ecf3;
    border-radius: 16px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    box-shadow: var(--hs-card-shadow);
    transition: border-color .15s, box-shadow .15s, transform .15s;
  }
  .hs-desk-row:hover {
    border-color: #fecaca;
    box-shadow: 0 8px 22px rgba(198, 40, 40, 0.1);
    transform: translateY(-1px);
  }
  .hs-desk-row > .fa-chevron-right {
    margin-left: auto;
    color: #cbd5e1;
    font-size: .78rem;
  }
  .hs-desk-row-ico {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
  }
  .hs-desk-row-ico--logo {
    background: #fff !important;
    border: 1px solid #e8ecf3;
    padding: 4px;
  }
  .hs-desk-row-ico--logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
  }
  .hs-desk-row-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
  }
  .hs-desk-row-copy strong {
    font-size: .88rem;
    font-weight: 800;
    color: var(--hs-text);
    line-height: 1.25;
  }
  .hs-desk-row-badge {
    display: inline-block;
    font-size: .62rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    background: #ffebee;
    color: #c62828;
    width: fit-content;
  }
  .hs-desk-row-meta {
    font-size: .72rem;
    color: var(--hs-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Detay */
  .hs-modal.hs-modal--desk-detail {
    width: min(1140px, 96vw);
    max-width: min(1140px, 96vw);
    max-height: min(92dvh, 820px);
  }
  .hs-modal.hs-modal--desk-detail .hs-detail-view {
    height: min(92dvh, 820px);
    max-height: min(92dvh, 820px);
  }

  .hs-desk-detail {
    display: flex;
    flex: 1;
    min-height: 0;
    height: 100%;
    background: #fff;
  }
  .hs-desk-detail-sidebar {
    flex: 0 0 360px;
    width: 360px;
    border-right: 1px solid #e8ecf3;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    background: #fff;
  }
  .hs-desk-detail-sidebar .hs-detail-cover {
    flex-shrink: 0;
    height: 160px;
    min-height: 160px;
  }
  .hs-desk-detail-sidebar .hs-detail-cover.is-placeholder {
    height: 180px;
    min-height: 180px;
  }
  .hs-desk-detail-side-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0 20px 20px;
    margin-top: -48px;
    position: relative;
    z-index: 2;
    text-align: center;
  }
  .hs-desk-detail-side-body .hs-detail-logo-wrap {
    margin: 0 auto 12px;
    width: 96px;
    height: 96px;
  }
  .hs-desk-detail-side-body .hs-detail-identity {
    padding: 0 0 14px;
  }
  .hs-action-grid--desk-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 0;
  }
  .hs-action-grid--desk-side .hs-action-btn {
    min-height: 88px;
    padding: 12px 8px;
  }

  .hs-desk-detail-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    min-height: 0;
  }
  .hs-desk-detail-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 18px 22px 22px;
    background: #f8fafc;
  }
  .hs-desk-detail-scroll .hs-info-list { margin-bottom: 18px; }
  .hs-desk-detail-scroll .hs-chip-scroll {
    flex-wrap: wrap;
    overflow: visible;
  }
  .hs-desk-detail-scroll .hs-doctor-scroll {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
  }
  .hs-desk-detail-scroll .hs-map-embed { height: 260px; }
  .hs-desk-detail-main .hs-emergency-bar {
    border-radius: 0;
  }
}

@media (min-width: 1280px) {
  .hs-desk-sidebar { flex: 0 0 340px; width: 340px; }
  .hs-desk-rows { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hs-desk-detail-sidebar { flex: 0 0 380px; width: 380px; }
  .hs-desk-detail-scroll .hs-doctor-scroll { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
