/* ==========================================================================
   Magnum chat widget (cloned from C2G Navi). Charcoal glass panel, Magnum crimson accent.
   ========================================================================== */

#mchat {
  --mchat-z: 2147483000;
  --mchat-w: 400px;
  --mchat-h: min(680px, calc(100vh - 132px));
  --mchat-radius: 20px;
  --mchat-orange: #9a3412;
  --mchat-orange-bright: #c2410c;
  --mchat-glass: rgba(18, 20, 22, 0.94);
  --mchat-surface: #16191c;
  --mchat-surface-2: #1f2327;
  --mchat-border: rgba(255, 255, 255, 0.12);
  --mchat-text: var(--c2g-text, #f3f6fa);
  --mchat-muted: var(--c2g-muted, #a8b1bf);
  --mchat-ease: var(--ease, cubic-bezier(0.22, 1, 0.36, 1));
  --mchat-user: linear-gradient(135deg, #9a3412, #c2410c);

  position: fixed;
  inset: auto 0 0 auto;
  z-index: var(--mchat-z);
  font-family: var(--font-body, "Inter", system-ui, sans-serif);
  color: var(--mchat-text);
}

#mchat *,
#mchat *::before,
#mchat *::after { box-sizing: border-box; }

/* ---------------------------------------------------------------- launcher */

.mchat-fab {
  position: fixed;
  right: clamp(16px, 4vw, 28px);
  bottom: clamp(16px, 4vw, 28px);
  z-index: var(--mchat-z);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 0 16px;
  height: 58px;
  border: 0;
  border-radius: var(--radius-pill, 999px);
  background: linear-gradient(135deg, var(--mchat-orange), var(--mchat-orange-bright));
  color: #1c0900;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(161, 10, 22, 0.35), 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.35s var(--mchat-ease), box-shadow 0.35s var(--mchat-ease), opacity 0.25s ease;
}
.mchat-fab:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 40px rgba(161, 10, 22, 0.5); }
.mchat-fab:active { transform: translateY(-1px) scale(0.99); }
.mchat-fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.mchat-fab-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
}
.mchat-fab-orb svg { width: 20px; height: 20px; }
.mchat-fab-orb::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  animation: mchat-ping 2.6s var(--mchat-ease) infinite;
}
@keyframes mchat-ping {
  0% { transform: scale(0.7); opacity: 0.8; }
  70%, 100% { transform: scale(1.5); opacity: 0; }
}
/* Attention dot */
.mchat-fab-badge {
  position: absolute;
  top: -4px; right: -2px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--c2g-green, #47d99c);
  border: 2px solid #1c0900;
}

#mchat.is-open .mchat-fab { transform: scale(0.4); opacity: 0; pointer-events: none; }

/* ------------------------------------------------------------------- panel */

.mchat-panel {
  position: fixed;
  right: clamp(16px, 4vw, 28px);
  bottom: clamp(16px, 4vw, 28px);
  z-index: var(--mchat-z);
  width: var(--mchat-w);
  height: var(--mchat-h);
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--mchat-radius);
  border: 1px solid var(--mchat-border);
  background: var(--mchat-glass);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04),
              0 0 60px rgba(161, 10, 22, 0.12);
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transform-origin: bottom right;
  transition: transform 0.42s var(--mchat-ease), opacity 0.3s ease;
}
#mchat.is-open .mchat-panel { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }

/* Ambient orange aura behind the glass */
.mchat-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(161, 10, 22, 0.18), transparent 60%),
    radial-gradient(90% 50% at 0% 100%, rgba(66, 184, 255, 0.10), transparent 55%),
    var(--mchat-surface);
}

/* Fullscreen mode */
#mchat.is-full .mchat-panel {
  right: 0; bottom: 0; top: 0; left: 0;
  width: 100vw; height: 100vh; max-height: 100vh;
  border-radius: 0;
  transform-origin: center;
}
#mchat.is-full .mchat-inner { max-width: 900px; margin: 0 auto; width: 100%; }

/* --------------------------------------------------------------- header */

