/* ============================================================
   Clarify — Campaign Builder
   Layered ON TOP of suite.css. Only styles the `cb-` prefixed
   pieces the suite kit doesn't already cover: the 3-step wizard
   chrome, the recipient filter grid, the editor + live-preview
   split, the Quill toolbar tweaks + merge-tag chip, the review
   summary, and the AI drawer body.

   Everything visual reuses suite.css tokens (--s-*) so the page
   reads as the SAME monochrome tool-page chrome as Contacts and
   Email Centre. No new hues. Canadian spelling throughout.
   ============================================================ */

/* ---------- Spacing helpers ---------- */
.cb-mt    { margin-top: 1rem; }
.cb-mt-sm { margin-top: 0.5rem; }
.cb-mt-lg { margin-top: 1.75rem; }

/* required / optional field hints */
.cb-req, .cb-opt {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.05rem 0.35rem;
    border-radius: var(--s-r-pill);
    margin-left: 0.35rem;
    vertical-align: 1px;
}
.cb-req { background: var(--s-accent-soft); color: var(--s-accent); }
.cb-opt { background: var(--s-surface-3); color: var(--s-text-3); }

/* foot row under an input: lint message (left) + char counter (right) */
.cb-field-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.35rem;
    min-height: 1rem;
}

/* ============================================================
   Stepper
   ============================================================ */
.cb-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: nowrap;
}
.cb-step {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    appearance: none;
    border: none;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    padding: 0.3rem 0.4rem;
    border-radius: var(--s-r-md);
    transition: opacity var(--s-t-fast);
}
.cb-step:disabled { cursor: default; }
.cb-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--s-surface-3);
    color: var(--s-text-3);
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid var(--s-border);
    transition: all var(--s-t-fast);
    flex-shrink: 0;
}
.cb-step-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--s-text-3);
    transition: color var(--s-t-fast);
    white-space: nowrap;
}
.cb-step:hover:not(.is-active):not(:disabled) .cb-step-name { color: var(--s-text-2); }
.cb-step:hover:not(.is-active):not(:disabled) .cb-step-num { border-color: var(--s-border-strong); color: var(--s-text-2); }
.cb-step.is-active .cb-step-num {
    background: var(--s-accent);
    color: var(--s-on-accent);
    border-color: var(--s-accent);
}
.cb-step.is-active .cb-step-name { color: var(--s-text); }
.cb-step.is-done .cb-step-num {
    background: var(--s-accent-soft);
    color: var(--s-accent);
    border-color: var(--s-accent-border);
}
.cb-step-line {
    width: 48px;
    height: 1px;
    background: var(--s-border-strong);
    flex-shrink: 0;
}

/* ============================================================
   Step panels + footer actions
   ============================================================ */
.cb-panel { animation: cb-fade 0.22s ease; }
@keyframes cb-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.cb-step-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

/* ============================================================
   STEP 1 — Recipients
   ============================================================ */
.cb-audience-mode { flex-wrap: wrap; }
.cb-mode-body { /* shown/hidden by JS */ }

.cb-filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 1.25rem;
}
.cb-filter-dim { min-width: 0; }
.cb-chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    min-height: 32px;
}
.cb-chip-wrap:empty::after {
    content: "None available";
    font-size: 0.76rem;
    color: var(--s-text-3);
    font-style: italic;
}
.cb-filter-foot {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.cb-filter-foot .s-topbar-spacer { flex: 1; }

/* ============================================================
   STEP 2 — Compose
   ============================================================ */
.cb-compose-head { margin-bottom: 1rem; }

.cb-compose-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: stretch;
}

/* ---- editor (left) ---- */
.cb-editor-panel {
    display: flex;
    flex-direction: column;
    min-height: 560px;
    overflow: clip; /* clip Quill's square corners to the panel radius */
}
.cb-editor-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0.6rem 0.7rem;
    border-bottom: 1px solid var(--s-border);
    background: var(--s-surface);
}
.cb-editor-bar-group { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }

/* Quill toolbar — flatten Quill-snow's own borders so it sits flush
   inside the editor panel between the action bar and the editor body. */
