@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');
:root{--bg:#0b0e18;--sidebar:#0d111e;--surface:#151b2c;--surface2:#1b2234;--border:#2a3346;--text:#f0f3ff;--dim:#97a1b5;--muted:#64708b;--purple:#886bff;--purple2:#5e46db;--cyan:#3dd4c5;--red:#fb7185;--orange:#ffb455;--shadow:0 22px 60px rgba(0,0,0,.14)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.55 'DM Sans',system-ui,-apple-system,sans-serif}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}a:hover{color:#bfb2ff}p{color:var(--dim)}h1,h2,h3,b,strong{font-family:'Plus Jakarta Sans','DM Sans',sans-serif}h1{font-size:30px;letter-spacing:-1.3px;line-height:1.18;margin:0}h2{font-size:17px;letter-spacing:-.3px;margin:0}small,.micro{font-size:11px}.muted,.micro{color:var(--dim)}.appframe{display:flex;min-height:100vh}.sidebar{width:265px;flex:none;background:var(--sidebar);border-right:1px solid #1c2435;display:flex;flex-direction:column;min-height:100vh;position:sticky;top:0;height:100vh;padding:30px 15px 18px}.brand{display:flex;align-items:center;gap:11px;margin:1px 9px 48px}.brandmark,.large-brand span{width:40px;height:40px;border-radius:13px;display:inline-grid;place-items:center;background:linear-gradient(140deg,#8c75ff,#5340c9);color:#fff;box-shadow:0 9px 25px #805bff36;font-size:16px}.brand b{display:block;font-size:20px;line-height:1.4;letter-spacing:-.9px}.brand small{color:#818fa7;font-size:8px;letter-spacing:1.3px;font-weight:800}.sidesection{font-size:10px;color:#64718a;font-weight:800;letter-spacing:1.9px;margin:0 14px 17px}.nav{display:flex;flex-direction:column;gap:5px;overflow:auto;padding:0 0 16px;scrollbar-width:thin}.navitem{color:#939fb5;display:flex;align-items:center;gap:13px;min-height:43px;padding:10px 13px;border-radius:11px;font-size:13px;font-weight:600;transition:.14s}.navitem:hover{background:#1b2336;color:#fff}.navitem.sel{background:#26213f;color:#bbaeff;box-shadow:inset 3px 0 #947aff}.navicon{font-size:21px;line-height:1;min-width:23px;text-align:center}.navarrow{margin-left:auto}.sidefoot{display:flex;gap:10px;align-items:center;padding:18px 6px 0;border-top:1px solid #272f40;margin-top:auto}.avatar{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#343050;color:#cbbdff;font-weight:800}.identity{flex:1;min-width:0}.identity b{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.identity small{color:#8490a5}.logout{border:0;background:#1e2536;color:#b6c0d2;border-radius:9px;font-size:20px;width:32px;height:32px;cursor:pointer}.content{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:76px;flex:none;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,3.1vw,49px);border-bottom:1px solid #242b3b;background:#101421}.topbrand{color:#6f7c93;font-size:11px;font-weight:700;letter-spacing:1.3px}.topbrand strong{color:#b7c1d2}.topright{display:flex;align-items:center;gap:19px}.topdate{color:#9faabb;font-size:12px}.status-online{border:1px solid #22594f;background:#123a32;color:#5ce5c0;padding:6px 12px;border-radius:30px;font-size:11px;font-weight:700}.dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor;margin-right:7px;vertical-align:1px}.main{flex:1;max-width:1570px;width:100%;padding:39px clamp(20px,3.1vw,49px) 50px}.pagehead{display:flex;align-items:center;gap:16px;margin:0 0 28px}.pageicon{width:49px;height:49px;border-radius:15px;background:#252040;color:#b5a3ff;display:grid;place-items:center;font-size:27px;flex:none}.pagehead p{margin:7px 0 0;font-size:13px}.statgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin:0 0 23px}.statcard{background:var(--surface);border:1px solid var(--border);border-radius:15px;padding:22px 23px;min-height:155px;box-shadow:var(--shadow)}.stat-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;font-size:21px;margin-bottom:17px}.stat-icon.purple{background:#30284d;color:#baa9ff}.stat-icon.teal{background:#153a3b;color:#54dbc6}.stat-icon.orange{background:#473323;color:#ffb65a}.stat-icon.rose{background:#4d2a3c;color:#fb7185}.stat-number{font-size:30px;line-height:1;font-family:'Plus Jakarta Sans';font-weight:800;letter-spacing:-1px}.stat-name{font-size:12px;margin-top:8px;color:#aab4c7;font-weight:600}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin-bottom:23px}.panel{background:var(--surface);border:1px solid var(--border);border-radius:15px;margin-bottom:23px;overflow:hidden;box-shadow:var(--shadow)}.panelhead{padding:22px 24px 21px;border-bottom:1px solid #2c3445}.panelhead p{margin:4px 0 0;font-size:12px}.panel.highlight{padding:24px 26px;background:radial-gradient(circle at 100% 0%,#2e2b46 0%,#171b2d 54%);border-color:#37324f;min-height:202px;margin-bottom:0}.smalleyebrow{font-size:10px;letter-spacing:1.65px;font-weight:800;color:#b7abd9}.bigmoney{font-size:37px;font-weight:800;letter-spacing:-1.5px;margin:12px 0 4px;font-family:'Plus Jakarta Sans'}.bigmoney small{font-size:15px;letter-spacing:0;color:var(--dim)}.highlight p{margin:0 0 16px;font-size:12px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:10px;min-height:39px;padding:10px 18px;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}.btn.primary{background:linear-gradient(120deg,#8b6eff,#6c54e7);color:#fff;box-shadow:0 8px 22px #7259ec2c}.btn.primary:hover{filter:brightness(1.12)}.btn.secondary{background:#293044;color:#e0e6f1;border-color:#39435b}.btn.secondary:hover{background:#313b51}.btn.ghost{border-color:#615986;color:#d8ccff;background:#ffffff08}.btn.small{font-size:11px;min-height:30px;padding:6px 10px}.btn.full{width:100%;justify-content:space-between}.tablewrap{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:720px}thead{background:#1a2132}th{text-align:left;color:#8492ad;padding:14px 17px;font-size:10px;letter-spacing:1px;font-weight:800;text-transform:uppercase;white-space:nowrap}td{padding:16px 17px;border-top:1px solid #252e40;color:#bec8d8;vertical-align:middle;font-size:12px}td b{color:#e7eaf7}td .micro{margin-top:5px;white-space:normal;line-height:1.3}.empty{text-align:center;padding:40px;color:#8b99b3}.tbl-link{font-weight:800;color:#a995ff;white-space:nowrap}.tbl-link:hover{text-decoration:underline}.badge{display:inline-flex;align-items:center;border:1px solid;border-radius:8px;padding:5px 9px;font-size:10px;line-height:1.4;font-weight:800;white-space:nowrap}.badge.green{color:#4cdec2;background:#153a37;border-color:#29685b}.badge.amber{color:#ffbd68;background:#3b2c23;border-color:#695039}.badge.red{color:#fd8797;background:#462734;border-color:#834252}.badge.muted{color:#aab5c6;background:#293043;border-color:#414a5e}.badge .dot{width:6px;height:6px}.dangerword{font-size:11px;color:#ffb065;display:block;max-width:190px}.positive{color:#57dbc2}.gridform{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:24px}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field>span,.inline-details label{font-size:11px;color:#bac5d6;font-weight:800}.field input,.field select,.field textarea,.searchbar input,.inline-details input,.inline-details select{color:var(--text);outline:0;background:#0e1422;border:1px solid #333d52;border-radius:9px;min-height:42px;width:100%;padding:9px 12px;font-size:13px}.field input:focus,.field textarea:focus,.field select:focus,.searchbar input:focus,.inline-details input:focus{border-color:#967efb;box-shadow:0 0 0 3px #977cff1b}.field textarea{min-height:80px;resize:vertical}.field input::placeholder,.searchbar input::placeholder{color:#5f6c80}.field option,.inline-details option{background:#1b2332}.field.span2{grid-column:span 2}.checkbox{display:flex;align-items:center;gap:9px;color:#b6c1d5;font-weight:600;font-size:12px}.checkbox input{accent-color:#886bff}.form-footer{grid-column:span 2;display:flex;justify-content:flex-start;padding-top:2px}.searchbar{display:flex;gap:10px;padding:19px 23px}.searchbar input{max-width:420px}.inline-details{margin-top:7px;max-width:265px}.inline-details summary{font-size:11px;color:#bcaeff;font-weight:800;cursor:pointer;list-style:none}.inline-details summary:before{content:'+ ';font-weight:900}.inline-details form{display:flex;flex-direction:column;gap:8px;background:#252e40;padding:11px;margin:6px 0;border:1px solid #3b4560;border-radius:8px}.inline-details label{display:flex;flex-direction:column;gap:5px}.inline-details select{max-width:230px}.actions{min-width:175px}.textbutton{background:none;border:0;padding:6px 0;color:#c7b6ff;cursor:pointer;font-size:11px;font-weight:800}.textbutton.danger{color:#fb8ea0}.alert{padding:15px 17px;border-radius:11px;margin-bottom:19px;font-weight:600;font-size:12px}.alert.success{background:#12392f;color:#87efcf;border:1px solid #246951}.alert.error{background:#452635;color:#ffc1ce;border:1px solid #804057}.alert.subtle{background:#242d40;color:#bdc8da;border:1px solid #435069;margin:18px 24px}.secretbox{margin:23px 24px;padding:18px;background:#101827;border:1px solid #394258;border-radius:10px;line-height:2;color:#d7dfe9}.secretbox code,.codebox code{word-break:break-all}.customerstats{grid-template-columns:repeat(3,1fr)}.helpstripe{background:#231e3a;border:1px solid #4a3b83;border-radius:15px;padding:22px 24px;display:flex;justify-content:space-between;align-items:center;gap:12px}.helpstripe p{margin:5px 0 0}.telegram-status{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:23px 24px}.telegram-status b{display:block;margin-bottom:5px}.codebox{margin:0 24px 24px;padding:19px;background:#242343;border:1px dashed #8475bd;border-radius:12px;display:flex;flex-wrap:wrap;align-items:center;gap:15px}.codebox code{color:#dfd2ff;font-size:17px}.codebox>div{flex-basis:100%;font-size:12px}.infobox{border:1px solid #354057;border-radius:11px;background:#111a2b;margin:0 24px 24px;padding:19px 20px;color:#aebbcd;font-size:12px;line-height:2}.infobox b{color:#f2f4ff}.infobox code{color:#bdaeff}.footer{padding:14px clamp(20px,3.1vw,49px) 25px;color:#63718a;font-size:11px;display:flex;justify-content:space-between;gap:10px}.login-page{min-height:100vh;background:radial-gradient(circle at 5% 15%,#29214c 0,transparent 38%),#0b0e18;display:flex;align-items:center;justify-content:center;padding:26px}.login-wrap{display:grid;grid-template-columns:1fr .86fr;max-width:1000px;width:100%;border:1px solid #34354f;border-radius:23px;overflow:hidden;background:#151b2b;box-shadow:0 30px 100px #0008}.login-hero{min-height:570px;background:radial-gradient(circle at 80% 82%,#5943bb55,transparent 45%),linear-gradient(155deg,#211e37,#111625);padding:48px 49px;display:flex;flex-direction:column}.large-brand{font-family:'Plus Jakarta Sans';font-size:20px;font-weight:800;letter-spacing:-.7px;display:flex;align-items:center;gap:12px}.large-brand span{flex:none}.kicker{margin:103px 0 17px;color:#ac9af8;font-weight:800;letter-spacing:1.5px;font-size:10px}.login-hero h1{font-size:48px;line-height:1.12;letter-spacing:-2.5px}.login-hero h1 em{font-style:normal;color:#a78fff}.login-hero p{max-width:340px;font-size:15px;line-height:1.8}.hero-lights{display:flex;gap:9px;margin-top:auto;flex-wrap:wrap}.login-card{padding:66px 53px;display:flex;flex-direction:column;justify-content:center}.login-symbol{font-size:37px;color:#a68bff}.login-card-head h2{font-size:24px;letter-spacing:-1px;margin:15px 0 8px}.login-card-head p{margin:0 0 35px;font-size:13px}.loginform{display:flex;flex-direction:column;gap:20px}.loginform .btn{margin-top:6px;min-height:48px;font-size:13px}.login-note{text-align:center;font-size:11px;margin-top:29px}.setup-card{width:min(510px,100%);background:#171b2b;border:1px solid #343a52;border-radius:17px;padding:35px}.setup-card h1{font-size:28px;margin:30px 0 8px}.setup-card p{margin:0 0 20px}.setup-card code{color:#b9a5ff}.setup-card .loginform{margin-top:18px}
@media(max-width:1180px){.sidebar{width:225px}.statgrid{gap:11px}.statcard{padding:19px 17px}.gridform{gap:16px}}
@media(max-width:830px){.appframe{display:block}.sidebar{position:relative;top:auto;width:100%;height:auto;min-height:auto;padding:12px 14px}.sidebar .brand{margin:3px 0 14px}.sidebar .sidesection,.sidefoot{display:none}.nav{flex-direction:row;overflow-x:auto;gap:6px;padding:0}.navitem{flex:none;white-space:nowrap;min-height:37px;padding:8px 11px}.navicon{font-size:16px;min-width:unset}.navarrow{display:none}.topbar{height:55px;padding:0 20px}.main{padding:28px 20px}.statgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.twocol{grid-template-columns:1fr}.panel.highlight{margin-bottom:0}.login-wrap{grid-template-columns:1fr;max-width:530px}.login-hero{min-height:250px;padding:28px 35px}.kicker{margin-top:37px}.login-hero h1{font-size:35px}.hero-lights{margin-top:13px}.login-card{padding:37px 35px}}
@media(max-width:510px){.pagehead h1{font-size:24px}.statgrid{gap:10px}.statcard{padding:16px;min-height:142px}.stat-number{font-size:25px}.stat-name{font-size:11px}.pageicon{width:42px;height:42px}.gridform{grid-template-columns:1fr;padding:19px}.field.span2,.form-footer{grid-column:span 1}.topdate{display:none}.footer span{display:none}.panelhead{padding:18px}.searchbar{padding:16px}.login-hero{padding:26px}.login-card{padding:30px 26px}.telegram-status{flex-direction:column;align-items:flex-start}.helpstripe{flex-direction:column;align-items:flex-start}}

/* CineControl actualización: perfiles automáticos + semáforo según vencimiento del cliente */
.slot-hint{align-self:end;grid-column:span 2;margin:-12px 0 0;color:#a9b5cf;font-size:12px;padding:10px 14px;border:1px solid #373451;border-radius:10px;background:#1e2137}
.slot-legend{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;margin:0 0 22px;padding:13px 16px;background:#171f31;border:1px solid #344059;border-radius:12px;font-size:12px;color:#c7d1e5}
.slot-legend span{display:flex;gap:7px;align-items:center}
.legend-dot{width:11px;height:11px;display:inline-block;border-radius:3px;border:1px solid #56637a}
.legend-dot.sold-current{background:#1d9879;border-color:#2fcda6}
.legend-dot.sold-soon{background:#bd8430;border-color:#ffb44f}
.legend-dot.sold-expired{background:#b1495a;border-color:#f27489}
.legend-dot.not-sold{background:transparent}
.slot-client{font-size:12px;color:#f0f2fc;font-weight:700;margin:5px 0 0}
.slot-empty{color:#8191ab;font-size:12px}
.slot-row.slot-sold-green td{background:rgba(17,139,102,.075)}
.slot-row.slot-sold-amber td{background:rgba(235,156,47,.095)}
.slot-row.slot-sold-red td{background:rgba(220,68,97,.095)}
.slot-row.slot-sold-muted td{background:rgba(160,155,185,.07)}
.slot-row.slot-sold-green td:first-child{border-left:3px solid #2aaa87}
.slot-row.slot-sold-amber td:first-child{border-left:3px solid #f0ac55}
.slot-row.slot-sold-red td:first-child{border-left:3px solid #e46a7c}
.slots-filter{margin:14px 20px;color:#d3d9ef;font-size:12px;display:flex;justify-content:space-between;gap:10px}
@media(max-width:510px){.slot-hint{grid-column:span 1;margin:0}.slot-legend{gap:8px 12px}}


/* CineControl 1.3: inventario visual / asignación rápida. Diseño encapsulado. */
.cc-legend{display:flex;gap:10px 16px;flex-wrap:wrap;margin:20px 24px 8px;color:#b9c4d6;font-size:11px;font-weight:700}
.cc-legend>span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.cc-signal{display:inline-block;width:10px;height:10px;border-radius:50%;border:1px solid currentColor}
.cc-free{color:#748094}.cc-live{color:#2fe1a7}.cc-warning{color:#ffbe50}.cc-expired{color:#fc6979}.cc-reserved{color:#ab8cff}.cc-blocked{color:#596073}
.cc-signal.cc-free{background:#67758a}.cc-signal.cc-live{background:#2fe1a7}.cc-signal.cc-warning{background:#ffbe50}.cc-signal.cc-expired{background:#fc6979}.cc-signal.cc-reserved{background:#ab8cff}.cc-signal.cc-blocked{background:#596073}
.cc-tools{padding:14px 24px 20px;display:flex;align-items:end;gap:14px;flex-wrap:wrap}
.cc-search-label{display:flex;flex-direction:column;gap:5px;font-size:11px;font-weight:700;color:#aab8cb;flex:1;min-width:185px;max-width:420px}
.cc-search-label:nth-child(2){flex:0 1 245px}
.cc-search-label input,.cc-search-label select{height:39px;border-radius:9px;border:1px solid #39435a;background:#0c1422;color:#e5e9f5;padding:8px 12px;outline:none}
.cc-search-label input:focus,.cc-search-label select:focus{border-color:#9c83f9;box-shadow:0 0 0 3px #8870ff22}
.cc-results{color:#8292aa;font-size:11px;font-weight:700;margin-left:auto;padding-bottom:10px}
.cc-matrix-wrap{overflow-x:auto;max-width:100%}.cc-matrix{min-width:950px;width:100%;border-collapse:collapse}
.cc-matrix th{font-size:10px;padding:14px 20px;color:#8794aa;background:#121b2c}
.cc-matrix td{padding:17px 20px;border-top:1px solid #283449;font-size:12px;vertical-align:middle}
.cc-matrix tbody tr:hover{background:#ffffff06}
.cc-account-ident{display:flex;gap:12px;align-items:center;min-width:190px}
.cc-platform-dot{height:34px;width:34px;flex:none;display:grid;place-items:center;border-radius:11px;color:#ffe4e8;background:#9d253c;font-size:14px;font-weight:900}
.cc-account-ident>div{min-width:0;display:grid;gap:2px}.cc-account-ident strong{font-size:12px;color:#f4f5fa}
.cc-account-ident span:not(.cc-platform-dot){color:#c0cce0}.cc-account-ident small{max-width:200px;color:#7385a1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-supplier{color:#cfdaea}.cc-seat-grid{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:225px}
.cc-seat{display:inline-flex;position:relative;align-items:center;justify-content:center;gap:5px;border:1px solid transparent;border-radius:8px;background:#ffffff07;padding:7px 5px 6px;min-width:38px;max-width:100%;cursor:default;transition:.15s}
.cc-seat svg{height:18px;width:18px;flex:none}.cc-seat span{font-size:9px;font-weight:700;color:#aebbd2;max-width:61px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.cc-seat.cc-free{color:#8596ad;border-color:#53607855;background:#63718716}.cc-seat.cc-live{color:#36deaa;border-color:#237d6055;background:#0b664725}
.cc-seat.cc-warning{color:#ffbe54;border-color:#97702555;background:#a46d1d24}.cc-seat.cc-expired{color:#ff788b;border-color:#a33d5155;background:#b6405024}
.cc-seat.cc-reserved{color:#b5a1ff;border-color:#7960c455;background:#694fbb22}.cc-seat.cc-blocked{opacity:.55;color:#657188}
.cc-seat:hover:not(:disabled){filter:brightness(1.25);transform:translateY(-2px)}.cc-seat:focus-visible{outline:2px solid #b09aff;outline-offset:3px}
.cc-seat.cc-actionable{cursor:pointer}.cc-seat.cc-selected{outline:2px solid #a995ff;outline-offset:2px;background:#826cf435}
.cc-seat:disabled{cursor:not-allowed}.cc-seat-foot{font-size:10px;color:#8292a8;margin-top:8px}.cc-seat-foot span{margin:0 3px;color:#54617d}
.cc-date{font-size:11px;color:#8b9bb0;margin-top:5px}.cc-row-actions{min-width:98px}.cc-subaction{display:inline-block;color:#b9a5ff;font-size:11px;font-weight:800;margin:2px 8px 2px 0}
.cc-mini{display:block;margin-top:6px;color:#8090a7;font-size:10px;max-width:120px}
.cc-board-note{margin:0;border-top:1px solid #273246;padding:13px 23px 17px;font-size:11px;line-height:1.6}
.cc-empty{padding:16px 24px 28px}
.cc-selected-box{margin:20px 24px 0;padding:15px 18px;display:flex;align-items:center;gap:13px;background:#201e39;border:1px solid #524584;border-radius:11px}
.cc-selected-dot{width:35px;height:35px;display:grid;place-items:center;background:#493a87;color:#e0d6ff;border-radius:9px;font-size:21px}
.cc-selected-box b{display:block;color:#f2edff;font-size:12px}.cc-selected-box div>span{display:block;color:#c6bbeb;font-size:12px;margin-top:2px}
.cc-selected-box.cc-ready{background:#172e2d;border-color:#376b64}.cc-selected-box.cc-ready .cc-selected-dot{background:#276d5c;color:#9cf3d5}
.cc-manual-wrap{min-width:0}.cc-field-help{display:block;font-size:11px;color:#8c9bb2;margin-top:6px}
#cc-sale-form,#perfil-editor{scroll-margin-top:20px}
@media(max-width:830px){.cc-tools{padding:14px 16px;gap:9px}.cc-legend{margin-left:17px;margin-right:17px}.cc-results{margin-left:0;width:100%;padding:0}.cc-matrix th,.cc-matrix td{padding:12px 10px}.cc-matrix{min-width:790px}.cc-selected-box{margin:16px 16px 0}}

/* CineControl 1.4 - asignacion por cuenta y registro cliente + venta */
.cc-use-account{font-size:11px!important;padding:8px 11px!important;white-space:nowrap}
.cc-use-account.cc-account-chosen{background:#4d3c8a;border-color:#9780ff;color:#fff}
.cc-checkline{display:flex;flex-wrap:wrap;align-items:center;gap:10px;cursor:pointer;font-size:13px;color:#ede6ff}
.cc-checkline input{width:18px;height:18px;accent-color:#987bff}
.cc-checkline span{color:#a0afca;font-size:11px}
.cc-quick-client{grid-column:span 2;background:#201e34;border:1px solid #4b4275;border-radius:12px;padding:18px}
.cc-quick-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.cc-quick-fields[hidden]{display:none}
.cc-matrix .cc-seat{cursor:default}
#cc-sale-form{scroll-margin-top:15px}
@media(max-width:600px){.cc-quick-client{grid-column:span 1}.cc-quick-fields{grid-template-columns:1fr}}


/* CineControl 1.5 - cupos y correo visibles en selección de cuenta */
.cc-stock-note{display:block;font-size:11px;font-weight:600;line-height:1.6;margin-top:6px;color:#a9b8d1}
.cc-stock-note.cc-stock-ok{color:#67ddba}
.cc-stock-note.cc-stock-bad{color:#ffc077}
.field select[data-cc-stock-select]{min-height:46px}
.field select[data-cc-stock-select] option:disabled{color:#8390a8}

.cc-stock-overview{grid-column:1/-1;display:flex;flex-direction:column;gap:4px;padding:11px 0 0}
.cc-stock-overview>strong{font-size:12px;color:#f4f1ff}.cc-stock-overview>span{font-size:11px;color:#95a6bf}
.cc-stock-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:10px;margin-top:10px}
.cc-stock-card{background:#151f32;border:1px solid #3b4964;border-radius:11px;color:#e8ecfb;padding:12px;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:6px;min-width:0}
.cc-stock-card:hover:not(:disabled),.cc-stock-card:focus-visible{border-color:#9f8aff;box-shadow:0 0 0 2px #9f8aff33}
.cc-stock-card-selected{border-color:#66e0b5!important;background:#17352f!important}
.cc-stock-card-full{opacity:.69;cursor:not-allowed}.cc-stock-card>strong{font-size:12px}
.cc-stock-card-email{font-size:11px;color:#a9b9d3;overflow-wrap:anywhere}
.cc-stock-card-footer{display:flex;gap:7px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:auto}
.cc-stock-card-footer small{font-size:10px;color:#8395af}
.cc-stock-number{color:#56e0b4;font-size:11px}.cc-stock-zero{color:#ffbd69}


/* CineControl 1.6 - reasignacion visual de perfiles */
.cc-reassign-details{display:block;margin-top:6px}
.cc-reassign-details summary{cursor:pointer;color:#bca9ff;font-weight:800;font-size:12px;list-style:none}
.cc-reassign-details summary::-webkit-details-marker{display:none}
.cc-reassign-panel{margin-top:10px;padding:14px;border:1px solid #32405a;border-radius:14px;background:#10182a;min-width:min(720px,100%)}
.cc-reassign-top{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:10px}
.cc-reassign-top>div{background:#171f33;border:1px solid #2e3c55;border-radius:10px;padding:10px 12px;display:grid;gap:3px}
.cc-reassign-top strong{font-size:11px;color:#d8e0f1}.cc-reassign-top span{font-size:11px;color:#92a2ba}
.cc-reassign-help{margin:0 0 12px;color:#aebbd1;font-size:11px;line-height:1.6}
.cc-reassign-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:12px}
.cc-reassign-card{border:1px solid #34425d;background:#141d30;border-radius:12px;padding:12px;display:grid;gap:10px}
.cc-reassign-card-dim{opacity:.9}
.cc-reassign-cardhead{display:grid;gap:8px}
.cc-reassign-cardhead strong{display:block;font-size:12px;color:#f5f7ff}
.cc-reassign-cardhead small{display:block;font-size:10px;color:#95a6bf;word-break:break-all}
.cc-reassign-badges{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.cc-reassign-risk{font-size:10px;line-height:1.5;color:#ffbf6a;background:#3a2818;border:1px solid #6b4d24;border-radius:9px;padding:7px 8px}
.cc-reassign-seatgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:8px}
.cc-reassign-seat{min-height:64px;border-radius:10px;border:1px solid #41506a;background:#1b253b;color:#e7edf8;padding:9px 8px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;text-align:left;gap:3px;font:inherit}
button.cc-reassign-seat{cursor:pointer;transition:.15s}
button.cc-reassign-seat:hover,button.cc-reassign-seat:focus-visible{transform:translateY(-1px);filter:brightness(1.1);outline:none;box-shadow:0 0 0 2px #a38fff33}
.cc-reassign-seatname{font-size:11px;font-weight:800;color:#eff3fe}.cc-reassign-seat small{font-size:10px;color:#acc0dc}
.cc-reassign-free{background:#143529;border-color:#2d7c63;color:#87f0c5}.cc-reassign-free .cc-reassign-seatname,.cc-reassign-free small{color:#c8ffe8}
.cc-reassign-current{background:#2c2248;border-color:#7562bb}.cc-reassign-current .cc-reassign-seatname,.cc-reassign-current small{color:#e4dcff}
.cc-reassign-busy{background:#3a2819;border-color:#8a6130}.cc-reassign-busy .cc-reassign-seatname,.cc-reassign-busy small{color:#ffd8a0}
.cc-reassign-blocked{background:#1b2232;border-color:#47536a;opacity:.7}.cc-reassign-blocked .cc-reassign-seatname,.cc-reassign-blocked small{color:#98a6bb}
.cc-reassign-foot{margin-top:12px;padding-top:10px;border-top:1px solid #28344a;color:#92a3ba;font-size:10px;line-height:1.6}
@media(max-width:720px){.cc-reassign-panel{min-width:0}.cc-reassign-top{grid-template-columns:1fr}}


/* CineControl 1.7 - reasignacion compacta y minimalista */
.inline-details.cc-reassign-details{position:relative}
.cc-reassign-details[open] .cc-reassign-backdrop{position:fixed;inset:0;background:rgba(4,8,16,.62);backdrop-filter:blur(2px);z-index:1200}
.cc-reassign-details[open] .cc-reassign-panel{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:min(920px,92vw);max-height:86vh;overflow:auto;z-index:1201;background:#0f1727;border:1px solid #394864;box-shadow:0 24px 60px rgba(0,0,0,.45);padding:16px 16px 14px;border-radius:18px;min-width:0}
.cc-reassign-header{display:flex;align-items:start;justify-content:space-between;gap:16px;padding-bottom:10px;border-bottom:1px solid #243249;margin-bottom:12px}
.cc-reassign-header h4{margin:0;color:#f4f6ff;font-size:18px}.cc-reassign-header p{margin:4px 0 0;color:#9aacc9;font-size:12px}
.cc-reassign-close{font-size:10px;color:#8092ae;max-width:200px;text-align:right;line-height:1.5}
.cc-reassign-list.compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cc-reassign-card{padding:11px;background:#121c2f;border-radius:13px;border:1px solid #30405b;display:grid;gap:8px}
.cc-reassign-current-account{border-color:#7c67c6;background:#171f38}
.cc-reassign-cardhead{grid-template-columns:1fr auto;align-items:start}
.cc-reassign-cardhead small{margin-top:2px}
.cc-reassign-badges .badge{font-size:10px;padding:6px 9px}
.cc-reassign-risk{padding:6px 8px;font-size:10px;margin-top:-1px}
.cc-reassign-seatgrid-compact{display:flex;flex-wrap:wrap;gap:7px;min-height:0}
.cc-reassign-seat{min-height:auto;padding:8px 10px;border-radius:10px;align-items:flex-start;min-width:92px;max-width:130px}
.cc-reassign-seatname{font-size:11px}.cc-reassign-seat small{font-size:10px}
.cc-reassign-meta{display:flex;flex-wrap:wrap;gap:8px;color:#8ea0bd;font-size:10px;padding-top:3px}
.cc-reassign-meta span{padding:4px 7px;background:#1b2537;border:1px solid #324056;border-radius:999px}
@media(max-width:850px){.cc-reassign-list.compact{grid-template-columns:1fr}.cc-reassign-header{flex-direction:column}.cc-reassign-close{text-align:left;max-width:none}.cc-reassign-details[open] .cc-reassign-panel{width:min(96vw,720px)}}


/* CineControl 1.8 - botones de duracion rapida */
.cc-duration-picker{display:grid;gap:10px;padding:12px 14px;border:1px dashed #4d4f86;background:#171632;border-radius:14px;margin-top:-4px}
.cc-duration-head{display:grid;gap:3px}
.cc-duration-head strong{font-size:13px;color:#f2f4ff}
.cc-duration-head span{font-size:11px;color:#a8afd4;line-height:1.5}
.cc-duration-buttons{display:flex;flex-wrap:wrap;gap:8px}
.cc-duration-btn{appearance:none;border:1px solid #4c5476;background:#101827;color:#cfd8ef;padding:9px 13px;border-radius:999px;font:inherit;font-size:12px;font-weight:800;cursor:pointer;transition:.15s}
.cc-duration-btn:hover,.cc-duration-btn:focus-visible{border-color:#8b78ff;color:#fff;transform:translateY(-1px);outline:none}
.cc-duration-btn.is-active{background:linear-gradient(135deg,#8f6bff,#6b4df4);border-color:#9b8fff;color:#fff;box-shadow:0 8px 22px rgba(123,92,255,.25)}

/* CineControl: acceso seguro a credenciales de proveedor */
.cc-reveal-form{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:24px}
.cc-reveal-form label{flex-basis:100%;font-size:12px;font-weight:700;color:#c8d2e5}
.cc-reveal-form input,.cc-secret-row input{min-height:42px;background:#0e1422;color:#eef0ff;border:1px solid #465171;border-radius:8px;padding:10px 12px}
.cc-reveal-form input{width:min(360px,100%)}
.cc-secret-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:5px}
.cc-secret-row input{min-width:180px;flex:1;font-family:monospace}
.cc-credential-label{font-size:12px;font-weight:700;display:block;margin-top:8px}
.cc-secret-advice{font-size:11px}

/* Cobro inmediato y reporte financiero */
.cc-pay-auto{display:flex;flex-direction:column;gap:10px;padding:15px;margin:12px 0;border:1px solid #554c82;border-radius:12px;background:rgba(109,82,195,.09)}
.cc-pay-auto>label:first-child{display:flex;align-items:center;gap:9px}
.cc-pay-auto input[type=checkbox]{width:18px;height:18px;accent-color:#9171ff}
.cc-finance-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:10px 0 20px}
.cc-finance-summary>div{padding:15px;border:1px solid #38374e;border-radius:12px;display:flex;flex-direction:column;gap:8px}
.cc-finance-summary span{font-size:12px;color:#a3a7bf}.cc-finance-summary b{font-size:20px}

/* Vencimientos: tarjetas adaptables para móviles */
.cc-expiry-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px;margin:18px 0 20px}
.cc-expiry-tile{border:1px solid #343a51;background:#181d30;border-radius:15px;padding:18px;text-decoration:none;color:#e9e9fc;display:flex;flex-direction:column;gap:5px}
.cc-expiry-tile b{font-size:27px;color:#bba5ff}.cc-expiry-tile span{font-size:13px;color:#c7ccda}
.cc-expiry-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;margin:0 0 20px}
.cc-expiry-filters label{display:flex;flex-direction:column;gap:6px;font-size:13px}
.cc-expiry-filters select{background:#101524;color:#fff;border:1px solid #3a4058;border-radius:10px;padding:10px;max-width:100%}
.cc-expiry-list{display:flex;flex-direction:column;gap:10px;padding:16px}
.cc-expiry-item{display:flex;justify-content:space-between;gap:16px;border:1px solid #30364d;border-radius:13px;padding:15px;background:#11172a;flex-wrap:wrap}
.cc-expiry-main{display:flex;flex-direction:column;gap:6px;min-width:0;overflow-wrap:anywhere}
.cc-expiry-main strong{font-size:16px}.cc-expiry-main span{color:#d1d4e4}.cc-expiry-main small{color:#aeb5cb}
.cc-expiry-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.cc-duration{margin:8px 0}.cc-duration-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.cc-duration-buttons button.is-active{border-color:#a389ff;color:#d3c5ff}
@media(max-width:600px){.cc-expiry-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-expiry-actions{width:100%}.cc-expiry-item{padding:12px}.cc-expiry-filters label{flex:1;min-width:130px}}

.cc-v2-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:12px;margin:18px 0}.cc-v2-kpi{background:#171d30;padding:18px;border:1px solid #354060;border-radius:14px;display:grid;gap:10px}.cc-v2-kpi small{color:#aeb7ce}.cc-v2-kpi strong{font-size:1.5rem;color:#eee}.cc-v2-kpi strong{overflow-wrap:anywhere}@media(max-width:700px){.cc-v2-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-v2-kpi{padding:12px}.cc-v2-kpi strong{font-size:1.12rem}}
