@layer kotmee-creative-shell;
@layer kotmee-creative-shell{body.creative-editor-page>footer[data-tabbar][data-km-sidebar]{display:none!important}.creative-visual-dialog.live-dialog{outline:none!important;box-shadow:0 12px 36px #20283025!important}}
/* Platform controls only; authored layouts stay inside the sandbox. */
.creative-mode-choice{border:0;padding:0;margin:0 0 24px;display:grid;gap:10px}.creative-mode-choice legend{font-size:17px;font-weight:600;margin-bottom:12px}.creative-mode-choice label{display:flex!important;align-items:center;gap:12px;padding:14px;border:1px solid #e4e6e9;border-radius:14px;cursor:pointer}.creative-mode-choice label:has(input:checked){border-color:#777d87;background:#f6f7f8}.creative-mode-choice input{width:18px!important;height:18px!important;flex:0 0 18px;padding:0!important;accent-color:#343940}.creative-mode-choice span{display:grid;gap:4px}.creative-mode-choice strong{font-size:15px}.creative-mode-choice small{font-size:13px;line-height:19px;color:#70757e}
.creative-editor{display:flex;flex-direction:column;min-height:0;overflow:hidden;box-sizing:border-box}.creative-editor *{box-sizing:border-box}.creative-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:12px 16px;border-bottom:1px solid #eceef0}.creative-toolbar strong{margin-right:auto;font-size:16px}.creative-quiet,.creative-primary{min-height:40px;border:0;border-radius:12px;padding:9px 14px;font:500 14px/20px system-ui;cursor:pointer}.creative-quiet{background:#f1f2f4;color:#424750}.creative-primary{background:#30353e;color:#fff}.creative-primary:disabled,.creative-quiet:disabled{opacity:.45;cursor:default}.creative-quiet:focus-visible,.creative-primary:focus-visible{outline:2px solid #777f8c;outline-offset:2px}.creative-messages{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:24px 18px;display:flex;flex-direction:column;gap:12px;background:var(--km222-wallpaper,#f5f6f7);background-size:var(--km222-wallpaper-size,auto)}.creative-message{max-width:85%;padding:12px 15px;border-radius:17px;line-height:1.5;font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;color:#252931;box-shadow:0 1px 2px #1723330b}.creative-message[data-role=user]{align-self:flex-end;background:#e4f0e0;border-bottom-right-radius:5px}.creative-message[data-role=assistant]{align-self:flex-start;border-bottom-left-radius:5px}.creative-message p{margin:0}.creative-message .creative-quiet{margin-top:9px;margin-right:6px;display:inline-block}.creative-editor-empty{margin:auto;max-width:380px;color:#727882;text-align:center;font-size:15px;line-height:23px}.creative-editor-empty strong{display:block;color:#343943;font-size:20px;margin-bottom:8px}.creative-compose-wrap{flex:none;width:min(100% - 32px,720px);margin:0 auto;padding:8px 0 max(12px,env(safe-area-inset-bottom));background:transparent}.creative-compose{display:flex;align-items:flex-end;gap:2px;min-height:48px;padding:3px 4px;margin:0;border:1px solid #ffffff9c;border-radius:27px;background:#ffffffdc;box-shadow:0 1px 4px #00000009;backdrop-filter:blur(24px) saturate(130%);-webkit-backdrop-filter:blur(24px) saturate(130%)}.creative-compose>button{width:42px;height:42px;min-height:42px;flex:none;padding:9px;border:0;border-radius:50%;display:grid;place-items:center;background:transparent}.creative-compose>button>img{width:24px;height:24px;opacity:.8}.creative-compose>button[type=submit]{background:#3390ec}.creative-compose>button[type=submit]>img{opacity:1;filter:brightness(0) invert(1)}.creative-compose textarea{flex:1;min-width:0;min-height:42px;height:42px;max-height:142px;box-sizing:border-box;padding:10px 3px;margin:0;border:0;outline:0;background:transparent;color:#15181b;font:17px/22px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;border-radius:0;resize:none;overflow-y:auto}.creative-compose textarea::placeholder{color:#92999f}.creative-compose:focus-within{box-shadow:0 1px 4px #00000009}.creative-compose textarea:focus-visible{outline:none;box-shadow:none}.creative-job-status{margin:0 16px;padding:6px 0;color:#737983;font-size:13px;background:transparent}.creative-job-status:empty{display:none}.creative-panel{display:grid;gap:14px;max-height:65dvh;overflow:auto}.creative-panel label{display:grid;gap:6px;color:#525862;font-size:14px}.creative-panel input:not([type=checkbox]),.creative-panel textarea,.creative-panel select{width:100%;padding:10px 12px;border:1px solid #dfe2e7;border-radius:11px;background:white;color:#252932;font:14px/21px system-ui}.creative-panel label:has(input[type=checkbox]){display:flex;align-items:center;gap:9px}.creative-panel textarea{min-height:110px;resize:vertical}.creative-panel .creative-code{font:12px/18px ui-monospace,SFMono-Regular,monospace;min-height:260px}.creative-assets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.creative-asset{display:flex;flex-direction:column;gap:6px;min-width:0;border:1px solid #e9ebee;border-radius:13px;padding:10px;font-size:13px;overflow-wrap:anywhere}.creative-asset img,.creative-asset video{width:100%;height:110px;object-fit:contain;border-radius:8px;background:#f5f6f7}.creative-runtime-host{display:flex!important;flex-direction:column!important;overflow:hidden!important;min-height:0!important;padding:0!important}.creative-runtime-tools{display:flex;align-items:center;justify-content:flex-end;min-height:41px;box-sizing:border-box;padding:0 12px;gap:8px;background:transparent;flex:0 0 auto;border:0}.creative-runtime-tools .creative-quiet{min-height:36px;padding:7px 14px;font-size:13px;line-height:20px;border-radius:999px;background:#ffffffd9;color:#434b52;border:1px solid #ffffff9c;box-shadow:0 1px 3px #1723330a;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);text-decoration:none}.creative-runtime-tools .creative-quiet:hover{background:#fffffff0}.creative-runtime-tools .creative-quiet:focus-visible{outline:2px solid #6d7d85;outline-offset:2px}.creative-runtime-frame{display:block;width:100%;flex:1;min-height:160px;border:0;border-radius:24px;background:#fff}.creative-runtime-status{margin:auto;padding:30px 20px;text-align:center;color:#747a83;line-height:23px}.creative-preview{height:65dvh;min-height:300px;display:flex;flex-direction:column}.creative-public{margin:0;background:#f2f4f3;color:#24272e;font:15px/1.5 system-ui}.creative-public-shell{height:100dvh;display:flex;flex-direction:column;max-width:1100px;margin:auto;background:white}.creative-public-header{display:flex;gap:12px;align-items:center;padding:14px 18px;border-bottom:1px solid #eceef0;flex:0 0 auto}.creative-public-header a{color:inherit;text-decoration:none}.creative-public-header strong{flex:1}.creative-public-header img{width:38px;height:38px;border-radius:50%;object-fit:cover}.creative-public-main{flex:1;min-height:0}.creative-public-footer{padding:12px 18px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #eceef0;display:flex;justify-content:center;flex:0 0 auto}.creative-public-footer a{display:block;text-decoration:none;text-align:center;max-width:360px;width:100%}
@media(max-width:899px){.creative-toolbar{padding:9px 12px;gap:6px}.creative-toolbar strong{font-size:14px}.creative-toolbar button{padding:7px 10px;font-size:13px;min-height:36px}.creative-messages{padding:16px 12px}.creative-message{max-width:88%;font-size:17px;line-height:1.35}.creative-assets{grid-template-columns:repeat(2,minmax(0,1fr))}.creative-preview{height:70dvh}}
@media(prefers-reduced-motion:reduce){.creative-editor *{scroll-behavior:auto!important}}
body.creative-editor-page{--km222-wallpaper:url("/live/pattern222.svg"),radial-gradient(ellipse at 85% 10%,#c5d3b0 0,transparent 60%),radial-gradient(ellipse at 10% 85%,#8eba89 0,transparent 65%),linear-gradient(135deg,#bdcd8c,#83b28f);--km222-wallpaper-size:430px auto,cover,cover,cover;margin:0;color:#242831;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:hidden}
body.creative-editor-page .live-dialog{box-sizing:border-box;font-family:inherit}body.creative-editor-page button,body.creative-editor-page textarea{font-family:inherit}.creative-sidebar{display:none}body.creative-editor-page>footer[data-tabbar]{display:none!important}.creative-editor .creative-toolbar{flex:none;border-radius:16px;background:#ffffffed;border-bottom:1px solid #e9ebed}.creative-editor .creative-messages{background:none;padding-inline:max(16px,calc((100% - 720px)/2));}.creative-editor .creative-message{width:fit-content;flex:none}.creative-editor .creative-job-status{align-self:center;width:fit-content;max-width:calc(100% - 32px);margin:0 16px;padding:6px 10px;border-radius:12px;background:#ffffffd9;line-height:20px}.creative-editor .creative-editor-empty{padding:18px 22px;border-radius:20px;background:#ffffffd9;color:#727882;max-width:360px}.creative-editor .creative-editor-empty strong{font-size:18px}.creative-editor .creative-editor-empty span{font-size:14px;line-height:21px}
@layer kotmee-creative-shell{@media(min-width:900px){#hub-ai-editor.creative-editor{position:fixed!important;left:var(--km216-left)!important;top:16px!important;bottom:16px!important;width:var(--km216-width)!important;max-width:none!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:24px!important;background-image:var(--km-chat-image,var(--km222-wallpaper));background-size:var(--km222-wallpaper-size);background-color:#dce5d3}.creative-compose-wrap{width:min(100% - 48px,720px);padding-bottom:18px}.creative-compose{min-height:54px;border-radius:18px;padding:5px;background:#fff}}}
@layer kotmee-creative-shell{@media(max-width:899px){html.kotmee-app:has(body.creative-editor-page){height:100%;overflow:hidden}body.creative-editor-page.km185.km171{display:flex!important;flex-direction:column!important;width:100%!important;height:var(--creative-viewport,100dvh)!important;min-height:0!important;max-height:var(--creative-viewport,100dvh)!important;padding:0!important;overflow:hidden!important;background:#dce5d3}#hub-ai-editor.creative-editor{position:relative!important;inset:auto!important;flex:1!important;min-height:0!important;width:100%!important;max-width:none!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background-image:var(--km-chat-image,var(--km222-wallpaper));background-size:var(--km222-wallpaper-size);background-color:#dce5d3}.creative-editor .creative-messages{padding-inline:12px}.creative-compose-wrap{width:calc(100% - 16px)}.creative-toolbar strong{display:none}.creative-toolbar{justify-content:flex-start}.creative-toolbar [data-editor-action=more]{margin-left:auto}}}

.creative-visual-dialog.live-dialog{outline:none;width:min(1220px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:16px;box-sizing:border-box;font-family:system-ui,-apple-system,sans-serif}.creative-visual-dialog.live-dialog>header h2{font-size:18px;margin:0}.creative-visual-dialog.live-dialog>header{margin-bottom:12px}.creative-visual-body{display:flex;flex-direction:column;gap:10px;min-height:0}.creative-visual-toolbar{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.creative-visual-save-status{font-size:12px;color:#7c838b;margin-left:auto}.creative-visual-view{height:58dvh;min-height:280px;display:flex;justify-content:center;overflow:hidden;background:#edf0f1;border:1px solid #e3e6e9;border-radius:14px}.creative-visual-canvas{height:100%;width:100%;max-width:100%;padding:12px;box-sizing:border-box;background:#edf0f1}.creative-visual-canvas[data-mode=mobile]{width:414px;max-width:100%}.creative-visual-canvas .creative-runtime-tools{display:none}.creative-visual-selection{display:flex;align-items:center;gap:7px;flex-wrap:wrap;min-height:40px}.creative-visual-selection>span{font-size:14px;color:#747b83;margin-right:auto}.creative-visual-hint{font-size:12px;line-height:18px;color:#818791;margin:0}.creative-visual-palette{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.creative-visual-palette button{min-height:58px;text-align:left;padding:14px 16px;background:#f5f6f7;color:#383e45}.creative-visual-layers{display:grid;gap:6px;max-height:45dvh;overflow:auto}.creative-visual-layers button{text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.creative-visual-range{display:flex;align-items:center;gap:12px}.creative-panel .creative-visual-range input[type=range]{padding:0;border:0;accent-color:#4f6457;min-width:0}.creative-visual-range output{font-size:13px;min-width:32px;text-align:right;font-variant-numeric:tabular-nums}.creative-panel input[type=color]{height:42px;padding:4px}
@media(max-width:899px){.creative-visual-dialog.live-dialog{outline:none;width:calc(100vw - 12px);max-height:calc(100dvh - 12px);padding:10px;border-radius:18px}.creative-visual-toolbar .creative-quiet,.creative-visual-toolbar .creative-primary{font-size:12px;padding:7px 9px;min-height:36px}.creative-visual-save-status{width:100%;margin:0}.creative-visual-view{height:50dvh;min-height:260px}.creative-visual-selection button{font-size:12px;min-height:36px;padding:6px 9px}.creative-visual-selection>span{font-size:13px}.creative-visual-dialog .creative-visual-hint{font-size:11px}}

.creative-hub-frame{display:flex;flex-direction:column;min-height:0;height:100%;width:100%;box-sizing:border-box;overflow:hidden;border:1px solid #dce1e5;border-radius:22px;background:#fff;box-shadow:0 3px 12px #2028300b;text-align:left}.creative-hub-frame-header{display:flex!important;align-items:center!important;flex:0 0 auto;gap:10px;min-height:62px;padding:10px 14px;border-bottom:1px solid #e6e9ec;background:#ffffffed;box-sizing:border-box}.creative-hub-frame-back{width:22px;height:22px;flex:none}.creative-hub-frame-avatar{width:36px;height:36px;display:grid;place-items:center;flex:none;border-radius:50%;overflow:hidden;background:#e9edf1;color:#657382;font:600 17px/1 system-ui}.creative-hub-frame-avatar img{width:100%;height:100%;object-fit:cover}.creative-hub-frame-title{display:grid;gap:2px;min-width:0;flex:1}.creative-hub-frame-title strong{font:600 15px/20px system-ui;color:#252a30;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.creative-hub-frame-title small{font:12px/16px system-ui;color:#858b93;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.creative-hub-frame-more{width:22px;height:22px;flex:none}.creative-hub-frame-content{flex:1;min-height:0;display:flex;flex-direction:column;background:#fff;overflow:hidden}.creative-hub-frame-content .creative-runtime-frame{min-height:0}.creative-hub-frame-footer{flex:none;display:flex;justify-content:center;padding:9px 14px;border-top:1px solid #e6e9ec;background:#fff}.creative-hub-frame-subscribe:disabled{display:block;width:100%;max-width:340px;min-height:40px;padding:8px 16px;border:0;border-radius:12px;background:#f1f3f5;color:#586775;opacity:1;font:500 14px/20px system-ui;cursor:default}.creative-preview .creative-hub-frame{max-width:100%}.creative-visual-dialog:focus-visible{outline:none}.creative-visual-view{padding:0}.creative-visual-canvas .creative-hub-frame{box-shadow:0 2px 10px #2028300a}
@media(max-width:899px){.creative-visual-canvas{padding:6px}.creative-hub-frame-header{gap:8px;min-height:56px;padding:8px 10px}.creative-hub-frame-avatar{width:32px;height:32px}.creative-hub-frame-title strong{font-size:14px}.creative-hub-frame-footer{padding:7px 10px}.creative-hub-frame-subscribe:disabled{min-height:36px}.creative-visual-view{min-height:300px;height:52dvh}}

@media(max-width:899px){[data-creative-menu-fallback]{display:none!important}}

/* A fixed logical viewport is scaled visually; its iframe never inherits dialog dimensions. */
@layer kotmee-creative-shell{
 .creative-visual-dialog.live-dialog{position:fixed!important;inset:0!important;margin:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:none!important;border:0!important;border-radius:0!important;padding:12px!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;background:#fff!important}
 .creative-visual-dialog.live-dialog>header{flex:none!important;margin-bottom:8px!important;min-height:36px!important}
 .creative-visual-dialog .creative-visual-body{display:flex!important;flex:1!important;min-height:0!important;max-height:none!important;overflow:hidden!important;gap:8px!important;padding:0!important}
 .creative-visual-dialog .creative-visual-view{position:relative!important;display:block!important;flex:1!important;min-height:0!important;height:auto!important;overflow:auto!important;overscroll-behavior:contain!important;border-radius:12px!important;padding:0!important;background:#edf0f1!important;touch-action:pan-x pan-y}
 .creative-visual-dialog .creative-visual-canvas{position:absolute!important;max-width:none!important;padding:0!important;transform-origin:0 0!important;background:transparent!important}
 .creative-visual-dialog .creative-hub-frame{max-width:none!important;border:0!important;border-radius:0!important;box-shadow:0 2px 12px #20283024!important}
 .creative-visual-dialog .creative-hub-frame-header{flex:none!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important}
 .creative-visual-dialog .creative-hub-frame-header .km154-channel-bar{height:100%!important;width:100%!important;box-sizing:border-box!important}
 .creative-visual-dialog .creative-hub-frame-content{flex:none!important;min-height:0!important}
 .creative-visual-dialog .creative-hub-frame-footer{flex:none!important;min-height:0!important;box-sizing:border-box!important;border-radius:0!important}
 .creative-visual-dialog .creative-runtime-tools{display:flex!important}
 .creative-visual-dialog [hidden]{display:none!important}
}
.creative-visual-space{position:relative;box-sizing:border-box;min-width:100%;min-height:100%}.creative-visual-dimensions{flex:none;font:12px/18px system-ui;color:#737b84}.creative-visual-toolbar button[aria-pressed=true]{background:#30353e;color:white}.creative-visual-selection{flex:none}.creative-visual-hint{flex:none}
@media(max-width:899px){.creative-visual-toolbar{flex-wrap:nowrap;overflow-x:auto;flex:none;padding-bottom:4px}.creative-visual-toolbar>button{flex:none;white-space:nowrap}.creative-visual-save-status{display:none}.creative-visual-selection{max-height:76px;overflow:auto}.creative-visual-dimensions{font-size:11px}.creative-visual-dialog .creative-visual-hint{line-height:16px}}

/* Chat-led design briefs: plain cards, private references, schematic previews. */
.creative-attachments{display:flex;gap:10px;overflow:auto;max-width:100%;padding:4px 0 10px}.creative-attachments:empty{display:none}.creative-reference{position:relative;width:64px;height:64px;flex:none;border-radius:12px;overflow:hidden;background:#fff}.creative-reference>img{display:block;width:100%;height:100%;object-fit:cover}.creative-reference-remove{position:absolute;top:0;right:0;width:44px;height:44px;display:grid;place-items:start end;padding:4px;border:0;background:transparent;cursor:pointer}.creative-reference-remove>img{width:24px;height:24px;padding:4px;border-radius:50%;background:#fffffff2}.creative-design-note{display:block;margin:12px 0 8px;color:#747b82;font-size:12px}.creative-designs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:18px;width:min(780px,100%)}.creative-design{min-width:0;display:flex;flex-direction:column;gap:9px}.creative-design p{font-size:13px;line-height:1.5;margin:0}.creative-design p.creative-design-detail{font-size:12px;color:#717982}.creative-design>.creative-quiet{margin-top:auto;min-height:44px;border-radius:16px}.creative-design-sketch{height:260px;padding:10px;border-radius:22px;overflow:hidden;background:var(--design-background,#f4f3ef);color:var(--design-text,#26282d);font-size:12px;box-sizing:border-box;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:8px;position:relative;isolation:isolate}.creative-design-scene{position:relative;min-width:0;min-height:0;border-radius:15px;overflow:hidden;background:var(--design-surface,#fff)}.creative-design-scene>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.creative-design-caption{position:absolute;inset:auto 0 0;padding:22px 12px 12px;background:linear-gradient(transparent,#000b);color:white;display:grid;gap:3px;line-height:1.25}.creative-design-caption strong{font-size:16px;letter-spacing:-.3px;overflow-wrap:anywhere}.creative-design-caption small{font-size:9px;opacity:.8}.creative-design-scene-empty .creative-design-caption{position:static;background:transparent;color:inherit;padding:16px}.creative-design-blocks{display:grid;gap:6px;min-width:0;align-content:start}.creative-design-block{display:flex;align-items:center;gap:6px;padding:9px;border-radius:12px;background:var(--design-surface,#fff);min-width:0;font-size:10px;line-height:1.3;overflow-wrap:anywhere}.creative-design-marker{font-size:9px;opacity:.55;flex:none}.creative-design-sketch[data-composition=split]{grid-template-columns:1fr 1fr;grid-template-rows:1fr;align-items:stretch}.creative-design-sketch[data-composition=split] .creative-design-blocks{align-content:center}.creative-design-sketch[data-composition=split] .creative-design-caption strong{font-size:13px}.creative-design-sketch[data-composition=scene]{grid-template-rows:1fr;align-items:end;padding:12px}.creative-design-sketch[data-composition=scene] .creative-design-scene{position:absolute;inset:0;border-radius:22px;z-index:-1}.creative-design-sketch[data-composition=scene] .creative-design-caption{inset:0 0 auto;padding:16px 12px 32px;background:linear-gradient(#0009,transparent)}.creative-design-sketch[data-composition=scene] .creative-design-blocks{grid-template-columns:1fr 1fr;gap:6px}.creative-design-sketch[data-composition=gallery]{grid-template-rows:minmax(0,1fr) auto}.creative-design-sketch[data-composition=gallery] .creative-design-blocks{grid-template-columns:1fr 1fr}.creative-design-sketch[data-composition=gallery] .creative-design-block:first-child{grid-column:1/-1}.creative-design-sketch[data-composition=gallery] .creative-design-scene>img{object-position:center 35%}.creative-job-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.creative-job-status small{font-size:12px}.creative-editor .creative-message:has(.creative-designs){width:100%;max-width:100%}.creative-compose-wrap{box-sizing:border-box}

.creative-message-refs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}.creative-message-refs img{width:88px;height:88px;object-fit:cover;border-radius:10px}

.creative-runtime-tools[hidden]{display:none!important}.creative-view-toggle{flex:none;display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;border:0;border-radius:50%;background:transparent;cursor:pointer}.creative-view-toggle:hover{background:#ffffff40}.creative-view-toggle:focus-visible{outline:2px solid #72858a;outline-offset:2px}

.creative-message-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:10px;white-space:normal}.creative-message-actions:empty{display:none}.creative-message .creative-message-actions>.creative-quiet{display:block;min-height:44px;margin:0;padding:10px 14px}

@layer kotmee-creative-shell{body.creative-editor-page .creative-compose>button[type=submit]>img{filter:brightness(0) invert(1)!important}body.creative-editor-page .creative-compose-wrap{width:min(100% - 16px,720px)!important}}
/* Editor placement only; header appearance comes from chat-design2026.css. */
@layer kotmee-creative-shell{
body.creative-editor-page #creative-site-header{position:relative!important;inset:auto!important;flex:none!important;box-sizing:border-box!important;z-index:3!important;}
body.creative-editor-page #creative-site-header button{font-family:inherit;cursor:pointer;}
body.creative-editor-page #creative-site-header :is(h2,small){margin:0;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
body.creative-editor-page #creative-site-header .cv-back{display:grid;place-items:center;padding:10px;text-decoration:none;}
body.creative-editor-page #creative-site-header .cv-back img{width:24px;height:24px;}
body.creative-editor-page #creative-site-header .cv-avatar{display:grid;place-items:center;color:#56666c;font-size:17px;font-weight:600;overflow:hidden;}
body.creative-editor-page #creative-site-header .cv-identity{min-width:0;cursor:pointer;}
body.creative-editor-page #creative-site-header :is(.cv2026-search,.cv2026-menu) img{width:22px;height:22px;object-fit:contain;}
@media(max-width:899px){body.creative-editor-page #creative-site-header{border:0!important;border-radius:0!important;box-shadow:none!important;}body.creative-editor-page #creative-site-header .cv-identity{display:block;}body.creative-editor-page{background-image:var(--km-chat-image,var(--km222-wallpaper))!important;background-size:var(--km222-wallpaper-size)!important;}}
}
