/* Compact information density; comfortable mode keeps the original sizing. */
.density-toggle{border:1px solid var(--line);border-radius:7px;padding:6px 10px;font:12px var(--sans);min-height:32px;background:#fff;white-space:nowrap}.density-toggle[aria-pressed="true"]{color:#bf4e19;background:#fff5ed}.detail-density-controls{display:flex;justify-content:flex-end;margin:0 0 12px;gap:10px}
body:not(.comfortable) .top{height:64px;padding:0 24px}body:not(.comfortable) .brand{font-size:34px}body:not(.comfortable) .brand>span{font-size:29px}body:not(.comfortable) .top nav button.active:after{bottom:9px}body:not(.comfortable) h1{font-size:40px;letter-spacing:-1px}body:not(.comfortable) h2{font-size:27px}body:not(.comfortable) h3{font-size:22px}body:not(.comfortable) main{padding:20px}body:not(.comfortable) .workspace{grid-template-columns:205px minmax(360px,1fr) 300px;max-width:1800px}body:not(.comfortable) .lab-rail{padding:18px 12px;gap:8px}body:not(.comfortable) .rail-heading{margin:0 4px 9px}body:not(.comfortable) .lab-button{padding:9px 10px;gap:10px;margin-bottom:5px;border-color:transparent;border-radius:6px}body:not(.comfortable) .lab-button:hover{border-color:#f0cfb8}body:not(.comfortable) .lab-button.active{border-color:#ffdec8}body:not(.comfortable) .lab-button .logo{width:28px;height:28px}body:not(.comfortable) .lab-button strong{font-size:13px}body:not(.comfortable) .lab-button small{font-size:11px;margin-top:1px}body:not(.comfortable) .manage-companies{padding:9px;font-size:12px}body:not(.comfortable) .transfer-row{grid-template-columns:40px minmax(0,1fr) auto;padding:11px 2px;gap:10px}body:not(.comfortable) .transfer-row .portrait{width:40px;height:44px;border-radius:6px}body:not(.comfortable) .transfer-row .who{margin-bottom:4px}body:not(.comfortable) .route-logos{gap:9px}body:not(.comfortable) .route-logos .logo{width:22px;height:22px}body:not(.comfortable) .filter-row{margin-top:14px}body:not(.comfortable) .filter-note{padding:7px 0;min-height:24px}body:not(.comfortable) .inspector{padding:16px 12px 16px 0}body:not(.comfortable) .profile-card{top:80px}body:not(.comfortable) .profile-hero{height:140px}body:not(.comfortable) .profile-content{padding:13px}body:not(.comfortable) .profile-name{font-size:28px}body:not(.comfortable) .profile-route{margin:16px 0}body:not(.comfortable) .profile-route .logo.large{width:38px;height:38px}body:not(.comfortable) .career{padding:10px 0}body:not(.comfortable) .career-step{padding:6px 0}body:not(.comfortable) .primary-button{min-height:38px;padding:9px 12px;font-size:13px}body:not(.comfortable) .directory-grid{gap:10px}body:not(.comfortable) .directory-card{padding:16px}body:not(.comfortable) .directory-card h3{margin:10px 0 6px}body:not(.comfortable) .matrix-cell{height:32px}body:not(.comfortable) .connections{margin-top:22px}body:not(.comfortable) .section-heading{margin-bottom:10px}body:not(.comfortable) .latest-main{max-width:1320px;margin:auto}body:not(.comfortable) .latest-intro{margin-bottom:20px}body:not(.comfortable) .latest-intro h1{font-size:48px}body:not(.comfortable) .latest-highlights{gap:12px}body:not(.comfortable) .market-section{margin:24px 0}body:not(.comfortable) .method-card{padding:22px;margin-top:24px}body:not(.comfortable) .location-stats{gap:10px}body:not(.comfortable) .location-charts{gap:20px}body:not(.comfortable) .location-insight{margin:16px 0}body:not(.comfortable) .sponsor-slot{margin:24px 0 0}.footer-sponsor{color:#b15b2b}
@media(min-width:951px){body:not(.comfortable).talent-flow-view .workspace,body:not(.comfortable).location-report-view .workspace{grid-template-columns:205px minmax(0,1fr)}body:not(.comfortable) .lab-rail{position:sticky;top:64px;height:calc(100vh - 64px);overflow-y:auto}body:not(.comfortable) .rail-foot{padding:15px 10px}body:not(.comfortable) .rail-foot>span,body:not(.comfortable) .rail-foot p{display:none}}
@media(max-width:1100px) and (min-width:951px){body:not(.comfortable) .workspace{grid-template-columns:185px minmax(320px,1fr) 270px}}
@media(max-width:950px){body:not(.comfortable) .workspace{grid-template-columns:175px minmax(0,1fr)}body:not(.comfortable) .inspector.open{padding:0;top:80px}body:not(.comfortable) .inspector.open .profile-card{top:0}body:not(.comfortable) .profile-hero{height:160px}}
@media(max-width:760px){body:not(.comfortable) .top{height:auto;padding:12px!important}body:not(.comfortable) main{padding:16px}body:not(.comfortable) h1{font-size:35px}.detail-density-controls{margin-bottom:8px}.lab-rail.mobile-open #lab-list{display:block;overflow:visible}.lab-rail.mobile-open .lab-button{width:100%;height:auto;min-height:48px;justify-content:flex-start}.lab-rail.mobile-open .lab-button strong,.lab-rail.mobile-open .lab-button small{display:block}.lab-rail.mobile-open .rail-heading{display:flex}.lab-rail.mobile-open .lab-button .logo{display:grid}.latest-main .sponsor-slot{margin-top:20px}body:not(.comfortable) .latest-intro h1{font-size:38px}body:not(.comfortable) .transfer-row{min-height:64px}body:not(.comfortable) .directory-grid{grid-template-columns:1fr}}
body:not(.comfortable) .talent-card-grid{gap:14px;margin:16px 0}body:not(.comfortable) .talent-card{padding:16px 14px 12px;border-radius:20px 20px 42px 20px}body:not(.comfortable) .market-story{padding:16px;border-radius:12px}
/* Engineer cards: identity beside portrait, consistent metric rows. */
body:not(.comfortable) .talent-card-grid{grid-template-columns:repeat(auto-fit,minmax(245px,1fr));align-items:stretch;max-width:none;gap:12px}
body:not(.comfortable) .talent-card{padding:14px 14px 12px;border-radius:16px;box-shadow:none;display:flex;flex-direction:column}
body:not(.comfortable) .talent-card:before{inset:5px;border-radius:12px}
body:not(.comfortable) .tc-score strong{font-size:32px}
body:not(.comfortable) .tc-score>span,body:not(.comfortable) .tc-edition small{font-size:9px;letter-spacing:.4px}
body:not(.comfortable) .tc-person{display:grid;grid-template-columns:56px minmax(0,1fr);column-gap:12px;text-align:left;align-items:center;margin:12px 0 4px;padding:0}
body:not(.comfortable) .tc-portrait{grid-row:1/3;width:56px;height:56px;margin:0;border-radius:12px;box-shadow:none}
body:not(.comfortable) .tc-initials{font-size:28px}
body:not(.comfortable) .tc-person h3{font-size:23px;margin:0 0 4px;text-align:left;overflow-wrap:anywhere}
body:not(.comfortable) .tc-role{text-align:left;min-height:0;font-size:12px;line-height:1.4}
body:not(.comfortable) .tc-company{justify-content:flex-start;margin:10px 0;gap:6px}
body:not(.comfortable) .tc-company .company-chip{font-size:11px}
body:not(.comfortable) .tc-stats{padding:8px 0;margin-top:auto}
body:not(.comfortable) .tc-stats strong{font-size:25px}
body:not(.comfortable) .tc-stats small{font-size:10px;letter-spacing:.5px}
body:not(.comfortable) .tc-budget{padding:9px 0;text-align:left}
body:not(.comfortable) .tc-budget>strong{font-size:25px;margin:3px 0}
body:not(.comfortable) .tc-budget>span{font-size:9px;letter-spacing:.5px}
body:not(.comfortable) .tc-budget a,body:not(.comfortable) .tc-budget>small{font-size:11px}
body:not(.comfortable) .tc-package{padding:8px 0;gap:9px}
body:not(.comfortable) .tc-package strong{font-size:22px}
body:not(.comfortable) .tc-package span{font-size:11px}
body:not(.comfortable) .tc-foot{font-size:10px;padding:7px 0 0;gap:6px;line-height:1.5}
body:not(.comfortable) .tc-foot button{padding:6px 10px;min-height:32px;font-size:11px}
body:not(.comfortable) .transfer-row .move-titles{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;line-height:1.5;margin-top:3px}
body:not(.comfortable) .transfer-row>div{min-width:0}
body:not(.comfortable) .transfer-row .person-role-tags{margin-top:3px;gap:4px}
body:not(.comfortable) .transfer-row .person-role-tags span{font-size:10px;padding:1px 6px;line-height:1.5}
body:not(.comfortable) .transfer-row .history-destination{font-size:12px}
@media(min-width:1500px){body:not(.comfortable) .latest-main{max-width:1500px}body:not(.comfortable) .talent-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:580px){body:not(.comfortable) .talent-card-grid{grid-template-columns:1fr}body:not(.comfortable) .tc-person{grid-template-columns:56px minmax(0,1fr)}body:not(.comfortable) .tc-foot button{min-height:40px}body:not(.comfortable) .transfer-row .move-titles{white-space:normal;overflow:visible}}
.power-button{display:block;width:100%;background:#ffffff50;border:1px solid #b6926730;border-radius:10px;color:inherit;padding:7px;margin:5px 0;text-align:left;cursor:pointer}.power-button:hover{background:#fff9ed;color:inherit;border-color:#d39262}.power-profile{display:grid;grid-template-columns:88px minmax(0,1fr);align-items:center;gap:8px}.power-profile svg{display:block;width:88px;height:90px}.power-heading{display:block;font:10px var(--sans);letter-spacing:.6px;margin-bottom:6px}.power-heading small{display:block;font-size:9px;letter-spacing:0;color:#9b815f;margin-top:2px}.power-signal{display:grid;grid-template-columns:1fr auto;gap:1px 5px;font:11px/1.5 var(--sans);margin:3px 0}.power-signal b{font-variant-numeric:tabular-nums;font-weight:600}.power-signal i{grid-column:1/-1;height:3px;border-radius:3px;background:linear-gradient(to right,#d9773c var(--power),#e9dac8 var(--power))}.power-signal i.unassessed{background:repeating-linear-gradient(to right,#cbbca9 0 3px,transparent 3px 6px)}.power-signals>small{font:9px/1.5 var(--sans);color:#95775f}.power-button:focus-visible{outline:3px solid #d36c31;outline-offset:3px}
/* Collectible-card depth, without changing the information layout. */
.talent-card-grid{perspective:1400px}
body:not(.comfortable) .talent-card,.talent-card{--tilt-x:0deg;--tilt-y:0deg;--shine-x:50%;--shine-y:25%;transform:rotateX(var(--tilt-x)) rotateY(var(--tilt-y));transform-style:preserve-3d;transition:transform .2s ease,box-shadow .2s ease;border:1px solid #dab28a;box-shadow:0 2px 0 #d3af8d,0 5px 0 -1px #eed5bc,0 12px 25px -12px #85542b50,inset 0 1px 0 #ffffffed;background:radial-gradient(ellipse at var(--shine-x) var(--shine-y),#fffdf8 0%,#fff4df 42%,#f1d7b8 100%)}
body:not(.comfortable) .talent-card:nth-child(3n+2),.talent-card:nth-child(3n+2){background:radial-gradient(ellipse at var(--shine-x) var(--shine-y),#fffffc,#eff2e4 48%,#dbe2c7);border-color:#bdc4a4}
body:not(.comfortable) .talent-card:nth-child(3n+3),.talent-card:nth-child(3n+3){background:radial-gradient(ellipse at var(--shine-x) var(--shine-y),#fffdfa,#ffeddf 48%,#edd0bd)}
.talent-card:after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(120deg,transparent 10%,#fff9 24%,transparent 38%,#ffffff30 70%,transparent 85%);opacity:.15;transition:opacity .2s;z-index:2}
body:not(.comfortable) .talent-card:hover,.talent-card:hover{box-shadow:0 2px 0 #d3af8d,0 5px 0 -1px #eed5bc,0 22px 35px -14px #85542b55,inset 0 1px 0 #fff}
.talent-card:hover:after{opacity:.3}
.talent-card .tc-portrait{box-shadow:0 3px 8px #79532b22,inset 0 1px 0 white!important;border:2px solid #fff9!important}
.talent-card .tc-score strong{text-shadow:0 1px 0 #fff,0 2px 6px #a0642020}
.talent-card .power-button{box-shadow:inset 0 1px 0 #fff9,0 2px 4px #85542b09;background:#ffffff70}
@media(hover:none),(pointer:coarse){.talent-card{transform:none!important}}
@media(prefers-reduced-motion:reduce){.talent-card{transform:none!important;transition:none!important}.talent-card:after{transition:none!important}}
/* The collected People directory: compact dimensional profile cards. */
.people-directory #feed{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;align-items:stretch;padding:4px 0 16px}
.people-directory #feed>.empty{grid-column:1/-1}
body.people-directory .people-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;padding:16px 13px 13px;align-items:start;text-align:left;border:1px solid #e4d4c5;border-radius:13px;background:linear-gradient(145deg,#fff 15%,#fffaf4 70%,#f8ebdd);box-shadow:0 2px 0 #e5d3bf,0 7px 15px -9px #88592b44,inset 0 1px 0 #fff;margin:0;transition:transform .18s,box-shadow .18s;position:relative;min-width:0}
body.people-directory .people-card:before{display:none}
body.people-directory .people-card:hover{transform:translateY(-2px);border-color:#e5ab7e;box-shadow:0 2px 0 #dfbe9c,0 12px 20px -10px #88592b55}
body.people-directory .people-card[aria-pressed="true"]{border-color:#ed9254;background:linear-gradient(145deg,#fff,#fff1e2);box-shadow:0 2px 0 #ebaf7d,0 0 0 1px #f2bb8c}
body.people-directory .people-card .portrait{width:48px;height:56px;border-radius:10px;border:2px solid white;box-shadow:0 2px 6px #53371920}
body.people-directory .people-card>div{min-width:0;padding-right:0}
body.people-directory .people-card .who{margin:0 0 5px;padding-right:12px;display:block}
body.people-directory .people-card .who strong{font-size:14px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}
body.people-directory .people-card .roster-headline{font-size:12px;white-space:normal;line-height:1.4;overflow:visible;max-width:none;color:#88705f}
body.people-directory .people-card .person-role-tags{display:flex;flex-wrap:wrap;gap:4px;margin:6px 0}
body.people-directory .people-card .person-role-tags span{font-size:10px;padding:2px 6px;line-height:1.3;background:#f9eadc;border-radius:5px}
body.people-directory .people-card .roster-labs{margin-top:9px;padding-top:9px;border-top:1px solid #ecdfd3;gap:6px;flex-wrap:wrap;align-items:center}
body.people-directory .people-card .roster-labs .logo{width:21px;height:21px}
body.people-directory .people-card .roster-labs small{font-size:11px;line-height:1.4;flex:1 1 100px;color:#8b7768;overflow-wrap:anywhere}
body.people-directory .people-card>.open-circle{position:absolute;top:10px;right:8px;width:18px;height:18px;font-size:16px;background:transparent}
body.people-directory .inspector .profile-card{border:1px solid #e4d4c5;box-shadow:0 3px 0 #ead7c4,0 12px 22px -15px #85542b50;background:linear-gradient(160deg,#fff,#fffcf8)}
@media(min-width:1600px){.people-directory #feed{grid-template-columns:repeat(3,minmax(0,1fr))}}

@media(max-width:580px){.people-directory #feed{grid-template-columns:1fr}body.people-directory .people-card{grid-template-columns:48px minmax(0,1fr);padding:13px;min-height:108px}}
@media(prefers-reduced-motion:reduce){body.people-directory .people-card:hover{transform:none}}
.power-profile{grid-template-columns:100px minmax(0,1fr);gap:8px}.power-profile svg{width:100px;height:110px}.power-signal{margin:2px 0;font-size:10px;line-height:1.3}.power-source{display:block;font:10px/1.4 var(--sans);color:#956c4c;margin:0 0 5px}.power-source:hover{color:#bf4e19;text-decoration:underline}
.power-signal i.unassessed{background:linear-gradient(to right,#c9a98b 50%,#e9dac8 50%);opacity:.8}
