.relationship-legend,.finance-legend{display:flex;flex-wrap:wrap;gap:.55rem 1rem;align-items:center;margin:1rem 0;font-size:.82rem}
.relationship-legend>span{display:inline-flex;align-items:center;gap:.4rem}.relationship-legend i{width:.9rem;height:.9rem;display:inline-block;border:2px solid #2b6963;border-radius:2px;background:#e8f4f2}.relationship-legend .legend-person{border-color:#596b9a;border-radius:50%;background:#edf0fc}.relationship-legend .legend-match{border-color:#947100;background:#fff3cb}
.relationship-branches{display:grid;gap:1.25rem;margin:1.4rem 0}.relationship-branch{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,2fr);gap:2rem;align-items:center;padding:1.25rem;border:1px solid #d8e3e7;background:#f8fafb;border-radius:.65rem;scroll-margin-top:1.5rem}.relationship-branch:target{outline:3px solid #b37d00;outline-offset:3px}.relationship-source,.relationship-target{border:1.5px solid #2b6963;border-radius:.55rem;background:#edf7f5;padding:1rem;min-width:0;position:relative}.relationship-source.kind-person{border-color:#6575a4;background:#f0f3fd;border-radius:1rem}.relationship-source.name-match-only{border:2px solid #9b7500}.relationship-source>h3{font-size:1rem;margin:.35rem 0;line-height:1.45;overflow-wrap:anywhere}.relationship-source>.eyebrow{font-size:.68rem;margin:0;color:#48616d}.relationship-count{font-size:.84rem;font-weight:600;margin:.65rem 0}.identity-warning{font-size:.8rem;line-height:1.45;background:#fff2c7;border-radius:.3rem;color:#674600;padding:.6rem;margin:.6rem 0 0}.relationship-keys{font-size:.75rem;margin-top:.7rem}.relationship-keys summary{font-size:.75rem;font-weight:400}.relationship-keys ul{padding-left:1rem}.relationship-keys code{font-size:.65rem;overflow-wrap:anywhere;word-break:break-all}
.relationship-destinations{list-style:none;margin:0;padding:0;display:grid;gap:1rem;position:relative;min-width:0}.relationship-destinations:before{content:"";position:absolute;left:-1.1rem;top:25%;bottom:25%;border-left:2px solid #8ba5ae}.relationship-destination{display:grid;grid-template-columns:minmax(115px,.75fr) minmax(0,1.5fr);gap:1rem;align-items:center;min-width:0;position:relative}.relationship-destination:before{content:"";position:absolute;left:-1.1rem;top:50%;width:calc(100% - .5rem);border-top:2px solid #8ba5ae}.relationship-link-label{position:relative;background:#f8fafb;padding:.3rem 0;line-height:1.5;color:#274b5c;font-size:.84rem}.relationship-link-label small{display:block;font-size:.7rem;font-weight:400;color:#745800}.relationship-target:before{content:"";position:absolute;top:calc(50% - 5px);left:-7px;width:9px;height:9px;border-top:2px solid #8ba5ae;border-right:2px solid #8ba5ae;transform:rotate(45deg);background:#f8fafb}.relationship-target h4{font-size:.9rem;margin:0;line-height:1.5;overflow-wrap:anywhere}.relationship-sources{display:flex;flex-wrap:wrap;gap:.3rem .7rem;font-size:.74rem;margin:.5rem 0 0}.relationship-target>.muted{font-size:.74rem;line-height:1.4;margin:.5rem 0 0}.relationship-continue{display:block;font-size:.78rem;line-height:1.5;margin:.6rem 0 0}.relationship-source:after{content:"";position:absolute;right:-1rem;width:1rem;top:50%;border-top:2px solid #8ba5ae}
.finance-status{display:inline-block;font-size:.74rem;font-weight:650;line-height:1.5;padding:.3rem .5rem;border-radius:.35rem;white-space:normal}.finance-status.danger,.financial-cell.danger{background:#fff0f0;color:#942828}.finance-status.review{background:#fff1c9;color:#775200}.finance-status.unknown{background:#eceff2;color:#52616f}.finance-status.neutral{background:#edf4f8;color:#365767}.financial-summary-scroll{border:1px solid #d8e3e7;border-radius:.5rem;margin:1rem 0}.financial-summary-scroll:focus-visible{outline:3px solid #b77900;outline-offset:3px}.intelligence-workspace .financial-summary-table{min-width:1080px;margin:0;font-size:.8rem;width:100%}.financial-summary-table caption{text-align:left;font-size:.82rem;line-height:1.55;padding:.8rem;background:#f5f8fa;color:#4c6472}.financial-summary-table th,.financial-summary-table td{vertical-align:top;padding:.85rem .65rem}.financial-summary-table thead th{background:#f0f5f6}.intelligence-workspace .financial-summary-table th[scope=row]{min-width:180px;max-width:230px}.financial-summary-table th[scope=row]>strong{font-size:.85rem;display:block;line-height:1.5}.financial-summary-table th[scope=row]>small{display:block;font-size:.72rem;font-weight:400;margin-top:.25rem}.financial-summary-table th[scope=row]>a{display:inline-block;font-size:.72rem;margin-top:.5rem}.financial-summary-table td:first-of-type{min-width:165px;max-width:220px}.financial-cell{font-variant-numeric:tabular-nums;font-weight:600;line-height:1.6}.financial-cell.unknown{color:#647480;font-weight:400}.financial-cell.danger small{font-weight:650}.financial-signal-list{font-size:.74rem;line-height:1.5;margin:.5rem 0 0;padding-left:1rem}.financial-signal-list li+li{margin-top:.4rem}.financial-statement{border:1px solid #d8e3e7;padding:1rem;border-radius:.5rem;margin:1rem 0;background:#fff}.financial-statement>h4{font-size:1rem;margin:0}.financial-statement>p{font-size:.84rem}.financial-statement .financial-detail-table{width:100%;min-width:650px}.financial-company>summary .finance-status{margin:.35rem 0}.financial-source-values{background:#f6f8fa;border:1px solid #d8e3e7;border-radius:.45rem;padding:.8rem;margin-top:1rem}.financial-source-values>summary{font-size:.9rem}
@media(max-width:900px){.relationship-branch{grid-template-columns:1fr;gap:.8rem;padding:1rem}.relationship-source:after{display:none}.relationship-destinations{padding-left:1rem}.relationship-destinations:before{left:0;top:0;bottom:25%}.relationship-destination:before{left:-1rem}.relationship-destination{grid-template-columns:minmax(100px,.7fr) minmax(0,1.5fr)}.relationship-source{padding:.85rem}.relationship-keys{margin:.4rem 0 0}.financial-summary-scroll{overflow:visible;border:0}.intelligence-workspace .financial-summary-table{min-width:0;display:block}.financial-summary-table caption{display:block;border-radius:.5rem;margin-bottom:.7rem}.financial-summary-table thead{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}.financial-summary-table tbody{display:grid;gap:1rem}.financial-summary-table tr{display:block;border:1px solid #d8e3e7;border-radius:.5rem;overflow:hidden}.intelligence-workspace .financial-summary-table th[scope=row]{display:block;max-width:none;min-width:0;background:#f2f6f8;padding:1rem}.intelligence-workspace .financial-summary-table td{display:grid;grid-template-columns:minmax(80px,.75fr) minmax(0,1fr);gap:.6rem;max-width:none;min-width:0;padding:.65rem .8rem;border-bottom:1px solid #e3e9ed;font-size:.82rem}.financial-summary-table td:before{content:attr(data-label);font-weight:500;color:#48606c;font-size:.77rem}.financial-summary-table td>small{grid-column:2}.financial-summary-table td>.financial-signal-list{grid-column:2;margin-top:0}.financial-summary-table td:last-child{border-bottom:0}.financial-statement{padding:.8rem}.finance-legend{font-size:.75rem;gap:.4rem}}
@media(max-width:540px){.relationship-branch{padding:.7rem}.relationship-destination{grid-template-columns:1fr;gap:0}.relationship-link-label{margin-left:.3rem;padding:.35rem .4rem;width:fit-content;max-width:100%}.relationship-target{padding:.75rem}.relationship-target:before{display:none}.relationship-destination:before{top:1rem;width:1rem}.relationship-destinations:before{bottom:15%}.relationship-source h3{font-size:.9rem}.relationship-target h4{font-size:.84rem}.relationship-legend{gap:.5rem;font-size:.74rem}.financial-summary-table td{line-height:1.5}.financial-summary-table td>.finance-status{font-size:.72rem}}
@media print{.relationship-branch{break-inside:avoid;background:#fff}.relationship-keys{display:none}.financial-summary-scroll{overflow:visible}.intelligence-workspace .financial-summary-table{min-width:0;font-size:8pt}.financial-summary-table th,.financial-summary-table td{padding:.3rem}.relationship-source.name-match-only{border-style:dashed}.finance-status.danger,.financial-cell.danger{font-weight:800}}
