#modal.tutorial-dialog{width:min(1140px,calc(100vw - 40px));max-height:94dvh;padding:0;border:1px solid #60788d;border-radius:18px;overflow:auto;background:#fff}#modal.tutorial-dialog::backdrop{background:#081728c9;backdrop-filter:blur(7px)}.tutorial-top{display:flex;justify-content:space-between;align-items:center;padding:19px 26px 8px;gap:20px}.tutorial-brand{font-size:1.4rem;font-weight:750;letter-spacing:-.7px;color:#136c62;display:flex;align-items:center;gap:15px}.tutorial-brand>span{font-size:.875rem;font-weight:500;letter-spacing:0;color:#66778a;border-left:1px solid #d7e1e9;padding-left:15px}.tutorial-close{font-size:1.8rem;color:#77889a;line-height:1;padding:3px 8px}.tutorial-progress{display:flex;gap:9px;padding:6px 26px 16px}.tutorial-progress>button{flex:1;padding:8px 0}.tutorial-progress>button>span{display:block;height:4px;border-radius:3px;background:#e3eaf0}.tutorial-progress>button[aria-current]>span{background:#128374}.tutorial-progress>button:hover>span{background:#80bcb1}.tutorial-stage{display:grid;grid-template-columns:1.08fr 1fr;margin:0 20px;min-height:450px;border-radius:12px;overflow:hidden;background:#f8fafb}.tutorial-visual{background:#112c39;color:#f2f9fc;padding:29px 26px;display:flex;flex-direction:column;justify-content:center;min-width:0;position:relative;border:1px solid #294653;border-radius:12px}.tutorial-copy{padding:33px 30px 25px;display:flex;flex-direction:column;justify-content:center;min-width:0}.tutorial-copy .eyebrow{font-size:.75rem;margin:0 0 17px;color:#147869}.tutorial-copy #tutorial-title{font-size:clamp(1.75rem,2.6vw,2.3rem);line-height:1.15;letter-spacing:-1px;margin:0 0 20px;padding:0;outline:none}.tutorial-copy .tutorial-body{font-size:1rem;line-height:1.65;margin:0 0 22px;color:#455b6f}.tutorial-takeaway{font-size:1.08rem;line-height:1.5;color:#126b5f;border-left:3px solid #4db4a3;padding:0 0 0 15px;font-weight:650;margin-bottom:17px}.tutorial-copy .tutorial-detail{font-size:.875rem;line-height:1.65;color:#62758a;margin:0 0 18px}.tutorial-copy .tutorial-source{font-size:.75rem;line-height:1.6;color:#79889a;margin:0}.tutorial-source a{color:#526f86;text-underline-offset:3px}.tutorial-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:23px 26px}.tutorial-count{font-size:.8125rem;color:#8591a0}.tutorial-nav{display:flex;gap:10px;align-items:center}.tutorial-nav .primary{min-width:105px}.t-visual-caption{font-size:.75rem;font-weight:650;letter-spacing:1.5px;color:#9fb8c6;line-height:1.5;margin-bottom:26px}.t-person-hub{display:flex;flex-direction:column;align-items:center;text-align:center;padding:20px;border:1px solid #4d7c85;background:#1b424d;border-radius:14px;width:78%;margin:0 auto 28px;position:relative}.t-person-hub:after{content:'';position:absolute;bottom:-29px;height:28px;width:1px;background:#548b8a}.t-hub-mark{height:42px;width:42px;display:grid;place-items:center;border:1px solid #68cbb8;color:#8aefdb;border-radius:9px;font-size:1.4rem;margin-bottom:14px}.t-person-hub strong{font-size:1.1rem}.t-person-hub small{font-size:.8125rem;color:#b3d2d8;margin-top:6px}.t-three-branches{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;border-top:1px solid #548b8a;padding-top:24px}.t-three-branches>div{padding:12px 10px 8px;background:#1b3947;border:1px solid #365564;border-radius:8px;position:relative}.t-three-branches>div:before{content:'';position:absolute;top:-25px;height:24px;left:50%;width:1px;background:#548b8a}.t-three-branches span{display:block;color:#6dddd0;font-size:.75rem;margin-bottom:13px;font-weight:650}.t-three-branches strong{font-size:.875rem;display:block;line-height:1.4}.t-three-branches p{font-size:.75rem;line-height:1.6;color:#b4c9d5;margin:9px 0 0}.t-fragments{display:grid;gap:13px}.t-fragment{background:#1b3746;border:1px solid #36586a;border-radius:9px;overflow:hidden}.t-fragment>div{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#244756;padding:10px 13px;color:#d2e6ec;font-size:.75rem;font-weight:650;letter-spacing:.3px}.t-fragment>div>span{font-weight:400;letter-spacing:0;color:#99b6c5}.t-fragment code{display:block;padding:12px 13px;font-size:.8125rem;line-height:1.7;color:#94e1d0;overflow-wrap:anywhere}.t-fragment code em{font-style:normal;color:#e0c695}.t-bottom-message{font-size:.875rem;line-height:1.55;color:#c4d9e3;padding-top:20px}.t-node{padding:15px 13px;background:#203d4b;border:1px solid #416171;border-radius:9px;min-width:0;text-align:center;flex:1}.t-node>strong{font-size:.875rem;display:block;line-height:1.5}.t-node>small{display:block;font-size:.75rem;line-height:1.5;color:#b2c8d4;margin-top:5px}.t-node.t-node-accent{background:#1f514e;border-color:#5baf9e}.t-node-accent>strong{color:#b6f5dc}.t-flow{display:flex;align-items:center;gap:10px}.t-arrow{color:#70d7c3;font-size:1.4rem;flex-shrink:0}.t-app-boundary{border:1px dashed #7291a0;border-radius:12px;padding:18px}.t-boundary-label{display:block;font-size:.75rem;color:#b0c7d4;line-height:1.6;letter-spacing:.7px;margin-bottom:20px}.t-access-tag{font-size:.75rem;color:#80dfc5;margin:15px 0 0;text-align:center}.t-next-question{color:#cfdee5;text-align:center;margin:20px 0 13px;font-size:.875rem;line-height:1.6}.t-next-question>span{display:block;color:#748f9d;font-size:1.6rem;margin-top:6px}.t-destinations{display:flex;gap:10px}.t-destinations>.t-node{padding:12px 8px;border-style:dashed;background:#16313e}.t-destinations>.t-node>strong{font-size:.8125rem}.t-code-card{background:#203e4c;border:1px solid #4b6e7e;border-radius:10px;padding:17px 20px}.t-code-card>span{display:block;font-size:.75rem;font-weight:650;color:#a6bdca;letter-spacing:1.1px;margin-bottom:14px}.t-code-card code{color:#c9e0e7;font-size:.8125rem;line-height:1.8;overflow-wrap:anywhere}.t-code-card code b{color:#b0f0db;font-weight:500}.t-transform-stage{display:flex;align-items:center;justify-content:center;gap:15px;margin:14px 0;color:#a5e7d8}.t-transform-stage>div{text-align:center}.t-transform-stage strong{font-size:.95rem;display:block}.t-transform-stage small{font-size:.75rem;color:#a2bfcb;display:block;margin-top:5px}.t-signal{color:#78d7c3;font-size:1.6rem}.t-target{border-color:#4db899;background:#1c4947}.t-target>span{color:#9bd8c8}.t-target dl{margin:0}.t-target dl>div{display:flex;justify-content:space-between;gap:16px;padding:7px 0;border-top:1px solid #3b6963;font-size:.8125rem;line-height:1.6}.t-target dt{color:#b4d2cb}.t-target dd{color:#e0fbef;margin:0;text-align:right}.t-evidence-strip{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:.75rem;color:#acd7cd;margin-top:16px}.t-consent-card{background:#f5faf9;color:#224539;border-radius:12px;padding:20px;box-shadow:0 12px 25px #04151f25}.t-consent-heading{display:flex;align-items:center;gap:11px}.t-avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#d7ece3;font-size:.8125rem;color:#1b7261;flex-shrink:0}.t-consent-heading strong{font-size:.875rem}.t-consent-heading small{font-size:.75rem;display:block;color:#668277;margin-top:4px}.t-consent-purpose{padding:14px 0;margin:12px 0;border-top:1px solid #dce9e3;border-bottom:1px solid #dce9e3}.t-consent-purpose span{font-size:.75rem;letter-spacing:1px;display:block;color:#718b7f;margin-bottom:6px}.t-consent-purpose strong{font-size:.875rem;line-height:1.5}.t-check-line{display:flex;align-items:center;gap:10px;font-size:.8125rem;padding:6px 0;color:#325b4c}.t-check-line>span{height:19px;width:19px;background:#208571;color:white;display:grid;place-items:center;border-radius:4px;font-size:.75rem;flex-shrink:0}.t-unchecked{color:#7b8982}.t-unchecked>span{background:#e1e8e4;color:#7d8d83}.t-consent-seal{background:#dcefe4;border:1px solid #c9e3d5;color:#25724e;font-size:.75rem;line-height:1.5;padding:10px;margin-top:12px;border-radius:6px}.t-consent-flow{margin-top:21px;gap:8px}.t-consent-flow .t-node{padding:9px 7px}.t-consent-flow .t-node>strong{font-size:.75rem}.t-consent-flow .t-node>small{font-size:.75rem}.t-protocol-stack{display:grid;gap:12px}.t-stack-top,.t-stack-bottom{border:1px solid #436473;background:#1b3a49;border-radius:9px;padding:16px;text-align:center}.t-stack-top>span,.t-stack-bottom>strong{display:block;font-size:.875rem;font-weight:600}.t-stack-top>small,.t-stack-bottom>span{display:block;font-size:.8125rem;color:#acc5d0;margin-top:7px;line-height:1.6}.t-stack-hcp{border:1px solid #61c3aa;background:#204f4b;border-radius:11px;padding:21px}.t-stack-hcp>div:first-child{display:flex;align-items:center;gap:14px;margin-bottom:18px}.t-stack-hcp strong{font-size:2rem;color:#9aefcf;letter-spacing:-1px}.t-stack-hcp>div>span{font-size:.875rem;color:#c0e6d9}.t-contract-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.t-contract-grid>span{background:#2e6159;border:1px solid #4d8273;border-radius:6px;padding:10px 8px;text-align:center;font-size:.8125rem!important;color:#dbf4e9!important}.t-protocol-outcomes{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:22px;font-size:.8125rem;color:#b8d8d8}.t-protocol-outcomes b{color:#62b8a2}
@media(max-width:1000px){.tutorial-stage{grid-template-columns:1fr 1fr}.tutorial-copy{padding:27px 24px}.tutorial-visual{padding:23px 20px}.t-three-branches{gap:7px}.t-three-branches>div{padding:10px 8px}.t-destinations{gap:7px}.t-consent-heading small{font-size:.75rem}.t-consent-card{padding:17px}.tutorial-bottom{gap:12px}.tutorial-count{display:none}}
@media(max-width:760px){#modal.tutorial-dialog{width:calc(100vw - 24px);max-height:95dvh;border-radius:14px}.tutorial-top{padding:16px 18px 6px}.tutorial-brand{font-size:1.2rem;gap:10px}.tutorial-brand>span{font-size:.75rem;padding-left:10px}.tutorial-progress{padding:3px 18px 10px;gap:7px}.tutorial-stage{display:flex;flex-direction:column;margin:0 12px;min-height:0}.tutorial-copy{order:0;padding:23px 20px}.tutorial-visual{order:1;padding:24px 20px}.tutorial-copy #tutorial-title{font-size:1.8rem;margin-bottom:15px}.tutorial-copy .tutorial-body{font-size:.95rem;margin-bottom:17px}.tutorial-copy .tutorial-detail{margin-bottom:12px}.tutorial-takeaway{font-size:1rem}.tutorial-bottom{padding:17px 16px;position:sticky;bottom:0;background:#fff;border-top:1px solid #e0e8ee;z-index:1;flex-wrap:wrap}.tutorial-bottom>.text-button{font-size:.75rem}.tutorial-nav{gap:8px}.tutorial-nav .primary,.tutorial-nav .secondary-button{font-size:.8125rem;padding:10px 12px}.t-person-hub{max-width:300px}.t-visual-caption{margin-bottom:22px}.t-flow{gap:8px}.t-node{padding:13px 10px}}
@media(max-width:410px){.tutorial-brand>span{max-width:175px;line-height:1.4}.tutorial-top{gap:6px}.tutorial-bottom{justify-content:flex-end}.tutorial-bottom>.text-button{margin-right:auto}.tutorial-nav .primary,.tutorial-nav .secondary-button{padding:9px}.t-three-branches{grid-template-columns:1fr}.t-three-branches>div{padding:12px;display:grid;grid-template-columns:25px 1fr;gap:4px 8px}.t-three-branches>div:before{display:none}.t-three-branches span{grid-row:1/3;margin:0}.t-three-branches p{margin:0;grid-column:2}.t-three-branches strong{font-size:.875rem}.t-destinations{flex-wrap:wrap}.t-destinations .t-node{flex-basis:100%}.t-consent-flow{flex-direction:column}.t-consent-flow .t-node{width:100%}.t-consent-flow .t-arrow{transform:rotate(90deg)}.t-fragment>div{align-items:flex-start;flex-direction:column;gap:3px}}
@media(prefers-reduced-motion:no-preference){.tutorial-stage{animation:t-appear .2s ease-out}.t-transform-stage .t-signal{animation:t-pulse 2.4s ease-in-out infinite}.t-transform-stage .t-signal:last-child{animation-delay:.7s}@keyframes t-appear{from{opacity:.55;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes t-pulse{0%,100%{opacity:.45}50%{opacity:1}}}

/* The introduction uses the same paper and ink system as the workspaces. */
#modal.tutorial-dialog{background:var(--surface);border:1px solid #d6cfc1;border-radius:12px}#modal.tutorial-dialog::backdrop{background:#28251f80;backdrop-filter:blur(4px)}
.tutorial-brand{font-family:var(--serif);font-weight:400;color:var(--ink);font-size:1.6rem}.tutorial-brand>span{font-family:"Helvetica Neue",Arial,sans-serif;color:var(--muted);border-color:var(--line)}.tutorial-close{color:var(--muted)}.tutorial-progress>button>span{height:2px;background:#e3ddd1}.tutorial-progress>button[aria-current]>span{background:var(--accent)}.tutorial-progress>button:hover>span{background:#bc876c}
.tutorial-stage{background:var(--surface);border-radius:0;grid-template-columns:1fr 1.08fr}.tutorial-copy{padding:36px 34px}.tutorial-copy #tutorial-title{font-family:var(--serif);font-weight:400;font-size:clamp(2rem,2.8vw,2.65rem);line-height:1.13;letter-spacing:-.055rem}.tutorial-copy .eyebrow{color:var(--teal);font-weight:500;letter-spacing:.08em}.tutorial-copy .tutorial-body{color:#514d45;line-height:1.7}.tutorial-copy .tutorial-detail{color:#6e675c;line-height:1.65}.tutorial-copy .tutorial-source{color:#777064;font-size:.75rem}.tutorial-source a{color:#695c4c}.tutorial-takeaway{color:#85492f;border-left:2px solid #c88c6c;font-weight:500;font-size:1rem;padding-left:16px}.tutorial-bottom{background:var(--surface);border-color:var(--line)}.tutorial-count{color:var(--muted)}
.tutorial-visual{background:#eee7da;color:#36332c;border:0;border-radius:7px;padding:32px 28px}.t-visual-caption{color:#79705f;font-weight:500;letter-spacing:.08em}.t-person-hub{background:#f8f4eb;border-color:#c8b599;border-radius:6px;box-shadow:none}.t-person-hub strong{font-family:var(--serif);font-size:1.4rem;font-weight:400}.t-person-hub small{color:#756a59}.t-person-hub:after,.t-three-branches>div:before{background:#b6a68d}.t-hub-mark{background:#e8c9b1;border:0;color:#8f4f32;border-radius:5px;font-family:var(--serif)}
.t-three-branches{border-color:#b6a68d}.t-three-branches>div{background:#f7f2e8;border-color:#d1c5b3;border-radius:5px}.t-three-branches span{color:#a2694a}.t-three-branches strong{font-weight:500}.t-three-branches p{color:#706555}
.t-fragment{background:#f8f4ec;border-color:#d3c8b7;border-radius:5px}.t-fragment>div{background:#e4dbc9;color:#514737;font-weight:500}.t-fragment>div>span{color:#76664f}.t-fragment code{color:#715a40}.t-fragment code em{color:#957040}.t-bottom-message{color:#776b58}
.t-node{background:#f6f1e7;border-color:#cfc1ab;border-radius:5px}.t-node>strong{font-weight:500}.t-node>small{color:#766b59}.t-node.t-node-accent{background:#e9cfb9;border-color:#bb916e}.t-node-accent>strong{color:#714d34}.t-arrow,.t-signal{color:#a46e4c}.t-app-boundary{border-color:#b9aa91;border-radius:6px}.t-boundary-label{color:#796d5a}.t-access-tag{color:#8e5e3f}.t-next-question{color:#716652}.t-next-question>span{color:#a08d70}.t-destinations>.t-node{background:#eee7da}
.t-code-card{background:#f7f2e8;border-color:#cdbfa8;border-radius:6px}.t-code-card>span{color:#807059;font-weight:500}.t-code-card code{color:#5e5343}.t-code-card code b{color:#8a5739}.t-transform-stage{color:#8a5739}.t-transform-stage strong{font-weight:500}.t-transform-stage small{color:#7d6e57}.t-target{background:#e5ddc9;border-color:#b6a78b}.t-target>span{color:#726447}.t-target dl>div{border-color:#cabea4}.t-target dt{color:#716449}.t-target dd{color:#443d2d}.t-evidence-strip{color:#78674b}
.t-consent-card{background:#fffdf7;color:#413b2f;border:1px solid #d9cdbb;border-radius:7px;box-shadow:none}.t-avatar{background:#e8cfb6;color:#855735}.t-consent-heading small{color:#786a57}.t-consent-purpose{border-color:#e5ddcf}.t-consent-purpose span{color:#85745d}.t-check-line{color:#5d5445}.t-check-line>span{background:#8e7554}.t-unchecked{color:#867c6d}.t-unchecked>span{background:#e4dfd4;color:#8b8171}.t-consent-seal{background:#e9eddf;border-color:#d3dac2;color:#566341}
.t-stack-top,.t-stack-bottom{background:#f7f2e8;border-color:#cec0a9;border-radius:5px}.t-stack-top>small,.t-stack-bottom>span{color:#7d6c54}.t-stack-hcp{background:#e4c9ae;border-color:#bf9370;border-radius:6px}.t-stack-hcp strong{font-family:var(--serif);font-weight:400;color:#765033}.t-stack-hcp>div>span{color:#76573c}.t-contract-grid>span{background:#f1dfcb;border-color:#c7a98b;border-radius:4px;color:#76573c!important}.t-protocol-outcomes{color:#7a6348}.t-protocol-outcomes b{color:#af7951}
@media(max-width:760px){.tutorial-stage{display:flex}.tutorial-copy{padding:25px 20px}.tutorial-copy #tutorial-title{font-size:2rem}.tutorial-visual{padding:25px 20px}.tutorial-bottom{background:var(--surface)}.tutorial-copy .tutorial-body{font-size:1rem}}
@media(prefers-reduced-motion:no-preference){.t-transform-stage .t-signal{animation:none}}
/* Headline-first story with practical steps for each perspective. */
.tutorial-copy .tutorial-body{margin:0 0 24px;font-size:1.0625rem;line-height:1.65}.tutorial-copy #tutorial-title{margin-bottom:24px}.tutorial-stage{min-height:420px}.tour-views{display:grid;gap:13px}.tour-views>div{padding:19px 20px;background:#fcf8ef;border:1px solid #cdbfa8;border-radius:7px}.tour-views>div>span{display:block;color:#966340;font-size:.75rem;margin-bottom:6px}.tour-views strong{font-family:var(--serif);font-size:1.3rem;font-weight:400}.tour-views p{font-size:.875rem;color:#756b5c;margin:7px 0 0}.tour-task{background:#fcf8ef;border:1px solid #cdbfa8;border-radius:9px;padding:25px}.tour-identity{display:block;font-size:.875rem;border-bottom:1px solid #d9cdbb;padding-bottom:20px;margin-bottom:22px}.tour-identity small{display:block;margin-top:5px;color:#88755d}.tour-task h3{font-family:var(--serif);font-size:1.8rem;font-weight:400}.tour-task p{font-size:.875rem;color:#756b5c}.tour-task-row{display:flex;flex-direction:column;gap:5px;font-size:.875rem;padding:12px 0;border-top:1px solid #dfd4c3}.tour-task-row>span{font-size:.75rem;color:#827059}.tour-action{background:#302e28;color:#fffaf1;font-size:.875rem;padding:12px;border-radius:5px;margin-top:15px;text-align:center}.tour-journey{display:grid;gap:23px}.tour-journey>div{display:flex;gap:15px;align-items:flex-start;background:#fcf8ef;padding:24px 20px;border:1px solid #cdbfa8;border-radius:7px}.tour-journey>div>span{font-family:var(--serif);font-size:1.6rem;color:#a16f4c}.tour-journey strong{font-size:1rem;font-weight:500}.tour-journey p{font-size:.875rem;color:#756b5c;margin:7px 0 0}.tour-broker-flow{display:grid;gap:15px}.tour-broker{display:grid;gap:10px;text-align:center;background:#e1c4a7;border:1px solid #b68a65;padding:24px 18px;border-radius:7px}.tour-broker>span{font-family:var(--serif);font-size:1.8rem;color:#785134}.tour-broker>strong{font-size:.9375rem;font-weight:500;background:#faf4e8;padding:10px;border:1px solid #c4a17e;border-radius:5px}.tour-broker small{font-size:.8125rem;color:#795a3d}.tutorial-copy .tutorial-source{font-size:.8125rem}
@media(max-width:760px){.tutorial-copy .tutorial-body{font-size:1rem;margin-bottom:18px}.tutorial-copy #tutorial-title{margin-bottom:18px}.tutorial-stage{min-height:0}.tour-task{padding:21px}.tour-journey>div{padding:20px 16px}}
.diagnostic-sources{display:grid;gap:8px}.diagnostic-sources>div{padding:11px 15px;background:#fcf8ef;border:1px solid #cebea7;border-radius:6px}.diagnostic-sources span{display:block;font-size:.75rem;color:#8a6b4e;margin-bottom:3px}.diagnostic-sources strong{font-size:.9375rem;line-height:1.5;font-weight:500;display:block}.diagnostic-sources small{font-size:.75rem;color:#7c6d59;display:block}.diagnostic-broker{display:grid;gap:5px;background:#dfc09f;border:1px solid #b88e68;border-radius:7px;text-align:center;padding:15px;margin:12px 0}.diagnostic-broker strong{font-family:var(--serif);font-size:1.55rem;font-weight:400;color:#785135}.diagnostic-broker span{font-size:.8125rem;color:#725437}.diagnostic-target{background:#f9f4e9;border:1px solid #c5b397;border-radius:7px;padding:15px}.diagnostic-target>span{display:block;font-size:.75rem;color:#877052;margin-bottom:7px}.diagnostic-target>strong{font-size:.9375rem;font-weight:500}.diagnostic-target p{font-size:.8125rem;margin:8px 0}.diagnostic-target small{font-size:.75rem;color:#7a6a53}.tour-views{grid-template-columns:1fr 1fr}.tour-views>div{padding:20px 16px}.tour-views strong{font-size:1.15rem}.tutorial-visual:has(.diagnostic-sources){padding-top:22px;padding-bottom:22px}.tutorial-visual:has(.diagnostic-sources) .t-visual-caption{margin-bottom:13px}
@media(max-width:410px){.tour-views{grid-template-columns:1fr}.tour-views>div{padding:15px}.diagnostic-sources>div{padding:12px}.diagnostic-target{padding:13px}}
/* Compact the diagnostic slide without constraining small-screen reading. */
.tutorial-stage:has(.diagnostic-sources){min-height:0}.tutorial-stage:has(.diagnostic-sources) .tutorial-copy{padding:24px 30px}.tutorial-stage:has(.diagnostic-sources) #tutorial-title{font-size:clamp(1.75rem,2.6vw,2.3rem);margin-bottom:18px}.tutorial-stage:has(.diagnostic-sources) .tutorial-body{margin-bottom:16px;line-height:1.5}.tutorial-stage:has(.diagnostic-sources) .tutorial-detail{margin-bottom:0;font-size:.875rem;line-height:1.45}.tutorial-stage:has(.diagnostic-sources) .tutorial-visual{padding:18px 22px}.diagnostic-sources>div{padding:8px 12px}.diagnostic-broker{padding:10px;margin:9px 0}.diagnostic-target{padding:12px}
@media(min-width:761px){.tutorial-stage:has(.diagnostic-sources) .diagnostic-sources strong{line-height:1.3}.tutorial-stage:has(.diagnostic-sources) .diagnostic-sources small{line-height:1.3}.tutorial-stage:has(.diagnostic-sources) .diagnostic-target p{line-height:1.4}.tutorial-stage:has(.diagnostic-sources) .diagnostic-target small{line-height:1.3}.tutorial-stage:has(.diagnostic-sources) .diagnostic-broker{gap:0}.tutorial-stage:has(.diagnostic-sources) .diagnostic-broker strong{line-height:1.3}.tutorial-stage:has(.diagnostic-sources) .diagnostic-broker span{line-height:1.4}}
@media(min-width:761px){#modal:has(.diagnostic-sources) .tutorial-top{padding-top:12px;padding-bottom:0}#modal:has(.diagnostic-sources) .tutorial-progress{padding-bottom:8px}#modal:has(.diagnostic-sources) .tutorial-bottom{padding-top:14px;padding-bottom:14px}}

/* Keep navigation visible and let only the story scroll on shorter screens. */
#modal.tutorial-dialog{height:720px;max-height:calc(100dvh - 32px);overflow:hidden}
#modal.tutorial-dialog[open]{display:flex;flex-direction:column}
.tutorial-top,.tutorial-progress,.tutorial-bottom{flex-shrink:0}
#modal.tutorial-dialog .tutorial-top{padding:12px 26px 2px}
#modal.tutorial-dialog .tutorial-progress{padding:2px 26px 10px}
#modal.tutorial-dialog .tutorial-bottom{padding:14px 26px;position:static}
.tutorial-stage{min-height:0;overflow-y:auto;overscroll-behavior:contain;flex:1 1 0}
.tutorial-visual{padding:22px 24px}
.tutorial-copy{padding:24px 28px}
.tutorial-copy #tutorial-title{font-size:clamp(1.8rem,2.6vw,2.4rem);margin-bottom:18px}
.tutorial-copy .eyebrow{margin-bottom:12px}
.tutorial-copy .tutorial-body{font-size:1rem;line-height:1.55;margin-bottom:16px}
.tutorial-copy .tutorial-body:last-child{margin-bottom:0}
.t-visual-caption{margin-bottom:18px}
.t-consent-card{padding:16px}
.t-consent-purpose{padding:10px 0;margin:9px 0}
.t-check-line{padding:4px 0}
.t-consent-seal{padding:8px 10px;margin-top:9px}
.t-consent-flow{margin-top:15px}
.tour-views{gap:10px}
.tour-views>div{padding:14px 16px}
.tour-task{padding:18px}
.tour-identity{padding-bottom:13px;margin-bottom:14px}
.tour-task-row{padding:9px 0}
.tour-action{padding:10px;margin-top:12px}
.tour-journey{gap:14px}
.tour-journey>div{padding:16px}
.tour-broker-flow{gap:12px}
.tour-broker{padding:16px 18px}
.t-person-hub{padding:15px}
.t-hub-mark{margin-bottom:10px}
@media(max-height:700px) and (min-width:761px){
 .tutorial-visual{padding-top:16px;padding-bottom:16px}
 .tutorial-copy{padding-top:18px;padding-bottom:18px}
 .tutorial-copy #tutorial-title{font-size:clamp(1.75rem,2.4vw,2.15rem)}
 .t-visual-caption{margin-bottom:12px}
}
@media(max-width:760px){
 #modal.tutorial-dialog{max-height:calc(100dvh - 24px)}
 #modal.tutorial-dialog .tutorial-top{padding:12px 18px 2px}
 #modal.tutorial-dialog .tutorial-progress{padding:2px 18px 8px}
 #modal.tutorial-dialog .tutorial-bottom{padding:12px 16px;gap:10px}
 .tutorial-stage>.tutorial-copy,.tutorial-stage>.tutorial-visual{flex-shrink:0;padding:20px}
 .tutorial-copy #tutorial-title{font-size:1.8rem}
}

/* Reserve room for the final-step label without shifting Previous. */
.tutorial-nav .primary{width:12rem;min-height:44px;flex-shrink:0;white-space:nowrap}
