/* Range Club clickable demo — prototype layer (layout, responsive, demo chrome). */
button { font: inherit; }
button.toggle { border: 0; padding: 0; cursor: pointer; }
.toggle.is-locked { cursor: not-allowed; }
a.btn:hover { text-decoration: none; }
.pay-opt { cursor: pointer; font: inherit; }
[data-act] { cursor: pointer; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------------- staff shell additions */
.tenant-switch { width: 100%; text-align: left; font: inherit; cursor: pointer; color: inherit; }
.tenant-switch:hover { background: var(--n-50); }
.nav-item.is-disabled { color: var(--n-400); cursor: default; }
.nav-item.is-disabled .i { color: var(--n-300); }
.nav-off { margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--n-400); border: 1px solid var(--n-200); border-radius: 4px; padding: 0 4px; }
.nav-toggle { display: none; }
.sidebar-scrim { display: none; }
.topbar .search { width: 360px; max-width: 40vw; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pick { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; text-align: left; font: inherit; color: inherit; }
.pick:hover { background: var(--n-25); }
.pick.is-on { border-color: var(--primary); background: var(--primary-soft); }
.kpis .kpi { min-width: 0; }

/* ---------------- device frame for member screens (desktop) + presenter guide */
.stage { min-height: 100vh; }
.guide { display: none; }
.device-screen { min-height: 100vh; display: flex; flex-direction: column; background: var(--n-50); }
.device-screen > .m-content { flex: 1; }
@media (min-width: 900px) {
  body.m-body { background: radial-gradient(90% 80% at 70% 10%, var(--n-0), var(--n-100)); }
  .stage { display: flex; align-items: center; justify-content: center; gap: 56px; padding: 24px; }
  .guide { display: flex; flex-direction: column; gap: 16px; width: 300px; flex: none; }
  .guide .rc-logo { font-size: 15px; } .guide .rc-logo svg { width: 26px; height: 26px; }
  .g-step h2 { font-size: 22px; line-height: 28px; margin: 4px 0 6px; letter-spacing: -0.02em; }
  .g-step p { color: var(--n-600); font-size: 14.5px; line-height: 21px; }
  .g-note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--border); font-size: 13px; line-height: 19px; color: var(--n-700); }
  .g-note .i { color: var(--rc-600); margin-top: 2px; }
  .g-meta { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.7); border: 1px dashed var(--n-300); font-size: 13px; }
  .device { width: 406px; flex: none; padding: 8px; border-radius: 48px; background: #0E131D; box-shadow: 0 30px 60px -20px rgba(18,24,38,.45), inset 0 0 0 2px #2A3242; }
  .device-screen { height: min(844px, calc(100vh - 64px)); min-height: 0; border-radius: 40px; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; }
  .device-screen .m-page { min-height: 0; }
}

