
/* Phase 25: rebrand banner, Remix icon support, and cross-app UI flaw cleanup. */
:root{--ca-bg:#070b18;--ca-panel:#101827;--ca-panel-2:#141e31;--ca-line:rgba(148,163,184,.20);--ca-text:#eef4ff;--ca-muted:#9fb0c8;--ca-brand:#7c3aed;--ca-brand-2:#9f6bff;--ca-success:#22c55e;--ca-warning:#f59e0b;--ca-danger:#ef4444;--ca-radius:24px;--ca-shadow:0 24px 70px rgba(2,6,23,.28)}
html,body{max-width:100%;overflow-x:hidden} body{font-feature-settings:"cv02","cv03","cv04","cv11"}.ri,.ri[class^="ri-"],.ri[class*=" ri-"]{line-height:1;vertical-align:-.08em}.main-container,.page-frame,.page-content{min-width:0}.page-content>*{max-width:100%}.public-shell-body .page-content{width:100%}.public-shell-body{background:radial-gradient(circle at 12% 0,rgba(124,58,237,.20),transparent 30%),radial-gradient(circle at 88% 4%,rgba(14,165,233,.12),transparent 28%),#070b18!important;color:#dbe7ff}.shell-nav{backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border-bottom:1px solid rgba(255,255,255,.08)}.shell-nav__inner{min-height:76px}.shell-brand__mark{box-shadow:0 18px 44px rgba(124,58,237,.32)}.shell-link{min-height:42px}.shell-link,.shell-nav .dropdown-toggle{white-space:nowrap}.shell-nav__dropdown{max-height:min(72vh,720px);overflow:auto;overscroll-behavior:contain}.menu-item{border-radius:16px;gap:13px}.menu-item i{width:36px;height:36px;border-radius:12px;display:grid!important;place-items:center;background:rgba(124,58,237,.12);color:#8b5cf6;flex:none}.menu-item__body{min-width:0}.menu-item__body strong,.menu-item__body small{display:block;white-space:normal;overflow-wrap:anywhere}.profile-dropdown{min-width:min(330px,calc(100vw - 26px));max-width:calc(100vw - 26px);border-radius:22px}.profile-dropdown__header{align-items:flex-start;gap:12px}.profile-dropdown__header div{min-width:0}.profile-dropdown__header strong,.profile-dropdown__header small{white-space:normal;overflow-wrap:anywhere}.brand-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);gap:36px;align-items:center;min-height:calc(100vh - 190px);padding:98px 0 64px;color:#fff}.brand-hero:before{content:"";position:absolute;inset:-120px -18vw auto -18vw;height:620px;background:radial-gradient(circle at 12% 10%,rgba(124,58,237,.44),transparent 34%),radial-gradient(circle at 78% 5%,rgba(59,130,246,.22),transparent 36%),linear-gradient(135deg,rgba(124,58,237,.12),transparent);z-index:-1;filter:blur(2px)}.brand-kicker{display:inline-flex;align-items:center;gap:10px;padding:10px 14px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);border-radius:999px;color:#dce7ff;font-weight:900;letter-spacing:.02em}.brand-kicker i{color:#c4b5fd}.brand-hero h1{font-size:clamp(3.2rem,7.2vw,7.4rem);line-height:.88;letter-spacing:-.085em;font-weight:950;margin:22px 0 18px;max-width:1040px;color:#fff;text-wrap:balance}.brand-lead{font-size:clamp(1.05rem,1.6vw,1.35rem);line-height:1.7;color:#b8c7e5;max-width:760px}.brand-hero__actions,.brand-proof-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:26px}.brand-proof-row span{display:inline-flex;align-items:center;gap:9px;color:#dbeafe;font-weight:850;padding:10px 13px;border-radius:999px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.09)}.brand-proof-row i{color:#2dd4bf}.brand-hero__console{position:relative;border:1px solid rgba(255,255,255,.14);background:linear-gradient(180deg,rgba(17,24,39,.88),rgba(9,14,29,.88));box-shadow:0 30px 100px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.08);border-radius:34px;padding:18px;overflow:hidden}.brand-hero__console:after{content:"";position:absolute;inset:auto -18% -28% -18%;height:220px;background:radial-gradient(circle,rgba(124,58,237,.22),transparent 65%);pointer-events:none}.console-top{display:flex;align-items:center;gap:8px;color:#9fb0c8;font-weight:900;padding:4px 4px 16px}.console-top span{width:11px;height:11px;border-radius:999px;background:#334155}.console-top span:nth-child(1){background:#ef4444}.console-top span:nth-child(2){background:#f59e0b}.console-top span:nth-child(3){background:#22c55e}.console-top strong{margin-left:auto;color:#e2e8f0;font-size:.86rem}.console-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.console-stat{background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.055));border:1px solid rgba(255,255,255,.11);border-radius:22px;padding:18px;color:#fff}.console-stat i{width:42px;height:42px;border-radius:16px;background:linear-gradient(135deg,#7c3aed,#2563eb);display:grid;place-items:center;margin-bottom:16px;font-size:1.25rem}.console-stat small{display:block;color:#aebbd3}.console-stat strong{font-size:1.35rem}.console-search{position:relative;margin-top:14px;background:#fff;color:#0f172a;border-radius:26px;padding:18px;z-index:1}.console-search h3{color:#0f172a!important}.console-search p{color:#667085}.brand-trust-strip span{display:flex!important;align-items:center;justify-content:center;gap:8px;min-height:64px}.brand-trust-strip span:before{content:"\EB7B";font-family:"remixicon";color:#22c55e}.premium-plan-grid{align-items:stretch}.premium-plan{background:linear-gradient(180deg,rgba(255,255,255,.12),rgba(255,255,255,.06))!important;color:#e5eefc!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:var(--ca-shadow)!important;backdrop-filter:blur(18px);position:relative}.premium-plan:before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(135deg,rgba(124,58,237,.14),rgba(34,211,238,.05),transparent);pointer-events:none}.premium-plan.is-featured{border-color:rgba(167,139,250,.75)!important;box-shadow:0 30px 90px rgba(124,58,237,.34)!important}.premium-plan h3,.premium-plan .plan-price{color:#fff!important}.premium-plan p,.premium-plan li{color:#c1cce0!important}.premium-plan li{border-bottom-color:rgba(255,255,255,.09)!important}.premium-plan .plan-icon{background:linear-gradient(135deg,#7c3aed,#4f46e5)!important}.plan-ribbon{background:linear-gradient(135deg,#7c3aed,#2563eb)!important}.ca-section{scroll-margin-top:110px}.section-title,.ca-section h2{letter-spacing:-.04em}.surface,.ca-panel,.auth-card,.customer-card,.dashboard-card,.profile-card{border:1px solid rgba(148,163,184,.16);box-shadow:0 18px 60px rgba(2,6,23,.14)}.public-shell-body .surface,.public-shell-body .ca-panel{background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.055));color:#eaf2ff}.public-shell-body .surface h1,.public-shell-body .surface h2,.public-shell-body .surface h3,.public-shell-body .ca-panel h1,.public-shell-body .ca-panel h2,.public-shell-body .ca-panel h3{color:#fff}.public-shell-body .surface p,.public-shell-body .ca-panel p{color:#b8c7e5}.faq-panel{background:linear-gradient(180deg,#ffffff,#f6f7fb)!important}.faq-panel p{color:#475569!important}.btn{border-radius:14px;font-weight:900}.btn-primary{background:linear-gradient(135deg,#7c3aed,#6d28d9);border-color:transparent;box-shadow:0 12px 30px rgba(124,58,237,.26)}.btn-primary:hover{filter:brightness(1.06);transform:translateY(-1px)}.btn-ghost{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.07);color:#fff}.btn-ghost:hover{background:rgba(255,255,255,.12);color:#fff}.form-control,.form-select,.select2-container--default .select2-selection--single{border-radius:14px;min-height:48px}.public-shell-body .form-control,.public-shell-body .form-select{background:#fff;color:#0f172a;border-color:#dbe3ef}.public-shell-body .form-control::placeholder{color:#8793a8}.domain-result-card{box-shadow:0 24px 70px rgba(2,6,23,.22)}.table-responsive{max-width:100%;overflow:auto}.table{min-width:650px}.dataTable{width:100%!important}.empty-state,.empty-domain-state{border-radius:26px}.alert{border-radius:18px}.dropdown-menu{border-radius:18px}.auth-layout{min-height:calc(100vh - 150px);align-items:center}.auth-card{max-width:560px;margin-inline:auto}.auth-card label,.auth-card .form-label{color:#dfe7ff}.auth-card .form-text,.auth-card small{color:#aebbd3}.auth-card .form-control{background:#fff;color:#0f172a}.customer-shell-body .page-content,.public-shell-body .page-content{padding-bottom:48px}.customer-sidebar{max-height:calc(100vh - 108px);overflow:auto}.profile-wrapper,.profile-page,.profile-grid{max-width:none!important;width:100%}.profile-grid{grid-template-columns:minmax(260px,360px) minmax(0,1fr)!important}.profile-grid>*{min-width:0}.admin-shell-body .page-content{min-width:0}.admin-shell-body input,.admin-shell-body textarea,.admin-shell-body select{max-width:100%}textarea{resize:vertical}.skeleton-card,.skeleton-line,.skeleton-input{position:relative;overflow:hidden}.skeleton-card:after,.skeleton-line:after,.skeleton-input:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent);animation:caShimmer 1.4s infinite}@keyframes caShimmer{100%{transform:translateX(100%)}}@media(max-width:1100px){.brand-hero{grid-template-columns:1fr;min-height:auto}.brand-hero__console{max-width:760px}.profile-grid{grid-template-columns:1fr!important}}@media(max-width:991px){.shell-nav .navbar-collapse{max-height:calc(100vh - 94px);overflow:auto}.shell-nav__actions{align-items:stretch!important}.theme-toggle,.shell-user{width:100%;justify-content:center}.brand-hero{padding-top:54px}.brand-hero h1{font-size:clamp(2.7rem,13vw,4.8rem)}.brand-hero__actions .btn{width:100%}.brand-proof-row span{width:100%;justify-content:center}.console-grid{grid-template-columns:1fr 1fr}.table{min-width:720px}}@media(max-width:575px){.console-grid{grid-template-columns:1fr}.brand-hero__console{border-radius:24px;padding:14px}.console-search{padding:14px;border-radius:20px}.brand-kicker{font-size:.8rem}.brand-hero h1{letter-spacing:-.07em}.premium-plan{border-radius:24px}.shell-brand small{display:none}.profile-dropdown{min-width:calc(100vw - 24px)}}

.will-reveal{opacity:0;transform:translateY(12px);transition:opacity .45s ease,transform .45s ease}.will-reveal.is-visible{opacity:1;transform:none}

/* Phase 26: public conversion polish, onboarding readability, and contact refresh. */
.faq-panel,
.faq-panel.surface{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  border:1px solid rgba(148,163,184,.22)!important;
  box-shadow:0 24px 70px rgba(15,23,42,.10)!important;
}

/* Phase 28: customer service row UX for hosting and domain management. */
.client-shell-body .service-list{
  display:grid;
  gap:.9rem;
}

.client-shell-body .service-row{
  display:grid;
  grid-template-columns:48px minmax(0,1fr) auto;
  gap:1rem;
  align-items:center;
  padding:1rem;
  border:1px solid var(--ux-line);
  border-radius:18px;
  background:linear-gradient(180deg,var(--ux-panel-solid),var(--ux-bg-soft));
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}

.client-shell-body .service-row:hover{
  transform:translateY(-1px);
  border-color:rgba(14,165,233,.28);
  box-shadow:0 18px 44px rgba(15,23,42,.10);
}

.client-shell-body .service-row__icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:15px;
  color:#0f766e;
  background:rgba(20,184,166,.14);
  border:1px solid rgba(20,184,166,.20);
}

.client-shell-body .service-row__main{
  min-width:0;
  display:grid;
  gap:.75rem;
}

.client-shell-body .service-row__top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
}

