.app-content.supplemental-home-order {
  display: flex;
  flex-direction: column;
}

.bottom-nav {
  display: none !important;
}

.app-content {
  padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
}

.toast,
.update-banner {
  bottom: calc(88px + env(safe-area-inset-bottom));
}

.salim-bottom-nav {
  position: fixed;
  z-index: 45;
  bottom: 0;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, 540px);
  height: calc(78px + env(safe-area-inset-bottom));
  padding: 5px 6px env(safe-area-inset-bottom);
  transform: translateX(-50%);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  box-shadow: 0 -8px 24px rgba(2, 32, 71, 0.05);
}

.salim-bottom-nav-button {
  display: flex;
  min-width: 0;
  min-height: 62px;
  padding: 3px 1px 2px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: var(--text-tertiary);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -0.25px;
  white-space: nowrap;
}

.salim-bottom-nav-button.active {
  color: var(--blue);
  background: var(--blue-soft);
}

.salim-bottom-nav-icon {
  display: grid;
  place-items: center;
  min-width: 26px;
  min-height: 24px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.35px;
}

.workspace-tab-hidden {
  display: none !important;
}

.salim-more-sheet {
  max-height: 70vh;
}

.salim-more-list {
  padding: 5px 0 4px;
}

.salim-more-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 10px 8px;
  border: 0;
  border-radius: 17px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.salim-more-item:hover {
  background: #f7f8fa;
}

.salim-more-item-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: 12px;
  border-radius: 15px;
  background: #f1edff;
  color: #6941c6;
  font-size: 11px;
  font-weight: 800;
}

.salim-more-item-copy {
  flex: 1;
  min-width: 0;
}

.salim-more-item-copy strong,
.salim-more-item-copy small {
  display: block;
}

.salim-more-item-copy strong {
  font-size: 15px;
}

.salim-more-item-copy small {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 12px;
}

.history-back-button {
  min-height: 44px;
  padding: 0 9px;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 750;
}

.top-bar.simple:has(.history-back-button) h1 {
  margin-right: auto;
}

.merged-asset-source {
  display: none !important;
}

.capital-action,
.capital-helper {
  display: none !important;
}

.transaction-form .details-toggle {
  display: none !important;
}

.transaction-form .form-details {
  display: grid !important;
  gap: 14px;
  margin-top: 8px;
}

.transaction-form .form-card {
  display: contents;
}

.transaction-form .optional-block {
  order: 1;
  padding: 4px 1px 2px;
}

.transaction-form .form-card > .select-field {
  order: 2;
}

.transaction-form .form-card > .field {
  order: 3;
}

.transaction-form .form-details > .field {
  order: 4;
}

.transaction-form .balance-skip-option {
  order: 5;
}

.transaction-form .optional-block > p {
  margin-bottom: 9px;
  color: var(--text);
  font-size: 13px;
}

.transaction-form .chip-row {
  gap: 7px;
}

.transaction-form .chip {
  min-height: 44px;
  padding-inline: 14px;
}

