:root {
    --ink: #151b2d;
    --muted: #748096;
    --muted-light: #98a2b3;
    --surface: #ffffff;
    --background: #f5f7fb;
    --border: #e6eaf1;
    --purple: #6248ff;
    --purple-dark: #4d35e5;
    --platform-accent: #9482ff;
    --sidebar: #151a2a;
    --sidebar-muted: #aeb5c8;
    --green: #158b5e;
    --shadow: 0 10px 34px rgba(24, 31, 55, .055);
    --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --display-font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; color: var(--ink); background: var(--background); font: 14px/1.45 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
.application-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 5; top: 0; left: 0; bottom: 0; width: 260px; display: flex; flex-direction: column; background: var(--sidebar); color: var(--sidebar-muted); }
.brand-lockup { min-height: 86px; padding: 0 18px; display: flex; align-items: center; gap: 11px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand-icon, .auth-brand > span { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: white; background: var(--purple); }
.brand-lockup > div, .sidebar-account > div { min-width: 0; }
.brand-lockup strong, .auth-brand strong { display: block; color: white; font-size: 18px; letter-spacing: -.5px; }
.brand-lockup strong span, .auth-brand strong span, .mobile-header > strong span { color: var(--platform-accent); }
.brand-lockup small, .auth-brand small { display: block; margin-top: 2px; color: #929bb0; font-size: 10px; }
.brand-icon > img, .auth-brand > span > img { width: 30px; height: 30px; object-fit: contain; }
.platform-wordmark { min-width: 0; display: grid; gap: 3px; }
.platform-logo { width: auto; max-width: 185px; max-height: 39px; display: block; object-fit: contain; object-position: left center; }
.platform-login-wordmark .platform-logo { max-width: min(270px, 72vw); max-height: 74px; }
.platform-mobile-logo { width: auto; max-width: 164px; max-height: 35px; object-fit: contain; }
.side-navigation { flex: 1; overflow-y: auto; padding: 17px 12px; scrollbar-width: thin; scrollbar-color: #41485c transparent; }
.navigation-group { margin-bottom: 17px; }
.navigation-group > p { margin: 0 0 5px; padding-left: 10px; color: #747d91; font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.navigation-link { min-height: 39px; padding: 0 10px; display: flex; align-items: center; gap: 10px; border-radius: 7px; }
.navigation-link:hover { color: white; background: rgba(255,255,255,.06); }
.navigation-link.navigation-active { color: white; background: var(--purple); }
.navigation-link > span { flex: 1; }
.pending-indicator { width: 5px; height: 5px; border-radius: 50%; background: #778096; }
.sidebar-account { min-height: 76px; padding: 12px 13px; display: flex; align-items: center; gap: 9px; border-top: 1px solid rgba(255,255,255,.08); }
.avatar { width: 36px; height: 36px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #e4dfff; color: #5740db; font-size: 12px; font-weight: 700; }
.sidebar-account > div { flex: 1; }
.sidebar-account > div strong, .sidebar-account > div small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-account > div strong { color: white; font-size: 12px; }
.sidebar-account > div small { margin-top: 3px; font-size: 10px; }
.logout-button { width: 31px; height: 31px; display: grid; place-items: center; border: 0; background: none; color: #98a2b3; }
.logout-button:hover { color: white; }
.main-content { min-height: 100vh; margin-left: 260px; }
.content-container { max-width: 1270px; margin: 0 auto; padding: 41px 44px 65px; }
.mobile-header, .mobile-menu-close, .sidebar-overlay { display: none; }
.eyebrow { margin: 0 0 6px; color: var(--purple); font-size: 10px; font-weight: 700; letter-spacing: 1px; }
.page-header { min-height: 80px; margin-bottom: 27px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.page-header h1, .business-profile h1 { margin: 0; font-family: var(--display-font); font-size: 29px; font-weight: 720; letter-spacing: -.7px; line-height: 1.2; }
.page-header > div > p:last-child, .business-profile > div > p:last-child { margin: 7px 0 0; color: var(--muted); }
.button { min-height: 41px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 8px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.button-primary { color: white; background: var(--purple); }
.button-primary:hover { background: var(--purple-dark); }
.button-secondary { color: var(--purple); background: #f0edff; }
.button-secondary:hover { background: #e7e2ff; }
.button-ghost { background: transparent; color: #596275; }
.button-ghost:hover { background: #eff1f6; }
.button-danger-outline { color: #c73f4b; background: white; border: 1px solid #f0c4c8; }
.icon-button { width: 37px; height: 37px; display: grid; place-items: center; border: 0; border-radius: 8px; background: none; color: var(--muted); }
.icon-button:hover { background: #eff1f6; }
.flash { min-height: 44px; margin-bottom: 16px; padding: 10px 13px; display: flex; align-items: center; gap: 8px; border-radius: 8px; font-size: 12px; }
.flash-success { background: #eaf7ef; color: #18744e; }
.flash-error { background: #fff0f1; color: #be3543; }
.flash-warning { background: #fff5e7; color: #95600c; }
.flash a { font-weight: 700; text-decoration: underline; }
.metrics-grid { margin-bottom: 23px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.metric-card { min-height: 108px; padding: 17px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 10px; background: white; box-shadow: var(--shadow); }
.metric-symbol { width: 43px; height: 43px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 10px; }
.metric-purple { background: #f0edff; color: var(--purple); }
.metric-orange { background: #fff3e2; color: #bd7510; }
.metric-blue { background: #eaf2ff; color: #3874d9; }
.metric-green { background: #eaf7ef; color: var(--green); }
.metric-card > div strong, .metric-card > div span { display: block; }
.metric-card > div strong { font-size: 24px; letter-spacing: -.5px; }
.metric-card > div span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: 19px; }
.panel { border: 1px solid var(--border); border-radius: 10px; background: white; box-shadow: var(--shadow); }
.business-panel, .activity-panel { min-height: 318px; padding: 19px; }
.panel-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.panel-title h2 { margin: 0; font-family: var(--display-font); font-size: 16px; }
.panel-title p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.panel-title > svg { color: var(--muted-light); }
.text-link { display: inline-flex; align-items: center; gap: 5px; color: var(--purple); font-size: 11px; font-weight: 650; white-space: nowrap; }
.empty-state { min-height: 239px; padding: 18px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.empty-symbol, .roadmap-symbol { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; color: var(--purple); background: #efecff; }
.empty-state h2, .empty-state h3 { margin: 14px 0 6px; }
.empty-state h3 { font-size: 15px; }
.empty-state > p { max-width: 345px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.empty-state > .button { margin-top: 15px; }
.large-empty { min-height: 350px; }
.small-empty { min-height: 230px; }
.small-empty > p { margin-top: 13px; }
.business-overview { margin-top: 17px; }
.business-row { min-height: 68px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #f0f2f6; }
.business-row:last-child { border-bottom: 0; }
.business-row > svg { color: var(--muted-light); }
.business-avatar { width: 41px; height: 41px; display: grid; flex: 0 0 auto; place-items: center; overflow: hidden; border-radius: 9px; color: white; font-size: 13px; font-weight: 700; }
.business-avatar img { width: 100%; height: 100%; object-fit: contain; }
.business-row-info { min-width: 0; flex: 1; }
.business-row-info strong, .business-row-info small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.business-row-info strong { font-size: 12px; }
.business-row-info small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.badge { min-height: 22px; padding: 0 8px; display: inline-flex; align-items: center; border-radius: 12px; font-size: 10px; font-weight: 650; white-space: nowrap; }
.badge-green { background: #e8f6ee; color: #187a4e; }
.badge-orange { background: #fff2dc; color: #a3690d; }
.badge-red { background: #fff0f1; color: #bd3846; }
.badge-purple { background: #f0edff; color: #5943dc; }
.badge-blue { background: #eaf2ff; color: #356ec7; }
.badge-neutral { background: #eff1f5; color: #596578; }
.timeline { margin-top: 20px; }
.timeline-item { position: relative; min-height: 54px; display: flex; align-items: flex-start; gap: 9px; }
.timeline-item:not(:last-child)::before { position: absolute; top: 10px; bottom: -1px; left: 4px; width: 1px; background: #e9ebf1; content: ""; }
.timeline-item > i { z-index: 1; width: 9px; height: 9px; margin-top: 5px; flex: 0 0 auto; border: 2px solid #ddd6ff; border-radius: 50%; background: var(--purple); }
.timeline-item > div { min-width: 0; flex: 1; }
.timeline-item strong, .timeline-item > div span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.timeline-item strong { font-size: 11px; }
.timeline-item > div span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.timeline-item time { color: var(--muted); font-size: 10px; white-space: nowrap; }
.activity-footer { min-height: 33px; display: flex; align-items: center; justify-content: center; gap: 5px; border-top: 1px solid #f0f2f6; color: var(--purple); font-size: 11px; font-weight: 650; }
.progress-banner { min-height: 91px; margin-top: 19px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid #e3dffe; border-radius: 10px; background: #f7f5ff; }
.progress-banner > div { display: flex; align-items: center; gap: 11px; }
.progress-banner > div > span { width: 40px; height: 40px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 10px; color: var(--purple); background: #e9e4ff; }
.progress-banner h3 { margin: 0; font-size: 12px; }
.progress-banner p { margin: 4px 0 0; color: #656888; font-size: 10px; }
.progress-banner > small, .version-chip { padding: 6px 9px; border-radius: 6px; background: #eae6ff; color: var(--purple); font-size: 10px; font-weight: 700; white-space: nowrap; }
.list-toolbar { min-height: 58px; margin-bottom: 13px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.list-toolbar > span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.search-form { width: min(420px, 77%); min-height: 42px; padding: 0 11px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 8px; color: var(--muted); background: white; }
.search-form > input:not([type=hidden]) { width: 100%; border: 0; outline: 0; }
.business-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.business-card { min-height: 218px; padding: 17px; display: block; border: 1px solid var(--border); border-radius: 10px; background: white; box-shadow: var(--shadow); }
.business-card:hover { border-color: #c9c0ff; transform: translateY(-1px); }
.business-card-top { display: flex; align-items: flex-start; justify-content: space-between; }
.avatar-large { width: 47px; height: 47px; font-size: 14px; }
.business-card h2 { margin: 15px 0 4px; font-size: 14px; }
.business-card > p { margin: 0; color: var(--muted); font-size: 11px; }
.business-location { min-height: 33px; display: flex; align-items: center; gap: 5px; overflow: hidden; color: var(--muted); font-size: 10px; white-space: nowrap; }
.business-card-bottom { min-height: 36px; margin-top: 9px; display: flex; align-items: center; gap: 12px; border-top: 1px solid #f0f2f6; }
.business-card-bottom > span, .business-card-bottom > strong { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; }
.business-card-bottom > span { color: var(--muted); }
.business-card-bottom > strong { margin-left: auto; color: var(--purple); }
.catalog-summary { margin-bottom: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.catalog-summary-card { min-height: 106px; padding: 19px 20px; display: flex; align-items: center; gap: 15px; border-radius: 13px; }
.catalog-summary-icon { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 13px; }
.catalog-summary-copy { min-width: 0; }
.catalog-summary-copy strong, .catalog-summary-copy small { display: block; }
.catalog-summary-copy strong { margin-top: 4px; color: var(--ink); font-size: 25px; line-height: 1.1; letter-spacing: -.6px; }
.catalog-summary-copy small { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.catalog-filters { margin-bottom: 22px; padding: 14px; display: grid; grid-template-columns: minmax(220px, 1.2fr) minmax(170px, .8fr) minmax(155px, .75fr) auto; gap: 11px; align-items: center; border-radius: 13px; }
.catalog-search, .catalog-select-control { min-width: 0; min-height: 46px; padding: 0 13px; display: flex; align-items: center; gap: 10px; border: 1px solid #e2e6ef; border-radius: 9px; color: #8290a4; background: #fbfcff; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.catalog-search:focus-within, .catalog-select-control:focus-within { border-color: #a69bff; background: white; box-shadow: 0 0 0 3px rgba(98,72,255,.08); }
.catalog-search > svg, .catalog-select-control > svg { flex: 0 0 auto; color: #748198; }
.catalog-search input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.catalog-search input::placeholder { color: #97a2b3; }
.catalog-select-control > select { width: 100%; min-width: 0; min-height: 44px; padding: 0; overflow: hidden; appearance: none; border: 0; outline: 0; color: #49556a; background: transparent; font-size: 11px; text-overflow: ellipsis; cursor: pointer; }
.catalog-select-arrow { display: grid; flex: 0 0 auto; place-items: center; color: #8290a4; pointer-events: none; }
.catalog-select-arrow > svg { transform: rotate(90deg); }
.catalog-filter-button { min-height: 46px; padding-right: 17px; padding-left: 17px; border-radius: 9px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.catalog-card { overflow: hidden; display: flex; flex-direction: column; }
.catalog-image { position: relative; min-height: 166px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #f5f3ff, #edf2fb); }
.catalog-image.has-image { background: #eef1f7; }
.catalog-image > img { width: 100%; height: 166px; display: block; object-fit: cover; }
.catalog-image > span:first-child:not(.badge) { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 17px; color: var(--catalog-brand, var(--purple)); background: rgba(255,255,255,.84); }
.catalog-status { position: absolute; top: 10px; right: 10px; box-shadow: 0 3px 10px rgba(25,30,45,.1); }
.catalog-card-content { min-height: 191px; padding: 15px; flex: 1; }
.catalog-business { display: flex; align-items: center; gap: 6px; overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.catalog-business > span { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; }
.catalog-card-content h2 { margin: 10px 0 4px; overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.catalog-category { margin: 0; color: var(--purple); font-size: 10px; font-weight: 650; }
.catalog-description { min-height: 33px; margin: 9px 0; display: -webkit-box; overflow: hidden; color: #687286; font-size: 10px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.catalog-price { min-height: 34px; margin-top: 11px; display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.catalog-price > strong { color: var(--ink); font-size: 17px; letter-spacing: -.25px; }
.catalog-price > small, .catalog-price > del { color: var(--muted); font-size: 10px; }
.catalog-discount { padding: 3px 6px; border-radius: 5px; color: #18744e; background: #eaf7ef; font-size: 10px; font-weight: 700; }
.catalog-meta { min-height: 24px; display: flex; align-items: center; gap: 6px; overflow: hidden; color: #667185; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.catalog-meta > svg { flex: 0 0 auto; color: #8290a6; }
.catalog-card-actions { min-height: 55px; padding: 6px 10px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #edf0f5; }
.catalog-card-actions .button { min-height: 34px; padding: 0 9px; }
.catalog-form { display: grid; gap: 17px; }
.catalog-image-section .section-heading { margin-bottom: 17px; }
.image-guidelines { margin-bottom: 15px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.image-guideline { min-height: 76px; padding: 12px; display: flex; align-items: center; gap: 9px; border: 1px solid #e9ecf3; border-radius: 9px; background: #fafbfe; }
.image-guideline > span { width: 34px; height: 34px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 9px; color: var(--purple); background: #efecff; }
.image-guideline > div { min-width: 0; }
.image-guideline strong, .image-guideline small { display: block; }
.image-guideline strong { color: var(--ink); font-size: 10px; line-height: 1.35; }
.image-guideline small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.catalog-upload { position: relative; min-height: 154px; padding: 19px; display: flex; align-items: center; gap: 17px; border: 1px dashed #ccd2e6; border-radius: 11px; background: linear-gradient(135deg, #fcfbff, #f8faff); cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.catalog-upload:hover, .catalog-upload:focus-within { border-color: #9687ff; background: #f8f6ff; }
.catalog-upload > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.catalog-upload-preview { width: 122px; height: 93px; display: grid; flex: 0 0 auto; place-items: center; overflow: hidden; border-radius: 10px; color: var(--purple); background: #efecff; }
.catalog-upload-preview > img { width: 100%; height: 100%; object-fit: cover; }
.catalog-upload-copy strong, .catalog-upload-copy small { display: block; }
.catalog-upload-copy strong { font-size: 13px; }
.catalog-upload-copy small { margin-top: 6px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.catalog-upload-chip { min-height: 31px; margin-top: 11px; padding: 0 10px; display: inline-flex; align-items: center; gap: 5px; border-radius: 7px; color: var(--purple); background: #ece8ff; font-size: 10px; font-weight: 700; }
.image-placement-note { margin-top: 15px; padding: 12px 13px; display: flex; align-items: flex-start; gap: 9px; border: 1px solid #e5e8f1; border-radius: 9px; background: #fbfcfe; }
.image-placement-note > svg { flex: 0 0 auto; color: var(--purple); }
.image-placement-note strong, .image-placement-note span { display: block; }
.image-placement-note strong { color: #354056; font-size: 10px; }
.image-placement-note span { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.image-guidelines-footnote { margin: 11px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.checkbox-field { margin-top: 12px; display: inline-flex; align-items: center; gap: 7px; color: #5d687b; font-size: 11px; }
.checkbox-field > input { width: 15px; height: 15px; margin: 0; }
[hidden] { display: none !important; }
.back-link { margin-bottom: 18px; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.business-profile { min-height: 93px; margin-bottom: 22px; display: flex; align-items: center; gap: 13px; }
.avatar-xl { width: 63px; height: 63px; border-radius: 13px; font-size: 18px; }
.business-profile > div { flex: 1; }
.business-profile h1 { font-size: 24px; }
.details-grid, .settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.details-panel { padding: 19px; }
.business-description { padding-top: 9px; color: #545e70; font-size: 12px; line-height: 1.65; }
.detail-list { margin: 16px 0 0; }
.detail-list > div { min-height: 39px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #f0f2f6; }
.detail-list > div:last-child { border-bottom: 0; }
.detail-list dt { color: var(--muted); font-size: 10px; }
.detail-list dd { max-width: 63%; margin: 0; overflow-wrap: anywhere; color: #354054; font-size: 10px; text-align: right; }
.swatch-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.swatch > span { height: 41px; display: block; border-radius: 6px; }
.swatch > strong, .swatch > small { display: block; margin-top: 6px; font-size: 10px; }
.swatch > small { margin-top: 2px; color: var(--muted); }
.font-summary { margin-top: 16px; padding-top: 13px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; border-top: 1px solid #f0f2f6; }
.font-summary small, .font-summary strong { display: block; }
.font-summary small { color: var(--muted); font-size: 10px; }
.font-summary strong { margin-top: 5px; font-size: 12px; }
.logo-upload-guide { margin-top: 18px; padding-top: 16px; border-top: 1px solid #f0f2f6; }
.logo-upload-guide h3 { margin: 0; color: #293348; font-size: 12px; }
.logo-upload-guide > div > p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.logo-specifications { margin-top: 11px; padding: 11px 12px; display: grid; gap: 7px; border: 1px solid #e8eaf5; border-radius: 8px; background: #f8f9fd; }
.logo-specifications > span { display: flex; align-items: center; gap: 7px; color: #637086; font-size: 9px; line-height: 1.5; }
.logo-specifications > span > svg { flex: 0 0 auto; color: var(--purple); }
.logo-specifications strong { color: #354054; font-weight: 650; }
.logo-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 12px; }
.logo-upload-card { min-width: 0; display: grid; gap: 8px; align-content: start; }
.logo-upload-heading { min-height: 58px; }
.logo-upload-heading > strong, .logo-upload-heading > small { display: block; }
.logo-upload-heading > strong { color: #303b50; font-size: 10px; line-height: 1.45; }
.logo-upload-heading > small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.logo-form { min-height: 96px; display: grid; place-items: center; overflow: hidden; border: 1px dashed #d7dce8; border-radius: 8px; color: var(--muted); background: #fcfcfe; }
.logo-form > label, .logo-form:not(form) { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.logo-form > label { padding: 9px; cursor: pointer; }
.logo-form img { max-width: 88%; max-height: 48px; object-fit: contain; }
.logo-form span { margin-top: 3px; font-size: 9px; text-align: center; }
.logo-form input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dark-logo { color: #d4d8e5; background: #252b3b; }
.business-logo-form-guide { align-items: flex-start; }
.business-logo-form-guide > span > strong, .business-logo-form-guide > span > small { display: block; }
.business-logo-form-guide > span > strong { color: #354054; font-size: 11px; }
.business-logo-form-guide > span > small { margin-top: 5px; line-height: 1.6; }
.tone-badge { margin-top: 17px; padding: 10px; display: flex; align-items: center; gap: 7px; border-radius: 7px; color: #563fd5; background: #f0edff; font-size: 11px; font-weight: 650; }
.network-row { min-height: 45px; display: flex; align-items: center; gap: 9px; border-bottom: 1px solid #f0f2f6; }
.network-row > span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 7px; color: #3f69d5; background: #eef2ff; font-size: 11px; font-weight: 700; }
.network-row > strong { flex: 1; font-size: 11px; }
.network-row > small { color: var(--muted); font-size: 10px; }
.network-note { margin: 13px 0 0; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 10px; }
.danger-zone { min-height: 84px; margin-top: 18px; padding: 14px 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #f2d4d7; border-radius: 9px; background: #fffafa; }
.danger-zone h2 { margin: 0; color: #bb3844; font-size: 12px; }
.danger-zone p { margin: 5px 0 0; color: #856a71; font-size: 10px; }
.form-sections { display: grid; gap: 17px; }
.form-section { padding: 20px; }
.section-heading { margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.section-heading > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 9px; color: var(--purple); background: #efecff; }
.section-heading h2 { margin: 0; font-family: var(--display-font); font-size: 15px; }
.section-heading p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: block; }
.field > span { margin-bottom: 5px; display: block; color: #414b5e; font-size: 11px; font-weight: 650; }
.field > small { margin-top: 4px; display: block; color: var(--muted); font-size: 10px; }
.field input, .field textarea, .field select { width: 100%; min-height: 40px; padding: 9px 10px; border: 1px solid #dfe3eb; border-radius: 7px; outline: 0; color: var(--ink); background: white; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #8877ff; box-shadow: 0 0 0 3px rgba(98,72,255,.09); }
.field input::placeholder, .field textarea::placeholder { color: #a1a9b8; }
.full-width { grid-column: 1 / -1; }
.brand-preview { min-height: 131px; margin-bottom: 17px; padding: 17px; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; border-radius: 9px; }
.brand-preview > span:first-child { font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.brand-preview > strong { margin-top: 5px; color: white; font-size: 19px; }
.brand-preview-button { margin-top: 8px; padding: 6px 9px; border-radius: 5px; color: white; font-size: 10px; }
.color-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.color-field > span { margin-bottom: 6px; display: block; color: #414b5e; font-size: 10px; font-weight: 650; }
.color-field > div { min-height: 39px; padding: 5px; display: flex; align-items: center; gap: 7px; border: 1px solid #dfe3eb; border-radius: 7px; }
.color-field input { width: 27px; height: 26px; padding: 0; border: 0; background: none; }
.color-field strong { color: #445065; font-size: 10px; }
.font-selectors { margin-top: 16px; }
.form-information { margin-top: 17px; padding: 10px; display: flex; align-items: flex-start; gap: 7px; border-radius: 7px; color: #687286; background: #f1f4f9; font-size: 10px; }
.form-actions { margin-top: 16px; display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.table-panel { overflow: hidden; }
.responsive-table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th { padding: 15px 13px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 10px; font-weight: 650; text-align: left; white-space: nowrap; }
td { padding: 12px 13px; border-bottom: 1px solid #f0f2f6; color: #566075; font-size: 10px; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
.table-user { display: flex; align-items: center; gap: 8px; }
.small-avatar { width: 31px; height: 31px; font-size: 10px; }
.table-user > span:last-child strong, .table-user > span:last-child small { display: block; }
.table-user > span:last-child strong { color: var(--ink); font-size: 10px; }
.table-user > span:last-child small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.table-action { padding: 4px; border: 0; background: none; color: var(--purple); font-size: 10px; font-weight: 650; }
.strong-cell { color: var(--ink); font-weight: 650; }
.table-empty { padding: 38px; color: var(--muted); text-align: center; }
.user-form-panel { margin-bottom: 18px; padding: 19px; }
.user-form { margin-top: 17px; }
.user-form-actions { margin-top: 16px; display: flex; justify-content: flex-end; gap: 8px; }
.security-features { margin-top: 19px; display: grid; gap: 11px; }
.security-features > div { display: flex; align-items: center; gap: 7px; color: #414b5d; font-size: 11px; }
.security-features > div > svg { color: var(--green); }
.password-panel { grid-column: 1 / -1; }
.password-form { max-width: 480px; margin-top: 17px; display: grid; gap: 13px; }
.password-form > .button { justify-self: start; margin-top: 2px; }
.stage-chip { padding: 7px 9px; border-radius: 6px; color: #98610e; background: #fff1d9; font-size: 10px; font-weight: 700; }
.roadmap-panel { max-width: 590px; min-height: 365px; padding: 30px; }
.roadmap-symbol { width: 52px; height: 52px; }
.roadmap-panel > h2 { margin: 20px 0 7px; font-size: 20px; }
.roadmap-panel > p { margin: 0 0 22px; color: var(--muted); line-height: 1.6; }
.roadmap-feature { margin-top: 11px; display: flex; align-items: center; gap: 8px; color: #465064; font-size: 11px; }
.roadmap-feature > svg { color: var(--green); }
.roadmap-notice { margin-top: 23px; padding: 10px; display: flex; align-items: center; gap: 7px; border-radius: 7px; color: #5842ce; background: #f0edff; font-size: 10px; }
.guest-body { min-height: 100vh; padding: 35px 15px; display: grid; place-items: center; background: #f1f3fa; }
.guest-main { width: min(510px, 100%); }
.guest-main:has(.install-panel) { width: min(740px, 100%); }
.auth-panel { padding: 34px; border: 1px solid var(--border); border-radius: 13px; background: white; box-shadow: 0 17px 60px rgba(28, 37, 65, .09); }
.auth-brand { margin-bottom: 27px; display: flex; align-items: center; gap: 11px; }
.auth-brand strong { color: var(--ink); }
.auth-brand small { color: var(--muted); }
.auth-panel > h1 { margin: 5px 0 6px; font-family: var(--display-font); font-size: 25px; letter-spacing: -.5px; }
.auth-description { margin: 0; color: var(--muted); line-height: 1.6; }
.login-form { margin-top: 21px; display: grid; gap: 14px; }
.full-button { width: 100%; margin-top: 6px; }
.auth-footnote { margin: 17px 0 0; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 10px; }
.requirements-box { margin-top: 21px; padding: 14px; border: 1px solid #e7eaf1; border-radius: 8px; background: #fafbfe; }
.requirements-box h2 { margin: 0 0 9px; font-size: 13px; }
.requirement { min-height: 27px; display: flex; align-items: center; gap: 7px; font-size: 11px; }
.requirement > span { flex: 1; }
.requirement > small { color: var(--muted); font-size: 9px; }
.requirement-ok > svg { color: var(--green); }
.requirement-fail > svg { color: #ca424b; }
.installation-form { margin-top: 21px; }
.installation-form > h2 { margin: 20px 0 12px; font-size: 14px; }
.error-panel { min-height: 340px; padding: 30px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.error-panel > .eyebrow { margin-top: 17px; }
.error-panel h1 { margin: 4px 0; font-size: 23px; }
.error-panel > p:not(.eyebrow) { max-width: 380px; color: var(--muted); }
.error-panel > .button { margin-top: 9px; }

.post-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.post-summary .catalog-summary-card { min-height: 98px; padding: 15px; gap: 11px; }
.post-summary .catalog-summary-icon { width: 43px; height: 43px; flex-basis: 43px; }
.post-summary .catalog-summary-copy small { font-size: 10px; }
.post-summary .catalog-summary-copy strong { font-size: 22px; }
.post-filters { grid-template-columns: minmax(170px, 1.25fr) repeat(4, minmax(120px, 1fr)) auto; }
.post-list { display: grid; gap: 13px; }
.post-card { min-height: 156px; padding: 14px; display: flex; align-items: center; gap: 16px; border-radius: 12px; }
.post-card-image { width: 136px; min-height: 118px; align-self: stretch; display: grid; flex: 0 0 136px; place-items: center; overflow: hidden; border-radius: 9px; color: var(--post-brand, var(--purple)); background: linear-gradient(145deg, #f5f2ff, #edf1fa); }
.post-card-image > img { width: 100%; height: 100%; object-fit: cover; }
.post-card-copy { min-width: 0; flex: 1; }
.post-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.post-card-copy h2 { margin: 9px 0 5px; overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.post-card-copy h2 a:hover { color: var(--purple); }
.post-card-copy > p { margin: 0; display: -webkit-box; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.post-card-meta { margin-top: 12px; display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.post-card-meta > span { display: inline-flex; align-items: center; gap: 5px; color: #6d778a; font-size: 10px; }
.post-card-meta > span > svg { color: #8290a6; }
.post-card-open { flex: 0 0 auto; }
.post-editor-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(290px, .78fr); gap: 20px; align-items: start; }
.post-editor-form { display: grid; gap: 17px; }
.post-editor-form .section-heading { margin-bottom: 18px; }
.post-network-field { margin: 0; padding: 0; border: 0; }
.post-network-field > legend { margin-bottom: 8px; color: #414b5e; font-size: 11px; font-weight: 650; }
.post-network-field > small { margin-top: 8px; display: block; color: var(--muted); font-size: 10px; }
.post-network-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.post-network-choice { position: relative; cursor: pointer; }
.post-network-choice > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.post-network-choice > span { min-height: 67px; padding: 10px 11px; display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 7px; align-content: center; border: 1px solid #dfe3eb; border-radius: 8px; background: #fbfcff; }
.post-network-choice > span > svg { grid-row: 1 / 3; align-self: center; color: #7a879a; }
.post-network-choice > span > strong { color: #3f495b; font-size: 11px; }
.post-network-choice > span > small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.post-network-choice > input:checked + span { border-color: #a095ff; background: #f5f3ff; }
.post-network-choice > input:checked + span > svg, .post-network-choice > input:checked + span > strong { color: var(--purple); }
.post-network-choice > input:focus-visible + span { outline: 2px solid #a095ff; outline-offset: 2px; }
.post-relation-field[hidden] { display: none; }
.post-generator-panel { border-color: #dfdafd; background: linear-gradient(155deg, #fff, #faf9ff); }
.generator-variants { display: flex; gap: 7px; flex-wrap: wrap; }
.generator-variants > span { min-height: 28px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 7px; color: #5943dc; background: #eeeaff; font-size: 10px; font-weight: 650; }
.generator-disclaimer { margin: 14px 0; display: flex; align-items: flex-start; gap: 7px; color: #687286; font-size: 10px; line-height: 1.6; }
.generator-disclaimer > svg { flex: 0 0 auto; color: #6851ef; }
.generator-button { min-height: 43px; }
.post-form-actions { margin-top: 0; flex-wrap: wrap; }
.post-preview-aside { position: sticky; top: 23px; }
.post-preview-panel { padding: 17px; }
.post-preview-heading { display: flex; align-items: center; gap: 9px; }
.post-preview-heading > span { width: 37px; height: 37px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 9px; color: var(--purple); background: #efecff; }
.post-preview-heading > div > strong, .post-preview-heading > div > small { display: block; }
.post-preview-heading > div > strong { font-size: 12px; }
.post-preview-heading > div > small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.social-preview { margin-top: 17px; padding: 15px; overflow-wrap: anywhere; border: 1px solid #e5e8ef; border-radius: 10px; background: #fff; }
.social-preview-header { display: flex; align-items: center; gap: 9px; }
.social-preview-avatar { width: 38px; height: 38px; display: grid; flex: 0 0 auto; place-items: center; overflow: hidden; border-radius: 50%; color: white; font-size: 12px; font-weight: 700; }
.social-preview-avatar > img { width: 100%; height: 100%; object-fit: contain; }
.social-preview-header > div > strong, .social-preview-header > div > small { display: block; }
.social-preview-header > div > strong { font-size: 11px; }
.social-preview-header > div > small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.social-preview h3 { margin: 18px 0 8px; font-size: 14px; line-height: 1.4; }
.social-preview > p { margin: 0; color: #536074; font-size: 11px; line-height: 1.7; white-space: pre-wrap; }
.social-preview-tags { margin-top: 12px; display: block; color: #4f43cc; font-size: 10px; line-height: 1.65; }
.social-preview-cta { min-height: 38px; margin-top: 15px; padding: 8px 10px; display: flex; align-items: center; justify-content: center; border-radius: 7px; color: #5544c9; background: #f0edff; font-size: 10px; font-weight: 650; text-align: center; }
.preview-footnote { margin: 12px 0 0; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 9px; }
.preview-footnote > svg { color: var(--green); }
.post-status-heading { min-height: 30px; padding: 0 12px; }
.post-detail-layout { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(270px, .75fr); gap: 20px; align-items: start; }
.post-detail-main, .post-detail-sidebar { display: grid; gap: 16px; }
.post-detail-preview, .post-versions-panel, .post-visual-panel, .post-workflow-panel, .post-information-panel { padding: 19px; }
.social-preview-large { padding: 19px; }
.social-preview-large h3 { font-size: 17px; }
.social-preview-large > p { font-size: 12px; }
.social-preview-image { margin-top: 16px; overflow: hidden; border-radius: 8px; background: #edf0f7; }
.social-preview-image > img { width: 100%; max-height: 360px; display: block; object-fit: cover; }
.post-versions-grid { margin-top: 16px; display: grid; gap: 12px; }
.post-version { padding: 14px; border: 1px solid #e5e8ef; border-radius: 9px; background: #fff; }
.post-version-selected { border-color: #aaa0ff; background: #faf9ff; }
.post-version-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.post-version-heading > span { color: var(--purple); font-size: 11px; font-weight: 700; }
.post-version-heading > small { display: inline-flex; align-items: center; gap: 4px; color: #188050; font-size: 9px; font-weight: 650; }
.post-version > strong { margin-top: 5px; display: block; color: var(--muted); font-size: 10px; }
.post-version > h3 { margin: 11px 0 6px; font-size: 13px; }
.post-version > p { margin: 0; color: #596578; font-size: 10px; line-height: 1.7; }
.post-version > form { margin-top: 12px; }
.post-version > form .button { min-height: 34px; }
.post-visual-panel > p { margin: 13px 0 0; color: #596578; font-size: 11px; line-height: 1.7; }
.post-workflow-current { margin-top: 17px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.post-workflow-current > small { color: var(--muted); font-size: 9px; }
.post-review-feedback { margin-top: 13px; padding: 11px; border-radius: 8px; background: #fff4e8; }
.post-review-feedback > strong { color: #925b08; font-size: 10px; }
.post-review-feedback > p { margin: 5px 0 0; color: #735933; font-size: 10px; line-height: 1.6; }
.post-workflow-actions { margin-top: 17px; display: grid; gap: 9px; }
.post-workflow-actions > .button, .post-workflow-actions > form > .button { width: 100%; }
.post-changes-form { padding-top: 12px; border-top: 1px solid #edf0f5; }
.post-changes-form > .button { margin-top: 9px; }
.post-approved-note { margin: 15px 0 0; display: flex; align-items: flex-start; gap: 7px; color: #18744e; font-size: 10px; line-height: 1.6; }
.post-approved-note > svg { flex: 0 0 auto; }
.post-information-list { margin: 15px 0 0; }
.post-information-list > div { min-height: 38px; display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: center; gap: 8px; border-bottom: 1px solid #eff1f5; }
.post-information-list > div:last-child { border-bottom: 0; }
.post-information-list dt { color: var(--muted); font-size: 10px; }
.post-information-list dd { margin: 0; color: #465166; font-size: 10px; font-weight: 550; }
.post-private-note { padding: 8px 2px; display: flex; align-items: flex-start; gap: 7px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.post-private-note > svg { flex: 0 0 auto; color: var(--green); }

.post-schedule-panel { padding: 19px; }
.schedule-quick-form { display: grid; gap: 11px; }
.schedule-quick-form > .button { width: 100%; }
.schedule-complete-note { margin: 0; padding: 10px; display: flex; align-items: flex-start; gap: 6px; border-radius: 7px; color: #526077; background: #f4f6fa; font-size: 10px; line-height: 1.55; }
.schedule-list { margin-top: 14px; display: grid; gap: 8px; }
.schedule-list-item { min-height: 57px; padding: 8px; display: flex; align-items: center; gap: 8px; border: 1px solid #e8eaf0; border-radius: 8px; }
.schedule-network-mark { width: 31px; height: 31px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 7px; color: #5743d5; background: #efecff; font-size: 10px; font-weight: 750; }
.schedule-list-item > div:nth-child(2) { min-width: 0; flex: 1; }
.schedule-list-item > div:nth-child(2) strong, .schedule-list-item > div:nth-child(2) small { display: block; }
.schedule-list-item > div:nth-child(2) strong { font-size: 10px; }
.schedule-list-item > div:nth-child(2) small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.schedule-item-actions { display: flex; gap: 3px; }
.schedule-item-actions form { display: flex; }
.icon-button.danger { color: #c23e4c; }
.schedule-empty { margin-top: 13px; padding: 14px; border: 1px dashed #dfe3eb; border-radius: 8px; color: var(--muted); font-size: 10px; text-align: center; }
.schedule-demo-note { margin: 14px 0 0; display: flex; align-items: flex-start; gap: 6px; color: #788296; font-size: 9px; line-height: 1.55; }
.schedule-demo-note > svg { flex: 0 0 auto; color: #8b67e9; }
.schedule-edit-form { max-width: 870px; padding: 23px; }
.schedule-form-notice { margin-top: 17px; padding: 12px; display: flex; align-items: flex-start; gap: 9px; border-radius: 8px; color: #5a4bc7; background: #f2efff; }
.schedule-form-notice > svg { flex: 0 0 auto; }
.schedule-form-notice p { margin: 0; }
.schedule-form-notice strong, .schedule-form-notice span { display: block; font-size: 10px; }
.schedule-form-notice span { margin-top: 4px; color: #716b91; line-height: 1.5; }

.calendar-toolbar { margin-bottom: 12px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.calendar-navigation { display: flex; align-items: center; gap: 10px; }
.calendar-navigation > div { min-width: 185px; text-align: center; }
.calendar-navigation h2 { margin: 0; font-size: 15px; }
.calendar-navigation > div > a { margin-top: 3px; display: inline-block; color: var(--purple); font-size: 9px; font-weight: 650; }
.calendar-view-switch { padding: 3px; display: flex; border-radius: 8px; background: #f0f2f7; }
.calendar-view-switch a { min-height: 31px; padding: 0 13px; display: flex; align-items: center; border-radius: 6px; color: #6d7688; font-size: 10px; font-weight: 650; }
.calendar-view-switch a.active { color: var(--purple); background: white; box-shadow: 0 2px 7px rgba(31,39,69,.08); }
.calendar-filters { margin-bottom: 12px; padding: 13px; display: grid; grid-template-columns: repeat(3, minmax(150px, 1fr)) auto; align-items: end; gap: 10px; }
.calendar-filters .field > span { font-size: 9px; }
.calendar-month { padding: 0; overflow: hidden; }
.calendar-weekdays, .calendar-month-grid { display: grid; grid-template-columns: repeat(7, minmax(125px, 1fr)); }
.calendar-weekdays { min-width: 875px; border-bottom: 1px solid var(--border); background: #fafbfe; }
.calendar-weekdays > span { padding: 10px; color: var(--muted); font-size: 9px; font-weight: 700; text-align: center; text-transform: uppercase; }
.calendar-month-grid { min-width: 875px; }
.calendar-day { min-height: 129px; padding: 8px; border-right: 1px solid #eceef3; border-bottom: 1px solid #eceef3; background: white; }
.calendar-day:nth-child(7n) { border-right: 0; }
.calendar-day > header { display: flex; align-items: center; justify-content: space-between; }
.calendar-day > header span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #4b566a; font-size: 10px; font-weight: 650; }
.calendar-day > header small { display: none; color: var(--muted); font-size: 9px; }
.calendar-day-muted { background: #fafbfc; }
.calendar-day-muted > header span { color: #b1b7c2; }
.calendar-day-today > header span { color: white; background: var(--purple); }
.calendar-day-events { margin-top: 5px; display: grid; gap: 4px; }
.calendar-event { min-width: 0; padding: 5px; display: flex; align-items: center; gap: 5px; overflow: hidden; border: 1px solid #e6e9f0; border-left: 3px solid #7964eb; border-radius: 6px; background: #fff; }
.calendar-event-cancelled { opacity: .63; border-left-color: #a9afba; }
.calendar-event-error { border-left-color: #d6505c; }
.calendar-event-published { border-left-color: #2b9b6b; }
.calendar-event-processing { border-left-color: #d99124; }
.calendar-event > img, .calendar-event-color { width: 25px; height: 25px; flex: 0 0 auto; border-radius: 5px; object-fit: cover; }
.calendar-event-color { display: grid; place-items: center; color: white; font-size: 8px; font-weight: 750; }
.calendar-event-copy { min-width: 0; flex: 1; }
.calendar-event-copy strong, .calendar-event-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-event-copy strong { color: #313a4b; font-size: 8px; }
.calendar-event-copy small { margin-top: 2px; color: var(--muted); font-size: 7px; }
.badge-dot { width: 7px; height: 7px; display: inline-block; flex: 0 0 auto; border-radius: 50%; background: #a9afba; }
.badge-dot-blue { background: #4d79dc; }
.badge-dot-orange { background: #d99124; }
.badge-dot-green { background: #259567; }
.badge-dot-red { background: #d6505c; }
.badge-dot-neutral { background: #a9afba; }
.calendar-more { padding-left: 3px; color: var(--purple); font-size: 8px; font-weight: 650; }
.calendar-week { padding: 0; overflow-x: auto; }
.calendar-week-grid { min-width: 920px; display: grid; grid-template-columns: repeat(7, minmax(130px, 1fr)); }
.calendar-week-day { min-height: 430px; padding: 9px; border-right: 1px solid #eceef3; }
.calendar-week-day:last-child { border-right: 0; }
.calendar-week-day > header { margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.calendar-week-day > header span { color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.calendar-week-day > header strong { font-size: 15px; }
.calendar-week-day > div { display: grid; gap: 6px; }
.calendar-no-events { margin: 15px 0; color: #a0a8b7; font-size: 9px; text-align: center; }
.calendar-day-view { padding: 19px; }
.calendar-day-list { display: grid; gap: 8px; }
.calendar-day-list .calendar-event { min-height: 57px; padding: 8px; }
.calendar-day-list .calendar-event > img, .calendar-day-list .calendar-event-color { width: 39px; height: 39px; }
.calendar-day-list .calendar-event-copy strong { font-size: 11px; }
.calendar-day-list .calendar-event-copy small { font-size: 9px; }
.calendar-legend { margin-top: 11px; display: flex; align-items: center; gap: 13px; flex-wrap: wrap; color: #6d778a; font-size: 9px; }
.calendar-legend > span { display: flex; align-items: center; gap: 5px; }
.calendar-legend > small { margin-left: auto; display: flex; align-items: center; gap: 5px; }

.history-summary { margin-bottom: 13px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.history-summary > article { min-height: 78px; padding: 13px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 10px; background: white; }
.history-summary > article > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; color: var(--purple); background: #efecff; }
.history-summary strong, .history-summary small { display: block; }
.history-summary strong { font-size: 19px; }
.history-summary small { color: var(--muted); font-size: 9px; }
.history-filters { margin-bottom: 13px; padding: 13px; display: grid; grid-template-columns: minmax(180px, 1.4fr) repeat(3, minmax(115px, .8fr)) repeat(2, minmax(115px, .7fr)) auto; align-items: end; gap: 9px; }
.history-filters .field > span { font-size: 9px; }
.history-panel { overflow: hidden; }
.history-table td { vertical-align: middle; }
.history-table td strong, .history-table td small, .history-table td span, .history-table td a { display: block; }
.history-table td a { max-width: 210px; margin-top: 3px; overflow: hidden; color: var(--purple); font-weight: 650; text-overflow: ellipsis; }
.history-table td small { max-width: 210px; margin-top: 3px; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; }
.history-limit-note { margin: 10px 2px 0; display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 9px; }
.dashboard-upcoming { margin-top: 17px; padding: 18px; }
.upcoming-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.upcoming-item { min-height: 62px; padding: 8px; display: flex; align-items: center; gap: 10px; border: 1px solid #e8eaf0; border-radius: 8px; }
.upcoming-item:hover { border-color: #c8c1f9; }
.upcoming-date { width: 43px; height: 43px; display: grid; flex: 0 0 auto; place-content: center; border-radius: 8px; color: var(--purple); background: #f0edff; text-align: center; }
.upcoming-date strong, .upcoming-date small { display: block; }
.upcoming-date strong { font-size: 14px; }
.upcoming-date small { font-size: 7px; }
.upcoming-item > span:nth-child(2) { min-width: 0; flex: 1; }
.upcoming-item > span:nth-child(2) strong, .upcoming-item > span:nth-child(2) small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.upcoming-item > span:nth-child(2) strong { font-size: 10px; }
.upcoming-item > span:nth-child(2) small { margin-top: 4px; color: var(--muted); font-size: 8px; }

.library-summary { margin-bottom: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.library-summary > article { min-height: 82px; padding: 13px; display: flex; align-items: center; gap: 11px; }
.library-summary > article > span { width: 39px; height: 39px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 9px; color: var(--purple); background: #efecff; }
.library-summary > article:nth-child(2) > span { color: #3874d9; background: #eaf2ff; }
.library-summary > article:nth-child(3) > span { color: #c14f92; background: #fff0f8; }
.library-summary > article:nth-child(4) > span { color: var(--green); background: #eaf7ef; }
.library-summary > article > div { min-width: 0; }
.library-summary strong, .library-summary small { display: block; }
.library-summary strong { overflow: hidden; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.library-summary small { color: var(--muted); font-size: 9px; }
.library-upload-panel { margin-bottom: 14px; overflow: hidden; }
.library-upload-panel > summary { min-height: 72px; padding: 13px 16px; display: flex; align-items: center; gap: 10px; cursor: pointer; list-style: none; }
.library-upload-panel > summary::-webkit-details-marker { display: none; }
.library-upload-panel > summary > span { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 8px; color: var(--purple); background: #efecff; }
.library-upload-panel > summary > div { min-width: 0; flex: 1; }
.library-upload-panel > summary strong, .library-upload-panel > summary small { display: block; }
.library-upload-panel > summary strong { font-size: 12px; }
.library-upload-panel > summary small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.library-upload-panel > summary > i { color: var(--purple); }
.library-upload-form { padding: 0 16px 13px; display: grid; grid-template-columns: minmax(150px, 1fr) minmax(145px, .9fr) minmax(170px, 1.15fr) auto; align-items: end; gap: 10px; }
.library-file-input input { padding: 7px; }
.library-upload-guide { padding: 11px 16px; display: flex; gap: 14px; flex-wrap: wrap; border-top: 1px solid #edf0f5; background: #fafbfe; }
.library-upload-guide > span { display: flex; align-items: center; gap: 5px; color: #657187; font-size: 9px; }
.library-upload-guide > span > svg { color: var(--purple); }
.library-filters { margin-bottom: 15px; }
.library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.library-card { overflow: hidden; }
.library-card-preview { position: relative; height: 160px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #f5f2ff, #edf1fa); }
.library-card-preview > img, .library-card-preview > video { width: 100%; height: 100%; object-fit: cover; }
.library-card-preview > video { background: #111827; object-fit: contain; }
.library-card-category { position: absolute; top: 9px; left: 9px; max-width: calc(100% - 18px); overflow: hidden; text-overflow: ellipsis; }
.library-card-body { padding: 12px; }
.library-card-body h2 { margin: 9px 0 7px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.library-card-meta { display: flex; gap: 9px; flex-wrap: wrap; }
.library-card-meta > span { color: #526077; font-size: 9px; }
.library-card-body > small { margin-top: 8px; display: block; overflow: hidden; color: var(--muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.library-card-actions { min-height: 48px; padding: 0 7px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #edf0f5; }
.library-card-actions .button { min-height: 33px; padding: 0 8px; font-size: 9px; }
.library-delete-button { color: #bb4350; }
.library-footnote { margin: 13px 0 0; display: flex; align-items: flex-start; gap: 7px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.library-footnote > svg { flex: 0 0 auto; color: var(--green); }
.catalog-library-picker { margin: 13px 0; }

.social-integration-notice { margin: 14px 0; padding: 13px; display: flex; align-items: flex-start; gap: 10px; border: 1px solid #e0dcfc; border-radius: 9px; color: #5845ce; background: #f7f5ff; }
.social-integration-notice > svg { flex: 0 0 auto; }
.social-integration-notice strong, .social-integration-notice span { display: block; }
.social-integration-notice strong { font-size: 11px; }
.social-integration-notice span { margin-top: 3px; color: #706b91; font-size: 10px; line-height: 1.5; }
.social-connection-center { margin: 0 0 14px; padding: 19px; }
.social-connection-steps { margin-top: 15px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.social-connection-steps > article { min-width: 0; padding: 13px; display: flex; align-items: flex-start; gap: 9px; border: 1px solid #e8ebf2; border-radius: 10px; background: #fbfcfe; }
.social-connection-steps > article > span { width: 27px; height: 27px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 50%; color: white; background: var(--purple); font-size: 10px; font-weight: 700; }
.social-connection-steps > article > div { min-width: 0; }
.social-connection-steps strong { display: block; color: #344055; font-size: 10px; }
.social-connection-steps p { margin: 5px 0 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.social-connection-steps small { margin-top: 7px; display: block; color: #6b7280; font-size: 9px; line-height: 1.5; }
.social-connection-steps .text-link { margin-top: 9px; }
.social-oauth-form { margin-top: 10px; display: grid; gap: 8px; }
.social-oauth-form .field > span { font-size: 9px; }
.social-oauth-form .button { width: 100%; min-height: 36px; padding: 0 8px; font-size: 9px; }
.social-connection-center > .social-integration-notice { margin-bottom: 0; }
.social-account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.social-account-card { padding: 15px; }
.social-account-card > header { display: flex; align-items: center; gap: 10px; }
.social-network-symbol { width: 39px; height: 39px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 10px; color: #4269d6; background: #ebf0ff; font-size: 16px; font-weight: 750; }
.social-network-instagram { color: #bc4387; background: #fff0f8; }
.social-network-linkedin { color: #0966a6; background: #e9f5ff; }
.social-network-tiktok, .social-network-x { color: #202738; background: #eff1f5; }
.social-network-google_business { color: #329161; background: #eaf7ef; }
.social-network-youtube { color: #d1434d; background: #fff0f1; }
.social-account-card > header > div { min-width: 0; flex: 1; }
.social-account-card > header > div > strong, .social-account-card > header > div > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-account-card > header > div > strong { font-size: 11px; }
.social-account-card > header > div > small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.social-account-card > header > .badge { max-width: 105px; overflow: hidden; text-overflow: ellipsis; }
.social-account-card dl { margin: 14px 0 0; }
.social-account-card dl > div { min-height: 35px; display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 7px; border-top: 1px solid #f0f2f6; }
.social-account-card dt { color: var(--muted); font-size: 9px; }
.social-account-card dd { margin: 0; overflow: hidden; color: #465166; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.social-account-card dd > a { display: inline-flex; align-items: center; gap: 4px; color: var(--purple); font-weight: 650; }
.social-account-actions { margin-top: 10px; padding-top: 9px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #edf0f5; }
.social-account-actions .button { min-height: 33px; padding: 0 9px; font-size: 10px; }
.social-account-actions > span { display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 9px; }
.social-account-form { max-width: 920px; padding: 21px; }
.social-form-disclaimer { margin-top: 17px; padding: 12px; display: flex; align-items: flex-start; gap: 9px; border-radius: 8px; color: #5743d5; background: #f0edff; }
.social-form-disclaimer > svg { flex: 0 0 auto; }
.social-form-disclaimer strong, .social-form-disclaimer span { display: block; }
.social-form-disclaimer strong { font-size: 10px; }
.social-form-disclaimer span { margin-top: 4px; color: #6d668d; font-size: 10px; line-height: 1.55; }
.dashboard-resource-links { margin-top: 15px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dashboard-resource-links > a { min-height: 75px; padding: 13px; display: flex; align-items: center; gap: 10px; }
.dashboard-resource-links > a > span { width: 39px; height: 39px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 8px; color: var(--purple); background: #efecff; }
.dashboard-resource-links > a > div { min-width: 0; flex: 1; }
.dashboard-resource-links > a > div strong, .dashboard-resource-links > a > div small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-resource-links > a > div strong { font-size: 11px; }
.dashboard-resource-links > a > div small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.dashboard-resource-links > a > svg { color: var(--muted); }
.meta-settings-panel { grid-column: 1 / -1; }
.platform-settings-form { margin-top: 17px; display: grid; gap: 18px; }
.platform-settings-form > .button { justify-self: start; }
.platform-brand-preview { min-height: 97px; padding: 17px 19px; display: flex; align-items: center; gap: 12px; overflow: hidden; border-radius: 10px; color: white; }
.platform-preview-symbol { width: 43px; height: 43px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 11px; }
.platform-preview-symbol > img { width: 33px; height: 33px; object-fit: contain; }
.platform-brand-preview > div { min-width: 0; flex: 1; }
.platform-brand-preview > div > strong, .platform-brand-preview > div > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.platform-brand-preview > div > strong { font-family: var(--display-font); font-size: 17px; }
.platform-brand-preview > div > small { margin-top: 4px; color: rgba(255,255,255,.73); font-size: 10px; }
.platform-brand-preview > i { width: 12px; height: 12px; flex: 0 0 auto; border-radius: 50%; }
.platform-settings-heading { padding-top: 5px; }
.platform-settings-heading h3 { margin: 0; font-family: var(--display-font); font-size: 13px; }
.platform-settings-heading p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.platform-color-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.platform-color-field { min-width: 0; padding: 12px; border: 1px solid #e8ebf2; border-radius: 9px; background: #fcfcfe; }
.platform-color-field > span, .platform-color-field > small { display: block; }
.platform-color-field > span { color: #404b5e; font-size: 10px; font-weight: 650; }
.platform-color-field > div { margin-top: 9px; display: flex; align-items: center; gap: 8px; }
.platform-color-field > div > input { width: 36px; height: 32px; padding: 2px; border: 1px solid #dce1eb; border-radius: 6px; background: white; }
.platform-color-field > div > strong { color: #3c475c; font-size: 10px; }
.platform-color-field > small { margin-top: 8px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.platform-logo-specifications { padding: 12px 14px; display: grid; gap: 8px; border: 1px solid #e8ebf3; border-radius: 9px; background: #f8f9fd; }
.platform-logo-specifications > span { display: flex; align-items: center; gap: 8px; color: #606c80; font-size: 10px; line-height: 1.5; }
.platform-logo-specifications > span > svg { flex: 0 0 auto; color: var(--purple); }
.platform-logo-specifications > span > strong { color: #354055; }
.platform-logo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.platform-logo-card { min-width: 0; padding: 13px; display: grid; align-content: start; gap: 10px; border: 1px solid #e7eaf2; border-radius: 10px; }
.platform-logo-card > div > strong { color: #323d51; font-size: 11px; }
.platform-logo-card > div > p { min-height: 31px; margin: 5px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.platform-logo-upload { min-height: 103px; padding: 10px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; overflow: hidden; border: 1px dashed #d8deea; border-radius: 8px; color: var(--purple); background: #fbfcff; cursor: pointer; }
.platform-logo-upload > img { max-width: 90%; max-height: 56px; object-fit: contain; }
.platform-upload-placeholder { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 8px; background: #efecff; }
.platform-upload-action { font-size: 10px; font-weight: 650; }
.platform-logo-upload > input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.platform-upload-dark { color: #ddd8ff; background: #252b3b; }
.platform-upload-dark .platform-upload-placeholder { color: #6248ff; }
.platform-logo-size { color: var(--muted); font-size: 9px; line-height: 1.5; }
.platform-remove-logo { display: inline-flex; align-items: center; gap: 6px; color: #805660; font-size: 9px; }
.platform-remove-logo > input { width: 14px; height: 14px; margin: 0; accent-color: var(--purple); }
.meta-settings-form { display: grid; gap: 14px; margin-top: 15px; }
.meta-settings-form > .button { justify-self: start; }
.ai-settings-form .field > small { margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.ai-test-panel { margin-top: 17px; padding-top: 15px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid #edf0f5; }
.ai-test-panel > div > strong, .ai-test-panel > div > span { display: block; }
.ai-test-panel > div > strong { color: #344055; font-size: 11px; }
.ai-test-panel > div > span { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.ai-test-panel > form { flex: 0 0 auto; }
.ai-provider-summary { margin: 14px 0 0; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 8px; background: #f1efff; }
.ai-provider-summary > strong { display: flex; align-items: center; gap: 6px; color: #5041b9; font-size: 10px; }
.ai-provider-summary > span { color: #635a9d; font-size: 9px; }
.meta-callback-url { color: #5d6880; background: #f7f8fc; }
.meta-toggle { display: flex; align-items: flex-start; gap: 9px; color: #414b5d; font-size: 11px; line-height: 1.6; }
.meta-toggle input { width: 16px; height: 16px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--purple); }
.meta-safety-note { padding: 11px 12px; display: flex; align-items: flex-start; gap: 8px; border-radius: 8px; color: #5146ad; background: #f1efff; font-size: 10px; line-height: 1.6; }
.meta-safety-note > svg { flex: 0 0 auto; }
.social-integration-notice > .button { align-self: center; margin-left: auto; flex: 0 0 auto; }
.meta-connect-panel { margin: 0 0 14px; padding: 17px; display: flex; align-items: center; gap: 20px; justify-content: space-between; }
.meta-connect-panel > div strong, .meta-connect-panel > div span { display: block; }
.meta-connect-panel > div strong { font-size: 12px; }
.meta-connect-panel > div span { margin-top: 5px; color: var(--muted); font-size: 10px; }
.meta-connect-panel > form { display: flex; align-items: flex-end; gap: 9px; }
.meta-connect-panel > form .field { min-width: 230px; }
.meta-page-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.meta-page-card { padding: 18px; }
.meta-page-card > header { display: flex; align-items: center; gap: 11px; }
.meta-page-card > header strong, .meta-page-card > header small { display: block; }
.meta-page-card > header strong { font-size: 12px; }
.meta-page-card > header small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.meta-page-instagram { margin: 16px 0; padding: 11px; display: flex; align-items: center; gap: 8px; color: #525d72; background: #f6f7fb; border-radius: 8px; font-size: 10px; }
.meta-page-card > form { display: grid; gap: 11px; }
.meta-page-card > form > .button { margin-top: 5px; justify-self: start; }
.meta-publish-actions { margin-top: 14px; padding-top: 13px; display: grid; gap: 9px; border-top: 1px solid #edf0f5; }
.meta-publish-actions > strong { font-size: 10px; }
.meta-publish-actions > form > .button { width: 100%; }
.campaign-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.campaign-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.campaign-card { min-width: 0; padding: 18px; display: grid; align-content: start; gap: 10px; }
.campaign-card-top { display: flex; align-items: center; justify-content: space-between; }
.campaign-symbol, .campaign-post-icon { width: 40px; height: 40px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 10px; color: var(--campaign-brand, var(--purple)); background: #f2f1ff; }
.campaign-card h2 { margin: 0; overflow: hidden; font-family: var(--display-font); font-size: 15px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.campaign-card h2 > a { color: var(--ink); }
.campaign-objective { margin: 0; display: flex; align-items: center; gap: 7px; color: var(--purple); font-size: 10px; font-weight: 600; }
.campaign-objective > svg, .campaign-period > svg { flex: 0 0 auto; }
.campaign-description { min-height: 34px; max-height: 50px; margin: 0; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.7; }
.campaign-period { display: flex; align-items: center; gap: 7px; color: #5c6678; font-size: 9px; line-height: 1.55; }
.campaign-card-stats { margin-top: 3px; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 13px; border-top: 1px solid #eef0f5; }
.campaign-card-stats > span { color: var(--muted); font-size: 9px; }
.campaign-card-stats > span > strong { color: #344055; }
.campaign-card-actions { margin-top: 2px; padding-top: 9px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid #eef0f5; }
.campaign-card-actions > .button { min-height: 34px; padding: 0 8px; font-size: 10px; }
.campaign-form-shell { max-width: 980px; }
.campaign-form-shell .field > small { margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.campaign-safety-note { margin-top: 17px; padding: 11px 12px; display: flex; align-items: flex-start; gap: 9px; border-radius: 8px; color: #5146ad; background: #f1efff; font-size: 10px; line-height: 1.6; }
.campaign-safety-note > svg { flex: 0 0 auto; }
.campaign-header-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.campaign-detail-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(270px, .8fr); align-items: start; gap: 16px; }
.campaign-posts-panel, .campaign-information-panel, .campaign-state-panel { padding: 19px; }
.campaign-detail-sidebar { display: grid; gap: 14px; }
.campaign-empty { min-height: 245px; }
.campaign-post-list { margin-top: 12px; }
.campaign-post-row { min-height: 75px; display: flex; align-items: center; gap: 10px; border-top: 1px solid #eff1f5; }
.campaign-post-row > svg { flex: 0 0 auto; color: var(--muted); }
.campaign-post-icon { width: 35px; height: 35px; }
.campaign-post-copy { min-width: 0; flex: 1; }
.campaign-post-copy > strong, .campaign-post-copy > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.campaign-post-copy > strong { color: #384457; font-size: 10px; }
.campaign-post-copy > small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.campaign-information-list { margin: 15px 0 0; }
.campaign-information-list > div { min-height: 39px; display: grid; grid-template-columns: 65px minmax(0, 1fr); align-items: center; gap: 8px; border-bottom: 1px solid #eff1f5; }
.campaign-information-list > div:last-child { border-bottom: 0; }
.campaign-information-list dt { color: var(--muted); font-size: 10px; }
.campaign-information-list dd { margin: 0; color: #465166; font-size: 10px; font-weight: 550; }
.campaign-detail-description { margin-top: 15px; padding-top: 13px; border-top: 1px solid #eff1f5; }
.campaign-detail-description > strong { color: #465166; font-size: 10px; }
.campaign-detail-description > p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.7; }
.campaign-state-actions { margin-top: 15px; display: grid; gap: 9px; }
.campaign-state-actions > form > .button { width: 100%; }
.campaign-selection-section { display: grid; gap: 14px; }
.campaign-selection-toolbar { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(145px, .65fr) auto; align-items: center; gap: 9px; }
.campaign-selection-search { min-height: 39px; padding: 0 10px; display: flex; align-items: center; gap: 7px; border: 1px solid #e3e7ef; border-radius: 7px; color: var(--muted); }
.campaign-selection-search > input { width: 100%; min-width: 0; border: 0; outline: none; color: #3e485b; background: transparent; font: inherit; font-size: 10px; }
.campaign-selection-status { min-height: 39px; padding: 0 9px; display: flex; align-items: center; gap: 7px; border: 1px solid #e3e7ef; border-radius: 7px; }
.campaign-selection-status > span { color: var(--muted); font-size: 9px; }
.campaign-selection-status > select { width: 100%; min-width: 0; border: 0; outline: none; color: #465166; background: transparent; font: inherit; font-size: 10px; }
.campaign-select-all { min-height: 39px; padding: 0 9px; font-size: 10px; white-space: nowrap; }
.campaign-selection-list { max-height: 360px; overflow-y: auto; border: 1px solid #ebedf3; border-radius: 8px; }
.campaign-selection-row { min-height: 67px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #eff1f5; cursor: pointer; }
.campaign-selection-row:last-child { border-bottom: 0; }
.campaign-selection-row[hidden] { display: none; }
.campaign-selection-row > input[type=checkbox] { width: 16px; height: 16px; margin: 0; flex: 0 0 auto; accent-color: var(--purple); }
.campaign-selection-copy { min-width: 0; flex: 1; }
.campaign-selection-copy > strong, .campaign-selection-copy > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.campaign-selection-copy > strong { color: #394457; font-size: 10px; }
.campaign-selection-copy > small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.campaign-selection-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.campaign-selection-footer > strong { color: #414b5e; font-size: 10px; }
.campaign-selection-footer > span, .campaign-selection-note { color: var(--muted); font-size: 9px; }
.campaign-selection-empty { margin: 0; padding: 15px 12px; display: flex; align-items: center; gap: 8px; border: 1px dashed #e1e5ed; border-radius: 8px; color: var(--muted); font-size: 10px; }
.campaign-selection-empty[hidden] { display: none; }
.campaign-selection-note { margin: 0; display: flex; align-items: center; gap: 6px; }
.campaign-existing-panel { margin-top: 14px; border: 1px solid #e7eaf1; border-radius: 9px; }
.campaign-existing-panel > summary { min-height: 58px; padding: 10px 11px; display: flex; align-items: center; gap: 9px; color: var(--purple); cursor: pointer; list-style: none; }
.campaign-existing-panel > summary::-webkit-details-marker { display: none; }
.campaign-existing-panel > summary > span { min-width: 0; flex: 1; }
.campaign-existing-panel > summary > span > strong, .campaign-existing-panel > summary > span > small { display: block; }
.campaign-existing-panel > summary > span > strong { color: #3c465a; font-size: 10px; }
.campaign-existing-panel > summary > span > small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.campaign-existing-panel[open] > summary > svg:last-child { transform: rotate(90deg); }
.campaign-existing-form { padding: 0 11px 12px; display: grid; gap: 10px; }
.campaign-existing-form .campaign-selection-toolbar { grid-template-columns: minmax(0, 1fr) minmax(120px, .7fr); }
.campaign-existing-list { max-height: 275px; }
.campaign-existing-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.campaign-existing-actions > small { color: var(--muted); font-size: 9px; }
.campaign-existing-actions > .button { min-height: 36px; padding: 0 10px; font-size: 10px; }
.campaign-existing-empty { margin: 0; padding: 0 11px 13px; color: var(--muted); font-size: 10px; line-height: 1.6; }

[hidden] { display: none !important; }
.ai-image-settings { padding: 15px; display: grid; gap: 14px; border: 1px solid #e9e7fb; border-radius: 10px; background: #fbfaff; }
.ai-image-settings .platform-settings-heading { margin: 0; }
.ai-processing-status > .badge { width: max-content; margin-top: 9px; }
.brand-creative-settings { margin-top: 17px; }
.brand-preferences-form { margin-top: 17px; display: grid; gap: 17px; }
.brand-preferences-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.brand-preferences-grid .field > small { margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.55; }
.brand-preferences-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand-preferences-actions > p { margin: 0; display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; }
.brand-preferences-readonly { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.brand-preferences-readonly > span { padding: 7px 9px; border-radius: 7px; color: #5146ad; background: #f1efff; font-size: 10px; }

.assistant-shell { display: grid; grid-template-columns: minmax(235px, .42fr) minmax(0, 1fr); align-items: start; gap: 18px; }
.assistant-progress { position: sticky; top: 24px; min-height: 495px; padding: 21px; }
.assistant-progress-brand { display: flex; align-items: center; gap: 10px; }
.assistant-progress-brand > span { width: 41px; height: 41px; display: grid; place-items: center; border-radius: 11px; color: white; background: var(--purple); }
.assistant-progress-brand > div > strong, .assistant-progress-brand > div > small { display: block; }
.assistant-progress-brand > div > strong { font-size: 11px; }
.assistant-progress-brand > div > small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.assistant-progress > ol { margin: 27px 0 25px; padding: 0; display: grid; gap: 8px; list-style: none; }
.assistant-progress > ol > li { min-height: 65px; padding: 8px; display: flex; align-items: center; gap: 10px; border-radius: 9px; }
.assistant-progress > ol > li > span { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid #e5e8f0; border-radius: 50%; color: #7d8799; font-size: 11px; font-weight: 700; }
.assistant-progress > ol > li > div > strong, .assistant-progress > ol > li > div > small { display: block; }
.assistant-progress > ol > li > div > strong { color: #475166; font-size: 10px; }
.assistant-progress > ol > li > div > small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.assistant-progress > ol > li.assistant-progress-current { background: #f1efff; }
.assistant-progress > ol > li.assistant-progress-current > span { border-color: var(--purple); color: white; background: var(--purple); }
.assistant-progress > ol > li.assistant-progress-done > span { border-color: #cbe9db; color: var(--green); background: #eaf7ef; }
.assistant-safety { padding: 12px; display: flex; align-items: flex-start; gap: 8px; border-radius: 8px; color: #56617a; background: #f6f7fb; font-size: 9px; line-height: 1.6; }
.assistant-safety > svg { flex: 0 0 auto; color: var(--purple); }
.assistant-conversation { min-height: 495px; padding: 29px 32px; }
.assistant-step { display: grid; align-content: start; gap: 15px; }
.assistant-step-number { width: max-content; padding: 5px 9px; border-radius: 20px; color: var(--purple); background: #f1efff; font-size: 9px; font-weight: 650; }
.assistant-step > h2 { margin: 0; font-family: var(--display-font); font-size: 21px; letter-spacing: -.35px; }
.assistant-step > p { margin: -8px 0 2px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.assistant-step .field > small { margin-top: 5px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.assistant-choice-grid, .assistant-network-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.assistant-choice, .assistant-network-choice { position: relative; cursor: pointer; }
.assistant-choice > input, .assistant-network-choice > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.assistant-choice > span, .assistant-network-choice > span { min-height: 56px; padding: 10px 12px; display: flex; align-items: center; gap: 9px; border: 1px solid #e4e7ef; border-radius: 9px; color: #465166; background: white; transition: border-color .15s, background-color .15s; }
.assistant-choice > span > svg, .assistant-network-choice > span > svg { flex: 0 0 auto; color: var(--purple); }
.assistant-choice > span > strong, .assistant-network-choice > span { font-size: 10px; }
.assistant-choice > input:checked + span, .assistant-network-choice > input:checked + span { border-color: var(--purple); color: var(--purple); background: #f6f4ff; }
.assistant-choice > input:focus-visible + span, .assistant-network-choice > input:focus-visible + span { outline: 2px solid #a99cff; outline-offset: 2px; }
.assistant-new-subject { display: grid; gap: 12px; }
.assistant-reference { padding: 14px; display: grid; gap: 11px; border: 1px solid #e7e4fb; border-radius: 11px; background: #fcfbff; }
.assistant-reference-heading { display: flex; align-items: center; gap: 9px; }
.assistant-reference-heading > span { width: 35px; height: 35px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 9px; color: var(--purple); background: #eeeaff; }
.assistant-reference-heading strong, .assistant-reference-heading small { display: block; }
.assistant-reference-heading strong { color: #344054; font-size: 10px; }
.assistant-reference-heading small { margin-top: 3px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.assistant-reference-upload { position: relative; padding: 10px; display: flex; align-items: center; gap: 11px; border: 1px dashed #cfc8fb; border-radius: 9px; background: white; cursor: pointer; }
.assistant-reference-upload > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.assistant-reference-preview { width: 68px; height: 68px; display: grid; flex: 0 0 auto; place-items: center; overflow: hidden; border-radius: 8px; color: var(--purple); background: #f1efff; }
.assistant-reference-preview > img { width: 100%; height: 100%; object-fit: cover; }
.assistant-reference-upload > span:last-child { min-width: 0; }
.assistant-reference-upload > span:last-child > strong, .assistant-reference-upload > span:last-child > small, .assistant-reference-upload > span:last-child > em { display: block; }
.assistant-reference-upload > span:last-child > strong { color: var(--purple); font-size: 10px; }
.assistant-reference-upload > span:last-child > small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.assistant-reference-upload > span:last-child > em { margin-top: 5px; overflow: hidden; color: #4c566b; font-size: 9px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.assistant-reference > p { margin: 0; display: flex; align-items: flex-start; gap: 7px; color: #667085; font-size: 9px; line-height: 1.55; }
.assistant-reference > p > svg { flex: 0 0 auto; color: var(--purple); }
.assistant-step-actions { margin-top: 10px; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #edf0f5; }
.assistant-image-toggle { padding: 14px; display: flex; align-items: center; gap: 11px; border: 1px solid #e6e3fc; border-radius: 10px; background: #fbfaff; cursor: pointer; }
.assistant-image-toggle > input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--purple); }
.assistant-image-toggle > span { width: 38px; height: 38px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 9px; color: var(--purple); background: #eeebff; }
.assistant-image-toggle > div > strong, .assistant-image-toggle > div > small { display: block; }
.assistant-image-toggle > div > strong { color: #384357; font-size: 10px; }
.assistant-image-toggle > div > small { margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.5; }
.assistant-image-unavailable { opacity: .78; cursor: default; }
.assistant-integrated-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.assistant-integrated-flow > span { padding: 9px 10px; display: flex; align-items: center; gap: 7px; border-radius: 8px; color: #43506a; background: #f6f7fb; font-size: 9px; }
.assistant-integrated-flow > span > svg { flex: 0 0 auto; color: var(--green); }
.assistant-final-summary { padding: 14px; display: grid; gap: 10px; border: 1px solid #edf0f5; border-radius: 9px; background: #fafbfe; }
.assistant-final-summary > div { display: flex; align-items: flex-start; gap: 9px; color: #4e596b; font-size: 10px; line-height: 1.55; }
.assistant-final-summary > div > svg { flex: 0 0 auto; color: var(--purple); }
.assistant-cost-note { font-size: 9px !important; }

.creative-filters { grid-template-columns: minmax(0, 1fr) minmax(200px, .6fr) auto; }
.creative-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.creative-card { min-width: 0; overflow: hidden; }
.creative-card-image { position: relative; height: 175px; overflow: hidden; background: #f3f4f8; }
.creative-card-image > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.creative-card-image > .badge { position: absolute; top: 10px; right: 10px; }
.creative-card-copy { padding: 13px 14px 8px; display: grid; gap: 6px; }
.creative-card-copy > strong, .creative-card-copy > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.creative-card-copy > strong { font-size: 11px; }
.creative-card-copy > small { color: var(--muted); font-size: 9px; }
.creative-card-actions { padding: 7px 10px 11px; display: flex; justify-content: space-between; gap: 5px; }
.creative-card-actions > .button { min-height: 34px; padding: 0 6px; font-size: 9px; }
.creative-studio-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(255px, .7fr); align-items: start; gap: 17px; }
.creative-studio-form, .creative-studio-guide { padding: 20px; }
.creative-studio-form { display: grid; gap: 14px; }
.creative-studio-form .field > small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.creative-provider-note { padding: 11px; display: flex; align-items: flex-start; gap: 8px; border-radius: 8px; color: #5549ae; background: #f1efff; font-size: 10px; line-height: 1.6; }
.creative-provider-note > svg { flex: 0 0 auto; }
.creative-generate-button { justify-self: start; }
.creative-studio-guide > ol { margin: 18px 0; padding: 0; display: grid; gap: 14px; list-style: none; }
.creative-studio-guide > ol > li { display: flex; align-items: flex-start; gap: 9px; color: #566176; font-size: 10px; line-height: 1.65; }
.creative-studio-guide > ol > li > svg { flex: 0 0 auto; color: var(--purple); }
.post-creative-button { margin-top: 12px; }
.campaign-post-icon { overflow: hidden; }
.campaign-post-icon > img { width: 100%; height: 100%; object-fit: cover; }

.campaign-insights-panel { margin-bottom: 17px; padding: 19px; }
.campaign-insights-grid { margin-top: 17px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.campaign-network-result { padding: 14px; border: 1px solid #edf0f5; border-radius: 9px; }
.campaign-network-result > header { margin-bottom: 13px; display: flex; align-items: center; gap: 9px; }
.campaign-network-result > header > strong { font-size: 11px; }
.campaign-network-symbol { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: #316cc9; background: #eaf2ff; font-size: 12px; font-weight: 750; }
.campaign-network-instagram { color: #af3f85; background: #fff0f7; }
.campaign-result-line { min-height: 30px; display: grid; grid-template-columns: 84px minmax(0, 1fr) 23px; align-items: center; gap: 8px; }
.campaign-result-line > span { color: #596478; font-size: 9px; }
.campaign-result-line > i { height: 8px; overflow: hidden; border-radius: 5px; background: #eef1f6; }
.campaign-result-line > i > b { height: 100%; display: block; border-radius: 5px; background: #25a36f; }
.campaign-result-scheduled > i > b { background: #537ff0; }
.campaign-result-line > strong { color: #435067; font-size: 10px; text-align: right; }
.campaign-result-errors { margin: 8px 0 0; display: flex; align-items: center; gap: 6px; color: #be3543; font-size: 9px; }
.campaign-insights-note { margin-top: 14px; display: flex; align-items: flex-start; gap: 8px; color: var(--muted); font-size: 9px; line-height: 1.6; }
.campaign-insights-note > svg { flex: 0 0 auto; color: var(--purple); }

.client-assistant-banner { margin-bottom: 18px; padding: 21px; display: flex; align-items: center; gap: 15px; border-color: #e8e4ff; background: linear-gradient(115deg, #f8f6ff, #fff); }
.client-assistant-banner > span { width: 51px; height: 51px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 13px; color: white; background: var(--purple); }
.client-assistant-banner > div { min-width: 0; flex: 1; }
.client-assistant-banner > div > h2 { margin: 0; font-family: var(--display-font); font-size: 15px; }
.client-assistant-banner > div > p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }
.client-metrics { margin-bottom: 18px; }
.client-dashboard-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr); align-items: start; gap: 16px; }
.client-campaign-panel, .client-identity-panel { min-height: 310px; padding: 19px; }
.client-campaign-list { margin-top: 14px; }
.client-campaign-row { min-height: 79px; display: flex; align-items: center; gap: 10px; border-top: 1px solid #edf0f5; }
.client-campaign-row > svg { flex: 0 0 auto; color: var(--muted); }
.client-campaign-symbol { width: 37px; height: 37px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 9px; color: var(--campaign-brand, var(--purple)); background: #f0edff; }
.client-campaign-copy { min-width: 0; flex: 1; }
.client-campaign-copy > strong, .client-campaign-copy > small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.client-campaign-copy > strong { font-size: 10px; }
.client-campaign-copy > small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.client-progress-track { width: 110px; height: 5px; margin-top: 7px; display: block; overflow: hidden; border-radius: 4px; background: #edf0f5; }
.client-progress-track > i { height: 100%; display: block; border-radius: 4px; background: var(--green); }
.client-business-summary { margin: 17px 0 12px; display: flex; align-items: center; gap: 10px; }
.client-business-summary > div > strong, .client-business-summary > div > small { display: block; }
.client-business-summary > div > strong { font-size: 11px; }
.client-business-summary > div > small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.client-shortcut { min-height: 47px; display: flex; align-items: center; gap: 9px; border-top: 1px solid #edf0f5; }
.client-shortcut > svg:first-child { flex: 0 0 auto; color: var(--purple); }
.client-shortcut > svg:last-child { color: var(--muted); }
.client-shortcut > span { min-width: 0; flex: 1; color: #465166; font-size: 10px; }
.client-trust-note { margin-top: 12px; padding: 10px; display: flex; align-items: flex-start; gap: 7px; border-radius: 8px; color: #586279; background: #f6f7fb; font-size: 9px; line-height: 1.5; }
.client-trust-note > svg { flex: 0 0 auto; color: var(--purple); }

@media (max-width: 1150px) {
    .content-container { padding-right: 27px; padding-left: 27px; }
    .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-grid { grid-template-columns: 1fr; }
    .business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .campaign-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .campaign-detail-layout { grid-template-columns: 1fr; }
    .catalog-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .image-guidelines { grid-template-columns: 1fr; }
    .post-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .post-editor-layout, .post-detail-layout { grid-template-columns: 1fr; }
    .post-preview-aside { position: static; }
    .post-preview-panel { max-width: 560px; }
    .history-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .history-filters > .button { width: 100%; }
    .calendar-month { overflow-x: auto; }
    .library-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .social-connection-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .library-upload-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .library-upload-form > .button { width: 100%; }
    .social-account-grid { grid-template-columns: 1fr; }
    .meta-page-grid { grid-template-columns: 1fr; }
    .meta-connect-panel { align-items: stretch; flex-direction: column; }
    .platform-color-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .assistant-shell { grid-template-columns: 1fr; }
    .assistant-progress { position: static; min-height: 0; padding: 16px; }
    .assistant-progress > ol { margin: 15px 0 0; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
    .assistant-progress > ol > li { min-height: 55px; padding: 6px; }
    .assistant-progress > ol > li > div > small, .assistant-safety { display: none; }
    .creative-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .creative-studio-layout, .client-dashboard-layout { grid-template-columns: 1fr; }
    .brand-preferences-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 760px) {
    .sidebar { z-index: 12; width: min(290px, 88vw); transform: translateX(-104%); transition: transform .2s ease; }
    .sidebar.sidebar-visible { transform: translateX(0); }
    .sidebar-overlay { position: fixed; z-index: 11; inset: 0; display: none; border: 0; background: rgba(14,18,31,.55); }
    .menu-visible .sidebar-overlay { display: block; }
    .mobile-menu-close { display: grid; margin-left: auto; color: white; }
    .main-content { margin-left: 0; }
    .mobile-header { position: sticky; z-index: 4; top: 0; min-height: 62px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border); background: white; }
    .mobile-header > strong { font-size: 17px; }
    .content-container { padding: 25px 15px 45px; }
    .page-header { align-items: flex-start; flex-direction: column; }
    .page-header h1 { font-size: 24px; }
    .metrics-grid { gap: 9px; }
    .metric-card { min-height: 89px; padding: 11px; gap: 8px; }
    .metric-symbol { width: 35px; height: 35px; }
    .metric-card > div strong { font-size: 21px; }
    .metric-card > div span { font-size: 9px; }
    .business-panel, .activity-panel { padding: 15px; }
    .business-row > .badge { display: none; }
    .progress-banner { align-items: flex-start; flex-direction: column; }
    .progress-banner > small { margin-left: 51px; }
    .business-grid, .details-grid, .settings-grid, .form-grid { grid-template-columns: 1fr; }
    .catalog-grid, .catalog-filters { grid-template-columns: 1fr; }
    .campaign-grid { grid-template-columns: 1fr; }
    .campaign-header-actions { width: 100%; }
    .campaign-header-actions > .button { flex: 1; }
    .campaign-posts-panel, .campaign-information-panel, .campaign-state-panel { padding: 15px; }
    .campaign-post-row { flex-wrap: wrap; padding: 11px 0; }
    .campaign-post-row > .badge { order: 3; margin-left: 45px; }
    .campaign-post-row > svg { display: none; }
    .campaign-selection-toolbar, .campaign-existing-form .campaign-selection-toolbar { grid-template-columns: 1fr; }
    .campaign-select-all { width: 100%; }
    .campaign-selection-row { flex-wrap: wrap; }
    .campaign-selection-row > .badge { order: 3; margin-left: 26px; }
    .campaign-selection-footer, .campaign-existing-actions { align-items: flex-start; flex-direction: column; }
    .campaign-existing-actions > .button { width: 100%; }
    .catalog-summary { grid-template-columns: 1fr; gap: 9px; }
    .catalog-summary-card { min-height: 83px; padding: 14px 16px; }
    .catalog-filters > .button { width: 100%; }
    .catalog-image, .catalog-image > img { height: 185px; }
    .catalog-upload { min-height: 130px; padding: 13px; gap: 12px; }
    .catalog-upload-preview { width: 88px; height: 76px; }
    .catalog-upload-copy strong { font-size: 11px; }
    .post-summary { grid-template-columns: 1fr; }
    .post-card { align-items: flex-start; flex-wrap: wrap; }
    .post-card-image { width: 83px; min-height: 88px; flex-basis: 83px; }
    .post-card-copy { min-width: 160px; }
    .post-card-meta { gap: 7px; }
    .post-card-open { width: 100%; }
    .post-network-options { grid-template-columns: 1fr; }
    .post-form-actions { align-items: stretch; flex-direction: column-reverse; }
    .post-form-actions > .button { width: 100%; }
    .post-detail-preview, .post-versions-panel, .post-visual-panel, .post-workflow-panel, .post-information-panel, .post-schedule-panel { padding: 15px; }
    .calendar-toolbar { align-items: stretch; flex-direction: column; }
    .calendar-navigation { justify-content: space-between; }
    .calendar-navigation > div { min-width: 0; }
    .calendar-view-switch a { flex: 1; justify-content: center; }
    .calendar-filters, .history-filters { grid-template-columns: 1fr; }
    .calendar-filters > .button, .history-filters > .button { width: 100%; }
    .calendar-weekdays, .calendar-month-grid { min-width: 0; display: block; }
    .calendar-weekdays { display: none; }
    .calendar-day { min-height: 78px; border-right: 0; }
    .calendar-day-muted { display: none; }
    .calendar-day > header small { display: block; }
    .calendar-month-grid .calendar-day-events:empty { display: none; }
    .calendar-month-grid .calendar-day:has(.calendar-day-events:empty) { min-height: 48px; }
    .calendar-event-copy strong { font-size: 9px; }
    .calendar-event-copy small { font-size: 8px; }
    .calendar-legend > small { width: 100%; margin-left: 0; }
    .history-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .history-summary > article { min-height: 69px; padding: 10px; }
    .upcoming-grid { grid-template-columns: 1fr; }
    .schedule-edit-form { padding: 16px; }
    .library-summary { gap: 8px; }
    .library-summary > article { min-height: 72px; padding: 10px; gap: 8px; }
    .library-summary > article > span { width: 34px; height: 34px; }
    .library-summary strong { font-size: 16px; }
    .library-upload-form, .library-grid { grid-template-columns: 1fr; }
    .library-upload-panel > summary { align-items: flex-start; }
    .library-upload-guide { gap: 9px; }
    .library-card-preview { height: 190px; }
    .social-account-form { padding: 16px; }
    .social-connection-center { padding: 15px; }
    .social-connection-steps { grid-template-columns: 1fr; }
    .social-account-card > header { flex-wrap: wrap; }
    .social-account-card > header > .badge { max-width: none; }
    .social-integration-notice { flex-wrap: wrap; }
    .social-integration-notice > .button { width: 100%; margin-left: 0; }
    .meta-settings-form > .button, .meta-page-card > form > .button { width: 100%; }
    .platform-settings-form > .button { width: 100%; }
    .platform-color-grid, .platform-logo-grid { grid-template-columns: 1fr; }
    .ai-image-settings { padding: 12px; }
    .brand-preferences-grid { grid-template-columns: 1fr; }
    .brand-preferences-actions { align-items: stretch; flex-direction: column; }
    .brand-preferences-actions > .button { width: 100%; }
    .assistant-conversation { min-height: 390px; padding: 18px 15px; }
    .assistant-progress > ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .assistant-progress > ol > li { min-height: 48px; }
    .assistant-progress > ol > li > div > strong { font-size: 9px; }
    .assistant-step > h2 { font-size: 19px; }
    .assistant-choice-grid { grid-template-columns: 1fr; }
    .assistant-integrated-flow { grid-template-columns: 1fr; }
    .assistant-reference-upload { align-items: flex-start; }
    .assistant-step-actions > .button { padding: 0 10px; font-size: 10px; }
    .assistant-image-toggle { padding: 10px; gap: 8px; }
    .creative-filters, .creative-grid, .campaign-insights-grid { grid-template-columns: 1fr; }
    .creative-card-image { height: 205px; }
    .creative-studio-form, .creative-studio-guide, .campaign-insights-panel { padding: 15px; }
    .creative-generate-button { width: 100%; }
    .client-assistant-banner { align-items: flex-start; flex-wrap: wrap; padding: 16px; }
    .client-assistant-banner > div { min-width: 180px; }
    .client-assistant-banner > .button { width: 100%; }
    .client-campaign-panel, .client-identity-panel { min-height: 0; padding: 15px; }
    .client-campaign-row > .badge { display: none; }
    .platform-logo-card > div > p { min-height: 0; }
    .ai-test-panel { align-items: stretch; flex-direction: column; }
    .ai-test-panel > form > .button { width: 100%; }
    .ai-provider-summary { align-items: flex-start; flex-direction: column; }
    .meta-connect-panel > form { align-items: stretch; flex-direction: column; }
    .meta-connect-panel > form .field { min-width: 0; }
    .dashboard-resource-links { grid-template-columns: 1fr; }
    .business-profile { position: relative; min-height: 135px; flex-wrap: wrap; }
    .business-profile > .badge { position: absolute; top: 2px; right: 0; }
    .business-profile h1 { font-size: 20px; }
    .avatar-xl { width: 53px; height: 53px; }
    .edit-business { width: 100%; }
    .danger-zone { align-items: flex-start; flex-direction: column; }
    .form-section, .details-panel { padding: 16px; }
    .color-grid { grid-template-columns: 1fr; }
    .color-field > div { max-width: 175px; }
    .auth-panel { padding: 24px 18px; }
    .install-panel .form-grid { gap: 12px; }
    .requirement > small { max-width: 110px; overflow: hidden; text-overflow: ellipsis; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* AdsNuvia 0.4.0 · creación integrada, resultados y publicaciones activas */
.button-danger { color: #fff; border-color: #d63d4d; background: #d63d4d; }
.button-danger:hover { border-color: #b92939; background: #b92939; }
.assistant-creation-tools { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 18px 0; }
.assistant-tool-card { position: relative; min-height: 116px; padding: 16px; display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 12px; align-items: center; border: 1px solid var(--border); border-radius: 16px; background: #fff; cursor: pointer; }
.assistant-tool-card:has(input:checked) { border-color: color-mix(in srgb,var(--primary) 56%,white); box-shadow: 0 9px 24px rgba(98,72,255,.10); background: color-mix(in srgb,var(--primary) 4%,white); }
.assistant-tool-card > input { position: absolute; opacity: 0; pointer-events: none; }
.assistant-tool-card > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; color: var(--primary); background: color-mix(in srgb,var(--primary) 10%,white); }
.assistant-tool-card strong,.assistant-tool-card small { display: block; }
.assistant-tool-card small { margin-top: 5px; line-height: 1.45; color: var(--muted); }
.assistant-tool-card > i { padding: 5px 8px; border-radius: 99px; color: var(--primary); background: color-mix(in srgb,var(--primary) 9%,white); font-size: 9px; font-weight: 800; font-style: normal; text-transform: uppercase; }
.assistant-image-unavailable { opacity: .62; cursor: not-allowed; }
.assistant-contact-warning { color: #b56a00 !important; font-weight: 700; }
.assistant-format-inactive { opacity: .64; }
.assistant-preview-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(270px,.8fr); gap: 20px; align-items: start; }
.assistant-logo-controls { margin-top: 14px; }
.assistant-live-preview { overflow: hidden; border: 1px solid var(--border); border-radius: 18px; background: #fff; box-shadow: 0 16px 40px rgba(20,25,45,.10); }
.assistant-live-preview > header { padding: 11px 13px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); }
.assistant-live-preview > header span { font-size: 10px; font-weight: 800; }
.assistant-live-preview > header i { color: var(--muted); font-size: 9px; font-style: normal; text-transform: uppercase; }
.assistant-preview-frame { position: relative; width: 100%; max-height: 440px; display: grid; place-items: center; overflow: hidden; color: #7663ff; background: radial-gradient(circle at 30% 20%,#e8e2ff,#eef3ff 48%,#dfe7f6); }
.assistant-preview-frame.format-square { aspect-ratio: 1/1; }
.assistant-preview-frame.format-landscape { aspect-ratio: 1200/630; }
.assistant-preview-frame.format-portrait { aspect-ratio: 1080/1350; }
.assistant-preview-frame.format-story { aspect-ratio: 9/16; max-height: 470px; }
.assistant-preview-frame > img { width: 100%; height: 100%; object-fit: cover; }
.assistant-preview-frame > b { position: absolute; padding: 7px 9px; border-radius: 7px; color: #fff; background: rgba(17,24,39,.78); font-size: 9px; letter-spacing: .08em; }
.assistant-preview-frame > b.logo-top_left { top: 6%; left: 6%; }.assistant-preview-frame > b.logo-top_right { top: 6%; right: 6%; }.assistant-preview-frame > b.logo-bottom_left { bottom: 6%; left: 6%; }.assistant-preview-frame > b.logo-bottom_right { right: 6%; bottom: 6%; }
.assistant-preview-copy { padding: 14px; }
.assistant-preview-copy strong { display: block; font-size: 13px; }
.assistant-preview-copy p { margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.results-filter { max-width: 430px; padding: 14px; margin-bottom: 18px; }
.results-metric-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 10px; margin-bottom: 18px; }
.result-metric-card { min-height: 92px; padding: 14px; display: flex; align-items: center; gap: 10px; }
.result-metric-card > span { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; border-radius: 12px; color: var(--primary); background: color-mix(in srgb,var(--primary) 10%,white); }
.result-metric-card strong,.result-metric-card small { display: block; }.result-metric-card strong { font-size: 20px; }.result-metric-card small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.results-chart-panel { padding: 20px; margin-bottom: 18px; }
.network-results-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.network-results-card { padding: 16px; border: 1px solid var(--border); border-radius: 16px; }
.network-results-card > header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.network-results-card > header > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: var(--network-color); font-weight: 900; }
.network-results-card > header strong,.network-results-card > header small { display: block; }.network-results-card > header small { margin-top: 2px; color: var(--muted); font-size: 9px; }
.result-chart-row { display: grid; grid-template-columns: 80px minmax(0,1fr) 48px; gap: 9px; align-items: center; margin: 9px 0; font-size: 10px; }
.result-chart-row > i { height: 8px; overflow: hidden; border-radius: 99px; background: #eef1f7; }.result-chart-row > i > b { display: block; min-width: 2px; height: 100%; border-radius: inherit; background: var(--network-color); }
.result-chart-row > strong { text-align: right; }
.results-empty-metrics { margin-top: 15px; padding: 14px; display: flex; gap: 10px; border-radius: 13px; color: #4d5870; background: #f5f7fb; }
.results-empty-metrics p { margin: 4px 0 0; font-size: 10px; line-height: 1.5; }
.results-two-column { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }.results-two-column > .panel { padding: 18px; }
.results-campaign-list > a,.results-history-list > a { min-height: 58px; padding: 10px 0; display: flex; align-items: center; gap: 10px; color: inherit; border-bottom: 1px solid var(--border); text-decoration: none; }
.results-campaign-list > a:last-child,.results-history-list > a:last-child { border-bottom: 0; }.results-campaign-list > a > span:first-child,.results-history-list > a > span:nth-child(2) { min-width: 0; flex: 1; }
.results-campaign-list strong,.results-campaign-list small,.results-history-list strong,.results-history-list small { display: block; }.results-campaign-list small,.results-history-list small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.active-publications-panel,.client-history-panel { padding: 20px; margin-top: 18px; }
.active-network-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.active-network-column { padding: 14px; border: 1px solid var(--border); border-radius: 16px; }.active-network-column > header { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }.active-network-column > header strong,.active-network-column > header small { display: block; }.active-network-column > header small { color: var(--muted); font-size: 9px; }
.active-post-card { min-height: 66px; padding: 9px 0; display: grid; grid-template-columns: 52px minmax(0,1fr) auto; gap: 10px; align-items: center; color: inherit; border-bottom: 1px solid var(--border); text-decoration: none; }.active-post-card:last-child { border-bottom: 0; }
.active-post-preview { width: 52px; height: 52px; display: grid; place-items: center; overflow: hidden; border-radius: 11px; color: var(--primary); background: #f1efff; }.active-post-preview img { width: 100%; height: 100%; object-fit: cover; }
.active-post-card strong,.active-post-card small { display: block; }.active-post-card strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }.active-post-card small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.publication-switch { padding: 5px 7px; border-radius: 99px; font-size: 8px; font-weight: 900; font-style: normal; text-transform: uppercase; }.publication-switch.is-active { color: #087f5b; background: #e3f8ef; }.publication-switch.is-inactive { color: #687087; background: #eef0f5; }
.active-network-empty { padding: 25px 10px; color: var(--muted); text-align: center; font-size: 10px; }
.campaign-preview-panel { padding: 20px; margin: 18px 0; }.campaign-preview-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }.campaign-preview-card { overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.campaign-preview-media { width: 100%; max-height: 350px; display: grid; place-items: center; overflow: hidden; color: var(--primary); background: #f1efff; }.campaign-preview-media.preview-square { aspect-ratio: 1; }.campaign-preview-media.preview-landscape { aspect-ratio: 1200/630; }.campaign-preview-media.preview-portrait { aspect-ratio: 1080/1350; }.campaign-preview-media img { width: 100%; height: 100%; object-fit: cover; }.campaign-preview-media > span { display: grid; place-items: center; gap: 6px; }.campaign-preview-media small { font-size: 9px; }
.campaign-preview-copy { padding: 13px; }.campaign-preview-copy > div { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }.campaign-preview-copy > div > i { margin-left: auto; }.campaign-preview-copy > strong { display: block; margin-top: 9px; font-size: 12px; }.campaign-preview-copy > p { max-height: 43px; overflow: hidden; margin: 5px 0 9px; color: var(--muted); font-size: 9px; line-height: 1.5; }.campaign-preview-copy > a { display: inline-flex; align-items: center; gap: 4px; color: var(--primary); font-size: 9px; font-weight: 800; text-decoration: none; }
.mini-network { padding: 4px 6px; border-radius: 99px; font-size: 8px; font-weight: 800; }.mini-network-facebook { color: #135fc4; background: #e5f0ff; }.mini-network-instagram { color: #b02262; background: #ffe7f1; }

@media (max-width: 1120px) {
    .results-metric-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .campaign-preview-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
    .assistant-creation-tools,.assistant-preview-layout,.network-results-grid,.results-two-column,.active-network-columns { grid-template-columns: 1fr; }
    .assistant-tool-card { grid-template-columns: 40px minmax(0,1fr); }.assistant-tool-card > i { grid-column: 2; justify-self: start; }
    .assistant-live-preview { max-width: 390px; margin: 0 auto; }
    .results-metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .result-metric-card { min-height: 76px; padding: 10px; }.result-metric-card > span { width: 32px; height: 32px; flex-basis: 32px; }.result-metric-card strong { font-size: 16px; }
    .results-chart-panel,.active-publications-panel,.client-history-panel,.campaign-preview-panel { padding: 15px; }
    .result-chart-row { grid-template-columns: 70px minmax(0,1fr) 42px; }
    .active-post-card { grid-template-columns: 48px minmax(0,1fr); }.active-post-card > .publication-switch { grid-column: 2; justify-self: start; }
    .campaign-preview-grid { grid-template-columns: 1fr; }.campaign-preview-card { max-width: 420px; width: 100%; margin: 0 auto; }
}
