@font-face {
  font-family: "Mona Sans"; src: url("room-mona.woff2") format("woff2");
  font-weight: 200 900; font-display: swap;
  unicode-range: U+0000-024F,U+2000-206F,U+20AC,U+2122;
}
@font-face {
  font-family: Manrope; src: url("room-manrope.woff2") format("woff2");
  font-weight: 400 800; font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Manrope; src: url("room-manrope-ext.woff2") format("woff2");
  font-weight: 400 800; font-display: swap;
  unicode-range: U+0460-052F,U+1C80-1C8A,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: "Geist Mono"; src: url("room-mono.woff2") format("woff2");
  font-weight: 100 900; font-display: swap;
}
:root[data-public-room] {
  color-scheme: light dark;
  --outer: light-dark(#f7f7f7, #131313);
  --surface: light-dark(#fff, #1f1f1f);
  --subtle: light-dark(#fafafa, #191919);
  --raised: light-dark(#f1f1f1, #292929);
  --hover: light-dark(#e7e7e7, #353535);
  --border: light-dark(#1111111a, #ffffff1a);
  --control-border: light-dark(#11111138, #ffffff38);
  --text: light-dark(#111, #f4f4f4);
  --muted: light-dark(#666, #a6a6a6);
  --neutral: light-dark(#777, #9b9b9b);
  --neutral-track: light-dark(#d9d9d9, #424242);
  --action-text: light-dark(#fff, #111);
  --selection-fill: light-dark(#444, #626262);
  --green: light-dark(#39775b, #90c4a8);
  --yellow: light-dark(#94620f, #d6ab62);
  --red: light-dark(#b8322f, #ed9490);
  --checking: light-dark(#a5442e, #d97757);
  --shadow: 0 8px 24px #0002, 0 24px 64px -18px #0003;
  --gutter: clamp(16px, 3vw, 48px);
  --measure: 1280px;
  --control-size: 36px;
  --ui: "Mona Sans", Manrope, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  scroll-padding-block: 16px;
  scrollbar-color: var(--neutral) var(--outer);
  font-family: var(--ui);
}
:root[data-public-room][data-theme=light] { color-scheme: light; }
:root[data-public-room][data-theme=dark] { color-scheme: dark; }

.public-room *, .public-room *::before, .public-room *::after { box-sizing: border-box; }
.public-room {
  margin: 0; min-height: 100dvh; padding: 8px;
  background: var(--outer); color: var(--text); font: 14px/1.57 var(--ui);
}
.public-room a { color: inherit; text-underline-offset: .23em; }
.public-room a:hover { text-decoration-thickness: 2px; }
.public-room button, .public-room input, .public-room select { color: inherit; font: inherit; }
.public-room button, .public-room summary { cursor: pointer; }
.public-room button:disabled, .public-room select:disabled { cursor: default; opacity: .55; }
.public-room :focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.public-room ::selection { background: var(--hover); color: var(--text); }
.public-room [hidden] { display: none !important; }
.public-room h1 { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.29; letter-spacing: -.025em; overflow-wrap: anywhere; }
.public-room h2 { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.5; }
.public-room h3 { margin: 0; font-size: 14px; font-weight: 600; }
.public-room p { margin: 0; }
.public-room .muted { color: var(--muted); }
.public-room .icon {
  width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.public-room .icon.small { width: 14px; height: 14px; }
.public-room .sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.room-skip {
  position: fixed; z-index: 1010; inset: 12px auto auto 12px; transform: translateY(-150%);
  padding: 10px 14px; border-radius: 8px; background: var(--surface);
}
.room-skip:focus { transform: none; }
.room-frame {
  display: flex; flex-direction: column; min-height: calc(100dvh - 16px);
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
}
.room-width { width: min(var(--measure), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.room-masthead { border-bottom: 1px solid var(--border); }
.room-topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 54px;
}
.room-topbar nav { display: flex; align-items: center; gap: 6px; }
.room-brand {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; text-decoration: none;
  font-size: 17px; font-weight: 650; letter-spacing: -.02em; line-height: 1;
}
.room-brand img { width: 22px; height: 22px; filter: brightness(0); }
:root[data-theme=dark] .room-brand img { filter: brightness(0) invert(1); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .room-brand img { filter: brightness(0) invert(1); }
}
.room-context {
  margin-inline-start: 5px; padding-inline-start: 13px; border-inline-start: 1px solid var(--border);
  color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: 0;
}
.room-nav-link, .room-action, .room-control, .public-room .icon-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: var(--control-size); padding: 6px 11px; border: 1px solid transparent;
  border-radius: 8px; background: transparent; color: var(--text); text-decoration: none;
  font-size: 13px; font-weight: 500; line-height: 1.35;
}
.room-nav-link:hover, .room-control:hover:not(:disabled), .public-room .icon-button:hover:not(:disabled) { background: var(--raised); }
.room-control, .public-room .icon-button { border-color: var(--control-border); }
.public-room .icon-button { width: var(--control-size); flex: 0 0 var(--control-size); padding: 0; }
.room-action, .public-room a.room-action { background: var(--text); color: var(--action-text); border-radius: 999px; padding-inline: 14px; }
.room-action:hover { opacity: .86; }
.public-room .room-lead { margin-top: 7px; max-width: 70ch; color: var(--muted); font-size: 15px; }
.room-footer {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
  margin-top: auto; padding-block: 12px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 12px;
}
.room-footer :is(a,button) { min-height: var(--control-size); display: inline-flex; align-items: center; }
.room-footer button {
  background: transparent; border: 0; padding: 0; color: inherit; font-size: inherit;
  text-decoration: underline; text-underline-offset: .23em;
}
.room-footer-end { margin-inline-start: auto; }
.public-room .cookie-panel { color: var(--text); font-family: var(--ui); border-radius: 12px; box-shadow: var(--shadow); }
@media (max-width: 660px) {
  :root[data-public-room] { --control-size: 44px; }
  .public-room { padding: 0 0 8px; }
  .room-frame { min-height: calc(100dvh - 8px); border-width: 0 0 1px; border-radius: 0 0 16px 16px; }
  .room-topbar { gap: 8px; }
  .room-topbar nav { gap: 4px; }
  .room-context { display: none; }
  .room-topbar .room-nav-link, .public-room .room-topbar .room-icon-action { width: var(--control-size); padding-inline: 0; }
  .room-topbar .room-nav-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .room-footer-end { margin-inline-start: 0; }
}
@media (max-width: 380px) {
  .room-topbar { width: calc(100% - 24px); }
  .room-topbar nav { gap: 2px; }
  .room-brand { gap: 6px; font-size: 15px; }
  .room-brand img { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: no-preference) {
  .room-nav-link, .room-control, .room-action, .public-room .icon-button {
    transition: background-color .15s ease-out, opacity .15s ease-out;
  }
}
@media print {
  :root[data-public-room] { color-scheme: light !important; }
  .public-room { padding: 0; background: white; }
  .room-frame { display: block; border: 0; min-height: 0; }
  .room-width { width: 100%; }
  .room-masthead, .room-footer, .room-skip { display: none; }
}
