/* Social → Queue & history pop-up, list + details (2026-10-08, js/quinn/queue-modal.js).
   Coral header matches the app's other pop-ups (.tc-modal-head): coral-200 band,
   coral-300 rule, black title and subtitle. */
.quinn-queue-card.qm { width: 1000px; height: min(720px, calc(100vh - 48px)); }
.qm-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--coral-200); border-bottom: 1px solid var(--coral-300); flex: 0 0 auto; }
.qm-ic { width: 22px; height: 22px; color: var(--coral-500); flex: 0 0 auto; }
.qm-grow { flex: 1; min-width: 0; }
.qm-title { font-size: 17px; font-weight: 800; color: var(--ink); }
.qm-sub { font-size: 14px; color: var(--ink); margin-top: 2px; }
.qm-x { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; font-size: 22px; line-height: 1; color: var(--ink); cursor: pointer; }
.qm-x:hover { background: rgba(255, 255, 255, .45); }
.qm-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); flex: 1 1 auto; min-height: 0; }
@media (max-width: 820px) { .qm-split { grid-template-columns: 1fr; overflow-y: auto; } .qm-left { border-right: 0 !important; border-bottom: 1px solid var(--border); } .qm-list { max-height: 320px; } }
.qm-left { border-right: 1px solid var(--border); padding: 14px 16px; display: flex; flex-direction: column; min-height: 0; }
.qm-list { overflow-y: auto; min-height: 0; padding-right: 2px; }
.qm-right { padding: 18px 20px; background: #f7f7f8; overflow-y: auto; min-width: 0; }
.qm-seg { display: inline-flex; align-self: flex-start; background: #efeff2; border-radius: 10px; padding: 3px; margin-bottom: 10px; }
.qm-seg button { font: 600 14px/1 'Inter', sans-serif; border: 0; background: none; color: var(--dim); padding: 8px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.qm-seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.qm-seg em { font-style: normal; color: var(--coral-500); margin-left: 4px; }
.qm-day { font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin: 12px 4px 4px; }
.qm-day:first-child { margin-top: 2px; }
.qm-day span { font-weight: 500; letter-spacing: 0; text-transform: none; margin-left: 4px; }
.qm-row { display: grid; grid-template-columns: 66px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; text-align: left; padding: 9px 10px; border: 1px solid transparent; border-radius: 9px; background: none; font: inherit; color: var(--ink); cursor: pointer; }
.qm-row:hover { background: #f5f5f7; }
.qm-row.sel { background: var(--coral-50); border-color: var(--coral-200); }
.qm-row:focus-visible, .qm-seg button:focus-visible, .qm-btn:focus-visible, .qm-x:focus-visible { outline: 2px solid var(--coral-500); outline-offset: 2px; }
.qm-t { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.qm-ttl { min-width: 0; }
.qm-ttl b { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qm-ttl small { display: block; font-size: 13.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qm-icons { display: inline-flex; align-items: center; }
.qm-icons img, .qm-icons svg { margin-right: 2px !important; }
.qm-pill { display: inline-block; font-size: 13.5px; font-weight: 700; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.qm-pill.sch { background: #d7f0ec; color: #0f766e; }
.qm-pill.pub { background: #ececef; color: #3a3d44; }
.qm-pill.rev { background: var(--coral-50); color: #a3401c; }
.qm-h { margin: 8px 0 0; font-size: 18px; }
.qm-when { margin: 2px 0 14px; color: var(--dim); font-size: 14px; }
.qm-preview { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.qm-preview img { display: block; width: 100%; max-height: 260px; object-fit: cover; }
.qm-preview p { margin: 0; padding: 12px 14px; font-size: 14px; line-height: 1.55; }
.qm-preview em { color: var(--dim); }
.qm-chlist { display: grid; gap: 6px; margin-bottom: 10px; }
.qm-ch { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: 9px; padding: 8px 10px; font-size: 14px; font-weight: 600; }
.qm-chs { font-size: 14px; font-weight: 600; color: var(--dim); }
.qm-chs.ok { color: #0f766e; }
.qm-chs.warn { color: #a3401c; }
.qm-note { font-size: 14px; color: var(--dim); margin: 0 0 12px; line-height: 1.5; }
.qm-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.qm-btn { display: inline-flex; align-items: center; gap: 6px; font-family: inherit; border: 1px solid var(--border); background: #fff; color: var(--ink); border-radius: 9px; padding: 9px 13px; cursor: pointer; white-space: nowrap; }
.qm-btn:disabled { opacity: .6; cursor: default; }
.qm-btn.qm-primary { background: var(--coral-500); border-color: var(--coral-500); color: #fff; }
.qm-btn.qm-quiet { border-color: transparent; background: none; color: var(--dim); }
.qm-btn.qm-danger:hover { color: #D85A30; }
.qm-foot { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--border); flex: 0 0 auto; }
.qm-empty { color: var(--dim); font-size: 14px; padding: 24px 8px; text-align: center; }
