/*
 * The Ijlaas brand: logo and the app header shown on every Ijlaas page
 * (see ijlaas_brand.php). Prefix .ija-. Animations always play.
 */

:root {
  --ija-ink: #111111;
  --ija-paper: #ffffff;
  --ija-soft: #f4f3ef;
  --ija-line: #e6e4df;
  --ija-muted: #5d6169;
  --ija-sun: #ffd36e;
  --ija-rose: #ff6f91;
  --ija-sky: #7fc8f8;
  --ija-focus: #3b6fa0;
  --ija-h: 68px;
}
body { overflow-x: clip; }
html { scroll-padding-top: calc(var(--ija-h) + 12px); }

/* ---------- logo ---------- */
.ija-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ija-ink); text-decoration: none; flex: none; border-radius: 12px; }
.ija-logo:hover { color: var(--ija-ink); }
.ija-mark { display: block; flex: none; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.ija-logo:hover .ija-mark { transform: rotate(-6deg) scale(1.06); }
.ija-mark .ija-live { animation: ijaLive 2.4s ease-in-out infinite; transform-origin: 39.5px 9.5px; }
.ija-word { font-family: "Space Grotesk", "Instrument Sans", system-ui, sans-serif; font-weight: 700; font-size: 1.45rem; letter-spacing: -.035em; line-height: 1; }
.ija-logo.is-light, .ija-logo.is-light:hover { color: #fff; }
.ija-logo.is-light .ija-mark rect:first-child { fill: #fff; }
.ija-logo.is-light .ija-mark rect:last-of-type { fill: #111; }

/* ---------- skip link ---------- */
.ija-skip { position: fixed; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 10px; background: var(--ija-ink); color: #fff; font-weight: 600; text-decoration: none; transition: top .2s ease; }
.ija-skip:focus { top: 12px; color: #fff; }

/* ---------- header ---------- */
.ija-bar {
  position: sticky; top: 0; z-index: 120; height: var(--ija-h);
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
  font-family: "Instrument Sans", Inter, system-ui, sans-serif;
}
.ija-bar.is-scrolled { border-bottom-color: var(--ija-line); box-shadow: 0 8px 24px rgba(17, 17, 17, .06); background: rgba(255, 255, 255, .94); }
.ija-inner { height: 100%; width: min(1240px, calc(100% - 32px)); margin: 0 auto; display: flex; align-items: center; gap: 18px; }
.ija-spacer { flex: 1; }

.ija-nav { flex: 1; display: flex; justify-content: center; gap: 2px; min-width: 0; }
.ija-nav-scroll { overflow-x: auto; }
.ija-link {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  color: var(--ija-muted); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}
.ija-link i { font-size: .9em; opacity: .8; }
.ija-link:hover { color: var(--ija-ink); background: var(--ija-soft); }
.ija-link[aria-current="page"], .ija-link.is-active { color: var(--ija-ink); background: var(--ija-sun); }
.ija-link[aria-current="page"] i, .ija-link.is-active i { opacity: 1; }

.ija-right { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.ija-cta, .ija-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px;
  font: 600 .95rem/1 "Instrument Sans", Inter, system-ui, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.ija-cta { border: 2px solid var(--ija-ink); background: var(--ija-ink); color: #fff; }
.ija-cta:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 5px 0 rgba(17, 17, 17, .18); }
.ija-cta:active { transform: none; box-shadow: none; }
.ija-ghost { border: 2px solid var(--ija-line); background: #fff; color: var(--ija-ink); }
.ija-ghost:hover { border-color: var(--ija-ink); }
.ija-ghost[aria-expanded="true"] { border-color: var(--ija-ink); background: var(--ija-soft); }
.ija-caret { font-size: .7em; transition: transform .2s ease; }
.ija-ghost[aria-expanded="true"] .ija-caret { transform: rotate(180deg); }

/* "My classes" menu */
.ija-dd { position: relative; }
.ija-menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 330px; padding: 8px; border-radius: 18px; background: #fff;
  border: 2px solid var(--ija-ink); box-shadow: 8px 8px 0 var(--ija-ink); animation: ijaPop .18s ease-out; z-index: 130;
}
.ija-menu[hidden] { display: none; }
.ija-menu-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: var(--ija-ink); text-decoration: none; transition: background-color .15s ease; }
.ija-menu-item:hover, .ija-menu-item:focus-visible { background: var(--ija-soft); outline: none; }
.ija-menu-item strong { display: block; font-size: .95rem; }
.ija-menu-item small { display: block; color: var(--ija-muted); font-size: .8rem; }
.ija-menu-icon { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--ija-soft); }
.ija-menu-item:nth-child(6n+1) .ija-menu-icon { background: #ffe9b0; }
.ija-menu-item:nth-child(6n+2) .ija-menu-icon { background: #ffd5df; }
.ija-menu-item:nth-child(6n+3) .ija-menu-icon { background: #d4f0de; }
.ija-menu-item:nth-child(6n+4) .ija-menu-icon { background: #d6ecfc; }
.ija-menu-item:nth-child(6n+5) .ija-menu-icon { background: #e7defe; }
.ija-menu-item[aria-current="page"] { background: var(--ija-soft); }

/* phone menu */
.ija-burger { display: none; width: 42px; height: 42px; padding: 0; border: 2px solid var(--ija-line); border-radius: 12px; background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.ija-burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--ija-ink); }
.ija-drawer { position: fixed; inset: 0; z-index: 200; }
.ija-drawer[hidden] { display: none; }
.ija-scrim { position: absolute; inset: 0; background: rgba(17, 17, 17, .45); backdrop-filter: blur(3px); animation: ijaFade .2s ease-out; }
.ija-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; padding: 14px 18px 24px;
  display: flex; flex-direction: column; gap: 6px; overflow-y: auto; box-shadow: -20px 0 50px rgba(0, 0, 0, .2); animation: ijaSlide .28s cubic-bezier(.2, .9, .3, 1);
  font-family: "Instrument Sans", Inter, system-ui, sans-serif;
}
.ija-panel-head { display: flex; justify-content: space-between; align-items: center; height: 48px; margin-bottom: 8px; }
.ija-close { width: 42px; height: 42px; border-radius: 12px; border: 2px solid var(--ija-line); background: #fff; cursor: pointer; font-size: 1.1rem; }
.ija-drawer-nav { display: grid; }
.ija-drawer-link { padding: 14px 4px; border-bottom: 1px solid var(--ija-line); color: var(--ija-ink); font-weight: 600; font-size: 1.1rem; text-decoration: none; }
.ija-drawer-label { margin: 18px 4px 4px; color: var(--ija-muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ija-drawer-apps { display: grid; gap: 2px; }
.ija-cta-block { width: 100%; height: 50px; margin-top: 16px; }
body.ija-locked { overflow: hidden; }

/* ---------- motion ---------- */
@keyframes ijaLive { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes ijaPop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ijaFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ijaSlide { from { transform: translateX(100%); } to { transform: none; } }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
  .ija-link i { display: none; }
  .ija-link { padding: 9px 11px; }
}
@media (max-width: 960px) {
  .ija-nav, .ija-dd { display: none; }
  .ija-burger { display: inline-flex; }
  .ija-inner { justify-content: space-between; }
}
@media (max-width: 480px) {
  :root { --ija-h: 60px; }
  .ija-right > .ija-cta { width: 42px; padding: 0; font-size: 0; gap: 0; }
  .ija-right > .ija-cta i { font-size: 1rem; }
  .ija-word { font-size: 1.3rem; }
}
@media print {
  .ija-bar, .ija-drawer, .ija-skip { display: none !important; }
}

/* =====================================================================
   The Ijlaas look on every page (loaded after ijlaas-theme.css):
   ink and sun-yellow instead of the old blue, pill buttons, 2px outlines,
   soft cards, a dotted paper background. Charts keep their own colours.
   ===================================================================== */
:root {
  --ij-brand: #111111;
  --ij-brand-dark: #000000;
  --ij-brand-soft: #fff3cf;
  --ij-border: #e6e4df;
  --ij-bg: #fbfaf7;
  --ij-muted: #f4f3ef;
  --ij-muted-fg: #5d6169;
  --ij-fg: #111111;
  --ij-radius: 14px;
  --ij-shadow: 0 18px 44px -20px rgba(17, 17, 17, .35);
}

/* pages */
body.ij-landing {
  background-color: #fbfaf7;
  background-image: radial-gradient(circle, #dcd8cf 1.1px, transparent 1.3px);
  background-size: 24px 24px;
}
body.ij-landing .ij-page h1 { font-family: "Space Grotesk", sans-serif; letter-spacing: -.03em; }
body.ij-landing a:not([class]) { color: var(--ija-ink); text-underline-offset: 3px; }

/* buttons */
body.ij-landing .ij-btn {
  min-height: 46px; padding: 0 20px; border-radius: 999px; border: 2px solid transparent; font-weight: 700;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
body.ij-landing .ij-btn:hover { transform: translateY(-1px); }
body.ij-landing .ij-btn-primary, body.ij-landing .ij-btn-dark { background: #111; border-color: #111; color: #fff; box-shadow: none; }
body.ij-landing .ij-btn-primary:hover, body.ij-landing .ij-btn-dark:hover { background: #111; color: #fff; box-shadow: 0 5px 0 rgba(17, 17, 17, .18); }
body.ij-landing .ij-btn-secondary { background: #fff; border-color: var(--ij-border); color: #111; }
body.ij-landing .ij-btn-secondary:hover { border-color: #111; color: #111; }
body.ij-landing .ij-btn-text { background: transparent; color: #111; border-color: transparent; }
body.ij-landing .ij-btn-text:hover { background: var(--ija-soft); }
body.ij-landing .ij-btn:disabled, body.ij-landing .ij-btn[aria-disabled="true"] { opacity: .5; transform: none; box-shadow: none; cursor: default; }
body.ij-landing .ij-btn:focus-visible { outline: 3px solid var(--ija-focus); outline-offset: 3px; }

/* inputs, selects, text areas */
body.ij-landing .ij-input,
body.ij-landing .ij-page select,
body.ij-landing .ij-page input[type="search"],
body.ij-landing .ij-page input[type="date"],
body.ij-landing .ij-page textarea {
  border: 2px solid var(--ij-border); border-radius: 14px; background: #fff; color: #111;
  transition: border-color .15s ease, box-shadow .15s ease;
}
body.ij-landing .ij-input:hover, body.ij-landing .ij-page select:hover, body.ij-landing .ij-page textarea:hover { border-color: #cfcbc2; }
body.ij-landing .ij-input:focus,
body.ij-landing .ij-page select:focus,
body.ij-landing .ij-page input:focus,
body.ij-landing .ij-page textarea:focus { outline: none; border-color: #111; box-shadow: 0 0 0 4px rgba(255, 211, 110, .55); }
body.ij-landing .ij-input[aria-invalid="true"] { border-color: #e0344f; box-shadow: 0 0 0 4px rgba(224, 52, 79, .12); }
body.ij-landing .ij-field > span { font-weight: 700; }

/* messages */
body.ij-landing .ij-error, body.ij-landing .ij-notice { border-radius: 14px; border-width: 1.5px; }
body.ij-landing .ij-notice { background: #fff8e1; border-color: #f2c94c; color: #5c4400; }
body.ij-landing .ij-error { background: #fdecef; border-color: #f3a7b4; color: #8a1c2e; }

/* cards on the Ijlaas pages */
body.ij-landing :is(.db-tile, .db-card, .db-poll, .db-empty, .db-filters, .rp-tile, .rp-card, .rp-msg, .rp-empty, .rp-item, .rp-quiz,
  .rv-side, .rv-msg, .rv-empty, .rv-row, .nt-empty, .sc-card, .sc-item, .ai-block) {
  border: 1.5px solid var(--ij-border); border-radius: 22px; background: #fff; box-shadow: 0 1px 0 rgba(17, 17, 17, .03);
}
body.ij-landing :is(.rp-item, .rv-row, .sc-item, .db-tile) { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
body.ij-landing :is(.rp-item, .rv-row, .sc-item):hover { transform: translateY(-3px); border-color: #111; box-shadow: var(--ij-shadow); }
body.ij-landing :is(.db-empty, .rp-empty, .rv-empty, .nt-empty) { border-style: dashed; border-width: 2px; }
body.ij-landing :is(.db-empty, .rp-empty, .rv-empty, .nt-empty, .sc-empty) i {
  width: 64px; height: 64px; border-radius: 20px; display: grid !important; place-items: center; margin: 0 auto 14px !important;
  font-size: 1.6rem !important; color: #111 !important; background: var(--ija-sun);
}

/* choices that look like buttons (schedule repeat, days, ends; dashboard toggles) */
body.ij-landing .sc-seg span { border-width: 2px; border-radius: 999px; }
body.ij-landing .sc-seg input:checked + span { background: #111; border-color: #111; color: #fff; }
body.ij-landing .sc-date { background: var(--ija-sun); color: #111; }
body.ij-landing .db-toggle, body.ij-landing .db-history-btn { border-radius: 999px; border-width: 2px; }
body.ij-landing .rv-part.is-on .rv-part-no { background: #111; }

/* ---------- the meeting lobby card (meeting page) ---------- */
body .join-modal-card {
  border: 2px solid #111 !important; border-radius: 24px !important; box-shadow: 10px 10px 0 #111 !important;
}
body .join-modal-card .btn-primary {
  background: #111 !important; border: 2px solid #111 !important; color: #fff !important; border-radius: 999px !important;
  min-height: 48px; font-weight: 700; transition: transform .15s ease, box-shadow .15s ease;
}
body .join-modal-card .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 5px 0 rgba(17, 17, 17, .2) !important; }
body .join-modal-card .form-control {
  border: 2px solid var(--ij-border) !important; border-radius: 14px !important; background: #fff !important; color: #111 !important; min-height: 48px;
}
body .join-modal-card .form-control:focus { border-color: #111 !important; box-shadow: 0 0 0 4px rgba(255, 211, 110, .55) !important; }
body .join-modal-card h3 { font-family: "Space Grotesk", sans-serif; letter-spacing: -.02em; }

/* ---------- meeting room: Teaching / Collaboration / Management menus and the reaction picker ---------- */
body .bar-menu {
  background: #fff; color: #111; border: 2px solid #111; border-radius: 18px; box-shadow: 8px 8px 0 #111; padding: 8px; min-width: 270px;
}
body .bar-menu-title { color: #5d6169; padding: 6px 10px 8px; }
body .bar-menu button { color: #111; border-radius: 12px; gap: 12px; padding: 8px 10px; font-weight: 600; }
body .bar-menu button:hover, body .bar-menu button:focus-visible { background: #f4f3ef; }
body .bar-menu button i {
  width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; color: #111 !important; background: #f4f3ef;
}
body .bar-menu button:nth-of-type(5n+1) i { background: #ffe9b0; }
body .bar-menu button:nth-of-type(5n+2) i { background: #d6ecfc; }
body .bar-menu button:nth-of-type(5n+3) i { background: #d4f0de; }
body .bar-menu button:nth-of-type(5n+4) i { background: #ffd5df; }
body .bar-menu button:nth-of-type(5n+5) i { background: #e7defe; }
body .bar-menu .bar-menu-note { color: #5d6169; }
body #rec-menu-btn i { color: #e0344f !important; }
body .reaction-menu { background: #fff; border: 2px solid #111; box-shadow: 8px 8px 0 #111; }
body .reaction-menu button { border-radius: 12px; transition: transform .15s ease, background-color .15s ease; }
body .reaction-menu button:hover { background: #f4f3ef; transform: translateY(-3px) scale(1.08); }
body .join-modal-card .btn { border-radius: 999px !important; min-height: 46px; font-weight: 700; }
body .join-modal-card .btn-light, body .join-modal-card .btn-secondary { background: #fff !important; border: 2px solid var(--ij-border) !important; color: #111 !important; }
body .join-modal-card .btn-light:hover, body .join-modal-card .btn-secondary:hover { border-color: #111 !important; }
body.ij-landing .sc-mini { border-radius: 999px; border-width: 1.5px; }
body .join-modal-card .btn-outline-light { background: #fff !important; border: 2px solid var(--ij-border) !important; color: #111 !important; }
body .join-modal-card .btn-outline-light:hover { border-color: #111 !important; }

/* =====================================================================
   Meeting room: the side panel (People, Chat, Polls, Quizzes, Rooms)
   and the Attendance / Recordings dialogs, in the Ijlaas look.
   ===================================================================== */
body #right-sidebar { background: #faf9f6 !important; border-left: 1.5px solid var(--ija-line) !important; color: #111 !important; }

/* header: icon, title, what the panel is for */
body #right-sidebar .sb-head { display: flex; align-items: center; gap: 10px; padding: 14px; background: #fff; border-bottom: 1.5px solid var(--ija-line) !important; }
.sb-icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--ija-sun); color: #111; font-size: 1rem; box-shadow: inset 0 0 0 1.5px #111; transition: background-color .2s ease; }
#right-sidebar[data-tab="chat"] .sb-icon { background: #d6ecfc; }
#right-sidebar[data-tab="poll"] .sb-icon { background: #d4f0de; }
#right-sidebar[data-tab="quiz"] .sb-icon { background: #e7defe; }
#right-sidebar[data-tab="breakouts"] .sb-icon { background: #ffd5df; }
.sb-titles { flex: 1; min-width: 0; }
body #right-sidebar .sb-titles h5 { margin: 0; font-family: "Space Grotesk", Inter, sans-serif; font-weight: 700; font-size: 1.08rem; letter-spacing: -.02em; color: #111 !important; }
body #right-sidebar .sb-titles small { display: block; color: var(--ija-muted) !important; font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-iconbtn { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: #374151; transition: background-color .15s ease, transform .15s ease; }
.sb-iconbtn:hover { background: var(--ija-soft); color: #111; }
.sb-iconbtn:active { transform: scale(.94); }
#right-sidebar:not([data-tab="participants"]) .sb-refresh { display: none; }

/* empty states */
.sb-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 34px 18px; color: var(--ija-muted); animation: sbIn .3s ease-out both; }
.sb-empty strong { color: #111; font-size: .95rem; }
.sb-empty small { font-size: .8rem; line-height: 1.45; max-width: 250px; }
.sb-empty-icon { width: 52px; height: 52px; margin-bottom: 4px; display: grid; place-items: center; border-radius: 16px; background: #fff; color: #111; font-size: 1.25rem; box-shadow: inset 0 0 0 1.5px var(--ija-line), 0 6px 16px rgba(17, 17, 17, .06); }
@keyframes sbIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* People: see the "People panel" section further down. */
body #right-sidebar h6 { color: #111 !important; }
body #right-sidebar .text-white-50, body #right-sidebar .text-secondary, body #right-sidebar .text-muted { color: var(--ija-muted) !important; }
body #right-sidebar .text-white { color: #111 !important; }

/* Chat */
body #chat-area { background: #faf9f6 !important; padding: 14px 12px !important; }
body #chat-area:empty { display: flex; align-items: center; justify-content: center; }
body #chat-area:empty::before { content: "No messages yet. Say hello to the class!"; color: var(--ija-muted); font-size: .85rem; padding: 0 30px; text-align: center; }
body #right-sidebar .chat-msg {
  max-width: 86%; padding: 8px 12px !important; border: 0 !important; border-radius: 16px 16px 16px 6px !important; margin-bottom: 8px;
  background: #fff !important; color: #111 !important; box-shadow: inset 0 0 0 1.5px var(--ija-line); animation: sbIn .2s ease-out both;
}
body #right-sidebar .chat-msg.mine { margin-left: auto; border-radius: 16px 16px 6px 16px !important; background: #111 !important; color: #fff !important; box-shadow: none; }
.chat-who { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 2px; font-size: .72rem; font-weight: 800; color: #0b4a73; }
.chat-msg.mine .chat-who { color: var(--ija-sun); }
.chat-who time { color: var(--ija-muted); font-weight: 600; font-size: .66rem; }
.chat-msg.mine .chat-who time { color: rgba(255, 255, 255, .6); }
body #right-sidebar .chat-msg.mine a { color: var(--ija-sun) !important; }
body #right-sidebar .chat-composer { background: #fff !important; border-top: 1.5px solid var(--ija-line) !important; padding: 10px 12px 12px !important; }
body #right-sidebar .chat-composer .input-group { align-items: center; gap: 6px; padding: 4px; border-radius: 999px; background: var(--ija-soft); box-shadow: inset 0 0 0 1.5px var(--ija-line); flex-wrap: nowrap; transition: box-shadow .15s ease; }
body #right-sidebar .chat-composer .input-group:focus-within { box-shadow: inset 0 0 0 1.5px #111, 0 0 0 4px rgba(255, 211, 110, .55); }
body #right-sidebar #chat-input { background: transparent !important; color: #111 !important; border: 0 !important; box-shadow: none !important; padding: 6px 4px; border-radius: 0 !important; }
body #right-sidebar #chat-input::placeholder { color: #8a8d93; }
body #right-sidebar #chat-attach-btn, body #right-sidebar #chat-send-btn { flex: none; width: 36px; height: 36px; padding: 0; display: grid; place-items: center; border-radius: 50% !important; border: 0 !important; }
body #right-sidebar #chat-attach-btn { background: transparent !important; color: #4b5563 !important; }
body #right-sidebar #chat-attach-btn:hover { background: #fff !important; color: #111 !important; }
body #right-sidebar #chat-send-btn { background: #111 !important; color: #fff !important; transition: transform .15s ease; }
body #right-sidebar #chat-send-btn:hover { transform: scale(1.06); }

/* Polls */
body #poll-area { background: #faf9f6 !important; color: #111 !important; }
body #poll-area .poll-question { color: #111 !important; font-family: "Space Grotesk", Inter, sans-serif; font-size: 1.02rem; font-weight: 700; margin-bottom: 12px; }
body #poll-area .poll-option {
  position: relative; overflow: hidden; width: 100%; margin-bottom: 8px; padding: 11px 12px; border-radius: 14px !important;
  background: #fff !important; color: #111 !important; border: 1.5px solid var(--ija-line) !important; text-align: left;
  transition: border-color .15s ease, transform .15s ease;
}
body #poll-area .poll-option:hover:not(:disabled) { border-color: #111 !important; transform: translateY(-1px); }
body #poll-area .poll-option * { color: #111 !important; }
body #poll-area .poll-bar { background: linear-gradient(90deg, #ffd36e, #ff9db5) !important; transition: width .4s ease; }
body #right-sidebar #poll-area > .sb-empty { border: 0 !important; background: transparent !important; color: var(--ija-muted) !important; }
body #right-sidebar #poll-area > .sb-empty strong, body #right-sidebar #poll-area > .sb-empty .sb-empty-icon, body #right-sidebar #poll-area > .sb-empty i { color: #111 !important; }
body #right-sidebar #poll-area > .sb-empty small { color: var(--ija-muted) !important; }
body #right-sidebar #poll-area > div:not(.sb-empty) { border: 1.5px solid var(--ija-line) !important; border-radius: 16px !important; background: #fff !important; }
body #poll-area .poll-status { background: var(--ija-soft) !important; color: #111 !important; border-radius: 99px; }
body #right-sidebar #poll-host-actions { background: #fff !important; border-top: 1.5px solid var(--ija-line) !important; }

/* buttons inside the panel follow the meeting's look */
body #right-sidebar .btn { border-radius: 999px !important; font-weight: 700; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background-color .15s ease; }
body #right-sidebar .btn-primary { background: #111 !important; border-color: #111 !important; color: #fff !important; }
body #right-sidebar .btn-primary:hover { box-shadow: 0 4px 0 rgba(17, 17, 17, .18); transform: translateY(-1px); }
body #right-sidebar .btn-outline-light, body #right-sidebar .btn-secondary, body #right-sidebar .btn-outline-primary,
body #right-sidebar .btn-dark, body #right-sidebar .btn-outline-secondary, body #right-sidebar .btn-outline-info {
  background: #fff !important; border: 1.5px solid var(--ija-line) !important; color: #111 !important;
}
body #right-sidebar .btn-outline-light:hover, body #right-sidebar .btn-secondary:hover, body #right-sidebar .btn-outline-primary:hover,
body #right-sidebar .btn-dark:hover, body #right-sidebar .btn-outline-secondary:hover, body #right-sidebar .btn-outline-info:hover { border-color: #111 !important; }
body #right-sidebar .btn-success, body #right-sidebar .btn-warning { background: var(--ija-sun) !important; border: 1.5px solid #111 !important; color: #111 !important; }
body #right-sidebar .btn-danger, body #right-sidebar .btn-outline-danger { background: #fff !important; border: 1.5px solid #f6c5cd !important; color: #c0262d !important; }
body #right-sidebar .btn-outline-danger:hover, body #right-sidebar .btn-danger:hover { background: #c0262d !important; border-color: #c0262d !important; color: #fff !important; }
body #right-sidebar .form-control, body #right-sidebar .form-select { background: #fff !important; color: #111 !important; border: 1.5px solid var(--ija-line) !important; border-radius: 12px; }
body #right-sidebar .form-control:focus, body #right-sidebar .form-select:focus { border-color: #111 !important; box-shadow: 0 0 0 4px rgba(255, 211, 110, .55) !important; }

/* Quizzes */
.qz-head-label { margin: 0; color: var(--ija-muted) !important; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
body #right-sidebar .qz-verify { background: #fffaf0 !important; border: 1.5px solid #f3dfa6 !important; border-radius: 14px !important; color: #111 !important; }
body #right-sidebar .qz-item { background: #fff !important; color: #111 !important; border: 1.5px solid var(--ija-line) !important; border-radius: 14px !important; transition: border-color .15s ease; }
body #right-sidebar .qz-item:hover { border-color: #111 !important; }

/* Breakout rooms */
body #right-sidebar .breakout-person { background: var(--ija-soft) !important; color: #111 !important; border-radius: 99px !important; }
body #right-sidebar .badge { border-radius: 99px; }

/* the poll and breakout "create" dialogs */
body #poll-modal .form-control, body #breakout-modal .form-control, body #poll-modal .form-select, body #breakout-modal .form-select {
  background: #fff !important; color: #111 !important; border: 1.5px solid var(--ija-line) !important; border-radius: 12px;
}
body #poll-modal .form-control:focus, body #breakout-modal .form-control:focus { border-color: #111 !important; box-shadow: 0 0 0 4px rgba(255, 211, 110, .55) !important; }

/* ---------- dialogs: Attendance, Recordings ---------- */
.dlg-head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; padding-right: 44px; }
.dlg-head h3 { margin: 0; }
.dlg-icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; color: #111; font-size: 1.1rem; box-shadow: inset 0 0 0 1.5px #111; background: var(--ija-sun); }
.dlg-icon.is-green { background: #d4f0de; }
.dlg-icon.is-rose { background: #ffd5df; }
body .join-modal-card .modal-close-x { width: 38px; height: 38px; border-radius: 50%; background: var(--ija-soft) !important; color: #111 !important; border: 0; transition: background-color .15s ease, transform .2s ease; }
body .join-modal-card .modal-close-x:hover { background: #111 !important; color: #fff !important; transform: rotate(90deg); }
#attendance-summary, #recordings-summary { margin: 2px 0 16px 56px; font-size: .86rem; }

body .att-tile {
  position: relative; padding: 12px 14px 12px 18px !important; border-radius: 16px !important; overflow: hidden;
  background: #fff !important; border: 1.5px solid var(--ija-line) !important; color: #111 !important;
}
body .att-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--ija-sun); }
body .att-tile:nth-child(2)::before { background: #9be3b4; }
body .att-tile:nth-child(3)::before { background: #7fc8f8; }
body .att-tile:nth-child(4)::before { background: #ff9db5; }
body .att-tile small, body .att-tile em { color: var(--ija-muted) !important; opacity: 1; }
body .att-tile strong { font-family: "Space Grotesk", Inter, sans-serif; font-size: 1.55rem; letter-spacing: -.02em; }
body .attendance-scroll { border: 1.5px solid var(--ija-line) !important; border-radius: 16px !important; background: #fff; }
body .attendance-table thead th { position: sticky; top: 0; z-index: 1; background: #faf9f6 !important; color: var(--ija-muted) !important; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1.5px solid var(--ija-line) !important; }
body .attendance-table tbody tr { transition: background-color .15s ease; }
body .attendance-table tbody tr:hover td { background: #fffaf0 !important; }
body .attendance-table td { border-color: #f0eee9 !important; }
body .attendance-table .badge.bg-primary { background: var(--ija-sun) !important; color: #111 !important; border-radius: 99px; }
body .att-bar { background: var(--ija-soft) !important; border-radius: 99px; }
body .att-bar i { background: linear-gradient(90deg, #7fc8f8, #2fbf71) !important; border-radius: 99px; }

body .rec-row { border: 1.5px solid var(--ija-line) !important; border-radius: 16px !important; background: #fff !important; transition: border-color .15s ease, transform .15s ease; animation: sbIn .25s ease-out both; }
body .rec-row:hover { border-color: #111 !important; transform: translateY(-1px); }
body .rec-row-icon { background: #ffd5df !important; color: #111 !important; border-radius: 12px !important; }

@media (max-width: 575px) {
  #attendance-summary, #recordings-summary { margin-left: 0; }
}
body .rec-empty { padding: 22px 18px; border: 1.5px dashed var(--ija-line); border-radius: 16px; background: #faf9f6; }
body .rec-empty b { color: #111; }
@media (max-width: 575px) {
  body .att-actions .btn, body .recordings-card .btn { white-space: nowrap; font-size: .84rem; padding-left: 12px; padding-right: 12px; }
}

/* whiteboard: who can draw */
.p-chip.is-draw { background: #111; color: #ffd36e; }
.p-chip.is-draw i { font-size: .6rem; margin-right: 2px; }

/* =====================================================================
   People panel: the waiting room, raised hands and everyone in the
   meeting, as flat rows inside white boxes. Colour only where it means
   something (speaking, a raised hand, a switched-off mic or camera).
   Motion is kept to hover colour changes and the spinner shown while a
   change is being saved.
   ===================================================================== */
body #right-sidebar #participants-tab { padding: 12px !important; }

/* search */
body #right-sidebar .sb-search {
  display: flex; align-items: center; gap: 8px; height: 38px; margin: 0 0 14px; padding: 0 12px; border-radius: 10px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--ija-line); color: #8a8d93; font-size: .85rem; cursor: text;
  transition: box-shadow .12s ease;
}
body #right-sidebar .sb-search:focus-within { box-shadow: inset 0 0 0 1.5px #111; color: #111; }
body #right-sidebar .sb-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #111; font-size: .86rem; }

/* sections: a small header (icon, title, count, actions) over a box of rows */
.p-group { margin: 0 0 16px; }
.p-group-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; margin: 0 2px 6px; }
body #right-sidebar .p-group-head h6 {
  display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ija-muted) !important;
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.p-group-head h6 > i { width: 14px; text-align: center; font-size: .78rem; color: #6b7280; }
.p-group.is-waiting .p-group-head h6 > i,
.p-group.is-hands .p-group-head h6 > i { color: #b45309; }
.p-count { min-width: 20px; padding: 1px 7px; border-radius: 99px; background: #eceae5; color: #111; font-size: .68rem; font-weight: 700; letter-spacing: 0; text-align: center; }
.p-group.is-waiting .p-count { background: #fde68a; }
.p-count:empty { display: none; }
.p-group-actions { display: flex; align-items: center; gap: 2px; }
.p-textbtn {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 9px; border: 0; border-radius: 8px;
  background: transparent; color: #374151; font-size: .76rem; font-weight: 600; white-space: nowrap;
  transition: background-color .12s ease, color .12s ease;
}
.p-textbtn i { font-size: .72rem; }
.p-textbtn:hover { background: #eceae5; color: #111; }
.p-textbtn.is-strong { color: #111; }
.p-textbtn:focus-visible, .wr-btn:focus-visible, button.p-media:focus-visible, .p-more:focus-visible { outline: 2px solid #111; outline-offset: 1px; }

.p-rows {
  display: flex; flex-direction: column; gap: 1px; margin: 0; padding: 4px; list-style: none;
  border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--ija-line);
}
.p-group.is-waiting .p-rows { background: #fffdf5; box-shadow: inset 0 0 0 1px #f3d58a; }

/* one row: avatar, name and a quiet second line, actions on the right */
body #right-sidebar .p-card, .wr-row, body #right-sidebar .hand-queue li.hq-row {
  display: flex !important; align-items: center; justify-content: flex-start !important; gap: 10px; min-height: 52px;
  margin: 0 !important; padding: 7px 8px !important; border: 0 !important; border-radius: 8px !important;
  background: transparent !important; color: #111 !important; box-shadow: none !important; transform: none !important;
  animation: none !important; transition: background-color .12s ease;
}
body #right-sidebar .p-card:hover, .wr-row:hover, body #right-sidebar .hand-queue li.hq-row:hover { background: #f6f5f1 !important; }
body #right-sidebar .p-card.has-hand { background: #fffbeb !important; }
body #right-sidebar .p-card[hidden] { display: none !important; }
.wr-row.is-busy { opacity: .7; }

.p-avatar {
  position: relative; width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: var(--av, #ffd36e); color: #111; font-weight: 700; font-size: .84rem;
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .12); transition: box-shadow .15s ease;
}
.p-avatar.is-speaking { box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .12), 0 0 0 2px #fff, 0 0 0 4px #16a34a; }
.p-hand {
  position: absolute; right: -5px; bottom: -5px; width: 18px; height: 18px; display: grid; place-items: center;
  border-radius: 50%; background: #f59e0b; color: #111; font-size: .55rem; box-shadow: 0 0 0 2px #fff;
}
.p-info { flex: 1; min-width: 0; }
.p-name { display: flex; align-items: center; gap: 6px; min-width: 0; color: #111; font-size: .86rem; font-weight: 600; line-height: 1.25; }
.p-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-you, .p-tag {
  flex: none; padding: 1px 6px; border-radius: 99px; background: #eceae5; color: #4b5563;
  font-size: .62rem; font-style: normal; font-weight: 700; letter-spacing: .02em;
}
.p-tag.is-invited { background: #dcfce7; color: #166534; }
body #right-sidebar .p-sub, body #right-sidebar .attendee-email {
  display: flex; align-items: center; gap: 5px; min-width: 0; margin-top: 2px; color: var(--ija-muted) !important;
  font-size: .73rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body #right-sidebar .attendee-email { display: block; }
.p-sub i { font-size: .62rem; }
.p-dot { color: #c2c0ba; }
.p-role-host { display: inline-flex; align-items: center; gap: 4px; color: #92400e; font-weight: 700; }
.p-role-host i { color: #d97706; }
.p-role-draw { display: inline-flex; align-items: center; gap: 4px; color: #111; font-weight: 600; }

/* mic and camera: neutral when on, red when off, red box and lock when the host switched it off */
.p-acts { display: flex; align-items: center; gap: 2px; flex: none; }
.p-media {
  position: relative; width: 30px; height: 30px; flex: none; display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 8px; background: transparent; font-size: .82rem; box-shadow: none; transform: none;
  transition: background-color .12s ease, color .12s ease;
}
.p-media.is-on { color: #374151; }
.p-media.is-off { color: #dc2626; }
.p-media.is-locked { background: #fef2f2; color: #b91c1c; box-shadow: inset 0 0 0 1px #fecaca; }
button.p-media { cursor: pointer; }
button.p-media:hover { background: #eceae5; box-shadow: none; transform: none; }
button.p-media.is-locked:hover { background: #fee2e2; box-shadow: inset 0 0 0 1px #fca5a5; }
button.p-media:active { transform: none; }
.p-media.is-pending, button.p-media.is-pending:hover { cursor: progress; background: #f4f3ef; box-shadow: none; }
.p-lock {
  position: absolute; right: -3px; bottom: -3px; width: 13px; height: 13px; display: grid; place-items: center;
  border-radius: 50%; background: #b91c1c; color: #fff; font-size: .45rem; box-shadow: 0 0 0 2px #fff; animation: none;
}

/* the spinner while a change is being saved */
.p-spin {
  display: inline-block; width: 15px; height: 15px; flex: none; border-radius: 50%;
  border: 2px solid rgba(17, 17, 17, .15); border-top-color: #111; animation: pSpin .7s linear infinite;
}
@keyframes pSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .p-spin { animation-duration: 1.6s; } }

.p-more {
  width: 28px; height: 30px; flex: none; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px;
  background: transparent; color: #6b7280; transition: background-color .12s ease, color .12s ease;
}
.p-more:hover, .p-more[aria-expanded="true"] { background: #eceae5; color: #111; }

/* waiting room: deny (icon) and admit (labelled) */
.wr-acts { display: flex; align-items: center; gap: 6px; flex: none; }
.wr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 11px;
  border: 1px solid var(--ija-line); border-radius: 8px; background: #fff; color: #111; font-size: .76rem; font-weight: 600;
  transition: background-color .12s ease, border-color .12s ease, color .12s ease;
}
.wr-btn i { font-size: .74rem; }
.wr-btn.is-deny { width: 30px; padding: 0; color: #b91c1c; }
.wr-btn.is-deny:hover { background: #fef2f2; border-color: #fecaca; }
.wr-btn.is-admit { background: #111; border-color: #111; color: #fff; }
.wr-btn.is-admit:hover { background: #2a2a2a; border-color: #2a2a2a; }

/* raised hands: queue number, name, Lower */
body #right-sidebar .hand-queue { counter-reset: hand; }
body #right-sidebar .hand-queue li.hq-row { counter-increment: hand; min-height: 44px; font-size: .86rem; }
body #right-sidebar .hand-queue li.hq-row::before {
  content: counter(hand); flex: 0 0 22px; height: 22px; display: grid; place-items: center; border-radius: 6px;
  background: #fef3c7; color: #92400e; font-size: .72rem; font-weight: 700;
}
body #right-sidebar .hand-queue .hand-name {
  display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600;
}

.p-nomatch { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px 8px; color: var(--ija-muted); font-size: .84rem; }

/* the person menu (the ellipsis on a row) */
.p-menu {
  position: fixed; z-index: 3000; width: 248px; padding: 6px; border-radius: 12px; background: #fff;
  border: 1px solid var(--ija-line); box-shadow: 0 12px 32px rgba(17, 17, 17, .14), 0 2px 6px rgba(17, 17, 17, .06);
}
.p-menu[hidden] { display: none; }
.p-menu-head { display: flex; align-items: center; gap: 10px; padding: 6px 8px 8px; margin-bottom: 4px; border-bottom: 1px solid var(--ija-line); }
.p-menu-head .p-avatar { width: 28px; height: 28px; font-size: .76rem; }
.p-menu-head strong { color: #111; font-size: .88rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-menu-item {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px;
  background: transparent; color: #111; font-size: .84rem; font-weight: 500; text-align: left; transition: background-color .12s ease;
}
.p-menu-item i { width: 16px; text-align: center; color: #6b7280; }
.p-menu-item:hover, .p-menu-item:focus-visible { background: #f4f3ef; outline: none; }
.p-menu-item.is-danger, .p-menu-item.is-danger i { color: #b91c1c; }
.p-menu-item.is-danger:hover { background: #fef2f2; }
.p-menu-note { display: flex; align-items: center; gap: 10px; padding: 8px 10px; color: var(--ija-muted); font-size: .8rem; }
.p-menu-sep { height: 1px; margin: 4px 6px; background: var(--ija-line); }

/* The control bar: a mic or camera the host switched off. */
.control-bar .is-locked { position: relative; color: #c0262d !important; background: #fdecef !important; cursor: not-allowed; }
.media-lock {
  position: absolute; right: 2px; bottom: 2px; width: 16px; height: 16px; display: grid; place-items: center;
  border-radius: 50%; background: #c0262d; color: #fff; font-size: .52rem; box-shadow: 0 0 0 2px #fff;
}

/* =====================================================================
   Meeting header: one slim row
   ===================================================================== */
body .meeting-header.glass-panel {
  min-height: 0 !important; height: 58px; padding: 0 16px !important; gap: 12px !important;
  flex-direction: row !important; align-items: center !important; flex-wrap: nowrap;
}
body .meeting-back.meeting-logo { width: 34px; height: 34px; flex-basis: 34px; }
body .meeting-back.meeting-logo .ija-mark { width: 30px; height: 30px; }
body .meeting-title { display: flex; align-items: center; gap: 10px; min-width: 0 !important; width: auto !important; flex: 1 1 auto; }
body .meeting-title h4 { min-width: 0; font-size: 15px !important; line-height: 1.2; }
body .meeting-title h4 .fa-circle { font-size: .5rem; color: #2fbf71; animation: ijaLive 2s ease-in-out infinite; }
body #meeting-title-text { max-width: 36vw; }
.meeting-code {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px;
  border: 1.5px solid var(--ija-line); background: var(--ija-soft); color: #374151;
  font-size: .76rem; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums;
  transition: border-color .15s ease, background-color .15s ease;
}
.meeting-code > .fa-hashtag { color: #9ca3af; font-size: .7rem; }
.meeting-code-copy { opacity: .55; transition: opacity .15s ease; }
.meeting-code:hover { border-color: #111; background: #fff; }
.meeting-code:hover .meeting-code-copy { opacity: 1; }
body .top-actions { width: auto !important; flex: none; align-items: center; }
body .top-actions .btn { height: 36px; display: inline-flex; align-items: center; gap: 4px; border-radius: 999px !important; padding: 0 14px; font-weight: 700; }

/* ---- header polish ---- */
body .meeting-header.glass-panel {
  position: relative; z-index: 20;
  background: rgba(255, 255, 255, .86) !important;
  backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid rgba(17, 17, 17, .07) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 10px 24px -20px rgba(15, 23, 42, .45);
  animation: ijaHeaderIn .45s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes ijaHeaderIn { from { opacity: 0; transform: translateY(-8px); } }
/* Small badges pop in (people count badges, lock badges). */
@keyframes sbPop { from { opacity: 0; transform: scale(.4); } }

/* Logo: a soft lift on hover. */
body .meeting-back.meeting-logo { border-radius: 11px; transition: transform .2s cubic-bezier(.3, 1.5, .5, 1), box-shadow .2s ease; }
body .meeting-back.meeting-logo:hover { background: transparent; transform: translateY(-1px) rotate(-4deg); box-shadow: 3px 3px 0 #111; }

/* Title: live dot with a pulsing halo; the rename pen shows when you point at the title. */
body .meeting-title h4 { gap: 8px !important; color: #111; font-weight: 700 !important; }
body .meeting-title h4 .fa-circle {
  position: relative; flex: none; width: 8px; height: 8px; font-size: 0 !important; border-radius: 50%;
  background: #2fbf71; animation: none; box-shadow: 0 0 0 0 rgba(47, 191, 113, .55);
  animation: ijaLiveHalo 2s ease-out infinite;
}
@keyframes ijaLiveHalo { 0% { box-shadow: 0 0 0 0 rgba(47, 191, 113, .55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(47, 191, 113, 0); } }
body #rename-meeting-btn { width: 26px; height: 26px; opacity: .45; background: transparent; color: #4b5563; transition: opacity .15s ease, background-color .15s ease, transform .15s ease; }
body .meeting-title h4:hover #rename-meeting-btn, body #rename-meeting-btn:focus-visible { opacity: 1; background: var(--ija-soft); }
body #rename-meeting-btn:hover { transform: rotate(-12deg); }

/* Meeting code: a tidy chip that pops when copied. */
.meeting-code { cursor: pointer; }
.meeting-code:active { transform: scale(.96); }

/* People: one pill toggle with the count; dark while the panel is open. */
.header-people {
  position: relative; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px 0 12px;
  border: 1.5px solid var(--ija-line); border-radius: 999px; background: #fff; color: #111;
  font-size: .82rem; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .15s ease;
}
.header-people i { font-size: .85rem; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.header-people:hover { border-color: #111; box-shadow: 3px 3px 0 #111; transform: translate(-1px, -1px); }
.header-people:hover i { transform: scale(1.12); }
.header-people:active { transform: translate(1px, 1px); box-shadow: 0 0 0 #111; }
.header-people:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #111; }
.header-people[aria-expanded="true"] { background: #111; border-color: #111; color: #fff; box-shadow: none; transform: none; }
.header-people[aria-expanded="true"] i { color: #ffd36e; }
.header-people .badge {
  min-width: 18px; height: 18px; padding: 0 5px !important; display: inline-grid; place-items: center; margin-left: 0 !important;
  border-radius: 999px; font-size: .66rem; line-height: 1; animation: sbPop .25s cubic-bezier(.3, 1.6, .5, 1);
}
.header-people .badge.d-none { display: none !important; }

@media (max-width: 575px) {
  body .meeting-header.glass-panel { height: 52px; padding: 0 10px !important; gap: 8px !important; }
  .header-people { height: 34px; padding: 0 11px 0 10px; gap: 6px; }
  .meeting-code span, .meeting-code > .fa-hashtag { display: none !important; }
  .meeting-code .meeting-code-copy { opacity: .8; }
  .meeting-code { width: 28px; padding: 0; justify-content: center; }
  body #meeting-title-text { max-width: 40vw; }
}

/* ---------- Live transcript: header chip and side panel ---------- */
.cc-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; flex: none;
  border: 1.5px solid var(--ija-line); border-radius: 999px; background: #fff; color: #111;
  font-size: .78rem; font-weight: 700; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.cc-chip i { color: #15803d; font-size: .9rem; }
.cc-chip:hover { background: var(--ija-soft); border-color: #111; }
.cc-chip:focus-visible { outline: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #111; }

#right-sidebar[data-tab="transcript"] .sb-icon { background: #ffe9b8; }
.tr-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #fff; border-bottom: 1.5px solid var(--ija-line); }
.tr-bar label { margin: 0; flex: none; color: #5d6169; font-size: .76rem; font-weight: 600; }
.tr-bar select {
  flex: 1; min-width: 0; height: 34px; padding: 0 10px; border: 1.5px solid var(--ija-line); border-radius: 10px;
  background: #fff; color: #111; font-size: .84rem; font-weight: 600;
}
.tr-bar select:focus-visible { outline: none; border-color: #111; }
.tr-bar select:disabled { background: var(--ija-soft); color: #8a8d93; }
.tr-area { display: flex; flex-direction: column; gap: 12px; padding: 14px; }
.tr-area > .sb-empty { margin: auto 0; }
.tr-row { padding-left: 10px; border-left: 3px solid var(--tr-color, var(--ija-line)); }
.tr-meta { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-size: .76rem; }
.tr-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #111; font-weight: 700; }
.tr-meta time { flex: none; color: #8a8d93; font-variant-numeric: tabular-nums; }
.tr-tag { display: none; flex: none; padding: 1px 7px; border-radius: 999px; background: #eceae5; color: #5d6169; font-size: .66rem; font-style: normal; font-weight: 600; }
.tr-row.is-original .tr-tag { display: inline-block; }
.tr-text { margin: 2px 0 0; color: #1f2937; font-size: .9rem; line-height: 1.5; overflow-wrap: anywhere; unicode-bidi: plaintext; }
.tr-row.is-pending .tr-text { color: #8a8d93; }
@media (max-width: 640px) {
  .cc-chip { width: 34px; height: 34px; padding: 0; justify-content: center; }
  .cc-chip span { display: none; }
}
