    /* ── Bento Grid (Overview center) ───────────────────────────── */
    .bento-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: minmax(280px, auto) minmax(280px, auto);
      gap: 16px;
    }
    @media (max-width: 900px) { .bento-grid { grid-template-columns: 1fr; grid-template-rows: auto; } }

    /* ── Queue preview rows ─────────────────────────────────────── */
    .queue-row {
      display: flex; align-items: center; gap: 12px;
      padding: 10px 12px; border-radius: 14px;
      background: rgba(15, 23, 42, .55);
      border: 1px solid var(--pin-border-soft);
      transition: background 140ms ease, border-color 140ms ease;
    }
    .queue-row + .queue-row { margin-top: 8px; }
    .queue-row:hover { background: var(--pin-bg-2); border-color: rgba(37, 99, 235, .35); }
    .queue-thumb {
      width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
      background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
      overflow: hidden; position: relative;
    }
    .queue-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .queue-meta { flex: 1; min-width: 0; }
    .queue-title { font-size: 13px; font-weight: 500; color: var(--pin-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .queue-time { font-size: 11px; color: var(--pin-text-3); margin-top: 2px; }
    .queue-status {
      font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 999px;
      text-transform: uppercase; letter-spacing: .06em;
    }
    .queue-status--scheduled { background: var(--pin-cobalt-soft); color: var(--pin-cobalt-2); }
    .queue-status--draft     { background: rgba(148, 163, 184, .12); color: var(--pin-text-2); }
    .queue-status--published { background: rgba(16, 185, 129, .12); color: var(--pin-success); }

    /* ── Top performing pins grid ───────────────────────────────── */
    .top-pins { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .top-pin {
      position: relative; border-radius: 14px; overflow: hidden;
      border: 1px solid var(--pin-border);
      aspect-ratio: 4/3; background: var(--pin-bg-2);
    }
    .top-pin img { width: 100%; height: 100%; object-fit: cover; }
    .top-pin-overlay {
      position: absolute; inset: auto 0 0 0;
      padding: 10px 12px;
      background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, .92) 100%);
      display: flex; align-items: end; justify-content: space-between; gap: 8px;
    }
    .top-pin-metric { font-family: var(--font-mono, monospace); font-size: 13px; font-weight: 600; color: #fff; }
    .top-pin-label  { font-size: 10px; color: var(--pin-text-2); text-transform: uppercase; letter-spacing: .08em; }

    /* ── Bulk scheduler — master/detail ─────────────────────────── */
    .scheduler-grid {
      display: grid;
      grid-template-columns: minmax(280px, 360px) 1fr;
      gap: 16px; min-height: 600px;
    }
    @media (max-width: 900px) { .scheduler-grid { grid-template-columns: 1fr; } }

    .scheduler-list {
      background: var(--pin-bg-1);
      border: 1px solid var(--pin-border);
      border-radius: var(--pin-radius);
      padding: 12px; overflow: hidden;
      display: flex; flex-direction: column; min-height: 0;
    }
    .scheduler-search {
      width: 100%; padding: 9px 12px;
      background: var(--pin-bg-0);
      border: 1px solid var(--pin-border);
      border-radius: 12px;
      color: var(--pin-text); font-size: 12px;
      outline: none; transition: border-color 140ms ease;
    }
    .scheduler-search::placeholder { color: var(--pin-text-3); }
    .scheduler-search:focus { border-color: var(--pin-cobalt-2); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }

    .scheduler-list-body { flex: 1; overflow-y: auto; margin-top: 8px; padding-right: 2px; }
    .scheduler-list-body::-webkit-scrollbar { width: 6px; }
    .scheduler-list-body::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 3px; }

    .draft-row {
      display: flex; align-items: center; gap: 10px;
      padding: 8px; border-radius: 12px;
      cursor: pointer; transition: background 120ms ease, border-color 120ms ease;
      border: 1px solid transparent;
    }
    .draft-row + .draft-row { margin-top: 4px; }
    .draft-row:hover { background: var(--pin-bg-2); }
    .draft-row.is-active {
      background: var(--pin-cobalt-soft);
      border-color: rgba(37, 99, 235, .35);
    }
    .draft-thumb {
      width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
      overflow: hidden; background: var(--pin-bg-2);
    }
    .draft-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .draft-meta { flex: 1; min-width: 0; }
    .draft-title { font-size: 12px; font-weight: 500; color: var(--pin-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .draft-sub   { font-size: 10px; color: var(--pin-text-3); margin-top: 1px; }

    /* ── Editor (right pane) ────────────────────────────────────── */
    .scheduler-editor {
      background: var(--pin-bg-1);
      border: 1px solid var(--pin-border);
      border-radius: var(--pin-radius);
      padding: 24px; display: flex; flex-direction: column; gap: 18px;
      min-height: 0;
    }
    .editor-field-label { font-size: 11px; font-weight: 600; color: var(--pin-text-2); letter-spacing: .06em; text-transform: uppercase; }

    .editor-textarea {
      width: 100%; min-height: 140px; padding: 14px;
      background: var(--pin-bg-0);
      border: 1px solid var(--pin-border);
      border-radius: var(--pin-radius-sm);
      color: var(--pin-text); font-size: 13px; line-height: 1.55;
      font-family: var(--font-sans, Inter, sans-serif);
      outline: none; resize: vertical;
      transition: border-color 140ms ease;
    }
    .editor-textarea:focus { border-color: var(--pin-cobalt-2); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }

    /* Auto-SEO toggle */
    .seo-toggle {
      display: inline-flex; align-items: center; gap: 10px;
      padding: 6px 10px; border-radius: 999px;
      background: var(--pin-bg-2); border: 1px solid var(--pin-border);
      cursor: pointer; user-select: none;
    }
    .seo-switch {
      position: relative; width: 32px; height: 18px;
      background: #334155; border-radius: 999px;
      transition: background 160ms ease;
    }
    .seo-switch::after {
      content: ''; position: absolute; top: 2px; left: 2px;
      width: 14px; height: 14px; border-radius: 50%;
      background: #fff; transition: transform 160ms ease;
    }
    .seo-toggle.is-on .seo-switch { background: var(--pin-cobalt); }
    .seo-toggle.is-on .seo-switch::after { transform: translateX(14px); }
    .seo-label { font-size: 12px; font-weight: 500; color: var(--pin-text); }
    .seo-hint  { font-size: 10px; color: var(--pin-text-3); }

    /* Keyword chip-input */
    .chip-input {
      display: flex; flex-wrap: wrap; gap: 6px;
      padding: 10px;
      background: var(--pin-bg-0);
      border: 1px solid var(--pin-border);
      border-radius: var(--pin-radius-sm);
      min-height: 52px;
      transition: border-color 140ms ease;
    }
    .chip-input:focus-within { border-color: var(--pin-cobalt-2); box-shadow: 0 0 0 3px rgba(37, 99, 235, .15); }
    .chip {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 4px 10px; border-radius: 999px;
      background: var(--pin-cobalt-soft);
      border: 1px solid rgba(37, 99, 235, .35);
      color: var(--pin-cobalt-2); font-size: 12px; font-weight: 500;
    }
    .chip-x {
      cursor: pointer; opacity: .65;
      width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center;
      border-radius: 50%; transition: opacity 120ms ease, background 120ms ease;
    }
    .chip-x:hover { opacity: 1; background: rgba(37, 99, 235, .25); }
    .chip-input input {
      flex: 1; min-width: 100px; background: transparent; border: 0; outline: none;
      color: var(--pin-text); font-size: 12px; padding: 4px;
    }
    .chip-input input::placeholder { color: var(--pin-text-3); }

    /* ── Skeleton loaders ───────────────────────────────────────── */
    @keyframes pin-shimmer {
      0%   { background-position: -200% 0; }
      100% { background-position: 200% 0; }
    }
    .skeleton {
      background: linear-gradient(90deg, #1e293b 0%, #334155 50%, #1e293b 100%);
      background-size: 200% 100%;
      animation: pin-shimmer 1.5s ease-in-out infinite;
      border-radius: 8px;
    }

    /* ── Analytics — line chart card ────────────────────────────── */
    .analytics-card {
      position: relative;
      background: var(--pin-bg-1);
      border: 1px solid var(--pin-border);
      border-radius: var(--pin-radius);
      padding: 20px;
    }
    .analytics-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
    @media (max-width: 1000px) { .analytics-grid { grid-template-columns: 1fr; } }

    /* Top-seller glass annotation overlay (20% white) */
    .top-seller-overlay {
      position: absolute;
      pointer-events: none;
      background: rgba(255, 255, 255, .2);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, .3);
      border-radius: 14px;
      padding: 10px 14px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
    }
    .top-seller-overlay .ts-tag {
      font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
      color: #fff; opacity: .85;
    }
    .top-seller-overlay .ts-name  { font-size: 13px; font-weight: 700; color: #fff; margin-top: 2px; }
    .top-seller-overlay .ts-value { font-size: 11px; color: rgba(255, 255, 255, .85); margin-top: 1px; font-family: var(--font-mono, monospace); }

    .pin-leaderboard { display: flex; flex-direction: column; gap: 8px; }
    .pin-leader-row {
      display: flex; align-items: center; gap: 12px;
      padding: 10px; border-radius: 14px;
      background: rgba(15, 23, 42, .55);
      border: 1px solid var(--pin-border-soft);
    }
    .pin-leader-rank {
      width: 22px; height: 22px; border-radius: 6px;
      display: inline-flex; align-items: center; justify-content: center;
      background: var(--pin-bg-2); color: var(--pin-text-2);
      font-size: 11px; font-weight: 700; font-family: var(--font-mono, monospace);
    }
    .pin-leader-row.is-top .pin-leader-rank {
      background: var(--pin-cobalt); color: #fff;
    }
    .pin-leader-thumb { width: 36px; height: 36px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
    .pin-leader-thumb img { width: 100%; height: 100%; object-fit: cover; }
    .pin-leader-meta  { flex: 1; min-width: 0; }
    .pin-leader-title { font-size: 12px; color: var(--pin-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .pin-leader-sub   { font-size: 10px; color: var(--pin-text-3); margin-top: 1px; }
    .pin-leader-val   { font-family: var(--font-mono, monospace); font-size: 12px; color: var(--pin-text); font-weight: 600; }

