/* "Como fazer": guia da tela em slides. Print real à esquerda com marcações numeradas; instruções à direita.
   Usa a casca de diálogo do controls.css; cores do SVG por classe (sem estilo inline). */
:root .crm-operational .guide-dialog { width: min(1200px, calc(100vw - 32px)); }
:root .crm-operational .guide-dialog .dialog-head { display: flex; align-items: flex-start; justify-content: space-between; }
:root .crm-operational .guide-kicker { margin: 0 0 2px; color: var(--clean-focus, var(--muted)); font-size: .75rem; font-weight: 600; }
:root .crm-operational .guide-dialog .dialog-head h2 { margin: 0; }
:root .crm-operational .guide-body { padding: 20px 24px; }
:root .crm-operational .guide-slide { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
:root .crm-operational .guide-slide[hidden] { display: none; }

/* Print: moldura de janela, sem distorcer; altura limitada para caber com as instruções. */
:root .crm-operational .guide-figure { margin: 0; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 12px;
  background: color-mix(in srgb, var(--panel) 92%, var(--text)); }
:root .crm-operational .guide-shot { display: block; width: 100%; height: auto; max-height: min(62vh, 640px); border-radius: 6px;
  background: var(--panel); box-shadow: 0 1px 3px rgb(0 0 0 / 12%); }
:root .crm-operational .guide-hl { fill: color-mix(in srgb, var(--clean-focus, #0073ea) 8%, transparent); stroke: var(--clean-focus, #0073ea);
  stroke-width: 3; vector-effect: non-scaling-stroke; }
:root .crm-operational .guide-pin circle { fill: var(--clean-focus, #0073ea); stroke: #fff; stroke-width: 3; }
:root .crm-operational .guide-pin text { fill: #fff; font: 700 17px/1 system-ui, -apple-system, "Segoe UI", Arial, sans-serif; text-anchor: middle; }

/* Instruções */
:root .crm-operational .guide-side { display: grid; gap: 12px; align-content: start; min-width: 0; }
:root .crm-operational .guide-count { margin: 0; color: var(--muted); font-size: .75rem; }
:root .crm-operational .guide-side h3 { margin: 0; font-size: 1.125rem; font-weight: 650; line-height: 1.35; }
:root .crm-operational .guide-text { margin: 0; color: var(--muted); font-size: .875rem; line-height: 1.55; }
:root .crm-operational .guide-marks { display: grid; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; }
:root .crm-operational .guide-marks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start;
  font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
:root .crm-operational .guide-num { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: var(--clean-focus, #0073ea); color: #fff; font-size: .75rem; font-weight: 700; }
:root .crm-operational .guide-tip { margin: 4px 0 0; color: var(--muted); font-size: .8125rem; line-height: 1.55; }

/* Rodapé */
:root .crm-operational .guide-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px;
  border-top: 1px solid var(--line); flex-shrink: 0; }
:root .crm-operational .guide-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; min-width: 0; }
:root .crm-operational .guide-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--clean-border, var(--line)); }
:root .crm-operational .guide-dots span.is-current { width: 22px; border-radius: 4px; background: var(--clean-focus, var(--gold)); }
:root .crm-operational .guide-foot .btn:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 900px) {
  :root .crm-operational .guide-slide { grid-template-columns: minmax(0, 1fr); }
  :root .crm-operational .guide-shot { max-height: 46vh; }
}
@media (max-width: 600px) {
  :root .crm-operational .guide-body { padding: 16px; }
  :root .crm-operational .guide-foot { padding: 12px 16px; }
}
