.customer-page .card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.customer-page .visual-tier-primary {
  border-color: rgba(var(--ui-primary-rgb), 0.2) !important;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(var(--ui-primary-rgb), 0.08) !important;
}

.customer-page .visual-tier-secondary {
  border-color: rgba(var(--ui-primary-rgb), 0.15) !important;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08) !important;
}

.customer-page .visual-tier-tertiary {
  border-color: rgba(var(--ui-primary-rgb), 0.1) !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05) !important;
}

.customer-page .compact-aux .page-summary,
.customer-page .compact-aux .section-card-meta,
.customer-page .compact-aux .customer-ops-meta,
.customer-page .compact-aux .customer-tab-meta,
.customer-page .compact-aux .customer-spotlight-note,
.customer-page .compact-aux .customer-form-meta,
.customer-page .compact-aux .customer-chat-meta,
.customer-page .compact-aux .customer-chat-tip,
.customer-page .compact-aux .customer-overview-meta {
  font-size: 0.78rem;
  line-height: 1.48;
}

.customer-page .customer-ops-card.compact-aux,
.customer-page .customer-form-card.compact-aux,
.customer-page .employee-form-card.compact-aux,
.customer-page .hardware-form-card.compact-aux,
.customer-page .license-form-card.compact-aux,
.customer-page .service-form-card.compact-aux,
.customer-page .server-form-card.compact-aux,
.customer-page .customer-form-pill.compact-aux,
.customer-page .employee-form-pill.compact-aux,
.customer-page .hardware-form-pill.compact-aux,
.customer-page .license-form-pill.compact-aux,
.customer-page .service-form-pill.compact-aux,
.customer-page .server-form-pill.compact-aux,
.customer-page .customer-summary-pill.compact-aux,
.customer-page .customer-tab-card.compact-aux,
.customer-page .customer-overview-card.compact-aux,
.customer-page .customer-spotlight-card.compact-aux,
.customer-page .customer-detail-section.compact-aux,
.customer-page .employee-chat-card.compact-aux,
.customer-page .employee-chat-summary.compact-aux,
.customer-page .hardware-chat-card.compact-aux,
.customer-page .hardware-chat-summary.compact-aux,
.customer-page .license-chat-card.compact-aux,
.customer-page .license-chat-summary.compact-aux,
.customer-page .customer-chat-card.compact-aux,
.customer-page .customer-chat-summary.compact-aux,
.customer-page .form-shell.compact-aux {
  border-radius: 18px;
}

.customer-page .customer-ops-card.compact-aux,
.customer-page .customer-form-card.compact-aux,
.customer-page .employee-form-card.compact-aux,
.customer-page .hardware-form-card.compact-aux,
.customer-page .license-form-card.compact-aux,
.customer-page .service-form-card.compact-aux,
.customer-page .server-form-card.compact-aux {
  min-height: 148px;
  padding: 0.88rem 0.94rem;
}

.customer-page .customer-form-pill.compact-aux,
.customer-page .employee-form-pill.compact-aux,
.customer-page .hardware-form-pill.compact-aux,
.customer-page .license-form-pill.compact-aux,
.customer-page .service-form-pill.compact-aux,
.customer-page .server-form-pill.compact-aux,
.customer-page .customer-summary-pill.compact-aux,
.customer-page .customer-overview-card.compact-aux,
.customer-page .customer-tab-card.compact-aux,
.customer-page .employee-chat-summary.compact-aux,
.customer-page .hardware-chat-summary.compact-aux,
.customer-page .license-chat-summary.compact-aux,
.customer-page .customer-chat-summary.compact-aux {
  padding: 0.82rem 0.9rem;
}

.customer-page .customer-detail-section.compact-aux .card-body,
.customer-page .employee-chat-card.compact-aux,
.customer-page .hardware-chat-card.compact-aux,
.customer-page .license-chat-card.compact-aux,
.customer-page .customer-chat-card.compact-aux,
.customer-page .form-shell.compact-aux .card-body,
.customer-page .customer-spotlight-card.compact-aux .card-body {
  padding: 0.88rem 0.94rem !important;
}

