/* Page styles for the CMA vet pages sample. Loaded before the shared frame, which supplies colours and the bar. */

.coverage {
  font-size: 0.95rem;
  color: var(--muted);
  border-left: 3px solid var(--border);
  padding-left: 0.75rem;
}

/* The offer sits first in main so the honest-offer block is visible without scrolling. On a phone the copy stacks
   directly above the button; from 48rem the copy and the button sit side by side. */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

@media (min-width: 48rem) {
  .offer-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(15rem, 1fr);
  }
}

/* The honest-offer line: directly beside the button on a wide screen, directly above it on a phone, at least as
   large as the button text and never hidden by a style. */
.offer-notice {
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 600;
  border: 2px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem;
  margin: 0 0 0.75rem;
}

.offer-price {
  font-weight: 700;
  margin: 0;
}

.prices {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.price {
  width: 100%;
  text-align: left;
  line-height: 1.35;
}

.offer-plain {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}

/* The sample. All four options carry the same class and the same style, so they are at equal prominence. */
.sample-banner {
  border: 2px solid var(--error, #a4000f);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-weight: 600;
}

.sample h2 {
  margin-top: 0.5rem;
}

.options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

@media (min-width: 48rem) {
  .options {
    grid-template-columns: 1fr 1fr;
  }
}

.option {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  background: var(--card);
}

.option h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.option p {
  margin: 0 0 0.5rem;
}

.option p:last-child {
  margin-bottom: 0;
}

.option-price {
  font-weight: 600;
}

table.sheet {
  margin: 0.75rem 0 1rem;
}

table.sheet caption {
  text-align: left;
  font-weight: 600;
  padding: 0 0 0.35rem;
}

table.sheet th,
table.sheet td {
  text-align: left;
  vertical-align: top;
  padding: 0.35rem 0.5rem 0.35rem 0;
  border-bottom: 1px solid var(--border);
}

blockquote {
  margin: 0.75rem 0;
  padding-left: 1rem;
  border-left: 3px solid var(--border);
}

blockquote .sub {
  margin-left: 1.25rem;
}

.source {
  font-size: 0.95rem;
  color: var(--muted);
}

.stop {
  border-top: 1px solid var(--border);
  padding-top: 0.5rem;
}

.sdt-email {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  color: inherit;
}

@page {
  size: A4;
  margin: 15mm;
}

@media print {
  body {
    font-size: 11pt;
  }
  .prices,
  .status,
  .offer {
    display: none;
  }
  a {
    color: #000;
    text-decoration: none;
  }
}
