:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --txt: #102033;
  --muted: #64748b;
  --primary: #1d4ed8;
  --primary-dark: #173f9f;
  --accent: #0f766e;
  --green: #15803d;
  --green-dark: #11632f;
  --red: #b91c1c;
  --line: #d9e2ec;
  --line-strong: #c6d3e1;
  --shadow: 0 14px 36px rgba(15, 23, 42, .08);
  --shadow-soft: 0 8px 22px rgba(15, 23, 42, .06);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: linear-gradient(180deg, #eef3f9 0, var(--bg) 300px);
  color: var(--txt);
  font-family: "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

a {
  color: var(--primary);
  font-weight: 650;
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  padding: 14px 28px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(15, 23, 42, .05);
}

.nav > div:last-child {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
}

.nav b {
  color: var(--txt);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0b1f3a;
  font-size: 21px;
  font-weight: 800;
}

.brand::before {
  content: "";
  width: 10px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: inset 0 -10px 0 rgba(255, 255, 255, .22);
}

.container {
  width: min(1180px, calc(100% - 36px));
  margin: 32px auto;
  padding: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .75fr);
  gap: 22px;
  align-items: stretch;
  min-height: calc(100vh - 140px);
}

.hero > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  color: #0b1f3a;
  line-height: 1.15;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 850;
}

h2 {
  font-size: 25px;
  font-weight: 800;
}

h3 {
  font-size: 18px;
  font-weight: 800;
}

p {
  margin: 0 0 16px;
}

.muted {
  color: var(--muted);
}

.hero .muted {
  max-width: 620px;
  font-size: 17px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.hero .card {
  align-self: center;
  border-top: 4px solid var(--accent);
}

.container > .card:first-child {
  max-width: 1064px;
  margin: 0 auto 22px;
}

.container > h2 {
  max-width: 1064px;
  margin: 20px auto 18px;
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: fit-content;
  border: 0;
  border-radius: var(--radius);
  padding: 11px 16px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(29, 78, 216, .18);
  transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}

.btn:hover,
button.btn:hover {
  background: var(--primary-dark);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(29, 78, 216, .24);
  transform: translateY(-1px);
}

.btn.green {
  background: var(--green);
  box-shadow: 0 8px 18px rgba(21, 128, 61, .18);
}

.btn.green:hover {
  background: var(--green-dark);
  box-shadow: 0 10px 22px rgba(21, 128, 61, .24);
}

.btn.red {
  background: var(--red);
}

form {
  margin: 0;
}

input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  margin: 8px 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--txt);
  font: inherit;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: #7b8da3;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, .12);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 18px;
  max-width: 1064px;
  margin: 0 auto;
}

.grid .card {
  display: flex;
  flex-direction: column;
  min-height: 232px;
  padding: 24px 22px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.grid .card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.grid .card p {
  color: var(--muted);
}

.grid .card h2 {
  margin-top: auto;
  color: #0b1f3a;
  font-size: 25px;
}

.grid .card .btn {
  margin-top: 8px;
}

.vehicle {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 24px;
  align-items: start;
}

.vehicle img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e7f5f2;
  color: #0f5f58;
  font-size: 13px;
  font-weight: 750;
}

table {
  width: 100%;
  margin: 0 0 28px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #edf3f8;
  color: #334155;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

tr:hover td {
  background: #f8fafc;
}

@media (max-width: 800px) {
  body {
    font-size: 14px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 18px;
  }

  .nav > div:last-child {
    justify-content: flex-start;
  }

  .container {
    width: min(100% - 24px, 1180px);
    margin: 22px auto;
  }

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

  .hero {
    min-height: auto;
  }

  .hero > div:first-child {
    padding: 22px 0 0;
  }

  .card {
    padding: 20px;
  }

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

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

.container > .card:only-child {
  max-width: 560px;
  margin: 72px auto;
}

.container > .card:only-child .btn {
  margin-top: 4px;
}

@media (max-width: 800px) {
  .container > .card:only-child {
    margin: 22px auto;
  }
}

.nav-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.status-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

.status-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #edf3f8;
  color: #0b1f3a;
  font-size: 15px;
}

.referral-card {
  display: grid;
  grid-template-columns: minmax(220px, .55fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: end;
  max-width: 1064px;
  margin: 0 auto 25px;
  border-top: 4px solid var(--accent);
}

.copy-field {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 10px;
  align-items: center;
}

.copy-field input {
  margin: 0;
  font-weight: 650;
  color: #0b1f3a;
  background: var(--surface-soft);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--primary);
  cursor: pointer;
  font-size: 18px;
  box-shadow: var(--shadow-soft);
}

.icon-btn:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 22px rgba(29, 78, 216, .14);
}

