/*
 * HostGrowth Design System: 06 Runtime overrides
 * Purpose: make legacy WHMCS screens consume HostGrowth tokens consistently.
 */

* {
  letter-spacing: var(--hg-letter-spacing);
}

.btn.w-hidden {
  display: none !important;
}

.hg-app-shell .btn,
.hg-app-shell .form-control,
.hg-app-shell .form-select,
.hg-app-shell select,
.hg-app-shell textarea,
.page-order .btn,
.page-order .form-control,
.page-order .form-select,
.page-order select,
.page-order textarea {
  font-family: var(--hg-font-family-sans);
}

.hg-app-shell .btn-primary,
.page-order .btn-primary {
  background: var(--hg-color-action-primary-bg);
  border-color: var(--hg-color-action-primary-bg);
  color: var(--hg-color-action-primary-text);
}

.hg-app-shell .btn-primary:hover,
.page-order .btn-primary:hover {
  background: var(--hg-color-action-primary-bg-hover);
  border-color: var(--hg-color-action-primary-bg-hover);
}

.hg-app-shell .btn-outline,
.hg-app-shell .btn-default,
.hg-app-shell .btn-secondary,
.page-order .btn-outline,
.page-order .btn-default,
.page-order .btn-secondary {
  background: var(--hg-color-action-secondary-bg);
  border-color: var(--hg-color-action-secondary-border);
  color: var(--hg-color-action-secondary-text);
}

.hg-app-shell .card,
.hg-app-shell .panel,
.hg-app-shell .table-container,
.page-order .card,
.page-order .panel,
.page-order .order-summary,
.page-order .panel-check,
.page-order .domain-checker-result-headline {
  border: 1px solid var(--hg-color-border-default);
  border-radius: var(--hg-radius-card);
  background: var(--hg-color-surface-primary);
  box-shadow: none;
}

.hg-app-shell .table-responsive,
.page-order .table-responsive {
  border-radius: var(--hg-radius-card);
}

.hg-app-shell input[type="checkbox"],
.hg-app-shell input[type="radio"],
.page-order input[type="checkbox"],
.page-order input[type="radio"] {
  accent-color: var(--hg-color-action-primary-bg);
}

.hg-app-shell .alert,
.page-order .alert {
  border-radius: var(--hg-radius-card);
}

.hg-app-shell .text-primary,
.page-order .text-primary {
  color: var(--hg-color-text-primary) !important;
}

.hg-app-shell .text-muted,
.page-order .text-muted {
  color: var(--hg-color-text-secondary) !important;
}

.hg-app-shell .bg-primary,
.page-order .bg-primary {
  background-color: var(--hg-color-action-primary-bg) !important;
}

.hg-app-shell .border,
.page-order .border {
  border-color: var(--hg-color-border-default) !important;
}

.hg-app-shell .rounded,
.page-order .rounded {
  border-radius: var(--hg-radius-card) !important;
}

.hg-app-shell .shadow,
.page-order .shadow,
.hg-app-shell .shadow-sm,
.page-order .shadow-sm {
  box-shadow: none !important;
}

.hg-saas-dashboard .hg-dashboard-hero-card {
  background: var(--hg-color-surface-primary);
}

.hg-saas-dashboard .hg-dashboard-metric-icon,
.hg-saas-dashboard .hg-dashboard-panel-icon,
.hg-app-shell .hg-icon-surface {
  border-radius: var(--hg-radius-3);
  background: var(--hg-color-surface-selected);
  color: var(--hg-color-icon-brand);
}

.hg-saas-dashboard .hg-dashboard-panel-title,
.hg-app-shell .hg-section-title {
  margin: 0;
  color: var(--hg-color-text-primary);
  font-size: var(--hg-font-size-18);
  line-height: var(--hg-line-height-28);
  font-weight: var(--hg-font-weight-semibold);
}

.hg-saas-dashboard .hg-dashboard-panel-subtitle,
.hg-app-shell .hg-section-description {
  margin: var(--hg-space-1) 0 0;
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-14);
  line-height: var(--hg-line-height-20);
}

.hg-domain-card,
.hg-site-card,
.hg-dashboard-panel,
.hg-dashboard-metric-card,
.hg-dashboard-hero-card,
.hg-dashboard-hero,
.hg-order-panel:not(.hg-domain-panel),
.hg-domain-path-card {
  border-color: var(--hg-color-border-default) !important;
  border-radius: var(--hg-radius-card) !important;
}

.hg-dashboard-hero,
.hg-dashboard-hero-card {
  border-radius: var(--hg-radius-card-hero) !important;
}

.hg-upgrade-card,
.hg-app-sidebar .hg-upgrade-card {
  border: 1px solid var(--hg-color-gray-850);
  border-radius: var(--hg-radius-card);
  background: var(--hg-color-gray-950);
  color: var(--hg-color-text-inverse);
  box-shadow: none;
}

.hg-upgrade-card .btn,
.hg-upgrade-card a {
  background: var(--hg-color-surface-primary);
  color: var(--hg-color-text-primary);
}

.hg-dashboard-activity-item,
.hg-dashboard-billing-row,
.hg-dashboard-resource-item,
.hg-site-card-row,
.hg-domain-row {
  border-color: var(--hg-color-border-subtle);
}

.hg-dashboard-browser-mock,
.hg-dashboard-mini-card,
.hg-dashboard-chart-card {
  border: 1px solid var(--hg-color-border-default);
  border-radius: var(--hg-radius-card);
  background: var(--hg-color-surface-primary);
  box-shadow: none;
}

#order-standard_cart,
#order-standard_cart.hg-order-domain-flow {
  font-family: var(--hg-font-family-sans);
  color: var(--hg-color-text-primary);
}

#order-standard_cart h1,
#order-standard_cart h2,
#order-standard_cart h3,
#order-standard_cart h4,
#order-standard_cart .main-heading {
  color: var(--hg-color-text-primary);
  font-family: var(--hg-font-family-sans);
  letter-spacing: var(--hg-letter-spacing);
}

#order-standard_cart .domain-search-container,
#order-standard_cart .domain-checker-container,
#order-standard_cart.hg-order-domain-flow .hg-domain-search-box {
  border-radius: var(--hg-radius-card);
}

#order-standard_cart .domain-checker-bg {
  border-radius: var(--hg-radius-card);
}

#order-standard_cart .domain-checker-result-headline,
#order-standard_cart .domain-suggestions,
#order-standard_cart .suggested-domains {
  box-shadow: none;
}

.hg-order-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 80px;
  align-items: center;
  padding: 0 max(24px, calc((100vw - 1216px) / 2));
  border-bottom: 1px solid var(--hg-color-border-default);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
}

.hg-order-header a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hg-color-text-primary);
  font-weight: 900;
  font-size: 18px;
  text-decoration: none;
}

.hg-order-header a span {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--hg-color-action-primary-bg);
  color: var(--hg-color-action-primary-text);
  font-size: 13px;
}

.hg-order-shell {
  display: flex;
  align-items: flex-start;
  min-height: calc(100vh - 80px);
  background: var(--hg-color-surface-secondary);
}

.hg-order-main {
  display: flex;
  width: 100%;
  flex: 1 0 0;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 24px 24px 80px;
}

.hg-order-topbar {
  display: flex;
  width: min(1200px, 100%);
  align-items: center;
  justify-content: space-between;
}

