/* Registro de huéspedes — estilos compartidos (formulario y panel) */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/bricolage.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: 'Figtree';
  src: url('/fonts/figtree.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --deep: #0e3b3a;
  --deep-2: #092a29;
  --ink: #152322;
  --mute: #5a6d6a;
  --line: #d3dfda;
  --mist: #e5efea;
  --paper: #f4f8f6;
  --white: #ffffff;
  --accent: #f0a81c;
  --on-accent: #152322;
  --danger: #b3261e;
  --ok: #1d7a55;
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
}

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

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

body {
  margin: 0;
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

/* ---------- campos ---------- */

.field {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  min-width: 0;
}

.field > label,
.field > .label {
  font-weight: 600;
  font-size: 0.94rem;
}

.field .optional {
  font-weight: 400;
  color: var(--mute);
}

.hint {
  font-size: 0.86rem;
  color: var(--mute);
}

.error {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--danger);
}

.input,
.select,
.textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color 0.15s;
}

.textarea {
  min-height: 96px;
  resize: vertical;
}

.input:hover,
.select:hover,
.textarea:hover {
  border-color: #a9bcb6;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--deep);
  box-shadow: 0 0 0 3px rgb(14 59 58 / 0.14);
}

.field.invalid .input,
.field.invalid .select {
  border-color: var(--danger);
}

.row2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.segmented {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 4px;
  background: var(--mist);
  border-radius: 12px;
}

.segmented label {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 6px 8px;
  font-weight: 600;
  font-size: 0.94rem;
  text-align: center;
  border-radius: 9px;
  cursor: pointer;
}

.segmented input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.segmented label:has(input:checked) {
  background: var(--deep);
  color: var(--white);
}

.segmented label:has(input:focus-visible) {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.check {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: start;
  cursor: pointer;
}

.check input {
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--deep);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 22px;
  font-weight: 700;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: var(--deep);
  color: var(--white);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s, background 0.15s;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn:hover {
  background: var(--deep-2);
}

.btn:active {
  transform: scale(0.98);
}

.btn[disabled] {
  opacity: 0.55;
  cursor: progress;
}


.btn.accent {
  background: var(--accent);
  color: var(--on-accent);
}

.btn.accent:hover {
  background: var(--accent);
  filter: brightness(0.95);
}

.btn.ghost {
  background: transparent;
  color: var(--deep);
  border-color: var(--line);
}

.btn.ghost:hover {
  background: var(--mist);
}

.btn.danger {
  background: transparent;
  color: var(--danger);
  border-color: #e7c4c1;
}

.btn.danger:hover {
  background: #fbeeed;
}

.btn.small {
  min-height: 38px;
  padding: 6px 14px;
  font-size: 0.9rem;
}

.btn.wide {
  width: 100%;
}

/* ============================================================
   FORMULARIO DEL HUÉSPED
   ============================================================ */

.arrival {
  background: var(--deep);
  color: var(--white);
  padding: 18px 20px 54px;
  background-image:
    radial-gradient(120% 90% at 100% 0%, rgb(255 255 255 / 0.09), transparent 60%),
    repeating-linear-gradient(115deg, rgb(255 255 255 / 0.028) 0 2px, transparent 2px 16px);
}

.arrival-inner,
.guest-main {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.arrival-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 34px;
}

.brand {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.lang {
  min-height: 36px;
  padding: 4px 14px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--white);
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 999px;
  cursor: pointer;
}

.arrival .lead {
  font-size: 1rem;
  color: rgb(255 255 255 / 0.75);
  margin-bottom: 6px;
}

.arrival h1 {
  font-size: clamp(2.1rem, 9vw, 3.1rem);
  text-wrap: balance;
}

.arrival .keyline {
  display: block;
  width: 64px;
  height: 5px;
  margin-top: 18px;
  border-radius: 3px;
  background: var(--accent);
}

.arrival .reason {
  margin-top: 16px;
  max-width: 46ch;
  font-size: 0.95rem;
  color: rgb(255 255 255 / 0.82);
}

.guest-main {
  padding: 0 14px 56px;
  margin-top: -30px;
}

.sheet {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 22px 20px 24px;
  box-shadow: 0 1px 0 rgb(14 59 58 / 0.06), 0 18px 40px -22px rgb(9 42 41 / 0.45);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
}

.steps li {
  height: 5px;
  border-radius: 3px;
  background: var(--mist);
}

.steps li.done,
.steps li.current {
  background: var(--deep);
}

.step-count {
  font-size: 0.86rem;
  color: var(--mute);
  margin-bottom: 18px;
}

.step h2 {
  font-size: 1.55rem;
  margin-bottom: 6px;
}

.step > .hint {
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.upload {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 22px 16px;
  text-align: center;
  background: var(--paper);
  border: 2px dashed #b4c7c0;
  border-radius: var(--r-md);
  cursor: pointer;
}

.upload:hover {
  border-color: var(--deep);
}

.upload strong {
  font-weight: 700;
}

.upload svg {
  width: 34px;
  height: 34px;
  color: var(--deep);
}

.upload.has-file {
  border-style: solid;
  border-color: var(--deep);
  grid-template-columns: 92px 1fr;
  justify-items: start;
  text-align: left;
  align-items: center;
  padding: 12px;
}

.upload img {
  width: 92px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
}

.field.invalid .upload {
  border-color: var(--danger);
}

.companion {
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
}

.companion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}

.link-btn {
  padding: 6px 2px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--danger);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.people-count {
  font-size: 0.9rem;
  color: var(--mute);
}

.nav-row {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.nav-row .btn:last-child {
  flex: 1;
}

.form-error {
  margin-top: 16px;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--danger);
  background: #fbeeed;
  border-radius: var(--r-sm);
}

.privacy-note {
  margin-top: 18px;
  font-size: 0.84rem;
  color: var(--mute);
  text-align: center;
}

/* Pase de llegada (confirmación) */

.pass {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px -22px rgb(9 42 41 / 0.5);
  animation: pass-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes pass-in {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(-1.2deg);
  }
}

.pass-top {
  padding: 22px 22px 26px;
  background: var(--accent);
  color: var(--on-accent);
}

.pass-top p {
  font-weight: 600;
  font-size: 0.95rem;
}

.pass-ref {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.4rem, 12vw, 3.3rem);
  letter-spacing: 0.01em;
  line-height: 1;
  margin-top: 6px;
}

