@charset "UTF-8";
.table-actions{display:flex;gap:6px;flex-wrap:wrap;max-width:470px}.table-actions button{background:#fff;border:1px solid #dce5f0;border-radius:6px;color:#315782;padding:9px 10px;font-size:.875rem;min-height:36px}.table-actions .text-danger{color:#ad3750}td small{display:block;color:#7c8ba0;font-size:.75rem;margin-top:5px}.session-row{display:flex;align-items:center;gap:15px;padding:20px 0;border-bottom:1px solid #e3e9f1}.session-row>div{flex:1}.session-row small{display:block;color:#63748b;font-size:.875rem;margin-top:6px;line-height:1.5}.attempt small{display:block;color:#63748b;font-size:.8rem;margin-top:4px}.attempt-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:9px}.attempt-icon.ok{background:#eaf7f0;color:#177645}.attempt-icon.no{background:#fff0ed;color:#b13d26}#eventInfo .info-item>span{font-size:.7rem;color:#7f8da0;letter-spacing:.07em}#eventInfo .info-item>strong{font-size:.9rem;color:#213b5c;line-height:1.6;margin:5px 0}#eventInfo .info-item>small{font-size:.8rem;color:#63748b}.badge.pending{background:#fff5df;color:#926509}@media(max-width:760px){.session-row{flex-wrap:wrap}.session-row>div{flex-basis:100%}}
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#152c4b;background:#f4f7fb;font-size:16px;--blue:#2167db;--navy:#112e58;--muted:#63748b;--line:#e3e9f1;--shadow:0 8px 28px #17335b08}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:var(--blue);text-decoration:none}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #53a2ff;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:2rem;letter-spacing:-.04em;line-height:1.18;margin-bottom:9px}h2{font-size:1.2rem;letter-spacing:-.02em;margin-bottom:8px}p{line-height:1.6}.muted{color:var(--muted);font-size:.94rem}.eyebrow{font-size:.72rem;font-weight:800;letter-spacing:.13em;margin-bottom:12px}.blue{color:var(--blue)}.primary,.secondary,.danger{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;border-radius:9px;border:1px solid transparent;font-weight:650;font-size:.9rem;min-height:44px}.primary{background:var(--blue);color:white;box-shadow:0 4px 12px #2167db18}.primary:hover{background:#1356c1}.secondary{background:#fff;border-color:#d5deea;color:#22456e}.secondary:hover{background:#edf4ff}.danger{background:#fff0f0;color:#a3223e;border-color:#f2cad0}.wide{width:100%}.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--navy);color:#fff;padding:30px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;color:inherit;padding:0 10px}.brand img{width:43px;height:43px}.brand>span{font-size:1.45rem;font-weight:450;letter-spacing:-.04em}.brand b{font-weight:800}.brand small{display:block;font-size:.53rem;letter-spacing:.12em;color:#a9bddb;margin-top:5px;font-weight:650}.nav-caption{margin:47px 14px 13px;font-size:.64rem;font-weight:700;letter-spacing:.14em;color:#8ea8cf}.sidebar nav{display:grid;gap:7px}.sidebar nav button{display:flex;align-items:center;gap:12px;color:#b9cbe5;border:0;background:transparent;padding:14px 15px;border-radius:9px;text-align:left;font-size:.9rem;font-weight:550}.sidebar nav button span{font-size:1.3rem;width:24px;text-align:center}.sidebar nav button:hover{background:#ffffff0d;color:white}.sidebar nav button.active{background:#2979ed;color:#fff;box-shadow:0 8px 20px #031f4d33}.sidebar-bottom{margin-top:auto;padding:30px 10px 0}.secure-note{display:flex;gap:10px;border-top:1px solid #ffffff1a;padding:24px 0}.secure-note>span{font-size:1.5rem;color:#8cbcff}.secure-note strong{display:block;font-size:.8rem}.secure-note small{font-size:.71rem;color:#a5bad8}.sidebar-link{display:block;border:0;background:none;color:#b9cbe5;font-size:.78rem;padding:8px 0}.powered{display:block;font-size:.53rem;color:#7f9bc2;letter-spacing:.08em;margin-top:22px}.workspace{min-width:0}.topbar{height:88px;background:#fff;border-bottom:1px solid var(--line);padding:20px 38px;display:flex;justify-content:space-between;align-items:center}.breadcrumb{font-size:.83rem;color:#8190a3}.breadcrumb b{font-weight:550;color:#405b7b}.today{display:block;margin-top:6px;font-size:.74rem;color:#8090a4}.operator{display:flex;align-items:center;gap:11px}.avatar{display:grid;place-items:center;background:#e9f1ff;border:1px solid #d8e6ff;border-radius:50%;width:39px;height:39px;font-weight:750;color:var(--blue)}.operator strong{display:block;font-size:.83rem}.operator small{display:block;font-size:.71rem;color:var(--muted);margin-top:3px}main{padding:32px 38px 20px;max-width:1660px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.page-heading .muted{margin:0}.heading-actions{display:flex;gap:12px;align-items:center}.heading-actions select{max-width:250px;background-color:white}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23536680' stroke-width='1.8'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:38px!important}input,select,textarea{border:1px solid #d9e1eb;border-radius:8px;padding:12px 13px;min-width:0;color:#193350;background-color:#fff;max-width:100%;font-size:.9rem}label{display:grid;gap:8px;font-size:.86rem;font-weight:600;margin:15px 0}input::placeholder{color:#9aa6b5;font-weight:400}.event-hero{border-radius:15px;overflow:hidden;min-height:223px;background:linear-gradient(90deg,#320b20df,#320b2050),url('assets/theatre.png') center 40%/cover;color:#fff6e5;padding:29px 32px;display:flex;justify-content:space-between;gap:20px;align-items:center;box-shadow:0 8px 25px #3a142018}.event-pill{font-size:.62rem;font-weight:750;letter-spacing:.12em;padding:6px 10px;border:1px solid #dfbc7855;border-radius:5px;color:#f0d398}.event-hero h2{font:700 clamp(1.6rem,2.4vw,2.8rem) Georgia,serif;margin:19px 0 10px;letter-spacing:-.03em}.event-hero p{color:#eedbc9;margin-bottom:19px;font-size:1.1rem}.hero-details{display:flex;gap:22px;flex-wrap:wrap;color:#e9d6b8;font-size:.8rem}.hero-capacity{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:170px;border-left:1px solid #e9ce9a44;padding-left:30px}.hero-capacity>span{font-size:.58rem;letter-spacing:.14em;color:#e7c995}.hero-capacity strong{font-size:3.4rem;line-height:1.2;color:#f6db98;font-weight:650;letter-spacing:-.05em}.hero-capacity small{max-width:120px;font-size:.67rem;line-height:1.5;color:#dfcbb4}.hero-capacity b{font-size:.8rem;margin-top:8px;color:#f2d896}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin:23px 0}.stats article{background:white;padding:23px;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.stats article>span{font-size:.8rem;color:#63768e;font-weight:550;display:block}.stats strong{display:block;font-size:2rem;line-height:1.25;letter-spacing:-.04em;margin:12px 0 8px}.stats small{display:block;color:#8895a6;font-size:.69rem;line-height:1.5}.stats .stat-accent{background:#f0f7ff;border-color:#d9e9ff}.stat-accent strong{color:#2167db}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,1fr);gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:13px;padding:25px;box-shadow:var(--shadow)}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:21px}.panel-heading .eyebrow{font-size:.61rem;margin-bottom:8px}.panel-heading p{margin-bottom:0}.panel-heading h2{margin-bottom:0}.sync{background:#f1f7f6;color:#287263;font-size:.65rem;padding:6px 9px;border-radius:20px;white-space:nowrap}.empty{padding:34px 15px;text-align:center;color:#8795a7;font-size:.87rem;line-height:1.7}.empty span{display:block;font-size:2rem;margin-bottom:12px;color:#c4d1e2}.attempt{display:grid;grid-template-columns:35px minmax(0,1fr) auto;gap:12px;padding:14px 0;border-top:1px solid #edf0f6;align-items:center}.attempt-mark{border-radius:9px;width:33px;height:33px;display:grid;place-items:center;background:#eaf7f0;color:#177645}.attempt-mark.rejected{background:#fff0ed;color:#b13d26}.attempt strong{font-size:.84rem}.attempt p{font-size:.72rem;color:var(--muted);margin:4px 0 0}.attempt time{font-size:.7rem;color:#8090a4}.event-info h2{margin-bottom:20px}.info-item{border-bottom:1px solid var(--line);padding:13px 0}.info-item strong{display:block;font-size:.73rem;margin-bottom:7px;color:#7f8da0;font-weight:500}.info-item span{display:block;font-size:.85rem;line-height:1.6}.info-note{padding:15px;background:#f2f6fc;border-radius:9px;color:#5a7090;font-size:.79rem;line-height:1.65;margin-top:16px}.main-footer{display:flex;justify-content:space-between;gap:15px;margin-top:35px;font-size:.68rem;color:#98a3b2;padding:18px 0}.notice{padding:13px 16px;background:#edf4ff;color:#2355a3;border:1px solid #d1e3ff;border-radius:9px;font-size:.86rem;line-height:1.6;margin-bottom:20px}.notice.error{background:#fff1f1;color:#a22d3e;border-color:#f3cbd2}.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:20px}.toolbar input{flex:1;max-width:350px}.toolbar .muted{margin-left:auto;font-size:.8rem}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:.84rem;white-space:nowrap}th{font-size:.68rem;color:#8794a6;text-transform:uppercase;letter-spacing:.07em;padding:13px 12px;background:#f7f9fc;border-bottom:1px solid var(--line)}td{padding:15px 12px;border-bottom:1px solid #edf1f6}.folio{font-weight:750;color:#2357a5}.badge{display:inline-block;font-size:.7rem;font-weight:650;border-radius:5px;padding:5px 8px;background:#eef3fa;color:#5d7291}.badge.sold{background:#e9f7ed;color:#2f7950}.badge.used{background:#e7efff;color:#3463b6}.badge.cancelled{background:#fdecef;color:#ad3750}.actions{display:flex;gap:6px}.small-button{font-size:.72rem;background:white;border:1px solid #dce5f0;border-radius:6px;color:#3c628f;padding:8px 10px;min-height:34px}.small-button:hover{background:#eef4ff}.small-button.danger-text{color:#ad3750}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:20px;font-size:.78rem;color:var(--muted)}.pagination button{font-size:.75rem;min-height:36px;padding:8px 12px}.scanner-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,1fr);gap:24px;max-width:1100px}.reader{min-height:250px;border-radius:12px;background:#f2f5fa;overflow:hidden;margin:18px 0;position:relative}.reader:empty:before{content:'El QR se leerá aquí';position:absolute;inset:0;display:grid;place-items:center;color:#8493a8;font-size:.85rem}.reader video{max-width:100%}.button-row{display:flex;gap:10px}.file-label{padding:13px;background:#f7f9fc;border-radius:8px;font-size:.79rem}.file-label input{font-size:.75rem;background:white}#manualScan{border-top:1px solid var(--line);margin-top:24px;padding-top:8px}.scan-result{border:1px solid #dbe5f3;border-radius:15px;background:#f0f5ff;min-height:330px;padding:40px 28px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.result-icon{font-size:3rem;margin-bottom:15px}.scan-result h2{font-size:1.6rem}.scan-result p{font-size:.95rem}.scan-result.accepted{background:#e3f5e9;color:#155c35;border-color:#a6dcb8}.scan-result.rejected{background:#ffedef;color:#95263e;border-color:#f1b8c4}.scan-result.pending{background:#fff7e6;color:#8a5b0d;border-color:#ebd397}.scan-result .scan-folio{font-size:1.1rem;font-weight:800}.scan-explanation{font-size:.81rem;color:var(--muted);margin-top:20px}#nextScan,#retryScan{margin-top:15px}.session-card{padding:20px;border:1px solid var(--line);border-radius:10px;margin-top:15px;display:flex;justify-content:space-between;gap:20px;align-items:center}.session-card h3{font-size:1rem;margin-bottom:9px}.session-card p{margin-bottom:4px;font-size:.83rem;color:var(--muted)}.session-state{margin-right:10px}.event-card{padding:22px 0;border-top:1px solid var(--line)}.event-card:first-child{border-top:0}.event-card h3{margin-bottom:7px}.event-card>p{font-size:.85rem;color:var(--muted)}.user-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px 0;border-top:1px solid var(--line)}.user-row p{font-size:.81rem;color:var(--muted);margin:5px 0 0}.user-row strong{font-size:.9rem}dialog{padding:26px;border:1px solid var(--line);border-radius:15px;width:min(520px,calc(100vw - 24px));max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 25px 100px #09234d38;color:inherit}dialog::backdrop{background:#0e203b88;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:15px}.dialog-heading h2{font-size:1.4rem;margin:0}.close{background:none;border:0;color:#7e8ca1;font-size:1.8rem;line-height:1;padding:4px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.check{display:flex;align-items:center;gap:10px;font-size:.84rem;line-height:1.5}.check input{width:19px;height:19px;accent-color:var(--blue)}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.form-error{color:#b02e46;font-size:.83rem;min-height:1em;margin:12px 0}.login-screen{min-height:100vh;display:grid;grid-template-columns:1.15fr 1fr}.login-story{color:white;background:linear-gradient(120deg,#0c2852f0,#163b6ef7),url('assets/theatre.png') center/cover;padding:50px 7vw;display:flex;flex-direction:column;justify-content:space-between;min-height:650px}.login-story .brand{padding:0}.login-story h1{font-size:clamp(2.8rem,4vw,4.7rem);line-height:1.1;letter-spacing:-.05em}.login-story>div>p:not(.eyebrow){font-size:1.03rem;color:#b0c5e4;line-height:1.8}.login-story .eyebrow{color:#82b4ff}.login-foot{font-size:.77rem;color:#7f9bc3}.login-panel{padding:65px;display:grid;place-items:center;background:white}.login-panel form{max-width:390px;width:100%}.login-panel h2{font-size:2rem;margin:14px 0;letter-spacing:-.04em}.login-panel label{margin:22px 0}.login-panel input{min-height:49px}.login-help{color:#8a98ab;font-size:.77rem;text-align:center;margin-top:23px}.boot-message{padding:25px;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1600px){main{padding:40px 50px}}@media(max-width:1200px){.shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding:25px 12px}.topbar{padding:18px 24px}main{padding:26px 24px}.page-heading{align-items:flex-start;flex-direction:column}.heading-actions{width:100%;justify-content:space-between}.stats article{padding:19px 16px}.stats strong{font-size:1.8rem}.dashboard-grid{grid-template-columns:1fr}.event-info{display:grid;grid-template-columns:1fr 1fr;gap:12px}.event-info>h2,.event-info>.eyebrow{grid-column:1/-1;margin:0}.event-info .info-note{margin:0;align-self:center}.event-hero h2{font-size:2rem}.login-panel{padding:35px}}
@media(max-width:760px){.shell{display:block}.sidebar{position:static;height:auto;padding:18px 16px 10px}.sidebar .brand{padding:0}.brand img{width:34px;height:34px}.brand>span{font-size:1.3rem}.sidebar nav{display:flex;overflow:auto;margin-top:17px;gap:6px}.sidebar nav button{flex:none;padding:10px;font-size:.76rem;gap:5px}.sidebar nav button span{font-size:1rem;width:17px}.sidebar .nav-caption,.sidebar-bottom .secure-note,.powered{display:none}.sidebar-bottom{position:absolute;right:16px;top:18px;padding:0;display:flex;gap:10px}.sidebar-link{font-size:.63rem}#passwordButton{display:none}.topbar{height:73px;padding:15px 18px}.today{font-size:.63rem}.operator strong{font-size:.75rem}.operator small{font-size:.63rem}.avatar{width:32px;height:32px}main{padding:25px 16px}.page-heading h1{font-size:1.65rem}.heading-actions{flex-wrap:wrap}.heading-actions select{max-width:none;flex:1;min-width:130px}.heading-actions button{font-size:.78rem;padding:10px 12px}.event-hero{padding:24px;min-height:245px}.event-hero h2{font-size:1.85rem}.hero-capacity{display:none}.hero-details{gap:10px;font-size:.74rem}.event-hero p{font-size:.95rem}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:17px 0}.stats article{padding:17px}.stats strong{font-size:1.7rem}.stats article>span{font-size:.7rem}.stats small{font-size:.63rem}.panel{padding:20px 17px}.dashboard-grid{gap:17px}.event-info{display:block}.event-info h2{margin:12px 0}.event-info .info-note{margin-top:15px}.main-footer{font-size:.61rem;flex-direction:column;gap:7px}.toolbar{flex-wrap:wrap}.toolbar input{max-width:none;width:100%;flex-basis:100%}.toolbar .muted{font-size:.72rem}.scanner-grid{grid-template-columns:1fr}.scan-result{min-height:240px}.session-card{align-items:flex-start;flex-direction:column;gap:13px}.panel-heading{align-items:flex-start}.panel-heading .primary{font-size:.73rem;padding:9px 11px;white-space:nowrap}.login-screen{display:flex;flex-direction:column}.login-story{min-height:260px;padding:28px}.login-story h1{font-size:2rem;margin-top:30px}.login-story>div>p:not(.eyebrow),.login-foot,.login-story .eyebrow{display:none}.login-panel{padding:36px 25px}.login-panel h2{font-size:1.75rem}.form-grid{grid-template-columns:1fr 1fr}.attempt{gap:9px}.attempt strong{font-size:.79rem}.attempt p{font-size:.65rem}.sync{font-size:.6rem}.user-row{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

@media(max-width:760px){#ticketsPage .panel-heading{flex-direction:column}#ticketsPage .panel-heading .button-row{flex-wrap:wrap}#printAllButton{font-size:.85rem}}
