/* VX Platform — cabinet redesign prototype 2026-07-24 */
:root{
  --vx-sidebar:264px;
  --vx-sidebar-compact:86px;
  --vx-topbar:74px;
  --vx-bg:#070a10;
  --vx-bg-soft:#0b0f17;
  --vx-panel:#101620;
  --vx-panel-2:#141c28;
  --vx-panel-3:#182231;
  --vx-line:rgba(156,178,210,.14);
  --vx-line-strong:rgba(156,178,210,.24);
  --vx-text:#f4f7fb;
  --vx-muted:#8f9cad;
  --vx-accent:#7190ff;
  --vx-accent-2:#9b7cff;
  --vx-gold:#f3c84b;
  --vx-danger:#ef5c67;
  --vx-success:#52d58c;
  --vx-radius:16px;
  --vx-shadow:0 18px 55px rgba(0,0,0,.28);
}

html{background:var(--vx-bg)}
body.vx-authenticated{
  min-height:100vh;
  background:
    radial-gradient(900px 520px at 75% -140px,rgba(113,144,255,.11),transparent 68%),
    radial-gradient(700px 520px at 8% 105%,rgba(155,124,255,.08),transparent 65%),
    var(--vx-bg);
  color:var(--vx-text);
  overflow-x:hidden;
}
body.vx-authenticated::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.22;
  background-image:linear-gradient(rgba(255,255,255,.014) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.014) 1px,transparent 1px);
  background-size:38px 38px;
  mask-image:linear-gradient(to bottom,black,transparent 80%);
}
html.vx-auth-checking #vx-app-sidebar,
body.vx-public-guest #vx-app-sidebar,
body.vx-public-guest #vx-mobile-nav-shade{display:none!important}

/* Sidebar */
#vx-app-sidebar{
  position:fixed;
  inset:0 auto 0 0;
  z-index:700;
  width:var(--vx-sidebar);
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  padding:16px 14px 14px;
  background:linear-gradient(180deg,rgba(17,22,32,.98),rgba(9,13,20,.99));
  border-right:1px solid var(--vx-line);
  box-shadow:22px 0 70px rgba(0,0,0,.2);
  transition:width .22s ease,transform .22s ease;
}
.vxSidebarBrand{
  min-height:50px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:5px 7px 16px;
  border-bottom:1px solid var(--vx-line);
  text-decoration:none;
  color:var(--vx-text);
}
.vxSidebarBrand img{
  width:42px;height:42px;object-fit:contain;border-radius:13px;
  filter:drop-shadow(0 0 16px rgba(243,200,75,.22));
}
.vxSidebarBrandText{display:grid;min-width:0;line-height:1.05}
.vxSidebarBrandText b{font-size:16px;letter-spacing:.01em}
.vxSidebarBrandText span{margin-top:5px;color:var(--vx-muted);font-size:10px;font-weight:750;letter-spacing:.14em;text-transform:uppercase}
.vxSidebarSectionLabel{padding:20px 10px 8px;color:#697688;font-size:10px;font-weight:850;letter-spacing:.16em;text-transform:uppercase}
#vx-app-sidebar .tabs{
  display:flex!important;
  flex:1 1 auto;
  min-height:0;
  flex-direction:column;
  gap:5px;
  margin:0;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-width:thin;
  scrollbar-color:#2c3746 transparent;
}
#vx-app-sidebar .tab,
#vx-app-sidebar .vx-support-nav-link{
  min-height:45px;
  box-sizing:border-box;
  position:relative;
  display:flex;
  align-items:center;
  gap:11px;
  padding:10px 11px!important;
  border:1px solid transparent!important;
  border-radius:12px!important;
  background:transparent!important;
  color:#9da9b9!important;
  font-size:13px!important;
  font-weight:690;
  line-height:1.2;
  text-decoration:none!important;
  white-space:nowrap;
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease;
}
#vx-app-sidebar .tab:hover,
#vx-app-sidebar .vx-support-nav-link:hover{
  color:#eaf0f8!important;
  background:rgba(255,255,255,.045)!important;
  border-color:rgba(255,255,255,.055)!important;
  transform:translateX(1px);
}
#vx-app-sidebar .tab.active{
  color:#fff!important;
  border-color:rgba(113,144,255,.3)!important;
  background:linear-gradient(100deg,rgba(113,144,255,.19),rgba(155,124,255,.09))!important;
  box-shadow:inset 3px 0 0 var(--vx-accent),0 8px 25px rgba(54,76,145,.08);
}
#vx-app-sidebar .tab.active::after{
  content:"";position:absolute;right:10px;width:5px;height:5px;border-radius:50%;background:#aabaff;box-shadow:0 0 10px #879dff;
}
.vxNavIcon{
  width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;color:currentColor;
}
.vxNavIcon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#vx-app-sidebar .tab.locked{opacity:.58}
#vx-app-sidebar .tab.locked::after{display:none}
#vx-app-sidebar .tab.locked::before{display:none!important}
#vx-app-sidebar .vxTicketActivityBadge,
#vx-app-sidebar .badge{margin-left:auto!important}
.vxSidebarFooter{display:grid;gap:0;padding-top:6px;border-top:1px solid var(--vx-line);flex:0 0 auto}
.vxSidebarMiniLink,.vxSidebarCollapse{
  display:flex;align-items:center;gap:10px;min-height:40px;padding:8px 10px;border:1px solid transparent;border-radius:11px;background:transparent;color:#8390a1;text-decoration:none;font-size:12px;cursor:pointer
}
.vxSidebarMiniLink:hover,.vxSidebarCollapse:hover{background:rgba(255,255,255,.04);color:#dbe4ef}
.vxSidebarStatusDot{width:8px;height:8px;border-radius:50%;background:var(--vx-success);box-shadow:0 0 10px rgba(82,213,140,.65)}
.vxSidebarCollapse{width:100%;min-height:32px;padding:5px 8px;font:inherit;font-size:11px;gap:8px;border-radius:9px}
.vxSidebarCollapse svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9}