#cb-toolbar.ql-toolbar.ql-snow {
    border: none;
    border-bottom: 1px solid var(--s-border);
    background: var(--s-surface-2);
    padding: 0.45rem 0.55rem;
}
#cb-toolbar.ql-snow .ql-formats { margin-right: 0.65rem; }
#cb-toolbar.ql-snow button,
#cb-toolbar.ql-snow .ql-picker-label { border-radius: var(--s-r-sm); }
#cb-toolbar.ql-snow button:hover { background: var(--s-surface-3); }

/* custom toolbar buttons (undo / redo / html-toggle / merge) sit in
   .ql-formats spans but aren't Quill format buttons */
.cb-tb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-width: 24px;
    height: 24px;
    padding: 0 0.25rem;
    border: none;
    background: transparent;
    color: var(--s-text-2);
    border-radius: var(--s-r-sm);
    cursor: pointer;
    transition: background var(--s-t-fast), color var(--s-t-fast);
}
.cb-tb-btn:hover { background: var(--s-surface-3); color: var(--s-text); }
.cb-tb-btn.is-active { background: var(--s-accent); color: var(--s-on-accent); }
.cb-tb-btn svg { stroke: currentColor; }

/* merge-tag dropdown */
.cb-merge-wrap { position: relative; display: inline-flex; }
.cb-merge-trigger { padding: 0 0.4rem; }
.cb-merge-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 30;
    min-width: 168px;
    padding: 0.35rem;
    background: var(--s-surface);
    border: 1px solid var(--s-border-strong);
    border-radius: var(--s-r-md);
    box-shadow: var(--s-shadow-md);
}
.cb-merge-dropdown button {
    display: block;
    width: 100%;
    text-align: left;
    appearance: none;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--s-text);
    padding: 0.45rem 0.55rem;
    border-radius: var(--s-r-sm);
    cursor: pointer;
}
.cb-merge-dropdown button:hover { background: var(--s-accent-soft); color: var(--s-accent); }

/* Quill editor body */
#cb-quill-editor.ql-container.ql-snow { border: none; flex: 1; }
#cb-quill-editor .ql-editor {
    min-height: 360px;
    font-family: var(--s-font);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--s-text);
    padding: 1.1rem 1.25rem;
}
#cb-quill-editor .ql-editor.ql-blank::before {
    color: var(--s-text-3);
    font-style: normal;
    left: 1.25rem;
}

/* merge-tag chip rendered inside the editor (and preview) */
.ql-merge-tag {
    display: inline-block;
    padding: 0.05em 0.4em;
    margin: 0 1px;
    background: var(--s-accent-soft);
    color: var(--s-accent);
    border: 1px solid var(--s-accent-border);
    border-radius: var(--s-r-sm);
    font-size: 0.86em;
    font-weight: 600;
    white-space: nowrap;
    cursor: default;
}

/* HTML source view */
.cb-html-source {
    display: flex;
    flex-direction: column;
    flex: 1;
    border-top: 1px solid var(--s-border);
}
.cb-html-source-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.7rem;
    background: var(--s-surface-2);
    border-bottom: 1px solid var(--s-border);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--s-text-3);
}
.cb-html-textarea {
    flex: 1;
    width: 100%;
    min-height: 340px;
    border: none;
    outline: none;
    resize: none;
    padding: 1rem 1.25rem;
    font-family: var(--s-mono);
    font-size: 0.8rem;
    line-height: 1.55;
    color: var(--s-text);
    background: var(--s-surface);
    tab-size: 2;
}

/* ---- preview (right) ---- */
.cb-preview-panel {
    display: flex;
    flex-direction: column;
    min-height: 560px;
    overflow: clip;
}
.cb-preview-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    border-bottom: 1px solid var(--s-border);
    background: var(--s-surface);
}
.cb-preview-frame-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
    background: var(--s-surface-2);
    overflow: auto;
    padding: 0;
}
.cb-preview-frame-wrap.is-mobile { padding: 1rem 0; }
.cb-preview-frame {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
    transition: width var(--s-t), box-shadow var(--s-t);
}
.cb-preview-frame-wrap.is-mobile .cb-preview-frame {
    height: 100%;
    align-self: stretch;
    box-shadow: var(--s-shadow-md);
}