.client-shell-body .service-row__identity{
  min-width:0;
}

.client-shell-body .service-row__identity h3{
  margin:0;
  color:var(--ux-heading)!important;
  font-size:1.05rem;
  letter-spacing:-.02em;
  overflow-wrap:anywhere;
}

.client-shell-body .service-row__identity p{
  margin:.2rem 0 0;
  color:var(--ux-muted)!important;
  font-size:.9rem;
}

.client-shell-body .service-row__state{
  flex:none;
}

.client-shell-body .service-meta-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.55rem;
}

.client-shell-body .service-meta-grid span{
  min-width:0;
  display:flex;
  align-items:center;
  gap:.45rem;
  min-height:38px;
  padding:.48rem .62rem;
  border-radius:13px;
  background:var(--ux-soft);
  color:var(--ux-text);
  font-size:.82rem;
  font-weight:800;
  overflow-wrap:anywhere;
}

.client-shell-body .service-meta-grid span i{
  color:var(--ux-accent);
  flex:none;
}

.client-shell-body .service-meta-grid span strong{
  color:var(--ux-muted)!important;
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.04em;
  white-space:nowrap;
}

.client-shell-body .service-meta-grid .service-meta-ok i{
  color:var(--ux-success);
}

.client-shell-body .service-meta-grid .service-meta-warn i{
  color:var(--ux-warning);
}

.client-shell-body .service-row__note{
  margin:0;
  padding:.7rem .82rem;
  border-radius:14px;
  border:1px solid rgba(245,158,11,.22);
  background:rgba(245,158,11,.10);
  color:var(--ux-text)!important;
  font-size:.88rem;
}

.client-shell-body .service-row__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:.55rem;
  min-width:max-content;
}

.client-shell-body .service-row__actions .btn{
  min-height:38px;
  white-space:nowrap;
}

.client-shell-body .service-empty{
  display:grid;
  justify-items:center;
  text-align:center;
  gap:.75rem;
  padding:3rem 1rem;
}

.client-shell-body .service-empty__icon{
  width:76px;
  height:76px;
  display:grid;
  place-items:center;
  border-radius:24px;
  color:#0f766e;
  background:rgba(20,184,166,.14);
  border:1px solid rgba(20,184,166,.20);
  box-shadow:0 18px 42px rgba(15,23,42,.08);
}

html[data-theme='dark'] .client-shell-body .service-row{
  background:linear-gradient(180deg,rgba(15,23,42,.88),rgba(17,24,39,.72));
}

html[data-theme='dark'] .client-shell-body .service-row:hover{
  box-shadow:0 18px 44px rgba(0,0,0,.24);
}

@media (max-width: 1100px){
  .client-shell-body .service-row{
    grid-template-columns:48px minmax(0,1fr);
  }

  .client-shell-body .service-row__actions{
    grid-column:2;
    justify-content:flex-start;
    flex-wrap:wrap;
    min-width:0;
  }
}

@media (max-width: 767px){
  .client-shell-body .service-row{
    grid-template-columns:1fr;
    padding:.9rem;
  }

  .client-shell-body .service-row__icon{
    width:44px;
    height:44px;
  }

  .client-shell-body .service-row__top{
    display:grid;
    gap:.65rem;
  }

  .client-shell-body .service-meta-grid{
    grid-template-columns:1fr;
  }

  .client-shell-body .service-row__actions{
    grid-column:auto;
    display:grid;
    grid-template-columns:1fr;
  }

  .client-shell-body .service-row__actions .btn{
    width:100%;
  }
}

.faq-panel h1,
.faq-panel h2,
.faq-panel h3,
.faq-panel strong{
  color:#0f172a!important;
}

.faq-panel p,
.faq-panel .text-muted,
.faq-panel small{
  color:#475569!important;
}

.faq-grid > div,
.faq-accordion .accordion-item,
.faq-panel .accordion-item{
  background:#ffffff!important;
  border:1px solid rgba(148,163,184,.18)!important;
  box-shadow:0 14px 30px rgba(15,23,42,.06)!important;
}

.faq-grid > div h3,
.faq-accordion .accordion-button,
.faq-panel .accordion-button{
  color:#0f172a!important;
}

.faq-accordion .accordion-button:not(.collapsed),
.faq-panel .accordion-button:not(.collapsed){
  background:linear-gradient(180deg,#f8fbff,#eef4ff)!important;
}

.faq-accordion .accordion-body,
.faq-panel .accordion-body{
  color:#475569!important;
}

.domain-suggestion-shell{
  margin-top:1.35rem;
  padding:1.4rem;
  border-radius:28px;
  background:linear-gradient(180deg,#ffffff 0%,#f6f8fc 100%);
  border:1px solid rgba(148,163,184,.18);
  box-shadow:0 20px 50px rgba(15,23,42,.08);
}

.domain-suggestion-shell__head{
  display:grid;
  gap:.35rem;
  margin-bottom:1rem;
}

.domain-suggestion-shell__head h3{
  margin:0;
  color:#0f172a;
  font-size:1.15rem;
  letter-spacing:-.02em;
}

.domain-suggestion-shell__head p{
  margin:0;
  color:#64748b;
}

.suggestion-grid{
  gap:1rem!important;
}

.suggestion-card{
  background:#ffffff!important;
  border:1px solid rgba(148,163,184,.20)!important;
  box-shadow:0 16px 40px rgba(15,23,42,.07)!important;
}

.suggestion-card strong{
  color:#0f172a!important;
}

.suggestion-card span{
  color:#64748b!important;
}

.suggestion-card a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:.7rem 1rem;
  border-radius:14px;
  background:linear-gradient(135deg,#7c3aed,#6d28d9)!important;
  color:#ffffff!important;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 12px 26px rgba(124,58,237,.18);
}

.suggestion-card button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:.7rem 1rem;
  border:0;
  border-radius:14px;
  background:linear-gradient(135deg,#7c3aed,#6d28d9)!important;
  color:#ffffff!important;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 12px 26px rgba(124,58,237,.18);
}

.contact-hub{
  display:grid;
  gap:1.5rem;
}

.public-contact-card{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border:1px solid rgba(148,163,184,.18);
  border-radius:30px;
  box-shadow:0 24px 70px rgba(15,23,42,.08);
}

.public-contact-card h1,
.public-contact-card h2,
.public-contact-card h3,
.public-contact-card strong,
.public-contact-card label{
  color:#0f172a!important;
}

.public-contact-card p,
.public-contact-card li,
.public-contact-card small{
  color:#64748b!important;
}

.contact-methods{
  display:grid;
  gap:1rem;
}

.contact-method{
  padding:1rem 1.1rem;
  border-radius:22px;
  background:#ffffff;
  border:1px solid rgba(148,163,184,.18);
  box-shadow:0 14px 32px rgba(15,23,42,.06);
}

.contact-method i{
  color:#7c3aed;
}

.auth-card,
.auth-flow-card,
.auth-section-card{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  color:#0f172a!important;
}

.auth-card,
.auth-flow-card{
  border:1px solid rgba(148,163,184,.18)!important;
  box-shadow:0 24px 70px rgba(15,23,42,.10)!important;
}

.auth-card h1,
.auth-card h2,
.auth-card h3,
.auth-card strong,
.auth-card label,
.auth-card .form-label,
.auth-flow-card h1,
.auth-flow-card h2,
.auth-flow-card h3,
.auth-flow-card strong,
.auth-flow-card label,
.auth-flow-card .form-label,
.auth-section-card h3,
.auth-section-card label{
  color:#0f172a!important;
}

.auth-card p,
.auth-card small,
.auth-card .form-text,
.auth-flow-card p,
.auth-flow-card small,
.auth-flow-card .form-text,
.auth-section-card p,
.auth-section-card small{
  color:#64748b!important;
}

.auth-card .btn-ghost,
.auth-flow-card .btn-ghost{
  background:#f8fafc!important;
  color:#334155!important;
  border:1px solid #dbe3ef!important;
}

.auth-layout--onboarding{
  align-items:stretch;
}

.auth-flow-card{
  border-radius:32px;
  padding:clamp(1.5rem,3vw,2.5rem);
}

.auth-flow-card--wide{
  max-width:920px;
}

.auth-section-card{
  padding:1.15rem 1.2rem;
  border:1px solid rgba(148,163,184,.18);
  border-radius:24px;
  box-shadow:0 14px 30px rgba(15,23,42,.06);
}

.auth-checklist{
  display:grid;
  gap:.85rem;
}

.auth-checklist li,
.auth-checklist span{
  display:flex;
  align-items:flex-start;
  gap:.75rem;
  color:#334155;
}

.auth-checklist i{
  color:#22c55e;
}

.otp-shell{
  padding:1rem 1.1rem;
  border-radius:24px;
  background:linear-gradient(180deg,#f8fbff,#eef4ff);
  border:1px solid rgba(148,163,184,.20);
}

.otp-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
}

.otp-inputs{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:.75rem!important;
}

.otp-input{
  min-width:0;
  min-height:64px;
  border-radius:20px!important;
  border:1px solid rgba(148,163,184,.24)!important;
  background:#ffffff!important;
  color:#0f172a!important;
  font-size:1.4rem!important;
  font-weight:800!important;
  text-align:center;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75),0 10px 24px rgba(15,23,42,.06);
}

.otp-input:focus{
  border-color:#7c3aed!important;
  box-shadow:0 0 0 .2rem rgba(124,58,237,.16)!important;
}

.otp-mobile-stage{
  position:relative;
  grid-template-columns:minmax(0,1fr) minmax(320px,460px);
  gap:clamp(1.25rem,4vw,3rem);
  min-height:calc(100svh - 170px);
}

.otp-brand-panel{
  align-self:stretch;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  padding:clamp(1.4rem,4vw,3.4rem);
  border-radius:34px;
  border:1px solid rgba(255,255,255,.13);
  background:
    radial-gradient(circle at 18% 12%,rgba(255,255,255,.18),transparent 28%),
    radial-gradient(circle at 88% 8%,rgba(34,197,94,.18),transparent 26%),
    linear-gradient(135deg,rgba(17,24,39,.96),rgba(30,27,75,.94));
  box-shadow:0 30px 90px rgba(2,6,23,.32);
  color:#ffffff;
}

.otp-brand-mark{
  display:inline-flex;
  align-items:center;
  gap:.75rem;
  width:max-content;
  color:#ffffff;
  text-decoration:none;
  font-weight:950;
  margin-bottom:2rem;
}

.otp-brand-mark span,
.otp-phone-icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:linear-gradient(135deg,#7c3aed,#22c55e);
  color:#ffffff;
  box-shadow:0 16px 36px rgba(124,58,237,.28);
}

.otp-stage-pill{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  width:max-content;
  padding:.5rem .75rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.08);
  color:#dfe7ff;
  font-weight:900;
  font-size:.78rem;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.otp-brand-panel h1{
  max-width:720px;
  margin:1.15rem 0 1rem;
  color:#ffffff;
  font-size:clamp(3rem,7vw,6.4rem);
  line-height:.9;
  letter-spacing:-.075em;
  font-weight:950;
}

.otp-brand-panel p{
  max-width:660px;
  color:#c9d4ee;
  font-size:clamp(1rem,1.8vw,1.2rem);
  line-height:1.7;
}

.otp-progress{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.65rem;
  max-width:620px;
  margin-top:2rem;
}

.otp-progress span{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  min-height:48px;
  padding:.7rem .75rem;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.07);
  color:#aeb9d4;
  font-weight:900;
}