.hg-order-back,
.hg-order-back:hover,
.hg-order-back:focus {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hg-color-action-secondary-text, #404040);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.hg-order-close,
.hg-order-close:hover,
.hg-order-close:focus {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  color: var(--hg-color-text-tertiary);
  font-size: 18px;
  text-decoration: none;
}

.hg-checkout-titlebar {
  display: flex;
  width: min(1000px, 100%);
  flex-direction: column;
  gap: 8px;
  margin: 24px auto 0;
}

.hg-checkout-titlebar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hg-checkout-titlebar-row h1 {
  margin: 0;
  color: var(--hg-color-text-primary);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.hg-checkout-titlebar-row span {
  color: var(--hg-color-text-secondary);
  font-size: 14px;
}

.hg-checkout-progress-bar {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 8px;
}

.hg-checkout-progress-seg {
  flex: 1 0 0;
  height: 8px;
  border-radius: var(--hg-radius-pill);
  background: var(--hg-color-border-default);
  overflow: hidden;
}

.hg-checkout-progress-seg.is-complete {
  background: var(--hg-color-action-primary-bg);
}

.hg-checkout-progress-seg.is-active {
  position: relative;
  background: var(--hg-color-border-default);
}

.hg-checkout-progress-seg.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 50%;
  background: rgba(23, 23, 23, 0.5);
}

.hg-checkout-progress-labels {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 8px;
}

.hg-checkout-progress-labels span {
  flex: 1 0 0;
  color: var(--hg-color-text-tertiary);
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

.hg-checkout-progress-labels span:first-child {
  text-align: left;
}

.hg-checkout-progress-labels span:last-child {
  text-align: right;
}

.hg-checkout-progress-labels span.is-done {
  color: var(--hg-color-text-primary);
}

.hg-order-grid {
  display: grid;
  width: min(1216px, 100%);
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 32px;
}

.hg-order-panel.hg-domain-panel {
  padding: 41px;
  border-radius: 24px;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.06);
}

.hg-order-panel-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 25px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--hg-color-border-default);
}

.hg-order-panel-head.hg-order-panel-head-actions {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.hg-order-panel-head-actions > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hg-domain-extra-field-checkbox label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-weight: 600;
  cursor: pointer;
}

.hg-domain-extra-field-checkbox input[type="checkbox"] {
  flex: 0 0 auto;
  margin: 0;
}

.hg-order-panel-head h2 {
  margin: 0;
  color: var(--hg-color-text-primary);
  font-family: var(--hg-font-family-sans);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.hg-order-panel-head p {
  margin: 0;
  color: var(--hg-color-text-secondary);
  font-size: 16px;
  line-height: 24px;
}

.hg-domain-choice-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hg-domain-choice-card {
  position: relative;
  padding: 34px;
  border: 2px solid var(--hg-color-border-default);
  border-radius: 16px;
  background: var(--hg-color-surface-primary);
  overflow: hidden;
  transition: border-color 120ms ease;
}

.hg-domain-choice-card::before {
  content: "";
  position: absolute;
  top: -96px;
  right: -96px;
  width: 256px;
  height: 256px;
  border-radius: 9999px;
  background: #f5f5f5;
  filter: blur(32px);
  opacity: 0.5;
  pointer-events: none;
}

.hg-domain-choice-card > * {
  position: relative;
}

.hg-domain-choice-card.option-selected,
.hg-domain-choice-card:has(input:checked) {
  border-color: var(--hg-color-action-primary-bg);
  background: var(--hg-color-surface-primary);
  box-shadow: none;
}

.hg-domain-choice-card:not(:has(input:checked)) .hg-domain-choice-body {
  display: none;
}

.hg-domain-choice-card label {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: 100%;
  margin: 0;
  cursor: pointer;
}

.hg-domain-choice-card input[type="radio"] {
  position: absolute !important;
  width: 24px;
  height: 24px;
  margin: 0;
  opacity: 0 !important;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.hg-domain-choice-radio {
  position: absolute;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 4px solid var(--hg-color-border-default);
  border-radius: var(--hg-radius-pill);
  background: var(--hg-color-surface-primary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.hg-domain-choice-card input[type="radio"]:checked + .hg-domain-choice-radio {
  border: 6px solid var(--hg-color-action-primary-bg);
}

.hg-domain-choice-card .hg-domain-choice-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 16px;
}

.hg-domain-choice-card strong {
  color: var(--hg-color-text-primary);
  font-family: var(--hg-font-family-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.hg-domain-choice-card small {
  max-width: 535px;
  color: var(--hg-color-text-secondary);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.hg-domain-choice-body {
  width: 100%;
  margin-top: 32px;
}

.hg-domain-choice-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.hg-domain-choice-label {
  margin: 0;
  color: var(--hg-color-text-primary);
  font-size: 14px;
  font-weight: 500;
}

.hg-domain-choice-note {
  margin: 8px 0 0;
  color: var(--hg-color-text-tertiary);
  font-size: 12px;
  line-height: 16px;
}

.hg-order-domain-pair {
  display: flex;
  gap: 8px;
}

.hg-order-domain-pair .form-control,
.hg-order-inline-form .form-control {
  height: 52px;
  min-height: 0;
  padding: 0 16px;
  border-color: var(--hg-color-border-default);
  border-radius: 12px;
  background: var(--hg-color-surface-secondary);
  box-shadow: none;
  font-size: 16px;
}

.hg-order-domain-pair .input-group-text {
  height: 52px;
  padding: 0 16px;
  border-color: var(--hg-color-border-default);
  background: var(--hg-color-surface-secondary);
}

.hg-order-domain-pair .btn-primary,
.hg-order-inline-form .btn-primary {
  height: 52px;
  min-height: 0;
  padding: 0 22px;
  border-radius: 12px;
  background-color: var(--hg-color-action-primary-bg);
  border-color: var(--hg-color-action-primary-bg);
  font-size: 14px;
  font-weight: 500;
}

.hg-domain-choice-body #DomainSearchResults.hg-order-panel {
  padding: 0;
  margin-top: 24px;
  border: 0;
  border-top: 1px solid var(--hg-color-border-default);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hg-domain-choice-body #DomainSearchResults.hg-order-panel:not(.w-hidden) {
  padding-top: 24px;
}

#spotlightTlds {
  display: none !important;
}

#primaryLookupResult {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

#primaryLookupResult p {
  margin: 0;
  color: var(--hg-color-text-primary);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

#primaryLookupResult .domain-available {
  color: var(--hg-color-text-success);
}

#primaryLookupResult .domain-unavailable,
#primaryLookupResult .domain-tld-unavailable,
#primaryLookupResult .domain-invalid,
#primaryLookupResult .domain-error {
  color: var(--hg-color-text-danger);
}

#primaryLookupResult .domain-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0;
}

#primaryLookupResult .domain-price .price {
  color: var(--hg-color-text-primary);
  font-size: 14px;
  font-weight: 700;
}

#primaryLookupResult .domain-price .btn-add-to-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--hg-color-action-primary-bg);
  border-color: var(--hg-color-action-primary-bg);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.06);
  color: var(--hg-color-action-primary-text);
  font-size: 14px;
  font-weight: 500;
}

#primaryLookupResult .domain-price .btn-add-to-cart .to-add::before {
  content: "+";
  margin-right: 4px;
}

#primaryLookupResult .domain-contact-support {
  min-height: 0;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
}

.suggested-domains {
  width: 100%;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--hg-color-border-default);
}

.suggested-domains .panel-heading {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hg-color-text-primary);
  font-size: 12px;
  line-height: 16px;
}