.asset-hero {
  position: relative;
  isolation: isolate;
  min-height: 154px;
  margin: 12px 0 32px;
  padding: 25px 24px 23px;
  overflow: hidden;
  align-items: flex-end;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(119, 180, 255, 0.48), transparent 34%),
    linear-gradient(135deg, #173b6d 0%, #1b58a1 58%, #2f7bd9 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 26px;
  box-shadow:
    0 18px 38px rgba(18, 67, 126, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.asset-hero::after {
  position: absolute;
  z-index: -1;
  right: -45px;
  bottom: -72px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  content: "";
}

.asset-hero > svg {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 15px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.asset-hero > div {
  min-width: 0;
}

.asset-hero span {
  margin-bottom: 10px;
  color: rgba(239, 246, 255, 0.86);
  font-size: 13px;
  font-weight: 680;
  line-height: 1.45;
  text-wrap: balance;
}

.asset-hero strong {
  color: #fff;
  font-size: clamp(26px, 7vw, 32px);
  font-variant-numeric: tabular-nums;
  font-weight: 780;
  letter-spacing: -1.1px;
  line-height: 1.16;
  text-shadow: 0 1px 10px rgba(4, 35, 75, 0.2);
  white-space: nowrap;
}

.investment-details-fields {
  display: grid;
  gap: 13px;
  margin-top: 13px;
}

.investment-principal-field input {
  font-variant-numeric: tabular-nums;
}

.investment-details-fields select,
.transaction-person-field select,
.loan-direction-field select {
  width: 100%;
  min-height: 48px;
  padding: 0 40px 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background-color: #fff;
  color: var(--text);
  font-size: 15px;
}

.investment-details-fields select:focus-visible,
.transaction-person-field select:focus-visible,
.loan-direction-field select:focus-visible,
.history-person-filter select:focus-visible,
.history-category-filter button:focus-visible {
  border-color: var(--blue);
  outline: 3px solid rgba(49, 130, 246, 0.2);
  outline-offset: 1px;
}

.transaction-person-field {
  margin-top: 14px;
}

.transaction-category-custom {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.transaction-category-custom-label {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 650;
}

.transaction-category-custom-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.transaction-category-custom-row .chip {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 650;
}

.transaction-category-custom-row .chip.active {
  border-color: #c9e2ff;
  background: var(--blue-soft);
  color: var(--blue);
}

.transaction-category-custom-row .custom-category-add {
  border-style: dashed;
  color: var(--blue);
}

.transaction-category-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
}

.transaction-category-editor[hidden] {
  display: none;
}

.transaction-category-editor input {
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-size: 14px;
}

.transaction-category-editor button {
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.transaction-category-editor button:nth-of-type(2) {
  background: #f2f4f6;
  color: var(--text-secondary);
}

.transaction-category-error {
  min-height: 18px;
  margin: 0;
  grid-column: 1 / -1;
  color: #d92d20;
  font-size: 12px;
}

.transaction-category-custom button:focus-visible,
.transaction-category-editor input:focus-visible {
  border-color: var(--blue);
  outline: 3px solid rgba(49, 130, 246, 0.2);
  outline-offset: 1px;
}

.balance-skip-option {
  min-height: 66px;
  margin-top: 14px;
  padding: 11px 13px;
  border: 1px solid #dbe7ff;
  border-radius: 16px;
  background: #f7faff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 11px;
}

.section-disclosure {
  width: calc(100% - 28px);
  min-height: 44px;
  margin: 0 14px 12px;
  border: 0;
  border-radius: 13px;
  background: #f7f8fa;
  color: var(--blue);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

.section-disclosure::after {
  margin-left: 5px;
  content: "⌄";
}

.section-disclosure[aria-expanded="true"]::after {
  content: "⌃";
}

.list-card[hidden] {
  display: none !important;
}

.balance-skip-option input {
  width: 21px;
  height: 21px;
  margin: 0;
  accent-color: var(--blue);
  cursor: pointer;
  flex: 0 0 auto;
}

.balance-skip-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.balance-skip-copy strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.4;
}

.balance-skip-copy small {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.45;
  word-break: keep-all;
}

.holding-icon.credit_card {
  color: #8e44ad;
  background: #f6edfb;
}

.card-row {
  min-height: 82px;
  padding: 12px 14px;
  border-bottom: 1px solid #f2f3f5;
  display: flex;
  align-items: center;
  gap: 11px;
}

.card-row:last-child {
  border-bottom: 0;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #f6edfb;
  color: #8e44ad;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.card-row-copy {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 4px;
}

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

.card-row-copy small,
.card-row-amount small {
  color: var(--text-secondary);
  font-size: 11px;
}

.card-row-amount {
  display: grid;
  gap: 3px;
  text-align: right;
}

.card-row-amount strong {
  color: var(--text);
  font-size: 14px;
}

.card-row-actions {
  display: flex;
  gap: 6px;
}

.asset-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 26px;
  padding: 14px;
  border: 1px solid rgba(27, 100, 218, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(49, 130, 246, 0.16), transparent 42%),
    #fff;
  box-shadow: 0 8px 22px rgba(2, 32, 71, 0.06);
}

.asset-dashboard-metric {
  min-width: 0;
  padding: 6px 5px;
}

.asset-dashboard-metric + .asset-dashboard-metric {
  border-left: 1px solid #edf0f2;
  padding-left: 13px;
}

.asset-dashboard-metric span,
.asset-dashboard-loading {
  display: block;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.asset-dashboard-metric strong {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: var(--text);
  font-size: clamp(16px, 4.6vw, 21px);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-dashboard-metric.debt strong {
  color: var(--red);
}

.asset-dashboard-metric.net strong {
  color: var(--blue);
}

.asset-dashboard-loading {
  grid-column: 1 / -1;
  min-height: 46px;
  margin: 0;
  padding: 12px 4px;
}

.fixed-expense-row {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 72px;
  padding: 10px 16px;
  border: 0;
  border-bottom: 1px solid #f2f3f5;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.fixed-expense-row:last-child {
  border-bottom: 0;
}

.fixed-expense-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-right: 12px;
  border-radius: 14px;
  background: #fff3e7;
  color: #c26a02;
  font-size: 11px;
  font-weight: 800;
}

.fixed-expense-amount {
  flex: 0 0 auto;
  margin-right: 10px;
  color: var(--text);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 750;
}

.holding-owner-field {
  margin-top: 14px;
}

.holding-owner-row .row-copy small {
  color: var(--text-secondary);
}

.card-settle-button,
.card-edit-button {
  min-height: 44px;
  padding: 0 10px;
  border: 0;
  border-radius: 12px;
  background: #f2f4f6;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.card-edit-button {
  background: transparent;
  color: var(--text-secondary);
}

.asset-debt-heading-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex: 0 0 auto;
  gap: 6px;
  width: 260px;
}

.asset-debt-heading-actions button {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #dbe7ff;
  border-radius: 12px;
  background: #f7faff;
  color: var(--blue);
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  touch-action: manipulation;
  white-space: nowrap;
}

.asset-debt-heading-actions button:hover {
  background: #edf4ff;
}

.asset-debt-heading-actions button:active {
  background: #e3efff;
}

.asset-debt-heading-actions button:focus-visible {
  outline: 3px solid rgb(31 111 235 / 22%);
  outline-offset: 2px;
}

.asset-debt-group-label {
  margin: 0;
  padding: 12px 16px 7px;
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 750;
}

.asset-debt-group-label.loans {
  border-top: 1px solid #eef0f3;
}

.history-month-dashboard {
  margin: -2px 0 18px;
  padding: 18px;
  border: 1px solid rgba(27, 100, 218, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(49, 130, 246, 0.1), transparent 38%),
    #fff;
  box-shadow: 0 8px 24px rgba(2, 32, 71, 0.05);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 12px;
}

.history-month-metric {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.history-month-metric + .history-month-metric {
  padding-left: 14px;
  border-left: 1px solid #edf0f2;
}

.history-month-metric span,
.history-month-difference span {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 650;
}

.history-month-metric strong,
.history-month-difference strong {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.35px;
}

.history-month-metric strong {
  overflow: hidden;
  font-size: clamp(16px, 4.5vw, 19px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-month-metric.income strong {
  color: var(--green);
}

.history-month-metric.expense strong {
  color: var(--red);
}

.history-month-difference {
  min-height: 44px;
  padding-top: 14px;
  border-top: 1px solid #edf0f2;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.history-month-difference strong {
  font-size: 15px;
  white-space: nowrap;
}

.history-month-difference.positive strong {
  color: var(--green);
}

.history-month-difference.negative strong {
  color: var(--red);
}

.history-category-filter {
  display: flex;
  gap: 8px;
  margin: -2px 0 18px;
  padding: 2px 1px;
  overflow-x: auto;
  scrollbar-width: none;
}

.history-category-filter::-webkit-scrollbar {
  display: none;
}

.history-category-filter button {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text-secondary);
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 650;
}

.history-category-filter button.active {
  border-color: #c9e2ff;
  background: var(--blue-soft);
  color: var(--blue);
}

.history-person-filter {
  min-height: 52px;
  margin: -2px 0 12px;
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.history-person-filter > span {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.history-person-filter select {
  min-width: 0;
  min-height: 40px;
  padding: 0 34px 0 11px;
  border: 0;
  border-radius: 11px;
  background-color: #f2f4f6;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.loan-row {
  width: 100%;
  min-height: 78px;
  padding: 11px 16px;
  border: 0;
  border-bottom: 1px solid #f2f3f5;
  background: var(--surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.loan-summary-section .section-heading {
  align-items: flex-start;
}

.loan-summary-section .section-heading > div {
  min-width: 0;
  flex: 1;
}

.loan-summary-section .section-heading > button {
  flex: 0 0 auto;
  align-self: flex-start;
  white-space: nowrap;
}

.loan-summary {
  line-height: 1.5;
  text-wrap: pretty;
  word-break: keep-all;
}

.loan-summary-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 8px !important;
}

.loan-summary-metric {
  min-width: 0;
  padding: 8px 9px;
  border-radius: 12px;
  background: #f2f6fb;
}

.loan-summary-metric small,
.loan-summary-metric strong {
  display: block;
}

.loan-summary-metric small {
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 700;
}

.loan-summary-metric strong {
  margin-top: 2px;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.loan-summary-metric.debt strong {
  color: #b42318;
}

.loan-summary-metric.net strong {
  color: var(--blue);
}

.loan-row:last-child {
  border-bottom: 0;
}

.loan-row:hover {
  background: #fafbfc;
}

.loan-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #fff2f1;
  color: #b42318;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
}

.loan-row.lent .loan-icon {
  background: #edf8f2;
  color: var(--green);
}

.loan-row.lent .loan-amount strong {
  color: var(--green);
}

.loan-row-copy {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 4px;
}

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

.loan-row-copy strong {
  color: var(--text);
  font-size: 15px;
}

.loan-row-copy small {
  color: var(--text-secondary);
  font-size: 12px;
}

.loan-amount {
  display: grid;
  flex: 0 0 auto;
  gap: 3px;
  text-align: right;
}

.loan-amount small {
  color: var(--text-tertiary);
  font-size: 11px;
}

.loan-amount strong {
  color: #b42318;
  font-size: 14px;
}

.loan-chevron {
  color: var(--text-tertiary);
  font-size: 24px;
  line-height: 1;
}

.loan-sheet .loan-close {
  width: auto;
  padding: 0 8px;
  color: var(--text-secondary);
  font-size: 14px;
}

.sheet {
  overscroll-behavior: contain;
}

.loan-form {
  display: grid;
  gap: 14px;
}

.loan-advanced {
  border: 1px solid #e8ebef;
  border-radius: 16px;
  background: #f7f8fa;
}

.loan-advanced summary {
  min-height: 48px;
  padding: 0 14px;
  color: var(--blue);
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 750;
  list-style: none;
}

.loan-advanced summary::-webkit-details-marker {
  display: none;
}

.loan-advanced summary::after {
  margin-left: auto;
  content: "⌄";
}

.loan-advanced[open] summary::after {
  content: "⌃";
}

.loan-advanced[open] {
  padding: 0 12px 12px;
}

.loan-advanced[open] summary {
  margin: 0 -12px 12px;
}

.loan-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.loan-form-error {
  min-height: 20px;
  margin: 0;
  color: #d92d20;
  font-size: 13px;
  line-height: 1.45;
}

.loan-payoff-button {
  width: 100%;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: #d92d20;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}

.loan-payoff-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.household-rename-button {
  min-height: 44px;
  margin-left: auto;
  padding: 0 11px;
  border: 0;
  border-radius: 12px;
  background: #f2f4f6;
  color: var(--blue);
  cursor: pointer;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
}

.household-rename-form {
  display: grid;
  gap: 11px;
  margin: 0 8px 8px;
  padding: 14px;
  border-radius: 16px;
  background: #f7f8fa;
}

.household-rename-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.household-rename-actions button {
  min-height: 42px;
  border: 0;
  border-radius: 12px;
  background: #e8ebef;
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.household-rename-actions button.primary {
  background: var(--blue);
  color: #fff;
}

.household-rename-actions button:disabled {
  cursor: wait;
  opacity: 0.6;
}

.household-rename-error {
  min-height: 18px;
  margin: 0;
  color: #d92d20;
  font-size: 12px;
  line-height: 1.45;
}

.home-order-settings {
  margin: 8px 0;
  padding: 16px;
  border: 1px solid #e8ebef;
  border-radius: 18px;
  background: #fff;
}

.home-order-settings h3 {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}

.home-order-description {
  margin: 5px 0 14px;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.45;
}

.home-order-list {
  overflow: hidden;
  border: 1px solid #edf0f2;
  border-radius: 14px;
}

.home-order-row {
  min-height: 50px;
  padding: 7px 8px 7px 13px;
  border-bottom: 1px solid #edf0f2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-order-row:last-child {
  border-bottom: 0;
}

.home-order-row strong {
  color: var(--text);
  font-size: 13px;
}

.home-order-actions {
  display: flex;
  gap: 5px;
}

.home-order-actions button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 11px;
  background: #f2f4f6;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}

.home-order-actions button:disabled {
  cursor: default;
  opacity: 0.3;
}

.home-order-save {
  width: 100%;
  min-height: 44px;
  margin-top: 11px;
  border: 0;
  border-radius: 13px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
}

.home-order-save:disabled {
  cursor: wait;
  opacity: 0.6;
}

.home-order-status {
  min-height: 18px;
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 420px) {
  .asset-dashboard {
    gap: 5px;
    padding: 12px 10px;
  }

  .asset-dashboard-metric {
    padding-inline: 3px;
  }

  .asset-dashboard-metric + .asset-dashboard-metric {
    padding-left: 9px;
  }

  .asset-dashboard-metric strong {
    font-size: 15px;
  }

  .asset-hero {
    min-height: 146px;
    padding: 23px 20px 21px;
  }

  .asset-hero > svg {
    top: 18px;
    right: 18px;
  }

  .summary-section .section-heading {
    gap: 8px;
  }

  .summary-section .section-heading > button {
    padding-left: 5px;
    font-size: 13px;
  }

  .card-row {
    flex-wrap: wrap;
  }

  .card-row-copy {
    min-width: calc(100% - 55px);
  }

  .card-row-amount {
    margin-left: 53px;
    text-align: left;
  }

  .card-row-actions {
    margin-left: auto;
  }

  .asset-debt-heading-actions {
    width: 100%;
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 2px;
  }

  .loan-summary-section .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .loan-summary-section .section-heading > div:first-child {
    display: contents;
  }

  .loan-summary-section .section-heading h2 {
    grid-column: 1;
    grid-row: 1;
  }

  .loan-summary-section .loan-summary {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .asset-debt-heading-actions button {
    min-width: 0;
  }

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

  .loan-row {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 16px;
    grid-template-rows: auto auto;
    gap: 5px 10px;
    padding-inline: 13px;
  }

  .loan-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .loan-row-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .loan-amount {
    grid-column: 2 / 4;
    grid-row: 2;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    text-align: left;
  }

  .loan-chevron {
    grid-column: 3;
    grid-row: 1;
  }

  .loan-amount strong {
    font-size: 13px;
  }
}