.mchat-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  border-bottom: 1px solid var(--mchat-border);
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.55), rgba(7, 9, 13, 0.15));
}
.mchat-avatar {
  position: relative;
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--mchat-orange), var(--mchat-orange-bright));
  color: #1c0900;
  box-shadow: 0 6px 18px rgba(161, 10, 22, 0.4);
}
.mchat-avatar svg { width: 24px; height: 24px; }
.mchat-head-meta { flex: 1 1 auto; min-width: 0; line-height: 1.25; }
.mchat-title {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700; font-size: 17px; margin: 0;
  display: flex; align-items: center; gap: 8px;
}
.mchat-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--mchat-muted);
}
.mchat-status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c2g-green, #47d99c);
  box-shadow: 0 0 0 0 rgba(71, 217, 156, 0.6);
  animation: mchat-live 2.4s ease-out infinite;
}
@keyframes mchat-live {
  0% { box-shadow: 0 0 0 0 rgba(71, 217, 156, 0.55); }
  70%,100% { box-shadow: 0 0 0 7px rgba(71, 217, 156, 0); }
}
.mchat-head-actions { display: flex; gap: 4px; }
.mchat-iconbtn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 0; border-radius: 10px;
  background: transparent; color: var(--mchat-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.mchat-iconbtn:hover { background: rgba(255, 255, 255, 0.08); color: var(--mchat-text); }
.mchat-iconbtn:focus-visible { outline: 2px solid var(--mchat-orange); outline-offset: 2px; }
.mchat-iconbtn svg { width: 19px; height: 19px; }

/* --------------------------------------------------------------- messages */

.mchat-scroll {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 14px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.18) transparent;
}
.mchat-scroll::-webkit-scrollbar { width: 8px; }
.mchat-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.16); border-radius: 8px; }
.mchat-inner { display: flex; flex-direction: column; gap: 14px; }

.mchat-msg { display: flex; gap: 10px; align-items: flex-end; animation: mchat-rise 0.35s var(--mchat-ease) both; }
@keyframes mchat-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.mchat-msg.is-user { flex-direction: row-reverse; }
.mchat-ava-sm {
  flex: 0 0 auto; width: 28px; height: 28px; border-radius: 9px;
  display: grid; place-items: center; font-size: 13px;
  background: linear-gradient(135deg, var(--mchat-orange), var(--mchat-orange-bright));
  color: #1c0900;
}
.mchat-ava-sm svg { width: 16px; height: 16px; }
.mchat-msg.is-user .mchat-ava-sm { background: rgba(255,255,255,0.10); color: var(--mchat-text); }

.mchat-bubble {
  max-width: 82%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.55;
  background: var(--mchat-surface-2);
  border: 1px solid var(--mchat-border);
  border-bottom-left-radius: 5px;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.mchat-msg.is-user .mchat-bubble {
  background: var(--mchat-user);
  color: #1c0900;
  border: 0;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 5px;
  font-weight: 500;
}
/* Dark, high-contrast text on the orange outgoing bubble (override global p/li). */
.mchat-msg.is-user .mchat-bubble,
.mchat-msg.is-user .mchat-bubble p,
.mchat-msg.is-user .mchat-bubble li,
.mchat-msg.is-user .mchat-bubble strong { color: #1c0900; }
/* Explicit text colors: beat the site-wide `p { color: --c2g-muted }` rule,
   which otherwise overrides the bubble color via direct element targeting. */
.mchat-bubble, .mchat-bubble p, .mchat-bubble li { color: var(--mchat-text); }
.mchat-bubble p { margin: 0 0 8px; }
.mchat-bubble p:last-child { margin-bottom: 0; }
.mchat-bubble ul, .mchat-bubble ol { margin: 4px 0 8px; padding-left: 20px; }
.mchat-bubble li { margin: 2px 0; }
.mchat-bubble a { color: var(--mchat-orange); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.mchat-msg.is-user .mchat-bubble a { color: #3a1500; }
.mchat-bubble code {
  font-family: var(--font-mono, monospace);
  font-size: 0.88em; padding: 1px 5px; border-radius: 5px;
  background: rgba(255,255,255,0.10);
}
.mchat-bubble strong { font-weight: 700; }
.mchat-msg-img {
  display: block; max-width: 200px; max-height: 200px;
  border-radius: 12px; margin-bottom: 8px; border: 1px solid var(--mchat-border);
}

/* thinking + tool status */
.mchat-thinking { display: inline-flex; align-items: center; gap: 9px; color: var(--mchat-muted); font-size: 13.5px; }
.mchat-dots { display: inline-flex; gap: 4px; }
.mchat-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--mchat-orange); animation: mchat-bounce 1.3s var(--mchat-ease) infinite; }
.mchat-dots i:nth-child(2) { animation-delay: 0.16s; }
.mchat-dots i:nth-child(3) { animation-delay: 0.32s; }
@keyframes mchat-bounce { 0%,60%,100% { transform: translateY(0); opacity: 0.55; } 30% { transform: translateY(-5px); opacity: 1; } }
.mchat-tool {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--mchat-muted);
  padding: 5px 0;
}
.mchat-tool .spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); border-top-color: var(--mchat-orange); animation: mchat-spin 0.8s linear infinite; }
@keyframes mchat-spin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------- action cards */

