/* Canonical research discovery: isolated from workspace and generic sidebar grids. */
html body .rc-discovery-page{box-sizing:border-box;width:100%;max-width:1240px;margin:24px auto 48px;padding:0;color:#171717;font-family:inherit;min-width:0}
html body .rc-discovery-page *{box-sizing:border-box;min-width:0}
html body .rc-discovery-heading{padding:22px;background:#fff;border:1px solid #e2e5e9;border-radius:12px;margin-bottom:16px}
html body .rc-discovery-heading h1{font-size:28px;line-height:1.25;margin:0 0 8px;color:#171717}
html body .rc-discovery-heading p,.rc-discovery-profile{font-size:14px;line-height:1.5;margin:0;color:#555}
.rc-discovery-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.rc-discovery-page a{color:#222;text-underline-offset:3px}
.rc-discovery-tabs a,.rc-discovery-actions a,.rc-discovery-actions button,.rc-discovery-filters input[type=submit]{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 14px;border:1px solid #ccc;border-radius:8px;background:white;color:#171717;font-size:13px;line-height:1.4;white-space:normal;text-decoration:none;cursor:pointer}
.rc-discovery-tabs a[aria-current=page]{background:#171717;color:#fff;border-color:#171717}
html body .rc-discovery-filters{display:flex;flex-wrap:wrap;gap:14px;align-items:end;padding:16px;margin:16px 0;background:#fff;border:1px solid #e2e5e9;border-radius:10px}
.rc-discovery-filters>.form-item{flex:1 1 180px;margin:0}.rc-discovery-filters>.form-item:first-child{flex:2 1 260px}
.rc-discovery-filters label{display:block;font-size:13px;margin:0 0 6px}
html body .rc-discovery-filters :is(input:not([type=hidden]),select){width:100%;max-width:100%;min-height:42px;font-size:14px;padding:9px;border:1px solid #ccc;border-radius:6px}
.rc-discovery-filters details{flex:1 0 100%;order:5;border-top:1px solid #eee;padding-top:12px}.rc-discovery-filters summary{cursor:pointer;font-size:14px;font-weight:600;min-height:32px}
.rc-discovery-filters details>.details-wrapper{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.rc-discovery-filters details .form-item{margin:4px 0}
.rc-discovery-results{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:start}.rc-discovery-results.rc-discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
html body .rc-discovery-card{display:flex;flex-wrap:wrap;align-items:start;gap:16px;background:#fff;border:1px solid #e2e5e9;border-radius:12px;padding:20px;margin:0;grid-column:auto;grid-row:auto;word-break:normal;overflow-wrap:anywhere}
.rc-discovery-copy{flex:1 1 220px}.rc-discovery-card h2{font-size:18px;line-height:1.4;margin:0 0 8px}.rc-discovery-card h2 a{text-decoration:none}.rc-discovery-card p{font-size:14px;font-weight:400;line-height:1.5;margin:7px 0}
.rc-discovery-card dl{font-size:13px;margin:10px 0;color:#555}.rc-discovery-card dl>div{display:flex;gap:6px;margin:4px 0;flex-wrap:wrap}.rc-discovery-card dt{font-weight:600}.rc-discovery-card dd{margin:0}
.rc-discovery-actions{display:flex;flex:1 0 100%;gap:8px;flex-wrap:wrap;border-top:1px solid #eee;padding-top:12px}
.rc-discovery-reason,.rc-discovery-status{display:block;padding:8px 10px;background:#f4f4f4;border-radius:6px;font-size:13px}
html body .rc-discovery-avatar{width:52px;height:52px;border-radius:50%;object-fit:cover;flex:none}
.rc-discovery-empty{padding:28px;background:white;border:1px solid #ddd;border-radius:12px}.rc-discovery-empty h2{font-size:20px}
.rc-discovery-page :is(a,button,input,select,summary):focus-visible{outline:2px solid #333;outline-offset:3px}
@media(max-width:767px){html body .rc-discovery-page{margin:16px auto}.rc-discovery-results.rc-discovery-grid{grid-template-columns:minmax(0,1fr)}.rc-discovery-filters details>.details-wrapper{grid-template-columns:minmax(0,1fr)}.rc-discovery-heading h1{font-size:24px}.rc-discovery-card{padding:16px}}

.rc-discovery-authors{display:flex;flex-wrap:wrap;gap:10px}.rc-discovery-authors a{display:inline-flex;gap:6px;align-items:center;font-size:13px}.rc-discovery-authors img{width:22px;height:22px;border-radius:50%;object-fit:cover}.rc-discovery-actions summary{cursor:pointer;padding:10px;font-size:13px}

.rc-discovery-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.rc-discovery-add{padding:10px 14px;background:#171717;color:#fff!important;border-radius:8px;text-decoration:none;font-size:13px}.rc-discovery-banner,.rc-discovery-placeholder{width:100%;height:130px;object-fit:cover;background:#f3f3f3;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:12px;color:#666}

/* Shared directory filters: selected controls remain light; primary actions stay black. */
.rc-discovery-page .rc-discovery-tabs a[aria-current="page"],.rc-discovery-page .rc-filter-chips a,.rc-platform-alphabet a[aria-current="page"],.rc-professional-directory .rc-discovery-tabs a[aria-current="page"]{background:#fff!important;color:#111!important;font-weight:600;border:1px solid #aaa!important;box-shadow:inset 0 -2px #111}
.rc-discovery-tabs a:focus-visible,.rc-filter-chips a:focus-visible,.rc-platform-alphabet a:focus-visible{outline:2px solid #111;outline-offset:3px}
.rc-discovery-page{max-width:1092px;margin:0 auto;font-size:14px;color:#111;min-width:0}
.rc-discovery-heading h1{font-size:27px;font-weight:600}.rc-discovery-heading p{font-size:14px;font-weight:400;color:#6b6b72}
.rc-discovery-page .rc-discovery-filters{display:block;padding:0;border:0;background:transparent}
.rc-discovery-filters>details,.ph-unified-filters>details{margin:0 0 18px;border:1px solid #dedee3;border-radius:10px;padding:0;background:#fff;width:100%;min-width:0}
.rc-discovery-filters>details>summary,.ph-unified-filters>details>summary{padding:14px 16px;font-weight:600;cursor:pointer;color:#111;background:#fff;border-radius:10px}
.rc-discovery-filters>details>.details-wrapper,.ph-unified-filters>details>.details-wrapper{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:16px;border-top:1px solid #eee}
.rc-discovery-filters .form-item,.ph-unified-filters .form-item{margin:0;min-width:0}.rc-discovery-filters label,.ph-unified-filters label{font-size:13px;font-weight:600;color:#111}
.rc-discovery-filters input:not([type=submit]),.rc-discovery-filters select,.ph-unified-filters input:not([type=submit]),.ph-unified-filters select{width:100%;max-width:100%;min-height:40px;border:1px solid #d8d8de;border-radius:7px;background:#fff;color:#111;font:inherit;box-sizing:border-box}
.rc-discovery-filters input[type=submit],.ph-unified-filters input[type=submit],.ph-discovery-preferences input[type=submit]{background:#111;color:#fff;border:1px solid #111;border-radius:7px;padding:10px 16px;align-self:end;font-size:13px;font-weight:600;cursor:pointer}
.rc-discovery-results{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}.rc-discovery-results>.ph-published-card{width:100%;min-width:0;box-sizing:border-box}
.ph-fellowship-directory .rc-platform-grid{grid-template-columns:minmax(0,1fr);max-width:780px;margin-inline:auto}.ph-fellowship-directory{max-width:1092px;margin:auto}.ph-fellowship-directory .rc-platform-filters{display:block}
.ph-discovery-preferences{max-width:1000px;margin:0 auto;padding:24px;border:1px solid #dedee3;border-radius:12px;background:#fff;color:#111;font:inherit}
.ph-discovery-preferences fieldset{margin:18px 0;padding:18px;border:1px solid #dedee3;border-radius:10px;background:#fff}.ph-discovery-preferences legend,.ph-discovery-preferences .fieldset-legend{background:#fff!important;color:#111!important;font-size:16px;font-weight:600;padding:0 6px}
.ph-discovery-preferences .fieldset-wrapper{padding:0}.ph-discovery-preferences .form-checkboxes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px}.ph-discovery-preferences .form-item{margin:10px 0}.ph-discovery-preferences label{font-size:13px;color:#111;font-weight:400}.ph-discovery-preferences input[type=checkbox]{accent-color:#111;min-width:18px;min-height:18px}.ph-discovery-preferences select{border:1px solid #dedee3;border-radius:7px;background:#fff;color:#111;min-height:40px;max-width:100%;font:inherit}.ph-discovery-preferences .description{color:#6b6b72;font-size:12px;line-height:1.5}
@media(max-width:700px){.rc-discovery-filters>details>.details-wrapper,.ph-unified-filters>details>.details-wrapper{grid-template-columns:minmax(0,1fr)}.ph-discovery-preferences{padding:16px}.ph-discovery-preferences .form-checkboxes{grid-template-columns:minmax(0,1fr)}.rc-discovery-heading{flex-wrap:wrap;gap:12px}.rc-discovery-tabs{flex-wrap:wrap}.rc-discovery-page{width:100%;box-sizing:border-box}.rc-discovery-results .ph-published-card{padding:16px}}

.ph-directory-result{min-width:0}.ph-directory-facts{margin-top:6px;padding:10px 14px;border:1px solid #dedee3;border-radius:8px;background:#fff;font-size:12px}.ph-directory-facts summary{cursor:pointer;color:#555}.ph-directory-facts dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ph-directory-facts dt{font-weight:600}.ph-directory-facts dd{margin:0;overflow-wrap:anywhere}
@media(max-width:600px){.ph-directory-facts dl{grid-template-columns:1fr}}

html body .ph-discovery-preferences .fieldset__legend{position:static!important;float:none!important;width:auto!important;max-width:100%;padding:0 6px!important;margin:0 0 12px!important;background:#fff!important;border:0!important;color:#111!important}
html body .ph-discovery-preferences .fieldset__label{color:#111!important;background:transparent!important;font-size:16px!important;font-weight:600!important;padding:0!important}
html body .ph-discovery-preferences .fieldset__wrapper{border:0!important;padding:0!important;margin:0!important;background:#fff!important}
html body .ph-discovery-preferences fieldset{padding:16px!important;border:1px solid #dedee3!important;border-radius:10px!important;margin:16px 0!important}
html body .rc-discovery-page{max-width:1092px}

html body .rc-discovery-page .ph-card-publisher{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:16px}
html body .rc-discovery-page .ph-card-publisher>a.rc-newsfeed-author{display:inline-flex!important;align-items:center;gap:7px;margin:0!important;font-size:12px;font-weight:400!important;color:#111!important;line-height:20px}
html body .rc-discovery-page .ph-card-publisher>a.rc-newsfeed-author img{width:22px;height:22px;border-radius:50%;object-fit:cover;margin:0!important}
html body .rc-discovery-page .ph-published-card h2 a{font-size:15px;font-weight:600}
html body .rc-discovery-page .ph-directory-actions{border-top:1px solid #ececef;padding-top:10px;margin-top:12px}
html body .rc-discovery-filters>details>summary{padding-left:36px!important;box-shadow:none}
html body .rc-discovery-filters>details>summary:before{left:14px!important;right:auto!important}

html body .ph-fellowship-directory .rc-platform-grid.ph-published-gallery{display:grid!important;grid-template-columns:minmax(0,1fr)!important;max-width:780px;margin-inline:auto}
html body .ph-fellowship-directory .ph-published-card{width:100%!important;min-width:0;box-sizing:border-box}
html body .ph-fellowship-directory .rc-platform-filters.ph-unified-filters{padding:0!important;border:0!important;background:transparent!important}
html body .ph-fellowship-directory .rc-platform-alphabet a[aria-current="page"]{background:#fff!important;color:#111!important;border:1px solid #aaa!important;box-shadow:inset 0 -2px #111;font-weight:600}
html body .ph-unified-filters>details>summary{padding-left:36px!important}
html body .ph-unified-filters>details>summary:before{left:14px!important;right:auto!important}
html body .ph-fellowship-directory .ph-card-publisher{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
html body .ph-fellowship-directory .ph-card-publisher a.rc-newsfeed-author{display:inline-flex!important;align-items:center;gap:7px;margin:0!important;font-size:12px;font-weight:400!important}
html body .ph-fellowship-directory .ph-card-publisher a.rc-newsfeed-author img{width:22px;height:22px;border-radius:50%;object-fit:cover;margin:0!important}
html body .ph-fellowship-directory .ph-published-card h2 a{font-size:15px;font-weight:600;white-space:normal;overflow:visible}

html body .rc-platform-directory.ph-fellowship-directory .rc-platform-alphabet a[aria-current="page"]{background:#fff!important;color:#111!important;border:1px solid #aaa!important;box-shadow:inset 0 -2px #111;font-weight:600}
