.ui-icon { display: block; flex: none; }
.brand-logo { display: block; flex: none; width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 3px 4px rgba(20,18,30,.25)); }
.public-brand > span, .mobile-brand > span { color: #126fd2; background: linear-gradient(90deg,#008fe8 0%,#126fd2 42%,#54209c 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-brand-crop { width: min(360px, 82%); height: 230px; margin: 0 0 24px; overflow: hidden; }
.hero-brand-logo { display: block; width: 100%; height: auto; margin: 0; transform: translateY(-46px); image-rendering: auto; filter: drop-shadow(0 10px 18px rgba(26,21,44,.16)); }
.auth-brand-logo { display: block; width: min(260px, 88%); height: auto; margin: 0 0 22px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(26,21,44,.16)); }
.sidebar-collapsed .product-brand .brand-logo { width: 48px; height: 48px; }
.product-nav i .ui-icon, .sidebar-plan i .ui-icon { width: 18px; height: 18px; }
.topbar-actions a { display: inline-flex; align-items: center; gap: 7px; }
.sidebar-profile button .ui-icon { width: 17px; height: 17px; }

.social-icon { display: grid; flex: none; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: #25242b; }
.social-icon img { display: block; width: 19px; height: 19px; object-fit: contain; }
.social-icon-facebook { background: #0866ff; }
.social-icon-instagram { background: linear-gradient(135deg,#833ab4,#e1306c 55%,#fcb045); }
.social-icon-threads, .social-icon-tiktok, .social-icon-x { background: #111; }
.social-icon-linkedin { background: #0a66c2; }
.social-icon-pinterest { background: #bd081c; }
.social-icon-youtube { background: #ff0000; }
.network-band .social-icon { width: 30px; height: 30px; border-radius: 9px; }
.network-band .social-icon img { width: 15px; height: 15px; }
.channel-card > .social-icon { width: 42px; height: 42px; border-radius: 11px; }
.calendar-post .social-icon { width: 22px; height: 22px; border-radius: 6px; }
.calendar-post .social-icon img { width: 11px; height: 11px; }

/* Tighter navigation and fully visible public network marks. */
.product-shell { --sidebar: 224px; }
.sidebar-header { padding-inline: 8px; }
.product-sidebar .product-brand { width: 50px; justify-content: center; }
.product-sidebar .product-nav { margin-top: 18px; }
.product-sidebar .product-nav a { padding-inline: 9px; }
.network-band .social-icon { overflow: visible; padding: 6px; }
.network-band .social-icon img { width: 100%; height: 100%; }
.channel-card form { display: block; margin: 0; }
.channel-card form button { display: inline-flex; align-items: center; justify-content: center; min-width: 78px; cursor: pointer; }
.media-drop { transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.media-drop.drag-active { border-color: var(--purple); background: var(--purple-soft); box-shadow: 0 0 0 4px rgba(91,67,214,.12); transform: translateY(-1px); }
.media-drop.drag-active > i { background: var(--purple); color: #fff; }
.connected-account form button { border-color: #e6b8bf; color: #b52f42; background: #fff8f9; }
.price-card .plan-signup { display: flex; width: 100%; align-items: center; justify-content: center; margin-top: 14px; padding: 12px; border-radius: 9px; background: var(--purple); color: #fff; font-weight: 750; box-shadow: 0 8px 18px rgba(91,67,214,.17); }
.public-body .billing-hero, .public-body .pricing-grid, .public-body .included { width: min(1500px,calc(100% - 48px)); margin-right: auto; margin-left: auto; }
.public-body .billing-hero { margin-top: 58px; }
.public-body .included { margin-bottom: 70px; }
.platform-limit-note { display: block; margin-top: 10px; color: var(--muted); font-size: 11px; }
.platform-limit-note a, .plan-features a, .feature-list a { color: var(--purple); font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }

.limits-page { max-width: 1180px; margin: 0 auto; padding: 74px 34px 90px; }
.limits-intro { max-width: 820px; margin-bottom: 34px; }
.limits-intro h1 { margin: 10px 0 16px; font-size: clamp(38px, 5vw, 64px); line-height: .98; letter-spacing: -.045em; }
.limits-intro p { color: var(--muted); font-size: 18px; line-height: 1.65; }
.limits-notice { margin: 24px 0 34px; padding: 18px 20px; border: 1px solid #d9d5ff; border-radius: 16px; background: #f5f3ff; color: #3e3573; line-height: 1.55; }
.limits-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.limit-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(34, 28, 61, .05); }
.limit-card h2 { margin: 0 0 10px; font-size: 22px; }
.limit-card p { margin: 0 0 16px; color: var(--muted); line-height: 1.6; }
.limit-card a { color: var(--purple); font-weight: 800; }
.limits-footnote { margin-top: 28px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.limits-footnote a { color: var(--purple); font-weight: 750; }
.feature-columns article h3 { margin-top: 0; }
.plan-features { min-height: 230px; margin: 18px 0 4px; padding: 14px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.5; list-style: none; }
.plan-features li { position: relative; padding-left: 19px; }
.plan-features li::before { position: absolute; left: 0; top: 0; color: #111; content: '✓'; font-weight: 850; }
.plan-features li + li { margin-top: 5px; }
.price-card button:disabled { opacity: .55; cursor: not-allowed; }
.pricing-limit-note { width: min(1500px,calc(100% - 48px)); margin: 12px auto 0; color: var(--muted); font-size: 11px; }
.pricing-limit-note a { color: var(--purple); font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.pricing-networks { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: center; width: min(1500px,calc(100% - 48px)); margin: 28px auto 0; padding: 28px 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.pricing-networks h2 { margin: 6px 0 8px; font: 800 clamp(24px,2.2vw,34px)/1.12 Manrope,sans-serif; }
.pricing-networks p { max-width: 570px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.pricing-network-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.pricing-network-grid > span { display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--canvas); color: #111; font-size: 11px; font-weight: 750; }
.pricing-network-grid .social-icon { width: 25px; height: 25px; background: transparent; }
.pricing-network-grid .social-icon img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) brightness(0); }

.account-menu-wrap { position: relative; }
.account-trigger { display: inline-flex; height: 42px; min-width: 58px; align-items: center; justify-content: center; gap: 5px; padding: 0 10px; border: 0; border-radius: 999px; background: #262337; color: #fff; cursor: pointer; font-weight: 800; }
.account-trigger > span { display: grid; width: 24px; height: 24px; place-items: center; font-size: 10px; }
.account-trigger:hover, .account-trigger[aria-expanded="true"] { background: var(--purple); }
.account-dropdown { position: absolute; top: calc(100% + 12px); right: 0; z-index: 100; width: 330px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); box-shadow: 0 24px 60px rgba(20,17,38,.22); }
.account-dropdown[hidden] { display: none; }
.account-dropdown header { display: flex; align-items: center; gap: 11px; padding: 10px 10px 14px; border-bottom: 1px solid var(--line); }
.account-dropdown header > span { display: grid; flex: none; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #262337; color: #fff; font-size: 11px; font-weight: 800; }
.account-dropdown header > div { display: grid; min-width: 0; }
.account-dropdown header strong, .account-dropdown header small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-dropdown header strong { font-size: 13px; }
.account-dropdown header small { color: var(--muted); font-size: 10px; }
.account-dropdown > a { display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px; padding: 12px 10px; border-radius: 10px; }
.account-dropdown > a:hover { background: var(--purple-soft); color: var(--purple); }
.account-dropdown > a > span { display: grid; }
.account-dropdown > a strong { font-size: 12px; }
.account-dropdown > a small { color: var(--muted); font-size: 9px; }
.appearance-options { margin-top: 4px; padding: 12px 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.appearance-options > b { display: block; margin-bottom: 9px; color: var(--muted); font-size: 9px; letter-spacing: 1.2px; text-transform: uppercase; }
.appearance-options > div { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.appearance-options button { display: grid; justify-items: center; gap: 5px; padding: 9px 5px; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; font-size: 9px; font-weight: 700; }
.appearance-options button:hover, .appearance-options button[aria-pressed="true"] { border-color: var(--purple); background: var(--purple-soft); color: var(--purple); }
.account-dropdown form { margin: 4px 0 0; }
.account-logout { display: flex; width: 100%; align-items: center; gap: 10px; padding: 11px 10px; border: 0; border-radius: 10px; background: transparent; color: #c83c4e; cursor: pointer; font-weight: 700; }
.account-logout:hover { background: #fff0f2; }

.security-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(300px,.7fr); gap: 20px; }
.security-card { padding: 26px; }
.security-card-heading { display: flex; align-items: flex-start; gap: 14px; }
.security-card-heading > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; background: var(--purple-soft); color: var(--purple); }
.security-card h2 { margin: 0; font: 800 21px Manrope,sans-serif; }
.security-card p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.security-state { display: grid; gap: 3px; margin: 24px 0 18px; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #f8f7fb; }
.security-state b { font-size: 12px; }
.security-state span { color: var(--muted); font-size: 10px; }
.security-state.warning { border-color: #ead4a7; background: #fff9ea; }
.security-state.enabled { border-color: #bfe4d4; background: #ecf9f4; }
.mfa-setup { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 24px; margin-bottom: 18px; }
.mfa-qr-panel { text-align: center; }
.mfa-qr-panel small, .mfa-email-note { display: block; margin-top: 9px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.mfa-phone-setup { padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-soft, #faf9fc); }
.mfa-phone-setup h3 { margin: 5px 0 9px; font-size: 18px; }
.mfa-phone-setup ol { margin: 0 0 15px; padding-left: 19px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.mfa-secret { display: flex; gap: 8px; align-items: stretch; margin-bottom: 12px; }
.mfa-secret code { min-width: 0; flex: 1; padding: 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface, #fff); overflow-wrap: anywhere; font-size: 12px; letter-spacing: .08em; }
.mfa-secret button { border: 0; border-radius: 9px; padding: 0 13px; background: #6547d7; color: #fff; font-weight: 700; cursor: pointer; }
.authenticator-downloads { margin: 0 0 14px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface, #fff); }
.authenticator-downloads h4 { margin: 0 0 12px; font-size: 14px; text-align: center; }
.authenticator-row + .authenticator-row { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.authenticator-row > strong { display: block; margin-bottom: 7px; font-size: 12px; }
.authenticator-row > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.authenticator-row a { display: flex; min-width: 0; min-height: 46px; align-items: center; gap: 7px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-soft, #faf9fc); color: var(--ink); text-decoration: none; }
.authenticator-row a:hover { border-color: var(--purple); background: var(--purple-soft); }
.authenticator-row svg { flex: none; width: 21px; height: 21px; }
.authenticator-row span { display: grid; min-width: 0; font-size: 11px; font-weight: 800; line-height: 1.08; }
.authenticator-row small { color: var(--muted); font-size: 8px; font-weight: 650; }
.mfa-confirm { display: flex; align-items: end; gap: 10px; margin: 0 0 12px; }
.mfa-confirm .field-label { flex: 1; }
.mfa-qr { display: grid; place-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.mfa-qr svg { width: 185px; height: 185px; }
.inline-danger { margin-top: 10px; }
.security-facts > div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.security-facts > div:last-child { border-bottom: 0; }
.security-facts b { color: var(--ink); }

html[data-theme="dark"] { color-scheme: dark; --ink:#f4f1fb; --muted:#aaa6b7; --line:#393544; --surface:#211e2a; --canvas:#14121a; --purple:#a995ff; --purple-dark:#c5b9ff; --purple-soft:#302a49; --shadow:0 12px 36px rgba(0,0,0,.28); }
html[data-theme="dark"] body, html[data-theme="dark"] .app-body, html[data-theme="dark"] .public-body { background: var(--canvas); color: var(--ink); }
html[data-theme="dark"] .product-sidebar, html[data-theme="dark"] .product-topbar, html[data-theme="dark"] .surface, html[data-theme="dark"] .stat-grid > a, html[data-theme="dark"] .analytics-cards article, html[data-theme="dark"] .channel-card, html[data-theme="dark"] .panel, html[data-theme="dark"] .price-card, html[data-theme="dark"] .auth > .card, html[data-theme="dark"] .public-header, html[data-theme="dark"] .public-footer { border-color: var(--line); background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .pricing-network-grid > span { color: var(--ink); }
html[data-theme="dark"] .pricing-network-grid .social-icon img { filter: grayscale(1) brightness(0) invert(1); }
html[data-theme="dark"] .plan-features li::before { color: var(--ink); }
html[data-theme="dark"] .product-topbar, html[data-theme="dark"] .public-header { background: rgba(33,30,42,.94); }
html[data-theme="dark"] .workspace-switcher, html[data-theme="dark"] .product-nav i, html[data-theme="dark"] .sidebar-plan i, html[data-theme="dark"] .calendar-weekdays, html[data-theme="dark"] .preview-top { border-color: var(--line); background: #292531; }
html[data-theme="dark"] .product-nav a { color: #c0bccb; }
html[data-theme="dark"] .product-nav a:hover, html[data-theme="dark"] .product-nav a.active { background: var(--purple-soft); color: #c7bbff; }
html[data-theme="dark"] .calendar-day, html[data-theme="dark"] .network-choice, html[data-theme="dark"] .field-label input, html[data-theme="dark"] .field-label textarea, html[data-theme="dark"] .month-navigation a, html[data-theme="dark"] .button.secondary, html[data-theme="dark"] .channel-card > a, html[data-theme="dark"] .channel-card > button, html[data-theme="dark"] .channel-card form button { border-color: var(--line); background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .calendar-day.outside { background: #191720; color: #777382; }
html[data-theme="dark"] .calendar-day.today { background: #262138; }
html[data-theme="dark"] .calendar-post { background: #2a2731; }
html[data-theme="dark"] .calendar-post.scheduled { background: #302a49; }
html[data-theme="dark"] .calendar-post.queued { background: #3b3021; }
html[data-theme="dark"] .calendar-post.published { background: #1e382f; }
html[data-theme="dark"] .calendar-post.failed { background: #3d2329; }
html[data-theme="dark"] .media-drop, html[data-theme="dark"] .network-choice:hover, html[data-theme="dark"] .network-choice.selected, html[data-theme="dark"] .publish-choice label:has(input:checked) { border-color: #5b507e; background: #282337; }
html[data-theme="dark"] .preview-social, html[data-theme="dark"] .status-table > div:last-child { border-color: var(--line); }
html[data-theme="dark"] .preview-media { background: linear-gradient(145deg,#2c2934,#211f29); }
html[data-theme="dark"] .landing-hero { background: radial-gradient(circle at 87% 20%,#30294c 0,rgba(48,41,76,0) 37%),linear-gradient(180deg,#191720,#14121a); }
html[data-theme="dark"] .landing-features, html[data-theme="dark"] .network-band, html[data-theme="dark"] .feature-columns article { border-color: var(--line); background: var(--surface); }
html[data-theme="dark"] .preview-window { border-color: var(--line); background: var(--surface); }
html[data-theme="dark"] .security-state { border-color: var(--line); background: #292631; }
html[data-theme="dark"] .security-state.warning { border-color: #6d5933; background: #362d20; }
html[data-theme="dark"] .security-state.enabled { border-color: #315d4c; background: #1c362d; }
html[data-theme="dark"] .mfa-phone-setup, html[data-theme="dark"] .mfa-secret code, html[data-theme="dark"] .authenticator-downloads, html[data-theme="dark"] .authenticator-row a { background: #292631; }
html[data-theme="dark"] .account-logout:hover { background: #3d2329; }
html[data-theme="dark"] .quiet-action, html[data-theme="dark"] .field-label, html[data-theme="dark"] .page-heading p { color: var(--muted); }
html[data-theme="dark"] .limit-card { border-color: var(--line); background: var(--surface); }
html[data-theme="dark"] .limits-notice { border-color: #5b507e; background: #282337; color: #d6cff7; }

@media (max-width: 760px) {
    .network-band { padding: 26px 12px; }
    .network-band > p { max-width: 290px; margin-inline: auto; line-height: 1.45; }
    .network-band > div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px 6px; justify-content: initial; margin-top: 18px; }
    .network-band span { width: auto; min-width: 0; flex-direction: column; justify-content: flex-start; gap: 6px; text-align: center; font-size: 10px; line-height: 1.15; }
    .network-band .social-icon { width: 36px; height: 36px; padding: 8px; }
    .limits-page { padding: 48px 20px 70px; }
    .limits-grid { grid-template-columns: 1fr; }
    .public-header { gap: 8px; padding-inline: 12px; }
    .public-header .public-brand { gap: 6px; font-size: 14px; }
    .public-header .public-brand .brand-logo { width: 36px; height: 36px; }
    .public-actions { gap: 7px; }
    .public-actions > a:first-child { display: inline-flex; padding: 8px 4px; font-size: 12px; }
    .public-actions .public-cta { padding: 9px 10px; border-radius: 8px; font-size: 11px; white-space: nowrap; }
    .mobile-brand .brand-logo { width: 34px; height: 34px; }
    .hero-brand-crop { width: min(300px, 88%); height: 192px; margin-bottom: 18px; }
    .hero-brand-logo { width: 100%; height: auto; transform: translateY(-38px); }
    .auth-brand-logo { width: min(220px, 86%); height: auto; margin-bottom: 16px; }
    .pricing-networks { grid-template-columns: 1fr; gap: 22px; width: calc(100% - 28px); padding: 24px 20px; }
    .pricing-network-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .pricing-limit-note { width: calc(100% - 28px); }
    .published-heading-actions { width: 100%; }
    .published-heading-actions .button { flex: 1; }
    .published-filters { grid-template-columns: 1fr 1fr; }
    .published-filters .button { grid-column: 1/-1; }
    .published-summary { grid-template-columns: 1fr 1fr; }
    .published-layout { grid-template-columns: 1fr; }
    .published-network-mix { position: static; }
    .published-content { grid-template-columns: 1fr; }
    .published-media { max-height: 280px; }
    .published-destination { grid-template-columns: 32px minmax(0,1fr) auto; }
    .published-destination code { display: none; }
    .published-detail-preview { grid-template-columns: 1fr; padding: 16px; }
    .published-detail-deliveries { padding: 16px; }
    .published-detail-deliveries .published-destination { grid-template-columns: 32px minmax(0,1fr) auto; }
    .published-detail-deliveries .published-destination > a { grid-column: 2/-1; justify-self: start; }
    .sidebar-collapsed .brand-name { display: inline; }
    .sidebar-collapsed .workspace-switcher p,
    .sidebar-collapsed .product-nav span,
    .sidebar-collapsed .sidebar-plan span,
    .sidebar-collapsed .sidebar-profile p { display: grid; }
    .sidebar-collapsed .sidebar-profile form { display: block; margin-left: auto; }
    .sidebar-collapsed .sidebar-header { display: flex; justify-items: initial; }
    .sidebar-collapsed .workspace-switcher,
    .sidebar-collapsed .product-nav a,
    .sidebar-collapsed .sidebar-plan,
    .sidebar-collapsed .sidebar-profile { justify-content: flex-start; }
    .account-trigger { width: 42px; min-width: 42px; padding: 0; }
    .account-trigger > .ui-icon { display: none; }
    .account-dropdown { position: fixed; top: 70px; right: 12px; left: 12px; width: auto; max-height: calc(100dvh - 84px); overflow: auto; }
    .topbar-actions > .quiet-action, .topbar-actions > .top-create { display: none; }
    .topbar-actions { margin-left: auto; }
    .security-grid, .mfa-setup { grid-template-columns: 1fr; }
    .mfa-qr-panel { display: none; }
    .mfa-phone-setup { padding: 15px; }
    .mfa-phone-setup ol { font-size: 14px; }
    .mfa-secret, .mfa-confirm { flex-direction: column; align-items: stretch; }
    .mfa-secret code { font-size: 13px; }
    .mfa-secret button { min-height: 44px; }
    .authenticator-downloads { padding: 12px 10px; }
    .authenticator-downloads h4 { font-size: 13px; }
    .authenticator-row a { padding-inline: 7px; }
    .authenticator-row span { font-size: 10px; }
    .mfa-email-note { font-size: 12px; }
    .mfa-qr { justify-self: start; }
}

@media (max-width: 430px) {
    .top-create:after { content: none; }
    .top-create .ui-icon { width: 20px; height: 20px; }
}

/* Unified sidebar account, consolidated social cards, and persistent composer media. */
.product-shell { --sidebar: 240px; }
.product-sidebar { padding: 18px 12px 14px; overflow: visible; }
.sidebar-header { min-height: 56px; padding: 0 7px 12px; border-bottom: 1px solid var(--line); }
.product-sidebar .product-brand { width: 52px; }
.product-sidebar .product-nav { gap: 6px; margin-top: 14px; }
.product-sidebar .product-nav a { min-height: 50px; gap: 12px; padding: 7px 10px; font-size: 14px; }
.product-nav i { width: 36px; height: 36px; border-radius: 10px; }
.product-nav i .ui-icon { width: 20px; height: 20px; }
.sidebar-account { margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line); }
.sidebar-account .account-trigger { width: 100%; height: 54px; justify-content: flex-start; gap: 10px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--ink); box-shadow: none; }
.sidebar-account .account-trigger:hover, .sidebar-account .account-trigger[aria-expanded="true"] { border-color: #c8bff3; background: var(--purple-soft); color: var(--purple); }
.sidebar-account .account-trigger > span:first-child { display: grid; flex: none; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: #262337; color: #fff; font-size: 11px; }
.account-trigger-copy { display: grid!important; min-width: 0; flex: 1; justify-items: start; line-height: 1.2; }
.account-trigger-copy strong, .account-trigger-copy small { max-width: 135px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-trigger-copy strong { color: var(--ink); font-size: 12px; }
.account-trigger-copy small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.sidebar-account .account-dropdown { top: auto; right: auto; bottom: calc(100% + 10px); left: 0; }
.sidebar-collapsed { grid-template-columns: 80px minmax(0,1fr); }
.sidebar-collapsed .sidebar-account .account-trigger { width: 48px; min-width: 48px; justify-content: center; padding: 5px; }
.sidebar-collapsed .account-trigger-copy, .sidebar-collapsed .sidebar-account .account-trigger > .ui-icon { display: none!important; }
.sidebar-collapsed .sidebar-account .account-dropdown { bottom: 0; left: 58px; }

.connections-v2 { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
.provider-card { display: block; padding: 0; overflow: hidden; }
.provider-card-header { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 17px; }
.provider-card-header > div { display: grid; min-width: 0; }
.provider-card-header strong { font-size: 14px; }
.provider-card-header small { color: var(--muted); font-size: 10px; }
.provider-card-header > a, .provider-card-header > button { padding: 8px 11px; border: 1px solid #dcd7f1; border-radius: 8px; background: var(--surface); color: var(--purple); font-size: 10px; font-weight: 750; }
.provider-card-header > button:disabled { color: var(--muted); }
.connected-account-list { padding: 0 13px 13px; }
.connected-account-row { display: grid; grid-template-columns: 32px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 11px; border-top: 1px solid var(--line); background: color-mix(in srgb,var(--surface) 88%,#e9f8f1); }
.connected-account-row:first-child { border-radius: 11px 11px 0 0; }
.connected-account-row:last-child { border-radius: 0 0 11px 11px; }
.connected-account-row:only-child { border-radius: 11px; }
.connected-account-row > span { display: grid; width: 30px; min-width: 30px; max-width: 30px; height: 30px; min-height: 30px; max-height: 30px; aspect-ratio: 1; place-items: center; border-radius: 9px; background: #e8f6ef; color: var(--green); font-size: 10px; font-weight: 800; }
.connected-account-avatar { position: relative; overflow: hidden; contain: paint; }
.connected-account-avatar img { position: absolute; inset: 0; display: block; width: 100%; max-width: 100%; height: 100%; max-height: 100%; object-fit: cover; object-position: center; border-radius: inherit; }
.connected-account-row > div { display: grid; min-width: 0; }
.connected-account-row strong, .connected-account-row small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.connected-account-row strong { font-size: 11px; }
.connected-account-row small { color: var(--muted); font-size: 9px; }
.connected-account-row form { margin: 0; }
.connected-account-row form button { padding: 7px 9px; border: 1px solid #e6b8bf; border-radius: 8px; background: #fff8f9; color: #b52f42; cursor: pointer; font-size: 9px; font-weight: 750; }

.media-selection { display: grid; gap: 8px; margin-top: 10px; }
.media-item { display: grid; grid-template-columns: 44px minmax(0,1fr) 34px; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.media-item > img, .media-video-mark { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.media-item > img { background-color: #fff; filter: none !important; mix-blend-mode: normal; forced-color-adjust: none; color-scheme: only light; }
.media-video-mark { display: grid; place-items: center; background: #24232b; color: #fff; font-size: 15px; }
.media-item > div { display: grid; min-width: 0; }
.media-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.media-item small { color: var(--muted); font-size: 9px; }
.media-remove { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #edc8ce; border-radius: 8px; background: #fff8f9; color: #b52f42; cursor: pointer; font-size: 20px; line-height: 1; }
.draft-persistence { margin: 9px 1px 0; color: var(--muted); font-size: 10px; }
.preview-media { display: block; min-height: 230px; }
.preview-media > span, .preview-media > small { display: block; text-align: center; }
.preview-media > span { padding-top: 72px; }
.preview-media > small { margin-top: 4px; }
.preview-media-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px; width: 100%; min-height: 230px; }
.preview-media-grid:has(:only-child) { grid-template-columns: 1fr; }
.preview-media-grid img, .preview-media-grid video { width: 100%; height: 100%; min-height: 112px; max-height: 230px; object-fit: cover; background: #1d1c22; }
.preview-media-grid img { object-fit: contain; background-color: #fff; background-image: linear-gradient(45deg,#eef0f3 25%,transparent 25%),linear-gradient(-45deg,#eef0f3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eef0f3 75%),linear-gradient(-45deg,transparent 75%,#eef0f3 75%); background-position: 0 0,0 8px,8px -8px,-8px 0; background-size: 16px 16px; filter: none !important; mix-blend-mode: normal; opacity: 1; isolation: isolate; forced-color-adjust: none; color-scheme: only light; }
html[data-theme="dark"] .preview-media-grid img, html[data-theme="dark"] .media-item > img { filter: none !important; mix-blend-mode: normal; forced-color-adjust: none; color-scheme: only light; }
.composer-submit { grid-template-columns: 1fr auto 1.35fr; }
.discard-draft { border-color: #edc8ce; background: #fff8f9; color: #a92b3d; }

html[data-theme="dark"] .sidebar-account .account-trigger, html[data-theme="dark"] .media-item, html[data-theme="dark"] .provider-card-header > a, html[data-theme="dark"] .provider-card-header > button { border-color: var(--line); background: var(--surface); color: var(--ink); }
html[data-theme="dark"] .connected-account-row { background: #202c28; }
html[data-theme="dark"] .connected-account-row > span { background: #294039; color: #84d4b5; }
html[data-theme="dark"] .connected-account-row form button, html[data-theme="dark"] .media-remove, html[data-theme="dark"] .discard-draft { border-color: #69434a; background: #3d2329; color: #ffadb8; }
.campaign-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.campaign-card{padding:0;overflow:hidden}.campaign-card>header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:20px;border-bottom:1px solid var(--line)}.campaign-card h2,.campaign-card p{margin:0}.campaign-card h2{font-size:17px}.campaign-card p{font-size:12px;color:var(--muted)}.campaign-card>header>strong,.approval-panel .surface-heading>strong{font-size:25px}.campaign-mark{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#f1eeff;color:var(--purple)}.campaign-mark.published{background:#e8f6ef;color:var(--green)}.campaign-posts,.approval-list{display:grid}.campaign-posts>a,.approval-list>a{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:13px 18px;border-bottom:1px solid var(--line);color:var(--ink)}.campaign-posts>a:hover,.approval-list>a:hover{background:color-mix(in srgb,var(--surface) 90%,#eeeaff)}.campaign-posts>a>span .social-icon{width:28px;height:28px}.campaign-posts a div,.approval-list a div{display:grid;min-width:0}.campaign-posts b,.approval-list b,.campaign-posts small,.approval-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.campaign-posts b,.approval-list b{font-size:12px}.campaign-posts small,.approval-list small{font-size:10px;color:var(--muted)}.campaign-posts i{font-style:normal;font-size:20px;color:var(--muted)}.campaign-empty{padding:28px 20px;text-align:center}.campaign-empty p{margin:0 0 5px}.campaign-card footer{padding:13px 18px}.campaign-card footer a{font-size:11px;font-weight:750}.approval-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.approval-panel{padding:0;overflow:hidden}.approval-panel .surface-heading{padding:20px;margin:0;border-bottom:1px solid var(--line)}.approval-list>a>span{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#f1eeff;color:var(--purple)}.approved-list>a>span{background:#e8f6ef;color:var(--green)}.approval-list em{font-style:normal;border-radius:20px;padding:4px 8px;background:#f1eeff;color:var(--purple);font-size:9px;font-weight:800}.approved-list em{background:#e8f6ef;color:var(--green)}@media(max-width:1050px){.campaign-overview{grid-template-columns:1fr}.approval-grid{grid-template-columns:1fr}}@media(max-width:600px){.campaign-card>header{padding:16px}.campaign-posts>a,.approval-list>a{padding:12px 14px}.approval-list em{display:none}}

.template-library { display: grid; gap: 16px; }
.template-library-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.template-library-heading h2, .template-library-heading p { margin: 0; }
.template-library-heading p { margin-top: 5px; color: var(--muted); }
.template-count { flex: 0 0 auto; padding: 7px 10px; border-radius: 999px; background: #f0edff; color: #5c46d7; font-size: 11px; font-weight: 800; }
.template-controls { display: grid; grid-template-columns: minmax(140px,.65fr) minmax(220px,1.35fr) auto; align-items: end; gap: 12px; }
.template-controls label { display: grid; gap: 6px; font-size: 11px; font-weight: 750; }
.template-controls select { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
.template-preview { min-height: 52px; margin: 0; padding: 12px 14px; border: 1px dashed #c7bdf2; border-radius: 11px; background: #faf9ff; color: var(--muted); white-space: pre-wrap; }
html[data-theme="dark"] .template-count { background: #332b55; color: #c7baff; }
html[data-theme="dark"] .template-preview { border-color: #564b7f; background: #252136; }
@media(max-width:700px){.template-library-heading{display:grid}.template-count{width:max-content}.template-controls{grid-template-columns:1fr}.template-controls .button{width:100%}}

@media (max-width: 760px) {
    .product-sidebar { overflow-y: auto; }
    .sidebar-header { padding-bottom: 8px; }
    .product-sidebar .product-nav { margin-top: 9px; }
    .product-sidebar .product-nav a { min-height: 46px; }
    .sidebar-account { margin-top: 16px; }
    .sidebar-account .account-dropdown { position: static; width: 100%; margin-top: 8px; box-shadow: none; }
    .product-topbar { display: grid; grid-template-columns: 42px minmax(0,1fr) 42px; }
    .mobile-brand { justify-self: center; }
    .topbar-actions { min-width: 42px; }
    .connections-v2 { grid-template-columns: 1fr; }
    .composer-submit { grid-template-columns: 1fr 1fr; }
    .composer-submit .primary { grid-column: 1/-1; }
    .composer-submit small { grid-column: 1/-1; }
}

@media (max-width: 430px) {
    .provider-card-header { grid-template-columns: 40px minmax(0,1fr) auto; padding: 14px; }
    .connected-account-row { grid-template-columns: 30px minmax(0,1fr); }
    .connected-account-row form { grid-column: 2; }
    .connected-account-row form button { width: 100%; }
}

/* Compact navigation: fixed rows prevent links from stretching down the drawer. */
.product-shell { --sidebar: 220px; }
.product-sidebar { padding-inline: 10px; }
.product-sidebar .product-nav {
    display: grid;
    flex: 0 0 auto;
    grid-auto-rows: 48px;
    align-content: start;
    gap: 4px;
    width: 100%;
    margin-top: 12px;
}
.product-sidebar .product-nav a {
    box-sizing: border-box;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    gap: 10px;
    padding: 5px 8px;
    border-radius: 10px;
    font-size: 13px;
}
.product-sidebar .product-nav a.active { box-shadow: inset 3px 0 0 var(--purple); }
.product-nav i { width: 34px; height: 34px; }
.sidebar-collapsed { grid-template-columns: 76px minmax(0,1fr); }

@media (max-width: 760px) {
    .product-sidebar { width: min(74vw,252px); }
    .product-sidebar .product-nav { grid-auto-rows: 44px; gap: 3px; margin-top: 8px; }
    .product-sidebar .product-nav a { height: 44px; min-height: 44px; max-height: 44px; padding-block: 4px; }
    .product-nav i { width: 32px; height: 32px; }
    .sidebar-account { margin-top: auto; }
}

/* Posting reports */
.report-heading .button { display: inline-flex; gap: 8px; }
.report-filters { display: grid; grid-template-columns: repeat(3,minmax(150px,1fr)) auto; align-items: end; gap: 12px; margin-bottom: 16px; padding: 16px; }
.report-filters label { display: grid; gap: 6px; }
.report-filters label > span { color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.report-filters select { width: 100%; height: 42px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--ink); font: inherit; font-size: 12px; }
.report-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 13px; margin-bottom: 16px; }
.report-summary article { padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.report-summary span { color: var(--muted); font-size: 11px; font-weight: 650; }
.report-summary strong { display: block; margin-top: 5px; font: 800 28px Manrope,sans-serif; }
.report-summary small { color: var(--muted); font-size: 9px; }
.report-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(280px,.55fr); gap: 16px; align-items: start; }
.report-history, .report-network-mix { padding: 20px; }
.report-table-wrap { overflow-x: auto; margin-top: 15px; }
.report-table { width: 100%; border-collapse: collapse; }
.report-table th { padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; text-align: left; text-transform: uppercase; letter-spacing: .08em; }
.report-table td { padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.report-table td:first-child { width: 115px; }
.report-table td > time, .report-table td > strong { display: block; font-size: 11px; }
.report-table td > small { display: block; max-width: 520px; margin-top: 3px; color: var(--muted); font-size: 9px; }
.report-networks { display: flex; flex-wrap: wrap; gap: 4px; }
.report-networks .social-icon { width: 26px; height: 26px; border-radius: 7px; }
.report-networks .social-icon img { width: 16px; height: 16px; }
.report-pagination { margin-top: 16px; }
.published-heading-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.published-heading-actions .button { gap: 7px; }
.published-filters { display: grid; grid-template-columns: minmax(180px,1fr) minmax(180px,1fr) auto; align-items: end; gap: 12px; margin-bottom: 16px; padding: 16px 18px; }
.published-filters label { display: grid; gap: 5px; }
.published-filters label span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.published-filters select { height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); }
.published-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 18px; }
.published-summary article { padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); }
.published-summary span, .published-summary small { display: block; color: var(--muted); }
.published-summary span { font-size: 11px; font-weight: 700; }
.published-summary strong { display: block; margin: 4px 0 2px; font: 800 28px Manrope,sans-serif; }
.published-summary small { font-size: 9px; }
.published-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(270px,.31fr); align-items: start; gap: 18px; }
.published-feed { display: grid; gap: 14px; min-width: 0; }
.published-card { overflow: hidden; }
.published-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 19px 21px; border-bottom: 1px solid var(--line); }
.published-card > header time { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.published-card > header h2 { margin: 4px 0 0; font: 800 17px/1.25 Manrope,sans-serif; }
.published-delivered { display: inline-flex; flex: none; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 999px; background: #e7f7f0; color: #177255; font-size: 9px; font-weight: 800; }
.published-content { display: grid; grid-template-columns: minmax(150px,.3fr) minmax(0,1fr); gap: 17px; padding: 17px 21px; }
.published-content:has(.published-copy:only-child) { grid-template-columns: 1fr; }
.published-media { display: grid; grid-template-columns: repeat(2,1fr); gap: 3px; min-height: 150px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #f4f4f6; }
.published-media:has(:only-child) { grid-template-columns: 1fr; }
.published-media img, .published-media video { width: 100%; height: 100%; min-height: 72px; max-height: 220px; object-fit: contain; background: #fff; filter: none !important; mix-blend-mode: normal; forced-color-adjust: none; color-scheme: only light; }
.published-copy { display: flex; flex-direction: column; min-width: 0; }
.published-copy p { margin: 0; color: #444551; font-size: 12px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.published-copy small { margin-top: auto; padding-top: 14px; color: var(--muted); font-size: 9px; }
.published-destinations { display: grid; gap: 7px; padding: 0 21px 18px; }
.published-destination { display: grid; grid-template-columns: 34px minmax(0,1fr) auto auto; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; }
.published-destination .social-icon { width: 32px; height: 32px; border-radius: 8px; }
.published-destination > span { display: grid; min-width: 0; }
.published-destination strong, .published-destination small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.published-destination strong { font-size: 11px; }
.published-destination small { color: var(--muted); font-size: 8px; }
.published-destination > i { padding: 5px 7px; border-radius: 999px; background: #e7f7f0; color: #177255; font-size: 8px; font-style: normal; font-weight: 800; }
.published-destination code { max-width: 150px; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.published-warnings { margin: 0 21px 18px; padding: 10px 12px; border: 1px solid #edc8ce; border-radius: 9px; background: #fff8f9; color: #8f2d3d; font-size: 9px; }
.published-warnings summary { cursor: pointer; font-weight: 800; }
.published-warnings p { margin: 8px 0 0; }
.published-card-actions { display: flex; justify-content: flex-end; padding: 0 21px 18px; }
.published-card-actions a { color: var(--purple); font-size: 10px; font-weight: 800; }
.published-network-mix { position: sticky; top: 86px; padding: 20px; }
.published-detail { overflow: hidden; }
.published-detail-preview { display: grid; grid-template-columns: minmax(280px,.7fr) minmax(0,1.3fr); gap: 24px; padding: 24px; border-bottom: 1px solid var(--line); }
.published-detail .published-media { min-height: 260px; }
.published-detail-caption { min-width: 0; }
.published-detail-caption > span { color: var(--purple); font-size: 9px; font-weight: 800; letter-spacing: 1px; }
.published-detail-caption p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.7; }
.published-detail-caption small { color: var(--muted); }
.published-preview-expired { display: grid; min-height: 250px; place-items: center; align-content: center; gap: 8px; padding: 25px; border-radius: 12px; background: var(--canvas); color: var(--muted); text-align: center; }
.published-preview-expired strong { color: var(--ink); }
.published-preview-expired span { max-width: 360px; font-size: 10px; }
.published-detail-deliveries { display: grid; gap: 9px; padding: 24px; }
.published-detail-deliveries .surface-heading { margin-bottom: 4px; }
.published-detail-deliveries .published-destination { grid-template-columns: 34px minmax(0,1fr) auto auto; }
.published-detail-deliveries .published-destination > a { padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--purple); font-size: 9px; font-weight: 800; }
.published-detail-failure { display: grid; padding: 11px; border: 1px solid #edc8ce; border-radius: 9px; background: #fff8f9; }
.published-detail-failure strong { color: #8f2d3d; font-size: 10px; }
.published-detail-failure span { color: #9a5d66; font-size: 9px; }
html[data-theme="dark"] .published-copy p { color: var(--ink); }
html[data-theme="dark"] .published-delivered, html[data-theme="dark"] .published-destination > i { background: #193b31; color: #8ce0c2; }
html[data-theme="dark"] .published-warnings { border-color: #74404a; background: #3d2329; color: #ffc2cb; }
@media(max-width:760px) {
  .published-detail-preview { grid-template-columns: 1fr; padding: 16px; }
  .published-detail-deliveries { padding: 16px; }
  .published-detail-deliveries .published-destination { grid-template-columns: 32px minmax(0,1fr) auto; }
  .published-detail-deliveries .published-destination > a { grid-column: 2/-1; justify-self: start; }
}
.report-network-mix .network-row { padding-block: 13px; }

html[data-theme="dark"] .report-filters select, html[data-theme="dark"] .report-summary article { border-color: var(--line); background: var(--surface); color: var(--ink); }

@media (max-width: 1050px) {
    .report-layout { grid-template-columns: 1fr; }
    .report-network-mix { order: -1; }
}
@media (max-width: 760px) {
    .report-filters { grid-template-columns: 1fr 1fr; }
    .report-filters .button { width: 100%; }
    .report-summary { grid-template-columns: 1fr 1fr; }
    .report-history, .report-network-mix { padding: 16px; }
    .report-table { min-width: 650px; }
}
@media (max-width: 430px) {
    .report-filters { grid-template-columns: 1fr; }
}
.youtube-composer-section { border-color: #ffd1d1; background: linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface) 94%,#ff0000)); }
.youtube-number { background: #ff0000; color: #fff; }
.youtube-fields { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 220px; gap: 15px; margin-top: 8px; }
.youtube-fields > label:nth-child(2), .youtube-video-drop, .youtube-file-name { grid-column: 1/-1; }
.youtube-video-drop { margin: 0; }
.youtube-file-name { margin: 0; color: var(--muted); font-size: 12px; }
.provider-options > div[hidden], .youtube-composer-section[hidden] { display: none !important; }
@media (max-width: 700px) { .youtube-fields { grid-template-columns: 1fr; } .youtube-fields > * { grid-column: 1 !important; } }
.custom-template-tools,.hashtag-tools{display:grid;gap:10px;padding-top:16px;border-top:1px solid var(--line)}.custom-template-tools h3,.custom-template-tools p,.hashtag-tools h3,.hashtag-tools p{margin:0}.custom-template-tools p,.hashtag-tools p,.custom-template-tools>small{color:var(--muted);font-size:11px}.custom-template-row{display:grid;grid-template-columns:minmax(180px,1fr) auto auto;gap:8px}.custom-template-row.save-row{grid-template-columns:minmax(180px,1fr) auto}.custom-template-row select,.custom-template-row input,.hashtag-row select,.hashtag-row input,.hashtag-tools textarea{min-height:42px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink);padding:9px 11px}.hashtag-row{display:grid;grid-template-columns:minmax(170px,1fr) minmax(150px,1fr) 80px auto;gap:8px}.hashtag-tools>[data-add-hashtags]{justify-self:start}@media(max-width:700px){.custom-template-row,.custom-template-row.save-row,.hashtag-row{grid-template-columns:1fr}.custom-template-row .button,.hashtag-row .button,.hashtag-tools>[data-add-hashtags]{width:100%}}
.location-tools{margin:20px 0;padding:20px;border:1px solid #e3e5ee;border-radius:16px;background:#fafaff}.location-tools h3{margin:4px 0}.location-tools p{margin:0 0 14px;color:#6b7280}.location-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.location-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:14px}.location-actions small{color:#5c6477}.hashtag-saved-row{margin-top:12px}@media(max-width:700px){.location-grid{grid-template-columns:1fr}.location-actions .button{width:100%}}
/* Content planning tools */
.planner-note-form{display:grid;grid-template-columns:180px minmax(260px,1fr) 150px auto auto;align-items:end;gap:12px;margin:0 0 16px;padding:16px}.planner-note-form[hidden]{display:none}.planner-note-form label{display:grid;gap:6px;color:var(--muted);font-size:11px;font-weight:700}.planner-note-form input,.planner-note-form select{height:42px;padding:0 11px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--ink)}.planner-help{margin:0 0 12px;color:var(--muted);font-size:11px}.calendar-notes{display:grid;gap:4px;margin-top:6px}.calendar-note{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:5px 6px;border-radius:6px;background:#eeeaff;color:#4933b6;font-size:8px;font-weight:700}.calendar-note.blue{background:#e8f2ff;color:#2267a8}.calendar-note.green{background:#e7f7f0;color:#167354}.calendar-note.amber{background:#fff2d8;color:#8a5a15}.calendar-note form{margin:0}.calendar-note button{border:0;background:transparent;color:inherit;cursor:pointer}.calendar-post[draggable=true]{cursor:grab}.calendar-post.dragging{opacity:.45}.calendar-day.drop-ready{outline:2px dashed var(--purple);outline-offset:-3px;background:#f5f1ff}.calendar-post-actions{position:absolute!important;top:2px;right:2px;display:flex!important;gap:1px}.calendar-post-actions form{position:static!important}.calendar-post-actions button{font-size:13px}.template-library{margin-bottom:18px;padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.template-library-heading{display:flex;justify-content:space-between;gap:20px}.template-library-heading h2,.custom-template-tools h3,.hashtag-tools h3{margin:4px 0;font:800 18px Manrope,sans-serif}.template-library-heading p,.custom-template-tools p,.hashtag-tools p{margin:0;color:var(--muted);font-size:11px}.template-count{align-self:start;padding:6px 9px;border-radius:999px;background:var(--purple-soft);color:var(--purple);font-size:9px;font-weight:800}.template-controls,.custom-template-row,.hashtag-row{display:flex;align-items:end;gap:8px;margin-top:14px}.template-controls label{display:grid;flex:1;gap:5px;color:var(--muted);font-size:10px;font-weight:700}.template-controls select,.custom-template-row select,.custom-template-row input,.hashtag-row select,.hashtag-row input,.hashtag-tools textarea{min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink)}.template-preview{padding:12px;border-radius:9px;background:var(--canvas);color:var(--muted);font-size:11px;white-space:pre-wrap}.custom-template-tools,.hashtag-tools{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.custom-template-row select,.custom-template-row input{flex:1}.hashtag-tools textarea{width:100%;margin-top:10px;resize:vertical}.hashtag-tools>[data-add-hashtags]{margin-top:8px}.custom-template-tools>small,.hashtag-tools>small{display:block;margin-top:8px;color:var(--green);font-size:10px}
@media(max-width:760px){.planner-note-form{grid-template-columns:1fr}.planner-note-form .button{width:100%}.template-controls,.custom-template-row,.hashtag-row{align-items:stretch;flex-direction:column}.template-controls label,.template-controls select,.custom-template-row select,.custom-template-row input,.hashtag-row select,.hashtag-row input,.custom-template-row .button,.hashtag-row .button{width:100%}.template-library-heading{align-items:flex-start;flex-direction:column}}
.report-heading-actions{display:flex;align-items:center;gap:9px}.report-heading-actions form{margin:0}.report-share-result{display:grid;grid-template-columns:1fr minmax(280px,1.4fr) auto;align-items:center;gap:12px;margin-bottom:18px;padding:15px}.report-share-result>div{display:grid}.report-share-result small{color:var(--muted);font-size:10px}.report-share-result input{height:42px;padding:0 11px;border:1px solid var(--line);border-radius:8px;background:var(--canvas);color:var(--ink)}.shared-report-page{max-width:1180px;margin:0 auto;padding:42px 22px 70px}.shared-report-page>header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:20px;border-bottom:1px solid var(--line)}.shared-report-page>header>a{display:flex;align-items:center;gap:10px;font:800 18px Manrope,sans-serif}.shared-report-page>header>span{color:var(--muted);font-size:11px}.shared-report-intro{padding:45px 0 25px}.shared-report-intro h1{margin:7px 0;font:800 clamp(32px,4vw,50px) Manrope,sans-serif}.shared-report-intro p{margin:0;color:var(--muted)}.shared-report-page .report-history{padding:20px}.shared-report-page>footer{padding-top:24px;color:var(--muted);text-align:center;font-size:10px}
@media(max-width:760px){.report-heading-actions{width:100%;align-items:stretch;flex-direction:column}.report-heading-actions form,.report-heading-actions .button,.report-heading-actions form button{width:100%}.report-share-result{grid-template-columns:1fr}.shared-report-page>header{align-items:flex-start;flex-direction:column}.shared-report-page .report-summary{grid-template-columns:1fr 1fr}}
 .retained-media{display:grid;gap:2px;margin-top:10px;padding:11px;border-radius:9px;background:var(--purple-soft);color:var(--purple);font-size:11px}.retained-media small{color:var(--muted);font-size:9px}
/* Clear planner actions */
.calendar-post-actions .post-edit,.calendar-post-actions .post-duplicate,.calendar-post-actions .post-delete{display:grid;width:24px;height:24px;place-items:center;border:0;border-radius:6px;background:#fff;color:#686875;font-size:14px;line-height:1;text-decoration:none;box-shadow:0 1px 4px rgba(20,18,35,.08)}.calendar-post-actions .post-edit:hover{background:#eeeaff;color:var(--purple)}.calendar-post-actions .post-delete{width:27px;height:27px;background:#fff0f2;color:#c6283d;font-size:20px;font-weight:800}.calendar-post-actions .post-delete:hover{background:#c6283d;color:#fff}
.calendar-post-delete-form{position:absolute!important;z-index:2;top:-8px!important;left:-8px!important;right:auto!important}.calendar-post-delete-form .post-delete{display:grid;width:24px;height:24px;place-items:center;border:0;border-radius:0;background:transparent;color:#d11f3a;font-size:22px;font-weight:900;line-height:1;cursor:pointer;box-shadow:none}.calendar-post-delete-form .post-delete:hover{background:transparent;color:#980f26;transform:scale(1.12)}.calendar-post>div:first-of-type{padding-left:10px;padding-right:50px}
/* Collapsible composer tools */
.template-collapse-heading{display:flex;width:100%;align-items:center;justify-content:space-between;gap:16px;padding:14px 15px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--ink);text-align:left;cursor:pointer}.template-collapse-heading>span{display:grid;gap:2px}.template-collapse-heading strong{font:800 15px Manrope,sans-serif}.template-collapse-heading small{color:var(--muted);font-size:10px}.template-collapse-heading>b{display:grid;width:28px;height:28px;place-items:center;border-radius:8px;background:var(--purple-soft);color:var(--purple);font-size:20px}.template-collapse-heading[aria-expanded=true]{border-color:#cfc5f7;background:#fbfaff}.template-collapse-body,.collapsible-tool>[data-collapse-body]{padding:0 4px 4px}.template-collapse-body[hidden],.collapsible-tool>[data-collapse-body][hidden]{display:none!important}.collapsible-tool{padding-top:0!important;border-top:0!important}.provider-options[hidden]{display:none!important}
/* Scheduled-post-safe disconnection */
.disconnect-options{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px;padding:18px 20px;border-color:#f0c7cc;background:#fffafb}.disconnect-options[hidden]{display:none!important}.disconnect-options p{margin:4px 0 0;color:var(--muted);font-size:11px}.disconnect-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.disconnect-actions form{margin:0}.button.danger{border-color:#efb7bf;background:#fff0f2;color:#b42338}.button.danger:hover{background:#b42338;color:#fff}@media(max-width:760px){.disconnect-options{align-items:stretch;flex-direction:column}.disconnect-actions,.disconnect-actions form,.disconnect-actions .button{width:100%}}
