/* Approved style-plaza exception. Business operations remain in chat-workspace-ui. */
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-intro{margin:0 0 16px!important;color:#737780!important;font-size:13px!important;line-height:22px!important;}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-plaza-tabs{display:flex!important;margin:14px 0 18px!important;justify-content:flex-start!important;gap:16px 4px!important;}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-plaza-tabs button{font-size:13px!important;flex:none!important;width:auto!important;padding:0 10px!important;}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px;}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-card{position:relative;isolation:isolate;height:196px;min-width:0;border:1px solid #ffffffb3;border-radius:24px;overflow:hidden;box-shadow:0 3px 10px #25314909;background:var(--style-base);}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-open{position:absolute!important;inset:0!important;display:block!important;text-align:left!important;padding:0!important;margin:0!important;border:0!important;border-radius:inherit!important;width:100%!important;height:100%!important;min-height:0!important;background:transparent!important;color:rgb(var(--style-ink))!important;box-shadow:none!important;transform:none!important;}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-open::before{content:none;}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-meta{position:absolute;top:auto;left:16px;right:56px;display:flex;gap:4px;align-items:center;flex-wrap:wrap;bottom:18px;}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-copy{position:absolute;top:24px;left:16px;right:16px;transform:none;color:rgb(var(--style-ink));}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-copy strong{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:0!important;margin:0 0 12px!important;color:rgb(var(--style-ink))!important;font-size:18px!important;line-height:26px!important;font-weight:600!important;text-shadow:none!important;-webkit-text-stroke:0!important;text-wrap:balance;}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-description{display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important;margin:0!important;color:rgb(var(--style-muted))!important;font-size:13px!important;line-height:21px!important;font-weight:400!important;overflow-wrap:anywhere;text-shadow:none!important;}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-add{position:absolute!important;right:12px!important;top:auto!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;display:grid!important;place-items:center!important;padding:0!important;margin:0!important;border:1px solid #ffffff70!important;border-radius:50%!important;color:#fff!important;background:color-mix(in srgb,var(--style-control-deep) 36%,transparent)!important;backdrop-filter:none;z-index:2;box-shadow:none!important;bottom:12px!important;}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-add svg{width:17px!important;height:17px!important;stroke-width:1.7!important;}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-add::after{content:"";position:absolute;inset:-6px;border-radius:50%;}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-add[data-added="true"]{background:color-mix(in srgb,var(--style-control-deep) 48%,transparent)!important;color:#fff!important;border-color:#ffffffa6!important;}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-add:disabled{opacity:.55!important;cursor:wait;}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-open:focus-visible{outline:2px solid rgb(var(--style-ink))!important;outline-offset:-5px!important;}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-add:focus-visible{outline:2px solid rgb(var(--style-ink))!important;outline-offset:2px!important;}
.cw-diffusion-field{position:absolute;inset:0;z-index:-2;border-radius:inherit;background-color:var(--style-base);background-image:var(--style-image);background-size:100% 100%;background-repeat:no-repeat;filter:none;transform:none;opacity:1;pointer-events:none;}
.cw-diffusion-tag{display:inline-flex;align-items:center;min-height:20px;padding:0 6px;border-radius:999px;background:color-mix(in srgb,var(--style-control-core) 45%,transparent);box-shadow:inset 0 0 0 1px #ffffff33;color:#fff;font-size:10px;line-height:18px;font-weight:400;white-space:nowrap;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog {inset:0!important;width:min(378px,calc(100% - 24px))!important;max-width:calc(100% - 24px)!important;height:fit-content!important;max-height:calc(100dvh - 32px)!important;margin:auto!important;padding:0!important;border:0!important;border-radius:27px!important;overflow:auto!important;background:#fff!important;color:#17191d!important;box-shadow:0 18px 60px #00000026!important;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog::backdrop{background:#191d2a45;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-sheet{position:relative!important;left:auto!important;bottom:auto!important;transform:none!important;width:100%!important;max-width:none!important;max-height:none!important;border-radius:inherit!important;overflow:visible!important;display:block!important;padding:0!important;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-sheet>header{position:sticky!important;top:22px!important;right:auto!important;left:auto!important;width:calc(100% - 24px)!important;height:0!important;padding:0!important;margin:0 12px!important;min-height:0!important;z-index:3;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-sheet>header>h2{position:absolute!important;width:1px!important;height:1px!important;clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important;margin:0!important;padding:0!important;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-sheet>header>.cw-icon{position:absolute!important;right:0!important;top:0!important;width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border:1px solid #ffffff70!important;border-radius:50%!important;background:color-mix(in srgb,var(--style-control-deep) 36%,transparent)!important;color:#fff!important;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-sheet>header>.cw-icon::after{content:"";position:absolute;inset:-5px;border-radius:50%;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-sheet-body{padding:0!important;overflow:visible!important;min-height:0!important;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-art{position:relative;isolation:isolate;overflow:hidden;border-radius:0;padding:26px 22px 28px;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-detail-copy{position:relative;isolation:isolate;margin-top:14px;color:rgb(var(--style-ink));}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-detail-copy::before{content:none;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-detail-copy small{font-size:11px!important;line-height:18px!important;color:rgb(var(--style-muted))!important;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-detail-copy h2{font-size:22px!important;line-height:30px!important;font-weight:500!important;margin:0!important;letter-spacing:0!important;color:rgb(var(--style-ink))!important;overflow-wrap:anywhere;text-shadow:none!important;max-width:calc(100% - 42px);text-wrap:balance;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-detail-copy p{font-size:14px!important;line-height:22px!important;font-weight:400!important;margin:0!important;color:rgb(var(--style-muted))!important;overflow-wrap:anywhere;text-shadow:none!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-detail-body{padding:18px 22px 12px;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-status{font-size:11px!important;line-height:18px!important;color:#737780!important;margin:0 0 12px!important;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-about{padding:0!important;margin:0!important;border:0!important;background:transparent!important;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-about h2{font-size:16px!important;line-height:24px!important;font-weight:600!important;margin:0 0 8px!important;color:#17191d!important;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-about p{font-size:14px!important;line-height:24px!important;margin:0 0 8px!important;color:#61666b!important;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-about summary{display:flex;align-items:center;gap:6px;min-height:44px;font-size:12px;line-height:20px;color:#61666b;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-about pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto;background:#f5f5f5;border-radius:12px;padding:12px;font-size:12px;line-height:22px;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-footer{position:sticky;bottom:0;padding:12px 20px max(20px,env(safe-area-inset-bottom));border-top:1px solid #f2f2f5;background:#fff;z-index:2;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-actions{display:grid;gap:8px;margin:0;padding:0;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-actions>button{width:100%!important;min-height:44px!important;height:auto!important;border:0!important;border-radius:999px!important;margin:0!important;padding:10px 14px!important;font-size:13px!important;line-height:20px!important;font-weight:500!important;box-shadow:none!important;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-actions>.cw-primary{background:#202324!important;color:#fff!important;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-actions>.cw-secondary{background:#f5f5f5!important;color:#272a2e!important;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-actions>button:disabled{opacity:.55!important;}
@media(max-width:360px){
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-grid{gap:12px 10px;}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-card{height:192px;border-radius:21px;}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-meta{left:12px;top:auto;bottom:18px;right:52px;}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-copy{left:12px;right:12px;top:22px;transform:none;}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-copy strong{font-size:18px!important;line-height:26px!important;font-weight:600!important;margin:0 0 12px!important;text-wrap:balance;}
html[data-visual-mode="minimal"] body.theme-liquid #appView.ui-view .cw-workspace[data-cw-screen="catalog"] .cw-diffusion-description{font-size:13px!important;line-height:21px!important;}
}

/* Both gallery pages share the approved lightweight tab rhythm. */
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-personal] #appView.ui-view section.cw-workspace.cw-management:is([data-cw-screen="catalog"],[data-cw-screen="skills"]) .cw-gallery-tabs{display:flex!important;gap:24px!important;justify-content:flex-start!important;margin:8px 0 12px!important;height:44px!important;border-radius:0!important;}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-personal] #appView.ui-view section.cw-workspace.cw-management:is([data-cw-screen="catalog"],[data-cw-screen="skills"]) .cw-gallery-tabs button{position:relative!important;flex:none!important;width:auto!important;padding:5px 0!important;border-radius:0!important;background:transparent!important;font-size:16px!important;line-height:24px!important;font-weight:400!important;}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-personal] #appView.ui-view section.cw-workspace.cw-management:is([data-cw-screen="catalog"],[data-cw-screen="skills"]) .cw-gallery-tabs button[aria-selected="true"]{background:transparent!important;color:#17191d!important;font-size:18px!important;font-weight:600!important;}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-personal] #appView.ui-view section.cw-workspace.cw-management:is([data-cw-screen="catalog"],[data-cw-screen="skills"]) .cw-gallery-tabs button[aria-selected="true"]::after{content:"";position:absolute;bottom:0;left:0;width:20px;height:3px;border-radius:999px;background:#202324;}

html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-introduction{margin:0 0 14px;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-introduction summary{display:flex;align-items:center;gap:6px;min-height:44px;font-size:12px;line-height:20px;color:#61666b;}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-introduction p{font-size:14px!important;line-height:24px!important;color:#61666b!important;margin:4px 0 12px!important;overflow-wrap:anywhere;}

html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-personal] #appView.ui-view section.cw-workspace.cw-management:is([data-cw-screen="catalog"],[data-cw-screen="skills"]) .cw-gallery-tabs button::before{display:none!important;}

/* Personal cards display the saved appearance, including new studio colors. */
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-personal] #appView.ui-view section.cw-workspace.cw-management[data-cw-screen="skills"] .cw-owned-card.mf-style-colored{position:relative!important;isolation:isolate;height:196px!important;min-height:196px!important;border:1px solid #ffffffd9!important;border-radius:24px!important;background:var(--style-base)!important;color:rgb(var(--style-ink))!important;overflow:hidden!important;padding:14px!important;}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-personal] #appView.ui-view section.cw-workspace.cw-management[data-cw-screen="skills"] .cw-owned-copy{position:absolute;top:24px;left:16px;right:16px;transform:none;}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-personal] #appView.ui-view section.cw-workspace.cw-management[data-cw-screen="skills"] .cw-owned-card.mf-style-colored strong{font-weight:600!important;color:rgb(var(--style-ink))!important;font-size:18px!important;line-height:26px!important;margin:0 0 12px!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-wrap:balance;}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-personal] #appView.ui-view section.cw-workspace.cw-management[data-cw-screen="skills"] .cw-owned-card.mf-style-colored .cw-plaza-description{color:rgb(var(--style-muted))!important;font-size:13px!important;line-height:21px!important;max-height:42px!important;}
html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-personal] #appView.ui-view section.cw-workspace.cw-management[data-cw-screen="skills"] .cw-owned-card.mf-style-colored .cw-owned-meta{position:absolute;left:16px;right:16px;bottom:18px;color:#ffffffeb!important;font-size:11px!important;line-height:18px!important;}
@media(max-width:360px){html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-personal] #appView.ui-view section.cw-workspace.cw-management[data-cw-screen="skills"] .cw-owned-card.mf-style-colored{height:192px!important;min-height:192px!important;border-radius:21px!important;}html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-personal] #appView.ui-view section.cw-workspace.cw-management[data-cw-screen="skills"] .cw-owned-card.mf-style-colored strong{font-weight:600!important;font-size:18px!important;line-height:26px!important;}html[data-visual-mode="minimal"] body.theme-liquid.v2-app[data-v2-personal] #appView.ui-view section.cw-workspace.cw-management[data-cw-screen="skills"] .cw-owned-card.mf-style-colored .cw-plaza-description{font-size:13px!important;line-height:21px!important;max-height:42px!important;}}
html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-summary{font-size:14px!important;line-height:24px!important;color:#61666b!important;margin:0 0 14px!important;overflow-wrap:anywhere;}

html[data-visual-mode="minimal"] body.theme-liquid dialog.cw-dialog.cw-diffusion-dialog .cw-diffusion-art>.cw-diffusion-field{box-shadow:none;}
