:root {
  --bg: #0a0a0c;
  --bg2: #111114;
  --panel: #15151a;
  --panel2: #1b1b21;
  --line: #26262e;
  --line2: #34343e;
  --text: #f2eee6;
  --muted: #9a968e;
  --dim: #6b6860;
  --gold: #c9a96e;
  --gold2: #e3c992;
  --gold-soft: rgba(201, 169, 110, 0.12);
  --green: #5fbf8f;
  --green-soft: rgba(95, 191, 143, 0.14);
  --red: #e0736b;
  --red-soft: rgba(224, 115, 107, 0.14);
  --blue: #7aa7e0;
  --blue-soft: rgba(122, 167, 224, 0.14);
  --amber: #e0b35a;
  --amber-soft: rgba(224, 179, 90, 0.14);
  --violet: #a98be0;
  --violet-soft: rgba(169, 139, 224, 0.14);
  --radius: 14px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 14px; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; background: radial-gradient(1200px 600px at 80% -10%, rgba(201,169,110,0.07), transparent 60%), var(--bg); }
a { color: var(--gold2); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: 0.01em; margin: 0; }
h1 { font-size: 34px; }
h2 { font-size: 26px; }
h3 { font-size: 20px; }
.boot { height: 100vh; display: grid; place-items: center; font-family: var(--serif); letter-spacing: 0.5em; color: var(--gold); font-size: 22px; }

/* ---------- Layout ---------- */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.side { border-right: 1px solid var(--line); background: rgba(10,10,12,0.85); padding: 26px 16px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; }
.brand { font-family: var(--serif); font-size: 26px; letter-spacing: 0.32em; color: var(--gold); padding: 0 12px 4px; }
.brand-sub { color: var(--dim); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; padding: 0 12px 22px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--muted); font-weight: 500; transition: .15s; }
.nav a:hover { color: var(--text); background: var(--panel); }
.nav a.on { color: var(--text); background: var(--panel2); box-shadow: inset 2px 0 0 var(--gold); }
.nav svg { width: 18px; height: 18px; flex: none; }
.side-foot { margin-top: auto; border-top: 1px solid var(--line); padding: 16px 12px 0; }
.side-foot .who { font-weight: 600; }
.side-foot .role { color: var(--gold); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 2px; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); margin-top: 10px; }
.live-dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.live-dot.on i { background: var(--green); box-shadow: 0 0 0 4px rgba(95,191,143,0.15); }
.main { padding: 30px 36px 80px; min-width: 0; }
.top { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.top .eyebrow { color: var(--gold); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; margin-bottom: 6px; }
.top .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mobile-bar, .bottom-nav { display: none; }

/* ---------- UI ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line2); background: var(--panel2); color: var(--text); padding: 9px 16px; border-radius: 999px; cursor: pointer; font-weight: 500; white-space: nowrap; transition: .15s; }
.btn:hover { border-color: var(--gold); }
.btn.gold { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #15120b; border-color: transparent; font-weight: 600; }
.btn.gold:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--red); border-color: rgba(224,115,107,0.35); background: transparent; }
.btn.sm { padding: 6px 12px; font-size: 12.5px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: default; }
.btn svg { width: 16px; height: 16px; }
.card { background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card + .card { margin-top: 16px; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.card-h h3 { font-size: 19px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat .k { color: var(--muted); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.stat .v { font-family: var(--serif); font-size: 36px; margin-top: 6px; line-height: 1; }
.stat .s { color: var(--dim); font-size: 12px; margin-top: 8px; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.gold-t { color: var(--gold2); }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.between { justify-content: space-between; }
.sp { flex: 1; }
.mt { margin-top: 16px; }
.mt-s { margin-top: 8px; }
.hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }

label.f { display: block; }
label.f > span { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 6px; text-transform: uppercase; }
.input, select.input, textarea.input { width: 100%; background: var(--bg2); border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; outline: none; transition: .15s; }
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
textarea.input { min-height: 72px; resize: vertical; }
.form { display: grid; gap: 14px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.check input { accent-color: var(--gold); width: 16px; height: 16px; }

.seg { display: inline-flex; background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; color: var(--muted); cursor: pointer; font-weight: 500; }
.seg button.on { background: var(--panel2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-confirmada { color: var(--blue); background: var(--blue-soft); }
.st-lista_espera { color: var(--amber); background: var(--amber-soft); }
.st-llegada { color: var(--violet); background: var(--violet-soft); }
.st-sentada { color: var(--green); background: var(--green-soft); }
.st-finalizada { color: var(--muted); background: rgba(255,255,255,0.05); }
.st-cancelada, .st-no_show { color: var(--red); background: var(--red-soft); }
.tag { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(201,169,110,0.35); padding: 2px 7px; border-radius: 6px; }

table.t { width: 100%; border-collapse: collapse; }
table.t th { text-align: left; font-weight: 500; color: var(--dim); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.t td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr.click { cursor: pointer; }
table.t tr.click:hover td { background: rgba(255,255,255,0.02); }
table.t td.num, table.t th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tw { overflow-x: auto; }

.list { display: grid; gap: 10px; }
.res-card { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); cursor: pointer; transition: .15s; }
.res-card:hover { border-color: var(--line2); background: var(--panel2); }
.res-card .time { font-family: var(--serif); font-size: 22px; color: var(--gold2); }
.res-card .name { font-weight: 600; font-size: 15px; }
.res-card .meta { color: var(--muted); font-size: 12.5px; margin-top: 3px; display: flex; gap: 10px; flex-wrap: wrap; }
.res-card .right { text-align: right; display: grid; gap: 6px; justify-items: end; }
.empty { text-align: center; padding: 40px 20px; color: var(--dim); border: 1px dashed var(--line2); border-radius: 12px; }

/* Aforo */
.cap { display: grid; gap: 8px; }
.cap .bar { height: 8px; background: var(--bg2); border-radius: 999px; overflow: hidden; border: 1px solid var(--line); }
.cap .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold2)); border-radius: 999px; transition: width .5s; }
.cap .bar i.warn { background: linear-gradient(90deg, #d08a3f, var(--amber)); }
.cap .bar i.full { background: linear-gradient(90deg, #b8524b, var(--red)); }
.ring { --p: 0; width: 132px; height: 132px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--gold) calc(var(--p) * 1%), var(--bg2) 0); position: relative; }
.ring::after { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--panel); }
.ring > div { position: relative; z-index: 1; text-align: center; }
.ring b { font-family: var(--serif); font-size: 32px; display: block; line-height: 1; }

/* Mapa */
.map-wrap { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background:
  linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px) 0 0 / 5% 8%,
  linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px) 0 0 / 5% 8%, var(--bg2); aspect-ratio: 16 / 9; overflow: hidden; touch-action: none; user-select: none; }