.copy-status {
  grid-column: 2;
  margin: -8px 0 0;
}

.checkline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 10px 12px 0;
  color: var(--muted);
  font-weight: 650;
}

.checkline input {
  width: auto;
  min-height: auto;
  margin: 0;
}

@media (max-width: 800px) {
  .referral-card,
  .copy-status {
    grid-template-columns: 1fr;
    grid-column: auto;
  }
}

.agreement-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.agreement-line input {
  width: auto;
  min-height: auto;
  margin: 0;
}

.agreement-line a {
  font-size: 13px;
}

.link-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}

.link-button:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(15, 23, 42, .56);
}

.modal-backdrop[hidden] {
  display: none;
}

.agreement-modal {
  position: relative;
  width: min(760px, 100%);
  max-height: min(82vh, 760px);
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #ffffff;
  color: #0b1f3a;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.agreement-content {
  max-height: min(82vh, 760px);
  overflow-y: auto;
  padding: 34px 34px 28px;
  user-select: none;
}

.agreement-content h2 {
  padding-right: 44px;
}

.agreement-content h3 {
  margin-top: 22px;
  font-size: 16px;
}

.agreement-content p {
  color: #334155;
}


.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.form-link {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.form-link:hover,
.form-link:focus {
  color: var(--primary-dark);
  text-decoration: underline;
}

.uppercase-input {
  text-transform: uppercase;
}

.results-card {
  margin-top: 16px;
}

.results-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.results-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 880px;
  font-size: 14px;
}

.results-table th,
.results-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.results-table th {
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.results-table tr:last-child td {
  border-bottom: 0;
}

.view-btn {
  min-width: 48px;
  border: 0;
  border-radius: 7px;
  padding: 8px 10px;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.view-red { background: #dc2626; }
.view-blue { background: #2563eb; }
.view-green { background: #16a34a; }

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.page-link.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.vehicle-modal {
  position: relative;
  width: min(980px, 96vw);
  max-height: 88vh;
  overflow: hidden;
  border-radius: var(--radius);
  background: #f8fafc;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
}

.vehicle-modal-content {
  max-height: 88vh;
  overflow-y: auto;
  padding: 26px;
}

.detail-panel {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.detail-panel + .detail-panel {
  margin-top: 16px;
}

.owner-photo,
.vehicle-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #f1f5f9;
}

.detail-panel h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.detail-panel p {
  margin: 9px 0;
}

@media (max-width: 720px) {
  .detail-panel {
    grid-template-columns: 1fr;
  }

  .vehicle-modal-content {
    padding: 18px;
  }
}

.search-submit-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.search-cost-notice {
  color: #dc2626;
  font-size: 14px;
  font-weight: 800;
}

html,
body {
  margin: 0;
  padding: 0;
}

.nav {
  margin-top: 0;
}

.referral-card {
  margin-top: 22px;
}

.package-saving {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin: -2px 0 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534 !important;
  font-size: 12px;
  font-weight: 800;
}

.profile-link {
  color: var(--muted);
  text-decoration: none;
}

.profile-link:hover {
  color: var(--primary);
  text-decoration: none;
}

.profile-container {
  display: grid;
  gap: 18px;
}

.profile-summary {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
}

.profile-summary h2,
.profile-summary h3 {
  margin-bottom: 4px;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 18px;
  max-width: 1064px;
  margin: 0 auto;
  width: 100%;
}

.profile-payments {
  max-width: 1064px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 860px) {
  .profile-summary,
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

.profile-summary {
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 32px;
}

.profile-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.profile-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  justify-content: center;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--primary);
}

.profile-identity h2 {
  margin: 0 0 4px;
  line-height: 1.15;
}

.profile-type-label {
  display: inline-flex;
  margin-bottom: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 12px;
  font-weight: 800;
}

.profile-metric h3 {
  margin: 0 0 4px;
  color: #0b1f3a;
  font-size: 15px;
  font-weight: 800;
}

.profile-metric p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 400;
}

.profile-referral-link {
  display: inline-flex;
  margin-top: 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.profile-referral-link:hover {
  text-decoration: underline;
}

.profile-referrals {
  max-width: 1064px;
  margin: 0 auto;
  width: 100%;
}

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

.referral-summary > div {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px 16px;
}

.referral-summary h3 {
  margin: 0 0 6px;
  color: #0b1f3a;
  font-size: 14px;
  font-weight: 800;
}

.referral-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}

.earning-amount {
  color: #047857;
}

@media (max-width: 720px) {
  .referral-summary {
    grid-template-columns: 1fr;
  }
}
.admin-menu {
  position: relative;
  display: inline-flex;
}

.admin-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--txt);
  padding: 8px 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-menu-toggle::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.admin-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: none;
  min-width: 230px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .16);
}