.mchat-cards { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.mchat-card {
  border: 1px solid var(--mchat-border);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  padding: 12px 14px;
}
.mchat-card-title { font-weight: 700; font-size: 13.5px; margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.mchat-card-title svg { width: 16px; height: 16px; color: var(--mchat-orange); }
.mchat-card-row { font-size: 13px; color: var(--mchat-muted); margin: 2px 0; }
.mchat-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mchat-cta {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 1px solid var(--mchat-border); background: rgba(255,255,255,0.06); color: var(--mchat-text);
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.mchat-cta:hover { background: rgba(255,255,255,0.12); transform: translateY(-1px); }
.mchat-cta.is-primary { background: linear-gradient(135deg, var(--mchat-orange), var(--mchat-orange-bright)); color: #1c0900; border: 0; }
.mchat-cta svg { width: 16px; height: 16px; }
.mchat-ok { display: inline-flex; align-items: center; gap: 7px; color: var(--c2g-green, #47d99c); font-size: 13px; font-weight: 600; }
.mchat-ok svg { width: 16px; height: 16px; }

/* -------------------------------------------------------------- lead form */

.mchat-leadform { display: flex; flex-direction: column; gap: 11px; margin-top: 12px; }
.mchat-field { display: flex; flex-direction: column; gap: 5px; }
.mchat-field-row { display: flex; gap: 10px; }
.mchat-field-row .mchat-field { flex: 1 1 0; min-width: 0; }
.mchat-field label { font-size: 12px; font-weight: 600; color: var(--mchat-muted); }
.mchat-field label span { color: var(--mchat-orange); }
.mchat-field input,
.mchat-field textarea,
.mchat-field select {
  width: 100%;
  font-family: inherit; font-size: 14px; color: var(--mchat-text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--mchat-border);
  border-radius: 10px;
  padding: 9px 11px;
  outline: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mchat-field textarea { resize: vertical; min-height: 62px; line-height: 1.5; }
.mchat-field input::placeholder,
.mchat-field textarea::placeholder { color: var(--c2g-subtle, #788494); }
.mchat-field input:focus,
.mchat-field textarea:focus,
.mchat-field select:focus {
  border-color: rgba(161, 10, 22, 0.6);
  box-shadow: 0 0 0 3px rgba(161, 10, 22, 0.12);
}
.mchat-field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23a8b1bf' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
}
.mchat-field select option { color: #101722; }
.mchat-form-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 2px; }
.mchat-form-actions .mchat-cta { border-radius: 12px; padding: 9px 16px; }
.mchat-form-error { color: var(--c2g-danger, #ff5f6d); font-size: 12.5px; }
.mchat-form-error:empty { display: none; }

@media (max-width: 430px) {
  .mchat-field-row { flex-direction: column; gap: 11px; }
}

/* --------------------------------------------------------------- quick chips */

.mchat-quick {
  flex: 0 0 auto;
  display: flex; gap: 8px; flex-wrap: nowrap;
  padding: 4px 14px 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.mchat-quick::-webkit-scrollbar { display: none; }
.mchat-chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 13px; border-radius: 999px;
  border: 1px solid var(--mchat-border); background: rgba(255,255,255,0.05);
  color: var(--mchat-text); font-size: 12.5px; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.mchat-chip:hover { background: rgba(161, 10, 22,0.14); border-color: rgba(161, 10, 22,0.5); transform: translateY(-1px); }
.mchat-chip:focus-visible { outline: 2px solid var(--mchat-orange); outline-offset: 2px; }
.mchat-chip svg { width: 15px; height: 15px; color: var(--mchat-orange); }

/* --------------------------------------------------------------- composer */

.mchat-compose {
  flex: 0 0 auto;
  border-top: 1px solid var(--mchat-border);
  padding: 10px 12px 12px;
  background: rgba(7, 9, 13, 0.35);
}
.mchat-preview { display: none; align-items: center; gap: 10px; padding: 6px 6px 10px; }
.mchat-preview.is-on { display: flex; }
.mchat-preview img { width: 46px; height: 46px; object-fit: cover; border-radius: 10px; border: 1px solid var(--mchat-border); }
.mchat-preview .mchat-preview-x { margin-left: auto; }
.mchat-preview span { font-size: 12.5px; color: var(--mchat-muted); }
.mchat-inputrow {
  display: flex; align-items: flex-end; gap: 8px;
  background: var(--mchat-surface-2);
  border: 1px solid var(--mchat-border);
  border-radius: 16px;
  padding: 6px 6px 6px 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mchat-inputrow:focus-within { border-color: rgba(161, 10, 22,0.6); box-shadow: 0 0 0 3px rgba(161, 10, 22,0.12); }
.mchat-textarea {
  flex: 1 1 auto;
  resize: none;
  max-height: 128px;
  min-height: 24px;
  border: 0; outline: 0; background: transparent;
  color: var(--mchat-text);
  font-family: inherit; font-size: 14.5px; line-height: 1.45;
  padding: 8px 2px;
}
.mchat-textarea::placeholder { color: var(--mchat-muted); }
.mchat-round {
  flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; border: 0; cursor: pointer;
  transition: transform 0.2s, background 0.2s, opacity 0.2s;
}
.mchat-attach { background: rgba(255,255,255,0.07); color: var(--mchat-muted); }
.mchat-attach:hover { background: rgba(255,255,255,0.14); color: var(--mchat-text); }
.mchat-send { background: linear-gradient(135deg, var(--mchat-orange), var(--mchat-orange-bright)); color: #1c0900; }
.mchat-send:hover { transform: translateY(-1px) scale(1.04); }
.mchat-send:disabled { opacity: 0.45; cursor: default; transform: none; }
.mchat-round svg { width: 19px; height: 19px; }
.mchat-round:focus-visible { outline: 2px solid var(--mchat-orange); outline-offset: 2px; }
.mchat-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.mchat-turnstile:empty { display: none; }
.mchat-turnstile { display: flex; justify-content: center; margin: 8px 0 0; }

.mchat-foot { text-align: center; font-size: 10.5px; color: var(--mchat-muted); padding: 8px 4px 2px; }
.mchat-foot a { color: var(--mchat-muted); text-decoration: underline; }

/* --------------------------------------------------------------- responsive */

@media (max-width: 560px) {
  #mchat .mchat-panel {
    right: 0; bottom: 0; top: 0; left: 0;
    width: 100vw; height: 100dvh; max-height: 100dvh;
    border-radius: 0;
  }
  .mchat-fab { right: 16px; bottom: 16px; height: 54px; }
  #mchat .mchat-expand { display: none; } /* fullscreen is default on mobile */
}

/* --------------------------------------------------------------- a11y / motion */

@media (prefers-reduced-motion: reduce) {
  #mchat *, #mchat *::before, #mchat *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.1ms !important;
  }
}

#mchat[hidden] { display: none; }

/* ---- Magnum launcher: the M + I-beam mark ---- */
.mchat-fab { background: #121416; border: 1px solid rgba(255,255,255,.14); padding: 6px 20px 6px 6px; gap: 12px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.55); color: #fff; }
.mchat-fab:hover { box-shadow: 0 22px 48px -14px rgba(0,0,0,.6); }
.mchat-fab-orb { background: #fff !important; width: 50px !important; height: 50px !important; padding: 6px; }
.mchat-fab-orb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mchat-fab-orb::after { border-color: rgba(161,10,22,.55) !important; }
.mchat-fab-label { font-weight: 600; letter-spacing: .02em; }
.mchat-avatar { background: #fff !important; padding: 4px; }
.mchat-avatar img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mchat-attach, .mchat-preview { display: none !important; }
@media (max-width: 760px) { .mchat-fab-label { display: none; } .mchat-fab { padding: 6px; } }
/* ---- v4: HomeScape-style launcher (crimson pill) with the Magnum mark ---- */
.mchat-fab { background: #b5121b; border: 0; padding: 6px 22px 6px 6px; box-shadow: 0 16px 34px -12px rgba(181,18,27,.7); }
.mchat-fab:hover { background: #8f0d15; box-shadow: 0 18px 38px -12px rgba(181,18,27,.75); }
.mchat-fab-orb { width: 46px !important; height: 46px !important; }
.mchat-fab-label { font-size: 15px; }
@media (max-width: 640px) { .mchat-fab { bottom: calc(84px + env(safe-area-inset-bottom)); right: 14px; padding: 5px; } }
/* Black Jack: the playing cards from the logo are the chat button */
.mchat-fab-orb { background: #0c0a09 !important; width: 62px !important; height: 62px !important; padding: 4px; border: 2px solid #c2410c; overflow: visible; }
.mchat-fab-orb img { transform: scale(1.18) rotate(-4deg); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.mchat-fab:hover .mchat-fab-orb img { transform: scale(1.32) rotate(4deg); }
.mchat-avatar { background: #0c0a09; }
@media (max-width: 640px) { .mchat-fab-orb { width: 54px !important; height: 54px !important; } }
/* contrast audit: visitor messages = white text on the red bubble */
.mchat-msg.is-user .mchat-bubble, .mchat-msg.is-user .mchat-bubble * { color: #fff !important; }
/* site.css styles every <section>; keep it off the chat panel (was pushing the full view down/off-screen) */
#mchat section.mchat-panel { padding: 0 !important; }
#mchat .mchat-inputrow { min-width: 0; }
#mchat .mchat-textarea { min-width: 0; }
#mchat .mchat-cta.is-primary, #mchat .mchat-form-submit { color: #fff !important; background: linear-gradient(135deg, #9a3412, #c2410c) !important; }
/* readability: larger type, wider column in the full-screen view */
#mchat .mchat-bubble, #mchat .mchat-bubble p, #mchat .mchat-textarea { font-size: 15.5px; line-height: 1.55; }
#mchat .mchat-field label { font-size: 13.5px; }
#mchat .mchat-field input, #mchat .mchat-field select, #mchat .mchat-field textarea { font-size: 15px; }
#mchat.is-full .mchat-panel { top: 0 !important; height: 100vh !important; }
#mchat.is-full .mchat-inner { max-width: 900px; }
#mchat.is-full .mchat-bubble, #mchat.is-full .mchat-bubble p, #mchat.is-full .mchat-textarea { font-size: 18px; }
#mchat.is-full .mchat-field label { font-size: 15px; }
#mchat.is-full .mchat-field input, #mchat.is-full .mchat-field select, #mchat.is-full .mchat-field textarea { font-size: 17px; padding: 12px 14px; }
#mchat.is-full .mchat-quick, #mchat.is-full .mchat-compose { max-width: 900px; margin-left: auto; margin-right: auto; width: 100%; }
#mchat.is-full .mchat-chip { font-size: 15px; }
/* ---- Willew: compact round launcher (no long red pill) ---- */
#mchat .mchat-fab { background: #1a1512 !important; border: 1px solid rgba(251,146,60,.45) !important; padding: 5px !important; gap: 0 !important; border-radius: 50% !important; width: 62px; height: 62px; justify-content: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.7), 0 0 0 0 rgba(251,146,60,.35) !important; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
#mchat .mchat-fab:hover { background: #1a1512 !important; transform: translateY(-3px) scale(1.04); border-color: #fb923c !important; box-shadow: 0 18px 36px -10px rgba(0,0,0,.75), 0 0 22px rgba(251,146,60,.35) !important; }
#mchat .mchat-fab-label { display: none !important; }
#mchat .mchat-fab-orb { width: 50px !important; height: 50px !important; background: transparent !important; padding: 0 !important; border: 0 !important; }
#mchat .mchat-fab-orb img { border-radius: 12px; }
#mchat .mchat-fab::before { content: "Ask Willew"; position: absolute; right: 72px; white-space: nowrap; background: #1a1512; color: #fdba74; border: 1px solid rgba(251,146,60,.35); font-size: 14px; font-weight: 600; padding: 7px 12px; border-radius: 10px; opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity .2s, transform .2s; }
#mchat .mchat-fab:hover::before, #mchat .mchat-fab:focus-visible::before { opacity: 1; transform: none; }
@media (max-width: 640px) { #mchat .mchat-fab { width: 56px; height: 56px; } #mchat .mchat-fab-orb { width: 44px !important; height: 44px !important; } }
