/* ──────────────────────────────────────────────────────────────
   Organizers — Event Control (Haus Vajbz). One sheet for
   templates/organizers/event_control.html on top of hv/organizers.css.
   Mobile first; ≥768 and ≥1100 add columns. Tokens only (tokens.css +
   hv/theme.css): radius 0, no shadows, no gradients, rules instead of
   boxes, → as the ornament. Surfaces come from data-surface="red|ink"
   on the section; this sheet only lays out. Prefix: oc-.
   ────────────────────────────────────────────────────────────── */

/* ── Workflow: four steps on one rule ────────────────────────── */
.oc-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.oc-step { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.9rem; padding: 1.1rem 0 1.3rem; border-bottom: 1px solid var(--line); }
/* the connector: a vertical rule under the number, step to step */
.oc-step::before { content: ''; position: absolute; left: 17px; top: 0; bottom: 0; border-left: 1px solid var(--line); }
.oc-step:first-child::before { top: 1.1rem; }
.oc-step:last-child::before { bottom: auto; height: 1.1rem; }
.oc-step__n { position: relative; z-index: 1; width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0; font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.oc-step__content { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.oc-step__icon { width: 36px; height: 36px; font-size: 0.9rem; }
.oc-step__title { font-size: 1.15rem; }
.oc-step__desc { margin: 0; color: var(--text-dim); font-size: 0.92rem; line-height: 1.5; max-width: 40ch; }

/* ── Command center: the ink dashboard panel ─────────────────── */
.oc-mock { max-width: 900px; margin-inline: auto; }
.oc-mock__dots { display: inline-flex; gap: 5px; }
.oc-mock__dots span { display: block; width: 8px; height: 8px; background: var(--paper-3); }
.oc-mock__dots span:first-child { background: var(--red); }
.oc-mock__dots span:last-child { background: var(--green); }
.oc-mock__head { color: var(--paper); }
.oc-mock__stats { display: grid; gap: 0.8rem; }
.oc-mock__stat { display: grid; gap: 0.35rem; padding: 0.9rem 0; border-bottom: 1px solid var(--ink-3); }
.oc-mock__value { color: var(--paper); }
.oc-mock__value--red { color: var(--red); }
.oc-mock__value--green { color: var(--green); }

/* bar chart: twelve columns on the ink floor, heights by modifier */
.oc-chart { display: flex; align-items: flex-end; gap: 6px; height: 140px; padding-top: 0.4rem; border-bottom: 2px solid var(--paper); }
.oc-bar { flex: 1 1 0; min-width: 0; min-height: 8px; }
.oc-bar--red { background: var(--red); }
.oc-bar--green { background: var(--green); }
.oc-bar--paper { background: var(--paper); }
.oc-bar--35 { height: 35%; }
.oc-bar--40 { height: 40%; }
.oc-bar--50 { height: 50%; }
.oc-bar--55 { height: 55%; }
.oc-bar--60 { height: 60%; }
.oc-bar--65 { height: 65%; }
.oc-bar--70 { height: 70%; }
.oc-bar--75 { height: 75%; }
.oc-bar--80 { height: 80%; }
.oc-bar--85 { height: 85%; }
.oc-bar--90 { height: 90%; }
.oc-bar--95 { height: 95%; }

.oc-preview__caption { margin: 1rem auto 0; max-width: 900px; color: var(--text-dim); }

/* ── Tablet ──────────────────────────────────────────────────── */
@media (min-width: 768px) {
  /* steps go side by side on a top rule, the connector runs left → right */
  .oc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
  .oc-step { grid-template-columns: minmax(0, 1fr); padding: 1.3rem 0 1.5rem; }
  .oc-step::before { left: 0; right: 0; top: 0; bottom: auto; border-left: 0; border-top: 1px solid var(--line); }
  .oc-step:first-child::before { top: 0; }
  .oc-step:last-child::before { height: auto; }
  .oc-step__n { width: 40px; height: 40px; font-size: 0.82rem; }
  .oc-step__content { gap: 0.6rem; }
  .oc-mock__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.2rem; }
  .oc-mock__stat { border-bottom: 0; border-top: 1px solid var(--ink-3); padding: 0.8rem 0 0.4rem; }
  .oc-chart { height: 180px; gap: 10px; }
}

/* ── Desktop ─────────────────────────────────────────────────── */
@media (min-width: 1100px) {
  .oc-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .oc-step__title { font-size: 1.2rem; }
  .oc-chart { height: 220px; gap: 14px; }
}
