/* New research pages share the approved Fugu scale, palette and chart frame. */
.ai-research-page .nl-sql-opening h1{font-size:clamp(36px,3.8vw,56px);line-height:1.16;word-break:keep-all;overflow-wrap:normal}
.ai-research-page[lang=en] h1{word-break:normal}
.ai-research-page .page-head .tech-intro{max-width:50ch}
.ai-research-page .tech-note,.ai-research-page .article-meta{color:#59616b}
.ai-research-page .tech-runs small{font-size:12px}
.ai-research-page .tech-checks>div{scroll-margin-top:100px}
.ai-workflow{margin:30px 0 0}
.ai-workflow ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:stretch}
.ai-workflow li{position:relative;padding:17px 7px;text-align:center;border:1px solid #cfd9e5;background:#fff;min-width:0}
.ai-workflow li:nth-child(3){border-color:#bb2928;background:#fff5f5}
.ai-workflow li+li:before{content:'';position:absolute;left:-13px;top:40%;width:7px;height:7px;border-top:1px solid #bb2928;border-right:1px solid #bb2928;transform:rotate(45deg)}
.ai-workflow strong{display:block;font-size:13px;line-height:1.5;color:#17212e}
.ai-workflow span{display:block;font-size:12px;line-height:1.6;color:#536174;margin-top:7px}
.ai-workflow figcaption{font-size:12px;line-height:1.7;color:#536174;margin-top:14px}
.ai-research-page #why .tech-values{margin:0;grid-template-columns:1fr}
.ai-research-page #why .tech-values>div{padding:19px 0;border-bottom:1px solid #e3e8ee}
.ai-research-page #why .tech-values>div:first-child{padding-top:0}
.ai-paper-diagram{min-height:160px;display:flex;align-items:center;justify-content:center;gap:18px;border:1px solid #e5e7eb;background:#fff;padding:24px 10px}
.ai-paper-diagram span{position:relative;flex:1;text-align:center;font-size:12px;line-height:1.6;color:#536174;max-width:28%}
.ai-paper-diagram span:nth-child(2){color:#bb2928;font-weight:600}
.ai-paper-diagram span+span:before{content:'';position:absolute;left:-17px;top:5px;width:7px;height:7px;border-top:1px solid #bb2928;border-right:1px solid #bb2928;transform:rotate(45deg)}
.ai-research-page[data-ai-technology=document-reasoning] .research-plot-frame picture{width:100%}
.ai-topics{border-top:1px solid #dce3ed;padding:52px 0 60px}
.ai-topics>h2{font-size:30px;font-weight:500;letter-spacing:-.03em;margin-bottom:34px}
.ai-topic-row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:26px;padding:34px 0;border-top:1px solid #e3e8ee;align-items:center}
.ai-topic-row h3{margin:0 0 12px;font-size:23px;line-height:1.45;font-weight:500}
.ai-topic-row .text-link{font-size:inherit;font-weight:inherit;white-space:normal}
.ai-topic-row p{font-size:15px;line-height:1.8;color:#536174;max-width:48ch;margin:0}
.ai-topic-outcome{display:flex;flex-direction:column;align-items:flex-start;gap:13px;padding-left:40px}
.ai-topic-outcome span{font-size:13px;color:#637186}
.ai-topic-outcome svg{width:72px;height:16px;color:#bb2928}
.ai-topic-outcome strong{font-size:19px;color:#17212e;font-weight:500}
.ai-system-map{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:26px;align-items:center;padding:42px 0 28px}
.ai-system-map>div{position:relative;text-align:center;font-size:13px;line-height:1.8;color:#536174}
.ai-map-core{border:1px solid #bb2928;padding:25px 12px;background:#fff5f5}
.ai-map-core strong{font-weight:500;color:#17212e}
.ai-map-core:before,.ai-map-output:before{content:'';position:absolute;left:-22px;top:calc(50% - 4px);width:8px;height:8px;border-top:1px solid #bb2928;border-right:1px solid #bb2928;transform:rotate(45deg)}
@media(max-width:1000px){.ai-workflow ol{grid-template-columns:1fr;gap:15px;max-width:440px;margin:0 auto}.ai-workflow li{padding:14px 18px;display:grid;grid-template-columns:1fr 1.4fr;text-align:left;gap:16px}.ai-workflow span{margin:0}.ai-workflow li+li:before{transform:rotate(135deg);left:50%;top:-14px}.ai-topic-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:18px}.ai-topic-outcome{padding-left:10px}}
@media(max-width:780px){.ai-research-page .nl-sql-opening h1{font-size:38px;line-height:1.16}.ai-paper-diagram{min-height:145px}.ai-topic-row{grid-template-columns:minmax(0,1fr);gap:14px;padding:27px 0}.ai-topic-row h3{font-size:22px}.ai-topic-outcome{grid-column:1;flex-direction:row;align-items:center;flex-wrap:wrap;padding:8px 0 0;gap:10px}.ai-topic-outcome svg{width:32px}.ai-topic-outcome strong{font-size:16px}.ai-topics{padding-top:34px}.ai-topics>h2{font-size:27px}.ai-system-map{grid-template-columns:1fr;padding-top:25px;gap:32px}.ai-map-core:before,.ai-map-output:before{transform:rotate(135deg);left:calc(50% - 4px);top:-24px}.ai-map-core{padding:22px 12px}.ai-workflow li{grid-template-columns:1fr 1.2fr}.ai-research-page .research-data table{font-size:12px}.ai-research-page .research-data th,.ai-research-page .research-data td{padding:12px 9px}}
