
.friend-directory-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.friend-directory-tools a{border:1px solid currentColor;border-radius:5px;padding:3px 8px;text-decoration:none;font-size:12px}
.friend-directory-more{margin-top:8px}
.friend-directory-more summary{width:fit-content;cursor:pointer;margin-bottom:8px;font-size:13px}
.friend-directory-more summary span:nth-child(2),.friend-directory-more[open] summary span:first-child{display:none}
.friend-directory-more[open] summary span:nth-child(2){display:inline}
.zq-nav-grid .friend-quality-blocked{border:1px solid #89929c66;border-radius:14px;padding:5px 10px;opacity:.65;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.friend-public-table{overflow-x:auto}
.friend-public-table table{border-collapse:collapse;width:100%;white-space:nowrap}
.friend-public-table :is(th,td){padding:8px;border-bottom:1px solid #89929c55;text-align:left}
.friend-public-table .friend-quality-blocked{opacity:.7}

.friend-report{border-top:3px solid #257b75}
.friend-report-head{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
.friend-report-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:8px;margin-block:14px}
.friend-report-summary>div{background:#eef6f5;color:#183d3a;padding:10px;border-radius:8px}
.friend-report-summary strong{display:block;font-size:22px;font-variant-numeric:tabular-nums}
.friend-report :is(th,td){font-size:13px;font-variant-numeric:tabular-nums}
.friend-report th{background:#edf4f4;color:#25443e}
.friend-report meter{width:64px;margin-inline-start:4px}
.directory-card.friend-quality-blocked{opacity:.64}

.flow-quality-badge{display:inline-flex;align-items:center;border-radius:5px;padding:2px 7px;font-size:11px;font-weight:650;white-space:nowrap;color:#21533b;background:#e8f5eb}
.flow-quality-badge[data-quality=manual]{color:#214981;background:#eaf1ff}
.flow-quality-badge[data-quality=watch]{color:#754000;background:#fff1cc}
.flow-quality-badge[data-quality=paused]{color:#404c62;background:#edf0f5}
.flow-quality-badge[data-quality=blocked]{color:#8f2029;background:#fdecef}

.friend-report-title{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #dce6e8;padding-bottom:10px;margin-bottom:10px}
.friend-report-title strong{font-size:22px}
.friend-report-title span{font-size:12px;color:#526870}
.friend-report .friend-public-table{border:1px solid #dfe7eb;border-radius:10px}
.friend-report .friend-public-table td:first-child{font-weight:650}
.friend-report .friend-public-table tr:last-child td{border-bottom:0}
.friend-report .friend-report-head form{display:flex;align-items:center;flex-wrap:wrap;gap:4px}
.friend-report .friend-report-summary>div{border:1px solid #d5e9e5}
.friend-report .friend-public-table tbody tr:is(:hover,:focus-within){outline:1px solid #9bbfbb;outline-offset:-1px}
.friend-site-footer>.friend-directory-tools,footer>.wrap>.friend-directory-tools,.directory-footer>.friend-directory-tools,.directory-content>.friend-directory-tools{margin-block:8px}

form[role="search"] .friend-apply-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex: none;
    white-space: nowrap;
    padding-inline: 6px;
    text-decoration: none;
}
.directory-group-heading .friend-directory-tools {
    margin: 0;
    justify-content: flex-end;
}
