/* ──────────────────────────────────────────────────────────────
   For Organizers — home. Haus Vajbz. One sheet for
   templates/organizers/home.html on top of hv/organizers.css (hero, split,
   mock, cells, FAQ, CTA primitives live there). 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.
   The band surfaces come from data-surface="red|ink" on the section.
   ────────────────────────────────────────────────────────────── */

/* ── Hero: red band, copy | ink dashboard mock ───────────────── */
.oh-hero__copy { display: grid; gap: 1.1rem; align-content: center; min-width: 0; }
.oh-hero__fig { min-width: 0; }
.oh-actions .hv-btn > i { font-size: 0.85em; }

/* the mock's title bar: three square "window" dots, label on the right */
.oh-dots { display: inline-flex; gap: 5px; }
.oh-dot { width: 7px; height: 7px; background: var(--paper-3); }
.oh-dot--red { background: var(--red); }
.oh-dot--green { background: var(--green); }

/* stat tiles: a paper rule on top of each figure, no box */
.oh-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.oh-stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.oh-stat { display: grid; gap: 0.35rem; padding-top: 0.6rem; border-top: 2px solid var(--paper-3); min-width: 0; }
.oh-stats .org-mock__stat { font-size: clamp(1.15rem, 5.4vw, 1.7rem); overflow-wrap: anywhere; }
.oh-num--red { color: var(--red); }
.oh-num--green { color: var(--green); }

/* sales bars: label | track */
.oh-bars { display: grid; gap: 0.6rem; }
.oh-bar { display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); align-items: center; gap: 0.6rem; }
.oh-bar .org-mock__label { color: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oh-fill--green { background: var(--green); }
.oh-fill--paper { background: var(--paper); }
.oh-w-90 { width: 90%; }
.oh-w-72 { width: 72%; }
.oh-w-100 { width: 100%; }

/* ── Splits: a quiet rule closes each, the last one hands over to the band ── */
.oh-split { padding-bottom: 2.6rem; border-bottom: 1px solid var(--line); }
.oh-split--end { border-bottom: 0; padding-bottom: 0; }

/* ── Figures: the ink mock panels beside the copy ────────────── */
.oh-fig { min-width: 0; }
.oh-fig .org-mock__bar { align-items: center; }
.oh-fig .org-mock__bar .org-icon { width: 36px; height: 36px; font-size: 0.95rem; }
.oh-fig .org-mock__bar > span[aria-hidden] { font-size: 1rem; color: var(--paper); }
.oh-fig__title { margin: 0; font-size: 1.15rem; color: var(--paper); }
.oh-fig__big { margin: 0; font-size: clamp(1.5rem, 6.6vw, 2.3rem); color: var(--paper); }
.oh-fig__big em { color: var(--red); }
.oh-fig__sub { margin: 0; color: var(--paper-3); }

/* scan + staff rows: a status rule on the left instead of a tinted box */
.oh-rows { list-style: none; margin: 0; padding: 0; }
.oh-rows .org-mock__row { justify-content: flex-start; gap: 0.7rem; padding-left: 0.7rem; border-left: 3px solid var(--paper-3); }
.oh-rows .org-mock__row:last-child { border-bottom: 0; padding-bottom: 0.2rem; }
.oh-row--ok { border-left-color: var(--green); }
.oh-row--ok > i { color: var(--green); }
.oh-row--no { border-left-color: var(--red); }
.oh-row--no > i { color: var(--red); }

/* door staff: square avatar tile, name over a mono status with a green square */
.oh-staff .org-mock__row { border-left: 0; padding-left: 0; }
.oh-ava { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; background: var(--red); color: var(--paper); font-size: 0.7rem; }
.oh-ava--green { background: var(--green); }
.oh-ava--paper { background: var(--paper); color: var(--ink); }
.oh-staff__meta { display: grid; gap: 0.15rem; min-width: 0; }
.oh-staff__name { font-size: 0.9rem; color: var(--paper); }
.oh-active { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.62rem; color: var(--paper-3); }
.oh-active::before { content: ''; width: 6px; height: 6px; background: var(--green); }

/* live dashboard: eight square columns, the last one green */
.oh-chart { display: flex; align-items: flex-end; gap: 4px; height: 64px; padding-top: 0.5rem; border-top: 1px solid var(--ink-3); }
.oh-chart__bar { flex: 1 1 0; max-width: 24px; background: var(--red); }
.oh-chart__bar:nth-child(1) { height: 30%; }
.oh-chart__bar:nth-child(2) { height: 50%; }
.oh-chart__bar:nth-child(3) { height: 35%; }
.oh-chart__bar:nth-child(4) { height: 70%; }
.oh-chart__bar:nth-child(5) { height: 60%; }
.oh-chart__bar:nth-child(6) { height: 90%; }
.oh-chart__bar:nth-child(7) { height: 75%; }
.oh-chart__bar:nth-child(8) { height: 100%; }
.oh-chart__bar--green { background: var(--green); }

/* ── Cells: icon tile above the title ────────────────────────── */
.oh-cell .org-icon { margin-bottom: 0.3rem; }

/* ── FAQ: the shared +/− marker replaces the old chevron ─────── */
.oh-faq { max-width: 760px; }
.oh-faq summary > i { display: none; }

/* ── Tablet ──────────────────────────────────────────────────── */
@media (min-width: 768px) {
  .oh-hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: calc(var(--gutter) * 1.2); }
  .oh-hero__fig { width: 100%; max-width: 480px; justify-self: end; }
  .oh-stats { gap: 0.8rem; }
  .oh-split { padding-bottom: 3.2rem; }
  .oh-split--end { padding-bottom: 0; }
  .oh-chart { height: 80px; }
}

/* ── Desktop ─────────────────────────────────────────────────── */
@media (min-width: 1100px) {
  .oh-hero__inner { gap: calc(var(--gutter) * 2); }
  /* figure hugs the copy: right column pulls left, flipped column pulls right */
  .oh-fig .org-mock { max-width: 520px; margin-right: auto; }
  .org-split--flip .oh-fig .org-mock { margin-right: 0; margin-left: auto; }
}
