:root{--blue:#1d4ed8;--blue-light:#eaf2ff;--teal:#0f766e;--ink:#172b4d;--text:#2d3b4f;--muted:#475569;--line:#d9e1eb;--paper:#fff;--bg:#f8fafc;--amber-text:#92400e;--sidebar:244px;--font:'Noto Sans SC',-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:96px}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:16px;-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.35}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #78afff;outline-offset:4px}button{transition:background .15s,border-color .15s,transform .15s}button:hover:not(:disabled){filter:brightness(.97)}svg{display:block;width:100%;height:auto}.reading-progress{position:fixed;left:0;top:0;height:3px;width:0;background:var(--blue);z-index:100}.sidebar{position:fixed;left:0;top:0;bottom:0;width:var(--sidebar);background:#fdfdff;border-right:1px solid var(--line);padding:32px 20px 22px;z-index:30;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;padding:0 7px;font-size:19px;line-height:1.1;font-weight:750;letter-spacing:-.6px}.brand-mark{height:31px;display:flex;gap:3px;align-items:flex-start}.brand-mark i{display:block;width:7px;height:30px;background:var(--blue);border-radius:2px}.brand-mark i:nth-child(2){height:21px}.brand-mark i:nth-child(3){height:12px}.brand-sub{display:block;font-size:11.5px;letter-spacing:2.1px;color:var(--muted);font-weight:500;margin-top:7px}.brand b{font-size:11px;font-weight:600;border:1px solid #d9e2f0;border-radius:4px;padding:3px;color:var(--muted);margin-left:auto;align-self:flex-start}.search-trigger{display:flex;gap:9px;align-items:center;width:100%;border:1px solid #e4eaf2;border-radius:7px;background:#f4f6fa;color:var(--muted);padding:10px 11px;margin:34px 0 30px;text-align:left;font-size:13px}.search-trigger svg{width:15px;flex-shrink:0}.search-trigger kbd{margin-left:auto;font-size:11.5px;background:white;border:1px solid #e0e5ed;border-radius:3px;padding:1px 3px;color:var(--muted)}.nav-group-label{font-size:12px;color:var(--muted);font-weight:500;letter-spacing:1.2px;padding:0 13px;margin-bottom:12px;display:flex;justify-content:space-between}.nav-group-label span{font-size:11.5px;letter-spacing:0;color:var(--muted)}.main-nav{display:flex;flex-direction:column;gap:5px}.main-nav a{display:flex;gap:12px;align-items:center;padding:11px 13px;color:var(--muted);font-size:14px;border-radius:6px;transition:.2s}.main-nav a:hover{background:#f0f4fa;color:var(--ink)}.main-nav a.active{background:#eaf2ff;color:var(--blue);font-weight:600}.nav-icon{width:15px;font-size:15px;line-height:1;display:inline-block;text-align:center}.live-dot{width:5px;height:5px;border-radius:50%;background:var(--teal);margin-left:auto}.resources-label{margin-top:34px}.resource-nav a{font-size:13px;padding-top:9px;padding-bottom:9px}.resource-nav .nav-icon{font-size:14px}.sidebar-bottom{margin-top:auto;padding:30px 13px 0;font-size:12px;color:var(--muted)}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--teal);margin-right:7px;flex-shrink:0}.sidebar-bottom-note{display:block;font-size:11.5px;color:var(--muted);margin-top:8px;padding-left:14px;letter-spacing:.3px}.page-shell{margin-left:var(--sidebar)}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 44px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.9);position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}.breadcrumb{font-size:13px;color:var(--muted);display:flex;gap:14px;align-items:center}.breadcrumb strong{font-weight:500;color:var(--muted)}.breadcrumb span{color:var(--muted)}.source-link{font-size:12px;color:var(--muted);display:flex;gap:12px}.source-link:hover{color:var(--blue)}main{max-width:1450px;margin:0 auto;padding:50px 44px 0}.hero{display:grid;grid-template-columns:1.13fr 1fr;gap:30px;align-items:center;min-height:340px}.eyebrow{font-size:11.5px;letter-spacing:1.8px;color:var(--muted);font-weight:600;display:flex;gap:8px;align-items:center;margin-bottom:21px}.eyebrow>span{width:17px;height:2px;background:var(--blue)}h1{font-size:clamp(30px,3.4vw,49px);font-weight:750;line-height:1.4;letter-spacing:-1.8px;margin:0 0 19px}h1>span{color:var(--blue)}.hero-lead{font-size:14px;line-height:1.95;color:var(--muted);margin:0}.hero-actions{display:flex;align-items:center;gap:24px;margin-top:26px}.primary-button{display:inline-flex;gap:23px;align-items:center;background:var(--blue);color:#fff;font-size:13px;font-weight:550;padding:12px 18px;border-radius:6px;box-shadow:0 4px 10px #2473ec19}.primary-button:hover{background:#1661d4}.text-button{font-size:12px;color:var(--muted)}.text-button span{margin-left:10px}.hero-meta{display:flex;gap:10px;align-items:center;margin-top:25px;color:var(--muted);font-size:11px;white-space:nowrap}.hero-meta i{width:2px;height:2px;background:#aab6c6;border-radius:50%}.hero-visual{background:linear-gradient(140deg,#f0f6ff,#f5f8fc);border:1px solid #dce6f4;border-radius:12px;padding:23px 22px 16px;position:relative;box-shadow:0 14px 30px #344f7910}.visual-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.tiny-label{font-family:ui-monospace,SFMono-Regular,monospace;font-size:11px;letter-spacing:1px;color:var(--muted);font-weight:500}.visual-status{font-size:11px;color:var(--muted);display:flex;gap:5px;align-items:center;white-space:nowrap}.visual-status i{width:5px;height:5px;background:var(--teal);border-radius:50%}.visual-title{margin:18px 0 8px;font-size:17px;font-weight:600;letter-spacing:-.4px}.hero-visual svg{margin:7px 0 2px}.visual-legend{display:flex;gap:16px;justify-content:center;font-size:11px;color:var(--muted)}.visual-legend>span{display:flex;align-items:center;gap:5px}.p-dot,.d-dot,.empty-dot{display:inline-block;flex-shrink:0;width:7px;height:7px;border-radius:2px;background:var(--blue)}.d-dot{background:var(--teal)}.empty-dot{background:#dbe2ec}.visual-caption{text-align:center;font-size:10.5px;color:var(--muted);margin-top:12px}.learning-path{display:flex;gap:16px;align-items:center;padding:23px 0;margin:37px 0 18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.path-label{margin-right:auto;padding-right:14px}.path-label>span{font-size:13px;font-weight:600;display:block}.path-label>small{display:block;font-size:11.5px;margin-top:5px;color:var(--muted)}.learning-path>a{display:flex;gap:9px;align-items:center}.learning-path>a>span{font-size:13px;font-weight:500}.learning-path small{display:block;font-size:11px;color:var(--muted);margin-top:5px;font-weight:400}.learning-path>i{font-style:normal;color:var(--muted);font-size:14px}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 134px;gap:40px}.lesson{padding:50px 0 44px;border-bottom:1px solid var(--line);scroll-margin-top:15px}h2{margin:0 0 13px;font-size:26px;font-weight:650;letter-spacing:-.6px;line-height:1.55}h3{font-size:16px;font-weight:600;margin:0 0 10px;line-height:1.8}.section-intro{font-size:14px;line-height:1.95;margin:0 0 27px;color:var(--muted)}.lesson p{color:var(--text);font-size:14px;line-height:1.95}.parameter-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.parameter-card{padding:23px 23px 17px;background:white;border:1px solid var(--line);border-radius:9px}.parameter-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.parameter-symbol{font-family:ui-monospace,monospace;color:var(--blue);font-size:21px;font-weight:600;letter-spacing:-1px}.pill{display:inline-flex;align-items:center;font-size:11px;line-height:1.5;background:#f0f5fb;color:var(--muted);padding:3px 7px;border-radius:4px;white-space:nowrap}.parameter-card code{font-size:11.5px;color:var(--muted);font-family:ui-monospace,monospace}.parameter-value{font-family:ui-monospace,monospace;font-size:31px;letter-spacing:-1.5px;margin:12px 0 13px;font-weight:600}.parameter-value small{font-family:var(--font);color:var(--muted);font-size:11.5px;font-weight:400;letter-spacing:0;margin-left:4px}.parameter-card p{font-size:12px;line-height:1.9;color:var(--muted);margin-bottom:0}.sequence-icons{height:22px;display:flex;gap:5px;align-items:center;margin:10px 0 18px}.sequence-icons i{width:16px;height:18px;background:#dbe9ff;border:1px solid #a4c6ff;border-radius:3px}.sequence-icons span{font-size:14px;color:var(--muted);margin-left:3px}.budget-mini{display:flex;gap:4px;height:18px;margin:14px 0 18px}.budget-mini span{width:50%;background:#3279e9;border-radius:3px}.budget-mini span:nth-child(2){opacity:.65}.callout{display:flex;gap:12px;margin:19px 0;padding:16px 19px;border-radius:7px;background:#edf4ff;border:1px solid #e0eaff}.callout-icon{flex-shrink:0;display:flex;justify-content:center;align-items:center;width:16px;height:16px;border:1px solid #6d9cde;border-radius:50%;color:var(--blue);font-size:12px;font-weight:600;margin-top:2px}.callout strong{font-size:13px;color:var(--blue);font-weight:600}.callout p{font-size:12px;color:var(--muted);line-height:1.9;margin:5px 0 0}.assumption-box{display:grid;grid-template-columns:190px 1fr;border-top:1px dashed #dbe3ef;gap:20px;margin-top:25px;padding-top:20px}.assumption-box h3{font-size:14px;margin-top:9px}.assumption-box p{font-size:12px;margin:0;line-height:1.95;color:var(--muted)}.assumption-box b{font-weight:500;color:var(--muted)}.interactive-tag{font-size:11.5px;color:var(--teal);font-weight:400;border:1px solid #c9e8e5;background:#effaf8;border-radius:4px;padding:3px 7px;margin-left:13px;vertical-align:middle;letter-spacing:0}.simulator{background:#fff;border:1px solid #dce5f0;border-radius:10px;overflow:hidden;box-shadow:0 6px 14px #243c6010}.sim-toolbar{display:flex;align-items:center;justify-content:space-between;padding:16px 21px;border-bottom:1px solid var(--line);background:#fcfdff}.sim-title{font-size:13px;font-weight:550;display:flex;align-items:center;gap:6px}.sim-title .status-dot{width:5px;height:5px;margin:0 2px 0 0}.sim-title .pill{font-weight:400;margin-left:3px}.sim-select{display:flex;align-items:center;gap:8px;font-size:11.5px;color:var(--muted)}.sim-select select{background:white;border:1px solid #dbe4ef;border-radius:4px;color:var(--muted);font-size:11.5px;padding:5px 4px;max-width:150px}.sim-stats{display:grid;grid-template-columns:1fr 1fr 1.2fr 1.2fr;padding:23px 21px;gap:16px}.sim-stats>div{border-right:1px solid var(--line)}.sim-stats>div:last-child{border:0}.sim-stats span{font-size:11.5px;color:var(--muted);display:block;margin-bottom:9px}.sim-stats b{font-family:ui-monospace,monospace;font-size:24px;font-weight:500;letter-spacing:-1px;white-space:nowrap}.sim-stats b small{font-family:var(--font);font-size:11.5px;font-weight:400;color:var(--muted);letter-spacing:0}.sim-stats>div:nth-child(2) b{color:var(--teal)}.sim-stats>div:nth-child(3) b{color:var(--blue)}.token-visual{padding:7px 21px 0}.chart-heading{display:flex;justify-content:space-between;align-items:center;font-size:11.5px;color:var(--muted);margin-bottom:13px}.chart-heading strong{color:var(--muted);font-family:ui-monospace,monospace;font-size:12px;margin-left:6px;font-weight:500}.chart-legend{display:flex;align-items:center;gap:6px;color:var(--muted)}.chart-legend i{width:6px;height:6px;margin-left:5px}.budget-track{display:flex;gap:0;height:45px;border-radius:5px;overflow:hidden;background:repeating-linear-gradient(135deg,#f0f3f8,#f0f3f8 4px,#e9eef5 4px,#e9eef5 6px)}.budget-segment{min-width:0;display:flex;align-items:center;justify-content:center;color:white;font-family:ui-monospace,monospace;font-size:12px;white-space:nowrap;border-right:1px solid #ffffff70;position:relative;overflow:hidden;transition:width .25s}.budget-segment.p{background:var(--blue)}.budget-segment.d{background:var(--teal)}.budget-segment.remainder{background:#80abef;color:#fff}.budget-segment.empty{background:transparent;border:0;color:var(--muted)}.budget-axis{display:flex;justify-content:space-between;font-family:ui-monospace,monospace;font-size:11px;color:var(--muted);margin-top:7px}.lesson .scale-note{font-size:11px;line-height:1.8;color:var(--muted);margin:9px 0 14px}.schedule-detail{padding:0 21px 16px;display:flex;flex-direction:column;gap:7px;min-height:105px}.detail-row{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.detail-kind{font-size:11px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;border-radius:4px;background:#e9f2ff;color:var(--blue)}.detail-kind.d{color:var(--teal);background:#e8f7f5}.detail-kind.empty{color:var(--muted);background:#f0f3f7}.detail-row strong{color:var(--muted);font-size:12px;font-weight:500}.detail-row code{margin-left:auto;color:var(--muted);font-size:12px;font-family:ui-monospace,monospace;white-space:nowrap}.detail-row .remain-note{font-size:11px;color:var(--amber-text)}.round-end-state{margin-top:8px;padding-top:13px;border-top:1px dashed var(--line);color:var(--muted)}.round-state-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 12px;font-size:11.5px;line-height:1.8}.round-state-heading strong{font-size:12px;color:var(--ink);font-weight:600}.round-state-counts{display:flex;flex-wrap:wrap;gap:7px 19px;margin-top:8px;font-size:12px;line-height:1.9}.round-state-counts>span{display:inline-flex;gap:8px;align-items:baseline;white-space:nowrap}.round-state-counts b{font-family:ui-monospace,SFMono-Regular,monospace;font-size:14px;font-weight:600;color:var(--ink)}.lesson .round-end-state p{font-size:11.5px;line-height:1.9;margin:8px 0 0;color:var(--text)}.lesson .round-end-state .round-state-basis{font-size:11px;color:var(--muted);margin-top:5px}.step-insight{display:flex;gap:10px;align-items:flex-start;background:#f5f8fd;padding:14px 21px;border-top:1px solid #e8edf5;min-height:70px}.step-insight>span{color:var(--muted);font-size:18px}.step-insight p{font-size:12px;line-height:1.9;color:var(--muted);margin:1px 0}.sim-controls{padding:15px 21px;display:flex;align-items:center;gap:16px;border-top:1px solid var(--line)}.play-controls{display:flex;gap:5px}.icon-button,.play-button{font-size:12px;border:1px solid #dce5f0;background:white;height:29px;border-radius:4px;color:var(--muted)}.icon-button{width:29px}.play-button{background:var(--blue);color:white;border-color:var(--blue);padding:0 9px;white-space:nowrap}.play-button span{font-size:11.5px;margin-left:4px}.timeline-control{display:flex;gap:10px;align-items:center;flex:1;min-width:0}.timeline-control input{width:100%;min-width:20px;height:3px;accent-color:var(--blue);cursor:pointer}.timeline-control>span:last-child{font-family:ui-monospace,monospace;font-size:11px;color:var(--muted);white-space:nowrap;min-width:60px;text-align:right}.reset-button{background:none;border:0;font-size:11.5px;color:var(--muted);padding:0}.sim-jumps{padding:0 21px 15px;display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted);flex-wrap:wrap}.sim-jumps>span{margin-right:5px}.sim-jumps button{border:1px solid #e5ebf3;border-radius:4px;background:#f9fbfe;padding:4px 7px;color:var(--muted);font-size:11px}.model-note{margin:14px 0 22px;border:1px solid #e3e9f2;border-radius:6px;padding:11px 14px;color:var(--muted);font-size:12px}.model-note summary{cursor:pointer}.model-note p{font-size:12px;color:var(--muted)}.formula-strip{display:flex;align-items:center;justify-content:center;gap:15px;background:#edf3fc;border:1px solid #dee8f6;padding:17px;border-radius:6px;flex-wrap:wrap}.formula-strip>span{font-size:12px;color:var(--muted)}.formula-strip strong{font-family:ui-monospace,monospace;color:var(--blue);font-size:15px;font-weight:500}.formula-strip>b{font-size:15px;color:var(--muted);font-weight:400}.formula-strip sub{font-size:12px}.stage-map{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:8px;background:white;overflow:hidden}.stage-item{padding:20px 15px 16px;position:relative;border-right:1px solid var(--line)}.stage-item:last-child{border:0}.stage-no{font-size:12px;color:var(--muted);font-family:ui-monospace,monospace}.stage-bars{display:flex;gap:3px;height:22px;margin:15px 0}.stage-bars i{background:var(--blue);flex:1;border-radius:3px}.stage-bars .d{background:var(--teal)}.stage-bars .small{flex:.35}.stage-item h3{font-size:13px;margin-bottom:7px}.stage-item p{font-size:11.5px;line-height:1.9;color:var(--muted);margin:0}.correction-callout{border-left:2px solid #d8a55a;padding:6px 0 6px 17px;margin:26px 0}.correction-callout>span{font-size:11px;color:var(--amber-text);background:#fbf0dd;padding:3px 6px;border-radius:3px}.correction-callout h3{font-size:15px;margin:11px 0 6px}.correction-callout p{font-size:12px;margin:0;color:var(--muted)}.two-column-explain{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-top:25px}.two-column-explain h3{font-size:14px}.two-column-explain p{font-size:12px;color:var(--muted);line-height:2;margin:8px 0}.metric-note{background:#edf3fc;padding:20px;border-radius:7px}.metric-note h3{margin-top:10px}.metric-note p{font-size:11.5px;margin:12px 0 0}.metric-formula{font-family:ui-monospace,monospace;font-size:14px;color:var(--muted);position:relative;padding:7px 0 21px;display:flex;gap:8px;align-items:center;width:max-content}.metric-formula>span:first-child{font-family:var(--font);font-size:11.5px}.fraction-line{position:absolute;top:27px;left:56px;right:0;border-top:1px solid #9cb3d3}.metric-formula .denominator{font-family:var(--font);position:absolute;top:32px;left:65px;font-size:11.5px}.benchmark-visual{border:1px solid var(--line);border-radius:9px;background:white;padding:22px 21px 8px}.benchmark-chart-title{display:flex;justify-content:space-between;align-items:center}.benchmark-chart-title h3{font-size:14px;margin-bottom:17px}.benchmark-chart-title>span{font-size:11px;color:var(--muted)}.comparison-table{border:1px solid var(--line);border-radius:7px;overflow:auto;margin-top:18px;background:white}table{width:100%;border-collapse:collapse;min-width:510px;text-align:left;font-size:12px}th{padding:13px 15px;background:#f1f5fb;color:var(--muted);font-weight:500;white-space:nowrap}td{padding:14px 15px;border-top:1px solid #ebeff5;color:var(--muted);line-height:1.8}td:first-child{color:var(--muted);font-weight:500;white-space:nowrap}.table-badge{display:inline-block;font-size:11px;font-weight:400;padding:2px 6px;border-radius:3px;white-space:nowrap}.amber{background:#fbf3e5;color:var(--amber-text)}.teal{background:#eaf7f4;color:var(--teal)}.experiment-checklist{margin-top:27px}.experiment-checklist h3{font-size:15px}.experiment-checklist ol{list-style:none;margin:15px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:20px 25px}.experiment-checklist li{display:flex;gap:12px;align-items:flex-start}.experiment-checklist li>span{font-family:ui-monospace,monospace;font-size:11.5px;color:var(--muted);display:block;padding:7px 5px;background:#eaf1fb;border-radius:4px}.experiment-checklist strong{font-size:13px;font-weight:550}.experiment-checklist p{font-size:12px;color:var(--muted);line-height:1.9;margin:5px 0 0}.diagram-figure{margin:0;padding:8px 10px 0;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden}.diagram-figure img{width:100%;height:auto;display:block}.diagram-figure figcaption{border-top:1px solid #edf0f5;font-size:11.5px;color:var(--muted);padding:12px 10px;line-height:1.8}.diagram-figure figcaption span{font-family:ui-monospace,monospace;color:var(--muted);font-size:11px;margin-right:12px}.pd-formula{margin-top:19px}.pd-formula strong{font-size:14px}.lesson .small-note{font-size:11.5px;color:var(--muted);line-height:1.9;margin-bottom:0}.kv-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px;margin-top:24px}.kv-icon{display:flex;align-items:center;justify-content:center;width:29px;height:29px;background:#eaf2ff;color:var(--blue);border-radius:6px;font-size:17px;margin-bottom:12px}.kv-grid h3{font-size:14px}.kv-grid p{font-size:12px;color:var(--muted)}.warning{background:#fdf6ea;border-color:#f3e9d6}.warning .callout-icon{border-color:#cfa66a;color:var(--amber-text)}.warning strong{color:var(--amber-text)}.warning p{color:var(--amber-text)}.quiz-card{display:flex;gap:15px;border:1px solid var(--line);border-radius:7px;background:white;padding:20px;margin-top:13px}.quiz-index{font-family:ui-monospace,monospace;font-size:13px;color:var(--muted);padding-top:2px}.quiz-card>div{flex:1;min-width:0}.quiz-card h3{font-size:13px;font-weight:500;line-height:1.9;margin-bottom:13px}.quiz-options{display:flex;gap:8px;flex-wrap:wrap}.quiz-options button{font-size:11.5px;color:var(--muted);border:1px solid #dfe7f2;background:#f9fbfe;padding:7px 10px;border-radius:4px;text-align:left;line-height:1.7}.quiz-options button.selected-correct{color:var(--teal);border-color:#a1d7cc;background:#edf9f5}.quiz-options button.selected-wrong{color:var(--amber-text);border-color:#e6c9a6;background:#fff7ec}.quiz-card .quiz-feedback{font-size:12px;line-height:1.9;color:var(--teal);background:#f0f8f6;padding:12px;margin:13px 0 0;border-radius:4px}.compact-section{padding-top:39px;padding-bottom:35px}.glossary{margin:23px 0 0}.glossary>div{display:grid;grid-template-columns:145px 1fr;padding:14px 0;border-bottom:1px dashed #e0e7f1;gap:15px}.glossary>div:last-child{border:0}dt{font-family:ui-monospace,var(--font);color:var(--blue);font-size:13px}dd{font-size:12px;color:var(--muted);margin:0;line-height:1.9}.correction-list{list-style:none;margin:22px 0;padding:0}.correction-list li{font-size:12px;line-height:1.9;color:var(--muted);padding:9px 0;display:flex;gap:13px;align-items:flex-start}.correction-list span{font-family:ui-monospace,monospace;font-size:11.5px;color:var(--muted);padding-top:1px}.source-list{border:1px solid var(--line);border-radius:7px;background:white;overflow:hidden}.source-list>a{padding:14px 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e9eef5}.source-list>a:last-child{border:0}.source-list>a:hover{background:#f3f7fd}.source-list strong{font-size:12px;color:var(--muted);font-weight:500}.source-list small{font-size:11.5px;color:var(--muted);display:block;margin-top:5px}.source-list>a>span:last-child{color:var(--muted);font-size:15px}.download-source{display:flex;align-items:center;gap:14px;padding:19px;background:#edf3fc;border:1px solid #dee8f6;border-radius:7px;margin-top:20px}.download-source>span:first-child{font-size:23px;color:var(--muted)}.download-source strong{font-size:13px;color:var(--muted);font-weight:500}.download-source small{display:block;color:var(--muted);font-size:11.5px;margin-top:6px}.download-source>span:last-child{font-family:ui-monospace,monospace;font-size:13px;color:var(--muted);margin-left:auto}footer{padding:30px 0 35px}.footer-brand{font-size:13px;font-weight:600;letter-spacing:-.2px}.footer-brand span{font-size:11.5px;color:var(--muted);font-weight:400;letter-spacing:0;margin-left:6px}footer p{font-size:12px;color:var(--muted);margin-top:16px}footer>span{font-size:11px;color:var(--muted)}.page-toc{padding-top:56px;position:sticky;top:85px;align-self:start}.page-toc>span{font-size:11.5px;color:var(--muted);display:block;font-weight:500;margin-bottom:18px}.page-toc>a{display:block;font-size:11.5px;color:var(--muted);padding:8px 0 8px 12px;border-left:1px solid #e0e6ef;transition:.2s}.page-toc>a.active{color:var(--blue);border-left:2px solid var(--blue);background:linear-gradient(90deg,#eaf1fc,transparent)}.page-toc>a:hover{color:var(--blue)}.toc-note{display:flex;align-items:flex-start;margin-top:32px;padding-left:4px;gap:6px}.toc-note>span{width:5px;height:5px;margin-top:5px}.toc-note p{font-size:11px;line-height:2;color:var(--muted);margin:0;position:relative}.toc-note .d-dot{width:5px;height:5px;position:absolute;left:-11px;top:21px}.page-toc>a.back-top{border:0;font-size:11px;padding:0;margin-top:23px;color:var(--muted)}.mobile-menu{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{border:1px solid #dbe5f2;border-radius:12px;padding:0;width:570px;max-width:calc(100% - 30px);top:15vh;margin:0 auto;background:#fdfdff;box-shadow:0 30px 90px #142a4a50;color:var(--ink)}dialog::backdrop{background:#14253b50;backdrop-filter:blur(3px)}.search-dialog-input{display:flex;align-items:center;gap:13px;padding:19px 20px;border-bottom:1px solid var(--line)}.search-dialog-input svg{width:20px;color:var(--muted);flex-shrink:0}.search-dialog-input input{border:0;background:none;outline:none;width:100%;color:var(--blue);font-size:15px;min-width:0}.search-dialog-input input::placeholder{color:var(--muted)}.search-dialog-input button{font-family:ui-monospace,monospace;color:var(--muted);background:#f4f6fa;border:1px solid #dfe6f0;font-size:12px;padding:3px 6px;border-radius:3px}.search-results{padding:8px;max-height:54vh;overflow:auto}.search-results a{display:flex;gap:12px;padding:13px 14px;border-radius:6px}.search-results a:hover,.search-results a:focus{background:#eaf2ff}.search-result-index{font-family:ui-monospace,monospace;font-size:12px;color:var(--muted);margin-top:3px}.search-results strong{font-size:14px;font-weight:500;color:var(--blue);display:block}.search-results small{font-size:12px;color:var(--muted);line-height:1.8;display:block;margin-top:5px}.search-results .no-results{color:var(--muted);padding:30px 16px;text-align:center;font-size:14px}.search-dialog-footer{display:flex;justify-content:space-between;padding:12px 20px;font-size:11.5px;color:var(--muted);border-top:1px solid var(--line);gap:15px}.toast{position:fixed;bottom:25px;left:calc(50% + 80px);transform:translateX(-50%) translateY(10px);opacity:0;pointer-events:none;transition:.2s;background:#253f60;color:white;border-radius:6px;padding:10px 16px;font-size:13px;z-index:100}.toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}
@media(min-width:1600px){main{padding-left:65px;padding-right:65px}.hero{min-height:390px}.hero-visual{max-width:500px;margin-left:auto;width:100%}.article-layout{gap:65px;grid-template-columns:minmax(0,1fr) 150px}.hero-lead{font-size:16px}.hero-meta{font-size:12px}.hero-actions .primary-button{font-size:14px;padding:14px 23px}.text-button{font-size:14px}h2{font-size:29px}.lesson p,.section-intro{font-size:15px}.parameter-card p,.two-column-explain p,.experiment-checklist p,.kv-grid p{font-size:14px}.hero-copy{padding:12px 0}.learning-path{gap:24px}.learning-path>a>span{font-size:15px}.learning-path small{font-size:12px}}
@media(max-width:1250px){:root{--sidebar:220px}.sidebar{padding-left:14px;padding-right:14px}.brand{font-size:17px}.brand b{font-size:10.5px}.brand-mark i{width:6px}.topbar{padding:0 30px}main{padding:35px 30px 0}.article-layout{grid-template-columns:minmax(0,1fr);gap:0}.page-toc{display:none}.hero{gap:24px}.hero-meta{font-size:10.5px;gap:8px}.hero-lead{font-size:13px}.hero-actions{gap:15px}.hero-visual{padding:18px 15px 14px}.visual-title{font-size:15px}.visual-top .tiny-label{font-size:10px;letter-spacing:.6px}.visual-status{font-size:10.5px}.hero-visual .visual-legend{font-size:10.5px;gap:12px}.learning-path{gap:12px}.path-label{padding-right:0}.path-label>small{font-size:11px}.learning-path>a{gap:6px}.learning-path>a>span{font-size:12px}.learning-path small{font-size:10.5px}h1{font-size:36px;letter-spacing:-1px}.lesson{padding-top:40px}}
@media(max-width:1000px){.hero{grid-template-columns:1fr 1fr;gap:18px}h1{font-size:29px;letter-spacing:-.8px}.hero-lead{font-size:12px}.hero-actions{gap:13px}.primary-button{font-size:12px;padding:10px 12px;gap:12px}.text-button{font-size:11.5px}.hero-meta{font-size:10px;gap:6px}.visual-title{font-size:14px}.hero-visual .tiny-label{font-size:5px}.hero-visual .visual-legend{font-size:10px;gap:10px}.visual-caption{font-size:10px}.hero-visual{padding:17px 12px 12px}.hero{min-height:300px}.learning-path{margin-top:25px;flex-wrap:wrap;gap:15px}.path-label{width:100%;display:flex;gap:14px;align-items:center}.path-label>small{margin:0}.learning-path>a{flex:1}.learning-path>a>span{font-size:12px}.learning-path small{font-size:11px}.stage-map{grid-template-columns:1fr 1fr}.stage-item:nth-child(2){border-right:0}.stage-item:nth-child(-n+2){border-bottom:1px solid var(--line)}.stage-item{padding:18px}.stage-bars{max-width:160px}.assumption-box{grid-template-columns:1fr;gap:3px}.assumption-box h3{margin-bottom:5px}.sim-stats b{font-size:21px}.sim-stats{gap:10px}.sim-toolbar{padding:14px 16px}.sim-stats,.sim-controls{padding-left:16px;padding-right:16px}.token-visual,.schedule-detail{padding-left:16px;padding-right:16px}.two-column-explain{gap:18px}.metric-note{padding:15px}.diagram-figure{padding:5px 3px 0}.parameter-card{padding:18px}.parameter-value{font-size:27px}.desktop-break{display:none}}
@media(max-width:760px){:root{--sidebar:230px}.sidebar{transform:translateX(-100%);transition:transform .2s;box-shadow:8px 0 30px #19365715}.sidebar.open{transform:translateX(0)}.page-shell{margin-left:0}.topbar{height:57px;padding:0 20px;gap:15px}.mobile-menu{display:block;background:none;border:0;color:var(--muted);font-size:17px;padding:3px 0}.breadcrumb{margin-right:auto;font-size:12px;gap:9px}.source-link{font-size:11.5px;gap:6px}main{padding:28px 22px 0}.hero{gap:22px;min-height:320px}h1{font-size:31px}.hero-lead{font-size:12px}.hero-meta{font-size:10.5px;flex-wrap:wrap;white-space:normal}.eyebrow{font-size:10.5px;letter-spacing:1px;margin-bottom:15px}.hero-actions{margin-top:21px}.hero-visual{padding:18px 14px 12px}.visual-title{font-size:16px}.hero-visual .visual-top .tiny-label{font-size:5px}.learning-path{margin-top:22px}.lesson{padding:35px 0}h2{font-size:24px}.section-intro{font-size:13px}.quiz-card{padding:17px}.glossary>div{grid-template-columns:125px 1fr}.toast{left:50%}dialog{top:10vh}.reading-progress{height:2px}}
@media(max-width:560px){html{scroll-padding-top:78px}.topbar{padding:0 17px}.breadcrumb{font-size:11.5px;gap:7px}.source-link{font-size:11px}.source-link span{display:none}main{padding:28px 18px 0}.hero{grid-template-columns:1fr;gap:27px}.hero-copy{padding:6px 4px 0}.eyebrow{font-size:11px}h1{font-size:36px;line-height:1.4;letter-spacing:-1.2px}.hero-lead{font-size:14px}.hero-actions{gap:25px}.primary-button{font-size:13px;padding:12px 16px;gap:20px}.text-button{font-size:12px}.hero-meta{font-size:11px;margin-top:22px}.hero-visual{padding:20px 20px 14px;max-width:none}.visual-title{font-size:17px}.hero-visual .visual-top .tiny-label{font-size:10.5px}.visual-status{font-size:11px}.hero-visual .visual-legend{font-size:11px;gap:20px}.visual-caption{font-size:10.5px}.hero-visual svg{max-height:230px}.learning-path{gap:14px 10px;padding:19px 0;margin:26px 0 5px}.path-label{gap:12px;margin-bottom:3px}.learning-path>a{flex:1;min-width:35%;gap:9px;padding:3px 0}.learning-path>a>span{font-size:13px}.learning-path small{font-size:11.5px}.learning-path>i{display:none}.path-label>small{font-size:11.5px}.lesson{padding:32px 0}h2{font-size:23px;margin-bottom:11px}.section-intro{font-size:13px;line-height:1.95}.parameter-grid{grid-template-columns:1fr;gap:12px}.parameter-card{padding:20px;position:relative}.parameter-top{margin-bottom:10px}.parameter-value{font-size:31px;margin-top:11px}.parameter-card p{font-size:13px;max-width:100%}.sequence-icons,.budget-mini{position:absolute;right:21px;top:82px;width:43%;max-width:170px}.sequence-icons i{height:15px;width:12px}.sequence-icons{gap:4px;margin:10px 0}.budget-mini{margin:10px 0;height:16px}.callout{padding:14px;gap:10px}.callout p{font-size:12px}.assumption-box{padding-top:18px;margin-top:21px}.interactive-tag{font-size:11px;padding:3px 5px;margin-left:8px}.sim-toolbar{padding:13px 12px}.sim-title{font-size:12px;gap:4px}.sim-title .pill{font-size:10.5px;padding:2px 4px}.sim-select{font-size:11px;gap:5px}.sim-select select{font-size:11px;padding:5px 2px}.sim-stats{padding:18px 12px;gap:7px;grid-template-columns:.8fr .9fr 1.2fr 1.2fr}.sim-stats span{font-size:10.5px;margin-bottom:10px}.sim-stats b{font-size:20px}.sim-stats b small{font-size:10.5px;display:block;line-height:1.8}.token-visual{padding:5px 12px 0}.chart-heading{font-size:11px;gap:8px}.chart-heading strong{font-size:11px;margin-left:3px}.chart-legend{font-size:10.5px;gap:4px}.chart-legend i{margin-left:2px;width:5px;height:5px}.budget-track{height:36px}.budget-segment{font-size:11px}.budget-axis{font-size:10.5px}.lesson .scale-note{font-size:10.5px}.schedule-detail{padding:0 12px 12px;min-height:100px}.detail-row{font-size:11px;gap:5px;flex-wrap:wrap}.detail-kind{font-size:10.5px;min-width:17px;height:17px}.detail-row strong,.detail-row code{font-size:11px}.detail-row .remain-note{font-size:10.5px}.step-insight{padding:12px;gap:8px;min-height:82px}.step-insight p{font-size:11.5px}.sim-controls{gap:9px;padding:13px 12px}.play-controls{gap:3px}.icon-button{width:25px}.icon-button,.play-button{height:27px;font-size:11.5px}.play-button{padding:0 7px}.play-button span{font-size:11px;margin-left:2px}.timeline-control{gap:6px}.timeline-control>span:last-child{font-size:10.5px;min-width:51px}.reset-button{font-size:11px}.sim-jumps{padding:0 12px 13px;gap:5px;font-size:10.5px}.sim-jumps button{font-size:10.5px;padding:4px 6px}.sim-jumps>span{margin-right:0}.model-note{font-size:11.5px;padding:10px 12px}.model-note p{font-size:12px}.formula-strip{gap:9px;padding:14px 10px}.formula-strip>span{font-size:11px}.formula-strip strong{font-size:14px}.formula-strip>b{font-size:15px}.stage-map{grid-template-columns:1fr 1fr}.stage-item{padding:17px 15px}.stage-item h3{font-size:13px}.stage-item p{font-size:12px}.correction-callout{margin:23px 0}.correction-callout p{font-size:13px}.two-column-explain{grid-template-columns:1fr;gap:14px;margin-top:23px}.two-column-explain h3{font-size:15px}.two-column-explain p{font-size:13px}.metric-note{padding:20px}.metric-formula{font-size:16px;padding-bottom:22px}.metric-formula>span:first-child{font-size:13px}.metric-formula .denominator{font-size:12px;left:75px;top:34px}.fraction-line{top:29px;left:64px}.metric-note p{font-size:12px}.benchmark-visual{padding:16px 10px 8px}.benchmark-chart-title{padding:0 5px;align-items:flex-start;gap:12px}.benchmark-chart-title h3{font-size:13px}.benchmark-chart-title>span{font-size:10.5px;padding-top:4px}.benchmark-visual svg{width:600px;max-width:none}.benchmark-visual{overflow:auto}.comparison-table{margin-top:12px}.experiment-checklist ol{grid-template-columns:1fr;gap:18px}.experiment-checklist p{font-size:13px}.experiment-checklist strong{font-size:14px}.diagram-figure{overflow:auto}.diagram-figure img{width:650px;max-width:none}.diagram-figure figcaption{font-size:11.5px;min-width:350px}.pd-formula strong{font-size:12px}.pd-formula>span{font-size:11.5px}.kv-grid{grid-template-columns:1fr;gap:10px}.kv-grid h3{font-size:14px}.kv-grid p{font-size:13px}.kv-icon{float:left;margin:0 12px 0 0;width:26px;height:26px}.kv-grid p{clear:both;margin-top:12px}.quiz-card{padding:15px 13px;gap:10px}.quiz-card h3{font-size:13px}.quiz-options{gap:7px}.quiz-options button{font-size:11.5px;padding:7px 9px}.glossary>div{grid-template-columns:1fr;gap:7px;padding:16px 0}dt{font-size:14px}dd{font-size:13px}.correction-list li{font-size:13px}.source-list>a{padding:14px}.source-list strong{font-size:12px}.source-list small{font-size:11.5px}.download-source{padding:17px;gap:10px}.download-source strong{font-size:13px}.download-source small{font-size:11px}.search-dialog-footer{font-size:11px;padding:12px;gap:10px}.search-dialog-input{padding:15px}.search-dialog-input input{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;transition:none!important}}
@media print{.sidebar,.topbar,.page-toc,.sim-controls,.sim-jumps,.search-trigger,.hero-actions,.learning-path,.reading-progress,.quiz-options,.download-source{display:none!important}.page-shell{margin:0}main{padding:0}.article-layout{display:block}.hero{grid-template-columns:1fr 1fr;min-height:0;margin-bottom:20px}body{background:white}.lesson{break-inside:avoid-page;padding:20px 0}.diagram-figure img{width:100%;max-width:100%}.hero-visual{box-shadow:none}.quiz-feedback[hidden]{display:block}.quiz-feedback{background:none!important}h2{font-size:23px}a{color:inherit}.diagram-figure,table{break-inside:avoid}.benchmark-visual svg{width:100%}}
/* Keep the teaching text comfortable to read at both desktop and phone widths. */
.lesson p{font-size:15px}.lesson .section-intro{font-size:15px}.parameter-card p,.assumption-box p,.callout p,.correction-callout p,.two-column-explain p,.experiment-checklist p,.kv-grid p,.quiz-card .quiz-feedback,.model-note p{font-size:14px}.stage-item p{font-size:13px}.stage-item h3,.two-column-explain h3,.kv-grid h3{font-size:15px}.callout strong{font-size:14px}.glossary dd{font-size:14px}.correction-list li{font-size:14px}.source-list strong{font-size:14px}.source-list small{font-size:13px}.quiz-card h3{font-size:14px}.quiz-options button{font-size:13px}.detail-row,.detail-row strong{font-size:13px}.detail-row code{font-size:13px}.step-insight p{font-size:13px}.lesson .scale-note{font-size:11.5px}.parameter-card code{font-size:13px}.model-note summary{font-size:13px}.benchmark-visual .small-note{font-size:12px}.sim-stats span{font-size:12px}.lesson .small-note{font-size:12px}.source-link{font-size:13px}.main-nav a{font-size:15px}.resource-nav a{font-size:14px}.search-trigger{font-size:14px}
@media(max-width:560px){.lesson p,.lesson .section-intro{font-size:14px}.parameter-card p,.assumption-box p,.callout p,.correction-callout p,.two-column-explain p,.experiment-checklist p,.kv-grid p,.quiz-card .quiz-feedback,.model-note p{font-size:14px}.detail-row,.detail-row strong,.detail-row code{font-size:11.5px}.detail-row .remain-note{font-size:11px}.step-insight p{font-size:12px}.sim-stats span{font-size:11px}.quiz-options button{font-size:12px}.source-link{font-size:11.5px}.source-list strong{font-size:13px}.source-list small{font-size:12px}.lesson .scale-note{font-size:11px}.stage-item h3{font-size:14px}.formula-strip.pd-formula{gap:7px}.parameter-card code{font-size:12px}}
.diagram-expand{display:block;cursor:zoom-in}.diagram-figure figcaption em{display:block;font-size:11.5px;font-style:normal;color:var(--muted);margin-top:4px}
/* Evidence labels and engineering notes added alongside the author's narrative. */
.evidence-key{display:flex;align-items:center;gap:9px 12px;flex-wrap:wrap;padding:4px 0 11px;color:var(--muted);font-size:12px}.evidence-key>span{font-size:12px;margin-right:6px}.evidence-key small{font-size:11.5px;margin-right:5px}.evidence-tag{display:inline-flex;vertical-align:middle;white-space:nowrap;font-size:11.5px;line-height:1.7;font-weight:500;border-radius:4px;padding:2px 7px;letter-spacing:0}.evidence-tag.confirmed{color:var(--blue);background:#eaf2ff}.evidence-tag.derived{color:var(--teal);background:#e8f6f2}.evidence-tag.pending{color:var(--amber-text);background:#fcf1df}.technical-figure{margin:22px 0;overflow:auto}.technical-figure img{min-width:700px}.technical-note{padding:12px 0 0}.technical-note .evidence-tag{margin-right:7px}.mechanism-block{margin:23px 0 6px;padding:21px 23px;background:#fff;border:1px solid #e1e8f2;border-radius:8px}.mechanism-heading{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:13px}.mechanism-heading h3{margin:0;font-size:16px}.mechanism-block p{margin:10px 0;color:var(--muted);font-size:14px;line-height:2}.mechanism-block p:last-child{margin-bottom:0}.mechanism-block .evidence-tag{margin-right:5px}.inline-source{font-size:12px;color:var(--blue);white-space:nowrap;display:inline-block;margin-left:4px}.inline-source:hover{text-decoration:underline}.source-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;background:#f3f6fb;border:1px solid #e4eaf3;border-radius:6px;color:var(--muted);padding:16px 17px;font-size:13px;line-height:2;overflow:auto;margin:13px 0}.mechanism-facts{list-style:none;margin:15px 0 0;padding:0;display:flex;flex-direction:column;gap:11px}.mechanism-facts li{display:flex;gap:12px;align-items:flex-start;color:var(--muted);font-size:14px;line-height:1.95}.mechanism-facts li>span{font-family:ui-monospace,monospace;color:var(--muted);font-size:12px;line-height:2.3}.mechanism-facts strong{font-weight:550;color:var(--muted)}.source-scope{font-size:12px!important;line-height:1.9!important;color:var(--muted)!important}.equation-block{display:flex;flex-direction:column;gap:8px;background:#f2f6fc;border-radius:6px;padding:16px 17px;margin:14px 0;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--blue);font-size:14px;line-height:1.9;overflow:auto}.equation-block>div{white-space:nowrap}.symbol-definitions{font-size:13px!important;color:var(--muted)!important;line-height:2!important}.source-caption{border-top:1px dashed #e1e8f1;padding-top:12px;font-size:12px!important}.unverified-panel{margin:24px 0 0;border:1px solid #e8dfcf;background:#fcf9f3;border-radius:8px;padding:20px 23px}.unverified-panel h3{font-size:16px;margin-bottom:12px}.unverified-panel>p{font-size:13px;color:var(--amber-text)}.unverified-panel ol{padding-left:20px;margin:10px 0 0}.unverified-panel li{font-size:14px;line-height:1.95;color:var(--muted);padding:8px 0}.unverified-panel strong{font-weight:550;color:var(--amber-text)}.bundle-download{background:#edf7f4;border-color:#d4e9e1}.bundle-download strong,.bundle-download>span:first-child{color:var(--teal)}.bundle-download small,.bundle-download>span:last-child{color:var(--teal)}.version-note{margin-top:20px;padding-top:14px;border-top:1px dashed #dde5f0;font-size:12px!important;color:var(--muted)!important}
@media(max-width:560px){.evidence-key{font-size:11.5px;gap:7px 9px;padding:4px 0 8px}.evidence-key>span{width:100%;font-size:12px}.evidence-key small{font-size:11px}.evidence-tag{font-size:11px;padding:2px 6px}.technical-figure img{width:900px;min-width:900px}.mechanism-block{margin-top:19px;padding:17px 15px}.mechanism-heading h3{font-size:15px}.mechanism-block p,.mechanism-facts li{font-size:14px}.source-code{font-size:12px;padding:13px 12px}.equation-block{font-size:12px;padding:13px 12px}.symbol-definitions{font-size:13px!important}.unverified-panel{padding:17px 15px}.unverified-panel li{font-size:14px}.inline-source{font-size:12px}.source-scope{font-size:12px!important}.technical-note{font-size:13px!important}}
@media print{.evidence-key{display:flex!important}.technical-figure img{width:100%;min-width:0;max-width:100%}.mechanism-block,.unverified-panel{break-inside:avoid-page}.source-code{white-space:pre-wrap;font-size:11.5px}}
/* PD event playback: compute, data transfer, control, and memory are distinct. */
.pd-player{background:#fff;border:1px solid #d9e3f0;border-radius:10px;overflow:hidden;margin:26px 0 15px;box-shadow:0 6px 18px #243c6009}.pd-player-top{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px 20px;background:#fcfdff;border-bottom:1px solid var(--line)}.pd-scenario-select{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.pd-scenario-select select{max-width:210px;min-width:130px;font-size:12px;padding:6px 9px;color:var(--muted);border:1px solid #dce6f2;border-radius:4px;background:white}.lesson .pd-scope{font-size:12px;line-height:1.9;margin:0;padding:12px 20px;color:var(--muted);border-bottom:1px dashed #e5ebf4}.pd-event-heading{display:flex;gap:18px;padding:22px 20px 17px;min-height:140px;align-items:flex-start}.pd-event-number{display:flex;flex-direction:column;flex-shrink:0;align-items:flex-start;width:54px;border-right:1px solid #e3ebf5}.pd-event-number>span{font-size:11px;color:var(--muted);white-space:nowrap}.pd-event-number>b{font-family:ui-monospace,monospace;font-size:29px;font-weight:500;line-height:1.4;color:var(--blue);margin-top:5px}.pd-event-number>small{font-family:ui-monospace,monospace;font-size:11px;color:var(--muted)}.pd-event-heading h3{font-size:16px;line-height:1.8;margin:0 0 7px;color:var(--blue)}.pd-event-heading p{font-size:14px;line-height:1.9;margin:0;color:var(--muted)}.pd-controls{border-top:0;padding-top:5px;padding-bottom:13px}.pd-jumps{padding-bottom:17px;border-bottom:1px solid #e8edf5}.pd-diagram-legend{display:flex;gap:14px;flex-wrap:wrap;padding:16px 20px 0;font-size:11px;color:var(--muted)}.pd-diagram-legend>span{display:flex;align-items:center;gap:5px}.pd-diagram-legend i{width:6px;height:6px}.transfer-dot{display:inline-block;border-radius:2px;background:#d98b21}.control-dot{display:inline-block;border-radius:2px;background:#9aa9bc}.pd-route-line{margin:13px 20px 0;border:1px dashed #dbe4ef;background:#f8fafd;border-radius:5px;display:flex;align-items:center;gap:12px;padding:9px 12px}.pd-route-line>span{font-family:ui-monospace,monospace;font-size:10.5px;color:var(--muted);white-space:nowrap;letter-spacing:.5px}.lesson .pd-route-line p{font-size:11.5px;color:var(--muted);line-height:1.8;margin:0}.pd-schematic{display:grid;grid-template-columns:minmax(0,1fr) 124px minmax(0,1fr);padding:17px 20px 20px;gap:12px;align-items:stretch}.pd-node{border:1px solid #d7e5fa;border-radius:8px;background:#fafcff;overflow:hidden;min-width:0}.pd-d-node{border-color:#cfe6e1;background:#f9fcfb}.pd-node-title{padding:13px 13px 11px;border-bottom:1px solid #e1eaf6;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.pd-node-title>b{background:#2473ec;color:white;font-family:ui-monospace,monospace;font-size:14px;border-radius:4px;width:25px;height:25px;display:flex;align-items:center;justify-content:center}.pd-d-node .pd-node-title>b{background:#159c91}.pd-node-title>strong{font-size:14px;font-weight:550;color:var(--muted)}.pd-node-title>span{font-size:11px;color:var(--muted);display:block;width:100%;padding-left:33px;margin-top:-4px}.pd-resource-section{padding:13px 13px 12px;border-bottom:1px solid #e9eff7}.pd-resource-section:last-child{border:0}.pd-resource-label{font-size:11.5px;color:var(--muted);display:flex;gap:6px;justify-content:space-between;align-items:center;line-height:1.8;margin-bottom:9px}.pd-resource-label>b{font-family:ui-monospace,monospace;font-size:11.5px;font-weight:400;color:var(--muted)}.pd-resource-label>span{font-size:10.5px;color:var(--muted);letter-spacing:-.1px}.pd-chip-list{display:flex;flex-direction:column;gap:6px;min-height:57px}.pd-request{display:flex;gap:8px;align-items:center;background:white;border:1px solid #e0e9f5;border-left:2px solid #94b6e6;border-radius:4px;padding:6px 8px;line-height:1.7;min-width:0}.pd-request b{font-family:ui-monospace,monospace;font-size:12px;color:var(--muted);font-weight:500;flex-shrink:0}.pd-request small{font-size:11px;color:var(--muted)}.pd-request.building{background:#eff5ff;border-color:#d8e6fa;border-left-color:#5591e8}.pd-request.hold{background:#fdf6e9;border-color:#f0e3c9;border-left-color:#d7aa5e}.pd-request.hold small{color:var(--amber-text)}.pd-request.ready{background:#eaf7f2;border-color:#d4eae2;border-left-color:#64b29f}.pd-request.ready small{color:var(--teal)}.pd-request.target{border-left-color:#5eb6a8;background:#f1faf7;border-color:#d7ebe4}.pd-empty{font-size:11.5px;color:var(--muted);display:flex;align-items:center;min-height:23px;line-height:1.8}.pd-run{height:42px;background:#eaf2ff;border:1px solid #dbe8fb;border-radius:5px;display:flex;align-items:center;gap:10px;padding:0 11px;min-width:0}.pd-run>strong{font-family:ui-monospace,monospace;font-size:16px;color:var(--blue);font-weight:500}.pd-run>span{font-size:11.5px;color:var(--muted)}.pd-d-node .pd-run{background:#e9f6f1;border-color:#d6eae3}.pd-d-node .pd-run>strong{color:var(--teal)}.pd-d-node .pd-run>span{color:var(--teal)}.pd-run .pd-run-idle{color:var(--muted);font-size:11.5px}.pd-work-dots{display:flex;gap:3px;margin-left:auto}.pd-work-dots b{width:3px;height:8px;background:#87afe4;border-radius:2px}.pd-d-node .pd-work-dots b{background:#81baac}.pd-work-dots b:nth-child(2){height:12px}.pd-work-dots b:nth-child(3){height:16px}.pd-memory{background:#f3f7fd80}.pd-d-node .pd-memory{background:#f0f8f580}.pd-link-column{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;text-align:center;padding:10px 0}.pd-wire-arrows{display:flex;flex-direction:column;gap:0;color:var(--amber-text);align-items:center}.pd-wire-arrows>span{font-family:ui-monospace,monospace;font-size:11.5px;letter-spacing:1px;color:var(--amber-text)}.pd-wire-arrows>b{font-family:Arial,sans-serif;font-size:45px;font-weight:400;line-height:.9}.pd-link-column>strong{font-size:11.5px;font-weight:500;color:var(--amber-text);line-height:1.9}.pd-wire-track{width:100%;height:6px;background:#f2eadc;border-radius:6px;overflow:hidden}.pd-wire-track>i{display:block;height:100%;background:#d9a051;border-radius:6px;transition:width .2s}.pd-link-column>span{font-family:ui-monospace,var(--font);font-size:11px;color:var(--amber-text)}.pd-link-column>small{font-size:10.5px;color:var(--muted);line-height:1.8}.pd-link-column[data-state=blocked] .pd-wire-arrows>b{color:var(--muted)}.pd-link-column[data-state=blocked]>strong{color:var(--amber-text)}.pd-link-column[data-state=complete] .pd-wire-track>i{background:#68b3a2}.pd-link-column[data-state=idle] .pd-wire-track>i{width:0}.pd-resource-label .is-full{color:var(--amber-text)}.pd-audit{display:grid;grid-template-columns:1.4fr 1.2fr 1.2fr .6fr;gap:12px;background:#f6f9fd;border-top:1px solid #e5edf7;padding:17px 20px}.pd-audit>div{min-width:0;display:flex;flex-direction:column;gap:8px}.pd-audit span{font-size:11px;color:var(--muted)}.pd-audit strong{font-size:12px;color:var(--muted);line-height:1.8;font-weight:500}.pd-audit>div:last-child strong{font-family:ui-monospace,monospace}.lesson .pd-contrast{padding:13px 20px;margin:0;background:#fdf4e5;color:var(--amber-text);font-size:12px;line-height:1.9;border-top:1px solid #f1e4cf}.lesson .pd-model-footnote{font-size:11.5px;line-height:1.9;color:var(--muted);padding:13px 20px;margin:0;border-top:1px solid #e8eef6}
@media(max-width:1050px){.pd-schematic{grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr);gap:8px}.pd-node-title{padding:12px 10px}.pd-resource-section{padding:12px 10px}.pd-node-title>strong{font-size:13px}.pd-resource-label>span{font-size:10px}.pd-resource-label{font-size:11px}.pd-request{padding:6px;gap:6px}.pd-request small{font-size:10.5px}.pd-audit{gap:8px}.pd-audit strong{font-size:11.5px}.pd-link-column>strong{font-size:11px}.pd-route-line{gap:8px}.pd-route-line>span{font-size:10px}}
@media(max-width:560px){.pd-player-top{padding:14px 12px;gap:8px;flex-wrap:wrap}.pd-player-top .sim-title{font-size:13px}.pd-player-top .pill{font-size:11px}.pd-scenario-select{font-size:11.5px;gap:7px}.pd-scenario-select select{font-size:12px;max-width:190px}.lesson .pd-scope{padding:11px 13px;font-size:12px}.pd-event-heading{padding:18px 13px 14px;gap:12px;min-height:174px}.pd-event-number{width:40px}.pd-event-number>span{font-size:10.5px}.pd-event-number>b{font-size:25px}.pd-event-heading h3{font-size:15px}.pd-event-heading p{font-size:13px;line-height:1.95}.pd-controls{padding:5px 13px 13px}.pd-jumps{padding-left:13px;padding-right:13px;gap:5px}.pd-jumps button{font-size:11px}.pd-diagram-legend{padding:14px 13px 0;font-size:11px;gap:10px}.pd-route-line{margin:11px 13px 0;display:block;padding:8px 10px}.pd-route-line>span{font-size:10px}.lesson .pd-route-line p{font-size:11.5px;margin-top:4px}.pd-schematic{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;padding:13px}.pd-link-column{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:45px 1fr 85px;gap:6px 12px;background:#fcf8f0;border-radius:5px;padding:9px 12px}.pd-wire-arrows{grid-row:1/3;grid-column:1;gap:0}.pd-wire-arrows>span{font-size:10.5px}.pd-wire-arrows>b{font-size:32px}.pd-link-column>strong{font-size:11.5px;grid-column:2;grid-row:1;text-align:left}.pd-wire-track{grid-column:2;grid-row:2;height:5px}.pd-link-column>span{grid-column:3;grid-row:1;font-size:11px}.pd-link-column>small{grid-column:3;grid-row:2;font-size:10.5px}.pd-link-column>small br{display:none}.pd-node-title{padding:12px 9px 10px;gap:6px}.pd-node-title>b{width:23px;height:23px;font-size:13px}.pd-node-title>strong{font-size:12px}.pd-node-title>span{font-size:10.5px;padding-left:29px}.pd-resource-section{padding:12px 9px}.pd-resource-label{font-size:11px;gap:4px}.pd-resource-label>span{font-size:10px;max-width:60px;text-align:right}.pd-request{padding:6px;gap:5px}.pd-request b{font-size:11.5px}.pd-request small{font-size:11px}.pd-chip-list{min-height:75px}.pd-queue-list{min-height:93px}.pd-run{padding:0 8px;height:39px;gap:6px}.pd-run>strong{font-size:16px}.pd-run>span{font-size:11px}.pd-run .pd-run-idle{font-size:11px}.pd-empty{font-size:11px}.pd-work-dots{gap:2px}.pd-work-dots b{width:2px}.pd-audit{grid-template-columns:1fr 1fr;padding:15px 13px;gap:16px 10px}.pd-audit span{font-size:11px}.pd-audit strong{font-size:12px}.lesson .pd-model-footnote,.lesson .pd-contrast{font-size:12px;padding:12px 13px}}
@media print{.pd-controls,.pd-jumps{display:none!important}.pd-player{break-inside:avoid-page}.pd-schematic{grid-template-columns:minmax(0,1fr) 90px minmax(0,1fr)}.pd-link-column{display:flex;grid-column:auto;grid-row:auto}.pd-scope,.pd-event-heading p{font-size:11.5px!important}.pd-audit{grid-template-columns:repeat(4,1fr)}}
.pd-request small{font-size:12px}.pd-resource-label{font-size:12px}.pd-run>span{font-size:12px}.pd-diagram-legend{font-size:11.5px}.pd-empty{font-size:12px}.pd-resource-label>span{font-size:11px}.pd-node-title>span{font-size:11.5px}
@media(max-width:1050px){.pd-request small{font-size:11.5px}.pd-resource-label{font-size:11.5px}.pd-resource-label>span{font-size:10.5px}.pd-node-title>span{font-size:11px}.pd-run>span{font-size:11.5px}}
@media(max-width:560px){.pd-request small{font-size:11.5px}.pd-resource-label{font-size:11.5px}.pd-resource-label>span{font-size:10.5px}.pd-empty{font-size:11.5px}.pd-node-title>span{font-size:10.5px}.pd-run>span{font-size:11.5px}}
@media(max-width:560px){.pd-queue-list{min-height:60px}.pd-chip-list:not(.pd-queue-list){min-height:50px}}

@media(max-width:560px){.round-state-heading{font-size:10.5px;gap:3px 10px}.round-state-heading strong,.round-state-counts{font-size:11px}.round-state-counts{gap:5px 14px}.round-state-counts b{font-size:12px}.lesson .round-end-state p{font-size:11px}.lesson .round-end-state .round-state-basis{font-size:10.5px}}



.round-end-state .round-state-heading{font-size:13px}
.round-end-state .round-state-heading strong,.round-end-state .round-state-counts{font-size:14px}
.round-end-state .round-state-counts b{font-size:16px}
.lesson .round-end-state p{font-size:14px;line-height:1.85}
.lesson .round-end-state .round-state-basis{font-size:12.5px}
@media(max-width:560px){.round-end-state .round-state-heading{font-size:12px}.round-end-state .round-state-heading strong,.round-end-state .round-state-counts{font-size:13px}.round-end-state .round-state-counts b{font-size:15px}.lesson .round-end-state p{font-size:13px}.lesson .round-end-state .round-state-basis{font-size:12px}}

.preemption-steps{padding-left:1.5em;color:var(--text);font-size:14px;line-height:1.95}.preemption-steps li+li{margin-top:10px}

#pd .mechanism-block h3{margin-top:0}#pd .mechanism-block code{overflow-wrap:anywhere}#pd .source-code{max-width:100%;overflow-x:auto;font-size:13px}#pd .comparison-table th,#pd .comparison-table td{min-width:120px;vertical-align:top}#pd .comparison-table td:first-child{min-width:220px}

#pd .comparison-table td:first-child{white-space:normal;min-width:180px;max-width:300px}