#domainSuggestions {
  display: flex;
  flex-direction: column;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.domain-suggestion {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.domain-suggestion:hover {
  background: var(--hg-color-surface-secondary);
}

.domain-suggestion .domain,
.domain-suggestion .extension {
  color: var(--hg-color-text-primary);
  font-size: 14px;
}

.domain-suggestion .actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.domain-suggestion .price {
  color: var(--hg-color-text-secondary);
  font-size: 12px;
  font-weight: 500;
}

.domain-suggestion .promo {
  padding: 2px 8px;
  border-radius: var(--hg-radius-pill);
  font-size: 11px;
  font-weight: 500;
}

.domain-suggestion .promo,
.domain-suggestion .promo.hot,
.domain-suggestion .promo.new,
.domain-suggestion .promo.sale {
  background: var(--hg-color-status-success-bg) !important;
  color: var(--hg-color-status-success-text) !important;
  text-transform: none !important;
}

.domain-suggestion .btn-add-to-cart {
  min-height: 0;
  padding: 9px 17px;
  border: 1px solid var(--hg-color-action-secondary-border) !important;
  border-radius: 12px !important;
  background: var(--hg-color-action-secondary-bg) !important;
  box-shadow: none;
  color: var(--hg-color-action-secondary-text) !important;
  font-size: 12px;
  font-weight: 500;
}

.domain-suggestion .btn-add-to-cart.hg-toggle-added {
  border-color: var(--hg-color-border-danger) !important;
  color: var(--hg-color-text-danger) !important;
}

.suggested-domains .more-suggestions {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

.suggested-domains .more-suggestions a {
  color: var(--hg-color-action-primary-bg);
  font-size: 14px;
  font-weight: 500;
}

.domain-suggestions-warning {
  margin-top: 16px;
}

.domain-suggestions-warning p {
  color: var(--hg-color-text-tertiary);
  font-size: 12px;
}

.hg-domain-choice-hint {
  display: flex;
  gap: 16px;
  padding: 25px;
  margin-top: 16px;
  border: 1px solid var(--hg-color-border-default);
  border-radius: 16px;
  background: var(--hg-color-surface-secondary);
}

.hg-domain-choice-hint i {
  margin-top: 4px;
  color: var(--hg-color-text-tertiary);
}

.hg-domain-choice-hint strong {
  display: block;
  margin-bottom: 4px;
  color: var(--hg-color-text-primary);
  font-size: 15px;
  font-weight: 500;
}

.hg-domain-choice-hint ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hg-domain-choice-hint li {
  color: var(--hg-color-text-secondary);
  font-size: 12px;
  line-height: 16px;
}

.hg-domain-choice-hint-flat {
  align-items: center;
}

.hg-domain-choice-hint-flat p {
  margin: 0;
  color: var(--hg-color-text-primary);
  font-size: 14px;
  line-height: 20px;
}

.hg-domain-populares {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 25px;
  margin-top: 16px;
  border: 1px solid var(--hg-color-border-default);
  border-radius: 16px;
  background: var(--hg-color-surface-secondary);
}

.hg-domain-populares-label {
  color: var(--hg-color-text-primary);
  font-size: 14px;
  line-height: 20px;
}

.hg-domain-populares-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.hg-domain-populares-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 9px;
  border: 1px solid var(--hg-color-border-default);
  border-radius: 8px;
  background: var(--hg-color-surface-primary);
  text-align: center;
}

.hg-domain-populares-item strong {
  color: var(--hg-color-text-primary);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.hg-domain-populares-item small {
  color: var(--hg-color-text-secondary);
  font-size: 12px;
  line-height: 16px;
}

#order-standard_cart .iradio_square-blue {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  border: 1px solid var(--hg-color-border-strong);
  border-radius: var(--hg-radius-pill);
  background: var(--hg-color-surface-primary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

#order-standard_cart .iradio_square-blue.checked {
  border: 6px solid var(--hg-color-action-primary-bg);
  z-index: 1;
}

#order-standard_cart .iradio_square-blue ins.iCheck-helper {
  display: none;
}

.hg-order-summary-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 33px;
  border: 1px solid var(--hg-color-border-default);
  border-radius: 24px;
  background: var(--hg-color-surface-primary);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.06);
  position: sticky !important;
  top: 104px !important;
}

.hg-order-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--hg-color-border-default);
}

.hg-order-summary-head h3 {
  margin: 0;
  color: var(--hg-color-text-primary);
  font-family: var(--hg-font-family-sans);
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.hg-order-summary-panel .product-name,
.hg-order-summary-panel .product-group {
  display: block;
  color: var(--hg-color-text-primary);
  font-size: 18px;
  line-height: 28px;
}

.hg-order-summary-panel .product-group {
  color: var(--hg-color-text-secondary);
  font-size: 14px;
}

.hg-order-summary-panel .summary-totals .clearfix,
.hg-order-summary-panel > div > .clearfix {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  color: var(--hg-color-text-secondary);
  font-size: 14px;
}

.hg-order-summary-panel .summary-totals .clearfix .pull-right,
.hg-order-summary-panel > div > .clearfix .pull-right {
  color: var(--hg-color-text-primary);
  font-weight: 500;
}

.hg-order-summary-panel .total-due-today {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 2px solid var(--hg-color-action-primary-bg);
}

.hg-order-summary-panel .total-due-today .amt {
  color: var(--hg-color-text-primary);
  font-size: 30px;
  font-weight: 700;
  line-height: 38px;
}

.hg-order-summary-panel .total-due-today span:last-child {
  color: var(--hg-color-text-primary);
  font-size: 20px;
  font-weight: 600;
}

.hg-order-summary-badge {
  padding: 5px 13px;
  border: 1px solid var(--hg-color-border-default);
  border-radius: var(--hg-radius-pill);
  background: var(--hg-color-surface-secondary);
  color: var(--hg-color-text-primary);
  font-size: 12px;
}

.hg-order-summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--hg-color-text-secondary);
  font-size: 14px;
}

.hg-order-summary-line strong {
  color: var(--hg-color-text-primary);
  font-weight: 500;
}

.hg-order-summary-product {
  align-items: flex-start;
  margin-top: 12px;
}

#hgDomainSummarySelected:not(.w-hidden),
#hgDomainSummaryDomainLines {
  display: contents;
}

.hg-order-summary-product:last-of-type {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hg-color-border-default);
}

