/* The agency price sheet (src/pricing/agency-sheet.js): /partners/pricing, its print copy and the admin's view.
   It rides on pricing.css (the client sheet's look); only what the agency sheet has of its own is here.
   Mobile first: one column on a phone; the rates table stacks into small cards under 600px. */

.pz.pz-agency .pz-plans-2 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .pz.pz-agency .pz-plans-2 { grid-template-columns: 1fr 1fr; } }
.pz.pz-agency .pz-number { margin-top: 1rem; }
.pz.pz-agency .pz-number .pz-hour b { font-size: 1.45rem; }
.pz.pz-agency .pz-rates th:first-child, .pz.pz-agency .pz-rates td:first-child { width: 46%; }
.pz.pz-agency td.pz-soft { color: var(--pz-ink2); font-weight: 600; }
.pz.pz-agency .pz-amounts { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 .5rem; }
.pz.pz-agency .pz-chip { display: inline-block; border: 1px solid var(--pz-softline); background: var(--pz-soft); border-radius: 999px; padding: .2rem .7rem; font-weight: 700; color: var(--pz-head); }
.pz.pz-agency .pz-box ul { margin-top: .2rem; }
.pz.pz-agency .pz-two { margin-top: 1rem; }
.pz.pz-agency .pz-two > .pz-box { margin-top: 0; }

/* The rates table on a phone: each line its own small card, its labels in front of the figures. */
@media (max-width: 599px) {
  .pz.pz-agency .pz-rates, .pz.pz-agency .pz-rates tbody, .pz.pz-agency .pz-rates tr, .pz.pz-agency .pz-rates td { display: block; width: 100%; }
  .pz.pz-agency .pz-rates tr:first-child { display: none; }
  .pz.pz-agency .pz-rates tr { border: 1px solid var(--pz-rule); border-radius: 10px; margin-bottom: .6rem; padding: .25rem 0; background: var(--pz-card); }
  .pz.pz-agency .pz-rates td, .pz.pz-agency .pz-rates td:first-child { border-bottom: 0; padding: .3rem .8rem; width: 100%; }
  .pz.pz-agency .pz-rates td:first-child { font-weight: 700; }
  .pz.pz-agency .pz-rates td.pz-num { text-align: left; white-space: normal; }
  .pz.pz-agency .pz-rates td.pz-num::before { content: attr(data-label) ": "; font-weight: 600; color: var(--pz-ink2); }
}

/* The print copy: two Letter pages, two columns as on a laptop. */
.pz-pdf.pz-agency .pz-plans-2 { grid-template-columns: 1fr 1fr; }
.pz-pdf.pz-agency .pz-number .pz-hour b { font-size: 15pt; }
.pz-pdf.pz-agency .pz-chip { padding: 2px 9px; }
.pz-pdf.pz-agency .pz-apply { font-weight: 700; color: var(--pz-head); margin-top: 12px; }
@media screen and (max-width: 640px) {
  .pz-pdf.pz-agency .pz-plans-2 { grid-template-columns: 1fr; }
}
