/* Workflow navigation additions.
 * Keeps the established Ascent shell and brand styling intact while handling
 * both the desktop workflow rail and horizontal workflow subtabs.
 */

:root {
  --sidebar-collapsed: 68px;
}

/* Desktop workflow rail: keep the page permanently inset by the compact rail
 * and let the full navigation expand above it. This prevents every workspace
 * from reflowing when the user moves between the navigation and page content. */
@media (min-width: 769px) {
  .sidebar {
    width: var(--sidebar-collapsed);
    overflow: hidden;
    z-index: 200;
    box-shadow: none;
    transition: width .18s ease, box-shadow .18s ease;
  }

  .sidebar:hover,
  .sidebar:has(:focus-visible) {
    width: var(--sidebar);
    box-shadow: 8px 0 24px rgba(20, 22, 27, .12);
  }

  /* CRM record cards can be dragged or resized across the rail. Keep the
   * navigation compact for that interaction so its hover width does not
   * change the card's left boundary while the pointer is moving. */
  body.crm-detail-interacting .sidebar {
    width: var(--sidebar-collapsed);
    pointer-events: none;
    box-shadow: none;
  }

  .main {
    margin-left: var(--sidebar-collapsed);
  }

  .sidebar-logo {
    position: relative;
    flex: 0 0 auto;
    overflow: hidden;
  }

  .sidebar-logo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../favicon.png') center / 38px 38px no-repeat;
    opacity: 1;
    transition: opacity .12s ease;
  }

  .sidebar-logo img {
    opacity: 0;
    transition: opacity .12s ease;
  }

  .sidebar:hover .sidebar-logo::after,
  .sidebar:has(:focus-visible) .sidebar-logo::after {
    opacity: 0;
  }

  .sidebar:hover .sidebar-logo img,
  .sidebar:has(:focus-visible) .sidebar-logo img {
    opacity: 1;
  }

  body.crm-detail-interacting .sidebar .sidebar-logo::after { opacity: 1; }
  body.crm-detail-interacting .sidebar .sidebar-logo img { opacity: 0; }

  .sidebar > nav {
    overflow-x: hidden;
  }

  .sidebar .nav-label {
    overflow: hidden;
    opacity: 0;
    white-space: nowrap;
    transition: opacity .1s ease;
  }

  .sidebar .nav-item {
    justify-content: center;
    gap: 0;
    min-height: 40px;
    padding-right: 0;
    padding-left: 0;
    overflow: hidden;
    font-size: 0;
    white-space: nowrap;
  }

  /* 20px box / 19px glyph (2026-11-23, Mark: the redesign copy's rail icon size; was 18/17). */
  .sidebar .nav-icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    line-height: 1;
  }

  .sidebar .nav-icon > i {
    display: block;
    line-height: 1;
  }

  .sidebar #signOutBtn .nav-icon {
    transform: translateX(2px);
  }

  .sidebar .nav-badge {
    display: none;
  }

  .sidebar:hover .nav-label,
  .sidebar:has(:focus-visible) .nav-label {
    opacity: 1;
    transition-delay: .06s;
  }

  body.crm-detail-interacting .sidebar .nav-label {
    opacity: 0;
    transition-delay: 0s;
  }

  .sidebar:hover .nav-item,
  .sidebar:has(:focus-visible) .nav-item {
    justify-content: flex-start;
    gap: 9px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 15px;
  }

  body.crm-detail-interacting .sidebar .nav-item {
    justify-content: center;
    gap: 0;
    padding-right: 0;
    padding-left: 0;
    font-size: 0;
  }

  .sidebar:hover .nav-badge,
  .sidebar:has(:focus-visible) .nav-badge {
    display: inline-flex;
  }

  body.crm-detail-interacting .sidebar .nav-badge { display: none; }
}

@media (min-width: 769px) and (prefers-reduced-motion: reduce) {
  .sidebar,
  .sidebar-logo::after,
  .sidebar-logo img,
  .sidebar .nav-label {
    transition: none;
  }
}

.sidebar > nav {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
}

.nav-spacer {
  flex: 1;
  min-height: 18px;
}

.nav-account-label {
  margin-top: 8px;
}

/* Shared tier-3 sub-nav bar ("jd-nav") — the horizontal tab strip used inside
 * a workflow's content area for panes complex enough to need one (e.g. Lead
 * Pipeline, Brand & Social, Seller Concierge). One shared ruleset for any
 * current or future #<id>.jd-nav element — do not add another per-ID copy of
 * this block when a new workflow needs a tier-3 sub-nav; just give the new
 * <nav> element class="jd-nav" and the buttons inside it class="jd-nav-btn". */
