/* Ngeblogging active-site workspace switcher v52 — single card, up to 12 sites. */
html[data-studio-production-v37] .sp37-active-site.sp52-site-switcher {
  position: relative !important;
  z-index: 40 !important;
  width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(280px, 1.25fr) minmax(260px, .8fr) auto !important;
  align-items: center !important;
  gap: 18px !important;
  margin: 0 0 18px !important;
  padding: 18px 20px !important;
  border: 1px solid #cddcf0 !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #f7faff 0%, #ffffff 58%, #f3f7ff 100%) !important;
  box-shadow: 0 18px 48px rgba(29, 62, 104, .08) !important;
  overflow: visible !important;
  isolation: isolate !important;
}

html[data-studio-production-v37] .sp52-site-switcher *,
html[data-studio-production-v37] .sp52-site-switcher *::before,
html[data-studio-production-v37] .sp52-site-switcher *::after {
  box-sizing: border-box !important;
}

html[data-studio-production-v37] .sp52-current-site {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 13px !important;
}

html[data-studio-production-v37] .sp52-current-avatar,
html[data-studio-production-v37] .sp52-site-avatar {
  display: grid !important;
  place-items: center !important;
  flex: 0 0 auto !important;
  border: 1px solid hsl(var(--sp52-hue) 70% 78%) !important;
  background: linear-gradient(145deg, hsl(var(--sp52-hue) 88% 96%), hsl(var(--sp52-hue) 75% 89%)) !important;
  color: hsl(var(--sp52-hue) 62% 34%) !important;
  font-family: "DM Sans", sans-serif !important;
  font-style: normal !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8) !important;
}

html[data-studio-production-v37] .sp52-current-avatar {
  width: 52px !important;
  height: 52px !important;
  border-radius: 15px !important;
  font-size: 14px !important;
}

html[data-studio-production-v37] .sp52-current-copy {
  min-width: 0 !important;
}

