body.sk39-image-settings-open .sk39-image-settings-backdrop{display:none!important}
/* One settings entry point on desktop and mobile, never an inert duplicate. */
body.sk-v39-mounted .sk39-compose.image-mode .sk39-image-options-v4{display:none!important}
body.sk-v39-mounted .sk39-compose .sk39-image-settings-trigger{display:inline-flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
body.sk-v39-mounted dialog.ax-media-dialog{position:fixed;inset:16px;margin:auto;padding:0;width:min(750px,calc(100vw - 32px));height:fit-content;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);border:1px solid var(--border,#39414b);border-radius:22px;background:var(--panel,#20252d);color:var(--text,#eef2f5);overflow:hidden;box-shadow:0 20px 90px #0006}
dialog.ax-media-dialog::backdrop{background:rgba(15,20,28,.52);backdrop-filter:blur(4px)}
body.sk-v39-mounted dialog.ax-media-dialog[open],body.sk-v39-mounted dialog.ax-media-dialog[open] .sk39-image-options-v4{visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:none!important}
body.sk-v39-mounted dialog.ax-media-dialog select,body.sk-v39-mounted dialog.ax-media-dialog input,body.sk-v39-mounted dialog.ax-media-dialog button{pointer-events:auto!important}
dialog.ax-media-dialog .ax-media-fields{display:block!important;position:static!important;inset:auto!important;transform:none!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;margin:0!important;max-height:calc(100vh - 34px)!important;max-height:calc(100dvh - 34px)!important;overflow:auto!important;overscroll-behavior:contain;padding:20px!important;border:0!important;border-radius:0!important}
dialog.ax-media-dialog .ax-media-fields header{display:flex;flex-wrap:wrap;gap:10px}
dialog.ax-media-dialog .ax-media-fields .wm-badge{display:none!important}
dialog.ax-media-dialog .ax-media-fields select{width:100%;min-width:0}
dialog.ax-media-dialog .ax-media-fields small{line-height:1.4;opacity:.8}
body[data-theme="light"] dialog.ax-media-dialog,body.light dialog.ax-media-dialog{background:#fff;color:#242932}
.ax-service-error{padding:14px 16px;border:1px solid #8796a344;border-radius:14px;background:#8796a30a}.ax-service-error strong{font-weight:600;text-transform:none}.ax-service-error p{margin:6px 0 0;line-height:1.5}
body.sk-v39-mounted dialog.ax-media-dialog .sk39-image-title{display:flex!important;flex-wrap:wrap!important;gap:10px!important}
body.sk-v39-mounted dialog.ax-media-dialog .sk39-image-wm-badge{display:none!important}
body.sk-v39-mounted dialog.ax-media-dialog .sk39-image-grid-compact{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;align-items:start!important}
body.sk-v39-mounted dialog.ax-media-dialog .sk39-image-field{min-width:0!important;text-transform:none!important}
body.sk-v39-mounted dialog.ax-media-dialog .sk39-media-cost-note{grid-column:1/-1!important;flex-wrap:wrap!important;color:inherit!important}
body.sk-v39-mounted dialog.ax-media-dialog .sk39-media-cost-note b{color:inherit!important;white-space:normal!important}
html[data-sk-theme="light"] body.sk-v39-mounted dialog.ax-media-dialog{background:#fff;color:#242932}
@media(max-width:560px){body.sk-v39-mounted dialog.ax-media-dialog .sk39-image-grid-compact{grid-template-columns:minmax(0,1fr)!important}}

.ax-media-fields{padding:24px;overflow:auto;max-height:calc(100dvh - 34px)}
.ax-media-fields select,.ax-media-fields input{position:relative!important;appearance:auto!important;pointer-events:auto!important;opacity:1!important;transform:none!important;min-height:44px;padding:10px;border:1px solid #8995a655;border-radius:10px;background:var(--panel,#252b35);color:inherit;font:inherit}
.ax-media-fields .sk39-image-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ax-media-fields label{display:grid;gap:8px}.ax-media-fields .sk39-image-title{margin-bottom:24px}.ax-media-fields .sk39-image-drawer-close{margin-left:auto}.ax-media-fields button{cursor:pointer}.ax-media-fields .sk39-image-grid-compact{display:grid!important}
@media(max-width:560px){.ax-media-fields .sk39-image-grid{grid-template-columns:1fr}}

/* Keep the conversation grid inside the restored viewport after video fullscreen. */
body.sk-v39-mounted #sk-v39-root,body.sk-v39-mounted .sk39-shell{height:var(--sk-vvh,100dvh)!important;max-height:var(--sk-vvh,100dvh)!important;min-height:0!important;box-sizing:border-box!important;overflow:hidden!important}
body.sk-v39-mounted .sk39-main{height:100%!important;max-height:100%!important;min-height:0!important;box-sizing:border-box!important;overflow:hidden!important}
body.sk-v39-mounted .sk39-chat{min-height:0!important;overflow-y:auto!important}

/* Build 16: explicit bulk-selection state, including light theme. */
html[data-sk-theme="light"] body.sk-v39-mounted .sk39-sidebar .sk39-chat-item.selecting .sk39-chat-check[data-selected="true"],
html[data-theme="light"] body.sk-v39-mounted .sk39-sidebar .sk39-chat-item.selecting .sk39-chat-check[data-selected="true"]{background:#5142ad!important;border:2px solid #5142ad!important;color:#fff!important;opacity:1!important;}
body.sk-v39-mounted .sk39-sidebar .sk39-chat-item.selecting .sk39-chat-check svg{display:block!important;width:14px!important;height:14px!important;opacity:1!important;}
body.sk-v39-mounted .sk39-sidebar .sk39-chat-item.selecting .sk39-chat-check svg path{stroke:currentColor!important;fill:none!important;}
.sk39-brand-nano_banana_image img,.axorai-media-logo[src$="/nano-banana.svg"]{filter:none!important;opacity:1!important;}

/* Local logo assets retain their colour and transparent background. */
body.sk-v39-mounted .sk39-brand-logo img[src^="/assets/model-logos/"],body.sk-v39-mounted .axorai-media-logo{filter:none!important;opacity:1!important;object-fit:contain!important;background:transparent!important;border:0!important;}
body.sk-v39-mounted .sk39-brand-nano_banana_image{background:transparent!important;border:0!important;box-shadow:none!important;}
