@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');
:root{--green:#153f36;--gold:#c6a36a;--paper:#f7f6f1;--line:#e1e5df}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:#213b33;font-family:'DM Sans',Arial,sans-serif;font-size:14px}aside{position:fixed;width:225px;height:100vh;background:var(--green);color:#f7f4e9;padding:35px 22px}.brand{text-align:center;font-family:Georgia,serif;font-size:23px;line-height:1.6;letter-spacing:2px}.brand:first-line{font-size:40px;color:var(--gold)}small{display:block;font:10px Arial;letter-spacing:2px}.rail-label{font-size:9px;letter-spacing:1.6px;opacity:.5;margin:55px 8px 18px}nav button{display:block;border:0;color:#d5dfd7;background:transparent;text-align:left;width:100%;padding:15px 12px;margin:5px 0;border-radius:6px}nav button.active{background:#ffffff18;color:white;border-left:3px solid var(--gold)}.aside-bottom{position:absolute;bottom:30px;font-size:10px;line-height:2;color:#b5c7bc}.aside-bottom b{color:#e2cfab;letter-spacing:2px}.aside-bottom p{font-size:10px}main{margin-left:225px;padding:0 38px 40px}header{height:75px;display:flex;align-items:center;justify-content:space-between;color:#7b857e;font-size:12px;border-bottom:1px solid var(--line)}select,input,button{font:inherit}button{cursor:pointer}select,input{border:1px solid #d9ded7;background:white;color:#28463b;padding:11px;border-radius:6px}button{border:1px solid #d8ded6;background:white;color:var(--green);padding:11px 16px;border-radius:6px}button.primary{background:var(--green);color:white;border-color:var(--green)}button.danger{color:#a04646}button:disabled{opacity:.45;cursor:not-allowed}.demo{font-size:10px;letter-spacing:.7px;padding:12px 0;color:#8b744d}.hero{display:flex;justify-content:space-between;padding:25px 0 30px;align-items:center}.eyebrow{color:#9c804f;font-size:10px;letter-spacing:2px}h1{font:42px 'Playfair Display',Georgia,serif;margin:12px 0}p{color:#7a857e}.stamp{text-align:center;color:#a78751;font:italic 21px Georgia;border:1px solid #d9c9aa;padding:20px 27px;border-radius:50%;transform:rotate(-8deg);line-height:1.5}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:28px}.stat{background:white;border:1px solid var(--line);padding:22px;border-radius:9px}.stat label{font-size:11px;color:#7a857e}.stat b{display:block;font-size:29px;font-weight:500;margin:12px 0 5px}.stat small{font-size:10px;letter-spacing:0;color:#8a958d}.panel{background:white;border:1px solid var(--line);border-radius:10px;padding:24px;margin:20px 0}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}h2{font:24px Georgia;margin:0 0 8px}h3{font-size:14px}.legend{display:flex;gap:18px;font-size:10px;color:#7c857e;margin:22px 0}.legend span:before{content:'●';color:#5b957b;margin-right:6px}.legend span:nth-child(2):before{color:#d5aa5a}.legend span:nth-child(3):before{color:#b6bcb7}.slots{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.slot{text-align:left;border:1px solid #dde5dc;border-radius:7px;padding:15px;min-height:113px;background:#fcfdfb}.slot strong{display:block;font-size:16px;font-weight:500}.slot .status{float:right;font-size:9px;color:#639078}.slot p{font-size:11px;margin:13px 0 9px}.bar{height:4px;background:#e9eee7;border-radius:5px;overflow:hidden}.bar i{display:block;height:100%;background:#648e76}.slot.full{background:#fcf8ed}.slot.closed{background:repeating-linear-gradient(135deg,#f3f3ef,#f3f3ef 5px,#f6f6f3 5px,#f6f6f3 10px);color:#8d958e}.slot.closed p{color:#92988f}table{border-collapse:collapse;width:100%;font-size:12px}th,td{text-align:left;padding:15px 8px;border-bottom:1px solid var(--line)}th{color:#829087;font-weight:400}td button{padding:6px 9px;font-size:11px}.tag{padding:5px 9px;background:#eef4ed;border-radius:20px;font-size:10px}.empty{text-align:center;padding:40px;color:#879087}dialog{border:0;border-radius:12px;padding:28px;max-width:560px;width:95%;box-shadow:0 20px 90px #1235}dialog::backdrop{background:#102a2566}form{display:grid;gap:14px}label.field{display:grid;gap:7px;font-size:12px}.row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.actions{display:flex;gap:10px;justify-content:flex-end;margin-top:14px}.ticket{text-align:center;color:black;font-family:monospace}.ticket h2{font-family:Georgia}.ticket svg{width:220px;height:220px}.ticket p{color:#222}.help{font-size:11px;line-height:1.7;color:#8c938c}#toast{position:fixed;bottom:25px;right:25px;background:var(--green);color:white;padding:15px 24px;border-radius:8px;display:none}video{width:100%;max-height:280px;background:#172d28;border-radius:7px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}a{color:#365e48}.notice{background:#f8f1df;padding:14px;border-radius:5px;font-size:12px;line-height:1.6}@media(max-width:1000px){.slots{grid-template-columns:repeat(3,1fr)}aside{width:185px}main{margin-left:185px;padding:0 20px}.stats{gap:8px}.stat{padding:14px}}@media(max-width:700px){aside{position:static;width:auto;height:auto;padding:14px}.brand,.rail-label,.aside-bottom{display:none}nav{display:flex;overflow:auto}nav button{white-space:nowrap;font-size:11px;padding:10px}main{margin:0;padding:0 15px}.stamp{display:none}h1{font-size:31px}.stats{grid-template-columns:1fr 1fr}.slots{grid-template-columns:1fr 1fr}.settings-grid{grid-template-columns:1fr}.panel{padding:15px}table{display:block;overflow:auto}header span{font-size:10px}.hero{padding-top:12px}}@media print{body>*{display:none!important}dialog[open]{display:block!important;position:static;margin:0;width:72mm;padding:3mm;box-shadow:none}dialog .actions,dialog .help{display:none}.ticket svg{width:52mm;height:52mm}@page{size:80mm auto;margin:3mm}}

aside[hidden]{display:none}body:has(aside[hidden]) main{margin-left:0;max-width:1100px;margin-right:auto;margin-left:auto}header{gap:10px;flex-wrap:wrap}header span{flex:1}
/* Identidad de la activación: rojo de estación, dorado y marfil. */
:root{--green:#8b141b;--gold:#c29a48;--paper:#f8f2e8;--line:#e8dbc4;--ink:#422c28;--red:#92151c;--deep-red:#530d16}body{color:var(--ink);background:radial-gradient(ellipse at top right,#fff9ea,transparent 65%),var(--paper)}aside{background:linear-gradient(160deg,#8a1720 0%,#650f19 55%,#400a12 100%);border-right:3px solid var(--gold);padding:28px 17px}.brand{font-size:initial;line-height:1;text-align:center}.brand img{display:block;width:100%;height:auto;background:white;padding:5px 2px;border:1px solid #dfbe74;border-radius:4px;box-shadow:0 4px 18px #29030b45}.brand small{font:8px Arial,sans-serif;letter-spacing:1.5px;color:#f4dfad;line-height:1.8;margin-top:15px}.rail-label{color:#f0d6a8;opacity:.7;margin-top:40px}nav button{color:#f7e7ca}nav button.active{background:#fff1ce16;border-left-color:#e2bc66;color:#fff9ea}.aside-bottom{color:#d5bfa0;left:27px}.aside-bottom b{color:#ffdf91}.aside-bottom p{color:#d5bfa0}header{color:#79645a;border-bottom-color:var(--line)}.demo{color:#916626;font-size:10px;letter-spacing:1px}.hero{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(230px,1fr);padding:0;margin:10px 0 30px;min-height:280px;border:1px solid #caac6c;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 9px 28px #5e32100d;position:relative}.hero-copy{padding:30px 30px 25px;text-align:center;background:linear-gradient(#fff 60%,#fff8e9)}.eyebrow{color:#9d7531;font-size:9px;letter-spacing:2.2px}.hero h1{margin:20px 0 8px;line-height:1}.hero-logo{display:block;width:100%;max-width:550px;height:auto;margin:auto}.hero-copy>p{font:italic 20px Georgia,serif;color:#7b2426;margin:13px 0 22px}.hero-season{display:flex;justify-content:center;gap:20px;align-items:center;color:#7b5731;font-size:9px;letter-spacing:1.2px}.hero-season span+span{border-left:1px solid #d6bc86;padding-left:20px}.hero-scene{position:relative;min-height:280px;background:#6e1019;overflow:hidden;border-left:3px solid #c7a252}.hero-scene>img{width:100%;height:100%;object-fit:cover;object-position:50% 45%;position:absolute;inset:0}.hero-scene:after{content:'';position:absolute;inset:55% 0 0;background:linear-gradient(transparent,#3a0917cc)}.hero-scene>span{position:absolute;bottom:20px;left:20px;right:20px;color:#ffedc2;font:italic 17px Georgia;z-index:1;text-shadow:0 1px 3px #301018}.stat{border-color:var(--line);border-top:3px solid #c3a262;background:linear-gradient(135deg,#fff,#fffcf6);box-shadow:0 3px 10px #4b281004}.stat label{color:#88705f;font-size:10px;letter-spacing:.5px}.stat b{color:#861a21}.stat small{color:#8e7b68}.panel{border-color:var(--line);box-shadow:0 4px 18px #4b281006}.panel h2,dialog h2{color:#7e1b22}.panel p,p{color:#7b6a60}.help{color:#826f5e}select,input{border-color:#e0d2bc;color:#4f3830}input:focus,select:focus{outline:2px solid #c49b4c;outline-offset:2px}button{border-color:#ded0b7;color:#7c1b21;transition:background-color .15s,box-shadow .15s}button:hover:not(:disabled){background-color:#fbf1e0}button.primary{background:linear-gradient(#a52228,#82131d);border-color:#79141b;color:#fff6df;box-shadow:inset 0 0 0 1px #d5aa4d42}button.primary:hover:not(:disabled){background:linear-gradient(#b12a31,#8b1822)}button:focus-visible,a:focus-visible{outline:3px solid #c49b4c;outline-offset:3px}.slot{border-color:#e8dcc6;background:#fffdf8}.slot strong{color:#6c2024}.slot:hover:not(:disabled){border-color:#bc984c;box-shadow:0 2px 8px #6c3b1510}.slot .status{color:#53785a}.slot p{color:#82705f}.slot.full{background:#fff4da;border-color:#d8be82}.slot.closed{background:repeating-linear-gradient(135deg,#f2eee7,#f2eee7 5px,#f8f5ee 5px,#f8f5ee 10px)}.slot.closed strong,.slot.closed .status{color:#958674}.bar{background:#f0e7d5}.bar i{background:linear-gradient(90deg,#b58e43,#d8bc76)}.legend{color:#89735e}.legend span:nth-child(2):before{color:#c19a4a}.tag{background:#f7edd7;color:#795828}th{color:#947959}.notice{background:#fff3d7;color:#78572f}.ticket-logo{display:block;width:285px;max-width:100%;height:auto;margin:0 auto 12px}.ticket h2{font-size:17px;color:#222}.ticket>p{color:#222}dialog{border:1px solid #d2b77b;box-shadow:0 20px 90px #3d0b1d40}dialog::backdrop{background:#300f1b66}.actions{flex-wrap:wrap}#toast{background:#76151f;z-index:5}a{color:#8a1924}aside[hidden]{display:none}body:has(aside[hidden]) main{max-width:1160px}body:has(aside[hidden]) .hero{margin-top:14px}body:has(aside[hidden]) #login{margin-top:20px}body:has(aside[hidden]) .panel{border-top:3px solid #c7a252}
@media(max-width:1000px){.hero-copy{padding:25px 20px}.hero{grid-template-columns:minmax(0,1.5fr) minmax(190px,1fr);min-height:250px}.hero-scene{min-height:250px}.hero-copy>p{font-size:18px}.hero-season{gap:12px;letter-spacing:.6px;font-size:8px}.hero-season span+span{padding-left:12px}}
@media(max-width:700px){aside{padding:9px;border-right:0;border-bottom:2px solid var(--gold)}.brand{display:block;max-width:200px;margin:3px auto 9px}.brand small{display:none}nav button{font-size:10px;white-space:nowrap;padding:10px 7px}header{min-height:70px;height:auto;padding:12px 0;gap:8px}header span{min-width:140px}header button,header select{font-size:11px;padding:8px}.hero{grid-template-columns:minmax(0,1fr);margin-bottom:22px}.hero-copy{padding:24px 18px}.hero h1{margin-top:17px}.hero-logo{max-width:430px}.hero-scene{display:none}.hero-copy>p{font-size:18px;margin-bottom:18px}.eyebrow{font-size:8px;letter-spacing:1.6px}.stat label{font-size:9px}.legend{gap:10px;font-size:9px}.slot{padding:12px}.toolbar>div:last-child{display:flex;flex-wrap:wrap;gap:8px}.toolbar input{max-width:100%}.row{gap:10px}dialog{padding:20px}.ticket-logo{max-width:95%}}
@media print{dialog[open]{border:0}.ticket-logo{width:64mm;filter:grayscale(1) contrast(1.5);margin-bottom:3mm}.ticket h2{font-size:12px;color:black}.ticket .ticket-logo+ h2{margin:2mm 0}.ticket p{color:black}.ticket-logo,.ticket svg{break-inside:avoid}}

.hero{align-items:stretch}.hero-logo{clip-path:inset(0 1px)}

.table-scroll{overflow-x:auto;margin:15px 0 22px}.table-scroll table{min-width:720px}.table-scroll td{vertical-align:top}.tag.warning{background:#ffe3c0;color:#833c16}details{margin-top:8px;min-width:220px}details pre{max-width:420px;max-height:280px;overflow:auto;white-space:pre-wrap;font-size:11px;background:#fcf6eb;padding:12px}.notice{overflow-wrap:anywhere}#modal:has(.table-scroll){max-width:1050px}#breaks{margin-top:15px}#historyReport{margin-bottom:22px}nav button{padding-top:12px;padding-bottom:12px}input[type=checkbox]{accent-color:#8b141b}
