:root {
  --bg:        #e9eef2;
  --surface:   #ffffff;
  --surface-2: #f3f6f8;
  --ink:       #14202b;
  --ink-2:     #56656f;
  --ink-3:     #8b98a2;
  --line:      #dbe3ea;
  --brand:     #1f5f55;
  --brand-dk:  #16463f;
  --brand-sf:  #e3efeb;
  --alert:     #a8324a;
  --amber:     #9a6b14;
  --stage:     #16202a;
  --tile:      #0e1720;

  --display: "Fraunces", Georgia, serif;
  --body:    "Figtree", ui-sans-serif, system-ui, sans-serif;
  --mono:    "DM Mono", ui-monospace, Menlo, monospace;

  --r-sm: 10px;
  --r:    14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(20, 32, 43, .06), 0 12px 32px -12px rgba(20, 32, 43, .18);
}

* { box-sizing: border-box; }
html, body { height: 100%; }

/* Class rules that set `display` would otherwise beat the hidden attribute,
   which is how most of this interface shows and hides things. */
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; line-height: 1.15; letter-spacing: -.01em; }
h4 { margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
fieldset { border: 0; margin: 0; padding: 0; }
legend { padding: 0; }

.sprite { display: none; }
.icon {
  width: 20px; height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

body[data-view="room"] .shell { display: none; }

/* ------------------------------------------------------------ buttons */

.primary {
  display: block;
  width: 100%;
  padding: 15px 20px;
  border: 0;
  border-radius: var(--r);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  font-size: 1.02rem;
  transition: background .15s ease, transform .1s ease;
}
.primary:hover { background: var(--brand-dk); }
.primary:active { transform: translateY(1px); }
.primary[disabled] { opacity: .55; cursor: default; }
.primary--slim { width: auto; padding: 10px 18px; font-size: .95rem; }

.secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font-weight: 500;
  font-size: .95rem;
  transition: border-color .15s ease, background .15s ease;
}
.secondary:hover { border-color: var(--brand); background: var(--brand-sf); }
.secondary--wide { width: 100%; justify-content: center; margin-top: 10px; }

.text-btn {
  border: 0;
  background: none;
  padding: 6px 0;
  color: var(--brand);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-btn:hover { color: var(--brand-dk); }

.leave {
  padding: 10px 16px;
  border: 1px solid rgba(168, 50, 74, .3);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--alert);
  font-weight: 600;
  font-size: .95rem;
}
.leave:hover { background: rgba(168, 50, 74, .07); }

.icon-btn {
  display: grid;
  place-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-2);
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }

/* =============================================================== WIZARD */

.shell {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  padding: 28px 20px 24px;
}

.topbar { text-align: center; }

.mark {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -.015em;
}

.tagline {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: .92rem;
}

.card {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  align-self: center;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 38px);
}

.foot {
  text-align: center;
  color: var(--ink-3);
  font-size: .85rem;
}

.progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.progress[hidden] { display: none; }
.progress__label { color: var(--ink-3); font-size: .85rem; }

.back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px 6px 4px;
  border: 0;
  border-radius: var(--r-sm);
  background: none;
  color: var(--ink-2);
  font-size: .92rem;
  font-weight: 500;
}
.back:hover { color: var(--brand); }
.back .icon { width: 18px; height: 18px; }

.step[hidden] { display: none; }
.step { animation: enter .22s ease-out; }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } }

.step h1 { font-size: clamp(1.55rem, 4.5vw, 1.9rem); }
.step .lede { margin-top: 10px; color: var(--ink-2); }
.step .primary { margin-top: 26px; }

/* the fork */

.fork { display: grid; gap: 12px; margin-top: 22px; }

.choice {
  display: block;
  text-align: left;
  padding: 20px;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color .15s ease, background .15s ease, transform .1s ease;
}
.choice:hover { border-color: var(--brand); background: var(--brand-sf); }
.choice:active { transform: translateY(1px); }
.choice__title {
  display: block;
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--brand);
}
.choice__body { display: block; margin-top: 5px; color: var(--ink-2); font-size: .95rem; }

