/* ZAJEL_MEET_v1 — meeting screens (shared by the app and the guest web page). Every class starts with mt- so nothing
   here touches the rest of the app. Setup, join and waiting follow the phone's light or dark setting; the meeting itself
   is always dark. Works from a 320px phone to a desktop window. */
.mt{--mt-bg:#F4F2EE;--mt-card:#fff;--mt-ink:#1B2430;--mt-mut:#5b6570;--mt-line:#e6e3dc;--mt-brand:#0F6E56;--mt-soft:#E7F4EE;--mt-red:#D93A3A;--mt-link:#1d4d8c;--mt-in:#9aa3ad;
  position:fixed;inset:0;z-index:60;background:var(--mt-bg);color:var(--mt-ink);font:16px/1.4 system-ui,-apple-system,"Segoe UI","Noto Sans",Arial,sans-serif;display:flex;flex-direction:column;overflow:hidden;-webkit-tap-highlight-color:transparent}
@media (prefers-color-scheme:dark){.mt{--mt-bg:#141413;--mt-card:#1f1f1d;--mt-ink:#f0efe9;--mt-mut:#b4b2a9;--mt-line:#32322f;--mt-brand:#1D9E75;--mt-soft:#0b3b30;--mt-link:#8ab4f8;--mt-in:#6b6a64}}
.mt *{box-sizing:border-box}:where(.mt) :where(button,input,select){font:inherit}.mt button{cursor:pointer}.mt [hidden]{display:none!important}
.mt-box{flex:1;min-height:0;display:flex;flex-direction:column}
.mt-top{background:var(--mt-card);border-bottom:1px solid var(--mt-line);padding:calc(env(safe-area-inset-top,0px) + 14px) 18px 14px;display:flex;align-items:flex-start;gap:12px}
.mt-top .mt-grow{min-width:0}.mt-top h1{margin:0;font-size:26px;line-height:1.15;font-weight:700;overflow-wrap:anywhere}.mt-sub{font-size:14.5px;color:var(--mt-mut);margin-top:2px}
.mt-x{flex:none;width:40px;height:40px;border-radius:20px;border:0;background:var(--mt-bg);color:var(--mt-ink);font-size:20px;line-height:1}
.mt-pad{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:16px 16px calc(env(safe-area-inset-bottom,0px) + 16px)}
.mt-col{width:100%;max-width:560px;margin:0 auto;display:flex;flex-direction:column;gap:12px;min-height:100%}
.mt-card{background:var(--mt-card);border:1px solid var(--mt-line);border-radius:16px;padding:14px}
.mt-btn{min-height:52px;border-radius:14px;border:0;background:var(--mt-brand);color:#fff;font-size:17px;font-weight:700;width:100%;padding:8px 14px}
.mt-btn.o{background:var(--mt-card);color:var(--mt-brand);border:1.5px solid var(--mt-brand)}.mt-btn.red{background:var(--mt-red)}.mt-btn:disabled{opacity:.5}
.mt-btn.sm{min-height:44px;font-size:15.5px}
.mt-btn.q{background:transparent;color:var(--mt-brand);min-height:44px;font-size:15.5px;font-weight:600;margin-top:-6px}/* ZAJEL_MEETMIC_v1: the quieter way in, "… without microphone · listen only" */
.mt-row{display:flex;align-items:center;gap:12px}.mt-row+.mt-row{margin-top:12px}.mt-grow{flex:1;min-width:0}
.mt-nm{font-size:17px;font-weight:600;overflow-wrap:anywhere}.mt-s{font-size:14px;color:var(--mt-mut)}.mt-lab{font-size:14px;color:var(--mt-mut);display:block;margin-bottom:6px}
.mt-code{font:700 30px/1.1 ui-monospace,Menlo,Consolas,monospace;letter-spacing:4px;text-align:center;padding:10px 0;color:var(--mt-brand);direction:ltr}
.mt-code.off{font-family:inherit;font-size:16px;font-weight:600;line-height:1.3;letter-spacing:0;color:var(--mt-mut);padding:12px 0}
.mt-link{font-size:14.5px;background:var(--mt-bg);border:0;border-radius:10px;padding:10px 12px;word-break:break-all;color:var(--mt-link);width:100%;text-align:start;direction:ltr}
.mt-in{height:50px;border:1.5px solid var(--mt-in);border-radius:12px;padding:0 14px;font-size:18px;width:100%;background:var(--mt-card);color:var(--mt-ink)}
.mt-in:focus{outline:2px solid var(--mt-brand);outline-offset:1px}
.mt-sel{padding:0 10px;font-size:16.5px;text-overflow:ellipsis}/* ZAJEL_MEETMIC_v1: the Microphone picker */
.mt-sw{flex:none;width:52px;height:30px;border-radius:15px;border:0;background:#c8cdd3;position:relative;padding:0}
.mt-sw:after{content:"";position:absolute;top:3px;inset-inline-start:3px;width:24px;height:24px;border-radius:12px;background:#fff;transition:inset-inline-start .15s}
.mt-sw[aria-checked="true"]{background:var(--mt-brand)}.mt-sw[aria-checked="true"]:after{inset-inline-start:25px}
.mt-av{width:44px;height:44px;border-radius:22px;background:#e3eefb;color:#1d4d8c;display:flex;align-items:center;justify-content:center;font-weight:700;flex:none}
.mt-pill{font-size:13px;font-weight:700;border-radius:12px;padding:5px 11px;background:var(--mt-soft);color:var(--mt-brand);border:0;flex:none}
@media (prefers-color-scheme:dark){.mt-pill{color:#9fe1cb}}
.mt-fill{flex:1}.mt-err{color:var(--mt-red);font-size:14.5px;min-height:20px}
.mt-wait{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;padding:24px 8px}
.mt-wait .mt-nm{font-size:21px}.mt-wait .mt-s{font-size:16px;max-width:34ch}
.mt-spin{width:64px;height:64px;border-radius:32px;border:5px solid var(--mt-line);border-top-color:var(--mt-brand);animation:mt-spin 1s linear infinite}
@keyframes mt-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.mt-spin{animation:none}.mt-sw:after{transition:none}}
.mt-note{position:absolute;left:50%;transform:translateX(-50%);top:calc(env(safe-area-inset-top,0px) + 76px);max-width:min(92%,420px);background:rgba(20,24,28,.82);color:#fff;border-radius:999px;padding:8px 18px;font-size:16px;font-weight:600;text-align:center;z-index:4}
.mt-note[hidden]{display:none}
.mt-note.two{width:max-content;border-radius:18px;font-size:15px;line-height:1.35;padding:9px 18px}.mt-note.two span{display:block}.mt-note.two span:nth-child(2){display:none}.mt-note.two span:last-child{font-size:13.5px;font-weight:400;color:#cfd6dd}/* ZAJEL_GROUPROOM_v1: the two-line note for someone alone in the group room (the " · " between the lines is not shown) */
.mt-toast{position:absolute;left:50%;transform:translateX(-50%);bottom:calc(env(safe-area-inset-bottom,0px) + 118px);max-width:min(92%,420px);background:rgba(20,24,28,.94);color:#fff;border-radius:12px;padding:10px 14px;font-size:15px;text-align:center;z-index:5;pointer-events:none}/* (a short note never takes a tap from what is under it) */
/* ---------- in the meeting (always dark) ---------- */
.mt-meet{background:#101418;color:#fff;flex:1;display:flex;flex-direction:row;min-height:0;position:relative}
.mt-main{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;position:relative}/* ZAJEL_MEETCHAT_SIDE_v1: the meeting itself; a panel can sit beside it */
.mt-mtop{padding:calc(env(safe-area-inset-top,0px) + 12px) 16px 8px;display:flex;align-items:center;gap:10px}
.mt-mtop .mt-grow b{font-size:18px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mt-mtop .mt-grow div{font-size:13px;color:#b8c2cc}
.mt-meet .mt-pill{background:#1f3a31;color:#9fe1cb}
.mt-stage{flex:1;min-height:0;display:flex;flex-direction:column;width:100%;max-width:1100px;margin:0 auto;position:relative}
.mt-grid{flex:1;min-height:0;display:grid;gap:8px;padding:8px 12px;grid-template-columns:1fr 1fr;grid-auto-rows:1fr}
.mt-grid[data-n="1"]{grid-template-columns:1fr}.mt-grid[data-n="2"]{grid-template-columns:1fr}
@media (min-aspect-ratio:1/1){.mt-grid[data-n="2"]{grid-template-columns:1fr 1fr}}
.mt-grid>.zwide{grid-column:1 / -1}/* ZAJEL_MEETVIEW_v1: the odd one out of three takes the whole row (set by layout(), which knows who is shown) */
.mt-tile{border-radius:16px;background:#1c232b;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;min-height:0;min-width:0}
.mt-tile video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#000}.mt-tile.me video{transform:scaleX(-1)}
.mt-tag{position:absolute;inset-inline-start:8px;bottom:8px;max-width:calc(100% - 16px);font-size:13px;background:rgba(0,0,0,.55);padding:3px 8px;border-radius:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* ZAJEL_SIGNALS_v1: who is speaking — a mint ring with a dark keyline (it shows on any video) and a glow that follows
   the voice (--lv 0..1, measured on this phone from sound it already hears); no reordering, no growing tiles */
.mt-tile::before,.mt-tile::after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;z-index:3}
.mt-tile::before{box-shadow:inset 0 0 0 3px #9FE1CB,inset 0 0 0 4px rgba(11,61,49,.9);transition:opacity .6s}
.mt-tile::after{box-shadow:inset 0 0 24px 4px rgba(159,225,203,.5);transition:opacity .12s linear}
.mt-tile.talk::before{opacity:1;transition:opacity .15s}.mt-tile.talk::after{opacity:calc(.25 + var(--lv,0) * .75)}
.mt-tile.talk .mt-tag::before{content:'';display:inline-block;width:10px;height:10px;margin-inline-end:5px;vertical-align:-1px;background:linear-gradient(#9FE1CB,#9FE1CB) 0 60%/2px 40% no-repeat,linear-gradient(#9FE1CB,#9FE1CB) 4px 0/2px 100% no-repeat,linear-gradient(#9FE1CB,#9FE1CB) 8px 40%/2px 60% no-repeat}
@media (prefers-reduced-motion:reduce){.mt-tile::before,.mt-tile::after{transition:none}.mt-tile.talk::after{opacity:.35}}.mt-tile.away{opacity:.55}
.mt-share{flex:1;min-height:0;margin:8px 12px;border-radius:16px;background:#000;position:relative;overflow:hidden;display:flex;flex-direction:column}
.mt-share .mt-bar{background:#1c232b;padding:8px 12px;font-size:13px;color:#cfd6dd}.mt-share video{flex:1;min-height:0;width:100%;object-fit:contain;background:#000}
/* ZAJEL_MEETVIEW_v1: one is big (a shared screen, or the one pinned) and the others are a strip under it */
.mt-stage.one>.mt-grid{flex:none;display:flex;gap:8px;padding:0 12px 8px;overflow-x:auto;height:100px}
.mt-stage.one>.mt-grid>*{flex:1 1 0;min-width:72px;max-width:180px;height:auto;margin:0}.mt-stage.one .mt-grid .mt-big{width:40px;height:40px;font-size:14px}.mt-stage.one .mt-grid .mt-tag{display:none}
.mt-stage.one>.mt-tile.zbig{flex:1;min-height:0;margin:8px 12px}
@media (min-width:700px){.mt-stage.one>.mt-grid{height:118px}.mt-stage.one .mt-grid .mt-tag{display:block}}
.mt-ctl{display:flex;justify-content:center;gap:clamp(6px,3.5vw,28px);padding:12px 10px calc(env(safe-area-inset-bottom,0px) + 14px);background:#161c22}
.mt-cb{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:12px;color:#cfd6dd;background:none;border:0;padding:0;min-width:58px}
.mt-cb i{width:54px;height:54px;border-radius:27px;background:#2a333d;display:flex;align-items:center;justify-content:center;font-size:23px;font-style:normal}
.mt-cb.on i{background:#fff}.mt-cb.red i{background:var(--mt-red)}.mt-cb:disabled{opacity:.4}
.mt-cb.lo i{background:#2a333d;box-shadow:inset 0 0 0 2px #6f7d8a}/* ZAJEL_MEETMIC_v1: listening only — its own look, not the white "muted" one */
.mt-cb:focus-visible i,.mt-btn:focus-visible,.mt-pill:focus-visible,.mt-sw:focus-visible,.mt-x:focus-visible,.mt-link:focus-visible{outline:3px solid #7fc8ff;outline-offset:2px}
.mt-sheet{position:absolute;inset:0;background:var(--mt-bg);color:var(--mt-ink);display:flex;flex-direction:column;z-index:4}
.mt-sheet .mt-mtop{background:#101418;color:#fff}
.mt-h{font-size:14px;font-weight:700;color:var(--mt-mut);margin-bottom:8px}
.mt-acts{display:flex;gap:10px;margin-top:10px}.mt-acts+.mt-row{margin-top:18px}.mt-acts .mt-btn{min-height:44px;font-size:15.5px}
@media (max-width:359px){.mt-cb{min-width:50px}.mt-cb i{width:46px;height:46px;font-size:20px}.mt-code{font-size:25px;letter-spacing:3px}}

/* ZAJEL_MEETMIN_v1 / ZAJEL_CAMFLIP_v1: back to the app (the call goes on) and the camera switch */
.mt-back{flex:none;width:44px;height:44px;margin-inline-start:-8px;border:0;background:transparent;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:22px}
.mt-back:active{background:rgba(255,255,255,.12)}

/* ZAJEL_MEETCHAT_v1: chat during the call */
.mt-pill.hot{background:#1D9E75;color:#fff}
.mt-chat{display:flex;flex-direction:column}
.mt-clist{flex:1;min-height:0;overflow-y:auto;padding:10px 14px;display:flex;flex-direction:column;gap:8px}
.mt-cempty{color:var(--mt-mut);font-size:14px;text-align:center;margin:24px 10px;line-height:1.4}
.mt-cmsg{align-self:flex-start;max-width:82%;background:var(--mt-card);color:var(--mt-ink);border:0.5px solid var(--mt-line);border-radius:14px;padding:7px 11px}
.mt-cmsg.me{align-self:flex-end;background:var(--mt-brand);color:#fff;border-color:transparent}
.mt-cname{font-size:12px;font-weight:700;color:var(--mt-brand);margin-bottom:2px}
.mt-ctxt{font-size:15px;line-height:1.35;white-space:pre-wrap;overflow-wrap:anywhere}
.mt-ctime{font-size:11px;opacity:.65;text-align:end;margin-top:2px}
.mt-crow{display:flex;gap:8px;align-items:flex-end;padding:8px 12px calc(env(safe-area-inset-bottom,0px) + 10px);border-top:0.5px solid var(--mt-line);background:var(--mt-bg)}
.mt-cin{flex:1;min-width:0;resize:none;font:inherit;font-size:16px;padding:10px 12px;border-radius:18px;border:0.5px solid var(--mt-line);background:var(--mt-card);color:var(--mt-ink);max-height:120px}
.mt-crow .mt-btn{width:auto;flex:none;min-height:44px;padding:0 18px;border-radius:22px;font-size:16px}/* ZAJEL_MEETCHAT_SIDE_v1: the box takes the free width, Send is its own size */

/* ZAJEL_MEETCHAT_SIDE_v1: on a computer the chat, People and the microphone list are a panel at the side (inline end: the
   right, the left in Arabic), full height, and the meeting shrinks beside it, still visible and usable. Narrower: the
   whole screen, as before. */
.mt-close{display:flex;align-items:center;gap:2px}
@media (min-width:900px){
  .mt-meet.side>.mt-side{position:relative;inset:auto;z-index:auto;flex:none;width:380px;min-width:0;border-inline-start:1px solid #2a333d}
  .mt-sidep .mt-toast{left:calc(50% - 190px)}[dir=rtl] .mt-sidep .mt-toast{left:calc(50% + 190px)}
}

/* ZAJEL_MEETMIC_v1: ▾ beside Mute (choose the microphone) and the list of microphones */
.mt-micw{position:relative;display:flex}
.mt-mdev{position:absolute;top:28px;inset-inline-start:calc(50% + 8px);width:28px;height:28px;border-radius:14px;border:2px solid #161c22;background:#46525e;color:#fff;font-size:14px;line-height:1;padding:0;display:flex;align-items:center;justify-content:center}
.mt-mdev:focus-visible{outline:3px solid #7fc8ff;outline-offset:1px}
.mt-mics{padding:4px 10px}
.mt-mic{display:flex;align-items:center;gap:12px;width:100%;min-height:54px;padding:10px 4px;border:0;background:none;color:var(--mt-ink);text-align:start;font-size:16.5px;line-height:1.3}
.mt-mic+.mt-mic{border-top:1px solid var(--mt-line)}
.mt-mic i{font-style:normal;font-size:20px;width:28px;text-align:center;flex:none}.mt-mic .mt-grow{overflow-wrap:anywhere}
.mt-mic b{color:var(--mt-brand);font-size:19px;min-width:22px;text-align:center;flex:none}.mt-mic.sel{font-weight:700}
.mt-mic:focus-visible{outline:3px solid #7fc8ff;outline-offset:-3px;border-radius:10px}

/* ZAJEL_MEETHEAR_v1: "🔊 Tap to hear the others" over the meeting, while the browser holds the sound back (Safari, iPhone
   browsers); under the note line when that shows too */
.mt-hear{position:absolute;left:50%;transform:translateX(-50%);top:calc(env(safe-area-inset-top,0px) + 76px);max-width:min(92%,420px);width:max-content;min-height:48px;border:0;border-radius:999px;background:#1D9E75;color:#fff;font-size:16.5px;font-weight:700;line-height:1.3;padding:10px 22px;z-index:4;box-shadow:0 4px 18px rgba(0,0,0,.45)}
.mt-note:not([hidden])~.mt-hear{top:calc(env(safe-area-inset-top,0px) + 128px)}
.mt-hear:focus-visible{outline:3px solid #7fc8ff;outline-offset:2px}

/* ---------- ZAJEL_MEETVIEW_v1: the meeting on a phone, and who fills the screen ---------- */
.mt-mtop .mt-ib{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.mt-ico{display:inline-flex;flex:none}.mt-ico svg{display:block}
.mt-mtop.tight .mt-ib:not(.mt-unp) .mt-pt,.mt-mtop.tighter .mt-unp .mt-pt{display:none}/* the pills crowd the name: Layout and Flip as icons, then Unpin too */
.mt-tile,.mt-share{touch-action:manipulation;cursor:pointer}/* (a double tap is full screen, not a zoom) */
.mt-tile:focus-visible,.mt-share:focus-visible{outline:3px solid #7fc8ff;outline-offset:-3px}
/* Auto: the last person who talked takes the top row, the others share the row under it */
.mt-grid.spk{grid-template-columns:repeat(var(--mt-k,2),1fr)}.mt-grid.spk>.zspk{grid-column:1 / -1;order:-1}
/* Grid: everyone the same size; the odd one out sits in the middle of the last row */
.mt-grid.eq{grid-template-columns:repeat(4,1fr)}.mt-grid.eq>*{grid-column:span 2}.mt-grid.eq>.zwide{grid-column:2 / span 2}
.mt-grid>.mt-share{margin:0;min-width:0}.mt-stage.one .mt-share.zcell .mt-bar{display:none}
/* "⤢ Full screen" on the one that is big: above the tile's speaking ring (3), and under anything that covers the meeting
   (a question such as "End the meeting?", Chat or People on a phone held sideways: .mt-sheet, 4, comes later in the page) */
.mt-fsb{display:none;position:absolute;top:18px;inset-inline-end:22px;z-index:4;align-items:center;gap:6px;min-height:36px;border:0;border-radius:10px;background:rgba(0,0,0,.62);color:#fff;font-size:13px;font-weight:600;padding:6px 10px}
.mt-stage.one:not(.fs)>.mt-fsb{display:flex}.mt-stage.ones>.mt-fsb{top:52px}
/* full screen: the stage (the browser's full screen, or covering the screen on an iPhone) shows only that one */
.mt-stage.fs{background:#000}
.mt-stage.fsx{position:fixed;inset:0;z-index:80;max-width:none;width:auto;height:auto;margin:0}
.mt-stage:fullscreen{max-width:none;width:100%;height:100%;margin:0}
.mt-stage:-webkit-full-screen{max-width:none;width:100%;height:100%;margin:0}
.mt-stage.fs .mt-tile.zfs,.mt-stage.fs .mt-share.zfs{position:absolute;inset:0;z-index:6;margin:0;border-radius:0;width:auto;height:auto;max-width:none;min-width:0;display:flex}.mt-stage.fs .mt-share.zfs{background:#000}
.mt-stage.fs .mt-tile.zfs video,.mt-stage.fs .mt-share.zfs video{object-fit:contain}
.mt-stage.fs .mt-tile.zfs .mt-tag{display:block;bottom:calc(env(safe-area-inset-bottom,0px) + 14px);inset-inline-start:calc(env(safe-area-inset-left,0px) + 14px)}.mt-stage.fs .mt-share.zfs .mt-bar{display:block}
.mt-fsx{display:none;position:absolute;z-index:8;top:calc(env(safe-area-inset-top,0px) + 12px);inset-inline-end:calc(env(safe-area-inset-right,0px) + 12px);align-items:center;gap:6px;min-height:44px;border:0;border-radius:22px;background:rgba(40,48,56,.86);color:#fff;font-size:14.5px;font-weight:600;padding:8px 14px}
.mt-stage.fs>.mt-fsx{display:flex}
/* the host in full screen, while someone waits to join: the words of the top line's pill over the picture (a tap leaves full screen and opens People) */
.mt-knw{display:none;position:absolute;z-index:8;left:12px;right:12px;top:calc(env(safe-area-inset-top,0px) + 64px);justify-content:center;pointer-events:none}
.mt-stage.fs>.mt-knw{display:flex}
.mt-kn{pointer-events:auto;max-width:100%;min-height:44px;border:0;border-radius:22px;background:#0F6E56;color:#fff;font-size:14.5px;font-weight:700;line-height:1.3;padding:8px 16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-shadow:0 4px 18px rgba(0,0,0,.45)}
.mt-kn:focus-visible{outline:3px solid #7fc8ff;outline-offset:2px}
/* a new chat message while the chat is closed: a bubble over the picture for 4 seconds */
.mt-bubw{position:absolute;left:12px;right:12px;bottom:10px;z-index:7;display:flex;justify-content:center;pointer-events:none}
.mt-stage.one:not(.fs)>.mt-bubw{bottom:108px}@media (min-width:700px){.mt-stage.one:not(.fs)>.mt-bubw{bottom:126px}}
.mt-bub{pointer-events:auto;width:100%;max-width:440px;text-align:start;background:#fff;color:#1b1b1a;border:0;border-radius:14px;padding:9px 12px;box-shadow:0 6px 20px rgba(0,0,0,.35);font-size:14.5px;line-height:1.35}
.mt-bub b{display:block;color:#185FA5;font-size:12.5px}.mt-bub span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.mt-bub:focus-visible{outline:3px solid #7fc8ff;outline-offset:2px}
/* the small menu of a tile, and the Layout sheet */
.mt-menub{position:absolute;inset:0;z-index:9;background:rgba(0,0,0,.4)}
.mt-menu{position:absolute;z-index:10;min-width:230px;max-width:calc(100% - 16px);background:#fff;color:#1b1b1a;border-radius:14px;box-shadow:0 8px 28px rgba(0,0,0,.4);overflow:hidden}
.mt-mi{display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:8px 16px;border:0;border-bottom:1px solid #eceae4;background:#fff;color:#1b1b1a;font-size:15.5px;text-align:start;line-height:1.3}
.mt-mi:last-child{border-bottom:0}.mt-mi .mt-ico{color:#0F6E56}.mt-mi.q,.mt-mi.q .mt-ico{color:#5F5E5A}.mt-mi span:last-child{overflow-wrap:anywhere}
.mt-mi:focus-visible{outline:3px solid #1d6fd1;outline-offset:-3px}
.mt-lsheet{position:absolute;left:0;right:0;bottom:0;z-index:10;max-width:520px;margin:0 auto;background:#1b2229;color:#f1f0ea;border-radius:20px 20px 0 0;box-shadow:0 -8px 30px rgba(0,0,0,.35);padding-bottom:calc(env(safe-area-inset-bottom,0px) + 18px)}
.mt-lhd{display:flex;align-items:flex-start;gap:10px;padding:2px 18px 0}.mt-lhd b{font-size:17px}.mt-lhd .mt-s{font-size:13px;color:#a9b0b6;margin-top:2px}
.mt-lx{flex:none;width:36px;height:36px;border-radius:18px;border:0;background:rgba(255,255,255,.12);color:#fff;font-size:16px;line-height:1}
.mt-seg{display:flex;gap:3px;margin:14px 18px 10px;padding:3px;border-radius:12px;background:rgba(255,255,255,.08)}
.mt-seg button{flex:1;min-width:0;min-height:40px;border:0;border-radius:9px;background:transparent;color:#a9b0b6;font-size:14px}.mt-seg button[aria-checked="true"]{background:#fff;color:#1b1b1a;font-weight:700}
.mt-lhelp{padding:0 18px;font-size:13.5px;line-height:1.45;color:#a9b0b6}.mt-lhelp b{color:#f1f0ea}
.mt-lrow{display:flex;align-items:center;gap:10px;padding:14px 18px 0;font-size:15px}
.mt-lx:focus-visible,.mt-seg button:focus-visible{outline:3px solid #7fc8ff;outline-offset:2px}
/* the handle of a sheet (a phone's half sheet, the Layout sheet) */
.mt-handle{display:none;flex:none;position:relative;height:24px;touch-action:none;cursor:grab}
.mt-handle::before{content:'';position:absolute;left:50%;bottom:7px;width:40px;height:5px;margin-left:-20px;border-radius:3px;background:#c9c8c1}
.mt-lsheet .mt-handle{display:block;cursor:pointer}.mt-lsheet .mt-handle::before{background:#4a545e}
.mt-handle:focus-visible{outline:3px solid #7fc8ff;outline-offset:-3px}
@media (prefers-color-scheme:dark){.mt-handle::before{background:#5a5955}}
/* below the 900 px panel rule: the chat, People and the microphones are a sheet over the lower half; the meeting, with
   its buttons, keeps the upper half. Full height when dragged up. A short screen (a phone held sideways): all of it, as before. */
@media (max-width:899.98px) and (min-height:500px){
  .mt-meet.side{flex-direction:column}
  .mt-meet.side>.mt-side{position:relative;inset:auto;flex:none;height:56%;overflow:hidden;border-radius:20px 20px 0 0;box-shadow:0 -8px 30px rgba(0,0,0,.35);z-index:5;transition:height .18s ease-out}
  .mt-meet.side.full>.mt-side{height:100%;border-radius:0}.mt-meet.side>.mt-side.drag{transition:none}
  .mt-meet.side.full>.mt-main{overflow:hidden}
  .mt-meet.side>.mt-main .mt-ctl{padding-bottom:10px}
  .mt-meet.side>.mt-side>.mt-handle{display:block;background:var(--mt-bg)}
  .mt-meet.side.full>.mt-side>.mt-handle{height:calc(env(safe-area-inset-top,0px) + 24px)}
  .mt-meet.side>.mt-side>.mt-mtop{background:var(--mt-bg);color:var(--mt-ink);padding:0 16px 10px;border-bottom:1px solid var(--mt-line);touch-action:none}
  .mt-meet.side>.mt-side>.mt-mtop .mt-grow div{color:var(--mt-mut)}
  .mt-meet .mt-side .mt-close{background:var(--mt-line);color:var(--mt-ink)}
  .mt-sidep .mt-toast{bottom:calc(56% + 112px)}.mt-sidep.mt-sfull .mt-toast{bottom:calc(env(safe-area-inset-bottom,0px) + 84px)}/* above the buttons, which sit right on top of the half sheet (about 100 px of them) */
}
@media (prefers-reduced-motion:reduce){.mt-meet.side>.mt-side{transition:none}}

/* ---------- ZAJEL_MEETJOIN_v1: the one-tap join screen, the invite sheet, the Sound button ---------- */
.mt-jpad{padding-top:calc(env(safe-area-inset-top,0px) + 34px)}
.mt-jhead{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;padding:4px 8px 6px}
.mt-jic{width:64px;height:64px;border-radius:20px;background:var(--mt-soft);color:var(--mt-brand);display:flex;align-items:center;justify-content:center;font-size:30px}
.mt-kick{font-size:13px;font-weight:600;color:var(--mt-mut);text-transform:uppercase;letter-spacing:.3px}
.mt-jhead h1{margin:0;font-size:26px;line-height:1.15;overflow-wrap:anywhere}.mt-host{font-size:15px;color:var(--mt-mut);overflow-wrap:anywhere}
.mt-jx{position:absolute;top:-26px;inset-inline-end:-4px}
.mt-as{display:flex;align-items:center;gap:12px}.mt-asn{display:block;font-size:17px;overflow-wrap:anywhere}
.mt-as .mt-in{margin-top:4px;height:44px;font-size:17px}
.mt-chg{flex:none;min-height:44px;border:0;background:none;color:var(--mt-brand);font-size:15px;font-weight:600;padding:8px 4px}
.mt-chg:focus-visible{outline:3px solid #7fc8ff;outline-offset:2px;border-radius:8px}
.mt-jpad .mt-col>.mt-btn,.mt-col>.mt-btn.q{text-wrap:balance}
.mt-agree{margin:2px 4px 0;font-size:13.5px;line-height:1.45;color:var(--mt-mut);text-align:center}
.mt-ih{font-size:15.5px;font-weight:700}.mt-id{margin:4px 0 10px}
.mt-prow{display:flex;gap:8px}.mt-prow .mt-in{flex:1;min-width:0;height:44px;font-size:16px}.mt-prow .mt-btn{width:auto;flex:none;padding:0 20px}
.mt-inv .mt-row .mt-s{margin-top:3px}
/* the Sound button: a speaker drawn in the button's colour (white on dark; dark on the white "off" look, like a muted microphone) */
.mt-cb i{color:#fff}.mt-cb.on i{color:#1B2430}.mt-cb i svg{display:block}
/* six buttons on a small phone: they share the width evenly, a little smaller, and a long word may take two lines */
.mt-ctl.tight{gap:4px;padding-inline:6px}
.mt-ctl.tight>*{flex:1 1 0;min-width:0;max-width:76px}.mt-ctl.tight .mt-cb{min-width:0}.mt-ctl.tight .mt-micw>.mt-cb{flex:1 1 auto}
.mt-ctl.tight .mt-cb i{width:48px;height:48px;font-size:21px}.mt-ctl.tight .mt-cb span{font-size:11px;line-height:1.15;text-align:center;overflow-wrap:anywhere}
@media (max-width:359px){.mt-ctl.tight .mt-cb i{width:44px;height:44px;font-size:19px}.mt-ctl.tight .mt-cb i svg{width:22px;height:22px}}
@media (max-width:359px){.mt-ctl.tight .mt-mdev{top:20px;width:24px;height:24px;font-size:11px}.mt-ctl.tight .mt-cb span{font-size:10px;overflow-wrap:normal;word-break:normal;-webkit-hyphens:none;hyphens:none}}/* Keep toolbar labels wrapped at spaces on small phones. */
/* ZAJEL_CALLHEAL_v1 (6.59): a toast with a button (Retry), the Sound check line, the small video box of a video call */
.mt-toast.mt-tact{pointer-events:auto;display:flex;align-items:center;gap:12px;text-align:start}
.mt-toast{width:max-content}.mt-toast.mt-tact>span{min-width:0}/* (6.59 review) as wide as its words, up to the full width, not squeezed to half the screen */
.mt-tbtn{flex:none;min-height:36px;padding:6px 14px;border-radius:18px;border:0;background:#fff;color:#0F6E56;font-weight:700}
.mt-sq{position:absolute;left:50%;transform:translateX(-50%);top:calc(env(safe-area-inset-top,0px) + 76px);max-width:min(92%,360px);width:max-content;background:rgba(20,24,28,.86);color:#fff;border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:8px 14px;font-size:14px;z-index:4}
.mt-sq b{display:block;font-size:11px;letter-spacing:.5px;text-transform:uppercase;color:#9FE1CB;margin-bottom:4px}
.mt-sql{display:flex;align-items:center;gap:8px;padding:2px 0}.mt-sql i{width:9px;height:9px;border-radius:50%;background:#EF9F27;flex:none}.mt-sql.bad i{background:#E24B4A}
.mt-sql em{font-style:normal;font-weight:600;margin-inline-start:auto;padding-inline-start:12px;color:#F5C27A}.mt-sql.bad em{color:#ffb4b3}
.mt-note:not([hidden])~.mt-sq{top:calc(env(safe-area-inset-top,0px) + 128px)}
.mt-float{position:fixed;z-index:61;width:112px;height:160px;border-radius:16px;overflow:hidden;background:#1B2430;color:#fff;box-shadow:0 8px 22px rgba(0,0,0,.35);border:2px solid #fff;touch-action:none;cursor:pointer;user-select:none;-webkit-user-select:none;transition:top .18s,bottom .18s,left .18s,right .18s;font:14px/1.3 system-ui,-apple-system,"Segoe UI","Noto Sans",Arial,sans-serif}
.mt-float.drag{transition:none;opacity:.92}
.mt-float [hidden]{display:none!important}
.mt-float video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mt-fav{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:700;background:radial-gradient(120% 80% at 50% 0%,#0F6E56,#0b3d31 60%,#081f1a)}
.mt-ftm{position:absolute;top:6px;inset-inline-start:6px;background:rgba(0,0,0,.45);color:#fff;font-size:11px;font-weight:700;padding:1px 6px;border-radius:8px;font-variant-numeric:tabular-nums;display:flex;align-items:center;gap:4px}
.mt-ftm:before{content:"";width:6px;height:6px;border-radius:50%;background:#7CF0C6}
.mt-fctl{position:absolute;bottom:6px;left:0;right:0;display:flex;justify-content:center;gap:8px}
.mt-fctl button{width:34px;height:34px;border-radius:50%;border:0;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer}
.mt-fmu{background:rgba(255,255,255,.88);color:#1B2430}.mt-fmu.off{background:#1B2430;color:#fff;box-shadow:inset 0 0 0 2px #fff}
.mt-fhu{background:#E24B4A;color:#fff}
@media (prefers-color-scheme:dark){.mt-float{border-color:#32322f}}
/* ZAJEL_PIP_v1 (Android system picture-in-picture): the small box fills the floating window, without its own buttons (the window has Mute / Hang up) */
html.zajel-pip .mt-float{inset:0!important;width:auto;height:auto;border:0;border-radius:0;box-shadow:none;z-index:2147483000;transition:none}
html.zajel-pip .mt-fctl{display:none}
/* ZAJEL_SCREENSHARE_v1 (6.61): the red "You are sharing your screen · Stop" bar, the line over a shared screen, Share off on an iPhone */
.mt-sbar{display:flex;align-items:center;gap:10px;margin:6px 12px 0;padding:8px 8px 8px 14px;border-radius:14px;background:var(--mt-red,#E24B4A);color:#fff;font-size:15px;font-weight:600}
.mt-sbar[hidden]{display:none}.mt-sbar span{flex:1;min-width:0}.mt-sdot{width:10px;height:10px;border-radius:5px;background:#fff;flex:none;animation:mt-sdot 1.4s ease-in-out infinite}
@keyframes mt-sdot{50%{opacity:.35}}@media (prefers-reduced-motion:reduce){.mt-sdot{animation:none}}
.mt-sbarb{flex:none;min-height:40px;min-width:64px;border:0;border-radius:999px;background:#fff;color:#A32D2D;font-weight:700;font-size:15px;padding:0 16px}
.mt-sbarb:focus-visible{outline:3px solid #7fc8ff;outline-offset:2px}
.mt-snote{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);max-width:86%;background:rgba(20,24,28,.86);color:#fff;border-radius:14px;padding:10px 16px;font-size:15px;line-height:1.35;text-align:center;pointer-events:none}
.mt-snote[hidden]{display:none}
.mt-cb.dis{opacity:.4}
.mt-mi.red,.mt-mi.red .mt-ico{color:#A32D2D}
.mt-sask .mt-sl{display:block;margin-top:6px}.mt-sask .mt-sdnd{color:#5F5E5A;font-size:14px}
@media (prefers-color-scheme:dark){.mt-mi.red,.mt-mi.red .mt-ico{color:#F09595}.mt-sask .mt-sdnd{color:#B4B2A9}}

/* Voice levels stay local. Only a speaking tile with no video animates its wave. */
.voice-wave{width:min(68%,180px);height:54px;position:relative;flex:none;color:#a5adb9}
.voice-wave[hidden]{display:none}
.voice-wave::before,.voice-wave::after{content:'';position:absolute;inset:0;background:currentColor}
.voice-wave::before{top:calc(50% - 1px);bottom:calc(50% - 1px);border-radius:2px}
.voice-wave::after{display:none;clip-path:polygon(0 50%,7% 46%,13% 55%,20% 36%,27% 69%,35% 22%,43% 77%,50% 0,57% 99%,65% 28%,73% 68%,80% 37%,87% 55%,94% 46%,100% 50%,94% 52%,87% 60%,80% 44%,73% 74%,65% 36%,57% 100%,50% 10%,43% 85%,35% 31%,27% 76%,20% 43%,13% 61%,7% 51%);transform:scaleY(calc(.22 + var(--lv,0) * .78))}
.talk>.voice-wave,.spk>.voice-wave{color:#9fe1cb;filter:drop-shadow(0 0 6px #5dcaa5)}
.talk>.voice-wave::after,.spk>.voice-wave::after{display:block;animation:voice-wave .46s ease-in-out infinite alternate}
@keyframes voice-wave{to{transform:scaleY(calc(.16 + var(--lv,0) * .49))}}
.mt-tag{font-size:14px}
@media(prefers-reduced-motion:reduce){.talk>.voice-wave::after,.spk>.voice-wave::after{display:none}}
.mt-share-weak{padding:4px 14px 0;color:#ffd499;font-size:14px}
.mt-share-landscape .mt-share{touch-action:none}
.mt-share-immersive>.mt-mtop,.mt-share-immersive>.mt-ctl,.mt-share-immersive .mt-tile,.mt-share-immersive .mt-stage.one:not(.fs)>.mt-fsb,.mt-share-immersive .mt-share .mt-bar{display:none}
.mt-share-immersive .mt-share{position:absolute;inset:0;display:flex!important;margin:0!important;border-radius:0}
