/*
 * TheOldGamer Control Center — Unified Design System v2.0.1
 * Shared presentation layer for the public site, customer, dealer and admin workspaces.
 * Navigation sources, labels, ordering and application behaviour remain unchanged.
 */

@font-face {
  font-family: "Inter Variable";
  src: url("../vendor/inter/inter-latin-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter Variable";
  src: url("../vendor/inter/inter-latin-ext-wght-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --tog-navy-950: #020a14;
  --tog-navy-900: #061326;
  --tog-navy-850: #081a32;
  --tog-navy-800: #0b2345;
  --tog-blue-700: #1154d8;
  --tog-blue-600: #1768ff;
  --tog-blue-500: #2d7bff;
  --tog-cyan-500: #20c8d2;
  --tog-green-600: #0c9b6a;
  --tog-red-600: #d72f4d;
  --tog-amber-600: #c87708;
  --tog-surface: #ffffff;
  --tog-canvas: #f5f8fc;
  --tog-soft: #f8faff;
  --tog-line: #dfe6f0;
  --tog-line-strong: #cdd8e7;
  --tog-text: #0b1728;
  --tog-muted: #66758e;
  --tog-shadow: 0 14px 36px rgba(12, 31, 60, .07);
  --tog-shadow-hover: 0 18px 44px rgba(12, 31, 60, .11);
  --tog-radius: 16px;
  --tog-radius-sm: 12px;
}

html,
body.unified-v201 {
  font-family: "Inter Variable", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.unified-v201 .ti {
  line-height: 1;
  font-size: 1.08em;
}

.unified-v201 :is(button, a, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(23, 104, 255, .25);
  outline-offset: 2px;
}

/* Shared panel surfaces */
.control-center-v2.unified-v201 {
  color: var(--tog-text);
  background: var(--tog-canvas);
}

.control-center-v2.unified-v201 .content {
  max-width: 1760px;
}

.control-center-v2.unified-v201 .page-canvas {
  gap: 18px;
}

.control-center-v2.unified-v201 :is(
  .panel,
  .metric-card,
  .stat-card,
  .module-card,
  .service-card,
  .infrastructure-card,
  .group-card,
  .pool-card,
  .os-card,
  .coupon-card,
  .admin-product-card,
  .domain-summary-card,
  .dealer-card,
  .department-card,
  .permission-group,
  .package-step,
  .operation-card,
  .info-card,
  .card,
  .integration-side-card,
  .connector-status-card
) {
  border-color: var(--tog-line);
  border-radius: var(--tog-radius);
  background: var(--tog-surface);
  box-shadow: 0 3px 12px rgba(12, 31, 60, .025);
}

.control-center-v2.unified-v201 :is(
  .module-card,
  .service-card,
  .infrastructure-card,
  .group-card,
  .pool-card,
  .os-card,
  .coupon-card,
  .admin-product-card,
  .domain-summary-card,
  .dealer-card,
  .department-card,
  .operation-card,
  .info-card
):hover {
  border-color: #b8c9e0;
  box-shadow: var(--tog-shadow);
}

.control-center-v2.unified-v201 .panel-head {
  min-height: 50px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e7edf5;
}

.control-center-v2.unified-v201 .panel-head h2,
.control-center-v2.unified-v201 .panel-head h3 {
  color: var(--tog-text);
  letter-spacing: -.025em;
}

.control-center-v2.unified-v201 .panel-head a:not(.button) {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--tog-blue-600);
  font-size: .71rem;
  font-weight: 780;
}

.control-center-v2.unified-v201 .button {
  border-radius: 9px;
  font-weight: 760;
  letter-spacing: -.01em;
}

.control-center-v2.unified-v201 .button.primary {
  background: var(--tog-blue-600);
  border-color: var(--tog-blue-600);
  box-shadow: 0 8px 20px rgba(23, 104, 255, .2);
}

.control-center-v2.unified-v201 .button.primary:hover {
  background: var(--tog-blue-700);
  border-color: var(--tog-blue-700);
}

.control-center-v2.unified-v201 .button.secondary {
  color: var(--tog-blue-700);
  border-color: #a9c3f4;
  background: #fff;
}

.control-center-v2.unified-v201 :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea, .table-filter, .filter-search) {
  border-color: var(--tog-line-strong);
  border-radius: 10px;
  background: #fff;
}

.control-center-v2.unified-v201 :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea, .table-filter, .filter-search):focus {
  border-color: #75a5fa;
  box-shadow: 0 0 0 4px rgba(23, 104, 255, .1);
}

.control-center-v2.unified-v201 :is(.table-wrap, .mobile-table-scroll) {
  border-color: var(--tog-line);
  border-radius: 12px;
  background: #fff;
}

.control-center-v2.unified-v201 :is(.table-wrap, .mobile-table-scroll) th {
  height: 43px;
  background: #f7f9fc;
  color: #6b7890;
  font-size: .58rem;
  letter-spacing: .085em;
}

