.law-front,.law-search-modal,.law-inline-search{font-family:system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif}.law-front *,.law-search-modal *,.law-inline-search *{box-sizing:border-box}.law-front{position:fixed;z-index:999999;bottom:var(--law-offset-y);pointer-events:none}.law-front.law-pos-right{right:var(--law-offset-x)}.law-front.law-pos-left{left:var(--law-offset-x)}.law-launcher{pointer-events:auto;border:0;background:transparent;display:flex;align-items:center;gap:9px;cursor:pointer;padding:0;position:relative}.law-launcher-label{background:#101827;color:#fff;padding:9px 13px;border-radius:13px;font-size:12px;box-shadow:0 10px 28px #0e18312c;white-space:nowrap}.law-launcher-icon{width:var(--law-launcher-size);height:var(--law-launcher-size);display:grid;place-items:center;border-radius:22px;background:linear-gradient(135deg,var(--law-primary),var(--law-secondary));box-shadow:0 16px 35px color-mix(in srgb,var(--law-primary) 34%,transparent);position:relative;overflow:hidden}.law-launcher-icon:before{content:"";position:absolute;width:70%;height:120%;background:linear-gradient(90deg,transparent,#fff3,transparent);transform:rotate(25deg);left:-90%;animation:lawShine 4s infinite}.law-launcher svg{width:29px;height:29px;fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.law-launcher .spark{fill:#fff;stroke:none}.law-anim-float .law-launcher-icon{animation:lawFloat 3.1s ease-in-out infinite}.law-anim-pulse .law-launcher-icon:after{content:"";position:absolute;inset:-1px;border:2px solid #fff8;border-radius:inherit;animation:lawPulse 1.8s infinite}@keyframes lawFloat{50%{transform:translateY(-6px)}}@keyframes lawPulse{to{transform:scale(1.4);opacity:0}}@keyframes lawShine{0%,65%{left:-90%}85%,100%{left:150%}}.law-chat{pointer-events:auto;position:absolute;bottom:calc(var(--law-launcher-size) + 15px);width:var(--law-panel-width);height:min(var(--law-panel-height),calc(100vh - 120px));display:flex;flex-direction:column;background:#fff;border:1px solid #e8ebf3;border-radius:24px;overflow:hidden;box-shadow:0 24px 80px #10192d35;opacity:0;visibility:hidden;transform:translateY(14px) scale(.97);transform-origin:bottom;transition:.22s ease}.law-pos-right .law-chat{right:0}.law-pos-left .law-chat{left:0}.law-front.open .law-chat{opacity:1;visibility:visible;transform:none}.law-chat-head{min-height:78px;background:radial-gradient(circle at 12% -20%,#ffffff26,transparent 35%),linear-gradient(125deg,var(--law-primary),var(--law-secondary));color:#fff;padding:15px;display:flex;align-items:center;gap:11px}.law-ai-avatar{width:45px;height:45px;border-radius:15px;background:#fff2;display:grid;place-items:center;position:relative;backdrop-filter:blur(5px);border:1px solid #ffffff2b}.law-ai-avatar b{font-size:13px}.law-ai-avatar span{position:absolute;width:8px;height:8px;background:#46ed9a;border:2px solid #fff;border-radius:50%;right:-1px;bottom:-1px}.law-chat-title{min-width:0;flex:1}.law-chat-title strong,.law-chat-title small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.law-chat-title strong{font-size:15px}.law-chat-title small{font-size:10px;color:#ffffffc9;margin-top:4px}.law-chat-title small i{width:6px;height:6px;background:#52f2a4;display:inline-block;border-radius:50%;margin-inline-end:5px}.law-chat-actions{display:flex;gap:4px}.law-chat-actions button{width:33px;height:33px;border:0;border-radius:10px;background:#fff1;color:#fff;cursor:pointer;display:grid;place-items:center}.law-chat-actions svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}.law-close-chat{font-size:23px!important;font-weight:300}.law-messages{flex:1;overflow:auto;padding:18px 15px 10px;background:linear-gradient(#fbfcff,#fff);scroll-behavior:smooth}.law-messages::-webkit-scrollbar{width:4px}.law-messages::-webkit-scrollbar-thumb{background:#d7dcea;border-radius:10px}.law-msg{display:flex;flex-direction:column;margin:0 0 13px;max-width:87%;animation:lawMsg .2s ease}.law-msg.user{margin-inline-start:auto;align-items:flex-end}.law-msg.assistant{margin-inline-end:auto;align-items:flex-start}@keyframes lawMsg{from{opacity:0;transform:translateY(4px)}}.law-bubble{font-size:13px;line-height:1.75;padding:10px 13px;border-radius:16px;color:#253047;background:#f0f3f8}.law-msg.user .law-bubble{background:linear-gradient(135deg,var(--law-primary),var(--law-secondary));color:#fff;border-end-end-radius:5px}.law-msg.assistant .law-bubble{border-end-start-radius:5px}.law-msg.thinking .law-bubble{display:flex;gap:4px;padding:13px 15px}.law-msg.thinking i{width:5px;height:5px;border-radius:50%;background:#8b93a5;animation:lawDot .9s infinite alternate}.law-msg.thinking i:nth-child(2){animation-delay:.18s}.law-msg.thinking i:nth-child(3){animation-delay:.36s}@keyframes lawDot{to{transform:translateY(-4px);opacity:.45}}.law-sources{margin-top:6px;display:flex;gap:5px;flex-wrap:wrap}.law-sources span{width:100%;font-size:9px;color:#8c95a7}.law-sources a{max-width:150px;text-decoration:none!important;color:#5965b6!important;background:#f2f3ff;border:1px solid #e2e4fa;border-radius:8px;padding:5px 7px;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.law-quick{display:flex;gap:6px;overflow:auto;padding:8px 13px}.law-quick::-webkit-scrollbar{display:none}.law-quick button{flex:none;border:1px solid #e2e6ef;background:#fff;color:#566075;border-radius:20px;padding:7px 9px;font-size:10px;cursor:pointer;transition:.18s}.law-quick button:hover{border-color:var(--law-primary);color:var(--law-primary)}.law-whatsapp{margin:0 13px 7px;border-radius:9px;background:#effcf4;color:#187c48!important;text-decoration:none!important;text-align:center;padding:7px;font-size:11px;font-weight:700}.law-compose{margin:0 11px 10px;border:1px solid #e0e4ed;border-radius:15px;padding:6px 6px 6px 9px;display:flex;align-items:flex-end;gap:6px;background:#fff;box-shadow:0 6px 18px #16233c0c}.law-compose:focus-within{border-color:color-mix(in srgb,var(--law-primary) 55%,#dfe3ed);box-shadow:0 0 0 3px color-mix(in srgb,var(--law-primary) 8%,transparent)}.law-compose textarea{border:0!important;box-shadow:none!important;outline:0!important;resize:none;width:100%;min-height:34px;max-height:110px;padding:8px 6px;background:transparent!important;font:inherit;font-size:12px;color:#222;line-height:1.5}.law-compose button{border:0;width:35px;height:35px;border-radius:11px;background:linear-gradient(135deg,var(--law-primary),var(--law-secondary));display:grid;place-items:center;cursor:pointer;flex:none}.law-compose button svg{width:17px;height:17px;fill:#fff;stroke:#fff;stroke-width:.7}.law-compose.busy button{opacity:.45;pointer-events:none}.law-powered{text-align:center;color:#abb2c0;font-size:8px;padding:0 0 7px}.law-powered b{color:#707a8f}.law-search-modal{position:fixed;inset:0;z-index:1000000;display:grid;place-items:start center;padding-top:min(12vh,100px);opacity:0;visibility:hidden;transition:.2s}.law-search-modal.open{opacity:1;visibility:visible}.law-search-backdrop{position:absolute;inset:0;background:#11182bb8;backdrop-filter:blur(8px)}.law-search-box{position:relative;width:min(720px,calc(100% - 30px));max-height:min(760px,80vh);overflow:auto;background:#fff;border-radius:24px;box-shadow:0 35px 120px #0005;transform:translateY(-10px) scale(.98);transition:.22s;padding:18px}.law-search-modal.open .law-search-box{transform:none}.law-search-box>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.law-search-box>header>div{display:flex;align-items:center;gap:10px}.law-search-box>header>div>span{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,var(--law-primary),var(--law-secondary));color:#fff;display:grid;place-items:center;font-weight:800}.law-search-box header strong,.law-search-box header small{display:block}.law-search-box header strong{font-size:15px}.law-search-box header small{font-size:10px;color:#8992a4;margin-top:2px}.law-search-close{border:0;background:#f2f4f8;width:35px;height:35px;border-radius:11px;font-size:23px;color:#697286;cursor:pointer}.law-search-form{display:grid;grid-template-columns:auto 1fr auto;align-items:center;border:1px solid #dfe3ed;border-radius:15px;padding:5px 6px 5px 13px;gap:8px}.law-search-form svg,.law-inline-search svg{width:20px;height:20px;fill:none;stroke:#788297;stroke-width:1.8}.law-search-form input,.law-inline-search input{border:0!important;box-shadow:none!important;outline:0!important;background:transparent!important;min-width:0;font:inherit;font-size:13px;padding:10px 2px}.law-search-form button,.law-inline-search button{border:0;background:linear-gradient(135deg,var(--law-primary),var(--law-secondary));color:#fff;border-radius:10px;padding:9px 15px;font-weight:700;cursor:pointer}.law-search-state{padding:15px 3px}.law-searching{display:flex;align-items:center;gap:9px;color:#7e8799;font-size:12px}.law-searching i{width:16px;height:16px;border:2px solid #dce0e9;border-top-color:var(--law-primary);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.law-result{display:grid;grid-template-columns:35px 1fr auto;align-items:start;gap:10px;padding:14px 7px;border-top:1px solid #eef0f4;text-decoration:none!important;color:#263047!important;transition:.15s}.law-result:hover{background:#fafbff}.law-result-num{font-size:10px;color:#9ca5b5;padding-top:3px}.law-result strong{font-size:13px}.law-result p{font-size:11px;color:#737d91;line-height:1.6;margin:4px 0}.law-result small{font-size:9px;color:#7f6bd6}.law-result>b{color:#9aa3b3;font-size:15px}.law-no-results{background:#f7f8fb;border-radius:12px;padding:16px;color:#737d90;font-size:12px}.law-inline-search{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;border:1px solid #e0e4ec;border-radius:15px;padding:5px 6px 5px 13px;background:#fff}.law-shortcode-open-chat{border:0;border-radius:12px;background:linear-gradient(135deg,var(--law-primary,#3559E0),var(--law-secondary,#7138F5));color:#fff;padding:10px 15px;cursor:pointer;font-weight:700}
@media(max-width:600px){.law-launcher-label{display:none}.law-front{bottom:max(15px,env(safe-area-inset-bottom))}.law-front.law-pos-right{right:14px}.law-front.law-pos-left{left:14px}.law-chat{position:fixed;inset:auto 9px 88px 9px;width:auto;height:min(75vh,680px);border-radius:22px}.law-front.law-pos-left .law-chat,.law-front.law-pos-right .law-chat{left:9px;right:9px}.law-search-modal{padding-top:15px;align-items:start}.law-search-box{width:calc(100% - 18px);max-height:calc(100vh - 30px);border-radius:20px}.law-search-form button{padding:9px 11px}.law-search-form input{font-size:12px}.law-result{grid-template-columns:28px 1fr auto}.law-inline-search{grid-template-columns:auto 1fr}.law-inline-search button{grid-column:1/-1}.law-front.open.mobile-full .law-chat{inset:0;width:100%;height:100%;max-height:none;border-radius:0}}

/* v1.0.3 — theme-proof UI icons. Some WordPress themes globally hide/override inline SVG. */
#lotex-ai-root .law-launcher,
#lotex-ai-root .law-chat-actions button,
#lotex-ai-root .law-compose button,
#lotex-ai-search-modal button,
.law-inline-search button{appearance:none!important;-webkit-appearance:none!important;font-family:inherit!important;text-transform:none!important;box-sizing:border-box!important}
#lotex-ai-root .law-launcher-icon{width:var(--law-launcher-size)!important;height:var(--law-launcher-size)!important;min-width:var(--law-launcher-size)!important;min-height:var(--law-launcher-size)!important;max-width:var(--law-launcher-size)!important;max-height:var(--law-launcher-size)!important;flex:0 0 var(--law-launcher-size)!important;padding:0!important;margin:0!important;display:grid!important;place-items:center!important;line-height:1!important}
#lotex-ai-root .law-chat-glyph{position:relative!important;width:27px!important;height:20px!important;border:2px solid #fff!important;border-radius:9px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;box-sizing:border-box!important;overflow:visible!important}
#lotex-ai-root .law-chat-glyph:after{content:""!important;position:absolute!important;left:4px!important;bottom:-5px!important;width:8px!important;height:8px!important;background:linear-gradient(135deg,transparent 48%,#fff 49%,#fff 62%,transparent 63%)!important;transform:rotate(7deg)!important}
#lotex-ai-root .law-chat-glyph i{display:block!important;width:3px!important;height:3px!important;min-width:3px!important;min-height:3px!important;border-radius:50%!important;background:#fff!important;padding:0!important;margin:0!important;box-shadow:none!important}
#lotex-ai-root .law-search-glyph,#lotex-ai-search-modal .law-search-glyph,.law-inline-search .law-search-glyph{position:relative!important;display:inline-block!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;border:2px solid currentColor!important;border-radius:50%!important;color:#fff!important;padding:0!important;margin:0 2px!important;box-sizing:border-box!important;overflow:visible!important;background:transparent!important}
#lotex-ai-root .law-search-glyph:after,#lotex-ai-search-modal .law-search-glyph:after,.law-inline-search .law-search-glyph:after{content:""!important;position:absolute!important;width:7px!important;height:2px!important;right:-6px!important;bottom:-3px!important;background:currentColor!important;border-radius:2px!important;transform:rotate(45deg)!important;transform-origin:center!important}
#lotex-ai-search-modal .law-search-glyph.muted,.law-inline-search .law-search-glyph.muted{color:#788297!important}
#lotex-ai-root .law-send-glyph{display:block!important;color:#fff!important;font-family:Arial,sans-serif!important;font-size:20px!important;font-weight:700!important;line-height:1!important;width:auto!important;height:auto!important;transform:translateX(1px)!important;opacity:1!important;visibility:visible!important}
#lotex-ai-root .law-chat-actions button{min-width:33px!important;min-height:33px!important;padding:0!important;line-height:1!important}
#lotex-ai-root .law-compose button{min-width:35px!important;min-height:35px!important;padding:0!important;line-height:1!important;color:#fff!important}
#lotex-ai-root .law-chat-glyph,#lotex-ai-root .law-search-glyph,#lotex-ai-root .law-send-glyph{z-index:2!important}

/* v1.0.4 — hard isolation for launcher/search icons.
   The artwork lives in CSS backgrounds, so theme JS/CSS cannot remove an empty icon node. */
#lotex-ai-root .law-launcher{
  all:unset!important;
  pointer-events:auto!important;
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  cursor:pointer!important;
  position:relative!important;
  box-sizing:border-box!important;
}
#lotex-ai-root .law-launcher-icon{
  display:block!important;
  position:relative!important;
  width:var(--law-launcher-size)!important;
  height:var(--law-launcher-size)!important;
  min-width:var(--law-launcher-size)!important;
  min-height:var(--law-launcher-size)!important;
  max-width:var(--law-launcher-size)!important;
  max-height:var(--law-launcher-size)!important;
  flex:0 0 var(--law-launcher-size)!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:22px!important;
  box-shadow:0 16px 35px color-mix(in srgb,var(--law-primary) 34%,transparent)!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  background-color:var(--law-primary)!important;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M16 14h32a9 9 0 0 1 9 9v17a9 9 0 0 1-9 9H31L19 57v-8h-3a9 9 0 0 1-9-9V23a9 9 0 0 1 9-9Z' fill='none' stroke='white' stroke-width='4' stroke-linejoin='round'/%3E%3Ccircle cx='23' cy='32' r='2.7' fill='white'/%3E%3Ccircle cx='32' cy='32' r='2.7' fill='white'/%3E%3Ccircle cx='41' cy='32' r='2.7' fill='white'/%3E%3C/svg%3E"),
    linear-gradient(135deg,var(--law-primary),var(--law-secondary))!important;
  background-repeat:no-repeat,no-repeat!important;
  background-position:center,center!important;
  background-size:30px 30px,100% 100%!important;
}
#lotex-ai-root .law-launcher-icon .law-chat-glyph{display:none!important}

