:root {
  --vm-header-h: 72px;
  --vm-bg: #050111;
  --vm-bg-soft: #0c0720;
  --vm-surface: rgba(13, 9, 32, 0.9);
  --vm-surface-soft: rgba(17, 12, 44, 0.78);
  --vm-border: rgba(170, 109, 255, 0.26);
  --vm-ink: #efe9ff;
  --vm-ink-soft: #b8a7e8;
  --vm-primary: #8f00fd;
  --vm-primary-strong: #ac2dff;
  --vm-success: #35d8a4;
  --vm-warn: #ffc26b;
  --vm-danger: #ff7f9e;
  --vm-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  --vm-radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  width: 100%;
  max-width: 100%;
}

body.portal-page {
  background:
    radial-gradient(circle at 15% 10%, rgba(144, 0, 255, 0.2) 0, transparent 28%),
    radial-gradient(circle at 84% 24%, rgba(94, 0, 192, 0.24) 0, transparent 32%),
    repeating-radial-gradient(circle at center, rgba(173, 97, 255, 0.1) 0, rgba(173, 97, 255, 0.1) 1px, transparent 1px, transparent 22px),
    var(--vm-bg);
  color: var(--vm-ink);
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.portal-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(182, 124, 255, 0.2);
  backdrop-filter: blur(14px);
  background: rgba(6, 2, 20, 0.86);
}

.portal-header-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: var(--vm-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-link img {
  width: 170px;
  max-width: 42vw;
  object-fit: contain;
}

.portal-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.portal-nav a {
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--vm-ink-soft);
  font-size: 0.85rem;
  transition: 180ms ease;
}

.portal-nav a:hover {
  border-color: rgba(166, 97, 255, 0.4);
  color: #fff;
  background: rgba(151, 62, 255, 0.12);
}

.portal-container {
  width: min(1180px, calc(100% - 2rem));
  max-width: 100%;
  margin: 0 auto;
  padding: 18px 0 36px;
}

.portal-shell {
  display: grid;
  gap: 12px;
}

