/* =========================================================
   Boda Faby & Gaby — capa propia sobre la plantilla Teli
   Paleta de boda, panel de gestión responsive y páginas públicas.
   ========================================================= */

/* ---------- Fuentes locales (sin depender de Google Fonts) ---------- */
@font-face {
  font-family: 'Great Vibes';
  src: url('fonts/GreatVibes-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-Regular.ttf') format('truetype');
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay-Regular.ttf') format('truetype');
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Regular.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Tokens: Japón en primavera (sakura) ---------- */
:root {
  /* Rosa sakura / rosa empolvado */
  --sakura: #e6d7d5;
  --sakura-light: #f3eae8;
  --bg-primary: #a9636f;
  --bg-primary-dark: #8e4f5b;
  --bg-primary-soft: #f6eae9;

  /* Verde salvia */
  --sage: #8fa183;
  --sage-deep: #5f7055;
  --sage-soft: #eceff0;
  --bg-secondary: #3b463a;

  /* Champán / dorado suave */
  --bg-accent: #c7a86a;
  --bg-accent-dark: #a98c52;
  --bg-accent-soft: #f8f1e2;

  /* Marfil */
  --ivory: #fcf9f7;

  --surface: #ffffff;
  --surface-2: #fcf9f7;
  --surface-3: #f4ece9;
  --border: #ece0dc;
  --border-strong: #d8c7c3;

  --text: #3a3034;
  --text-muted: #7d7074;
  --text-invert: #ffffff;

  --ok: #5f7055;
  --ok-soft: #edf1e9;
  --warn: #a98c52;
  --warn-soft: #f8f1e2;
  --danger: #a8545a;
  --danger-soft: #f8ecec;
  --info: #5b7480;
  --info-soft: #ecf1f3;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(58, 48, 52, .05), 0 1px 3px rgba(58, 48, 52, .04);
  --shadow: 0 4px 18px rgba(58, 48, 52, .07);
  --shadow-lg: 0 18px 48px rgba(58, 48, 52, .15);

  --sidebar-width: 268px;
  --topbar-height: 62px;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
}

[data-theme="dark"] {
  --surface: #221d20;
  --surface-2: #1b1719;
  --surface-3: #2d2629;
  --border: #3a3135;
  --border-strong: #4c4146;
  --text: #f4eeec;
  --text-muted: #b6a8ac;
  --ivory: #221d20;
  --sakura-light: #3a2c2f;
  --bg-primary-soft: #3a2a2d;
  --bg-accent-soft: #35301f;
  --sage-soft: #26302a;
  --ok-soft: #233024;
  --warn-soft: #35301f;
  --danger-soft: #382426;
  --info-soft: #1f2a30;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 4px 16px rgba(0, 0, 0, .45);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, .6);
}

/* ---------- Base ---------- */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ivory);
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--text);
  font-weight: 600;
  letter-spacing: .005em;
  line-height: 1.25;
}

a {
  color: var(--bg-primary);
  text-decoration: none;
  transition: color .18s ease;
}

a:hover {
  color: var(--bg-primary-dark);
}

p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  opacity: 1;
  margin: 1.25rem 0;
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 1.1;
}

.text-muted-2 {
  color: var(--text-muted) !important;
}

.fw-600 {
  font-weight: 600;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 999px;
}

/* =========================================================
   Panel de gestión
   ========================================================= */
.admin-shell {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: var(--sidebar-width);
  flex: 0 0 var(--sidebar-width);
  background: var(--bg-secondary);
  color: rgba(255, 255, 255, .78);
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1045;
  transition: transform .25s ease;
  overflow: hidden;
}

.admin-sidebar__brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  min-height: var(--topbar-height);
}

.admin-sidebar__brand .mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-accent));
  display: grid;
  place-items: center;
  color: #fff;
  /* La tipografía caligráfica tiene remates enormes y se salía del cuadro,
     montándose sobre los nombres: aquí va la serif de los títulos y se recorta
     cualquier desbordamiento por seguridad. */
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  overflow: hidden;
  flex: 0 0 auto;
}

.admin-sidebar__brand .names {
  font-family: var(--font-head);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.15;
}

