:root { font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif; color: #10143a; background: #eaf0ff; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
#app { width: 100%; overflow: hidden; }
.diagram { width: 1536px; height: 1024px; margin: 0 auto; overflow: hidden; background: radial-gradient(ellipse at 76% 22%,#ffffff 0%,#f7f9ff 52%,#eef4ff 100%); transform-origin: top left; box-shadow: 0 14px 38px #25347824; }
.editable { display: inline; min-width: 2px; outline: none; }
.poster-edit-enabled .editable { cursor: text; }
.poster-edit-enabled .editable:focus { background: #fff6b8; color: #12164b; box-shadow: 0 0 0 2px #ffbd29; border-radius: 2px; }
.poster-edit-enabled .editable:empty::before { content: "点击编辑"; color: #6c70a3; }
.icon { width: 24px; height: 24px; flex: none; vertical-align: middle; }
h1,h2,h3,p,ul { margin: 0; }
.topbar { position: relative; display: flex; align-items: center; height: 70px; padding: 0 37px; color: #fff; white-space: nowrap; overflow: hidden; background: linear-gradient(100deg,#18275e 0%,#253475 40%,#6a65bf 76%,#bab3ed 100%); box-shadow: 0 3px 10px #5360a63d; }
.brandmark { position: relative; z-index: 2; width: 55px; margin-right: 18px; }
.brandmark .icon { width: 47px; height: 47px; stroke-width: 1.5; }
.site-title { position: relative; z-index: 2; font-size: 35px; letter-spacing: 1px; font-weight: 800; line-height: 1; }
.top-divider { width: 2px; height: 35px; margin-left: 26px; margin-right: 20px; background: #f6f5ff; z-index: 2; }
.site-subtitle { position: relative; z-index: 2; font-size: 26px; font-weight: 500; }
.top-food { position: absolute; right: 0; top: 0; width: 429px; height: 70px; background: url("assets/top-food.png") center / cover no-repeat; }
.top-tag { position: absolute; z-index: 3; right: 28px; top: 23px; padding: 5px 20px 6px; border-radius: 20px; background: #293878; color: #fff; font-size: 17px; letter-spacing: .5px; }
.main-grid { display: grid; grid-template-columns: 510px 640px 346px; gap: 10px; padding: 16px 10px 0; height: 805px; align-items: start; }
.left-stack { display: flex; flex-direction: column; gap: 8px; }
.panel { position: relative; overflow: hidden; border: 1px solid #abc3ff; border-radius: 18px; background: #fcfdff; box-shadow: 0 4px 11px #7890d344, inset 0 1px 0 #fff; }
.panel-heading { display: flex; align-items: center; gap: 15px; height: 43px; padding: 0 23px; color: #fff; border-radius: 16px 16px 0 0; }
.panel-heading .icon { width: 28px; height: 28px; stroke-width: 2.1; }
.panel-heading h2 { font-size: 23px; font-weight: 800; letter-spacing: .7px; white-space: nowrap; }
.heading-violet { background: linear-gradient(100deg,#4e50b8 0%,#706ed0 52%,#cbb7ff 100%); }
.heading-blue { background: linear-gradient(100deg,#2454ae 0%,#3869bd 58%,#709dea 100%); }
.heading-purple { background: linear-gradient(100deg,#9a62e8 0%,#5845c5 55%,#8178dd 100%); }

/* Left: customer entry */
.customer-panel { height: 345px; }
.customer-content { position: relative; height: 294px; margin: 1px 7px 6px; border-radius: 16px; background: linear-gradient(135deg,#fafbff 0%,#edecff 100%); box-shadow: inset 0 0 0 1px #e0e2ff; }
.customer-subheading { position: absolute; top: 6px; left: 0; right: 0; height: 43px; display: flex; align-items: center; gap: 13px; padding-left: 21px; border-radius: 14px 14px 0 0; background: linear-gradient(90deg,#d6dbff 0%,#f7f3ff 100%); }
.customer-subheading .icon { width: 31px; height: 31px; color: #6b51df; fill: #9a8ff7; }
.customer-subheading h3 { font-size: 20px; font-weight: 800; }
.customer-phone { position: absolute; top: 60px; left: 25px; width: 94px; height: 168px; object-fit: contain; filter: drop-shadow(1px 3px 3px #17163375); }
.tick-list { list-style: none; padding: 0; }
.tick-list li { display: flex; align-items: flex-start; gap: 8px; }
.tick { flex: none; display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #7370eb; color: white; font-size: 11px; line-height: 1; margin-top: 3px; }
.customer-list { position: absolute; top: 64px; left: 133px; width: 253px; font-size: 14px; font-weight: 600; line-height: 1.55; }
.customer-list li { min-height: 24px; }
.customer-ai-badge,.chef-ai-badge { position: absolute; z-index: 2; padding: 1px 7px; border-radius: 20px; background: linear-gradient(115deg,#7240e4,#d3b4ff); color: white; font-size: 21px; font-weight: 800; box-shadow: 0 3px 6px #594bb159; }
.customer-ai-badge { right: 16px; top: 48px; }
.customer-ai-label { position: absolute; right: 9px; top: 72px; padding: 9px 12px; border-radius: 14px; background: linear-gradient(105deg,#c8beff,#eee9ff); font-size: 15px; font-weight: 800; white-space: nowrap; color: #232174; }
.customer-action { position: absolute; right: 8px; width: 116px; height: 43px; display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 13px; border: 1px solid #d9d9ff; background: #fafaff; box-shadow: 0 2px 5px #6c76b33d; font-size: 14px; font-weight: 700; white-space: nowrap; }
.customer-action .icon { color: #5a3dff; width: 25px; height: 25px; }
.customer-action-one { top: 129px; }
.customer-action-two { top: 180px; }
.scene-bar { position: absolute; left: 9px; right: 9px; bottom: 8px; height: 53px; display: flex; align-items: center; gap: 14px; padding: 5px 7px; border-radius: 13px; background: #e3e5ff; }
.scene-chip { padding: 8px 11px; color: white; background: linear-gradient(100deg,#6c4ce0,#7d6be5); border-radius: 10px; font-size: 14px; font-weight: 800; white-space: nowrap; }
.scene-copy { font-size: 13px; line-height: 1.42; font-weight: 650; }

/* Left: chef app */
.chef-panel { height: 289px; background: linear-gradient(130deg,#fff 0%,#fff9f6 65%,#f7f0ff 100%); }
.chef-heading { display: flex; align-items: center; gap: 12px; height: 40px; padding-left: 27px; background: linear-gradient(100deg,#fff8e8,#f9eefb 76%,#e9ddff); }
.chef-heading .icon { width: 31px; height: 31px; color: #ff9c1b; }
.chef-heading h2 { font-size: 20px; font-weight: 800; }
.chef-phone { position: absolute; top: 47px; left: 20px; width: 108px; height: 226px; object-fit: contain; filter: drop-shadow(1px 3px 3px #19173677); }
.chef-groups { position: absolute; left: 139px; top: 49px; width: 236px; display: flex; flex-direction: column; gap: 3px; }
.chef-group { display: flex; gap: 7px; }
.chef-group > .icon { width: 25px; height: 25px; }
.chef-group:nth-child(1) > .icon { color: #0eae71; }
.chef-group:nth-child(2) > .icon { color: #ff960a; }
.chef-group:nth-child(3) > .icon { color: #08a9bb; }
.chef-group:nth-child(4) > .icon { color: #ffa10b; }
.chef-group h3 { font-size: 14px; font-weight: 800; line-height: 1.25; white-space: nowrap; }
.chef-group p { font-size: 12px; font-weight: 600; line-height: 1.19; white-space: nowrap; }
.chef-ai-badge { right: 8px; top: 38px; }
.chef-ai-card { position: absolute; z-index: 1; right: 5px; top: 57px; width: 131px; height: 161px; padding: 14px 8px 7px; border-radius: 15px; background: #f9f8ff; border: 1px solid #d1c9ff; box-shadow: 0 2px 6px #6e54cb52; }
.chef-ai-card h3 { font-size: 14px; font-weight: 800; margin: 0 0 8px; color: #282075; white-space: nowrap; }
.chef-ai-list { font-size: 12px; font-weight: 700; }
.chef-ai-list li { gap: 4px; margin-bottom: 8px; white-space: nowrap; }
.chef-ai-list .tick { width: 12px; height: 12px; font-size: 9px; background: none; color: #4736d7; margin-top: 1px; }
.chef-dish { position: absolute; right: 0; bottom: 0; width: 128px; height: 55px; object-fit: cover; border-radius: 50% 0 16px 0; }

/* Left: management */
.admin-panel { height: 125px; }
.admin-heading { display: flex; align-items: center; gap: 13px; height: 39px; padding-left: 29px; background: linear-gradient(100deg,#ecf1ff,#d4d9ff); color: #14235c; }
.admin-heading .icon { width: 29px; height: 29px; color: #3455db; }
.admin-heading h2 { font-size: 20px; font-weight: 800; }
.admin-laptop { position: absolute; left: 17px; bottom: 6px; width: 126px; height: 71px; object-fit: contain; }
.admin-group { position: absolute; top: 45px; display: flex; gap: 5px; height: 72px; padding: 0 3px; border-radius: 10px; background: #f6f5ff; }
.admin-group:nth-of-type(2) { left: 149px; width: 128px; }
.admin-group:nth-of-type(3) { left: 279px; width: 104px; }
.admin-group:nth-of-type(4) { left: 385px; width: 120px; }
.admin-group .icon { width: 20px; height: 20px; color: #12ac74; }
.admin-group:nth-of-type(3) .icon { color: #08a9a1; }
.admin-group:nth-of-type(4) .icon { color: #ff910b; }
.admin-group h3 { font-size: 13px; font-weight: 800; white-space: nowrap; }
.admin-group p { font-size: 11px; line-height: 1.38; white-space: nowrap; }

/* Centre: architecture */
.architecture-panel { height: 741px; }
.architecture-content { position: relative; height: 696px; padding: 0 12px; background: radial-gradient(ellipse at 52% 41%,#fff 0%,#f4f8ff 55%,#eaf3ff 100%); }
.flow-connectors { position: absolute; z-index: 3; inset: 0; width: 100%; height: 696px; overflow: visible; pointer-events: none; }
.flow-connectors > path { fill: none; stroke-width: 2.7; stroke-linecap: round; }
.flow-connectors .flow-blue { stroke: #4169ed; filter: drop-shadow(0 0 1px #658aff); }
.flow-connectors .flow-purple { stroke: #965ef0; filter: drop-shadow(0 0 2px #ae7fff); }
.architecture-row { display: flex; align-items: center; gap: 13px; }
.layer-label { width: 103px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; color: white; font-size: 18px; font-weight: 800; white-space: nowrap; }
.blue-label { background: linear-gradient(90deg,#3344a9,#485bc8); }
.user-row { height: 94px; padding-left: 3px; }
.user-cards { display: flex; gap: 9px; width: 486px; height: 72px; margin-left: 8px; transform: translateY(9px); }
.user-card { width: 156px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(145deg,#f0f2ff,#dce4fc); border-radius: 12px; text-align: center; box-shadow: inset 0 1px 0 #fff9; }
.user-card .icon { width: 30px; height: 30px; color: #5635d6; margin-top: -2px; }
.user-card strong { font-size: 16px; line-height: 1.1; }
.user-card .small { font-size: 14px; line-height: 1.2; }
.access-row { position: absolute; left: 16px; right: 12px; top: 128px; height: 40px; }
.nginx-box { height: 40px; flex: 1; margin-left: 8px; display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #98b6fb; border-radius: 12px; background: linear-gradient(90deg,#e2edff,#cbd9ff); box-shadow: inset 0 1px 1px #fff, 0 1px 4px #a5b8ef55; font-size: 17px; font-weight: 800; white-space: nowrap; }
.nginx-mark { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 7px; background: #41af2d; color: white; font-size: 21px; }
.ai-platform { position: absolute; left: 14px; right: 7px; top: 193px; height: 178px; overflow: hidden; border-radius: 17px; background: radial-gradient(ellipse at 51% 51%,#c6afff 0%,#a179f3 43%,#845be4 78%,#a487ed 100%); box-shadow: inset 0 0 0 2px #ffffffb5, inset 0 10px 23px #ffffff40, 0 4px 9px #6956c76b; }
.ai-platform::after { content: ""; position: absolute; inset: auto 10px 0; height: 5px; border-radius: 50%; background: #d4f9ffb0; filter: blur(5px); pointer-events: none; }
.ai-service-links { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ai-service-links path { fill: none; stroke: #f8faff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px #a9f6ff); }
.ai-service-links circle { fill: #e8ffff; filter: drop-shadow(0 0 4px #53dbff); }
.ai-platform-title { position: absolute; z-index: 3; top: 0; left: 195px; right: 164px; height: 31px; display: grid; place-items: center; border-radius: 0 0 18px 18px; background: linear-gradient(90deg,#7052e6,#5e3bcb); box-shadow: 0 3px 6px #3524a970, inset 0 1px 0 #d4bfff88; color: white; font-size: 19px; font-weight: 800; white-space: nowrap; }
.ai-service-list { position: absolute; z-index: 2; top: 33px; display: flex; flex-direction: column; gap: 8px; }
.ai-service-left { left: 16px; width: 183px; }
.ai-service-right { right: 16px; width: 156px; }
.ai-service-list > div { min-height: 38px; display: flex; align-items: center; gap: 8px; padding: 3px 9px; border-radius: 20px; background: linear-gradient(100deg,#fff 0%,#f6f4ff 53%,#dce1ff 100%); color: #1c2779; font-size: 13px; line-height: 1.1; font-weight: 800; box-shadow: 0 2px 6px #4534a968, inset 0 1px 0 #fff; }
.ai-service-list .icon { width: 25px; height: 25px; color: #6745e5; }
.ai-core { position: absolute; z-index: 2; left: 236px; top: 35px; width: 177px; height: 132px; object-fit: cover; filter: saturate(1.12) contrast(1.06) drop-shadow(0 0 7px #89dfff99); -webkit-mask-image: radial-gradient(ellipse at center,#000 65%,transparent 90%); mask-image: radial-gradient(ellipse at center,#000 65%,transparent 90%); }
.app-platform { position: absolute; left: 13px; right: 6px; top: 400px; height: 184px; border: 1px solid #74ce9b; border-radius: 14px; background: linear-gradient(145deg,#fafffb,#e4faeb); box-shadow: 0 2px 6px #62bd8952, inset 0 1px 0 #fff; }
.app-platform-heading { height: 42px; display: flex; align-items: center; gap: 13px; background: linear-gradient(90deg,#d2f5df,#e6f8ec); border-radius: 13px 13px 0 0; font-size: 17px; white-space: nowrap; }
.green-label { align-self: start; height: 34px; background: linear-gradient(90deg,#238b5a,#289b60); }
.spring-symbol { width: 38px; height: 38px; margin-left: 86px; flex: none; display: block; filter: drop-shadow(0 1px 1px #238d205c); }
.spring-symbol svg { display: block; width: 100%; height: 100%; }
.module-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 6px; padding: 4px 8px 8px; }
.module-card { height: 58px; display: flex; align-items: center; gap: 7px; padding: 3px 7px; border: 1px solid #c9e4d1; border-radius: 10px; background: #fafffb; }
.module-card:nth-child(-n+3) { grid-column: span 4; }
.module-card:nth-child(n+4) { grid-column: span 3; gap: 4px; padding-inline: 4px; }
.module-card:nth-child(n+4) .icon { width: 24px; height: 24px; }
.module-card:nth-child(n+4) strong { font-size: 11px; }
.module-card:nth-child(n+4) small { font-size: 10px; }
.module-card .icon { width: 30px; height: 30px; color: #22a96c; }
.module-card:nth-child(3n) .icon { color: #ff940c; }
.module-card:nth-child(4n) .icon { color: #288df1; }
.module-card strong { display: block; font-size: 14px; white-space: nowrap; }
.module-card small { display: block; font-size: 11px; white-space: nowrap; }
.data-row { position: absolute; left: 13px; right: 9px; top: 614px; height: 62px; display: flex; align-items: center; gap: 10px; }
.data-card { height: 61px; flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 6px 7px; border: 1px solid #9bbcff; border-radius: 9px; background: linear-gradient(145deg,#fff,#e9f2ff); }
.data-card .icon { width: 38px; height: 38px; color: #2c7ef4; }
.data-card:nth-of-type(3) .icon { color: #e74829; }
.data-card strong { display: block; font-size: 13px; white-space: nowrap; }
.data-card small { display: block; font-size: 10px; white-space: nowrap; }

/* Right: six AI use cases */
.ai-panel { height: 755px; background: linear-gradient(145deg,#fbfaff,#f2f4ff); }
.ai-panel .panel-heading { height: 48px; padding-left: 20px; }
.ai-panel .panel-heading h2 { font-size: 23px; }
.ai-heading-icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border: 2px solid white; border-radius: 50%; font-size: 16px; font-weight: 800; }
.ai-cards { display: flex; flex-direction: column; gap: 8px; padding: 18px 7px 8px; }
.ai-card { height: 103px; display: flex; align-items: center; gap: 12px; padding: 8px 6px; border: 1px solid #d3d7ff; border-radius: 17px; background: linear-gradient(115deg,#fff,#eef0ff); box-shadow: 0 2px 6px #6d70c72b; }
.ai-card img { width: 101px; height: 88px; flex: none; object-fit: cover; border-radius: 16px; background: #e9e5ff; }
.ai-card-body { min-width: 0; align-self: stretch; padding-top: 6px; }
.ai-card-title { display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.ai-card-title h3 { font-size: 18px; font-weight: 800; line-height: 1.25; }
.phase { margin-left: auto; padding: 2px 7px; border-radius: 11px; background: linear-gradient(95deg,#6144d7,#a76af1); color: white; font-size: 12px; font-weight: 800; }
.ai-card:nth-child(n+5) .phase { background: #e4e4ff; color: #493ca9; border: 1px solid #aeb1ff; }
.ai-card p { margin-top: 7px; font-size: 13px; font-weight: 650; line-height: 1.45; }

/* Bottom: infrastructure and MVP */
.bottom-grid { display: grid; grid-template-columns: 791px 712px; gap: 12px; padding: 0 11px; }
.deployment-panel,.mvp-panel { height: 137px; }
.bottom-grid .panel-heading { height: 35px; padding-left: 23px; }
.bottom-grid .panel-heading .icon { width: 26px; height: 26px; }
.bottom-grid .panel-heading h2 { font-size: 19px; }
.deploy-row { height: 100px; display: flex; justify-content: space-around; align-items: center; padding: 2px 10px 4px; background: linear-gradient(90deg,#fff,#f5f7ff); }
.deploy-item { width: 133px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.25; }
.deploy-item .icon { width: 42px; height: 42px; color: #328bef; margin-bottom: 2px; }
.deploy-item:nth-of-type(2) .icon { color: #13a8bb; }
.deploy-item:nth-of-type(3) .icon { color: #ea3924; }
.deploy-item:nth-of-type(4) .icon { color: #11a4c2; }
.deploy-item:nth-of-type(5) .icon { color: #9c48df; }
.deploy-item strong { font-size: 13px; white-space: nowrap; }
.deploy-item small { font-size: 10px; white-space: nowrap; }
.plus { color: #1c2c70; font-size: 20px; }
.mvp-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: 99px; padding: 8px 12px; }
.mvp-columns > ul + ul { border-left: 2px solid #a9b1ff; padding-left: 11px; }
.mvp-list { display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-weight: 650; line-height: 1.35; }
.mvp-list li { gap: 5px; }
.mvp-list .tick { width: 12px; height: 12px; margin-top: 1px; border: 1px solid #694fe4; border-radius: 3px; background: #fff; color: #694fe4; }

.editor-help { max-width: 1200px; margin: 30px auto 70px; padding: 16px 20px; display: flex; align-items: center; gap: 18px; background: #fff; border-radius: 14px; box-shadow: 0 3px 12px #27337b1f; color: #1d286c; font-size: 15px; }
.editor-help[hidden] { display: none; }
.editor-help p { flex: 1; }
.editor-help button { border: 0; padding: 10px 15px; border-radius: 8px; background: #403cba; color: #fff; font: inherit; cursor: pointer; }
.editor-help a { color: #4337aa; }
.editor-help button:focus-visible,.editor-help a:focus-visible { outline: 3px solid #ffae20; outline-offset: 3px; }
.poster-nav { position: sticky; top: 0; z-index: 100; min-height: 44px; padding: 7px clamp(12px,3vw,38px); display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #203273; background: rgba(247,249,255,.97); border-bottom: 1px solid #cdd7f4; box-shadow: 0 2px 9px #172b7120; font-size: 12px; }
.poster-return { display: inline-flex; align-items: center; min-height: 30px; padding: 4px 12px; border: 1px solid #bdc9f0; border-radius: 7px; background: #fff; color: #28358b; font-size: 13px; font-weight: 700; text-decoration: none; }
.poster-return:hover { background: #e9edff; }
.poster-return:focus-visible { outline: 3px solid #ffae20; outline-offset: 3px; }

@media (max-width: 700px) {
  #app { padding-top: 0; }
  .diagram { width: 100%; height: auto; overflow: visible; }
  .topbar { min-height: 112px; height: auto; padding: 14px 15px; flex-wrap: wrap; column-gap: 8px; row-gap: 6px; align-content: center; white-space: normal; }
  .brandmark { width: 33px; margin-right: 0; }
  .brandmark .icon { width: 31px; height: 31px; }
  .site-title { font-size: 19px; flex: 1; line-height: 1.25; }
  .top-divider,.top-food { display: none; }
  .site-subtitle { width: 100%; font-size: 15px; padding-left: 41px; }
  .top-tag { position: static; margin-left: 41px; padding: 3px 8px; font-size: 10px; }
  .main-grid { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; height: auto; padding: 10px; }
  .left-stack { width: 510px; flex: none; }
  .architecture-panel { width: 640px; flex: none; }
  .ai-panel { width: 346px; flex: none; }
  .bottom-grid { display: flex; flex-direction: column; gap: 10px; padding: 0 10px 10px; }
  .deployment-panel,.mvp-panel { width: 100%; height: auto; }
  .bottom-grid .panel-heading h2 { font-size: 13px; white-space: normal; }
  .deploy-row { height: auto; flex-wrap: wrap; justify-content: center; gap: 12px 4px; padding: 10px; }
  .deploy-item { width: 30%; }
  .deploy-item .icon { width: 31px; height: 31px; }
  .deploy-item strong { font-size: 11px; white-space: normal; }
  .deploy-item small { font-size: 9px; white-space: normal; }
  .deploy-row .plus { display: none; }
  .mvp-columns { height: auto; grid-template-columns: 1fr; gap: 6px; padding: 10px; }
  .mvp-columns > ul + ul { border-left: 0; padding-left: 0; }
  .mvp-list { font-size: 11px; }
  .editor-help { margin: 10px; display: block; line-height: 1.5; }
  .editor-help button,.editor-help a { display: inline-block; margin: 8px 8px 0 0; }
}
@media print { .editor-help,.poster-nav { display:none; } @page { size: landscape; margin: 0; } }
