/* Homepage architecture reuses the six-layer diagram from the dedicated page. */
.home-architecture{background:#f5f6f0;--mut:#647064;--dark:#203c30;--lime:#e4f0d9;--sans:Manrope,'PingFang SC','Microsoft YaHei',sans-serif;--mono:Manrope,'Microsoft YaHei',sans-serif}
.home-architecture .arch{border:1px solid #d7dfd2;background:#fffef9;border-radius:8px}
.home-architecture .arch-heading{display:flex;justify-content:space-between;gap:24px}
.home-architecture .arch-heading h3{font-size:24px;line-height:32px;font-weight:600}
.home-architecture .arch-heading>span{font-size:12px;line-height:20px;color:#6d7f6c;white-space:nowrap}
.home-architecture .architecture-page-link{display:inline-flex;align-items:center;gap:16px;margin-top:16px;color:#0b8f68;font-size:14px;line-height:20px}
.home-architecture details{border-top:1px solid #d7dfd2;padding-top:16px}
.home-architecture details summary{font-size:14px;line-height:24px;cursor:pointer;color:#0b8f68}
.home-architecture details p{margin-top:12px;font-size:12px;line-height:24px;color:#647064}
.layered-architecture{--layer-label:76px;padding:32px}.layered-architecture .arch-heading{margin-bottom:28px;align-items:flex-start}.arch-heading .arch-intro{font-size:12px;color:var(--mut);margin-top:10px;max-width:42em}.layered-grid{display:grid;grid-template-columns:minmax(0,1fr) 142px;gap:22px;align-items:stretch}.layer-stack{min-width:0}.system-layer{display:grid;grid-template-columns:var(--layer-label) minmax(0,1fr);gap:14px;align-items:stretch}.layer-label{background:#e0e9d5;padding:11px 10px;display:flex;flex-direction:column;justify-content:center;gap:4px}.layer-label span{color:var(--green);font:12px var(--mono);letter-spacing:.1em}.layer-label h4{margin:0;font-size:15px;line-height:1.5;font-weight:600}.layer-modules{display:grid;gap:8px;min-width:0}.layer-module{background:#fafbf5;border:1px solid #c9d6bf;padding:12px;min-width:0}.layer-module h5{font:500 13px/1.6 var(--sans);margin:0;color:var(--ink)}.layer-module p{font:12px/1.8 var(--sans);margin:5px 0 0;color:var(--mut);overflow-wrap:anywhere}.layer-module.entry-module,.layer-module.runtime-module{background:var(--dark);border-color:var(--dark)}.layer-module.entry-module h5,.layer-module.runtime-module h5{color:var(--lime);font-size:16px}.layer-module.entry-module p,.layer-module.runtime-module p{color:#bbcfbd}.entry-module p{display:flex;flex-wrap:wrap;gap:5px 20px}.layer-module.planned-module{border-style:dashed;background:#f4f5ed}.planned-module h5{color:#6e7d64}.layer-protocol{margin:10px 0 10px calc(var(--layer-label) + 14px);color:var(--green);font:12px/1.8 var(--mono);display:flex;align-items:center;gap:10px;min-width:0}.layer-protocol:before{content:"";width:22px;height:1px;background:currentColor;flex-shrink:0}.control-plane{position:relative;border:1px solid #9eb996;background:#e3ecd95e;padding:31px 11px 11px;margin:22px -12px 0 0}.control-plane-title{position:absolute;top:-12px;left:calc(var(--layer-label) + 14px);padding:0 9px;background:#edf1e1;color:var(--green);font:12px/1.8 var(--sans);font-weight:600}.control-plane .system-layer+.system-layer{margin-top:10px}.product-modules{grid-template-columns:1fr 1.4fr 1fr}.task-modules{grid-template-columns:repeat(4,minmax(0,1fr))}.task-modules .layer-module{padding:10px}.platform-modules{grid-template-columns:repeat(4,minmax(0,1fr));background:#fafbf5;border:1px solid #c9d6bf;padding:8px 0;gap:0}.platform-modules .layer-module{border:0;background:none;padding:5px 9px;display:grid;place-items:center;text-align:center}.platform-modules .layer-module+.layer-module{border-left:1px solid #c9d6bf}.platform-modules h5{font-size:12px}.execution-modules{grid-template-columns:minmax(0,1.5fr) 32px minmax(0,1fr);gap:0}.gateway-link{display:flex;align-items:center;justify-content:center;flex-direction:column;font:12px/1.5 var(--mono);color:var(--green)}.gateway-link span:last-child{font-size:20px}.execution-modules .layer-module{padding:12px}.model-destination{font-size:12px;color:var(--mut);margin:7px 0 0 calc(var(--layer-label) + 14px);text-align:right}.control-protocol{display:flex;flex-wrap:wrap;gap:7px 18px;margin:13px 0 13px calc(var(--layer-label) + 14px);font:12px/1.8 var(--sans);color:#8b6635}.control-protocol span{border-top:1px dashed #b59769;padding-top:6px}.orchestration-module{background:#e0ead3;border-color:#abc29e}.orchestration-module h5{font-size:15px}.governance-panel{background:#e2ead8;border:1px solid #c5d3ba;padding:18px 13px;display:flex;flex-direction:column;min-width:0}.governance-panel>h4{font:600 16px/1.5 var(--sans);margin:0 0 10px;text-align:center}.governance-item{border-top:1px solid #c5d3ba;padding:22px 0;flex:1;display:flex;flex-direction:column;justify-content:center;text-align:center}.governance-item h5{font:500 13px/1.6 var(--sans);color:var(--green);margin:0}.governance-item p{font-size:12px;line-height:1.9;color:var(--mut);margin:7px 0 0}.data-foundation{display:flex;gap:15px;align-items:center;padding:14px;margin-top:18px;background:#fafbf5;border:1px solid #c5d3ba;font-size:12px}.data-foundation>strong{font-size:12px;color:var(--green);white-space:nowrap;font-weight:600}.data-foundation ul{display:flex;flex-wrap:wrap;gap:5px 18px;list-style:none;padding:0;margin:0;color:var(--mut)}.arch-legend{font-size:12px;color:var(--mut);margin-top:12px}.layered-architecture details{margin-top:18px}.layered-architecture details p{font-size:12px}
@media(min-width:1400px){.layer-module h5{font-size:15px}.layer-module p{font-size:12px}.task-modules .layer-module{padding:12px}.platform-modules h5{font-size:14px}.layer-label h4{font-size:17px}.layered-architecture{--layer-label:90px}}
@media(max-width:1000px){.layered-architecture{padding:26px 22px;--layer-label:70px}.layered-grid{grid-template-columns:minmax(0,1fr);gap:20px}.governance-panel{display:grid;grid-template-columns:90px repeat(4,minmax(0,1fr));gap:12px;padding:15px}.governance-panel>h4{font-size:14px;text-align:left;margin:0;align-self:center}.governance-item{border-top:0;border-left:1px solid #c5d3ba;padding:0 0 0 10px}.governance-item h5{font-size:12px}.governance-item p{font-size:12px}.layer-module h5{font-size:14px}.layer-module p{font-size:12px}.task-modules{grid-template-columns:repeat(2,minmax(0,1fr))}.control-plane{margin-right:0;padding-right:10px}.model-destination{text-align:left}}
@media(max-width:600px){.layered-architecture{padding:24px 15px;--layer-label:0px}.layered-architecture .arch-heading{margin-bottom:24px;gap:12px}.layered-architecture .arch-heading h3{font-size:23px}.arch-heading .arch-intro{font-size:12px}.system-layer{grid-template-columns:minmax(0,1fr);gap:8px}.layer-label{flex-direction:row;justify-content:flex-start;align-items:center;padding:8px 10px;gap:10px}.layer-label h4{font-size:14px}.layer-label span{font-size:12px}.layer-module{padding:12px}.layer-module h5{font-size:14px}.layer-module p{font-size:12px}.entry-module p{gap:4px}.layer-protocol{margin:12px 0;font-size:12px}.control-plane{padding:29px 9px 10px;margin:23px 0 0}.control-plane-title{left:9px;top:-11px;padding-inline:6px;font-size:12px}.control-plane .system-layer+.system-layer{margin-top:17px}.product-modules{grid-template-columns:1fr}.task-modules{grid-template-columns:1fr 1fr}.task-modules .layer-module{padding:10px 8px}.task-modules h5{font-size:13px}.task-modules p{font-size:12px}.platform-modules{grid-template-columns:1fr 1fr;gap:0;padding:0}.platform-modules .layer-module{padding:12px 7px;min-height:50px}.platform-modules .layer-module:nth-child(3){border-left:0;border-top:1px solid #c9d6bf}.platform-modules .layer-module:nth-child(4){border-top:1px solid #c9d6bf}.platform-modules h5{font-size:12px}.execution-modules{grid-template-columns:1fr}.gateway-link{flex-direction:row;gap:12px;min-height:32px}.gateway-link span:last-child{transform:rotate(90deg);font-size:18px}.model-destination{margin-left:0;font-size:12px}.control-protocol{margin:14px 0;font-size:12px;gap:8px}.orchestration-module h5{font-size:14px}.governance-panel{grid-template-columns:1fr 1fr;padding:15px;gap:14px}.governance-panel>h4{grid-column:1/-1;font-size:15px}.governance-item{border-left:0;border-top:1px solid #c5d3ba;padding:14px 0 0;text-align:left}.governance-item h5{font-size:13px}.governance-item p{font-size:12px;margin-top:4px}.data-foundation{flex-direction:column;align-items:flex-start;gap:10px;padding:14px}.data-foundation ul{flex-direction:column;gap:6px;font-size:12px}.data-foundation>strong{font-size:14px}.arch-legend{font-size:12px;line-height:1.9}.layered-architecture details p{font-size:12px}}

.home-architecture .layer-label h4{font-size:16px;line-height:24px}.home-architecture .layer-module h5{font-size:14px;line-height:24px}.home-architecture .layer-module p{line-height:20px}.home-architecture .layered-architecture{--layer-label:80px}.home-architecture .arch-intro{font-size:12px;line-height:20px}
@media(max-width:760px){.home-architecture .arch-heading{flex-direction:column;gap:8px}.home-architecture .arch-heading h3{font-size:20px;line-height:28px}.home-architecture .section-head{margin-bottom:24px}.home-architecture .layer-label h4{font-size:14px;line-height:20px}}

@media(max-width:600px){.home-architecture .layered-architecture{--layer-label:0px}}
