/* Approved STAX UI review theme: restrained rainbow aura with stable surfaces. */
@keyframes stax-aura-shift{0%,100%{transform:translate3d(-2%,0,0) scale(1)}50%{transform:translate3d(3%,-2%,0) scale(1.06)}}

/* V36: shared Mail aura and a rainbow login frame on desktop and phones. */
body.ui-v7:not(.mail-app-shell){position:relative;isolation:isolate;background:linear-gradient(145deg,#f7fbff 0%,#faf8ff 35%,#fff8fc 68%,#fffaf1 100%)!important}
body.ui-v7:not(.mail-app-shell)::before{content:"";position:fixed;z-index:-2;inset:0;pointer-events:none;background:radial-gradient(circle at 4% 14%,rgba(62,199,255,.2),transparent 27%),radial-gradient(circle at 94% 18%,rgba(146,99,255,.18),transparent 29%),radial-gradient(circle at 88% 78%,rgba(255,102,170,.16),transparent 29%),radial-gradient(circle at 10% 90%,rgba(255,190,57,.16),transparent 27%);background-size:120% 120%;animation:stax-mail-page-rainbow 18s ease-in-out infinite}
.stax-dark body.ui-v7:not(.mail-app-shell),html.stax-dark body.ui-v7:not(.mail-app-shell){background:linear-gradient(145deg,#080d16 0%,#100c1b 36%,#170b17 69%,#171108 100%)!important}
.stax-dark body.ui-v7:not(.mail-app-shell)::before,html.stax-dark body.ui-v7:not(.mail-app-shell)::before{background:radial-gradient(circle at 4% 14%,rgba(47,196,255,.3),transparent 28%),radial-gradient(circle at 94% 18%,rgba(132,82,255,.27),transparent 30%),radial-gradient(circle at 88% 78%,rgba(255,73,155,.23),transparent 30%),radial-gradient(circle at 10% 90%,rgba(255,173,28,.21),transparent 28%);filter:saturate(1.14) brightness(1.06)}
.ui-v7.mail-login-shell .mail-login-v5{padding:.5rem!important;background:linear-gradient(125deg,rgba(55,197,255,.72),rgba(132,87,255,.67) 35%,rgba(255,83,161,.63) 68%,rgba(255,183,39,.65))!important;background-size:220% 220%!important;animation:stax-login-rainbow 12s ease-in-out infinite!important;box-shadow:0 1rem 3.5rem rgba(93,91,211,.2)!important}
.ui-v7.mail-login-shell .mail-login-grid{overflow:hidden;border-radius:calc(var(--stax-radius-card,1rem) - .25rem);background:var(--stax-color-surface)}
.ui-v7.mail-login-shell .mail-login-workspace{background:color-mix(in srgb,var(--stax-color-surface) 95%,transparent)!important;backdrop-filter:blur(1rem)}
.stax-dark.ui-v7.mail-login-shell .mail-login-v5{filter:none!important;background:linear-gradient(125deg,rgba(42,195,255,.78),rgba(121,70,255,.73) 35%,rgba(255,65,150,.68) 68%,rgba(255,168,24,.7))!important}
@keyframes stax-mail-page-rainbow{0%,100%{background-position:0% 0%}50%{background-position:100% 100%}}
@keyframes stax-login-rainbow{0%,100%{background-position:0% 48%}50%{background-position:100% 52%}}

.mail-easy-strip,.mail-easy-features,.number-grid,.mail-app{position:relative;isolation:isolate}
.mail-entry-v6::before{background:linear-gradient(135deg,#2563eb 4%,#7c3aed 40%,#ec4899 70%,#f59e0b)!important;background-size:180% 180%!important;animation:stax-mail-entry-aura 10s ease-in-out infinite!important}
.stax-dark.ui-v7 .mail-entry-v6::before{filter:saturate(1.2) brightness(1.18);opacity:1!important;box-shadow:0 2rem 5rem rgba(124,58,237,.3)!important}
@keyframes stax-mail-entry-aura{0%,100%{background-position:0% 45%;transform:rotate(15deg) translate3d(0,0,0)}50%{background-position:100% 55%;transform:rotate(12deg) translate3d(-.75rem,.5rem,0)}}
.mail-easy-strip,.mail-easy-features,.number-grid{padding:.75rem;border-radius:1.625rem;background:linear-gradient(125deg,rgba(83,201,255,.23),rgba(151,116,255,.19) 36%,rgba(255,130,184,.18) 68%,rgba(255,207,105,.2));overflow:hidden}
.mail-easy-strip::before,.mail-easy-features::before,.number-grid::before,.mail-app-shell>main::before{content:"";position:absolute;z-index:-1;inset:-34%;background:radial-gradient(circle at 16% 22%,rgba(73,202,255,.4),transparent 27%),radial-gradient(circle at 82% 18%,rgba(166,111,255,.34),transparent 27%),radial-gradient(circle at 76% 82%,rgba(255,124,178,.28),transparent 28%),radial-gradient(circle at 18% 80%,rgba(255,209,101,.24),transparent 25%);filter:blur(1.75rem);animation:stax-aura-shift 14s ease-in-out infinite}
.number-grid{background:linear-gradient(125deg,rgba(62,197,255,.36),rgba(139,104,255,.32) 36%,rgba(255,103,171,.3) 68%,rgba(255,190,63,.32));box-shadow:0 1rem 3rem rgba(88,106,218,.13)}
.number-grid::before{background:radial-gradient(circle at 16% 22%,rgba(56,196,255,.62),transparent 28%),radial-gradient(circle at 82% 18%,rgba(154,91,255,.56),transparent 29%),radial-gradient(circle at 76% 82%,rgba(255,88,158,.48),transparent 29%),radial-gradient(circle at 18% 80%,rgba(255,187,49,.44),transparent 27%);filter:blur(1.45rem) saturate(1.12)}
.mail-easy-strip>article,.mail-easy-features>article,.number-grid>:where(section,article){border-color:color-mix(in srgb,#fff 72%,var(--stax-color-border))!important;box-shadow:0 .75rem 2.25rem rgba(43,63,101,.07)!important}

.mail-login-intro{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(150deg,#172033,#222c48)!important}
.mail-login-intro::before{content:"";position:absolute;z-index:-1;inset:-30%;background:radial-gradient(circle at 22% 28%,rgba(70,190,255,.66),transparent 30%),radial-gradient(circle at 78% 22%,rgba(163,91,255,.58),transparent 32%),radial-gradient(circle at 72% 82%,rgba(255,91,157,.5),transparent 32%),radial-gradient(circle at 18% 82%,rgba(255,190,62,.42),transparent 30%);filter:blur(1.5rem);animation:stax-aura-shift 10s ease-in-out infinite}

.mail-app-shell>main{position:relative;isolation:isolate;overflow:hidden;padding:.625rem;background:linear-gradient(120deg,rgba(93,201,255,.28),rgba(147,115,255,.23) 36%,rgba(255,130,184,.21) 68%,rgba(255,207,105,.22))}
.mail-app-shell .mail-app{height:calc(100dvh - 1.25rem);overflow:hidden;border:1px solid color-mix(in srgb,#fff 58%,var(--stax-color-border));border-radius:1.25rem;box-shadow:0 .75rem 2.375rem rgba(45,65,98,.08)}
.mail-app-shell :where(.mail-sidebar,.mail-list-pane,.mail-reader){background:color-mix(in srgb,var(--stax-color-surface) 91%,transparent);backdrop-filter:blur(1.125rem)}
.mail-app-shell .message-row.selected,.mail-app-shell [data-message].selected{position:relative;background:linear-gradient(90deg,color-mix(in srgb,#64c7ff 12%,var(--stax-color-surface)),color-mix(in srgb,#a782ff 8%,var(--stax-color-surface)),color-mix(in srgb,#ff85b5 7%,var(--stax-color-surface)))}
.mail-app-shell .message-row.selected::before,.mail-app-shell [data-message].selected::before{content:"";position:absolute;inset-block:0;left:0;width:.1875rem;background:linear-gradient(#54c9ff,#9078ff,#ff86b4)}

.stax-dark :where(.mail-easy-strip>article,.mail-easy-features>article,.number-grid>section,.number-grid>article){border-color:var(--stax-color-border)!important}
.stax-dark .mail-app-shell :where(.mail-sidebar,.mail-list-pane,.mail-reader){background:color-mix(in srgb,var(--stax-color-surface) 94%,transparent)}
.stax-dark.ui-v7 :where(.mail-easy-strip,.mail-easy-features,.number-grid){background:linear-gradient(125deg,rgba(54,193,255,.48),rgba(135,91,255,.43) 36%,rgba(255,91,162,.4) 68%,rgba(255,190,58,.42))!important;box-shadow:0 0 2.75rem rgba(103,112,255,.13)!important}
.stax-dark.ui-v7 .number-grid{background:linear-gradient(125deg,rgba(45,194,255,.68),rgba(126,76,255,.62) 36%,rgba(255,71,151,.58) 68%,rgba(255,175,33,.6))!important;box-shadow:0 0 3.5rem rgba(109,104,255,.24)!important}
.stax-dark.ui-v7 .mail-easy-strip .strip-create{background:linear-gradient(145deg,#c94f39,#b72e62)!important;color:#fff!important}
.stax-dark.ui-v7 .mail-easy-strip .strip-inbox{background:linear-gradient(145deg,#5d48d9,#344cb7)!important;color:#fff!important}
.stax-dark.ui-v7 .mail-easy-strip .strip-bulk{background:linear-gradient(145deg,#109582,#076a9d)!important;color:#fff!important}
.stax-dark.ui-v7 .mail-easy-strip .strip-live{background:linear-gradient(145deg,#151e43,#2b406c)!important;color:#fff!important}
.stax-dark.ui-v7 :where(.mail-easy-strip,.mail-easy-features,.number-grid,.mail-app-shell) :where(img,picture,video){filter:none!important;opacity:1!important}

@keyframes stax-mobile-rainbow-pan{0%,100%{background-position:0% 45%}50%{background-position:100% 55%}}
@media(max-width:47.9375rem){
  .mail-easy-strip,.mail-easy-features,.number-grid{padding:.5rem;border-radius:1.25rem;background:linear-gradient(125deg,rgba(57,199,255,.5),rgba(137,91,255,.44) 35%,rgba(255,91,166,.4) 68%,rgba(255,188,50,.42))!important;background-size:220% 220%!important;animation:stax-mobile-rainbow-pan 12s ease-in-out infinite!important;box-shadow:0 .875rem 2.5rem rgba(90,99,214,.16)!important}
  .mail-easy-strip::before,.mail-easy-features::before,.number-grid::before,.mail-app-shell>main::before{display:block!important;opacity:1!important;animation:stax-aura-shift 12s ease-in-out infinite!important}
  .mail-easy-strip>article,.mail-easy-features>article,.number-grid>:where(section,article){position:relative!important;z-index:1!important;background-color:color-mix(in srgb,var(--stax-color-surface) 90%,transparent)!important;backdrop-filter:blur(.875rem)!important}
  .mail-app-shell>main{padding:.375rem;background:linear-gradient(125deg,rgba(57,199,255,.48),rgba(137,91,255,.42) 36%,rgba(255,91,166,.38) 68%,rgba(255,188,50,.4))!important;background-size:220% 220%!important;animation:stax-mobile-rainbow-pan 12s ease-in-out infinite!important}
  .mail-app-shell .mail-app{height:calc(100dvh - .75rem);border:1px solid color-mix(in srgb,#fff 58%,var(--stax-color-border));border-radius:1rem}
  .number-grid{margin-inline:-.5rem!important}
  .stax-dark.ui-v7 :where(.mail-easy-strip,.mail-easy-features,.number-grid){filter:none!important;background:linear-gradient(125deg,rgba(42,195,255,.7),rgba(122,72,255,.65) 36%,rgba(255,67,151,.61) 68%,rgba(255,170,27,.63))!important;background-size:220% 220%!important}
  .ui-v7.mail-login-shell #main{background:transparent!important}
  .ui-v7.mail-login-shell .mail-login-v5{padding:.375rem!important;border:0!important;border-radius:1.125rem!important}
  .ui-v7.mail-login-shell .mail-login-grid{border-radius:.875rem!important}
}

/* V56: Number and mailbox login use the same continuous rainbow canvas. */
html:has(body.ui-v7.number-page),
body.ui-v7.number-page,
html:has(body.ui-v7.mail-login-shell),
body.ui-v7.mail-login-shell{
  min-height:100%;
  background:
    radial-gradient(circle at 5% 9%,rgba(55,201,255,.22),transparent 29%),
    radial-gradient(circle at 96% 30%,rgba(145,96,255,.2),transparent 32%),
    radial-gradient(circle at 15% 78%,rgba(255,192,65,.16),transparent 30%),
    radial-gradient(circle at 88% 88%,rgba(255,94,165,.18),transparent 32%),
    linear-gradient(145deg,#f5fbff,#f8f5ff 48%,#fff6fa)!important;
  background-attachment:fixed!important;
}
html.stax-dark:has(body.ui-v7.number-page),
body.ui-v7.number-page.stax-dark,
html.stax-dark:has(body.ui-v7.mail-login-shell),
body.ui-v7.mail-login-shell.stax-dark{
  background:
    radial-gradient(circle at 5% 9%,rgba(38,194,255,.25),transparent 30%),
    radial-gradient(circle at 96% 30%,rgba(124,72,255,.24),transparent 33%),
    radial-gradient(circle at 15% 78%,rgba(255,166,29,.16),transparent 31%),
    radial-gradient(circle at 88% 88%,rgba(255,65,151,.2),transparent 33%),
    linear-gradient(145deg,#070d16,#0f0b1a 48%,#170a16)!important;
}
body.ui-v7.number-page>#main,
body.ui-v7.mail-login-shell>#main{background:transparent!important}
body.ui-v7.number-page .number-shell{
  width:min(var(--mail-polish-width),calc(100% - (var(--mail-polish-gutter) * 2)))!important;
  max-width:var(--mail-polish-width)!important;
  margin-inline:auto!important;
  padding-top:clamp(1.5rem,4vw,3rem)!important;
  padding-bottom:clamp(2.5rem,5vw,5rem)!important;
}
body.ui-v7.number-page .number-grid{
  padding:clamp(.55rem,1.2vw,.85rem)!important;
  border:1px solid rgba(117,121,255,.2)!important;
  border-radius:1.625rem!important;
  background:linear-gradient(125deg,rgba(55,201,255,.34),rgba(137,91,255,.3) 36%,rgba(255,91,166,.26) 68%,rgba(255,188,50,.28))!important;
  box-shadow:0 1.5rem 4rem rgba(39,52,91,.13)!important;
}
body.ui-v7.number-page .number-grid>:where(section,article){min-width:0!important;height:auto!important}
body.ui-v7.number-page :where(.number-hero,.number-overview,.license-panel,.number-result,.policy-note){box-shadow:0 .75rem 2.25rem rgba(34,48,84,.07)!important}

body.ui-v7.mail-login-shell .mail-login-v5{
  width:min(80rem,calc(100% - 2rem))!important;
  max-width:80rem!important;
  margin:clamp(1rem,3vw,2.5rem) auto!important;
  padding:.65rem!important;
  border:0!important;
  border-radius:1.75rem!important;
  background:linear-gradient(125deg,rgba(54,201,255,.55),rgba(137,91,255,.48) 36%,rgba(255,91,166,.43) 68%,rgba(255,188,50,.45))!important;
  box-shadow:0 1.75rem 5rem rgba(30,41,75,.17)!important;
}
body.ui-v7.mail-login-shell .mail-login-grid{
  overflow:hidden!important;
  border-radius:1.25rem!important;
  background:rgba(255,255,255,.96)!important;
}
body.ui-v7.mail-login-shell.stax-dark .mail-login-grid{background:#111722!important}
body.ui-v7.mail-login-shell:not(.stax-dark) .mail-login-intro{
  background:
    radial-gradient(circle at 12% 15%,rgba(67,205,255,.3),transparent 35%),
    radial-gradient(circle at 88% 80%,rgba(255,97,170,.25),transparent 36%),
    linear-gradient(145deg,#eefaff,#f5edff 52%,#fff3e3)!important;
  color:#111827!important;
}
body.ui-v7.mail-login-shell:not(.stax-dark) .mail-login-intro :where(h1,dd){color:#111827!important;-webkit-text-fill-color:#111827!important}
body.ui-v7.mail-login-shell:not(.stax-dark) .mail-login-intro :where(p,dt){color:#475569!important;-webkit-text-fill-color:#475569!important}
body.ui-v7.mail-login-shell .mail-login-workspace{background:transparent!important}

.stax-loading-overlay{
  position:fixed;
  z-index:2147483600;
  inset:0;
  display:grid;
  place-items:center;
  padding:1.25rem;
  background:rgba(8,12,21,.52);
  backdrop-filter:blur(.5rem);
}
.stax-loading-card{display:grid;justify-items:center;gap:.75rem;width:min(21rem,100%);padding:2rem;border:1px solid rgba(148,163,184,.35);border-radius:1.25rem;background:rgba(255,255,255,.96);color:#111827;text-align:center;box-shadow:0 1.5rem 4rem rgba(2,6,23,.24)}
.stax-loading-card strong{font-size:1.05rem;color:#111827!important;-webkit-text-fill-color:#111827!important}
.stax-loading-card small{color:#64748b!important;-webkit-text-fill-color:#64748b!important;line-height:1.55}
.stax-loading-spinner{width:2.75rem;height:2.75rem;border:.22rem solid #dbeafe;border-top-color:#2563eb;border-radius:50%;animation:stax-loading-spin .8s linear infinite}
.stax-dark .stax-loading-card{border-color:#334155;background:rgba(17,23,34,.97);color:#f8fafc}
.stax-dark .stax-loading-card strong{color:#f8fafc!important;-webkit-text-fill-color:#f8fafc!important}
.stax-dark .stax-loading-card small{color:#cbd5e1!important;-webkit-text-fill-color:#cbd5e1!important}
.stax-dark .stax-loading-spinner{border-color:#263449;border-top-color:#60a5fa}
body.stax-loading-active{overflow:hidden!important}
@keyframes stax-loading-spin{to{transform:rotate(360deg)}}

@media(max-width:47.9375rem){
  body.ui-v7.number-page .number-shell{width:calc(100% - 1rem)!important;padding-top:1rem!important}
  body.ui-v7.number-page .number-grid{margin-inline:0!important;padding:.4rem!important;border-radius:1.2rem!important}
  body.ui-v7.mail-login-shell .mail-login-v5{width:100%!important;min-height:100dvh!important;margin:0!important;padding:.4rem!important;border-radius:0!important}
  body.ui-v7.mail-login-shell .mail-login-grid{border-radius:1rem!important}
}
@media(prefers-reduced-motion:reduce){.stax-loading-spinner{animation-duration:1.6s}}
@media(prefers-reduced-motion:reduce){body.ui-v7:not(.mail-app-shell)::before,.ui-v7.mail-login-shell .mail-login-v5,.mail-easy-strip,.mail-easy-features,.number-grid,.mail-app-shell>main,.mail-easy-strip::before,.mail-easy-features::before,.number-grid::before,.mail-login-intro::before,.mail-app-shell>main::before,.mail-entry-v6::before{animation:none!important}}

/* V38: Mail keeps its colour in light mode and uses one continuous page aura. */
body.ui-v7.home-page #main{
  background:
    radial-gradient(circle at 7% 12%,rgba(55,201,255,.31),transparent 27%),
    radial-gradient(circle at 93% 28%,rgba(145,96,255,.27),transparent 31%),
    radial-gradient(circle at 16% 66%,rgba(255,192,65,.22),transparent 29%),
    radial-gradient(circle at 87% 86%,rgba(255,94,165,.24),transparent 31%),
    linear-gradient(145deg,#f4fbff 0%,#f7f4ff 34%,#fff4fa 67%,#fff8e9 100%)!important;
  background-size:145% 145%!important;
  animation:stax-mail-continuous-rainbow 20s ease-in-out infinite!important;
}
body.ui-v7.home-page :where(.mail-easy-hero,.mail-easy-intro,.mail-easy-cta){background:transparent!important}
body.ui-v7:not(.stax-dark) .mail-easy-strip .strip-create{background:linear-gradient(145deg,#ff8061,#f44779)!important;color:#fff!important}
body.ui-v7:not(.stax-dark) .mail-easy-strip .strip-inbox{background:linear-gradient(145deg,#8068ff,#4967e8)!important;color:#fff!important}
body.ui-v7:not(.stax-dark) .mail-easy-strip .strip-bulk{background:linear-gradient(145deg,#20bea8,#0b86c7)!important;color:#fff!important}
body.ui-v7:not(.stax-dark) .mail-easy-strip .strip-live{background:linear-gradient(145deg,#24325d,#38598f)!important;color:#fff!important}
body.ui-v7:not(.stax-dark) .mail-easy-strip article :where(small,b,span,em){color:inherit!important;-webkit-text-fill-color:currentColor!important}
body.ui-v7:not(.stax-dark) .mail-easy-strip article>small,
body.ui-v7:not(.stax-dark) .mail-easy-strip article>span,
body.ui-v7:not(.stax-dark) .mail-easy-strip article em{color:rgba(255,255,255,.82)!important}
body.ui-v7:not(.stax-dark) .strip-inbox>div{background:rgba(255,255,255,.18)!important}
html.stax-dark body.ui-v7.home-page #main,.stax-dark body.ui-v7.home-page #main{
  background:
    radial-gradient(circle at 7% 12%,rgba(38,194,255,.27),transparent 28%),
    radial-gradient(circle at 93% 28%,rgba(124,72,255,.26),transparent 32%),
    radial-gradient(circle at 16% 66%,rgba(255,166,29,.17),transparent 30%),
    radial-gradient(circle at 87% 86%,rgba(255,65,151,.22),transparent 32%),
    linear-gradient(145deg,#070c15 0%,#0f0b1a 35%,#170a16 68%,#171006 100%)!important;
}
@keyframes stax-mail-continuous-rainbow{0%,100%{background-position:0% 0%}50%{background-position:100% 100%}}
@media(max-width:47.9375rem){
  body.ui-v7.home-page #main{background-size:190% 190%!important;animation-duration:15s!important}
  body.ui-v7:not(.stax-dark) .mail-easy-strip>article{background-color:transparent!important;backdrop-filter:none!important}
}
@media(prefers-reduced-motion:reduce){body.ui-v7.home-page #main{animation:none!important}}

/* V55: final cross-page polish — full canvas, visible service identity and safe contrast. */
:root{
  --mail-polish-width:80rem;
  --mail-polish-gutter:clamp(1rem,3vw,2rem);
  --mail-polish-radius:1rem;
  --mail-polish-radius-lg:1.5rem;
}

body.ui-v7:not(.mail-app-shell)>#main{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin-inline:0!important;
}
body.ui-v7:not(.mail-app-shell)>#main>:where(section,article,.mail-entry-v6,.mail-login-v5,.auth-page,.narrow-page,.feature-head,.checking-layout,.plus-login,.plus-workspace,.status-page,.account-hero,.account-grid,.charge-page,.result-page){
  box-sizing:border-box!important;
  width:min(var(--mail-polish-width),calc(100% - (var(--mail-polish-gutter) * 2)))!important;
  max-width:var(--mail-polish-width)!important;
  margin-inline:auto!important;
}

.ui-v7 .site-header{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin-inline:0!important;
}
.ui-v7 .site-header .header-inner{
  box-sizing:border-box!important;
  width:min(var(--mail-polish-width),calc(100% - (var(--mail-polish-gutter) * 2)))!important;
  max-width:var(--mail-polish-width)!important;
  margin-inline:auto!important;
}
.ui-v7 .brand-group,.ui-v7 .brand{
  display:inline-flex!important;
  align-items:center!important;
  min-width:max-content!important;
  white-space:nowrap!important;
}
.ui-v7 .brand-monogram{
  display:grid!important;
  width:2rem!important;
  height:2rem!important;
  place-items:center!important;
  flex:0 0 2rem!important;
  border-radius:.625rem!important;
  background:#2563eb!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-weight:800!important;
}
.ui-v7 .brand>span:last-child,.ui-v7 .brand-product{
  color:#f8fafc!important;
  -webkit-text-fill-color:#f8fafc!important;
}

body.ui-v7 :where(.mail-entry-v6,.mail-login-v5,.mail-login-intro,.mail-login-workspace,.mail-easy-hero,.mail-easy-strip,.mail-easy-features,.mail-easy-story,.mail-easy-cta,.auth-card,.narrow-page,.feature-head,.checking-input,.checking-results,.plus-login,.plus-workspace>*,.status-page,.status-board article,.status-notice,.account-hero,.data-panel,.charge-page,.payment-sheet,.result-page,.panel,.notice,.product-card,.number-shell,.number-grid>*,.number-result,.license-panel){
  border-radius:var(--mail-polish-radius-lg)!important;
  overflow:hidden;
}
body.ui-v7 :where(input,textarea,select,button,.btn,.button,.status-chip,.table-wrap,.mail-easy-strip article,.mail-easy-features article){
  border-radius:.75rem!important;
}

body.ui-v7:not(.stax-dark){
  color:#111827!important;
}
body.ui-v7:not(.stax-dark) :where(.mail-login-v5,.mail-login-intro,.mail-login-workspace,.auth-card,.narrow-page,.feature-head,.checking-input,.checking-results,.plus-login,.plus-workspace>*,.status-page,.status-board article,.status-notice,.account-hero,.data-panel,.charge-page,.payment-sheet,.result-page,.panel,.notice,.product-card,.number-shell,.number-grid>*,.number-result,.license-panel){
  color:#111827!important;
  background-color:rgba(255,255,255,.94)!important;
  border-color:#d7dee8!important;
}
body.ui-v7:not(.stax-dark) :where(h1,h2,h3,h4,strong,b,dt,dd,label,th,td,.service-label,.page-lead){
  color:#111827!important;
  -webkit-text-fill-color:currentColor!important;
}
body.ui-v7:not(.stax-dark) :where(p,small,.muted,.fine-print){
  color:#475569!important;
  -webkit-text-fill-color:currentColor!important;
}

body.ui-v7.stax-dark :where(.mail-login-v5,.mail-login-intro,.mail-login-workspace,.auth-card,.narrow-page,.feature-head,.checking-input,.checking-results,.plus-login,.plus-workspace>*,.status-page,.status-board article,.status-notice,.account-hero,.data-panel,.charge-page,.payment-sheet,.result-page,.panel,.notice,.product-card,.number-shell,.number-grid>*,.number-result,.license-panel){
  color:#f8fafc!important;
  background-color:#111722!important;
  border-color:#334155!important;
}
body.ui-v7.stax-dark :where(h1,h2,h3,h4,strong,b,dt,dd,label,th,td,.service-label,.page-lead){
  color:#f8fafc!important;
  -webkit-text-fill-color:currentColor!important;
}
body.ui-v7.stax-dark :where(p,small,.muted,.fine-print){
  color:#cbd5e1!important;
  -webkit-text-fill-color:currentColor!important;
}

body.ui-v7 .mail-login-v5{
  min-height:min(44rem,calc(100dvh - 8rem))!important;
}
body.ui-v7 .mail-login-intro,body.ui-v7 .mail-login-workspace{
  min-width:0!important;
}
body.ui-v7 .site-footer{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:2rem max(var(--mail-polish-gutter),calc((100% - var(--mail-polish-width))/2))!important;
  border-radius:0!important;
}

@media(max-width:47.9375rem){
  :root{--mail-polish-gutter:1rem;--mail-polish-radius:.875rem;--mail-polish-radius-lg:1rem}
  body.ui-v7:not(.mail-app-shell)>#main>:where(section,article,.mail-entry-v6,.mail-login-v5,.auth-page,.narrow-page,.feature-head,.checking-layout,.plus-login,.plus-workspace,.status-page,.account-hero,.account-grid,.charge-page,.result-page){
    width:calc(100% - 2rem)!important;
    max-width:none!important;
  }
  .ui-v7 .site-header .header-inner{
    width:calc(100% - 2rem)!important;
    max-width:none!important;
  }
  body.ui-v7 .mail-login-v5{min-height:auto!important}
  body.ui-v7 .site-footer{padding:1.5rem 1rem!important}
}

/* V56 cascade lock — Number and login retain the continuous canvas. */
body.ui-v7.number-page>#main,body.ui-v7.mail-login-shell>#main{background:transparent!important}
body.ui-v7.number-page .number-shell{width:min(var(--mail-polish-width),calc(100% - (var(--mail-polish-gutter) * 2)))!important;max-width:var(--mail-polish-width)!important;margin-inline:auto!important}
body.ui-v7.number-page .number-grid{padding:clamp(.55rem,1.2vw,.85rem)!important;border-radius:1.625rem!important;background:linear-gradient(125deg,rgba(55,201,255,.34),rgba(137,91,255,.3) 36%,rgba(255,91,166,.26) 68%,rgba(255,188,50,.28))!important}
body.ui-v7.mail-login-shell .mail-login-v5{width:min(80rem,calc(100% - 2rem))!important;max-width:80rem!important;margin:clamp(1rem,3vw,2.5rem) auto!important;padding:.65rem!important;border-radius:1.75rem!important;background:linear-gradient(125deg,rgba(54,201,255,.55),rgba(137,91,255,.48) 36%,rgba(255,91,166,.43) 68%,rgba(255,188,50,.45))!important}
body.ui-v7.mail-login-shell .mail-login-grid{overflow:hidden!important;border-radius:1.25rem!important}
@media(max-width:47.9375rem){
  body.ui-v7.number-page .number-shell{width:calc(100% - 1rem)!important}
  body.ui-v7.number-page .number-grid{margin-inline:0!important;padding:.4rem!important;border-radius:1.2rem!important}
  body.ui-v7.mail-login-shell .mail-login-v5{width:100%!important;margin:0!important;padding:.4rem!important;border-radius:0!important}
}

/* V57: remove washed-out white surfaces and keep rainbow geometry stable. */
body.ui-v7:not(.mail-app-shell)::before,
.ui-v7 :where(.mail-easy-strip,.mail-easy-features,.number-grid,.mail-login-v5),
.ui-v7 :where(.mail-easy-strip,.mail-easy-features,.number-grid)::before{
  animation:none!important;
  background-position:50% 50%!important;
}
body.ui-v7:not(.stax-dark) :where(.feature-head,.checking-input,.checking-results,.number-hero,.number-overview,.license-panel,.number-result,.policy-note,.mail-login-grid,.mail-login-workspace,.auth-card,.narrow-page,.account-hero,.data-panel,.charge-page,.payment-sheet,.result-page,.panel,.notice,.product-card){
  background:linear-gradient(145deg,rgba(234,249,255,.97),rgba(247,239,255,.96) 52%,rgba(255,235,245,.96))!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.ui-v7:not(.stax-dark) .checking-layout{
  gap:1rem!important;
  padding:.65rem!important;
  border:1px solid rgba(111,126,255,.2)!important;
  border-radius:1.625rem!important;
  background:linear-gradient(125deg,#9ee5ff,#c5b3ff 42%,#ffbdd9 76%,#ffe4b0)!important;
}
body.ui-v7:not(.stax-dark) :where(.checking-input,.checking-results){border-color:rgba(120,136,168,.3)!important;box-shadow:none!important}
body.ui-v7:not(.stax-dark) .checking-results .catalog-empty{background:transparent!important}
body.ui-v7:not(.stax-dark) .number-grid{
  background:linear-gradient(125deg,#8edfff,#baa4ff 38%,#ffacd0 72%,#ffdda0)!important;
}
body.ui-v7:not(.stax-dark) .mail-login-grid{background:linear-gradient(135deg,#effaff,#f7f0ff 52%,#fff0f7)!important}
body.ui-v7:not(.stax-dark) .mail-login-workspace{background:linear-gradient(145deg,rgba(238,249,255,.78),rgba(248,240,255,.75) 52%,rgba(255,236,246,.76))!important}
body.ui-v7:not(.stax-dark) .mail-login-workspace :where(input,textarea,.login-mode-tabs){background:rgba(232,242,255,.82)!important}
body.ui-v7:not(.stax-dark) .mail-login-workspace .login-mode-tabs button.active{background:linear-gradient(135deg,#e8f7ff,#f4edff 52%,#ffeaf4)!important}
body.ui-v7 :where(.feature-head,.checking-input,.checking-results,.number-hero,.number-grid,.number-overview,.license-panel,.policy-note,.mail-login-v5,.mail-login-grid,.mail-login-intro,.mail-login-workspace){
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.ui-v7 .site-header .brand-group,
.ui-v7 .site-header .brand{
  position:static!important;
  inset:auto!important;
  transform:none!important;
  margin:0!important;
}
.ui-v7 .site-footer{
  padding-inline:max(1rem,calc((100vw - 80rem)/2))!important;
  background:linear-gradient(135deg,rgba(221,244,255,.9),rgba(241,231,255,.88) 50%,rgba(255,226,240,.88))!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.ui-v7.stax-dark .site-footer{background:linear-gradient(135deg,#0b1622,#120e20 50%,#210d1a)!important}
@media(max-width:47.9375rem){
  body.ui-v7:not(.stax-dark) .checking-layout{grid-template-columns:1fr!important;padding:.4rem!important;border-radius:1.2rem!important}
  body.ui-v7:not(.stax-dark) :where(.feature-head,.checking-input,.checking-results){border-radius:1rem!important}
}

/* V58: match light surfaces to the page canvas instead of placing white boxes on it. */
body.ui-v7:not(.stax-dark){
  --mail-candy-panel:linear-gradient(145deg,rgba(201,240,255,.78),rgba(229,215,255,.74) 52%,rgba(255,211,232,.72));
  --mail-candy-panel-soft:linear-gradient(145deg,rgba(211,244,255,.58),rgba(237,226,255,.55) 52%,rgba(255,222,238,.53));
  --mail-candy-border:rgba(105,119,171,.23);
}
body.ui-v7:not(.stax-dark):where(.number-page,.feature-shell,.mail-login-shell,.home-page),
body.ui-v7:not(.stax-dark):where(.number-page,.feature-shell,.mail-login-shell,.home-page)>#main{
  background:linear-gradient(125deg,#d5f4ff 0%,#e8e1ff 42%,#ffdbea 74%,#ffe9c9 100%)!important;
}
body.ui-v7.number-page:not(.stax-dark) :where(.number-shell,.number-hero){
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
body.ui-v7.number-page:not(.stax-dark) :where(.number-overview,.license-panel,.number-result,.policy-note){
  background:var(--mail-candy-panel-soft)!important;
  border-color:var(--mail-candy-border)!important;
  box-shadow:0 .65rem 1.8rem rgba(85,82,147,.07)!important;
}
body.ui-v7:not(.stax-dark) :where(.feature-head,.checking-input,.checking-results,.mail-login-grid,.mail-login-intro,.mail-login-workspace,.auth-card,.narrow-page,.account-hero,.data-panel,.charge-page,.payment-sheet,.result-page,.panel,.notice,.product-card,.home-v5-caution){
  background:var(--mail-candy-panel-soft)!important;
  border-color:var(--mail-candy-border)!important;
  box-shadow:0 .65rem 1.8rem rgba(85,82,147,.07)!important;
}
body.ui-v7:not(.stax-dark) .status-page{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
body.ui-v7:not(.stax-dark) :where(.status-board article,.status-notice){
  background:var(--mail-candy-panel)!important;
  border-color:var(--mail-candy-border)!important;
  box-shadow:0 .65rem 1.8rem rgba(85,82,147,.07)!important;
}
body.ui-v7:not(.stax-dark) .checking-layout{
  background:linear-gradient(125deg,rgba(105,218,255,.42),rgba(159,129,255,.36) 40%,rgba(255,132,190,.34) 72%,rgba(255,203,111,.32))!important;
}
body.ui-v7:not(.stax-dark) .mail-login-v5{
  background:linear-gradient(125deg,rgba(105,218,255,.58),rgba(159,129,255,.52) 40%,rgba(255,132,190,.48) 72%,rgba(255,203,111,.46))!important;
}
body.ui-v7:not(.stax-dark) .site-footer{
  color:#172033!important;
  border-top:1px solid var(--mail-candy-border)!important;
}
body.ui-v7:not(.stax-dark) .site-footer :where(a,span,p,small,b,strong){color:#172033!important;-webkit-text-fill-color:#172033!important}
body.ui-v7:not(.stax-dark) .site-footer .brand-monogram{color:#fff!important;-webkit-text-fill-color:#fff!important}

@media(max-width:47.9375rem){
  body.ui-v7.number-page:not(.stax-dark) .number-grid,
  body.ui-v7:not(.stax-dark) .checking-layout{border-radius:1.1rem!important}
}

/* V59: dark mode uses neutral black surfaces and never inherits black text. */
html.stax-dark body.ui-v7,
body.ui-v7.stax-dark{
  --mail-dark-bg:#07090d;
  --mail-dark-surface:#10141c;
  --mail-dark-surface-2:#151b25;
  --mail-dark-border:rgba(203,213,225,.18);
  --mail-dark-text:#f8fafc;
  --mail-dark-muted:#cbd5e1;
  background:var(--mail-dark-bg)!important;
  background-image:none!important;
  color:var(--mail-dark-text)!important;
}
html.stax-dark body.ui-v7::before,
body.ui-v7.stax-dark::before{display:none!important;background:none!important}
html.stax-dark body.ui-v7>#main,
body.ui-v7.stax-dark>#main{background:var(--mail-dark-bg)!important;background-image:none!important;color:var(--mail-dark-text)!important}
html.stax-dark body.ui-v7 :where(.mail-easy-hero,.mail-easy-strip,.mail-easy-features,.mail-easy-story,.mail-easy-cta,.number-shell,.number-grid,.checking-layout,.status-page,.mail-login-v5),
body.ui-v7.stax-dark :where(.mail-easy-hero,.mail-easy-strip,.mail-easy-features,.mail-easy-story,.mail-easy-cta,.number-shell,.number-grid,.checking-layout,.status-page,.mail-login-v5){
  background:transparent!important;
  background-image:none!important;
  box-shadow:none!important;
}
html.stax-dark body.ui-v7 :where(.mail-easy-features article,.mail-easy-story>*,.mail-easy-cta,.number-hero,.number-overview,.license-panel,.number-result,.policy-note,.feature-head,.checking-input,.checking-results,.mail-login-grid,.mail-login-intro,.mail-login-workspace,.auth-card,.narrow-page,.account-hero,.data-panel,.charge-page,.payment-sheet,.result-page,.panel,.notice,.product-card,.status-board article,.status-notice),
body.ui-v7.stax-dark :where(.mail-easy-features article,.mail-easy-story>*,.mail-easy-cta,.number-hero,.number-overview,.license-panel,.number-result,.policy-note,.feature-head,.checking-input,.checking-results,.mail-login-grid,.mail-login-intro,.mail-login-workspace,.auth-card,.narrow-page,.account-hero,.data-panel,.charge-page,.payment-sheet,.result-page,.panel,.notice,.product-card,.status-board article,.status-notice){
  background:var(--mail-dark-surface)!important;
  background-image:none!important;
  border-color:var(--mail-dark-border)!important;
  box-shadow:0 .75rem 2rem rgba(0,0,0,.22)!important;
}
html.stax-dark body.ui-v7 :where(input,textarea,select,.login-mode-tabs,.checking-search),
body.ui-v7.stax-dark :where(input,textarea,select,.login-mode-tabs,.checking-search){
  background:var(--mail-dark-surface-2)!important;
  border-color:var(--mail-dark-border)!important;
  color:var(--mail-dark-text)!important;
  -webkit-text-fill-color:var(--mail-dark-text)!important;
}
html.stax-dark body.ui-v7 :where(h1,h2,h3,h4,h5,h6,strong,b,label,legend,dt,dd,th,td,a,button,.balance,.price),
body.ui-v7.stax-dark :where(h1,h2,h3,h4,h5,h6,strong,b,label,legend,dt,dd,th,td,a,button,.balance,.price){
  color:var(--mail-dark-text)!important;
  -webkit-text-fill-color:var(--mail-dark-text)!important;
}
html.stax-dark body.ui-v7 :where(p,small,.muted,.fine-print,.page-lead),
body.ui-v7.stax-dark :where(p,small,.muted,.fine-print,.page-lead){
  color:var(--mail-dark-muted)!important;
  -webkit-text-fill-color:var(--mail-dark-muted)!important;
}
html.stax-dark body.ui-v7 :where(.btn,button[type="submit"]),
body.ui-v7.stax-dark :where(.btn,button[type="submit"]){background:#2563eb!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html.stax-dark body.ui-v7 :where(.theme-toggle,.header-account>a:not(.btn)),
body.ui-v7.stax-dark :where(.theme-toggle,.header-account>a:not(.btn)){background:#151b25!important;color:#f8fafc!important;-webkit-text-fill-color:#f8fafc!important;border-color:var(--mail-dark-border)!important}
html.stax-dark body.ui-v7 .site-footer,
body.ui-v7.stax-dark .site-footer{background:#090c12!important;background-image:none!important;border-color:var(--mail-dark-border)!important}

/* V60: shop totals and global announcements */
body.ui-v7 .order-total{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;white-space:nowrap!important}
body.ui-v7 .order-total span,body.ui-v7 .order-total b{display:inline!important;white-space:nowrap!important;word-break:keep-all!important}
body.ui-v7 button:disabled{opacity:1!important;background:#dbe3ee!important;border-color:#cbd5e1!important;color:#475569!important;-webkit-text-fill-color:#475569!important;cursor:not-allowed!important}
html.stax-dark body.ui-v7 button:disabled,body.ui-v7.stax-dark button:disabled{background:#273244!important;border-color:#475569!important;color:#cbd5e1!important;-webkit-text-fill-color:#cbd5e1!important}
body.stax-announcement-open{overflow:hidden!important}
.stax-announcement-backdrop{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:20px;background:rgba(3,7,18,.72);backdrop-filter:blur(10px)}
.stax-announcement{width:min(560px,100%);max-height:min(720px,calc(100dvh - 40px));overflow:auto;padding:32px;border:1px solid rgba(255,255,255,.16);border-radius:20px;background:#111827;color:#f8fafc;box-shadow:0 28px 80px rgba(0,0,0,.45)}
.stax-announcement>p{margin:0 0 10px;color:#60a5fa!important;font-size:12px;font-weight:800;letter-spacing:.16em}
.stax-announcement h2{margin:0;color:#fff!important;-webkit-text-fill-color:#fff!important;font-size:clamp(24px,4vw,34px);line-height:1.25;word-break:keep-all}
.stax-announcement-content{margin-top:20px;color:#dbe4f0!important;-webkit-text-fill-color:#dbe4f0!important;font-size:16px;line-height:1.75;overflow-wrap:anywhere}.stax-announcement-content strong,.stax-announcement-content b{color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:800}.stax-announcement-content u{color:inherit!important;-webkit-text-fill-color:inherit!important;text-underline-offset:4px}
.stax-announcement footer{display:flex;justify-content:flex-end;gap:10px;margin-top:28px;padding:0;background:transparent!important;border:0!important}
.stax-announcement button{min-height:46px;padding:0 18px;border:1px solid #475569;border-radius:10px;background:#1e293b!important;color:#f8fafc!important;-webkit-text-fill-color:#f8fafc!important;font-weight:800}
.stax-announcement button.primary{border-color:#2563eb;background:#2563eb!important}
@media(max-width:640px){.stax-announcement{padding:24px 20px;border-radius:16px}.stax-announcement footer{display:grid;grid-template-columns:1fr 1fr}.stax-announcement button{padding:0 10px;font-size:14px}}
