/* ────────────────────────────────────────────────────────────────────────
 * ASCENT — Phase 10 CSS split (2026-08-20, PARALLEL_DEV_PLAN.md).
 *
 * WARNING -- READ BEFORE TOUCHING <link> TAGS IN Ascent_Dashboard.html --
 * This file is one of twelve pieces of what used to be a single 2,142-line
 * <style> block inside Ascent_Dashboard.html. The split is a byte-exact,
 * order-preserving cut -- verified by concatenating all twelve files back
 * together and diffing against the original block (identical, zero bytes
 * different). That means the CSS cascade today is unchanged from before
 * the split, PROVIDED the <link rel="stylesheet"> tags for these files
 * stay in the exact order listed in ARCHITECTURE.md's "File split in
 * Phase 10" section.
 *
 * Several rules across these files reuse the same class name with a
 * different definition in a different file (this was already true inside
 * the single original block -- see this repo's shell-duplicate-and-
 * agent-cards.css for the clearest example). Same-specificity CSS
 * resolves by *source order*: whichever rule loads last wins. Reordering
 * these <link> tags -- alphabetizing them, "cleaning up" the <head>,
 * inserting a new file in the middle -- can silently flip which rule
 * wins, with no error and no obvious symptom beyond something looking
 * subtly wrong on one tab. If you add new CSS, prefer appending a new
 * file at the END of the <link> list over inserting into this sequence.
 * ──────────────────────────────────────────────────────────────────────── */

/* Source: original Ascent_Dashboard.html lines 2078-2132 (pre-split). */
/* 2026-10-17: the old Quinn Flier Builder was removed (replaced by Marketing → Flyers). What remains: the shared Canva template picker and the listing wizard chip row. */


  /* ── Canva template picker (2026-09-19) ─────────────────────────
   * Shared grid/card styles used both inline in the Flier Builder's rail
   * ("Choose a Template" section) and inside the standalone
   * #canva-picker-overlay used by Quinn's composer -- one visual language
   * for "pick a Canva template" wherever it shows up. */
  .canva-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); gap:10px; }
  .canva-grid-loading { grid-column:1/-1; display:flex; align-items:center; gap:8px; padding:20px; color:var(--dim); font-size:12px; }
  .canva-grid-loading i { font-size:16px; animation:flier-spin 1s linear infinite; }
  @keyframes flier-spin { to { transform:rotate(360deg); } }
  .canva-grid-empty { grid-column:1/-1; text-align:center; padding:24px 16px; border:1.5px dashed var(--border); border-radius:10px; background:var(--off-white); }
  .canva-grid-empty i { font-size:22px; color:var(--gray); margin-bottom:6px; display:block; }
  .canva-grid-empty-title { font-size:12.5px; font-weight:700; color:var(--dim); }
  .canva-grid-empty-sub { font-size:11px; color:var(--gray); margin-top:3px; max-width:320px; margin-left:auto; margin-right:auto; }
  .canva-grid-card { display:flex; flex-direction:column; border:1.5px solid var(--border); border-radius:10px; overflow:hidden; background:#fff; cursor:pointer; padding:0; font-family:inherit; text-align:left; transition:border-color .15s,transform .1s; }
  .canva-grid-card:hover { border-color:var(--coral-300); transform:translateY(-1px); }
  .canva-grid-card:disabled, .canva-grid-card-busy { opacity:.55; cursor:wait; transform:none; }
  .canva-grid-card img { width:100%; aspect-ratio:3/4; object-fit:cover; display:block; background:var(--mid); }
  .canva-grid-card-placeholder { width:100%; aspect-ratio:3/4; display:flex; align-items:center; justify-content:center; background:var(--mid); color:var(--gray); font-size:20px; }
  .canva-grid-card-title { font-size:10.5px; font-weight:700; color:var(--ink); padding:6px 8px; }
  .canva-picker-skip { margin-top:10px; text-align:center; }
  .canva-picker-skip button { background:none; border:none; color:var(--dim); font-size:11px; font-weight:600; cursor:pointer; padding:4px; font-family:inherit; text-decoration:underline; }
  .canva-applied-banner { display:flex; align-items:center; gap:8px; background:var(--teal-100); border:1px solid var(--teal-500); border-radius:8px; padding:8px 10px; font-size:11.5px; color:var(--teal-600); font-weight:600; margin-bottom:10px; }
  .canva-applied-banner i { font-size:14px; flex-shrink:0; }
  .canva-applied-banner button { margin-left:auto; background:none; border:none; color:var(--teal-600); font-size:11px; font-weight:700; text-decoration:underline; cursor:pointer; padding:0; font-family:inherit; flex-shrink:0; }

  /* Standalone overlay version (Quinn composer's "Choose Canva template"
   * button) -- same .canva-grid/.canva-grid-card visuals, wrapped in its
   * own small fixed-overlay shell rather than reusing .quinn-composer's or
   * .flier-composer's, since it needs to stack ON TOP of either of those
   * (z-index above both) and is otherwise unrelated to their layout. */
  .canva-picker-overlay { position:fixed; inset:0; z-index:8700; display:none; align-items:center; justify-content:center; padding:28px; background:rgba(17,17,20,.6); backdrop-filter:blur(3px); }
  .canva-picker-overlay.open { display:flex; }
  .canva-picker-card { width:min(640px,100%); max-height:calc(100vh - 56px); display:flex; flex-direction:column; background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 28px 90px rgba(17,17,20,.3); }
  .canva-picker-head { display:flex; align-items:center; gap:10px; padding:16px 18px; background:var(--coral-200); border-bottom:1px solid var(--coral-300); flex-shrink:0; }
  .canva-picker-title { font-size:14px; font-weight:850; color:var(--ink); flex:1; }
  .canva-picker-close { width:30px; height:30px; border-radius:9px; border:none; background:rgba(255,255,255,.6); color:var(--ink); font-size:16px; cursor:pointer; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .canva-picker-body { padding:18px; overflow-y:auto; flex:1; min-height:0; }

  /* Wizard chip row */
  .nl-wiz-chip { font-size:11px;padding:3px 10px;border-radius:100px;background:var(--card-hi);color:var(--dim);border:1px solid var(--border);cursor:pointer;font-family:inherit;font-weight:500;transition:all 0.15s;white-space:nowrap; }
  .nl-wiz-chip:hover { border-color:var(--coral);color:var(--coral); }
  .nl-wiz-chip-done { background:var(--coral);color:#fff;border-color:var(--coral); }
  .nl-wiz-chip-active { background:rgba(232,96,58,0.1);color:var(--coral);border-color:rgba(232,96,58,0.5);font-weight:700; }

