/* HomeSource guide: launcher + panel. Uses the page's own tokens (--harbor, --brass, --display, --body). */
.hs-vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.mt-launch { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 8px; background: var(--harbor); color: #fff; border: 1px solid var(--line-dark); border-radius: 2px;
  font-family: var(--display); text-align: left; cursor: pointer; box-shadow: 0 10px 28px rgba(0,0,0,.28); }
.mt-launch:hover { border-color: var(--brass); }
.mt-launch__disc { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--brass); color: var(--harbor); flex: none; }
.mt-launch__disc svg { width: 18px; height: 18px; }
.mt-launch__text { display: flex; flex-direction: column; }
.mt-launch__name { font-size: 14px; line-height: 18px; font-weight: 500; letter-spacing: .01em; }
.mt-launch__sub { font-size: 12px; line-height: 16px; color: var(--muted-dark); }
.mt-is-open .mt-launch { display: none; }

/* Nav button (wide screens). The floating launcher hides while it's on screen. */
.nav .mt-navbtn { display: none; align-items: center; gap: 8px; padding: 11px 18px; }
.nav .mt-navbtn svg { width: 16px; height: 16px; flex: none; }
@media (min-width: 1100px) { .nav .mt-navbtn { display: inline-flex; } }
.mt-nav-seen .mt-launch { display: none; }

.mt-panel { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; gap: 12px;
  background: var(--harbor); color: #fff; padding: 16px; overflow: hidden; font-family: var(--body); }
.mt-panel[hidden] { display: none; }
@media (min-width: 640px) {
  .mt-panel { inset: auto 20px 20px auto; width: 400px; max-height: calc(100vh - 40px); border: 1px solid var(--line-dark); box-shadow: 0 18px 48px rgba(0,0,0,.4); }
}
.mt-head { display: flex; align-items: center; justify-content: space-between; }
.mt-head__name { margin: 0; font-family: var(--display); font-weight: 300; font-size: 24px; line-height: 28px; letter-spacing: -.02em; }
.mt-head__role { margin: 2px 0 0; font-size: 14px; line-height: 18px; color: var(--muted-dark); }
.mt-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: none; border: 0;
  color: #fff; cursor: pointer; }
.mt-icon svg { width: 22px; height: 22px; }
.mt-icon--round { border-radius: 50%; background: rgba(255,255,255,.12); }
.mt-icon--end { background: var(--paper); color: var(--harbor); }
.mt-slash { display: none; }
[data-mt-mic][aria-pressed="true"] .mt-slash { display: inline; }

/* The stage crops the avatar to head and shoulders and fades the background into the panel. */
.mt-stage { position: relative; flex: none; aspect-ratio: 4 / 3.4; background: var(--harbor-2); overflow: hidden; }
.mt-poster, .mt-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%;
  transform: scale(1.35); transform-origin: 50% 22%; }
.mt-poster[hidden] { display: none; }
.mt-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 72% 78% at 50% 42%, transparent 55%, var(--harbor) 100%),
              linear-gradient(to bottom, transparent 70%, var(--harbor) 100%); }
.mt-start { position: absolute; inset: auto 0 0 0; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px; text-align: center; }
.mt-start[hidden] { display: none; }
.mt-start__note { margin: 0; font-size: 14px; line-height: 19px; max-width: 300px; }
.mt-status { position: absolute; left: 12px; top: 12px; z-index: 2; margin: 0; font-size: 14px; line-height: 19px; max-width: 80%; }
.mt-status:empty { display: none; }
.mt-is-open .mt-panel:not(.is-live) .mt-status { top: auto; bottom: 112px; left: 0; right: 0; max-width: none; padding: 0 16px; text-align: center; }
.mt-controls { position: absolute; z-index: 2; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 16px; }
.mt-controls[hidden] { display: none; }

.mt-topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.mt-topics button { font-family: var(--display); font-size: 13px; line-height: 16px; font-weight: 400; letter-spacing: .01em;
  padding: 10px 12px; min-height: 40px; background: none; color: #fff; border: 1px solid var(--line-dark); border-radius: 2px; cursor: pointer; }
.mt-topics button:hover { border-color: var(--brass); }

.mt-log { flex: 1 1 auto; min-height: 60px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.mt-line { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 22px; }
.mt-line__who { font-family: var(--display); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); }
.mt-line--you .mt-line__who { color: var(--brass); }

.mt-ask { display: flex; align-items: center; gap: 8px; margin: 0; border: 1px solid var(--line-dark); border-radius: 2px; padding-left: 12px; }
.mt-ask input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; color: #fff; font: inherit; font-size: 16px; padding: 0; }
.mt-ask input::placeholder { color: var(--muted-dark); }
.mt-ask input:focus { outline: none; background: none; }
.mt-ask:focus-within { border-color: var(--brass); }
.mt-book { display: block; text-align: center; width: 100%; }
.mt-fine { margin: 0; font-size: 13px; line-height: 17px; color: var(--muted-dark); }
@media (prefers-reduced-motion: reduce) { .mt-poster, .mt-video { transition: none; } }