.customer-page .customer-ops-card.compact-aux .customer-ops-title,
.customer-page .customer-form-card.compact-aux .customer-form-title,
.customer-page .employee-form-card.compact-aux .employee-form-title,
.customer-page .hardware-form-card.compact-aux .hardware-form-title,
.customer-page .license-form-card.compact-aux .license-form-title,
.customer-page .service-form-card.compact-aux .service-form-title,
.customer-page .server-form-card.compact-aux .server-form-title,
.customer-page .compact-aux .section-card-title,
.customer-page .compact-aux .employee-chat-title,
.customer-page .compact-aux .hardware-chat-title,
.customer-page .compact-aux .license-chat-title,
.customer-page .compact-aux .customer-chat-title,
.customer-page .compact-aux .customer-tab-title {
  font-size: 0.96rem;
}

.customer-page .compact-aux .customer-summary-value,
.customer-page .compact-aux .customer-form-value,
.customer-page .compact-aux .employee-form-value,
.customer-page .compact-aux .hardware-form-value,
.customer-page .compact-aux .license-form-value,
.customer-page .compact-aux .service-form-value,
.customer-page .compact-aux .server-form-value,
.customer-page .compact-aux .customer-overview-value {
  font-size: 0.95rem;
}

.customer-page .compact-aux .employee-form-meta,
.customer-page .compact-aux .hardware-form-meta,
.customer-page .compact-aux .license-form-meta,
.customer-page .compact-aux .service-form-meta,
.customer-page .compact-aux .server-form-meta,
.customer-page .compact-aux .employee-chat-meta,
.customer-page .compact-aux .hardware-chat-meta,
.customer-page .compact-aux .license-chat-meta,
.customer-page .compact-aux .customer-chat-list-item,
.customer-page .compact-aux .customer-spotlight-item {
  padding: 0.62rem 0.72rem;
  border-radius: 12px;
}

.customer-page .compact-aux .employee-chat-list-item,
.customer-page .compact-aux .hardware-chat-list-item,
.customer-page .compact-aux .license-chat-list-item,
.customer-page .compact-aux .employee-chat-tip,
.customer-page .compact-aux .hardware-chat-tip,
.customer-page .compact-aux .license-chat-tip,
.customer-page .compact-aux .customer-chat-option,
.customer-page .compact-aux .btn {
  border-radius: 0.82rem;
}

.detail-page .panel-hero {
  border: 1px solid rgba(var(--ui-primary-rgb), 0.14);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: linear-gradient(140deg, rgba(var(--ui-primary-rgb), 0.06), rgba(255, 255, 255, 0.72));
}

.customer-detail-hero {
  margin-bottom: 1rem;
}

.detail-page .page-kicker {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  color: rgba(var(--ui-primary-rgb), 0.92);
  margin-bottom: 0.2rem;
}

.detail-page .page-summary {
  margin: 0.35rem 0 0;
  color: #5e6f84;
  font-size: 0.88rem;
}

.detail-page .metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.34rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--ui-primary-rgb), 0.2);
  background: rgba(var(--ui-primary-rgb), 0.07);
  color: #244160;
  font-weight: 700;
  font-size: 0.76rem;
}

.detail-page .metric-pill .dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--ui-primary);
  box-shadow: 0 0 0 3px rgba(var(--ui-primary-rgb), 0.2);
}

.customer-overview-card {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(var(--ui-primary-rgb), 0.14);
}

.customer-overview-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #63758a;
  margin-bottom: 0.45rem;
}

.customer-overview-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: #1f2937;
  line-height: 1;
  letter-spacing: -0.03em;
}

.customer-overview-meta {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: #63758a;
  line-height: 1.45;
}

.customer-detail-section {
  border-color: rgba(var(--ui-primary-rgb), 0.12);
}

.customer-spotlight-card {
  border: 1px solid rgba(var(--ui-primary-rgb), 0.18);
  background: linear-gradient(160deg, rgba(var(--ui-primary-rgb), 0.08), rgba(255,255,255,0.78));
}

.customer-spotlight-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.85rem;
}

.customer-spotlight-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.78rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(var(--ui-primary-rgb), 0.12);
  background: rgba(255,255,255,0.62);
}

.customer-spotlight-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #63758a;
}

.customer-spotlight-value {
  font-size: 0.86rem;
  font-weight: 800;
  color: #1f2937;
  text-align: right;
}

.customer-spotlight-note {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #63758a;
}

