/* Offer presentation refinements. Palette tokens are resolved on body. */
.pe .pe-action-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;padding:9px;border:1px solid var(--probg-border,#dce2da);border-radius:7px;color:var(--probg-primary-ink,#203e32);background:var(--probg-background,#fbfcf9);cursor:pointer;text-decoration:none}
.pe .pe-action-icon:is(:hover,:focus-visible){background:var(--probg-sage,#edf2e9);color:var(--probg-primary-on-sage,#203e32)}
.pe .pe-action-icon:disabled{opacity:.55;cursor:not-allowed}
.pe .pe-action-icon .pe-icon{display:block;width:21px;height:21px}
@media(min-width:761px){
 .pe .pe-sidebar{position:sticky;top:calc(var(--probg-header-height,0px) + 24px);align-self:start;min-height:0;max-height:calc(100dvh - var(--probg-header-height,0px) - 48px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
 .probg-header-sticky .pe .pe-sidebar{top:calc(var(--probg-header-height,90px) + 24px);max-height:calc(100dvh - var(--probg-header-height,90px) - 48px)}
}
@media(max-width:760px){.pe .pe-sidebar{position:static;max-height:none;overflow:visible}}

/* Link the offer's broker to the public eTeam profile only for matched GUIDs. */
.pe-agent h2 a{color:var(--probg-primary-on-white,#203e32);text-decoration:none}
.pe-agent h2 a:is(:hover,:focus-visible){text-decoration:underline;text-underline-offset:4px}
.pe-agent-profile{display:inline-flex;align-items:center;gap:6px;margin-top:5px;font-size:.875rem;font-weight:700;color:var(--probg-primary-on-white,#203e32)}
.pe-card-broker a{color:var(--probg-primary-on-white,#203e32);font-weight:650;text-underline-offset:3px}

.pe-section,.pe-broker-card section{scroll-margin-top:calc(var(--probg-header-height,90px) + 24px)}
.pe-gallery-empty{padding:36px 24px;background:var(--probg-sage);color:var(--probg-primary-on-sage);border-radius:12px;margin-bottom:32px;text-align:center}
.pe-gallery-empty p{margin:0}
.pe-gallery-status{min-height:24px;margin:0 0 10px;font-size:.875rem;color:#fff}
.pe-gallery-original{margin-bottom:12px}
.pe-lightbox-stage img{touch-action:pan-y pinch-zoom}

/* Shared inquiry feedback on white form surfaces; preserve native no-JS validation. */
.pf-summary{padding:16px;margin:0 0 20px;border:2px solid #a52222;border-radius:6px;background:#fff1f1;color:#771717;font-size:1rem;overflow-wrap:anywhere}.pf-summary[hidden]{display:none}.pf-summary p{margin:0 0 8px}.pf-summary ul{margin:0;padding-left:22px}.pf-summary a{color:inherit!important;text-decoration:underline!important}.pf-error{font-size:0.875rem;line-height:1.5;color:#a52222;margin:6px 0 12px;overflow-wrap:anywhere}[data-pf-form] [aria-invalid="true"]{border-color:#a52222!important;box-shadow:0 0 0 1px #a52222}[data-pf-form] :is(input,select,textarea){scroll-margin-top:calc(var(--probg-header-height,0px) + 24px)}.pf-summary:focus{outline:3px solid #a52222;outline-offset:3px}
