/* Complete phone previews keep the app content proportional at every width. */
.organize .organize-card {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.organize .lists-illustration,
.organize .recurring-illustration {
  display: block;
  width: 100%;
  max-width: 300px;
  min-height: 0;
  margin: auto auto 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  color: #111;
  container-type: inline-size;
}

.organize .phone-organize {
  width: 100%;
  padding: 2.35cqw;
  border-radius: 15cqw;
  transform: none;
  box-shadow: 0 0 0 1px #66685d, 0 0 0 2px #d3d2c7,
    0 18px 30px -18px #333b2e40, 0 3px 9px #33333318;
}

.organize .phone-organize::after {
  inset: 1cqw;
  border-radius: 14cqw;
}

.organize .phone-organize .phone-buttons {
  width: 1cqw;
  height: 14cqw;
  left: -1.25cqw;
  box-shadow: 0 19cqw 0 #65685d;
}

.organize .phone-organize .phone-screen {
  container-type: inline-size;
  border-width: .85cqw;
  border-radius: 12.75cqw;
  aspect-ratio: 1206 / 2622;
  background: #fff;
}

.organize .phone-organize .dynamic-island {
  z-index: 2;
  top: 2.2%;
  left: 36%;
  width: 28%;
  height: 3.3%;
}

.organize .organize-app-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: inherit;
  color: #111;
  background: #fff;
}

.organize .organize-phone-status {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex: 0 0 14cqw;
  padding: 5.7cqw 8cqw 0;
  color: #111;
  font-size: 4cqw;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.08cqw;
}

.organize .organize-status-icons {
  display: block;
  width: 18cqw;
  height: 4cqw;
}

.organize .organize-app-content {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  min-height: 0;
  padding: 0 4.5cqw;
}

.organize .list-app-header {
  display: flex;
  align-items: center;
  gap: 2cqw;
  min-height: 12cqw;
}

.organize .list-app-switcher {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  gap: 0;
  padding: .75cqw;
  border-radius: 10cqw;
  background: #f7f7f7;
}

.organize .list-app-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 10.5cqw;
  padding: 1cqw .5cqw;
  border-radius: 9cqw;
  color: #737373;
  font-size: 3.15cqw;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.06cqw;
  white-space: nowrap;
}

.organize .list-app-tab-selected {
  color: #111;
  background: #ebebeb;
}

.organize .organize-app-header-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 21cqw;
  gap: 3.3cqw;
  height: 12cqw;
  border-radius: 10cqw;
  background: #fafafa;
}

.organize .organize-app-symbol {
  display: block;
  width: 4.8cqw;
  height: 4.8cqw;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.organize .lists-illustration .list-app-total,
.organize .recurring-illustration .list-app-total {
  margin: 6cqw 0 5cqw;
  color: #111;
  text-align: center;
  font-size: 14.4cqw;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.6cqw;
  white-space: nowrap;
}

.organize .list-app-total-currency {
  margin-left: 1cqw;
  color: #737373;
  font-size: .46em;
  letter-spacing: -.1cqw;
}

.organize .list-app-category-heading {
  display: block;
  margin-bottom: 2.5cqw;
  color: #737373;
  font-size: 3.7cqw;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.05cqw;
}

.organize .list-app-categories {
  display: grid;
  gap: 2cqw;
}

.organize .list-app-category {
  display: flex;
  align-items: center;
  gap: 3cqw;
  min-height: 14.7cqw;
  padding: 3cqw;
  overflow: hidden;
  border-radius: 3.4cqw;
  background: linear-gradient(90deg,
    var(--category-tone) 0 var(--category-fill),
    #f2f2f2 var(--category-fill) 100%);
}

.organize .list-app-category-emoji {
  flex: 0 0 6cqw;
  text-align: center;
  font-size: 5.5cqw;
  line-height: 1;
}

.organize .list-app-category-name,
.organize .list-app-category-amount {
  min-width: 0;
  font-size: 4cqw;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.05cqw;
}

.organize .list-app-category-amount {
  margin-left: auto;
  font-size: 4.3cqw;
}

.organize .list-app-category-remainder {
  display: block;
  margin-top: 2cqw;
  padding: 2.7cqw 2cqw;
  border-radius: 3.4cqw;
  color: #737373;
  background: #f2f2f2;
  text-align: center;
  font-size: 3.35cqw;
  font-weight: 400;
  line-height: 1.2;
}

.organize .organize-ledger-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 7cqw 0 2cqw;
  color: #111;
  font-size: 3.7cqw;
  font-weight: 600;
  line-height: 1.4;
}

.organize .organize-ledger-heading-total {
  color: #737373;
  font-weight: 400;
}

.organize .organize-ledger-rows {
  display: grid;
  gap: 1cqw;
}

.organize .recurrence-row {
  display: flex;
  align-items: center;
  gap: 2.7cqw;
  min-width: 0;
  min-height: 17.1cqw;
}

.organize .recurrence-emoji {
  display: flex;
  flex: 0 0 10.8cqw;
  align-items: center;
  justify-content: center;
  width: 10.8cqw;
  height: 10.8cqw;
  border-radius: 50%;
  background: var(--category-tone);
  font-size: 5.1cqw;
  line-height: 1;
}

.organize .recurrence-copy {
  display: grid;
  flex: 1 1 0;
  gap: 1.1cqw;
  min-width: 0;
}

.organize .recurrence-title {
  color: #111;
  font-size: 3.9cqw;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.06cqw;
}

.organize .recurrence-cadence {
  color: #646464;
  font-size: 2.8cqw;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -.03cqw;
  white-space: nowrap;
}

.organize .recurrence-amount {
  flex-shrink: 0;
  margin-left: auto;
  color: #111;
  font-size: 3.9cqw;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.06cqw;
  white-space: nowrap;
}

.organize .recurrence-amount-income {
  color: #246b38;
}

.organize .organize-phone-recurring .organize-ledger-heading {
  margin: 1cqw 0 3cqw;
}

.organize .organize-app-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 20cqw;
  gap: 4cqw;
  padding: 3cqw 4.5cqw;
  background: #ffffffed;
}

.organize .organize-app-search {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 13cqw;
  height: 13cqw;
  border-radius: 50%;
  color: #111;
  background: #fafafa;
  box-shadow: 0 1cqw 4cqw #11111108;
}

.organize .organize-app-add {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42cqw;
  height: 13cqw;
  padding: 0 5cqw;
  border-radius: 8cqw;
  color: #111;
  background: #ffd42f;
  font-size: 3.7cqw;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.04cqw;
}

.organize .organize-home-indicator {
  flex: 0 0 1.3cqw;
  width: 32cqw;
  margin: 1cqw auto 2.2cqw;
  border-radius: 2cqw;
  background: #111;
}

@media (max-width: 600px) {
  .organize .organize-card { gap: 28px; }
  .organize .lists-illustration,
  .organize .recurring-illustration { margin-bottom: 7px; }
}
