/* Shared navigation and page hierarchy for the three workspaces. */
body{padding:24px;background:#dcded4}.analysis-shell{max-width:1400px;min-height:calc(100vh - 48px);margin:auto;border-radius:16px;background:#f4f6f0}.analysis-header{display:flex;align-items:center;gap:24px;padding:24px 4%;background:#fafbf8;border-bottom:1px solid #e1e6d9}.analysis-header .brand>span{font-size:35px;line-height:1.2}.analysis-header .app-label{font-size:12px;letter-spacing:1.5px;color:#66745e}.analysis-header .back-link{margin-left:auto;font-size:14px}.workspace-nav{display:flex;gap:8px;padding:16px 4%;border-bottom:1px solid #dce4d4;flex-wrap:wrap;background:#fafbf8}.workspace-nav a{font-size:14px;font-weight:500;padding:12px 18px;border-radius:28px;text-decoration:none;color:#506349;line-height:1.4}.workspace-nav a:hover{background:#eaf0e1}.workspace-nav a[aria-current=page]{color:white;background:#263f2b}.workspace-nav a:focus-visible{outline-offset:2px}#sensors-main,#ia-main,#plan-main{padding:34px 4% 42px}.workspace-heading,.ia-heading.workspace-heading,.plan-heading.workspace-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;margin:0 0 28px}.workspace-heading h1,.ia-heading.workspace-heading h1,.plan-heading.workspace-heading h1{font-size:40px;line-height:1.16;letter-spacing:-1.4px;margin:10px 0 12px;max-width:none;font-weight:500}.workspace-heading p{font-size:16px;line-height:1.6;max-width:660px}.workspace-kicker{font-size:12px;letter-spacing:1.1px;color:#5c7645}.workspace-heading .scope-note,.workspace-heading .plan-context{font-size:13px;line-height:1.65;max-width:310px;margin:4px 0 0;padding:12px 0 12px 18px;border-left:2px solid #a2b784}.workspace-heading .plan-context span,.workspace-heading .plan-context b{font-size:13px}.simulation-label{font-size:12px}.workspace-heading .simulation-label{margin-bottom:0}#workspace{padding:24px 0 0;min-height:450px}#workspace .work-heading h2{font-size:28px;letter-spacing:-.8px;line-height:1.2;margin:10px 0}#workspace .work-heading p{font-size:16px}#workspace .work-heading .eyebrow{font-size:12px}.flow-nav{display:flex;justify-content:flex-start;gap:12px;padding:16px 0;border-top:1px solid #dfe6d5;border-bottom:1px solid #dfe6d5}.flow-nav button{display:flex;align-items:center;gap:10px;flex:1;border:1px solid transparent;border-radius:12px;background:#e9efdf;color:#4c6140;padding:13px 16px;text-align:left;font:inherit;font-size:14px;line-height:1.4;cursor:pointer}.flow-nav button b{width:26px;height:26px;flex-shrink:0;font-size:12px}.flow-nav button:hover:not(:disabled){background:#dfe9cf}.flow-nav button[aria-current=step]{background:#e0edcc;color:#254728;border-color:#93ae6f;font-weight:600}.flow-nav button[aria-current=step] b{background:#2c5d32;color:white}.flow-nav button:disabled{opacity:1;color:#89927f;background:#eef1e8;cursor:not-allowed}.flow-help{font-size:13px;color:#6c7c5e;margin-top:12px;line-height:1.6}.saved-work{margin:0 0 24px;padding:20px 24px;border:1px solid #c4d7ab;border-radius:14px;background:#edf5df;display:flex;gap:20px;justify-content:space-between;align-items:center}.saved-work h2{font-size:20px}.saved-work p{font-size:14px;line-height:1.6;margin-top:8px}.saved-work .saved-actions{display:flex;gap:10px;flex-wrap:wrap;flex-shrink:0}.step-actions{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:20px}.session-notice{margin:16px 4%;padding:12px 16px;background:#fff2dc;color:#705329;border-radius:10px;font-size:14px}.analysis-footer{font-size:12px}.skip-link:not(:focus){opacity:0;pointer-events:none}
@media(max-width:900px){.workspace-heading,.ia-heading.workspace-heading,.plan-heading.workspace-heading{display:block}.workspace-heading .scope-note,.workspace-heading .plan-context{max-width:none;margin-top:16px}.saved-work{align-items:start;flex-direction:column}}
@media(max-width:720px){body{padding:0}.analysis-shell{border-radius:0;min-height:100vh}.analysis-header{padding:20px}.analysis-header .brand>span{font-size:31px}.analysis-header .app-label{display:none}.analysis-header .back-link{font-size:13px}.workspace-nav{padding:12px;gap:6px;flex-wrap:nowrap}.workspace-nav a{flex:1;font-size:13px;text-align:center;padding:11px 8px;display:flex;align-items:center;justify-content:center}.workspace-heading h1,.ia-heading.workspace-heading h1,.plan-heading.workspace-heading h1{font-size:32px;letter-spacing:-1px}.workspace-heading p{font-size:16px}#sensors-main,#ia-main,#plan-main{padding:26px 20px 34px}.flow-nav{gap:6px;justify-content:space-between}.flow-nav button{padding:11px 5px;font-size:13px;flex-direction:column;text-align:center;gap:7px}.flow-nav button b{width:25px;height:25px}#workspace .work-heading h2{font-size:25px}.saved-work{padding:18px}.saved-actions{width:100%}.saved-actions>*{width:100%}.step-actions>*{font-size:14px}.analysis-footer{flex-direction:column;gap:8px}}

.processing-view h2{font-size:30px;letter-spacing:-1px;margin:20px 0 12px;line-height:1.2}

/* One journey, with stable context across all stages. */
[hidden]{display:none!important}
.plan-context{overflow-wrap:anywhere}.plan-context b,.plan-context span{display:block}
.analysis-section{margin:28px 0 44px;scroll-margin-top:20px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}
.section-heading h2{font-size:28px;font-weight:500;margin:8px 0;letter-spacing:-.6px}
.section-heading p,.work-card>p{font-size:15px;line-height:1.65;color:#617354}
.flow-notice{padding:16px 20px;margin:16px 0 24px;border:1px solid #d5e1c6;border-radius:12px;background:#edf3e4;color:#425a37;font-size:14px;line-height:1.65;overflow-wrap:anywhere}
.flow-notice:empty{display:none}.flow-notice .plain-button{display:block;margin-top:8px}
#conditions-results .work-heading{margin:24px 0}#conditions-results .work-heading h3{font-size:24px;margin-bottom:10px}
#conditions-results .work-heading p{font-size:15px;line-height:1.65;color:#617354}
#analysis-gate h2,#plan-gate h2{font-size:25px;margin-bottom:12px}
#analysis-gate .primary-button,#plan-gate .primary-button,#plan-gate .soft-button{margin-top:18px}
.form-fields small{font-size:12px;line-height:1.6;color:#66765b}
input[readonly]{background:#e8eddf;color:#5b6d4d}
button:disabled{cursor:not-allowed;opacity:.6}
@media(max-width:720px){.section-heading{align-items:flex-start;flex-direction:column;gap:12px}.section-heading h2{font-size:25px}.analysis-section{margin-bottom:32px}.flow-notice{padding:14px}.review-layout>*{min-width:0}#conditions-results .condition-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.result-meta{overflow-wrap:anywhere}.work-card{min-width:0}.plan-context{max-width:100%}}

.condition-evidence{margin:24px 0;border:1px solid #d5e1c6;border-radius:12px;padding:18px 20px}.condition-evidence>summary{cursor:pointer;font-weight:500;font-size:15px}.condition-evidence .findings-heading{margin:24px 0}.processing-view{min-height:370px}

.workspace-heading .plan-context{text-align:left;display:grid;gap:8px;color:#6d7d60}.plan-metric h2,.condition-card h2{letter-spacing:-.2px}.workspace-heading .plan-context b{font-weight:500;color:#334e2f}
