/* The setup checklist at /welcome */

.gs-panel {
  display: grid;
  gap: var(--spacing-lg);
}

/* Compact row shared by the checklist sections */
.gs-row {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  padding: var(--spacing-xs) var(--spacing-md);
  margin: 0 calc(var(--spacing-md) * -1);
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  color: inherit;
}

.gs-row:hover {
  background: var(--theme-bg-subtle);
}

/* One hue per row, tuned for the light body rather than taken raw: a rainbow of
   pure hues on white is louder than the page it is introducing. Done drops the
   tint, because finished rows say the same thing as each other. */
.gs-row-icon {
  display: flex;
  align-items: center;
  height: 1.5em;
  flex-shrink: 0;
  color: var(--gs-tint, var(--color-primary));
}

.gs-row--blue { --gs-tint: #2d7ed8; }
.gs-row--teal { --gs-tint: #0f8a8a; }
.gs-row--amber { --gs-tint: #b06f00; }
.gs-row--green { --gs-tint: #15803d; }
.gs-row--rose { --gs-tint: #82354c; }

.gs-row-text {
  display: grid;
}

.gs-row-title {
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
}

.gs-row-description {
  color: var(--theme-text-secondary);
  font-size: var(--font-size-sm);
}

.gs-row.is-done .gs-row-icon {
  color: var(--color-success);
}

.gs-row.is-done .gs-row-title {
  color: var(--theme-text-muted);
  text-decoration: line-through;
}

/* Stepper */
.gs-stepper-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gs-stepper-item {
  display: flex;
  gap: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  position: relative;
}

.gs-stepper-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 1px;
  background: var(--theme-border);
}

.gs-stepper-marker {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--theme-border-strong);
  display: grid;
  place-items: center;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  background: var(--theme-bg);
  color: var(--theme-text-muted);
  z-index: 1;
}

.gs-stepper-item.is-done .gs-stepper-marker {
  border-color: var(--color-success);
  color: var(--color-success);
}

.gs-stepper-item.is-next .gs-stepper-marker {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.gs-stepper-title {
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  text-decoration: none;
}

.gs-stepper-item.is-done .gs-stepper-title {
  color: var(--theme-text-muted);
  text-decoration: line-through;
}

.gs-stepper-description {
  color: var(--theme-text-secondary);
  font-size: var(--font-size-sm);
  margin: var(--spacing-xs) 0 var(--spacing-sm);
}

.gs-essentials-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--spacing-lg);
}

.gs-essentials-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
}

.gs-essentials-count {
  color: var(--theme-text-muted);
  font-size: var(--font-size-sm);
}

.gs-optional-panels {
  display: grid;
  gap: var(--spacing-lg);
}

.gs-optional-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.gs-optional-panel-title {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
}

/* Record your first meeting instructions */
/* Re-asserts the UA centering the global reset strips, and the theme text
   color the UA's CanvasText would otherwise override. */
.record-guide-dialog {
  margin: auto;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--theme-text);
  width: 100%;
  max-width: 520px;
}

.record-guide-dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.record-guide-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding-bottom: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--theme-border-subtle);
  color: var(--theme-text-secondary);
  font-size: var(--font-size-sm);
}

.record-guide-logo {
  width: 40px;
  height: 40px;
}

.record-guide-steps {
  margin: 0;
  padding-left: var(--spacing-xl);
  display: grid;
  gap: var(--spacing-md);
  color: var(--theme-text-secondary);
  font-size: var(--font-size-base);
}

.record-guide-steps strong {
  color: var(--theme-text);
}

.record-guide-hint {
  margin-top: var(--spacing-lg);
  color: var(--theme-text-muted);
  font-size: var(--font-size-sm);
}