.jd-nav {
  display: flex;
  flex: 1;
  align-items: stretch;
  gap: 22px;
  min-height: 46px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  background: transparent;
  border: 0;
  scrollbar-width: none;
}

.jd-nav[hidden] {
  display: none !important;
}

.jd-nav::-webkit-scrollbar {
  display: none;
}

.jd-nav-btn {
  position: relative;
  flex: 0 0 auto;
  min-height: 46px;
  margin: 0;
  padding: 0 1px;
  color: var(--slate);
  background: transparent;
  border: 0;
  border-radius: 0;
  font: 600 14px/1 'Inter', sans-serif;
  white-space: nowrap;
  cursor: pointer;
}

.jd-nav-btn::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: transparent;
  border-radius: 2px 2px 0 0;
}

.jd-nav-btn:hover {
  color: var(--ink);
  background: transparent;
}

.jd-nav-btn.active {
  margin: 0;
  color: var(--coral);
  background: transparent;
  border: 0;
}

.jd-nav-btn.active::after {
  background: var(--coral);
}

.brand-social-panel[hidden],
#quinn-buffer-bar[hidden],
#tab-agent-quinn .quinn-home-insight[hidden],
#tab-agent-quinn .quinn-review-section[hidden],
#tab-agent-quinn .quinn-intelligence[hidden],
#tab-agent-quinn .card[hidden] { display: none !important; }

.brand-social-panel {
  margin: 16px 0;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 10px;
}

/* Today panel (2026-09-05) reuses .brand-social-panel's hidden/show wiring
   but not its bordered-box look -- that styling was built for the
   Publishing panel's card container and reads as an unwanted extra border
   around the coral card + this-week list here. This page has no dedicated
   page-wrapper of its own (unlike .lw-page elsewhere), so left/right
   padding is 0 to rely on .content's 24px alone, matching every other
   workflow page (confirmed with Mark 2026-09-05).
   Top margin corrected 2026-09-05 (Mark: coral card "moves ever so slightly"
   switching between workflows): this panel's own top margin is what
   actually determines the gap above it (the old .quinn-home-tools row that
   used to sit above it was removed entirely 2026-09-19, folded into the
   calendar toolbar's own buttons) -- it collapses through the parent
   .tab-pane (no padding/border of its own) and lands on top of .content's
   24px base padding. At 16px that's
   24+16=40px total, 4px short of the 44px every other workflow's coral card
   sits at (.content's 24px + a page-level 20px -- see .jd-view, and the
   #tab-agent-riley/#tab-profile/#tab-listing-* padding-top rules). 20px here
   makes it 44px too. */
#brand-social-today-panel {
  margin: 20px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.brand-social-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.brand-social-panel-head h3 { color: var(--ink); font-size: 15px; font-weight: 850; }
.brand-social-panel-head p { margin-top: 3px; color: var(--slate); font-size: 13px; line-height: 1.5; }
.brand-social-panel-actions { display: flex; gap: 8px; flex: 0 0 auto; }

.buyer-concierge-shell {
  margin: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.buyer-concierge-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.buyer-concierge-eyebrow {
  color: var(--coral);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.buyer-concierge-heading h2 { margin: 5px 0 4px; color: var(--ink); font-size: 20px; }
.buyer-concierge-heading p { margin: 0; color: var(--slate); font-size: 13.5px; }

.buyer-concierge-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  color: #fff;
  background: var(--coral);
  border: 1px solid var(--coral);
  border-radius: 8px;
  font: 700 10px/1 'Inter', sans-serif;
  cursor: pointer;
}

.buyer-concierge-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.buyer-concierge-grid article {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 4px 9px;
  padding: 14px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 9px;
}

.buyer-concierge-grid i { grid-row: 1 / 3; color: var(--coral); font-size: 20px; }
.buyer-concierge-grid strong { color: var(--ink); font-size: 13.5px; }
.buyer-concierge-grid span { color: var(--slate); font-size: 11.5px; line-height: 1.45; }

.buyer-concierge-empty {
  display: flex;
  min-height: 250px;
  margin-top: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--slate);
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: 10px;
  text-align: center;
}

.buyer-concierge-empty-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  background: var(--coral-50);
  border-radius: 10px;
  font-size: 20px;
}

.buyer-concierge-empty strong { color: var(--ink); font-size: 14px; }
.buyer-concierge-empty p { max-width: 410px; margin: 5px 0 0; font-size: 13px; line-height: 1.5; }

@media (max-width: 900px) {
  .buyer-concierge-grid { grid-template-columns: 1fr; }
}

