.today-personal-layout {
  display: grid;
  gap: 16px;
}

.register-sale-section {
  display: grid;
  gap: 16px;
}

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

.personal-concept-card {
  position: relative;
  min-width: 0;
  min-height: 88px;
  padding: 16px;
  overflow: hidden;
  text-align: left;
  transition:
    transform 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.personal-concept-card::after {
  content: "+";
  position: absolute;
  right: 13px;
  bottom: 8px;
  color: rgba(15, 118, 110, 0.18);
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.personal-concept-card:active {
  transform: scale(0.985);
}

.personal-concept-card strong,
.personal-concept-card span {
  position: relative;
  z-index: 1;
  display: block;
}

.personal-concept-card strong {
  overflow: hidden;
  font-size: 0.94rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.personal-concept-card span {
  margin-top: 7px;
  color: #0f766e;
  font-size: 0.76rem;
  font-weight: 900;
}

.today-register-hint {
  padding: 12px 13px;
  border: 1px dashed rgba(148, 163, 184, 0.55);
  border-radius: 17px;
  background: rgba(248, 250, 252, 0.55);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.45;
  text-align: center;
}

.today-sales-disclosure {
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 19px;
  background: rgba(248, 250, 252, 0.72);
  overflow: hidden;
}

.today-sales-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 13px 15px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.today-sales-disclosure
  > summary::-webkit-details-marker {
  display: none;
}

.today-sales-disclosure
  > summary strong,
.today-sales-disclosure
  > summary small {
  display: block;
}

.today-sales-disclosure
  > summary strong {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 950;
}

.today-sales-disclosure
  > summary small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.today-sales-disclosure
  > summary i {
  color: var(--muted);
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 950;
  transition:
    transform 180ms ease,
    color 180ms ease;
}

.today-sales-disclosure[open]
  > summary {
  border-bottom:
    1px solid rgba(226, 232, 240, 0.9);
}

.today-sales-disclosure[open]
  > summary i {
  transform: rotate(180deg);
  color: #0f766e;
}

.today-sales-disclosure-content {
  display: grid;
  gap: 9px;
  padding: 12px;
}

.today-recent-sale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  width: 100%;
  min-width: 0;
  min-height: 62px;
  padding: 12px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.today-recent-sale-main {
  min-width: 0;
}

.today-recent-sale-main strong,
.today-recent-sale-main small,
.today-recent-sale-side b,
.today-recent-sale-side small {
  display: block;
}

.today-recent-sale-main strong {
  overflow: hidden;
  color: var(--text);
  font-size: 0.83rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.today-recent-sale-main small {
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.today-recent-sale-side {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  gap: 5px;
}

.today-recent-sale-side b {
  color: #0f766e;
  font-size: 0.85rem;
  font-weight: 950;
}

.today-sale-status {
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  font-size: 0.57rem !important;
  font-weight: 950;
}

.today-sale-status.status-paid {
  background: rgba(34, 197, 94, 0.11);
  color: #15803d;
}

.today-sale-status.status-partial {
  background: rgba(14, 165, 233, 0.11);
  color: #0369a1;
}

.today-history-link {
  width: 100%;
}

.dashboard-fast-sale-actions {
  position: sticky;
  z-index: 4;
  bottom: 0;
  display: grid;
  grid-template-columns:
    minmax(0, 1.45fr)
    minmax(0, 1fr);
  gap: 10px;
  padding-top: 9px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.96) 22%,
      #fff 55%
    );
}

.dashboard-repeat-sale-btn {
  min-height: 48px;
  line-height: 1.15;
}

.sale-modal-card {
  max-height:
    min(
      92dvh,
      820px
    );
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sale-modal-preview {
  position: relative;
}

@media (min-width: 720px) {
  .personal-concept-grid {
    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );
  }
}

@media (max-width: 520px) {
  .personal-concept-card {
    min-height: 82px;
    padding: 14px;
  }

  .dashboard-fast-sale-actions {
    position: static;
    grid-template-columns: 1fr;
    background: transparent;
  }

  .dashboard-repeat-sale-btn {
    min-height: 45px;
  }
}

@media (max-width: 370px) {
  .personal-concept-grid {
    gap: 8px;
  }

  .personal-concept-card {
    min-height: 76px;
    padding: 12px;
  }

  .personal-concept-card strong {
    font-size: 0.82rem;
  }

  .personal-concept-card span {
    font-size: 0.68rem;
  }

  .today-recent-sale {
    padding: 10px;
  }

  .today-recent-sale-main small {
    max-width: 145px;
  }
}