.hg-order-summary-product strong {
  display: block;
  color: var(--hg-color-text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.hg-order-summary-product small {
  display: block;
  color: var(--hg-color-text-secondary);
  font-size: 11px;
}

.hg-order-summary-product > span {
  color: var(--hg-color-text-primary);
  font-size: 12px;
  font-weight: 600;
    padding-top: 2px;
}

.hg-order-summary-totals {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.hg-order-summary-total {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 24px;
  margin-bottom: 24px;
  padding-top: 24px;
  border-top: 2px solid var(--hg-color-action-primary-bg);
}

.hg-order-summary-total .hg-order-summary-line {
  align-items: center;
  flex-wrap: nowrap;
  color: var(--hg-color-text-primary);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.hg-order-summary-total .hg-order-summary-line strong {
  font-size: 22px;
  font-weight: 700;
  white-space: nowrap;
}

.hg-order-summary-total p {
  margin: 0;
  color: var(--hg-color-text-tertiary);
  font-size: 13px;
  line-height: 1.5;
}

.hg-order-summary-submit,
.hg-order-summary-submit:hover,
.hg-order-summary-submit:focus {
  width: 100%;
  min-height: 0;
  padding: 16px 24px;
  border-radius: 16px;
  background-color: var(--hg-color-action-primary-bg);
  border-color: var(--hg-color-action-primary-bg);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  font-size: 14px;
  font-weight: 500;
}

.hg-order-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 65px 80px 64px;
  border-top: 1px solid rgba(229, 229, 229, 0.5);
}

.hg-order-footer span,
.hg-order-footer a {
  color: var(--hg-color-text-tertiary);
  font-size: 14px;
}

.hg-order-footer a {
  text-decoration: none;
}

@media (max-width: 960px) {
  .hg-order-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hg-order-header {
    padding: 0 24px;
  }
}

@media (max-width: 640px) {
  .hg-order-panel.hg-domain-panel,
  .hg-order-summary-panel {
    padding: 24px;
  }

  .hg-domain-choice-card {
    padding: 20px;
  }

  .hg-order-domain-pair {
    flex-direction: column;
  }
}

/* Invoice detail and legacy product listing polish. */
.hg-invoice-page {
  min-height: 100vh;
  margin: 0;
  background: var(--hg-color-background-page);
  color: var(--hg-color-text-primary);
  font-family: var(--hg-font-family-sans);
}

.hg-invoice-page .invoice-container {
  width: min(100% - 40px, 980px);
  margin: var(--hg-space-10) auto var(--hg-space-6);
  padding: var(--hg-space-8);
  border: 1px solid var(--hg-color-border-default);
  border-radius: var(--hg-radius-card-hero);
  background: var(--hg-color-surface-primary);
  box-shadow: var(--hg-shadow-dropdown);
}

.hg-invoice-page .invoice-header {
  align-items: center;
  gap: var(--hg-space-6);
  padding-bottom: var(--hg-space-6);
  border-bottom: 1px solid var(--hg-color-border-subtle);
}

.hg-invoice-page .invoice-header img {
  max-height: 36px;
  width: auto;
}

.hg-invoice-page .invoice-header h2,
.hg-invoice-page .invoice-header h3 {
  margin: 0;
  color: var(--hg-color-text-primary);
  font-family: var(--hg-font-family-sans);
  letter-spacing: 0;
}

.hg-invoice-page .invoice-header h3 {
  margin-top: var(--hg-space-4);
  font-size: var(--hg-font-size-30);
  line-height: var(--hg-line-height-38);
  font-weight: var(--hg-font-weight-bold);
}

.hg-invoice-page .invoice-status span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 var(--hg-space-4);
  border-radius: var(--hg-radius-pill);
  font-size: var(--hg-font-size-13);
  font-weight: var(--hg-font-weight-bold);
  text-transform: none;
}

.hg-invoice-page .invoice-status .unpaid,
.hg-invoice-page .invoice-status .collections {
  background: var(--hg-color-status-danger-bg);
  color: var(--hg-color-status-danger-text);
}

.hg-invoice-page .invoice-status .paid {
  background: var(--hg-color-status-success-bg);
  color: var(--hg-color-status-success-text);
}

.hg-invoice-page .invoice-status .draft,
.hg-invoice-page .invoice-status .cancelled,
.hg-invoice-page .invoice-status .refunded {
  background: var(--hg-color-status-neutral-bg);
  color: var(--hg-color-status-neutral-text);
}

.hg-invoice-page .payment-btn-container {
  margin-top: var(--hg-space-3);
}

.hg-invoice-page .payment-btn-container .btn,
.hg-invoice-page .payment-btn-container input[type="submit"],
.hg-invoice-page .payment-btn-container button,
.hg-invoice-page .btn {
  min-height: 40px;
  padding: 0 var(--hg-space-4);
  border: 1px solid var(--hg-color-action-primary-bg);
  border-radius: var(--hg-radius-button);
  background: var(--hg-color-action-primary-bg);
  color: var(--hg-color-action-primary-text);
  font-family: var(--hg-font-family-sans);
  font-size: var(--hg-font-size-14);
  font-weight: var(--hg-font-weight-semibold);
}

.hg-invoice-page .btn-default,
.hg-invoice-page .btn-secondary {
  border-color: var(--hg-color-action-secondary-border);
  background: var(--hg-color-action-secondary-bg);
  color: var(--hg-color-action-secondary-text);
}

.hg-invoice-page .alert,
.hg-invoice-page .panel {
  overflow: hidden;
  border: 1px solid var(--hg-color-border-default);
  border-radius: var(--hg-radius-card);
  background: var(--hg-color-surface-primary);
  box-shadow: none;
}

.hg-invoice-page .panel-heading,
.hg-invoice-page .card-header {
  border-bottom: 1px solid var(--hg-color-border-subtle);
  background: var(--hg-color-surface-secondary);
  color: var(--hg-color-text-primary);
}

.hg-invoice-page .panel-danger > .panel-heading,
.hg-invoice-page .alert-danger,
.hg-invoice-page .card-header.bg-danger {
  border-color: var(--hg-color-border-danger);
  background: var(--hg-color-status-danger-bg) !important;
  color: var(--hg-color-status-danger-text) !important;
}

.hg-invoice-page address,
.hg-invoice-page .small-text {
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-14);
  line-height: var(--hg-line-height-24);
}

.hg-invoice-page .custom-select,
.hg-invoice-page select,
.hg-invoice-page input.form-control {
  min-height: 40px;
  border-color: var(--hg-color-border-default);
  border-radius: var(--hg-radius-input);
  color: var(--hg-color-text-primary);
}

.hg-invoice-page .card {
  overflow: hidden;
  border: 1px solid var(--hg-color-border-default);
  border-radius: var(--hg-radius-card);
  background: var(--hg-color-surface-primary);
  box-shadow: none;
}

.hg-invoice-page .card-title {
  color: var(--hg-color-text-primary);
  font-size: var(--hg-font-size-20);
  line-height: var(--hg-line-height-28);
}

.hg-invoice-page .table-responsive {
  border: 1px solid var(--hg-color-border-default);
  border-radius: var(--hg-radius-card);
}

.hg-invoice-page .table {
  margin-bottom: 0;
  color: var(--hg-color-text-primary);
}

.hg-invoice-page .table thead td,
.hg-invoice-page .table thead th {
  border-bottom: 1px solid var(--hg-color-border-default);
  background: var(--hg-color-surface-secondary);
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-13);
}

.hg-invoice-page .table td,
.hg-invoice-page .table th {
  border-color: var(--hg-color-border-subtle);
  padding: var(--hg-space-3) var(--hg-space-4);
  vertical-align: middle;
}

.hg-invoice-page .total-row {
  background: var(--hg-color-surface-secondary);
}

.hg-invoice-page .transactions-container {
  margin-top: var(--hg-space-6);
}

.hg-invoice-page > p.text-center {
  margin-bottom: var(--hg-space-8);
}

#order-standard_cart:not(.hg-order-domain-flow) {
  width: min(100% - 40px, 1200px);
  margin: var(--hg-space-6) auto var(--hg-space-16);
}

#order-standard_cart .hg-payment-methods-hidden {
  display: none;
}

#order-standard_cart > .row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: var(--hg-space-6);
  align-items: start;
  margin: 0;
}

#order-standard_cart .cart-sidebar,
#order-standard_cart .cart-body {
  float: none;
  min-width: 0;
  padding: 0;
}

#order-standard_cart .cart-sidebar {
  display: block !important;
  width: 280px !important;
  max-width: 280px;
}

#order-standard_cart .cart-body {
  width: auto !important;
  max-width: none;
}

#order-standard_cart .sidebar .panel,
#order-standard_cart .sidebar .card,
#order-standard_cart .sidebar-collapsed {
  overflow: hidden;
  border: 1px solid var(--hg-color-border-default);
  border-radius: var(--hg-radius-card);
  background: var(--hg-color-surface-primary);
  box-shadow: none;
}

#order-standard_cart .sidebar .panel-heading,
#order-standard_cart .sidebar .card-header {
  border-bottom: 1px solid var(--hg-color-border-subtle);
  background: var(--hg-color-surface-secondary);
  color: var(--hg-color-text-primary);
  font-weight: var(--hg-font-weight-bold);
}

#order-standard_cart .sidebar .panel-title,
#order-standard_cart .sidebar .card-title,
#order-standard_cart .sidebar h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--hg-space-2);
  margin: 0;
  white-space: nowrap;
  color: var(--hg-color-text-primary);
  font-size: var(--hg-font-size-16);
  line-height: var(--hg-line-height-24);
}

#order-standard_cart .sidebar .list-group-item,
#order-standard_cart .sidebar a.list-group-item {
  display: flex;
  align-items: center;
  gap: var(--hg-space-2);
  border-color: var(--hg-color-border-subtle);
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-14);
  line-height: var(--hg-line-height-20);
  white-space: normal;
}

#order-standard_cart .sidebar .list-group-item.active,
#order-standard_cart .sidebar a.list-group-item.active {
  border-color: var(--hg-color-gray-900);
  background: var(--hg-color-gray-900);
  color: var(--hg-color-text-inverse);
}

#order-standard_cart .header-lined {
  margin: 0 0 var(--hg-space-6);
  padding: 0 0 var(--hg-space-5);
  border-bottom: 1px solid var(--hg-color-border-subtle);
}

#order-standard_cart .header-lined h1 {
  max-width: 900px;
  margin: 0;
  color: var(--hg-color-text-primary);
  font-size: var(--hg-font-size-36);
  line-height: var(--hg-line-height-44);
  font-weight: var(--hg-font-weight-bold);
}

#order-standard_cart .header-lined p {
  max-width: 760px;
  margin: var(--hg-space-2) 0 0;
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-16);
  line-height: var(--hg-line-height-24);
}

#order-standard_cart .products .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--hg-space-6);
  margin: 0;
}

#order-standard_cart .products .col-md-6 {
  width: auto;
  max-width: none;
  padding: 0;
}

#order-standard_cart .product {
  display: grid;
  grid-template-rows: auto minmax(140px, 1fr) auto;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--hg-color-border-default);
  border-radius: var(--hg-radius-card);
  background: var(--hg-color-surface-primary);
  box-shadow: none;
}

#order-standard_cart .product header {
  padding: var(--hg-space-5);
  border-bottom: 1px solid var(--hg-color-border-subtle);
  background: var(--hg-color-surface-secondary);
  color: var(--hg-color-text-primary);
  font-size: var(--hg-font-size-18);
  font-weight: var(--hg-font-weight-semibold);
}

#order-standard_cart .product .product-desc {
  padding: var(--hg-space-5);
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-14);
  line-height: var(--hg-line-height-20);
}