.admin-sidebar__brand .meta {
  font-size: .72rem;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .02em;
}

.admin-nav {
  flex: 1;
  overflow-y: auto;
  padding: .6rem .6rem 1.5rem;
}

.admin-nav__group {
  margin-top: 1rem;
  padding: 0 .55rem .3rem;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .38);
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .58rem .7rem;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, .78);
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.admin-nav a i {
  font-size: 1.1rem;
  opacity: .85;
  width: 1.3rem;
  text-align: center;
}

.admin-nav a:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.admin-nav a.active {
  background: linear-gradient(90deg, rgba(169, 99, 111, .95), rgba(169, 99, 111, .5));
  color: #fff;
  box-shadow: inset 2px 0 0 var(--bg-accent);
}

.admin-nav .badge-count {
  margin-left: auto;
  background: var(--bg-accent);
  color: #3a3034;
  border-radius: var(--radius-pill);
  font-size: .68rem;
  font-weight: 700;
  padding: .1rem .42rem;
}

.admin-main {
  flex: 1;
  min-width: 0;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  height: var(--topbar-height);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 0 1rem;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.admin-topbar__title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-content {
  padding: 1.25rem;
  flex: 1;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  display: inline-grid;
  place-items: center;
  font-size: 1.1rem;
  flex: 0 0 auto;
}

.icon-btn:hover {
  background: var(--surface-3);
  color: var(--text);
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(45, 38, 40, .5);
  z-index: 1040;
  border: 0;
  padding: 0;
}

.admin-sidebar__close {
  display: none;
}

@media (max-width: 991.98px) {
  .admin-sidebar {
    transform: translateX(-100%);
    box-shadow: var(--shadow-lg);
  }

  .admin-sidebar.is-open {
    transform: translateX(0);
  }

  .admin-sidebar__close {
    display: inline-grid;
  }

  .admin-main {
    margin-left: 0;
  }

  .admin-content {
    padding: 1rem .85rem 2.5rem;
  }
}

/* ---------- Tarjetas ---------- */
.card-soft {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.card-soft > .card-soft__header {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  padding: .85rem 1.05rem;
  border-bottom: 1px solid var(--border);
}

.card-soft__header h2,
.card-soft__header h3 {
  font-size: 1rem;
  margin: 0;
}

.card-soft__body {
  padding: 1.05rem;
}

/* ---------- Estadísticas ---------- */
.stat-grid {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .95rem 1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: .8rem;
  align-items: flex-start;
}

.stat__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  background: var(--bg-primary-soft);
  color: var(--bg-primary);
  flex: 0 0 auto;
}

.stat__icon.accent {
  background: var(--bg-accent-soft);
  color: var(--bg-accent-dark);
}

.stat__icon.ok {
  background: var(--ok-soft);
  color: var(--ok);
}

.stat__icon.warn {
  background: var(--warn-soft);
  color: var(--warn);
}

.stat__icon.danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.stat__icon.info {
  background: var(--info-soft);
  color: var(--info);
}

.stat__label {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.3;
}

.stat__value {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.1;
  margin: .1rem 0 0;
}

.stat__hint {
  font-size: .78rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Tablas ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table.data {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: .9rem;
}

table.data th {
  text-align: left;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  font-weight: 700;
  padding: .55rem .7rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  white-space: nowrap;
  position: sticky;
  top: 0;
}

table.data td {
  padding: .6rem .7rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

table.data tbody tr:hover td {
  background: var(--surface-2);
}

table.data tr:last-child td {
  border-bottom: 0;
}

/* Tabla apilada en móvil */
@media (max-width: 767.98px) {
  table.data.stacked thead {
    display: none;
  }

  table.data.stacked tbody tr {
    display: block;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: .6rem;
    padding: .3rem .1rem;
    background: var(--surface);
  }

  table.data.stacked td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border: 0;
    padding: .35rem .7rem;
  }

  table.data.stacked td::before {
    content: attr(data-label);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    font-weight: 700;
    flex: 0 0 42%;
  }

  table.data.stacked td.actions {
    justify-content: flex-end;
    border-top: 1px solid var(--border);
    margin-top: .25rem;
    padding-top: .5rem;
  }

  table.data.stacked td.actions::before {
    content: none;
  }
}

/* ---------- Píldoras de estado ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .55rem;
  border-radius: var(--radius-pill);
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}

.pill--ok { background: var(--ok-soft); color: var(--ok); }
.pill--warn { background: var(--warn-soft); color: var(--warn); }
.pill--danger { background: var(--danger-soft); color: var(--danger); }
.pill--info { background: var(--info-soft); color: var(--info); }
.pill--muted { background: var(--surface-3); color: var(--text-muted); }
.pill--primary { background: var(--bg-primary-soft); color: var(--bg-primary); }
.pill--accent { background: var(--bg-accent-soft); color: #8a6f22; }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--text);
  --btn-bd: var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .5rem .95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter .18s ease, background .18s ease, color .18s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn:hover:not(:disabled) {
  filter: brightness(.96);
  color: var(--btn-fg);
}

.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.btn--primary {
  --btn-bg: var(--bg-primary);
  --btn-fg: #fff;
  --btn-bd: var(--bg-primary);
}

.btn--accent {
  --btn-bg: var(--bg-accent);
  --btn-fg: #3a3034;
  --btn-bd: var(--bg-accent);
}

.btn--dark {
  --btn-bg: var(--bg-secondary);
  --btn-fg: #fff;
  --btn-bd: var(--bg-secondary);
}

.btn--danger {
  --btn-bg: var(--danger);
  --btn-fg: #fff;
  --btn-bd: var(--danger);
}

.btn--ghost {
  --btn-bg: transparent;
}

.btn--sm {
  padding: .3rem .65rem;
  font-size: .8rem;
}

.btn--icon {
  padding: .35rem;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
}

.btn--block {
  width: 100%;
}

/* ---------- Formularios ---------- */
.field {
  margin-bottom: .9rem;
}

.field > label,
.form-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .3rem;
}

.field .hint {
  font-size: .76rem;
  color: var(--text-muted);
  margin-top: .25rem;
}

.form-control,
.form-select,
select,
textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="time"],
input[type="tel"],
input[type="url"],
input[type="search"] {
  width: 100%;
  padding: .52rem .72rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-size: .9rem;
  font-family: inherit;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.form-control:focus,
.form-select:focus,
select:focus,
textarea:focus,
input:focus {
  outline: 0;
  border-color: var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(169, 99, 111, .16);
}

input[type="color"] {
  width: 48px;
  height: 36px;
  padding: 2px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .88rem;
  margin-bottom: .45rem;
  cursor: pointer;
}

.check input[type="checkbox"],
.check input[type="radio"] {
  width: 17px;
  height: 17px;
  margin-top: .15rem;
  accent-color: var(--bg-primary);
  flex: 0 0 auto;
}

.validation-message,
.text-danger {
  color: var(--danger) !important;
  font-size: .8rem;
}

.grid-2 {
  display: grid;
  gap: .9rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.grid-3 {
  display: grid;
  gap: .9rem;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
}

/* ---------- Avisos ---------- */
.notice {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  padding: .7rem .9rem;
  border-radius: var(--radius-sm);
  font-size: .88rem;
  border: 1px solid transparent;
  margin-bottom: 1rem;
}

.notice i {
  font-size: 1.15rem;
  flex: 0 0 auto;
  line-height: 1.3;
}

.notice--ok { background: var(--ok-soft); color: var(--ok); border-color: rgba(63, 125, 88, .25); }
.notice--warn { background: var(--warn-soft); color: var(--warn); border-color: rgba(181, 122, 31, .25); }
.notice--danger { background: var(--danger-soft); color: var(--danger); border-color: rgba(176, 58, 58, .25); }
.notice--info { background: var(--info-soft); color: var(--info); border-color: rgba(63, 109, 138, .25); }

/* ---------- Barras de progreso ---------- */
.bar {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
}

.bar > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bg-primary), var(--bg-accent));
  transition: width .4s ease;
}