.control-center-v2.unified-v201 :is(.table-wrap, .mobile-table-scroll) td {
  height: 54px;
  color: #223047;
  border-color: #e8edf4;
}

.control-center-v2.unified-v201 :is(.table-wrap, .mobile-table-scroll) tbody tr:hover {
  background: #f8fbff;
}

.control-center-v2.unified-v201 .status {
  min-height: 23px;
  padding: 4px 9px;
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 22%, transparent);
  font-size: .56rem;
}

.control-center-v2.unified-v201 .icon-action {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #d8e2f1;
  border-radius: 8px;
  color: var(--tog-blue-600);
  background: #fff;
}

.control-center-v2.unified-v201 .panel-footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  margin: 12px -18px -18px;
  border-top: 1px solid #e7edf5;
  color: var(--tog-blue-600);
  font-size: .68rem;
  font-weight: 780;
}

.control-center-v2.unified-v201 .empty-card,
.control-center-v2.unified-v201 .empty {
  color: var(--tog-muted);
}

.control-center-v2.unified-v201 .connection-list {
  border-color: var(--tog-line);
  border-radius: 14px;
  overflow: hidden;
}

.control-center-v2.unified-v201 .connection-list > div {
  border-color: #e7edf5;
  background: #fbfcfe;
}

.control-center-v2.unified-v201 :is(.page-tabs, .context-subnav, .archive-type-tabs, .section-tabs, .accounting-tabs, .module-tab-strip) {
  border-color: var(--tog-line);
  background: #f2f5fa;
}

.control-center-v2.unified-v201 :is(.page-tabs, .context-subnav, .archive-type-tabs, .section-tabs, .accounting-tabs, .module-tab-strip) .active {
  color: #fff;
  background: var(--tog-blue-600);
  box-shadow: 0 5px 12px rgba(23, 104, 255, .2);
}

/* Workspace shell refinements */
.control-center-v2.unified-v201 .sidebar {
  background: var(--tog-navy-900);
}

.control-center-v2.unified-v201 .sidebar-brand .brand-mark {
  background: #1768ff;
  box-shadow: 0 8px 24px rgba(23, 104, 255, .35);
}

.control-center-v2.unified-v201 .topbar {
  background: rgba(255, 255, 255, .96);
  border-color: #e2e8f1;
}

.control-center-v2.unified-v201 .page-title h1 {
  color: var(--tog-text);
  font-weight: 800;
}

.control-center-v2.unified-v201 .page-title p {
  color: var(--tog-muted);
}

.control-center-v2.unified-v201 .global-search {
  border-color: #d7e0ed;
  background: #fbfcfe;
}

.control-center-v2.unified-v201 .global-search:focus-within {
  border-color: #8ab1f9;
  box-shadow: 0 0 0 4px rgba(23, 104, 255, .09);
}

.portal-client .page-context-card,
.portal-dealer .page-context-card {
  display: none;
}

.portal-client .content,
.portal-dealer .content {
  padding-top: 18px;
}

.portal-client .sidebar-nav,
.portal-dealer .sidebar-nav {
  gap: 8px;
}

.portal-client .nav-group,
.portal-dealer .nav-group {
  border-color: rgba(159, 183, 219, .09);
  background: rgba(255, 255, 255, .018);
}

.portal-client .nav-group-summary,
.portal-dealer .nav-group-summary {
  color: #a9b8ce;
}

.portal-client .nav-item.active,
.portal-dealer .nav-item.active {
  background: #12366c;
  border-color: #245aa6;
  box-shadow: inset 0 0 0 1px rgba(76, 138, 242, .1);
}

.portal-dealer .sidebar-brand .brand-mark {
  background: #1768ff;
}

/* Customer dashboard */
.client-dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 205px;
  padding: 28px 34px;
  margin-bottom: 18px;
  border: 1px solid #143d78;
  border-radius: 16px;
  color: #fff;
  background-color: #071b3b;
  box-shadow: 0 13px 32px rgba(4, 26, 60, .14);
  overflow: hidden;
}

.client-dashboard-welcome {
  min-width: 0;
}

.client-dashboard-welcome .eyebrow {
  margin-bottom: 8px;
  color: #58a1ff;
}

.client-dashboard-welcome h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(1.75rem, 2.3vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -.045em;
}

.client-dashboard-welcome h1 em {
  color: #3b82ff;
  font-style: normal;
}

.client-dashboard-welcome p {
  margin: 11px 0 20px;
  color: #b4c3d9;
  font-size: .83rem;
  line-height: 1.65;
}

.client-security-summary {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 1 360px;
  justify-content: flex-end;
}

.client-security-summary .security-orbit {
  display: grid;
  place-items: center;
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(41, 226, 160, .35);
  border-radius: 50%;
  color: #26d58f;
  background: rgba(18, 132, 103, .14);
}