#order-standard_cart .product .product-desc ul {
  display: grid;
  gap: var(--hg-space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}

#order-standard_cart .product .product-desc li {
  position: relative;
  padding-left: var(--hg-space-5);
}

#order-standard_cart .product .product-desc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hg-color-green-600);
}

#order-standard_cart .product footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--hg-space-4);
  padding: var(--hg-space-5);
  border-top: 1px solid var(--hg-color-border-subtle);
  background: var(--hg-color-surface-primary);
}

#order-standard_cart .product .product-pricing {
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-13);
  line-height: var(--hg-line-height-18);
}

#order-standard_cart .product .price {
  color: var(--hg-color-text-primary);
  font-size: var(--hg-font-size-24);
  line-height: var(--hg-line-height-32);
  font-weight: var(--hg-font-weight-bold);
}

#order-standard_cart .btn-order-now,
#order-standard_cart .btn-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--hg-space-2);
  flex: 0 0 auto;
  min-width: 136px;
  min-height: 40px;
  padding: 0 var(--hg-space-4);
  border: 1px solid var(--hg-color-action-primary-bg);
  border-radius: var(--hg-radius-button);
  background: var(--hg-color-action-primary-bg);
  color: var(--hg-color-action-primary-text);
  font-weight: var(--hg-font-weight-semibold);
  white-space: nowrap;
}

#order-standard_cart .btn-order-now:hover,
#order-standard_cart .btn-success:hover {
  border-color: var(--hg-color-action-primary-bg-hover);
  background: var(--hg-color-action-primary-bg-hover);
  color: var(--hg-color-action-primary-text);
}

#order-standard_cart.hg-order-complete-standalone {
  width: 100%;
  min-height: calc(100vh - 80px);
  margin: 0;
  padding: var(--hg-space-12) var(--hg-space-5);
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0.96), rgba(255, 255, 255, 1));
}

.hg-complete-shell {
  display: grid;
  min-height: calc(100vh - 180px);
  place-items: center;
}

.hg-complete-card {
  width: min(100%, 760px);
  padding: var(--hg-space-10);
  border: 1px solid var(--hg-color-border-default);
  border-radius: var(--hg-radius-card-hero);
  background: var(--hg-color-surface-primary);
  box-shadow: var(--hg-shadow-dropdown);
  text-align: center;
}

.hg-complete-status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: var(--hg-space-5);
  border-radius: var(--hg-radius-pill);
  background: var(--hg-color-status-success-bg);
  color: var(--hg-color-status-success-text);
  font-size: var(--hg-font-size-22);
}

.hg-complete-status-icon.is-error {
  background: var(--hg-color-status-danger-bg);
  color: var(--hg-color-status-danger-text);
}

.hg-complete-status-icon.is-pending {
  background: var(--hg-color-status-info-bg);
  color: var(--hg-color-status-info-text);
}

.hg-complete-card .hg-order-eyebrow {
  justify-content: center;
  margin-bottom: var(--hg-space-3);
}

.hg-complete-card h1 {
  max-width: 620px;
  margin: 0 auto;
  color: var(--hg-color-text-primary);
  font-size: var(--hg-font-size-36);
  line-height: var(--hg-line-height-44);
  font-weight: var(--hg-font-weight-bold);
}

.hg-complete-lead {
  max-width: 610px;
  margin: var(--hg-space-4) auto 0;
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-16);
  line-height: var(--hg-line-height-24);
}

.hg-complete-reference {
  display: grid;
  gap: var(--hg-space-1);
  margin: var(--hg-space-7) auto 0;
  padding: var(--hg-space-4);
  border: 1px solid var(--hg-color-border-subtle);
  border-radius: var(--hg-radius-card);
  background: var(--hg-color-surface-secondary);
}

.hg-complete-reference span {
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-13);
  font-weight: var(--hg-font-weight-semibold);
}

.hg-complete-reference strong {
  color: var(--hg-color-text-primary);
  font-size: var(--hg-font-size-22);
  line-height: var(--hg-line-height-30);
}

.hg-complete-processing {
  margin-top: var(--hg-space-6);
  color: var(--hg-color-text-secondary);
}

.hg-complete-processing img {
  width: 30px;
  height: 30px;
  margin-bottom: var(--hg-space-3);
}

.hg-complete-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--hg-space-3);
  margin-top: var(--hg-space-7);
}

.hg-complete-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--hg-space-2);
  min-height: 42px;
  padding: 0 var(--hg-space-5);
  border-radius: var(--hg-radius-button);
  font-weight: var(--hg-font-weight-semibold);
}

@media (max-width: 900px) {
  .hg-invoice-page .invoice-container,
  #order-standard_cart {
    width: min(100% - 24px, 100%);
  }

  #order-standard_cart > .row,
  #order-standard_cart .products .row {
    grid-template-columns: 1fr;
  }

  #order-standard_cart .cart-sidebar {
    width: auto !important;
    max-width: none;
    order: 2;
  }
}

@media (max-width: 640px) {
  .hg-invoice-page .invoice-container {
    margin-top: var(--hg-space-4);
    padding: var(--hg-space-5);
  }

  .hg-invoice-page .invoice-header h3,
  #order-standard_cart .header-lined h1 {
    font-size: var(--hg-font-size-30);
    line-height: var(--hg-line-height-38);
  }

  #order-standard_cart .product footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hg-complete-card {
    padding: var(--hg-space-6);
  }

  .hg-complete-card h1 {
    font-size: var(--hg-font-size-30);
    line-height: var(--hg-line-height-38);
  }
}

.hg-dashboard-browser-top {
  border-bottom: 1px solid var(--hg-color-border-subtle);
  background: var(--hg-color-surface-secondary);
}

/*
 * Dashboard pixel tuning
 * Figma: HostGrowth WP Version / Dashboard Preview UI / node 79:10728.
 */
.hg-app-shell {
  grid-template-columns: var(--hg-layout-sidebar-expanded) minmax(0, 1fr);
  background: var(--hg-color-background-page);
  color: var(--hg-color-text-primary);
}

.hg-app-sidebar {
  width: var(--hg-layout-sidebar-expanded);
  gap: var(--hg-space-8);
  padding: var(--hg-space-6) 25px var(--hg-space-6) var(--hg-space-6);
  border-right-color: var(--hg-color-border-subtle);
}

.hg-app-brand,
.hg-app-brand:hover {
  min-height: 32px;
  gap: var(--hg-space-3);
  color: var(--hg-color-text-primary);
  font-size: var(--hg-font-size-14);
  font-weight: var(--hg-font-weight-semibold);
}

.hg-app-brand span {
  width: 32px;
  height: 32px;
  border-radius: var(--hg-radius-2);
  background: var(--hg-color-surface-hover);
  color: var(--hg-color-icon-primary);
  font-size: var(--hg-font-size-12);
}

.hg-app-nav {
  gap: var(--hg-space-2);
}

.hg-app-nav a {
  min-height: 36px;
  padding: var(--hg-space-2) var(--hg-space-3);
  border-radius: var(--hg-radius-nav-item);
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-14);
  line-height: var(--hg-line-height-20);
  font-weight: var(--hg-font-weight-regular);
}

.hg-app-nav a:hover,
.hg-app-nav a.is-active {
  background: var(--hg-color-surface-active);
  color: var(--hg-color-text-primary);
}

.hg-app-nav a.is-active {
  font-weight: var(--hg-font-weight-medium);
}

.hg-app-nav a i {
  width: 14px;
  min-width: 14px;
  font-size: var(--hg-font-size-14);
}

.hg-app-nav a span {
  min-height: 18px;
  padding: 0 var(--hg-space-2);
  border-radius: var(--hg-radius-pill);
  background: var(--hg-color-background-inverse);
  color: var(--hg-color-text-inverse);
  font-size: 10px;
  line-height: 18px;
  font-weight: var(--hg-font-weight-regular);
}

.hg-app-nav-group {
  margin: 0 0 -24px;
  padding: var(--hg-space-6) var(--hg-space-4) 0;
  color: var(--hg-color-text-tertiary);
  font-size: var(--hg-font-size-12);
  line-height: var(--hg-line-height-18);
  font-weight: var(--hg-font-weight-medium);
  letter-spacing: var(--hg-letter-spacing);
  text-transform: uppercase;
}