/* ============================================================
   STEP 3 — Review & send
   ============================================================ */
.cb-review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: start;
    margin-bottom: 1rem;
}
.cb-summary { display: flex; flex-direction: column; }
.cb-summary-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--s-border);
}
.cb-summary-row:last-child { border-bottom: none; }
.cb-summary-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--s-text-3);
    flex-shrink: 0;
}
.cb-summary-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--s-text);
    text-align: right;
    word-break: break-word;
}
.cb-summary-value.cb-muted, .cb-muted { color: var(--s-text-3); font-weight: 500; }

.cb-casl-preview {
    font-size: 0.74rem;
    line-height: 1.55;
    color: var(--s-text-2);
    background: var(--s-surface-2);
    border: 1px solid var(--s-border);
    border-radius: var(--s-r-md);
    padding: 0.75rem 0.85rem;
    white-space: pre-wrap;
    word-break: break-word;
}

/* preflight */
.cb-preflight-status {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--s-text-2);
}
.cb-preflight-status.is-ok { color: var(--s-ok); }
.cb-preflight-status.is-fail { color: var(--s-danger); }
.cb-preflight-status.is-warn { color: var(--s-warn); }
.cb-preflight-list { list-style: none; margin: 0.5rem 0 0; padding: 0; }

/* full-width final email preview */
.cb-review-email { display: flex; flex-direction: column; overflow: clip; }
.cb-review-frame-wrap {
    background: var(--s-surface-2);
    display: flex;
    justify-content: center;
    padding: 1.25rem 0;
    max-height: 620px;
    overflow: auto;
}
.cb-review-frame {
    width: 100%;
    max-width: 600px;
    min-height: 480px;
    border: none;
    background: #fff;
    box-shadow: var(--s-shadow-sm);
}

/* ============================================================
   AI drawer body
   ============================================================ */
.cb-ai-tabs { padding: 0 1.25rem; }
.cb-ai-progress {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--s-text-2);
}
.cb-ai-error {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--s-danger);
    background: var(--s-danger-soft);
    border: 1px solid var(--s-danger-border);
    border-radius: var(--s-r-md);
    padding: 0.6rem 0.75rem;
}

/* refine tab */
.cb-refine-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.cb-edit-chat {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-height: 320px;
    overflow-y: auto;
}
.cb-edit-msg {
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 0.6rem 0.8rem;
    border-radius: var(--s-r-md);
    max-width: 88%;
}
.cb-edit-msg.is-user {
    align-self: flex-end;
    background: var(--s-accent);
    color: var(--s-on-accent);
    border-bottom-right-radius: var(--s-r-sm);
}
.cb-edit-msg.is-ai {
    align-self: flex-start;
    background: var(--s-surface-3);
    color: var(--s-text);
    border-bottom-left-radius: var(--s-r-sm);
}
.cb-edit-msg.is-ai.is-pending { color: var(--s-text-3); font-style: italic; }
.cb-edit-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--s-border);
}
.cb-edit-form .s-input { flex: 1; }

/* ============================================================
   Modals — extras
   ============================================================ */
.cb-modal-error {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--s-danger);
    margin-top: 0.85rem;
}
/* generic confirm sits ABOVE the segment/template/video modals */
.cb-modal-top { z-index: 210; }

/* templates picker grid */
.cb-templates-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.cb-template-card {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.9rem;
    border: 1px solid var(--s-border);
    border-radius: var(--s-r-md);
    background: var(--s-surface);
    transition: border-color var(--s-t-fast), box-shadow var(--s-t-fast);
}
.cb-template-card:hover { border-color: var(--s-border-strong); box-shadow: var(--s-shadow-sm); }
.cb-template-name { font-size: 0.92rem; font-weight: 700; color: var(--s-text); }
.cb-template-desc { font-size: 0.78rem; color: var(--s-text-2); line-height: 1.45; flex: 1; }
.cb-template-meta { font-size: 0.7rem; color: var(--s-text-3); }
.cb-template-actions { display: flex; gap: 0.4rem; margin-top: 0.5rem; }