.client-security-summary .security-orbit i {
  font-size: 2.35rem;
}

.client-security-summary > span:last-child {
  display: grid;
  gap: 4px;
}

.client-security-summary b {
  font-size: .8rem;
}

.client-security-summary small {
  color: #aec0d8;
  font-size: .63rem;
}

.client-security-summary a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: #4b99ff;
  font-size: .66rem;
  font-weight: 750;
}

.client-overview-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.client-overview-metrics > a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 14px;
  min-height: 120px;
  padding: 18px;
  border: 1px solid var(--tog-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(12, 31, 60, .025);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.client-overview-metrics > a:hover {
  border-color: #b7c9e3;
  box-shadow: var(--tog-shadow);
  transform: translateY(-2px);
}

.client-overview-metrics .metric-icon,
.dealer-overview-metrics .metric-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.45rem;
}

.metric-icon.blue {
  color: #1768ff;
  background: #edf4ff;
}

.metric-icon.red {
  color: #db3150;
  background: #fff0f3;
}

.metric-icon.green {
  color: #079465;
  background: #eaf9f3;
}

.client-overview-metrics > a > span:nth-child(2) {
  min-width: 0;
}

.client-overview-metrics strong {
  display: inline-block;
  margin-right: 6px;
  color: var(--tog-text);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: -.04em;
}

.client-overview-metrics .danger strong {
  color: var(--tog-red-600);
}

.client-overview-metrics b {
  display: inline;
  color: #2a3850;
  font-size: .68rem;
}

.client-overview-metrics small {
  display: block;
  margin-top: 8px;
  color: #8290a5;
  font-size: .59rem;
}

.client-overview-metrics > a > i {
  color: #7c93b4;
}

.control-center-v2.unified-v201 .client-unpaid-alert {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 18px;
  margin-bottom: 18px;
  border: 1px solid #f3ba91;
  border-left: 3px solid #ed791f;
  border-radius: 11px;
  color: #1c2636;
  background: #fffaf6;
}

.client-unpaid-alert .alert-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #dc650c;
  font-size: 1.5rem;
}

.client-unpaid-alert b {
  font-size: .72rem;
}

.client-unpaid-alert p {
  margin: 3px 0 0;
  color: #7a8597;
  font-size: .62rem;
}

.client-dashboard-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.client-dashboard-grid .panel {
  min-width: 0;
  padding: 18px;
}

.client-table-panel .service-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.client-table-panel .service-identity > span:first-child {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 8px;
  color: #1768ff;
  background: #eef4ff;
}

.client-table-panel .metric-badge,
.secondary-row .metric-badge {
  margin-left: 6px;
}

.client-compact-state {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 84px;
}

.client-compact-state > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: #1768ff;
  background: #eef4ff;
  font-size: 1.3rem;
}

.client-compact-state b,
.client-compact-state small {
  display: block;
}

.client-compact-state b {
  font-size: .72rem;
}

.client-compact-state small,
.client-compact-state time {
  margin-top: 4px;
  color: #7a879a;
  font-size: .6rem;
}

/* Dealer dashboard */
.dealer-dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 198px;
  padding: 28px 34px;
  margin-bottom: 20px;
  border: 1px solid #153b70;
  border-radius: 16px;
  color: #fff;
  background-color: rgba(3, 20, 40, .74);
  background-image: url("../images/tog-datacenter-hero-v2.webp");
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
  box-shadow: 0 14px 34px rgba(4, 25, 57, .15);
}

.dealer-dashboard-hero .eyebrow {
  color: #21d4d1;
}

.dealer-dashboard-hero h1 {
  margin: 7px 0 4px;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.dealer-dashboard-hero p {
  margin: 0;
  color: #b8c7dc;
  font-size: .8rem;
  line-height: 1.7;
}

.dealer-hero-actions {
  display: flex;
  align-items: stretch;
  gap: 18px;
}

.dealer-hero-actions > .button {
  min-width: 205px;
}

.dealer-credit-card {
  display: grid;
  align-content: center;
  min-width: 205px;
  padding: 15px 20px;
  border: 1px solid rgba(172, 202, 241, .2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(10px);
}

.dealer-credit-card span {
  color: #c8d6e8;
  font-size: .68rem;
  font-weight: 700;
}

.dealer-credit-card strong {
  margin-top: 5px;
  color: #4ce3ae;
  font-size: 1.45rem;
  line-height: 1;
}

.dealer-overview-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.dealer-overview-metrics article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 135px;
  padding: 18px;
  border: 1px solid var(--tog-line);
  border-radius: 15px;
  background: #fff;
}

.dealer-overview-metrics article > div {
  min-width: 0;
}

.dealer-overview-metrics small,
.dealer-overview-metrics span {
  display: block;
  color: #7c899d;
  font-size: .59rem;
}

.dealer-overview-metrics small {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 780;
}

.dealer-overview-metrics strong {
  display: block;
  margin: 7px 0;
  font-size: 1.32rem;
  line-height: 1;
  letter-spacing: -.04em;
}

.success-text {
  color: var(--tog-green-600) !important;
}

.blue-text {
  color: var(--tog-blue-600) !important;
}

.dealer-action-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
  border: 1px solid var(--tog-line);
  border-radius: 15px;
  background: #fff;
  overflow: hidden;
}

