/* Research desk — shared RAFT brand assets, existing authenticated project data. */
@import url('/assets/fonts/fonts.css');
:root{--raft-navy:#122d50;--raft-blue:#244a91;--raft-paper:#E6E8EB}
body{display:block;background:#E6E8EB;font-family:'DM Sans',Arial,sans-serif;color:#1c2c47}
body>main{max-width:1480px;padding:0 32px 40px;margin:auto}body>main>header{padding:16px 0;color:#60718a;border:0}
.desk-topbar{margin:0;max-width:none;min-height:80px;background:#122d50;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 34px;border:0;position:relative;z-index:5}
.desk-topbar nav,.desk-account{display:flex;gap:12px;align-items:center}.desk-topbar a{color:#E6E8EB;text-decoration:none;padding:9px 12px;font-size:14px;border-radius:5px}.desk-brand{padding:0!important}.desk-brand img{width:120px;height:auto;display:block}.desk-topbar button{background:transparent;border:0;color:#fff;font-size:14px}.desk-topbar nav a:hover,.desk-topbar button:hover{background:#244a91}.desk-account a{font-size:12px}
.desk-topbar [aria-current="page"]{background:#315ace}
.desk-topbar [hidden]{display:none}
.desk-subnav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.desk-subnav button{background:#fff;color:#122d50;border:1px solid #bcc6d3}
.desk-subnav button.selected{background:#122d50;color:#fff;border-color:#122d50}
.desk-welcome{background:#244a91 url('/assets/geometry/circles.svg?palette=grey-20261013') no-repeat right center;background-size:auto 260px;padding:32px 36px;border-radius:12px;margin:12px 0 28px;color:white}.desk-welcome h1{font-size:32px}.desk-welcome p,.desk-welcome .eyebrow{color:#E6E8EB}
#projects{gap:24px}.project-tile{background:white;border:1px solid #E6E8EB;border-radius:10px;overflow:hidden;padding:0;box-shadow:0 8px 20px #15335408}.project-tile:before{display:none}.project-tile-top{background:#244a91 url('/assets/geometry/diamonds.svg?palette=grey-20261013') no-repeat right center;background-size:auto 180px;padding:24px;min-height:84px}.project-tile-top .eyebrow{color:#E6E8EB}.project-tile>h3,.project-tile>p,.project-tile-stats,.project-tile-footer{margin-left:24px;margin-right:24px}.project-tile>h3{margin-top:24px}.project-tile-footer{margin-bottom:24px}.project-empty{background:#fff;padding:28px;border-radius:10px}.new-project-section{background:#E6E8EB;border-color:#E6E8EB;border-radius:10px}.project-list-section .section-head{margin-bottom:18px}
.project-open .heading,.project-open .project-list-section,.project-open .new-project-section,.project-open .workspace-paths{display:none}
#project-nav{position:relative;display:flex;align-items:center;gap:6px;flex-wrap:wrap;background:#E6E8EB;padding:12px 16px;border-radius:8px;margin-top:5px}#project-nav[hidden]{display:none}#project-nav .project-label{display:none}#project-nav button{width:auto;text-align:center;padding:10px 14px;background:transparent;color:#536983;border:0;border-radius:5px}#project-nav button.active{background:#244a91;color:white}#project-nav .search-switch-label{display:flex;align-items:center;gap:10px;font-size:11px;max-width:300px;margin-right:auto;color:#506887}#search-switch{font-size:12px;width:180px;margin:0;padding:9px;border-color:#E6E8EB}
.project-open #detail{padding-top:18px}#detail>.section-head{background:#244a91 url('/assets/geometry/circles.svg?palette=grey-20261013') no-repeat right center;background-size:auto 240px;color:white;border-radius:10px;padding:26px 30px;margin:12px 0 20px}#detail>.section-head .eyebrow{color:#E6E8EB}#detail>.section-head h1{font-size:28px;color:white}#detail>.section-head .pill{background:#ffffff22;color:white}
.research-desk{display:grid;grid-template-columns:minmax(280px,350px) minmax(0,1fr);gap:24px;align-items:start}.research-desk>#workspace-matches{background:#E6E8EB;border:1px solid #E6E8EB;padding:18px;position:sticky;top:18px;margin:0;max-height:calc(100vh - 36px);overflow:auto}.research-desk #workspace-matches .section-head h2{font-size:18px}.research-desk .workspace-firms{display:block}.research-desk .workspace-firm{border:1px solid #E6E8EB;box-shadow:none;background:#E6E8EB;margin:12px 0;padding:16px;border-radius:7px}.research-desk .workspace-firm.is-selected{border-color:#315ace;background:#fff;box-shadow:inset 4px 0 #315ace}.research-desk .workspace-firm:before{display:none}.research-desk .workspace-firm-head{gap:10px}.research-desk .entity-link{font-size:16px;line-height:1.5}.research-desk .firm-routes{margin-left:0}.research-desk .firm-route{padding:8px;font-size:11px}.research-desk .firm-contacts{display:none}.research-desk .firm-follow-up{margin-left:0}.research-desk .firm-follow-up input,.research-desk .firm-follow-up select{font-size:12px}.research-desk .firm-filters{display:flex;gap:5px;flex-wrap:wrap}.research-desk .firm-filters button{padding:7px 10px;font-size:11px}.research-filter{margin:10px 0 4px;padding:10px;background:#fff;border:1px solid #E6E8EB}#research-profile{min-width:0;overflow-wrap:anywhere}#research-profile>.quiet{margin-bottom:12px}#research-profile .company-card{max-width:none;background:white;border-radius:10px;margin:0}#research-profile .company-header{background:#122d50;padding:28px}#research-profile .company-header h2{font-size:26px}#research-profile .company-section{padding:24px}#research-profile .company-metrics{grid-template-columns:repeat(auto-fit,minmax(125px,1fr))}.company-section>h3{border-left-color:#315ace}.company-card a{color:#315ace}.card{background:white}.results-intro{padding:20px 24px}.search-criteria{background:#E6E8EB}.results-update{padding:14px 20px;margin:16px 0;border-radius:8px;background:#E6E8EB}
#notice:empty{display:none}.workspace-firm[hidden]{display:none}button:focus-visible,a:focus-visible{outline:3px solid #e5b652;outline-offset:3px}
@media(max-width:1000px){.research-desk{grid-template-columns:300px minmax(0,1fr);gap:16px}.company-overview,.company-range-grid,.company-record-grid,.company-detail-grid{grid-template-columns:1fr}.desk-account{gap:2px}#project-nav .search-switch-label{max-width:100%;width:100%}.research-desk .company-header{display:block}}
@media(max-width:700px){body>main{padding:0 16px 28px}.desk-topbar{padding:16px;gap:12px;flex-wrap:wrap}.desk-topbar nav{gap:2px;flex-wrap:wrap}.desk-topbar a,.desk-topbar button{font-size:12px;padding:8px}.desk-account{width:100%;justify-content:flex-end}.desk-brand img{width:85px}.desk-welcome{padding:26px}.desk-welcome h1{font-size:27px}.research-desk{display:block}.research-desk>#workspace-matches{position:static;max-height:430px;margin-bottom:20px}#project-nav{gap:4px;padding:10px}#project-nav button{font-size:12px;padding:8px 10px}#detail>.section-head{padding:24px}#detail>.section-head h1{font-size:25px}#research-profile .company-section{padding:20px}#research-profile .company-header{padding:22px}.project-tile-footer .actions{gap:8px}.project-tile>h3{font-size:20px}.results-intro{padding:20px}.company-record-extra{grid-template-columns:1fr}#projects{grid-template-columns:1fr}}
#project-nav{flex-direction:row;overflow:visible}#project-nav button:nth-of-type(5){border:0;margin-top:0;padding:10px 14px}.research-desk #workspace-matches>.section-head{display:block}.research-desk #workspace-matches .firm-filters{margin-top:12px}.project-open #detail>.section-head,body:not(.project-open) .heading{background:#244a91 url('/assets/geometry/circles.svg?palette=grey-20261013') no-repeat right center;background-size:auto 260px}.project-open #detail>.section-head::before,.project-open #detail>.section-head::after,body:not(.project-open) .heading::before,body:not(.project-open) .heading::after{content:none}.project-open #detail>.section-head h1{font-size:28px;letter-spacing:-.03em}.company-source-footer{color:#536983;background:#E6E8EB}.company-source-footer a{color:#315ace}@media(max-width:700px){#project-nav{flex-wrap:wrap}#project-nav button:nth-of-type(5){padding:8px 10px}.project-open #detail>.section-head h1{font-size:25px}}
.research-desk #workspace-matches>.section-head{padding-right:0}.research-desk #workspace-matches>.firm-filters{position:static;margin:12px 0}.research-desk .firm-routes{grid-template-columns:1fr}.research-desk .firm-route strong{font-size:12px}.research-desk .firm-route small{font-size:11px}.research-desk .firm-follow-up{background:#E6E8EB}

/* Search-first workspace home. Existing project actions remain connected. */
.home-search-hero{padding:44px 40px;background-size:auto 400px;display:block}.home-search-hero>div{max-width:900px;width:100%}.home-search-hero h1{font-size:38px;margin:12px 0}.home-search-hero p{max-width:660px;font-size:15px;line-height:1.7}.home-search-box{position:relative;display:flex;gap:12px;padding:10px;background:#fff;border-radius:9px;margin:26px 0 16px;box-shadow:0 8px 24px #112c5024}.home-search-box input{flex:1;min-width:0;padding:14px;border:0;color:#1b304f;background:white;margin:0}.home-search-box button{flex-shrink:0;border-radius:6px;margin:0}.home-search-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.home-search-examples{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.home-search-examples button{background:#ffffff14;color:#fff;border:1px solid #ffffff55;border-radius:30px;padding:8px 14px;font-size:12px;margin:0}.home-search-examples button:hover{background:#ffffff2b}.home-search-examples a{color:#E6E8EB;font-size:12px;padding:8px}.home-search-hero #project-price{display:block;color:#E6E8EB;margin-top:20px}.new-project-section[hidden]{display:none}.project-list-section .section-head{align-items:center}.project-list-section .section-head p{color:#647895;margin:6px 0 0;font-size:13px}
@media(max-width:700px){.home-search-hero{padding:28px 22px;background-size:auto 330px}.home-search-hero h1{font-size:29px}.home-search-box{flex-direction:column;gap:8px}.home-search-box input{width:100%;font-size:14px}.home-search-box button{width:100%}.home-search-examples{gap:6px}}


/* Compact dashboard search: keep saved projects visible above the fold. */
body:not(.project-open) .heading.home-search-hero{padding:18px 24px;min-height:0;margin:4px 0 20px;background-size:auto 220px;box-shadow:none}
.home-search-hero>div{max-width:none}body:not(.project-open) .home-search-hero h1{font-size:24px;line-height:1.25;margin:0 0 4px;letter-spacing:-.02em}body:not(.project-open) .home-search-hero p{font-size:13px;line-height:1.4;margin:0;max-width:none}
.home-search-hero .home-search-box{margin:12px 0 8px;padding:5px;gap:8px;box-shadow:none}.home-search-hero .home-search-box input{padding:10px 12px;font-size:14px}.home-search-hero .home-search-box button{padding:10px 16px;font-size:13px;min-height:42px}
.home-search-tools{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.home-search-suggestions summary{color:#fff;font-size:12px;cursor:pointer;padding:2px 0}.home-search-suggestions summary:focus-visible{outline:3px solid #e5b652;outline-offset:3px}.home-search-suggestions[open] .home-search-examples{margin-top:10px}.home-search-hero #project-price{font-size:12px;margin:2px 0 0;color:#E6E8EB}
@media(max-width:700px){body:not(.project-open) .heading.home-search-hero{padding:16px 18px;margin-bottom:18px}body:not(.project-open) .home-search-hero h1{font-size:23px}.home-search-hero .home-search-box{flex-direction:row;align-items:center}.home-search-hero .home-search-box input{width:auto;font-size:16px;padding:10px;min-width:0}.home-search-hero .home-search-box button{width:auto;padding:10px 12px;white-space:nowrap}.home-search-tools{gap:8px}}
@media(max-width:420px){.home-search-hero .home-search-box{flex-direction:column;align-items:stretch}.home-search-hero .home-search-box input,.home-search-hero .home-search-box button{width:100%;box-sizing:border-box}}

.project-list-section .section-head h2{margin:0;font-size:21px;line-height:1.3}.project-list-section .section-head{margin-bottom:14px}

#detail>.project-recovery{max-width:760px;margin:32px auto;padding:32px;border:1px solid #d6dfe9;border-radius:12px;box-shadow:none}#detail .project-recovery-label{font-size:11px;font-weight:700;letter-spacing:.12em;color:#60758f}#detail .project-recovery h1{font-size:28px;line-height:1.2;margin:12px 0;color:#1b2e4b}#detail .project-recovery p{font-size:16px;line-height:1.6;margin:0;color:#52657b}.project-recovery-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:24px}.project-recovery-actions>a,.project-recovery-actions>button{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;min-height:44px;border-radius:7px;text-decoration:none}.project-recovery-actions>.quiet{border:1px solid #ccd7e5;background:#fff;color:#254976}@media(max-width:600px){#detail>.project-recovery{margin:16px 0;padding:24px}.project-recovery-actions>*{width:100%}}

.preparation-status:empty{display:none}
.preparation-status:not(:empty){position:sticky;top:0;z-index:2;padding:12px 16px;background:#e5eef9;color:#122d50;border:1px solid #bccfe5;border-radius:8px}
