.journey{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:0 0 28px}.journey li{display:flex;align-items:center;gap:10px;color:#746987;padding:14px;border-radius:12px;background:#f4f1f8;font-size:.88rem}.journey li[aria-current]{background:#e9e2f7;color:#40325f;font-weight:650}.journey li.done{background:#edf5f0;color:#385448}.journey li>span{width:27px;height:27px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:#fff}.starter-banner{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:center;padding:28px;border-radius:18px;background:#f1edf9;margin-bottom:26px}.starter-banner h2{margin:8px 0 10px}.starter-banner p{max-width:560px}.starter-banner img,.getting-started img,.guide-heading img{width:100%;height:auto}.starter-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.8fr);gap:24px;align-items:start}.getting-started h2{font-size:1.2rem;margin-top:20px}.getting-started p,.guided-settings p{line-height:1.65}.guided-settings>section{margin-bottom:24px}.guided-settings fieldset{border:0;padding:0;margin:24px 0}.guided-settings legend{font-weight:650;margin-bottom:8px}.guided-settings .field{margin-bottom:18px}.guided-settings #route{width:100%}.guided-settings details{margin-top:20px}.saved-details{margin-top:22px}.admin-switch{padding:16px;border:1px dashed #d5cbe5;border-radius:12px}.result-file{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 0;border-bottom:1px solid #eee8f3;text-decoration:none}.result-file strong,.result-file small{display:block;overflow-wrap:anywhere}.result-file small{color:#71657f;margin-top:5px}.result-file:last-child{border-bottom:0}.result-notes{border-left:4px solid #aa8150}.guide-intro{font-size:1.2rem;max-width:650px}.guide-jumps{display:flex;flex-wrap:wrap;gap:12px;margin:32px 0}.guide-jumps a{padding:10px 14px;background:#f3effb;border-radius:9px}.guide-chapter{scroll-margin-top:24px;padding:36px 0;border-top:1px solid #e5dfee}.guide-heading{display:grid;grid-template-columns:minmax(0,1fr) 270px;align-items:center;gap:24px;margin-bottom:24px}.guide-heading h2{margin:8px 0!important}.guide-callout{padding:20px;background:#edf5f0;border-radius:12px;margin:24px 0}.guide-callout p:last-child{margin-bottom:0}.guide-instructions{padding-left:24px}.guide-instructions li{padding:8px 0 8px 8px;line-height:1.7}.guide-glossary{display:grid;gap:16px}.guide-glossary dt{font-weight:650}.guide-glossary dd{margin:6px 0;line-height:1.65}.legal-main:has(.guide-intro) .legal-copy{max-width:1000px}.guide-chapter th,.guide-chapter td{white-space:normal}.result-notes h2{font-size:1.25rem}.guided-settings .ai-panel>p{max-width:760px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #8470bd;outline-offset:4px}
@media(max-width:760px){.starter-grid,.starter-banner{grid-template-columns:1fr}.starter-banner img{display:none}.journey{gap:6px}.journey li{padding:10px 7px;flex-direction:column;text-align:center;gap:6px;font-size:.75rem}.guide-heading{grid-template-columns:1fr}.guide-heading img{max-width:340px}.guide-jumps{flex-direction:column}.guided-settings .ai-review-table{min-width:0;display:block}.guided-settings .ai-review-table thead{display:none}.guided-settings .ai-review-table tbody,.guided-settings .ai-review-table tr,.guided-settings .ai-review-table th,.guided-settings .ai-review-table td{display:block}.guided-settings .ai-review-table tr{border:1px solid #ddd3e9;padding:12px;border-radius:12px;margin-bottom:12px}.guided-settings .ai-review-table td,.guided-settings .ai-review-table th{border:0;padding:8px 0}.guided-settings .ai-review-table td:nth-child(3)::before{content:'AI suggestion: ';font-weight:650}.guided-settings .ai-review-table select{max-width:none}.guided-settings .ai-review-table td:first-child{float:right}.guided-settings .ai-review-table td:last-child{clear:both}.starter-banner{padding:22px}.review-settings-summary{grid-template-columns:1fr 1fr}.guide-instructions{padding-left:20px}}
/* A step remains mounted for data preservation, but only the current one is shown. */
[data-flow-step][hidden],[data-flow-back][hidden],[data-flow-next][hidden]{display:none!important}.flow-status{font-size:.9rem;font-weight:650;color:#5b4789;background:#ede7f7;border-radius:12px;padding:14px 18px;margin:0 0 24px}.flow-actions{display:flex;justify-content:space-between;gap:14px;margin:24px 0}.flow-actions>[data-flow-next]{margin-left:auto}#analysis-flow{max-width:1040px}#analysis-flow [data-flow-step]{scroll-margin-top:24px}#analysis-flow .run-bar{position:static;margin-top:24px;box-shadow:none}#analysis-flow .run-bar .actions{flex-wrap:wrap}#analysis-flow .run-bar .actions .button{white-space:normal}#analysis-flow h2:focus,#protocol-flow h2:focus{outline:none}.ai-proposal-summary{background:#f4f0fa;border-radius:12px;padding:20px;margin-top:20px}.ai-edit-options{margin:20px 0}.review-current-step{padding:22px 26px;background:#eee8f8;border-radius:14px;margin:20px 0 24px}.review-current-step h2{margin:6px 0 8px}.review-current-step p:last-child{margin-bottom:0;max-width:750px}.review-all-steps{margin-bottom:18px}.review-all-steps nav{margin-top:16px}.review-stage-actions{display:flex;gap:16px;flex-wrap:wrap;align-items:center;margin:30px 0}.review-stage-actions>.help{flex-basis:100%}.review-topline details{margin-left:auto}.review-start p{max-width:720px}#protocol-flow>form>fieldset{border:0;padding:0;margin:0}#protocol-summary dd{white-space:pre-line}#protocol-flow [data-flow-step]>.field{margin-bottom:20px}.review-workflow-choice details h2{margin-top:20px}.review-workflow-choice:has(details:not([open])){padding:18px 24px}@media(max-width:600px){.review-current-step{padding:20px}.review-stage-actions{flex-direction:column;align-items:stretch}.flow-actions .button{white-space:normal}.review-topline details{margin-left:0}#analysis-flow .run-bar{display:block}#analysis-flow .run-bar .actions{margin-top:16px}.ai-proposal-summary{padding:16px}}