.brand-social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.brand-social-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  min-width: 0;
  padding: 12px;
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-radius: 9px;
}

.brand-social-card-icon,
.brand-social-platform {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--coral);
  background: var(--coral-50);
  border-radius: 8px;
  font-size: 15px;
}

.brand-social-card strong,
.brand-social-queue strong { color: var(--ink); font-size: 13px; }
.brand-social-card p,
.brand-social-queue p { margin-top: 3px; color: var(--slate); font-size: 11.5px; line-height: 1.4; }
.brand-social-count { grid-column: 2; color: var(--coral); font-size: 11px; font-weight: 750; }

.brand-social-today-panel { margin-top: 12px; }

/* Align Brand & Social's Publishing and Insights content with the 16px top
 * gutter used by the Content workspace. */
#tab-agent-quinn #quinn-buffer-bar { margin-top: 16px; }
#tab-agent-quinn #brand-social-calendar-card { margin-top: 16px; }
#tab-agent-quinn #brand-social-calendar-card + #quinn-buffer-bar { margin-top: 0; }
#tab-agent-quinn #brand-social-content-panel { margin-top: 0; }
#tab-quinn-insights { padding-top: 16px; }

.brand-social-priorities {
  border: 1px solid var(--border);
  border-radius: 9px;
  overflow: hidden;
}

.brand-social-priorities article {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 12px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.brand-social-priorities article:last-child { border-bottom: 0; }
.brand-social-priority-link { cursor: pointer; }
.brand-social-priority-link:hover { background: var(--off-white); }
.brand-social-priority-link:focus-visible { outline: 2px solid var(--coral-300); outline-offset: -2px; }
.brand-social-priorities article > div { flex: 1; min-width: 0; }
.brand-social-priorities strong { color: var(--ink); font-size: 13px; }
.brand-social-priorities p { margin-top: 3px; color: var(--slate); font-size: 11.5px; line-height: 1.4; }

.brand-social-priority-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  color: var(--teal-700);
  background: var(--teal-100);
  border-radius: 8px;
  font-size: 14px;
}

.brand-social-priority-icon.attention { color: var(--coral); background: var(--coral-50); }
.brand-social-priority-state { color: var(--coral); font-size: 11px; font-weight: 800; text-transform: uppercase; }

