/* Styling for the server-rendered auth pages. They borrow the instrument's
   palette and controls from styles.css; only the single-column plate and the
   few elements the chart page has no equivalent of are defined here. */

.auth-plate {
  max-width: 34rem;
  margin: 0 auto;
  padding: 0 var(--gutter) 4rem;
  display: grid;
  gap: 1.5rem;
}

.auth-panel {
  display: grid;
  gap: 1rem;
}

.auth-panel h2 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0;
}

.masthead-name h1 a {
  color: inherit;
  text-decoration: none;
}

.field-note,
.auth-alt {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.875rem;
}

.auth-alt a {
  color: var(--brass);
}

.account-facts {
  display: grid;
  gap: 0.5rem;
  margin: 0;
}

.account-facts div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.5rem;
}

.account-facts dt {
  color: var(--text-dim);
}

.account-facts dd {
  margin: 0;
}

.auth-danger {
  border-color: var(--fire);
}

.btn-danger {
  border-color: var(--fire);
  color: var(--fire);
}

.btn-danger:hover {
  background: var(--fire);
  color: var(--ground);
}

.saved-charts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.saved-chart {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.75rem;
}

.saved-chart-info {
  display: grid;
  gap: 0.2rem;
}

.saved-chart-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.saved-chart-actions form { margin: 0; }

/* The signed-in affordance in the chart page's masthead. */
.masthead-auth {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  font-size: 0.875rem;
}

.masthead-auth a {
  color: var(--brass);
}

.auth-who {
  color: var(--text-dim);
}
