/* A working support-program page, contained within the first audience example. */
.public-page .pub-agency-example { padding: 0 !important; overflow: hidden; border: 1px solid #e5e7eb; }
.agency-demo { color: #1d1e20; font-size: 14px; line-height: 1.6; }
.agency-demo button, .agency-demo input, .agency-demo select { font: inherit; }
.agency-demo button { cursor: pointer; }
.agency-demo button, .agency-demo input, .agency-demo select { border-radius: 4px; }
.agency-demo-label { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 14px 24px; background: #f6f7f8; border-bottom: 1px solid #e5e7eb; font-size: 12px; }
.agency-demo-label strong { font-size: 13px; }
.agency-demo-label > span { color: #62666d; }
.agency-site-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 28px; border-bottom: 1px solid #ebedf0; }
.agency-brand { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 18px; letter-spacing: -.5px; }
.agency-brand i { color: var(--cornflower-blue); }
.agency-site-menu { font-weight: 600; font-size: 12px; white-space: nowrap; }
.agency-site-menu > span { margin-left: 18px; color: #71757d; font-weight: 400; }
.agency-site-hero { padding: 26px 28px; background: linear-gradient(90deg,rgba(16,32,52,.83),rgba(16,32,52,.35)),url('/industries/images/public-agency-banner.webp') center / cover; border-bottom: 1px solid #e7eaf0; color: #fff; }
.agency-site-hero > span { display: block; color: rgba(255,255,255,.8); font-size: 11px; }
.agency-site-hero > span > span { margin: 0 8px; }
.agency-site-hero h3 { margin: 8px 0 4px; font-size: 28px; font-weight: 700; line-height: 1.3; letter-spacing: -1px; color: #fff; }
.agency-site-hero p { margin: 0; color: rgba(255,255,255,.9); font-size: 13px; }
.agency-site-body { padding: 24px 28px 16px; }
.agency-search { display: flex; border: 1px solid #c8cdd6; border-radius: 4px; overflow: hidden; margin-bottom: 16px; }
.agency-search input { width: 100%; min-width: 0; margin: 0; padding: 10px 12px; height: 44px; border: 0; color: #1d1e20; background: #fff; font-size: 13px; }
.agency-search input::placeholder { color: #71757d; }
.agency-search button { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; border: 0; border-radius: 0; background: #1d1e20; color: #fff; }
.agency-filter-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.agency-filters { display: flex; gap: 6px; }
.agency-filters button { padding: 5px 13px; min-height: 36px; background: #fff; border: 1px solid #dfe2e7; color: #62666d; font-size: 12px; }
.agency-filters button[aria-pressed="true"] { color: #fff; background: #1d1e20; border-color: #1d1e20; }
.agency-filter-row select { width: auto; margin: 0; padding: 6px 28px 6px 10px; min-height: 36px; border: 1px solid #dfe2e7; color: #434851; background-color: #fff; font-size: 12px; }
.agency-result-count { margin: 16px 0 8px; font-size: 12px; color: #62666d; }
.agency-result-count strong { color: var(--cornflower-blue); }
.agency-program { padding: 16px 0; border-top: 1px solid #e5e7eb; }
.agency-program-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; color: #62666d; font-size: 11px; }
.agency-badge { display: inline-block; padding: 2px 7px; border-radius: 3px; background: #edf0ff; color: #3e4dcc; font-size: 11px; font-weight: 600; }
.agency-badge.is-closed { background: #f0f1f3; color: #62666d; }
.agency-program h4 { margin: 0 0 4px; line-height: 1.5; }
.agency-program h4 button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; padding: 0; border: 0; background: transparent; color: #1d1e20; font-size: 17px; font-weight: 700; letter-spacing: -.4px; text-align: left; word-break: keep-all; }
.agency-program h4 button:hover { color: var(--cornflower-blue); }
.agency-program h4 i { flex-shrink: 0; color: #727780; }
.agency-program > p { margin: 0 0 7px; color: #62666d; font-size: 12px; line-height: 1.7; }
.agency-program-info { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; color: #62666d; font-size: 11px; }
.agency-demo-hint { display: flex; gap: 7px; align-items: center; margin: 10px 0 0; font-size: 11px; color: #62666d; }
.agency-demo-hint i { color: var(--cornflower-blue); }
.agency-site-footer { padding: 12px 24px; text-align: center; background: #f6f7f8; color: #62666d; font-size: 11px; border-top: 1px solid #e5e7eb; }
.agency-empty { text-align: center; padding: 36px 12px; border-block: 1px solid #e5e7eb; }
.agency-empty p { margin: 5px 0 14px; font-size: 13px; color: #62666d; }
.agency-empty button { padding: 6px 14px; border: 1px solid #dfe2e7; background: #fff; }
.agency-back { display: flex; align-items: center; gap: 6px; padding: 0; margin-bottom: 20px; border: 0; background: transparent; color: #62666d; font-size: 12px !important; }
.agency-detail h4 { margin: 12px 0 8px; font-size: 23px; line-height: 1.5; font-weight: 700; letter-spacing: -.6px; word-break: keep-all; }
.agency-detail > p { color: #62666d; font-size: 13px; margin-bottom: 20px; }
.agency-document-viewer { border: 1px solid #d5d9e0; border-radius: 4px; overflow: hidden; margin: 20px 0; }
.agency-document-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; background: #323842; color: #fff; font-size: 12px; }
.agency-document-header > span, .agency-document-header a { display: flex; align-items: center; gap: 7px; }
.agency-document-header a { color: #fff; font-size: 11px; white-space: nowrap; }
.agency-document-header a:hover { text-decoration: underline; }
.agency-document-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 6px 8px; background: #f4f5f7; border-bottom: 1px solid #d5d9e0; }
.agency-document-paging, .agency-document-zoom { display: flex; gap: 4px; align-items: center; }
.agency-document-toolbar button { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; background: #fff; border: 1px solid #dce0e6; color: #323842; }
.agency-document-toolbar button:disabled { opacity: .35; cursor: default; }
.agency-document-toolbar span { min-width: 40px; text-align: center; font-size: 11px; color: #434851; }
.agency-document-canvas { max-height: 480px; overflow: auto; padding: 18px; background: #737a84; overscroll-behavior: contain; }
.agency-document-paper { width: 100%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.agency-document-paper img { display: block; width: 100%; max-width: none; height: auto; }
.agency-detail .agency-document-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 3px 10px; padding: 8px 12px; margin: 0; background: #f4f5f7; color: #62666d; font-size: 10px; line-height: 1.6; }
.agency-method-button { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 11px 16px; background: #1d1e20; color: #fff; border: 1px solid #1d1e20; font-weight: 600 !important; margin-left: auto; }
.agency-method { margin-top: 20px; padding: 16px; background: #f4f6fa; border-radius: 4px; font-size: 13px; }
.agency-method ol { margin: 10px 0; padding-left: 20px; }
.agency-method li { margin: 5px 0; }
.agency-method p { margin: 0; font-size: 11px; color: #62666d; }
.agency-detail .agency-closed-note { background: #f6f7f8; padding: 14px; font-size: 12px; }
@media (max-width: 767px) {
    .agency-demo-label { padding: 12px 16px; }
    .agency-site-header { padding: 16px; }
    .agency-brand { font-size: 16px; }
    .agency-site-menu > span { display: none; }
    .agency-site-hero { padding: 20px 16px; }
    .agency-site-body { padding: 20px 16px 16px; }
    .agency-filters button { padding-inline: 10px; }
    .agency-filter-row { gap: 8px; }
    .agency-program h4 button { font-size: 16px; }
    .agency-program-info { display: grid; gap: 3px; }
    .agency-detail h4 { font-size: 21px; }
    .agency-document-canvas { max-height: 400px; padding: 10px; }
    .agency-document-toolbar { gap: 5px; }
    .agency-document-toolbar button { width: 28px; height: 28px; }
    .agency-document-toolbar span { min-width: 34px; }
}