/* Header */
body.vx-authenticated > header:not(.vx-public-header){
  position:fixed;
  z-index:650;
  left:var(--vx-sidebar);
  right:0;
  top:0;
  height:var(--vx-topbar);
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 24px;
  background:rgba(8,12,19,.82)!important;
  border:0!important;
  border-bottom:1px solid var(--vx-line)!important;
  backdrop-filter:blur(18px) saturate(130%);
  -webkit-backdrop-filter:blur(18px) saturate(130%);
  animation:none!important;
  box-shadow:none!important;
  transition:left .22s ease;
}
body.vx-authenticated > header:not(.vx-public-header) > .vxCabinetLegacyBrand{display:flex!important;align-items:center;gap:14px;flex:0 0 auto;min-width:0}
body.vx-authenticated > header:not(.vx-public-header) > .vxCabinetLegacyBrand > img,
body.vx-authenticated > header:not(.vx-public-header) > .vxCabinetLegacyBrand > b{display:none!important}
body.vx-authenticated > header:not(.vx-public-header) > .vxCabinetLegacyBrand .vxHeaderCatalogLink,
body.vx-authenticated > header:not(.vx-public-header) > .vxCabinetLegacyBrand .vxHeaderPlatformStatusLink{display:inline-flex!important;align-items:center;white-space:nowrap}
body.vx-authenticated > header:not(.vx-public-header) > .vxTopbarContext{display:flex!important}
body.vx-authenticated > header:not(.vx-public-header) > .row{
  margin-left:auto;
  flex-wrap:nowrap;
  gap:9px;
}
.vxTopbarContext{display:flex;align-items:center;gap:12px;min-width:0}
.vxMobileNavButton{
  display:none;width:40px;height:40px;padding:0!important;align-items:center;justify-content:center;border-radius:11px!important;background:rgba(255,255,255,.035)!important;border-color:var(--vx-line)!important
}
.vxMobileNavButton svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.vxTopbarTitles{display:grid;gap:2px;min-width:0}
.vxTopbarKicker{color:#758295;font-size:10px;font-weight:850;letter-spacing:.15em;text-transform:uppercase}
.vxTopbarTitle{font-size:17px;font-weight:780;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.vx-authenticated #project-switcher{
  min-width:210px;max-width:300px;height:40px;padding:0 34px 0 12px;border-radius:11px;background:#101722;border-color:var(--vx-line-strong);color:#eaf0f7;font-weight:650
}
body.vx-authenticated .vxProjectAdd{height:40px;border-radius:11px!important;background:rgba(113,144,255,.1)!important;border-color:rgba(113,144,255,.28)!important;color:#cbd6ff!important}
body.vx-authenticated #notify-bell{
  position:relative;display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid var(--vx-line);border-radius:12px;background:rgba(255,255,255,.035);font-size:17px;cursor:pointer
}
body.vx-authenticated #notify-count{
  position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:0 5px;border:2px solid #0a0e15;border-radius:999px;background:#ef5c67;color:#fff;font-size:10px;font-weight:900
}
body.vx-authenticated .vxProfileButton{width:40px;height:40px;border-radius:12px!important;border-color:var(--vx-line)!important;background:#121923!important;padding:2px!important}
body.vx-authenticated .vxProfileAvatar{border-radius:10px!important}
body.vx-authenticated #logout{height:40px;padding:0 13px;border-radius:11px;background:rgba(239,92,103,.07);border-color:rgba(239,92,103,.22);color:#f2a0a7}
body.vx-authenticated #login{height:40px;border-radius:11px;background:linear-gradient(135deg,#6d86ee,#8b70e8);border:0;color:#fff;font-weight:800}
/* Plan shield styling is owned by vx-ui-12-update.css. */
body.vx-authenticated .header-lite,
body.vx-authenticated .header-pro,
body.vx-authenticated .header-ultra{background:rgba(8,12,19,.82)!important;animation:none!important}

/* Main content */
body.vx-authenticated > .wrap{
  width:auto;
  max-width:none;
  min-height:100vh;
  box-sizing:border-box;
  margin:0 0 0 var(--vx-sidebar);
  padding:calc(var(--vx-topbar) + 24px) clamp(18px,2.3vw,34px) 42px;
  transition:margin-left .22s ease;
}
body.vx-authenticated > .wrap > .tabs{display:none!important}
body.vx-authenticated .card{
  border:1px solid var(--vx-line);
  border-radius:var(--vx-radius);
  background:linear-gradient(145deg,rgba(18,25,36,.94),rgba(12,18,27,.96));
  box-shadow:0 1px 0 rgba(255,255,255,.025) inset,var(--vx-shadow);
  padding:18px;
  margin-bottom:16px;
}
body.vx-authenticated > .wrap > [id^="tab-"]{max-width:1680px;margin-left:auto;margin-right:auto}
body.vx-authenticated h1,body.vx-authenticated h2,body.vx-authenticated h3,body.vx-authenticated h4{color:#f5f7fb;letter-spacing:-.015em}
body.vx-authenticated h2,body.vx-authenticated h3{margin-top:0}
body.vx-authenticated .muted{color:var(--vx-muted);opacity:1}
body.vx-authenticated a{color:#aebdff}
body.vx-authenticated button{
  min-height:38px;border-radius:10px;border:1px solid var(--vx-line-strong);background:#182231;color:#edf2f8;font-weight:650;transition:background .15s ease,border-color .15s ease,transform .15s ease,filter .15s ease
}
body.vx-authenticated button:hover:not(:disabled){background:#202d3f;border-color:rgba(156,178,210,.35);transform:translateY(-1px)}
body.vx-authenticated button:active:not(:disabled){transform:translateY(0)}
body.vx-authenticated button.primary,
body.vx-authenticated .primary:not(.vx-public-nav .primary),
body.vx-authenticated .vxBotPublish{
  border-color:transparent!important;background:linear-gradient(135deg,#6684f0,#8870eb)!important;color:#fff!important;box-shadow:0 8px 22px rgba(90,109,220,.18)
}
body.vx-authenticated button.danger,
body.vx-authenticated .danger{border-color:rgba(239,92,103,.34)!important;background:rgba(239,92,103,.11)!important;color:#ffadb4!important}
body.vx-authenticated input,
body.vx-authenticated select,
body.vx-authenticated textarea{
  box-sizing:border-box;min-height:40px;border:1px solid var(--vx-line-strong);border-radius:10px;background:#0c121b;color:#edf2f8;padding:9px 11px;outline:none;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease
}
body.vx-authenticated textarea{line-height:1.5}
body.vx-authenticated input:focus,
body.vx-authenticated select:focus,
body.vx-authenticated textarea:focus{border-color:rgba(113,144,255,.72);box-shadow:0 0 0 3px rgba(113,144,255,.11);background:#0e1520}
body.vx-authenticated table{border-collapse:separate;border-spacing:0;width:100%;overflow:hidden}
body.vx-authenticated th{padding:10px 12px;color:#778598;font-size:10px;font-weight:850;letter-spacing:.1em;text-transform:uppercase;background:rgba(255,255,255,.02);border-bottom:1px solid var(--vx-line)}
body.vx-authenticated td{padding:12px;border-bottom:1px solid rgba(156,178,210,.085);color:#dbe3ed}
body.vx-authenticated tr:last-child td{border-bottom:0}
body.vx-authenticated tbody tr{transition:background .14s ease}
body.vx-authenticated tbody tr:hover{background:rgba(113,144,255,.035)}

/* High-value legacy surfaces */
body.vx-authenticated .vxProfilePanel,
body.vx-authenticated #notify-panel,
body.vx-authenticated .modal .box,
body.vx-authenticated .sa-modal-box,
body.vx-authenticated .vx-news-admin-modal{
  border:1px solid var(--vx-line-strong)!important;border-radius:16px!important;background:linear-gradient(155deg,#161e2a,#0e141e)!important;box-shadow:0 28px 80px rgba(0,0,0,.48)!important
}
body.vx-authenticated #notify-panel{top:62px!important;right:20px!important}
body.vx-authenticated .vxBotPanel,
body.vx-authenticated .vxCompactList,
body.vx-authenticated .vxIntegrationSelectEditor,
body.vx-authenticated .vxBotConnection,
body.vx-authenticated .vxBotLinkBox,
body.vx-authenticated .vxBotCompactToggle,
body.vx-authenticated .vxTmMainToggle,
body.vx-authenticated .vx-sub-card,
body.vx-authenticated .vx-audit-item{
  border-color:var(--vx-line)!important;background:rgba(8,13,21,.48)!important;border-radius:13px!important;box-shadow:none!important
}
body.vx-authenticated .vxCompactRow{border-color:rgba(156,178,210,.09)}
body.vx-authenticated .vxCompactRow:hover,
body.vx-authenticated .vxCompactRow.is-selected{background:rgba(113,144,255,.08)}
body.vx-authenticated .vxBotChannelTab.is-active,
body.vx-authenticated .vxTmTab.is-active,
body.vx-authenticated .vxIntegrationViewSwitch button.is-active{background:rgba(113,144,255,.16)!important;border-color:rgba(113,144,255,.5)!important;color:#fff}
body.vx-authenticated .no-project-card{border-style:dashed;background:linear-gradient(140deg,rgba(113,144,255,.08),rgba(155,124,255,.04))}
body.vx-authenticated .np-btn{display:inline-flex;padding:10px 14px;border-radius:10px;background:linear-gradient(135deg,#6684f0,#8870eb);color:#fff;text-decoration:none;font-weight:800}
body.vx-authenticated .kpi-card,
body.vx-authenticated .ip-card,
body.vx-authenticated .sa-card{border-color:var(--vx-line)!important;background:rgba(9,14,22,.52)!important;border-radius:14px!important}
body.vx-authenticated .vxPricingToggle,
body.vx-authenticated .vxIntegrationViewSwitch{border-color:var(--vx-line)!important;background:rgba(4,8,13,.28)}
body.vx-authenticated .vxTicketActivityBadge{box-shadow:0 0 0 3px rgba(239,92,103,.1)}
body.vx-authenticated .warn{color:#f1bd67}
body.vx-authenticated .is-on{color:var(--vx-success)}
body.vx-authenticated .is-off{color:#f17780}

/* Scrollbars */
body.vx-authenticated *{scrollbar-width:thin;scrollbar-color:#2b3645 transparent}
body.vx-authenticated *::-webkit-scrollbar{width:9px;height:9px}
body.vx-authenticated *::-webkit-scrollbar-thumb{background:#2b3645;border:2px solid transparent;background-clip:padding-box;border-radius:999px}
body.vx-authenticated *::-webkit-scrollbar-track{background:transparent}

/* Collapsed desktop sidebar */
body.vx-sidebar-collapsed #vx-app-sidebar{width:var(--vx-sidebar-compact)}
body.vx-sidebar-collapsed > header:not(.vx-public-header){left:var(--vx-sidebar-compact)}
body.vx-sidebar-collapsed > .wrap{margin-left:var(--vx-sidebar-compact)}
body.vx-sidebar-collapsed .vxSidebarBrand{justify-content:center;padding-left:0;padding-right:0}
body.vx-sidebar-collapsed .vxSidebarBrandText,
body.vx-sidebar-collapsed .vxSidebarSectionLabel,
body.vx-sidebar-collapsed .vxSidebarMiniLink span:not(.vxSidebarStatusDot),
body.vx-sidebar-collapsed .vxSidebarCollapse span{display:none}
body.vx-sidebar-collapsed #vx-app-sidebar .tab,
body.vx-sidebar-collapsed #vx-app-sidebar .vx-support-nav-link{justify-content:center;font-size:0!important;padding-left:8px!important;padding-right:8px!important}
body.vx-sidebar-collapsed #vx-app-sidebar .tab.active::after{right:6px}
body.vx-sidebar-collapsed .vxNavIcon{margin:0}
body.vx-sidebar-collapsed .vxSidebarMiniLink,
body.vx-sidebar-collapsed .vxSidebarCollapse{justify-content:center}

/* Mobile */
#vx-mobile-nav-shade{display:none}
@media(max-width:1080px){
  :root{--vx-sidebar:224px}
  body.vx-authenticated #project-switcher{min-width:160px;max-width:210px}
  body.vx-authenticated #logout{font-size:0;width:40px;padding:0}
  body.vx-authenticated #logout::before{content:"↪";font-size:18px}
}
@media(max-width:820px){
  #vx-app-sidebar{width:min(286px,84vw);transform:translateX(-105%);box-shadow:35px 0 90px rgba(0,0,0,.46)}
  body.vx-sidebar-open #vx-app-sidebar{transform:translateX(0)}
  body.vx-authenticated > header:not(.vx-public-header){left:0;padding:0 12px}
  body.vx-authenticated > header:not(.vx-public-header) > .vxCabinetLegacyBrand{display:flex!important;align-items:center;gap:7px;margin-right:auto;min-width:0}
  body.vx-authenticated > header:not(.vx-public-header) > .vxCabinetLegacyBrand img{display:block!important;width:28px!important;height:28px!important;border-radius:7px!important}
  body.vx-authenticated > header:not(.vx-public-header) > .vxCabinetLegacyBrand b{display:block!important;font-size:13px;white-space:nowrap}
  body.vx-authenticated > header:not(.vx-public-header) > .vxCabinetLegacyBrand .vxHeaderCatalogLink,
  body.vx-authenticated > header:not(.vx-public-header) > .vxCabinetLegacyBrand .vxHeaderPlatformStatusLink{display:none!important}
  .vxTopbarTitles{display:none}
  body.vx-authenticated > .wrap{margin-left:0;padding-left:14px;padding-right:14px}
  body.vx-sidebar-collapsed > header:not(.vx-public-header){left:0}
  body.vx-sidebar-collapsed > .wrap{margin-left:0}
  body.vx-sidebar-collapsed #vx-app-sidebar{width:min(286px,84vw)}
  body.vx-sidebar-collapsed .vxSidebarBrandText,
  body.vx-sidebar-collapsed .vxSidebarSectionLabel,
  body.vx-sidebar-collapsed .vxSidebarMiniLink span:not(.vxSidebarStatusDot),
  body.vx-sidebar-collapsed .vxSidebarCollapse span{display:initial}
  body.vx-sidebar-collapsed #vx-app-sidebar .tab,
  body.vx-sidebar-collapsed #vx-app-sidebar .vx-support-nav-link{justify-content:flex-start;font-size:13px!important;padding-left:11px!important;padding-right:11px!important}
  .vxMobileNavButton{display:none!important}
  .vxTopbarKicker{display:none}
  .vxTopbarTitle{font-size:15px}
  body.vx-authenticated #project-switcher{display:none!important}
  body.vx-authenticated:not(.vx-no-projects) .vxProjectAdd{display:none!important}
  #vx-mobile-nav-shade{position:fixed;inset:0;z-index:690;display:block;pointer-events:none;background:rgba(0,0,0,0);backdrop-filter:blur(0);transition:background .2s ease,backdrop-filter .2s ease}
  body.vx-sidebar-open #vx-mobile-nav-shade{pointer-events:auto;background:rgba(1,4,9,.58);backdrop-filter:blur(3px)}
}
@media(max-width:560px){
  :root{--vx-topbar:66px}
  body.vx-authenticated > header:not(.vx-public-header){gap:6px}
  .vxTopbarContext{gap:7px}
  .vxTopbarTitle{max-width:128px}
  body.vx-authenticated > header:not(.vx-public-header) > .row{gap:6px}
  body.vx-authenticated .ultra-badge{display:none!important}
  body.vx-authenticated #logout{display:none!important}
  body.vx-authenticated .card{padding:14px;border-radius:14px}
  body.vx-authenticated > .wrap{padding-top:calc(var(--vx-topbar) + 15px)}
  body.vx-authenticated #notify-panel{right:8px!important}
}

/* Public landing: restrained visual refresh */
body.vx-public-guest #vx-public-guest{
  background:radial-gradient(circle at 13% -5%,rgba(243,200,75,.13),transparent 29%),radial-gradient(circle at 88% 9%,rgba(113,144,255,.12),transparent 30%),#070a10
}
body.vx-public-guest .vx-public-header{background:rgba(7,10,16,.79);border-bottom-color:rgba(255,255,255,.07)}
body.vx-public-guest .vx-public-card{border-color:rgba(156,178,210,.12);background:linear-gradient(150deg,rgba(22,29,41,.82),rgba(10,15,23,.75));border-radius:20px}
body.vx-public-guest .vx-public-visual img{object-fit:contain;background:radial-gradient(circle,rgba(243,200,75,.08),transparent 63%)}

/* Owner dashboard composition */
body.vx-authenticated .owner-container{padding:4px}
body.vx-authenticated .owner-header{margin-bottom:22px;padding:4px 2px 18px;border-bottom:1px solid var(--vx-line)}
body.vx-authenticated .owner-header h1{margin:0;font-size:clamp(24px,3vw,34px)}
body.vx-authenticated .owner-plan{margin-top:8px;border-color:rgba(113,144,255,.24);background:rgba(113,144,255,.08);color:#cbd6ff;font-weight:800;letter-spacing:.08em}
body.vx-authenticated .owner-kpi{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin-bottom:18px}
body.vx-authenticated .kpi-card{position:relative;overflow:hidden;padding:18px}
body.vx-authenticated .kpi-card::after{content:"";position:absolute;width:110px;height:110px;right:-54px;top:-58px;border-radius:50%;background:rgba(113,144,255,.08)}
body.vx-authenticated .kpi-title{color:#8694a7;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
body.vx-authenticated .kpi-value{font-size:30px;font-weight:780}
body.vx-authenticated .owner-section{margin-top:12px;padding:16px;border:1px solid var(--vx-line);border-radius:14px;background:rgba(6,10,16,.3)}
body.vx-authenticated .owner-section .section-title{font-size:15px;font-weight:780}
body.vx-authenticated .sa-grid{gap:12px}

/* VX Platform redesign patch 2 — navigation precision, owner workspace, detached pages */
#vx-app-sidebar .tab,
#vx-app-sidebar .vx-support-nav-link{
  padding-right:30px!important;
}
#vx-app-sidebar .tab.active::after{
  right:5px;
}
body.vx-sidebar-collapsed #vx-app-sidebar .tab,
body.vx-sidebar-collapsed #vx-app-sidebar .vx-support-nav-link{
  padding-right:8px!important;
}
body.vx-sidebar-collapsed #vx-app-sidebar .tab.active::after{
  right:4px;
}

/* Mini-profile social unlink actions */
body.vx-authenticated .vxProfileSocialStatus .danger{
  width:auto!important;
  min-width:0!important;
  min-height:26px!important;
  height:26px!important;
  padding:0 9px!important;
  align-items:center!important;
  justify-content:center!important;
  justify-self:end;
  line-height:1!important;
  white-space:nowrap;
  border-radius:8px!important;
  font-size:11px!important;
}

/* Owner workspace tabs */
body.vx-authenticated .owner-header > div:last-child:empty{display:none!important}
body.vx-authenticated .vxOwnerTabsShell{
  display:grid;
  grid-template-columns:0 minmax(0,1fr) 0;
  align-items:stretch;
  gap:0;
  min-width:0;
  margin:0 0 14px;
  transition:grid-template-columns .16s ease,gap .16s ease;
}
body.vx-authenticated .vxOwnerTabsShell.is-overflowing{
  grid-template-columns:34px minmax(0,1fr) 34px;
  gap:5px;
}
body.vx-authenticated .vxOwnerTabsScroll{
  width:0;
  min-width:0;
  padding:0!important;
  overflow:hidden;
  border:1px solid rgba(113,144,255,.18)!important;
  border-radius:10px!important;
  background:rgba(9,14,23,.74)!important;
  color:#aab8cd!important;
  font-size:25px!important;
  font-weight:500!important;
  line-height:1!important;
  opacity:0;
  pointer-events:none;
  transform:none!important;
  box-shadow:none!important;
  transition:opacity .14s ease,border-color .14s ease,background .14s ease;
}
body.vx-authenticated .vxOwnerTabsShell.is-overflowing .vxOwnerTabsScroll{
  width:34px;
  opacity:1;
  pointer-events:auto;
}
body.vx-authenticated .vxOwnerTabsScroll:hover:not(:disabled){
  border-color:rgba(113,144,255,.42)!important;
  background:rgba(27,40,62,.9)!important;
  color:#fff!important;
}
body.vx-authenticated .vxOwnerTabsScroll:disabled{
  opacity:.28!important;
  cursor:default!important;
}
body.vx-authenticated .vxOwnerTabs{
  position:relative;
  display:flex;
  align-items:center;
  gap:5px;
  min-width:0;
  margin:0;
  padding:5px;
  overflow-x:auto;
  overscroll-behavior-x:contain;
  scroll-behavior:smooth;
  touch-action:pan-x pan-y;
  border:1px solid var(--vx-line);
  border-radius:14px;
  background:rgba(5,9,15,.48);
  box-shadow:0 1px 0 rgba(255,255,255,.025) inset;
  scrollbar-width:none;
}
body.vx-authenticated .vxOwnerTabs::-webkit-scrollbar{display:none}
body.vx-authenticated .vxOwnerTab{
  flex:0 0 auto;
  min-height:42px;
  padding:0 13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid transparent;
  border-radius:10px;
  background:transparent;
  color:#8f9cad;
  font-size:12px;
  font-weight:760;
  box-shadow:none;
}
body.vx-authenticated .vxOwnerTab:hover:not(:disabled){
  transform:none;
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.055);
  color:#e7edf6;
}
body.vx-authenticated .vxOwnerTab.is-active{
  background:linear-gradient(110deg,rgba(113,144,255,.19),rgba(155,124,255,.1));
  border-color:rgba(113,144,255,.32);
  color:#fff;
  box-shadow:0 8px 22px rgba(43,61,120,.12),inset 0 1px 0 rgba(255,255,255,.045);
}
body.vx-authenticated .vxOwnerTab[hidden]{display:none!important}
body.vx-authenticated .vxOwnerTabIcon{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:currentColor;
}
body.vx-authenticated .vxOwnerTabIcon svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body.vx-authenticated .owner-section.vxOwnerPage{
  margin-top:0;
  min-height:220px;
  animation:vxOwnerPageIn .16s ease;
}
body.vx-authenticated .owner-section.vxOwnerPage[hidden]{display:none!important}
body.vx-authenticated .owner-section.vxOwnerPage > .vxOwnerLegacyHead{display:none!important}
body.vx-authenticated .vxOwnerPageIntro{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
  padding-bottom:14px;
  border-bottom:1px solid var(--vx-line);
}
body.vx-authenticated .vxOwnerPageIntro h3{margin:0 0 5px;font-size:18px}
body.vx-authenticated .vxOwnerPageIntro p{margin:0;max-width:760px;color:var(--vx-muted);font-size:13px;line-height:1.5}
body.vx-authenticated .vxOwnerActionPanel{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  min-height:120px;
  padding:18px;
  border:1px solid var(--vx-line);
  border-radius:13px;
  background:linear-gradient(130deg,rgba(113,144,255,.07),rgba(7,12,19,.24));
}
body.vx-authenticated .vxOwnerActionPanel h4{margin:0 0 6px}
body.vx-authenticated .vxOwnerActionPanel p{margin:0;color:var(--vx-muted);font-size:13px;line-height:1.5}
body.vx-authenticated .vxOwnerActionPanel button{white-space:nowrap}
@keyframes vxOwnerPageIn{from{opacity:.55;transform:translateY(3px)}to{opacity:1;transform:none}}

/* Normalize pages that were outside .wrap in the legacy markup */
body.vx-authenticated > .wrap > #tab-tickets,
body.vx-authenticated > .wrap > #tab-subscriptions{
  width:100%;
  max-width:1680px;
  min-width:0;
  box-sizing:border-box;
  margin-left:auto;
  margin-right:auto;
}
body.vx-authenticated > .wrap > #tab-tickets{padding:0}
body.vx-authenticated #tab-tickets .vxTickets__header,
body.vx-authenticated #tab-tickets .vxPanel{
  border-color:var(--vx-line);
  background:linear-gradient(145deg,rgba(18,25,36,.94),rgba(12,18,27,.96));
  box-shadow:0 1px 0 rgba(255,255,255,.025) inset,var(--vx-shadow);
}
body.vx-authenticated #tab-tickets .vxTickets__grid{
  grid-template-columns:minmax(300px,380px) minmax(0,1fr);
}
body.vx-authenticated #tab-tickets .vxTickets__controls{min-width:0}
body.vx-authenticated #tab-tickets .vxInp{min-width:min(360px,100%)}
body.vx-authenticated #tab-tickets .vxPanel,
body.vx-authenticated #tab-tickets .vxChat,
body.vx-authenticated #tab-tickets .vxComposer{min-width:0}

body.vx-authenticated #tab-subscriptions{overflow:hidden}
body.vx-authenticated #tab-subscriptions .vxSubscriptionsHero{min-width:0}
body.vx-authenticated #tab-subscriptions .vxPricingToggle{max-width:100%;overflow-x:auto}
body.vx-authenticated #tab-subscriptions .vxSubscriptionCard{min-width:0}

@media(max-width:1100px){
  body.vx-authenticated #tab-tickets .vxTickets__header{align-items:flex-start;flex-direction:column}
  body.vx-authenticated #tab-tickets .vxTickets__controls{width:100%;justify-content:flex-start}
  body.vx-authenticated #tab-tickets .vxTickets__grid{grid-template-columns:1fr}
  body.vx-authenticated #tab-tickets .vxList{max-height:380px}
}
@media(max-width:720px){
  body.vx-authenticated .vxOwnerTabsShell{margin-left:-2px;margin-right:-2px}
  body.vx-authenticated .vxOwnerTabsShell.is-overflowing{grid-template-columns:30px minmax(0,1fr) 30px;gap:4px}
  body.vx-authenticated .vxOwnerTabsShell.is-overflowing .vxOwnerTabsScroll{width:30px}
  body.vx-authenticated .vxOwnerTab{padding:0 10px}
  body.vx-authenticated .vxOwnerTabIcon{width:16px;height:16px}
  body.vx-authenticated .vxOwnerActionPanel{grid-template-columns:1fr}
  body.vx-authenticated #tab-tickets .vxTickets__controls > *{width:100%;min-width:0!important}
}

/* VX Platform redesign patch 3 — logs workspace and plan locks */
#vx-app-sidebar .vxNavLabel{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Selected lock concept: the section name remains visible, access rule sits below it. */
#vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked){
  display:grid!important;
  grid-template-columns:28px minmax(0,1fr) auto;
  grid-template-rows:minmax(24px,auto) auto;
  align-items:center;
  column-gap:10px;
  row-gap:7px;
  min-height:76px!important;
  height:auto!important;
  padding:9px 10px!important;
  overflow:hidden!important;
  border-color:rgba(107,122,145,.12)!important;
  background:linear-gradient(145deg,rgba(11,16,24,.48),rgba(7,11,17,.28))!important;
  color:#667386!important;
  filter:none!important;
}
#vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked):hover{
  transform:none!important;
  border-color:rgba(125,143,170,.2)!important;
  background:linear-gradient(145deg,rgba(15,21,31,.58),rgba(8,13,20,.38))!important;
}
#vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked) > .vxNavIcon{
  grid-column:1;
  grid-row:1;
  color:#566375!important;
  opacity:.82;
}
#vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked) > .vxNavLabel{
  grid-column:2;
  grid-row:1;
  color:#707d90!important;
  font-weight:740;
  opacity:.82;
}
#vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked) > .vxTicketActivityBadge,
#vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked) > .badge{
  grid-column:3;
  grid-row:1;
  opacity:.5;
}
#vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked) :is(.vxNavPlanLock,.vxNavPermissionLock){
  position:static!important;
  inset:auto!important;
  grid-column:1 / -1;
  grid-row:2;
  width:100%;
  min-width:0;
  box-sizing:border-box;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  padding:7px 8px!important;
  border:1px solid rgba(115,132,157,.18)!important;
  border-radius:9px!important;
  background:rgba(5,9,15,.52)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important;
  color:#8e9bad!important;
  font-size:10px!important;
  line-height:1.2!important;
  text-align:left!important;
  white-space:normal!important;
  backdrop-filter:none!important;
}
#vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked) .vxNavLockIcon{
  width:19px;
  height:19px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  border:1px solid rgba(130,147,174,.18);
  border-radius:6px;
  background:rgba(112,128,154,.07);
  color:#8d9aae;
  font-size:10px!important;
}
#vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked) .vxNavLockText{
  min-width:0;
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:3px 5px!important;
}
#vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked) .vxNavLockText > span{
  display:inline-flex!important;
  flex-wrap:wrap;
  justify-content:flex-start!important;
  gap:4px!important;
  white-space:normal!important;
}
#vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked) .vxPlanChip{
  min-height:16px;
  padding:1px 6px!important;
  border-radius:999px;
  font-size:8px!important;
  line-height:1.15!important;
  font-weight:900;
  letter-spacing:.4px;
}
#vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked) .vxPlanChip--lite{
  color:#d7efff;
  border-color:rgba(112,193,255,.46);
  background:linear-gradient(135deg,rgba(28,94,161,.78),rgba(17,54,105,.86));
  box-shadow:0 0 12px rgba(71,154,255,.13);
}
#vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked) .vxPlanChip--pro{
  color:#c9ffda;
  border-color:rgba(89,239,148,.43);
  background:linear-gradient(135deg,rgba(14,111,61,.8),rgba(4,67,37,.88));
  box-shadow:0 0 13px rgba(61,225,128,.15);
}
#vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked) .vxPlanChip--ultra{
  color:#f1e8ff;
  border-color:rgba(187,144,255,.52);
  background:linear-gradient(135deg,rgba(102,48,194,.86),rgba(57,23,127,.9));
  box-shadow:0 0 14px rgba(155,99,255,.22);
}
body.vx-sidebar-collapsed #vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked){
  display:flex!important;
  width:44px!important;
  min-height:44px!important;
  height:44px!important;
  padding:0!important;
  align-items:center;
  justify-content:center;
}
body.vx-sidebar-collapsed #vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked) > .vxNavLabel,
body.vx-sidebar-collapsed #vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked) > :is(.vxNavPlanLock,.vxNavPermissionLock),
body.vx-sidebar-collapsed #vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked) > .vxTicketActivityBadge,
body.vx-sidebar-collapsed #vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked) > .badge{display:none!important}
body.vx-sidebar-collapsed #vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked) > .vxNavIcon{margin:0!important}

