/* Ask Maeve on the town pages (js/maeve-town.js): typed chat, right-side panel
   on desktop, bottom sheet on phones. Approved mockup 2026-11-13. Site tokens
   from advisory.css. Hidden unless Maeve is on for the page. */
html.mvt-open{overflow:hidden;}
.mvt{position:fixed;inset:0;z-index:9600;}
.mvt[hidden]{display:none !important;}
.mvt__scrim{position:absolute;inset:0;background:rgba(17,17,17,.45);}
.mvt__panel{position:absolute;top:0;right:0;bottom:0;width:min(480px,100vw);background:#fff;color:var(--adv-ink,#111);display:flex;flex-direction:column;font-family:var(--adv-sans,'Compass Sans',Helvetica,Arial,sans-serif);box-shadow:-12px 0 40px rgba(0,0,0,.18);}
.mvt__grab{display:none;}
.mvt__head{flex-shrink:0;display:flex;gap:12px;align-items:center;padding:16px 18px 16px 20px;border-bottom:1px solid var(--adv-rule,#e2e2e2);}
.mvt__av{width:44px;height:44px;border-radius:50%;object-fit:cover;object-position:50% 20%;flex-shrink:0;background:#ededed;}
.mvt__who{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px;}
.mvt__name{font-family:var(--adv-serif,'Compass Serif',Georgia,serif);font-size:20px;line-height:1.1;}
.mvt__sub{font-size:12px;color:var(--adv-gray-text,#555);}
.mvt__x{width:44px;height:44px;border-radius:50%;border:0;background:#f5f5f5;color:inherit;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;}
.mvt__x:focus-visible,.mvt button:focus-visible,.mvt input:focus-visible{outline:2px solid var(--adv-ink,#111);outline-offset:2px;}
.mvt__log{flex:1 1 auto;overflow-y:auto;padding:18px 22px;display:flex;flex-direction:column;gap:12px;overscroll-behavior:contain;}
.mvt__me{align-self:flex-end;max-width:80%;background:#111;color:#fff;font-size:14px;line-height:1.5;padding:10px 14px;border-radius:16px 16px 4px 16px;white-space:pre-wrap;overflow-wrap:anywhere;}
.mvt__her{max-width:94%;display:flex;flex-direction:column;gap:6px;}
.mvt__bubble{background:#f5f5f5;font-size:14px;line-height:1.55;padding:12px 14px;border-radius:16px 16px 16px 4px;overflow-wrap:anywhere;}
.mvt__bubble a{color:inherit;}
.mvt__src{font-size:12px;color:var(--adv-gray-text,#555);line-height:1.45;}
.mvt__err{font-size:13px;color:#8a1f11;}
.mvt__typing{display:inline-flex;gap:4px;padding:14px;background:#f5f5f5;border-radius:16px 16px 16px 4px;align-self:flex-start;}
.mvt__typing span{width:6px;height:6px;border-radius:50%;background:#999;animation:mvt-dot 1.2s infinite ease-in-out;}
.mvt__typing span:nth-child(2){animation-delay:.15s}.mvt__typing span:nth-child(3){animation-delay:.3s}
@keyframes mvt-dot{0%,80%,100%{opacity:.3}40%{opacity:1}}
@media (prefers-reduced-motion:reduce){.mvt__typing span{animation:none;}}
.mvt__chips{display:flex;flex-wrap:wrap;gap:8px;}
.mvt__chip{font:inherit;font-size:13px;background:#fff;border:1px solid var(--adv-rule,#e2e2e2);border-radius:999px;padding:9px 13px;cursor:pointer;color:inherit;min-height:40px;}
.mvt__chip--dark{border-color:#111;}
.mvt__foot{flex-shrink:0;border-top:1px solid var(--adv-rule,#e2e2e2);padding:12px 16px calc(14px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;gap:8px;}
.mvt__row{display:flex;gap:10px;align-items:center;}
.mvt__in{flex:1 1 auto;min-width:0;font:inherit;font-size:16px;padding:11px 14px;border:1px solid var(--adv-rule,#e2e2e2);border-radius:999px;background:#fff;color:inherit;}
.mvt__send{width:46px;height:46px;border-radius:50%;border:0;background:#111;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0;}
.mvt__send:disabled{opacity:.4;cursor:default;}
.mvt__ai{font-size:11px;color:var(--adv-gray-text,#555);line-height:1.4;}
/* Search notes + hand-off */
.mvt__card{border:1px solid var(--adv-rule,#e2e2e2);padding:16px 18px;display:flex;flex-direction:column;gap:12px;background:#fff;}
.mvt__eyebrow{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--adv-gray-text,#555);}
.mvt__notes{display:flex;flex-direction:column;}
.mvt__note{display:grid;grid-template-columns:96px minmax(0,1fr);gap:10px;align-items:center;padding:6px 0;border-bottom:1px solid var(--adv-rule,#e2e2e2);font-size:14px;}
.mvt__note label{color:var(--adv-gray-text,#555);font-size:13px;}
.mvt__note input,.mvt__f input{font:inherit;font-size:15px;border:1px solid transparent;background:transparent;padding:6px 6px;color:inherit;min-width:0;width:100%;box-sizing:border-box;}
.mvt__note input:hover,.mvt__note input:focus{border-color:var(--adv-rule,#e2e2e2);background:#fafafa;}
.mvt__two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.mvt__f{display:flex;flex-direction:column;gap:4px;}
.mvt__f span{font-size:12px;color:var(--adv-gray-text,#555);}
.mvt__f input{border-color:var(--adv-rule,#e2e2e2);padding:10px 11px;}
.mvt__ok{margin:0;font-size:12px;color:var(--adv-gray-text,#555);line-height:1.5;}
.mvt__acts{display:flex;gap:14px;align-items:center;flex-wrap:wrap;}
.mvt__go{font:inherit;font-size:14px;background:#111;color:#fff;border:0;border-radius:999px;padding:13px 20px;cursor:pointer;min-height:44px;}
.mvt__go:disabled{opacity:.5;cursor:default;}
.mvt__link{font:inherit;font-size:14px;background:none;border:0;border-bottom:1px solid currentColor;padding:2px 0;cursor:pointer;color:inherit;}
.mvt__done h3{font-family:var(--adv-serif,'Compass Serif',Georgia,serif);font-weight:400;font-size:28px;line-height:1.1;margin:0;}
.mvt__done p{margin:0;font-size:14px;line-height:1.6;color:#333;}
.mvt__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
@media (max-width:599px){
  .mvt__scrim{background:rgba(17,17,17,.55);}
  .mvt__panel{top:56px;left:0;width:100%;border-radius:18px 18px 0 0;box-shadow:0 -8px 30px rgba(0,0,0,.2);}
  .mvt__grab{display:block;width:40px;height:4px;border-radius:2px;background:#adadad;margin:10px auto 0;flex-shrink:0;}
  .mvt__head{padding:10px 14px 12px 16px;}
  .mvt__log{padding:14px 16px;}
  .mvt__two{grid-template-columns:minmax(0,1fr);}
  .mvt__note{grid-template-columns:84px minmax(0,1fr);}
}