.customer-wifi-block {
  padding: 0.25rem 0;
}

.customer-wifi-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.6rem;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  background: rgba(var(--ui-primary-rgb), 0.08);
  color: var(--ui-primary);
  font-size: 0.74rem;
  font-weight: 800;
}

.customer-wifi-qr-col {
  display: flex;
  justify-content: center;
}

.customer-wifi-empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  width: 100%;
  padding: 1rem;
  border-radius: 16px;
  border: 1px dashed rgba(var(--ui-primary-rgb), 0.18);
  background: rgba(var(--ui-primary-rgb), 0.04);
  color: #63758a;
  font-size: 0.82rem;
  line-height: 1.45;
}

.customer-subnav {
  gap: 0.55rem;
  flex-wrap: nowrap;
  border-bottom: 0;
  position: sticky;
  top: var(--customer-subnav-top, 92px);
  z-index: 1015;
  padding: 0.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  overflow-x: auto;
  overflow-y: hidden;
}

.customer-subnav .nav-item {
  flex: 0 0 auto;
}

.customer-subnav::before,
.customer-subnav::after {
  content: "";
  position: sticky;
  top: 0;
  width: 18px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.customer-subnav::before {
  left: -1px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
}

.customer-subnav::after {
  right: -1px;
  float: right;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
}

.customer-subnav.has-left-fade::before {
  opacity: 1;
}

.customer-subnav.has-right-fade::after {
  opacity: 1;
}

.customer-subnav .nav-link {
  border: 1px solid rgba(var(--ui-primary-rgb), 0.18);
  background: #fff;
  color: #223044;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.52rem 0.95rem;
  font-size: 0.84rem;
  line-height: 1.1;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.customer-subnav .nav-link.active {
  background: linear-gradient(135deg, var(--ui-primary), var(--ui-primary-2));
  border-color: var(--ui-primary);
  color: #fff;
  box-shadow: 0 8px 16px rgba(var(--ui-primary-rgb), 0.2);
}

.customer-subnav .nav-link:hover {
  color: var(--ui-primary);
  border-color: var(--ui-primary);
  background: rgba(var(--ui-primary-rgb), 0.08);
}

.customer-subnav .nav-link:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(var(--ui-primary-rgb), 0.24);
}

.detail-table thead th {
  background: #f8fafc;
  border-bottom: 2px solid #dbe3ec;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #526071;
  padding: 0.8rem 0.75rem;
  white-space: nowrap;
}

.detail-table {
  --bs-table-bg: transparent;
  --bs-table-striped-bg: transparent;
  --bs-table-hover-bg: transparent;
  --bs-table-color: inherit;
}

.detail-table > :not(caption) > * > * {
  background-color: transparent;
}

.detail-table td {
  padding: 0.85rem 0.75rem;
  vertical-align: middle;
  line-height: 1.45;
  color: #1f2937;
  border-color: rgba(203, 213, 225, 0.72);
}

.detail-table tbody tr:nth-child(even) {
  background: #fbfdff;
}

.detail-table tbody tr:hover {
  background: #f1f7ff;
}

.detail-table .empty-row td {
  text-align: center;
  color: #6c757d;
  font-style: italic;
  padding: 1rem 0.75rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.7rem;
}

.info-item {
  border: 1px solid rgba(var(--ui-primary-rgb), 0.14);
  border-radius: 0.8rem;
  background: linear-gradient(180deg, rgba(var(--ui-primary-rgb), 0.03), rgba(var(--ui-primary-rgb), 0.01));
  padding: 0.72rem 0.78rem;
}

.info-item.wide {
  grid-column: 1 / -1;
}

.info-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #63758a;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.info-value {
  color: #1f2937;
  line-height: 1.4;
}

.form-section-title {
  display: block;
  width: 100%;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #4a5d74;
  background: rgba(var(--ui-primary-rgb), 0.06);
  border: 1px solid rgba(var(--ui-primary-rgb), 0.18);
  border-radius: 8px;
  padding: 0.44rem 0.75rem 0.44rem 1.2rem;
  line-height: 1.25;
  white-space: normal;
  word-break: break-word;
  margin: 0.2rem 0 0.15rem;
}

.form-shell .form-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #4e6074;
  margin-bottom: 0.25rem;
}

