.account-page {
  --account-gold: #b88a3f;
  --account-gold-soft: #fff7e8;
  --account-blue-soft: #e9f2fb;
  --account-red-soft: #fdebec;
  --account-panel-line: #e9edf1;
  --account-shadow: 0 3px 12px rgba(16, 32, 57, 0.045);
  min-width: 320px;
  background:
    radial-gradient(circle at 83% 18%, rgba(227, 232, 238, 0.25), transparent 29rem),
    #fbfcfd;
  font-size: var(--fs-base);
}

.account-page .account-topbar {
  height: 56px;
}

.account-page .listing-shell {
  width: min(1440px, calc(100% - 56px));
}

.account-page .listing-monogram {
  width: 39px;
  height: 39px;
  font-size: var(--fs-3xl);
  line-height: 38px;
}

.account-page .listing-monogram span:last-child {
  top: 6px;
  left: 18px;
  font-size: var(--fs-2xl);
}

.account-page .listing-brand {
  margin-left: 0;
}

.account-page .listing-brand-divider {
  height: 34px;
  margin: 0 11px 0 7px;
}

.account-page .listing-brand-copy strong {
  font-size: var(--fs-lg);
}

.account-page .listing-brand-copy small {
  margin-top: 2px;
  font-size: var(--fs-tagline);
}

.account-page .listing-nav {
  gap: 50px;
}

.account-page .listing-nav a {
  gap: 2px;
  font-size: var(--fs-xs);
}

.account-page .listing-nav svg {
  width: 20px;
  height: 20px;
}

.account-page .listing-nav a::after {
  display: none;
}

.account-page .listing-actions {
  gap: 12px;
}

.account-page .top-add-button {
  min-width: 136px;
  height: 35px;
  font-size: var(--fs-sm);
}

.account-page .round-button {
  width: 39px;
  height: 39px;
}

.account-page .round-button.is-account-active {
  color: #9b6a18;
  background: #fff6df;
  box-shadow: inset 0 0 0 1px rgba(184, 138, 63, 0.12);
}

.account-layout {
  display: grid;
  width: min(1440px, 100%);
  min-height: calc(100dvh - 56px);
  margin-inline: auto;
  grid-template-columns: 194px minmax(0, 1fr);
}

.account-sidebar {
  position: relative;
  z-index: 4;
  padding: 21px 15px 24px 20px;
  background: rgba(255, 255, 255, 0.72);
  border-right: 1px solid #edf0f3;
}

.account-side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-side-nav a,
.account-side-nav button {
  display: flex;
  width: 100%;
  min-height: 37px;
  align-items: center;
  gap: 13px;
  padding: 0 11px;
  color: #26364b;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font-family: var(--listing-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  text-align: left;
  transition:
    color var(--listing-ease),
    background-color var(--listing-ease),
    transform var(--listing-ease);
}

.account-side-nav a:hover,
.account-side-nav button:hover {
  background: #f4f6f8;
  transform: translateX(2px);
}

.account-side-nav .is-active {
  color: #8e651f;
  background: linear-gradient(90deg, #fff8ea, #fffaf2);
}

.account-side-nav svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  stroke-width: 1.75;
}

.account-main {
  min-width: 0;
  padding: 16px 20px 36px 18px;
}