/* fields */

.field { margin-top: 22px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-2);
}
.field input,
.optional__body input,
.setting__edit input {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 1rem;
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus,
.optional__body input:focus,
.setting__edit input:focus {
  border-color: var(--brand);
  background: var(--surface);
  outline: none;
}

.hint { margin-top: 7px; font-size: .85rem; color: var(--ink-3); min-height: 1.2em; }
.hint[data-tone="good"] { color: var(--brand); }
.hint[data-tone="warn"] { color: var(--amber); }
.hint[data-tone="bad"]  { color: var(--alert); }

.linkline { margin-top: 14px; color: var(--ink-2); font-size: .92rem; }
.linkline strong { font-family: var(--mono); font-weight: 500; color: var(--ink); word-break: break-all; }

.form-error {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: rgba(168, 50, 74, .08);
  color: var(--alert);
  font-size: .92rem;
}
.form-error[hidden] { display: none; }

/* radio cards */

.pick { margin-top: 24px; display: grid; gap: 10px; }
.pick legend {
  margin-bottom: 10px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink-2);
}
.pick__opt {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.pick__opt:hover { border-color: var(--brand); }
.pick__opt input { margin-top: 3px; accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.pick__opt strong { display: block; font-weight: 600; font-size: .98rem; }
.pick__opt em {
  display: block;
  margin-top: 3px;
  font-style: normal;
  color: var(--ink-2);
  font-size: .9rem;
}
.pick__opt:has(input:checked) { border-color: var(--brand); background: var(--brand-sf); }
.pick--tight .pick__opt { padding: 11px 13px; }

/* switch + optional block */

.switch {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 0 2px;
  cursor: pointer;
  font-weight: 500;
}
.switch input { width: 18px; height: 18px; accent-color: var(--brand); }

.optional { margin-top: 12px; border-top: 1px solid var(--line); }
.optional__body { padding-top: 10px; }
.optional__body[hidden] { display: none; }
.optional__body .hint { margin-top: 8px; }

/* camera check */

.mirror {
  position: relative;
  margin-top: 22px;
  aspect-ratio: 4 / 3;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--stage);
}
.mirror video {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
  display: block;
}
.mirror__empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 20px;
  text-align: center;
  color: #d7dde3;
  background: var(--stage);
}
.mirror__empty[hidden] { display: none; }
.mirror__empty p { font-size: .95rem; }

.mirror__tools {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(10, 16, 22, .62);
  backdrop-filter: blur(6px);
}
.mirror__tools[hidden] { display: none; }

.round {
  display: grid;
  place-content: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
}
.round[aria-pressed="false"] { background: var(--alert); }

.level {
  width: 62px; height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  overflow: hidden;
}
.level span {
  display: block;
  height: 100%;
  width: 0%;
  background: #7fd6b6;
  transition: width .08s linear;
}

/* ================================================================= ROOM */

.room {
  /* flex, not grid rows: the connection panel comes and goes */
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
  background: var(--stage);
}
.roombar, .netpanel, .controls { flex: none; }
.room[hidden] { display: none; }

