/* Portal workspaces use one canvas, consistent toolbars, and divided sections.
   Homepage discovery and the directory grid retain their approved presentation. */
.bp-owned .portal-shell-center.portal-workspace{background:var(--bp-surface);background-image:none}
.portal-workspace :is(.bn-surface,.bn-card,.bp-card,.bp-surface,.cohesion-card,.bp-editor-surface,.bp-manager-surface,.bp-manager-section,.bp-object-workspace,.bp-detail-section,.bp-detail-subsection){border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
.portal-workspace :is(.bn-card,.bp-card,.cohesion-card,.bp-detail-section){border-top:1px solid var(--bp-border)!important}
/* Both native tables and data grids sit directly on the workspace canvas. */
.portal-workspace :is(.bn-table,.bp-module-table){border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
.portal-workspace .bp-manager-table-shell{container-type:inline-size;min-width:0;width:100%}
.portal-workspace .bp-module-table .bn-native-table{border-collapse:collapse;font-size:15px;line-height:24px}
.portal-workspace .bp-module-table :is(thead,th){background:transparent!important}
.portal-workspace .bp-module-table th{padding:12px 16px;color:var(--bp-text)!important;font-size:15px!important;font-weight:600!important;line-height:22px;border-bottom:1px solid var(--bp-border)}
.portal-workspace .bp-module-table td{padding:12px 16px;vertical-align:middle;line-height:24px;border-bottom:1px solid var(--bp-border)}
.portal-workspace .bp-module-table .bn-native-table tbody tr:last-child td{border-bottom:1px solid var(--bp-border)}
.portal-workspace .bp-module-table :is(.bn-table-pager,.bp-module-pager){min-height:52px;margin:0;padding:8px 16px;border-top:0;background:transparent}
.portal-workspace .bp-module-table .bp-row-actions{gap:8px}
.portal-workspace .bp-module-table .bp-row-actions>*{flex-shrink:0}
.portal-workspace .bp-module-table .bp-row-actions :is(.bn-button,.bn-menu>summary){white-space:nowrap;overflow-wrap:normal}
.portal-workspace .bp-record-identity{display:flex;align-items:center;gap:12px;min-width:0}
.portal-workspace .bp-record-identity :is(.bn-link,strong){color:var(--bp-text);font-size:15px;font-weight:600;line-height:24px}
.portal-workspace .bp-record-identity .bn-link:hover{color:var(--bp-primary)}
.portal-workspace .bp-manager-surface .bn-surface.bp-module-table{padding:0}
.bp-owned .bp-manager-toolbar{align-items:end;gap:12px;padding:12px 24px;margin:0;border:0;border-radius:0;box-shadow:none;background:var(--bp-surface);border-bottom:1px solid var(--bp-border)}
.bp-owned .bp-manager-toolbar .bn-field{margin:0}
.bp-owned .bp-manager-toolbar:has(.bn-field){min-height:100px}
.portal-workspace .bp-manager-toolbar:has(.bn-field){min-height:0}
.bp-owned .bp-manager-toolbar .bn-button{min-height:var(--bp-control-height)}
.bp-owned .bp-manager-toolbar>.bn-muted{align-self:center}
.portal-workspace .bp-manager-toolbar:first-child,.portal-workspace .auction-control-bar{padding-inline:0}
.portal-workspace .bp-document-toolbar{border:0;border-radius:0;border-bottom:1px solid var(--bp-border);padding:12px 0;gap:12px}
.bn-record-list{border-bottom:1px solid var(--bp-border)}
.bn-record-row{padding:24px 0;border-bottom:1px solid var(--bp-border)}
.bn-record-row:last-child{border-bottom:0}
.bn-record-row h3{font-size:18px;line-height:26px;font-weight:600;color:var(--bp-text)}
.bn-data-label,.auction-row-meta{font-size:14px;line-height:22px;font-weight:400;color:var(--bp-muted)}
.bn-data-value{font-size:18px;line-height:26px;font-weight:600;color:var(--bp-text);font-variant-numeric:tabular-nums}
.bn-data-value small{font-size:14px;font-weight:400}
.portal-workspace .bp-manager-surface>.bp-empty-state{display:grid;grid-template-columns:44px minmax(0,1fr);align-content:start;justify-items:start;column-gap:16px;min-height:0;padding:32px 0;text-align:left;border:0}
.portal-workspace .bp-manager-surface>.bp-empty-state .bp-empty-state-visual{grid-column:1;grid-row:1 / 3;width:44px;height:44px;margin:0}
.portal-workspace .bp-manager-surface>.bp-empty-state :is(.bp-empty-state-title,.bp-empty-state-message,.bp-empty-state-actions){grid-column:2;margin:0}
.portal-workspace .bp-manager-surface>.bp-empty-state .bp-empty-state-actions{margin-top:12px}
@media(max-width:760px){.bp-owned .bp-manager-toolbar{padding:12px 16px}.portal-workspace .bp-manager-toolbar:first-child,.portal-workspace .auction-control-bar{padding-inline:0}.bp-owned .bp-manager-toolbar .bp-module-status-select{flex:1 1 140px;width:auto}.bp-owned .bp-manager-toolbar .bp-manager-search{flex-basis:100%;width:100%}.portal-workspace .bp-manager-surface>.bp-empty-state{padding-block:24px}}

.module-search-summary{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:8px 0 16px;min-width:0;font-size:14px;line-height:22px;color:var(--bp-muted)}.module-search-summary strong{color:var(--bp-text);overflow-wrap:anywhere}.module-search-summary a{color:var(--bp-primary);padding:8px 0}.bp-manager-toolbar>.module-search-summary{align-self:center;margin:0 auto 0 0}.auction-market-summary>.module-search-summary{margin:0}

/* Company profiles adapt to available information; contacts sit beside details, photos below. */
.bp-owned .company-profile { min-width:0; color:#10233F; container-type:inline-size; }
.bp-owned .company-profile-topline { margin-bottom:12px; font-size:14px; line-height:22px; }
.bp-owned .company-profile-topline a { display:inline-flex; align-items:center; gap:8px; padding-block:4px; color:#003FAA; font-weight:600; }
.bp-owned .company-profile-masthead { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px 24px; padding-bottom:20px; border-bottom:1px solid #D7E2EE; }
.bp-owned .company-profile-identity { display:flex; align-items:center; gap:20px; min-width:0; flex:1 1 280px; }
.bp-owned .company-profile-identity>div { min-width:0; }
.bp-owned .company-profile-identity h1 { margin:0; color:#10233F; font-size:28px; line-height:35px; font-weight:700; overflow-wrap:anywhere; }
.bp-owned .company-profile-identity p { margin:4px 0 0; font-size:14px; line-height:22px; color:#52657A; }
.bp-owned .company-profile-logo { display:block; width:72px; height:72px; flex:0 0 72px; object-fit:contain; padding:8px; border:1px solid #D7E2EE; border-radius:8px; background:#fff; }
.bp-owned .company-profile-initials { display:grid; place-items:center; color:#003FAA; background:#EAF6FA; border-color:transparent; font-size:24px; font-weight:700; }
.bp-owned .company-profile .public-company-action-hub { margin:0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; min-width:0; }
.bp-owned .company-profile .public-company-action-toolbar { display:flex; flex-wrap:wrap; gap:8px; margin:0; padding:0; border:0; background:transparent; }
.bp-owned .company-profile .public-company-action-toolbar>button { min-height:40px; padding:8px 12px; border-color:transparent; background:transparent; }
.bp-owned .company-profile .public-company-action-toolbar>button.company-profile-primary-action { order:5; background:#003FAA; border-color:#003FAA; color:#fff; padding-inline:20px; }
.bp-owned .company-profile .public-company-action-toolbar>button.company-profile-primary-action:hover { background:#002F82; color:#fff; }
.bp-owned .company-profile .company-profile-primary-action .public-company-action-icon { color:inherit; }
.bp-owned .company-profile-columns { display:grid; grid-template-columns:minmax(0,1.3fr) minmax(300px,.9fr); gap:32px; align-items:start; padding-top:20px; }
.bp-owned .company-profile-columns.is-single { grid-template-columns:minmax(0,1fr); }
.bp-owned .company-profile-main,.bp-owned .company-profile-copy { min-width:0; }
.bp-owned .company-profile-copy { padding-bottom:20px; }
.bp-owned .company-profile-main>.company-profile-section:first-child { padding-top:0; border-top:0; }
.bp-owned .company-profile-people { min-width:0; padding-left:28px; border-left:1px solid #D7E2EE; }
.bp-owned .company-profile-columns.is-single>.company-profile-people { padding-left:0; border-left:0; }
.bp-owned .company-profile-people>.company-profile-section { padding:0; border-top:0; max-height:min(560px,65dvh); overflow-y:auto; overscroll-behavior-y:contain; scrollbar-width:thin; scrollbar-color:#B9C9D9 transparent; }
.bp-owned .company-profile-people.is-tabbed>.company-profile-section { padding-top:16px; }
.bp-owned .company-profile-people.is-tabbed>.company-profile-section>.company-profile-section-heading { display:none; }
.bp-owned .company-profile-people-tabs { display:flex; align-items:stretch; gap:24px; border-bottom:1px solid #D7E2EE; }
.bp-owned .company-profile-people-tabs[hidden],.bp-owned .company-profile-people>.company-profile-section[hidden] { display:none!important; }
.bp-owned .company-profile-people-tabs button { display:flex; align-items:center; gap:10px; min-height:44px; padding:6px 0 10px; margin:0 0 -1px; border:0; border-bottom:2px solid transparent; background:none; color:#52657A; font-size:18px; line-height:26px; font-weight:600; cursor:pointer; }
.bp-owned .company-profile-people-tabs button[aria-selected="true"] { border-bottom-color:#003FAA; color:#003FAA; }
.bp-owned .company-profile-people-tabs button span { font-size:14px; font-weight:400; }
.bp-owned .company-profile-people :is(.company-profile-contacts,.company-profile-reviews) { padding-right:8px; }
.bp-owned .company-profile :is(h2,h3,p,dl,ul,ol,figure) { margin:0; }
.bp-owned .company-profile h2 { font-size:22px; line-height:30px; font-weight:700; color:#10233F; }
.bp-owned .company-profile h3 { font-size:18px; line-height:26px; font-weight:600; color:#10233F; }
.bp-owned .company-profile p { font-size:16px; line-height:26px; overflow-wrap:anywhere; }
.bp-owned .company-profile .company-profile-identity p { margin-top:4px; font-size:14px; line-height:22px; }
.bp-owned .company-profile-description { margin-top:8px!important; white-space:pre-line; color:#52657A; }
.bp-owned .company-profile-categories { margin-top:12px; }
.bp-owned .company-profile-categories h3 { font-size:14px; line-height:22px; font-weight:400; color:#52657A; }
.bp-owned .company-profile-categories ul { display:flex; flex-wrap:wrap; gap:4px 16px; padding:0; margin-top:4px; list-style:none; }
.bp-owned .company-profile a { color:#003FAA; }
.bp-owned .company-profile-categories a { font-size:15px; line-height:24px; text-decoration:none; font-weight:600; overflow-wrap:anywhere; }
.bp-owned .company-profile-retail { margin-top:16px!important; color:#52657A; }
.bp-owned .company-profile-details { margin-top:16px; }
.bp-owned .company-profile-details:first-child { margin-top:0; }
.bp-owned .company-profile-details>h2 { margin-bottom:12px; }
.bp-owned .company-profile-facts { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr)); gap:12px 20px; }
.bp-owned .company-profile-facts>div { display:grid; grid-template-columns:20px minmax(0,1fr); grid-template-rows:auto 1fr; gap:2px 12px; min-width:0; font-size:15px; line-height:24px; }
.bp-owned .company-profile-detail-icon { width:20px; height:20px; grid-column:1; grid-row:1 / 3; margin-top:3px; color:#409DC1; }
.bp-owned .company-profile-facts dt { grid-column:2; font-size:14px; line-height:22px; font-weight:400; color:#52657A; }
.bp-owned .company-profile-facts dd { grid-column:2; margin:0; min-width:0; overflow-wrap:anywhere; }
.bp-owned .company-profile-facts dd a { font-weight:600; }
.bp-owned .company-profile-location-name { display:block; font-weight:600; }
.bp-owned .company-profile-social { display:flex; flex-wrap:wrap; gap:8px 20px; margin-top:16px!important; padding:0; list-style:none; font-size:14px; line-height:22px; }
.bp-owned .company-profile-section { padding:20px 0; border-top:1px solid #D7E2EE; }
.bp-owned .company-profile-section-heading { display:flex; align-items:baseline; gap:12px; margin-bottom:12px; }
.bp-owned .company-profile-count { color:#6B7C8F; font-size:16px; line-height:24px; font-variant-numeric:tabular-nums; }
.bp-owned .company-profile-contacts { display:block; padding:0; list-style:none; }
.bp-owned .company-profile-contact { display:grid; grid-template-columns:40px minmax(0,1fr) 44px; align-items:center; gap:2px 12px; min-width:0; padding:12px 0; border-bottom:1px solid #D7E2EE; }
.bp-owned .company-profile-contact:first-child { padding-top:0; }
.bp-owned .company-profile-contact:last-child { padding-bottom:0; border-bottom:0; }
.bp-owned .company-profile-contact .company-profile-avatar { grid-column:1; grid-row:1 / 3; align-self:start; }
.bp-owned .company-profile-contact-info { grid-column:2; grid-row:1; }
.bp-owned .company-profile-contact-phone { grid-column:2; grid-row:2; }
.bp-owned .company-profile-contact-phone:empty { display:none; }
.bp-owned .company-profile-contact-message { grid-column:3; grid-row:1 / 3; }
.bp-owned .company-profile-contact-message>span { display:none; }
.bp-owned .company-profile-avatar { display:grid; place-items:center; width:40px; height:40px; background:#EAF6FA; color:#003FAA; border-radius:8px; font-weight:600; }
.bp-owned .company-profile-contact-info,.bp-owned .company-profile-contact-phone { min-width:0; }
.bp-owned .company-profile-contact h3 { font-size:16px; line-height:24px; overflow-wrap:anywhere; }
.bp-owned .company-profile-contact p { font-size:14px; line-height:22px; color:#52657A; }
.bp-owned .company-profile-contact-message { display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:8px; border-radius:6px; font-size:14px; font-weight:600; }
.bp-owned .company-profile-contact-message svg { width:20px; height:20px; }
.bp-owned .company-profile-contact-message:hover { background:#EAF6FA; }
.bp-owned .company-profile-media { min-width:0; container-type:inline-size; }
.bp-owned .company-profile-media .company-profile-section-heading { min-height:36px; align-items:center; }
.bp-owned .company-profile-gallery { display:flex; gap:16px; position:relative; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:none; }
.bp-owned .company-profile-gallery::-webkit-scrollbar { display:none; }
.bp-owned .company-profile-gallery figure { position:relative; min-width:0; flex:0 0 calc((100% - 32px)/3); height:200px; overflow:hidden; border-radius:6px; background:#F5F8FC; scroll-snap-align:start; }
.bp-owned .company-profile-gallery figure>a { display:block; width:100%; height:100%; }
.bp-owned .company-profile-gallery img { display:block; width:100%; height:100%; object-fit:cover; }
.bp-owned .company-profile-gallery figcaption { position:absolute; bottom:0; left:0; right:0; padding:24px 60px 10px 12px; color:#fff; background:linear-gradient(transparent,#10233fce); font-size:14px; line-height:22px; pointer-events:none; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.bp-owned .company-profile-carousel-controls { display:flex; align-items:center; gap:4px; margin-left:auto; }
.bp-owned .company-profile-carousel-controls[hidden],.bp-owned .company-profile-gallery-open[hidden] { display:none; }
.bp-owned .company-profile-carousel-controls button { display:grid; place-items:center; width:36px; height:36px; padding:0; border:1px solid #D7E2EE; border-radius:6px; background:#fff; color:#003FAA; cursor:pointer; font-size:24px; }
.bp-owned .company-profile-carousel-controls button:hover:not(:disabled) { background:#EAF6FA; }
.bp-owned .company-profile-carousel-controls button:disabled { opacity:.35; cursor:default; }
.bp-owned .company-profile-carousel-controls [data-carousel-count] { margin-right:8px; text-align:center; font-size:14px; line-height:22px; color:#52657A; font-variant-numeric:tabular-nums; }
.bp-owned .company-profile-gallery-open { display:grid; place-items:center; position:absolute; right:8px; bottom:8px; width:40px; height:40px; padding:8px; border:1px solid #ffffff99; border-radius:6px; background:#ffffffed; color:#003FAA; cursor:pointer; z-index:1; }
.bp-owned .company-profile-gallery-open svg { width:20px; height:20px; }
.bp-owned .company-profile-gallery-open:hover { background:#fff; }
.bp-owned .company-profile-gallery figure>a:focus-visible { outline-offset:-3px; }
.bp-owned .company-profile-catalog-list { display:grid; }
.bp-owned .company-profile-catalog { display:grid; grid-template-columns:56px minmax(0,1fr) 44px; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid #D7E2EE; font-size:15px; line-height:24px; }
.bp-owned .company-profile-catalog:last-child { border:0; }
.bp-owned .company-profile-catalog strong { overflow-wrap:anywhere; font-weight:600; }
.bp-owned .company-profile-catalog-image { width:56px; height:64px; display:grid; place-items:center; background:#EAF6FA; color:#003FAA; border-radius:6px; overflow:hidden; }
.bp-owned .company-profile-catalog-image img { width:100%; height:100%; object-fit:contain; background:#F6F9FC; }
.bp-owned .company-profile-catalog-image svg { width:26px; height:26px; }
.bp-owned .company-profile-catalog-info { min-width:0; }
.bp-owned .company-profile-catalog-meta { display:flex; flex-wrap:wrap; gap:0 14px; color:#52657A; font-size:14px; line-height:22px; }
.bp-owned .company-profile-catalog-meta>span+span { white-space:nowrap; }
.bp-owned .company-profile-catalog-meta>span+span::before { content:'·'; margin-right:14px; }
.bp-owned .company-profile-catalog-view { display:grid; place-items:center; width:44px; height:44px; border-radius:6px; color:#003FAA; }
.bp-owned .company-profile-catalog-view svg { width:21px; height:21px; }
.bp-owned .company-profile-catalog-view:hover { background:#EAF6FA; }
.bp-owned .company-profile-catalog a:focus-visible { outline:2px solid #409DC1; outline-offset:3px; }
.bp-owned .company-profile-catalog-info a:hover { text-decoration:underline; }
.bp-owned .company-profile-location-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 32px; padding:0; list-style:none; }
.bp-owned .company-profile-reviews { display:grid; padding:0; list-style:none; }
.bp-owned .company-profile-reviews>li { padding:20px 0; border-bottom:1px solid #D7E2EE; }
.bp-owned .company-profile-reviews>li:last-child { padding-bottom:0; border:0; }
.bp-owned .company-profile-review-summary { display:flex; align-items:baseline; gap:8px; color:#52657A; font-size:14px; }
.bp-owned .company-profile-review-summary strong { font-size:28px; line-height:35px; color:#003FAA; }
.bp-owned .company-profile .company-profile-review-shortcut { display:inline-flex; align-items:center; gap:6px; padding:4px 0; margin-top:2px; min-height:32px; border:0; border-radius:0; background:none; color:#003FAA; font-size:14px; line-height:22px; cursor:pointer; }
.bp-owned .company-profile .company-profile-review-shortcut[hidden] { display:none; }
.bp-owned .company-profile-review-shortcut:hover { text-decoration:underline; }
.bp-owned .company-profile [data-section="reviews"] { scroll-margin-top:calc(var(--bn-header-height,124px) + 24px); }
.bp-owned .company-profile [data-section="reviews"]:focus { outline:0; }
.bp-owned .company-profile-reviews-empty { color:#52657A; }
.bp-owned .company-profile [data-section="reviews"]:has(.company-profile-reviews-empty) { display:flex; align-items:baseline; flex-wrap:wrap; gap:8px 20px; }
.bp-owned .company-profile [data-section="reviews"]:has(.company-profile-reviews-empty) .company-profile-section-heading { margin:0; }
.bp-owned .company-profile .company-profile-stars { font-size:20px; letter-spacing:2px; }
.bp-owned .company-profile-review-heading { display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:8px; }
.bp-owned .company-profile-review-heading h3 { overflow-wrap:anywhere; }
.bp-owned .company-profile-review-heading span { flex-shrink:0; font-size:14px; color:#003FAA; }
.bp-owned .company-profile .company-profile-reviewer { margin-top:8px; font-size:14px; color:#6B7C8F; }
.bp-owned .company-profile-location-list p { margin-top:8px; color:#52657A; }
.bp-owned .company-profile :is(a,button):focus-visible { outline:2px solid #409DC1; outline-offset:3px; }
@container (min-width:1400px) {
    .bp-owned .company-profile-gallery figure { flex-basis:calc((100% - 48px)/4); }
}
@container (max-width:780px) {
    .bp-owned .company-profile-columns { grid-template-columns:minmax(0,1fr); gap:20px; }
    .bp-owned .company-profile-people { padding:0; border-left:0; }
    .bp-owned .company-profile-gallery figure { flex-basis:calc((100% - 16px)/2); height:190px; }
}
@container (max-width:500px) {
    .bp-owned .company-profile-gallery figure { flex-basis:84%; height:190px; }
    .bp-owned .company-profile-gallery figure:only-child { flex-basis:100%; }
}
@media(max-width:700px) {
    .bp-owned .company-profile-topline { margin-bottom:16px; }
    .bp-owned .company-profile-identity { gap:16px; }
    .bp-owned .company-profile-identity h1 { font-size:24px; line-height:30px; }
    .bp-owned .company-profile-logo { width:56px; height:56px; flex-basis:56px; }
    .bp-owned .company-profile .public-company-action-hub { width:100%; }
    .bp-owned .company-profile .public-company-action-toolbar { gap:4px; }
    .bp-owned .company-profile .public-company-action-toolbar>button { flex:1 1 auto; min-height:44px; padding-inline:8px; }
    .bp-owned .company-profile .public-company-action-toolbar>button.company-profile-primary-action { order:-1; flex-basis:100%; }
    .bp-owned .company-profile .public-company-action-toolbar strong { font-size:14px; }
    .bp-owned .company-profile-contact { grid-template-columns:40px minmax(0,1fr) 44px; gap:2px 12px; padding-block:12px; }
    .bp-owned .company-profile-contact .company-profile-avatar { grid-column:1; grid-row:1 / 3; align-self:start; }
    .bp-owned .company-profile-contact-info { grid-column:2; grid-row:1; }
    .bp-owned .company-profile-contact-phone { grid-column:2; grid-row:2; }
    .bp-owned .company-profile-contact-phone:empty { display:none; }
    .bp-owned .company-profile-contact-message { grid-column:3; grid-row:1 / 3; }
    .bp-owned .company-profile-contact-message>span { display:none; }
    .bp-owned .company-profile .company-profile-review-shortcut { min-height:44px; }
    .bp-owned .company-profile-carousel-controls button,.bp-owned .company-profile-gallery-open { width:44px; height:44px; }
    .bp-owned .company-profile-reviews,.bp-owned .company-profile-location-list { grid-template-columns:minmax(0,1fr); }
    .bp-owned .company-profile-catalog { grid-template-columns:48px minmax(0,1fr) 44px; gap:10px; }
    .bp-owned .company-profile-catalog-image { width:48px; height:58px; }
}
.company-photo-viewer { padding:0; width:min(1100px,calc(100vw - 32px)); max-width:none; height:min(820px,calc(100dvh - 32px)); max-height:none; margin:auto; border:0; border-radius:12px; background:#fff; color:#10233F; box-shadow:0 16px 64px #10233f40; }
.company-photo-viewer[open] { display:flex; flex-direction:column; }
.company-photo-viewer::backdrop { background:#10233fce; }
.company-photo-viewer-header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 16px 12px 24px; }
.company-photo-viewer h2 { margin:0; font-size:18px; line-height:26px; font-weight:600; }
.company-photo-viewer button { display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid #D7E2EE; border-radius:6px; background:#fff; color:#003FAA; font-size:24px; cursor:pointer; }
.company-photo-viewer button:hover { background:#EAF6FA; }
.company-photo-viewer button:focus-visible { outline:2px solid #409DC1; outline-offset:3px; }
.company-photo-viewer-stage { position:relative; display:grid; place-items:center; min-height:0; flex:1; background:#10233F; }
.company-photo-viewer-stage img { width:100%; height:100%; min-height:0; object-fit:contain; }
.company-photo-viewer-stage button { position:absolute; top:50%; transform:translateY(-50%); }
.company-photo-viewer-previous { left:16px; }
.company-photo-viewer-next { right:16px; }
.company-photo-viewer-stage button[hidden] { display:none; }
.company-photo-viewer-footer { display:flex; align-items:baseline; justify-content:space-between; gap:16px; padding:16px 24px; font-size:14px; line-height:22px; }
.company-photo-viewer-footer p { margin:0; overflow-wrap:anywhere; }
.company-photo-viewer-footer a { flex-shrink:0; color:#003FAA; }
.company-photo-viewer-error { position:absolute; padding:16px; color:#fff; }
@media(max-width:700px) { .company-photo-viewer { width:calc(100vw - 16px); height:calc(100dvh - 16px); } .company-photo-viewer-footer { padding:12px 16px; } .company-photo-viewer-previous { left:8px; } .company-photo-viewer-next { right:8px; } }

/* The same header band is reserved even on pages without actions. */
.bp-owned .bp-shared-page-header { --bp-heading-row-height:40px; align-items:flex-start; min-height:0; }
.bp-owned .bp-shared-page-header .bp-page-header-copy { display:flex; flex-direction:column; justify-content:flex-start; min-height:var(--bp-heading-row-height); }
.bp-owned .bp-shared-page-header .bp-page-actions { --bp-button-height:var(--bp-heading-row-height); --bp-control-height:var(--bp-heading-row-height); }
.bp-owned .bp-shared-page-header .bp-page-actions :is(.bn-button,.btn,.bn-menu>summary) { min-height:var(--bp-heading-row-height); padding:8px 12px; font-size:15px; line-height:22px; }
.bp-owned .bp-shared-page-header .bp-page-actions .bn-icon-button { width:var(--bp-heading-row-height); height:var(--bp-heading-row-height); }
.bp-owned .bp-shared-page-header .bp-page-actions:not(:has(*)) { display:none; }
/* Small filter groups share the header action row, with persistent inline labels. */
.bp-owned .bp-shared-page-header .bp-header-filter { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:0 8px; margin:0; max-width:100%; }
.bp-owned .bp-shared-page-header .bp-header-filter>label { margin:0; white-space:nowrap; }
.bp-owned .bp-shared-page-header .bp-header-filter>select { width:auto; max-width:18rem; }
.bp-owned .bp-shared-page-header .bp-header-filter .bn-input-wrap { width:14rem; max-width:100%; }
.bp-owned .bp-shared-page-header .bp-header-filter :is(select,input) { min-height:var(--bp-heading-row-height); padding:8px 12px; font-size:15px; line-height:22px; }
.bp-owned .bp-shared-page-header .bp-header-filter>small { grid-column:2; }
.bp-owned .bp-shared-page-header:has(+ :is(.finance-tabs,.action-center-tabs,.account-settings-tabs,.bp-workspace-tabs,.bn-tabs), + .bp-object-workspace > .bp-workspace-tabs:first-child) { margin-bottom:0!important; }
@media(max-width:700px) {
    .bp-owned .bp-shared-page-header { --bp-heading-row-height:44px; align-items:stretch!important; }
    .bp-owned .bp-shared-page-header .bp-page-actions:empty { display:none; }
    .bp-owned .bp-shared-page-header .bp-header-filter { flex:1 1 220px; }
    .bp-owned .bp-shared-page-header .bp-header-filter>select,
    .bp-owned .bp-shared-page-header .bp-header-filter .bn-input-wrap { width:100%; max-width:none; }
    .bp-owned .bp-shared-page-header .bp-header-filter :is(select,input) { font-size:16px; }
}

/* Finance results start at the tabs' content inset; avoid a second empty-state inset. */
.portal-workspace .bp-manager-surface.bp-finance-results > .bp-empty-state { display:flex; flex-direction:column; align-items:center; padding:0; text-align:center; }
.portal-workspace .bp-manager-surface.bp-finance-results > .bp-empty-state .bp-empty-state-visual { margin-bottom:8px; }
.portal-workspace .bp-finance-list-options { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 16px; margin-bottom:16px; }
.portal-workspace .bp-finance-list-options > :is(.module-search-summary,.bn-switch) { margin:0; }

/* Flat, labeled records replace wide manager tables on narrow screens. */
@media(max-width:600px){
    .portal-workspace .bp-module-table .bn-native-table{display:block;width:100%;table-layout:auto}
    .portal-workspace .bp-module-table .bn-native-table thead{display:none!important}
    .portal-workspace .bp-module-table .bn-native-table tbody{display:block;width:100%}
    .portal-workspace .bp-module-table .bn-native-table tbody tr{display:block;border:0;border-bottom:1px solid var(--bp-border);border-radius:0;padding:12px 0;background:transparent}
    .portal-workspace .bp-module-table .bn-native-table tbody td{display:grid;grid-template-columns:minmax(7rem,35%) minmax(0,1fr);align-items:start;gap:8px;width:auto;min-width:0;min-height:0;padding:8px 16px;border:0!important;white-space:normal!important;text-align:left!important}
    .portal-workspace .bp-module-table .bn-native-table tbody td[data-label]:not([data-label=""])::before{content:attr(data-label);grid-column:1;font-size:14px;font-weight:600;color:var(--bp-muted)}
    .portal-workspace .bp-module-table .bn-native-table tbody td>*{grid-column:2;justify-self:start;max-width:100%}
    .portal-workspace .bp-module-table .bn-native-table tbody td:has(.bp-record-identity,.audit-subject-name,.orders-record,.invoices-record,.bp-row-actions){display:block}
    .portal-workspace .bp-module-table .bn-native-table tbody td[data-label]:has(.bp-record-identity,.audit-subject-name,.orders-record,.invoices-record,.bp-row-actions)::before{content:none}
    .portal-workspace .bp-module-table .bp-row-actions{justify-content:flex-start;flex-wrap:wrap}
    .portal-workspace .bp-module-table .bp-record-identity>*{min-width:0}
    .portal-workspace .bp-module-table .bp-record-identity .bn-link{max-width:100%;white-space:normal;overflow-wrap:anywhere}
    .portal-workspace .bp-module-table :is(.catalog-table-mobile-meta,.spbook-table-compact-meta,.spbook-table-compact-launch,.orders-record-compact-meta,.invoices-record-compact-meta){display:none}
}
@container(max-width:48rem){
    .portal-workspace .bp-module-table .bn-native-table{display:block;width:100%;table-layout:auto}
    .portal-workspace .bp-module-table .bn-native-table thead{display:none!important}
    .portal-workspace .bp-module-table .bn-native-table tbody{display:block;width:100%}
    .portal-workspace .bp-module-table .bn-native-table tbody tr{display:block;border:0;border-bottom:1px solid var(--bp-border);border-radius:0;padding:12px 0;background:transparent}
    .portal-workspace .bp-module-table .bn-native-table tbody td{display:grid;grid-template-columns:minmax(7rem,35%) minmax(0,1fr);align-items:start;gap:8px;width:auto;min-width:0;min-height:0;padding:8px 16px;border:0!important;white-space:normal!important;text-align:left!important}
    .portal-workspace .bp-module-table .bn-native-table tbody td[data-label]:not([data-label=""])::before{content:attr(data-label);grid-column:1;font-size:14px;font-weight:600;color:var(--bp-muted)}
    .portal-workspace .bp-module-table .bn-native-table tbody td>*{grid-column:2;justify-self:start;max-width:100%}
    .portal-workspace .bp-module-table .bn-native-table tbody td:has(.bp-record-identity,.audit-subject-name,.orders-record,.invoices-record,.bp-row-actions){display:block}
    .portal-workspace .bp-module-table .bn-native-table tbody td[data-label]:has(.bp-record-identity,.audit-subject-name,.orders-record,.invoices-record,.bp-row-actions)::before{content:none}
    .portal-workspace .bp-module-table .bp-row-actions{justify-content:flex-start;flex-wrap:wrap}
    .portal-workspace .bp-module-table .bp-record-identity>*{min-width:0}
    .portal-workspace .bp-module-table .bp-record-identity .bn-link{max-width:100%;white-space:normal;overflow-wrap:anywhere}
    .portal-workspace .bp-module-table :is(.catalog-table-mobile-meta,.spbook-table-compact-meta,.spbook-table-compact-launch,.orders-record-compact-meta,.invoices-record-compact-meta){display:none}
}

/* Public events: native calendar with an adjacent scrolling agenda. */
.events-page{container-type:inline-size;min-width:0;color:var(--bp-text,#10233f)}
.events-heading,.events-filters,.events-period-toolbar,.events-month-nav,.events-view-switch,.events-calendar-title,.events-agenda-heading,.events-card-actions{display:flex;align-items:center;gap:12px}
.events-heading{justify-content:space-between;margin-bottom:20px;flex-wrap:wrap}.events-heading .portal-page-header{margin:0;padding:0;border:0}
.events-page button,.events-page input,.events-page select{font:inherit;border:1px solid var(--bp-border,#d7e2ee);border-radius:6px;background:#fff;color:var(--bp-text,#10233f);min-height:44px;padding:8px 12px;min-width:0}
.events-page button{color:var(--bp-primary,#003faa);cursor:pointer}.events-page button:hover{background:var(--bp-surface-soft,#f5f8fc)}.events-page button:disabled{opacity:.5;cursor:default}
.events-page :is(button,input,select,a,summary):focus-visible{outline:2px solid #409dc1;outline-offset:3px}
.events-view-switch{gap:4px;padding:3px;border:1px solid var(--bp-border,#d7e2ee);border-radius:8px}.events-view-switch button{border:0}.events-page button[aria-pressed=true]{background:#eaf3ff;color:#003faa;font-weight:600}
.events-filters{align-items:end;border-bottom:1px solid var(--bp-border,#d7e2ee);padding-bottom:20px;margin-bottom:20px;flex-wrap:wrap}.events-filters label{display:grid;gap:6px;font-size:15px;font-weight:600}.events-filters :is(input,select){font-size:16px;font-weight:400;width:100%}.events-search{flex:1;min-width:200px}.events-period-toolbar{justify-content:space-between;flex-wrap:wrap;margin-bottom:24px}.events-month-nav{gap:6px}.events-month-nav>button:first-child,.events-month-nav>button:nth-child(3){width:44px;font-size:24px;padding:0}.events-month-jump input{max-width:190px}
.events-grid{display:grid;grid-template-columns:minmax(330px,1.05fr) minmax(310px,1fr);gap:28px;align-items:start}.events-grid[aria-busy=true]{opacity:.6;pointer-events:none}.events-calendar-column{position:sticky;top:calc(var(--bn-header-height,124px) + 20px);min-width:0}.events-calendar-panel>summary{display:none}.events-calendar{border:1px solid var(--bp-border,#d7e2ee);border-radius:10px;overflow:hidden;background:#fff}.events-calendar-title{justify-content:space-between;padding:18px 16px}.events-calendar-title h2,.events-agenda-heading h2{font-size:22px;line-height:30px;font-weight:600;margin:0}.events-calendar-title>span,.events-agenda-heading>span{font-size:14px;color:var(--bp-muted,#52657a)}
.events-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));text-align:center;background:#f7fafd;border-block:1px solid var(--bp-border,#d7e2ee);font-size:14px;line-height:22px;padding:10px 0;color:var(--bp-muted,#52657a)}.events-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:44px repeat(var(--event-lanes),28px);border-bottom:1px solid #edf1f6;position:relative}.events-week>.events-day{grid-row:1 / span 3;grid-row-end:calc(var(--event-lanes) + 2);border:0;border-right:1px solid #edf1f6;border-radius:0;padding:7px 0;min-height:44px;position:relative;display:flex;align-items:flex-start;justify-content:center;font-size:14px;line-height:28px}.events-week>.events-day:nth-child(1){grid-column:1}.events-week>.events-day:nth-child(2){grid-column:2}.events-week>.events-day:nth-child(3){grid-column:3}.events-week>.events-day:nth-child(4){grid-column:4}.events-week>.events-day:nth-child(5){grid-column:5}.events-week>.events-day:nth-child(6){grid-column:6}.events-week>.events-day:nth-child(7){grid-column:7}.events-day:nth-child(7){border-right:0}.events-day>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%}.events-day.today>span{background:#003faa;color:#fff}.events-day.other-month{background:#fafbfd;color:#758496}.events-day[aria-pressed=true]{box-shadow:inset 0 0 0 2px #409dc1}.events-day small{position:absolute;right:3px;top:2px;font-size:11px;line-height:16px;color:#52657a}.events-week>.events-bar{align-self:start;min-height:24px;height:24px;margin:0 2px 4px;padding:2px 4px;font-size:14px;line-height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:1;border:0;border-left:3px solid #409dc1;border-radius:3px;background:#eaf3ff;text-align:left}.events-week>.events-bar.multi-day{background:#003faa;color:#fff}.events-calendar-key{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;font-size:14px;line-height:22px;color:#52657a;flex-wrap:wrap}.events-calendar-key i{display:inline-block;width:8px;height:8px;border-radius:50%;background:#003faa;margin-right:6px}
.events-agenda{min-width:0}.events-agenda-heading{justify-content:space-between;margin-bottom:20px}.events-date-group{margin-bottom:24px}.events-date-heading{display:flex;align-items:center;gap:12px;margin:0 0 12px;font-size:14px;line-height:22px;font-weight:400;color:#52657a}.events-date-heading:after{content:'';flex:1;height:1px;background:var(--bp-border,#d7e2ee)}.events-card{border:1px solid var(--bp-border,#d7e2ee);border-radius:10px;padding:20px;margin-bottom:12px;scroll-margin-top:calc(var(--bn-header-height,124px) + 20px);background:#fff}.events-card.highlight{border-color:#409dc1;box-shadow:0 0 0 1px #409dc1}.events-card-tags{display:flex;gap:8px;flex-wrap:wrap;font-size:14px;line-height:22px;color:#003faa;margin-bottom:16px}.events-card-tags span{background:#f0f6ff;padding:2px 8px;border-radius:4px}.events-card-identity{display:flex;align-items:start;gap:16px}.events-card-identity>div:last-child{min-width:0}.events-card-identity h3{font-size:18px;line-height:26px;font-weight:600;margin:0;overflow-wrap:anywhere}.events-card-identity h3 a{color:#003faa;text-decoration:none}.events-card-identity p{font-size:14px;line-height:22px;color:#52657a;margin:4px 0 0}.events-card-image,.events-card-mark{width:72px;height:72px;flex:0 0 72px;border:1px solid var(--bp-border,#d7e2ee);border-radius:6px;overflow:hidden}.events-card-image img{width:100%;height:100%;object-fit:contain}.events-card-mark{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f7fafd;border-bottom:3px solid #409dc1;font-size:24px;line-height:28px;color:#003faa}.events-card-mark small{font-size:14px;line-height:22px}.events-card-meta{margin:16px 0}.events-card-meta p{display:flex;align-items:start;gap:8px;margin:8px 0;font-size:14px;line-height:22px;color:#52657a}.events-card-meta .bp-icon{flex-shrink:0}.events-card-excerpt{font-size:14px;line-height:22px;color:#52657a;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0}.events-card-actions{justify-content:space-between;flex-wrap:wrap;border-top:1px solid #edf1f6;padding-top:12px;margin-top:16px}.events-card-actions a{display:inline-flex;align-items:center;min-height:44px;color:#003faa;font-size:15px;line-height:22px;text-decoration:none}.events-empty{padding:32px 20px;border:1px solid var(--bp-border,#d7e2ee);border-radius:10px;text-align:center}.events-empty h3{font-size:18px;margin:0 0 8px}.events-empty p{color:#52657a;margin:0}.events-day-message{padding:12px 16px;border-radius:6px;background:#edf7fc;font-size:14px}.events-list-only{grid-template-columns:1fr}.events-list-only .events-calendar-column{display:none}.events-list-only .events-agenda{width:100%;max-width:880px;margin:auto}
@container(max-width:760px){.events-grid{grid-template-columns:1fr;gap:24px}.events-calendar-column{position:static}.events-calendar-panel>summary{display:list-item;padding:14px 16px;border:1px solid var(--bp-border,#d7e2ee);border-radius:6px;color:#003faa;font-weight:600;cursor:pointer}.events-calendar-panel[open]>summary{border-bottom:0;border-radius:6px 6px 0 0}.events-calendar-panel[open] .events-calendar{border-top-left-radius:0;border-top-right-radius:0}.events-heading{align-items:start}.events-card{padding:16px}.events-calendar-title h2,.events-agenda-heading h2{font-size:20px}.events-view-switch{font-size:14px}.events-filters label{flex:1}.events-filters .events-search{flex-basis:100%}.events-period-toolbar{gap:12px}.events-month-nav{flex-wrap:wrap}.events-month-jump input{max-width:175px}.events-card-actions{gap:8px}.events-card-image,.events-card-mark{width:60px;height:64px;flex-basis:60px}}
@media(prefers-reduced-motion:reduce){.events-page *{scroll-behavior:auto}}
.events-heading.portal-page-header{padding:0;border:0;margin:0 0 20px}.events-heading.portal-page-header h1{font-size:28px;line-height:35px;font-weight:700;margin:0}
@container(max-width:760px){.events-heading.portal-page-header h1{font-size:24px;line-height:30px}.events-heading.portal-page-header{margin-bottom:16px}.events-filters{padding-bottom:16px;margin-bottom:16px}.events-period-toolbar{margin-bottom:16px}}
@container(max-width:460px){.events-heading .events-view-switch{display:none}}