.customer-console {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.customer-main {
  display: grid;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.customer-sidebar {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 12px;
}

.customer-side-user {
  align-items: center;
}

.customer-side-status {
  display: grid;
  gap: 6px;
}

.customer-side-nav {
  display: grid;
  gap: 8px;
  border-top: 1px dashed rgba(183, 133, 255, 0.32);
  padding-top: 10px;
}

.customer-side-btn {
  width: 100%;
  justify-content: space-between;
  border-radius: 12px;
  font-size: 0.9rem;
  padding: 10px 12px;
}

.nav-pill {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.73rem;
  color: #e7dcff;
  background: rgba(255, 255, 255, 0.05);
}

.customer-side-btn.is-active .nav-pill {
  border-color: rgba(236, 210, 255, 0.68);
  background: rgba(255, 255, 255, 0.14);
}

.customer-side-actions {
  display: grid;
  gap: 8px;
  border-top: 1px dashed rgba(183, 133, 255, 0.32);
  padding-top: 10px;
}

.customer-side-actions .btn {
  width: 100%;
}

.customer-side-actions .inline-toggle {
  width: 100%;
  justify-content: center;
}

.customer-metrics-card .section-head {
  margin-bottom: 10px;
}

.metrics-grid-main {
  margin-top: 0;
}

.portal-card {
  border: 1px solid var(--vm-border);
  border-radius: var(--vm-radius);
  background:
    linear-gradient(160deg, rgba(147, 44, 255, 0.1), transparent 52%),
    var(--vm-surface);
  box-shadow: var(--vm-shadow);
  padding: 18px;
}

.portal-title {
  margin: 0 0 4px;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.muted {
  margin: 0;
  color: var(--vm-ink-soft);
  font-size: 0.9rem;
}

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

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

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.section-head h2,
.section-head h3 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.8px;
}

.kicker {
  margin: 0 0 4px;
  color: #d4c2ff;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.form-grid {
  display: grid;
  gap: 10px;
}

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

.form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-grid label {
  display: grid;
  gap: 6px;
  color: #d6ccf6;
  font-size: 0.88rem;
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.vm-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(183, 124, 255, 0.4);
  background: rgba(7, 4, 20, 0.7);
  color: #f8f4ff;
  padding: 10px 12px;
  font-family: inherit;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus,
.vm-input:focus {
  outline: none;
  border-color: rgba(197, 142, 255, 0.95);
  box-shadow: 0 0 0 3px rgba(175, 93, 255, 0.2);
}

.form-grid textarea {
  resize: vertical;
}

.full-line {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn {
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: 180ms ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-primary {
  background: linear-gradient(120deg, var(--vm-primary), #b743ff);
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(166, 67, 255, 0.36);
}

.btn-ghost {
  border-color: rgba(186, 134, 255, 0.35);
  background: rgba(132, 54, 227, 0.12);
  color: #e9ddff;
}

.btn-ghost:hover {
  border-color: rgba(196, 150, 255, 0.62);
  background: rgba(157, 73, 255, 0.2);
}

.btn-danger {
  border-color: rgba(255, 128, 160, 0.4);
  background: rgba(255, 63, 120, 0.14);
  color: #ffd0dc;
}

.feedback {
  margin: 8px 0 0;
  min-height: 20px;
  font-size: 0.87rem;
}

.feedback-success {
  color: #8dfad2;
}

.feedback-error {
  color: #ffafc1;
}

.hidden {
  display: none !important;
}

.list-stack {
  display: grid;
  gap: 8px;
}

.list-item {
  border: 1px solid rgba(177, 118, 255, 0.35);
  border-radius: 14px;
  background: var(--vm-surface-soft);
  padding: 12px;
}

.list-item h4 {
  margin: 0;
  font-size: 1rem;
}

.list-item p {
  margin: 0;
  color: #ccbde7;
  font-size: 0.86rem;
}

.list-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.74rem;
  color: #efe7ff;
  background: rgba(255, 255, 255, 0.03);
}

.badge.success {
  border-color: rgba(72, 217, 164, 0.42);
  color: #8bf3c8;
}

.badge.warn {
  border-color: rgba(255, 193, 99, 0.45);
  color: #ffdca6;
}

.badge.error {
  border-color: rgba(255, 123, 159, 0.5);
  color: #ffbbce;
}

.orders-head-actions {
  align-items: center;
  gap: 10px;
}

.orders-head-actions .btn {
  min-height: 42px;
}

.orders-total-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(185, 140, 255, 0.5);
  background: rgba(45, 26, 92, 0.35);
  color: #f0e7ff;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.orders-total-pill.is-empty {
  border-color: rgba(158, 126, 212, 0.38);
  color: #cab8ee;
  background: rgba(32, 20, 66, 0.3);
}

.ticket-message {
  margin-top: 8px;
  border-top: 1px dashed rgba(184, 140, 255, 0.34);
  padding-top: 8px;
}

.ticket-message p {
  margin: 0 0 6px;
}

.ticket-message strong {
  color: #fff;
}

.ticket-inline-reply {
  margin-top: 8px;
  border: 1px dashed rgba(184, 140, 255, 0.4);
  border-radius: 12px;
  padding: 10px;
  background: rgba(10, 6, 30, 0.6);
}

.ticket-inline-reply textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(183, 124, 255, 0.4);
  background: rgba(7, 4, 20, 0.72);
  color: #f8f4ff;
  padding: 10px 12px;
  font-family: inherit;
  resize: vertical;
}

.ticket-inline-actions {
  margin-top: 8px;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.ticket-card-minimal {
  padding: 14px;
}

.ticket-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.ticket-open-summary {
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

.ticket-open-summary:focus-visible {
  outline: 2px solid rgba(196, 157, 255, 0.92);
  outline-offset: 2px;
  border-radius: 10px;
}

.ticket-created-at {
  margin-top: 4px;
  color: #ccbde7;
  font-size: 0.84rem;
}

.ticket-support-bell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 196, 102, 0.45);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(255, 196, 102, 0.12);
}

.ticket-support-bell-icon {
  font-size: 0.9rem;
  line-height: 1;
}

.ticket-support-bell-count {
  font-size: 0.8rem;
  color: #ffe3a7;
  font-weight: 700;
}

.ticket-thread {
  margin-top: 8px;
}

.ticket-page-shell {
  display: grid;
  gap: 14px;
}

.ticket-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.ticket-page-meta-badges {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ticket-support-bell-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 196, 102, 0.42);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 196, 102, 0.12);
  color: #ffe2a6;
  font-size: 0.85rem;
  font-weight: 600;
}

.ticket-thread-list {
  display: grid;
  gap: 10px;
  max-height: 52vh;
  overflow: auto;
  padding-right: 4px;
}

.ticket-thread-message {
  border: 1px solid rgba(182, 133, 255, 0.32);
  border-radius: 12px;
  background: rgba(10, 6, 28, 0.8);
  padding: 10px 11px;
}

.ticket-thread-message.is-customer {
  border-color: rgba(112, 208, 255, 0.44);
  background: rgba(11, 27, 49, 0.58);
}

.ticket-thread-message.is-support {
  border-color: rgba(198, 151, 255, 0.44);
  background: rgba(40, 17, 76, 0.48);
}

.ticket-thread-message.is-system {
  border-color: rgba(255, 193, 99, 0.42);
  background: rgba(48, 34, 11, 0.44);
}

.ticket-thread-message-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.ticket-thread-message-head strong {
  color: #fff;
  font-size: 0.86rem;
}

.ticket-thread-message-head span {
  color: #c7bae2;
  font-size: 0.76rem;
}

.ticket-thread-message p {
  margin: 0;
  line-height: 1.55;
  color: #e5d9fb;
  white-space: pre-wrap;
  word-break: break-word;
}

.ticket-reply-form {
  display: grid;
  gap: 10px;
}

.ticket-reply-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(183, 124, 255, 0.38);
  background: rgba(7, 4, 20, 0.72);
  color: #f8f4ff;
  padding: 11px 12px;
  font-family: inherit;
  resize: vertical;
}