.dealer-action-strip > a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  min-height: 105px;
  padding: 18px;
  border-right: 1px solid #e4eaf2;
  transition: background .18s ease;
}

.dealer-action-strip > a:last-child {
  border-right: 0;
}

.dealer-action-strip > a:hover {
  background: #f8fbff;
}

.dealer-action-strip > a > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid #d5e0ee;
  border-radius: 14px;
  color: #1768ff;
  background: #f8fbff;
  font-size: 1.5rem;
}

.dealer-action-strip b,
.dealer-action-strip small {
  display: block;
}

.dealer-action-strip b {
  font-size: .8rem;
}

.dealer-action-strip small {
  margin-top: 4px;
  color: #7a879a;
  font-size: .59rem;
  line-height: 1.45;
}

.dealer-action-strip > a > i {
  color: #1768ff;
  font-size: 1.25rem;
}

.dealer-dashboard-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 18px;
  align-items: stretch;
}

.dealer-orders-panel {
  min-width: 0;
}

.dealer-orders-panel .panel-footer-link {
  justify-content: space-between;
  padding: 0 14px;
  color: #7d8a9e;
}

.dealer-orders-panel .panel-footer-link span {
  color: #1768ff;
}

.dealer-credit-summary {
  display: flex;
  flex-direction: column;
}

.dealer-credit-summary dl {
  display: grid;
  gap: 0;
  margin: 2px 0 18px;
}

.dealer-credit-summary dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 43px;
  border-bottom: 1px solid #edf1f6;
}

.dealer-credit-summary dl > div.total {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #ccd7e4;
  border-bottom: 0;
}

.dealer-credit-summary dt {
  color: #7b889b;
  font-size: .62rem;
}

.dealer-credit-summary dd {
  margin: 0;
  color: #34445d;
  font-size: .69rem;
  font-weight: 780;
  text-align: right;
}

.dealer-credit-summary .total dd {
  color: #1768ff;
}

.dealer-credit-summary .button {
  margin-top: auto;
}

/* Public website shell */
.storefront-v3 {
  color: var(--tog-text);
  background: #fff;
}

.storefront-v3 .store-announcement {
  color: #b6c3d5;
  background: var(--tog-navy-950);
  border-bottom: 1px solid rgba(148, 163, 184, .14);
}

.storefront-v3 .store-announcement > div {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  width: min(1480px, calc(100% - 42px));
  min-height: 38px;
  margin: 0 auto;
  padding: 0;
  font-size: .62rem;
}

.storefront-v3 .store-system-link,
.storefront-v3 .store-contact-links,
.storefront-v3 .store-contact-links a {
  display: flex;
  align-items: center;
  gap: 7px;
}

.storefront-v3 .store-system-link i {
  color: #36d697;
}

.storefront-v3 .store-announcement-time {
  text-align: center;
}

.storefront-v3 .store-contact-links {
  justify-content: flex-end;
  gap: 22px;
}

.storefront-v3 .store-header-v2 {
  top: 0;
  color: #fff;
  background: rgba(3, 15, 31, .97);
  border-color: rgba(149, 171, 205, .14);
  box-shadow: none;
}

.storefront-v3 .store-header-inner {
  width: min(1480px, calc(100% - 42px));
  height: 78px;
  margin: 0 auto;
  padding: 0;
}

.storefront-v3 .store-brand-v2 b {
  color: #fff;
  font-size: 1.23rem;
}

.storefront-v3 .store-brand-v2 small {
  color: #71829b;
}

.storefront-v3 .store-brand-v2 .brand-mark {
  width: 39px;
  height: 39px;
  color: #fff;
  background: #1768ff;
  box-shadow: 0 7px 20px rgba(23, 104, 255, .34);
}

.storefront-v3 .store-main-nav {
  gap: 6px;
}

.storefront-v3 .store-nav-link {
  position: relative;
  gap: 6px;
  min-height: 78px;
  padding: 0 13px;
  color: #e8eef7;
  font-size: .69rem;
  font-weight: 690;
}

.storefront-v3 .store-nav-link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 15px;
  height: 2px;
  border-radius: 2px;
  background: transparent;
}

.storefront-v3 .store-nav-link:hover,
.storefront-v3 .store-nav-link.active {
  color: #fff;
  background: transparent;
}

.storefront-v3 .store-nav-link.active::after {
  background: #4b91ff;
}

.storefront-v3 .store-mega-menu {
  color: var(--tog-text);
  border-color: #d5dfec;
  background: #fff;
  box-shadow: 0 24px 70px rgba(2, 13, 30, .26);
}

