/* Ezequiel Cloud NOC v4.1 scoped theme */
.ez-v3-theme{
--bg:        #f4f6f9;
--bg-panel:  #ffffff;
--bg-panel2: #f8fafc;
--bg-hover:  #f0f3f7;
--border:    rgba(0,0,0,.08);
--border-md: rgba(0,0,0,.13);
--text:      #0d1117;
--text-2:    #4b5563;
--text-3:    #9ca3af;
--accent:        #2563eb;
--accent-soft:   #eff4ff;
--accent-hover:  #1d4ed8;
--accent-text:   #1e40af;
--ok:       #16a34a; --ok-soft:   #f0fdf4;
--warn:     #d97706; --warn-soft: #fffbeb;
--err:      #dc2626; --err-soft:  #fef2f2;
--info:     #0891b2; --info-soft: #ecfeff;
--sidebar-bg:     #0f172a;
--sidebar-text:   #94a3b8;
--sidebar-text-a: #f1f5f9;
--sidebar-active: rgba(37,99,235,.18);
--sidebar-border: rgba(255,255,255,.06);
--sidebar-label:  #475569;
--sidebar-w: 240px;
--topbar-h:  60px;
--shadow-sm: 0 1px 3px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.05);
--shadow-md: 0 4px 16px rgba(0,0,0,.09),0 2px 4px rgba(0,0,0,.06);
--shadow-lg: 0 10px 40px rgba(0,0,0,.12),0 4px 12px rgba(0,0,0,.07);
--r-sm:4px; --r-md:10px; --r-lg:14px; --r-xl:20px;
--font:'DM Sans',system-ui,sans-serif;
--mono:'DM Mono',monospace;
}
[data-theme="dark"] .ez-v3-theme{
--bg:#0a0f1a; --bg-panel:#111827; --bg-panel2:#161f2e; --bg-hover:#1a2438;
--border:rgba(255,255,255,.07); --border-md:rgba(255,255,255,.12);
--text:#f1f5f9; --text-2:#94a3b8; --text-3:#475569;
--accent:#3b82f6; --accent-soft:rgba(59,130,246,.12); --accent-hover:#2563eb; --accent-text:#93c5fd;
--ok:#22c55e; --ok-soft:rgba(34,197,94,.1);
--warn:#f59e0b; --warn-soft:rgba(245,158,11,.1);
--err:#f87171; --err-soft:rgba(248,113,113,.1);
--info:#22d3ee; --info-soft:rgba(34,211,238,.1);
--shadow-sm:0 1px 3px rgba(0,0,0,.3);
--shadow-md:0 4px 16px rgba(0,0,0,.35);
--shadow-lg:0 10px 40px rgba(0,0,0,.4);
}
.ez-v3-theme *,.ez-v3-theme *::before,.ez-v3-theme *::after{box-sizing:border-box;margin:0;padding:0}
.ez-v3-theme{font-size:15px}
.ez-v3-theme{font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.6;-webkit-font-smoothing:antialiased;transition:background .25s,color .25s}
.ez-v3-theme a{color:inherit;text-decoration:none}
.ez-v3-theme button{cursor:pointer;border:none;background:none;font:inherit}
.ez-v3-theme input{font:inherit}
.ez-v3-theme .ez-shell{display:grid;grid-template-columns:var(--sidebar-w) 1fr;min-height:100vh}
.ez-v3-theme .ez-sidebar{position:fixed;top:0;left:0;width:var(--sidebar-w);height:100vh;background:var(--sidebar-bg);border-right:1px solid var(--sidebar-border);display:flex;flex-direction:column;z-index:100;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;transition:transform .25s ease}
.ez-v3-theme .ez-sidebar::-webkit-scrollbar{display:none}
.ez-v3-theme .ez-sidebar-top{flex:1;padding-bottom:1rem}
.ez-v3-theme .ez-sidebar-bottom{padding:1rem;border-top:1px solid var(--sidebar-border)}
.ez-v3-theme .ez-brand{display:flex;align-items:center;padding:18px 16px 14px;border-bottom:1px solid var(--sidebar-border);margin-bottom:8px}
.ez-v3-theme .ez-brand-logo{display:flex;align-items:center;transition:opacity .15s}
.ez-v3-theme .ez-brand:hover .ez-brand-logo{opacity:.8}
.ez-v3-theme .ez-nav{padding:4px 10px}
.ez-v3-theme .ez-nav-group{margin-bottom:4px}
.ez-v3-theme .ez-nav-label{display:block;font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--sidebar-label);padding:12px 8px 4px}
.ez-v3-theme .ez-nav-item{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:var(--r-md);color:var(--sidebar-text);font-size:13.5px;font-weight:400;transition:background .15s,color .15s,transform .12s;margin-bottom:1px}
.ez-v3-theme .ez-nav-item:hover{background:rgba(255,255,255,.06);color:var(--sidebar-text-a);transform:translateX(2px)}
.ez-v3-theme .ez-nav-item.active{background:var(--sidebar-active);color:#fff;font-weight:500}
.ez-v3-theme .ez-nav-item.active .ez-nav-icon{color:var(--accent)}
.ez-v3-theme .ez-nav-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center;font-size:17px;flex-shrink:0;color:#5a6a85;transition:color .15s}
.ez-v3-theme .ez-nav-item:hover .ez-nav-icon{color:#94a3b8}
.ez-v3-theme .ez-nav-text{flex:1}
.ez-v3-theme .ez-nav-badge{font-size:10px;font-weight:700;padding:1px 6px;border-radius:99px;background:var(--err);color:#fff;line-height:1.5}
.ez-v3-theme .ez-nav-pill{font-size:9px;font-weight:700;padding:2px 6px;border-radius:99px;background:rgba(59,130,246,.25);color:#93c5fd;letter-spacing:.04em}
.ez-v3-theme .ez-system-status{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:var(--r-md);background:rgba(255,255,255,.04);border:1px solid var(--sidebar-border);margin-bottom:10px}
.ez-v3-theme .ez-status-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.ez-v3-theme .ez-system-status.ok .ez-status-dot{background:var(--ok);box-shadow:0 0 0 3px rgba(22,163,74,.2);animation:ezV41StatusPulse 2.5s ease-in-out infinite}
.ez-v3-theme .ez-system-status.warn .ez-status-dot{background:var(--warn);box-shadow:0 0 0 3px rgba(217,119,6,.2)}
.ez-v3-theme .ez-system-status strong{display:block;font-size:12px;font-weight:600;color:var(--sidebar-text-a)}
.ez-v3-theme .ez-system-status small{font-size:11px;color:var(--sidebar-label)}
@keyframes ezV41StatusPulse{0%,100%{box-shadow:0 0 0 3px rgba(22,163,74,.2)}50%{box-shadow:0 0 0 6px rgba(22,163,74,0)}}
.ez-v3-theme .ez-user-row{display:flex;align-items:center;gap:9px}
.ez-v3-theme .ez-user-avatar{width:32px;height:32px;border-radius:50%;background:var(--accent);color:#fff;font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ez-v3-theme .ez-user-info{flex:1;min-width:0}
.ez-v3-theme .ez-user-info strong{display:block;font-size:12px;font-weight:600;color:var(--sidebar-text-a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ez-v3-theme .ez-user-info small{font-size:10px;color:var(--sidebar-label);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.ez-v3-theme .ez-logout{color:var(--sidebar-label);font-size:17px;padding:4px;border-radius:var(--r-sm);transition:color .15s,background .15s}
.ez-v3-theme .ez-logout:hover{color:var(--err);background:rgba(220,38,38,.1)}
.ez-v3-theme .ez-workspace{margin-left:var(--sidebar-w);min-height:100vh;display:flex;flex-direction:column}
.ez-v3-theme .ez-topbar{position:sticky;top:0;z-index:50;height:var(--topbar-h);background:var(--bg-panel);border-bottom:1px solid var(--border);display:flex;align-items:center;gap:12px;padding:0 24px;transition:background .25s}
.ez-v3-theme .ez-menu-btn{display:none;width:36px;height:36px;border-radius:var(--r-md);align-items:center;justify-content:center;font-size:20px;color:var(--text-2);transition:background .15s,color .15s}
.ez-v3-theme .ez-menu-btn:hover{background:var(--bg-hover);color:var(--text)}
.ez-v3-theme .ez-search-wrap{flex:1;max-width:480px;position:relative;display:flex;align-items:center}
.ez-v3-theme .ez-search-icon{position:absolute;left:12px;font-size:16px;color:var(--text-3);pointer-events:none}
.ez-v3-theme .ez-search{width:100%;height:36px;padding:0 80px 0 38px;background:var(--bg);border:1px solid var(--border);border-radius:var(--r-lg);color:var(--text);font-size:13.5px;transition:border .2s,box-shadow .2s,background .2s;outline:none}
.ez-v3-theme .ez-search:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(37,99,235,.12);background:var(--bg-panel)}
.ez-v3-theme .ez-search::placeholder{color:var(--text-3)}
.ez-v3-theme .ez-search-kbd{position:absolute;right:12px;font-family:var(--mono);font-size:11px;color:var(--text-3);background:var(--bg-hover);border:1px solid var(--border);border-radius:4px;padding:1px 6px}
.ez-v3-theme .ez-topbar-right{margin-left:auto;display:flex;align-items:center;gap:8px}
.ez-v3-theme .ez-btn-primary{display:flex;align-items:center;gap:6px;height:36px;padding:0 16px;background:var(--accent);color:#fff;border-radius:var(--r-lg);font-size:13.5px;font-weight:500;transition:background .15s,transform .12s,box-shadow .15s;box-shadow:0 2px 8px rgba(37,99,235,.3)}
.ez-v3-theme .ez-btn-primary:hover{background:var(--accent-hover);transform:translateY(-1px);box-shadow:0 4px 14px rgba(37,99,235,.4)}
.ez-v3-theme .ez-btn-primary:active{transform:scale(.97)}
.ez-v3-theme .ez-btn-primary i{font-size:16px}
.ez-v3-theme .ez-icon-btn{position:relative;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:var(--r-md);font-size:18px;color:var(--text-2);transition:background .15s,color .15s}
.ez-v3-theme .ez-icon-btn:hover{background:var(--bg-hover);color:var(--text)}
.ez-v3-theme .ez-bell-dot{position:absolute;top:5px;right:5px;min-width:15px;height:15px;background:var(--err);color:#fff;font-size:9px;font-weight:700;border-radius:99px;display:flex;align-items:center;justify-content:center;padding:0 3px;line-height:1;border:2px solid var(--bg-panel)}
.ez-v3-theme .ez-bell-btn.has-notif i{animation:ezV41BellRing 2.5s ease-in-out infinite;transform-origin:top center;color:var(--warn);display:inline-block}
@keyframes ezV41BellRing{0%,85%,100%{transform:rotate(0)}88%{transform:rotate(14deg)}92%{transform:rotate(-12deg)}96%{transform:rotate(8deg)}}
.ez-v3-theme .ez-topbar-user{display:flex;align-items:center;gap:8px;padding:0 4px}
.ez-v3-theme .ez-topbar-avatar{width:32px;height:32px;border-radius:50%;background:linear-gradient(135deg,var(--accent) 0%,#7c3aed 100%);color:#fff;font-size:13px;font-weight:600;display:flex;align-items:center;justify-content:center}
.ez-v3-theme .ez-topbar-name{font-size:13.5px;font-weight:500;color:var(--text)}
.ez-v3-theme .ez-main{flex:1;padding:28px 28px 40px}
.ez-v3-theme .ez-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:99;backdrop-filter:blur(2px)}
.ez-v3-theme .ez-overlay.show{display:block}
.ez-v3-theme .ez-page-header{margin-bottom:24px}
.ez-v3-theme .ez-page-eyebrow{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin-bottom:4px;display:block}
.ez-v3-theme .ez-page-title{font-size:26px;font-weight:600;letter-spacing:-.02em;color:var(--text);line-height:1.2}
.ez-v3-theme .ez-page-sub{font-size:14px;color:var(--text-2);margin-top:4px}
.ez-v3-theme .ez-card{background:var(--bg-panel);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow-sm);transition:box-shadow .2s,border-color .2s}
.ez-v3-theme .ez-card:hover{box-shadow:var(--shadow-md)}
.ez-v3-theme .ez-card-pad{padding:20px 22px}
.ez-v3-theme .ez-card-header{display:flex;align-items:flex-start;justify-content:space-between;padding:18px 22px 0;margin-bottom:16px}
.ez-v3-theme .ez-card-title{font-size:14px;font-weight:600;color:var(--text);letter-spacing:-.01em}
.ez-v3-theme .ez-card-sub{font-size:12px;color:var(--text-3);margin-top:2px}
.ez-v3-theme .ez-card-action{font-size:12.5px;font-weight:500;color:var(--accent);padding:4px 10px;border-radius:var(--r-sm);transition:background .15s;white-space:nowrap}
.ez-v3-theme .ez-card-action:hover{background:var(--accent-soft)}
.ez-v3-theme .ez-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin-bottom:24px}
.ez-v3-theme .ez-stat{background:var(--bg-panel);border:1px solid var(--border);border-radius:var(--r-lg);padding:20px 22px;display:flex;align-items:flex-start;justify-content:space-between;box-shadow:var(--shadow-sm);transition:transform .18s,box-shadow .18s,border-color .18s;cursor:default;position:relative;overflow:hidden}
.ez-v3-theme .ez-stat::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;border-radius:var(--r-lg) var(--r-lg) 0 0;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .3s ease}
.ez-v3-theme .ez-stat:hover{transform:translateY(-3px);box-shadow:var(--shadow-md);border-color:var(--border-md)}
.ez-v3-theme .ez-stat:hover::before{transform:scaleX(1)}
.ez-v3-theme .ez-stat.ok::before{background:var(--ok)}
.ez-v3-theme .ez-stat.warn::before{background:var(--warn)}
.ez-v3-theme .ez-stat.err::before{background:var(--err)}
.ez-v3-theme .ez-stat.info::before{background:var(--info)}
.ez-v3-theme .ez-stat-body{flex:1;min-width:0}
.ez-v3-theme .ez-stat-label{font-size:11.5px;font-weight:500;color:var(--text-2);letter-spacing:.01em;margin-bottom:6px;display:flex;align-items:center;gap:5px}
.ez-v3-theme .ez-stat-value{font-size:30px;font-weight:600;color:var(--text);line-height:1;letter-spacing:-.02em}
.ez-v3-theme .ez-stat-foot{display:flex;align-items:center;gap:5px;margin-top:8px;font-size:11.5px;color:var(--text-3)}
.ez-v3-theme .ez-stat-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0}
.ez-v3-theme .ez-stat-dot.ok{background:var(--ok);animation:ezV41StatusPulse 2.5s ease-in-out infinite}
.ez-v3-theme .ez-stat-dot.warn{background:var(--warn)}
.ez-v3-theme .ez-stat-dot.err{background:var(--err)}
.ez-v3-theme .ez-stat-dot.muted{background:var(--text-3)}
.ez-v3-theme .ez-stat-icon-wrap{width:44px;height:44px;border-radius:var(--r-md);display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0;margin-left:12px}
.ez-v3-theme .ez-stat-icon-wrap.blue{background:var(--accent-soft);color:var(--accent)}
.ez-v3-theme .ez-stat-icon-wrap.green{background:var(--ok-soft);color:var(--ok)}
.ez-v3-theme .ez-stat-icon-wrap.amber{background:var(--warn-soft);color:var(--warn)}
.ez-v3-theme .ez-stat-icon-wrap.cyan{background:var(--info-soft);color:var(--info)}
.ez-v3-theme .ez-stat-icon-wrap.red{background:var(--err-soft);color:var(--err)}
.ez-v3-theme .ez-badge{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:99px;font-size:11px;font-weight:500;white-space:nowrap}
.ez-v3-theme .ez-badge::before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.8;flex-shrink:0}
.ez-v3-theme .ez-badge.ok{background:var(--ok-soft);color:var(--ok)}
.ez-v3-theme .ez-badge.warn{background:var(--warn-soft);color:var(--warn)}
.ez-v3-theme .ez-badge.err{background:var(--err-soft);color:var(--err)}
.ez-v3-theme .ez-badge.info{background:var(--info-soft);color:var(--info)}
.ez-v3-theme .ez-badge.muted{background:var(--bg-hover);color:var(--text-3)}
.ez-v3-theme .ez-badge.muted::before{display:none}
.ez-v3-theme .ez-table-wrap{overflow-x:auto}
.ez-v3-theme .ez-table{width:100%;border-collapse:collapse;font-size:13.5px}
.ez-v3-theme .ez-table th{text-align:left;padding:10px 14px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--text-3);border-bottom:1px solid var(--border);white-space:nowrap}
.ez-v3-theme .ez-table td{padding:13px 14px;border-bottom:1px solid var(--border);color:var(--text);vertical-align:middle}
.ez-v3-theme .ez-table tr:last-child td{border-bottom:none}
.ez-v3-theme .ez-table tbody tr{transition:background .12s}
.ez-v3-theme .ez-table tbody tr:hover{background:var(--bg-hover);cursor:pointer}
.ez-v3-theme .ez-table tbody tr:nth-child(even){background:var(--bg-panel2)}
.ez-v3-theme .ez-table tbody tr:nth-child(even):hover{background:var(--bg-hover)}
.ez-v3-theme .ez-table td strong{font-weight:500}
.ez-v3-theme .ez-company-cell{display:flex;align-items:center;gap:10px}
.ez-v3-theme .ez-company-avatar{width:34px;height:34px;border-radius:var(--r-md);background:var(--accent-soft);color:var(--accent-text);font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;border:1px solid var(--border)}
.ez-v3-theme .ez-company-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.ez-v3-theme .ez-company-name{font-weight:500;font-size:13.5px}
.ez-v3-theme .ez-company-token{font-size:11.5px;color:var(--text-3);font-family:var(--mono)}
.ez-v3-theme .ez-chips{display:flex;flex-wrap:wrap;gap:4px}
.ez-v3-theme .ez-chip{font-size:10.5px;font-weight:500;padding:2px 7px;border-radius:4px;background:var(--bg-hover);color:var(--text-2);border:1px solid var(--border)}
.ez-v3-theme .ez-service-list{padding:0 22px 22px}
.ez-v3-theme .ez-service-row{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:var(--r-md);transition:background .15s,transform .12s;margin-bottom:2px}
.ez-v3-theme .ez-service-row:hover{background:var(--bg-hover);transform:translateX(3px)}
.ez-v3-theme .ez-service-logo{width:36px;height:36px;border-radius:var(--r-md);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;background:var(--accent-soft);color:var(--accent-text);flex-shrink:0;overflow:hidden}
.ez-v3-theme .ez-service-logo img{width:24px;height:24px;object-fit:contain}
.ez-v3-theme .ez-service-info{flex:1;min-width:0}
.ez-v3-theme .ez-service-info strong{font-size:13.5px;font-weight:500;display:block}
.ez-v3-theme .ez-service-info small{font-size:11.5px;color:var(--text-3)}
.ez-v3-theme .ez-alert-list{padding:0 22px 22px}
.ez-v3-theme .ez-alert-row{display:flex;align-items:flex-start;gap:10px;padding:10px;border-radius:var(--r-md);transition:background .12s;margin-bottom:2px}
.ez-v3-theme .ez-alert-row:hover{background:var(--bg-hover)}
.ez-v3-theme .ez-alert-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;margin-top:5px}
.ez-v3-theme .ez-alert-dot.ok{background:var(--ok)}
.ez-v3-theme .ez-alert-dot.warn{background:var(--warn)}
.ez-v3-theme .ez-alert-dot.err{background:var(--err)}
.ez-v3-theme .ez-alert-body{flex:1;min-width:0}
.ez-v3-theme .ez-alert-title{font-size:13px;font-weight:500}
.ez-v3-theme .ez-alert-meta{font-size:11.5px;color:var(--text-3);margin-top:1px}
.ez-v3-theme .ez-alert-time{font-size:11px;color:var(--text-3);white-space:nowrap}
.ez-v3-theme .ez-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:36px 20px;text-align:center;color:var(--text-3)}
.ez-v3-theme .ez-empty i{font-size:36px;opacity:.4}
.ez-v3-theme .ez-empty strong{font-size:14px;font-weight:500;color:var(--text-2)}
.ez-v3-theme .ez-empty small{font-size:12.5px}
.ez-v3-theme .ez-health-card{display:flex;align-items:center;gap:16px;padding:20px 22px;background:linear-gradient(135deg,var(--accent) 0%,#7c3aed 100%);border-radius:var(--r-lg);color:#fff;position:relative;overflow:hidden}
.ez-v3-theme .ez-health-card::before{content:'';position:absolute;top:-40px;right:-40px;width:140px;height:140px;border-radius:50%;background:rgba(255,255,255,.06)}
.ez-v3-theme .ez-health-card::after{content:'';position:absolute;bottom:-30px;left:40px;width:100px;height:100px;border-radius:50%;background:rgba(255,255,255,.04)}
.ez-v3-theme .ez-ring-wrap{position:relative;width:72px;height:72px;flex-shrink:0;z-index:1}
.ez-v3-theme .ez-ring-wrap svg{transform:rotate(-90deg)}
.ez-v3-theme .ez-ring-num{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:600;color:#fff}
.ez-v3-theme .ez-health-detail{flex:1;z-index:1}
.ez-v3-theme .ez-health-detail>span{font-size:12px;opacity:.75;display:block;margin-bottom:4px}
.ez-v3-theme .ez-health-detail>strong{display:block;font-size:16px;font-weight:600;margin-bottom:8px}
.ez-v3-theme .ez-health-segs{display:flex;gap:4px}
.ez-v3-theme .ez-seg{flex:1;height:4px;border-radius:2px;background:rgba(255,255,255,.2);transition:background .3s}
.ez-v3-theme .ez-seg.active{background:rgba(255,255,255,.85)}
.ez-v3-theme .ez-actions-grid{display:flex;flex-wrap:wrap;gap:8px;padding:0 22px 22px}
.ez-v3-theme .ez-action-btn{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:var(--r-md);font-size:13px;font-weight:500;background:var(--accent-soft);color:var(--accent-text);border:1px solid rgba(37,99,235,.15);transition:background .15s,transform .12s,box-shadow .12s}
.ez-v3-theme .ez-action-btn:hover{background:var(--accent);color:#fff;transform:translateY(-1px);box-shadow:0 3px 10px rgba(37,99,235,.3);border-color:transparent}
.ez-v3-theme .ez-action-btn:active{transform:scale(.97)}
.ez-v3-theme .ez-action-btn i{font-size:15px}
.ez-v3-theme .ez-action-btn.secondary{background:var(--bg-hover);color:var(--text-2);border-color:var(--border)}
.ez-v3-theme .ez-action-btn.secondary:hover{background:var(--bg-panel);color:var(--text);box-shadow:var(--shadow-sm)}
.ez-v3-theme #ez-toast{position:fixed;bottom:24px;right:24px;background:var(--bg-panel);border:1px solid var(--border);border-radius:var(--r-lg);padding:13px 18px;font-size:13.5px;font-weight:500;color:var(--text);box-shadow:var(--shadow-lg);z-index:9999;display:flex;align-items:center;gap:10px;min-width:240px;transform:translateY(80px);opacity:0;transition:transform .28s cubic-bezier(.34,1.56,.64,1),opacity .2s ease;pointer-events:none}
.ez-v3-theme #ez-toast.show{transform:translateY(0);opacity:1}
.ez-v3-theme #ez-toast .ez-toast-bar{position:absolute;bottom:0;left:0;height:3px;border-radius:0 0 var(--r-lg) var(--r-lg);background:var(--accent);width:100%;transform-origin:left;animation:ezV41ToastBar 3.5s linear forwards}
@keyframes ezV41ToastBar{from{transform:scaleX(1)}to{transform:scaleX(0)}}
.ez-v3-theme .ez-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.ez-v3-theme .ez-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.ez-v3-theme .ez-grid-main{display:grid;grid-template-columns:1fr 340px;gap:16px}
@keyframes ezV41FadeUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
.ez-v3-theme .ez-anim-1{animation:ezV41FadeUp .4s ease both}
.ez-v3-theme .ez-anim-2{animation:ezV41FadeUp .4s .07s ease both}
.ez-v3-theme .ez-anim-3{animation:ezV41FadeUp .4s .14s ease both}
.ez-v3-theme .ez-anim-4{animation:ezV41FadeUp .4s .21s ease both}
.ez-v3-theme .ez-anim-5{animation:ezV41FadeUp .4s .28s ease both}
.ez-v3-theme .ez-login-body{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--bg)}
.ez-v3-theme .ez-login-card{width:100%;max-width:400px;background:var(--bg-panel);border:1px solid var(--border);border-radius:var(--r-xl);padding:40px 36px;box-shadow:var(--shadow-lg)}
.ez-v3-theme .ez-login-brand{display:flex;flex-direction:column;align-items:center;margin-bottom:32px;gap:12px}
.ez-v3-theme .ez-login-icon{width:52px;height:52px;background:var(--accent);border-radius:var(--r-lg);display:flex;align-items:center;justify-content:center;font-size:26px;color:#fff;box-shadow:0 6px 20px rgba(37,99,235,.4)}
.ez-v3-theme .ez-login-brand strong{font-size:20px;font-weight:700;letter-spacing:-.02em;color:var(--text)}
.ez-v3-theme .ez-login-brand small{font-size:13px;color:var(--text-3);text-align:center}
.ez-v3-theme .ez-field{margin-bottom:16px}
.ez-v3-theme .ez-field label{display:block;font-size:12.5px;font-weight:500;color:var(--text-2);margin-bottom:6px}
.ez-v3-theme .ez-field input{width:100%;height:42px;padding:0 14px;background:var(--bg);border:1px solid var(--border);border-radius:var(--r-md);color:var(--text);font-size:14px;outline:none;transition:border .2s,box-shadow .2s}
.ez-v3-theme .ez-field input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.ez-v3-theme .ez-btn-block{width:100%;height:44px;background:var(--accent);color:#fff;border-radius:var(--r-md);font-size:14.5px;font-weight:600;transition:background .15s,box-shadow .15s,transform .12s;box-shadow:0 2px 8px rgba(37,99,235,.35);margin-top:8px}
.ez-v3-theme .ez-btn-block:hover{background:var(--accent-hover);box-shadow:0 4px 16px rgba(37,99,235,.45);transform:translateY(-1px)}
.ez-v3-theme .ez-login-error{background:var(--err-soft);color:var(--err);border:1px solid rgba(220,38,38,.2);border-radius:var(--r-md);padding:10px 14px;font-size:13px;margin-bottom:16px}
@media(max-width:1024px){.ez-v3-theme .ez-grid-main{grid-template-columns:1fr}.ez-v3-theme .ez-grid-2{grid-template-columns:1fr}}
@media(max-width:768px){.ez-v3-theme{--sidebar-w:260px}.ez-v3-theme .ez-sidebar{transform:translateX(-100%)}.ez-v3-theme .ez-sidebar.open{transform:translateX(0);box-shadow:var(--shadow-lg)}.ez-v3-theme .ez-workspace{margin-left:0}.ez-v3-theme .ez-menu-btn{display:flex}.ez-v3-theme .ez-search-wrap{max-width:220px}.ez-v3-theme .ez-search-kbd,.ez-v3-theme .ez-topbar-name{display:none}.ez-v3-theme .ez-main{padding:16px 16px 32px}.ez-v3-theme .ez-stat-grid{grid-template-columns:1fr 1fr}.ez-v3-theme .ez-grid-3{grid-template-columns:1fr}}
@media(max-width:480px){.ez-v3-theme .ez-stat-grid{grid-template-columns:1fr}.ez-v3-theme .ez-btn-primary span{display:none}}

/* Safe production base brand */
.ez-v3-theme .ez-brand{display:flex;align-items:center;gap:10px;padding:20px 16px 16px;border-bottom:1px solid var(--sidebar-border);margin-bottom:8px}
.ez-v3-theme .ez-brand-icon{width:36px;height:36px;background:var(--accent);border-radius:var(--r-md);display:flex;align-items:center;justify-content:center;font-size:18px;color:#fff;flex-shrink:0;box-shadow:0 4px 12px rgba(37,99,235,.4)}
.ez-v3-theme .ez-brand-text strong{display:block;font-size:14px;font-weight:600;color:#f1f5f9;letter-spacing:-.01em}
.ez-v3-theme .ez-brand-text span{font-size:11px;color:var(--sidebar-label);letter-spacing:.04em;text-transform:uppercase}

/* Fixed sidebar layout: keep the fixed sidebar out of grid sizing. */
.ez-v3-theme .ez-shell{display:block;min-height:100vh;background:var(--bg);color:var(--text)}
.ez-v3-theme .ez-workspace{margin-left:var(--sidebar-w);width:calc(100% - var(--sidebar-w));min-height:100vh;display:flex;flex-direction:column}
.ez-v3-theme .ez-main{flex:1;padding:28px 28px 40px;width:100%;max-width:none;margin:0;box-sizing:border-box}
.ez-v3-theme .ez-shell,.ez-v3-theme .ez-workspace,.ez-v3-theme .ez-main{min-width:0}
.ez-v3-theme.ez-v3-login .ez-main{padding:0;min-height:100vh}
@media(max-width:768px){.ez-v3-theme .ez-workspace{margin-left:0;width:100%}}

/* Legacy page compatibility: restyle existing premium/form/table pages to match v3. */
.ez-v3-theme .premium-page{width:100%;max-width:none;margin:0;color:var(--text)}
.ez-v3-theme .premium-page *{box-sizing:border-box}
.ez-v3-theme .premium-page a{color:inherit;text-decoration:none}
.ez-v3-theme .premium-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:0 0 24px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;color:var(--text)}
.ez-v3-theme .premium-hero h1{margin:4px 0 4px;font-size:28px;font-weight:650;line-height:1.15;color:var(--text);letter-spacing:0}
.ez-v3-theme .premium-hero p{margin:0;max-width:780px;font-size:14px;line-height:1.55;color:var(--text-2)}
.ez-v3-theme .premium-kicker{display:block;margin-bottom:4px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent)}
.ez-v3-theme .premium-hero-actions,.ez-v3-theme .premium-actions,.ez-v3-theme .create-form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.ez-v3-theme .premium-panel,.ez-v3-theme .premium-card,.ez-v3-theme .panel-card{background:var(--bg-panel);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow-sm);color:var(--text)}
.ez-v3-theme .premium-panel{padding:20px 22px;margin-bottom:16px}
.ez-v3-theme .premium-card{padding:20px 22px}
.ez-v3-theme .premium-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 16px;padding:0}
.ez-v3-theme .premium-panel-head h2,.ez-v3-theme .premium-card h2,.ez-v3-theme .panel-card h2{margin:0;color:var(--text);font-size:18px;font-weight:650;line-height:1.25;letter-spacing:0}
.ez-v3-theme .premium-panel-head p,.ez-v3-theme .premium-card p,.ez-v3-theme .panel-card p{margin:3px 0 0;color:var(--text-2);font-size:13px;line-height:1.45}
.ez-v3-theme .premium-metric-grid,.ez-v3-theme .premium-status-grid,.ez-v3-theme .premium-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin:0 0 16px}
.ez-v3-theme .premium-stat{position:relative;display:flex;align-items:center;gap:14px;min-height:120px;overflow:hidden;transition:transform .18s,box-shadow .18s,border-color .18s}
.ez-v3-theme .premium-stat::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--accent);opacity:.95}
.ez-v3-theme .premium-stat:hover{transform:translateY(-2px);box-shadow:var(--shadow-md);border-color:var(--border-md)}
.ez-v3-theme .premium-stat small{display:block;font-size:12px;font-weight:600;color:var(--text-2);line-height:1.35}
.ez-v3-theme .premium-stat strong{display:block;margin-top:3px;font-size:26px;font-weight:650;color:var(--text);line-height:1.05;letter-spacing:0}
.ez-v3-theme .premium-stat em{display:block;margin-top:7px;font-style:normal;font-size:12px;font-weight:500;color:var(--text-3);line-height:1.4}
.ez-v3-theme .premium-icon{width:46px;height:46px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:var(--r-md);background:var(--accent-soft);color:var(--accent);font-size:12px;font-weight:800;border:1px solid rgba(37,99,235,.14);overflow:hidden}
.ez-v3-theme .premium-icon img,.ez-v3-theme .service-brand{max-width:28px;max-height:28px;object-fit:contain}
.ez-v3-theme .premium-icon.ok{background:var(--ok-soft);color:var(--ok);border-color:rgba(22,163,74,.18)}
.ez-v3-theme .premium-icon.warn{background:var(--warn-soft);color:var(--warn);border-color:rgba(217,119,6,.2)}
.ez-v3-theme .premium-icon.err{background:var(--err-soft);color:var(--err);border-color:rgba(220,38,38,.2)}
.ez-v3-theme .premium-icon.neutral{background:var(--bg-hover);color:var(--text-2);border-color:var(--border)}
.ez-v3-theme .premium-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:0 16px;border:1px solid rgba(37,99,235,.15);border-radius:var(--r-lg);background:var(--accent);color:#fff;font-size:13.5px;font-weight:600;line-height:1;box-shadow:0 2px 8px rgba(37,99,235,.28);transition:background .15s,transform .12s,box-shadow .15s,border-color .15s}
.ez-v3-theme .premium-btn:hover{background:var(--accent-hover);transform:translateY(-1px);box-shadow:0 4px 14px rgba(37,99,235,.36)}
.ez-v3-theme .premium-btn.secondary{background:var(--bg-panel);color:var(--text-2);border-color:var(--border);box-shadow:var(--shadow-sm)}
.ez-v3-theme .premium-btn.secondary:hover{background:var(--bg-hover);color:var(--text);box-shadow:var(--shadow-sm)}
.ez-v3-theme .premium-btn.primary{background:var(--accent);color:#fff}
.ez-v3-theme .premium-btn.tiny{min-height:34px;padding:0 12px;border-radius:var(--r-md);font-size:12px}
.ez-v3-theme .premium-btn[disabled]{opacity:.48;cursor:not-allowed;transform:none}
.ez-v3-theme .premium-input,.ez-v3-theme input.premium-input,.ez-v3-theme select.premium-input,.ez-v3-theme textarea.premium-input{width:100%;min-height:42px;padding:0 14px;background:var(--bg);border:1px solid var(--border);border-radius:var(--r-md);color:var(--text);font-size:14px;font-weight:500;outline:none;transition:border .2s,box-shadow .2s,background .2s}
.ez-v3-theme textarea.premium-input{min-height:96px;padding-top:12px;resize:vertical}
.ez-v3-theme .premium-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(37,99,235,.12);background:var(--bg-panel)}
.ez-v3-theme .premium-input::placeholder{color:var(--text-3)}
.ez-v3-theme .create-field,.ez-v3-theme .premium-form label,.ez-v3-theme .auditor-form-panel label{display:flex;flex-direction:column;gap:7px;min-width:0;color:var(--text);font-size:12.5px;font-weight:650}
.ez-v3-theme .create-field small,.ez-v3-theme .premium-form small,.ez-v3-theme .auditor-form-panel small{font-size:11.5px;font-weight:500;line-height:1.4;color:var(--text-3)}
.ez-v3-theme .create-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ez-v3-theme .create-field-wide{grid-column:1/-1}
.ez-v3-theme .premium-badge,.ez-v3-theme .system-pill,.ez-v3-theme .vpn-status-badge,.ez-v3-theme .vpn-security-badge,.ez-v3-theme .status-badge{display:inline-flex;align-items:center;gap:5px;min-height:26px;padding:4px 10px;border-radius:999px;background:var(--bg-hover);color:var(--text-2);border:1px solid var(--border);font-size:11px;font-weight:650;line-height:1.15;white-space:nowrap}
.ez-v3-theme .premium-badge.ok,.ez-v3-theme .system-pill.ok,.ez-v3-theme .vpn-status-badge.ok,.ez-v3-theme .status-badge.ok{background:var(--ok-soft);color:var(--ok);border-color:rgba(22,163,74,.18)}
.ez-v3-theme .premium-badge.warn,.ez-v3-theme .system-pill.warn,.ez-v3-theme .vpn-status-badge.warn,.ez-v3-theme .status-badge.warn{background:var(--warn-soft);color:var(--warn);border-color:rgba(217,119,6,.2)}
.ez-v3-theme .premium-badge.err,.ez-v3-theme .system-pill.err,.ez-v3-theme .vpn-status-badge.err,.ez-v3-theme .status-badge.err{background:var(--err-soft);color:var(--err);border-color:rgba(220,38,38,.2)}
.ez-v3-theme .premium-badge.neutral,.ez-v3-theme .system-pill.neutral,.ez-v3-theme .status-badge.neutral{background:var(--bg-hover);color:var(--text-2);border-color:var(--border)}
.ez-v3-theme .premium-table-wrap{width:100%;overflow:auto;border:1px solid var(--border);border-radius:var(--r-lg);background:var(--bg-panel)}
.ez-v3-theme .premium-table{width:100%;border-collapse:collapse;font-size:13px;color:var(--text)}
.ez-v3-theme .premium-table th{padding:12px 14px;text-align:left;border-bottom:1px solid var(--border);background:var(--bg-panel2);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-3);white-space:nowrap}
.ez-v3-theme .premium-table td{padding:14px;border-bottom:1px solid var(--border);vertical-align:middle;color:var(--text)}
.ez-v3-theme .premium-table tbody tr:last-child td{border-bottom:0}
.ez-v3-theme .premium-table tbody tr:hover{background:var(--bg-hover)}
.ez-v3-theme .premium-entity-cell,.ez-v3-theme .company-cell{display:flex;align-items:center;gap:10px;min-width:0}
.ez-v3-theme .premium-avatar,.ez-v3-theme .company-avatar{width:38px;height:38px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:var(--r-md);background:var(--accent-soft);color:var(--accent-text);border:1px solid var(--border);font-size:12px;font-weight:800;overflow:hidden}
.ez-v3-theme .premium-avatar img,.ez-v3-theme .company-avatar img{width:100%;height:100%;object-fit:cover}
.ez-v3-theme .premium-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 10px;border-radius:var(--r-sm);background:var(--bg-hover);border:1px solid var(--border);font-size:12px;font-weight:600;color:var(--text-2)}
.ez-v3-theme .premium-actions a:hover{background:var(--accent-soft);color:var(--accent)}
.ez-v3-theme .premium-empty{display:flex;align-items:center;justify-content:center;min-height:120px;padding:30px;text-align:center;border:1px dashed var(--border-md);border-radius:var(--r-lg);background:var(--bg-panel2);color:var(--text-2)}
.ez-v3-theme .premium-empty strong{display:block;color:var(--text);font-size:14px;font-weight:650}
.ez-v3-theme .premium-empty p{margin:6px 0 14px;color:var(--text-2);font-size:13px}

