/* Agent engineering question bank, extending the notebook's established theme. */
.interview-shell{max-width:1650px;margin:auto;padding:32px 3vw 72px;display:grid;gap:36px;align-items:start;min-height:75vh}
.interview-index{grid-template-columns:250px minmax(0,1fr)}
.interview-detail{grid-template-columns:250px minmax(0,850px) 170px;gap:30px}
.interview-main{min-width:0}
.interview-sidebar{position:sticky;top:104px;border-right:1px solid var(--line);padding-right:20px;max-height:calc(100vh - 125px);overflow:auto}
.sidebar-heading{padding:0 12px 20px}.sidebar-heading .eyebrow{margin:0 0 6px;color:var(--muted);font-size:.875rem}.sidebar-heading h2{font-size:1.25rem;font-weight:750;margin:0}
.question-tree{font-size:.875rem;line-height:1.65}.question-tree a{text-decoration:none;color:inherit;display:block;overflow-wrap:anywhere}.question-tree a:hover{color:var(--blue)}
.tree-all,.tree-route{padding:11px 12px;font-weight:650}.tree-all{display:flex!important;justify-content:space-between}.tree-all span,.tree-count{color:var(--muted);font-size:.875rem;font-weight:400}
.question-tree a[aria-current=page]{background:var(--acid);color:var(--ink);font-weight:650}
.question-tree details{border-top:1px solid #d5d5cd;margin-top:6px}.question-tree summary{padding:12px 8px;cursor:pointer;font-size:.9375rem;font-weight:650;display:list-item}.question-tree summary>span:first-child{margin-right:8px}
.tree-children{border-left:1px solid var(--line);margin:0 0 12px 13px;padding-left:8px}.tree-children a{padding:9px 10px}.tree-children .tree-category{color:var(--blue)}
.interview-heading{padding:0 0 24px;border-bottom:1px solid var(--ink)}.interview-heading .eyebrow{margin-bottom:10px;color:var(--muted);font-size:.875rem}.interview-heading h1{font-size:clamp(1.8rem,3vw,2.6rem);font-weight:750;line-height:1.4;letter-spacing:-.025em;margin:0 0 12px}.interview-heading>p:not(.eyebrow){max-width:760px;color:#45463f;font-size:1rem;line-height:1.85}
.interview-heading-meta{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:20px;font-size:.875rem}.interview-heading-meta a,.interview-back{color:var(--blue);text-decoration:underline;text-underline-offset:4px}
.question-filters{display:grid;grid-template-columns:minmax(0,1fr) 145px 145px;gap:14px;margin:26px 0 12px}.question-filters label{font-size:.875rem;font-weight:600;display:block}.question-filters input,.question-filters select{display:block;width:100%;margin-top:7px;min-height:46px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:1rem;padding:10px 12px;border-radius:0}
.question-results{font-size:.875rem;color:var(--muted);display:flex;gap:16px;align-items:center;margin:16px 0}.question-results button,.question-empty button{color:var(--blue);text-decoration:underline;cursor:pointer;background:none;border:0;font:inherit;padding:8px 0}
.question-row{display:grid;grid-template-columns:38px minmax(0,1fr) 82px;gap:20px;padding:26px 0;border-bottom:1px solid var(--line);align-items:start}.question-number{font-family:ui-monospace,monospace;font-size:1rem;color:var(--muted);padding-top:4px}.question-row h2{font-size:1.25rem;font-weight:700;line-height:1.6;margin:8px 0}.question-row h2 a{color:var(--ink);text-decoration:none}.question-row h2 a:hover{color:var(--blue);text-decoration:underline;text-underline-offset:4px}.question-row p{font-size:1rem;line-height:1.8;color:#45463f;margin:0 0 12px}.question-meta{font-size:.875rem;color:var(--muted);display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center}.question-tags{display:flex;flex-wrap:wrap;gap:8px;font-size:.875rem}.question-tags span{padding:2px 8px;background:#e5e5dc;color:#45463f}.question-open{font-size:.875rem;color:var(--blue);padding:10px 0;text-decoration:underline;text-underline-offset:4px}
.question-empty{padding:45px 0}.question-empty h2{font-weight:650;font-size:1.3rem}.question-empty p{margin:12px 0}.question-empty a{display:inline-block;margin-left:20px;color:var(--blue)}
.interview-breadcrumb{display:flex;gap:10px;flex-wrap:wrap;font-size:.875rem;margin:0 0 24px}.interview-breadcrumb a{color:var(--blue)}.interview-breadcrumb span{color:var(--muted)}
.question-heading{border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:24px}.question-heading h1{font-size:clamp(1.8rem,2.5vw,2.5rem);font-weight:750;letter-spacing:-.025em;line-height:1.55;margin:12px 0}.question-heading>p{font-size:1rem;line-height:1.85;color:#45463f;margin:12px 0}.question-heading p.question-update{font-size:.875rem;color:var(--muted);margin-bottom:0}
.interview-prose{font-size:1rem;line-height:1.95;overflow-wrap:anywhere}.interview-prose>section{scroll-margin-top:100px}.interview-prose>section>h2{font-size:1.45rem;font-weight:750;line-height:1.5;margin:35px 0 16px}.interview-prose h3{font-size:1.125rem;font-weight:700;line-height:1.65;margin:26px 0 10px}.interview-prose section:first-child h2{margin-top:0}.interview-prose ul{list-style:disc;padding-left:1.3em}.interview-prose ol{list-style:decimal;padding-left:1.5em}.interview-prose li{margin:8px 0}.interview-prose pre{max-width:100%;overflow-x:auto;padding:24px 20px;position:relative;white-space:pre}.interview-prose pre code{font-size:.875rem;white-space:pre}.interview-prose pre .copy{position:absolute;top:7px;right:9px;font-size:.875rem;padding:3px 8px}.interview-prose .answer-brief{background:#e8eddb;border-left:3px solid var(--ink);padding:22px 24px;margin:28px 0}.interview-prose .answer-brief h2{margin:0 0 10px}.interview-prose .answer-brief p{margin:0}.expected-label{font-size:.875rem;font-weight:650;margin-top:22px!important}
.question-case{margin:16px 0;border-top:1px solid var(--line)}.question-case>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:20px;padding:15px 0;border-bottom:1px solid var(--line)}.question-case dt{font-weight:650;font-size:.9375rem}.question-case dd{margin:0}.question-related a{display:block;margin:12px 0}.question-references a{overflow-wrap:anywhere}
.question-toc{position:sticky;top:104px;font-size:.875rem;border-left:1px solid var(--line);padding-left:18px}.question-toc h2{font-size:.9375rem;font-weight:700;margin:0 0 14px}.question-toc nav a,.question-mobile-toc nav a{display:block;color:#45463f;text-decoration:none;padding:7px 0}.question-toc nav a:hover{color:var(--blue)}.question-toc-search{display:block;border-top:1px solid var(--line);margin-top:18px;padding-top:15px;color:var(--blue)}
.question-pagination{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:45px;border-top:1px solid var(--ink);padding-top:24px}.question-pagination a{display:block;min-width:0;color:var(--ink);text-decoration:none}.question-pagination a:last-child{text-align:right}.question-pagination span{display:block;font-size:.875rem;color:var(--muted);margin-bottom:6px}.question-pagination strong{font-size:1rem;line-height:1.7}.question-pagination a:hover strong{color:var(--blue)}
.interview-mobile-nav,.question-mobile-toc{display:none}
.interview-roadmap{margin-top:26px}.roadmap-stage{display:grid;grid-template-columns:48px minmax(0,1fr);gap:18px;padding:28px 0;border-bottom:1px solid var(--line)}.stage-number{font:650 1.25rem/1.8 ui-monospace,monospace;color:var(--blue)}.roadmap-stage h2,.llm-supplement h2{font-size:1.4rem;font-weight:750;line-height:1.5;margin:0 0 12px}.roadmap-stage p,.llm-supplement p{font-size:1rem;line-height:1.9;color:#45463f}.roadmap-stage ul{list-style:none;margin:22px 0;padding:0}.roadmap-stage li{display:flex;gap:15px;justify-content:space-between;align-items:baseline;border-top:1px solid #d5d5cd;padding:12px 0}.roadmap-stage li a{color:var(--blue);font-size:1rem}.roadmap-stage li span{font-size:.875rem;white-space:nowrap;color:var(--muted)}.stage-exercise{background:#e8eddb;padding:18px 20px}.stage-exercise h3{font-size:1rem;font-weight:700;margin:0 0 6px}.stage-exercise p{margin:0}.llm-supplement{padding:28px 0}.llm-supplement .eyebrow{margin-bottom:10px;font-size:.875rem}.llm-supplement a{display:block;color:var(--blue);margin-top:12px}
.topbar nav a{min-height:44px;display:flex;align-items:center;font-size:.9375rem}
@media(max-width:1250px){.interview-detail{grid-template-columns:230px minmax(0,1fr)}.question-toc{display:none}.question-mobile-toc{display:block;border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:22px;font-size:.9375rem}.question-mobile-toc summary{cursor:pointer;font-weight:650;padding:8px 0}.question-mobile-toc nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 20px;margin-top:10px}.interview-shell{gap:24px}}
@media(max-width:950px){.interview-index,.interview-detail{grid-template-columns:1fr;padding:24px 5vw 55px}.interview-sidebar{display:none}.interview-mobile-nav{display:block;background:#e5e5dc;padding:0 16px}.interview-mobile-nav>summary{font-size:1rem;font-weight:650;cursor:pointer;padding:13px 0}.interview-mobile-nav>summary>span{float:right;font-size:.875rem;font-weight:400;color:var(--muted)}.interview-mobile-nav .question-tree{padding:5px 0 16px}.interview-heading h1{font-size:2rem}.question-heading h1{font-size:1.9rem}.question-filters{grid-template-columns:minmax(0,1fr) 135px 135px}.topbar nav{display:flex;gap:20px}}
@media(max-width:650px){.topbar{height:auto;min-height:74px;flex-wrap:wrap;padding:10px 5vw 4px;gap:4px}.topbar nav{width:100%;display:flex;justify-content:space-between;gap:10px}.topbar nav a{font-size:.875rem}.interview-shell{padding-top:20px;gap:22px}.question-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.question-search{grid-column:1/-1}.interview-heading-meta{align-items:start;flex-direction:column;gap:10px}.question-row{grid-template-columns:28px minmax(0,1fr);gap:12px;padding:22px 0}.question-open{grid-column:2;padding-top:0}.question-row h2{font-size:1.125rem}.question-heading h1{font-size:1.65rem}.interview-prose .answer-brief{padding:18px}.interview-prose>section{scroll-margin-top:145px}.interview-prose>section>h2{font-size:1.3rem}.question-case>div{grid-template-columns:1fr;gap:5px}.question-pagination{grid-template-columns:1fr}.question-pagination a:last-child{text-align:left}.roadmap-stage{grid-template-columns:32px minmax(0,1fr);gap:12px}.roadmap-stage li{align-items:start}.interview-mobile-nav>summary>span{float:none;display:block;margin-top:4px}.interview-prose pre{padding:26px 14px}.question-tree a{min-height:44px}.question-tree summary{min-height:44px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.interview-method{margin-top:22px;border-top:1px solid var(--line);padding-top:16px;font-size:.9375rem;line-height:1.8}
.interview-method summary{cursor:pointer;color:var(--blue);font-weight:600;min-height:44px;padding:8px 0}
.interview-method p{max-width:850px;margin:10px 0;color:#45463f}
.interview-prose .question-practice{border:1px solid var(--line);padding:22px 24px;margin:28px 0}
.interview-prose .question-practice h2{margin:0 0 12px}
.question-practice h2 span{display:inline-block;font-size:.875rem;font-weight:400;color:var(--muted);margin-left:10px}
.question-practice details{margin-top:12px}.question-practice summary{cursor:pointer;min-height:44px;padding:8px 0;color:var(--blue);font-size:.9375rem}
.question-rubric{margin:16px 0}.question-rubric>div{border-top:1px solid var(--line);display:grid;grid-template-columns:110px minmax(0,1fr);gap:20px;padding:18px 0}.question-rubric>div:last-child{border-bottom:1px solid var(--line)}
.question-rubric dt{font-size:.9375rem;font-weight:700;color:var(--blue)}.question-rubric dd{margin:0}.interview-prose .rubric-hint,.interview-prose .question-provenance{font-size:.9375rem;color:#45463f}
.question-toc{max-height:calc(100vh - 125px);overflow-y:auto}
@media(max-width:650px){.interview-prose .question-practice{padding:18px}.question-practice h2 span{display:block;margin:5px 0 0}.question-rubric>div{grid-template-columns:1fr;gap:5px}}

.roadmap-nav{display:flex;flex-wrap:wrap;gap:12px 22px;margin:22px 0 4px}.roadmap-nav a{color:var(--blue);padding:8px 0;min-height:44px;font-size:.9375rem}
.beginner-plan,.engineering-plan{scroll-margin-top:110px;margin-top:34px}.beginner-plan>h2,.engineering-plan>h2{font-size:1.6rem;font-weight:750;line-height:1.5;margin:10px 0 16px}.beginner-plan>p,.engineering-plan>p{font-size:1rem;line-height:1.85;color:#45463f;margin:12px 0}.beginner-plan .beginner-pace{font-size:.9375rem}.beginner-plan .beginner-scope{font-size:.9375rem;background:#e8eddb;padding:16px 20px;border-left:3px solid var(--ink)}
.beginner-days-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px;margin:22px 0}.beginner-days-nav a{color:var(--blue);font-size:.9375rem;line-height:1.7;padding:10px 0;min-height:44px}
.beginner-day{border:1px solid var(--line);margin:16px 0;scroll-margin-top:110px;background:#f7f7f2}.beginner-day>summary{display:flex;align-items:start;gap:18px;cursor:pointer;padding:22px 24px;list-style:none}.beginner-day>summary::-webkit-details-marker{display:none}.beginner-day>summary:after{content:'+';font-size:1.4rem;color:var(--blue);flex:none}.beginner-day[open]>summary:after{content:'−'}.beginner-day-number{color:var(--blue);font:650 .9375rem/1.8 ui-monospace,monospace;white-space:nowrap}.beginner-day-heading{flex:1;min-width:0}.beginner-day-heading strong{display:block;font-size:1.125rem;line-height:1.7}.beginner-day-heading>span{display:block;font-size:.9375rem;line-height:1.8;color:#45463f;margin-top:4px}.beginner-day-time{font-size:.875rem;line-height:1.9;white-space:nowrap;color:var(--muted)}
.beginner-day-body{border-top:1px solid var(--line);padding:8px 24px 24px;font-size:1rem;line-height:1.85}.beginner-day-body h3{font-size:1.0625rem;font-weight:700;margin:24px 0 12px}.beginner-day-body p{margin:10px 0;overflow-wrap:anywhere}.beginner-quick-questions{list-style:decimal;padding-left:1.4em}.beginner-quick-questions>li{margin:16px 0}.beginner-quick-questions details{font-size:.9375rem}.beginner-quick-questions summary{color:var(--blue);cursor:pointer;padding:8px 0;min-height:44px}.beginner-quick-questions details p{color:#45463f;background:#eeeee7;padding:12px 16px}.beginner-reading-hint{color:#45463f;font-size:.9375rem}.beginner-question-links{list-style:none;padding:0;margin:12px 0}.beginner-question-links li{border-top:1px solid var(--line);padding:14px 0}.beginner-question-links a{display:block;color:var(--blue);line-height:1.8}.beginner-question-links span{display:block;color:var(--muted);font-size:.875rem;margin-top:4px}.beginner-task{background:#e8eddb;padding:0 20px 14px;overflow:hidden}.beginner-task ol{list-style:decimal;padding-left:1.4em}.beginner-task ul{list-style:disc;padding-left:1.4em}.beginner-task li{margin:12px 0;overflow-wrap:anywhere}.beginner-task h4{font-weight:700;font-size:1rem;margin:22px 0 8px}.beginner-task .beginner-failure{border-top:1px solid #cdd3bc;padding-top:14px;font-size:.9375rem}.beginner-day-body .beginner-day-footer{font-size:.875rem;color:var(--muted);margin:18px 0 0}.engineering-plan{padding-top:18px;margin-top:42px;border-top:1px solid var(--ink)}
@media(max-width:650px){.beginner-days-nav{grid-template-columns:1fr;gap:0}.beginner-day>summary{padding:18px 14px;gap:10px;flex-wrap:wrap}.beginner-day-time{order:4;width:100%;padding-left:64px}.beginner-day-body{padding:4px 16px 18px}.beginner-task{padding-left:14px;padding-right:14px}.beginner-plan,.engineering-plan,.beginner-day{scroll-margin-top:160px}}

/* Reading follows a principle, its consequences, and changed conditions. */
.question-row .question-concept-label,.question-heading .question-concept{color:var(--blue);font-size:.875rem;font-weight:650;margin:12px 0 0}
.concept-reading{margin:30px 0;padding:24px;background:#f0f2e9;border-top:2px solid var(--ink)}
.interview-prose .concept-reading>h2{margin:10px 0 14px}.concept-reading .eyebrow{font-size:.875rem;color:var(--muted);margin:0}
.learning-prerequisites{font-size:.9375rem;color:#45463f}.interview-prose .core-principle{margin:18px 0 24px;border-left:3px solid var(--blue);padding:8px 0 8px 18px;font-weight:600;font-size:1.0625rem;line-height:1.9}
.learning-answer>p:first-child{margin-top:12px}.learning-answer>h3:first-child{margin-top:14px}.learning-answer>p:last-child{margin-bottom:10px}
.follow-up-roots{padding-left:1.4em!important}.follow-up-roots>.follow-up-node{padding:18px 0;border-top:1px solid var(--line);margin:18px 0}
.follow-up-question{display:flex;gap:12px;align-items:baseline;line-height:1.8;margin:0 0 8px}.follow-up-question>span{font-size:.8125rem;white-space:nowrap;color:var(--blue)}.follow-up-question>strong{font-size:1.0625rem;font-weight:650}
.follow-up-why{font-size:.9375rem;color:#45463f;margin:8px 0 12px}.follow-up-answer{margin:10px 0}.follow-up-answer>summary,.transfer-case summary{cursor:pointer;color:var(--blue);padding:9px 0;min-height:44px;font-size:.9375rem;font-weight:600}
.follow-up-branch{border-left:2px solid #cdd5ba;padding-left:20px;margin:24px 0 8px}.follow-up-next{font-size:.8125rem;color:var(--muted);margin:0 0 14px}.follow-up-branch>ol{padding-left:1em}.follow-up-branch .follow-up-node{margin:16px 0 24px}
.transfer-case{padding:12px 22px 20px;margin:22px 0;border:1px solid var(--line);background:#f7f7f2}.interview-prose .transfer-case>h3{margin:12px 0}.transfer-invariant{border-top:1px solid var(--line);padding-top:14px;margin-top:18px}
.curriculum-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:24px 0}.curriculum-nav a{border-bottom:1px solid var(--line);padding:14px 0;color:var(--blue);font-size:.9375rem;line-height:1.8}
.curriculum-direction{scroll-margin-top:105px;border-top:1px solid var(--ink);padding:28px 0 32px}.curriculum-direction>.eyebrow{font-size:.8125rem;color:var(--muted);margin:0 0 10px}.curriculum-direction>h2{font-size:1.5rem;line-height:1.6;font-weight:750;margin:0 0 14px}.curriculum-direction>p{font-size:1rem;line-height:1.9;color:#45463f}
.curriculum-central{background:#e8eddb;padding:16px 20px;margin:18px 0}.curriculum-direction .curriculum-prerequisites{font-size:.875rem}.curriculum-prerequisites a{color:var(--blue)}.curriculum-outcomes{font-size:.9375rem;line-height:1.85;margin:16px 0}.curriculum-outcomes summary{padding:10px 0;min-height:44px;cursor:pointer;color:var(--blue)}.curriculum-outcomes ul{list-style:disc;padding-left:1.4em}.curriculum-outcomes li{margin:8px 0}
.curriculum-subsection>h3{font-size:1.125rem;font-weight:650;margin:26px 0 16px}.curriculum-concepts{list-style:decimal;padding-left:1.5em}.curriculum-concepts>li{padding:18px 0;border-top:1px solid var(--line)}.curriculum-concepts a{display:block;color:var(--ink);text-decoration:none}.curriculum-concepts a:hover strong{color:var(--blue);text-decoration:underline;text-underline-offset:4px}.curriculum-concepts strong{display:block;font-size:1.0625rem;font-weight:650;line-height:1.8}.curriculum-concepts a>span{display:block;font-size:.9375rem;line-height:1.8;color:#45463f;margin-top:7px}.curriculum-concepts li>p{font-size:.8125rem;line-height:1.8;color:var(--muted);margin:8px 0 0}
.curriculum-reading-method{border-top:1px solid var(--ink);padding-top:24px;line-height:1.9}.curriculum-reading-method h2{font-size:1.4rem;font-weight:700;margin-bottom:16px}.curriculum-reading-method ol{list-style:decimal;padding-left:1.4em}.curriculum-reading-method li{margin:10px 0}
@media(max-width:650px){.concept-reading{padding:18px 16px}.follow-up-question{gap:8px;flex-wrap:wrap}.follow-up-branch{padding-left:12px}.follow-up-branch>ol{padding-left:.8em}.transfer-case{padding:10px 14px 16px}.curriculum-nav{grid-template-columns:1fr}.curriculum-direction{scroll-margin-top:155px}.curriculum-direction>h2{font-size:1.3rem}.curriculum-central{padding:14px 16px}}
