/* WebVue Cloud V18.1 — premium client experience
   Comprehensive presentation layer for the existing portal functionality.
   Brand accent: #40AA6D
*/
:root{
  --wv-green:#40AA6D;
  --wv-green-hover:#36965f;
  --wv-green-dark:#267a49;
  --wv-green-soft:#edf8f1;
  --wv-ink:#171918;
  --wv-text:#343936;
  --wv-muted:#707872;
  --wv-subtle:#949c96;
  --wv-canvas:#f5f7f5;
  --wv-panel:#ffffff;
  --wv-line:#e2e7e3;
  --wv-line-strong:#cfd7d1;
  --wv-top:#151917;
  --wv-top-2:#1c211e;
  --wv-danger:#b42318;
  --wv-warning:#956100;
  --wv-radius:14px;
  --wv-radius-sm:10px;
  --wv-shadow:0 1px 2px rgba(16,24,20,.025),0 12px 34px rgba(16,24,20,.045);
  --wv-shadow-lg:0 24px 70px rgba(8,18,12,.16);
}

*{box-sizing:border-box}
html{background:var(--wv-canvas);text-size-adjust:100%}
body{
  font-family:"Manrope",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--wv-text);
  background:var(--wv-canvas);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
a{color:inherit}
button,input,select,textarea{font:inherit}
img,svg{max-width:100%}
.ui-icon{display:block;flex:0 0 auto}

/* =========================
   Portal shell
   ========================= */