.bar.ok > span { background: var(--ok); }
.bar.warn > span { background: var(--warn); }
.bar.danger > span { background: var(--danger); }

/* ---------- Pestañas ---------- */
.tabs {
  display: flex;
  gap: .3rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.1rem;
  padding-bottom: 1px;
}

.tabs button {
  border: 0;
  background: transparent;
  padding: .55rem .9rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}

.tabs button.active {
  color: var(--bg-primary);
  border-bottom-color: var(--bg-primary);
}

/* ---------- Diálogos ---------- */
.modal-shade {
  position: fixed;
  inset: 0;
  background: rgba(45, 38, 40, .55);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  z-index: 1060;
  overflow-y: auto;
}

.modal-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 620px;
  margin: 2rem auto;
  overflow: hidden;
}

.modal-card.lg { max-width: 900px; }
.modal-card.sm { max-width: 440px; }

.modal-card__header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .9rem 1.1rem;
  border-bottom: 1px solid var(--border);
}

.modal-card__header h3 {
  margin: 0;
  font-size: 1.05rem;
}

.modal-card__body {
  padding: 1.1rem;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-card__footer {
  display: flex;
  gap: .5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: .85rem 1.1rem;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
}

/* ---------- Mesas ---------- */
.seating-canvas {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 340px;
  background:
    radial-gradient(circle at 20% 20%, rgba(199, 168, 106, .13), transparent 45%),
    var(--surface-2);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.seating-table {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 104px;
  min-height: 104px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-content: center;
  text-align: center;
  padding: .4rem;
  cursor: pointer;
  font-size: .8rem;
}

.seating-table.rect {
  border-radius: 10px;
  width: 132px;
  min-height: 82px;
}

.seating-table.head {
  border-radius: 10px;
  width: 180px;
  min-height: 70px;
  border-color: var(--bg-accent);
  background: var(--bg-accent-soft);
}

.seating-table[draggable="true"] {
  cursor: grab;
}

.seating-table[draggable="true"]:active {
  cursor: grabbing;
}

.seating-table.dragging {
  opacity: .45;
}

.seating-table.selected {
  border-color: var(--bg-primary);
  box-shadow: 0 0 0 4px rgba(169, 99, 111, .18);
}

.seating-table.full {
  border-color: var(--ok);
}

.seating-table.over {
  border-color: var(--danger);
  background: var(--danger-soft);
}

.seating-table strong {
  display: block;
  font-size: .85rem;
  font-family: var(--font-head);
}

.seating-table small {
  color: var(--text-muted);
  font-size: .72rem;
}

.drop-target {
  outline: 2px dashed var(--bg-primary);
  outline-offset: 2px;
}

.guest-chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .28rem .6rem;
  border-radius: var(--radius-pill);
  background: var(--surface-3);
  border: 1px solid var(--border);
  font-size: .8rem;
  cursor: grab;
  margin: 0 .3rem .3rem 0;
}

.guest-chip:active {
  cursor: grabbing;
}

/* ---------- Tablero kanban ---------- */
.kanban {
  display: grid;
  gap: .85rem;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  align-items: start;
}

.kanban__col {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .65rem;
  min-height: 120px;
}

.kanban__col h3 {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
  margin: 0 0 .6rem;
  display: flex;
  justify-content: space-between;
}

.task-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--bg-primary);
  border-radius: var(--radius-sm);
  padding: .65rem .7rem;
  margin-bottom: .55rem;
  box-shadow: var(--shadow-sm);
  cursor: grab;
}

