.module-tabs{display:flex;align-items:center;gap:5px;padding:4px;background:#efefeb;border-radius:12px}.module-tab{height:36px;padding:0 15px;border-radius:9px;background:transparent;color:#656a73;font-size:12px}.module-tab b{margin-left:5px;padding:2px 5px;border-radius:5px;background:#dfe5f2;color:#536eaa;font-size:9px}.module-tab.active{background:#fff;color:#151821;box-shadow:0 3px 12px rgba(18,22,30,.08)}.runtime-badge.ai-runtime i{background:#7f71b7;box-shadow:0 0 0 4px #ece8f6}.workspace[hidden]{display:none}.lifestyle-controls{padding-top:40px}.life-section{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.life-section-title{display:flex;align-items:center;gap:9px;margin-bottom:16px}.life-section-title>span{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#e9edf6;color:#5e75a9;font-size:10px;font-weight:800}.life-section-title>b{font-size:12px;letter-spacing:.06em}.life-section-title>em{margin-left:auto;font-size:10px;font-style:normal;color:var(--muted)}.profile-card{padding:14px 15px;border:1px solid #d8dbe2;border-radius:12px;background:#fff}.profile-card>span,.profile-card-head span{font-size:10px;font-weight:800;letter-spacing:.08em;color:#6174a0}.profile-card p{margin:8px 0 0;font-size:12px;line-height:1.55;color:var(--muted)}.profile-card p b{color:#333944}.profile-card small{display:block;margin-top:9px;color:#92969e;font-size:10px;line-height:1.45}.profile-card-head{display:flex;align-items:center;justify-content:space-between}.profile-card-head em{padding:3px 7px;border-radius:8px;background:#edf4ec;color:#4c7650;font-size:9px;font-style:normal}.profile-swatches{display:flex;gap:5px;margin-top:10px}.profile-swatches i{width:24px;height:24px;border-radius:50%;background:var(--swatch);border:2px solid #fff;box-shadow:0 0 0 1px #d7d7d2}.recipe-options{display:grid;gap:8px}.recipe-option{display:block;cursor:pointer}.recipe-option input{position:absolute;opacity:0;pointer-events:none}.recipe-option span{display:flex;flex-direction:column;gap:4px;padding:12px 13px;border:1px solid var(--line);border-radius:11px;background:#fff;transition:.15s}.recipe-option b{font-size:12px}.recipe-option small{color:var(--muted);font-size:10px;line-height:1.45}.recipe-option input:checked+span{border-color:#7289bb;background:#f4f6fb;box-shadow:0 0 0 2px rgba(114,137,187,.12)}.life-purpose-grid{margin-top:14px}.reference-picker-button{width:100%;height:44px;border:1px dashed #9fa8ba;background:#f9fafc;color:#536a99}.selected-reference-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.selected-reference-chips>span{font-size:10px;color:var(--muted)}.selected-reference-chips button{height:26px;padding:0 9px;border-radius:8px;background:#e9edf5;color:#536177;font-size:9px}.selected-reference-chips button b{margin-left:5px}.life-options{margin-top:24px;padding:13px 14px;border:1px solid var(--line);border-radius:12px;background:#f7f7f4}.life-options summary{cursor:pointer;color:#5f646e;font-size:11px;font-weight:750}.life-options .field-grid{margin-top:15px}.life-options .field{margin-bottom:8px}.life-action-row{display:grid;grid-template-columns:.85fr 1.15fr;gap:9px;margin-top:20px}.quick-note{margin:9px 2px 0;color:#8a8e96;font-size:10px;line-height:1.4}.life-preview-top{display:flex;justify-content:space-between;align-items:end;margin-bottom:18px}.life-preview-top>div>span,.life-signal-panel>span{color:var(--blue);font-size:10px;font-weight:800;letter-spacing:.14em}.life-preview-top h2{margin:6px 0 0;font:28px "Inter","Source Han Sans CN","Source Han Sans SC","Noto Sans CJK SC","PingFang SC","Microsoft YaHei",system-ui,-apple-system,BlinkMacSystemFont,sans-serif}.provider-pill{padding:8px 11px;border:1px solid #dcd9e7;border-radius:10px;background:#f8f6fc;color:#716895;font-size:10px;font-weight:750}.life-product-context{display:grid;grid-template-columns:minmax(280px,.9fr) minmax(300px,1.1fr);gap:16px}.life-product-image,.life-signal-panel{min-height:440px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow)}.life-product-image{display:grid;place-items:center;overflow:hidden;position:relative}.life-product-image img{display:none;width:100%;height:100%;object-fit:contain}.life-product-image img.ready{display:block}.life-product-image img.ready+#lifeProductPlaceholder{display:none}#lifeProductPlaceholder{font-size:12px;color:var(--muted)}.life-signal-panel{padding:28px}.life-signal-panel p{margin:20px 0;color:var(--muted);font-size:12px;line-height:1.65}.life-signal-panel dl{margin:18px 0 0}.life-signal-panel dt{margin-top:16px;color:#9297a0;font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.life-signal-panel dd{margin:5px 0 0;color:#414751;font-size:12px;line-height:1.6}.lifestyle-result-heading{align-items:center}.lifestyle-result-heading small{color:var(--muted);font-size:10px}.lifestyle-gallery img{aspect-ratio:auto;min-height:230px;background:#f6f5f2}.scene-spec-panel{margin-top:18px;border:1px solid var(--line);border-radius:13px;background:#fff}.scene-spec-panel summary{padding:14px 16px;cursor:pointer;font-size:11px;font-weight:750}.scene-spec-panel pre{max-height:420px;overflow:auto;margin:0;padding:17px;border-top:1px solid var(--line);background:#171a22;color:#d7dce7;font:11px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace;white-space:pre-wrap}.lifestyle-history-heading{margin-bottom:12px}.life-history{display:grid;gap:7px}.life-history>p{padding:22px;border:1px dashed #c7c9c9;border-radius:12px;text-align:center;color:var(--muted);font-size:12px}.life-history article{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border:1px solid var(--line);border-radius:11px;background:#fff}.life-history article>div{display:flex;flex-direction:column;gap:3px}.life-history article>div:last-child{align-items:flex-end}.life-history b{font-size:11px}.life-history span,.life-history small{color:var(--muted);font-size:9px}.life-history em{font-size:9px;font-style:normal;text-transform:uppercase}.life-history em.ok{color:#4a8052}.life-history em.failed{color:#aa5144}.reference-modal{width:min(1180px,94vw);height:min(850px,92vh);padding:0;border:0;border-radius:19px;background:#f7f7f4;box-shadow:0 34px 100px rgba(10,14,23,.36)}.reference-modal::backdrop{background:rgba(13,17,26,.7);backdrop-filter:blur(5px)}.reference-modal-head{display:flex;justify-content:space-between;padding:28px 30px 20px;background:#fff;border-bottom:1px solid var(--line)}.reference-modal-head span{color:var(--blue);font-size:10px;font-weight:800;letter-spacing:.14em}.reference-modal-head h2{margin:6px 0 3px;font:28px "Inter","Source Han Sans CN","Source Han Sans SC","Noto Sans CJK SC","PingFang SC","Microsoft YaHei",system-ui,-apple-system,BlinkMacSystemFont,sans-serif}.reference-modal-head p{margin:0;color:var(--muted);font-size:11px}.reference-close{position:static;flex:0 0 42px}.reference-toolbar{display:flex;align-items:end;gap:12px;padding:16px 30px}.reference-toolbar .field{width:220px;margin:0}.manual-reference-upload{height:46px;display:grid;place-items:center;padding:0 15px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#566a97;font-size:11px;font-weight:750;cursor:pointer}.manual-reference-upload input{display:none}.reference-toolbar .manual-category{width:150px}.reference-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-height:560px;overflow:auto;padding:0 30px 90px}.reference-card{position:relative;height:auto;padding:0 0 12px;overflow:hidden;border:1px solid var(--line);border-radius:13px;background:#fff;text-align:left}.reference-card:hover:not(:disabled){transform:none;border-color:#98a5c1}.reference-card.selected{border-color:#6179ad;box-shadow:0 0 0 2px rgba(97,121,173,.16)}.reference-card img{display:block;width:100%;aspect-ratio:1.15;object-fit:cover;background:#ecebe7}.reference-card b,.reference-card small,.reference-card em{display:block;margin:9px 11px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reference-card b{font-size:11px}.reference-card small{margin-top:3px;color:#777d86;font-size:9px}.reference-card em{margin-top:7px;color:#68769a;font-size:8px;font-style:normal}.reference-check{position:absolute;z-index:1;right:9px;top:9px;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.92);color:#566e9f;font-size:14px;box-shadow:0 2px 8px rgba(20,25,35,.15)}.reference-modal-footer{position:sticky;bottom:0;display:flex;align-items:center;justify-content:flex-end;gap:17px;padding:15px 30px;background:rgba(255,255,255,.94);border-top:1px solid var(--line);backdrop-filter:blur(10px)}.reference-modal-footer span{color:var(--muted);font-size:11px}.reference-modal-footer button{padding:0 24px}@media(max-width:1050px){.module-tabs{position:absolute;left:50%;transform:translateX(-50%)}.runtime-badge{display:none}.life-product-context{grid-template-columns:1fr}.life-product-image,.life-signal-panel{min-height:360px}.reference-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:780px){.topbar{height:118px;align-items:flex-start;padding-top:18px}.module-tabs{top:65px;width:calc(100% - 36px)}.module-tab{flex:1}.workspace{min-height:calc(100vh - 118px)}.life-product-context{grid-template-columns:1fr}.reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.reference-toolbar{flex-wrap:wrap}.lifestyle-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.life-action-row,.life-options .field-grid{grid-template-columns:1fr}.reference-grid{grid-template-columns:1fr}.reference-toolbar .field{width:100%}.reference-modal-head{padding:22px 20px}.reference-grid,.reference-toolbar{padding-left:20px;padding-right:20px}}