/* Logs — split view as primary, timeline and compact table as optional modes. */
body.vx-authenticated #tab-logs.vxLogsWorkspace{
  width:100%;
  max-width:1680px;
  min-width:0;
  margin:0 auto;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
body.vx-authenticated .vxLogsHeader{
  margin-bottom:12px;
  padding:20px;
  border:1px solid var(--vx-line);
  border-radius:17px;
  background:
    radial-gradient(circle at 88% 4%,rgba(113,144,255,.13),transparent 34%),
    linear-gradient(145deg,rgba(18,25,36,.96),rgba(10,16,24,.96));
  box-shadow:var(--vx-shadow),inset 0 1px 0 rgba(255,255,255,.03);
}
body.vx-authenticated .vxLogsHeading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:22px;
}
body.vx-authenticated .vxLogsModuleShortcut{
  min-height:43px;
  padding:0 15px;
  border:1px solid rgba(71,214,160,.3);
  border-radius:11px;
  background:linear-gradient(135deg,rgba(43,174,127,.18),rgba(78,91,214,.14));
  color:#dffbf0;
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
  box-shadow:none;
}
body.vx-authenticated .vxLogsModuleShortcut:hover{transform:none;border-color:rgba(71,214,160,.52);background:linear-gradient(135deg,rgba(43,174,127,.25),rgba(78,91,214,.2))}
body.vx-authenticated .vxLogsEyebrow,
body.vx-authenticated .vxLogsAltKicker{
  display:block;
  margin-bottom:6px;
  color:#7f91aa;
  font-size:10px;
  font-weight:850;
  letter-spacing:.12em;
  text-transform:uppercase;
}
body.vx-authenticated .vxLogsHeading h2{
  margin:0;
  color:#f3f6fb;
  font-size:clamp(24px,3vw,34px);
  letter-spacing:-.035em;
}
body.vx-authenticated .vxLogsHeading p{
  max-width:760px;
  margin:7px 0 0;
  color:var(--vx-muted);
  font-size:13px;
  line-height:1.55;
}
body.vx-authenticated .vxLogsModes{
  display:flex;
  flex:0 0 auto;
  gap:4px;
  padding:4px;
  border:1px solid var(--vx-line);
  border-radius:12px;
  background:rgba(3,7,12,.42);
}
body.vx-authenticated .vxLogsMode{
  min-height:35px;
  padding:0 12px;
  border:1px solid transparent;
  border-radius:9px;
  background:transparent;
  color:#8795a8;
  font-size:11px;
  font-weight:780;
  box-shadow:none;
}
body.vx-authenticated .vxLogsMode:hover{
  transform:none;
  border-color:rgba(255,255,255,.05);
  background:rgba(255,255,255,.035);
  color:#dbe3ee;
}
body.vx-authenticated .vxLogsMode.is-active{
  border-color:rgba(113,144,255,.32);
  background:linear-gradient(115deg,rgba(113,144,255,.2),rgba(155,124,255,.1));
  color:#fff;
  box-shadow:0 8px 18px rgba(36,52,99,.13),inset 0 1px 0 rgba(255,255,255,.04);
}
body.vx-authenticated .vxLogsStats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
  margin-top:17px;
}
body.vx-authenticated .vxLogsStat{
  min-width:0;
  padding:12px 14px;
  border:1px solid rgba(142,160,187,.11);
  border-radius:12px;
  background:rgba(4,8,14,.3);
}
body.vx-authenticated .vxLogsStat span{
  display:block;
  margin-bottom:5px;
  color:#7e8da1;
  font-size:10px;
  font-weight:780;
  letter-spacing:.06em;
  text-transform:uppercase;
}
body.vx-authenticated .vxLogsStat strong{
  display:block;
  color:#edf3fb;
  font-size:23px;
  line-height:1;
  letter-spacing:-.025em;
}
body.vx-authenticated #tab-logs > .logs-topbar{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);
  gap:14px;
  margin-bottom:12px;
  padding:15px;
  border:1px solid var(--vx-line);
  border-radius:15px;
  background:linear-gradient(145deg,rgba(15,22,32,.95),rgba(9,15,23,.95));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
