:root{--forest:#10170E;--lime:#C6F035;--paper:#F7F8F4;--pro:#F6F6F2;--muted:#B9C2AE;--accent:#344D11;--line:#303A2A}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%}
body{background:var(--forest);color:var(--paper);font-family:Inter,Arial,sans-serif;font-size:15px;-webkit-font-smoothing:antialiased}
h1,h2,h3,p{margin:0}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
:focus-visible{outline:2px solid var(--lime);outline-offset:3px}
.workspace :focus-visible{outline-color:var(--accent)}
.wm{font-size:36px;line-height:1;font-weight:800;letter-spacing:-.055em;color:var(--lime);white-space:nowrap}
.wm i{font-style:italic;font-weight:800}
.topbar{height:88px;padding:0 44px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:32px;background:var(--forest);color:var(--paper)}
.topbar .wm{margin-right:12px}
.zones-link{font-weight:500;color:var(--muted);font-size:14px}
.current{border-left:1px solid #47523e;padding-left:28px;font-weight:700}
.person{margin-left:auto;display:flex;align-items:center;gap:12px;font-size:14px}
.person small{display:block;font-size:11px;color:var(--muted);margin-top:4px}
.avatar{height:36px;width:36px;display:grid;place-items:center;border-radius:50%;background:#283321;color:var(--paper);font-size:12px;font-weight:700}
.logout{margin:0}
.logout button{background:none;border:0;padding:0;color:var(--muted);font-size:12px;font-weight:500}
.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:.14em;font-weight:700;color:var(--muted)}
.muted{color:var(--muted)}
h1{font-size:42px;line-height:1.12;letter-spacing:-.045em;font-weight:800}
h2{font-size:23px;letter-spacing:-.025em}
h3{font-size:21px;letter-spacing:-.025em}
.btn{height:48px;padding:0 24px;border:0;border-radius:999px;background:var(--lime);color:var(--forest);font-size:14px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:16px}
.btn:disabled{opacity:.6;cursor:progress}
.home{padding:44px 64px}
.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:32px}
.intro p{margin-top:13px;font-size:16px;color:var(--muted)}
.night{text-align:right;font-size:13px;line-height:1.8;color:var(--muted)}
.night strong{color:var(--paper);font-weight:500}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.zone-card{font:inherit;color:inherit;text-align:left;width:100%;height:206px;border:1px solid #35412c;border-radius:20px;padding:24px;background:#182113;display:flex;flex-direction:column;position:relative}
.zone-card:hover{border-color:var(--lime)}
.zone-card .number{font-size:12px;color:var(--muted);margin-bottom:auto}
.zone-card h2{font-size:23px;margin-bottom:9px}
.zone-card p{font-size:14px;line-height:1.5;color:var(--muted);max-width:260px}
.zone-card .arrow{position:absolute;right:24px;top:23px;font-size:24px;color:var(--lime)}
.zone-card.panel-card{background:#202b18}
.home-footer{display:flex;justify-content:space-between;gap:16px;font-size:12px;color:var(--muted);margin-top:26px}
.proposal{font-size:10px;letter-spacing:.11em;text-transform:uppercase}
.login{min-height:calc(100vh - 80px);display:grid;grid-template-columns:1fr 430px;gap:128px;padding:112px 124px 60px}
.login-brand{padding-top:18px}
.login-brand .wm{font-size:126px;margin-top:42px}
.login-form{padding-top:26px}
.login-form h1{margin:16px 0}
.login-form>p{font-size:14px;line-height:1.6}
.login-form form{margin-top:32px}
.login-form .field{font-size:13px;color:var(--paper);margin-bottom:20px}
.login-form .field input{height:52px;background:#182113;border:1px solid #414c37;color:var(--paper);border-radius:12px}
.login-form .field input::placeholder{color:var(--muted)}
.login-form .btn{width:100%;justify-content:space-between;margin-top:4px}
.login-form .help{margin-top:20px;font-size:12px;color:var(--muted)}
.login-footer{height:80px;margin:0 64px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px}
.field{display:block;font-size:12px;font-weight:700;margin-bottom:14px}
.field input{display:block;width:100%;height:44px;border:1px solid #cbd1c3;border-radius:10px;background:#fff;color:var(--forest);padding:0 13px;margin-top:7px;font-size:14px}
.field input::placeholder{color:#65705e}
.form-error{min-height:1.2em;margin:12px 0 0;font-size:13px;color:#F4F7EE}
.form-error.light{color:var(--accent)}
.door{padding:28px 64px 20px;min-height:calc(100vh - 88px);display:flex;flex-direction:column}
.door-title{display:flex;align-items:center;justify-content:space-between;gap:24px}
.door-title h1{margin-top:14px;font-size:36px}
.door-title p{margin-top:12px}
.ready{display:flex;align-items:center;gap:9px;border:1px solid #3c4c2d;border-radius:999px;padding:10px 14px;font-size:12px;color:var(--muted);white-space:nowrap}
.ready span{height:7px;width:7px;background:var(--lime);border-radius:50%}
.scan-card{margin-top:32px;padding:32px;display:grid;grid-template-columns:420px 1fr;gap:56px;border:1px solid #35412c;border-radius:22px;background:#182113;min-height:400px}
.scanner{background:var(--forest);border:1px solid #303b27;border-radius:16px;min-height:336px;overflow:hidden}
.scanner.has-app iframe{display:block;width:100%;height:100%;min-height:336px;border:0;background:#10170E}
.scan-copy{padding-top:8px}
.scan-copy h2{font-size:30px;margin-top:14px}
.scan-copy p{line-height:1.7;color:var(--muted);margin:16px 0 22px}
.scan-note{font-size:12px;color:var(--muted);line-height:1.6;margin-top:22px}
.placeholder-card{display:block}
.placeholder-card p{max-width:46ch;color:var(--muted);line-height:1.6;font-size:16px}
.stage-bar{height:64px;padding:0 28px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;border-bottom:1px solid #243022;background:var(--forest)}
.stage-bar .wm{font-size:28px;margin:0}
.stage-brand{display:flex;align-items:center;gap:22px;min-width:0}
.stage-zone{font-size:15px;font-weight:700;color:var(--paper)}
.stage-person{margin:0;color:var(--muted);font-size:14px;font-weight:500;white-space:nowrap}
.stage-side{justify-self:end;display:flex;align-items:center;gap:18px}
.stage-page{padding:22px 36px 28px}
.stage-page h1{margin-top:10px;font-size:32px;font-weight:800;letter-spacing:-.04em}
.crumb{margin:0;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.crumb span{padding:0 6px;color:#8d987f}
.stage{position:relative;margin-top:18px;min-height:560px;padding:36px 28px;border:1px solid #2c3826;border-radius:28px;background:#141c12;display:grid;place-items:center}
.device{position:relative;background:#10170E;border:8px solid #0c120c;overflow:hidden}
/* The bezel sits outside the screen. border-box was covering the scaled iframe and clipping its right edge. */
.device.phone{--w:420px;--h:860px;--s:.68;box-sizing:content-box;width:calc(var(--w) * var(--s));height:calc(var(--h) * var(--s));border-radius:32px}
.device.tablet{width:min(920px,100%);height:620px;border-radius:20px}
.device iframe{display:block;width:100%;height:100%;border:0;background:#10170E}
.device.phone iframe{position:absolute;top:0;left:0;width:var(--w);height:var(--h);transform:scale(var(--s));transform-origin:top left}
.device-note{margin:0;padding:28px;color:var(--muted);line-height:1.6}
.stage-foot{display:flex;justify-content:space-between;gap:16px;margin-top:22px;color:var(--muted);font-size:12px}
.workspace{min-height:calc(100vh - 88px);display:grid;grid-template-columns:188px 1fr;background:var(--pro);color:var(--forest)}
.workspace :focus-visible{outline-color:var(--accent)}
.sidebar{background:var(--forest);padding:28px 18px;color:var(--muted);display:flex;flex-direction:column;border-right:1px solid var(--line)}
.club{padding:0 14px 25px;font-size:12px;color:var(--paper);line-height:1.6;letter-spacing:.06em}
.club small{color:var(--muted);font-size:10px;letter-spacing:.12em}
.nav-item{display:block;padding:13px 14px;font-size:13px;border-radius:10px;margin-bottom:4px;color:var(--muted)}
.nav-item.active{background:#29351f;color:var(--paper);font-weight:700}
a.nav-item:hover{color:var(--paper)}
.sidebar-bottom{margin-top:auto;padding:14px;color:var(--muted);font-size:11px;line-height:1.7}
.panel-content{padding:32px 36px}
.panel-content .eyebrow{color:#58664e}
.panel-content h1{font-size:32px}
.panel-content:has(.team-layout){padding:24px 28px 32px}
.panel-content:has(.team-layout) .eyebrow{letter-spacing:.12em;text-transform:uppercase;font-size:11px;font-weight:750}
.panel-content:has(.team-layout) h1{font-size:40px;letter-spacing:-1.4px;line-height:1.05;margin:0}
.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:25px}
.panel-heading p{font-size:13px;color:#5c6557;margin-top:8px}
.badge{border:1px solid #cdd3c4;border-radius:999px;padding:7px 11px;font-size:10px;letter-spacing:.06em;font-weight:700;color:var(--accent);white-space:nowrap}
.light-card{background:#fff;border:1px solid #dde1d7;border-radius:18px;padding:22px}
.light-muted{color:#5b6554}
.foot-label{font-size:11px;color:#5b6554;line-height:1.5}
.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}
.metrics .light-card{padding:21px 20px}
.metrics p{font-size:12px;font-weight:500;color:#55614e}
.metrics strong{display:block;font-size:36px;letter-spacing:-.045em;margin:14px 0 8px}
.metrics small{font-size:10px;color:#5b6554}
.overview{display:grid;grid-template-columns:1.6fr 1fr;gap:20px}
.summary-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.summary-head h2{font-size:19px}
.summary-head .badge{font-size:8px;padding:6px 8px}
.night-summary>p{font-size:12px;margin:12px 0 22px}
.summary-row{display:flex;justify-content:space-between;font-size:12px;border-top:1px solid #e3e6dd;padding:16px 0;gap:16px}
.summary-row>span{color:#5b6554}
.summary-row strong{font-weight:500}
.night-summary .foot-label{margin:10px 0 0;font-size:10px}
.team-callout{background:#e9eddf}
.team-callout h2{font-size:29px;line-height:1.15;margin:16px 0}
.team-callout p{font-size:13px;line-height:1.6;color:#526047;margin-bottom:25px}
.team-callout .eyebrow{font-size:9px}
.team-layout{display:grid;grid-template-columns:1.04fr 1fr;gap:16px}
.team-layout>.light-card{padding:18px 20px}
.members-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.members-title h2{font-size:19px}
.members-title>span{font-size:11px}
.member{padding:12px 0;border-bottom:1px solid #e1e5db}
.member-head{display:flex;gap:12px;align-items:center}
.light-avatar{height:36px;width:36px;display:grid;place-items:center;border-radius:50%;background:#edf0e6;color:var(--accent);font-weight:700;font-size:11px;flex:none}
.member h3{font-size:15px;letter-spacing:-.02em}
.member p{font-size:11px;color:#5b6554;margin-top:4px}
.member p strong{font-weight:500}
.chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px}
.chips span{font-size:10px;border:1px solid #d6dccd;border-radius:999px;padding:5px 9px;color:var(--accent);background:#f7f8f4}
.permission-note{font-size:12px;line-height:1.65;color:#56634c;margin-top:17px}
.create-user h2{font-size:21px}
.create-user>p{font-size:12px;margin:6px 0 20px}
.name-fields{display:grid;grid-template-columns:1.25fr 1fr;gap:12px}
.create-user fieldset{padding:0;border:0;margin:6px 0 14px}
.create-user legend{padding:0;font-size:12px;font-weight:700;margin-bottom:14px}
.checks{display:grid;grid-template-columns:1fr 1fr;gap:15px 10px}
.checks label{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:500}
.checks input{height:17px;width:17px;margin:0;accent-color:#344D11}
.checks .wide{grid-column:span 2}
.create-user .btn{width:100%;margin-top:8px}
.demo-note{font-size:10px;text-align:center;margin-top:11px}
@media (max-width:960px){
  .login{grid-template-columns:1fr;gap:28px;padding:48px 24px 24px}
  .login-brand .wm{font-size:72px}
  .login-footer{margin:0 24px}
  .home,.door{padding:28px 20px}
  .topbar{padding:0 16px;gap:14px;height:auto;min-height:72px}
  .current{display:none}
  .grid,.metrics,.overview,.team-layout,.scan-card,.name-fields{grid-template-columns:1fr}
  .zone-card{height:auto;min-height:160px}
  .stage-bar{grid-template-columns:1fr auto;height:auto;min-height:64px;padding:12px 16px}
  .stage-person{display:none}
  .stage-page{padding:20px 16px 24px}
  .device.phone,.device.tablet{box-sizing:border-box;width:100%;height:72vh;min-height:560px}
  .device.phone iframe{position:static;width:100%;height:100%;transform:none}
  .workspace{grid-template-columns:1fr}
  .sidebar{border-right:0;border-bottom:1px solid var(--line)}
  .intro,.door-title{flex-direction:column;align-items:flex-start}
  .night{text-align:left}
}

/* Panel de la noche: misma jerarquía oscura que Dirección en Pro. */
.workspace:has(#direccionApp){background:#10170E}
#direccionApp{background:#10170E;color:#F6F6F2;font-family:Inter,ui-sans-serif,system-ui,sans-serif;min-width:0}
#direccionApp [hidden]{display:none!important}
#direccionApp h1{margin:0;font-size:34px;letter-spacing:-.03em;line-height:1.1;font-weight:800;color:#F6F6F2}
#direccionApp h2{margin:0;color:#B9C2AE;font-size:11px;letter-spacing:.12em;text-transform:uppercase;font-weight:750}
#direccionApp .eyebrow{color:#B9C2AE}
#direccionApp .lede,#direccionApp .tick,#direccionApp .hint,#direccionApp .void,#direccionApp .occ-cap,#direccionApp .block-head p,#direccionApp .metric .fig em{color:#B9C2AE}
#direccionApp .intro{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}
#direccionApp .pills{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
#direccionApp .pill{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:999px;font-size:10.5px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap;border:1px solid transparent}
#direccionApp .pill.status-live{background:#C6F035;color:#10170E}
#direccionApp .pill.status-before{background:transparent;border-color:#A8B398;color:#F6F6F2}
#direccionApp .pill.status-closed{background:#F6F6F2;color:#10170E}
#direccionApp .pill.test{background:#151C12;border-color:#35422E;color:#F6F6F2}
#direccionApp .tick{margin:0 0 16px;font-size:12.5px}
#direccionApp .state-note{background:#151C12;border-left:3px solid #C6F035;padding:12px 16px;border-radius:0 12px 12px 0;color:#B9C2AE;font-size:14px;line-height:1.45;margin:0 0 18px}
#direccionApp .hero{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:16px;margin-bottom:16px}
#direccionApp .card{background:#1A2415;border:1px solid #35422E;border-radius:18px;padding:20px 22px;min-width:0;color:#F6F6F2}
#direccionApp .big{margin:10px 0 16px;font-size:clamp(32px,6vw,52px);font-weight:800;letter-spacing:-.04em;line-height:1;overflow-wrap:anywhere}
#direccionApp .num{font-variant-numeric:tabular-nums}
#direccionApp .mixbar{display:flex;height:10px;border-radius:999px;overflow:hidden;background:#10170E;gap:2px}
#direccionApp .mixbar span{display:block;height:100%;min-width:4px}
#direccionApp .s-barras{background:#C6F035}.#direccionApp .s-vip{background:#9AAA7A}.#direccionApp .s-entradas{background:#B9C2AE}.#direccionApp .s-guardarropa{background:#6B7A5C}
#direccionApp .mix{display:flex;flex-wrap:wrap;gap:8px 18px;margin:12px 0 0;padding:0;list-style:none}
#direccionApp .mix li{display:flex;align-items:baseline;gap:8px;font-size:13px;color:#B9C2AE}
#direccionApp .mix b,#direccionApp .rows strong,#direccionApp .occ-list b,#direccionApp .void b,#direccionApp .sum{color:#F6F6F2;font-weight:750}
#direccionApp .dot{width:8px;height:8px;border-radius:50%;flex:none}
#direccionApp .dot.barras{background:#C6F035}.#direccionApp .dot.vip{background:#9AAA7A}.#direccionApp .dot.entradas{background:#B9C2AE}.#direccionApp .dot.guardarropa{background:#6B7A5C}
#direccionApp .hint{margin:12px 0 0;font-size:12.5px;line-height:1.4}
#direccionApp .once{margin:8px 0 0;font-size:12px}
#direccionApp .box-note{padding:8px 10px;border-left:3px solid #C6F035;background:#151C12;border-radius:0 10px 10px 0}
#direccionApp .occ-row{display:flex;align-items:center;gap:22px;margin-top:12px;min-width:0}
#direccionApp .ring{position:relative;width:148px;height:148px;flex:none}
#direccionApp .ring svg{width:100%;height:100%;display:block}
#direccionApp .ring-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
#direccionApp .ring-center b{font-size:36px;letter-spacing:-1.6px;line-height:1;font-weight:800}
#direccionApp .ring-center small{display:block;margin-top:4px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#B9C2AE;font-weight:700}
#direccionApp .occ-side{min-width:0;flex:1}
#direccionApp .occ-pct{font-size:22px;font-weight:800;letter-spacing:-.03em;color:#F6F6F2}
#direccionApp .occ-list{margin:14px 0 0;padding:0;list-style:none;display:grid;gap:6px}
#direccionApp .occ-list li{display:flex;justify-content:space-between;gap:16px;font-size:13.5px;color:#B9C2AE;border-bottom:1px solid #35422E;padding-bottom:6px}
#direccionApp .occ-list li:last-child{border:0;padding:0}
#direccionApp .areas{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:16px}
#direccionApp .metric .fig{margin:12px 0 14px}
#direccionApp .metric .fig b{display:block;font-size:30px;letter-spacing:-.035em;line-height:1;font-weight:800;color:#F6F6F2;overflow-wrap:anywhere}
#direccionApp .metric .fig em{display:block;margin-top:5px;font-style:normal;font-size:12.5px;font-weight:550}
#direccionApp .rows div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid #35422E;font-size:13px;color:#B9C2AE}
#direccionApp .rows strong{text-align:right;font-weight:650;font-size:13px;letter-spacing:0;white-space:nowrap;color:#F6F6F2}
#direccionApp .block{margin-bottom:16px}
#direccionApp .block-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:14px}
#direccionApp .block-head h2{font-size:13px;letter-spacing:.1em}
#direccionApp .sum{font-size:18px;font-weight:800}
#direccionApp table{width:100%;border-collapse:collapse;font-size:13.5px}
#direccionApp th{text-align:left;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#B9C2AE;font-weight:750;padding:0 10px 10px;border-bottom:1px solid #35422E}
#direccionApp td{padding:11px 10px;border-bottom:1px solid #35422E;color:#F6F6F2}
#direccionApp tr:last-child td{border-bottom:0}
#direccionApp td.on{font-weight:750}
#direccionApp .r{text-align:right}
#direccionApp .mobile-rows{display:none}
#direccionApp .void{margin:12px 0 4px;font-size:12.5px}
#direccionApp .team{margin-top:16px}
#direccionApp .team h2{font-size:29px;letter-spacing:-.03em;text-transform:none;color:#F6F6F2;line-height:1.15;margin:16px 0}
#direccionApp .team p{font-size:13px;line-height:1.6;color:#B9C2AE;margin-bottom:20px}
#direccionApp .foot{margin-top:18px;color:#B9C2AE;font-size:12px}
#direccionApp .form-error{color:#F6F6F2}
@media (max-width:1100px){
  #direccionApp .areas{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:800px){
  #direccionApp{padding:18px 16px 28px}
  #direccionApp .intro{display:block}
  #direccionApp .pills{justify-content:flex-start;margin-top:12px}
  #direccionApp h1{font-size:30px}
  #direccionApp .hero,#direccionApp .areas{grid-template-columns:minmax(0,1fr)}
  #direccionApp .ring{width:120px;height:120px}
  #direccionApp .ring-center b{font-size:30px}
  #direccionApp table.desk{display:none}
  #direccionApp .mobile-rows{display:grid;gap:10px}
  #direccionApp .mrow{border:1px solid #35422E;border-radius:14px;padding:12px 14px;background:#151C12;min-width:0}
  #direccionApp .mrow .mh{display:flex;justify-content:space-between;gap:10px;align-items:baseline;margin-bottom:6px}
  #direccionApp .kv{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 10px}
  #direccionApp .kv span{display:block;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:#B9C2AE;font-weight:700}
  #direccionApp .kv b{display:block;font-size:13px;color:#F6F6F2;font-weight:650;overflow-wrap:anywhere}
}