.map-stage { position: absolute; left: 50%; top: 2%; transform: translateX(-50%); width: 38%; padding: 6px; text-align: center; border: 1px solid rgba(201,169,110,0.3); border-radius: 8px; color: var(--gold); font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; background: rgba(201,169,110,0.05); }
.tbl { position: absolute; transform: translate(-50%, -50%); display: grid; place-items: center; text-align: center; cursor: pointer; border: 1.5px solid var(--line2); background: var(--panel2); transition: box-shadow .15s, border-color .15s, background .15s; line-height: 1.1; padding: 4px; }
.tbl.round { border-radius: 50%; width: clamp(48px, 7.2%, 86px); aspect-ratio: 1; }
.tbl.rect { border-radius: 12px; width: clamp(70px, 11%, 130px); aspect-ratio: 1.7; }
.tbl b { font-size: 13px; font-weight: 700; }
.tbl small { display: block; font-size: 10px; color: var(--muted); max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0 auto; }
.tbl.free:hover { border-color: var(--gold); }
.tbl.reserved { border-color: var(--blue); background: rgba(122,167,224,0.1); }
.tbl.busy { border-color: var(--green); background: rgba(95,191,143,0.14); }
.tbl.sel { box-shadow: 0 0 0 4px rgba(201,169,110,0.35); border-color: var(--gold); }
.tbl.pick { animation: pulse 1.6s infinite; }
.tbl.edit { cursor: grab; border-style: dashed; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(201,169,110,0.4); } 50% { box-shadow: 0 0 0 6px rgba(201,169,110,0); } }
.legend { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; border: 1.5px solid var(--line2); background: var(--panel2); }
.legend i.r { border-color: var(--blue); background: rgba(122,167,224,0.15); }
.legend i.b { border-color: var(--green); background: rgba(95,191,143,0.2); }
.area-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.area-tab { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--panel); cursor: pointer; text-align: left; }
.area-tab.on { border-color: var(--gold); background: linear-gradient(180deg, rgba(201,169,110,0.08), var(--panel)); }
.area-tab .n { font-family: var(--serif); font-size: 20px; }
.area-tab .c { color: var(--muted); font-size: 12px; margin: 4px 0 8px; }