.brand-social-section-label {
  margin: 18px 0 10px;
  color: var(--slate);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand-social-publish-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.brand-social-publish-summary > div { padding: 12px 14px; background: var(--off-white); border-radius: 8px; }
.brand-social-publish-summary span,
.brand-social-publish-summary small { display: block; color: var(--slate); font-size: 11px; }
.brand-social-publish-summary strong { display: block; margin: 3px 0; color: var(--ink); font-size: 22px; }

.brand-social-queue { border: 1px solid var(--border); border-radius: 9px; overflow: hidden; }
.brand-social-queue article { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 10px 12px; background: #ffffff; border-bottom: 1px solid var(--border); }
.brand-social-queue article:last-child { border-bottom: 0; }
.brand-social-queue article > div { flex: 1; min-width: 0; }
.brand-social-platform { flex: 0 0 auto; }
.brand-social-platform.attention { color: #a44222; }

@media (max-width: 800px) {
  .brand-social-grid { grid-template-columns: 1fr; }
  .brand-social-panel-head { align-items: flex-start; flex-direction: column; }
}

.topbar {
  height: 48px;
}

.topbar.dashboard-navigation-active {
  height: 44px;
}

.topbar.mail-navigation-active {
  height: 44px;
}

.topbar.people-navigation-active {
  position: relative;
  z-index: 120;
  height: 44px;
  padding-left: 0;
  overflow: visible;
}

.topbar.people-navigation-active .topbar-heading {
  gap: 0;
}

.topbar-heading,
.topbar-title-row,
.topbar-taylor-slot {
  display: flex;
  align-items: center;
}

.topbar-heading {
  align-self: stretch;
  gap: 12px;
}
.topbar-title-row { gap: 5px; }
.topbar-taylor-slot {
  flex: 0 0 auto;
}

.people-top-tabs {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  min-width: 0;
  height: auto;
  gap: 26px;
  margin-left: 0;
  padding: 0 24px;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  scrollbar-width: none;
}

.people-top-tabs[hidden] {
  display: none;
}

.people-top-tabs::-webkit-scrollbar {
  display: none;
}

.people-top-tab {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  width: auto;
  min-width: 0;
  align-self: stretch;
  height: auto;
  justify-content: center;
  padding: 0 3px;
  background: transparent;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  transition: background-color .14s ease, border-color .14s ease, box-shadow .14s ease;
}

.people-top-tab::before {
  content: '';
  position: absolute;
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  z-index: 0;
  background: transparent;
  border: 0;
  border-radius: 3px 3px 0 0;
  transition: background-color .14s ease;
}

.people-top-tab:not(:last-child)::after {
  display: none;
}

.people-top-tab-button {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 0;
  color: var(--slate);
  background: transparent;
  border: 0;
  border-radius: 0;
  font: 700 13.5px/1 'Inter', sans-serif;
  white-space: nowrap;
  cursor: pointer;
  transition: color .14s ease;
}

.people-top-tab:hover {
  background: transparent;
}

.people-top-tab:hover::before {
  background: var(--coral-100);
}

.people-top-tab:hover .people-top-tab-button,
.people-top-tab-button:focus-visible {
  color: var(--ink);
}

.people-top-tab.active {
  background: transparent;
  box-shadow: none;
}

.people-top-tab.active::before {
  background: var(--coral);
}

.people-top-tab.active .people-top-tab-button {
  color: var(--ink);
}

.people-top-tab-button:focus-visible {
  outline: none;
}

button.topbar-user {
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

button.topbar-user:hover,
button.topbar-user:focus-visible {
  border-color: var(--coral);
  outline: none;
}

/* Keep every workflow's first block flush beneath the shell navigation while
 * retaining the established horizontal and bottom page gutters. */
.content {
  padding-top: 0;
}

#tab-photo-organizer {
  margin: 0 -24px -24px;
}

/* Keep workflow content clear of the subtab divider. The 16px offset matches
 * the established gap between adjacent cards throughout these screens.
 * #tab-profile and #tab-today are deliberately NOT in this list -- both need
 * the 20px page-level top-offset standard used everywhere else instead (see
 * css/settings.css's note for #tab-profile, and the #tab-today rule just
 * below this one), and a same-specificity rule for either of them here would
 * silently win by cascade order and shave 4px off their coral card position
 * relative to every other workflow (found 2026-09-05, Mark caught both
 * visually -- "too high"). */
#tab-pipeline,
#tab-agent-casey,
#tab-agent-alex,
#tab-new-listing,
#tab-photo-organizer,
#tab-agent-sage,
#tab-agent-riley,
#tab-new-transaction,
#tab-offer-letter,
#tab-offer-prep,
#tab-agent-morgan {
  padding-top: 16px;
}

/* Dashboard's own coral card (see Ascent_Dashboard.html's #tab-today) --
 * standardized 2026-09-05 to the same 20px page-level top-offset as every
 * other workflow's coral card, instead of the generic 16px above. */
#tab-today {
  padding-top: 20px;
}

/* People's Contacts and Pipeline share this pane. Keep a deliberate breathing
 * gap below the top-bar tabs without restoring the old navigation row. */
#tab-pipeline {
  margin-inline: -8px;
  padding-top: 12px;
}

.topbar-growth-info-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.topbar-growth-info-wrap[hidden] {
  display: none;
}

.growth-overview-info-btn {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  background: var(--coral-50);
  border: 1px solid var(--coral-200);
  border-radius: 50%;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.growth-overview-info-btn:hover,
.growth-overview-info-btn[aria-expanded="true"] {
  color: #ffffff;
  background: var(--coral);
  border-color: var(--coral);
}

.growth-overview-info-panel {
  position: absolute;
  top: 27px;
  left: 0;
  z-index: 80;
  width: min(330px, calc(100vw - 40px));
  padding: 13px 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(17,17,20,0.14);
}

.growth-overview-info-panel[hidden] {
  display: none;
}

.growth-overview-info-panel strong,
.growth-overview-info-panel span {
  display: block;
}

.growth-overview-info-panel strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}

.growth-overview-info-panel span {
  color: var(--slate);
  font-size: 13.5px;
  line-height: 1.55;
}

.growth-utility-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-height: 30px;
  margin-bottom: 12px;
}

.growth-utility-row > span {
  color: var(--dim);
  font-size: 13px;
}