.pass-cut {
  position: relative;
  height: 0;
  border-top: 2px dashed var(--line);
  margin: 0 18px;
}

.pass-cut::before,
.pass-cut::after {
  content: '';
  position: absolute;
  top: -13px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper);
}

.pass-cut::before {
  left: -31px;
}

.pass-cut::after {
  right: -31px;
}

.pass-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 14px;
  padding: 24px 22px;
}

.pass-body div.full {
  grid-column: 1 / -1;
}

.pass-body dt {
  font-size: 0.84rem;
  color: var(--mute);
}

.pass-body dd small {
  display: block;
  margin-top: 2px;
  font-family: var(--body);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--mute);
}

.pass-body dd {
  margin: 2px 0 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.14rem;
  line-height: 1.2;
}

.after-pass {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.after-pass h2 {
  font-size: 1.4rem;
}

.note-card {
  padding: 16px 18px;
  background: var(--mist);
  border-radius: var(--r-md);
  white-space: pre-line;
}

.note-card strong {
  display: block;
  margin-bottom: 4px;
}

/* Crédito al pie */

.credito {
  margin: 0;
  padding: 0 16px 28px;
  font-size: 0.8rem;
  text-align: center;
}

.credito a {
  color: var(--mute);
  text-decoration: none;
}

.credito a:hover {
  color: var(--deep);
  text-decoration: underline;
}

/* Portada y estados vacíos */

.picker {
  display: grid;
  gap: 10px;
}

.picker a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
}

.picker a:hover {
  border-color: var(--deep);
  background: var(--mist);
}

.picker svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.empty {
  padding: 8px 0;
}

.empty h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.empty p {
  color: var(--mute);
}

@media (max-width: 380px) {
  .row2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ============================================================
   PANEL DE ADMINISTRADOR
   ============================================================ */

.auth {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: var(--deep);
  background-image: repeating-linear-gradient(115deg, rgb(255 255 255 / 0.028) 0 2px, transparent 2px 16px);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 30px 26px;
  background: var(--white);
  border-radius: var(--r-lg);
}

.auth-card h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.auth-card > p {
  color: var(--mute);
  margin-bottom: 22px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--deep);
  color: var(--white);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 62px;
}

