:root {
    --feedlix-primary: #4f46e5;
    --feedlix-primary-dark: #3730a3;
    --feedlix-ink: #172033;
    --feedlix-muted: #667085;
    --feedlix-border: #e4e8ef;
    --feedlix-surface: #ffffff;
    --feedlix-page: #f5f7fa;
    --feedlix-sidebar: #121a2b;
    --feedlix-sidebar-muted: #98a2b3;
}

* { box-sizing: border-box; }
body { font-family: Inter, Arial, sans-serif; color: var(--feedlix-ink); }
a { transition: color .16s ease, background-color .16s ease, border-color .16s ease; }

.feedlix-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--feedlix-ink); font-size: 21px; font-weight: 700; letter-spacing: -.03em; }
.feedlix-brand-light { color: #fff; }
.feedlix-brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: var(--feedlix-primary); color: #fff; font-size: 18px; box-shadow: 0 7px 18px rgba(79,70,229,.25); }
.feedlix-eyebrow { display: inline-block; color: var(--feedlix-primary); font-size: 11px; font-weight: 700; letter-spacing: .12em; }

.feedlix-auth-body { min-height: 100%; background: var(--feedlix-page); }
.feedlix-auth-shell { display: grid; min-height: 100vh; grid-template-columns: minmax(360px, 42%) 1fr; }
.feedlix-auth-brand-panel { position: relative; display: flex; flex-direction: column; min-height: 100vh; padding: 44px 7vw 36px 4vw; overflow: hidden; background: var(--feedlix-sidebar); color: #fff; }
.feedlix-auth-brand-panel::after { content: ""; position: absolute; width: 390px; height: 390px; right: -190px; bottom: 8%; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.feedlix-auth-brand-copy { position: relative; z-index: 1; max-width: 520px; margin: auto 0; padding: 80px 0; }
.feedlix-auth-brand-copy .feedlix-eyebrow { color: #a9a4ff; }
.feedlix-auth-brand-copy h1 { margin: 14px 0 18px; color: #fff; font-size: clamp(36px,4vw,58px); line-height: 1.08; letter-spacing: -.045em; }
.feedlix-auth-brand-copy > p { max-width: 500px; color: #b9c0ce; font-size: 17px; line-height: 1.75; }
.feedlix-auth-benefits { display: grid; gap: 14px; margin-top: 34px; color: #e8ebf1; font-size: 14px; font-weight: 500; }
.feedlix-auth-benefits span { display: flex; align-items: center; gap: 10px; }
.feedlix-auth-benefits i { color: #8b84ff; font-size: 18px; }
.feedlix-auth-copyright { position: relative; z-index: 1; margin: 0; color: #7f899a; font-size: 12px; }
.feedlix-auth-form-panel { display: flex; min-width: 0; align-items: center; justify-content: center; padding: 48px; }
.feedlix-auth-card-wrap { width: 100%; max-width: 590px; }
.feedlix-auth-mobile-brand { display: none; margin-bottom: 32px; }
.feedlix-auth-card { width: 100%; border-color: var(--feedlix-border); border-radius: 14px; box-shadow: 0 10px 36px rgba(23,32,51,.06); }
.feedlix-auth-card .kt-card-content, .feedlix-organization-card .kt-card-content { padding: 38px; }
.feedlix-auth-card-wide { max-width: 590px; }
.feedlix-form-heading { margin-bottom: 28px; }
.feedlix-form-heading h2 { margin: 7px 0 8px; color: var(--feedlix-ink); font-size: 27px; font-weight: 700; letter-spacing: -.035em; }
.feedlix-form-heading p { margin: 0; color: var(--feedlix-muted); font-size: 14px; line-height: 1.65; }
.feedlix-form-heading-center { text-align: center; }
.feedlix-form-heading-center strong { color: var(--feedlix-ink); font-weight: 600; }
.feedlix-auth-icon { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 14px; background: #eeedff; color: var(--feedlix-primary); font-size: 25px; }
.feedlix-form-stack { display: grid; gap: 20px; }
.feedlix-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.feedlix-grid-full { grid-column: 1 / -1; }
.feedlix-field { min-width: 0; }
.feedlix-field .kt-form-label { display: block; margin-bottom: 8px; color: #344054; font-weight: 600; }
.feedlix-field .kt-form-label span { color: #d92d20; }
.feedlix-field .kt-input, .feedlix-field .kt-select, .feedlix-field .kt-textarea { width: 100%; border-color: #d9dee7; background: #fff; }
.feedlix-field .kt-input { height: 44px; }
.feedlix-field .kt-textarea { min-height: 104px; resize: vertical; }
.feedlix-field .is-invalid { border-color: #e5484d; }
.feedlix-field-error { margin: 6px 0 0; color: #c72c41; font-size: 12px; line-height: 1.45; }
.feedlix-field-help { margin: 6px 0 0; color: #8a94a6; font-size: 11px; line-height: 1.5; }
.feedlix-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.feedlix-label-row a, .feedlix-auth-switch a, .feedlix-resend-form button, .feedlix-secondary-action button { color: var(--feedlix-primary); font-size: 13px; font-weight: 600; }
.feedlix-checkbox-row { display: inline-flex; align-items: center; gap: 9px; color: #596579; font-size: 13px; cursor: pointer; }
.feedlix-submit-btn { width: 100%; min-height: 44px; justify-content: center; }
.feedlix-form-note { display: flex; align-items: center; gap: 8px; margin: -2px 0 0; color: #657083; font-size: 12px; }
.feedlix-form-note i { color: var(--feedlix-primary); font-size: 16px; }
.feedlix-auth-switch { margin: 24px 0 0; color: #697386; font-size: 13px; text-align: center; }
.feedlix-otp-input { height: 58px !important; text-align: center; font-size: 25px; font-weight: 700; letter-spacing: .35em; padding-left: 1.35em; }
.feedlix-text-center { text-align: center; }
.feedlix-resend-form { display: flex; justify-content: center; gap: 5px; margin-top: 22px; color: #697386; font-size: 13px; }
.feedlix-resend-form button, .feedlix-secondary-action button { border: 0; background: none; cursor: pointer; }
.feedlix-secondary-action { margin-top: 12px; text-align: center; }
.feedlix-secondary-action button { color: #697386; font-weight: 500; }
.feedlix-alert { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 16px; padding: 12px 14px; border: 1px solid; border-radius: 9px; font-size: 13px; line-height: 1.55; }
.feedlix-alert i { margin-top: 1px; font-size: 17px; }
.feedlix-alert-success { border-color: #a6e5c7; background: #f0fcf6; color: #176b45; }
.feedlix-alert-error { border-color: #f2b8bd; background: #fff5f5; color: #a32332; }

.feedlix-app-body { min-height: 100%; background: var(--feedlix-page); }
.feedlix-app-shell { min-height: 100vh; }
.feedlix-sidebar { position: fixed; z-index: 30; inset: 0 auto 0 0; width: 260px; flex-direction: column; background: var(--feedlix-sidebar); color: #fff; }
.feedlix-sidebar-inner { display: flex; flex: 1; min-height: 0; flex-direction: column; padding: 24px 16px 18px; }
.feedlix-sidebar-brand { padding: 2px 10px 28px; }
.feedlix-sidebar-label { padding: 0 12px 8px; color: #667085; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.feedlix-sidebar-nav { display: grid; gap: 5px; }
.feedlix-nav-item { display: grid; width: 100%; min-height: 43px; grid-template-columns: 23px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid transparent; border-radius: 8px; color: #bbc3d1; background: transparent; font-size: 13px; font-weight: 500; text-align: left; }
.feedlix-nav-item i { font-size: 18px; }
.feedlix-nav-item small { padding: 2px 6px; border-radius: 10px; background: rgba(255,255,255,.07); color: #7f899a; font-size: 9px; text-transform: uppercase; }
.feedlix-nav-item:hover:not(.is-disabled), .feedlix-nav-item.active { border-color: rgba(255,255,255,.05); background: rgba(255,255,255,.075); color: #fff; }
.feedlix-nav-item.active i { color: #a9a4ff; }
.feedlix-nav-item.is-disabled { opacity: .72; cursor: not-allowed; }
.feedlix-sidebar-spacer { flex: 1; min-height: 28px; }
.feedlix-sidebar-footnote { display: flex; align-items: center; gap: 8px; margin: 20px 10px 0; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.07); color: #778195; font-size: 11px; }
.feedlix-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #32b77a; box-shadow: 0 0 0 3px rgba(50,183,122,.12); }
.feedlix-main-column { min-width: 0; min-height: 100vh; }
.feedlix-header { position: sticky; z-index: 20; top: 0; display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 28px; border-bottom: 1px solid var(--feedlix-border); background: rgba(255,255,255,.96); backdrop-filter: blur(8px); }
.feedlix-header-left, .feedlix-header-actions, .feedlix-user-summary { display: flex; align-items: center; }
.feedlix-header-left { gap: 12px; }
.feedlix-header-left h2 { margin: 2px 0 0; font-size: 15px; font-weight: 650; }
.feedlix-header-kicker { margin: 0; color: #8a94a6; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.feedlix-header-actions { gap: 14px; }
.feedlix-plan-pill { padding: 5px 9px; border: 1px solid #ddd9ff; border-radius: 999px; background: #f6f5ff; color: #5148b8; font-size: 10px; font-weight: 600; }
.feedlix-user-summary { gap: 9px; padding-left: 14px; border-left: 1px solid var(--feedlix-border); }
.feedlix-avatar { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #e8e7ff; color: var(--feedlix-primary-dark); font-size: 13px; font-weight: 700; }
.feedlix-user-copy { display: grid; line-height: 1.25; }
.feedlix-user-copy strong { font-size: 12px; }
.feedlix-user-copy span { color: #8a94a6; font-size: 10px; }
.feedlix-content { max-width: 1560px; margin: 0 auto; padding: 30px 28px 48px; }
.feedlix-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.feedlix-page-heading h1 { margin: 5px 0 6px; font-size: 27px; font-weight: 700; letter-spacing: -.035em; }
.feedlix-page-heading p { margin: 0; color: var(--feedlix-muted); font-size: 13px; }
.feedlix-status-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #b9e8cf; border-radius: 999px; background: #f1fbf6; color: #207853; font-size: 11px; font-weight: 600; white-space: nowrap; }
.feedlix-status-badge span { width: 6px; height: 6px; border-radius: 50%; background: #32a66f; }
.feedlix-metrics-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.feedlix-metric-card, .feedlix-panel, .feedlix-action-card, .feedlix-organization-card { border-color: var(--feedlix-border); border-radius: 11px; box-shadow: none; }
.feedlix-metric-card .kt-card-content { display: flex; align-items: flex-start; gap: 14px; padding: 20px; }
.feedlix-metric-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 9px; flex: 0 0 auto; font-size: 19px; }
.feedlix-icon-blue { background: #eef4ff; color: #3569c8; }
.feedlix-icon-amber { background: #fff7e8; color: #b7791f; }
.feedlix-icon-green { background: #ebfaf2; color: #22845a; }
.feedlix-icon-red { background: #fff0f1; color: #c43f4d; }
.feedlix-metric-card p { margin: 0 0 5px; color: #667085; font-size: 11px; font-weight: 600; }
.feedlix-metric-card strong { display: block; font-size: 29px; line-height: 1; letter-spacing: -.04em; }
.feedlix-metric-card span { display: block; margin-top: 7px; color: #98a2b3; font-size: 10px; }
.feedlix-dashboard-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; margin-top: 16px; }
.feedlix-panel .kt-card-header { min-height: 69px; }
.feedlix-panel-kicker { display: block; margin-bottom: 2px; color: #98a2b3; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.feedlix-coming-badge { padding: 4px 7px; border-radius: 6px; background: #f2f4f7; color: #667085; font-size: 9px; font-weight: 600; text-transform: uppercase; white-space: nowrap; }
.feedlix-empty-state { display: flex; min-height: 235px; flex-direction: column; align-items: center; justify-content: center; padding: 30px; text-align: center; }
.feedlix-empty-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 15px; border-radius: 13px; background: #f2f1ff; color: var(--feedlix-primary); font-size: 24px; }
.feedlix-empty-state h4 { margin: 0 0 7px; font-size: 16px; font-weight: 650; }
.feedlix-empty-state p { max-width: 510px; margin: 0; color: var(--feedlix-muted); font-size: 12px; line-height: 1.7; }
.feedlix-org-overview { display: grid; min-height: 235px; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: center; gap: 25px 22px; padding: 28px; }
.feedlix-org-overview div { display: grid; gap: 5px; }
.feedlix-org-overview span { color: #8a94a6; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.feedlix-org-overview strong { font-size: 13px; font-weight: 600; }
.feedlix-quick-actions { margin-top: 28px; }
.feedlix-section-heading { margin-bottom: 13px; }
.feedlix-section-heading h2 { margin: 4px 0 0; font-size: 18px; font-weight: 650; letter-spacing: -.025em; }
.feedlix-action-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.feedlix-action-card { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 13px; padding: 17px; text-align: left; opacity: .85; cursor: not-allowed; }
.feedlix-action-icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 9px; background: #f2f1ff; color: var(--feedlix-primary); font-size: 19px; }
.feedlix-action-card > span:nth-child(2) { display: grid; gap: 3px; }
.feedlix-action-card strong { font-size: 13px; }
.feedlix-action-card small { color: #8a94a6; font-size: 10px; }
.feedlix-page-narrow { max-width: 940px; margin: 0 auto; }
.feedlix-organization-card { max-width: 940px; margin: 0 auto; }
.feedlix-step-indicator { display: flex; align-items: center; width: 120px; margin-bottom: 24px; }
.feedlix-step-indicator span { display: inline-flex; width: 27px; height: 27px; align-items: center; justify-content: center; border-radius: 50%; background: #dfe4eb; color: #6b7585; font-size: 11px; font-weight: 700; }
.feedlix-step-indicator span:first-child { background: #e9f8f0; color: #22845a; }
.feedlix-step-indicator span.active { background: var(--feedlix-primary); color: #fff; }
.feedlix-step-indicator i { flex: 1; height: 1px; background: #dfe4eb; }
.feedlix-form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 5px; }
.feedlix-file-input { padding-top: 8px; }

.feedlix-app-panel, .feedlix-app-scroll, .feedlix-app-main, .feedlix-app-content, .feedlix-page-stack { min-width: 0; max-width: 100%; }
.feedlix-app-panel { overflow: hidden; }
.feedlix-app-scroll { overflow-x: hidden; }
.feedlix-app-content, .feedlix-page-stack { width: 100%; }
.feedlix-page-header > :first-child { min-width: 0; }
.feedlix-page-actions { flex-wrap: wrap; justify-content: flex-end; }

.feedlix-filter-card, .feedlix-sheet-card, .feedlix-table-card { min-width: 0; overflow: hidden; border-color: var(--feedlix-border); box-shadow: 0 1px 2px rgba(16,24,40,.035); }
.feedlix-filter-toolbar { padding: 20px; }
.feedlix-filter-grid { display: grid; grid-template-columns: minmax(260px,1.35fr) repeat(4,minmax(150px,1fr)); gap: 14px; align-items: end; }
.feedlix-filter-field { min-width: 0; }
.feedlix-filter-field > label { display: block; margin-bottom: 7px; color: #475467; font-size: 11px; font-weight: 600; line-height: 1.2; }
.feedlix-filter-field .kt-input, .feedlix-filter-field .kt-select { min-width: 0; height: 42px; border-color: #d9dee7; background-color: #fff; }
.feedlix-search-control { position: relative; min-width: 0; }
.feedlix-search-control > i { position: absolute; z-index: 1; top: 50%; left: 12px; transform: translateY(-50%); pointer-events: none; }
.feedlix-search-control .kt-input { padding-left: 36px; }
.feedlix-filter-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 18px; padding-top: 18px; border-top: 1px solid #edf0f4; }
.feedlix-filter-date-range { display: grid; grid-template-columns: repeat(2,minmax(170px,210px)); gap: 14px; }
.feedlix-filter-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 9px; }

.feedlix-sheet-header { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 18px; border-bottom: 1px solid var(--feedlix-border); background: #fff; }
.feedlix-sheet-header h2 { margin: 0; color: var(--feedlix-ink); font-size: 14px; font-weight: 650; }
.feedlix-sheet-header p { margin: 4px 0 0; color: #8a94a6; font-size: 11px; }
.feedlix-sheet-header > span { display: inline-flex; align-items: center; gap: 7px; color: #7b8493; font-size: 10px; white-space: nowrap; }
.feedlix-sheet-scroll, .feedlix-table-scroll { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: #b8c0cc #eef1f5; scrollbar-gutter: stable; }
.feedlix-sheet-scroll { border-bottom: 1px solid var(--feedlix-border); }
.feedlix-sheet-scroll:focus-visible, .feedlix-table-scroll:focus-visible { outline: 2px solid rgba(79,70,229,.25); outline-offset: -2px; }
.feedlix-sheet-scroll::-webkit-scrollbar, .feedlix-table-scroll::-webkit-scrollbar { height: 12px; }
.feedlix-sheet-scroll::-webkit-scrollbar-track, .feedlix-table-scroll::-webkit-scrollbar-track { background: #eef1f5; }
.feedlix-sheet-scroll::-webkit-scrollbar-thumb, .feedlix-table-scroll::-webkit-scrollbar-thumb { border: 3px solid #eef1f5; border-radius: 999px; background: #aeb7c4; }
.feedlix-sheet-table { min-width: 2240px; }
.feedlix-sheet-table thead th, .feedlix-data-table thead th { background: #f7f8fa; color: #667085; font-size: 10px; font-weight: 700; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; }
.feedlix-sheet-table tbody tr, .feedlix-data-table tbody tr { transition: background-color .15s ease; }
.feedlix-sheet-table tbody tr:hover, .feedlix-data-table tbody tr:hover { background: #fafbff; }
.feedlix-sheet-table td { vertical-align: middle; }
.feedlix-sheet-table th:first-child, .feedlix-sheet-table td:first-child { width: 52px; min-width: 52px; max-width: 52px; }
.feedlix-pagination { overflow-x: auto; }
.feedlix-data-table { min-width: 820px; }
.feedlix-channel-table { min-width: 900px; }
.feedlix-market-table { min-width: 1040px; }
.feedlix-log-table { min-width: 1180px; }
.feedlix-list-toolbar { align-items: center; }
.feedlix-compact-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 9px; }
.feedlix-compact-search { width: 230px; }
.feedlix-compact-select { width: 155px; }
.feedlix-line-clamp-2 { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.feedlix-automation-card { border-color: #dde2ea; background: #fafbfc; box-shadow: none; }
.feedlix-automation-card.is-active { border-color: #b9e8cf; background: #f7fcf9; }
.feedlix-automation-content { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 18px; }
.feedlix-automation-copy, .feedlix-automation-control { display: flex; align-items: center; }
.feedlix-automation-copy { min-width: 0; gap: 13px; }
.feedlix-automation-copy > span:last-child { display: grid; min-width: 0; gap: 3px; }
.feedlix-automation-copy strong { color: var(--feedlix-ink); font-size: 13px; font-weight: 650; }
.feedlix-automation-copy small { color: #667085; font-size: 11px; line-height: 1.55; }
.feedlix-automation-icon { display: flex; width: 40px; height: 40px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 10px; background: #eef1f5; color: #667085; font-size: 18px; }
.feedlix-automation-card.is-active .feedlix-automation-icon { background: #e9f8f0; color: #22845a; }
.feedlix-automation-control { flex: 0 0 auto; gap: 12px; }
.feedlix-switch-label { display: inline-flex; cursor: pointer; }

.feedlix-channel-status-list { display: grid; gap: 7px; }
.feedlix-channel-status-list > div { display: grid; grid-template-columns: minmax(105px,1fr) auto; align-items: center; gap: 5px 8px; }
.feedlix-channel-status-list > div > span:first-child { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.feedlix-channel-status-list small { grid-column: 1 / -1; color: #8a94a6; font-size: 9px; }

.feedlix-publish-target { display: flex; min-width: 0; flex-direction: column; gap: 13px; padding: 17px; border: 1px solid var(--feedlix-border); border-radius: 11px; background: #fff; }
.feedlix-publish-target-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.feedlix-publish-target-head strong, .feedlix-publish-target-head small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feedlix-publish-target-head strong { color: var(--feedlix-ink); font-size: 13px; }
.feedlix-publish-target-head small { margin-top: 3px; color: #8a94a6; font-size: 10px; }
.feedlix-publish-target-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: #667085; font-size: 10px; }
.feedlix-publish-error { margin: 0; padding: 9px 10px; border-radius: 7px; background: #fff4f5; color: #b42335; font-size: 11px; line-height: 1.5; }
.feedlix-manual-panel { border-top: 1px solid #edf0f4; padding-top: 11px; }
.feedlix-manual-panel summary { display: flex; align-items: center; gap: 7px; color: #3867c8; font-size: 11px; font-weight: 650; cursor: pointer; list-style: none; }
.feedlix-manual-panel summary::-webkit-details-marker { display: none; }
.feedlix-manual-panel.is-danger summary { color: #b42335; }
.feedlix-manual-form { display: grid; gap: 13px; margin-top: 14px; padding: 14px; border-radius: 9px; background: #f8fafc; }
.feedlix-manual-form .kt-input, .feedlix-manual-form .kt-textarea { background: #fff; }

.feedlix-dashboard-count { display: flex; min-width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 8px; background: #eef4ff; color: #3569c8; font-size: 14px; font-weight: 700; }
.feedlix-next-scheduled { display: flex; align-items: center; gap: 13px; }
.feedlix-next-scheduled > span:last-child { display: grid; min-width: 0; gap: 3px; }
.feedlix-next-scheduled small, .feedlix-next-scheduled span span { color: #8a94a6; font-size: 10px; }
.feedlix-next-scheduled a { overflow: hidden; color: var(--feedlix-ink); font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.feedlix-activity-list { min-height: 135px; }
.feedlix-activity-list > a { display: flex; align-items: center; gap: 11px; padding: 12px 18px; border-bottom: 1px solid #edf0f4; }
.feedlix-activity-list > a:last-child { border-bottom: 0; }
.feedlix-activity-list > a:hover { background: #fafbff; }
.feedlix-activity-list > a > span:last-child { display: grid; gap: 3px; }
.feedlix-activity-list strong, .feedlix-activity-list small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feedlix-activity-list strong { color: var(--feedlix-ink); font-size: 11px; font-weight: 650; }
.feedlix-activity-list small { max-width: 270px; color: #8a94a6; font-size: 9px; }
.feedlix-activity-empty { display: flex; min-height: 135px; align-items: center; justify-content: center; padding: 24px; color: #8a94a6; font-size: 11px; text-align: center; }
.feedlix-log-details summary { color: #667085; font-size: 10px; font-weight: 600; cursor: pointer; }
.feedlix-log-details pre { max-height: 220px; margin-top: 8px; overflow: auto; padding: 10px; border: 1px solid #e5e9f0; border-radius: 7px; background: #f8fafc; color: #344054; font-size: 9px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }

.feedlix-meta-notice { border-color: #cfe0f7; background: #f7faff; box-shadow: none; }
.feedlix-channel-summary-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.feedlix-platform-icon { display: inline-flex; width: 40px; height: 40px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: 11px; background: #eef2f7; color: #667085; font-size: 18px; }
.feedlix-platform-icon.is-facebook { background: #edf4ff; color: #1877f2; }
.feedlix-platform-icon.is-instagram { background: #fff1f7; color: #c13584; }
.feedlix-meta-channel-table { min-width: 1420px; }
.feedlix-meta-page-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.feedlix-meta-page-card { border-color: #dfe4ec; box-shadow: 0 1px 2px rgba(16,24,40,.035); }
.feedlix-meta-page-card .kt-card-content { display: grid; gap: 22px; }
.feedlix-meta-link-status { display: flex; align-items: flex-start; gap: 11px; padding: 13px; border: 1px solid #e5e9f0; border-radius: 9px; background: #fafbfc; color: #667085; }
.feedlix-meta-link-status.is-linked { border-color: #b9e8cf; background: #f4fbf7; color: #22845a; }
.feedlix-meta-link-status > i { margin-top: 1px; font-size: 17px; }
.feedlix-meta-link-status > span { display: grid; gap: 3px; }
.feedlix-meta-link-status strong { color: var(--feedlix-ink); font-size: 12px; }
.feedlix-meta-link-status small { color: #667085; font-size: 10px; line-height: 1.45; }
.feedlix-channel-option { display: grid; grid-template-columns: auto 40px minmax(0,1fr); align-items: center; gap: 11px; padding: 12px; border: 1px solid var(--feedlix-border); border-radius: 9px; background: #fff; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.feedlix-channel-option:hover { border-color: #b8c8e7; background: #fafcff; }
.feedlix-channel-option > span:last-child { display: grid; min-width: 0; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 3px 8px; }
.feedlix-channel-option strong, .feedlix-channel-option small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feedlix-channel-option strong { color: var(--feedlix-ink); font-size: 12px; }
.feedlix-channel-option small { grid-column: 1; color: #667085; font-size: 10px; }
.feedlix-channel-option .kt-badge { grid-column: 2; grid-row: 1 / span 2; }
.feedlix-unavailable-channels { display: grid; gap: 9px; margin-top: 4px; padding-top: 14px; border-top: 1px solid #edf0f4; }
.feedlix-unavailable-channels > strong { color: #667085; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.feedlix-unavailable-channels > div { display: grid; gap: 2px; padding: 10px 11px; border: 1px dashed #d9dee7; border-radius: 8px; background: #fafbfc; }
.feedlix-unavailable-channels span { color: #475467; font-size: 11px; font-weight: 600; }
.feedlix-unavailable-channels small { color: #8a94a6; font-size: 9px; line-height: 1.45; }

.feedlix-inbox-filter-grid { display: grid; grid-template-columns: minmax(230px,1.5fr) repeat(5,minmax(135px,1fr)); gap: 14px; align-items: end; padding: 20px; }
.feedlix-inbox-filter-actions { display: flex; gap: 8px; grid-column: 1 / -1; justify-content: flex-end; padding-top: 4px; }
.feedlix-inbox-layout { display: grid; grid-template-columns: minmax(360px,.85fr) minmax(0,1.35fr); gap: 20px; align-items: start; }
.feedlix-inbox-list-card, .feedlix-inbox-preview { min-width: 0; overflow: hidden; }
.feedlix-inbox-list { max-height: 720px; overflow-y: auto; }
.feedlix-inbox-comment { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--feedlix-border); color: inherit; }
.feedlix-inbox-comment:hover, .feedlix-inbox-comment.is-active { background: #f8faff; }
.feedlix-inbox-comment.is-active { box-shadow: inset 3px 0 #2f7df6; }
.feedlix-inbox-comment-copy { display: grid; min-width: 0; gap: 7px; }
.feedlix-inbox-comment-copy > span { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; }
.feedlix-inbox-comment-copy strong, .feedlix-inbox-comment-copy small, .feedlix-inbox-comment-copy p { overflow: hidden; text-overflow: ellipsis; }
.feedlix-inbox-comment-copy strong { color: var(--feedlix-ink); font-size: 12px; white-space: nowrap; }
.feedlix-inbox-comment-copy small { color: #8a94a6; font-size: 9px; white-space: nowrap; }
.feedlix-inbox-comment-copy p { margin: 0; color: #475467; font-size: 11px; line-height: 1.55; }
.feedlix-inbox-empty { display: flex; min-height: 310px; align-items: center; justify-content: center; flex-direction: column; padding: 30px; color: #8a94a6; text-align: center; }
.feedlix-inbox-empty.is-compact { min-height: 180px; }
.feedlix-inbox-empty > i { margin-bottom: 12px; color: #aab2c0; font-size: 34px; }
.feedlix-inbox-empty h3 { color: var(--feedlix-ink); font-size: 14px; font-weight: 650; }
.feedlix-inbox-empty p { max-width: 330px; margin-top: 6px; font-size: 11px; line-height: 1.55; }
.feedlix-inbox-author { display: flex; min-width: 0; align-items: center; gap: 12px; }
.feedlix-inbox-author > span:nth-child(2) { display: grid; min-width: 0; flex: 1; gap: 3px; }
.feedlix-inbox-author strong { overflow: hidden; color: var(--feedlix-ink); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.feedlix-inbox-author small { color: #8a94a6; font-size: 10px; }
.feedlix-comment-quote { margin: 0; padding: 16px; border-left: 3px solid #8bb8ff; border-radius: 0 9px 9px 0; background: #f7faff; color: #344054; font-size: 12px; line-height: 1.7; white-space: pre-wrap; }
.feedlix-comment-quote.is-large { padding: 19px; font-size: 14px; }
.feedlix-inbox-context { display: grid; gap: 13px; }
.feedlix-inbox-context > div { display: grid; gap: 4px; padding-bottom: 12px; border-bottom: 1px solid #edf0f4; }
.feedlix-inbox-context > div:last-child { padding-bottom: 0; border-bottom: 0; }
.feedlix-inbox-context span { color: #8a94a6; font-size: 9px; letter-spacing: .03em; text-transform: uppercase; }
.feedlix-inbox-context strong { color: var(--feedlix-ink); font-size: 11px; font-weight: 600; }
.feedlix-inbox-draft-preview { display: grid; gap: 10px; padding-top: 15px; border-top: 1px solid #edf0f4; }
.feedlix-inbox-draft-preview h3 { color: var(--feedlix-ink); font-size: 12px; font-weight: 650; }
.feedlix-inbox-draft-preview > div { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 11px; border: 1px solid #e7ebf1; border-radius: 8px; }
.feedlix-inbox-draft-preview > div > span:first-child { display: grid; min-width: 0; gap: 3px; }
.feedlix-inbox-draft-preview strong { color: #475467; font-size: 10px; line-height: 1.45; }
.feedlix-inbox-draft-preview small, .feedlix-inbox-draft-preview p { color: #8a94a6; font-size: 9px; }
.feedlix-reply-detail-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(280px,.75fr); gap: 20px; align-items: start; }
.feedlix-reply-draft-card { display: grid; gap: 14px; padding: 16px; border: 1px solid #e3e7ed; border-radius: 10px; background: #fff; }
.feedlix-reply-draft-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.feedlix-reply-draft-head > span:first-child { display: grid; gap: 3px; }
.feedlix-reply-draft-head strong { color: var(--feedlix-ink); font-size: 11px; }
.feedlix-reply-draft-head small { color: #8a94a6; font-size: 9px; }
.feedlix-reply-draft-card > p { margin: 0; color: #344054; font-size: 12px; line-height: 1.65; white-space: pre-wrap; }
.feedlix-reply-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; padding-top: 2px; }
.feedlix-reply-actions .feedlix-manual-panel { width: 100%; }
.feedlix-reply-timeline { display: grid; gap: 0; }
.feedlix-reply-timeline > div { position: relative; display: grid; grid-template-columns: 14px minmax(0,1fr); gap: 10px; padding-bottom: 18px; }
.feedlix-reply-timeline > div:not(:last-child)::before { position: absolute; top: 10px; bottom: 0; left: 5px; width: 1px; background: #dfe4ec; content: ''; }
.feedlix-timeline-dot { position: relative; z-index: 1; display: block; width: 11px; height: 11px; margin-top: 3px; border: 3px solid #dbe9ff; border-radius: 50%; background: #2f7df6; }
.feedlix-timeline-dot.is-danger { border-color: #ffe0e4; background: #d92d45; }
.feedlix-reply-timeline > div > span:last-child { display: grid; gap: 4px; }
.feedlix-reply-timeline strong { color: var(--feedlix-ink); font-size: 10px; }
.feedlix-reply-timeline small { color: #8a94a6; font-size: 9px; }
.feedlix-reply-timeline p { margin: 2px 0 0; color: #b42335; font-size: 9px; line-height: 1.45; }
.feedlix-content-inbox-summary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-bottom: 16px; }
.feedlix-content-inbox-summary > div { display: grid; gap: 5px; padding: 13px; border: 1px solid #e5e9f0; border-radius: 8px; background: #fafbfc; }
.feedlix-content-inbox-summary span { color: #8a94a6; font-size: 9px; text-transform: uppercase; }
.feedlix-content-inbox-summary strong { color: var(--feedlix-ink); font-size: 17px; }
.feedlix-content-comment-list { display: grid; gap: 8px; }
.feedlix-content-comment-list > a { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; align-items: center; gap: 11px; padding: 10px; border: 1px solid #e7ebf1; border-radius: 8px; }
.feedlix-content-comment-list .feedlix-platform-icon { width: 36px; height: 36px; }
.feedlix-content-comment-list > a > span:nth-child(2) { display: grid; min-width: 0; gap: 3px; }
.feedlix-content-comment-list strong, .feedlix-content-comment-list small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feedlix-content-comment-list strong { color: var(--feedlix-ink); font-size: 11px; }
.feedlix-content-comment-list small { color: #667085; font-size: 9px; }

.feedlix-offline-page { min-height: 100%; margin: 0; background: #f5f7fa; color: var(--feedlix-ink); }
.feedlix-offline-shell { display: flex; min-height: 100dvh; align-items: center; justify-content: center; padding: max(24px,env(safe-area-inset-top)) 20px max(24px,env(safe-area-inset-bottom)); }
.feedlix-offline-card { width: 100%; max-width: 480px; padding: 44px 36px; border: 1px solid var(--feedlix-border); border-radius: 16px; background: #fff; box-shadow: 0 16px 50px rgba(23,32,51,.08); text-align: center; }
.feedlix-offline-logo { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 16px; }
.feedlix-offline-card h1 { margin: 12px 0 10px; color: var(--feedlix-ink); font-size: 28px; font-weight: 700; letter-spacing: -.035em; }
.feedlix-offline-card p { margin: 0 auto 26px; color: var(--feedlix-muted); font-size: 14px; line-height: 1.7; }
.feedlix-offline-retry { min-height: 44px; justify-content: center; }

@media (display-mode: standalone) {
    body.antialiased { --header-height: calc(58px + env(safe-area-inset-top)); }
    #header_container { padding-top: env(safe-area-inset-top); }
    .feedlix-app-scroll { padding-bottom: env(safe-area-inset-bottom); }
}

@media (min-width: 1024px) {
    .feedlix-sheet-table th:first-child, .feedlix-sheet-table td:first-child,
    .feedlix-sheet-table th:nth-child(2), .feedlix-sheet-table td:nth-child(2),
    .feedlix-sheet-table th:last-child, .feedlix-sheet-table td:last-child { position: sticky; background: #fff; }
    .feedlix-sheet-table th:first-child, .feedlix-sheet-table td:first-child { left: 0; z-index: 4; }
    .feedlix-sheet-table th:nth-child(2), .feedlix-sheet-table td:nth-child(2) { left: 52px; z-index: 3; box-shadow: 8px 0 12px -12px rgba(16,24,40,.45); }
    .feedlix-sheet-table th:last-child, .feedlix-sheet-table td:last-child { right: 0; z-index: 3; box-shadow: -8px 0 12px -12px rgba(16,24,40,.45); }
    .feedlix-sheet-table thead th:first-child, .feedlix-sheet-table thead th:nth-child(2), .feedlix-sheet-table thead th:last-child { z-index: 6; background: #f7f8fa; }
    .feedlix-sheet-table tbody tr:hover td:first-child, .feedlix-sheet-table tbody tr:hover td:nth-child(2), .feedlix-sheet-table tbody tr:hover td:last-child { background: #fafbff; }
}

@media (max-width: 1280px) {
    .feedlix-filter-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .feedlix-filter-search { grid-column: span 2; }
    .feedlix-inbox-filter-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .feedlix-inbox-search { grid-column: span 2; }
}

@media (max-width: 900px) {
    .feedlix-filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .feedlix-filter-footer { align-items: stretch; flex-direction: column; }
    .feedlix-filter-date-range { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .feedlix-filter-actions { justify-content: flex-end; }
    .feedlix-list-toolbar { align-items: flex-start; flex-direction: column; }
    .feedlix-compact-filters { width: 100%; justify-content: flex-start; }
    .feedlix-compact-search { flex: 1 1 240px; width: auto; }
    .feedlix-meta-page-grid { grid-template-columns: 1fr; }
}

@media (min-width: 1024px) {
    .feedlix-main-column { margin-left: 260px; }
}

@media (max-width: 1100px) {
    .feedlix-auth-shell { grid-template-columns: 380px 1fr; }
    .feedlix-auth-brand-panel { padding-left: 38px; padding-right: 38px; }
    .feedlix-auth-form-panel { padding: 32px; }
    .feedlix-metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 767px) {
    .feedlix-auth-shell { display: block; }
    .feedlix-auth-brand-panel { display: none; }
    .feedlix-auth-form-panel { min-height: 100vh; align-items: flex-start; padding: 28px 18px; }
    .feedlix-auth-mobile-brand { display: block; }
    .feedlix-auth-card .kt-card-content, .feedlix-organization-card .kt-card-content { padding: 26px 20px; }
    .feedlix-form-grid { grid-template-columns: 1fr; }
    .feedlix-grid-full { grid-column: auto; }
    .feedlix-header { align-items: center; padding: 11px 16px; }
    .feedlix-plan-pill, .feedlix-user-summary { display: none; }
    .feedlix-content { padding: 22px 16px 38px; }
    .feedlix-app-panel { margin: 12px; border-radius: 10px; }
    .feedlix-app-content { padding-inline: 16px; }
    .feedlix-page-header { align-items: stretch; }
    .feedlix-page-actions { width: 100%; justify-content: flex-start; }
    .feedlix-page-actions .kt-btn { margin-left: auto; }
    .feedlix-filter-toolbar { padding: 16px; }
    .feedlix-filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .feedlix-filter-footer { margin-top: 16px; padding-top: 16px; }
    .feedlix-sheet-header { min-height: 58px; padding: 12px 14px; }
    .feedlix-sheet-header > span { display: none; }
    .feedlix-page-stack .kt-card-footer { flex-wrap: wrap; }
    .feedlix-automation-content { align-items: flex-start; flex-direction: column; }
    .feedlix-automation-control { width: 100%; justify-content: space-between; }
    .feedlix-publish-target-head { align-items: flex-start; }
    .feedlix-page-heading { align-items: flex-start; flex-direction: column; gap: 13px; }
    .feedlix-page-heading h1 { font-size: 23px; }
    .feedlix-metrics-grid, .feedlix-dashboard-grid, .feedlix-action-grid { grid-template-columns: 1fr; }
    .feedlix-org-overview { min-height: auto; grid-template-columns: 1fr; }
    .feedlix-action-card { grid-template-columns: 42px minmax(0,1fr); }
    .feedlix-action-card .feedlix-coming-badge { display: none; }
    .feedlix-inbox-layout, .feedlix-reply-detail-grid { grid-template-columns: minmax(0,1fr); }
    .feedlix-inbox-list { max-height: none; }
    .feedlix-sheet-scroll, .feedlix-table-scroll { -webkit-overflow-scrolling: touch; }
    .feedlix-sheet-table th:nth-child(2), .feedlix-sheet-table td:nth-child(2),
    .feedlix-sheet-table th:last-child, .feedlix-sheet-table td:last-child { position: sticky; background: #fff; }
    .feedlix-sheet-table th:nth-child(2), .feedlix-sheet-table td:nth-child(2) { left: 0; z-index: 3; box-shadow: 8px 0 12px -12px rgba(16,24,40,.45); }
    .feedlix-sheet-table th:last-child, .feedlix-sheet-table td:last-child { right: 0; z-index: 3; box-shadow: -8px 0 12px -12px rgba(16,24,40,.45); }
    .feedlix-sheet-table thead th:nth-child(2), .feedlix-sheet-table thead th:last-child { z-index: 5; background: #f7f8fa; }
    .feedlix-page-actions .kt-btn, .feedlix-inbox-preview .kt-btn, .feedlix-filter-actions .kt-btn, .feedlix-inbox-filter-actions .kt-btn, .feedlix-form-actions .kt-btn, .kt-card-footer.justify-end .kt-btn { min-height: 44px; }
    .feedlix-inbox-preview .kt-card-header { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
}

@media (max-width: 560px) {
    .feedlix-channel-summary-grid { grid-template-columns: minmax(0,1fr); }
    .feedlix-inbox-filter-grid { grid-template-columns: minmax(0,1fr); }
    .feedlix-inbox-search { grid-column: auto; }
    .feedlix-inbox-filter-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .feedlix-inbox-filter-actions .kt-btn { width: 100%; justify-content: center; }
    .feedlix-content-inbox-summary { grid-template-columns: minmax(0,1fr); }
    .feedlix-filter-grid, .feedlix-filter-date-range { grid-template-columns: minmax(0,1fr); }
    .feedlix-filter-search { grid-column: auto; }
    .feedlix-filter-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .feedlix-filter-actions > :only-child { grid-column: 1 / -1; }
    .feedlix-filter-actions .kt-btn { width: 100%; justify-content: center; }
    .feedlix-page-actions { align-items: stretch; flex-direction: column; }
    .feedlix-page-actions .kt-btn { width: 100%; margin-left: 0; justify-content: center; }
    .feedlix-compact-filters { display: grid; grid-template-columns: 1fr; }
    .feedlix-compact-search, .feedlix-compact-select, .feedlix-compact-filters .kt-btn { width: 100%; }
    .feedlix-compact-filters .kt-btn { justify-content: center; }
    .feedlix-automation-copy { align-items: flex-start; }
    .feedlix-channel-option { grid-template-columns: auto 36px minmax(0,1fr); }
    .feedlix-channel-option .feedlix-platform-icon { width: 36px; height: 36px; }
    .feedlix-channel-option > span:last-child { grid-template-columns: minmax(0,1fr); }
    .feedlix-channel-option .kt-badge { width: max-content; grid-column: 1; grid-row: auto; }
    .feedlix-offline-card { padding: 36px 22px; }
}
