/* XaroHost Manager 0.29.3 approved UI layer — presentation only */
:root{
 --xaro-black:#111316;--xaro-black2:#1a1d21;--xaro-ink:#12213b;--xaro-muted:#748198;--xaro-bg:#eef4fa;--xaro-card:#fff;--xaro-line:#dce5ee;
 --xaro-blue:#234f79;--xaro-blue2:#315f8d;--xaro-green:#1d8a58;--xaro-orange:#d58a24;--xaro-red:#b53d3d;--xaro-shadow:0 12px 30px rgba(20,49,85,.08)
}
html,body{background:var(--xaro-bg)!important;color:var(--xaro-ink)}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important}
a{transition:background .16s ease,color .16s ease,border-color .16s ease}
.xhm-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ADMIN */
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar{background:linear-gradient(180deg,#101215,#17191d)!important;color:#d8e0eb!important;border-right:1px solid #252930!important;box-shadow:none!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar .brand{min-height:68px;padding:14px 16px!important;border-bottom:1px solid #282c32!important;background:#111316!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .xaro-admin-brand img{max-width:172px!important;max-height:42px!important;object-fit:contain!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar nav{padding:10px 9px 24px!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar nav a{color:#cfd7e3!important;border-radius:10px!important;margin:2px 0!important;padding:10px 12px!important;font-size:12px!important;font-weight:700!important;border:1px solid transparent!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar nav a:hover,body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar nav a.active{background:#252930!important;color:#fff!important;border-color:#30343b!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar .navhead{color:#7f8ea4!important;font-size:9px!important;letter-spacing:.12em!important;font-weight:900!important;padding:15px 12px 6px!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .main{background:var(--xaro-bg)!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .top{height:68px!important;background:linear-gradient(90deg,var(--xhm-side),var(--xhm-side2))!important;border-bottom:1px solid color-mix(in srgb,var(--xhm-side-text) 16%,transparent)!important;color:var(--xhm-side-text)!important;box-shadow:none!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .top .admin,body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .top .admin a{color:var(--xhm-side-text)!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .top .hamb{background:color-mix(in srgb,var(--xhm-side-text) 10%,transparent)!important;color:var(--xhm-side-text)!important;border:1px solid color-mix(in srgb,var(--xhm-side-text) 22%,transparent)!important;border-radius:10px!important;width:40px!important;height:40px!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .top .search{background:color-mix(in srgb,var(--xhm-side-text) 10%,transparent)!important;color:var(--xhm-side-text)!important;border:1px solid color-mix(in srgb,var(--xhm-side-text) 22%,transparent)!important;border-radius:11px!important;min-height:40px!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content{max-width:1500px!important;padding:24px!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .title-row h1{font-size:27px!important;letter-spacing:-.02em!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .title-row p{color:var(--xaro-muted)!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .panel,body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .stat{background:#fff!important;border:1px solid var(--xaro-line)!important;border-radius:17px!important;box-shadow:var(--xaro-shadow)!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .stat{padding:16px!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .stat small{color:var(--xaro-muted)!important;font-size:10px!important;font-weight:800!important;letter-spacing:.04em!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .stat strong{font-size:24px!important;color:var(--xaro-ink)!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .panel-title{font-size:16px!important;color:var(--xaro-ink)!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) table{background:#fff!important;border-radius:12px!important;overflow:hidden!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) th{background:#f8fafc!important;color:#69778d!important;font-size:10px!important;text-transform:uppercase!important;letter-spacing:.05em!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) th,body:not(.portal-body):not(.portal-login-body):not(.storefront-body) td{border-color:#edf1f5!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .primary,body:not(.portal-body):not(.portal-login-body):not(.storefront-body) button.primary{background:linear-gradient(135deg,#18385f,#28547e)!important;color:#fff!important;border:0!important;border-radius:11px!important;box-shadow:none!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .btn{border-radius:10px!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .badge{border-radius:999px!important;font-size:10px!important;padding:5px 8px!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) footer{color:#7a8798!important;background:transparent!important;border:0!important}

/* CLIENT PORTAL */
.portal-body{background:var(--xaro-bg)!important;padding-bottom:0!important}
.xhm-client-top{background:linear-gradient(180deg,#101215,#17191d)!important;color:#fff!important;border-bottom:1px solid #2b2f35!important;box-shadow:none!important}
.xhm-client-top-inner{min-height:70px!important}
.xhm-client-brand,.xhm-client-brand *,.xhm-client-word-brand,.xhm-client-word-brand *{color:#fff!important}
.xhm-client-word-brand b{font-size:17px!important;letter-spacing:.08em!important}.xhm-client-word-brand small{display:none!important}
.xhm-client-menu-btn,.xhm-client-menu-close,.xhm-client-account-btn{background:#22252a!important;color:#fff!important;border:1px solid #383c43!important;border-radius:11px!important}
.xhm-client-global-search{background:#202329!important;border:1px solid #343940!important;border-radius:11px!important;color:#fff!important}
.xhm-client-global-search input{color:#fff!important;background:transparent!important}.xhm-client-global-search input::placeholder{color:#9ba7b8!important}
.xhm-client-order{background:linear-gradient(135deg,#18385f,#28547e)!important;border-radius:11px!important;color:#fff!important}
.xhm-client-avatar{background:#2471e8!important;color:#fff!important}
.xhm-client-main{background:var(--xaro-bg)!important;max-width:1500px!important}
.portal-panel,.xhm-client-card,.xhm-summary-card,.xhm-resource-card,.xhm-premium-tools,.xhm-action-centre{background:#fff!important;border:1px solid var(--xaro-line)!important;border-radius:18px!important;box-shadow:var(--xaro-shadow)!important}
.portal-panel h1,.portal-panel h2,.portal-panel h3,.xhm-client-main h1,.xhm-client-main h2,.xhm-client-main h3{color:var(--xaro-ink)!important;letter-spacing:-.015em}
.portal-panel p,.portal-panel small,.muted,.xhm-client-main .muted{color:var(--xaro-muted)!important}
.portal-btn.primary,.xhm-summary-button,.xhm-help-primary{background:linear-gradient(135deg,#18385f,#28547e)!important;color:#fff!important;border-radius:11px!important;border:0!important}
.portal-btn,.xhm-summary-button,.xhm-control-list a,.xhm-help-secondary{border-radius:11px!important}
.xhm-summary-status{display:inline-flex!important;align-items:center!important;gap:7px!important;border-radius:999px!important;padding:5px 9px!important;background:#f1f4f7!important;color:#5d6a7d!important}
.xhm-summary-status:before{content:"";width:8px;height:8px;border-radius:50%;background:#8793a4;box-shadow:0 0 0 3px rgba(135,147,164,.12)}
.xhm-summary-status.active:before{background:#22ad6b;box-shadow:0 0 0 3px rgba(34,173,107,.13),0 0 8px rgba(34,173,107,.35)}
.xhm-summary-status.inactive:before{background:#d58a24;box-shadow:0 0 0 3px rgba(213,138,36,.13)}
.xhm-summary-status.active{background:#ebf8f1!important;color:#1b7650!important}.xhm-summary-status.inactive{background:#fff5e8!important;color:#9b651b!important}
.xhm-resource-bar{height:11px!important;border-radius:999px!important;border:1px solid #e0e6ed!important;background:repeating-linear-gradient(90deg,#e7ecf2 0 15px,#f6f8fa 15px 19px)!important;overflow:hidden!important}
.xhm-resource-bar>i{height:100%!important;background:repeating-linear-gradient(90deg,#2f5a89 0 15px,#4b6f98 15px 19px)!important;border-radius:999px!important}
.xhm-resource-card footer .xhm-dot{background:#22ad6b!important;box-shadow:0 0 0 3px rgba(34,173,107,.12)!important}
.xhm-premium-tools-grid a{background:#fbfcfd!important;border:1px solid #dfe6ee!important;border-radius:14px!important;box-shadow:none!important}
.xhm-premium-tools-grid a:hover{border-color:#b8c8d9!important;background:#f6f9fc!important}
.xhm-premium-tools-grid a i{background:#eef3f7!important;color:#2e628e!important;border-radius:10px!important}
.xhm-control-list a,.xhm-help-secondary{background:#fbfcfd!important;border:1px solid #e0e6ed!important}
.xhm-help-highlight{background:#fff9ec!important;border:1px solid #f1dfb2!important;border-radius:14px!important}
.xhm-account-menu,.xhm-more-sheet{border:1px solid #dbe3ec!important;box-shadow:0 18px 44px rgba(0,0,0,.18)!important}
.xhm-mobile-tabs{background:linear-gradient(180deg,#111316,#17191d)!important;color:#d1d9e5!important;border-top:1px solid #2b2f35!important;box-shadow:0 -8px 24px rgba(0,0,0,.14)!important}
.xhm-mobile-tabs a,.xhm-mobile-tabs button{color:#cad3df!important}.xhm-mobile-tabs a.active{color:#75a5cf!important}
.xhm-mobile-order b{background:linear-gradient(145deg,#244f7a,#4a5f8f)!important;box-shadow:0 8px 20px rgba(36,79,122,.32)!important}
.xhm-client-footer{background:#fff!important;border-top:1px solid var(--xaro-line)!important}

/* LOGIN / REGISTER / RESET surfaces */
.login-body,.portal-login-body{background:linear-gradient(135deg,#101215,#20262e)!important;min-height:100vh!important}
.login-card,.portal-login-card{background:#fff!important;border:1px solid #dce4ed!important;border-radius:20px!important;box-shadow:0 24px 70px rgba(0,0,0,.26)!important}
.login-card input,.portal-login-card input,.portal-login-card select{border:1px solid #d6e0ea!important;border-radius:10px!important;background:#fff!important}
.login-card button,.portal-login-card button.primary{background:linear-gradient(135deg,#18385f,#28547e)!important;color:#fff!important;border:0!important;border-radius:11px!important}

@media(min-width:1181px){
 .portal-body .xhm-client-nav{background:linear-gradient(180deg,#101215,#17191d)!important;border-right:1px solid #292d33!important;color:#d8e0eb!important}
 .portal-body .xhm-client-nav>a{color:#ced7e4!important;border-radius:10px!important;margin:2px 8px!important}
 .portal-body .xhm-client-nav>a:hover,.portal-body .xhm-client-nav>a.active{background:#252930!important;color:#fff!important}
 .xhm-desktop-side-section{color:#7f8ea4!important}
}
@media(max-width:1180px){
 .xhm-client-nav{background:#17191d!important;color:#d8e0eb!important;border-right:1px solid #2a2e34!important}
 .xhm-client-nav a{color:#d1d9e5!important}.xhm-client-drawer-head{background:#111316!important;border-bottom:1px solid #2a2e34!important}
}
@media(max-width:760px){
 body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content{padding:14px!important}
 body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .top{height:64px!important}
 .xhm-client-top-inner{min-height:64px!important;padding:0 12px!important}.xhm-client-global-search{display:none!important}.xhm-client-order{display:none!important}
 .xhm-client-main{padding-bottom:86px!important}.portal-panel,.xhm-summary-card,.xhm-resource-card,.xhm-premium-tools,.xhm-action-centre{border-radius:16px!important}
 .xhm-premium-tools-grid{gap:9px!important}.xhm-premium-tools-grid a{padding:11px!important;min-height:78px!important}.xhm-premium-tools-grid a b{font-size:12px!important}.xhm-premium-tools-grid a small{font-size:10px!important}
 .xhm-mobile-tabs{height:70px!important;border-radius:18px 18px 0 0!important}.xhm-mobile-tabs a,.xhm-mobile-tabs button{font-size:10px!important}
}


/* XHM 0.29.8 — sidebar-only colour themes. Approved admin content UI remains unchanged. */
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar{background:linear-gradient(180deg,var(--xhm-side),var(--xhm-side2))!important;color:var(--xhm-side-text)!important;border-right:1px solid color-mix(in srgb,var(--xhm-side-text) 14%,transparent)!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar .brand{background:color-mix(in srgb,var(--xhm-side) 94%,transparent)!important;border-bottom:1px solid color-mix(in srgb,var(--xhm-side-text) 13%,transparent)!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar nav a{color:var(--xhm-side-text)!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar nav a:hover,
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar nav a.active{background:color-mix(in srgb,var(--xhm-accent) 45%,var(--xhm-side))!important;color:var(--xhm-side-text)!important;border-color:color-mix(in srgb,var(--xhm-accent) 55%,transparent)!important;box-shadow:none!important}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .xhm-nav-group-title,
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar .navhead,
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .xhm-theme-section-label{color:color-mix(in srgb,var(--xhm-side-text) 58%,transparent)!important}
html[data-xhm-theme="cream-white"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar nav a:hover,
html[data-xhm-theme="cream-white"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar nav a.active{background:#F3D7B8!important;color:#7A3F08!important;border-color:#E6BF94!important}
html[data-xhm-theme="cream-white"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar{box-shadow:inset -1px 0 #e6d7c0!important}

/* XHM 0.29.9 — top bar theme matching */
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .top .xhm-theme-top{background:color-mix(in srgb,var(--xhm-side-text) 10%,transparent)!important;color:var(--xhm-side-text)!important;border-color:color-mix(in srgb,var(--xhm-side-text) 22%,transparent)!important}
html[data-xhm-theme="cream-white"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .top .xhm-theme-top{background:#fffaf2!important;color:#60472f!important;border-color:#dec9aa!important}


/* XHM 0.29.10 — Theme 6: Premium Glass. Presentation-only admin skin. */
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body){
  --xaro-bg:#eaf3ff;--xaro-line:rgba(255,255,255,.68);--xaro-shadow:0 18px 48px rgba(44,72,116,.13);--xaro-ink:#10213c;--xaro-muted:#62728a;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .main{
  background:
    radial-gradient(circle at 12% 12%,rgba(70,169,255,.24),transparent 28%),
    radial-gradient(circle at 88% 15%,rgba(124,58,237,.16),transparent 25%),
    radial-gradient(circle at 62% 82%,rgba(80,220,225,.13),transparent 28%),
    linear-gradient(145deg,#eef7ff 0%,#e9f1ff 45%,#f4efff 100%)!important;
  background-attachment:fixed!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar{
  background:linear-gradient(180deg,rgba(8,26,49,.94),rgba(20,53,91,.91))!important;
  backdrop-filter:blur(20px) saturate(145%);-webkit-backdrop-filter:blur(20px) saturate(145%);
  border-right:1px solid rgba(255,255,255,.16)!important;
  box-shadow:12px 0 40px rgba(10,35,67,.15)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar .brand{
  background:rgba(6,22,43,.36)!important;border-bottom:1px solid rgba(255,255,255,.13)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar nav a:hover,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar nav a.active{
  background:linear-gradient(135deg,rgba(59,130,246,.46),rgba(124,58,237,.33))!important;
  border-color:rgba(166,205,255,.34)!important;box-shadow:inset 0 1px rgba(255,255,255,.12)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .top{
  background:linear-gradient(90deg,rgba(8,27,51,.90),rgba(31,67,106,.84))!important;
  backdrop-filter:blur(20px) saturate(145%);-webkit-backdrop-filter:blur(20px) saturate(145%);
  border-bottom:1px solid rgba(255,255,255,.16)!important;
  box-shadow:0 10px 32px rgba(35,64,105,.10)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .top .search,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .top .hamb,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .top .xhm-theme-top{
  background:rgba(255,255,255,.10)!important;border-color:rgba(255,255,255,.20)!important;color:#f8fbff!important;
  box-shadow:inset 0 1px rgba(255,255,255,.08)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .panel,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .stat,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .client-form,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .client-tools,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .mini-stat,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .xhm-collection-toolbar,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .xhm-installed-theme-card,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .settings-callout{
  background:linear-gradient(145deg,rgba(255,255,255,.78),rgba(247,251,255,.62))!important;
  border:1px solid rgba(255,255,255,.78)!important;
  box-shadow:0 18px 46px rgba(45,74,119,.12),inset 0 1px rgba(255,255,255,.82)!important;
  backdrop-filter:blur(18px) saturate(135%);-webkit-backdrop-filter:blur(18px) saturate(135%);
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content table{
  background:rgba(255,255,255,.58)!important;border:1px solid rgba(255,255,255,.70)!important;
  box-shadow:0 14px 36px rgba(42,71,113,.08)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content th{
  background:rgba(238,246,255,.68)!important;color:#5d6f89!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content input,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content select,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content textarea,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .xhm-theme-panel{
  background:rgba(255,255,255,.78)!important;border-color:rgba(255,255,255,.76)!important;
  backdrop-filter:blur(20px) saturate(140%);-webkit-backdrop-filter:blur(20px) saturate(140%);
  box-shadow:0 22px 60px rgba(37,65,109,.18)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .primary,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) button.primary{
  background:linear-gradient(135deg,#1976e9 0%,#3b82f6 45%,#7146e8 100%)!important;
  box-shadow:0 9px 24px rgba(59,130,246,.22)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .xhm-theme-launcher{
  background:linear-gradient(135deg,rgba(59,130,246,.30),rgba(124,58,237,.22))!important;
  border-color:rgba(183,212,255,.32)!important;color:#f8fbff!important;
  box-shadow:inset 0 1px rgba(255,255,255,.10)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .xhm-sidebar-foot{
  background:rgba(255,255,255,.07)!important;color:#dbeaff!important;border-color:rgba(255,255,255,.12)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .notice{
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.48)!important;
}
@media(max-width:760px){
 html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar{box-shadow:18px 0 52px rgba(5,24,48,.30)!important}
 html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .drawer-shade{background:rgba(7,22,43,.48)!important;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
}

/* XHM 0.29.11 — Premium Glass v2. Closer to approved glass reference image. */
html[data-xhm-theme="premium-glass"]{
  --xhm-accent:#1687ff;
  --xhm-accent2:#5a55ee;
  --xhm-bg:#eaf3ff;
  --xhm-surface:rgba(255,255,255,.58);
  --xhm-surface2:rgba(255,255,255,.44);
  --xhm-border:rgba(255,255,255,.78);
  --xhm-text:#10213c;
  --xhm-muted:#6b7d96;
  --xhm-side:rgba(244,249,255,.76);
  --xhm-side2:rgba(231,241,255,.68);
  --xhm-side-text:#193451;
  --xhm-input:rgba(255,255,255,.58);
  --xhm-glow:0 18px 48px rgba(45,77,128,.12);
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body){
  background:#eaf3ff!important;
  color:#10213c!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .main{
  position:relative;
  isolation:isolate;
  background:
    radial-gradient(70% 40% at 16% 5%,rgba(76,169,255,.24),transparent 66%),
    radial-gradient(55% 42% at 92% 9%,rgba(132,96,255,.22),transparent 68%),
    radial-gradient(42% 34% at 74% 62%,rgba(76,214,229,.16),transparent 72%),
    linear-gradient(145deg,#eaf5ff 0%,#eef6ff 38%,#f4efff 72%,#edf8ff 100%)!important;
  background-attachment:fixed!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .main::before,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .main::after{
  content:"";
  position:fixed;
  pointer-events:none;
  z-index:-1;
  filter:blur(14px);
  opacity:.68;
  border-radius:50%;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .main::before{
  width:54vw;height:26vw;right:-10vw;top:8vh;
  background:radial-gradient(ellipse at center,rgba(119,91,246,.21),rgba(66,151,255,.11) 46%,transparent 72%);
  transform:rotate(-14deg);
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .main::after{
  width:44vw;height:22vw;left:25vw;bottom:4vh;
  background:radial-gradient(ellipse at center,rgba(60,207,224,.17),rgba(84,155,255,.10) 48%,transparent 74%);
  transform:rotate(12deg);
}

/* Light frosted sidebar like the reference mockup. */
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar{
  background:linear-gradient(180deg,rgba(247,251,255,.80),rgba(232,243,255,.70))!important;
  color:#1b3654!important;
  border-right:1px solid rgba(255,255,255,.86)!important;
  box-shadow:16px 0 44px rgba(50,78,120,.11)!important;
  backdrop-filter:blur(28px) saturate(155%)!important;
  -webkit-backdrop-filter:blur(28px) saturate(155%)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar .brand{
  background:rgba(255,255,255,.34)!important;
  border-bottom:1px solid rgba(255,255,255,.78)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar .brand img{
  content:url("xaro-logo.svg")!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar nav a{
  color:#27415e!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar nav a:hover{
  color:#0a68d7!important;
  background:rgba(255,255,255,.48)!important;
  border-color:rgba(255,255,255,.80)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar nav a.active{
  background:linear-gradient(135deg,#167cf2 0%,#2588f6 56%,#6657ec 100%)!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.58)!important;
  box-shadow:0 10px 25px rgba(38,123,230,.22),inset 0 1px rgba(255,255,255,.24)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .xhm-nav-group-title,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar .navhead,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .xhm-theme-section-label{
  color:#7890aa!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .xhm-theme-launcher{
  background:linear-gradient(135deg,rgba(255,255,255,.58),rgba(224,237,255,.58))!important;
  border-color:rgba(255,255,255,.82)!important;
  color:#284361!important;
  box-shadow:0 9px 28px rgba(54,88,137,.10),inset 0 1px rgba(255,255,255,.80)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .xhm-sidebar-foot{
  background:rgba(255,255,255,.40)!important;
  color:#58708b!important;
  border-color:rgba(255,255,255,.72)!important;
}

/* Frosted light top bar. */
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .top{
  background:linear-gradient(90deg,rgba(249,252,255,.74),rgba(231,241,255,.66))!important;
  color:#203955!important;
  border-bottom:1px solid rgba(255,255,255,.86)!important;
  box-shadow:0 10px 34px rgba(54,82,124,.10)!important;
  backdrop-filter:blur(26px) saturate(155%)!important;
  -webkit-backdrop-filter:blur(26px) saturate(155%)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .top .admin,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .top .admin a{
  color:#2b4664!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .top .search,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .top .hamb,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .top .xhm-theme-top{
  background:rgba(255,255,255,.56)!important;
  border-color:rgba(255,255,255,.86)!important;
  color:#23415f!important;
  box-shadow:0 7px 20px rgba(50,80,126,.08),inset 0 1px rgba(255,255,255,.84)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .top .search::placeholder{color:#7f91a8!important}

/* True frosted cards/panels. */
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .panel,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .stat,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .record-card,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .client-form,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .client-tools,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .mini-stat,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .xhm-collection-toolbar,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .xhm-installed-theme-card,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .settings-callout{
  background:linear-gradient(145deg,rgba(255,255,255,.61),rgba(245,250,255,.43))!important;
  border:1px solid rgba(255,255,255,.84)!important;
  box-shadow:0 18px 50px rgba(53,83,130,.11),inset 0 1px rgba(255,255,255,.92)!important;
  backdrop-filter:blur(28px) saturate(155%)!important;
  -webkit-backdrop-filter:blur(28px) saturate(155%)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .record-card:hover,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .panel:hover{
  border-color:rgba(255,255,255,.96)!important;
  box-shadow:0 22px 58px rgba(52,82,129,.14),inset 0 1px rgba(255,255,255,.96)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content input,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content select,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content textarea,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .xhm-theme-panel{
  background:rgba(255,255,255,.56)!important;
  border-color:rgba(255,255,255,.86)!important;
  color:#183451!important;
  box-shadow:inset 0 1px rgba(255,255,255,.86),0 8px 24px rgba(51,83,130,.07)!important;
  backdrop-filter:blur(22px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(22px) saturate(145%)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content table{
  background:rgba(255,255,255,.47)!important;
  border:1px solid rgba(255,255,255,.80)!important;
  box-shadow:0 16px 42px rgba(52,83,129,.09)!important;
  backdrop-filter:blur(24px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(24px) saturate(145%)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content th{
  background:rgba(236,246,255,.56)!important;
  color:#5e7390!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content td{
  border-color:rgba(255,255,255,.66)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .btn{
  background:rgba(255,255,255,.55)!important;
  border-color:rgba(255,255,255,.84)!important;
  color:#23415f!important;
  box-shadow:0 7px 18px rgba(52,84,132,.06),inset 0 1px rgba(255,255,255,.84)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .primary,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) button.primary{
  background:linear-gradient(135deg,#147df1 0%,#2d8df5 48%,#6754ed 100%)!important;
  border-color:rgba(255,255,255,.26)!important;
  color:#fff!important;
  box-shadow:0 10px 26px rgba(59,130,246,.24),inset 0 1px rgba(255,255,255,.20)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .badge{
  box-shadow:inset 0 1px rgba(255,255,255,.55)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) footer{
  color:#6d829b!important;
}

@media(max-width:760px){
  html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar{
    background:linear-gradient(180deg,rgba(247,251,255,.94),rgba(229,241,255,.90))!important;
    box-shadow:20px 0 58px rgba(38,68,112,.22)!important;
  }
  html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .drawer-shade{
    background:rgba(45,68,104,.28)!important;
    backdrop-filter:blur(8px)!important;
    -webkit-backdrop-filter:blur(8px)!important;
  }
  html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .main::before{width:95vw;height:54vw;right:-30vw;top:10vh}
  html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .main::after{width:82vw;height:48vw;left:8vw;bottom:10vh}
}


/* XHM 0.29.12 — Premium Glass v3 polish + safe theme-switch interaction. */
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar{
  background:linear-gradient(180deg,rgba(241,249,255,.70),rgba(224,239,255,.60))!important;
  border-right:1px solid rgba(255,255,255,.74)!important;
  box-shadow:18px 0 52px rgba(48,82,132,.12),inset -1px 0 rgba(255,255,255,.45)!important;
  backdrop-filter:blur(34px) saturate(168%)!important;
  -webkit-backdrop-filter:blur(34px) saturate(168%)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar .brand{
  background:linear-gradient(135deg,rgba(255,255,255,.44),rgba(225,241,255,.26))!important;
  border-bottom-color:rgba(255,255,255,.66)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .top{
  background:linear-gradient(100deg,rgba(250,253,255,.66),rgba(224,240,255,.52),rgba(239,233,255,.48))!important;
  border-bottom-color:rgba(255,255,255,.72)!important;
  box-shadow:0 12px 38px rgba(52,85,134,.11),inset 0 1px rgba(255,255,255,.80)!important;
  backdrop-filter:blur(34px) saturate(170%)!important;
  -webkit-backdrop-filter:blur(34px) saturate(170%)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .main{
  background:
    radial-gradient(62% 38% at 10% 8%,rgba(49,174,239,.22),transparent 66%),
    radial-gradient(46% 34% at 91% 13%,rgba(128,105,238,.13),transparent 70%),
    radial-gradient(44% 32% at 72% 68%,rgba(57,211,225,.13),transparent 74%),
    linear-gradient(145deg,#eaf6ff 0%,#eef7ff 42%,#f4f0ff 75%,#eefaff 100%)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .main::before{
  opacity:.46!important;
  background:radial-gradient(ellipse at center,rgba(116,98,238,.16),rgba(64,156,248,.08) 48%,transparent 73%)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .main::after{
  opacity:.76!important;
  left:17vw!important;
  background:radial-gradient(ellipse at center,rgba(44,210,225,.20),rgba(62,169,245,.12) 48%,transparent 74%)!important;
}
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .panel,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .stat,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .record-card,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .client-form,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .client-tools,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .mini-stat,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .xhm-collection-toolbar,
html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content .settings-callout{
  background:linear-gradient(145deg,rgba(255,255,255,.52),rgba(243,250,255,.34))!important;
  border-color:rgba(255,255,255,.70)!important;
  box-shadow:0 16px 42px rgba(55,86,132,.09),inset 0 1px rgba(255,255,255,.82)!important;
  backdrop-filter:blur(31px) saturate(160%)!important;
  -webkit-backdrop-filter:blur(31px) saturate(160%)!important;
}
/* Ensure the chooser remains clickable even while Premium Glass is active. */
body.xhm-theme-open .xhm-theme-panel{z-index:2000!important;pointer-events:auto!important}
body.xhm-theme-open .xhm-theme-panel .xhm-theme-grid,
body.xhm-theme-open .xhm-theme-panel .xhm-theme-choice{position:relative;z-index:2001;pointer-events:auto!important}
html[data-xhm-theme="premium-glass"] .xhm-theme-panel{
  background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(239,247,255,.74))!important;
  border:1px solid rgba(255,255,255,.90)!important;
  box-shadow:0 24px 70px rgba(45,76,122,.20)!important;
}
html[data-xhm-theme="premium-glass"] .xhm-theme-choice{
  background:rgba(255,255,255,.70)!important;
  border-color:rgba(157,184,216,.38)!important;
}
html[data-xhm-theme="premium-glass"] .xhm-theme-choice:hover{background:rgba(255,255,255,.94)!important}
@media(max-width:760px){
  html[data-xhm-theme="premium-glass"] body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .sidebar{
    background:linear-gradient(180deg,rgba(244,250,255,.86),rgba(225,240,255,.80))!important;
    backdrop-filter:blur(38px) saturate(170%)!important;
    -webkit-backdrop-filter:blur(38px) saturate(170%)!important;
  }
}


/* XHM 0.29.13 — Customize Dashboard (independent from Interface Theme) */
.xhm-layout-section{padding:0 14px 10px;position:relative;z-index:5}
.xhm-layout-launcher{width:100%;border:1px solid var(--xhm-border,rgba(255,255,255,.08));background:var(--xhm-active,rgba(255,255,255,.06));color:inherit;border-radius:12px;padding:10px 11px;display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:8px;align-items:center;text-align:left;cursor:pointer}
.xhm-layout-launcher>span:nth-child(2){display:grid;min-width:0}.xhm-layout-launcher small{text-transform:uppercase;letter-spacing:.08em;font-size:8px;opacity:.65}.xhm-layout-launcher b{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.xhm-layout-mini{width:24px;height:24px;border-radius:8px;display:grid;place-items:center;background:linear-gradient(135deg,#1494ff,#6950ee);color:#fff;font-size:13px;box-shadow:0 5px 14px rgba(34,113,229,.22)}
.xhm-layout-backdrop{display:none;position:fixed;inset:0;z-index:2890;background:rgba(11,24,42,.28);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.xhm-layout-panel{display:none;position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(560px,calc(100vw - 40px));max-height:min(78vh,680px);overflow:auto;z-index:2900;background:rgba(255,255,255,.97);color:#152238;border:1px solid rgba(150,169,195,.35);border-radius:18px;box-shadow:0 24px 80px rgba(12,28,52,.30);padding:16px;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
body.xhm-layout-open .xhm-layout-backdrop{display:block}
body.xhm-layout-open .xhm-layout-panel{display:block}.xhm-layout-panel p{margin:3px 0 12px;font-size:11px;color:#718097;line-height:1.4}.xhm-layout-grid{display:grid;gap:8px}.xhm-layout-choice{width:100%;border:1px solid #dbe4ef;background:#f8fafc;border-radius:11px;padding:8px;display:grid;grid-template-columns:76px minmax(0,1fr) 22px;gap:10px;align-items:center;text-align:left;color:#17253a;cursor:pointer}.xhm-layout-choice.selected{border-color:#2992f1;background:#f0f8ff;box-shadow:0 0 0 2px rgba(41,146,241,.08)}.xhm-layout-choice>span:nth-child(2){display:grid}.xhm-layout-choice b{font-size:12px}.xhm-layout-choice small{font-size:9px;color:#7d8b9e;margin-top:2px}.xhm-layout-choice em{font-style:normal;color:#1686e9;font-weight:900;opacity:0}.xhm-layout-choice.selected em{opacity:1}.xhm-layout-preview{height:46px;border-radius:9px;border:1px solid #d6e0ec;background:#eef4fa;display:grid;gap:4px;padding:6px}.xhm-layout-preview i{display:block;border-radius:3px;background:#a9bfd6}.xhm-layout-preview.p1{grid-template-columns:1fr 1fr}.xhm-layout-preview.p1 i{height:14px}.xhm-layout-preview.p1 i:nth-child(3){grid-column:1/-1}.xhm-layout-preview.p2{grid-template-columns:1fr}.xhm-layout-preview.p2 i{height:8px}.xhm-layout-preview.p3{grid-template-columns:repeat(3,1fr);background:linear-gradient(145deg,#e8f6ff,#f0eaff)}.xhm-layout-preview.p3 i{height:30px;background:linear-gradient(180deg,#66b8ff,#8670ef)}

/* Version 1: current cards. Intentionally leaves the approved layout unchanged. */
html[data-xhm-layout="layout-1"] .record-cards{}

/* Version 2: professional compact record workspace. */
@media(min-width:901px){
 html[data-xhm-layout="layout-2"] .content>.record-cards{grid-template-columns:1fr!important;gap:8px!important}
 html[data-xhm-layout="layout-2"] .content>.record-cards>.record-card{min-height:72px!important;padding:11px 13px!important;border-radius:12px!important;display:grid!important;grid-template-columns:minmax(185px,1.6fr) minmax(105px,.65fr) minmax(170px,1fr) minmax(130px,.8fr)!important;column-gap:14px!important;align-items:center!important}
 html[data-xhm-layout="layout-2"] .content>.record-cards>.record-card>div:first-child{min-width:0!important}
 html[data-xhm-layout="layout-2"] .content>.record-cards>.record-card h2{font-size:13px!important;margin:2px 0!important}
 html[data-xhm-layout="layout-2"] .content>.record-cards>.record-card>strong{font-size:15px!important;margin:0!important}
 html[data-xhm-layout="layout-2"] .content>.record-cards>.record-card>p{margin:0!important;font-size:11px!important;color:#74849a!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 html[data-xhm-layout="layout-2"] .content>.record-cards>.record-card>.record-actions{display:flex!important;justify-content:flex-end!important;gap:7px!important}
 html[data-xhm-layout="layout-2"] .content>.record-cards>.record-card>a.btn,
 html[data-xhm-layout="layout-2"] .content>.record-cards>.record-card>a.primary{justify-self:stretch!important;text-align:center!important;min-height:36px!important;display:grid!important;place-items:center!important}
 html[data-xhm-layout="layout-2"] .ticket-admin-table{font-size:11px!important}
 html[data-xhm-layout="layout-2"] .ticket-admin-table th,html[data-xhm-layout="layout-2"] .ticket-admin-table td{padding:9px 8px!important}
 html[data-xhm-layout="layout-2"] .ticket-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
 html[data-xhm-layout="layout-2"] .ticket-kpis>a{min-height:68px!important;padding:10px!important}
}

/* Version 3: executive analytics workspace. */
.xhm-custom-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 12px}
.xhm-custom-kpis>div{min-width:0;border:1px solid rgba(148,166,193,.26);background:rgba(255,255,255,.86);border-radius:14px;padding:12px 14px;box-shadow:0 8px 24px rgba(32,70,110,.07)}
.xhm-custom-kpis small{display:block;color:#75869e;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.xhm-custom-kpis strong{display:block;font-size:18px;color:#10233e;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.xhm-custom-kpis span{display:block;font-size:9px;color:#8090a6;margin-top:3px}
html[data-xhm-layout="layout-3"] .content>.record-cards{gap:10px!important}
@media(min-width:1180px){html[data-xhm-layout="layout-3"] .content>.record-cards{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
html[data-xhm-layout="layout-3"] .content>.record-cards>.record-card{border-radius:15px!important;box-shadow:0 10px 28px rgba(26,72,122,.08)!important;border:1px solid rgba(151,174,201,.24)!important;position:relative;overflow:hidden}
html[data-xhm-layout="layout-3"] .content>.record-cards>.record-card:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(180deg,#1598ff,#6752ec);opacity:.78}
html[data-xhm-layout="layout-3"] .content>.record-cards>.record-card>a.primary,html[data-xhm-layout="layout-3"] .content>.record-cards>.record-card>.record-actions .primary{background:linear-gradient(90deg,#1598ff,#6652ee)!important;border-color:transparent!important}
html[data-xhm-layout="layout-3"] .ticket-kpis.xhm-executive-existing-kpis{gap:10px!important}
html[data-xhm-layout="layout-3"] .ticket-kpis.xhm-executive-existing-kpis>a{border-radius:14px!important;box-shadow:0 8px 24px rgba(26,72,122,.07)!important;border:1px solid rgba(151,174,201,.24)!important}
html[data-xhm-layout="layout-3"] .ticket-filters,html[data-xhm-layout="layout-3"] .list-toolbar{box-shadow:0 8px 24px rgba(26,72,122,.06)!important}

@media(max-width:900px){
 .xhm-layout-panel{left:14px;right:14px;top:auto;bottom:16px;transform:none;width:auto;max-height:72svh;overflow:auto;border-radius:20px}
 .xhm-custom-kpis{grid-template-columns:1fr 1fr;gap:8px}
 .xhm-custom-kpis>div{padding:10px}.xhm-custom-kpis strong{font-size:15px}
 /* Keep all record layouts card-safe on phones. */
 html[data-xhm-layout="layout-2"] .content>.record-cards,html[data-xhm-layout="layout-3"] .content>.record-cards{grid-template-columns:1fr 1fr!important}
}
@media(max-width:560px){
 .xhm-layout-choice{grid-template-columns:62px minmax(0,1fr) 18px}.xhm-layout-preview{height:42px}
 .xhm-custom-kpis{grid-template-columns:1fr 1fr}
 html[data-xhm-layout="layout-2"] .content>.record-cards,html[data-xhm-layout="layout-3"] .content>.record-cards{grid-template-columns:1fr!important}
}

/* XHM 0.29.14 — Customize Dashboard panel visibility and portability fix. */
html[data-xhm-theme="premium-glass"] .xhm-layout-panel{background:linear-gradient(145deg,rgba(255,255,255,.86),rgba(239,247,255,.78))!important;border-color:rgba(255,255,255,.94)!important;box-shadow:0 28px 90px rgba(42,72,118,.25)!important}
html[data-xhm-theme="premium-glass"] .xhm-layout-choice{background:rgba(255,255,255,.74)!important;border-color:rgba(157,184,216,.42)!important}
html[data-xhm-theme="premium-glass"] .xhm-layout-choice.selected{background:linear-gradient(145deg,rgba(237,249,255,.94),rgba(244,239,255,.92))!important;border-color:#3494f3!important}
@media(max-width:760px){body.xhm-layout-open{overflow:hidden}.xhm-layout-panel{padding:14px}.xhm-layout-grid{gap:9px}}

/* XHM 0.29.16 — laptop/desktop client workspace width correction.
   Some Windows laptops report a CSS viewport below the previous 1181px
   desktop breakpoint because of display scaling. Treat fine-pointer screens
   from 900px upward as desktop workspaces while leaving touch/tablet/mobile
   behavior unchanged. */
@media (min-width:900px) and (hover:hover) and (pointer:fine){
  body.portal-v2{
    --xhm-client-side:228px!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    overflow-x:hidden!important;
  }
  body.portal-v2 .xhm-client-top{
    position:fixed!important;
    top:0!important;
    left:var(--xhm-client-side)!important;
    right:0!important;
    width:auto!important;
    max-width:none!important;
    height:70px!important;
    z-index:40!important;
  }
  body.portal-v2 .xhm-client-shell.xhm-client-top-inner{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0 26px!important;
    height:70px!important;
    display:flex!important;
    grid-template-columns:none!important;
    align-items:center!important;
    gap:18px!important;
  }
  body.portal-v2 .xhm-client-menu-btn,
  body.portal-v2 .xhm-client-brand,
  body.portal-v2 .xhm-client-drawer-head,
  body.portal-v2 .xhm-mobile-nav-only,
  body.portal-v2 .xhm-mobile-nav-section,
  body.portal-v2 .xhm-mobile-nav-credit,
  body.portal-v2 .xhm-mobile-tabs,
  body.portal-v2 .xhm-client-nav-shade{
    display:none!important;
  }
  body.portal-v2 .xhm-client-global-search{
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
    width:min(520px,48vw)!important;
    height:40px!important;
  }
  body.portal-v2 .xhm-client-actions{margin-left:auto!important}
  body.portal-v2 .xhm-client-nav{
    display:flex!important;
    visibility:visible!important;
    pointer-events:auto!important;
    position:fixed!important;
    z-index:45!important;
    top:0!important;
    left:0!important;
    right:auto!important;
    bottom:0!important;
    width:var(--xhm-client-side)!important;
    max-width:var(--xhm-client-side)!important;
    height:100vh!important;
    margin:0!important;
    padding:16px 12px 22px!important;
    overflow-y:auto!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:3px!important;
    transform:none!important;
  }
  body.portal-v2 .xhm-client-nav .xhm-desktop-side-only{display:flex!important}
  body.portal-v2 .xhm-client-main.portal-main{
    box-sizing:border-box!important;
    width:calc(100vw - var(--xhm-client-side))!important;
    max-width:none!important;
    margin:0 0 0 var(--xhm-client-side)!important;
    padding:70px 26px 0!important;
    min-height:100vh!important;
  }
  body.portal-v2 .xhm-client-welcome{padding-top:26px!important}
  body.portal-v2 .xhm-desktop-footer{margin-bottom:22px!important}
}

/* XHM 0.29.17 — definitive laptop client full-width correction.
   The previous rule depended on hover/pointer media features. Some Windows
   laptops (especially touch-capable models) report a coarse/none primary
   pointer even while being used as a desktop, so that rule never activated.
   Use viewport width only for the desktop workspace and explicitly remove
   every inherited 1180px client-shell constraint. */
@media (min-width:900px){
  body.portal-v2{
    --xhm-client-side:228px!important;
    width:100vw!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    overflow-x:hidden!important;
  }
  body.portal-v2 .xhm-client-top{
    position:fixed!important;
    top:0!important;
    left:var(--xhm-client-side)!important;
    right:0!important;
    width:calc(100vw - var(--xhm-client-side))!important;
    max-width:none!important;
    margin:0!important;
    height:70px!important;
    z-index:40!important;
  }
  body.portal-v2 .xhm-client-shell,
  body.portal-v2 .xhm-client-shell.xhm-client-top-inner{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
  }
  body.portal-v2 .xhm-client-shell.xhm-client-top-inner{
    display:flex!important;
    grid-template-columns:none!important;
    align-items:center!important;
    gap:18px!important;
    height:70px!important;
    padding:0 26px!important;
  }
  body.portal-v2 .xhm-client-menu-btn,
  body.portal-v2 .xhm-client-brand,
  body.portal-v2 .xhm-client-drawer-head,
  body.portal-v2 .xhm-mobile-nav-only,
  body.portal-v2 .xhm-mobile-nav-section,
  body.portal-v2 .xhm-mobile-nav-credit,
  body.portal-v2 .xhm-mobile-tabs,
  body.portal-v2 .xhm-client-nav-shade{
    display:none!important;
  }
  body.portal-v2 .xhm-client-global-search{
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
    width:min(520px,48vw)!important;
    height:40px!important;
  }
  body.portal-v2 .xhm-client-actions{margin-left:auto!important}
  body.portal-v2 .xhm-client-nav{
    display:flex!important;
    visibility:visible!important;
    pointer-events:auto!important;
    position:fixed!important;
    z-index:45!important;
    inset:0 auto 0 0!important;
    width:var(--xhm-client-side)!important;
    min-width:var(--xhm-client-side)!important;
    max-width:var(--xhm-client-side)!important;
    height:100vh!important;
    margin:0!important;
    padding:16px 12px 22px!important;
    overflow-y:auto!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:3px!important;
    transform:none!important;
  }
  body.portal-v2 .xhm-client-nav .xhm-desktop-side-only{display:flex!important}
  body.portal-v2 main.portal-main.xhm-client-main,
  body.portal-v2 .xhm-client-main{
    box-sizing:border-box!important;
    position:relative!important;
    left:auto!important;
    right:auto!important;
    width:calc(100vw - var(--xhm-client-side))!important;
    min-width:0!important;
    max-width:none!important;
    margin:0 0 0 var(--xhm-client-side)!important;
    padding:70px 26px 0!important;
    min-height:100vh!important;
  }
  body.portal-v2 .xhm-client-welcome{padding-top:26px!important}
  body.portal-v2 .xhm-desktop-footer{margin-bottom:22px!important}
}

/* ================================================================
   XHM 0.29.24 — Restored Professional Black client design (forced deploy)
   Ported from the approved Xaro Host client UI previews while keeping
   the v0.29.20 full-width / no-phantom-gutter structure.
   ================================================================ */
body.portal-v2{
  --xhm-modern-rail:58px;
  --xhm-modern-top:64px;
  --xhm-modern-bg:#edf4fb;
  --xhm-modern-ink:#10203d;
  --xhm-modern-muted:#74819a;
  --xhm-modern-line:#dbe5f0;
  --xhm-modern-dark:#111316;
  --xhm-modern-dark2:#1a1d21;
  --xhm-modern-blue:#244f7a;
  --xhm-modern-blue2:#18385f;
  --xhm-modern-green:#13a86b;
  background:var(--xhm-modern-bg)!important;
  color:var(--xhm-modern-ink)!important;
}
body.portal-v2 .xhm-icon{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.portal-v2 .xhm-client-top{background:linear-gradient(180deg,#111316,#17191d)!important;border:0!important;box-shadow:none!important;color:#fff!important}
body.portal-v2 .xhm-client-top-inner{background:transparent!important}
body.portal-v2 .xhm-client-global-search{max-width:420px!important;flex:0 1 420px!important;background:#202329!important;border:1px solid #30343a!important;border-radius:10px!important;height:36px!important;box-shadow:none!important}
body.portal-v2 .xhm-client-global-search input{background:transparent!important;color:#eef2f7!important;font-size:13px!important}
body.portal-v2 .xhm-client-global-search input::placeholder{color:#b0b7c3!important}
body.portal-v2 .xhm-client-global-search>span{color:#aeb8c5!important}
body.portal-v2 .xhm-client-actions{display:flex!important;align-items:center!important;gap:9px!important}
body.portal-v2 .xhm-client-order{display:none!important}
body.portal-v2 .xhm-modern-top-link,
body.portal-v2 .xhm-client-account-btn{width:40px!important;height:40px!important;min-width:40px!important;border-radius:12px!important;border:1px solid #34383f!important;background:#202329!important;color:#fff!important;display:grid!important;place-items:center!important;padding:0!important;box-shadow:none!important;text-decoration:none!important}
body.portal-v2 .xhm-modern-top-link:hover,
body.portal-v2 .xhm-client-account-btn:hover{background:#282c32!important}
body.portal-v2 .xhm-client-account-btn .xhm-account-name{display:none!important}
body.portal-v2 .xhm-client-avatar{width:34px!important;height:34px!important;border-radius:50%!important;background:#1f73f2!important;color:#fff!important;display:grid!important;place-items:center!important;font-weight:900!important;font-size:13px!important}
body.portal-v2 .xhm-modern-mobile-brand{display:none}
body.portal-v2 .xhm-modern-mobile-brand .xhm-client-custom-logo{display:block!important;width:auto!important;height:auto!important;max-width:230px!important;max-height:56px!important;object-fit:contain!important;object-position:left center!important}
body.portal-v2 .xhm-modern-mark{width:34px;height:34px;border:2px solid currentColor;border-radius:10px;display:grid;place-items:center;font-weight:900;font-size:11px;letter-spacing:.03em;flex:0 0 auto}

/* Desktop icon rail — true viewport-left, no empty gutter. */
@media (min-width:761px){
  body.portal-v2{--xhm-client-side:var(--xhm-modern-rail)!important}
  body.portal-v2 .xhm-client-nav{
    width:var(--xhm-modern-rail)!important;min-width:var(--xhm-modern-rail)!important;max-width:var(--xhm-modern-rail)!important;
    padding:12px 7px 14px!important;background:linear-gradient(180deg,#111316,#1a1d21)!important;
    border:0!important;box-shadow:none!important;gap:4px!important;align-items:stretch!important;
  }
  body.portal-v2 .xhm-desktop-side-brand{height:48px!important;margin:0 0 6px!important;padding:0!important;display:grid!important;place-items:center!important}
  body.portal-v2 .xhm-desktop-side-brand>a{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;color:#fff!important;text-decoration:none!important}
  body.portal-v2 .xhm-desktop-side-brand .xhm-client-custom-logo,
  body.portal-v2 .xhm-desktop-side-brand .xhm-client-word-brand{display:none!important}
  body.portal-v2 .xhm-desktop-side-brand>a::after{content:"XH";width:30px;height:30px;border:1.8px solid #fff;border-radius:9px;display:grid;place-items:center;color:#fff;font-weight:900;font-size:10px;letter-spacing:.02em}
  body.portal-v2 .xhm-client-nav>a{
    width:44px!important;height:42px!important;min-height:42px!important;margin:0 auto!important;padding:0!important;border-radius:10px!important;
    display:grid!important;place-items:center!important;color:#c7d0de!important;background:transparent!important;border:0!important;text-decoration:none!important;position:relative!important;
  }
  body.portal-v2 .xhm-client-nav>a:hover{background:rgba(255,255,255,.07)!important;color:#fff!important}
  body.portal-v2 .xhm-client-nav>a.active{background:rgba(255,255,255,.11)!important;color:#fff!important}
  body.portal-v2 .xhm-client-nav>a.active::before{content:"";position:absolute;left:-7px;top:9px;bottom:9px;width:3px;background:#2d79d7;border-radius:0 3px 3px 0}
  body.portal-v2 .xhm-client-nav>a>span:not(.xhm-icon){display:none!important}
  body.portal-v2 .xhm-client-nav>a .xhm-icon{width:18px!important;height:18px!important}
  body.portal-v2 .xhm-desktop-side-section{display:none!important}
  body.portal-v2 .xhm-client-nav .xhm-mobile-nav-credit{display:none!important}
  body.portal-v2 .xhm-client-top{left:var(--xhm-modern-rail)!important;height:var(--xhm-modern-top)!important}
  body.portal-v2 .xhm-client-shell.xhm-client-top-inner{height:var(--xhm-modern-top)!important;padding:0 16px!important;gap:12px!important}
  body.portal-v2 main.portal-main.xhm-client-main{margin-left:var(--xhm-modern-rail)!important;padding:calc(var(--xhm-modern-top) + 18px) 18px 40px!important;min-height:100vh!important;background:var(--xhm-modern-bg)!important}
  body.portal-v2 .xhm-desktop-footer{margin-top:30px!important}
}

/* Mobile shell from the approved black Xaro Host preview. */
@media (max-width:760px){
  body.portal-v2{padding-bottom:86px!important;background:var(--xhm-modern-bg)!important}
  body.portal-v2 .xhm-client-top{position:sticky!important;top:0!important;left:0!important;right:0!important;height:84px!important;z-index:48!important;background:#111316!important}
  body.portal-v2 .xhm-client-shell.xhm-client-top-inner{height:84px!important;padding:0 16px!important;display:flex!important;align-items:center!important;gap:10px!important}
  body.portal-v2 .xhm-client-menu-btn{display:none!important}
  body.portal-v2 .xhm-client-brand{display:none!important}
  body.portal-v2 .xhm-client-global-search{display:none!important}
  body.portal-v2 .xhm-modern-mobile-brand{display:flex!important;align-items:center!important;gap:10px!important;color:#fff!important;text-decoration:none!important;min-width:0!important;margin-right:auto!important}
  body.portal-v2 .xhm-modern-mobile-brand .xhm-client-custom-logo{max-width:min(230px,42vw)!important;max-height:58px!important;object-position:left center!important}
  body.portal-v2 .xhm-modern-mobile-brand strong{font-size:20px!important;letter-spacing:.055em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:210px!important}
  body.portal-v2 .xhm-modern-mobile-brand .xhm-modern-mark{width:48px;height:48px;border-radius:14px;font-size:15px}
  body.portal-v2 .xhm-modern-top-link,
  body.portal-v2 .xhm-client-account-btn{width:48px!important;height:48px!important;min-width:48px!important;border-radius:14px!important;background:#1f2227!important;border:1px solid #3a3d43!important}
  body.portal-v2 .xhm-client-avatar{width:44px!important;height:44px!important;font-size:16px!important}
  body.portal-v2 main.portal-main.xhm-client-main{margin:0!important;padding:0 0 20px!important;min-height:calc(100vh - 84px)!important;background:var(--xhm-modern-bg)!important;overflow:visible!important}
  body.portal-v2 .xhm-client-nav{display:none!important}
  body.portal-v2 .xhm-client-nav-shade{display:none!important}
  body.portal-v2 .xhm-desktop-footer{display:none!important}
  body.portal-v2 .xhm-mobile-tabs{
    height:78px!important;left:0!important;right:0!important;bottom:0!important;border:0!important;border-radius:24px 24px 0 0!important;
    background:linear-gradient(180deg,#111316,#17191d)!important;box-shadow:0 -8px 25px rgba(9,31,71,.20)!important;padding:0 6px max(0px,env(safe-area-inset-bottom))!important;z-index:60!important;
  }
  body.portal-v2 .xhm-mobile-tabs>a,body.portal-v2 .xhm-mobile-tabs>button{color:#c7d0df!important;background:transparent!important;font-size:11px!important;gap:4px!important;padding-top:8px!important}
  body.portal-v2 .xhm-mobile-tabs>a.active{color:#6fa0d2!important}
  body.portal-v2 .xhm-mobile-tabs>a.active::after{content:"";width:24px;height:3px;background:#6fa0d2;border-radius:999px;margin-top:1px}
  body.portal-v2 .xhm-mobile-tabs .xhm-mobile-order{transform:translateY(-16px)!important}
  body.portal-v2 .xhm-mobile-tabs .xhm-mobile-order>b{width:58px!important;height:58px!important;border-radius:50%!important;background:linear-gradient(145deg,#244f7a,#4b5f8f)!important;color:#fff!important;display:grid!important;place-items:center!important;box-shadow:0 8px 20px rgba(76,62,255,.32)!important}
  body.portal-v2 .xhm-mobile-tabs .xhm-mobile-order>b .xhm-icon{width:30px!important;height:30px!important}
  body.portal-v2 .xhm-mobile-tabs .xhm-mobile-order>span{margin-top:0!important}
}

/* Shared modern page components. */
.xhm-modern-page{width:100%;max-width:1450px;margin:0 auto}
.xhm-modern-pagehead{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin:0 0 16px}
.xhm-modern-pagehead h1{margin:0;font-size:28px;line-height:1.05;color:var(--xhm-modern-ink)}
.xhm-modern-pagehead p{margin:5px 0 0;color:var(--xhm-modern-muted);font-size:14px}
.xhm-modern-primary-btn,.xhm-modern-soft-btn,.xhm-modern-danger-btn{border:0;border-radius:12px;padding:11px 15px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;white-space:nowrap}
.xhm-modern-primary-btn{background:linear-gradient(135deg,#18385f,#285d8e);color:#fff;box-shadow:0 8px 18px rgba(17,36,61,.15)}
.xhm-modern-soft-btn{background:#f2f5f8;color:#1b314f;border:1px solid #dfe6ee}
.xhm-modern-danger-btn{background:#fff6f6;color:#9f2f2f;border:1px solid #eccaca}
.xhm-modern-card{background:#fff;border:1px solid var(--xhm-modern-line);border-radius:20px;box-shadow:0 10px 28px rgba(18,54,102,.06)}
.xhm-modern-status{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:#e8f7ef;color:#147b50;font-size:11px;font-weight:900;text-transform:uppercase}
.xhm-modern-status.warn{background:#fff3dd;color:#a2670c}.xhm-modern-status.bad{background:#fff0f0;color:#b83535}.xhm-modern-status.info{background:#edf4ff;color:#2762a8}

/* Dashboard */
.xhm-modern-home-hero{background:radial-gradient(circle at 82% 20%,rgba(76,105,139,.20),transparent 30%),linear-gradient(135deg,#20252b,#2b3540 68%,#1d2228);color:#fff;border-radius:24px;padding:26px;box-shadow:0 12px 30px rgba(18,54,102,.08)}
.xhm-modern-home-row{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.xhm-modern-home-hero .xhm-modern-account-pill{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border-radius:999px;background:#16a867;color:#fff;font-size:11px;font-weight:900;text-transform:uppercase}
.xhm-modern-home-hero h1{font-size:32px;line-height:1.08;margin:12px 0 6px;color:#fff}
.xhm-modern-home-hero p{margin:0;color:#dbe7fb;font-size:15px}
.xhm-modern-home-actions{display:flex;gap:10px;align-items:center}
.xhm-modern-home-actions .xhm-modern-primary-btn{background:#f4f6f8;color:#18385f;border:1px solid #e3e8ee;box-shadow:none}
.xhm-modern-home-actions .xhm-modern-quick{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.14)}
.xhm-modern-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}
.xhm-modern-stat{background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.12);border-radius:15px;padding:14px;color:#fff;text-decoration:none;min-width:0}
.xhm-modern-stat span{display:block;color:#cddcf3;font-size:13px}.xhm-modern-stat strong{display:block;font-size:25px;margin-top:5px;line-height:1}
.xhm-modern-home-grid{display:grid;grid-template-columns:1.4fr .9fr;gap:18px;margin-top:18px}
.xhm-modern-section-card{padding:19px}
.xhm-modern-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.xhm-modern-card-head h2{margin:0;font-size:19px}.xhm-modern-card-head a{color:#285f91;font-weight:800;font-size:13px;text-decoration:none}
.xhm-modern-service-row{border:1px solid var(--xhm-modern-line);border-radius:16px;padding:15px;display:grid;grid-template-columns:1fr auto;gap:12px;margin-top:11px;background:linear-gradient(#fff,#fbfdff);text-decoration:none;color:inherit}
.xhm-modern-service-title{display:flex;gap:11px;align-items:center}.xhm-modern-service-icon{width:48px;height:48px;border-radius:14px;background:linear-gradient(145deg,#0d4eaa,#102c63);color:#fff;display:grid;place-items:center;flex:0 0 auto}.xhm-modern-service-icon .xhm-icon{width:23px;height:23px}
.xhm-modern-service-title b{display:block;font-size:16px}.xhm-modern-service-title small{display:block;color:var(--xhm-modern-muted);margin-top:3px;font-size:13px}
.xhm-modern-service-progress{height:8px;background:#e8edf5;border-radius:999px;overflow:hidden;margin-top:10px;max-width:440px}.xhm-modern-service-progress i{display:block;height:100%;background:linear-gradient(90deg,#2c6fb0,#4b6f9f);border-radius:999px}
.xhm-modern-service-side{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between}.xhm-modern-manage{color:#285f91;font-weight:800;font-size:13px}
.xhm-modern-mini-list>a{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid #edf1f6;text-decoration:none;color:inherit}.xhm-modern-mini-list>a:first-child{border-top:0}.xhm-modern-mini-list b{display:block}.xhm-modern-mini-list small{color:var(--xhm-modern-muted)}

/* Hosting overview */
.xhm-modern-hosting-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 14px}
.xhm-modern-hosting-stat{padding:16px;background:#fff;border:1px solid var(--xhm-modern-line);border-radius:18px;box-shadow:0 8px 22px rgba(18,54,102,.05)}
.xhm-modern-hosting-stat span{display:block;color:var(--xhm-modern-muted);font-size:13px}.xhm-modern-hosting-stat strong{display:block;font-size:24px;line-height:1.05;margin:7px 0 4px}.xhm-modern-hosting-stat small{font-size:11px;color:#41668b;font-weight:800}
.xhm-modern-host-card{padding:16px;margin-top:13px}
.xhm-modern-host-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.xhm-modern-host-card-head h2{margin:0;font-size:19px}.xhm-modern-host-domain{color:var(--xhm-modern-muted);font-size:13px;margin-top:2px}
.xhm-modern-tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.xhm-modern-tool{border:1px solid var(--xhm-modern-line);border-radius:14px;padding:13px;background:#fbfdff;text-decoration:none;color:inherit;display:flex;gap:10px;align-items:flex-start;min-width:0}
.xhm-modern-tool-icon{width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:#edf5fb;color:#31658e;display:grid;place-items:center}.xhm-modern-tool-icon .xhm-icon{width:19px;height:19px}
.xhm-modern-tool b{display:block;font-size:14px}.xhm-modern-tool small{display:block;color:var(--xhm-modern-muted);font-size:12px;margin-top:2px;line-height:1.25}
.xhm-modern-host-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:12px}
.xhm-modern-host-secondary{margin-top:16px;padding:16px}.xhm-modern-host-secondary h3{margin:0 0 10px;font-size:17px}
.xhm-modern-host-list>a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #edf1f6;text-decoration:none;color:inherit}.xhm-modern-host-list>a:first-child{border-top:0}

/* Service dashboard */
.xhm-modern-service-hero{background:linear-gradient(145deg,#202830,#26323c);color:#fff;border-radius:24px;padding:24px;box-shadow:0 12px 28px rgba(20,41,67,.13);margin-bottom:16px}
.xhm-modern-service-hero-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.xhm-modern-service-hero h2{margin:0;font-size:25px;color:#fff}.xhm-modern-service-hero p{color:#d5dfeb;margin:6px 0 0}
.xhm-modern-meta{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.xhm-modern-meta span{border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);border-radius:999px;padding:9px 12px;color:#e5ebf3;font-size:13px}.xhm-modern-meta strong{color:#fff;margin-left:5px}
.xhm-modern-service-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.xhm-modern-service-kpi{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.10);border-radius:16px;padding:17px}.xhm-modern-service-kpi span{display:block;color:#c6d0dc;font-size:13px}.xhm-modern-service-kpi strong{display:block;font-size:24px;color:#fff;margin:7px 0 3px}.xhm-modern-service-kpi small{color:#9da9b8}
.xhm-modern-overview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 0 16px}.xhm-modern-overview-item{padding:18px;background:#fff;border:1px solid var(--xhm-modern-line);border-radius:18px}.xhm-modern-overview-item span{display:block;color:var(--xhm-modern-muted);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.xhm-modern-overview-item strong{display:block;font-size:19px;margin:10px 0 5px}.xhm-modern-overview-item small{color:var(--xhm-modern-muted);line-height:1.35}
.xhm-modern-service-panels{display:grid;grid-template-columns:1.45fr .8fr;gap:16px}.xhm-modern-service-tools-card{padding:18px}.xhm-modern-service-sidecard{padding:18px}.xhm-modern-service-sidecard h3{margin:0 0 10px}.xhm-modern-service-sidecard .xhm-modern-primary-btn{width:100%;margin-top:8px}
.xhm-modern-detail-accordions{margin-top:16px;padding:18px}.xhm-modern-detail-accordions details{border:1px solid var(--xhm-modern-line);border-radius:14px;margin-top:10px;background:#fbfdff}.xhm-modern-detail-accordions summary{padding:14px 15px;font-weight:800;cursor:pointer;list-style:none}.xhm-modern-detail-accordions summary::-webkit-details-marker{display:none}.xhm-modern-detail-accordions .xhm-action-body{padding:0 15px 15px}

@media(max-width:900px) and (min-width:761px){
  .xhm-modern-home-grid,.xhm-modern-service-panels{grid-template-columns:1fr}
  .xhm-modern-tool-grid{grid-template-columns:repeat(2,1fr)}
  .xhm-modern-overview-grid{grid-template-columns:repeat(2,1fr)}
}

@media(max-width:760px){
  .xhm-modern-page{max-width:none;margin:0}
  .xhm-modern-pagehead{padding:18px 24px 0;margin-bottom:16px;align-items:flex-start}.xhm-modern-pagehead h1{font-size:28px}.xhm-modern-pagehead p{font-size:15px;line-height:1.45;max-width:310px}.xhm-modern-pagehead .xhm-modern-primary-btn{min-width:152px;min-height:86px;border-radius:20px;font-size:16px;white-space:normal;text-align:center;padding:14px 18px}
  .xhm-modern-home-hero{border-radius:0 0 28px 28px;padding:40px 24px 32px;box-shadow:none}.xhm-modern-home-row{display:block}.xhm-modern-home-hero h1{font-size:34px;margin-top:14px}.xhm-modern-home-hero p{font-size:17px;line-height:1.4}.xhm-modern-home-actions{margin-top:24px}.xhm-modern-home-actions>a,.xhm-modern-home-actions>button{flex:1;min-height:58px;border-radius:18px;font-size:16px}.xhm-modern-stats{grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}.xhm-modern-stat{background:#fff;border:0;color:var(--xhm-modern-ink);padding:18px;border-radius:18px;min-height:145px}.xhm-modern-stat span{color:var(--xhm-modern-muted);font-size:15px}.xhm-modern-stat strong{color:var(--xhm-modern-ink);font-size:31px;margin-top:12px}
  .xhm-modern-home-grid{display:block;margin:20px 24px 0}.xhm-modern-home-grid>.xhm-modern-card{margin-top:16px}.xhm-modern-section-card{padding:18px}.xhm-modern-card-head h2{font-size:21px}.xhm-modern-service-row{padding:16px;border-radius:18px}.xhm-modern-service-icon{width:58px;height:58px;border-radius:16px}.xhm-modern-service-side{min-width:82px}.xhm-modern-service-title b{font-size:17px}.xhm-modern-service-title small{font-size:13px}.xhm-modern-service-progress{max-width:100%}
  .xhm-modern-hosting-stats{grid-template-columns:1fr;margin:0 24px 14px;gap:14px}.xhm-modern-hosting-stat{padding:24px;border-radius:26px;min-height:166px}.xhm-modern-hosting-stat span{font-size:17px}.xhm-modern-hosting-stat strong{font-size:34px;margin-top:14px}.xhm-modern-host-card{margin:20px 24px 0;padding:26px;border-radius:28px}.xhm-modern-host-card-head h2{font-size:25px}.xhm-modern-tool-grid{grid-template-columns:1fr 1fr;gap:12px}.xhm-modern-tool{min-height:155px;border-radius:20px;padding:18px;display:block}.xhm-modern-tool-icon{width:48px;height:48px;margin-bottom:12px;border-radius:14px}.xhm-modern-tool b{font-size:17px;line-height:1.15}.xhm-modern-tool small{font-size:14px;line-height:1.35;margin-top:5px}.xhm-modern-host-actions{display:grid;grid-template-columns:1fr;margin-top:18px}.xhm-modern-host-actions a{min-height:58px;border-radius:18px;font-size:16px}.xhm-modern-host-secondary{margin:18px 24px 0;border-radius:24px}
  .xhm-modern-service-hero{margin:20px 24px 16px;padding:26px;border-radius:28px}.xhm-modern-service-hero-top{display:block}.xhm-modern-service-hero-top>.xhm-modern-status{margin-top:12px}.xhm-modern-service-hero h2{font-size:31px}.xhm-modern-service-hero p{font-size:16px}.xhm-modern-meta{display:grid;grid-template-columns:1fr;margin-top:18px}.xhm-modern-meta span{font-size:15px;padding:12px 14px}.xhm-modern-service-kpis{grid-template-columns:1fr;margin-top:18px}.xhm-modern-service-kpi{padding:20px;border-radius:18px}.xhm-modern-service-kpi strong{font-size:28px}.xhm-modern-overview-grid{grid-template-columns:1fr 1fr;margin:0 24px 16px}.xhm-modern-overview-item{padding:18px;border-radius:20px;min-height:150px}.xhm-modern-overview-item strong{font-size:20px}.xhm-modern-service-panels{display:block;margin:0 24px}.xhm-modern-service-tools-card,.xhm-modern-service-sidecard,.xhm-modern-detail-accordions{margin-top:16px;border-radius:24px;padding:20px}.xhm-modern-service-tools-card .xhm-modern-tool-grid{grid-template-columns:1fr 1fr}.xhm-modern-service-sidecard .xhm-modern-host-actions{display:grid}.xhm-modern-detail-accordions{margin:16px 24px 0}
}

@media(max-width:430px){
  body.portal-v2 .xhm-modern-mobile-brand strong{font-size:18px!important;max-width:170px!important}
  body.portal-v2 .xhm-modern-mobile-brand .xhm-client-custom-logo{max-width:min(185px,39vw)!important;max-height:52px!important}
  body.portal-v2 .xhm-modern-top-link,body.portal-v2 .xhm-client-account-btn{width:44px!important;height:44px!important;min-width:44px!important}
  .xhm-modern-pagehead{padding-left:18px;padding-right:18px}.xhm-modern-hosting-stats,.xhm-modern-home-grid,.xhm-modern-service-hero,.xhm-modern-overview-grid,.xhm-modern-service-panels,.xhm-modern-detail-accordions,.xhm-modern-host-card,.xhm-modern-host-secondary{margin-left:18px;margin-right:18px}
  .xhm-modern-home-hero{padding-left:18px;padding-right:18px}.xhm-modern-home-hero h1{font-size:31px}.xhm-modern-home-actions{gap:8px}.xhm-modern-home-actions>a,.xhm-modern-home-actions>button{font-size:14px;padding:12px 10px}.xhm-modern-stat{min-height:130px;padding:16px}.xhm-modern-stat strong{font-size:28px}.xhm-modern-tool{padding:15px;min-height:142px}.xhm-modern-tool b{font-size:15px}.xhm-modern-tool small{font-size:13px}
}
@media(min-width:761px){
  body.portal-v2 .xhm-client-nav>a.xhm-modern-rail-avatar{margin-top:auto!important;background:rgba(255,255,255,.07)!important;height:46px!important}
  body.portal-v2 .xhm-client-nav>a.xhm-modern-rail-avatar::before{display:none!important}
  body.portal-v2 .xhm-client-nav>a.xhm-modern-rail-avatar .xhm-client-avatar{width:32px!important;height:32px!important;font-size:11px!important}
}
@media(max-width:760px){
  body.portal-v2 .xhm-modern-mobile-brand .xhm-modern-mark{margin-right:8px;position:relative}
  body.portal-v2 .xhm-modern-mobile-brand .xhm-modern-mark::after{content:"";position:absolute;right:-10px;top:7px;bottom:7px;width:1px;background:rgba(255,255,255,.35)}
}


/* ================================================================
   XHM 0.29.25 — Desktop width balance + full client sidebar restore
   Keeps the approved v0.29.20 no-gutter structure and v0.29.24 black
   client design, but restores the complete labelled sidebar and normal
   content width constraints. Mobile remains unchanged.
   ================================================================ */
@media (min-width:800px){
  body.portal-v2{
    --xhm-client-side:228px!important;
    --xhm-modern-rail:228px!important;
  }
  body.portal-v2 .xhm-client-nav{
    width:228px!important;min-width:228px!important;max-width:228px!important;
    padding:16px 12px 22px!important;
    background:linear-gradient(180deg,#111316,#1a1d21)!important;
    border-right:1px solid #2a2e34!important;
    box-shadow:4px 0 24px rgba(0,0,0,.12)!important;
    gap:3px!important;align-items:stretch!important;
  }
  body.portal-v2 .xhm-desktop-side-brand{
    display:flex!important;min-height:72px!important;height:auto!important;
    align-items:center!important;padding:2px 8px 14px!important;margin:0 0 5px!important;
    border-bottom:1px solid rgba(255,255,255,.10)!important;
  }
  body.portal-v2 .xhm-desktop-side-brand>a{
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    width:100%!important;height:auto!important;color:#fff!important;
  }
  body.portal-v2 .xhm-desktop-side-brand>a::after{display:none!important;content:none!important}
  body.portal-v2 .xhm-desktop-side-brand .xhm-client-custom-logo{
    display:block!important;width:auto!important;height:auto!important;
    max-width:176px!important;max-height:56px!important;object-fit:contain!important;object-position:left center!important;
  }
  body.portal-v2 .xhm-desktop-side-brand .xhm-client-word-brand{display:flex!important;color:#fff!important}
  body.portal-v2 .xhm-desktop-side-brand .xhm-client-word-brand b{font-size:20px!important;color:#fff!important}
  body.portal-v2 .xhm-desktop-side-brand .xhm-client-word-brand small{color:#9faaba!important}

  body.portal-v2 .xhm-client-nav>a{
    width:100%!important;height:auto!important;min-height:42px!important;margin:0!important;
    padding:10px 11px!important;border-radius:10px!important;
    display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;
    align-items:center!important;justify-items:start!important;gap:10px!important;
    color:#c7d0de!important;background:transparent!important;
    font-size:12px!important;font-weight:780!important;text-align:left!important;
  }
  body.portal-v2 .xhm-client-nav>a:hover{background:rgba(255,255,255,.07)!important;color:#fff!important}
  body.portal-v2 .xhm-client-nav>a.active{background:rgba(45,121,215,.18)!important;color:#fff!important}
  body.portal-v2 .xhm-client-nav>a.active::before{
    content:""!important;position:absolute!important;left:-12px!important;top:8px!important;bottom:8px!important;
    width:3px!important;background:#2d79d7!important;border-radius:0 3px 3px 0!important;
  }
  body.portal-v2 .xhm-client-nav>a>span:not(.xhm-icon){display:block!important;min-width:0!important;white-space:normal!important}
  body.portal-v2 .xhm-client-nav>a .xhm-icon{width:18px!important;height:18px!important;justify-self:center!important}
  body.portal-v2 .xhm-desktop-side-section{
    display:block!important;padding:16px 10px 5px!important;color:#7f8b9a!important;
    font-size:9px!important;font-weight:900!important;letter-spacing:.10em!important;text-transform:uppercase!important;
  }
  body.portal-v2 .xhm-client-nav>a.xhm-modern-rail-avatar{display:none!important}

  body.portal-v2 .xhm-client-top{
    left:228px!important;width:auto!important;height:64px!important;
  }
  body.portal-v2 .xhm-client-shell.xhm-client-top-inner{height:64px!important;padding:0 22px!important;gap:14px!important}
  body.portal-v2 .xhm-client-global-search{width:min(520px,48vw)!important;max-width:520px!important;flex:0 1 520px!important}
  body.portal-v2 main.portal-main.xhm-client-main{
    margin-left:228px!important;padding:82px 26px 40px!important;
    width:auto!important;max-width:none!important;
  }

  /* Restore normal page/component width rules that the previous emergency
     geometry guard accidentally neutralised. */
  body.portal-v2 .xhm-client-main>.xhm-modern-page{max-width:1180px!important;margin-left:auto!important;margin-right:auto!important}
  body.portal-v2 .xhm-client-main>.portal-page-title,
  body.portal-v2 .xhm-client-main>.portal-notice,
  body.portal-v2 .xhm-client-main>.portal-panel,
  body.portal-v2 .xhm-client-main>.xhm-client-welcome,
  body.portal-v2 .xhm-client-main>.xhm-client-kpis,
  body.portal-v2 .xhm-client-main>.xhm-dashboard-alert,
  body.portal-v2 .xhm-client-main>.xhm-client-dashboard-grid,
  body.portal-v2 .xhm-client-main>.xhm-page-heading,
  body.portal-v2 .xhm-client-main>.xhm-billing-kpis,
  body.portal-v2 .xhm-client-main>.xhm-service-cards,
  body.portal-v2 .xhm-client-main>.xhm-domain-cards,
  body.portal-v2 .xhm-client-main>.xhm-domain-search,
  body.portal-v2 .xhm-client-main>.xhm-collection-toolbar,
  body.portal-v2 .xhm-client-main>.xhm-client-footer{
    width:100%!important;max-width:1180px!important;margin-left:auto!important;margin-right:auto!important;
  }
  body.portal-v2 .xhm-client-main>.xhm-narrow-panel{max-width:760px!important}
  body.portal-v2 .xhm-client-main>.xhm-narrow-panel.portal-panel{margin-left:auto!important;margin-right:auto!important}
}

/* XHM 0.29.26 — Service overview cleanup: remove duplicate Domain/Package cards. */
.xhm-modern-overview-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr));}
@media(max-width:560px){.xhm-modern-overview-grid-compact{grid-template-columns:1fr 1fr}.xhm-modern-overview-grid-compact .xhm-modern-overview-item{min-height:0}}

/* ================================================================
   XHM 0.29.27 — Client dashboard readability + compact mobile KPIs
   - Restore a high-contrast desktop footer (the approved UI layer had
     been forcing the footer back to white, making its links look faded).
   - Keep “Welcome back, <client>” readable on the dark mobile hero.
   - Reduce oversized mobile dashboard KPI cards and action controls.
   ================================================================ */
@media (min-width:800px){
  body.portal-v2 .xhm-client-main>.xhm-client-footer.xhm-desktop-footer{
    display:block!important;
    background:linear-gradient(135deg,#111820,#1c2a38)!important;
    color:#eef5ff!important;
    border:1px solid #2b3b4d!important;
    border-radius:18px!important;
    overflow:hidden!important;
    box-shadow:0 14px 36px rgba(8,20,34,.14)!important;
  }
  body.portal-v2 .xhm-client-footer.xhm-desktop-footer .xhm-footer-brand,
  body.portal-v2 .xhm-client-footer.xhm-desktop-footer .xhm-footer-links b{
    color:#fff!important;
  }
  body.portal-v2 .xhm-client-footer.xhm-desktop-footer .xhm-footer-brand-block p,
  body.portal-v2 .xhm-client-footer.xhm-desktop-footer .xhm-footer-brand small,
  body.portal-v2 .xhm-client-footer.xhm-desktop-footer .xhm-footer-links a{
    color:#c6d3e1!important;
    opacity:1!important;
  }
  body.portal-v2 .xhm-client-footer.xhm-desktop-footer .xhm-footer-links a:hover{
    color:#fff!important;
  }
  body.portal-v2 .xhm-client-footer.xhm-desktop-footer .xhm-footer-bottom{
    color:#aebdcd!important;
    background:rgba(0,0,0,.12)!important;
    border-top-color:rgba(255,255,255,.12)!important;
  }
}

@media (max-width:760px){
  body.portal-v2 .xhm-modern-home-hero{
    padding-top:28px!important;
    padding-bottom:24px!important;
  }
  body.portal-v2 .xhm-modern-home-hero h1{
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    text-shadow:0 1px 1px rgba(0,0,0,.08)!important;
    font-size:30px!important;
    line-height:1.08!important;
    margin:12px 0 7px!important;
  }
  body.portal-v2 .xhm-modern-home-hero p{
    color:#e1eaf4!important;
    font-size:15px!important;
    line-height:1.42!important;
  }
  body.portal-v2 .xhm-modern-home-actions{
    margin-top:18px!important;
    gap:9px!important;
  }
  body.portal-v2 .xhm-modern-home-actions>a,
  body.portal-v2 .xhm-modern-home-actions>button{
    min-height:50px!important;
    border-radius:15px!important;
    font-size:14px!important;
    padding:10px 12px!important;
  }
  body.portal-v2 .xhm-modern-stats{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    margin-top:18px!important;
  }
  body.portal-v2 .xhm-modern-stat{
    min-height:98px!important;
    padding:13px 14px!important;
    border-radius:16px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
  }
  body.portal-v2 .xhm-modern-stat span{
    color:#7b8799!important;
    font-size:13px!important;
    line-height:1.25!important;
  }
  body.portal-v2 .xhm-modern-stat strong{
    color:#10233e!important;
    font-size:26px!important;
    line-height:1!important;
    margin-top:7px!important;
  }
}

@media (max-width:430px){
  body.portal-v2 .xhm-modern-home-hero{padding:24px 18px 22px!important}
  body.portal-v2 .xhm-modern-home-hero h1{font-size:28px!important}
  body.portal-v2 .xhm-modern-home-actions>a,
  body.portal-v2 .xhm-modern-home-actions>button{min-height:48px!important;font-size:13px!important}
  body.portal-v2 .xhm-modern-stat{min-height:92px!important;padding:12px 13px!important}
  body.portal-v2 .xhm-modern-stat span{font-size:12px!important}
  body.portal-v2 .xhm-modern-stat strong{font-size:24px!important}
}



/* XHM 0.29.28 — professional compact client dashboard records.
   Keep the approved full-width shell, but organise record-heavy dashboard panels
   into compact cards instead of oversized table-like rows. */
@media (min-width:901px){
  body.portal-v2 .xhm-modern-home{max-width:1180px!important}
  body.portal-v2 .xhm-modern-home-grid{grid-template-columns:minmax(0,1.45fr) minmax(300px,.72fr)!important;gap:14px!important;margin-top:14px!important}
  body.portal-v2 .xhm-modern-section-card{padding:15px!important;border-radius:16px!important}
  body.portal-v2 .xhm-modern-card-head{margin-bottom:10px!important}
  body.portal-v2 .xhm-modern-card-head h2{font-size:17px!important}
  body.portal-v2 .xhm-modern-card-head a{font-size:12px!important}

  body.portal-v2 .xhm-modern-service-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  body.portal-v2 .xhm-modern-service-row{
    margin:0!important;padding:11px 12px!important;border-radius:13px!important;
    grid-template-columns:minmax(0,1fr) auto!important;gap:9px!important;min-height:92px!important;
    box-shadow:0 4px 12px rgba(18,54,102,.035)!important;
  }
  body.portal-v2 .xhm-modern-service-icon{width:38px!important;height:38px!important;border-radius:11px!important}
  body.portal-v2 .xhm-modern-service-icon .xhm-icon{width:18px!important;height:18px!important}
  body.portal-v2 .xhm-modern-service-title{gap:9px!important;align-items:flex-start!important}
  body.portal-v2 .xhm-modern-service-title b{font-size:14px!important;line-height:1.2!important}
  body.portal-v2 .xhm-modern-service-title small{font-size:11px!important;line-height:1.3!important;margin-top:2px!important}
  body.portal-v2 .xhm-modern-service-progress{height:5px!important;margin-top:8px!important;max-width:none!important}
  body.portal-v2 .xhm-modern-service-progress + small{font-size:10px!important;margin-top:3px!important}
  body.portal-v2 .xhm-modern-service-side{min-width:70px!important}
  body.portal-v2 .xhm-modern-service-side .xhm-modern-status{padding:4px 7px!important;font-size:9px!important}
  body.portal-v2 .xhm-modern-manage{font-size:11px!important}

  body.portal-v2 .xhm-modern-mini-list>a{padding:9px 0!important;gap:10px!important;font-size:12px!important}
  body.portal-v2 .xhm-modern-mini-list b{font-size:12px!important}
  body.portal-v2 .xhm-modern-mini-list small{font-size:10px!important;margin-top:2px!important}
  body.portal-v2 .xhm-modern-mini-list strong{font-size:12px!important;white-space:nowrap!important}

  body.portal-v2 .xhm-modern-pending-card{max-width:780px!important;margin:14px 0 0!important}
  body.portal-v2 .xhm-modern-pending-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  body.portal-v2 .xhm-modern-pending-list>a{
    border:1px solid var(--xhm-modern-line)!important;border-radius:11px!important;background:#fbfdff!important;
    padding:10px 11px!important;min-height:58px!important;align-items:center!important;
  }
  body.portal-v2 .xhm-modern-pending-list>a:first-child{border-top:1px solid var(--xhm-modern-line)!important}
  body.portal-v2 .xhm-modern-pending-list .xhm-modern-status{padding:4px 7px!important;font-size:9px!important}
}
@media (min-width:761px) and (max-width:1100px){
  body.portal-v2 .xhm-modern-service-list{grid-template-columns:1fr!important}
  body.portal-v2 .xhm-modern-pending-card{max-width:none!important}
}
@media (max-width:900px){
  body.portal-v2 .xhm-modern-service-list{display:block!important}
  body.portal-v2 .xhm-modern-service-row{margin-top:10px!important}
  body.portal-v2 .xhm-modern-pending-list{display:block!important}
  body.portal-v2 .xhm-modern-pending-card{max-width:none!important}
}

/* ================================================================
   XHM 0.29.29 — streamlined desktop client navigation
   - Keep only the primary portal destinations visible in the sidebar.
   - Move account/security utilities into one collapsible Account group.
   - Keep the desktop Welcome back, <user> heading white on the dark hero.
   ================================================================ */
.xhm-desktop-account-group{display:none}
@media (min-width:800px){
  body.portal-v2 .xhm-desktop-account-group{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    flex:0 0 auto!important;
  }
  body.portal-v2 .xhm-desktop-account-group>summary{
    list-style:none!important;
    display:grid!important;
    grid-template-columns:20px minmax(0,1fr) 16px!important;
    align-items:center!important;
    gap:10px!important;
    min-height:40px!important;
    margin:0!important;
    padding:9px 11px!important;
    border-radius:9px!important;
    color:#cbd5e1!important;
    font-size:12px!important;
    font-weight:780!important;
    cursor:pointer!important;
    user-select:none!important;
    transition:background .16s ease,color .16s ease!important;
  }
  body.portal-v2 .xhm-desktop-account-group>summary::-webkit-details-marker{display:none!important}
  body.portal-v2 .xhm-desktop-account-group>summary::marker{display:none!important;content:""!important}
  body.portal-v2 .xhm-desktop-account-group>summary:hover,
  body.portal-v2 .xhm-desktop-account-group.active>summary,
  body.portal-v2 .xhm-desktop-account-group[open]>summary{
    background:rgba(255,255,255,.075)!important;
    color:#fff!important;
  }
  body.portal-v2 .xhm-desktop-account-group>summary>.xhm-icon{width:17px!important;height:17px!important}
  body.portal-v2 .xhm-desktop-account-group>summary>.xhm-icon-chevron{
    width:14px!important;height:14px!important;justify-self:end!important;
    transition:transform .18s ease!important;
  }
  body.portal-v2 .xhm-desktop-account-group[open]>summary>.xhm-icon-chevron{transform:rotate(90deg)!important}
  body.portal-v2 .xhm-desktop-account-menu{
    display:grid!important;
    gap:2px!important;
    margin:4px 0 5px 20px!important;
    padding:5px 0 4px 10px!important;
    border-left:1px solid rgba(255,255,255,.11)!important;
  }
  body.portal-v2 .xhm-desktop-account-menu>a{
    display:grid!important;
    grid-template-columns:17px minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px!important;
    min-height:34px!important;
    padding:7px 9px!important;
    border-radius:8px!important;
    color:#aeb9c9!important;
    font-size:11px!important;
    font-weight:720!important;
    text-decoration:none!important;
    background:transparent!important;
  }
  body.portal-v2 .xhm-desktop-account-menu>a:hover,
  body.portal-v2 .xhm-desktop-account-menu>a.active{
    color:#fff!important;
    background:rgba(255,255,255,.07)!important;
  }
  body.portal-v2 .xhm-desktop-account-menu>a>.xhm-icon{width:15px!important;height:15px!important}
  body.portal-v2 .xhm-desktop-account-menu>a.danger-link{color:#f1a7a7!important}
  body.portal-v2 .xhm-desktop-account-menu>a.danger-link:hover{color:#fff!important;background:rgba(184,54,54,.18)!important}

  body.portal-v2 .xhm-modern-home-hero h1{
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    text-shadow:0 1px 1px rgba(0,0,0,.10)!important;
  }
}
@media (max-width:799px){
  body.portal-v2 .xhm-desktop-account-group{display:none!important}
}


/* ================================================================
   XHM 0.29.31 — locked client sidebar + compact service tools +
   WHMCS-inspired resource usage summaries.
   ================================================================ */
@media (min-width:800px){
  /* Keep the desktop navigation anchored. The page scrolls independently;
     opening Account may scroll only its submenu, never the whole sidebar. */
  body.portal-v2 .xhm-client-nav{
    position:fixed!important;
    top:0!important;bottom:0!important;left:0!important;
    height:100vh!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }
  body.portal-v2 .xhm-desktop-account-menu{
    max-height:min(42vh,330px)!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    scrollbar-width:thin;
  }

  /* Keep secondary service management proportional to the main tools column
     instead of spanning the entire client workspace. */
  body.portal-v2 .xhm-modern-service-page>.xhm-modern-detail-accordions{
    width:64%!important;
    max-width:760px!important;
    margin:16px 0 0!important;
    padding:16px 18px!important;
    border-radius:18px!important;
  }
  body.portal-v2 .xhm-modern-detail-accordions>.xhm-modern-card-head{margin-bottom:7px!important}
  body.portal-v2 .xhm-modern-detail-accordions>details>summary{
    min-height:44px!important;
    padding:11px 4px!important;
    font-size:13px!important;
  }
  body.portal-v2 .xhm-modern-detail-accordions .xhm-action-body{padding:12px 4px 15px!important}
}

/* Resource summary: familiar hosting-control-panel hierarchy without copying
   another product's branding. */
body.portal-v2 .xhm-modern-service-kpis-whmcs{align-items:stretch!important}
body.portal-v2 .xhm-modern-usage-card{
  min-width:0;
  background:rgba(255,255,255,.075);
  border:1px solid rgba(255,255,255,.12);
  border-radius:15px;
  padding:15px 16px 14px;
  color:#fff;
}
body.portal-v2 .xhm-modern-usage-head{display:flex;align-items:center;gap:10px;min-width:0}
body.portal-v2 .xhm-modern-usage-icon{
  width:34px;height:34px;flex:0 0 34px;border-radius:10px;
  display:grid;place-items:center;background:rgba(79,157,230,.16);color:#78b8ef;
  border:1px solid rgba(126,190,239,.14)
}
body.portal-v2 .xhm-modern-usage-icon .xhm-icon{width:17px;height:17px}
body.portal-v2 .xhm-modern-usage-head b{display:block;color:#fff;font-size:13px;line-height:1.2}
body.portal-v2 .xhm-modern-usage-head small{display:block;color:#9eabba;font-size:10px;margin-top:2px;line-height:1.25}
body.portal-v2 .xhm-modern-usage-value{display:flex;align-items:baseline;gap:7px;min-width:0;margin-top:13px}
body.portal-v2 .xhm-modern-usage-value strong{font-size:21px!important;line-height:1!important;margin:0!important;color:#fff!important;white-space:nowrap}
body.portal-v2 .xhm-modern-usage-value span{font-size:10px;color:#aeb9c7;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.portal-v2 .xhm-modern-usage-track{
  position:relative;height:7px;margin-top:13px;border-radius:999px;overflow:hidden;
  background:rgba(255,255,255,.11);box-shadow:inset 0 1px 2px rgba(0,0,0,.12)
}
body.portal-v2 .xhm-modern-usage-track>i{
  display:block;height:100%;min-width:0;border-radius:inherit;
  background:linear-gradient(90deg,#2d8bd8,#66b7ef);box-shadow:0 0 12px rgba(75,166,232,.28)
}
body.portal-v2 .xhm-modern-usage-foot,
body.portal-v2 .xhm-modern-unlimited-line{display:flex;justify-content:space-between;gap:10px;margin-top:8px;font-size:10px;line-height:1.2;color:#9eabba}
body.portal-v2 .xhm-modern-usage-foot b,
body.portal-v2 .xhm-modern-unlimited-line b{color:#dce6ef;font-size:10px;white-space:nowrap}
body.portal-v2 .xhm-modern-unlimited-line{
  margin-top:13px;padding:8px 10px;border-radius:9px;background:rgba(39,170,112,.11);border:1px solid rgba(70,194,134,.18);color:#a9d9c2
}
body.portal-v2 .xhm-modern-unlimited-line b{color:#c9f1dd}
body.portal-v2 .xhm-modern-billing-kpi{padding:15px 16px!important;border-radius:15px!important}
body.portal-v2 .xhm-modern-billing-kpi>span{font-size:11px!important;text-transform:uppercase;letter-spacing:.04em;font-weight:800}
body.portal-v2 .xhm-modern-billing-kpi>strong{font-size:21px!important;margin:13px 0 5px!important}

@media (max-width:1000px){
  body.portal-v2 .xhm-modern-service-page>.xhm-modern-detail-accordions{width:auto!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
}
@media (max-width:760px){
  body.portal-v2 .xhm-modern-service-page>.xhm-modern-detail-accordions{margin:16px 18px 0!important;padding:18px!important}
  body.portal-v2 .xhm-modern-usage-card{padding:16px!important;border-radius:17px!important}
  body.portal-v2 .xhm-modern-usage-value strong{font-size:24px!important}
  body.portal-v2 .xhm-modern-usage-track{height:8px!important}
}

/* ================================================================
   XHM 0.29.32 — Resource cards preview #5.
   Blue disk card + green unlimited-bandwidth card with restrained glow,
   clearer quota hierarchy and mobile-first proportions.
   ================================================================ */
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-card{
  position:relative;
  overflow:hidden;
  background:linear-gradient(145deg,rgba(33,49,64,.97),rgba(34,48,61,.94));
  border-radius:18px;
  padding:18px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035),0 9px 20px rgba(6,17,28,.12);
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-card::after{
  content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  background:radial-gradient(circle at 94% 88%,rgba(255,255,255,.045),transparent 36%);
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-card--disk{
  border:1px solid rgba(79,163,255,.72);
  box-shadow:0 0 0 1px rgba(47,139,239,.08),0 0 18px rgba(35,131,232,.13),inset 0 1px 0 rgba(255,255,255,.035);
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-card--bandwidth{
  border:1px solid rgba(68,214,151,.72);
  box-shadow:0 0 0 1px rgba(42,192,127,.07),0 0 18px rgba(41,190,125,.12),inset 0 1px 0 rgba(255,255,255,.035);
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-head{gap:11px;position:relative;z-index:1}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-title{min-width:0;flex:1 1 auto}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-head b{font-size:14px;letter-spacing:-.01em}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-head small{font-size:10.5px;color:#aab5c2}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-icon{
  width:38px;height:38px;flex-basis:38px;border-radius:11px;
  background:rgba(46,139,222,.18);border-color:rgba(78,160,232,.32);color:#69b8fa;
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-card--bandwidth .xhm-modern-usage-icon{
  background:rgba(38,190,121,.18);border-color:rgba(58,208,142,.31);color:#58e3a2;
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-badge{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:31px;
  padding:0 13px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap;
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-badge--disk{
  color:#67b5ff;border:1px solid rgba(76,159,239,.46);background:rgba(29,109,188,.15)
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-badge--bandwidth{
  color:#61e4a5;border:1px solid rgba(66,209,145,.48);background:rgba(31,145,96,.16)
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-value{margin-top:17px;gap:9px;position:relative;z-index:1}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-value strong{font-size:25px!important;letter-spacing:-.02em}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-value span{font-size:11px;color:#b2bdc9}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-track{
  height:7px;margin-top:15px;background:rgba(142,159,174,.24);overflow:visible;position:relative;z-index:1;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.15)
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-track>i{
  position:relative;min-width:0;background:linear-gradient(90deg,#3d9cf1,#6cc2ff);
  box-shadow:0 0 10px rgba(72,166,244,.34)
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-track>i:not([style*="width:0"]):not([style*="width: 0"])::after{
  content:"";position:absolute;right:-4px;top:50%;width:8px;height:8px;transform:translateY(-50%);
  border-radius:50%;background:#65b9ff;box-shadow:0 0 8px rgba(88,179,255,.75)
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-track--bandwidth>i{
  background:linear-gradient(90deg,#45d590,#66efaf);box-shadow:0 0 12px rgba(62,219,148,.28)
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-track--bandwidth>i::after{background:#64efad!important;box-shadow:0 0 8px rgba(91,234,169,.68)!important}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-track--unlimited{overflow:hidden;background:rgba(58,114,89,.24)}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-track--unlimited>i{width:100%!important;height:100%;display:block}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-track--unlimited>i::after{display:none}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-foot,
body.portal-v2 .xhm-resource-style-five .xhm-modern-unlimited-line{
  margin-top:10px;font-size:10.5px;color:#aeb9c5;position:relative;z-index:1
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-foot b{font-size:10.5px;color:#f0f5fa}
body.portal-v2 .xhm-resource-style-five .xhm-modern-unlimited-line{
  padding:0;background:transparent;border:0;color:#c4d4cc;align-items:center
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-unlimited-line span{display:flex;align-items:center;gap:7px}
body.portal-v2 .xhm-resource-style-five .xhm-modern-unlimited-line span b{font-size:19px;line-height:1;color:#57e2a1}
body.portal-v2 .xhm-resource-style-five .xhm-modern-unlimited-line strong{font-size:10.5px;color:#66e6a8}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-note{
  display:flex;align-items:center;gap:9px;margin-top:13px;padding-top:11px;
  border-top:1px solid rgba(255,255,255,.09);position:relative;z-index:1;color:#98a7b6
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-note>span{
  width:18px;height:18px;flex:0 0 18px;border:1.5px solid #95a8bb;border-radius:50%;
  display:grid;place-items:center;font-size:10px;font-weight:900;font-family:Georgia,serif;color:#a8b9c9
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-note small{font-size:9.5px;line-height:1.35;color:#99a7b6}

@media (min-width:761px){
  body.portal-v2 .xhm-resource-style-five{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(210px,.72fr)!important;
  }
}
@media (max-width:760px){
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-card{
    padding:20px!important;border-radius:20px!important;
  }
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-icon{
    width:46px;height:46px;flex-basis:46px;border-radius:13px;
  }
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-icon .xhm-icon{width:22px;height:22px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-head b{font-size:16px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-head small{font-size:12px;margin-top:3px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-badge{min-height:34px;padding:0 14px;font-size:13px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-value{margin-top:20px;gap:10px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-value strong{font-size:31px!important}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-value span{font-size:13px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-track{height:9px;margin-top:17px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-foot,
  body.portal-v2 .xhm-resource-style-five .xhm-modern-unlimited-line{font-size:12px;margin-top:11px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-foot b,
  body.portal-v2 .xhm-resource-style-five .xhm-modern-unlimited-line strong{font-size:12px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-unlimited-line span b{font-size:23px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-note{margin-top:15px;padding-top:13px;gap:10px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-note>span{width:22px;height:22px;flex-basis:22px;font-size:12px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-note small{font-size:11.5px}
}

/* ================================================================
   XHM 0.29.33 — Neon resource glow refinement.
   Brings Resource Style #5 closer to the approved preview: stronger
   blue/green edge glow, luminous progress bars, richer glass depth,
   and a cleaner compact mobile header without changing data logic.
   ================================================================ */
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-card{
  background:
    radial-gradient(circle at 12% 2%,rgba(72,165,255,.08),transparent 34%),
    linear-gradient(145deg,rgba(20,40,58,.985),rgba(23,38,51,.98));
  isolation:isolate;
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-card::before{
  content:"";position:absolute;inset:-2px;z-index:-1;pointer-events:none;border-radius:inherit;opacity:.9;
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-card--disk{
  border:1px solid rgba(55,166,255,.96);
  box-shadow:
    0 0 0 1px rgba(47,149,255,.26),
    0 0 11px rgba(25,145,255,.58),
    0 0 28px rgba(15,126,238,.30),
    0 12px 30px rgba(4,16,30,.22),
    inset 0 0 26px rgba(18,108,196,.12),
    inset 0 1px 0 rgba(255,255,255,.07);
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-card--disk::before{
  box-shadow:0 0 30px rgba(31,151,255,.30),0 0 58px rgba(22,120,225,.16);
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-card--bandwidth{
  border:1px solid rgba(48,235,156,.96);
  background:
    radial-gradient(circle at 88% 8%,rgba(48,238,157,.10),transparent 34%),
    linear-gradient(145deg,rgba(16,48,49,.985),rgba(20,43,47,.98));
  box-shadow:
    0 0 0 1px rgba(47,226,149,.24),
    0 0 11px rgba(37,229,148,.56),
    0 0 30px rgba(29,205,132,.28),
    0 12px 30px rgba(4,20,19,.22),
    inset 0 0 28px rgba(26,177,112,.13),
    inset 0 1px 0 rgba(255,255,255,.07);
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-card--bandwidth::before{
  box-shadow:0 0 30px rgba(43,232,151,.29),0 0 60px rgba(30,188,120,.15);
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-card--disk .xhm-modern-usage-icon{
  background:linear-gradient(145deg,rgba(40,122,191,.28),rgba(31,77,119,.30));
  border-color:rgba(66,171,255,.62);color:#70c2ff;
  box-shadow:0 0 16px rgba(36,145,238,.22),inset 0 1px 0 rgba(255,255,255,.06);
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-card--bandwidth .xhm-modern-usage-icon{
  background:linear-gradient(145deg,rgba(23,138,87,.30),rgba(22,91,65,.32));
  border-color:rgba(48,224,146,.58);color:#61f0ad;
  box-shadow:0 0 16px rgba(37,215,139,.20),inset 0 1px 0 rgba(255,255,255,.06);
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-badge--disk{
  color:#72c3ff;border-color:rgba(55,164,255,.75);background:rgba(17,92,157,.24);
  box-shadow:0 0 13px rgba(31,143,236,.14),inset 0 0 12px rgba(33,133,216,.08)
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-badge--bandwidth{
  color:#69efae;border-color:rgba(52,226,149,.72);background:rgba(17,113,73,.24);
  box-shadow:0 0 13px rgba(34,208,132,.14),inset 0 0 12px rgba(36,188,121,.08)
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-track{
  background:rgba(102,128,149,.34);
  box-shadow:inset 0 1px 3px rgba(0,0,0,.28),0 0 9px rgba(61,156,241,.08);
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-track>i{
  background:linear-gradient(90deg,#168eff,#72caff);
  box-shadow:0 0 7px rgba(53,163,255,.78),0 0 16px rgba(45,151,247,.46);
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-track--bandwidth>i,
body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-track--unlimited>i{
  background:linear-gradient(90deg,#1bde88,#66f0b1);
  box-shadow:0 0 8px rgba(38,229,146,.78),0 0 18px rgba(33,209,132,.44);
}
body.portal-v2 .xhm-resource-style-five .xhm-modern-unlimited-line strong,
body.portal-v2 .xhm-resource-style-five .xhm-modern-unlimited-line span b{
  text-shadow:0 0 12px rgba(59,235,157,.26)
}

@media (max-width:760px){
  body.portal-v2 .xhm-resource-style-five{gap:14px!important}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-card{
    padding:18px!important;border-radius:19px!important;
  }
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-head{
    display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;align-items:center;padding-right:0;position:relative;
  }
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-icon{
    width:44px;height:44px;flex-basis:44px;border-radius:13px;grid-column:1;grid-row:1;
  }
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-title{
    grid-column:2;grid-row:1;min-width:0;padding-right:0;
  }
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-head b{font-size:16px;line-height:1.12}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-head small{font-size:11.5px;line-height:1.25;margin-top:3px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-badge{
    position:absolute;right:0;top:50%;transform:translateY(-50%);min-height:32px;padding:0 11px;font-size:12px;
  }
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-title{padding-right:104px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-card--disk .xhm-modern-usage-title{padding-right:58px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-value{margin-top:17px;gap:9px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-value strong{font-size:29px!important}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-value span{font-size:12px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-track{height:8px;margin-top:14px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-foot,
  body.portal-v2 .xhm-resource-style-five .xhm-modern-unlimited-line{font-size:11.5px;margin-top:10px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-foot b,
  body.portal-v2 .xhm-resource-style-five .xhm-modern-unlimited-line strong{font-size:11.5px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-note{margin-top:12px;padding-top:11px;gap:9px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-note>span{width:20px;height:20px;flex-basis:20px;font-size:11px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-note small{font-size:10.5px}
}

@media (max-width:390px){
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-card{padding:16px!important}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-icon{width:40px;height:40px;flex-basis:40px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-head{grid-template-columns:40px minmax(0,1fr);gap:9px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-head b{font-size:15px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-head small{font-size:10.5px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-badge{min-height:30px;padding:0 9px;font-size:11px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-title{padding-right:94px}
  body.portal-v2 .xhm-resource-style-five .xhm-modern-usage-card--disk .xhm-modern-usage-title{padding-right:52px}
}

/* ================================================================
   XHM 0.29.34 — Integrated hosting summary.
   Approved layout: Status, Package and Domain move into the same
   neon summary card as Next Billing Date. Resource glow is preserved.
   ================================================================ */
body.portal-v2 .xhm-service-summary-integrated .xhm-modern-service-hero-top{
  margin-bottom:16px;
}
body.portal-v2 .xhm-service-summary-integrated .xhm-modern-service-hero-top h2{
  color:#fff!important;
}
body.portal-v2 .xhm-service-summary-integrated .xhm-modern-service-hero-top h2 span{
  color:#2b9cff;
}
body.portal-v2 .xhm-service-summary-integrated .xhm-modern-service-hero-top p{
  color:#c8d7e7!important;
}
body.portal-v2 .xhm-service-summary-integrated .xhm-resource-style-five{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:16px!important;
}
body.portal-v2 .xhm-modern-service-summary-card{
  grid-column:1/-1;
  position:relative;
  overflow:hidden;
  border:1px solid rgba(38,157,255,.92);
  border-radius:20px;
  padding:18px;
  background:
    radial-gradient(circle at 12% 0%,rgba(47,158,255,.12),transparent 36%),
    linear-gradient(145deg,rgba(16,38,57,.99),rgba(18,35,49,.98));
  box-shadow:
    0 0 0 1px rgba(49,151,245,.20),
    0 0 12px rgba(31,145,246,.42),
    0 0 28px rgba(20,118,220,.18),
    inset 0 1px 0 rgba(255,255,255,.06),
    inset 0 0 24px rgba(19,101,180,.08);
}
body.portal-v2 .xhm-modern-service-summary-head{
  display:grid;
  grid-template-columns:52px minmax(0,1fr) auto;
  align-items:center;
  gap:13px;
  padding-bottom:14px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
body.portal-v2 .xhm-modern-service-summary-icon{
  width:52px;height:52px;border-radius:14px;
  display:grid;place-items:center;
  color:#66bdff;
  background:rgba(31,111,181,.24);
  border:1px solid rgba(58,161,246,.56);
  box-shadow:0 0 14px rgba(32,139,229,.18),inset 0 1px 0 rgba(255,255,255,.05);
}
body.portal-v2 .xhm-modern-service-summary-icon .xhm-icon{width:24px;height:24px}
body.portal-v2 .xhm-modern-service-summary-date{min-width:0}
body.portal-v2 .xhm-modern-service-summary-date>span{
  display:block;color:#9fb5ca;font-size:11px;text-transform:uppercase;letter-spacing:.055em;font-weight:800;
}
body.portal-v2 .xhm-modern-service-summary-date>strong{
  display:block;color:#fff;font-size:24px;line-height:1.08;margin:5px 0 4px;letter-spacing:-.02em;
}
body.portal-v2 .xhm-modern-service-summary-date>small{display:block;color:#9cabb9;font-size:11px}
body.portal-v2 .xhm-modern-service-summary-card>.xhm-modern-service-summary-head>.xhm-modern-status{
  margin:0!important;
  min-height:34px;
  padding:0 13px!important;
  display:inline-flex!important;
  align-items:center;
  border:1px solid rgba(53,226,149,.66)!important;
  color:#5fe9a8!important;
  background:rgba(18,110,73,.25)!important;
  box-shadow:0 0 12px rgba(38,215,139,.13),inset 0 0 10px rgba(36,188,121,.06);
}
body.portal-v2 .xhm-modern-service-summary-rows{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px 14px;
  padding-top:14px;
}
body.portal-v2 .xhm-modern-service-summary-rows>div{
  min-width:0;
  display:grid;
  grid-template-columns:20px auto minmax(0,1fr);
  align-items:center;
  gap:7px;
  color:#a9bacb;
  font-size:11px;
}
body.portal-v2 .xhm-modern-service-summary-rows>div>strong{
  color:#fff;
  font-size:12px;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.portal-v2 .xhm-modern-service-summary-row-icon{
  width:20px;height:20px;display:grid;place-items:center;color:#55b7ff;
}
body.portal-v2 .xhm-modern-service-summary-row-icon .xhm-icon{width:16px;height:16px}
body.portal-v2 .xhm-summary-status-dot{
  width:10px;height:10px;border-radius:50%;background:#39e69b;
  box-shadow:0 0 10px rgba(57,230,155,.68);
  margin-left:3px;
}
body.portal-v2 .xhm-modern-overview-grid-amount-only{
  grid-template-columns:minmax(220px,420px)!important;
  justify-content:start;
}
body.portal-v2 .xhm-modern-overview-grid-amount-only .xhm-modern-overview-item{
  min-height:0!important;
}

@media (max-width:760px){
  body.portal-v2 .xhm-service-summary-integrated .xhm-modern-service-hero-top{
    margin-bottom:14px;
  }
  body.portal-v2 .xhm-service-summary-integrated .xhm-modern-service-hero-top h2{
    font-size:27px!important;line-height:1.06;
  }
  body.portal-v2 .xhm-service-summary-integrated .xhm-resource-style-five{
    grid-template-columns:1fr!important;gap:14px!important;
  }
  body.portal-v2 .xhm-modern-service-summary-card{
    grid-column:auto;padding:16px;border-radius:19px;
  }
  body.portal-v2 .xhm-modern-service-summary-head{
    grid-template-columns:44px minmax(0,1fr) auto;gap:10px;padding-bottom:13px;
  }
  body.portal-v2 .xhm-modern-service-summary-icon{width:44px;height:44px;border-radius:12px}
  body.portal-v2 .xhm-modern-service-summary-icon .xhm-icon{width:21px;height:21px}
  body.portal-v2 .xhm-modern-service-summary-date>span{font-size:10px}
  body.portal-v2 .xhm-modern-service-summary-date>strong{font-size:20px;margin:3px 0}
  body.portal-v2 .xhm-modern-service-summary-date>small{font-size:10px}
  body.portal-v2 .xhm-modern-service-summary-card>.xhm-modern-service-summary-head>.xhm-modern-status{
    min-height:30px;padding:0 10px!important;font-size:11px!important;
  }
  body.portal-v2 .xhm-modern-service-summary-rows{
    grid-template-columns:1fr;gap:9px;padding-top:13px;
  }
  body.portal-v2 .xhm-modern-service-summary-rows>div{
    grid-template-columns:20px 82px minmax(0,1fr);font-size:11px;
  }
  body.portal-v2 .xhm-modern-service-summary-rows>div>strong{font-size:12px;text-align:left}
  body.portal-v2 .xhm-modern-overview-grid-amount-only{
    grid-template-columns:1fr!important;
  }
}

@media (max-width:390px){
  body.portal-v2 .xhm-modern-service-summary-head{
    grid-template-columns:40px minmax(0,1fr);gap:9px;
  }
  body.portal-v2 .xhm-modern-service-summary-icon{width:40px;height:40px}
  body.portal-v2 .xhm-modern-service-summary-card>.xhm-modern-service-summary-head>.xhm-modern-status{
    grid-column:1/-1;justify-self:start;margin-top:2px!important;
  }
  body.portal-v2 .xhm-modern-service-summary-date>strong{font-size:19px}
}


/* ================================================================
   XHM 0.29.36 — Compact natural-height desktop hosting boxes.
   Desktop only: keep the approved 3-column layout, but stop the first
   summary card from forcing Disk Usage and Bandwidth to become tall.
   Mobile keeps the approved stacked layout unchanged.
   ================================================================ */
body.portal-v2 .xhm-modern-service-summary-box-title,
body.portal-v2 .xhm-summary-inline-status{display:none}

@media (min-width:901px){
  body.portal-v2 .xhm-service-summary-integrated .xhm-modern-service-hero-top{
    display:none!important;
  }
  body.portal-v2 .xhm-service-summary-integrated .xhm-resource-style-five{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:14px!important;
    align-items:start!important;
  }

  /* Summary card: compact information only; no duplicate dashboard title. */
  body.portal-v2 .xhm-modern-service-summary-card{
    grid-column:auto!important;
    min-width:0;
    height:auto!important;
    min-height:0!important;
    padding:16px!important;
    display:block!important;
  }
  body.portal-v2 .xhm-modern-service-summary-box-title{
    display:none!important;
  }
  body.portal-v2 .xhm-modern-service-summary-head{
    grid-template-columns:40px minmax(0,1fr)!important;
    gap:10px!important;
    padding:0 0 11px!important;
  }
  body.portal-v2 .xhm-modern-service-summary-icon{
    width:40px!important;height:40px!important;border-radius:11px!important;
  }
  body.portal-v2 .xhm-modern-service-summary-icon .xhm-icon{width:19px!important;height:19px!important}
  body.portal-v2 .xhm-modern-service-summary-date>span{font-size:9px!important}
  body.portal-v2 .xhm-modern-service-summary-date>strong{font-size:18px!important;margin:2px 0!important}
  body.portal-v2 .xhm-modern-service-summary-date>small{font-size:9px!important}
  body.portal-v2 .xhm-modern-service-summary-card>.xhm-modern-service-summary-head>.xhm-modern-status{
    display:none!important;
  }
  body.portal-v2 .xhm-modern-service-summary-rows{
    grid-template-columns:1fr!important;
    gap:0!important;
    padding-top:2px!important;
    margin-top:0!important;
  }
  body.portal-v2 .xhm-modern-service-summary-rows>div{
    grid-template-columns:18px 58px minmax(0,1fr)!important;
    gap:7px!important;
    min-height:34px!important;
    padding:6px 0!important;
    border-bottom:1px solid rgba(255,255,255,.08);
    font-size:10px!important;
  }
  body.portal-v2 .xhm-modern-service-summary-rows>div:last-child{border-bottom:0}
  body.portal-v2 .xhm-modern-service-summary-rows>div>strong{
    font-size:11px!important;
    line-height:1.2;
  }
  body.portal-v2 .xhm-modern-service-summary-rows>.xhm-modern-service-summary-status-row{
    grid-template-columns:18px 58px minmax(0,1fr) auto!important;
  }
  body.portal-v2 .xhm-summary-inline-status{
    display:inline-flex;align-items:center;justify-content:center;
    min-height:24px;padding:0 9px;border-radius:999px;font-style:normal;
    font-size:9px;font-weight:850;color:#62efaa;
    border:1px solid rgba(53,226,149,.72);background:rgba(18,110,73,.24);
    box-shadow:0 0 12px rgba(38,215,139,.12);white-space:nowrap;
  }
  body.portal-v2 .xhm-summary-inline-status.warn{
    color:#ffd17d;border-color:rgba(255,187,83,.66);background:rgba(137,91,23,.22);
  }

  /* Resource cards keep their own natural content height. */
  body.portal-v2 .xhm-service-summary-integrated .xhm-resource-style-five .xhm-modern-usage-card{
    min-width:0;
    height:auto!important;
    min-height:0!important;
    align-self:start!important;
    display:block!important;
    padding:16px!important;
  }
  body.portal-v2 .xhm-service-summary-integrated .xhm-resource-style-five .xhm-modern-usage-note{
    margin-top:14px!important;
  }
}

/* XHM 0.29.39 — approved medium-rounded Client branding.
   The logo itself is clipped to a 12px radius so any logo uploaded from
   Admin → Settings → Branding has the same polished treatment on desktop
   and mobile without altering the source image. */
body.portal-v2 .xhm-desktop-side-brand .xhm-client-custom-logo,
body.portal-v2 .xhm-modern-mobile-brand .xhm-client-custom-logo{
  border-radius:12px!important;
  overflow:hidden!important;
  background:#fff!important;
}

/* ================================================================
   XHM 0.29.40 — Service page lower-section compact layout
   Scope: client/service.php only. Removes the unused stretched space
   below Hosting tools and divides the lower service actions into two
   compact desktop cards. Existing mobile/client baseline is preserved.
   ================================================================ */
@media (min-width:901px){
  body.portal-v2.xhm-client-page-service .xhm-modern-service-panels{
    align-items:start!important;
  }
  body.portal-v2.xhm-client-page-service .xhm-modern-service-tools-card{
    align-self:start!important;
    height:auto!important;
    min-height:0!important;
  }
  body.portal-v2.xhm-client-page-service .xhm-modern-lower-tools-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:16px!important;
    margin-top:16px!important;
    align-items:start!important;
  }
  body.portal-v2.xhm-client-page-service .xhm-modern-lower-tools-grid>.xhm-modern-detail-accordions{
    margin-top:0!important;
    min-width:0!important;
    align-self:start!important;
  }
  body.portal-v2.xhm-client-page-service .xhm-modern-lower-tools-grid .xhm-modern-card-head{
    margin-bottom:4px!important;
  }
  body.portal-v2.xhm-client-page-service .xhm-modern-lower-tools-grid .xhm-modern-detail-accordions details{
    margin-top:8px!important;
  }
  body.portal-v2.xhm-client-page-service .xhm-modern-lower-tools-grid .xhm-modern-detail-accordions summary{
    padding:12px 14px!important;
  }
}
@media (max-width:900px){
  body.portal-v2.xhm-client-page-service .xhm-modern-lower-tools-grid{
    display:block!important;
  }
  body.portal-v2.xhm-client-page-service .xhm-modern-lower-tools-grid>.xhm-modern-detail-accordions{
    margin-top:16px!important;
  }
}
@media (max-width:760px){
  body.portal-v2.xhm-client-page-service .xhm-modern-lower-tools-grid{
    margin:0 24px!important;
  }
  body.portal-v2.xhm-client-page-service .xhm-modern-lower-tools-grid>.xhm-modern-detail-accordions{
    margin:16px 0 0!important;
  }
}
@media (max-width:430px){
  body.portal-v2.xhm-client-page-service .xhm-modern-lower-tools-grid{
    margin-left:18px!important;
    margin-right:18px!important;
  }
}

/* ================================================================
   XHM 0.29.41 — Service action cards moved into the unused desktop gap
   Scope: client/service.php only. On desktop, the two compact lower
   action cards now sit directly below Hosting tools in the left column,
   while Service details / Need help remain in the right column. Mobile
   keeps the existing stacked order and spacing.
   ================================================================ */
@media (min-width:901px){
  body.portal-v2.xhm-client-page-service .xhm-modern-service-panels{
    grid-template-columns:minmax(0,1.45fr) minmax(260px,.8fr)!important;
    grid-template-rows:auto auto!important;
    align-items:start!important;
    gap:16px!important;
  }
  body.portal-v2.xhm-client-page-service .xhm-modern-service-sidecol{
    grid-column:2!important;
    grid-row:1 / span 2!important;
    align-self:start!important;
    min-width:0!important;
  }
  body.portal-v2.xhm-client-page-service .xhm-modern-lower-tools-grid{
    grid-column:1!important;
    grid-row:2!important;
    width:100%!important;
    margin:0!important;
    align-self:start!important;
  }
}
@media (max-width:900px){
  body.portal-v2.xhm-client-page-service .xhm-modern-service-sidecol{
    display:block!important;
  }
  body.portal-v2.xhm-client-page-service .xhm-modern-lower-tools-grid{
    margin:0!important;
  }
}

/* ================================================================
   XHM 0.29.42 — definitive desktop client sidebar lock
   Keep the labelled Client navigation anchored to the viewport while
   the page content scrolls. The Account submenu may scroll independently.
   Mobile navigation remains unchanged.
   ================================================================ */
@media (min-width:800px){
  html,
  body.portal-v2{
    transform:none!important;
    translate:none!important;
    perspective:none!important;
  }
  body.portal-v2 .xhm-client-nav{
    position:fixed!important;
    inset:0 auto auto 0!important;
    top:0!important;
    left:0!important;
    right:auto!important;
    bottom:auto!important;
    width:228px!important;
    min-width:228px!important;
    max-width:228px!important;
    height:100vh!important;
    height:100dvh!important;
    min-height:100vh!important;
    max-height:100dvh!important;
    margin:0!important;
    overflow:hidden!important;
    overflow-x:hidden!important;
    overflow-y:hidden!important;
    overscroll-behavior:none!important;
    transform:none!important;
    translate:none!important;
    z-index:100!important;
  }
  body.portal-v2 .xhm-desktop-account-menu{
    max-height:min(42vh,330px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
  }
  body.portal-v2 .xhm-client-top{z-index:90!important;}
}

/* ================================================================
   XHM 0.29.43 — desktop Client split-scroll shell
   The root document is locked on desktop. Only the main Client workspace
   scrolls, so the labelled sidebar cannot move vertically with the page.
   Mobile navigation/scrolling remains unchanged.
   ================================================================ */
@media (min-width:800px){
  html{
    height:100vh!important;
    height:100dvh!important;
    overflow:hidden!important;
  }
  body.portal-v2{
    height:100vh!important;
    height:100dvh!important;
    min-height:100vh!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
  }
  body.portal-v2 .xhm-client-nav{
    position:fixed!important;
    inset:0 auto 0 0!important;
    width:228px!important;
    min-width:228px!important;
    max-width:228px!important;
    height:100vh!important;
    height:100dvh!important;
    margin:0!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
    transform:none!important;
    translate:none!important;
    z-index:100!important;
  }
  body.portal-v2 .xhm-client-top{
    position:fixed!important;
    top:0!important;
    left:228px!important;
    right:0!important;
    z-index:90!important;
  }
  body.portal-v2 main.portal-main.xhm-client-main{
    position:fixed!important;
    inset:0 0 0 228px!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    height:100vh!important;
    height:100dvh!important;
    max-height:100dvh!important;
    margin:0!important;
    padding:82px 26px 40px!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior-y:contain!important;
    -webkit-overflow-scrolling:touch;
    transform:none!important;
    translate:none!important;
  }
  body.portal-v2 .xhm-desktop-account-menu{
    max-height:min(42vh,330px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
  }
}

/* ================================================================
   XHM 0.29.50 — Client mobile header/body harmony + balanced gutters
   Scope: CLIENT mobile only. Admin UI is intentionally untouched.
   Preserves v0.29.49 Bell → Module → Exact Item NEW notifications and
   the approved v0.29.46 ticket composer/mobile Order clearance.
   ================================================================ */
@media (max-width:760px){
  /* Make the client header feel like part of the same light page surface. */
  body.portal-v2 .xhm-client-top{
    background:var(--xhm-modern-bg,#edf4fb)!important;
    color:var(--xhm-modern-ink,#10203d)!important;
    border-bottom:1px solid #d8e4ef!important;
    box-shadow:0 5px 18px rgba(20,48,82,.055)!important;
  }
  body.portal-v2 .xhm-client-shell.xhm-client-top-inner{
    background:transparent!important;
    padding-left:18px!important;
    padding-right:18px!important;
  }
  body.portal-v2 .xhm-modern-top-link,
  body.portal-v2 .xhm-client-account-btn{
    background:#fff!important;
    color:#173b67!important;
    border-color:#d6e2ee!important;
    box-shadow:0 5px 16px rgba(20,48,82,.07)!important;
  }
  body.portal-v2 .xhm-modern-top-link:hover,
  body.portal-v2 .xhm-client-account-btn:hover{
    background:#f8fbff!important;
  }

  /* Remove the historical 24px right-only gap on client mobile. */
  body.portal-v2 main.portal-main.xhm-client-main{
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  /* Old/unified client pages: one equal 18px gutter on both sides. */
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .portal-page-title,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .title-row,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .portal-notice,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .portal-panel,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .panel,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .xhm-client-welcome,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .xhm-client-kpis,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .xhm-dashboard-alert,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .xhm-client-dashboard-grid,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .xhm-page-heading,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .xhm-billing-kpis,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .xhm-billing-actions,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .xhm-support-shortcuts,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .xhm-service-cards,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .xhm-domain-cards,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .xhm-domain-search,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .invoice-actions,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .kb-article-title,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .kb-article-layout{
    width:calc(100% - 36px)!important;
    max-width:none!important;
    margin-left:18px!important;
    margin-right:18px!important;
  }

  /* Collection/list pages (Domains, Orders, Invoices, Payments, Tickets etc.). */
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .xhm-collection-page{
    width:calc(100% - 36px)!important;
    max-width:none!important;
    margin-left:18px!important;
    margin-right:18px!important;
  }

  /* Keep existing modern page components at their own approved 18px gutters. */
  body.portal-v2 .xhm-client-main > .xhm-modern-page{
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
  }

  /* Make title copy line up cleanly with the cards directly below it. */
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-unified-client-page > .portal-page-title,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-unified-client-page > .title-row{
    padding-left:0!important;
    padding-right:0!important;
  }
}

/* ================================================================
   XHM 0.29.51 — Client mobile form + gutter completion
   Scope: CLIENT UI only. Admin is untouched.
   Completes the v0.29.50 mobile balance pass on legacy/account pages,
   fixes checkbox stretching, and keeps fixed bottom navigation clear.
   ================================================================ */

/* Portal form checkboxes/radios must never inherit the 100% text-input width. */
body.portal-v2 .portal-form input[type="checkbox"],
body.portal-v2 .portal-form input[type="radio"]{
  width:20px!important;
  height:20px!important;
  min-width:20px!important;
  max-width:20px!important;
  flex:0 0 20px!important;
  padding:0!important;
  margin:1px 0 0!important;
  border-radius:5px!important;
  box-shadow:none!important;
  accent-color:#1f6fbd;
}

@media (max-width:760px){
  /* Finish the equal-gutter pass for wrappers missed in v0.29.50. */
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .portal-two-col,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .kb-category-grid,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .xhm-credit-hero{
    width:calc(100% - 36px)!important;
    max-width:none!important;
    margin-left:18px!important;
    margin-right:18px!important;
  }

  /* Keep the final form controls/cards scrollable above the fixed mobile nav. */
  body.portal-v2:not(.xhm-client-page-ticket) main.portal-main.xhm-client-main{
    padding-bottom:128px!important;
  }

  /* Portal-user permissions: compact, readable rows with checkbox beside label. */
  body.portal-v2 .xhm-user-perms{
    grid-template-columns:1fr!important;
    gap:0!important;
    padding:14px 16px!important;
    margin-top:10px!important;
    border-radius:14px!important;
  }
  body.portal-v2 .xhm-user-perms>b{
    margin-bottom:5px!important;
    font-size:16px!important;
  }
  body.portal-v2 .xhm-user-perms label{
    width:100%!important;
    display:grid!important;
    grid-template-columns:20px minmax(0,1fr)!important;
    align-items:start!important;
    justify-content:start!important;
    gap:11px!important;
    padding:11px 0!important;
    margin:0!important;
    border-bottom:1px solid #e5ebf2!important;
    font-size:14px!important;
    line-height:1.35!important;
    text-align:left!important;
  }
  body.portal-v2 .xhm-user-perms label:last-child{
    border-bottom:0!important;
  }

  /* Contact role checkboxes use the same clean row pattern. */
  body.portal-v2 .xhm-check-row{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:0!important;
    padding:6px 0!important;
    margin:4px 0 10px!important;
  }
  body.portal-v2 .xhm-check-row label{
    width:100%!important;
    display:grid!important;
    grid-template-columns:20px minmax(0,1fr)!important;
    align-items:center!important;
    justify-content:start!important;
    gap:10px!important;
    padding:9px 0!important;
    margin:0!important;
    text-align:left!important;
  }

  /* Prevent long labels/text from forcing account forms sideways. */
  body.portal-v2 .portal-two-col,
  body.portal-v2 .portal-two-col > *,
  body.portal-v2 .xhm-user-perms,
  body.portal-v2 .xhm-user-perms label,
  body.portal-v2 .xhm-feature-list > div{
    min-width:0!important;
    box-sizing:border-box!important;
  }
}

/* ================================================================
   XHM 0.29.52 — Client mobile secondary-page audit + overflow repair
   Scope: CLIENT portal only. Admin UI is intentionally untouched.
   Preserves v0.29.49 notifications, v0.29.50 light mobile header,
   v0.29.51 form/gutter fixes, and approved ticket/chat navigation.
   ================================================================ */

/* Account Statement had no dedicated KPI layout at all. Give it a
   proper client-only structure on every viewport, then compact it below. */
body.portal-v2.xhm-client-page-statement .portal-kpis{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin:0 0 14px;
}
body.portal-v2.xhm-client-page-statement .portal-kpis>div{
  min-width:0;
  padding:16px 18px;
  border:1px solid #e2e9f2;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 28px rgba(21,54,92,.055);
}
body.portal-v2.xhm-client-page-statement .portal-kpis span,
body.portal-v2.xhm-client-page-statement .portal-kpis b{display:block}
body.portal-v2.xhm-client-page-statement .portal-kpis span{
  color:#7b899b;
  font-size:11px;
  font-weight:800;
}
body.portal-v2.xhm-client-page-statement .portal-kpis b{
  margin-top:5px;
  color:#162b47;
  font-size:21px;
  overflow-wrap:anywhere;
}

/* Long user/account values should wrap instead of widening a page. */
body.portal-v2 .portal-list>div,
body.portal-v2 .portal-list>div>*{
  min-width:0;
}
body.portal-v2 .portal-list b,
body.portal-v2 .portal-list span,
body.portal-v2 .portal-list small,
body.portal-v2 .profile-view b{
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* Saved payment and email-history rows are three-column desktop patterns.
   Prevent long subjects/gateway names from creating hidden mobile overflow. */
body.portal-v2 .xhm-email-history article>div:nth-child(2),
body.portal-v2 .xhm-payment-pref-list>div>div:nth-child(2){min-width:0}
body.portal-v2 .xhm-email-history h3,
body.portal-v2 .xhm-email-history p,
body.portal-v2 .xhm-email-history small,
body.portal-v2 .xhm-payment-pref-list b,
body.portal-v2 .xhm-payment-pref-list small{overflow-wrap:anywhere;word-break:break-word}

/* Switch-account list never had a layout rule. Give forms a safe row layout. */
body.portal-v2 .xhm-switch-account-list{display:grid;gap:10px}
body.portal-v2 .xhm-switch-account-list>form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:13px 0;
  border-bottom:1px solid #e7edf5;
}
body.portal-v2 .xhm-switch-account-list>form:last-child{border-bottom:0}
body.portal-v2 .xhm-switch-account-list>form>div{min-width:0}
body.portal-v2 .xhm-switch-account-list b,
body.portal-v2 .xhm-switch-account-list span{display:block;overflow-wrap:anywhere;word-break:break-word}
body.portal-v2 .xhm-switch-account-list span{margin-top:4px;color:#748195}

@media (max-width:760px){
  /* Wrappers found by the second client-mobile audit that v0.29.50/51 missed. */
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .xhm-domain-summary-grid,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .xhm-affiliate-kpis,
  body.portal-v2:not(.xhm-client-page-ticket) .xhm-client-main > .portal-kpis{
    width:calc(100% - 36px)!important;
    max-width:none!important;
    margin-left:18px!important;
    margin-right:18px!important;
  }

  /* DOMAIN DETAIL: the summary pair was edge-to-edge and the DNS heading/status
     fought for the same row. Keep the page aligned and stack long headings. */
  body.portal-v2.xhm-client-page-domain .xhm-domain-summary-grid{
    grid-template-columns:1fr!important;
    gap:13px!important;
    margin-bottom:13px!important;
  }
  body.portal-v2.xhm-client-page-domain .xhm-domain-summary-grid>.portal-panel{
    margin-top:0!important;
  }
  body.portal-v2.xhm-client-page-domain .xhm-domain-top-actions{
    width:100%!important;
    display:grid!important;
    grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(0,.9fr)!important;
    gap:7px!important;
    margin-top:12px!important;
  }
  body.portal-v2.xhm-client-page-domain .xhm-domain-top-actions .portal-btn{
    width:100%!important;
    min-width:0!important;
    margin-top:0!important;
    padding-left:7px!important;
    padding-right:7px!important;
    white-space:normal!important;
    text-align:center!important;
  }
  body.portal-v2.xhm-client-page-domain .portal-section-title{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:6px!important;
  }
  body.portal-v2.xhm-client-page-domain .portal-section-title>span{
    max-width:100%!important;
    color:#748195!important;
    font-size:12px!important;
    line-height:1.35!important;
    overflow-wrap:anywhere!important;
  }
  body.portal-v2.xhm-client-page-domain .xhm-renew-inline{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
  }
  body.portal-v2.xhm-client-page-domain .xhm-renew-inline select,
  body.portal-v2.xhm-client-page-domain .xhm-renew-inline .portal-btn{
    width:100%!important;
    max-width:none!important;
    margin-top:0!important;
  }

  /* BILLING DASHBOARD: keep the compact 2-column design, but allow card copy
     to wrap instead of clipping into / under the neighbouring card. */
  body.portal-v2.xhm-client-page-billing .xhm-overview-kpis>a>div,
  body.portal-v2.xhm-client-page-billing .xhm-overview-actions>a>span{
    min-width:0!important;
  }
  body.portal-v2.xhm-client-page-billing .xhm-overview-kpis em{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere!important;
    line-height:1.28!important;
    margin-top:3px!important;
  }
  body.portal-v2.xhm-client-page-billing .xhm-overview-actions small{
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    line-height:1.28!important;
  }
  body.portal-v2.xhm-client-page-billing .xhm-overview-kpis>a,
  body.portal-v2.xhm-client-page-billing .xhm-overview-actions>a{
    align-items:flex-start!important;
    overflow:hidden!important;
  }

  /* ACCOUNT STATEMENT: make Download PDF a normal full-width action and turn
     the formerly clumped counters into one wide + two compact cards. */
  body.portal-v2.xhm-client-page-statement .portal-page-title>a.primary{
    display:flex!important;
    width:100%!important;
    min-height:48px!important;
    margin-top:14px!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:12px!important;
    line-height:1.2!important;
  }
  body.portal-v2.xhm-client-page-statement .portal-kpis{
    grid-template-columns:1fr 1fr!important;
    gap:9px!important;
    margin-bottom:13px!important;
  }
  body.portal-v2.xhm-client-page-statement .portal-kpis>div{
    padding:14px!important;
  }
  body.portal-v2.xhm-client-page-statement .portal-kpis>div:first-child{
    grid-column:1/-1!important;
  }
  body.portal-v2.xhm-client-page-statement .portal-kpis b{font-size:19px!important}

  /* AFFILIATES: align KPI cards with the page, and contain the long referral URL. */
  body.portal-v2.xhm-client-page-affiliates .xhm-affiliate-kpis{
    grid-template-columns:1fr 1fr!important;
    gap:9px!important;
    margin-bottom:13px!important;
  }
  body.portal-v2.xhm-client-page-affiliates .xhm-affiliate-kpis>div{
    min-width:0!important;
    padding:14px!important;
  }
  body.portal-v2.xhm-client-page-affiliates .xhm-affiliate-kpis strong{
    font-size:21px!important;
    overflow-wrap:anywhere!important;
  }
  body.portal-v2.xhm-client-page-affiliates .xhm-copy-line{
    width:100%!important;
    min-width:0!important;
  }
  body.portal-v2.xhm-client-page-affiliates .xhm-copy-line input{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  body.portal-v2.xhm-client-page-affiliates .xhm-copy-line .portal-btn{
    width:100%!important;
    margin-top:0!important;
  }

  /* EMAIL HISTORY: move delivery status under the subject on narrow screens. */
  body.portal-v2.xhm-client-page-email-history .xhm-email-history article{
    grid-template-columns:38px minmax(0,1fr)!important;
    align-items:start!important;
    gap:10px!important;
  }
  body.portal-v2.xhm-client-page-email-history .xhm-email-history article>.xhm-status{
    grid-column:2!important;
    justify-self:start!important;
    margin-top:2px!important;
  }

  /* PAYMENT METHODS: saved-method actions get their own full-width row. */
  body.portal-v2.xhm-client-page-payment-methods .xhm-payment-pref-list>div{
    grid-template-columns:38px minmax(0,1fr)!important;
    align-items:start!important;
    gap:10px!important;
  }
  body.portal-v2.xhm-client-page-payment-methods .xhm-payment-pref-list>div>form{
    grid-column:1/-1!important;
    width:100%!important;
    margin:2px 0 0!important;
  }
  body.portal-v2.xhm-client-page-payment-methods .xhm-payment-pref-list .portal-btn{
    width:100%!important;
    margin-top:0!important;
  }

  /* SWITCH ACCOUNT: a long account name/email can no longer squeeze the button. */
  body.portal-v2.xhm-client-page-switch-account .xhm-switch-account-list>form{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:10px!important;
  }

  /* PROFILE: keep long address/email values readable rather than right-squeezed. */
  body.portal-v2.xhm-client-page-profile .profile-view>div{
    flex-direction:column!important;
    gap:4px!important;
  }
  body.portal-v2.xhm-client-page-profile .profile-view b{
    width:100%!important;
    max-width:100%!important;
    text-align:left!important;
  }
}

@media (max-width:390px){
  body.portal-v2.xhm-client-page-domain .xhm-domain-top-actions{
    grid-template-columns:1fr 1fr!important;
  }
  body.portal-v2.xhm-client-page-domain .xhm-domain-top-actions .portal-btn:first-child{
    grid-column:1/-1!important;
  }
  body.portal-v2.xhm-client-page-switch-account .xhm-switch-account-list>form{
    grid-template-columns:1fr!important;
  }
  body.portal-v2.xhm-client-page-switch-account .xhm-switch-account-list .portal-btn{
    width:100%!important;
    margin-top:0!important;
  }
}

/* =====================================================================
   XHM 0.29.53 — Portable domain management workspace
   Scope: Client domain detail only. Keeps the approved shell/nav intact.
   ===================================================================== */
body.portal-v2.xhm-client-page-domain .xhm-domain-page-heading{
  margin-bottom:14px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-page-heading h1{
  margin-bottom:4px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-summary-compact{
  align-items:stretch!important;
  gap:14px!important;
  margin-bottom:14px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-summary-compact>.portal-panel{
  padding:17px 18px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-summary-compact h2{
  margin:5px 0 12px!important;
  font-size:20px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-summary-compact .portal-detail-list{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:0 22px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-summary-compact .portal-detail-list>div{
  min-width:0!important;
  padding:9px 0!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-summary-compact .portal-detail-list>div:last-child{
  grid-column:1/-1!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-summary-compact .portal-detail-list span,
body.portal-v2.xhm-client-page-domain .xhm-domain-summary-compact .portal-detail-list b{
  overflow-wrap:anywhere!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-auto-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-auto-head h2{
  margin-bottom:6px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-auto-state{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:42px!important;
  padding:5px 9px!important;
  border-radius:999px!important;
  background:#eef2f7!important;
  color:#728096!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-auto-state.on{
  background:#e7f8ee!important;
  color:#16834c!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-autorenew-card p{
  margin:3px 0 13px!important;
  font-size:13px!important;
  line-height:1.45!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-tools{
  padding:0!important;
  overflow:hidden!important;
  margin-top:0!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-tools-head{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:16px!important;
  padding:16px 18px 11px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-tools-head h2{
  margin:3px 0 0!important;
  font-size:20px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-registrar-note{
  color:#748195!important;
  font-size:12px!important;
  font-weight:700!important;
  text-align:right!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-tool-tabs{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:0!important;
  padding:0 18px!important;
  border-bottom:1px solid #e4eaf2!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-tab{
  appearance:none!important;
  border:0!important;
  border-bottom:3px solid transparent!important;
  background:transparent!important;
  color:#5e6d82!important;
  min-height:43px!important;
  padding:9px 10px!important;
  font:inherit!important;
  font-size:13px!important;
  font-weight:800!important;
  cursor:pointer!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-tab.active{
  color:#1373cf!important;
  border-bottom-color:#1373cf!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-tool-panel{
  padding:16px 18px 18px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-tool-panel[hidden]{display:none!important}
body.portal-v2.xhm-client-page-domain .xhm-domain-panel-title{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin-bottom:12px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-panel-title h3{
  margin:2px 0 0!important;
  color:#172b46!important;
  font-size:17px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-panel-title small{
  color:#8592a4!important;
  font-size:11px!important;
  font-weight:700!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-compact-form label{
  min-width:0!important;
  display:grid!important;
  gap:5px!important;
  color:#42546d!important;
  font-size:12px!important;
  font-weight:800!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-compact-form input,
body.portal-v2.xhm-client-page-domain .xhm-domain-compact-form select{
  width:100%!important;
  min-width:0!important;
  min-height:42px!important;
  padding:9px 11px!important;
  border-radius:10px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-compact-form.xhm-ns-form{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px 12px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-compact-form.xhm-ns-form .portal-btn{
  grid-column:1/-1!important;
  justify-self:start!important;
  width:auto!important;
  margin-top:2px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-compact-form .xhm-form-2{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px 12px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-contact-form>.portal-btn{
  margin-top:12px!important;
  width:auto!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-renew-grid{
  display:grid!important;
  grid-template-columns:minmax(260px,.85fr) minmax(0,1.15fr)!important;
  gap:18px!important;
  align-items:start!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-renew-action{
  min-width:0!important;
  padding:14px!important;
  border:1px solid #e5ebf2!important;
  border-radius:13px!important;
  background:#f8fbfe!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-renew-action>p{
  margin:0 0 10px!important;
  color:#748195!important;
  font-size:12px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-renew-inline{
  display:grid!important;
  grid-template-columns:110px minmax(0,1fr)!important;
  gap:8px!important;
  align-items:center!important;
}
body.portal-v2.xhm-client-page-domain .xhm-renew-inline select{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:42px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-renew-inline .portal-btn{
  width:100%!important;
  margin:0!important;
  min-height:42px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-renew-history{
  min-width:0!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-renew-history>h3{
  margin:0 0 8px!important;
  font-size:15px!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-history-list{
  display:grid!important;
  gap:0!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-history-list>div{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:10px!important;
  align-items:center!important;
  padding:9px 0!important;
  border-bottom:1px solid #e7edf3!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-history-list>div:last-child{border-bottom:0!important}
body.portal-v2.xhm-client-page-domain .xhm-domain-history-list b,
body.portal-v2.xhm-client-page-domain .xhm-domain-history-list span{
  display:block!important;
  overflow-wrap:anywhere!important;
}
body.portal-v2.xhm-client-page-domain .xhm-domain-history-list b{font-size:12px!important}
body.portal-v2.xhm-client-page-domain .xhm-domain-history-list span{margin-top:2px!important;color:#8190a2!important;font-size:11px!important}
body.portal-v2.xhm-client-page-domain .xhm-domain-history-list a{font-size:11px!important;font-weight:800!important;white-space:nowrap!important}

@media (max-width:760px){
  body.portal-v2.xhm-client-page-domain .xhm-domain-summary-compact .portal-detail-list{
    grid-template-columns:1fr 1fr!important;
    gap:0 12px!important;
  }
  body.portal-v2.xhm-client-page-domain .xhm-domain-summary-compact .portal-detail-list>div:last-child{
    grid-column:1/-1!important;
  }
  body.portal-v2.xhm-client-page-domain .xhm-domain-tools-head{
    align-items:flex-start!important;
    padding:15px 15px 9px!important;
  }
  body.portal-v2.xhm-client-page-domain .xhm-domain-registrar-note{
    max-width:42%!important;
    font-size:10px!important;
  }
  body.portal-v2.xhm-client-page-domain .xhm-domain-tool-tabs{
    padding:0 10px!important;
  }
  body.portal-v2.xhm-client-page-domain .xhm-domain-tab{
    padding:9px 4px!important;
    font-size:12px!important;
  }
  body.portal-v2.xhm-client-page-domain .xhm-domain-tool-panel{
    padding:14px 15px 16px!important;
  }
  body.portal-v2.xhm-client-page-domain .xhm-domain-panel-title{
    align-items:flex-start!important;
  }
  body.portal-v2.xhm-client-page-domain .xhm-domain-compact-form.xhm-ns-form,
  body.portal-v2.xhm-client-page-domain .xhm-domain-compact-form .xhm-form-2,
  body.portal-v2.xhm-client-page-domain .xhm-domain-renew-grid{
    grid-template-columns:1fr!important;
  }
  body.portal-v2.xhm-client-page-domain .xhm-domain-renew-grid{gap:14px!important}
  body.portal-v2.xhm-client-page-domain .xhm-renew-inline{
    grid-template-columns:105px minmax(0,1fr)!important;
  }
  body.portal-v2.xhm-client-page-domain .xhm-domain-history-list>div{
    grid-template-columns:minmax(0,1fr) auto!important;
  }
}

@media (max-width:430px){
  body.portal-v2.xhm-client-page-domain .xhm-domain-summary-compact .portal-detail-list{
    grid-template-columns:1fr!important;
  }
  body.portal-v2.xhm-client-page-domain .xhm-domain-summary-compact .portal-detail-list>div:last-child{
    grid-column:auto!important;
  }
  body.portal-v2.xhm-client-page-domain .xhm-domain-tools-head{
    display:block!important;
  }
  body.portal-v2.xhm-client-page-domain .xhm-domain-registrar-note{
    display:block!important;
    max-width:none!important;
    margin-top:5px!important;
    text-align:left!important;
  }
  body.portal-v2.xhm-client-page-domain .xhm-renew-inline{
    grid-template-columns:1fr!important;
  }
}

/* ========================================================================
   XHM 0.29.54 — Rich portable Client Domain Management
   Desktop: compact Manage sidebar + one active workspace panel.
   Mobile: compact management tile grid + one active panel.
   ======================================================================== */
body.portal-v2.xhm-client-page-domain .xhm-domain54-page{display:block;max-width:100%;min-width:0}
body.portal-v2.xhm-client-page-domain .xhm-domain54-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:4px 0 14px;min-width:0}
body.portal-v2.xhm-client-page-domain .xhm-domain54-head>div:first-child{min-width:0}
body.portal-v2.xhm-client-page-domain .xhm-domain54-back{display:inline-flex;margin-bottom:12px;color:#1672df;font-weight:800;font-size:13px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-head h1{margin:0 0 6px;font-size:30px;line-height:1.12;overflow-wrap:anywhere;color:#10223f}
body.portal-v2.xhm-client-page-domain .xhm-domain54-head p{margin:0;color:#73839a;font-size:13px;font-weight:700;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
body.portal-v2.xhm-client-page-domain .xhm-domain54-head-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
body.portal-v2.xhm-client-page-domain .xhm-domain54-renew-jump{gap:8px;min-height:44px;padding-inline:18px!important}
body.portal-v2.xhm-client-page-domain .xhm-domain54-summary{margin:0 0 14px!important;padding:0!important;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));overflow:hidden}
body.portal-v2.xhm-client-page-domain .xhm-domain54-summary>div{min-width:0;padding:17px 20px;border-right:1px solid #e8eef6}
body.portal-v2.xhm-client-page-domain .xhm-domain54-summary>div:last-child{border-right:0}
body.portal-v2.xhm-client-page-domain .xhm-domain54-summary span{display:block;color:#6f8fc0;font-size:12px;margin-bottom:7px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-summary b{display:block;font-size:15px;line-height:1.3;color:#142746;overflow-wrap:anywhere}
body.portal-v2.xhm-client-page-domain .xhm-domain54-inline-state:before{content:"";display:inline-block;width:9px;height:9px;margin-right:7px;border-radius:50%;background:#19a95b;vertical-align:1px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-workspace{display:grid;grid-template-columns:minmax(245px,285px) minmax(0,1fr);gap:14px;align-items:start}
body.portal-v2.xhm-client-page-domain .xhm-domain54-nav{margin:0!important;padding:10px!important;position:sticky;top:84px;display:flex;flex-direction:column;gap:3px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-nav h2{font-size:17px;margin:5px 8px 7px;color:#142746}
body.portal-v2.xhm-client-page-domain .xhm-domain54-nav button{appearance:none;border:0;background:transparent;width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) 14px;gap:10px;align-items:center;text-align:left;padding:10px;border-radius:11px;color:#20324c;cursor:pointer;font:inherit}
body.portal-v2.xhm-client-page-domain .xhm-domain54-nav button:hover{background:#f5f9fd}
body.portal-v2.xhm-client-page-domain .xhm-domain54-nav button.active{background:#eaf4ff;color:#116edb;box-shadow:inset 0 0 0 1px #d7eaff}
body.portal-v2.xhm-client-page-domain .xhm-domain54-nav button i{width:34px;height:34px;border-radius:9px;background:#edf5ff;color:#1475e5;display:grid;place-items:center;font-style:normal;font-size:23px;font-weight:800}
body.portal-v2.xhm-client-page-domain .xhm-domain54-nav button i .xhm-icon{width:20px;height:20px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-nav button span{min-width:0}
body.portal-v2.xhm-client-page-domain .xhm-domain54-nav button b,body.portal-v2.xhm-client-page-domain .xhm-domain54-nav button small{display:block}
body.portal-v2.xhm-client-page-domain .xhm-domain54-nav button b{font-size:13px;line-height:1.22;color:#183051}
body.portal-v2.xhm-client-page-domain .xhm-domain54-nav button small{font-size:10.5px;color:#778aa5;margin-top:2px;line-height:1.25}
body.portal-v2.xhm-client-page-domain .xhm-domain54-nav button em{font-style:normal;font-size:22px;color:#54708e;text-align:center}
body.portal-v2.xhm-client-page-domain .xhm-domain54-content{min-width:0}
body.portal-v2.xhm-client-page-domain .xhm-domain54-panel{margin:0!important;min-width:0;padding:18px!important}
body.portal-v2.xhm-client-page-domain .xhm-domain54-panel[hidden]{display:none!important}
body.portal-v2.xhm-client-page-domain .xhm-domain54-panel-head{display:flex;align-items:center;gap:12px;margin-bottom:15px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-panel-head>i{width:44px;height:44px;flex:0 0 44px;border-radius:12px;background:#edf5ff;color:#1475e5;display:grid;place-items:center;font-style:normal;font-weight:900;font-size:24px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-panel-head>i .xhm-icon{width:25px;height:25px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-panel-head h2{margin:0;font-size:18px;color:#132643}
body.portal-v2.xhm-client-page-domain .xhm-domain54-panel-head p{margin:3px 0 0;color:#77879c;font-size:12px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-panel-head.compact{margin:0 0 10px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-panel-head.compact>i{width:38px;height:38px;flex-basis:38px;font-size:19px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-detail-list{border:1px solid #e4ebf3;border-radius:12px;overflow:hidden}
body.portal-v2.xhm-client-page-domain .xhm-domain54-detail-list>div{display:grid;grid-template-columns:minmax(135px,.42fr) minmax(0,1fr);gap:15px;padding:9px 13px;border-bottom:1px solid #edf1f6;align-items:center}
body.portal-v2.xhm-client-page-domain .xhm-domain54-detail-list>div:last-child{border-bottom:0}
body.portal-v2.xhm-client-page-domain .xhm-domain54-detail-list span{font-size:12px;color:#6f7f94}
body.portal-v2.xhm-client-page-domain .xhm-domain54-detail-list b{font-size:12px;color:#1a2f4f;overflow-wrap:anywhere}
body.portal-v2.xhm-client-page-domain .xhm-domain54-actions-block{margin-top:14px;border-top:1px solid #e9eff6;padding-top:14px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-action-grid>a,body.portal-v2.xhm-client-page-domain .xhm-domain54-action-grid>button{display:grid;grid-template-columns:34px minmax(0,1fr) 14px;gap:9px;align-items:center;text-align:left;border:1px solid #e3eaf3;background:#fff;border-radius:11px;padding:11px;color:#183051;font:inherit;text-decoration:none;cursor:pointer;min-width:0}
body.portal-v2.xhm-client-page-domain .xhm-domain54-action-grid>a:hover,body.portal-v2.xhm-client-page-domain .xhm-domain54-action-grid>button:hover{border-color:#bcd9fb;background:#f7fbff}
body.portal-v2.xhm-client-page-domain .xhm-domain54-action-grid>b{display:none}
body.portal-v2.xhm-client-page-domain .xhm-domain54-action-grid>a>b,body.portal-v2.xhm-client-page-domain .xhm-domain54-action-grid>button>b{width:34px;height:34px;border-radius:9px;background:#edf5ff;color:#1475e5;display:grid;place-items:center;font-size:20px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-action-grid strong,body.portal-v2.xhm-client-page-domain .xhm-domain54-action-grid small{display:block;line-height:1.25}
body.portal-v2.xhm-client-page-domain .xhm-domain54-action-grid strong{font-size:12px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-action-grid small{font-size:10.5px;color:#7b8ba0;margin-top:3px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-action-grid em{font-style:normal;font-size:20px;color:#56708e}
body.portal-v2.xhm-client-page-domain .xhm-domain54-setting-card,body.portal-v2.xhm-client-page-domain .xhm-domain54-lock-card,body.portal-v2.xhm-client-page-domain .xhm-domain54-cf-status{border:1px solid #e4ebf3;border-radius:13px;padding:16px;background:#fbfdff}
body.portal-v2.xhm-client-page-domain .xhm-domain54-setting-card h3,body.portal-v2.xhm-client-page-domain .xhm-domain54-lock-card h3,body.portal-v2.xhm-client-page-domain .xhm-domain54-cf-status h3{margin:4px 0 7px;font-size:21px;color:#142746}
body.portal-v2.xhm-client-page-domain .xhm-domain54-setting-card p,body.portal-v2.xhm-client-page-domain .xhm-domain54-lock-card p,body.portal-v2.xhm-client-page-domain .xhm-domain54-cf-status p{margin:0 0 14px;color:#748398;line-height:1.45;font-size:13px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-lock-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:15px;align-items:start}
body.portal-v2.xhm-client-page-domain .xhm-domain54-lock-card>form{grid-column:2}
body.portal-v2.xhm-client-page-domain .xhm-domain54-lock-icon{width:54px;height:54px;border-radius:15px;background:#eaf4ff;color:#1475e5;display:grid;place-items:center}
body.portal-v2.xhm-client-page-domain .xhm-domain54-lock-icon .xhm-icon{width:28px;height:28px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 13px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-form-grid label,body.portal-v2.xhm-client-page-domain .xhm-domain54-cloudflare-form label{display:grid;gap:5px;min-width:0}
body.portal-v2.xhm-client-page-domain .xhm-domain54-form-grid label>span,body.portal-v2.xhm-client-page-domain .xhm-domain54-cloudflare-form label>span,body.portal-v2.xhm-client-page-domain .xhm-domain54-private-grid label>span{font-size:12px;font-weight:760;color:#435674}
body.portal-v2.xhm-client-page-domain .xhm-domain54-form-grid input,body.portal-v2.xhm-client-page-domain .xhm-domain54-cloudflare-form input,body.portal-v2.xhm-client-page-domain .xhm-domain54-private-grid input,body.portal-v2.xhm-client-page-domain .xhm-domain54-renew-form select{width:100%;min-width:0;min-height:42px;border:1px solid #d9e2ec;border-radius:10px;background:#fff;padding:9px 11px;color:#142746;font:inherit;font-size:13px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-form-action{grid-column:1/-1;display:flex;justify-content:flex-start;margin-top:2px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-private-grid{display:grid;gap:10px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-private-row{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.8fr) minmax(0,.9fr);gap:10px;padding:11px;border:1px solid #e6edf5;border-radius:12px;background:#fbfdff}
body.portal-v2.xhm-client-page-domain .xhm-domain54-private-row label{display:grid;gap:5px;min-width:0}
body.portal-v2.xhm-client-page-domain .xhm-domain54-cloudflare-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-cloudflare-form .portal-notice,body.portal-v2.xhm-client-page-domain .xhm-domain54-cloudflare-form .xhm-domain54-form-action{grid-column:1/-1}
body.portal-v2.xhm-client-page-domain .xhm-domain54-cloudflare-form small{font-size:10px;color:#7d8da0}
body.portal-v2.xhm-client-page-domain .xhm-domain54-cf-status{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}
body.portal-v2.xhm-client-page-domain .xhm-domain54-cf-status>div:first-child{min-width:0;flex:1}
body.portal-v2.xhm-client-page-domain .xhm-domain54-cf-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
body.portal-v2.xhm-client-page-domain .xhm-domain54-cf-ns{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-cf-ns span{font-size:11px;background:#eaf4ff;color:#176ed3;border-radius:999px;padding:6px 9px;overflow-wrap:anywhere}
body.portal-v2.xhm-client-page-domain .xhm-domain54-error{color:#b42318!important}
body.portal-v2.xhm-client-page-domain .xhm-domain54-renew-grid{display:grid;grid-template-columns:minmax(250px,.75fr) minmax(0,1.25fr);gap:15px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-renew-grid>div{min-width:0;border:1px solid #e5ecf4;border-radius:12px;padding:14px;background:#fbfdff}
body.portal-v2.xhm-client-page-domain .xhm-domain54-renew-grid h3{margin:5px 0 8px;color:#142746}
body.portal-v2.xhm-client-page-domain .xhm-domain54-renew-grid p{color:#748398;font-size:12px;line-height:1.45}
body.portal-v2.xhm-client-page-domain .xhm-domain54-renew-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
body.portal-v2.xhm-client-page-domain .xhm-domain54-renew-form select{width:auto;min-width:120px}
body.portal-v2.xhm-client-page-domain .xhm-domain54-history .portal-list>div{padding:9px 0}

@media(max-width:900px){
 body.portal-v2.xhm-client-page-domain .xhm-domain54-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-summary>div:nth-child(2){border-right:0}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-summary>div:nth-child(-n+2){border-bottom:1px solid #e8eef6}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-workspace{grid-template-columns:1fr}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-nav{position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px!important}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-nav h2{grid-column:1/-1;margin:2px 2px 5px;font-size:19px}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-nav button{grid-template-columns:34px minmax(0,1fr);padding:10px;min-height:68px;border:1px solid #e5ecf4;background:#fff}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-nav button em{display:none}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-nav button small{font-size:10px}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-action-grid{grid-template-columns:1fr}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-renew-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
 body.portal-v2.xhm-client-page-domain .xhm-domain54-head{align-items:flex-end}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-head h1{font-size:27px}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-head-actions{align-self:center}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-renew-jump{padding-inline:13px!important}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-summary>div{padding:14px}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-summary span{font-size:11px}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-summary b{font-size:13px}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-nav{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-nav button{min-height:72px}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-panel{padding:15px!important}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-panel-head h2{font-size:18px}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-detail-list>div{grid-template-columns:1fr;gap:4px;padding:10px 12px}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-form-grid,body.portal-v2.xhm-client-page-domain .xhm-domain54-cloudflare-form{grid-template-columns:1fr}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-private-row{grid-template-columns:1fr}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-lock-card{grid-template-columns:1fr}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-lock-card>form{grid-column:1}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-cf-status{flex-direction:column}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-cf-actions{justify-content:flex-start}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-renew-form{align-items:stretch;flex-direction:column}
 body.portal-v2.xhm-client-page-domain .xhm-domain54-renew-form select{width:100%}
}

/* XHM 0.29.55 — Cloudflare DNS Push style unification */
body.portal-v2.xhm-client-page-domain .xhm-domain55-cloudflare{overflow:hidden}
body.portal-v2.xhm-client-page-domain .xhm-domain55-cf-hero{display:flex;gap:15px;align-items:center;padding:4px 0 16px;border-bottom:1px solid #e8eef5}
body.portal-v2.xhm-client-page-domain .xhm-domain55-cf-icon{width:58px;height:58px;border-radius:16px;background:#173e68;color:#fff;display:grid;place-items:center;font-size:28px;box-shadow:0 10px 22px rgba(23,62,104,.16);flex:0 0 auto}
body.portal-v2.xhm-client-page-domain .xhm-domain55-cf-hero h2{margin:0 0 4px;font-size:23px;color:#142746}
body.portal-v2.xhm-client-page-domain .xhm-domain55-cf-hero p{margin:0;color:#77879b;font-size:13px;line-height:1.5;max-width:720px}
body.portal-v2.xhm-client-page-domain .xhm-domain55-cf-info{display:flex;gap:10px;align-items:flex-start;margin:16px 0;padding:14px 15px;border:1px solid #cae0fa;border-radius:12px;background:#f0f7ff;color:#40546d}
body.portal-v2.xhm-client-page-domain .xhm-domain55-cf-info>b{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#2a7be4;color:#fff;flex:0 0 auto;font-size:13px}
body.portal-v2.xhm-client-page-domain .xhm-domain55-cf-info p{margin:0;font-size:12px;line-height:1.55}
body.portal-v2.xhm-client-page-domain .xhm-domain55-cf-form{background:#fbfdff;border:1px solid #e4ecf5;border-radius:13px;padding:15px!important}
body.portal-v2.xhm-client-page-domain .xhm-domain55-cf-form label{background:#fff;border:1px solid #edf1f6;border-radius:11px;padding:11px}
body.portal-v2.xhm-client-page-domain .xhm-domain55-cf-form label input{margin-top:2px}
body.portal-v2.xhm-client-page-domain .xhm-domain55-cf-connect{min-height:46px;padding-inline:20px!important}
body.portal-v2.xhm-client-page-domain .xhm-domain55-cf-connected{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;background:#fbfdff;border:1px solid #e4ecf5;border-radius:13px;padding:15px}
body.portal-v2.xhm-client-page-domain .xhm-domain55-cf-connected h3{margin:4px 0 6px;color:#142746}
body.portal-v2.xhm-client-page-domain .xhm-domain55-cf-connected p{margin:0;color:#748398;font-size:12px}
@media(max-width:640px){body.portal-v2.xhm-client-page-domain .xhm-domain55-cf-hero{align-items:flex-start}body.portal-v2.xhm-client-page-domain .xhm-domain55-cf-icon{width:50px;height:50px;font-size:24px}body.portal-v2.xhm-client-page-domain .xhm-domain55-cf-hero h2{font-size:20px}body.portal-v2.xhm-client-page-domain .xhm-domain55-cf-connected{flex-direction:column}body.portal-v2.xhm-client-page-domain .xhm-domain55-cf-form{padding:12px!important}}

/* XHM 0.29.58: domain-first linked hosting cards */
.xhm-modern-service-row-linked{cursor:default}
.xhm-modern-service-row-linked a{text-decoration:none}
.xhm-modern-service-icon-soft{background:#eaf3fb!important;color:#39759a!important;box-shadow:none!important}
.xhm-modern-service-copy{min-width:0}
.xhm-modern-service-domain-link,.xhm-modern-host-domain-link{display:block;color:#10233f;font-weight:800;text-decoration:none;overflow-wrap:anywhere}
.xhm-modern-service-domain-plain,.xhm-modern-host-domain-plain{display:block;color:#10233f;font-weight:800;overflow-wrap:anywhere}
.xhm-modern-service-domain-plain{font-size:16px;line-height:1.2;margin-bottom:2px}
.xhm-modern-host-domain-plain{font-size:19px;line-height:1.2;margin-bottom:4px}
.xhm-modern-service-domain-link{font-size:16px;line-height:1.2;margin-bottom:2px}
.xhm-modern-service-domain-link:hover,.xhm-modern-host-domain-link:hover{color:#1676df;text-decoration:underline}
.xhm-modern-service-domain-unlinked,.xhm-modern-host-domain-unlinked{display:block;color:var(--xhm-modern-muted);font-weight:700;font-size:13px;margin-bottom:2px}
.xhm-modern-service-product-link,.xhm-modern-host-service-link{display:block;color:#10233f;font-weight:700;text-decoration:none}
.xhm-modern-service-product-link{font-size:13px;line-height:1.2}
.xhm-modern-service-product-link:hover,.xhm-modern-host-service-link:hover{color:#1676df}
.xhm-modern-service-side .xhm-modern-manage{color:#27638f;text-decoration:none;font-weight:800}
.xhm-modern-host-domain-link{font-size:19px;line-height:1.2;margin-bottom:4px}
.xhm-modern-host-card-copy h2{margin:0!important;font-size:17px!important}
.xhm-modern-host-cycle{color:var(--xhm-modern-muted);font-size:13px;margin-top:2px}
@media(max-width:760px){
 body.portal-v2 .xhm-modern-service-domain-link{font-size:16px!important}
 body.portal-v2 .xhm-modern-service-product-link{font-size:12px!important}
 body.portal-v2 .xhm-modern-service-icon-soft{width:52px!important;height:52px!important;border-radius:14px!important}
 .xhm-modern-host-domain-link{font-size:20px}
}


/* XHM 0.29.65 — hosting-dashboard domain visibility */
body.portal-v2 .xhm-modern-service-summary-card .xhm-modern-service-domain-link,
body.portal-v2 .xhm-modern-service-summary-card .xhm-modern-service-domain-link:visited{color:#78c8ff!important;text-decoration:none;text-shadow:0 0 12px rgba(32,163,255,.22)}
body.portal-v2 .xhm-modern-service-summary-card .xhm-modern-service-domain-link:hover,
body.portal-v2 .xhm-modern-service-summary-card .xhm-modern-service-domain-link:focus{color:#b9e5ff!important;text-decoration:underline}

/* XHM 0.29.68 RTL support for international client languages */
html[dir="rtl"] body.portal-v2 .xhm-client-nav{direction:rtl}
html[dir="rtl"] body.portal-v2 .xhm-client-main,html[dir="rtl"] body.portal-v2 .xhm-client-top{direction:rtl}


/* XHM 0.29.69 — rebuilt client dashboard */
.xhm69-client-home{max-width:1180px;margin:0 auto;padding:22px 20px 110px}.xhm69-client-hero{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;padding:30px;border-radius:24px;background:linear-gradient(135deg,#102438,#183650 68%,#1d5278);color:#fff;box-shadow:0 20px 48px rgba(20,48,73,.16)}.xhm69-client-kicker{display:block;font-size:11px;font-weight:900;letter-spacing:.16em;color:#73c6ff}.xhm69-client-hero h1{margin:9px 0 7px;font-size:38px;letter-spacing:-.03em}.xhm69-client-hero p{margin:0;color:#bfd0df;max-width:660px;line-height:1.6}.xhm69-client-hero-actions{display:flex;gap:10px;flex-wrap:wrap}.xhm69-client-primary,.xhm69-client-secondary{display:inline-flex;align-items:center;justify-content:center;padding:12px 15px;border-radius:11px;text-decoration:none!important;font-weight:900}.xhm69-client-primary{background:#1985d1;color:#fff!important}.xhm69-client-secondary{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);color:#fff!important}.xhm69-client-pulse{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0 20px}.xhm69-client-pulse>a{padding:17px 18px;border-radius:17px;background:#fff;border:1px solid #e0e8f0;text-decoration:none!important;color:#182a3f;box-shadow:0 8px 22px rgba(26,51,78,.05)}.xhm69-client-pulse span,.xhm69-client-pulse small{display:block;color:#7b8796;font-size:12px}.xhm69-client-pulse b{display:block;margin:7px 0 4px;font-size:24px}.xhm69-client-main-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);gap:18px}.xhm69-client-panel{background:#fff;border:1px solid #e1e8ef;border-radius:20px;padding:20px;box-shadow:0 10px 28px rgba(28,51,77,.05)}.xhm69-client-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}.xhm69-client-panel-head span{display:block;font-size:10px;font-weight:900;letter-spacing:.14em;color:#2b79ad}.xhm69-client-panel-head h2{margin:4px 0 0;font-size:24px;color:#142940}.xhm69-client-panel-head>a{color:#2475a8;font-weight:900;text-decoration:none}.xhm69-service-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.xhm69-service-cards article{padding:17px;border:1px solid #e3eaf1;border-radius:16px;background:#fbfdff}.xhm69-service-card-top{display:flex;justify-content:space-between;align-items:center}.xhm69-service-mark{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#eaf4fb;color:#2478a8}.xhm69-service-mark svg{width:23px;height:23px}.xhm69-live-badge{font-size:9px;font-weight:900;color:#138b58;background:#e5f7ee;border-radius:999px;padding:6px 8px}.xhm69-domain{display:block;margin-top:16px;font-size:18px;font-weight:900;color:#126ea9;text-decoration:none}.xhm69-service-cards h3{font-size:15px;margin:5px 0 2px}.xhm69-service-cards small{color:#7f8b99}.xhm69-usage{margin-top:14px}.xhm69-usage>span{height:6px;border-radius:999px;background:#e9eef4;display:block;overflow:hidden}.xhm69-usage i{display:block;height:100%;background:#2b8ac7}.xhm69-usage small{display:block;margin-top:5px}.xhm69-manage{display:inline-block;margin-top:14px;text-decoration:none;font-weight:900;color:#1f6f9e}.xhm69-client-side{display:grid;gap:18px;align-content:start}.xhm69-renewal-list>div,.xhm69-list>a{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid #edf1f5;text-decoration:none;color:#22354b}.xhm69-renewal-list span b,.xhm69-list span b{display:block}.xhm69-renewal-list small,.xhm69-list small{display:block;color:#8893a0;margin-top:3px}.xhm69-renewal-list strong,.xhm69-list strong{font-size:12px;color:#466174}.xhm69-balance-box{margin-top:16px;padding:16px;border-radius:14px;background:#f1f7fb}.xhm69-balance-box span{display:block;color:#768493;font-size:12px}.xhm69-balance-box b{display:block;font-size:25px;margin:6px 0}.xhm69-balance-box a{font-weight:900;color:#2675a7;text-decoration:none}.xhm69-control-links{display:grid}.xhm69-control-links a{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid #edf1f5;text-decoration:none;color:#20334a;font-weight:800}.xhm69-control-links span{color:#2e78aa}.xhm69-client-lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}.xhm69-pending-section{margin-top:18px}.xhm69-muted{color:#7d8997;margin:0}.xhm69-empty{text-align:center;padding:34px 12px}.xhm69-empty h3{margin:0 0 7px}.xhm69-empty p{color:#7b8796;margin:0 0 16px}@media(max-width:900px){.xhm69-client-main-grid{grid-template-columns:1fr}.xhm69-client-pulse{grid-template-columns:repeat(2,1fr)}.xhm69-client-lower-grid{grid-template-columns:1fr}}@media(max-width:620px){.xhm69-client-home{padding:14px 12px 110px}.xhm69-client-hero{display:block;padding:22px;border-radius:20px}.xhm69-client-hero h1{font-size:31px}.xhm69-client-hero-actions{margin-top:18px}.xhm69-client-pulse{grid-template-columns:1fr 1fr;gap:9px}.xhm69-client-pulse>a{padding:14px}.xhm69-client-pulse b{font-size:21px}.xhm69-service-cards{grid-template-columns:1fr}.xhm69-client-panel{padding:17px}.xhm69-client-panel-head h2{font-size:21px}}


/* XHM 0.29.71 — quick language switch in the approved client header. */
body.portal-v2 .xhm-client-language-entry{position:relative;display:block}
body.portal-v2 .xhm-client-language-entry .xhm-quick-language{position:relative}
body.portal-v2 .xhm-client-language-entry .xhm-quick-language>summary{list-style:none;cursor:pointer;width:40px;height:40px;min-width:40px;border-radius:12px;border:1px solid #34383f;background:#202329;color:#fff;display:grid;place-items:center;padding:0;position:relative}
body.portal-v2 .xhm-client-language-entry .xhm-quick-language>summary::-webkit-details-marker{display:none}
body.portal-v2 .xhm-client-language-entry .xhm-lang-current{display:none}
body.portal-v2 .xhm-client-language-entry .xhm-lang-globe{font-size:17px;line-height:1}
body.portal-v2 .xhm-client-language-entry .xhm-quick-language>summary small{position:absolute;right:2px;bottom:2px;font-size:7px;line-height:1;background:#2e78c6;color:#fff;border-radius:6px;padding:2px 3px;font-weight:900;letter-spacing:.03em}
body.portal-v2 .xhm-client-language-entry .xhm-quick-language-panel{position:absolute;right:0;top:calc(100% + 9px);width:min(480px,92vw);max-height:min(70vh,600px);overflow:auto;padding:13px;background:#fff;color:#14243b;border:1px solid #dce5ef;border-radius:17px;box-shadow:0 22px 54px rgba(9,24,44,.28);z-index:160;display:grid;gap:10px}
body.portal-v2 .xhm-client-language-entry .xhm-quick-language-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;padding-bottom:9px;border-bottom:1px solid #e8edf3}
body.portal-v2 .xhm-client-language-entry .xhm-quick-language-head div{display:grid;gap:1px}body.portal-v2 .xhm-client-language-entry .xhm-quick-language-head small{font-size:9px;text-transform:uppercase;letter-spacing:.09em;color:#74839a;font-weight:900}body.portal-v2 .xhm-client-language-entry .xhm-quick-language-head strong{font-size:16px;color:#12243c}body.portal-v2 .xhm-client-language-entry .xhm-quick-language-head>span{font-size:9px;font-weight:850;background:#edf4fb;color:#5f7189;border-radius:999px;padding:5px 8px}
body.portal-v2 .xhm-client-language-entry .xhm-quick-language-search{width:100%;height:40px;border:1px solid #d7e1ec;border-radius:11px;padding:0 12px;background:#f9fbfd;color:#18283d;font:inherit}
body.portal-v2 .xhm-client-language-entry .xhm-quick-language-list{display:grid;grid-template-columns:1fr 1fr;gap:7px}
body.portal-v2 .xhm-client-language-entry .xhm-quick-language-choice{position:relative;display:grid;gap:2px;text-align:start;border:1px solid #dfe6ee;border-radius:11px;padding:9px 30px 9px 10px;background:#fff;color:#17283d;cursor:pointer;min-width:0}
body.portal-v2 .xhm-client-language-entry .xhm-quick-language-choice:hover{border-color:#8bbce3;background:#f7fbff}body.portal-v2 .xhm-client-language-entry .xhm-quick-language-choice.active{border-color:#2d82c7;background:#edf7ff}
body.portal-v2 .xhm-client-language-entry .xhm-quick-language-choice span{font-weight:850;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.portal-v2 .xhm-client-language-entry .xhm-quick-language-choice small{font-size:9px;color:#7b8999;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.portal-v2 .xhm-client-language-entry .xhm-quick-language-choice b{position:absolute;right:9px;top:50%;transform:translateY(-50%);color:#1d78bd}
body.portal-v2 .xhm-client-language-entry .xhm-quick-language-region{display:flex;justify-content:center;align-items:center;min-height:38px;border-radius:10px;background:#eef5fb;color:#235e91;font-weight:850;text-decoration:none;font-size:11px}
html[dir="rtl"] body.portal-v2 .xhm-client-language-entry .xhm-quick-language-panel{right:auto;left:0}
@media(max-width:760px){body.portal-v2 .xhm-client-language-entry .xhm-quick-language>summary{width:48px;height:48px;min-width:48px;border-radius:14px;background:#1f2227;border-color:#3a3d43}body.portal-v2 .xhm-client-language-entry .xhm-quick-language-panel{position:fixed;left:12px;right:12px;top:88px;width:auto;max-height:calc(100svh - 106px)}body.portal-v2 .xhm-client-language-entry .xhm-quick-language-list{grid-template-columns:1fr 1fr}}
@media(max-width:430px){body.portal-v2 .xhm-client-language-entry .xhm-quick-language>summary{width:44px;height:44px;min-width:44px}body.portal-v2 .xhm-client-actions{gap:6px!important}body.portal-v2 .xhm-client-language-entry .xhm-quick-language-list{grid-template-columns:1fr}body.portal-v2 .xhm-client-language-entry .xhm-quick-language-panel{left:10px;right:10px}}
@media(max-width:370px){body.portal-v2 .xhm-client-language-entry .xhm-quick-language>summary{width:40px;height:40px;min-width:40px}body.portal-v2 .xhm-modern-top-link,body.portal-v2 .xhm-client-account-btn{width:40px!important;height:40px!important;min-width:40px!important}.xhm-modern-mobile-brand .xhm-client-custom-logo{max-width:120px!important}}
@media(max-width:430px){body.portal-v2 .xhm-modern-mobile-brand .xhm-client-custom-logo{max-width:min(135px,34vw)!important}}

/* XHM 0.29.72 — client header international language + currency switcher. */
body.portal-v2 .xhm-client-language-entry .xhm-quick-region-panel{width:min(620px,94vw)}
body.portal-v2 .xhm-client-language-entry .xhm-region-slash,body.portal-v2 .xhm-client-language-entry .xhm-currency-current{display:none}
body.portal-v2 .xhm-client-language-entry .xhm-region-section{display:grid;gap:8px}
body.portal-v2 .xhm-client-language-entry .xhm-region-section+.xhm-region-section{border-top:1px solid #e9eef4;padding-top:11px}
body.portal-v2 .xhm-client-language-entry .xhm-region-section-title{display:flex;align-items:center;justify-content:space-between;gap:10px}
body.portal-v2 .xhm-client-language-entry .xhm-region-section-title b{font-size:12px;color:#17283d}body.portal-v2 .xhm-client-language-entry .xhm-region-section-title small{font-size:9px;color:#7b899a;text-transform:uppercase;letter-spacing:.06em}
body.portal-v2 .xhm-client-language-entry .xhm-quick-language-choice input{position:absolute;opacity:0;pointer-events:none}
body.portal-v2 .xhm-client-language-entry .xhm-quick-currency-list{display:grid;grid-template-columns:1fr 1fr;gap:7px}
body.portal-v2 .xhm-client-language-entry .xhm-quick-currency-choice{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;border:1px solid #dfe6ee;border-radius:11px;padding:9px 10px;background:#fff;color:#17283d;cursor:pointer;min-width:0}
body.portal-v2 .xhm-client-language-entry .xhm-quick-currency-choice input{position:absolute;opacity:0;pointer-events:none}body.portal-v2 .xhm-client-language-entry .xhm-quick-currency-choice.active{border-color:#2d82c7;background:#edf7ff}body.portal-v2 .xhm-client-language-entry .xhm-quick-currency-choice.disabled{opacity:.48;cursor:not-allowed;background:#f7f8fa}
body.portal-v2 .xhm-client-language-entry .xhm-currency-flag{font-size:20px;line-height:1}body.portal-v2 .xhm-client-language-entry .xhm-quick-currency-choice>span:nth-of-type(2){display:grid;min-width:0}body.portal-v2 .xhm-client-language-entry .xhm-quick-currency-choice b{font-size:11px}body.portal-v2 .xhm-client-language-entry .xhm-quick-currency-choice small{font-size:9px;color:#7b8999;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.portal-v2 .xhm-client-language-entry .xhm-quick-currency-choice em{font-size:8px;font-style:normal;color:#9a6d1e}body.portal-v2 .xhm-client-language-entry .xhm-quick-currency-choice strong{color:#1d78bd}
body.portal-v2 .xhm-client-language-entry .xhm-region-apply{border:0;border-radius:11px;min-height:42px;background:#176fbd;color:#fff;font:inherit;font-size:12px;font-weight:900;cursor:pointer}body.portal-v2 .xhm-client-language-entry .xhm-region-note{margin:0;color:#77879a;font-size:9px;line-height:1.45;text-align:center}
@media(max-width:430px){body.portal-v2 .xhm-client-language-entry .xhm-quick-currency-list{grid-template-columns:1fr}}

/* v0.29.88 WHMCS-style registration/contact controls */
.xhm-whmcs-form h2{margin:28px 0 14px}.xhm-already{border:1px solid #d7dee8;border-radius:10px;margin:0 0 22px;background:#fff}.xhm-already summary{padding:16px 18px;font-size:18px;font-weight:700;cursor:pointer}.xhm-already p{padding:0 18px 16px;margin:0}.xhm-whmcs-form select{min-height:48px}.xhm-whmcs-form [name=phone_country_code]{max-width:100%;font-size:15px}@media(max-width:640px){.xhm-whmcs-form [style*="grid-template-columns:110px"]{grid-template-columns:44% 56%!important;gap:0!important}.xhm-whmcs-form [name=phone_country_code]{border-radius:8px 0 0 8px}.xhm-whmcs-form [name=phone]{border-radius:0 8px 8px 0}}

/* ==========================================================================
   XHM 0.29.94 — admin mobile overflow containment
   - Activates the intended responsive rules with real CSS line breaks.
   - Integrity and registrar tables become readable cards on phones.
   - Long API/XML/event text wraps inside its panel instead of widening pages.
   ========================================================================== */
body:not(.portal-body):not(.portal-login-body):not(.storefront-body),
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .main,
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content{
  min-width:0!important;
  max-width:100%!important;
}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .panel,
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .grid2,
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .stats,
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .overview,
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .title-row,
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .actions{
  min-width:0!important;
  max-width:100%!important;
}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .panel p,
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .panel td,
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .panel th,
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .panel code,
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .panel b,
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .panel span,
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .panel a,
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .panel summary{
  overflow-wrap:anywhere;
  word-break:normal;
  max-width:100%;
}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .panel pre{
  width:100%;
  max-width:100%;
  margin:8px 0 0;
  white-space:pre-wrap!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  overflow-x:auto;
}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .panel input,
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .panel select,
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .panel textarea,
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .panel button{
  max-width:100%;
  min-width:0;
}

.xhm-integrity-table,
.xhm-registrar-job-table{
  width:100%;
  max-width:100%;
  table-layout:fixed;
}
.xhm-integrity-table th,
.xhm-integrity-table td,
.xhm-registrar-job-table th,
.xhm-registrar-job-table td{
  min-width:0!important;
  max-width:100%;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  vertical-align:top;
}
.xhm-registrar-job-wrap{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:hidden;
}
.xhm-registrar-job-table td:nth-child(5),
.xhm-registrar-response{
  min-width:0!important;
  width:auto!important;
  white-space:normal!important;
}
.xhm-registrar-job-table details,
.xhm-registrar-job-table summary,
.xhm-registrar-job-table pre{
  width:100%;
  max-width:100%;
  min-width:0;
}

@media(max-width:760px){
  html,body{max-width:100%!important;overflow-x:hidden!important}
  body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .main{
    margin-left:0!important;
    width:100%!important;
    max-width:100vw!important;
    min-width:0!important;
    overflow-x:hidden!important;
  }
  body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .content{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    padding-left:14px!important;
    padding-right:14px!important;
    overflow-x:hidden!important;
  }
  body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .panel{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .grid2,
  body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .stats{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    grid-template-columns:minmax(0,1fr)!important;
  }

  .xhm-integrity-table,
  .xhm-integrity-table tbody,
  .xhm-integrity-table tr,
  .xhm-integrity-table td,
  .xhm-registrar-job-table,
  .xhm-registrar-job-table tbody,
  .xhm-registrar-job-table tr,
  .xhm-registrar-job-table td{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
  .xhm-integrity-table>tbody>tr:first-child,
  .xhm-registrar-job-table>tbody>tr:first-child{
    display:none!important;
  }
  .xhm-integrity-table tr,
  .xhm-registrar-job-table tr{
    margin:0 0 12px!important;
    padding:10px 12px!important;
    border:1px solid #e3e9f1!important;
    border-radius:14px!important;
    background:#fff!important;
    box-shadow:0 4px 14px rgba(20,50,85,.04)!important;
    overflow:hidden!important;
  }
  .xhm-integrity-table td,
  .xhm-registrar-job-table td{
    border:0!important;
    border-bottom:1px solid #eef2f6!important;
    padding:9px 0!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  .xhm-integrity-table td:last-child,
  .xhm-registrar-job-table td:last-child{
    border-bottom:0!important;
  }
  .xhm-integrity-table td::before,
  .xhm-registrar-job-table td::before{
    display:block;
    margin-bottom:3px;
    color:#7a889b;
    font-size:10px;
    line-height:1.25;
    font-weight:850;
    letter-spacing:.035em;
    text-transform:uppercase;
  }
  .xhm-integrity-table code,
  .xhm-registrar-job-table code,
  .xhm-integrity-table b,
  .xhm-registrar-job-table b,
  .xhm-integrity-table span,
  .xhm-registrar-job-table span{
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  .xhm-integrity-table .badge,
  .xhm-registrar-job-table .badge{
    display:inline-flex!important;
    width:auto!important;
  }
  .xhm-registrar-job-table details{margin-top:5px}
  .xhm-registrar-job-table summary{cursor:pointer;white-space:normal!important}

  .xhm-integrity-ui-table td:nth-child(1)::before{content:'Surface'}
  .xhm-integrity-ui-table td:nth-child(2)::before{content:'Protected file'}
  .xhm-integrity-ui-table td:nth-child(3)::before{content:'Baseline'}
  .xhm-integrity-ui-table td:nth-child(4)::before{content:'Last auto-restore'}

  .xhm-integrity-review-table td:nth-child(1)::before{content:'Area'}
  .xhm-integrity-review-table td:nth-child(2)::before{content:'Item'}
  .xhm-integrity-review-table td:nth-child(3)::before{content:'Problem'}

  .xhm-integrity-events-table td:nth-child(1)::before{content:'Last seen'}
  .xhm-integrity-events-table td:nth-child(2)::before{content:'Severity'}
  .xhm-integrity-events-table td:nth-child(3)::before{content:'Area'}
  .xhm-integrity-events-table td:nth-child(4)::before{content:'Event'}
  .xhm-integrity-events-table td:nth-child(5)::before{content:'Status'}
  .xhm-integrity-events-table td:nth-child(6)::before{content:'Message'}

  .xhm-registrar-job-table td:nth-child(1)::before{content:'Job'}
  .xhm-registrar-job-table td:nth-child(2)::before{content:'Action'}
  .xhm-registrar-job-table td:nth-child(3)::before{content:'Status'}
  .xhm-registrar-job-table td:nth-child(4)::before{content:'Attempts'}
  .xhm-registrar-job-table td:nth-child(5)::before{content:'Response'}
  .xhm-registrar-job-table td:nth-child(6)::before{content:'Action'}
}


/* XHM 0.29.95 — approved global button standard
   Standard action controls use a 42px minimum height and 16px label text.
   Status chips/badges, icon-only utilities, mobile nav tabs, switches and card navigation are intentionally excluded. */
:root{--xhm-button-height:42px;--xhm-button-font-size:16px;--xhm-button-radius:10px}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) :is(
  .btn,.primary,a.btn,a.primary,button.btn,button.primary,
  .xhm-list-search button,.service-search-form button,.ticket-filters button,
  .xhm-theme-actions button,.xhm-language-admin-tools button,.xhm-credit-reserved-recovery button
){
  min-height:var(--xhm-button-height)!important;
  height:auto!important;
  padding:0 16px!important;
  font-size:var(--xhm-button-font-size)!important;
  line-height:1.15!important;
  font-weight:700!important;
  border-radius:var(--xhm-button-radius)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
body:not(.portal-body):not(.portal-login-body):not(.storefront-body) :is(.xhm-status-tabs a,.service-filter-tabs a,.xhm-pager a){
  min-height:var(--xhm-button-height)!important;
  height:var(--xhm-button-height)!important;
  padding:0 16px!important;
  font-size:var(--xhm-button-font-size)!important;
  line-height:1.15!important;
  border-radius:var(--xhm-button-radius)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  white-space:nowrap!important;
}
body.portal-body :is(.portal-btn,.xhm-summary-button,.xhm-help-primary,.xhm-help-secondary,.xhm-control-list a),
body.portal-login-body :is(button,.primary,.portal-btn),
.login-body .login-card button{
  min-height:var(--xhm-button-height)!important;
  height:auto!important;
  padding:0 16px!important;
  font-size:var(--xhm-button-font-size)!important;
  line-height:1.15!important;
  font-weight:700!important;
  border-radius:11px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
}
body.portal-body .xhm-modern-home-actions>a,
body.portal-body .xhm-modern-home-actions>button{
  min-height:var(--xhm-button-height)!important;
  height:var(--xhm-button-height)!important;
  padding:0 16px!important;
  font-size:var(--xhm-button-font-size)!important;
  line-height:1.15!important;
}
@media(max-width:760px){
  body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .xhm-status-tabs,
  body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .service-filter-tabs{
    display:flex!important;
    grid-template-columns:none!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    width:100%!important;
    max-width:100%!important;
    gap:8px!important;
    padding-bottom:2px!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch;
  }
  body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .xhm-status-tabs::-webkit-scrollbar,
  body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .service-filter-tabs::-webkit-scrollbar{display:none!important}
  body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .xhm-status-tabs a,
  body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .service-filter-tabs a{
    flex:0 0 auto!important;
    width:auto!important;
    min-width:max-content!important;
    white-space:nowrap!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
  }
}


/* XHM 0.29.96 — compact expandable record experience
   Adapted from dense hosting-control-panel list ergonomics while retaining Xaro branding.
   Mobile list rows stay compact until opened; desktop keeps the richer existing tables/cards. */
.xhm-compact-credit{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;
  margin:0 0 14px;padding:16px 18px;border:1px solid #dfe7f1;border-radius:16px;background:#fff;
  box-shadow:0 10px 28px rgba(20,49,82,.05)
}
.xhm-compact-credit span{display:block;color:#748195;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.xhm-compact-credit strong{display:block;margin-top:4px;color:#152a45;font-size:24px;line-height:1.1}
.xhm-compact-credit .portal-btn{margin:0!important}
.xhm-compact-mobile-list{display:none}
@media(max-width:760px){
  body.portal-v2 .xhm-compact-credit{grid-template-columns:1fr!important;padding:15px!important;gap:10px!important}
  body.portal-v2 .xhm-compact-credit strong{font-size:23px!important}
  body.portal-v2 .xhm-compact-credit .portal-btn{width:100%!important}
  body.portal-v2 .xhm-compact-mobile-list{display:grid!important;gap:0!important;border:1px solid #dfe7f1;border-radius:15px;overflow:hidden;background:#fff}
  body.portal-v2 .xhm-desktop-list-surface{display:none!important}
  body.portal-v2 .xhm-table-panel{padding:0!important;overflow:hidden!important}
  body.portal-v2 .xhm-table-panel>.xhm-table-meta{padding:12px 14px!important;border-bottom:1px solid #e6edf5!important;margin:0!important}
  body.portal-v2 .xhm-compact-row{margin:0!important;border:0!important;border-bottom:1px solid #e4ebf4!important;background:#fff!important}
  body.portal-v2 .xhm-compact-row:last-child{border-bottom:0!important}
  body.portal-v2 .xhm-compact-row>summary{
    list-style:none!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;
    min-height:72px!important;padding:11px 13px 11px 0!important;cursor:pointer!important;color:#17263c!important;background:#fff!important
  }
  body.portal-v2 .xhm-compact-row>summary::-webkit-details-marker{display:none!important}
  body.portal-v2 .xhm-compact-row[open]>summary{background:#f6faff!important}
  body.portal-v2 .xhm-compact-toggle{width:42px;height:100%;min-height:72px;display:grid;place-items:center;background:#f3f6fa;border-right:1px solid #e1e8f1;color:#536274;font-size:0}
  body.portal-v2 .xhm-compact-toggle::before{content:'+';font-size:26px;line-height:1;font-weight:500}
  body.portal-v2 .xhm-compact-row[open] .xhm-compact-toggle::before{content:'−'}
  body.portal-v2 .xhm-compact-main{min-width:0;display:block}
  body.portal-v2 .xhm-compact-main small,body.portal-v2 .xhm-compact-main b,body.portal-v2 .xhm-compact-main em{display:block;min-width:0;overflow-wrap:anywhere}
  body.portal-v2 .xhm-compact-main small{color:#758397;font-size:11px;font-weight:800}
  body.portal-v2 .xhm-compact-main b{margin-top:3px;color:#172a45;font-size:15px;line-height:1.28}
  body.portal-v2 .xhm-compact-main em{margin-top:3px;color:#6f7f93;font-size:11px;font-style:normal}
  body.portal-v2 .xhm-compact-row>summary>.xhm-table-chip{justify-self:end;white-space:nowrap!important}
  body.portal-v2 .xhm-compact-details{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;padding:0 13px 13px 42px!important;background:#f7fbff!important;border-top:1px solid #e5edf6!important}
  body.portal-v2 .xhm-compact-details>div{min-width:0;padding:11px 10px;border-bottom:1px solid #e7eef6}
  body.portal-v2 .xhm-compact-details>div:nth-last-of-type(-n+2){border-bottom:0}
  body.portal-v2 .xhm-compact-details span{display:block;color:#78879a;font-size:11px;font-weight:700}
  body.portal-v2 .xhm-compact-details b{display:block;margin-top:3px;color:#1b2f4a;font-size:14px;overflow-wrap:anywhere}
  body.portal-v2 .xhm-compact-details>.portal-btn{grid-column:1/-1;width:100%!important;margin:10px 0 0!important}
  body.portal-v2 .xhm-client-pager{margin-top:14px!important}
}
@media(max-width:390px){
  body.portal-v2 .xhm-compact-row>summary{grid-template-columns:38px minmax(0,1fr)!important}
  body.portal-v2 .xhm-compact-row>summary>.xhm-table-chip{grid-column:2!important;justify-self:start!important;margin-top:3px!important}
  body.portal-v2 .xhm-compact-toggle{width:38px;min-height:82px}
  body.portal-v2 .xhm-compact-details{grid-template-columns:1fr!important;padding-left:38px!important}
  body.portal-v2 .xhm-compact-details>div{border-bottom:1px solid #e7eef6!important}
  body.portal-v2 .xhm-compact-details>div:last-of-type{border-bottom:0!important}
}

/* XHM 0.29.96 — compact expandable Admin order/invoice lists on phones.
   Desktop retains the existing card grid. */
.xhm-admin-compact-list{display:none}
@media(max-width:760px){
  body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .xhm-admin-compact-list{
    display:grid!important;gap:0!important;margin:0 0 14px!important;border:1px solid #dbe4ef!important;border-radius:15px!important;overflow:hidden!important;background:#fff!important
  }
  body:not(.portal-body):not(.portal-login-body):not(.storefront-body) .xhm-admin-desktop-list{display:none!important}
  .xhm-admin-compact-row{margin:0!important;border:0!important;border-bottom:1px solid #e3eaf2!important;background:#fff!important}
  .xhm-admin-compact-row:last-child{border-bottom:0!important}
  .xhm-admin-compact-row>summary{list-style:none!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;min-height:72px!important;padding:10px 12px 10px 0!important;cursor:pointer!important}
  .xhm-admin-compact-row>summary::-webkit-details-marker{display:none!important}
  .xhm-admin-compact-row[open]>summary{background:#f6faff!important}
  .xhm-admin-compact-toggle{width:42px;height:100%;min-height:72px;display:grid;place-items:center;background:#f5f7fa;border-right:1px solid #e2e8ef;font-size:0;color:#526173}
  .xhm-admin-compact-toggle::before{content:'+';font-size:25px;font-weight:500;line-height:1}
  .xhm-admin-compact-row[open] .xhm-admin-compact-toggle::before{content:'−'}
  .xhm-admin-compact-row>summary>div{min-width:0}
  .xhm-admin-compact-row>summary small,.xhm-admin-compact-row>summary b,.xhm-admin-compact-row>summary em{display:block;min-width:0;overflow-wrap:anywhere}
  .xhm-admin-compact-row>summary small{font-size:11px;color:#6f7e91;font-weight:800}
  .xhm-admin-compact-row>summary b{margin-top:3px;font-size:15px;color:#17263c;line-height:1.25}
  .xhm-admin-compact-row>summary em{margin-top:3px;font-size:11px;color:#78869a;font-style:normal}
  .xhm-admin-compact-row>summary>.badge{justify-self:end;white-space:nowrap!important}
  .xhm-admin-compact-details{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;padding:0 12px 12px 42px!important;background:#f7fbff!important;border-top:1px solid #e4ebf4!important}
  .xhm-admin-compact-details>div{padding:11px 9px;min-width:0}
  .xhm-admin-compact-details span{display:block;color:#78869a;font-size:11px;font-weight:700}
  .xhm-admin-compact-details b{display:block;margin-top:3px;color:#182c47;font-size:14px;overflow-wrap:anywhere}
  .xhm-admin-compact-details>a{grid-column:1/-1;width:100%!important;margin-top:8px!important}
}
@media(max-width:390px){
  .xhm-admin-compact-row>summary{grid-template-columns:38px minmax(0,1fr)!important}
  .xhm-admin-compact-row>summary>.badge{grid-column:2!important;justify-self:start!important;margin-top:3px!important}
  .xhm-admin-compact-toggle{width:38px;min-height:82px}
  .xhm-admin-compact-details{grid-template-columns:1fr!important;padding-left:38px!important}
  .xhm-admin-compact-details>a{grid-column:1!important}
}