/* Company creation flow */
.ez-v3-theme .company-create-shell{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}
.ez-v3-theme .company-create-form-stack{min-width:0}
.ez-v3-theme .create-section{position:relative}
.ez-v3-theme .create-section-title{display:flex;align-items:flex-start;gap:12px}
.ez-v3-theme .create-step-number{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:50%;background:var(--accent-soft);border:1px solid rgba(37,99,235,.2);color:var(--accent);font-size:14px;font-weight:800}
.ez-v3-theme .create-readonly-card,.ez-v3-theme .create-summary-list>div,.ez-v3-theme .create-safe-notes-v2 span{padding:14px 16px;border-radius:var(--r-md);background:var(--bg-panel2);border:1px solid var(--border)}
.ez-v3-theme .create-readonly-card span,.ez-v3-theme .create-summary-list span{display:block;margin-bottom:4px;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-3)}
.ez-v3-theme .create-readonly-card strong,.ez-v3-theme .create-summary-list strong{display:block;color:var(--text);font-size:14px;font-weight:650;line-height:1.3;word-break:break-word}
.ez-v3-theme .create-file-control{display:flex;align-items:center;min-height:42px;padding:0 96px 0 14px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--bg);color:var(--text-2);font-size:13px;font-weight:600;position:relative;overflow:hidden}
.ez-v3-theme .create-file-control::after{content:"Selecionar";position:absolute;right:10px;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;height:26px;padding:0 10px;border-radius:999px;background:var(--accent);color:#fff;font-size:11px;font-weight:800;box-shadow:0 8px 18px rgba(37,99,235,.25);pointer-events:none}
.ez-v3-theme .create-file-control input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;color:transparent;font-size:0;appearance:none;-webkit-appearance:none;cursor:pointer;z-index:2}
.ez-v3-theme .create-file-control input[type=file]::file-selector-button{display:none}
.ez-v3-theme .create-file-control input[type=file]::-webkit-file-upload-button{display:none}
.ez-v3-theme .create-file-control span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ez-v3-theme .create-password-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.ez-v3-theme .device-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.ez-v3-theme .choice-radio{position:absolute;opacity:0;pointer-events:none}
.ez-v3-theme .device-option{min-height:116px;padding:16px 12px;border:1px solid var(--border);border-radius:var(--r-lg);background:var(--bg-panel2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;color:var(--text);cursor:pointer;transition:border .15s,background .15s,box-shadow .15s,transform .12s}
.ez-v3-theme .device-option:hover{transform:translateY(-1px);box-shadow:var(--shadow-sm);border-color:var(--border-md)}
.ez-v3-theme .device-option img{width:36px;height:36px;object-fit:contain}
.ez-v3-theme .device-option strong{font-size:14px;font-weight:650}
.ez-v3-theme .device-option span{font-size:11.5px;color:var(--text-3)}
.ez-v3-theme .choice-radio:checked+.device-option{background:var(--accent-soft);border-color:var(--accent);box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.ez-v3-theme .company-create-summary-v2{position:sticky;top:calc(var(--topbar-h) + 18px);margin-bottom:0}
.ez-v3-theme .create-summary-list,.ez-v3-theme .create-safe-notes-v2{display:flex;flex-direction:column;gap:10px}
.ez-v3-theme .create-safe-notes-v2{margin-top:14px}
.ez-v3-theme .create-safe-notes-v2 span{font-size:12px;font-weight:600;color:var(--text-2)}

/* VPN sessions and card/table hybrids */
.ez-v3-theme .vpn-summary-grid{grid-template-columns:repeat(4,minmax(180px,1fr))}
.ez-v3-theme .vpn-session-panel{padding:0;overflow:hidden}
.ez-v3-theme .vpn-panel-head{padding:18px 22px;margin:0;border-bottom:1px solid var(--border)}
.ez-v3-theme .vpn-search-field{display:flex;flex-direction:column;gap:6px;min-width:260px;color:var(--text-3);font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.ez-v3-theme .vpn-table{width:100%;overflow:auto}
.ez-v3-theme .vpn-table-head,.ez-v3-theme .vpn-table-row{display:grid;grid-template-columns:190px minmax(240px,1.5fr) minmax(130px,.7fr) minmax(120px,.6fr) minmax(150px,.8fr) 120px;align-items:center;gap:12px}
.ez-v3-theme .vpn-table-head{padding:13px 22px;background:var(--bg-panel2);border-bottom:1px solid var(--border);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-3)}
.ez-v3-theme .vpn-table-row{padding:16px 22px;border-bottom:1px solid var(--border);background:var(--bg-panel)}
.ez-v3-theme .vpn-table-row:hover{background:var(--bg-hover)}
.ez-v3-theme .vpn-cell{min-width:0;color:var(--text);font-size:13px}
.ez-v3-theme .vpn-client-cell strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:650;color:var(--text)}
.ez-v3-theme .vpn-client-cell small{display:block;margin-top:3px;font-size:11.5px;font-weight:600;color:var(--text-3);text-transform:uppercase}
.ez-v3-theme .vpn-status-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:var(--ok-soft);border:1px solid rgba(22,163,74,.2);color:var(--ok);font-size:12px;font-weight:700}
.ez-v3-theme .vpn-status-light{width:8px;height:8px;border-radius:50%;background:currentColor;box-shadow:0 0 0 3px rgba(22,163,74,.16)}
.ez-v3-theme .vpn-ip,.ez-v3-theme .vpn-tunnel,.ez-v3-theme .vpn-uptime,.ez-v3-theme .system-code,.ez-v3-theme .vpn-tech-code{display:inline-flex;align-items:center;min-height:28px;padding:0 9px;border-radius:var(--r-sm);background:var(--accent-soft);border:1px solid rgba(37,99,235,.16);color:var(--accent-text);font-family:var(--mono);font-size:12px;font-weight:700}
.ez-v3-theme .premium-details,.ez-v3-theme .vpn-detail-box{grid-column:1/-1;margin-top:4px;padding:14px;border-radius:var(--r-md);background:var(--bg-panel2);border:1px solid var(--border)}
.ez-v3-theme .technical-list,.ez-v3-theme .vpn-detail-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin:0}
.ez-v3-theme .technical-list div{padding:10px;border-radius:var(--r-sm);background:var(--bg-panel);border:1px solid var(--border)}
.ez-v3-theme .technical-list dt{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-3)}
.ez-v3-theme .technical-list dd{margin:3px 0 0;color:var(--text);font-size:13px;font-weight:650}
.ez-v3-theme .technical-details,.ez-v3-theme .vpn-raw-details{margin:16px 22px 22px;border:1px solid var(--border);border-radius:var(--r-lg);background:var(--bg-panel2);overflow:hidden}
.ez-v3-theme .technical-details summary{padding:14px 16px;cursor:pointer;font-weight:650;color:var(--text)}
.ez-v3-theme .vpn-technical-table{padding:0 16px 16px}
.ez-v3-theme .vpn-tech-head,.ez-v3-theme .vpn-tech-row{display:grid;grid-template-columns:120px minmax(220px,1fr) 150px 130px 120px 130px 120px;gap:10px;align-items:center}
.ez-v3-theme .vpn-tech-head{padding:10px 0;color:var(--text-3);font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.ez-v3-theme .vpn-tech-row{padding:12px 0;border-top:1px solid var(--border);color:var(--text);font-size:12px}
.ez-v3-theme .vpn-tech-row b{font-weight:650;color:var(--text)}
.ez-v3-theme .vpn-tech-row small{display:block;margin-top:2px;color:var(--text-3)}

/* System/status lists */
.ez-v3-theme .system-status-layout{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:16px;align-items:start}
.ez-v3-theme .system-status-main,.ez-v3-theme .system-status-side{min-width:0}
.ez-v3-theme .system-container-row,.ez-v3-theme .system-vpn-row,.ez-v3-theme .system-zabbix-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}
.ez-v3-theme .system-container-row:last-child,.ez-v3-theme .system-vpn-row:last-child,.ez-v3-theme .system-zabbix-row:last-child{border-bottom:0}
.ez-v3-theme .system-container-main,.ez-v3-theme .system-vpn-client{flex:1;min-width:0}
.ez-v3-theme .system-container-main strong,.ez-v3-theme .system-vpn-client b,.ez-v3-theme .system-zabbix-row strong{display:block;color:var(--text);font-size:13px;font-weight:650}
.ez-v3-theme .system-container-main small,.ez-v3-theme .system-vpn-client small,.ez-v3-theme .system-zabbix-row small{display:block;color:var(--text-3);font-size:11.5px}
.ez-v3-theme .status-dot{width:8px;height:8px;border-radius:50%;display:inline-block;background:var(--text-3);flex:0 0 auto}
.ez-v3-theme .status-dot.ok{background:var(--ok);box-shadow:0 0 0 3px rgba(22,163,74,.16)}
.ez-v3-theme .status-dot.warn{background:var(--warn)}
.ez-v3-theme .status-dot.err{background:var(--err)}

