/* AdHoc / Sunny glass. Independent of the former Style Baseline. */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-400.ttf) format("truetype");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-500.ttf) format("truetype");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-600.ttf) format("truetype");
}
:root {
  color-scheme: light dark;
  --bg: #f1f3f5;
  --panel: #ffffffb8;
  --solid: #fff;
  --surface-2: #e5e9ee;
  --ink: #242c36;
  --muted: #555b65;
  --line: #8995a328;
  --edge: #ffffffd9;
  --accent: #27664b;
  --accent-hover: #1d513b;
  --accent-ink: #fff;
  --accent-soft: #d3e9dc;
  --danger: #b33143;
  --glass: #ffffffa8;
  --incoming: #ffffffeb;
  --shadow: 0 12px 40px #28374a09;
  --blue-haze: #bfcedc8c;
  --gold-haze: #c4ddd1a1;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  font: 15px/1.55 var(--sans);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15191f;
    --panel: #282f39b8;
    --solid: #2c323b;
    --surface-2: #343e4b;
    --ink: #f0f2f5;
    --muted: #aeb8c6;
    --line: #bbc8d21f;
    --edge: #b5c2d32b;
    --accent: #96d8b3;
    --accent-hover: #b6e8cb;
    --accent-ink: #132c20;
    --accent-soft: #244736;
    --danger: #ff9ead;
    --glass: #242b35c2;
    --incoming: #2c323beb;
    --shadow: 0 12px 40px #0002;
    --blue-haze: #3c546140;
    --gold-haze: #42745630;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 0 0, var(--blue-haze), transparent 65%),
    radial-gradient(ellipse at 100% 100%, var(--gold-haze), transparent 68%);
  pointer-events: none;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
.inline-keyboard a {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 15px;
  background: var(--panel);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
button:hover,
.inline-keyboard a:hover {
  background: var(--surface-2);
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
input,
textarea,
select {
  width: 100%;
  padding: 13px 15px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  font-size: 16px;
}
input::placeholder,
textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}
textarea {
  resize: none;
  min-height: 48px;
  max-height: 190px;
}
label {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 13px;
}
h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.04em;
}
h1,
h2,
p {
  margin-top: 0;
}
h1 {
  font-size: 32px;
}
h2 {
  font-size: 23px;
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--accent-hover);
}
.muted,
small {
  color: var(--muted);
}
.icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  vertical-align: middle;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}
.auth {
  width: min(450px, calc(100% - 32px));
  margin: 8vh auto;
  padding: 36px;
  background: var(--glass);
  border: 1px solid var(--edge);
  border-radius: 32px;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: var(--shadow);
}
.auth .brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 30px;
  margin-bottom: 28px;
}
.brand-mark {
  display: grid;
  place-items: center;
  height: 42px;
  width: 42px;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--accent);
}
.auth h2 {
  font-size: 25px;
  margin-top: 32px;
}
.auth button {
  width: 100%;
  margin: 4px 0 20px;
  min-height: 48px;
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
  border-radius: 16px;
}
.auth button:hover {
  background: var(--accent-hover);
}
.auth > p {
  font-size: 14px;
}
.shell {
  height: calc(var(--app-height, 100dvh) - 40px);
  margin: 20px;
  display: grid;
  grid-template-columns: 304px minmax(0, 1fr);
  border: 1px solid var(--edge);
  border-radius: 30px;
  box-shadow: 0 18px 70px #22334c0d;
  overflow: hidden;
}
aside {
  min-height: 0;
  padding: 28px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: auto;
  background: var(--glass);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}
