/* 8.6.32.125 — reference-led charcoal theme and compact account controls. */
html[data-zsa-theme] body .zsa-ai-app .zsa-ai-sidebar-bottom{padding:10px 12px max(12px,env(safe-area-inset-bottom))!important}
html[data-zsa-theme] body .zsa-ai-app .zsa-ai-user-theme-row{display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;min-width:0!important}
html[data-zsa-theme] body .zsa-ai-app .zsa-ai-user-theme-row>.zsa-ai-user-card{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;flex:1 1 0%!important;width:0!important;min-width:0!important;height:44px!important;padding:4px 2px!important;border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;text-align:left!important}
html[data-zsa-theme] body .zsa-ai-app .zsa-ai-user-theme-row .zsa-ai-user-avatar{display:block!important;position:relative!important;flex:0 0 28px!important;width:28px!important;height:28px!important;margin:0!important;border-radius:50%!important;overflow:hidden!important}
html[data-zsa-theme] body .zsa-ai-app .zsa-ai-user-theme-row .zsa-ai-user-meta{display:flex!important;flex:1 1 0%!important;flex-direction:column!important;align-items:flex-start!important;min-width:0!important;gap:3px!important}
html[data-zsa-theme] body .zsa-ai-app .zsa-ai-user-theme-row .zsa-ai-user-name{display:block!important;max-width:100%!important;margin:0!important;font-size:12px!important;line-height:18px!important;font-weight:500!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
html[data-zsa-theme] body .zsa-ai-app .zsa-ai-user-theme-row .zsa-ai-user-meta small{margin:0!important;font-size:9px!important;line-height:12px!important}
html[data-zsa-theme] body .zsa-ai-app .zsa-ai-user-theme-row .zsa-ai-user-more{display:none!important}
html[data-zsa-theme] body .zsa-ai-app .zsa-ai-user-theme-row>.zsa-ai-theme-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;flex:0 0 58px!important;width:58px!important;min-width:58px!important;height:28px!important;padding:0 7px!important;margin:0!important;border:1px solid #d4d4d4!important;border-radius:999px!important;background:#f4f4f4!important;color:#555!important;box-shadow:none!important;font-size:11px!important;font-weight:400!important;line-height:1!important;white-space:nowrap!important;touch-action:manipulation}
html[data-zsa-theme] body .zsa-ai-app .zsa-ai-theme-toggle svg{display:block!important;flex:0 0 13px!important;width:13px!important;height:13px!important;margin:0!important}
html[data-zsa-theme] body .zsa-ai-app .zsa-ai-theme-toggle-label{display:inline!important;font-size:11px!important;font-weight:400!important;line-height:1!important}
html[data-zsa-theme] body .zsa-ai-app .zsa-ai-theme-toggle:focus-visible{outline:2px solid #8dbd3d!important;outline-offset:3px!important}
html[data-zsa-theme] body .zsa-ai-app.is-sidebar-collapsed .zsa-ai-user-theme-row{flex-direction:column!important;gap:4px!important}
html[data-zsa-theme] body .zsa-ai-app.is-sidebar-collapsed .zsa-ai-user-theme-row>.zsa-ai-user-card{flex:none!important;width:40px!important;justify-content:center!important}
html[data-zsa-theme] body .zsa-ai-app.is-sidebar-collapsed .zsa-ai-user-theme-row .zsa-ai-user-meta{display:none!important}
html[data-zsa-theme] body .zsa-ai-app.is-sidebar-collapsed .zsa-ai-user-theme-row>.zsa-ai-theme-toggle{flex:none!important;width:34px!important;min-width:34px!important;padding:0!important}
html[data-zsa-theme] body .zsa-ai-app.is-sidebar-collapsed .zsa-ai-theme-toggle-label{display:none!important}

/* Neutral canvas grid: override the older solid main/header rules explicitly. */
html[data-zsa-theme="dark"] body.zsa-ai-workspace-page [data-zsa-ai-app].zsa-ai-app>.zsa-ai-main,
html[data-zsa-theme="dark"] body [data-zsa-ai-app].zsa-ai-app>.zsa-ai-main{
 background-color:#171717!important;
 background-image:linear-gradient(rgba(255,255,255,.065) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.065) 1px,transparent 1px)!important;
 background-size:32px 32px!important;background-position:0 0!important;
}
html[data-zsa-theme="dark"] body [data-zsa-ai-app].zsa-ai-app>.zsa-ai-main>.zsa-ai-panel,
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-home-reference{background:transparent!important}
html[data-zsa-theme="dark"] body [data-zsa-ai-app].zsa-ai-app>.zsa-ai-main>.zsa-ai-topbar{background:rgba(23,23,23,.94)!important;background-image:none!important;border-color:#292929!important}
html[data-zsa-theme="dark"] body .zsa-ai-app>.zsa-ai-sidebar,
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-sidebar-bottom{background:#0d0d0d!important;border-color:#262626!important;color:#ededed!important}
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-nav button{color:#ededed!important}
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-nav button.is-active{background:#4b4b4b!important;color:#fff!important;border-color:transparent!important;box-shadow:none!important}
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-nav button:hover:not(.is-active){background:#262626!important}
html[data-zsa-theme="dark"] body .zsa-ai-app :is(.zsa-ai-nav-label,.zsa-ai-recent-label,.zsa-ai-recent-item,.zsa-ai-user-meta small){color:#b2b2b2!important}
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-user-theme-row>.zsa-ai-theme-toggle{background:#222!important;border-color:#4a4a4a!important;color:#d0d0d0!important}
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-user-theme-row>.zsa-ai-theme-toggle:hover{background:#363636!important;border-color:#666!important;color:#fff!important}

/* Gradients reach zero opacity before the box edge, without a blur filter. */
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-home-hero-decor>i{border-radius:0!important;filter:none!important;transform:none!important;opacity:1!important;width:520px!important;height:520px!important;top:16px!important;pointer-events:none!important;box-shadow:none!important}
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-home-hero-decor>.is-left{left:-140px!important;background:radial-gradient(ellipse at center,rgba(162,213,53,.22) 0%,rgba(135,186,33,.10) 35%,rgba(135,186,33,0) 70%)!important}
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-home-hero-decor>.is-right{right:-130px!important;background:radial-gradient(ellipse at center,rgba(132,161,216,.24) 0%,rgba(109,138,188,.10) 35%,rgba(109,138,188,0) 70%)!important}

html[data-zsa-theme="dark"] body .zsa-ai-app :is(.zsa-ai-home-reference-model,.zsa-ai-home-reference-app,.zsa-ai-home-reference-work-card,.zsa-ai-market-card,.zsa-ai-public-work-card,.zsa-ai-model-work-card,.zsa-ai-app-arc-card,.zsa-ai-model-arc-card,.zsa-ai-works-fan-card){background:#1e1e1e!important;border-color:#4a4a4a!important;box-shadow:none!important}
html[data-zsa-theme="dark"] body .zsa-ai-app :is(.zsa-ai-home-reference-model footer,.zsa-ai-home-reference-app footer,.zsa-ai-market-card-body,.zsa-ai-model-work-meta,.zsa-ai-app-arc-body,.zsa-ai-model-arc-body){background:#1e1e1e!important;color:#ececec!important;border-color:#454545!important}
html[data-zsa-theme="dark"] body .zsa-ai-app :is(.zsa-ai-home-reference-model footer,.zsa-ai-home-reference-app footer,.zsa-ai-market-card-body,.zsa-ai-model-work-meta,.zsa-ai-app-arc-body,.zsa-ai-model-arc-body) :is(b,small){color:#e3e3e3!important}
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-home-reference-model:hover,
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-market-card:hover{border-color:#757575!important;box-shadow:0 8px 22px rgba(0,0,0,.22)!important}
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-home-floor-tabs{background:#303030!important;border-color:#454545!important;box-shadow:none!important}
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-home-floor-tabs button{background:transparent!important;color:#e5e5e5!important}
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-home-floor-tabs button.is-active{background:#1e1e1e!important;border-color:#555!important;color:#fff!important;box-shadow:none!important}
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-home-quick-pills button{background:#303030!important;border-color:#555!important;color:#ececec!important}
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-home-quick-pills button.is-active{background:#f5f5f5!important;color:#151515!important;border-color:#f5f5f5!important}

/* Shared composer, including instances moved outside the main page. */
html[data-zsa-theme="dark"] body .zsa-ai-unified-host .zsa-ai-unified-composer,
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-home-reference-hero>.zsa-ai-unified-host .zsa-ai-unified-composer{background:#303030!important;border-color:#a7e334!important;box-shadow:0 0 0 1px rgba(167,227,52,.24),0 0 18px rgba(149,218,38,.12)!important}
html[data-zsa-theme="dark"] body .zsa-ai-unified-host .zsa-ai-unified-composer :is(textarea,[contenteditable="true"]){background:transparent!important;color:#eee!important;-webkit-text-fill-color:#eee!important;caret-color:#b6ef54!important}
html[data-zsa-theme="dark"] body .zsa-ai-unified-host .zsa-ai-unified-composer ::placeholder{color:#b8b8b8!important}
html[data-zsa-theme="dark"] body .zsa-ai-app :is(.zsa-ai-product-switch>a.is-active,.zsa-membership-entry){color:#19220b!important;background:#bcef66!important}
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-membership-entry span{color:#19220b!important}

@media(max-width:820px){
 html[data-zsa-theme] body .zsa-ai-app .zsa-ai-user-theme-row>.zsa-ai-theme-toggle{height:26px!important;min-height:26px!important;flex-basis:54px!important;width:54px!important;min-width:54px!important}
 html[data-zsa-theme] body .zsa-ai-app.is-sidebar-collapsed .zsa-ai-user-theme-row>.zsa-ai-theme-toggle{width:28px!important;min-width:28px!important}
 html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-home-hero-decor>i{width:320px!important;height:360px!important;top:0!important;opacity:.55!important}
 html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-home-hero-decor>.is-left{left:-180px!important}
 html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-home-hero-decor>.is-right{right:-180px!important}
}

/* 8.6.32.126: viewport-safe sidebar, aligned account row and action colors. */
html[data-zsa-theme] body [data-zsa-ai-app].zsa-ai-app>.zsa-ai-sidebar{
 position:fixed!important;top:var(--zsa-sidebar-visible-top,0px)!important;bottom:auto!important;
 height:var(--zsa-sidebar-visible-height,var(--zsa-workspace-viewport-height,100dvh))!important;
 max-height:var(--zsa-sidebar-visible-height,var(--zsa-workspace-viewport-height,100dvh))!important;
 min-height:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;box-sizing:border-box!important;
}
html[data-zsa-theme] body [data-zsa-ai-app].zsa-ai-app>.zsa-ai-sidebar>.zsa-ai-sidebar-top{flex:0 0 58px!important;min-height:58px!important}
html[data-zsa-theme] body [data-zsa-ai-app].zsa-ai-app>.zsa-ai-sidebar>.zsa-ai-sidebar-scroll{flex:1 1 0%!important;min-height:0!important;height:auto!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch}
html[data-zsa-theme] body [data-zsa-ai-app].zsa-ai-app>.zsa-ai-sidebar>.zsa-ai-sidebar-bottom{position:relative!important;flex:0 0 auto!important;min-height:56px!important;margin-top:auto!important;padding:6px 10px max(8px,env(safe-area-inset-bottom))!important;visibility:visible!important;opacity:1!important;box-sizing:border-box!important}
html[data-zsa-theme] body .zsa-ai-app .zsa-ai-user-theme-row{position:relative!important;min-height:40px!important;border-radius:7px!important;padding:0 5px!important;box-sizing:border-box!important;transition:background-color .15s ease}
html[data-zsa-theme] body .zsa-ai-app .zsa-ai-user-theme-row:where(:hover,:focus-within){background:#e4e4e4!important}
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-user-theme-row:where(:hover,:focus-within){background:#505050!important}
html[data-zsa-theme] body .zsa-ai-app .zsa-ai-user-theme-row>.zsa-ai-user-card{height:40px!important;padding:0!important;align-items:center!important}
html[data-zsa-theme] body .zsa-ai-app .zsa-ai-user-theme-row .zsa-ai-user-meta{justify-content:center!important;gap:0!important}
html[data-zsa-theme] body .zsa-ai-app .zsa-ai-user-theme-row .zsa-ai-user-name{line-height:28px!important;font-size:12px!important;font-weight:600!important}
/* Keep points available to assistive technology and in the personal center. */
html[data-zsa-theme] body .zsa-ai-app .zsa-ai-user-theme-row .zsa-ai-user-meta small{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
html[data-zsa-theme] body .zsa-ai-app .zsa-ai-user-theme-row>.zsa-ai-theme-toggle{align-self:center!important;vertical-align:middle!important;line-height:1!important}
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-user-theme-row:where(:hover,:focus-within)>.zsa-ai-theme-toggle{background:#242424!important;border-color:#414141!important;color:#ededed!important}
html[data-zsa-theme] body .zsa-ai-app .zsa-ai-user-theme-row>.zsa-ai-sidebar-login{display:flex!important;visibility:visible!important;opacity:1!important;position:relative!important;flex:1 1 0%!important;width:0!important;min-width:0!important;min-height:40px!important;height:40px!important;padding:0 10px!important;margin:0!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important}
html[data-zsa-theme] body .zsa-ai-app.is-sidebar-collapsed .zsa-ai-user-theme-row{padding:0!important}
html[data-zsa-theme] body .zsa-ai-app.is-sidebar-collapsed .zsa-ai-user-theme-row>.zsa-ai-sidebar-login{flex:none!important;width:46px!important;min-width:46px!important;padding:0!important;font-size:12px!important}

html[data-zsa-theme="dark"] body .zsa-ai-unified-host .zsa-ai-unified-composer,
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-home-reference-hero>.zsa-ai-unified-host .zsa-ai-unified-composer{--u-green:#aaf04b!important;border-color:#aaf04b!important;box-shadow:0 0 0 1px rgba(170,240,75,.42),0 0 24px rgba(144,226,37,.25),0 5px 18px rgba(0,0,0,.18)!important}
html[data-zsa-theme="dark"] body .zsa-v8 .zsa-v84-composer{border-color:#97d936!important;box-shadow:0 0 18px rgba(144,226,37,.20),0 8px 24px rgba(0,0,0,.2)!important}
html[data-zsa-theme="dark"] body [data-zsa-ai-app].zsa-ai-app .zsa-ai-product-switch>button.is-active,
html[data-zsa-theme="dark"] body .zsa-ai-unified-host .zsa-ai-unified-send,
html[data-zsa-theme="dark"] body .zsa-ai-app :is(.zsa-ai-generate-btn,.zsa-ai-image-generate,.zsa-ai-send-circle,.zsa-membership-entry){background:#aaf04b!important;color:#111!important;border-color:#aaf04b!important;--u-green:#aaf04b!important}
html[data-zsa-theme="dark"] body [data-zsa-ai-app].zsa-ai-app .zsa-ai-product-switch>button.is-active :is(span,i,svg),
html[data-zsa-theme="dark"] body .zsa-ai-unified-host .zsa-ai-unified-send :is(span,i,svg),
html[data-zsa-theme="dark"] body .zsa-ai-app :is(.zsa-ai-generate-btn,.zsa-ai-image-generate,.zsa-ai-send-circle,.zsa-membership-entry) :is(span,i,svg){color:#111!important;-webkit-text-fill-color:#111!important}
html[data-zsa-theme="dark"] body .zsa-ai-unified-host .zsa-ai-unified-send>b{background:#8cd331!important;color:#111!important}
html[data-zsa-theme="dark"] body .zsa-ai-app .zsa-ai-product-switch>button.is-active>i{border-color:#263a12!important}
html[data-zsa-theme="dark"] body [data-zsa-ai-app].zsa-ai-app[data-market-layout] :is(.zsa-ai-market-card,.zsa-ai-home-reference-app,.zsa-ai-app-arc-card,.zsa-ai-home-reference-model) :is(.zsa-ai-app-arc-try,.zsa-ai-market-card-body>button,footer>em,.zsa-ai-home-model-try){background:#dedede!important;color:#111!important;border-color:#dedede!important;box-shadow:none!important}
html[data-zsa-theme="dark"] body [data-zsa-ai-app].zsa-ai-app[data-market-layout] :is(.zsa-ai-market-card,.zsa-ai-home-reference-app,.zsa-ai-app-arc-card,.zsa-ai-home-reference-model) :is(.zsa-ai-app-arc-try,.zsa-ai-market-card-body>button,footer>em,.zsa-ai-home-model-try) *{color:#111!important;-webkit-text-fill-color:#111!important}
@media(max-height:480px){html[data-zsa-theme] body [data-zsa-ai-app].zsa-ai-app>.zsa-ai-sidebar>.zsa-ai-sidebar-top{flex-basis:48px!important;min-height:48px!important}html[data-zsa-theme] body [data-zsa-ai-app].zsa-ai-app>.zsa-ai-sidebar>.zsa-ai-sidebar-bottom{min-height:50px!important;padding-top:3px!important;padding-bottom:max(3px,env(safe-area-inset-bottom))!important}}
html[data-zsa-theme="dark"] body .zsa-ai-app{--zsa-ai-green:#aaf04b!important;--zsa-ai-green-dark:#8edb2f!important}

/* 8.6.32.127: theme-aware mobile editing, legible transparent logos. */
html[data-zsa-theme="light"]{--zsa-prompt-text:#20252b;--zsa-prompt-caret:#20252b;--zsa-prompt-scheme:light}
html[data-zsa-theme="dark"]{--zsa-prompt-text:#eee;--zsa-prompt-caret:#aaf04b;--zsa-prompt-scheme:dark}
html[data-zsa-theme="dark"] body .zsa-ai-unified-host[class] [data-ai-unified-composer] :is(.zsa-ai-unified-prompt-wrap,[data-ai-unified-prompt]){
 background:transparent!important;box-shadow:none!important;color:var(--zsa-prompt-text)!important;-webkit-text-fill-color:var(--zsa-prompt-text)!important;caret-color:var(--zsa-prompt-caret)!important;color-scheme:dark!important
}
/* Only logo wells, never artwork covers or user avatars. */
html[data-zsa-theme] body :is(
 .zsa-ai-unified-model-option>i,.zsa-ai-unified-model>i,
 .zsa-ai-sidebar-app-icon,.zsa-ai-home-mini-app>i,
 .zsa-ai-home-reference-model footer>i,.zsa-ai-home-reference-app footer>i,
 .zsa-ai-market-card-body>i,.zsa-ai-app-arc-body>i,.zsa-ai-model-arc-body>i,
 .zsa-ai-model-tabs>button>i,.zsa-ai-app-page-hero>i,
 [data-ai-generation-model-icon],[data-ai-generation-model-chip-icon],[data-ai-generation-model-display-icon],
 .zsa-product-popup nav button>img
):has(img),html[data-zsa-theme] body .zsa-product-popup nav button>img{
 background:#fff!important;background-image:none!important;isolation:isolate
}
html[data-zsa-theme] body :is(.zsa-ai-unified-model-option>i,.zsa-ai-unified-model>i,.zsa-ai-sidebar-app-icon,.zsa-ai-home-mini-app>i,.zsa-ai-home-reference-model footer>i,.zsa-ai-home-reference-app footer>i,.zsa-ai-market-card-body>i,.zsa-ai-app-arc-body>i,.zsa-ai-model-arc-body>i) img{object-fit:contain!important;background-color:#fff!important}
@media(max-width:900px){
 /* A root flag also covers composers portaled directly into body. Keep their live state. */
 html[data-zsa-theme].zsa-mobile-drawer-open body .zsa-ai-unified-host[class]:not([hidden]),
 html[data-zsa-theme].zsa-mobile-drawer-open body .zsa-conversation-dock[class],
 html[data-zsa-theme].zsa-mobile-drawer-open body .zsa-ai-chat-dock[class]{
 display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important
 }
 html[data-zsa-theme].zsa-mobile-drawer-open body .zsa-ai-unified-host[class]:not([hidden]) *{visibility:hidden!important;pointer-events:none!important}
 html[data-zsa-theme] body .zsa-ai-app .zsa-ai-user-theme-row>.zsa-ai-theme-toggle{
 position:relative!important;height:26px!important;min-height:26px!important;max-height:26px!important;width:54px!important;min-width:54px!important;flex:0 0 54px!important;padding:0 5px!important;gap:3px!important
 }
 html[data-zsa-theme] body .zsa-ai-app .zsa-ai-user-theme-row>.zsa-ai-theme-toggle::after{content:"";position:absolute;inset:-8px -3px;border-radius:999px}
 html[data-zsa-theme] body .zsa-ai-app .zsa-ai-theme-toggle svg{width:12px!important;height:12px!important;flex-basis:12px!important}
 html[data-zsa-theme] body .zsa-ai-app .zsa-ai-theme-toggle-label{font-size:10px!important}
}

/* 128: one footer row, with the icon exchanged for the hover action. */
html[data-zsa-theme] body [data-zsa-ai-app].zsa-ai-app[data-market-layout] :is(.zsa-ai-market-card .zsa-ai-market-card-body,.zsa-ai-home-reference-app footer,.zsa-ai-app-arc-card .zsa-ai-app-arc-body){
 --zsa-app-footer-height:64px;--zsa-app-logo-size:34px;--zsa-app-try-width:64px;
 display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;grid-template-columns:none!important;grid-template-rows:none!important;
 position:relative!important;box-sizing:border-box!important;height:var(--zsa-app-footer-height)!important;min-height:var(--zsa-app-footer-height)!important;max-height:var(--zsa-app-footer-height)!important;padding:8px 10px!important;margin:0!important;overflow:hidden!important
}
html[data-zsa-theme] body [data-zsa-ai-app].zsa-ai-app[data-market-layout] .zsa-ai-app-arc-card .zsa-ai-app-arc-body{--zsa-app-footer-height:56px;padding:8px!important}
html[data-zsa-theme] body [data-zsa-ai-app].zsa-ai-app[data-market-layout] :is(.zsa-ai-market-card .zsa-ai-market-card-body,.zsa-ai-home-reference-app footer,.zsa-ai-app-arc-card .zsa-ai-app-arc-body)>i{
 display:flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;flex:0 0 var(--zsa-app-logo-size)!important;width:var(--zsa-app-logo-size)!important;min-width:var(--zsa-app-logo-size)!important;height:var(--zsa-app-logo-size)!important;margin:0!important;padding:0!important;position:static!important;transform:none!important;border-radius:8px!important;overflow:hidden!important;visibility:visible!important;opacity:1!important
}
html[data-zsa-theme] body [data-zsa-ai-app].zsa-ai-app[data-market-layout] :is(.zsa-ai-market-card .zsa-ai-market-card-body>div,.zsa-ai-home-reference-app footer>span,.zsa-ai-app-arc-card .zsa-ai-app-arc-body>div){
 display:flex!important;flex-direction:column!important;justify-content:center!important;align-self:center!important;gap:0!important;flex:1 1 0%!important;width:0!important;min-width:0!important;max-width:none!important;height:36px!important;min-height:36px!important;max-height:36px!important;padding:0!important;margin:0!important;position:static!important;transform:none!important;overflow:hidden!important
}
html[data-zsa-theme] body [data-zsa-ai-app].zsa-ai-app[data-market-layout] :is(.zsa-ai-market-card .zsa-ai-market-card-body,.zsa-ai-home-reference-app footer,.zsa-ai-app-arc-card .zsa-ai-app-arc-body) :is(b,small){
 display:block!important;flex:none!important;width:100%!important;min-width:0!important;max-width:100%!important;height:18px!important;min-height:18px!important;max-height:18px!important;line-height:18px!important;margin:0!important;padding:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;word-break:normal!important;overflow-wrap:normal!important;-webkit-line-clamp:unset!important;text-align:left!important
}
html[data-zsa-theme] body [data-zsa-ai-app].zsa-ai-app[data-market-layout] :is(.zsa-ai-market-card .zsa-ai-market-card-body,.zsa-ai-home-reference-app footer,.zsa-ai-app-arc-card .zsa-ai-app-arc-body) b{font-size:14px!important}
html[data-zsa-theme] body [data-zsa-ai-app].zsa-ai-app[data-market-layout] :is(.zsa-ai-market-card .zsa-ai-market-card-body,.zsa-ai-home-reference-app footer,.zsa-ai-app-arc-card .zsa-ai-app-arc-body) small{font-size:12px!important}
html[data-zsa-theme] body [data-zsa-ai-app].zsa-ai-app[data-market-layout] :is(.zsa-ai-market-card .zsa-ai-market-card-body>button,.zsa-ai-home-reference-app footer>em,.zsa-ai-app-arc-card .zsa-ai-app-arc-try){
 display:none!important;flex:0 0 var(--zsa-app-try-width)!important;align-items:center!important;justify-content:center!important;align-self:center!important;position:static!important;inset:auto!important;transform:none!important;width:var(--zsa-app-try-width)!important;min-width:var(--zsa-app-try-width)!important;max-width:var(--zsa-app-try-width)!important;height:32px!important;min-height:32px!important;max-height:32px!important;margin:0!important;padding:0!important;border-radius:18px!important;font-size:12px!important;font-style:normal!important;line-height:1!important;white-space:nowrap!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important
}
html[data-zsa-theme] body [data-zsa-ai-app].zsa-ai-app[data-market-layout] :is(.zsa-ai-market-card,.zsa-ai-home-reference-app,.zsa-ai-app-arc-card):is(:hover,:focus-visible,:focus-within) :is(.zsa-ai-market-card-body,.zsa-ai-app-arc-body,footer)>i{display:none!important}
html[data-zsa-theme] body [data-zsa-ai-app].zsa-ai-app[data-market-layout] :is(.zsa-ai-market-card,.zsa-ai-home-reference-app,.zsa-ai-app-arc-card):is(:hover,:focus-visible,:focus-within) :is(.zsa-ai-market-card-body>button,footer>em,.zsa-ai-app-arc-try){display:flex!important}
@media(max-width:900px){
 html[data-zsa-theme] body [data-zsa-ai-app].zsa-ai-app[data-market-layout] :is(.zsa-ai-market-card .zsa-ai-market-card-body,.zsa-ai-home-reference-app footer,.zsa-ai-app-arc-card .zsa-ai-app-arc-body){--zsa-app-footer-height:56px;--zsa-app-logo-size:30px;--zsa-app-try-width:54px;padding:8px!important;gap:6px!important}
 html[data-zsa-theme] body [data-zsa-ai-app].zsa-ai-app[data-market-layout] :is(.zsa-ai-market-card .zsa-ai-market-card-body,.zsa-ai-home-reference-app footer,.zsa-ai-app-arc-card .zsa-ai-app-arc-body) b{font-size:13px!important}
 html[data-zsa-theme] body [data-zsa-ai-app].zsa-ai-app[data-market-layout] :is(.zsa-ai-market-card .zsa-ai-market-card-body,.zsa-ai-home-reference-app footer,.zsa-ai-app-arc-card .zsa-ai-app-arc-body) small{font-size:11px!important}
}
/* Keep a white backing for transparent model marks, inset from antialiased rounded edges. */
html[data-zsa-theme] body .zsa-ai-unified-model-option[class]>i:has(img){position:relative!important;background:transparent!important;padding:0!important;border:0!important;outline:0!important;box-shadow:none!important;border-radius:10px!important;overflow:hidden!important;isolation:isolate}
html[data-zsa-theme] body .zsa-ai-unified-model-option[class]>i:has(img)::before{content:"";position:absolute;inset:2px;border-radius:inherit;background:#fff;z-index:0;pointer-events:none}
html[data-zsa-theme] body .zsa-ai-unified-model-option[class]>i>img{position:relative!important;z-index:1!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;padding:0!important;margin:0!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;border-radius:inherit!important;object-fit:contain!important}

/* 129: explicit recovery action on failed media tasks. */
.zsa-ai-generation-failed .zsa-ai-task-retry-button{position:static!important;display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;min-height:38px;padding:8px 20px!important;margin:12px 0 0!important;border:0!important;border-radius:20px!important;background:#aaf04b!important;color:#111!important;font-size:14px!important;cursor:pointer}