.task-card h4 {
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  margin: 0 0 .3rem;
}

.task-card .meta {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  align-items: center;
  font-size: .74rem;
  color: var(--text-muted);
}

/* ---------- Galería ---------- */
.gallery {
  display: grid;
  gap: .55rem;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.gallery figure {
  margin: 0;
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-3);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: .35rem .5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7));
  color: #fff;
  font-size: .72rem;
}

/* =========================================================
   Sitio público / invitación
   ========================================================= */
.public-body {
  background:
    radial-gradient(circle at 85% 8%, rgba(230, 215, 213, .55), transparent 42%),
    radial-gradient(circle at 10% 30%, rgba(199, 168, 106, .14), transparent 38%),
    linear-gradient(180deg, var(--ivory) 0%, #f7efed 100%);
}

[data-theme="dark"] .public-body {
  background: linear-gradient(180deg, #1b1719 0%, #241e21 100%);
}

.public-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

[data-theme="dark"] .public-nav {
  background: rgba(27, 22, 25, .92);
}

.public-nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: .6rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Monograma caligráfico de la cabecera pública. Los remates de Great Vibes
   sobresalen del ancho del glifo, así que se reserva aire a los lados para que
   no se monten sobre los nombres. */
.brand-script {
  display: inline-block;
  font-family: var(--font-script);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--bg-primary);
  padding: 0 .5rem 0 .15rem;
  white-space: nowrap;
}

.public-nav__links {
  display: flex;
  gap: 1.1rem;
  margin-left: auto;
  font-size: .88rem;
  font-weight: 500;
}

.public-nav__links a {
  color: var(--text-muted);
}

.public-nav__links a:hover {
  color: var(--bg-primary);
}

@media (max-width: 767.98px) {
  .public-nav__links {
    display: none;
  }
}

@media (max-width: 420px) {
  .countdown {
    gap: .4rem;
  }

  .countdown__cell {
    min-width: 0;
    width: calc(25% - .3rem);
    padding: .55rem .25rem;
  }

  .countdown__num {
    font-size: 1.35rem;
  }

  .countdown__lbl {
    font-size: .6rem;
    letter-spacing: .06em;
  }
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3.5rem 1.25rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(.92);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(59, 70, 58, .3), rgba(45, 38, 40, .62));
}