.workflow-subnav {
  display: none;
  flex-direction: column;
  flex-shrink: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.workflow-subnav.visible {
  display: flex;
}

/* Row 1: which area within the workflow (e.g. Lead Pipeline / Contact Database
 * within People) -- rounded pill buttons, replacing the old
 * left-rail accordion (removed 2026-08-31, see workflow-sidebar-subitem
 * history). Row 2, below it, is the existing "jd-nav" text-tab strip for
 * that area's own views (e.g. Today / Leads / Inbox / Insights) -- unchanged. */
.workflow-subnav-pills-row {
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-bottom: 1px solid var(--border);
}

.workflow-subnav-pills-row[hidden] {
  display: none;
}

.workflow-subnav-tabs-row {
  min-height: 46px;
  padding: 0 24px;
  align-items: stretch;
}

.workflow-subnav-tabs-row[hidden] {
  display: none;
}

.workflow-subnav-row {
  display: flex;
}

.workflow-subnav-inner {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.workflow-subnav-inner::-webkit-scrollbar {
  display: none;
}

.workflow-subtab {
  flex: 0 0 auto;
  padding: 5px 13px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--dim);
  font: 600 14px/1.2 'Inter', sans-serif; /* Create pills, as in the redesign copy (2026-11-25) */
  white-space: nowrap;
  cursor: pointer;
}

.workflow-subtab:hover {
  color: var(--ink);
}

.workflow-subtab.active {
  color: var(--coral);
  background: rgba(232,96,60,0.12);
  border-color: rgba(232,96,60,0.3);
}

.growth-capability-card {
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.growth-capability-card:hover {
  transform: translateY(-1px);
  border-color: var(--coral-200);
}

.growth-capability-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--coral);
  background: var(--coral-50);
  border-radius: 8px;
  font-size: 17px;
}

@media (max-width: 768px) {
  .workflow-subnav-pills-row { padding: 10px 16px; }
  .workflow-subnav-tabs-row { padding: 0 16px; }
  #tab-photo-organizer { margin: 0 -16px -16px; }
  /* .people-top-tabs (Settings' Identity/Your Market/.../Reference Library
     row, reused by other workflows' top-tab pickers) already hides its
     scrollbar cross-browser (scrollbar-width:none plus the ::-webkit-
     scrollbar rule right below its definition) -- that only makes sense if
     the row is meant to scroll horizontally, but its overflow was left at
     the default "visible", so on desktop, where all the tabs fit anyway,
     nothing looked wrong, while on mobile the tabs that didn't fit simply
     spilled past the viewport's right edge with no way to reach them at
     all (Plan & Billing, Integrations, and Reference Library were
     completely inaccessible -- found 2026-09-05, mobile optimization
     pass). overflow-x:auto turns that same already-hidden scrollbar into
     an actual swipeable one instead of doing nothing. */
  /* .topbar-heading is the flex item (inside .topbar) that actually needs
     to be capped -- its own default min-width:auto let it grow to match
     its content's full natural width (847px, the sum of all 8 tab
     labels) regardless of .people-top-tabs's own overflow/min-width
     settings below it, since a flex item's content-based minimum blocks
     shrinking at whichever ancestor level lacks min-width:0, not just the
     level where overflow is declared. */
  .topbar-heading { min-width: 0; }
  .people-top-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Marketing page header, option 2 (2026-11-25): the title picks Social
   posts / Flyers / Blog / Newsletter; Social posts' actions sit at the right. */
.workflow-subnav-pills-row.mk-head-row { padding: 10px 24px; background: #fff; }
.mk-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.mk-pick { position: relative; }
.mk-pick-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 6px 0 2px; border: 0; background: none; color: var(--ink); font: 800 20px/1 Inter, system-ui, sans-serif; letter-spacing: -.01em; cursor: pointer; border-radius: 8px; }
.mk-pick-btn .ti { font-size: 18px; color: var(--slate, #6B645E); }
.mk-pick-btn:hover .ti, .mk-pick-btn[aria-expanded="true"] .ti { color: var(--coral-500, #D85A30); }
.mk-pick-menu { position: absolute; left: 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); }
.mk-pick-menu[hidden] { display: none; }
.mk-pick-menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; 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; }
.mk-pick-menu button:hover, .mk-pick-menu button:focus-visible { background: var(--mid, #F3F1EF); outline: none; }
.mk-pick-menu button.on { color: var(--coral-500, #D85A30); font-weight: 700; }
.mk-actions { display: flex; align-items: center; justify-content: flex-end; min-width: 0; }
.workflow-subnav-pills-row.mk-head-row .workflow-subnav-inner { overflow: visible; } /* let the menus drop below the row */
.mk-title { margin: 0; height: 38px; display: inline-flex; align-items: center; padding: 0 2px; color: var(--ink); font: 800 20px/1 Inter, system-ui, sans-serif; letter-spacing: -.01em; } /* Social tab header (2026-11-25) */
/* Room between the Marketing page header and the first card (2026-11-25,
   Mark): padding at the top of each Marketing panel, inside the scrolling
   area (a margin on the header row only moved the header's own line). */
#brand-social-blog-panel, #brand-social-newsletter-panel { padding-top: 16px; }
