.agv3-google-signin {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #c7ccd1;
  border-radius: 6px;
  background: #fff;
  color: #202124;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.agv3-google-signin:hover,
.agv3-google-signin:focus-visible {
  border-color: #6d747c;
  background: #f8f9fa;
}

.agv3-google-signin[hidden] {
  display: none;
}

.agv3-google-signin__mark {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #4285f4;
  font-weight: 800;
}

.agv3-auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  color: #6d747c;
  font-size: 12px;
}

.agv3-auth-divider::before,
.agv3-auth-divider::after {
  height: 1px;
  background: #d9dde1;
  content: "";
}

.agv3-calendar-connections {
  display: grid;
  gap: 10px;
}

.agv3-calendar-connection {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(28, 46, 35, 0.12);
}

.agv3-calendar-connection:last-child {
  border-bottom: 0;
}

.agv3-calendar-connection small {
  display: block;
  margin-top: 2px;
  color: #5e6b62;
}

.agv3-calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.agv3-calendar-actions > button {
  width: auto;
}

.agv3-calendar-state {
  color: #5e6b62;
  font-size: 13px;
}

.agv3-calendar-state.is-error {
  color: #9a2f2f;
}

.agv3-calendar-url {
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(28, 46, 35, 0.16);
  border-radius: 6px;
  background: #f4f7f4;
}

.agv3-calendar-url input {
  width: 100%;
}

.agv3-calendar-url-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.admin-google__heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.admin-google__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.admin-google__metric {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #dfe4e0;
  border-radius: 6px;
  background: #f7f9f7;
}

.admin-google__metric span {
  color: #5b675f;
  font-size: 12px;
}

.admin-google__metric strong {
  overflow-wrap: anywhere;
}

.admin-google__metric.is-ok {
  border-left: 4px solid #2f6b45;
}

.admin-google__metric.is-warn {
  border-left: 4px solid #bd7b1d;
}

.admin-google__table-wrap {
  overflow: auto;
}

.admin-google table {
  width: 100%;
  border-collapse: collapse;
}

.admin-google th,
.admin-google td {
  padding: 8px;
  border-bottom: 1px solid #e6e9e7;
  text-align: left;
  vertical-align: top;
}

.admin-google td small {
  display: block;
  margin-top: 3px;
  color: #667169;
}

@media (max-width: 700px) {
  .admin-google__heading {
    display: grid;
  }

  .agv3-calendar-connection {
    grid-template-columns: 1fr;
  }

  .agv3-calendar-url-row {
    grid-template-columns: 1fr;
  }
}
