/* Solaris · botão de conversa e painel (compartilhado entre landing e painel) */
.sol-sun { position: relative; border-radius: 50%; overflow: hidden; flex: none;
  background: radial-gradient(circle at 20% 20%, #ffd83d 0%, #ff9d13 26%, #ff672d 49%, #f9446d 74%, #f826ad 100%);
  box-shadow: 0 0 26px rgba(255,93,35,.35), inset -5px -6px 16px rgba(231,65,64,.3); animation: solBreathe 9s ease-in-out infinite alternate; }
.sol-sun::after { content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: .2; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' fill='%23000' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E"); background-size: cover; }
@keyframes solBreathe { 0% { transform: rotate(-8deg); filter: hue-rotate(0) } 100% { transform: rotate(8deg) scale(1.04); filter: hue-rotate(-12deg) } }

.sol-fab { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border-radius: 999px;
  background: rgba(12,12,16,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.16); color: #fff; font-weight: 600; font-size: 13.5px;
  box-shadow: 0 14px 40px rgba(0,0,0,.55); transition: transform .25s var(--ease, ease), box-shadow .25s, opacity .25s; }
.sol-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 50px rgba(0,0,0,.6), 0 0 0 1px rgba(255,106,26,.45); }
.sol-fab .sol-sun { width: 34px; height: 34px; }
.sol-fab small { display: block; font: 500 9.5px var(--mono, monospace); letter-spacing: .14em; color: #8a8a93; text-align: left; }
.sol-fab.hidden { opacity: 0; pointer-events: none; transform: translateY(10px) scale(.96); }
.sol-fab .ring { position: absolute; left: 6px; top: 6px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,120,50,.6); animation: solRing 2.8s ease-out infinite; pointer-events: none; }
@keyframes solRing { from { transform: scale(1); opacity: .9 } to { transform: scale(1.9); opacity: 0 } }

.sol-panel { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: min(410px, calc(100vw - 24px)); height: min(640px, calc(100dvh - 40px)); display: flex; flex-direction: column;
  background: #08080b; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 90px rgba(0,0,0,.75), 0 0 0 1px rgba(0,0,0,.6);
  transform-origin: bottom right; animation: solIn .32s var(--ease, ease) both; }
.sol-panel[hidden] { display: none; }
@keyframes solIn { from { opacity: 0; transform: translateY(14px) scale(.96) } to { opacity: 1; transform: none } }
.sol-head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; background: linear-gradient(140deg, #1a100a, #0b0b0f 70%); border-bottom: 1px solid rgba(255,255,255,.08); }
.sol-head .sol-sun { width: 36px; height: 36px; }
.sol-head b { display: block; font-size: 14.5px; letter-spacing: .01em; }
.sol-head small { display: flex; align-items: center; gap: 6px; font: 500 10px var(--mono, monospace); letter-spacing: .12em; color: #8a8a93; }
.sol-head small i { width: 6px; height: 6px; border-radius: 50%; background: #43e39b; }
.sol-head small i.off { background: #ffc043; }
.sol-head .grow { flex: 1; min-width: 0; }
.sol-ctrl { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: none; border: 0; color: #8a8a93; text-decoration: none; }
.sol-ctrl:hover { background: rgba(255,255,255,.07); color: #fff; }
.sol-ctrl svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sol-msgs { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.sol-msg { max-width: 92%; font-size: 13.8px; line-height: 1.55; animation: solPop .3s ease both; }
@keyframes solPop { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }
.sol-msg.user { align-self: flex-end; background: #fff; color: #000; padding: 9px 13px; border-radius: 16px 16px 4px 16px; }
.sol-msg.bot { align-self: flex-start; color: #e7e7ea; }
.sol-msg.bot .who { display: block; font: 600 9.5px var(--mono, monospace); letter-spacing: .16em; color: #ff8a3d; margin-bottom: 3px; }
.sol-msg.err { color: #ffb0b8; }
.sol-msg code { font-family: var(--mono, monospace); font-size: 12px; background: rgba(255,255,255,.08); padding: 1px 5px; border-radius: 5px; }
.sol-wait { display: flex; align-items: center; gap: 10px; font: 500 11px var(--mono, monospace); letter-spacing: .1em; color: #8a8a93; }
.sol-wait .sol-sun { width: 16px; height: 16px; animation: solSpin 1.4s linear infinite; }
@keyframes solSpin { to { transform: rotate(360deg) } }
.sol-act { margin-top: 10px; border: 1px solid rgba(255,106,26,.35); background: rgba(255,106,26,.07); border-radius: 12px; padding: 11px 12px; display: grid; gap: 8px; }
.sol-act p { margin: 0; font-size: 12.5px; color: #cfcfd4; white-space: pre-line; }
.sol-act .row { display: flex; gap: 6px; flex-wrap: wrap; }
.sol-act em { font: 600 9.5px var(--mono, monospace); letter-spacing: .14em; color: #ff8a3d; font-style: normal; }
.sol-chips { display: flex; gap: 6px; padding: 4px 14px 10px; overflow-x: auto; scrollbar-width: none; }
.sol-chips::-webkit-scrollbar { display: none; }
.sol-chips button { flex: none; background: #111116; border: 1px solid rgba(255,255,255,.1); color: #c9c9cf; border-radius: 999px; padding: 6px 12px; font-size: 12px; }
.sol-chips button:hover { border-color: rgba(255,106,26,.5); color: #fff; }
.sol-form { display: flex; align-items: flex-end; gap: 8px; margin: 0 12px 12px; padding: 7px 7px 7px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: #0f0f13; }
.sol-form:focus-within { border-color: rgba(255,106,26,.55); }
.sol-form textarea { flex: 1; resize: none; border: 0; background: none; outline: none; min-height: 22px; max-height: 110px; padding: 6px 0; font-size: 14px; line-height: 1.45; }
.sol-send { width: 34px; height: 34px; border-radius: 10px; border: 0; background: #fff; color: #000; display: grid; place-items: center; flex: none; }
.sol-send[disabled] { opacity: .3; }
.sol-send svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sol-foot { text-align: center; font: 500 9.5px var(--mono, monospace); letter-spacing: .12em; color: #55555d; padding: 0 0 10px; margin-top: -4px; }
@media (max-width: 560px) {
  .sol-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
  .sol-fab { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); padding-right: 14px; }
  .sol-fab.compact small { display: none; }
}
