/* In2Com V332 — responsive prices and copy for Cloud Voice extras.
   Only affects the quote at phone-sized viewports; no changes to pricing or
   selection logic, desktop cards, or other portal screens. */
@media (max-width: 640px) {
  /* Account-wide extras: the price must no longer steal the copy's width. */
  #app .choices > .choice:has(> .text):has(> .price) {
    display: grid;
    grid-template-columns: 1.2rem minmax(0, 1fr);
    column-gap: .75rem;
    row-gap: .4rem;
    align-items: start;
    min-width: 0;
    width: 100%;
  }
  #app .choices > .choice:has(> .price) > input {
    grid-column: 1;
    grid-row: 1;
    margin-top: .2rem;
  }
  #app .choices > .choice:has(> .price) > .text {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    gap: .2rem;
    min-width: 0;
    overflow-wrap: break-word;
  }
  #app .choices > .choice:has(> .price) > .text .hint {
    margin: 0;
    line-height: 1.45;
  }
  #app .choices > .choice:has(> .price) > .price {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    max-width: 100%;
    min-width: 0;
    white-space: normal;
    overflow-wrap: break-word;
    text-align: right;
    line-height: 1.4;
  }

  /* Per-user extras: checkbox, optional logo and copy on the first row;
     monthly/one-off cost on its own row at the end of the tile. */
  #app .v296-extra-option {
    display: grid;
    grid-template-columns: 1.2rem minmax(0, 1fr);
    column-gap: .7rem;
    row-gap: .45rem;
    align-items: start;
    min-width: 0;
    padding: 12px;
  }
  #app .v296-extra-option:has(> .v300-webex-logo) {
    grid-template-columns: 1.2rem 2.4rem minmax(0, 1fr);
  }
  #app .v296-extra-option > input {
    grid-column: 1;
    grid-row: 1;
    margin-top: .15rem;
    width: 1.2rem;
    height: 1.2rem;
  }
  #app .v296-extra-option > .v300-webex-logo {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    width: 2.4rem;
    height: 2.4rem;
  }
  #app .v296-extra-option > .v296-extra-copy {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    overflow-wrap: break-word;
  }
  #app .v296-extra-option:has(> .v300-webex-logo) > .v296-extra-copy {
    grid-column: 3;
  }
  #app .v296-extra-option > .v296-extra-price,
  #app .v296-extra-option > .v309-included-badge {
    grid-column: 2 / -1;
    grid-row: 2;
    justify-self: end;
    max-width: 100%;
    margin-left: 0;
    padding-left: 0;
    white-space: normal;
    overflow-wrap: break-word;
    text-align: right;
    line-height: 1.4;
  }
}
