:root{--navy:#14325b;--ink:#173553;--muted:#567086;--blue:#235fbd;--green:#235fbd;--mint:#e7effc;--paper:#f2f6fc;--line:#dce5f1;--light:#7790a7}
button,a,input,select,summary{-webkit-tap-highlight-color:rgba(35,95,189,.15);touch-action:manipulation}
button,a{transition:background-color .15s,color .15s,box-shadow .15s,transform .1s}
button:not(:disabled):active,.button:not(:disabled):active{transform:translateY(1px);box-shadow:inset 0 2px 5px #0c244224}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #3979dc;outline-offset:3px}
.button-green{background:#235fbd!important;border-color:#235fbd!important;color:#fff!important}.button-green:hover:not(:disabled){background:#174a9c!important;box-shadow:0 4px 12px #184e9828}
.sidebar{background:#112d54;color:#d5e4f9;border-right:0;overflow-y:auto;scrollbar-width:thin}
.sidebar .brand strong,.sidebar .brand small{color:#f0f6ff}.sidebar .workspace-label,.sidebar .nav-label,.sidebar .sidebar-profile small{color:#a0bcde}
.sidebar .nav-item{color:#d7e5f9;min-height:44px}.sidebar .nav-item:hover{background:#1d3f70;color:#fff}.sidebar .nav-item.active{background:#2657a0;color:white;box-shadow:inset 3px 0 #84b8ff}
.sidebar .nav-count{color:#d9e8fc;background:#24456d}.sidebar .nav-divider{background:#345078}
.sidebar .sidebar-note{background:#1b3b67;border-color:#355780;color:#c6d9f4}.sidebar .sidebar-note *{color:inherit}.sidebar .sidebar-profile{border-color:#355780}
.nav-studio{background:transparent!important;color:#d7e5f9!important}.nav-studio.active{background:#2657a0!important;color:#fff!important}
.studio-hero{background:linear-gradient(115deg,#edf4ff,#dfeafc);border-color:#c4d8f4}.studio-hero h2{color:#163f73}.studio-hero p{color:#42627e}
.studio-hero .eyebrow{color:#245c9d}.journey-guide{margin:20px 0 12px;padding:20px 24px;border-radius:12px;background:#fff;border:1px solid #cbdcf5;box-shadow:0 4px 18px #173f7510}
.journey-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.journey-heading .eyebrow{font-size:10px;letter-spacing:.12em;color:#466988}
.journey-guide h3{font-size:clamp(19px,2.5vw,24px);line-height:1.4;margin:12px 0 4px;color:#163d6b}.journey-guide>p{font-size:14px;color:#47647e;margin:6px 0;max-width:85ch;line-height:1.75}
.journey-state{border-radius:20px;padding:5px 10px;font-size:11px;line-height:1.4;color:#2c5892;background:#eaf1fc;max-width:52%;text-align:center}
.journey-state[data-state=stale]{color:#87551b;background:#fff2dc}.journey-state[data-state=busy]{color:#194f9d;background:#dceaff}
.journey-facts{font-size:12px;color:#5c7794;padding-top:8px}.journey-progress{display:flex;align-items:center;gap:10px;margin-top:14px;padding:12px;background:#edf4ff;border-radius:8px;color:#1c4d8d;font-size:13px}
.journey-spinner{display:inline-block;width:16px;height:16px;flex-shrink:0;border:2px solid #aac7ec;border-top-color:#235fbd;border-radius:50%;animation:journey-spin .8s linear infinite}
@keyframes journey-spin{to{transform:rotate(360deg)}}.journey-guide .journey-error{color:#a33333;border-left:3px solid #bd5555;background:#fff1f1;padding:12px;border-radius:4px;font-size:13px}
.workflow-nav{gap:8px;margin-top:12px}.workflow-tab{background:#fff;border-color:#cdddf2;min-height:78px;transition:background .15s,border-color .15s}
.workflow-tab strong{font-size:12px}.workflow-tab small{color:#607b98;line-height:1.5}.workflow-tab.active{background:#e4efff;border-color:#3672c6;box-shadow:0 0 0 1px #3672c6}.workflow-tab.active .workflow-number{color:#235fbd}
.workflow-tab.is-complete:not(.active){border-bottom:3px solid #668fd0}.workflow-tab[aria-disabled=true]{border-style:dashed;opacity:.7}
.workflow-footer{bottom:12px;padding:14px 18px;background:#fff;box-shadow:0 4px 24px #183d6722;border-color:#bfd0e8;z-index:25;border-radius:12px}
.workflow-footer .button{min-height:46px}.workflow-footer p{max-width:58ch;font-size:12px;color:#4e6a85;margin:0}
.model-controls{padding:15px 18px;margin:20px 0;background:#f5f8fe;border:1px solid #d1dfef;border-radius:8px}.model-controls>summary{min-height:32px;color:#2e527a;font-weight:600;cursor:pointer}
.context-disclosure>summary{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;cursor:pointer;min-height:36px;align-items:center;font-size:12px;color:#244d78}
.context-disclosure>summary:before{content:"›";font-size:18px;font-weight:700}.context-disclosure[open]>summary:before{content:"⌄"}.context-disclosure>summary>span{margin-left:auto;color:#567089;font-size:11px}
.context-disclosure[open]>.research-context-heading{margin-top:16px}.context-disclosure:not([open]){margin:0}
#researchContextBar{padding:12px 18px;margin:14px 0}.studio-toolbar{gap:8px}.studio-toolbar .button{min-height:40px}
#view-studio{padding-bottom:20px}.studio-busy{opacity:1!important;filter:none!important}.studio-busy .journey-guide{border-color:#6a98dc}.studio-busy #studioForm{opacity:1}
.form-grid label,.forecast-inputs label{font-size:12px}input,select,textarea{accent-color:#235fbd}
.topbar{border-bottom-color:#d9e4f3}.eyebrow{color:#4d76a7}.studio-selection{border-top:1px solid #d8e5f4;padding-top:12px}
@media(max-width:760px){
 .journey-guide{padding:16px;margin-top:16px}.journey-guide>p{font-size:13px}.journey-heading{align-items:flex-start}.journey-heading .eyebrow{max-width:45%;line-height:1.8}
 .workflow-nav{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 9px}.workflow-tab{flex:0 0 145px;min-height:74px;scroll-snap-align:center;padding:11px 9px}
 .workflow-tab small{display:block;font-size:10px}.workflow-tab strong{font-size:12px}.workflow-number{font-size:18px}
 .workflow-footer{bottom:max(8px,env(safe-area-inset-bottom));padding:10px;gap:8px;flex-wrap:wrap}.workflow-footer p{order:-1;flex-basis:100%;line-height:1.5;font-size:11px;max-width:none}
 .workflow-footer .button{flex:1;min-height:46px;font-size:12px}.studio-toolbar{display:flex;flex-wrap:wrap}.studio-toolbar .button{flex:1 1 145px}
 .studio-hero{padding:20px}.studio-hero .guide-actions{width:100%}.studio-hero .guide-actions .button{flex:1 1 150px;min-height:44px}
 .form-grid input,.form-grid select,.forecast-inputs input,.forecast-inputs select{font-size:16px;min-height:44px}
 #researchContextBar{padding:10px 13px}.context-disclosure>summary>span{margin-left:0;font-size:10px}
 .topbar-actions{gap:6px}.language-control select{min-height:40px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition:none!important}}
.policy-score{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.policy-score>div{background:#eaf2ff;border:1px solid #c9dcf7;border-radius:9px;padding:12px;min-width:0}.policy-score span{display:block;color:#3e608a;font-size:11px;line-height:1.5}.policy-score strong{display:block;font-size:23px;color:#153f78;line-height:1.3;margin-top:6px;overflow-wrap:anywhere}.policy-panel h2{margin:8px 0;font-size:25px}.policy-panel input,.policy-panel select{min-height:44px}.policy-panel .guide-actions{margin:14px 0}.policy-panel .guide-actions .button:first-child{background:#235fbd;color:white;border-color:#235fbd}.policy-hash{overflow-wrap:anywhere;font:11px/1.6 ui-monospace,monospace}.policy-client{border-top:1px solid #c4d7f1;padding-top:15px}.policy-panel .chart{min-height:310px}
@media(max-width:700px){.policy-score{grid-template-columns:repeat(2,minmax(0,1fr))}.policy-score strong{font-size:20px}.policy-panel .guide-actions>.button{flex:1 1 100%;min-height:44px}}
.workflow-tab.active strong{color:#163f78}.workflow-tab.active small{color:#42688f}.journey-compact{padding:18px 24px;gap:16px}.journey-compact h2{font-family:inherit;font-size:20px;font-weight:650;max-width:none;line-height:1.5;margin:5px 0}.journey-compact h3{font-size:17px}.journey-compact details>summary{font-size:11px;color:#42668a;cursor:pointer;min-height:28px;display:flex;align-items:center}.journey-compact details[open]{max-width:75ch}.journey-compact>.guide-actions{flex-shrink:0}
@media(max-width:760px){.workflow-footer p{display:block}.journey-compact{padding:15px;gap:9px}.journey-compact h2{font-size:18px}.journey-compact .guide-actions{margin-top:4px}.journey-guide{margin-top:12px}}
.workspace-settings{margin:10px 0 16px;padding:10px 16px;border:1px solid #c9d9ef;border-radius:9px;background:#fff}
.workspace-settings>summary{display:flex;gap:8px;align-items:center;flex-wrap:wrap;cursor:pointer;color:#30577f;font-size:12px;min-height:24px}.workspace-settings>summary:before{content:"›";font-size:18px}.workspace-settings[open]>summary:before{content:"⌄"}
.workspace-settings #workspaceState{margin-left:auto;color:#5e7894;font-size:11px}.workspace-settings[open]>.audience-control{margin-bottom:0}.workspace-settings[open] #researchContextBar{margin-top:10px;border:0;padding:0}
@media(max-width:760px){
 .topbar{min-height:64px!important;height:auto!important;padding:10px 14px!important;align-items:center!important;gap:8px!important}.topbar-left{flex:0 0 40px!important}
 .topbar-actions{display:flex!important;flex:1!important;gap:6px!important;min-width:0!important;align-items:center!important;flex-wrap:nowrap!important}
 .topbar .language-control{flex:1;min-width:0;max-width:160px}.topbar .language-control select{width:100%;min-width:0;max-width:100%;font-size:12px;min-height:42px}
 .topbar #exportButton{min-width:40px;width:40px;min-height:42px;padding:9px;font-size:0;justify-content:center;flex:0 0 40px}.topbar #exportButton>span{font-size:0}.topbar #presentationToggle{min-width:54px;width:auto;padding:6px;font-size:10px;line-height:1.4;min-height:42px;flex:0 1 65px}
 .topbar #presentationPage{width:100%;max-width:145px}.presentation-mode .topbar-actions{flex-wrap:wrap!important}
 .page-heading{padding-top:16px;margin-bottom:12px!important}.page-heading h1{font-size:25px}.page-heading p{font-size:12px}
 .workspace-settings{margin:8px 0 12px;padding:9px 12px}.workspace-settings>summary{font-size:11px}.workspace-settings #workspaceState{font-size:10px}
 .journey-guide{padding:14px}.journey-guide h3{font-size:18px;margin:8px 0 4px}.journey-guide>p{line-height:1.6}.journey-facts{padding-top:5px}
 .journey-compact{padding:12px 15px}.journey-compact .guide-actions .button{min-height:42px}
}
.journey-start-actions{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:12px 0}
.journey-start-actions>.button{flex-shrink:0;min-height:44px}.journey-intro{flex:1;min-width:0}.journey-intro>summary{cursor:pointer;font-size:12px;min-height:44px;display:flex;align-items:center;color:#3c618d}.journey-intro>summary:before{content:"›";font-size:20px;margin-right:10px}
.journey-intro[open]{width:100%}.journey-intro[open]>summary:before{content:"⌄"}.journey-extra{border-top:1px solid #d8e4f4;margin-top:18px;padding-top:8px}.journey-extra>summary{font-size:12px;color:#3e638c;min-height:42px;cursor:pointer;display:flex;align-items:center}.journey-extra>summary:before{content:"›";font-size:20px;margin-right:10px}.journey-extra[open]>summary:before{content:"⌄"}
@media(max-width:760px){.journey-start-actions{margin:4px 0;gap:8px}.journey-start-actions>.button{font-size:11px;min-height:42px;padding:8px 12px}.journey-intro>summary{font-size:11px;line-height:1.5}.investor-brief #studioBriefCapital{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.investor-brief .panel-heading h2{font-size:19px}.investor-brief .panel-heading{margin-bottom:14px}.investor-brief #studioBriefCapital label{min-width:0;font-size:11px;line-height:1.5}.investor-brief #studioBriefCapital :is(input,select){width:100%;min-width:0;font-size:16px}}
@media(max-width:760px){
 body[data-view=studio] .page-heading{margin:0 0 8px!important;padding-top:8px}
 body[data-view=studio] .page-heading .eyebrow,body[data-view=studio] #pageDescription{display:none}
 body[data-view=studio] .page-heading h1{font-size:23px;margin:0}
 .journey-guide{padding:12px}.journey-guide h3{font-size:16px;margin:5px 0 3px}.journey-guide>p{font-size:12px;line-height:1.55}.journey-heading .eyebrow{font-size:9px}
 .workflow-nav{margin-top:8px;margin-bottom:3px}.workflow-tab{min-height:66px;padding:9px}
 .workflow-meta{margin-top:2px;margin-bottom:8px;min-height:30px}.workflow-meta #studioStepStatus{display:none}.workflow-meta #studioAllSections{margin-left:auto}
 .investor-brief .panel-heading{margin-bottom:10px}.investor-brief .panel-heading p{display:none}.investor-brief .panel-heading h2{margin-top:0}
}