.topbar .brand {
  font-size: 1.08rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tabs {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.tabs button {
  min-height: 62px;
  padding: 0 14px;
  font-weight: 600;
  color: rgb(255 255 255 / 0.72);
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
}

.tabs button:hover {
  color: var(--white);
}

.tabs button[aria-selected='true'] {
  color: var(--white);
  border-bottom-color: var(--accent);
}

.logout {
  min-height: 36px;
  padding: 4px 12px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--white);
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 80px;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.page-head h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.page-head p {
  color: var(--mute);
  margin-top: 6px;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 14px;
  font-weight: 600;
  font-size: 0.92rem;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.chip b {
  min-width: 22px;
  padding: 1px 6px;
  font-size: 0.8rem;
  text-align: center;
  background: var(--mist);
  border-radius: 999px;
}

.chip[aria-pressed='true'] {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--white);
}

.chip[aria-pressed='true'] b {
  background: var(--accent);
  color: var(--on-accent);
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 10px;
  margin-bottom: 16px;
}

.toolbar .input,
.toolbar .select {
  min-height: 44px;
  padding: 8px 14px;
}

.table-wrap {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

table.list {
  width: 100%;
  border-collapse: collapse;
}

.list th {
  padding: 12px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: left;
  color: var(--mute);
  background: var(--paper);
  border-bottom: 1.5px solid var(--line);
}

.list td {
  padding: 14px 16px;
  vertical-align: middle;
  border-bottom: 1px solid var(--mist);
}

.list tbody tr:last-child td {
  border-bottom: 0;
}

.list tbody tr {
  cursor: pointer;
}

.list tbody tr:hover,
.list tbody tr:focus-visible {
  background: #f0f6f3;
}

.cell-main {
  font-weight: 700;
}

.cell-sub {
  font-size: 0.86rem;
  color: var(--mute);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px 4px 9px;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 999px;
  background: var(--mist);
  white-space: nowrap;
}

.status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.status.pendiente {
  background: #fdf0d2;
  color: #8a5a00;
}

.status.confirmado {
  background: #dcefe6;
  color: #17603f;
}

.status.en_casa {
  background: var(--deep);
  color: var(--white);
}

.status.finalizado {
  background: #e9eeec;
  color: #51615e;
}

.status.cancelado {
  background: #fbe5e3;
  color: #9a2019;
}

.blank {
  padding: 46px 24px;
  text-align: center;
}

.blank h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.blank p {
  max-width: 44ch;
  margin: 0 auto 18px;
  color: var(--mute);
}

/* Ficha lateral */

dialog {
  padding: 0;
  border: 0;
  color: var(--ink);
}

dialog::backdrop {
  background: rgb(9 42 41 / 0.5);
}

dialog.sheet-side {
  width: min(560px, 100vw);
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  background: var(--paper);
  overflow-y: auto;
}

dialog.sheet-side[open] {
  animation: side-in 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes side-in {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
}

dialog.modal {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow-y: auto;
}

.modal-body {
  padding: 26px 24px;
}

.modal-body h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.ficha-head {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 18px 22px 20px;
  background: var(--deep);
  color: var(--white);
}

.ficha-head .close {
  float: right;
  width: 38px;
  height: 38px;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--white);
  background: rgb(255 255 255 / 0.12);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.ficha-head .ref {
  font-size: 0.9rem;
  color: rgb(255 255 255 / 0.75);
}

.ficha-head h2 {
  font-size: 1.6rem;
  margin: 4px 0 2px;
}

.ficha-body {
  display: grid;
  gap: 14px;
  padding: 18px 16px 40px;
}

.block {
  padding: 18px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
}

.block h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.kv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
  margin: 0;
}

.kv dt {
  font-size: 0.84rem;
  color: var(--mute);
}

.kv dd {
  margin: 1px 0 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.kv .full {
  grid-column: 1 / -1;
}

.people {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.people li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--mist);
}

.people li:last-child {
  border: 0;
  padding: 0;
}

.people span:last-child {
  color: var(--mute);
  white-space: nowrap;
}

.doc-photo {
  display: block;
  width: 100%;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  margin-bottom: 12px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Propiedades */

.prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}

.prop {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 20px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
}

.prop.off {
  opacity: 0.62;
}

.prop h2 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.prop .meta {
  font-size: 0.9rem;
  color: var(--mute);
}

.linkbox {
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--deep);
  background: var(--mist);
  border-radius: var(--r-sm);
  overflow-wrap: anywhere;
}

/* Ajustes */

.settings {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.settings .block h2 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.settings .block > p {
  color: var(--mute);
  margin-bottom: 18px;
  font-size: 0.94rem;
}

.settings .stack {
  display: grid;
  gap: 16px;
}

.color-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.color-row input[type='color'] {
  width: 54px;
  height: 46px;
  padding: 2px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}

.copy-text {
  padding: 14px;
  font-size: 0.92rem;
  background: var(--paper);
  border: 1.5px dashed #b4c7c0;
  border-radius: var(--r-sm);
  margin-bottom: 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  transform: translateX(-50%);
  padding: 12px 20px;
  font-weight: 600;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 0 10px 30px -10px rgb(0 0 0 / 0.5);
  animation: toast-in 0.2s ease-out;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 8px);
  }
}

@media (max-width: 820px) {
  .topbar-inner {
    flex-wrap: wrap;
    gap: 0 12px;
    padding-top: 10px;
  }

  .topbar .brand {
    flex: 1;
  }

  .tabs {
    order: 3;
    width: 100%;
    margin: 0;
  }

  .tabs button {
    flex: 1;
    min-height: 48px;
    padding: 0 6px;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .settings {
    grid-template-columns: 1fr;
  }

  /* la tabla pasa a tarjetas */
  .list thead {
    display: none;
  }

  .list,
  .list tbody,
  .list tr,
  .list td {
    display: block;
  }

  .list tr {
    position: relative;
    padding: 14px 16px;
    border-bottom: 1px solid var(--mist);
  }

  .list td {
    padding: 0;
    border: 0;
  }

  .list td.c-status {
    margin-top: 10px;
  }

  .list td.c-prop,
  .list td.c-dates {
    font-size: 0.92rem;
    margin-top: 4px;
  }

  .list td.c-people,
  .list td.c-plate {
    display: none;
  }
}

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