@font-face {
  font-family: "Chakra Petch";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/chakra-petch-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Chakra Petch";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/chakra-petch-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Chakra Petch";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/chakra-petch-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Chakra Petch";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/chakra-petch-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- tokens ---------- */

:root {
  --paper-light: #ffffff;
  --paper-dark: #0b0e13;
  --surface-light: #f5f7fa;
  --surface-dark: #11161e;
  --ink-light: #111111;
  --ink-dark: #e9edf3;
  --ink-2-light: #4a5260;
  --ink-2-dark: #a3adbd;
  --grid-light: #e6ebf2;
  --grid-dark: #1a2130;
  --blue-light: #0057ff;
  --blue-dark: #4d8bff;
  --on-blue-light: #ffffff;
  --on-blue-dark: #050a14;
  --blue-wash-light: #e8f0ff;
  --blue-wash-dark: #15233d;
  --red-light: #c8102e;
  --red-dark: #ff6b7d;

  --paper: var(--paper-light);
  --surface: var(--surface-light);
  --ink: var(--ink-light);
  --ink-2: var(--ink-2-light);
  --grid: var(--grid-light);
  --blue: var(--blue-light);
  --on-blue: var(--on-blue-light);
  --blue-wash: var(--blue-wash-light);
  --red: var(--red-light);

  @media (prefers-color-scheme: dark) {
    --paper: var(--paper-dark);
    --surface: var(--surface-dark);
    --ink: var(--ink-dark);
    --ink-2: var(--ink-2-dark);
    --grid: var(--grid-dark);
    --blue: var(--blue-dark);
    --on-blue: var(--on-blue-dark);
    --blue-wash: var(--blue-wash-dark);
    --red: var(--red-dark);
  }

  --cell: 24px;
  --line: 1.5px;
  --label: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;

  color-scheme: light dark;
  accent-color: var(--blue);
  scrollbar-color: var(--ink-2) var(--surface);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100dvh;
  background-color: var(--paper);
  color: var(--ink);
  font: 400 15px/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Papel cuadriculado: la rejilla es parte del diseño y se puede ocultar en Ajustes. */
body:not(.no-grid) {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  background-position: 0 0;
}

::selection { background: var(--blue); color: var(--on-blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
kbd { font: 600 12px/1 var(--label); border: 1px solid var(--ink-2); padding: 2px 4px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sprite { display: none; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; flex: none; }

/* ---------- botones ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 0 16px;
  border: var(--line) solid var(--ink); border-radius: 0;
  background: var(--paper); color: var(--ink);
  font: 600 14px/1 var(--label); letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out;
}
.btn:hover { background: var(--blue-wash); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-solid { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.btn-solid:hover { background: color-mix(in oklab, var(--blue), var(--ink) 18%); border-color: transparent; }
.btn-line { border-color: var(--blue); color: var(--blue); }
.btn-icon { min-width: 48px; padding: 0; justify-content: center; }
.btn-danger { border-color: var(--red); color: var(--red); }
.btn-danger:hover { background: color-mix(in oklab, var(--red), transparent 88%); }

/* La única diagonal del sistema: firma de las acciones principales. */
.slash {
  display: inline-block; width: 20px; height: 20px; flex: none;
  background: linear-gradient(to bottom right, transparent calc(50% - 1px), currentColor calc(50% - 1px), currentColor calc(50% + 1px), transparent calc(50% + 1px));
}

/* ---------- barra ---------- */

.bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: var(--cell);
  min-height: 72px; padding: 12px var(--cell);
  padding-top: max(12px, env(safe-area-inset-top));
  background: var(--paper);
  border-bottom: var(--line) solid var(--blue);
}
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 22px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
}
.brand .slash { color: var(--blue); width: 24px; height: 24px; }
.views { display: flex; gap: 0; }
.view {
  min-height: 48px; padding: 0 16px; border: 0; background: none; color: var(--ink-2);
  font: 600 14px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
}
.view:hover { color: var(--ink); }
.view[aria-pressed="true"] { color: var(--on-blue); background: var(--blue); }
.bar-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.me { display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--label); letter-spacing: .06em; text-transform: uppercase; }

.live { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font: 500 13px/1 var(--label); letter-spacing: .06em; text-transform: uppercase; }
.live-cell { width: 12px; height: 12px; border: var(--line) solid currentColor; }
.live[data-state="on"] { color: var(--blue); }
.live[data-state="on"] .live-cell { background: currentColor; }
.live[data-state="off"] { color: var(--red); }

/* Marca de dispositivo: un patrón de 3×3 celdas, distinto para cada uno. */
.glyph { display: inline-grid; grid-template-columns: repeat(3, 5px); gap: 1px; flex: none; }
.glyph i { width: 5px; height: 5px; background: var(--grid); }
.glyph i.on { background: var(--blue); }

/* ---------- acceso ---------- */

.auth { padding: calc(var(--cell) * 3) var(--cell); display: grid; justify-items: center; }
.auth-card {
  width: min(100%, calc(var(--cell) * 22));
  background: var(--paper); border: var(--line) solid var(--ink);
  padding: calc(var(--cell) * 1.5);
  display: grid; gap: var(--cell);
}
.auth-title { font: 600 clamp(28px, 4vw, 40px)/1.1 var(--label); letter-spacing: -.01em; text-wrap: balance; }
.auth-lede { color: var(--ink-2); max-width: 46ch; }
.tabs { display: flex; border: var(--line) solid var(--blue); }
.tabs [role="tab"] {
  flex: 1; min-height: 48px; border: 0; background: none; color: var(--blue);
  font: 600 13px/1.1 var(--label); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; padding: 4px 8px;
}
.tabs [role="tab"] + [role="tab"] { border-left: var(--line) solid var(--blue); }
.tabs [aria-selected="true"] { background: var(--blue); color: var(--on-blue); }

.form { display: grid; gap: 12px; }
.form .btn-solid { margin-top: 12px; }
.field { display: grid; gap: 6px; }
.field > span { font: 600 12px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; }
input:not([type="checkbox"]):not([type="file"]), textarea {
  width: 100%; min-height: 48px; padding: 12px;
  border: var(--line) solid var(--ink); border-radius: 0;
  background: var(--paper); color: var(--ink); font: 16px/1.4 var(--text);
  caret-color: var(--blue);
}
input::placeholder, textarea::placeholder { color: var(--ink-2); }
input:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: -1px; border-color: var(--blue); }
input:user-invalid { border-color: var(--red); }
.code-input { font: 600 28px/1 var(--label) !important; letter-spacing: .3em; text-align: center; }
.hint { color: var(--ink-2); font-size: 13px; }
.form-error { color: var(--red); font-weight: 600; min-height: 1.5em; font-size: 14px; }
.form-error:empty { min-height: 0; }

/* ---------- mesa de trabajo ---------- */

.desk {
  display: grid; grid-template-columns: calc(var(--cell) * 15) 1fr; gap: var(--cell);
  padding: var(--cell); align-items: start;
}
.side { position: sticky; top: calc(72px + var(--cell)); display: grid; gap: var(--cell); }

.drop {
  background: var(--paper); border: var(--line) solid var(--ink);
  padding: var(--cell); display: grid; gap: 12px;
}
.drop-title { font: 600 18px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; }
.drop textarea { min-height: calc(var(--cell) * 6); resize: vertical; field-sizing: content; max-height: 50dvh; }
.drop-files { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.drop-hint { color: var(--ink-2); font-size: 13px; }
.file-btn { cursor: pointer; }
.file-btn:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.kbd-hint { color: var(--ink-2); font-size: 12px; }
@media (hover: none) { .kbd-hint { display: none; } }

.latest-link {
  display: grid; gap: 12px; text-decoration: none;
  background: var(--paper); border: var(--line) solid var(--blue); padding: var(--cell);
}
.latest-link:hover { background: var(--blue-wash); }
.latest-num svg { display: block; height: auto; width: 100%; max-width: 288px; }
.latest-meta { font: 500 13px/1.3 var(--label); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }

.quota { background: var(--paper); border: var(--line) solid var(--ink); padding: 12px; display: grid; gap: 8px; }
.quota-cells { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 2px; }
.quota-cells i { aspect-ratio: 1; background: var(--grid); }
.quota-cells i.on { background: var(--ink); }
.quota-text { font: 500 12px/1 var(--label); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }

/* ---------- módulos ---------- */

.modules {
  list-style: none; padding: 0;
  /* Cada módulo ocupa celdas enteras: 13 de ancho, y todos los de una fila comparten borde inferior. */
  display: grid; grid-template-columns: repeat(auto-fill, calc(var(--cell) * 13));
  justify-content: start; gap: var(--cell); align-items: stretch;
}
.module {
  background: var(--paper); border: var(--line) solid var(--ink);
  display: grid; grid-template-rows: auto 1fr auto auto; grid-template-columns: minmax(0, 1fr);
  min-height: calc(var(--cell) * 9); min-width: 0;
  container-type: inline-size;
}
/* En un módulo estrecho, las acciones secundarias se quedan en icono (el nombre sigue en aria-label). */
@container (max-width: 360px) {
  .m-act:not(.is-main) .m-label { display: none; }
  .m-act:not(.is-main) { min-width: 48px; padding: 0 8px; }
}
.module.is-new { border-color: var(--blue); }
.module.is-pinned .m-head { background: var(--ink); color: var(--paper); }
.module.is-pinned .m-head .glyph i { background: color-mix(in oklab, var(--paper), transparent 70%); }
.module.is-pinned .m-head .glyph i.on { background: var(--paper); }
.module:target { outline: 3px solid var(--blue); outline-offset: 2px; }

.m-head {
  display: flex; align-items: center; gap: 12px; padding: 8px 12px;
  border-bottom: 1px solid var(--blue);
  font: 600 13px/1 var(--label); letter-spacing: .06em; text-transform: uppercase;
}
.m-num svg { display: block; height: 14px; width: auto; }
.m-dev { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-when { margin-left: auto; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }

.m-body { padding: 12px; min-width: 0; }
.m-text {
  white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; line-clamp: 8; overflow: hidden;
}
.m-text.is-code { font: 13.5px/1.5 var(--mono); }
.module.is-open .m-text { -webkit-line-clamp: unset; line-clamp: unset; display: block; }
.m-more { margin-top: 8px; border: 0; background: none; color: var(--blue); font: 600 12px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; padding: 8px 0; min-height: 32px; }
.m-link { color: var(--blue); overflow-wrap: anywhere; font-size: 15px; }
.m-host { display: block; color: var(--ink-2); font: 500 12px/1.3 var(--label); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.m-image { display: block; width: 100%; max-height: calc(var(--cell) * 10); object-fit: contain; background: var(--surface); border: 1px solid var(--grid); }
.m-file { display: flex; align-items: center; gap: 12px; }
.m-file .i { width: 32px; height: 32px; color: var(--blue); }
.m-file-name { font-weight: 600; overflow-wrap: anywhere; }
.m-file-meta { color: var(--ink-2); font-size: 13px; }

/* Caducidad: 24 celdas, una por hora. Las llenas son las horas que quedan. */
.m-time { display: flex; align-items: center; gap: 12px; padding: 0 12px 12px; }
.m-cells { flex: 1; display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; }
.m-cells i { height: 8px; background: var(--grid); }
.m-cells i.on { background: var(--blue); }
.m-cells.is-low i.on { background: var(--red); }
.m-left { font: 500 12px/1 var(--label); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; min-width: 9ch; text-align: right; }
.m-pinned { font: 600 12px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; }

.m-acts { display: flex; border-top: 1px solid var(--blue); position: relative; }
.m-act {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  min-height: 48px; padding: 0 12px; border: 0; background: none; color: var(--ink);
  font: 600 12px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; text-decoration: none;
}
.m-act + .m-act { border-left: 1px solid var(--grid); }
.m-act:hover { background: var(--blue-wash); }
.m-act.is-main { flex: 1 1 auto; min-width: 0; justify-content: space-between; color: var(--blue); }
.m-act[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.m-act.is-delete:hover { color: var(--red); }
.m-act .i { width: 18px; height: 18px; }
.m-act[data-copied] { color: var(--on-blue); background: var(--blue); }
.m-tip { position: absolute; left: 12px; bottom: calc(100% + 6px); background: var(--ink); color: var(--paper); font: 600 12px/1 var(--label); letter-spacing: .06em; text-transform: uppercase; padding: 6px 8px; opacity: 0; pointer-events: none; transition: opacity .15s; }
.m-tip:not(:empty) { opacity: 1; }

.module.is-uploading .m-acts { color: var(--ink-2); }
.m-progress { flex: 1; display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; padding: 20px 12px; }
.m-progress i { height: 8px; background: var(--grid); }
.m-progress i.on { background: var(--ink); }

.skeleton { min-height: calc(var(--cell) * 9); border: var(--line) solid var(--grid); background: var(--paper); }

.empty { background: var(--paper) radial-gradient(var(--grid) 1.5px, transparent 1.5px) 0 0 / 12px 12px; border: 1px solid var(--blue); padding: calc(var(--cell) * 1.5); display: grid; gap: 8px; max-width: 60ch; color: var(--ink-2); }
.empty-title { color: var(--ink); font: 600 20px/1.2 var(--label); letter-spacing: .02em; }

/* Construcción celda a celda del número de lo que acaba de llegar. */
.cellnum rect.on { fill: var(--blue); }
.cellnum rect.off { fill: var(--grid); }
.m-num .cellnum rect.on { fill: currentColor; }
.m-num .cellnum rect.off { fill: none; }
/* Celda que aún no se ha encendido. La enciende app.js quitando la clase: una animación CSS de fill con
   variables deja celdas sin pintar en Safari (iOS y macOS). */
.cellnum rect.on.wait { fill: var(--grid); }
.m-num .cellnum rect.on.wait { fill: none; }

/* ---------- arrastrar y soltar ---------- */

.dropzone {
  position: fixed; inset: 0; z-index: 30; display: none; place-items: center;
  background: color-mix(in oklab, var(--blue), transparent 12%); color: var(--on-blue);
  font: 600 clamp(22px, 3vw, 36px)/1.1 var(--label); letter-spacing: .04em; text-transform: uppercase; text-align: center; padding: var(--cell);
  background-image: linear-gradient(color-mix(in oklab, var(--on-blue), transparent 75%) 1px, transparent 1px), linear-gradient(90deg, color-mix(in oklab, var(--on-blue), transparent 75%) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
}
body.dragging .dropzone { display: grid; }

/* ---------- diálogos ---------- */

.sheet {
  width: min(100% - 2 * var(--cell), calc(var(--cell) * 24));
  max-height: min(90dvh, 860px);
  margin: auto;
  border: var(--line) solid var(--ink); border-radius: 0; padding: var(--cell);
  background: var(--paper); color: var(--ink);
}
.sheet[open] { display: grid; gap: var(--cell); }
.sheet:modal { overscroll-behavior: contain; }
.sheet::backdrop { background: color-mix(in oklab, var(--paper-dark), transparent 45%); overflow: hidden; overscroll-behavior: contain; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sheet-head h2 { font: 600 20px/1.1 var(--label); letter-spacing: .06em; text-transform: uppercase; }
.sheet-sub { font: 600 13px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; }
.sheet-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.account { margin-right: auto; color: var(--ink-2); font-size: 14px; }

.pair-code { display: block; }
.pair-code svg { display: block; width: 100%; height: auto; }
.pair-time { display: grid; gap: 8px; }
.pair-cells { display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px; }
.pair-cells i { height: 10px; background: var(--grid); }
.pair-cells i.on { background: var(--blue); }
#pair-left { font: 500 13px/1 var(--label); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }

.inline-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end; }
.inline-form > p, .inline-form > .field:only-of-type:not(:first-child) { grid-column: 1 / -1; }
#delete-account { grid-template-columns: 1fr; }

.devices { list-style: none; padding: 0; border: var(--line) solid var(--ink); }
.devices li { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 12px; min-height: 56px; }
.devices li + li { border-top: 1px solid var(--grid); }
.dev-name { font-weight: 600; }
.dev-meta { color: var(--ink-2); font-size: 13px; }
.dev-info { flex: 1; min-width: 0; }
.devices .btn { min-height: 40px; font-size: 12px; }

.toggle { display: flex; align-items: center; gap: 8px; font: 600 13px/1 var(--label); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; min-height: 32px; }
.toggle input { width: 18px; height: 18px; }

.danger { border-top: 1px solid var(--grid); padding-top: 12px; }
.danger summary { cursor: pointer; color: var(--red); font: 600 13px/1 var(--label); letter-spacing: .06em; text-transform: uppercase; min-height: 32px; display: flex; align-items: center; }
.danger form { margin-top: 12px; }

/* ---------- aviso ---------- */

.notice {
  position: fixed; left: 50%; bottom: max(var(--cell), env(safe-area-inset-bottom)); translate: -50% 0; z-index: 40;
  max-width: calc(100% - 2 * var(--cell));
  background: var(--ink); color: var(--paper); padding: 12px 16px;
  font: 600 13px/1.3 var(--label); letter-spacing: .04em;
  opacity: 0; pointer-events: none; transition: opacity .2s ease-out;
}
.notice.is-on { opacity: 1; }
.notice.is-error { background: var(--red); color: var(--paper); }

.noscript { padding: var(--cell); font-weight: 600; }

/* ---------- móvil ---------- */

@media (max-width: 920px) {
  .desk { grid-template-columns: 1fr; padding: 12px; gap: 12px; }
  .side { display: contents; }
  .latest { display: none; }
  .quota { order: 2; }
  .modules { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 640px) {
  .bar { gap: 8px; padding: 8px 12px; padding-top: max(8px, env(safe-area-inset-top)); min-height: 60px; flex-wrap: wrap; }
  .brand { font-size: 18px; }
  .views { order: 3; width: 100%; }
  .view { flex: 1; min-height: 44px; }
  .me, #open-pair .slash { display: none; }
  .live[data-state="on"] .live-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  #open-pair { padding: 0 12px; min-height: 44px; }
  .bar-end .btn-icon { min-width: 44px; min-height: 44px; }
  .drop { padding: 12px; }
  .drop textarea { min-height: calc(var(--cell) * 4); }
  .drop-title { font-size: 16px; }
  .auth { padding: var(--cell) 12px; }
  .auth-card { padding: var(--cell) 16px; }
  .inline-form { grid-template-columns: 1fr; }
  .sheet { width: 100%; max-width: 100%; margin: auto 0 0; max-height: 92dvh; padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
