:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --surface-2: #efede8;
  --text: #1d1c1a;
  --muted: #6b6862;
  --line: #e2dfd8;
  --accent: #d9480f;
  --accent-soft: #fde8dd;
  --ok: #2b8a3e;
  --ok-soft: #e3f4e6;
  --warn: #b7791f;
  --warn-soft: #fbf0d9;
  --bad: #c92a2a;
  --bad-soft: #fde3e3;
  --focus: #c2410c;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161514;
    --surface: #1f1e1c;
    --surface-2: #2a2826;
    --text: #ecebe8;
    --muted: #a19d96;
    --line: #34322f;
    --accent: #ff7a45;
    --accent-soft: #3a2218;
    --ok: #69db7c;
    --ok-soft: #1c3322;
    --warn: #f0b955;
    --warn-soft: #3a2f17;
    --bad: #ff8787;
    --bad-soft: #3d1f1f;
    --focus: #ff8a50;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0 0 8px; line-height: 1.2; }
h1 { font-size: 20px; }
h2 { font-size: 16px; }
h3 { font-size: 14px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
a { color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.num { font-variant-numeric: tabular-nums; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}
input, select, textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 10px;
  min-width: 0;
}
textarea { width: 100%; resize: vertical; min-height: 70px; }
input:focus, select:focus, textarea:focus, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
button {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  padding: 7px 12px;
  cursor: pointer;
  white-space: nowrap;
}
button:hover { background: var(--surface-2); }
button:disabled { opacity: 0.5; cursor: default; }
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
button.primary:hover { filter: brightness(1.05); }
button.ghost { border-color: transparent; background: transparent; }
button.danger { color: var(--bad); }
button.sm { padding: 3px 8px; font-size: 12px; }
button.on { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }

.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.grow { flex: 1; }
.stack > * + * { margin-top: 10px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 16px; align-items: start; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; padding: 2px 8px; border-radius: 99px;
  background: var(--surface-2); color: var(--muted);
}
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.bad { background: var(--bad-soft); color: var(--bad); }
.chip.focus { background: var(--accent-soft); color: var(--focus); }

/* ---------- Layout ---------- */
.topbar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 700; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
.shell { display: grid; grid-template-columns: 200px 1fr; min-height: calc(100vh - 54px); }
nav.side { padding: 12px 8px; border-right: 1px solid var(--line); }
nav.side a {
  display: block; padding: 7px 10px; border-radius: 8px;
  color: var(--text); text-decoration: none;
}
nav.side a:hover { background: var(--surface-2); }
nav.side a.active { background: var(--accent-soft); color: var(--focus); font-weight: 600; }
nav.side .sep { height: 1px; background: var(--line); margin: 8px 6px; }
main { padding: 20px; max-width: 1200px; width: 100%; min-width: 0; }

@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  nav.side { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 6px; }
  nav.side .sep { display: none; }
  nav.side a { white-space: nowrap; flex: none; }
  main { padding: 14px; }
}

/* ---------- Asistencia en la barra ---------- */
.clock { display: flex; align-items: center; gap: 6px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); display: inline-block; }
.dot.ok { background: var(--ok); }
.dot.warn { background: var(--warn); }
.dot.focus { background: var(--focus); }

/* ---------- Oficina ---------- */
.pomo { text-align: center; }
.pomo .time { font-size: 56px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1; margin: 8px 0; }
.pomo.focus .time { color: var(--focus); }
.pomo.break .time { color: var(--ok); }
.bar { height: 6px; background: var(--surface-2); border-radius: 99px; overflow: hidden; margin: 10px 0; }
.bar > i { display: block; height: 100%; background: var(--accent); transition: width 1s linear; }
.member { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.member:last-child { border-bottom: 0; }
.avatar {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
  background: var(--surface-2);
}
.avatar.speaking { box-shadow: 0 0 0 2px var(--ok); }
.viewer video { width: 100%; max-height: 70vh; background: #000; border-radius: 8px; }

/* ---------- Tareas ---------- */
.task { display: flex; gap: 8px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); }
.task:last-child { border-bottom: 0; }
.task .title { font-weight: 500; }
.task.done .title { text-decoration: line-through; color: var(--muted); }
.task .meta { font-size: 12px; color: var(--muted); }
.check { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px; align-items: start; }

/* ---------- Tablas ---------- */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; }
td.num, th.num { text-align: right; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 10px; }
.stat { background: var(--surface-2); border-radius: 8px; padding: 10px; }
.stat b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; color: var(--muted); }