.hero__bg--plain {
  background:
    radial-gradient(circle at 20% 14%, rgba(240, 220, 217, .5), transparent 46%),
    radial-gradient(circle at 82% 80%, rgba(199, 168, 106, .38), transparent 48%),
    linear-gradient(150deg, #9a6472 0%, #7b5a69 38%, #5a5a52 72%, #434c3d 100%);
}

/* Rama de cerezo sobre la portada */
.hero__branch {
  position: absolute;
  top: -10px;
  width: 340px;
  max-width: 48vw;
  opacity: .5;
  pointer-events: none;
  z-index: 1;
}

.hero__branch--left { left: -20px; }

.hero__branch--right {
  right: -20px;
  transform: scaleX(-1);
}

@media (max-width: 575.98px) {
  .hero__branch { opacity: .35; }
  .hero__branch--right { display: none; }
}

.hero__bg--plain::after {
  background: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 760px;
}

.hero__names {
  font-family: var(--font-script);
  font-size: clamp(3rem, 12vw, 6rem);
  line-height: 1;
  color: #fff;
  margin: 0 0 .4rem;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

.hero__kicker {
  text-transform: uppercase;
  letter-spacing: .32em;
  font-size: .76rem;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 1rem;
}

.hero__date {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 3.5vw, 1.5rem);
  color: #fff;
  margin-bottom: 1.6rem;
}

.hero p {
  color: rgba(255, 255, 255, .88);
}

.countdown {
  display: flex;
  gap: .55rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.countdown__cell {
  min-width: 78px;
  flex: 0 1 auto;
  padding: .7rem .5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  backdrop-filter: blur(4px);
}

.countdown__num {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}

.countdown__lbl {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .78);
}

.section {
  padding: 3.2rem 1.25rem;
}

.section--tight {
  padding: 2.2rem 1.25rem;
}

.section__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section__inner--narrow {
  max-width: 780px;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title .kicker {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--bg-primary);
  line-height: 1;
}

.section-title h2 {
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
  margin: .2rem 0 .5rem;
}

.section-title p {
  max-width: 620px;
  margin: 0 auto;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.info-card__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto .8rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  background: var(--bg-primary-soft);
  color: var(--bg-primary);
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: .4rem;
}

.timeline {
  position: relative;
  padding-left: 2.1rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: .62rem;
  top: .4rem;
  bottom: .4rem;
  width: 2px;
  background: linear-gradient(var(--bg-primary), var(--bg-accent));
  opacity: .4;
}

.timeline__item {
  position: relative;
  padding-bottom: 1.5rem;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -1.55rem;
  top: .45rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--bg-primary);
}

.timeline__time {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--bg-primary);
  font-size: .95rem;
}

