/* Ìzí Meeting: its own look, built on the Ìzí Studio proportions (dark canvas, rounded containers, line icons in tinted tiles, mono labels, blue/orange/red accents).
   Used only by /izi-meeting, never by Connect CMS. Tokens live on .iz-app AND body.iz-mode so dialogs (which Connect CMS appends to <body>) look the same. */
.iz-app, body.iz-mode { --izi-font: -apple-system,BlinkMacSystemFont,"SF Pro",system-ui,sans-serif; --izi-mono: "SF Mono",ui-monospace,Menlo,monospace; --izi-blue: #0A84FF; --izi-orange: #FF9F0A; --izi-red: #FF453A; --izi-green: #30D158; --izi-brown: #b9763a; --izi-grey: #9E9EA8;
  --izi-bg: #0A0A0D; --izi-wrap: #0A0A0D; --izi-card: #1C1C20; --izi-panel: #292A2E; --izi-line: rgb(255 255 255 / .10); --izi-ink: #F5F5F7; --izi-mute: #9E9EA8; --izi-dark: #3D3D45; --izi-onink: #fff;
  --izi-shadow: 0 10px 30px rgba(0, 0, 0, .45); --izi-r: 24px; --izi-r2: 16px; --izi-r3: 12px; color-scheme: dark; }
