/* ============================================================================
   Panels, banners, notices and error boxes — the containers content sits in.
   ========================================================================== */

/* -------------------------------------------------------------- Panels ---- */

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: var(--sp-5);
  margin-bottom: var(--sp-5);
}
.panel > :last-child { margin-bottom: 0; }
.panel.centered { max-width: 46rem; margin: var(--sp-8) auto; }

/* No gradient: the hero earns its weight from type, not from a wash. */
.panel-hero { border-left: 3px solid var(--accent); }
.panel-hero h1 { font-size: 1.9rem; letter-spacing: -.025em; }

/* Eyebrow labels are set in the instrument face: small, spaced, monospace.
   They read as machine annotation rather than as a heading, which is what
   keeps them from competing with the real heading underneath. */
.step-label {
  display: block;
  font-family: var(--font-mono);
  font-size: .625rem;
  font-weight: 560;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  margin-bottom: var(--sp-2);
}

.banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4);
  margin-bottom: var(--sp-5);
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  border-radius: var(--r);
}
.banner-actions { display: flex; gap: var(--sp-2); }

.notice, .errors {
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid;
  border-left-width: 3px;
  border-radius: var(--r-sm);
  font-size: .9rem;
}
.notice { background: var(--warn-soft); border-color: var(--warn-border); border-left-color: var(--warn); }
.errors { background: var(--bad-soft); border-color: var(--bad-border); border-left-color: var(--bad); margin-top: var(--sp-4); }
.errors ul { margin: var(--sp-2) 0 0; padding-left: var(--sp-5); }
.errors li { margin-bottom: var(--sp-1); }
.errors li:last-child { margin-bottom: 0; }