.timeline__item h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin: .1rem 0 .2rem;
}

.accordion-item-soft {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: .6rem;
  background: var(--surface);
  overflow: hidden;
}

.accordion-item-soft > button {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: .85rem 1rem;
  font-weight: 600;
  font-size: .95rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
  cursor: pointer;
}

.accordion-item-soft .answer {
  padding: 0 1rem .9rem;
  color: var(--text-muted);
  font-size: .92rem;
}

.gift-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.gift-card__img {
  aspect-ratio: 4 / 3;
  background: var(--surface-3);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 2rem;
}

.gift-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gift-card__body {
  padding: .9rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
}

.gift-card__price {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--bg-primary);
}

.bank-box {
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.bank-box dt {
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-muted);
}

.bank-box dd {
  font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
  font-size: 1rem;
  margin: 0 0 .7rem;
  word-break: break-all;
  color: var(--text);
}

.copy-row {
  display: flex;
  gap: .4rem;
  align-items: center;
}

.mission-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: .55rem;
  height: 100%;
}

.mission-card.done {
  border-color: var(--ok);
  background: var(--ok-soft);
}

.mission-card__head {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
}

.mission-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-accent-soft);
  color: var(--bg-accent-dark);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex: 0 0 auto;
}

.mission-card h3 {
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: 600;
  margin: 0;
}

.guestbook-entry {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .9rem 1rem;
  margin-bottom: .7rem;
}

.guestbook-entry .who {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
}

.public-footer {
  background: var(--bg-secondary);
  color: rgba(255, 255, 255, .72);
  padding: 2.2rem 1.25rem 1.6rem;
  text-align: center;
}

.public-footer .script {
  color: #fff;
  font-size: 2rem;
}

.public-footer a {
  color: var(--bg-accent);
}

/* ---------- QR ---------- */
.qr-sheet {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.qr-card {
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: .85rem;
  text-align: center;
  background: var(--surface);
  break-inside: avoid;
}

.qr-card img {
  width: 100%;
  max-width: 150px;
  height: auto;
}

.qr-card .name {
  font-family: var(--font-head);
  font-weight: 600;
  margin-top: .4rem;
  font-size: .95rem;
}

.qr-card .hint {
  font-size: .7rem;
  color: var(--text-muted);
}

/* ---------- Utilidades ---------- */
.stack {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}

.toolbar {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  align-items: center;
}

.toolbar .spacer {
  flex: 1 1 auto;
}

.empty {
  text-align: center;
  padding: 2.2rem 1rem;
  color: var(--text-muted);
}

.empty i {
  font-size: 2.3rem;
  display: block;
  margin-bottom: .5rem;
  opacity: .5;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.spin {
  animation: spin 1s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Blazor */
#blazor-error-ui {
  background: #fff3cd;
  color: #664d03;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, .2);
  display: none;
  left: 0;
  padding: .7rem 1.2rem .7rem 1.2rem;
  position: fixed;
  width: 100%;
  z-index: 2000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: .75rem;
  top: .5rem;
}

.blazor-error-boundary {
  background: var(--danger-soft);
  color: var(--danger);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--danger);
}

.loading-progress,
.loading-progress-text {
  display: none;
}

@media print {
  .admin-sidebar,
  .admin-topbar,
  .no-print {
    display: none !important;
  }

  .admin-main {
    margin-left: 0;
  }

  body {
    background: #fff;
  }
}

/* =========================================================
   Detalles japoneses: sakura, pétalos y grullas
   ========================================================= */

/* Pétalos cayendo. Decorativo: se desactiva si el usuario pide menos movimiento. */
.petals {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.petals span {
  position: absolute;
  top: -8%;
  width: 14px;
  height: 14px;
  background: var(--sakura);
  border-radius: 80% 10% 80% 10%;
  opacity: .85;
  filter: drop-shadow(0 1px 2px rgba(90, 60, 68, .35));
  animation: petal-fall linear infinite;
}

.petals span:nth-child(odd) {
  background: #f0dcd9;
  width: 11px;
  height: 11px;
}

.petals span:nth-child(3n) {
  background: #e9c9cd;
}

.petals span:nth-child(1)  { left: 4%;  animation-duration: 13s; animation-delay: 0s; }
.petals span:nth-child(2)  { left: 13%; animation-duration: 17s; animation-delay: 2s; }
.petals span:nth-child(3)  { left: 22%; animation-duration: 11s; animation-delay: 4s; }
.petals span:nth-child(4)  { left: 31%; animation-duration: 19s; animation-delay: 1s; }
.petals span:nth-child(5)  { left: 41%; animation-duration: 14s; animation-delay: 6s; }
.petals span:nth-child(6)  { left: 50%; animation-duration: 16s; animation-delay: 3s; }
.petals span:nth-child(7)  { left: 59%; animation-duration: 12s; animation-delay: 7s; }
.petals span:nth-child(8)  { left: 68%; animation-duration: 18s; animation-delay: 2s; }
.petals span:nth-child(9)  { left: 77%; animation-duration: 15s; animation-delay: 5s; }
.petals span:nth-child(10) { left: 86%; animation-duration: 13s; animation-delay: 8s; }
.petals span:nth-child(11) { left: 93%; animation-duration: 20s; animation-delay: 4s; }
.petals span:nth-child(12) { left: 67%; animation-duration: 22s; animation-delay: 9s; }

@keyframes petal-fall {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: .9; }
  50% {
    transform: translate3d(34px, 52vh, 0) rotate(180deg);
  }
  90% { opacity: .8; }
  100% {
    transform: translate3d(-18px, 108vh, 0) rotate(360deg);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .petals {
    display: none;
  }
}

/* Separador con flor de cerezo */
.sakura-divider {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 1.6rem auto;
  max-width: 320px;
  color: var(--bg-primary);
}

.sakura-divider::before,
.sakura-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bg-accent), transparent);
}

