/* Live meeting notes (v8/meeting.js). A column of its own beside the page, never over it: the page shrinks into the
   space that is left (dan's no-cover rule, 2026-11-11). On phones it is a sheet along the bottom and the page gets
   room to scroll clear of it. */
:root { --mt-res: 0px; }
.mt { position: fixed; top: 12px; bottom: 12px; right: calc(var(--asst-res, 0px) + var(--vp-res, 0px) + 12px); z-index: 294; width: 380px;
  display: flex; flex-direction: column; background: var(--panel); color: var(--text); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05), 0 24px 60px -24px rgba(0,0,0,.32); overflow: hidden; animation: mtIn .26s cubic-bezier(.2,.8,.2,1); }
.mt.mt-hidden { display: none; }
@keyframes mtIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@media (min-width: 761px) {
  body.mt-on { --mt-res: 392px; }
  body.mt-on .main, body.mt-on.vp-on .main { padding-right: calc(var(--vp-res, 0px) + var(--mt-res)); transition: padding-right .22s ease; }
  body.mt-on .asst-fab { right: calc(var(--vp-res, 0px) + var(--mt-res) + 12px); }
}

.mt-h { display: flex; align-items: center; gap: 10px; padding: 12px 12px 10px 14px; border-bottom: 1px solid var(--border); }
.mt-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--text); color: var(--panel); flex-shrink: 0; }
.mt-mark svg { width: 17px; height: 17px; }
.mt-mark.on svg { animation: mtBreathe 2.6s ease-in-out infinite; }
@keyframes mtBreathe { 50% { transform: scale(.86); opacity: .82; } }
.mt-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.mt-who b { font-size: 14px; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-sub { font-size: 12px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-rec { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--bad); background: var(--bad-soft); padding: 4px 9px; border-radius: 999px; }
.mt-rec i { width: 7px; height: 7px; border-radius: 50%; background: var(--bad); animation: mtPulse 1.6s ease-in-out infinite; }
@keyframes mtPulse { 50% { opacity: .35; } }
.mt-ib { width: 30px; height: 30px; border-radius: 9px; border: none; background: transparent; color: var(--text2); font-size: 18px; line-height: 1; cursor: pointer; }
.mt-ib:hover { background: var(--hover); color: var(--text); }

.mt-body { flex: 1; min-height: 0; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.mt-body.mt-live { overflow: hidden; }
.mt-lead { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--text2); }
.mt-l { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--text); }
.mt-l small { font-weight: 400; color: var(--text3); }
.mt-in { height: 36px; padding: 0 11px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit; font-size: 13.5px; font-weight: 400; }
.mt-in:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.mt-src { display: flex; flex-direction: column; gap: 6px; }
.mt-opt { text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel); color: var(--text); cursor: pointer; font: inherit; }
.mt-opt b { font-size: 13px; font-weight: 600; }
.mt-opt small { font-size: 12px; color: var(--text2); line-height: 1.4; }
.mt-opt:hover { border-color: var(--border2); }
.mt-opt.on { border-color: var(--text); box-shadow: 0 0 0 1px var(--text) inset; }
.mt-consent { padding: 12px; border-radius: 12px; background: var(--hover); font-size: 12.5px; line-height: 1.5; color: var(--text2); }
.mt-consent b { color: var(--text); font-size: 13px; }
.mt-consent p { margin: 4px 0; }
.mt-check { display: flex; gap: 8px; align-items: flex-start; margin-top: 8px; color: var(--text); font-weight: 500; cursor: pointer; }
.mt-check input { margin-top: 3px; accent-color: var(--text); }
.mt-err { padding: 10px 12px; border-radius: 10px; background: var(--bad-soft); color: var(--bad); font-size: 12.5px; line-height: 1.45; }
.mt-go { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border-radius: 12px; border: none; background: var(--text); color: var(--panel); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.mt-go svg { width: 16px; height: 16px; }
.mt-go:disabled { opacity: .45; cursor: not-allowed; }
.mt-sm { height: 32px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--border); background: var(--panel); color: var(--text); font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; }
.mt-sm:hover:not(:disabled) { background: var(--hover); }
.mt-sm:disabled { opacity: .5; cursor: default; }
.mt-del { color: var(--bad); }
.mt-new { align-self: center; border: none; color: var(--text2); }
.mt-past { display: flex; flex-direction: column; gap: 6px; }
.mt-prow { text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--border); background: transparent; color: var(--text); cursor: pointer; font: inherit; }
.mt-prow b { font-size: 13px; font-weight: 600; }
.mt-prow small { font-size: 11.5px; color: var(--text3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-prow:hover { background: var(--hover); }

.mt-say { padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); font-size: 13px; line-height: 1.45; color: var(--text); display: flex; flex-direction: column; gap: 3px; }
.mt-say-k { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-text); }
.mt-say-k svg { width: 11px; height: 11px; }
.mt-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 10px; background: var(--hover); }
.mt-tabs button { flex: 1; height: 28px; border: none; border-radius: 8px; background: transparent; color: var(--text2); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.mt-tabs button.on { background: var(--panel); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.mt-pane { flex: 1; min-height: 120px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.5; }
.mt-pane.mt-full { flex: none; max-height: 340px; padding: 10px; border: 1px solid var(--border); border-radius: 12px; }
.mt-line { display: grid; grid-template-columns: 44px 1fr; gap: 8px; }
.mt-line.interim { color: var(--text3); }
.mt-sp { font-size: 11px; font-weight: 700; color: var(--text3); padding-top: 2px; text-transform: uppercase; letter-spacing: .03em; }
.mt-line.you .mt-sp { color: var(--accent-text); }
.mt-hint { margin: 10px 0; font-size: 12.5px; color: var(--text3); text-align: center; line-height: 1.5; }
.mt-sum { margin: 0; font-size: 13.5px; line-height: 1.55; }
.mt-nh { margin-top: 4px; font-size: 11px; font-weight: 700; color: var(--text3); text-transform: uppercase; letter-spacing: .04em; }
.mt-body ul { margin: 2px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.45; }
.mt-acts { list-style: none; padding-left: 0 !important; }
.mt-acts li { display: flex; gap: 8px; align-items: flex-start; justify-content: space-between; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--border); }
.mt-acts small { color: var(--text3); }
.mt-chip { flex-shrink: 0; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--border2); background: var(--panel); color: var(--text); font: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.mt-chip:hover { background: var(--hover); }

.mt-ask { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--border); padding-top: 10px; }
.mt-ans { font-size: 12.5px; line-height: 1.45; color: var(--text2); }
.mt-ans b { color: var(--text); margin-right: 4px; }
.mt-askf { display: flex; gap: 6px; align-items: center; }
.mt-askf select { height: 34px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit; font-size: 12.5px; padding: 0 6px; }
.mt-askf input { flex: 1; min-width: 0; height: 34px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font: inherit; font-size: 13px; }
.mt-askf input:focus { outline: none; border-color: var(--accent); }
.mt-askf button { width: 34px; height: 34px; border-radius: 9px; border: none; background: var(--text); color: var(--panel); font-size: 15px; font-weight: 700; cursor: pointer; }
.mt-dots { display: inline-flex; gap: 3px; }
.mt-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--text3); animation: mtPulse 1s infinite; }
.mt-dots i:nth-child(2) { animation-delay: .15s; } .mt-dots i:nth-child(3) { animation-delay: .3s; }
.mt-f { display: flex; gap: 8px; justify-content: space-between; align-items: center; }
.mt-stop { height: 34px; padding: 0 14px; border-radius: 10px; border: none; background: var(--bad); color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.mt-stop:disabled { opacity: .6; }
.mt-done-h { display: flex; gap: 10px; align-items: center; font-size: 13.5px; font-weight: 600; }
.mt-done-h svg { width: 18px; height: 18px; flex-shrink: 0; }
.mt-next { display: flex; flex-wrap: wrap; gap: 6px; }
.mt-next .mt-go { width: 100%; }

/* The welcome agent's floating pill steps aside while the meeting column is open; the column has its own ask box. */
body.mt-on .gr { display: none !important; }

/* Top bar button */
.mt-top svg { width: 13px; height: 13px; }
/* Mid-call with the column hidden, the top bar button shows the call is live. */
.mt-top i { display: none; width: 7px; height: 7px; border-radius: 50%; background: var(--bad); animation: mtPulse 1.6s ease-in-out infinite; }
.mt-top.mt-top-live { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 35%, var(--border)); }
.mt-top.mt-top-live i { display: inline-block; }

/* Phones: a sheet along the bottom; the page scrolls clear of it. */
@media (max-width: 760px) {
  .mt { top: auto; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); width: auto; height: min(62vh, 560px); border-radius: 18px; animation-name: mtUp; }
  @keyframes mtUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  body.mt-on .app { padding-bottom: calc(min(62vh, 560px) + 16px) !important; }
  .mt-top span { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mt, .mt-mark.on svg, .mt-rec i, .mt-top i, .mt-dots i { animation: none !important; } }
