*{box-sizing:border-box}body{margin:0;background:#fff;color:#243348;font:16px/1.7 system-ui,-apple-system,"Segoe UI",sans-serif}main{max-width:1420px;margin:auto;padding:48px 30px 45px}h1{font-size:27px;line-height:1.3;letter-spacing:-.025em;font-weight:600;margin:0 0 30px}figure{margin:0}.image-wrap{overflow:auto}figure img{display:block;width:100%;height:auto}figcaption{max-width:1120px;font-size:15px;line-height:1.8;color:#4d5e73;margin-top:19px}nav{display:flex;flex-wrap:wrap;gap:12px 26px;margin-top:20px}a{color:#345f8c;text-decoration:none;text-underline-offset:4px}a:hover{text-decoration:underline}a:focus-visible{outline:2px solid #345f8c;outline-offset:4px}button,select{font:inherit}.materials{margin-top:48px;padding-top:28px;border-top:1px solid #dce2e9}.materials-heading{display:flex;align-items:center;justify-content:space-between;gap:22px}.materials h2{font-size:23px;line-height:1.3;letter-spacing:-.02em;font-weight:600;margin:0}.materials-heading>a{font-size:15px}.materials-intro{margin:14px 0 27px;color:#4d5e73;max-width:960px}.material{border-top:1px solid #dce2e9}.material:last-child{border-bottom:1px solid #dce2e9}.material>summary{padding:19px 4px;font-size:17px;font-weight:550;cursor:pointer}.material>summary::marker{color:#4e79a7}.material-body{padding:0 4px 27px}.material-body>p{max-width:1000px;color:#4d5e73;margin:0 0 21px}.material h3{font-size:15.5px;font-weight:600;line-height:1.5;margin:0 0 11px}.material-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:26px}.material-columns>div{min-width:0}.material a{font-size:14.5px}.material pre{background:#f7f9fc;border:1px solid #dfe5ed;border-radius:5px;white-space:pre;overflow:auto;padding:17px 18px;margin:0 0 12px;font:13px/1.7 "Cascadia Code",Consolas,"Liberation Mono",monospace;color:#243348;tab-size:4}.material pre.text-preview{white-space:pre-wrap;font-family:inherit;font-size:14px;line-height:1.75;max-height:390px}.code-preview{max-height:440px}.source-code{max-height:500px}.material pre:focus-visible,.material summary:focus-visible,.material button:focus-visible,.material select:focus-visible{outline:2px solid #345f8c;outline-offset:3px}.source-detail{margin-top:24px}.source-detail>summary{font-size:15px;color:#345f8c;cursor:pointer;padding:6px 0}.source-detail>p{font-size:15px;color:#4d5e73;margin:10px 0 14px}.source-detail pre{margin-top:12px}.source-controls{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;flex-wrap:wrap;margin-bottom:20px}.version-controls{display:flex;gap:7px}.version-controls button{font:14px/1.5 inherit;font-family:inherit;font-size:14px;line-height:1.5;padding:7px 12px;border:1px solid #cbd6e4;background:white;color:#4d5e73;border-radius:4px;cursor:pointer}.version-controls button[aria-pressed=true]{color:#345f8c;background:#edf3fa;border-color:#8fabcd}.file-control{display:flex;gap:11px;align-items:center;min-width:0;max-width:100%;color:#4d5e73;font-size:14px}.file-control select{font-family:inherit;font-size:14px;line-height:1.5;max-width:500px;width:100%;min-width:0;border:1px solid #cbd6e4;border-radius:4px;padding:7px;background:#fff;color:#243348}.code-heading{display:flex;justify-content:space-between;align-items:baseline;gap:15px}.code-heading h3{overflow-wrap:anywhere;min-width:0}.code-heading>a{flex-shrink:0}.material-links{display:flex;gap:12px 24px;flex-wrap:wrap;margin-top:13px}.table-scroll{overflow:auto}.material-table{border-collapse:collapse;width:100%;margin-top:4px;margin-bottom:22px;font-size:14px;line-height:1.6}.material-table caption{text-align:left;color:#4d5e73;font-size:14px;margin-bottom:11px}.material-table th,.material-table td{text-align:left;border-bottom:1px solid #dfe5ed;padding:11px 12px;vertical-align:top}.material-table thead th{font-weight:550;background:#f7f9fc;color:#4d5e73}.material-table tbody th{font-weight:500}.numeric-table{font-variant-numeric:tabular-nums}.numeric-table th:nth-last-child(-n+2),.numeric-table td:nth-last-child(-n+2){text-align:right}.candidate-table th:nth-last-child(-n+4),.candidate-table td:nth-last-child(-n+4){text-align:right}.candidate-table th:last-child,.candidate-table td:last-child{text-align:left}.candidate-table td:first-child{white-space:nowrap}.candidate-table td:nth-child(n+3){white-space:nowrap}.selected-row{background:#edf3fa}.selected-row td,.selected-row th{color:#345f8c}.seed-table{max-height:420px;margin-top:15px}.seed-table .material-table thead th{position:sticky;top:0}.seed-table td:not(:first-child),.seed-table th:not(:first-child){text-align:right;white-space:nowrap}.selection-reply{white-space:pre-wrap!important}.target-table{margin-top:25px}.policy-columns pre{height:430px;max-height:430px}.material-body>h3{margin-top:20px}
.material pre{font-size:14px;line-height:1.6}.material pre code{font:inherit}.file-control>label{white-space:nowrap}
@media(max-width:900px){.source-controls{align-items:stretch;gap:14px}.file-control{width:100%}.file-control select{max-width:none}.policy-columns{grid-template-columns:1fr}.policy-columns pre{height:auto;max-height:420px}}
@media(max-width:650px){.materials{margin-top:34px;padding-top:24px}.materials-heading{align-items:flex-start;flex-direction:column;gap:9px}.materials h2{font-size:21px}.materials-intro{font-size:15px}.material>summary{font-size:16px;padding:17px 0}.material-body{padding-left:0;padding-right:0}.material-body>p{font-size:15px}.material-columns{grid-template-columns:1fr;gap:23px}.material pre{font-size:12px;padding:14px}.material pre.text-preview{font-size:14px;max-height:330px}.code-heading{display:block}.code-heading>a{display:block;margin-bottom:11px}.version-controls button{font-size:13px}.file-control{display:block}.file-control select{margin-top:6px}.material-table th,.material-table td{padding:9px 10px}.target-table{font-size:13px}.material-links{gap:10px 18px}}
@media print{.materials{break-before:page}.materials-heading>a,.material a,.source-controls{display:none}.material>summary{font-size:12pt}.material-body>p{font-size:10pt}.material pre{font-size:8pt;max-height:none}.material-columns{grid-template-columns:1fr}.policy-columns pre{height:auto}.source-code,.seed-table{max-height:none}}
.materials>h2{margin-bottom:23px}.record-controls{display:flex;align-items:center;gap:13px;margin-bottom:14px}.record-controls select{border:1px solid #cbd6e4;border-radius:4px;padding:6px 12px;background:#fff;color:#243348}.record-table{max-height:315px;margin-bottom:26px}.record-table th{position:sticky;top:0}.record-table td{white-space:nowrap}.trace{margin:0 0 18px;padding-left:28px}.trace>li{padding:8px 0 11px 7px}.trace>li>details>summary{cursor:pointer;color:#345f8c}.trace p{max-width:1050px;font-size:14px;line-height:1.8;color:#4d5e73}.tool-result{font-variant-numeric:tabular-nums}.version-controls button{font-family:inherit}.source-controls{margin-top:23px}.numeric-table td:not(:first-child){text-align:right}.selected-row{background:#f0f7f2}.selected-row td,.selected-row th{color:#287457}@media(max-width:800px){main{padding:30px 18px}h1{font-size:23px}figure img{min-width:1000px}.image-wrap{margin-inline:-4px}.record-table{max-height:290px}}@media print{main{max-width:none;padding:0}nav{display:none}figure img{min-width:0}}
/* Chronological case guide: role labels match the workflow figure. */
.materials-intro{max-width:990px}.case-timeline{list-style:none;margin:28px 0 0;padding:0 0 0 27px;border-left:2px solid #dce4ee}
.case-timeline>li{position:relative;padding:0 0 36px 0}.case-timeline>li:last-child{padding-bottom:0}
.timeline-step.material{border:0;padding:0}.timeline-step header{display:flex;align-items:center;gap:14px;margin:0 0 9px}
.timeline-step .step-number{position:absolute;left:-46px;display:grid;place-items:center;width:36px;height:36px;border:1px solid #b9cbde;background:#fff;border-radius:50%;color:#345f8c;font-size:13px;font-weight:650;font-variant-numeric:tabular-nums}
.timeline-step header h3{font-size:20px;line-height:1.4;margin:0;font-weight:600}.step-purpose{max-width:1090px;margin:0 0 18px;color:#4d5e73}
.artifact-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.artifact-card{min-width:0;padding:18px 21px;background:#fafbfd;border:1px solid #e0e6ee;border-top:3px solid #98a9bc;border-radius:4px}
.artifact-role{font-size:12px;line-height:1.4;letter-spacing:.04em;font-weight:650;color:#53677d;margin:0 0 9px}.artifact-card h4{font-size:16px;line-height:1.45;margin:0 0 9px;font-weight:600}.artifact-card p:not(.artifact-role){font-size:14.5px;line-height:1.7;margin:0 0 13px}.artifact-card p:last-child{margin-bottom:0}.artifact-card ul{font-size:14px;line-height:1.7;margin:0 0 14px;padding-left:20px}.artifact-card li+li{margin-top:5px}
.artifact-card.agent{border-top-color:#427db2;background:#f4f8fc}.artifact-card.agent .artifact-role{color:#345f8c}.artifact-card.simulator{border-top-color:#7653ab;background:#f8f5fc}.artifact-card.simulator .artifact-role{color:#6545a4}.artifact-card.policy{border-top-color:#398365;background:#f3f8f4}.artifact-card.policy .artifact-role{color:#287457}
.artifact-card blockquote{margin:0 0 12px;font-size:14px;line-height:1.7}.artifact-card .material-links{gap:6px 19px;margin:0}.timeline-step .source-detail{margin-top:15px}.timeline-step .source-detail>summary,.interaction-record>.source-detail>summary{padding:10px 0;font-weight:500}.detail-content{padding-top:10px;min-width:0}.detail-content>p{font-size:14.5px}.detail-content .source-detail{margin-top:13px}.detail-content>.source-controls{margin-top:4px}
.result-labels{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 22px;font-size:13px;color:#4d5e73;margin-bottom:12px}.timeline-step>.numeric-table{margin-bottom:14px}.timeline-step>p:last-child{font-size:15px}.interaction-record{margin:30px 0 0 27px;padding-top:12px}.interaction-record>.source-detail{margin-top:0}
@media(min-width:1100px){.case-timeline{margin-left:9px;padding-left:32px}.timeline-step .step-number{left:-51px}}
@media(max-width:760px){.artifact-pair{grid-template-columns:1fr}.case-timeline{padding-left:23px;margin-left:2px}.timeline-step .step-number{left:-40px;width:32px;height:32px}.timeline-step header h3{font-size:18px}.artifact-card{padding:16px}.interaction-record{margin-left:23px}.source-code{max-height:400px}}
@media print{.case-timeline{border:0;margin-left:0;padding-left:0}.timeline-step .step-number{position:static;flex-shrink:0}.timeline-step header{break-after:avoid}.artifact-pair{break-inside:avoid}.interaction-record{margin-left:0}}

/* The overview explains the task; the caption follows the three figure rows. */
.case-overview{max-width:1120px;margin:-8px 0 29px;color:#4d5e73;font-size:16px;line-height:1.8}
.case-overview p{margin:0 0 13px}.case-overview p:last-child{margin-bottom:0}
.workflow-caption{max-width:1120px}.workflow-caption p{margin:0 0 15px}
.workflow-caption ol{margin:0 0 17px;padding-left:24px}.workflow-caption li{padding-left:5px;margin-bottom:10px}
.workflow-caption strong{font-weight:600;color:#243348}.workflow-caption p:last-child{margin-bottom:0}
@media(max-width:760px){.case-overview{font-size:15px;margin-top:-8px;margin-bottom:24px}.workflow-caption ol{padding-left:21px}}
