/* v1.5.8 — Single-source, compact section-04 layout. No legacy overrides. */
.hqr .hqcp-s04,.hqr .hqcp-s04 *{box-sizing:border-box}
.hqr .hqcp-s04{width:100%;min-width:0;margin:24px 0 38px;color:#23372b;scroll-margin-top:85px;font-size:14px;line-height:1.4}
.hqr .hqcp-s04 [hidden]{display:none!important}
.hqr .hqcp-s04-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(275px,.85fr);gap:20px;align-items:center;margin:0 0 12px}
.hqr .hqcp-s04-head{margin:0}.hqr .hqcp-s04-head>span{font-size:11px;letter-spacing:.09em;font-weight:750;color:#637d59}
.hqr .hqcp-s04-head h2{font:700 clamp(26px,2.3vw,33px)/1.13 "Segoe UI",Arial,sans-serif!important;color:#203528;margin:4px 0 5px!important;max-width:950px}
.hqr .hqcp-s04-head p{font-size:13px;color:#637166;margin:0}
.hqr .hqcp-s04-intro{position:relative;min-height:72px;padding:13px 16px 13px 64px;background:#f4f6f2;border:1px solid #e5e9e2;border-radius:10px;margin:0}
.hqr .hqcp-s04-intro:before{content:'▤';position:absolute;left:16px;top:17px;width:33px;height:33px;display:grid;place-items:center;border-radius:50%;background:#e3ebdf;color:#36593d;font-size:20px}
.hqr .hqcp-s04-intro strong{display:block;font-size:13px;color:#26382d}
.hqr .hqcp-s04-intro p{font-size:11px;line-height:1.35;color:#677469;margin:3px 0 0}
.hqr .hqcp-s04-guide{font-size:11px;color:#637165;margin:0 0 7px}
.hqr .hqcp-s04-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:8px;width:100%;padding:0;margin:0 0 10px}
.hqr .hqcp-s04-navitem{appearance:none;position:relative;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;min-width:0;width:100%;min-height:68px;padding:10px 35px 10px 12px!important;gap:5px;text-align:left;white-space:normal!important;text-transform:none!important;letter-spacing:normal!important;background:#fff!important;border:1px solid #dee5dd!important;border-radius:9px!important;color:#26392c!important;box-shadow:none!important;cursor:pointer}
.hqr .hqcp-s04-navitem small{display:block;font:700 16px/1 "Segoe UI",Arial,sans-serif!important;color:#36533e!important}
.hqr .hqcp-s04-navitem strong{display:block;font:700 13px/1.35 "Segoe UI",Arial,sans-serif!important;color:#24382b!important}
.hqr .hqcp-s04-navicon{position:absolute;right:9px;top:9px;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#edf2ed;color:#345a41}
.hqr .hqcp-s04-navicon svg{width:16px;height:16px;display:block}
.hqr .hqcp-s04-navitem[aria-selected=true]{border-color:#718d72!important;background:#ecf3eb!important;box-shadow:inset 0 0 0 1px #b5c8b5!important}
.hqr .hqcp-s04-navitem:focus-visible,.hqr .hqcp-s04-research-card:focus-visible{outline:2px solid #557d62;outline-offset:2px}
.hqr .hqcp-s04-model{display:block;width:100%;min-width:0;background:#fff;border:1px solid #dee6dc;border-radius:12px;padding:14px 17px;margin:0;scroll-margin-top:95px}
.hqr .hqcp-s04-model-head{display:block;margin:0}.hqr .hqcp-s04-model-head>span{font-size:10px;letter-spacing:.06em;color:#587457;font-weight:750}
.hqr .hqcp-s04-model-head h3{font:700 clamp(22px,2vw,26px)/1.15 "Segoe UI",Arial,sans-serif!important;color:#1e3526;margin:3px 0!important}
.hqr .hqcp-s04-fit{font-size:11px;line-height:1.35;color:#677267;margin:4px 0 10px}
.hqr .hqcp-s04-grid{display:grid!important;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr)!important;gap:12px;align-items:stretch;min-width:0}
.hqr .hqcp-s04-preview-visual{min-width:0;display:flex;flex-direction:column;background:#faf9f6;border:1px solid #e8eae5;border-radius:10px;padding:9px 12px;overflow:hidden}
.hqr .hqcp-s04-image-top{font-size:9px;line-height:1.2;letter-spacing:.03em;color:#718073;margin:0 0 4px}
.hqr .hqcp-s04-device{position:relative;display:flex;justify-content:center;align-items:center;flex:1;min-height:240px;height:240px;max-height:260px;padding:5px 25px 9px 0}
.hqr .hqcp-s04-laptop{width:82%;max-height:236px;overflow:hidden;border:6px solid #222c27;border-bottom-width:10px;border-radius:10px 10px 7px 7px;box-shadow:0 9px 14px #20372822;background:#fff}
.hqr .hqcp-s04-browserbar{height:14px;display:flex;gap:4px;align-items:center;padding:0 7px;background:#ebece9}
.hqr .hqcp-s04-browserbar i{display:block;width:5px;height:5px;border-radius:50%;background:#b1b5af}.hqr .hqcp-s04-browserbar i:first-child{background:#df9289}.hqr .hqcp-s04-browserbar i:nth-child(2){background:#e4c77f}
.hqr .hqcp-s04-laptop img{width:100%!important;height:206px!important;min-height:0!important;max-height:none!important;object-fit:cover!important;object-position:top!important;display:block!important}
.hqr .hqcp-s04-phone{position:absolute;right:4%;bottom:8px;width:23%;height:66%;max-height:162px;overflow:hidden;border:5px solid #253029;border-radius:17px;background:#fff;box-shadow:0 8px 14px #1f302533}
.hqr .hqcp-s04-phone-notch{height:7px;width:35%;margin:auto;background:#253029;border-radius:0 0 6px 6px;position:relative;z-index:1}
.hqr .hqcp-s04-phone img{width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;object-fit:cover!important;object-position:25% top!important;display:block!important}
.hqr .hqcp-s04-image-caption{font-size:9px;line-height:1.25;color:#778175;margin:4px 0 0}
.hqr .hqcp-s04-info{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:6px;min-width:0;align-content:stretch}
.hqr .hqcp-s04-cell{display:block;min-width:0;padding:9px 12px;border:1px solid #e3e8e1;border-radius:9px;background:#fff;overflow-wrap:anywhere}
.hqr .hqcp-s04-cell h4{display:flex;align-items:center;gap:6px;font:700 15px/1.3 "Segoe UI",Arial,sans-serif!important;margin:0 0 5px!important;color:#27412e}
.hqr .hqcp-s04-cell h4 svg{width:16px;height:16px;flex:none;color:#365b43}
.hqr .hqcp-s04-cell p,.hqr .hqcp-s04-cell li{font-size:10.5px;line-height:1.38;color:#556759;margin-top:0;margin-bottom:3px}
.hqr .hqcp-s04-cell ul{columns:2;column-gap:16px;margin:0;padding-left:14px}.hqr .hqcp-s04-cell li{break-inside:avoid}
.hqr .hqcp-s04-cell-4{background:#f7f8f3}
.hqr .hqcp-s04-cell .hqcp-model-path{display:flex;flex-wrap:wrap;gap:3px}
.hqr .hqcp-s04-cell .hqcp-model-path span{display:inline-block;border:1px solid #e5eae4;background:#f1f5ef;border-radius:18px;font-size:10px;line-height:1.2;padding:3px 6px;color:#49614f}
.hqr .hqcp-s04-deep-block{border:1px solid #e3e8e1;border-radius:10px;background:#fcfdfa;margin:9px 0 0;padding:10px 12px}
.hqr .hqcp-s04-deep-intro{display:flex;justify-content:space-between;align-items:center;gap:15px;min-height:0}
.hqr .hqcp-s04-deep-intro h4{font:700 16px/1.25 "Segoe UI",Arial,sans-serif!important;color:#29432f;margin:0 0 2px!important}
.hqr .hqcp-s04-deep-intro p{font-size:10px;line-height:1.3;color:#6a796c;margin:0}
.hqr .hqcp-s04-research-preview{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:10px;margin-top:8px}
.hqr .hqcp-s04-research-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.hqr .hqcp-s04-research-card{display:flex!important;align-items:center!important;min-width:0;min-height:47px;gap:7px;text-align:left;padding:6px 9px!important;border:1px solid #e4eae2!important;border-radius:7px!important;background:#fff!important;color:#29412f!important;letter-spacing:normal!important;text-transform:none!important;cursor:pointer}
.hqr .hqcp-s04-research-card-icon{display:grid;place-items:center;flex:0 0 24px;height:24px;border-radius:50%;background:#e7eee4;color:#3b6345;font-size:16px}
.hqr .hqcp-s04-research-card>span:nth-child(2){min-width:0;flex:1}.hqr .hqcp-s04-research-card strong{display:block;font-size:11px;line-height:1.22;color:#2b422f}
.hqr .hqcp-s04-research-card small{display:none}.hqr .hqcp-s04-arrow{color:#849688;font-size:16px}
.hqr .hqcp-s04-research-table{overflow:hidden;min-width:0;border:1px solid #e3e9e2;border-radius:7px;padding:7px 9px;background:#fff}
.hqr .hqcp-s04-table-head{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:4px}
.hqr .hqcp-s04-table-head strong{font-size:11px;color:#2c4330}
.hqr .hqcp-s04-research-open{border:0!important;background:transparent!important;color:#3c6347!important;padding:2px!important;font-size:10px!important;cursor:pointer}
.hqr .hqcp-s04-mini-table{display:table!important;border-collapse:collapse;table-layout:fixed;width:100%}
.hqr .hqcp-s04-mini-table th,.hqr .hqcp-s04-mini-table td{display:table-cell!important;font-size:9px!important;line-height:1.15;padding:3px 5px!important;text-align:left;border:1px solid #e7eae5;overflow-wrap:anywhere}
.hqr .hqcp-s04-mini-table th:first-child,.hqr .hqcp-s04-mini-table td:first-child{width:48%}
.hqr .hqcp-s04-table-note{font-size:9px!important;margin:3px 0 0;color:#748074}
.hqr .hqcp-s04-deep{border:0;margin:7px 0 0;padding:0}
.hqr .hqcp-s04-deep>summary{display:block;list-style:none;cursor:pointer;width:max-content;max-width:100%;margin:0 0 0 auto;padding:7px 11px;border-radius:6px;background:#304e36!important;color:#fff!important;font-size:11px!important;font-weight:700;text-align:center}
.hqr .hqcp-s04-deep>summary::-webkit-details-marker{display:none}
.hqr .hqcp-s04-deepbody{max-width:100%;overflow-x:auto;padding:14px 0 2px;font-size:14px;line-height:1.6}
.hqr .hqcp-s04-deepbody table{width:100%;min-width:540px;border-collapse:collapse}
.hqr .hqcp-s04-deepbody th,.hqr .hqcp-s04-deepbody td{padding:8px;border-bottom:1px solid #e3e9e3;text-align:left}
@media(max-width:1180px){.hqr .hqcp-s04-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important}.hqr .hqcp-s04-grid{grid-template-columns:1fr!important}.hqr .hqcp-s04-device{height:290px;max-height:300px}.hqr .hqcp-s04-info{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hqr .hqcp-s04-research-preview{grid-template-columns:1fr}}
@media(max-width:700px){.hqr .hqcp-s04-hero{grid-template-columns:1fr;gap:9px}.hqr .hqcp-s04-head h2{font-size:25px!important}.hqr .hqcp-s04-intro{min-height:0}.hqr .hqcp-s04-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hqr .hqcp-s04-navitem{min-height:67px}.hqr .hqcp-s04-navitem strong{font-size:11px!important}.hqr .hqcp-s04-model{padding:11px}.hqr .hqcp-s04-device{height:220px;min-height:220px}.hqr .hqcp-s04-laptop img{height:180px!important}.hqr .hqcp-s04-info{grid-template-columns:1fr!important}.hqr .hqcp-s04-cell ul{columns:1}.hqr .hqcp-s04-research-preview{grid-template-columns:1fr}.hqr .hqcp-s04-deep-intro{display:block}.hqr .hqcp-s04-deep>summary{width:100%;margin:0}}
@media(max-width:380px){.hqr .hqcp-s04-nav{grid-template-columns:1fr!important}}


/* v1.5.9 — Section 04 visual cleanup, scoped; no additional external layout constraints */
.hqr .hqcp-s04-device-clean{display:block!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;flex:none!important;overflow:visible!important}
.hqr .hqcp-s04-preview-image{display:block!important;width:100%!important;height:auto!important;max-height:305px!important;object-fit:contain!important;object-position:center center!important;border-radius:7px;filter:drop-shadow(0 10px 15px rgba(18,38,24,.12))}
.hqr .hqcp-s04-preview-visual{justify-content:center;gap:6px;background:radial-gradient(ellipse at 50% 60%,#e8ebe5,#fafaf7 70%);min-height:0}
.hqr .hqcp-s04-deepbody{padding:14px!important;background:#f8faf7}
.hqr .hqcp-s04-deepbody article.model{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start;min-width:0}
.hqr .hqcp-s04-deepbody article.model>.eyebrow,.hqr .hqcp-s04-deepbody article.model>h3,.hqr .hqcp-s04-deepbody article.model>p,.hqr .hqcp-s04-deepbody article.model>.v7-deep,.hqr .hqcp-s04-deepbody article.model>details,.hqr .hqcp-s04-deepbody article.model>.lesson{grid-column:1/-1}
.hqr .hqcp-s04-deepbody article.model>.eyebrow{margin:0;font-size:11px;color:#568162;font-weight:700}
.hqr .hqcp-s04-deepbody article.model>h3{font-size:22px!important;margin:0!important;color:#1c3c2a}
.hqr .hqcp-s04-detail-card{background:white;border:1px solid #e1eae1;border-radius:11px;padding:14px 16px;min-width:0}
.hqr .hqcp-s04-detail-card h4{font-size:15px!important;line-height:1.35!important;margin:0 0 8px!important;color:#254a34}
.hqr .hqcp-s04-detail-card p,.hqr .hqcp-s04-detail-card .path{font-size:12.5px!important;line-height:1.65!important;color:#4e6554;margin:0}
.hqr .hqcp-s04-production-plan{border:1px solid #dfe9e0;background:white;border-radius:13px;padding:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;min-width:0}
.hqr .hqcp-s04-production-plan>*{min-width:0}
.hqr .hqcp-s04-production-plan>h4{grid-column:1/-1;margin:3px 0!important;font-size:17px!important;color:#254933}
.hqr .hqcp-s04-production-plan>p{grid-column:1/-1;margin:0;font-size:12px;line-height:1.6;color:#536857}
.hqr .hqcp-s04-production-plan>p:has(+ .hqcp-s04-tree){margin-bottom:0}
.hqr .hqcp-s04-tree{grid-column:1/-1;display:grid;grid-template-columns: minmax(0,180px) minmax(0,1fr);gap:12px;border:1px solid #dae6db;background:#f7faf7;padding:15px;border-radius:12px;align-items:start}
.hqr .hqcp-s04-tree-root{border:1px solid #adc5b0;background:#e8f2e8;border-radius:9px;padding:11px;font-weight:750;color:#20442d;font-size:13px}
.hqr .hqcp-s04-tree-branches{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-left:20px;border-left:2px solid #a3bca7}
.hqr .hqcp-s04-tree-node{display:flex;align-items:center;gap:8px;min-width:0;position:relative;border:1px solid #e2eae2;border-radius:8px;background:white;padding:9px 10px;font-size:11.5px;color:#365643}
.hqr .hqcp-s04-tree-node:before{content:'';position:absolute;left:-21px;top:50%;width:20px;height:1px;background:#a3bca7}
.hqr .hqcp-s04-tree-node code{font:inherit;overflow-wrap:anywhere;color:inherit;background:none;padding:0}
.hqr .hqcp-s04-tree-number{color:#588061;font-weight:750;font-size:10px}
.hqr .hqcp-s04-ui-note{grid-column:1/-1;font-size:11px!important;color:#738174!important;margin:-4px 0 6px!important}
.hqr .hqcp-s04-article-list{list-style:none!important;counter-reset:none!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0!important;padding:0!important;grid-column:1/-1}
.hqr .hqcp-s04-article-list li{display:flex;align-items:flex-start;gap:10px;min-width:0;border:1px solid #e1eae2;background:#fafcfa;border-radius:10px;padding:12px!important;margin:0!important;font-size:12px;line-height:1.5;color:#2f4d38}
.hqr .hqcp-s04-article-number{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:7px;background:#e5f0e5;color:#2b6840;font-weight:800;font-size:12px}
.hqr .hqcp-s04-article-text{flex:1;min-width:0}
.hqr .hqcp-s04-production-plan>p:last-child{padding:10px;background:#f4f8f3;border-radius:8px}
@media(max-width:800px){.hqr .hqcp-s04-deepbody article.model{grid-template-columns:1fr}.hqr .hqcp-s04-production-plan{grid-template-columns:1fr}.hqr .hqcp-s04-tree{grid-template-columns:1fr}.hqr .hqcp-s04-tree-branches{grid-template-columns:1fr}.hqr .hqcp-s04-article-list{grid-template-columns:1fr}}

.hqcp-s04-deep-intro{display:grid;grid-template-columns:minmax(0,1.1fr) auto;gap:18px;align-items:end}.hqcp-s04-deep-intro p{max-width:820px}.hqcp-s04-research-preview{grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);gap:16px;align-items:stretch}.hqcp-s04-research-cards{gap:12px;align-content:stretch}.hqcp-s04-research-card{min-height:100px;padding:16px 18px}.hqcp-s04-research-card small{display:block;line-height:1.5}.hqcp-s04-research-table{display:flex;flex-direction:column;justify-content:space-between}.hqcp-s04-mini-table th,.hqcp-s04-mini-table td{padding:11px 12px}.hqcp-s04-table-note{margin-top:10px}
@media(max-width:980px){.hqcp-s04-deep-intro{grid-template-columns:1fr}.hqcp-s04-research-preview{grid-template-columns:1fr}.hqcp-s04-research-card{min-height:auto}}

/* Section 04 pilot: card columns follow number of models, while overflow remains bounded. */
.hqr .hqcp-s04-nav{grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr))!important}
.hqr .hqcp-s04-model,.hqr .hqcp-s04-model *{min-width:0;overflow-wrap:break-word}
.hqr .hqcp-s04-deepbody img{max-width:100%;height:auto}
.hqr .hqcp-s04-deepbody pre{max-width:100%;overflow-x:auto}
@media(max-width:700px){.hqr .hqcp-s04-nav{grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr))!important}}
