/* A content-first catalogue: compact navigation, comparable project cards. */
.home-catalogue{background:#fff;color:#202b39}.home-catalogue main{max-width:1540px;margin:auto;padding:26px 36px 32px}.home-catalogue .topbar{height:64px;background:#fff;border-color:#e9edf2}.home-heading{display:flex;align-items:center;justify-content:space-between;gap:26px;margin-bottom:23px}.home-heading h1{font-size:27px;font-weight:600;letter-spacing:-.8px;line-height:1.3;margin:0 0 7px;color:#202c3d}.home-heading p{font-size:11px;color:#87919e;line-height:1.6;margin:0}.home-search{display:flex;align-items:center;gap:11px;min-width:290px;max-width:520px;width:45%;height:46px;border:1px solid #d8e0e9;border-radius:24px;background:#f7f9fc;padding:0 9px 0 17px;transition:background .2s,border-color .2s,box-shadow .2s}.home-search:focus-within{border-color:#6985ab;background:#fff;box-shadow:0 0 0 3px #496c9b0b}.home-search>svg{width:17px;height:17px;color:#8a96a5}.home-search input{border:0;outline:none;background:none;min-width:0;width:100%;font:inherit;font-size:12px;color:#263a53}.home-search input::placeholder{color:#8c98a8}.home-search button{display:grid;place-items:center;width:32px;height:32px;flex-shrink:0;border:0;border-radius:50%;background:#3e5f8a;color:white}.home-search button>svg{width:15px;height:15px}.home-search button:hover{background:#2c4e7b}.category-navigation{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 16px}.category-navigation button{display:flex;align-items:center;gap:6px;min-height:36px;padding:7px 12px;border:1px solid transparent;background:#f1f4f8;border-radius:20px;color:#5e6d80;font-size:12px;white-space:nowrap;transition:background .2s,color .2s,transform .2s}.category-navigation svg{width:15px;height:15px;stroke-width:1.45}.category-navigation button[aria-pressed=true]{background:#253c5a;color:#fff}.category-navigation button:hover{background:#e4eaf3;color:#274c7a}.category-navigation button[aria-pressed=true]:hover{background:#314f74;color:white}.browse-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:17px;border-bottom:1px solid #e7ebf1}.home-filter-set{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.home-filter-set select{background:#fff;border:1px solid #dfe5ed;border-radius:7px;min-height:33px;padding:5px 25px 5px 10px;color:#657489;font:inherit;font-size:11px;max-width:170px}.full-directory{display:flex;align-items:center;gap:8px;font-size:11px;color:#69809e;white-space:nowrap}.full-directory svg{width:14px;height:14px}.clear-filters{border:0;background:none;color:#6e83a1;font:inherit;font-size:11px;padding:7px}.result-heading{display:flex;align-items:baseline;gap:10px;padding:19px 0 14px;min-height:58px}.result-heading h2{font-size:17px;letter-spacing:-.3px;font-weight:580}.result-heading>span{font-size:11px;color:#8c96a3}.result-heading>p{margin:0 0 0 auto;font-size:11px;color:#9a7051}.result-heading>button{border:0;background:none;color:#4e709b;font-size:11px;padding:0}.project-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;transition:opacity .17s}.project-grid.is-updating{opacity:.52}.opportunity-card{position:relative;display:flex;flex-direction:column;min-width:0;border:1px solid #e0e6ee;border-radius:13px;background:#fff;overflow:hidden;transition:border-color .22s,box-shadow .22s,transform .22s cubic-bezier(.2,.75,.3,1)}.opportunity-card:hover{border-color:#b8c7db;box-shadow:0 6px 24px #213e6410;transform:translateY(-3px)}.card-identity{display:flex;align-items:center;gap:11px;min-height:76px;padding:17px 17px 12px;background:#f3f6fa;border-bottom:1px solid #ebeff5}.card-identity img{width:38px;height:38px;object-fit:contain;flex-shrink:0}.card-identity .provider-initial{width:38px;height:38px;border-radius:8px;display:grid;place-items:center;background:#e5ebf4;color:#5d7394;font-size:18px;font-weight:500;flex-shrink:0}.card-identity-name{min-width:0;padding-right:18px;font-size:11px;color:#4b5c72;line-height:1.5}.card-identity-name span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:pre-line}.card-save{position:absolute;right:10px;top:10px;border:0;background:#ffffffda;color:#8d9bae;border-radius:50%;width:27px;height:27px;display:grid;place-items:center}.card-save svg{width:14px;height:14px}.card-save[aria-pressed=true]{background:#e4edf9;color:#3d6394}.card-save[aria-pressed=true] svg{fill:#d0dff2}.card-save:hover{color:#315c94;background:#e7eef8}.card-save:disabled{opacity:.45}.card-content{padding:13px 16px 11px;display:flex;flex-direction:column;flex:1}.card-type{font-size:10px;color:#8b96a6;margin:0 0 7px;display:flex;gap:7px;align-items:center}.card-type>span+span{border-left:1px solid #dce3ec;padding-left:7px}.card-project-title{font-size:15px;font-weight:560;line-height:1.5;color:#253a55;letter-spacing:-.25px;min-height:45px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}.card-project-title:hover{color:#1f579d}.card-subject{font-size:10px;line-height:1.6;color:#8793a3;margin:8px 0 11px;min-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-facts{display:grid;grid-template-columns:1fr 1fr;column-gap:10px;row-gap:9px;padding-top:11px;margin-top:auto;border-top:1px solid #edf0f5}.card-facts div{min-width:0}.card-facts dt{font-size:9px;color:#9aa4b1;line-height:1.4;margin-bottom:3px}.card-facts dd{font-size:10px;line-height:1.5;color:#63738a;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-facts .fact-wide{grid-column:1/-1}.card-facts .fact-wide dd{-webkit-line-clamp:1}.card-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 16px 13px}.fee-tag{font-size:10px;line-height:1.6;border-radius:5px;padding:2px 6px;color:#758398;background:#f1f4f8}.fee-tag.free{background:#eaf3ee;color:#547866}.fee-tag.paid{background:#f5f0e8;color:#8d7658}.card-go{display:flex;align-items:center;gap:5px;color:#587397;font-size:10px;white-space:nowrap}.card-go svg{width:12px;height:12px}.card-go:hover{color:#244f86}.home-pagination{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:24px 0;color:#929daa;font-size:11px}.home-pagination>div{display:flex;align-items:center;gap:12px}.home-pagination button{min-height:32px;border:1px solid #dce4ed;border-radius:7px;background:#fff;color:#617b9e;font-size:11px;padding:5px 13px}.home-pagination button:disabled{opacity:.35;cursor:default}.home-footer{display:flex;justify-content:space-between;align-items:center;font-size:10px;line-height:1.6;color:#a0a9b4;margin-top:20px;border-top:1px solid #eef1f5;padding-top:17px}.home-footer a{display:flex;align-items:center;gap:6px;color:#72869e}.home-footer svg{width:13px;height:13px}.empty-home{grid-column:1/-1;min-height:210px;display:grid;place-content:center;text-align:center;color:#8a96a6;font-size:13px;line-height:1.9}.empty-home button{background:none;border:0;color:#5477a5;font:inherit;cursor:pointer}.card-skeleton{height:283px;background:#f6f8fb;border:1px solid #e8edf4;border-radius:13px}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cards-enter{animation:home-results-in .24s ease-out}@keyframes home-results-in{from{opacity:.55;transform:translateY(5px)}to{opacity:1;transform:none}}@media(min-width:1700px){.home-catalogue main{padding:30px 42px 36px}.project-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.opportunity-card{min-height:285px}.card-project-title{font-size:16px}}@media(max-width:1250px){.home-catalogue main{padding:25px 26px}.project-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.category-navigation{gap:6px}.category-navigation button{font-size:11px;padding:6px 10px}}@media(max-width:960px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-heading{gap:20px}.home-heading h1{font-size:24px}.home-search{min-width:230px}.full-directory{font-size:0;gap:0}.full-directory svg{width:18px;height:18px}.browse-toolbar{gap:8px}.home-filter-set select{font-size:10px;max-width:135px}}@media(max-width:780px){.home-catalogue main{padding:23px 20px}.home-heading{align-items:stretch;flex-direction:column;gap:16px;margin-bottom:17px}.home-heading h1{font-size:25px}.home-heading p{font-size:10px}.home-search{width:100%;max-width:none;min-width:0;height:43px}.home-search input{font-size:12px}.category-navigation{gap:6px;margin-bottom:14px}.category-navigation button{font-size:11px;min-height:32px;padding:5px 9px;gap:5px}.category-navigation svg{width:13px;height:13px}.browse-toolbar{padding-bottom:13px}.home-filter-set{gap:6px}.home-filter-set select{min-height:31px;max-width:118px;padding-right:17px;padding-left:7px;font-size:10px}.result-heading{padding-top:17px;padding-bottom:13px;min-height:51px}.result-heading h2{font-size:16px}.project-grid{gap:12px}.card-identity{padding:13px;min-height:68px}.card-identity img,.card-identity .provider-initial{width:32px;height:32px}.card-identity-name{font-size:10px}.card-content{padding:11px 13px 9px}.card-project-title{font-size:14px;min-height:42px}.card-bottom{padding:8px 13px 12px}.home-footer{align-items:flex-start;gap:15px;font-size:9px}}@media(max-width:540px){.project-grid{grid-template-columns:1fr;gap:11px}.opportunity-card{display:grid;grid-template-columns:76px minmax(0,1fr);overflow:visible}.card-identity{padding:14px 10px;border-radius:12px 0 0 12px;flex-direction:column;align-items:center;justify-content:flex-start;border:0;border-right:1px solid #e9eef5;grid-row:1/3;gap:8px;height:100%}.card-identity-name{font-size:8px;line-height:1.5;text-align:center;padding:0;max-width:56px}.card-identity-name span{-webkit-line-clamp:3}.card-save{top:auto;bottom:10px;left:24px;right:auto;width:27px;height:27px}.card-content{padding:11px 13px 7px}.card-type{font-size:9px;margin-bottom:4px}.card-project-title{font-size:14px;min-height:0;line-height:1.5}.card-subject{font-size:9px;margin:5px 0 7px;min-height:14px}.card-facts{padding-top:7px;row-gap:5px;column-gap:9px;grid-template-columns:1fr 1fr}.card-facts dt{font-size:8px;margin-bottom:1px}.card-facts dd{font-size:9px;-webkit-line-clamp:1}.card-facts .fact-wide{grid-column:1/-1}.card-bottom{padding:5px 13px 10px;grid-column:2}.fee-tag,.card-go{font-size:9px}.category-navigation{gap:5px}.category-navigation button{font-size:10px;padding:5px 8px}.home-search button{width:29px;height:29px}.home-pagination{font-size:10px;gap:12px}.home-pagination button{font-size:10px;padding:5px 10px}.result-heading>p{max-width:130px;font-size:10px}.card-skeleton{height:180px}}
@media(prefers-reduced-motion:reduce){.home-catalogue *, .home-catalogue *::before,.home-catalogue *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
html.reduce-motion .home-catalogue *,html.reduce-motion .home-catalogue *::before,html.reduce-motion .home-catalogue *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
/* Keep eight comparable cards within a typical desktop viewport. */
.home-catalogue .card-identity{min-height:61px;padding:12px 14px 10px}.home-catalogue .card-identity img,.home-catalogue .card-identity .provider-initial{width:32px;height:32px}.home-catalogue .card-identity-name{font-size:11px}.home-catalogue .card-content{padding:10px 14px 4px}.home-catalogue .card-type{margin:0 0 5px}.home-catalogue .card-project-title{font-size:15px;min-height:45px}.home-catalogue .card-subject{font-size:10.5px;margin:6px 0 8px;min-height:15px}.home-catalogue .card-facts{margin:0;padding-top:8px;row-gap:6px}.home-catalogue .card-facts dt{font-size:9.5px;margin-bottom:2px}.home-catalogue .card-facts dd{font-size:11px;line-height:1.5}.home-catalogue .card-bottom{padding:8px 14px 11px}.home-catalogue .card-go,.home-catalogue .fee-tag{font-size:10px}@media(max-width:540px){.home-catalogue .card-identity{padding:13px 8px}.home-catalogue .card-identity-name{font-size:8px}.home-catalogue .card-content{padding:10px 12px 5px}.home-catalogue .card-project-title{font-size:14px;min-height:0}.home-catalogue .card-subject{font-size:9px;margin:5px 0 6px}.home-catalogue .card-facts{padding-top:6px;row-gap:4px}.home-catalogue .card-facts dt{font-size:8px}.home-catalogue .card-facts dd{font-size:9px}.home-catalogue .card-bottom{padding:5px 12px 9px}.home-catalogue .card-go,.home-catalogue .fee-tag{font-size:9px}}
/* The card is one semantic detail link; saving remains a separate action. */
.card-project-title::after{content:'';position:absolute;inset:0;z-index:1;border-radius:13px}.card-project-title:focus-visible{outline:0!important}.card-project-title:focus-visible::after{outline:3px solid #95afcf;outline-offset:3px}.card-save{z-index:3}.card-identity.with-artwork{position:relative;min-height:88px;align-items:flex-end;overflow:hidden}.home-catalogue .card-identity .card-artwork{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.86;max-width:none}.with-artwork .provider-logo,.with-artwork .provider-initial{position:relative;z-index:1;background:#fff;border-radius:6px;padding:4px}.with-artwork .card-identity-name{position:relative;z-index:1;background:#ffffffed;padding:4px 6px;border-radius:5px;max-width:calc(100% - 45px);color:#34445b}.card-go{pointer-events:none}.full-directory{border:0;background:none;padding:5px 0;cursor:pointer;font:inherit;font-size:11px}.advanced-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;padding:18px;background:#f8fafc;border:1px solid #e5ebf2;border-radius:10px;margin:13px 0 0}.advanced-filters>label{display:grid;gap:7px;min-width:0}.advanced-filters>label>span{font-size:10px;color:#8290a3}.advanced-filters select{width:100%;min-width:0;max-width:100%;border:1px solid #dfe6f0;border-radius:7px;background:#fff;color:#5b6f8a;font:inherit;font-size:11px;padding:8px}.context-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:7px;padding:14px 0 0;font-size:11px;color:#8a97a8}.context-tabs>span{margin-right:8px}.context-tabs button{border:0;border-radius:6px;background:none;color:#78879b;font:inherit;padding:6px 9px}.context-tabs button[aria-pressed=true]{background:#edf2f9;color:#375b8a}.context-tabs button:hover{background:#f2f5fa}@media(max-width:900px){.advanced-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.full-directory{font-size:11px}}@media(max-width:540px){.advanced-filters{padding:14px;gap:12px}.card-identity.with-artwork{min-height:170px;height:100%;align-items:center}.home-catalogue .card-identity .card-artwork{opacity:.2}.with-artwork .card-identity-name{max-width:100%;font-size:8px;padding:3px}.with-artwork .provider-logo{flex-shrink:0}.full-directory{font-size:10px}.context-tabs{gap:4px;font-size:10px}.context-tabs button{padding:5px 7px}}
.card-project-title{display:block;overflow:visible}.card-project-title>span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.home-catalogue .card-identity .provider-logo.logo-dark,.home-catalogue .with-artwork .provider-logo.logo-dark{background:#18212b;padding:4px;border-radius:6px}

/* Brand marks share a clean surface across every category. */
.home-catalogue .card-identity{background:transparent;border-bottom:0}.home-catalogue .card-artwork{display:none}.home-catalogue .provider-logo{background:transparent!important;border-radius:0!important;padding:0!important;mix-blend-mode:multiply}.home-catalogue .card-identity-name{background:transparent}.home-catalogue .provider-initial{background:transparent!important}.home-catalogue .card-save{background:transparent}

.project-grid.is-updating{opacity:.86}

/* One viewport dock, centered within the browsing area beyond the navigation rail. */
.home-catalogue{--home-dock-rail-width:var(--app-rail-width,196px);--home-dock-space:116px}
.home-catalogue #home-browser{padding-bottom:calc(var(--home-dock-space) + env(safe-area-inset-bottom,0px))}
.home-dock{position:fixed;z-index:35;left:calc((100% + var(--home-dock-rail-width))/2);bottom:calc(20px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);display:flex;align-items:center;gap:19px;width:max-content;max-width:calc(100vw - var(--home-dock-rail-width) - 40px);padding:10px 13px 10px 19px;border:1px solid #ffffffed;border-radius:999px;background:rgba(255,255,255,.92);box-shadow:0 9px 34px #26395016,inset 0 0 0 1px #8c9db819}
.home-dock[hidden]{display:none}
.home-dock .home-pagination{margin:0;gap:17px;color:#6f7c8e;flex-wrap:wrap;justify-content:center;min-width:0}
.home-page-summary{white-space:nowrap;font-variant-numeric:tabular-nums}
.home-dock .home-page-controls{gap:9px;white-space:nowrap}
.home-page-position{min-width:35px;text-align:center;font-variant-numeric:tabular-nums;color:#7d8998}
.home-dock .home-pagination button{min-height:32px;padding:5px 11px;border-color:#dce3ebc9;border-radius:18px;background:#ffffff9c;color:#506b8c;transition:background .15s,border-color .15s}
.home-dock .home-pagination button:hover:not(:disabled){background:#fff;border-color:#bdccdf}
.home-dock .home-pagination button:disabled{opacity:.4}
.home-dock-advisor{display:flex;align-items:center;gap:7px;flex-shrink:0;min-height:32px;padding:0 7px 0 18px;border-left:1px solid #cdd6e380;color:#5a7393;font-size:11px;white-space:nowrap}
.home-dock-advisor svg{width:14px;height:14px}
.home-dock-advisor:hover{color:#294e80}
.home-dock :is(button,a):focus-visible{outline:2px solid #6683a8;outline-offset:3px}
@media(max-width:1150px){.home-catalogue{--home-dock-rail-width:var(--app-rail-width,168px)}}
@media(max-width:960px){.home-dock{gap:11px;padding-left:15px}.home-dock .home-pagination{gap:10px}.home-dock-advisor{padding-left:12px}}
@media(max-width:780px){.home-catalogue{--home-dock-rail-width:0px;--home-dock-space:142px}.home-dock{bottom:calc(14px + env(safe-area-inset-bottom,0px));max-width:calc(100vw - 28px);padding:10px 13px;gap:10px;border-radius:28px}.home-dock .home-pagination{gap:6px 12px}.home-page-summary{font-size:10px}.home-dock-advisor{font-size:10px;padding-left:12px}}
@media(max-width:540px){.home-dock{width:calc(100vw - 28px);max-width:390px;justify-content:center;gap:9px;padding:10px 12px}.home-dock .home-pagination{flex-direction:column;gap:6px;font-size:10px}.home-dock .home-page-controls{gap:8px}.home-dock .home-pagination button{min-height:30px;padding:4px 10px}.home-dock-advisor{min-height:45px;white-space:normal;max-width:116px;line-height:1.6;padding-left:12px}}
@media(prefers-reduced-transparency:reduce){.home-dock{background:#fdfefe}}

/* Search lives in the global header; recent queries open below the field. */
.home-catalogue .topbar{height:80px;gap:24px;padding:0 36px}.home-catalogue .topbar .home-search{position:relative;width:min(680px,78%);max-width:680px;min-width:0;margin-right:auto}.home-heading{margin-bottom:14px}.home-heading:has(#catalogue-status:empty){margin:0}.home-search input:is(:focus,:focus-visible){outline:none!important;box-shadow:none!important;border:0!important}.home-search:focus-within{outline:0;box-shadow:0 0 0 3px #496c9b09}.home-search .recent-searches{position:absolute;z-index:60;left:0;right:0;top:calc(100% + 8px);padding:10px;border:1px solid #e4e8ee;border-radius:17px;background:rgba(255,255,255,.98);box-shadow:0 14px 40px #20334916}.recent-searches-header{display:flex;align-items:center;justify-content:space-between;padding:5px 10px 9px;font-size:11px;color:#8b96a3}.home-search .recent-searches-header button{width:auto;height:28px;padding:0 5px;border:0;border-radius:6px;color:#70839b;background:transparent;font-size:11px}.recent-search-row{display:flex;align-items:center;gap:8px;border-radius:9px}.home-search .recent-search-choice{display:flex;align-items:center;gap:10px;flex:1;justify-content:flex-start;text-align:left;min-width:0;width:auto;height:40px;padding:0 10px;border-radius:9px;background:transparent;color:#43566e;font-size:12px}.recent-search-choice span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.recent-search-choice svg{width:14px;height:14px;color:#9aa6b4}.home-search .recent-search-remove{width:30px;height:30px;background:transparent;color:#9ba6b4;font-size:17px}.recent-search-row:hover,.recent-search-row:has(:focus-visible){background:#f4f6f9}.home-search .recent-search-choice:hover,.home-search .recent-search-remove:hover{background:transparent;color:#294d79}.home-search .recent-search-remove:focus-visible,.home-search .recent-search-choice:focus-visible{outline:0!important;box-shadow:inset 0 0 0 1px #a6b8cd}.home-catalogue .topbar .mobilelogo{display:none}@media(max-width:780px){.home-catalogue .topbar{padding:0 20px;height:72px;gap:12px}.home-catalogue .topbar .home-search{width:auto;flex:1}.home-catalogue .home-heading{margin-bottom:10px}}

/* Keep the static shell at the exact loaded geometry before data scripts boot. */
.home-catalogue .home-heading,.home-catalogue .home-heading:has(#catalogue-status:empty){min-height:18px;margin:0 0 14px}.home-catalogue .context-tabs{flex-wrap:nowrap;overflow-x:auto;min-height:41px;scrollbar-width:thin}.home-catalogue .context-tabs>*{flex-shrink:0}

.empty-home .empty-home-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;color:#5477a5;border-radius:8px;padding:6px 14px;text-decoration:none}.empty-home .empty-home-action:hover{background:#f2f5f9}
/* Phone layouts keep the same information hierarchy at readable sizes. */
@media(max-width:540px){
 .home-catalogue main{padding-inline:18px}
 .category-navigation{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;padding-bottom:4px;gap:7px}
 .category-navigation::-webkit-scrollbar{display:none}
 .category-navigation button{font-size:12px;min-height:40px;flex:none;padding:8px 11px}
 .category-navigation svg{width:15px;height:15px}
 .browse-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px}
 .home-filter-set{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-width:0}
 .home-filter-set label{min-width:0;width:100%}
 .home-filter-set select{width:100%;min-width:0;max-width:100%;min-height:44px;font-size:11px;padding-left:9px;padding-right:19px}
 #more-filters{width:44px;min-height:44px;font-size:0;justify-content:center;padding:0}
 #more-filters svg{width:18px;height:18px}
 .card-project-title{font-size:16px;line-height:1.5}
 .card-identity-name{font-size:10px;line-height:1.5}
 .card-type,.card-subject{font-size:11px;line-height:1.6}
 .card-facts dt{font-size:10px}
 .card-facts dd{font-size:12px;line-height:1.6;-webkit-line-clamp:2}
 .card-content{padding:14px 13px 8px}
 .card-bottom{padding-bottom:12px}
 .fee-tag{font-size:11px}.card-go{font-size:12px}
 .card-save{width:40px;height:40px;left:18px;bottom:7px}
 .home-dock .home-pagination{font-size:11px}
 .home-dock .home-pagination button{min-height:44px;font-size:12px}
 .home-dock-advisor{font-size:12px;min-height:44px}
}
@media(max-width:540px){
 .home-catalogue .card-project-title{font-size:16px;line-height:1.5}
 .home-catalogue .card-identity-name{font-size:10px;line-height:1.5}
 .home-catalogue .card-type,.home-catalogue .card-subject{font-size:11px;line-height:1.6}
 .home-catalogue .card-facts dt{font-size:10px}
 .home-catalogue .card-facts dd{font-size:12px;line-height:1.6;-webkit-line-clamp:2}
 .home-catalogue .card-content{padding:14px 13px 8px}
 .home-catalogue .card-bottom{padding-bottom:12px}
 .home-catalogue .fee-tag{font-size:11px}.home-catalogue .card-go{font-size:12px}
 .home-filter-set label{position:relative}
 .home-filter-set select{appearance:none;padding-right:22px}
 .home-filter-set label::after{content:'';position:absolute;right:9px;top:18px;width:5px;height:5px;border-right:1px solid #7f8da0;border-bottom:1px solid #7f8da0;transform:rotate(45deg);pointer-events:none}
 .card-save{width:44px;height:44px;left:16px}
}
@media(max-width:780px){.category-navigation button{min-height:44px}.home-filter-set select{min-height:44px}.home-catalogue .topbar .app-mobile-nav{min-width:44px;min-height:44px}}

/* Readable secondary information: preserve the calm hierarchy without pale text. */
.home-catalogue{--catalogue-muted:#5f6e80;--catalogue-label:#667487;--catalogue-fact:#4f627a}
.home-catalogue .home-heading p,.home-catalogue .card-type,.home-catalogue .card-subject,.home-catalogue .context-tabs{color:var(--catalogue-muted)}
.home-catalogue .card-identity-name{font-size:12px}
.home-catalogue .card-type{font-size:11px}.home-catalogue .card-subject{font-size:11.5px}
.home-catalogue .card-facts dt{font-size:11px;color:var(--catalogue-label)}
.home-catalogue .card-facts dd{font-size:12px;line-height:1.6;color:var(--catalogue-fact)}
.home-catalogue .advanced-filters>label>span{color:var(--catalogue-label)}
.home-catalogue .home-search input::placeholder{color:var(--catalogue-muted)}
.home-catalogue .fee-tag{font-size:11px;color:#596b80;background:#f1f4f8}
.home-catalogue .fee-tag.free,.home-catalogue .fee-tag.funded{color:#47745f;background:#eaf3ee}
.home-catalogue .fee-tag.paid{color:#7c6039;background:#f5f1e8}

@media(max-width:900px){
 .home-catalogue .home-dock .home-page-controls button{min-height:44px;min-width:44px}
 .home-catalogue .card-save{width:44px;height:44px}
}
@media(min-width:541px) and (max-width:900px){
 .home-catalogue .card-save{top:4px;right:4px}
 .home-catalogue .card-identity{padding-right:50px}
}

@media(max-width:540px){.home-catalogue .card-identity-name{font-size:11px}}

.home-catalogue .home-heading:has(#catalogue-status[hidden]){display:none}

/* Reserve the two visible fact lines before translations arrive. */
@media(min-width:541px){
 .home-catalogue .card-project-title{line-height:1.55;min-height:2lh}
 .home-catalogue .card-facts dd{min-height:3.2em}
 .home-catalogue .card-type{min-height:1.6em}
}

/* Narrow screens keep search usable; language remains available by its globe. */
@media(max-width:540px){
 .home-catalogue .topbar{padding-inline:12px;gap:8px}
 .home-catalogue .topbar .home-search{gap:6px;padding-inline:10px 2px;height:48px}
 .home-catalogue .topbar .home-search>svg{width:16px;height:16px;flex:none}
 .home-catalogue .topbar .home-search input{font-size:16px}
 .home-catalogue .topbar .home-search>button{width:44px;height:44px;flex:none}
 .home-catalogue .topbar .profile-locale-trigger{width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;justify-content:center}
 .home-catalogue .topbar .profile-locale-current,.home-catalogue .topbar .profile-locale-chevron{display:none}
 .home-catalogue .topbar .profile-locale-globe{width:18px;height:18px}
}
@media(max-width:540px){
 .home-catalogue .topbar:not(:has(.app-mobile-nav))::before{content:'';display:block;flex:0 0 44px;width:44px;height:44px;order:-1;background:linear-gradient(#63717e,#63717e) center calc(50% - 4px)/16px 1px no-repeat,linear-gradient(#63717e,#63717e) center/16px 1px no-repeat,linear-gradient(#63717e,#63717e) center calc(50% + 4px)/16px 1px no-repeat}
 .home-catalogue .topbar:not(:has([data-locale-control]))::after{content:'';display:block;flex:0 0 44px;width:44px;height:44px}
}

/* Floating controls: one shared geometry and a restrained accent action. */
.home-catalogue .home-dock{--dock-ink:#3f5067;--dock-accent:#315b89;--dock-line:#bdcadb;--dock-control-size:44px;--dock-control-radius:20px;background:rgba(250,252,255,.94);border:1px solid rgba(111,132,159,.35);box-shadow:0 10px 32px rgba(30,50,76,.12),inset 0 1px 0 rgba(255,255,255,.95);gap:14px;padding:9px 11px 9px 18px}
.home-catalogue .home-dock .home-pagination{align-items:center;color:var(--dock-ink);font-size:13px;font-weight:500;line-height:20px}
.home-catalogue .home-dock .home-page-summary{font-size:13px;line-height:20px;color:var(--dock-ink)}
.home-catalogue .home-dock .home-page-controls{display:flex;align-items:center;gap:9px;line-height:20px}
.home-catalogue .home-dock .home-pagination button{display:inline-flex;align-items:center;justify-content:center;min-height:var(--dock-control-size);border-radius:var(--dock-control-radius);background:#fff;color:var(--dock-accent);border-color:var(--dock-line);font-size:13px;font-weight:500;line-height:20px}
.home-catalogue .home-dock .home-pagination button:hover:not(:disabled){background:#eaf0f8;border-color:#7f99ba}
.home-catalogue .home-dock .home-pagination button:disabled{opacity:1;color:#8a96a6;background:#edf1f6;border-color:#dbe2eb}
.home-catalogue .home-dock .home-dock-advisor{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:var(--dock-control-size);padding:0 12px;gap:7px;border:0;border-radius:var(--dock-control-radius);background:transparent;color:var(--dock-accent);font-size:13px;font-weight:550;line-height:20px;box-shadow:none;transition:background .18s,color .18s}
.home-catalogue .home-dock .home-dock-advisor::before{content:"";position:absolute;left:-7px;top:50%;width:1px;height:22px;background:#d6dfe9;transform:translateY(-50%);pointer-events:none}
.home-catalogue .home-dock .home-dock-advisor svg{width:17px;height:17px;stroke-width:1.7}
.home-catalogue .home-dock .home-dock-advisor:hover{background:rgba(61,102,150,.07);color:#244f7e;box-shadow:none}
.home-catalogue .home-dock .home-dock-advisor:active{background:rgba(61,102,150,.12)}
@media(max-width:540px){.home-catalogue .home-dock{gap:10px;padding:9px 10px}.home-catalogue .home-dock .home-page-summary{font-size:11px}.home-catalogue .home-dock .home-page-controls{gap:6px}.home-catalogue .home-dock .home-pagination button{padding:0 8px;font-size:12px}.home-catalogue .home-dock .home-dock-advisor{padding:0 8px;font-size:12px;white-space:nowrap;max-width:none}.home-catalogue .home-dock .home-dock-advisor svg{width:16px;height:16px}}
@media(prefers-reduced-motion:reduce){.home-catalogue .home-dock .home-dock-advisor{transition:none}}
@media(prefers-reduced-transparency:reduce){.home-catalogue .home-dock{background:#f9fbfd}}

/* Narrow screens use complete, touch-sized filter controls instead of clipped labels. */
@media(max-width:540px){
 .home-catalogue .browse-toolbar{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:start}
 .home-catalogue .home-filter-set{display:contents}
 .home-catalogue .home-filter-set label:nth-of-type(1){grid-column:1;grid-row:1}
 .home-catalogue .home-filter-set label:nth-of-type(2){grid-column:2;grid-row:1}
 .home-catalogue .home-filter-set label:nth-of-type(3){grid-column:1;grid-row:2}
 .home-catalogue .home-filter-set select{font-size:12px;padding-left:11px;padding-right:23px}
 .home-catalogue #more-filters{grid-column:2;grid-row:2;width:100%;min-height:44px;padding:0 10px;font-size:12px;gap:7px;border:1px solid #dfe5ed;border-radius:7px;color:#526a88;justify-content:center}
 .home-catalogue #more-filters svg{width:16px;height:16px;flex:none}
 .home-catalogue .clear-filters{grid-column:1/-1;grid-row:3;justify-self:start;min-height:44px;padding:8px 2px;font-size:12px}
 .home-catalogue .home-dock{width:calc(100% - 28px)}
}

/* Mobile proportions: a quiet search affordance and one aligned dock action row. */
@media(max-width:540px){
 .home-catalogue .topbar .home-search>button{position:relative;background:transparent;isolation:isolate}
 .home-catalogue .topbar .home-search>button::before{content:"";position:absolute;inset:6px;border-radius:50%;background:#3e5f8a;z-index:-1;transition:background .18s}
 .home-catalogue .topbar .home-search>button:hover::before{background:#2c4e7b}
 .home-catalogue .topbar .home-search>button>svg{width:16px;height:16px}
 .home-catalogue .home-dock{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;row-gap:2px;padding:8px 12px;border-radius:22px}
 .home-catalogue .home-dock .home-pagination{display:contents}
 .home-catalogue .home-dock .home-page-summary{display:none}
 .home-catalogue .home-dock .home-page-controls{grid-column:1;grid-row:1;justify-content:center;gap:2px}
 .home-catalogue .home-dock .home-page-position{font-size:12px;font-variant-numeric:tabular-nums;min-width:66px;text-align:center}
 .home-catalogue .home-dock .home-pagination button{position:relative;width:44px;height:44px;min-width:44px;padding:0;border:0;background:transparent;font-size:0;border-radius:14px}
 .home-catalogue .home-dock .home-pagination button::after{content:"";width:7px;height:7px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(-45deg)}
 .home-catalogue .home-dock #page-prev::after{transform:rotate(135deg)}
 .home-catalogue .home-dock .home-pagination button:disabled{background:transparent;color:#b3bdca}
 .home-catalogue .home-dock .home-dock-advisor{grid-column:2;grid-row:1;padding:0 8px;min-height:44px;border-radius:14px}
 .home-catalogue .home-dock .home-dock-advisor::before{left:-6px;height:20px}
}

/* Scroll contraction is driven by content widths, never display:none or text scaling. */
.home-catalogue .home-dock{--dock-motion:.48s cubic-bezier(.4,0,.2,1);border-radius:999px;transition:width var(--dock-motion),padding var(--dock-motion),gap var(--dock-motion)}
.home-catalogue .home-dock .home-pagination{flex-wrap:nowrap;gap:17px;transition:gap var(--dock-motion)}
.home-catalogue .home-dock .home-page-summary{display:inline-block;max-width:var(--dock-summary-width,240px);min-width:0;overflow:hidden;white-space:nowrap;opacity:1;transform:translateX(0);transition:max-width var(--dock-motion),opacity .2s ease,transform var(--dock-motion)}
.home-catalogue .home-dock .home-page-controls{flex-shrink:0}
.home-catalogue .home-dock.is-scroll-compact .home-page-summary{max-width:0;opacity:0;transform:translateX(-8px);pointer-events:none}
.home-catalogue .home-dock.is-scroll-compact .home-pagination{gap:0}
.home-catalogue .home-dock .home-dock-advisor{min-width:44px;transition:padding var(--dock-motion),gap var(--dock-motion),background .18s,color .18s}
.home-catalogue .home-dock .home-dock-advisor span{display:inline-block;max-width:var(--dock-ai-width,80px);opacity:1;overflow:hidden;white-space:nowrap;transition:max-width var(--dock-motion),opacity .2s ease}
.home-catalogue .home-dock.is-scroll-compact .home-dock-advisor span{max-width:0;opacity:0}
.home-catalogue .home-dock.is-scroll-compact .home-dock-advisor{gap:0;min-width:44px;padding:0}
@media(max-width:540px){
 .home-catalogue .home-dock{border-radius:999px}
 .home-catalogue .home-dock .home-pagination{display:contents}
 .home-catalogue .home-dock .home-page-summary{display:none}
 .home-catalogue .home-dock.is-scroll-compact{width:230px;max-width:calc(100% - 28px);padding:4px 10px;column-gap:8px}
 .home-catalogue .home-dock.is-scroll-compact .home-dock-advisor::before{left:-4px}
}
@media(prefers-reduced-motion:reduce){.home-catalogue .home-dock,.home-catalogue .home-dock .home-pagination,.home-catalogue .home-dock .home-page-summary,.home-catalogue .home-dock .home-dock-advisor,.home-catalogue .home-dock .home-dock-advisor span{transition:none}}

/* Metadata remains selectable above the full-card title link hit area. */
.home-catalogue .opportunity-card .card-facts,.home-catalogue .opportunity-card .card-subject{position:relative;z-index:2;user-select:text;-webkit-user-select:text}

/* Arrow controls keep a stable circular hit area in both dock sizes. */
.home-catalogue .home-dock .home-pagination button{width:44px;min-width:44px;height:44px;padding:0;display:grid;place-items:center;border-radius:50%}
.pager-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

/* Decision facts remain complete; equal grid tracks keep desktop cards uniform. */
@media(min-width:781px){
 .home-catalogue .project-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));grid-auto-rows:1fr}
 .home-catalogue .card-facts{grid-template-columns:minmax(0,1fr);column-gap:0;row-gap:8px}
 .home-catalogue .card-facts>div{display:grid;grid-column:1/-1;grid-template-columns:46px minmax(0,1fr);gap:8px;align-items:start}
 .home-catalogue .card-facts dt{margin:0;line-height:19.2px}
 .home-catalogue .card-facts dd{display:block;margin:0;min-height:38.4px;-webkit-line-clamp:unset;overflow:visible;overflow-wrap:anywhere}
 .home-catalogue .opportunity-card{min-height:384px}
 html[lang="en"] .home-catalogue .card-facts>div{grid-template-columns:74px minmax(0,1fr)}
 html[lang="en"] .home-catalogue .card-facts dd{min-height:57.6px}
 html[lang="en"] .home-catalogue .opportunity-card{min-height:432px}
}
/* Discover has no summary above its categories. Keep the empty status wrapper
   out of first paint, just as it is after the public query finishes. */
@media(min-width:781px){
 html:not([data-nav-current="save"]) .home-catalogue .home-heading{display:none}
}

/* Desktop typography alignment: existing Profile+ tokens. */
@media(min-width:801px){.home-catalogue .advanced-filters>label>span,.home-catalogue .card-facts dt{font-size:var(--text-label);font-weight:var(--weight-regular);line-height:var(--leading-body)}.home-catalogue .card-facts>div{grid-template-columns:calc(var(--text-label) * 6) minmax(0,1fr)}.home-catalogue .card-facts dt{overflow-wrap:normal;word-break:normal}.home-catalogue .card-facts dd{font-variant-numeric:tabular-nums}}