.sakura-divider svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

/* Marco de pétalos sobre una sección clara */
.sakura-frame {
  position: relative;
  isolation: isolate;
}

.sakura-frame::before,
.sakura-frame::after {
  content: '';
  position: absolute;
  width: 190px;
  height: 190px;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: .5;
  pointer-events: none;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23c7a86a' stroke-width='1.4'%3E%3Cpath d='M4 60c30 6 56 22 74 44M20 34c26 14 46 34 60 58M50 14c18 20 32 44 40 70'/%3E%3C/g%3E%3Cg fill='%23e6d7d5'%3E%3Ccircle cx='74' cy='104' r='7'/%3E%3Ccircle cx='86' cy='92' r='6'/%3E%3Ccircle cx='62' cy='92' r='6'/%3E%3Ccircle cx='68' cy='116' r='5'/%3E%3Ccircle cx='84' cy='116' r='5'/%3E%3Ccircle cx='34' cy='52' r='6'/%3E%3Ccircle cx='46' cy='42' r='5'/%3E%3Ccircle cx='24' cy='42' r='5'/%3E%3Ccircle cx='112' cy='62' r='6'/%3E%3Ccircle cx='124' cy='52' r='5'/%3E%3Ccircle cx='102' cy='52' r='5'/%3E%3C/g%3E%3C/svg%3E");
}

.sakura-frame::before {
  top: -12px;
  left: -14px;
}

.sakura-frame::after {
  bottom: -12px;
  right: -14px;
  transform: rotate(180deg);
}

@media (max-width: 767.98px) {
  .sakura-frame::before,
  .sakura-frame::after {
    width: 110px;
    height: 110px;
    opacity: .35;
  }
}

/* Grulla decorativa */
.crane {
  width: 70px;
  height: auto;
  color: var(--bg-accent);
  opacity: .85;
}

.crane--muted {
  color: var(--sage);
  opacity: .6;
}