.roombar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px clamp(12px, 3vw, 24px);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.roombar__id { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto; }
.roombar__id h2 {
  font-size: 1.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.roombar__actions { display: flex; align-items: center; gap: 8px; flex: none; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-size: .82rem;
  font-weight: 500;
  white-space: nowrap;
}
.pill--lock { color: var(--brand); border-color: var(--brand-sf); background: var(--brand-sf); }
.pill--lock .icon { width: 15px; height: 15px; }
.pill--net:hover { border-color: var(--brand); }
.pill[hidden] { display: none; }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none; }
.dot[data-state="good"] { background: #3f9e79; }
.dot[data-state="ok"] { background: #cf9b2c; }
.dot[data-state="bad"] { background: var(--alert); }
.dot[data-state="connecting"] { background: #cf9b2c; animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }

.netpanel {
  padding: 14px clamp(12px, 3vw, 24px);
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.netpanel[hidden] { display: none; }
.netpanel h3 { font-size: 1rem; margin-bottom: 8px; }
.netpanel ul { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 5px; }
.netpanel li { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: var(--ink-2); }
.netpanel .tech { font-family: var(--mono); font-size: .78rem; color: var(--ink-3); }
.netpanel .tech[hidden] { display: none; }

/* video grid */

.stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: clamp(10px, 2vw, 18px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
}

.grid {
  --cols: 1;
  --rows: 1;
  --chrome: 235px;
  --tile-h: calc((100dvh - var(--chrome) - (var(--rows) - 1) * 12px) / var(--rows));
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  gap: 12px;
  width: min(100%, calc(var(--tile-h) * 16 / 9 * var(--cols) + (var(--cols) - 1) * 12px));
  margin: 0 auto;
}
.grid[data-count="2"] { --cols: 2; }
.grid[data-count="3"],
.grid[data-count="4"] { --cols: 2; --rows: 2; }
.grid[data-count="5"],
.grid[data-count="6"] { --cols: 3; --rows: 2; }
.grid[data-count="7"],
.grid[data-count="8"],
.grid[data-count="9"] { --cols: 3; --rows: 3; }

.tile {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--tile);
  transition: box-shadow .2s ease;
}
.tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile[data-self="true"] video { transform: scaleX(-1); }
.tile[data-speaking="true"] { box-shadow: 0 0 0 3px #4fbf95; }

.tile__off { position: absolute; inset: 0; display: grid; place-content: center; background: #1c2833; }
.tile__off span {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: #2c3b48;
  color: #fff;
  font-family: var(--display);
  font-size: 1.7rem;
}
.tile[data-video="on"] .tile__off { display: none; }

.tile figcaption {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}
.tile__name {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 16, 22, .6);
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tile__badges { display: flex; gap: 6px; flex: none; }
.badge {
  display: grid;
  place-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(10, 16, 22, .6);
  color: #fff;
}
.badge .icon { width: 15px; height: 15px; }
.badge--muted { background: var(--alert); }
.badge--hand { background: var(--amber); }

.empty-room {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, .07);
  color: #dbe3ea;
  text-align: center;
  font-size: .95rem;
}
.empty-room[hidden] { display: none; }

/* controls */

.controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.control {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 500;
  font-size: .93rem;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.control:hover { border-color: var(--brand); }
.control[aria-pressed="false"] { background: var(--alert); border-color: var(--alert); color: #fff; }
.control[disabled] { background: var(--surface-2); color: var(--ink-3); border-color: var(--line); cursor: default; }
.control--on { background: var(--brand-sf); border-color: var(--brand); color: var(--brand-dk); }
.control[hidden] { display: none; }

/* people panel */

.panel {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(380px, 100vw);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-left: 1px solid var(--line);
  z-index: 20;
  animation: slide .2s ease-out;
}
.panel[hidden] { display: none; }
@keyframes slide { from { transform: translateX(16px); opacity: 0; } }

.panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.panel > header h3 { font-size: 1.2rem; }

.host-tools {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.host-tools[hidden] { display: none; }
.host-tools .pick { margin-top: 14px; }
.host-tools .pick legend { margin-bottom: 8px; }

.setting {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.setting__state { font-size: .92rem; color: var(--ink-2); margin-bottom: 10px; }
.setting__actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.setting__edit[hidden] { display: none; }
.setting__edit input { margin-bottom: 10px; }
.setting__actions[hidden] { display: none; }

.people {
  list-style: none;
  margin: 0;
  padding: 14px 18px 22px;
  display: grid;
  gap: 10px;
  overflow-y: auto;
}
.person {
  display: grid;
  gap: 9px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.person[data-hand="true"] { border-color: var(--amber); background: #fdf8ee; }
.person__name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person__state { font-size: .86rem; color: var(--ink-2); }
.person__actions { display: flex; gap: 7px; flex-wrap: wrap; }
.person__actions .secondary { padding: 7px 12px; font-size: .87rem; }

/* invite card */

.overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 24, 32, .55);
  z-index: 40;
  animation: fade .18s ease-out;
}
.overlay[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }

.invite {
  position: relative;
  width: min(420px, 100%);
  padding: 34px 30px 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}
.invite__close { position: absolute; top: 14px; right: 14px; }
.invite__eyebrow { color: var(--ink-3); font-size: .88rem; }
.invite__name {
  font-size: clamp(1.8rem, 7vw, 2.3rem);
  margin: 6px 0 14px;
  color: var(--brand);
  word-break: break-word;
}
.invite__link {
  padding: 12px 14px;
  margin-bottom: 18px;
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  font-family: var(--mono);
  font-size: .9rem;
  word-break: break-all;
}
.invite__note { margin-top: 14px; color: var(--ink-3); font-size: .85rem; }

/* toasts */

.toasts {
  position: fixed;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%);
  display: grid;
  gap: 8px;
  width: min(420px, calc(100vw - 24px));
  z-index: 50;
  pointer-events: none;
}
.toast {
  padding: 12px 16px;
  border-radius: var(--r);
  background: var(--ink);
  color: #fff;
  font-size: .93rem;
  box-shadow: var(--shadow);
  animation: rise .2s ease-out;
}
.toast[data-kind="good"] { background: var(--brand); }
.toast[data-kind="bad"] { background: var(--alert); }
@keyframes rise { from { transform: translateY(8px); opacity: 0; } }

/* ------------------------------------------------------------ narrow */

@media (max-width: 720px) {
  .roombar { padding: 10px 12px; gap: 8px; }
  .roombar__id { gap: 7px; }
  .roombar__id h2 { font-size: 1rem; }
  .pill { padding: 5px 8px; }
  .pill .label { display: none; }
  .roombar__actions { gap: 6px; }
  .roombar__actions .secondary { padding: 9px 10px; }
  .roombar__actions .label { display: none; }
  .leave { padding: 9px 12px; }
  .grid { --chrome: 205px; }
  .grid[data-count="1"] { --cols: 1; --rows: 1; }
  .grid[data-count="2"] { --cols: 1; --rows: 2; }
  .grid[data-count="3"],
  .grid[data-count="4"] { --cols: 2; --rows: 2; }
  .grid[data-count="5"],
  .grid[data-count="6"],
  .grid[data-count="7"],
  .grid[data-count="8"],
  .grid[data-count="9"] { --cols: 2; --rows: 3; }
  .tile { aspect-ratio: 4 / 3; }
  .control { padding: 12px 14px; }
  .control__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .toasts { bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ---------------------------------------------------------------- chat */

.panel--chat { display: flex; flex-direction: column; }

.chat {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.msg { max-width: 100%; }
.msg__who {
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 3px;
}
.msg__who time { font-weight: 400; color: var(--ink-3); margin-left: 6px; }
.msg__body {
  padding: 9px 13px;
  border-radius: 4px 14px 14px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.msg--own { align-self: flex-end; }
.msg--own .msg__who { text-align: right; }
.msg--own .msg__body {
  border-radius: 14px 4px 14px 14px;
  background: var(--brand-sf);
  border-color: var(--brand-sf);
}
.msg--system {
  align-self: center;
  color: var(--ink-3);
  font-size: .85rem;
  text-align: center;
}
.chat__blank { margin: auto; color: var(--ink-3); font-size: .9rem; text-align: center; padding: 0 20px; }

.compose {
  flex: none;
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}
.compose input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
}
.compose input:focus { border-color: var(--brand); background: var(--surface); outline: none; }
.send {
  display: grid;
  place-content: center;
  width: 46px;
  border: 0;
  border-radius: var(--r-sm);
  background: var(--brand);
  color: #fff;
}
.send:hover { background: var(--brand-dk); }

.chat__note {
  flex: none;
  padding: 0 14px 14px;
  color: var(--ink-3);
  font-size: .78rem;
}

.unread {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--alert);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  display: grid;
  place-content: center;
}
.unread[hidden] { display: none; }

/* setup step helpers */

#media-note { margin-top: 12px; }
#skip-media[hidden] { display: none; }

@media (max-width: 720px) {
  .panel--chat { width: 100vw; }
}