.storefront-v3 .store-header-actions {
  gap: 10px;
}

.storefront-v3 .store-search-mini {
  width: 245px;
  height: 42px;
  border-color: #243852;
  border-radius: 8px;
  background: #07162a;
}

.storefront-v3 .store-search-mini input {
  color: #eef4ff;
}

.storefront-v3 .store-search-mini input::placeholder {
  color: #63748d;
}

.storefront-v3 .store-search-mini button {
  color: #cbd6e6;
}

.storefront-v3 .store-login-link,
.storefront-v3 .store-account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid #40526c;
  border-radius: 8px;
  color: #fff;
  font-size: .66rem;
  font-weight: 750;
  white-space: nowrap;
}

.storefront-v3 .store-account-button {
  min-width: 142px;
  border-color: #1768ff;
  background: #1768ff;
  box-shadow: 0 7px 18px rgba(23, 104, 255, .25);
}

.storefront-v3 .store-main-v2 {
  background: #fff;
}

/* Public website home hero */
.store-hero-v3 {
  position: relative;
  color: #fff;
  background-color: rgba(2, 13, 30, .7);
  background-image: url("../images/tog-datacenter-hero-v2.webp");
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
}

.store-hero-v3-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 68px;
  width: min(1360px, calc(100% - 84px));
  min-height: 500px;
  margin: 0 auto;
  padding: 58px 0 42px;
}

.store-hero-v3-copy {
  max-width: 650px;
}

.store-hero-v3-copy .store-kicker {
  color: #4c98ff;
}

.store-hero-v3-copy h1 {
  margin: 17px 0 16px;
  font-size: clamp(3.1rem, 5vw, 5rem);
  line-height: .98;
  letter-spacing: -.058em;
}

.store-hero-v3-copy h1 em {
  display: block;
  color: #2878ff;
  font-style: normal;
}

.store-hero-v3-copy > p {
  margin: 0;
  color: #c5d0df;
  font-size: 1.02rem;
  line-height: 1.6;
}

.store-hero-v3 .store-hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 25px;
}

.storefront-v3 .store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 45px;
  border-radius: 8px;
  font-size: .71rem;
  font-weight: 760;
}

.storefront-v3 .store-button.primary {
  color: #fff;
  border-color: #1768ff;
  background: #1768ff;
  box-shadow: 0 9px 22px rgba(23, 104, 255, .28);
}

.storefront-v3 .store-button.light {
  color: #fff;
  border-color: #aab9ce;
  background: rgba(4, 16, 34, .45);
}

.storefront-v3 .store-button.outline {
  color: #1768ff;
  border-color: #a9c4f5;
  background: #fff;
}

.store-hero-v3-services {
  display: grid;
  gap: 13px;
}

.hero-service-card {
  position: relative;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  min-height: 116px;
  padding: 18px 16px;
  border: 1px solid rgba(128, 162, 209, .24);
  border-radius: 13px;
  color: #fff;
  background: rgba(4, 24, 50, .76);
  backdrop-filter: blur(9px);
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}

.hero-service-card:hover {
  border-color: rgba(72, 142, 242, .66);
  background: rgba(5, 31, 65, .9);
  transform: translateX(-3px);
}

.hero-service-icon {
  color: #e8f2ff;
  font-size: 1.75rem;
}

.hero-service-card b,
.hero-service-card small,
.hero-service-card em {
  display: block;
}

.hero-service-card b {
  font-size: .8rem;
}

.hero-service-card small {
  margin-top: 5px;
  color: #a7b7ce;
  font-size: .61rem;
  line-height: 1.45;
}

.hero-service-card em {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #4c98ff;
  font-size: .63rem;
  font-style: normal;
  font-weight: 730;
}

.hero-service-card mark {
  position: absolute;
  top: 15px;
  right: 14px;
  padding: 4px 7px;
  border-radius: 6px;
  color: #4c98ff;
  background: #0a2e5d;
  font-size: .54rem;
}

.hero-service-card mark.online {
  color: #54d6a4;
  background: #0a3b39;
}

.store-infrastructure-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1420px, calc(100% - 70px));
  margin: 0 auto;
  border-top: 1px solid rgba(158, 179, 210, .18);
}

.store-infrastructure-strip > div {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-content: center;
  column-gap: 14px;
  min-height: 108px;
  padding: 18px 24px;
  border-right: 1px solid rgba(158, 179, 210, .18);
}

.store-infrastructure-strip > div:last-child {
  border-right: 0;
}

.store-infrastructure-strip > div > span {
  display: grid;
  place-items: center;
  grid-row: 1 / 3;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(130, 163, 208, .25);
  border-radius: 50%;
  color: #2e7fff;
  background: rgba(36, 94, 174, .14);
  font-size: 1.3rem;
}

.store-infrastructure-strip b {
  align-self: end;
  font-size: .72rem;
}

