/* Ledger A - the Calendars page (step 14e): the list of connected calendars and the "where do I
   find my link?" help. Loaded after windows.css, before account.css. */

/* ---------- headings on the page ---------- */
.calendars-heading {
  margin: var(--space-22) 0 var(--space-8);
  font-size: var(--font-size-xl);
}

/* ---------- one connected calendar ---------- */
.connected-calendars {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.connected-calendar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-14);
  padding: var(--space-12) var(--space-16);
  border-radius: var(--radius-10);
  background: var(--colour-surface-frame);
}
.connected-calendar__main {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
}
.connected-calendar__name {
  overflow-wrap: anywhere;
}
.connected-calendar__details {
  color: var(--colour-text-muted);
  font-size: var(--font-size-sm);
}
.connected-calendar__problem {
  align-self: flex-start;
  padding: var(--space-3) var(--space-8);
  border-radius: var(--radius-6);
  background: var(--colour-danger-soft);
  color: var(--colour-danger-text);
  font-size: var(--font-size-sm);
}
.connected-calendar__buttons {
  display: flex;
  gap: var(--space-8);
  flex-shrink: 0;
}

/* ---------- where to find the link ---------- */
.link-help__item {
  border-bottom: var(--border-thin) solid var(--colour-line-strong);
}
.link-help__summary {
  padding: var(--space-10) 0;
  cursor: pointer;
  font-weight: var(--font-weight-medium);
}
.link-help__steps {
  margin: 0 0 var(--space-12);
  line-height: var(--line-height-body);
}
