/* V2.7.1: non-destructive workspace repair */
.tai-ai-actions.v270-toolbar,.tai-ai-actions{background:#fff!important;color:#20182e!important;opacity:1!important;filter:none!important;visibility:visible!important}
.tai-ai-actions button,.tai-ai-actions.v270-toolbar button{background:#fff!important;color:#282038!important;opacity:1!important;filter:none!important;border:1px solid #d8cfe5!important;font-size:12px!important;font-weight:650!important;cursor:pointer!important;text-shadow:none!important}
.tai-ai-actions button:disabled{opacity:.55!important;cursor:not-allowed!important}
.tai-ai-actions button:not(:disabled):hover{background:#f1ebff!important;border-color:#7152dc!important}
/* Do not let template category controls collide with search or cards. */
#design{box-sizing:border-box!important;overflow-x:hidden!important}
#design .v260-design-tabs{position:relative!important;top:auto!important;flex-wrap:wrap!important;overflow:visible!important;gap:8px!important}
#design .v260-design-tabs button{font-size:12px!important}
#design .templates{min-width:0!important;max-width:100%!important}
#design .tpl-lazy-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;min-width:0!important}
#design .tpl-lazy-grid .tpl{min-width:0!important;max-width:100%!important;overflow:hidden!important}
#design .tpl-lazy-grid .thumb{height:215px!important;overflow:hidden!important}
#design input[type=search],#design input[type=text],#design select{max-width:100%!important;box-sizing:border-box!important}
@media(min-width:1101px){.drawer[data-name="design"]{width:min(570px,calc(100vw - 240px))!important;min-width:0!important}}
@media(max-width:700px){.drawer[data-name="design"]{width:100%!important;min-width:0!important}#design .tpl-lazy-grid .thumb{height:165px!important}}