.store-infrastructure-strip small {
  align-self: start;
  margin-top: 4px;
  color: #9fadc1;
  font-size: .57rem;
  line-height: 1.45;
}

/* Public website sections and inner pages */
.storefront-v3 .store-section-v2 {
  width: min(1360px, calc(100% - 84px));
  padding: 54px 0;
}

.storefront-v3 .store-section-v2.soft {
  width: 100%;
  max-width: none;
  padding-inline: max(42px, calc((100% - 1360px) / 2));
  background: #f7f9fc;
}

.storefront-v3 .store-section-v2.dark-section {
  width: 100%;
  max-width: none;
  padding-inline: max(42px, calc((100% - 1360px) / 2));
  color: #fff;
  background: #071426;
}

.storefront-v3 .store-section-head {
  margin-bottom: 28px;
}

.storefront-v3 .store-section-head:not(.split) {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.storefront-v3 .store-section-head h2 {
  margin: 7px 0 5px;
  color: var(--tog-text);
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -.04em;
}

.storefront-v3 .store-section-head p {
  color: #748198;
  font-size: .76rem;
}

.storefront-v3 .dark-section .store-section-head h2,
.storefront-v3 .dark-section .store-section-head p {
  color: #fff;
}

.store-primary-services {
  padding-top: 48px !important;
  padding-bottom: 24px !important;
}

.primary-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.primary-service-grid > a {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 20px;
  min-height: 170px;
  padding: 26px;
  border: 1px solid #d8e1ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(12, 31, 60, .03);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.primary-service-grid > a:hover {
  border-color: #a9c2e6;
  box-shadow: var(--tog-shadow);
  transform: translateY(-3px);
}

.primary-service-grid > a > span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 14px;
  color: #fff;
  background: #1768ff;
  box-shadow: 0 10px 24px rgba(23, 104, 255, .2);
  font-size: 1.9rem;
}

.primary-service-grid h3 {
  margin: 0;
  font-size: 1rem;
}

.primary-service-grid p {
  min-height: 42px;
  margin: 8px 0 14px;
  color: #6f7d92;
  font-size: .67rem;
  line-height: 1.55;
}

.primary-service-grid b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1768ff;
  font-size: .65rem;
}

.store-channel-grid {
  width: min(1360px, calc(100% - 84px));
  margin: 22px auto 48px;
}

.storefront-v3 .store-entry-card {
  border-color: #d9e2ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(12, 31, 60, .03);
}

.storefront-v3 .store-entry-card:hover {
  border-color: #aac4e9;
  box-shadow: var(--tog-shadow-hover);
}

.storefront-v3 .store-entry-card .entry-icon {
  display: grid;
  place-items: center;
  color: #1768ff;
  background: #edf4ff;
  font-size: 1.55rem;
}

.storefront-v3 .store-category-card,
.storefront-v3 .store-service-card,
.storefront-v3 .store-product-card,
.storefront-v3 .service-family-card,
.storefront-v3 .store-content-card,
.storefront-v3 .store-filter-panel,
.storefront-v3 .public-product-gallery,
.storefront-v3 .public-product-summary,
.storefront-v3 .service-order-box,
.storefront-v3 .checkout-main,
.storefront-v3 .checkout-summary {
  border-color: #dae3ef;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(12, 31, 60, .035);
}

.storefront-v3 .store-category-card:hover,
.storefront-v3 .store-service-card:hover,
.storefront-v3 .store-product-card:hover,
.storefront-v3 .service-family-card:hover {
  border-color: #aac4e9;
  box-shadow: var(--tog-shadow-hover);
}

.storefront-v3 .category-symbol,
.storefront-v3 .service-family-icon {
  display: grid;
  place-items: center;
  color: #1768ff;
  background: #edf4ff;
  font-size: 1.25rem;
}

.storefront-v3 .store-product-media {
  background: #edf2f7;
}

.storefront-v3 .store-product-media img,
.storefront-v3 .gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.storefront-v3 .store-product-fallback {
  filter: saturate(.75);
}

.storefront-v3 .store-page-hero,
.storefront-v3 .store-detail-hero {
  color: #fff;
  background-color: rgba(3, 18, 38, .72);
  background-image: url("../images/tog-datacenter-hero-v2.webp");
  background-position: center;
  background-size: cover;
  background-blend-mode: multiply;
}

.storefront-v3 .store-page-hero h1,
.storefront-v3 .store-detail-hero h1 {
  letter-spacing: -.045em;
}

.storefront-v3 .store-page-hero-card {
  border-color: rgba(167, 193, 229, .24);
  background: rgba(3, 24, 51, .76);
  backdrop-filter: blur(9px);
}

.storefront-v3 .store-catalog-shell,
.storefront-v3 .store-product-detail,
.storefront-v3 .store-detail-layout,
.storefront-v3 .checkout-shell {
  width: min(1360px, calc(100% - 84px));
}

.storefront-v3 .store-filter-panel {
  position: sticky;
  top: 100px;
}

