#topNav,
nav:has(.svc-details),
header:has(.svc-details) {
  z-index: 100;
  overflow: visible;
}
.svc-details {
  position: relative;
  z-index: 110;
}
.svc-details > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  user-select: none;
}
.svc-details > summary::-webkit-details-marker {
  display: none;
}
.svc-caret {
  width: 14px;
  height: 14px;
  opacity: 0.85;
}
.svc-details[open] .svc-caret {
  transform: rotate(180deg);
}
.svc-panel {
  position: absolute;
  left: 0;
  top: 100%;
  padding-top: 8px;
  min-width: 17rem;
  z-index: 120;
}
.svc-panel-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(10, 61, 98, 0.22);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  padding: 6px 0;
}
.svc-panel-card a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #1f2937;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.3;
}
.svc-panel-card a:hover,
.svc-panel-card a.is-active {
  background: #eff6ff;
  color: #1565C0;
}
.svc-panel-card a.is-active {
  font-weight: 600;
}
.svc-panel-card .svc-icon {
  font-size: 16px;
  width: 1.5rem;
  text-align: center;
  flex-shrink: 0;
}
.svc-panel-card .svc-all {
  border-top: 1px solid #f3f4f6;
  margin-top: 4px;
  padding-top: 10px;
  color: #6b7280;
  font-size: 13px;
}