.sidebar-heading {
  padding: 0 10px;
}
.sidebar-heading .brand {
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--muted);
  font-weight: 500;
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.sidebar-heading .brand .icon {
  width: 18px;
}
.sidebar-heading h2 {
  font-size: 31px;
  margin: 0 0 7px;
}
.sidebar-heading p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.chat-search {
  margin: 0 8px;
  position: relative;
  display: flex;
  align-items: center;
}
.chat-search .icon {
  position: absolute;
  left: 13px;
  width: 17px;
  color: var(--muted);
  pointer-events: none;
}
.chat-search input {
  font-size: 13px;
  padding: 12px 12px 12px 39px;
  border-radius: 15px;
  background: var(--panel);
}
.chat-list {
  flex: 1;
}
.chat-item {
  display: flex;
  gap: 13px;
  align-items: center;
  text-align: left;
  width: 100%;
  margin: 4px 0;
  padding: 14px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 20px;
}
.chat-item.active {
  background: var(--panel);
  border-color: var(--edge);
  box-shadow: 0 4px 20px #22334a08;
}
.chat-item strong,
.chat-item small {
  display: block;
}
.chat-item strong {
  font-size: 14px;
  font-weight: 600;
}
.chat-item small {
  margin-top: 5px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
}
.avatar {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 17px;
  color: #fff;
  background: linear-gradient(135deg, #9dafb9, #657f91);
  box-shadow: inset 0 0 0 1px #ffffff30;
  font-size: 20px;
  font-weight: 500;
}
.avatar[data-tone="1"] {
  background: linear-gradient(135deg, #b2a8c5, #817594);
}
.avatar[data-tone="2"] {
  background: linear-gradient(135deg, #cbb58e, #9a7a49);
}
.avatar[data-tone="3"] {
  background: linear-gradient(135deg, #95b5b6, #60898c);
}
.tools {
  display: flex;
  gap: 8px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 15px 6px 0;
}
.tools > small {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tools button {
  background: transparent;
  border: 0;
  color: var(--muted);
}
.workspace {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.workspace > header {
  flex-shrink: 0;
  padding: 18px 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
header .chat-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.chat-heading > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
header h2 {
  margin: 0 0 4px;
  font-size: 16px;
  letter-spacing: -0.02em;
}
header small {
  font-size: 11px;
}
header .avatar {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  font-size: 17px;
}
#messages {
  overflow: auto;
  overscroll-behavior: contain;
  flex: 1;
  min-height: 0;
  padding: 28px max(28px, calc((100% - 800px) / 2));
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.bubble {
  position: relative;
  max-width: min(84%, 620px);
  padding: 15px 18px 13px;
  align-self: flex-start;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--incoming);
  border: 1px solid var(--edge);
  border-radius: 23px 23px 23px 7px;
  box-shadow: 0 3px 12px #22334405;
}
#messages > .bubble:first-of-type {
  margin-top: auto;
}
.bubble.mine {
  align-self: flex-end;
  background: var(--accent-soft);
  border-color: transparent;
  border-radius: 23px 23px 7px 23px;
}
.bubble > small {
  display: block;
  text-align: right;
  margin: 7px 25px 0 0;
  font-size: 10px;
  color: var(--muted);
}
.quote,
.message-text blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.9em;
}
.composer {
  margin: 10px max(20px, calc((100% - 820px) / 2)) 20px;
  padding: 7px;
  display: flex;
  gap: 7px;
  align-items: end;
  border: 1px solid var(--edge);
  border-radius: 29px;
  background: var(--glass);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 7px 28px #2639520b;
}
.composer textarea {
  flex: 1;
  min-width: 0;
  height: 44px;
  min-height: 44px;
  background: transparent;
  border: 0;
  border-radius: 20px;
  padding: 11px 10px;
  font-size: 15px;
  line-height: 22px;
}
.composer textarea:focus {
  outline: none;
}
.composer:focus-within {
  box-shadow:
    0 0 0 2px var(--accent),
    0 7px 28px #2639520b;
}
.composer button {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}
.composer button:hover {
  background: var(--accent-hover);
}
.attach-button {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  order: -1;
  width: 44px;
  min-width: 44px;
  height: 44px;
  margin: 0;
  cursor: pointer;
  font-size: 26px;
  border: 0;
  border-radius: 50%;
  color: var(--accent);
}
.attach-button:hover {
  background: var(--surface-2);
}
.attach-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  cursor: pointer;
}
.attach-button:focus-within {
  outline: 2px solid var(--accent);
}
.empty {
  margin: auto;
  text-align: center;
  max-width: 440px;
  padding: 25px;
  color: var(--muted);
}
.settings {
  padding: 28px;
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
  overflow: auto;
}
.settings section {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: 24px;
  margin-bottom: 20px;
  overflow-wrap: anywhere;
}
.settings h2 {
  font-size: 20px;
}
dialog {
  max-width: min(580px, 92vw);
  max-height: 85dvh;
  overflow: auto;
  background: var(--solid);
  color: var(--ink);
  border: 1px solid var(--edge);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 20px 100px #0004;
}
dialog::backdrop {
  background: #111a2a66;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
dialog button + button {
  margin-left: 8px;
}
pre,
code,
kbd {
  font-family: var(--mono);
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 100%;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--bg);
  max-width: 90vw;
  padding: 0;
  border-radius: 18px;
  z-index: 10;
  box-shadow: var(--shadow);
}
#toast:not(:empty) {
  padding: 13px 20px;
}
.error {
  color: var(--danger);
  white-space: pre-wrap;
}
.loading {
  padding: 40px;
}
.older {
  align-self: center;
}
.mobile-back {
  display: none;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.message-text pre {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  overflow: auto;
}
.spoiler {
  color: transparent;
  background: var(--muted);
  padding: 0 3px;
  border: 0;
}
.spoiler.revealed {
  color: var(--ink);
  background: var(--surface-2);
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 7px;
}
.button-row > * {
  flex: 1 1 100px;
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: center;
}
.inline-keyboard {
  margin-top: 14px;
  white-space: normal;
}
.inline-keyboard button,
.inline-keyboard a {
  background: transparent;
  color: var(--accent);
  border-color: var(--line);
  min-height: 44px;
}
.inline-keyboard button:hover,
.inline-keyboard a:hover {
  background: var(--accent-soft);
}
.inline-keyboard a {
  display: block;
}
.inline-menu {
  width: min(100%, 380px);
  min-height: 44px;
  font-size: 13px;
  cursor: pointer;
}
.message-actions {
  position: absolute;
  right: 11px;
  bottom: 8px;
  white-space: normal;
}
.message-actions summary {
  cursor: pointer;
  list-style: none;
  color: var(--muted);
  font-size: 17px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}
.message-actions summary::-webkit-details-marker {
  display: none;
}
.message-actions[open] {
  z-index: 2;
}
.message-actions[open] summary {
  background: var(--surface-2);
}
.message-actions > div {
  position: absolute;
  bottom: 32px;
  right: 0;
  width: 148px;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--solid);
  box-shadow: 0 8px 35px #0002;
  display: grid;
  gap: 3px;
}
.message-actions button {
  text-align: left;
  border: 0;
  background: transparent;
  min-height: 40px;
}
.message-actions button:hover {
  background: var(--surface-2);
}
#dialog-controls {
  padding: 0 max(24px, calc((100% - 800px) / 2));
  max-height: 30dvh;
  overflow: auto;
}
#dialog-controls:empty {
  padding: 0;
}
#dialog-controls select {
  max-width: 100%;
  width: auto;
  padding: 8px 12px;
  margin: 8px 0;
}
.reply-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 13px;
}
.reply-bar span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.reply-bar button {
  padding: 5px 10px;
}
.typing {
  color: var(--muted);
  padding: 5px 12px;
  font-size: 12px;
}
.reply-keyboard {
  padding: 10px 0;
}
.reply-keyboard:not(.compact) button {
  min-height: 48px;
}
#message-editor textarea {
  min-width: min(440px, 75vw);
  min-height: 120px;
}
.provider-logins {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.auth .provider-login {
  margin: 0;
  background: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}
.auth .provider-login:hover {
  background: var(--surface-2);
}
#attachment-draft:not(:empty) {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 24px;
  font-size: 13px;
}
#attachment-draft span {
  flex: 1;
  overflow-wrap: anywhere;
  min-width: 0;
}
.media-card {
  display: grid;
  gap: 8px;
  max-width: min(100%, 420px);
  margin: 8px 0;
  min-width: 0;
}
.media-card strong {
  overflow-wrap: anywhere;
}
.media-card small {
  opacity: 0.8;
}
.media-card audio,
.media-card video,
.media-card img {
  width: 100%;
  max-width: 100%;
  border-radius: 14px;
}
.media-card img {
  display: block;
  max-height: 320px;
  object-fit: contain;
}
.image-preview {
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}
.media-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}
#media-viewer {
  width: min(960px, 96vw);
  max-width: 96vw;
  max-height: 94dvh;
  overflow: auto;
  padding: 20px;
}
#media-viewer header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
  padding: 8px 0;
}
#media-viewer header strong {
  overflow-wrap: anywhere;
  min-width: 0;
}
#media-viewer iframe {
  width: 100%;
  height: min(65dvh, calc(100dvh - 180px));
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}
#media-viewer > img {
  display: block;
  max-width: 100%;
  max-height: 75dvh;
  margin: auto;
  object-fit: contain;
}
#media-viewer > a {
  display: inline-block;
  margin-top: 12px;
}
.pdf-reader {
  min-width: 0;
}
.pdf-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}
.pdf-controls button {
  padding: 8px;
  font-size: 12px;
}
.pdf-viewport {
  max-height: 60dvh;
  overflow: auto;
  border: 1px solid var(--line);
  background: #ddd;
}
.pdf-viewport canvas {
  display: block;
  background: white;
}
.pdf-reader details {
  margin-top: 8px;
}
.pdf-reader details p {
  white-space: pre-wrap;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1000px) {
  .shell {
    grid-template-columns: 270px minmax(0, 1fr);
    margin: 12px;
    height: calc(var(--app-height, 100dvh) - 24px);
  }
  .bubble {
    max-width: 92%;
  }
}
@media (max-width: 700px) {
  .shell {
    grid-template-columns: 1fr;
    height: var(--app-height, 100dvh);
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .shell.chat-open aside {
    display: none;
  }
  .shell:not(.chat-open) .workspace {
    display: none;
  }
  .mobile-back {
    display: inline-grid;
  }
  .workspace {
    height: var(--app-height, 100dvh);
  }
  .workspace > header {
    padding: max(12px, env(safe-area-inset-top)) 12px 12px;
    gap: 8px;
  }
  header .avatar {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 16px;
  }
  header .chat-heading {
    gap: 9px;
  }
  header h2 {
    font-size: 15px;
  }
  header small {
    font-size: 10px;
  }
  #messages {
    padding: 22px 14px;
    gap: 16px;
  }
  .bubble {
    max-width: 88%;
    padding: 13px 15px 11px;
    font-size: 15px;
  }
  .composer {
    margin: 8px 10px max(10px, env(safe-area-inset-bottom));
    gap: 3px;
    padding: 6px;
  }
  .composer textarea {
    font-size: 16px;
  }
  aside {
    height: var(--app-height, 100dvh);
    border: 0;
    padding: max(32px, env(safe-area-inset-top)) 16px
      max(16px, env(safe-area-inset-bottom));
  }
  .chat-item {
    padding-block: 17px;
  }
  .chat-item strong {
    font-size: 16px;
  }
  .chat-item small {
    font-size: 12px;
  }
  .settings {
    padding: 16px;
  }
  .settings section {
    padding: 22px;
  }
  #dialog-controls {
    padding: 0 16px;
  }
  .auth {
    padding: 28px;
    margin: 28px auto;
  }
}
@media (pointer: coarse) {
  button,
  .inline-keyboard a {
    min-height: 44px;
  }
  .message-actions summary {
    width: 44px;
    height: 44px;
  }
  .message-actions {
    right: 3px;
    bottom: 0;
  }
  .bubble > small {
    margin-right: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (prefers-reduced-transparency: reduce) {
  :root {
    --glass: var(--solid);
    --panel: var(--solid);
    --incoming: var(--solid);
  }
  body::before {
    display: none;
  }
}
@supports not (backdrop-filter: blur(1px)) {
  :root {
    --glass: var(--solid);
  }
}

/* Message-bound forms use native inputs and keep decisions next to their prompt. */
.connect-bot {
  margin: 0 14px 12px;
}
.checklist-card {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  min-width: min(280px, 60vw);
}
.checklist-card fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.checklist-card legend {
  font-weight: 600;
  margin-bottom: 8px;
}
.checklist-card label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  min-height: 44px;
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
}
.checklist-card input[type="checkbox"] {
  width: 20px;
  height: 20px;
  padding: 0;
  flex: 0 0 auto;
  accent-color: var(--accent);
}
.checklist-card label span {
  overflow-wrap: anywhere;
}
.checklist-status {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0;
}
.checklist-card button {
  margin: 4px 6px 0 0;
  min-height: 44px;
}
.checklist-card button[type="submit"],
#pairing-confirm,
#pairing-review {
  background: var(--accent);
  color: var(--accent-ink);
}
.checklist-card button[type="submit"]:hover,
#pairing-confirm:hover,
#pairing-review:hover {
  background: var(--accent-hover);
}
.pairing-dialog {
  width: min(480px, calc(100vw - 32px));
}
.pairing-dialog p {
  overflow-wrap: anywhere;
}
.pairing-dialog button {
  min-height: 44px;
  margin-bottom: 8px;
}
.pairing-dialog [hidden] {
  display: none;
}
#pairing-preview {
  margin: 20px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
#pairing-error {
  color: var(--danger);
  margin: 12px 0;
}

/* Legal access remains available before sign-in and on every app screen. */
.legal-links { position: fixed; z-index: 6; top: 0; right: 0; padding: .25rem .65rem; font-size: .75rem; background: Canvas; color: CanvasText; border-radius: 0 0 0 .5rem; }
.legal-links a { color: inherit; }
.settings details { margin-block: 1rem; }
.settings input, .auth input[type="checkbox"] { max-width: 100%; }
.auth input[type="checkbox"] { width: auto; }
.danger { color: #a31525; }
@media (prefers-color-scheme: dark) { .danger { color: #ff929c; } }

.notices { max-width: 75ch; margin: 3rem auto; padding: 1rem; overflow-wrap: anywhere; }
.notices pre { white-space: pre-wrap; font-size: .85rem; }

@media (max-width: 700px) { .workspace > header { padding-top: calc(max(12px, env(safe-area-inset-top)) + 20px); } }