#lotex-ai-root .law-chat-actions .law-open-search{
  all:unset!important;
  width:33px!important;
  height:33px!important;
  min-width:33px!important;
  min-height:33px!important;
  flex:0 0 33px!important;
  display:block!important;
  cursor:pointer!important;
  border-radius:10px!important;
  box-sizing:border-box!important;
  background-color:rgba(255,255,255,.09)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='21' cy='21' r='11' fill='none' stroke='white' stroke-width='4'/%3E%3Cpath d='M29 29 39 39' fill='none' stroke='white' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:18px 18px!important;
}
#lotex-ai-root .law-chat-actions .law-open-search .law-search-glyph{display:none!important}
#lotex-ai-root .law-chat-actions .law-open-search:hover{background-color:rgba(255,255,255,.16)!important}

#lotex-ai-root .law-chat-actions .law-close-chat{
  all:unset!important;
  width:33px!important;
  height:33px!important;
  min-width:33px!important;
  min-height:33px!important;
  flex:0 0 33px!important;
  display:grid!important;
  place-items:center!important;
  cursor:pointer!important;
  border-radius:10px!important;
  box-sizing:border-box!important;
  background:rgba(255,255,255,.09)!important;
  color:#fff!important;
  font-family:Arial,sans-serif!important;
  font-size:27px!important;
  font-weight:300!important;
  line-height:1!important;
}

