.mc[hidden], .mc [hidden] { display: none !important; }
.mc { --mc-ink: #132a38; --mc-blue: #163c63; --mc-line: #dee8ed; font: 15px/1.65 var(--f-body, sans-serif); color: var(--mc-ink); }
.mc button, .mc textarea, .mc a { font: inherit; }
.mc button { cursor: pointer; }
.mc button:focus-visible, .mc a:focus-visible, .mc textarea:focus-visible { outline: 3px solid #1180b8; outline-offset: 3px; }
.mc-launch { position: fixed; right: 1.5rem; bottom: max(1.5rem, env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; gap: .6rem; min-height: 48px; padding: .75rem 1.1rem; border: 1px solid #ffffff55; border-radius: 30px; color: #fff; background: var(--mc-blue); box-shadow: 0 8px 28px #163c6333; font-weight: 600 !important; }
.mc-launch span { color: #e1c483; font-size: 1.3rem; }
#fcp-root .mc-contact-item[hidden] { display: none !important; }
#fcp-root .mc-contact-item .fcp-link { background: #163c63; color: #e1c483; }
#fcp-root .mc-contact-item .fcp-icon-wrap svg path { fill: currentColor; }
body:has(#fcp-root) .mc-launch { right: 104px; bottom: 28px; }
.mc-dialog { position: fixed; inset: auto 1.5rem 1.5rem auto; width: min(440px, calc(100vw - 2rem)); height: min(740px, calc(100dvh - 3rem)); max-height: calc(100dvh - 3rem); max-width: none; margin: 0; padding: 0; border: 1px solid var(--mc-line); border-radius: 18px; background: #fff; color: var(--mc-ink); box-shadow: 0 20px 70px #06283c44; overflow: hidden; }
.mc-dialog[open] { display: flex; flex-direction: column; }
.mc-dialog::backdrop { background: #06283c44; }
.mc-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; background: var(--mc-blue); color: #fff; flex-shrink: 0; }
.mc-eyebrow { color: #e1c483; letter-spacing: .12em; font-size: 10px; }
.mc-header h2 { font-size: 21px; margin: .15rem 0 0; color: #fff; }
.mc-close { min-width: 44px; min-height: 44px; border: 1px solid #ffffff55; border-radius: 50%; background: transparent; color: #fff; font-size: 28px !important; line-height: 1; }
.mc-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 1.25rem; }
.mc-body p { margin: 0 0 .75rem; }
.mc-intro { font-size: 18px; font-weight: 600; }
.mc-starters { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 1rem 0; }
.mc-starters button, .mc-copy { padding: .65rem .6rem; border: 1px solid var(--mc-line); border-radius: 8px; background: #fafdff; color: var(--mc-blue); min-height: 44px; font-size: 13px; }
.mc-message { margin: 1rem 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.mc-message--user { margin-left: 2rem; padding: .7rem .9rem; border-radius: 12px 12px 2px 12px; background: #eaf0f7; }
.mc-message--assistant { padding: .5rem 0; }
.mc-message { animation: mc-message-in 220ms ease-out both; }
.mc-cards .mc-card { animation: mc-message-in 260ms ease-out both; }
.mc-cards .mc-card:nth-child(2) { animation-delay: 80ms; }
.mc-cards .mc-card:nth-child(3) { animation-delay: 160ms; }
.mc-is-thinking .mc-status::after {
  content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 24px 2px 10px;
  border-radius: 50%; background: currentColor; box-shadow: 9px 0 currentColor, 18px 0 currentColor;
  animation: mc-thinking 1.2s ease-in-out infinite;
}
@keyframes mc-message-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes mc-thinking {
  0%, 100% { opacity: .35; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .mc-message, .mc-cards .mc-card, .mc-is-thinking .mc-status::after { animation: none; }
}
.mc-cards { display: grid; gap: .75rem; margin: .75rem 0; }
.mc-card { border: 1px solid var(--mc-line); border-radius: 10px; padding: .65rem; color: var(--mc-ink); background: #fff; }
.mc-card-main { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: .75rem; color: inherit; text-decoration: none; }
.mc-card-main > div:only-child { grid-column: 1 / -1; }
.mc-map-link { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: .6rem; border-top: 1px solid var(--mc-line); color: #0c5c84; font-size: 13px; text-decoration: none; }
.mc-map-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.mc-card img { width: 88px; height: 88px; object-fit: cover; border-radius: 6px; }
.mc-card strong { display: block; font-size: 14px; line-height: 1.5; }
.mc-card small { display: block; color: #5b6e79; font-size: 12px; margin-top: .35rem; }
.mc-card span { display: block; color: #0c5c84; font-size: 12px; margin-top: .35rem; }
.mc-status { color: #5b6e79; font-size: 13px; }
.mc-form { display: flex; align-items: stretch; gap: .5rem; padding: .8rem 1rem; border-top: 1px solid var(--mc-line); flex-shrink: 0; }
.mc textarea { display: block; min-width: 0; border: 1px solid #bacbd5; border-radius: 8px; padding: .65rem; background: #fff; color: var(--mc-ink); resize: vertical; font-size: 16px; }
.mc-form textarea { flex: 1; max-height: 110px; }
.mc-send { padding: .7rem; border: 0; border-radius: 8px; background: var(--mc-blue); color: #fff; }
.mc button:disabled { opacity: .6; cursor: wait; }
.mc-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .3rem; padding: 0 1rem .75rem; flex-shrink: 0; }
.mc-footer button { background: transparent; border: 0; padding: .5rem .25rem; color: #0c5c84; font-size: 13px; min-height: 40px; }
.mc-footer small { flex-basis: 100%; color: #5b6e79; font-size: 11px; }
.mc-handoff { border-top: 1px solid var(--mc-line); margin-top: 1rem; padding-top: 1rem; }
.mc-handoff label { display: block; font-weight: 600; margin-bottom: .5rem; }
.mc-handoff textarea { width: 100%; margin-bottom: .6rem; }
.mc-handoff p { font-size: 12px; color: #5b6e79; margin-top: .6rem; }
.mc-lines { display: flex; flex-wrap: wrap; gap: .5rem; }
.mc-lines a { border: 1px solid var(--mc-line); border-radius: 8px; padding: .6rem; color: var(--mc-blue); }
.mc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 520px) {
  .mc-launch { right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); font-size: 14px; }
  body:has(#fcp-root) .mc-launch { right: 88px; bottom: max(18px, env(safe-area-inset-bottom)); }
  .mc-dialog { inset: auto .5rem .5rem; width: calc(100vw - 1rem); height: calc(100dvh - 1rem); max-height: calc(100dvh - 1rem); border-radius: 14px; }
  .mc-body { padding: 1rem; }
  .mc-footer { padding-bottom: max(.75rem, env(safe-area-inset-bottom)); }
}