body.vx-authenticated #tab-logs .logs-left{
  display:grid;
  grid-template-columns:repeat(4,minmax(105px,1fr));
  align-items:end;
  gap:10px;
  min-width:0;
}
body.vx-authenticated #tab-logs .logs-field,
body.vx-authenticated #tab-logs .logs-field input,
body.vx-authenticated #tab-logs .logs-field select{min-width:0}
body.vx-authenticated #tab-logs .logs-geo{grid-column:span 2}
body.vx-authenticated #tab-logs .logs-geo-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
body.vx-authenticated #tab-logs .logs-geo-row input{width:100%}
body.vx-authenticated #tab-logs .logs-right{min-width:0}
body.vx-authenticated #tab-logs .logs-search{width:100%;box-sizing:border-box}
body.vx-authenticated #tab-logs .logs-actions{gap:7px}
body.vx-authenticated #tab-logs .logs-actions button{min-height:35px;padding:0 11px}
body.vx-authenticated #tab-logs .logs-check{
  min-height:35px;
  padding:0 10px;
  border:1px solid var(--vx-line);
  border-radius:9px;
  background:rgba(255,255,255,.025);
  color:#a7b3c3;
  font-size:11px;
}
body.vx-authenticated #tab-logs .logs-status-row{align-items:flex-start}
body.vx-authenticated #tab-logs .logs-hint{text-align:right}
body.vx-authenticated #tab-logs > .logs-body{
  grid-template-columns:minmax(360px,.82fr) minmax(0,1.18fr);
  gap:12px;
}
body.vx-authenticated #tab-logs .logs-pane{
  min-width:0;
  border:1px solid var(--vx-line);
  border-radius:15px;
  background:linear-gradient(145deg,rgba(15,22,32,.95),rgba(9,15,23,.95));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