.otp-progress span.is-active,
.otp-progress span.is-done{
  background:#ffffff;
  color:#111827;
}

.otp-phone-shell{
  align-self:center;
  width:100%;
}

.otp-phone-card{
  position:relative;
  max-width:460px;
  margin-inline:auto;
  border-radius:34px!important;
  overflow:hidden;
}

.otp-phone-card:before{
  content:"";
  position:absolute;
  inset:0 34% auto 34%;
  height:6px;
  border-radius:0 0 999px 999px;
  background:#0f172a;
  opacity:.12;
}

.otp-phone-top{
  display:flex;
  align-items:center;
  gap:1rem;
  margin-bottom:1rem;
}

.otp-phone-top h2{
  margin:.2rem 0 0;
  color:#0f172a!important;
  font-size:clamp(1.8rem,5vw,2.45rem);
  letter-spacing:-.055em;
}

.otp-phone-copy{
  margin-bottom:1.2rem;
}

.otp-phone-card .otp-shell{
  padding:1.1rem;
  background:linear-gradient(180deg,#f8fbff,#eef2ff);
}

.otp-phone-card .otp-meta{
  margin-top:.85rem;
}

.otp-phone-card .otp-meta span,
.otp-support-strip span{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
}

.otp-resend-form{
  margin-top:.8rem;
}

.otp-support-strip{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:.7rem 1rem;
  margin-top:1rem;
  color:#64748b;
  font-size:.85rem;
  font-weight:800;
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear{
  display:none;
}

@media (max-width: 991px){
  .otp-mobile-stage{
    grid-template-columns:1fr;
    min-height:auto;
    padding-top:1rem;
  }

  .otp-brand-panel{
    min-height:360px;
  }

  .otp-brand-panel h1{
    max-width:560px;
  }

  .otp-phone-shell{
    margin-top:-3.75rem;
    padding-inline:.75rem;
  }
}

@media (max-width: 767px){
  .otp-mobile-stage{
    gap:0;
    padding-top:.25rem;
  }

  .otp-brand-panel{
    min-height:330px;
    border-radius:28px;
    padding:1.25rem;
  }

  .otp-brand-mark{
    margin-bottom:1.2rem;
  }

  .otp-brand-panel h1{
    font-size:clamp(2.5rem,16vw,4.1rem);
  }

  .otp-brand-panel p{
    font-size:.95rem;
  }

  .otp-progress{
    grid-template-columns:1fr;
    gap:.45rem;
    margin-top:1.1rem;
  }

  .otp-progress span{
    justify-content:flex-start;
    min-height:42px;
  }

  .otp-phone-shell{
    margin-top:-2rem;
    padding-inline:.35rem;
  }

  .otp-phone-card{
    border-radius:28px!important;
    padding:1.25rem!important;
  }

  .otp-phone-top{
    align-items:flex-start;
  }

  .otp-inputs{
    gap:.42rem!important;
  }

  .otp-input{
    min-height:52px;
    border-radius:15px!important;
    font-size:1.2rem!important;
  }

  .domain-suggestion-shell,
  .public-contact-card,
  .auth-flow-card{
    border-radius:24px;
  }
}

/* Phase 27: shared client/admin workspace refinement. */
.client-shell-body{
  background:
    radial-gradient(circle at 8% 0,rgba(124,58,237,.10),transparent 28%),
    radial-gradient(circle at 92% 0,rgba(14,165,233,.08),transparent 24%),
    linear-gradient(180deg,#f6f8fc 0%,#eef3f9 100%)!important;
  color:#0f172a;
}

.client-shell-body .page-frame,
.admin-shell-body .page-frame{
  padding-bottom:3.25rem;
}

.client-shell-body .page-content{
  width:100%;
  max-width:1380px;
  margin-inline:auto;
  padding-bottom:48px;
}

.client-shell-body .customer-shell{
  grid-template-columns:280px minmax(0,1fr);
  gap:28px;
  align-items:start;
}

.client-shell-body .customer-sidebar{
  position:sticky;
  top:104px;
  max-height:calc(100vh - 128px);
  padding:1rem;
  border-radius:28px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border:1px solid rgba(148,163,184,.18);
  box-shadow:0 22px 60px rgba(15,23,42,.08);
}

.client-shell-body .customer-sidebar a{
  min-height:48px;
  border-radius:16px;
  color:#475569;
  transition:background-color .2s ease,color .2s ease,transform .2s ease;
}

.client-shell-body .customer-sidebar a i{
  width:18px;
  text-align:center;
  color:#7c3aed;
}

.client-shell-body .customer-sidebar a:hover,
.client-shell-body .customer-sidebar a.active{
  background:linear-gradient(135deg,rgba(124,58,237,.12),rgba(99,102,241,.08));
  color:#4c1d95;
  transform:translateX(2px);
}

.client-shell-body .workspace-hero{
  padding:2rem 2.1rem;
  border-radius:30px;
  border:1px solid rgba(99,102,241,.14);
  background:
    radial-gradient(circle at 85% 20%,rgba(167,139,250,.22),transparent 28%),
    linear-gradient(135deg,#111827 0%,#172554 55%,#1e1b4b 100%);
  box-shadow:0 26px 80px rgba(15,23,42,.16);
}

.client-shell-body .workspace-hero__eyebrow{
  color:#c4b5fd;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.client-shell-body .workspace-hero__title{
  color:#ffffff!important;
  letter-spacing:-.04em;
}

.client-shell-body .workspace-hero__copy{
  color:#cbd5e1!important;
  max-width:720px;
}

.client-shell-body .workspace-hero .btn-ghost{
  background:rgba(255,255,255,.10)!important;
  border:1px solid rgba(255,255,255,.18)!important;
  color:#ffffff!important;
}

.client-shell-body .surface,
.client-shell-body .kpi-card,
.client-shell-body .profile-card,
.client-shell-body .table-shell{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  color:#0f172a!important;
  border:1px solid rgba(148,163,184,.18)!important;
  box-shadow:0 18px 48px rgba(15,23,42,.08)!important;
}

.client-shell-body .surface h1,
.client-shell-body .surface h2,
.client-shell-body .surface h3,
.client-shell-body .surface strong,
.client-shell-body .kpi-card strong,
.client-shell-body .profile-card h2{
  /* color:#0f172a!important; */
  color:#ffffff!important;
}

.client-shell-body .surface p,
.client-shell-body .surface small,
.client-shell-body .section-copy,
.client-shell-body .kpi-card span{
  color:#64748b!important;
}

.client-shell-body .dashboard-kpis{
  gap:18px;
}

.client-shell-body .kpi-card{
  border-radius:24px;
}

.client-shell-body .kpi-card strong{
  font-size:2.1rem;
}

.client-shell-body .kpi-card span{
  display:block;
  margin-bottom:.45rem;
  font-weight:700;
}

.client-shell-body .surface-head{
  margin-bottom:1.15rem;
}

.client-shell-body .section-kicker{
  color:#6d28d9;
}

.client-shell-body .table{
  min-width:0;
  color:#1e293b;
}

.client-shell-body .table th{
  color:#64748b;
  font-size:.76rem;
  letter-spacing:.08em;
}

.client-shell-body .table td{
  border-color:#e8eef6;
}

.client-shell-body .badge{
  border-radius:999px;
  padding:.5rem .7rem;
  font-weight:800;
}

.client-shell-body .btn-ghost{
  background:#ffffff!important;
  color:#334155!important;
  border:1px solid #dbe3ef!important;
}

.client-shell-body .theme-toggle{
  background:#ffffff;
  color:#334155;
  border:1px solid rgba(148,163,184,.24);
  box-shadow:0 10px 22px rgba(15,23,42,.06);
}

.admin-shell-body .page-content{
  gap:1.75rem;
}

.admin-shell-body .theme-toggle{
  background:rgba(255,255,255,.08);
  color:#e2e8f0;
  border:1px solid rgba(255,255,255,.12);
}

.admin-shell-body .workspace-hero{
  padding:2rem 2.1rem;
}

.metric-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

.metric-tile{
  padding:1.35rem 1.4rem;
  border-radius:24px;
  border:1px solid rgba(148,163,184,.16);
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));
  box-shadow:0 18px 40px rgba(2,6,23,.14);
}

.metric-kicker{
  margin:0 0 .55rem;
  color:#a5b4cc;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.metric-value{
  margin:0;
  font-size:2rem;
  letter-spacing:-.04em;
}

.metric-note{
  margin:.55rem 0 0;
  color:#94a3b8;
}

.insight-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:24px;
}

.aside-stack{
  display:grid;
  gap:24px;
}

.admin-shell-body .surface,
.admin-shell-body .metric-tile,
.admin-shell-body .table-shell,
.admin-shell-body .activity-card{
  backdrop-filter:blur(16px);
}

.admin-shell-body .table-shell{
  border-radius:22px;
  border:1px solid rgba(148,163,184,.14);
  overflow:hidden;
}

.admin-shell-body .activity-card{
  padding:1rem 1.05rem;
  border-radius:18px;
  border:1px solid rgba(148,163,184,.12);
  background:rgba(255,255,255,.03);
}

.breakdown-list{
  display:grid;
  gap:1rem;
}

.breakdown-item{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:.45rem .9rem;
  align-items:center;
}

.breakdown-item strong{
  color:inherit;
}

.breakdown-item span{
  color:#94a3b8;
  font-weight:800;
}

.breakdown-meter{
  grid-column:1 / -1;
  height:8px;
  border-radius:999px;
  background:rgba(148,163,184,.14);
  overflow:hidden;
}

.breakdown-meter i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#7c3aed,#38bdf8);
}

