/* Curator discovery inherits the production Worthary shell and project cards. */
.curator-home{margin:0 0 34px;padding:0 0 32px;border-bottom:1px solid var(--line)}
.curator-home[id^="layout-"]{scroll-margin-top:96px}
.curator-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin-bottom:18px}
.curator-section-head>div{min-width:0}
.curator-section-head h2,.curator-list-head h2{margin:0;font-size:26px;letter-spacing:-.04em;line-height:1.2}
.curator-section-head p{max-width:660px;margin:9px 0 0;font-size:13px;line-height:1.65;color:var(--muted)}
.curator-text-link{font-size:11.5px;font-weight:690;color:#4f4f49;line-height:1.65;white-space:nowrap}
.curator-text-link:hover,.curator-card a:hover,.curator-provenance a:hover{text-decoration:underline;text-underline-offset:3px}
.curator-section-head>.curator-text-link{flex:none;padding-top:5px}
.curator-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.curator-card{min-width:0;display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:17px;transition:border-color .16s ease,box-shadow .16s ease}
.curator-card:hover{border-color:#c8c8c1;box-shadow:var(--shadow)}
.curator-card-identity{display:flex;align-items:center;gap:12px;min-width:0;min-height:100px;margin:-17px -17px 0;padding:20px 17px;border-radius:calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;background-color:#293e35;background-image:linear-gradient(115deg,#293e35 35%,transparent 82%),radial-gradient(circle,rgba(218,234,218,.17) .7px,transparent .9px),repeating-linear-gradient(135deg,transparent 0 23px,rgba(218,234,218,.05) 23px 24px,transparent 24px 46px);background-size:auto,8px 8px,auto;color:#fbfcf7}
.curator-card-identity .curator-avatar{width:48px;height:48px;flex-basis:48px;border-color:rgba(255,255,255,.35);background:#f5f7f0;box-shadow:0 0 0 4px rgba(239,248,232,.08)}
.curator-avatar{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border:1px solid #e5e5e0;border-radius:50%;background:#f5f5f1;color:#62625c;overflow:hidden}
.curator-avatar img{width:100%;height:100%;object-fit:cover}
.curator-avatar .fallback{font-size:12px;font-weight:760;letter-spacing:-.02em}
.curator-avatar-large{width:64px;height:64px;flex-basis:64px}
.curator-avatar-large .fallback{font-size:17px}
.curator-card-name{min-width:0}
.curator-card-name h3{margin:0 0 4px;font-size:17px;letter-spacing:-.025em;line-height:1.2;overflow-wrap:anywhere}
.curator-card-name h3 a{color:inherit}
.curator-card-name p{margin:0;font-size:11px;line-height:1.5;color:#d1ddd2;overflow-wrap:anywhere}
.curator-topics{display:flex;flex-wrap:wrap;align-items:flex-start;gap:7px;list-style:none;margin:14px 0 0;padding:0;font-size:10.5px;line-height:1.5;color:#646b5f}
.curator-topics li{min-width:0;max-width:100%;padding:5px 10px;border:1px solid #e3e7dd;border-radius:12px;background:#f1f4ed;overflow-wrap:anywhere}
.curator-project-preview{margin-top:17px}
.curator-preview-label{margin:0 0 7px;font-size:10px;font-weight:760;letter-spacing:.02em;color:#85857e}
.curator-project-preview ul{list-style:none;margin:0;padding:0}
.curator-project-preview li+li{border-top:1px solid #f1f1ed}
.curator-mini-project{display:flex;align-items:center;gap:9px;min-width:0;padding:8px 0;font-size:12px;font-weight:650}
.curator-mini-project .mini-icon{width:28px;height:28px;flex:0 0 28px;border-radius:8px;background:#fafaf8}
.curator-mini-project .mini-icon img{width:20px;height:20px;object-fit:contain}
.curator-mini-project>span:not(.curator-mini-arrow){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.curator-mini-arrow{margin-left:auto;font-size:11px;color:#a0a09a;flex:none}
.curator-card-footer{margin-top:auto;padding-top:15px;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;font-size:10.5px;line-height:1.55;color:#989891}
.curator-card-footer>span{min-width:0}
.curator-card-footer a{flex:none;font-size:11px;font-weight:700;color:#4f4f49;white-space:nowrap}
.curator-empty{border:1px solid var(--line);border-radius:var(--radius);background:#fafaf8;padding:24px;color:#85857e;font-size:12px}
.curator-empty p{margin:0}
.curator-empty .curator-text-link{display:inline-block;margin-top:10px}
.curator-page{padding-bottom:84px}
.curator-page-head{padding:18px 0 32px;margin-bottom:27px;border-bottom:1px solid var(--line)}
.curator-page-head h1{font-size:42px;line-height:1.08;letter-spacing:-.055em;margin:0}
.curator-page-head p{font-size:15px;line-height:1.72;color:#64645f;max-width:720px;margin:16px 0 0}
.curator-list-head{margin-bottom:18px}
.curator-detail-head{padding:14px 0 30px;margin-bottom:28px;border-bottom:1px solid var(--line)}
.curator-detail-identity{display:flex;align-items:center;gap:15px;min-width:0}
.curator-detail-copy{min-width:0}
.curator-detail-copy h1{font-size:35px;line-height:1.08;letter-spacing:-.055em;margin:0 0 5px;overflow-wrap:anywhere}
.curator-detail-handle{font-size:12px;line-height:1.6;margin:0;color:#85857e;overflow-wrap:anywhere}
.curator-bio{max-width:720px;font-size:13.5px;line-height:1.7;color:#64645f;margin:17px 0 0;overflow-wrap:anywhere}
.curator-introduction{display:grid;grid-template-columns:1fr 1fr;gap:24px 38px;max-width:950px;margin-top:24px}
.curator-introduction>section{min-width:0}
.curator-introduction h2{font-size:12px;line-height:1.4;font-weight:750;letter-spacing:0;margin:0 0 9px;color:#343f35}
.curator-introduction p{font-size:13px;line-height:1.75;color:#64645f;margin:0;overflow-wrap:anywhere}
.curator-introduction .curator-text-link{display:inline-block;margin-top:8px}
.curator-detail-head .curator-topics{font-size:11.5px;margin-top:14px}
.curator-detail-head>.curator-text-link{display:inline-block;margin-top:16px}
.curator-recommendations-head{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:18px}
.curator-recommendations-head h2{font-size:24px;line-height:1.25;letter-spacing:-.035em;margin:0}
.curator-recommendations-head p{font-size:11px;color:#989891;margin:0;flex:none}
.curator-provenance{padding:0 0 28px;margin:0 0 28px;border-bottom:1px solid var(--line)}
.curator-provenance h2{font-size:20px;letter-spacing:-.03em;margin:0 0 15px}
.curator-provenance-list{list-style:none;margin:0;padding:0}
.curator-provenance-row{display:flex;align-items:flex-start;gap:12px;padding:14px 0;border-top:1px solid #eeeeea}
.curator-provenance-copy{min-width:0;flex:1}
.curator-provenance-name{font-size:13px;font-weight:720;line-height:1.5;overflow-wrap:anywhere}
.curator-provenance-handle{font-size:11px;line-height:1.5;color:#8b8b86;margin:2px 0 0;overflow-wrap:anywhere}
.curator-provenance-label{font-size:10.5px;color:#85857e;margin:8px 0 4px}
.curator-source-links{display:flex;flex-wrap:wrap;gap:5px 14px;font-size:11px;line-height:1.65;color:#4f4f49}
.curator-source-links a{max-width:100%;overflow-wrap:anywhere}
.curator-provenance-note{font-size:11px;line-height:1.7;color:#92928b;margin:12px 0 0;max-width:650px}
.curator-more-provenance{font-size:11.5px;color:#62625c;border-top:1px solid #eeeeea}
.curator-more-provenance summary{padding:12px 0;cursor:pointer;font-weight:690}
.curator-more-provenance .curator-provenance-row:first-child{border-top:0}
.curator-card a:focus-visible,.curator-text-link:focus-visible,.curator-provenance a:focus-visible,.curator-more-provenance summary:focus-visible{outline:2px solid #777770;outline-offset:4px;border-radius:3px}
.curator-card-identity a:focus-visible{outline-color:#e3f0d9}
@media(max-width:980px){.curator-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.curator-section-head{gap:20px}.curator-section-head p{max-width:540px}.curator-recommendations-head{align-items:flex-start;flex-direction:column;gap:7px}}
@media(max-width:720px){.curator-grid{grid-template-columns:1fr}.curator-home{margin-bottom:28px;padding-bottom:28px}.curator-section-head{flex-direction:column;gap:10px}.curator-section-head>.curator-text-link{padding-top:0}.curator-section-head h2,.curator-list-head h2{font-size:24px}.curator-section-head p{font-size:12.5px}.curator-page-head{padding-top:14px;padding-bottom:26px}.curator-page-head h1{font-size:34px}.curator-page-head p{font-size:14px}.curator-detail-copy h1{font-size:29px}.curator-recommendations-head h2{font-size:22px}.curator-empty{padding:20px}.curator-provenance-row{gap:11px}.curator-source-links{flex-direction:column;align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.curator-card{transition:none}}
@media(max-width:720px){.curator-introduction{grid-template-columns:1fr;gap:18px;margin-top:22px}.curator-card-identity{min-height:96px}.curator-detail-head .curator-topics{font-size:11px}}

/* Full-width curator rows: existing identity styling, complete project context. */
.curator-rows{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.curator-rows>.curator-card{min-width:0;display:flex;flex-direction:row;padding:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);transition:border-color .16s,box-shadow .16s}
.curator-rows>.curator-card:hover{border-color:#c8c8c1;box-shadow:var(--shadow)}
.curator-row-profile{flex:0 0 34%;min-width:0;display:flex;flex-direction:column;padding:20px 17px;background:var(--sage);border-right:1px solid var(--line);border-radius:calc(var(--radius) - 1px) 0 0 calc(var(--radius) - 1px)}
.curator-profile-id{display:flex;align-items:center;gap:15px;min-width:0}
.curator-profile-id>div:last-child{min-width:0}
.curator-profile-id .curator-avatar{width:64px;height:64px;flex:0 0 64px;background:#f5f7f0}
.curator-profile-id .curator-avatar .fallback{font-size:17px}
.curator-profile-id h3{margin:0 0 5px;font-size:17px;font-weight:760;letter-spacing:-.025em;line-height:1.25;overflow-wrap:anywhere}
.curator-handle{margin:0;font-size:12px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.curator-row-about{margin:14px 0 0;font-size:13px;line-height:1.75;color:#64645f;overflow-wrap:anywhere}
.curator-rows>.curator-card .curator-topics{font-size:11px}
.curator-row-footer{margin-top:auto;padding-top:18px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;font-size:11px;line-height:1.6;color:var(--muted)}
.curator-row-footer a{font-size:11.5px;font-weight:690;color:#4f4f49;white-space:nowrap}
.curator-row-footer a:hover,.curator-profile-id h3 a:hover{text-decoration:underline;text-underline-offset:3px}
.curator-row-projects{flex:1 1 0;min-width:0;padding:20px 24px}
.curator-row-projects .curator-preview-label{margin:0 0 10px;color:var(--muted)}
.curator-row-projects ul{list-style:none;margin:0;padding:0}
.curator-row-projects li+li{border-top:1px solid #eeeeea}
.curator-row-project{display:flex;align-items:flex-start;gap:12px;min-width:0;padding:13px 0;border-radius:6px}
.curator-rows>.curator-card .curator-row-project:hover{text-decoration:none}
.curator-row-project:hover .curator-row-project-copy strong{text-decoration:underline;text-underline-offset:3px}
.curator-row-project .mini-icon{width:35px;height:35px;flex:0 0 35px;background:#fafaf8}
.curator-row-project-copy{display:block;flex:1 1 0;min-width:0}
.curator-row-project-copy strong{display:block;font-size:13.5px;line-height:1.5;font-weight:760;color:var(--ink);overflow-wrap:anywhere}
.curator-row-project-copy>span{display:block;margin-top:4px;font-size:12.5px;line-height:1.65;color:#62625d;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.curator-row-project .curator-mini-arrow{margin-left:auto;padding-top:3px;flex:none;color:var(--muted)}

.curator-row-project-copy .preview-copy{--preview-line-height:20px;line-height:20px;overflow:hidden;height:40px}
.curator-row-about.preview-copy{--preview-line-height:22.1px;flex:none}

/* Native search and sorting share one control height and visual baseline. */
.curator-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px 16px;margin-bottom:18px}
.curator-search{flex:1 1 300px;min-width:0;height:43px;display:flex;align-items:center;gap:10px;padding:0 12px;border:1px solid var(--control-line);border-radius:10px;background:var(--surface);color:var(--ink)}
.curator-search input{min-width:0;width:100%;height:100%;border:0;outline:0;background:transparent;font:inherit;font-size:13px;color:var(--ink)}
.curator-search input::placeholder{color:var(--muted);opacity:1}
.curator-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #dfe7f3}
.curator-search input:focus-visible{outline:0}
.curator-sort{display:flex;align-items:center;gap:8px;flex:none;min-width:0;font-size:13px;color:var(--muted)}
.curator-sort>span{font-size:12px;line-height:1.55;white-space:nowrap}
.curator-sort select{appearance:none;-webkit-appearance:none;box-sizing:border-box;height:43px;max-width:100%;margin:0;border:1px solid var(--control-line);border-radius:10px;background-color:var(--surface);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%235a616d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;background-size:16px 16px;padding:0 34px 0 12px;font:inherit;font-size:13px;line-height:normal;color:var(--ink);cursor:pointer}
.curator-sort select:focus-visible{border-color:var(--accent);outline:2px solid var(--accent);outline-offset:4px}
.curator-tools>.btn{height:43px;display:inline-flex;align-items:center;justify-content:center;font-size:13px;padding:0 12px}
.curator-result-count{font-size:11px;line-height:1.6;color:var(--muted);margin:0;white-space:nowrap}
@media(forced-colors:active){.curator-sort select{appearance:auto;-webkit-appearance:auto;background-image:none}}

@media(max-width:980px){.curator-row-profile{flex-basis:38%}.curator-row-projects{padding-left:20px;padding-right:20px}.curator-profile-id{gap:12px}}
@media(max-width:720px){.curator-rows>.curator-card{flex-direction:column}.curator-row-profile{flex:auto;border-right:0;border-bottom:1px solid var(--line);border-radius:calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0}.curator-row-projects{padding:17px}.curator-profile-id .curator-avatar{width:64px;height:64px;flex-basis:64px}.curator-row-footer{padding-top:15px}.curator-search{flex-basis:100%}.curator-sort{flex:1 1 auto}.curator-sort select{flex:1;min-width:0}.curator-result-count{margin-left:auto}}
@media(prefers-reduced-motion:reduce){.curator-rows>.curator-card{transition:none}}

/* Curator recommendations share the same paper-like neutral surfaces. */
.curator-home,.curator-page-head,.curator-detail-head,.curator-provenance{border-color:var(--line)}
.curator-card,.curator-rows>.curator-card{background:var(--surface);border-color:var(--line)}
.curator-card:hover,.curator-rows>.curator-card:hover{border-color:var(--control-line);box-shadow:var(--shadow)}
.curator-section-head p,.curator-page-head p,.curator-bio,.curator-introduction p,.curator-row-about{color:var(--muted)}
.curator-introduction h2{color:var(--body)}
.curator-text-link,.curator-card-footer a,.curator-row-footer a,.curator-source-links,.curator-more-provenance{color:var(--accent)}
.curator-card-footer,.curator-row-footer,.curator-recommendations-head p,.curator-preview-label,.curator-handle,.curator-detail-handle{color:var(--muted)}
.curator-topics{color:var(--muted)}
.curator-topics li{background:var(--surface-alt);border-color:var(--line)}
.curator-avatar,.curator-profile-id .curator-avatar{background:#e8ebef;border-color:#c0c7d0;color:var(--body)}
.curator-mini-project,.curator-row-project-copy strong,.curator-provenance-name{color:var(--ink)}
.curator-row-project-copy span,.curator-mini-arrow,.curator-provenance-handle,.curator-provenance-label,.curator-provenance-note{color:var(--muted)}
.curator-mini-project .mini-icon,.curator-row-project .mini-icon{background:var(--surface-alt);border-color:var(--line)}
.curator-project-preview li+li,.curator-row-projects li+li,.curator-provenance-row,.curator-more-provenance{border-color:var(--line)}
.curator-row-project:hover .curator-row-project-copy strong{color:var(--accent)}
.curator-empty{background:var(--surface-alt);border-color:var(--line)}

/* A graphite dossier is limited to the curator's left profile region. */
.curator-row-profile,.curator-card-identity{background-color:var(--graphite);background-image:none;border-color:var(--dark-line);color:var(--on-dark)}
.curator-row-profile .curator-profile-id h3,.curator-row-profile a,.curator-row-profile .curator-row-footer a,.curator-card-identity h3{color:var(--on-dark)}
.curator-row-profile .curator-handle,.curator-row-profile .curator-row-about,.curator-row-profile .curator-row-footer,.curator-card-name p{color:var(--on-dark-muted)}
.curator-row-profile a:hover{color:#c9d6ed}
.curator-row-profile .curator-topics li{background:var(--graphite-raised);border-color:var(--dark-line);color:#dfe3e8}
.curator-row-profile .curator-avatar,.curator-card-identity .curator-avatar{background:#e8ebef;border-color:#a1aab7;color:var(--body);box-shadow:0 0 0 4px rgba(211,215,221,.07)}

/* Keep portrait and project logo surfaces distinct after curator base rules. */
.curator-rows>.curator-card a:focus-visible,.curator-text-link:focus-visible,.curator-provenance a:focus-visible,.curator-more-provenance summary:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:3px}
.curator-row-profile a:focus-visible,.curator-card-identity a:focus-visible{outline-color:#aac0e5}
.curator-mini-project .mini-icon,.curator-row-project .mini-icon{background:#fff}