body.vx-authenticated #tab-logs .logs-pane-head{
  min-height:48px;
  padding:0 14px;
  border-bottom:1px solid var(--vx-line);
}
body.vx-authenticated #tab-logs .logs-list,
body.vx-authenticated #tab-logs .logs-detail{
  min-height:510px;
  max-height:calc(100vh - 345px);
  overflow:auto;
}
body.vx-authenticated #tab-logs .logs-item{
  margin:8px;
  padding:12px;
  border:1px solid transparent;
  border-radius:11px;
  background:rgba(255,255,255,.018);
}
body.vx-authenticated #tab-logs .logs-item:hover{
  border-color:rgba(130,151,181,.12);
  background:rgba(255,255,255,.035);
}
body.vx-authenticated #tab-logs .logs-item.active{
  border-color:rgba(113,144,255,.33);
  outline:0;
  background:linear-gradient(120deg,rgba(113,144,255,.12),rgba(113,144,255,.045));
}
body.vx-authenticated .vxLogsAltView{
  min-width:0;
  padding:16px;
  border:1px solid var(--vx-line);
  border-radius:15px;
  background:linear-gradient(145deg,rgba(15,22,32,.95),rgba(9,15,23,.95));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
  animation:vxLogsViewIn .16s ease;
}
body.vx-authenticated .vxLogsAltView[hidden],
body.vx-authenticated #tab-logs > .logs-body[hidden]{display:none!important}
body.vx-authenticated .vxLogsAltToolbar{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:14px;
  padding-bottom:13px;
  border-bottom:1px solid var(--vx-line);
}
body.vx-authenticated .vxLogsAltToolbar h3{margin:0;color:#eef3fa;font-size:17px}
body.vx-authenticated .vxLogsTimelineControls{
  display:flex;
  align-items:flex-end;
  gap:8px;
}
body.vx-authenticated .vxLogsTimelineControls label{
  display:grid;
  gap:5px;
  color:#7f8da0;
  font-size:10px;
  font-weight:760;
  letter-spacing:.04em;
  text-transform:uppercase;
}
body.vx-authenticated .vxLogsTimelineControls select{min-width:170px}
body.vx-authenticated .vxLogsTimelineControls input{width:105px}
body.vx-authenticated .vxLogsRadiusControl[hidden]{display:none!important}
body.vx-authenticated .vxLogsTimeline{
  display:grid;
  gap:12px;
  max-height:calc(100vh - 320px);
  overflow:auto;
  padding-right:3px;
}
body.vx-authenticated .vxLogsTimelineGroup{
  overflow:hidden;
  border:1px solid rgba(137,155,181,.12);
  border-radius:13px;
  background:rgba(3,7,12,.24);
}
body.vx-authenticated .vxLogsTimelineGroupHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:49px;
  padding:0 14px;
  border-bottom:1px solid rgba(137,155,181,.1);
  background:rgba(255,255,255,.018);
}
body.vx-authenticated .vxLogsTimelineGroupHead > div{display:flex;align-items:center;gap:9px}
body.vx-authenticated .vxLogsTimelineGroupHead span{color:#dfe6ef;font-size:12px;font-weight:790}
body.vx-authenticated .vxLogsTimelineGroupHead small{
  padding:2px 7px;
  border:1px solid rgba(128,146,171,.13);
  border-radius:999px;
  color:#7e8ca0;
  font-size:9px;
}
body.vx-authenticated .vxLogsTimelineRows{position:relative;padding:5px 0}
body.vx-authenticated .vxLogsTimelineRows::before{
  content:"";
  position:absolute;
  left:25px;
  top:10px;
  bottom:10px;
  width:1px;
  background:linear-gradient(rgba(113,144,255,.3),rgba(113,144,255,.04));
}
body.vx-authenticated .vxLogsTimelineRow{
  position:relative;
  width:100%;
  min-height:66px;
  display:grid;
  grid-template-columns:20px 142px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  padding:9px 13px 9px 16px;
  border:0;
  border-radius:0;
  background:transparent;
  color:inherit;
  text-align:left;
  box-shadow:none;
}
body.vx-authenticated .vxLogsTimelineRow:hover{
  transform:none;
  background:rgba(255,255,255,.028);
}
body.vx-authenticated .vxLogsTimelineDot{
  position:relative;
  z-index:2;
  width:9px;
  height:9px;
  justify-self:center;
  border:2px solid #0b111a;
  border-radius:50%;
  background:#70a0ff;
  box-shadow:0 0 0 3px rgba(112,160,255,.12);
}
body.vx-authenticated .vxLogsTimelineRow.is-warn .vxLogsTimelineDot{background:#e4b14f;box-shadow:0 0 0 3px rgba(228,177,79,.12)}
body.vx-authenticated .vxLogsTimelineRow.is-bad .vxLogsTimelineDot{background:#ef6e78;box-shadow:0 0 0 3px rgba(239,110,120,.13)}
body.vx-authenticated .vxLogsTimelineTime{color:#77879b;font-size:10px;font-variant-numeric:tabular-nums}
body.vx-authenticated .vxLogsTimelineMain{min-width:0;display:grid;gap:3px}
body.vx-authenticated .vxLogsTimelineMain b{color:#dfe6ef;font-size:11px;text-transform:uppercase;letter-spacing:.04em}
body.vx-authenticated .vxLogsTimelineMain > span{overflow:hidden;color:#b3bfce;font-size:12px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}
body.vx-authenticated .vxLogsTimelineMain small{overflow:hidden;color:#6f8095;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
body.vx-authenticated .vxLogsTimelineOpen{
  padding:5px 8px;
  border:1px solid rgba(117,137,166,.14);
  border-radius:8px;
  color:#8595aa;
  font-size:9px;
  font-weight:760;
}
body.vx-authenticated .vxLogsCompactHint{color:#7d8ca0;font-size:11px}
body.vx-authenticated .vxLogsTableWrap{
  max-height:calc(100vh - 320px);
  overflow:auto;
  border:1px solid rgba(137,155,181,.12);
  border-radius:12px;
}
body.vx-authenticated .vxLogsTable{
  width:100%;
  min-width:900px;
  border-collapse:separate;
  border-spacing:0;
  table-layout:fixed;
}
body.vx-authenticated .vxLogsTable th{
  position:sticky;
  top:0;
  z-index:2;
  padding:10px 11px;
  border-bottom:1px solid rgba(137,155,181,.13);
  background:#0d141e;
  color:#718197;
  font-size:9px;
  font-weight:840;
  letter-spacing:.07em;
  text-align:left;
  text-transform:uppercase;
}
body.vx-authenticated .vxLogsTable th:nth-child(1){width:145px}
body.vx-authenticated .vxLogsTable th:nth-child(2){width:140px}
body.vx-authenticated .vxLogsTable th:nth-child(3){width:190px}
body.vx-authenticated .vxLogsTable th:nth-child(5){width:140px}
body.vx-authenticated .vxLogsTable td{
  padding:10px 11px;
  border-bottom:1px solid rgba(137,155,181,.075);
  color:#aeb9c8;
  font-size:11px;
  line-height:1.35;
  vertical-align:middle;
}
body.vx-authenticated .vxLogsTable tr:last-child td{border-bottom:0}
body.vx-authenticated .vxLogsTable tbody tr{cursor:pointer;outline:0}
body.vx-authenticated .vxLogsTable tbody tr:hover,
body.vx-authenticated .vxLogsTable tbody tr:focus{background:rgba(113,144,255,.055)}
body.vx-authenticated .vxLogsTable td small{display:block;margin-top:3px;color:#6e7f94;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.vx-authenticated .vxLogsTable td:nth-child(4){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.vx-authenticated .vxLogsTableType{
  display:inline-flex;
  align-items:center;
  min-height:20px;
  padding:0 7px;
  border:1px solid rgba(100,210,155,.25);
  border-radius:999px;
  background:rgba(53,175,112,.08);
  color:#8bd4ad;
  font-size:9px;
  font-weight:800;
  letter-spacing:.03em;
  text-transform:uppercase;
}
body.vx-authenticated .vxLogsTableType.is-warn{border-color:rgba(228,177,79,.27);background:rgba(228,177,79,.08);color:#dfbd78}
body.vx-authenticated .vxLogsTableType.is-bad{border-color:rgba(239,110,120,.28);background:rgba(239,110,120,.08);color:#ef9aa1}
body.vx-authenticated .vxLogsEmpty{
  padding:32px 18px;
  color:#74849a;
  font-size:12px;
  text-align:center;
}
@keyframes vxLogsViewIn{from{opacity:.55;transform:translateY(3px)}to{opacity:1;transform:none}}

@media(max-width:1250px){
  body.vx-authenticated #tab-logs > .logs-topbar{grid-template-columns:1fr}
  body.vx-authenticated #tab-logs .logs-left{grid-template-columns:repeat(3,minmax(110px,1fr))}
  body.vx-authenticated #tab-logs .logs-geo{grid-column:span 2}
  body.vx-authenticated #tab-logs .logs-list,
  body.vx-authenticated #tab-logs .logs-detail{max-height:620px}
}
@media(max-width:900px){
  body.vx-authenticated .vxLogsHeading{flex-direction:column}
  body.vx-authenticated .vxLogsModuleShortcut{width:100%}
  body.vx-authenticated .vxLogsModes{width:100%;box-sizing:border-box}
  body.vx-authenticated .vxLogsMode{flex:1}
  body.vx-authenticated .vxLogsStats{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.vx-authenticated #tab-logs > .logs-body{grid-template-columns:1fr}
  body.vx-authenticated #tab-logs .logs-left{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.vx-authenticated #tab-logs .logs-geo{grid-column:1/-1}
  body.vx-authenticated .vxLogsTimelineRow{grid-template-columns:20px 105px minmax(0,1fr)}
  body.vx-authenticated .vxLogsTimelineOpen{display:none}
}
@media(max-width:620px){
  body.vx-authenticated .vxLogsHeader{padding:15px}
  body.vx-authenticated .vxLogsHeading h2{font-size:25px}
  body.vx-authenticated .vxLogsModes{overflow-x:auto}
  body.vx-authenticated .vxLogsMode{flex:0 0 auto}
  body.vx-authenticated #tab-logs .logs-left{grid-template-columns:1fr}
  body.vx-authenticated #tab-logs .logs-geo{grid-column:auto}
  body.vx-authenticated #tab-logs .logs-actions > *{width:100%}
  body.vx-authenticated #tab-logs .logs-status-row{flex-direction:column}
  body.vx-authenticated #tab-logs .logs-hint{text-align:left}
  body.vx-authenticated .vxLogsAltToolbar{align-items:stretch;flex-direction:column}
  body.vx-authenticated .vxLogsTimelineControls{align-items:stretch;flex-direction:column}
  body.vx-authenticated .vxLogsTimelineControls select,
  body.vx-authenticated .vxLogsTimelineControls input{width:100%;min-width:0;box-sizing:border-box}
  body.vx-authenticated .vxLogsTimelineRow{grid-template-columns:18px minmax(0,1fr);gap:8px;padding-left:12px}
  body.vx-authenticated .vxLogsTimelineTime{grid-column:2;color:#6e7f94}
  body.vx-authenticated .vxLogsTimelineMain{grid-column:2}
  body.vx-authenticated .vxLogsTimelineRows::before{left:20px}
}
#vx-app-sidebar .tab:is(.vxPlanLocked,.vxTicketPermissionLocked){width:100%!important;min-width:0!important}


/* VX Platform redesign patch 4 — access visibility and ticket permissions */
.vxSidebarSectionHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:16px 8px 7px 10px;
}
.vxSidebarSectionHead .vxSidebarSectionLabel{padding:0;min-width:0}
.vxSidebarVisibilityToggle{
  width:29px!important;
  min-width:29px!important;
  height:29px!important;
  min-height:29px!important;
  padding:0!important;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  border:1px solid rgba(126,145,173,.14)!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.025)!important;
  color:#69788d!important;
  box-shadow:none!important;
}
.vxSidebarVisibilityToggle:hover{
  color:#b9c7dc!important;
  border-color:rgba(126,151,198,.3)!important;
  background:rgba(113,144,255,.075)!important;
  transform:none!important;
}
.vxSidebarVisibilityToggle.is-active{
  color:#aebeff!important;
  border-color:rgba(113,144,255,.4)!important;
  background:rgba(113,144,255,.12)!important;
}
.vxSidebarVisibilityToggle svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
body.vx-sidebar-collapsed .vxSidebarSectionHead{
  justify-content:center;
  padding:14px 0 7px;
}
body.vx-sidebar-collapsed .vxSidebarSectionHead .vxSidebarSectionLabel{display:none}
body.vx-sidebar-collapsed .vxSidebarVisibilityToggle{
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  min-height:34px!important;
}
body.vx-hide-unavailable-modules #vx-app-sidebar .tabs > .tab.locked{
  display:none!important;
}
#vx-app-sidebar .tab.vxTicketPermissionLocked :is(.vxNavPlanLock,.vxNavPermissionLock){
  border-color:rgba(232,174,86,.18)!important;
  background:rgba(54,36,12,.2)!important;
  color:#bba67e!important;
}
#vx-app-sidebar .tab.vxTicketPermissionLocked .vxNavLockIcon{
  border-color:rgba(232,174,86,.2)!important;
  background:rgba(232,174,86,.07)!important;
  color:#c7aa72!important;
}
.vxLocalNotifyItem .notify-title{display:flex;align-items:center;gap:7px}
.vxLocalNotifyItem .notify-title::before{content:'🎫';font-size:13px}
.vxLocalNotificationToast{cursor:pointer}
@media(max-width:820px){
  .vxSidebarSectionHead{padding-top:13px}
}


/* VX Platform redesign patch 5 — social identity, SA profiles, public consolidation */
body.vx-authenticated .vxProfileSocialStatus .danger:not(.hidden){display:inline-flex!important}
body.vx-authenticated .vxProfileSocialStatus .danger.hidden{display:none!important}
body.vx-authenticated .vxProfileSocialLabel{display:inline-flex;align-items:center;gap:7px}
body.vx-authenticated .vxProfileSocialIcon{width:17px;height:17px;object-fit:contain;flex:0 0 auto;filter:drop-shadow(0 2px 7px rgba(0,0,0,.3))}
body.vx-authenticated .vxTelegramProfileTop{align-items:flex-start}
body.vx-authenticated .vxTelegramProfileMeta{padding-left:24px;line-height:1.45}

body.vx-authenticated .vxSaSocialAccounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 14px}
body.vx-authenticated .vxSaSocialAccount{position:relative;display:grid;gap:7px;min-width:0;padding:13px;border:1px solid var(--vx-line);border-radius:13px;background:rgba(5,9,15,.43)}
body.vx-authenticated .vxSaSocialAccount.is-linked{border-color:rgba(54,211,153,.24);background:linear-gradient(145deg,rgba(23,68,55,.2),rgba(5,12,17,.52))}
body.vx-authenticated .vxSaSocialAccount.is-off{opacity:.68}
body.vx-authenticated .vxSaSocialHead{display:flex;align-items:center;justify-content:space-between;gap:10px}
body.vx-authenticated .vxSaSocialHead>span{display:inline-flex;align-items:center;gap:7px;font-weight:800}
body.vx-authenticated .vxSaSocialHead img{width:18px;height:18px;object-fit:contain}
body.vx-authenticated .vxSaSocialHead b{padding:4px 7px;border-radius:999px;background:rgba(239,68,68,.11);color:#fca5a5;font-size:10px;text-transform:uppercase;letter-spacing:.04em}
body.vx-authenticated .vxSaSocialAccount.is-linked .vxSaSocialHead b{background:rgba(34,197,94,.12);color:#86efac}
body.vx-authenticated .vxSaSocialAccount>strong{overflow:hidden;text-overflow:ellipsis}
body.vx-authenticated .vxSaSocialAccount>small{min-height:32px;color:var(--vx-muted);line-height:1.45;overflow-wrap:anywhere}
body.vx-authenticated .vxSaSocialUnlink{justify-self:start;width:auto!important;min-width:0!important;min-height:30px!important;padding:0 10px!important;font-size:11px!important}
body.vx-authenticated .vxSaSocialUnlink:disabled{cursor:not-allowed;opacity:.45}
body.vx-authenticated .vxSaProviderMark{display:grid;place-items:center;width:18px;height:18px;border-radius:5px;color:#fff;font:900 12px/1 Arial,sans-serif}
body.vx-authenticated .vxSaProviderMark--yandex{background:#fff;color:#e00000}
body.vx-authenticated .vxSaIdentityPerson{display:flex;align-items:center;gap:9px;min-width:0}
body.vx-authenticated .vxSaIdentityPerson>img,body.vx-authenticated .vxSaIdentityPerson>.vxSaProviderMark{width:34px;height:34px;flex:0 0 34px;border-radius:10px;object-fit:cover}
body.vx-authenticated .vxSaIdentityPerson>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.vx-authenticated .vxSaIdentityData{display:grid;gap:5px;padding:8px;border:1px solid rgba(255,255,255,.065);border-radius:9px;background:rgba(0,0,0,.16)}
body.vx-authenticated .vxSaIdentityData>span{display:grid;grid-template-columns:94px minmax(0,1fr);gap:8px;align-items:start}
body.vx-authenticated .vxSaIdentityData b{color:var(--vx-muted);font-size:10px;font-weight:650}
body.vx-authenticated .vxSaIdentityData code{min-width:0;color:#dce8f7;font:11px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;white-space:normal}
body.vx-authenticated .vxSaIdentityRaw{min-width:0;border:1px solid rgba(255,255,255,.07);border-radius:9px;background:rgba(0,0,0,.14)}
body.vx-authenticated .vxSaIdentityRaw summary{padding:8px;color:#9db0c8;font-size:11px;cursor:pointer}
body.vx-authenticated .vxSaIdentityRaw pre{max-height:230px;margin:0;padding:9px;border-top:1px solid rgba(255,255,255,.07);overflow:auto;color:#cfe0f4;font:10px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}
body.vx-authenticated .vxSaIdentitySafety{min-height:0!important;color:#fbbf77!important;font-size:10px}

.vx-public-consolidation{display:grid;grid-template-columns:minmax(0,.86fr) minmax(420px,1.14fr);gap:28px;align-items:center;padding:30px;border:1px solid rgba(139,158,195,.14);border-radius:24px;background:radial-gradient(circle at 12% 20%,rgba(113,144,255,.13),transparent 39%),linear-gradient(145deg,rgba(20,28,42,.88),rgba(8,13,21,.82))}
.vx-public-consolidation__copy h2{margin:10px 0 12px;font-size:clamp(25px,3.4vw,40px);line-height:1.08}
.vx-public-consolidation__copy p{max-width:660px;color:#aeb9c9;line-height:1.7}
.vx-public-consolidation__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.vx-public-consolidation__grid>div{display:flex;align-items:center;gap:11px;min-width:0;padding:12px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(5,9,15,.48)}
.vx-public-consolidation__grid>div.is-result{border-color:rgba(243,200,75,.28);background:linear-gradient(135deg,rgba(243,200,75,.12),rgba(113,144,255,.08))}
.vx-public-consolidation__grid img,.vx-public-consolidation__glyph{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;object-fit:contain;border-radius:9px}
.vx-public-consolidation__glyph{background:rgba(113,144,255,.12);color:#dce4ff;font-size:14px;font-weight:900}
.vx-public-consolidation__grid span:last-child{display:grid;min-width:0;gap:2px}
.vx-public-consolidation__grid b{font-size:13px}
.vx-public-consolidation__grid small{color:#8996a9;font-size:11px;line-height:1.35}
@media(max-width:900px){.vx-public-consolidation{grid-template-columns:1fr}.vx-public-consolidation__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){body.vx-authenticated .vxSaSocialAccounts{grid-template-columns:1fr}.vx-public-consolidation{padding:20px}.vx-public-consolidation__grid{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.vx-public-consolidation__grid{grid-template-columns:1fr}}

/* Patch 6: centered legal links */
.vxLegalFooter{
  position:fixed;
  left:50%;
  bottom:12px;
  z-index:35;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  max-width:calc(100vw - 32px);
  padding:7px 12px;
  border:1px solid rgba(148,163,184,.22);
  border-radius:12px;
  background:rgba(8,12,24,.84);
  box-shadow:0 8px 28px rgba(0,0,0,.18);
  backdrop-filter:blur(10px);
  font-size:11px;
  white-space:nowrap;
}
.vxLegalFooter a{color:#91a0ba;text-decoration:none;transition:color .16s ease}
.vxLegalFooter a:hover{color:#dbe7ff}
.vxLegalFooter span{color:#4c5a72}
body.vx-sidebar-collapsed .vxLegalFooter{left:50%}

/* Super-admin store emergency control */
.vxStoreAdminBlock{
  margin-bottom:18px;
  padding:16px;
  border:1px solid rgba(52,211,153,.24);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(16,185,129,.08),rgba(15,23,42,.56));
}
.vxStoreAdminBlock.is-locked{
  border-color:rgba(245,158,11,.38);
  background:linear-gradient(145deg,rgba(245,158,11,.11),rgba(15,23,42,.62));
}
.vxStoreAdminHead{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.vxStoreAdminHead strong{display:block;font-size:15px;color:#edf4ff}
.vxStoreAdminHead p{max-width:640px;margin:5px 0 0;color:#91a0b7;font-size:12px;line-height:1.5}
.vxStoreAdminSwitch{display:inline-flex;align-items:center;gap:9px;flex:0 0 auto;padding:9px 11px;border:1px solid rgba(148,163,184,.2);border-radius:11px;background:rgba(8,13,24,.58);font-size:12px;font-weight:800;cursor:pointer}
.vxStoreAdminSwitch input{width:18px;height:18px;accent-color:#f59e0b}
.vxStoreAdminMessage{display:grid;gap:7px;margin-top:14px;color:#9eabc0;font-size:12px;font-weight:700}
.vxStoreAdminMessage textarea{min-height:74px;resize:vertical}
@media(max-width:700px){.vxStoreAdminHead{flex-direction:column}.vxStoreAdminSwitch{width:100%;justify-content:center}.vxLegalFooter{bottom:8px}}

/* Discord reconnect state */
.vxBotReconnectPanel{border-color:rgba(248,113,113,.35)!important;background:linear-gradient(145deg,rgba(64,25,31,.45),rgba(13,21,31,.98))!important}
.vxBotReconnectPanel .vxBotConnection{border-color:rgba(248,113,113,.3);background:rgba(44,20,25,.48)}
.vxBotReconnectGuild{margin-top:7px;color:#aebed1;font-size:12px}
.vxBotReconnectNotice{display:flex;align-items:center;gap:10px;padding:11px 12px;border:1px solid rgba(248,113,113,.25);border-radius:10px;background:rgba(127,29,29,.16)}
.vxBotReconnectNotice>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:rgba(248,113,113,.18);color:#fca5a5;font-weight:900}
.vxBotReconnectNotice>div{display:grid;gap:2px}
.vxBotReconnectNotice small{color:#9eafc3}


/* Patch 10: direct log -> production map navigation */
.logs-item{position:relative}
.logs-item>.vxLogMapButton{margin:10px 12px 12px auto}
.vxLogMapButton{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:7px 11px;border:1px solid rgba(78,203,157,.3);border-radius:10px;background:rgba(51,168,126,.11);color:#baf4de;font:700 12px/1.15 inherit;white-space:nowrap;cursor:pointer;transition:.18s ease}
.vxLogMapButton:hover{border-color:rgba(93,225,176,.58);background:rgba(51,168,126,.2);transform:translateY(-1px)}
.vxLogMapButtonIcon{font-size:15px;line-height:1}
.vxLogMapButton.is-locked,.vxLogMapButton:disabled{border-color:rgba(126,137,153,.18);background:rgba(89,98,112,.08);color:#66717f;cursor:not-allowed;transform:none;filter:saturate(.45)}
.vxLogsTimelineActions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.vxLogsTimelineRow .vxLogMapButton{pointer-events:auto;min-height:30px;padding:5px 8px;font-size:11px}
.vxLogsTimelineRow .vxLogMapButton.is-locked{pointer-events:none}
.vxLogsTableMap{width:1%;white-space:nowrap}
.vxLogsTableMap .vxLogMapButton{min-height:30px;padding:5px 8px;font-size:11px}
@media(max-width:760px){.vxLogMapButton span:last-child{display:none}.vxLogMapButton{width:34px;padding:6px}.logs-item>.vxLogMapButton span:last-child{display:inline}.logs-item>.vxLogMapButton{width:auto;padding:7px 10px}.vxLogsTimelineActions{min-width:36px}}

/* VX SA destructive user actions */
.vxSaDangerZone{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  margin-top:14px!important;
  padding:16px!important;
  border:1px solid rgba(255,86,105,.42)!important;
  border-radius:14px;
  background:linear-gradient(135deg,rgba(104,20,34,.22),rgba(37,12,19,.3));
}
.vxSaDangerZone>b,.vxSaDangerZone b{color:#ff9aa7}
.vxSaDeleteUser{white-space:nowrap;background:rgba(145,29,47,.38)!important;border-color:rgba(255,91,111,.55)!important;color:#ffdce1!important}
.vxSaDeleteUser:hover{background:rgba(180,34,55,.56)!important}
@media(max-width:760px){.vxSaDangerZone{grid-template-columns:1fr}.vxSaDeleteUser{width:100%;white-space:normal}}

/* 2026-08-01: subscription-expiry locks */
#vx-app-sidebar .vxNavLockAction{
  margin-left:auto;
  color:#9cc8ff;
  font-weight:850;
  white-space:nowrap;
  text-decoration:none;
}
#vx-app-sidebar .vxNavPlanLock[role="button"]{cursor:pointer!important}
#vx-app-sidebar .vxNavPlanLock[role="button"]:hover{
  border-color:rgba(112,166,235,.34)!important;
  background:rgba(22,35,52,.72)!important;
}
body.vx-authenticated .vxOwnerTab.vxOwnerTab--locked{
  position:relative;
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding-right:9px;
  border-color:rgba(120,137,162,.14);
  background:linear-gradient(145deg,rgba(14,20,29,.62),rgba(7,11,17,.42));
  color:#6f7b8d;
  cursor:pointer;
}
body.vx-authenticated .vxOwnerTab.vxOwnerTab--locked:hover{
  border-color:rgba(125,155,196,.28);
  background:linear-gradient(145deg,rgba(18,27,39,.76),rgba(9,14,21,.56));
  color:#91a0b4;
}
body.vx-authenticated .vxOwnerTabLock{
  width:17px;
  height:17px;
  flex:0 0 17px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-left:1px;
  border:1px solid rgba(126,144,168,.18);
  border-radius:6px;
  background:rgba(255,255,255,.035);
  color:#8795a8;
  font-size:9px;
  line-height:1;
  white-space:nowrap;
}
body.vx-authenticated .vxOwnerTab.vxOwnerTab--locked.is-active{
  box-shadow:none;
  color:#778498;
}
#vx-notification-toast-root{z-index:2147483000!important}


/* v37: explicit map entitlement text on every log template */
body.vx-authenticated #tab-logs .vxLogMapButton.is-locked{
  width:auto!important;
  max-width:260px;
  white-space:normal!important;
  text-align:left;
  line-height:1.25;
}
body.vx-authenticated #tab-logs .vxLogMapButton.is-locked span:last-child{display:inline!important}

/* VX Vanilla log details */
.vxLogsVanillaDetails{margin-top:12px;padding-top:12px;border-top:1px solid rgba(255,255,255,.08)}
.vxLogsVanillaDetails h4{margin:0 0 9px;color:#dfeaf5;font-size:11px}
.vxLogsVanillaDetails>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.vxLogsVanillaDetails span{min-width:0;padding:8px 9px;border:1px solid rgba(255,255,255,.07);border-radius:9px;background:rgba(255,255,255,.025)}
.vxLogsVanillaDetails small,.vxLogsVanillaDetails b{display:block;overflow-wrap:anywhere}
.vxLogsVanillaDetails small{color:#7f93a9;font-size:8px;text-transform:uppercase;letter-spacing:.05em}
.vxLogsVanillaDetails b{margin-top:4px;color:#eaf2fb;font-size:10px;font-weight:700}
@media(max-width:620px){.vxLogsVanillaDetails>div{grid-template-columns:1fr}}

/* Owner logging module v41 */
body.vx-authenticated .vxOwnerLoggingPage{padding:0!important;border:0!important;background:transparent!important}
body.vx-authenticated .vxOwnerLoggingPage>.vxOwnerPageIntro{margin-bottom:12px}
.vxLoggingRoot{display:grid;gap:12px}.vxLoggingLoading,.vxLoggingError{padding:22px;border:1px solid var(--vx-line);border-radius:14px;background:rgba(6,10,16,.42);color:var(--vx-muted)}
.vxLoggingError{display:grid;gap:8px}.vxLoggingError b{color:#f1f5f9}.vxLoggingError button{justify-self:start}
.vxLoggingHero,.vxLoggingConnect,.vxLoggingToolbar,.vxLoggingDownloads{border:1px solid var(--vx-line);border-radius:14px;background:rgba(6,10,16,.42)}
.vxLoggingHero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px}.vxLoggingEyebrow{color:#7f93a9;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.vxLoggingHero h4{margin:5px 0 4px;font-size:20px}.vxLoggingHero p{margin:0;color:var(--vx-muted);font-size:13px}
.vxLoggingModuleBadge{flex:0 0 auto;padding:8px 12px;border:1px solid rgba(100,116,139,.45);border-radius:9px;background:rgba(51,65,85,.28);font-weight:900;letter-spacing:.08em}.vxLoggingModuleBadge.is-plus{border-color:rgba(96,165,250,.5);background:rgba(30,64,175,.2);color:#9ecbff}.vxLoggingModuleBadge.is-custom{border-color:rgba(192,132,252,.55);background:rgba(107,33,168,.22);color:#dec0ff}.vxLoggingModuleBadge.is-vanilla{border-color:rgba(132,204,22,.42);background:rgba(63,98,18,.18);color:#c8e98e}
.vxLoggingConnect{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.7fr);gap:12px;padding:14px}.vxLoggingField{display:grid;gap:7px}.vxLoggingField>span{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8fa2b5}.vxLoggingField select{min-height:44px}.vxLoggingField small,.vxLoggingDebug small{color:var(--vx-muted);font-size:11px;line-height:1.45}
.vxLoggingDebug{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border:1px solid var(--vx-line);border-radius:11px;background:rgba(255,255,255,.025);cursor:pointer}.vxLoggingDebug span{display:grid;gap:4px}.vxLoggingDebug input,.vxLoggingSwitch input{position:absolute;opacity:0;pointer-events:none}.vxLoggingDebug>i,.vxLoggingSwitch>i{width:42px;height:23px;flex:0 0 auto;border-radius:999px;background:#27313a;position:relative;transition:.15s}.vxLoggingDebug>i:after,.vxLoggingSwitch>i:after{content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#8090a0;transition:.15s}.vxLoggingDebug input:checked+i,.vxLoggingSwitch input:checked+i{background:#245c48}.vxLoggingDebug input:checked+i:after,.vxLoggingSwitch input:checked+i:after{left:22px;background:#8ee0b7}
.vxLoggingSnapshotPanel{border:1px solid var(--vx-line);border-radius:14px;background:rgba(6,10,16,.42);overflow:hidden}.vxLoggingSnapshotHead{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 14px;border-bottom:1px solid var(--vx-line);background:rgba(255,255,255,.025)}.vxLoggingSnapshotHead>div{display:grid;gap:3px}.vxLoggingSnapshotHead span{color:var(--vx-muted);font-size:11px}.vxLoggingSnapshotHead>strong{flex:0 0 auto;color:#9fbd7f;font-size:10px;text-transform:uppercase;letter-spacing:.08em}.vxLoggingSnapshotGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.vxLoggingSnapshotSwitch:nth-child(odd){border-right:1px solid rgba(255,255,255,.045)}.vxLoggingSnapshotSwitch>span{display:grid;gap:3px}.vxLoggingSnapshotSwitch>span>b{font-size:12px}.vxLoggingSnapshotSwitch>span>small{color:var(--vx-muted);font-size:10px;line-height:1.35;font-weight:400}
.vxLoggingToolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px}.vxLoggingToolbar>div:first-child{display:grid;gap:3px}.vxLoggingToolbar span{color:var(--vx-muted);font-size:11px}.vxLoggingToolbar>div:last-child{display:flex;gap:7px}
.vxLoggingGroups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.vxLoggingGroup{border:1px solid var(--vx-line);border-radius:14px;background:rgba(6,10,16,.42);overflow:hidden}.vxLoggingGroup header{display:flex;align-items:center;justify-content:space-between;padding:11px 13px;border-bottom:1px solid var(--vx-line);background:rgba(255,255,255,.025)}.vxLoggingGroup header span{display:grid;place-items:center;min-width:24px;height:22px;border-radius:7px;background:rgba(255,255,255,.05);color:#92a4b6;font-size:10px}.vxLoggingGroup>div{display:grid}.vxLoggingSwitch{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:45px;padding:9px 12px;border-bottom:1px solid rgba(255,255,255,.045);cursor:pointer}.vxLoggingSwitch:last-child{border-bottom:0}.vxLoggingSwitch:hover{background:rgba(255,255,255,.025)}.vxLoggingSwitch>span{font-size:12px}.vxLoggingSwitch>i{width:36px;height:20px}.vxLoggingSwitch>i:after{width:14px;height:14px}.vxLoggingSwitch input:checked+i:after{left:19px}
.vxLoggingDownloads{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px}.vxLoggingDownloads b{font-size:15px}.vxLoggingDownloads p{margin:5px 0 0;color:var(--vx-muted);font-size:12px;line-height:1.5}.vxLoggingDownloadActions{display:flex;gap:8px;flex:0 0 auto}
@media(max-width:900px){.vxLoggingConnect,.vxLoggingGroups,.vxLoggingSnapshotGrid{grid-template-columns:1fr}.vxLoggingSnapshotSwitch:nth-child(odd){border-right:0}.vxLoggingToolbar,.vxLoggingDownloads{align-items:stretch;flex-direction:column}.vxLoggingDownloadActions{width:100%}.vxLoggingDownloadActions button{flex:1}}
@media(max-width:560px){.vxLoggingHero{align-items:flex-start;flex-direction:column}.vxLoggingToolbar>div:last-child,.vxLoggingDownloadActions{display:grid;grid-template-columns:1fr}.vxLoggingConnect{padding:10px}.vxLoggingSwitch{min-height:49px}}

/* Owner · Logs download/config modal */
.vxLoggingAccessCard{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px;border:1px solid var(--vx-line);border-radius:16px;background:linear-gradient(145deg,rgba(10,17,27,.86),rgba(6,10,16,.66));box-shadow:0 18px 42px rgba(0,0,0,.16)}
.vxLoggingAccessMain{display:grid;gap:7px;min-width:0}.vxLoggingAccessTitle{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.vxLoggingAccessTitle h4{margin:0;font-size:22px}.vxLoggingAccessMain p{margin:0;color:#c1ccd8;font-size:13px;line-height:1.55}.vxLoggingAccessMain>small{color:var(--vx-muted);font-size:11px;line-height:1.5}.vxLoggingOpenDownload{flex:0 0 auto;min-height:44px;padding-inline:18px}
#vx-modal-overlay .vx-modal.vxModalLoggingDownload{width:min(1540px,98vw);max-width:98vw;height:94vh;max-height:94vh;padding:0;display:flex;flex-direction:column;overflow:hidden;border-radius:18px}
#vx-modal-overlay .vx-modal.vxModalLoggingDownload>.vx-modal-title{flex:0 0 auto;margin:0;padding:18px 22px 15px;border-bottom:1px solid var(--vx-line);background:rgba(10,14,21,.96);font-size:20px}
#vx-modal-overlay .vx-modal.vxModalLoggingDownload>.vx-modal-text:empty{display:none}
#vx-modal-overlay .vx-modal.vxModalLoggingDownload>#vx-modal-body{flex:1 1 auto;min-height:0;overflow:auto;padding:18px 22px 22px;scrollbar-width:thin}
#vx-modal-overlay .vx-modal.vxModalLoggingDownload>.vx-modal-actions{flex:0 0 auto;margin:0;padding:13px 18px;border-top:1px solid var(--vx-line);background:rgba(10,14,21,.97)}
.vxLoggingModalShell{display:grid;gap:14px}.vxLoggingModalIntro{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:17px 18px;border:1px solid var(--vx-line);border-radius:14px;background:rgba(5,10,17,.52)}
.vxLoggingModalIntro h3{margin:4px 0 5px;font-size:20px}.vxLoggingModalIntro p{margin:0;color:var(--vx-muted);font-size:12px;line-height:1.55}
.vxLoggingModalSteps{padding:15px 18px;border:1px solid rgba(87,132,187,.28);border-radius:14px;background:rgba(20,50,83,.18)}.vxLoggingModalSteps>b{display:block;margin-bottom:7px}.vxLoggingModalSteps ol{margin:0;padding-left:20px;color:#c1ccd8;font-size:12px;line-height:1.75}.vxLoggingModalSteps code{padding:2px 5px;border-radius:5px;background:rgba(255,255,255,.06);color:#e7edf4}.vxLoggingModalSteps strong{color:#a9d0ff}
.vxLoggingModalServer{padding:15px 16px;border:1px solid var(--vx-line);border-radius:14px;background:rgba(6,10,16,.42)}.vxLoggingModalServer select{width:100%}
.vxLoggingModalBulk{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 13px;border:1px solid var(--vx-line);border-radius:12px;background:rgba(255,255,255,.02)}.vxLoggingModalBulk>span{color:var(--vx-muted);font-size:11px}.vxLoggingModalBulk>div{display:flex;gap:7px;flex-wrap:wrap}
.vxLoggingModalGroups{display:grid;gap:9px}.vxLoggingModalGroup{border:1px solid var(--vx-line);border-radius:13px;background:rgba(6,10,16,.45);overflow:hidden}.vxLoggingModalGroupToggle{width:100%;min-height:58px;padding:11px 14px;border:0;border-radius:0;background:rgba(255,255,255,.022);color:inherit;display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:left;cursor:pointer}.vxLoggingModalGroupToggle:hover{background:rgba(255,255,255,.045)}.vxLoggingModalGroupToggle>span:first-child{display:grid;gap:3px}.vxLoggingModalGroupToggle b{font-size:13px}.vxLoggingModalGroupToggle small{color:var(--vx-muted);font-size:10px;font-weight:400}.vxLoggingModalGroupMeta{display:flex;align-items:center;gap:10px;flex:0 0 auto}.vxLoggingModalGroupMeta em{font-style:normal;padding:4px 7px;border-radius:7px;background:rgba(255,255,255,.05);color:#91a3b6;font-size:9px}.vxLoggingModalGroupMeta i{min-width:72px;font-style:normal;color:#9ecbff;font-size:10px;text-align:right}.vxLoggingModalGroup.is-open .vxLoggingModalGroupToggle{border-bottom:1px solid var(--vx-line);background:rgba(255,255,255,.035)}
.vxLoggingModalGroupBody[hidden]{display:none!important}.vxLoggingModalSwitchGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.vxLoggingModalSwitchGrid.is-single{grid-template-columns:1fr}.vxLoggingModalSwitchGrid>.vxLoggingSwitch:nth-child(odd){border-right:1px solid rgba(255,255,255,.045)}.vxLoggingModalSwitchGrid.is-single>.vxLoggingSwitch{border-right:0}.vxLoggingModalSwitchGrid .vxLoggingDebug{margin:12px;border:0;background:rgba(255,255,255,.025)}
.vxLoggingModalDownloads{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid rgba(76,175,124,.26);border-radius:14px;background:rgba(23,73,49,.13)}.vxLoggingModalDownloads b{font-size:14px}.vxLoggingModalDownloads p{margin:4px 0 0;color:var(--vx-muted);font-size:11px}.vxLoggingModalDownloads .vxLoggingDownloadActions{display:flex;gap:8px;flex:0 0 auto}
@media(max-width:900px){.vxLoggingAccessCard,.vxLoggingModalIntro,.vxLoggingModalBulk,.vxLoggingModalDownloads{align-items:stretch;flex-direction:column}.vxLoggingOpenDownload{width:100%}.vxLoggingModalSwitchGrid{grid-template-columns:1fr}.vxLoggingModalSwitchGrid>.vxLoggingSwitch:nth-child(odd){border-right:0}.vxLoggingModalDownloads .vxLoggingDownloadActions{width:100%}.vxLoggingModalDownloads .vxLoggingDownloadActions button{flex:1}}
@media(max-width:560px){#vx-modal-overlay .vx-modal.vxModalLoggingDownload{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border-radius:0}#vx-modal-overlay .vx-modal.vxModalLoggingDownload>#vx-modal-body{padding:12px}.vxLoggingModalBulk>div,.vxLoggingModalDownloads .vxLoggingDownloadActions{display:grid;grid-template-columns:1fr}.vxLoggingModalGroupToggle{align-items:flex-start}.vxLoggingModalGroupMeta{flex-direction:column;align-items:flex-end;gap:3px}}

/* 2026-08-13: actions in every logs view */
.vxLogsTimelineRow{cursor:pointer}
.vxLogsTimelineOpen{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 8px;border:1px solid rgba(128,145,170,.22);border-radius:8px;background:rgba(29,39,54,.72);color:#c9d3df;font:700 11px/1.1 inherit;cursor:pointer}
.vxLogsTimelineActions .vxLogInventoryButton,.vxLogsTableActions .vxLogInventoryButton{min-height:30px;padding:5px 8px;font-size:11px}
.vxLogsTableActions{display:flex;align-items:center;justify-content:flex-end;gap:6px}
@media(max-width:760px){.vxLogsTimelineActions .vxLogInventoryButton span:last-child,.vxLogsTableActions .vxLogInventoryButton span:last-child{display:none}.vxLogsTimelineActions .vxLogInventoryButton,.vxLogsTableActions .vxLogInventoryButton{width:34px;padding:6px}}

/* Detailed VX notifications */
.notify-message,
.vx-notification-toast-message{white-space:pre-line;}

/* Product UX #31: compact desktop navigation */
@media(min-width:901px){
  :root{--vx-sidebar:248px;--vx-sidebar-compact:76px}
  #vx-app-sidebar{padding:12px 10px 10px}
  .vxSidebarBrand{min-height:44px;gap:10px;padding:3px 6px 11px}
  .vxSidebarBrand img{width:36px;height:36px;border-radius:11px}
  .vxSidebarBrandText b{font-size:14px}.vxSidebarBrandText span{margin-top:4px;font-size:9px}
  .vxSidebarSectionLabel{padding:13px 8px 5px;font-size:9px}
  #vx-app-sidebar .tabs{gap:2px}
  #vx-app-sidebar .tab,#vx-app-sidebar .vx-support-nav-link{min-height:37px;padding:7px 9px!important;gap:9px;font-size:12px!important;border-radius:9px!important}
  .vxNavIcon{width:19px;height:19px;flex-basis:19px}.vxNavIcon svg{width:17px;height:17px}
  .vxSidebarFooter{padding-top:4px}
  .vxSidebarMiniLink,.vxSidebarCollapse{min-height:34px!important;font-size:11px!important}
}


/* Product UX #34: compact topbar + nav marker precision */
#vx-app-sidebar .tab.active::after{right:1px!important;}
body.vx-sidebar-collapsed #vx-app-sidebar .tab.active::after{right:1px!important;}
/* Название текущей страницы в шапке дублирует активный пункт меню и съедает ширину. */
body.vx-authenticated > header:not(.vx-public-header) .vxTopbarTitles{display:none!important;}
body.vx-authenticated > header:not(.vx-public-header) > .vxTopbarContext{gap:0!important;flex:0 0 auto;}


/* VX Owner compact summary strip — 2026-09-06 */
body.vx-authenticated #tab-owner{
  position:relative;
}
body.vx-authenticated #tab-owner>.vxInstructionDock{
  position:absolute;
  top:10px;
  right:10px;
  z-index:4;
  margin:0;
}
body.vx-authenticated #tab-owner>.vxInstructionDock button{
  min-height:32px;
  padding:6px 10px;
  border-radius:8px;
  font-size:10px;
}

body.vx-authenticated #tab-owner>.owner-container{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  column-gap:12px;
  row-gap:12px;
  padding:4px 104px 4px 4px;
}

body.vx-authenticated #tab-owner .owner-header{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  margin:0;
  padding:7px 10px;
  min-height:48px;
  border:1px solid var(--vx-line);
  border-radius:12px;
  background:linear-gradient(145deg,rgba(17,25,38,.72),rgba(9,15,24,.58));
}
body.vx-authenticated #tab-owner .owner-header>div:first-child{
  min-width:0;
  display:flex;
  align-items:center;
  gap:9px;
}
body.vx-authenticated #tab-owner .owner-header h1{
  min-width:0;
  margin:0;
  font-size:16px;
  line-height:1.15;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.vx-authenticated #tab-owner .owner-plan{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:24px;
  margin:0;
  padding:3px 8px;
  border-radius:8px;
  font-size:9px;
  line-height:1;
  letter-spacing:.06em;
}
body.vx-authenticated #tab-owner .owner-header>div:last-child{
  margin-left:auto;
  gap:5px!important;
}
body.vx-authenticated #tab-owner .owner-header>div:last-child button{
  min-height:28px;
  padding:5px 8px;
  border-radius:7px;
  font-size:9px;
}

body.vx-authenticated #tab-owner .owner-kpi{
  display:flex;
  align-items:stretch;
  gap:6px;
  width:auto;
  margin:0;
}
body.vx-authenticated #tab-owner .kpi-card{
  display:grid;
  grid-template-columns:auto auto;
  grid-template-areas:
    "title value";
  align-items:center;
  gap:7px;
  min-width:92px;
  min-height:48px;
  padding:7px 10px;
  border-radius:11px;
}
body.vx-authenticated #tab-owner .kpi-card::after{
  width:54px;
  height:54px;
  right:-28px;
  top:-30px;
}
body.vx-authenticated #tab-owner .kpi-title{
  grid-area:title;
  margin:0;
  font-size:8px;
  line-height:1;
  letter-spacing:.065em;
}
body.vx-authenticated #tab-owner .kpi-value{
  grid-area:value;
  margin:0;
  font-size:17px;
  line-height:1;
  font-weight:800;
  white-space:nowrap;
}

body.vx-authenticated #tab-owner .vxOwnerTabsShell,
body.vx-authenticated #tab-owner .owner-section,
body.vx-authenticated #tab-owner>.owner-container>.vxOwnerPage{
  grid-column:1 / -1;
}
body.vx-authenticated #tab-owner .vxOwnerTabsShell{
  margin-top:0;
}

@media(max-width:900px){
  body.vx-authenticated #tab-owner>.owner-container{
    grid-template-columns:minmax(0,1fr);
    padding-right:4px;
    padding-top:44px;
  }
  body.vx-authenticated #tab-owner .owner-kpi{
    width:100%;
  }
  body.vx-authenticated #tab-owner .kpi-card{
    flex:1 1 0;
  }
}
@media(max-width:560px){
  body.vx-authenticated #tab-owner>.vxInstructionDock{
    top:8px;
    right:8px;
  }
  body.vx-authenticated #tab-owner .owner-header{
    min-height:44px;
    padding:6px 8px;
  }
  body.vx-authenticated #tab-owner .owner-header h1{
    font-size:14px;
  }
  body.vx-authenticated #tab-owner .owner-plan{
    font-size:8px;
    padding:3px 6px;
  }
  body.vx-authenticated #tab-owner .owner-kpi{
    gap:5px;
  }
  body.vx-authenticated #tab-owner .kpi-card{
    min-width:0;
    min-height:42px;
    padding:6px 8px;
  }
  body.vx-authenticated #tab-owner .kpi-title{
    font-size:7px;
  }
  body.vx-authenticated #tab-owner .kpi-value{
    font-size:15px;
  }
}


/* VX Owner compact renewal shortcut — 2026-09-06 */
body.vx-authenticated #tab-owner .vxOwnerHeaderRenew{
  flex:0 0 auto;
  min-height:26px;
  margin:0;
  padding:4px 9px;
  border:1px solid rgba(118,91,255,.42);
  border-radius:8px;
  background:linear-gradient(135deg,rgba(112,78,238,.22),rgba(68,47,159,.16));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  color:#ddd7ff;
  font-size:9px;
  line-height:1.1;
  font-weight:800;
  letter-spacing:.025em;
  white-space:nowrap;
  cursor:pointer;
  transition:border-color .16s ease,background .16s ease,transform .16s ease,color .16s ease;
}
body.vx-authenticated #tab-owner .vxOwnerHeaderRenew:hover{
  border-color:rgba(139,112,255,.72);
  background:linear-gradient(135deg,rgba(112,78,238,.34),rgba(68,47,159,.24));
  color:#fff;
  transform:translateY(-1px);
}
body.vx-authenticated #tab-owner .vxOwnerHeaderRenew:active{
  transform:translateY(0);
}
body.vx-authenticated #tab-owner .vxOwnerHeaderRenew:disabled{
  opacity:.5;
  cursor:wait;
  transform:none;
}
@media(max-width:760px){
  body.vx-authenticated #tab-owner .vxOwnerHeaderRenew{
    max-width:150px;
    overflow:hidden;
    text-overflow:ellipsis;
  }
}
@media(max-width:560px){
  body.vx-authenticated #tab-owner .vxOwnerHeaderRenew{
    min-height:24px;
    padding:4px 7px;
    max-width:122px;
    font-size:8px;
  }
}


/* V21.2 — tariff-colored authenticated topbar.
   Must match the redesign selector specificity; .header-lite alone loses to
   body.vx-authenticated > header:not(.vx-public-header) { background: ... !important }. */
body.vx-authenticated > header.header-lite:not(.vx-public-header){
  background:linear-gradient(90deg,#211d0b 0%,#3b300e 52%,#211d0b 100%)!important;
  box-shadow:0 8px 28px rgba(233,190,68,.12)!important;
  animation:glow-lite 2.8s ease-in-out infinite!important;
}
body.vx-authenticated > header.header-pro:not(.vx-public-header){
  background:linear-gradient(90deg,#092218 0%,#103924 52%,#092218 100%)!important;
  box-shadow:0 8px 28px rgba(68,213,137,.12)!important;
  animation:glow-pro 2.6s ease-in-out infinite!important;
}
body.vx-authenticated > header.header-ultra:not(.vx-public-header){
  background:linear-gradient(90deg,#1d1230 0%,#3b2268 52%,#1d1230 100%)!important;
  box-shadow:0 8px 30px rgba(135,89,232,.17)!important;
  animation:glow-ultra 2.4s ease-in-out infinite!important;
}

.vxLoggingTierBlock{display:grid;gap:10px;padding:12px;border:1px solid var(--vx-line);border-radius:15px;background:rgba(255,255,255,.018)}
.vxLoggingTierBlock.is-plus{border-color:rgba(126,97,255,.34);background:linear-gradient(180deg,rgba(113,78,255,.08),rgba(8,12,19,.42))}
.vxLoggingTierHead{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:2px 2px 4px}.vxLoggingTierHead>div:first-child{display:grid;gap:3px}.vxLoggingTierHead span{font-size:9px;letter-spacing:.12em;font-weight:900;color:#8ea2b7}.vxLoggingTierBlock.is-plus .vxLoggingTierHead span{color:#bcaeff}.vxLoggingTierHead b{font-size:14px}.vxLoggingTierHead small{color:var(--vx-muted);font-size:10px;font-weight:400}.vxLoggingTierHead>div:last-child{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.vxLoggingPlusSwitch{background:rgba(113,78,255,.025)}
@media(max-width:900px){.vxLoggingTierHead{align-items:stretch;flex-direction:column}.vxLoggingTierHead>div:last-child{justify-content:flex-start}}

/* Logs Plus 1.13 — linked history + burst grouping */
.vxLogsMoveGroupBadge{margin:10px 12px 12px;display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(88,166,255,.28);background:rgba(30,41,59,.72);color:#dbeafe;border-radius:10px;padding:7px 10px;cursor:pointer;font:inherit}.vxLogsMoveGroupBadge:hover{border-color:rgba(96,165,250,.62);background:rgba(30,64,175,.2)}.vxLogsMoveGroupBadge b{font-size:12px}.vxLogsMoveGroupBadge span{font-size:11px;opacity:.78}
.vxLogsV2GroupToggle,.vxLogsRelatedActions button,.vxLogsAggregateNotice button{border:1px solid rgba(148,163,184,.25);background:rgba(15,23,42,.78);color:#e5e7eb;border-radius:9px;padding:7px 10px;cursor:pointer}.vxLogsV2GroupToggle:hover,.vxLogsRelatedActions button:hover,.vxLogsAggregateNotice button:hover{background:rgba(37,99,235,.18);border-color:rgba(96,165,250,.55)}
.vxLogsAggregateNotice{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0;padding:10px 12px;border:1px solid rgba(96,165,250,.25);background:rgba(30,58,138,.12);border-radius:12px}.vxLogsAggregateNotice b{font-size:12px;color:#dbeafe}
.vxLogsRelatedActions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.vxLogsRelatedActions button{font-weight:700;font-size:12px}
.vxLogsRelatedModal{position:fixed;inset:0;z-index:2147483200;display:grid;place-items:center;padding:18px}.vxLogsRelatedBackdrop{position:absolute;inset:0;background:rgba(2,6,23,.78);backdrop-filter:blur(7px)}.vxLogsRelatedModal>section{position:relative;z-index:1;width:min(860px,96vw);max-height:min(780px,92vh);display:grid;grid-template-rows:auto minmax(0,1fr) auto;border:1px solid rgba(148,163,184,.22);border-radius:18px;background:#0b1220;box-shadow:0 24px 80px rgba(0,0,0,.55);overflow:hidden}.vxLogsRelatedModal header,.vxLogsRelatedModal footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 18px;background:rgba(15,23,42,.96);border-color:rgba(148,163,184,.15)}.vxLogsRelatedModal header{border-bottom:1px solid rgba(148,163,184,.15)}.vxLogsRelatedModal footer{border-top:1px solid rgba(148,163,184,.15)}.vxLogsRelatedModal header small{display:block;color:#94a3b8;margin-bottom:3px}.vxLogsRelatedModal header h3{margin:0;color:#f8fafc}.vxLogsRelatedModal header button{width:34px;height:34px;border-radius:9px;border:1px solid rgba(148,163,184,.22);background:#111827;color:#e5e7eb;font-size:22px;cursor:pointer}.vxLogsRelatedModal footer button{border:1px solid rgba(96,165,250,.4);background:rgba(37,99,235,.2);color:#dbeafe;border-radius:9px;padding:8px 14px;cursor:pointer}.vxLogsRelatedBody{overflow:auto;padding:14px;display:grid;gap:9px}.vxLogsRelatedBody article{padding:12px 14px;border:1px solid rgba(148,163,184,.14);border-radius:12px;background:rgba(15,23,42,.66)}.vxLogsRelatedBody article>div{display:flex;justify-content:space-between;gap:12px}.vxLogsRelatedBody article b{color:#f8fafc}.vxLogsRelatedBody article time,.vxLogsRelatedBody article small{color:#94a3b8;font-size:11px}.vxLogsRelatedBody article p{margin:7px 0;color:#cbd5e1;line-height:1.4}

/* Logs Plus Investigation v2 */
.vxLogsTierFilter{display:flex;align-items:center;gap:7px;margin:10px 0 12px;padding:8px 10px;border:1px solid rgba(148,163,184,.14);border-radius:12px;background:rgba(8,13,22,.72)}
.vxLogsTierFilter>span{margin-right:2px;color:#7f8da0;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.vxLogsTierFilter button{border:1px solid rgba(148,163,184,.16);background:rgba(255,255,255,.025);color:#aebaca;border-radius:9px;padding:7px 11px;cursor:pointer}.vxLogsTierFilter button:hover{border-color:rgba(96,165,250,.42);color:#e5efff}.vxLogsTierFilter button.is-active{border-color:rgba(113,144,255,.48);background:rgba(75,105,255,.14);color:#fff}
.vxLogsInvestigationCard{display:grid;gap:12px;padding:15px;border:1px solid rgba(126,97,255,.3);border-radius:14px;background:linear-gradient(145deg,rgba(88,72,180,.12),rgba(15,23,42,.7))}.vxLogsInvestigationCard>div:first-child span{font-size:9px;font-weight:900;letter-spacing:.12em;color:#b9adff}.vxLogsInvestigationCard h4{margin:4px 0 1px;color:#fff;font-size:18px}.vxLogsInvestigationCard>div:first-child small{color:#8190a4}.vxLogsInvestigationStats{display:grid;grid-template-columns:repeat(auto-fit,minmax(92px,1fr));gap:8px}.vxLogsInvestigationStats span{display:grid;gap:2px;padding:9px 10px;border:1px solid rgba(148,163,184,.12);border-radius:10px;background:rgba(2,6,23,.28)}.vxLogsInvestigationStats b{font-size:15px;color:#fff}.vxLogsInvestigationStats small{font-size:10px;color:#8190a4}.vxLogsInvestigationMeta{display:flex;flex-wrap:wrap;gap:8px 16px;color:#91a0b3;font-size:11px}.vxLogsInvestigationMeta b{color:#d8e0ec}.vxLogsRelatedMap,.vxLogsRelatedEventMap,.vxLogsRelatedInline button{border:1px solid rgba(96,165,250,.3);background:rgba(37,99,235,.13);color:#dbeafe;border-radius:9px;padding:7px 10px;cursor:pointer}.vxLogsRelatedMap:hover,.vxLogsRelatedEventMap:hover,.vxLogsRelatedInline button:hover{border-color:rgba(96,165,250,.62);background:rgba(37,99,235,.24)}.vxLogsRelatedInline{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.vxLogsRelatedInline button{font-size:10px;padding:5px 8px}.vxLogsRelatedEventMap{margin-top:8px;font-size:10px}
.vxLoggingPlusStatus{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 15px;border-radius:14px;border:1px solid rgba(148,163,184,.15);background:rgba(255,255,255,.025)}.vxLoggingPlusStatus>div{display:grid;gap:3px}.vxLoggingPlusStatus span{font-size:9px;font-weight:900;letter-spacing:.1em}.vxLoggingPlusStatus b{font-size:15px}.vxLoggingPlusStatus small{color:#8492a6}.vxLoggingPlusStatus p{margin:0;max-width:620px;color:#a9b4c5;font-size:11px;line-height:1.45}.vxLoggingPlusStatus.is-active{border-color:rgba(54,211,153,.28);background:rgba(16,185,129,.06)}.vxLoggingPlusStatus.is-active span{color:#6ee7b7}.vxLoggingPlusStatus.is-expired{border-color:rgba(248,113,113,.28);background:rgba(127,29,29,.08)}.vxLoggingPlusStatus.is-expired span{color:#fca5a5}
.vxLoggingPlusRetention{display:grid;grid-template-columns:minmax(0,1fr) 150px auto;align-items:center;gap:10px;padding:11px 12px;border:1px solid rgba(126,97,255,.2);border-radius:12px;background:rgba(9,13,24,.46)}.vxLoggingPlusRetention>div{display:grid;gap:2px}.vxLoggingPlusRetention small{color:#8795aa;font-size:10px}.vxLoggingPlusRetention select{min-height:36px;border:1px solid rgba(148,163,184,.18);border-radius:9px;background:#0d1522;color:#e6edf7;padding:0 10px}.vxLoggingTierBlock.is-locked{opacity:.8}.vxLoggingSwitch.is-locked{opacity:.58}.vxLoggingSwitch.is-locked input{cursor:not-allowed}
@media(max-width:760px){.vxLoggingPlusStatus{align-items:flex-start;flex-direction:column}.vxLoggingPlusRetention{grid-template-columns:1fr}.vxLogsTierFilter{overflow:auto}.vxLogsTierFilter>span{white-space:nowrap}}
.vxLoggingCommerceStatus{display:grid;gap:3px;margin:10px 0;padding:9px 10px;border-radius:10px;border:1px solid rgba(148,163,184,.15);font-size:10px}.vxLoggingCommerceStatus b{font-size:11px}.vxLoggingCommerceStatus span,.vxLoggingCommerceStatus small{color:#8d9caf;line-height:1.4}.vxLoggingCommerceStatus.is-active{border-color:rgba(52,211,153,.25);background:rgba(16,185,129,.055)}.vxLoggingCommerceStatus.is-active b{color:#86efac}.vxLoggingCommerceStatus.is-expired{border-color:rgba(248,113,113,.25);background:rgba(127,29,29,.07)}.vxLoggingCommerceStatus.is-expired b{color:#fca5a5}
.vxLogsTierFilter select{min-height:32px;border:1px solid rgba(148,163,184,.16);border-radius:9px;background:#0d1522;color:#cad5e5;padding:0 9px}.vxLogsTierFilter>[data-vx-plus-overview]{margin-left:auto;color:#b9adff;font-size:10px;white-space:nowrap}
@media(max-width:900px){.vxLogsTierFilter{flex-wrap:wrap}.vxLogsTierFilter>[data-vx-plus-overview]{margin-left:0;width:100%}}
.vxLoggingModuleStatusList{display:grid;gap:8px;padding:11px 12px;border:1px solid rgba(148,163,184,.13);border-radius:12px;background:rgba(4,9,16,.28)}.vxLoggingModuleStatusList>div{display:grid;gap:2px}.vxLoggingModuleStatusList>div small{color:#8391a5;font-size:10px}.vxLoggingModuleStatusList>span{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border:1px solid rgba(148,163,184,.11);border-radius:9px;background:rgba(255,255,255,.02)}.vxLoggingModuleStatusList>span b{font-size:11px}.vxLoggingModuleStatusList>span small{font-size:10px;color:#93a1b4}.vxLoggingModuleStatusList>span.is-ok{border-color:rgba(52,211,153,.2)}.vxLoggingModuleStatusList>span.is-ok small{color:#86efac}.vxLoggingModuleStatusList>span.is-warn{border-color:rgba(251,191,36,.23)}.vxLoggingModuleStatusList>span.is-warn small{color:#fcd34d}.vxLoggingModuleStatusList>span.is-waiting small{color:#94a3b8}