/* ============================================================
   Editor v3 (editor_v3_email flag) — campaign-specific glue only.
   The shared editor chrome (.s-edit-bubble / -picker / -coach / -banner /
   -seg) lives in editor-suite.css. These rules only position those pieces
   inside the campaign layout + style the campaign-local bits (slash menu,
   AI rewrite popover, warm empty state). All inert until the flag lights them.
   ============================================================ */

/* Canvas bar — holds the Preview/Edit toggle above the split. */
.cb-canvas-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}
.cb-canvas-hint { font-size: 0.74rem; }
@media (max-width: 620px) { .cb-canvas-hint { display: none; } }

/* Preview mode: collapse the editor column, let the preview span full width.
   Toggled by .cb-preview-mode on the split wrapper. */
.cb-compose-split.cb-preview-mode { grid-template-columns: 1fr; }
.cb-compose-split.cb-preview-mode .cb-editor-panel { display: none; }

/* The editor panel anchors the empty-state overlay + (when editing) the
   hover-cue outline lives on the Quill blocks via .s-edit-hover (added in JS). */
.cb-editor-panel { position: relative; }

/* Slim the persistent toolbar (editor_v3_email): formatting (B/I/U/strike/
   colour/background/clean) moves to the selection bubble + brand picker, so
   hide just those Quill buttons. Structural + insertion stay (heading, lists,
   indent, align, image, video, merge, HTML source, undo/redo). The buttons
   remain in the DOM (display:none) so Quill's handlers never break. */
.cb-editor-panel.cb-slim-toolbar #cb-toolbar .ql-bold,
.cb-editor-panel.cb-slim-toolbar #cb-toolbar .ql-italic,
.cb-editor-panel.cb-slim-toolbar #cb-toolbar .ql-underline,
.cb-editor-panel.cb-slim-toolbar #cb-toolbar .ql-strike,
.cb-editor-panel.cb-slim-toolbar #cb-toolbar .ql-color,
.cb-editor-panel.cb-slim-toolbar #cb-toolbar .ql-background,
.cb-editor-panel.cb-slim-toolbar #cb-toolbar .ql-clean {
    display: none !important;
}

/* Hover-editable cue on Quill block elements (Edit mode only). A monochrome
   translation of the prototype's lift — applied to the live editor body. */
.cb-editor-lit .ql-editor > * {
    border-radius: var(--s-r-sm);
    transition: box-shadow var(--s-t-fast), background var(--s-t-fast);
}
.cb-editor-lit .ql-editor > *:hover {
    box-shadow: 0 0 0 1px var(--s-border-strong), 0 0 0 4px var(--s-accent-soft);
}

/* Warm empty-editor state — overlays the blank Quill body. */
.cb-empty-state {
    position: absolute;
    left: 50%;
    top: 58%;
    transform: translate(-50%, -50%);
    width: min(420px, 88%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    text-align: center;
    pointer-events: none;       /* clicks fall through to Quill; buttons re-enable */
}
.cb-empty-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: var(--s-r-pill);
    background: var(--s-surface-3);
    color: var(--s-text-3);
    margin-bottom: 0.15rem;
}
.cb-empty-ico svg { width: 22px; height: 22px; }
.cb-empty-title { font-size: 0.98rem; font-weight: 800; letter-spacing: -0.01em; color: var(--s-text); }
.cb-empty-text { font-size: 0.83rem; color: var(--s-text-2); line-height: 1.5; }
.cb-empty-text kbd {
    font-family: inherit;
    font-weight: 700;
    font-size: 0.72rem;
    color: var(--s-text);
    background: var(--s-surface);
    border: 1px solid var(--s-border-strong);
    border-radius: 5px;
    padding: 1px 6px;
}
.cb-empty-actions { display: flex; gap: 0.45rem; margin-top: 0.5rem; pointer-events: auto; }

