/* carrier_summary.css — standalone one-page carrier summary (/summary/<dot>).
   2026-08-30 v1.0. Screen: a clean letterhead-style card. Print: only the
   card, one page, no site chrome, no blank tail. */

.cs-page { max-width: 820px; margin: 1.5rem auto 3rem; padding: 0 1rem; }

.cs-card {
  background: #fff;
  border: 1px solid #e2e6df;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 18px rgba(20, 30, 28, 0.08);
}

.cs-banner { line-height: 0; background: #eef1ec; }
.cs-banner img { width: 100%; height: 220px; object-fit: cover; display: block; }

.cs-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  padding: 1.4rem 1.75rem 0.75rem;
}
.cs-name { margin: 0; font-size: 1.9rem; line-height: 1.15; color: #16231f; }
.cs-sub { margin: 0.35rem 0 0; color: #5a655f; font-size: 1.05rem; }
.cs-ids { margin: 0.25rem 0 0; color: #8a938d; font-size: 0.9rem; }

.cs-print {
  border: 1px solid #16231f; background: #16231f; color: #fff;
  border-radius: 8px; padding: 0.6rem 1.1rem; font-size: 0.92rem;
  cursor: pointer; white-space: nowrap;
}
.cs-print:hover { background: #0c1512; }

.cs-facts { margin: 0.75rem 0 0; padding: 0 1.75rem; }
.cs-row {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 0.5rem 1.5rem;
  padding: 0.8rem 0; border-top: 1px solid #eef1ec;
}
.cs-row:first-child { border-top: 0; }
.cs-row dt { margin: 0; font-weight: 600; color: #6a746e; font-size: 0.92rem; }
.cs-row dd { margin: 0; color: #16231f; line-height: 1.55; }
.cs-asof { color: #97a09a; font-size: 0.85em; }
.cs-row a { color: #1c5f45; }

.cs-foot {
  margin: 0.5rem 0 0; padding: 1rem 1.75rem 1.75rem;
  font-size: 0.8rem; color: #97a09a; line-height: 1.5;
}

@media (max-width: 620px) {
  .cs-row { grid-template-columns: 1fr; gap: 0.15rem; }
  .cs-name { font-size: 1.55rem; }
}

@media print {
  /* Print only the summary card: no header, sidebar, or sticky bar, and no
     blank tail (the page is short, and the chrome is removed from flow). */
  body > *:not(.ph-journey-layout) { display: none !important; }
  .ph-journey-layout, .ph-journey-main, main { margin: 0 !important; padding: 0 !important; }
  .cs-page { margin: 0 !important; max-width: 100% !important; padding: 0 !important; }
  .cs-card { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
  .cs-print { display: none !important; }
  .cs-banner img { height: 180px; }
}

/* 2026-08-30: scoped universal summary; legacy bespoke summaries unchanged. */
.pu-summary-logo { display: block; width: auto; height: 48px; max-width: 160px; object-fit: contain; margin-bottom: .5rem; }
.pu-summary-card { color: #223e49; font-family: Arial, sans-serif; }
.pu-summary-card .cs-banner img { height: 190px; object-position: center; }
.pu-summary-card .cs-name { font-family: Georgia, serif; overflow-wrap: anywhere; }
.pu-summary-card .cs-row { grid-template-columns: 9rem minmax(0,1fr); gap: .6rem 1rem; padding: .6rem 0; }
.pu-summary-card .cs-row dd { line-height: 1.4; overflow-wrap: anywhere; }
.pu-summary-card .cs-print { text-decoration: none; }
.pu-summary-card .cs-foot { color: #526369; }
.pu-summary-card .cs-foot p { margin: .35rem 0; font-size: .8rem; line-height: 1.4; overflow-wrap: anywhere; }
.pu-summary-card .cs-ids, .pu-summary-card .cs-row dt { color: #526369; }
.pu-contact-line { display: block; }
.pu-brochure-back { text-align: center; }
@media (max-width: 620px) {
  .pu-summary-card .cs-row { grid-template-columns: 1fr; gap: .15rem; }
  .pu-summary-card .cs-head, .pu-summary-card .cs-facts, .pu-summary-card .cs-foot { padding-left: 1rem; padding-right: 1rem; }
}
@media print {
  @page brochure { size: letter portrait; margin: .45in; }
  .pu-brochure { page: brochure; }
  .pu-brochure .cs-card { break-inside: avoid; }
  .pu-brochure .cs-banner img { height: 1.8in; }
  .pu-brochure .cs-head { padding: .12in .05in .04in; }
  .pu-brochure .cs-name { font-size: 21pt; line-height: 1.05; }
  .pu-brochure .cs-sub, .pu-brochure .cs-ids { font-size: 10pt; margin: .04in 0; }
  .pu-brochure .cs-facts { padding: 0 .05in; margin: .05in 0; }
  .pu-brochure .cs-row { display: grid; grid-template-columns: 1.3in minmax(0,1fr); padding: .05in 0; font-size: 10pt; }
  .pu-brochure .cs-row dt { font-size: 9.5pt; }
  .pu-brochure .cs-foot { padding: .06in .05in 0; }
  .pu-brochure .cs-foot p { font-size: 8pt; margin: .025in 0; line-height: 1.25; }
  .pu-brochure .cs-row a { color: #223e49; text-decoration: none; }
  .pu-brochure .cs-row a::after { content: none !important; }
  .pu-brochure-back { display: none !important; }
}