.iz-app[data-izi='light'], body.iz-mode[data-izi='light'] { --izi-bg: #F8F9FB; --izi-wrap: #F8F9FB; --izi-card: #ffffff; --izi-panel: #F4F4F6; --izi-line: rgb(0 0 0 / .08); --izi-ink: #121217; --izi-mute: #6E6E75; --izi-dark: #121214; --izi-onink: #fff; --izi-shadow: 0 8px 26px rgba(20, 24, 50, .09); color-scheme: light; }
.iz-app { position: fixed; inset: 0; display: flex; flex-direction: column; background: var(--izi-bg); color: var(--izi-ink); font-family: var(--izi-font); overflow: hidden; }
.iz-app * { box-sizing: border-box; }
.iz-app button { font: inherit; color: inherit; cursor: pointer; }
.iz-app button:focus-visible, .iz-app a:focus-visible, .iz-app input:focus-visible, .iz-app select:focus-visible, body.iz-mode dialog.dialog button:focus-visible { outline: 3px solid var(--izi-blue); outline-offset: 2px; }
.iz-ic { flex: none; display: block; }
.iz-mono { font: 600 10px var(--izi-mono); letter-spacing:.06em; text-transform: uppercase; color: var(--izi-mute); }

/* ---------- header ---------- */
.iz-head { display: flex; align-items: center; gap: .7rem; padding: .75rem 1.5rem; flex: none; }
.iz-brand { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.iz-mark { width: 2.4rem; height: 2.4rem; border-radius: 12px; background: var(--izi-blue); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; flex: none; }
.iz-brand h1 { margin: 0; font-size: 15px; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; }
.iz-brand small { display: block; margin-top: .1rem; }
.iz-pill { font: 700 10px var(--izi-mono); letter-spacing:.06em; text-transform: uppercase; border-radius: 999px; padding: .32rem .7rem; background: rgba(59, 130, 255, .16); color: var(--izi-blue); white-space: nowrap; }
.iz-pill.live { background: rgba(240, 80, 60, .16); color: var(--izi-red); }
.iz-pill.ok { background: rgba(53, 196, 107, .16); color: var(--izi-green); }
.iz-pill.grey { background: var(--izi-panel); color: var(--izi-mute); }
.iz-spacer { flex: 1; }
.iz-btn { border: 0; border-radius: 999px; padding: .62rem 1.2rem; font-weight: 600; font-size: 14px; background: var(--izi-panel); color: var(--izi-ink); display: inline-flex; align-items: center; justify-content: center; gap: .45rem; line-height: 1.2; }
.iz-btn.primary { background: var(--izi-blue); color: #fff; }
.iz-btn.orange { background: var(--izi-orange); color: #1a0f03; }
.iz-btn.danger { background: var(--izi-red); color: #fff; }
.iz-btn.dark { background: var(--izi-dark); color: var(--izi-onink); }
.iz-btn:disabled { opacity: .5; cursor: default; }
.iz-round { width: 2.5rem; height: 2.5rem; padding: 0; border-radius: 50%; border: 1px solid var(--izi-line); background: var(--izi-card); display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* ---------- the cards, the way Ìzí Studio lays them out ---------- */
.iz-cards { display: flex; gap: .7rem; padding: .9rem; margin: 0 1.5rem .9rem; overflow-x: auto; flex: none; scrollbar-width: thin; background: var(--izi-wrap); border: 1px solid var(--izi-line); border-radius: var(--izi-r); }
.iz-card-btn { height: auto; flex: 1 1 7.7rem; max-width: 12rem; min-width: 7.7rem; text-align: left; border: 1px solid var(--izi-line); background: var(--izi-card); border-radius: var(--izi-r2); padding: .8rem .85rem .75rem; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .1rem; min-height: 8.2rem; transition: border-color .15s, background .15s; }
.iz-card-btn:hover { border-color: var(--izi-mute); }
.iz-card-btn.on { border-color: var(--izi-blue); box-shadow: 0 0 0 1px var(--izi-blue), 0 8px 22px rgba(59, 130, 255, .18); }
.iz-card-top { display: flex; align-items: flex-start; gap: .4rem; margin-bottom: .55rem; }
.iz-card-ic { width: 2.5rem; height: 2.5rem; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--c, var(--izi-blue)) 16%, transparent); color: var(--c, var(--izi-blue)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c, var(--izi-blue)) 35%, transparent); }
.c-blue { --c: var(--izi-blue); } .c-orange { --c: var(--izi-orange); } .c-red { --c: var(--izi-red); } .c-grey { --c: var(--izi-grey); } .c-brown { --c: var(--izi-brown); } .c-green { --c: var(--izi-green); }
.iz-card-no { margin-left: auto; font: 600 10px var(--izi-mono); letter-spacing:.06em; text-transform: uppercase; color: var(--izi-mute); padding-top: .15rem; }
.iz-card-btn b { font-size: 15px; letter-spacing: -.01em; color: var(--izi-ink); }
.iz-card-btn small { color: var(--izi-mute); font: 600 10px var(--izi-mono); letter-spacing:.06em; text-transform: uppercase; line-height: 1.35; }
.iz-card-foot { display: flex; align-items: center; margin-top: auto; padding-top: .6rem; min-height: 1.9rem; }
.iz-badge { font: 700 10px var(--izi-mono); letter-spacing:.06em; text-transform: uppercase; border-radius: 999px; padding: .22rem .55rem; background: rgba(59, 130, 255, .16); color: var(--izi-blue); }
.iz-badge.live { background: rgba(53, 196, 107, .16); color: var(--izi-green); }
.iz-badge.hot { background: rgba(245, 138, 43, .2); color: var(--izi-orange); }
.iz-badge.rec { background: rgba(240, 80, 60, .18); color: var(--izi-red); }
.iz-badge.grey { background: var(--izi-panel); color: var(--izi-mute); }
.iz-chev { margin-left: auto; width: 1.7rem; height: 1rem; border-radius: 999px; background: var(--izi-panel); position: relative; }
.iz-chev::after { content: ''; position: absolute; top: .15rem; left: .15rem; width: .7rem; height: .7rem; border-radius: 50%; background: var(--izi-mute); transition: transform .18s; }
.iz-card-btn.on .iz-chev { background: var(--izi-blue); } .iz-card-btn.on .iz-chev::after { background: #fff; transform: translateX(.7rem); }

/* ---------- body ---------- */
.iz-body { flex: 1; min-height: 0; display: flex; gap: .9rem; padding: 0 1.5rem 1.2rem; }
.iz-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .8rem; }
.iz-side { width: 24rem; max-width: 40vw; flex: none; background: var(--izi-wrap); border: 1px solid var(--izi-line); border-radius: var(--izi-r); display: flex; flex-direction: column; min-height: 0; }
.iz-side-head { display: flex; align-items: center; padding: 1rem 1.1rem .5rem; gap: .5rem; }
.iz-side-head h2 { margin: 0; font-size: 18px; flex: 1; }
.iz-side-body { padding: .4rem 1.1rem 1.1rem; overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: .8rem; }
.iz-panel { background: var(--izi-wrap); border: 1px solid var(--izi-line); border-radius: var(--izi-r); padding: 1.2rem 1.3rem; }
.iz-panel h2 { margin: 0 0 .7rem; font-size: 18px; letter-spacing: -.02em; display: flex; align-items: center; gap: .65rem; }
.iz-step { width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--izi-blue); color: #fff; font: 700 13px var(--izi-font); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.iz-soft { color: var(--izi-mute); font-size: 14px; line-height: 1.5; margin: 0; }
.iz-note { color: var(--izi-mute); font-size: 12px; line-height: 1.45; margin: .2rem 0 0; }
.iz-row { display: flex; align-items: center; gap: .65rem; background: var(--izi-panel); border-radius: var(--izi-r3); padding: .65rem .8rem; }
.iz-row.bare { background: none; padding: 0; }
.iz-row.col { flex-direction: column; align-items: stretch; gap: .5rem; }
.iz-row b { font-weight: 600; }
.iz-row .grow, .grow { flex: 1; min-width: 0; }
.iz-list { display: flex; flex-direction: column; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.iz-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.iz-chip { border: 1px solid var(--izi-line); background: var(--izi-card); border-radius: 999px; padding: .42rem .9rem; font-weight: 600; font-size: 13px; color: var(--izi-ink); }
.iz-chip.on { background: var(--izi-blue); color: #fff; border-color: var(--izi-blue); }
.iz-field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .75rem; }
.iz-field label, .iz-label { font: 600 10px var(--izi-mono); letter-spacing:.06em; text-transform: uppercase; color: var(--izi-mute); margin: 0; }
.iz-sec { display: flex; flex-direction: column; gap: .5rem; margin: 0 0 1rem; }
.iz-sec:last-child { margin-bottom: 0; }

/* inputs: Connect CMS styles bare inputs, so these rules sit one step above them (in the app and in dialogs) */
:is(.iz-app, body.iz-mode dialog.dialog) input[type='text'], :is(.iz-app, body.iz-mode dialog.dialog) input[type='search'], :is(.iz-app, body.iz-mode dialog.dialog) input[type='datetime-local'], :is(.iz-app, body.iz-mode dialog.dialog) input[type='date'], :is(.iz-app, body.iz-mode dialog.dialog) input[type='number'], :is(.iz-app, body.iz-mode dialog.dialog) select, :is(.iz-app, body.iz-mode dialog.dialog) textarea { min-height: 2.5rem; height: auto; width: 100%; border: 1px solid var(--izi-line); background: var(--izi-card); color: var(--izi-ink); border-radius: var(--izi-r3); padding: .55rem .75rem; font: inherit; font-size: 15px; }
:is(.iz-app, body.iz-mode dialog.dialog) input[type='text']::placeholder, :is(.iz-app, body.iz-mode dialog.dialog) textarea::placeholder { color: var(--izi-mute); }
:is(.iz-app, body.iz-mode dialog.dialog) textarea { min-height: 4rem; }
:is(.iz-app, body.iz-mode dialog.dialog) input[type='radio'] { width: 1.1rem; min-height: 0; height: 1.1rem; accent-color: var(--izi-blue); }
body.iz-mode dialog.dialog { background: var(--izi-wrap); color: var(--izi-ink); border: 1px solid var(--izi-line); border-radius: var(--izi-r); box-shadow: 0 24px 80px rgba(0, 0, 0, .55); padding: 0; max-width: min(64rem, 96vw); }
body.iz-mode dialog.dialog::backdrop { background: rgba(0, 0, 0, .62); }
body.iz-mode dialog.dialog .dialog-head { background: transparent; color: var(--izi-ink); border-bottom: 1px solid var(--izi-line); padding: .9rem 1.2rem; }
body.iz-mode dialog.dialog .dialog-head h2, body.iz-mode dialog.dialog .dialog-head h3 { color: var(--izi-ink); font-size: 18px; margin: 0; }
body.iz-mode dialog.dialog .dialog-body { padding: 1.1rem 1.2rem 1.3rem; color: var(--izi-ink); }
body.iz-mode dialog.dialog h2, body.iz-mode dialog.dialog h3 { color: var(--izi-ink); }
body.iz-mode dialog.dialog button:not(.iz-btn):not(.iz-chip):not(.iz-round):not(.iz-avopt):not(.iz-swatch):not(.iz-toggle) { background: var(--izi-panel); color: var(--izi-ink); border: 0; border-radius: 999px; }
:is(.iz-app, body.iz-mode dialog.dialog) .iz-switch { display: flex; align-items: center; gap: .8rem; padding: .5rem 0; }
:is(.iz-app, body.iz-mode dialog.dialog) .iz-switch > span:first-child { flex: 1; font-weight: 600; font-size: 14px; line-height: 1.35; }
.iz-toggle { position: relative; width: 2.8rem; height: 1.6rem; border-radius: 999px; border: 0; background: var(--izi-line); padding: 0; flex: none; }
.iz-toggle::after { content: ''; position: absolute; top: .2rem; left: .2rem; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); transition: transform .18s; }
.iz-toggle[aria-checked='true'] { background: var(--izi-blue); }
.iz-toggle[aria-checked='true']::after { transform: translateX(1.2rem); }
.iz-range { width: 100%; accent-color: var(--izi-blue); }
.iz-error { color: var(--izi-red); font-weight: 600; min-height: 1.2em; margin: 0; font-size: 14px; }

/* faces: head and shoulders, never inside a circle */
.iz-art { display: block; width: 100%; height: 100%; overflow: visible; }
.iz-face { position: relative; display: block; }
.iz-face img.iz-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 22%; display: block; }
.iz-face video { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; display: block; background: #0c0c10; }
.iz-face.iz-me video.mirror { transform: scaleX(-1); }

/* ---------- the stage ---------- */
.iz-stagewrap { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; background: var(--izi-wrap); border: 1px solid var(--izi-line); border-radius: var(--izi-r); overflow: hidden; }
.iz-stagebar { display: flex; align-items: center; gap: .7rem; padding: .85rem 1.1rem .6rem; flex-wrap: wrap; }
.iz-stagebar h2 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: .6rem; }
.iz-tabs { display: flex; gap: .35rem; flex-wrap: wrap; margin-left: auto; padding: .25rem; background: var(--izi-panel); border-radius: 999px; }
.iz-tabs .iz-chip { border-color: transparent; background: transparent; color: var(--izi-mute); padding: .36rem .85rem; }
.iz-tabs .iz-chip.on { background: var(--izi-blue); color: #fff; }
.iz-stage { position: relative; flex: 1; min-height: 14rem; margin: 0 1.1rem .5rem; border-radius: var(--izi-r2); overflow: hidden; background: var(--izi-card); container-type: size; }
.iz-stage.scene { background: #111; }
.iz-scene-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.iz-seat { position: absolute; transform: translate(-50%, -62%); pointer-events: auto; }
.iz-seat .iz-name { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: -.1rem; font-size: 11px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .8); white-space: nowrap; max-width: 9rem; overflow: hidden; text-overflow: ellipsis; }
.iz-seat.speaking .iz-face { filter: drop-shadow(0 0 10px rgba(245, 138, 43, .95)) drop-shadow(0 0 22px rgba(245, 138, 43, .6)); }
.iz-seat.hand .iz-face::after { content: 'Hand'; position: absolute; right: -8%; top: -12%; font: 700 10px var(--izi-mono); letter-spacing:.06em; text-transform: uppercase; background: var(--izi-orange); color: #1a0f03; border-radius: 999px; padding: .12rem .4rem; }
.iz-seat .iz-face video { border-radius: 10px; }
.iz-feed { position: absolute; background: #0c0c10; border-radius: 4px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; font-weight: 700; }
.iz-feed video { width: 100%; height: 100%; object-fit: contain; background: #0c0c10; }
.iz-feed .iz-feed-note { padding: .4rem; font-size: clamp(.55rem, 1.6cqw, 1.1rem); line-height: 1.25; background: linear-gradient(135deg, #1b2a66, #3a2a7a); width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .3rem; }
.iz-more { position: absolute; right: .8rem; bottom: .6rem; background: rgba(0, 0, 0, .65); color: #fff; border-radius: 999px; padding: .2rem .6rem; font-size: 12px; font-weight: 700; }
.iz-gallery { position: absolute; inset: 0; display: grid; gap: .6rem; padding: .6rem; align-content: center; justify-content: center; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); grid-auto-rows: minmax(0, var(--rowh, 1fr)); }
.iz-gallery.scroll { overflow-y: auto; align-content: start; grid-auto-rows: 13rem; }
.iz-tile { position: relative; border-radius: var(--izi-r2); background: var(--izi-panel); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; min-height: 0; border: 1px solid var(--izi-line); }
.iz-tile .iz-face { width: 100%; height: 100%; }
.iz-tile .iz-face.iz-av { width: 56%; height: 82%; margin: auto auto 0; }
.iz-tile .iz-face.iz-ph { width: 52%; height: 70%; margin: auto; }
.iz-tile .iz-face.iz-cm { width: 100%; height: 100%; }
.iz-tile .iz-face.iz-cm video { border-radius: 0; }
.iz-tile .iz-name { position: absolute; left: .55rem; bottom: .5rem; background: rgba(0, 0, 0, .66); color: #fff; border-radius: 999px; padding: .18rem .65rem; font-size: 12px; font-weight: 600; max-width: 80%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iz-tile .iz-badges { position: absolute; right: .5rem; top: .45rem; display: flex; gap: .25rem; }
.iz-tile .iz-badges span { background: rgba(0, 0, 0, .66); color: #fff; border-radius: 999px; padding: .2rem .35rem; display: inline-flex; align-items: center; }
.iz-tile .iz-badges .hand { background: var(--izi-orange); color: #1a0f03; font: 700 10px var(--izi-mono); letter-spacing:.06em; text-transform: uppercase; padding: .2rem .45rem; }
.iz-tile .iz-badges .muted { background: var(--izi-red); color: #fff; }
.iz-tile.speaking { border-color: var(--izi-orange); box-shadow: 0 0 0 2px var(--izi-orange); }
.iz-tile.share { background: #000; }
.iz-tile.share video { object-fit: contain; border-radius: 0; }
.iz-layout-speaker, .iz-layout-spotlight { position: absolute; inset: 0; display: flex; flex-direction: column; gap: .5rem; padding: .6rem; }
.iz-layout-speaker .big, .iz-layout-spotlight .big { flex: 1; min-height: 0; display: flex; }
.iz-layout-speaker .big .iz-tile, .iz-layout-spotlight .big .iz-tile { flex: 1; }
.iz-strip { display: flex; gap: .5rem; height: 5.6rem; flex: none; overflow-x: auto; }
.iz-strip .iz-tile { width: 8rem; flex: none; }
.iz-crowd { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; align-items: flex-end; height: 7rem; flex: none; overflow: hidden; background: rgba(0, 0, 0, .3); border-radius: 12px; padding: .3rem; }
.iz-crowd .iz-tile { width: 4.2rem; height: 5.6rem; background: transparent; border: 0; }
.iz-crowd .iz-tile .iz-name { display: none; }
.iz-globe-pin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.iz-bubble { display: flex; align-items: center; gap: .15rem; background: rgba(11, 18, 38, .85); border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: .15rem .55rem .15rem .2rem; color: #fff; font-weight: 700; font-size: 13px; }
.iz-bubble .iz-face { width: 1.7rem; height: 1.55rem; margin-right: -.5rem; }
.iz-bubble .iz-face:last-of-type { margin-right: .4rem; }
.iz-globe-label { color: #dfe8ff; font-size: 11px; font-weight: 700; text-shadow: 0 1px 3px #060a18; margin-top: .1rem; white-space: nowrap; }
.iz-churchpin { position: absolute; transform: translate(-50%, -110%); background: linear-gradient(135deg, #24327a, #6b3ab5); color: #fff; border: 1px solid #fff; border-radius: 8px; padding: .25rem .6rem; font-size: 12px; font-weight: 700; text-align: center; }
.iz-arcs { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.iz-caps { position: absolute; left: 6%; right: 6%; bottom: 1rem; background: rgba(0, 0, 0, .8); color: #fff; border-radius: 14px; padding: .6rem 1rem; font-weight: 600; line-height: 1.35; text-align: left; pointer-events: none; }
.iz-caps small { display: block; color: #8fb4ff; font: 700 10px var(--izi-mono); letter-spacing:.06em; text-transform: uppercase; }
.iz-caps.s-small { font-size: 14px; } .iz-caps.s-medium { font-size: 18px; } .iz-caps.s-large { font-size: 24px; } .iz-caps.s-huge { font-size: 30px; }
.iz-caps.p-top { bottom: auto; top: 1rem; }
.iz-caps.l-light { background: rgba(255, 255, 255, .94); color: #111; } .iz-caps.l-light small { color: var(--izi-blue); }
.iz-caps.l-yellow { background: #000; color: #ffe94a; } .iz-caps.l-yellow small { color: #ffe94a; }
.iz-caps.l-none { background: transparent; text-shadow: 0 2px 6px #000, 0 0 2px #000; }
.iz-react { position: absolute; bottom: 4rem; display: flex; flex-direction: column; align-items: center; pointer-events: none; animation: iz-float 3.2s ease-out forwards; z-index: 5; }
.iz-react span { font-size: 30px; }
.iz-react small { font-size: 11px; background: rgba(0, 0, 0, .65); color: #fff; padding: 0 .4rem; border-radius: 999px; }
@keyframes iz-float { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-14rem); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .iz-react { animation: none; opacity: 0; } .iz-toggle::after, .iz-chev::after { transition: none; } }

/* ---------- the bottom bar (desktop) and the quick bar (phones) ---------- */
.iz-bar { display: flex; align-items: center; justify-content: center; gap: .55rem; flex-wrap: wrap; padding: .6rem 1rem .95rem; }
.iz-bb { border: 0; border-radius: 999px; padding: .62rem 1.05rem; font-weight: 600; font-size: 14px; background: var(--izi-panel); color: var(--izi-ink); display: inline-flex; align-items: center; gap: .5rem; position: relative; line-height: 1.2; }
.iz-bb.mini { padding: .62rem .6rem; margin-left: -.4rem; }
.iz-bb.on { background: var(--izi-blue); color: #fff; }
.iz-bb.off { background: var(--izi-red); color: #fff; }
.iz-bb .dot { position: absolute; top: -.3rem; right: -.1rem; background: var(--izi-orange); color: #1a0f03; border-radius: 999px; font: 700 10px var(--izi-mono); padding: .08rem .42rem; }
.iz-quick { display: none; }

/* ---------- floating windows ---------- */
.iz-win { position: fixed; z-index: 30; width: 23rem; max-width: 94vw; max-height: 86vh; overflow: auto; background: var(--izi-wrap); border-radius: var(--izi-r); box-shadow: 0 24px 70px rgba(0, 0, 0, .55); border: 1px solid var(--izi-line); padding: 1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: 1rem; }
.iz-win.wide { width: 34rem; }
.iz-win-head { display: flex; align-items: center; gap: .5rem; cursor: grab; user-select: none; touch-action: none; }
.iz-win-head h3 { margin: 0; font-size: 15px; flex: 1; }
.iz-win-head .iz-round { width: 2rem; height: 2rem; }
.iz-win-body { display: flex; flex-direction: column; gap: 1rem; }
.iz-win-body > * { margin: 0; }
.iz-guide { position: fixed; z-index: 29; background: var(--izi-blue); opacity: .6; pointer-events: none; }
.iz-guide.v { width: 2px; top: 0; bottom: 0; } .iz-guide.h { height: 2px; left: 0; right: 0; }
.iz-meter { display: flex; gap: 3px; height: 1.2rem; align-items: flex-end; }
.iz-meter i { flex: 1; background: var(--izi-line); border-radius: 2px; height: 100%; }
.iz-meter i.on { background: var(--izi-green); } .iz-meter i.hot { background: var(--izi-orange); } .iz-meter i.red { background: var(--izi-red); }
.iz-preview { position: relative; border-radius: var(--izi-r2); overflow: hidden; background: #0c0c10; aspect-ratio: 16 / 10; display: flex; align-items: flex-end; justify-content: center; }
.iz-preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.iz-preview .iz-face { width: 34%; height: 70%; position: relative; }
.iz-thumbs { display: flex; flex-wrap: wrap; gap: .55rem; }
.iz-thumb { width: 4.4rem; height: 3rem; border-radius: 10px; border: 2px solid transparent; padding: 0; overflow: hidden; background: var(--izi-panel); color: var(--izi-ink); display: inline-flex; align-items: center; justify-content: center; }
.iz-thumb.on { border-color: var(--izi-blue); }
.iz-thumb.up { border: 2px dashed var(--izi-blue); color: var(--izi-blue); font: 700 10px var(--izi-mono); letter-spacing:.06em; text-transform: uppercase; flex-direction: column; gap: .15rem; background: transparent; }

/* ---------- sign-up and the avatar chooser ---------- */
.iz-center { margin: auto; width: min(66rem, 96vw); display: grid; grid-template-columns: minmax(0, 1fr) 23rem; gap: 1rem; overflow-y: auto; max-height: 100%; padding: 1rem; align-content: start; height: 100%; }
.iz-avgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.iz-avopt { border: 2px solid transparent; background: var(--izi-panel); border-radius: var(--izi-r2); padding: .5rem .4rem 0; aspect-ratio: 1 / 1; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.iz-avopt .iz-face { width: 82%; height: 94%; }
.iz-avopt.on { border-color: var(--izi-blue); background: rgba(59, 130, 255, .14); }
.iz-bigface { width: 12rem; height: 11rem; margin: .3rem auto 1rem; }
.iz-swatch { width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid transparent; padding: 0; }
.iz-swatch.on { outline: 3px solid var(--izi-blue); outline-offset: 2px; }
.iz-bar-row { position: relative; background: var(--izi-panel); border-radius: var(--izi-r3); overflow: hidden; padding: .55rem .8rem; display: flex; gap: .5rem; }
.iz-bar-fill { position: absolute; inset: 0 auto 0 0; background: rgba(59, 130, 255, .26); }
.iz-bar-row > span { position: relative; }
.iz-bar-row.right .iz-bar-fill { background: rgba(53, 196, 107, .32); }
.iz-cloud { display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: baseline; justify-content: center; padding: .7rem; background: var(--izi-panel); border-radius: var(--izi-r2); }
.iz-star { color: var(--izi-orange); letter-spacing: .1em; }
.iz-rank { width: 1.8rem; font: 700 12px var(--izi-mono); color: var(--izi-mute); }
.iz-row.iz-self { outline: 2px solid var(--izi-blue); }
.iz-result { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .68); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.iz-result .iz-panel { width: min(30rem, 96vw); text-align: center; max-height: 92vh; overflow: auto; }
.iz-result .iz-panel h2 { justify-content: center; }
.iz-bigstars { font-size: 30px; color: var(--izi-orange); letter-spacing: .1em; margin: .3rem 0; }
.iz-lobby { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: .9rem; margin: 0 auto; width: min(72rem, 100%); }
.iz-lobby > .iz-panel, .iz-lobby > .iz-main > .iz-panel { display: flex; flex-direction: column; gap: .9rem; }
.iz-lobby h2 { margin: 0; }
.iz-lobby .iz-field { margin: 0; }
.iz-hidden { display: none !important; }
.iz-audio { position: absolute; width: 0; height: 0; opacity: 0; }
.iz-scenebox { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); aspect-ratio: 1000 / 560; }
.iz-people-face { width: 2.4rem; height: 2.2rem; flex: none; }
.iz-people-face .iz-face { width: 100%; height: 100%; }
.iz-ico-row { display: inline-flex; gap: .35rem; color: var(--izi-mute); align-items: center; }
.iz-ico-row .off { color: var(--izi-red); } .iz-ico-row .on { color: var(--izi-green); } .iz-ico-row .hand { color: var(--izi-orange); }
.iz-chatlog { display: flex; flex-direction: column; gap: .45rem; overflow-y: auto; flex: 1; min-height: 8rem; }
.iz-msg { background: var(--izi-panel); border-radius: var(--izi-r3); padding: .5rem .8rem; } .iz-msg.mine { background: rgba(59, 130, 255, .2); } .iz-msg b { font-size: 12px; display: block; margin-bottom: .1rem; }
.iz-rec { color: var(--izi-red); font: 700 12px var(--izi-mono); letter-spacing:.06em; text-transform: uppercase; margin: 0; }
.iz-lobby-prev { position: relative; border-radius: var(--izi-r2); background: #0c0c10; aspect-ratio: 16 / 10; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.iz-lobby-prev video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.iz-lobby-prev .iz-face { width: 30%; height: 72%; position: relative; }
.iz-places { position: absolute; right: .8rem; top: .8rem; width: 15rem; max-height: 70%; overflow: auto; background: rgba(8, 12, 28, .82); color: #fff; border-radius: 14px; padding: .6rem .8rem; font-size: 13px; }
.iz-places li { display: flex; justify-content: space-between; gap: .6rem; padding: .12rem 0; }
.iz-captionbar { position: absolute; left: 0; right: 0; bottom: 0; }
.iz-belt { pointer-events: none; }
.iz-chips.iz-scroll { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: .2rem; scrollbar-width: thin; }
.iz-chips.iz-scroll .iz-chip { flex: none; padding: .28rem .75rem; font-size: 13px; }
.iz-drop { border: 1.5px dashed var(--izi-line); border-radius: var(--izi-r2); padding: 1rem; text-align: center; color: var(--izi-mute); }

/* ---------- Connect CMS styles bare elements; these keep Ìzí Meeting's look on top of them ---------- */
:is(.iz-app, body.iz-mode dialog.dialog) h1, :is(.iz-app, body.iz-mode dialog.dialog) h2, :is(.iz-app, body.iz-mode dialog.dialog) h3 { color: var(--izi-ink); font-weight: 600; letter-spacing: -.02em; }
.iz-app .iz-brand h1 { font-size: 15px; margin: 0; }
.iz-app h3 { font-size: 15px; margin: 0; }
.iz-app button, body.iz-mode dialog.dialog .iz-btn { min-height: 0; border-width: 0; box-shadow: none; }
.iz-app button.iz-card-btn { background: var(--izi-card); border: 1px solid var(--izi-line); height: auto; }
.iz-app button.iz-card-btn.on { border-color: var(--izi-blue); box-shadow: 0 0 0 1px var(--izi-blue), 0 8px 22px rgba(59, 130, 255, .18); }
.iz-app button.iz-chip, body.iz-mode dialog.dialog button.iz-chip { background: var(--izi-card); border: 1px solid var(--izi-line); height: auto; color: var(--izi-ink); }
.iz-app button.iz-chip.on, body.iz-mode dialog.dialog button.iz-chip.on { background: var(--izi-blue); color: #fff; border-color: var(--izi-blue); }
.iz-app .iz-tabs button.iz-chip { background: transparent; border-color: transparent; color: var(--izi-mute); }
.iz-app .iz-tabs button.iz-chip.on { background: var(--izi-blue); color: #fff; }
:is(.iz-app, body.iz-mode dialog.dialog) button.iz-bb, :is(.iz-app, body.iz-mode dialog.dialog) button.iz-btn { background: var(--izi-panel); color: var(--izi-ink); height: auto; padding: .62rem 1.1rem; }
:is(.iz-app, body.iz-mode dialog.dialog) button.iz-bb.on, :is(.iz-app, body.iz-mode dialog.dialog) button.iz-btn.primary { background: var(--izi-blue); color: #fff; }
:is(.iz-app, body.iz-mode dialog.dialog) button.iz-btn.orange { background: var(--izi-orange); color: #1a0f03; }
:is(.iz-app, body.iz-mode dialog.dialog) button.iz-btn.dark { background: var(--izi-dark); color: var(--izi-onink); }
:is(.iz-app, body.iz-mode dialog.dialog) button.iz-bb.off, :is(.iz-app, body.iz-mode dialog.dialog) button.iz-btn.danger { background: var(--izi-red); color: #fff; }
:is(.iz-app, body.iz-mode dialog.dialog) button.iz-round { background: var(--izi-card); border: 1px solid var(--izi-line); padding: 0; height: 2.5rem; width: 2.5rem; color: var(--izi-ink); }
.iz-win-head button.iz-round { height: 2rem; width: 2rem; }
:is(.iz-app, body.iz-mode dialog.dialog) button.iz-avopt { height: auto; background: var(--izi-panel); border: 2px solid transparent; padding: .5rem .4rem 0; color: var(--izi-ink); }
:is(.iz-app, body.iz-mode dialog.dialog) button.iz-avopt.on { border-color: var(--izi-blue); background: rgba(59, 130, 255, .14); }
:is(.iz-app, body.iz-mode dialog.dialog) button.iz-bar-row { height: auto; justify-content: flex-start; background: var(--izi-panel); width: 100%; text-align: left; color: var(--izi-ink); }
.iz-app button.iz-thumb { height: 3rem; padding: 0; }
:is(.iz-app, body.iz-mode dialog.dialog) button.iz-toggle { padding: 0; height: 1.6rem; background: var(--izi-line); border: 0; }
:is(.iz-app, body.iz-mode dialog.dialog) button.iz-toggle[aria-checked='true'] { background: var(--izi-blue); }
:is(.iz-app, body.iz-mode dialog.dialog) button.iz-swatch { padding: 0; height: 2rem; border: 2px solid transparent; }
.iz-app .iz-card-btn .iz-card-foot { margin-top: auto; }
:is(.iz-app, body.iz-mode dialog.dialog) a.iz-btn, :is(.iz-app, body.iz-mode dialog.dialog) a.iz-chip { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; color: var(--izi-ink); background: var(--izi-panel); border-radius: 999px; padding: .62rem 1.1rem; font-weight: 600; font-size: 14px; }
:is(.iz-app, body.iz-mode dialog.dialog) a.iz-chip { background: var(--izi-card); border: 1px solid var(--izi-line); padding: .42rem .9rem; font-size: 13px; }
.iz-side-body > * { flex-shrink: 0; }
.iz-panel h2:not(:first-child) { margin-top: 1.2rem; }
.iz-body { overflow: hidden; }
.iz-body > .iz-main { overflow-y: auto; min-height: 0; }
.iz-main > .iz-stagewrap { overflow: hidden; }
.iz-lobby-wrap { overflow-y: auto; }

/* ---------- phones: clean and simple. Stage first, one quick bar, panels as a bottom sheet ---------- */
@media (max-width: 900px) {
  .iz-lobby, .iz-center { grid-template-columns: 1fr; }
  .iz-center { height: auto; }
}
@media (max-width: 760px) {
  .iz-head { padding: .55rem .8rem; gap: .5rem; }
  .iz-brand small { display: none; }
  .iz-brand h1 { font-size: 15px; }
  .iz-mark { width: 2.1rem; height: 2.1rem; border-radius: 11px; }
  .iz-app[data-view='room'] .iz-hm { display: none; }
  .iz-app[data-view='room'] .iz-menu-btn { display: inline-flex; }
  .iz-menu-btn { display: none; }
  .iz-cards { margin: 0 .8rem .6rem; padding: .6rem; gap: .5rem; display: none; }
  .iz-app[data-view='room'].menu-open .iz-cards { display: flex; }
  .iz-card-btn { flex: 1 0 6.6rem; min-width: 6.6rem; min-height: 0; padding: .6rem .65rem; }
  .iz-card-btn small, .iz-card-no, .iz-chev { display: none; }
  .iz-card-top { margin-bottom: .35rem; }
  .iz-card-ic { width: 2.1rem; height: 2.1rem; }
  .iz-card-foot { padding-top: .3rem; min-height: 0; }
  .iz-body { padding: 0 .8rem .8rem; gap: .6rem; flex-direction: column; }
  .iz-app[data-view='lobby'] .iz-body { overflow-y: auto; }
  .iz-panel { padding: 1rem; }
  .iz-lobby { gap: .7rem; }
  .iz-stagewrap { border-radius: 18px; }
  .iz-stagebar { padding: .6rem .8rem .3rem; gap: .4rem; }
  .iz-stagebar h2 { font-size: 15px; max-width: 100%; }
  .iz-tabs { margin-left: 0; width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .iz-tabs .iz-chip { flex: none; padding: .32rem .75rem; }
  .iz-stage { margin: 0 .5rem .5rem; min-height: 0; }
  .iz-gallery { gap: .4rem; padding: .4rem; }
  .iz-bar { display: none; }
  .iz-quick { display: flex; position: fixed; left: 50%; bottom: max(.8rem, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 22; gap: .1rem; padding: .35rem; background: color-mix(in srgb, var(--izi-wrap) 94%, transparent); border: 1px solid var(--izi-line); border-radius: 24px; box-shadow: 0 14px 40px rgba(0, 0, 0, .5); backdrop-filter: blur(14px); transition: transform .25s, opacity .25s; max-width: calc(100vw - 1rem); }
  .iz-quick.hide { transform: translate(-50%, 140%); opacity: 0; pointer-events: none; }
  .iz-app button.iz-q { flex-direction: column; gap: .2rem; width: 3.7rem; height: auto; padding: .5rem 0 .4rem; background: transparent; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; font: 600 10px var(--izi-mono); letter-spacing:.06em; text-transform: uppercase; color: var(--izi-ink); position: relative; }
  .iz-app button.iz-q.on { background: color-mix(in srgb, var(--izi-blue) 24%, transparent); color: var(--izi-blue); }
  .iz-app button.iz-q.off { color: var(--izi-red); background: color-mix(in srgb, var(--izi-red) 18%, transparent); }
  .iz-app button.iz-q .dot { position: absolute; top: .15rem; right: .55rem; background: var(--izi-orange); color: #1a0f03; border-radius: 999px; font: 700 10px var(--izi-mono); padding: .05rem .35rem; }
  .iz-side { position: fixed; left: 0; right: 0; bottom: 0; width: 100%; max-width: none; height: 62vh; z-index: 26; border-radius: 24px 24px 0 0; border-bottom: 0; box-shadow: 0 -16px 50px rgba(0, 0, 0, .5); }
  .iz-grab { display: block; flex: none; padding: .7rem 0 .45rem; touch-action: none; cursor: grab; }
  .iz-grab::after { content: ''; display: block; width: 3rem; height: .32rem; border-radius: 999px; background: var(--izi-mute); opacity: .6; margin: 0 auto; }
  .iz-side-head { padding-top: .1rem; }
  .iz-app[data-panel='open'] .iz-quick { transform: translate(-50%, 140%); opacity: 0; pointer-events: none; }
  .iz-win, .iz-win.wide { left: 0 !important; right: 0; top: auto !important; bottom: 0; width: 100%; max-width: none; max-height: 82vh; border-radius: 24px 24px 0 0; z-index: 35; }
  .iz-win-head { cursor: default; }
  .iz-guide { display: none; }
  .iz-avgrid { grid-template-columns: repeat(3, 1fr); }
  .iz-center { padding: .6rem; gap: .7rem; }
  .iz-react { bottom: 6rem; }
  body.iz-mode dialog.dialog { width: 96vw; max-width: 96vw; max-height: 94vh; }
}
.iz-stack { display: flex; flex-direction: column; gap: .95rem; }
.iz-stack > * { margin: 0; }
.iz-stack > .iz-field, .iz-stack > .iz-switch { margin: 0; }
.iz-btn.start { align-self: flex-start; }
.iz-btn .iz-ic, .iz-bb .iz-ic { opacity: .95; }
.iz-people-row .iz-ico-row { margin-left: auto; }
.iz-hint { display: flex; align-items: center; gap: .5rem; }

.iz-app.no-cards .iz-cards { display: none; }
.iz-center .iz-panel { display: flex; flex-direction: column; gap: .85rem; }
.iz-center .iz-panel > * { margin-top: 0; margin-bottom: 0; }
.iz-center .iz-panel h2:not(:first-child) { margin-top: .6rem; }
.iz-center .iz-panel .iz-field { margin: 0; }
.iz-lobby-prev { max-height: 17rem; width: 100%; }
.iz-bb { padding: .58rem .9rem; }

body.iz-mode .floater { display: none !important; }
.iz-prejoin { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
@media (max-width: 760px) {
  .iz-app[data-view='room'] .iz-brand h1 { display: none; }
  .iz-hm .iz-lbl { display: none; }
  .iz-btn.iz-hm { padding: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; }
  .iz-app .iz-round { width: 2.4rem; height: 2.4rem; }
  .iz-app button.iz-round { width: 2.4rem; height: 2.4rem; }
  .iz-head .iz-btn { white-space: nowrap; padding: .5rem .95rem; }
  .iz-head .iz-btn.iz-hm { padding: 0; }
  .iz-lobby-prev { max-height: 13rem; }
}
@media (max-width: 760px) { .iz-btn.iz-hm { display: none; } }

.iz-split { display: inline-flex; align-items: stretch; background: var(--izi-panel); border-radius: 999px; }
.iz-split.off { background: var(--izi-red); }
.iz-app div.iz-split button.iz-bb { background: transparent; color: inherit; }
.iz-app div.iz-split button.iz-bb.off { color: #fff; }
.iz-app div.iz-split button.iz-bb:first-child { padding-right: .5rem; border-radius: 999px 0 0 999px; }
.iz-app div.iz-split button.iz-bb.mini { margin: 0; padding: .58rem .75rem .58rem .45rem; border-radius: 0 999px 999px 0; color: var(--izi-mute); }
.iz-split.off button.iz-bb.mini { color: #fff; }
.iz-app div.iz-split button.iz-bb:hover { background: rgba(255, 255, 255, .07); }

.iz-win .iz-chips.iz-tight { flex-wrap: nowrap; gap: .25rem; }
.iz-win .iz-chips.iz-tight .iz-chip, .iz-app .iz-win .iz-chips.iz-tight button.iz-chip { padding: .3rem .5rem; font-size: 12px; white-space: nowrap; flex: 0 1 auto; }

.iz-grab { display: none; }
@media (max-width: 760px) { .iz-grab { display: block; } .iz-side { transition: transform .2s; } }
body.iz-mode dialog.dialog { overflow-x: hidden; }
body.iz-mode dialog.dialog .iz-center { width: 100%; max-width: 100%; height: auto; max-height: none; padding: 0; overflow: visible; margin: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); }
body.iz-mode dialog.dialog .iz-center > .iz-panel { min-width: 0; }
@media (max-width: 900px) { body.iz-mode dialog.dialog .iz-center { grid-template-columns: minmax(0, 1fr); } }
.iz-center .iz-panel, .iz-panel { min-width: 0; }
.iz-center .iz-row { flex-wrap: wrap; }

.iz-result .iz-panel { display: flex; flex-direction: column; gap: .9rem; }
.iz-result .iz-panel > * { margin: 0; }
.iz-result .iz-row.col { text-align: left; }
.iz-result-actions { padding-top: .4rem; }

html:has(body.iz-mode), body.iz-mode { overscroll-behavior: none; }
.iz-app { overscroll-behavior: none; }
.iz-side, .iz-side-head { overscroll-behavior: contain; }
.iz-app .iz-tile.share { position: relative; overflow: hidden; }
.iz-app .iz-tile.share video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.iz-msg.pm { background: rgba(245, 138, 43, .2); }
.iz-stars-row { display: inline-flex; gap: .1em; }
.iz-st { position: relative; display: inline-block; color: var(--izi-orange); line-height: 1; }
.iz-st.half::after { content: '★'; position: absolute; left: 0; top: 0; width: 50%; overflow: hidden; }
.iz-layout-speaker.iz-sharing { padding: .3rem; gap: .3rem; }
.iz-layout-speaker.iz-sharing .big .iz-tile.share { flex: 1; min-height: 0; border-radius: 10px; }
.iz-layout-speaker.iz-sharing .iz-strip { height: 4.6rem; }
@media (max-width: 760px) { .iz-layout-speaker.iz-sharing .iz-strip { display: none; } }
/* phones zoom into any box smaller than 16px when it is tapped, which pushed the page sideways: keep boxes at 16px */
@media (max-width: 900px) { :is(.iz-app, body.iz-mode dialog.dialog) :is(input, select, textarea) { font-size: 15px; } }
/* a row with a name and a box (rooms by hand): name on the left, box takes what is left */
:is(.iz-app, body.iz-mode dialog.dialog) .iz-row > select { width: auto; flex: 0 1 52%; min-width: 0; }
:is(.iz-app, body.iz-mode dialog.dialog) .iz-row > .grow { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iz-ask { position: fixed; left: 50%; bottom: 5.5rem; transform: translateX(-50%); z-index: 60; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; justify-content: center; max-width: min(92vw, 30rem); padding: .7rem .9rem; border-radius: 16px; background: var(--izi-card); color: var(--izi-ink); box-shadow: 0 10px 34px rgba(0, 0, 0, .35); border: 1px solid var(--izi-line); }
.iz-round.sm { width: 2rem; height: 2rem; min-height: 0; padding: 0; display: inline-grid; place-items: center; border-radius: 50%; }
.iz-round.sm.off { color: var(--izi-red); }
/* the presenter stays in view while a screen is shared: on phones the strip is a thin row, presenter first */
@media (max-width: 760px) { .iz-layout-speaker.iz-sharing .iz-strip { display: flex; height: 4.2rem; } .iz-layout-speaker.iz-sharing .iz-strip .iz-tile { width: 5.6rem; } }
.iz-tile.share.mine { display: grid; place-items: center; background: var(--izi-card); }
.iz-sharing-note { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; padding: 1rem; color: var(--izi-ink); }
.iz-sharing-note small { color: var(--izi-soft); }
/* the presenter as picture-in-picture over the shared screen */
.iz-layout-speaker.iz-sharing .big { position: relative; }
.iz-layout-speaker.iz-sharing .iz-pip { position: absolute; right: .6rem; bottom: .6rem; width: clamp(7rem, 22%, 15rem); aspect-ratio: 16 / 10; z-index: 3; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 22px rgba(0, 0, 0, .5); border: 2px solid rgba(255, 255, 255, .7); }
.iz-layout-speaker.iz-sharing .iz-pip .iz-tile { width: 100%; height: 100%; min-height: 0; flex: none; }
@media (max-width: 760px) { .iz-layout-speaker.iz-sharing .iz-pip { width: 6.2rem; right: .4rem; bottom: .4rem; } .iz-layout-speaker.iz-sharing .iz-strip { display: none; } }
.iz-share-full { position: absolute; top: .5rem; right: .5rem; z-index: 4; display: inline-flex; gap: .3rem; align-items: center; padding: .35rem .7rem; min-height: 0; height: auto; border-radius: 999px; border: 0; background: rgba(0, 0, 0, .62); color: #fff; font-size: 13px; }
.iz-tile.share:fullscreen { background: #000; }
.iz-tile.share:fullscreen video { width: 100%; height: 100%; object-fit: contain; }
/* the menu button only exists on phones; on a computer the cards are always showing and it did nothing */
.iz-app .iz-menu-btn { display: none; }
/* immersive places: the person alone, without the room behind them */
.iz-cutbox canvas { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.iz-cutbox.cut-ready { background: transparent; }
.iz-cutbox.cut-ready canvas { display: block; }
.iz-cutbox.cut-ready video { visibility: hidden; }
.iz-cutbox canvas.mirror { transform: scaleX(-1); }

/* Ìzí Meeting pills: ONE height for every pill, taken from Ìzí Studio (32 tall, 13 text). */
.iz-app button.iz-chip, body.iz-mode dialog.dialog button.iz-chip, :is(.iz-app, body.iz-mode dialog.dialog) button.iz-btn { height: 32px !important; min-height: 32px !important; padding: 0 .9rem !important; font-size: 13px !important; line-height: 1.2 !important; display: inline-flex; align-items: center; justify-content: center; }
.iz-app .iz-tabs button.iz-chip { padding: 0 1rem !important; }
.iz-app .iz-chips.iz-scroll button.iz-chip { padding: 0 .9rem !important; }
.iz-app button.iz-round, .iz-app button.iz-round.iz-hm, .iz-app .iz-win-head button.iz-round { width: 32px !important; height: 32px !important; }

/* Ìzí Meeting flow menu icons: the same rounded-square tile as Ìzí Studio and Ìzí Presenter (not a circle, same size). */
.iz-card-ic { width: 2.05rem !important; height: 2.05rem !important; border-radius: 10px !important; }
.iz-card-ic .iz-ic, .iz-card-ic svg { width: 17px !important; height: 17px !important; }

/* Ìzí Meeting header: the approved Meeting icon (not a blue text tile) and a mono line under the name, like Ìzí Presenter. */
.iz-app .iz-mark { width: 3rem; height: 3rem; border-radius: 14px; background: none; object-fit: cover; box-shadow: 0 4px 14px rgb(0 0 0 / .25); }
.iz-app .iz-brand h1 { font-size: 20px; }
.iz-app .iz-brand small { font: 500 11px var(--izi-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--izi-mute); margin-top: .15rem; }
@media (max-width: 640px) { .iz-app .iz-mark { width: 2.4rem; height: 2.4rem; border-radius: 12px; } .iz-app .iz-brand small { display: block; } }

/* Ìzí Meeting header: account name and Sign Out stay in view inside a meeting too. */
.iz-who { font: 400 13px/1.2 var(--izi-font); color: var(--izi-mute); white-space: nowrap; }
@media (max-width: 900px) { .iz-who { display: none; } }
.iz-app .iz-brand small { text-transform: none; letter-spacing: .02em; }

/* Ìzí Meeting: the same title and line under the header as Ìzí Presenter ("Plan – Show – Stream Workflow"), and the hairline under the header. */
.iz-app .iz-head { border-bottom: 1px solid var(--izi-line); }
.iz-pagehead { margin: 1.1rem 1.5rem 1rem; }
.iz-pagehead h2 { margin: 0 0 .45rem; font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--izi-ink); }
.iz-pagehead p { margin: 0; font-size: 15px; color: var(--izi-mute); }
@media (max-width: 640px) { .iz-pagehead { margin: .8rem .8rem .6rem; } .iz-pagehead h2 { font-size: 22px; } .iz-pagehead p { font-size: 13px; } }

/* Get Ready buttons (Mic, Camera, Blur, Touch Up) are the same pills as everywhere else: 32 tall, 13 text. */
.iz-app .iz-prejoin button.iz-bb { height: 32px !important; padding: 0 .9rem !important; font-size: 13px !important; font-weight: 500 !important; gap: .4rem; }
.iz-app .iz-prejoin button.iz-bb .iz-ic, .iz-app .iz-prejoin button.iz-bb svg { width: 15px; height: 15px; }
.iz-app .iz-prejoin { margin-top: .5rem; }

/* Side-panel actions (Start Recording, Go Live, Open Ìzí Presenter...) are pills, not full-width bars. */
.iz-app .iz-side-body .iz-btn { align-self: flex-start; width: auto; height: 32px; padding: 0 .9rem; font-size: 13px; font-weight: 500; }
.iz-app .iz-side-body .iz-btn.primary, .iz-app .iz-side-body .iz-btn.danger { font-weight: 500; }

/* Invite dialog: room between the sections. */
body.iz-mode dialog.dialog .iz-field { margin-bottom: 1.2rem; }
body.iz-mode dialog.dialog .iz-label { display: block; margin: 1.2rem 0 .6rem; }
body.iz-mode dialog.dialog .iz-field .iz-soft { margin: .45rem 0 0; }

/* Waiting room: the screen people see until the host lets them in, and the host's strip. */
.iz-wait { display: flex; justify-content: center; padding: 1.2rem 16px; }
.iz-wait-panel { width: min(760px, 100%); display: flex; flex-direction: column; gap: .9rem; }
.iz-wait-panel h2 { margin: 0; }
.iz-wait-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #0A0A0D; }
.iz-wait-stage video, .iz-wait-stage canvas { width: 100%; height: 100%; object-fit: cover; display: block; }
.iz-wait-actions { justify-content: center; }
.iz-waitbar { position: fixed; top: 4.6rem; right: 1rem; z-index: 60; width: min(320px, calc(100vw - 2rem)); display: none; flex-direction: column; gap: .5rem; padding: .8rem .9rem; border: 1px solid var(--izi-line); border-radius: 16px; background: var(--izi-card); color: var(--izi-ink); box-shadow: var(--izi-shadow); }
.iz-waitbar.on { display: flex; }
.iz-waitbar b { font-size: 14px; font-weight: 600; }
.iz-waitbar .iz-btn { height: 32px; padding: 0 .9rem; font-size: 13px; font-weight: 500; }
.iz-lobby-wrap .iz-panel > .iz-row.bare:first-of-type { margin: .1rem 0 .7rem; }
.iz-wait { align-items: flex-start; overflow: auto; min-height: 0; }
.iz-wait-panel { flex: none; }
.iz-wait-stage { width: min(100%, calc(50vh * 16 / 9)); margin: 0 auto; }
.iz-wait.iz-main { flex-direction: row; justify-content: center; align-items: flex-start; padding-top: .4rem; }

/* photo cropping */
.iz-crop { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.6); }
.iz-cropbox { display: flex; flex-direction: column; gap: .6rem; align-items: center; padding: 1rem; border-radius: 12px; background: var(--izi-panel, #fff); color: var(--izi-ink, #111); max-width: calc(100vw - 2rem); }
.iz-cropcv { width: 260px; height: 260px; max-width: 100%; touch-action: none; cursor: grab; border-radius: 8px; background: #888; }
.iz-cropbox input[type=range] { width: 260px; max-width: 100%; }

/* in a meeting the workflow header, title and cards float over (computers and tablets; phones keep their menu button) the video: shown at 100% when the mouse is in the top 1 cm, gone 2 seconds later; the big title is not shown in a meeting */
.iz-hud { display: contents; }
@media (min-width: 761px) {
  .iz-app[data-view='room'] .iz-hud { display: block; position: absolute; top: 0; left: 0; right: 0; border-radius: 0 0 14px 14px; z-index: 40; background: var(--izi-bg); border-bottom: 1px solid var(--izi-line); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility 0s linear .25s; max-height: 100%; overflow-y: auto; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
  .iz-app[data-view='room'] .iz-hud.show { opacity: 1; visibility: visible; transition: opacity .25s ease; }
  /* the floating bar never blocks what is under it (view buttons, the video); only its own cards and buttons take the mouse */
  .iz-app[data-view='room'] .iz-hud.show .iz-cards, .iz-app[data-view='room'] .iz-hud.show .iz-head button { pointer-events: auto; }
  @media (prefers-reduced-motion: reduce) { .iz-app[data-view='room'] .iz-hud, .iz-app[data-view='room'] .iz-hud.show { transition: none; } }
}
@media (max-width: 760px) { .iz-bar-leave { display: none !important; } }
/* the brand name uses the brand's second typeface (mono), like Ìzí Presenter */
.iz-app .iz-brand h1 { font-family: var(--izi-mono); font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
@media (min-width: 761px) { .iz-app[data-view='room'] .iz-pagehead { display: none; } }
/* while the floating bar is showing, the stage layout buttons step down below it so nothing is covered */
@media (min-width: 761px) { .iz-app[data-view='room'] .iz-hud.show + .iz-body .iz-tabs { transform: translateY(var(--hud-h, 0px)); } .iz-app[data-view='room'] .iz-tabs { transition: transform .15s ease; position: relative; z-index: 1; } }

.iz-wait-words { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; text-align:center; pointer-events:none; color:#fff; }
.iz-wait-words b { font-size:20px; font-weight:600; } .iz-wait-words small { font-size:13px; opacity:.75; }

.iz-wait-crawl { position:absolute; left:0; right:0; bottom:0; overflow:hidden; background:linear-gradient(transparent, rgba(0,0,0,.6)); padding:10px 0; color:#fff; font-size:13px; font-weight:500; pointer-events:none; }
.iz-wait-track { display:flex; width:max-content; animation: iz-crawl 55s linear infinite; }
.iz-wait-track span { white-space:pre; padding-right:2rem; }
@keyframes iz-crawl { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .iz-wait-track { animation:none; width:auto; white-space:normal; padding:0 12px; } .iz-wait-track span { white-space:normal; } .iz-wait-track span + span { display:none; } }

.iz-gallery.fit { display:flex; align-items:center; justify-content:center; padding:10px; overflow:hidden; }
.iz-gallery.fit .iz-gal-in { display:flex; flex-wrap:wrap; justify-content:center; align-content:center; gap:var(--gap, 10px); max-width:100%; }
.iz-gallery.fit .iz-tile { position:relative; flex:none; width:var(--tw, 240px); height:auto; aspect-ratio:16 / 9; min-height:0; }
/* a profile photo is shown whole, never cut: a square space sized by the picture's height, the photo fitted inside it */
.iz-tile .iz-face.iz-ph { width: auto; height: 78%; aspect-ratio: 1 / 1; max-width: 90%; margin: auto; }
.iz-tile .iz-face.iz-ph img.iz-photo { object-fit: contain; border-radius: 12%; }
.iz-gallery.fit .iz-tile .iz-face.iz-ph { height: 78%; }

.iz-caps-status { position:absolute; left:50%; bottom:14px; transform:translateX(-50%); background:rgba(0,0,0,.65); color:#fff; font-size:13px; font-weight:500; padding:6px 12px; border-radius:999px; z-index:30; pointer-events:none; max-width:90%; text-align:center; }
/* the screen in every Immersive place sits exactly where the picture's frame is (another page's .iz-feed rule had pushed it down 20px) */
.iz-app .iz-scenebox .iz-feed, .iz-app .iz-stage .iz-feed { margin: 0; }

.iz-scenebox.iz-turnable { cursor: grab; touch-action: none; } .iz-scenebox.iz-turnable.turning { cursor: grabbing; }
.iz-places li.turn { cursor: pointer; } .iz-places li.turn:hover { background: rgba(255,255,255,.08); }
.iz-places small { display:block; margin-top:.4rem; font-size:11px; font-weight:500; }

.iz-miclvl { position:relative; display:inline-flex; width:18px; height:18px; flex:none; }
.iz-miclvl svg { position:relative; z-index:1; }
.iz-miclvl .lvl { position:absolute; left:6.5px; bottom:7.5px; width:5px; height:calc(var(--lv, 0) * 9px); background:#3ddc84; border-radius:3px; transition:height .08s linear; }
.iz-recbtn .iz-recdot { width:12px; height:12px; border-radius:50%; background:#9aa0a6; box-shadow:none; flex:none; }
.iz-recbtn.off .iz-recdot { background:#ff3b30; border-radius:3px; box-shadow:0 0 0 2px rgba(255,59,48,.35); animation:izrecp 1.4s ease-in-out infinite; }
@keyframes izrecp { 50% { opacity:.55; } }

/* Filmstrip: the other people run down the side of the speaker, each a wide picture (on a phone they stay in a row underneath) */
.iz-layout-speaker.side { flex-direction: row; }
.iz-layout-speaker.side .iz-strip { flex-direction: column; width: clamp(9rem, 19%, 15rem); height: auto; overflow-x: hidden; overflow-y: auto; }
.iz-layout-speaker.side .iz-strip .iz-tile { width: 100%; height: auto; aspect-ratio: 16 / 9; flex: none; }
@media (max-width: 760px) { .iz-layout-speaker.side { flex-direction: column; } .iz-layout-speaker.side .iz-strip { flex-direction: row; width: auto; height: 5.6rem; overflow-x: auto; overflow-y: hidden; } .iz-layout-speaker.side .iz-strip .iz-tile { width: 8rem; height: auto; aspect-ratio: auto; } }

.iz-sharebar { position:absolute; top:10px; left:50%; transform:translateX(-50%); z-index:6; display:flex; align-items:center; gap:10px; padding:6px 8px 6px 14px; border-radius:999px; background:rgba(20,20,22,.88); color:#fff; font-size:13px; font-weight:500; box-shadow:0 2px 10px rgba(0,0,0,.4); }
.iz-sharebar b { font-weight:500; }

/* slides */
.iz-app .iz-tile.share.slides { display: flex; flex-direction: column; gap: 8px; padding: 8px; background: #000; }
.iz-slide-top { flex: 1; min-height: 0; display: flex; gap: 10px; }
.iz-slide-main { flex: 1; min-width: 0; min-height: 0; display: grid; place-items: center; background: #000; border-radius: 8px; overflow: hidden; position: relative; }
.iz-tile.share.slides.mine .iz-slide-main { cursor: pointer; }
.iz-slide-main img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; user-select: none; }
.iz-slide-wait { color: var(--izi-soft); font-size: 13px; }
.iz-slide-next { width: clamp(130px, 17%, 230px); flex: none; display: flex; flex-direction: column; gap: 6px; color: var(--izi-soft); }
.iz-slide-next img, .iz-slide-end { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #111; border-radius: 6px; border: 1px solid var(--izi-line, #2a2a30); display: grid; place-items: center; font-size: 13px; }
.iz-slide-ctl { display: flex; align-items: center; gap: 8px; flex: none; color: #fff; }
.iz-slide-ctl b { font-weight: 500; font-size: 13px; min-width: 56px; text-align: center; }
.iz-slide-ctl .grow { flex: 1; }
.iz-slide-strip { display: flex; gap: 8px; overflow-x: auto; flex: none; padding-bottom: 2px; scrollbar-width: thin; }
.iz-thumb { flex: none; position: relative; height: 62px; aspect-ratio: 16 / 9; padding: 0; border: 2px solid transparent; border-radius: 6px; background: #111; overflow: hidden; cursor: pointer; }
.iz-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.iz-thumb small { position: absolute; left: 3px; bottom: 2px; font-size: 11px; color: #fff; background: rgba(0,0,0,.6); padding: 0 4px; border-radius: 4px; }
.iz-thumb.on { border-color: var(--izi-blue); }
@media (max-width: 700px) { .iz-slide-next { display: none; } .iz-thumb { height: 48px; } }

.iz-miclvl.big { width:22px; height:22px; }
.iz-miclvl.big .lvl { left:8px; bottom:9px; width:6px; height:calc(var(--lv, 0) * 11px); }

.iz-qwrap { position: relative; display: inline-flex; }
@media (max-width: 700px) {
  .iz-app .iz-qwrap .iz-qmore { position: absolute; top: .1rem; right: .25rem; width: 1.5rem; height: 1.5rem; min-height: 0; padding: 0; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--izi-ink) 14%, transparent); color: var(--izi-ink); border: 0; z-index: 2; }
}

.iz-pick { display: flex; gap: .6rem; align-items: center; cursor: pointer; }

.iz-camsrc { position: fixed; left: 0; bottom: 0; width: 2px; height: 2px; opacity: .01; pointer-events: none; z-index: -1; }

/* before joining: the Mic and Camera pills carry a small arrow that opens the device choices */
.iz-split.pre { background: var(--izi-blue); }
.iz-split.pre.off { background: var(--izi-panel); }
.iz-app div.iz-split.pre button.iz-bb.mini { color: #fff; }
.iz-split.pre.off button.iz-bb.mini { color: var(--izi-mute); }
.iz-devpanel { display: grid; gap: .6rem; margin: .6rem 0; padding: .8rem; border-radius: 14px; background: var(--izi-panel); text-align: left; }
.iz-devpanel[hidden] { display: none !important; }
.iz-devpanel select { width: 100%; }
/* Every Meeting card its own colour (17 Nov): no two cards share one. Purple stays for AI. */
.c-teal { --c: #18a999; } .c-cyan { --c: #14b8d4; } .c-pink { --c: #e0457b; } .c-lime { --c: #84cc16; } .c-gold { --c: #eab308; }
/* On a phone, in a meeting, the line under the name ("Everyone has a face and a voice.") ran underneath the
   "In meeting" pill and the two could not be read (owner's screenshot, Nov 2026). In a meeting on a small screen
   the line steps aside; everywhere else it is cut short with dots instead of sliding under its neighbours. */
.iz-app .iz-brand > div { min-width: 0; }
.iz-app .iz-brand small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iz-app .iz-head > .iz-pill { flex: none; }
@media (max-width: 760px) { .iz-app[data-view='room'] .iz-brand small { display: none; } .iz-app[data-view='room'] .iz-brand { flex: none; } }
/* Messages that pop up in Ìzí Meeting wear Ìzí's own look (Studio's type and weight), not Connect's heavier pill. */
body.iz-mode .toast { font: 500 13px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; letter-spacing: 0; padding: 9px 16px; border-radius: 12px; background: rgb(28 28 32 / .94); color: #F5F5F7; box-shadow: 0 10px 30px rgb(0 0 0 / .28); max-width: min(520px, calc(100vw - 2rem)); text-align: center; }
body.iz-mode .toast.bad { background: #FF453A; color: #fff; }

/* The free meeting's countdown: a slim line just above the controls, always in view. It turns red in the last five minutes. */
.iz-freebar { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 6px auto 0; padding: 0 14px; height: 27px; border-radius: 999px; border: 1px solid rgb(10 132 255 / .55); background: rgb(10 132 255 / .12); color: var(--izi-ink); font: 500 12px/1 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; width: max-content; max-width: calc(100% - 24px); }
.iz-freebar[hidden] { display: none; }
.iz-freebar.soon { border-color: rgb(255 69 58 / .7); background: rgb(255 69 58 / .16); }
.iz-freebar-up { color: #0A84FF; text-decoration: none; font-weight: 600; }
.iz-freebar-up:hover { text-decoration: underline; }
/* Upgrade is a link (it opens the website), so it is given the same shape and blue as the app's primary buttons. */
.iz-app a.iz-btn { text-decoration: none; height: 27px; min-height: 27px; padding: 0 .9rem; font-size: 13px; font-weight: 500; white-space: nowrap; }
.iz-app a.iz-btn.primary, .iz-app a.iz-btn.primary:visited { background: var(--izi-blue); color: #fff; }

/* the Upgrade button inside a dialog (the 40-minute ending) is blue like the rest */
body.iz-mode dialog.dialog a.iz-btn.primary, body.iz-mode dialog.dialog a.iz-btn.primary:visited, body.iz-mode dialog.dialog button.iz-btn.primary { background: var(--izi-blue); color: #fff; }

/* Messages in the Ìzí apps wear Ìzí's own look, not Connect's heavy red pill (owner, 3 Dec): a quiet dark card, Studio's type,
   and for something that went wrong a red dot and a thin red edge. */
html body:is(.iz-mode, :has(.st)) .toast:not(#a) { font: 500 13px/1.4 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; letter-spacing: 0; padding: 10px 16px; border-radius: 14px; background: rgb(28 28 32 / .86); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); color: #F5F5F7; border: 1px solid rgb(255 255 255 / .12); box-shadow: 0 12px 34px rgb(0 0 0 / .34); max-width: min(520px, calc(100vw - 2rem)); text-align: left; z-index: 2147483000; }
html body:is(.iz-mode, :has(.st)) .toast.bad:not(#a) { background: rgb(28 28 32 / .9); color: #F5F5F7; border-color: rgb(255 69 58 / .55); padding-left: 34px; }
html body:is(.iz-mode, :has(.st)) .toast.bad:not(#a)::before { content: ""; position: absolute; left: 14px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: #FF453A; box-shadow: 0 0 0 3px rgb(255 69 58 / .22); }
/* Every colour picker is the height of a pill, 27px, in every Ìzí app (owner, 3 Dec). */
html body:is(.iz-mode, :has(.st)) input[type="color"]:not(#a):not(#b) { width: 27px !important; height: 27px !important; min-width: 27px !important; min-height: 27px !important; max-height: 27px !important; flex: 0 0 27px; padding: 0 !important; border-width: 3px !important; border-radius: 50% !important; }

/* The pinned tab row fades away while the page is scrolled down and fades back when it is scrolled up (owner, 3 Dec). */
html body .st :is(.st-subtabs, .st-fxbar) { transition: opacity .22s ease, transform .22s ease; }
html body .st :is(.st-subtabs, .st-fxbar).izi-away { opacity: 0; transform: translateY(-8px); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { html body .st :is(.st-subtabs, .st-fxbar) { transition: none; } }
