.matching-requests{--mr-bg:#102438;--mr-card:#142d44;--mr-border:#355169;--mr-text:#edf5ff;--mr-muted:#b6cadc;--mr-accent:#97c8ff;min-width:0;border:1px solid var(--mr-border);border-block-start:3px solid var(--mr-accent);border-radius:18px;padding:22px;background:var(--mr-bg);color:var(--mr-text)}
html[data-design=light] .matching-requests{--mr-bg:#f3f8fe;--mr-card:#fff;--mr-border:#cadbea;--mr-text:#17324b;--mr-muted:#49657c;--mr-accent:#2269ab}
.matching-requests *{box-sizing:border-box}.matching-requests [hidden]{display:none!important}
.matching-requests-header h2{margin:0;font-size:clamp(21px,2.3vw,28px);line-height:1.25;letter-spacing:-.02em;color:var(--mr-text)}
.matching-requests-intro{margin:7px 0 16px;max-width:74ch;color:var(--mr-muted);font-size:14px;line-height:1.5}
.matching-requests-selection{display:flex;align-items:end;flex-wrap:wrap;gap:10px 16px;margin-block-end:14px}
.matching-requests-selection label{display:grid;gap:5px;flex:1 1 210px;max-width:420px;min-width:0;font-size:13px;color:var(--mr-muted)}
.matching-requests-selection select{width:100%;min-width:0;max-width:100%;min-height:44px;padding:9px 34px 9px 11px;border:1px solid var(--mr-border);border-radius:10px;background:var(--mr-card);color:var(--mr-text);font:inherit;font-size:15px}
.matching-requests button,.matching-requests a.ghost-action{min-height:44px;white-space:normal;overflow-wrap:anywhere;line-height:1.35;font-size:13px;text-align:center}
.matching-requests button:disabled{opacity:.6;cursor:wait}.matching-requests button:focus-visible,.matching-requests a:focus-visible,.matching-requests select:focus-visible,.matching-requests summary:focus-visible,.matching-requests input:focus-visible{outline:3px solid var(--mr-accent);outline-offset:3px}
.matching-requests .ghost-action{background:transparent;border:1px solid var(--mr-border);border-radius:9px;padding:9px 11px;color:var(--mr-text);text-decoration:none}
.matching-requests .primary-action{background:#256fb7;border:1px solid #5095d2;border-radius:9px;padding:9px 12px;color:#fff;box-shadow:none}
.matching-requests-notice{display:flex;align-items:center;flex-wrap:wrap;gap:12px;border-radius:10px;padding:10px 12px;margin-block:10px;background:var(--mr-card);border:1px solid var(--mr-border);font-size:14px}
.matching-requests-basis{margin-block:0 12px;font-size:13px;color:var(--mr-muted)}.matching-requests-basis summary{cursor:pointer;padding-block:8px;min-height:36px;color:var(--mr-text)}
.matching-requests-basis dl{display:grid;grid-template-columns:minmax(90px,auto) minmax(0,1fr);gap:6px 14px;margin:6px 0 12px}.matching-requests-basis dt{font-weight:650}.matching-requests-basis dd{margin:0;overflow-wrap:anywhere}
.matching-requests-filters{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 15px;margin-block:8px}
.matching-requests-views{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:100%;max-width:460px;min-width:0;padding:4px;border:1px solid var(--mr-border);border-radius:12px;background:#0b1b2b}
html[data-design=light] .matching-requests-views{background:#e9f0f8}
/* Component controls must not inherit the later global ghost/primary theme. */
html body.member-session .matching-requests .matching-requests-views>button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;height:auto;margin:0;padding:10px 12px;border:1px solid transparent!important;border-radius:8px;background:transparent!important;color:var(--mr-text)!important;box-shadow:none!important;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;white-space:normal;overflow-wrap:anywhere;word-break:normal;text-align:center;cursor:pointer;transform:none;filter:none}
html body.member-session .matching-requests .matching-requests-views>button[aria-pressed=true]{border-color:#b9dcff!important;background:#b9dcff!important;color:#0d2942!important;font-weight:750}
html[data-design=light] body.member-session .matching-requests .matching-requests-views>button[aria-pressed=true]{border-color:#174f80!important;background:#174f80!important;color:#fff!important}
.matching-requests .matching-requests-views>button:focus-visible{outline:3px solid var(--mr-accent)!important;outline-offset:2px}
.matching-requests .matching-requests-views>button:disabled{cursor:wait}.matching-requests .matching-requests-views>button[aria-pressed=true]:disabled{opacity:1}
@media(hover:hover){html body.member-session .matching-requests .matching-requests-views>button:not([aria-pressed=true]):hover:not(:disabled){background:var(--mr-card)!important;border-color:var(--mr-accent)!important}}
.matching-requests-view-label{min-width:0;overflow-wrap:anywhere}
.matching-requests-refresh-status{margin:8px 0 0;color:var(--mr-muted);font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.matching-requests-older{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;font-size:13px;color:var(--mr-muted)}.matching-requests-older input{width:18px;height:18px;flex:0 0 18px;accent-color:#3078b8;margin:0}
.matching-requests-period{font-size:12px;margin:6px 0 10px;color:var(--mr-muted)}
.matching-requests-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:0}
.matching-request-card{display:flex;flex-direction:column;min-width:0;gap:9px;padding:15px;background:var(--mr-card);border:1px solid var(--mr-border);border-radius:12px;overflow-wrap:anywhere}
.matching-request-meta{display:flex;align-items:start;justify-content:space-between;gap:8px;min-width:0;color:var(--mr-muted);font-size:11px;line-height:1.4}.matching-request-meta>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}.matching-request-meta time{flex-shrink:0}
.matching-request-card h3{font-size:16px;line-height:1.4;margin:0}.matching-request-card h3 a{color:var(--mr-text);text-decoration:none;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.matching-request-card h3 a:hover{text-decoration:underline}
.matching-request-facts{display:flex;gap:5px 9px;flex-wrap:wrap;font-size:12px;color:var(--mr-muted)}.matching-request-facts span{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;max-width:100%}
.matching-request-highlights{color:var(--mr-accent);font-size:12px;line-height:1.4}.matching-request-highlights p{margin:0;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.matching-requests-partial{flex-basis:100%;margin:0}
.matching-request-reasons{font-size:12px;color:var(--mr-muted);line-height:1.5}.matching-request-reasons summary{cursor:pointer;color:var(--mr-accent);min-height:32px;padding-block:5px}.matching-request-reasons p{margin:4px 0}.matching-request-reasons .matching-request-caveat{margin-top:9px}
.matching-request-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}.matching-request-actions>*{flex:1 1 auto}.matching-request-actions>button:last-child:not(.primary-action){flex-basis:100%;min-height:36px}
.matching-request-refer{border:0;border-top:1px solid var(--mr-border);border-radius:0;padding:9px 0 0;background:transparent;color:var(--mr-accent);text-align:start!important;font-size:12px!important}
.matching-requests-empty{margin:0;padding:12px 0 4px;color:var(--mr-muted);font-size:14px;line-height:1.5;overflow-wrap:anywhere}.matching-requests-empty p{margin:0 0 9px}
.matching-requests-footer{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:12px;color:var(--mr-muted);font-size:13px}
.member-home.has-company-request-matches [data-engagement-topic=interests]{display:none}
.member-home.has-matching-requests-onboarding>.member-home-company-card{display:none}
/* The legacy company card has a negative top margin, including at <=650px.
   Only this new sibling relationship needs a positive, normal-flow gap. */
.member-home>.matching-requests+.member-home-company-card{margin-block-start:24px}
.matching-requests{box-sizing:border-box;max-width:100%}
.matching-requests-grid:empty,.matching-requests-footer:empty{display:none}
.matching-referral-text{display:block;width:100%;max-width:100%;box-sizing:border-box;resize:vertical;line-height:1.5}
.matching-referral-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:10px;margin-block:12px;min-width:0}
.matching-referral-actions>button,.matching-referral-actions>a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;max-width:100%;padding:10px 14px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;text-align:center}
.matching-referral-actions>a{border:1px solid currentColor;border-radius:9px;color:inherit;text-decoration:none}
@media(max-width:600px){.matching-referral-actions>button,.matching-referral-actions>a{flex:1 1 100%;width:100%}}
@media(max-width:1000px){.matching-requests-grid{grid-template-columns:1fr}.matching-request-card{gap:6px;padding:12px 14px}.matching-request-actions>button:last-child:not(.primary-action){flex-basis:auto}.matching-request-actions>*{flex:0 1 auto}.matching-request-refer{min-height:36px!important}.matching-request-reasons summary{min-height:30px}.matching-request-card h3{font-size:15px}}
@media(max-width:600px){.matching-requests{padding:15px 12px;border-radius:14px}.matching-requests-intro{font-size:13px}.matching-requests-selection{align-items:stretch;gap:6px}.matching-requests-selection label{max-width:none;flex-basis:100%}.matching-requests-selection>.ghost-action{justify-self:start;font-size:12px}.matching-request-actions{gap:5px}.matching-request-actions>*{flex:1 1 80px;padding:8px!important;font-size:12px!important}.matching-requests-basis dl{grid-template-columns:1fr;gap:3px}.matching-requests-basis dd{margin-bottom:8px}.matching-requests-views{width:100%}.matching-requests-views>*{flex:1 1 100px}.matching-requests-header h2{font-size:22px}}