.account-titlebar {
  display: flex;
  min-height: 64px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.account-titlebar h1 {
  margin: 0;
  font-family: var(--listing-sans);
  font-size: var(--fs-3xl);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.025em;
}

.account-titlebar p {
  margin: 4px 0 0;
  color: #5c6978;
  font-family: var(--listing-sans);
  font-size: var(--fs-base);
  line-height: 1.3;
}

.edit-profile-button {
  display: inline-flex;
  min-width: 149px;
  height: 36px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  padding: 0 15px;
  color: var(--listing-ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #dfe4e9;
  border-radius: 5px;
  font-family: var(--listing-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color var(--listing-ease),
    border-color var(--listing-ease),
    box-shadow var(--listing-ease),
    transform var(--listing-ease);
}

.edit-profile-button svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.9;
}

.edit-profile-button:hover {
  background: #fff;
  border-color: #cbd2da;
  box-shadow: var(--account-shadow);
  transform: translateY(-1px);
}

.profile-banner {
  position: relative;
  height: 116px;
  overflow: hidden;
  background: #dfe4e8;
  border-radius: 7px;
  box-shadow: var(--account-shadow);
}

.profile-banner > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-banner-content {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
}

.profile-initials {
  display: grid;
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  color: var(--listing-ink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(16, 32, 57, 0.025);
  font-family: var(--listing-sans);
  font-size: var(--fs-3xl);
  font-weight: 600;
  place-items: center;
}

.profile-identity h2 {
  margin: 0;
  font-family: var(--listing-sans);
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.2;
}

.profile-identity > a {
  display: inline-block;
  margin-top: 1px;
  color: #657184;
  font-family: var(--listing-sans);
  font-size: var(--fs-sm);
}

.profile-membership {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  color: #4c5869;
  font-family: var(--listing-sans);
  font-size: var(--fs-sm);
}

.owner-badge {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  color: #93671d;
  background: rgba(255, 248, 228, 0.94);
  border-radius: 3px;
  font-weight: 600;
}

.owner-badge svg {
  width: 12px;
  height: 12px;
}

.account-stats {
  display: grid;
  min-height: 80px;
  margin-top: 11px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.account-stat {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 9px 27px 8px 11px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid #edf0f3;
  border-radius: 7px;
  box-shadow: var(--account-shadow);
  transition:
    border-color var(--listing-ease),
    box-shadow var(--listing-ease),
    transform var(--listing-ease);
}

.account-stat:hover {
  border-color: #d9dfe5;
  box-shadow: 0 8px 20px rgba(16, 32, 57, 0.08);
  transform: translateY(-2px);
}

.account-stat-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  background: #f5f7f9;
  border-radius: 50%;
  place-items: center;
}

.account-stat-icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 1.7;
}

.account-stat > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.account-stat strong {
  font-family: var(--listing-sans);
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1;
}

.account-stat small {
  margin-top: 2px;
  color: #536174;
  font-size: var(--fs-sm);
  white-space: nowrap;
}

.account-stat b {
  margin-top: 3px;
  font-family: var(--listing-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
}

.stat-chevron {
  position: absolute;
  right: 11px;
  width: 13px;
  height: 13px;
  stroke-width: 2;
}

.account-tabs {
  display: none;
}

.account-views {
  margin-top: 8px;
}

.account-view {
  animation: account-panel-in 220ms ease;
}

.account-view[hidden] {
  display: none !important;
}

.account-panel-full {
  margin-top: 0;
}

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

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

.dashboard-row-single {
  grid-template-columns: minmax(0, 1fr);
}

.reminder-list,
.insurance-list,
.export-actions,
.settings-list {
  display: grid;
  gap: 10px;
}

.reminder-row,
.insurance-row {
  display: grid;
  align-items: center;
  gap: 4px 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e8ebef;
  border-radius: 6px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.reminder-row strong,
.insurance-row strong {
  grid-column: 1 / -1;
  font-size: var(--fs-base);
}

.reminder-row small,
.insurance-row small {
  color: #6b7788;
  font-size: var(--fs-sm);
}

.reminder-row span,
.insurance-row span {
  color: #5c6978;
  font-size: var(--fs-sm);
}

.insurance-row b {
  color: #15805e;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.reminder-row.is-soon span {
  color: #1d6fd8;
  font-weight: 600;
}

.export-actions button {
  min-height: 44px;
  padding: 0 16px;
  color: var(--listing-ink);
  background: #fff;
  border: 1px solid #dfe4e9;
  border-radius: 6px;
  font-family: var(--listing-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e8ebef;
  border-radius: 6px;
  font-size: var(--fs-sm);
}

@keyframes account-panel-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.account-tabs a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  color: #5b6879;
  font-family: var(--listing-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  white-space: nowrap;
}

.account-tabs a::after {
  position: absolute;
  right: 6px;
  bottom: -1px;
  left: 6px;
  height: 2px;
  background: var(--account-gold);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition:
    opacity var(--listing-ease),
    transform var(--listing-ease);
}

.account-tabs a:hover,
.account-tabs a.is-active {
  color: #8c641f;
}

.account-tabs a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.dashboard-overview {
  margin-top: 10px;
}

.dashboard-row {
  display: grid;
  gap: 9px;
}

.dashboard-row-top {
  min-height: 192px;
  grid-template-columns: minmax(0, 1.7fr) minmax(272px, 1fr);
}

.dashboard-row-middle {
  min-height: 202px;
  margin-top: 9px;
  grid-template-columns: minmax(0, 1.23fr) minmax(0, 1fr);
}

.dashboard-row-bottom {
  min-height: 120px;
  margin-top: 8px;
  grid-template-columns: minmax(0, 1.23fr) minmax(0, 1fr);
}

.account-panel {
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.87);
  border: 1px solid var(--account-panel-line);
  border-radius: 7px;
  box-shadow: var(--account-shadow);
}

.account-panel-heading {
  display: flex;
  height: 39px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px;
}

.account-panel-heading > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
}

.account-panel-heading svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.account-panel-heading h2 {
  margin: 0;
  overflow: hidden;
  font-family: var(--listing-sans);
  font-size: var(--fs-md);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-panel-heading > a,
.account-panel-heading > button {
  flex: 0 0 auto;
  padding: 5px 0;
  color: #26354a;
  background: transparent;
  border: 0;
  font-family: var(--listing-sans);
  font-size: var(--fs-xs);
  cursor: pointer;
}

.account-panel-heading > a:hover,
.account-panel-heading > button:hover {
  color: #956a21;
}

.recent-assets {
  display: grid;
  padding: 0 9px 9px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.recent-asset {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #edf0f3;
  border-radius: 6px;
  transition:
    box-shadow var(--listing-ease),
    transform var(--listing-ease);
}

.recent-asset:hover {
  box-shadow: 0 8px 18px rgba(16, 32, 57, 0.1);
  transform: translateY(-2px);
}

.recent-asset > img {
  display: block;
  width: 100%;
  height: 68px;
  object-fit: cover;
}

.recent-asset-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 6px 6px 7px;
}

.recent-asset-copy strong,
.recent-asset-copy b {
  overflow: hidden;
  font-family: var(--listing-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.recent-asset-copy small {
  margin: 3px 0 5px;
  color: #7b8592;
  font-size: var(--fs-xs);
}

.recent-asset-copy b {
  font-size: var(--fs-xs);
}

.recent-asset-arrow {
  position: absolute;
  right: 5px;
  bottom: 39px;
  display: grid;
  width: 15px;
  height: 15px;
  color: #738092;
  background: #f5f7f9;
  border-radius: 50%;
  font-size: var(--fs-md);
  place-items: center;
}

.value-breakdown {
  display: grid;
  height: calc(100% - 39px);
  align-items: center;
  padding: 0 13px 11px;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 12px;
}

.value-donut {
  position: relative;
  display: grid;
  width: 128px;
  height: 128px;
  background: conic-gradient(
    #11223e 0 80.6%,
    #bd914d 80.6% 96.5%,
    #a8b1bf 96.5% 100%
  );
  border-radius: 50%;
  place-items: center;
  transform: rotate(-15deg);
}

.value-donut::after {
  width: 71px;
  height: 71px;
  background: #fff;
  border-radius: 50%;
  content: "";
}

.value-donut span {
  position: absolute;
  z-index: 1;
  font-family: var(--listing-sans);
  font-size: var(--fs-md);
  font-weight: 600;
  transform: rotate(15deg);
}

.value-legend {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
  flex-direction: column;
  gap: 13px;
  list-style: none;
}

.value-legend li {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 8px;
}

.value-legend i {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin-top: 2px;
  background: #11223e;
  border-radius: 50%;
}

.value-legend i.is-car {
  background: #bd914d;
}

.value-legend i.is-watch {
  background: #a8b1bf;
}

.value-legend span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.value-legend strong,
.value-legend small {
  font-family: var(--listing-sans);
  font-size: var(--fs-sm);
  line-height: 1.25;
}

.value-legend small {
  margin-top: 2px;
  color: #536174;
}

.maintenance-list,
.activity-list {
  padding: 0 9px 6px;
}

.maintenance-row {
  display: grid;
  min-width: 0;
  min-height: 46px;
  padding-block: 4px;
  align-items: center;
  border-top: 1px solid #f0f2f4;
  grid-template-columns: 26px 78px minmax(90px, 1fr) max-content 60px 8px;
  gap: 6px;
  font-family: var(--listing-sans);
  font-size: var(--fs-xs);
}

.maintenance-row:first-child,
.activity-row:first-child {
  border-top: 0;
}

.maintenance-row time {
  color: #75808e;
  white-space: nowrap;
}

.row-icon,
.activity-icon {
  display: grid;
  width: 24px;
  height: 24px;
  color: #8c641f;
  background: var(--account-gold-soft);
  border-radius: 50%;
  place-items: center;
}

.row-icon.is-blue,
.activity-icon.is-blue {
  color: #43739e;
  background: var(--account-blue-soft);
}

.row-icon.is-red {
  color: #a34d53;
  background: var(--account-red-soft);
}

.row-icon svg,
.activity-icon svg {
  width: 13px;
  height: 13px;
}

.row-copy,
.activity-row > span:nth-child(3) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.row-copy strong,
.row-copy small,
.activity-row strong,
.activity-row small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-copy strong,
.activity-row strong {
  font-size: var(--fs-xs);
  font-weight: 600;
}

.row-copy small,
.activity-row small {
  margin-top: 2px;
  color: #748091;
  font-size: var(--fs-xs);
}

.row-status {
  display: inline-flex;
  min-height: 20px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  color: #5f6976;
  background: #f1f3f5;
  border-radius: 9px;
  font-size: var(--fs-xs);
  white-space: nowrap;
}

.row-status.is-blue {
  color: #3e6990;
  background: var(--account-blue-soft);
}

.row-status.is-gold {
  color: #966820;
  background: var(--account-gold-soft);
}

.maintenance-row > b {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.activity-row {
  display: grid;
  min-width: 0;
  min-height: 46px;
  padding-block: 4px;
  align-items: center;
  border-top: 1px solid #f0f2f4;
  grid-template-columns: 23px 78px minmax(0, 1fr) 8px;
  gap: 5px;
  font-family: var(--listing-sans);
}

.activity-icon {
  width: 21px;
  height: 21px;
  color: #627087;
  background: #f1f4f7;
}

.activity-icon svg {
  width: 11px;
  height: 11px;
}

.activity-row time {
  color: #7c8693;
  font-size: var(--fs-xs);
  white-space: nowrap;
}

.activity-row > b {
  font-size: var(--fs-base);
  font-weight: 400;
}

.document-categories {
  display: grid;
  min-height: 76px;
  padding: 0 9px 9px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.document-categories button {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--listing-ink);
  background: #fff;
  border: 1px solid #e7ebef;
  border-radius: 5px;
  cursor: pointer;
  transition:
    border-color var(--listing-ease),
    box-shadow var(--listing-ease),
    transform var(--listing-ease);
}

.document-categories button:hover {
  border-color: #cfd6dd;
  box-shadow: 0 5px 14px rgba(16, 32, 57, 0.07);
  transform: translateY(-1px);
}

.document-categories svg {
  width: 17px;
  height: 17px;
  margin-bottom: 5px;
}

.document-categories strong {
  overflow: hidden;
  max-width: 100%;
  font-family: var(--listing-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.document-categories small {
  margin-top: 5px;
  color: #7b8695;
  font-size: var(--fs-xs);
}

.performance-content {
  display: grid;
  height: 76px;
  align-items: center;
  padding: 0 11px 9px;
  grid-template-columns: 45% minmax(0, 1fr);
  gap: 8px;
}

.performance-value {
  display: flex;
  flex-direction: column;
  font-family: var(--listing-sans);
}

.performance-value strong {
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.performance-value span {
  margin-top: 5px;
  color: #189265;
  font-size: var(--fs-base);
  font-weight: 600;
}

.performance-value small {
  margin-top: 4px;
  color: #7b8491;
  font-size: var(--fs-xs);
}

.performance-chart {
  position: relative;
  height: 75px;
}

.performance-chart > svg {
  position: absolute;
  inset: 0 0 8px;
  width: 100%;
  height: 66px;
  overflow: visible;
}

.chart-grid {
  fill: none;
  stroke: #edf0f3;
  stroke-width: 1;
}

.chart-line {
  fill: none;
  stroke: #aa7b2f;
  stroke-width: 2;
}

.chart-points {
  fill: #b48638;
  stroke: #fff;
  stroke-width: 1.2;
}

.chart-label,
.chart-total {
  position: absolute;
  bottom: 0;
  color: #7b8491;
  font-family: var(--listing-sans);
  font-size: var(--fs-xs);
}

.chart-label-start {
  left: 0;
}

.chart-label-middle {
  left: 47%;
}

.chart-label-end {
  right: 2px;
}

.chart-total {
  top: -2px;
  right: 0;
  bottom: auto;
  color: var(--listing-ink);
  font-size: var(--fs-xs);
}

.account-settings-placeholder {
  min-height: 260px;
  margin-top: 10px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--account-panel-line);
  border-radius: 8px;
}

.account-settings-placeholder h2 {
  margin: 0;
  font-family: var(--listing-sans);
  font-size: var(--fs-2xl);
}

.account-settings-placeholder p {
  color: #657184;
}

.profile-dialog {
  width: min(450px, calc(100% - 32px));
  padding: 0;
  color: var(--listing-ink);
  background: #fff;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 22px 70px rgba(16, 32, 57, 0.24);
}

.profile-dialog::backdrop {
  background: rgba(16, 32, 57, 0.45);
  backdrop-filter: blur(3px);
}

.profile-dialog form {
  display: flex;
  padding: 24px;
  flex-direction: column;
  gap: 16px;
}

.profile-dialog header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2px;
}

.profile-dialog header small {
  color: #a27732;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-dialog h2 {
  margin: 3px 0 0;
  font-family: var(--listing-sans);
  font-size: var(--fs-2xl);
}

.profile-dialog-close {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  background: #f3f5f7;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
}

.profile-dialog-close svg {
  width: 18px;
  height: 18px;
}

.profile-dialog label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: var(--fs-base);
  font-weight: 600;
}

.profile-dialog input {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #dce2e7;
  border-radius: 6px;
  font-size: var(--fs-md);
  outline: 0;
}

.profile-dialog input:focus {
  border-color: #8190a3;
  box-shadow: 0 0 0 3px rgba(16, 32, 57, 0.09);
}

.profile-dialog footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 4px;
}

.profile-dialog footer button {
  min-width: 110px;
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.profile-cancel {
  background: #f0f3f5;
}

.profile-save {
  color: #fff;
  background: var(--listing-ink);
}

.account-toast {
  z-index: 80;
}

@media (max-width: 1100px) {
  .account-tabs a {
    padding-inline: 9px;
  }

  .maintenance-row {
    grid-template-columns: 26px 78px minmax(80px, 1fr) max-content 60px 8px;
    gap: 4px;
  }
}

@media (max-width: 900px) {
  .account-layout {
    grid-template-columns: 168px minmax(0, 1fr);
  }

  .account-sidebar {
    padding: 12px 10px 16px 12px;
    border-right: 1px solid #e8ebef;
    border-bottom: 0;
  }

  .account-side-nav {
    overflow-y: auto;
    overflow-x: hidden;
    flex-direction: column;
    gap: 2px;
    max-height: calc(100dvh - 56px - 24px);
    scrollbar-width: thin;
  }

  .account-side-nav a,
  .account-side-nav button {
    width: 100%;
    min-height: 36px;
    gap: 8px;
    padding-inline: 8px;
    font-size: var(--fs-sm);
    white-space: normal;
    line-height: 1.2;
  }

  .account-side-nav svg {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }

  .account-side-nav a:hover,
  .account-side-nav button:hover {
    transform: none;
  }

  .account-main {
    padding-inline: 14px;
  }

  .recent-assets-full,
  .document-categories-full {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 759px) {
  .account-page .account-topbar {
    height: 64px;
  }

  .account-page .listing-shell {
    width: calc(100% - 32px);
  }

  .account-page .top-add-button {
    min-width: 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
  }

  .account-page .top-add-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .account-page .round-button {
    width: 44px;
    height: 44px;
  }

  .account-main {
    padding: 22px 16px 36px;
  }

  .account-titlebar {
    height: auto;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 22px;
  }

  .account-titlebar h1 {
    font-size: var(--fs-3xl);
  }

  .account-titlebar p {
    max-width: 500px;
    font-size: var(--fs-md);
  }

  .edit-profile-button {
    width: 100%;
    height: 44px;
    margin: 0;
  }

  .profile-banner {
    height: 178px;
  }

  .profile-banner > img {
    object-position: 62% center;
  }

  .profile-banner-content {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
    padding: 16px;
  }

  .profile-initials {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    font-size: var(--fs-2xl);
  }

  .profile-membership {
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 7px;
  }

  .account-stats {
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-stat {
    min-height: 86px;
  }

  .account-tabs {
    overflow-x: auto;
    justify-content: flex-start;
    margin-top: 16px;
    scrollbar-width: thin;
  }

  .account-tabs a {
    flex: 0 0 auto;
    padding-inline: 16px;
  }

  .dashboard-row {
    display: flex;
    height: auto;
    flex-direction: column;
  }

  .dashboard-row-middle,
  .dashboard-row-bottom {
    margin-top: 10px;
  }

  .recent-panel,
  .value-panel,
  .maintenance-panel,
  .activities-panel,
  .documents-panel,
  .performance-panel {
    height: auto;
  }

  .recent-assets {
    padding-bottom: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .recent-asset > img {
    height: 120px;
  }

  .value-breakdown {
    min-height: 176px;
    justify-content: center;
    padding-block: 0 14px;
    grid-template-columns: 140px minmax(145px, 190px);
  }

  .maintenance-list,
  .activity-list {
    padding-bottom: 9px;
  }

  .maintenance-row {
    height: auto;
    min-height: 66px;
    padding-block: 8px;
    grid-template-columns: 30px 74px minmax(0, 1fr) 9px;
    gap: 5px 7px;
  }

  .maintenance-row .row-copy {
    grid-column: 3 / 4;
  }

  .maintenance-row .row-status {
    grid-column: 2 / 3;
  }

  .maintenance-row > b {
    grid-column: 3 / 4;
    grid-row: 2;
    text-align: left;
  }

  .maintenance-row > span:last-child {
    grid-column: 4;
    grid-row: 1 / 3;
  }

  .activity-row {
    height: auto;
    min-height: 48px;
    grid-template-columns: 26px 76px minmax(0, 1fr) 8px;
  }

  .document-categories {
    height: auto;
    padding-bottom: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .document-categories button {
    min-height: 84px;
  }

  .document-categories button:last-child {
    grid-column: 1 / -1;
  }

  .performance-content {
    height: auto;
    padding-bottom: 14px;
    grid-template-columns: 1fr;
  }

  .performance-chart {
    height: 120px;
  }

  .performance-chart > svg {
    height: 106px;
  }
}

@media (max-width: 480px) {
  .account-page .listing-brand-copy,
  .account-page .listing-brand-divider {
    display: none;
  }

  .account-page .listing-actions {
    gap: 8px;
  }

  .account-sidebar {
    padding-inline: 12px;
  }

  .account-main {
    padding-inline: 12px;
  }

  .profile-banner {
    height: 200px;
  }

  .profile-banner > img {
    object-position: 76% center;
  }

  .account-stat {
    min-height: 78px;
  }

  .recent-asset > img {
    height: 102px;
  }

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

  .value-donut {
    justify-self: center;
  }

  .value-legend {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .value-legend li {
    flex-direction: column;
  }

  .activity-row {
    min-height: 58px;
    grid-template-columns: 26px minmax(0, 1fr) 8px;
  }

  .activity-row time {
    grid-column: 2;
  }

  .activity-row > span:nth-child(3) {
    grid-column: 2;
  }

  .activity-row > b {
    grid-column: 3;
    grid-row: 1 / 3;
  }
}

@media (max-width: 340px) {
  .account-stats,
  .recent-assets {
    grid-template-columns: 1fr;
  }

  .recent-asset > img {
    height: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .account-page *,
  .account-page *::before,
  .account-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
