
.astra-article #tool-call-viewer *{box-sizing:border-box}
.astra-article #tool-call-viewer main{max-width:1120px;margin:28px auto;padding:0 20px}
.astra-article #tool-call-viewer a{color:#4c7900;text-decoration:none}
.astra-article #tool-call-viewer a:hover{text-decoration:underline}
.astra-article #tool-call-viewer .top{display:flex;align-items:baseline;justify-content:space-between;gap:14px}
.astra-article #tool-call-viewer h1{font-size:20px;line-height:1.3;margin:0}
.astra-article #tool-call-viewer h2{font-size:16px;line-height:1.4;margin:0}
.astra-article #tool-call-viewer h3{font-size:13px;margin:0}
.astra-article #tool-call-viewer .muted{color:#73796c;font-size:11px;margin:4px 0}
.astra-article #tool-call-viewer .nav{display:flex;align-items:center;gap:8px;margin:16px 0 12px}
.astra-article #tool-call-viewer button, .astra-article #tool-call-viewer select{font:12px system-ui,sans-serif;padding:7px 10px;border:1px solid #d4dccb;border-radius:5px;background:white;color:#446d08;cursor:pointer}
.astra-article #tool-call-viewer button:disabled{opacity:.35;cursor:default}
.astra-article #tool-call-viewer select{flex:1;min-width:0}
.astra-article #tool-call-viewer #count{font-size:11px;color:#73796c;white-space:nowrap}
.astra-article #tool-call-viewer button:focus-visible, .astra-article #tool-call-viewer select:focus-visible{outline:2px solid #76b900;outline-offset:2px}
.astra-article #tool-call-viewer .figure{margin:0;background:white;border:1px solid #d9ded3;border-radius:8px;overflow:hidden}
.astra-article #tool-call-viewer .head{padding:14px 18px;display:flex;justify-content:space-between;align-items:start;gap:16px;border-bottom:1px solid #e1e5dc}
.astra-article #tool-call-viewer .head a{font-size:11px;white-space:nowrap}
.astra-article #tool-call-viewer .badge{font-size:10px;color:#4c750e;background:#eef5e4;padding:2px 7px;border-radius:10px;margin-left:7px;white-space:nowrap}
.astra-article #tool-call-viewer .grid{display:grid;grid-template-columns:1fr 1.12fr 1fr}
.astra-article #tool-call-viewer .cell{padding:14px 16px}
.astra-article #tool-call-viewer .cell+.cell{border-left:1px solid #e2e7db}
.astra-article #tool-call-viewer .calculation{background:#fafcf6}
.astra-article #tool-call-viewer .label{font-size:10px;color:#788170;margin:4px 0 8px}
.astra-article #tool-call-viewer .label.output{margin:10px 0 4px;color:#547c19}
.astra-article #tool-call-viewer blockquote{margin:0;padding:8px 0 8px 10px;border-left:2px solid #76b900;font:12px/1.65 ui-monospace,SFMono-Regular,monospace;overflow-wrap:anywhere}
.astra-article #tool-call-viewer pre{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.55 ui-monospace,SFMono-Regular,monospace;color:#48513f}
.astra-article #tool-call-viewer pre.result{padding:8px 10px;background:#ecf4e0;border-radius:4px;color:#344c19}
.astra-article #tool-call-viewer .bridge{padding:11px 18px;background:#edf4e3;border-top:1px solid #d9e6c6}
.astra-article #tool-call-viewer .bridge strong{display:block;font-size:13px;color:#476d0d}
.astra-article #tool-call-viewer .bridge p{font-size:11px;color:#68755b;margin:3px 0 0}
.astra-article #tool-call-viewer .follow{margin:0;border-top:1px solid #e1e5dc;padding:10px 18px}
.astra-article #tool-call-viewer summary{cursor:pointer;color:#4c7900;font-size:11px}
.astra-article #tool-call-viewer .follow-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding-top:12px}
.astra-article #tool-call-viewer .follow-grid h3{margin-bottom:5px}
.astra-article #tool-call-viewer .footer{padding:10px 18px;display:flex;justify-content:space-between;align-items:start;gap:16px;border-top:1px solid #e1e5dc}
.astra-article #tool-call-viewer .footer p{margin:0;max-width:600px}
.astra-article #tool-call-viewer .footer details{max-width:100%}
.astra-article #tool-call-viewer .sources{font:10px/1.6 ui-monospace,monospace;overflow-wrap:anywhere;max-width:420px}
.astra-article #tool-call-viewer .sources p{margin:7px 0}
.astra-article #tool-call-viewer .context-note{font-size:11px;color:#818878;margin:10px 2px}
.astra-article #tool-call-viewer .mechanism{margin-top:8px}
.astra-article #tool-call-viewer .mechanism p{font-size:11px;color:#73796c;margin:5px 0}@media(max-width:700px){
.astra-article #tool-call-viewer main{margin:16px auto;padding:0 12px}
.astra-article #tool-call-viewer .top{display:block}
.astra-article #tool-call-viewer .top a{display:inline-block;margin-top:6px}
.astra-article #tool-call-viewer .grid{grid-template-columns:1fr}
.astra-article #tool-call-viewer .cell+.cell{border-left:0;border-top:1px solid #e2e7db}
.astra-article #tool-call-viewer .follow-grid{grid-template-columns:1fr;gap:14px}
.astra-article #tool-call-viewer .footer{display:block}
.astra-article #tool-call-viewer .footer details{margin-top:8px}
.astra-article #tool-call-viewer .head{padding:12px}
.astra-article #tool-call-viewer .cell{padding:12px}
.astra-article #tool-call-viewer .nav{gap:5px}
.astra-article #tool-call-viewer button{padding:7px}
.astra-article #tool-call-viewer .badge{display:inline-block;margin:5px 0 0}
.astra-article #tool-call-viewer .head a{font-size:10px}
.astra-article #tool-call-viewer .sources{max-width:100%}}
.astra-article #tool-call-viewer .grid{grid-template-columns:1fr 1fr}
.astra-article #tool-call-viewer .tool-call{margin-bottom:14px;border:1px solid #d9e5c8;border-radius:5px;background:#f6f9ef;overflow:hidden}
.astra-article #tool-call-viewer .tool-heading{padding:6px 9px;background:#eaf2dd;border-bottom:1px solid #d9e5c8;font-size:10px;color:#50751d;display:flex;justify-content:space-between;gap:10px}
.astra-article #tool-call-viewer .tool-heading b{font:600 11px ui-monospace,monospace}
.astra-article #tool-call-viewer .tool-content{padding:9px 10px}
.astra-article #tool-call-viewer .tool-content .result{margin-top:4px;background:#eaf2dd}
.astra-article #tool-call-viewer .tool-content .label{margin:7px 0 3px}
.astra-article #tool-call-viewer .cell.calculation{background:white}
.astra-article #tool-call-viewer #group{flex:0 1 150px}
.astra-article #tool-call-viewer .group-label{font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#648534;margin-bottom:5px}
.astra-article #tool-call-viewer .nav{flex-wrap:wrap}@media(max-width:700px){
.astra-article #tool-call-viewer .grid{grid-template-columns:1fr}
.astra-article #tool-call-viewer #group{flex-basis:100%}
.astra-article #tool-call-viewer .tool-content{padding:8px}
.astra-article #tool-call-viewer .nav #pick{flex:1}
.astra-article #tool-call-viewer .tool-heading{font-size:9px}}
.astra-article #tool-call-viewer .grid{grid-template-rows:auto auto auto}
.astra-article #tool-call-viewer .grid>.cell{display:grid;grid-template-rows:subgrid;grid-row:span 3}
.astra-article #tool-call-viewer .cell>h3{padding-bottom:9px}
.astra-article #tool-call-viewer .aligned-explanation .label{margin:0 0 7px}
.astra-article #tool-call-viewer .inspection-images{display:flex;gap:8px;padding:9px;background:white}
.astra-article #tool-call-viewer .inspection-images figure{margin:0;flex:1;min-width:0}
.astra-article #tool-call-viewer .inspection-images img{display:block;width:100%;height:120px;object-fit:contain;background:#f5f6f2}
.astra-article #tool-call-viewer .inspection-images figcaption{font-size:9px;color:#748068;padding-top:4px}
.astra-article #tool-call-viewer .tool-call{margin-bottom:13px}
.astra-article #tool-call-viewer .aligned-explanation{padding-bottom:2px}@media(max-width:700px){
.astra-article #tool-call-viewer .grid{grid-template-rows:none}
.astra-article #tool-call-viewer .grid>.cell{display:block;grid-row:auto}
.astra-article #tool-call-viewer .tool-spacer{display:none}
.astra-article #tool-call-viewer .aligned-explanation .label{margin-top:8px}}
.astra-article #tool-call-viewer .target-field{margin:10px 0 0;padding:8px 10px;background:#f5f7f1;border:1px solid #e3e7db;border-radius:4px;display:flex;gap:8px;flex-wrap:wrap;align-items:baseline}
.astra-article #tool-call-viewer .target-field>span{font-size:10px;color:#737d68}
.astra-article #tool-call-viewer .target-field>code{font:11px ui-monospace,monospace;color:#43562e}
.astra-article #tool-call-viewer .target-field details{width:100%}
.astra-article #tool-call-viewer .target-field summary{font-size:10px}
.astra-article #tool-call-viewer .target-field pre{margin-top:6px}
.astra-article #tool-call-viewer .target-field{margin:0 0 10px}
.astra-article #tool-call-viewer .aligned-explanation>.label{margin:0 0 7px}
.astra-article #tool-call-viewer .audit-viewer-link{display:flex;justify-content:flex-end;margin:12px 0 0}
.astra-article #tool-call-viewer .audit-viewer-link button{background:none;border:0;padding:0;color:#4c7900;font-size:12px}
.astra-article #tool-call-viewer .audit-viewer-link button:hover{text-decoration:underline}
.astra-article #tool-call-viewer #full-tool-audit{width:min(920px,calc(100vw - 24px));height:min(960px,calc(100dvh - 32px));max-width:none;max-height:none;padding:0;border:1px solid #d4dccb;border-radius:9px;background:#f7f8f4;box-shadow:0 20px 70px #17250b33}
.astra-article #tool-call-viewer #full-tool-audit::backdrop{background:#18220f80}
.astra-article #tool-call-viewer #full-tool-audit[open]{display:flex;flex-direction:column}
.astra-article #tool-call-viewer .audit-popup-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;background:white;border-bottom:1px solid #d9ded3}
.astra-article #tool-call-viewer .audit-popup-header h2{font-size:15px}
.astra-article #tool-call-viewer .audit-popup-header form{margin:0}
.astra-article #tool-call-viewer #full-tool-audit iframe{flex:1;min-height:0;width:100%;border:0;background:white}
.astra-article #tool-call-viewer .tool-spacer{display:flex;align-items:center;justify-content:center;min-height:105px}
.astra-article #tool-call-viewer .baseline-sketch{width:100%;max-width:355px;padding:14px 5px;color:#729640}
.astra-article #tool-call-viewer .baseline-sketch svg{width:100%;height:auto;display:block}
.astra-article #tool-call-viewer .baseline-sketch .sketch-label{font:11px system-ui,sans-serif;fill:#748565}
.astra-article #tool-call-viewer .baseline-sketch>span{display:block;text-align:center;font-size:9px;color:#a1a898;margin-top:3px}@media(max-width:700px){
.astra-article #tool-call-viewer .tool-spacer{display:flex;min-height:0}
.astra-article #tool-call-viewer .baseline-sketch{max-width:300px;padding:10px 0}}