/* ---------- Login ---------- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.auth .card { width: 100%; max-width: 380px; }
.auth label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 4px; }
.auth input { width: 100%; }
.tabs { display: flex; gap: 4px; margin-bottom: 12px; }
.tabs button { flex: 1; }
.tabs button.active { background: var(--accent-soft); border-color: var(--accent); color: var(--focus); font-weight: 600; }

.error { color: var(--bad); font-size: 13px; min-height: 18px; }
.toast {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px;
  font-size: 13px; z-index: 50; max-width: calc(100% - 32px);
}
.codebox { font: 600 22px/1.2 ui-monospace, Consolas, monospace; letter-spacing: 0.12em; background: var(--surface-2); padding: 10px 14px; border-radius: 8px; display: inline-block; }
dialog { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); max-width: 440px; width: calc(100% - 32px); }
dialog::backdrop { background: rgba(0, 0, 0, 0.35); }
.hidden { display: none !important; }

/* ---------- Jerarquía de tarjetas ---------- */
/* card = contenido principal · card.hero = lo que estás haciendo ahora · panel = apoyo, más discreto */
.card.hero { border: 1px solid var(--accent); border-left-width: 4px; box-shadow: 0 6px 20px -12px rgba(217, 72, 15, 0.45); }
.card.hero h2 { font-size: 20px; }
.card.closing { border-color: var(--accent); background: var(--accent-soft); }
.card.attention { border-color: var(--warn); background: var(--warn-soft); }
.panel { background: var(--surface-2); border-radius: var(--radius); padding: 14px 16px; }
.panel textarea { background: var(--surface); }
.label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin: 12px 0 4px; }
button.danger-fill { background: var(--bad); border-color: var(--bad); }

/* ---------- Mi día ---------- */
.day-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.day-head h1 { margin: 0; font-size: 24px; }
.kpis { display: flex; gap: 8px; flex-wrap: wrap; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; min-width: 90px; }
.kpi b { display: block; font-size: 18px; }
.kpi span { font-size: 12px; color: var(--muted); }
.day-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 16px; align-items: start; }
@media (max-width: 900px) { .day-grid { grid-template-columns: 1fr; } }
.check-row { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.check-row.done span { text-decoration: line-through; color: var(--muted); }
.done-list { margin-top: 8px; }
.done-list summary { cursor: pointer; }
.bar.slim { height: 4px; margin: 6px 0 4px; }
.bar.slim > i { background: var(--ok); }
.task .title { font-size: 15px; }
.mini-task { display: flex; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mini-task:last-child { border-bottom: 0; }

/* ---------- Calendario y banco de horas ---------- */
.balances { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 300px)); gap: 12px; margin-bottom: 16px; }
.balance { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.balance.owing { border-color: var(--warn); }
.balance .who { font-weight: 600; }
.balance .big { font-size: 28px; font-weight: 700; line-height: 1.1; }
.balance.owing .big { color: var(--warn); }
.balance .ledger { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--muted); margin: 4px 0 6px; }
.hours-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 16px; align-items: start; margin-top: 16px; }
@media (max-width: 960px) { .hours-grid { grid-template-columns: 1fr; } }
.cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.cal .dow { font-size: 12px; color: var(--muted); font-weight: 600; text-align: center; padding: 4px 0; }
.cal .day {
  min-height: 78px; padding: 4px 5px; text-align: left; display: flex; flex-direction: column; gap: 2px; align-items: stretch;
  border-radius: 8px; background: var(--surface); border: 1px solid var(--line); white-space: normal; overflow: hidden;
}
.cal .day.out { opacity: 0.4; }
.cal .day.today .dnum { background: var(--accent); color: #fff; border-radius: 99px; padding: 0 6px; }
.cal .day.selected { outline: 2px solid var(--accent); outline-offset: -1px; }
.cal .dnum { font-size: 12px; font-weight: 600; align-self: flex-start; }
.ev { display: block; font-size: 11px; line-height: 1.3; padding: 1px 5px; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.legend .ev { display: inline-block; }
.ev.leave.approved { background: var(--warn-soft); color: var(--warn); }
.ev.leave.pending { border: 1px dashed var(--warn); color: var(--warn); }
.ev.rec.scheduled { border: 1px dashed var(--accent); color: var(--focus); }
.ev.rec.done { background: var(--ok-soft); color: var(--ok); }
.att { display: inline-flex; gap: 3px; margin-top: auto; }
.att i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.att i.ok { background: var(--ok); }
.att i.warn { background: var(--warn); }
.att i.bad { background: var(--bad); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-top: 10px; }
.line { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.line:last-child { border-bottom: 0; }
.mini-form { margin-top: 14px; padding-top: 4px; border-top: 1px solid var(--line); }
.mini-form select { padding: 5px 6px; }
details > summary { cursor: pointer; }
@media (max-width: 600px) { .cal .day { min-height: 56px; } .ev { font-size: 10px; padding: 0 3px; } }

/* ---------- Deudas de tiempo ---------- */
.debt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 14px; margin-bottom: 16px; }
.card.debt.owing { border-color: var(--warn); }
.debt-totals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 4px; }
.debt-total { background: var(--surface-2); border-radius: 8px; padding: 10px 12px; }
.debt-total b { display: block; font-size: 22px; line-height: 1.15; }
.debt-total span { font-size: 12px; color: var(--muted); }
.warn-text { color: var(--warn); }
.review { margin-top: 8px; padding: 4px 10px; background: var(--bad-soft); border-radius: 8px; }
.review .label { color: var(--bad); }
.owed-box { background: var(--warn-soft); color: var(--warn); border-radius: 8px; padding: 10px 12px; margin: 12px 0; font-weight: 600; }
dialog.wide { max-width: 560px; }
.cal .day.holiday { background: var(--surface-2); }
.ev.hol { color: var(--muted); font-style: italic; }
.ev.abs.owed, .ev.abs.scheduled { background: var(--bad-soft); color: var(--bad); }
.ev.abs.recovered, .ev.abs.forgiven { background: var(--surface-2); color: var(--muted); text-decoration: line-through; }

.cost-row { padding: 6px 0; border-bottom: 1px solid var(--line); }
.cost-row:last-child { border-bottom: 0; }

/* ---------- Meta diaria de pomodoros ---------- */
.pomo-dots { display: flex; gap: 3px; margin: 4px 0 2px; }
.pomo-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: inline-block; }
.pomo-dots i.on { background: var(--accent); }
.pomo-kpi { min-width: 150px; }

