:root {
  color-scheme: light;
  --ink: #202b27;
  --muted: #77817b;
  --line: #e4e9e5;
  --canvas: #f4f6f3;
  --paper: #ffffff;
  --green: #207a57;
  --green-dark: #165b40;
  --green-wash: #e9f4ee;
  --orange: #c55f39;
  --orange-wash: #fbefe9;
  --blue: #3b6d96;
  --shadow: 0 1px 2px rgb(26 43 34 / 5%), 0 8px 24px rgb(26 43 34 / 3%);
}

* { box-sizing: border-box; }
body { margin: 0; overflow-x: hidden; background: var(--canvas); color: var(--ink); font-family: "Segoe UI", Tahoma, sans-serif; font-size: 14px; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { outline-color: var(--green); }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 2; display: flex; width: 248px; flex-direction: column; overflow-y: auto; padding: 23px 16px 15px; background: #fff; border-right: 1px solid #e7ebf1; box-shadow: 5px 0 18px rgb(32 51 76 / 3%); font-family: "Poppins", "Segoe UI", sans-serif; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 12px 22px; }
.brand-mark { display: grid; width: 37px; aspect-ratio: 1; place-items: center; border-radius: 9px; background: #08a36d; color: #fff; font: 700 19px Georgia, serif; box-shadow: 0 4px 8px rgb(8 163 109 / 16%); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: -.2px; }
.brand small { margin-top: 2px; color: #8b99a8; font-size: 10px; }
.nav-label { padding: 0 11px 9px; color: #96a4b3; font-size: 10px; font-weight: 600; text-transform: none; }
.primary-nav, .secondary-nav { display: grid; gap: 1px; }
.nav-link { display: flex; min-height: 32px; align-items: center; gap: 12px; padding: 0 12px; border-radius: 7px; color: #111827; font-size: 12px; }
.nav-link:hover { background: #f4f8fc; color: #112b54; }
.nav-link.is-active { background: #e0efff; color: #0976f6; font-weight: 650; }
.nav-icon { display: grid; width: 20px; place-items: center; color: #334155; font-size: 16px; font-weight: 500; line-height: 1; }
.icon-svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.icon-svg.icon-at, .icon-svg.icon-hash { stroke-width: 1.7; }
.nav-link.is-active .nav-icon { color: #0879fa; }
.app-nav-icon { font-size: 16px; line-height: 1; }
.inbox-nav-icon { color: #c13584; transform: rotate(-18deg); }
.nav-count-error { background: #fff0ea; color: #a5482c; }
.nav-count { display: grid; min-width: 18px; height: 18px; margin-left: auto; place-items: center; border-radius: 50%; background: #fa6476; color: #fff; font-size: 9px; }
.sidebar-section-label { margin-top: 20px; padding-bottom: 7px; color: #111827; font-size: 11px; font-weight: 600; }
.connected-accounts { margin-top: 1px; }
.connected-accounts-list { max-height: 220px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #c7d3df transparent; }
.connected-account { display: flex; min-height: 42px; align-items: center; gap: 11px; padding: 3px 12px; overflow: hidden; color: #111827; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.connected-account:hover { color: #0879fa; }
.connected-account-copy { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.connected-account-copy strong, .connected-account-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.connected-account-copy small { margin-top: 2px; color: #64748b; font-size: 9px; font-weight: 500; }
.account-avatar-stack { position: relative; display: block; width: 27px; height: 27px; flex: 0 0 auto; }
.connected-account-avatar { display: grid; width: 27px; height: 27px; flex: 0 0 auto; place-items: center; border: 1px solid #e5ebf2; border-radius: 50%; background: #f5f8fb; color: #0879fa; font-size: 10px; font-weight: 700; }
.account-avatar-stack > img.connected-account-avatar { object-fit: cover; }
.account-platform-logo { position: absolute; right: -3px; bottom: -2px; width: 11px; height: 11px; border: 1.5px solid #fff; border-radius: 50%; object-fit: cover; box-shadow: 0 1px 2px rgb(15 23 42 / 20%); }
.connected-account-facebook { background: #e9f1ff; color: #1977f3; }
.connected-account-instagram { background: #fff0f4; color: #d04c76; }
.connected-account-threads { background: #f1f2f3; color: #30343a; }
.add-account-link { display: flex; min-height: 32px; align-items: center; gap: 13px; margin: 4px 12px 0; padding: 0 10px; border: 1px solid #dfe7ef; border-radius: 7px; color: #53627a; font-size: 11px; }
.add-account-link:hover { border-color: #9ec8fb; background: #f7fbff; color: #0879fa; }
.add-account-link > span:first-child { color: #0879fa; font-size: 22px; font-weight: 300; line-height: 1; }
.sidebar-bottom { margin-top: auto; padding: 16px 9px 0; border-top: 1px solid #edf0f4; }
.connection-title { margin-bottom: 11px; font-size: 11px; font-weight: 700; }
.connection-row { display: flex; align-items: center; gap: 8px; padding: 5px 0; color: #57615b; font-size: 11px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #c7cec9; }
.status-dot.is-connected { background: #299267; box-shadow: 0 0 0 3px #e6f3ec; }
.connection-state { margin-left: auto; color: #9aa39d; font-size: 10px; }
.admin-link { display: inline-block; margin-top: 12px; color: var(--green); font-size: 11px; font-weight: 650; }
.main-column { min-height: 100vh; margin-left: 248px; }
.topbar { display: flex; height: 58px; align-items: center; justify-content: space-between; padding: 0 36px; border-bottom: 1px solid var(--line); background: #fff; }
.mobile-menu-toggle, .mobile-drawer, .mobile-drawer-backdrop, .mobile-bottom-nav { display: none; }
.topbar-context { color: #849087; font-size: 11px; }
.mobile-page-title { display: none; }
.account-menu { position: relative; }
.topbar-user { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 600; cursor: pointer; list-style: none; }
.topbar-user::-webkit-details-marker { display: none; }
.account-chevron { color: #8c9891; font-size: 14px; margin-left: 2px; }
.account-dropdown { position: absolute; top: calc(100% + 10px); right: 0; z-index: 20; min-width: 145px; padding: 6px; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: 0 12px 30px rgb(26 43 34 / 14%); }
.account-dropdown a { display: block; padding: 9px 10px; border-radius: 6px; color: var(--ink); font-size: 12px; text-decoration: none; }
.account-dropdown a:hover { background: var(--soft); color: var(--green); }
.user-avatar-wrap { position: relative; display: grid; width: 28px; height: 28px; place-items: center; }
.user-initial { display: grid; width: 28px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: #e8eee9; color: var(--green-dark); font-size: 11px; }
.user-avatar { position: absolute; inset: 0; width: 28px; height: 28px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; box-shadow: 0 1px 3px rgb(26 43 34 / 14%); opacity: 1; transition: opacity .18s ease, transform .18s ease; }
.user-avatar.is-changing { opacity: .15; transform: scale(.86); }
.page-content { width: min(1420px, 100%); margin: 0 auto; padding: 34px 36px 54px; }
.page-footer { display: flex; justify-content: space-between; padding: 15px 36px 22px; border-top: 1px solid var(--line); color: #89948c; font-size: 10px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.eyebrow { color: var(--green); font-size: 9px; font-weight: 750; letter-spacing: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 7px 0 6px; font: 500 31px/1.15 Georgia, "Times New Roman", serif; }
.page-subtitle { margin: 0; color: var(--muted); font-size: 12px; }
.channel-count { color: var(--muted); font-size: 11px; }
.channel-heading-actions { display: flex; align-items: center; gap: 10px; }
.channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.channel-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: var(--shadow); }
.channel-card.is-connected { border-color: #cce3d4; }
.channel-card-top, .channel-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.channel-logo { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 10px; background: #edf1ee; color: #44534a; font-weight: 700; }
.channel-logo-facebook { background: #eaf0f8; color: #3b6d96; }
.channel-logo-instagram { background: #f5ecf0; color: #9a5873; }
.channel-logo-threads { background: #eef0f1; color: #4c555b; }
.channel-logo-whatsapp { background: #e8f4ed; color: #26714f; }
.channel-card h2 { margin: 17px 0 6px; }
.channel-card p { min-height: 36px; margin: 0 0 13px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.account-list { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; min-height: 28px; margin-bottom: 13px; }
.account-chip { display: inline-flex; width: 100%; min-width: 0; align-items: flex-start; gap: 6px; padding: 6px 8px; border: 1px solid #e1e8e2; border-radius: 4px; color: #4d5b52; font-size: 10px; }
.account-chip-dot { width: 6px; height: 6px; flex: 0 0 auto; margin-top: 4px; border-radius: 50%; background: #299267; }
.account-chip-dot.is-warning { background: var(--orange); }
.account-avatar { width: 27px; height: 27px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.account-chip-copy { min-width: 0; flex: 1; }
.account-chip-copy strong, .account-chip-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-chip-copy small { margin-top: 2px; color: #9aa39c; font-size: 9px; }
.channel-card-footer { padding-top: 13px; border-top: 1px solid #edf0ed; color: #9aa39c; font-size: 10px; }
.channel-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.connect-account-dialog { position: fixed; width: min(440px, calc(100% - 32px)); padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); box-shadow: 0 20px 70px rgb(26 43 34 / 24%); }
.telegram-auth-dialog { width: min(560px, calc(100% - 28px)); max-height: min(86vh, 820px); overflow-y: auto; }
.telegram-auth-dialog[open] { display: block; }
.telegram-auth-dialog .config-card { margin-top: 14px; }
.telegram-auth-dialog .config-card[hidden], .telegram-auth-dialog [hidden] { display: none; }
.telegram-auth-feedback { min-height: 0; margin-top: 10px; color: var(--green-dark); font-size: 12px; }
.telegram-auth-feedback.is-error { color: #a32929; }
.telegram-auth-feedback.is-success { color: var(--green-dark); }
.telegram-auth-warning { color: #a32929; }
.telegram-login-form button.is-loading { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.telegram-resend-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--muted); font-size: 11px; }
.telegram-resend-code { padding: 2px 0; border: 0; background: transparent; color: var(--green-dark); cursor: pointer; font: inherit; font-weight: 700; text-decoration: underline; }
.telegram-resend-code:disabled { cursor: wait; opacity: .7; }
.telegram-resend-code.is-loading { display: inline-flex; align-items: center; gap: 8px; }
.telegram-resend-code.is-loading::before { width: 13px; height: 13px; border: 2px solid #b9c9bf; border-top-color: var(--green-dark); border-radius: 50%; content: ""; animation: telegram-login-spin .7s linear infinite; }
.telegram-login-form button.is-loading::before { width: 13px; height: 13px; border: 2px solid rgb(255 255 255 / 45%); border-top-color: currentColor; border-radius: 50%; content: ""; animation: telegram-login-spin .7s linear infinite; }
@keyframes telegram-login-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .telegram-login-form button.is-loading::before { animation-duration: 1.8s; } }
.telegram-connected-accounts { display: grid; gap: 12px; margin-top: 18px; }
.telegram-connected-accounts h3 { margin: 0; font-size: 14px; }
.telegram-connected-account { padding: 13px; border: 1px solid var(--line); border-radius: 6px; }
.telegram-connected-account > strong { display: block; margin-bottom: 8px; }
.telegram-saved-destinations { display: grid; gap: 8px; }
.telegram-destination-list { display: grid; gap: 7px; max-height: 260px; overflow-y: auto; margin: 12px 0; }
.telegram-destination-list .field-label { margin: 0; }
.telegram-auth-dialog input:not([type="checkbox"]) { width: 100%; }
.connect-account-dialog::backdrop { background: rgb(20 31 25 / 48%); }
.connect-account-dialog h2 { margin: 8px 30px 8px 0; font: 500 25px/1.2 Georgia, "Times New Roman", serif; }
.connect-account-dialog p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.connect-dialog-close { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f2f5f2; color: #56625a; font-size: 22px; cursor: pointer; }
.connect-dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.connect-dialog-manual { margin-top: 17px; padding: 0; border: 0; background: none; color: var(--green-dark); font-size: 11px; text-decoration: underline; cursor: pointer; }
.channel-note { display: flex; gap: 8px; margin-top: 18px; padding: 13px 15px; border: 1px solid #dce8df; border-radius: 5px; background: #f7fbf8; color: var(--muted); font-size: 11px; }
.channel-note strong { color: var(--green-dark); }
.channel-config-panel { margin-top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: var(--shadow); }
.config-intro { margin: -5px 0 18px; color: var(--muted); font-size: 11px; }
.config-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.config-card { min-width: 0; padding: 15px; border: 1px solid #e5ebe6; border-radius: 6px; background: #fbfcfb; }
.config-card h3 { margin: 0 0 14px; font-size: 13px; }
.config-card input { margin-bottom: 12px; }
.config-card .button { margin-top: 3px; }
.meta-catalog-form { display: grid; gap: 9px; margin: 14px 0 5px; padding: 13px; border: 1px solid #dce9e3; border-radius: 8px; background: #f7fbf8; }
.meta-catalog-row { display: flex; align-items: end; gap: 8px; }.meta-catalog-row .button { flex: 0 0 auto; }.meta-catalog-row select { min-width: 0; }
.meta-catalog-form > .button-primary { width: 100%; }.meta-catalog-form .field-label { margin-bottom: 0; }
.integration-divider { display: flex; align-items: center; gap: 8px; margin: 14px 0; color: #9aa39c; font-size: 10px; }.integration-divider::before, .integration-divider::after { height: 1px; flex: 1; background: #e4ebe6; content: ''; }
.config-mini-row { margin-bottom: 0; }
.add-account-panel { margin-top: 14px; }
.config-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 17px; cursor: pointer; list-style: none; }
.config-summary::-webkit-details-marker { display: none; }
.config-summary > span:first-child { display: grid; gap: 5px; }
.config-summary strong { font-size: 17px; }
.config-summary-action { color: var(--green); font-size: 10px; font-weight: 650; }
.channel-config-panel[open] .config-summary { margin-bottom: 0; border-bottom: 1px solid var(--line); }
.channel-config-panel[open] .config-summary-action { color: var(--muted); }
.channel-config-panel[open] .config-summary-action::after { content: "  ×"; color: var(--green); font-size: 15px; }
.add-account-form { display: flex; align-items: flex-end; gap: 10px; }
.add-account-form .field-grow { min-width: 130px; }
.add-account-form input, .add-account-form select { margin-bottom: 0; }
.add-account-form .button { flex: 0 0 auto; }
.page-list-panel { margin-top: 20px; padding: 20px 0 0; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: var(--shadow); }
.page-table-wrap { overflow-x: auto; }
.page-table { width: 100%; border-collapse: collapse; text-align: left; }
.page-table th, .page-table td { padding: 12px 20px; border-top: 1px solid #edf0ed; color: #68736b; font-size: 11px; white-space: nowrap; }
.page-table th { border-top: 0; color: #9aa39c; font-size: 10px; font-weight: 650; text-transform: uppercase; }
.page-table td:first-child { color: var(--ink); }
.page-table td strong, .page-table td small { display: block; }
.page-table td small { margin-top: 3px; color: #a0aaa3; font-size: 9px; }
.account-cell { display: flex !important; align-items: center; gap: 8px; }
.account-cell > img { width: 28px; height: 28px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.account-cell > span { min-width: 0; }
.table-note { margin: 0; padding: 12px 20px 16px; color: #9aa39c; font-size: 10px; }
h2 { margin: 5px 0 0; font-size: 17px; font-weight: 650; }
.button { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; gap: 9px; padding: 0 14px; border: 1px solid transparent; border-radius: 5px; cursor: pointer; font-size: 12px; font-weight: 650; transition: background .15s, border-color .15s; }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { border-color: #d9e1db; background: #fff; color: #445149; }
.button-secondary:hover { border-color: #a9b9ae; background: #f8faf8; }
.button-small { min-height: 32px; padding: 0 11px; font-size: 11px; }
.metric-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 23px; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: var(--shadow); }
.metric { display: flex; min-height: 102px; flex-direction: column; justify-content: center; padding: 15px 20px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric:hover { background: #fafcf9; }
.metric-label { color: #69746c; font-size: 11px; }
.metric strong { margin: 5px 0 2px; font: 500 25px Georgia, serif; }
.metric-foot { color: #9aa39c; font-size: 10px; }
.metric-alert strong { color: var(--orange); }
.workspace-grid { display: grid; grid-template-columns: minmax(290px, .82fr) minmax(420px, 1.45fr); gap: 20px; align-items: start; }
.compose-panel, .posts-panel, .schedule-section, .unscheduled-section { min-width: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: var(--shadow); }
.compose-panel { padding: 20px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.step-number { color: #a8b2ab; font: 17px Georgia, serif; }
.compose-form { padding-top: 16px; }
.field-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 7px; color: #48554d; font-size: 11px; font-weight: 650; }
.field-label span { color: #a0a9a2; font-size: 10px; font-weight: 400; }
input:not([type="checkbox"]), textarea, select { width: 100%; min-height: 38px; padding: 9px 10px; border: 1px solid #dce3dd; border-radius: 4px; background: #fff; color: var(--ink); font-size: 12px; }
input[type="file"] { min-height: 38px; padding: 7px 8px; color: #68736b; font-size: 11px; }
input[type="file"]::file-selector-button { margin-right: 8px; padding: 5px 9px; border: 1px solid #d9e1db; border-radius: 4px; background: #f8faf8; color: #445149; cursor: pointer; font: inherit; }
.upload-field { margin-bottom: 14px; }
.field-help { margin: 5px 0 0; color: #9aa39c; font-size: 10px; }
input::placeholder, textarea::placeholder { color: #a7b0a9; }
input:focus, textarea:focus, select:focus { border-color: #74a68c; box-shadow: 0 0 0 3px rgb(32 122 87 / 9%); outline: 0; }
textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
.compose-form > input, .compose-form > textarea { margin-bottom: 14px; }
.field-row { display: flex; gap: 10px; margin-bottom: 14px; }
.field-grow { min-width: 0; flex: 1; }
.platform-picker { min-width: 0; margin: 4px 0 16px; padding: 0; border: 0; }
.platform-picker legend { margin-bottom: 9px; }
.logo-badge-option { display: flex; align-items: center; gap: 7px; margin: 3px 0 14px; color: #69776e; font-size: 10px; cursor: pointer; }
.logo-badge-option input { accent-color: var(--green); }
.promo-frame-settings { display: grid; gap: 8px; margin: 4px 0 14px; padding: 12px; border: 1px solid #dce9e3; border-radius: 7px; background: #f7fbf8; }
.promo-frame-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #69776e; font-size: 10px; }
.promo-frame-row label { display: flex; align-items: center; gap: 6px; }
.promo-frame-row input { accent-color: var(--green); }
.promo-frame-row select { width: auto; min-width: 145px; min-height: 32px; padding: 6px 8px; }
.variant-tools { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 4px 0 14px; padding: 13px; border: 1px solid #dce9e3; border-radius: 9px; background: #f7fbf8; }
.variant-tools select { min-width: 130px; margin-top: 5px; padding: 9px; border: 1px solid #cad8d3; border-radius: 7px; background: #fff; color: var(--ink); }
.variant-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.variant-results { display: grid; gap: 10px; margin: 0 0 16px; }
.variant-card { display: grid; gap: 8px; padding: 12px; border: 1px solid #dce9e3; border-radius: 9px; background: #fff; }
.variant-card > strong { color: var(--green); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.variant-card label { display: grid; gap: 5px; color: #74827b; font-size: 10px; font-weight: 700; text-transform: uppercase; }
.variant-card textarea { width: 100%; resize: vertical; border: 1px solid #cad8d3; border-radius: 7px; padding: 9px; color: var(--ink); font: 13px/1.45 inherit; text-transform: none; }
.live-preview-panel { margin: 4px 0 16px; padding: 14px; border: 1px solid #dce9e3; border-radius: 9px; background: #f7fbf8; }
.live-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.live-preview-heading strong { display: block; margin-top: 3px; color: var(--ink); font-size: 12px; }
.live-preview-heading > span { color: #98a39c; font-size: 9px; }
.live-preview-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 9px; }
.live-preview-card { min-width: 0; min-height: 120px; padding: 11px; border: 1px solid #e0e8e3; border-radius: 8px; background: #fff; }
.live-preview-brand { display: flex; align-items: center; gap: 6px; color: #34423a; font-size: 10px; }
.live-preview-brand small { margin-left: auto; color: #a1aaa3; font-size: 8px; }
.live-preview-dot { width: 8px; height: 8px; border-radius: 50%; background: #5279a5; }.live-preview-instagram .live-preview-dot { background: #a66382; }.live-preview-threads .live-preview-dot { background: #4e575b; }.live-preview-whatsapp .live-preview-dot { background: #36936b; }
.live-preview-card p { margin: 10px 0 7px; color: #65736a; font-size: 10px; line-height: 1.45; white-space: pre-wrap; }
.live-preview-card > a { display: block; overflow: hidden; color: var(--green); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.live-preview-media { position: relative; display: flex; gap: 4px; margin-top: 9px; overflow-x: auto; }.live-preview-media img { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 5px; object-fit: cover; }.live-preview-media:has(img)::after { position: absolute; right: 0; bottom: 0; left: 0; height: 42%; border-radius: 0 0 5px 5px; background: url("branding/applemall-lower-third.png") center 51% / 100% 260% no-repeat; content: ""; pointer-events: none; }
.mute-before-post { margin: 14px 0 16px; padding: 12px; border: 1px solid #dce9e3; border-radius: 8px; background: #f7fbf8; }
.mute-before-post > .field-label { margin-bottom: 9px; }
.mute-before-post > .field-label span { color: #8c9991; font-weight: 500; }
.mute-account-list { display: flex; flex-wrap: wrap; gap: 7px; }
.mute-account-chip { appearance: none; -webkit-appearance: none; display: inline-flex; align-items: center; gap: 6px; min-height: 30px; border: 1px solid #bfdace; border-radius: 999px; padding: 5px 9px; background: #fff; color: var(--ink); font: 600 10px/1.1 Inter,system-ui,-apple-system,sans-serif; cursor: pointer; box-shadow: none; }
.mute-account-chip:hover { border-color: var(--green); background: #eff8f3; }
.mute-account-chip.is-muted { border-color: #edc9bb; background: #fff5f0; color: #984d2e; }
.mute-account-chip strong { margin-left: 2px; color: var(--green); font-size: 9px; font-weight: 750; }
.mute-account-chip.is-muted strong { color: #a14e3d; }
.mute-account-platform { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #e8f2ed; color: var(--green); font-size: 9px; font-weight: 800; }
.mute-account-chip[title^="Mute"] .mute-account-platform { background: #eef2f0; color: #64736a; }
.mute-account-chip[title^="Unmute"] .mute-account-platform { background: #fff0e9; color: #a14e3d; }
.image-upload-list { display: grid; gap: 7px; }
.image-upload-row { display: flex; align-items: center; gap: 7px; }
.image-upload-row input { min-width: 0; flex: 1; }
.add-image-button, .remove-image-button { border: 1px solid #cfe0d7; border-radius: 6px; background: #fff; color: var(--green); cursor: pointer; font-size: 11px; }
.add-image-button { margin-top: 7px; padding: 7px 10px; font-weight: 650; }
.remove-image-button { width: 29px; height: 29px; color: #a14e3d; font-size: 17px; }
.platform-options { display: flex; flex-wrap: wrap; gap: 6px; }
.platform-option { display: inline-flex; min-height: 32px; align-items: center; gap: 6px; padding: 0 8px; border: 1px solid #e0e6e1; border-radius: 4px; color: #59645c; cursor: pointer; font-size: 10px; }
.platform-option:has(input:checked) { border-color: #b7d7c4; background: #f1f8f3; color: var(--green-dark); }
.platform-option input { width: 13px; height: 13px; accent-color: var(--green); }
.platform-symbol { display: grid; width: 16px; aspect-ratio: 1; place-items: center; border-radius: 50%; background: #edf0ee; color: #48544c; font-size: 9px; font-weight: 700; }
.schedule-fields { align-items: flex-end; margin: 0; }
.schedule-fields .button { flex: 0 0 auto; }
.posts-panel { padding: 20px 0 0; }
.section-heading-list { margin: 0 20px; border: 0; }
.result-count { color: #919b94; font-size: 10px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 20px 13px; border-bottom: 1px solid var(--line); }
.filter-link { display: inline-flex; min-height: 29px; align-items: center; gap: 7px; padding: 0 9px; border-radius: 4px; color: #79847c; font-size: 10px; }
.filter-link span { color: #9ca69f; font-size: 9px; }
.filter-link:hover, .filter-link.is-selected { background: var(--green-wash); color: var(--green-dark); }
.filter-link.is-selected { font-weight: 650; }
.post-row { display: flex; justify-content: space-between; gap: 15px; padding: 15px 20px; border-bottom: 1px solid #edf0ed; }
.post-row:last-child { border-bottom: 0; }
.post-main { min-width: 0; }
.post-row-title { overflow: hidden; color: #29342d; font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.post-row p { margin: 5px 0 9px; color: #77827a; font-size: 11px; line-height: 1.5; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px; color: #99a29b; font-size: 9px; }
.post-preview { margin-top: 10px; max-width: 680px; border-top: 1px solid #edf0ed; }
.post-preview summary { padding-top: 8px; color: var(--green); cursor: pointer; font-size: 10px; font-weight: 700; }
.post-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 8px; padding-top: 9px; }
.post-preview-card { min-width: 0; padding: 10px; border: 1px solid #e4ece7; border-radius: 7px; background: #fbfdfb; }
.post-preview-card strong { color: var(--ink); font-size: 10px; }
.post-preview-card p { margin: 7px 0; color: #69766e; font-size: 10px; line-height: 1.45; white-space: pre-wrap; }
.post-preview-card a { display: block; overflow: hidden; color: var(--green); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.post-preview-images { display: flex; gap: 4px; margin-top: 8px; overflow-x: auto; }
.post-preview-images img { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 4px; object-fit: cover; }
.post-actions { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 8px; }
.icon-button { display: grid; width: 28px; aspect-ratio: 1; place-items: center; border: 1px solid #dce4dd; border-radius: 4px; background: #fff; color: var(--green); cursor: pointer; }
.icon-button:hover { border-color: var(--green); background: var(--green-wash); }
.status-pill { display: inline-flex; min-height: 21px; align-items: center; padding: 0 7px; border-radius: 3px; background: #eef1ef; color: #68736b; font-size: 9px; white-space: nowrap; }
.status-sent, .status-replied { background: #e8f4ed; color: #26714f; }
.status-failed, .status-hidden { background: #f9ece6; color: #a65331; }
.status-partial { background: #fbf3df; color: #967329; }
.status-publishing { background: #eaf1f7; color: #426985; }
.empty-state { display: flex; min-height: 170px; flex-direction: column; align-items: center; justify-content: center; padding: 25px; text-align: center; }
.empty-mark { display: grid; width: 31px; aspect-ratio: 1; margin-bottom: 10px; place-items: center; border-radius: 50%; background: var(--green-wash); color: var(--green); font-size: 17px; }
.empty-state strong { font-size: 12px; }
.empty-state p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.schedule-summary { display: flex; min-height: 82px; align-items: center; gap: 30px; margin-bottom: 19px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.schedule-summary-label { display: flex; flex: 1; align-items: center; gap: 11px; }
.calendar-mark { display: grid; width: 42px; aspect-ratio: 1; place-items: center; border: 1px solid #d9e4dc; border-radius: 6px; color: var(--green); font: 19px Georgia, serif; }
.schedule-summary-label strong, .schedule-summary-label small { display: block; }
.schedule-summary-label strong { font-size: 12px; }
.schedule-summary-label small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.schedule-summary-number { min-width: 95px; padding-left: 20px; border-left: 1px solid var(--line); }
.schedule-summary-number strong { display: block; font: 20px Georgia, serif; }
.schedule-summary-number span { color: var(--muted); font-size: 10px; }
.schedule-columns { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: 18px; align-items: start; }
.schedule-section, .unscheduled-section { padding: 19px 0 0; }
.schedule-section > .section-heading, .unscheduled-section > .section-heading { margin: 0 18px; }
.schedule-item { display: flex; align-items: flex-start; gap: 13px; padding: 16px 18px; border-bottom: 1px solid #edf0ed; }
.schedule-date { display: flex; width: 43px; min-height: 49px; flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #e2e9e3; border-radius: 5px; background: #fbfcfb; }
.schedule-date strong { font: 19px Georgia, serif; }
.schedule-date span { color: var(--green); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.schedule-copy { min-width: 0; flex: 1; }
.schedule-time { margin: 1px 0 5px; color: var(--green); font-size: 10px; font-weight: 650; }
.schedule-copy h3, .queue-item h3 { margin: 0 0 4px; font-size: 12px; }
.schedule-copy p, .queue-item p { margin: 0 0 8px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.unscheduled-section { padding-bottom: 4px; }
.queue-item { display: flex; align-items: flex-start; gap: 9px; padding: 14px 17px; border-bottom: 1px solid #edf0ed; }
.status-indicator { width: 7px; height: 7px; flex: 0 0 auto; margin-top: 4px; border-radius: 50%; background: #c9d1cb; }
.status-indicator.status-failed { background: var(--orange); }
.queue-item > div { min-width: 0; flex: 1; }
.queue-platforms { color: #9aa39c; font-size: 9px; }
.empty-inline { padding: 16px 18px; color: var(--muted); font-size: 11px; }
.failure-panel { display: grid; gap: 9px; }
.failure-row { display: flex; align-items: flex-start; gap: 11px; padding: 15px 17px; border: 1px solid #efdacf; border-radius: 6px; background: #fffaf7; }
.failure-mark { display: grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #f8dfd2; color: #a65331; font-size: 12px; font-weight: 700; }
.failure-mark.is-success { background: #e8f4ed; color: #26714f; }
.failure-main { min-width: 0; flex: 1; }
.failure-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.failure-heading strong { font-size: 12px; }
.failure-account { color: #9a6e5b; font-size: 10px; }
.failure-main p { margin: 8px 0 7px; color: #704d40; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.failure-row:has(.failure-mark.is-success) { border-color: #cde3d3; background: #f7fbf8; }
.failure-row:has(.failure-mark.is-success) .failure-main p { color: #426b53; }
.failure-main small { color: #ad958b; font-size: 9px; }
.inbox-total { display: flex; align-items: baseline; gap: 8px; padding: 9px 12px; border: 1px solid #efdacf; border-radius: 5px; background: var(--orange-wash); color: #935031; }
.inbox-total strong { font: 20px Georgia, serif; }
.inbox-total span { font-size: 10px; }
.inbox-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 13px; border-bottom: 1px solid var(--line); background: #fff; }
.inbox-status-filters { padding: 8px 0 7px 12px; border: 0; }
.platform-filter { display: flex; gap: 7px; padding-right: 10px; }
.platform-filter select { width: 145px; min-height: 32px; padding: 5px 8px; font-size: 10px; }
.comment-list { display: grid; gap: 10px; }
.comment-sort { padding: 0 0 4px 4px; color: #68716b; font-size: 11px; font-weight: 600; }
.comment-sort span { color: #8f9891; font-size: 10px; }
.comment-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 17px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: var(--shadow); }
.comment-avatar { display: grid; width: 34px; aspect-ratio: 1; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #edf2ee; color: var(--green-dark); font: 15px Georgia, serif; }
.comment-avatar-image { object-fit: cover; }
.visitor-id { color: #9aa39c; font-size: 9px; }
.visitor-profile-link { display: inline-block; margin: 3px 0 6px; color: var(--green-dark); font-size: 10px; text-decoration: none; }
.visitor-profile-link:hover { text-decoration: underline; }
.comment-content { min-width: 0; flex: 1; }
.comment-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.comment-heading > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.comment-heading strong { font-size: 12px; }
.comment-heading time { color: #9aa39c; font-size: 9px; }
.channel-tag { padding: 3px 6px; border-radius: 3px; background: #edf2ee; color: #506157; font-size: 9px; }
.channel-instagram { background: #f4ecf0; color: #8c526d; }
.channel-threads { background: #eef0f1; color: #4c555b; }
.comment-message { margin: 10px 0 12px; color: #4a554d; font-size: 12px; line-height: 1.55; white-space: pre-wrap; }
.comment-actions { display: flex; align-items: center; gap: 14px; margin: 0 0 10px; }
.comment-react-form { display: inline-flex; margin: 0; }
.comment-action { padding: 0; border: 0; background: transparent; color: #68716b; font-size: 10px; font-weight: 600; text-decoration: none; cursor: pointer; }
.comment-react-form .comment-action { width: 30px; height: 30px; font-size: 25px; line-height: 28px; }
.comment-like-icon { display: block; width: 16px; height: 16px; object-fit: contain; }
.comment-reply-icon { display: block; width: 16px; height: 16px; object-fit: contain; }
.comment-action:first-child { font-size: 25px; line-height: 28px; }
.comment-action.is-reacted { color: #1877f2; }
.comments-page .comment-action.is-reacted { color: var(--green); }
.fb-feed-shell { display: grid; grid-template-columns: 200px minmax(420px, 680px) 300px; gap: 20px; max-width: 1220px; margin: -25px auto 0; color: #1c1e21; }
.fb-feed-left, .fb-feed-right { padding-top: 18px; }
.fb-brand-mark { display: grid; width: 38px; height: 38px; margin-bottom: 12px; place-items: center; border-radius: 50%; background: #1877f2; color: #fff; font: 30px Arial, sans-serif; font-weight: 700; }
.fb-search { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 20px; background: #e4e6eb; color: #65676b; }
.fb-search input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 12px; }
.fb-shortcuts { display: grid; gap: 3px; margin: 20px 0 26px; }
.fb-shortcut, .fb-page-shortcut { display: flex; align-items: center; gap: 11px; padding: 9px 7px; border-radius: 7px; color: #1c1e21; font-size: 12px; text-decoration: none; }
.fb-shortcut span { width: 23px; color: #1877f2; font-size: 20px; text-align: center; }
.fb-shortcut.is-active { background: #e7f3ff; color: #1877f2; font-weight: 700; }
.fb-feed-left h4, .fb-feed-right h3 { margin: 0 0 10px; color: #65676b; font-size: 11px; }
.fb-page-shortcut { font-weight: 600; }
.fb-page-avatar, .fb-composer-avatar, .fb-post-avatar { display: inline-grid; flex: 0 0 auto; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: #e7f3ff; color: #1877f2; font-weight: 700; object-fit: cover; }
.fb-composer-avatar img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.fb-feed-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; }
.fb-feed-topbar a { color: #1877f2; font-size: 11px; text-decoration: none; }
.fb-composer, .fb-stories, .fb-post, .fb-empty { margin-bottom: 12px; border: 1px solid #dddfe2; border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.feed-mobile-workspace-nav { display: none; }
.fb-composer { display: grid; grid-template-columns: 32px 1fr; gap: 10px; padding: 12px; }
.fb-composer-input { padding: 8px 13px; border-radius: 20px; background: #f0f2f5; color: #65676b; font-size: 12px; }
.fb-composer-actions { grid-column: 1 / -1; display: flex; justify-content: space-around; padding-top: 8px; border-top: 1px solid #eee; color: #65676b; font-size: 11px; }
.fb-full-composer { display: block; padding: 14px; }
.fb-composer-heading { display: flex; align-items: center; gap: 9px; padding-bottom: 12px; border-bottom: 1px solid #eee; }
.fb-composer-heading > div:last-child { display: grid; gap: 3px; }
.fb-composer-heading small { color: #65676b; font-size: 9px; }
.fb-compose-form { display: grid; gap: 9px; padding-top: 12px; }
.fb-compose-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #65676b; font-size: 10px; font-weight: 650; }
.fb-compose-label span { color: #9a9da1; font-size: 9px; font-weight: 400; }
.fb-compose-form textarea, .fb-compose-form input:not([type="checkbox"]) { width: 100%; min-height: 36px; padding: 9px 10px; border: 1px solid #dddfe2; border-radius: 6px; background: #fff; color: #1c1e21; font-size: 12px; }
.fb-compose-form textarea { min-height: 88px; resize: vertical; }
.fb-compose-form input[type="file"] { padding: 7px; font-size: 10px; }
.fb-compose-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.fb-compose-grid > div { display: grid; gap: 5px; min-width: 0; }
.fb-compose-options { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 9px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; color: #65676b; font-size: 10px; }
.fb-compose-options .fb-compose-label { margin-right: 3px; }
.fb-compose-options label { display: inline-flex; align-items: center; gap: 4px; }
.fb-compose-options input { accent-color: #1877f2; }
.fb-compose-footer { display: flex; align-items: center; gap: 8px; }
.fb-compose-footer .fb-compose-label { flex: 0 0 auto; }
.fb-compose-footer input { flex: 1; }
.fb-compose-submit { min-height: 36px; padding: 0 14px; border: 0; border-radius: 6px; background: #1877f2; color: #fff; cursor: pointer; font-size: 11px; font-weight: 700; }
.fb-composer-input { border: 0; width: 100%; text-align: left; cursor: pointer; }
.fb-composer-modal[hidden] { display: none; }
.fb-create-panel[hidden] { display: none !important; }
.fb-composer-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgb(15 35 29 / 30%); }
.fb-simple-panel { width: min(480px, 100%); height: fit-content; max-height: calc(100vh - 40px); min-height: 0; align-self: center; margin: 0; border: 1px solid #dfe7e2; border-radius: 12px; animation: fb-composer-in .2s ease-out; }
@keyframes fb-composer-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.fb-simple-form { display: grid; gap: 12px; padding: 14px 16px 16px; }
.fb-simple-editor { min-height: 112px; max-height: 240px; padding: 14px; overflow-y: auto; border: 1px solid #ccd8d1; border-radius: 9px; background-color: #fff; color: #1f2937; resize: vertical; font-size: 16px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.fb-simple-editor:focus { outline: 2px solid rgb(32 122 87 / 24%); border-color: #207a57; }
.fb-simple-editor[aria-invalid="true"] { border-color: #c2413a; }
.fb-simple-editor:empty::before { color: #77827b; content: attr(data-placeholder); pointer-events: none; }
.fb-editor-error { margin-top: -8px; color: #b42318; font-size: 11px; }
.fb-text-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 6px 8px; border: 1px solid #e0e7e2; border-radius: 8px; background: #f8faf8; }
.fb-text-toolbar > button { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; padding: 0; border: 1px solid #d8e0da; border-radius: 6px; background: #fff; color: #344139; cursor: pointer; font-size: 13px; }
.fb-text-toolbar > button:hover, .fb-text-toolbar > button:focus-visible { border-color: #207a57; background: #edf7f1; }
.fb-font-size-control select, .fb-font-family-control select { height: 30px; max-width: 110px; padding: 0 5px; border: 1px solid #d8e0da; border-radius: 6px; background: #fff; color: #344139; cursor: pointer; font: inherit; font-size: 12px; }
.fb-font-family-control select { max-width: 125px; }
.fb-text-highlights { display: inline-flex; align-items: center; gap: 6px; padding-left: 7px; border-left: 1px solid #dfe5e0; }
.fb-text-highlights button { width: 21px; height: 21px; padding: 0; border: 2px solid #fff; border-radius: 50%; outline: 1px solid #cbd5ce; background: var(--swatch); cursor: pointer; }
.fb-text-highlights button:hover, .fb-text-highlights button:focus-visible { outline: 2px solid #207a57; }
.fb-text-highlights .fb-highlight-clear { background: #fff; color: #344139; font-size: 16px; line-height: 1; }
.fb-alignment-controls { display: inline-flex; gap: 4px; margin-left: 2px; padding-left: 7px; border-left: 1px solid #dfe5e0; }
.fb-alignment-controls button { display: grid; width: 30px; height: 30px; flex: 0 0 30px; place-items: center; padding: 0; border: 1px solid #d8e0da; border-radius: 6px; background: #fff; color: #344139; cursor: pointer; }
.fb-alignment-controls button:hover, .fb-alignment-controls button:focus-visible { border-color: #207a57; background: #edf7f1; }
.fb-alignment-glyph { display: grid; width: 15px; gap: 3px; }
.fb-alignment-glyph i { display: block; height: 2px; border-radius: 2px; background: currentColor; }
.alignment-left i:nth-child(1) { width: 15px; }.alignment-left i:nth-child(2) { width: 11px; }.alignment-left i:nth-child(3) { width: 14px; }
.alignment-center i { justify-self: center; }.alignment-center i:nth-child(1) { width: 14px; }.alignment-center i:nth-child(2) { width: 10px; }.alignment-center i:nth-child(3) { width: 15px; }
.alignment-right i { justify-self: end; }.alignment-right i:nth-child(1) { width: 15px; }.alignment-right i:nth-child(2) { width: 11px; }.alignment-right i:nth-child(3) { width: 14px; }
.alignment-justify i { width: 15px; }
.fb-text-colors { display: inline-flex; gap: 6px; margin-left: auto; padding-left: 8px; border-left: 1px solid #dfe5e0; }
.fb-text-colors button { width: 21px; height: 21px; padding: 0; border: 2px solid #fff; border-radius: 50%; outline: 1px solid #cbd5ce; background: var(--swatch); cursor: pointer; }
.fb-text-colors button:hover, .fb-text-colors button:focus-visible { outline: 2px solid #207a57; }
.fb-format-note { margin-top: -7px; color: #77827b; font-size: 10px; line-height: 1.4; }
.fb-simple-background { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; color: #59675f; font-size: 11px; }
.fb-simple-background > strong { padding-top: 8px; }
.fb-bg-options, .fb-pattern-options { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.fb-simple-form .fb-bg-choice.is-selected { border-color: #207a57; box-shadow: 0 0 0 2px #dcefe5; }
.fb-simple-form .fb-advanced-link { color: #207a57; }
.fb-simple-form .fb-simple-submit { background: #207a57; }
.fb-bg-choice { width: 29px; height: 29px; flex: 0 0 29px; padding: 0; border: 2px solid #fff; border-radius: 50%; outline: 1px solid #ccd0d5; cursor: pointer; }.fb-bg-choice.is-selected { outline: 2px solid #207a57; box-shadow: 0 0 0 2px #dcefe5; }
.fb-simple-platforms { display: grid; gap: 8px; color: #59675f; font-size: 11px; }.fb-simple-platforms > strong { color: #344139; font-size: 12px; }.fb-platform-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); gap: 6px; }.fb-platform-options label { display: inline-flex; min-width: 0; align-items: center; gap: 6px; padding: 7px 9px; border: 1px solid #e0e7e2; border-radius: 7px; background: #fbfdfb; }.fb-platform-options input { flex: 0 0 auto; accent-color: #207a57; }.fb-platform-note { color: #89958d; font-size: 10px; }
.fb-publish-groups { display: grid; gap: 7px; }
.fb-publish-group { overflow: hidden; border: 1px solid #dfe7e2; border-radius: 9px; background: #fbfdfb; }
.fb-publish-group > summary { display: flex; min-height: 42px; align-items: center; gap: 9px; padding: 6px 10px; cursor: pointer; list-style: none; }
.fb-publish-group > summary::-webkit-details-marker { display: none; }
.fb-publish-group > summary > input, .fb-publish-account > input { width: 15px; height: 15px; flex: 0 0 15px; margin: 0; accent-color: #207a57; cursor: pointer; }
.fb-publish-platform-logo { display: grid; width: 25px; height: 25px; flex: 0 0 25px; place-items: center; overflow: hidden; border-radius: 50%; background: #fff; }
.fb-publish-platform-logo img { width: 100%; height: 100%; object-fit: cover; }
.fb-publish-group > summary > strong { color: #344139; font-size: 12px; }
.fb-publish-account-count { margin-left: auto; color: #78847c; font-size: 10px; }
.fb-publish-chevron { color: #78847c; transition: transform .16s ease; }
.fb-publish-group[open] .fb-publish-chevron { transform: rotate(180deg); }
.fb-publish-account-list { display: grid; gap: 1px; padding: 4px 10px 8px 42px; border-top: 1px solid #e8ede9; }
.fb-publish-account { display: flex; min-width: 0; align-items: center; gap: 9px; padding: 5px 0; }
.fb-publish-account > input { margin-right: 1px; }
.fb-publish-avatar { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; object-fit: cover; }
.fb-publish-avatar-fallback { display: grid; place-items: center; background: #e7efe9; color: #42604e; font-size: 12px; font-weight: 700; }
.fb-publish-account-name { min-width: 0; overflow: hidden; color: #46534a; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.fb-publish-account-platform { width: 18px; height: 18px; flex: 0 0 18px; margin-left: auto; overflow: hidden; border-radius: 50%; }
.fb-publish-account-platform img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fb-publish-empty { margin: 0; padding: 10px; border: 1px dashed #dfe7e2; border-radius: 8px; color: #78847c; }
.fb-pattern-choice { width: 29px; height: 29px; flex: 0 0 29px; padding: 0; border: 2px solid #fff; border-radius: 50%; outline: 1px solid #ccd0d5; background-color: #fff; cursor: pointer; }.fb-pattern-choice.is-selected { outline: 2px solid #207a57; box-shadow: 0 0 0 2px #dcefe5; }
.pattern-dots { background-image: radial-gradient(#db2777 1.3px, transparent 1.5px); background-size: 7px 7px; }.pattern-grid { background-image: linear-gradient(rgb(37 99 235 / 40%) 1px, transparent 1px), linear-gradient(90deg, rgb(37 99 235 / 40%) 1px, transparent 1px); background-size: 8px 8px; }.pattern-diagonal { background-image: repeating-linear-gradient(135deg, rgb(180 83 9 / 34%) 0, rgb(180 83 9 / 34%) 3px, transparent 3px, transparent 7px); }.pattern-waves { background-image: radial-gradient(circle at 100% 150%, transparent 24%, rgb(124 58 237 / 50%) 25%, rgb(124 58 237 / 50%) 28%, transparent 29%); background-size: 12px 12px; }.pattern-confetti { background-image: radial-gradient(circle, #e11d48 1.5px, transparent 2px), radial-gradient(circle, #2563eb 1.5px, transparent 2px), radial-gradient(circle, #f59e0b 1.5px, transparent 2px); background-position: 0 0, 4px 5px, 9px 2px; background-size: 12px 12px; }
.fb-simple-actions { display: flex; gap: 10px; }
.fb-simple-actions .fb-advanced-link, .fb-simple-actions .fb-simple-submit { min-width: 0; flex: 1; }
.fb-advanced-link { padding: 12px; border: 0; border-radius: 7px; background: #f0f2f5; color: #1877f2; text-align: left; cursor: pointer; font-size: 12px; font-weight: 700; }.fb-advanced-link span { float: right; font-size: 18px; }.fb-simple-submit { min-height: 42px; border: 0; border-radius: 7px; background: #1877f2; color: #fff; cursor: pointer; font-weight: 700; }
.fb-composer-backdrop { position: absolute; inset: 0; background: transparent; backdrop-filter: blur(2px); }
.fb-composer-modal:has(.fb-simple-panel:not([hidden])) .fb-create-preview { display: none; }
.fb-create-panel { position: relative; z-index: 1; display: flex; width: min(720px, 100%); min-height: 100%; flex-direction: column; overflow-y: auto; border-right: 1px solid #dfe7e2; background: #fff; box-shadow: 2px 0 8px rgb(26 43 34 / 8%); }
.fb-create-header { display: flex; height: 58px; align-items: center; gap: 11px; padding: 0 14px; border-bottom: 1px solid #e4e6eb; color: #202b27; font-size: 20px; }
.fb-create-close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: #e4e6eb; color: #1c1e21; font-size: 30px; line-height: 1; cursor: pointer; }
.fb-create-brand { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: #207a57; color: #fff; font: 700 22px Georgia, serif; }
.fb-create-form { display: grid; gap: 9px; padding: 14px 12px 12px; }
.fb-create-author { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.fb-create-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.fb-create-tools button { padding: 7px 12px; border: 1px solid #ccd0d5; border-radius: 18px; background: #fff; color: #1c1e21; font-size: 12px; cursor: pointer; }
.fb-create-form > textarea { min-height: 82px; padding: 11px 13px; border: 1px solid #ccd0d5; border-radius: 7px; resize: vertical; font-size: 14px; }
.fb-create-upload { position: relative; display: grid; min-height: 118px; place-items: center; align-content: center; border: 2px dashed #ccd0d5; border-radius: 9px; color: #1c1e21; font-size: 15px; text-align: center; }
.fb-create-upload span { font-size: 24px; }.fb-create-upload small { color: #65676b; font-size: 11px; }.fb-create-upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.fb-create-upload.is-dragging { border-color: #207a57; background: #eff9f3; }
.fb-media-preview { position: relative; display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 6px 34px 6px 6px; border: 1px solid #dfe7e2; border-radius: 8px; background: #f8fbf9; }
.fb-media-preview img { width: 72px; height: 58px; border-radius: 6px; object-fit: cover; }
.fb-media-preview .fb-media-lower-third { position: absolute; bottom: 6px; left: 6px; z-index: 1; width: 72px; height: 27px; border-radius: 0 0 6px 6px; object-fit: cover; object-position: center 51%; pointer-events: none; }
.fb-media-preview.is-error img { display: none; }.fb-media-preview.is-error::before { display: grid; width: 58px; height: 58px; flex: 0 0 58px; place-items: center; border-radius: 6px; background: #eaf3ed; color: #207a57; content: '▧'; font-size: 24px; }
.fb-media-preview span { overflow: hidden; color: #59675f; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.fb-media-preview button { position: absolute; top: 6px; right: 7px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: #e4e6eb; color: #344139; cursor: pointer; }
.fb-image-link-field { display: grid; gap: 5px; color: #59675f; font-size: 11px; }
.fb-image-link-field span { display: flex; justify-content: space-between; gap: 8px; }
.fb-image-link-field small { color: #89958d; font-weight: 400; }
.fb-image-link-field input { min-width: 0; padding: 9px 10px; border: 1px solid #ccd0d5; border-radius: 7px; font: inherit; }
.fb-create-actions { display: flex; gap: 10px; }.fb-create-actions button { display: grid; width: 158px; min-height: 70px; place-items: center; border: 1px solid #ccd0d5; border-radius: 7px; background: #fff; color: #1c1e21; font-size: 22px; cursor: pointer; }.fb-create-actions span { font-size: 12px; font-weight: 650; }
.fb-create-form h3 { margin: 6px 2px 0; font-size: 18px; }.fb-create-setting { display: flex; min-height: 48px; align-items: center; gap: 10px; padding: 7px 2px; color: #1c1e21; font-size: 19px; cursor: pointer; }.fb-setting-icon { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border: 1px solid #dfe7e2; border-radius: 8px; background: #f7faf8; color: #207a57; font-size: 21px; line-height: 1; }.fb-setting-copy { display: flex; min-width: 0; flex: 1; align-items: baseline; gap: 7px; }.fb-setting-copy strong { font-size: 15px; line-height: 1.25; }.fb-create-setting small { color: #89958d; font-size: 11px; white-space: nowrap; }.fb-create-setting > input { width: 20px; height: 20px; flex: 0 0 20px; margin: 0; accent-color: #207a57; cursor: pointer; }
.fb-create-platforms { padding-left: 32px; font-size: 11px; }.fb-create-platforms input { accent-color: #1877f2; }.fb-create-platform-note { margin-left: 32px; }
.fb-platform-option { position: relative; display: inline-flex; min-width: 112px; align-items: center; gap: 6px; padding: 7px 9px; }.fb-platform-option img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }.fb-platform-option small { margin-left: auto; color: #9aa39c; font-size: 8px; }.fb-platform-option:has(input:disabled) { cursor: not-allowed; opacity: .52; }.fb-platform-option:has(input:checked) { border-color: #a9d0b8; background: #f1f9f3; }.fb-platform-option.is-ineligible { background: #f7f8f7; }
.fb-create-platforms.fb-platform-options { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
.fb-create-platforms.fb-platform-options .fb-platform-option { min-height: 42px; padding: 6px 8px; overflow: hidden; }
.fb-create-platforms.fb-platform-options .fb-platform-option > img { width: 24px !important; height: 24px !important; min-width: 24px; max-width: 24px; flex: 0 0 24px; border-radius: 50%; object-fit: cover; }
.fb-create-platforms.fb-platform-options .fb-platform-option > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-create-platforms.fb-platform-options .fb-platform-option > small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-ai-composer { display: grid; gap: 8px; padding: 11px; border: 1px solid #dfe7e2; border-radius: 9px; background: #f8fbf9; }
.fb-ai-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.fb-ai-heading span { display: grid; gap: 2px; }.fb-ai-heading strong { color: #344139; font-size: 13px; }.fb-ai-heading small { color: #89958d; font-size: 10px; }
.fb-ai-heading button { display: inline-flex; align-items: center; gap: 7px; min-width: 104px; justify-content: center; padding: 7px 10px; border: 0; border-radius: 6px; background: #207a57; color: #fff; cursor: pointer; font-size: 10px; font-weight: 700; }
.fb-ai-heading button:disabled { opacity: .6; cursor: wait; }.fb-ai-status { min-height: 14px; color: #207a57; font-size: 10px; }.fb-ai-status.is-error { color: #b42318; }
.fb-ai-heading button.is-generating::before, .fb-ai-status.is-loading::before { display: inline-block; width: 11px; height: 11px; border: 2px solid rgb(255 255 255 / 35%); border-top-color: currentColor; border-radius: 50%; content: ''; animation: fb-ai-spin .7s linear infinite; }.fb-ai-status.is-loading::before { margin-right: 5px; border-color: #b9d8c5; border-top-color: #207a57; vertical-align: -2px; }.fb-ai-status { overflow-wrap: anywhere; }
@keyframes fb-ai-spin { to { transform: rotate(360deg); } }
/* Catalogue carousel picker */
.fb-carousel-products { display: flex; gap: 7px; overflow-x: auto; padding: 1px 1px 4px; }
.fb-carousel-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) 145px auto; gap: 6px; }.fb-carousel-toolbar input, .fb-carousel-toolbar select, .fb-carousel-toolbar button { min-height: 29px; padding: 5px 7px; border: 1px solid #dfe7e2; border-radius: 6px; background: #fff; color: #526158; font: inherit; font-size: 9px; }.fb-carousel-toolbar button { border-color: #80c8a2; color: #207a57; cursor: pointer; font-weight: 650; }.fb-carousel-toolbar button:hover { background: #f0f8f3; }
.fb-carousel-product { display: grid; min-width: 106px; max-width: 106px; gap: 5px; padding: 5px; border: 1px solid #dfe7e2; border-radius: 7px; background: #fff; cursor: pointer; }
.fb-carousel-product:has(input:checked) { border-color: #207a57; background: #f0f8f3; box-shadow: 0 0 0 1px #207a57 inset; }
.fb-carousel-product input { position: absolute; opacity: 0; pointer-events: none; }
.fb-carousel-product-image { display: grid; width: 94px; height: 58px; place-items: center; overflow: hidden; border-radius: 5px; background: #f3f6f4; color: #89958d; }
.fb-carousel-product-image img { width: 100%; height: 100%; object-fit: cover; }
.fb-carousel-product-copy { display: grid; gap: 2px; min-width: 0; }
.fb-carousel-product-copy strong, .fb-carousel-product-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb-carousel-product-copy strong { color: #344139; font-size: 9px; }.fb-carousel-product-copy small { color: #d34a43; font-size: 8px; }
/* Composer workspace redesign */
.fb-advanced-panel { width: min(780px, 58vw); min-height: min(760px, calc(100vh - 32px)); border-right: 1px solid #e0e8e3; border-radius: 12px 0 0 12px; }
.fb-create-heading { display: grid; gap: 3px; }.fb-create-heading strong { font-size: 18px; }.fb-create-heading small { color: #78847c; font-size: 9px; font-weight: 400; }
.fb-create-form { gap: 13px; padding: 15px 20px 76px; }.fb-editor-section { display: grid; gap: 7px; }.fb-editor-section h4 { margin: 0; color: #344139; font-size: 11px; }.fb-editor-section h4 small { color: #89958d; font-weight: 400; }
.fb-account-select { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 7px 10px; border: 1px solid #dfe7e2; border-radius: 7px; background: #fff; }.fb-account-select-avatar { display: grid; width: 28px; height: 28px; place-items: center; overflow: hidden; border-radius: 50%; background: #e7f3eb; color: #207a57; font-weight: 700; }.fb-account-select-avatar img { width: 100%; height: 100%; object-fit: cover; }.fb-account-select > span:nth-child(2) { display: grid; flex: 1; gap: 2px; }.fb-account-select strong { font-size: 11px; }.fb-account-select small { color: #89958d; font-size: 9px; }.fb-account-select-chevron { color: #78847c; }
.fb-create-form > .fb-create-tools, .fb-create-actions { display: none; }.fb-editor-section > textarea { min-height: 108px; }.fb-caption-tools { display: flex; align-items: center; gap: 10px; color: #78847c; }.fb-caption-tools button { padding: 2px 0; border: 0; background: transparent; color: #66736b; cursor: pointer; font-size: 10px; }.fb-caption-tools button:hover { color: #207a57; }.fb-caption-tools button span { margin-left: 3px; }.fb-caption-tools small { margin-left: auto; color: #89958d; font-size: 9px; }
.fb-media-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(150px, .75fr); gap: 8px; }.fb-media-row .fb-create-upload { min-height: 86px; }.fb-media-row .fb-media-preview { min-height: 86px; }.fb-media-row .fb-media-preview img { width: 65px; height: 70px; }.fb-link-section .fb-image-link-field { display: flex; align-items: center; gap: 7px; padding: 0 10px; border: 1px solid #dfe7e2; border-radius: 7px; }.fb-link-section .fb-image-link-field input { border: 0; padding-left: 0; }.fb-link-section .fb-image-link-field > span { color: #78847c; }.fb-field-help { color: #89958d; font-size: 9px; }
.fb-destination-section { gap: 9px; }.fb-destination-section .fb-create-platforms { padding-left: 0; }.fb-destination-section .fb-platform-note { margin-left: 0; }.fb-additional-options { padding-top: 2px; border-top: 1px solid #edf1ee; }.fb-additional-options .fb-create-setting { padding: 7px 0; }
.fb-create-footer { position: absolute; right: 0; bottom: 0; left: 0; z-index: 3; display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 20px; border-top: 1px solid #e2e9e4; background: rgb(255 255 255 / 96%); }.fb-create-footer button { min-height: 35px; padding: 0 12px; border: 1px solid #d4e0d8; border-radius: 6px; background: #fff; color: #456052; cursor: pointer; font-size: 10px; font-weight: 650; }.fb-create-footer .fb-publish-button { margin-left: auto; border-color: #207a57; background: #207a57; color: #fff; }.fb-create-footer .fb-schedule-button { border-color: #207a57; color: #207a57; }.fb-create-footer input:not([type="checkbox"]) { width: 180px; min-height: 35px; }
.fb-create-preview { display: block; width: min(500px, 42vw); margin-right: 3%; }.fb-preview-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 13px; }.fb-preview-heading > span { display: grid; gap: 4px; }.fb-preview-heading strong { font-size: 16px; }.fb-preview-heading small { color: #89958d; font-size: 9px; }.fb-preview-tabs { display: flex; gap: 5px; }.fb-preview-tabs button { padding: 7px 9px; border: 1px solid #e0e8e3; border-radius: 6px; background: #fff; color: #647169; cursor: pointer; font-size: 9px; }.fb-preview-tabs button.is-active { border-color: #7bb492; background: #f0f8f3; color: #207a57; font-weight: 700; }
.fb-create-preview article { min-height: 330px; padding: 16px; border: 1px solid #e0e8e3; border-radius: 12px; background: #fff; }.fb-create-preview p { margin: 14px 0; min-height: 40px; color: #344139; font-size: 14px; line-height: 1.45; }.fb-create-preview img { max-height: 360px; border: 1px solid #f0f3f1; border-radius: 9px; }
@media (max-width: 1100px) { .fb-advanced-panel { width: min(700px, 64vw); }.fb-create-preview { width: min(420px, 34vw); margin-right: 2%; }.fb-create-platforms.fb-platform-options { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .fb-advanced-panel { width: min(720px, 100%); border-radius: 12px; }.fb-create-preview { display: none; }.fb-create-form { padding-right: 14px; padding-left: 14px; }.fb-create-footer { padding-right: 14px; padding-left: 14px; } }
@media (max-width: 520px) { .fb-create-header { padding: 0 10px; }.fb-create-heading small { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.fb-media-row { grid-template-columns: 1fr; }.fb-create-platforms.fb-platform-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }.fb-create-footer { flex-wrap: wrap; }.fb-create-footer .fb-publish-button { margin-left: 0; }.fb-create-footer input:not([type="checkbox"]) { order: 5; width: 100%; }.fb-create-footer .fb-schedule-button { order: 3; } }
/* Reference alignment: balanced editor and live-preview workspace */
.fb-composer-modal { padding: 10px; }
.fb-advanced-panel { flex: 0 0 58%; width: auto; min-height: calc(100vh - 20px); border-radius: 12px 0 0 12px; }
.fb-create-preview { display: block; flex: 1 1 42%; width: auto; min-height: calc(100vh - 20px); margin: 0; padding: 28px 25px; align-self: stretch; background: #f7faf8; }
.fb-create-header { height: 64px; padding: 0 20px; }.fb-create-form { gap: 12px; padding: 14px 20px 70px; }
.fb-editor-section h4 { font-size: 10px; }.fb-account-select { min-height: 40px; }.fb-editor-section > textarea { min-height: 80px; }
.fb-media-row { grid-template-columns: minmax(0, 1.35fr) minmax(160px, .65fr); }.fb-media-row .fb-create-upload, .fb-media-row .fb-media-preview { min-height: 82px; }
.fb-create-platforms.fb-platform-options { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }.fb-create-platforms.fb-platform-options .fb-platform-option { min-height: 48px; padding: 6px 7px; font-size: 10px; }.fb-create-platforms.fb-platform-options .fb-platform-option > img { width: 22px !important; height: 22px !important; min-width: 22px; max-width: 22px; flex-basis: 22px; }
.fb-ai-composer { gap: 9px; padding: 10px; }.fb-ai-heading { align-items: center; }.fb-ai-heading strong { font-size: 12px; }.fb-ai-heading small { font-size: 9px; }.fb-ai-tone { display: flex; align-items: center; gap: 5px; color: #78847c; font-size: 9px; white-space: nowrap; }.fb-ai-tone select { width: 118px; min-height: 30px; padding: 5px 7px; font-size: 10px; }.fb-ai-heading button { min-height: 31px; min-width: 125px; }.fb-ai-drafts { grid-template-columns: repeat(4, minmax(0, 1fr)); }.fb-ai-drafts textarea { min-height: 55px; padding: 6px; font-size: 10px; }
.fb-preview-heading { margin-bottom: 13px; }.fb-create-preview article { min-height: 470px; padding: 15px; }.fb-create-preview p { min-height: 44px; margin: 14px 0; font-size: 13px; }.fb-create-preview img { max-height: 350px; }
.fb-preview-tabs button { display: inline-flex; align-items: center; gap: 5px; }.fb-preview-tabs button img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.fb-preview-post-card { display: flex; flex-direction: column; }.fb-preview-media-frame { position: relative; display: grid; min-height: 270px; place-items: center; overflow: hidden; border: 1px solid #edf1ee; border-radius: 9px; background: #fff; }.fb-preview-media-frame img { width: 100%; max-height: 370px; object-fit: contain; }.fb-preview-media-frame .fb-preview-lower-third { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; width: 100%; height: 31%; max-height: none; object-fit: cover; object-position: center 51%; pointer-events: none; }.fb-preview-media-placeholder { color: #a1aaa4; font-size: 11px; }.fb-preview-metrics { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #e9eeea; color: #89958d; font-size: 10px; }.fb-preview-metrics small { color: #78847c; }.fb-preview-actions { display: flex; justify-content: space-around; padding: 13px 0 4px; color: #66736b; font-size: 11px; }.fb-preview-action-bar { display: flex; justify-content: flex-end; gap: 8px; padding-top: 20px; }.fb-preview-action-bar button { min-height: 36px; padding: 0 13px; border: 1px solid #d7e2da; border-radius: 6px; background: #fff; color: #516158; cursor: pointer; font-size: 10px; font-weight: 650; }.fb-preview-action-bar button:nth-child(2) { border-color: #6baa83; color: #207a57; }.fb-preview-action-bar button.is-primary { border-color: #207a57; background: #207a57; color: #fff; }
.fb-preview-media-frame { display: flex; min-height: 0; height: 340px; flex-direction: column; align-items: stretch; justify-content: flex-start; overflow: visible; }
.fb-preview-media-frame > img:not(.fb-preview-lower-third) { width: 100%; height: 100%; min-height: 0; max-height: none; flex: 1 1 auto; object-fit: contain; object-position: center top; }
.fb-preview-media-frame .fb-preview-lower-third { position: relative; inset: auto; width: 100%; height: auto; min-height: 0; flex: 0 0 25%; margin-top: -6.25%; object-fit: fill; object-position: center; }
.fb-preview-media-frame .fb-preview-lower-third { cursor: grab; touch-action: none; }
.fb-preview-media-frame .fb-preview-lower-third:active { cursor: grabbing; }
.fb-preview-media-frame .fb-preview-brand-logo { position: absolute; top: 12px; right: 12px; z-index: 3; width: 86px; max-height: 58px; border: 2px solid #fff; border-radius: 7px; object-fit: contain; box-shadow: 0 2px 7px rgb(20 40 29 / 24%); cursor: grab; touch-action: none; }
.fb-preview-media-frame .fb-preview-brand-logo:active { cursor: grabbing; }
.fb-preview-media-frame > #fb-create-preview-image { position: relative; z-index: 0; width: 100% !important; max-width: 100%; height: 100%; max-height: none; object-fit: contain; }
.fb-preview-media-frame > #fb-preview-lower-third { width: 100% !important; max-width: 100%; height: auto !important; max-height: 25%; object-fit: fill !important; }
.fb-preview-media-frame > #fb-preview-brand-logo { width: 86px !important; max-width: 86px !important; height: auto !important; max-height: 58px !important; object-fit: contain !important; }
.fb-lower-third-upload { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding: 8px 10px; border: 1px solid #dfe8e1; border-radius: 7px; background: #f8fbf9; color: #526159; font-size: 10px; }
.fb-lower-third-upload span { display: grid; gap: 2px; font-weight: 650; }
.fb-lower-third-upload small { color: #8a968e; font-size: 9px; font-weight: 400; }
.fb-lower-third-upload input { max-width: 190px; font-size: 9px; }
.fb-ai-drafts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }.fb-ai-drafts label { display: grid; gap: 4px; }.fb-ai-drafts b { color: #59675f; font-size: 10px; }.fb-ai-drafts textarea { min-height: 54px; padding: 7px; border: 1px solid #dfe7e2; border-radius: 6px; resize: vertical; font: inherit; font-size: 11px; }
.fb-posting-modal[hidden] { display: none; }
.fb-posting-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 18px; background: rgb(15 35 29 / 32%); backdrop-filter: blur(3px); }
.fb-posting-card { width: min(430px, 100%); padding: 18px; border: 1px solid #dfe7e2; border-radius: 14px; background: #fff; box-shadow: 0 18px 50px rgb(26 43 34 / 18%); }
.fb-posting-card > header { display: flex; align-items: center; gap: 10px; }.fb-posting-card > header > span:last-child { display: grid; gap: 3px; }.fb-posting-card strong { color: #202b27; font-size: 15px; }.fb-posting-card header small { color: #89958d; font-size: 10px; }
.fb-posting-icon { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; background: #207a57; color: #fff; font: 700 19px Georgia, serif; }
.fb-posting-progress { height: 5px; margin: 16px 0 12px; overflow: hidden; border-radius: 5px; background: #e9efeb; }.fb-posting-progress span { display: block; width: 12%; height: 100%; border-radius: inherit; background: #207a57; transition: width .3s ease; }
.fb-posting-targets { display: grid; gap: 7px; max-height: 300px; overflow-y: auto; }.fb-posting-target { display: flex; align-items: center; gap: 9px; min-height: 47px; padding: 7px 9px; border: 1px solid #e6ece7; border-radius: 8px; background: #fbfdfb; }.fb-posting-target[hidden] { display: none; }
.fb-posting-platform { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; border-radius: 50%; background: #e7f0ea; color: #207a57; font-size: 11px; font-weight: 700; }.fb-posting-target-copy { display: grid; min-width: 0; flex: 1; gap: 2px; }.fb-posting-target-copy strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }.fb-posting-target-copy small { color: #89958d; font-size: 9px; }
.fb-posting-state { position: relative; display: block; width: 18px; height: 18px; flex: 0 0 18px; border: 2px solid #cbd8cf; border-radius: 50%; }.fb-posting-state.is-loading { border-top-color: #207a57; animation: fb-posting-spin .7s linear infinite; }.fb-posting-state.is-success { border-color: #207a57; background: #207a57; }.fb-posting-state.is-success::after { position: absolute; top: 1px; left: 4px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; content: ''; transform: rotate(45deg); }.fb-posting-state.is-error { border-color: #c2413a; background: #fff3f1; }.fb-posting-state.is-error::after { position: absolute; top: 7px; left: 3px; width: 8px; height: 2px; background: #c2413a; content: ''; transform: rotate(45deg); }
.fb-posting-close { width: 100%; min-height: 36px; margin-top: 14px; border: 0; border-radius: 7px; background: #207a57; color: #fff; cursor: pointer; font-size: 11px; font-weight: 700; }
@keyframes fb-posting-spin { to { transform: rotate(360deg); } }
.fb-create-footer { display: flex; gap: 8px; margin: 8px -12px -14px; padding: 10px 12px; border-top: 1px solid #e4e6eb; }.fb-create-footer input { flex: 1; min-width: 0; }.fb-create-footer button { width: 140px; border: 0; border-radius: 6px; background: #1877f2; color: #fff; font-weight: 700; cursor: pointer; }
.fb-create-preview { position: relative; z-index: 1; align-self: center; width: min(500px, calc(100% - 760px)); margin-left: auto; margin-right: 5%; color: #1c1e21; }.fb-create-preview h2 { font-size: 18px; }.fb-create-preview article { padding: 14px; border-radius: 13px; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / 12%); }.fb-create-preview-author { display: flex; align-items: center; gap: 8px; }.fb-create-preview-author span { display: grid; flex: 1; gap: 3px; font-size: 12px; }.fb-create-preview-author small { color: #65676b; font-size: 10px; }.fb-create-preview p { margin: 14px 0; white-space: pre-wrap; }.fb-create-preview img { display: block; width: 100%; max-height: 300px; object-fit: contain; }.fb-create-preview article > div:last-child { margin-top: 16px; color: #65676b; }
.fb-stories { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; overflow-y: hidden; padding: 10px; scrollbar-width: thin; scrollbar-color: #bcc3cc transparent; }
.fb-stories::-webkit-scrollbar { height: 6px; }.fb-stories::-webkit-scrollbar-thumb { border-radius: 6px; background: #bcc3cc; }
.fb-story { display: grid; min-width: 74px; gap: 5px; color: #1c1e21; font-size: 9px; text-align: center; text-decoration: none; }.fb-story small { color: #65676b; font-size: 8px; }.fb-story.is-selected .fb-story-ring { box-shadow: 0 0 0 2px #1877f2; }
.fb-story-ring { display: grid; width: 52px; height: 52px; margin: auto; place-items: center; border: 3px solid #1877f2; border-radius: 50%; background: #e7f3ff; color: #1877f2; font-size: 18px; font-weight: 700; overflow: hidden; }.fb-story-ring img { width: 100%; height: 100%; object-fit: cover; }
.fb-post { position: relative; overflow: hidden; }
.fb-post-header { display: flex; align-items: center; gap: 9px; padding: 12px; }
.fb-post-header > div:not(.fb-post-menu-wrap) { display: grid; gap: 3px; flex: 1; min-width: 0; font-size: 12px; }.fb-post-header small { color: #65676b; font-size: 9px; }.fb-post-header button { border: 0; background: transparent; color: #65676b; }
.fb-post-menu-wrap { position: relative; flex: 0 0 auto; }
.fb-post-menu-trigger { min-width: 32px; min-height: 32px; padding: 0; font-size: 16px; cursor: pointer; }
.fb-post-menu { position: absolute; top: 34px; right: 0; z-index: 5; display: grid; min-width: 105px; padding: 5px; border: 1px solid #e1e5e2; border-radius: 8px; background: #fff; box-shadow: 0 4px 14px rgb(0 0 0 / 14%); }
.fb-post-menu[hidden] { display: none; }
.fb-post-menu a, .fb-post-menu button { padding: 8px 10px; border: 0; border-radius: 5px; background: transparent; color: #1c1e21; font-size: 11px; text-align: left; text-decoration: none; cursor: pointer; }
.fb-post-menu a:hover, .fb-post-menu button:hover { background: #f0f2f5; }
.fb-post-platform { display: inline-flex; align-items: center; gap: 4px; color: #1877f2; font-size: 9px; font-weight: 700; }
.fb-post-platform i { display: inline-grid; width: 14px; height: 14px; place-items: center; border-radius: 50%; background: #1877f2; color: #fff; font-size: 10px; font-style: normal; font-family: Arial, sans-serif; }
.fb-post-platform i img { width: 14px; height: 14px; border-radius: 50%; object-fit: cover; }
.fb-post-platform.platform-youtube i { width: 18px; height: 14px; border-radius: 3px; background: #fff; }
.fb-post-platform.platform-youtube i img { width: 18px; height: 14px; border-radius: 0; object-fit: contain; }
.fb-post-platform.platform-instagram { color: #c13584; }
.fb-post-platform.platform-instagram i { background: linear-gradient(135deg, #feda75, #d62976 55%, #4f5bd5); }
.fb-post-platform.platform-threads { color: #111; }
.fb-post-platform.platform-threads i { background: #111; }
.fb-post-platform.platform-whatsapp { color: #128c7e; }
.fb-post-platform.platform-whatsapp i { background: #25d366; }
.fb-post-copy { padding: 0 12px 12px; }
.fb-post-message { max-height: calc(1.45em * 8); margin: 0; font-size: 12px; line-height: 1.45; overflow: hidden; white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; }
.fb-post-copy.is-expanded .fb-post-message { max-height: none; display: block; -webkit-line-clamp: unset; }
.fb-post-more { padding: 4px 0 0; border: 0; background: transparent; color: #1877f2; font-size: 11px; font-weight: 700; cursor: pointer; }
.fb-post-image { display: block; width: calc(100% + 2px); max-height: 620px; margin-inline: -1px; object-fit: cover; }
.fb-post-video { background: #111; object-fit: contain; }
.fb-post-actions { display: flex; justify-content: space-around; padding: 4px 12px; border-top: 1px solid #eee; color: #65676b; font-size: 10px; }
.fb-post-actions a, .fb-post-actions button { display: inline-flex; min-width: 0; min-height: 36px; align-items: center; justify-content: center; gap: 6px; color: #65676b; font: inherit; font-weight: 600; text-decoration: none; }
.fb-post-actions button { padding: 0; border: 0; background: transparent; cursor: pointer; }
.fb-post-actions button:disabled { opacity: .6; cursor: wait; }
.fb-post-actions .fb-like-button.is-liked { color: #16834a; }
.fb-post-actions .fb-like-button.is-liked .fb-action-image { filter: brightness(0) saturate(100%) invert(38%) sepia(44%) saturate(821%) hue-rotate(89deg) brightness(94%) contrast(91%); }
.fb-comment-disclosure { position: static; min-width: 0; flex: 1; }
.fb-comment-summary { display: flex; width: 100%; min-width: 0; min-height: 36px; align-items: center; justify-content: center; gap: 6px; color: #65676b; font-size: inherit; font-weight: 600; list-style: none; cursor: pointer; }
.fb-comment-summary::-webkit-details-marker { display: none; }
.fb-comment-summary::marker { content: ""; }
.fb-comment-disclosure[open] > .fb-comment-summary { color: #1877f2; }
.fb-comment-disclosure:not([open]) > .fb-post-comments { display: none; }
.fb-post-comments { min-width: 0; padding: 10px 12px 12px; border-top: 1px solid #e4e6eb; background: #fff; }
.fb-post-content { min-width: 0; }
.fb-post:has(.fb-comment-disclosure[open]) { display: grid; grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr); align-items: stretch; }
.fb-post:has(.fb-comment-disclosure[open]) > .fb-post-content { grid-column: 1; width: 100%; }
.fb-post:has(.fb-comment-disclosure[open]) .fb-post-comments { position: absolute; inset: 0 0 0 auto; width: 40%; max-height: min(660px, 80vh); box-sizing: border-box; overflow-y: auto; border-top: 0; border-left: 1px solid #e4e6eb; }
.fb-post:has(.fb-comment-disclosure[open]) .fb-post-comments.is-empty { bottom: auto; height: fit-content; max-height: none; overflow: visible; }
.fb-like-feedback { display: block; padding: 0 12px 8px; color: #b42318; font-size: 10px; }
.fb-post-reaction-layer { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.fb-floating-love { position: absolute; bottom: 24px; left: 50%; color: #19a558; font-size: 28px; line-height: 1; text-shadow: 0 2px 8px rgb(255 255 255 / 85%); animation: fb-love-float 1.15s ease-out forwards; }
@keyframes fb-love-float { 0% { opacity: 0; transform: translate(-50%, 0) scale(.45) rotate(-10deg); } 15% { opacity: 1; transform: translate(-50%, -12px) scale(1.2) rotate(8deg); } 100% { opacity: 0; transform: translate(calc(-50% + 24px), -150px) scale(.8) rotate(18deg); } }
@media (prefers-reduced-motion: reduce) { .fb-floating-love { animation-duration: .01ms; } }
.fb-post-comments h3 { margin: 0 0 4px; color: #65676b; font-size: 11px; font-weight: 700; }
.fb-post-comments h3 span { color: #8a8d91; font-weight: 400; }
.fb-post-comments form.fb-comment-form { display: flex; align-items: center; gap: 8px; padding: 5px; border: 1px solid #e5e7ef; border-radius: 28px; background: #f8f9fc; box-shadow: 0 3px 12px rgb(61 64 115 / 8%); }
.fb-post-comments .fb-comment-form textarea { display: block; min-width: 0; min-height: 40px; max-height: 96px; flex: 1; resize: vertical; padding: 10px 14px; border: 0; border-radius: 24px; outline: 0; background: transparent; color: #25263a; font: inherit; font-size: 12px; line-height: 20px; }
.fb-post-comments .fb-comment-form textarea::placeholder { color: #a1a4b4; opacity: 1; }
.fb-post-comments .fb-comment-form:focus-within { border-color: #b8a5fa; box-shadow: 0 0 0 3px rgb(124 86 230 / 12%); }
.fb-post-comments .fb-comment-form button { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: linear-gradient(145deg, #9a45f5, #5815c9); box-shadow: 0 3px 9px rgb(92 27 198 / 28%); color: #fff; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease; }
.fb-post-comments .fb-comment-form button:hover { transform: scale(1.06); box-shadow: 0 5px 13px rgb(92 27 198 / 36%); }
.fb-post-comments .fb-comment-form button:focus-visible { outline: 2px solid #5b22c7; outline-offset: 3px; }
.fb-post-comments .fb-comment-form button svg { width: 19px; height: 19px; fill: currentColor; }
.fb-saved-comments { display: grid; align-content: start; gap: 3px; margin-bottom: 6px; }
.fb-saved-comment { display: flex; width: fit-content; max-width: 100%; align-self: start; align-items: flex-start; gap: 7px; padding: 4px 7px; border-radius: 12px; background: transparent; }
.fb-comment-avatar-wrap { position: relative; display: block; width: 28px; height: 28px; flex: 0 0 28px; }
.fb-comment-avatar { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #e7f3ff; color: #1877f2; font-size: 11px; font-weight: 700; object-fit: cover; }
.fb-comment-avatar-fallback { display: grid; }
.fb-comment-platform-badge { position: absolute; right: -3px; bottom: -2px; display: grid; width: 13px; height: 13px; place-items: center; overflow: hidden; border: 1.5px solid #fff; border-radius: 50%; background: #fff; }
.fb-comment-platform-badge img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.fb-saved-comment-body { min-width: 0; }
.fb-saved-comment-body strong { color: #1c1e21; font-size: 10px; }
.fb-saved-comment-body p { margin: 3px 0; color: #1c1e21; font-size: 11px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.fb-saved-comment-body small { color: #8a8d91; font-size: 9px; }
.fb-saved-comment-actions { display: flex; align-items: center; gap: 12px; margin-top: 0; }
.fb-saved-comment-actions form { margin: 0; }
.fb-saved-comment-actions button, .fb-saved-comment-reply summary { padding: 0; border: 0; background: transparent; color: #65676b; font-family: inherit; font-size: 9px; font-weight: 600; line-height: 1.4; cursor: pointer; }
.fb-post-actions .fb-saved-comment-actions button { display: inline; min-width: 0; min-height: 0; line-height: 1.2; }
.fb-saved-comment-actions button:disabled { color: #1877f2; cursor: default; }
.fb-saved-comment-reply { position: relative; }
.fb-saved-comment-reply summary { list-style: none; }
.fb-saved-comment-reply summary::-webkit-details-marker { display: none; }
.fb-saved-comment-reply form { display: grid; gap: 5px; width: min(240px, 60vw); margin-top: 6px; }
.fb-saved-comment-reply textarea { width: 100%; min-height: 44px; box-sizing: border-box; padding: 7px 9px; border: 1px solid #dfe2e8; border-radius: 8px; background: #fff; color: #25263a; font: inherit; font-size: 10px; resize: vertical; }
.fb-saved-comment-reply form button { justify-self: end; padding: 5px 10px; border: 0; border-radius: 12px; background: #1877f2; color: #fff; font-family: inherit; font-size: 9px; font-weight: 600; line-height: 1.4; cursor: pointer; }
.fb-action-icon { display: inline-block; margin-right: 2px; color: #65676b; font-size: 17px; font-style: normal; line-height: 12px; vertical-align: -2px; }
.fb-action-icon-wrap { position: relative; display: grid; width: 20px; height: 20px; flex: 0 0 20px; place-items: center; }
.fb-action-image { display: block; width: 16px; height: 16px; object-fit: contain; }
.fb-action-count { position: absolute; top: -4px; right: -7px; display: grid; min-width: 13px; height: 13px; place-items: center; padding: 0 3px; border: 1px solid #fff; border-radius: 8px; background: #23865b; color: #fff; font: 700 8px/1 Arial, sans-serif; }
.fb-comment-count { background: #23865b; }
.fb-post-actions a.has-popular-likes .fb-action-image { filter: brightness(0) saturate(100%) invert(34%) sepia(84%) saturate(2107%) hue-rotate(199deg) brightness(100%) contrast(101%); }
.fb-share-icon { width: 14px; height: 14px; flex: 0 0 14px; object-fit: contain; vertical-align: -2px; }
.fb-empty { padding: 35px 20px; text-align: center; }.fb-empty p, .fb-feed-right p { color: #65676b; font-size: 11px; }.fb-feed-right { color: #1c1e21; }.fb-right-page { display: flex; align-items: center; gap: 8px; margin: 10px 0; font-size: 11px; font-weight: 600; }.fb-right-page small { display: block; color: #65676b; font-size: 8px; font-weight: 400; }.fb-feed-right hr { border: 0; border-top: 1px solid #dddfe2; margin: 20px 0; }.fb-feed-error { display: block; margin-top: 7px; color: #b44d3b; font-size: 9px; }
.fb-side-widget { margin-bottom: 12px; padding: 14px; border: 1px solid #edf0f4; border-radius: 11px; background: #fff; box-shadow: 0 2px 9px rgb(31 45 61 / 4%); }
.fb-widget-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 11px; }
.fb-widget-heading h3, .fb-account-widget h3 { margin: 0; color: #182338; font-size: 13px; font-weight: 700; }
.fb-widget-heading > a { color: #1674ed; font-size: 11px; font-weight: 600; white-space: nowrap; }
.fb-country-select select { max-width: 80px; padding: 3px 15px 3px 5px; border: 0; background: #fff; color: #314056; font-size: 10px; }
.fb-trend-platforms { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 10px; overflow: hidden; border-radius: 8px; background: #f2f5f9; }
.fb-trend-platforms button { display: flex; min-width: 0; align-items: center; justify-content: center; gap: 7px; padding: 8px 5px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #324157; cursor: pointer; font-size: 10px; }
.fb-trend-platforms button.is-active { border-bottom-color: #13a367; background: #f7fbf9; color: #12834f; font-weight: 650; }
.fb-trend-platforms img, .fb-trend-tiktok-icon { display: grid; width: 16px; height: 16px; place-items: center; border-radius: 4px; object-fit: cover; }
.fb-trend-tiktok-icon { background: #17202d; color: #fff; font-size: 12px; font-weight: 700; }
.fb-trend-list { display: grid; gap: 2px; }
.fb-trend-status { margin: 8px 0; color: #8490a1; font-size: 10px; line-height: 1.4; }
.fb-trend-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto 36px 26px; align-items: center; gap: 5px; min-width: 0; padding: 6px 0; border: 0; border-radius: 6px; background: transparent; color: #243248; text-align: left; cursor: pointer; }
.fb-trend-row:hover, .fb-trend-row.is-selected { background: #f4faf7; }
.fb-trend-rank { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 8px; background: #e8f6f0; color: #198557; font-size: 10px; font-weight: 700; }
.fb-trend-row strong { overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.fb-trend-row small { color: #8490a1; font-size: 8px; white-space: nowrap; }
.fb-trend-change { padding: 4px 3px; border-radius: 4px; background: #e8f7ef; color: #15935a; font-size: 9px; text-align: center; white-space: nowrap; }
.fb-trend-change.is-down { background: #fff0ef; color: #df4545; }
.fb-trend-spark { width: 25px; height: 17px; fill: none; stroke: #16a264; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.fb-trend-change.is-down ~ .fb-trend-spark { stroke: #df4545; }
.fb-use-hashtags { display: flex; width: 100%; min-height: 34px; align-items: center; justify-content: center; gap: 7px; margin-top: 7px; border: 1px solid #a9c7ff; border-radius: 7px; background: #f7faff; color: #1769da; cursor: pointer; font-size: 10px; font-weight: 600; }
.fb-use-hashtags:disabled { opacity: .55; cursor: not-allowed; }
.fb-catalog-widget { overflow: hidden; }
.fb-catalog-list { display: flex; gap: 8px; overflow-x: auto; padding: 1px 1px 5px; scrollbar-width: thin; }
.fb-catalog-product { display: grid; min-width: 96px; flex: 1 0 96px; grid-template-rows: 73px 30px auto 26px; gap: 4px; padding: 5px; border: 1px solid #edf0f4; border-radius: 8px; background: #fff; }
.fb-catalog-product > img, .fb-catalog-placeholder { display: grid; width: 100%; height: 73px; place-items: center; border-radius: 5px; background: #f6f7f8; color: #a1a9b3; object-fit: cover; }
.fb-catalog-product > strong { overflow: hidden; color: #233148; font-size: 9px; line-height: 1.4; }
.fb-catalog-product > small { color: #dd4242; font-size: 9px; }
.fb-catalog-product > button { border: 1px solid #80c8a2; border-radius: 5px; background: #fff; color: #16804f; cursor: pointer; font-size: 9px; font-weight: 600; }
.fb-catalog-product > button:hover { background: #ecf8f1; }
.fb-catalog-empty { margin: 0; padding: 8px 0; color: #798596; font-size: 10px; line-height: 1.45; }
.fb-ai-widget { padding: 14px; border-color: #ecd8ff; background: linear-gradient(135deg, #f7edff, #f6f5ff); }
.fb-ai-widget-heading { display: flex; gap: 10px; margin-bottom: 11px; }
.fb-ai-widget-heading > span { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 8px; background: #ead6ff; color: #862de2; font-size: 19px; }
.fb-ai-widget-heading > div { display: grid; gap: 3px; }
.fb-ai-widget-heading strong { color: #26324a; font-size: 13px; }
.fb-ai-widget-heading small { color: #737e91; font-size: 10px; line-height: 1.4; }
.fb-ai-widget-button { display: flex; width: 100%; min-height: 34px; align-items: center; justify-content: center; gap: 7px; border: 1px solid #bd8cf4; border-radius: 7px; background: #fff9; color: #7f2bd4; cursor: pointer; font-size: 10px; font-weight: 650; }
.fb-ai-widget-button span { font-size: 17px; line-height: 1; }
.fb-account-widget { padding: 0; border: 0; background: transparent; box-shadow: none; }
.fb-account-widget > h3 { margin-bottom: 10px; }
@media (min-width: 901px) and (max-width: 1160px) { .fb-feed-shell { grid-template-columns: 185px minmax(380px, 1fr) 270px; gap: 14px; } }
.fb-post-header button { min-width: 32px; min-height: 32px; padding: 0; font-size: 16px; cursor: pointer; }
.fb-post-image { height: auto; }
@media (max-width: 900px) {
  .feed-page .page-content { min-width: 0; overflow-x: clip; padding-right: 0; padding-left: 0; }
  .fb-feed-shell { width: 100%; min-width: 0; max-width: 100%; grid-template-columns: minmax(0, 1fr); margin: -10px 0 0; }
  .fb-feed-left { display: none; }
  .fb-feed-right { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 10px; padding: 0 12px 16px; }
  .fb-feed-right .fb-side-widget { min-width: 0; margin: 0; }
  .fb-feed-right .fb-ai-widget, .fb-feed-right .fb-account-widget { grid-column: 1 / -1; }
  .fb-feed-main { width: 100%; min-width: 0; max-width: none; margin: 0; }
  .fb-post { width: 100%; min-width: 0; max-width: 100%; }
  .fb-post:has(.fb-comment-disclosure[open]) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fb-post:has(.fb-comment-disclosure[open]) > .fb-post-content { width: 100%; }
  .fb-post:has(.fb-comment-disclosure[open]) .fb-post-comments { width: 50%; max-height: 70vh; border-top: 0; border-left: 1px solid #e4e6eb; }
  .fb-post-image { height: auto; max-height: none; object-fit: contain; object-position: center; }
}
@media (max-width: 600px) {
  .fb-feed-right { grid-template-columns: minmax(0, 1fr); }
  .fb-post:has(.fb-comment-disclosure[open]) { position: relative; z-index: 20; display: block; overflow: visible; }
  .fb-post:has(.fb-comment-disclosure[open]) > .fb-post-content { width: 100%; }
  .fb-post:has(.fb-comment-disclosure[open]) .fb-post-comments {
    position: absolute;
    inset: calc(100% + 1px) 0 auto;
    z-index: 5;
    display: grid;
    width: auto;
    height: min(42dvh, 340px);
    min-height: 180px;
    max-height: min(42dvh, 340px);
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 8px;
    padding: 10px 12px max(10px, env(safe-area-inset-bottom));
    overflow: hidden;
    border: 1px solid #e4e6eb;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 20px rgb(0 0 0 / 16%);
  }

/* Composer readability and overflow fixes */
.fb-composer-modal { overflow: auto; align-items: flex-start; }
.fb-advanced-panel { height: calc(100vh - 20px); max-height: calc(100vh - 20px); overflow-y: auto; scrollbar-gutter: stable; }
.fb-create-form { font-size: 13px; }
.fb-editor-section h4 { font-size: 12px; }.fb-account-select strong { font-size: 13px; }.fb-account-select small, .fb-field-help, .fb-platform-note { font-size: 11px; }
.fb-editor-section > textarea { min-height: 100px; padding: 12px; font-size: 14px; line-height: 1.45; }.fb-caption-tools button { font-size: 11px; }.fb-caption-tools small { font-size: 10px; }
.fb-create-platforms.fb-platform-options .fb-platform-option { min-height: 54px; font-size: 12px; }.fb-create-platforms.fb-platform-options .fb-platform-option > img { width: 25px !important; height: 25px !important; min-width: 25px; max-width: 25px; flex-basis: 25px; }.fb-platform-option small { font-size: 9px; }
.fb-platform-option.is-muted { border-color: #e4c9c4; background: #fff8f6; opacity: .72; }.fb-platform-mute { margin-left: auto; padding: 3px 5px; border: 1px solid #d8e3dc; border-radius: 4px; background: #fff; color: #65736b; cursor: pointer; font-size: 8px; white-space: nowrap; }.fb-platform-mute:hover { border-color: #207a57; color: #207a57; }.fb-platform-mute:disabled { cursor: wait; opacity: .55; }
.fb-ai-heading strong { font-size: 14px; }.fb-ai-heading small { font-size: 11px; }.fb-ai-drafts b { font-size: 11px; }.fb-ai-drafts textarea { min-height: 66px; font-size: 12px; }.fb-ai-status { font-size: 11px; }.fb-ai-status.is-success { color: #207a57; }
.fb-ai-drafts [hidden] { display: none !important; }
.fb-ai-status:empty { display: none; }
.fb-ai-heading strong { display: inline-flex; align-items: center; gap: 5px; }.fb-ai-heading strong::before { color: #207a57; content: '✦'; font-size: 19px; }
.fb-ai-drafts label { min-width: 0; padding: 7px; border: 1px solid #dfe7e2; border-radius: 7px; background: #fff; }.fb-ai-drafts b { display: flex; align-items: center; gap: 6px; color: #344139; font-size: 11px; }.fb-ai-drafts b img { width: 18px; height: 18px; flex: 0 0 18px; border-radius: 50%; object-fit: cover; }.fb-ai-drafts textarea { width: 100%; min-height: 47px; margin-top: 5px; background: #fff; }
.fb-create-footer { position: sticky; bottom: 0; margin: 0 -20px 0; }
.fb-create-preview { position: sticky; top: 0; height: calc(100vh - 20px); max-height: calc(100vh - 20px); overflow-y: auto; }
@media (max-width: 900px) { .fb-advanced-panel { flex: 0 0 100%; width: 100%; min-width: 0; } }
@media (max-width: 900px) { .fb-composer-modal { padding: 8px; }.fb-advanced-panel { width: 100%; height: calc(100vh - 16px); max-height: calc(100vh - 16px); }.fb-create-preview { display: none; }.fb-create-form { padding: 15px 16px 76px; }.fb-create-footer { margin-right: -16px; margin-left: -16px; padding-right: 16px; padding-left: 16px; } }
@media (max-width: 520px) { .fb-composer-modal { padding: 0; }.fb-advanced-panel { min-height: 100vh; height: 100vh; max-height: none; border-radius: 0; }.fb-create-header { height: 58px; padding: 0 12px; }.fb-create-form { gap: 16px; padding: 14px 12px 40px; }.fb-media-row { grid-template-columns: 1fr; }.fb-create-platforms.fb-platform-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }.fb-create-platforms.fb-platform-options .fb-platform-option { min-height: 50px; padding: 7px; }.fb-ai-heading { align-items: flex-start; flex-wrap: wrap; }.fb-ai-heading > span { min-width: 0; flex: 1 1 100%; }.fb-ai-tone { order: 2; }.fb-ai-heading button { order: 3; }.fb-ai-drafts { grid-template-columns: 1fr; }.fb-create-footer { flex-wrap: nowrap; gap: 6px; margin: 0 -12px; padding: 9px 12px; }.fb-create-footer button { flex: 1; min-width: 0; min-height: 42px; padding: 0 6px; font-size: 11px; line-height: 1.15; }.fb-create-footer .fb-publish-button { flex: 1.15; }.fb-create-footer input:not([type="checkbox"]) { order: 4; width: 100%; } }
  .fb-post:has(.fb-comment-disclosure[open]) .fb-post-comments.is-empty { height: auto; min-height: 0; max-height: none; grid-template-rows: auto auto; gap: 7px; overflow: visible; }
  .fb-post:has(.fb-comment-disclosure[open]) .fb-saved-comments { min-height: 0; margin: 0; overflow-y: auto; overscroll-behavior: contain; }
  .fb-post:has(.fb-comment-disclosure[open]) .fb-post-comments h3 { grid-row: 1; }
  .fb-post:has(.fb-comment-disclosure[open]) .fb-saved-comments { grid-row: 2; }
  .fb-post:has(.fb-comment-disclosure[open]) .fb-post-comments form.fb-comment-form { position: relative; z-index: 1; grid-row: 3; align-items: center; padding: 4px; border: 1px solid #e5e7ef; background: #f8f9fc; }
  .fb-post:has(.fb-comment-disclosure[open]) .fb-post-comments .fb-comment-form textarea { min-height: 40px; max-height: 68px; resize: none; }
  .fb-post:has(.fb-comment-disclosure[open]) .fb-post-comments .fb-comment-form button { align-self: center; }
}
@media (max-width: 900px) { .fb-create-preview { display: none; }.fb-create-panel { width: min(720px, 100%); border-right: 0; }.fb-simple-panel { width: min(520px, 100%); margin: 0; border-radius: 12px; align-self: center; }.fb-create-header { height: 52px; }.fb-create-form { padding-top: 14px; } }
@media (max-width: 560px) {
  .fb-composer-modal { overflow: hidden; padding: 12px; }
  .fb-create-panel { width: 100%; min-width: 0; max-height: calc(100vh - 24px); min-height: 0; overflow-x: hidden; border-radius: 12px; }
  .fb-create-form { min-width: 0; padding-right: 12px; padding-left: 12px; }
  .fb-create-tools { gap: 6px; }
  .fb-create-tools button { min-width: 0; padding-right: 9px; padding-left: 9px; font-size: 11px; }
  .fb-create-actions { min-width: 0; gap: 10px; }
  .fb-create-actions button { width: auto; min-width: 0; flex: 1; padding: 8px 4px; font-size: 19px; }
  .fb-create-actions span { font-size: 11px; }
  .fb-create-setting { min-width: 0; gap: 9px; }
  .fb-setting-copy { min-width: 0; }
  .fb-setting-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .fb-create-footer { min-width: 0; }
  .fb-create-footer button { width: 96px; flex: 0 0 auto; }
}
.comment-reply-count { color: #8b948d; font-size: 10px; }
.reply-form { display: flex; align-items: flex-end; gap: 8px; }
.reply-form textarea { min-height: 38px; flex: 1; resize: vertical; border-radius: 18px; padding: 10px 14px; background: #f1f3f4; border-color: transparent; }
.existing-reply { margin: 10px 0; padding: 10px 12px; border-left: 2px solid #8fbea2; background: #f5f9f6; }
.reply-label { color: var(--green); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.existing-reply p { margin: 4px 0 0; color: #556159; font-size: 11px; white-space: pre-wrap; }
.comment-item > .status-pill { margin-left: 4px; }

/* Community feed presentation */
.comment-list { gap: 0; padding: 0 12px; background: #fff; }
.comment-item { gap: 10px; padding: 15px 4px 14px; border: 0; border-bottom: 1px solid #edf0ee; border-radius: 0; box-shadow: none; }
.comment-avatar { width: 40px; }
.comment-content { padding-right: 8px; }
.comment-heading { align-items: baseline; }
.comment-heading strong { color: #17221b; font-size: 12px; }
.comment-heading time { font-size: 9px; }
.comment-message { margin: 6px 0 8px; color: #17221b; font-size: 12px; line-height: 1.45; }
.comment-actions { margin: 0 0 8px; gap: 16px; }
.comment-action:first-child { font-size: 16px; }
.comment-item > .status-pill { display: none; }
.reply-form { margin-top: 2px; }
.reply-form textarea { min-height: 38px; }
.notification-link { position: relative; display: inline-flex; align-items: center; gap: 6px; margin-left: auto; margin-right: 18px; padding: 7px 10px; border-radius: 8px; background: var(--green); color: #fff; text-decoration: none; font-size: 11px; font-weight: 700; }
.notification-bell { font-size: 16px; line-height: 1; }
.notification-count { position: absolute; top: -8px; right: -10px; min-width: 16px; padding: 2px 4px; border-radius: 9px; background: #bd553f; color: #fff; font-size: 9px; line-height: 1.1; text-align: center; }
.notification-list { display: grid; gap: 9px; }
.notification-drawer-backdrop { display: none; }
.notification-drawer-backdrop.is-open { display: block; position: fixed; inset: 0; z-index: 54; background: rgb(15 35 29 / 12%); }
.notification-drawer { position: fixed; top: 70px; right: 24px; z-index: 55; display: none; width: min(390px, calc(100vw - 30px)); max-height: calc(100vh - 95px); overflow: auto; border: 1px solid #e1e5e8; border-radius: 13px; background: #fff; box-shadow: 0 14px 36px rgb(26 43 34 / 22%); }
.notification-drawer.is-open { display: block; }
.notification-drawer-heading { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 5px; }.notification-drawer-heading h2 { margin: 0; font-size: 22px; }.notification-drawer-close { border: 0; background: transparent; color: #65676b; font-size: 26px; line-height: 1; cursor: pointer; }
.notification-drawer .notifications-tabs { padding: 0 16px; }.notification-drawer .notifications-section-label { padding: 0 16px; }.notification-drawer-list { padding: 0 16px; }.notification-drawer-list .notification-item { padding: 8px 0; border: 0; border-radius: 0; box-shadow: none; }.notification-drawer-list .notification-icon { width: 42px; height: 42px; }.notification-drawer-list .notification-copy { padding-left: 7px; padding-right: 18px; }.notification-drawer-list .notification-heading { display: block; }.notification-drawer-list .notification-heading strong { font-size: 12px; font-weight: 500; }.notification-drawer-list .notification-copy p { display: inline; margin: 0; font-size: 12px; }.notification-drawer-list .notification-time { display: block; margin-top: 2px; color: #1877f2; font-size: 10px; }
.notification-drawer-tools { display: grid; gap: 2px; margin: 8px 16px 4px; padding: 6px 0; border-top: 1px solid #edf0f2; border-bottom: 1px solid #edf0f2; }
.notification-tool-comments { background: #207a57; }
.notification-tool-inbox { background: linear-gradient(135deg, #feda75, #d62976 55%, #4f5bd5); transform: rotate(-18deg); }
.inbox-page .page-content { width: min(920px, 100%); }
.inbox-page .page-heading { margin-bottom: 13px; }
.inbox-page .page-heading h1 { margin-bottom: 0; font-size: 25px; }
.inbox-page .inbox-header-action { display: none; }
.inbox-filter-bar { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(110px, .65fr) 38px; gap: 7px; margin-bottom: 12px; }
.inbox-filter-bar select, .inbox-filter-bar button { min-width: 0; height: 40px; border: 1px solid #e1e6e2; border-radius: 6px; background: #fff; color: #3f4a43; }
.inbox-filter-bar select { padding: 0 30px 0 11px; font-size: 11px; }
.inbox-filter-bar button { display: grid; place-items: center; color: #56625a; font-size: 16px; cursor: pointer; }
.inbox-channel-picker { position: relative; min-width: 0; }
.inbox-channel-picker > summary { display: flex; min-width: 0; height: 40px; align-items: center; gap: 8px; padding: 4px 10px; border: 1px solid #e1e6e2; border-radius: 6px; background: #fff; cursor: pointer; list-style: none; }
.inbox-channel-picker > summary::-webkit-details-marker { display: none; }
.inbox-picker-avatar { position: relative; display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border: 1px solid #e1e6e2; border-radius: 50%; background: #f0f4f1; color: #526057; font-size: 10px; font-weight: 700; }
.inbox-picker-avatar > img, .inbox-picker-avatar > span:first-child { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.inbox-picker-avatar > span:first-child { display: grid; place-items: center; }
.inbox-picker-platform { position: absolute; right: -4px; bottom: -3px; display: grid; width: 15px; height: 15px; place-items: center; overflow: hidden; border: 2px solid #fff; border-radius: 50%; background: #fff; }
.inbox-picker-platform img { width: 11px; height: 11px; border-radius: 50%; object-fit: cover; }
.inbox-picker-platform-youtube { width: 19px; border-radius: 4px; }
.inbox-picker-platform-youtube img { width: 15px; height: 9px; border-radius: 0; object-fit: contain; }
.inbox-picker-label { display: grid; min-width: 0; flex: 1; gap: 1px; }
.inbox-picker-label strong { overflow: hidden; color: #38443c; font-size: 10px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.inbox-picker-label small { color: #8d9890; font-size: 9px; }
.inbox-picker-chevron { margin-left: auto; color: #748078; font-size: 14px; }
.inbox-picker-options { position: absolute; top: calc(100% + 5px); left: 0; z-index: 20; display: none; width: min(280px, calc(100vw - 24px)); max-height: min(360px, 65vh); overflow-y: auto; padding: 4px; border: 1px solid #e1e6e2; border-radius: 7px; background: #fff; box-shadow: 0 8px 22px rgb(26 43 34 / 14%); }
.inbox-channel-picker[open] .inbox-picker-options { display: grid; }
.inbox-picker-options a { display: flex; min-height: 38px; align-items: center; gap: 9px; padding: 4px 7px; border-radius: 4px; color: #49564d; font-size: 11px; text-decoration: none; }
.inbox-picker-options a:hover, .inbox-picker-options a[aria-current="page"] { background: #f0f6f2; color: var(--green-dark); }
.inbox-picker-options small { margin-left: auto; color: #8d9890; font-size: 9px; }
.inbox-picker-option-icon { display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; overflow: hidden; border: 1px solid #edf0ed; border-radius: 50%; background: #fff; color: #7d8981; font-size: 12px; }
.inbox-picker-option-icon img { width: 100%; height: 100%; object-fit: cover; }
.inbox-picker-options a:has(img[src*="youtube-logo"]) .inbox-picker-option-icon { border-radius: 5px; }
.inbox-conversation-layout { display: grid; grid-template-columns: minmax(240px, .85fr) minmax(0, 1.5fr); gap: 12px; min-height: 420px; }
.unified-inbox-list { display: grid; align-content: start; gap: 5px; max-height: 68vh; overflow-y: auto; border: 1px solid #e5e9e6; border-radius: 8px; background: #fff; box-shadow: 0 1px 2px rgb(26 43 34 / 4%); }
.unified-inbox-row { display: flex; min-width: 0; align-items: flex-start; gap: 10px; padding: 13px 12px 10px; border: 1px solid #e5e9e6; border-radius: 7px; background: #fff; box-shadow: 0 1px 2px rgb(26 43 34 / 4%); }
.unified-inbox-list > .unified-inbox-row { border: 0; border-bottom: 1px solid #edf0ee; border-radius: 0; box-shadow: none; color: inherit; text-decoration: none; }
.unified-inbox-list > .unified-inbox-row:hover, .unified-inbox-list > .unified-inbox-row.is-selected { background: #f1f7f3; }
.unified-inbox-list > .unified-inbox-row.is-unread { background: #dcecff; border-left: 4px solid #2f75d6; }
.unified-inbox-list > .unified-inbox-row.is-unread:hover, .unified-inbox-list > .unified-inbox-row.is-unread.is-selected { background: #c8defa; }
.unified-inbox-list > .unified-inbox-row.is-unread .unified-inbox-heading strong { color: #124b93; }
.unified-inbox-avatar { position: relative; display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #e7f3ff; box-shadow: 0 0 0 1px #dfe7e2; color: #1877f2; font-size: 13px; font-weight: 700; }
.unified-inbox-avatar > img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.inbox-platform-badge { position: absolute; bottom: -3px; left: -4px; display: grid; width: 16px; height: 16px; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #1877f2; color: #fff; font: 700 9px/1 Arial, sans-serif; }
.inbox-platform-badge-instagram { background: #fff; }
.inbox-platform-badge img { display: block; width: 12px; height: 12px; border-radius: 50%; object-fit: cover; }
.inbox-platform-badge-youtube { width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.inbox-platform-badge-youtube img { width: 12px; height: 12px; border-radius: 50%; object-fit: cover; }
.inbox-platform-badge-threads { background: #181818; }
.inbox-platform-badge-whatsapp { background: #fff; }
.inbox-platform-badge-telegram { background: #299dcc; }
.inbox-platform-badge-x { background: #181818; }
.inbox-platform-badge-gavy { background: var(--green); }
.unified-inbox-copy { min-width: 0; flex: 1; }
.unified-inbox-heading { display: flex; min-width: 0; align-items: center; gap: 6px; }
.unified-inbox-heading strong { min-width: 0; overflow: hidden; color: #27312b; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.unified-inbox-heading .channel-tag { flex: 0 0 auto; }
.unified-inbox-heading small { margin-left: auto; flex: 0 0 auto; color: #9aa39c; font-size: 9px; }
.unified-inbox-copy p { display: -webkit-box; margin: 6px 0 8px; overflow: hidden; color: #505b53; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.unified-inbox-footer { display: flex; min-height: 30px; align-items: center; justify-content: space-between; gap: 8px; }
.inbox-direction { color: #8d9890; font-size: 9px; }
.inbox-direction-outbound { color: #527c64; }
.unified-inbox-footer a { display: inline-flex; min-width: 48px; min-height: 30px; align-items: center; justify-content: flex-end; gap: 5px; color: #58655d; font-size: 10px; font-weight: 650; }
.unified-inbox-footer a span { color: var(--green); font-size: 15px; }
.inbox-thread { display: grid; min-width: 0; min-height: 420px; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; border: 1px solid #e5e9e6; border-radius: 8px; background: #fff; }
.inbox-thread-header { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid #edf0ee; }
.inbox-thread-header strong { color: #27312b; font-size: 12px; }
.inbox-thread-messages { display: flex; flex-direction: column; gap: 10px; padding: 14px; overflow-y: auto; }
.inbox-thread-message { display: grid; max-width: min(82%, 480px); gap: 4px; padding: 8px 10px; border-radius: 12px; background: #f1f3f5; }
.inbox-thread-message-inbound { align-self: start; }
.inbox-thread-message-outbound { align-self: end; background: #e4f4e9; }
.inbox-thread-message small { color: #637066; font-size: 9px; font-weight: 650; }
.inbox-thread-message p { margin: 0; color: #303a33; font-size: 11px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.inbox-thread-message time { justify-self: end; color: #89958c; font-size: 8px; }
.inbox-reply-form { display: flex; align-items: end; gap: 8px; padding: 10px; border-top: 1px solid #edf0ee; }
.inbox-reply-form textarea { min-width: 0; min-height: 40px; max-height: 120px; flex: 1; resize: vertical; padding: 9px 11px; border: 1px solid #dfe7e1; border-radius: 10px; color: #29342d; font: inherit; font-size: 11px; }
.inbox-reply-form button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 19px; background: var(--green); color: #fff; font-size: 10px; font-weight: 700; cursor: pointer; }
@media (max-width: 900px) {
  .inbox-conversation-layout { grid-template-columns: minmax(0, 1fr); }
  .unified-inbox-list { max-height: 280px; }
  .inbox-thread { min-height: 340px; }
}
.inbox-header-action { display: inline-grid; width: 36px; height: 36px; place-items: center; border: 1px solid #e7ebe8; border-radius: 6px; color: #6f7972; font-size: 18px; text-decoration: none; }
.inbox-header-action:hover { background: #f7f9f7; color: var(--green-dark); }

/* Expanded inbox workspace: keep the main navigation visible while allowing
   the conversation surface to use the full width beside it. */
@media (min-width: 851px) {
  .inbox-page .sidebar { display: flex; }
  .inbox-page .main-column { margin-left: 238px; }
  .inbox-page .topbar { height: 64px; padding-right: 44px; padding-left: 44px; }
  .inbox-page .page-content {
    width: 100%;
    min-height: calc(100vh - 117px);
    padding: 39px 36px 58px;
  }
  .inbox-page .inbox-conversation-layout { min-height: 462px; }
  .inbox-page .unified-inbox-list,
  .inbox-page .inbox-thread { min-height: 462px; }
  .inbox-page .page-footer { padding-right: 44px; padding-left: 44px; }
}
.notification-drawer-tools a { display: flex; align-items: center; gap: 8px; min-height: 40px; color: #1c1e21; text-decoration: none; }.notification-drawer-tools a:hover { background: #f5f6f7; }.notification-tool-icon { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #fff; font-size: 14px; font-weight: 700; }.notification-tool-inbox { background: #1877f2; }.notification-tool-schedule { background: #8b6bd1; }.notification-tool-pending { background: #e59a35; }.notification-tool-errors { background: #d95848; }.notification-drawer-tools a > span:nth-child(2) { display: grid; flex: 1; gap: 1px; }.notification-drawer-tools strong { font-size: 11px; }.notification-drawer-tools small { color: #8a939b; font-size: 9px; }.notification-drawer-tools b { min-width: 18px; padding: 3px 5px; border-radius: 10px; background: #e9f4ee; color: #207a57; font-size: 9px; text-align: center; }
.notification-drawer .notifications-previous { width: auto; margin: 8px 16px 16px; border: 0; border-radius: 7px; background: #e4e7eb; box-shadow: none; text-align: center; }
.notification-item { display: flex; align-items: flex-start; gap: 12px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.notification-item.is-unread { border-left: 3px solid var(--green); background: #fbfefc; }
.notification-icon { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--soft); color: var(--green-dark); font-weight: 700; }
.notification-copy { min-width: 0; flex: 1; }
.notification-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.notification-heading small { margin-left: auto; color: #9aa39c; font-size: 9px; }
.notification-copy p { margin: 7px 0 0; color: #5d685f; font-size: 11px; line-height: 1.5; white-space: pre-wrap; }
.notifications-app, .notifications-feed, .notifications-previous { width: min(100%, 680px); margin-right: auto; margin-left: auto; }
.notifications-app { padding: 14px 16px 0; border: 1px solid #e1e5e8; border-bottom: 0; border-radius: 13px 13px 0 0; background: #fff; box-shadow: 0 8px 24px rgb(26 43 34 / 8%); }
.notifications-heading { display: flex; align-items: center; justify-content: space-between; }
.notifications-heading h1 { margin: 0; font: 700 24px/1.2 "Segoe UI", Tahoma, sans-serif; }
.notifications-heading button { border: 0; background: transparent; color: #65676b; font-size: 16px; cursor: pointer; }
.notifications-tabs { display: flex; gap: 5px; margin-top: 7px; }
.notifications-tabs a { padding: 9px 13px; border-radius: 20px; color: #1c1e21; font-size: 12px; font-weight: 650; text-decoration: none; }
.notifications-tabs a.is-selected { background: #e7f3ff; color: #1877f2; }
.notifications-section-label { display: flex; justify-content: space-between; margin: 13px 0 8px; font-size: 15px; font-weight: 500; }
.notifications-section-label a { color: #1877f2; font-size: 11px; text-decoration: none; }
.notifications-feed { gap: 0; padding: 0 16px; border: 1px solid #e1e5e8; border-top: 0; border-bottom: 0; background: #fff; box-shadow: 0 8px 24px rgb(26 43 34 / 8%); }
.notifications-feed .notification-item { position: relative; min-height: 64px; padding: 8px 0; border: 0; border-radius: 0; box-shadow: none; }
.notifications-feed .notification-item.is-unread { border-left: 4px solid #2f75d6; background: #dcecff; cursor: pointer; }
.notifications-feed .notification-item.is-unread:hover { background: #c8defa; }
.notifications-feed .notification-icon { width: 44px; height: 44px; align-self: flex-start; margin-right: 1px; border: 2px solid #fff; background: #dce9ef; color: #1877f2; font-size: 17px; box-shadow: 0 1px 2px rgb(0 0 0 / 12%); }
.notification-icon-message { background: #e4f0f8 !important; color: #1877f2 !important; }.notification-icon-comment { background: #e8f5e9 !important; color: #207a57 !important; }.notification-icon-reaction { background: #fde9e9 !important; color: #e34b4b !important; }
.notifications-feed .notification-copy { padding: 1px 24px 0 7px; }
.notifications-feed .notification-heading { display: block; }.notifications-feed .notification-heading strong { font-size: 12px; font-weight: 500; }.notifications-feed .channel-tag { display: inline; padding: 0; margin-left: 3px; background: transparent; color: #1877f2; font-size: 10px; }
.notifications-feed .notification-copy p { display: inline; margin: 0; color: #1c1e21; font-size: 12px; }.notifications-feed .notification-time { display: block; margin-top: 2px; color: #1877f2; font-size: 10px; }
.notification-unread-form { position: absolute; top: 26px; right: 0; }.notification-unread-dot { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: #1877f2; cursor: pointer; }
.notifications-previous { display: block; margin-top: 0; padding: 10px; border: 1px solid #e1e5e8; border-top: 0; border-radius: 0 0 13px 13px; background: #fff; color: #1c1e21; font-size: 12px; box-shadow: 0 8px 24px rgb(26 43 34 / 8%); cursor: pointer; }
.posts-page-list { display: grid; gap: 10px; }
.posts-page-row { align-items: flex-start; }
.posts-page-row .post-actions { align-items: flex-end; }
.planner-page .page-heading { align-items: center; margin-bottom: 14px; }
.planner-page .page-heading h1 { margin: 0; font-size: 26px; }
.planner-page .planner-toolbar { position: relative; display: grid; grid-template-columns: minmax(180px, .85fr) minmax(120px, .65fr) minmax(180px, 1fr); gap: 8px; margin-bottom: 12px; }
.planner-platform-picker, .planner-status-picker { position: relative; min-width: 0; }
.planner-filter-backdrop, .planner-sheet-handle { display: none; }
.planner-platform-picker > summary, .planner-status-picker > summary { display: flex; height: 40px; align-items: center; gap: 8px; padding: 0 10px; border: 1px solid #e0e6e1; border-radius: 6px; background: #fff; color: #47534b; font-size: 10px; cursor: pointer; list-style: none; }
.planner-platform-picker > summary::-webkit-details-marker, .planner-status-picker > summary::-webkit-details-marker { display: none; }
.planner-platform-picker > summary > span:nth-child(2), .planner-status-picker > summary > span:first-child { flex: 1; }
.planner-account-avatar { position: relative; display: grid; width: 25px; height: 25px; flex: 0 0 auto; place-items: center; overflow: hidden; border: 1px solid #e7ece8; border-radius: 50%; background: #f0f4f1; color: #526057; font-size: 9px; font-weight: 700; }
.planner-account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.planner-status-picker > summary { justify-content: space-between; }
.planner-filter-count { color: #87928a; font-size: 9px; }
.planner-platform-options, .planner-filter-panel { position: absolute; top: calc(100% + 5px); left: 0; z-index: 25; display: none; width: min(280px, calc(100vw - 24px)); padding: 5px; border: 1px solid #e0e6e1; border-radius: 7px; background: #fff; box-shadow: 0 10px 28px rgb(26 43 34 / 14%); }
.planner-platform-picker[open] .planner-platform-options { display: grid; }
.planner-platform-options a { display: flex; min-height: 38px; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 4px; color: #465249; font-size: 10px; text-decoration: none; }
.planner-platform-options a:hover, .planner-platform-options a[aria-current="page"] { background: #edf5f0; color: var(--green-dark); }
.planner-platform-options small { margin-left: auto; color: #89948d; font-size: 9px; }
.planner-platform-logo { display: grid; width: 23px; height: 23px; place-items: center; overflow: hidden; border: 1px solid #edf0ed; border-radius: 50%; background: #fff; }
.planner-platform-logo img { width: 100%; height: 100%; object-fit: cover; }
.planner-status-picker[open] .planner-filter-panel { display: grid; }
.planner-filter-panel { right: 0; left: auto; width: min(320px, calc(100vw - 24px)); padding: 0 14px 12px; }
.planner-filter-panel-heading { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 11px 0 7px; border-bottom: 1px solid #edf0ed; }
.planner-filter-panel-heading strong { color: #303b33; font-size: 12px; text-align: center; }
.planner-filter-panel-heading button { min-width: 54px; min-height: 30px; border: 1px solid #cfe2d5; border-radius: 5px; background: #edf6f0; color: var(--green-dark); font-size: 10px; font-weight: 700; cursor: pointer; }
.planner-filter-panel > label { display: flex; min-height: 38px; align-items: center; gap: 8px; border-bottom: 1px solid #f0f2f0; cursor: pointer; }
.planner-status-name { flex: 1; color: #536158; font-size: 10px; }
.planner-status-dot { display: grid; width: 18px; height: 18px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #eef2f4; color: #687982; font: 700 11px/1 "Segoe UI Symbol", "Segoe UI", sans-serif; }
.planner-status-dot::before { content: "·"; }
.planner-status-dot-all { background: #e6f3ff; color: #2584cf; }
.planner-status-dot-all::before { content: "≡"; font-size: 13px; }
.planner-status-dot-pending { background: #fff5df; color: #bd8b1e; }
.planner-status-dot-pending::before { content: "◷"; font-size: 12px; }
.planner-status-dot-publishing { background: #e8f3ff; color: #438fcd; }
.planner-status-dot-publishing::before { content: "↻"; font-size: 14px; }
.planner-status-dot-partial { background: #ffeded; color: #d84545; }
.planner-status-dot-partial::before { content: "!"; font-size: 11px; }
.planner-status-dot-sent { background: #e6f6ef; color: #35a578; }
.planner-status-dot-sent::before { content: "✓"; font-size: 11px; }
.planner-status-dot-failed { background: #ffedf0; color: #d75769; }
.planner-status-dot-failed::before { content: "×"; font-size: 14px; }
.planner-status-dot-scheduled { background: #e6f6ef; color: #35a578; }
.planner-status-dot-scheduled::before { content: "▦"; font-size: 11px; }
.planner-filter-panel > label input { position: absolute; opacity: 0; }
.planner-checkbox { display: grid; width: 15px; height: 15px; flex: 0 0 auto; place-items: center; border: 1px solid #ccd6cf; border-radius: 3px; }
.planner-filter-panel > label input:checked + .planner-checkbox { border-color: var(--green); background: var(--green); }
.planner-filter-panel > label input:checked + .planner-checkbox::after { content: "✓"; color: #fff; font-size: 10px; }
.planner-filter-panel > label input:focus-visible + .planner-checkbox { outline: 2px solid var(--green); outline-offset: 2px; }
.planner-search { display: flex; min-width: 0; align-items: center; gap: 5px; }
.planner-search input { min-width: 0; height: 40px; flex: 1; padding: 0 10px; border: 1px solid #e0e6e1; border-radius: 6px; background: #fff; font-size: 10px; }
.planner-search button { width: 36px; height: 36px; flex: 0 0 auto; border: 0; border-radius: 5px; background: transparent; color: #56625a; font-size: 21px; cursor: pointer; }
.planner-posts-list { display: grid; gap: 9px; }
.planner-post-card { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; min-width: 0; padding: 10px; border: 1px solid #e4e9e5; border-radius: 7px; background: #fff; box-shadow: 0 1px 2px rgb(26 43 34 / 4%); }
.planner-post-media { position: relative; display: grid; width: 100%; aspect-ratio: 1; align-self: start; place-items: center; overflow: hidden; border-radius: 5px; background: #f0f4f1; color: #728078; }
.planner-post-media img { width: 100%; height: 100%; object-fit: cover; }
.planner-post-media .planner-post-lower-third { position: absolute; right: 0; bottom: 0; left: 0; z-index: 1; width: 100%; height: 31%; object-fit: cover; object-position: center 51%; pointer-events: none; }
.planner-post-media { aspect-ratio: auto; height: 120px; overflow: visible; }
.planner-post-media > img:not(.planner-post-lower-third) { position: absolute; top: 0; right: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.planner-post-media .planner-post-lower-third { top: 92.25%; bottom: auto; height: 31%; object-fit: fill; }
.planner-post-media > span { font-size: 20px; }
.planner-media-placeholder { display: grid; gap: 7px; justify-items: center; color: #728078; font-size: 9px !important; }
.planner-media-placeholder > div { display: flex; justify-content: center; gap: 3px; }
.planner-media-placeholder img { width: 18px; height: 18px; min-height: 0; border: 1px solid #fff; border-radius: 50%; object-fit: cover; }
.planner-post-main { min-width: 0; }
.planner-post-meta, .planner-post-title-row, .planner-post-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.planner-post-meta > span { color: #8d9890; font-size: 9px; white-space: nowrap; }
.planner-platform-logos { display: flex; align-items: center; gap: 3px; }
.planner-platform-logos img { width: 15px; height: 15px; border: 1px solid #eef1ef; border-radius: 50%; object-fit: cover; }
.planner-post-title-row { margin-top: 6px; }
.planner-post-title-row h2 { min-width: 0; margin: 0; overflow: hidden; color: #29342d; font-size: 11px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.planner-post-title-row .status-pill { flex: 0 0 auto; }
.planner-post-copy { display: -webkit-box; margin: 4px 0 7px; overflow: hidden; color: #69766e; font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.planner-edit-product { margin-top: 10px; border: 1px solid #dfe9e2; border-radius: 9px; background: #fbfdfb; overflow: hidden; }
.planner-edit-product > summary { display: flex; min-height: 38px; align-items: center; gap: 8px; padding: 0 11px; border-bottom: 1px solid transparent; color: #207a57; cursor: pointer; font-size: 11px; font-weight: 700; list-style: none; }
.planner-edit-product > summary::-webkit-details-marker { display: none; }
.planner-edit-product > summary::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .16s ease; }
.planner-edit-product[open] > summary { border-bottom-color: #e5eee8; background: #f5faf6; }
.planner-edit-product[open] > summary::before { transform: rotate(45deg); }
.planner-edit-product > form { display: grid; gap: 8px; padding: 11px; }
.planner-edit-product > form > label { display: grid; gap: 4px; color: #536158; font-size: 10px; font-weight: 700; }
.planner-edit-product > form > input:not([type="checkbox"]), .planner-edit-product > form > textarea { box-sizing: border-box; width: 100%; min-height: 36px; padding: 8px 9px; border: 1px solid #d8e4dc; border-radius: 6px; background: #fff; color: #29342d; font-size: 11px; }
.planner-edit-product > form > textarea { min-height: 92px; line-height: 1.45; resize: vertical; }
.planner-edit-product > form > fieldset { min-width: 0; margin: 2px 0 0; padding: 8px 9px 9px; border: 1px solid #dce8df; border-radius: 7px; background: #fff; }
.planner-edit-product > form > fieldset > legend { padding: 0 4px; color: #34453a; font-size: 10px; font-weight: 700; }
.planner-edit-product > form > fieldset:not(.planner-platform-variants) { display: flex; flex-wrap: wrap; gap: 6px; }
.planner-edit-product > form > fieldset:not(.planner-platform-variants) > label { display: inline-flex; min-height: 28px; align-items: center; gap: 6px; padding: 0 8px; border: 1px solid #dfe9e2; border-radius: 16px; background: #fbfdfb; color: #526057; font-size: 10px; cursor: pointer; }
.planner-edit-product > form > fieldset:not(.planner-platform-variants) > label:has(input:checked) { border-color: #a9d2b8; background: #edf8f0; color: #207a57; }
.planner-edit-product > form > fieldset:not(.planner-platform-variants) input { accent-color: #207a57; }
.planner-edit-product .planner-platform-variants { margin-top: 2px; }
.planner-edit-product .planner-retry { justify-self: end; min-height: 34px; padding: 0 14px; border: 0; border-radius: 6px; background: #207a57; color: #fff; font-size: 10px; font-weight: 700; box-shadow: 0 2px 5px rgb(32 122 87 / 18%); }
.planner-edit-product .planner-retry:hover { background: #176545; }
.planner-edit-product input:focus, .planner-edit-product textarea:focus, .planner-edit-product select:focus { border-color: #62a080; box-shadow: 0 0 0 3px rgb(32 122 87 / 10%); outline: 0; }
.planner-post-actions { justify-content: flex-start; flex-wrap: wrap; color: #99a29b; font-size: 9px; }
.planner-post-actions form { margin-left: auto; }
.planner-retry { min-height: 28px; padding: 0 10px; border: 1px solid #dfe7e1; border-radius: 4px; background: #fff; color: #56625a; font-size: 9px; cursor: pointer; }
.planner-retry.is-retrying { position: relative; padding-left: 25px; border-color: #b9d8c4; background: #f1f8f3; color: #207a57; cursor: wait; }
.planner-retry.is-retrying::before { content: ""; position: absolute; top: 50%; left: 9px; width: 10px; height: 10px; margin-top: -6px; border: 2px solid #b9d8c4; border-top-color: #207a57; border-radius: 50%; animation: planner-retry-spin .7s linear infinite; }
@keyframes planner-retry-spin { to { transform: rotate(360deg); } }
.planner-post-actions .planner-comment-composer { position: relative; margin: 0; border: 0; }
.planner-comment-composer > summary { padding: 6px 0; color: var(--green); cursor: pointer; font-size: 9px; font-weight: 700; }
.planner-comment-composer > form { position: absolute; right: 0; bottom: calc(100% + 4px); z-index: 11; display: grid; width: min(360px, calc(100vw - 36px)); gap: 9px; margin: 0; padding: 12px; border: 1px solid #e1e7e2; border-radius: 7px; background: #fff; box-shadow: 0 8px 24px rgb(26 43 34 / 14%); }
.planner-comment-label, .planner-comment-composer fieldset legend { color: #334239; font-size: 10px; font-weight: 700; }
.planner-comment-composer textarea { width: 100%; min-height: 68px; resize: vertical; padding: 8px; border: 1px solid #dfe7e1; border-radius: 5px; color: #29342d; font: inherit; font-size: 11px; }
.planner-comment-hint { color: #89958c; font-size: 9px; }
.planner-comment-composer fieldset { display: flex; flex-wrap: wrap; gap: 8px 12px; margin: 0; padding: 8px; border: 1px solid #e9eeea; border-radius: 5px; }
.planner-comment-composer fieldset label { display: inline-flex; align-items: center; gap: 5px; color: #56625a; font-size: 10px; cursor: pointer; }
.planner-comment-composer fieldset label small { color: #8d9890; }
.planner-comment-platform-logo { display: inline-grid; width: 16px; height: 16px; place-items: center; overflow: hidden; border-radius: 50%; }
.planner-comment-platform-logo img { width: 100%; height: 100%; object-fit: cover; }
.planner-comment-submit { justify-self: end; min-height: 30px; padding: 0 12px; border: 0; border-radius: 5px; background: var(--green); color: #fff; font-size: 10px; font-weight: 700; cursor: pointer; }
.planner-post-actions .post-preview { position: relative; margin: 0; border: 0; }
.planner-post-actions .post-preview summary { padding: 6px 0; font-size: 9px; }
.planner-post-actions .delivery-log-list { position: absolute; right: 0; bottom: calc(100% + 4px); z-index: 10; width: min(440px, calc(100vw - 36px)); max-height: 55vh; overflow: auto; padding: 8px; border: 1px solid #e1e7e2; border-radius: 6px; background: #fff; box-shadow: 0 8px 24px rgb(26 43 34 / 14%); }
.planner-post-actions .delivery-log-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 8px 12px; }
.delivery-log-topline { display: flex; grid-column: 1 / -1; align-items: center; gap: 9px; }
.delivery-log-account, .delivery-log-http, .delivery-log-id { min-width: 0; }
.delivery-log-account { display: flex; align-items: center; gap: 7px; }
.delivery-account-thumb { position: relative; display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border: 1px solid #edf0ed; border-radius: 50%; background: #f0f4f1; color: #526057; font-size: 10px; font-weight: 700; }
.delivery-account-picture { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.delivery-account-fallback { display: grid; width: 100%; height: 100%; place-items: center; }
.delivery-platform-badge { position: absolute; right: -4px; bottom: -3px; display: grid; width: 15px; height: 15px; place-items: center; overflow: hidden; border: 2px solid #fff; border-radius: 50%; background: #fff; }
.delivery-platform-badge img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.delivery-account-copy { min-width: 0; }
.delivery-log-account small, .delivery-log-http small, .delivery-log-id small { display: block; margin-bottom: 3px; color: #99a29b; font-size: 8px; }
.delivery-log-account span, .delivery-log-http span { display: block; color: #59655d; font-size: 9px; overflow-wrap: anywhere; }
.delivery-log-id { grid-column: 1 / -1; }
.delivery-log-id code { display: block; color: #546158; font: 9px/1.4 Consolas, monospace; overflow-wrap: anywhere; word-break: break-word; }
.planner-post-actions .delivery-log-row p { grid-column: 1 / -1; }
.planner-floating-create { display: none; }
.planner-platform-variants { display: grid; gap: 10px; margin: 0; padding: 12px; border: 1px solid #e4e9e5; border-radius: 8px; background: #f8faf8; }
.planner-platform-variants legend { padding: 0 5px; color: #293a30; font-size: 13px; font-weight: 700; }
.planner-platform-variants legend span { display: block; margin-top: 3px; color: #78847c; font-size: 10px; font-weight: 400; line-height: 1.45; }
.planner-ai-toolbar { display: grid; grid-template-columns: auto minmax(130px, 190px) minmax(0, 1fr); align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid #e3ece5; border-radius: 6px; background: #fff; }
.planner-ai-toolbar label { color: #59665e; font-size: 10px; font-weight: 650; }
.planner-ai-toolbar select { min-height: 32px; padding: 0 8px; border: 1px solid #dce5de; border-radius: 5px; background: #fff; color: #34453a; font-size: 10px; }
.planner-ai-toolbar p { margin: 0; color: #77817b; font-size: 10px; line-height: 1.4; }
.planner-ai-toolbar p.is-error { color: #a14e3d; }
.planner-ai-toolbar p.is-success { color: #207a57; }
.planner-ai-platform { display: grid; gap: 6px; padding: 10px; border: 1px solid #e5eae6; border-radius: 6px; background: #fff; }
.planner-ai-platform-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.planner-ai-platform-heading label { color: #34453a; font-size: 11px; font-weight: 650; }
.planner-ai-platform textarea { width: 100%; min-height: 78px; resize: vertical; padding: 9px 10px; border: 1px solid #dfe7e1; border-radius: 5px; background: #fff; color: #29342d; font: inherit; font-size: 11px; line-height: 1.5; }
.planner-ai-platform textarea:focus, .planner-ai-toolbar select:focus { outline: 2px solid rgb(32 122 87 / 22%); border-color: #62a080; }
.planner-ai-generate { min-height: 29px; padding: 0 9px; border: 1px solid #cfe4d6; border-radius: 5px; background: #f0f8f2; color: #207a57; font-size: 10px; font-weight: 650; cursor: pointer; }
.planner-ai-generate:hover:not(:disabled) { border-color: #9fc9ad; background: #e6f3e9; }
.planner-ai-generate:disabled { opacity: .52; cursor: not-allowed; }
@media (max-width: 640px) {
  .planner-ai-toolbar { grid-template-columns: auto minmax(0, 1fr); }
  .planner-ai-toolbar p { grid-column: 1 / -1; }
  .planner-ai-platform { padding: 8px; }
}
.delivery-log-list { display: grid; gap: 7px; margin-top: 10px; }
.delivery-log-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 9px 10px; border: 1px solid #edf0ed; border-radius: 5px; color: #647069; font-size: 10px; }
.delivery-log-row strong { color: var(--ink); }
.delivery-log-row p { flex-basis: 100%; margin: 0; color: #a14e3d; line-height: 1.4; }
.message-stack { display: grid; gap: 7px; margin-bottom: 17px; }
.flash-message { padding: 10px 13px; border: 1px solid #cde3d3; border-radius: 5px; background: #f0f8f2; color: #276747; font-size: 11px; }
.flash-error { border-color: #efd4c8; background: #fff5f0; color: #984d2e; }
.flash-warning { border-color: #eadfbf; background: #fff9e8; color: #806728; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.integration-health { display: inline-flex; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid #e1e7e2; border-radius: 5px; background: #fff; color: #8a958d; font-size: 10px; }
.integration-health.is-ready { border-color: #cce3d4; background: #f6fbf7; color: var(--green-dark); }
.integration-health.is-error { border-color: #efd4c8; background: #fff8f4; color: #984d2e; }
.integration-layout { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(430px, 1.28fr); gap: 19px; align-items: start; }
.integration-card { min-width: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: var(--shadow); }
.integration-setup { padding: 20px; }
.integration-preview { padding: 20px 0 0; }
.integration-preview .section-heading { margin: 0 20px; }
.integration-intro { margin: 15px 0 18px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.csv-import-form { padding: 13px; border: 1px solid #e1e9e3; border-radius: 6px; background: #f8fbf8; }
.csv-import-form input[type="file"] { width: 100%; min-width: 0; margin: 6px 0 0; padding: 8px; border: 1px solid var(--line); border-radius: 5px; background: #fff; font-size: 10px; }
.csv-import-form .field-help { margin: 8px 0 10px; }
.csv-import-form .button { width: 100%; justify-content: center; }
.integration-form .field-label { margin-top: 13px; }
.integration-form .field-label:first-child { margin-top: 0; }
.integration-form input, .integration-form select { margin-bottom: 0; }
.integration-form code { padding: 1px 4px; border-radius: 3px; background: #f1f4f1; color: var(--green-dark); font-family: Consolas, monospace; font-size: 9px; }
.integration-actions { display: flex; justify-content: flex-end; gap: 7px; margin-top: 20px; }
.sync-note { margin: 14px 0 0; padding-top: 13px; border-top: 1px solid var(--line); color: #9aa39c; font-size: 10px; }
.preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.product-preview-list { display: grid; }
.product-preview-row { display: flex; min-width: 0; align-items: center; gap: 11px; padding: 12px 20px; border-bottom: 1px solid #edf0ed; cursor: pointer; }
.product-preview-row:last-child { border-bottom: 0; }
.product-preview-row:hover { background: #fbfdfb; }
.product-preview-row > input { width: 14px; height: 14px; flex: 0 0 auto; accent-color: var(--green); }
.product-preview-row img, .product-placeholder { width: 43px; height: 43px; flex: 0 0 auto; border-radius: 5px; object-fit: cover; }
.product-placeholder { display: grid; place-items: center; background: #edf2ee; color: #8ba094; font-size: 19px; }
.product-copy { min-width: 0; flex: 1; }
.product-copy strong, .product-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-copy strong { color: #334038; font-size: 11px; }
.product-copy small { margin-top: 4px; color: #98a29b; font-size: 9px; }
.product-price { color: var(--green-dark); font-size: 11px; font-weight: 700; white-space: nowrap; }
.integration-empty { display: flex; min-height: 225px; flex-direction: column; align-items: center; justify-content: center; padding: 30px; text-align: center; }
.integration-empty strong { font-size: 12px; }
.integration-empty p { max-width: 260px; margin: 5px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.imported-section { margin-top: 19px; padding: 20px 0 0; }
.imported-section .section-heading { margin: 0 20px; }
.imported-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; padding: 17px 20px 20px; }
.imported-product { min-width: 0; padding: 13px; border: 1px solid #e4eae5; border-radius: 5px; background: #fbfcfb; }
.imported-product-image { display: block; width: 100%; height: 110px; margin-bottom: 10px; border-radius: 4px; background: #edf2ee; object-fit: contain; }
.imported-product strong, .imported-product small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.imported-product strong { margin: 10px 0 5px; font-size: 11px; }
.imported-product small { color: #8b968e; font-size: 9px; }
.imported-badge { color: var(--green); font-size: 8px; font-weight: 750; letter-spacing: .8px; }
.analytics-period { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.analytics-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 19px; }
.analytics-kpi { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.analytics-kpi strong { display: block; margin: 8px 0 3px; font: 500 27px Georgia, serif; }
.analytics-kpi small { color: #9aa39c; font-size: 10px; }
.progress-track { height: 4px; margin-top: 14px; overflow: hidden; border-radius: 3px; background: #edf1ed; }
.progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.analytics-grid { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(420px, 1.22fr); gap: 18px; align-items: start; }
.analytics-lower-grid { grid-template-columns: minmax(0, 1.16fr) minmax(320px, .84fr); margin-top: 18px; }
.analytics-panel { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; box-shadow: var(--shadow); }
.analytics-panel .section-heading { margin: 0 19px; padding-top: 19px; }
.target-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 18px 19px 19px; }
.target-form .button { grid-column: 1 / -1; justify-self: start; }
.channel-performance-list { padding: 8px 19px 15px; }
.channel-performance-row { display: grid; grid-template-columns: 1fr auto auto; gap: 15px; align-items: center; padding: 12px 0; border-bottom: 1px solid #edf0ed; color: #8a958d; font-size: 10px; }
.channel-performance-row:last-child { border-bottom: 0; }
.channel-performance-row strong { color: var(--green-dark); font-size: 10px; }
.channel-performance-name { display: flex; align-items: center; gap: 8px; color: #3f4c44; font-weight: 650; }
.channel-dot { width: 7px; height: 7px; border-radius: 50%; background: #a6b0a9; }
.channel-dot-facebook { background: #5279a5; }.channel-dot-instagram { background: #a66382; }.channel-dot-threads { background: #4e575b; }.channel-dot-whatsapp { background: #36936b; }
.analytics-list { padding-bottom: 3px; }
.analytics-list-row, .page-ranking-row { display: flex; min-width: 0; align-items: center; gap: 12px; padding: 14px 19px; border-top: 1px solid #edf0ed; }
.rank-number { width: 24px; flex: 0 0 auto; color: #a1aaa3; font: 16px Georgia, serif; }
.analytics-list-copy { min-width: 0; flex: 1; }
.analytics-list-copy strong, .analytics-list-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.analytics-list-copy strong { color: #344139; font-size: 11px; }.analytics-list-copy small { margin-top: 3px; color: var(--green); font-size: 9px; }.analytics-list-copy p { margin: 7px 0 0; overflow: hidden; color: #87928a; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.analytics-list-value, .page-ranking-value { flex: 0 0 auto; min-width: 88px; text-align: right; }.analytics-list-value strong, .page-ranking-value strong { display: block; color: var(--green-dark); font: 18px Georgia, serif; }.analytics-list-value small, .page-ranking-value small { display: block; margin-top: 2px; color: #9aa39c; font-size: 9px; }.analytics-list-value span, .page-ranking-value span { display: block; margin-top: 5px; color: #8b968e; font-size: 9px; }
.page-ranking-list { padding-bottom: 3px; }.page-ranking-row { padding-top: 15px; padding-bottom: 15px; }.page-ranking-row .analytics-list-copy small { color: #8b968e; }.analytics-note { margin: 14px 0 0; color: #9aa39c; font-size: 10px; }
.analytics-charts { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 18px; margin-top: 18px; }
.chart-panel { padding-bottom: 15px; }
.chart-panel .section-heading { padding-bottom: 15px; }
.chart-hint { color: #9aa39c; font-size: 9px; }
.chart-wrap { position: relative; height: 250px; padding: 10px 17px 0; }
.chart-wrap-large { height: 285px; }

@media (max-width: 1120px) {
  .sidebar { width: 205px; }
  .main-column { margin-left: 205px; }
  .page-content { padding-right: 24px; padding-left: 24px; }
  .workspace-grid { grid-template-columns: minmax(270px, .8fr) minmax(360px, 1.2fr); gap: 13px; }
  .compose-panel { padding: 16px; }
}

@media (max-width: 850px) {
  .sidebar { display: none; }
  .main-column { margin-left: 0; }
  .topbar { display: grid; height: 56px; grid-template-columns: 44px minmax(0, 1fr) 44px 36px; gap: 4px; padding: 0 12px; }
  .mobile-menu-toggle { display: inline-grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 5px; background: transparent; color: var(--ink); font-size: 21px; line-height: 1; cursor: pointer; }
  .mobile-page-title { display: block; min-width: 0; overflow: hidden; color: var(--ink); font-size: 16px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
  .inbox-page .topbar { grid-template-columns: 42px minmax(0, 1fr) 36px 36px 42px 36px; gap: 3px; padding: 0 8px; }
  .inbox-page .inbox-header-action { display: inline-grid; width: 34px; height: 36px; justify-self: center; border: 0; font-size: 17px; }
  .topbar-context { display: none; }
  .notification-link { position: relative; display: inline-grid; width: 42px; height: 42px; place-items: center; justify-self: center; margin: 0; padding: 0; border: 0; border-radius: 5px; background: transparent; color: #56625a; }
  .notification-bell { font-size: 19px; }
  .notification-label { display: none; }
  .notification-count { top: 2px; right: 0; }
  .account-menu { justify-self: end; }
  .topbar-user { width: 36px; height: 42px; justify-content: center; }
  .topbar-user > span:nth-of-type(2), .topbar-user .account-chevron { display: none; }
  .user-avatar-wrap, .user-initial, .user-avatar { width: 32px; height: 32px; }
  .mobile-drawer-backdrop { position: fixed; inset: 0; z-index: 40; background: rgb(15 35 29 / 36%); }
  .mobile-drawer { position: fixed; top: 10px; bottom: 10px; left: 0; z-index: 41; display: flex; width: min(66vw, 300px); flex-direction: column; overflow-y: auto; padding: 14px 12px; border-radius: 0 14px 14px 0; background: #fff; box-shadow: 14px 0 35px rgb(19 49 39 / 22%); transform: translateX(-105%); transition: transform .22s ease; }
  .mobile-nav-open .mobile-drawer { transform: translateX(0); }
  .mobile-nav-open .mobile-drawer-backdrop { display: block; }
  .mobile-drawer-heading { display: flex; align-items: center; justify-content: space-between; padding: 3px 4px 13px; border-bottom: 1px solid var(--line); }
  .mobile-drawer-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
  .mobile-drawer-brand .brand-mark { width: 35px; height: 35px; border-radius: 8px; }
  .mobile-drawer-brand strong, .mobile-drawer-brand small { display: block; }
  .mobile-drawer-brand strong { font-size: 14px; }
  .mobile-drawer-brand small { margin-top: 2px; color: var(--muted); font-size: 10px; }
  .mobile-drawer-close { border: 0; background: transparent; color: var(--muted); font-size: 26px; cursor: pointer; }
  .mobile-drawer-nav { display: grid; gap: 1px; }
  .mobile-drawer-nav a, .mobile-drawer-footer a { display: flex; min-height: 32px; align-items: center; gap: 10px; padding: 0 9px; border-radius: 7px; color: #111827; font-size: 11px; font-weight: 600; text-decoration: none; }
  .mobile-drawer-nav a:first-child, .mobile-drawer-nav a:hover, .mobile-drawer-footer a:hover { background: #e9f7f1; color: #0a9b68; }
  .mobile-drawer-nav a b { display: grid; min-width: 17px; height: 17px; margin-left: auto; place-items: center; border-radius: 50%; background: #fa6476; color: #fff; font-size: 9px; }
  .mobile-nav-icon { display: grid; width: 18px; place-items: center; color: #1f2937; font-size: 15px; font-weight: 600; line-height: 1; }
  .mobile-nav-section { margin: 13px 9px 5px; padding-top: 10px; border-top: 1px solid #edf1f4; color: #111827; font-size: 10px; font-weight: 600; }
  .mobile-connected-accounts { display: grid; gap: 1px; }
  .mobile-connected-accounts-list { max-height: 220px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #c7d3df transparent; }
  .mobile-connected-accounts a { display: flex; min-height: 42px; align-items: center; gap: 8px; padding: 3px 9px; overflow: hidden; color: #111827; font-size: 10px; text-decoration: none; }
  .mobile-connected-accounts a > .connected-account-copy { min-width: 0; flex: 1; overflow: hidden; }
  .mobile-connected-accounts .connected-account-copy small { font-size: 8px; }
  .mobile-connected-accounts .account-avatar-stack { width: 23px; height: 23px; }
  .mobile-connected-accounts .connected-account-avatar { width: 23px; height: 23px; font-size: 9px; }
  .mobile-connected-accounts .account-platform-logo { width: 10px; height: 10px; right: -3px; bottom: -2px; }
  .mobile-account-chevron { margin-left: auto; color: #74849a; font-size: 17px; }
  .mobile-drawer-footer { display: grid; gap: 1px; margin-top: auto; padding-top: 11px; border-top: 1px solid #edf1f4; }
  .page-content { padding: 10px 18px 88px; }
  .mobile-bottom-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -5px 20px rgb(19 49 39 / 8%); }
  .mobile-bottom-nav a, .mobile-bottom-menu { display: flex; align-items: center; justify-content: center; gap: 3px; border: 0; background: transparent; color: #89958e; font: 9px inherit; text-decoration: none; flex-direction: column; cursor: pointer; }
  .mobile-bottom-nav a span, .mobile-bottom-menu span { font-size: 18px; line-height: 1; }
  .mobile-bottom-nav a.is-active, .mobile-bottom-menu:hover { color: var(--green); font-weight: 700; }
  .workspace-grid { grid-template-columns: 1fr; }
  .integration-layout { grid-template-columns: 1fr; }
  .analytics-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .analytics-grid, .analytics-lower-grid { grid-template-columns: 1fr; }
  .analytics-charts { grid-template-columns: 1fr; }
  .channel-grid { grid-template-columns: 1fr; }
  .config-grid { grid-template-columns: 1fr; }
  .add-account-form { align-items: stretch; flex-direction: column; }
  .add-account-form .button { align-self: flex-start; }
  .schedule-columns { grid-template-columns: 1fr; }
  .metric { min-height: 88px; padding: 12px; }
  .imported-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .page-content { padding-right: 12px; padding-left: 12px; }
  .feed-page .page-content { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .planner-page .page-heading { align-items: center; flex-direction: row; gap: 8px; margin-bottom: 7px; }
  .planner-page .page-heading > div { min-width: 0; }
  .planner-page .page-heading .eyebrow { font-size: 8px; }
  .planner-page .page-heading h1 { font-size: 20px; }
  .planner-page .planner-create-link { min-height: 34px; flex: 0 0 auto; padding: 0 9px; font-size: 10px; }
  .planner-page .planner-toolbar { grid-template-columns: minmax(0, 1fr) 82px 38px; gap: 5px; margin-bottom: 9px; }
  .planner-page .planner-platform-picker > summary, .planner-page .planner-status-picker > summary { height: 38px; gap: 5px; padding: 0 7px; font-size: 9px; }
  .planner-page .planner-account-avatar { width: 23px; height: 23px; }
  .planner-page .planner-search input { display: none; }
  .planner-page .planner-search { justify-content: flex-end; }
  .planner-page .planner-search button { width: 36px; height: 38px; border: 1px solid #e0e6e1; border-radius: 6px; background: #fff; }
  .planner-page .planner-status-picker[open] .planner-filter-backdrop { position: fixed; inset: 0; z-index: 50; display: block; width: 100%; height: 100%; border: 0; background: rgb(24 36 29 / 34%); backdrop-filter: blur(2px); cursor: default; }
  .planner-page .planner-status-picker[open] .planner-filter-panel { position: fixed; top: auto; right: 0; bottom: 0; left: 0; z-index: 51; display: grid; width: auto; max-height: min(78vh, 520px); overflow-y: auto; padding: 10px 14px calc(16px + env(safe-area-inset-bottom)); border: 0; border-radius: 16px 16px 0 0; background: #fff; box-shadow: 0 -10px 34px rgb(20 34 26 / 18%); }
  .planner-page .planner-status-picker[open] .planner-filter-backdrop { background: rgb(19 38 28 / 46%); backdrop-filter: blur(2px); }
  .planner-page .planner-sheet-handle { display: none; }
  .planner-page .planner-filter-panel-heading { position: sticky; top: 0; grid-template-columns: 1fr auto 1fr; padding: 0 0 8px; background: #fff; }
  .planner-page .planner-filter-panel-heading strong { font-size: 13px; }
  .planner-page .planner-filter-panel-heading button { min-width: 48px; min-height: 34px; justify-self: end; border: 0; background: transparent; color: #2874b8; font-size: 10px; }
  .planner-page .planner-filter-panel > label { min-height: 34px; gap: 8px; padding: 0 8px; border: 0; border-bottom: 1px solid #deebf7; background: #edf6ff; }
  .planner-page .planner-filter-panel > label:first-of-type { border-radius: 5px 5px 0 0; }
  .planner-page .planner-filter-panel > label:last-of-type { border-radius: 0 0 5px 5px; }
  .planner-page .planner-status-name { font-size: 10px; }
  .planner-page .planner-checkbox { width: 17px; height: 17px; border: 1px solid #a6bfd4; border-radius: 3px; background: #fff; }
  .planner-page .planner-filter-panel > label input:checked + .planner-checkbox { border-color: #3988c8; background: #3988c8; }
  .planner-page .planner-checkbox { width: 20px; height: 20px; border-radius: 5px; }
  .planner-page .planner-posts-list { gap: 7px; }
  .planner-page .planner-post-card { grid-template-columns: 72px minmax(0, 1fr); gap: 8px; padding: 8px; }
  .planner-page .planner-post-media { min-height: 0; }
  .planner-page .planner-post-meta > span { font-size: 8px; }
  .planner-page .planner-post-title-row h2 { font-size: 10px; }
  .planner-page .planner-post-copy { font-size: 9px; }
  .planner-page .planner-edit-product { margin-top: 8px; border-radius: 8px; }
  .planner-page .planner-edit-product > summary { min-height: 36px; padding: 0 9px; font-size: 10px; }
  .planner-page .planner-edit-product > form { gap: 7px; padding: 9px; }
  .planner-page .planner-edit-product > form > label { font-size: 9px; }
  .planner-page .planner-edit-product > form > input:not([type="checkbox"]), .planner-page .planner-edit-product > form > textarea { min-height: 34px; padding: 7px 8px; font-size: 10px; }
  .planner-page .planner-edit-product > form > textarea { min-height: 86px; }
  .planner-page .planner-edit-product > form > fieldset { padding: 7px 8px 8px; }
  .planner-page .planner-edit-product > form > fieldset > legend { font-size: 9px; }
  .planner-page .planner-edit-product > form > fieldset:not(.planner-platform-variants) > label { min-height: 27px; font-size: 9px; }
  .planner-page .planner-edit-product .planner-platform-variants { padding: 9px; }
  .planner-page .planner-edit-product .planner-platform-variants legend { font-size: 11px; }
  .planner-page .planner-edit-product .planner-platform-variants legend span { font-size: 9px; }
  .planner-page .planner-edit-product .planner-retry { width: 100%; min-height: 36px; }
  .planner-page .planner-post-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; width: 100%; gap: 4px 8px; }
  .planner-page .planner-post-actions form { margin-left: 0; justify-self: end; }
  .planner-page .planner-post-actions .post-preview { grid-column: 1 / -1; width: 100%; }
  .planner-page .planner-comment-composer { grid-column: 1 / -1; justify-self: center; width: 100%; }
  .planner-page .planner-comment-composer > form { position: static; width: 100%; max-width: 100%; box-sizing: border-box; transform: none; }
  .planner-page .planner-comment-composer textarea, .planner-page .planner-comment-composer fieldset { box-sizing: border-box; width: 100%; max-width: 100%; }
  .planner-page .planner-comment-submit { justify-self: center; min-width: 132px; }
  .planner-page .planner-post-actions .delivery-log-list { position: static; width: 100%; max-height: none; overflow: visible; margin-top: 4px; padding: 6px 0 0; border: 0; border-top: 1px solid #edf0ed; border-radius: 0; background: transparent; box-shadow: none; }
  .planner-page .delivery-log-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; padding: 8px; }
  .planner-page .delivery-log-topline { grid-column: 1 / -1; }
  .planner-page .delivery-log-id { grid-column: 1 / -1; }
  .planner-page .delivery-log-row > * { min-width: 0; overflow-wrap: anywhere; }
  .planner-page .delivery-log-row p { grid-column: 1 / -1; }
  .planner-page .planner-floating-create { position: fixed; right: 17px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 29; display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: var(--green); box-shadow: 0 3px 12px rgb(26 43 34 / 24%); color: #fff; font-size: 26px; line-height: 1; text-decoration: none; }
  .topbar { height: 52px; grid-template-columns: 42px minmax(0, 1fr) 42px 34px; gap: 3px; padding: 0 8px; }
  .mobile-page-title { font-size: 15px; }
  .notification-link { width: 40px; height: 40px; }
  .topbar-user { width: 34px; }
  .inbox-page .page-heading { display: none; }
  .inbox-page .inbox-filter-bar { grid-template-columns: minmax(0, 1.15fr) minmax(0, .8fr) 38px; gap: 5px; margin-bottom: 9px; }
  .inbox-page .inbox-filter-bar select { height: 38px; padding-right: 24px; padding-left: 8px; font-size: 10px; }
  .inbox-page .inbox-filter-bar button { height: 38px; }
  .inbox-page .unified-inbox-list { gap: 7px; }
  .inbox-page .unified-inbox-row { gap: 8px; padding: 11px 9px 8px; }
  .inbox-page .unified-inbox-avatar { width: 36px; height: 36px; }
  .inbox-page .unified-inbox-heading { flex-wrap: wrap; gap: 4px; }
  .inbox-page .unified-inbox-heading strong { max-width: 100%; font-size: 11px; }
  .inbox-page .unified-inbox-heading small { margin-left: 0; }
  .inbox-page .unified-inbox-copy p { margin-top: 5px; font-size: 11px; line-height: 1.35; }
  /* Keep a small, even breathing space around the feed on narrow screens. */
  .fb-feed-shell { margin: -13px -8px 0; }
  .fb-feed-main { min-width: 0; }
  .fb-feed-topbar { min-height: 8px; margin: 0; padding: 0 12px; }
  .fb-composer, .fb-stories, .fb-post, .fb-empty { margin-bottom: 9px; border-right: 0; border-left: 0; border-radius: 0; }
  .fb-composer { gap: 8px; padding: 10px 12px; }
  .fb-full-composer { padding: 12px; }
  .fb-compose-grid { grid-template-columns: 1fr; }
  .fb-compose-footer { align-items: stretch; flex-wrap: wrap; }
  .fb-compose-footer .fb-compose-label { width: 100%; }
  .fb-compose-footer input { min-width: 0; }
  .fb-compose-submit { flex: 0 0 auto; }
  .fb-composer-input { min-width: 0; overflow: hidden; padding-right: 10px; padding-left: 10px; text-overflow: ellipsis; white-space: nowrap; }
  .fb-composer-actions { padding-top: 9px; font-size: 10px; }
  .feed-mobile-workspace-nav { display: flex; gap: 5px; margin: 0 -12px 9px; padding: 5px 12px; overflow-x: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; scrollbar-width: none; }
  .feed-mobile-workspace-nav::-webkit-scrollbar { display: none; }
  .feed-mobile-workspace-nav a { flex: 0 0 auto; padding: 7px 9px; border-radius: 6px; color: #58635c; font-size: 10px; text-decoration: none; white-space: nowrap; }
  .feed-mobile-workspace-nav a.is-active { background: var(--green-wash); color: var(--green-dark); font-weight: 700; }
  .feed-mobile-workspace-nav a span { display: inline-grid; min-width: 16px; height: 16px; margin-left: 3px; place-items: center; border-radius: 50%; background: #f7e3d8; color: #9c4e2c; font-size: 9px; }
  .fb-stories { padding: 10px 12px; scrollbar-width: none; }
  .fb-stories::-webkit-scrollbar { display: none; }
  .fb-post-header { padding: 11px 12px; }
  .fb-post-header div { min-width: 0; }
  .fb-post-header div strong, .fb-post-header div small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .fb-post-message { padding-right: 12px; padding-left: 12px; }
  .fb-post-actions { padding-right: 12px; padding-left: 12px; }
  .fb-post-actions a { min-height: 38px; gap: 6px; flex: 1; }
  .page-heading { align-items: flex-start; flex-direction: column; margin-bottom: 19px; }
  h1 { font-size: 27px; }
  .metric-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .field-row { flex-direction: column; }
  .integration-actions { align-items: stretch; flex-direction: column; }
  .integration-actions .button { width: 100%; }
  .preview-toolbar { align-items: flex-start; flex-direction: column; }
  .product-preview-row { padding-right: 12px; padding-left: 12px; }
  .imported-grid { grid-template-columns: 1fr; padding-right: 12px; padding-left: 12px; }
  .analytics-period { align-self: stretch; justify-content: center; }
  .analytics-kpis { grid-template-columns: 1fr 1fr; gap: 8px; }
  .analytics-kpi { padding: 13px; }
  .chart-wrap, .chart-wrap-large { height: 220px; padding-right: 10px; padding-left: 10px; }
  .channel-performance-row { grid-template-columns: 1fr auto; gap: 8px; }
  .channel-performance-row strong { grid-column: 1 / -1; }
  .schedule-fields { align-items: stretch; }
  .schedule-summary { gap: 12px; padding: 10px; }
  .schedule-summary-number { min-width: auto; padding-left: 11px; }
  .inbox-toolbar { align-items: flex-start; flex-direction: column; gap: 0; padding: 0 9px 9px; }
  .inbox-status-filters { gap: 0; padding: 5px 0; }
  .platform-filter { width: 100%; padding: 0; }
  .platform-filter select { flex: 1; }
  .comment-item { gap: 8px; padding: 12px 10px; }
  .comment-item > .status-pill { display: none; }
  .comment-heading { align-items: flex-start; flex-direction: column; gap: 4px; }
  .reply-form { align-items: stretch; flex-direction: column; }
  .reply-form .button { align-self: flex-end; }
  .page-footer { padding-right: 14px; padding-left: 14px; }
  .page-list-panel { padding-top: 16px; }
  .section-heading-list { margin: 0 16px; }
  .section-heading-list .result-count { max-width: 45%; text-align: right; }
.page-table-wrap { overflow-x: visible; }
  .page-table, .page-table tbody, .page-table tr, .page-table td { display: block; }
  .page-table thead { display: none; }
  .page-table tr { padding: 10px 16px; border-top: 1px solid #edf0ed; }
  .page-table tr:first-child { border-top: 0; }
  .page-table td { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 6px 0; border-top: 0; white-space: normal; text-align: right; }
  .page-table td::before { content: attr(data-label); color: #9aa39c; font-size: 9px; font-weight: 650; text-transform: uppercase; text-align: left; }
  .page-table td:first-child { display: flex !important; padding-bottom: 9px; color: var(--ink); text-align: left; }
  .page-table td:first-child::before { display: none; }
  .table-note { padding: 12px 16px 16px; line-height: 1.45; }
}

  /* Comments inbox */
  .comments-page .page-content { width: min(1100px, 100%); }
  .comments-page .page-heading { align-items: center; margin-bottom: 12px; }
  .comments-page .page-heading h1 { margin-bottom: 3px; font-size: 26px; }
  .comments-page .comments-summary { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
  .comments-page .comments-stats { display: flex; min-width: 0; align-items: center; gap: 0; }
  .comments-page .comments-stat { display: flex; min-width: 78px; align-items: baseline; gap: 7px; padding: 3px 14px; border-right: 1px solid var(--line); }
  .comments-page .comments-stat:first-child { padding-left: 2px; }
  .comments-page .comments-stat:last-child { border-right: 0; }
  .comments-page .comments-stat strong { color: var(--ink); font: 18px Georgia, serif; }
  .comments-page .comments-stat span { color: var(--muted); font-size: 10px; }
  .comments-page .sync-comments-form { flex: 0 0 auto; margin: 0; }
  .comments-page .sync-comments-form .button { min-height: 36px; }
  .comments-page .sync-comments-form .button span { font-size: 16px; line-height: 1; }
  .comments-page .button:disabled { cursor: wait; opacity: .65; }
  .comments-page .inbox-toolbar { min-width: 0; align-items: center; gap: 8px; margin-bottom: 7px; border: 0; background: transparent; }
  .comments-page .inbox-status-filters { min-width: 0; gap: 2px; padding: 0; overflow-x: auto; scrollbar-width: none; }
  .comments-page .inbox-status-filters::-webkit-scrollbar { display: none; }
  .comments-page .filter-link { min-height: 36px; flex: 0 0 auto; gap: 5px; padding: 0 10px; border: 1px solid transparent; border-radius: 5px; font-size: 11px; white-space: nowrap; }
  .comments-page .filter-link.is-selected { border-color: #cfe2d5; background: #fff; }
  .comments-page .filter-link span { font-size: 10px; }
  .comments-page .comment-filter { position: relative; flex: 0 0 auto; }
  .comments-page .comment-filter > summary { display: flex; min-height: 36px; align-items: center; gap: 6px; padding: 0 10px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: #526057; font-size: 11px; font-weight: 600; cursor: pointer; list-style: none; }
  .comments-page .comment-filter > summary::-webkit-details-marker { display: none; }
  .comments-page .comment-filter > summary span:first-child { color: var(--green); font-size: 14px; }
  .comments-page .platform-filter { position: absolute; top: calc(100% + 6px); right: 0; z-index: 10; display: grid; width: min(260px, calc(100vw - 32px)); gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: 0 8px 22px rgb(26 43 34 / 12%); }
  .comments-page .platform-filter label { color: var(--muted); font-size: 10px; font-weight: 650; }
  .comments-page .platform-filter select { width: 100%; min-height: 38px; padding: 6px 8px; border: 1px solid #d9e1db; border-radius: 4px; background: #fff; color: var(--ink); font-size: 12px; }
  .comments-page .platform-filter .button { min-height: 36px; }
  .comments-page .comment-list { gap: 0; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
  .comments-page .comment-item { min-width: 0; gap: 8px; padding: 9px 0; border-bottom: 1px solid #edf0ee; }
  .comments-page .comment-item:last-child { border-bottom: 0; }
  .comments-page .comment-avatar { width: 32px; height: 32px; }
  .comments-page .comment-content { min-width: 0; padding: 0; }
  .comments-page .comment-heading { align-items: center; flex-direction: row; justify-content: space-between; gap: 5px; }
  .comments-page .comment-heading > div { min-width: 0; gap: 4px; }
  .comments-page .comment-heading strong { font-size: 11px; }
  .comments-page .comment-heading time { flex: 0 0 auto; padding-top: 0; font-size: 9px; }
  .comments-page .comment-message { margin: 3px 0 4px; color: #344139; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
  .comments-page .visitor-profile-link { display: inline-grid; width: 18px; min-height: 18px; height: 18px; flex: 0 0 auto; place-items: center; margin: 0; padding: 0; color: var(--green-dark); font-size: 11px; }
  .comments-page .visitor-id, .comments-page .comment-author > .status-pill { display: none; }
  .comments-page .status-pill { min-height: 19px; padding: 0 6px; font-size: 9px; }
  .comments-page .comment-actions { min-height: 30px; align-items: center; gap: 13px; margin: 0; }
  .comments-page .comment-react-form .comment-action, .comments-page .comment-action.is-reacted { width: 32px; height: 32px; }
  .comments-page .comment-action { min-width: 32px; min-height: 32px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
  .comments-page .comment-react-form button { border-radius: 4px; }
  .comments-page .comment-reply-count { font-size: 10px; }
  .comments-page .reply-disclosure { margin: 0; }
  .comments-page .reply-disclosure > summary { width: fit-content; min-width: 32px; min-height: 32px; justify-content: flex-start; color: var(--green-dark); cursor: pointer; list-style: none; }
  .comments-page .reply-disclosure[open] { flex: 0 0 100%; }
  .comments-page .reply-disclosure > summary::-webkit-details-marker { display: none; }
  .comments-page .reply-disclosure > summary { gap: 5px; }
  .comments-page .reply-form { align-items: flex-end; margin: 4px 0 0; }
  .comments-page .reply-form textarea { min-height: 42px; border: 1px solid #dce4de; border-radius: 5px; background: #fbfcfb; font-size: 13px; }
  .comments-page .reply-form .button { min-height: 40px; white-space: nowrap; }
  .comments-page .reply-form .button:disabled { opacity: .7; }
  .comments-page .field-help { margin: 5px 0 0; font-size: 10px; }
  .comments-page .existing-reply { margin: 8px 0; padding: 8px 10px; }
  .comments-page .empty-state { min-height: 150px; }

  @media (max-width: 850px) {
    .comments-page .sidebar { display: none; }
    .comments-page .topbar { gap: 8px; }
    .comments-page .topbar-context.is-comments-context { position: static; margin: 0 auto 0 2px; color: var(--ink); font-size: 13px; font-weight: 700; transform: none; }
    .comments-page .page-content { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
    .comments-page .mobile-bottom-nav { height: calc(64px + env(safe-area-inset-bottom)); }
  }

  @media (max-width: 560px) {
    .comments-page .page-heading { margin-bottom: 10px; }
    .comments-page .page-heading h1 { margin-top: 3px; font-size: 23px; }
    .comments-page .eyebrow { font-size: 8px; }
    .comments-page .page-subtitle { font-size: 11px; }
    .comments-page .comments-summary { min-height: 52px; gap: 6px; margin-bottom: 8px; padding: 5px 8px; }
    .comments-page .comments-stats { flex: 1; justify-content: space-between; }
    .comments-page .comments-stat { min-width: 0; gap: 4px; padding: 3px 7px; }
    .comments-page .comments-stat:first-child { padding-left: 0; }
    .comments-page .comments-stat strong { font-size: 16px; }
    .comments-page .comments-stat span { font-size: 9px; }
    .comments-page .sync-comments-form .button { min-height: 38px; gap: 4px; padding: 0 8px; font-size: 10px; }
    .comments-page .sync-comments-form .button span { font-size: 15px; }
    .comments-page .inbox-toolbar { gap: 4px; margin-bottom: 5px; }
    .comments-page .inbox-status-filters { flex: 1; }
    .comments-page .filter-link { min-height: 38px; gap: 3px; padding: 0 7px; font-size: 10px; }
    .comments-page .filter-link span { font-size: 9px; }
    .comments-page .comment-filter > summary { min-height: 38px; gap: 4px; padding: 0 8px; font-size: 10px; }
    .comments-page .comment-list { padding: 0 10px; }
    .comments-page .comment-item { gap: 8px; padding: 11px 0; }
    .comments-page .comment-avatar { width: 34px; height: 34px; }
    .comments-page .comment-heading { gap: 3px; flex-direction: column; }
    .comments-page .comment-heading > div { gap: 5px; }
    .comments-page .comment-heading time { padding: 0; font-size: 9px; }
    .comments-page .comment-message { font-size: 12px; }
    .comments-page .topbar-user > span:nth-of-type(2), .comments-page .topbar-user .account-chevron { display: none; }
    .comments-page .reply-form { align-items: stretch; flex-direction: column; }
    .comments-page .reply-form .button { align-self: flex-end; min-height: 42px; }
    .comments-page .mobile-bottom-nav a, .comments-page .mobile-bottom-menu { min-width: 0; font-size: 10px; }
  }

/* Final composer overflow/readability overrides */
.fb-composer-modal { overflow: auto; align-items: flex-start; }
.fb-advanced-panel { height: calc(100vh - 20px); max-height: calc(100vh - 20px); overflow-y: auto; scrollbar-gutter: stable; }
.fb-create-form { font-size: 13px; }
.fb-editor-section h4 { font-size: 12px; }.fb-account-select strong { font-size: 13px; }.fb-account-select small, .fb-field-help, .fb-platform-note { font-size: 11px; }
.fb-editor-section > textarea { min-height: 100px; padding: 12px; font-size: 14px; line-height: 1.45; }.fb-caption-tools button { font-size: 11px; }.fb-caption-tools small { font-size: 10px; }
.fb-create-platforms.fb-platform-options .fb-platform-option { min-height: 54px; font-size: 12px; }.fb-create-platforms.fb-platform-options .fb-platform-option > img { width: 25px !important; height: 25px !important; min-width: 25px; max-width: 25px; flex-basis: 25px; }.fb-platform-option small { font-size: 9px; }
.fb-ai-heading strong { font-size: 14px; }.fb-ai-heading small { font-size: 11px; }.fb-ai-drafts b { font-size: 11px; }.fb-ai-drafts textarea { min-height: 66px; font-size: 12px; }.fb-ai-status { font-size: 11px; }
.fb-create-footer { position: sticky; bottom: 0; margin: 0 -20px 0; }
.fb-create-preview { position: sticky; top: 0; height: calc(100vh - 20px); max-height: calc(100vh - 20px); overflow-y: auto; }
@media (max-width: 900px) { .fb-composer-modal { padding: 8px; }.fb-advanced-panel { width: 100%; height: calc(100vh - 16px); max-height: calc(100vh - 16px); }.fb-create-preview { display: none; }.fb-create-form { padding: 15px 16px 76px; }.fb-create-footer { margin-right: -16px; margin-left: -16px; padding-right: 16px; padding-left: 16px; } }
@media (max-width: 520px) { .fb-composer-modal { padding: 0; }.fb-advanced-panel { flex: 0 0 100%; width: 100%; min-width: 0; min-height: 100vh; height: 100vh; max-height: none; border-radius: 0; }.fb-create-header { height: 58px; padding: 0 12px; }.fb-create-form { gap: 16px; padding: 14px 12px 40px; font-size: 14px; }.fb-editor-section h4 { font-size: 13px; }.fb-media-row { grid-template-columns: 1fr; }.fb-create-platforms.fb-platform-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }.fb-create-platforms.fb-platform-options .fb-platform-option { min-height: 52px; padding: 8px; font-size: 12px; }.fb-ai-heading { align-items: flex-start; flex-wrap: wrap; }.fb-ai-heading > span { min-width: 0; flex: 1 1 100%; }.fb-ai-tone { order: 2; }.fb-ai-heading button { order: 3; }.fb-ai-drafts { grid-template-columns: 1fr; }.fb-create-footer { gap: 6px; margin-right: -12px; margin-left: -12px; padding: 9px 12px; }.fb-create-footer button { flex: 1; min-width: 0; min-height: 42px; padding: 0 5px; font-size: 10px; line-height: 1.15; white-space: normal; }.fb-create-footer .fb-publish-button { flex: 1.2; }.fb-create-footer input:not([type="checkbox"]) { order: 4; width: 100%; } }

/* Reference composer arrangement: five destinations, two wrapped destinations,
   four caption cards, and one compact action row. */
.fb-create-platforms.fb-platform-options { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.fb-create-platforms.fb-platform-options .fb-platform-option { min-height: 37px; padding: 5px 7px; font-size: 10px; }
.fb-create-platforms.fb-platform-options .fb-platform-option:nth-child(4) { grid-column: 2; grid-row: 2; }
.fb-create-platforms.fb-platform-options .fb-platform-option:nth-child(5) { grid-column: 4; grid-row: 1; }
.fb-create-platforms.fb-platform-options .fb-platform-option:nth-child(6) { grid-column: 5; grid-row: 1; }
.fb-create-platforms.fb-platform-options .fb-platform-option:nth-child(7) { grid-column: 1; grid-row: 2; }
.fb-ai-drafts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.fb-ai-drafts textarea { min-height: 55px; padding: 6px; font-size: 10px; }
.fb-create-footer { position: sticky; display: flex; align-items: center; gap: 7px; margin: 0 -20px; padding: 8px 20px; }
.fb-create-footer .fb-create-setting { min-width: 0; flex: 1 1 auto; padding: 0; }
.fb-create-footer .fb-setting-copy strong { font-size: 12px; }.fb-create-footer .fb-setting-icon svg { display: block; width: 100%; height: 100%; }
.fb-create-footer .fb-create-setting > input { order: 1; width: 16px; height: 16px; flex: 0 0 16px; accent-color: #1877f2; }.fb-create-footer .fb-setting-icon { order: 2; width: 19px; height: 19px; flex-basis: 19px; border: 1px solid #829089; border-radius: 3px; color: #27342e; background: #fff; font-size: 14px; }.fb-create-footer .fb-setting-copy { order: 3; flex: 0 1 auto; }.fb-create-footer .fb-setting-info { order: 4; display: grid; width: 15px; height: 15px; flex: 0 0 15px; place-items: center; border: 1px solid #89958d; border-radius: 50%; color: #68756d; font: 700 10px/1 Arial, sans-serif; }
.fb-create-footer .fb-setting-copy small { font-size: 9px; }
.fb-create-footer .fb-setting-icon { width: 22px; height: 22px; flex-basis: 22px; border: 0; background: transparent; font-size: 20px; }
.fb-create-footer input[type="datetime-local"] { display: block; width: 178px; min-height: 32px; padding: 5px 7px; border: 1px solid #dfe7e2; border-radius: 6px; background: #fff; color: #59675f; font-size: 10px; }
.fb-create-footer button { min-height: 32px; padding: 0 10px; white-space: nowrap; }
@media (max-width: 700px) and (min-width: 521px) { .fb-create-platforms.fb-platform-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }.fb-create-platforms.fb-platform-options .fb-platform-option:nth-child(4), .fb-create-platforms.fb-platform-options .fb-platform-option:nth-child(5), .fb-create-platforms.fb-platform-options .fb-platform-option:nth-child(6), .fb-create-platforms.fb-platform-options .fb-platform-option:nth-child(7) { grid-column: auto; grid-row: auto; }.fb-ai-drafts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fb-create-platforms.fb-platform-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }.fb-create-platforms.fb-platform-options .fb-platform-option:nth-child(4), .fb-create-platforms.fb-platform-options .fb-platform-option:nth-child(5), .fb-create-platforms.fb-platform-options .fb-platform-option:nth-child(6), .fb-create-platforms.fb-platform-options .fb-platform-option:nth-child(7) { grid-column: auto; grid-row: auto; }.fb-ai-drafts { grid-template-columns: 1fr; }.fb-create-footer { flex-wrap: wrap; align-items: center; gap: 6px; margin-right: -12px; margin-left: -12px; padding: 8px 12px; }.fb-create-footer .fb-create-setting { flex: 1 1 100%; }.fb-create-footer input[type="datetime-local"] { width: 100%; flex: 1 1 100%; }.fb-create-footer button { flex: 1; min-width: 0; } }

/* Show one spacious AI draft at a time so each platform can be swiped through. */
.fb-ai-drafts { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.fb-ai-drafts label { box-sizing: border-box; flex: 0 0 100%; min-height: 230px; scroll-snap-align: start; }
.fb-ai-drafts textarea { min-height: 175px; resize: vertical; }
.fb-ai-drafts b { display: flex; align-items: center; gap: 6px; }
.fb-ai-drafts b img { display: block; width: 24px !important; height: 24px !important; min-width: 24px; max-width: 24px; border-radius: 50%; object-fit: cover; }
.fb-preview-tabs { max-width: 100%; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.fb-preview-tabs button { flex: 0 0 auto; white-space: nowrap; }

/* Comments dashboard redesign */
.comments-page { --comments-ink: #142238; --comments-green: #078747; --comments-line: #e2e8f0; --comments-muted: #64748b; --comments-soft: #f7faf8; }
.comments-page .page-content { width: min(1180px, 100%); padding-top: 25px; }
.comments-page .comments-page-shell { max-width: 1080px; margin: 0 auto; }
.comments-page .comments-page-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.comments-page .comments-title-group { display: flex; align-items: center; gap: 12px; }
.comments-page .comments-title-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: #e9f8ef; color: var(--comments-green); font-size: 28px; line-height: 1; }
.comments-page h1 { margin: 2px 0 4px; color: var(--comments-ink); font: 700 25px/1.2 "Segoe UI", Tahoma, sans-serif; }
.comments-page .page-subtitle { color: var(--comments-muted); font-size: 11px; }
.comments-page .sync-comments-button { min-height: 38px; border-radius: 8px; box-shadow: 0 3px 8px rgb(7 135 71 / 15%); }
.comments-page .sync-comments-button.is-loading span:first-child { display: inline-block; animation: comments-spin .8s linear infinite; }
@keyframes comments-spin { to { transform: rotate(360deg); } }
.comments-page .comments-channel-tabs { display: flex; gap: 7px; overflow-x: auto; padding: 3px 1px 9px; scrollbar-width: thin; }
.comments-page .comments-channel-tab { display: inline-flex; min-width: max-content; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid var(--comments-line); border-radius: 9px; background: #fff; color: #475569; font-size: 10px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.comments-page .comments-channel-tab:hover, .comments-page .comments-channel-tab.is-selected { border-color: #a9d9bb; background: #f0faf4; color: var(--comments-green); }
.comments-page .comments-channel-tab b { display: grid; min-width: 18px; height: 18px; place-items: center; border-radius: 9px; background: #eef2f5; color: #64748b; font-size: 9px; }
.comments-page .comments-channel-tab.is-selected b { background: #d7f1e0; color: var(--comments-green); }
.comments-page .channel-tab-icon { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 6px; font: 700 12px/1 Arial, sans-serif; }
.comments-page .channel-tab-icon.all { background: #e8f8ef; color: var(--comments-green); }.comments-page .channel-tab-icon.facebook { background: #e9f1ff; color: #1877f2; }.comments-page .channel-tab-icon.instagram { background: #faeaf1; color: #cf3d78; }.comments-page .channel-tab-icon.threads { background: #edf0f2; color: #1f2937; }.comments-page .channel-tab-icon.tiktok { background: #eef2f4; color: #111827; }.comments-page .channel-tab-icon.youtube { background: #feecec; color: #ef2222; }.comments-page .channel-tab-icon.x { background: #181818; }.comments-page .channel-tab-icon.x img { display: block; width: 13px; height: 13px; border-radius: 50%; object-fit: cover; }
.comments-page .comments-status-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 4px 0 13px; }
.comments-page .comments-status-card { display: flex; min-height: 62px; flex-direction: column; justify-content: center; gap: 3px; padding: 9px 15px; border: 1px solid var(--comments-line); border-radius: 9px; background: #fff; color: var(--comments-muted); text-decoration: none; }
.comments-page .comments-status-card:hover, .comments-page .comments-status-card.is-selected { border-color: #a9d9bb; box-shadow: 0 2px 8px rgb(7 135 71 / 7%); }
.comments-page .comments-status-card strong { color: var(--comments-ink); font-size: 19px; line-height: 1; }.comments-page .comments-status-card span { display: flex; align-items: center; gap: 5px; font-size: 10px; }.comments-page .comments-status-card i { width: 6px; height: 6px; border-radius: 50%; background: #2563eb; }.comments-page .status-replied i { background: #078747; }.comments-page .status-hidden i { background: #64748b; }.comments-page .status-all i { display: none; }
.comments-page .comments-toolbar { display: flex; align-items: center; gap: 8px; margin: 4px 0 12px; }.comments-page .comments-search { display: flex; min-height: 38px; align-items: center; gap: 8px; min-width: 0; flex: 1; padding: 0 12px; border: 1px solid var(--comments-line); border-radius: 8px; background: #fff; color: #94a3b8; }.comments-page .comments-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--comments-ink); font: inherit; font-size: 11px; }.comments-page .comments-search:focus-within { border-color: #75bd92; box-shadow: 0 0 0 3px rgb(7 135 71 / 10%); }.comments-page .comments-select { display: flex; min-height: 38px; align-items: center; gap: 5px; padding: 0 8px 0 11px; border: 1px solid var(--comments-line); border-radius: 8px; background: #fff; color: #64748b; }.comments-page .comments-select select { border: 0; outline: 0; background: #fff; color: #475569; font: inherit; font-size: 10px; }.comments-page .comments-filter-submit { min-height: 38px; padding: 0 13px; }.comments-page .comments-card-list { gap: 9px; }.comments-page .redesigned-comment-item { padding: 15px 17px 13px; border-color: var(--comments-line); border-radius: 10px; box-shadow: 0 2px 9px rgb(20 34 56 / 4%); }.comments-page .redesigned-comment-item:hover { border-color: #c4e1cf; }.comments-page .redesigned-comment-heading { align-items: flex-start; }.comments-page .redesigned-comment-heading .comment-author { min-width: 0; }.comments-page .comment-context { overflow: hidden; max-width: 250px; color: #94a3b8; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }.comments-page .comment-heading-meta { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }.comments-page .comment-heading-meta time { color: #94a3b8; font-size: 9px; white-space: nowrap; }.comments-page .redesigned-comment-message { margin: 11px 0 12px; padding: 10px 12px; border-radius: 7px; background: #f5f8fa; color: #334155; font-size: 12px; }.comments-page .redesigned-comment-actions { align-items: center; gap: 16px; margin-bottom: 0; }.comments-page .redesigned-comment-actions .comment-action { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; color: #526174; font-size: 10px; }.comments-page .redesigned-comment-actions .comment-action:hover { color: var(--comments-green); }.comments-page .comment-action-muted { cursor: default; color: #94a3b8 !important; }.comments-page .comment-menu { position: relative; }.comments-page .comment-menu summary { display: grid; width: 24px; height: 25px; place-items: center; border-radius: 5px; color: #64748b; font-size: 16px; line-height: 1; cursor: pointer; list-style: none; }.comments-page .comment-menu summary::-webkit-details-marker { display: none; }.comments-page .comment-menu[open] summary, .comments-page .comment-menu summary:hover { background: #f1f5f9; }.comments-page .comment-menu-popover { position: absolute; top: 28px; right: 0; z-index: 4; display: grid; min-width: 130px; gap: 2px; padding: 5px; border: 1px solid var(--comments-line); border-radius: 7px; background: #fff; box-shadow: 0 7px 18px rgb(20 34 56 / 12%); }.comments-page .comment-menu-popover a, .comments-page .comment-menu-popover span { padding: 7px 8px; color: #475569; font-size: 10px; text-decoration: none; white-space: nowrap; }.comments-page .comment-menu-popover a:hover { background: #f1f8f4; color: var(--comments-green); }.comments-page .comments-empty-state { padding: 42px 20px; border: 1px dashed var(--comments-line); border-radius: 10px; background: #fff; }.comments-page .flash-warning { position: relative; padding-right: 38px; border-color: #f1d38a; background: #fff8e8; color: #785515; }.comments-page .flash-dismiss { position: absolute; top: 7px; right: 10px; border: 0; background: transparent; color: inherit; font-size: 17px; cursor: pointer; }
@media (max-width: 680px) { .comments-page .page-content { padding: 16px 12px 76px; }.comments-page .comments-page-header { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 13px; }.comments-page .comments-title-icon { width: 36px; height: 36px; border-radius: 10px; font-size: 24px; }.comments-page h1 { font-size: 21px; }.comments-page .sync-comments-form, .comments-page .sync-comments-button { width: 100%; }.comments-page .comments-status-grid { gap: 5px; }.comments-page .comments-status-card { min-height: 57px; padding: 8px; }.comments-page .comments-status-card strong { font-size: 16px; }.comments-page .comments-status-card span { font-size: 9px; }.comments-page .comments-toolbar { flex-wrap: wrap; }.comments-page .comments-search { flex: 1 1 100%; }.comments-page .comments-select, .comments-page .comments-filter-submit { flex: 1; justify-content: center; }.comments-page .redesigned-comment-item { padding: 12px; }.comments-page .redesigned-comment-heading { gap: 8px; }.comments-page .comment-heading-meta time { display: none; }.comments-page .comment-context { display: block; flex-basis: 100%; max-width: 100%; margin-top: 2px; }.comments-page .redesigned-comment-actions { flex-wrap: wrap; gap: 7px 14px; }.comments-page .reply-disclosure { flex-basis: 100%; }.comments-page .reply-disclosure[open] { padding-top: 5px; }.comments-page .reply-form { display: grid; gap: 7px; width: 100%; }.comments-page .reply-form textarea { width: 100%; box-sizing: border-box; }.comments-page .comment-menu-popover { right: -5px; } }

/* Social accounts integration dashboard */
.channels-page { --channels-ink: #172033; --channels-muted: #64748b; --channels-border: #e2e8f0; --channels-green: #07864b; --channels-green-soft: #eaf7ef; }
.channels-page .main-column { display: block; min-height: 100vh; }
.channels-page .topbar { flex: 0 0 58px; }
.channels-page .page-content { min-height: calc(100vh - 58px); }
.channels-page .sidebar { position: fixed; top: 0; height: 100vh; }
.channels-page .page-content { width: min(1480px, 100%); padding-top: 22px; }
.channels-page .page-heading { align-items: center; margin-bottom: 16px; }
.channels-page .page-heading .eyebrow { color: var(--channels-muted); }
.channels-page .page-heading h1 { margin: 2px 0 4px; color: var(--channels-ink); font: 700 25px/1.2 "Segoe UI", Tahoma, sans-serif; }
.channels-page .page-subtitle { color: var(--channels-muted); font-size: 11px; }
.channels-page .channel-heading-actions { gap: 8px; }
.channels-page .channel-count { color: var(--channels-muted); font-size: 10px; }
.channels-page .channel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "facebook instagram threads" "whatsapp youtube telegram" "x x x"; gap: 10px; align-items: stretch; }
.channels-page .channel-card { display: flex; min-height: 180px; flex-direction: column; gap: 11px; padding: 13px; border: 1px solid var(--channels-border); border-radius: 11px; background: #fff; box-shadow: 0 2px 8px rgb(23 32 51 / 4%); }
.channels-page .channel-card-facebook { grid-area: facebook; }
.channels-page .channel-card-instagram { grid-area: instagram; }
.channels-page .channel-card-threads { grid-area: threads; }
.channels-page .channel-card-whatsapp { grid-area: whatsapp; }
.channels-page .channel-card-youtube { grid-area: youtube; }
.channels-page .channel-card-telegram { grid-area: telegram; }
.channels-page .channel-card-x { grid-area: auto; }
.channels-page .channel-card.is-connected { border-color: var(--channels-border); }
.channels-page .channel-card-heading { display: flex; min-width: 0; align-items: center; gap: 9px; }
.channels-page .channel-card .channel-logo { display: block; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 8px; object-fit: cover; }
.channels-page .channel-heading-copy { display: grid; min-width: 0; flex: 1; gap: 3px; }
.channels-page .channel-heading-copy strong { color: var(--channels-ink); font-size: 12px; }
.channels-page .channel-heading-copy small { display: -webkit-box; overflow: hidden; color: var(--channels-muted); font-size: 9px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.channels-page .channel-status { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; padding: 5px 7px; border-radius: 14px; background: #f1f5f9; color: #64748b; font-size: 8px; font-weight: 650; white-space: nowrap; }
.channels-page .channel-status i, .channels-page .account-health i { width: 6px; height: 6px; border-radius: 50%; background: #94a3b8; }
.channels-page .channel-status.is-connected { background: var(--channels-green-soft); color: #087443; }
.channels-page .channel-status.is-connected i, .channels-page .account-health i { background: var(--channels-green); }
.channels-page .facebook-page-list, .channels-page .channel-account-list { display: grid; min-width: 0; gap: 4px; }
.channels-page .facebook-page-row, .channels-page .channel-account-row { position: relative; display: flex; min-width: 0; min-height: 34px; align-items: center; gap: 8px; padding: 4px 7px; border: 1px solid #edf1f5; border-radius: 7px; background: #fff; }
.channels-page .facebook-page-name { display: flex; min-width: 0; flex: 1; align-items: center; gap: 7px; }
.channels-page .facebook-page-name strong, .channels-page .account-chip-copy strong { overflow: hidden; color: #253044; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.channels-page .facebook-page-mark { display: grid; width: 18px; height: 18px; flex: 0 0 18px; place-items: center; border-radius: 5px; background: #e8f1ff; color: #1877f2; font: 700 14px/1 Arial, sans-serif; }
.channels-page .facebook-page-thumb { width: 20px; height: 20px; flex: 0 0 20px; border: 1px solid #edf1f5; border-radius: 5px; object-fit: cover; }
.channels-page .account-health { display: inline-flex; align-items: center; gap: 4px; color: #087443; font-size: 8px; white-space: nowrap; }
.channels-page .account-health.is-warning { color: #a76313; }
.channels-page .account-health.is-warning i { background: #e59a35; }
.channels-page .account-actions-menu { position: relative; flex: 0 0 auto; }
.channels-page .account-actions-menu > summary { display: grid; width: 22px; height: 24px; place-items: center; border-radius: 5px; color: #64748b; font-size: 16px; line-height: 1; cursor: pointer; list-style: none; }
.channels-page .account-actions-menu > summary::-webkit-details-marker { display: none; }
.channels-page .account-actions-menu[open] > summary, .channels-page .account-actions-menu > summary:hover { background: #f1f5f9; }
.channels-page .account-actions-popover { position: absolute; top: calc(100% + 3px); right: 0; z-index: 15; min-width: 145px; padding: 4px; border: 1px solid var(--channels-border); border-radius: 7px; background: #fff; box-shadow: 0 8px 18px rgb(23 32 51 / 12%); }
.channels-page .account-actions-popover button, .channels-page .account-actions-popover a { display: block; width: 100%; padding: 8px; border: 0; border-radius: 4px; background: transparent; color: #344054; font: inherit; font-size: 9px; text-align: left; text-decoration: none; cursor: pointer; white-space: nowrap; }
.channels-page .account-actions-popover button:hover, .channels-page .account-actions-popover a:hover { background: #f3f7f4; color: var(--channels-green); }
.channels-page .channel-account-avatar, .channels-page .channel-account-mark { display: grid; width: 24px; height: 24px; flex: 0 0 24px; place-items: center; overflow: hidden; border-radius: 50%; background: #f1f5f9; color: #64748b; font-size: 9px; font-weight: 700; }
.channels-page .channel-account-avatar img, .channels-page .channel-account-mark img { width: 100%; height: 100%; object-fit: cover; }
.channels-page .channel-account-mark { background: #eaf7ef; }
.channels-page .account-chip-copy { display: grid; min-width: 0; flex: 1; gap: 3px; }
.channels-page .account-chip-copy small { overflow: hidden; margin: 0; color: var(--channels-muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.channels-page .channel-empty { display: grid; flex: 1; align-content: center; justify-items: center; gap: 5px; min-height: 46px; color: var(--channels-muted); font-size: 9px; text-align: center; }
.channels-page .channel-empty-telegram { min-height: 95px; }
.channels-page .channel-empty-telegram > span { color: #229ed9; font-size: 23px; }
.channels-page .channel-empty-telegram strong { color: var(--channels-ink); font-size: 10px; }
.channels-page .channel-empty-telegram small { max-width: 240px; font-size: 8px; line-height: 1.4; }
.channels-page .channel-empty-telegram .button { margin-top: 3px; }
.channels-page .channel-card-footer { align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; border-top: 1px solid #f0f2f5; color: var(--channels-muted); font-size: 8px; }
.channels-page .channel-actions { gap: 5px; }
.channels-page .button { min-height: 31px; border-radius: 6px; font-size: 9px; }
.channels-page .button-small { min-height: 29px; padding: 0 9px; font-size: 8px; }
.channels-page .button-primary { background: var(--channels-green); }
.channels-page .button-primary:hover { background: #056e3c; }
.channels-page .button-secondary { border-color: #b9ddc9; color: #344054; }
.channels-page .channel-config-panel { margin-top: 10px; padding: 13px; border-color: #d9e8df; border-radius: 11px; box-shadow: 0 2px 8px rgb(23 32 51 / 4%); }
.channels-page .youtube-integration-panel { padding: 13px; }
.channels-page .youtube-integration-panel .config-summary { padding-bottom: 8px; }
.channels-page .youtube-integration-panel .config-summary strong { color: var(--channels-ink); font-size: 14px; }
.channels-page .youtube-integration-panel .config-summary .eyebrow { color: var(--channels-muted); font-size: 8px; }
.channels-page .youtube-integration-panel .config-intro { margin: 9px 0; color: var(--channels-muted); font-size: 9px; }
.channels-page .youtube-oauth-status { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0; padding: 8px 10px; border-radius: 7px; background: #f8fafc; }
.channels-page .youtube-oauth-status > span:first-child { display: grid; gap: 3px; }
.channels-page .youtube-oauth-status strong { color: var(--channels-green); font-size: 9px; }
.channels-page .youtube-oauth-status small { color: var(--channels-muted); font-size: 8px; }
.channels-page .youtube-integration-panel > p > .button { margin: 0 0 7px; }
.channels-page .youtube-config-form { padding: 0; border: 0; background: transparent; }
.channels-page .youtube-config-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; align-items: end; }
.channels-page .youtube-config-fields > div { min-width: 0; }
.channels-page .youtube-config-fields .field-label { margin-bottom: 4px; color: #344054; font-size: 8px; }
.channels-page .youtube-config-fields .field-label span { color: var(--channels-muted); font-size: 7px; }
.channels-page .youtube-config-fields input:not([type="checkbox"]) { min-height: 30px; padding: 6px 8px; border-color: var(--channels-border); border-radius: 5px; font-size: 9px; }
.channels-page .youtube-manual-auth { display: flex; align-items: center; gap: 6px; color: #344054; font-size: 8px; }
.channels-page .youtube-manual-auth input { width: 14px; height: 14px; accent-color: var(--channels-green); }
.channels-page .youtube-config-fields > .button { justify-self: end; min-width: 120px; }
.channels-page .channel-heading-actions .button { min-height: 31px; }
.channels-page .page-list-panel { margin-top: 10px; }
.channels-page .page-list-panel, .channels-page .channel-note { border-radius: 10px; }
.channels-page .channel-note { border-color: var(--channels-border); background: #f8fafc; color: var(--channels-muted); }
.channels-page .channel-note strong { color: var(--channels-green); }
.channels-page .sidebar .nav-link.is-active { background: var(--channels-green-soft); color: var(--channels-green); }
.channels-page .sidebar .nav-link.is-active .nav-icon { color: var(--channels-green); }

@media (max-width: 1120px) {
  .channels-page .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "facebook instagram" "threads whatsapp" "youtube telegram" "x x"; }
  .channels-page .page-content { padding-right: 18px; padding-left: 18px; }
}
@media (max-width: 850px) {
  .channels-page .page-content { width: 100%; padding: 16px 16px 32px; }
  .channels-page .channel-grid { gap: 9px; }
  .channels-page .channel-card { min-height: 176px; }
}
@media (max-width: 560px) {
  .channels-page .page-content { padding: 13px 12px 24px; }
  .channels-page .page-heading { align-items: flex-start; gap: 8px; margin-bottom: 12px; }
  .channels-page .page-heading h1 { font-size: 21px; }
  .channels-page .channel-heading-actions { align-items: flex-end; flex-direction: column; gap: 5px; }
  .channels-page .channel-count { font-size: 8px; text-align: right; }
  .channels-page .channel-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "facebook" "instagram" "threads" "whatsapp" "youtube" "telegram" "x"; gap: 8px; }
  .channels-page .channel-card { min-height: 0; padding: 12px; }
  .channels-page .channel-card-footer { flex-wrap: wrap; }
  .channels-page .channel-card-footer > span:first-child { flex: 1 1 100%; }
  .channels-page .channel-actions { width: 100%; justify-content: flex-start; }
  .channels-page .channel-actions .button { flex: 1 1 auto; }
  .channels-page .youtube-config-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channels-page .youtube-config-fields > .youtube-token-status, .channels-page .youtube-config-fields > .youtube-manual-auth { grid-column: 1 / -1; }
  .channels-page .youtube-config-fields > .button { grid-column: 1 / -1; width: 100%; }
}

/* Inbox layout */
.inbox-page .page-content { width: min(1480px, 100%); padding-top: 6px; }
.inbox-top-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.inbox-page .page-heading { align-items: flex-start; margin-bottom: 5px; }
.inbox-top-row .page-heading { display: contents; }
.inbox-top-row .page-heading > div:first-child { display: flex; min-width: 0; align-items: baseline; gap: 8px; white-space: nowrap; }
.inbox-top-row .page-heading .eyebrow { flex: 0 0 auto; }
.inbox-top-row .page-heading h1 { flex: 0 0 auto; }
.inbox-top-row .inbox-page-subtitle { flex: 0 1 auto; }
.inbox-top-row .inbox-filter-bar { flex: 0 0 auto; margin: 0; }
.inbox-top-row .sync-comments-form, .inbox-top-row > form[action*="sync"] { flex: 0 0 auto; }
.inbox-top-row > form[action*="sync"] .button { min-height: 30px; padding: 0 11px; font-size: 10px; }
.inbox-page .page-heading h1 { margin-bottom: 1px; font-size: 22px; }
.inbox-page-subtitle { margin: 0; color: #768279; font-size: 10px; }
.inbox-page .inbox-filter-bar { grid-template-columns: minmax(180px, 1fr) minmax(130px, .65fr) 40px; max-width: 540px; margin-bottom: 3px; }
.inbox-page .inbox-filter-bar select, .inbox-page .inbox-filter-bar button, .inbox-page .inbox-channel-picker > summary { height: 36px; }
.inbox-page .inbox-conversation-layout { grid-template-columns: minmax(290px, .78fr) minmax(0, 1.65fr); gap: 10px; height: min(740px, calc(100vh - 145px)) !important; max-height: 740px; min-height: 0 !important; }
.inbox-page .unified-inbox-list { grid-template-rows: auto minmax(0, 1fr); gap: 0; max-height: none; min-height: 0; overflow: hidden; border-radius: 10px; }
.inbox-search { display: flex; min-width: 0; align-items: center; gap: 8px; margin: 9px; padding: 0 10px; border: 1px solid #e4e9e6; border-radius: 7px; background: #f7f9fa; color: #748078; }
.inbox-search > span:first-child { font-size: 18px; line-height: 1; }
.inbox-search input { width: 100%; min-width: 0; height: 36px; border: 0; outline: 0; background: transparent; color: #303a33; font: inherit; font-size: 11px; }
.inbox-search input::placeholder { color: #8a958e; }
.unified-inbox-row[hidden] { display: none; }
.unified-inbox-rows { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.inbox-page .unified-inbox-row { gap: 10px; padding: 11px 12px; }
.inbox-page .unified-inbox-avatar { width: 38px; height: 38px; }
.inbox-page .unified-inbox-heading { flex-wrap: nowrap; gap: 6px; }
.inbox-page .unified-inbox-heading strong { font-size: 11px; }
.inbox-page .unified-inbox-copy p { margin: 4px 0 0; font-size: 10px; }
.inbox-thread { min-height: 0; border-radius: 10px; }
.inbox-thread-header { min-height: 58px; gap: 10px; padding: 9px 13px; }
.inbox-thread-avatar { position: relative; display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #e7f3ff; box-shadow: 0 0 0 1px #dfe7e2; color: #1877f2; font-size: 12px; font-weight: 700; }
.inbox-thread-avatar > img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.inbox-thread-contact { display: grid; min-width: 0; gap: 3px; }
.inbox-thread-contact > strong { overflow: hidden; color: #27312b; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.inbox-thread-contact > small { display: flex; align-items: center; gap: 5px; color: #839087; font-size: 9px; }
.inbox-thread-contact .channel-tag { padding: 2px 5px; font-size: 8px; }
.inbox-thread-messages { gap: 11px; padding: 14px; background-color: #f9faf9; background-image: radial-gradient(#edf1ee 0.7px, transparent 0.7px); background-size: 17px 17px; }
.inbox-thread-message { max-width: min(82%, 480px); padding: 9px 11px; border: 1px solid #edf0ee; border-radius: 12px 12px 12px 4px; background: #fff; box-shadow: 0 1px 2px rgb(26 43 34 / 4%); }
.inbox-thread-message-outbound { border-color: #d6eee1; border-radius: 12px 12px 4px 12px; background: #eaf7ef; }
.inbox-reply-form { position: sticky; bottom: 0; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 8px; padding: 11px; border-top: 1px solid #edf0ee; background: #fff; box-shadow: 0 -4px 12px rgb(26 43 34 / 6%); }
.inbox-reply-form textarea { min-height: 52px; border-radius: 8px; background: #fbfcfc; font-size: 11px; }
.inbox-reply-form button { min-width: 74px; border-radius: 7px; }

@media (max-width: 850px) {
  .inbox-top-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 6px; }
  .inbox-top-row .page-heading { display: contents; }
  .inbox-top-row .page-heading > div:first-child { display: flex; min-width: 0; flex: 1 1 auto; align-items: center; white-space: nowrap; }
  .inbox-top-row > form[action*="sync"] .button { min-height: 28px; padding: 0 9px; font-size: 9px; }
  .inbox-top-row .inbox-filter-bar { flex: 0 0 100%; margin-bottom: 3px; }
  .inbox-page .page-content { width: 100%; padding: 10px 12px calc(76px + env(safe-area-inset-bottom)); }
  .inbox-page .inbox-conversation-layout { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 7px; height: clamp(360px, calc(100svh - 220px), 660px) !important; max-height: 660px; min-height: 0 !important; }
  .inbox-page .unified-inbox-list, .inbox-page .inbox-thread { min-height: 0; }
  .inbox-page .unified-inbox-list { max-height: none; }
  .inbox-page .unified-inbox-row { gap: 7px; padding: 10px 8px; }
  .inbox-page .unified-inbox-avatar, .inbox-page .inbox-thread-avatar { width: 32px; height: 32px; }
  .inbox-page .unified-inbox-heading { flex-wrap: wrap; gap: 3px 5px; }
  .inbox-page .unified-inbox-heading .channel-tag { display: none; }
  .inbox-page .unified-inbox-heading strong { flex: 1 1 100%; font-size: 10px; }
  .inbox-page .unified-inbox-heading small { margin-left: 0; font-size: 8px; }
  .inbox-page .unified-inbox-copy p { display: -webkit-box; margin-top: 3px; font-size: 9px; -webkit-line-clamp: 2; }
  .inbox-page .inbox-thread-header { gap: 7px; padding: 8px; }
  .inbox-page .inbox-thread-contact > strong { font-size: 10px; }
  .inbox-page .inbox-thread-contact > small { flex-wrap: wrap; font-size: 8px; }
  .inbox-page .inbox-thread-messages { gap: 8px; padding: 9px 7px; }
  .inbox-page .inbox-thread-message { max-width: 94%; padding: 7px; }
  .inbox-page .inbox-thread-message p { font-size: 10px; }
  .inbox-page .inbox-reply-form { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 7px; }
  .inbox-page .inbox-reply-form textarea { min-height: 54px; padding: 7px; font-size: 10px; }
  .inbox-page .inbox-reply-form button { min-height: 32px; justify-self: end; }
}
@media (max-width: 560px) {
  .inbox-page .page-heading { display: flex; margin-bottom: 9px; }
  .inbox-page .page-heading h1 { font-size: 21px; }
  .inbox-page .page-heading .eyebrow { font-size: 8px; }
  .inbox-page .inbox-filter-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 34px; gap: 5px; margin-bottom: 8px; }
  .inbox-page .inbox-channel-picker > summary { height: 36px; gap: 5px; padding: 3px 7px; }
  .inbox-page .inbox-picker-avatar { width: 25px; height: 25px; }
  .inbox-page .inbox-picker-label strong { font-size: 9px; }
  .inbox-page .inbox-picker-label small { display: none; }
  .inbox-page .inbox-filter-bar select { height: 36px; padding: 0 21px 0 7px; font-size: 9px; }
  .inbox-page .inbox-filter-bar button { height: 36px; }
  .inbox-page .inbox-conversation-layout { height: clamp(350px, calc(100svh - 225px), 620px) !important; max-height: 620px; min-height: 0 !important; }
  .inbox-page .inbox-search { gap: 4px; margin: 6px; padding: 0 6px; }
  .inbox-page .inbox-search > span:first-child { font-size: 15px; }
  .inbox-page .inbox-search input { height: 32px; font-size: 9px; }
  .inbox-page .unified-inbox-row { gap: 6px; padding: 9px 6px; }
  .inbox-page .unified-inbox-avatar { width: 29px; height: 29px; }
  .inbox-page .inbox-platform-badge { width: 13px; height: 13px; }
  .inbox-page .inbox-platform-badge img { width: 9px; height: 9px; }
  .inbox-page .unified-inbox-copy p { font-size: 8px; }
  .inbox-page .inbox-thread-header { min-height: 49px; padding: 6px; }
  .inbox-page .inbox-thread-avatar { width: 29px; height: 29px; }
  .inbox-page .inbox-thread-contact > strong { font-size: 9px; }
  .inbox-page .inbox-thread-contact > small { font-size: 7px; }
  .inbox-page .inbox-thread-contact .channel-tag { font-size: 7px; }
  .inbox-page .inbox-thread-message { max-width: 100%; padding: 6px; }
  .inbox-page .inbox-thread-message p { font-size: 9px; }
  .inbox-page .inbox-thread-message time { font-size: 7px; }
}

/* Secondary integrations and expandable account tools */
.channels-page .channel-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}
.channels-page .future-channel-card {
  min-height: 104px;
  gap: 8px;
  padding: 12px;
  border-radius: 9px;
}
.channels-page .future-channel-heading {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}
.channels-page .future-channel-mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #26384b;
  color: #fff;
  font: 700 24px/1 Arial, sans-serif;
}
.channels-page .future-channel-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.channels-page .future-channel-tiktok .future-channel-mark {
  background: #090b0f;
  color: #25f4ee;
  text-shadow: 2px 0 #fe2c55;
}
.channels-page .future-channel-pinterest .future-channel-mark {
  background: #e60023;
  font-family: Georgia, serif;
  font-size: 28px;
}
.channels-page .future-channel-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 4px;
}
.channels-page .future-channel-copy strong {
  color: var(--channels-ink);
  font-size: 12px;
}
.channels-page .future-channel-copy small {
  max-width: 360px;
  color: var(--channels-muted);
  font-size: 9px;
  line-height: 1.4;
}
.channels-page .future-channel-card .status-pill {
  min-height: 21px;
  background: #eef2f6;
  color: #536174;
  font-size: 8px;
}
.channels-page .future-channel-card .channel-card-footer {
  padding-top: 6px;
  font-size: 8px;
}
.channels-page .future-channel-card .button {
  min-width: 76px;
  min-height: 24px;
  padding: 0 9px;
  border-color: #b9ddc9;
  background: #fff;
  color: var(--channels-ink);
  font-size: 8px;
}
.channels-page .future-channel-card .button:disabled {
  opacity: 1;
  cursor: not-allowed;
}
.channels-page .utility-config-panel {
  margin-top: 9px;
  padding: 0 13px;
  border: 1px solid var(--channels-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgb(23 32 51 / 4%);
}
.channels-page .utility-config-summary {
  min-height: 64px;
  padding: 7px 0;
  border: 0;
}
.channels-page .utility-config-summary > .utility-config-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--channels-green-soft);
  color: var(--channels-green);
}
.channels-page .utility-config-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.channels-page .utility-config-summary > .utility-config-copy {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 2px;
}
.channels-page .utility-config-copy .eyebrow {
  color: var(--channels-green);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .08em;
}
.channels-page .utility-config-copy strong {
  color: var(--channels-ink);
  font-size: 12px;
}
.channels-page .utility-config-copy small {
  color: var(--channels-muted);
  font-size: 9px;
}
.channels-page .utility-config-summary .config-summary-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--channels-green);
  font-size: 9px;
  font-weight: 650;
  white-space: nowrap;
}
.channels-page .utility-config-summary .config-summary-action > span {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}
.channels-page .utility-config-panel[open] .utility-config-summary {
  border-bottom: 1px solid var(--channels-border);
}
.channels-page .utility-config-panel[open] .utility-config-summary .config-summary-action {
  color: var(--channels-muted);
}
.channels-page .utility-config-panel[open] .utility-config-summary .config-summary-action > span {
  transform: rotate(90deg);
}
.channels-page .utility-config-panel[open] .config-summary-action::after {
  content: none;
}
.channels-page .utility-config-panel .section-heading {
  margin-top: 12px;
}
.channels-page .logo-settings-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin-bottom: 12px;
}
.channels-page .logo-settings-form .promo-frame-settings,
.channels-page .logo-settings-form > button {
  grid-column: 1 / -1;
}
.channels-page .logo-settings-form .promo-frame-settings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.channels-page .add-account-form {
  margin: 12px 0;
}
@media (max-width: 700px) {
  .channels-page .channel-card-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .channels-page .future-channel-card {
    min-height: 98px;
    padding: 10px;
  }
  .channels-page .future-channel-heading {
    gap: 8px;
  }
  .channels-page .future-channel-mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .channels-page .future-channel-copy small {
    font-size: 8px;
  }
  .channels-page .future-channel-card .status-pill {
    padding: 0 5px;
    font-size: 7px;
  }
  .channels-page .utility-config-summary {
    gap: 9px;
  }
  .channels-page .utility-config-summary > .utility-config-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .channels-page .utility-config-copy small {
    font-size: 8px;
  }
  .channels-page .utility-config-summary .config-summary-action {
    gap: 3px;
    font-size: 8px;
  }
  .channels-page .logo-settings-form,
  .channels-page .logo-settings-form .promo-frame-settings {
    grid-template-columns: minmax(0, 1fr);
  }
}
.trend-picker { margin: 14px 0 18px; padding: 12px 14px; border: 1px solid #dfe9e4; border-radius: 12px; background: #f7fbf9; }
.trend-picker-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.trend-picker-heading .button { padding: 7px 11px; font-size: 12px; }
.trend-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.trend-tag { padding: 6px 9px; border: 1px solid #cfe1d8; border-radius: 999px; background: #fff; color: #176d4e; font-size: 12px; cursor: pointer; }
.trend-tag input { accent-color: #087f52; }
.trend-tag small { color: #70817a; }
.trend-posts { display: grid; gap: 5px; margin-top: 10px; color: #596b65; font-size: 12px; }
.trend-post { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* Desktop readability for the Social Accounts workspace. */
@media (min-width: 851px) {
  .channels-page { font-size: 14px; }
  .channels-page .page-content { padding-top: 28px; }
  .channels-page .page-heading h1 { font-size: 30px; }
  .channels-page .page-subtitle { font-size: 13px; }
  .channels-page .channel-count { font-size: 12px; }
  .channels-page .channel-card { min-height: 210px; gap: 14px; padding: 16px; }
  .channels-page .channel-card-heading { gap: 11px; }
  .channels-page .channel-card .channel-logo { width: 42px; height: 42px; flex-basis: 42px; }
  .channels-page .channel-heading-copy { gap: 4px; }
  .channels-page .channel-heading-copy strong { font-size: 15px; }
  .channels-page .channel-heading-copy small { font-size: 11px; line-height: 1.45; }
  .channels-page .channel-status { gap: 6px; padding: 6px 9px; font-size: 10px; }
  .channels-page .channel-status i, .channels-page .account-health i { width: 7px; height: 7px; }
  .channels-page .facebook-page-row, .channels-page .channel-account-row { min-height: 42px; gap: 10px; padding: 5px 9px; }
  .channels-page .facebook-page-name strong, .channels-page .account-chip-copy strong { font-size: 11px; }
  .channels-page .account-health { font-size: 10px; }
  .channels-page .channel-card-footer { padding-top: 11px; font-size: 10px; }
  .channels-page .channel-card .button { min-height: 36px; font-size: 10px; }
  .channels-page .channel-card .button-small { min-height: 34px; padding: 0 11px; font-size: 9px; }
  .channels-page .future-channel-card { min-height: 150px; padding: 16px; }
  .channels-page .future-channel-copy strong { font-size: 14px; }
  .channels-page .future-channel-copy small { font-size: 11px; line-height: 1.45; }
  .channels-page .future-channel-card .status-pill { font-size: 10px; }
  .channels-page .utility-config-summary { min-height: 72px; padding: 13px 16px; }
  .channels-page .utility-config-copy strong { font-size: 15px; }
  .channels-page .utility-config-copy small { font-size: 11px; }
  .channels-page .utility-config-copy .eyebrow { font-size: 10px; }
  .channels-page .utility-config-summary .config-summary-action { font-size: 11px; }
  .channels-page .config-intro, .channels-page .channel-note { font-size: 12px; }
  .channels-page .youtube-integration-panel .config-summary strong { font-size: 17px; }
  .channels-page .youtube-integration-panel .config-summary .eyebrow { font-size: 10px; }
  .channels-page .youtube-integration-panel .config-intro { font-size: 12px; }
  .channels-page .youtube-config-fields .field-label { font-size: 10px; }
  .channels-page .youtube-config-fields .field-label span { font-size: 9px; }
  .channels-page .youtube-config-fields input:not([type="checkbox"]) { min-height: 38px; font-size: 11px; }
  .channels-page .youtube-manual-auth { font-size: 10px; }
}

/* Composer brand layers: keep the product image clear and the lower third at the base. */
.fb-preview-media-frame { display: grid !important; grid-template-rows: minmax(0, 1fr) auto !important; height: 340px !important; overflow: visible !important; }
.fb-preview-media-frame > #fb-create-preview-image { grid-row: 1; align-self: stretch; }
.fb-preview-media-frame > #fb-preview-lower-third { position: relative !important; inset: auto !important; grid-row: 2; align-self: start; margin-top: -6.25% !important; transform-origin: center top; }
.fb-preview-media-frame > #fb-preview-brand-logo { top: 12px !important; right: 12px !important; left: auto !important; transform-origin: top right; }
