/* One responsive content width for every registry search page. */
body:has(form.bird-person-search) {
 --wp--style--global--content-size:min(1140px,calc(100vw - 30px));
 --wp--style--global--wide-size:min(1140px,calc(100vw - 30px));
}
body:has(form.bird-person-search) .wp-block-post-content > :where(section,div,form):not(.alignfull) {box-sizing:border-box;min-width:0}
/* Herald's default page reserves a quarter-width column even without a sidebar. */
body:has(form.bird-person-search) .herald-site-content {width:100%;max-width:none}
body:has(form.bird-person-search) .herald-site-content > .herald-section.container {width:100%;max-width:1170px;box-sizing:border-box;margin-left:auto;margin-right:auto;padding-left:15px;padding-right:15px}
@media(min-width:768px) and (max-width:991px) {body:has(form.bird-person-search) .herald-site-content > .herald-section.container {max-width:750px}}
@media(min-width:992px) and (max-width:1199px) {body:has(form.bird-person-search) .herald-site-content > .herald-section.container {max-width:970px}}
body:has(form.bird-person-search) .herald-page > .row > :is(.col-lg-9,.col-lg-12,.col-mod-main) {width:100%;max-width:100%;flex-basis:100%;box-sizing:border-box}
body:has(form.bird-person-search) .herald-page > .row > .herald-sidebar {display:none}
@media(max-width:600px) {body:has(form.bird-person-search) {
 --wp--style--global--content-size:calc(100vw - 24px);
 --wp--style--global--wide-size:calc(100vw - 24px);
}}
.bird-tr-unified-search-results .nav-tabs {list-style:none!important}
.bird-tr-unified-search-results .nav-tabs>li {list-style:none!important}
.bird-tr-unified-search-results .label {
 display:inline-flex;align-items:center;vertical-align:middle;max-width:100%;
 margin:3px 4px 3px 0;padding:5px 9px;border-radius:6px;font-size:12px;
 font-weight:700;line-height:1.4;white-space:normal;background:#e2e8f0;color:#334155;
}
.bird-tr-unified-search-results .label-danger {background:#fee2e2;color:#991b1b;border:1px solid #fecaca}
.bird-tr-unified-search-results .label-info {background:#e0f2fe;color:#075985;border:1px solid #bae6fd}
.bird-tr-unified-search-results .label-warning {background:#fef3c7;color:#92400e}
.bird-tr-unified-search-results .label a {color:inherit!important;text-decoration:none!important}
.bird-tr-unified-search-results .text-muted {color:#64748b;font-size:13px}
.bird-tr-unified-search-results div.pagination {margin:20px 0}
.bird-tr-unified-search-results ul.pagination {
 display:flex;flex-wrap:wrap;gap:6px;padding:0!important;margin:0!important;list-style:none!important;
}
.bird-tr-unified-search-results ul.pagination li {list-style:none!important;margin:0!important;padding:0!important}
.bird-tr-unified-search-results ul.pagination li>a,
.bird-tr-unified-search-results ul.pagination li>span {
 display:flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;
 padding:7px 12px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;
 color:#334155;text-decoration:none;font-size:14px;line-height:1.4;
}
.bird-tr-unified-search-results ul.pagination li.active>span {background:#1d4ed8;color:#fff;border-color:#1d4ed8;font-weight:700}
.bird-tr-unified-search-results ul.pagination li.disabled>span,
.bird-tr-unified-search-results ul.pagination span.disabled {background:#f8fafc;color:#94a3b8}
.bird-tr-unified-search-results ul.pagination a:hover {background:#eff6ff;border-color:#2563eb;color:#1d4ed8}
.bird-tr-unified-search-results a:focus-visible {outline:3px solid #2563eb;outline-offset:3px}
.bird-tr-unified-search-results .table-responsive {overflow-x:auto}
.bird-tr-unified-search-results table {width:100%;border-collapse:collapse;font-size:14px;line-height:1.65}
.bird-tr-unified-search-results th {background:#f8fafc;color:#475569;font-weight:600;text-align:left}
.bird-tr-unified-search-results td,.bird-tr-unified-search-results th {padding:14px 16px;vertical-align:top;border:1px solid #e2e8f0}
.bird-tr-unified-search-results tbody tr:hover {background:#f8fafc}
.bird-tr-deeds-table td:first-child {min-width:180px;width:22%}
.bird-tr-deeds-table td:nth-child(2) {min-width:145px;white-space:nowrap;font-variant-numeric:tabular-nums}
.bird-tr-deeds-table td:nth-child(3) {min-width:160px;width:20%}
.bird-tr-deeds-table td:last-child {min-width:220px;overflow-wrap:anywhere}
.bird-tr-deeds-table small {font-size:12px;color:#64748b}
.bird-tr-deeds-table summary {cursor:pointer;color:#1d4ed8}
@media(max-width:600px) {.bird-tr-unified-search-results td,.bird-tr-unified-search-results th {padding:10px}.bird-tr-unified-search-results .label {font-size:11px}}

:is(#bird-tr-main-search-form,#bird-tr-declaration-search-form,#bird-tr-property-search-form) {box-sizing:border-box;max-width:100%;min-width:0}
.bird-entity-evidence-actions .bird-company-tr-check {background:var(--bird-search-color,#800e2c)!important;border-color:var(--bird-search-color,#800e2c)!important;color:#fff!important}
.bird-entity-evidence-actions .bird-company-tr-check:hover {filter:brightness(.9)}
:is(#bird-tr-main-search-form,#bird-tr-declaration-search-form,#bird-tr-property-search-form) .input-group {display:flex;gap:0;align-items:stretch;width:100%;max-width:100%;min-width:0;flex-wrap:nowrap;box-sizing:border-box}
:is(#bird-tr-main-search-form,#bird-tr-declaration-search-form,#bird-tr-property-search-form) .form-control {flex:1;min-width:0;width:auto;margin:0}
:is(#bird-tr-main-search-form,#bird-tr-declaration-search-form,#bird-tr-property-search-form) .input-group-btn {display:flex;width:auto;flex:0 0 auto}
:is(#bird-tr-main-search-form,#bird-tr-declaration-search-form,#bird-tr-property-search-form) button[type=submit], :is(#bird-tr-main-search-form,#bird-tr-declaration-search-form,#bird-tr-property-search-form) input[type=submit] {background:#78001c;color:#fff;border:1px solid #78001c;border-radius:6px;padding:10px 22px;min-height:44px;font-weight:700;cursor:pointer;margin:0}
:is(#bird-tr-main-search-form,#bird-tr-declaration-search-form,#bird-tr-property-search-form) .input-group-btn {position:static;white-space:nowrap;min-width:0}
:is(#bird-tr-main-search-form,#bird-tr-declaration-search-form,#bird-tr-property-search-form) .input-group-btn button {position:static;margin:0!important;height:100%;box-sizing:border-box;border-radius:0 6px 6px 0}
:is(#bird-tr-main-search-form,#bird-tr-declaration-search-form,#bird-tr-property-search-form) .form-control {box-sizing:border-box;border-radius:6px 0 0 6px}
.bird-tr-empty-search {margin:20px 0;padding:16px;border:1px solid #dce3ec;border-radius:8px;background:#f8fafc;color:#475569;font-size:16px;line-height:1.5}
/* Match the primary search on registry, article and saved-scheme forms. */
.bird-search-field{flex:1 1 100%;min-width:0;width:100%}
.bird-search-field>label{display:block;margin:0 0 6px}
:is(form,.bird-person-search) .bird-search-control{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;box-sizing:border-box;min-width:0;width:100%;min-height:46px;padding:3px;border:1px solid #cbd5e1;border-radius:7px;background:#fff}
.bird-search-control:focus-within{outline:2px solid #800e2c;outline-offset:1px}
:is(form,.bird-person-search) .bird-search-control>input:not([type=submit]){box-sizing:border-box;display:block;width:100%!important;min-width:0;height:38px!important;min-height:38px!important;margin:0!important;padding:0 9px!important;border:0!important;border-radius:5px!important;outline:0;box-shadow:none!important;background:transparent!important;color:#26313b;font-size:16px;float:none!important}
:is(form,.bird-person-search) .bird-search-control>.bird-search-submit,form.bird-property-sort>.bird-search-submit{position:static!important;inset:auto!important;display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;width:auto!important;min-height:38px!important;height:38px!important;margin:0!important;padding:0 16px!important;border:0!important;border-radius:5px!important;background:#800e2c!important;color:#fff!important;font-size:15px;font-weight:700;line-height:1.25;white-space:nowrap;cursor:pointer}
.bird-search-control>.bird-search-submit:focus-visible,form.bird-property-sort>.bird-search-submit:focus-visible{outline:2px solid #800e2c;outline-offset:2px}
.bird-search-control>.herald-search-submit::before{display:none}
@media(max-width:600px){:is(form,.bird-person-search) .bird-search-control>.bird-search-submit,form.bird-property-sort>.bird-search-submit{padding-inline:12px!important}}

#bird-tr-profile-details-content a[href*="p2="] {display:inline-block;padding:8px 12px;margin:8px 4px;border:1px solid #d5dce5;border-radius:5px;text-decoration:none}

.bird-registry-state {margin:7px 0}.bird-registry-state > summary {display:list-item;width:fit-content;max-width:100%;padding:6px 10px;border:1px solid #d5dce5;border-radius:5px;background:#f7f8fa;color:#333;font-size:14px;line-height:1.4;cursor:pointer}.bird-registry-state[open] > summary {background:#eef2f6}.bird-registry-state > ul {margin-top:10px}
.bird-participation-status {display:inline-block;font-size:12px;padding:3px 7px;border-radius:4px;margin:4px 0}.bird-participation-status.current {background:#e7f4ea;color:#246b36}.bird-participation-status.past {background:#eee;color:#666}

/* Shared registry actions and provenance. */
.bird-registry-action,.bird-registry-panel > a,.bird-eop-panel > a,.bird-aop-panel > a {
 display:inline-flex;align-items:center;justify-content:center;gap:6px;
 padding:8px 13px;margin:6px 6px 6px 0;border:1px solid #7c1230;
 border-radius:5px;background:#7c1230;color:#fff!important;text-decoration:none!important;
 font:600 14px/1.4 Arial,sans-serif;box-shadow:0 1px 2px #00000012;
}
.bird-registry-action:hover,.bird-registry-panel > a:hover,.bird-eop-panel > a:hover,.bird-aop-panel > a:hover {background:#5e0b22;border-color:#5e0b22;}
.bird-registry-action:focus-visible {outline:3px solid #9ebfea;outline-offset:2px;}
.bird-registry-panel,.bird-eop-panel,.bird-aop-panel,.bird-public-money-other > p {margin:18px 0;padding:18px;border:1px solid #dce3ec;border-radius:7px;background:#fff;}
.bird-registry-panel h2,.bird-registry-panel h3,.bird-eop-panel h3,.bird-aop-panel h3 {margin:0 0 12px;line-height:1.35;}
.bird-registry-source-badges {display:flex;flex-wrap:wrap;gap:4px;margin-top:5px;}

.bird-is-loading::before {content:"";display:inline-block;width:14px;height:14px;margin-right:7px;border:2px solid #ffffff70;border-top-color:currentColor;border-radius:50%;animation:bird-loading-spin .8s linear infinite;vertical-align:middle;}
@keyframes bird-loading-spin {to {transform:rotate(360deg);}}
@media(prefers-reduced-motion:reduce){.bird-is-loading::before {animation:none;}}
.bird-registry-change-note {margin:10px 0 20px;padding:12px 15px;border-left:3px solid #b2c4dd;background:#f5f8fc;color:#475569;font-size:14px;line-height:1.6;}

.bird-tr-unified-search-results .tab-pane {display:none}
.bird-tr-unified-search-results .tab-pane.active {display:block}

.bird-company-line {display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px}
.bird-company-line>a:first-child {font-weight:600}
.bird-company-line .bird-registry-source-badges,.bird-company-line .bird-tr-person-statuses {display:inline-flex;margin:0!important}
.bird-company-line .bird-registry-source-badge {margin:0!important;font-size:11px!important}
.bird-company-count {background:#edf1f7;border-radius:4px;padding:3px 6px;white-space:nowrap}
.bird-company-address {color:#64748b;flex:1;min-width:180px}
.bird-compact-company .bird-load-section {font-size:12px;padding:4px 8px;margin-top:7px}
.bird-company-line .bird-registry-action {font-size:11px;padding:3px 6px}

.bird-company-line .label,.bird-company-line .bird-registry-source-badge,.bird-company-line .bird-company-count {
 display:inline-flex;align-items:center;vertical-align:middle;margin:3px 4px 3px 0!important;
 padding:5px 9px!important;border-radius:6px!important;font-size:12px!important;
 font-weight:700;line-height:1.4!important;white-space:normal;
}
.bird-company-line .label-danger {background:#fee2e2;color:#991b1b;border:1px solid #fecaca}
.bird-company-line .bird-registry-action {font-size:12px;padding:5px 9px;border-radius:6px;line-height:1.4}

a.bird-registry-action[href*="/eop/"] {background:#0b5ed7!important;border-color:#0b5ed7!important;color:#fff!important}
a.bird-registry-action[href*="/eop/"]:hover {background:#0b5ed7!important;filter:brightness(.9)}
a.bird-registry-action[href*="/isun/"] {background:#198754!important;border-color:#198754!important;color:#fff!important}
a.bird-registry-action[href*="/isun/"]:hover {background:#198754!important;filter:brightness(.9)}
a.bird-registry-action[href*="/aop/"] {background:#008b8b!important;border-color:#008b8b!important;color:#fff!important}
a.bird-registry-action[href*="/aop/"]:hover {background:#008b8b!important;filter:brightness(.9)}
a.bird-registry-action[href*="/nap/"] {background:#c62828!important;border-color:#c62828!important;color:#fff!important}
a.bird-registry-action[href*="/nap/"]:hover {background:#c62828!important;filter:brightness(.9)}
a.bird-registry-action[href*="/sebra/"] {background:#ef6c00!important;border-color:#ef6c00!important;color:#fff!important}
a.bird-registry-action[href*="/sebra/"]:hover {background:#ef6c00!important;filter:brightness(.9)}
a.bird-registry-action[href*="/dfz/"] {background:#6a1b9a!important;border-color:#6a1b9a!important;color:#fff!important}
a.bird-registry-action[href*="/dfz/"]:hover {background:#6a1b9a!important;filter:brightness(.9)}
a.bird-registry-action[href*="/kais/"] {background:#795548!important;border-color:#795548!important;color:#fff!important}
a.bird-registry-action[href*="/kais/"]:hover {background:#795548!important;filter:brightness(.9)}

.bird-company-filters {display:flex;flex-wrap:wrap;gap:6px;margin:12px 0;align-items:center}
.bird-company-filters button {background:white;border:1px solid currentColor;border-radius:6px;padding:5px 9px;font-size:12px;font-weight:700;cursor:pointer}
.bird-company-filter[aria-pressed="true"] {box-shadow:inset 0 0 0 2px currentColor;background:#eef2f7}
.bird-company-filter[data-filter="pep"] {color:#b52b38}
.bird-company-filter[data-filter="poi"] {color:#21728b}
.bird-company-filter[data-filter="agent"] {color:#6d0019}
.bird-company-filter[data-filter="eop"] {color:#0b5ed7}
.bird-company-filter[data-filter="aop"] {color:#008b8b}
.bird-company-filter[data-filter="isun"] {color:#198754}
.bird-company-filter[data-filter="sebra"] {color:#ef6c00}
.bird-company-filter[data-filter="nap"] {color:#c62828}
.bird-company-filter[data-filter="kais"] {color:#795548}
.bird-company-filter[data-filter="dfz"] {color:#6a1b9a}

.bird-company-line {align-items:flex-start;column-gap:8px;row-gap:7px}
.bird-company-address {flex:1 1 300px;min-width:240px;font-size:12px;line-height:1.5}
.bird-company-registry-group {display:flex;flex-wrap:wrap;gap:6px;align-items:center;max-width:100%;flex:0 1 auto}
.bird-company-registry-group .bird-registry-action {margin:0!important;white-space:nowrap}
@media(min-width:1100px) {.bird-company-registry-group {flex-wrap:nowrap}}
@media(max-width:600px) {.bird-company-address {flex-basis:100%;min-width:0}.bird-company-registry-group {flex-basis:100%}}

/* PEP editor also works on themes without WordPress admin or Bootstrap CSS. */
#bird-tr-pep-modal {box-sizing:border-box;color:#263238;font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;border:1px solid #d6dfe7;border-radius:12px!important;padding:24px!important;box-shadow:0 16px 60px rgba(0,0,0,.28)!important}
#bird-tr-pep-modal * {box-sizing:border-box}
#bird-tr-pep-modal h3 {margin:0 32px 20px 0;font-size:21px;line-height:1.3;font-weight:700;color:#7e1232}
#bird-tr-pep-modal>label {display:block;width:100%;margin:0 0 14px;font-size:13px;font-weight:600;color:#455a64}
#bird-tr-pep-modal input {display:block;width:100%;min-height:42px;margin:5px 0 0;padding:9px 12px;border:1px solid #c4cfd8;border-radius:7px;background:#fff;color:#263238;font:14px/1.4 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:none}
#bird-tr-pep-modal input:focus {outline:2px solid #7e1232;outline-offset:1px;border-color:#7e1232}
#bird-tr-pep-modal>p:last-child {display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;border-top:1px solid #e2e8ee;padding-top:18px;margin:20px 0 0}
#bird-tr-pep-modal .button {display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 16px;border:1px solid #c4cfd8;border-radius:7px;background:#fff;color:#455a64;font:600 14px/1.4 system-ui,sans-serif;cursor:pointer}
#bird-tr-pep-modal .button-primary {background:#7e1232;border-color:#7e1232;color:#fff}
#bird-tr-pep-modal .button:hover {background:#eef2f5}
#bird-tr-pep-modal .button-primary:hover {background:#620d27}
#bird-tr-pep-modal button:disabled {opacity:.55;cursor:wait}
#bird-tr-pep-modal button:focus-visible {outline:2px solid #7e1232;outline-offset:3px}
#bird-tr-pep-close {position:absolute;right:14px;top:12px;width:34px;height:34px;border:0;border-radius:6px;background:#f0f3f6;color:#455a64;font:24px/1 system-ui;cursor:pointer}
#bird-tr-pep-type-results,#bird-tr-pep-position-results {border-radius:7px}
#bird-tr-pep-type-results button:hover,#bird-tr-pep-position-results button:hover {background:#f5eaf0!important;color:#7e1232}
@media(max-width:600px){#bird-tr-pep-modal {padding:18px!important;max-height:calc(100dvh - 24px)!important;width:calc(100% - 24px)!important}}

/* Consistent graph controls above and below the diagnostic strip. */
#bird-graph-modal-actions,.bird-graph-actions,.bird-graph-focus-actions,#bird-company-profile-modal-actions {align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
#bird-graph-modal-actions button,#bird-graph-modal-actions .btn,.bird-graph-actions>.btn,.bird-graph-focus-actions>.btn,.bird-graph-ai-group>button,#bird-graph-ai-tools>.btn {display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:40px!important;min-height:40px!important;margin:0!important;padding:8px 14px!important;font-size:14px!important;line-height:20px!important;font-weight:600!important;min-width:0!important;width:auto!important;flex:0 1 auto!important;border-radius:6px;white-space:nowrap}
#bird-company-profile-modal-actions {margin:0!important}
.bird-ai-tools-icon {display:inline-flex;align-items:center;justify-content:center;width:28px;height:24px;margin-right:8px;border:2px solid #fff;border-radius:6px;background:#5b2c83;font-size:15px;line-height:1;box-shadow:0 1px 3px rgba(0,0,0,.25)}

#bird-graph-modal-actions #share-graph-focus-button {background:linear-gradient(135deg,#087f8c,#146c94);border-color:#087f8c;color:#fff;box-shadow:0 2px 5px rgba(8,127,140,.2)}
#bird-graph-modal-actions #share-graph-focus-button:hover {background:#066873;border-color:#066873}
#bird-graph-statistics .bird-past-participations {display:inline-flex;align-items:center;min-height:36px;padding:7px 12px;margin:0 0 10px;font-size:14px}

#bird-graph-text-scale-controls>.btn {display:inline-flex!important;align-items:center;justify-content:center;width:100%!important;min-height:44px!important;height:44px!important;margin:4px 0 0!important;padding:6px 12px!important;font-size:14px!important;line-height:20px!important;box-sizing:border-box}

/* Long PEP/POI descriptions must wrap inside their status panels. */
.bird-tr-person-statuses,.bird-tr-status-panel {min-width:0;max-width:100%;box-sizing:border-box}
.bird-tr-status-panel .label,.bird-tr-status-panel .bird-tr-agent-badge {max-width:100%;box-sizing:border-box;white-space:normal!important;overflow-wrap:anywhere;word-break:normal;text-align:left}
.bird-tr-status-panel .label a,.bird-tr-status-panel .bird-tr-agent-badge a {white-space:normal!important;overflow-wrap:anywhere}

:is(#bird-tr-declaration-search-form,#bird-tr-property-search-form){display:block}:is(#bird-tr-declaration-search-form,#bird-tr-property-search-form)>label{display:block;margin:0 0 6px}

/* Herald content: distinguish text links from navigation and action controls. */
.wp-theme-herald .herald-site-content :is(.herald-page,.herald-single,.herald-posts,main)
 a[href]:not(:where(.btn,.button,.wp-element-button,.wp-block-button__link,.bird-registry-action,.bird-registry-source-badge,.bird-saved-graph-open,.label,.badge,[role="button"],[role="tab"],[class*="-badge"],nav a,.nav a,.pagination a,.label a,.badge a,.entry-title a,.herald-post-thumbnail a,.herald-gallery a,.bird-registry-panel>a,.bird-eop-panel>a,.bird-aop-panel>a,#bird-tr-profile-details-content a[href*="p2="],a:has(>img):not(:has(> :not(img))))) {
 text-decoration-line:underline;
 text-decoration-color:#800e2c;
 text-decoration-thickness:1px;
 text-underline-offset:.16em;
 text-decoration-skip-ink:auto;
}
.wp-theme-herald .herald-site-content :is(.herald-page,.herald-single,.herald-posts,main)
 a[href]:focus-visible {outline:2px solid #800e2c;outline-offset:2px}

@media(max-width:767px) {
 /* Use one outer gutter instead of adding theme and grid gutters together. */
 body.wp-theme-herald.herald-boxed .herald-site-content:has(> .herald-section.container) {
  box-sizing:border-box;width:100%;max-width:none;padding-inline:0;
 }
 body.wp-theme-herald.herald-boxed .herald-site-content > .herald-section.container {
  box-sizing:border-box;width:100%;max-width:none;
  padding-left:max(12px,env(safe-area-inset-left));
  padding-right:max(12px,env(safe-area-inset-right));
 }
 .wp-theme-herald .herald-site-content :is(.herald-page,.herald-single) > .row {margin-inline:0}
 .wp-theme-herald .herald-site-content :is(.herald-page,.herald-single) > .row
  > :is(.col-lg-9,.col-lg-12,.col-mod-main) {padding-inline:0;min-width:0}
 .wp-theme-herald .herald-site-content :is(.bird-registry-panel,.bird-eop-panel,.bird-aop-panel) {
  box-sizing:border-box;min-width:0;padding-inline:10px;
 }
 .wp-theme-herald .herald-site-content .bird-registry-panel .bird-registry-panel {padding-inline:8px}
}

/* One full-width card per result row. Labels are populated from actual table headers. */
.bird-mobile-cell-label {display:none}
@media(max-width:767px) {
 .bird-mobile-card-wrap {box-sizing:border-box;max-width:100%;min-width:0;overflow:visible!important;border:0!important;padding-inline:0}
 table.bird-mobile-card-table {
  display:block!important;box-sizing:border-box;width:100%!important;max-width:100%!important;min-width:0!important;
  margin-inline:0!important;border:0!important;background:transparent!important;
 }
 table.bird-mobile-card-table > colgroup {display:none}
 table.bird-mobile-card-table > caption {display:block;overflow-wrap:anywhere}
 table.bird-mobile-card-table > :is(thead,tbody,tfoot) {
  display:block!important;box-sizing:border-box;width:100%!important;min-width:0!important;
 }
 table.bird-mobile-card-table .bird-mobile-table-heading {
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
  overflow:hidden!important;clip-path:inset(50%);white-space:nowrap;pointer-events:none;
 }
 table.bird-mobile-card-table > :is(thead,tbody,tfoot) > tr:not([hidden]):not(.bird-mobile-table-heading) {
  display:block!important;box-sizing:border-box;width:100%!important;min-width:0!important;
  margin:0 0 8px!important;padding:10px!important;border:1px solid #dce3ec!important;
  border-radius:8px;background:#f8fafc!important;color:inherit;
 }
 table.bird-mobile-card-table > :is(thead,tbody,tfoot) > tr[hidden] {display:none!important}
 table.bird-mobile-card-table > :is(thead,tbody,tfoot) > tr > :is(th,td):not([hidden]) {
  display:block!important;box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%!important;
  padding:0!important;margin:0!important;border:0!important;float:none!important;
  white-space:normal!important;overflow-wrap:anywhere;word-break:normal;text-align:start;background:transparent!important;
 }
 table.bird-mobile-card-table > :is(thead,tbody,tfoot) > tr > :is(th,td) + :is(th,td) {margin-top:7px!important}
 table.bird-mobile-card-table .bird-mobile-cell-label::before {content:attr(data-label)}
 table.bird-mobile-card-table .bird-mobile-cell-label {
  display:block;margin:0 0 1px;color:#42536a;font-size:.85em;font-weight:650;
 }
 table.bird-mobile-card-table :is(a,button,select,input,img) {max-width:100%}
 table.bird-mobile-card-table :is(a,button) {white-space:normal;overflow-wrap:anywhere}
 table.bird-mobile-card-table .bird-declaration-amount {white-space:nowrap}
 table.bird-mobile-declarations > tbody > tr > td:nth-child(2) {display:none!important}
 table.bird-mobile-declarations > tbody > tr > td:first-child {font-weight:700}
 table.bird-mobile-declarations > tbody > tr > td:first-child .bird-pep-mobile-label {display:none}
 table.bird-mobile-declarations > tbody > tr .bird-pep-mobile-label {display:block;color:#42536a;font-size:.85em;font-weight:600}
 table.bird-mobile-declarations > tbody > tr .bird-pep-card-date {display:inline;color:#42536a;font-weight:400;margin-inline-start:.5em}
 table.bird-mobile-declarations > tbody > tr .bird-pep-card-date::before {content:"·";margin-inline-end:.5em}
}
@media(min-width:601px) and (max-width:767px) {
 .bird-declared-assets-panel .bird-asset-table-wrap:has(+.bird-asset-cards) {display:none}
 .bird-declared-assets-panel .bird-asset-cards {display:grid;gap:8px}
 .bird-declared-assets-panel .bird-asset-card {
  min-width:0;padding:10px;border:1px solid #dce3ec;border-radius:8px;background:#f6f7f9;overflow-wrap:anywhere;
 }
 .bird-declared-assets-panel .bird-asset-card :is(dl,dd,p) {margin:0}
 .bird-declared-assets-panel .bird-asset-card dt {font-size:.85em;font-weight:600;margin-top:6px}
}

@media(max-width:767px) {
 .bird-pep-position-results .bird-pep-row-actions {flex-direction:column}
}

/* Expandable content: one chevron, pointing to the action a click will take. */
:is(.herald-site-content,.wp-block-post-content,dialog,[role="dialog"],.modal)
 details > summary:first-of-type {list-style:none;cursor:pointer}
:is(.herald-site-content,.wp-block-post-content,dialog,[role="dialog"],.modal)
 details > summary:first-of-type::-webkit-details-marker {display:none}
.herald-site-content .bird-capital-profile details > summary::before {content:none}
:is(.herald-site-content,.wp-block-post-content,dialog,[role="dialog"],.modal)
 :is(details > summary:first-of-type, :is(button,a,[role="button"])[aria-expanded]:not([role="tab"],[aria-haspopup],.bird-disclosure-plus-minus))::after {
 content:"";display:inline-block;flex:none;
 inline-size:1.2em;block-size:1.2em;margin-inline-start:.38em;vertical-align:-.22em;
 border-radius:50%;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23800e2c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
:is(.herald-site-content,.wp-block-post-content,dialog,[role="dialog"],.modal)
 :is(details[open] > summary:first-of-type, :is(button,a,[role="button"])[aria-expanded="true"]:not([role="tab"],[aria-haspopup],.bird-disclosure-plus-minus))::after {transform:rotate(180deg)}

/* The same profile order in a graph panel: photo column, heading, metadata, roles, actions. */
.bird-delphi-profile-link,.bird-delphi-node-link{display:contents}
.bird-delphi-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;vertical-align:middle;min-height:36px;line-height:1.3!important;padding:6px 12px!important;text-decoration:none!important}
#bird-public-money-popup .bird-delphi-action{min-height:44px!important;height:44px!important;background:#f5f7f8!important;color:#37474f!important;border:1px solid #c5cdd3!important;border-radius:4px!important;font-size:12px!important;font-weight:600!important}
#bird-public-money-popup .bird-node-profile-layout{display:flex;gap:14px;align-items:flex-start;flex:1;min-width:0;margin:0}
#bird-public-money-popup .bird-person-profile-photo-column{flex:0 0 112px;min-width:0;max-width:35%}
#bird-public-money-popup .bird-person-profile-heading{flex:1;min-width:0}
#bird-public-money-popup .bird-node-profile-name{display:block;font-size:20px;line-height:1.25;overflow-wrap:anywhere}
#bird-public-money-popup .bird-person-profile-photo-column img[data-node-portrait]{width:88px!important;height:88px!important;float:none!important;margin:0 auto 8px!important;display:block;object-fit:cover!important;border-radius:50%!important}
#bird-public-money-popup .bird-person-profile-photo-column img[data-node-portrait][hidden]{display:none!important}
#bird-public-money-popup .bird-person-profile-photo-column>div{display:flex;flex-direction:column;align-items:center;gap:6px}
#bird-public-money-popup .bird-person-profile-photo-column button{white-space:normal}
#bird-public-money-popup .bird-person-profile-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:10px 0}
#bird-public-money-popup .bird-person-profile-meta>.bird-tr-person-statuses{display:contents!important}
#bird-public-money-popup .bird-person-profile-meta p,#bird-public-money-popup .bird-person-profile-meta .bird-tr-masked-identifier{margin:0!important}
#bird-public-money-popup .bird-person-profile-roles>*{margin:8px 0}
#bird-public-money-popup .bird-person-profile-roles .bird-pep-role-history{display:block}
@media(max-width:480px){#bird-public-money-popup .bird-person-profile-photo-column{flex-basis:88px}#bird-public-money-popup .bird-node-profile-layout{gap:9px}#bird-public-money-popup .bird-node-profile-name{font-size:17px}}

.bird-delphi-profile-link>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px;vertical-align:middle;line-height:1.3!important;padding:6px 12px!important;border:1px solid #c5cdd3!important;border-radius:4px!important;background:#f5f7f8!important;color:#37474f!important;text-decoration:none!important}

/* Archive discovery uses a scales icon in profiles and graph panels. */
.bird-delphi-action[href*="/delphi/"]{gap:6px}
.bird-delphi-action[href*="/delphi/"]::before{content:"";display:inline-block;width:18px;height:18px;flex:0 0 18px;background:currentColor;-webkit-mask:var(--bird-delphi-scales) center/contain no-repeat;mask:var(--bird-delphi-scales) center/contain no-repeat;--bird-delphi-scales:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18m-5 0h10M4 7h16M5 7l-4 8h8L5 7Zm14 0-4 8h8l-4-8ZM1 15a4 4 0 0 0 8 0m6 0a4 4 0 0 0 8 0'/%3E%3C/svg%3E")}

/* Layout choices already have a dedicated icon; do not add a disclosure chevron. */
.bird-graph-layout-toggle[aria-expanded]::after{content:none!important;display:none!important}
