@font-face{font-family:Inter;src:url('/_fonts/inter-latin.woff2') format('woff2');font-display:swap}:root{--ink:#07182d;--muted:#4a617b;--paper:#f5f9ff;--surface:#fff;--line:#ccdef0;--blue:#076ed3;--sky:#076ed3;--nav:#031d34;--nav2:#0a2948;--navtext:#dfedff;--success:#00875e;--mono:Consolas,'Cascadia Code','SFMono-Regular',monospace;--rail:260px;--header:64px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;color:var(--ink);background:var(--paper);font:14px/1.65 Inter,Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,textarea,select,summary{touch-action:manipulation}button{cursor:pointer}a{color:#076ed3;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:3px}button{border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:5px;padding:9px 12px;font-weight:600}button:hover{border-color:#508acf}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #279df3;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:32px;line-height:1.18;letter-spacing:-1.1px;margin-bottom:15px;font-weight:750}h2{font-size:18px;line-height:1.35;letter-spacing:-.35px}h3{font-size:15px;line-height:1.4}p{margin-bottom:14px}pre,code{font-family:var(--mono)}code{font-size:.94em}.ui-icon{vertical-align:middle;flex-shrink:0;display:inline-block}.brand{display:flex;gap:10px;align-items:center;white-space:nowrap;color:white;font-size:21px;font-weight:700;letter-spacing:-.5px}.brand img{width:43px;height:48px;object-fit:contain}.brand:hover{text-decoration:none}.desktop-nav a.active{font-weight:700;color:white}.desktop-nav a.active:after{content:'';position:absolute;bottom:0;height:3px;left:0;right:0;background:var(--sky)}.header-actions [data-menu-toggle]{display:none}.is-complete:after{content:'✓';margin-left:auto;color:#21d4a0}.lesson-pane{padding:24px 25px 30px;min-width:0;overflow-wrap:anywhere}.breadcrumb{display:flex;align-items:center;gap:9px;font-size:12px;color:#3e5981;margin-bottom:26px;flex-wrap:wrap}.breadcrumb .ui-icon{width:13px;height:13px}.lead{font-size:14px;line-height:1.7;margin-bottom:20px;color:#263f60}.teaching-steps li:before{content:counter(step);position:absolute;left:0;top:0;width:40px;height:40px;border-radius:50%;background:#d8eaff;color:#004497;display:grid;place-items:center;font-size:24px;font-weight:700}.reasoning-check [data-reason-feedback]:not(:empty){padding:10px;background:#d8f5e9;border-radius:5px;font-weight:600;color:#005e42;margin:10px 0 0}.lab-tabs button[aria-selected=true]{border-bottom-color:var(--sky);color:white}.console-actions [data-execute]{background:var(--blue);border-color:#1681fc;color:white;font-weight:700}.pipeline-stages:empty{display:none}.pipeline-panel [data-flow-idle]{font-size:12px;color:#a0bbd6;margin:0}[data-state=success] .console-status{color:#2ee3ab}[data-state=error] .console-status{color:#ffb4a7}.console-lab [data-lab-view=data],.console-lab [data-lab-view=help]{padding:18px;min-height:420px;border:1px solid #194765}.console-lab [data-lab-view] p{font-size:13px;color:#b9cde6}.primary:hover{background:#0042c5;text-decoration:none}.resource-panel [role=tablist]{display:flex;border-bottom:1px solid var(--line);flex-wrap:wrap}.resource-panel [role=tab]{border:0;background:transparent;border-bottom:2px solid transparent;border-radius:0;font-size:12px;padding:12px}.resource-panel [aria-selected=true]{color:#004df4;border-bottom-color:var(--blue)}.resource-panel>div:not([role=tablist]){padding:16px}.article-section{padding:18px 0;border-bottom:1px solid var(--line)}.article-section h2{font-size:18px;margin-bottom:12px}.article-section h3{margin:17px 0 9px}.article-section p,.article-section li{font-size:13px;overflow-wrap:anywhere}.article-section table{border-collapse:collapse;max-width:100%;font-size:12px}.article-section th,.article-section td{border-bottom:1px solid var(--line);padding:7px;text-align:left;overflow-wrap:anywhere}.article-section ul,.article-section ol{padding-left:22px}[data-catalog-count]{font-size:12px;color:var(--muted);margin-top:12px}.tool-panel textarea,.tool-panel select,.tool-panel input:not([type=checkbox]){width:100%;padding:10px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:5px}.search-panel [data-search-results]{max-height:60vh;overflow:auto}.search-panel [data-search-results] a{display:block;padding:12px 20px;border-bottom:1px solid var(--line);font-size:13px}.search-panel [data-search-results] span{display:block;color:var(--muted);font-size:11px}.search-panel [data-search-results] p{padding:20px}.skip-link:focus{top:8px}[hidden]{display:none!important}@keyframes stage{from{opacity:.6;transform:translateY(3px)}to{opacity:1;transform:none}}@media(min-width:1700px){:root{--rail:280px}.lesson-pane{padding:28px 32px}.console-lab{padding:20px}.workspace{grid-template-columns:minmax(400px,39%) minmax(0,1fr)}.directory-view{grid-template-columns:minmax(0,1fr) 370px}.editor-wrap textarea{min-height:170px}.scenario p,.teaching-steps p{font-size:14px}.teaching-steps li{margin-bottom:28px}h1{font-size:36px}}@media(max-width:1370px){:root{--rail:225px}.site-header{gap:13px;padding:0 16px}.brand{font-size:18px}.desktop-nav{gap:16px}.header-actions [data-search-open] span,.header-actions kbd{display:none}.workspace{grid-template-columns:minmax(320px,42%) minmax(0,1fr)}.lesson-pane{padding:22px 20px}.sample-label{font-size:10px;padding:6px 10px}.lab-tabs button{padding:11px 10px}.shortcut{display:none}.directory-view{grid-template-columns:minmax(0,1fr) 280px}.console-actions button{padding:8px 10px}.variation{align-items:start;flex-wrap:wrap}.variation .primary{margin-left:0}}@media(max-width:1080px){:root{--rail:210px}.desktop-nav{gap:13px}.desktop-nav a{font-size:12px}.desktop-nav a:last-child{display:none}.brand{font-size:16px}.brand img{width:34px}.workspace{grid-template-columns:minmax(0,1fr)}.lab-pane{border-left:0}.lesson-pane{padding:24px}.directory-view{grid-template-columns:minmax(0,1fr)}.directory-view .lab-pane{display:block}.teaching-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.teaching-steps li{padding:47px 0 0;margin:0}.reasoning-check{max-width:700px}.console-lab{padding:20px}.sample-label{margin-left:auto}.editor-wrap textarea{min-height:125px}}@media(max-width:760px){:root{--header:58px;--rail:0px}.site-header{gap:8px;padding:0 12px}.brand{font-size:17px;letter-spacing:-.4px}.brand img{width:34px;height:40px}.desktop-nav{display:none}.header-actions [data-menu-toggle]{display:flex}.header-actions button{min-width:35px;min-height:36px;padding:7px}.header-actions [data-search-open] span,.header-actions kbd{display:none}.course-rail{width:min(300px,85vw);transform:translateX(-101%);transition:transform .18s ease;top:58px;padding:20px}.course-rail.is-open{transform:translateX(0)}.rail-backdrop.is-open{display:block;position:fixed;inset:58px 0 0;z-index:32;background:#00132499;border:0;border-radius:0}.workspace,.site-footer{margin-left:0}.lesson-pane{padding:22px 18px}.breadcrumb{margin-bottom:18px;font-size:11px}h1{font-size:29px;letter-spacing:-.8px}.teaching-steps{display:block;margin:20px 0}.teaching-steps li{padding:0 0 0 52px;margin-bottom:20px;min-height:62px}.teaching-steps li:before{width:36px;height:36px;font-size:21px}.teaching-steps p{font-size:13px}.scenario{margin:16px 0}.scenario p{font-size:13px}.lab-pane{display:contents}.console-lab{padding:14px}.lab-tabs{gap:0}.lab-tabs button{font-size:12px;padding:11px 10px}.sample-label{width:100%;margin:0;padding:6px 10px;border-top:1px solid #194765}.line-numbers{padding:14px 8px;font-size:12px}.editor-wrap textarea{font-size:12px;min-height:124px;padding:14px 8px 14px 0}.console-actions{gap:6px}.console-actions button{font-size:11px;padding:9px 10px}.output-head{padding:10px 12px}.console-status{margin-left:0;width:100%}.console-output{margin:9px 10px;font-size:12px;padding:12px;min-height:108px}.pipeline-stages li{min-width:130px}.pipeline-stages{gap:8px}.pipeline-panel{padding:12px}.variation{margin:14px}.resource-panel{margin:0 14px 20px}.resource-panel [role=tab]{font-size:11px;padding:12px 9px}.site-footer{padding:20px 18px;gap:18px}.builder-controls{grid-template-columns:1fr}.study-note,.new-labs{padding:20px}.reasoning-check button{font-size:13px}.article-section p,.article-section li{font-size:14px}.lesson-actions{padding:12px 0}.directory-view .lab-pane{display:block}.search-sheet{padding-top:70px}}@media(max-width:360px){.brand{font-size:14px}.brand img{width:28px}.header-actions{gap:4px}.header-actions button{min-width:31px;padding:5px}.site-header{padding:0 9px;gap:5px}.lesson-pane{padding:20px 14px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(max-width:760px){.lesson-pane>.console-lab{margin:20px -18px;width:calc(100% + 36px)}}@media(max-width:360px){.lesson-pane>.console-lab{margin:20px -14px;width:calc(100% + 28px)}}.use-example:hover{background:var(--soft)}.use-example:hover{background:var(--paper)}@media(min-width:1081px){.lab-pane{position:sticky;top:var(--header);max-height:calc(100vh - var(--header));overflow-y:auto;scrollbar-width:thin;scrollbar-color:#7792af transparent;overscroll-behavior:contain}}.study-guide li:before{content:counter(guide);position:absolute;left:0;top:0;font-size:12px;font-weight:700;color:var(--blue);border-bottom:2px solid #9ec9ff;width:20px;text-align:center}.page-guide a:hover{border-left-color:var(--blue);background:var(--paper)}@media(max-width:1080px){.lab-pane{position:static;max-height:none;overflow:visible}.study-guide,.page-guide,.guide-next{margin:0 14px 14px;border:1px solid var(--line);border-radius:5px}.directory-view .lab-pane{border-left:0}.directory-view .study-guide{margin-top:20px}}.stage-details:has(code:empty){display:none}.console-actions [hidden],.console-lab [hidden]{display:none!important}.console-lab[data-mode=recorded] .lab-intro strong{color:#f5d78b}.console-lab[data-mode=unsupported] .lab-intro strong{color:#ffc8a1}.header-actions [data-search-open] span{max-width:180px;overflow:hidden;text-overflow:ellipsis}@media(max-width:760px){.console-actions button{min-height:44px}.lab-intro{padding:2px 0 12px}}@font-face{font-family:'Newsreader';font-style:normal;font-weight:200 800;font-display:swap;src:url('/_fonts/newsreader-latin-var.woff2') format('woff2')}
/* Shared type scale: readable at lesson width and still compact in navigation. */
body{font-size:15px;line-height:1.68}h1,h2,h3,h4,.brand{font-family:'Newsreader',Georgia,'Times New Roman',serif}h1{font-size:clamp(31px,2.5vw,42px);line-height:1.1;letter-spacing:-1.45px;font-weight:760}h2{font-size:21px;line-height:1.3;letter-spacing:-.55px}h3{font-size:16px;line-height:1.4}.lead{font-size:15px;line-height:1.75}.article-section p,.article-section li{font-size:15px;line-height:1.75}.article-section h2{font-size:22px;line-height:1.3}.article-section h3{font-size:16px}

/* The landing page uses the curriculum rail as its navigation; the top link row is unnecessary there. */
body[data-homepage] .desktop-nav{display:none}body[data-homepage] .course-rail{display:block}body[data-homepage] .home-workspace{margin-left:var(--rail);max-width:none}body[data-homepage] .site-footer{margin-left:var(--rail)}
/* Full-width cheat sheet: the right column is a compact reference rail, never a console. */
.cheat-side-kicker{font-size:10px;letter-spacing:1.5px;font-weight:800;color:var(--blue);margin-bottom:8px}.cheat-download{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0;padding:11px 12px;border:1px solid var(--blue);border-radius:5px;background:#e7f1ff;color:#076ed3;font-size:12px;font-weight:750}.cheat-download:hover{text-decoration:none;background:#d6e8ff}.cheat-side-nav{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px 0;margin-bottom:20px}.cheat-side-nav a{display:block;padding:7px 0;font-size:12px}body.cheat-sheet-page #powershell-cheat-sheet>p:first-of-type{max-width:760px;color:var(--muted)}.cheat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}.cheat-grid-card{border:1px solid var(--line);border-radius:6px;background:var(--surface);padding:15px 15px 12px;min-width:0}.cheat-grid-card h3{margin:0 0 8px;font-size:14px}@media(max-width:1080px){body[data-homepage] .home-workspace{margin-left:var(--rail)}body[data-homepage] .site-footer{margin-left:var(--rail)}body.cheat-sheet-page .workspace{grid-template-columns:minmax(0,1fr) 280px}}@media(max-width:900px){.cheat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-copy{margin-left:0;width:100%}}@media(max-width:760px){body[data-homepage] .home-workspace,body[data-homepage] .site-footer{margin-left:0}.lesson-pane h1{font-size:31px}.article-section p,.article-section li{font-size:14px}body.cheat-sheet-page .workspace{grid-template-columns:minmax(0,1fr)}body.cheat-sheet-page .lesson-pane{padding-right:18px}body.cheat-sheet-page .cheat-sheet-side{position:static;max-height:none;border-left:0;border-top:1px solid var(--line);padding:22px 18px}.cheat-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.home-brandline img,.home-challenge:before,.home-challenge .console-lab[data-state=success] .output-panel,.home-challenge .console-lab[data-state=success] .stage-active .object-markers img{animation:none!important}.challenge-switch button{transition:none!important}}
/* v114 veteran pass: content-graph cross-links + version line */

/* audit pass: lab widget labels (not document headings) */
.console-lab [data-lab-view] .lab-subhead{font-size:16px;margin-bottom:16px}
/* Give reading space priority; consoles remain wide enough to edit. */
.sketch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.pattern-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.pattern-card{padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:8px;min-width:0}.pattern-card h3{margin-top:0}.pattern-card p{font-size:14px}.sketch-node.active{opacity:1;border-color:#299bff;background:#dceeff;color:#082b4b;transform:translateX(4px)}.sketch-card [data-sketch-caption]{min-height:52px;margin:16px 0 10px;font-size:14px}#rating-dialog::backdrop{background:#031425b8;backdrop-filter:blur(3px)}.rating-stars label:has(:checked){outline:2px solid var(--sky)}.home-challenge .console-status:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:7px;animation:terminal-ready 2.4s ease-in-out infinite}.home-challenge .console-lab [data-lab-view=data],.home-challenge .console-lab [data-lab-view=help]{min-height:0;max-height:360px;overflow:auto}@keyframes terminal-ready{50%{opacity:.35}}@media(max-width:1100px){.workspace,.workspace.directory-view{grid-template-columns:1fr}.lab-pane{position:static;max-height:none}.sketch-grid{grid-template-columns:1fr}}@media(max-width:760px){body.cheat-sheet-page .workspace{grid-template-columns:1fr}.pattern-grid{grid-template-columns:1fr}.rating-card{align-items:flex-start;flex-direction:column}.home-challenge .console-lab{margin:12px;width:calc(100% - 24px)}.home-challenge .editor-wrap textarea{height:110px;min-height:110px}.sketch-card{padding:18px}}@media(prefers-reduced-motion:reduce){.sketch-node{transition:none}.home-challenge .console-status:before{animation:none}}
/* PowerShell Genie — cheat sheet interactive demos (V114 tokens). */
.psg-demo{
  border:1px solid var(--line);border-radius:10px;background:var(--paper);
  margin-top:14px;overflow:hidden;
}.psg-demo__top{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  padding:12px 14px;border-bottom:1px solid var(--line);background:var(--surface);
}.psg-demo__code{font-family:var(--mono);font-size:12.5px;color:var(--ink);flex:1;min-width:200px}.psg-demo__run{
  background:var(--blue);border-color:var(--blue);color:#fff;
  border-radius:7px;padding:8px 14px;font-size:12.5px;font-weight:700;
}.psg-demo__run:hover{border-color:var(--blue)}.psg-demo__lanes{
  display:flex;gap:8px;flex-wrap:wrap;padding:12px 14px 4px;
}.psg-lane{
  font-family:var(--mono);font-size:11.5px;border:1px solid var(--line);
  background:var(--surface);border-radius:20px;padding:6px 12px;color:var(--ink);
  cursor:pointer;
}.psg-lane b{color:var(--blue);margin-right:6px}.psg-lane[aria-pressed="true"]{background:var(--nav);border-color:var(--nav);color:#fff}.psg-lane[aria-pressed="true"] b{color:var(--sky)}.psg-demo__out{padding:6px 14px 4px;overflow:auto}.psg-demo__note{font-size:11.5px;color:var(--muted);padding:0 14px 12px;margin:8px 0 0}.psg-demo__placeholder{font-size:12.5px;color:var(--muted);padding:14px 0}
/* quoting demo */
.psg-quote__btns{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 14px 0}.psg-quote__btns button{
  border:1px solid var(--line);background:var(--surface);border-radius:8px;
  padding:10px;font-family:var(--mono);font-size:12.5px;text-align:left;
}.psg-quote__btns button span{display:block;font-family:Inter,Arial,sans-serif;font-size:11px;color:var(--muted);margin-top:4px}.psg-quote__btns button[aria-pressed="true"]{border-color:var(--blue);box-shadow:0 0 0 2px color-mix(in srgb,var(--blue) 25%,transparent)}
/* object inspector */
.psg-obj{
  width:100%;display:flex;align-items:center;gap:12px;flex-wrap:wrap;text-align:left;
  border:1px solid var(--line);background:var(--surface);border-radius:8px;
  padding:12px 14px;margin-top:14px;
}.psg-obj b{font-family:var(--mono);font-size:13px}.psg-obj__type{
  font-family:var(--mono);font-size:11px;color:var(--muted);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1 1 100%;min-width:0;
}.psg-obj em{font-style:normal;font-size:11.5px;color:var(--blue);white-space:nowrap;flex-basis:100%}.psg-obj__props{margin-top:8px}.psg-obj__props table{width:100%;border-collapse:collapse;font-size:12.5px}.psg-obj__props td{padding:6px 8px;border-bottom:1px solid var(--line)}.psg-obj__props td:first-child{font-family:var(--mono);color:var(--blue);white-space:nowrap}
/* task table */

/* memory rules */
.psg-rules{list-style:none;padding:0;margin:14px 0 0;display:grid;gap:10px;counter-reset:psg-rule}.psg-rules li{
  display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start;
  border:1px solid var(--line);border-radius:8px;background:var(--surface);padding:12px 14px;
}.psg-rules li{counter-increment:psg-rule}
.psg-rules li::before{
  content:counter(psg-rule);
  width:24px;height:24px;border-radius:50%;background:var(--nav);color:#fff;
  display:grid;place-items:center;font-size:12px;font-weight:700;
}.psg-rules strong{display:block;font-size:13.5px}.psg-rules p{margin:2px 0 0;font-size:12.5px;color:var(--muted)}
/* copy button on code blocks */
.psg-code{position:relative}
/* ============ cheat sheet 3-column layout ============
   Desktop: shared fixed site rail | article | sticky "On this page" rail.
   This is the ONE coherent cheat-sheet layout: these selectors beat the
   legacy body.cheat-sheet-page 2-col rules in refinements.css, overrides.css
   and motion.css by specificity (0,3,1 vs 0,2,1), regardless of load order. */

/* right rail: On this page + PDF */
.cheat-toc{
  position:sticky;top:calc(var(--header) + 18px);align-self:start;
  max-height:calc(100vh - var(--header) - 36px);overflow:auto;
  padding:26px 2px 26px 24px;margin:0;min-width:0;
  border-left:1px solid var(--line);font-size:13px;
}.cheat-toc h2{font-size:17px;margin:8px 0 10px;letter-spacing:-.3px}.cheat-toc h3{font-size:13.5px;margin:0 0 8px}.cheat-toc p{font-size:12.5px;color:var(--muted);line-height:1.6}.cheat-toc .cheat-side-nav{display:grid;gap:2px;margin:0 0 20px;border:0;padding:0}.cheat-toc .cheat-side-nav a{
  display:block;padding:8px 10px;border-radius:6px;color:var(--ink);font-size:13px;
}.cheat-toc .cheat-side-nav a:hover{background:var(--surface);text-decoration:none}.cheat-toc .cheat-side-nav a.is-active{background:var(--nav);color:#fff}@media(max-width:1080px){
  body.cheat-sheet-page .workspace.cheat-sheet-workspace{
    grid-template-columns:minmax(0,1fr) 262px;gap:0 24px;
  }
}
/* mobile: On-this-page nav first, article second, site rail last (in flow) */
@media(max-width:760px){
  body.cheat-sheet-page .workspace.cheat-sheet-workspace{
    grid-template-columns:minmax(0,1fr);margin-left:0;gap:0;
  }
  body.cheat-sheet-page .cheat-sheet-workspace .cheat-toc{
    order:-1;position:static;max-height:none;overflow:visible;
    border-left:0;border-bottom:1px solid var(--line);padding:18px;
  }
  body.cheat-sheet-page .cheat-sheet-workspace .cheat-toc .cheat-side-nav{
    grid-template-columns:1fr 1fr;
  }
  body.cheat-sheet-page .cheat-sheet-workspace .lesson-pane{padding:22px 18px}
  body.cheat-sheet-page .cheat-sheet-workspace .course-rail{
    order:1;position:static;width:auto;max-width:none;transform:none;
    margin:0;padding:22px 18px;z-index:auto;
  }
  body.cheat-sheet-page .site-footer{margin-left:0}
}
/* ============ pipeline sketches (redrawn from the cheat-sheet PDF) ============ */
.pipe-sketch{
  border:1px solid var(--line);border-radius:12px;background:var(--surface);
  padding:20px 20px 16px;margin:0 0 22px;min-width:0;
}.pipe-sketch>small{
  display:block;font-size:10.5px;font-weight:800;letter-spacing:.14em;
  color:var(--blue);margin-bottom:6px;
}.pipe-sketch h3{margin:0 0 12px;font-size:16px;letter-spacing:-.3px}.pipe-sketch svg{display:block;width:100%;height:auto}.ps-base{opacity:1}.ps-step{opacity:.16;transition:opacity .55s ease}.ps-step.is-on{opacity:1}.ps-step.is-now .ps-box{stroke:var(--blue);stroke-width:3}.pipe-sketch__caption{font-size:13px;color:var(--ink);min-height:2.8em;margin:12px 0 10px;line-height:1.55}.pipe-sketch__controls{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 10px}.pipe-sketch__controls button{font-size:12.5px;padding:8px 14px;border-radius:7px}.pipe-sketch__controls button:disabled{opacity:.4;cursor:default}
/* sketch artwork: navy linework + blue accents, like the PDF */
.ps-box{fill:#ffffff;stroke:#243b5c;stroke-width:2}.ps-boxhi{fill:#dbe9fa;stroke:#1f6feb;stroke-width:2}.ps-funnel{fill:#eef4fb;stroke:#243b5c;stroke-width:2}.ps-lbl{font:600 13px Inter,Arial,sans-serif;fill:#243b5c}.ps-sub{font:500 11.5px Inter,Arial,sans-serif;fill:#4a617b}.ps-svg-code{font:12.5px Consolas,'Cascadia Code',monospace;fill:#0b3d91}.ps-line{stroke:#243b5c;stroke-width:2;fill:none;stroke-linecap:round}.ps-brace{stroke:#243b5c;stroke-width:2;fill:none;stroke-linecap:round}.ps-dim{stroke-dasharray:7 6}.ps-dot{fill:#1f6feb;offset-path:path('M40,196 C190,222 370,222 520,196');animation:psg-dotmove 3.4s ease-in-out infinite}@keyframes psg-dotmove{from{offset-distance:0%}to{offset-distance:100%}}@media (prefers-reduced-motion:reduce){
  .ps-step{transition:none}
  .ps-dot{animation:none}
}
/* ============ Mira v333: pipeline object-flow ============
   On Run, a flow pulse travels the stage lanes in sequence; filter lanes
   report their dropped count; result rows stagger in. Transform/opacity
   only. All instant under prefers-reduced-motion. */
.psg-lane{position:relative}.psg-lane.is-flow{border-color:var(--blue);box-shadow:0 0 0 3px color-mix(in srgb,var(--blue) 25%,transparent)}.psg-lane__dropped{font-size:10px;font-weight:700;color:var(--muted);font-style:italic;
  border:1px dashed var(--line);border-radius:999px;padding:1px 8px;margin-left:6px;white-space:nowrap}.psg-demo__out tbody tr.psg-row{opacity:0;transform:translateY(6px)}.psg-demo__out tbody tr.psg-row.in{opacity:1;transform:none;
  transition:opacity .3s cubic-bezier(.2,.8,.25,1),transform .3s cubic-bezier(.2,.8,.25,1)}.psg-demo__run .psg-dots{display:none;align-items:center;gap:4px;margin-left:6px}.psg-demo__run .psg-dots i{width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.25}.psg-demo__run.is-working .psg-dots{display:inline-flex}.psg-demo__run.is-working .psg-dots i{animation:psg-gdots 1.2s infinite}.psg-demo__run.is-working .psg-dots i:nth-child(2){animation-delay:.2s}.psg-demo__run.is-working .psg-dots i:nth-child(3){animation-delay:.4s}.psg-demo__run.is-working{pointer-events:none}@keyframes psg-gdots{0%,100%{opacity:.25;transform:none}50%{opacity:1;transform:translateY(-3px)}}@media (prefers-reduced-motion:reduce){
  .psg-demo__out tbody tr.psg-row{opacity:1;transform:none}
  .psg-demo__out tbody tr.psg-row.in{transition:none}
  .psg-demo__run.is-working .psg-dots i{animation:none}
  .psg-lane{animation:none}
}
/* Mira E: copy feedback pops */
.psg-code [data-psg-copy].psg-copied{animation:psg-copy-pop .25s cubic-bezier(.34,1.35,.4,1)}@keyframes psg-copy-pop{0%{transform:scale(1)}40%{transform:scale(1.12)}100%{transform:scale(1)}}
/* PowerShell Genie — motion layer (V114 rebuild).
   Scroll reveals, homepage entrances, animated sketch nodes, count-ups.
   Everything degrades to static under prefers-reduced-motion or no JS. */

/* scroll reveals (JS adds .js to <html>; without JS everything stays visible) */
html.js [data-reveal]{opacity:1;transform:none;transition:opacity .6s ease,transform .6s ease}html.js [data-reveal].is-in{opacity:1;transform:none}html.js [data-reveal="left"]{transform:translateX(-18px)}html.js [data-reveal="right"]{transform:translateX(18px)}html.js [data-reveal].is-in{transform:none}
/* homepage entrance */
html.js body[data-homepage] .home-intro>*{opacity:0;transform:translateY(18px);animation:psg-rise .7s cubic-bezier(.2,.8,.25,1) forwards}html.js body[data-homepage] .home-intro>*:nth-child(1){animation-delay:.02s}html.js body[data-homepage] .home-intro>*:nth-child(2){animation-delay:.1s}html.js body[data-homepage] .home-intro>*:nth-child(3){animation-delay:.18s}html.js body[data-homepage] .home-intro>*:nth-child(4){animation-delay:.26s}html.js body[data-homepage] .home-intro>*:nth-child(5){animation-delay:.34s}html.js body[data-homepage] .home-intro>*:nth-child(6){animation-delay:.42s}@keyframes psg-rise{to{opacity:1;transform:none}}
/* animated sketch nodes: the active step pulses softly */
.sketch-card.is-live .sketch-node.active::after{
  content:'';position:absolute;inset:-1px;border-radius:4px;pointer-events:none;
  border:2px solid var(--sky);opacity:0;animation:psg-pulse 1.6s ease-out infinite;
}@keyframes psg-pulse{0%{opacity:.9;transform:scale(1)}70%{opacity:0;transform:scale(1.04)}100%{opacity:0}}
/* count-up numbers */
[data-countup]{font-variant-numeric:tabular-nums}
/* pipeline stage lanes (cheat sheet demos) */
.psg-lane{animation:psg-lane-in .45s cubic-bezier(.2,.8,.25,1) backwards}@keyframes psg-lane-in{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:none}}
/* cheat sheet: left-hand menu layout */
body.cheat-sheet-page .cheat-side-nav a:hover{background:var(--surface);text-decoration:none}body.cheat-sheet-page .cheat-side-nav a.is-active{background:var(--nav);color:#fff}@media(max-width:1080px){
  body.cheat-sheet-page .workspace{grid-template-columns:220px minmax(0,1fr)}
}@media(max-width:760px){
  body.cheat-sheet-page .workspace{grid-template-columns:minmax(0,1fr)}
  body.cheat-sheet-page .cheat-sheet-side{
    order:-1;border-right:0;border-top:0;border-bottom:1px solid var(--line);
    padding:18px;position:static;max-height:none;
  }
  body.cheat-sheet-page .cheat-side-nav{grid-template-columns:1fr 1fr}
}@media (prefers-reduced-motion:reduce){
  html.js [data-reveal],
  html.js body[data-homepage] .home-intro>*{opacity:1;transform:none;animation:none;transition:none}
  .sketch-card.is-live .sketch-node.active::after{animation:none;display:none}
  .psg-lane{animation:none}
}
/* ============ v2: typography, hero, learn cards, fun path ============ */

/* display typography — tighter, bigger, more confident */
html.js body[data-homepage] .home-intro h1{
  letter-spacing:-.035em;line-height:1; font-weight:800;
  font-size:clamp(2.5rem,4vw,3.5rem);
  text-wrap:balance;
}main.directory-view .lesson-pane>h1:first-of-type{
  letter-spacing:-.032em;line-height:1.02;font-weight:800;
  font-size:clamp(2.3rem,4.2vw,3.6rem);
  text-wrap:balance;
}body .lesson-pane>h1:first-of-type{
  letter-spacing:-.03em;line-height:1.04;font-weight:750;
  font-size:clamp(2rem,3.4vw,2.8rem);
  text-wrap:balance;
}.home-intro .lead,.lesson-pane>.lead{
  font-size:clamp(1.08rem,1.6vw,1.28rem);line-height:1.62;
  color:var(--muted);max-width:34em;
}
/* ---- learn hub track cards ---- */
.track-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px -18px rgba(15,60,130,.28)}.track-card__lessons .course-row:hover{background:color-mix(in srgb,var(--blue) 6%,transparent);padding-left:10px}@media (max-width:700px){.track-card__lessons{grid-template-columns:1fr}}
/* ---- learning paths: vertical stepper (one numbered step per row) ---- */
.path-step:last-child{border-bottom:0}.path-step__link:hover{text-decoration:underline}
/* ---- homepage learning path: progress on the 4 steps ---- */
.home-path li:hover{transform:translateY(-4px);box-shadow:0 16px 34px -20px rgba(15,60,130,.35);border-color:color-mix(in srgb,var(--blue) 35%,var(--line))}.home-path li>span:first-child{
  font-size:1.6rem;font-weight:800;letter-spacing:-.03em;
  color:var(--blue);
}
/* reduced motion: kill transitions */
@media (prefers-reduced-motion:reduce){
  .track-card,.home-path li,.track-card__progress i,.psg-step-progress i{transition:none}
  .track-card:hover,.home-path li:hover{transform:none}
}

/* PowerShell Genie V114 — type pass (loads last, wins ties).
   One strong voice per page; everything else steps back.
   Headings were 750-800 everywhere, so nothing had hierarchy. */

/* The header nav duplicates the left rail on every page — remove it.
   Header keeps: logo, search, theme toggle, mobile menu button. */

/* --- headings: quiet and editorial --- */
h1 { font-weight: 650; letter-spacing: -0.02em; }h2 { font-weight: 600; letter-spacing: -0.015em; }h3 { font-weight: 600; }body .lesson-pane > h1:first-of-type { font-weight: 650; }main.directory-view .lesson-pane > h1:first-of-type { font-weight: 650; }.article-section h2,
.section-title h2 { font-weight: 600; }
/* homepage sheets load after this file, so these need the extra scope */
body[data-homepage] .home-path h2,
body[data-homepage] .home-library h2 { font-weight: 600; }
/* The home hero keeps a single display moment, but 800 was shouting. */
html.js body[data-homepage] .home-intro h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
}
/* --- kickers, numbers, labels: labels, not headlines --- */
.eyebrow,
.guide-kicker,
.cheat-side-kicker { font-weight: 600; }
/* home-creative.css loads after this file */
body[data-homepage] .home-eyebrow { font-weight: 600; }.home-path li > span:first-child { font-weight: 700; }
/* home-mindmap.css loads after this file */
body[data-homepage] .mm-label { font-weight: 600; }body[data-homepage] .mm-root-title { font-weight: 650; }body[data-homepage] .mm-count { font-weight: 650; }
/* --- footer option 5: slim dark bar (replaces the scattered legacy footer rules) --- */
.footer-links a:hover{color:#fff}@media(max-width:900px){.site-footer{margin-left:0}}@media(max-width:560px){.footer-bar{padding:14px 20px;gap:10px}.footer-links{gap:14px}}
/* psg-pipeline-plus */
.stage-verdict[hidden]{display:none}.console-lab [data-lab-view=data] .dataset-apply{margin-top:10px}
/* psg-journey-css */
.journey-steps li[data-step]{scroll-margin-top:90px}.journey-steps [data-step-badge]{font-size:11px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-left:10px}.journey-steps li.is-done [data-step-badge]{color:#00875e}.guided-journey [data-opt]{display:block;width:100%;text-align:left;font-weight:400;margin:7px 0;line-height:1.6}.guided-journey [data-jq-multi] [data-opt].jsel{border-color:var(--blue);background:#e8f2ff}.guided-journey [data-opt].jok{border-color:#00a37c!important;background:#dff8ef!important}.guided-journey [data-opt].jbad{border-color:#c86451!important;background:#fff0ed!important}.guided-journey [data-opt].jmiss{border-style:dashed;border-color:#b98a00;background:#fff8e1}.guided-journey .jwhy p:last-child{margin-bottom:0}.guided-journey [data-jq-field] label{display:block;font-size:13px;margin:8px 0}.guided-journey [data-jq-field] input{padding:9px 10px;border:1px solid var(--line);border-radius:5px;max-width:280px;margin-left:8px}.guided-journey [data-jq-field] input.jok{border-color:#00a37c}.guided-journey [data-jq-field] input.jbad{border-color:#c86451}.guided-journey .jcode [data-line]{display:block;width:100%;text-align:left;background:transparent;border:1px solid transparent;border-radius:4px;padding:3px 10px;font:12.5px/1.8 Consolas,'Cascadia Code',monospace;color:#eef5ff;white-space:pre}.guided-journey .jcode [data-line]:hover:not(:disabled){background:#123a5f}.guided-journey .jcode [data-line].jok{background:#0d4d3a;border-color:#00a37c}.guided-journey .jcode [data-line].jbad{background:#5a2318;border-color:#c86451}.guided-journey .jcode [data-line]:disabled{cursor:default}@media(max-width:760px){.guided-journey .jcompare{grid-template-columns:1fr}}.guided-journey [data-jq-checklist] label{display:flex;gap:10px;align-items:flex-start;font-size:13px;margin:8px 0;cursor:pointer}.guided-journey [data-jq-checklist] input{margin-top:4px}
/* psg-project-css */
.ms{border:1px solid var(--line,#d8dee9);border-radius:10px;padding:18px 20px;margin:26px 0;background:var(--card,transparent)}.ms h2{margin-top:0}.ms details{margin-top:12px}.ms .console-lab{margin-top:14px}
/* psg-assessment-css */
.aq [data-aq-badge]{font-size:11px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-left:10px}.aq.is-done [data-aq-badge]{color:#00875e}.aq-opts [data-opt]{display:block;width:100%;text-align:left;font-weight:400;margin:0;line-height:1.6;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:var(--surface);cursor:pointer;color:var(--ink)}.aq-opts [data-opt]:hover:not(:disabled){border-color:var(--blue)}.aq-opts [data-opt]:disabled{cursor:default}.aq-opts [data-opt].jok{border-color:#00a37c!important;background:#dff8ef!important}.aq-opts [data-opt].jbad{border-color:#c86451!important;background:#fff0ed!important}.aq-opts [data-opt].jmiss{border-style:dashed;border-color:#b98a00;background:#fff8e1}.aq-opts [data-opt].jsel{border-color:var(--blue);background:#e8f2ff}.aq-lines .jcode [data-line]{display:block;width:100%;text-align:left;background:transparent;border:1px solid transparent;border-radius:4px;padding:3px 10px;font:12.5px/1.8 Consolas,'Cascadia Code',monospace;color:#eef5ff;white-space:pre;cursor:pointer}.aq-lines .jcode [data-line]:hover:not(:disabled){background:#123a5f}.aq-lines .jcode [data-line].jok{background:#0d4d3a;border-color:#00a37c}.aq-lines .jcode [data-line].jbad{background:#5a2318;border-color:#c86451}.aq-lines .jcode [data-line]:disabled{cursor:default}.aq-out p:last-child{margin-bottom:0}
/* /psg-assessment-css */

/* Dark mode fixes for cheat sheet */
html[data-theme="dark"] .cheat-download{background:#0a2540!important;color:#79baff!important;border-color:#1e5aa8!important;}
html[data-theme="dark"] .cheat-download:hover{background:#0e3258!important;}
html[data-theme="dark"] .cheat-grid-card{background:#1a1a2e!important;border-color:#333355!important;color:#e0e0e0!important;}
html[data-theme="dark"] .cheat-grid-card h3{color:#ffffff!important;}
html[data-theme="dark"] .cheat-grid-card code{background:#0d0d1a!important;color:#7dd3c0!important;}
html[data-theme="dark"] .cheat-grid-card pre{background:#0d0d1a!important;color:#e0e0e0!important;}
html[data-theme="dark"] .cheat-article{color:#e0e0e0!important;}
html[data-theme="dark"] .cheat-article h2,html[data-theme="dark"] .cheat-article h3{color:#ffffff!important;}
html[data-theme="dark"] .cheat-toc{background:#1a1a2e!important;border-color:#333355!important;}
html[data-theme="dark"] .cheat-toc a{color:#a0c4ff!important;}

/* Dark mode: fix washed-out text and mismatched sidebar */
html[data-theme="dark"] .taskrow{background:#1e1e2e!important;border-color:#3a3a4e!important;}
html[data-theme="dark"] .task-name{color:#ffffff!important;}
html[data-theme="dark"] .task-cat{color:#a0a0b8!important;}
html[data-theme="dark"] .star{background:#1e1e2e!important;border-color:#3a3a4e!important;color:#a0a0b8!important;}
html[data-theme="dark"] .cheat-grid-card{background:#1e1e2e!important;border-color:#3a3a4e!important;color:#e0e0e0!important;}
html[data-theme="dark"] .cheat-grid-card h3{color:#ffffff!important;}
html[data-theme="dark"] .cheat-grid-card code{background:#0d0d1a!important;color:#7dd3c0!important;}
html[data-theme="dark"] .cheat-grid-card pre{background:#0d0d1a!important;color:#e0e0e0!important;}
html[data-theme="dark"] .cheat-article{color:#e0e0e0!important;}
html[data-theme="dark"] .cheat-article h2,html[data-theme="dark"] .cheat-article h3{color:#ffffff!important;}
html[data-theme="dark"] .cheat-download{background:#0a2540!important;color:#79baff!important;border-color:#1e5aa8!important;}
html[data-theme="dark"] .cheat-download:hover{background:#0e3258!important;}
html[data-theme="dark"] .side{background:#1a1a2e!important;}
html[data-theme="dark"] .side h2,html[data-theme="dark"] .side h3{color:#fff!important;}
html[data-theme="dark"] .side a{color:#a0c4ff!important;}
html[data-theme="dark"] .side p{color:#c0c0d0!important;}

/* Fix psg-rules text wrapping vertically */
.psg-rules li{grid-template-columns:28px minmax(0,1fr)!important;}
.psg-rules li>span{min-width:0;overflow-wrap:break-word;}
.psg-rules strong{white-space:normal!important;word-break:normal!important;}
.psg-rules p{white-space:normal!important;word-break:normal!important;}
html[data-theme="dark"] .psg-rules li{background:#1e1e2e!important;border-color:#3a3a4e!important;}
html[data-theme="dark"] .psg-rules strong{color:#fff!important;}
html[data-theme="dark"] .psg-rules p{color:#c0c0d0!important;}
html[data-theme="dark"] .psg-rules li::before{background:#0078d4!important;}

/* Fix psg-rules overlapping text - force proper block stacking */
.psg-rules li>span{display:block!important;min-width:0;}
.psg-rules li>span>strong{display:block!important;margin:0 0 4px 0!important;line-height:1.4!important;}
.psg-rules li>span>p{display:block!important;margin:0!important;line-height:1.5!important;}

/* Clean rule-text structure - no overlapping */
.psg-rules li>div.rule-text{display:block!important;}
html[data-theme="dark"] .psg-rules .rule-text strong{display:block!important;font-size:14px!important;margin-bottom:4px!important;color:#fff!important;}
html[data-theme="dark"] .psg-rules .rule-text p{display:block!important;font-size:13px!important;margin:0!important;line-height:1.5!important;color:#c0c0d0!important;}
html[data-theme="light"] .psg-rules .rule-text strong{display:block!important;font-size:14px!important;margin-bottom:4px!important;color:#07182d!important;}
html[data-theme="light"] .psg-rules .rule-text p{display:block!important;font-size:13px!important;margin:0!important;line-height:1.5!important;color:#4a617b!important;}
