/* A small, optional look into the customer portal. */
body .pc-portal { background: #f1f5fa; color: #173657; border-block: 1px solid #dbe3ed; }
body .pc-portal-intro { max-width: 760px; margin-bottom: 32px; }
body .pc-portal-intro h2 { color: #004080; margin-bottom: 18px; }
body .pc-portal-lead { max-width: 670px; color: #435971; font-size: 16px; line-height: 1.75; margin-top: 0; }
body .pc-portal-demo-note { color: #52667e; font-size: 12px; line-height: 1.65; margin-top: 14px; }
body .pc-portal-gallery { display: grid; gap: 24px; }
body .pc-portal-shot { min-width: 0; margin: 0; border: 1px solid #cfdae6; border-radius: 12px; background: #fff; overflow: hidden; }
body .pc-portal-shot-main { display: block; }
body .pc-portal-secondary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
body .pc-portal-secondary .pc-portal-shot { display: flex; flex-direction: column; }
body .pc-portal-secondary .pc-portal-caption { margin-top: auto; }
body .pc-portal-shot-text { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.45fr); align-items: center; }
body .pc-portal-zoom { position: relative; display: block; min-width: 0; text-decoration: none; border: 0; border-radius: 0; color: #004080; background: #f1f5fa; padding: 0 0 43px; cursor: zoom-in; }
body .pc-portal-zoom img { display: block; width: 100%; height: auto; margin: 0; }
body .pc-portal-zoom-label { position: absolute; bottom: 0; left: 0; right: 0; display: block; padding: 9px 16px; border-top: 1px solid #dbe3ed; background: #fff; color: #004080; font-size: 12px; line-height: 24px; font-weight: 600; text-align: right; }
body .pc-portal-zoom:hover .pc-portal-zoom-label { background: #e9f0f8; text-decoration: underline; text-underline-offset: 3px; }
body .pc-portal-caption { padding: 24px; color: #435971; }
body .pc-portal-caption h3 { color: #004080; font-family: 'DM Sans',Arial,sans-serif; font-size: 19px; font-weight: 600; line-height: 1.4; margin: 0 0 10px; letter-spacing: 0; }
body .pc-portal-caption p { color: #435971; font-size: 14px; line-height: 1.75; margin: 0; }
body .pc-portal-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
body .pc-portal-cta .pc-cta-note { color: #52667e; font-size: 13px; }
body .pc-portal-zoom:focus-visible, body .pc-portal-close:focus-visible, body .pc-portal-dialog-canvas:focus-visible { outline: 3px solid #b94e0f; outline-offset: -4px; }
html.pc-portal-modal-open { overflow: hidden; }
body .pc-portal-dialog:not([open]) { display: none; }
body .pc-portal-dialog { color-scheme: light; width: min(1160px,calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid #cfdae6; border-radius: 12px; color: #173657; background: #fff; box-shadow: 0 24px 100px #071c3a66; overflow: auto; }
body .pc-portal-dialog::backdrop { background: #0b213cc9; }
body .pc-portal-dialog-bar { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 16px 22px; position: sticky; top: 0; z-index: 1; background: #fff; border-bottom: 1px solid #dbe3ed; }
body .pc-portal-dialog-bar h2 { font-family: 'DM Sans',Arial,sans-serif; color: #004080; font-weight: 600; font-size: 17px; line-height: 1.4; letter-spacing: 0; margin: 0; }
body .pc-portal-close { flex-shrink: 0; display: inline-flex; align-items: center; min-height: 44px; padding: 9px 14px; border: 1px solid #b1c2d5; border-radius: 7px; box-shadow: none; background: #f1f5fa; color: #004080; font-size: 13px; font-weight: 600; line-height: 1.5; height: auto; text-transform: none; letter-spacing: 0; }
body .pc-portal-close:hover { background: #e2ebf5; }
body .pc-portal-dialog-image { width: 100%; height: auto; display: block; margin: 0; }
body .pc-portal-dialog-canvas { overflow: auto; overscroll-behavior-x: contain; }
body .pc-portal-dialog > .pc-portal-demo-note { margin: 0; padding: 14px 22px; }
@media (max-width: 740px) {
  body .pc-portal-intro { margin-bottom: 24px; }
  body .pc-portal-lead { font-size: 15px; }
  body .pc-portal-shot-main, body .pc-portal-secondary, body .pc-portal-shot-text { grid-template-columns: minmax(0,1fr); }
  body .pc-portal-gallery, body .pc-portal-secondary { gap: 18px; }
  body .pc-portal-caption { padding: 21px; }
  body .pc-portal-caption h3 { font-size: 18px; }
  body .pc-portal-cta { align-items: flex-start; flex-direction: column; gap: 12px; }
  body .pc-portal-dialog { width: calc(100% - 16px); max-height: calc(100dvh - 16px); }
  body .pc-portal-dialog-bar { padding: 10px 12px; }
  body .pc-portal-dialog-bar h2 { font-size: 14px; }
  body .pc-portal-dialog > .pc-portal-demo-note { padding: 12px; }
  body .pc-portal-dialog-image { width: max(100%,850px); max-width: none !important; }
}

/* One useful preview; detailed views remain available on demand. */
body .pc-portal-intro { max-width: 780px; margin-bottom: 24px; }
body .pc-portal-lead { font-size: 16px; }
body .pc-portal-demo-note { font-size: 14px; max-width: 730px; }
body .pc-portal-preview { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 32px; align-items: center; }
body .pc-portal-benefits { list-style: none; margin: 0; padding: 0; max-width: none; }
body .pc-portal-benefits li { padding: 15px 0; margin: 0; border-bottom: 1px solid #cfdae6; }
body .pc-portal-benefits li:first-child { padding-top: 0; }
body .pc-portal-benefits li:last-child { border: 0; padding-bottom: 0; }
body .pc-portal-benefits strong { display: block; color: #004080; font-size: 18px; margin-bottom: 5px; }
body .pc-portal-benefits span { display: block; color: #435971; font-size: 16px; line-height: 1.65; }
body .pc-portal-caption { padding: 18px 22px; }
body .pc-portal-caption p { max-width: 650px; font-size: 16px; }
body .pc-portal-zoom-label { font-size: 14px; }
body .pc-portal-more { margin-top: 24px; border-top: 1px solid #cfdae6; }
body .pc-portal-more > summary { cursor: pointer; min-height: 48px; padding: 17px 0; font-size: 16px; font-weight: 600; line-height: 1.65; color: #004080; }
body .pc-portal-more[open] > summary { margin-bottom: 7px; }
body .pc-portal-cta { margin-top: 18px; }
body .pc-portal-cta .pc-cta-note { font-size: 14px; }
@media (max-width: 740px) {
  body .pc-portal-preview { grid-template-columns: minmax(0,1fr); gap: 24px; }
  body .pc-portal-caption { padding: 16px 18px; }
  body .pc-portal-preview .pc-portal-caption p { font-size: 14px; }
}