#lotex-ai-search-modal .law-search-glyph,
.law-inline-search .law-search-glyph{
  display:inline-block!important;
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  min-height:20px!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  margin:0 2px!important;
  box-sizing:border-box!important;
  background-color:transparent!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='21' cy='21' r='11' fill='none' stroke='%23788297' stroke-width='4'/%3E%3Cpath d='M29 29 39 39' fill='none' stroke='%23788297' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:18px 18px!important;
}
#lotex-ai-search-modal .law-search-glyph:after,
.law-inline-search .law-search-glyph:after{display:none!important;content:none!important}

/* Keep action buttons from inheriting global Elementor/theme button geometry. */
#lotex-ai-root .law-compose button{
  width:35px!important;height:35px!important;min-width:35px!important;min-height:35px!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;
  box-shadow:none!important;line-height:1!important;
  background:linear-gradient(135deg,var(--law-primary),var(--law-secondary))!important;
}
#lotex-ai-root .law-compose .law-send-glyph{display:block!important;color:#fff!important;opacity:1!important;visibility:visible!important}

/* v1.0.5 — critical icons use real image assets, not SVG nodes/background-only artwork. */
#lotex-ai-root .law-launcher-icon{
  display:flex!important;align-items:center!important;justify-content:center!important;
  position:relative!important;isolation:isolate!important;
  background:linear-gradient(135deg,var(--law-primary),var(--law-secondary))!important;
  border:0!important;border-radius:22px!important;opacity:1!important;visibility:visible!important;
}
#lotex-ai-root .law-launcher-icon:before{z-index:0!important;pointer-events:none!important}
#lotex-ai-root .law-critical-img,
#lotex-ai-search-modal .law-critical-img,
.law-inline-search .law-critical-img{
  display:block!important;opacity:1!important;visibility:visible!important;
  filter:none!important;transform:none!important;clip:auto!important;clip-path:none!important;
  position:relative!important;z-index:4!important;margin:0!important;padding:0!important;
  border:0!important;box-shadow:none!important;object-fit:contain!important;max-width:none!important;max-height:none!important;
}
#lotex-ai-root .law-launcher-img{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important}
#lotex-ai-root .law-icon-fallback{display:block!important;position:absolute!important;inset:0!important;z-index:2!important;place-content:center!important;text-align:center!important;color:#fff!important;font:700 13px/1 Arial,sans-serif!important;opacity:1!important;visibility:visible!important;pointer-events:none!important}
#lotex-ai-root .law-launcher-icon .law-icon-fallback{display:grid!important}
#lotex-ai-root .law-launcher-icon .law-launcher-img{z-index:5!important}
#lotex-ai-root .law-chat-actions .law-open-search{
  position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;
  background:rgba(255,255,255,.09)!important;background-image:none!important;
  opacity:1!important;visibility:visible!important;overflow:hidden!important;
}
#lotex-ai-root .law-chat-actions .law-open-search .law-icon-fallback{display:grid!important;color:#fff!important;font-size:22px!important}
#lotex-ai-root .law-chat-actions .law-open-search .law-search-img{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;position:relative!important;z-index:5!important}
#lotex-ai-search-modal .law-search-icon-wrap,
.law-inline-search .law-search-icon-wrap{
  width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;
  opacity:1!important;visibility:visible!important;overflow:visible!important;
}
#lotex-ai-search-modal .law-search-icon-wrap .law-icon-fallback,
.law-inline-search .law-search-icon-wrap .law-icon-fallback{position:absolute!important;inset:0!important;display:grid!important;place-content:center!important;color:#788297!important;font:700 20px/1 Arial,sans-serif!important;z-index:1!important}
#lotex-ai-search-modal .law-search-img-gray,
.law-inline-search .law-search-img-gray{width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;z-index:3!important}


/* v1.0.7 — launcher visibility/fallback fix.
   On mobile fullscreen the launcher is intentionally hidden while the panel is open.
   Earlier icon hardening made the child fallback visible even when the parent was hidden. */
#lotex-ai-root .law-launcher-icon .law-chat-fallback{
  display:block!important;
  position:absolute!important;
  inset:0!important;
  z-index:2!important;
  opacity:1!important;
  pointer-events:none!important;
  color:transparent!important;
  font-size:0!important;
  line-height:0!important;
}
#lotex-ai-root .law-launcher-icon .law-chat-fallback::before{
  content:""!important;
  position:absolute!important;
  width:25px!important;
  height:19px!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-54%)!important;
  border:2px solid #fff!important;
  border-radius:7px!important;
  background:transparent!important;
  box-sizing:border-box!important;
}
#lotex-ai-root .law-launcher-icon .law-chat-fallback::after{
  content:"•••"!important;
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  transform:translate(-50%,-60%)!important;
  color:#fff!important;
  font:700 12px/1 Arial,sans-serif!important;
  letter-spacing:1px!important;
  white-space:nowrap!important;
}