/* ---------------- presenter dock */
#dock { position: fixed; left: 14px; bottom: 14px; z-index: 40; }
.dock-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(18,24,38,.88); color: #fff; font-weight: 650; font-size: 13px; box-shadow: var(--sh-lg); cursor: pointer; }
.dock-panel { position: absolute; left: 0; bottom: 46px; width: 300px; max-height: calc(100vh - 80px); overflow: auto; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--sh-lg); padding: 14px; display: flex; flex-direction: column; gap: 10px; color: var(--n-900); }
.dock-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.dock-steps a { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; color: var(--n-800); font-size: 13px; font-weight: 500; }
.dock-steps a:hover { background: var(--n-50); text-decoration: none; }
.dock-steps .n { width: 20px; height: 20px; border-radius: 50%; background: var(--rc-50); color: var(--rc-700); font-size: 11px; font-weight: 700; display: grid; place-items: center; flex: none; }
.dock-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* ---------------- modal, toast, spinner */
.overlay { position: fixed; inset: 0; background: rgba(15,20,30,.55); z-index: 60; display: flex; align-items: center; justify-content: center; padding: 16px; animation: fade .15s; }
.modal { background: #fff; border-radius: 18px; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto; box-shadow: var(--sh-lg); }
.modal.wide { max-width: 560px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.modal-head h2 { font-size: 17px; line-height: 24px; }
.modal-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.modal-foot { padding: 14px 18px; border-top: 1px solid var(--border); display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; background: var(--n-25); border-radius: 0 0 18px 18px; }
body.has-modal { overflow: hidden; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 12px 16px; border-radius: 12px; background: var(--n-900); color: #fff; font-size: 14px; font-weight: 550; box-shadow: var(--sh-lg); transition: opacity .4s, transform .4s; }
.toast .i { color: #6EE7A0; } .toast.warn .i { color: #FFD38A; }
.toast.out { opacity: 0; transform: translate(-50%, 10px); }
.proc { padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.spin { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--n-100); border-top-color: var(--primary); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- shared demo pieces */
.demo-btn { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px dashed var(--rc-500); background: var(--rc-50); color: var(--rc-800); text-align: left; font: inherit; cursor: pointer; }
.demo-btn small { display: block; font-size: 12px; color: var(--rc-700); font-weight: 500; }
.demo-btn .i { color: var(--rc-600); }
.demo-tag { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 4px; font-size: 10px; font-weight: 800; letter-spacing: .06em; background: var(--rc-600); color: #fff; }
.ath-wrap { display: flex; flex-direction: column; gap: 14px; }
.err-list { margin: 0; padding-left: 18px; }
.field .input.is-valid { border-color: var(--ok-600); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .check-box { transition: background .1s; }
.check input:focus-visible + .check-box { box-shadow: var(--ring); }
.check input:checked + .check-box { background: var(--primary); border-color: var(--primary); }
.check input:not(:checked) + .check-box .i { display: none; }
.radio-card { cursor: pointer; text-align: left; font: inherit; color: inherit; width: 100%; }
.doc { overflow-y: auto; height: 220px; }
.doc::after { display: none; }
.sigpad canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 14px; }
.sigpad .clear { z-index: 2; background: none; border: 0; cursor: pointer; }
.sigpad .base, .sigpad .x, .sigpad .lbl { pointer-events: none; }
.sigpad.is-invalid { border-color: var(--bad-600); box-shadow: 0 0 0 3px rgba(163,33,27,.15); }
.m-tab { display: none; }

/* ---------------- front desk (check-in) responsive */
.desk { height: auto; min-height: 100vh; grid-template-rows: 56px 1fr; }
.desk-body { min-height: calc(100vh - 56px); }
.lookup { overflow: auto; }
.result { min-height: 560px; }
.res-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 32px; color: var(--n-600); }
.res-empty .big { width: 72px; height: 72px; border-radius: 20px; background: var(--n-100); display: grid; place-items: center; color: var(--n-500); }
.quick { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.recent-item { width: 100%; border: 0; background: transparent; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.recent-item:hover { background: var(--n-50); }
.recent-item .avatar { overflow: hidden; }
.recent-item .avatar svg { width: 100%; height: 100%; }
.checked-banner { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--ok-50); border: 1.5px solid var(--ok-200); color: #0D4D26; }
.checked-banner .big { width: 48px; height: 48px; border-radius: 50%; background: var(--ok-600); color: #fff; display: grid; place-items: center; flex: none; }
.desk-bar .seg { flex: none; }

@media (max-width: 1180px) {
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .content { padding: 24px; }
}
@media (max-width: 1100px) {
  .app { grid-template-columns: 72px 1fr; }
  .sidebar .rc-logo span, .nav-item span, .nav-label, .tenant-switch .grow, .tenant-switch > .i, .sidebar-foot .grow, .nav-off { display: none; }
  .sidebar-inner { padding: 16px 10px; align-items: center; }
  .nav-item { justify-content: center; width: 48px; padding: 0; }
  .tenant-switch { width: 48px; justify-content: center; padding: 6px; }
  .grid-2-1 { grid-template-columns: 1fr; }
  .topbar { padding: 0 20px; }
}
@media (max-width: 900px) {
  .desk-body { grid-template-columns: 1fr; }
  .lookup { max-height: none; }
  .result { min-height: 0; }
  .checks { grid-template-columns: repeat(3, 1fr); }
  .info-strip { grid-template-columns: 1fr; }
  .info-strip > div + div { border-left: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 760px) {
  .app { display: block; }
  .sidebar { position: fixed; left: 0; top: 0; bottom: 0; width: 264px; z-index: 50; transform: translateX(-100%); transition: transform .2s; min-height: 0; }
  body.nav-open .sidebar { transform: none; box-shadow: var(--sh-lg); }
  body.nav-open .sidebar-scrim { display: block; position: fixed; inset: 0; background: rgba(15,20,30,.4); z-index: 45; }
  .sidebar .rc-logo span, .nav-item span, .nav-label, .tenant-switch .grow, .tenant-switch > .i, .sidebar-foot .grow, .nav-off { display: revert; }
  .sidebar-inner { align-items: stretch; height: 100%; max-height: none; }
  .nav-item { justify-content: flex-start; width: auto; padding: 0 10px; }
  .tenant-switch { width: 100%; justify-content: flex-start; padding: 10px; }
  .nav-toggle { display: grid; }
  .topbar { padding: 0 12px; gap: 8px; }
  .topbar .search { display: none; }
  .topbar-cta span { display: none; }
  .topbar-cta { width: 40px; padding: 0; }
  .content { padding: 16px; gap: 16px; }
  .kpis { grid-template-columns: 1fr; }
  .page-head { flex-direction: column; align-items: stretch; }
  .sources { grid-template-columns: repeat(2, 1fr); }
  .bar-row { grid-template-columns: 110px 1fr 30px; gap: 8px; }
  .legend { display: none; }
  .desk-bar { padding: 0 12px; gap: 8px; }
  .desk-bar .hide-sm, .desk-bar .vsep { display: none; }
  .desk-body { padding: 10px; gap: 10px; }
  .checks { grid-template-columns: repeat(2, 1fr); }
  .res-head { padding: 14px; flex-wrap: wrap; }
  .res-body { padding: 0 14px 14px; }
  .res-photo { width: 64px; height: 64px; }
  .status-hero .sh-title { font-size: 22px; line-height: 28px; }
  .blocker { flex-wrap: wrap; }
  .blocker .btn { width: 100%; }
  .res-foot { flex-wrap: wrap; padding: 12px 14px; }
  .res-foot .btn { flex: 1; }
  #dock { left: auto; right: 10px; bottom: 10px; }
  .dock-panel { left: auto; right: 0; width: min(300px, calc(100vw - 20px)); }
}

/* ---------------- presenter start page */
body.start { background: var(--n-25); }
.start-page { max-width: 1180px; margin: 0 auto; padding: 0 24px 64px; }
.start-top { display: flex; align-items: center; gap: 12px; height: 68px; }
.start-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; margin-top: 16px; }
.start-main h1 { font-size: 34px; line-height: 42px; letter-spacing: -0.025em; margin: 6px 0 10px; }
.start-main .lead { font-size: 16px; line-height: 25px; color: var(--n-600); max-width: 640px; }
.start-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
.ctl { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ctl-l { font-size: 13px; font-weight: 600; color: var(--n-700); }
.sl { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; counter-reset: none; }
.sl-step { display: flex; gap: 16px; padding: 18px 20px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--sh-xs); }
.sl-step.is-done { border-color: var(--ok-200); }
.sl-n { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 750; background: var(--rc-600); color: #fff; font-size: 15px; }
.sl-step.is-done .sl-n { background: var(--ok-600); }
.sl-body { flex: 1; min-width: 0; }
.sl-body h3 { font-size: 17px; line-height: 24px; }
.sl-body p { color: var(--n-600); font-size: 14.5px; line-height: 21px; margin-top: 2px; }
.sl-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sl-beats { margin: 10px 0 0; padding-left: 18px; font-size: 13.5px; line-height: 20px; color: var(--n-700); display: flex; flex-direction: column; gap: 3px; }
.all-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.all-links a { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; font-size: 13.5px; font-weight: 550; color: var(--n-800); }
.all-links a:hover { background: var(--n-50); text-decoration: none; }
.all-links .i { color: var(--n-500); }
@media (max-width: 1000px) {
  .start-grid { grid-template-columns: 1fr; }
  .start-side { position: static; order: -1; display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .start-page { padding: 0 14px 48px; }
  .start-side { grid-template-columns: 1fr; }
  .start-main h1 { font-size: 26px; line-height: 32px; }
  .sl-step { padding: 14px; gap: 12px; }
  .sl-links .btn { flex: 1 1 auto; }
}

/* ---------------- small utilities missing from the design CSS */
.wrap { flex-wrap: wrap; }
.h3 { font-size: 15px; line-height: 22px; font-weight: 700; }
.card-pad { padding: 18px; }
.center { text-align: center; }

/* ---------------- dashboard additions */
a.plain, a.plain:hover { color: inherit; text-decoration: none; }
.live { border-color: var(--rc-100); }
.live .card-header { padding-bottom: 6px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok-600); box-shadow: 0 0 0 4px var(--ok-50); }
.feed { list-style: none; margin: 0; padding: 0 20px 14px; display: flex; flex-direction: column; gap: 6px; }
.feed li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; line-height: 19px; min-width: 0; }
.feed li .i { color: var(--rc-600); flex: none; }
.feed-t { font-variant-numeric: tabular-nums; color: var(--n-500); font-size: 12px; width: 70px; flex: none; }
.btn .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--rc-600); color: #fff; font-size: 11.5px; font-weight: 700; }

/* ---------------- demo outbox */
.ob-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; align-items: start; }
.ob-list { overflow: hidden; }
.ob-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 16px; border: 0; border-bottom: 1px solid var(--n-100); background: #fff; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.ob-item:hover { background: var(--n-25); }
.ob-item.is-on { background: var(--rc-50); box-shadow: inset 3px 0 0 var(--rc-600); }
.ob-item strong { font-size: 13.5px; font-weight: 600; }
.ob-ch { display: inline-flex; gap: 4px; color: var(--n-500); flex: none; }
.ob-new { color: var(--rc-700); font-weight: 700; }
.ob-ok { color: var(--ok-600); flex: none; }
.ob-skips { padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; background: var(--n-25); }
.pv-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; }
.pv-grid > :only-child { grid-column: 1 / -1; max-width: 560px; }
.phone { width: 100%; max-width: 300px; margin: 0 auto; border-radius: 36px; border: 10px solid var(--n-900); background: #F2F4F7; overflow: hidden; }
.phone-top { background: #fff; padding: 12px 14px; text-align: center; border-bottom: 1px solid var(--border); }
.phone-body { padding: 14px 12px 22px; display: flex; flex-direction: column; gap: 8px; min-height: 220px; }
.bubble { background: #E9EBEF; border-radius: 18px 18px 18px 4px; padding: 10px 12px; font-size: 13.5px; line-height: 19px; color: var(--n-900); max-width: 250px; overflow-wrap: anywhere; }
.bubble a { color: #0B57D0; text-decoration: underline; font-weight: 600; }
.mail { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #fff; min-width: 0; }
.mail-head { padding: 12px 16px; background: var(--n-25); border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 2px; }
.mail-head .kv { font-size: 12.5px; }
.mail-head .kv .v { overflow-wrap: anywhere; text-align: right; }
.mail-subj { font-weight: 700; font-size: 15px; margin-top: 6px; }
.mail-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 21px; }
@media (max-width: 1280px) { .pv-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .ob-grid { grid-template-columns: 1fr; } }

/* ---------------- check-in page bits */
.tenant-btn { border: 0; background: transparent; cursor: pointer; padding: 4px 6px; border-radius: 8px; color: inherit; font: inherit; font-weight: 600; font-size: 13.5px; }
.tenant-btn:hover { background: var(--n-50); }
.res-st { text-align: right; flex: none; }
.lookup-note { margin-top: auto; }
.cam { height: 200px; border-radius: 14px; background: radial-gradient(circle at 50% 40%, #2b3444, #0e131d); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.cam .vf { position: relative; width: 120px; height: 120px; }
.cam .vf-corner { position: absolute; width: 26px; height: 26px; border: 4px solid #fff; }
.cam .vf-corner.tl { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.cam .vf-corner.tr { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.cam .vf-corner.bl { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.cam .vf-corner.br { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.cam .vf-line { position: absolute; left: 8px; right: 8px; height: 2px; background: #6EE7A0; top: 50%; animation: scanline 1.6s ease-in-out infinite alternate; }
@keyframes scanline { from { top: 14%; } to { top: 86%; } }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn.is-disabled { background: var(--n-100); color: var(--n-500); border-color: var(--n-200); }
.pick[disabled] { opacity: .5; cursor: not-allowed; }
.doc h4 { font-size: 13px; margin: 8px 0 2px; } .doc p { font-size: 13px; line-height: 19px; color: var(--n-700); }
@media (max-width: 1180px) { .hide-md { display: none !important; } }
@media (max-width: 760px) { .hide-sm { display: none !important; } .res-st { text-align: left; } }
.tabs-wrap { overflow-x: auto; padding: 0 12px; }
.tabs-wrap .tabs { border-bottom: 0; flex-wrap: nowrap; }
.tabs .tab { white-space: nowrap; background: none; border-top: 0; border-left: 0; border-right: 0; font: inherit; cursor: pointer; }
.hh-box { border-top: 1px solid var(--border); padding: 12px 16px 14px; background: var(--n-25); border-radius: 0 0 16px 16px; }
.radio-card[disabled] { opacity: .5; cursor: not-allowed; }
.mini-card.plain { text-decoration: none; }
body.card-page { background: var(--tenant-900); }
body.card-page .device-screen { background: var(--tenant-900); }
@media (min-width: 900px) { body.card-page { background: radial-gradient(90% 80% at 70% 10%, var(--n-0), var(--n-100)); } }
.who-chip { border: 0; font: inherit; cursor: pointer; }
.renew-banner.is-bad { background: var(--bad-50); border-color: var(--bad-200); }
.renew-banner.is-bad > .i { color: var(--bad-600); }
.tabbar { position: sticky; bottom: 0; z-index: 2; }
.hh-line { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--n-100); }
.hh-line:first-child { border-top: 0; }
.hh-add { padding: 12px 14px 14px; border-top: 1px solid var(--n-100); background: var(--n-25); display: flex; flex-direction: column; gap: 10px; }
.lp { font: inherit; cursor: pointer; }
.lp.is-on { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 1px var(--primary); }
.check.is-invalid .check-box { border-color: var(--bad-600); }
.demo-fill { flex: none; border-style: dashed; }
.two > .field { min-width: 0; }

/* ---------------- kiosk */
body[data-page="kiosk"] { background: var(--tenant-800); }
.viewfinder { border: 0; cursor: pointer; color: inherit; font: inherit; }
.viewfinder .vf-line { animation: kscan 2.2s ease-in-out infinite alternate; }
@keyframes kscan { from { top: 18%; } to { top: 80%; } }
.k-demo { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px dashed rgba(255,255,255,.5); font-size: 13px; font-weight: 600; color: #fff; }
.k-btn { border: 0; cursor: pointer; text-align: left; }
.k-title { font-size: 34px; line-height: 42px; font-weight: 750; letter-spacing: -0.02em; }
.k-reason { font-size: 17px; line-height: 25px; color: var(--n-700); text-align: center; max-width: 480px; }
.k-exit { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 0; color: rgba(255,255,255,.8); font: inherit; font-size: 13px; cursor: pointer; padding: 4px 0; }
.k-main-form { justify-content: flex-start; padding-top: 0; }
.k-sign { width: 100%; max-width: 860px; background: #fff; color: var(--n-900); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 16px; text-align: left; box-shadow: var(--sh-lg); }
.k-two { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; align-items: start; }
.input-lg { height: 52px; font-size: 17px; }
@media (max-width: 900px) {
  .k-top { padding: 16px 20px; }
  .k-main { padding: 0 20px 24px; gap: 20px; }
  .k-h1 { font-size: 30px; line-height: 38px; }
  .k-sub { font-size: 17px; line-height: 24px; }
  .viewfinder { width: min(340px, 80vw); height: min(340px, 80vw); }
  .k-foot { padding: 16px 20px 22px; flex-wrap: wrap; gap: 8px; }
  .k-two { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .k-lock span { display: none; }
  .k-logo { width: 72px; height: 72px; }
  .k-h1 { font-size: 24px; line-height: 31px; }
  .k-actions { grid-template-columns: 1fr; }
  .k-btn { height: 84px; font-size: 17px; }
  .k-ok { padding: 22px 18px; border-radius: 22px; }
  .k-ok .big-check { width: 84px; height: 84px; } .k-ok .big-check .i { width: 44px; height: 44px; }
  .k-title { font-size: 26px; line-height: 32px; }
  .k-meta { grid-template-columns: 1fr; }
  .k-meta > div + div { border-left: 0; border-top: 1px solid var(--border); }
  .k-sign { padding: 16px; }
  .k-sign .langpick { width: 100% !important; }
  .vf-corner { width: 44px; height: 44px; }
  .vf-hint { bottom: 36px; }
}
/* fixes after first visual review */
.device-screen > *, .m-page > *, .m-content > * { flex-shrink: 0; }
#dock { left: auto; right: 14px; }
.dock-panel { left: auto; right: 0; }
@media (min-width: 1281px) { .desk-body { grid-template-columns: 340px minmax(0, 1fr); } }
.guide .btn { height: auto; min-height: 40px; padding-top: 8px; padding-bottom: 8px; white-space: normal; text-align: center; line-height: 18px; }
@media (min-width: 901px) { .viewfinder { width: min(440px, 38vh); height: min(440px, 38vh); } .k-main { gap: 20px; } .k-top { padding: 22px 40px; } }
@media (min-width: 901px) and (max-height: 820px) { .k-logo { width: 72px; height: 72px; } .k-h1 { font-size: 34px; line-height: 42px; } }
/* keep the floating Demo dock (bottom-right) clear of real controls */
.content { padding-bottom: 72px; }
.desk-body { padding-bottom: 60px; }
.k-foot { padding-right: 124px; }
@media (max-width: 899px) {
  .m-foot { padding-bottom: 64px; }
  body[data-page="portal"] #dock { bottom: 86px; }
  .c-actions { padding-bottom: 8px; }
}
@media (max-width: 760px) { .desk-body { padding-bottom: 60px; } .content { padding-bottom: 72px; } }
.grid-2-1 > *, .kpis > *, .ob-grid > * { min-width: 0; }
@media (max-width: 1100px) { .grid-2-1 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .card-header { flex-wrap: wrap; } .card-header > div { min-width: 0; } .live .card-header .xs { width: 100%; } .feed li { flex-wrap: wrap; row-gap: 0; } .feed-t { width: auto; } }
.start-ctl-mobile { display: none; }
@media (max-width: 1000px) {
  .start-side { order: 0; }
  .start-ctl-mobile { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; padding: 12px; background: #fff; border: 1px solid var(--border); border-radius: 14px; }
  .sl { margin-top: 16px; }
}
.live-sum { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.live-sum .chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--n-50); border: 1px solid var(--n-200); font-size: 12px; font-weight: 600; color: var(--n-700); }
@media (max-width: 480px) { .start-proto-tag { display: none; } }

/* ---------- prefilled, editable payment fields + one-tap signature */
.pf { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.pf-l { font-size: 12px; font-weight: 600; color: var(--n-600); }
.pf-row { display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 10px; }
.pf-row .input { min-width: 0; }
.sig-tap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -58%); z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 0; background: var(--primary); color: #fff; font: inherit; font-weight: 650; font-size: 15px; cursor: pointer; box-shadow: 0 6px 18px rgba(18,24,38,.18); white-space: nowrap; }
.sig-tap span { display: flex; flex-direction: column; align-items: flex-start; line-height: 18px; }
.sig-tap small { font-weight: 500; font-size: 11.5px; opacity: .85; }
.sig-tap .i { width: 18px; height: 18px; }
.sig-tap:focus-visible { outline: 3px solid var(--rc-200, #bcd); outline-offset: 2px; }
.demo-link { background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--primary); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; align-self: flex-start; display: inline-flex; gap: 5px; align-items: center; }
.demo-link .i { width: 13px; height: 13px; }
.prefill-note { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--n-600); }
.prefill-note .i { width: 15px; height: 15px; color: var(--ok-600); flex: none; }
.input-wrap > .q-clear { position: absolute; right: 8px; width: 28px; height: 28px; border-radius: 999px; border: 0; background: var(--n-100); color: var(--n-600); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.input-wrap > .q-clear[hidden] { display: none; }
.input-wrap > .q-clear .i { width: 14px; height: 14px; }
.desk .lookup .input-wrap > .input { padding-right: 42px; }
.edit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.edit-grid .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .edit-grid { grid-template-columns: 1fr; } }
.sl-hint { margin: 10px 0 0; font-size: 13.5px; line-height: 20px; color: var(--n-700); }

/* ---------- check-in / check-out + visit log + licenses + settings */
.checks.checks-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1360px) { .checks.checks-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .checks.checks-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.info-strip { grid-template-columns: 1.6fr 1fr 1.05fr .9fr; }
@media (max-width: 1100px) { .info-strip { grid-template-columns: 1fr 1fr; } .info-strip > div:nth-child(3) { border-left: 0; } .info-strip > div:nth-child(n+3) { border-top: 1px solid var(--border); } }
@media (max-width: 560px) { .info-strip { grid-template-columns: 1fr; } .info-strip > div + div { border-left: 0; border-top: 1px solid var(--border); } }
.status-hero.is-out { background: var(--tenant-700, #1d4e5a); }
.status-hero .grow { min-width: 0; }
.sh-dur { display: flex; flex-direction: column; align-items: flex-end; text-align: right; flex: none; }
.sh-dur span { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .85; font-weight: 600; }
.sh-dur strong { font-size: 24px; line-height: 30px; font-weight: 750; white-space: nowrap; }
@media (max-width: 560px) { .status-hero { flex-wrap: wrap; } .sh-dur { align-items: flex-start; text-align: left; width: 100%; padding-left: 72px; } }
.lane-pick { display: flex; flex-direction: column; gap: 2px; }
.lane-pick .input { height: 40px; min-width: 140px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--primary); text-decoration: underline; cursor: pointer; font-weight: 600; }
.help.is-warn { display: flex; gap: 5px; align-items: flex-start; font-weight: 600; color: var(--warn-700); }
.help.is-warn .i { width: 14px; height: 14px; flex: none; margin-top: 1px; }
.demo-btn-sm { width: auto; padding: 7px 12px; gap: 8px; font-size: 13px; }
.demo-btn-sm small { font-size: 11px; }
.close-banner { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-lg, 14px); border: 1.5px solid var(--bad-600); background: #FFF4F2; color: var(--n-900); margin-bottom: 20px; flex-wrap: wrap; }
.close-banner > .i { width: 22px; height: 22px; color: var(--bad-600); flex: none; }
.close-banner .grow { min-width: 220px; }
.onsite .card-header { align-items: center; }
.os-count { font-size: 34px; font-weight: 750; line-height: 38px; color: var(--ok-700); }
.os-list { list-style: none; margin: 0; padding: 4px 0; }
.os-row { display: flex; align-items: center; gap: 12px; padding: 10px 20px; border-top: 1px solid var(--border); }
.os-row:first-child { border-top: 0; }
.os-row .nm { font-weight: 600; display: block; }
.os-el { display: flex; flex-direction: column; align-items: flex-end; text-align: right; flex: none; }
.os-el strong { font-size: 14px; white-space: nowrap; }
.lic-band { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; font: inherit; text-align: left; cursor: pointer; }
.lic-band:hover { background: var(--n-25); }
.lic-band strong { font-size: 24px; line-height: 28px; font-weight: 750; min-width: 44px; text-align: right; }
.lic-track { height: 6px; border-radius: 999px; background: var(--n-100); margin-top: 8px; overflow: hidden; }
.lic-track i { display: block; height: 100%; border-radius: 999px; background: var(--n-400); }
.lic-band.b30 .lic-track i { background: var(--warn-600); } .lic-band.b30 strong { color: var(--warn-700); }
.lic-band.bx .lic-track i { background: var(--bad-600); } .lic-band.bx strong { color: var(--bad-700, #A3211B); }
.vl-date { display: flex; flex-direction: column; gap: 2px; }
.vl-date .input { height: 40px; }
.vl-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.vl-stats > div { padding: 12px 20px; display: flex; flex-direction: column; gap: 2px; }
.vl-stats > div + div { border-left: 1px solid var(--border); }
.vl-stats strong { font-size: 22px; line-height: 28px; }
@media (max-width: 760px) { .vl-stats { grid-template-columns: 1fr 1fr; } .vl-stats > div:nth-child(3) { border-left: 0; } .vl-stats > div:nth-child(n+3) { border-top: 1px solid var(--border); } }
.vtable tr.is-forced td { background: #FFF6F5; }
.card-header.wrap { flex-wrap: wrap; }
.sms-meter { display: flex; align-items: center; gap: 5px; justify-content: flex-end; font-size: 11.5px; font-weight: 650; margin-top: 6px; padding: 0 4px; }
.sms-meter.is-ok { color: var(--ok-700); } .sms-meter.is-warn { color: var(--warn-700); }
.sms-meter .i { width: 12px; height: 12px; }
.set-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1100px) { .set-grid { grid-template-columns: minmax(0, 1fr); } }
.set-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.seg.seg-lg button { height: 38px; min-width: 120px; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.sched { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sched li { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--border); border-radius: 10px; }
.sched-d { font-weight: 750; font-size: 18px; text-align: center; }
.k-actions { grid-template-columns: repeat(3, 1fr); max-width: 900px; }
@media (max-width: 1100px) { .k-actions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .k-actions { grid-template-columns: 1fr; } }
.vtable th, .vtable td { padding-left: 10px; padding-right: 10px; }
.vtable th:first-child, .vtable td:first-child { padding-left: 16px; }
.vtable .badge { font-size: 11px; }

/* ---------- Legal update: licenses, timeline, channels, caliber */
.tgl { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 4px 0; font: inherit; cursor: pointer; text-align: left; color: var(--n-800); }
.tgl-k { position: relative; width: 42px; height: 24px; border-radius: 999px; background: var(--n-300, #c9ced6); flex: none; transition: background .15s; }
.tgl-k::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .15s; }
.tgl[aria-checked="true"] .tgl-k { background: var(--ok-600); }
.tgl[aria-checked="true"] .tgl-k::after { transform: translateX(18px); }
.tgl-t { font-size: 13px; font-weight: 600; }
.ch-row { gap: 12px; flex-wrap: nowrap; }
.ch-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--n-100); color: var(--n-700); display: grid; place-items: center; flex: none; }
.ch-row .tgl-t { min-width: 56px; }
.lic-sum { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--n-25, #fafbfc); }
.ro-input { display: flex; align-items: center; background: var(--n-50, #f4f5f7); color: var(--n-700); }
/* reminder timeline */
.ltl { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.ltl::before { content: ""; position: absolute; left: 10px; top: 10px; bottom: 10px; width: 2px; background: var(--n-200); }
.ltl-i { position: relative; display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 5px 0; }
.ltl-dot { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--n-300, #c9ced6); position: relative; z-index: 1; }
.ltl-l { min-width: 0; font-size: 13px; line-height: 17px; }
.ltl-l strong { font-weight: 650; }
.ltl-date { display: block; }
.ltl-s { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--n-100); color: var(--n-600); white-space: nowrap; }
.ltl-i.is-sent .ltl-dot { background: var(--ok-600); border-color: var(--ok-600); }
.ltl-i.is-sent .ltl-s { background: var(--ok-50); color: var(--ok-700); }
.ltl-i.is-today .ltl-dot { background: var(--warn-600); border-color: var(--warn-600); box-shadow: 0 0 0 4px var(--warn-50); }
.ltl-i.is-today .ltl-s { background: var(--warn-50); color: var(--warn-700); }
.ltl-i.is-paused .ltl-dot { border-style: dashed; }
.ltl-i.is-paused .ltl-s { background: var(--n-100); color: var(--n-700); }
.ltl-i.is-paused .ltl-l, .ltl-i.is-off .ltl-l { opacity: .6; }
.ltl-i.is-e .ltl-l strong { color: var(--bad-700, #A3211B); }
.ltl.is-compact .ltl-i { padding: 3px 0; }
.ltl.is-compact { columns: 2; column-gap: 24px; }
.ltl.is-compact::before { display: none; }
.ltl.is-compact .ltl-i { break-inside: avoid; }
@media (max-width: 640px) { .ltl.is-compact { columns: 1; } }
/* kiosk caliber chips */
.k-cal { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.chip-btn { border: 1.5px solid var(--border); background: #fff; color: var(--n-800); border-radius: 999px; padding: 8px 16px; font: inherit; font-weight: 650; font-size: 15px; cursor: pointer; min-height: 40px; }
.chip-btn.is-on { border-color: var(--tenant-600); background: var(--tenant-50); color: var(--tenant-800); }
/* push / in-app previews */
.push-card { background: rgba(255,255,255,.92); border: 1px solid var(--border); border-radius: 14px; padding: 10px 12px; box-shadow: var(--sh-sm); }
.push-pv .phone-body { background: linear-gradient(160deg, var(--tenant-700, #1d4e5a), var(--tenant-900, #0d2a31)); }
.vtable th.vt-audit, .vtable td.vt-audit { background: var(--n-25, #fafbfc); border-left: 1px dashed var(--border); min-width: 170px; }
.vtable td.vt-audit .badge { margin-top: 4px; }
.callout.bad { background: var(--bad-50); border-color: var(--bad-200); color: #6B140F; } .callout.bad .i { color: var(--bad-600); }
.set-row[data-lic-rule] { flex-wrap: nowrap; align-items: flex-start; } .set-row[data-lic-rule] .badge { flex: none; }
.vtable td.vt-audit { white-space: normal; max-width: 220px; min-width: 180px; }
.vtable td.vt-audit .badge { white-space: normal; height: auto; line-height: 15px; padding-top: 3px; padding-bottom: 3px; align-items: flex-start; }
.vtable td.vt-audit .xs { word-break: normal; }

/* ---------- Endorsement: "Range Club, por Infante Automation" (Infante Automation brand sheet rules) ----------
   The iA badge is an <img> (no fill overrides, no filters), square box = fixed aspect ratio; badge variant at every size (<24px rule);
   clear space = teal-dot height (≈12.5% of mark size) set inline as margin. Text in IA slate #52514E (muted). */
.endorse { display: inline-flex; align-items: center; gap: 2px; color: #52514E; font-size: 11.5px; line-height: 16px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.endorse .ia-mark { flex: none; display: block; object-fit: contain; aspect-ratio: 1 / 1; filter: none; }
.endorse--lg { font-size: 13px; }
.endorse--chip { background: #fff; border-radius: 999px; padding: 0 10px 0 4px; }
.endorse-row { margin-top: 6px; display: flex; justify-content: center; }
.app-foot { display: flex; justify-content: center; padding: 28px 0 8px; border-top: 1px solid var(--n-150, #e7e9ee); margin-top: 32px; }
.desk-foot { display: flex; justify-content: center; padding: 2px 16px 6px; }
.g-endorse { margin-top: auto; padding-top: 12px; display: flex; justify-content: center; }
.start-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; padding: 20px 16px 32px; border-top: 1px solid var(--n-200, #e2e5ea); margin-top: 24px; }
.start-top .endorse--hdr { margin-left: 4px; }
@media (max-width: 720px) { .start-top .endorse--hdr { display: none; } }
.k-foot .endorse--chip { opacity: .95; }

/* ---------- Guests: shooting vs non-shooting ---------- */
.badge--guestns { background: var(--n-100); color: var(--n-700); border-color: var(--n-300); }
.badge--guests { background: var(--tenant-50); color: var(--tenant-700); border-color: var(--tenant-100); }
.g-onsite { border: 1px solid var(--n-200); border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px; }
.g-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.os-g { display: flex; align-items: center; gap: 6px; min-width: 0; margin: 2px 0; }
.os-g .badge { font-size: 11px; padding: 1px 6px; }

/* ---------- payment options: card / ATH Móvil / pay at desk (members) · card / ATH / cash / check (staff) — no brand logos ---------- */
.pay-opt > span:last-child { text-align: center; line-height: 16px; font-size: 13px; font-weight: 600; padding: 0 4px; }
.pay-opt .po-sub { display: block; font-size: 11px; font-weight: 500; color: var(--n-500); line-height: 13px; }
.pay-opts .pay-opt { height: auto; min-height: 64px; padding: 8px 4px; gap: 3px; }
.pay-opts.is-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 520px) { .pay-opts.is-4 { grid-template-columns: repeat(2, 1fr); } }
.sources.meth { margin-top: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sources.meth .src .l span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 760px) { .sources.meth { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