html[data-theme='light'] .client-shell-body{
  background:
    radial-gradient(circle at 8% 0,rgba(124,58,237,.08),transparent 28%),
    radial-gradient(circle at 92% 0,rgba(14,165,233,.06),transparent 24%),
    linear-gradient(180deg,#f8fafc 0%,#eef2f7 100%)!important;
}

html[data-theme='light'] .client-shell-body .workspace-hero{
  border-color:rgba(99,102,241,.10);
  background:
    radial-gradient(circle at 85% 20%,rgba(167,139,250,.16),transparent 28%),
    linear-gradient(135deg,#ffffff 0%,#eef2ff 58%,#f5f3ff 100%);
}

html[data-theme='light'] .client-shell-body .workspace-hero__title{
  color:#0f172a!important;
}

html[data-theme='light'] .client-shell-body .workspace-hero__copy{
  color:#475569!important;
}

html[data-theme='light'] .client-shell-body .workspace-hero .btn-ghost{
  background:#ffffff!important;
  color:#334155!important;
  border:1px solid rgba(148,163,184,.22)!important;
}

html[data-theme='light'] .admin-shell-body .theme-toggle{
  background:#ffffff;
  color:#334155;
  border:1px solid rgba(148,163,184,.24);
}

html[data-theme='light'] .metric-tile{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border-color:rgba(148,163,184,.18);
  box-shadow:0 18px 44px rgba(15,23,42,.08);
}

html[data-theme='light'] .metric-kicker,
html[data-theme='light'] .metric-note,
html[data-theme='light'] .breakdown-item span{
  color:#64748b;
}

/* UX cleanup: keep the public brand stable and make app themes coherent. */
.public-shell-body{
  color-scheme:dark;
}

.public-shell-body .shell-nav,
html[data-theme='light'] .public-shell-body .shell-nav{
  background:rgba(7,11,24,.82)!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
}

.public-shell-body .shell-nav__inner,
html[data-theme='light'] .public-shell-body .shell-nav__inner{
  background:rgba(10,15,31,.86)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 24px 70px rgba(2,6,23,.34)!important;
}

.public-shell-body .shell-brand,
.public-shell-body .shell-link,
.public-shell-body .shell-user,
html[data-theme='light'] .public-shell-body .shell-brand,
html[data-theme='light'] .public-shell-body .shell-link,
html[data-theme='light'] .public-shell-body .shell-user{
  color:#eaf2ff!important;
}

.public-shell-body .shell-brand small{
  color:#9fb0c8!important;
}

.public-shell-body .shell-link:hover,
.public-shell-body .shell-link.active,
html[data-theme='light'] .public-shell-body .shell-link:hover,
html[data-theme='light'] .public-shell-body .shell-link.active{
  background:rgba(255,255,255,.09)!important;
  color:#ffffff!important;
}

.public-shell-body .dropdown-menu,
html[data-theme='light'] .public-shell-body .dropdown-menu{
  background:#0d1428!important;
  border-color:rgba(255,255,255,.12)!important;
  box-shadow:0 28px 80px rgba(2,6,23,.46)!important;
}

.public-shell-body .dropdown-item,
.public-shell-body .dropdown-item-text,
html[data-theme='light'] .public-shell-body .dropdown-item,
html[data-theme='light'] .public-shell-body .dropdown-item-text{
  color:#dbe7ff!important;
}

.public-shell-body .menu-item:hover,
html[data-theme='light'] .public-shell-body .menu-item:hover{
  background:rgba(255,255,255,.08)!important;
}

.client-shell-body,
.admin-shell-body{
  --ux-bg:#0b1020;
  --ux-bg-soft:#111827;
  --ux-panel:rgba(15,23,42,.88);
  --ux-panel-solid:#111827;
  --ux-panel-raised:rgba(17,24,39,.94);
  --ux-text:#eef4ff;
  --ux-heading:#ffffff;
  --ux-muted:#9aa8bd;
  --ux-line:rgba(148,163,184,.18);
  --ux-soft:rgba(124,58,237,.14);
  --ux-hover:rgba(255,255,255,.07);
  --ux-accent:#8b5cf6;
  --ux-accent-2:#22d3ee;
  --ux-success:#22c55e;
  --ux-shadow:0 22px 60px rgba(2,6,23,.28);
  background:
    radial-gradient(circle at 8% 0,rgba(124,58,237,.12),transparent 26%),
    radial-gradient(circle at 92% 0,rgba(34,211,238,.08),transparent 25%),
    linear-gradient(180deg,var(--ux-bg) 0%,#0f172a 100%)!important;
  color:var(--ux-text)!important;
}

html[data-theme='light'] .client-shell-body,
html[data-theme='light'] .admin-shell-body{
  --ux-bg:#f6f8fc;
  --ux-bg-soft:#eef3f9;
  --ux-panel:rgba(255,255,255,.94);
  --ux-panel-solid:#ffffff;
  --ux-panel-raised:#ffffff;
  --ux-text:#27364a;
  --ux-heading:#0f172a;
  --ux-muted:#64748b;
  --ux-line:rgba(148,163,184,.22);
  --ux-soft:rgba(79,70,229,.08);
  --ux-hover:rgba(79,70,229,.08);
  --ux-accent:#5b5ce2;
  --ux-accent-2:#0891b2;
  --ux-success:#008f73;
  --ux-shadow:0 18px 44px rgba(15,23,42,.08);
  background:
    radial-gradient(circle at 7% 0,rgba(91,92,226,.09),transparent 28%),
    radial-gradient(circle at 92% 0,rgba(8,145,178,.07),transparent 24%),
    linear-gradient(180deg,var(--ux-bg) 0%,#ffffff 100%)!important;
  color:var(--ux-text)!important;
}

.client-shell-body .shell-nav,
.admin-shell-body .shell-nav,
html[data-theme='light'] .client-shell-body .shell-nav,
html[data-theme='light'] .admin-shell-body .shell-nav{
  background:transparent!important;
  border-bottom:0!important;
}

.client-shell-body .shell-nav__inner,
.admin-shell-body .shell-nav__inner,
html[data-theme='light'] .client-shell-body .shell-nav__inner,
html[data-theme='light'] .admin-shell-body .shell-nav__inner{
  background:var(--ux-panel)!important;
  border:1px solid var(--ux-line)!important;
  box-shadow:var(--ux-shadow)!important;
}

.client-shell-body .shell-brand,
.client-shell-body .shell-link,
.client-shell-body .shell-user,
.admin-shell-body .shell-brand,
.admin-shell-body .shell-link,
.admin-shell-body .shell-user,
html[data-theme='light'] .client-shell-body .shell-brand,
html[data-theme='light'] .client-shell-body .shell-link,
html[data-theme='light'] .client-shell-body .shell-user,
html[data-theme='light'] .admin-shell-body .shell-brand,
html[data-theme='light'] .admin-shell-body .shell-link,
html[data-theme='light'] .admin-shell-body .shell-user{
  color:var(--ux-text)!important;
}

.client-shell-body .shell-brand small,
.client-shell-body .shell-user__meta small,
.admin-shell-body .shell-brand small,
.admin-shell-body .shell-user__meta small{
  color:var(--ux-muted)!important;
}

.client-shell-body .shell-link:hover,
.client-shell-body .shell-link.active,
.client-shell-body .shell-user:hover,
.admin-shell-body .shell-link:hover,
.admin-shell-body .shell-link.active,
.admin-shell-body .shell-user:hover,
html[data-theme='light'] .client-shell-body .shell-link:hover,
html[data-theme='light'] .client-shell-body .shell-link.active,
html[data-theme='light'] .client-shell-body .shell-user:hover,
html[data-theme='light'] .admin-shell-body .shell-link:hover,
html[data-theme='light'] .admin-shell-body .shell-link.active,
html[data-theme='light'] .admin-shell-body .shell-user:hover{
  background:var(--ux-hover)!important;
  color:var(--ux-heading)!important;
}

.client-shell-body .theme-toggle,
.admin-shell-body .theme-toggle,
html[data-theme='light'] .client-shell-body .theme-toggle,
html[data-theme='light'] .admin-shell-body .theme-toggle{
  min-height:42px;
  background:var(--ux-panel-solid)!important;
  color:var(--ux-text)!important;
  border:1px solid var(--ux-line)!important;
  box-shadow:none!important;
}

.client-shell-body .theme-toggle:hover,
.admin-shell-body .theme-toggle:hover{
  background:var(--ux-hover)!important;
  color:var(--ux-heading)!important;
}

.client-shell-body .dropdown-menu,
.admin-shell-body .dropdown-menu,
html[data-theme='light'] .client-shell-body .dropdown-menu,
html[data-theme='light'] .admin-shell-body .dropdown-menu{
  background:var(--ux-panel-solid)!important;
  border-color:var(--ux-line)!important;
  box-shadow:var(--ux-shadow)!important;
}

.client-shell-body .dropdown-item,
.client-shell-body .dropdown-item-text,
.admin-shell-body .dropdown-item,
.admin-shell-body .dropdown-item-text{
  color:var(--ux-text)!important;
}

.client-shell-body .dropdown-item small,
.admin-shell-body .dropdown-item small{
  color:var(--ux-muted)!important;
}

.client-shell-body .dropdown-item:hover,
.admin-shell-body .dropdown-item:hover{
  background:var(--ux-hover)!important;
  color:var(--ux-heading)!important;
}

.client-shell-body .customer-shell{
  display:grid;
  grid-template-columns:minmax(220px,260px) minmax(0,1fr);
  gap:1.4rem;
  align-items:start;
}

.client-shell-body .customer-main{
  min-width:0;
}

.client-shell-body .customer-sidebar{
  position:sticky;
  top:108px;
  display:grid;
  gap:.35rem;
  padding:.8rem;
  border-radius:22px;
  background:var(--ux-panel)!important;
  border:1px solid var(--ux-line)!important;
  box-shadow:var(--ux-shadow)!important;
}

.client-shell-body .customer-sidebar a{
  display:flex;
  align-items:center;
  gap:.7rem;
  min-height:44px;
  padding:.72rem .85rem;
  border-radius:14px;
  color:var(--ux-muted)!important;
  text-decoration:none;
  font-weight:850;
}

.client-shell-body .customer-sidebar a i{
  width:1.1rem;
  color:var(--ux-accent);
}

.client-shell-body .customer-sidebar a:hover,
.client-shell-body .customer-sidebar a.active{
  background:var(--ux-soft)!important;
  color:var(--ux-heading)!important;
}

.client-shell-body .workspace-hero,
.admin-shell-body .workspace-hero{
  background:
    radial-gradient(circle at 88% 18%,rgba(34,211,238,.14),transparent 28%),
    linear-gradient(135deg,var(--ux-panel-solid) 0%,var(--ux-bg-soft) 100%)!important;
  border:1px solid var(--ux-line)!important;
  box-shadow:var(--ux-shadow)!important;
}

.client-shell-body .workspace-hero__title,
.admin-shell-body .workspace-hero__title,
.client-shell-body .section-title,
.admin-shell-body .section-title,
.client-shell-body .surface h1,
.client-shell-body .surface h2,
.client-shell-body .surface h3,
.admin-shell-body .surface h1,
.admin-shell-body .surface h2,
.admin-shell-body .surface h3{
  color:var(--ux-heading)!important;
}

.client-shell-body .workspace-hero__eyebrow,
.admin-shell-body .workspace-hero__eyebrow,
.client-shell-body .section-kicker,
.admin-shell-body .section-kicker{
  color:var(--ux-accent)!important;
}

.client-shell-body .workspace-hero__copy,
.admin-shell-body .workspace-hero__copy,
.client-shell-body .section-copy,
.admin-shell-body .section-copy,
.client-shell-body .surface p,
.admin-shell-body .surface p,
.client-shell-body .text-muted,
.admin-shell-body .text-muted{
  color:var(--ux-muted)!important;
}

.client-shell-body .surface,
.client-shell-body .card,
.client-shell-body .panel,
.client-shell-body .table-shell,
.client-shell-body .kpi-card,
.client-shell-body .dashboard-card,
.client-shell-body .profile-card,
.admin-shell-body .surface,
.admin-shell-body .card,
.admin-shell-body .panel,
.admin-shell-body .table-shell,
.admin-shell-body .kpi-card,
.admin-shell-body .dashboard-card{
  background:var(--ux-panel)!important;
  color:var(--ux-text)!important;
  border:1px solid var(--ux-line)!important;
  box-shadow:var(--ux-shadow)!important;
}

.client-shell-body .dashboard-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1rem;
}

.client-shell-body .kpi-card{
  min-height:118px;
  padding:1.15rem;
  border-radius:20px!important;
}

.client-shell-body .kpi-card span{
  display:block;
  color:var(--ux-muted)!important;
  font-size:.78rem;
  font-weight:850;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.client-shell-body .kpi-card strong{
  display:block;
  margin-top:.65rem;
  color:var(--ux-heading)!important;
  font-size:clamp(1.7rem,3vw,2.25rem);
  line-height:1;
}

.client-shell-body .table,
.admin-shell-body .table{
  color:var(--ux-text)!important;
}

.client-shell-body .table th,
.admin-shell-body .table th{
  background:var(--ux-soft)!important;
  color:var(--ux-muted)!important;
  border-color:var(--ux-line)!important;
}

.client-shell-body .table td,
.admin-shell-body .table td{
  border-color:var(--ux-line)!important;
}

.client-shell-body .badge.bg-success,
.admin-shell-body .badge.bg-success{
  background:rgba(34,197,94,.14)!important;
  color:var(--ux-success)!important;
}

.client-shell-body .btn-ghost,
.admin-shell-body .btn-ghost,
html[data-theme='light'] .client-shell-body .btn-ghost,
html[data-theme='light'] .admin-shell-body .btn-ghost{
  background:var(--ux-panel-solid)!important;
  color:var(--ux-text)!important;
  border:1px solid var(--ux-line)!important;
}

.client-shell-body .form-control,
.client-shell-body .form-select,
.admin-shell-body .form-control,
.admin-shell-body .form-select{
  background:var(--ux-panel-solid)!important;
  color:var(--ux-text)!important;
  border-color:var(--ux-line)!important;
}

.client-shell-body .form-control::placeholder,
.admin-shell-body .form-control::placeholder{
  color:var(--ux-muted)!important;
}

html[data-theme='light'] .client-shell-body .form-control,
html[data-theme='light'] .client-shell-body .form-select,
html[data-theme='light'] .admin-shell-body .form-control,
html[data-theme='light'] .admin-shell-body .form-select{
  background:#ffffff!important;
  color:#27364a!important;
}

@media (max-width: 1100px){
  .metric-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .insight-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 991px){
  .client-shell-body .customer-shell{
    grid-template-columns:1fr;
  }

  .client-shell-body .customer-sidebar{
    position:relative;
    top:auto;
    max-height:none;
  }

  .client-shell-body .dashboard-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 767px){
  .metric-grid,
  .client-shell-body .dashboard-kpis{
    grid-template-columns:1fr;
  }

  .client-shell-body .workspace-hero,
  .admin-shell-body .workspace-hero{
    padding:1.5rem;
    border-radius:24px;
  }
}

/* Phase 27: readable, scroll-safe table rendering. */
.public-shell-body .table-responsive,
.client-shell-body .table-responsive,
.admin-shell-body .table-responsive,
.client-shell-body .table-shell,
.admin-shell-body .table-shell{
  width:100%;
  max-width:100%;
  overflow-x:auto!important;
  overflow-y:hidden;
  border-radius:20px;
  scrollbar-width:thin;
  scrollbar-color:rgba(139,92,246,.42) transparent;
}

.public-shell-body .table-responsive::-webkit-scrollbar,
.client-shell-body .table-responsive::-webkit-scrollbar,
.admin-shell-body .table-responsive::-webkit-scrollbar,
.client-shell-body .table-shell::-webkit-scrollbar,
.admin-shell-body .table-shell::-webkit-scrollbar{
  height:10px;
}

.public-shell-body .table-responsive::-webkit-scrollbar-thumb,
.client-shell-body .table-responsive::-webkit-scrollbar-thumb,
.admin-shell-body .table-responsive::-webkit-scrollbar-thumb,
.client-shell-body .table-shell::-webkit-scrollbar-thumb,
.admin-shell-body .table-shell::-webkit-scrollbar-thumb{
  background:rgba(139,92,246,.42);
  border-radius:999px;
}

.public-shell-body .table,
.client-shell-body .table,
.admin-shell-body .table,
.public-shell-body table.dataTable,
.client-shell-body table.dataTable,
.admin-shell-body table.dataTable{
  width:100%!important;
  min-width:760px!important;
  table-layout:auto!important;
  border-collapse:separate!important;
  border-spacing:0 8px!important;
}

.client-shell-body .table-shell .table,
.admin-shell-body .table-shell .table,
.client-shell-body .table-shell table.dataTable,
.admin-shell-body .table-shell table.dataTable{
  min-width:920px!important;
}

.public-shell-body .table thead th,
.client-shell-body .table thead th,
.admin-shell-body .table thead th,
.public-shell-body table.dataTable thead th,
.client-shell-body table.dataTable thead th,
.admin-shell-body table.dataTable thead th{
  padding:14px 18px!important;
  white-space:nowrap!important;
  line-height:1.2;
  vertical-align:middle;
}

.public-shell-body .table tbody td,
.client-shell-body .table tbody td,
.admin-shell-body .table tbody td,
.public-shell-body table.dataTable tbody td,
.client-shell-body table.dataTable tbody td,
.admin-shell-body table.dataTable tbody td{
  padding:16px 18px!important;
  min-width:130px;
  max-width:340px;
  line-height:1.45;
  vertical-align:top;
  white-space:normal!important;
  overflow-wrap:anywhere;
}

.public-shell-body .table tbody td:first-child,
.client-shell-body .table tbody td:first-child,
.admin-shell-body .table tbody td:first-child,
.public-shell-body table.dataTable tbody td:first-child,
.client-shell-body table.dataTable tbody td:first-child,
.admin-shell-body table.dataTable tbody td:first-child{
  min-width:190px;
  font-weight:850;
}

.public-shell-body .table tbody td:last-child,
.client-shell-body .table tbody td:last-child,
.admin-shell-body .table tbody td:last-child,
.public-shell-body table.dataTable tbody td:last-child,
.client-shell-body table.dataTable tbody td:last-child,
.admin-shell-body table.dataTable tbody td:last-child{
  min-width:140px;
}

.public-shell-body .table tbody tr,
.client-shell-body .table tbody tr,
.admin-shell-body .table tbody tr,
.public-shell-body table.dataTable tbody tr,
.client-shell-body table.dataTable tbody tr,
.admin-shell-body table.dataTable tbody tr{
  transition:background-color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.client-shell-body .table tbody tr:hover,
.admin-shell-body .table tbody tr:hover,
.client-shell-body table.dataTable tbody tr:hover,
.admin-shell-body table.dataTable tbody tr:hover{
  background:var(--ux-hover)!important;
}

.public-shell-body .table tbody tr:hover,
.public-shell-body table.dataTable tbody tr:hover{
  background:rgba(255,255,255,.06)!important;
}

.dt-container,
.dataTables_wrapper{
  max-width:100%;
}

.client-shell-body .dt-container,
.admin-shell-body .dt-container,
.client-shell-body .dataTables_wrapper,
.admin-shell-body .dataTables_wrapper{
  color:var(--ux-text)!important;
}

.client-shell-body .dt-search input,
.client-shell-body .dt-length select,
.admin-shell-body .dt-search input,
.admin-shell-body .dt-length select{
  min-width:120px;
  background:var(--ux-panel-solid)!important;
  color:var(--ux-text)!important;
  border:1px solid var(--ux-line)!important;
}

.client-shell-body .table-enhanced,
.admin-shell-body .table-enhanced{
  display:grid;
  gap:.95rem;
}

.client-shell-body .dt-layout-row,
.admin-shell-body .dt-layout-row,
.client-shell-body .dataTables_wrapper .row,
.admin-shell-body .dataTables_wrapper .row{
  align-items:center!important;
  gap:.85rem;
}

.client-shell-body .dt-search,
.client-shell-body .dt-length,
.admin-shell-body .dt-search,
.admin-shell-body .dt-length{
  display:flex;
  align-items:center;
  gap:.55rem;
  color:var(--ux-muted)!important;
  font-weight:800;
}

.client-shell-body .dt-info,
.client-shell-body .dt-paging,
.admin-shell-body .dt-info,
.admin-shell-body .dt-paging{
  color:var(--ux-muted)!important;
}

.client-shell-body .dt-paging button,
.admin-shell-body .dt-paging button{
  min-width:38px;
  min-height:38px;
  border-radius:12px!important;
  border:1px solid var(--ux-line)!important;
  background:var(--ux-panel-solid)!important;
  color:var(--ux-text)!important;
}

.client-shell-body .dt-paging button.current,
.admin-shell-body .dt-paging button.current{
  background:var(--ux-soft)!important;
  color:var(--ux-heading)!important;
}

.ca-table-polished thead th{
  position:sticky;
  top:0;
  z-index:3;
}

.client-shell-body .ca-table-polished thead th,
.admin-shell-body .ca-table-polished thead th{
  background:var(--ux-panel-solid)!important;
}

.public-shell-body .ca-table-polished thead th{
  background:#101827!important;
}

.ca-table-polished tbody td[data-column*="id"],
.ca-table-polished tbody td[data-column*="user"],
.ca-table-polished tbody td[data-column*="tenant"],
.ca-table-polished tbody td[data-column*="ticket"]{
  font-variant-numeric:tabular-nums;
}

.ca-table-polished tbody td[data-column*="created"],
.ca-table-polished tbody td[data-column*="updated"],
.ca-table-polished tbody td[data-column*="date"],
.ca-table-polished tbody td[data-column*="expires"],
.ca-table-polished tbody td[data-column*="requested"]{
  color:var(--ux-muted)!important;
  font-size:.9rem;
  white-space:nowrap!important;
}

.ca-status-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:.35rem .62rem;
  border-radius:999px;
  border:1px solid transparent;
  font-size:.76rem;
  font-weight:900;
  line-height:1;
  text-transform:capitalize;
  white-space:nowrap;
}

.ca-status-pill--success{
  background:rgba(34,197,94,.14);
  border-color:rgba(34,197,94,.22);
  color:#22c55e;
}

.ca-status-pill--info{
  background:rgba(14,165,233,.14);
  border-color:rgba(14,165,233,.22);
  color:#38bdf8;
}

.ca-status-pill--warning{
  background:rgba(245,158,11,.16);
  border-color:rgba(245,158,11,.24);
  color:#f59e0b;
}

.ca-status-pill--danger{
  background:rgba(239,68,68,.15);
  border-color:rgba(239,68,68,.24);
  color:#ef4444;
}

.ca-status-pill--muted,
.ca-status-pill--neutral{
  background:rgba(148,163,184,.14);
  border-color:rgba(148,163,184,.22);
  color:var(--ux-muted,#64748b);
}

html[data-theme='light'] .client-shell-body .ca-status-pill--success,
html[data-theme='light'] .admin-shell-body .ca-status-pill--success{
  color:#047857;
}

html[data-theme='light'] .client-shell-body .ca-status-pill--info,
html[data-theme='light'] .admin-shell-body .ca-status-pill--info{
  color:#0369a1;
}

html[data-theme='light'] .client-shell-body .ca-status-pill--warning,
html[data-theme='light'] .admin-shell-body .ca-status-pill--warning{
  color:#92400e;
}

html[data-theme='light'] .client-shell-body .ca-status-pill--danger,
html[data-theme='light'] .admin-shell-body .ca-status-pill--danger{
  color:#b91c1c;
}

.public-shell-body .table-responsive,
.client-shell-body .table-responsive,
.admin-shell-body .table-responsive,
.client-shell-body .table-shell,
.admin-shell-body .table-shell{
  position:relative;
}

.public-shell-body .table-responsive:focus-within,
.client-shell-body .table-responsive:focus-within,
.admin-shell-body .table-responsive:focus-within,
.client-shell-body .table-shell:focus-within,
.admin-shell-body .table-shell:focus-within{
  outline:3px solid rgba(139,92,246,.18);
  outline-offset:3px;
}

@media (max-width: 767px){
  .public-shell-body .table,
  .client-shell-body .table,
  .admin-shell-body .table,
  .public-shell-body table.dataTable,
  .client-shell-body table.dataTable,
  .admin-shell-body table.dataTable,
  .client-shell-body .table-shell .table,
  .admin-shell-body .table-shell .table,
  .client-shell-body .table-shell table.dataTable,
  .admin-shell-body .table-shell table.dataTable{
    min-width:720px!important;
  }

  .public-shell-body .table-responsive table,
  .client-shell-body .table-responsive table,
  .admin-shell-body .table-responsive table,
  .client-shell-body .table-shell table,
  .admin-shell-body .table-shell table{
    display:table!important;
  }

  .public-shell-body .table-responsive table thead,
  .client-shell-body .table-responsive table thead,
  .admin-shell-body .table-responsive table thead,
  .client-shell-body .table-shell table thead,
  .admin-shell-body .table-shell table thead{
    display:table-header-group!important;
  }

  .public-shell-body .table-responsive table tbody,
  .client-shell-body .table-responsive table tbody,
  .admin-shell-body .table-responsive table tbody,
  .client-shell-body .table-shell table tbody,
  .admin-shell-body .table-shell table tbody{
    display:table-row-group!important;
  }

  .public-shell-body .table-responsive table tbody tr,
  .client-shell-body .table-responsive table tbody tr,
  .admin-shell-body .table-responsive table tbody tr,
  .client-shell-body .table-shell table tbody tr,
  .admin-shell-body .table-shell table tbody tr{
    display:table-row!important;
    margin:0!important;
    padding:0!important;
    border-radius:0!important;
  }

  .public-shell-body .table-responsive table tbody td,
  .client-shell-body .table-responsive table tbody td,
  .admin-shell-body .table-responsive table tbody td,
  .client-shell-body .table-shell table tbody td,
  .admin-shell-body .table-shell table tbody td{
    display:table-cell!important;
    justify-content:normal!important;
    gap:0!important;
  }

  .public-shell-body .table-responsive table tbody td::before,
  .client-shell-body .table-responsive table tbody td::before,
  .admin-shell-body .table-responsive table tbody td::before,
  .client-shell-body .table-shell table tbody td::before,
  .admin-shell-body .table-shell table tbody td::before{
    content:none!important;
  }

  .public-shell-body .table tbody td,
  .client-shell-body .table tbody td,
  .admin-shell-body .table tbody td,
  .public-shell-body table.dataTable tbody td,
  .client-shell-body table.dataTable tbody td,
  .admin-shell-body table.dataTable tbody td{
    min-width:120px;
    padding:14px 16px!important;
  }
}

/* Phase 28 final guard: keep service management rows from inheriting compressed table/card styles. */
.client-shell-body .service-list{display:grid!important;gap:.9rem!important}
.client-shell-body .service-row{display:grid!important;grid-template-columns:48px minmax(0,1fr) auto!important;align-items:center!important}
.client-shell-body .service-row__actions{display:flex!important;gap:.55rem!important;justify-content:flex-end!important}
@media (max-width:1100px){
  .client-shell-body .service-row{grid-template-columns:48px minmax(0,1fr)!important}
  .client-shell-body .service-row__actions{grid-column:2!important;justify-content:flex-start!important;flex-wrap:wrap!important}
}
@media (max-width:767px){
  .client-shell-body .service-row{grid-template-columns:1fr!important}
  .client-shell-body .service-row__actions{grid-column:auto!important;display:grid!important;grid-template-columns:1fr!important}
}

/* Phase 28: email template editor UX. */
.admin-shell-body .template-token-grid{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
}

.admin-shell-body .template-token-grid span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:.42rem .68rem;
  border-radius:999px;
  background:var(--ux-soft);
  color:var(--ux-text);
  border:1px solid var(--ux-line);
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  font-size:.78rem;
  font-weight:850;
}

.admin-shell-body .template-accordion-title{
  display:grid;
  gap:.1rem;
  min-width:0;
  text-align:left;
}

.admin-shell-body .template-accordion-title strong{
  color:var(--ux-heading);
  font-size:.98rem;
}

.admin-shell-body .template-accordion-title small{
  color:var(--ux-muted);
  font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
}

.admin-shell-body .email-template-workbench{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);
  gap:1rem;
  align-items:start;
}

.admin-shell-body .template-preview-panel{
  min-width:0;
  padding:1rem;
  border-radius:18px;
  background:var(--ux-soft);
  border:1px solid var(--ux-line);
}

.admin-shell-body .template-preview-panel h3{
  margin:.15rem 0 .8rem;
  color:var(--ux-heading)!important;
  font-size:1rem;
  letter-spacing:-.02em;
}

.admin-shell-body .template-preview-panel pre{
  max-height:260px;
  overflow:auto;
  margin:0 0 .85rem;
  padding:.85rem;
  border-radius:14px;
  background:var(--ux-panel-solid);
  border:1px solid var(--ux-line);
  color:var(--ux-text);
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-size:.82rem;
}

.admin-shell-body .template-preview-panel small{
  display:block;
  color:var(--ux-muted);
}

@media (max-width:991px){
  .admin-shell-body .email-template-workbench{
    grid-template-columns:1fr;
  }
}

/* Phase 29: Stripe-like typography, universal table pagination, and profile UX. */
html,
body,
button,
input,
select,
textarea{
  font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;
}

.shell-brand,
.shell-brand strong,
.section-title,
.workspace-hero__title,
.marketing-copy h1,
.spotlight-panel strong,
.metric-value,
.shell-footer h2,
.brand-hero h1{
  font-family:Inter,"Helvetica Neue",Arial,sans-serif!important;
  letter-spacing:-.045em!important;
}

.workspace-hero__title,
.brand-hero h1{
  font-weight:850!important;
}

.client-shell-body .ca-table-pagination,
.admin-shell-body .ca-table-pagination,
.public-shell-body .ca-table-pagination{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin-top:1rem;
  padding:.78rem .9rem;
  border:1px solid var(--ux-line,rgba(148,163,184,.2));
  border-radius:16px;
  background:var(--ux-panel-solid,#fff);
}

.client-shell-body .ca-table-pagination__info,
.admin-shell-body .ca-table-pagination__info,
.public-shell-body .ca-table-pagination__info{
  color:var(--ux-muted,#64748b);
  font-size:.88rem;
  font-weight:800;
}

.client-shell-body .ca-table-pagination__buttons,
.admin-shell-body .ca-table-pagination__buttons,
.public-shell-body .ca-table-pagination__buttons{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:.38rem;
  flex-wrap:wrap;
}

.client-shell-body .ca-page-btn,
.admin-shell-body .ca-page-btn,
.public-shell-body .ca-page-btn{
  min-width:36px;
  min-height:36px;
  border-radius:12px;
  border:1px solid var(--ux-line,rgba(148,163,184,.24));
  background:var(--ux-panel,#fff);
  color:var(--ux-text,#334155);
  font-weight:850;
  line-height:1;
}

.client-shell-body .ca-page-btn:hover:not(:disabled),
.admin-shell-body .ca-page-btn:hover:not(:disabled),
.public-shell-body .ca-page-btn:hover:not(:disabled),
.client-shell-body .ca-page-btn.is-active,
.admin-shell-body .ca-page-btn.is-active,
.public-shell-body .ca-page-btn.is-active{
  background:var(--ux-soft,rgba(14,165,233,.1));
  color:var(--ux-heading,#0f172a);
}

.client-shell-body .ca-page-btn:disabled,
.admin-shell-body .ca-page-btn:disabled,
.public-shell-body .ca-page-btn:disabled{
  cursor:not-allowed;
  opacity:.48;
}

.client-shell-body .profile-workspace{
  display:grid;
  grid-template-columns:minmax(260px,340px) minmax(0,1fr);
  gap:1rem;
  align-items:start;
}

.client-shell-body .profile-summary-panel{
  display:grid;
  gap:1rem;
}

.client-shell-body .profile-avatar-large{
  width:78px;
  height:78px;
  display:grid;
  place-items:center;
  border-radius:24px;
  background:linear-gradient(135deg,#0f766e,#2563eb);
  color:#fff;
  font-size:1.75rem;
  font-weight:900;
  box-shadow:0 18px 42px rgba(15,118,110,.22);
}

.client-shell-body .profile-summary-panel h2{
  margin:0;
  color:var(--ux-heading)!important;
}

.client-shell-body .profile-summary-panel p{
  margin:0;
}

.client-shell-body .profile-facts{
  display:grid;
  gap:.55rem;
}

.client-shell-body .profile-facts span{
  display:grid;
  gap:.12rem;
  padding:.72rem .8rem;
  border-radius:14px;
  background:var(--ux-soft);
  border:1px solid var(--ux-line);
  color:var(--ux-text);
  overflow-wrap:anywhere;
}

.client-shell-body .profile-facts strong{
  color:var(--ux-muted)!important;
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.client-shell-body .profile-edit-stack{
  display:grid;
  gap:1rem;
  min-width:0;
}

@media (max-width:991px){
  .client-shell-body .profile-workspace{
    grid-template-columns:1fr;
  }
}

@media (max-width:767px){
  .client-shell-body .ca-table-pagination,
  .admin-shell-body .ca-table-pagination,
  .public-shell-body .ca-table-pagination{
    align-items:stretch;
    flex-direction:column;
  }

  .client-shell-body .ca-table-pagination__buttons,
  .admin-shell-body .ca-table-pagination__buttons,
  .public-shell-body .ca-table-pagination__buttons{
    justify-content:flex-start;
  }
}

/* Phase 30: client module consistency and actionable hosting service tools. */
.client-shell-body .customer-main > .workspace-hero:first-child{
  margin-bottom:1rem;
}

.client-shell-body .section-grid--balanced{
  grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);
}

.client-shell-body .compact-metrics{
  gap:.75rem;
  margin-bottom:1rem;
}

.client-shell-body .compact-metrics .metric-tile{
  min-height:104px;
  padding:1rem;
}

.client-shell-body .shortcut-grid--compact{
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:.75rem;
}

.client-shell-body .shortcut-grid--compact .shortcut-card{
  min-height:112px;
  padding:1rem;
}

.client-shell-body .service-tool-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.85rem;
}

.client-shell-body .service-tool-card{
  display:grid;
  grid-template-columns:46px minmax(0,1fr) auto;
  align-items:center;
  gap:.9rem;
  padding:1rem;
  border:1px solid var(--ux-line);
  border-radius:18px;
  background:linear-gradient(180deg,var(--ux-panel-solid),var(--ux-bg-soft));
  color:var(--ux-text)!important;
  text-decoration:none;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.client-shell-body .service-tool-card:hover{
  transform:translateY(-1px);
  border-color:rgba(14,165,233,.30);
  box-shadow:0 18px 44px rgba(15,23,42,.10);
}

.client-shell-body .service-tool-card.is-limited{
  border-style:dashed;
}

.client-shell-body .service-tool-card__icon{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:15px;
  color:#0f766e;
  background:rgba(20,184,166,.14);
  border:1px solid rgba(20,184,166,.22);
}

.client-shell-body .service-tool-card__body{
  min-width:0;
  display:grid;
  gap:.2rem;
}

.client-shell-body .service-tool-card__body strong{
  color:var(--ux-heading)!important;
  font-size:1rem;
}

.client-shell-body .service-tool-card__body small,
.client-shell-body .service-tool-card__body em{
  color:var(--ux-muted)!important;
  font-style:normal;
  line-height:1.45;
}

.client-shell-body .service-tool-card__arrow{
  color:var(--ux-accent);
}

.client-shell-body .action-list--compact{
  gap:.65rem;
}

.client-shell-body .activity-card--action{
  text-decoration:none;
  transition:transform .18s ease,border-color .18s ease;
}

.client-shell-body .activity-card--action:hover{
  transform:translateX(2px);
  border-color:rgba(14,165,233,.30);
}

.client-shell-body .surface .table-shell{
  margin-top:.35rem;
}

.client-shell-body .workspace-hero + .section-grid,
.client-shell-body .workspace-hero + .surface,
.client-shell-body .metric-grid + .section-grid,
.client-shell-body .section-grid + .surface,
.client-shell-body .surface + .section-grid{
  margin-top:1rem;
}

@media (max-width:1100px){
  .client-shell-body .section-grid--balanced,
  .client-shell-body .service-tool-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:767px){
  .client-shell-body .service-tool-card{
    grid-template-columns:42px minmax(0,1fr);
  }

  .client-shell-body .service-tool-card__arrow{
    display:none;
  }
}

/* Phase 31: live storefront, responsive navigation, and no-reload domain buying flow. */
.shell-nav .navbar,
.shell-nav .navbar-collapse,
.shell-nav__menu,
.shell-nav__actions,
.shell-nav .nav-item{
  min-width:0;
}

.shell-nav__menu{
  flex-wrap:wrap;
}

.shell-nav .btn,
.shell-nav .shell-link{
  min-height:42px;
}

.storefront-hero{
  align-items:flex-start;
}

.storefront-search__form{
  min-width:0;
}

.store-domain-feedback{
  display:block;
  width:100%;
  margin-top:.85rem;
  padding:1rem;
  border-radius:18px;
  border:1px solid rgba(148,163,184,.18);
  background:#ffffff;
  color:#0f172a;
  box-shadow:0 14px 38px rgba(15,23,42,.07);
}

.store-domain-feedback.is-idle{
  color:#64748b;
  background:rgba(255,255,255,.78);
}

.store-domain-feedback__message{
  font-weight:850;
  color:#0f172a;
}

.store-domain-feedback__meta{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
  margin-top:.65rem;
  color:#475569;
}

.hosting-domain-lock{
  display:grid;
  gap:.7rem;
}

.hosting-domain-lock__options{
  display:flex;
  flex-wrap:wrap;
  gap:.75rem;
}

.hosting-domain-lock__options label{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  min-height:40px;
  padding:.62rem .78rem;
  border:1px solid rgba(148,163,184,.22);
  border-radius:14px;
  background:rgba(255,255,255,.07);
  color:inherit;
  font-weight:850;
}

.cart-domain-pill{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  margin-top:.65rem;
  padding:.48rem .68rem;
  border-radius:999px;
  background:#eef2ff;
  color:#4338ca;
  font-weight:900;
  font-size:.86rem;
}

.pricing-comparison{
  overflow:hidden;
}

.pricing-table-shell{
  border-radius:22px;
  border:1px solid rgba(148,163,184,.18);
  background:#ffffff;
}

.pricing-table{
  min-width:880px;
  margin:0;
}

.pricing-table th{
  background:#0f172a!important;
  color:#cbd5e1!important;
  border-bottom:0!important;
  padding:1rem 1.15rem!important;
}

.pricing-table td{
  color:#0f172a!important;
  background:#ffffff!important;
  padding:1rem 1.15rem!important;
  border-bottom:1px solid #e8edf6!important;
}

.pricing-table td strong,
.pricing-table td small{
  display:block;
}

.pricing-table td small{
  margin-top:.25rem;
  color:#64748b;
  max-width:320px;
}

.feature-chip-list{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
}

.feature-chip-list span{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:.4rem .58rem;
  border-radius:999px;
  background:#f1f5f9;
  color:#334155;
  font-weight:800;
  font-size:.82rem;
}

.select2-container.custom-select2{
  width:100%!important;
  min-width:0;
}

.select2-container--default .custom-select2-selection,
.select2-container--default.custom-select2 .select2-selection--single,
.select2-container--default.custom-select2 .select2-selection--multiple{
  min-height:52px!important;
  display:flex!important;
  align-items:center!important;
  border-radius:16px!important;
  border:1px solid rgba(148,163,184,.28)!important;
  background:#ffffff!important;
  color:#0f172a!important;
  box-shadow:0 12px 28px rgba(15,23,42,.05)!important;
}

.select2-container--default.custom-select2 .select2-selection--single .select2-selection__rendered{
  width:100%;
  padding:0 2.65rem 0 1rem!important;
  color:#0f172a!important;
  line-height:50px!important;
  font-weight:850;
}

.select2-container--default.custom-select2 .select2-selection--single .select2-selection__placeholder{
  color:#64748b!important;
}

.select2-container--default.custom-select2 .select2-selection--single .select2-selection__arrow{
  width:2.75rem!important;
  height:100%!important;
  right:.2rem!important;
}

.select2-container--default.custom-select2 .select2-selection--single .select2-selection__arrow b{
  border-color:#64748b transparent transparent transparent!important;
  border-width:6px 5px 0 5px!important;
}

.select2-container--default.custom-select2.select2-container--open .select2-selection--single,
.select2-container--default.custom-select2.select2-container--focus .select2-selection--single,
.select2-container--default.custom-select2.select2-container--open .select2-selection--multiple,
.select2-container--default.custom-select2.select2-container--focus .select2-selection--multiple{
  border-color:rgba(124,58,237,.62)!important;
  box-shadow:0 0 0 4px rgba(124,58,237,.14),0 16px 34px rgba(15,23,42,.08)!important;
}

.select2-dropdown.custom-select2-dropdown{
  z-index:99999!important;
  overflow:hidden;
  border-radius:18px!important;
  border:1px solid rgba(148,163,184,.24)!important;
  background:#ffffff!important;
  color:#0f172a!important;
  box-shadow:0 24px 60px rgba(15,23,42,.22)!important;
}

.custom-select2-dropdown .select2-search--dropdown{
  padding:.7rem!important;
  background:#ffffff!important;
}

.custom-select2-dropdown .select2-search__field{
  min-height:42px!important;
  border-radius:12px!important;
  border:1px solid rgba(148,163,184,.26)!important;
  color:#0f172a!important;
}

.custom-select2-dropdown .select2-results__option{
  min-height:42px;
  padding:.72rem .9rem!important;
  color:#0f172a!important;
}

.custom-select2-dropdown .select2-results__option--highlighted.select2-results__option--selectable{
  background:#f1edff!important;
  color:#5b21b6!important;
}

.custom-select2-dropdown .select2-results__option--selected{
  background:#ede9fe!important;
  color:#4c1d95!important;
  font-weight:900;
}

.auth-section-card .select2-container.custom-select2,
.auth-card .select2-container.custom-select2,
.surface .select2-container.custom-select2{
  width:100%!important;
}

@media(max-width:1199px){
  .shell-nav .container{
    max-width:100%;
  }

  .shell-link{
    padding:.62rem .72rem;
  }
}

@media(max-width:991px){
  .shell-nav__menu{
    flex-wrap:nowrap;
  }

  .shell-nav .navbar-collapse{
    width:100%;
  }

  .shell-nav__menu,
  .shell-nav__actions{
    align-items:stretch!important;
    gap:.35rem;
  }

  .shell-nav .nav-item,
  .shell-nav .dropdown,
  .shell-nav .shell-link,
  .shell-nav .btn{
    width:100%;
  }

  .shell-nav .dropdown-menu{
    position:static!important;
    transform:none!important;
    width:100%;
    margin:.35rem 0 .6rem;
  }

  .domain-result-card{
    align-items:flex-start;
    flex-direction:column;
  }

  .result-action{
    width:100%;
    text-align:left;
  }

  .result-action .btn,
  .result-action button{
    width:100%;
  }

  .suggestion-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:575px){
  .storefront-pills,
  .storefront-products,
  .suggestion-grid{
    grid-template-columns:1fr!important;
  }

  .checkout-inline{
    grid-template-columns:1fr!important;
  }

  .hosting-domain-lock__options{
    display:grid;
    grid-template-columns:1fr;
  }
}

/* Phase 32: device compatibility and full-app responsive hardening. */
*,
*::before,
*::after{
  box-sizing:border-box;
}

html{
  width:100%;
  overflow-x:hidden;
  text-size-adjust:100%;
  -webkit-text-size-adjust:100%;
}

body{
  width:100%;
  min-width:320px;
  overflow-x:hidden!important;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.workspace-hero__title,
.brand-hero h1,
.shell-brand,
.shell-brand strong{
  letter-spacing:0!important;
}

img,
svg,
video,
canvas,
iframe{
  max-width:100%;
}

img,
video{
  height:auto;
}

.page-frame,
.page-content,
.main-container,
.surface,
.surface-card,
.ca-panel,
.comparison-card,
.workspace-hero,
.customer-main,
.admin-shell-body main,
.client-shell-body main{
  min-width:0;
}

.page-content{
  width:min(100%,1320px);
  padding-inline:clamp(.85rem,2vw,1.5rem);
}

.btn,
button,
.form-control,
.form-select,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple{
  min-height:44px;
}

.btn,
button,
a,
input,
select,
textarea,
.select2-selection{
  touch-action:manipulation;
}

.workspace-hero,
.storefront-rail__lead,
.storefront-section__head,
.surface-head,
.section-head,
.dashboard-heading,
.admin-heading,
.page-heading{
  min-width:0;
}

.workspace-hero__title,
.brand-hero h1,
.premium-page-hero h1{
  font-size:3.6rem!important;
  line-height:1.02!important;
  overflow-wrap:anywhere;
}

.workspace-hero__copy,
.brand-lead,
.section-copy,
.ca-lead,
.store-card__copy,
.menu-item__body small{
  overflow-wrap:anywhere;
}

.workspace-hero__actions,
.ca-actions,
.brand-hero__actions,
.surface-head,
.section-head,
.store-card__footer,
.ticket-item__side{
  flex-wrap:wrap;
}

.section-grid,
.section-grid--balanced,
.auth-layout,
.brand-hero,
.split-feature,
.product-bands,
.customer-shell,
.profile-grid,
.checkout-grid,
.storefront-search__grid,
.storefront-products,
.premium-plan-grid,
.ca-grid-3,
.ca-grid-4,
.dashboard-kpis,
.metric-grid,
.insight-grid,
.shortcut-grid,
.shortcut-grid--compact,
.service-tool-grid,
.faq-grid,
.footer-grid{
  min-width:0;
}

.table-shell,
.table-responsive,
.pricing-table-shell{
  width:100%;
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

.table-shell table,
.table-responsive table{
  width:100%;
}

.table-shell th,
.table-shell td,
.table-responsive th,
.table-responsive td{
  overflow-wrap:anywhere;
}

.select2-container.custom-select2,
.select2-container{
  max-width:100%!important;
}

.select2-container--default.custom-select2 .select2-selection--single .select2-selection__rendered{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.select2-dropdown.custom-select2-dropdown{
  max-width:calc(100vw - 24px)!important;
}

.form-stack,
form,
.row{
  min-width:0;
}

input,
textarea,
select,
.form-control,
.form-select{
  max-width:100%;
}

.shell-nav{
  max-width:100vw;
}

.shell-nav .container,
.shell-nav__inner,
.shell-nav .navbar-collapse{
  min-width:0;
}

.shell-nav__dropdown,
.profile-dropdown{
  max-width:calc(100vw - 24px);
}

.customer-sidebar{
  scrollbar-width:thin;
}

@media(max-width:1199.98px){
  .brand-hero,
  .auth-layout,
  .split-feature,
  .product-bands,
  .section-grid,
  .section-grid--balanced,
  .profile-grid{
    grid-template-columns:1fr!important;
  }

  .metric-grid,
  .dashboard-kpis,
  .ca-grid-4,
  .premium-plan-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .workspace-hero__title,
  .brand-hero h1,
  .premium-page-hero h1{
    font-size:3rem!important;
  }
}

@media(max-width:991.98px){
  body:not(.admin-shell-body) .page-frame{
    padding-top:86px!important;
  }

  .page-content{
    padding-inline:1rem;
  }

  .shell-nav .navbar-collapse{
    max-height:calc(100svh - 92px)!important;
    overflow-y:auto!important;
    overscroll-behavior:contain;
  }

  .shell-nav__menu,
  .shell-nav__actions{
    display:grid!important;
    grid-template-columns:1fr;
    width:100%;
  }

  .shell-link,
  .shell-nav .btn,
  .shell-user,
  .theme-toggle{
    width:100%;
    justify-content:center;
  }

  .customer-shell{
    grid-template-columns:1fr!important;
  }

  .customer-sidebar{
    position:relative!important;
    top:auto!important;
    max-height:none!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:.35rem;
  }

  .workspace-hero,
  .surface-head,
  .section-head,
  .storefront-section__head{
    align-items:flex-start!important;
    flex-direction:column;
  }

  .workspace-hero__actions,
  .ca-actions,
  .brand-hero__actions{
    width:100%;
  }

  .workspace-hero__actions .btn,
  .ca-actions .btn,
  .brand-hero__actions .btn{
    flex:1 1 220px;
  }

  .checkout-grid,
  .storefront-search__grid,
  .faq-grid,
  .footer-grid{
    grid-template-columns:1fr!important;
  }

  .storefront-products,
  .ca-grid-3{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:767.98px){
  .page-content{
    padding-inline:.8rem;
  }

  .surface,
  .surface-card,
  .ca-panel,
  .auth-card,
  .comparison-card,
  .workspace-hero,
  .faq-panel{
    padding:1rem!important;
    border-radius:20px!important;
  }

  .workspace-hero__title,
  .brand-hero h1,
  .premium-page-hero h1{
    font-size:2.2rem!important;
    line-height:1.06!important;
  }

  .metric-grid,
  .dashboard-kpis,
  .ca-grid-4,
  .premium-plan-grid,
  .console-grid,
  .trust-strip,
  .suggestion-grid,
  .shortcut-grid,
  .shortcut-grid--compact{
    grid-template-columns:1fr!important;
  }

  .customer-sidebar{
    grid-template-columns:1fr!important;
  }

  .row{
    margin-inline:0!important;
  }

  .row > *{
    width:100%!important;
    max-width:100%!important;
    flex:0 0 100%!important;
    padding-inline:0!important;
  }

  .checkout-inline,
  .store-duration__grid{
    grid-template-columns:1fr!important;
  }

  .workspace-hero__actions .btn,
  .ca-actions .btn,
  .brand-hero__actions .btn,
  form .btn[type="submit"]{
    width:100%;
  }

  .admin-hub__top{
    display:grid!important;
    grid-template-columns:1fr!important;
  }

  .admin-hub__search{
    max-width:none!important;
    width:100%!important;
  }
}

@media(max-width:575.98px){
  body:not(.admin-shell-body) .page-frame{
    padding-top:78px!important;
  }

  .page-content{
    padding-inline:.65rem;
  }

  .shell-brand__mark{
    width:36px!important;
    height:36px!important;
    border-radius:12px!important;
  }

  .shell-brand strong{
    max-width:52vw;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .shell-brand small,
  .shell-user__meta{
    display:none!important;
  }

  .workspace-hero__title,
  .brand-hero h1,
  .premium-page-hero h1{
    font-size:1.9rem!important;
  }

  .workspace-hero__meta,
  .brand-proof-row,
  .store-card__meta,
  .store-domain-feedback__meta{
    display:grid!important;
    grid-template-columns:1fr!important;
  }

  .table-responsive table:not(.pricing-table),
  .table-shell table:not(.pricing-table){
    min-width:0!important;
  }

  .table-responsive table:not(.pricing-table) thead,
  .table-shell table:not(.pricing-table) thead{
    display:none;
  }

  .table-responsive table:not(.pricing-table) tbody tr,
  .table-shell table:not(.pricing-table) tbody tr{
    display:block;
    margin-bottom:.75rem;
    padding:.55rem;
    border:1px solid rgba(148,163,184,.18);
    border-radius:16px;
    background:#ffffff;
  }

  .table-responsive table:not(.pricing-table) tbody td,
  .table-shell table:not(.pricing-table) tbody td{
    display:flex!important;
    justify-content:space-between;
    gap:1rem;
    width:100%!important;
    padding:.62rem .35rem!important;
    border-bottom:1px solid rgba(148,163,184,.14)!important;
    text-align:right;
  }

  .table-responsive table:not(.pricing-table) tbody td:last-child,
  .table-shell table:not(.pricing-table) tbody td:last-child{
    border-bottom:0!important;
  }

  .table-responsive table:not(.pricing-table) tbody td::before,
  .table-shell table:not(.pricing-table) tbody td::before{
    content:attr(data-label);
    flex:0 0 42%;
    color:#64748b;
    font-weight:900;
    text-align:left;
    overflow-wrap:anywhere;
  }

  .select2-dropdown.custom-select2-dropdown{
    left:12px!important;
    width:calc(100vw - 24px)!important;
  }

  .select2-container--default.custom-select2 .select2-selection--single .select2-selection__rendered{
    font-size:.94rem;
  }
}

/* Phase 33: live store, knowledgebase, status, and profile responsive polish */
.storefront-pill.is-active{
  border-color:rgba(124,58,237,.55)!important;
  background:linear-gradient(135deg,rgba(124,58,237,.18),rgba(14,165,233,.1))!important;
  box-shadow:0 16px 42px rgba(124,58,237,.18);
}

.domain-result-card,
.domain-suggestion-shell{
  max-width:100%;
  overflow:hidden;
}

.domain-result-card h2{
  overflow-wrap:anywhere;
  word-break:break-word;
}

.domain-result-card .result-action{
  min-width:0;
}

.domain-suggestion-shell{
  margin-top:1.5rem;
}

.domain-suggestion-shell .suggestion-grid{
  max-width:100%;
}

.status-page .surface,
.status-page-hero,
.status-page .table-shell{
  color:#fff!important;
}

.status-page .table,
.status-page .table th,
.status-page .table td,
.status-page .section-title,
.status-page .section-copy,
.status-page .surface strong,
.status-page-hero .workspace-hero__title,
.status-page-hero .workspace-hero__copy{
  color:#fff!important;
}

.status-page .table td{
  background:rgba(15,23,42,.74)!important;
}

.status-page .table th{
  background:rgba(15,23,42,.92)!important;
  color:rgba(255,255,255,.8)!important;
}

.status-page .table-shell tbody tr{
  border-color:rgba(255,255,255,.15)!important;
}

.knowledgebase-shell{
  gap:1.25rem;
}

.knowledgebase-public{
  display:block;
}

.knowledgebase-public__main{
  max-width:1180px;
  margin:0 auto;
}

.knowledgebase-search-panel{
  margin-bottom:1.25rem;
}

.knowledgebase-search{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(220px,.65fr) auto;
  gap:1rem;
  align-items:end;
}

.knowledgebase-category-strip{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  margin-top:1rem;
}

.knowledgebase-category-strip a,
.knowledgebase-count{
  display:inline-flex;
  align-items:center;
  border:1px solid rgba(148,163,184,.22);
  border-radius:999px;
  padding:.55rem .85rem;
  color:var(--ca-muted,#64748b);
  font-weight:800;
  text-decoration:none;
}

.knowledgebase-category-strip a.is-active{
  color:#fff;
  background:#6d28d9;
  border-color:#6d28d9;
}

.knowledgebase-layout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
  gap:1.25rem;
  align-items:start;
}

.knowledgebase-card-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}

.knowledgebase-card{
  display:flex;
  flex-direction:column;
  gap:.75rem;
}

.knowledgebase-card h3{
  margin:0;
  font-size:1.12rem;
  line-height:1.25;
}

.knowledgebase-card h3 a,
.knowledgebase-card__link{
  color:inherit;
  text-decoration:none;
}

.knowledgebase-card__category{
  color:#6d28d9;
  font-size:.76rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.knowledgebase-card p,
.knowledgebase-detail .section-copy,
.knowledgebase-article-body{
  color:var(--ca-muted,#64748b);
}

.knowledgebase-card__link{
  margin-top:auto;
  color:#6d28d9;
  font-weight:900;
}

.knowledgebase-detail{
  position:sticky;
  top:112px;
}

.knowledgebase-detail h2{
  margin:.35rem 0 1rem;
}

.knowledgebase-article-body{
  line-height:1.75;
}

.knowledgebase-help-list{
  display:grid;
  gap:.7rem;
  margin-top:1rem;
}

.knowledgebase-help-list a{
  display:flex;
  align-items:center;
  gap:.65rem;
  color:inherit;
  text-decoration:none;
  font-weight:850;
}

.profile-snapshot-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
}

.profile-snapshot-card{
  padding:1rem!important;
}

.profile-snapshot-card span{
  display:block;
  color:var(--ca-muted,#64748b);
  font-size:.78rem;
  font-weight:850;
  text-transform:uppercase;
}

.profile-snapshot-card strong{
  display:block;
  margin-top:.35rem;
  overflow-wrap:anywhere;
}

.transfer-layout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
  gap:1.25rem;
  align-items:start;
}

.transfer-form-panel{
  position:sticky;
  top:112px;
}

.transfer-form-panel textarea{
  min-height:110px;
}

@media(max-width:991.98px){
  .knowledgebase-search,
  .knowledgebase-layout,
  .profile-snapshot-grid,
  .transfer-layout{
    grid-template-columns:1fr!important;
  }

  .knowledgebase-detail,
  .transfer-form-panel{
    position:static;
  }
}

@media(max-width:767.98px){
  .domain-result-card{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:1rem!important;
    padding:1.25rem!important;
  }

  .domain-result-card .result-action{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%;
    text-align:left!important;
  }

  .domain-result-card .result-action .btn,
  .domain-result-card .result-action button{
    width:100%;
  }

  .domain-suggestion-shell .suggestion-grid{
    display:flex!important;
    grid-template-columns:none!important;
    gap:.85rem;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scroll-snap-type:x mandatory;
    padding-bottom:.35rem;
  }

  .domain-suggestion-shell .suggestion-card{
    flex:0 0 min(280px,82vw);
    scroll-snap-align:start;
  }

  .knowledgebase-card-grid{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:575.98px){
  .status-page .table-shell table tbody tr{
    background:rgba(15,23,42,.84)!important;
  }

  .status-page .table-shell table tbody td{
    color:#fff!important;
    background:transparent!important;
  }

  .status-page .table-shell table tbody td::before{
    color:rgba(255,255,255,.72)!important;
  }
}