.admin-menu:hover .admin-menu-panel,
.admin-menu:focus-within .admin-menu-panel {
  display: grid;
}

.admin-menu-panel a {
  display: block;
  padding: 11px 14px;
  color: var(--txt);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.admin-menu-panel a:hover,
.admin-menu-panel a:focus {
  background: #f1f5f9;
  color: var(--primary);
}

.query-modal-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 18px;
}

.query-modal-meta div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.query-modal-meta h3 {
  margin: 0 0 5px;
  font-size: 13px;
  font-weight: 800;
}

.query-modal-meta p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 760px) {
  .admin-menu-panel {
    left: 0;
    right: auto;
  }

  .query-modal-meta {
    grid-template-columns: 1fr;
  }
}
.modal-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.modal-pagination .btn[disabled] {
  opacity: .45;
  cursor: not-allowed;
}
.mobile-results-list {
  display: none;
}

.mobile-result-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.mobile-result-card + .mobile-result-card {
  margin-top: 12px;
}

.mobile-result-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.mobile-result-main h3 {
  margin: 0;
  color: var(--txt);
  font-size: 16px;
  line-height: 1.25;
}

.mobile-result-main p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

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

.mobile-result-grid div {
  min-width: 0;
  border: 1px solid #e5edf7;
  border-radius: 7px;
  background: #f8fafc;
  padding: 9px 10px;
}

.mobile-result-grid span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.mobile-result-grid b {
  display: block;
  overflow-wrap: anywhere;
  color: var(--txt);
  font-size: 13px;
}

.mobile-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.mobile-more-btn b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 720px) {
  .vehicle-results-card > .results-table-wrap {
    display: none;
  }

  .vehicle-results-card .mobile-results-list {
    display: block;
  }

  .results-head {
    gap: 6px;
  }

  .results-head h2 {
    margin-bottom: 0;
  }
}
.profile-mobile-list {
  display: none;
}

.profile-mobile-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
}

.profile-mobile-item + .profile-mobile-item {
  margin-top: 12px;
}

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

.profile-mobile-item-head h3 {
  margin: 0;
  color: var(--txt);
  font-size: 16px;
  line-height: 1.25;
}

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

.profile-mobile-kpis div {
  min-width: 0;
  border: 1px solid #e5edf7;
  border-radius: 7px;
  background: #f8fafc;
  padding: 9px 10px;
}

.profile-mobile-kpis span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-mobile-kpis b {
  display: block;
  overflow-wrap: anywhere;
  color: var(--txt);
  font-size: 14px;
}

@media (max-width: 720px) {
  .profile-container {
    gap: 14px;
  }

  .profile-summary {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }

  .profile-identity {
    align-items: flex-start;
  }

  .profile-identity h2 {
    font-size: 22px;
    overflow-wrap: anywhere;
  }

  .profile-summary .profile-metric {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #f8fafc;
    padding: 12px;
  }

  .profile-grid {
    gap: 14px;
  }

  .profile-form-card {
    padding: 18px;
  }

  .profile-form-card input,
  .profile-form-card select,
  .profile-form-card button {
    width: 100%;
  }

  .profile-referrals > .results-table-wrap,
  .profile-payments > .results-table-wrap {
    display: none;
  }

  .profile-mobile-list {
    display: block;
  }

  .referral-summary {
    margin: 14px 0;
  }
}