/* Carrier-switch entry pages (/mobile/switch/*). Builds on phone-bill-check.css. */
.switch-table-wrap { overflow-x: auto; margin: 0 0 12px; }
.switch-table { width: 100%; border-collapse: collapse; background: var(--phone-surface, #fff); border-radius: 12px; overflow: hidden; font-size: 14px; }
.switch-table th, .switch-table td { padding: 11px 9px; border-bottom: 1px solid #e3ded2; text-align: left; vertical-align: top; }
.switch-table thead th { background: #efeadf; font-size: 13px; }
.switch-table td.is-up { color: #874532; font-weight: 700; }
.switch-table td.is-down { color: #245448; font-weight: 700; }
.switch-caution-list { margin: 0; padding-left: 1.2em; line-height: 1.8; }
.switch-caution-list li + li { margin-top: 6px; }
.switch-official { margin: 18px 0 0; padding: 16px; border: 1px solid #e3ded2; border-radius: 14px; background: #fff; }
.switch-official .official-cta-text { display: block; margin-bottom: 6px; color: var(--phone-muted, #5b6773); font-size: 13px; }
.switch-official { text-align: center; }
.switch-official a { max-width: 420px; margin: 0 auto; display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 16px; border-radius: 10px; background: #a9482d; color: #fff; font-weight: 700; text-decoration: none; }
.switch-official a:hover, .switch-official a:focus-visible { background: #8f3b24; }
.switch-official a:focus-visible { outline: 3px solid #1f2933; outline-offset: 2px; }
.switch-updated { color: var(--phone-muted, #5b6773); font-size: 13px; }
/* Three steps in one row on wide screens; stacked like the other panels on phones. */
@media (min-width: 761px) {
  .phone-point-panel.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .phone-point-panel.is-three article { border-top: 0; border-right: 1px solid var(--phone-line); }
  .phone-point-panel.is-three article:last-child { border-right: 0; }
}
@media (max-width: 480px) {
  .switch-table { font-size: 13px; }
  .switch-table th, .switch-table td { padding: 9px 6px; }
}

/* Phones: show each comparison row as a small card instead of a cramped 3-4 column table. */
@media (max-width: 600px) {
  .is-stack thead { display: none; }
  .is-stack, .is-stack tbody, .is-stack tr, .is-stack th, .is-stack td { display: block; width: 100%; }
  .is-stack tr { padding: 12px 14px; border-bottom: 1px solid #e3ded2; }
  .is-stack tr:last-child { border-bottom: 0; }
  .is-stack th[scope="row"] { padding: 0 0 6px; border: 0; font-size: 15px; }
  .is-stack td { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 10px; padding: 5px 0; border: 0; text-align: left; }
  .is-stack td::before { content: attr(data-label); color: var(--phone-muted, #5b6773); font-weight: 400; }
}
