/* Marketing -> Social as "Plan / Results" (2026-10-08, js/quinn/social-plan-results.js). */
#brand-social-content-panel.sp-on #quinn-content-compact-row,
#brand-social-content-panel.sp-on #quinn-social-insights,
#brand-social-content-panel.sp-on #quinn-insights-row { display: none !important; }
#brand-social-content-panel.sp-on #brand-social-calendar-card .quinn-cal-action-group,
#brand-social-content-panel.sp-on #brand-social-calendar-card .quinn-cal-toolbar-divider { display: none; }
#sp-plan[hidden], #sp-results[hidden], .sp-banner[hidden], .sp-review[hidden] { display: none !important; }

.sp-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.sp-grow { flex: 1; }
.sp-switch { display: inline-flex; background: #efeff2; border-radius: 11px; padding: 3px; }
.sp-switch button { font-family: inherit; border: 0; background: none; color: var(--dim); padding: 9px 20px; border-radius: 9px; cursor: pointer; }
.sp-switch button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.sp-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; }
.sp-btn i { font-size: 15px; }
.sp-btn:hover { border-color: #c9cbd0; }
.sp-btn.sp-quiet { border-color: transparent; background: none; color: var(--dim); }
.sp-btn.sp-quiet:hover { color: var(--ink); background: #f3f3f5; }
.sp-btn.sp-primary { background: var(--coral-500); border-color: var(--coral-500); color: #fff; }
.sp-btn:focus-visible, .sp-switch button:focus-visible, .sp-seg button:focus-visible, .sp-link:focus-visible { outline: 2px solid var(--coral-500); outline-offset: 2px; }
#sp-drafts-slot .quinn-cal-drafts-wrap { position: relative; }
#sp-drafts-slot .quinn-cal-action.drafts { background: #fff; border: 1px solid var(--border); color: var(--ink); }

.sp-banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px 10px 14px; border-radius: 11px; background: var(--coral-100, #fde7df); margin-bottom: 10px; }
.sp-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral-500); flex: 0 0 auto; }
.sp-banner-text { flex: 1; min-width: 220px; font-size: 14.5px; }
.sp-review { margin-bottom: 12px; max-width: 560px; }

.sp-res-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.sp-res-head h3 { margin: 0; font-size: 15px; }
.sp-seg { display: inline-flex; border: 1px solid var(--border); border-radius: 9px; padding: 2px; background: #fff; }
.sp-seg button { font: 600 14px/1 'Inter', sans-serif; border: 0; background: none; color: var(--dim); padding: 7px 11px; border-radius: 7px; cursor: pointer; }
.sp-seg button.on { background: #f1f1f4; color: var(--ink); }
.sp-card { border: 1px solid var(--border); border-radius: 12px; background: #fff; min-width: 0; }
.sp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sp-kpi { padding: 13px 16px; border-left: 1px solid var(--border); min-width: 0; }
.sp-kpi:first-child { border-left: 0; }
.sp-kpi b { display: block; font-size: 23px; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.sp-kpi span { font-size: 14px; color: var(--dim); }
.sp-kpi em { font-style: normal; color: var(--coral-500); font-weight: 600; }
@media (max-width: 760px) { .sp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sp-kpi:nth-child(3) { border-left: 0; } .sp-kpi:nth-child(n+3) { border-top: 1px solid var(--border); } }
.sp-res-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
@media (max-width: 980px) { .sp-res-grid { grid-template-columns: 1fr; } }
.sp-card-h { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px 4px; }
.sp-card-h h3 { margin: 0; font-size: 14px; }
.sp-card-h span { font-size: 14px; color: var(--dim); }
.sp-tblwrap { overflow-x: auto; }
.sp-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.sp-tbl th { text-align: left; font-size: 13.5px; color: var(--dim); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 9px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.sp-tbl td { padding: 10px 14px; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sp-tbl tr:last-child td { border-bottom: 0; }
.sp-tbl .num { text-align: right; }
.sp-tbl tr.sp-off .sp-ch { color: var(--dim); }
.sp-ch { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.sp-pill { font-size: 13.5px; font-weight: 700; border-radius: 999px; padding: 3px 9px; }
.sp-pill.ok { background: #d7f0ec; color: #0f766e; }
.sp-link { background: none; border: 0; padding: 0; color: var(--coral-500); font-family: inherit; cursor: pointer; }
.sp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sp-foot { font-size: 14px; color: var(--dim); margin: 0; padding: 10px 14px 12px; line-height: 1.45; }
.sp-advice { padding: 4px 0; }
.sp-sub { padding: 12px 16px; }
.sp-sub + .sp-sub { border-top: 1px solid var(--border); }
.sp-sub h3 { margin: 0 0 4px; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.sp-sub h3 i { color: var(--coral-500); }
.sp-sub .sp-foot { padding: 4px 0 0; }
.sp-mix { display: flex; height: 12px; border-radius: 999px; overflow: hidden; margin: 12px 0 10px; background: #f1f1f4; }
.sp-mix span { display: block; height: 100%; }
.sp-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--dim); }
.sp-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 5px; vertical-align: 0; }
.sp-legend b { color: var(--ink); font-variant-numeric: tabular-nums; }
.sp-tip { display: flex; gap: 11px; align-items: flex-start; margin-top: 12px; }
.sp-tip-ic { flex: 0 0 30px; height: 30px; border-radius: 8px; background: #fdf0d5; color: #b45309; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.sp-tip h4 { margin: 4px 0 2px; font-size: 14.5px; }
.sp-tip p { margin: 0 0 8px; font-size: 14px; color: var(--dim); line-height: 1.45; }
.sp-review .quinn-today-review-card { background: #fff; }

/* 2026-10-08 follow-up (Mark): no outer border around the Social page,
   a tidy list view, and a full-month calendar by default. */
#brand-social-content-panel.sp-on { border: 0; border-radius: 0; background: transparent; box-shadow: none; padding: 20px 0 0; overflow: visible; } /* room under the page header's line (2026-11-25, Mark) */

.quinn-list-view .quinn-list-row { grid-template-columns: 112px 92px minmax(0, 1fr) auto; gap: 16px; padding: 12px 16px; }
.quinn-list-view .quinn-list-date { font-size: 14px; line-height: 1.35; }
.quinn-list-view .quinn-list-platform { flex-wrap: nowrap; gap: 4px; }
.quinn-list-view .quinn-list-platform img, .quinn-list-view .quinn-list-platform svg { margin-right: 0 !important; }
.quinn-list-view .quinn-list-title { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.quinn-list-view .quinn-list-title strong { font-size: 14px; color: var(--ink); }
.quinn-list-view .quinn-list-caption { font-size: 14px; color: var(--slate, #6b6f78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quinn-list-view .quinn-list-status { font-size: 13.5px; font-weight: 700; border-radius: 999px; padding: 3px 10px; white-space: nowrap; background: #ececef; color: #3a3d44; text-transform: none; }
.quinn-list-view .quinn-list-status.is-scheduled { background: #d7f0ec; color: #0f766e; }
.quinn-list-view .quinn-list-status.is-pending { background: var(--coral-100, #fde7df); color: #b23d1c; }
@media (max-width: 700px) { .quinn-list-view .quinn-list-row { grid-template-columns: 92px minmax(0, 1fr) auto; } .quinn-list-view .quinn-list-title { grid-column: 1 / -1; grid-row: 2; } }

.quinn-cal.month-view .quinn-cal-cell.q-other-month { background: #fafafb; }
.quinn-cal.month-view .quinn-cal-cell.q-other-month .quinn-cal-cell-date { opacity: .45; }

/* Results pie charts (2026-10-08): posts by channel and content mix. */
.sp-pies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.sp-pie-card { padding: 14px 18px 16px; min-width: 0; }
.sp-pie-card + .sp-pie-card { border-left: 1px solid var(--border); }
@media (max-width: 860px) { .sp-pies { grid-template-columns: 1fr; } .sp-pie-card + .sp-pie-card { border-left: 0; border-top: 1px solid var(--border); } }
.sp-pie-card h3 { margin: 0; font-size: 14px; }
.sp-pie-note { padding: 2px 0 0 !important; }
.sp-pie-empty { padding: 10px 0 0 !important; }
.sp-pie { display: flex; align-items: center; gap: 22px; margin-top: 12px; flex-wrap: wrap; }
.sp-pie svg { width: 148px; height: 148px; flex: 0 0 auto; }
.sp-pie-seg { fill: none; stroke-width: 16; transition: stroke-width .15s; cursor: default; }
.sp-pie-seg:hover { stroke-width: 19; }
.sp-pie-total { font-size: 19px; font-weight: 800; fill: var(--ink); font-variant-numeric: tabular-nums; }
.sp-pie-unit { font-size: 11px; fill: var(--dim); }
.sp-pie-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; min-width: 170px; max-width: 300px; flex: 1; }
.sp-pie-legend li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto 40px; align-items: center; gap: 8px; font-size: 14px; }
.sp-pie-legend i { width: 10px; height: 10px; border-radius: 3px; }
.sp-pie-legend span { color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-pie-legend b { font-variant-numeric: tabular-nums; }
.sp-pie-legend em { font-style: normal; color: var(--dim); text-align: right; font-variant-numeric: tabular-nums; }

/* Drafts sits at the right end of the top bar, so its pop-up opens leftward
   (anchored to the button's right edge) and stays fully on screen. */
#sp-drafts-slot .quinn-cal-review-dropdown { left: auto !important; right: 0 !important; width: 340px; max-width: calc(100vw - 32px); }
.sp-pie-legend i { box-shadow: inset 0 0 0 1px rgba(17, 17, 20, .1); }

/* List view as a table, same style as the Listings portfolio (.lw-table). */
.quinn-list-view.quinn-list-table { display: block; padding: 0; background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.quinn-list-tbl td { vertical-align: middle; }
.quinn-lt-sub { font-size: 13px; color: var(--muted, #6b6f78); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quinn-lt-icons { display: inline-flex; align-items: center; }
.quinn-lt-icons img, .quinn-lt-icons svg { margin-right: 2px !important; }
.quinn-list-tbl .quinn-list-status { display: inline-block; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 3px 10px; white-space: nowrap; background: #ececef; color: #3a3d44; }
.quinn-list-tbl .quinn-list-status.is-scheduled { background: #d7f0ec; color: #0f766e; }
.quinn-list-tbl .quinn-list-status.is-pending { background: var(--coral-50); color: #a3401c; }
.quinn-list-tbl th.lw-sortable { cursor: pointer; user-select: none; white-space: nowrap; }
.quinn-list-tbl th.lw-sortable:hover, .quinn-list-tbl th.lw-sortable.active { color: var(--coral); }
.quinn-list-tbl .lw-sort-arrow { opacity: .55; }
.quinn-list-tbl th.lw-sortable.active .lw-sort-arrow { opacity: 1; }
.lw-table.quinn-list-tbl { table-layout: fixed; width: 100%; min-width: 0; } .quinn-list-tbl td { overflow: hidden; }

/* No light-gray fill on the calendar card (Mark, 2026-10-08). */
#brand-social-content-panel.sp-on #brand-social-calendar-card,
#brand-social-content-panel.sp-on #brand-social-calendar-card > .card-head,
#brand-social-content-panel.sp-on #brand-social-calendar-card > .card-body { background: #fff !important; }

/* Coral accents on the calendar (Mark, 2026-10-08): coral header row like the
   tables, a warm tint on today, coral for the active view. */
#brand-social-content-panel.sp-on .quinn-cal { margin-bottom: 0; }
#brand-social-content-panel.sp-on #brand-social-calendar-card > .card-head { border-bottom: 1px solid var(--coral-200); }
#brand-social-content-panel.sp-on .quinn-cal .quinn-cal-dow,
#brand-social-content-panel.sp-on .quinn-cal.week-view .quinn-cal-dow { background: var(--coral-200); color: var(--ink); }
#brand-social-content-panel.sp-on .quinn-cal-cell.q-today { background: var(--coral-50); box-shadow: inset 0 3px 0 var(--coral-500); }
#brand-social-content-panel.sp-on .quinn-cal-cell.q-other-month { background: #fbfbfc; }
#brand-social-content-panel.sp-on .quinn-cal-view.active { background: var(--coral-500); color: #fff; box-shadow: none; }
#brand-social-content-panel.sp-on .quinn-cal-today:hover,
#brand-social-content-panel.sp-on .quinn-cal-nav:hover { border-color: var(--coral-300); color: var(--coral-500); }
#brand-social-content-panel.sp-on .quinn-cal-range { color: var(--ink); }

/* Results, calendar first (2026-10-19, option 3 of
   https://claude.ai/artifact/PL4uzajjHDGovHEoQcy2fJ). Coral header bands
   like Market Research; coral shades only. */
.sp-cf { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
.sp-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sp-c { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.sp-grow-c { flex: 1; }
.sp-ch { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--coral-200); border-bottom: 1px solid var(--coral-300); padding: 9px 14px; }
.sp-ch h4 { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #111114; }
.sp-ch span { margin-left: auto; font-size: 13.5px; font-weight: 600; color: #111114; }
.sp-ch em { font-style: normal; color: var(--coral-500); font-weight: 700; }
.sp-cb { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }

.sp-lg { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--dim); align-items: center; }
.sp-lg span { display: inline-flex; align-items: center; gap: 6px; }
.sp-lg i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; box-sizing: border-box; }
.sp-lg i.pub { background: var(--coral-500); }
.sp-lg i.sch { background: var(--coral-200); }
.sp-lg i.pend { background: #fff; border: 2px solid var(--coral-500); }
.sp-lg-top { justify-content: flex-end; }
.sp-lg-hint { margin-right: auto; order: -1; color: var(--muted, #8a8a93); }

/* calendar */
.sp-cal { display: flex; flex-direction: column; gap: 4px; }
.sp-cal-h, .sp-cal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.sp-cal-h span { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); text-align: center; }
.sp-day { position: relative; min-height: 84px; background: #fafafb; border: 1px solid #ececef; border-radius: 8px; padding: 4px 5px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sp-day.fut { background: #fff; }
.sp-day.out { opacity: .45; }
/* 2026-11-20 (Mark): today is marked by a filled coral date, not a coral border,
   so it isn't mistaken for a post that needs review (those are coral outlines). */
.sp-day.today { background: #fff; }
.sp-day.compact { min-height: 40px; }
.sp-dn { font-size: 13px; font-weight: 700; color: var(--dim); }
.sp-day.today .sp-dn { align-self: flex-start; display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--coral-500, #D85A30); color: #fff; }
.sp-chip { display: block; width: 100%; text-align: left; font: inherit; border: 0; border-radius: 6px; padding: 3px 6px; cursor: pointer; min-width: 0; }
.sp-chip b, .sp-chip small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-chip b { font-size: 13px; font-weight: 700; }
.sp-chip b i { font-size: 13.5px; margin-right: 3px; vertical-align: -1px; }
.sp-chip small { font-size: 12px; }
.sp-chip.published { background: var(--coral-500); color: #fff; }
.sp-chip.scheduled { background: var(--coral-50); color: #111114; border: 1px dashed var(--coral-300); }
.sp-chip.pending { background: #fff; color: #111114; border: 1.5px solid var(--coral-500); }
.sp-chip:hover { filter: brightness(.96); }
.sp-chip:focus-visible, .sp-add:focus-visible, .sp-more:focus-visible, .sp-dotp:focus-visible { outline: 2px solid var(--coral-500); outline-offset: 1px; }
.sp-more { font: inherit; font-size: 13px; font-weight: 700; color: var(--coral-500); background: none; border: 0; padding: 0 2px; text-align: left; cursor: pointer; }
.sp-add { position: absolute; right: 4px; bottom: 4px; width: 22px; height: 22px; border-radius: 6px; border: 1px dashed #c9c9cf; background: #fff; color: var(--dim); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity .12s; }
.sp-add i { font-size: 14px; }
.sp-day:hover .sp-add, .sp-add:focus-visible { opacity: 1; }
.sp-add:hover { border-color: var(--coral-300); color: var(--coral-500); }
.sp-dots { display: flex; flex-wrap: wrap; gap: 3px; }
.sp-dotp { width: 11px; height: 11px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; }
.sp-dotp.published { background: var(--coral-500); }
.sp-dotp.scheduled { background: var(--coral-200); }
.sp-dotp.pending { background: #fff; border: 2px solid var(--coral-500); }

/* goal */
.sp-goal { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; align-items: center; }
.sp-ring { width: 104px; height: auto; display: block; }
.sp-ring-v { font-size: 19px; font-weight: 800; fill: #111114; }
.sp-ring-u { font-size: 12px; fill: #8a8a93; }
.sp-big { display: block; font-size: 26px; font-weight: 850; letter-spacing: -.02em; line-height: 1.1; }
.sp-goal small { display: block; font-size: 14px; color: var(--dim); line-height: 1.45; margin-top: 2px; }
.sp-prog { display: flex; height: 10px; border-radius: 5px; background: #f0f0f3; overflow: hidden; }
.sp-prog i { display: block; height: 100%; background: var(--coral-500); }
.sp-prog i.s { background: var(--coral-200); }

/* bars */
.sp-bar { display: block; flex: 1; height: 12px; background: #f3f3f5; border-radius: 4px; overflow: hidden; min-width: 40px; }
.sp-bar i { display: block; height: 100%; border-radius: 4px; background: var(--coral-500); }
.sp-bar.thin { height: 6px; margin-top: 3px; }
.sp-bar.thin i { background: var(--coral-200); }
.sp-chr { display: grid; grid-template-columns: 104px minmax(0, 1fr) 22px 84px; gap: 4px 10px; align-items: center; font-size: 14px; }
.sp-chn { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.sp-chn svg { width: 16px; height: 16px; flex: none; }
.sp-chr b { text-align: right; font-variant-numeric: tabular-nums; }
.sp-chr .sp-pill, .sp-chr .sp-link { justify-self: end; }
.sp-chr.off .sp-chn { color: var(--dim); }
.sp-chx { grid-column: 2 / -1; font-size: 13.5px; color: var(--dim); margin-top: -3px; }
.sp-note { margin: 2px 0 0; font-size: 13.5px; color: var(--dim); line-height: 1.45; }
.sp-mxr { display: grid; grid-template-columns: 104px minmax(0, 1fr) 40px; gap: 10px; align-items: center; font-size: 14px; }
.sp-mxl { font-weight: 600; text-align: right; }
.sp-mxb { display: flex; flex-direction: column; }
.sp-mxv b { display: block; font-size: 14px; font-variant-numeric: tabular-nums; }
.sp-mxv small { display: block; font-size: 13px; color: var(--dim); }
#sp-results .sp-advice { padding: 4px 14px; gap: 0; }
#sp-results .sp-advice .sp-tip { border-top: 1px solid #ececef; }
#sp-results .sp-advice .sp-tip:first-child { border-top: 0; }

@media (max-width: 1100px) { .sp-cf { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .sp-day { min-height: 58px; } .sp-chip small { display: none; }
  .sp-chr { grid-template-columns: 90px minmax(0, 1fr) 20px; } .sp-chr .sp-pill, .sp-chr .sp-link { grid-column: 2 / -1; justify-self: start; }
}
.sp-mxb .sp-bar { flex: none; width: 100%; }
#sp-results .sp-tip-ic { background: var(--coral-50); color: var(--coral-500); }
.sp-grow-c > .sp-cb { justify-content: center; }
.sp-day { min-height: 72px; }
.sp-day.out .sp-dn { color: #b9b9c0; }
.sp-up { list-style: none; margin: 0; padding: 0; }
.sp-up li { border-top: 1px solid #ececef; }
.sp-up li:first-child { border-top: 0; }
.sp-up button { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 10px; align-items: center; width: 100%; font: inherit; text-align: left; background: none; border: 0; padding: 7px 0; cursor: pointer; color: inherit; }
.sp-up button:hover .sp-what b { color: var(--coral-500); }
.sp-up button:focus-visible { outline: 2px solid var(--coral-500); outline-offset: 2px; }
.sp-when { display: flex; flex-direction: column; align-items: center; background: var(--coral-50); border-radius: 8px; padding: 3px 0; font-size: 13px; color: var(--dim); }
.sp-when b { font-size: 14px; color: var(--coral-500); }
.sp-what { min-width: 0; }
.sp-what b, .sp-what small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-what b { font-size: 14px; }
.sp-what small { font-size: 13.5px; color: var(--dim); }
.sp-pill.need { background: var(--coral-50); color: var(--coral-500); }
.sp-up-more { font-size: 14px; text-align: left; }

/* One page, no Plan/Results switch (2026-10-19); calendar or list (Mark). */
.sp-title { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
#sp-legacy[hidden] { display: none !important; }
.sp-res-head h3 small { font-size: 14px; font-weight: 500; color: var(--dim); margin-left: 4px; }
.sp-lg-top { justify-content: flex-start; }
.sp-lg-top .sp-lg-hint { order: 0; margin-right: auto; }
.sp-lay button { display: inline-flex; align-items: center; gap: 5px; }
.sp-lay button i { font-size: 14px; }
.sp-list { width: 100%; border-collapse: collapse; font-size: 14px; }
.sp-list th { text-align: left; padding: 0 10px 6px; border-bottom: 1px solid var(--border); }
.sp-sort { font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); background: none; border: 0; padding: 0; cursor: pointer; }
.sp-sort.on { color: var(--coral-500); }
.sp-list td { padding: 8px 10px; border-bottom: 1px solid #ececef; vertical-align: middle; }
.sp-list tbody tr { cursor: pointer; }
.sp-list tbody tr:nth-child(odd) td { background: #fff; }
.sp-list tbody tr:nth-child(even) td { background: #fff8f5; }
.sp-list tbody tr:hover td { background: rgba(224, 122, 95, .16); }
.sp-list tr.today td:first-child { box-shadow: inset 3px 0 0 var(--coral-500); }
.sp-ld b { display: block; font-size: 14px; white-space: nowrap; }
.sp-ld small { display: block; font-size: 13.5px; color: var(--dim); }
.sp-lp { font: inherit; font-weight: 600; color: var(--ink); background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.sp-lp:focus-visible, .sp-sort:focus-visible { outline: 2px solid var(--coral-500); outline-offset: 2px; }
.sp-lc { color: var(--dim); }
.sp-st { font-size: 13px; font-weight: 700; border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.sp-st.published { background: var(--coral-500); color: #fff; }
.sp-st.scheduled { background: var(--coral-50); color: #111114; border: 1px dashed var(--coral-300); }
.sp-st.pending { background: #fff; color: var(--coral-500); border: 1.5px solid var(--coral-500); }
.sp-list th { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }

/* Month view like the old Quinn calendar (2026-10-19). */
.sp-mnav { display: inline-flex; align-items: center; gap: 6px; }
.sp-mnav b { font-size: 14px; min-width: 120px; text-align: center; }
.sp-ib { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--border); background: #fff; border-radius: 8px; cursor: pointer; color: var(--ink); }
.sp-ib:hover { border-color: var(--coral-300); color: var(--coral-500); }
.sp-ib:focus-visible { outline: 2px solid var(--coral-500); outline-offset: 2px; }
.sp-today { padding: 6px 10px; font-size: 14px; }
.sp-day { min-height: 96px; cursor: default; user-select: none; }
/* 2026-11-20 (Mark): the double-click-to-write cursor is the arrow with a
   coral plus, not the system's green 'copy' badge. */
.sp-day.fut, .sp-day.today { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M4 3 L4 21 L8.6 16.8 L11.6 23.6 L14.6 22.3 L11.7 15.6 L17.6 15.6 Z' fill='%23111' stroke='%23fff' stroke-width='1.5' stroke-linejoin='round'/%3E%3Ccircle cx='22.5' cy='22.5' r='7.5' fill='%23D85A30' stroke='%23fff' stroke-width='1.5'/%3E%3Cpath d='M22.5 18.6v7.8M18.6 22.5h7.8' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") 4 3, copy; }
.sp-day.out { opacity: .5; }
.sp-ib { font-size: 20px; line-height: 1; padding-bottom: 2px; }
.sp-lg-bot { justify-content: flex-end; }
.sp-cf .sp-col:first-child .sp-grow-c > .sp-cb { justify-content: flex-start; }

/* Past-day note next to the double-clicked day (2026-10-19). */
.sp-past-note { position: fixed; z-index: 9600; max-width: 300px; display: flex; align-items: center; gap: 8px; background: #fff; color: #111114; border: 1px solid var(--coral-300); border-radius: 10px; padding: 9px 12px; font-size: 14px; font-weight: 600; line-height: 1.35; box-shadow: 0 10px 28px rgba(17, 17, 20, .16); opacity: 0; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease; pointer-events: none; }
.sp-past-note.on { opacity: 1; transform: none; }
.sp-past-note i { color: var(--coral-500); font-size: 16px; flex: none; }
.sp-past-note::after { content: ""; position: absolute; left: var(--arrow-x, 50%); bottom: -6px; width: 10px; height: 10px; margin-left: -5px; background: #fff; border-right: 1px solid var(--coral-300); border-bottom: 1px solid var(--coral-300); transform: rotate(45deg); }
.sp-past-note.below::after { bottom: auto; top: -6px; transform: rotate(225deg); }
@keyframes spShake { 0%, 100% { transform: none; } 25% { transform: translateX(-3px); } 75% { transform: translateX(3px); } }
.sp-day.sp-shake { animation: spShake .3s ease; border-color: var(--coral-300); }
@media (prefers-reduced-motion: reduce) { .sp-day.sp-shake { animation: none; } .sp-past-note { transition: none; } }

/* ===== Option C (2026-10-23, Mark): calendar first, one-at-a-time review at
   the top of the right column, compact stats row underneath. ===== */
#sp-range-slot { margin-left: 10px; }
#sp-range-slot:empty { display: none; }
.sp-c3 { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; }
.sp-c3-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; }
.sp-c3-main > .sp-cal { flex: 1; }
.sp-c3-side { flex: 1 1 340px; min-width: 0; max-width: 100%; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 1100px) { .sp-c3-side { flex: 0 0 360px; } }
.sp-c3-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-top: 14px; align-items: stretch; }
.sp-c3-row .sp-goal { grid-template-columns: 76px minmax(0, 1fr); }
.sp-c3-row .sp-ring { width: 76px; }
.sp-c3-row .sp-big { font-size: 22px; }
.sp-c3-row .sp-note { font-size: 13.5px; }
.sp-c3-tips .sp-tip { margin-top: 0; }
.sp-c3-tips .sp-tip + .sp-tip { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--border); }
.sp-c3-tips .sp-tip p { margin-bottom: 6px; }
/* review card */
.sp-rv { border-color: var(--coral-300); }
.sp-rv-post { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: start; }
.sp-rv-th { position: relative; width: 96px; height: 96px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: var(--coral-50, #fff8f5); color: var(--coral-500); display: grid; place-items: center; padding: 0; cursor: pointer; font-size: 26px; }
.sp-rv-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-rv-th em { position: absolute; right: 5px; bottom: 5px; font-family: inherit; font-style: normal; color: #fff; background: rgba(17,17,20,.7); border-radius: 999px; padding: 3px 6px; }
.sp-rv-txt { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.sp-rv-txt b { font-size: 14px; }
.sp-rv-meta { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.sp-rv-meta small { font-size: 14px; color: var(--dim); margin-left: 4px; }
.sp-rv-ic { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; }
.sp-rv-ic svg, .sp-rv-ic img { width: 18px; height: 18px; }
.sp-rv-txt p { margin: 0; font-size: 14px; line-height: 1.45; color: #404048; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sp-rv-act { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; }
.sp-rv-act .sp-btn { justify-content: center; }
.sp-rv-act .sp-btn:disabled { opacity: .45; cursor: default; }
.sp-btn.sp-approve { background: var(--teal-500, #009580); border-color: var(--teal-500, #009580); color: #fff; }
.sp-rv-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sp-rv-foot small { margin-left: auto; font-size: 14px; color: var(--dim); }
.sp-rv-dots { display: flex; gap: 5px; }
.sp-rv-dots i { width: 7px; height: 7px; border-radius: 50%; background: #e4e4e7; }
.sp-rv-dots i.on { background: var(--coral-500); }
.sp-rv-done { flex-direction: row; align-items: center; gap: 12px; }
.sp-rv-done b { display: block; font-size: 14.5px; }
.sp-rv-done small { font-size: 14px; color: var(--dim); }
.sp-rv-ok { width: 36px; height: 36px; border-radius: 50%; background: #d7f0ec; color: #0f766e; display: grid; place-items: center; font-size: 20px; flex: none; }
.sp-rv-th em { font: inherit; font-size: 13px; font-weight: 700; line-height: 1; font-style: normal; }
.sp-c3-side .sp-grow-c > .sp-cb { justify-content: flex-start; }
/* Review card: back/forward (2026-10-23) */
.sp-ch .sp-rv-nav { display: inline-flex; align-items: center; gap: 6px; }
.sp-rv-nav b { font-size: 14px; font-weight: 700; min-width: 44px; text-align: center; }
.sp-rv-arrow { width: 28px; height: 28px; border-radius: 8px; border: 1px solid rgba(216, 90, 48, .3); background: rgba(255, 255, 255, .65); color: #111114; font-size: 18px; line-height: 1; display: inline-grid; place-items: center; cursor: pointer; padding: 0 0 2px; }
.sp-rv-arrow:hover { background: #fff; border-color: var(--coral-300); color: var(--coral-500); }
.sp-rv-arrow:focus-visible, .sp-rv-dots button:focus-visible { outline: 2px solid var(--coral-500); outline-offset: 2px; }
.sp-rv-act { grid-template-columns: 1fr 1.4fr; }
.sp-rv-dots { align-items: center; gap: 2px; }
.sp-rv-dots button { width: 18px; height: 18px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.sp-rv-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #d4d4d8; }
.sp-rv-dots button:hover::before { background: var(--coral-300); }
.sp-rv-dots button.on::before { background: var(--coral-500); width: 9px; height: 9px; }
.sp-rv-dots small { font-size: 13.5px; color: var(--dim); margin-left: 4px; }
/* Posting goal fills its card (2026-10-23, Mark: "make the pies bigger ...
   less white space"): a large ring centered on top, the % and note under
   it, the progress bar and legend at the bottom of the card. */
.sp-c3-row .sp-c > .sp-cb:has(> .sp-goal) { justify-content: space-between; }
.sp-c3-row .sp-goal { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 8px; flex: 1; align-content: center; }
.sp-c3-row .sp-ring { width: min(170px, 100%); }
.sp-c3-row .sp-goal .sp-big { font-size: 30px; display: block; }
.sp-c3-row .sp-goal small { font-size: 14px; max-width: 260px; margin: 2px auto 0; }
.sp-c3-row .sp-c > .sp-cb:has(> .sp-goal) .sp-lg { justify-content: center; }
/* Taylor's advice: three compact tips (2026-10-23) */
.sp-c3-tips .sp-cb { gap: 0; padding-top: 10px; padding-bottom: 10px; }
.sp-c3-tips .sp-tip { gap: 9px; }
.sp-c3-tips .sp-tip-ic { flex-basis: 26px; height: 26px; font-size: 14px; }
.sp-c3-tips .sp-tip h4 { margin: 2px 0 1px; font-size: 14px; }
.sp-c3-tips .sp-tip p { font-size: 14px; line-height: 1.4; margin-bottom: 4px; }
.sp-c3-tips .sp-tip .sp-btn { border: 0; background: none; padding: 2px 0; color: var(--coral-500); font-size: 14px; font-weight: 700; }
.sp-c3-tips .sp-tip .sp-btn:hover { text-decoration: underline; }
.sp-c3-tips .sp-tip + .sp-tip { margin-top: 7px; padding-top: 8px; }
/* Social actions in the top tab bar (2026-10-23, option 1) */
.topbar-right { display: flex; align-items: center; gap: 10px; }
.sp-top.sp-top-bar { margin: 0; gap: 4px; flex-wrap: nowrap; }
.sp-top.sp-top-bar[hidden] { display: none; }
.sp-top.sp-top-bar .sp-grow { display: none; }
.sp-top.sp-top-bar .sp-btn { padding: 7px 11px; font-size: 14px; }
.sp-top.sp-top-bar #sp-drafts-slot .quinn-cal-action { height: 30px; }
@media (max-width: 900px) { .sp-top.sp-top-bar .sp-quiet { display: none; } }
/* Today page: "This week at a glance" in the Social calendar style (2026-10-23) */
.quinn-today-glance-card .sp-week { padding: 12px 14px 12px; }
.sp-week .sp-day { min-height: 118px; }
.sp-week .sp-lg-bot { justify-content: flex-end; margin-top: 8px; }
.quinn-today-glance-head a { text-decoration: none; }
/* Today page: the shared review card (option A, 2026-10-23) */
.quinn-today-split > .sp-rv { align-self: stretch; margin: 0; }
.quinn-today-split > .sp-rv .sp-cb { justify-content: space-between; }
.quinn-today-split > .sp-rv .sp-rv-post { grid-template-columns: 112px minmax(0, 1fr); }
.quinn-today-split > .sp-rv .sp-rv-th { width: 112px; height: 112px; }
/* Review card: compact actions (2026-10-23, Mark: buttons too big) */
.sp-rv-act { display: flex; align-items: center; gap: 8px; }
.sp-rv-act .sp-rv-sp { flex: 1; }
.sp-rv-act .sp-btn { height: 32px; padding: 0 14px; font-size: 14px; border-radius: 8px; flex: none; }
.sp-rv-act .sp-btn i { font-size: 14px; }
.sp-rv-foot small { margin-left: 0; }
.sp-rv-post { grid-template-columns: 88px minmax(0, 1fr); }
.sp-rv-th { width: 88px; height: 88px; }
.quinn-today-split > .sp-rv .sp-rv-post { grid-template-columns: 96px minmax(0, 1fr); }
.quinn-today-split > .sp-rv .sp-rv-th { width: 96px; height: 96px; }
/* Today page: bigger content-mix donut (2026-10-23) */
.quinn-today-card .quinn-today-mix-row { gap: 24px; height: calc(100% - 34px); align-items: center; }
.quinn-today-card .quinn-today-mix-svg { width: 132px; height: 132px; }
.quinn-today-card .quinn-today-mix-legend { gap: 9px; }
.quinn-today-card .quinn-today-mix-legend span { font-size: 14px; color: var(--ink); }
.quinn-today-card .quinn-today-mix-dot { width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
/* Keep the Today page's two columns: review card left, week right */
.quinn-today-split > .sp-rv { flex: 1 1 340px; max-width: 460px; min-width: 0; }
.quinn-today-split > .quinn-today-glance-card { flex: 999 1 560px; min-width: 0; }
@media (max-width: 900px) { .quinn-today-split > .sp-rv { max-width: none; } }
/* Review card: fixed positions (2026-10-23, Mark: dots and Edit/Approve must
   not move with the post's length). The post area is a fixed height, the
   channel icons and date stay on one line, and the actions row is pinned to
   the bottom of the card with "Next" under it. */
.sp-rv > .sp-cb { justify-content: flex-start !important; }
.sp-rv .sp-rv-post { height: 100px; overflow: hidden; align-items: start; }
.quinn-today-split > .sp-rv .sp-rv-post { height: 104px; }
.sp-rv .sp-rv-meta { flex-wrap: nowrap; min-width: 0; }
.sp-rv .sp-rv-meta small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sp-rv .sp-rv-txt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-rv .sp-rv-txt p { -webkit-line-clamp: 2; }
.sp-rv .sp-rv-act { margin-top: auto; }
.sp-rv .sp-rv-foot { min-height: 18px; }
.quinn-today-split > .sp-rv .sp-rv-post { height: 128px; }
.quinn-today-split > .sp-rv .sp-rv-txt p { -webkit-line-clamp: 3; }
/* Today page: Social performance as channel rows (2026-10-23, option 1) */
.qt-perf { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.qt-perf-row { display: grid; grid-template-columns: minmax(0, 1.7fr) 72px 92px 76px; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid #f2f2f4; }
.qt-perf-th { padding: 2px 0 6px; border-bottom-color: #ececef; }
.qt-perf-th span { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); }
.qt-perf-th span:not(:first-child), .qt-perf-n { text-align: right; }
.qt-perf-ch { display: flex; align-items: center; gap: 10px; min-width: 0; }
.qt-perf-nm { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.qt-perf-nm b { font-size: 14px; }
.qt-perf-bar { display: block; height: 6px; border-radius: 3px; background: #f1f1f3; overflow: hidden; max-width: 220px; }
.qt-perf-bar i { display: block; height: 100%; background: var(--coral-500); border-radius: 3px; }
.qt-perf-n { font-size: 14px; font-variant-numeric: tabular-nums; }
.qt-perf-foot { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; font-size: 13.5px; color: var(--dim); }
.qt-perf-foot a { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--coral-500); text-decoration: none; }
/* Engagement pop-up (js/quinn/engagement-modal.js, 2026-10-23) */
.qeg-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(17,17,20,.45); display: grid; place-items: center; padding: 20px; }
.qeg-overlay[hidden] { display: none; }
.qeg-card { width: min(680px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 16px; box-shadow: 0 24px 70px rgba(17,17,20,.3); display: flex; flex-direction: column; }
.qeg-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--coral-200); border-bottom: 1px solid var(--coral-300); }
.qeg-head h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--ink); }
.qeg-head p { margin: 2px 0 0; font-size: 14px; color: var(--ink); }
.qeg-ic { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.65); border: 1px solid rgba(216,90,48,.3); color: var(--coral-500); display: grid; place-items: center; font-size: 18px; flex: none; }
.qeg-x { margin-left: auto; }
.qeg-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.qeg-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .qeg-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.qeg-tile { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.qeg-tile b { font-size: 22px; font-weight: 800; color: var(--coral-500); font-variant-numeric: tabular-nums; }
.qeg-tile span { font-size: 13.5px; color: var(--dim); }
.qeg-tblwrap { overflow-x: auto; }
.qeg-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.qeg-tbl th { font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--dim); text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.qeg-tbl td { padding: 9px 8px; border-bottom: 1px solid #f2f2f4; vertical-align: middle; }
.qeg-tbl .n { text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.qeg-ch { display: flex; align-items: center; gap: 10px; }
.qeg-ch b { display: block; font-size: 14px; }
.qeg-ch small { display: block; font-size: 13.5px; color: var(--dim); max-width: 260px; }
.qeg-empty { text-align: center; color: var(--dim); }
.qeg-note { display: flex; gap: 10px; align-items: flex-start; background: #FFF8F5; border: 1px solid #FCD1C7; border-radius: 12px; padding: 10px 12px; }
.qeg-note-ic { width: 26px; height: 26px; border-radius: 7px; background: #FDE7E2; color: var(--coral-500); display: grid; place-items: center; flex: none; }
.qeg-note p { margin: 0; font-size: 14px; line-height: 1.5; color: #404048; }
.qeg-limits { margin: 0; font-size: 13.5px; color: var(--dim); line-height: 1.45; }
.qeg-foot { display: flex; align-items: center; gap: 10px; padding: 10px 18px 14px; border-top: 1px solid #f0f0f2; font-size: 14px; color: var(--dim); }
.qeg-refresh { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--border); background: #fff; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.qeg-refresh:disabled { opacity: .6; cursor: default; }
/* Today: "Next post" tile (2026-10-23) */
.jd-briefing-stat.quinn-today-next strong { font-size: 17px; white-space: nowrap; }
.jd-briefing-stat.quinn-today-next .quinn-today-stat-text > span { text-transform: none; letter-spacing: 0; }
.quinn-today-next-ok { display: inline-block; margin-top: 4px; font-style: normal; font-size: 13px; font-weight: 800; color: #B4441F; background: #FDE7E2; border: 1px dashed var(--coral-500); border-radius: 999px; padding: 1px 7px; }
.jd-briefing-stat.quinn-today-next strong { text-transform: none; letter-spacing: 0; }
.jd-briefing-stat.quinn-today-next .quinn-today-stat-text > span { text-transform: uppercase; letter-spacing: .04em; }

/* Didn't post (2026-10-24): a post whose time passed without going out */
.sp-chip.missed { background: #fff; color: #111114; border: 1.5px dashed var(--coral-500); }
.sp-chip.missed b .ti { color: var(--coral-500); }
.sp-chip.missed small { color: var(--coral-500); font-weight: 700; }
.sp-chn .quinn-coral-ic { flex: none; margin-right: 2px; }

/* Posting messages (quinnFlash, 2026-10-24) */
/* Same look as the app's other toasts (white card, light coral border, coral edge; ink-theme.css .lw-toast), not a black box (2026-11-25, Mark). */
.quinn-flash { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 100000; width: min(460px, calc(100vw - 32px)); box-sizing: border-box; background: #fff; color: var(--ink, #1E1B19); border: 1px solid #FCD1C7; border-left: 4px solid var(--coral-500, #D85A30); border-radius: 10px; padding: 12px 14px; font: 14.5px/1.45 Inter, system-ui, sans-serif; box-shadow: 0 12px 32px rgba(17,17,20,.18); transition: opacity .2s; }
.quinn-flash.err { background: #FFF7F4; }
.quinn-flash .qf-head { display: flex; align-items: center; gap: 8px; }
.quinn-flash .qf-head .ti { font-size: 18px; color: var(--coral-500, #D85A30); flex: none; }
.quinn-flash.err .qf-head .ti { color: var(--coral-500, #D85A30); }
.quinn-flash .qf-head b { flex: 1; font-weight: 700; }
.quinn-flash .qf-x { width: 28px; height: 28px; border-radius: 50%; border: 0; background: transparent; color: var(--slate, #6B645E); font-size: 18px; line-height: 1; cursor: pointer; flex: none; }
.quinn-flash ul { list-style: none; margin: 10px 0 2px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.quinn-flash li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; }
.quinn-flash li .quinn-coral-ic { flex: none; margin-top: 1px; }
.quinn-flash li b { font-weight: 700; }
.quinn-flash .qf-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral-500, #D85A30); margin: 7px 8px 0; flex: none; }
.quinn-flash .qf-ics { display: inline-flex; gap: 3px; flex: none; margin-top: 1px; }
/* Smaller status pills in By channel (Mark 2026-11-06). */
.sp-chr .sp-pill { font-size: 12px; padding: 2px 8px; }

/* Social performance headings (2026-11-25, Mark: they overlapped). Sentence
   case, no extra letter spacing, and columns wide enough for each word;
   "Posts" is explained in the line under the table. */
.qt-perf-row { grid-template-columns: minmax(0, 1fr) 76px 100px 52px; }
.qt-perf-th span { text-transform: none; letter-spacing: 0; font-size: 13.5px; white-space: nowrap; }

/* Needs your review (2026-11-25, Mark: Approve ran past the card). When the
   card is narrow, the dots get their own line and Edit and Approve share
   the row below. */
.sp-rv { container-type: inline-size; }
@container (max-width: 400px) {
  .sp-rv-act { flex-wrap: wrap; row-gap: 10px; }
  .sp-rv-act .sp-rv-dots { flex: 1 0 100%; }
  .sp-rv-act .sp-rv-sp { display: none; }
  .sp-rv-act .sp-btn { flex: 1 1 0; justify-content: center; }
}

/* Next post tile on Marketing › Today (2026-11-25, Mark: "Tomorrow 9:00 AM"
   ran into the post's name). The time sits on top and the post's name under
   it, each on its own line, cut with "…" only if the tile is very narrow. */
html body .jd-briefing .jd-briefing-stat.quinn-today-next { min-width: 0; }
html body .jd-briefing .quinn-today-next .quinn-today-stat-text { flex-direction: column; align-items: flex-start; gap: 4px; flex: 1 1 auto; overflow: hidden; }
html body .jd-briefing .quinn-today-next strong { font-size: 16px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
html body .jd-briefing .jd-briefing-stat.quinn-today-next .quinn-today-stat-text > span { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: none; letter-spacing: 0; }

/* By channel as a small table (2026-11-25): icon-only channel column with a
   pulsing teal dot for Connected, Posts bar, then Followers and Engagement
   columns. No pill, no footnote. */
.sp-chs { display: flex; flex-direction: column; gap: 10px; }
.sp-chs .sp-chr { display: grid; grid-template-columns: 46px minmax(36px, 1fr) 64px 82px; gap: 0 8px; align-items: center; font-size: 14px; }
.sp-chs .sp-cht { white-space: nowrap; font-size: 11.5px; font-weight: 700; color: var(--dim); letter-spacing: .02em; padding-bottom: 6px; border-bottom: 1px solid var(--border, #ececef); }
.sp-chs .sp-cht span:nth-child(n+3), .sp-chs .sp-chv { text-align: right; }
.sp-chs .sp-chn { display: inline-flex; align-items: center; gap: 6px; overflow: visible; }
.sp-chs .sp-chn .quinn-coral-ic { margin-right: 0; }
.sp-chs .sp-chp { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sp-chs .sp-chp b { min-width: 16px; text-align: right; font-variant-numeric: tabular-nums; }
.sp-chs .sp-chv { font-variant-numeric: tabular-nums; font-weight: 600; }
.sp-chs .sp-chc { grid-column: 3 / -1; }
.sp-cht-na { color: var(--dim); font-weight: 400; }
.sp-live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500, #1D9E75); flex: none; }
.sp-live::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: sp-live-pulse 2s ease-out infinite; }
@keyframes sp-live-pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sp-live::after { animation: none; } }

.sp-cht .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Content mix, option 2 (2026-11-25): words and chips, no bars */
.sp-mxh { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink); }
.sp-mxs { display: flex; flex-direction: column; }
.sp-mxr2 { display: grid; grid-template-columns: minmax(0, 1fr) auto 84px; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid #f0f1f3; }
.sp-mxl2 { font-size: 14px; font-weight: 600; min-width: 0; }
.sp-mxl2 small { display: block; font-size: 12.5px; font-weight: 400; color: var(--dim); }
.sp-mxv2 { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.sp-mxc { justify-self: end; font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.sp-mxc.ok { color: var(--teal-600, #0F6E56); background: var(--teal-100, #E1F5EE); }
.sp-mxc.more { color: var(--coral-600, #B9461F); background: var(--coral-100, #FBEAE3); }
.sp-mxc.less { color: var(--dim); background: #f1f2f4; }
/* Social posts actions in Marketing's page header (2026-11-25, option 2) */
.mk-actions .sp-top.sp-top-bar { gap: 8px; }
.mk-actions .sp-top.sp-top-bar .sp-btn { height: 36px; padding: 0 13px; font-size: 14px; }
.sp-more-wrap { position: relative; display: inline-flex; }
.mk-actions .sp-top.sp-top-bar .sp-more { width: 36px; padding: 0; justify-content: center; background: #fff; border: 1px solid var(--border, #E6E1DC); border-radius: 9px; color: var(--slate, #6B645E); }
.sp-more .ti { font-size: 18px; }
.sp-more-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 2500; min-width: 200px; padding: 6px; background: #fff; border: 1px solid var(--border, #E6E1DC); border-radius: 12px; box-shadow: 0 16px 40px rgba(17,17,20,.16); display: flex; flex-direction: column; }
.sp-more-menu[hidden] { display: none; }
.sp-more-menu button { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px; border: 0; border-radius: 8px; background: none; font: 600 14px/1 Inter, system-ui, sans-serif; color: var(--ink); text-align: left; cursor: pointer; white-space: nowrap; }
.sp-more-menu button .ti { color: var(--coral-500, #D85A30); font-size: 17px; }
.sp-more-menu button:hover, .sp-more-menu button:focus-visible { background: var(--mid, #F3F1EF); outline: none; }
@media (max-width: 900px) { .sp-top.sp-top-bar .sp-quiet { display: inline-flex; } }
/* "Suggested by Taylor" mark in a card header (2026-11-25, Mark) */
.sp-ai { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: none; color: var(--coral-500, #D85A30); } /* coral lines, no background (2026-11-25, Mark) */
.sp-ai .ti { font-size: 20px; }
/* Posting goal: short bullets (2026-11-25, Mark). */
.sp-goal-li { list-style: none; margin: 6px 0 0; padding: 0; font-size: 14px; color: var(--dim); line-height: 1.6; text-align: left; }
.sp-goal-li li { position: relative; padding-left: 14px; }
.sp-goal-li li::before { content: ''; position: absolute; left: 2px; top: 0.62em; width: 5px; height: 5px; border-radius: 50%; background: var(--coral-500); }
.sp-c3-row .sp-goal .sp-goal-li { display: inline-block; }
/* By channel, tidied (2026-11-25, Mark): the connected dot sits on the
   icon's corner, the Followers and Engagement columns size to their
   headings, and every heading lines up right over its numbers. */
.sp-chs .sp-chr { grid-template-columns: 30px minmax(0, 1fr) max-content max-content; gap: 0 14px; }
.sp-chs .sp-cht span { text-align: right; }
.sp-chs .sp-chn { position: relative; width: 28px; height: 28px; }
.sp-chs .sp-chn .sp-live { position: absolute; top: -3px; right: -3px; width: 9px; height: 9px; box-shadow: 0 0 0 2px #fff; }
.sp-chs .sp-chp { justify-content: flex-end; }
.sp-chs .sp-chp .sp-bar { flex: 1 1 auto; min-width: 0; max-width: 64px; }
.sp-chs .sp-chv { text-align: right; }
.sp-chs .sp-chc { grid-column: 3 / -1; text-align: right; }
/* By channel: fixed column widths so every row lines up under its heading
   (each row is its own grid). 2026-11-25, Mark. */
.sp-chs .sp-chr { grid-template-columns: 28px minmax(0, 1fr) 62px 80px; gap: 0 8px; }
.sp-chs .sp-cht { font-size: 12px; }
.sp-chs .sp-chn { width: 28px; height: 28px; }

/* Marketing Today, option 2 (2026-11-25, Mark): today's timeline + a rail. */
.qt-main { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 1fr); gap: 16px; margin: 0 0 16px; align-items: start; }
.qt-tl-card, .qt-card { background: #fff; border: 1px solid var(--border, #E6E1DC); border-radius: 12px; overflow: hidden; }
.qt-tl-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #F7F8FA; border-bottom: 1px solid var(--border, #E6E1DC); }
.qt-tl-head h3 { margin: 0; font-size: 15px; font-weight: 800; }
.qt-tl-head > span { color: var(--slate); font-size: 13.5px; }
.qt-add { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--coral-500, #D85A30); background: none; border: 0; cursor: pointer; padding: 4px 6px; }
.qt-tl { position: relative; margin: 14px 16px 14px 72px; }
.qt-hr { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid #F0F1F4; }
.qt-hr span { position: absolute; left: -64px; top: -8px; width: 56px; text-align: right; font-size: 12px; font-weight: 600; color: var(--dim, #8A9099); }
.qt-now { position: absolute; left: -6px; right: 0; height: 2px; background: var(--coral-500, #D85A30); z-index: 2; pointer-events: none; }
.qt-now::before { content: ''; position: absolute; left: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--coral-500, #D85A30); }
.qt-blk { position: absolute; left: 6px; right: 6px; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; font: inherit; padding: 6px 10px; border-radius: 8px; border: 0; border-left: 3px solid; cursor: pointer; min-height: 38px; }
.qt-blk b { grid-row: 1 / 3; font-size: 13.5px; font-weight: 800; white-space: nowrap; }
.qt-blk-t { font-size: 14px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qt-blk-s { grid-column: 2; font-size: 12.5px; color: var(--slate); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qt-blk em { grid-column: 3; grid-row: 1 / 3; font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #fff; white-space: nowrap; }
.qt-blk.ok { background: var(--coral-50, #FBEAE4); border-color: var(--coral-500, #D85A30); color: #A63A1E; }
.qt-blk.sch { background: #E1F5EE; border-color: #0F766E; color: #0B5A54; }
.qt-blk.pub { background: #F3F4F6; border-color: #9AA0A8; color: var(--slate); }
.qt-blk.miss { background: #FDE7E2; border-color: #B5461F; color: #B5461F; }
.qt-tl-empty { position: absolute; left: 6px; right: 6px; top: 40%; margin: 0; text-align: center; color: var(--dim, #8A9099); }
.qt-rail { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.qt-card h3 { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 16px; background: #F7F8FA; border-bottom: 1px solid var(--border, #E6E1DC); font-size: 15px; font-weight: 800; }
.qt-card h3 span { font-size: 12px; font-weight: 800; color: #B5461F; background: #FDE7E2; border-radius: 999px; padding: 1px 8px; }
.qt-mrow { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.qt-mrow + .qt-mrow { border-top: 1px solid #F2F3F5; }
.qt-m { flex: 1; min-width: 0; }
.qt-m b { display: block; font-size: 14px; }
.qt-m small { display: block; font-size: 13px; color: var(--slate); line-height: 1.4; }
.qt-btn { font: inherit; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--border, #E6E1DC); background: #fff; color: var(--ink); cursor: pointer; white-space: nowrap; }
.qt-btn.c { background: var(--coral-500, #D85A30); border-color: var(--coral-500, #D85A30); color: #fff; }
.qt-idea { display: flex; gap: 12px; align-items: flex-start; background: #FFF8F5; border: 1px solid #F6DED4; border-radius: 12px; padding: 14px 16px; }
.qt-idea-ic { color: var(--coral-500, #D85A30); font-size: 20px; line-height: 1; flex: none; }
.qt-idea b { display: block; font-size: 14px; margin-bottom: 2px; }
.qt-idea p { margin: 0 0 10px; font-size: 13.5px; color: var(--slate); line-height: 1.45; }
.qt-pace { padding: 14px 16px; }
.qt-pace-row { display: flex; align-items: center; gap: 12px; }
.qt-pace-row b { font-size: 14px; }
.qt-pbar { flex: 1; display: flex; height: 10px; border-radius: 5px; background: #F1F2F5; overflow: hidden; }
.qt-pbar i { display: block; height: 100%; background: var(--coral-500, #D85A30); }
.qt-pbar i.s { background: var(--coral-200, #EFB9A5); }
.qt-pace-n { font-weight: 800; font-size: 14px; white-space: nowrap; }
.qt-pace small { display: block; margin-top: 6px; font-size: 13px; color: var(--slate); }
.qt-week { margin-bottom: 16px; }
@media (max-width: 1000px) { .qt-main { grid-template-columns: 1fr; } }
.qt-card h3 { text-transform: uppercase; letter-spacing: .06em; font-size: 13.5px; } /* match the Needs your OK card head */
/* Posting goal + By channel as one block (2026-11-25, Mark): it spans two
   columns of the row; the two halves sit side by side with a divider. */
.sp-c3-row .sp-c-duo { grid-column: span 2; }
.sp-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); flex: 1; }
.sp-duo > .sp-cb + .sp-cb { border-left: 1px solid var(--border, #ececef); }
@media (max-width: 1100px) { .sp-c3-row .sp-c-duo { grid-column: auto; } .sp-duo { grid-template-columns: 1fr; } .sp-duo > .sp-cb + .sp-cb { border-left: 0; border-top: 1px solid var(--border, #ececef); } }
.sp-duo > .sp-cb { display: flex; flex-direction: column; } .sp-duo > .sp-cb:has(> .sp-goal) { justify-content: space-between; }
/* This week legend (2026-11-26): swatches match the bar segments. */
.qt-pace-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; font-size: 13px; color: var(--slate); }
.qt-pace-key span { display: inline-flex; align-items: center; gap: 6px; }
.qt-pace-key i { width: 10px; height: 10px; border-radius: 3px; background: var(--coral-500); }
.qt-pace-key i.s { background: var(--coral-200, #EFB9A5); }
.qt-pace-key i.l { background: #F1F2F5; box-shadow: inset 0 0 0 1px #DADDE2; }
.qt-pace-key .ok { color: var(--teal-700, #006F62); font-weight: 600; }
/* Day schedule: channel icons in place of names (2026-11-26). */
.qt-blk-s { display: inline-flex; align-items: center; gap: 6px; overflow: visible; }
.qt-blk-s .q-pi { margin: 0; }

/* Fitted day (2026-11-26, Mark picked option 1): the schedule card is as tall
   as the column on the right; hours share that height (at least 30px each)
   and posts sit by percentage. Earlier / Later open the rest of the day. */
@media (min-width: 1001px) { .qt-main { align-items: stretch; } }
.qt-tl-card { display: flex; flex-direction: column; }
.qt-tl { flex: 1 1 auto; min-height: calc(var(--qt-hours, 9) * 30px); margin: 14px 16px 16px 72px; }
@media (max-width: 1000px) { .qt-tl { flex: none; height: calc(var(--qt-hours, 9) * 40px); } }
.qt-more { display: flex; align-items: center; gap: 6px; width: 100%; border: 0; background: none; padding: 7px 16px; font: inherit; font-size: 13px; font-weight: 600; color: var(--slate, #5B616B); text-align: left; cursor: pointer; }
.qt-more:hover { color: var(--coral-500, #D85A30); background: #FAFAFB; }
.qt-more .ti { font-size: 15px; }
.qt-more-early { border-bottom: 1px dashed #ECEDF0; }
.qt-more-late { border-top: 1px dashed #ECEDF0; margin-top: auto; }
.qt-more:focus-visible { outline: 2px solid var(--coral-300, #F38A6E); outline-offset: -2px; }
/* One line per post (time, title, channel icons, status) so a block fits a
   shorter hour, as in the mockup. */
.qt-blk { grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-rows: auto; min-height: 34px; padding: 4px 10px; }
.qt-blk b { grid-row: auto; }
.qt-blk-s { grid-column: auto; }
.qt-blk em { grid-column: auto; grid-row: auto; }

/* Marketing Today slim alert (2026-11-26): one line, one action, only when
   something stops posts going out. */
.qt-alert { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 9px 10px 9px 14px; border: 1px solid #F2B9A4; border-radius: 10px; background: #FDF1EC; color: #3A2A24; font-size: 14px; line-height: 1.35; }
.qt-alert > .ti { font-size: 19px; color: #C2491F; flex: none; }
.qt-alert > span { flex: 1; min-width: 0; }
.qt-alert b { font-weight: 700; }
.qt-alert-btn { flex: none; height: 32px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--coral-500, #D85A30); color: #fff; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.qt-alert-btn:hover { background: #C24E27; }
.qt-alert-x { flex: none; width: 30px; height: 30px; border: 0; border-radius: 8px; background: none; color: #8A6A5E; font-size: 20px; line-height: 1; cursor: pointer; }
.qt-alert-x:hover { background: rgba(0,0,0,.05); }
/* Needs your OK count beside the title. */
.sp-rv-count { display: inline-block; min-width: 24px; height: 24px; margin-left: 8px; padding: 0 7px; box-sizing: border-box; border-radius: 999px; background: var(--coral-500, #D85A30); color: #fff; font-size: 13px; font-weight: 800; line-height: 24px; letter-spacing: 0; text-align: center; vertical-align: 1px; }
/* Count: white number, a little more room after the title (2026-11-26, Mark).
   The header's own span color was winning. */
.sp-ch h4 .sp-rv-count { color: #fff !important; margin-left: 12px; }
