/* CSI mini: links between the chatbot and weather workspace. */
.csi-service-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.csi-service-header .csi-service-brand {
  min-width: 0;
  min-height: 44px;
}
.csi-service-header .csi-service-brand img { flex: 0 0 auto; }
.csi-service-nav { display: flex; align-items: center; margin-left: auto; }
#weatherPageHeader .csi-service-brand-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  min-width: 0;
}
.csi-service-link,
#weatherPageHeader .csi-service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 2px 7px;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  background: #eef2ff;
  color: #3730a3;
  font-family: inherit;
  font-size: calc(13px * var(--csi-text-scale, 1));
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  white-space: normal;
  word-break: keep-all;
  touch-action: manipulation;
}
.csi-service-link svg { width: 18px; height: 18px; flex: 0 0 18px; }
.csi-service-link__label { white-space: nowrap; }
.csi-service-link__hint { color: #4f46e5; font-size: .8em; font-weight: 600; white-space: nowrap; }
.csi-service-link:hover,
#weatherPageHeader .csi-service-link:hover { background: #e0e7ff; border-color: #a5b4fc; color: #312e81; }
.csi-service-link:focus-visible,
.csi-service-header .csi-service-brand:focus-visible { outline: 3px solid #6366f1; outline-offset: 3px; }
@media (max-width: 480px) {
  .csi-service-header-inner { gap: 8px; }
  .csi-service-link,
  #weatherPageHeader .csi-service-link { padding: 8px 10px; column-gap: 6px; }
  #weatherPageHeader .csi-service-brand-group { column-gap: 8px; }
}
@media print { .csi-service-header, .csi-service-link { display: none !important; } }
