/* Shared custom-component structure uses the native light palette.
   Native WStyle page/chrome overrides below are restricted to dark mode. */
:root {
 --rs-gutter:clamp(1rem,2.5vw,4rem);
 --rs-accent:var(--wstyle-primary-text);
 --rs-panel:var(--wstyle-surface-bg);
 --rs-overlay:var(--wstyle-surface-bg);
 --rs-border:var(--wstyle-border-color);
}
.rs-welcome-surface { display:none; }
/* RapidSpace Beta 2 3.0 — shared surface, overlay and responsive layout policy.
   Loaded after page styles. Native WISECP interactions and data remain intact. */
[data-bs-theme="dark"] {
  --rs-gutter: clamp(1rem, 2.5vw, 4rem);
  --rs-accent: #21d4ee;
  --rs-panel: rgba(255,255,255,.88);
  --rs-overlay: rgba(250,253,255,.97);
  --rs-border: rgba(34,79,100,.18);
}
[data-bs-theme="dark"] {
  --rs-accent: #21d4ee;
  --rs-panel: rgba(5,22,32,.52);
  --rs-overlay: rgba(6,18,28,.94);
  --rs-border: rgba(160,211,229,.17);
  --wstyle-body-color: #d6e6ed;
  --wstyle-heading-color: #eff8fc;
  --wstyle-muted-color: #a8c0ce;
  --wstyle-surface-bg: rgba(5,22,32,.52);
  --wstyle-border-color: rgba(160,211,229,.17);
}
/* Public pages follow the Paymenter reference: one centred content width. */
[data-bs-theme="dark"] body:not([data-client-nav]):not(.checkout-shell) .container {
  width:calc(100% - 3rem); max-width:1560px; max-inline-size:1560px;
  padding-inline:0; margin-inline:auto;
}
[data-bs-theme="dark"] body:not([data-client-nav]):not(.checkout-shell) .container .container { width:100%; }
[data-bs-theme="dark"] body,
[data-bs-theme="dark"] body[data-client-nav="sidebar"] {
  background: linear-gradient(180deg,rgba(2,14,23,.42),rgba(2,12,20,.66)),
    url('../images/wallpaper.jpg') center / cover no-repeat fixed !important;
}
/* No parent blur boundary around menus; use tint for the permanent chrome. */
[data-bs-theme="dark"] body :is(.site-header,.site-header.chrome-dark,.client-topbar,.checkout-shell-header) {
  background: rgba(4,22,33,.78) !important;
  border-bottom: 1px solid var(--rs-border) !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
[data-bs-theme="dark"] body[data-client-nav="sidebar"] .client-topbar {
  background: rgba(4,14,23,.32) !important;
}
[data-bs-theme="dark"] body[data-client-nav="sidebar"] .client-sidebar {
  background: rgba(4,14,23,.34) !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
[data-bs-theme="dark"] body :is(.topbar,.site-footer,.client-footer,.checkout-shell-footer) {
  background: rgba(4,17,26,.5); border-color: var(--rs-border);
}
[data-bs-theme="dark"] body :is(.page-hero,.page-hero-plain,.band-dark,.bg-surface) {
  background-color: transparent; background-image: none;
}
[data-bs-theme="dark"] body :is(.card,.cat-card,.dash-panel,.dash-stat,.dash-balance-card,.as-card,.as-panel,.list-tile),
[data-bs-theme="dark"] body[data-client-nav="sidebar"] :is(.card,.cat-card,.dash-panel,.dash-stat,.dash-balance-card,.as-card,.as-panel,.list-tile) {
  background: var(--rs-panel) !important;
  border-color: var(--rs-border) !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  box-shadow: inset 0 1px rgba(255,255,255,.025),0 8px 26px rgba(0,0,0,.1);
}
[data-bs-theme="dark"] body[data-client-nav="sidebar"] [data-account-page] #as-activity .as-card {
  background: rgba(6,18,28,.24) !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
[data-bs-theme="dark"] body[data-client-nav="sidebar"] .table-responsive {
  background: transparent !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
[data-bs-theme="dark"] body :is(.auth-form,.checkout-split-main,.checkout-split-rail) {
  background-color: rgba(5,20,30,.55);
}
/* These panels float over text: blur the BACKDROP, never their own content.
   High opacity also supplies readable fallback on nested/unsupported backdrops. */
[data-bs-theme="dark"] body :is(.dropdown-menu,.account-menu,.notif-menu,.modal-content,.offcanvas,.popover,.toast,.ts-dropdown,.cookie-notice),
[data-bs-theme="dark"] body[data-client-nav="sidebar"] :is(.dropdown-menu,.account-menu,.notif-menu,.modal-content,.offcanvas,.popover,.toast,.ts-dropdown,.cookie-notice),
[data-bs-theme="dark"] body[data-client-nav="sidebar"] .client-quickactions .dropdown-menu {
  background: var(--rs-overlay) !important;
  border: 1px solid var(--rs-border) !important;
  -webkit-backdrop-filter: blur(24px) saturate(120%) !important;
  backdrop-filter: blur(24px) saturate(120%) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.04) !important;
}
[data-bs-theme="dark"] body :is(.modal-header,.modal-footer,.toast-header) { background: transparent; }
[data-bs-theme="dark"] body .modal-dialog { width: auto; max-inline-size: min(var(--bs-modal-width, 500px), calc(100% - 1rem)); }
[data-bs-theme="dark"] body .modal-content { max-height: calc(100dvh - 2rem); }
[data-bs-theme="dark"] body .modal-body { overflow-y: auto; min-height: 0; }
[data-bs-theme="dark"] body :is(.dropdown-menu,.ts-dropdown,.popover) { max-inline-size: calc(100vw - 1.5rem); }
[data-bs-theme="dark"] body :is(.dropdown-item,.notif-item) { white-space: normal; overflow-wrap: anywhere; }
[data-bs-theme="dark"] body .dropdown-item:focus-visible { outline: 2px solid var(--rs-accent); outline-offset: -3px; }
[data-bs-theme="dark"] body :is(.dropdown-item:hover,.dropdown-item:focus-visible) { background-color: rgba(30,155,183,.14); }
/* Catalogue: labelled values stay in source order; unlabelled data stays unlabelled. */
[data-bs-theme="dark"] body.rs-catalogue .page-hero { padding-block:3rem 1.5rem; min-height:0; }
[data-bs-theme="dark"] body.rs-catalogue .page-hero-title { font-size:clamp(2rem,3.2vw,3.25rem); letter-spacing:-.035em; }
[data-bs-theme="dark"] body.rs-catalogue .page-hero-lead { max-width:44rem; }
[data-bs-theme="dark"] body.rs-catalogue main > section[data-billing] { padding-block:1.5rem 3rem !important; }
[data-bs-theme="dark"] body.rs-catalogue .section-head { margin-bottom:1.6rem; }
[data-bs-theme="dark"] body.rs-catalogue .section-head h2 { font-size:1.35rem; }
[data-bs-theme="dark"] body.rs-catalogue .section-head .eyebrow { display:none; }
[data-bs-theme="dark"] body.rs-catalogue .nav-pills .nav-link { font-size:.85rem; padding:.6rem .9rem; }
[data-bs-theme="dark"] body.rs-catalogue .nav-pills .nav-link img { height:1.6rem !important; width:1.8rem; object-fit:contain; }
.rs-product-rows { display:grid; gap:1rem; }
.rs-product-rows > *,
.rs-row-specs > *,
.rs-product-grid > * { min-width:0; }
.rs-product-rows .plan-row { border-radius:15px; overflow:hidden; }
.rs-product-rows .plan-row .plan-row-main {
  display:grid; grid-template-columns:minmax(13rem,1.5fr) minmax(0,5fr) minmax(10rem,1.15fr);
  grid-template-rows:auto auto; align-items:center; gap:.65rem 1.2rem;
  padding:1.35rem; min-height:148px;
}
.rs-product-rows .plan-row .plan-row-id { grid-column:1; grid-row:1 / 3; display:flex; gap:.9rem; align-items:center; min-width:0; }
.rs-product-name { min-width:0; }
.rs-product-name h4 { font-size:.96rem; font-weight:700; line-height:1.45; overflow-wrap:anywhere; }
.rs-cpu-logo { display:grid; place-items:center; flex:0 0 54px; width:54px; height:54px; padding:7px; border-radius:11px; border:1px solid var(--rs-border); background:rgba(3,17,25,.16); }
.rs-cpu-logo img { display:block; width:100%; height:100%; object-fit:contain; filter:none; }
.rs-cpu-logo i { font-size:1.8rem; color:var(--rs-accent); }
.rs-stock { display:inline-flex; align-items:center; gap:.35rem; font-size:.68rem; line-height:1.4; padding:.22rem .5rem; border-radius:20px; }
.rs-stock::before { content:''; width:5px; height:5px; border-radius:50%; background:currentColor; }
.rs-stock-ready { color:#00c785; background:rgba(0,154,104,.12); }
.rs-stock-unavailable { color:#ff6975; background:rgba(220,53,69,.12); }
.rs-row-specs { display:grid; grid-template-columns:repeat(auto-fit,minmax(5.7rem,1fr)); gap:.75rem 0; grid-column:2; grid-row:1 / 3; min-width:0; }
.rs-product-rows .rs-row-specs .plan-row-spec { display:flex; flex-direction:column; gap:.55rem; padding-inline:.85rem; border-inline-start:1px solid var(--rs-border); margin:0; min-width:0; }
.rs-spec-label { color:var(--wstyle-muted-color); font-size:.61rem; font-weight:700; text-transform:uppercase; letter-spacing:.12em; }
.rs-spec-value { font-size:.78rem; line-height:1.5; font-weight:600; text-transform:none; letter-spacing:normal; overflow-wrap:anywhere; }
.rs-plain-feature { font-size:.78rem; line-height:1.5; padding-inline:.85rem; border-inline-start:1px solid var(--rs-border); overflow-wrap:anywhere; }
.rs-product-rows .plan-row .plan-row-price { grid-column:3; grid-row:1; text-align:end; align-self:end; border-inline-start:1px solid var(--rs-border); padding-inline-start:1rem; }
.rs-price-label { display:block; font-size:.59rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:var(--wstyle-muted-color); margin-bottom:.3rem; }
.rs-product-rows .plan-row .price-now,
.rs-product-grid .plan-card .price-now { color:var(--rs-accent); font-size:1.75rem; font-weight:750; letter-spacing:-.035em; }
.rs-product-rows .plan-row .plan-row-actions { grid-column:3; grid-row:2; width:100%; align-self:start; }
.rs-product-rows .plan-row-actions > .btn:first-child { flex:1; }
.rs-product-rows .plan-row .plan-row-details { background:rgba(6,20,30,.08); }
.rs-product-rows .plan-row .plan-row-billing { min-width:0; width:100%; }
.rs-product-rows .plan-row-billing .table { margin-bottom:0; }
[data-bs-theme="dark"] body :is(.rs-product-grid,.rs-product-rows) .btn-soft { border:1px solid rgba(23,183,213,.4); }
.rs-product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; }
.rs-product-grid .plan-card { border-radius:15px; }
.rs-product-grid .rs-plan-heading { order:0; }
.rs-product-grid .rs-plan-heading .rs-cpu-logo { margin-bottom:.8rem; }
.rs-product-grid .rs-plan-heading h4 { font-size:1.15rem; }
.rs-product-grid .rs-plan-specs { order:1; }
.rs-product-grid .plan-features { order:2; }
.rs-product-grid .plan-price { order:3; }
.rs-product-grid .card-body > :is(a.btn,button.btn) { order:4; }
.rs-plan-specs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; padding-block:1rem; margin:0; }
.rs-plan-specs dt { font-size:.65rem; text-transform:uppercase; color:var(--wstyle-muted-color); }
.rs-plan-specs dd { font-size:.85rem; margin:.3rem 0 0; overflow-wrap:anywhere; }
.rs-product-grid .plan-card .plan-price.price-band { background:transparent; margin-inline:0; padding-inline:0; }
[data-bs-theme="dark"] body .billing-toggle { flex-wrap:wrap; }
[data-bs-theme="dark"] body :is(.site-header,.client-topbar,.checkout-shell-header) { backdrop-filter:none !important; -webkit-backdrop-filter:none !important; }
[data-bs-theme="dark"] body :is(input,textarea,select,.form-control,.form-select):focus-visible { outline:2px solid var(--rs-accent); outline-offset:2px; }
@media(min-width:992px) { [data-bs-theme="dark"] body[data-client-nav="sidebar"] .client-main .container { max-width:none; } }
@media(max-width:1199.98px) {
  .rs-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rs-product-rows .plan-row .plan-row-main { grid-template-columns:minmax(0,1fr) minmax(9rem,.5fr); }
  .rs-product-rows .plan-row .plan-row-id { grid-column:1; grid-row:1; }
  .rs-product-rows .plan-row .plan-row-price { grid-column:2; grid-row:1; }
  .rs-row-specs { grid-column:1 / -1; grid-row:2; margin-block:.75rem; }
  .rs-product-rows .plan-row .plan-row-actions { grid-column:2; grid-row:3; }
}
@media(max-width:991.98px) {
  [data-bs-theme="dark"] body[data-client-nav="sidebar"] .client-sidebar { background:var(--rs-overlay) !important; backdrop-filter:blur(24px) !important; -webkit-backdrop-filter:blur(24px) !important; }
  [data-bs-theme="dark"] body .client-sidebar { max-width:calc(100vw - 2rem); }
  [data-bs-theme="dark"] body .site-header .site-logo { max-width:min(10rem,38vw); }
}
@media(max-width:575.98px) {
  [data-bs-theme="dark"] body:not([data-client-nav]):not(.checkout-shell) .container { width:calc(100% - 2rem); }
  [data-bs-theme="dark"] body.rs-catalogue .page-hero { padding-block:2rem 1rem; }
  .rs-product-grid { grid-template-columns:1fr; }
  .rs-product-rows .plan-row .plan-row-main { padding:1rem; gap:1rem; grid-template-columns:minmax(0,1fr); }
  .rs-product-rows .plan-row .plan-row-id { grid-column:1; grid-row:1; }
  .rs-row-specs { grid-column:1; grid-row:2; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem 0; }
  .rs-product-rows .plan-row .plan-row-price { grid-column:1; grid-row:3; text-align:start; padding:0; border:0; }
  .rs-product-rows .plan-row .plan-row-actions { grid-column:1; grid-row:4; }
  [data-bs-theme="dark"] body .cat-card { flex-wrap:wrap; min-width:0; }
  [data-bs-theme="dark"] body .wcp-table-header,
[data-bs-theme="dark"] body .wcp-table-footer,
[data-bs-theme="dark"] body .wcp-table-pagination { flex-wrap:wrap; gap:.6rem; }
  [data-bs-theme="dark"] body .client-topbar :is(.notif-menu,.account-menu),
[data-bs-theme="dark"] body .client-quickactions .dropdown-menu { position:fixed !important; inset:4.25rem .75rem auto !important; transform:none !important; width:auto !important; max-height:calc(100dvh - 5rem); overflow-y:auto; }
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  [data-bs-theme="dark"] { --rs-overlay:#fafdff; } [data-bs-theme="dark"] { --rs-overlay:#081b29; }
}
@media(prefers-reduced-transparency:reduce) {
  [data-bs-theme="dark"] { --rs-overlay:#fafdff; --rs-panel:#fff; } [data-bs-theme="dark"] { --rs-overlay:#081b29; --rs-panel:#0c2533; }
}
@media(prefers-reduced-motion:reduce) { .rs-product-rows *,
.rs-product-grid * { transition:none !important; animation:none !important; } }
@media print {
  [data-bs-theme="dark"] body,
[data-bs-theme="dark"] body[data-client-nav="sidebar"] { background:white !important; }
  [data-bs-theme="dark"] body :is(.card,.modal-content) { backdrop-filter:none !important; box-shadow:none !important; }
}

/* beta.2 catalogue: native specifications and billing; flexible visual layout. */
.rs-product-rows { gap:1.5rem; }
.rs-product-rows .plan-row { overflow:visible; position:relative; }
.rs-product-rows .plan-row .plan-row-main {
 grid-template-columns:minmax(200px,1.5fr) minmax(0,5fr) 180px;
 min-height:156px; gap:.65rem 0; padding:1.3rem;
}
.rs-product-rows .rs-row-specs { display:flex; flex-wrap:wrap; row-gap:1rem; margin:0; }
.rs-product-rows .rs-row-specs .plan-row-spec { flex:1 1 92px; padding-inline:.8rem; }
.rs-product-rows .rs-spec-value { font-size:.8rem; font-weight:650; line-height:1.55; }
.rs-product-rows .rs-spec-label { font-size:.6rem; letter-spacing:.09em; }
.rs-product-rows .plan-row-actions { padding-inline-start:1rem; flex-wrap:wrap; justify-content:flex-end; }
.rs-product-rows .plan-row-actions > .btn:first-child { width:100%; flex:1 0 100%; min-height:38px; display:flex; align-items:center; justify-content:center; gap:.5rem; font-weight:700; }
.rs-product-rows .plan-row-actions .billing-compare { min-height:24px; padding:.15rem .6rem; }
.rs-product-rows .plan-row.plan-soldout { opacity:1; }
.rs-product-rows .plan-soldout .plan-row-actions > button:first-child { color:#ff6577; background:rgba(220,53,69,.12); border-color:rgba(220,53,69,.3); opacity:1; }
.rs-product-rows .plan-row .plan-row-details { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:1rem; padding:1rem 1.3rem; }
.rs-product-rows .plan-row .plan-row-billing { width:min(100%,420px); flex:0 1 420px; margin-inline-start:auto; }
.rs-row-tag { position:absolute; top:-.85rem; inset-inline-start:1rem; max-width:calc(100% - 2rem); padding:.15rem .65rem; border:1px solid var(--rs-border); border-radius:5px 5px 0 0; background:var(--rs-overlay); color:var(--rs-accent); font-size:.6rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
@media(min-width:1200px) { .rs-product-rows .plan-row .plan-row-id { padding-inline-end:1rem; } }
@media(max-width:1199.98px) {
 .rs-product-rows .plan-row .plan-row-main { grid-template-columns:minmax(0,1fr) 180px; gap:1rem; }
 .rs-product-rows .rs-row-specs { grid-column:1/-1; grid-row:2; }
}
@media(max-width:575.98px) {
 .rs-product-rows .plan-row .plan-row-main { grid-template-columns:minmax(0,1fr); padding:1rem; }
 .rs-product-rows .rs-row-specs { grid-column:1; grid-row:2; }
 .rs-product-rows .rs-row-specs .plan-row-spec { flex-basis:40%; }
 .rs-product-rows .plan-row-actions { padding:0; }
 .rs-product-rows .plan-row .plan-row-price { grid-column:1; grid-row:3; }
 .rs-product-rows .plan-row .plan-row-actions { grid-column:1; grid-row:4; }
}

/* Checkout refinement: one continuous backdrop and a contained two-column form. */
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split {
  width:calc(100% - 3rem); max-width:1560px; max-inline-size:1560px; margin-inline:auto;
  gap:1.5rem; padding-block:3.5rem;
}
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split-main {
  background:transparent !important; padding:0; margin:0; min-width:0;
}
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split-main-inner {
  padding:0; margin:0; max-inline-size:none;
}
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split-aside {
  background:transparent !important; margin-inline:0; padding:0; border:0;
}
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-shell-header > .container,
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-shell-footer > .container {
  width:calc(100% - 3rem); max-inline-size:1560px; padding-inline:0; margin-inline:auto;
}
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell .checkout-split .card {
  background:rgba(5,22,32,.48) !important; border-color:rgba(160,211,229,.20);
  border-radius:14px; box-shadow:0 12px 36px rgba(0,0,0,.12);
}
[data-bs-theme="dark"].checkout-layout-card .checkout-split .card-body { padding:1.5rem; }
[data-bs-theme="dark"].checkout-layout-card .checkout-split .order-summary .btn-primary { min-height:44px; border-radius:9px; }
[data-bs-theme="dark"].checkout-layout-card .checkout-split .order-summary-total .summary-value { color:var(--rs-accent); font-size:1.5rem; }
@media(min-width:992px) {
  [data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split { align-items:flex-start; }
  [data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split-main { flex:1 1 0; }
  [data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split-aside {
    flex:0 0 25%; width:25%; margin-block-start:5.5rem; position:sticky; top:6rem;
  }
}
@media(max-width:991.98px) {
  [data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split { gap:1.5rem; }
  [data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split-aside-inner { padding:0; }
}
@media(max-width:575.98px) {
  [data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split,
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-shell-header > .container,
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-shell-footer > .container { width:calc(100% - 2rem); }
  [data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split { padding-block:1.5rem; }
}

/* Paymenter-inspired Card surfaces. Keep WISECP forms and order flow native. */
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell .checkout-split-main-inner h1 {
  font-size:clamp(1.8rem,2.2vw,2.5rem); font-weight:800; letter-spacing:-.035em; line-height:1.2;
}
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell .checkout-split :is(h2,h3,h4,h5,h6) { font-weight:750; }
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell .checkout-shell-header .site-logo { height:42px; max-height:42px; width:auto; }
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell .checkout-shell-header { padding-block:1rem; }
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell .checkout-shell-header {
  background:rgba(4,22,33,.48) !important; border-bottom-color:rgba(33,212,238,.45) !important;
}
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell .checkout-split :is(.card-header,.card-footer) {
  background:transparent; border-color:rgba(160,211,229,.15);
}
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell .checkout-split :is(.form-control,.form-select) {
  background-color:rgba(4,25,37,.35); border-color:rgba(160,211,229,.22); color:#d6e6ed;
}
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell .checkout-split .form-select option { background:#0a2533; }
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell .checkout-split .btn-primary {
  --bs-btn-color:#e3f6fc; --bs-btn-bg:rgba(33,212,238,.09); --bs-btn-border-color:rgba(33,212,238,.45);
  --bs-btn-hover-color:#fff; --bs-btn-hover-bg:rgba(33,212,238,.2); --bs-btn-hover-border-color:#21d4ee;
  --bs-btn-active-color:#fff; --bs-btn-active-bg:rgba(33,212,238,.25); --bs-btn-active-border-color:#21d4ee;
  --bs-btn-disabled-color:#abc5ce; --bs-btn-disabled-bg:rgba(33,212,238,.05); --bs-btn-disabled-border-color:rgba(33,212,238,.2);
  font-weight:750; border-radius:8px; box-shadow:none;
}
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell .checkout-split .order-summary-total .summary-value { font-size:1.8rem; font-weight:800; }
@media(min-width:992px) {
  [data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split {
    flex:0 0 auto; align-self:center;
  }
}
@media(max-width:575.98px) {
  [data-bs-theme="dark"].checkout-layout-card body.checkout-shell .checkout-shell-header .site-logo { height:30px; max-height:30px; }
}

/* Rail checkout spacing: centre the form in the space beside the native rail. */
@media(min-width:992px) {
  html[data-bs-theme="dark"]:not(.checkout-layout-card):not(.checkout-layout-stack) body.checkout-shell:not(.checkout-shell-centered) {
    --rs-checkout-form-width:1100px;
    --rs-checkout-gutter:2rem;
  }
  html[data-bs-theme="dark"]:not(.checkout-layout-card):not(.checkout-layout-stack) body.checkout-shell:not(.checkout-shell-centered) .checkout-split-main {
    padding-inline:0;
  }
  html[data-bs-theme="dark"]:not(.checkout-layout-card):not(.checkout-layout-stack) body.checkout-shell:not(.checkout-shell-centered) .checkout-split-main-inner {
    inline-size:calc(100% - var(--rs-checkout-gutter) - var(--rs-checkout-gutter));
    max-inline-size:var(--rs-checkout-form-width);
    margin-inline:auto;
    padding-inline:0;
  }
  html[data-bs-theme="dark"]:not(.checkout-layout-card):not(.checkout-layout-stack) body.checkout-shell:not(.checkout-shell-centered) .checkout-shell-header > .container,
html[data-bs-theme="dark"]:not(.checkout-layout-card):not(.checkout-layout-stack) body.checkout-shell:not(.checkout-shell-centered) .checkout-shell-footer > .container {
    width:100%; max-inline-size:none; margin-inline:0;
    padding-inline-start:max(var(--rs-checkout-gutter), calc((100% - var(--rail-w) - var(--rs-checkout-form-width)) / 2));
    padding-inline-end:calc(var(--rail-w) + max(var(--rs-checkout-gutter), (100% - var(--rail-w) - var(--rs-checkout-form-width)) / 2));
  }
}

/* Cart detail panels keep the same glass treatment as their parent cards. */
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell .checkout-split :is(.cart-item-details,.cart-chip) {
  background:rgba(5,22,32,.18); border-color:rgba(160,211,229,.17);
}
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell .checkout-split .eyebrow {
  color:var(--rs-accent); font-size:.72rem; font-weight:800; letter-spacing:.14em;
  display:inline-flex; align-items:center; gap:.75rem; margin-bottom:.5rem;
}
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell .checkout-split .eyebrow::before {
  content:""; display:block; width:1.75rem; height:1px; background:currentColor;
}
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell .cart-item [data-role="item-price"] {
  color:var(--rs-accent); font-weight:800; font-size:1.4rem;
}
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell .cart-item h3 { font-size:1.15rem; }

/* Product overview and full-site Card commerce layout. */
[data-rs-catalogue][hidden],
[data-rs-overview-host][hidden] { display:none !important; }
.rs-overview { padding-block:2rem 4rem; }
.rs-back { display:inline-flex; align-items:center; gap:.6rem; color:var(--wstyle-muted-color); font-size:.85rem; font-weight:650; text-decoration:none; }
.rs-back:hover { color:var(--rs-accent); }
.rs-overview-hero { padding-block:3rem 3.5rem; }
.rs-overview-hero .eyebrow { display:block; color:var(--rs-accent); font-size:.72rem; font-weight:800; letter-spacing:.15em; margin-bottom:1rem; }
.rs-overview-hero h1 { font-size:clamp(2.1rem,3.3vw,3.5rem); font-weight:800; letter-spacing:-.035em; margin-bottom:1rem; }
.rs-overview-hero p,
.rs-intro-lead { color:var(--wstyle-muted-color); margin:0; line-height:1.7; }
.rs-overview-columns { display:grid; grid-template-columns:minmax(0,3fr) minmax(280px,1fr); gap:1.5rem; align-items:start; }
.rs-overview .card { border-radius:16px; overflow:hidden; }
.rs-panel-heading { display:flex; align-items:center; gap:1rem; padding:1.5rem; border-bottom:1px solid var(--rs-border); }
.rs-panel-heading h2 { font-size:1.1rem; font-weight:800; margin:0 0 .4rem; }
.rs-panel-heading p { font-size:.85rem; color:var(--wstyle-muted-color); margin:0; }
.rs-overview-stock { margin-inline-start:auto; flex-shrink:0; }
.rs-overview-specs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin:0; }
.rs-overview-specs > div { padding:1.4rem 1.25rem; border-inline-end:1px solid var(--rs-border); border-bottom:1px solid var(--rs-border); }
.rs-overview-specs dt { text-transform:uppercase; font-size:.65rem; letter-spacing:.08em; color:var(--wstyle-muted-color); margin-bottom:.65rem; }
.rs-overview-specs dd { font-weight:750; font-size:.95rem; margin:0; overflow-wrap:anywhere; }
.rs-overview-included { margin-top:1.5rem; }
.rs-overview-features { list-style:none; padding:1.5rem; margin:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.rs-overview-features li { border:1px solid var(--rs-border); border-radius:10px; padding:1rem; font-size:.9rem; }
.rs-overview-features i { color:var(--rs-accent); }
.rs-overview-purchase { position:sticky; top:6rem; }
.rs-overview-price-block { padding:1.5rem; border-bottom:1px solid var(--rs-border); }
.rs-overview-price-block strong { color:var(--rs-accent); font-size:2.2rem; font-weight:800; }
.rs-overview-price-block small,
.rs-overview-price-block [data-rs-suffix] { color:var(--wstyle-muted-color); font-size:.8rem; }
.rs-overview-cta { padding:1.5rem; }
.rs-overview-cta p { font-size:.8rem; line-height:1.7; text-align:center; color:var(--wstyle-muted-color); margin:1rem 0 0; }
[data-bs-theme="dark"] .rs-overview .btn-primary { background:rgba(33,212,238,.10); border-color:rgba(33,212,238,.5); color:#e3f6fc; font-weight:750; }
[data-bs-theme="dark"] .rs-overview .btn-primary:hover { background:rgba(33,212,238,.23); }
/* Contact and newsletter remain visible in both colour modes. */
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell > .site-header .container,
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell > .site-footer .container {
  width:calc(100% - 3rem); max-width:1560px; max-inline-size:1560px; margin-inline:auto; padding-inline:0;
}
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell > .site-header { position:sticky; top:0; z-index:1030; }
[data-bs-theme="dark"].checkout-layout-card .rs-commerce-progress .checkout-shell-header { position:static; padding-block:.75rem; background:transparent !important; border:0 !important; }
[data-bs-theme="dark"].checkout-layout-card .rs-commerce-progress .checkout-shell-zone:first-child { display:none; }
[data-bs-theme="dark"].checkout-layout-card .rs-commerce-progress .checkout-shell-bar { justify-content:flex-end; min-height:0; }
[data-bs-theme="dark"].checkout-layout-card .rs-commerce-progress .checkout-shell-zone-end { flex:0 0 auto; }
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell > main { flex:0 0 auto; }
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell > .checkout-shell-footer { margin-top:2rem; background:transparent; }
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell > .site-footer { margin-top:2rem; background:transparent !important; }
[data-bs-theme="dark"].checkout-layout-card .rs-config-intro .rs-back { display:flex; margin-bottom:2rem; }
[data-bs-theme="dark"].checkout-layout-card .rs-config-intro .rs-intro-lead { margin-top:.8rem; }
[data-bs-theme="dark"].checkout-layout-card .rs-config-plan-group { border:1px solid var(--rs-border); border-radius:16px; overflow:hidden; }
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell .rs-config-plan-group > .card { background:transparent !important; border:0 !important; border-radius:0; box-shadow:none; }
[data-bs-theme="dark"].checkout-layout-card .rs-config-plan-group { background:rgba(5,22,32,.48); }
[data-bs-theme="dark"].checkout-layout-card .rs-config-plan-group > .rs-config-identity { border-bottom:1px solid var(--rs-border) !important; }
[data-bs-theme="dark"].checkout-layout-card .rs-config-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
[data-bs-theme="dark"].checkout-layout-card .rs-config-fields > .rs-config-field { margin:0; padding:1.2rem; border:1px solid var(--rs-border); border-radius:12px; min-width:0; }
[data-bs-theme="dark"].checkout-layout-card .rs-config-field-wide { grid-column:1/-1; }
[data-bs-theme="dark"].checkout-layout-card .rs-summary-heading { display:flex; gap:.8rem; align-items:center; padding-bottom:1.5rem; margin-bottom:1.5rem; border-bottom:1px solid var(--rs-border); }
[data-bs-theme="dark"].checkout-layout-card .rs-summary-heading p { margin:0; font-size:.8rem; color:var(--wstyle-muted-color); }
[data-bs-theme="dark"].checkout-layout-card .billing-cycle-grid:has(> :only-child) { grid-template-columns:1fr; }
@media(min-width:992px) {
  [data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split:has(.rs-config-intro) .checkout-split-aside { margin-block-start:12rem; }
}
@media(max-width:991.98px) {
  .rs-overview-columns { grid-template-columns:1fr; }
  .rs-overview-purchase { position:static; }
  .rs-overview-hero { padding-block:2rem; }
  .rs-overview-specs { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:575.98px) {
  .rs-panel-heading { flex-wrap:wrap; padding:1rem; }
  .rs-overview-stock { margin-inline-start:0; }
  .rs-overview-features,
[data-bs-theme="dark"].checkout-layout-card .rs-config-fields { grid-template-columns:1fr; }
  [data-bs-theme="dark"].checkout-layout-card body.checkout-shell > .site-header .container,
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell > .site-footer .container { width:calc(100% - 2rem); }
}

.rs-service-benefits { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; padding:1.5rem; }
.rs-service-benefits > div { display:flex; gap:.8rem; align-items:flex-start; padding:1rem; border:1px solid var(--rs-border); border-radius:10px; }
.rs-service-benefits i { color:var(--rs-accent); font-size:1.2rem; }
.rs-service-benefits strong { display:block; font-size:.95rem; margin-bottom:.35rem; }
.rs-service-benefits small { display:block; color:var(--wstyle-muted-color); font-size:.8rem; line-height:1.6; }
[data-bs-theme="dark"].checkout-layout-card .checkout-shell-footer :is(.checkout-shell-copy,.checkout-shell-footer-mark) { display:none; }
@media(max-width:575.98px) { .rs-service-benefits { grid-template-columns:1fr; padding:1rem; } }

.rs-config-plan-group { display:grid; gap:1.5rem; }
[data-bs-theme="dark"].checkout-layout-card .rs-config-plan-group { gap:0; }
@media(min-width:992px) {
  [data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split:has(.rs-config-intro) {
    display:grid; grid-template-columns:minmax(0,3fr) minmax(280px,1fr); gap:2rem 1.5rem;
  }
  [data-bs-theme="dark"].checkout-layout-card .checkout-split:has(.rs-config-intro) > .checkout-split-main,
[data-bs-theme="dark"].checkout-layout-card .checkout-split:has(.rs-config-intro) .checkout-split-main-inner { display:contents; }
  [data-bs-theme="dark"].checkout-layout-card .rs-config-intro { grid-column:1/-1; grid-row:1; margin-bottom:0 !important; }
  [data-bs-theme="dark"].checkout-layout-card .rs-config-panels { grid-column:1; grid-row:2; min-width:0; }
  [data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split:has(.rs-config-intro) > .checkout-split-aside {
    grid-column:2; grid-row:2; margin:0; width:auto; inline-size:auto; min-width:0; align-self:start;
  }
}

/* Cart and Checkout share a heading row; panels align without a fixed offset. */
@media(min-width:992px) {
  [data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split:has(.rs-commerce-intro) {
    display:grid; grid-template-columns:minmax(0,3fr) minmax(280px,1fr); gap:1.5rem;
  }
  [data-bs-theme="dark"].checkout-layout-card .checkout-split:has(.rs-commerce-intro) > .checkout-split-main,
[data-bs-theme="dark"].checkout-layout-card .checkout-split:has(.rs-commerce-intro) .checkout-split-main-inner { display:contents; }
  [data-bs-theme="dark"].checkout-layout-card .rs-commerce-intro { grid-column:1/-1; grid-row:1; margin-bottom:0 !important; }
  [data-bs-theme="dark"].checkout-layout-card .rs-commerce-panels { grid-column:1; grid-row:2; min-width:0; }
  [data-bs-theme="dark"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split:has(.rs-commerce-intro) > .checkout-split-aside {
    grid-column:2; grid-row:2; margin:0; width:auto; inline-size:auto; min-width:0; align-self:start;
  }
}

/* Client dashboard: glass welcome panel and an independent, even KPI row. */
[data-bs-theme="dark"] body[data-client-nav] .dash .dash-hero { border:1px solid var(--rs-border); }
@media(min-width:768px) {
  body[data-client-nav] .dash .dash-stats {
    display:flex; flex-wrap:wrap; justify-content:center; gap:1rem; margin-block-start:-2.5rem;
  }
  body[data-client-nav] .dash .dash-stats > .dash-stat {
    flex:0 0 calc((100% - 3rem) / 4); min-inline-size:0;
  }
}
[data-bs-theme="dark"] body[data-client-nav] .dash .dash-hero-lead { min-inline-size:0; }
[data-bs-theme="dark"] body[data-client-nav] .dash .dash-hero {
  background:var(--rs-panel); color:var(--wstyle-body-color);
  box-shadow:inset 0 1px rgba(255,255,255,.025),0 8px 26px rgba(0,0,0,.1);
  -webkit-backdrop-filter:none; backdrop-filter:none;
}
[data-bs-theme="dark"] body[data-client-nav] .dash .dash-hero::before { display:none; }
[data-bs-theme="dark"] body[data-client-nav] .dash .dash-greeting { color:var(--wstyle-heading-color); }
[data-bs-theme="dark"] body[data-client-nav] .dash .dash-eyebrow { color:var(--rs-accent); }
[data-bs-theme="dark"] body[data-client-nav] .dash :is(.dash-health,.dash-balance-label,.dash-balance-note) { color:var(--wstyle-muted-color); }
[data-bs-theme="dark"] body[data-client-nav] .dash :is(.dash-btn-light,.dash-btn-glass) {
  background:rgba(33,212,238,.10); color:var(--wstyle-heading-color);
  border:1px solid rgba(33,212,238,.5); box-shadow:none;
  -webkit-backdrop-filter:none; backdrop-filter:none;
}
[data-bs-theme="dark"] body[data-client-nav] .dash :is(.dash-btn-light,.dash-btn-glass):hover { background:rgba(33,212,238,.23); }

/* Equal dashboard content panels: Services, Tickets, Invoices and Activity. */
body[data-client-nav] .dash .dash-bento {
  display:grid; grid-template-columns:minmax(0,1fr); gap:1.25rem;
}
body[data-client-nav] .dash .dash-bento > .dash-panel { min-width:0; min-inline-size:0; }
@media(min-width:768px) {
  body[data-client-nav] .dash .dash-bento {
    grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:1fr; align-items:stretch;
  }
}

/* Matching glass surfaces; retain the original banner and overlapping KPI layout. */
[data-bs-theme="dark"] body[data-client-nav] .dash .dash-hero,
[data-bs-theme="dark"] body[data-client-nav] .dash .dash-stats > .dash-stat {
  background:var(--rs-panel) !important;
}

/* One paint operation for the overlapping glass backgrounds; outlines stay rounded. */
.rs-dashboard-welcome { position:relative; isolation:isolate; display:flow-root; }
.rs-dashboard-welcome > .rs-welcome-surface {
  display:none; position:absolute; inset:0; width:100%; height:100%;
  overflow:visible; pointer-events:none; z-index:0;
}
[data-bs-theme="dark"] .rs-dashboard-welcome.rs-surface-ready > .rs-welcome-surface { display:block; }
.rs-welcome-surface .rs-surface-fill { fill:var(--rs-panel); }
.rs-welcome-surface .rs-surface-outline { fill:none; stroke:var(--rs-border); stroke-width:1; }
[data-bs-theme="dark"] body[data-client-nav] .dash .rs-dashboard-welcome.rs-surface-ready > .dash-hero {
  background:transparent !important; border-color:transparent; box-shadow:none; z-index:1;
}
[data-bs-theme="dark"] body[data-client-nav] .dash .rs-dashboard-welcome.rs-surface-ready > .dash-stats > .dash-stat {
  background:transparent !important; box-shadow:none;
}
.rs-dashboard-welcome > .dash-stats { position:relative; z-index:2; }

/* 3.1.20: shared page geometry; appearance remains mode-specific. */
body:not([data-client-nav]):not(.checkout-shell) .container {
 width:calc(100% - 3rem); max-width:1560px; max-inline-size:1560px;
 padding-inline:0; margin-inline:auto;
}
body:not([data-client-nav]):not(.checkout-shell) .container .container { width:100%; }
@media(min-width:992px) { body[data-client-nav="sidebar"] .client-main .container { max-width:none; } }
@media(max-width:575.98px) {
 body:not([data-client-nav]):not(.checkout-shell) .container { width:calc(100% - 2rem); }
}
/* A green operational indicator; preserve native warning/incident tones. */
.dash-health :is(.dash-pulse:not([class*="dash-pulse-"]),.dash-pulse-success,.dash-pulse-ok) {
 --pulse-color:#2eae79; flex-shrink:0;
 background:var(--pulse-color); box-shadow:0 0 0 4px rgba(46,174,121,.10);
 animation:rs-health-pulse 2.4s ease-out infinite;
}
@keyframes rs-health-pulse {
 0%,100% { box-shadow:0 0 0 3px rgba(46,174,121,.10); }
 50% { box-shadow:0 0 0 6px rgba(46,174,121,0); }
}
@media(prefers-reduced-motion:reduce) {
 .dash-health .dash-pulse { animation:none; }
}

/* 3.1.21: Balance sits inside the already-tinted welcome panel.
   Reuse that background instead of painting a second, darker glass layer. */
[data-bs-theme="dark"] body[data-client-nav] .dash .dash-hero .dash-balance-card {
 background:transparent !important;
 border-color:var(--rs-border) !important;
 box-shadow:none !important;
 -webkit-backdrop-filter:none !important; backdrop-filter:none !important;
}

/* 3.1.22: Card checkout geometry is shared; light keeps native surface colours. */
html[data-bs-theme="light"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split {
 width:calc(100% - 3rem); max-width:1560px; max-inline-size:1560px;
 margin-inline:auto; padding-block:3.5rem; gap:1.5rem; flex:0 0 auto; align-self:center;
}
html[data-bs-theme="light"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split-main {
 padding:0; margin:0; min-inline-size:0;
}
html[data-bs-theme="light"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split-main-inner {
 padding:0; margin:0; max-inline-size:none;
}
html[data-bs-theme="light"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split-aside,
html[data-bs-theme="light"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split-aside-inner {
 margin:0; padding:0; min-inline-size:0; max-inline-size:none;
}
html[data-bs-theme="light"].checkout-layout-card body.checkout-shell :is(.site-header,.site-footer,.checkout-shell-header,.checkout-shell-footer) > .container {
 width:calc(100% - 3rem); max-width:1560px; max-inline-size:1560px; padding-inline:0; margin-inline:auto;
}
html[data-bs-theme="light"].checkout-layout-card .rs-commerce-progress .checkout-shell-zone:first-child { display:none; }
html[data-bs-theme="light"].checkout-layout-card .rs-commerce-progress .checkout-shell-bar { justify-content:flex-end; min-height:0; }
html[data-bs-theme="light"].checkout-layout-card .rs-commerce-progress .checkout-shell-zone-end { flex:0 0 auto; }
html[data-bs-theme="light"].checkout-layout-card .rs-commerce-progress .checkout-shell-header { position:static; padding-block:.75rem; }
html[data-bs-theme="light"].checkout-layout-card .rs-config-intro .rs-back { display:flex; margin-bottom:2rem; }
html[data-bs-theme="light"].checkout-layout-card .rs-config-intro .rs-intro-lead { margin-top:.8rem; }
html[data-bs-theme="light"].checkout-layout-card .rs-summary-heading {
 display:flex; gap:.8rem; align-items:center; padding-bottom:1.5rem; margin-bottom:1.5rem;
 border-bottom:1px solid var(--wstyle-border-color);
}
html[data-bs-theme="light"].checkout-layout-card .rs-summary-heading p { margin:0; font-size:.8rem; color:var(--wstyle-muted-color); }
html[data-bs-theme="light"].checkout-layout-card .rs-config-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
html[data-bs-theme="light"].checkout-layout-card .rs-config-field { min-inline-size:0; }
html[data-bs-theme="light"].checkout-layout-card .rs-config-field-wide { grid-column:1/-1; }
@media(min-width:992px) {
 html[data-bs-theme="light"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split:has(:is(.rs-config-intro,.rs-commerce-intro)) {
  display:grid; grid-template-columns:minmax(0,3fr) minmax(280px,1fr); gap:1.5rem; align-items:start;
 }
 html[data-bs-theme="light"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split:has(.rs-config-intro) { row-gap:2rem; }
 html[data-bs-theme="light"].checkout-layout-card .checkout-split:has(:is(.rs-config-intro,.rs-commerce-intro)) > .checkout-split-main,
 html[data-bs-theme="light"].checkout-layout-card .checkout-split:has(:is(.rs-config-intro,.rs-commerce-intro)) .checkout-split-main-inner { display:contents; }
 html[data-bs-theme="light"].checkout-layout-card :is(.rs-config-intro,.rs-commerce-intro) { grid-column:1/-1; grid-row:1; margin-bottom:0 !important; }
 html[data-bs-theme="light"].checkout-layout-card :is(.rs-config-panels,.rs-commerce-panels) { grid-column:1; grid-row:2; min-inline-size:0; }
 html[data-bs-theme="light"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split:has(:is(.rs-config-intro,.rs-commerce-intro)) > .checkout-split-aside {
  grid-column:2; grid-row:2; margin:0; width:auto; inline-size:auto; align-self:start; position:sticky; top:6rem;
 }
}
@media(max-width:991.98px) {
 html[data-bs-theme="light"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split { display:flex; flex-direction:column; }
 html[data-bs-theme="light"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) :is(.checkout-split-main,.checkout-split-aside) { width:100%; inline-size:100%; position:static; flex:0 0 auto; }
}
@media(max-width:575.98px) {
 html[data-bs-theme="light"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split,
 html[data-bs-theme="light"].checkout-layout-card body.checkout-shell :is(.site-header,.site-footer,.checkout-shell-header,.checkout-shell-footer) > .container { width:calc(100% - 2rem); }
 html[data-bs-theme="light"].checkout-layout-card body.checkout-shell:not(.checkout-shell-centered) .checkout-split { padding-block:1.5rem; }
 html[data-bs-theme="light"].checkout-layout-card .rs-config-fields { grid-template-columns:1fr; }
}
/* The summary is not a .card, so give it the same dark surface explicitly. */
[data-bs-theme="dark"].checkout-layout-card body.checkout-shell .checkout-split .order-summary {
 background:rgba(5,22,32,.48) !important; border:1px solid rgba(160,211,229,.20);
 border-radius:14px; box-shadow:0 12px 36px rgba(0,0,0,.12);
}

/* 3.1.24: soften the outstanding-invoice banner in dark mode. */
[data-bs-theme="dark"] body [data-alert-id="invoices-outstanding"] {
  background:rgba(238,207,128,.08);
  border-color:rgba(238,207,128,.24);
  color:#ead9a7;
}
[data-bs-theme="dark"] body [data-alert-id="invoices-outstanding"] .btn-outline-warning {
  --bs-btn-color:#ead9a7;
  --bs-btn-border-color:rgba(238,207,128,.32);
  --bs-btn-hover-color:#fff0c7;
  --bs-btn-hover-bg:rgba(238,207,128,.14);
  --bs-btn-hover-border-color:rgba(238,207,128,.48);
  --bs-btn-active-color:#fff0c7;
  --bs-btn-active-bg:rgba(238,207,128,.2);
  --bs-btn-active-border-color:rgba(238,207,128,.48);
  --bs-btn-focus-shadow-rgb:238,207,128;
}

/* 3.1.25: match Related Service to the neighbouring native dark selects. */
[data-bs-theme="dark"] body #tkt-service + .ts-wrapper .ts-dropdown {
  background:rgba(24,51,64,.96) !important;
  color:var(--wstyle-body-color);
}
[data-bs-theme="dark"] body #tkt-service + .ts-wrapper .ts-dropdown :is(.dropdown-input-wrap,.dropdown-input,.optgroup-header,.option) {
  background:transparent;
  color:inherit;
}
[data-bs-theme="dark"] body #tkt-service + .ts-wrapper .ts-dropdown .dropdown-input::placeholder {
  color:var(--wstyle-muted-color); opacity:1;
}
[data-bs-theme="dark"] body #tkt-service + .ts-wrapper .ts-dropdown .option.active {
  background:#9ac7f9;
  color:#183340;
}
[data-bs-theme="dark"] body #tkt-service + .ts-wrapper .ts-dropdown .option.active :is(.ts-rich-title,.ts-rich-meta) {
  color:inherit;
}

/* 3.1.27: lighter frosted Quick Actions, account and notification menus (3.1.28). */
[data-bs-theme="dark"] :is(body,body[data-client-nav]) .client-quickactions .dropdown-menu,
[data-bs-theme="dark"] :is(body,body[data-client-nav]) :is(.account-menu,.notif-menu),
[data-bs-theme="dark"] body #themePopup .modal-content {
  background:#051620 !important;
  border-color:var(--rs-border) !important;
  -webkit-backdrop-filter:blur(28px) !important;
  backdrop-filter:blur(28px) !important;
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  [data-bs-theme="dark"] :is(body,body[data-client-nav]) .client-quickactions .dropdown-menu,
  [data-bs-theme="dark"] :is(body,body[data-client-nav]) :is(.account-menu,.notif-menu),
[data-bs-theme="dark"] body #themePopup .modal-content {
    background:var(--rs-panel) !important;
  }
}


/* Shared action-button palette, dark mode only. Keep native sizes and behaviour.
   Semantic danger/success/warning buttons, links and close controls retain their roles. */
@media screen {
[data-bs-theme="dark"] body :is(.btn-primary,.btn-secondary,.btn-soft,.btn-ghost,.btn-light,.btn-outline-primary,.btn-outline-secondary,.btn-outline-light,.btn-outline-info,.dash-btn-light,.dash-btn-glass):not(.btn-danger,.btn-outline-danger,.btn-success,.btn-outline-success,.btn-warning,.btn-outline-warning,.btn-link) {
  --bs-btn-color:#e3f6fc;
  --bs-btn-bg:rgba(33,212,238,.10);
  --bs-btn-border-color:rgba(33,212,238,.50);
  --bs-btn-hover-color:#fff;
  --bs-btn-hover-bg:rgba(33,212,238,.23);
  --bs-btn-hover-border-color:#21d4ee;
  --bs-btn-active-color:#fff;
  --bs-btn-active-bg:rgba(33,212,238,.28);
  --bs-btn-active-border-color:#21d4ee;
  --bs-btn-disabled-color:#abc5ce;
  --bs-btn-disabled-bg:rgba(33,212,238,.05);
  --bs-btn-disabled-border-color:rgba(33,212,238,.20);
  --bs-btn-focus-shadow-rgb:33,212,238;
  background:var(--bs-btn-bg) !important;
  border-color:var(--bs-btn-border-color) !important;
  color:var(--bs-btn-color) !important;
  box-shadow:none !important;
}
[data-bs-theme="dark"] body :is(.btn-primary,.btn-secondary,.btn-soft,.btn-ghost,.btn-light,.btn-outline-primary,.btn-outline-secondary,.btn-outline-light,.btn-outline-info,.dash-btn-light,.dash-btn-glass):not(.btn-danger,.btn-outline-danger,.btn-success,.btn-outline-success,.btn-warning,.btn-outline-warning,.btn-link):hover {
  background:rgba(33,212,238,.23) !important; border-color:#21d4ee !important; color:#fff !important;
}
[data-bs-theme="dark"] body :is(.btn-primary,.btn-secondary,.btn-soft,.btn-ghost,.btn-light,.btn-outline-primary,.btn-outline-secondary,.btn-outline-light,.btn-outline-info,.dash-btn-light,.dash-btn-glass):not(.btn-danger,.btn-outline-danger,.btn-success,.btn-outline-success,.btn-warning,.btn-outline-warning,.btn-link):is(:active,.active,[aria-pressed="true"]) {
  background:rgba(33,212,238,.28) !important; border-color:#21d4ee !important; color:#fff !important;
}
[data-bs-theme="dark"] body :is(.btn-primary,.btn-secondary,.btn-soft,.btn-ghost,.btn-light,.btn-outline-primary,.btn-outline-secondary,.btn-outline-light,.btn-outline-info,.dash-btn-light,.dash-btn-glass):not(.btn-danger,.btn-outline-danger,.btn-success,.btn-outline-success,.btn-warning,.btn-outline-warning,.btn-link):is(:disabled,.disabled,[aria-disabled="true"]) {
  background:rgba(33,212,238,.05) !important; border-color:rgba(33,212,238,.20) !important; color:#abc5ce !important;
}
[data-bs-theme="dark"] body :is(.btn-primary,.btn-secondary,.btn-soft,.btn-ghost,.btn-light,.btn-outline-primary,.btn-outline-secondary,.btn-outline-light,.btn-outline-info,.dash-btn-light,.dash-btn-glass):not(.btn-danger,.btn-outline-danger,.btn-success,.btn-outline-success,.btn-warning,.btn-outline-warning,.btn-link):focus-visible {
  outline:2px solid #21d4ee !important;
  outline-offset:3px;
}
}

/* 3.1.37: use the dashboard surface for every floating panel. */
@media screen {
[data-bs-theme="dark"] :is(body,body[data-client-nav="sidebar"]) :is(.modal-content,.dropdown-menu,.account-menu,.notif-menu,.offcanvas,.popover,.toast,.cookie-notice) {
  background:#051620 !important;
  border-color:var(--rs-border) !important;
  -webkit-backdrop-filter:blur(28px) !important;
  backdrop-filter:blur(28px) !important;
}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
[data-bs-theme="dark"] :is(body,body[data-client-nav="sidebar"]) :is(.modal-content,.dropdown-menu,.account-menu,.notif-menu,.offcanvas,.popover,.toast,.cookie-notice) { background:var(--rs-panel) !important; }
}
[data-bs-theme="dark"] body .modal-content :is(.modal-header,.modal-body,.modal-footer) {
  background:transparent !important;
}
}

/* 3.1.40: softer amber in both dashboard layouts and invoice badges. */
@media screen {
  [data-bs-theme="dark"] body :is(.dashx-kpi, .dash-stat, .dash-panel) .bg-warning-subtle {
    background-color: rgba(234, 217, 167, .10) !important;
  }
  [data-bs-theme="dark"] body :is(.dashx-kpi, .dash-stat, .dash-panel) .text-warning-emphasis {
    color: #ead9a7 !important;
  }
}

/* 3.1.41: matching soft amber for client list KPIs and status indicators. */
@media screen {
  [data-bs-theme="dark"] body[data-client-nav] .list-page:has([data-noun="invoices"]) {
    --bs-warning-rgb: 234, 217, 167;
    --bs-warning: #ead9a7;
    --bs-warning-text-emphasis: #ead9a7;
    --bs-warning-bg-subtle: rgba(234, 217, 167, .10);
    --bs-warning-border-subtle: rgba(234, 217, 167, .24);
  }
  [data-bs-theme="dark"] body[data-client-nav] .list-page:has([data-noun="invoices"]) .list-tile-warning {
    --list-accent: #ead9a7;
  }
  [data-bs-theme="dark"] body[data-client-nav] .list-page:has([data-noun="invoices"]) :is(.text-warning, .text-warning-emphasis) {
    color: #ead9a7 !important;
  }
  [data-bs-theme="dark"] body[data-client-nav] .list-page:has([data-noun="invoices"]) .bg-warning-subtle {
    background-color: rgba(234, 217, 167, .10) !important;
  }
}

/* 3.1.42: standalone invoice status uses the same soft amber. */
@media screen {
  [data-bs-theme="dark"] body.rs-invoice-page .invoice-doc-stack .badge.bg-warning-subtle {
    background-color: rgba(234, 217, 167, .10) !important;
    color: #ead9a7 !important;
  }
}

/* 3.1.43: neutral dashboard badges match the translucent surfaces. */
@media screen {
  [data-bs-theme="dark"] body :is(.dash-stat, .dashx-kpi, .dash-panel) .badge.bg-secondary-subtle {
    background-color: rgba(160, 190, 205, .12) !important;
    color: #c7d8e0 !important;
  }
}

/* 3.1.44: ticket detail status badges and feedback accents. */
@media screen {
  [data-bs-theme="dark"] body [data-ticket-detail] :is(.badge.bg-secondary-subtle, .ticket-closed-ico) {
    background-color: rgba(160, 190, 205, .12) !important;
    color: #c7d8e0 !important;
  }
  [data-bs-theme="dark"] body [data-ticket-detail] .badge.bg-warning-subtle {
    background-color: rgba(234, 217, 167, .10) !important;
    color: #ead9a7 !important;
  }
  [data-bs-theme="dark"] body [data-ticket-detail] .msg-star.is-on {
    color: #ead9a7 !important;
  }
}

/* 3.1.46: shared neutral badge palette throughout the client area. */
@media screen {
  [data-bs-theme="dark"] body[data-client-nav] .badge.bg-secondary-subtle {
    background-color: rgba(160, 190, 205, .12) !important;
    color: #c7d8e0 !important;
  }
}

/* 3.1.47: service detail warning badges share the soft amber palette. */
@media screen {
  [data-bs-theme="dark"] body [data-service-detail] .badge.bg-warning-subtle {
    background-color: rgba(234, 217, 167, .10) !important;
    color: #ead9a7 !important;
  }
}

/* 3.1.49: soft renewal warnings and selected feedback stars in dark mode. */
@media screen {
  [data-bs-theme="dark"] body[data-client-nav] :is(.dash-service-term,[data-domain],.sd-renew,.list-due) {
    --bs-warning: #ead9a7;
    --bs-warning-text-emphasis: #ead9a7;
  }
  [data-bs-theme="dark"] body[data-client-nav] .star-rating .star-btn.is-on {
    color: #ead9a7;
  }
}

/* 3.1.50: roomier desktop catalogue and continuous price/action separator. */
@media (min-width:1200px) {
  html[data-bs-theme] body.rs-catalogue:not([data-client-nav]):not(.checkout-shell) .container {
    width:calc(100% - 3rem);
    max-width:1680px;
    max-inline-size:1680px;
  }
  html[data-bs-theme] body.rs-catalogue:not([data-client-nav]):not(.checkout-shell) .container .container {
    width:100%;
  }
  .rs-product-rows .plan-row .plan-row-main {
    grid-template-columns:minmax(215px,1.5fr) minmax(0,5fr) 200px;
  }
  .rs-product-rows .rs-product-name h4 { font-size:1.04rem; }
  .rs-product-rows .rs-spec-label { font-size:.65rem; }
  .rs-product-rows .rs-spec-value { font-size:.88rem; }
  .rs-product-rows .rs-cpu-logo { flex-basis:60px; width:60px; height:60px; }
  .rs-product-rows .plan-row .price-now { font-size:1.9rem; }
  .rs-product-rows .plan-row .plan-row-price { border-inline-start:0; }
  .rs-product-rows .plan-row .plan-row-main::after {
    content:"";
    grid-column:3;
    grid-row:1 / 3;
    align-self:stretch;
    justify-self:stretch;
    min-width:0;
    border-inline-start:1px solid var(--rs-border);
    pointer-events:none;
  }
}

/* Public header: logo left, navigation and account/cart actions grouped right. */
@media (min-width:992px) {
  .site-header > nav.container > .site-nav { margin-inline-start:auto; justify-content:flex-end; }
  .site-header > nav.container > .rs-header-actions { margin-inline-start:1.25rem !important; flex-shrink:0; }
}
@media (min-width:1200px) {
  html[data-bs-theme] body:not([data-client-nav]):not(.checkout-shell) .site-header > nav.container {
    width:calc(100% - 3rem);
    max-width:1680px;
    max-inline-size:1680px;
  }
}

/* 3.1.51: centre the catalogue introduction and country selectors. */
body.rs-catalogue .page-hero > .container { text-align:center; }
body.rs-catalogue .page-hero .breadcrumb { justify-content:center; }
body.rs-catalogue .page-hero .page-hero-lead { margin-inline:auto; }
body.rs-catalogue .page-hero > .container > .d-flex { justify-content:center; }
body.rs-catalogue .rs-catalogue-switches { text-align:center; }