/* In-place AI rewrite popover (scoped to the selection). Ink chrome. */
.cb-ai-pop {
    position: fixed;
    z-index: 94;
    width: 224px;
    padding: 11px;
    background: var(--s-surface);
    border: 1px solid var(--s-border);
    border-radius: var(--s-r-md);
    box-shadow: var(--s-shadow-lg);
    display: none;
}
.cb-ai-pop.is-shown { display: block; }
.cb-ai-pop-h {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 9px;
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--s-text-3);
}
.cb-ai-pop-h svg { width: 13px; height: 13px; stroke: var(--s-accent); stroke-width: 2; fill: none; }
.cb-ai-pop-opts { display: flex; flex-direction: column; gap: 6px; }
.cb-ai-pop-opt {
    text-align: left;
    font-family: inherit;
    font-size: 0.81rem;
    font-weight: 600;
    color: var(--s-text-2);
    cursor: pointer;
    background: var(--s-surface-2);
    border: 1px solid var(--s-border);
    border-radius: var(--s-r-sm);
    padding: 9px 11px;
    transition: background var(--s-t-fast), border-color var(--s-t-fast), color var(--s-t-fast);
}
.cb-ai-pop-opt:hover { background: var(--s-surface-3); border-color: var(--s-border-strong); color: var(--s-text); }
.cb-ai-pop-form { display: flex; gap: 6px; margin-top: 9px; }
.cb-ai-pop-form .s-input { flex: 1; min-width: 0; }
.cb-ai-pop-busy {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 9px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--s-text-2);
}
/* compact input used inside the popover */
.s-input-sm { height: 34px; padding: 0 0.6rem; font-size: 0.84rem; }

/* Slash insert menu — built on a suite card; grouped + caret-anchored. */
.cb-slash {
    position: fixed;
    z-index: 94;
    width: 232px;
    max-height: 320px;
    overflow-y: auto;
    padding: 6px;
    background: var(--s-surface);
    border: 1px solid var(--s-border);
    border-radius: var(--s-r-md);
    box-shadow: var(--s-shadow-lg);
    display: none;
}
.cb-slash.is-shown { display: block; }
.cb-slash-group {
    padding: 7px 9px 4px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--s-text-3);
}
.cb-slash-item {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 8px 9px;
    border: 0;
    background: transparent;
    border-radius: var(--s-r-sm);
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--s-text);
    text-align: left;
    cursor: pointer;
    transition: background var(--s-t-fast), color var(--s-t-fast);
}
.cb-slash-item svg { flex: 0 0 auto; width: 16px; height: 16px; stroke: var(--s-text-3); stroke-width: 2; fill: none; }
.cb-slash-item:hover,
.cb-slash-item.is-active {
    background: var(--s-accent-soft);
    color: var(--s-accent);
}
.cb-slash-item:hover svg,
.cb-slash-item.is-active svg { stroke: var(--s-accent); }
.cb-slash-empty { padding: 12px 10px; font-size: 0.8rem; color: var(--s-text-3); font-style: italic; }

/* Phone device frame for the preview (editor_v3_email parity). The existing
   .is-mobile width clamp stays; this adds the framed look + a one-line note. */
.cb-preview-frame-wrap.cb-phone-frame.is-mobile {
    padding: 1.1rem 0 1.6rem;
    position: relative;
}
.cb-preview-frame-wrap.cb-phone-frame.is-mobile .cb-preview-frame {
    max-width: 390px;
    border: 8px solid var(--s-text);
    border-radius: 30px;
    box-shadow: var(--s-shadow-lg);
}
.cb-phone-note {
    position: absolute;
    bottom: 0.45rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--s-text-3);
    white-space: nowrap;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
    .cb-compose-split { grid-template-columns: 1fr; }
    .cb-preview-panel { min-height: 460px; }
    .cb-review-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .cb-filter-grid { grid-template-columns: 1fr; }
    .cb-templates-grid { grid-template-columns: 1fr; }
    .cb-step-name { display: none; }      /* compact stepper on phones */
    .cb-step-line { width: 28px; }
    .cb-stepper { gap: 0.65rem; }
    .cb-step-actions { flex-wrap: wrap; }
}

/* Reduced-motion guard for the editor-v3 campaign-local additions
   (the shared .s-edit-* chrome is already guarded in editor-suite.css). */
@media (prefers-reduced-motion: reduce) {
    .cb-editor-lit .ql-editor > *,
    .cb-ai-pop-opt,
    .cb-slash-item {
        transition-duration: 0.001ms !important;
    }
}