/* Drawer / modal */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(3px); z-index: 40; animation: fade .15s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); background: var(--bg2); border-left: 1px solid var(--line); z-index: 41; overflow-y: auto; animation: slide .2s ease-out; padding: 24px 26px 60px; }
.modal { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 40px); overflow-y: auto; background: var(--bg2); border: 1px solid var(--line2); border-radius: 18px; z-index: 41; padding: 24px; animation: fade .15s; }
.modal.wide { width: min(1000px, calc(100vw - 24px)); }
.x { position: absolute; right: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line2); background: var(--panel); cursor: pointer; display: grid; place-items: center; color: var(--muted); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.kv { display: grid; grid-template-columns: 120px 1fr; gap: 8px 14px; font-size: 13.5px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.qr-box { background: #fff; border-radius: 14px; padding: 14px; width: 188px; height: 188px; display: grid; place-items: center; flex: none; }
.qr-box img, .qr-box canvas { width: 100%; height: 100%; image-rendering: pixelated; }
.code { font-family: ui-monospace, Menlo, monospace; letter-spacing: 0.18em; color: var(--gold2); }
.items .it { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.items .it .d small { color: var(--dim); display: block; font-size: 11.5px; }
.total-line { display: flex; justify-content: space-between; padding: 12px 0 0; font-weight: 600; }
.total-line .v { font-family: var(--serif); font-size: 24px; color: var(--gold2); }

/* Toasts */
#toasts { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 60; display: grid; gap: 8px; width: min(440px, calc(100vw - 24px)); }
.toast { background: var(--panel2); border: 1px solid var(--line2); border-radius: 12px; padding: 12px 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); animation: fade .2s; }
.toast.err { border-color: rgba(224,115,107,0.5); color: #f3c6c2; }
.toast.ok { border-color: rgba(95,191,143,0.45); }

/* Login */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: min(420px, 100%); text-align: center; }
.auth-card .brand { font-size: 40px; padding: 0; }
.auth-card .tag-line { color: var(--muted); letter-spacing: 0.3em; text-transform: uppercase; font-size: 11px; margin: 8px 0 34px; }
.auth-card .card { text-align: left; padding: 28px; }

/* Calendario */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal .dh { color: var(--dim); font-size: 11px; text-align: center; letter-spacing: 0.1em; text-transform: uppercase; padding-bottom: 4px; }
.cal .day { border: 1px solid var(--line); border-radius: 10px; padding: 8px; min-height: 74px; background: var(--panel); cursor: pointer; font-size: 12px; display: flex; flex-direction: column; gap: 4px; }
.cal .day:hover { border-color: var(--line2); }
.cal .day .d { font-weight: 600; }
.cal .day.cerrado { opacity: .5; background: var(--bg2); }
.cal .day.sold_out { border-color: rgba(224,115,107,0.5); background: linear-gradient(180deg, var(--red-soft), var(--panel)); }
.cal .day.parcial { border-color: rgba(224,179,90,0.45); }
.cal .day.sel { box-shadow: 0 0 0 2px var(--gold); }
.cal .day .lbl { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.cal .day.sold_out .lbl { color: var(--red); }
.cal .day.parcial .lbl { color: var(--amber); }
.cal .day.cerrado .lbl { color: var(--dim); }
.hours-row { display: grid; grid-template-columns: 130px 90px 170px 170px 120px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.slot-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.slot { padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line2); font-size: 12.5px; cursor: pointer; background: var(--panel); }
.slot.on { border-color: var(--gold); background: var(--gold-soft); color: var(--gold2); }
.slot.sold_out { border-color: rgba(224,115,107,0.4); color: var(--red); text-decoration: line-through; cursor: not-allowed; }
.slot.cerrado { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

/* Escáner */
.scan-view { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--line2); margin: 0 auto; }
.scan-view video { width: 100%; height: 100%; object-fit: cover; }
.scan-view .frame { position: absolute; inset: 18%; border: 2px solid var(--gold); border-radius: 18px; box-shadow: 0 0 0 999px rgba(0,0,0,0.35); }

/* Pase público */
.pass-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.ticket { width: min(380px, 100%); border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #17161b, #0e0e11); border: 1px solid #3a3223; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.ticket .head { padding: 28px 26px 20px; text-align: center; border-bottom: 1px dashed #3a3223; position: relative; }
.ticket .head .brand { padding: 0; font-size: 28px; }
.ticket .head .lbl { color: var(--muted); letter-spacing: 0.3em; font-size: 10.5px; text-transform: uppercase; margin-top: 6px; }
.ticket .qr { background: #fff; margin: 24px auto; width: 240px; height: 240px; border-radius: 16px; padding: 14px; }
.ticket .qr img { width: 100%; height: 100%; image-rendering: pixelated; }
.ticket .info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0 26px 28px; }
.ticket .info .k { color: var(--dim); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; }
.ticket .info .v { font-family: var(--serif); font-size: 22px; margin-top: 4px; }
.ticket .foot { text-align: center; color: var(--dim); font-size: 11px; padding: 14px; border-top: 1px solid #221f18; letter-spacing: 0.1em; }

/* Responsive */
@media (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { display: none; }
  .main { padding: 16px 16px 100px; }
  .mobile-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(10,10,12,0.92); backdrop-filter: blur(10px); z-index: 20; }
  .mobile-bar .brand { font-size: 20px; padding: 0; }
  .bottom-nav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: rgba(12,12,15,0.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); z-index: 30; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); overflow-x: auto; }
  .bottom-nav a { flex: 1 0 64px; display: grid; justify-items: center; gap: 3px; padding: 6px 2px; color: var(--dim); font-size: 10.5px; }
  .bottom-nav a.on { color: var(--gold2); }
  .bottom-nav svg { width: 20px; height: 20px; }
  h1 { font-size: 28px; }
  .g2, .g4 { grid-template-columns: 1fr 1fr; }
  .form .two, .form .three { grid-template-columns: 1fr; }
  .area-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .area-tabs .area-tab { flex: 1 0 120px; }
  .area-tab { padding: 10px; }
  .area-tab .n { font-size: 16px; }
  .tbl.round { width: 15%; }
  .tbl.rect { width: 21%; }
  .res-card { grid-template-columns: 54px 1fr; }
  .res-card .right { grid-column: 1 / -1; justify-items: start; grid-auto-flow: column; justify-content: start; }
  .hours-row { grid-template-columns: 1fr 1fr; }
  .drawer { padding: 20px 16px 80px; }
  .kv { grid-template-columns: 100px 1fr; }
  .stat .v { font-size: 28px; }
}
@media (max-width: 480px) {
  .g2 { grid-template-columns: 1fr; }
}
.grid > .card + .card { margin-top: 0; }
h1, h2, h3, .stat .v, .ring b, .res-card .time, .total-line .v, .ticket .info .v, .area-tab .n { font-variant-numeric: lining-nums tabular-nums; }
.tbl > div { width: 100%; }
.tbl small { max-width: 100%; padding: 0 2px; }
.g-live { grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); }
.g-half { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.g-side { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.main, .card { min-width: 0; }
@media (max-width: 1000px) {
  .g-live, .g-half, .g-side { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .top .actions { width: 100%; }
  .ring { width: 110px; height: 110px; flex: none; }
  .cal .day { min-height: 58px; padding: 5px; font-size: 10.5px; }
  .cal .day .dim { display: none; }
  table.t td, table.t th { padding: 10px 8px; }
}
@media (max-width: 860px) {
  .seg { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; border-radius: 12px; }
  .seg button { white-space: nowrap; }
  .row.wrap > input.input { max-width: none !important; }
}
.input.pin { font-size: 22px; letter-spacing: 0.6em; text-align: center; font-variant-numeric: tabular-nums; }

/* ---------- Plano real (render) ---------- */
.map-scroll { overflow-x: auto; border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.map-wrap.plan { background-color: #0a0a0c; background-repeat: no-repeat; border-color: #3a3223; }
.map-wrap.plan.noplan { background: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 100% 10%, linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px) 0 0 / 10% 100%, var(--bg2); border-color: var(--line2); }
.plan.noplan .tbl.custom { min-width: 44px; min-height: 44px; }
.plan .tbl { padding: 0; aspect-ratio: auto; border: 2px solid transparent; background: transparent; box-shadow: none; border-radius: 6px; overflow: visible; }
.plan .tbl.round { border-radius: 50%; }
.plan .tbl.diamond { border-radius: 4px; transform: translate(-50%, -50%) rotate(45deg) scale(0.72); }
.plan .tbl.free:hover { border-color: var(--gold2); background: rgba(227,201,146,0.12); }
.plan .tbl.reserved { border-color: #7aa7e0; background: rgba(122,167,224,0.38); }
.plan .tbl.busy { border-color: #5fdf9f; background: rgba(60,200,130,0.45); box-shadow: 0 0 14px rgba(95,223,159,0.55); }
.plan .tbl.edit { border: 2px dashed rgba(227,201,146,0.8); }
.plan .tbl.custom { background: rgba(21,21,26,0.9); border-color: var(--line2); }
.plan .tbl.custom b { font-size: 11px; }
.plan .tbl .who { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 3px; white-space: nowrap; font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 999px; background: rgba(10,10,12,0.88); color: var(--text); border: 1px solid var(--line2); z-index: 2; pointer-events: none; }
.plan .tbl.diamond .who { transform: translateX(-50%) rotate(-45deg) scale(1.38); }
.plan .tbl.busy .who { border-color: rgba(95,223,159,0.6); }
.plan .tbl.reserved .who { border-color: rgba(122,167,224,0.6); }
.plan .tbl.pick { animation: pulse 1.6s infinite; border-color: rgba(227,201,146,0.7); }
.area-tab { display: block; }
.area-tab .cap-edit { padding: 3px 10px; font-size: 11.5px; }
.steps { line-height: 1.9; padding-left: 20px; }
@media (max-width: 860px) {
  .mobile-bar { padding-top: calc(14px + env(safe-area-inset-top)); }
  .mobile-bar .btn.sm { padding: 5px 10px; }
}
.shell > div { min-width: 0; }
.plan .tbl .who { font-size: 9.5px; padding: 0 5px; margin-top: 1px; }

/* ---------- Teléfono: sin zoom ni desbordes ---------- */
html, body { overflow-x: hidden; max-width: 100%; touch-action: manipulation; -webkit-text-size-adjust: 100%; }
img, svg, video, canvas { max-width: 100%; }
@media (max-width: 860px) {
  .input, select.input, textarea.input, .venue-pick { font-size: 16px; }
  .top { flex-wrap: wrap; }
  .top .actions { flex-wrap: wrap; }
  .top .actions > .row { flex-wrap: nowrap; }
  .main { overflow-x: hidden; }
  .tw { max-width: 100%; overflow-x: auto; }
  .four { grid-template-columns: 1fr 1fr !important; }
}

/* ---------- Multi-negocio ---------- */
.venue-pick { appearance: none; -webkit-appearance: none; width: calc(100% - 12px); margin: 0 6px 4px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c9a96e' stroke-width='1.6'/%3E%3C/svg%3E") right 8px center no-repeat; border: 1px solid transparent; border-radius: 10px; color: var(--gold); font-family: var(--serif); font-size: 22px; letter-spacing: 0.18em; padding: 4px 28px 4px 6px; cursor: pointer; text-overflow: ellipsis; }
.venue-pick:hover, .venue-pick:focus { border-color: var(--line2); outline: none; }
.venue-pick option { background: var(--bg2); color: var(--text); font-family: var(--sans); font-size: 14px; letter-spacing: 0; }
.venue-pick.sm { width: auto; max-width: 58vw; margin: 0; font-size: 18px; letter-spacing: 0.12em; }
.mobile-bar .brand.sm { font-size: 20px; padding: 0; max-width: 58vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.venue-row, .area-row { padding: 10px 0; border-bottom: 1px solid var(--line); gap: 8px; align-items: flex-end; }
.venue-row { align-items: center; }
.venue-row:last-child, .area-row:last-child { border-bottom: 0; }
.plan-thumb { width: 100%; border-radius: 10px; border: 1px solid var(--line2); background: #0a0a0c center / 100% 100% no-repeat; }
.crop-prev { position: relative; width: 100%; border-radius: 10px; border: 1px solid var(--line2); background: #0a0a0c center / 100% 100% no-repeat; overflow: hidden; touch-action: none; }
.crop-prev i { position: absolute; border: 2px solid var(--gold2); background: rgba(227,201,146,0.14); box-shadow: 0 0 0 9999px rgba(0,0,0,0.55); border-radius: 6px; cursor: grab; }
.four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.plan .tbl.custom.round, .plan .tbl.custom.diamond { aspect-ratio: 1; width: clamp(40px, 5.5%, 72px); }
.plan .tbl.custom.rect { aspect-ratio: 1.6; width: clamp(56px, 8%, 110px); }
.area-tab .n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 860px) {
  .area-tabs .area-tab { flex: 1 0 132px; padding: 9px 10px; }
  .area-tab .n { font-size: 15px; }
  .area-tab .c { font-size: 11.5px; }
  .area-tab .cap-edit { padding: 2px 8px; font-size: 11px; }
  .top { margin-bottom: 14px; }
  .top h1 { font-size: 24px; }
}

/* ---------- Mapa: zoom y deslizar con el dedo ---------- */
.map-scroll { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.map-wrap.pannable { touch-action: pan-x pan-y; }
.map-wrap.pannable .tbl { touch-action: pan-x pan-y; }
.map-tools { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.map-tools .btn { width: 36px; height: 36px; padding: 0; justify-content: center; font-size: 18px; }
.map-tools .map-hint { font-size: 12px; margin-left: 6px; }
@media (min-width: 861px) { .map-tools .map-hint { display: none; } }
.app-name { font-size: 10.5px; letter-spacing: 0.42em; color: var(--dim); padding: 0 12px 6px; font-weight: 600; }
.mobile-bar .brand.sm, .venue-pick.sm { letter-spacing: 0.04em; }

/* ---------- Avisos ---------- */
.bell-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; }
.bell-link svg { width: 16px; height: 16px; }
.bell-btn { position: relative; display: inline-grid; place-items: center; width: 36px; height: 36px; color: var(--text); }
.bell-btn svg { width: 22px; height: 22px; }
.bell-n { display: none; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #111; font-size: 10.5px; font-weight: 700; line-height: 18px; text-align: center; }
.bell-btn .bell-n { position: absolute; top: 0; right: -2px; }
.push-box { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.alerts { display: grid; }
.alert-it { display: flex; gap: 12px; align-items: flex-start; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.alert-it.click { cursor: pointer; }
.alert-it.new b { color: var(--gold2); }
.alert-it .ai { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--panel2); color: var(--gold); }
.alert-it .ai svg { width: 16px; height: 16px; }
.alert-it .ab { color: var(--muted); font-size: 13px; margin-top: 2px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }
.alert-it .at { font-size: 11.5px; white-space: nowrap; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 6px 14px; max-height: 260px; overflow-y: auto; padding: 4px 0; }
.lbl { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.seg-to { display: flex; flex-wrap: wrap; gap: 6px; }
.seg-to label { cursor: pointer; }
.seg-to input { display: none; }
.seg-to span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line2); font-size: 13px; }
.seg-to input:checked + span { background: var(--gold); color: #111; border-color: var(--gold); }
.group-row { padding: 10px 0; border-bottom: 1px solid var(--line); gap: 8px; }
.group-row:last-child { border-bottom: 0; }
.tickets .rec img { width: 54px !important; height: 70px !important; max-width: none; object-fit: cover; flex: none; }

/* ---------- Tickets de pago ---------- */
.tickets { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.rec-list { display: grid; gap: 8px; }
.rec { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg2); }
.rec img { border-radius: 6px; cursor: zoom-in; background: #fff; }
.verdict { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line2); color: var(--muted); font-size: 13px; line-height: 1.5; }
.verdict > svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.verdict.ok { border-color: rgba(95,191,143,0.5); background: rgba(95,191,143,0.08); color: var(--text); }
.verdict.warn { border-color: rgba(227,170,90,0.6); background: rgba(227,170,90,0.1); color: var(--text); }

/* Colores por gestión (pastel) */
:root { --g-rp: #a9c9ec; --g-socio: #f2a9a9; --g-casa: #a9dcb8; --g-walkin: #f5e3a3; --g-opentable: #cdb6ea; --g-covermanager: #f5c7a6; }
.gchip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: #1b1b22; background: var(--g-casa); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.g-rp { background: var(--g-rp); } .g-socio { background: var(--g-socio); } .g-casa { background: var(--g-casa); }
.g-walkin { background: var(--g-walkin); } .g-opentable { background: var(--g-opentable); } .g-covermanager { background: var(--g-covermanager); }
.res-card[class*="gb-"] { border-left-width: 5px; }
.gb-rp { border-left-color: var(--g-rp) !important; } .gb-socio { border-left-color: var(--g-socio) !important; } .gb-casa { border-left-color: var(--g-casa) !important; }
.gb-walkin { border-left-color: var(--g-walkin) !important; } .gb-opentable { border-left-color: var(--g-opentable) !important; } .gb-covermanager { border-left-color: var(--g-covermanager) !important; }
.res-card .meta .gchip { margin-left: 2px; }
/* Entrada parcial al escanear */
.entry { padding: 14px; border: 1px solid var(--line2); border-radius: 12px; background: var(--panel2); }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.stepper .input { width: 64px; text-align: center; padding: 7px 4px; font-size: 16px; font-weight: 600; }
.tbl .who[class*="gw-"] { color: #1b1b22 !important; }
.gw-rp { background: var(--g-rp) !important; } .gw-socio { background: var(--g-socio) !important; } .gw-casa { background: var(--g-casa) !important; }
.gw-walkin { background: var(--g-walkin) !important; } .gw-opentable { background: var(--g-opentable) !important; } .gw-covermanager { background: var(--g-covermanager) !important; }
.entry .row { flex-wrap: wrap; }
.entry .btn.gold { min-width: 160px; }
/* Sesión demo */
.demo-bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 16px; background: var(--g-opentable, #cdb6ea); color: #1b1b22; font-size: 13px; }
.demo-bar .btn { background: #1b1b22; color: #fff; border-color: #1b1b22; }

/* ---------------------------------------------------------------- Link público de reservas */
.bk { position: relative; min-height: 100vh; min-height: 100dvh; color: #f6f1e7; font-family: 'Inter', system-ui, sans-serif; padding: 0 16px 40px; overflow-x: hidden; scroll-behavior: smooth; }
.bk-bgimg { position: fixed; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(8,6,6,.35) 0%, rgba(10,8,8,.72) 45%, #0b0a0a 100%), var(--bk-bg, none) center / cover no-repeat, #0b0a0a; transform: scale(1.04); }
.bk > *:not(.bk-bgimg) { position: relative; z-index: 1; }
.bk-hero { max-width: 640px; margin: 0 auto; min-height: 62vh; min-height: 62dvh; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center; padding: 48px 4px 34px; }
.bk-eyebrow { font-size: 11.5px; letter-spacing: .42em; text-transform: uppercase; color: #e7c98d; font-weight: 600; }
.bk-name { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: clamp(46px, 13vw, 96px); line-height: .95; margin: 14px 0 12px; letter-spacing: .02em; text-transform: uppercase; color: #fff; text-shadow: 0 6px 40px rgba(0,0,0,.65), 0 0 24px rgba(255,170,60,.25); }
.bk-sub { color: rgba(246,241,231,.86); font-size: 15.5px; line-height: 1.55; max-width: 420px; margin: 0 0 22px; }
.bk-cta { display: inline-block; border: 0; font-size: 16px; cursor: pointer; font-family: inherit; background: linear-gradient(180deg, #f1d79d, #d9b268); color: #1a140b; font-weight: 700; padding: 14px 30px; border-radius: 999px; text-decoration: none; box-shadow: 0 10px 30px rgba(217,178,104,.35); animation: bkPulse 2.6s ease-in-out infinite; }
@keyframes bkPulse { 50% { box-shadow: 0 10px 40px rgba(217,178,104,.6); transform: translateY(-1px); } }
.bk-card { max-width: 640px; margin: 0 auto; background: rgba(20,17,16,.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(231,201,141,.22); border-radius: 22px; padding: 22px 18px 24px; box-shadow: 0 30px 80px rgba(0,0,0,.5); scroll-margin-top: 16px; }
.bk-step { padding: 6px 0 18px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 16px; }
.bk-h { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; margin-bottom: 12px; }
.bk-h span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #e7c98d; color: #1a140b; font-size: 13px; font-weight: 700; }
.bk-h em { font-style: normal; font-weight: 400; color: rgba(246,241,231,.5); font-size: 13px; }
.bk-people { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.bk-chip { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #f6f1e7; border-radius: 14px; height: 48px; font-size: 17px; font-weight: 600; cursor: pointer; transition: .15s; font-family: inherit; }
.bk-chip.wide { height: 44px; font-size: 14.5px; padding: 0 16px; }
.bk-chip.on, .bk-day.on, .bk-slot.on { background: #e7c98d; border-color: #e7c98d; color: #1a140b; }
.bk-more { display: flex; flex-direction: column; justify-content: center; border: 1px dashed rgba(255,255,255,.2); border-radius: 14px; padding: 0 8px; height: 48px; }
.bk-more span { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: rgba(246,241,231,.55); }
.bk-more input { background: none; border: 0; color: #fff; font-size: 15px; width: 100%; outline: none; font-family: inherit; padding: 0; }
.bk-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.bk-days::-webkit-scrollbar { display: none; }
.bk-day { position: relative; flex: 0 0 64px; scroll-snap-align: start; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #f6f1e7; border-radius: 16px; padding: 9px 0; display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; font-family: inherit; }
.bk-day small { font-size: 11px; text-transform: capitalize; opacity: .75; }
.bk-day b { font-size: 21px; line-height: 1.1; }
.bk-cal input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.bk-areas { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.bk-slot { height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #f6f1e7; font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit; }
.bk-slot:disabled { opacity: .28; text-decoration: line-through; cursor: not-allowed; }
.bk-dim { color: rgba(246,241,231,.55); font-size: 14px; }
.bk-msg { grid-column: 1 / -1; color: #f2b6a8; font-size: 14px; }
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bk-f.full { grid-column: 1 / -1; }
.bk-f > span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(246,241,231,.62); }
.bk-f input, .bk-f textarea, .bk-phone { width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; color: #fff; font-size: 16px; padding: 13px 14px; font-family: inherit; outline: none; box-sizing: border-box; }
.bk-f input:focus, .bk-f textarea:focus, .bk-phone:focus-within { border-color: #e7c98d; box-shadow: 0 0 0 3px rgba(231,201,141,.18); }
.bk-phone { display: flex; align-items: center; gap: 8px; padding: 0 0 0 14px; }
.bk-phone b { color: rgba(246,241,231,.7); font-weight: 600; }
.bk-phone input { border: 0; background: none; padding: 13px 14px 13px 0; box-shadow: none !important; }
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bk-terms { font-size: 13px; line-height: 1.7; color: rgba(246,241,231,.78); background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 12px 14px; margin-top: 4px; }
.bk-terms summary { cursor: pointer; color: #e7c98d; font-weight: 600; }
.bk-terms div { margin-top: 10px; }
.bk-summary { margin: 16px 0 12px; text-align: center; font-size: 14.5px; color: #f6f1e7; text-transform: none; }
.bk-submit { display: block; width: 100%; border: 0; border-radius: 999px; padding: 16px; font-size: 16.5px; font-weight: 700; background: linear-gradient(180deg, #f1d79d, #d9b268); color: #1a140b; cursor: pointer; font-family: inherit; box-shadow: 0 12px 30px rgba(217,178,104,.3); text-align: center; text-decoration: none; }
.bk-submit:disabled { opacity: .6; }
.bk-fine { text-align: center; font-size: 12px; color: rgba(246,241,231,.5); margin: 10px 0 0; }
.bk-foot { text-align: center; font-size: 12px; color: rgba(246,241,231,.45); margin-top: 22px; }
.bk.done { padding-top: 28px; }
.bk-ticket { max-width: 460px; }
.bk-ok { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 38px; text-align: center; margin: 10px 0 8px; }
.bk-qr { background: #fff; border-radius: 18px; padding: 14px; width: min(260px, 72vw); margin: 20px auto 6px; text-align: center; }
.bk-qr img { width: 100%; display: block; }
.bk-qr .code { color: #1a140b; font-family: ui-monospace, monospace; letter-spacing: .25em; font-weight: 700; margin-top: 6px; }
.bk-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 18px 0; text-align: center; }
.bk-info small { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(246,241,231,.55); }
.bk-info b { font-size: 14.5px; }
.bk-actions { display: grid; gap: 10px; margin-bottom: 16px; }
.bk-ghost { display: block; text-align: center; padding: 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); color: #f6f1e7; text-decoration: none; font-weight: 600; }
.bk-terms.open { white-space: normal; }
@media (max-width: 520px) { .bk-grid { grid-template-columns: 1fr; } .bk-people { grid-template-columns: repeat(5, 1fr); } .bk-info { grid-template-columns: repeat(2, 1fr); row-gap: 12px; } }
@media (min-width: 760px) { .bk-card { padding: 30px 32px; } .bk-hero { min-height: 56vh; } }
:root { --g-web: #9fdcd6; }
.g-web { background: var(--g-web); } .gb-web { border-left-color: var(--g-web) !important; } .gw-web { background: var(--g-web) !important; }
/* Reservas: formulario oculto hasta "Reservar ahora" y calendario completo */
.bk-card.bk-hidden { display: none; }
.bk-card.bk-show { animation: bkIn .45s ease-out both; }
@keyframes bkIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.bk-calbox { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 12px; }
.bk-calhead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.bk-calhead b { font-size: 16px; }
.bk-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); color: #f6f1e7; font-size: 22px; line-height: 1; cursor: pointer; }
.bk-nav:disabled { opacity: .25; cursor: default; }
.bk-calgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.bk-calgrid small { font-size: 11px; color: rgba(246,241,231,.5); padding: 4px 0; font-weight: 600; }
.bk-cd { aspect-ratio: 1; border: 0; border-radius: 12px; background: transparent; color: #f6f1e7; font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit; }
.bk-cd:hover:not(:disabled) { background: rgba(255,255,255,.08); }
.bk-cd.today { box-shadow: inset 0 0 0 1px rgba(231,201,141,.6); }
.bk-cd.on { background: #e7c98d; color: #1a140b; }
.bk-cd:disabled { color: rgba(246,241,231,.2); cursor: default; }
.bk-calsel { text-align: center; margin-top: 8px; color: #e7c98d; font-size: 14px; }
.pass-dl { display: grid; gap: 10px; width: min(420px, 100%); margin: 18px auto 0; }
.pass-dl .bk-ghost { background: none; cursor: pointer; font-family: inherit; font-size: 15px; }
.bk:has(#bkForm.bk-hidden) .bk-hero { min-height: 86vh; min-height: 86dvh; justify-content: center; }
.pass-terms { width: min(420px, 100%); margin: 16px auto 0; padding: 14px 16px; border: 1px solid rgba(231,201,141,.35); border-radius: 14px; background: rgba(231,201,141,.06); color: rgba(246,241,231,.82); font-size: 12.5px; line-height: 1.65; }
.pass-terms b { display: block; color: #e7c98d; font-size: 14px; margin-bottom: 6px; }

/* Campos bloqueados (p. ej. datos del establecimiento para el Director) */
.input:disabled { opacity: .55; cursor: not-allowed; }

/* Meta mensual RP: estrellas */
.stars { display: inline-flex; gap: 3px; vertical-align: middle; }
.star svg { width: 16px; height: 16px; display: block; fill: none; stroke: var(--line2); stroke-width: 1.6; stroke-linejoin: round; transition: fill .4s, stroke .4s, filter .4s; }
.star.on svg { fill: var(--gold2); stroke: var(--gold); filter: drop-shadow(0 0 6px rgba(227, 201, 146, .45)); }
.stars.lg { gap: 6px; }
.stars.lg .star svg { width: 26px; height: 26px; }
.goal-card.done { border-color: var(--gold); background: linear-gradient(180deg, var(--gold-soft), transparent 70%), var(--panel); }
.goal-bar { position: relative; height: 8px; border-radius: 99px; background: var(--panel2); border: 1px solid var(--line); margin-top: 8px; overflow: hidden; }
.goal-bar i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--gold), var(--gold2)); border-radius: 99px; }
.goal-bar b { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--bg); }
.goal-cell { display: flex; flex-direction: column; gap: 2px; font-size: 11.5px; white-space: nowrap; }
.form .goal-card { margin: 0; }