.storefront-v3 :is(.store-filter-panel, .store-content-card, .public-product-summary, .checkout-main, .checkout-summary) :is(input, select, textarea) {
  border-color: #cfd9e6;
  border-radius: 9px;
}

.storefront-v3 .store-process-section {
  width: min(1360px, calc(100% - 84px));
  border-radius: 20px;
  background: #071426;
}

.storefront-v3 .store-footer-v2 {
  background: #040d19;
  border-color: rgba(143, 163, 191, .14);
}

.storefront-v3 .store-footer-grid,
.storefront-v3 .store-footer-bottom {
  width: min(1360px, calc(100% - 84px));
}

.storefront-v3 .store-footer-grid h4,
.storefront-v3 .store-footer-brand b {
  color: #fff;
}

.storefront-v3 .store-footer-grid a,
.storefront-v3 .store-footer-grid p,
.storefront-v3 .store-footer-bottom {
  color: #8594aa;
}

/* Auth, errors, status and installer inherit the unified typography */
.control-center-auth-v2,
.control-center-error-v2,
.control-center-status-v2,
.control-center-install-v2 {
  font-family: "Inter Variable", Inter, ui-sans-serif, system-ui, sans-serif;
}

/* Dark workspace compatibility */
html[data-theme="dark"] .control-center-v2.unified-v201 {
  --tog-text: #edf3fd;
  --tog-muted: #91a2bb;
  --tog-surface: #0e1a2b;
  --tog-canvas: #081321;
  --tog-line: #25364d;
  --tog-line-strong: #344760;
}

html[data-theme="dark"] .control-center-v2.unified-v201 :is(.client-overview-metrics > a, .dealer-overview-metrics article, .dealer-action-strip, .dealer-credit-summary, .client-dashboard-grid .panel) {
  color: #edf3fd;
  border-color: #263950;
  background: #0e1a2b;
}

html[data-theme="dark"] .control-center-v2.unified-v201 :is(.client-overview-metrics b, .client-overview-metrics strong, .dealer-action-strip b, .panel-head h2, .panel-head h3) {
  color: #edf3fd;
}

html[data-theme="dark"] .control-center-v2.unified-v201 .dealer-action-strip > a {
  border-color: #263950;
}

/* Responsive */
@media (max-width: 1420px) {
  .client-overview-metrics,
  .dealer-overview-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .storefront-v3 .store-search-mini {
    width: 190px;
  }

  .storefront-v3 .store-nav-link {
    padding-inline: 9px;
  }
}

@media (max-width: 1180px) {
  .client-dashboard-grid,
  .dealer-dashboard-content {
    grid-template-columns: 1fr;
  }

  .dealer-credit-summary {
    min-height: 300px;
  }

  .dealer-action-strip,
  .primary-service-grid {
    grid-template-columns: 1fr;
  }

  .dealer-action-strip > a {
    border-right: 0;
    border-bottom: 1px solid #e4eaf2;
  }

  .dealer-action-strip > a:last-child {
    border-bottom: 0;
  }

  .store-hero-v3-inner {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 36px;
  }

  .store-infrastructure-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-infrastructure-strip > div:nth-child(2) {
    border-right: 0;
  }

  .store-infrastructure-strip > div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(158, 179, 210, .18);
  }

  .storefront-v3 .store-login-link {
    display: none;
  }
}

@media (max-width: 980px) {
  .client-dashboard-hero,
  .dealer-dashboard-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .client-security-summary {
    justify-content: flex-start;
    flex-basis: auto;
  }

  .dealer-hero-actions {
    width: 100%;
  }

  .dealer-hero-actions > * {
    flex: 1;
  }

  .store-hero-v3-inner {
    grid-template-columns: 1fr;
    padding-top: 74px;
  }

  .store-hero-v3-services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-service-card {
    grid-template-columns: 1fr;
  }

  .hero-service-card mark {
    position: static;
    justify-self: start;
    margin-top: 8px;
  }
}