.portal-body{
  margin:0!important;
  min-height:100dvh;
  background:var(--wv-canvas)!important;
  color:var(--wv-text)!important;
  font-size:13px;
}
.portal-body .wv-app-frame{min-height:100dvh;padding-top:92px}
.portal-body .global-topbar{
  position:fixed!important;
  z-index:100!important;
  top:16px!important;
  left:20px!important;
  right:20px!important;
  height:60px!important;
  padding:0 12px 0 18px!important;
  border:1px solid rgba(255,255,255,.055)!important;
  border-radius:14px!important;
  background:linear-gradient(105deg,var(--wv-top),var(--wv-top-2))!important;
  box-shadow:0 12px 36px rgba(12,17,14,.14)!important;
  display:flex!important;
  align-items:center!important;
  color:#fff!important;
  min-width:0!important;
}
.portal-body .wv-top-brand{
  height:60px;
  width:205px;
  flex:0 0 205px;
  min-width:0!important;
  display:flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  padding-right:18px;
  border-right:1px solid rgba(255,255,255,.09);
}
.portal-body .wv-top-brand img{display:block;height:25px;width:auto;max-width:126px;object-fit:contain;filter:brightness(0) invert(1)}
.portal-body .wv-top-brand span{font-size:10px;font-weight:800;color:#cbd3ce;letter-spacing:.06em;text-transform:uppercase}
.portal-body .topbar-context{
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  min-width:0!important;
  padding-left:16px!important;
  color:#e9eeeb!important;
  font-size:12px!important;
}
.portal-body .topbar-home,.portal-body .topbar-icon{
  display:grid!important;
  place-items:center!important;
  width:36px!important;
  height:36px!important;
  flex:0 0 36px!important;
  border-radius:9px!important;
  color:#eef2ef!important;
  text-decoration:none!important;
  transition:background .16s ease,color .16s ease!important;
}
.portal-body .topbar-home:hover,.portal-body .topbar-icon:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}
.portal-body .topbar-workspace{font-weight:650;color:#edf1ee;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.portal-body .topbar-divider{color:#778079}
.portal-body .topbar-page-title{font-weight:650;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:240px}
.portal-body .topbar-spacer{flex:1;min-width:8px}
.portal-body .wv-topbar-actions{display:flex!important;align-items:center!important;gap:3px!important;height:100%;min-width:0}
.portal-body .topbar-badge{position:absolute;top:1px;right:1px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#e5484d;color:#fff;font-size:8px;display:grid;place-items:center;font-weight:800;border:2px solid var(--wv-top)}
.portal-body .topbar-user{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  height:42px!important;
  max-width:210px;
  padding:0 8px!important;
  margin-left:4px!important;
  border-radius:10px!important;
  text-decoration:none!important;
  color:#fff!important;
  transition:background .16s ease!important;
  min-width:0;
}
.portal-body .topbar-user:hover{background:rgba(255,255,255,.07)!important}
.portal-body .topbar-avatar{width:31px!important;height:31px!important;flex:0 0 31px;border-radius:9px!important;background:var(--wv-green)!important;color:#fff!important;display:grid!important;place-items:center!important;font-size:11px!important;font-weight:800!important}
.portal-body .topbar-user-copy{display:block!important;min-width:0}.portal-body .topbar-user-copy strong{display:block;font-size:11px!important;font-weight:650!important;color:#fff!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portal-body .topbar-user-copy small{display:none!important}
.portal-body .topbar-chevron{font-size:15px;color:#bdc5c0;flex:0 0 auto;transform:translateY(-1px)}

.portal-body .app-shell{
  display:grid!important;
  grid-template-columns:minmax(205px,235px) minmax(0,1fr)!important;
  min-height:calc(100dvh - 92px)!important;
  padding:0 20px 24px!important;
  gap:0!important;
  width:100%;
}
.portal-body .sidebar{
  position:sticky!important;
  top:92px!important;
  left:auto!important;
  width:auto!important;
  height:calc(100dvh - 112px)!important;
  min-width:0!important;
  padding:14px 16px 14px 2px!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  z-index:30!important;
}
.portal-body .sidebar-nav{
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
  padding:0 2px 8px 0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  scrollbar-width:thin;
  scrollbar-color:#d7ddd8 transparent;
}
.portal-body .sidebar-nav::-webkit-scrollbar{width:5px}.portal-body .sidebar-nav::-webkit-scrollbar-thumb{background:#d7ddd8;border-radius:999px}
.portal-body .nav-label{font-size:9px!important;text-transform:uppercase!important;letter-spacing:.12em!important;font-weight:800!important;color:#9aa29d!important;padding:16px 12px 6px!important}
.portal-body .nav-label-spaced{margin-top:5px!important}
.portal-body .nav-item{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:40px!important;
  min-width:0!important;
  padding:0 11px!important;
  border-radius:9px!important;
  color:#4e5550!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:600!important;
  border:1px solid transparent!important;
  transition:background .15s ease,color .15s ease,border .15s ease,transform .15s ease!important;
}
.portal-body .nav-item>span:not(.nav-badge){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.portal-body .nav-item .ui-icon{color:#737b76!important;flex:0 0 auto}
.portal-body .nav-item:hover{background:#ecefeb!important;color:#202421!important}
.portal-body .nav-item.active{background:#fff!important;border-color:#dfe5e0!important;color:#171b18!important;box-shadow:0 1px 2px rgba(16,24,20,.035)!important}
.portal-body .nav-item.active .ui-icon{color:var(--wv-green-dark)!important}
.portal-body .nav-badge{margin-left:auto;background:#252b27;color:#fff;min-width:19px;height:19px;padding:0 5px;border-radius:999px;font-size:8px;display:grid;place-items:center;flex:0 0 auto}
.portal-body .sidebar-footer{margin-top:auto!important;padding:12px 2px 0 0!important;border-top:1px solid var(--wv-line)!important;display:block!important}
.portal-body .sidebar-footer-link{display:flex;align-items:center;gap:10px;min-height:40px;padding:0 11px;border-radius:9px;text-decoration:none;color:#6f7772;font-size:11px;font-weight:650}.portal-body .sidebar-footer-link:hover{background:#ecefeb;color:#1d211e}

.portal-body .main{grid-column:auto!important;min-width:0!important;max-width:none!important;width:100%!important;margin:0!important;padding:0!important;background:transparent!important;overflow:visible!important}
.portal-body .portal-content{width:100%!important;max-width:1480px!important;margin:0 auto!important;padding:18px 24px 80px 30px!important;min-width:0!important}
.portal-body .mobile-topbar{display:none!important}
.portal-body .mobile-sidebar-overlay{display:none}

/* Impersonation no longer collides with the floating header. */
.portal-body .impersonation-bar + .wv-app-frame{padding-top:126px}
.portal-body .impersonation-bar + .wv-app-frame .global-topbar{top:50px!important}
.portal-body .impersonation-bar + .wv-app-frame .sidebar{top:126px!important;height:calc(100dvh - 146px)!important}

/* =========================
   Typography and common UI
   ========================= */
.portal-body h1,.portal-body h2,.portal-body h3,.portal-body h4{font-family:"Manrope",Inter,ui-sans-serif,system-ui,sans-serif;color:var(--wv-ink);text-wrap:balance}
.portal-body .page-head,.portal-body .wv-page-heading{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:24px!important;
  margin:0 0 24px!important;
  padding:0!important;
  border:0!important;
  min-width:0;
}
.portal-body .page-head>div,.portal-body .wv-page-heading>div{min-width:0}
.portal-body .page-head h1,.portal-body .wv-page-heading h1{
  font-family:"Manrope",Inter,sans-serif!important;
  font-weight:750!important;
  letter-spacing:-.042em!important;
  font-size:32px!important;
  line-height:1.12!important;
  margin:0!important;
  color:#171b18!important;
}
.portal-body .page-head p,.portal-body .wv-page-heading p{margin:8px 0 0!important;color:var(--wv-muted)!important;font-size:12px!important;line-height:1.65!important;max-width:760px}
.portal-body .page-head h2{font-weight:700;color:#202521}
.portal-body h2{letter-spacing:-.025em}
.portal-body .muted{color:var(--wv-muted)!important}
.portal-body .small{font-size:11px!important}
.portal-body .eyebrow{font-size:9px!important;letter-spacing:.12em!important;text-transform:uppercase;color:var(--wv-green-dark)!important;font-weight:800!important}

.portal-body .btn,.portal-body button.btn,.portal-body a.btn,.portal-body .wv-primary-action{
  min-height:40px!important;
  max-width:100%;
  padding:0 15px!important;
  border-radius:9px!important;
  border:1px solid var(--wv-green)!important;
  background:var(--wv-green)!important;
  color:#fff!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:750!important;
  text-decoration:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  box-shadow:0 1px 2px rgba(26,107,60,.08)!important;
  transition:background .15s ease,border .15s ease,transform .15s ease!important;
  white-space:normal;
  text-align:center;
}
.portal-body .btn:hover,.portal-body .wv-primary-action:hover{background:var(--wv-green-hover)!important;border-color:var(--wv-green-hover)!important;transform:translateY(-1px)!important}
.portal-body .btn-secondary{background:#fff!important;color:#2d332f!important;border-color:#d5ddd7!important;box-shadow:none!important}.portal-body .btn-secondary:hover{background:#f7f9f7!important;border-color:#c2ccc4!important;color:#171b18!important;transform:none!important}
.portal-body .btn-danger{background:#bd342b!important;border-color:#bd342b!important}.portal-body .btn-danger:hover{background:#a92c25!important;border-color:#a92c25!important}
.portal-body .btn-small{min-height:34px!important;padding:0 11px!important;font-size:10px!important}
.portal-body .actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;min-width:0}
.portal-body .actions>*{min-width:0;max-width:100%}

.portal-body .card,.portal-body .wv-panel{
  min-width:0!important;
  background:var(--wv-panel)!important;
  border:1px solid var(--wv-line)!important;
  border-radius:var(--wv-radius)!important;
  box-shadow:0 1px 2px rgba(16,24,20,.02)!important;
  padding:22px!important;
}
.portal-body .card:hover{border-color:#d7ded8!important}
.portal-body .card h2,.portal-body .wv-panel h2{font-size:15px!important;line-height:1.35;margin:0 0 7px!important;color:#202521!important;font-weight:750!important}
.portal-body .card h3{font-size:14px!important;font-weight:720!important}
.portal-body .card-head-inline{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;min-width:0}.portal-body .card-head-inline>div{min-width:0}

.portal-body .grid{display:grid!important;gap:16px!important;min-width:0}.portal-body .grid>*{min-width:0}.portal-body .grid-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.portal-body .grid-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.portal-body .stack{display:flex!important;flex-direction:column!important;gap:16px!important;min-width:0}.portal-body .stack>*{min-width:0}
.portal-body .section-title{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:28px 0 12px}.portal-body .section-title h2{margin:0;font-size:15px;font-weight:750}.portal-body .section-title a{font-size:11px;color:var(--wv-green-dark);font-weight:650;text-decoration:none}

.portal-body .alert{border-radius:10px!important;border-width:1px!important;box-shadow:none!important;padding:12px 14px!important;font-size:11px!important;line-height:1.55!important;overflow-wrap:anywhere}
.portal-body .note{border:1px solid var(--wv-line)!important;border-radius:10px!important;background:#f8faf8!important;color:#5e6761!important;font-size:10.5px!important;line-height:1.65!important;padding:13px 14px!important;overflow-wrap:anywhere}
.portal-body .code{max-width:100%;overflow:auto;border:1px solid var(--wv-line)!important;border-radius:8px!important;background:#f7f9f7!important;color:#354039!important;font-size:10px!important;line-height:1.5!important}

.portal-body .field{min-width:0!important;gap:7px!important}.portal-body .field label{font-size:10px!important;font-weight:700!important;color:#4c554f!important}
.portal-body .form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;min-width:0}.portal-body .field-full{grid-column:1/-1!important}
.portal-body .input,.portal-body .select,.portal-body .textarea,
.portal-body input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.portal-body select,.portal-body textarea{
  min-width:0!important;
  max-width:100%!important;
  width:100%;
  border:1px solid #d4dcd6!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#2a302c!important;
  box-shadow:none!important;
  transition:border .15s ease,box-shadow .15s ease!important;
  font-size:12px!important;
}
.portal-body .input,.portal-body .select,.portal-body input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.portal-body select{min-height:42px!important}
.portal-body .textarea,.portal-body textarea{min-height:105px!important;resize:vertical}
.portal-body .input:focus,.portal-body input:focus,.portal-body select:focus,.portal-body textarea:focus{outline:none!important;border-color:#79bd93!important;box-shadow:0 0 0 3px rgba(64,170,109,.11)!important}
.portal-body .help{font-size:9.5px!important;line-height:1.55!important;color:#7f8882!important}

.portal-body .table-wrap,.portal-body .wv-sites-table-wrap{width:100%;max-width:100%;overflow:auto!important;-webkit-overflow-scrolling:touch}
.portal-body table:not(.wv-sites-table){background:#fff!important;border-collapse:separate!important;border-spacing:0!important;width:100%!important;min-width:650px}
.portal-body table:not(.wv-sites-table) th{padding:12px 13px!important;font-size:9px!important;letter-spacing:.04em!important;text-transform:uppercase;color:#858e88!important;font-weight:750!important;background:#fafbfa!important;border-bottom:1px solid var(--wv-line)!important;white-space:nowrap}
.portal-body table:not(.wv-sites-table) td{padding:13px!important;font-size:11px!important;border-bottom:1px solid #edf0ed!important;vertical-align:middle!important;overflow-wrap:anywhere}
.portal-body table:not(.wv-sites-table) tbody tr:last-child td{border-bottom:0!important}.portal-body table:not(.wv-sites-table) tbody tr:hover{background:#fbfcfb!important}
.portal-body .detail-list{display:grid!important;grid-template-columns:minmax(125px,165px) minmax(0,1fr)!important;min-width:0}.portal-body .detail-list>div{padding:11px 0!important;border-bottom:1px solid var(--wv-line)!important;font-size:11px!important;min-width:0;overflow-wrap:anywhere}.portal-body .detail-list .label{color:#7d8680!important;padding-right:18px!important}

.portal-body .status,.portal-body .status-pill{display:inline-flex;align-items:center;justify-content:center;gap:5px;border-radius:999px;padding:5px 9px;font-size:9px;font-weight:750;white-space:nowrap;text-transform:capitalize}.portal-body .status-active,.portal-body .status-approved,.portal-body .status-paid{color:#207847;background:#eaf7ef}.portal-body .status-pending,.portal-body .status-pending_payment,.portal-body .status-queued{color:#8d5f00;background:#fff6dc}.portal-body .status-suspended,.portal-body .status-cancelled,.portal-body .status-rejected,.portal-body .status-failed{color:#a92d24;background:#fff0ee}.portal-body .status-neutral{color:#5f6762;background:#f0f2f0}

/* =========================
   Dashboard
   ========================= */
.portal-body .wv-dashboard-heading{align-items:center!important}
.portal-body .wv-heading-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-width:0}
.portal-body .wv-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 18px;min-width:0}
.portal-body .wv-overview-card{
  position:relative;
  min-width:0;
  min-height:142px;
  padding:18px;
  background:#fff;
  border:1px solid var(--wv-line);
  border-radius:var(--wv-radius);
  text-decoration:none;
  color:#2d332f;
  transition:transform .16s ease,border .16s ease,box-shadow .16s ease;
  overflow:hidden;
}
.portal-body .wv-overview-card:after{content:"";position:absolute;width:90px;height:90px;right:-38px;top:-42px;border-radius:50%;background:rgba(64,170,109,.06)}
.portal-body .wv-overview-card:hover{transform:translateY(-2px);box-shadow:var(--wv-shadow);border-color:#ced8d0}
.portal-body .wv-overview-icon{width:36px;height:36px;border-radius:10px;background:var(--wv-green-soft);color:var(--wv-green-dark);display:grid;place-items:center;margin-bottom:17px}
.portal-body .wv-overview-card>span:nth-of-type(2){display:block;font-size:10px;color:#7e8781;font-weight:700}
.portal-body .wv-overview-card strong{display:block;font-family:"Manrope",Inter,sans-serif;font-weight:750;font-size:27px;letter-spacing:-.04em;color:#171b18;line-height:1.15;margin-top:4px;overflow-wrap:anywhere}
.portal-body .wv-overview-card small{display:block;font-size:9px;color:#979e99;margin-top:5px}
.portal-body .wv-dashboard-layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(270px,.7fr);gap:16px;min-width:0}
.portal-body .wv-panel{padding:0!important;overflow:hidden!important}
.portal-body .wv-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:18px 20px;border-bottom:1px solid var(--wv-line);min-width:0}.portal-body .wv-panel-head>div{min-width:0}.portal-body .wv-panel-head h2{font-size:14px!important;margin:0!important}.portal-body .wv-panel-head p{margin:4px 0 0;color:#89918c;font-size:9.5px;line-height:1.5}.portal-body .wv-panel-head>a{font-size:10px;text-decoration:none;color:var(--wv-green-dark);display:flex;align-items:center;gap:2px;font-weight:700;white-space:nowrap}
.portal-body .wv-dashboard-site-list{display:flex;flex-direction:column;min-width:0}
.portal-body .wv-dashboard-site{display:grid;grid-template-columns:auto minmax(160px,1fr) minmax(120px,.55fr) auto auto;gap:12px;align-items:center;min-height:67px;padding:10px 18px;text-decoration:none;border-bottom:1px solid #edf0ed;color:#2c332e;min-width:0;transition:background .15s ease}.portal-body .wv-dashboard-site:last-child{border-bottom:0}.portal-body .wv-dashboard-site:hover{background:#fafcfa}.portal-body .wv-dashboard-site-main{min-width:0}.portal-body .wv-dashboard-site-main strong{display:block;color:#222824;font-size:11.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portal-body .wv-dashboard-site-main small{display:block;color:#89918c;font-size:9.5px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portal-body .wv-dashboard-site-region{display:flex;align-items:center;gap:5px;min-width:0;color:#6f7872;font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portal-body .wv-dashboard-site-arrow{color:#9ba29d;display:grid;place-items:center}.portal-body .wv-account-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:13px 20px;border-bottom:1px solid #edf0ed;font-size:10.5px}.portal-body .wv-account-row span{color:#747d77}.portal-body .wv-account-row strong{font-size:12px;color:#242a26}.portal-body .wv-account-links{display:flex;flex-direction:column;padding:9px 10px 12px}.portal-body .wv-account-links a{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:38px;padding:0 10px;border-radius:8px;text-decoration:none;color:#4b554e;font-size:10.5px;font-weight:650}.portal-body .wv-account-links a:hover{background:#f4f7f4;color:#1f5f3a}

/* =========================
   Sites and site details
   ========================= */
.portal-body .wv-page-tabs{display:flex;align-items:center;gap:28px;margin:-3px 0 18px;border-bottom:1px solid var(--wv-line);min-width:0;overflow:auto;scrollbar-width:none}.portal-body .wv-page-tabs::-webkit-scrollbar{display:none}.portal-body .wv-page-tabs a{display:flex;align-items:center;min-height:44px;margin-bottom:-1px;border-bottom:2px solid transparent;text-decoration:none;color:#767f79;font-size:10.5px;font-weight:700;white-space:nowrap}.portal-body .wv-page-tabs a:hover{color:#303833}.portal-body .wv-page-tabs a.active{border-bottom-color:var(--wv-green);color:#1f5f3a}
.portal-body .wv-sites-heading{margin-bottom:20px!important}
.portal-body .wv-sites-card{background:#fff;border:1px solid var(--wv-line);border-radius:var(--wv-radius);padding:18px 20px 6px;box-shadow:0 1px 2px rgba(16,24,20,.02);min-width:0}
.portal-body .wv-sites-toolbar{display:grid;grid-template-columns:minmax(220px,1.15fr) minmax(145px,.55fr) minmax(145px,.55fr) minmax(95px,.3fr);gap:10px;align-items:center;padding:0 0 17px;border-bottom:1px solid var(--wv-line);min-width:0}
.portal-body .wv-sites-search{min-width:0;height:42px;border:1px solid #d4dcd6;border-radius:9px;background:#fff;display:flex;align-items:center;gap:9px;padding:0 12px;color:#78817b}.portal-body .wv-sites-search:focus-within{border-color:#79bd93;box-shadow:0 0 0 3px rgba(64,170,109,.1)}
.portal-body .wv-sites-search input{border:0!important;box-shadow:none!important;outline:0!important;padding:0!important;height:auto!important;min-height:0!important;background:transparent!important;width:100%;font-size:11px!important}
.portal-body .wv-sites-toolbar select{height:42px!important;padding:0 11px!important;font-size:10.5px!important;color:#3d4640!important}
.portal-body .wv-sites-count{text-align:right;font-size:8.5px;color:#8b938e;padding-left:6px}.portal-body .wv-sites-count strong{font-size:10px;color:#4e5851}.portal-body .wv-sites-count>div{height:3px;background:#edf0ed;border-radius:999px;margin-top:7px;overflow:hidden}.portal-body .wv-sites-count>div span{display:block;height:100%;background:var(--wv-green);border-radius:999px}
.portal-body .wv-sites-table{width:100%;border-collapse:collapse;min-width:800px;background:#fff}
.portal-body .wv-sites-table th{padding:13px 11px 11px;text-align:left;font-size:9px;font-weight:750;color:#89918c;border-bottom:1px solid #dce3dd;white-space:nowrap;text-transform:uppercase;letter-spacing:.035em}
.portal-body .wv-sites-table td{height:66px;padding:10px 11px;border-bottom:1px solid #edf0ed;font-size:10.5px;color:#424b45;vertical-align:middle;white-space:nowrap}.portal-body .wv-sites-table tbody tr:last-child td{border-bottom:0}.portal-body .wv-sites-table tbody tr:hover{background:#fafcfa}.portal-body .wv-sites-table tr[hidden]{display:none}
.portal-body .wv-site-cell{display:flex;align-items:center;gap:10px;text-decoration:none;color:#202521;min-width:180px;max-width:310px}.portal-body .wv-site-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:10px;background:linear-gradient(145deg,#1b221e,#343c37);color:#fff;display:grid;place-items:center;font-weight:800;font-size:13px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07)}.portal-body .wv-site-cell>span:last-child{min-width:0}.portal-body .wv-site-cell strong{display:block;font-size:11px;color:#262d28;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal-body .wv-site-cell small{display:block;color:#909792;margin-top:3px;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.portal-body .wv-live-pill{display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border-radius:999px;background:#edf7f0;color:#267a49;font-size:8.5px;font-weight:750;text-transform:capitalize}.portal-body .wv-live-pill i{width:6px;height:6px;border-radius:50%;background:currentColor}.portal-body .wv-live-pill.status-pending,.portal-body .wv-live-pill.status-pending_payment,.portal-body .wv-live-pill.status-queued{background:#fff6dc;color:#8d5f00}.portal-body .wv-live-pill.status-suspended,.portal-body .wv-live-pill.status-cancelled,.portal-body .wv-live-pill.status-failed{background:#fff0ee;color:#a92d24}
.portal-body .wv-region-text{display:inline-flex;align-items:center;gap:5px;color:#5c665f}.portal-body .wv-row-actions{text-align:right!important}.portal-body .wv-row-more{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:8px;color:#68716b;text-decoration:none}.portal-body .wv-row-more:hover{background:#eff3ef;color:#1f5f3a}
.portal-body .wv-k-empty{padding:56px 20px;text-align:center;color:#737c76}.portal-body .wv-k-empty.compact{padding:40px 20px}.portal-body .wv-k-empty-icon{width:48px;height:48px;margin:0 auto 13px;border-radius:13px;background:var(--wv-green-soft);color:var(--wv-green-dark);display:grid;place-items:center}.portal-body .wv-k-empty h2,.portal-body .wv-k-empty h3{margin:0 0 7px!important;font-size:15px!important;color:#28302a!important}.portal-body .wv-k-empty p{max-width:420px;margin:0 auto 17px;color:#87908a;font-size:10.5px;line-height:1.6}

.portal-body .wv-service-header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 18px;min-width:0}.portal-body .wv-service-header-main{display:flex;align-items:center;gap:13px;min-width:0}.portal-body .wv-service-mark{width:44px;height:44px;flex:0 0 44px;border-radius:12px;background:#eaf7ef;color:var(--wv-green-dark);display:grid;place-items:center}.portal-body .wv-service-header-main>div:last-child{min-width:0}.portal-body .wv-service-kicker{font-size:8.5px;font-weight:800;letter-spacing:.12em;color:#8a938d;margin-bottom:4px}.portal-body .wv-service-header h1{font-size:27px!important;line-height:1.2!important;letter-spacing:-.04em!important;margin:0!important;font-weight:750!important;white-space:normal;overflow-wrap:anywhere}.portal-body .wv-service-header p{margin:4px 0 0;color:#7e8781;font-size:10.5px}.portal-body .wv-service-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;min-width:0}

/* =========================
   Admin / operational pages
   ========================= */
.portal-body .metric{font-family:"Manrope",Inter,sans-serif!important;font-size:27px!important;font-weight:750!important;letter-spacing:-.04em!important;color:#1d231f!important}.portal-body .metric-label{color:#7c857f!important;font-size:10px!important;margin-top:5px!important}
.portal-body .service-card{overflow:hidden!important}.portal-body .service-top{min-width:0}.portal-body .service-top>div{min-width:0}.portal-body .service-domain{overflow-wrap:anywhere}
.portal-body .server-card-grid,.portal-body .server-stat-grid,.portal-body .server-chart-grid{min-width:0}.portal-body .server-card-grid>*,.portal-body .server-stat-grid>*,.portal-body .server-chart-grid>*{min-width:0}
.portal-body .filter-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.portal-body .inline-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}.portal-body .inline-form>*{min-width:0;max-width:100%}
.portal-body .permission-grid,.portal-body .permission-grid-compact{min-width:0}.portal-body .permission-grid>*,.portal-body .permission-grid-compact>*{min-width:0}

/* =========================
   Authentication — true full-screen canvas
   ========================= */
.auth-body{
  margin:0!important;
  min-height:100dvh!important;
  width:100%!important;
  background:#0b120e!important;
  color:#252b27!important;
  overflow-x:hidden!important;
  font-family:"Manrope",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
.auth-body .auth-shell{
  display:block!important;
  width:100%!important;
  min-height:100dvh!important;
  margin:0!important;
  padding:0!important;
  background:#0b120e!important;
}
.auth-body .wv-auth-page{
  position:relative;
  isolation:isolate;
  width:100%;
  min-height:100dvh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:94px 24px 54px;
  overflow:hidden;
  background:
    radial-gradient(circle at 15% 52%,rgba(64,170,109,.28),transparent 32%),
    radial-gradient(circle at 87% 18%,rgba(44,124,75,.24),transparent 28%),
    radial-gradient(circle at 72% 86%,rgba(41,93,61,.20),transparent 28%),
    linear-gradient(135deg,#07100b 0%,#0c1710 44%,#0b110e 100%);
}
.auth-body .wv-auth-page:before{
  content:"";
  position:absolute;
  z-index:-3;
  width:900px;
  height:900px;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  border:1px solid rgba(113,214,151,.08);
  box-shadow:0 0 0 110px rgba(76,157,105,.025),0 0 0 220px rgba(76,157,105,.018);
}
.auth-body .wv-auth-page:after{content:"";position:absolute;inset:0;z-index:-4;opacity:.16;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:48px 48px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.9),transparent 85%)}
.auth-body .wv-auth-orbit{position:absolute;z-index:-2;border:1px solid rgba(85,199,130,.18);background:linear-gradient(135deg,rgba(42,107,66,.11),rgba(11,22,15,.025));border-radius:999px;box-shadow:inset 0 0 60px rgba(64,170,109,.025),0 0 40px rgba(64,170,109,.03);pointer-events:none}
.auth-body .wv-auth-orbit-a{width:720px;height:210px;left:-390px;bottom:110px;transform:rotate(31deg)}.auth-body .wv-auth-orbit-b{width:690px;height:210px;right:-360px;top:190px;transform:rotate(-32deg)}.auth-body .wv-auth-orbit-c{width:480px;height:175px;right:50px;top:-120px;transform:rotate(39deg);opacity:.65}
.auth-body .wv-auth-brand{position:absolute;z-index:5;top:27px;left:34px;display:flex;align-items:center;gap:8px;text-decoration:none;color:#fff}.auth-body .wv-auth-brand img{height:28px;width:auto;max-width:145px;object-fit:contain;filter:brightness(0) invert(1)}.auth-body .wv-auth-brand span{font-size:10px;color:#cbd8d0;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.auth-body .wv-auth-security{position:absolute;z-index:5;top:31px;right:34px;display:flex;align-items:center;gap:8px;color:#d6e0da;font-size:9.5px;font-weight:650}.auth-body .wv-auth-security span{width:7px;height:7px;border-radius:50%;background:#56c981;box-shadow:0 0 0 4px rgba(86,201,129,.1)}
.auth-body .wv-auth-card{
  width:min(510px,calc(100vw - 36px));
  max-width:100%;
  padding:36px 42px 32px;
  background:rgba(255,255,255,.975);
  border:1px solid rgba(255,255,255,.82);
  border-radius:18px;
  box-shadow:var(--wv-shadow-lg);
  position:relative;
  z-index:2;
  backdrop-filter:blur(18px);
}
.auth-body .wv-auth-card-wide{width:min(660px,calc(100vw - 36px));padding:34px 40px 30px}.auth-body .wv-auth-card-compact{width:min(480px,calc(100vw - 36px))}
.auth-body .wv-auth-card-brand{display:flex;justify-content:center;margin-bottom:15px}.auth-body .wv-auth-card-brand img{height:31px;width:auto;max-width:150px;object-fit:contain}
.auth-body .wv-auth-card h1{font-family:"Manrope",Inter,sans-serif;font-size:30px;font-weight:760;line-height:1.13;text-align:center;letter-spacing:-.045em;color:#1a201c;margin:0}
.auth-body .wv-auth-lead{text-align:center;color:#727c75;font-size:10.5px;line-height:1.65;max-width:400px;margin:11px auto 24px}.auth-body .wv-auth-lead strong{color:#333b35}
.auth-body .wv-auth-alert{margin:0 0 15px!important;font-size:10px!important;border-radius:9px!important}
.auth-body .wv-auth-form{display:flex;flex-direction:column;gap:14px}.auth-body .wv-auth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.auth-body .field{margin:0;min-width:0}.auth-body .field label{display:block;margin:0 0 7px;color:#49524c;font-size:9.5px;font-weight:750}.auth-body .field label .muted{font-weight:550;color:#a0a7a2!important}
.auth-body .wv-auth-input{height:45px;min-width:0;display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid #d4dbd6;border-radius:9px;background:#fff;color:#7d8780;transition:border .15s ease,box-shadow .15s ease}.auth-body .wv-auth-input:focus-within{border-color:#7bbf94;box-shadow:0 0 0 3px rgba(64,170,109,.1)}.auth-body .wv-auth-input input{width:100%;min-width:0;height:100%;border:0!important;background:transparent!important;outline:0!important;box-shadow:none!important;padding:0!important;font:inherit;font-size:10.5px!important;color:#29302b}.auth-body .wv-auth-input input::placeholder{color:#a5ada8}.auth-body .wv-auth-input .ui-icon{flex:0 0 auto;color:#869089}
.auth-body .wv-auth-primary,.auth-body .wv-auth-secondary{height:45px;border-radius:9px;border:1px solid #1c221e;background:#1c221e;color:#fff;display:flex;align-items:center;justify-content:center;gap:11px;text-decoration:none;font-size:10.5px;font-weight:750;cursor:pointer;transition:background .15s ease,transform .15s ease,border .15s ease;width:100%}.auth-body .wv-auth-primary:hover{background:#0e120f;transform:translateY(-1px)}.auth-body .wv-auth-primary span{font-size:15px;font-weight:400}.auth-body .wv-auth-secondary{background:#fff;color:#2c342e;border-color:#d1d8d3}.auth-body .wv-auth-secondary:hover{background:#f6f8f6;border-color:#bdc8c0}
.auth-body .wv-auth-note{display:flex;align-items:center;justify-content:center;gap:7px;color:#707a73;font-size:8.8px;line-height:1.5;margin-top:14px;text-align:center}.auth-body .wv-auth-note>span{width:17px;height:17px;flex:0 0 17px;border-radius:50%;background:#eaf7ef;color:#25804c;display:grid;place-items:center;font-size:8px;font-weight:800}
.auth-body .wv-auth-divider{display:flex;align-items:center;gap:12px;color:#949c97;font-size:8.8px;margin:18px 0 12px}.auth-body .wv-auth-divider:before,.auth-body .wv-auth-divider:after{content:"";height:1px;background:#e3e8e4;flex:1}
.auth-body .wv-auth-store-link{display:block;text-align:center;margin-top:13px;color:#277e4b;font-size:9.5px;font-weight:700;text-decoration:none}.auth-body .wv-auth-store-link:hover{text-decoration:underline}
.auth-body .wv-auth-shield{width:48px;height:48px;border-radius:14px;margin:0 auto 15px;background:#eaf7ef;color:#27804d;display:grid;place-items:center;font-size:19px;font-weight:800}
.auth-body .wv-auth-otp{display:block;width:100%;height:54px;border:1px solid #d2dad4!important;border-radius:9px!important;background:#fff!important;text-align:center;font-size:23px!important;letter-spacing:.34em!important;font-weight:750;color:#242a26!important;padding-left:.34em!important}.auth-body .wv-auth-otp:focus{outline:none!important;border-color:#7bbf94!important;box-shadow:0 0 0 3px rgba(64,170,109,.1)!important}
.auth-body .wv-trust-device{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;border:1px solid #dfe5e0;border-radius:9px;background:#fff;cursor:pointer}.auth-body .wv-trust-device input{margin-top:2px;accent-color:var(--wv-green)}.auth-body .wv-trust-device strong{display:block;font-size:9.5px;color:#3b443e}.auth-body .wv-trust-device small{display:block;font-size:8.5px;color:#879089;margin-top:3px;line-height:1.45}.auth-body .wv-auth-resend{text-align:center;margin-top:13px}.auth-body .wv-auth-resend button{border:0;background:none;color:#267b49;font-size:9.5px;font-weight:700;cursor:pointer}

/* =========================
   Store / public shared pages
   ========================= */
.store-body{font-family:"Manrope",Inter,ui-sans-serif,system-ui,sans-serif!important;background:#f6f8f6!important;color:#2b322d!important}
.store-body .store-header{background:#151917!important;border:0!important;margin:10px 20px 0!important;border-radius:14px!important;position:sticky!important;top:10px!important;z-index:80!important;box-shadow:0 10px 30px rgba(12,17,14,.12)}
.store-body .store-nav{min-height:60px!important}.store-body .store-brand img{filter:brightness(0) invert(1);height:25px!important}.store-body .store-brand span,.store-body .store-nav a{color:#eef2ef!important}.store-body .store-brand span{font-size:9px!important}.store-body .store-nav a:hover{color:#fff!important}.store-body .store-main{padding-top:30px!important}.store-body .btn{background:var(--wv-green)!important;border-color:var(--wv-green)!important;border-radius:9px!important}.store-body .card{border:1px solid var(--wv-line)!important;border-radius:14px!important;box-shadow:none!important}

.wv-ai-widget{font-family:"Manrope",Inter,ui-sans-serif,system-ui,sans-serif!important}
.wv-ai-panel{max-width:calc(100vw - 24px)}

/* =========================
   Motion
   ========================= */
@keyframes wvEnter{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.portal-body .portal-content>*{animation:wvEnter .2s ease both}.portal-body .portal-content>*:nth-child(2){animation-delay:.02s}.portal-body .portal-content>*:nth-child(3){animation-delay:.04s}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* =========================
   Responsive safety
   ========================= */
@media(max-width:1260px){
  .portal-body .wv-top-brand{width:185px;flex-basis:185px}
  .portal-body .topbar-page-title{display:none}.portal-body .topbar-divider{display:none}
  .portal-body .app-shell{grid-template-columns:210px minmax(0,1fr)!important}
  .portal-body .portal-content{padding-left:22px!important;padding-right:12px!important}
  .portal-body .wv-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .portal-body .wv-dashboard-layout{grid-template-columns:1fr}
  .portal-body .wv-sites-toolbar{grid-template-columns:minmax(200px,1fr) 145px 145px}.portal-body .wv-sites-count{grid-column:1/-1;justify-self:end;width:110px}
}

@media(max-width:1080px){
  .portal-body .global-topbar{left:14px!important;right:14px!important}
  .portal-body .wv-top-brand{width:170px;flex-basis:170px}
  .portal-body .topbar-workspace{max-width:130px}
  .portal-body .topbar-user-copy{display:none!important}.portal-body .topbar-chevron{display:none}
  .portal-body .topbar-user{width:38px!important;flex:0 0 38px;padding:0!important;justify-content:center!important}
  .portal-body .app-shell{padding-left:14px!important;padding-right:14px!important;grid-template-columns:195px minmax(0,1fr)!important}
  .portal-body .sidebar{padding-right:12px!important}
}

@media(max-width:980px){
  .portal-body .wv-app-frame,.portal-body .impersonation-bar + .wv-app-frame{padding-top:0!important}
  .portal-body .global-topbar{display:none!important}
  .portal-body .app-shell{display:block!important;padding:0!important;min-height:100dvh!important}
  .portal-body .main{display:block!important}
  .portal-body .portal-content{padding:0 18px 58px!important;max-width:none!important}
  .portal-body .mobile-topbar{
    display:flex!important;
    position:sticky!important;
    top:0!important;
    z-index:60!important;
    height:64px!important;
    margin:0 -18px 24px!important;
    padding:0 16px!important;
    align-items:center!important;
    justify-content:space-between!important;
    background:#151917!important;
    color:#fff!important;
    box-shadow:0 5px 18px rgba(12,17,14,.1)!important;
  }
  .portal-body .impersonation-bar{position:relative!important;z-index:90!important}
  .portal-body .mobile-brand{display:flex;align-items:center;gap:7px;text-decoration:none;color:#fff}.portal-body .mobile-brand img{height:23px;width:auto;filter:brightness(0) invert(1)}.portal-body .mobile-brand span{font-size:9px;color:#d0d8d3;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
  .portal-body .mobile-menu-btn,.portal-body .mobile-logout{width:36px;height:36px;border:0!important;background:rgba(255,255,255,.07)!important;color:#fff!important;border-radius:9px!important;display:grid!important;place-items:center!important;text-decoration:none!important}
  .portal-body .sidebar{
    position:fixed!important;
    left:-286px!important;
    top:0!important;
    width:274px!important;
    height:100dvh!important;
    padding:74px 12px 16px!important;
    background:#f6f8f6!important;
    box-shadow:18px 0 48px rgba(21,32,25,.17)!important;
    transition:left .2s ease!important;
    z-index:80!important;
    overflow:hidden!important;
  }
  .portal-body .sidebar.mobile-open{left:0!important}
  .portal-body .mobile-sidebar-overlay{display:block!important;position:fixed!important;inset:0!important;background:rgba(11,16,13,.42)!important;z-index:70!important;opacity:0!important;pointer-events:none!important;backdrop-filter:blur(2px)!important;transition:.2s ease!important}
  .portal-body .mobile-sidebar-overlay.mobile-open{opacity:1!important;pointer-events:auto!important}
  .portal-body.mobile-nav-open{overflow:hidden!important}
  .portal-body .wv-dashboard-site{grid-template-columns:auto minmax(130px,1fr) auto auto}.portal-body .wv-dashboard-site-region{display:none}
  .portal-body .grid-3{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media(max-width:760px){
  .portal-body .portal-content{padding-left:14px!important;padding-right:14px!important}
  .portal-body .mobile-topbar{margin-left:-14px!important;margin-right:-14px!important}
  .portal-body .page-head,.portal-body .wv-page-heading{align-items:flex-start!important;flex-direction:column!important;gap:16px!important;margin-bottom:20px!important}
  .portal-body .page-head h1,.portal-body .wv-page-heading h1{font-size:28px!important}
  .portal-body .page-head>.actions,.portal-body .wv-heading-actions{width:100%}.portal-body .wv-heading-actions>*{flex:1 1 150px}.portal-body .page-head>.actions .btn{flex:1 1 150px}
  .portal-body .grid-2,.portal-body .grid-3{grid-template-columns:1fr!important}
  .portal-body .form-grid{grid-template-columns:1fr!important}.portal-body .field-full{grid-column:auto!important}
  .portal-body .detail-list{grid-template-columns:1fr!important}.portal-body .detail-list .label{padding-bottom:2px!important;border-bottom:0!important;font-size:9px!important;text-transform:uppercase;letter-spacing:.04em}.portal-body .detail-list .label+div{padding-top:3px!important}
  .portal-body .wv-page-tabs{gap:23px;margin-bottom:16px}
  .portal-body .wv-sites-card{padding:14px 13px 4px}
  .portal-body .wv-sites-toolbar{grid-template-columns:1fr 1fr}.portal-body .wv-sites-search{grid-column:1/-1}.portal-body .wv-sites-count{grid-column:1/-1;justify-self:stretch;width:auto;text-align:left;padding-left:0}.portal-body .wv-sites-count>div{max-width:120px}
  .portal-body .wv-overview-grid{grid-template-columns:1fr 1fr}
  .portal-body .wv-dashboard-site{grid-template-columns:auto minmax(0,1fr) auto;padding-left:14px;padding-right:14px}.portal-body .wv-dashboard-site .wv-live-pill{display:none}.portal-body .wv-dashboard-site-arrow{display:grid}
  .portal-body .wv-service-header{align-items:flex-start!important;flex-direction:column!important}.portal-body .wv-service-header h1{font-size:25px!important}.portal-body .wv-service-header-actions{width:100%;justify-content:flex-start}.portal-body .wv-service-header-actions .btn{flex:1 1 180px}
  .portal-body .card{padding:18px!important}

  .auth-body .wv-auth-page{min-height:100dvh;padding:88px 14px 28px;align-items:flex-start;overflow:hidden}.auth-body .wv-auth-brand{left:18px;top:24px}.auth-body .wv-auth-security{right:18px;top:28px;font-size:8.5px}.auth-body .wv-auth-brand img{height:24px}.auth-body .wv-auth-brand span{font-size:9px}.auth-body .wv-auth-card,.auth-body .wv-auth-card-wide,.auth-body .wv-auth-card-compact{width:100%;padding:28px 22px 25px;margin:0}.auth-body .wv-auth-card h1{font-size:26px}.auth-body .wv-auth-grid{grid-template-columns:1fr}.auth-body .wv-auth-orbit-a{left:-520px}.auth-body .wv-auth-orbit-b{right:-500px}
  .store-body .store-header{margin:0!important;border-radius:0!important;top:0!important}
}

@media(max-width:520px){
  .portal-body .wv-overview-grid{grid-template-columns:1fr}
  .portal-body .wv-sites-toolbar{grid-template-columns:1fr}.portal-body .wv-sites-search,.portal-body .wv-sites-count{grid-column:auto}
  .portal-body .page-head h1,.portal-body .wv-page-heading h1{font-size:26px!important}
  .portal-body .actions{width:100%}.portal-body .actions>.btn,.portal-body .actions>form,.portal-body .actions>form>.btn{width:100%}
  .portal-body .card-head-inline{flex-direction:column}
  .auth-body .wv-auth-security{display:none}.auth-body .wv-auth-card,.auth-body .wv-auth-card-wide,.auth-body .wv-auth-card-compact{padding:25px 17px 23px}.auth-body .wv-auth-card h1{font-size:24px}.auth-body .wv-auth-lead{font-size:10px}.auth-body .wv-auth-note{align-items:flex-start;text-align:left}
  .wv-ai-widget{right:12px!important;bottom:12px!important}.wv-ai-panel{right:0!important;left:auto!important;width:calc(100vw - 24px)!important;max-width:none!important}
}

/* V18.4 monitoring, receipt and add-on UI */
.portal-body .resource-alert-bar{display:flex;align-items:center;gap:12px;margin:0 0 18px;padding:13px 15px;border:1px solid #f2b8b5;border-left:4px solid #d92d20;border-radius:10px;background:#fff1f0;color:#7a271a;box-shadow:0 8px 24px rgba(180,35,24,.06)}
.portal-body .resource-alert-bar.is-critical{background:#ffebe9;border-color:#f29b95;border-left-color:#b42318}.portal-body .resource-alert-bar>div{min-width:0;display:flex;flex-direction:column;gap:2px}.portal-body .resource-alert-bar strong{font-size:12px}.portal-body .resource-alert-bar span{font-size:11px;color:#912018}.portal-body .resource-alert-bar>a{margin-left:auto;white-space:nowrap;font-size:11px;font-weight:800;color:#b42318;text-decoration:none}
.chart-y-label{font-size:10px;fill:#7e8792;font-weight:600}.chart-y-axis{stroke:#dfe4e1;stroke-width:1}.wv-chart svg{height:260px!important;overflow:visible}.usage-range a{display:inline-flex;align-items:center;text-decoration:none;padding:9px 13px;border-radius:8px;font-size:12px;font-weight:700;color:#747b88}.usage-range a.active{background:#fff;color:#1d2430;box-shadow:0 1px 3px rgba(18,24,33,.09)}
.text-danger{color:#b42318!important}.http-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.table code{font:11px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:normal;word-break:break-all}
.addon-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.addon-card{display:flex;flex-direction:column;gap:14px}.addon-card-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.addon-kicker{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#6f7b73;margin-bottom:5px}.addon-card h2{margin:0;font-size:18px}.addon-price{text-align:right}.addon-price strong{display:block;font-size:22px;letter-spacing:-.04em;color:#171b18}.addon-price span{font-size:10px;color:#8b938e}.addon-buy-form{margin-top:auto}.addon-credit-option{display:flex;align-items:center;gap:8px;padding:11px 12px;border:1px solid #e1e8e3;border-radius:10px;background:#f8fbf9;font-size:12px;font-weight:700}.addon-owned-card{margin-bottom:18px}.table-subtext{display:block;color:#8b938e;font-size:10px;margin-top:3px}
.invoice-paid-receipt{margin:28px 0 8px;padding:20px 22px;border:1px solid #b7dfc8;border-radius:12px;background:#f2fbf6;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1.2fr);gap:24px;align-items:center}.invoice-paid-receipt h2{margin:5px 0 4px;font-size:20px;color:#17663b}.invoice-paid-receipt p{margin:0;color:#637068;font-size:11px}.invoice-paid-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.invoice-paid-grid>div{padding:10px 12px;background:#fff;border:1px solid #dbece2;border-radius:8px}.invoice-paid-grid span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:#77847d}.invoice-paid-grid strong{display:block;margin-top:4px;font-size:12px;color:#253229}
@media(max-width:760px){.portal-body .resource-alert-bar{align-items:flex-start;flex-wrap:wrap}.portal-body .resource-alert-bar>a{margin-left:30px}.http-summary-grid,.addon-grid{grid-template-columns:1fr!important}.addon-card-top{flex-direction:column}.addon-price{text-align:left}.invoice-paid-receipt{grid-template-columns:1fr}.invoice-paid-grid{grid-template-columns:1fr 1fr}}
@media print{.invoice-paid-receipt{break-inside:avoid}}

/* V18.4 resource grid normalization */
.usage-limit-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:980px){.usage-limit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.usage-limit-grid{grid-template-columns:1fr}}

/* =========================
   V18.5 maintenance refinements
   ========================= */
.portal-body .topbar-account-wrap{position:relative;display:flex;align-items:center;min-width:0}
.portal-body .topbar-account-menu{position:absolute;top:calc(100% + 10px);right:0;width:245px;padding:8px;background:#fff;border:1px solid var(--wv-line);border-radius:13px;box-shadow:0 18px 45px rgba(20,28,23,.16);z-index:250}
.portal-body .topbar-account-menu[hidden]{display:none!important}
.portal-body .topbar-account-head{padding:10px 11px 11px;border-bottom:1px solid #edf0ee;margin-bottom:5px;min-width:0}
.portal-body .topbar-account-head strong,.portal-body .topbar-account-head span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal-body .topbar-account-head strong{font-size:11px;color:#202721}.portal-body .topbar-account-head span{font-size:9px;color:#7e8881;margin-top:3px}
.portal-body .topbar-account-menu>a{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;color:#39423b;text-decoration:none;font-size:10.5px;font-weight:650}.portal-body .topbar-account-menu>a:hover{background:#f3f6f4;color:#172019}.portal-body .topbar-account-menu>a .ui-icon{color:#6d7870;flex:0 0 auto}.portal-body .topbar-account-separator{height:1px;background:#edf0ee;margin:5px 3px}.portal-body .topbar-account-menu>a.topbar-account-logout{color:#a53535}
.portal-body .resource-alert-bar{gap:12px;align-items:center}.portal-body .resource-alert-bar>.resource-alert-actions{margin-left:auto;display:flex!important;flex-direction:row!important;align-items:center;gap:10px;flex:0 0 auto}.portal-body .resource-alert-actions>a{font-size:10px;font-weight:750;white-space:nowrap}.portal-body .resource-alert-actions form{margin:0}.portal-body .resource-alert-dismiss{width:28px;height:28px;border-radius:8px;border:1px solid rgba(120,29,29,.22);background:rgba(255,255,255,.72);color:#8d2525;display:grid;place-items:center;font-size:18px;line-height:1;cursor:pointer}.portal-body .resource-alert-dismiss:hover{background:#fff}
.portal-body .customer-filter-grid{display:grid;grid-template-columns:minmax(260px,1.5fr) minmax(150px,.65fr) minmax(150px,.65fr) auto;gap:12px;align-items:end}.portal-body .customer-filter-actions{padding-bottom:1px;flex-wrap:nowrap}
.portal-body .settings-divider{border:0;border-top:1px solid var(--wv-line);margin:6px 0 2px}.portal-body .cloudflare-status-card .status-pill{white-space:nowrap}.portal-body .server-inline-alert{font-size:10px;line-height:1.5}
.auth-body .wv-auth-card h1{font-size:36px;line-height:1.08;letter-spacing:-.05em;margin-top:2px}.auth-body .wv-auth-lead{font-size:12.5px;line-height:1.65;max-width:430px;margin:12px auto 25px;color:#677169}.auth-body .wv-auth-card-brand{margin-bottom:18px}
@media(max-width:900px){.portal-body .customer-filter-grid{grid-template-columns:1fr 1fr}.portal-body .customer-filter-grid>.field:first-of-type{grid-column:1/-1}.portal-body .customer-filter-actions{grid-column:1/-1}.portal-body .resource-alert-bar>.resource-alert-actions{margin-left:0;width:100%;justify-content:space-between}.portal-body .topbar-account-menu{right:-2px;width:min(245px,calc(100vw - 30px))}}
@media(max-width:560px){.portal-body .customer-filter-grid{grid-template-columns:1fr}.portal-body .customer-filter-grid>.field:first-of-type,.portal-body .customer-filter-actions{grid-column:auto}.auth-body .wv-auth-card h1{font-size:31px}.auth-body .wv-auth-lead{font-size:11.5px}}