/* Mixed legacy screens: company panel, VPN forms, WhatsApp and Zabbix */
.ez-v3-theme .hero,.ez-v3-theme .panel,.ez-v3-theme .card,.ez-v3-theme .metric-card,.ez-v3-theme .service-card,.ez-v3-theme .modern-panel,.ez-v3-theme .occurrence-card{background:var(--bg-panel);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--shadow-sm);color:var(--text)}
.ez-v3-theme .hero{padding:24px 28px;margin:0 0 18px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.ez-v3-theme .hero h1,.ez-v3-theme .panel h2,.ez-v3-theme .card h3,.ez-v3-theme .modern-panel h2,.ez-v3-theme .occurrence-card h2,.ez-v3-theme .whatsapp-command h1{margin:0;color:var(--text);font-weight:700;letter-spacing:0;line-height:1.12}
.ez-v3-theme .hero p,.ez-v3-theme .panel .muted,.ez-v3-theme .muted,.ez-v3-theme .metric-card em,.ez-v3-theme .service-card small,.ez-v3-theme .vpn-card-modern small{color:var(--text-2);font-size:13px;line-height:1.45;font-style:normal}
.ez-v3-theme .panel,.ez-v3-theme .card,.ez-v3-theme .modern-panel,.ez-v3-theme .occurrence-card{padding:20px}
.ez-v3-theme .metric-grid,.ez-v3-theme .service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0}
.ez-v3-theme .metric-card,.ez-v3-theme .service-card{min-height:112px;padding:18px;display:flex;align-items:center;gap:14px;position:relative;overflow:hidden}
.ez-v3-theme .metric-card::before,.ez-v3-theme .service-card::before,.ez-v3-theme .vpn-card-modern::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--accent)}
.ez-v3-theme .metric-card.ok::before,.ez-v3-theme .service-card.ok::before,.ez-v3-theme .vpn-card-modern.ok::before{background:var(--ok)}
.ez-v3-theme .metric-card.warn::before,.ez-v3-theme .service-card.warn::before,.ez-v3-theme .vpn-card-modern.warn::before{background:var(--warn)}
.ez-v3-theme .metric-card.err::before,.ez-v3-theme .service-card.err::before,.ez-v3-theme .vpn-card-modern.err::before{background:var(--err)}
.ez-v3-theme .metric-card small,.ez-v3-theme .service-card>span:not(.brand-badge){display:block;color:var(--text-2);font-size:12px;font-weight:700}
.ez-v3-theme .metric-card strong,.ez-v3-theme .service-card strong{display:block;margin-top:3px;color:var(--text);font-size:22px;font-weight:750;line-height:1.08}
.ez-v3-theme .metric-icon,.ez-v3-theme .service-logo,.ez-v3-theme .brand-badge{width:46px;height:46px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--r-md);background:var(--accent-soft);border:1px solid rgba(37,99,235,.16);color:var(--accent);font-weight:800;flex:0 0 auto}
.ez-v3-theme .metric-icon img,.ez-v3-theme .service-logo img,.ez-v3-theme .brand-badge img,.ez-v3-theme .premium-icon img{width:26px;height:26px;object-fit:contain}
.ez-v3-theme .field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ez-v3-theme .field-grid.two-wide{grid-template-columns:repeat(2,minmax(0,1fr))}
.ez-v3-theme .field-grid label,.ez-v3-theme .panel label,.ez-v3-theme .setup-box label{display:flex;flex-direction:column;gap:7px;color:var(--text);font-size:12px;font-weight:700}
.ez-v3-theme .panel input,.ez-v3-theme .panel select,.ez-v3-theme .panel textarea,.ez-v3-theme .setup-box input,.ez-v3-theme .setup-box select,.ez-v3-theme .config-details input,.ez-v3-theme .config-details select{min-height:42px;width:100%;border:1px solid var(--border);border-radius:var(--r-md);background:var(--bg);color:var(--text);padding:0 13px;font:600 13px/1.2 var(--font);outline:none}
.ez-v3-theme .panel textarea{padding-top:12px;min-height:96px;resize:vertical}
.ez-v3-theme .panel input:focus,.ez-v3-theme .panel select:focus,.ez-v3-theme .panel textarea:focus,.ez-v3-theme .setup-box input:focus,.ez-v3-theme .setup-box select:focus{border-color:rgba(37,99,235,.55);box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.ez-v3-theme .input-action{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.ez-v3-theme .section-head,.ez-v3-theme .modern-panel-head,.ez-v3-theme .occurrence-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}
.ez-v3-theme .section-head h2,.ez-v3-theme .modern-panel-head h2{margin:0;color:var(--text);font-size:18px;font-weight:700}
.ez-v3-theme .actions,.ez-v3-theme .toolbar,.ez-v3-theme .vpn-actions-main,.ez-v3-theme .premium-actions,.ez-v3-theme .company-action-bar{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.ez-v3-theme .btn,.ez-v3-theme .modern-action,.ez-v3-theme .filter{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 14px;border-radius:var(--r-md);border:1px solid transparent;background:var(--accent);color:#fff;font-size:13px;font-weight:750;text-decoration:none;box-shadow:0 10px 22px rgba(37,99,235,.2);cursor:pointer}
.ez-v3-theme .btn.secondary,.ez-v3-theme .btn.ghost,.ez-v3-theme .modern-action.ghost,.ez-v3-theme .filter{background:var(--bg-panel2);color:var(--text-2);border-color:var(--border);box-shadow:none}
.ez-v3-theme .btn.blue,.ez-v3-theme .modern-action.primary,.ez-v3-theme .filter.active{background:var(--accent);color:#fff;border-color:transparent;box-shadow:0 10px 22px rgba(37,99,235,.2)}
.ez-v3-theme .btn.purple{background:#4f46e5;color:#fff}
.ez-v3-theme .btn.mini{min-height:34px;padding:0 12px}
.ez-v3-theme .filters,.ez-v3-theme .filter-row{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
.ez-v3-theme .filter-row{justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--border)}
.ez-v3-theme .pill{display:inline-flex;align-items:center;gap:6px;min-height:26px;padding:4px 10px;border-radius:999px;border:1px solid var(--border);background:var(--bg-panel2);color:var(--text-2);font-size:11px;font-weight:750;white-space:nowrap}
.ez-v3-theme .pill.ok{background:var(--ok-soft);border-color:rgba(22,163,74,.2);color:var(--ok)}
.ez-v3-theme .pill.warn{background:var(--warn-soft);border-color:rgba(217,119,6,.24);color:var(--warn)}
.ez-v3-theme .pill.err{background:var(--err-soft);border-color:rgba(220,38,38,.22);color:var(--err)}
.ez-v3-theme .pill .dot{width:7px;height:7px;border-radius:50%;background:currentColor}
.ez-v3-theme .notice{margin:12px 0;padding:13px 15px;border-radius:var(--r-md);background:var(--bg-panel);border:1px solid var(--border);color:var(--text-2);font-weight:650}
.ez-v3-theme .notice.ok{background:var(--ok-soft);border-color:rgba(22,163,74,.2);color:var(--ok)}
.ez-v3-theme .notice.warn{background:var(--warn-soft);border-color:rgba(217,119,6,.22);color:var(--warn)}
.ez-v3-theme .notice.err{background:var(--err-soft);border-color:rgba(220,38,38,.22);color:var(--err)}
.ez-v3-theme .code{padding:14px;border-radius:var(--r-md);background:#0f172a;color:#e5edff;font-family:var(--mono);font-size:12px;line-height:1.5;white-space:pre-wrap;overflow:auto}
.ez-v3-theme .mode-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ez-v3-theme .mode-option{padding:15px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--bg-panel2);cursor:pointer}
.ez-v3-theme .mode-option strong{display:block;color:var(--text);font-size:14px}
.ez-v3-theme .mode-option span{display:block;margin-top:4px;color:var(--text-3);font-size:12px}
.ez-v3-theme .choice-radio:checked+.mode-option{background:var(--accent-soft);border-color:var(--accent);box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.ez-v3-theme .vpn-create-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}
.ez-v3-theme .vpn-create-aside{position:sticky;top:calc(var(--topbar-h) + 18px)}
.ez-v3-theme .aside-row,.ez-v3-theme .field{padding:13px 14px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--bg-panel2)}
.ez-v3-theme .aside-row span,.ez-v3-theme .field span{display:block;margin-bottom:4px;color:var(--text-3);font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.ez-v3-theme .aside-row strong,.ez-v3-theme .field strong{display:block;color:var(--text);font-size:14px;font-weight:700}
.ez-v3-theme .logo-strip{display:flex;gap:10px;margin-top:14px}
.ez-v3-theme .logo-strip img{width:36px;height:36px;object-fit:contain;padding:7px;border-radius:var(--r-sm);background:var(--bg-panel2);border:1px solid var(--border)}
.ez-v3-theme .grid.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ez-v3-theme .vpn-item{display:flex;flex-direction:column;gap:14px}
.ez-v3-theme .vpn-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.ez-v3-theme .vpn-identity{display:flex;align-items:center;gap:12px;min-width:0}
.ez-v3-theme .vpn-title-copy h3{margin:0;color:var(--text);font-size:17px;font-weight:750}
.ez-v3-theme .vpn-title-copy p{margin:3px 0 0;color:var(--text-3);font-size:12px;font-weight:650}
.ez-v3-theme .device-badge{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:5px 9px;border-radius:999px;background:var(--accent-soft);border:1px solid rgba(37,99,235,.16);color:var(--accent);font-size:11px;font-weight:800}
.ez-v3-theme .device-badge img,.ez-v3-theme .device-inline img{width:18px;height:18px;object-fit:contain}
.ez-v3-theme .vpn-meta-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ez-v3-theme .vpn-meta-strip>div{padding:12px;border-radius:var(--r-md);background:var(--bg-panel2);border:1px solid var(--border)}
.ez-v3-theme .vpn-meta-strip span,.ez-v3-theme .vpn-status-panel span{display:block;color:var(--text-3);font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.ez-v3-theme .vpn-meta-strip strong,.ez-v3-theme .vpn-status-panel strong{display:block;margin-top:4px;color:var(--text);font-size:13px;font-weight:750;word-break:break-word}
.ez-v3-theme .vpn-status-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:13px;border-radius:var(--r-md);background:var(--bg-panel2);border:1px solid var(--border)}
.ez-v3-theme .vpn-status-panel p{grid-column:1/-1;margin:0;color:var(--text-2);font-size:12px}
.ez-v3-theme .vpn-status-panel.ok{background:var(--ok-soft);border-color:rgba(22,163,74,.18)}
.ez-v3-theme .vpn-status-panel.warn{background:var(--warn-soft);border-color:rgba(217,119,6,.2)}
.ez-v3-theme .vpn-status-panel.err{background:var(--err-soft);border-color:rgba(220,38,38,.2)}
.ez-v3-theme .vpn-history-panel{margin-top:18px}
.ez-v3-theme .vpn-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ez-v3-theme .vpn-card-grid.wide{grid-template-columns:repeat(3,minmax(0,1fr))}
.ez-v3-theme .vpn-card-modern{position:relative;min-height:118px;padding:16px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--bg-panel2);overflow:hidden}
.ez-v3-theme .vpn-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ez-v3-theme .vpn-card-head strong{color:var(--text);font-size:14px}
.ez-v3-theme .vpn-card-head span{color:var(--text-2);font-size:12px;font-weight:700}
.ez-v3-theme .vpn-card-modern p{margin:10px 0 4px;color:var(--text-2);font-size:13px}
.ez-v3-theme .vpn-card-modern button,.ez-v3-theme .accordion-trigger{margin-top:10px;border:0;background:transparent;color:var(--accent);font-weight:800;cursor:pointer}
.ez-v3-theme .whatsapp-topbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px;padding:14px 16px;border:1px solid var(--border);border-radius:var(--r-lg);background:var(--bg-panel);box-shadow:var(--shadow-sm)}
.ez-v3-theme .brand{display:flex;align-items:center;gap:11px;color:var(--text)}
.ez-v3-theme .brand .small{display:block;margin-top:2px;color:var(--text-3);font-size:12px}
.ez-v3-theme .brand-mark{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:var(--r-md);background:var(--ok-soft);border:1px solid rgba(22,163,74,.18)}
.ez-v3-theme .whatsapp-command{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;padding:24px 28px;border:1px solid var(--border);border-radius:var(--r-lg);background:var(--bg-panel);box-shadow:var(--shadow-sm)}
.ez-v3-theme .whatsapp-command .eyebrow{display:block;margin-bottom:7px;color:var(--accent);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.ez-v3-theme .whatsapp-command p{margin:8px 0 0;color:var(--text-2);max-width:780px}
.ez-v3-theme .whatsapp-command .score,.ez-v3-theme .score{min-width:112px;padding:14px;border-radius:var(--r-md);background:var(--bg-panel2);border:1px solid var(--border);text-align:center}
.ez-v3-theme .score.ok{background:var(--ok-soft);border-color:rgba(22,163,74,.2);color:var(--ok)}
.ez-v3-theme .score.warn{background:var(--warn-soft);border-color:rgba(217,119,6,.22);color:var(--warn)}
.ez-v3-theme .score.err{background:var(--err-soft);border-color:rgba(220,38,38,.22);color:var(--err)}
.ez-v3-theme .score strong{display:block;color:inherit;font-size:18px}
.ez-v3-theme .score span{display:block;color:var(--text-2);font-size:12px;font-weight:700}
.ez-v3-theme .company-layout,.ez-v3-theme .whatsapp-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:18px;align-items:start}
.ez-v3-theme .whatsapp-main-card{min-width:0}
.ez-v3-theme .whatsapp-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
.ez-v3-theme .setup-box,.ez-v3-theme .config-details{margin-top:16px;padding:16px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--bg-panel2)}
.ez-v3-theme .zabbix-instance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ez-v3-theme .zabbix-instance-card{padding:16px;border:1px solid var(--border);border-radius:var(--r-md);background:var(--bg-panel2);box-shadow:var(--shadow-sm)}
.ez-v3-theme .zabbix-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.ez-v3-theme .zabbix-card-head strong{display:block;color:var(--text);font-size:15px;font-weight:750}
.ez-v3-theme .zabbix-card-head small{display:block;margin-top:3px;color:var(--text-3);font-size:12px}
.ez-v3-theme .zabbix-card-logo{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;margin-bottom:8px;border-radius:var(--r-md);background:var(--err-soft);border:1px solid rgba(220,38,38,.18)}
.ez-v3-theme .zabbix-card-logo img{width:25px;height:25px;object-fit:contain}
.ez-v3-theme .zabbix-card-meta,.ez-v3-theme .zabbix-component-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}
.ez-v3-theme .system-container-meta{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;color:var(--text-3);font-size:12px}
.ez-v3-theme .system-time b{display:block;color:var(--text);font-size:13px}
.ez-v3-theme .system-time small{display:block;color:var(--text-3);font-size:11px}

@media(max-width:1180px){.ez-v3-theme .company-create-shell,.ez-v3-theme .system-status-layout{grid-template-columns:1fr}.ez-v3-theme .company-create-summary-v2{position:static}.ez-v3-theme .vpn-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ez-v3-theme .vpn-table-head{display:none}.ez-v3-theme .vpn-table-row{grid-template-columns:1fr;gap:10px}.ez-v3-theme .vpn-cell{display:flex;justify-content:space-between;gap:12px}.ez-v3-theme .vpn-cell::before{content:attr(data-label);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--text-3)}.ez-v3-theme .vpn-action-cell{justify-content:flex-start}.ez-v3-theme .vpn-action-cell::before{display:none}.ez-v3-theme .vpn-tech-head{display:none}.ez-v3-theme .vpn-tech-row{grid-template-columns:1fr}}
@media(max-width:760px){.ez-v3-theme .premium-hero,.ez-v3-theme .premium-panel-head{flex-direction:column}.ez-v3-theme .premium-hero-actions,.ez-v3-theme .premium-filter-group{width:100%}.ez-v3-theme .premium-btn{width:auto}.ez-v3-theme .premium-metric-grid,.ez-v3-theme .premium-status-grid,.ez-v3-theme .premium-kpi-grid,.ez-v3-theme .vpn-summary-grid,.ez-v3-theme .create-field-grid,.ez-v3-theme .device-picker{grid-template-columns:1fr}.ez-v3-theme .premium-table-wrap{border-radius:var(--r-md)}.ez-v3-theme .vpn-search-field{width:100%;min-width:0}}
