.agent-guide { max-width:1240px; margin:0 auto; }
.agent-guide section { scroll-margin-top:24px; margin-bottom:30px; }
.agent-guide h2 { margin:10px 0 14px; }
.agent-guide p { line-height:1.75; }
.ag-guide-intro { display:grid; grid-template-columns:2fr 1fr; gap:40px; padding:32px; background:linear-gradient(120deg,var(--surface),var(--surface-alt)); }
.ag-guide-intro h2 { max-width:700px; font-size:clamp(22px,3vw,32px); line-height:1.3; }
.ag-guide-plan { display:flex; flex-direction:column; gap:16px; justify-content:center; border-left:1px solid var(--line); padding-left:30px; }
.ag-guide-plan small { color:var(--muted); }
.ag-guide-nav { display:flex; gap:8px; flex-wrap:wrap; border-bottom:1px solid var(--line); padding-bottom:18px; margin-bottom:30px; }
.ag-guide-roles { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:16px; }
.ag-guide-role { padding:22px; }
.ag-guide-role h3 { margin:18px 0 10px; font-size:18px; }
.ag-guide-role details { margin-top:18px; padding-top:14px; border-top:1px solid var(--line); }
.agent-guide summary { cursor:pointer; font-weight:600; line-height:1.5; }
.ag-guide-role dt { font-weight:600; margin:14px 0 6px; }
.ag-guide-role dd { margin:0; line-height:1.65; }
.ag-guide-number { display:inline-grid; place-items:center; width:32px; height:32px; border-radius:10px; color:var(--ink); background:var(--surface-alt); border:1px solid var(--line); font-weight:700; }
.ag-guide-step { display:grid; grid-template-columns:1fr 1.2fr; gap:28px; align-items:center; padding:28px; }
.ag-guide-step h3 { font-size:20px; margin:14px 0; }
.ag-guide-figure { padding:0; border:1px solid var(--line); border-radius:12px; overflow:hidden; background:#101c30; cursor:zoom-in; color:white; text-align:left; }
.ag-guide-figure img,.ag-guide-zoom { width:100%; height:auto; display:block; border-radius:10px; }
.ag-guide-figure span { display:flex; gap:8px; align-items:center; padding:10px 16px; font-size:12px; }
.ag-guide-figure svg { width:14px; height:14px; }
.ag-guide-chat { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:20px 0; }
.ag-guide-chat p { background:var(--surface-alt); padding:20px; border:1px solid var(--line); border-radius:12px; margin:0; }
.ag-guide-checks { display:grid; gap:15px; }
.ag-guide-checks label { display:flex; gap:12px; align-items:flex-start; line-height:1.5; }
.ag-guide-checks input { margin-top:4px; }
.ag-guide-faq details { padding:20px 24px; border-bottom:1px solid var(--line); }
.ag-guide-faq details:last-child { border-bottom:0; }
.ag-guide-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:12px 0 32px; }
.ag-exercise { border-top:3px solid var(--primary,#2369ee); }
.ag-exercise-scenario { padding:18px; background:var(--surface-alt); border-radius:12px; border-left:3px solid #ffca62; }
.ag-exercise-question { margin:20px 0; padding:20px; border:1px solid var(--line); border-radius:12px; min-width:0; }
.ag-exercise-question legend { font-weight:700; padding:0 8px; line-height:1.5; }
.ag-exercise-question label { display:flex; align-items:flex-start; gap:12px; padding:12px; border-radius:8px; cursor:pointer; line-height:1.5; }
.ag-exercise-question label:has(input:checked) { background:var(--surface-alt); outline:1px solid #72a6ff; }
.ag-exercise-question input { margin-top:4px; flex-shrink:0; }
.ag-exercise-feedback { padding:14px; border-left:3px solid #ffca62; background:var(--surface-alt); border-radius:6px; }
.ag-exercise-feedback.correct { border-color:#42d4a0; }
#agExerciseScore { font-weight:700; }
@media(max-width:760px) { .ag-guide-intro,.ag-guide-step,.ag-guide-chat { grid-template-columns:1fr; gap:20px; } .ag-guide-intro,.ag-guide-step { padding:20px; } .ag-guide-plan { border-left:0; border-top:1px solid var(--line); padding:20px 0 0; } .ag-guide-roles { grid-template-columns:1fr; } .ag-guide-footer { align-items:flex-start; flex-direction:column; } }