/* Tarjeta estilo washi (papel japonés) */
.washi {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(252, 249, 247, .9)),
    repeating-linear-gradient(45deg, rgba(230, 215, 213, .22) 0 2px, transparent 2px 7px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .washi {
  background:
    linear-gradient(135deg, rgba(45, 38, 41, .95), rgba(34, 29, 32, .95)),
    repeating-linear-gradient(45deg, rgba(230, 215, 213, .06) 0 2px, transparent 2px 7px);
}

/* Sello rojo japonés (hanko) para acentos */
.hanko {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 2px solid var(--bg-primary);
  color: var(--bg-primary);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -.02em;
  background: rgba(169, 99, 111, .06);
}

/* =========================================================
   Plano del lugar
   ========================================================= */
.venue-plan {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 25%, rgba(230, 215, 213, .35), transparent 50%),
    var(--surface-2);
  border: 1px solid var(--border);
  min-height: 260px;
}

.venue-plan img {
  display: block;
  width: 100%;
  height: auto;
}

.venue-plan--empty {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  color: var(--text-muted);
  text-align: center;
  padding: 1.5rem;
  border-style: dashed;
}

.venue-plan--editable {
  cursor: crosshair;
}

.venue-marker {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 2;
  max-width: 7.5rem;
}

.venue-marker__pin {
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  background: var(--bg-primary);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 3px 10px rgba(58, 48, 52, .3);
  border: 2px solid #fff;
}

.venue-marker__pin i {
  transform: rotate(45deg);
  font-size: 1rem;
}

.venue-marker__label {
  font-size: .72rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, .92);
  border-radius: var(--radius-pill);
  padding: .1rem .45rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .venue-marker__label {
  background: rgba(34, 29, 32, .92);
}

.venue-marker.is-selected .venue-marker__pin {
  background: var(--bg-accent);
  color: #3a3034;
  box-shadow: 0 0 0 4px rgba(199, 168, 106, .35);
}

.venue-marker.is-dragging {
  opacity: .5;
}

.venue-legend {
  display: grid;
  gap: .5rem;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  margin-top: 1rem;
}

.venue-legend__item {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  padding: .6rem .7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  text-align: left;
  width: 100%;
  cursor: pointer;
}

.venue-legend__item:hover,
.venue-legend__item.is-selected {
  border-color: var(--bg-primary);
}

.venue-legend__icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--bg-primary-soft);
  color: var(--bg-primary);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

/* ---------- Diseñador del plano ---------- */
.venue-plan--designer {
  aspect-ratio: 16 / 10;
  min-height: 340px;
  background-image:
    linear-gradient(rgba(169, 99, 111, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 99, 111, .07) 1px, transparent 1px);
  background-size: 5% 5%;
}

.venue-plan--designer.has-image {
  background-image: none;
}

.venue-plan__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

/* Zona dibujada (salón, pista, barra…) */
.venue-zone {
  position: absolute;
  transform-origin: center;
  border: 2px solid rgba(58, 48, 52, .18);
  border-radius: 10px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: .25rem;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(58, 48, 52, .1);
  cursor: pointer;
  color: #3a3034;
}

.venue-zone--circulo,
.venue-zone--mesaredonda {
  border-radius: 50%;
}

.venue-zone--mesaredonda {
  border-style: dashed;
}

.venue-zone--texto {
  border: 0;
  background: transparent !important;
  box-shadow: none;
  font-family: var(--font-head);
  font-weight: 600;
}

.venue-zone__label {
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.15;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  pointer-events: none;
}

.venue-zone__label i {
  font-size: 1.05rem;
  opacity: .75;
}

.venue-zone.is-selected {
  border-color: var(--bg-primary);
  box-shadow: 0 0 0 3px rgba(169, 99, 111, .25);
}

.venue-zone.is-dragging {
  opacity: .45;
}

.venue-plan--designer .venue-zone,
.venue-plan--designer .venue-marker {
  cursor: grab;
}

.venue-plan--designer .venue-zone:active,
.venue-plan--designer .venue-marker:active {
  cursor: grabbing;
}

/* Paleta */
.venue-palette {
  display: grid;
  gap: .4rem;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
}

.venue-palette__item {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: .78rem;
  font-weight: 600;
  cursor: grab;
  text-align: left;
  width: 100%;
}

.venue-palette__item:hover {
  border-color: var(--bg-primary);
  background: var(--bg-primary-soft);
}

.venue-palette__item:active {
  cursor: grabbing;
}

.venue-palette__swatch {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(58, 48, 52, .15);
  font-size: .85rem;
  color: #3a3034;
}