html[data-studio-production-v37] .sp52-eyebrow {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

html[data-studio-production-v37] .sp52-eyebrow > span {
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: #2d6edf !important;
  font: 900 9px/1.3 "DM Sans", sans-serif !important;
  letter-spacing: .13em !important;
  white-space: nowrap !important;
}

html[data-studio-production-v37] .sp52-eyebrow > span i,
html[data-studio-production-v37] .sp52-status-dot {
  width: 8px !important;
  height: 8px !important;
  display: inline-block !important;
  border-radius: 999px !important;
  background: #20a866 !important;
  box-shadow: 0 0 0 4px rgba(32, 168, 102, .12) !important;
}

html[data-studio-production-v37] .sp52-eyebrow em {
  flex: 0 0 auto !important;
  border: 1px solid #d7e3f1 !important;
  border-radius: 999px !important;
  padding: 5px 8px !important;
  background: rgba(255, 255, 255, .78) !important;
  color: #6f8095 !important;
  font: 800 9px/1 "DM Sans", sans-serif !important;
  font-style: normal !important;
  white-space: nowrap !important;
}

html[data-studio-production-v37] .sp52-current-copy h2 {
  min-width: 0 !important;
  margin: 6px 0 3px !important;
  color: #17253c !important;
  font: 600 clamp(21px, 2.3vw, 30px)/1.08 "Playfair Display", serif !important;
  letter-spacing: -.02em !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-studio-production-v37] .sp52-current-copy p {
  min-width: 0 !important;
  margin: 0 !important;
  color: #718096 !important;
  font: 500 11px/1.4 "DM Sans", sans-serif !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-studio-production-v37] .sp52-site-meta {
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 !important;
}

html[data-studio-production-v37] .sp52-site-meta > div {
  min-width: 0 !important;
  display: grid !important;
  gap: 4px !important;
  padding: 10px 11px !important;
  border: 1px solid #e5ebf2 !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .76) !important;
}

html[data-studio-production-v37] .sp52-site-meta dt {
  color: #8a96a7 !important;
  font: 800 8px/1.2 "DM Sans", sans-serif !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}

html[data-studio-production-v37] .sp52-site-meta dd {
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 !important;
  color: #344a63 !important;
  font: 800 10px/1.3 "DM Sans", sans-serif !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-studio-production-v37] .sp52-site-meta .sp52-status-dot {
  width: 6px !important;
  height: 6px !important;
  box-shadow: none !important;
}

html[data-studio-production-v37] .sp52-site-actions {
  display: flex !important;
  align-items: stretch !important;
  gap: 8px !important;
}

html[data-studio-production-v37] .sp52-site-actions > a,
html[data-studio-production-v37] .sp52-site-actions > button {
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: 11px !important;
  padding: 0 14px !important;
  font: 900 10px/1 "DM Sans", sans-serif !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

html[data-studio-production-v37] .sp52-site-actions > a {
  border: 1px solid #d8e2ed !important;
  background: #fff !important;
  color: #425a74 !important;
}

html[data-studio-production-v37] .sp52-site-actions > button {
  border: 1px solid #2d6edf !important;
  background: #2d6edf !important;
  color: #fff !important;
}

html[data-studio-production-v37] .sp52-site-actions > button i {
  font-style: normal !important;
  font-size: 15px !important;
  line-height: 1 !important;
  transition: transform .18s ease !important;
}

html[data-studio-production-v37] .sp52-site-switcher[data-open="true"] .sp52-site-actions > button i {
  transform: rotate(180deg) !important;
}

html[data-studio-production-v37] .sp52-panel[hidden],
html[data-studio-production-v37] .sp52-backdrop[hidden] {
  display: none !important;
}

html[data-studio-production-v37] .sp52-panel {
  position: absolute !important;
  top: calc(100% + 9px) !important;
  right: 0 !important;
  z-index: 92 !important;
  width: min(560px, calc(100vw - 40px)) !important;
  max-height: min(640px, calc(100vh - 120px)) !important;
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr) auto !important;
  overflow: hidden !important;
  border: 1px solid #ccd9e8 !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 28px 80px rgba(16, 38, 72, .22) !important;
  animation: sp52-panel-in .16s ease-out !important;
}

@keyframes sp52-panel-in {
  from { opacity: 0; transform: translateY(-5px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

html[data-studio-production-v37] .sp52-panel > header {
  position: static !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 16px !important;
  padding: 17px 18px 14px !important;
  border-bottom: 1px solid #edf0f4 !important;
  background: linear-gradient(135deg, #f6f9ff, #fff) !important;
}

html[data-studio-production-v37] .sp52-panel > header > div {
  min-width: 0 !important;
}

html[data-studio-production-v37] .sp52-panel > header small {
  color: #2d6edf !important;
  font: 900 9px/1.25 "DM Sans", sans-serif !important;
  letter-spacing: .13em !important;
}

html[data-studio-production-v37] .sp52-panel > header h3 {
  margin: 5px 0 3px !important;
  color: #17253c !important;
  font: 600 22px/1.12 "Playfair Display", serif !important;
}

html[data-studio-production-v37] .sp52-panel > header p {
  margin: 0 !important;
  color: #78869a !important;
  font: 400 10px/1.45 "DM Sans", sans-serif !important;
}

html[data-studio-production-v37] .sp52-panel > header > span {
  border-radius: 999px !important;
  padding: 7px 10px !important;
  background: #eaf2ff !important;
  color: #2d6edf !important;
  font: 900 10px/1 "DM Sans", sans-serif !important;
}

html[data-studio-production-v37] .sp52-search {
  position: relative !important;
  display: block !important;
  padding: 12px 14px 8px !important;
}

html[data-studio-production-v37] .sp52-search > span {
  position: absolute !important;
  left: 27px !important;
  top: 50% !important;
  transform: translateY(-32%) !important;
  color: #8391a3 !important;
  font-size: 17px !important;
  pointer-events: none !important;
}

html[data-studio-production-v37] .sp52-search input {
  width: 100% !important;
  min-height: 42px !important;
  border: 1px solid #dce4ee !important;
  border-radius: 11px !important;
  padding: 0 12px 0 38px !important;
  background: #f8fafc !important;
  color: #314860 !important;
  outline: 0 !important;
  font: 600 11px/1 "DM Sans", sans-serif !important;
}

html[data-studio-production-v37] .sp52-search input:focus {
  border-color: #2d6edf !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(45, 110, 223, .1) !important;
}

html[data-studio-production-v37] .sp52-site-list {
  min-height: 0 !important;
  display: grid !important;
  align-content: start !important;
  gap: 7px !important;
  overflow: auto !important;
  overscroll-behavior: contain !important;
  padding: 6px 14px 13px !important;
}

html[data-studio-production-v37] .sp52-site-row {
  width: 100% !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 11px !important;
  border: 1px solid #e3e9f0 !important;
  border-radius: 13px !important;
  padding: 10px 11px !important;
  background: #fff !important;
  color: #263c54 !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: border-color .15s ease, background .15s ease, transform .15s ease !important;
}

html[data-studio-production-v37] .sp52-site-row:hover,
html[data-studio-production-v37] .sp52-site-row:focus-visible {
  border-color: #a9c5f3 !important;
  background: #f7faff !important;
  transform: translateY(-1px) !important;
  outline: 0 !important;
}

html[data-studio-production-v37] .sp52-site-row[data-active="true"] {
  border-color: #87afea !important;
  background: linear-gradient(135deg, #edf4ff, #fff) !important;
  box-shadow: inset 3px 0 0 #2d6edf !important;
}

html[data-studio-production-v37] .sp52-site-row[hidden] {
  display: none !important;
}

html[data-studio-production-v37] .sp52-site-row.is-loading {
  opacity: .62 !important;
  pointer-events: none !important;
}

html[data-studio-production-v37] .sp52-site-avatar {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
  font-size: 11px !important;
}

html[data-studio-production-v37] .sp52-site-copy {
  min-width: 0 !important;
  display: grid !important;
  gap: 3px !important;
}

html[data-studio-production-v37] .sp52-site-copy > b,
html[data-studio-production-v37] .sp52-site-copy > small {
  min-width: 0 !important;
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

html[data-studio-production-v37] .sp52-site-copy > b {
  color: #22384f !important;
  font: 800 11px/1.3 "DM Sans", sans-serif !important;
}

html[data-studio-production-v37] .sp52-site-copy > small {
  color: #7c899b !important;
  font: 500 9px/1.35 "DM Sans", sans-serif !important;
}

html[data-studio-production-v37] .sp52-site-copy > span {
  min-width: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;
  margin-top: 2px !important;
}

html[data-studio-production-v37] .sp52-site-copy > span i {
  border-radius: 999px !important;
  padding: 3px 6px !important;
  background: #f0f3f7 !important;
  color: #66768b !important;
  font: 800 7px/1 "DM Sans", sans-serif !important;
  font-style: normal !important;
  text-transform: capitalize !important;
}

html[data-studio-production-v37] .sp52-site-state {
  min-width: 48px !important;
  display: grid !important;
  justify-items: center !important;
  gap: 2px !important;
  color: #718095 !important;
  font: 900 9px/1 "DM Sans", sans-serif !important;
}

html[data-studio-production-v37] .sp52-site-row[data-active="true"] .sp52-site-state {
  width: 34px !important;
  min-width: 34px !important;
  height: 34px !important;
  place-content: center !important;
  border-radius: 999px !important;
  background: #2d6edf !important;
  color: #fff !important;
  font-size: 12px !important;
}

html[data-studio-production-v37] .sp52-site-state small {
  color: inherit !important;
  font: 800 6px/1 "DM Sans", sans-serif !important;
}

html[data-studio-production-v37] .sp52-panel > footer {
  position: static !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 8px !important;
  padding: 12px 14px 14px !important;
  border-top: 1px solid #edf0f4 !important;
  background: #fbfcfe !important;
}

html[data-studio-production-v37] .sp52-panel > footer button {
  min-height: 42px !important;
  border: 1px solid #d7e1ec !important;
  border-radius: 10px !important;
  padding: 0 12px !important;
  background: #fff !important;
  color: #425a74 !important;
  font: 900 9px/1 "DM Sans", sans-serif !important;
  cursor: pointer !important;
}

html[data-studio-production-v37] .sp52-panel > footer button:last-child {
  border-color: #2d6edf !important;
  background: #2d6edf !important;
  color: #fff !important;
}

html[data-studio-production-v37] .sp52-panel > footer button:disabled {
  border-color: #e2e7ed !important;
  background: #eef1f5 !important;
  color: #9aa5b2 !important;
  cursor: not-allowed !important;
}

html[data-studio-production-v37] .sp52-empty {
  grid-column: 1 / -1 !important;
  min-width: 0 !important;
  display: grid !important;
  gap: 7px !important;
  justify-items: start !important;
}

html[data-studio-production-v37] .sp52-empty small {
  color: #2d6edf !important;
  font: 900 9px/1.3 "DM Sans", sans-serif !important;
  letter-spacing: .13em !important;
}

html[data-studio-production-v37] .sp52-empty h2 {
  margin: 0 !important;
  color: #17253c !important;
  font: 600 24px/1.1 "Playfair Display", serif !important;
}

html[data-studio-production-v37] .sp52-empty p {
  margin: 0 !important;
  color: #718097 !important;
  font: 400 11px/1.5 "DM Sans", sans-serif !important;
}

html[data-studio-production-v37] .sp52-empty button {
  min-height: 42px !important;
  border: 0 !important;
  border-radius: 10px !important;
  padding: 0 14px !important;
  background: #2d6edf !important;
  color: #fff !important;
  font: 900 10px/1 "DM Sans", sans-serif !important;
}

html[data-studio-production-v37] .sp52-error small {
  color: #b44b58 !important;
}

html[data-studio-production-v37] .sp52-backdrop {
  display: none !important;
}

@media (max-width: 1120px) {
  html[data-studio-production-v37] .sp37-active-site.sp52-site-switcher {
    grid-template-columns: minmax(250px, 1fr) minmax(250px, .9fr) !important;
  }

  html[data-studio-production-v37] .sp52-site-actions {
    grid-column: 1 / -1 !important;
    justify-content: flex-end !important;
  }
}

@media (max-width: 760px) {
  html[data-studio-production-v37] .sp37-active-site.sp52-site-switcher {
    z-index: 70 !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 13px !important;
    padding: 15px !important;
    border-radius: 16px !important;
  }

  html[data-studio-production-v37] .sp52-current-site {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    gap: 11px !important;
  }

  html[data-studio-production-v37] .sp52-current-avatar {
    width: 46px !important;
    height: 46px !important;
    border-radius: 13px !important;
    font-size: 12px !important;
  }

  html[data-studio-production-v37] .sp52-eyebrow {
    align-items: flex-start !important;
  }

  html[data-studio-production-v37] .sp52-eyebrow > span {
    font-size: 8px !important;
    white-space: normal !important;
  }

  html[data-studio-production-v37] .sp52-eyebrow em {
    padding: 4px 7px !important;
    font-size: 8px !important;
  }

  html[data-studio-production-v37] .sp52-current-copy h2 {
    font-size: 22px !important;
  }

  html[data-studio-production-v37] .sp52-site-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  html[data-studio-production-v37] .sp52-site-meta > div {
    padding: 9px !important;
  }

  html[data-studio-production-v37] .sp52-site-actions {
    grid-column: 1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr) !important;
  }

  html[data-studio-production-v37] .sp52-site-actions > a,
  html[data-studio-production-v37] .sp52-site-actions > button {
    width: 100% !important;
    padding: 0 10px !important;
  }

  html[data-studio-production-v37] .sp52-backdrop:not([hidden]) {
    position: fixed !important;
    inset: 0 !important;
    z-index: 90 !important;
    display: block !important;
    width: 100vw !important;
    height: 100dvh !important;
    border: 0 !important;
    padding: 0 !important;
    background: rgba(14, 27, 47, .38) !important;
    backdrop-filter: blur(2px) !important;
  }

  html[data-studio-production-v37] .sp52-panel {
    position: fixed !important;
    inset: auto 10px max(10px, env(safe-area-inset-bottom)) 10px !important;
    z-index: 100 !important;
    width: auto !important;
    max-height: min(78dvh, 660px) !important;
    border-radius: 20px !important;
    animation: sp52-sheet-in .18s ease-out !important;
  }

  @keyframes sp52-sheet-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }

  html[data-studio-production-v37] .sp52-panel > header {
    padding: 16px !important;
  }

  html[data-studio-production-v37] .sp52-panel > header h3 {
    font-size: 21px !important;
  }

  html[data-studio-production-v37] .sp52-site-list {
    padding: 5px 11px 12px !important;
  }

  html[data-studio-production-v37] .sp52-panel > footer {
    padding: 11px !important;
  }
}

@media (max-width: 430px) {
  html[data-studio-production-v37] .sp52-site-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html[data-studio-production-v37] .sp52-site-meta > div:last-child {
    grid-column: 1 / -1 !important;
  }

  html[data-studio-production-v37] .sp52-site-row {
    grid-template-columns: 39px minmax(0, 1fr) auto !important;
    gap: 9px !important;
    padding: 9px !important;
  }

  html[data-studio-production-v37] .sp52-site-avatar {
    width: 39px !important;
    height: 39px !important;
  }

  html[data-studio-production-v37] .sp52-panel > footer {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-studio-production-v37] .sp52-panel,
  html[data-studio-production-v37] .sp52-site-row,
  html[data-studio-production-v37] .sp52-site-actions > button i {
    animation: none !important;
    transition: none !important;
  }
}
