.external-service-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.field-unit__field input[type="text"] {
  max-width: 26rem;
}

.field-unit__choice {
  display: block;
  margin-bottom: 0.5rem;
}

.navigation__group-label {
  color: #7b808c;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 1.5rem 0 0.75rem -0.6rem;
  text-transform: uppercase;
}

.page-subtitle {
  color: #6b7684;
  font-size: 0.875rem;
  margin: 0.25rem 0 0;
}

.page-actions {
  margin-left: auto;
  position: relative;
}

.page-actions summary {
  list-style: none;
}

.page-actions summary::-webkit-details-marker {
  display: none;
}

.page-actions__menu {
  background: #fff;
  border: 1px solid #dfe0e1;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.08);
  min-width: 12rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.25rem);
  z-index: 10;
}

.page-actions__menu button {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0.6rem 0.9rem;
  text-align: left;
  width: 100%;
}

.page-actions__menu button:hover {
  background: #f6f7f7;
}

.confirm-dialog {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.25);
  max-width: 28rem;
  padding: 1.25rem;
}

.confirm-dialog::backdrop {
  background: rgb(15 20 25 / 0.45);
}

.confirm-dialog h2 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.confirm-dialog__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

.google-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

.status-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
}

.status-card {
  border: 1px solid #dfe0e1;
  border-radius: 8px;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem;
  text-decoration: none;
}

a.status-card:hover {
  border-color: #1976d2;
}

.status-card__label {
  color: #6b7684;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-card__value {
  font-size: 1.1rem;
}

.status-card__link {
  color: #1976d2;
  font-size: 0.875rem;
  margin-top: auto;
}

.status-badge {
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.1rem 0.6rem;
  white-space: nowrap;
}

.status-badge--ok {
  background: #e7f5ec;
  color: #1f7a3f;
}

.status-badge--bad {
  background: #fdecea;
  color: #b42318;
}

.status-badge--warn {
  background: #fff4d6;
  color: #8a5a00;
}

.status-badge--none {
  background: #eef0f3;
  color: #5b6470;
}

.tabs {
  border-bottom: 1px solid #dfe0e1;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 0 2.5rem;
}

.tabs__tab {
  border-bottom: 2px solid transparent;
  color: #6b7684;
  padding: 0.6rem 0;
  text-decoration: none;
}

.tabs__tab--active {
  border-bottom-color: currentcolor;
  color: #293f54;
  font-weight: 700;
}

.tabs__tab--attention {
  color: #b42318;
}

.section-heading {
  display: flex;
  font-size: 1.1rem;
  justify-content: space-between;
}

.section-heading a {
  font-size: 0.875rem;
  font-weight: 400;
}

.empty-state,
.muted {
  color: #6b7684;
}

.back-link {
  font-size: 0.875rem;
}
