/* BUILD 14.8 · Editorial Publishing & Repurposing */
.kh-tabs button[data-view="articles"]{position:relative}
.article-library-shell{display:grid;gap:18px}
.article-library-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.article-library-head h2{margin:3px 0 5px;font-size:30px}
.article-library-head p{margin:0;max-width:760px}
.article-library-stats{display:grid;grid-template-columns:repeat(4,minmax(140px,1fr));gap:12px}
.article-library-stats .stat-card{padding:16px 17px;border:1px solid #ead9cf;border-radius:18px;background:#fffaf7;display:grid;gap:5px}
.article-library-stats strong{font-size:24px;color:#392922}
.article-library-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.article-library-tools input,.article-library-tools select{min-height:42px;border:1px solid #dfd0c7;border-radius:12px;background:#fff;padding:0 12px;color:#3d2e28;font:inherit}
.article-library-tools input{min-width:min(420px,100%);flex:1}
.article-library-list{display:grid;gap:10px}
.article-library-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(180px,.65fr) minmax(130px,.45fr) auto;align-items:center;gap:18px;padding:17px 18px;border:1px solid #ead9cf;border-radius:18px;background:#fff;transition:.16s ease}
.article-library-row:hover{border-color:#d7b7a6;box-shadow:0 10px 28px rgba(89,58,42,.06)}
.article-library-row h3{margin:0 0 4px;font-size:18px;color:#392922}
.article-library-row p{margin:0;color:#7a6961;font-size:13px;line-height:1.45}
.article-status{display:inline-flex;width:max-content;align-items:center;gap:6px;border-radius:999px;padding:6px 9px;font-size:12px;font-weight:750;background:#f4ede8;color:#725c51}
.article-status.online{background:#eaf3e9;color:#4f7354}.article-status.review{background:#f7e8de;color:#a05435}.article-status.ready{background:#efe8f7;color:#6e5689}.article-status.scheduled{background:#e9eef8;color:#51698d}
.article-derivatives{display:grid;gap:3px}.article-derivatives strong{font-size:17px}.article-derivatives span{font-size:12px;color:#8a776d}
.article-row-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.article-row-actions button,.article-row-actions a{white-space:nowrap}
.article-legacy-badge{display:inline-flex;margin-left:7px;padding:3px 6px;border-radius:7px;background:#f2efec;color:#87736a;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}

/* Article publishing takes over the generic destination area for website articles. */
#assetDestinationPanel.article-publishing-mode>.destination-grid{display:none}
.website-publish148{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:22px;margin-top:14px}
.publish-meta-card148,.publish-action-card148{border:1px solid #ead9cf;border-radius:20px;background:#fffaf7;padding:20px}
.publish-meta-card148 h3,.publish-action-card148 h3{margin:0 0 6px;font-size:20px}.publish-meta-card148>p,.publish-action-card148>p{margin:0 0 16px;color:#76645b}
.publish-meta-grid148{display:grid;grid-template-columns:1fr 1fr;gap:12px}.publish-meta-grid148 label{display:grid;gap:6px;font-size:12px;font-weight:750;color:#69574e}.publish-meta-grid148 label.wide{grid-column:1/-1}
.publish-meta-grid148 input,.publish-meta-grid148 textarea,.publish-meta-grid148 select{width:100%;border:1px solid #decfc6;border-radius:12px;background:#fff;padding:10px 11px;color:#382a24;font:inherit}.publish-meta-grid148 textarea{resize:vertical;min-height:80px}
.publish-slug-preview148{margin-top:12px;padding:10px 12px;border-radius:12px;background:#f3ede9;color:#715c52;font:12px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;word-break:break-all}
.publish-meta-actions148,.publish-primary-actions148{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.publish-primary-actions148{align-items:center}
.publish-status148{padding:11px 12px;border-radius:13px;background:#f5f1ee;color:#725f56;font-size:13px;line-height:1.45}.publish-status148.ok{background:#eaf3e9;color:#4d6f52}.publish-status148.warn{background:#fff0e7;color:#975539}
.publish-date-row148{display:grid;gap:7px;margin-top:14px}.publish-date-row148 input{border:1px solid #decfc6;border-radius:12px;background:#fff;padding:10px 11px;font:inherit}

#repurposeDialog148.kh-dialog{width:min(1480px,calc(100vw - 28px));height:min(900px,calc(100vh - 24px));max-width:none!important}
#repurposeDialog148 .repurpose-dialog148{width:100%!important;height:100%;max-width:none!important;max-height:none!important;overflow:auto;padding:32px 36px 24px;grid-template-rows:auto auto minmax(250px,1fr) auto auto}
#repurposeDialog148 .repurpose-suggestions148{align-content:start;min-height:250px}
#repurposeDialog148 .repurpose-footer148{position:sticky;bottom:-24px;background:#fff;padding-bottom:4px;z-index:3}
@media(min-width:1250px){#repurposeDialog148 .repurpose-suggestions148{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){#repurposeDialog148.kh-dialog{width:calc(100vw - 12px);height:calc(100vh - 12px)}#repurposeDialog148 .repurpose-dialog148{padding:24px 18px 18px}}
.repurpose-source148{padding:13px 14px;border-radius:14px;background:#f8f3ef;border:1px solid #ead9cf;margin:10px 0 18px}.repurpose-source148 strong{display:block;margin-bottom:3px}.repurpose-source148 span{font-size:13px;color:#806e65}
.repurpose-suggestions148{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 18px}.repurpose-card148{position:relative;display:grid;gap:8px;padding:16px;border:1px solid #e5d5cc;border-radius:17px;background:#fff;cursor:pointer}.repurpose-card148.selected{border-color:#c97656;background:#fff9f5;box-shadow:0 0 0 1px rgba(201,118,86,.12)}.repurpose-card148 input{position:absolute;right:14px;top:14px}.repurpose-card148 .type{font-size:11px;text-transform:uppercase;letter-spacing:.09em;color:#a1563b;font-weight:850}.repurpose-card148 strong{padding-right:28px;font-size:16px}.repurpose-card148 p{margin:0;color:#76635a;font-size:13px;line-height:1.45}.repurpose-card148 .hook{padding:8px 10px;border-radius:10px;background:#f7f2ef;color:#604c43;font-size:12px}
.repurpose-note148{font-size:13px;color:#7b685e}.repurpose-footer148{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid #ecded6;padding-top:16px}

.family-asset[data-derived="true"]{border-left:3px solid #d18a6d}.family-asset[data-derived="true"]:after{content:'aus Leitartikel';font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#95644f}

@media(max-width:1050px){.article-library-stats{grid-template-columns:repeat(2,1fr)}.article-library-row{grid-template-columns:1fr auto}.article-library-row>.article-derivatives,.article-library-row>.article-status-wrap{grid-row:2}.website-publish148{grid-template-columns:1fr}.repurpose-suggestions148{grid-template-columns:1fr}}
@media(max-width:700px){.article-library-head{align-items:flex-start;flex-direction:column}.article-library-stats{grid-template-columns:1fr 1fr}.article-library-row{grid-template-columns:1fr}.article-row-actions{justify-content:flex-start}.publish-meta-grid148{grid-template-columns:1fr}.publish-meta-grid148 label.wide{grid-column:auto}.repurpose-footer148{align-items:stretch;flex-direction:column}}

/* BUILD 15.6.0 · Carousel Prompt Workflow (Package 1) */
.repurpose-direct156{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border:1px solid #dcb29e;border-radius:18px;background:linear-gradient(135deg,#fff8f3,#fff);margin:4px 0 16px}.repurpose-direct156>div{display:grid;gap:5px}.repurpose-direct156 .type{font-size:10px;font-weight:850;letter-spacing:.1em;color:#b35e40}.repurpose-direct156 strong{font-size:18px;color:#392922}.repurpose-direct156 p{margin:0;color:#735f55;line-height:1.45;max-width:840px}.repurpose-divider156{display:flex;align-items:center;gap:12px;color:#8a756b;font-size:12px;margin:6px 0 2px}.repurpose-divider156:before,.repurpose-divider156:after{content:'';height:1px;background:#eaded7;flex:1}
#carouselStudio156.kh-dialog{width:min(1500px,calc(100vw - 24px));height:min(940px,calc(100vh - 20px));max-width:none!important}
#carouselStudio156 .carousel-studio156{width:100%!important;height:100%;max-width:none!important;max-height:none!important;overflow:auto;padding:30px 34px 22px;display:grid;grid-template-rows:auto auto 1fr auto;gap:16px}
.carousel-head156{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.carousel-head156 h2{font-size:30px;margin:3px 0 7px}.carousel-head156 p{margin:0;color:#78665d;max-width:850px;line-height:1.5}.carousel-badge156{padding:7px 10px;border-radius:999px;background:#f5e4d8;color:#965337;font-size:11px;font-weight:850;letter-spacing:.05em;white-space:nowrap}
.carousel-grid156{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}.carousel-step156{border:1px solid #e7d8d0;border-radius:20px;background:#fff;padding:18px;display:grid;gap:14px;min-width:0}.carousel-step-title156{display:flex;align-items:center;gap:11px}.carousel-step-title156>span{display:grid;place-items:center;width:29px;height:29px;border-radius:999px;background:#c96b4b;color:#fff;font-weight:850;font-size:13px;flex:0 0 auto}.carousel-step-title156>div{display:grid;gap:2px}.carousel-step-title156 strong{font-size:17px;color:#392922}.carousel-step-title156 small{font-size:12px;color:#846f65}.carousel-form156{display:grid;grid-template-columns:1fr 1fr;gap:11px}.carousel-form156 label,.carousel-import-meta156 label,.carousel-textarea-label156{display:grid;gap:6px;font-size:12px;font-weight:760;color:#68554c}.carousel-form156 label.wide{grid-column:1/-1}.carousel-form156 input,.carousel-form156 select,.carousel-form156 textarea,.carousel-import-meta156 input,.carousel-import-meta156 select,.carousel-textarea-label156 textarea{width:100%;border:1px solid #decfc7;border-radius:12px;background:#fff;padding:10px 11px;color:#382a24;font:inherit}.carousel-form156 textarea,.carousel-textarea-label156 textarea{resize:vertical;line-height:1.45}.carousel-main156{justify-self:start}.optional156{font-weight:500;color:#9a857b}.carousel-action-row156{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.carousel-action-row156 .kh-muted{font-size:12px}.carousel-help156{display:grid;gap:3px;padding:11px 12px;border-radius:13px;background:#f8f3ef;color:#745f55;font-size:12px;line-height:1.45}.carousel-import-meta156{display:grid;grid-template-columns:1fr 1fr;gap:10px}.carousel-preview156{display:grid;gap:11px;max-height:430px;overflow:auto;padding-right:2px}.carousel-core156{display:grid;gap:4px;padding:11px 12px;background:#fff8f3;border-radius:13px}.carousel-core156 strong{color:#4a342b}.carousel-core156 span{font-size:12px;color:#7d695f;line-height:1.45}.carousel-slide-list156{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.carousel-slide-card156{border:1px solid #eadbd3;border-radius:14px;background:#fff;padding:12px;display:grid;gap:7px;min-width:0}.carousel-slide-top156{display:flex;justify-content:space-between;gap:8px;align-items:center}.carousel-slide-top156 span{display:grid;place-items:center;width:24px;height:24px;border-radius:999px;background:#f1e2d9;color:#a45a3f;font-weight:850;font-size:11px}.carousel-slide-top156 em{font-style:normal;font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#92786b}.carousel-slide-card156 h4{margin:0;font-size:14px;line-height:1.3;color:#382a24}.carousel-slide-card156 p{margin:0;font-size:12px;line-height:1.45;color:#705d54}.carousel-slide-card156 small{color:#9a8277}.carousel-caption156{border-top:1px solid #eee0d8;padding-top:8px}.carousel-caption156 summary{cursor:pointer;font-weight:750;color:#684f44}.carousel-caption156 p{white-space:pre-wrap;color:#6e5b52;font-size:12px;line-height:1.5}.carousel-footer156{display:flex;justify-content:space-between;gap:15px;align-items:center;border-top:1px solid #ecded6;padding-top:13px;font-size:12px;color:#806d63}.carousel-footer156 code{background:#f4efec;padding:2px 5px;border-radius:5px}
@media(max-width:980px){.carousel-grid156{grid-template-columns:1fr}.carousel-preview156{max-height:none}.repurpose-direct156{align-items:flex-start;flex-direction:column}}
@media(max-width:650px){#carouselStudio156.kh-dialog{width:calc(100vw - 10px);height:calc(100vh - 10px)}#carouselStudio156 .carousel-studio156{padding:24px 16px 18px}.carousel-head156{flex-direction:column}.carousel-form156,.carousel-import-meta156,.carousel-slide-list156{grid-template-columns:1fr}.carousel-form156 label.wide{grid-column:auto}.carousel-footer156{align-items:stretch;flex-direction:column}}

/* BUILD 15.7.0 · Persistent Repurposing + Carousel Studio (Package 2) */
.artifact-button157{appearance:none;border:0;background:transparent;text-align:left;padding:0;cursor:pointer;color:inherit}.artifact-button157:hover strong{color:#b45f42}.artifact-button157:focus-visible{outline:2px solid #c96b4b;outline-offset:5px;border-radius:8px}
.repurpose-existing157{border:1px solid #e5d4ca;border-radius:18px;background:#fffaf7;padding:15px 16px;margin:2px 0 13px}.repurpose-existing-head157{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:10px}.repurpose-existing-head157>div{display:grid;gap:2px}.repurpose-existing-head157 span{font-size:12px;color:#806e64}.repurpose-existing-list157{display:grid;gap:8px}.repurpose-existing-list157 article{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:10px 12px;border-radius:13px;background:#fff;border:1px solid #eaded7}.repurpose-existing-list157 article>div{display:grid;gap:3px}.repurpose-existing-list157 .type,.artifact-row157 .type{font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:850;color:#a45a3d}.repurpose-existing-list157 small,.artifact-row157 small{color:#8a766d;font-size:11px}.repurpose-cache-note157{grid-column:1/-1;padding:9px 11px;border-radius:11px;background:#f5f0ec;color:#7b675d;font-size:12px}.repurpose-card148.accepted157{border-color:#b8ccb8;background:#f7fbf7;cursor:default}.accepted-badge157{font-size:11px;font-weight:800;color:#54735a}.artifacts-dialog157{width:min(940px,calc(100vw - 24px))!important;max-width:none!important}.artifacts-list157{display:grid;gap:9px;margin:6px 0 18px}.artifact-row157{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:13px;padding:13px 14px;border:1px solid #e8dad2;border-radius:16px;background:#fff}.artifact-row157>div:nth-child(2){display:grid;gap:3px}.artifact-icon157{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#f6e8df;color:#a45639;font-size:20px}

.carousel-design157{border-top:1px solid #eaded7;padding-top:20px;display:grid;gap:15px}.carousel-design-head157{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.carousel-design-head157 h3{margin:3px 0 5px;font-size:24px}.carousel-design-head157 p{margin:0;color:#78665d;max-width:720px}.carousel-design-actions157{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.carousel-file157{cursor:pointer}.carousel-photo-shelf157{display:flex;gap:9px;overflow:auto;padding:3px 0 8px}.carousel-photo-chip157{flex:0 0 94px;display:grid;gap:4px}.carousel-photo-chip157 img{width:94px;height:78px;object-fit:cover;border-radius:11px;border:1px solid #dfcec5}.carousel-photo-chip157 span{font-size:11px;font-weight:800}.carousel-photo-chip157 small{font-size:9px;color:#8e7a70;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.carousel-slide-strip157{display:flex;gap:10px;overflow:auto;padding:5px 2px 10px}.carousel-thumb-btn157{appearance:none;border:1px solid #e4d6cf;border-radius:14px;background:#fff;padding:6px;cursor:pointer;display:grid;gap:5px;min-width:124px;color:#5a463d}.carousel-thumb-btn157.active{border-color:#c96b4b;box-shadow:0 0 0 2px rgba(201,107,75,.13)}.carousel-thumb-btn157>span{font-size:10px;font-weight:750}.carousel-design-work157{display:grid;grid-template-columns:minmax(380px,1fr) minmax(290px,.58fr);gap:22px;align-items:start}.carousel-stage-shell157{display:grid;gap:10px;justify-items:center;background:#f4efeb;border:1px solid #e2d6cf;border-radius:20px;padding:18px}.carousel-stage157{width:min(540px,100%)}.carousel-stage-nav157{display:flex;align-items:center;justify-content:center;gap:10px;width:100%}.carousel-stage-nav157 span{font-size:12px;color:#76645b}.carousel-editor157{display:grid;gap:11px;border:1px solid #e6d8d0;border-radius:18px;background:#fff;padding:17px;position:sticky;top:12px}.carousel-editor157 label{display:grid;gap:5px;font-size:12px;font-weight:760;color:#66534a}.carousel-editor157 input,.carousel-editor157 select,.carousel-editor157 textarea{width:100%;border:1px solid #ddcec5;border-radius:11px;background:#fff;padding:9px 10px;font:inherit;color:#382a24;resize:vertical}.carousel-editor-note157{font-size:11px;line-height:1.45;margin:2px 0 0}
.bd-carousel-slide157{position:relative;overflow:hidden;aspect-ratio:4/5;background:#fff7ed;color:#2f2623;border-radius:5px;box-shadow:0 12px 30px rgba(47,38,35,.12);font-family:Arial,sans-serif}.bd-carousel-slide157.thumb157{width:108px;border-radius:3px;box-shadow:none}.carousel-photo157{position:absolute;width:100%;height:52%;left:0;top:0;object-fit:cover}.carousel-art157{position:absolute;inset:0;pointer-events:none}.carousel-copy157{position:absolute;left:7%;right:7%;top:10%;bottom:8%;display:flex;flex-direction:column;justify-content:center;z-index:2}.carousel-brand157{font-size:clamp(7px,1.8vw,12px);font-weight:850;letter-spacing:.1em;color:#9e553b;margin-bottom:8%}.carousel-copy157 h3{font-family:Georgia,serif;font-size:clamp(20px,5vw,44px);line-height:1.05;margin:0 0 6%;font-weight:700}.carousel-copy157 p{font-size:clamp(11px,2.4vw,21px);line-height:1.36;margin:0;color:#655149}.carousel-page157{position:absolute;right:6.5%;bottom:4%;font-size:clamp(7px,1.6vw,11px);font-weight:700;color:#7b675e;z-index:3}.type-cover_photo .carousel-copy157,.type-text_photo .carousel-copy157{top:54%;justify-content:flex-start}.type-cover_photo .carousel-brand157,.type-text_photo .carousel-brand157{margin-bottom:5%}.type-cover_photo .carousel-art157,.type-text_photo .carousel-art157{top:49%;background:#fff7ed}.type-cover_type .carousel-art157:before{content:'';position:absolute;width:42%;aspect-ratio:1;border-radius:50%;right:-8%;top:7%;background:#c96b4b}.type-cover_type .carousel-copy157{right:17%}.type-statement{background:#f5e6d3}.type-statement .carousel-copy157:before{content:'';width:18%;height:4px;background:#c96b4b;margin-bottom:10%}.type-fact .carousel-copy157{background:#f5e6d3;border-left:5px solid #c96b4b;border-radius:2px;padding:8%;top:18%;bottom:18%}.type-reflection_question{background:#2f2623;color:#fff7ed}.type-reflection_question .carousel-brand157,.type-reflection_question .carousel-page157{color:#f5e6d3}.type-reflection_question .carousel-copy157 p{color:#ead8cc}.reflection-mark157{position:absolute;right:0;top:-7%;font:700 clamp(80px,18vw,160px) Georgia,serif;color:#c96b4b;opacity:.95}.type-closing{background:#c96b4b;color:#fff7ed}.type-closing .carousel-brand157,.type-closing .carousel-page157,.type-closing .carousel-copy157 p{color:#fff7ed}.type-closing .carousel-copy157 h3{font-size:clamp(22px,5.5vw,48px)}

@media(max-width:980px){.carousel-design-head157{flex-direction:column}.carousel-design-actions157{justify-content:flex-start}.carousel-design-work157{grid-template-columns:1fr}.carousel-editor157{position:static}.carousel-stage157{width:min(500px,100%)}}
@media(max-width:650px){.artifact-row157{grid-template-columns:40px 1fr}.artifact-row157 button{grid-column:1/-1}.repurpose-existing-head157{align-items:flex-start;flex-direction:column}.carousel-design-actions157{display:grid;width:100%}.carousel-design-actions157>*{width:100%;justify-content:center}.carousel-stage-shell157{padding:10px}.carousel-editor157{padding:13px}}


/* BUILD 15.9.1 · Carousel single-scroll studio */
#carouselStudio156.kh-dialog{position:fixed!important;inset:7px!important;width:auto!important;height:auto!important;max-width:none!important;max-height:none!important;margin:0!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable}
#carouselStudio156 .carousel-studio156{height:auto!important;min-height:100%!important;max-height:none!important;overflow:visible!important}
#carouselStudio156 .carousel-preview156{max-height:none!important;overflow:visible!important}
#carouselStudio156 .carousel-footer156{background:#fffdf9;position:sticky;bottom:0;z-index:4;padding-bottom:4px}
.carousel-emotion-main159{width:100%;justify-content:center;margin-top:2px}
@media(max-width:650px){#carouselStudio156.kh-dialog{inset:3px!important;width:auto!important;height:auto!important}}