.astra-article #tool-call-viewer{padding:18px;overflow:hidden}
.astra-article #tool-call-viewer .nav{margin-top:0}
.astra-article #tool-call-viewer .head h2{font:500 15px/1.4 var(--font)}
.astra-article #tool-call-viewer .figure{border-radius:6px}
.astra-article #tool-call-viewer .footer details{max-width:100%}
.astra-article #tool-call-viewer>figcaption{margin:18px -18px -18px;padding:14px 18px}
.astra-article #tool-call-viewer .sources{max-width:100%}
@media(max-width:540px){.astra-article #tool-call-viewer{padding:14px}.astra-article #tool-call-viewer>figcaption{margin:14px -14px -14px}}

.astra-article #tool-call-viewer-audit{width:min(920px,calc(100vw - 24px));height:calc(100dvh - 32px);padding:0;gap:0;overflow:hidden}.astra-article #tool-call-viewer-audit[open]{display:flex;flex-direction:column}.astra-article #tool-call-viewer-audit .tool-audit-body{flex:1;min-height:0;overflow-y:auto;padding:18px}.astra-article #tool-call-viewer-audit .tool-audit-body>figure{margin:0 0 20px}.astra-article #tool-call-viewer-audit .tool-audit-body>figure:last-child{margin-bottom:0}.astra-article #tool-call-viewer-audit .full-results-header{padding:12px 18px;flex:none}
.astra-article #tool-call-viewer [data-tool-viewer="group"]{flex:0 1 150px}
.astra-article #tool-call-viewer [data-tool-viewer="count"]{font-size:11px;color:var(--muted);white-space:nowrap}
.astra-article #tool-call-viewer .tool-content pre{padding:0;border:0;background:none}
.astra-article #tool-call-viewer .tool-content pre.result{padding:8px 10px;background:#eaf2dd}
.astra-article #tool-call-viewer .inspection-images figcaption{margin:0;padding:4px 0 0;border:0;background:none;font-size:9px}
.astra-article.figure-standalone #tool-call-viewer{max-width:1060px;margin-inline:auto}
@media(max-width:700px){.astra-article #tool-call-viewer [data-tool-viewer="group"]{flex-basis:100%}}

.astra-article #tool-call-viewer .baseline-empty{color:var(--muted);font:400 12px/1.5 var(--font)}

/* Full-width tool use above the action comparison. */
.astra-article #tool-call-viewer .tool-example .head{padding:0 0 12px}
.astra-article #tool-call-viewer .tool-example-body{padding:14px 0}
.astra-article #tool-call-viewer .tool-example .tool-call{border:0;border-radius:0;background:none}
.astra-article #tool-call-viewer .tool-example .tool-heading{padding:0 0 8px;background:none;border:0;align-items:baseline;flex-wrap:wrap}
.astra-article #tool-call-viewer .tool-example .tool-heading h3{font:500 13px/1.4 var(--font);color:var(--ink)}
.astra-article #tool-call-viewer .tool-example .tool-content{padding:10px 0}
.astra-article #tool-call-viewer .tool-example .inspection-images{padding:0 0 10px}
.astra-article #tool-call-viewer .tool-example .inspection-images img{height:180px}
.astra-article #tool-call-viewer .tool-example .follow{padding:10px 0}
.astra-article #tool-call-viewer .tool-follow-up{padding-top:12px}
.astra-article #tool-call-viewer .tool-example .footer{padding:10px 0 0}
@media(max-width:540px){.astra-article #tool-call-viewer .tool-example .inspection-images img{height:120px}}

.astra-article #tool-call-viewer .tool-comparison{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0}
.astra-article #tool-call-viewer .tool-comparison>section{min-width:0}
.astra-article #tool-call-viewer .tool-comparison h3{margin:0 0 10px;font:500 13px/1.4 var(--font)}

.astra-article #tool-call-viewer .comparison-heading{margin:0 0 14px;padding-top:16px;border-top:1px solid var(--line);font:500 11px/1.4 var(--font);letter-spacing:.08em;color:var(--muted)}
.astra-article #tool-call-viewer .tool-comparison>section:first-child{padding-right:18px}
.astra-article #tool-call-viewer .tool-comparison>section+section{padding-left:18px;border-left:1px solid var(--line)}
@media(max-width:700px){
.astra-article #tool-call-viewer .tool-comparison{grid-template-columns:1fr;gap:18px}
.astra-article #tool-call-viewer .tool-comparison>section:first-child{padding-right:0}
.astra-article #tool-call-viewer .tool-comparison>section+section{padding:18px 0 0;border-left:0;border-top:1px solid var(--line)}
}