.hg-upgrade-card {
  gap: var(--hg-space-1);
  padding: 17px;
  border-color: var(--hg-color-gray-850);
  border-radius: var(--hg-radius-card);
  background: var(--hg-color-background-inverse);
}

.hg-upgrade-card span {
  width: 40px;
  height: 40px;
  background: var(--hg-color-blue-900);
  color: var(--hg-color-blue-300);
}

.hg-upgrade-card strong {
  color: var(--hg-color-text-inverse);
  font-size: var(--hg-font-size-13);
  line-height: var(--hg-line-height-20);
  font-weight: var(--hg-font-weight-semibold);
}

.hg-upgrade-card small {
  color: var(--hg-color-text-placeholder);
  font-size: var(--hg-font-size-11);
  line-height: var(--hg-line-height-16);
}

.hg-upgrade-card a {
  min-height: 36px;
  margin-top: var(--hg-space-2);
  border-radius: var(--hg-radius-button);
  font-size: var(--hg-font-size-13);
  font-weight: var(--hg-font-weight-semibold);
}

.hg-app-main {
  min-width: 0;
  padding: var(--hg-layout-main-padding-desktop);
}

.hg-app-topbar {
  min-height: var(--hg-layout-header-height-desktop);
  margin: 0;
}

.hg-app-topbar h2 {
  color: var(--hg-color-text-primary);
  font-size: var(--hg-font-size-18);
  line-height: var(--hg-line-height-28);
  font-weight: var(--hg-font-weight-semibold);
}

.hg-app-topbar p {
  margin-top: var(--hg-space-1);
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-13);
  line-height: var(--hg-line-height-18);
}

.hg-app-topbar-actions {
  gap: var(--hg-space-3);
}

.hg-app-notification {
  width: 40px;
  height: 40px;
  color: var(--hg-color-icon-secondary);
}

.hg-app-topbar .btn,
.hg-dashboard-hero-actions .btn {
  min-height: 40px;
  padding: 0 var(--hg-space-4);
  border-radius: var(--hg-radius-button);
  font-size: var(--hg-font-size-13);
  line-height: var(--hg-line-height-20);
  font-weight: var(--hg-font-weight-medium);
  box-shadow: none;
}

.hg-app-topbar .btn-primary,
.hg-dashboard-hero-actions .btn-primary,
.hg-site-actions .btn-primary {
  background: var(--hg-color-action-primary-bg);
  border-color: var(--hg-color-action-primary-bg);
  color: var(--hg-color-action-primary-text);
}

.hg-saas-dashboard {
  gap: var(--hg-space-6);
  max-width: none;
  margin: 0;
  padding: var(--hg-space-4) 0 var(--hg-space-16);
}

.hg-dashboard-hero-card {
  position: relative;
  display: grid;
  min-height: 240px;
  grid-template-columns: minmax(0, 1fr) 344px;
  align-items: center;
  gap: var(--hg-space-8);
  overflow: hidden;
  padding: var(--hg-space-8);
  border-color: var(--hg-color-border-default);
  border-radius: var(--hg-radius-card-hero) !important;
  box-shadow: var(--hg-shadow-xs);
}

.hg-dashboard-hero-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 256px;
  height: 256px;
  border-bottom-left-radius: var(--hg-radius-pill);
  opacity: 0.5;
  background: linear-gradient(135deg, var(--hg-color-blue-100) 0%, rgba(219, 234, 254, 0) 100%);
}

.hg-dashboard-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hg-dashboard-hero-copy h1 {
  max-width: 640px;
  margin: 0;
  color: var(--hg-color-text-primary);
  font-size: var(--hg-font-size-36);
  line-height: var(--hg-line-height-44);
  font-weight: var(--hg-font-weight-bold);
}

.hg-dashboard-hero-copy h1 span {
  color: var(--hg-color-link-default);
}

.hg-dashboard-hero-copy p {
  max-width: 680px;
  margin: var(--hg-space-4) 0 0;
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-16);
  line-height: var(--hg-line-height-24);
}

.hg-dashboard-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hg-space-3);
  margin-top: var(--hg-space-6);
}

.hg-dashboard-primary-action {
  min-height: 40px;
}

.hg-dashboard-hero-visual {
  position: relative;
  z-index: 1;
  min-height: 150px;
}

.hg-browser-card {
  position: absolute;
  top: 18px;
  right: 0;
  width: 344px;
  min-height: 150px;
  padding: var(--hg-space-4);
  border: 1px solid var(--hg-color-border-default);
  border-radius: var(--hg-radius-2);
  background: var(--hg-color-surface-primary);
  box-shadow: var(--hg-shadow-xs);
  transform: rotate(2deg);
}

.hg-browser-dots {
  display: flex;
  gap: var(--hg-space-2);
  margin-bottom: var(--hg-space-4);
}

.hg-browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: var(--hg-radius-pill);
}

.hg-browser-dots span:nth-child(1) {
  background: var(--hg-color-red-500);
}

.hg-browser-dots span:nth-child(2) {
  background: var(--hg-color-amber-500);
}

.hg-browser-dots span:nth-child(3) {
  background: var(--hg-color-green-500);
}

.hg-browser-line {
  width: 62%;
  height: 12px;
  margin-top: var(--hg-space-2);
  border-radius: var(--hg-radius-1);
  background: var(--hg-color-surface-active);
}

.hg-browser-line-wide {
  width: 76%;
}

.hg-browser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--hg-space-2);
  margin-top: var(--hg-space-5);
}

.hg-browser-grid span {
  height: 48px;
  border-radius: var(--hg-radius-1);
  background: var(--hg-color-blue-50);
}

.hg-browser-grid span:nth-child(2) {
  background: var(--hg-color-purple-50);
}

.hg-dashboard-metrics {
  gap: var(--hg-space-5);
}

.hg-dashboard-metric-card {
  display: flex;
  min-height: 136px;
  flex-direction: column;
  gap: var(--hg-space-2);
  padding: var(--hg-space-5);
  border-color: var(--hg-color-border-default);
  border-radius: var(--hg-radius-card);
  box-shadow: var(--hg-shadow-xs);
}

.hg-dashboard-metric-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--hg-space-2);
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-13);
  line-height: var(--hg-line-height-18);
  font-weight: var(--hg-font-weight-regular);
}

.hg-dashboard-metric-top i {
  flex: 0 0 auto;
  color: var(--hg-color-icon-tertiary);
}

.hg-dashboard-metric-card strong {
  color: var(--hg-color-text-primary);
  font-size: var(--hg-font-size-30);
  line-height: var(--hg-line-height-38);
  font-weight: var(--hg-font-weight-semibold);
}

.hg-dashboard-metric-card strong small {
  margin-left: var(--hg-space-1);
  color: var(--hg-color-text-tertiary);
  font-size: var(--hg-font-size-13);
  line-height: var(--hg-line-height-18);
  font-weight: var(--hg-font-weight-regular);
}

.hg-dashboard-metric-card p {
  margin: auto 0 0;
  color: var(--hg-color-text-tertiary);
  font-size: var(--hg-font-size-12);
  line-height: var(--hg-line-height-18);
  font-weight: var(--hg-font-weight-regular);
}

.hg-metric-status {
  color: var(--hg-color-text-secondary);
  font-weight: var(--hg-font-weight-medium);
}

.hg-metric-status-success {
  color: var(--hg-color-text-success);
}

.hg-metric-status-warning {
  color: var(--hg-color-text-warning);
}

.hg-metric-status-primary {
  color: var(--hg-color-link-default);
}

.hg-metric-status-protected {
  color: var(--hg-color-status-protected-text);
}

.hg-dashboard-section {
  gap: var(--hg-space-5);
}

.hg-dashboard-section-heading {
  align-items: flex-end;
}

.hg-dashboard-section-heading h2 {
  font-size: var(--hg-font-size-24);
  line-height: var(--hg-line-height-32);
  font-weight: var(--hg-font-weight-semibold);
}

.hg-dashboard-section-heading p {
  margin-top: var(--hg-space-2);
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-13);
  line-height: var(--hg-line-height-18);
}

.hg-dashboard-section-heading > a {
  color: var(--hg-color-link-default);
  font-size: var(--hg-font-size-13);
  line-height: var(--hg-line-height-18);
  font-weight: var(--hg-font-weight-medium);
}