.detail-page .card .form-label {
  color: #475a73;
  font-size: 0.78rem;
  font-weight: 700;
}

.detail-page .card .form-control,
.detail-page .card .form-select {
  border-color: rgba(var(--ui-primary-rgb), 0.22);
  background: rgba(255, 255, 255, 0.95);
  color: #1f2937;
}

.detail-page .card .form-control:focus,
.detail-page .card .form-select:focus {
  border-color: rgba(var(--ui-primary-rgb), 0.65);
  box-shadow: 0 0 0 0.2rem rgba(var(--ui-primary-rgb), 0.18);
}

/* Unified mobile table behavior for customer pages */
@media (max-width: 767.98px) {
  .table-card-mobile thead {
    display: none;
  }

  .table-card-mobile tbody,
  .table-card-mobile tr,
  .table-card-mobile td {
    display: block;
    width: 100%;
  }

  .table-card-mobile tr {
    border: 1px solid rgba(var(--ui-primary-rgb), 0.16);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    background: var(--ui-surface-2, #fff);
    overflow: hidden;
  }

  .table-card-mobile td {
    border: 0;
    border-bottom: 1px dashed rgba(var(--ui-primary-rgb), 0.12);
    padding: 0.62rem 0.78rem;
  }

  .table-card-mobile td:last-child {
    border-bottom: 0;
  }

  .table-card-mobile td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--ui-muted, #63758a);
    margin-bottom: 0.18rem;
  }

  .customer-spotlight-item {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Simple sensitive value presentation */
.secret-field {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.secret-value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.02em;
}

.secret-value.is-masked {
  filter: blur(3px);
  -webkit-user-select: none;
  user-select: none;
}

.secret-toggle {
  border: 1px solid rgba(var(--ui-primary-rgb), 0.24);
  background: transparent;
  color: var(--ui-primary);
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1;
  padding: 0.18rem 0.45rem;
}

html[data-theme="dark"] .customer-page .card {
  border-color: #2f3440;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

html[data-theme="dark"] .detail-page .panel-hero {
  border-color: rgba(123, 163, 255, 0.3);
  background: linear-gradient(140deg, rgba(29, 45, 79, 0.8), rgba(15, 23, 42, 0.72));
}

html[data-theme="dark"] .detail-page .page-kicker {
  color: #8db6ff;
}

html[data-theme="dark"] .detail-page .page-summary {
  color: #b8c9df;
}

html[data-theme="dark"] .detail-page .metric-pill {
  border-color: rgba(118, 152, 224, 0.38);
  background: rgba(30, 58, 106, 0.36);
  color: #d9e7ff;
}

html[data-theme="dark"] .customer-overview-card,
html[data-theme="dark"] .customer-detail-section {
  border-color: rgba(118, 152, 224, 0.2);
}

html[data-theme="dark"] .customer-page .visual-tier-primary {
  border-color: rgba(var(--ui-primary-rgb), 0.28) !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(var(--ui-primary-rgb), 0.12) !important;
}

html[data-theme="dark"] .customer-page .visual-tier-secondary {
  border-color: rgba(122, 162, 204, 0.2) !important;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2) !important;
}

html[data-theme="dark"] .customer-page .visual-tier-tertiary {
  border-color: rgba(122, 162, 204, 0.16) !important;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16) !important;
}

html[data-theme="dark"] .customer-overview-label,
html[data-theme="dark"] .customer-overview-meta,
html[data-theme="dark"] .customer-spotlight-label,
html[data-theme="dark"] .customer-spotlight-note,
html[data-theme="dark"] .customer-wifi-empty {
  color: #b7c7de;
}

html[data-theme="dark"] .customer-overview-value,
html[data-theme="dark"] .customer-spotlight-value {
  color: #eaf2ff;
}

html[data-theme="dark"] .customer-spotlight-card {
  border-color: rgba(118, 152, 224, 0.24);
  background: linear-gradient(160deg, rgba(31, 53, 92, 0.72), rgba(17, 27, 42, 0.82));
}

html[data-theme="dark"] .customer-spotlight-item {
  background: rgba(255,255,255,0.04);
  border-color: rgba(118, 152, 224, 0.16);
}

html[data-theme="dark"] .customer-wifi-empty {
  background: rgba(255,255,255,0.03);
  border-color: rgba(118, 152, 224, 0.18);
}

html[data-theme="dark"] .detail-page .metric-pill .dot {
  background: #8cbcff;
  box-shadow: 0 0 0 3px rgba(96, 140, 216, 0.25);
}

html[data-theme="dark"] .customer-subnav {
  background: rgba(18, 24, 38, 0.9);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .customer-subnav::before {
  background: linear-gradient(to right, rgba(18, 24, 38, 0.96), rgba(18, 24, 38, 0));
}

html[data-theme="dark"] .customer-subnav::after {
  background: linear-gradient(to left, rgba(18, 24, 38, 0.96), rgba(18, 24, 38, 0));
}

html[data-theme="dark"] .customer-subnav .nav-link {
  background: #1d1f23;
  border-color: #313744;
  color: #eef4ff;
}

html[data-theme="dark"] .customer-subnav .nav-link:hover {
  color: #8bb9ff;
  border-color: #5d89d8;
  background: rgba(56, 80, 122, 0.48);
}

html[data-theme="dark"] .customer-subnav .nav-link.active {
  color: #fff;
  border-color: var(--ui-primary-2);
}

html[data-theme="dark"] .detail-table thead th {
  background: #20242c;
  border-bottom-color: #384253;
  color: #d5dfeb;
}

html[data-theme="dark"] .detail-table td {
  color: #f1f5f9;
}

html[data-theme="dark"] .detail-table tbody tr:nth-child(even) {
  background: #171b22;
}

html[data-theme="dark"] .detail-table tbody tr:hover {
  background: #222933;
}

html[data-theme="dark"] .detail-table td {
  border-color: rgba(71, 85, 105, 0.7);
}

html[data-theme="dark"] .detail-table .empty-row td {
  color: #c0cedf;
}

html[data-theme="dark"] .info-item {
  border-color: #354154;
  background: linear-gradient(180deg, rgba(52, 78, 118, 0.35), rgba(25, 35, 49, 0.7));
}

html[data-theme="dark"] .info-label {
  color: #b7c7de;
}

html[data-theme="dark"] .info-value {
  color: #eaf2ff;
}

html[data-theme="dark"] .form-section-title {
  color: #d6e5fb;
  background: rgba(54, 87, 132, 0.24);
  border-color: #4b6793;
}

html[data-theme="dark"] .form-shell .form-label {
  color: #c8d8ee;
}

html[data-theme="dark"] .detail-page .card .form-label {
  color: #c2d5ee;
}

html[data-theme="dark"] .detail-page .card .form-control,
html[data-theme="dark"] .detail-page .card .form-select {
  background: #182235;
  border-color: #3c4f72;
  color: #edf3ff;
}

html[data-theme="dark"] .detail-page .card .form-control::placeholder {
  color: #95a9c6;
}

html[data-theme="dark"] .detail-page .card .form-control:focus,
html[data-theme="dark"] .detail-page .card .form-select:focus {
  border-color: #6d93da;
  box-shadow: 0 0 0 0.2rem rgba(76, 128, 220, 0.22);
}

@media (max-width: 767.98px) {
  .customer-page .panel-hero.compact-aux,
  .customer-page .panel-hero.visual-tier-secondary,
  .customer-page .panel-hero.visual-tier-tertiary,
  .customer-page .detail-page .panel-hero {
    padding: .84rem .9rem;
    border-radius: 16px;
  }

  .customer-page .customer-ops-card.compact-aux,
  .customer-page .customer-form-card.compact-aux,
  .customer-page .employee-form-card.compact-aux,
  .customer-page .hardware-form-card.compact-aux,
  .customer-page .license-form-card.compact-aux,
  .customer-page .service-form-card.compact-aux,
  .customer-page .server-form-card.compact-aux,
  .customer-page .customer-form-pill.compact-aux,
  .customer-page .employee-form-pill.compact-aux,
  .customer-page .hardware-form-pill.compact-aux,
  .customer-page .license-form-pill.compact-aux,
  .customer-page .service-form-pill.compact-aux,
  .customer-page .server-form-pill.compact-aux,
  .customer-page .customer-summary-pill.compact-aux,
  .customer-page .customer-overview-card.compact-aux,
  .customer-page .customer-tab-card.compact-aux,
  .customer-page .customer-spotlight-card.compact-aux,
  .customer-page .customer-detail-section.compact-aux,
  .customer-page .employee-chat-card.compact-aux,
  .customer-page .employee-chat-summary.compact-aux,
  .customer-page .hardware-chat-card.compact-aux,
  .customer-page .hardware-chat-summary.compact-aux,
  .customer-page .license-chat-card.compact-aux,
  .customer-page .license-chat-summary.compact-aux,
  .customer-page .customer-chat-card.compact-aux,
  .customer-page .customer-chat-summary.compact-aux,
  .customer-page .form-shell.compact-aux {
    border-radius: 16px;
  }

  .customer-page .customer-ops-card.compact-aux,
  .customer-page .customer-form-card.compact-aux,
  .customer-page .employee-form-card.compact-aux,
  .customer-page .hardware-form-card.compact-aux,
  .customer-page .license-form-card.compact-aux,
  .customer-page .service-form-card.compact-aux,
  .customer-page .server-form-card.compact-aux {
    min-height: 0;
    padding: .78rem .82rem;
  }

  .customer-page .customer-form-pill.compact-aux,
  .customer-page .employee-form-pill.compact-aux,
  .customer-page .hardware-form-pill.compact-aux,
  .customer-page .license-form-pill.compact-aux,
  .customer-page .service-form-pill.compact-aux,
  .customer-page .server-form-pill.compact-aux,
  .customer-page .customer-summary-pill.compact-aux,
  .customer-page .customer-overview-card.compact-aux,
  .customer-page .customer-tab-card.compact-aux,
  .customer-page .employee-chat-summary.compact-aux,
  .customer-page .hardware-chat-summary.compact-aux,
  .customer-page .license-chat-summary.compact-aux,
  .customer-page .customer-chat-summary.compact-aux,
  .customer-page .contact-stat-card.compact-aux {
    padding: .76rem .82rem;
  }

  .customer-page .customer-detail-section.compact-aux .card-body,
  .customer-page .employee-chat-card.compact-aux,
  .customer-page .hardware-chat-card.compact-aux,
  .customer-page .license-chat-card.compact-aux,
  .customer-page .customer-chat-card.compact-aux,
  .customer-page .form-shell.compact-aux .card-body,
  .customer-page .customer-spotlight-card.compact-aux .card-body {
    padding: .8rem .84rem !important;
  }

  .customer-page .contact-grid-main,
  .customer-page .contact-stat-grid,
  .customer-page .customer-form-grid,
  .customer-page .employee-form-grid,
  .customer-page .hardware-form-grid,
  .customer-page .license-form-grid,
  .customer-page .service-form-grid,
  .customer-page .server-form-grid,
  .customer-page .customer-form-summary,
  .customer-page .employee-form-summary,
  .customer-page .hardware-form-summary,
  .customer-page .license-form-summary,
  .customer-page .service-form-summary,
  .customer-page .server-form-summary {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 575.98px) {
  .customer-page .customer-subnav {
    top: var(--customer-subnav-top, 92px);
    padding: .38rem;
    gap: .4rem;
    border-radius: .92rem;
  }

  .customer-page .customer-subnav .nav-link {
    padding: .48rem .72rem;
    font-size: .77rem;
  }

  .customer-page .panel-hero.compact-aux,
  .customer-page .panel-hero.visual-tier-secondary,
  .customer-page .panel-hero.visual-tier-tertiary,
  .customer-page .detail-page .panel-hero {
    padding: .76rem .8rem;
  }

  .customer-page .compact-aux .page-summary,
  .customer-page .detail-page .page-summary {
    font-size: .8rem;
    line-height: 1.42;
  }

  .customer-page .customer-overview-value,
  .customer-page .compact-aux .customer-overview-value,
  .customer-page .compact-aux .customer-summary-value,
  .customer-page .compact-aux .customer-form-value,
  .customer-page .compact-aux .employee-form-value,
  .customer-page .compact-aux .hardware-form-value,
  .customer-page .compact-aux .license-form-value,
  .customer-page .compact-aux .service-form-value,
  .customer-page .compact-aux .server-form-value {
    font-size: .9rem;
  }
}

@media (max-width: 991.98px) {
  .customer-subnav {
    position: static;
    top: auto;
    z-index: auto;
  }
}