/* Parent visibility must win over all icon fallbacks. */
@media (max-width:600px) and (hover:none) and (pointer:coarse){
  #lotex-ai-root.open.mobile-full .law-launcher{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
  }
  #lotex-ai-root.open.mobile-full .law-launcher *,
  #lotex-ai-root.open.mobile-full .law-launcher *::before,
  #lotex-ai-root.open.mobile-full .law-launcher *::after{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
  }
}


/* v1.0.8 — desktop-safe launcher visibility.
   A narrow desktop browser (or high browser zoom) can be <600 CSS px, but it is not a phone.
   Keep the launcher visible on mouse/trackpad devices even when mobile-full is enabled. */
@media (hover:hover), (pointer:fine){
  #lotex-ai-root .law-launcher,
  #lotex-ai-root.open.mobile-full .law-launcher{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
  }
  #lotex-ai-root .law-launcher-icon,
  #lotex-ai-root.open.mobile-full .law-launcher-icon{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
  }
}


/* v1.0.9 — definitive icon fix.
   Critical artwork is rendered on dedicated child spans, not on the button background and not as IMG/SVG.
   This prevents delayed JS, lazy-loaders, Elementor/theme rules, or background shorthand from erasing it. */
#lotex-ai-root .law-launcher-icon{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  position:relative!important;
  background-color:var(--law-primary)!important;
  background-image:linear-gradient(135deg,var(--law-primary),var(--law-secondary))!important;
}
#lotex-ai-root .law-launcher-art{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  min-height:32px!important;
  flex:0 0 32px!important;
  position:relative!important;
  z-index:20!important;
  pointer-events:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  transform:none!important;
  background-color:transparent!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M16 14h32a9 9 0 0 1 9 9v17a9 9 0 0 1-9 9H31L19 57v-8h-3a9 9 0 0 1-9-9V23a9 9 0 0 1 9-9Z' fill='none' stroke='white' stroke-width='4' stroke-linejoin='round'/%3E%3Ccircle cx='23' cy='32' r='2.7' fill='white'/%3E%3Ccircle cx='32' cy='32' r='2.7' fill='white'/%3E%3Ccircle cx='41' cy='32' r='2.7' fill='white'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:32px 32px!important;
}
#lotex-ai-root .law-open-search .law-search-art,
#lotex-ai-search-modal .law-search-art,
.law-inline-search .law-search-art{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  min-height:20px!important;
  flex:0 0 20px!important;
  position:relative!important;
  z-index:20!important;
  pointer-events:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  transform:none!important;
  background-color:transparent!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='21' cy='21' r='11' fill='none' stroke='white' stroke-width='4'/%3E%3Cpath d='M29 29 39 39' fill='none' stroke='white' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:18px 18px!important;
}
#lotex-ai-search-modal .law-search-art.law-search-art-muted,
.law-inline-search .law-search-art.law-search-art-muted{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='21' cy='21' r='11' fill='none' stroke='%23788297' stroke-width='4'/%3E%3Cpath d='M29 29 39 39' fill='none' stroke='%23788297' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E")!important;
}
/* Disable obsolete fallback/image artwork from earlier builds if stale optimized markup is briefly served. */
#lotex-ai-root .law-launcher-icon>.law-icon-fallback,
#lotex-ai-root .law-launcher-icon>.law-launcher-img,
#lotex-ai-root .law-open-search>.law-icon-fallback,
#lotex-ai-root .law-open-search>.law-search-img{
  display:none!important;
}
