/* Calendar, conversations and guided paths share the workspace's paper palette. */
#tab-calendar .calendar-toolbar { padding:14px 18px; gap:16px; border-radius:20px; }
#tab-calendar .calendar-toolbar > div:first-child { gap:12px; }
#tab-calendar [data-trn='grid_activity'] { display:none; }
#tab-calendar #calendar-platform-filters { gap:6px; padding:0; background:transparent; }
#tab-calendar #calendar-platform-filters button { display:inline-flex; align-items:center; gap:6px; border:1px solid #e6e5e0; background:#fff; color:#52525b; font-size:13px; min-height:36px; }
#tab-calendar #calendar-platform-filters button.bg-indigo-600 { color:#fff; background:#0b0b0f; border-color:#0b0b0f; }
#tab-calendar #calendar-platform-filters button:not(#filter-cal-all)::before { content:''; width:8px; height:8px; border-radius:50%; background:var(--calendar-platform-color,#a1a1aa); }
#filter-cal-yt { --calendar-platform-color:#dc2626; } #filter-cal-ig { --calendar-platform-color:#db2777; }
#filter-cal-fb { --calendar-platform-color:#2563eb; } #filter-cal-tt { --calendar-platform-color:#0f766e; }
#filter-cal-dy { --calendar-platform-color:#0b0b0f; } #filter-cal-xhs { --calendar-platform-color:#e11d48; }
#tab-calendar .calendar-layout { display:grid; grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr); gap:22px; }
#tab-calendar .calendar-layout > div { grid-column:auto; min-width:0; }
#tab-calendar .calendar-month-panel { padding:18px; border-radius:18px; box-shadow:none; }
#tab-calendar .calendar-weekdays { border:0; padding:4px 0 0; gap:8px; }
#tab-calendar .calendar-weekdays > div { font-family:inherit; font-size:13px; font-weight:800; letter-spacing:0; color:#52525b; }
#tab-calendar .calendar-weekdays > div:first-child { color:#e11d48; }
#tab-calendar .calendar-weekdays > div:last-child { color:#3b2fc9; }
.calendar-legend { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; font-size:11px; color:#71717a; padding-bottom:2px; }
.calendar-legend > span { display:inline-flex; gap:5px; align-items:center; }
.calendar-key { width:6px; height:6px; border-radius:50%; display:inline-block; }
.calendar-key-idea { background:#a78bfa; }
.calendar-key-create { background:#5b4bff; } .calendar-key-publish { background:#059669; }
.calendar-key-schedule { background:#0284c7; } .calendar-key-expiry { background:#d97706; }
#calendar-days-grid { gap:8px; min-height:0; }
#calendar-days-grid .calendar-day { position:relative; min-height:84px; width:100%; min-width:0; padding:8px; border:1.5px solid #e6e5e0; border-radius:14px; background:#fff; text-align:left; box-shadow:none; gap:4px; }
#calendar-days-grid .calendar-day:hover { background:#faf9ff; border-color:#c9c3ff; }
#calendar-days-grid .calendar-day[aria-pressed='true'] { background:#f1efff; border-color:#5b4bff; box-shadow:0 0 0 2px #5b4bff15; }
#calendar-days-grid .calendar-day > span { font-size:14px; line-height:1.2; font-weight:800; }
#calendar-days-grid .calendar-day[aria-current='date'] > span::after { content:''; display:inline-block; width:5px; height:5px; margin:0 0 2px 5px; border-radius:50%; background:#5b4bff; }
#calendar-days-grid .calendar-day > div { margin-top:4px; width:100%; }
#calendar-days-grid .calendar-day > div > div { font-size:9px; border:0; border-radius:4px; padding:2px 4px; text-overflow:ellipsis; }
#tab-calendar .calendar-detail-panel { padding:22px; border-radius:18px; background:#fff; box-shadow:none; }
#tab-calendar .calendar-detail-panel > div:first-child { border:0; padding:0; }
#tab-calendar [data-trn='sel_timeline_lbl'] { font-family:inherit; color:#71717a; font-size:13px; font-weight:600; letter-spacing:0; }
#calendar-selected-date-title { font-family:inherit; font-size:30px; font-weight:800; letter-spacing:-.02em; margin-top:8px; }
#calendar-day-items-list { margin-top:18px; padding:0; max-height:340px; }
#calendar-day-items-list > div:not(.calendar-event) { padding:28px 12px; font-family:inherit; font-size:14px; text-transform:none; color:#71717a; }
#calendar-day-items-list .calendar-event { padding:12px; border-radius:14px; background:#fff; gap:10px; }
#calendar-day-items-list .calendar-event > i { width:20px; height:20px; padding:0; flex:none; }
#calendar-day-items-list .calendar-event p { font-size:14px; }
#calendar-day-items-list .calendar-event span { font-family:inherit; font-size:11px; }
.calendar-detail-summary { margin-top:18px; padding-top:14px; border-top:1px dashed #d9d8d2; font-size:14px; font-weight:700; }
#calendar-selected-count { font-family:inherit; font-size:24px; }
.calendar-retention-note { margin-top:18px; padding:14px 16px; border-radius:14px; background:#fffbf0; border:1px solid #f2e2b8; font-size:13px; line-height:1.7; color:#78561e; }
/* The real support composer remains separate from read-only platform snapshots. */
.inbox-page-intro { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:2px 0 4px; }
.section-eyebrow { font-size:11px; font-weight:800; letter-spacing:.14em; color:#71717a; }
.inbox-page-intro h2 { font-size:28px; font-weight:800; letter-spacing:-.025em; color:#0b0b0f; margin-top:6px; }
.inbox-page-intro p { font-size:14px; color:#71717a; margin-top:8px; line-height:1.7; }
.inbox-page-symbol { display:grid; place-items:center; width:60px; height:60px; flex:none; background:#f1efff; color:#5b4bff; border-radius:20px; transform:rotate(7deg); }
.inbox-page-symbol svg { width:32px; height:32px; }
#tab-inbox .inbox-support { border-radius:20px; }
#tab-inbox .inbox-support[open] { border-color:#c9c3ff; }
#tab-inbox .inbox-support-body { padding-top:20px; }
#tab-inbox .inbox-support-copy > span { white-space:normal; }
#tab-inbox .inbox-social { border-radius:18px; }
#tab-inbox .inbox-toolbar { padding:20px 22px 14px; }
#tab-inbox .inbox-toolbar-actions { gap:8px; }
#tab-inbox .inbox-sync-status { padding-bottom:16px; font-size:12px; color:#71717a; }
#tab-inbox .inbox-panes { grid-template-columns:minmax(240px, .85fr) minmax(0,1.6fr); min-height:460px; border-color:#ecebe6; }
#tab-inbox .inbox-platform-heading { margin:0; border:0; border-bottom:1px solid #ecebe6; border-radius:0; background:#fafaf7; padding:12px 18px; color:#52525b; }
#tab-inbox .inbox-platform-title .platform-icon { width:25px; height:25px; font-size:10px; border-radius:8px; }
#tab-inbox .inbox-account-label { padding:12px 18px 6px; font-size:11px; color:#71717a; }
#tab-inbox .inbox-conversation { display:flex; align-items:flex-start; gap:12px; }
.inbox-conversation-avatar { display:grid; place-items:center; width:34px; height:34px; flex:none; border-radius:10px; background:#ece8ff; color:#3b2fc9; font-size:14px; font-weight:800; }
.inbox-conversation-copy { flex:1; min-width:0; }
#tab-inbox .inbox-conversation-top { display:flex; }
#tab-inbox .inbox-conversation-preview { display:block; margin-top:5px; }
#tab-inbox .inbox-message-detail { padding:0 22px 22px; background:#fbfbf8; }
.inbox-chat-heading { position:sticky; top:0; display:flex; align-items:center; gap:12px; margin:0 -22px; padding:16px 22px; background:#fff; border-bottom:1px solid #ecebe6; z-index:1; }
.inbox-chat-heading h4 { font-size:15px; font-weight:800; }
.inbox-chat-heading p { margin-top:4px; font-size:12px; }
.inbox-chat-avatar { width:36px; height:36px; display:grid; place-items:center; border-radius:12px; background:#0b0b0f; color:#d4ff4f; font-size:15px; font-weight:800; flex:none; }
#tab-inbox .inbox-message-bubble { font-size:14px; line-height:1.7; padding:12px 16px; border-radius:16px 16px 16px 4px; }
#tab-inbox .inbox-message-outgoing { border-radius:16px 16px 4px 16px; }
#tab-inbox .inbox-empty { display:flex; align-items:center; justify-content:center; min-height:240px; font-size:14px; color:#71717a; }
#tab-inbox .inbox-message-detail > .inbox-empty { min-height:400px; }
/* Onboarding path picker, live coach and completion. */
.guide-modal {
  width: min(1000px, calc(100vw - 40px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
  margin: clamp(24px, 8vh, 72px) auto auto;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid #e6e5e0;
  border-radius: 26px;
  background: #fff;
  color: #0b0b0f;
  box-shadow: 0 40px 80px -30px #0b0b0f80;
}
.guide-modal::backdrop { background: #0b0b0f80; }
.guide-modal-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.guide-modal-heading h2 { margin: 8px 0; font-size: clamp(22px, 4vw, 28px); line-height: 1.3; font-weight: 900; letter-spacing: -.02em; }
.guide-modal-heading p { color: #52525b; font-size: 15px; line-height: 1.6; }
.guide-eyebrow { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #d4ff4f; color: #0b0b0f; font-size: 12px; font-weight: 800; }
.guide-modal-heading .guide-trial { width: fit-content; margin-top: 10px; padding: 6px 12px; border: 1px solid #dcd8ff; border-radius: 12px; background: #f7f6ff; color: #3b2fc9; font-size: 13px; font-weight: 700; }
.guide-close { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid #e6e5e0; border-radius: 50%; color: #52525b; font-size: 24px; line-height: 1; }
.guide-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; margin-top: 24px; }
.guide-option { display: flex; flex-direction: column; align-items: stretch; gap: 12px; overflow: hidden; padding: 0 0 20px; border: 1.5px solid #e6e5e0; border-radius: 20px; background: #fff; text-align: start; transition: border-color .2s, transform .2s, box-shadow .2s; }
.guide-option:hover { border-color: #5b4bff; transform: translateY(-3px); box-shadow: 0 12px 30px -16px #5b4bff70; }
.guide-option > :not(.guide-preview) { margin: 0 20px; }
.guide-option > strong { font-size: 19px; font-weight: 900; }
.guide-option > span:not(.guide-preview) { color: #52525b; font-size: 14px; line-height: 1.6; }
.guide-option > b { margin-top: auto; color: #3b2fc9; font-size: 14px; font-weight: 800; }
.guide-preview { position: relative; display: block; height: 128px; overflow: hidden; }
.guide-preview-create { background: #f1efff; }
.guide-preview-create i { position: absolute; display: grid; place-items: center; border: 1.5px solid #0b0b0f; border-radius: 8px; font-style: normal; }
.guide-preview-create i:nth-child(1) { left: 15%; top: 32px; width: 34%; height: 54px; background: #5b8cff; transform: rotate(-8deg); }
.guide-preview-create i:nth-child(2) { right: 14%; top: 22px; width: 20%; height: 68px; background: #ff6b9a; transform: rotate(8deg); }
.guide-preview-create i:nth-child(3) { left: 43%; top: 16px; width: 16%; height: 84px; background: #0b0b0f; color: #d4ff4f; transform: rotate(-2deg); }
.guide-preview-data { display: flex; align-items: end; justify-content: center; gap: 8px; padding-bottom: 22px; background: #0b0b0f; }
.guide-preview-data i { width: 16px; height: 37px; border-radius: 5px 5px 2px 2px; background: #5b4bff; }
.guide-preview-data i:nth-child(even) { background: #d4ff4f; }
.guide-preview-data i:nth-child(2) { height: 56px; }
.guide-preview-data i:nth-child(3) { height: 44px; }
.guide-preview-data i:nth-child(4) { height: 67px; }
.guide-preview-data i:nth-child(5) { height: 51px; }
.guide-preview-data i:nth-child(6) { height: 77px; }
.guide-preview-data b { position: absolute; top: 15px; right: 20px; color: #d4ff4f; font-size: 19px; }
.guide-preview-ip { display: grid; justify-items: center; align-content: center; gap: 6px; background: #ffe9d6; }
.guide-preview-ip > i { display: flex; align-items: center; gap: 10px; width: 132px; padding: 10px; border: 1.5px solid #0b0b0f; border-radius: 12px; background: #fff; transform: rotate(-4deg); }
.guide-preview-ip > i i { width: 30px; height: 30px; border-radius: 9px; background: #5b4bff; }
.guide-preview-ip > i::after { content: ''; width: 61px; height: 17px; border-top: 6px solid #0b0b0f; border-bottom: 5px solid #e6e5e0; }
.guide-preview-ip > span { display: flex; gap: 5px; }
.guide-preview-ip b { padding: 2px 8px; border: 1px solid #0b0b0f; border-radius: 999px; background: #d4ff4f; font-size: 10px; }
.guide-choice-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 20px; color: #71717a; font-size: 14px; }
.guide-choice-footer button { min-height: 40px; }
#guide-full-tour { color: #3b2fc9; }
.guide-coach { position: fixed; right: 24px; bottom: 24px; z-index: 110; width: min(400px, calc(100vw - 32px)); padding: 20px; border: 1px solid #e6e5e0; border-radius: 22px; background: #fff; color: #0b0b0f; box-shadow: 0 30px 60px -24px #0b0b0f80; }
.guide-coach.hidden { display: none; }
.guide-coach-top { display: flex; align-items: center; gap: 12px; }
.guide-step-icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border: 1.5px solid #0b0b0f; border-radius: 14px; font-size: 20px; }
#guide-path-label { display: block; color: #3b2fc9; font-size: 12px; font-weight: 700; }
.guide-step-count { display: block; color: #71717a; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.guide-coach-top button { margin-inline-start: auto; min-height: 32px; color: #71717a; font-size: 13px; }
#guide-step-title { margin: 14px 0 8px; font-size: 19px; font-weight: 900; outline: 0; }
#guide-step-body { color: #3f3f46; font-size: 14px; line-height: 1.7; }
.guide-progress { position: relative; display: flex; align-items: center; justify-content: space-between; height: 28px; margin: 14px 7px 0; }
.guide-progress-track, .guide-progress-track > span { position: absolute; inset: 0; height: 4px; margin: auto 0; border-radius: 999px; background: #ededea; }
.guide-progress-track > span { background: #5b4bff; }
.guide-progress-tick { z-index: 1; width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; background: #d4d4d8; box-shadow: 0 0 0 1px #d4d4d8; }
.guide-progress-tick.is-complete { background: #5b4bff; box-shadow: 0 0 0 1px #5b4bff; }
.guide-progress-tick.is-current { position: relative; }
.guide-progress-tick.is-current::after { content: ''; position: absolute; left: 2px; top: -12px; width: 3px; height: 27px; border-radius: 3px; background: #ff3b30; }
.guide-coach-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
#guide-back { min-height: 42px; padding: 0 14px; border: 1px solid #e6e5e0; border-radius: 999px; color: #52525b; font-size: 13px; }
.guide-primary { min-height: 44px; padding: 0 22px; border: 1px solid #0b0b0f; border-radius: 999px; background: #0b0b0f; color: #fff; font-size: 14px; font-weight: 800; box-shadow: 3px 3px 0 #5b4bff; }
.guide-done { max-width: 460px; text-align: center; }
.guide-done-mark { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 14px; border: 1.5px solid #0b0b0f; border-radius: 50%; background: #d4ff4f; font-size: 32px; box-shadow: 4px 4px 0 #0b0b0f; }
.guide-done h2 { font-size: 24px; font-weight: 900; }
.guide-done p { margin: 12px 0; color: #52525b; font-size: 14px; line-height: 1.7; }
.guide-learned { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.guide-learned li { padding: 6px 11px; border-radius: 999px; background: #f1efff; color: #3b2fc9; font-size: 13px; font-weight: 700; }
.guide-done .guide-primary { background: #5b4bff; box-shadow: 4px 4px 0 #0b0b0f; }
#app-workspace .guide-highlight { outline: 3px solid #5b4bff; outline-offset: 5px; border-radius: 14px; scroll-margin: 20px; }
:is(.guide-modal,.guide-coach) button:focus-visible { outline: 3px solid #5b4bff; outline-offset: 4px; }
@media(max-width:1000px) { #tab-calendar .calendar-layout { grid-template-columns:minmax(0,1fr); } }
@media(max-width:767px) {
  #tab-inbox .inbox-panes { grid-template-columns:minmax(0,1fr); }
  #tab-inbox .inbox-conversations { max-height:280px; }
  #tab-inbox .inbox-message-detail > .inbox-empty { min-height:220px; }
  #tab-inbox .inbox-toolbar { flex-wrap:wrap; }

  .guide-modal { max-height:calc(100dvh - 48px); }

  .guide-coach { bottom:84px; right:16px; max-height:calc(100svh - 110px); overflow-y:auto; }
}
@media(max-width:640px) {
  #tab-calendar .calendar-month-panel { padding:12px; }
  #calendar-days-grid { gap:4px; }
  #calendar-days-grid .calendar-day { padding:6px 4px; min-height:72px; border-radius:10px; }
  #calendar-days-grid .calendar-day > span { font-size:12px; }
  #calendar-days-grid .calendar-day > div > div { padding:2px; font-size:8px; }
  #tab-calendar .calendar-detail-panel { padding:18px; }
  #tab-calendar .calendar-weekdays > div { font-size:11px; }
  .inbox-page-intro h2 { font-size:24px; }
  .inbox-page-symbol { width:44px; height:44px; border-radius:14px; }
  #calendar-selected-date-title { font-size:26px; }
}
@media(prefers-reduced-motion:reduce) { .guide-option { transition:none; } .guide-option:hover { transform:none; } }

.hotlist-panel {
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid #e6e5e0;
  border-radius: 18px;
  background: #fff;
}
.hotlist-eyebrow { color: #71717a; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.hotlist-title { margin: 4px 0; color: #0b0b0f; font-size: 26px; font-weight: 800; }
.hotlist-description { color: #52525b; font-size: 14px; }
#hotlist-tabs > .hotlist-platforms { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 20px; background: #f2f1ec; }
.hotlist-platforms button, #hotlist-board-tabs button {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: #52525b;
  font-size: 13px;
  font-weight: 700;
}
.hotlist-platforms button[aria-pressed="true"] { background: #fff; color: #3b2fc9; box-shadow: 0 1px 3px #0b0b0f20; }
#hotlist-board-tabs button[aria-pressed="true"] { background: #0b0b0f; color: #fff; }
#hotlist-search, #hotlist-sort { min-height: 46px; border-radius: 999px; border-color: #e6e5e0; font-size: 14px; }
.hotlist-row { padding: 10px 14px 10px 16px; border: 1px solid #e6e5e0; border-radius: 14px; }
.hotlist-row:hover { border-color: #c9c3ff; }
.hotlist-row [data-item-title] { color: #0b0b0f; font-size: 15px; font-weight: 800; }
.hotlist-create { min-height: 38px; padding: 0 14px; border-radius: 999px; background: #f1efff; color: #3b2fc9; font-size: 13px; font-weight: 700; }

#modal-brand-profile .modal-card { max-width: 650px; border: 1px solid #e6e5e0; border-radius: 22px; }
#bp-modal-title { color: #0b0b0f; font-size: clamp(22px, 4vw, 30px); font-weight: 800; }
#bp-progress { display: block; width: 100%; height: 8px; accent-color: #5b4bff; }
#bp-step-title { margin: 18px 0; color: #0b0b0f; font-size: 19px; font-weight: 800; }
.bp-fields { min-width: 0; border: 0; padding: 0; }
.bp-fields label { display: block; color: #3f3f46; font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.bp-fields > label + .modal-input { margin-top: 6px; }
.bp-fields .modal-input { border-radius: 14px; border-color: #e6e5e0; background: #fafaf7; }
.bp-actions button, #bp-generate-plan { border-radius: 999px; }
#bp-next, #bp-save-btn { background: #5b4bff; color: #fff; }


#brand-profile-form .bp-actions .hidden,
#brand-profile-form .bp-fields[hidden] { display: none; }

@media(max-width:640px) {
  #hotlist-tabs button { min-height: 34px; padding-inline: 12px; font-size: 12px; }
  #hotlist-board-tabs button { min-height: 34px; padding-inline: 12px; font-size: 12px; }
  .hotlist-panel .mt-6 { margin-top: 16px; }
  .hotlist-row .min-w-\[180px\] { min-width: min(140px, 100%); }
}

.youtube-insight-card {
  padding: clamp(16px, 3vw, 22px);
  border: 1px solid #dcd8ff;
  border-radius: 18px;
  background: #f7f6ff;
}
