.pilot-page{max-width:1560px;margin:auto;padding:2.4rem clamp(1rem,3vw,3rem) 4rem}.pilot-page-heading{max-width:800px;margin-bottom:2rem}.pilot-page-heading h1{letter-spacing:-.04em;margin:.7rem 0 1rem;font-size:clamp(2rem,3.3vw,3rem);line-height:1.12}.pilot-page-heading>p:last-child{color:hsl(var(--muted-foreground));font-size:.95rem;line-height:1.8}.tour{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:10px;overflow:hidden}.tour button{cursor:pointer}.tour button:focus-visible,.tour a:focus-visible{outline:3px solid hsl(var(--primary));outline-offset:4px}.tour button:disabled{opacity:.45;cursor:default}.tour-topbar{border-bottom:1px solid hsl(var(--border));justify-content:space-between;align-items:center;padding:1rem 1.4rem;font-size:.75rem;display:flex}.tour-topbar>div{align-items:center;gap:.7rem;display:flex}.tour-topbar>div>span{color:hsl(var(--muted-foreground));border-left:1px solid hsl(var(--border));padding-left:.7rem}.tour-topbar>button{align-items:center;gap:.5rem;display:flex}.tour-topbar i{background:hsl(var(--primary));border-radius:50%;width:7px;height:7px}.tour-layout{grid-template-columns:245px minmax(0,1fr);display:grid}.tour-index{background:hsl(var(--muted) / .3);border-right:1px solid hsl(var(--border));padding:1.5rem .85rem}.tour-index>.eyebrow{margin-bottom:1.2rem;padding:0 .7rem;font-size:.6rem}.tour-index nav{gap:.3rem;display:grid}.tour-index nav button{text-align:left;border-radius:5px;align-items:center;gap:.7rem;min-height:44px;padding:.7rem;font-size:.75rem;display:flex}.tour-index nav button>span:first-child{min-width:20px;color:hsl(var(--muted-foreground));font-family:monospace;font-size:.68rem;display:flex}.tour-index nav button>span:nth-child(2){flex:1}.tour-index nav button[aria-current]{background:hsl(var(--primary) / .1);color:hsl(var(--primary));font-weight:600}.tour-progress{color:hsl(var(--muted-foreground));padding:1.3rem .7rem;font-size:.65rem}.tour-progress progress{width:100%;height:4px;accent-color:hsl(var(--primary));margin-top:.8rem;display:block}.tour-case{border-top:1px solid hsl(var(--border));gap:.6rem;margin:0 .7rem;padding-top:1.5rem;display:grid}.tour-case small{letter-spacing:.12em;color:hsl(var(--muted-foreground));font-size:.6rem}.tour-case strong{font-size:.82rem}.tour-case p{color:hsl(var(--muted-foreground));font-size:.68rem;line-height:1.8}.tour-main{min-width:0;padding:clamp(1rem,2.5vw,2.4rem)}.tour-lesson-heading{max-width:730px}.tour-lesson-heading .eyebrow{font-size:.63rem}.tour-lesson-heading .eyebrow span{color:hsl(var(--muted-foreground));margin-left:.5rem}.tour-lesson-heading h2,.tour-finish h2{letter-spacing:-.03em;margin:.8rem 0 1rem;font-size:clamp(1.6rem,2.5vw,2.2rem);line-height:1.15}.tour-lesson-heading>p:last-child{color:hsl(var(--muted-foreground));font-size:.9rem;line-height:1.85}.tour-lesson-body{grid-template-columns:.9fr 1.1fr;align-items:start;gap:1.8rem;margin:1.8rem 0;display:grid}.tour-explainer p{font-size:.8rem;line-height:1.85}.tour-case-context>span{letter-spacing:.12em;color:hsl(var(--primary));font-size:.6rem;font-weight:600}.tour-case-context>p{margin-top:.7rem}.tour-notice{border-top:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));gap:.7rem;margin-top:1.2rem;padding-top:1.1rem;display:flex}.tour-notice svg{color:hsl(var(--primary));flex-shrink:0;margin-top:.25rem}.tour-notice p{font-size:.73rem}.tour-source{color:hsl(var(--primary));align-items:center;gap:.4rem;margin-top:1.1rem;font-size:.65rem;display:inline-flex}.tour-visual{border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:6px;min-width:0;overflow:hidden}.tour-capture-label{letter-spacing:.05em;border-bottom:1px solid hsl(var(--border));color:hsl(var(--muted-foreground));justify-content:space-between;align-items:center;gap:.7rem;padding:.7rem .9rem;font-size:.55rem;display:flex}.tour-capture-label button{color:hsl(var(--primary));letter-spacing:0;min-height:28px;font-size:.6rem}.tour-visual img{object-fit:contain;background:#fff;width:100%;max-height:370px;display:block}.tour-visual figcaption{color:hsl(var(--muted-foreground));border-top:1px solid hsl(var(--border));padding:.65rem .9rem;font-size:.6rem;line-height:1.6}.tour-wide{grid-template-columns:1fr}.tour-wide .tour-explainer{grid-template-columns:1fr 1fr;gap:1.5rem;display:grid}.tour-wide .tour-notice{border:0;margin:0;padding:0}.tour-wide .tour-source{grid-column:1/-1;margin:0}.tour-workbench{border:1px solid hsl(var(--border));border-radius:6px;margin:1.8rem 0;overflow:hidden}.tour-workbench-heading{border-bottom:1px solid hsl(var(--border));background:hsl(var(--muted) / .25);justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.2rem;display:flex}.tour-workbench-heading .eyebrow{color:hsl(var(--primary));font-size:.55rem}.tour-workbench-heading h3{margin-top:.25rem;font-size:.92rem}.tour-workbench-heading>span{color:hsl(var(--muted-foreground));font-size:.6rem}.tour-workbench-grid{grid-template-columns:1fr 1fr;display:grid}.tour-inputs{border-right:1px solid hsl(var(--border));gap:1rem;padding:1.2rem;display:grid}.tour-inputs label{gap:.5rem;font-size:.75rem;display:grid}.tour-inputs input:not([type=checkbox]),.tour-inputs select{border:1px solid hsl(var(--border));background:hsl(var(--background));color:hsl(var(--foreground));width:100%;min-width:0;font:inherit;border-radius:4px;padding:.65rem}.tour-inputs .tour-urgent{align-items:center;gap:.7rem;display:flex}.tour-urgent input{accent-color:hsl(var(--primary));width:18px;height:18px}.tour-urgent strong{color:hsl(var(--primary));font:12px monospace}.tour-output{background:hsl(var(--primary) / .035);flex-direction:column;justify-content:center;gap:.8rem;min-width:0;padding:1.2rem;display:flex}.tour-output small{letter-spacing:.1em;color:hsl(var(--muted-foreground));font-size:.55rem}.tour-output>code{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.8rem;line-height:1.9}.tour-output>p{overflow-wrap:anywhere;font-size:.7rem;line-height:1.7}.tour-output p code{white-space:pre-wrap}.tour-output .tour-empty{color:hsl(var(--destructive))}.tour-checkpoint{background:hsl(var(--muted) / .3);border:1px solid hsl(var(--border));border-radius:6px;padding:1.3rem}.tour-question-line{align-items:center;gap:.8rem;display:flex}.tour-question-line>span{border:1px solid hsl(var(--primary) / .35);width:26px;height:26px;color:hsl(var(--primary));border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-size:.8rem;display:flex}.tour-question-line h3{font-size:.85rem;line-height:1.6}.tour-options{flex-wrap:wrap;gap:.7rem;margin-top:1rem;display:flex}.tour-options button{text-align:left;border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:4px;align-items:center;gap:.6rem;min-height:44px;padding:.75rem 1rem;font-size:.75rem;line-height:1.5;display:flex}.tour-options button.is-correct{border-color:hsl(var(--primary));background:hsl(var(--primary) / .08);color:hsl(var(--primary))}.tour-options button.is-wrong{border-color:hsl(var(--destructive));background:hsl(var(--destructive) / .05)}.tour-answer>p{margin-top:1rem;font-size:.75rem;line-height:1.8}.tour-takeaway{color:hsl(var(--primary));align-items:start;gap:.6rem;display:flex}.tour-takeaway svg{flex-shrink:0;margin-top:.25rem}.tour-navigation{justify-content:space-between;align-items:center;gap:1rem;padding-top:1.6rem;display:flex}.tour-navigation>button{align-items:center;gap:.5rem;min-height:44px;font-size:.75rem;display:flex}.tour-navigation>span{color:hsl(var(--muted-foreground));text-align:center;max-width:200px;font-size:.6rem;line-height:1.7}.tour-scope{color:hsl(var(--muted-foreground));border-top:1px solid hsl(var(--border));margin-top:1.6rem;padding-top:1rem;font-size:.62rem;line-height:1.8}.tour-incomplete{color:hsl(var(--muted-foreground));margin-top:1rem;font-size:.7rem}.tour-flow{max-width:440px;margin:auto;padding:1.5rem}.tour-node{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:5px;gap:.4rem;padding:.8rem 1rem;display:grid}.tour-node small{letter-spacing:.08em;color:hsl(var(--muted-foreground));font-size:.5rem}.tour-node strong{font-size:.78rem}.tour-line{background:hsl(var(--border));width:1px;height:20px;margin:auto}.tour-decision{border-color:hsl(var(--primary) / .5)}.tour-branches{grid-template-columns:1fr 1fr;gap:.7rem;padding-top:1.2rem;display:grid}.tour-branch{border:1px dashed hsl(var(--border));opacity:.55;border-radius:5px;gap:.5rem;padding:.8rem;display:grid;position:relative}.tour-branch:before{content:"";background:hsl(var(--border));width:1px;height:1.2rem;position:absolute;top:-1.2rem;left:50%}.tour-branch small{font:11px monospace}.tour-branch strong{font-size:.7rem}.tour-branch>span{align-items:center;gap:.3rem;font-size:.55rem;display:flex}.tour-branch.is-active{opacity:1;border-style:solid;border-color:hsl(var(--primary));color:hsl(var(--primary));background:hsl(var(--primary) / .06)}.tour-finish{text-align:center;max-width:720px;margin:auto}.tour-finish>svg{color:hsl(var(--primary));margin:0 auto 1.3rem;display:block}.tour-finish>p:not(.eyebrow){color:hsl(var(--muted-foreground));font-size:.85rem;line-height:1.9}.tour-finish .tour-flow{text-align:left}.tour-finish-actions{flex-wrap:wrap;justify-content:center;gap:1rem;display:flex}.tour-modal{z-index:200;background:#0009;justify-content:center;align-items:center;padding:1.5rem;display:flex;position:fixed;inset:0}.tour-modal>section{border:1px solid hsl(var(--border));background:hsl(var(--card));width:100%;max-width:450px;color:hsl(var(--foreground));border-radius:8px;max-height:90dvh;padding:1.8rem;overflow:auto}.tour-modal h2{margin-bottom:1rem;font-size:1.3rem}.tour-modal p{font-size:.85rem;line-height:1.8}.tour-modal section>div:not(.tour-full-image){flex-wrap:wrap;justify-content:flex-end;gap:.8rem;margin-top:1.3rem;display:flex}.tour-modal>.tour-image-modal{max-width:1250px}.tour-close{align-items:center;gap:.5rem;margin-bottom:1rem;font-size:.8rem;display:flex}.tour-full-image{overflow:auto}.tour-full-image img{max-width:none;display:block}@media (width<=1100px){.tour-layout{grid-template-columns:210px minmax(0,1fr)}.tour-lesson-body{grid-template-columns:1fr}.tour-visual img{max-height:330px}.tour-navigation>span{display:none}}@media (width<=760px){.pilot-page{padding-top:1.5rem}.tour-topbar{padding:.85rem 1rem}.tour-topbar>div>span{display:none}.tour-layout{display:block}.tour-index{border:0;border-bottom:1px solid hsl(var(--border));padding:.8rem}.tour-index>.eyebrow,.tour-case{display:none}.tour-index nav{gap:.4rem;padding:.2rem;display:flex;overflow-x:auto}.tour-index nav button{flex:none;gap:.4rem;padding:.65rem}.tour-index nav button>span:nth-child(2){font-size:.67rem}.tour-index nav button>svg{display:none}.tour-progress{padding:.7rem .3rem 0}.tour-progress progress{margin-top:.5rem}.tour-main{padding:1.2rem}.tour-lesson-heading h2{font-size:1.75rem}.tour-wide .tour-explainer{display:block}.tour-wide .tour-notice,.tour-wide .tour-source{margin-top:1rem}.tour-workbench-grid{grid-template-columns:1fr}.tour-inputs{border:0;border-bottom:1px solid hsl(var(--border))}.tour-workbench-heading{display:block}.tour-workbench-heading>span{margin-top:.6rem;display:block}.tour-options{display:grid}.tour-options button{justify-content:space-between}.tour-checkpoint{padding:1rem}.tour-navigation{gap:.6rem}.tour-navigation .action{padding:.7rem .8rem}.tour-flow{padding:1rem}.tour-capture-label{font-size:.5rem}.tour-visual img{max-height:330px}}.tour-lesson-heading h2,.tour-finish h2{scroll-margin-top:110px}