@media (max-width: 760px) {
  .portal-client .content,
  .portal-dealer .content {
    padding-top: 10px;
  }

  .client-dashboard-hero,
  .dealer-dashboard-hero {
    min-height: 0;
    padding: 23px 20px;
    border-radius: 14px;
  }

  .client-dashboard-welcome h1,
  .dealer-dashboard-hero h1 {
    font-size: 2rem;
  }

  .client-dashboard-welcome p br,
  .dealer-dashboard-hero p br {
    display: none;
  }

  .client-security-summary {
    width: 100%;
    padding-top: 18px;
    border-top: 1px solid rgba(150, 177, 216, .18);
  }

  .client-security-summary .security-orbit {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .client-security-summary .security-orbit i {
    font-size: 1.75rem;
  }

  .client-overview-metrics,
  .dealer-overview-metrics {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .client-overview-metrics > a,
  .dealer-overview-metrics article {
    min-height: 104px;
  }

  .control-center-v2.unified-v201 .client-unpaid-alert {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .client-unpaid-alert .button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .client-compact-state {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .client-compact-state > :last-child {
    grid-column: 1 / -1;
    width: 100%;
  }

  .dealer-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .dealer-credit-card,
  .dealer-hero-actions > .button {
    min-width: 0;
    width: 100%;
  }

  .dealer-action-strip > a {
    grid-template-columns: 48px minmax(0, 1fr) 20px;
    min-height: 96px;
    padding: 14px;
  }

  .dealer-action-strip > a > span {
    width: 48px;
    height: 48px;
  }

  .storefront-v3 .store-announcement > div {
    display: flex;
    width: 100%;
    min-height: 35px;
    padding: 7px 12px;
  }

  .storefront-v3 .store-announcement-time,
  .storefront-v3 .store-contact-links {
    display: none;
  }

  .storefront-v3 .store-header-inner {
    width: 100%;
    height: 66px;
    padding: 0 12px;
  }

  .storefront-v3 .store-login-link {
    display: none;
  }

  .storefront-v3 .store-account-button {
    min-width: 42px;
    width: 42px;
    padding: 0;
    font-size: 0;
  }

  .storefront-v3 .store-account-button .ti {
    font-size: 1rem;
  }

  .storefront-v3 .store-account-button .ti-arrow-right {
    display: none;
  }

  .storefront-v3 .store-main-nav {
    top: 66px;
    color: var(--tog-text);
    background: #fff;
  }

  .storefront-v3 .store-nav-link {
    min-height: 46px;
    color: #25334a;
  }

  .storefront-v3 .store-nav-link.active {
    color: #1768ff;
  }

  .store-hero-v3-inner,
  .store-infrastructure-strip,
  .storefront-v3 .store-section-v2,
  .store-channel-grid,
  .storefront-v3 .store-catalog-shell,
  .storefront-v3 .store-product-detail,
  .storefront-v3 .store-detail-layout,
  .storefront-v3 .checkout-shell,
  .storefront-v3 .store-process-section,
  .storefront-v3 .store-footer-grid,
  .storefront-v3 .store-footer-bottom {
    width: calc(100% - 28px);
  }

  .store-hero-v3-inner {
    gap: 28px;
    min-height: 0;
    padding: 58px 0 32px;
  }

  .store-hero-v3-copy h1 {
    font-size: clamp(2.7rem, 14vw, 4rem);
  }

  .store-hero-v3 .store-hero-actions,
  .store-hero-v3-services,
  .store-infrastructure-strip,
  .primary-service-grid {
    grid-template-columns: 1fr;
  }

  .store-hero-v3 .store-hero-actions {
    display: grid;
  }

  .store-infrastructure-strip > div {
    border-right: 0;
    border-bottom: 1px solid rgba(158, 179, 210, .18);
  }

  .store-infrastructure-strip > div:last-child {
    border-bottom: 0;
  }

  .storefront-v3 .store-section-v2,
  .storefront-v3 .store-section-v2.soft,
  .storefront-v3 .store-section-v2.dark-section {
    padding: 38px 14px !important;
  }

  .storefront-v3 .store-section-v2:not(.soft):not(.dark-section) {
    padding-inline: 0 !important;
  }

  .store-channel-grid {
    margin-top: 10px;
  }

  .primary-service-grid > a {
    grid-template-columns: 54px minmax(0, 1fr);
    min-height: 0;
    padding: 20px;
  }

  .primary-service-grid > a > span {
    width: 54px;
    height: 54px;
  }

  .storefront-v3 .store-filter-panel {
    position: static;
  }

  .control-center-v2.unified-v201 .panel-footer-link {
    margin-inline: -14px;
    margin-bottom: -14px;
  }
}

@media (max-width: 430px) {
  .client-dashboard-hero,
  .dealer-dashboard-hero {
    padding: 20px 16px;
  }

  .client-security-summary {
    align-items: flex-start;
  }

  .client-overview-metrics > a,
  .dealer-overview-metrics article {
    grid-template-columns: 46px minmax(0, 1fr) 16px;
    padding: 14px;
  }

  .dealer-overview-metrics article {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .client-overview-metrics .metric-icon,
  .dealer-overview-metrics .metric-icon {
    width: 46px;
    height: 46px;
  }

  .client-overview-metrics strong {
    font-size: 1.25rem;
  }

  .dealer-action-strip > a {
    grid-template-columns: 42px minmax(0, 1fr) 18px;
  }

  .dealer-action-strip > a > span {
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }

  .storefront-v3 .store-brand-v2 b {
    font-size: .95rem;
  }

  .store-hero-v3-copy h1 {
    font-size: 2.65rem;
  }

  .store-hero-v3-copy > p {
    font-size: .86rem;
  }

  .primary-service-grid > a {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .unified-v201 *,
  .unified-v201 *::before,
  .unified-v201 *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
