@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#0c1529;--navy2:#111d35;--navy3:#20314d;--blue:#3579f6;--cyan:#38c5c9;--light:#f5f7fb;--ink:#16233b;--muted:#7c89a0;--border:#e7ecf4;--card:#fff;--green:#18a66a;--amber:#db9b20;--red:#e45560}
*{box-sizing:border-box}body{margin:0;background:var(--light);color:var(--ink);font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--blue)}#app{min-height:100vh;display:flex}.sidebar{width:245px;background:var(--navy);color:#fff;flex:none;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:25px 13px 18px;z-index:15}.brand{display:flex;align-items:center;padding:0 14px;gap:10px;margin-bottom:42px}.brand-icon{height:36px;width:36px;border-radius:11px;background:linear-gradient(140deg,#3ee0cc,#2d76ef);display:flex;align-items:center;justify-content:center;color:#09213c;box-shadow:0 8px 24px #29b8dd2b}.brand-word{font-family:Manrope,sans-serif;font-size:21px;letter-spacing:-1.1px;font-weight:800}.brand-word span{color:#7bbdff}.sidebar-caption{padding:0 17px 15px;color:#60718c;font-size:10px;font-weight:800;letter-spacing:1.9px}.nav-item{width:100%;text-align:left;display:flex;align-items:center;gap:13px;border:0;background:transparent;color:#9daec6;padding:13px 17px;margin:3px 0;border-radius:11px;font-weight:600;transition:all .15s}.nav-item:hover{background:#172943;color:white}.nav-item.active{background:#223b60;color:#fff}.nav-item.active .ico{color:#59d9d6}.ico{height:18px;width:18px;display:flex;align-items:center;justify-content:center;font-size:17px}.sidebar-bottom{margin-top:auto}.sidebar-help{border:1px solid #2a3b55;border-radius:12px;padding:15px;background:#131f34;display:grid;grid-template-columns:10px auto;column-gap:9px;align-items:center}.sidebar-help strong{font-size:12px}.sidebar-help small{grid-column:2;color:#91a3bd;font-size:11px;margin-top:4px}.help-dot{height:8px;width:8px;background:var(--cyan);border-radius:50%}.sidebar-foot{padding:20px 12px 0;color:#62758e;font-size:10px}.main-wrap{min-width:0;flex:1}.topbar{height:82px;background:white;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 40px;position:sticky;top:0;z-index:10}.breadcrumb{font-size:13px;font-weight:600;color:#929eb1}.breadcrumb span{padding:0 11px;color:#ccd3df}.breadcrumb strong{color:#34445e}.top-right{display:flex;align-items:center;gap:20px}.preview-pill{background:#edf9f5;border:1px solid #d3f2e6;color:#268b64;border-radius:30px;padding:8px 12px;white-space:nowrap;font-size:11px;font-weight:700}.preview-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#28b57d;margin-right:7px}.role-wrap{display:flex;align-items:center;gap:8px}.role-label{font-size:11px;font-weight:700;color:#7888a0}select{background:#fff;border:1px solid #dce4f0;border-radius:9px;padding:10px 29px 10px 11px;color:#253755;max-width:220px}.avatar{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e8ecff;color:#4864bb;font-size:11px;font-weight:800}.mobile-menu{display:none;border:0;background:transparent;font-size:22px}.content{max-width:1540px;padding:36px 40px 65px;margin:0 auto}.headline{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:27px}.eyebrow{font-size:11px;letter-spacing:1.6px;text-transform:uppercase;color:#5790dd;font-weight:800;margin-bottom:10px}.headline h1{font-family:Manrope,sans-serif;font-size:29px;line-height:1.3;letter-spacing:-1px;margin:0 0 8px}.sub{color:#8794aa;margin:0;line-height:1.55}.head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.btn{background:var(--blue);color:white;border:1px solid var(--blue);padding:11px 16px;border-radius:10px;font-weight:700;font-size:12px;display:inline-flex;align-items:center;gap:8px;justify-content:center;box-shadow:0 4px 12px #3579f623}.btn:hover{filter:brightness(.96)}.btn.ghost{background:#fff;color:#334963;border-color:#dce4ed;box-shadow:none}.btn.secondary{background:#eaf1fe;color:#286bcf;border-color:#eaf1fe;box-shadow:none}.btn.small{padding:8px 12px;font-size:11px}.btn.danger{background:#fff4f4;color:#ba3e4b;border-color:#ffdddd;box-shadow:none}.btn:focus-visible,.nav-item:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #55a0fc77;outline-offset:2px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:20px}.metric,.panel{background:var(--card);border:1px solid var(--border);border-radius:15px;box-shadow:0 4px 22px #23365104}.metric{padding:22px 23px;min-height:139px}.metric-top{display:flex;align-items:center;justify-content:space-between}.metric-label{font-size:12px;font-weight:700;color:#8290a7}.metric-icon{height:33px;width:33px;background:#e9f0ff;color:var(--blue);border-radius:9px;display:grid;place-items:center;font-size:17px}.metric-icon.teal{background:#e5faf7;color:#21a99f}.metric-icon.purple{background:#f0edff;color:#8770db}.metric-icon.yellow{background:#fff8e9;color:#d49b27}.metric-value{font-size:27px;font-family:Manrope,sans-serif;font-weight:800;letter-spacing:-1.5px;margin:11px 0 6px}.metric-foot{color:#94a2b5;font-size:11px}.metric-foot em{font-style:normal;color:#159e6b;font-weight:800}.layout-2{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:20px}.panel{padding:22px;min-width:0}.panel h2{font-family:Manrope,sans-serif;font-size:15px;letter-spacing:-.4px;margin:0}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;gap:10px}.panel-caption{color:#8794a8;font-size:11px;margin-top:5px}.legend{display:flex;align-items:center;gap:8px;color:#8a97ab;font-size:11px}.legend-dot{width:7px;height:7px;background:#4488f8;border-radius:50%}.bars{height:196px;display:flex;align-items:stretch;gap:12px;padding:8px 4px 1px;border-bottom:1px solid #e8edf4}.bar-col{flex:1;display:flex;align-items:center;flex-direction:column;justify-content:flex-end;gap:8px;position:relative}.bar-track{height:156px;width:100%;max-width:36px;display:flex;align-items:flex-end}.bar-fill{width:100%;border-radius:6px 6px 1px 1px;background:linear-gradient(180deg,#3e97f7,#6cacf7);min-height:2px;transition:height .2s;position:relative}.bar-fill:hover{filter:brightness(.9)}.bar-col span{font-size:10px;color:#96a2b3}.bar-value{font-size:10px;position:absolute;bottom:calc(var(--bottom) + 28px);color:#5f7390;font-weight:700;white-space:nowrap}.progress-line{display:flex;align-items:center;justify-content:space-between;margin:17px 0 10px;font-size:12px}.progress-line strong{font-weight:700}.progress-line span{color:#8897ad}.progress{background:#edf1f6;height:7px;border-radius:9px;overflow:hidden}.progress>div{height:100%;background:linear-gradient(90deg,#4b82f5,#39c0c7);border-radius:9px}.panel-top-gap{margin-top:20px}.status-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:13px 0}.status-num{font-weight:800;font-size:13px}.status-note{font-size:12px;color:#8190a6}.status-badge{font-size:11px;font-weight:800;display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:30px;background:#e8f8f1;color:#119464}.status-badge:before{content:'';height:6px;width:6px;background:currentColor;border-radius:50%}.status-badge.charging{background:#ecf3ff;color:#3579f6}.status-badge.offline{background:#f1f3f6;color:#8c99ad}.notice{display:flex;align-items:center;gap:12px;padding:14px 17px;background:#e9f4fe;border:1px solid #d4e9fd;border-radius:10px;color:#547391;font-size:12px;margin-bottom:22px;line-height:1.5}.notice strong{color:#2c568b}.notice .notice-icon{font-size:17px}.table-wrap{overflow-x:auto}.data-table{width:100%;border-collapse:collapse;white-space:nowrap}.data-table th{text-align:left;color:#91a0b4;font-size:10px;font-weight:800;letter-spacing:1px;text-transform:uppercase;border-bottom:1px solid #edf0f5;padding:12px 11px}.data-table td{padding:16px 11px;border-bottom:1px solid #f0f3f7;color:#42526a;font-size:12px}.data-table tr:last-child td{border-bottom:0}.data-table td strong{color:#172a48;font-weight:800}.td-muted{color:#97a5b7!important}.chip{background:#f2f5fa;color:#74839d;border-radius:6px;padding:5px 8px;font-size:11px;font-weight:700}.chip.success{background:#eaf8f2;color:#158e62}.chip.pending{background:#fff7e9;color:#ac8026}.list-chargers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.charger-card{padding:19px;background:white;border:1px solid var(--border);border-radius:14px;position:relative}.charger-head{display:flex;align-items:center;justify-content:space-between}.charger-icon{width:39px;height:39px;border-radius:12px;background:#ecf2ff;color:#3b78e9;display:flex;align-items:center;justify-content:center;font-size:20px}.charger-title{font-weight:800;font-size:14px;margin:18px 0 4px}.charger-meta{font-size:11px;color:#94a1b2;line-height:1.7}.charger-foot{margin-top:18px;border-top:1px solid #edf0f5;padding-top:13px;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#90a0b2}.charger-foot strong{color:#283852}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:19px}.toolbar>*{min-width:0}.search{border:1px solid #dfe6f0;background:white;border-radius:9px;padding:12px;min-width:210px;color:#25334c}.filter-group{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.empty{padding:40px 14px;text-align:center;color:#8090a9}.empty h3{color:#33455d;margin:0 0 8px}.empty p{margin:0}.tabs{display:flex;gap:5px;background:#edf1f7;border-radius:9px;padding:4px;width:max-content}.tab{padding:9px 14px;border:0;background:transparent;border-radius:7px;color:#8292a7;font-size:12px;font-weight:800}.tab.active{background:white;color:#2967c4;box-shadow:0 2px 7px #28394b15}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:15px}.field label{font-size:11px;color:#61728c;font-weight:800}.field input,.field select{width:100%;padding:12px;border:1px solid #dfe7f0;border-radius:9px;outline:none;background:#fff}.field input:focus,.field select:focus{border-color:#6ba3f5;box-shadow:0 0 0 3px #3579f615}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.modal-backdrop{position:fixed;inset:0;background:#061328a6;z-index:40;display:grid;place-items:center;padding:20px}.modal{background:#fff;border-radius:16px;padding:26px;width:100%;max-width:475px;box-shadow:0 25px 80px #05112345}.modal h2{font-size:20px;font-family:Manrope,sans-serif;margin:0 0 7px}.modal p{color:#8793a6;line-height:1.5;margin:0 0 22px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:13px}.toast{position:fixed;right:26px;bottom:24px;background:#14284b;color:white;box-shadow:0 14px 40px #152c4366;padding:15px 20px;border-radius:10px;opacity:0;transform:translateY(12px);transition:.2s;pointer-events:none;z-index:70;font-size:12px;max-width:370px;line-height:1.4}.toast.visible{opacity:1;transform:none}.tenant-select{padding:11px;border:1px solid #dfe6ee;border-radius:9px;background:white;max-width:255px}.inline-help{font-size:11px;color:#9aa7b9;line-height:1.5}.step-num{background:#edf4ff;color:#3579f6;width:28px;height:28px;display:inline-grid;place-items:center;border-radius:50%;font-weight:800;margin-right:10px}.step{display:flex;align-items:flex-start;margin-bottom:17px;font-size:12px;line-height:1.6}.step strong{color:#213454}.step small{display:block;color:#8d9aaf}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.mode-options{display:flex;flex-direction:column;gap:10px}.mode-option{display:flex;gap:10px;align-items:flex-start;border:1px solid #e1e7f0;padding:15px;border-radius:10px;cursor:pointer}.mode-option:has(input:checked){border-color:#7da6e9;background:#f4f8ff}.mode-option span{font-size:12px;line-height:1.5}.mode-option small{display:block;color:#93a0b3;margin-top:3px}.mini-table{width:100%;border-collapse:collapse}.mini-table td{padding:11px;border-bottom:1px solid #edf0f5;font-size:12px;color:#5c6d84}.mini-table td:last-child{text-align:right;color:#243951;font-weight:800}.footer-note{margin-top:30px;text-align:center;color:#a0adbd;font-size:11px}.pill{padding:5px 9px;border-radius:20px;background:#eef4ff;color:#397de9;font-size:10px;font-weight:800}.right-num{font-weight:800}.subtle{color:#91a1b6}.role-banner{padding:12px 16px;background:#fffdf3;border:1px solid #f5e8b9;border-radius:10px;margin-bottom:20px;color:#89712c;font-size:12px;line-height:1.6}.selection{display:flex;gap:8px;align-items:center}.micro{font-size:11px;color:#94a2b4}.hidden{display:none!important}
@media(max-width:1150px){.sidebar{width:220px}.content{padding:28px}.topbar{padding:0 25px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.list-chargers{grid-template-columns:repeat(2,minmax(0,1fr))}.layout-2{grid-template-columns:1fr}}
@media(max-width:740px){.sidebar{position:fixed;left:-260px;transition:left .2s;box-shadow:0 10px 50px #07152c33}.sidebar.show{left:0}.mobile-menu{display:block}.topbar{height:71px;padding:0 16px}.breadcrumb{display:none}.top-right{width:100%;justify-content:flex-end;gap:8px}.preview-pill,.role-label,.avatar{display:none}.role-wrap{flex:1;justify-content:flex-end}#roleSelect{font-size:11px;max-width:210px}.content{padding:23px 15px 40px}.headline{flex-direction:column;gap:14px}.headline h1{font-size:24px}.metrics{gap:10px}.metric{padding:15px;min-height:125px}.metric-value{font-size:21px}.metric-label{font-size:10px}.layout-2{gap:13px}.panel{padding:17px}.list-chargers{grid-template-columns:1fr}.toolbar{flex-direction:column;align-items:stretch}.toolbar input{width:100%}.settings-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.table-wrap{margin:0 -4px}}

/* Original ChargeVisor wordmark, displayed white on the dark navigation */
.brand{justify-content:center;min-height:65px;padding:0 7px;margin-bottom:23px}
.brand-logo{display:block;width:100%;height:auto;max-height:70px;object-fit:contain;filter:brightness(0) invert(1)}

/* ChargeVisor Business UI v2 — restrained BLITZ palette, original layout */
:root{
  --navy:#0a2320;--navy2:#10302b;--navy3:#174338;
  --blue:#079c81;--cyan:#13cfab;--light:#f1f6f4;
  --ink:#17332f;--muted:#758b86;--border:#e1ebe7;
  --card:#fff;--green:#059568;--amber:#bd852e;--red:#dc5d66
}
body{background:var(--light);color:var(--ink)}
.sidebar{background:#0b1b1a;border-right:1px solid #16332e;padding-top:26px;width:250px}
.brand{padding:0 9px;margin-bottom:30px;min-height:74px;justify-content:center}
.brand-logo{display:block;width:100%;height:auto;max-height:77px;object-fit:contain;filter:brightness(0) invert(1)}
.sidebar-caption{color:#5f978c;font-size:10px;margin-top:6px}
.nav-item{color:#a7c3bc;border-radius:9px;padding:12px 15px;margin:3px 0}
.nav-item:hover{background:#14362f;color:white}
.nav-item.active{background:#164239;color:#eefdf8;border-left:3px solid #1ad2ad;padding-left:12px}
.nav-item.active .ico{color:#2ee0b9}
.sidebar-help{background:#0f2a26;border-color:#245047}
.help-dot,.preview-dot{background:#15cda2}
.sidebar-foot{color:#769189}
.topbar{background:#fff;height:77px;border-bottom:1px solid #dce7e3}
.preview-pill{background:#e9faf3;color:#168a6c;border-color:#bfead9}
.avatar{background:#dbf5eb;color:#11654e}
.content{padding-top:34px}
.eyebrow{color:#228d77}
.headline h1{letter-spacing:-.8px}
.sub{color:#778d87}
.btn{background:#0b9e83;border-color:#0b9e83;box-shadow:none;border-radius:9px}
.btn:hover{background:#087e69;border-color:#087e69;filter:none}
.btn.secondary{background:#e2f7ef;border-color:#e2f7ef;color:#137f68}
.btn.ghost{border-color:#d1e4dd;color:#205e51}
.btn.ghost:hover{background:#f0fbf6}
.metric,.panel,.charger-card{box-shadow:0 2px 12px #162d2510;border-color:#e1eae5;border-radius:13px}
.metric:first-child{background:#102c28;color:#f2fff9;border-color:#164b40}
.metric:first-child .metric-label,.metric:first-child .metric-foot{color:#9fcac0}
.metric:first-child .metric-icon{background:#1f5448;color:#4ce3be}
.metric:first-child .metric-value{color:#fff}
.metric-icon,.metric-icon.teal{background:#e3f9ef;color:#149b78}
.metric-icon.purple{background:#ebf4f0;color:#448b76}
.metric-icon.yellow{background:#f7f7eb;color:#aaa044}
.notice{background:#e9f6f0;border-color:#cde9db;color:#5b8275}
.notice strong{color:#156951}
.bars .bar-fill{background:linear-gradient(180deg,#1fd1a8,#078970)}
.progress>div{background:linear-gradient(90deg,#08987d,#20d1ab)}
.status-badge{background:#e7f8f0;color:#078c68}
.status-badge.charging{background:#fff2d6;color:#ae771f}
.status-badge.offline{background:#f6e9e9;color:#bc6666}
.status-badge:before{background:currentColor}
.data-table th{color:#748d84;border-bottom-color:#e1ebe7}
.data-table td{border-bottom-color:#eff4f1;color:#3f5b52}
.data-table tbody tr:hover{background:#f6fbf8}
.data-table td strong{color:#16352c}
.chip.success{background:#def6e9;color:#168563}
.tenant-select,select{border-color:#d5e5de}
.search{border-color:#d3e3db}
.search:focus{outline-color:#42d5ad}
.site-section{border-radius:13px;background:#fff;border:1px solid #e0ebe6;box-shadow:0 2px 13px #1534270b;margin:17px 0;overflow:hidden}
.site-head{display:flex;align-items:center;gap:18px;width:100%;padding:21px 23px;background:#fff;color:#17352f;border:0;text-align:left}
.site-head:hover{background:#f8fcfa}
.site-visual{height:41px;min-width:41px;border-radius:11px;display:grid;place-items:center;background:#daf7eb;color:#07836b;font-size:23px}
.site-name{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}
.site-name strong{font-size:16px;font-weight:800;letter-spacing:-.35px}
.site-name small{font-size:12px;color:#81938d;font-weight:500}
.site-numbers{display:flex;flex-direction:column;gap:5px;text-align:right;font-weight:800;font-size:13px;white-space:nowrap}
.site-numbers small{font-weight:500;color:#81968d;font-size:11px}
.site-arrow{color:#679789;font-size:20px;width:22px;text-align:center}
.site-details{border-top:1px solid #e7efeb}
.points-header,.point-row{display:grid;grid-template-columns:minmax(190px,1.55fr) minmax(95px,.62fr) minmax(135px,1.13fr) minmax(125px,1fr) 80px;gap:12px;align-items:center}
.points-header{padding:13px 22px;background:#f6f9f8;color:#799187;font-size:10px;font-weight:800;letter-spacing:.7px;text-transform:uppercase}
.point-row{padding:15px 22px;min-height:70px}
.point-group + .point-group{border-top:1px solid #edf2ef}
.point-row:hover{background:#fbfefd}
.point-name{display:flex;align-items:center;gap:13px;min-width:0}
.device-ico{display:grid;place-items:center;width:37px;min-width:37px;height:37px;border-radius:11px;background:#e0f8ed;color:#058e72;font-size:22px;font-weight:800}
.point-name strong,.point-connect strong{display:block;font-weight:800;font-size:12px;color:#163b30;word-break:break-word}
.point-name small,.point-connect small{display:block;margin-top:5px;color:#8ca099;font-size:11px}
.point-current{font-size:12px;font-weight:700;display:flex;align-items:center;gap:9px}
.charge-symbol{display:grid;place-items:center;border-radius:50%;width:23px;height:23px;flex:none;font-size:11px}
.charge-symbol.ready{background:#d8f7e7;color:#109b67;border:1px solid #93e0b9;font-size:10px}
.charge-symbol.charging{background:#fff0cb;color:#bd8618;font-size:18px}
.charge-symbol.offline{background:#f8e8e8;color:#c66767}
.point-people{font-size:12px;color:#5c776e;line-height:1.5}
.detail-button{border:1px solid #d6e8e0;border-radius:8px;background:#fff;color:#15836c;padding:8px 9px;font-size:11px;font-weight:800}
.detail-button:hover{background:#ecf9f2}
.detail-button span{padding-left:4px}
.point-expanded{background:#f4faf7;padding:21px 24px 18px 72px;display:flex;align-items:flex-start;gap:24px;flex-wrap:wrap;border-top:1px solid #e6f0e9}
.point-expanded>div{display:flex;flex-direction:column;gap:5px}
.point-expanded small{color:#829a90;font-size:10px}
.point-expanded strong{font-size:12px;overflow-wrap:anywhere}
.point-expanded p{margin:0;color:#789189;font-size:11px;width:100%}
.point-empty{padding:24px;color:#83968f}
.toolbar{gap:12px}
@media(max-width:1100px){
 .points-header,.point-row{grid-template-columns:minmax(170px,1.5fr) 90px minmax(120px,1fr) 95px}
 .points-header>span:nth-child(4),.point-people{display:none}
 .site-head{padding:17px}
 .points-header,.point-row{padding-left:15px;padding-right:15px}
}
@media(max-width:720px){
 .site-head{gap:10px}
 .site-numbers small{display:none}
 .points-header{display:none}
 .point-row{display:flex;flex-wrap:wrap;gap:12px}
 .point-name{width:100%;flex:1 0 100%}
 .point-current{flex:1}
 .point-connect{display:none}
 .detail-button{margin-left:auto}
 .point-expanded{padding:18px}
 .brand-logo{max-height:65px}
}

/* Master/Slave station management: compact accessible nested rows */
[hidden]{display:none!important}
.station-group + .station-group{border-top:2px solid #e7efea}
.station-group-title{display:flex;align-items:center;gap:13px;padding:14px 24px;background:linear-gradient(90deg,#e8f9f1,#f7fbf9);border-bottom:1px solid #d9ede2}
.station-glyph{display:grid;place-items:center;min-width:35px;height:35px;border-radius:9px;background:#0d7967;color:#e6fff5;font-size:19px}
.station-group-title>div{display:flex;flex-direction:column;gap:5px}
.station-group-title strong{font-size:13px;font-weight:800;color:#1b5142}
.station-group-title small{font-size:11px;color:#77948b}
.station-group-title + .point-group .point-row{border-top:0}
.station-group-title ~ .point-group .point-row .point-name{padding-left:13px}
.assign-user{width:100%;max-width:225px;min-width:110px;font-size:12px;padding:8px 22px 8px 8px;border-radius:8px;border:1px solid #cfe7db;background:#fff;color:#245447}
.assign-user:focus{outline:2px solid #57cfaf;outline-offset:1px}
.station-modal{width:min(680px,calc(100vw - 28px));max-height:min(88vh,920px);overflow-y:auto}
.station-modal h2{margin:0 0 10px}
.station-modal>.inline-help{line-height:1.6}
.station-count-panel{background:#eff9f4;border:1px solid #d3ecdd;border-radius:11px;padding:17px;margin:12px 0}
.station-count-panel .inline-help{line-height:1.5;margin:4px 0 0}
.station-point-list{border-top:1px solid #e3ede7;padding-top:14px;margin-top:20px}
.station-point-list h3{font-size:14px;margin:0 0 13px}
.station-point-input{display:grid;grid-template-columns:28px minmax(140px,1fr) minmax(145px,1fr);gap:12px;align-items:end;padding:12px 0;border-bottom:1px solid #e8f0eb}
.station-point-input:has(input[id^="stationPointOcpp"]){grid-template-columns:28px minmax(130px,1fr) minmax(130px,1fr) minmax(130px,1fr)}
.station-point-input .field{margin:0;min-width:0}
.station-point-input .field input,.station-point-input .field select{width:100%;min-width:0}
.station-point-input .point-index{border-radius:9px;background:#d9f5e8;color:#148467;display:flex;align-items:center;justify-content:center;height:32px;font-weight:800}
.station-modal .modal-actions{position:sticky;bottom:-1px;background:white;padding-top:13px;padding-bottom:2px;border-top:1px solid #e8f0eb;z-index:2}
@media(max-width:720px){
 .station-group-title{padding:13px 16px}
 .station-group-title ~ .point-group .point-row .point-name{padding-left:0}
 .station-point-input,.station-point-input:has(input[id^="stationPointOcpp"]){grid-template-columns:30px 1fr}
 .station-point-input .point-index{align-self:start}
 .station-point-input .field{grid-column:2}
 .station-modal{max-height:90vh}
 .assign-user{max-width:185px}
 .points-header>span:nth-child(4){display:none}
}

/* Lightweight RFID table */
.rfid-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.rfid-owner{width:100%;min-width:145px;max-width:260px;border:1px solid #d4e5dd;border-radius:8px;background:#fff;padding:8px 9px;color:#1b5547;font-size:12px}
.rfid-owner:focus-visible{outline:2px solid #14bd96;outline-offset:2px}
.rfid-uid{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px}
.chip.blocked{background:#fae8e7;color:#ab4f53}
.rfid-empty{padding:17px;color:#758f83;font-size:12px;background:#f7fbf8;border-radius:9px;border:1px dashed #cadfd5}
.rfid-table .btn{white-space:nowrap}

/* Two-path RFID enrollment; plain, compact layout */
.rfid-enroll-modal{width:min(620px,calc(100vw - 24px));max-height:90vh;overflow-y:auto}
.rfid-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:17px 0 20px}
.rfid-mode{padding:11px 12px;border:1px solid #cfe3d9;border-radius:9px;background:#f6faf8;color:#46675b;font-weight:700;text-align:center}
.rfid-mode:hover{border-color:#63c9a9}
.rfid-mode.active,.rfid-mode[aria-pressed="true"]{background:#e0f7eb;border-color:#1ab48e;color:#0b7560}
.rfid-mode:focus-visible{outline:2px solid #16c8a1;outline-offset:2px}
.rfid-capture-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:10px 0}
.rfid-scan-status{padding:13px 15px;border:1px solid #cfe4da;border-radius:9px;background:#f6faf8;font-size:12px;color:#4e7765;line-height:1.5}
.rfid-captured-tag{display:flex;flex-direction:column;gap:8px;margin:12px 0;padding:15px;border-radius:10px;border:1px solid #a5dfc4;background:#e8f8ef;color:#165b48}
.rfid-captured-tag code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:16px;letter-spacing:.8px;font-weight:800}
.rfid-captured-tag small{color:#557969;font-size:11px}
.rfid-enroll-modal .modal-actions{position:sticky;bottom:-1px;background:white;padding-top:13px;border-top:1px solid #e6efe9;z-index:2}
@media(max-width:560px){.rfid-mode-tabs{grid-template-columns:1fr}.rfid-capture-actions .btn{width:100%}}

/* Chargepoint lifecycle and technical details */
.point-detail-panel{background:#f5faf7;padding:18px 24px;border-top:1px solid #e0ede7}
.point-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.point-detail-grid>div{min-width:0;display:flex;flex-direction:column;gap:6px}
.point-detail-grid small,.customer-data-grid small{font-size:11px;color:#739187;font-weight:600}
.point-detail-grid strong,.customer-data-grid strong{font-size:12px;font-weight:700;color:#20493c;overflow-wrap:anywhere;word-break:break-word}
.point-detail-grid .point-wide{grid-column:span 2}
.point-detail-panel .inline-help{margin:14px 0;line-height:1.5}
.point-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}
.point-actions .btn{box-shadow:none}
.point-group.point-disabled{background:#f7f8f7}
.point-disabled .device-ico{background:#ededed;color:#8c9793}
.customer-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px;padding:8px 0}
.customer-data-grid>div{display:flex;flex-direction:column;gap:7px;min-width:0}
.point-edit-modal{width:min(610px,calc(100vw - 28px));max-height:88vh;overflow-y:auto}
.point-edit-section{color:#286c58;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.65px;border-top:1px solid #e0eee6;padding-top:15px;margin:17px 0 10px}
.point-edit-modal .modal-actions{position:sticky;bottom:-1px;background:#fff;padding-top:12px;border-top:1px solid #e1ece5}
@media(max-width:760px){
 .point-detail-panel{padding:16px}
 .point-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .customer-data-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:510px){
 .point-detail-grid,.customer-data-grid{grid-template-columns:1fr}
 .point-detail-grid .point-wide{grid-column:span 1}
}

/* ChargeVisor Business v3 — BLITZ-inspired deep teal gradients, no flat green KPI blocks */
:root{
  --cv-deep:#081b1d;--cv-deeper:#061416;--cv-teal:#12cbaa;--cv-mint:#26e1bf;
  --cv-panel:#fff;--cv-ink:#17322f;--cv-subtle:#e7f0eb
}
body{background:linear-gradient(152deg,#f4f8f6 0%,#eff5f3 38%,#eaf2ef 100%);color:#18332d}
.sidebar{background:linear-gradient(165deg,#0d302b 0%,#091d1e 46%,#061517 100%);border-right:1px solid #164439}
.sidebar-help{background:linear-gradient(140deg,#173e36,#102724);border-color:#285447}
.topbar{background:#fafdfc;border-bottom:1px solid #dceae3}
.breadcrumb strong{color:#225047}
.headline h1{color:#152e2a}
.eyebrow{color:#058d76}
.content{max-width:1580px}
.btn:not(.ghost):not(.danger):not(.secondary){background:linear-gradient(110deg,#10b89a,#13d0af);border:1px solid #11c2a2;color:#072824;box-shadow:0 3px 10px #0ab38b1c}
.btn:not(.ghost):not(.danger):not(.secondary):hover{filter:brightness(.96)}
.bolt-icon{width:19px;height:22px;object-fit:contain;display:inline-block;vertical-align:middle}
.nav-bolt{width:18px;height:20px}
.status-bolt{width:14px;height:17px}
.point-bolt{width:19px;height:23px}
.metric-bolt{width:20px;height:24px}
.charge-symbol.charging{background:rgba(255,169,109,.11)}
.device-ico,.charger-icon{background:linear-gradient(145deg,#174e43,#0f322e)!important;border:1px solid #255449;color:#fff}
.metric{background:linear-gradient(135deg,#154c40 0%,#0e3430 49%,#0a2022 100%);border:1px solid #28554b;box-shadow:0 12px 28px #082e2710;position:relative;overflow:hidden;min-height:146px}
.metric:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 16% 0%,rgba(31,214,165,.10),transparent 55%);pointer-events:none}
.metric .metric-label,.metric:first-child .metric-label{color:#9adacf}
.metric .metric-value,.metric:first-child .metric-value{color:#f3fffa;font-weight:800}
.metric .metric-foot,.metric:first-child .metric-foot{color:#9cc0b6;line-height:1.45}
.metric .metric-icon,.metric:first-child .metric-icon{background:rgba(46,208,175,.12);border:1px solid #377463;color:#34dfbb}
.metric.issue-offline .metric-icon{background:rgba(239,129,114,.14);border-color:#86574c;color:#ff998b}
.metric.issue-warning .metric-icon{background:rgba(255,184,90,.15);border-color:#816b3c;color:#ffd183;font-weight:900}
.metric.energy{background:linear-gradient(135deg,#134839 0%,#0f3a34 38%,#081e22 100%)}
.health-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}
.health-metrics .metric{padding:18px 19px;min-height:141px}
.health-metrics .metric-value{font-size:24px;letter-spacing:-1px;white-space:normal}
.health-metrics .metric-foot{font-size:10px}
.health-panel{margin:0 0 20px;padding-bottom:12px;border-color:#e0ede8;overflow:hidden}
.health-panel .panel-head{padding-bottom:12px}
.health-overall{font-size:11px;font-weight:800;padding:9px 12px;border-radius:20px;white-space:nowrap}
.health-overall.has-issues{background:#fff2e3;color:#ad681e}
.health-overall.all-good{background:#e7f7ed;color:#118459}
.health-legend{display:flex;align-items:center;gap:16px;flex-wrap:wrap;font-size:11px;color:#70897f;margin:0 20px 14px}
.health-legend>span{display:flex;gap:6px;align-items:center}
.health-dot{display:inline-block;border-radius:50%;width:8px;height:8px}
.health-dot.online{background:#16b38d}.health-dot.offline{background:#e46f69}.health-dot.warning{background:#e8a94c}.health-dot.disabled{background:#889c99}
.health-site-list{border-top:1px solid #e6efe9;margin:0 4px}
.health-site-row{display:flex;align-items:center;gap:16px;width:100%;border:0;border-bottom:1px solid #eaf0ec;background:#fff;padding:15px 17px;text-align:left;color:#244238;transition:background .15s}
.health-site-row:hover{background:#f5faf7}
.health-site-identity{display:flex;flex-direction:column;gap:5px;flex:1;min-width:140px}
.health-site-identity strong{font-size:12px}
.health-site-identity small{color:#79918a;font-size:11px}
.health-site-badges{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.health-pill{font-size:10px;font-weight:800;padding:7px 9px;border-radius:7px;white-space:nowrap}
.health-pill.red{background:#fae8e7;color:#b74e46}
.health-pill.orange{background:#fff1dc;color:#a06c27}
.health-pill.grey{background:#e9eeeb;color:#607872}
.health-pill.green{background:#e4f7eb;color:#138561}
.health-link{font-size:11px;font-weight:800;color:#098c74;white-space:nowrap;margin-left:12px}
.health-panel>.inline-help{margin:12px 21px 0}
.health-empty{padding:20px}
.metrics.session-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
.session-metrics .metric{min-height:146px}
.filter-panel{margin-bottom:18px}
.session-filters{display:grid;grid-template-columns:repeat(4,minmax(145px,1fr));gap:14px 16px;padding:2px 0 6px}
.session-filters label{display:flex;flex-direction:column;gap:6px;color:#68877a;font-size:11px;font-weight:800;min-width:0}
.session-filters select,.session-filters input{max-width:none;width:100%;height:40px;border-radius:9px;border:1px solid #d3e5dc;background:#fafdfc;color:#294c40;font-size:12px;font-weight:500;min-width:0;padding:7px 10px}
.session-filters .search{width:100%;max-width:initial}
.session-filters label.session-search-label{grid-column:span 1}
.filter-panel .panel-head{margin-bottom:15px}
.filter-note{margin:12px 0 2px;font-size:11px;color:#83968e}
.table-hint{color:#6c9181;font-size:11px;white-space:nowrap}
.session-table th{white-space:nowrap}
.session-table td{font-size:12px}
.panel{border-color:#dce9e1}
@media(max-width:1480px){
  .health-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
  .session-filters{grid-template-columns:repeat(3,minmax(155px,1fr))}
}
@media(max-width:1000px){
  .health-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .session-filters{grid-template-columns:repeat(2,minmax(140px,1fr))}
  .health-site-row{flex-wrap:wrap}
  .health-link{margin-left:auto}
}
@media(max-width:600px){
  .metrics.health-metrics,.metrics.session-metrics{grid-template-columns:1fr}
  .health-metrics .metric{min-height:125px}
  .health-site-badges{justify-content:flex-start}
  .health-site-identity{flex-basis:100%}
  .session-filters{grid-template-columns:1fr}
  .filter-panel .panel-head{flex-wrap:wrap}
  .health-legend{gap:9px}
}

/* Override earlier first-card solid fill: every KPI uses a true BLITZ gradient */
.metrics .metric,.metrics .metric:first-child{
  background:linear-gradient(132deg,#174e43 0%,#103931 42%,#091e20 100%);
  border:1px solid #2a6154;
  color:#f3fff9;
}
.metrics .metric.energy,.metrics .metric:first-child.energy{
  background:linear-gradient(133deg,#165245 0%,#10443a 43%,#081d20 100%);
}
.metrics .metric .metric-icon,.metrics .metric:first-child .metric-icon{
  background:rgba(39,219,181,.15);border-color:rgba(65,225,189,.24);
}
.metrics .metric .metric-label,.metrics .metric:first-child .metric-label{color:#9adace}
.metrics .metric .metric-foot,.metrics .metric:first-child .metric-foot{color:#a3c8bd}
.metrics .metric .metric-value,.metrics .metric:first-child .metric-value{color:#fff}
.metrics .metric.issue-offline .metric-icon{background:rgba(239,129,114,.17);border-color:#8b5d54;color:#ffa393}
.metrics .metric.issue-warning .metric-icon{background:rgba(255,184,90,.16);border-color:#8d7149;color:#ffd183}

/* Lumina thumbnail: user's black cabled hardware, never oversized */
.station-with-lumina{display:flex;align-items:center;gap:16px;padding:7px 20px 7px 12px;min-height:81px}
.station-with-lumina .station-group-copy{display:flex;flex-direction:column;gap:5px;flex:1;min-width:0}
.station-with-lumina .station-group-copy strong{font-size:13px;color:#173b31}
.station-with-lumina .station-group-copy small{color:#718e84;font-size:11px}
.station-indicator-label{display:flex;flex-direction:column;gap:3px;font-size:11px;font-weight:700;color:#427965;white-space:nowrap}
.station-indicator-label small{color:#8a9e97;font-size:10px;font-weight:400}
.lumina-preview{position:relative;display:inline-block;flex:0 0 auto;width:69px;height:76px;vertical-align:middle}
.lumina-preview img{display:block;width:100%;height:100%;object-fit:contain}
.lumina-preview.lumina-small{width:56px;height:62px}
.lumina-led{position:absolute;display:block;left:24%;top:8%;width:27%;height:3.3%;transform:rotate(13deg);border-radius:9px;pointer-events:none;z-index:2}
.lumina-charging .lumina-led{background:#4d9fff;box-shadow:0 0 5px 2px #449af7,0 0 12px 3px #70b7ff;animation:luminaPulse 2.7s ease-in-out infinite}
.lumina-ready .lumina-led{background:#3de5a8;box-shadow:0 0 5px 2px #32c986,0 0 12px 3px #64ffc6;animation:luminaPulse 3.4s ease-in-out infinite}
.lumina-warning .lumina-led{background:#ffb443;box-shadow:0 0 5px 2px #ed9a37,0 0 11px 2px #ffca66;animation:none;opacity:1;filter:none}
.lumina-error .lumina-led{background:#fa636e;box-shadow:0 0 5px 2px #e45059,0 0 11px 3px #f98589;animation:none;opacity:1;filter:none}
.lumina-off .lumina-led{background:#28343b;box-shadow:0 0 1px 1px #26363b;opacity:.9;animation:none}
@keyframes luminaPulse{0%,100%{opacity:.5;filter:brightness(.8)}50%{opacity:1;filter:brightness(1.3)}}
@media(prefers-reduced-motion:reduce){.lumina-led{animation:none!important;opacity:1!important;filter:none!important}}
.point-detail-device{display:flex;align-items:center;gap:12px;margin-bottom:13px;padding:4px 0 12px;border-bottom:1px solid #e1eee6}
.point-detail-device>span:last-child{display:flex;flex-direction:column;gap:5px}
.point-detail-device strong{color:#275646;font-size:12px}
.point-detail-device small{color:#81998d;font-size:11px}
.charger-head .lumina-preview{margin:-9px 0}
.price-rate{white-space:nowrap;font-size:12px;color:#126f5d}
.rate-source{display:block;color:#80968d;font-size:10px;margin-top:3px}
.metrics.session-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1100px){.metrics.session-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:610px){.metrics.session-metrics{grid-template-columns:1fr}.station-with-lumina{gap:10px;padding:10px}.lumina-preview{width:55px;height:61px}}

/* Compact Lumina icon: same position and footprint as the previous point icon.
   No extra station row or image card. */
.point-row .point-name>.lumina-preview {
  width: 37px;
  min-width: 37px;
  height: 40px;
  flex: 0 0 37px;
  margin: 0;
  padding: 0;
  display: inline-block;
  vertical-align: middle;
  background: transparent;
}
.point-row .point-name>.lumina-preview img {
  width: 37px;
  height: 40px;
  object-fit: contain;
  display: block;
}
.point-row .point-name>.lumina-preview .lumina-led {
  left: 24%;
  top: 8%;
  width: 27%;
  height: 3%;
}
.point-row .point-name {
  gap: 13px;
  align-items: center;
}
@media (max-width: 720px) {
  .point-row .point-name>.lumina-preview {
    width: 37px; min-width: 37px; height: 40px;
  }
}

/* Lumina v2: align overlay over the complete model's physical LED stripe.
   Orange and red stay lit; only blue/green pulse. */
.point-row .point-name>.lumina-preview .lumina-led,
.lumina-preview.lumina-small .lumina-led {
  top: 17%;
  left: 25%;
  width: 23%;
  height: 2.1px;
  transform: rotate(14deg);
  transform-origin: left center;
}
.lumina-warning .lumina-led, .lumina-error .lumina-led {
  animation: none !important;
  opacity: 1 !important;
  filter: none !important;
}


/* Walectra's guided OCPP installation view: only actual provisioned values are shown. */
.station-modal.ocpp-wizard{width:min(980px,calc(100vw - 28px));max-height:min(90vh,970px)}
.ocpp-guide-subtitle{font-size:13px;color:#6e8490;margin:0 0 18px}
.ocpp-guide{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(340px,1.15fr);gap:17px;margin:15px 0}
.ocpp-guide-steps,.ocpp-guide-data{background:#f8fafc;border:1px solid #dee9e5;border-radius:13px;padding:19px;min-width:0}
.ocpp-guide-steps h3{font-size:17px;margin:0 0 18px;color:#183b34}
.ocpp-step{display:flex;gap:12px;margin:0 0 22px;align-items:flex-start}
.ocpp-step:last-child{margin-bottom:0}
.ocpp-step-num{width:30px;height:30px;flex:0 0 30px;border-radius:50%;display:grid;place-items:center;background:#dceaff;color:#2666c9;font-weight:750}
.ocpp-step strong{display:block;font-size:13px;color:#1f4039;margin:3px 0 5px}
.ocpp-step p{color:#647b7f;font-size:12px;line-height:1.6;margin:0}
.ocpp-guide-status{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #d7e5e2;padding:11px 13px;border-radius:9px;color:#385863;font-size:12px;font-weight:650}
.ocpp-connection-dot{width:9px;height:9px;border-radius:50%;background:#b4bbc6;flex:none}
.ocpp-warning{background:#fff8ea;border:1px solid #efe1bf;border-radius:10px;padding:13px 15px;color:#77591c;font-size:12px;line-height:1.55}
.ocpp-important{font-size:12px;line-height:1.5;padding:11px 12px;border-radius:9px;background:#fff8ea;color:#80601c}
.ocpp-connection-card{border:1px solid #dde8e6;border-radius:11px;background:#fff;padding:17px;margin-top:14px;min-width:0}
.ocpp-connection-heading{display:flex;gap:8px;justify-content:space-between;align-items:center;margin-bottom:15px}
.ocpp-connection-heading h3{margin:0;color:#183e39;font-size:15px}
.ocpp-connection-tag{font-size:10px;color:#1c7360;background:#e7f6ee;padding:5px 8px;border-radius:20px;font-weight:750}
.ocpp-detail-field{margin-bottom:13px}
.ocpp-detail-label{display:block;color:#698290;font-size:11px;font-weight:700;margin-bottom:6px}
.ocpp-detail-value{display:flex;gap:7px;align-items:center}
.ocpp-detail-value input{min-width:0;width:100%;font-family:ui-monospace,Consolas,monospace;font-weight:620;font-size:12px;background:#f5f8fb;border:1px solid #dce4e9;letter-spacing:0;padding:12px}
.ocpp-detail-value .btn{white-space:nowrap;padding:9px 10px;flex:none}
.ocpp-small{color:#6a817e;font-size:11px;line-height:1.55;margin:2px 0 14px}
.ocpp-advanced{font-size:12px;color:#376c61;border-top:1px solid #e6ece9;padding-top:11px;margin:13px 0}
.ocpp-advanced summary{cursor:pointer;font-weight:650}
.ocpp-advanced-grid{margin:14px 0}
@media(max-width:780px){.ocpp-guide{grid-template-columns:1fr}.ocpp-guide-steps,.ocpp-guide-data{padding:15px}}
@media(max-width:500px){.ocpp-detail-value{flex-wrap:wrap}.ocpp-detail-value input{flex-basis:100%}.ocpp-step{margin-bottom:15px}}

/* Two-step station onboarding: minimal first step; connection guide on save. */
.cv-setup-progress{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:4px 0 16px}
.cv-setup-progress span{display:block;text-align:center;background:#f2f6f8;border:1px solid #e4eaf1;border-radius:8px;padding:11px 5px;color:#7b8d9c;font-size:12px;font-weight:650}
.cv-setup-progress span.current{background:#e2f6ec;border-color:#b6e6d2;color:#126f55}
.cv-setup-intro{margin:2px 0 17px;color:#5a7580;line-height:1.5;font-size:13px}
.cv-setup-advanced{background:#f8fafb;border:1px solid #e2ebe7;border-radius:10px;padding:13px 15px;margin:15px 0}
.cv-setup-advanced>summary{cursor:pointer;color:#4d6c6c;font-size:12px;font-weight:700}
.cv-setup-advanced>.field{margin-top:13px}
.cv-point-advanced{margin:6px 0;padding:9px}
.cv-point-connector{color:#6b837d;font-size:12px;align-self:center}
.cv-setup-note{border-left:3px solid #2cbaa0;background:#f0f9f5;color:#4c6e64;margin:16px 0;padding:12px 14px;border-radius:6px;font-size:12px;line-height:1.55}
@media(max-width:520px){.cv-setup-progress{gap:5px}.cv-setup-progress span{font-size:11px}.cv-setup-note{padding:10px}}

/* FIX: .modal's max-width:475px was constraining both station dialogs despite wider width rules. */
.modal.station-modal{box-sizing:border-box;max-width:min(860px,calc(100vw - 48px));width:min(860px,calc(100vw - 48px));}
.modal.station-modal.ocpp-wizard{max-width:min(1180px,calc(100vw - 48px));width:min(1180px,calc(100vw - 48px));}
.modal.station-modal.ocpp-wizard .ocpp-guide{grid-template-columns:minmax(0,0.85fr) minmax(0,1.35fr);gap:22px}
.modal.station-modal.ocpp-wizard .ocpp-guide-data,.modal.station-modal.ocpp-wizard .ocpp-guide-steps{min-width:0}
.modal.station-modal.ocpp-wizard .ocpp-detail-value{min-width:0}
.modal.station-modal.ocpp-wizard .ocpp-detail-value input{flex:1 1 180px;width:0;min-width:0}
@media(max-width:850px){
 .modal.station-modal.ocpp-wizard .ocpp-guide{grid-template-columns:1fr}
 .modal.station-modal.ocpp-wizard .ocpp-detail-value input{width:0}
}
@media(max-width:560px){
 .modal.station-modal,.modal.station-modal.ocpp-wizard{max-width:calc(100vw - 20px);width:calc(100vw - 20px);padding:18px}
 .modal.station-modal.ocpp-wizard .ocpp-detail-value{flex-wrap:wrap}
 .modal.station-modal.ocpp-wizard .ocpp-detail-value input{flex-basis:100%;width:100%}
}

/* Explicitly distinguish virtual OCPP test stations from real customer hardware. */
.cv-virtual-pill{display:inline-flex;align-items:center;border-radius:999px;background:#fff2d9;color:#94601a;font-size:11px;font-weight:800;padding:7px 10px;white-space:nowrap}
.cv-virtual-option{display:flex;align-items:center;gap:10px;background:#fff9e8;border:1px solid #e8d6ae;padding:13px;border-radius:9px;margin:15px 0 0;cursor:pointer;font-size:13px;font-weight:650;color:#685121}
.cv-virtual-option input[type=checkbox]{flex:none;width:17px;height:17px}
.station-group-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.station-group-title>div{flex:1 1 160px}

/* ChargeVisor brand, using the distinctive dark emerald / mint visual language of BLITZ.
   Original layout remains ours; no PUMP Connect screen is reproduced. */
:root{--blue:#087c70;--cyan:#10cbb1;--navy:#092723;--navy2:#0a3430;--navy3:#12443b;--green:#08ad88}
.brand-word span{color:#2be5bf}
.nav-item.active{background:linear-gradient(100deg,#105749,#0b3b34);color:#dcfff4;border-left:3px solid #13d2af}
.nav-item.active .ico{color:#1de0bc}
.btn:not(.ghost):not(.danger):not(.secondary){background:linear-gradient(120deg,#19d0b1,#0abb9d);border-color:#13c8a7;color:#07332c;box-shadow:0 5px 17px #12c5a330}
.btn:not(.ghost):not(.danger):not(.secondary):hover{background:linear-gradient(120deg,#2be0c2,#0bc5a3)}
.brand-icon{background:linear-gradient(140deg,#08d8af,#137969)}
.preview-pill{background:#e9f9f3;color:#0c795e;border-color:#c5efe0}
.preview-dot,.help-dot{background:#11dbb3}
.cv-customers-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 93% 10%,#117963 0%,transparent 28%),linear-gradient(125deg,#092f2a,#0b5145);border:1px solid #14594c;border-radius:19px;padding:25px 30px;display:flex;gap:12px;justify-content:space-between;margin-bottom:20px;color:#e8fff7}
.cv-customers-hero>div{position:relative;z-index:1}
.cv-customers-hero span{font-size:10px;letter-spacing:1.5px;color:#83dbc7;font-weight:800}
.cv-customers-hero h2{font:800 26px Manrope,sans-serif;color:#fff;margin:9px 0}
.cv-customers-hero p{max-width:550px;margin:0;line-height:1.6;color:#b6d7ce;font-size:12px}
.cv-hero-bolt{opacity:.22;transform:scale(2);align-self:center;margin-right:40px}
.cv-hero-bolt .bolt-icon{width:38px;height:50px}
.cv-customer-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(350px,100%),1fr));gap:17px}
.cv-customer-card{padding:21px 22px;border:1px solid #dbeae5;border-radius:16px;background:#fff;box-shadow:0 4px 20px #123d2708;min-width:0}
.cv-customer-card.selected{border-color:#49cbae;box-shadow:0 0 0 2px #18c29b20}
.cv-customer-card-top{display:flex;gap:13px;align-items:center;margin-bottom:19px}
.cv-customer-avatar{display:grid;place-items:center;flex:0 0 47px;height:47px;border-radius:13px;color:#0f705c;background:#daf6e9;font-weight:800;font-size:15px}
.cv-customer-main{min-width:0;display:flex;flex-direction:column;gap:5px}
.cv-customer-main strong{font-size:15px;color:#193d39;overflow-wrap:anywhere}
.cv-customer-main small{font-size:11px;color:#338572}
.cv-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 14px;background:#f5faf8;border:1px solid #e2f0ea;border-radius:11px;padding:14px}
.cv-contact-grid>div:first-child{grid-column:1/-1}
.cv-contact-grid span{display:block;color:#708f86;font-size:10px;font-weight:700;margin-bottom:5px}
.cv-contact-grid strong{display:block;color:#254c43;font-size:12px;overflow-wrap:anywhere}
.cv-customer-actions{margin-top:16px;display:flex;flex-wrap:wrap;gap:8px}
.cv-customer-actions .btn{white-space:nowrap}
.cv-modal-sub{color:#638177!important;margin:5px 0 17px!important;line-height:1.5}
.cv-form{display:block}
.cv-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.cv-form-street{grid-template-columns:minmax(0,3fr) minmax(95px,1fr)}
.cv-form-location{grid-template-columns:minmax(100px,1fr) minmax(0,2.5fr)}
.cv-form-divider{font-weight:800;color:#0c6e5b;font-size:11px;text-transform:uppercase;letter-spacing:1.4px;border-bottom:1px solid #cdeade;padding:5px 0 12px;margin:10px 0 16px}
.cv-form-checkbox{display:flex;align-items:center;gap:9px;border-radius:11px;background:#f0faf5;border:1px solid #d9eee4;padding:12px;font-size:12px;color:#295649;cursor:pointer;margin:14px 0}
.cv-form-checkbox input{width:16px;height:16px;flex:none;accent-color:#079c7b}
.cv-site-actions{display:flex;justify-content:flex-end;padding:12px 13px;border-bottom:1px solid #e2ece6}
.cv-legacy-note{font-size:12px;color:#9b6926;background:#fff8e9;border-radius:9px;padding:11px}
@media(max-width:620px){.cv-form-grid{grid-template-columns:1fr}.cv-customers-hero{padding:20px}.cv-contact-grid{grid-template-columns:1fr}.cv-contact-grid>div:first-child{grid-column:auto}}

.cv-existing-user-note{border:1px solid #b9e6d6;background:#eaf9f2;color:#17634f;padding:11px 13px;border-radius:10px;font-size:12px;line-height:1.5;margin:8px 0 14px}
.cv-already-assigned{opacity:.68}
.cv-already-assigned:after{content:' · Bereits freigegeben';font-size:10px;color:#19755e;font-weight:700}

/* GLOBAL CONTEXT: the selected customer stays visible in all ChargeVisor menus. */
.topbar{display:flex;gap:14px;align-items:center}
.topbar .breadcrumb{min-width:0;flex:0 1 auto}
.cv-customer-context{display:flex;align-items:center;gap:8px;min-width:155px;max-width:min(30vw,340px);padding:6px 10px;background:#edf9f3;border:1px solid #cde8dc;border-radius:10px;flex:0 1 320px}
.cv-context-label{font-size:9px;letter-spacing:.6px;font-weight:850;white-space:nowrap;color:#438c74}
.cv-global-tenant{background:#fff;border:1px solid #badfcf;color:#135b49;min-width:0;width:100%;font-size:13px;font-weight:800;padding:8px;border-radius:7px;cursor:pointer;overflow:hidden;text-overflow:ellipsis}
.cv-context-fixed{font-size:13px;color:#124f42;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.topbar .top-right{margin-left:auto;flex-shrink:1;min-width:0}
.charge-symbol.unknown{background:#e8edef;color:#657980}
@media(max-width:1260px){.topbar .role-label{display:none}.cv-customer-context{max-width:min(38vw,320px)}}
@media(max-width:860px){.cv-customer-context{flex:1 1 170px;max-width:55vw}.cv-customer-context .cv-context-label{display:none}.topbar .preview-pill{display:none}}
@media(max-width:500px){.cv-customer-context{max-width:48vw;padding:4px 6px}.cv-global-tenant{font-size:12px;padding:6px}.topbar .avatar{display:none}}

#rolePreviewBtn{white-space:nowrap}
.cv-role-preview{position:sticky;top:77px;z-index:9;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px clamp(16px,4vw,40px);background:#fff8e7;border-bottom:1px solid #e8d6ae;color:#654e20}
.cv-role-preview strong{display:block;margin-bottom:3px}
@media(max-width:500px){.topbar:has(#rolePreviewBtn:not([hidden])){gap:6px;padding-inline:8px}.topbar:has(#rolePreviewBtn:not([hidden])) .top-right{gap:5px;width:auto}.topbar:has(#rolePreviewBtn:not([hidden])) .cv-customer-context{min-width:95px}}
