:root{
 --bg:#030506;--panel:#0b1116;--panel2:#0f161d;--line:#24313c;--text:#f7fbff;--muted:#8694a1;
 --cyan:#19d8ff;--cyan2:#68e7ff;--violet:#8c5cff;--green:#18d796;--red:#ff425a;--amber:#ffbd2e;--gold:#f6c744;--blue:#4f91ff;
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:Inter,Segoe UI,system-ui,sans-serif}
button,input,textarea{font:inherit}.sprite{position:absolute;width:0;height:0}.app{position:relative;z-index:2;display:grid;grid-template-columns:230px 1fr;min-height:100vh}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ambient{position:fixed;inset:0;overflow:hidden;pointer-events:none}.aura{position:absolute;border-radius:50%;filter:blur(100px);mix-blend-mode:screen;opacity:.45}
.a1{width:520px;height:520px;background:radial-gradient(circle,rgba(255,255,255,.22),rgba(38,156,255,.13) 38%,transparent 70%);left:12%;top:-260px;animation:aura1 19s ease-in-out infinite alternate}.a2{width:620px;height:620px;background:radial-gradient(circle,rgba(255,255,255,.15),rgba(132,72,255,.12) 36%,transparent 70%);right:-220px;top:18%;animation:aura2 23s ease-in-out infinite alternate}.a3{width:480px;height:480px;background:radial-gradient(circle,rgba(255,255,255,.12),rgba(244,192,54,.08) 34%,transparent 70%);left:44%;bottom:-260px;animation:aura3 27s ease-in-out infinite alternate}
.star-field{position:absolute;inset:0;opacity:.25;background-image:radial-gradient(circle at 15% 15%,white 0 1px,transparent 1.2px),radial-gradient(circle at 70% 30%,#dce9ff 0 1px,transparent 1.2px),radial-gradient(circle at 50% 78%,white 0 1px,transparent 1.1px);background-size:330px 260px,470px 350px,520px 430px}
@keyframes aura1{to{transform:translate(220px,120px) scale(1.12)}}@keyframes aura2{to{transform:translate(-250px,-80px) scale(.9)}}@keyframes aura3{to{transform:translate(150px,-120px) scale(1.12)}}
.sidebar{height:100vh;position:sticky;top:0;border-right:1px solid #14202a;background:rgba(4,7,9,.88);backdrop-filter:blur(22px);padding:24px 14px}
.brand{display:flex;align-items:center;gap:12px;padding:0 7px 30px}.brand-box{width:48px;height:48px;border-radius:15px;border:1px solid transparent;background:linear-gradient(#0b1015,#0b1015) padding-box,linear-gradient(135deg,#e8f6ff,#8f6bff,#ffd36a,#61e8ff) border-box;display:grid;place-items:center;font-size:22px;font-weight:800;box-shadow:0 0 28px rgba(255,255,255,.06)}
.brand strong,.brand span{display:block}.brand strong{font-size:15px;letter-spacing:1.2px}.brand span{font-size:8px;letter-spacing:2.2px;color:#778490;margin-top:4px}
nav{display:grid;gap:7px}.nav{position:relative;border:1px solid transparent;background:transparent;color:#8794a0;border-radius:12px;height:50px;padding:0 13px;display:flex;align-items:center;gap:12px;font-size:15px;text-align:left}.nav:hover{background:#0b1217;color:white}.nav.active{border-color:#31414e;background:linear-gradient(100deg,#101820,#0a1015);color:white;box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}.nav b{margin-left:auto;background:white;color:#050708;border-radius:10px;font-size:9px;padding:2px 6px}.side-foot{position:absolute;bottom:22px;left:22px;color:#73808d;font-size:10px}.side-foot i{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 16px var(--green);margin-right:7px}
.main{padding:22px 28px 36px;min-width:0}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.eyebrow{font-size:8px;letter-spacing:2px;color:#788592}.topbar h1{font-size:31px;margin:4px 0 4px;letter-spacing:-.9px}.topbar p{margin:0;color:#82909c;font-size:12px}.top-actions{display:flex;gap:9px;align-items:center}.search-top,.new-top{height:44px;border-radius:11px;padding:0 14px;display:flex;align-items:center;gap:8px;font-size:11px}.search-top{border:1px solid #26333e;background:#091015;color:#9aa7b2}.new-top{border:1px solid rgba(255,255,255,.4);background:linear-gradient(120deg,#fff,#cfe0ff 55%,#eadfff);color:#050709;font-weight:800;box-shadow:0 0 28px rgba(255,255,255,.08)}.profile{height:44px;border:1px solid #27343f;border-radius:11px;background:#091015;padding:4px 10px 4px 5px;display:flex;gap:8px;align-items:center}.profile>span{width:34px;height:34px;border-radius:9px;background:linear-gradient(145deg,#f7fbff,#afc6ff);color:#080b0e;display:grid;place-items:center;font-weight:800}.profile b,.profile small{display:block}.profile b{font-size:10px}.profile small{font-size:8px;color:#778490;margin-top:2px}
.view{display:none}.view.active{display:block}
.month-switcher{height:64px;display:inline-grid;grid-template-columns:44px minmax(190px,1fr) 44px;align-items:center;border:1px solid #2c3a45;background:linear-gradient(180deg,#0f161c,#0a0f14);border-radius:14px;overflow:hidden;box-shadow:0 18px 50px rgba(0,0,0,.2)}.month-switcher button{height:100%;border:0;background:transparent;color:#c0cad3;display:grid;place-items:center}.month-switcher button:hover{background:rgba(255,255,255,.05)}.month-switcher>div{text-align:center}.month-switcher small,.month-switcher strong{display:block}.month-switcher small{font-size:7px;letter-spacing:1.2px;color:#697682}.month-switcher strong{font-size:15px;margin-top:3px}.summary-switcher{margin-bottom:14px}
.summary-hero{display:grid;grid-template-columns:1.65fr repeat(3,.55fr);gap:12px}.revenue-ticket{min-height:210px;border:1px solid rgba(255,255,255,.2);border-radius:18px;padding:21px 24px;position:relative;overflow:hidden;background:radial-gradient(circle at 80% 35%,rgba(255,255,255,.19),transparent 21%),radial-gradient(circle at 90% 85%,rgba(25,216,255,.16),transparent 27%),linear-gradient(135deg,#151c22,#0a0e12 58%,#102027);box-shadow:0 22px 70px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.1)}
.ticket-holo{position:absolute;inset:-50%;background:conic-gradient(from 80deg,transparent,rgba(255,255,255,.06),rgba(25,216,255,.07),rgba(140,92,255,.06),rgba(246,199,68,.08),transparent 34%);animation:spin 18s linear infinite}.ticket-cut{position:absolute;width:22px;height:22px;border-radius:50%;background:var(--bg);top:50%;transform:translateY(-50%)}.cut-left{left:-11px}.cut-right{right:-11px}@keyframes spin{to{transform:rotate(360deg)}}
.ticket-top,.ticket-bottom,.revenue-ticket>strong{position:relative;z-index:2}.ticket-top{display:flex;justify-content:space-between;align-items:center}.ticket-top span{font-size:9px;letter-spacing:1.4px;color:#b2c0ca}.ticket-top i{font-style:normal;color:#75e5bb;font-weight:800;font-size:10px;background:rgba(24,215,150,.1);border:1px solid rgba(24,215,150,.22);padding:6px 8px;border-radius:8px}.revenue-ticket>strong{display:block;font-size:52px;letter-spacing:-2px;margin-top:20px}.ticket-bottom{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:28px}.ticket-bottom small,.ticket-bottom b,.ticket-bottom span{display:block}.ticket-bottom small{font-size:7px;letter-spacing:.9px;color:#75838f}.ticket-bottom b{font-size:16px;margin-top:4px}.ticket-bottom span{font-size:8px;color:#7b8995;margin-top:2px}
.bright-stat{min-height:210px;border-radius:17px;padding:20px;border:1px solid #26343f;background:#0b1116;box-shadow:0 18px 55px rgba(0,0,0,.27);position:relative;overflow:hidden}.bright-stat:after{content:"";position:absolute;inset:auto -40px -60px auto;width:150px;height:150px;border-radius:50%;filter:blur(34px);opacity:.28}.stat-cyan:after{background:var(--cyan)}.stat-violet:after{background:var(--violet)}.stat-gold:after{background:var(--gold)}.stat-mark{display:block;width:34px;height:5px;border-radius:5px;margin-bottom:28px}.stat-cyan .stat-mark{background:var(--cyan);box-shadow:0 0 18px rgba(25,216,255,.3)}.stat-violet .stat-mark{background:var(--violet);box-shadow:0 0 18px rgba(140,92,255,.3)}.stat-gold .stat-mark{background:var(--gold);box-shadow:0 0 18px rgba(246,199,68,.3)}.bright-stat small,.bright-stat b,.bright-stat em{display:block;position:relative;z-index:2}.bright-stat small{font-size:8px;color:#7d8a96;letter-spacing:.8px}.bright-stat b{font-size:38px;margin-top:10px}.bright-stat em{font-style:normal;font-size:9px;color:#8e9ba6;margin-top:6px}
.summary-main{display:grid;grid-template-columns:1.45fr .55fr;gap:14px;margin-top:14px}.panel{border:1px solid #26333e;border-radius:17px;background:linear-gradient(180deg,#0c1217,#080d11);box-shadow:0 22px 60px rgba(0,0,0,.26);overflow:hidden}.chart-panel{padding:20px 22px 18px}.section-title{display:flex;justify-content:space-between;align-items:flex-start}.section-title span{font-size:8px;letter-spacing:1.4px;color:#74818d}.section-title h2{font-size:17px;margin:5px 0 0}.chart-key{display:flex;gap:15px;color:#8996a1;font-size:9px}.chart-key span{display:flex;align-items:center;gap:6px}.chart-key i,.split-legend i{width:10px;height:10px;border-radius:3px}.bot-key{background:var(--cyan)}.bs-key{background:var(--gold)}
.stacked-chart{height:305px;margin-top:20px;display:grid;grid-template-columns:repeat(9,1fr);gap:14px;align-items:end;padding:0 8px}.month-bar{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px;cursor:pointer}.month-bar>strong{font-size:11px}.bar-shell{height:225px;width:100%;max-width:54px;display:flex;flex-direction:column;justify-content:flex-end;filter:drop-shadow(0 8px 14px rgba(0,0,0,.15))}.bar-bs,.bar-bot{display:block;width:100%}.bar-bs{background:linear-gradient(#ffe27a,#f2b928);border-radius:7px 7px 0 0}.bar-bot{background:linear-gradient(#5de4ff,#1989ff);border-radius:0 0 5px 5px}.month-bar.current .bar-shell{outline:2px solid rgba(255,255,255,.34);outline-offset:4px;border-radius:6px}.month-bar small{font-size:9px;color:#74818e;font-weight:700}.month-bar.current small{color:white}
.status-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.status-tile{border-radius:16px;padding:18px;border:1px solid #27343f;min-height:150px;background:#0b1116;position:relative;overflow:hidden}.status-tile:before{content:"";position:absolute;left:0;top:0;right:0;height:5px}.tile-cyan:before{background:var(--cyan)}.tile-violet:before{background:var(--violet)}.tile-red:before{background:var(--red)}.tile-gold:before{background:var(--gold)}.status-tile small,.status-tile b,.status-tile span{display:block}.status-tile small{font-size:8px;color:#82909b;margin-top:8px}.status-tile b{font-size:36px;margin-top:16px}.status-tile span{font-size:8px;color:#77848f;margin-top:6px}.tile-red b{color:var(--red)}.tile-gold b{color:var(--gold)}.tile-cyan b{color:var(--cyan)}.tile-violet b{color:#a987ff}
.results-row{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.result-panel{padding:18px 20px}.result-line{display:grid;grid-template-columns:120px 1fr 40px;gap:10px;align-items:center;margin-top:14px}.result-name{font-size:10px;color:#b0bbc4;position:relative;padding-left:16px}.result-name:before{content:"";position:absolute;left:0;top:50%;width:7px;height:7px;border-radius:50%;transform:translateY(-50%)}.good-dot:before{background:var(--green)}.bad-dot:before{background:var(--red)}.user-dot:before{background:var(--amber)}.result-line>div{height:9px;border-radius:6px;background:#162029;overflow:hidden}.result-line i{display:block;height:100%;border-radius:6px}.good-fill{background:var(--green)}.bad-fill{background:var(--red)}.user-fill{background:var(--amber)}.result-line b{font-size:11px;text-align:right}
.users-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #27343f;background:#0a1015;border-radius:15px;padding:12px;margin-bottom:13px}.user-search{width:470px;height:46px;border:1px solid #2c3a45;background:#05090c;border-radius:11px;display:flex;align-items:center;gap:9px;padding:0 12px}.user-search svg{color:#75828e}.user-search input{flex:1;border:0;background:transparent;outline:0;color:white;font-size:11px}.filter-pills{display:flex;gap:7px}.filter-pills button{height:38px;border-radius:9px;border:1px solid #27343f;background:#080d11;color:#83909b;padding:0 12px;font-size:9px}.filter-pills button.active{color:white;border-color:#4a5d6b;background:#162027}.filter-pills span{margin-left:5px;background:var(--red);color:white;border-radius:9px;padding:1px 5px}
.users-cards{display:grid;gap:10px}.user-card{border:1px solid #26343f;background:linear-gradient(180deg,#0c1217,#080d11);border-radius:16px;padding:16px 17px;display:grid;grid-template-columns:1.05fr .7fr .78fr 1.05fr .82fr 145px;align-items:center;gap:16px;box-shadow:0 16px 45px rgba(0,0,0,.22)}.user-card:hover{border-color:#3d5060;background:linear-gradient(180deg,#101820,#0a1015)}.user-name b{font-size:16px}.user-name span{display:block;font-size:9px;color:#74818d;margin-top:4px}.country-pill{display:inline-flex;align-items:center;gap:7px;border:1px solid #2b3a45;background:#0e151b;border-radius:9px;padding:8px 10px;font-size:10px;color:#d7e0e7}.country-pill svg{width:14px;color:#81909c}.plan-badge{display:inline-flex;align-items:center;gap:7px;border-radius:9px;padding:8px 10px;font-size:9px;font-weight:800;border:1px solid}.plan-badge:before{content:"";width:8px;height:8px;border-radius:50%}.plan-demo{color:#7deaff;border-color:rgba(25,216,255,.35);background:rgba(25,216,255,.09)}.plan-demo:before{background:var(--cyan)}.plan-premium{color:#c1aaff;border-color:rgba(140,92,255,.35);background:rgba(140,92,255,.1)}.plan-premium:before{background:var(--violet)}.plan-bs{color:#ffe075;border-color:rgba(246,199,68,.35);background:rgba(246,199,68,.08)}.plan-bs:before{background:var(--gold)}.plan-blocked{color:#ff7586;border-color:rgba(255,66,90,.35);background:rgba(255,66,90,.08)}.plan-blocked:before{background:var(--red)}
.time-card{border-radius:12px;padding:10px 12px;border:1px solid #2d3b46;background:#101820}.time-card small,.time-card b,.time-card span{display:block}.time-card small{font-size:7px;color:#84909b;letter-spacing:.8px}.time-card b{font-size:22px;margin-top:4px;letter-spacing:-.5px}.time-card span{font-size:8px;color:#7b8792;margin-top:2px}.time-demo b{color:var(--cyan)}.time-premium b{color:#ad92ff}.time-ended{border-color:rgba(255,66,90,.32);background:rgba(255,66,90,.07)}.time-ended b{color:var(--red)}.time-bs b{color:var(--gold)}
.history{display:grid;grid-template-columns:1fr 1fr 1fr;gap:6px}.history>div{border:1px solid #25323c;background:#0a1014;border-radius:8px;padding:7px}.history small,.history b{display:block}.history small{font-size:6px;color:#687580}.history b{font-size:9px;margin-top:3px}.h-good{color:var(--green)}.h-bad{color:var(--red)}.h-user{color:var(--amber)}.h-none{color:#7d8993}.h-bs{color:var(--gold)}
.user-actions{display:grid;gap:7px}.user-actions button{height:36px;border-radius:9px;font-size:9px;display:flex;align-items:center;justify-content:center;gap:6px}.contact-action{border:1px solid rgba(79,145,255,.45);background:linear-gradient(135deg,#12305a,#0c1f39);color:#a8caff}.contact-action svg{width:14px}.open-action{border:1px solid #30404c;background:#111820;color:#d4dde5}.open-action svg{width:13px}
.sales-headline{margin-bottom:14px}.sales-kpis{display:grid;grid-template-columns:1.2fr repeat(3,1fr);gap:12px}.sales-card{min-height:150px;border:1px solid #283641;border-radius:16px;padding:18px;background:#0b1116;position:relative;overflow:hidden}.sales-card small,.sales-card b,.sales-card span{display:block}.sales-card small{font-size:8px;color:#7e8b96}.sales-card b{font-size:32px;margin-top:12px}.sales-card span{font-size:9px;margin-top:6px}.sales-total{background:radial-gradient(circle at 80% 30%,rgba(255,255,255,.16),transparent 28%),linear-gradient(135deg,#142029,#0b1116);border-color:#465865}.sales-total span{color:var(--green)}.sales-bot{border-top:4px solid var(--cyan)}.sales-bot b{color:var(--cyan)}.sales-bs{border-top:4px solid var(--gold)}.sales-bs b{color:var(--gold)}.sales-ticket{border-top:4px solid white}.sales-layout{display:grid;grid-template-columns:1.45fr .55fr;gap:13px;margin-top:13px}.sales-layout>.panel,.transactions{padding:18px 20px}.sales-bars{height:300px;margin-top:16px;display:grid;grid-template-columns:repeat(9,1fr);gap:14px;align-items:end}.sales-month{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:8px}.sales-month b{font-size:10px}.sales-month i{display:block;width:100%;max-width:48px;border-radius:8px 8px 2px 2px;background:linear-gradient(#56e3ff,#2578ff)}.sales-month.current i{background:linear-gradient(#ffe47f,#edae20);box-shadow:0 0 24px rgba(246,199,68,.12)}.sales-month small{font-size:9px;color:#7b8791}.split-visual{height:290px;display:flex;align-items:center;justify-content:center;gap:28px}.split-ring{width:160px;height:160px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--gold) 0 77%,var(--cyan) 77% 100%);position:relative}.split-ring:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;background:#0b1116}.split-ring>div{position:relative;z-index:2;text-align:center}.split-ring b,.split-ring span{display:block}.split-ring b{font-size:22px}.split-ring span{font-size:8px;color:#7d8a95;margin-top:3px}.split-legend{display:grid;gap:14px}.split-legend>div{display:grid;grid-template-columns:12px 70px 55px;gap:7px;align-items:center}.split-legend span{font-size:9px;color:#96a2ac}.split-legend b{font-size:10px;text-align:right}.transactions{margin-top:13px}.tx-head,.tx-row{display:grid;grid-template-columns:.7fr 1fr .9fr .7fr .8fr;gap:12px;align-items:center}.tx-head{margin-top:13px;padding:9px 11px;border-top:1px solid #22303a;border-bottom:1px solid #22303a;color:#6e7b86;font-size:8px}.tx-row{padding:11px;border-bottom:1px solid #1b272f;font-size:10px}.product{display:inline-block;border-radius:7px;padding:5px 7px;font-size:8px;border:1px solid}.p-bot{color:#7deaff;border-color:rgba(25,216,255,.3);background:rgba(25,216,255,.06)}.p-bs{color:#ffdc6b;border-color:rgba(246,199,68,.3);background:rgba(246,199,68,.06)}
.bs-hero{min-height:250px;border:1px solid rgba(246,199,68,.28);border-radius:18px;background:radial-gradient(circle at 77% 42%,rgba(246,199,68,.14),transparent 24%),linear-gradient(125deg,#17150d,#090d10 55%,#141108);padding:28px 36px;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden}.bs-glow{position:absolute;width:350px;height:350px;border-radius:50%;right:2%;background:radial-gradient(circle,rgba(255,220,112,.18),transparent 65%);filter:blur(35px)}.gold{color:#b89633}.bs-hero h2{font-size:42px;letter-spacing:4px;color:#ffd75c;margin:8px 0}.bs-hero p{font-size:10px;color:#9b906d}.bs-metrics{display:flex;gap:40px;margin-top:24px}.bs-metrics small,.bs-metrics b{display:block}.bs-metrics small{font-size:7px;color:#8e7c45}.bs-metrics b{font-size:17px;margin-top:4px}.bs-card-art{width:240px;height:180px;border-radius:16px;border:1px solid rgba(246,199,68,.45);background:linear-gradient(145deg,#211b0a,#080b0e 60%,#2a2109);display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;z-index:2;transform:rotate(2deg);box-shadow:0 0 50px rgba(246,199,68,.08),inset 0 0 35px rgba(255,231,142,.05)}.bs-card-art span{font-size:7px;letter-spacing:2px;color:#8a7540}.bs-card-art strong{font-size:20px;letter-spacing:2px;color:#f7cd4f;margin:12px 0}.bs-card-art small{font-size:12px;color:#b89b4d}.bs-layout{display:grid;grid-template-columns:1.35fr .65fr;gap:13px;margin-top:13px}.bs-table,.bs-conversion{padding:17px 18px}.bs-head,.bs-row{display:grid;grid-template-columns:1fr .75fr .75fr .75fr .6fr;gap:9px;align-items:center}.bs-head{margin-top:13px;padding:9px 8px;color:#6c7883;font-size:7px;border-top:1px solid #202c35;border-bottom:1px solid #202c35}.bs-row{padding:11px 8px;border-bottom:1px solid #1b262e;font-size:9px}.conversion-item{display:grid;grid-template-columns:1fr 35px;gap:8px;align-items:center;margin-top:17px}.conversion-item span{font-size:9px;color:#9aa6af}.conversion-item b{text-align:right;font-size:10px}.conversion-item>div{grid-column:1/-1;height:9px;background:#182128;border-radius:6px;overflow:hidden}.conversion-item i{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#ffd85d,#d89613)}
.drawer-mask{position:fixed;inset:0;background:rgba(0,0,0,.68);backdrop-filter:blur(8px);opacity:0;pointer-events:none;z-index:20;transition:.2s}.drawer-mask.open{opacity:1;pointer-events:auto}.drawer{position:fixed;right:-560px;top:0;width:520px;max-width:96vw;height:100vh;background:linear-gradient(180deg,#0c1217,#06090c);border-left:1px solid #354551;z-index:21;padding:20px 21px;overflow:auto;transition:.25s;box-shadow:-30px 0 80px rgba(0,0,0,.45)}.drawer.open{right:0}.drawer-top{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid #22303a;padding-bottom:15px}.drawer-top span{font-size:8px;color:#72808c;letter-spacing:1.4px}.drawer-top h2{font-size:28px;margin:4px 0}.drawer-top p{font-size:9px;color:#77848f;margin:0}.drawer-top button,.modal-top button,.search-modal-box button{width:38px;height:38px;border-radius:10px;border:1px solid #2b3a45;background:#10171d;color:#a2aeb8;display:grid;place-items:center}.identity{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:14px}.identity>div{border:1px solid #2b3944;background:#0e151a;border-radius:11px;padding:12px}.identity svg{width:16px;color:#8c99a4}.identity small,.identity b{display:block}.identity small{font-size:7px;color:#6f7c87;margin-top:6px}.identity b{font-size:11px;margin-top:3px}.stage-card{margin-top:12px;border:1px solid #2b3a45;border-radius:14px;background:#0d1419;overflow:hidden}.stage-card.demo-stage{border-top:4px solid var(--cyan)}.stage-card.premium-stage{border-top:4px solid var(--violet)}.stage-card.bs-stage{border-top:4px solid var(--gold)}.stage-head{padding:13px 14px;display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.stage-head small,.stage-head b{display:block}.stage-head small{font-size:7px;color:#77848f}.stage-head b{font-size:14px;margin-top:3px}.stage-time{text-align:right}.stage-time strong,.stage-time span{display:block}.stage-time strong{font-size:20px}.stage-time span{font-size:8px;color:#7d8994;margin-top:2px}.result-selector{border-top:1px solid #22303a;padding:12px 14px}.result-selector>span{font-size:7px;color:#6f7c87}.result-options{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:8px}.result-options button{height:38px;border-radius:9px;border:1px solid #2a3944;background:#10171c;color:#8995a0;font-size:8px}.result-options .sel-good{background:rgba(24,215,150,.12);border-color:rgba(24,215,150,.45);color:#7ce3bd}.result-options .sel-bad{background:rgba(255,66,90,.12);border-color:rgba(255,66,90,.45);color:#ff8694}.result-options .sel-user{background:rgba(255,189,46,.11);border-color:rgba(255,189,46,.42);color:#ffd16a}.result-options .sel-none{background:rgba(255,255,255,.06);border-color:#455560;color:#c3ccd3}.stage-action{border-top:1px solid #22303a;padding:11px 14px}.stage-action button{width:100%;height:38px;border-radius:9px;font-size:9px;font-weight:700}.activate-premium{border:1px solid rgba(140,92,255,.42);background:linear-gradient(135deg,#25184c,#17112e);color:#c5b2ff}.activate-bs{border:1px solid rgba(246,199,68,.42);background:linear-gradient(135deg,#392c0b,#1a1407);color:#ffe278}.contact-stage{border:1px solid rgba(79,145,255,.45);background:linear-gradient(135deg,#12325f,#0c203a);color:#afd0ff;display:flex;align-items:center;justify-content:center;gap:7px}.contact-stage svg{width:14px}
.notes-block{margin-top:14px;border-top:1px solid #22303a;padding-top:14px}.notes-block label{font-size:8px;color:#71808b}.notes-block textarea{width:100%;min-height:100px;margin-top:7px;border:1px solid #2b3944;background:#0b1115;color:white;border-radius:10px;padding:10px;outline:0;resize:vertical}.notes-block button{margin-top:7px;height:34px;border-radius:8px;border:1px solid #2d3c48;background:#11191f;color:#aab4bd;padding:0 11px;font-size:8px}.block-user{width:100%;height:40px;margin-top:14px;border-radius:9px;border:1px solid rgba(255,66,90,.28);background:rgba(255,66,90,.07);color:#ff8694;display:flex;align-items:center;justify-content:center;gap:7px;font-size:9px}.block-user svg{width:14px}
.modal-mask{position:fixed;inset:0;background:rgba(0,0,0,.72);backdrop-filter:blur(8px);display:none;align-items:center;justify-content:center;z-index:30;padding:20px}.modal-mask.open{display:flex}.modal{width:min(650px,95vw);border:1px solid #354551;border-radius:17px;background:linear-gradient(180deg,#0e151b,#080c10);box-shadow:0 30px 100px rgba(0,0,0,.5);padding:19px}.modal-top{display:flex;justify-content:space-between;align-items:flex-start}.modal-top span{font-size:8px;color:#75828d;letter-spacing:1.2px}.modal-top h2{font-size:22px;margin:4px 0}.message-box{margin-top:16px;border:1px solid #30404b;border-radius:12px;background:#0a1014;padding:18px;font-size:16px;line-height:1.5}.message-actions{display:grid;grid-template-columns:.7fr 1.3fr;gap:8px;margin-top:10px}.message-actions button{height:42px;border-radius:10px;font-size:10px;display:flex;align-items:center;justify-content:center;gap:7px}.message-actions button:first-child{border:1px solid #30404b;background:#11181e;color:#bac5cd}.telegram-btn{border:1px solid rgba(79,145,255,.45);background:linear-gradient(135deg,#123361,#0c203b);color:#b5d4ff}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.form-grid label{font-size:8px;color:#7e8b96}.form-grid input{width:100%;height:40px;margin-top:6px;border-radius:9px;border:1px solid #2d3c47;background:#080d11;color:white;padding:0 10px;outline:0}.access-label{font-size:8px;color:#75828d;letter-spacing:1px;margin:16px 0 8px}.access-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.access-grid button{min-height:100px;border-radius:11px;border:1px solid #2b3944;background:#0c1217;color:#88949e;text-align:left;padding:13px;position:relative}.access-grid button.selected{border-color:#607684;background:#131c23}.access-grid span{position:absolute;right:12px;top:12px;width:9px;height:9px;border-radius:50%}.access-demo span{background:var(--cyan)}.access-premium span{background:var(--violet)}.access-bs span{background:var(--gold)}.access-grid small,.access-grid b,.access-grid em{display:block}.access-grid small{font-size:7px;letter-spacing:1px}.access-grid b{font-size:14px;color:white;margin-top:8px}.access-grid em{font-style:normal;font-size:8px;color:#76838e;margin-top:4px}.create-note{margin-top:10px;border:1px solid #2c3a45;background:#0a1014;border-radius:9px;padding:10px;color:#96a2ac;font-size:9px}.create-submit{width:100%;height:43px;margin-top:11px;border-radius:10px;border:1px solid rgba(255,255,255,.42);background:linear-gradient(120deg,#fff,#cfe0ff 55%,#eadfff);color:#050709;font-weight:800;font-size:10px;display:flex;align-items:center;justify-content:center;gap:7px}.search-modal{width:min(620px,94vw);padding:12px}.search-modal-box{display:flex;align-items:center;gap:8px;height:46px}.search-modal-box>svg{color:#7b8792}.search-modal-box input{flex:1;border:0;background:transparent;outline:0;color:white;font-size:11px}.search-result{display:grid;grid-template-columns:1fr auto;align-items:center;gap:10px;border-top:1px solid #22303a;padding:11px 5px}.search-result b,.search-result span{display:block}.search-result b{font-size:10px}.search-result span{font-size:8px;color:#74808b;margin-top:3px}.search-result button{height:30px;border-radius:8px;border:1px solid #30404b;background:#11181e;color:#b4bec7;font-size:8px;padding:0 10px}.toast{position:fixed;right:24px;bottom:22px;display:none;align-items:center;gap:8px;border:1px solid #354551;background:#11191f;color:#dce5eb;border-radius:10px;padding:11px 14px;font-size:9px;z-index:50;box-shadow:0 18px 50px rgba(0,0,0,.35)}.toast.show{display:flex}.toast svg{width:14px;color:var(--green)}
@media(max-width:1280px){.summary-hero{grid-template-columns:1.4fr 1fr 1fr}.summary-hero .bright-stat:last-child{grid-column:2/4}.summary-main,.sales-layout,.bs-layout{grid-template-columns:1fr}.status-grid{grid-template-columns:repeat(4,1fr)}.user-card{grid-template-columns:1fr .65fr .75fr 1fr}.history{grid-column:1/4}.user-actions{grid-column:4}.sales-kpis{grid-template-columns:repeat(2,1fr)}}
@media(max-width:880px){.app{grid-template-columns:72px 1fr}.sidebar{padding:16px 9px}.brand{justify-content:center;padding-inline:0}.brand>div:last-child,.nav span,.side-foot{display:none}.nav{justify-content:center}.nav b{position:absolute;right:4px;top:4px}.main{padding:15px}.topbar p,.search-top span,.profile div{display:none}.summary-hero,.summary-main,.results-row,.sales-kpis{grid-template-columns:1fr}.summary-hero .bright-stat:last-child{grid-column:auto}.status-grid{grid-template-columns:1fr 1fr}.users-toolbar{flex-direction:column;align-items:stretch}.user-search{width:100%}.filter-pills{overflow:auto}.user-card{grid-template-columns:1fr 1fr}.history,.user-actions{grid-column:1/-1}.stacked-chart,.sales-bars{overflow-x:auto;grid-template-columns:repeat(9,80px)}.form-grid,.access-grid{grid-template-columns:1fr}}


/* =========================================================
   V6 — legibilidad, flags, clasificación y color sin neón
   ========================================================= */

/* La tarjeta principal ya no arroja una cuña/luz fuera de su cuerpo */
.revenue-ticket{
  isolation:isolate;
  background:
    radial-gradient(circle at 83% 28%,rgba(255,255,255,.22),transparent 24%),
    radial-gradient(circle at 96% 90%,rgba(46,161,196,.28),transparent 33%),
    radial-gradient(circle at 52% -15%,rgba(110,104,186,.14),transparent 34%),
    linear-gradient(135deg,#172028 0%,#0d1318 48%,#102128 100%);
  box-shadow:0 16px 38px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.12);
}
.ticket-holo{
  inset:0;
  transform:none;
  animation:none;
  opacity:1;
  background:
    radial-gradient(ellipse at 72% 18%,rgba(255,255,255,.09),transparent 34%),
    linear-gradient(115deg,transparent 0 44%,rgba(255,255,255,.035) 51%,transparent 59%);
}
.ticket-cut{z-index:3}

/* Summary: un solo bloque operativo al lado del gráfico */
.summary-main{grid-template-columns:minmax(0,1.55fr) 330px}
.contact-highlight{
  min-height:100%;
  border:1px solid rgba(255,136,72,.32);
  border-radius:18px;
  padding:22px;
  background:
    radial-gradient(circle at 88% 12%,rgba(255,141,75,.18),transparent 30%),
    radial-gradient(circle at 10% 92%,rgba(255,76,89,.10),transparent 28%),
    linear-gradient(155deg,#21150f 0%,#111317 46%,#0d1115 100%);
  box-shadow:0 22px 55px rgba(0,0,0,.25);
  cursor:pointer;
  transition:.18s ease;
  overflow:hidden;
}
.contact-highlight:hover{transform:translateY(-2px);border-color:rgba(255,154,91,.52)}
.contact-highlight-top{display:flex;align-items:flex-start;justify-content:space-between}
.contact-highlight-top span,.contact-highlight-top small{display:block}
.contact-highlight-top span{font-size:9px;letter-spacing:1.3px;color:#ffb27e;font-weight:800}
.contact-highlight-top small{font-size:8px;color:#8f7d72;margin-top:4px}
.contact-highlight-top i{font-style:normal;font-size:8px;font-weight:900;letter-spacing:.9px;color:#160b06;background:#ff9558;border-radius:8px;padding:6px 8px}
.contact-highlight-main{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px;margin-top:27px}
.contact-highlight-main strong{font-size:64px;letter-spacing:-3px;line-height:.85;color:#ff8950}
.contact-highlight-main b,.contact-highlight-main span{display:block}
.contact-highlight-main b{font-size:15px}
.contact-highlight-main span{font-size:9px;color:#8d8d89;line-height:1.4;margin-top:5px}
.contact-breakdown{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:26px}
.contact-breakdown>div{position:relative;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035);border-radius:11px;padding:11px 12px}
.contact-breakdown small,.contact-breakdown b{display:block}
.contact-breakdown small{font-size:8px;color:#9b9a94;padding-left:14px}
.contact-breakdown b{font-size:19px;margin-top:5px}
.contact-type{position:absolute;left:11px;top:14px;width:7px;height:7px;border-radius:50%}
.demo-contact{background:#ff8e4c}.premium-contact{background:#9c7ceb}
.contact-highlight-footer{margin-top:18px;padding-top:13px;border-top:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:space-between;color:#d9b19a;font-size:9px;font-weight:800}
.contact-highlight-footer svg{width:14px}

/* Usuarios — ID manda, país con bandera propia, colores más sólidos */
.users-cards{gap:11px}
.user-card{
  grid-template-columns:210px 150px 125px 235px minmax(245px,1fr) 220px;
  gap:13px;
  min-height:120px;
  padding:14px 15px;
  align-items:center;
  background:linear-gradient(180deg,#111820,#0b1116);
  border-color:#31404b;
  box-shadow:0 13px 34px rgba(0,0,0,.22);
}
.user-card:hover{border-color:#536675;background:linear-gradient(180deg,#151f27,#0d1419)}
.user-primary small,.user-primary b,.user-primary span{display:block}
.user-primary small{font-size:7px;color:#778591;letter-spacing:1px;font-weight:800}
.user-primary b{font-size:22px;letter-spacing:.2px;margin-top:4px;color:#fff}
.user-primary span{font-size:9px;color:#9aa6b0;margin-top:5px}
.user-primary span strong{color:#dbe3e9;font-weight:800}

.country-card{
  display:flex;align-items:center;gap:9px;
  border:1px solid #354550;
  background:#151d23;
  border-radius:11px;
  padding:10px 11px;
}
.country-copy small,.country-copy b{display:block}
.country-copy small{font-size:6px;color:#73808b;letter-spacing:.8px}
.country-copy b{font-size:10px;margin-top:3px;color:#eef3f6}
.flag-mark{width:29px;height:19px;border-radius:4px;border:1px solid rgba(255,255,255,.25);display:inline-block;position:relative;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.22);flex:0 0 auto}
.flag-pe{background:linear-gradient(90deg,#d7192d 0 33.3%,#fff 33.3% 66.6%,#d7192d 66.6%)}
.flag-ar{background:linear-gradient(#74acdf 0 33.3%,#fff 33.3% 66.6%,#74acdf 66.6%)}
.flag-co{background:linear-gradient(#f8d348 0 50%,#2246a8 50% 75%,#d92f3a 75%)}
.flag-mx{background:linear-gradient(90deg,#147a47 0 33.3%,#fff 33.3% 66.6%,#c63232 66.6%)}
.flag-es{background:linear-gradient(#aa151b 0 25%,#f1bf00 25% 75%,#aa151b 75%)}
.flag-uy{background:repeating-linear-gradient(#fff 0 3px,#4b91d0 3px 6px)}
.flag-cl{background:linear-gradient(#fff 0 50%,#d52b1e 50%)}.flag-cl:before{content:"";position:absolute;left:0;top:0;width:40%;height:50%;background:#0039a6}
.flag-default{background:linear-gradient(135deg,#506070,#1c252d)}

.plan-badge{
  width:100%;
  justify-content:flex-start;
  padding:10px 11px;
  border-radius:10px;
  font-size:9px;
  letter-spacing:.3px;
}
.plan-demo{color:#d8ebf8;border-color:#376884;background:#193241}.plan-demo:before{background:#58a9db}
.plan-premium{color:#e5dcff;border-color:#5b477f;background:#2a2140}.plan-premium:before{background:#9874e4}
.plan-bs{color:#fff0b1;border-color:#76632d;background:#332b17}.plan-bs:before{background:#e5bd57}
.plan-blocked{color:#ffadb5;border-color:#7a3740;background:#321a1e}.plan-blocked:before{background:#e85a67}

.time-card{
  min-height:84px;
  padding:11px 13px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-radius:13px;
  border-width:1px;
}
.time-card b{font-size:25px;line-height:1.05;letter-spacing:-.8px}
.time-demo{background:#152733;border-color:#31576c}.time-demo b{color:#bfe4f4}
.time-premium{background:#261f39;border-color:#504268}.time-premium b{color:#d6c8ff}
.time-ended{background:linear-gradient(135deg,#2c1d13,#21130f);border-color:#704126}.time-ended b{color:#ff9b55}
.time-bs{background:#2c2717;border-color:#6c5d2b}.time-bs b{color:#ffe082}

.history{
  grid-template-columns:repeat(3,1fr);
  gap:7px;
}
.history>div{
  min-height:54px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:8px 9px;
  border-radius:9px;
  background:#11181d;
  border-color:#2d3b45;
}
.history small{font-size:6px}
.history b{font-size:9px}

.user-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.user-actions button{height:34px;border-radius:9px;font-size:8px;font-weight:800}
.open-action,.contact-action{grid-column:auto}
.open-action.action-wide{grid-column:1/-1}
.qualify-action,.next-action{grid-column:1/-1}
.contact-action{
  border-color:#315f8e;
  background:#17314c;
  color:#bedbff;
}
.qualify-action{
  border:1px solid #7e4d2c;
  background:#392316;
  color:#ffbd8c;
}
.next-premium{
  border:1px solid #604b8b;
  background:#2c2244;
  color:#d9c9ff;
}
.next-bs{
  border:1px solid #806c30;
  background:#362e19;
  color:#ffe48b;
}

/* Drawer: etapa clara y calificación solo cuando toca */
.stage-card.demo-stage{border-top:0;border-left:5px solid #559ac3}
.stage-card.premium-stage{border-top:0;border-left:5px solid #8668d3}
.stage-card.bs-stage{border-top:0;border-left:5px solid #d9b24f}
.stage-result-fixed{border-top:1px solid #22303a;padding:12px 14px;display:flex;align-items:center;justify-content:space-between}
.stage-result-fixed span{font-size:7px;color:#6e7b86;letter-spacing:.7px}
.stage-result-fixed b{font-size:10px}
.stage-waiting{border-top:1px solid #22303a;padding:11px 14px;font-size:8px;color:#73808b}
.qualify-stage{width:100%;height:38px;border-radius:9px;border:1px solid #7e4d2c;background:#392316;color:#ffbd8c;font-size:9px;font-weight:800}

/* Modal de calificación */
.qualify-modal{width:min(610px,94vw)}
.qualify-copy{margin:7px 0 15px;color:#8e9aa4;font-size:10px}
.qualify-options{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.qualify-options button{
  min-height:116px;border-radius:12px;padding:14px;text-align:left;
  background:#0d1419;color:#dce5ea;border:1px solid #2f3d47;position:relative
}
.qualify-options button i{display:block;width:30px;height:5px;border-radius:5px;margin-bottom:20px}
.qualify-options b,.qualify-options span{display:block}
.qualify-options b{font-size:12px}.qualify-options span{font-size:8px;color:#7c8993;margin-top:5px;line-height:1.35}
.qualify-good{border-color:#2d6f57!important;background:#12271f!important}.qualify-good i{background:#36c78d}
.qualify-bad{border-color:#743a42!important;background:#2b171b!important}.qualify-bad i{background:#ed5d6a}
.qualify-user{border-color:#79572a!important;background:#2c2114!important}.qualify-user i{background:#e9a948}

/* Ventas: sin líneas superiores; toda la tarjeta recibe el color */
.sales-card{border-top:1px solid transparent;isolation:isolate;box-shadow:0 16px 40px rgba(0,0,0,.25)}
.sales-total{
  border-color:#435a66;
  background:
    radial-gradient(circle at 84% 22%,rgba(255,255,255,.20),transparent 28%),
    radial-gradient(circle at 95% 95%,rgba(53,184,205,.18),transparent 34%),
    linear-gradient(145deg,#17242c,#0d151a 58%,#10232a);
}
.sales-bot{
  border:1px solid #2e5970;
  background:
    radial-gradient(circle at 88% 12%,rgba(93,180,224,.22),transparent 34%),
    linear-gradient(145deg,#173142,#101a21);
}
.sales-bot b{color:#bce9ff}
.sales-bs{
  border:1px solid #6d5927;
  background:
    radial-gradient(circle at 87% 15%,rgba(236,191,78,.23),transparent 34%),
    linear-gradient(145deg,#332b17,#17140c);
}
.sales-bs b{color:#ffe08a}
.sales-ticket{
  border:1px solid #4a5660;
  background:
    radial-gradient(circle at 88% 12%,rgba(255,255,255,.15),transparent 34%),
    linear-gradient(145deg,#222a31,#11171c);
}
.sales-ticket b{color:#f4f7f9}

/* Responsive */
@media(max-width:1350px){
  .summary-main{grid-template-columns:1fr}
  .contact-highlight{min-height:230px}
  .user-card{grid-template-columns:190px 135px 120px 210px 1fr}
  .user-actions{grid-column:1/-1;grid-template-columns:repeat(4,1fr)}
  .qualify-action,.next-action,.open-action.action-wide{grid-column:auto}
}
@media(max-width:980px){
  .user-card{grid-template-columns:1fr 1fr}
  .user-primary,.history,.user-actions{grid-column:1/-1}
  .user-actions{grid-template-columns:1fr 1fr}
  .qualify-action,.next-action{grid-column:1/-1}
  .qualify-options{grid-template-columns:1fr}
}


/* =========================================================
   V7 — SOLO Usuarios / Perfil / Alta
   ========================================================= */
:root{--orange:#ff8a43;--orange-deep:#3a2114;--emerald:#20c997;--emerald-soft:#8ce6c8;}

/* Demo = naranja sólido. Premium = verde esmeralda. BlackShark = dorado. */
.plan-demo{color:#ffd1b4;border-color:#8a4a28;background:#3a2418}.plan-demo:before{background:var(--orange)}
.plan-premium{color:#baf1df;border-color:#31745f;background:#18392f}.plan-premium:before{background:var(--emerald)}
.time-demo{background:#342116;border-color:#774328}.time-demo b{color:#ffb27e}
.time-premium{background:#18352d;border-color:#347560}.time-premium b{color:#9be8cf}
.time-ended{background:#342116;border-color:#774328}.time-ended b{color:#ff9d5c}
.demo-stage{border-left-color:var(--orange)!important}
.premium-stage{border-left-color:var(--emerald)!important}

/* Lista: quitamos los 3 cuadritos de historial y damos aire real */
.user-card{
  grid-template-columns:220px 155px 130px minmax(235px,1fr) 260px;
  gap:18px;
  min-height:126px;
  padding:16px 18px;
}
.user-actions{grid-template-columns:1fr 1fr;gap:8px}
.user-actions button{min-height:41px;height:41px;font-size:9px}
.user-actions .action-wide{grid-column:1/-1}
.user-actions .qualify-action,.user-actions .next-action{grid-column:1/-1}
.user-actions .message-sent,.user-actions .message-locked{grid-column:1/-1}

/* Mensaje: visible siempre que tenga sentido, bloqueado antes del momento */
.message-locked{
  border:1px solid #35414a;background:#141a1f;color:#6f7a83;cursor:not-allowed;
}
.message-sent{
  border:1px solid #356e5b;background:#173329;color:#93ddc2;cursor:default;
}
.message-sent:before{content:"✓";font-size:13px;font-weight:900;margin-right:6px}
.contact-action{min-height:41px;background:#17365a;border-color:#3a6da3}

/* Botones de avance más grandes y con el color de su etapa */
.next-premium,.activate-premium,.premium-confirm{
  border:1px solid #398069!important;
  background:linear-gradient(135deg,#205b49,#173f34)!important;
  color:#c9f5e6!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05);
}
.next-bs,.activate-bs{
  border:1px solid #846d30!important;
  background:linear-gradient(135deg,#463918,#2d260f)!important;
  color:#ffe58f!important;
}
.stage-action button{height:46px!important;font-size:10px!important}
.qualify-stage{
  height:44px!important;border-color:#8a4b29!important;background:#3a2418!important;color:#ffc197!important
}

/* Perfil: más limpio y respirable */
.drawer{width:540px;padding:24px 25px}
.drawer-top{padding-bottom:18px}
.drawer-top h2{font-size:30px}
.identity{gap:11px;margin-top:17px}
.identity>div{padding:14px;border-radius:13px}
.stage-card{margin-top:14px;border-radius:15px;background:linear-gradient(180deg,#10181e,#0c1217)}
.stage-head{padding:15px 16px}
.stage-head b{font-size:16px}
.stage-time strong{font-size:23px}
.stage-result-fixed,.stage-waiting{padding:13px 16px}
.stage-action{padding:13px 16px}
.premium-payment-line{
  border-top:1px solid #25323c;padding:11px 16px;display:flex;justify-content:space-between;align-items:center;
}
.premium-payment-line span{font-size:7px;color:#75818c;letter-spacing:.7px}
.premium-payment-line b{font-size:10px;color:#9be8cf}
.delete-license{
  width:100%;height:42px;margin-top:9px;border-radius:10px;
  border:1px solid #6d3139;background:#241216;color:#ff8a96;font-size:9px;font-weight:800;
}

/* Paginación máximo 10 */
.users-pagination{
  margin-top:14px;display:flex;align-items:center;justify-content:center;gap:12px;
}
.users-pagination button{
  height:39px;border-radius:9px;border:1px solid #31404a;background:#11181e;color:#d3dbe1;
  padding:0 14px;display:flex;align-items:center;gap:6px;font-size:9px;font-weight:800;
}
.users-pagination button:disabled{opacity:.32;cursor:not-allowed}
.users-pagination svg{width:14px}
.users-pagination span{min-width:76px;text-align:center;color:#89959f;font-size:9px}

/* Crear acceso: tarjetas menos vacías, color sólido por etapa */
.access-grid{gap:10px}
.access-grid button{
  min-height:112px;padding:14px;border-radius:13px;transition:.15s ease;
}
.access-grid button.selected{transform:translateY(-2px)}
.access-demo{border-color:#68412a!important;background:#281a12!important}
.access-demo.selected{border-color:#ad6337!important;background:#3b2417!important}
.access-demo span{background:var(--orange)!important}
.access-premium{border-color:#2e5d4e!important;background:#142820!important}
.access-premium.selected{border-color:#4d967d!important;background:#1b3c31!important}
.access-premium span{background:var(--emerald)!important}
.access-bs{border-color:#625328!important;background:#26210f!important}
.access-bs.selected{border-color:#9a8136!important;background:#393015!important}
.access-grid b{font-size:16px}
.access-grid em{font-size:9px}
.create-submit{height:47px;font-size:10px}

/* País autocompletable */
.form-grid select,.payment-grid select,.premium-payment-create select{
  width:100%;height:40px;margin-top:6px;border-radius:9px;border:1px solid #2d3c47;background:#080d11;color:white;padding:0 10px;outline:0;
}

/* Datos de pago en alta Premium */
.premium-payment-create{
  display:none;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px;
  border:1px solid #2f5147;background:#101f1b;border-radius:11px;padding:12px;
}
.premium-payment-create.show{display:grid}
.premium-payment-create label,.payment-grid label{font-size:8px;color:#84918b}
.premium-payment-create input,.payment-grid input{
  width:100%;height:40px;margin-top:6px;border-radius:9px;border:1px solid #315548;background:#09110e;color:white;padding:0 10px;outline:0;
}

/* Modal de pago Premium */
.premium-modal{width:min(560px,94vw)}
.premium-modal-copy{font-size:10px;color:#87938e;margin:5px 0 15px}
.payment-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.premium-confirm{width:100%;height:45px;margin-top:13px;border-radius:10px;font-size:10px;font-weight:900}

/* Banderas: usamos imagen real del país, con fallback */
.country-flag{
  width:31px;height:21px;object-fit:cover;border-radius:4px;border:1px solid rgba(255,255,255,.22);
  box-shadow:0 2px 8px rgba(0,0,0,.22);background:#25313a;flex:0 0 auto;
}

/* Demo en el modal/create también naranja; Premium esmeralda */
.access-demo small{color:#ffc39c}
.access-premium small{color:#a9ead4}
.access-bs small{color:#ffe18a}

/* En móvil conservamos la lógica sin apilar de más */
@media(max-width:1350px){
  .user-card{grid-template-columns:210px 145px 125px minmax(220px,1fr)}
  .user-actions{grid-column:1/-1;grid-template-columns:repeat(4,1fr)}
  .user-actions .qualify-action,.user-actions .next-action,.user-actions .message-sent,.user-actions .message-locked,.user-actions .action-wide{grid-column:auto}
}
@media(max-width:900px){
  .user-card{grid-template-columns:1fr 1fr}
  .user-primary,.user-actions{grid-column:1/-1}
  .user-actions{grid-template-columns:1fr 1fr}
  .user-actions .qualify-action,.user-actions .next-action,.user-actions .message-sent,.user-actions .message-locked{grid-column:1/-1}
  .payment-grid,.premium-payment-create{grid-template-columns:1fr}
}


/* =========================================================
   V8 — SOLO Usuarios / Perfil / Crear usuario
   ========================================================= */

/* Selección de tipo de acceso: seleccionado inequívoco */
#accessGrid.has-selection button:not(.selected){
  opacity:.34;
  filter:saturate(.35) brightness(.72);
  transform:scale(.975);
}
#accessGrid button{
  transition:opacity .14s ease, transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}
#accessGrid button.selected{
  opacity:1!important;
  filter:none!important;
  transform:translateY(-3px) scale(1.015)!important;
  border-width:2px!important;
  box-shadow:0 0 0 3px rgba(255,255,255,.055),0 16px 34px rgba(0,0,0,.28)!important;
}
#accessGrid button.selected:after{
  content:"✓";
  position:absolute;
  right:10px;
  bottom:10px;
  width:22px;
  height:22px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#f6f8fa;
  color:#090c0f;
  font-size:12px;
  font-weight:1000;
}
.access-demo.selected{border-color:#ff9559!important}
.access-premium.selected{border-color:#5bc9a4!important}
.access-bs.selected{border-color:#d8b551!important}
.create-submit:disabled{opacity:.5;cursor:wait}

/* User card: "Perfil" se mueve arriba junto al ID */
.user-card{
  grid-template-columns:230px 155px 130px minmax(235px,1fr) 255px;
}
.user-primary{position:relative}
.user-primary-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.user-primary-top>small{
  font-size:7px;
  color:#778591;
  letter-spacing:1px;
  font-weight:800;
}
.profile-mini-button{
  height:28px;
  border-radius:8px;
  border:1px solid #34444f;
  background:#151d23;
  color:#c5d0d7;
  padding:0 9px;
  display:flex;
  align-items:center;
  gap:4px;
  font-size:7px;
  font-weight:900;
}
.profile-mini-button svg{width:11px}
.user-primary>b{
  display:block;
  font-size:23px;
  margin-top:4px;
  letter-spacing:.1px;
}
.user-primary>span{
  display:block;
  font-size:9px;
  color:#9aa6b0;
  margin-top:5px;
}
.user-primary>span strong{color:#dbe3e9}
.user-actions-v8{
  display:grid;
  grid-template-columns:1fr;
  gap:7px;
}
.user-actions-v8 button{
  min-height:39px;
  border-radius:9px;
  font-size:8px;
  font-weight:900;
}
.card-contact-ready{
  border:1px solid #3d6c9a;
  background:#183652;
  color:#bddaff;
}
.card-contact-locked{
  border:1px solid #303a42;
  background:#14191e;
  color:#737e86;
  cursor:not-allowed;
}
.card-contact-sent{
  border:1px solid #346a58;
  background:#173027;
  color:#9bd9c2;
  cursor:default;
}
.card-contact-sent:before{content:"✓";margin-right:6px}
.card-qualify{
  border:1px solid #81502f;
  background:#382419;
  color:#ffc39b;
}
.card-premium{
  border:1px solid #35725e;
  background:#19392f;
  color:#b9eddb;
}
.card-blackshark{
  border:1px solid #78652e;
  background:#332b18;
  color:#f9dc83;
}

/* Nuevo perfil lateral: ya NO son 3 tarjetas gigantes apiladas */
.drawer-v8{
  width:540px;
  padding:0 24px 28px;
  background:
    radial-gradient(circle at 85% 4%,rgba(255,255,255,.055),transparent 24%),
    linear-gradient(180deg,#0d1419,#070b0e);
}
.profile-head-v8{
  position:sticky;
  top:0;
  z-index:3;
  margin:0 -24px;
  padding:22px 24px 17px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  background:rgba(10,15,19,.94);
  backdrop-filter:blur(16px);
  border-bottom:1px solid #26343e;
}
.profile-kicker-v8{font-size:7px;color:#74818c;letter-spacing:1.5px}
.profile-id-line-v8{margin-top:9px}
.profile-id-line-v8 small{display:block;font-size:7px;color:#64717b;letter-spacing:1px}
.profile-id-line-v8 h2{font-size:31px;margin:2px 0 0;letter-spacing:-.8px}
.profile-head-v8 p{margin:5px 0 0;color:#94a0aa;font-size:10px}
.profile-close-v8{
  width:40px;height:40px;border-radius:11px;border:1px solid #34434e;background:#141c22;color:#aeb9c1;display:grid;place-items:center
}

.profile-meta-v8{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin-top:16px;
}
.profile-meta-v8>div{
  min-height:64px;
  border:1px solid #2e3d47;
  border-radius:12px;
  background:#10171c;
  padding:11px 12px;
  display:flex;
  align-items:center;
  gap:10px;
}
.profile-meta-v8 svg{width:17px;color:#87949e}
.profile-meta-v8 section small,.profile-meta-v8 section b{display:block}
.profile-meta-v8 section small{font-size:6px;color:#6e7b85;letter-spacing:.8px}
.profile-meta-v8 section b{font-size:10px;margin-top:4px}

/* Estado actual */
.profile-current-v8{
  margin-top:12px;
  border-radius:15px;
  border:1px solid #35434d;
  overflow:hidden;
  background:#10171c;
}
.current-license-inner{
  min-height:114px;
  padding:17px 18px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:14px;
  align-items:center;
}
.current-license-inner.demo{background:linear-gradient(125deg,#382317,#17191a)}
.current-license-inner.premium{background:linear-gradient(125deg,#173a30,#111919)}
.current-license-inner.blackshark{background:linear-gradient(125deg,#383018,#17160e)}
.current-license-inner.blocked{background:linear-gradient(125deg,#32181c,#171012)}
.current-license-copy small,.current-license-copy b,.current-license-copy span{display:block}
.current-license-copy small{font-size:7px;color:#8b969e;letter-spacing:1px}
.current-license-copy b{font-size:20px;margin-top:4px}
.current-license-copy span{font-size:9px;color:#89949d;margin-top:5px}
.current-license-time{text-align:right}
.current-license-time strong,.current-license-time span{display:block}
.current-license-time strong{font-size:27px;letter-spacing:-.7px}
.current-license-time span{font-size:8px;color:#849099;margin-top:3px}
.current-license-inner.demo .current-license-time strong{color:#ffac78}
.current-license-inner.premium .current-license-time strong{color:#93e0c5}
.current-license-inner.blackshark .current-license-time strong{color:#f2d376}
.current-payment-v8{
  border-top:1px solid rgba(255,255,255,.08);
  padding:10px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.current-payment-v8 span{font-size:7px;color:#77848e;letter-spacing:.8px}
.current-payment-v8 b{font-size:9px;color:#a7e6d1}

/* Contacto, calificación, escalar */
.profile-contact-v8,.profile-rating-v8,.profile-upgrade-v8,.profile-history-v8{
  margin-top:11px;
  border:1px solid #2e3d47;
  border-radius:14px;
  background:#0f161b;
  padding:14px;
}
.profile-section-head-v8{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:10px;
}
.profile-section-head-v8 small,.profile-section-head-v8 b{display:block}
.profile-section-head-v8 small{font-size:6px;color:#6d7a84;letter-spacing:1px}
.profile-section-head-v8 b{font-size:12px;margin-top:3px}
.profile-section-head-v8>span{font-size:8px;color:#7f8b94;text-align:right}
.profile-contact-button-v8,.profile-qualify-button-v8{
  width:100%;
  min-height:46px;
  border-radius:10px;
  font-size:9px;
  font-weight:900;
}
.profile-contact-button-v8.ready{
  border:1px solid #3a6d9e;background:#173653;color:#bad8ff;
}
.profile-contact-button-v8.locked{
  border:1px solid #344049;background:#151a1f;color:#758088;cursor:not-allowed;
}
.profile-contact-button-v8.sent{
  border:1px solid #376e5d;background:#183228;color:#9cddc5;cursor:default;
}
.profile-contact-button-v8.sent:before{content:"✓";margin-right:6px}
.profile-qualify-button-v8.ready{
  border:1px solid #8b5331;background:#3a2519;color:#ffc39c;
}
.profile-qualify-button-v8.locked{
  border:1px solid #344049;background:#151a1f;color:#6d7880;cursor:not-allowed;
}
.profile-qualify-button-v8.done{
  border:1px solid #355f51;background:#162920;color:#9ed6c2;cursor:default;
}
.profile-upgrade-grid-v8{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.profile-upgrade-grid-v8 button{height:48px;border-radius:10px;font-size:9px;font-weight:900}
.profile-premium-v8{border:1px solid #3a7b65;background:#193b31;color:#bdf0df}
.profile-blackshark-v8{border:1px solid #7c692f;background:#352d18;color:#fce08a}
.profile-upgrade-grid-v8 button:disabled{opacity:.38;cursor:not-allowed}

.history-row-v8{
  display:grid;
  grid-template-columns:82px 1fr auto;
  gap:10px;
  align-items:center;
  min-height:48px;
  border-top:1px solid #24313a;
}
.history-row-v8:first-child{border-top:0}
.history-row-v8>span{font-size:7px;color:#6e7b85;letter-spacing:.8px}
.history-row-v8>div b,.history-row-v8>div small{display:block}
.history-row-v8>div b{font-size:9px}
.history-row-v8>div small{font-size:7px;color:#79858e;margin-top:2px}
.history-row-v8>strong{font-size:9px}
.history-good{color:#4bd59f}.history-bad{color:#ef6a76}.history-user{color:#eeb35f}.history-none{color:#7c8790}.history-gold{color:#e5c45f}

.notes-v8{margin-top:13px}
.profile-danger-v8{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.profile-danger-v8 .block-user,.profile-danger-v8 .delete-license{margin:0}

/* Modal de calificación un poco más directo */
.qualify-options button{min-height:104px}

/* Responsive */
@media(max-width:1350px){
  .user-card{grid-template-columns:210px 145px 120px minmax(220px,1fr)}
  .user-actions-v8{grid-column:1/-1;grid-template-columns:repeat(4,1fr)}
}
@media(max-width:900px){
  .user-card{grid-template-columns:1fr 1fr}
  .user-primary,.user-actions-v8{grid-column:1/-1}
  .user-actions-v8{grid-template-columns:1fr 1fr}
  .profile-meta-v8,.profile-upgrade-grid-v8,.profile-danger-v8{grid-template-columns:1fr}
}


/* =========================================================
   V9 — correcciones SOLO en Usuarios, perfil y movimientos
   ========================================================= */
:root{
  --v9-orange:#ff934f;
  --v9-emerald:#39c99a;
  --v9-gold:#e6bf59;
  --v9-red:#ef6673;
  --v9-green:#42c995;
  --v9-neutral:#a9b4bc;
}

/* Activar Premium / BlackShark: más grande y legible */
.premium-modal,.blackshark-payment-modal{
  width:min(760px,94vw)!important;
  padding:28px!important;
}
.premium-modal .modal-top h2,.blackshark-payment-modal .modal-top h2{font-size:28px!important}
.premium-modal-copy{font-size:12px!important;margin:8px 0 20px!important}
.payment-grid{gap:14px!important}
.payment-grid label{font-size:10px!important}
.payment-grid input,.payment-grid select{
  height:56px!important;
  font-size:14px!important;
  border-radius:12px!important;
  padding:0 14px!important;
}
.premium-confirm,.blackshark-confirm{
  width:100%;
  height:58px!important;
  margin-top:18px!important;
  border-radius:12px!important;
  font-size:13px!important;
  font-weight:900!important;
}
.premium-confirm{
  border:1px solid #4b987d!important;
  background:linear-gradient(135deg,#22664f,#1a503f)!important;
  color:#ddfff2!important;
}
.blackshark-confirm{
  border:1px solid #8c7432;
  background:linear-gradient(135deg,#4a3c19,#30270f);
  color:#ffe89a;
}

/* Tarjeta de usuario: acciones más limpias, rating directo */
.user-card{
  grid-template-columns:230px 155px 130px minmax(230px,1fr) 340px!important;
  gap:18px!important;
  min-height:132px!important;
}
.user-primary-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.profile-mini-button{
  height:30px!important;
  padding:0 10px!important;
  font-size:8px!important;
}
.user-actions-v9{
  display:grid;
  gap:8px;
}
.user-action-row-v9{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.user-action-row-v9 button{
  min-height:43px;
  border-radius:10px;
  font-size:9px;
  font-weight:900;
}
.action-contact-v9{
  border:1px solid #4778a8;
  background:#183c5e;
  color:#c7e0ff;
}
.action-contact-v9 svg{width:15px}
.action-locked-v9{
  border:1px solid #34404a;
  background:#141a1f;
  color:#78838b;
  cursor:not-allowed;
}
.telegram-sent-v9{
  min-height:34px;
  border:1px solid #2f5d4d;
  background:#13271f;
  color:#8fd2b8;
  border-radius:9px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:8px;
  font-weight:900;
}
.telegram-sent-v9:before{content:"✓";font-size:12px}
.action-premium-v9{
  border:1px solid #39755f;
  background:#173a2f;
  color:#c2f1df;
}
.action-bs-v9{
  border:1px solid #75622c;
  background:#332b17;
  color:#fce28e;
}

/* Clasificación: neutra, limpia; el color vive en icono/borde, no en 3 bloques chillones */
.inline-rating-v9{
  border:1px solid #33414b;
  background:#11181d;
  border-radius:11px;
  padding:10px;
}
.inline-rating-v9>span{
  display:block;
  font-size:8px;
  color:#9da8b0;
  font-weight:900;
  margin-bottom:8px;
}
.rating-grid-v9{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
}
.rating-grid-v9 button{
  min-height:52px;
  border-radius:9px;
  border:1px solid #35424b;
  background:#161d22;
  color:#b9c2c8;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
  padding:6px;
  font-size:7px;
  font-weight:900;
}
.rating-grid-v9 button svg{width:17px;height:17px}
.rate-good-v9 svg{color:#57cf9f}
.rate-bad-v9 svg{color:#ef6c79}
.rate-user-v9 svg{color:#e1ae5c}
.rating-grid-v9 button:hover{background:#1c252c;border-color:#53636e}
.rating-result-v9{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border:1px solid #31404a;
  background:#10171c;
  border-radius:9px;
  padding:0 10px;
  font-size:8px;
}
.rating-result-v9 span{color:#76838d}
.rating-result-v9 b.good{color:#55d09f}
.rating-result-v9 b.bad{color:#ef6b78}
.rating-result-v9 b.user{color:#e4b15b}

/* Drawer V9: quita historial, notas, tarjetas grises redundantes */
.drawer-v9{
  width:560px!important;
  padding:0 24px 26px!important;
  background:
    radial-gradient(circle at 90% 4%,rgba(255,255,255,.055),transparent 25%),
    linear-gradient(180deg,#0c1318,#070b0e)!important;
}
.drawer-v9-head{
  position:sticky;top:0;z-index:3;
  margin:0 -24px;
  padding:22px 24px 17px;
  display:flex;align-items:flex-start;justify-content:space-between;
  border-bottom:1px solid #27343e;
  background:rgba(10,15,19,.95);
  backdrop-filter:blur(16px);
}
.drawer-v9-head>div>span{font-size:7px;letter-spacing:1.5px;color:#75828d}
.drawer-v9-head h2{font-size:34px;margin:5px 0 0;letter-spacing:-1px}
.drawer-v9-head p{font-size:10px;color:#929ea7;margin:5px 0 0}
.drawer-v9-head button{
  width:42px;height:42px;border-radius:11px;border:1px solid #35434d;background:#151d23;color:#b2bdc5;display:grid;place-items:center
}
.drawer-v9-meta{
  display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:15px 0 12px
}
.drawer-v9-meta>div{
  border:1px solid #30404a;background:#11181d;border-radius:12px;padding:11px 12px;
  display:flex;align-items:center;gap:10px
}
.drawer-v9-meta section small,.drawer-v9-meta section b{display:block}
.drawer-v9-meta section small{font-size:6px;color:#6c7983;letter-spacing:.8px}
.drawer-v9-meta section b{font-size:10px;margin-top:3px}
.drawer-v9-meta svg{width:16px;color:#89959e}

.stage-simple-v9{
  border-radius:15px;
  border:1px solid #31404a;
  background:#10171c;
  overflow:hidden;
  margin-top:10px;
}
.stage-simple-v9.stage-demo-v9{border-left:5px solid var(--v9-orange)}
.stage-simple-v9.stage-premium-v9{border-left:5px solid var(--v9-emerald)}
.stage-simple-v9.stage-bs-v9{border-left:5px solid var(--v9-gold)}
.stage-top-v9{
  padding:15px 16px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:14px;
  align-items:center;
}
.stage-top-v9 small,.stage-top-v9 b,.stage-top-v9 span{display:block}
.stage-top-v9 small{font-size:7px;color:#76838d;letter-spacing:.9px}
.stage-top-v9 b{font-size:17px;margin-top:3px}
.stage-top-v9 span{font-size:8px;color:#849099;margin-top:4px}
.stage-time-v9{text-align:right}
.stage-time-v9 strong,.stage-time-v9 span{display:block}
.stage-time-v9 strong{font-size:24px;letter-spacing:-.5px}
.stage-demo-v9 .stage-time-v9 strong{color:#ffac77}
.stage-premium-v9 .stage-time-v9 strong{color:#8de0c3}
.stage-bs-v9 .stage-time-v9 strong{color:#f1d176}
.stage-body-v9{border-top:1px solid #26333d;padding:13px 16px}
.stage-body-v9>label{
  display:block;font-size:8px;color:#99a4ac;font-weight:900;margin-bottom:8px
}
.drawer-rating-v9{
  display:grid;grid-template-columns:repeat(3,1fr);gap:8px
}
.drawer-rating-v9 button{
  min-height:58px;
  border:1px solid #37454f;
  background:#151d22;
  color:#c0c9cf;
  border-radius:10px;
  font-size:8px;
  font-weight:900;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px
}
.drawer-rating-v9 button svg{width:19px}
.drawer-rating-v9 .selected-good{border-color:#3d7c63;background:#173229;color:#a9e2cb}
.drawer-rating-v9 .selected-bad{border-color:#7b4148;background:#2d191d;color:#f19aa3}
.drawer-rating-v9 .selected-user{border-color:#775b31;background:#2b2115;color:#e8c178}
.stage-contact-v9{
  width:100%;
  min-height:44px;
  border-radius:10px;
  margin-top:10px;
  font-size:9px;
  font-weight:900;
}
.stage-contact-v9.ready{border:1px solid #4779aa;background:#193c5e;color:#c7e1ff}
.stage-contact-v9.locked{border:1px solid #354149;background:#151a1e;color:#727d85;cursor:not-allowed}
.stage-contact-v9.sent{border:1px solid #315e4f;background:#14291f;color:#91d5bb;cursor:default}
.stage-contact-v9.sent:before{content:"✓";margin-right:6px}
.stage-upgrade-v9{
  width:100%;
  min-height:48px;
  border-radius:10px;
  font-size:9px;
  font-weight:900;
}
.stage-upgrade-v9.premium{border:1px solid #3b7a64;background:#193a30;color:#bcefdc}
.stage-upgrade-v9.bs{border:1px solid #7b672e;background:#342c17;color:#fce08a}
.bs-summary-v9{
  display:grid;grid-template-columns:1fr 1fr;gap:8px
}
.bs-summary-v9>div{border:1px solid #342f21;background:#1b180f;border-radius:9px;padding:10px}
.bs-summary-v9 small,.bs-summary-v9 b{display:block}
.bs-summary-v9 small{font-size:6px;color:#857951}
.bs-summary-v9 b{font-size:10px;margin-top:4px;color:#f2da8b}
.drawer-danger-v9{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.drawer-danger-v9 .block-user,.drawer-danger-v9 .delete-license{margin:0!important}

/* Movimientos recientes: un poco más claro; el tracking es dinámico */
.transactions .tx-row{min-height:58px!important}
.transactions .tx-row.new-sale-v9{
  background:linear-gradient(90deg,rgba(55,201,154,.08),transparent 42%);
}
.tx-new-badge{
  display:inline-block;margin-left:7px;padding:2px 5px;border-radius:6px;
  background:#18382e;color:#8cddc0;font-size:6px;font-weight:900;
}

@media(max-width:1350px){
  .user-card{grid-template-columns:210px 145px 120px minmax(220px,1fr)!important}
  .user-actions-v9{grid-column:1/-1;grid-template-columns:1fr 1fr}
}
@media(max-width:900px){
  .user-card{grid-template-columns:1fr 1fr!important}
  .user-primary,.user-actions-v9{grid-column:1/-1}
  .rating-grid-v9,.drawer-rating-v9{grid-template-columns:1fr}
  .drawer-v9-meta,.drawer-danger-v9{grid-template-columns:1fr}
}


/* =========================================================
   V10 — popup real, rating inmediato, colores limpios
   ========================================================= */
.modal-mask[hidden]{display:none!important}

.premium-confirm,
.action-premium-v9,
.stage-upgrade-v9.premium{
  background:linear-gradient(135deg,#2bbf91,#219a76)!important;
  border:1px solid #57d6b0!important;
  color:#071813!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 10px 24px rgba(21,118,88,.10)!important;
}
.action-bs-v9,
.stage-upgrade-v9.bs,
.blackshark-confirm{
  background:linear-gradient(135deg,#f4dd84,#d4b34c)!important;
  border:1px solid #ffeba2!important;
  color:#171307!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 10px 24px rgba(205,170,57,.10)!important;
}
.premium-confirm:hover,.action-premium-v9:hover,.stage-upgrade-v9.premium:hover,
.action-bs-v9:hover,.stage-upgrade-v9.bs:hover,.blackshark-confirm:hover{filter:brightness(1.05)}

.user-card{
  grid-template-columns:230px 155px 130px minmax(230px,1fr) 360px!important;
  gap:18px!important;
}
.user-actions-v10{display:grid;gap:8px;align-content:center}
.contact-line-v10{
  min-height:39px;border-radius:9px;display:flex;align-items:center;justify-content:center;
  font-size:8px;font-weight:900;
}
.contact-line-v10.ready{border:1px solid #4779a8;background:#193d5f;color:#cae2ff;cursor:pointer}
.contact-line-v10.ready svg{width:15px;margin-right:6px}
.contact-line-v10.locked{border:1px solid #354149;background:#151a1f;color:#79848c}
.contact-line-v10.sent{border:1px solid #315e4e;background:#14281f;color:#94d5bc}
.contact-line-v10.sent:before{content:"✓";font-size:12px;margin-right:6px}

.upgrade-row-v10{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.upgrade-row-v10.one{grid-template-columns:1fr}
.upgrade-row-v10 button{min-height:45px;border-radius:10px;font-size:9px;font-weight:950}

.rating-picker-v10{
  border:1px solid #33414b;background:#11181d;border-radius:11px;padding:10px
}
.rating-picker-v10>span{display:block;color:#a4aeb5;font-size:8px;font-weight:900;margin-bottom:8px}
.rating-options-v10{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.rating-options-v10 button{
  min-height:48px;border:1px solid #35434c;background:#171f24;color:#c5ced4;border-radius:9px;
  display:flex;align-items:center;justify-content:center;gap:6px;font-size:7px;font-weight:950;padding:5px
}
.rating-options-v10 button svg{width:16px;height:16px}
.rating-options-v10 .good svg{color:#55c99a}.rating-options-v10 .bad svg{color:#ef7480}.rating-options-v10 .user svg{color:#e0af60}
.rating-options-v10 button:hover{background:#202a31;border-color:#536570}

.rating-result-card-v10{
  min-height:56px;border-radius:11px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px
}
.rating-result-card-v10>div{display:flex;align-items:center;gap:9px}
.rating-result-card-v10 svg{width:20px;height:20px}
.rating-result-card-v10 small,.rating-result-card-v10 b{display:block}
.rating-result-card-v10 small{font-size:6px;letter-spacing:.8px;opacity:.68}
.rating-result-card-v10 b{font-size:11px;margin-top:2px}
.rating-result-card-v10>span{font-size:7px;opacity:.68}
.rating-result-card-v10.good{border:1px solid #35765e;background:linear-gradient(135deg,#17372c,#12271f);color:#a9e5ce}
.rating-result-card-v10.bad{border:1px solid #77424a;background:linear-gradient(135deg,#311b20,#25161a);color:#f3a0a9}
.rating-result-card-v10.user{border:1px solid #775c34;background:linear-gradient(135deg,#302418,#241b12);color:#eac27e}

/* Drawer: color en TODA la tarjeta, sin franja lateral */
.drawer-v9{width:570px!important}
.stage-simple-v9{border-left:1px solid!important;box-shadow:none!important}
.stage-simple-v9.stage-demo-v9{
  border-color:#74452b!important;
  background:radial-gradient(circle at 92% 8%,rgba(255,154,93,.14),transparent 28%),linear-gradient(135deg,#2b1c14,#12181c 60%)!important
}
.stage-simple-v9.stage-premium-v9{
  border-color:#34745f!important;
  background:radial-gradient(circle at 92% 8%,rgba(47,204,156,.14),transparent 28%),linear-gradient(135deg,#15342b,#11191a 60%)!important
}
.stage-simple-v9.stage-bs-v9{
  border-color:#8a7436!important;
  background:radial-gradient(circle at 92% 8%,rgba(244,220,130,.15),transparent 28%),linear-gradient(135deg,#292616,#121719 60%)!important
}
.stage-demo-v9 .stage-time-v9 strong{color:#ffae7c!important}
.stage-premium-v9 .stage-time-v9 strong{color:#8fe3c6!important}
.stage-bs-v9 .stage-time-v9 strong{color:#f3da80!important}

.stage-body-v10{border-top:1px solid rgba(255,255,255,.08);padding:13px 16px 15px}
.stage-body-v10>label{display:block;font-size:8px;color:#a8b1b7;font-weight:900;margin-bottom:8px}
.drawer-rating-picker-v10{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.drawer-rating-picker-v10 button{
  min-height:54px;border:1px solid #40505a;background:#182026;color:#c5ced4;border-radius:10px;
  display:flex;align-items:center;justify-content:center;gap:7px;font-size:8px;font-weight:950
}
.drawer-rating-picker-v10 svg{width:18px}
.drawer-rating-picker-v10 .good svg{color:#55cc9b}.drawer-rating-picker-v10 .bad svg{color:#ef7480}.drawer-rating-picker-v10 .user svg{color:#e1b062}
.drawer-contact-v10{width:100%;min-height:45px;border-radius:10px;font-size:9px;font-weight:950}
.drawer-contact-v10.ready{border:1px solid #4779a8;background:#193d5f;color:#c9e1ff}
.drawer-contact-v10.locked{border:1px solid #354149;background:#151b1f;color:#78838b}
.drawer-contact-v10.sent{border:1px solid #315f4e;background:#14281f;color:#94d7bd}
.drawer-contact-v10.sent:before{content:"✓";margin-right:6px}

.bs-summary-v9>div{border-color:#6d6036!important;background:rgba(244,220,130,.07)!important}
.bs-summary-v9 b{color:#f5dc86!important}

.transactions .tx-row.new-sale-v9{
  background:linear-gradient(90deg,rgba(45,191,145,.12),transparent 46%)!important;
  box-shadow:inset 3px 0 0 #2bbf91
}
.tx-new-badge{background:#1d6a52!important;color:#d7ffef!important}

@media(max-width:1350px){
  .user-card{grid-template-columns:210px 145px 120px minmax(220px,1fr)!important}
  .user-actions-v10{grid-column:1/-1}
}
@media(max-width:900px){
  .user-card{grid-template-columns:1fr 1fr!important}
  .user-primary,.user-actions-v10{grid-column:1/-1}
  .rating-options-v10,.drawer-rating-picker-v10{grid-template-columns:1fr}
}


/* ==========================================================
   V11 — Supabase connection test
   ========================================================== */
.auth-gate{
  position:fixed;inset:0;z-index:99999;
  display:grid;place-items:center;
  padding:24px;
  background:
    radial-gradient(circle at 28% 20%,rgba(44,205,155,.10),transparent 28%),
    radial-gradient(circle at 72% 72%,rgba(145,108,255,.08),transparent 30%),
    rgba(3,7,10,.94);
  backdrop-filter:blur(18px);
}
.auth-gate.hidden{display:none}
.auth-card{
  width:min(480px,94vw);
  border:1px solid #31434e;
  border-radius:22px;
  padding:30px;
  background:
    radial-gradient(circle at 88% 0%,rgba(62,210,162,.08),transparent 30%),
    linear-gradient(145deg,#10181e,#0a1014);
  box-shadow:0 34px 90px rgba(0,0,0,.52),inset 0 1px 0 rgba(255,255,255,.04);
}
.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:28px}
.auth-logo{
  width:46px;height:46px;border:1px solid #52705f;border-radius:13px;
  display:grid;place-items:center;font-size:23px;font-weight:950;color:#f4f8f6;
  background:linear-gradient(145deg,#19251f,#10171b)
}
.auth-brand strong,.auth-brand span{display:block}
.auth-brand strong{font-size:14px;letter-spacing:1.6px}
.auth-brand span{font-size:7px;letter-spacing:2.6px;color:#7f8c94;margin-top:4px}
.auth-kicker{font-size:7px;letter-spacing:1.7px;color:#5fd4ac;font-weight:900}
.auth-card h2{font-size:30px;margin:7px 0 8px;letter-spacing:-.8px}
.auth-card>p{font-size:11px;line-height:1.6;color:#8e9aa2;margin:0 0 22px}
.auth-card label{display:block;font-size:8px;color:#8d9aa2;margin-top:12px;font-weight:800}
.auth-card input{
  width:100%;height:52px;margin-top:7px;padding:0 14px;
  border:1px solid #344650;border-radius:11px;background:#0a1115;color:#eef4f2;
  font-size:12px;outline:none
}
.auth-card input:focus{border-color:#4ecba2;box-shadow:0 0 0 3px rgba(78,203,162,.08)}
#authLoginButton{
  width:100%;height:54px;margin-top:18px;border-radius:12px;
  border:1px solid #63ddb5;background:linear-gradient(135deg,#34c99a,#249e7a);
  color:#061610;font-size:11px;font-weight:950;cursor:pointer
}
#authLoginButton:disabled{opacity:.55;cursor:wait}
.auth-status{
  margin-top:13px;min-height:37px;padding:10px 12px;border-radius:9px;
  border:1px solid #293841;background:#0c1317;color:#8f9ba3;font-size:8px;line-height:1.5
}
.auth-status.ok{border-color:#326f5a;background:#10251d;color:#98ddc3}
.auth-status.error{border-color:#724049;background:#2a171a;color:#f0a0a8}
.auth-safe{display:block;text-align:center;color:#69767e;font-size:7px;margin-top:12px}

.sb-live-chip{
  min-width:132px;height:42px;padding:0 12px;border:1px solid #2e3e47;border-radius:11px;
  background:#0c1317;display:flex;align-items:center;gap:7px
}
.sb-live-chip i{width:7px;height:7px;border-radius:50%;background:#69747c;box-shadow:none}
.sb-live-chip span{font-size:7px;color:#71808a}
.sb-live-chip b{font-size:8px;color:#a8b3ba}
.sb-live-chip.live{border-color:#315e50;background:#102019}
.sb-live-chip.live i{background:#42d39e;box-shadow:0 0 12px rgba(66,211,158,.45)}
.sb-live-chip.live b{color:#9adfc5}
.logout-top{
  height:42px;padding:0 13px;border-radius:11px;border:1px solid #2d3b44;
  background:#0c1216;color:#87949c;font-size:8px;font-weight:850
}
.logout-top:hover{color:#e8edef;border-color:#465762}

.sb-test-banner{
  min-height:50px;margin-bottom:14px;padding:11px 14px;border-radius:12px;
  border:1px solid #315e50;background:linear-gradient(90deg,#11271f,#0e171b);
  display:flex;align-items:center;justify-content:space-between;gap:18px
}
.sb-test-banner[hidden]{display:none!important}
.sb-test-banner>div{display:flex;align-items:center;gap:8px}
.sb-test-banner i{width:8px;height:8px;border-radius:50%;background:#42d39e;box-shadow:0 0 12px rgba(66,211,158,.4)}
.sb-test-banner strong{font-size:9px;color:#b8edda}
.sb-test-banner span{font-size:8px;color:#839198}

/* During connection-test mode, mutation controls are visually locked */
body.sb-safe-test #openCreate,
body.sb-safe-test [data-inline-premium],
body.sb-safe-test [data-inline-bs],
body.sb-safe-test [data-drawer-premium],
body.sb-safe-test [data-drawer-bs],
body.sb-safe-test #toggleBlock,
body.sb-safe-test #deleteLicense,
body.sb-safe-test [data-rate-user],
body.sb-safe-test #premiumConfirm,
body.sb-safe-test #blacksharkConfirm{
  filter:saturate(.35);
}

@media(max-width:900px){
  .sb-live-chip{display:none}
  .logout-top{display:none}
  .sb-test-banner{align-items:flex-start;flex-direction:column}
}


/* ==========================================================
   V12 — datos y acciones reales de Supabase
   ========================================================== */
.plan-legacy{
  color:#d8e0e5!important;
  border-color:#52616a!important;
  background:#182127!important;
}
.time-legacy{
  border-color:#465761!important;
  background:linear-gradient(135deg,#172126,#10171b)!important;
}
.time-legacy b{color:#dce5e9!important}

.real-sync-note{
  display:inline-flex;align-items:center;gap:7px;
  color:#8ea0aa;font-size:7px;font-weight:850
}
.real-sync-note i{
  width:6px;height:6px;border-radius:50%;background:#42d39e;
  box-shadow:0 0 10px rgba(66,211,158,.35)
}
button.is-busy{opacity:.62!important;pointer-events:none!important;cursor:wait!important}

.legacy-info-v12{
  border-top:1px solid rgba(255,255,255,.08);
  padding:14px 16px;
  display:grid;grid-template-columns:repeat(2,1fr);gap:8px
}
.legacy-info-v12 div{
  border:1px solid #33434c;background:#12191d;border-radius:9px;padding:10px
}
.legacy-info-v12 small,.legacy-info-v12 b{display:block}
.legacy-info-v12 small{font-size:6px;color:#7e8a92;letter-spacing:.8px}
.legacy-info-v12 b{font-size:9px;color:#dce5e9;margin-top:4px}

.users-cards .empty-real-v12{
  min-height:220px;display:grid;place-items:center;text-align:center;
  border:1px solid #273640;border-radius:16px;background:#0e1519;color:#829099
}
.users-cards .empty-real-v12 b{display:block;color:#dfe7ea;font-size:16px;margin-bottom:7px}

.sb-test-banner{
  border-color:#326a57!important;
  background:linear-gradient(90deg,#11281f,#0e181b)!important;
}


/* ==========================================================
   V13 — Demo programada por zona horaria
   ========================================================== */
.demo-schedule-create{
  display:none;
  margin-top:10px;
  border:1px solid #34434b;
  border-radius:12px;
  background:linear-gradient(145deg,#0e171b,#0a1014);
  padding:11px;
}
.demo-schedule-create.show{display:block}
.demo-start-switch{
  display:grid;grid-template-columns:1fr 1fr;gap:7px
}
.demo-start-switch button{
  height:39px;border-radius:9px;border:1px solid #33434c;
  background:#10171b;color:#84929b;font-size:9px;font-weight:850
}
.demo-start-switch button.selected{
  border-color:#ee8b48;
  background:linear-gradient(135deg,#3a2115,#241811);
  color:#ffb27f;
  box-shadow:inset 0 0 0 1px rgba(255,143,76,.08)
}
.demo-schedule-fields{
  margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.07)
}
.demo-schedule-fields[hidden]{display:none!important}
.schedule-grid{
  display:grid;grid-template-columns:.85fr .65fr 1.5fr;gap:8px
}
.schedule-grid label{
  font-size:8px;color:#84919a
}
.schedule-grid input,.schedule-grid select{
  width:100%;height:41px;margin-top:6px;border-radius:9px;
  border:1px solid #33434d;background:#080e12;color:#e8eef1;
  padding:0 10px;outline:none;font-size:9px
}
.schedule-grid input:focus,.schedule-grid select:focus{
  border-color:#e88849;box-shadow:0 0 0 3px rgba(232,136,73,.07)
}
.schedule-preview{
  margin-top:9px;border:1px solid #3a4650;border-radius:9px;
  background:#10171b;padding:10px 12px;font-size:8px;line-height:1.55;color:#91a0a8
}
.schedule-preview strong{color:#f0f4f5}
.schedule-preview.ok{
  border-color:#87502d;background:linear-gradient(135deg,#231711,#13171a);color:#c8a78e
}
.schedule-preview.error{
  border-color:#7a343e;background:#251316;color:#efa1a8
}
.plan-scheduled{
  color:#ffb17d!important;border-color:#7e4929!important;
  background:linear-gradient(135deg,#3c2114,#231610)!important
}
.time-scheduled{
  border-color:#7e4929!important;
  background:linear-gradient(135deg,#3c2114,#1d1511)!important
}
.time-scheduled b{color:#ffad78!important}
.schedule-drawer-card{
  padding:16px;border-top:1px solid rgba(255,255,255,.08)
}
.schedule-drawer-card small,.schedule-drawer-card b,.schedule-drawer-card span{display:block}
.schedule-drawer-card small{font-size:7px;letter-spacing:.8px;color:#8a969d}
.schedule-drawer-card b{font-size:14px;margin-top:5px;color:#ffb17d}
.schedule-drawer-card span{font-size:8px;color:#89959c;margin-top:4px}
@media(max-width:880px){
  .schedule-grid{grid-template-columns:1fr}
}


/* ==========================================================
   V14 — FLUJO DE PERSONAS
   ========================================================== */
#view-flow{padding-bottom:28px}

.flow-toolbar{
  display:grid;
  grid-template-columns:auto minmax(270px,340px) 1fr;
  align-items:center;
  gap:12px;
  margin-bottom:14px
}
.flow-mode{
  display:flex;
  padding:4px;
  border:1px solid #2b3b45;
  background:#0b1216;
  border-radius:12px;
  gap:4px
}
.flow-mode button{
  min-width:64px;height:38px;border:0;border-radius:9px;
  background:transparent;color:#7e8c96;font-size:9px;font-weight:900
}
.flow-mode button.active{
  color:#f4f7f8;
  background:linear-gradient(135deg,#253139,#151d22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06)
}
.flow-period{
  height:58px;
  display:grid;
  grid-template-columns:44px 1fr 44px;
  align-items:center;
  border:1px solid #2c3c46;
  background:linear-gradient(145deg,#10181d,#0a1014);
  border-radius:14px
}
.flow-period button{
  width:36px;height:36px;margin:auto;border:0;border-radius:9px;
  background:transparent;color:#91a0aa
}
.flow-period button:hover{background:#172027;color:#fff}
.flow-period button:disabled{opacity:.28;pointer-events:none}
.flow-period button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}
.flow-period div{text-align:center}
.flow-period small,.flow-period strong{display:block}
.flow-period small{font-size:6px;letter-spacing:1.5px;color:#6f7c85;font-weight:900}
.flow-period strong{font-size:13px;margin-top:3px;color:#eef3f5}

.flow-base{
  justify-self:end;
  min-width:185px;
  height:58px;
  padding:10px 14px;
  border:1px solid #2d3d46;
  border-radius:14px;
  background:radial-gradient(circle at 92% 0%,rgba(255,255,255,.05),transparent 42%),#0d1418
}
.flow-base small,.flow-base strong,.flow-base span{display:block}
.flow-base small{font-size:6px;letter-spacing:1.3px;color:#71808a;font-weight:900}
.flow-base strong{font-size:19px;line-height:1;margin-top:4px;color:#f3f6f7}
.flow-base span{font-size:7px;color:#74818a;margin-top:3px}

.flow-kpis{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:11px;
  margin-bottom:11px
}
.flow-kpi{
  position:relative;overflow:hidden;
  min-height:112px;
  border:1px solid #2d3d46;
  border-radius:16px;
  padding:18px;
  display:flex;align-items:center;gap:14px;
  background:#0d151a
}
.flow-kpi::after{
  content:"";position:absolute;width:130px;height:130px;right:-44px;bottom:-70px;
  border-radius:50%;filter:blur(34px);opacity:.17;pointer-events:none
}
.flow-kpi-icon{
  width:42px;height:42px;flex:0 0 42px;border-radius:12px;
  display:grid;place-items:center;border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.025)
}
.flow-kpi-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7}
.flow-kpi-icon span{width:10px;height:10px;border-radius:50%}
.flow-kpi small,.flow-kpi b,.flow-kpi span{display:block}
.flow-kpi small{font-size:7px;letter-spacing:1px;color:#85929b;font-weight:900}
.flow-kpi b{font-size:30px;line-height:1;margin-top:7px;letter-spacing:-1px}
.flow-kpi div>span{font-size:7px;color:#78858d;margin-top:6px}
.flow-kpi .delta-up{color:#62ddb4!important}
.flow-kpi .delta-down{color:#ff7580!important}
.flow-kpi .delta-flat{color:#8d9aa2!important}

.flow-kpi-people{background:radial-gradient(circle at 86% 85%,rgba(221,235,246,.12),transparent 35%),linear-gradient(145deg,#10191e,#0b1216)}
.flow-kpi-people::after{background:#c6d8e3}.flow-kpi-people .flow-kpi-icon{color:#e8f0f5}.flow-kpi-people b{color:#f3f7f9}
.flow-kpi-demo{background:radial-gradient(circle at 86% 85%,rgba(255,139,69,.13),transparent 35%),linear-gradient(145deg,#151713,#0c1215)}
.flow-kpi-demo::after{background:#ff8c4c}.flow-kpi-demo .flow-kpi-icon span{background:#ff914f}.flow-kpi-demo b{color:#ffab78}
.flow-kpi-premium{background:radial-gradient(circle at 86% 85%,rgba(53,207,159,.14),transparent 35%),linear-gradient(145deg,#101a17,#0b1215)}
.flow-kpi-premium::after{background:#35cf9f}.flow-kpi-premium .flow-kpi-icon span{background:#42d2a2}.flow-kpi-premium b{color:#8ce0c2}
.flow-kpi-bs{background:radial-gradient(circle at 86% 85%,rgba(240,194,80,.15),transparent 35%),linear-gradient(145deg,#17170f,#0c1114)}
.flow-kpi-bs::after{background:#efc34f}.flow-kpi-bs .flow-kpi-icon span{background:#f3c84f}.flow-kpi-bs b{color:#f3cf6a}

.flow-main-grid{
  display:grid;grid-template-columns:minmax(0,1.9fr) minmax(300px,.8fr);gap:11px;margin-bottom:11px
}
.flow-funnel-panel,.flow-compare-panel,.flow-chart-panel,.flow-reading-panel,.flow-country-panel{
  border-color:#293943!important
}
.flow-help{font-size:7px;color:#6f7d86}
.flow-funnel{
  display:grid;
  grid-template-columns:minmax(150px,1fr) 105px minmax(150px,1fr) 105px minmax(150px,1fr);
  gap:10px;align-items:center;margin-top:18px
}
.funnel-stage{
  min-height:142px;border:1px solid #354650;border-radius:16px;
  padding:20px;display:flex;flex-direction:column;justify-content:center;
  position:relative;overflow:hidden
}
.funnel-stage::after{
  content:"";position:absolute;width:115px;height:115px;right:-40px;bottom:-55px;
  border-radius:50%;filter:blur(30px);opacity:.22
}
.funnel-stage small{font-size:7px;letter-spacing:1.1px;font-weight:900;color:#8a969e}
.funnel-stage b{font-size:38px;line-height:1;margin-top:8px;letter-spacing:-1px}
.funnel-stage span{font-size:8px;color:#75828b;margin-top:8px}
.demo-stage{background:linear-gradient(145deg,#22170f,#111519);border-color:#704426}
.demo-stage::after{background:#ff914f}.demo-stage b{color:#ffad79}
.premium-stage{background:linear-gradient(145deg,#10221c,#101519);border-color:#2f6755}
.premium-stage::after{background:#3bd1a0}.premium-stage b{color:#8ce0c2}
.bs-stage{background:linear-gradient(145deg,#201c0d,#111418);border-color:#6e5b24}
.bs-stage::after{background:#efc64d}.bs-stage b{color:#f1cd68}

.funnel-arrow{text-align:center;color:#829099}
.funnel-arrow b,.funnel-arrow span{display:block}
.funnel-arrow b{font-size:18px;color:#8de1c4}
.funnel-arrow span{font-size:7px;margin:5px 0 9px}
.funnel-arrow svg{width:20px;height:20px;fill:none;stroke:#55706a;stroke-width:1.7}
.gold-arrow b{color:#f2ca61}.gold-arrow svg{stroke:#796b3e}
.flow-funnel-note{
  margin-top:14px;border:1px solid #26353e;border-radius:10px;
  padding:10px 12px;color:#74818a;font-size:7px;background:#0a1115
}

.flow-compare-list{margin-top:12px}
.flow-compare-list>div{
  position:relative;display:grid;grid-template-columns:1fr auto;gap:8px;
  padding:14px 0;border-bottom:1px solid rgba(255,255,255,.06);overflow:hidden
}
.flow-compare-list>div:last-child{border-bottom:0}
.flow-compare-list span{font-size:8px;color:#8b98a0}
.flow-compare-list b{font-size:11px;color:#dfe6e9}
.flow-compare-list i{
  position:absolute;left:0;bottom:0;height:2px;width:0%;
  background:#8798a3;border-radius:3px;transition:width .35s ease
}
.flow-compare-list .up b{color:#6adbb5}.flow-compare-list .up i{background:#42cea0}
.flow-compare-list .down b{color:#ff7681}.flow-compare-list .down i{background:#ff6572}
.flow-compare-summary{
  margin-top:13px;border-radius:11px;border:1px solid #33434c;
  padding:12px;background:#10171b;color:#88959d;font-size:8px;line-height:1.55
}

.flow-chart-panel{margin-bottom:11px}
.flow-chart-title{align-items:center}
.flow-chart-key{display:flex;gap:14px;font-size:7px;color:#829099}
.flow-chart-key span{display:flex;align-items:center;gap:5px}
.flow-chart-key i{width:8px;height:8px;border-radius:3px}
.key-demo{background:#ff914f}.key-premium{background:#43d0a0}.key-bs{background:#efc64e}
.flow-bars{
  min-height:270px;margin-top:13px;
  display:grid;grid-template-columns:repeat(var(--flow-cols,5),minmax(95px,1fr));
  gap:9px;align-items:end
}
.flow-bucket{
  height:235px;display:grid;grid-template-rows:1fr auto;gap:8px;min-width:82px
}
.flow-bucket-bars{
  height:100%;display:flex;justify-content:center;align-items:flex-end;gap:6px;
  border-bottom:1px solid #34424a;
  background:repeating-linear-gradient(to top,rgba(255,255,255,.035) 0 1px,transparent 1px 25%)
}
.flow-mini-bar{
  width:24%;max-width:31px;min-width:15px;height:max(4px,var(--h));
  border-radius:7px 7px 2px 2px;position:relative;transition:height .3s ease
}
.flow-mini-bar b{
  position:absolute;top:-17px;left:50%;transform:translateX(-50%);
  font-size:7px;color:#aab4ba;white-space:nowrap
}
.flow-mini-bar.demo{background:linear-gradient(to top,#91451e,#ff914f)}
.flow-mini-bar.premium{background:linear-gradient(to top,#1d6a52,#43d0a0)}
.flow-mini-bar.bs{background:linear-gradient(to top,#84691f,#efc64e)}
.flow-bucket>span{text-align:center;font-size:7px;color:#7d8991;font-weight:800}

.flow-bottom-grid{display:grid;grid-template-columns:1.35fr .85fr;gap:11px}
.flow-reading{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}
.flow-reading>div{
  min-height:105px;border:1px solid #30404a;border-radius:13px;padding:15px;
  background:linear-gradient(145deg,#11191e,#0c1216)
}
.flow-reading small,.flow-reading b,.flow-reading span{display:block}
.flow-reading small{font-size:6px;letter-spacing:.9px;color:#7b8992;font-weight:900}
.flow-reading b{font-size:24px;margin-top:9px;color:#eef3f5}
.flow-reading span{font-size:7px;color:#74818a;margin-top:6px}

.flow-country-list{margin-top:9px}
.flow-country-row{
  display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;
  min-height:43px;border-bottom:1px solid rgba(255,255,255,.06)
}
.flow-country-row:last-child{border-bottom:0}
.flow-country-row .country-flag{width:25px;height:17px;border-radius:4px;object-fit:cover}
.flow-country-row span{font-size:8px;color:#9aa5ac}
.flow-country-row b{font-size:10px;color:#eef3f5}
.flow-country-empty{padding:20px 0;font-size:8px;color:#71808a}

@media(max-width:1200px){
  .flow-kpis{grid-template-columns:1fr 1fr}
  .flow-main-grid,.flow-bottom-grid{grid-template-columns:1fr}
  .flow-funnel{grid-template-columns:1fr 76px 1fr 76px 1fr}
}
@media(max-width:880px){
  .flow-toolbar{grid-template-columns:1fr}
  .flow-base{justify-self:stretch}
  .flow-kpis{grid-template-columns:1fr}
  .flow-funnel{grid-template-columns:1fr}
  .funnel-arrow svg{transform:rotate(90deg)}
  .flow-reading{grid-template-columns:1fr}
  .flow-bars{overflow-x:auto;grid-template-columns:repeat(var(--flow-cols,5),100px)}
}


/* ==========================================================
   V14.2 — FLUJO CLARO / GRANDE / SOLO DATOS ÚTILES
   ========================================================== */
#view-flow{padding-bottom:34px}

.flow2-top{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;margin-bottom:18px
}
.flow2-period{
  width:360px;height:72px;
  display:grid;grid-template-columns:54px 1fr 54px;align-items:center;
  border:1px solid #344650;border-radius:17px;
  background:radial-gradient(circle at 50% -60%,rgba(255,255,255,.08),transparent 55%),#0d151a
}
.flow2-period button{
  width:42px;height:42px;margin:auto;border:0;border-radius:11px;
  background:#121c22;color:#b3c0c7;cursor:pointer
}
.flow2-period button:hover{background:#1b2830;color:#fff}
.flow2-period button:disabled{opacity:.25;pointer-events:none}
.flow2-period button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2}
.flow2-period div{text-align:center}
.flow2-period small,.flow2-period strong{display:block}
.flow2-period small{font-size:10px;letter-spacing:1.4px;color:#74838c;font-weight:900}
.flow2-period strong{font-size:18px;color:#f2f6f7;margin-top:4px}

.flow2-total{
  min-width:205px;padding:14px 18px;border-radius:16px;
  border:1px solid #33444e;background:#0e161b
}
.flow2-total small,.flow2-total b,.flow2-total span{display:block}
.flow2-total small{font-size:10px;letter-spacing:1.2px;color:#7a8992;font-weight:900}
.flow2-total b{font-size:28px;color:#f1f5f6;margin-top:5px;line-height:1}
.flow2-total span{font-size:11px;color:#7f8d95;margin-top:6px}

.flow2-kpis{
  display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:14px
}
.flow2-kpi{
  min-height:145px;padding:22px 24px;border-radius:18px;
  border:1px solid #354650;position:relative;overflow:hidden
}
.flow2-kpi::after{
  content:"";position:absolute;width:165px;height:165px;border-radius:50%;
  right:-48px;bottom:-88px;filter:blur(35px);opacity:.22;pointer-events:none
}
.flow2-kpi small,.flow2-kpi b,.flow2-kpi span{display:block;position:relative;z-index:1}
.flow2-kpi small{font-size:11px;letter-spacing:.9px;color:#99a6ad;font-weight:900}
.flow2-kpi b{font-size:46px;line-height:1;margin-top:13px;letter-spacing:-1.5px}
.flow2-kpi span{font-size:12px;margin-top:11px;font-weight:750}
.flow2-kpi .delta-up{color:#67dfb8!important}
.flow2-kpi .delta-down{color:#ff7a85!important}
.flow2-kpi .delta-flat{color:#8f9da5!important}

.flow2-kpi.people{background:linear-gradient(145deg,#111b21,#0b1216)}
.flow2-kpi.people::after{background:#a6bfd0}.flow2-kpi.people b{color:#f0f5f7}
.flow2-kpi.demo{background:linear-gradient(145deg,#24170f,#101418);border-color:#694126}
.flow2-kpi.demo::after{background:#ff8e4a}.flow2-kpi.demo b{color:#ffab77}
.flow2-kpi.premium{background:linear-gradient(145deg,#10211b,#0d1417);border-color:#2c6652}
.flow2-kpi.premium::after{background:#3cd0a0}.flow2-kpi.premium b{color:#8ee1c3}
.flow2-kpi.bs{background:linear-gradient(145deg,#211d0d,#101317);border-color:#695924}
.flow2-kpi.bs::after{background:#edc34e}.flow2-kpi.bs b{color:#f2cf67}

.flow2-main{
  display:grid;grid-template-columns:minmax(0,1.7fr) minmax(360px,.8fr);
  gap:14px;margin-bottom:14px
}
.flow2-growth,.flow2-conversion,.flow2-countries{
  border-color:#30414b!important;
  background:radial-gradient(circle at 78% 0%,rgba(255,255,255,.035),transparent 35%),#0d1419!important
}
.flow2-panel-head{
  display:flex;justify-content:space-between;align-items:flex-start;gap:18px
}
.flow2-panel-head>div>span{
  display:block;font-size:10px;letter-spacing:1.5px;color:#73818a;font-weight:900
}
.flow2-panel-head h2{font-size:23px;margin:6px 0 0;color:#f1f5f6;letter-spacing:-.45px}
.flow2-panel-head p{font-size:12px;line-height:1.5;color:#84929a;margin:7px 0 0}

.flow2-growth-score{
  min-width:180px;text-align:right;padding:12px 14px;border-radius:13px;
  border:1px solid #33444d;background:#10181d
}
.flow2-growth-score small,.flow2-growth-score b,.flow2-growth-score span{display:block}
.flow2-growth-score small{font-size:9px;color:#7c8a93;font-weight:900;letter-spacing:1px}
.flow2-growth-score b{font-size:31px;line-height:1;margin-top:7px;color:#eaf0f3}
.flow2-growth-score b.positive{color:#6ddfba}.flow2-growth-score b.negative{color:#ff7c86}
.flow2-growth-score span{font-size:10px;color:#7f8d95;margin-top:7px}

.flow2-chart-legend{
  display:flex;gap:20px;align-items:center;margin:25px 0 8px;font-size:11px;color:#909da5
}
.flow2-chart-legend span{display:flex;align-items:center;gap:8px}
.flow2-chart-legend i{width:25px;height:4px;border-radius:5px}
.flow2-chart-legend .current{background:#54d8ad;box-shadow:0 0 12px rgba(84,216,173,.2)}
.flow2-chart-legend .previous{background:#71818c}

.flow2-linechart{
  height:330px;border-radius:14px;overflow:hidden;
  border:1px solid #2a3942;background:
  repeating-linear-gradient(to top,rgba(255,255,255,.045) 0 1px,transparent 1px 25%),
  linear-gradient(180deg,#0b1216,#0d151a)
}
.flow2-linechart svg{width:100%;height:100%;display:block}
.flow2-linechart text{font-family:Inter,system-ui,sans-serif}

.flow2-chart-summary{
  display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:12px
}
.flow2-chart-summary>div{
  border:1px solid #31414a;border-radius:12px;padding:14px 16px;background:#0f171c
}
.flow2-chart-summary small,.flow2-chart-summary b{display:block}
.flow2-chart-summary small{font-size:9px;letter-spacing:1px;color:#76848d;font-weight:900}
.flow2-chart-summary b{font-size:17px;color:#eaf0f2;margin-top:6px}

.flow2-conversion{min-height:100%}
.flow2-conv-main{
  display:grid;grid-template-columns:190px 1fr;align-items:center;gap:18px;margin-top:30px
}
.flow2-ring{
  width:180px;height:180px;border-radius:50%;display:grid;place-items:center;
  background:conic-gradient(#43d1a1 0 0%,#1a252c 0% 100%);
  position:relative
}
.flow2-ring::after{
  content:"";position:absolute;inset:18px;border-radius:50%;
  background:#0e161b;border:1px solid #2d3d46
}
.flow2-ring>div{position:relative;z-index:1;text-align:center}
.flow2-ring b,.flow2-ring span{display:block}
.flow2-ring b{font-size:36px;color:#f0f5f6;line-height:1}
.flow2-ring span{font-size:10px;color:#819099;margin-top:8px}

.flow2-conv-numbers{display:grid;gap:10px}
.flow2-conv-numbers>div{
  min-height:70px;padding:13px 15px;border:1px solid #31414a;border-radius:13px;background:#10181d
}
.flow2-conv-numbers small,.flow2-conv-numbers b{display:block}
.flow2-conv-numbers small{font-size:9px;color:#87949c;font-weight:900;letter-spacing:.7px}
.flow2-conv-numbers b{font-size:27px;margin-top:5px}
.flow2-conv-numbers .orange b{color:#ffac77}
.flow2-conv-numbers .green b{color:#8ce0c2}
.flow2-conv-numbers .gold b{color:#f1cd66}
.flow2-conv-message{
  margin-top:21px;padding:14px 15px;border:1px solid #31414a;border-radius:12px;
  background:#10181d;color:#929fa7;font-size:12px;line-height:1.55
}

.flow2-countries{padding-bottom:15px!important}
.flow2-country-head,.flow2-country-row{
  display:grid;grid-template-columns:minmax(260px,1.5fr) 150px 150px 180px;
  align-items:center;gap:12px
}
.flow2-country-head{
  margin-top:23px;padding:0 17px 11px;border-bottom:1px solid #30404a
}
.flow2-country-head span{
  font-size:10px;letter-spacing:1px;color:#718089;font-weight:900
}
.flow2-country-row{
  min-height:70px;padding:0 17px;border-bottom:1px solid rgba(255,255,255,.06)
}
.flow2-country-row:last-child{border-bottom:0}
.flow2-country-name{display:flex;align-items:center;gap:12px}
.flow2-country-name .country-flag{width:36px;height:24px;border-radius:5px;object-fit:cover}
.flow2-country-name b{font-size:14px;color:#edf2f4}
.flow2-country-row>strong{font-size:17px;color:#dfe7ea}
.flow2-country-row .premium-num{color:#80dec0}
.flow2-country-rate{
  height:38px;border-radius:10px;border:1px solid #33444d;background:#10191e;
  display:flex;align-items:center;justify-content:space-between;padding:0 11px;gap:10px
}
.flow2-country-rate b{font-size:13px;color:#eef3f5}
.flow2-country-rate i{
  height:6px;flex:1;background:#1d2a31;border-radius:5px;overflow:hidden
}
.flow2-country-rate i::after{
  content:"";display:block;height:100%;width:var(--rate);border-radius:5px;background:#43d1a1
}
.flow2-country-empty{padding:28px 17px;color:#7d8a92;font-size:13px}

@media(max-width:1200px){
  .flow2-kpis{grid-template-columns:1fr 1fr}
  .flow2-main{grid-template-columns:1fr}
}
@media(max-width:850px){
  .flow2-top{align-items:stretch;flex-direction:column}
  .flow2-period{width:100%}
  .flow2-total{width:100%}
  .flow2-kpis{grid-template-columns:1fr}
  .flow2-conv-main{grid-template-columns:1fr}
  .flow2-ring{margin:auto}
  .flow2-country-head{display:none}
  .flow2-country-row{
    grid-template-columns:1fr 80px 80px;
    padding:13px 8px;min-height:82px
  }
  .flow2-country-rate{grid-column:1/-1}
  .flow2-growth-score{min-width:140px}
}


/* ==========================================================
   V14.3 — FLUJO PRO / MÁS VISUAL / MÁS GRANDE
   ========================================================== */
#view-flow{padding-bottom:36px}
.flow3-topbar{display:grid;grid-template-columns:auto 1fr auto;gap:16px;align-items:center;margin-bottom:18px}
.flow3-scope{display:flex;gap:10px;padding:8px;border:1px solid #31414b;border-radius:18px;background:#0e171c}
.flow3-scope-btn{height:44px;padding:0 18px;border-radius:12px;border:0;background:transparent;color:#95a3ab;font-weight:800;cursor:pointer;font-size:13px}
.flow3-scope-btn.active{background:#f0f4f7;color:#0f151a}
.flow3-nav{height:76px;display:grid;grid-template-columns:58px 1fr 58px;align-items:center;border:1px solid #31414b;border-radius:18px;background:radial-gradient(circle at 50% -70%,rgba(255,255,255,.07),transparent 55%),#0f171b}
.flow3-nav button{width:44px;height:44px;border:0;border-radius:12px;background:#152027;color:#bec7cd;margin:auto;cursor:pointer}
.flow3-nav button:hover{background:#1d2a31;color:#fff}.flow3-nav button:disabled{opacity:.25;pointer-events:none}
.flow3-nav button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.flow3-nav-label{text-align:center}.flow3-nav-label small,.flow3-nav-label strong{display:block}
.flow3-nav-label small{font-size:10px;letter-spacing:1.4px;color:#75838c;font-weight:900}
.flow3-nav-label strong{font-size:20px;color:#f3f6f8;margin-top:5px}
.flow3-totalcard{min-width:220px;padding:16px 18px;border:1px solid #31414b;border-radius:17px;background:#0f171c}
.flow3-totalcard small,.flow3-totalcard b,.flow3-totalcard span{display:block}
.flow3-totalcard small{font-size:10px;letter-spacing:1px;color:#7a8992;font-weight:900}
.flow3-totalcard b{font-size:30px;color:#f0f4f7;line-height:1;margin-top:5px}.flow3-totalcard span{margin-top:6px;color:#839097;font-size:12px}

.flow3-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:14px}
.flow3-kpi{position:relative;overflow:hidden;min-height:138px;padding:20px 22px;border-radius:18px;border:1px solid #33444d}
.flow3-kpi:after{content:"";position:absolute;right:-55px;bottom:-90px;width:170px;height:170px;border-radius:50%;filter:blur(38px);opacity:.25}
.flow3-kpi small,.flow3-kpi b,.flow3-kpi span{display:block;position:relative;z-index:1}
.flow3-kpi small{font-size:11px;letter-spacing:.9px;color:#98a5ac;font-weight:900}
.flow3-kpi b{font-size:48px;line-height:1;margin-top:10px;letter-spacing:-1.5px}
.flow3-kpi span{font-size:12px;margin-top:10px;font-weight:800}
.flow3-kpi .delta-up{color:#66dfb7!important}.flow3-kpi .delta-down{color:#ff7a85!important}.flow3-kpi .delta-flat{color:#93a0a8!important}
.flow3-kpi.people{background:linear-gradient(145deg,#111b21,#0b1216)}.flow3-kpi.people:after{background:#9eb2c0}.flow3-kpi.people b{color:#f1f5f6}
.flow3-kpi.demo{background:linear-gradient(145deg,#23160e,#101418);border-color:#6a4228}.flow3-kpi.demo:after{background:#ff9254}.flow3-kpi.demo b{color:#ffaf7c}
.flow3-kpi.premium{background:linear-gradient(145deg,#10201a,#0e1418);border-color:#2c6552}.flow3-kpi.premium:after{background:#3cd1a1}.flow3-kpi.premium b{color:#8ee1c3}
.flow3-kpi.bs{background:linear-gradient(145deg,#211d0d,#101418);border-color:#685923}.flow3-kpi.bs:after{background:#edc34d}.flow3-kpi.bs b{color:#f1cf68}

.flow3-main-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(410px,.95fr);gap:14px;margin-bottom:14px}
.flow3-trend,.flow3-funnel-panel,.flow3-activity,.flow3-countries{border-color:#30414a!important;background:radial-gradient(circle at 78% 0%,rgba(255,255,255,.04),transparent 35%),#0d1419!important}
.flow3-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.flow3-head>div>span{display:block;font-size:10px;letter-spacing:1.45px;color:#74828b;font-weight:900}
.flow3-head h2{font-size:28px;line-height:1.12;margin:6px 0 0;color:#f1f5f7;letter-spacing:-.6px}
.flow3-head p{font-size:12px;line-height:1.55;color:#88959d;margin:8px 0 0}
.flow3-score{min-width:190px;padding:13px 14px;border:1px solid #31414b;border-radius:14px;background:#10181d;text-align:right}
.flow3-score small,.flow3-score b,.flow3-score span{display:block}.flow3-score small{font-size:9px;letter-spacing:1px;color:#77858d;font-weight:900}
.flow3-score b{font-size:34px;line-height:1;margin-top:6px;color:#eef3f5}.flow3-score b.positive{color:#69dfb9}.flow3-score b.negative{color:#ff7b86}
.flow3-score span{font-size:11px;color:#7f8d95;margin-top:7px}
.flow3-legend{display:flex;gap:20px;align-items:center;margin:20px 0 10px;font-size:11px;color:#93a0a8}
.flow3-legend span{display:flex;align-items:center;gap:8px}.flow3-legend i{width:26px;height:4px;border-radius:5px;display:block}
.flow3-legend .current{background:#59d9af}.flow3-legend .previous{background:#7b8790}
.flow3-legend .demo{background:#f48f4d}.flow3-legend .premium{background:#55d7aa}.flow3-legend .bs{background:#e3c04c}
.flow3-bigchart{height:390px;border-radius:16px;overflow:hidden;border:1px solid #2c3b43;background:repeating-linear-gradient(to top,rgba(255,255,255,.045) 0 1px,transparent 1px 25%),linear-gradient(180deg,#0c1317,#0d1519)}
.flow3-bigchart svg{width:100%;height:100%;display:block}.flow3-bigchart text{font-family:Inter,system-ui,sans-serif}
.flow3-trend-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.flow3-trend-summary>div{padding:15px 16px;border:1px solid #31414b;border-radius:13px;background:#10181d}
.flow3-trend-summary small,.flow3-trend-summary b{display:block}.flow3-trend-summary small{font-size:10px;letter-spacing:.9px;color:#74828b;font-weight:900}.flow3-trend-summary b{font-size:18px;color:#eef3f5;margin-top:5px}

.flow3-funnel{margin-top:22px;display:grid;gap:14px}
.flow3-stage{position:relative;min-height:88px;padding:18px 18px 16px;border-radius:18px;border:1px solid #32424b;display:flex;align-items:center;justify-content:space-between;gap:16px;width:var(--w);min-width:64%;transition:.25s ease}
.flow3-stage small,.flow3-stage b,.flow3-stage span{display:block}.flow3-stage small{font-size:10px;letter-spacing:1px;color:rgba(255,255,255,.72);font-weight:900}.flow3-stage b{font-size:34px;line-height:1;margin-top:3px;color:#fff}.flow3-stage span{font-size:12px;color:rgba(255,255,255,.8);margin-top:5px;font-weight:700}
.flow3-stage .rate{font-size:13px;font-weight:900;color:#fff;opacity:.92}
.flow3-stage.demo{background:linear-gradient(135deg,rgba(255,145,80,.28),rgba(255,145,80,.1));border-color:#6c4328}
.flow3-stage.premium{background:linear-gradient(135deg,rgba(73,212,169,.28),rgba(73,212,169,.1));border-color:#2c6652;margin-left:7%}
.flow3-stage.bs{background:linear-gradient(135deg,rgba(231,191,70,.28),rgba(231,191,70,.1));border-color:#6b5924;margin-left:14%}
.flow3-stage:after{content:"→";position:absolute;right:-22px;top:50%;transform:translateY(-50%);color:#607079;font-size:26px;font-weight:900}
.flow3-stage.bs:after{display:none}
.flow3-funnel-note{margin-top:16px;padding:14px 16px;border:1px solid #31414b;border-radius:12px;background:#10181d;color:#93a0a8;font-size:12px;line-height:1.6}

.flow3-activity{margin-bottom:14px}.flow3-legend-bars{margin-top:18px}.flow3-barschart{height:360px}

.flow3-countries .flow3-country-head,.flow3-country-row{display:grid;grid-template-columns:minmax(240px,1.5fr) 110px 110px 110px 130px 190px;gap:10px;align-items:center}
.flow3-country-head{padding:0 16px 10px;margin-top:22px;border-bottom:1px solid #30404a}.flow3-country-head span{font-size:10px;letter-spacing:1px;color:#73818a;font-weight:900}
.flow3-country-row{min-height:72px;padding:0 16px;border-bottom:1px solid rgba(255,255,255,.06)}.flow3-country-row:last-child{border-bottom:0}
.flow3-country-name{display:flex;align-items:center;gap:12px}.flow3-country-name .country-flag{width:36px;height:24px;border-radius:5px;object-fit:cover}.flow3-country-name b{font-size:14px;color:#edf2f4}
.flow3-country-row strong{font-size:18px;color:#ecf2f4}.flow3-country-row .green{color:#84dfc1}.flow3-country-row .gold{color:#efcd68}
.flow3-country-rate{height:40px;padding:0 12px;display:flex;align-items:center;gap:10px;border:1px solid #31414b;border-radius:11px;background:#10181d}.flow3-country-rate b{font-size:13px;color:#edf3f5}.flow3-country-rate i{flex:1;height:6px;border-radius:5px;background:#202c33;overflow:hidden}.flow3-country-rate i:after{content:"";display:block;height:100%;width:var(--rate);background:#43d1a1;border-radius:5px}
.flow3-country-empty{padding:28px 16px;color:#7e8a92;font-size:13px}

@media(max-width:1300px){.flow3-main-grid{grid-template-columns:1fr}.flow3-funnel-panel{order:2}.flow3-trend{order:1}}
@media(max-width:1100px){.flow3-topbar{grid-template-columns:1fr}.flow3-kpis{grid-template-columns:1fr 1fr}.flow3-totalcard{width:100%}}
@media(max-width:860px){.flow3-kpis{grid-template-columns:1fr}.flow3-score{min-width:140px}.flow3-head h2{font-size:24px}.flow3-stage{width:100%!important;min-width:100%;margin-left:0!important}.flow3-stage:after{display:none}.flow3-country-head{display:none}.flow3-country-row{grid-template-columns:1fr 1fr 1fr;gap:8px;padding:14px 10px;min-height:unset}.flow3-country-rate{grid-column:1/-1}.flow3-country-row .goldbox{grid-column:3}.flow3-bigchart{height:320px}}
