/* One contained project display. Milestone tabs and private workstreams share a language. */
.venture-dossier{--sans:'Manrope',Arial,sans-serif;--dossier-text:#f1e4d4;--dossier-muted:#ccb69f;width:min(1380px,calc(100vw - 32px));height:min(950px,calc(100dvh - 28px));max-height:calc(100dvh - 28px);overflow:hidden;line-height:1.5}
#venture-journey,#venture-journey *{font-family:var(--sans)!important;font-size:14px!important;letter-spacing:normal!important;line-height:1.5}
.venture-dossier [hidden]{display:none!important}
.venture-dossier-shell{height:100%;display:flex;flex-direction:column;min-height:0}
.venture-dossier-header{flex:none;padding:11px 24px;gap:20px;align-items:center}
.venture-dossier-header h2{font-weight:700;margin:0}
.venture-dossier-header #venture-dossier-intro{margin:3px 0 0;line-height:1.5;color:#78695d}
.venture-dossier-close{width:34px;height:34px;min-width:34px;border-radius:50%}
.venture-command-screen{flex:1;min-height:0;display:flex;flex-direction:column;padding:10px 24px 0;overflow:hidden;color:var(--dossier-text)}
.venture-dossier-toolbar{display:flex;gap:18px;align-items:center;flex:none;margin:0;padding:0;border:0}
.venture-concept-switch{flex:1;min-width:0;display:flex;flex-wrap:nowrap;gap:5px;padding:0;border:0;background:transparent;overflow-x:auto;scrollbar-width:none}
.venture-concept-switch button{min-height:36px;flex:none;padding:6px 10px;gap:7px;border:1px solid #c9a47b55;border-radius:6px;background:#ffffff03;color:#d4bfaa}
.venture-concept-switch button>small{display:block;color:#bda78f}
.venture-concept-switch button>strong{font-weight:500;white-space:nowrap}
.venture-concept-switch button[aria-pressed=true]{background:#f5ebdc;color:#6f4c36;border-color:#f5ebdc;box-shadow:0 0 20px #e0b48312}
.venture-concept-switch button[aria-pressed=true]>small{color:#8e6e56}
.venture-dossier-toolbar .venture-project-controls{flex:none;width:auto;max-width:none;margin:0;gap:10px;display:flex;align-items:center}
.venture-dossier .venture-project-controls button{min-height:34px;padding:3px 0;white-space:nowrap}
.venture-dossier .venture-project-controls>span{white-space:nowrap}
.venture-entry-location{flex:none;margin:5px 0 7px;padding:0;color:var(--dossier-muted);line-height:1.5}
.venture-entry-location strong{font-weight:400}
.venture-brief{flex:none;display:grid;grid-template-columns:195px minmax(0,1fr);gap:18px;padding:9px 0;margin:0;border-top:1px solid #c2a17e3b;border-bottom:1px solid #c2a17e3b}
.venture-brief>div{display:block;margin:0}
.venture-brief>div>p:first-child{font-weight:700;color:#eed5b9;margin:0 0 4px}
.venture-brief [data-venture-kind]{color:var(--dossier-muted);max-width:none;margin:0;font-weight:400;line-height:1.5}
.venture-brief .venture-brief-text{max-width:none;margin:0;font-weight:400;line-height:1.55}
.venture-brief>span{display:none}
.venture-dossier nav.venture-route{position:relative;inset:auto;flex:none;grid-area:auto;display:block;width:auto;max-height:none;margin:0 0 7px;padding:9px 0 0;overflow:visible;visibility:visible!important;border:0;border-bottom:1px solid #c2a17e3b}
.venture-route-heading{display:flex;align-items:center;justify-content:space-between;width:auto;min-width:0;margin:0 0 7px;gap:14px}
.venture-route-heading p>b{font-weight:700}
.venture-route-heading p>span{color:#c0a890;margin-left:14px}
.venture-route-legend{display:flex;gap:17px;color:#c8b29c}
.venture-route-legend i.is-current{background:#e5b37f;outline-color:#dba675;box-shadow:0 0 12px #e9af71}
.venture-route-scroll{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#b9936c4d transparent;padding:0 1px 10px}
.venture-route ol{display:grid;grid-template-columns:repeat(var(--route-count,9),minmax(0,1fr));list-style:none;gap:6px;width:auto;min-width:0;margin:0;padding:0}
.venture-route li{min-width:0;width:auto;position:relative;padding:0;margin:0}
.venture-route li:not(:last-child):after{display:none}
.venture-route button{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;width:100%;height:59px;min-height:59px;margin:0;padding:7px 9px;text-align:left;border:1px solid #b28e6a47;border-radius:6px;background:#f0d1a906;color:#bfa78f;transition:background .2s,border-color .2s,box-shadow .2s}
.venture-route-number{position:static;display:block;flex:none;width:auto;height:auto;margin:0;border:0;border-radius:0;background:none!important;box-shadow:none!important;color:inherit!important;font-weight:700}
.venture-route button .venture-route-number:after{display:none}
.venture-route button>strong{color:inherit;font-weight:500;line-height:1.35;overflow-wrap:normal}
.venture-route button>[data-venture-route-label],.venture-route button>small{display:none}
.venture-route button[data-reached=true]{color:#ead5bc;border-color:#c4a07b7a}
.venture-route button[data-status=planned]{background:transparent;color:#bda58e;border-color:#9e856b48}
.venture-route button[data-current=true]{border-color:#eac08c;background:#b7864c1c;box-shadow:0 0 17px #eab37540,inset 0 0 15px #dfae6c0c}
.venture-route button[data-current=true]:after{content:'';position:absolute;top:9px;right:8px;width:6px;height:6px;border-radius:50%;background:#f5c992;box-shadow:0 0 9px #ffce93}
.venture-route button[aria-pressed=true]{background:#f4eadb;color:#674a35!important;border-color:#f7ead3;box-shadow:inset 0 1px #ffffff69}
.venture-route button[aria-pressed=true][data-current=true]{box-shadow:0 0 20px #eab3756b,inset 0 0 0 1px #be8750}
.venture-route button[aria-pressed=true]>strong{color:inherit}
.venture-route button:hover{border-color:#e7bd90;background:#bda08320}
.venture-route button[aria-pressed=true]:hover{background:#fff5e6}
.venture-dossier :is(button,a):focus-visible{outline:2px solid #efbd88;outline-offset:3px}
.venture-track-switch{display:flex;gap:6px;margin:0 0 6px;flex:none}
.venture-track-switch button{padding:5px 10px;min-height:32px;color:#dec7af}
.venture-current-position{flex:none;display:flex;align-items:center;gap:9px;min-height:24px;margin:0 0 8px;padding:0;color:#cfb9a2}
.venture-current-position>span:nth-child(2){display:inline;text-transform:none}
.venture-current-position>strong{font-weight:700;color:#f2dbc0}
.venture-current-position button{margin-left:auto;min-height:25px;padding:2px 0 2px 8px;white-space:nowrap}
.venture-command-grid,.venture-dossier[data-track=private] .venture-command-grid{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);grid-template-rows:minmax(0,1fr);grid-template-areas:'flight detail';gap:26px;align-items:stretch}
.venture-flight-stage{grid-area:flight;display:flex;flex-direction:column;height:100%;min-height:0;width:100%;margin:0;align-self:stretch}
.venture-flight-coordinate{position:relative;inset:auto;flex:none;display:block;min-height:21px;margin:0 0 8px;padding:0;color:#cdb79f;line-height:1.5}
.venture-flight-coordinate>span:last-child{display:none}
.venture-art-scene,.venture-dossier:is([data-active-concept=ef],[data-active-concept=tah],[data-active-concept=founder]) .venture-art-scene{position:relative;flex:1;min-height:0;height:auto;width:100%;margin:0;container-type:size}
.venture-art-scene .venture-flight-card{top:12px;left:8%;width:min(70%,calc((100cqh - 82px) * var(--study-ratio,1.5)));max-width:400px;min-width:85px}
.venture-art-scene .venture-study-caption{display:grid;grid-template-columns:1fr auto;padding:7px 11px;gap:0 8px;min-height:47px}
.venture-art-scene .venture-study-caption strong{font-weight:700;line-height:1.4}
.venture-art-scene .venture-study-caption small{display:block;color:#ddc8af;line-height:1.45}
.venture-art-scene .venture-study-caption i{grid-column:2;grid-row:1 / 3;align-self:center}
.venture-flight-telemetry,.venture-signal-grid{display:none!important}
.venture-stage-detail,.venture-private-track{grid-area:detail;display:block;min-height:0;height:100%;max-height:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ad906d80 transparent;margin:0;padding:16px 18px;border:1px solid #c6a27b6e;border-radius:10px;color:var(--dossier-text);background:linear-gradient(130deg,#bf96651c,#e8cba60b);box-shadow:inset 0 1px #f3d4ab19;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.venture-stage-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 11px;color:#dbc1a5}
.venture-stage-topline p,.venture-stage-topline h3{margin:0;font-weight:500;color:inherit}
.venture-stage-total{opacity:.8}
.venture-stage-status{display:inline-block;padding:3px 8px;border:1px solid #d1b28b55;border-radius:4px;color:#e5c9a6;background:#d6b48c0c;line-height:1.45}
.venture-stage-status[data-status=planned]{color:#ccb69c;background:transparent}
.venture-stage-status[data-status=current]{color:#f9e4c8;background:#b7834d4d;border-color:#d5a56d88}
.venture-work-content,.venture-private-detail{margin:0;padding:16px 17px;border:1px solid #c7aa8459;border-radius:8px;background:#fff7e604}
.venture-stage-detail h3,.venture-private-detail h4{margin:0 0 12px;color:#f4dfc5;font-weight:700;line-height:1.5}
.venture-stage-example{margin:0;padding:0;border:0}
.venture-stage-example h4{margin:0 0 5px;color:#d4b595;font-weight:700;text-transform:none}
.venture-stage-example p,.venture-private-detail [data-private-description]{margin:0;color:#f0e0cc;line-height:1.6}
.venture-stage-outputs,.venture-private-detail ul{display:grid;grid-template-columns:1fr;gap:7px;list-style:none;border-top:1px solid #c7aa843b;margin:14px 0 0;padding:12px 0 0}
.venture-stage-outputs li,.venture-private-detail li{position:relative;margin:0;padding:0 0 0 18px;color:#ddc6ab;line-height:1.5}
.venture-stage-outputs li:before,.venture-private-detail li:before{content:'↗';position:absolute;left:0;top:0;color:#cba475}
.venture-stage-description,.venture-stage-checkpoint,.venture-stage-discipline,.venture-stage-phase,.venture-stage-more{display:none}
.venture-art-note{display:none}
.venture-dossier-navigation{flex:none;display:flex;align-items:center;justify-content:space-between;gap:18px;position:relative;min-height:57px;margin:0;padding:9px 24px;background:#f8f3e9;border-top:1px solid #d8c3a5}
.venture-stage-controls{display:flex;gap:7px}
.venture-dossier-navigation button{display:inline-flex;align-items:center;justify-content:center;gap:5px;max-width:none;min-height:36px;margin:0;padding:6px 10px;border:1px solid #b7936c66;border-radius:5px;background:transparent;color:#805d42;white-space:nowrap;cursor:pointer;font-weight:500}
.venture-dossier-navigation button:disabled{opacity:.4;cursor:default}
.venture-dossier-navigation .venture-invite-link{padding:5px 0;border:0;border-radius:0;border-bottom:1px solid #b7936c66;background:transparent;min-height:32px}
.venture-dossier-navigation .venture-jump-project{margin-left:auto;background:#946749;color:#fff5e6;border-color:#946749}
.venture-jump-project strong{font-weight:700}
.venture-dossier-footer{display:none}
.venture-dossier[data-view=invitation] :is(.venture-jump-project,.venture-invite-link){display:none}
.venture-dossier[data-view=invitation] .venture-dossier-navigation{justify-content:flex-start}
.venture-invitation{flex:1;min-height:0;overflow-y:auto}
.venture-invitation :is(h3,h4,h5){font-weight:700;line-height:1.5}
.venture-invitation-opening h3{max-width:none}
.venture-invitation-primary{font-weight:700}
@media(max-width:1150px){
  .venture-dossier-toolbar{display:block}
  .venture-dossier-toolbar .venture-project-controls{justify-content:flex-end;gap:13px;margin-top:3px}
  .venture-concept-switch{width:100%}
  .venture-command-grid,.venture-dossier[data-track=private] .venture-command-grid{gap:18px}
}
@media(max-height:800px) and (min-width:821px){
  .venture-dossier-header{padding:8px 22px}
  .venture-dossier-header #venture-dossier-intro{display:none}
  .venture-command-screen{padding:8px 22px 0}
  .venture-brief{padding:7px 0}
  .venture-route-heading{display:none}
  .venture-route button{height:52px;min-height:52px;padding:5px 8px}
  .venture-dossier nav.venture-route{padding-top:8px;margin-bottom:5px}
  .venture-current-position{margin-bottom:5px}
  .venture-stage-detail,.venture-private-track{padding:11px 13px}
  .venture-work-content,.venture-private-detail{padding:12px 14px}
  .venture-stage-topline{margin-bottom:8px}
  .venture-stage-outputs,.venture-private-detail ul{margin-top:10px;padding-top:9px;gap:5px}
  .venture-dossier-navigation{padding:7px 22px;min-height:51px}
}
@media(max-width:820px){
  .venture-dossier{width:calc(100vw - 12px);height:calc(100dvh - 12px);max-height:calc(100dvh - 12px)}
  .venture-dossier-header{padding:9px 13px;min-height:51px}
  .venture-dossier-header #venture-dossier-intro{display:none}
  .venture-command-screen{display:block;overflow-y:auto;overscroll-behavior:contain;padding:8px 13px 12px}
  .venture-dossier-toolbar{margin:0}
  .venture-concept-switch{gap:5px}
  .venture-concept-switch button{padding:6px 9px;min-height:35px}
  .venture-concept-switch button>small{display:none}
  .venture-dossier-toolbar .venture-project-controls{display:none}
  .venture-entry-location{margin:7px 0;line-height:1.5}
  .venture-brief{display:block;gap:0;padding:8px 0}
  .venture-brief>div{display:block;margin:0 0 7px}
  .venture-brief>div>p:first-child{margin-bottom:2px}
  .venture-brief [data-venture-kind]{max-width:none}
  .venture-dossier nav.venture-route{padding-top:9px;margin-bottom:8px}
  .venture-route-heading{display:block;margin-bottom:7px}
  .venture-route-heading p>span,.venture-route-legend{display:none}
  .venture-route ol{display:flex;width:max-content;min-width:100%;gap:6px}
  .venture-route li,.venture-dossier[data-track=private] .venture-route li{width:118px;flex:none}
  .venture-route button{height:59px;min-height:59px;padding:7px 9px}
  .venture-current-position{flex-wrap:wrap;gap:5px 8px;margin-bottom:8px}
  .venture-current-position>span:nth-child(2){display:none}
  .venture-current-position button{margin-left:auto;padding-left:5px;white-space:normal;text-align:right}
  .venture-track-switch button{flex:1;min-height:34px;padding:5px 8px}
  .venture-command-grid,.venture-dossier[data-track=private] .venture-command-grid{display:grid;grid-template-columns:1fr;grid-template-rows:240px auto;grid-template-areas:'flight' 'detail';gap:10px}
  .venture-flight-stage{height:240px;min-height:240px;display:flex}
  .venture-flight-coordinate{display:none}
  .venture-art-scene,.venture-dossier:is([data-active-concept=ef],[data-active-concept=tah],[data-active-concept=founder]) .venture-art-scene{height:240px;min-height:240px;flex:none;margin:0;container-type:size}
  .venture-art-scene .venture-flight-card{left:8%;top:8px;width:min(70%,calc((240px - 62px) * var(--study-ratio,1.5)));max-width:280px;min-width:85px}
  .venture-art-scene .venture-study-caption{min-height:48px;padding:6px 9px}
  .venture-art-scene .venture-study-caption small{display:block}
  .venture-stage-detail,.venture-private-track{height:auto;max-height:none;min-height:0;overflow:visible;padding:13px;margin:0}
  .venture-work-content,.venture-private-detail{padding:13px}
  .venture-private-detail ul{display:grid}
  .venture-dossier-navigation{display:grid;grid-template-columns:1fr auto;gap:7px 12px;padding:8px 13px;min-height:93px}
  .venture-stage-controls{grid-column:1 / -1;display:flex;justify-content:space-between;gap:8px}
  .venture-stage-controls button{flex:1;padding:6px 8px;min-height:35px}
  .venture-dossier-navigation .venture-invite-link{justify-self:start;min-height:31px;white-space:nowrap}
  .venture-dossier-navigation .venture-jump-project{margin:0;min-height:33px;padding:5px 8px;white-space:normal;flex-wrap:wrap;gap:2px 5px;text-align:right}
  .venture-invitation{padding:23px 19px}
  .venture-dossier[data-view=invitation] .venture-dossier-navigation{display:block;min-height:51px}
  .venture-dossier[data-view=invitation] .venture-stage-controls{display:block}
}
@media(prefers-reduced-motion:reduce){
  .venture-dossier *{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}

/* Readable status tokens on every glass panel. */
.venture-dossier .venture-stage-status[data-status]{color:#f0d6b5;border-color:#cda97c7a;background:#b9956e20}
.venture-dossier .venture-stage-status[data-status=planned]{color:#c9b8a2;border-color:#ad927453;background:transparent}
.venture-dossier .venture-stage-status[data-status=current]{color:#ffecd3;background:#a7753e59;border-color:#e1b27e}
@media(max-width:820px){.venture-brief>div{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:3px 10px}.venture-brief [data-venture-kind]{text-align:left;float:none}}
