/* Consultar fit: approved compact card layout, scoped strictly to .wm-plan-card */
.wm-flow .wm-flow-screen form button[type=button].wm-plan-card {
  padding: 12px !important;
}
.wm-flow .wm-flow-screen form button[type=button].wm-plan-card > div.flex {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 12px !important;
  align-items: flex-start !important;
}
/* icon box visible again */
.wm-flow .wm-flow-screen form button[type=button].wm-plan-card > div.flex > div:first-child {
  display: flex !important;
}
/* title + badge row: horizontal, left aligned */
.wm-flow .wm-flow-screen form button[type=button].wm-plan-card .flex-1 > .flex.items-center {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: left !important;
}
/* features container (no items-center class): stacked with check icons */
.wm-flow .wm-flow-screen form button[type=button].wm-plan-card .flex-1 > .flex-wrap:not(.items-center) {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 2px !important;
}
.wm-flow .wm-flow-screen form button[type=button].wm-plan-card .flex-1 > .flex-wrap:not(.items-center) > span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-top: 0 !important;
  line-height: 1.4 !important;
}
.wm-flow .wm-flow-screen form button[type=button].wm-plan-card .flex-1 > .flex-wrap:not(.items-center) > span > svg {
  display: inline-block !important;
}
/* right column: price stacked, right aligned, no divider */
.wm-flow .wm-flow-screen form button[type=button].wm-plan-card > div.flex > div:last-child {
  display: flex !important;
  grid-column: auto !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  border-top: 0 !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  text-align: right !important;
  max-width: 108px !important;
  flex-shrink: 1 !important;
  min-width: 0 !important;
}
.wm-flow .wm-flow-screen form button[type=button].wm-plan-card > div.flex > div:last-child p {
  white-space: normal !important;
}
.wm-flow .wm-flow-screen form button[type=button].wm-plan-card > div.flex > div:last-child .text-right > p:first-child {
  white-space: nowrap !important;
}
.wm-flow .wm-flow-screen form button[type=button].wm-plan-card .text-right {
  text-align: right !important;
}
/* natural word wrapping inside cards (live sheet forces overflow-wrap:anywhere) */
.wm-flow .wm-flow-screen form button[type=button].wm-plan-card p,
.wm-flow .wm-flow-screen form button[type=button].wm-plan-card span {
  overflow-wrap: normal !important;
  word-break: normal !important;
}