/* ---------- Modo descanso ---------- */
body { transition: background-color 0.8s ease; }
body.on-break { --bg: #eef6ef; --accent-soft: #dcefe0; background: var(--bg); }
@media (prefers-color-scheme: dark) { body.on-break { --bg: #142019; --accent-soft: #1d3324; } }
body.on-break .topbar { border-bottom-color: var(--ok); }
body.on-break main { filter: saturate(0.6); }
#break-band {
  position: sticky; top: 54px; z-index: 4;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 16px; background: var(--ok-soft); color: var(--ok);
  border-bottom: 1px solid var(--ok);
}
#break-band #break-tip { color: var(--text); font-size: 13px; }
.breath { width: 26px; height: 26px; border-radius: 50%; background: var(--ok); opacity: 0.6; flex: none; animation: breathe 10s ease-in-out infinite; }
.breath.big { width: 70px; height: 70px; margin: 10px auto 0; }
@keyframes breathe { 0%, 100% { transform: scale(0.6); opacity: 0.35; } 40% { transform: scale(1); opacity: 0.75; } 55% { transform: scale(1); opacity: 0.75; } }
@media (prefers-reduced-motion: reduce) { .breath { animation: none; } }
.card.pomo.break { background: var(--ok-soft); border-color: var(--ok); }
.card.pomo.break h3 { color: var(--ok); }
.break-msg { color: var(--ok); font-weight: 600; margin: 4px 0 10px; }

/* ---------- Sala de voz ---------- */
.card.voice { border-color: var(--line); }
.voice-grid { display: flex; flex-wrap: wrap; gap: 18px; margin: 14px 0 6px; }
.voice-person { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 104px; text-align: center; }
.voice-name { font-size: 13px; font-weight: 500; }
.avatar.lg { width: 64px; height: 64px; font-size: 20px; position: relative; transition: box-shadow 0.15s ease; }
.avatar.xs { width: 26px; height: 26px; font-size: 10px; margin-right: -6px; border: 2px solid var(--surface); }
.avatar.speaking { box-shadow: 0 0 0 3px var(--ok), 0 0 14px rgba(43, 138, 62, 0.45); }
.mic-badge { position: absolute; right: -4px; bottom: -4px; font-size: 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; width: 24px; height: 24px; display: grid; place-items: center; }
.mic-badge.off { background: var(--bad-soft); border-color: var(--bad); }
.voice-actions { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
#dock {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 20;
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  background: var(--text); color: var(--bg); border-radius: 14px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45); max-width: calc(100% - 24px); flex-wrap: wrap; justify-content: center;
}
.dock-people { display: flex; align-items: center; gap: 0; padding: 0 10px 0 4px; }
.dock-people .small { margin-left: 14px; opacity: 0.8; }
.dock-people .avatar { color: var(--text); }
.dock-btn { background: rgba(255, 255, 255, 0.1); color: inherit; border: 0; border-radius: 10px; padding: 8px 12px; }
.dock-btn:hover { background: rgba(255, 255, 255, 0.2); }
@media (prefers-color-scheme: dark) { .dock-btn { background: rgba(0, 0, 0, 0.08); } .dock-btn:hover { background: rgba(0, 0, 0, 0.16); } }
.dock-btn.muted { background: var(--bad); color: #fff; }
.dock-btn.sharing { background: var(--accent); color: #fff; }
.dock-btn.leave { background: transparent; border: 1px solid currentColor; opacity: 0.85; }
body:has(#dock) main { padding-bottom: 90px; }

.my-share { display: flex; gap: 14px; align-items: center; margin-top: 12px; padding: 10px; border-radius: 10px; background: var(--accent-soft); }
.my-share video { width: 220px; max-width: 45%; border-radius: 6px; background: #000; }

/* ---------- Clientes y prioridades ---------- */
.client-chip { background: color-mix(in srgb, var(--c) 14%, transparent); color: color-mix(in srgb, var(--c) 75%, var(--text)); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.prio-urgente { background: var(--bad); color: #fff; font-weight: 600; }
.prio-prioritario { background: var(--warn-soft); color: var(--warn); font-weight: 600; border: 1px solid var(--warn); }
.prio-opcional { background: transparent; border: 1px dashed var(--line); color: var(--muted); }
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 12px; }
.client-card { text-align: left; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: var(--radius); border: 1px solid var(--line); border-top: 4px solid var(--c); background: var(--surface); white-space: normal; }
.client-card:hover { background: var(--surface); box-shadow: 0 6px 18px -12px rgba(0,0,0,.35); }
.client-card.selected { outline: 2px solid var(--c); }
.client-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--c); flex: none; display: inline-block; }
.client-time { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.client-time b { display: block; font-size: 18px; }
.client-time span { font-size: 12px; color: var(--muted); }
.client-detail { border-left: 4px solid var(--c); margin-bottom: 16px; }
.field-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 10px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.field select, .field input { color: var(--text); font-size: 14px; }
.client-select { max-width: 200px; }

/* ---------- Fotos de perfil ---------- */
.avatar { overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.xl { width: 96px; height: 96px; font-size: 30px; }
.avatar-wrap { position: relative; display: inline-block; }
.avatar-wrap .mic-badge { position: absolute; right: -4px; bottom: -4px; }
.avatar.lg { position: static; }
.profile-card { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
#whoami:hover { text-decoration: underline; }

/* ---------- Rachas ---------- */
.streak-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0; }
.streak-box { background: var(--surface-2); border-radius: 10px; padding: 12px; }
.streak-box.alive { background: var(--accent-soft); }
.streak-num { display: flex; align-items: center; gap: 6px; }
.streak-num b { font-size: 30px; line-height: 1; }
.streak-box.alive .streak-num b { color: var(--focus); }
.flame { font-size: 24px; }
.streak-box.alive .flame { animation: flicker 1.6s ease-in-out infinite; display: inline-block; }
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(-3deg); } 50% { transform: scale(1.12) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .streak-box.alive .flame { animation: none; } }
.broken { color: var(--bad); }
.today-line { margin-top: 4px; font-weight: 600; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 99px; background: var(--surface-2); font-size: 12px; color: var(--muted); filter: grayscale(1); opacity: 0.55; }
.badge.earned { filter: none; opacity: 1; background: var(--warn-soft); color: var(--text); border: 1px solid var(--warn); }
.streak-chip { font-size: 12px; }

/* ---------- Modo reunión ---------- */
.meeting-btn { border-color: #7048e8; color: #7048e8; font-weight: 600; }
.meeting-chip { background: #efe9ff; color: #5f3dc4; }
@media (prefers-color-scheme: dark) { .meeting-chip { background: #2b2350; color: #b197fc; } }
body.meeting-mode .shell, body.meeting-mode .topbar { display: none; }
#meeting-overlay { position: fixed; inset: 0; display: grid; place-items: center; background: var(--bg); z-index: 50; padding: 16px; }
.meeting-box { text-align: center; max-width: 420px; }
.meeting-icon { font-size: 48px; }
.meeting-box h1 { font-size: 28px; margin: 6px 0; }
.meeting-sub { color: var(--muted); margin: 0 0 8px; }
.meeting-clock { font-size: 56px; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 14px; color: #7048e8; }
button.big { font-size: 16px; padding: 12px 22px; margin-top: 10px; }

/* ---------- ⛔ No disponible ---------- */
.away-chip { background: #e7f5ff; color: #1971c2; }
@media (prefers-color-scheme: dark) { .away-chip { background: #16304a; color: #74c0fc; } }
button.away-on { background: #e7f5ff; border-color: #1971c2; color: #1971c2; font-weight: 600; }
