:root {
    --cp-bg: #f8f9fc;
    --cp-ink: #202534;
    --cp-muted: #697386;
    --cp-line: #e6e9ef;
    --cp-primary: #155eef;
    --cp-primary-soft: #edf3ff;
    --bg: var(--cp-bg);
    --text: var(--cp-ink);
    --muted: var(--cp-muted);
    --line: var(--cp-line);
    --green: var(--cp-primary);
    --green-dark: #004bd1;
    --soft-green: var(--cp-primary-soft);
    --shadow: none;
    --shadow-soft: none;
    --cp-sidebar: 224px;
}
.cp-app { background: var(--cp-bg); font-size: 14px; color: var(--cp-ink); letter-spacing: 0; }
.cp-app * { letter-spacing: 0; }
.cp-app h1 { font-size: 30px; font-weight: 650; line-height: 1.25; overflow-wrap: anywhere; }
.cp-app h2 { font-size: 18px; font-weight: 600; line-height: 1.4; }
.cp-app h3 { font-size: 14px; font-weight: 600; line-height: 1.45; margin: 0; }
.cp-app p { line-height: 1.6; }
.cp-app code { overflow-wrap: anywhere; white-space: normal; }
.cp-app a:hover { text-decoration: none; }
.cp-app :focus-visible { outline: 3px solid #92b8ff; outline-offset: 3px; }
.cp-icon { width: 20px; height: 20px; flex: 0 0 20px; stroke-width: 1.7; vertical-align: middle; }
.cp-skip { position: fixed; top: -100px; z-index: 200; background: white; padding: 12px; }
.cp-skip:focus { top: 8px; left: 8px; }
.cp-sidebar { width: var(--cp-sidebar); position: fixed; inset: 0 auto 0 0; display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--cp-line); padding: 20px 16px 16px; z-index: 40; }
.cp-brand { display: flex; align-items: center; padding: 2px 10px 19px; }
.cp-brand img { width: 164px; height: 47px; object-fit: contain; }
.cp-company { min-height: 44px; display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--cp-line); border-radius: 6px; color: var(--cp-ink); margin-bottom: 26px; }
.cp-company > span { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 550; }
.cp-company > .cp-icon:last-child { width: 14px; height: 14px; flex-basis: 14px; color: var(--cp-muted); }
.cp-nav { display: flex; flex-direction: column; gap: 6px; }
.cp-nav > a, .cp-settings-link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 11px 12px; border-radius: 6px; color: #4c5568; font-size: 14px; }
.cp-nav > a:hover, .cp-settings-link:hover { background: #f6f8fb; }
.cp-nav > a[aria-current], .cp-settings-link[aria-current] { background: var(--cp-primary-soft); color: #0053df; font-weight: 550; }
.cp-sidebar-bottom { margin-top: auto; padding-top: 28px; }
.cp-account { display: flex; gap: 10px; align-items: center; margin-top: 15px; padding: 10px 8px 18px; color: var(--cp-ink); }
.cp-account > span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cp-account small { display: block; color: var(--cp-muted); font-size: 11px; margin-top: 2px; }
.cp-avatar { display: inline-flex; justify-content: center; align-items: center; background: #edf0f6; color: #48516a; font-weight: 550; width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0; }
.cp-usage { border-top: 1px solid var(--cp-line); padding: 20px 9px 4px; font-size: 11px; }
.cp-usage > div { display: flex; justify-content: space-between; gap: 6px; }
.cp-usage > div > span:last-child { color: var(--cp-muted); }
.cp-usage progress { appearance: none; width: 100%; height: 5px; border: none; border-radius: 4px; margin-top: 12px; overflow: hidden; }
.cp-usage progress::-webkit-progress-bar { background: #e8ecf3; }
.cp-usage progress::-webkit-progress-value { background: var(--cp-primary); border-radius: 4px; }
.cp-usage progress::-moz-progress-bar { background: var(--cp-primary); }
.cp-workspace { margin-left: var(--cp-sidebar); min-height: 100vh; }
.cp-topbar { height: 66px; display: flex; justify-content: space-between; align-items: center; background: #fff; border-bottom: 1px solid var(--cp-line); padding: 0 34px; gap: 12px; }
.cp-breadcrumb { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.cp-breadcrumb > span:first-child { color: var(--cp-muted); }
.cp-breadcrumb .cp-icon { width: 12px; height: 12px; flex-basis: 12px; color: #a3aabd; }
.cp-topbar-end { display: flex; align-items: center; gap: 14px; }
.cp-topbar-end form { margin: 0; }
.cp-environment { padding: 4px 9px; border-radius: 4px; background: #f2f4f8; color: #687186; font-size: 11px; white-space: nowrap; }
.cp-mobile-brand, .cp-mobile-nav { display: none; }
.cp-app .page.cp-main { margin: 0 auto; max-width: 1480px; padding: 34px; }
.cp-app .page-heading { margin-bottom: 28px; align-items: center; }
.cp-app .page-heading p { margin: 7px 0 0; font-size: 14px; }
.cp-date { color: var(--cp-muted); margin: 7px 0 0; font-size: 14px; }
.cp-section-title { margin: 0 0 16px; }
.cp-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 26px; }
.cp-channel { display: flex; align-items: center; gap: 16px; padding: 22px 24px; min-height: 112px; position: relative; overflow: hidden; background: #fff; border: 1px solid var(--cp-line); border-radius: 7px; color: var(--cp-ink); transition: box-shadow .18s, border-color .18s; }
.cp-channel::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: #0879c9; }
.cp-channel.instagram::before { background: linear-gradient(180deg, #d823a7, #f0703c); }
.cp-channel:hover { box-shadow: 0 4px 15px #10182809; border-color: #cbd5e7; }
.cp-channel > div { flex: 1; min-width: 0; }
.cp-channel h3 { font-size: 18px; }
.cp-channel p { font-size: 12px; margin: 5px 0 0; }
.cp-channel > .cp-icon { margin-left: auto; }
.cp-channel .cp-platform-icon { width: 38px; height: 38px; }
.cp-channel .cp-platform-icon .cp-icon { width: 34px; height: 34px; flex-basis: 34px; }
.cp-platform-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 20px; height: 20px; }
.cp-platform-icon.instagram { color: #d52e93; }
.cp-platform-icon.linkedin { color: #0a66c2; }
.cp-platform-icon .cp-icon { width: 17px; height: 17px; flex-basis: 17px; }
.cp-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0 34px; padding: 0 0 30px; border-bottom: 1px solid var(--cp-line); }
.cp-metric { padding: 0 24px; color: var(--cp-ink); border-right: 1px solid var(--cp-line); }
.cp-metric:first-child { padding-left: 0; }
.cp-metric:last-child { border-right: 0; }
.cp-metric strong { display: block; font-weight: 600; font-size: 26px; line-height: 1.2; }
.cp-metric span { display: block; color: var(--cp-muted); margin-top: 9px; font-size: 13px; }
.cp-overview-columns { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 29%); gap: 28px; }
.cp-overview-columns > * { min-width: 0; }
.cp-schedule-aside { border-left: 1px solid var(--cp-line); padding-left: 25px; }
.cp-section-heading { display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-bottom: 14px; }
.cp-section-heading a { font-size: 12px; display: inline-flex; align-items: center; gap: 5px; }
.cp-section-heading a .cp-icon { width: 14px; height: 14px; flex-basis: 14px; }
.cp-tabs { display: flex; align-items: center; gap: 23px; border-bottom: 1px solid var(--cp-line); margin-bottom: 8px; min-height: 46px; }
.cp-tabs > a, .cp-tabs > button { display: inline-flex; align-items: center; gap: 7px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: #667085; min-height: 46px; padding: 10px 2px; font-weight: 400; font-size: 13px; white-space: nowrap; }
.cp-tabs > [aria-current], .cp-tabs > [aria-selected="true"] { color: var(--cp-primary); border-bottom-color: var(--cp-primary); font-weight: 550; }
.cp-content-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto 32px; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--cp-line); align-items: center; position: relative; }
.cp-thumb { display: flex; width: 76px; height: 76px; border: 1px solid var(--cp-line); border-radius: 5px; overflow: hidden; align-items: center; justify-content: center; background: #eef1f6; color: #7e8ba3; }
.cp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cp-thumb > .cp-icon { width: 27px; height: 27px; }
.cp-content-title { color: var(--cp-ink); min-width: 0; }
.cp-content-title h3 { overflow-wrap: anywhere; }
.cp-content-title p { font-size: 12px; line-height: 1.5; margin: 5px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cp-row-platform { display: flex; align-items: center; gap: 6px; color: var(--cp-muted); font-size: 11px; }
.cp-row-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cp-row-meta small { font-size: 10px; color: var(--cp-muted); }
.cp-app .badge { font-size: 11px; border-radius: 5px; font-weight: 500; padding: 5px 9px; background: #eef2f8; color: #556174; white-space: nowrap; }
.cp-app .badge.status-utkast { background: #eef3ff; color: #2462d0; }
.cp-app .badge.status-godkand, .cp-app .badge.status-godkänd, .cp-app .badge.status-planerad { background: #eaf2ff; color: #1558cb; }
.cp-app .badge.status-publicerad { background: #eaf7f3; color: #28856b; }
.cp-app .badge.status-redo, .cp-app .badge.status-redo-for-granskning { background: #fff3df; color: #a0691b; }
.cp-icon-button, .cp-app button.cp-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; flex: 0 0 36px; background: transparent; color: #657086; border: 1px solid transparent; border-radius: 5px; cursor: pointer; }
.cp-icon-button:hover, .cp-app button.cp-icon-button:hover { color: var(--cp-primary); background: #f0f4fc; }
.cp-menu { position: relative; }
.cp-menu > summary { list-style: none; }
.cp-menu > summary::-webkit-details-marker { display: none; }
.cp-menu-items { position: absolute; right: 0; top: 39px; z-index: 45; min-width: 180px; padding: 6px; border: 1px solid var(--cp-line); border-radius: 6px; background: #fff; box-shadow: 0 8px 28px #20253415; }
.cp-menu-items a, .cp-menu-items button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 10px; border: 0; background: transparent; color: var(--cp-ink); font-size: 12px; text-align: left; font-weight: 400; }
.cp-menu-items a:hover, .cp-menu-items button:hover { background: #f5f7fb; }
.cp-menu-items .cp-icon { width: 15px; height: 15px; flex-basis: 15px; }
.cp-menu-items form { margin: 0; }
.cp-menu-items .danger { color: #c43839; }
.cp-week { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 8px 0 18px; }
.cp-week a { text-align: center; border-radius: 6px; padding: 8px 2px; color: var(--cp-muted); font-size: 11px; }
.cp-week a strong { display: block; font-size: 15px; color: var(--cp-ink); margin-top: 5px; font-weight: 550; }
.cp-week a[aria-current] { background: var(--cp-primary); color: #fff; }
.cp-week a[aria-current] strong { color: #fff; }
.cp-scheduled-post { border-top: 1px solid var(--cp-line); padding: 18px 0; }
.cp-scheduled-post > small { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; font-size: 12px; }
.cp-scheduled-post > a { display: flex; gap: 12px; align-items: center; color: var(--cp-ink); font-size: 13px; }
.cp-scheduled-post img { width: 58px; height: 58px; object-fit: cover; border-radius: 4px; }
.cp-scheduled-post > a span { overflow-wrap: anywhere; }
.cp-scheduled-post p { font-size: 11px; margin: 5px 0 0; }
.cp-empty { padding: 44px 20px; text-align: center; color: var(--cp-muted); }
.cp-empty > .cp-icon { width: 30px; height: 30px; margin-bottom: 10px; color: #8695b0; }
.cp-empty h3 { font-size: 15px; color: #4a556b; }
.cp-empty p { font-size: 12px; }
.cp-app input, .cp-app select, .cp-app textarea { border: 1px solid #dce1eb; border-radius: 5px; color: var(--cp-ink); font-family: inherit; font-weight: 400; font-size: 14px; background: #fff; box-shadow: none; padding: 11px 12px; min-width: 0; }
.cp-app textarea { line-height: 1.65; resize: vertical; }
.cp-app input[type="checkbox"], .cp-app input[type="radio"], .cp-app input[type="range"] { accent-color: var(--cp-primary); }
.cp-app input[type="range"] { padding: 0; box-shadow: none; }
.cp-app input[type="color"] { padding: 3px; height: 42px; }
.cp-app input::placeholder, .cp-app textarea::placeholder { color: #939baa; font-weight: 400; }
.cp-app label, .cp-app .field-label { font-weight: 500; font-size: 12px; color: #525d71; }
.cp-app label > input, .cp-app label > textarea, .cp-app label > select { display: block; width: 100%; margin-top: 7px; }
.cp-app label > input[type="checkbox"], .cp-app label > input[type="radio"] { display: inline-block; width: auto; }
.cp-app .button, .cp-app button:not(.cp-icon-button) { font-family: inherit; font-size: 13px; font-weight: 550; border-radius: 5px; box-shadow: none; }
.cp-app .button { display: inline-flex; gap: 8px; align-items: center; justify-content: center; min-height: 40px; padding: 10px 16px; background: var(--cp-primary); border: 1px solid var(--cp-primary); color: #fff; white-space: normal; text-align: center; }
.cp-app .button:hover { background: #084fdb; }
.cp-app .button.secondary { background: #fff; border-color: #dce1eb; color: #485268; }
.cp-app .button.secondary:hover { background: #f6f8fc; border-color: #bac9e4; }
.cp-app .button.ghost { background: transparent; color: #59657b; border-color: transparent; }
.cp-app .button.small { min-height: 34px; font-size: 12px; padding: 6px 11px; }
.cp-app .button .cp-icon { width: 16px; height: 16px; flex-basis: 16px; }
.cp-app .button.danger-button { color: #b12e35; border-color: #f0d5d7; background: #fff; }
.cp-app .actions, .cp-app .button-row { gap: 8px; }
.cp-app .flash { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: 5px; font-size: 13px; }
.cp-app .panel { box-shadow: none; border-radius: 6px; padding: 22px; }
.cp-app .form-section { box-shadow: none; border-radius: 0; border-left: 0; border-right: 0; padding: 24px 0; background: transparent; }
.cp-app .section-intro p, .cp-app .product-kicker { font-size: 12px; }
.cp-app .product-kicker { color: var(--cp-primary); }
.cp-app .text-button, .cp-app .link-button { color: var(--cp-primary); font-weight: 500; }
.cp-app .autosave-status { font-size: 12px; font-weight: 400; }
.cp-app .preview-text { padding: 18px; font-size: 14px; line-height: 1.8; font-weight: 400; border-radius: 5px; background: #fafbfe; }
.cp-app .meta-grid dt { font-size: 12px; font-weight: 500; }
.cp-app .meta-grid dd { font-size: 13px; }
.cp-app .admin-sections { display: block; }
.cp-app .admin-section { background: transparent; border: 0; border-radius: 0; padding: 22px 0; border-bottom: 1px solid var(--cp-line); box-shadow: none; }
.cp-app .admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 30px; }
.cp-app .admin-card { background: transparent; border: 0; border-radius: 0; box-shadow: none; padding: 16px 0; border-bottom: 1px solid var(--cp-line); transform: none; }
.cp-app .admin-card strong { font-size: 14px; font-weight: 550; }
.cp-app .admin-card span { font-size: 12px; }
.cp-app .admin-card:hover { background: transparent; color: var(--cp-primary); transform: none; }
.cp-app .filters { background: transparent; border: 0; padding: 0; box-shadow: none; margin: 20px 0 24px; }
.cp-app .cp-filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0; }
.cp-filters .cp-search { flex: 1; min-width: 180px; position: relative; }
.cp-search > .cp-icon { position: absolute; left: 12px; top: 12px; color: #8d97a8; }
.cp-app .cp-search input { width: 100%; padding-left: 40px; }
.cp-app .cp-filters select { min-width: 145px; }
.cp-pagination { display: flex; justify-content: space-between; align-items: center; margin: 24px 0; color: var(--cp-muted); font-size: 12px; }
.cp-pagination > div { display: flex; gap: 12px; align-items: center; }
.cp-app.is-guest .page.cp-main { max-width: none; min-height: 100dvh; display: grid; place-items: center; padding: 36px 20px; background: #f8f9fc; }
.cp-login { width: 100%; max-width: 380px; }
.cp-login-logo { width: 190px; height: auto; display: block; margin: 0 auto 38px; }
.cp-login h1 { font-size: 26px; text-align: center; font-weight: 600; }
.cp-login > p { text-align: center; font-size: 13px; margin: 10px 0 30px; }
.cp-login form { display: grid; gap: 20px; }
.cp-login label { font-size: 13px; }
.cp-login input { min-height: 46px; }
.cp-password { position: relative; }
.cp-password input { padding-right: 44px; }
.cp-password .cp-icon-button { position: absolute; right: 5px; top: 5px; }
.cp-login .button { width: 100%; margin-top: 5px; min-height: 44px; }
.cp-login-footer { border-top: 1px solid var(--cp-line); padding-top: 22px; margin-top: 28px; display: flex; justify-content: center; align-items: center; gap: 7px; color: var(--cp-muted); font-size: 11px; }
.cp-login-footer .cp-icon { width: 14px; height: 14px; flex-basis: 14px; }
.cp-flow { display: flex; gap: 0; padding: 0; margin: 0 0 26px; list-style: none; border-bottom: 1px solid var(--cp-line); }
.cp-flow li { flex: 1; }
.cp-flow a, .cp-flow span { display: flex; gap: 9px; align-items: center; justify-content: center; padding: 14px 8px; font-size: 12px; color: var(--cp-muted); border-bottom: 2px solid transparent; }
.cp-flow [aria-current] { color: var(--cp-primary); border-bottom-color: var(--cp-primary); font-weight: 550; }
.cp-flow b { display: inline-flex; width: 22px; height: 22px; justify-content: center; align-items: center; border-radius: 50%; background: #edf0f5; font-weight: 500; }
.cp-flow [aria-current] b { color: #fff; background: var(--cp-primary); }
.cp-editor-heading { display: flex; align-items: center; gap: 10px; }
.cp-editor-heading .cp-platform-icon { width: 27px; height: 27px; }
.cp-editor-heading .cp-platform-icon .cp-icon { width: 25px; height: 25px; }
.cp-upload-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: 30px; }
.cp-upload-layout > * { min-width: 0; }
.cp-upload-area { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; min-height: 315px; border: 1px dashed #bdc9df; border-radius: 6px; background: #fff; text-align: center; padding: 30px; }
.cp-upload-area > .cp-icon { width: 35px; height: 35px; color: #7b90bb; }
.cp-upload-area input[type="file"] { max-width: 100%; font-size: 12px; }
.cp-upload-area.is-dragover { border-color: var(--cp-primary); background: var(--cp-primary-soft); }
.cp-upload-area small { color: var(--cp-muted); font-size: 11px; }
.cp-form-stack { display: grid; gap: 21px; align-content: start; }
.cp-upload-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 10px; margin-top: 18px; }
.cp-upload-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.cp-segmented { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--cp-line); border-radius: 6px; background: #fff; margin-bottom: 20px; }
.cp-segmented label { cursor: pointer; position: relative; font-size: 12px; padding: 9px 19px; border-radius: 4px; display: flex; align-items: center; gap: 7px; }
.cp-segmented label:has(input:checked) { background: var(--cp-primary-soft); color: var(--cp-primary); }
.cp-segmented input[type="radio"] { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.cp-segmented label:has(input:focus-visible) { outline: 3px solid #92b8ff; }
.cp-segmented .cp-icon { width: 16px; height: 16px; flex-basis: 16px; }
.cp-editor-columns { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 30px; align-items: start; }
.cp-editor-columns > * { min-width: 0; }
.cp-preview { background: #fff; border: 1px solid var(--cp-line); border-radius: 6px; overflow: hidden; }
.cp-preview-header { display: flex; gap: 9px; align-items: center; padding: 16px; font-size: 12px; }
.cp-preview-header small { display: block; font-size: 10px; color: var(--cp-muted); }
.cp-preview-copy { font-size: 13px; line-height: 1.75; padding: 0 18px 18px; white-space: pre-wrap; overflow-wrap: anywhere; color: #343c4d; }
.cp-preview img { width: 100%; max-height: 470px; object-fit: contain; background: #f1f3f7; display: block; }
.cp-preview-caption { font-size: 11px; color: var(--cp-muted); padding: 13px 0; }
.cp-ai-actions { display: flex; flex-wrap: wrap; gap: 7px; padding: 14px 0; }
.cp-app .cp-ai-actions button { border: 1px solid var(--cp-line); background: white; font-size: 11px; padding: 8px 10px; color: #5c6680; }
.cp-app .cp-ai-actions button:hover { color: var(--cp-primary); border-color: #adc7fa; }
.cp-ai-actions button .cp-icon { width: 14px; height: 14px; }
.cp-textarea-large { min-height: 320px; }
.cp-preview-column { position: sticky; top: 24px; }
.cp-app div.cp-section-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 15px; }
.cp-icon-button[data-copy-feedback] { position: relative; }
.cp-icon-button[data-copy-feedback]::after { content: attr(data-copy-feedback); position: absolute; bottom: calc(100% + 5px); right: 0; white-space: nowrap; background: #202635; color: white; font-size: 11px; padding: 6px 9px; border-radius: 4px; z-index: 5; }
.cp-preview video { display: block; width: 100%; max-height: 480px; background: #121419; }
.cp-preview video[hidden], [data-media-refresh][hidden] { display: none !important; }
[data-pwa-install][hidden] { display: none !important; }
.cp-preview.is-linkedin { display: flex; flex-direction: column; }
.cp-preview.is-linkedin .cp-preview-header { order: -2; }
.cp-preview.is-linkedin .cp-preview-copy { order: -1; }
.cp-preview-copy > div + div:not(:empty) { margin-top: 16px; }
.cp-preview .carousel-preview { margin: 0; border: 0; border-radius: 0; }
.cp-preview .carousel-preview-main { background: #f1f3f7; height: auto; min-height: 0; }
.cp-preview .carousel-preview-main > img { height: auto; max-height: 430px; }
.cp-preview .carousel-preview-meta { padding: 8px 16px; font-size: 11px; font-weight: 400; }
.cp-preview .carousel-nav { width: 34px; height: 34px; background: #ffffffed; color: #182234; border-radius: 50%; padding: 7px; }
.cp-copy-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--cp-muted); }
.cp-copy-meta small { font-size: 10px; }
.cp-brief { border-bottom: 1px solid var(--cp-line); padding-bottom: 15px; }
.cp-brief > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; font-size: 13px; cursor: pointer; padding: 6px 0; }
.cp-brief[open] > summary { margin-bottom: 16px; }
.cp-brief[open] > summary .cp-icon { transform: rotate(180deg); }
.cp-save-bar { display: flex; gap: 10px; flex-wrap: wrap; }
.cp-upload-thumbs figure { margin: 0; min-width: 0; }
.cp-upload-thumbs video { width: 100%; max-height: 180px; }
.cp-upload-thumbs figcaption { font-size: 10px; overflow-wrap: anywhere; margin-top: 5px; color: var(--cp-muted); }
.cp-form-stack .check-row small { display: block; margin-top: 7px; line-height: 1.6; color: var(--cp-muted); font-size: 11px; }
.cp-ideas { margin-top: 40px; border-top: 1px solid var(--cp-line); padding-top: 26px; }
.cp-idea { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--cp-line); }
.cp-idea > span { font-size: 13px; color: var(--cp-primary); }
.cp-idea p { font-size: 13px; line-height: 1.75; }
.cp-app .cp-publication-copy { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 14px; line-height: 1.85; background: white; padding: 24px; border: 1px solid var(--cp-line); border-radius: 6px; margin: 0; }
.cp-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cp-checklist li { display: flex; align-items: center; gap: 10px; color: #a76726; font-size: 12px; }
.cp-checklist li.is-done { color: #4c647d; }
.cp-checklist .cp-icon { width: 17px; height: 17px; }
.cp-file-row { display: flex; gap: 15px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--cp-line); font-size: 13px; }
.cp-file-row > div { flex: 1; }
.cp-file-row small { display: block; color: var(--cp-muted); margin-top: 5px; font-size: 11px; }
.cp-calendar-toolbar { display: flex; align-items: center; gap: 12px; }
.cp-calendar-weekdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--cp-line); }
.cp-calendar-weekdays span { font-size: 11px; padding: 12px; color: var(--cp-muted); }
.cp-app .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; }
.cp-app .calendar-day { border-radius: 0; border: 0; border-right: 1px solid var(--cp-line); border-bottom: 1px solid var(--cp-line); background: #fff; padding: 10px; min-height: 130px; }
.cp-app .calendar-day:nth-child(7n) { border-right: 0; }
.cp-app .calendar-day.is-outside { background: #f7f8fb; }
.cp-app .calendar-day > strong { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; font-size: 12px; font-weight: 500; }
.cp-app .calendar-day.is-today > strong { background: var(--cp-primary); color: white; border-radius: 50%; }
.cp-app .calendar-post { background: #edf3ff; border: 0; border-left: 2px solid #0a66c2; border-radius: 3px; padding: 7px; font-size: 10px; color: #33486a; margin: 7px 0 0; overflow-wrap: anywhere; }
.cp-app .calendar-post.instagram { background: #fff0f8; border-left-color: #d52e93; }
.cp-app .calendar-post span { font-size: 9px; margin-top: 4px; }
.cp-app .crop-preview-block { top: 18px; }
.cp-app .crop-preview-block .crop-stage img { max-height: 64vh; }
.cp-app .crop-editor-form { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); padding: 0; border: 0; background: none; gap: 18px 26px; }
.cp-app .crop-editor-form > *, .cp-app .editor-control-section > *, .cp-app .overlay-object-controls > * { min-width: 0; }
.cp-app .overlay-object-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cp-app .template-preview-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cp-app .template-preview-grid > * { min-width: 0; }
.cp-app .template-preview { font-size: 10px; overflow-wrap: anywhere; }
.cp-app .template-preview .template-logo { max-width: 100%; font-size: 7px; }
.cp-app .carousel-editor-nav { padding: 0 0 18px; background: none; border: 0; border-bottom: 1px solid var(--cp-line); margin-bottom: 20px; }
.cp-app .carousel-editor-nav h2 { font-size: 14px; }
.cp-app .carousel-editor-nav .panel-header { margin-bottom: 10px; }
.cp-app .carousel-editor-nav .button { padding: 6px 10px; font-size: 11px; }
.cp-app .carousel-editor-strip { display: flex; gap: 10px; overflow-x: auto; padding: 3px; }
.cp-app .carousel-editor-thumb { position: relative; flex: 0 0 74px; width: 74px; padding: 3px; border-radius: 4px; }
.cp-app .carousel-editor-thumb img { width: 66px; height: 64px; object-fit: cover; aspect-ratio: auto; border-radius: 2px; }
.cp-app .carousel-editor-thumb span { position: absolute; top: 6px; left: 6px; background: #172033d9; color: #fff; padding: 2px 5px; font-size: 10px; border-radius: 3px; }
.cp-app .carousel-editor-thumb em { font-size: 9px; }
.cp-app .editor-control-section.cp-editor-tools { display: block; padding: 0 0 16px; border: 0; border-radius: 0; background: none; border-bottom: 1px solid var(--cp-line); }
.cp-editor-tools > summary { cursor: pointer; list-style: none; display: flex; gap: 10px; align-items: center; font-size: 13px; padding: 8px 0; }
.cp-editor-tools > summary .cp-icon:last-child { margin-left: auto; }
.cp-editor-tools[open] > summary { margin-bottom: 15px; }
.cp-editor-tools[open] > summary .cp-icon:last-child { transform: rotate(180deg); }
.cp-app .text-layer-card, .cp-app .overlay-object-card { background: transparent; border: 0; border-radius: 0; border-bottom: 1px solid var(--cp-line); padding: 15px 0; }
.cp-app .crop-preview-block { grid-row: 2 / span 20; padding: 16px; align-self: start; }
.cp-app .crop-preview-block .crop-stage > img { max-height: min(57vh, 620px); width: auto; max-width: 100%; }
.cp-app .crop-editor-form > .form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cp-app .crop-editor-form > .form-actions .button { flex-shrink: 0; white-space: nowrap; }
.cp-app .crop-editor-form > .form-actions label { flex: 1 1 200px; }
.cp-app .detail-grid > *, .cp-app .form-grid > *, .cp-app .video-flow-summary > * { min-width: 0; }
.cp-app .template-card, .cp-app .creator-template-card { border-radius: 6px; box-shadow: none; }
.cp-app .post-flow-grid { display: none; }
.cp-app .readiness-panel { box-shadow: none; }
@media (min-width: 1700px) { .cp-app .page.cp-main { padding-left: 46px; padding-right: 46px; } }
@media (max-width: 1150px) {
    :root { --cp-sidebar: 200px; }
    .cp-brand img { width: 147px; }
    .cp-app .page.cp-main { padding: 26px; }
    .cp-topbar { padding: 0 26px; }
    .cp-overview-columns { grid-template-columns: minmax(0, 1fr); }
    .cp-schedule-aside { border-left: 0; border-top: 1px solid var(--cp-line); padding: 24px 0 0; }
    .cp-week { max-width: 330px; }
    .cp-content-row { grid-template-columns: 68px minmax(0, 1fr) auto 32px; }
    .cp-thumb { width: 68px; height: 68px; }
    .cp-channel { padding: 18px; gap: 12px; }
}
@media (max-width: 760px) {
    .cp-sidebar { display: none; }
    .cp-workspace { margin: 0; }
    .cp-topbar { height: 67px; padding: 0 18px; }
    .cp-breadcrumb { display: none; }
    .cp-mobile-brand { display: block; }
    .cp-mobile-brand img { width: 136px; height: 39px; object-fit: contain; display: block; }
    .cp-environment { font-size: 9px; padding: 4px 6px; }
    .cp-topbar-end { gap: 5px; }
    .cp-app .page.cp-main { padding: 25px 18px 110px; max-width: 100%; }
    .cp-app h1 { font-size: 26px; }
    .cp-app h2 { font-size: 17px; }
    .cp-app .page-heading { flex-wrap: wrap; gap: 17px; align-items: flex-start; }
    .cp-date { font-size: 13px; }
    .cp-channels { grid-template-columns: 1fr; gap: 12px; margin-top: 17px; margin-bottom: 26px; }
    .cp-channel { padding: 18px 20px; min-height: 88px; gap: 15px; }
    .cp-channel h3 { font-size: 17px; }
    .cp-channel p { font-size: 11px; }
    .cp-channel .cp-platform-icon { width: 32px; height: 32px; }
    .cp-metrics { margin: 25px 0 28px; padding-bottom: 25px; }
    .cp-metric { padding: 0 15px; }
    .cp-metric strong { font-size: 24px; }
    .cp-metric span { font-size: 11px; }
    .cp-content-row { grid-template-columns: 65px minmax(0, 1fr) 28px; gap: 12px; padding: 17px 0; align-items: start; }
    .cp-thumb { width: 65px; height: 75px; grid-row: span 2; }
    .cp-content-title h3 { font-size: 13px; }
    .cp-content-title p { display: none; }
    .cp-content-title .cp-row-platform { margin-top: 6px; }
    .cp-row-meta { grid-column: 2; flex-direction: row; align-items: center; gap: 7px; margin-top: -5px; }
    .cp-row-meta small { font-size: 9px; }
    .cp-content-row > .cp-menu { grid-row: 1; grid-column: 3; }
    .cp-tabs { gap: 23px; }
    .cp-app .badge { font-size: 10px; padding: 3px 6px; }
    .cp-mobile-nav { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; inset: auto 0 0; padding: 10px 8px max(10px, env(safe-area-inset-bottom)); background: #fffffffa; border-top: 1px solid var(--cp-line); z-index: 50; }
    .cp-mobile-nav a { display: flex; gap: 5px; flex-direction: column; align-items: center; justify-content: center; min-height: 43px; font-size: 9px; color: #697386; }
    .cp-mobile-nav a[aria-current] { color: var(--cp-primary); font-weight: 550; }
    .cp-mobile-nav .cp-icon { width: 21px; height: 21px; }
    .cp-app .cp-filters { gap: 8px; }
    .cp-filters .cp-search { flex-basis: 100%; }
    .cp-app .cp-filters select { flex: 1; min-width: 0; font-size: 12px; }
    .cp-app .cp-filters .button { padding: 10px; }
    .cp-app input, .cp-app select, .cp-app textarea { font-size: 16px; }
    .cp-app .admin-grid { grid-template-columns: 1fr; }
    .cp-app .panel { padding: 17px; }
    .cp-upload-layout, .cp-editor-columns { grid-template-columns: 1fr; gap: 23px; }
    .cp-app .detail-grid, .cp-app .form-grid { grid-template-columns: minmax(0, 1fr); }
    .cp-app .detail-grid .button { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
    .cp-app .video-flow-summary { flex-wrap: wrap; font-size: 12px; }
    .cp-preview-column { position: static; }
    .cp-idea { grid-template-columns: 20px minmax(0, 1fr); gap: 12px; }
    .cp-idea form { grid-column: 2; }
    .cp-upload-area { min-height: 235px; padding: 22px 16px; }
    .cp-segmented { display: flex; }
    .cp-segmented label { flex: 1; justify-content: center; padding: 9px 10px; }
    .cp-flow { margin-bottom: 21px; }
    .cp-flow a, .cp-flow span { padding: 12px 2px; gap: 6px; font-size: 11px; }
    .cp-app .calendar-grid { grid-template-columns: 1fr; }
    .cp-calendar-weekdays { display: none; }
    .cp-app .calendar-day { min-height: 70px; border-right: 0; display: grid; grid-template-columns: 45px 1fr; column-gap: 10px; }
    .cp-app .calendar-day.is-outside { display: none; }
    .cp-app .calendar-post { font-size: 12px; grid-column: 2; }
    .cp-app .calendar-post span { font-size: 11px; }
    .cp-app .crop-preview-block { position: sticky; top: 0; z-index: 4; background: var(--cp-bg); padding: 8px; }
    .cp-app .crop-preview-block .crop-stage img { max-height: 40vh; }
    .cp-app .crop-editor-form { display: flex; flex-direction: column; }
    .cp-app .crop-preview-block { order: -1; }
}
@media (prefers-reduced-motion: reduce) { .cp-app *, .cp-app *::before, .cp-app *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