.ticket-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.empty {
  color: var(--vm-ink-soft);
  font-size: 0.9rem;
  border: 1px dashed rgba(184, 137, 255, 0.36);
  border-radius: 12px;
  padding: 12px;
}

.empty-hero {
  text-align: center;
  background: rgba(30, 16, 63, 0.32);
  border-style: solid;
}

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

.product-card {
  border: 1px solid rgba(180, 126, 255, 0.38);
  border-radius: 14px;
  background:
    linear-gradient(160deg, rgba(171, 84, 255, 0.1), transparent 48%),
    rgba(11, 7, 28, 0.84);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.product-media {
  border: 1px solid rgba(180, 126, 255, 0.32);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(8, 4, 20, 0.8);
  aspect-ratio: 16 / 9;
}

.product-media img,
.product-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-card p {
  margin: 0;
  color: #d3c5ef;
  font-size: 0.86rem;
}

.price {
  font-size: 1.2rem;
  color: #fff;
}

.cart-item {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(180, 126, 255, 0.3);
  border-radius: 12px;
  padding: 10px;
  background: rgba(15, 10, 36, 0.72);
}

.cart-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.qty-tools {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qty-tools button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(180, 126, 255, 0.4);
  background: rgba(132, 54, 227, 0.16);
  color: #f7eeff;
  cursor: pointer;
}

.total-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(194, 146, 255, 0.45);
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 8px;
}

.total-box strong {
  font-size: 1.1rem;
}

.support-inline {
  margin-top: 10px;
  color: #d0c0ed;
  font-size: 0.85rem;
}

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

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

  .form-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .portal-header-inner,
  .portal-container {
    width: min(1180px, calc(100% - 1rem));
  }

  .grid-2,
  .grid-3,
  .form-grid-2,
  .form-grid-3,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .portal-card {
    padding: 14px;
  }

  .portal-nav {
    display: none;
  }
}

.auth-shell {
  gap: 16px;
}

.feature-pills {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-pills span {
  border: 1px solid rgba(187, 139, 255, 0.38);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(148, 68, 255, 0.12);
  font-size: 0.76rem;
  color: #e7dcff;
}

.soft-card {
  background:
    linear-gradient(160deg, rgba(142, 53, 249, 0.12), transparent 56%),
    rgba(10, 6, 27, 0.94);
}

.user-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-hero-card {
  padding: 16px;
}

.dashboard-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 12px;
  margin-bottom: 10px;
}

.dashboard-identity,
.dashboard-controls {
  border: 1px solid rgba(178, 125, 255, 0.3);
  border-radius: 14px;
  background: rgba(12, 8, 34, 0.7);
  padding: 12px;
}

.dashboard-controls {
  display: grid;
  gap: 10px;
  align-content: start;
}

.hero-meta-row {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(186, 136, 255, 0.38);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(31, 16, 64, 0.76);
  color: #e6d8ff;
  font-size: 0.74rem;
}

.hero-chip.is-linked {
  border-color: rgba(97, 224, 183, 0.44);
  color: #98f2d4;
}

.control-actions {
  align-items: center;
}

.avatar-shell {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(188, 140, 255, 0.45);
  background: rgba(12, 7, 34, 0.75);
  display: grid;
  place-items: center;
}

