.cp-view{max-width:1440px;margin:auto;padding:12px 0 48px;color:#363528}.cp-heading,.cp-list-heading,.cp-connect,.cp-dialog-head,.cp-content-intro{display:flex;align-items:center;justify-content:space-between;gap:24px}.cp-heading h1{font-size:clamp(28px,3vw,42px);font-weight:400;letter-spacing:-1px;margin:12px 0}.cp-heading p,.cp-start span>span,.cp-connect p,.cp-content-intro p,.cp-empty p{color:#817e70;line-height:1.6;margin:8px 0}.cp-library{display:flex;align-items:center;gap:8px}.cp-library svg{width:19px;height:19px}.cp-starts{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:32px 0 20px}.cp-start{display:flex;gap:20px;align-items:center;text-align:left;border:1px solid #dedbce;border-radius:22px;padding:28px;background:#fffdf8;color:inherit;cursor:pointer;transition:transform .2s,box-shadow .2s}.cp-start:hover{transform:translateY(-2px);box-shadow:0 8px 28px #3936220d}.cp-start:disabled{opacity:.6;cursor:wait}.cp-start strong{display:block;font-size:23px;font-weight:500;margin:8px 0}.cp-start small{font-size:10px;letter-spacing:1.8px;color:#9b8e59}.cp-start b{margin-left:auto;font-size:25px;font-weight:400}.cp-symbol{width:50px;height:50px;display:grid;place-items:center;border-radius:15px;background:#eeebdf;color:#8a7d47;flex-shrink:0;font-size:28px}.cp-symbol svg{width:26px;height:26px}.cp-plan{background:#49483a;color:#fffdf7;border-color:#49483a}.cp-plan .cp-symbol{background:#ffffff12;color:#d6c998}.cp-plan small{color:#cec293}.cp-plan span>span{color:#d2d0c6;font-size:14px}.cp-quick{background:#fff}.cp-quick span>span{font-size:14px}.cp-connect{padding:20px 24px;background:#f0eee5;border-radius:16px;gap:15px}.cp-connect strong{font-weight:500;font-size:14px}.cp-connect p{font-size:12px;margin:3px 0}.cp-dot{width:8px;height:8px;background:#b4a366;border-radius:50%;flex-shrink:0}.cp-connect>div{flex:1}.cp-connect button{font-size:12px}.cp-list-heading{margin-top:40px}.cp-list-heading h2{font-size:25px;font-weight:400;margin:8px 0}.cp-status{color:#827b63;font-size:13px;min-height:6px}.cp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.cp-card{text-align:left;color:inherit;border:1px solid #e2dfd3;background:#fffdfa;border-radius:20px;padding:24px;display:flex;flex-direction:column;cursor:pointer;min-width:0}.cp-card:hover{border-color:#b4a366}.cp-card-top,.cp-card footer,.cp-card-link{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:#888373}.cp-badge{background:#eeece3;color:#7c7350;padding:6px 10px;border-radius:30px;font-size:11px;white-space:nowrap}.cp-card h3{font-size:21px;font-weight:500;line-height:1.3;overflow-wrap:anywhere;margin:20px 0 10px}.cp-card p{font-size:14px;line-height:1.6;color:#7d796c;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 20px}.cp-chips{display:flex;gap:5px;flex-wrap:wrap;margin-top:auto;margin-bottom:20px}.cp-chips span{font-size:10px;border:1px solid #e5e1d4;border-radius:6px;padding:5px 7px}.cp-card footer{border-top:1px solid #ede9de;padding-top:15px;flex-wrap:wrap}.cp-card footer strong{font-size:18px;font-weight:400;color:#444336}.cp-card-link{margin-top:20px;color:#6a6141}.cp-empty{grid-column:1/-1;display:flex;align-items:center;gap:22px;padding:32px;border:1px dashed #d8d2bd;border-radius:20px}.cp-empty h3{font-size:19px;font-weight:400;margin:0}.cp-empty p{font-size:14px;max-width:550px}.cp-dialog{color:#363528;background:#faf8f1;border:1px solid #e1dac6;border-radius:24px;padding:0;width:min(1080px,calc(100vw - 48px));max-width:none;max-height:90dvh;box-shadow:0 30px 100px #26231540}.cp-dialog::backdrop{background:#29281c80;backdrop-filter:blur(5px)}.cp-dialog-head{padding:24px 30px 20px;border-bottom:1px solid #e5dfcf}.cp-dialog-head h2{margin:8px 0 0;font-size:26px;font-weight:400;line-height:1.3;overflow-wrap:anywhere}.cp-close{border:1px solid #ded8c6;border-radius:50%;background:#fffdf8;color:#585444;font-size:26px;line-height:1;width:40px;height:40px;flex-shrink:0;cursor:pointer}.cp-tabs{display:flex;gap:8px;padding:16px 30px}.cp-tabs button{background:none;color:#86806e;border:0;border-radius:30px;padding:10px 16px;font:inherit;font-size:13px;cursor:pointer}.cp-tabs button.is-active{background:#4b493b;color:white}.cp-dialog-body{padding:12px 30px 30px;max-height:calc(90dvh - 250px);overflow:auto}.cp-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}.cp-full{grid-column:1/-1}.cp-form label{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#797362}.cp-form input,.cp-form select,.cp-form textarea{width:100%;box-sizing:border-box;border:1px solid #ded9ca;border-radius:10px;background:#fffefb;padding:12px 14px;color:#39362a;font:inherit;font-size:14px;line-height:1.5;min-width:0}.cp-form textarea{min-height:100px;resize:vertical}.cp-form input:focus,.cp-form select:focus,.cp-form textarea:focus{outline:2px solid #baac7a;outline-offset:2px}.cp-note{font-size:12px;color:#8a826e;line-height:1.6}.cp-section-title{font-size:18px;font-weight:400;margin:28px 0 16px}.cp-channel-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.cp-channel-options label{flex-direction:row;gap:10px;padding:14px;border:1px solid #e1dccb;border-radius:12px;background:#fffdf8;cursor:pointer}.cp-channel-options label:has(:checked){background:#eeeadd;border-color:#b5a976}.cp-channel-options input{width:16px;accent-color:#5b5845}.cp-channel-options strong{display:block;font-size:13px;font-weight:500;color:#494535}.cp-channel-options small{display:block;font-size:10px;margin-top:4px}.cp-dialog-footer{border-top:1px solid #e1dac6;padding:16px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px}.cp-feedback{font-size:12px;color:#827553;line-height:1.5;max-width:650px;margin:0}.cp-dialog-footer button{flex-shrink:0}.cp-content-intro h3{font-size:20px;font-weight:400;margin:0}.cp-content-intro p{font-size:13px}.cp-content-intro button{flex-shrink:0}.cp-variants{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}.cp-variant{background:#fffdfa;border:1px solid #e3ddcd;border-radius:18px;padding:22px;min-width:0}.cp-variant header,.cp-track header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:20px}.cp-variant h3{font-size:17px;font-weight:500;margin:0}.cp-variant label{margin:14px 0}.cp-variant details{border-top:1px solid #ece5d5;padding-top:16px;margin-top:18px;font-size:12px}.cp-variant summary{cursor:pointer;color:#8a7950}.cp-motif{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:14px;background:#f2efe5;border-radius:12px}.cp-media-label{font-size:12px;flex-basis:100%}.cp-motif button{font-size:12px}.cp-remove{background:none;border:0;color:#88806a;cursor:pointer}.cp-budget-summary{padding:18px 22px;background:#eeebdf;border-radius:12px;font-size:15px}.cp-track{padding:20px;background:#fffdf8;border:1px solid #e0dac9;border-radius:15px;margin:16px 0}.cp-track header{font-size:14px;margin-bottom:12px}.cp-track header span{font-size:12px;color:#8a826e}.cp-track textarea{font-size:12px;min-height:80px;margin-bottom:12px}.cp-tracking-hint{padding:24px;background:#eeebdf;border-radius:14px}.cp-view button:focus-visible,.cp-dialog button:focus-visible{outline:2px solid #b6a466;outline-offset:3px}.cp-old{max-height:70dvh}.cp-old .marketing-heading h2{font-size:24px}
@media(max-width:900px){.cp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-start{padding:22px;gap:14px}.cp-start .cp-symbol{display:none}.cp-connect{flex-wrap:wrap}.cp-legacy{margin-left:23px}.cp-channel-options{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.cp-heading{align-items:flex-start}.cp-heading h1{font-size:29px}.cp-heading p{font-size:13px}.cp-library{font-size:0;padding:12px}.cp-starts,.cp-grid,.cp-fields,.cp-variants{grid-template-columns:1fr}.cp-starts{gap:12px;margin-top:24px}.cp-start{padding:22px}.cp-start strong{font-size:22px}.cp-start .cp-symbol{display:grid}.cp-connect{padding:18px}.cp-grid{gap:12px}.cp-empty{align-items:flex-start;padding:22px;gap:14px}.cp-empty .cp-symbol{width:38px;height:38px}.cp-dialog{width:calc(100vw - 16px);max-height:96dvh;border-radius:20px}.cp-dialog-head{padding:20px}.cp-dialog-head h2{font-size:22px}.cp-tabs{padding:12px;gap:2px}.cp-tabs button{padding:10px;font-size:12px;flex:1}.cp-dialog-body{padding:12px 18px 24px;max-height:calc(96dvh - 250px)}.cp-dialog-footer{padding:14px 18px;gap:10px;flex-wrap:wrap}.cp-feedback{width:100%}.cp-dialog-footer button{width:100%}.cp-full{grid-column:auto}.cp-content-intro{align-items:flex-start;flex-direction:column;gap:12px}.cp-channel-options{gap:8px}.cp-channel-options label{padding:12px 8px}.cp-channel-options small{font-size:9px}.cp-track header{align-items:flex-start;flex-direction:column;gap:4px}.cp-variant{padding:18px}.cp-list-heading h2{font-size:22px}}

.cp-motif-image{width:100%;height:150px;object-fit:cover;border-radius:8px}.cp-view [hidden],.cp-dialog [hidden]{display:none!important}

.cp-whatsapp { margin-top:32px;padding:24px;border:1px solid var(--sp-border);border-radius:16px;background:#fff; }
.cp-whatsapp[hidden] { display:none; }
.cp-whatsapp h3 { margin:0 0 16px; }
.cp-whatsapp small { color:var(--sp-text-muted);font-size:12px; }
/* Checkbox clicks keep the selection treatment; keyboard focus belongs to the tile. */
.cp-form input[type="checkbox"]:focus { outline:none;box-shadow:none; }
.cp-channel-options label:has(input:focus-visible) { outline:2px solid #b6a466;outline-offset:3px; }

.cp-workspace-tabs button,.cp-provider-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-height:40px;border:0;background:transparent;color:#7d7866;padding:8px 16px;border-radius:999px;font:inherit;font-size:12px;line-height:16px;cursor:pointer}
.cp-workspace-tabs button[aria-pressed=true],.cp-provider-tabs button[aria-pressed=true]{background:#4a463a;color:#fff}
.cp-live-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.cp-live-toolbar h2{margin:16px 0;font-size:28px;font-weight:500}
.cp-provider-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 24px}.cp-live-status,.cp-live-note{font-size:13px;line-height:1.6;color:#847e6b;margin:16px 0}
.cp-live-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0 32px}.cp-live-metrics svg{width:24px;height:24px;color:#ad9d66}
.cp-live-list{display:grid;gap:16px}.cp-live-row{display:grid;grid-template-columns:minmax(0,2fr) 1fr 1fr 24px;align-items:center;gap:24px;text-align:left;padding:24px;background:white;border:1px solid #e5dfd0;border-radius:16px;color:inherit;font:inherit;cursor:pointer}.cp-live-row small{display:block;font-size:12px;color:#847e6b;margin-bottom:8px}.cp-live-row strong{display:block;font-weight:500;overflow-wrap:anywhere}.cp-live-arrow svg{width:24px;height:24px}
.cp-result-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:32px}.cp-result-facts strong{display:block;margin-top:8px;font-size:24px;font-weight:500}.cp-daily-list>div{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;padding:16px 0;border-bottom:1px solid #e5dfd0;font-size:14px}.cp-daily-list strong{text-align:right;font-weight:500}
.cp-planning[hidden],.cp-performance[hidden]{display:none}
@media(max-width:820px){.cp-live-toolbar{align-items:flex-start;flex-direction:column}.cp-live-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.cp-live-row{grid-template-columns:minmax(0,1fr) 24px;gap:16px;padding:16px}.cp-live-row>span:first-child{grid-column:1}.cp-live-arrow{grid-column:2;grid-row:1}.cp-live-row>span:nth-child(2),.cp-live-row>span:nth-child(3){grid-column:1}.cp-daily-list>div{font-size:12px;gap:8px}}

.main .cp-workspace-tabs .cp-library{margin-left:auto;display:inline-flex;align-items:center;gap:8px;padding:8px 16px;position:static}.cp-workspace-tabs .cp-library svg{width:20px;height:20px}

.cp-workspace-tabs button:hover,.cp-provider-tabs button:hover{background:#ede8da}.cp-workspace-tabs button[aria-pressed=true]:hover,.cp-provider-tabs button[aria-pressed=true]:hover{background:#4a463a}.cp-workspace-tabs button:focus-visible,.cp-provider-tabs button:focus-visible{outline:2px solid #b5a56b;outline-offset:3px}.cp-live-toolbar [data-refresh],.main .cp-workspace-tabs .cp-library{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:8px 16px;background:#fff;border:1px solid #e5dfd0;border-radius:999px;font:inherit;font-size:12px;line-height:16px;color:#4a463a}.cp-live-toolbar [data-refresh] svg{width:16px;height:16px}
/* Shared editor layout; action and close appearance comes exclusively from buttons.css. */
.cp-editor-main{display:flex;flex-direction:column;gap:24px}.cp-editor-main>p,.cp-editor-main>h3{margin:0}.cp-editor-main>[data-back]{align-self:flex-start}.cp-editor-targets{display:grid;gap:16px}.cp-editor-form{display:grid;gap:24px}.cp-editor-form .cp-fields{gap:24px}.cp-editor-actions{display:flex;justify-content:flex-end;gap:16px;flex-wrap:wrap}.cp-editor-motif{display:flex;flex-wrap:wrap;align-items:center;gap:16px}.cp-editor-motif img{width:160px;height:160px;object-fit:cover;border-radius:16px}.cp-editor-notice{display:grid;gap:16px}.cp-editor-notice button{justify-self:start}.cp-change-review{border:1px solid #e5dfd0;border-radius:16px;background:#fff;overflow:hidden}.cp-change-review>div{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;padding:16px;border-bottom:1px solid #e5dfd0;overflow-wrap:anywhere;font-size:14px}.cp-change-review>div:last-child{border:0}.cp-approval{display:flex;align-items:flex-start;gap:16px;font-size:14px;line-height:1.5}.cp-approval input{width:20px;height:20px;flex:0 0 20px;accent-color:#4a463a}.cp-editor-dialog .cp-dialog-body{max-height:70dvh}.cp-editor-dialog .cp-form input,.cp-editor-dialog .cp-form select,.cp-editor-dialog .cp-form textarea{font-size:16px}.cp-editor-dialog .cp-dialog-head h2{padding-right:0}@media(max-width:600px){.cp-editor-main{gap:16px}.cp-editor-actions{display:grid;grid-template-columns:1fr;width:100%}.cp-change-review>div{gap:8px;padding:16px 8px;font-size:12px}.cp-editor-dialog .cp-dialog-body{max-height:70dvh}}

.cp-editor-dialog .cp-dialog-body{padding:32px}@media(max-width:600px){.cp-editor-dialog .cp-dialog-body{padding:16px}}
.cp-editor-main>*{flex-shrink:0}.cp-change-review strong{font-weight:500}.cp-editor-main>h3{overflow-wrap:anywhere}
/* Campaign intelligence uses the shared controls and spacing scale. */
.cp-ai-section{border-block:1px solid #e5dfd0;margin-block:32px;padding-block:32px;display:grid;gap:16px}.cp-ai-heading{display:flex;align-items:center;justify-content:space-between;gap:24px}.cp-ai-heading h3{margin:16px 0 0;font-weight:400;font-size:24px}.cp-ai-heading button{flex-shrink:0}.cp-ai-section p{margin:0;line-height:1.6}.cp-ai-summary{font-size:16px}.cp-ai-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}.cp-ai-card{display:flex;flex-direction:column;gap:16px;min-width:0;padding:24px;background:#fff;border:1px solid #e5dfd0;border-radius:16px}.cp-ai-card h4{font-size:20px;font-weight:500;margin:0;line-height:1.3}.cp-ai-card>p,.cp-ai-card details{font-size:14px}.cp-ai-card>button,.cp-ai-card>.cp-note{margin-top:auto;align-self:flex-start}.cp-ai-card details{overflow-wrap:anywhere}.cp-ai-card summary,.cp-ai-limits summary{cursor:pointer;color:#716c59}.cp-ai-card details p{margin-top:8px}.cp-ai-changes{display:grid;gap:16px;padding:16px;background:#f6f4ec;border-radius:8px}.cp-ai-changes small,.cp-ai-changes strong,.cp-ai-test strong{display:block}.cp-ai-changes strong{font-size:16px;font-weight:500;margin-top:8px;overflow-wrap:anywhere}.cp-ai-test strong{font-weight:500;margin-bottom:8px}.cp-ai-budget,.cp-ai-notice{background:#efecdf;border-radius:16px;padding:16px;font-size:14px}.cp-ai-limits{font-size:13px;line-height:1.6}.cp-ai-limits p{margin-top:8px}.cp-ai-empty{color:#817e70}@media(max-width:600px){.cp-ai-heading{align-items:flex-start;flex-direction:column;gap:16px}.cp-ai-heading h3{font-size:22px}.cp-ai-heading button{width:100%}.cp-ai-grid{grid-template-columns:1fr}.cp-ai-card{padding:16px}.cp-ai-card>button{width:100%}.cp-ai-section{margin-block:24px;padding-block:24px}}

.cp-form label.cp-approval{flex-direction:row;gap:16px;font-size:14px}.cp-form .cp-approval input{width:20px;height:20px;padding:0;margin:0;flex:0 0 20px}.cp-approval span{min-width:0}

/* Shared media formats: the existing button, field and close tokens remain authoritative. */
.media-kind-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.video-tile{display:flex;flex-direction:column}.video-tile>video,.video-placeholder{width:100%;aspect-ratio:16/9;object-fit:contain;background:#eeece3;display:block}.video-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:var(--muted,#858171)}.video-placeholder svg{width:32px;height:32px}.video-tile .media-tile-info{flex:1}.video-tile .media-tile-bottom{gap:16px;flex-wrap:wrap}.video-library-preview{width:100%;max-height:280px;object-fit:contain;border-radius:16px;background:#eeece3}.video-library-preview[hidden]{display:none}
.cp-editor-motif video{width:100%;max-width:320px;max-height:240px;object-fit:contain;border-radius:16px}.cp-editor-motif[hidden]{display:none}.cp-editor-motif>div{display:grid;gap:16px}.cp-carousel-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}.cp-carousel-card{min-width:0;padding:24px;border:1px solid var(--line,#e4dfd0);border-radius:24px;background:#fff;display:flex;flex-direction:column;gap:16px}.cp-carousel-card header{display:flex;align-items:center;justify-content:space-between;gap:8px}.cp-card-tools{display:flex;gap:8px}.cp-card-tools button{width:40px!important;min-width:40px!important;height:40px!important;padding:8px!important}.cp-card-tools svg{width:16px;height:16px}.cp-carousel-preview{height:192px;display:flex;justify-content:center;align-items:center;background:#f5f3ed;border-radius:16px;overflow:hidden}.cp-carousel-preview img,.cp-carousel-preview video{width:100%;height:100%;object-fit:contain}.cp-carousel-card label{display:grid;gap:8px}.cp-change-review strong,.cp-change-review span{white-space:pre-line;overflow-wrap:anywhere}.cp-ai-hint{display:flex;gap:16px;align-items:flex-start;padding:16px 24px;border-left:2px solid var(--gold,#b3a56d);background:#f3f0e7;border-radius:0 16px 16px 0;margin:24px 0;color:#74705e}.cp-ai-hint>svg{width:20px;height:20px;flex-shrink:0;margin-top:2px}.cp-ai-hint>p{margin:0;font-size:15px;line-height:1.6}.cp-ai-limits{font-size:14px;color:#858171}.cp-ai-limits summary{list-style:none;display:flex;align-items:center;gap:8px;cursor:pointer}.cp-ai-limits summary::-webkit-details-marker{display:none}.cp-ai-limits summary svg{width:16px;height:16px}.cp-ai-limits[open] summary svg{transform:rotate(180deg)}
@media(max-width:767px){.cp-carousel-cards{grid-template-columns:1fr}.cp-carousel-card{padding:16px}.cp-ai-hint{padding:16px}.video-grid{grid-template-columns:1fr}.media-kind-tabs{width:100%}.video-library-preview{max-height:224px}.video-grid input,.media-edit-dialog input,.media-edit-dialog textarea,.media-edit-dialog select{font-size:16px}}

.media-toolbar~[data-more][hidden],.media-more[hidden]{display:none!important}.video-grid .media-empty{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:32px}.video-grid .media-empty p{margin:0}.media-edit-dialog input[type=file]::file-selector-button{font:inherit;color:inherit;background:#fff;border:1px solid #dedbd2;border-radius:999px;padding:8px 16px;margin-right:16px;cursor:pointer}
/* Shared media intelligence: same library tiles, controls and spacing. */
.video-ai-tools{display:grid;gap:16px}.video-ai-tools[hidden]{display:none}.video-ai-tools .cp-note{margin:0}.video-ai-tools button{justify-self:start}
.media-recommendation-grid .media-tile{display:flex;flex-direction:column}.media-recommendation-grid .media-tile>video,.media-recommendation-grid .media-tile>img{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--surface,#fff)}
.media-recommendation-grid .media-tile-info{display:flex;flex:1;flex-direction:column;gap:16px}.media-recommendation-grid .media-tile-info p{margin:0;line-height:1.5}.media-recommendation-grid .media-tile-info button{margin-top:auto;align-self:flex-start}.media-recommendation-grid small{color:var(--text-muted,#858171)}
.cp-editor-motif>div{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.video-edit-dialog .integration-dialog-body,.media-recommendations-dialog .integration-dialog-body{padding:32px}
.media-recommendation-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px}
@media(max-width:600px){.video-edit-dialog .integration-dialog-body,.media-recommendations-dialog .integration-dialog-body{padding:32px 16px}.media-recommendation-grid{grid-template-columns:minmax(0,1fr);gap:16px}}

/* Shared campaign review: same controls, typography and 8 px spacing system. */
.cp-audience-profile{border:1px solid var(--line,#e4dfd0);border-radius:16px;padding:24px;display:grid;gap:16px;min-width:0}.cp-audience-profile legend{padding:0 8px}.cp-publish-option{display:flex!important;align-items:center;gap:8px}.cp-publish-option input{width:16px!important;height:16px!important;flex:none}.cp-release-dialog{width:min(1200px,calc(100vw - 32px))}.cp-release-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:32px 0}.cp-release-card{border:1px solid var(--line,#e4dfd0);background:#fff;border-radius:16px;padding:24px;min-width:0;display:flex;flex-direction:column;gap:16px}.cp-release-card header{display:flex;align-items:center;justify-content:space-between;gap:16px}.cp-release-card h3,.cp-release-card h4,.cp-release-card p{margin:0}.cp-release-card img{width:100%;aspect-ratio:1.2;object-fit:contain;background:#f5f2e9;border-radius:8px}.cp-release-copy{white-space:pre-wrap;overflow-wrap:anywhere}.cp-release-url{overflow-wrap:anywhere}.cp-release-details{border-top:1px solid var(--line,#e4dfd0);padding-top:16px;margin-top:auto;display:grid;gap:16px}.cp-release-no-image{padding:32px;background:#f5f2e9;border-radius:8px}.cp-release-card .audience-details{margin:0}.cp-release-dialog .cp-approval{margin:24px 0;display:flex;gap:16px;align-items:flex-start}.cp-release-dialog .cp-approval input{flex:none;width:16px;height:16px;margin-top:4px}@media(max-width:640px){.cp-release-grid{grid-template-columns:1fr;gap:16px}.cp-release-card,.cp-audience-profile{padding:16px}.cp-release-card header{flex-wrap:wrap}.cp-release-dialog{width:calc(100vw - 16px)}}
@media(min-width:1100px){.cp-release-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.cp-release-card details{font-size:14px;color:#817964}.cp-release-card summary{cursor:pointer}.cp-release-card details[open] .cp-release-copy{margin-top:16px;color:#383526}.cp-release-dialog input{font-size:16px}

.cp-release-dialog .cp-editor-form{display:grid;gap:24px;overflow:visible}.cp-release-dialog .cp-editor-form input{font-size:16px}.cp-release-dialog .cp-editor-form>button{justify-self:start}.cp-release-dialog .cp-editor-form .cp-note{margin:0}@media(max-width:640px){.cp-release-dialog .cp-editor-form>button{width:100%}}

/* Kampagnenvorschau: Medien bleiben innerhalb ihrer jeweiligen Karte. */
.cp-plan-preview-grid,.cp-image-grid{min-width:0}.cp-image-review{grid-column:1/-1;min-width:0}.cp-image-review>header{margin-bottom:16px}.cp-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.cp-plan-preview{min-width:0;display:flex;flex-direction:column;gap:12px;padding:24px;background:var(--surface,#fff);border:1px solid var(--line,#e4dfd0);border-radius:16px;overflow:hidden}.cp-plan-preview>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.cp-plan-preview h3,.cp-plan-preview p{margin:0}.cp-plan-preview>video,.cp-plan-preview>img{display:block;width:100%;max-width:100%;height:auto;max-height:240px;object-fit:contain;align-self:center;background:#f5f2e9;border-radius:8px}.cp-plan-preview>video{aspect-ratio:16/9}.cp-plan-preview-grid>*,.cp-image-grid>*{min-width:0}@media(max-width:900px){.cp-image-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}@media(max-width:640px){.cp-image-grid{grid-template-columns:minmax(0,1fr)}.cp-plan-preview{padding:16px}.cp-plan-preview>video,.cp-plan-preview>img{max-height:224px}}