.hg-sites-grid {
  gap: var(--hg-space-6);
}

.hg-site-card {
  gap: var(--hg-space-4);
  padding: var(--hg-space-5);
  border-color: var(--hg-color-border-default);
  border-radius: var(--hg-radius-card);
  box-shadow: var(--hg-shadow-xs);
}

.hg-site-card h3 {
  color: var(--hg-color-text-primary);
  font-size: var(--hg-font-size-16);
  line-height: var(--hg-line-height-24);
  font-weight: var(--hg-font-weight-medium);
}

.hg-site-card p {
  margin-top: var(--hg-space-1);
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-13);
  line-height: var(--hg-line-height-18);
}

.hg-site-dot {
  width: 10px;
  height: 10px;
  flex-basis: 10px;
}

.hg-site-badges {
  gap: var(--hg-space-2);
  margin-top: var(--hg-space-3);
}

.hg-dashboard-badge {
  min-height: 22px;
  padding: 0 var(--hg-space-2);
  font-size: var(--hg-font-size-11);
  line-height: var(--hg-line-height-16);
  font-weight: var(--hg-font-weight-regular);
  text-transform: none;
}

.hg-dashboard-badge-success {
  background: var(--hg-color-status-success-bg);
  color: var(--hg-color-status-success-text);
}

.hg-dashboard-badge-warning {
  background: var(--hg-color-status-warning-bg);
  color: var(--hg-color-status-warning-text);
}

.hg-dashboard-badge-primary {
  background: var(--hg-color-status-info-bg);
  color: var(--hg-color-status-info-text);
}

.hg-site-stats {
  gap: var(--hg-space-4);
  padding-top: var(--hg-space-4);
  border-top-color: var(--hg-color-border-subtle);
}

.hg-site-stats span {
  color: var(--hg-color-text-tertiary);
  font-size: var(--hg-font-size-12);
  line-height: var(--hg-line-height-16);
  font-weight: var(--hg-font-weight-regular);
}

.hg-site-stats strong {
  color: var(--hg-color-text-primary);
  font-size: var(--hg-font-size-13);
  line-height: var(--hg-line-height-18);
  font-weight: var(--hg-font-weight-medium);
}

.hg-card-menu .hg-icon-button {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  border: 0;
  background: transparent;
}

.hg-card-menu-popover {
  border-color: var(--hg-color-border-default);
  border-radius: var(--hg-radius-card);
  box-shadow: var(--hg-shadow-dropdown);
}

.hg-site-actions {
  gap: var(--hg-space-2);
}

.hg-site-actions .btn {
  min-height: 40px;
  border-radius: var(--hg-radius-button);
  font-size: var(--hg-font-size-13);
  font-weight: var(--hg-font-weight-medium);
}

.hg-dashboard-split {
  grid-template-columns: minmax(0, 1fr) 344px;
  gap: var(--hg-space-8);
}

.hg-dashboard-panel {
  overflow: hidden;
  padding: 0;
  border-color: var(--hg-color-border-default);
  border-radius: var(--hg-radius-card);
  box-shadow: var(--hg-shadow-xs);
}

.hg-dashboard-panel .hg-dashboard-section-heading {
  margin: 0;
  padding: 12px var(--hg-space-4) 13px;
  border-bottom: 1px solid var(--hg-color-border-default);
  background: var(--hg-color-surface-hover);
}

.hg-dashboard-panel .hg-dashboard-section-heading h2 {
  font-size: var(--hg-font-size-14);
  line-height: var(--hg-line-height-20);
}

.hg-activity-list {
  gap: 0;
}

.hg-activity-list li {
  min-height: 56px;
  padding: var(--hg-space-3) var(--hg-space-4);
  border-bottom-color: var(--hg-color-border-subtle);
}

.hg-activity-list .hg-dashboard-icon,
.hg-account-summary span {
  width: 32px;
  height: 32px;
  border-radius: var(--hg-radius-pill);
  background: var(--hg-color-surface-hover);
  color: var(--hg-color-icon-secondary);
  font-size: var(--hg-font-size-12);
}

.hg-activity-list strong,
.hg-account-summary strong {
  color: var(--hg-color-text-primary);
  font-size: var(--hg-font-size-14);
  line-height: var(--hg-line-height-20);
  font-weight: var(--hg-font-weight-medium);
}

.hg-activity-list small,
.hg-activity-list em,
.hg-account-summary small {
  color: var(--hg-color-text-tertiary);
  font-size: var(--hg-font-size-12);
  line-height: var(--hg-line-height-16);
}

.hg-account-summary {
  gap: 0;
}

.hg-account-summary a {
  min-height: 56px;
  padding: var(--hg-space-3) var(--hg-space-4);
  border: 0;
  border-bottom: 1px solid var(--hg-color-border-subtle);
  border-radius: 0;
}

.hg-account-summary a:last-child {
  border-bottom: 0;
}