.avatar-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.metrics-grid {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.metrics-grid-hero {
  margin-top: 4px;
}

.metric-card {
  border: 1px solid rgba(175, 122, 250, 0.35);
  border-radius: 12px;
  background: rgba(20, 11, 45, 0.75);
  padding: 10px;
}

.metric-card strong {
  display: block;
  font-size: 1.04rem;
  color: #fdfbff;
}

.metric-card span {
  color: #baa9db;
  font-size: 0.78rem;
}

.metric-eyebrow {
  display: block;
  margin-bottom: 4px;
  font-size: 0.67rem;
  color: #af9bd5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-card {
  transition: transform 180ms ease, border-color 180ms ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  border-color: rgba(199, 151, 255, 0.58);
}

.live-indicators {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.inline-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(183, 137, 255, 0.34);
  border-radius: 999px;
  padding: 7px 10px;
  color: #e8dcff;
  font-size: 0.78rem;
  background: rgba(30, 15, 62, 0.72);
}

.inline-toggle input {
  width: 14px;
  height: 14px;
}

.tabs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tabs-shell {
  position: sticky;
  top: 82px;
  z-index: 12;
  backdrop-filter: blur(8px);
}

.tab-btn {
  border: 1px solid rgba(181, 132, 255, 0.34);
  border-radius: 999px;
  background: rgba(30, 16, 61, 0.72);
  color: #dbcfff;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: 180ms ease;
}

.tab-btn:hover {
  border-color: rgba(200, 156, 255, 0.6);
  background: rgba(54, 28, 108, 0.74);
}

.tab-btn.is-active {
  border-color: rgba(214, 178, 255, 0.86);
  background: linear-gradient(120deg, rgba(147, 40, 255, 0.92), rgba(103, 28, 212, 0.88));
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: grid;
  gap: 12px;
}

.profile-workspace {
  display: grid;
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.profile-nav-card {
  position: sticky;
  top: 150px;
}

.profile-subtabs {
  display: grid;
  gap: 7px;
  margin-top: 4px;
}

.profile-subtab-btn {
  width: 100%;
  border: 1px solid rgba(181, 132, 255, 0.34);
  border-radius: 12px;
  background: rgba(30, 16, 61, 0.72);
  color: #dbcfff;
  padding: 9px 11px;
  font-size: 0.81rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: 180ms ease;
}

.profile-subtab-btn:hover {
  border-color: rgba(200, 156, 255, 0.6);
  background: rgba(54, 28, 108, 0.74);
}

.profile-subtab-btn.is-active {
  border-color: rgba(214, 178, 255, 0.86);
  background: linear-gradient(120deg, rgba(147, 40, 255, 0.92), rgba(103, 28, 212, 0.88));
  color: #fff;
}

.profile-progress-inline {
  margin-top: 12px;
}

.profile-editor-card {
  min-height: 100%;
}

.profile-subpanel {
  display: none;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 10px;
}

.profile-subpanel.is-active {
  display: grid;
}

.profile-submit-row {
  margin-top: 2px;
}

.profile-bio-counter {
  margin: -2px 0 0;
  font-size: 0.8rem;
}

.quick-actions-card {
  background:
    linear-gradient(170deg, rgba(98, 32, 194, 0.22), transparent 55%),
    rgba(10, 6, 29, 0.92);
}

.quick-links-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quick-link {
  width: 100%;
  border: 1px solid rgba(188, 140, 255, 0.36);
  border-radius: 13px;
  background: rgba(20, 10, 48, 0.78);
  color: #efe4ff;
  text-decoration: none;
  text-align: left;
  padding: 11px 12px;
  display: grid;
  gap: 4px;
  transition: transform 170ms ease, border-color 170ms ease, background 170ms ease;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
}

.quick-link strong {
  font-size: 0.88rem;
  color: #fff;
}

.quick-link span {
  color: #beaedf;
  font-size: 0.8rem;
  line-height: 1.5;
}

.quick-link:hover {
  transform: translateY(-1px);
  border-color: rgba(210, 172, 255, 0.62);
  background: rgba(48, 23, 99, 0.8);
}

.form-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
}

.chip-btn {
  border: 1px solid rgba(184, 136, 255, 0.36);
  border-radius: 999px;
  background: rgba(26, 13, 55, 0.74);
  color: #ddceff;
  padding: 6px 11px;
  font-size: 0.77rem;
  font-weight: 600;
  cursor: pointer;
  transition: 180ms ease;
}

.chip-btn:hover {
  border-color: rgba(202, 162, 255, 0.6);
  background: rgba(52, 26, 102, 0.76);
}

.chip-btn.is-active {
  border-color: rgba(215, 176, 255, 0.86);
  background: linear-gradient(120deg, rgba(140, 40, 250, 0.94), rgba(96, 28, 203, 0.88));
  color: #fff;
}

.order-row-highlight {
  border-color: rgba(255, 126, 174, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 104, 157, 0.24) inset;
}

.order-codes {
  border: 1px dashed rgba(185, 140, 255, 0.42);
  border-radius: 10px;
  padding: 8px;
  background: rgba(11, 6, 31, 0.74);
  color: #ece3ff;
  font-size: 0.83rem;
}

.order-timeline {
  border-top: 1px dashed rgba(178, 132, 255, 0.4);
  margin-top: 8px;
  padding-top: 8px;
  display: grid;
  gap: 6px;
}

.order-timeline p {
  margin: 0;
  font-size: 0.8rem;
  color: #d0c4e8;
}

.order-timeline p small {
  color: #a999ca;
}

.ticket-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.ticket-message {
  border-top: 1px dashed rgba(184, 140, 255, 0.34);
  margin-top: 8px;
  padding-top: 8px;
}

.inline {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.profile-progress {
  margin-top: 10px;
  border: 1px solid rgba(177, 130, 255, 0.32);
  border-radius: 12px;
  background: rgba(15, 8, 38, 0.76);
  padding: 10px;
}

.profile-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.profile-progress-head strong {
  font-size: 0.82rem;
  color: #f0e7ff;
}

.profile-progress-head span {
  font-size: 0.78rem;
  color: #d8c8f6;
}

.profile-progress-track {
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(194, 150, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.profile-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #64dcff, #88ffbe);
  transition: width 200ms ease;
}

.badge.info {
  border-color: rgba(108, 200, 255, 0.52);
  color: #b8e3ff;
}

.list-item {
  transition: transform 160ms ease, border-color 160ms ease;
}

.list-item:hover {
  transform: translateY(-1px);
  border-color: rgba(202, 164, 255, 0.54);
}

.btn:focus-visible,
.tab-btn:focus-visible,
.chip-btn:focus-visible,
.profile-subtab-btn:focus-visible {
  outline: 2px solid rgba(196, 157, 255, 0.92);
  outline-offset: 2px;
}

.password-meter {
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(193, 148, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.password-meter span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #ff5f97, #ffb86a);
  transition: width 180ms ease, background 180ms ease;
}

.password-meter span.level-good {
  background: linear-gradient(90deg, #ffc94f, #8bf7ad);
}

.password-meter span.level-strong {
  background: linear-gradient(90deg, #62dfff, #84ffbc);
}

.portal-toast-stack {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1500;
  width: min(360px, calc(100vw - 24px));
  display: grid;
  gap: 8px;
}

.portal-toast {
  border: 1px solid rgba(190, 147, 255, 0.46);
  border-radius: 12px;
  background: rgba(13, 8, 34, 0.94);
  padding: 10px 12px;
  font-size: 0.84rem;
  color: #efe7ff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32);
}

.portal-toast.success {
  border-color: rgba(84, 239, 169, 0.5);
}

.portal-toast.error {
  border-color: rgba(255, 130, 168, 0.58);
}

.portal-toast.info {
  border-color: rgba(108, 198, 255, 0.56);
}

.auth-page-shell {
  min-height: calc(100vh - 160px);
  display: grid;
  place-items: center;
}

.auth-page-card {
  width: min(560px, 100%);
  display: grid;
  gap: 10px;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  color: #bfaee3;
  font-size: 0.78rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 142, 255, 0.4), transparent);
}

.btn-discord {
  border-color: rgba(135, 152, 255, 0.56);
  background: linear-gradient(120deg, rgba(88, 101, 242, 0.92), rgba(110, 74, 255, 0.92));
  color: #fff;
}

.btn-discord:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(91, 104, 255, 0.34);
}

.btn-discord.is-disabled,
.btn-discord[aria-disabled="true"] {
  opacity: 0.64;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}

.auth-alt-link {
  margin: 0;
  color: #d5c7ef;
  font-size: 0.86rem;
  text-align: center;
}

.auth-alt-link a {
  color: #cba3ff;
  text-decoration: none;
}

.auth-alt-link a:hover {
  text-decoration: underline;
}

@media (max-width: 1080px) {
  .customer-console {
    grid-template-columns: 1fr;
  }

  .customer-sidebar {
    position: static;
  }

  .customer-side-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .form-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-links-grid {
    grid-template-columns: 1fr;
  }

  .profile-workspace {
    grid-template-columns: 1fr;
  }

  .profile-nav-card {
    position: static;
  }

  .profile-subtabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .metrics-grid,
  .form-grid-4 {
    grid-template-columns: 1fr;
  }

  .customer-side-nav {
    grid-template-columns: 1fr;
  }

  .tabs-shell {
    top: 72px;
  }

  .user-header {
    align-items: flex-start;
  }

  .live-indicators {
    width: 100%;
  }

  .inline-toggle {
    width: 100%;
    justify-content: center;
  }

  .section-head {
    align-items: flex-start;
  }

  .profile-subtabs,
  .profile-subpanel {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 981px) {
  .customer-dashboard-page {
    overflow-x: hidden;
  }

  .portal-container.customer-layout-root {
    min-height: calc(100dvh - var(--vm-header-h));
    padding: 12px 0;
  }

  #dashboard-panel.customer-console {
    min-height: calc(100dvh - var(--vm-header-h) - 24px);
  }

  .customer-console {
    min-height: inherit;
  }

  .customer-sidebar {
    align-self: start;
  }

  .customer-main {
    grid-template-rows: auto auto;
  }

  .customer-metrics-card {
    padding: 14px;
  }

  .tab-panel.is-active {
    padding-right: 0;
  }
}

/* Clean UI overrides (menos poluicao visual) */
body.portal-page {
  background: linear-gradient(180deg, #080614 0%, #070511 100%);
}

.portal-header {
  backdrop-filter: none;
  background: #090716;
  border-bottom-color: rgba(156, 121, 214, 0.18);
}

.portal-card {
  background: rgba(12, 10, 26, 0.94);
  border-color: rgba(155, 122, 212, 0.22);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
}

.kicker {
  color: #bca7e3;
  letter-spacing: 0.12em;
}

.customer-console {
  gap: 14px;
}

.customer-sidebar {
  gap: 10px;
}

.customer-side-user {
  border: 1px solid rgba(155, 122, 212, 0.22);
  border-radius: 12px;
  padding: 10px;
  background: rgba(15, 13, 31, 0.76);
}

.hero-meta-row {
  margin-top: 0;
}

.customer-side-nav,
.customer-side-actions {
  border-top: 0;
  padding-top: 0;
}

.customer-side-btn {
  border-color: rgba(155, 122, 212, 0.24);
  background: rgba(15, 13, 31, 0.8);
}

.customer-side-btn:hover {
  border-color: rgba(191, 161, 241, 0.42);
  background: rgba(21, 18, 40, 0.9);
}

.customer-side-btn.is-active {
  background: linear-gradient(120deg, #7f2ff0, #5f24bb);
  border-color: rgba(207, 179, 252, 0.7);
}

.customer-side-btn[data-tab="overview"] .nav-pill {
  display: none;
}

.nav-pill {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  font-weight: 600;
}

.customer-side-actions .inline-toggle,
.customer-side-actions .btn {
  min-height: 42px;
}

.customer-metrics-card .section-head {
  margin-bottom: 8px;
}

.metrics-grid-main {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.metric-card {
  background: rgba(15, 13, 31, 0.84);
  border-color: rgba(155, 122, 212, 0.24);
  transition: border-color 140ms ease, background 140ms ease;
}

.metric-card:hover {
  transform: none;
  border-color: rgba(191, 161, 241, 0.38);
  background: rgba(19, 16, 36, 0.92);
}

.metric-card strong {
  font-size: 1rem;
}

.tab-panel.is-active {
  gap: 14px;
}

.section-head {
  margin-bottom: 10px;
}

.list-item,
.quick-link {
  background: rgba(15, 13, 31, 0.8);
  border-color: rgba(155, 122, 212, 0.22);
}

.list-item:hover,
.quick-link:hover {
  transform: none;
  border-color: rgba(191, 161, 241, 0.34);
}

.quick-actions-card {
  background: rgba(12, 10, 26, 0.94);
}

.quick-link {
  padding: 10px 12px;
}

.quick-link span {
  color: #b8a7d8;
}

.chip-btn,
.tab-btn {
  border-color: rgba(155, 122, 212, 0.24);
  background: rgba(15, 13, 31, 0.8);
}

.chip-btn:hover,
.tab-btn:hover {
  background: rgba(21, 18, 40, 0.9);
  border-color: rgba(191, 161, 241, 0.38);
}

.chip-btn.is-active,
.tab-btn.is-active {
  background: linear-gradient(120deg, #7f2ff0, #5f24bb);
  border-color: rgba(207, 179, 252, 0.7);
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.vm-input {
  background: rgba(11, 10, 24, 0.86);
  border-color: rgba(155, 122, 212, 0.3);
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus,
.vm-input:focus {
  border-color: rgba(191, 161, 241, 0.62);
  box-shadow: 0 0 0 2px rgba(156, 110, 233, 0.18);
}

.badge {
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 1180px) {
  .metrics-grid-main {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (max-width: 760px) {
  .metrics-grid-main {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .portal-header-inner,
  .portal-container {
    width: min(1180px, calc(100% - 1rem));
  }

  .portal-header-inner {
    min-height: 68px;
  }

  .brand-link img {
    width: 150px;
    max-width: 54vw;
  }

  .portal-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    width: 100%;
    padding-bottom: 2px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .portal-nav a {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .customer-sidebar {
    padding: 12px;
    border-radius: 14px;
  }

  .customer-side-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .customer-side-btn {
    min-width: 170px;
    flex: 0 0 auto;
  }

  .customer-side-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .customer-side-actions .btn,
  .customer-side-actions .inline-toggle {
    min-height: 42px;
  }

  .chips-row,
  .tabs-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .chip-btn,
  .tab-btn {
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .section-head {
    align-items: flex-start;
  }

  .orders-head-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .orders-head-actions .btn,
  .orders-total-pill {
    width: 100%;
    justify-content: center;
  }

  .orders-total-pill {
    grid-column: 1 / -1;
  }

  .form-actions .btn,
  .form-actions a.btn {
    flex: 1 1 calc(50% - 4px);
  }

  .ticket-page-head {
    align-items: flex-start;
  }

  .ticket-page-meta-badges {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .portal-header-inner,
  .portal-container {
    width: min(1180px, calc(100% - 0.75rem));
  }

  .portal-header-inner {
    min-height: 64px;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
  }

  .brand-link img {
    width: 138px;
    max-width: 58vw;
  }

  .portal-nav {
    display: flex;
  }

  .portal-nav a {
    font-size: 0.8rem;
    padding: 8px 11px;
  }

  .portal-card {
    padding: 12px;
    border-radius: 14px;
  }

  .portal-title {
    font-size: clamp(1.25rem, 6vw, 1.6rem);
  }

  .customer-side-btn {
    min-width: 152px;
    padding: 9px 10px;
    font-size: 0.84rem;
  }

  .customer-side-actions {
    grid-template-columns: 1fr;
  }

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

  .form-actions .btn,
  .form-actions a.btn {
    width: 100%;
    flex: none;
  }

  .orders-head-actions {
    grid-template-columns: 1fr;
  }

  .chips-row,
  .tabs-row,
  .customer-side-nav {
    padding-bottom: 2px;
  }

  .list-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ticket-thread-list {
    max-height: 46vh;
  }

  .ticket-page-actions,
  .ticket-inline-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ticket-page-actions .btn,
  .ticket-inline-actions .btn {
    width: 100%;
  }

  .profile-subtabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .profile-subtab-btn {
    flex: 0 0 auto;
    min-width: 160px;
    text-align: center;
  }

  .profile-submit-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .profile-submit-row .btn {
    width: 100%;
  }
}

/* Mobile menu para perfil do cliente */
.customer-mobile-menu-trigger {
  display: none;
}

.header-mobile-menu-trigger {
  display: none;
}

.customer-mobile-menu-btn {
  display: none;
  min-height: 40px;
  padding: 8px 12px;
  gap: 10px;
  font-size: 0.84rem;
}

.customer-mobile-menu-icon {
  display: grid;
  gap: 3px;
}

.customer-mobile-menu-icon span {
  display: block;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-label-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.menu-inline-icon {
  width: 20px;
  height: 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
}

.menu-inline-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.customer-mobile-menu-sheet {
  display: grid;
  gap: 10px;
}

.customer-mobile-menu-header,
.customer-mobile-shortcuts {
  display: none;
}

.customer-mobile-menu-overlay {
  display: none;
}

@media (max-width: 900px) {
  .header-mobile-menu-trigger {
    display: flex;
    margin-left: auto;
    align-items: center;
  }

  .customer-mobile-menu-btn {
    display: inline-flex;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .customer-mobile-menu-sheet {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 360px);
    max-width: calc(100vw - 8px);
    height: 100dvh;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 12px calc(18px + env(safe-area-inset-bottom, 0px));
    border-left: 1px solid rgba(172, 141, 226, 0.32);
    background: rgba(10, 8, 23, 0.98);
    box-shadow: -20px 0 34px rgba(0, 0, 0, 0.52);
    transform: translateX(106%);
    transition: transform 180ms ease;
    z-index: 1400;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    pointer-events: none;
  }

  .customer-mobile-menu-sheet.is-open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .customer-mobile-menu-sheet[aria-hidden="true"] {
    visibility: hidden;
  }

  .customer-mobile-menu-sheet.is-open {
    visibility: visible;
  }

  .customer-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .customer-mobile-menu-title {
    margin: 0;
    color: #f6f0ff;
    font-size: 0.96rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .customer-mobile-menu-close {
    min-height: 36px;
    padding: 7px 11px;
    font-size: 0.78rem;
  }

  .customer-mobile-menu-sheet .customer-side-nav {
    display: grid;
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }

  .customer-mobile-menu-sheet .customer-side-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
    width: 100%;
    flex: none;
    min-height: 50px;
    padding: 10px 13px;
  }

  .customer-mobile-menu-sheet .menu-label-wrap {
    font-size: 0.96rem;
    font-weight: 700;
  }

  .customer-mobile-menu-sheet .menu-meta-pill {
    display: none;
  }

  .customer-mobile-menu-sheet .customer-side-actions {
    grid-template-columns: 1fr;
  }

  .customer-mobile-shortcuts {
    display: grid;
    gap: 9px;
    border-top: 1px dashed rgba(171, 134, 232, 0.32);
    padding-top: 10px;
  }

  .customer-mobile-shortcuts-grid {
    display: grid;
    gap: 8px;
  }

  .customer-mobile-shortcuts-grid .menu-shortcut {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 11px;
    min-height: 50px;
    padding: 11px 12px;
    background: rgba(19, 13, 42, 0.84);
    border-color: rgba(170, 139, 233, 0.26);
  }

  .customer-mobile-shortcuts-grid .menu-shortcut > span:last-child {
    color: #efe8ff;
    font-size: 0.93rem;
    font-weight: 700;
    letter-spacing: 0.01em;
  }

  .customer-mobile-menu-footer {
    border-top: 1px dashed rgba(171, 134, 232, 0.32);
    padding-top: 10px;
  }

  .customer-mobile-icon-btn {
    width: 100%;
    min-height: 46px;
    justify-content: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    background: rgba(19, 13, 42, 0.84);
    border-color: rgba(170, 139, 233, 0.26);
  }

  .customer-mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1350;
    background: rgba(4, 3, 11, 0.64);
  }

  .customer-mobile-menu-overlay.is-visible {
    display: block;
  }

  body.mobile-menu-open {
    overflow: hidden;
  }

  .quick-actions-card {
    display: none;
  }
}

@media (max-width: 900px) {
  .customer-dashboard-page .portal-header-inner {
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
  }

  .customer-dashboard-page .portal-container {
    width: 100%;
    max-width: 100%;
    padding: 12px 8px 26px;
  }

  .customer-dashboard-page .portal-nav {
    display: none !important;
  }

  .customer-dashboard-page .brand-link img {
    width: 146px;
    max-width: 62vw;
  }

  .customer-sidebar {
    display: contents;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    gap: 0;
  }

  .customer-sidebar > div:first-child,
  .customer-sidebar .customer-side-user,
  .customer-sidebar .hero-meta-row {
    display: none;
  }

  .header-mobile-menu-trigger .customer-mobile-menu-btn {
    width: auto;
    justify-content: center;
    min-height: 38px;
    border-color: rgba(185, 151, 246, 0.44);
    background: rgba(32, 19, 66, 0.78);
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  .customer-dashboard-page .customer-layout-root,
  .customer-dashboard-page #dashboard-panel,
  .customer-dashboard-page .customer-main,
  .customer-dashboard-page .tab-panel,
  .customer-dashboard-page .profile-workspace,
  .customer-dashboard-page .portal-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .customer-dashboard-page .muted {
    overflow-wrap: anywhere;
  }

  .customer-side-user {
    padding: 9px;
    gap: 8px;
  }

  .avatar-shell {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .customer-side-status {
    gap: 5px;
  }

  .hero-meta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .hero-chip {
    width: 100%;
    min-height: 36px;
    justify-content: center;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .customer-main {
    gap: 10px;
  }

  .customer-metrics-card {
    padding: 13px;
  }

  .metrics-grid-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .metrics-grid-main .metric-card {
    padding: 9px;
  }

  .metrics-grid-main .metric-card:nth-child(n + 5) {
    display: none;
  }
}

@media (max-width: 420px) {
  .customer-dashboard-page .brand-link img {
    width: 136px;
    max-width: 64vw;
  }

  .metrics-grid-main {
    grid-template-columns: 1fr;
  }
}
