.fin-match-results{display:grid;gap:18px;margin:24px 0}.fin-match-result{border:1px solid var(--fin-line,#e2def4);border-radius:24px;padding:24px;background:#fff}.fin-match-result:has(input:checked){border-color:rgba(117,172,213,.48);box-shadow:0 0 0 2px rgba(151,195,225,.28)}.fin-match-identity{display:flex;align-items:center;gap:18px}.fin-match-logo{width:72px;height:72px;object-fit:contain;border-radius:16px;flex:0 0 72px;background:#f6f5ff}.fin-match-placeholder{display:grid;place-items:center;font-size:32px;color:#191950}.fin-match-identity h3{margin:0;overflow-wrap:anywhere}.fin-match-identity p{margin:0 0 6px}.fin-match-numbers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:24px 0}.fin-match-numbers dt{font-size:14px;font-weight:500;color:#626581}.fin-match-numbers dd{font-size:22px;font-weight:750;color:#17164d;margin:8px 0 0;overflow-wrap:anywhere}.fin-match-actions,.fin-match-selection{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:20px}.fin-match-pick{display:flex;gap:10px;padding:12px 16px;border-radius:999px;border:1px solid #d9d5ed;cursor:pointer}.fin-match-selection{padding:20px;border-radius:20px;background:#eef7ff}.fin-match-selection[hidden],.fin-match-shortlist[hidden],.fin-match-pick[hidden]{display:none}.fin-match-shortlist{margin:20px 0;padding:22px;background:#f8f6ff;border-radius:20px}.fin-match-shortlist [data-match-links]{display:grid;gap:12px}.fin-match-shortlist a{white-space:normal;text-align:left;overflow-wrap:anywhere;justify-content:space-between}.fin-match-shortlist:focus{outline:2px solid #007fff;outline-offset:4px}@media(max-width:600px){.fin-match-result{padding:18px}.fin-match-numbers{grid-template-columns:1fr;gap:12px}.fin-match-numbers>div{display:flex;justify-content:space-between;align-items:baseline;gap:16px}.fin-match-numbers dd{font-size:18px;text-align:right;flex-shrink:0}.fin-match-actions>*{flex:1 1 100%;text-align:center;justify-content:center}.fin-match-selection>*{width:100%}.fin-match-identity{align-items:flex-start}.fin-match-identity h3{font-size:20px}}

@media(max-width:380px){.fin-match-numbers>div{display:block}.fin-match-numbers dd{text-align:left;margin-top:4px}}

/* Match selection: circular controls with a 44px hit target, independent of form fields. */
html:has([data-fin-match-form]){scroll-behavior:auto!important}
#match-results{scroll-margin-top:110px}
.fin-match-result{position:relative}
.fin-match-result .fin-match-identity{padding-right:48px}
.fin-shell .fin-match-result .fin-match-pick{position:absolute;top:18px;right:18px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;margin:0;border:0;background:transparent;cursor:pointer}
.fin-shell .fin-match-result .fin-match-pick[hidden],.fin-match-tools[hidden]{display:none}
.fin-shell .fin-match-pick input,.fin-shell .fin-match-select-all input{appearance:none;-webkit-appearance:none;display:block;flex:0 0 26px;width:26px!important;height:26px!important;min-width:26px;min-height:26px;padding:0!important;margin:0!important;border:2px solid #cfc4ef;border-radius:50%!important;background:#fff;box-shadow:none;cursor:pointer}
.fin-shell .fin-match-pick input:checked,.fin-shell .fin-match-select-all input:checked{background:radial-gradient(circle,#804cff 0 6px,#fff 6.5px);border-color:#804cff}
.fin-shell .fin-match-select-all input:indeterminate{background:linear-gradient(#804cff,#804cff) center/12px 3px no-repeat #fff;border-color:#804cff}
.fin-shell .fin-match-pick input:focus-visible,.fin-shell .fin-match-select-all input:focus-visible{outline:3px solid #007fff;outline-offset:4px}
.fin-match-tools{display:flex;justify-content:flex-end;margin:18px 0 0}
.fin-shell .fin-match-select-all{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px;font-weight:600;color:#68617e;cursor:pointer;margin:0}
@media(max-width:600px){.fin-shell .fin-match-result .fin-match-pick{top:12px;right:12px}.fin-match-result .fin-match-identity{padding-right:38px}.fin-match-selection{gap:12px}.fin-match-selection strong{font-size:15px}}

.fin-match-count{margin-inline-start:.3em}

html:has([data-fin-saved-detail]){scroll-behavior:auto!important}
[data-saved-list] .fin-match-result h2{padding-right:48px;overflow-wrap:anywhere}
[data-saved-list]>.fin-secondary{margin:20px 0}
[data-fin-saved-detail] form>.fin-secondary{margin-top:20px}
.fin-request-history summary{cursor:pointer;padding:16px 0;color:var(--fin-accent,#703cff);font-weight:600}

/* v274: consistent action rhythm and an aligned selection column. */
.fin-shell .fin-match-tools{display:flex;justify-content:flex-end;padding-right:28px;margin:24px 0 0}
.fin-shell .fin-match-tools .fin-match-select-all{display:flex!important;flex-direction:row!important;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:12px;width:auto!important;margin:0;text-align:right}
.fin-shell .fin-match-select-all>span{display:inline;white-space:normal}
.fin-shell .fin-match-actions{margin-bottom:24px;gap:16px}
.fin-shell [data-fin-saved-detail]>.fin-match-actions+h2{margin-top:24px}
.fin-shell .fin-saved-list-panel>.fin-match-actions,.fin-shell .fin-saved-list-panel>.fin-help,.fin-shell [data-saved-list]>button{margin-left:25px}
.fin-shell .fin-match-actions>.fin-primary{min-height:52px;padding:14px 24px;line-height:1.4;white-space:normal}
.fin-shell [data-fin-saved-detail]>form+.fin-help{margin-top:24px}
@media(max-width:600px){
 .fin-shell .fin-match-tools{padding-right:22px}
 .fin-shell .fin-saved-list-panel>.fin-match-actions,.fin-shell .fin-saved-list-panel>.fin-help,.fin-shell [data-saved-list]>button{margin-left:19px;margin-right:19px}
}