@media (max-width: 1200px) {
  .hg-dashboard-hero-card {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

  .hg-browser-card {
    width: 280px;
  }

  .hg-dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hg-dashboard-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hg-app-shell {
    grid-template-columns: 1fr;
  }

  .hg-app-sidebar {
    position: relative;
    width: auto;
    height: auto;
    gap: var(--hg-space-4);
    padding: var(--hg-space-4);
    border-right: 0;
    border-bottom: 1px solid var(--hg-color-border-subtle);
  }

  .hg-app-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hg-app-nav-group,
  .hg-upgrade-card {
    display: none;
  }

  .hg-app-main {
    padding: var(--hg-layout-main-padding-tablet);
  }

  .hg-app-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hg-app-topbar-actions {
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .hg-app-main {
    padding: var(--hg-layout-main-padding-mobile);
  }

  .hg-saas-dashboard {
    padding-top: var(--hg-space-4);
  }

  .hg-dashboard-hero-card {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: var(--hg-space-6);
  }

  .hg-dashboard-hero-card::after,
  .hg-dashboard-hero-visual {
    display: none;
  }

  .hg-dashboard-hero-copy h1 {
    font-size: var(--hg-font-size-30);
    line-height: var(--hg-line-height-38);
  }

  .hg-dashboard-metrics,
  .hg-sites-grid,
  .hg-dashboard-split {
    grid-template-columns: 1fr;
  }

  .hg-dashboard-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hg-site-actions,
  .hg-app-topbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hg-site-actions .btn,
  .hg-app-topbar-actions .btn {
    width: 100%;
  }
}

/* Cart review (viewcart) */
.hg-cart-review-panel .view-cart-items-header {
  padding: 12px 16px;
  border: 1px solid var(--hg-color-border-default);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: var(--hg-color-surface-secondary);
  color: var(--hg-color-text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hg-cart-review-panel .view-cart-items {
  border: 1px solid var(--hg-color-border-default);
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

.hg-cart-review-panel .view-cart-items .item {
  padding: 20px 16px;
  border-bottom: 1px solid var(--hg-color-border-default);
}

.hg-cart-review-panel .view-cart-items .item:last-child {
  border-bottom: 0;
}

.hg-cart-review-panel .item-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hg-color-text-primary);
  font-size: 16px;
  font-weight: 600;
}

.hg-cart-review-panel .item-group,
.hg-cart-review-panel .item-domain {
  display: block;
  color: var(--hg-color-text-secondary);
  font-size: 14px;
}

.hg-cart-review-panel .item-price {
  color: var(--hg-color-text-primary);
  font-size: 16px;
  font-weight: 700;
  text-align: right;
}

.hg-cart-review-panel .item-price .cycle {
  display: block;
  color: var(--hg-color-text-secondary);
  font-size: 13px;
  font-weight: 400;
}

.hg-cart-review-panel .item-price .renewal {
  display: block;
  color: var(--hg-color-text-tertiary);
  font-size: 12px;
}

.hg-cart-review-panel .btn-link {
  padding: 4px 10px;
  border: 1px solid var(--hg-color-action-secondary-border);
  border-radius: var(--hg-radius-3);
  background: var(--hg-color-action-secondary-bg);
  color: var(--hg-color-action-secondary-text);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

.hg-cart-review-panel .btn-remove-from-cart {
  padding: 6px;
  border-radius: 8px;
  color: var(--hg-color-text-tertiary);
}

.hg-cart-review-panel .btn-remove-from-cart:hover {
  background: var(--hg-color-surface-secondary);
  color: var(--hg-color-text-danger);
}

.hg-cart-review-panel .empty-cart {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}

.hg-cart-review-panel .empty-cart .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--hg-color-action-primary-bg);
  color: var(--hg-color-action-primary-text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.hg-cart-review-panel .view-cart-tabs {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--hg-color-border-default);
}

.hg-cart-review-panel .view-cart-tabs .nav-tabs {
  display: flex;
  gap: 8px;
  border: 0;
}

.hg-cart-review-panel .view-cart-tabs .nav-tabs .nav-link {
  padding: 10px 18px;
  border-radius: 8px 8px 0 0;
  background: var(--hg-color-surface-primary);
  color: var(--hg-color-text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.hg-cart-review-panel .view-cart-tabs .nav-tabs .nav-link.active {
  background: #f8f8f8 !important;
  border: none;
  color: var(--hg-color-action-secondary-text) !important;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
  border-color: transparent !important;
}

.hg-cart-review-panel .view-cart-tabs .form-control {
  height: 52px;
  min-height: 0;
  padding: 0 16px;
  border-color: var(--hg-color-border-default);
  border-radius: 12px;
  box-shadow: none;
  font-size: 16px;
}

#calcTaxes.tab-pane.active form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#calcTaxes .form-group {
  margin-bottom: 0;
}

#calcTaxes .control-label {
  text-align: left !important;
}

#calcTaxes .form-group.text-center {
  text-align: left;
}

.hg-cart-review-panel .view-cart-tabs .btn-block {
  width: 100%;
  min-height: 0;
  margin-top: 12px;
  padding: 16px 24px;
  border-radius: 16px;
  background-color: var(--hg-color-action-primary-bg);
  border-color: var(--hg-color-action-primary-bg);
  font-size: 14px;
  font-weight: 500;
}

.hg-order-summary-panel .express-checkout-buttons:empty {
  display: none;
}

/* Checkout (account + payment) */
.hg-checkout-panel .field-icon {
  display: none;
}

.hg-checkout-panel .form-group.prepend-icon .field.form-control {
  padding-left: 16px;
}

.hg-checkout-panel .already-registered {
  padding: 25px;
  border: 1px solid var(--hg-color-border-default);
  border-radius: 16px;
  background: var(--hg-color-surface-secondary);
}

.hg-checkout-panel .already-registered .btn-info,
.hg-checkout-panel .already-registered .btn-warning {
  min-height: 0;
  padding: 10px 18px;
  border-radius: 12px;
  background-color: var(--hg-color-action-primary-bg);
  border-color: var(--hg-color-action-primary-bg);
  color: var(--hg-color-action-primary-text);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.hg-checkout-panel .sub-heading {
  margin: 32px 0 16px;
}

.hg-checkout-panel .sub-heading .primary-bg-color {
  padding: 0;
  background: transparent;
  color: var(--hg-color-text-primary);
  font-size: 18px;
  font-weight: 600;
}

.hg-checkout-panel #btnCompleteOrder {
  min-height: 0;
  padding: 16px 24px;
  border-radius: 16px;
  background-color: var(--hg-color-action-primary-bg);
  border-color: var(--hg-color-action-primary-bg);
  font-size: 14px;
  font-weight: 500;
}

#modalGeneratePassword .modal-content {
  overflow: hidden;
}

#modalGeneratePassword .modal-header.bg-primary {
  background-color: var(--hg-color-gray-100) !important;
  color: var(--hg-color-text-primary) !important;
  border-bottom: 1px solid var(--hg-color-border-default);
}

.intl-tel-input .flag-container {
    border-radius: 12px 0 0 12px;
    overflow: hidden;
}

.hg-my-site-card {
  display: flex !important;
  flex-direction: column;
}

.hg-my-sites-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--hg-space-6);
}

.hg-my-site-card h3 {
  color: var(--hg-color-text-primary);
  font-size: var(--hg-font-size-16);
  line-height: var(--hg-line-height-24);
  font-weight: var(--hg-font-weight-medium);
}

.hg-my-site-card p {
  margin-top: var(--hg-space-1);
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-13);
  line-height: var(--hg-line-height-18);
}

.hg-my-site-actions {
  margin-top: auto;
}

.hg-view-hidden {
  display: none !important;
}

.hg-site-hidden {
  display: none !important;
}

.hg-sites-tabs button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  margin-left: var(--hg-space-2);
  padding: 0 var(--hg-space-1);
  border-radius: var(--hg-radius-pill);
  background: var(--hg-color-surface-hover);
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-11);
  font-weight: var(--hg-font-weight-medium);
}

.hg-sites-tabs button.is-active span {
  background: rgba(255, 255, 255, 0.2);
  color: var(--hg-color-surface-primary);
}

.hg-sites-tabs button.is-warning {
  color: var(--hg-color-status-warning-text);
}

.hg-sites-tabs button.is-warning i {
  margin-right: var(--hg-space-1);
}

.hg-sites-tabs button.is-warning span {
  background: var(--hg-color-status-warning-bg);
  color: var(--hg-color-status-warning-text);
}

.hg-sites-tabs button.is-warning.is-active {
  border-color: var(--hg-color-status-warning-text);
  background: var(--hg-color-status-warning-text);
}

.hg-sites-tabs button.is-warning.is-active span {
  background: rgba(255, 255, 255, 0.25);
  color: var(--hg-color-surface-primary);
}

.hg-view-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--hg-color-border-default);
  border-radius: var(--hg-radius-button);
  background: var(--hg-color-surface-hover);
}

.hg-view-toggle button {
  display: inline-flex;
  align-items: center;
  gap: var(--hg-space-2);
  min-height: 34px;
  padding: 0 var(--hg-space-3);
  border: 0;
  border-radius: calc(var(--hg-radius-button) - 2px);
  background: transparent;
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-13);
  font-weight: var(--hg-font-weight-medium);
}

.hg-view-toggle button.is-active {
  background: var(--hg-color-surface-primary);
  color: var(--hg-color-text-primary);
  box-shadow: var(--hg-shadow-xs);
}

.hg-my-sites-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--hg-color-border-default);
  border-radius: var(--hg-radius-card);
  background: var(--hg-color-surface-primary);
  box-shadow: var(--hg-shadow-xs);
}

.hg-my-sites-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: var(--hg-font-size-13);
}

.hg-my-sites-table thead th {
  padding: var(--hg-space-3) var(--hg-space-4);
  border-bottom: 1px solid var(--hg-color-border-default);
  background: var(--hg-color-surface-hover);
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-12);
  font-weight: var(--hg-font-weight-medium);
  text-align: left;
  white-space: nowrap;
}

.hg-my-sites-table tbody td {
  padding: var(--hg-space-3) var(--hg-space-4);
  border-bottom: 1px solid var(--hg-color-border-subtle);
  color: var(--hg-color-text-primary);
  vertical-align: middle;
}

.hg-my-sites-table tbody tr:last-child td {
  border-bottom: 0;
}

.hg-my-sites-table-name {
  display: flex;
  align-items: center;
  gap: var(--hg-space-3);
}

.hg-my-sites-table-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--hg-radius-3);
  background: var(--hg-color-surface-hover);
  color: var(--hg-color-icon-secondary);
}

.hg-my-sites-table-name strong {
  display: block;
  font-weight: var(--hg-font-weight-medium);
}

.hg-my-sites-table-name small {
  display: block;
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-12);
}

.hg-my-sites-table-status {
  display: inline-flex;
  align-items: center;
  gap: var(--hg-space-2);
  white-space: nowrap;
}

.hg-my-sites-table-perf strong {
  display: block;
}

.hg-my-sites-table-perf small {
  display: block;
  color: var(--hg-color-text-secondary);
  font-size: var(--hg-font-size-12);
}

.hg-my-sites-table-row-actions {
  display: flex;
  align-items: center;
  gap: var(--hg-space-2);
  white-space: nowrap;
}

.hg-my-sites-table-row-actions .btn {
  min-height: 34px;
  border-radius: var(--hg-radius-button);
  font-size: var(--hg-font-size-12);
  font-weight: var(--hg-font-weight-medium);
}

.hg-my-sites-table-actions {
  text-align: right;
}