/*
  Intent: Halo Lab strategist turns project evidence into a client-ready document without leaving the project workspace.
  Palette: warm paper, graphite, quiet violet — the same material language as Workspace V3.
  Depth: hairline separation for navigation, raised working documents, inset evidence fields.
  Surfaces: canvas -> paper -> floating controls. Typography: Geist Halo. Spacing: 8px base.
*/
.strategy-page{
  --studio-canvas:#f8f8f6;
  --studio-sidebar:#fbfbfa;
  --studio-paper:#fff;
  --studio-inset:#f1f1ee;
  --studio-ink:#171716;
  --studio-muted:#666661;
  --studio-faint:#a3a39d;
  --studio-line:rgba(23,23,22,.09);
  --studio-violet:#3827c7;
  --studio-violet-soft:#eeecff;
  --studio-sidebar-width:252px;
  min-width:0;
  padding-left:var(--studio-sidebar-width);
  background:var(--studio-canvas);
  transition:padding-left 240ms var(--studio-ease);
}
.studio-sidebar{position:fixed;z-index:40;inset:0 auto 0 0;width:var(--studio-sidebar-width);padding:24px 18px 22px;display:flex;flex-direction:column;background:var(--studio-sidebar);border-right:1px solid var(--studio-line);transition:transform 240ms var(--studio-ease),opacity 180ms}
.studio-sidebar>header{height:52px;display:flex;align-items:center;justify-content:space-between}
.studio-sidebar>header a{width:118px;display:flex}.studio-sidebar img{width:100%}
.studio-sidebar>header button,.studio-sidebar-show{width:40px;height:40px;padding:0;display:grid;place-items:center;color:var(--studio-muted);background:transparent;border:0;border-radius:10px;font-size:24px}.studio-sidebar>header button:hover,.studio-sidebar-show:hover{color:var(--studio-ink);background:#efefec}
.studio-sidebar nav{margin-top:52px;display:grid;gap:8px}
.studio-sidebar nav a{min-height:52px;padding:0 15px;display:flex;align-items:center;gap:14px;color:#3d3d3a;border-radius:14px;font-size:15px;text-decoration:none}.studio-sidebar nav a:hover{background:#f1f1ee}.studio-sidebar nav a.is-active{color:var(--studio-ink);background:#efefec;font-weight:640}.studio-sidebar nav a>span{width:22px;display:grid;place-items:center;font-size:18px}
.studio-sidebar>footer{margin-top:auto;padding-top:20px;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:11px;border-top:1px solid var(--studio-line)}.studio-sidebar>footer>span{width:42px;height:42px;display:grid;place-items:center;color:#fff;background:var(--studio-violet);border-radius:50%;font-size:13px;font-weight:720}.studio-sidebar>footer div{min-width:0;display:grid;gap:3px}.studio-sidebar>footer b{font-size:14px}.studio-sidebar>footer small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--studio-muted);font-size:12px}
.studio-sidebar-hidden{--studio-sidebar-width:0px}.studio-sidebar-hidden .studio-sidebar{transform:translateX(-100%);opacity:0;pointer-events:none}.studio-sidebar-show{display:none}.studio-sidebar-hidden .studio-sidebar-show{display:grid}

.strategy-page>.studio-topbar{position:sticky;z-index:30;top:0;min-height:92px;padding:0 clamp(28px,4vw,60px);display:flex;align-items:center;gap:14px;background:rgba(248,248,246,.92);border-bottom:1px solid var(--studio-line);backdrop-filter:blur(18px)}
.studio-topbar .document-breadcrumb{min-width:0;margin-right:auto;display:flex;align-items:center}.studio-topbar .document-breadcrumb__icon{width:40px;height:40px;display:grid;place-items:center;color:#fff;background:var(--studio-violet);border-radius:12px}.studio-topbar .document-breadcrumb>div{min-width:0}.studio-topbar .document-breadcrumb b{max-width:34vw;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.studio-topbar .document-breadcrumb small{font-size:11px}.studio-topbar__trail{display:flex;align-items:center;gap:8px;color:var(--studio-muted);font-size:11px;white-space:nowrap}.studio-topbar__trail i{color:#c1c1bc;font-style:normal}.studio-topbar .account{max-width:170px;color:var(--studio-muted);font-size:11px}.studio-topbar .signout{min-height:42px;padding:0 14px;color:var(--studio-muted);background:#efefec;border:0;border-radius:11px}.studio-topbar .new-button{min-width:146px;min-height:46px;padding:0 17px;color:#fff;background:var(--studio-ink);border:0;border-radius:23px;font-size:13px}.studio-topbar .new-button span{width:auto;height:auto;color:inherit;background:transparent}.studio-topbar .new-button:hover{background:var(--studio-violet)}

.strategy-page>main{width:min(calc(100% - 64px),1180px);margin:0 auto;padding:36px 0 96px}
.strategy-page .intake-view{width:100%}
.strategy-page .studio-heading{min-height:238px;padding:26px 0 44px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);align-items:end;gap:72px}
.strategy-page .studio-heading .eyebrow{margin:0 0 14px;color:var(--studio-violet);font-size:11px;font-weight:720;letter-spacing:.1em;text-transform:uppercase}
.strategy-page .studio-heading h1{max-width:780px;margin:0;font-size:clamp(54px,5.4vw,76px);font-weight:620;line-height:.92;letter-spacing:-.065em;text-wrap:balance}
.strategy-page .studio-heading__intro{max-width:52ch;margin:22px 0 0;color:var(--studio-muted);font-size:17px;line-height:1.5}
.strategy-page .studio-heading__support>span{color:var(--studio-faint);font-size:10px;font-weight:720;text-transform:uppercase;letter-spacing:.1em}.strategy-page .studio-heading__support>p{max-width:50ch;margin:10px 0 0;color:var(--studio-muted);font-size:14px;line-height:1.55}.strategy-page .studio-process{margin-top:22px;padding:0;display:flex;align-items:center;gap:7px;list-style:none}.strategy-page .studio-process li{min-height:36px;padding:0 12px;display:flex;align-items:center;gap:8px;color:var(--studio-muted);background:#efefec;border-radius:10px;font-size:11px}.strategy-page .studio-process li+li:before{content:'→';margin-left:-19px;margin-right:4px;color:#aaa}.strategy-page .studio-process li span{color:var(--studio-violet);font-weight:720}

.strategy-page .project-library{margin:0 0 18px;padding:22px 24px;background:#fff;border:1px solid var(--studio-line);border-radius:18px;box-shadow:none}.strategy-page .project-library>header{margin:0 0 18px;align-items:center}.strategy-page .project-library h2{font-size:24px}.strategy-page .project-library [data-new-project-inline]{min-height:42px;padding:0 15px;border-radius:21px;font-size:12px}.strategy-page .project-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.strategy-page .project-card{min-height:168px;padding:18px;background:#f7f7f5;border:1px solid transparent;border-radius:14px}.strategy-page .project-card:hover{background:#fff;border-color:var(--studio-line);box-shadow:0 14px 34px rgba(23,23,22,.07)}
.strategy-page .project-context-banner{width:100%;margin:0 0 18px;padding:22px 24px;background:#f0efff;border:1px solid rgba(56,39,199,.13);border-radius:18px}.strategy-page .project-context-banner h2{font-size:26px}.strategy-page .project-context-banner p{max-width:62ch;font-size:13px;line-height:1.45}.strategy-page .project-context-banner>a{border-radius:20px}

.strategy-page .intake-layout{margin-top:0;display:grid;grid-template-columns:minmax(0,1fr) 342px;gap:18px;align-items:start}.strategy-page .strategy-intake{padding:0;background:#fff;border:1px solid var(--studio-line);border-radius:18px;box-shadow:none;overflow:hidden}.strategy-page .strategy-intake>header,.strategy-page .output-picker>header{min-height:98px;margin:0;padding:22px 26px;display:flex;align-items:center;border-bottom:1px solid var(--studio-line)}.strategy-page .step-number{width:40px;height:40px;color:var(--studio-violet);background:var(--studio-violet-soft);border-radius:12px}.strategy-page .strategy-intake h2,.strategy-page .output-picker h2{font-size:27px}.strategy-page .source-status,.strategy-page .output-picker>header>span:last-child{padding:8px 10px;background:#f1f1ee;border-radius:10px;font-size:11px}
.strategy-page .intake-fields{margin:0;padding:26px;display:grid;grid-template-columns:1fr;gap:22px}.strategy-page .client-field{max-width:none}.strategy-page .strategy-intake label>span{margin-bottom:9px;font-size:13px}.strategy-page .strategy-intake input,.strategy-page .strategy-intake textarea{padding:15px 16px;background:var(--studio-inset);border:0;border-radius:12px;font-size:15px}.strategy-page .strategy-intake input{min-height:52px}.strategy-page .context-field textarea{min-height:250px;line-height:1.55}.strategy-page .context-field small{font-size:11px}.strategy-page .source-drop{min-height:92px;padding:16px 18px;background:#fafaf8;border:1px dashed #cccac5;border-radius:14px}.strategy-page .source-drop:hover{background:#f5f3ff;border-color:rgba(56,39,199,.35)}.strategy-page .source-drop__icon{border-radius:11px}.strategy-page .source-drop b{font-size:14px}.strategy-page .source-drop small{font-size:11px}.strategy-page .source-drop__action{padding:10px 14px;border:1px solid var(--studio-line);border-radius:10px;box-shadow:none;font-size:11px}
.strategy-page .output-picker{margin:0;padding:0;border-top:8px solid var(--studio-canvas)}.strategy-page .scope-presets{margin:0;padding:24px 26px 0;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.strategy-page .scope-preset{min-height:84px;padding:14px;background:#f7f7f5;border-radius:13px}.strategy-page .scope-preset span{font-size:13px}.strategy-page .scope-preset small{font-size:10px}.strategy-page .selected-scope{padding-inline:26px}.strategy-page .scope-customize{margin:18px 26px 26px;background:#f7f7f5;border-radius:13px}.strategy-page .scope-customize summary{min-height:64px;padding-inline:16px}.strategy-page .scope-customize summary span{font-size:13px}.strategy-page .scope-customize summary small{font-size:10px}.strategy-page .scope-customize .output-groups{grid-template-columns:repeat(2,minmax(0,1fr))}
.strategy-page .studio-rail{position:sticky;top:110px}.strategy-page .generate-panel{padding:25px;color:#fff;background:#171716;border:0;border-radius:18px;box-shadow:none}.strategy-page .generate-panel h2{max-width:270px;margin:30px 0 0;font-size:32px}.strategy-page .blueprint-metrics>div{background:rgba(255,255,255,.08);border-radius:12px}.strategy-page .blueprint-metrics span,.strategy-page .generate-panel>p:not(.eyebrow){color:#aaa9a3}.strategy-page .blueprint-list small{color:#aaa9a3}.strategy-page .generate-panel .generate-button{min-height:52px;color:#fff;background:var(--studio-violet);border-radius:12px;box-shadow:none;font-size:13px}.strategy-page .generate-panel .generate-button:hover{color:var(--studio-ink);background:#fff}

.strategy-page .document-view{width:100%}.strategy-page:has(.document-view:not([hidden]))>main{width:min(calc(100% - 48px),1480px);padding-top:0}.strategy-page .document-toolbar{position:sticky;z-index:20;top:92px;min-height:68px;padding:10px 0;display:flex;align-items:center;justify-content:space-between;background:rgba(248,248,246,.92);box-shadow:0 1px 0 var(--studio-line);backdrop-filter:blur(16px)}.strategy-page .document-toolbar>div:first-child,.strategy-page .document-toolbar__actions{padding:4px;background:#efefec;border-radius:12px}.strategy-page .document-toolbar button{min-height:40px;padding:0 13px;border-radius:9px;font-size:11px}.strategy-page .document-toolbar button.primary{background:var(--studio-violet)}
.strategy-page .document-workspace{width:100%;padding-top:24px;display:grid;grid-template-columns:minmax(620px,1fr) 400px;gap:18px}.strategy-page .document-canvas{min-height:1080px;padding:76px clamp(54px,6vw,96px);background:#fff;border:1px solid var(--studio-line);border-radius:18px;box-shadow:0 16px 46px rgba(23,23,22,.05)}.strategy-page .document-canvas:before{top:24px;right:26px}.strategy-page .document-canvas h1{font-size:clamp(50px,4.7vw,70px)}.strategy-page .document-canvas h2{font-size:32px}.strategy-page .document-canvas p,.strategy-page .document-canvas li{font-size:17px;line-height:1.65}
.strategy-page .document-aside{position:sticky;top:184px;max-height:calc(100dvh - 204px);background:#fff;border:1px solid var(--studio-line);border-radius:18px;box-shadow:none}.strategy-page .aside-tabs{padding:6px;background:#efefec}.strategy-page .aside-tabs button{min-height:42px;font-size:12px}.strategy-page .guidance-panel,.strategy-page .chat-panel,.strategy-page .history-panel{max-height:calc(100dvh - 260px);padding:22px}.strategy-page .guidance-intro b{font-size:21px}.strategy-page .guidance-intro p{font-size:13px}.strategy-page .confidence-card{border-radius:14px}.strategy-page .guidance-block h3{font-size:15px}.strategy-page .guidance-block>header small{font-size:11px}.strategy-page .guidance-item{padding:16px;border-radius:13px}.strategy-page .guidance-item b{font-size:14px}.strategy-page .guidance-item p{font-size:12px}.strategy-page .guidance-item button{min-height:42px;font-size:11px}

@media(max-width:1180px){.studio-topbar__trail,.studio-topbar .account{display:none}.strategy-page .studio-heading{grid-template-columns:1fr;gap:26px}.strategy-page .studio-heading__support{max-width:660px}.strategy-page .intake-layout{grid-template-columns:1fr}.strategy-page .studio-rail{position:static}.strategy-page .document-workspace{grid-template-columns:minmax(0,1fr) 360px}}
@media(max-width:900px){.strategy-page{--studio-sidebar-width:0px}.studio-sidebar{width:min(300px,88vw);transform:translateX(-100%);opacity:0;pointer-events:none;box-shadow:18px 0 50px rgba(23,23,22,.1)}.strategy-page:not(.studio-sidebar-hidden).studio-sidebar-open .studio-sidebar{transform:none;opacity:1;pointer-events:auto}.studio-sidebar-show{display:grid}.strategy-page>.studio-topbar{min-height:82px;padding-inline:18px}.studio-topbar .signout{display:none}.strategy-page>main{width:calc(100% - 32px);padding-top:22px}.strategy-page .document-workspace{grid-template-columns:1fr}.strategy-page .document-aside{position:relative;top:auto;max-height:none}.strategy-page .guidance-panel,.strategy-page .chat-panel,.strategy-page .history-panel{max-height:none}.strategy-page .document-toolbar{top:82px;overflow:auto}.strategy-page .document-canvas{padding-inline:clamp(28px,7vw,60px)}}
@media(max-width:640px){.studio-topbar .new-button{min-width:46px;width:46px;padding:0;font-size:0}.studio-topbar .new-button span{font-size:18px}.strategy-page .studio-heading{min-height:0;padding:24px 0 34px}.strategy-page .studio-heading h1{font-size:46px}.strategy-page .studio-heading__intro{font-size:15px}.strategy-page .studio-process{flex-wrap:wrap}.strategy-page .project-list{grid-template-columns:1fr}.strategy-page .project-context-banner{grid-template-columns:1fr}.strategy-page .project-context-banner dl{justify-content:space-between}.strategy-page .scope-presets{grid-template-columns:1fr}.strategy-page .scope-customize .output-groups{grid-template-columns:1fr}.strategy-page .document-toolbar{align-items:flex-start;gap:8px}.strategy-page .document-toolbar__actions{overflow:auto}.strategy-page .document-canvas p,.strategy-page .document-canvas li{font-size:16px}}
@media(prefers-reduced-motion:reduce){.studio-sidebar,.strategy-page{transition:none}}
.strategy-page .generate-panel.is-blocked{background:#272725}.strategy-page .generate-panel.is-blocked .generate-panel__status>span{background:#d8a62e}.strategy-page .generate-panel .generate-button:disabled{color:#8d8d87;background:#454542;cursor:not-allowed}.strategy-page .generate-panel .generate-button:disabled:hover{color:#8d8d87;background:#454542}
