:root {
  --ground: #F3F1EC;
  --paper: #FFFFFF;
  --soft: #FAF9F6;
  --ink: #161616;
  --ink-2: #3E3B36;
  --muted: #5E5B55;
  --line: #DDD8CE;
  --line-2: #CFC9BD;
  --tape: #F2C94C;
  --ok-bg: #E7F2EA; --ok-fg: #1F5C3A; --ok-bd: #B9D8C3;
  --res-bg: #FDF5E2; --res-fg: #6B4400; --res-bd: #E8C77A;
  --sold-bg: #EDEBE6; --sold-fg: #3E3B36; --sold-bd: #D6D1C7;
  --danger: #8A2D1A;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --sans: "Archivo", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--ground); line-height: 1.4; }
a { color: var(--ink); }
a:hover { color: var(--muted); }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

.tape { display: inline-block; background: var(--tape); color: var(--ink); padding: 4px 10px; font-family: var(--mono); font-size: 13px; font-weight: 500; transform: rotate(-2deg); }
.mono { font-family: var(--mono); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; }
.btn:hover { color: var(--ink); border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { color: #fff; background: #000; }
.btn-tape { background: var(--tape); border-color: var(--tape); color: var(--ink); }
.btn-tape:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-danger { color: var(--danger); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; }

.chip { font-size: 14px; font-weight: 500; padding: 9px 16px; min-height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }

.seg { display: inline-flex; gap: 4px; padding: 4px; background: #EAE6DD; border-radius: 12px; }
.seg button { border: 0; background: transparent; min-height: 40px; padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 500; }
.seg button[aria-pressed="true"], .seg button[aria-checked="true"] { background: var(--paper); font-weight: 700; box-shadow: 0 0 0 1px var(--line); }

.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.pill-disponible { background: var(--ok-bg); color: var(--ok-fg); border-color: var(--ok-bd); }
.pill-reservado { background: var(--res-bg); color: var(--res-fg); border-color: var(--res-bd); }
.pill-vendido { background: var(--sold-bg); color: var(--sold-fg); border-color: var(--sold-bd); }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .label { font-size: 14px; font-weight: 700; }
.input { width: 100%; font-size: 16px; padding: 11px 14px; min-height: 48px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--paper); }
textarea.input { min-height: 90px; line-height: 1.45; resize: vertical; }
.input:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.hint { font-size: 13px; color: var(--muted); }
.error-text { font-size: 14px; color: var(--danger); font-weight: 600; }

.ph { background: #E3DED4; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 15px; z-index: 100; max-width: calc(100% - 32px); box-shadow: 0 6px 24px rgba(0,0,0,.2); }
