:root{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","PingFang SC","Microsoft YaHei UI","Microsoft YaHei","Noto Sans CJK SC","Noto Sans SC",Arial,sans-serif;color:#171717;background:#f3f3f1;font-synthesis:none;font-size:16px;--muted:#666;--paper:#fff;--brand:#0d314b}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:0;border-radius:4px;padding:12px 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#e8e8e5;color:#171717;min-height:44px}button:hover{background:#dddeda}button.primary{background:#171717;color:white}button.primary:hover{background:#363636}button:disabled{opacity:.42;cursor:not-allowed}button.ghost{background:transparent}button.active{background:#171717;color:white}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #171717;outline-offset:3px}input,select,textarea{width:100%;border:1px solid #a4a4a0;background:#fff;border-radius:4px;padding:10px 12px;min-height:44px;color:#171717}input[type=range]{padding:0;accent-color:#171717}label{display:block;font-size:14px;line-height:1.6;margin:12px 0}label>input,label>select,label>textarea{margin-top:6px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;font-weight:400;line-height:1.35}h2{font-size:22px;font-weight:500}h3{font-size:17px;font-weight:500}p{line-height:1.65}.muted,small{color:var(--muted);line-height:1.6}.eyebrow{letter-spacing:.13em;font-size:12px;color:var(--muted);text-transform:uppercase}.top{height:76px;background:white;display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:28px}.brand{display:flex;align-items:center;gap:20px;text-decoration:none;white-space:nowrap}.brand img{width:116px;max-height:35px;object-fit:contain}.brand span{font-size:18px;color:#171717}.top nav{display:flex;align-items:center;gap:12px}.tag{font-size:12px;background:#eeeeeb;padding:6px 9px;color:#666;border-radius:3px}.hero{position:relative;min-height:600px;height:calc(100vh - 160px);max-height:900px;background:#dadad6;overflow:hidden}.hero img{width:100%;height:100%;object-fit:cover}.hero article{position:absolute;left:6%;top:19%;max-width:360px;background:rgba(255,255,255,.88);padding:36px}.hero h1{font-size:48px;line-height:1.25;font-weight:300}.hero .primary{margin-top:20px}.quick{background:white;display:grid;grid-template-columns:1fr 1fr 1fr;gap:24px;padding:32px 6%}.quick button{justify-content:space-between;background:#f3f3f1;padding:24px;text-align:left}.quick h3{margin-bottom:8px}.workspace{display:grid;grid-template-columns:192px minmax(0,1fr);height:calc(100vh - 76px)}.rail{background:white;padding:32px 16px;display:flex;flex-direction:column;gap:8px}.rail .eyebrow{padding-left:12px;margin-bottom:18px}.rail button{justify-content:flex-start;background:transparent;text-align:left;gap:15px}.rail button strong{font-size:24px;font-weight:300;color:#a3a3a3}.rail button.active{background:#eee;color:#171717}.rail button.active strong{color:#171717}.rail .bottom{margin-top:auto}.work{min-width:0;min-height:0;display:flex;flex-direction:column}.step-head{display:flex;align-items:center;justify-content:space-between;padding:22px 28px;background:white;gap:24px;min-height:112px}.step-head h1{font-size:22px;margin:0}.step-title{display:flex;align-items:center;gap:25px}.step-title>div:first-child{padding-right:25px;border-right:1px solid #ccc}.substeps{display:flex;gap:24px}.substep{display:flex;gap:10px;align-items:center}.substep>b{font-size:34px;font-weight:300}.substep small{display:block;font-size:12px;max-width:200px}.substep.inactive{color:#777}.substep.inactive>b{color:#aaa}.substep button{padding:0;min-height:0;background:none;color:inherit;text-align:left}.edit-body{display:grid;grid-template-columns:minmax(0,1fr) 368px;min-height:0;flex:1}.scene-column{min-width:0;min-height:0;padding:20px;display:flex;flex-direction:column;gap:12px}.canvas-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.segmented{display:flex;gap:4px}.segmented button{background:transparent;padding:8px 16px}.segmented button.active{background:white;color:#171717}.stage{position:relative;background:#e7e7e3;flex:1;min-height:260px;overflow:hidden;touch-action:none}.scene-group{position:absolute;transform-origin:center;user-select:none}.scene-image{position:absolute;width:100%;height:100%;object-fit:fill;pointer-events:none}.opening-box,.door-layer{position:absolute;transform:translate(-50%,-50%);user-select:none;touch-action:none}.opening-box{outline:2px dashed #171717;background:#ffffff33;display:flex;align-items:center;justify-content:center;color:#171717;cursor:move}.opening-box span{background:#ffffffdd;padding:8px 12px;font-size:13px}.door-layer{cursor:move}.door-layer>img{width:100%;height:100%;object-fit:fill;pointer-events:none}.door-layer.selected{outline:1px solid #fff;box-shadow:0 0 0 2px #171717}.hw-layer{position:absolute;transform:translate(-50%,-50%);cursor:move;touch-action:none;min-width:0;min-height:0}.hw-layer::after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-width:24px;min-height:24px;background:transparent}.hw-layer.selected{outline:2px solid #171717;outline-offset:5px}.hw-layer img{width:100%;height:100%;object-fit:fill;pointer-events:none}.stage-hint{position:absolute;bottom:16px;left:16px;background:#ffffffde;padding:8px 12px;font-size:12px;color:#555;pointer-events:none}.stage-actions{position:absolute;top:12px;right:12px;display:flex;gap:6px}.stage-actions button{background:#ffffffed}.canvas-footer{display:flex;align-items:center;justify-content:space-between}.inspector{background:#ededea;padding:20px;overflow:auto;min-height:0}.card{background:white;padding:20px;margin-bottom:14px;border-radius:6px}.card summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:16px;font-weight:500;min-height:28px}.card summary:after{content:'+';font-size:22px;font-weight:300}.card[open] summary:after{content:'−'}.card summary::-webkit-details-marker{display:none}.card .muted{font-size:13px}.inline{display:flex;gap:10px;align-items:center}.inline>*{flex:1}.full{width:100%}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.product{display:flex;flex-direction:column;align-items:stretch;background:#f4f4f1;padding:8px;border-radius:4px;text-align:left;gap:7px;min-width:0}.product img{width:100%;height:128px;object-fit:contain}.product span{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.product.active{background:#e4e4e1;color:#171717;box-shadow:inset 0 -3px #171717}.product small{font-size:11px}.swatch{min-height:50px;padding:5px;font-size:12px;display:flex;flex-direction:column}.swatch i{width:100%;height:24px;display:block}.empty{padding:30px 18px;color:#666;background:white;text-align:center;line-height:1.7}.prompt{padding:14px 0;border-bottom:1px solid #ecece9;display:grid;grid-template-columns:24px 1fr;gap:12px}.prompt:last-child{border:0}.prompt>b{font-size:22px;font-weight:300}.prompt h3{font-size:14px;margin:0 0 5px}.prompt p{font-size:13px;margin:2px 0;color:#666}.actionbar{background:white;padding:14px 28px;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:82px}.actionbar .price{font-size:22px;font-weight:400;font-variant-numeric:tabular-nums}.actionbar small{font-size:12px}.long-page{max-width:1400px;margin:auto;padding:40px 32px}.heading-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.solutions{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.solution{background:white;border-radius:6px;overflow:hidden}.solution img{width:100%;height:200px;object-fit:cover}.solution article{padding:24px}.solution .inline button{font-size:14px}.price-line{display:flex;justify-content:space-between;font-size:14px;gap:12px;padding:10px 0}.review{overflow:auto;padding:26px;flex:1}.review-images{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:24px}.review-images img{width:100%;height:240px;object-fit:contain;background:#e8e8e4}.review .card{max-width:1000px;margin:auto auto 18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.form-grid .wide{grid-column:1/-1}dialog{width:min(580px,calc(100% - 32px));border:0;border-radius:10px;background:white;padding:30px;color:#171717;max-height:90vh;overflow:auto}dialog::backdrop{background:#0007}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.dialog-head h2{margin:0}dialog .actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.error{color:#671b1b;background:#faf0ef;padding:12px;border-radius:4px;font-size:14px}.auth{max-width:420px;margin:8vh auto;background:white;padding:34px;border-radius:8px}.auth h1{font-size:26px}.status{font-size:13px;color:#666}.table{width:100%;border-collapse:collapse;background:#fff}.table th,.table td{text-align:left;padding:14px 16px;border-bottom:1px solid #eee;font-size:14px}.table th{color:#666;font-weight:400}.meta{display:grid;grid-template-columns:1fr 1fr;gap:6px 20px;font-size:14px}#notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:min(650px,90vw);padding:14px 20px;border-radius:6px;background:#171717;color:white;display:none;z-index:20;line-height:1.5}.history{display:flex;gap:8px;overflow:auto}.history button{padding:4px;flex:none}.history img{width:90px;height:58px;object-fit:contain}.filedrop{display:block;padding:24px 16px;background:#f6f6f3;text-align:center;cursor:pointer}.filedrop input{max-width:100%;font-size:13px}.help{font-size:13px;color:#666}.line-tool{display:grid;grid-template-columns:55px 1fr 55px;gap:8px;align-items:center;margin-top:12px;font-size:13px}.line-tool input[type=number]{padding:7px;font-size:13px;min-height:34px}.plain-button{border:0;background:none;text-decoration:underline;padding:6px}.browse-preview{display:flex;gap:12px}.browse-preview img{width:70px;height:70px;object-fit:contain}.secondary-note{font-size:12px;color:#666;margin-top:12px}.progress-note{font-size:13px;color:#666;max-width:400px}.selected-label{font-size:13px;padding:7px 10px;background:#fff;border-radius:4px}.dev-label{font-size:12px;white-space:nowrap;color:#666}.review-total{font-size:24px}
@media(min-width:1600px){.edit-body{grid-template-columns:minmax(0,1fr) 400px}.scene-column{padding:24px}.inspector{padding:24px}}
@media(max-width:1199px){.workspace{grid-template-columns:150px 1fr}.rail{padding:20px 10px}.rail button{font-size:14px;gap:8px}.edit-body{grid-template-columns:minmax(0,1fr) 320px}.step-head{padding:16px}.substeps{gap:12px}.substep small{max-width:120px}.step-title{gap:14px}.step-title>div:first-child{padding-right:14px}.brand span{font-size:15px}.top{padding:0 20px}.top nav{gap:3px}.inspector{padding:12px}}
@media(max-width:899px){.top{height:68px;padding:0 16px}.brand{gap:10px}.brand img{width:88px}.top nav .optional{display:none}.workspace{height:auto;min-height:calc(100vh - 68px);display:block}.rail{flex-direction:row;padding:8px;overflow:auto;position:sticky;top:0;z-index:5}.rail .eyebrow,.rail .bottom{display:none}.rail button{flex:none;padding:8px 12px;min-height:44px}.rail button strong{font-size:20px}.step-head{min-height:100px;align-items:flex-start}.step-title{display:block}.step-title>div:first-child{border:0;padding:0;margin-bottom:10px}.substep>b{font-size:25px}.step-head>.optional{display:none}.edit-body{display:flex;flex-direction:column}.scene-column{padding:12px}.stage{height:56vh;min-height:340px;flex:none}.inspector{padding:16px;overflow:visible}.actionbar{position:sticky;bottom:0;z-index:6;padding:12px 16px}.progress-note{max-width:45%;font-size:12px}.solutions{grid-template-columns:1fr 1fr}.hero{min-height:560px;height:75vh}.hero article{padding:24px;top:25%;left:6%;max-width:290px}.hero h1{font-size:36px}.quick{grid-template-columns:1fr;padding:24px}.long-page{padding:28px 16px}}
@media(max-width:599px){.brand span{font-size:13px}.top nav button{padding:8px;font-size:13px}.dev-label{display:none}.hero article{left:16px;right:16px;top:auto;bottom:24px;max-width:280px}.hero h1{font-size:32px}.solutions{grid-template-columns:1fr}.stage{min-height:300px;height:48vh}.step-head{display:block}.substeps{margin-top:12px}.substep small{max-width:125px}.canvas-top{font-size:12px}.form-grid,.review-images{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.actionbar .price{font-size:18px}.grid2 .product img{height:140px}dialog{padding:22px}.stage-hint{left:10px;bottom:10px;right:10px;font-size:11px}.table{display:block;overflow:auto}}
@media(prefers-reduced-motion:no-preference){button,.product{transition:background .15s,box-shadow .15s}dialog[open]{animation:appear .18s ease-out}@keyframes appear{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}}

.door-layer{isolation:isolate}.color-layer{position:absolute;inset:0;pointer-events:none;background-size:100% 100%;mask-size:100% 100%;mask-repeat:no-repeat;mix-blend-mode:color;opacity:.5}.hw-layer{overflow:hidden}
/* TEST01-R03 acceptance: keep the primary headline together at desktop widths. */
.hero article{max-width:440px;padding:32px}
@media(max-width:899px){.hero article{max-width:320px;padding:24px}}
@media(max-width:599px){.hero article{max-width:280px}}

.step-head>.inline{flex:0 0 auto}.step-head>.inline button{flex:none;white-space:nowrap}.step-head>.inline{gap:8px}

[hidden]{display:none!important}.solution-faces,.detail-previews{display:grid;grid-template-columns:1fr 1fr;gap:4px}.solution-faces img{height:160px;object-fit:contain;background:#eee}.detail-previews img{width:100%;height:190px;object-fit:contain;background:#eee}

/* TEST01-R04: actual material thumbnails and contained responsive navigation. */
.swatch img{display:block;width:100%;height:48px;object-fit:cover;border-radius:0}.swatch{flex-direction:column;min-width:0}.swatch span{overflow-wrap:anywhere}.inspector .full+.full{margin-top:6px}
@media(max-width:699px){.top{height:auto;min-height:68px;flex-wrap:wrap;gap:8px;padding:12px 16px}.top nav{width:100%;justify-content:flex-end;flex-wrap:wrap}.top nav button{min-height:44px}.brand{max-width:100%}.step-title{min-width:0}.substeps{flex-wrap:wrap}.canvas-top{flex-wrap:wrap}.actionbar{flex-wrap:wrap;gap:10px}.actionbar .progress-note{flex-basis:calc(100% - 120px);max-width:none}.actionbar>.primary{flex:1;white-space:normal}.inline{min-width:0}.solution-faces img{width:100%;min-width:0}}
/* Customer feedback: hardware picker image bounds are 60% of their previous size. */
.hardware-options .hardware-product img{width:60%;height:76.8px;margin-inline:auto;object-fit:contain;flex:none}
.hardware-options .hardware-product{padding:8px;gap:6px;justify-content:flex-start}
@media(max-width:599px){.hardware-options .hardware-product img{height:84px}}

.hardware-product{min-width:0;background:#f4f4f1;border-radius:4px;padding:8px;display:flex;flex-direction:column;gap:6px}.hardware-product.active{box-shadow:inset 0 -3px #171717}.hardware-image{width:100%;display:flex;flex-direction:column;align-items:center;padding:0;background:transparent;gap:6px}.hardware-image:hover{background:transparent}.view-detail{color:#666;font-size:11px;line-height:1.3}.hardware-select{width:100%;background:transparent;flex-direction:column;padding:4px 0;gap:2px;min-height:44px}.hardware-select span{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.hardware-select small{font-size:12px}.hardware-detail-image{background:#f5f5f3;padding:20px;margin-bottom:20px;display:flex;justify-content:center}.hardware-detail-image img{display:block;max-width:100%;max-height:48vh;object-fit:contain}.hardware-options .hardware-image img{width:60%;height:76.8px;margin-inline:auto;object-fit:contain}
@media(max-width:599px){.hardware-options .hardware-image img{height:84px}}

/* TEST01-R05: readable solution cards with equal action rows. */
.solutions{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:stretch}
.solution{display:flex;flex-direction:column;min-width:0;border-radius:6px}
.solution-faces{gap:4px;background:#f1f1ee}
.solution-faces figure{position:relative;margin:0;min-width:0;aspect-ratio:16/10}
.solution-faces img{display:block;width:100%;height:100%;object-fit:contain}
.solution-faces figcaption{position:absolute;bottom:10px;left:12px;padding:4px 8px;background:rgba(255,255,255,.9);color:#555;font-size:12px;line-height:1.4;border-radius:2px}
.solution-body{padding:24px;display:flex;flex-direction:column;flex:1;min-width:0}
.solution-meta{display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:12px;line-height:1.5;color:#70706b;flex-wrap:wrap}
.solution-state{padding:4px 8px;background:#f3f3f1;color:#666;white-space:nowrap;border-radius:3px}
.solution-body h2{margin:16px 0 10px;font-size:24px;font-weight:400;line-height:1.4;overflow-wrap:anywhere}
.solution-description{margin:0;color:#666;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.solution-estimate{display:flex;flex-direction:column;gap:4px;padding:20px 0 24px;margin-top:auto}
.solution-estimate>span{font-size:12px;line-height:1.5;color:#74746e}
.solution-estimate>strong{font-size:28px;line-height:1.3;font-weight:500;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.solution-actions{display:flex;flex-direction:column;gap:12px}
.solution-primary,.solution-utilities{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.solution-actions button{width:100%;min-width:0;white-space:nowrap;line-height:1.4;font-size:14px;padding:12px;min-height:46px}
.solution-primary button{min-height:48px}
.solution-utilities{gap:8px;align-content:start;min-height:100px}
.solution-utilities button{background:#f3f3f1;color:#565651;font-size:13px}
.solution-utilities button:hover{background:#e9e9e5;color:#171717}
.solution-utilities>button:last-child:nth-child(odd){grid-column:1/-1}
@media(max-width:760px){.solutions{grid-template-columns:1fr;gap:22px}.solution-body{padding:20px}.solution-body h2{font-size:22px}.solution-estimate>strong{font-size:26px}.heading-row{align-items:flex-start;gap:16px}.heading-row>.primary{white-space:nowrap;flex:none}.solution-faces figcaption{left:8px;bottom:8px;font-size:11px}}
@media(max-width:380px){.solution-body{padding:16px}.solution-meta{gap:6px}.solution-actions button{padding:10px 7px;font-size:13px}.heading-row{flex-wrap:wrap}.solution-faces figure{aspect-ratio:4/3}}

/* TEST01-R06 enterprise workspace, same neutral typography and controls. */
.enterprise-shell{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100vh - 76px)}.enterprise-nav{background:white;padding:28px 16px;display:flex;flex-direction:column;gap:6px}.enterprise-name{font-size:18px;line-height:1.5;padding:0 12px 22px;overflow-wrap:anywhere}.enterprise-name small{display:block;font-size:12px;margin-top:8px}.enterprise-nav>button{justify-content:flex-start;text-align:left;background:transparent}.enterprise-nav>button.active{background:#171717;color:white}.enterprise-nav .enterprise-settings{margin-top:auto}.enterprise-main{padding:32px;min-width:0}.enterprise-main .heading-row h1{margin-bottom:0}.enterprise-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.enterprise-metrics .card{display:flex;flex-direction:column;gap:12px;min-width:0}.enterprise-metrics span{font-size:14px;color:#666}.enterprise-metrics strong{font-size:34px;font-weight:400}.enterprise-table{overflow:auto;margin:20px 0;background:white;border-radius:6px}.enterprise-table th{white-space:nowrap}.enterprise-table td{vertical-align:middle;min-width:90px}.enterprise-table td small{display:block;font-size:12px}.enterprise-table code{font-size:11px;overflow-wrap:anywhere}.enterprise-table button{padding:9px 12px;margin:4px;font-size:13px;white-space:nowrap}.enterprise-toolbar{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}.enterprise-toolbar label{flex:1;min-width:180px}.enterprise-links{display:flex;flex-wrap:wrap;gap:10px}.role-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.role-grid label{display:flex;align-items:center;gap:10px;margin:0}.role-grid input{width:18px;height:18px;min-height:18px;accent-color:#171717;margin:0}.auth-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
@media(max-width:1100px){.enterprise-shell{grid-template-columns:180px minmax(0,1fr)}.enterprise-main{padding:24px}.enterprise-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.enterprise-shell{display:block}.enterprise-nav{display:flex;flex-direction:row;overflow:auto;padding:12px;gap:8px}.enterprise-name{display:none}.enterprise-nav>button{white-space:nowrap;flex:none}.enterprise-main{padding:20px 16px}.enterprise-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* TEST01-R07: stable navigation, contained upload control and movable comparison. */
:root{--header-height:76px}
.top{position:sticky;top:0;z-index:15}
.top nav{gap:4px}.top nav button{padding:10px 12px}
.workspace{height:calc(100dvh - var(--header-height))}
.filedrop{position:relative}.filedrop .file-input{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:0;overflow:hidden;clip-path:inset(50%);border:0}
.upload-choice{display:inline-flex;padding:10px 18px;margin-top:12px;background:#171717;color:#fff;border-radius:4px;font-size:14px}
.filedrop:focus-within{outline:2px solid #171717;outline-offset:2px}
.dialog-head{cursor:move;touch-action:none;user-select:none}.dialog-head button{cursor:pointer}
dialog.moved{position:fixed;right:auto;bottom:auto;animation:none;transform:none}
.history-large{display:block;width:100%;max-height:60vh;object-fit:contain;background:#eee}
.order-pricing{padding:16px 0}.order-total{font-size:20px}.order-steps{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:#666;margin-bottom:16px}.order-steps span{background:#f3f3f1;padding:7px 10px}
.enterprise-nav{position:sticky;top:var(--header-height);height:calc(100dvh - var(--header-height));overflow:auto}
@media(max-width:899px){.workspace{height:auto;min-height:calc(100dvh - var(--header-height))}.rail{top:var(--header-height)}.step-head{position:sticky;top:calc(var(--header-height) + 60px);z-index:4}.actionbar{bottom:0}.enterprise-nav{height:auto;top:var(--header-height)}}
@media(max-width:699px){.top nav{justify-content:flex-start;overflow:auto;flex-wrap:nowrap}.top nav button{white-space:nowrap}.top .brand{flex:1}.top nav button{font-size:13px}.step-head{position:static}}

.history-large,dialog img[alt="本次 AI 生成结果"]{touch-action:none;user-select:none;cursor:move}
/* R08p3: keep the order workflow primary and move administration behind one disclosure. */
.enterprise-primary,.enterprise-tools>div{display:flex;flex-direction:column;gap:6px}.enterprise-primary button,.enterprise-tools button{justify-content:flex-start;text-align:left;background:transparent}.enterprise-primary button.active,.enterprise-tools button.active{background:#171717;color:#fff}.enterprise-tools{margin:20px 0 0;border-top:1px solid #e6e6e2;padding-top:14px}.enterprise-tools summary{cursor:pointer;min-height:44px;padding:12px;color:#666;font-size:14px}.enterprise-tools>div{padding-top:8px}.enterprise-name{padding-bottom:18px}.enterprise-main>.heading-row h1{margin:0}.solution-main-actions{display:flex;gap:8px;flex-wrap:wrap}.solution-main-actions>button{flex:1;white-space:nowrap;padding:10px 8px;font-size:13px}.solution-more{border-top:1px solid #eee;margin-top:12px;padding-top:4px}.solution-more summary{cursor:pointer;min-height:36px;padding:9px 0;text-align:right;color:#777;font-size:12px}.solution-more>small{display:block;margin-bottom:8px}.solution-more>div{display:flex;gap:8px}.solution-more button{font-size:12px;min-height:36px;padding:8px 12px}.order-discount label{margin:8px 0}.order-discount input{max-width:220px}.order-current{color:#666;font-size:14px}
@media(max-width:760px){.enterprise-nav{display:block;position:relative;top:0;overflow:visible}.enterprise-primary{display:flex;flex-direction:row;gap:6px}.enterprise-primary>button{flex:1;justify-content:center;padding:10px 6px;font-size:13px}.enterprise-tools{margin-top:8px;padding-top:4px}.enterprise-tools summary{padding:8px;min-height:36px}.enterprise-tools>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.enterprise-tools button{min-width:0;font-size:13px}.enterprise-main{padding-top:18px}}

/* R08p4: the five-step account workspace and read-only confirmation documents. */
.workflow-nav{display:flex;flex-direction:column;gap:7px}.workflow-nav button{justify-content:flex-start;text-align:left;background:transparent}.workflow-nav button.active{background:#171717;color:#fff}.my-workflow .enterprise-main{max-width:1600px;width:100%}.workflow-document{background:#fff;border:1px solid #e8e8e3;border-radius:6px;padding:32px;margin-top:20px}.document-title{padding-bottom:24px;border-bottom:1px solid #e8e8e3;margin-bottom:24px}.document-title h2{margin:8px 0 12px;font-size:28px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}.document-title p{color:#686863;font-size:14px;line-height:1.7}.workflow-document h3{font-size:18px;font-weight:500;margin:32px 0 14px}.workflow-previews{display:grid;grid-template-columns:1fr 1fr;gap:16px}.workflow-previews figure{margin:0;min-width:0}.workflow-previews img{display:block;width:100%;height:240px;object-fit:contain;background:#f2f2ee}.workflow-previews figcaption{font-size:13px;color:#666;margin-top:8px}.workflow-info{display:grid;grid-template-columns:1fr 1fr;gap:16px 28px;margin:24px 0}.workflow-info>div:last-child{grid-column:1/-1}.workflow-info dt{font-size:12px;color:#777;margin-bottom:8px}.workflow-info dd{margin:0;font-size:15px;line-height:1.6;overflow-wrap:anywhere}.workflow-table-wrap{overflow:auto;border:1px solid #e5e5e0;border-radius:4px;background:white;margin:16px 0 24px}.workflow-table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.5}.workflow-table th,.workflow-table td{padding:14px 16px;text-align:left;border-bottom:1px solid #e8e8e3;vertical-align:middle}.workflow-table th{background:#f7f7f4;font-weight:500;color:#5a5a55;white-space:nowrap}.workflow-table td{min-width:70px;overflow-wrap:anywhere}.workflow-table tr:last-child td{border-bottom:0}.workflow-table .numeric{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.workflow-table .total-row{background:#fafaf7;font-weight:600}.workflow-table button{font-size:13px;white-space:nowrap;padding:9px 12px}.workflow-badge{display:inline-block;background:#f1f1ec;color:#5a5a54;font-size:12px;padding:5px 8px;border-radius:3px;white-space:nowrap}.workflow-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;padding-top:24px;border-top:1px solid #e8e8e3;margin-top:28px}.workflow-actions .primary{min-width:170px}.workflow-search{max-width:380px;margin-bottom:20px}.discount-label{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0}.discount-label input{max-width:180px;margin:0;text-align:right}.workflow-alert{padding:14px 16px;background:#faf2ed;border:1px solid #edddd2;color:#744a2f;line-height:1.6}.my-workflow .enterprise-main>.ghost{padding-left:0}.workflow-actions .unavailable{background:#6c6c66}
@media(max-width:760px){.workflow-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.workflow-nav button{justify-content:center;padding:10px 6px;font-size:13px;min-width:0}.workflow-document{padding:20px 16px}.workflow-previews img{height:180px}.document-title h2{font-size:22px}.workflow-info{grid-template-columns:1fr}.workflow-info>div:last-child{grid-column:auto}.workflow-table{min-width:600px;display:table}.workflow-table td,.workflow-table th{padding:12px;font-size:13px}.workflow-actions>button{flex:1}.my-workflow .enterprise-nav{border-bottom:1px solid #e8e8e3}.my-workflow .enterprise-main{padding:22px 16px}}

.material-mode{display:grid;grid-template-columns:1fr 1fr;margin-bottom:12px;gap:6px}.material-mode button{width:100%}.material-render-status{min-height:36px;line-height:1.5}

.material-mode button.active{background:#171717;color:#fff}.solution-actions{margin-top:auto;padding-top:14px}
/* R08p7: the editor dedicates its viewport to the scene and an independent control column. */
.canvas-workspace{height:100dvh;min-height:0;position:relative;grid-template-columns:192px minmax(0,1fr)}.canvas-workspace.nav-closed{grid-template-columns:minmax(0,1fr)}.canvas-workspace .work{height:100dvh;overflow:hidden}.canvas-workspace .rail{height:100dvh;position:relative;top:0;padding-top:68px;overflow:auto}.canvas-workspace .rail[hidden]{display:none!important}.editor-menu-toggle{position:absolute;top:14px;left:14px;z-index:12;width:44px;height:44px;padding:0;background:#fffc;box-shadow:0 1px 8px #0002;font-size:22px;border:1px solid #deded8}.nav-open .editor-menu-toggle{left:132px}.editor-nav-bottom{margin-top:auto;padding-top:24px;display:grid;gap:8px}.canvas-workspace .edit-body{height:100dvh;min-height:0;grid-template-columns:minmax(0,1fr) 320px;gap:0}.canvas-workspace .scene-column{padding:0;min-height:0;overflow:hidden}.canvas-workspace .stage{height:100%;min-height:0;flex:1;margin:0}.canvas-workspace .inspector{height:100dvh;min-height:0;padding:0;display:flex;flex-direction:column;overflow:hidden;background:#ededea}.inspector-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px 10px;gap:10px;flex:none}.inspector-head h1{font-size:18px;margin:0;line-height:1.4}.editor-history{display:flex;gap:4px}.editor-history button{min-width:36px;min-height:36px;padding:7px;font-size:12px;background:#ffffff8a}.inspector-face{padding:0 16px;flex:none}.inspector-face button{flex:1;padding:8px 6px;font-size:13px}.editor-dimensions{padding:0 16px;margin:8px 0 10px;color:#65655f;font-size:12px;flex:none}.inspector-content{padding:0 12px;overflow:auto;flex:1;min-height:0;overscroll-behavior:contain}.inspector-content .card{padding:16px;margin-bottom:12px}.inspector-actions{flex:none;display:grid;grid-template-columns:1fr 1.4fr;gap:8px;background:white;border-top:1px solid #e2e2dc;padding:12px}.inspector-actions button{min-width:0;padding:10px 6px;font-size:13px;white-space:normal}.canvas-workspace .review{height:100dvh;padding:24px 24px 24px 76px}.canvas-workspace .stage-hint{bottom:14px;left:14px;font-size:11px;padding:6px 9px}
@media(min-width:1700px){.canvas-workspace .edit-body{grid-template-columns:minmax(0,1fr) 340px}}
@media(max-width:1000px) and (min-width:761px){.canvas-workspace .edit-body{grid-template-columns:minmax(0,1fr) 285px}.canvas-workspace{grid-template-columns:168px minmax(0,1fr)}.nav-open .editor-menu-toggle{left:112px}}
@media(max-width:760px){.canvas-workspace,.canvas-workspace.nav-open,.canvas-workspace.nav-closed{display:block;height:auto;min-height:100dvh}.canvas-workspace .work{height:auto;overflow:visible}.canvas-workspace .rail{position:fixed;left:0;top:0;z-index:20;width:192px;background:#fff;box-shadow:2px 0 18px #0002}.editor-menu-toggle{position:fixed;z-index:21}.nav-open .editor-menu-toggle{left:132px}.canvas-workspace .edit-body{height:auto;display:flex;flex-direction:column}.canvas-workspace .scene-column{height:60dvh;min-height:320px;flex:none}.canvas-workspace .stage{height:100%;min-height:0}.canvas-workspace .inspector{height:70dvh;min-height:440px}.canvas-workspace .review{height:auto;min-height:100dvh;padding:72px 16px 24px}.canvas-workspace .review-images img{height:220px}}

.canvas-workspace .rail{display:flex;flex-direction:column}

/* R13: read-only magnifier, separate from editable scene geometry. */
.stage-actions{right:56px;z-index:8}.stage-actions button{width:44px;padding:10px;border:1px solid #d4d4cd;box-shadow:0 1px 6px #0002}
dialog.canvas-inspector{position:fixed;inset:16px;width:calc(100% - 32px);height:calc(100dvh - 32px);max-width:none;max-height:none;margin:0;padding:0;border-radius:8px;overflow:hidden;background:#f4f4f0}
dialog.canvas-inspector[open]{display:flex;flex-direction:column}.inspect-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;background:#fff;flex:none}.inspect-header h2{font-size:20px;margin:0}.inspect-header button{padding:10px;min-width:44px}.inspect-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 20px;flex:none;background:#fff;border-bottom:1px solid #deded8}.inspect-toolbar label{display:flex;align-items:center;gap:12px;margin:0;min-width:0}.inspect-toolbar select{margin:0;min-width:170px;max-width:340px}.inspect-zoom-controls{display:flex;align-items:center;gap:6px}.inspect-zoom-controls output{min-width:64px;text-align:center;font-variant-numeric:tabular-nums;font-size:14px}.inspect-viewport{position:relative;flex:1;min-width:0;min-height:0;overflow:hidden;touch-action:none;cursor:grab;background:#deded8;outline-offset:-3px}.inspect-viewport:active{cursor:grabbing}.inspect-world{position:absolute;left:0;top:0;transform-origin:0 0;pointer-events:none}.inspect-world *{pointer-events:none!important}.inspect-help{margin:0;padding:10px 20px;font-size:12px;color:#666;flex:none;background:#fff}
@media(max-width:760px){dialog.canvas-inspector{inset:8px;width:calc(100% - 16px);height:calc(100dvh - 16px)}.inspect-header{padding:8px 12px}.inspect-header h2{font-size:17px}.inspect-toolbar{padding:8px 12px;flex-wrap:wrap;gap:8px}.inspect-toolbar label{width:100%}.inspect-toolbar select{flex:1;max-width:none;min-width:0}.inspect-zoom-controls{width:100%;justify-content:space-between}.inspect-help{padding:8px 12px}.stage-actions{top:66px;right:12px}}

/* R08p8: collapsible inspector and price-free sharing confirmation. */
.editor-inspector-toggle{position:absolute;top:14px;right:325px;z-index:12;width:40px;height:44px;padding:0;background:#fffc;border:1px solid #deded8;font-size:24px;box-shadow:0 1px 8px #0002}.inspector-closed .editor-inspector-toggle{right:14px}.canvas-workspace .inspector[hidden]{display:none!important}.canvas-workspace.inspector-closed .edit-body{grid-template-columns:minmax(0,1fr)}
.solution-share-panel{display:grid;grid-template-columns:200px minmax(0,1fr);gap:28px;align-items:center;background:#f6f6f2;padding:24px;margin:24px 0;border:1px solid #e3e3dc;border-radius:6px}.solution-share-panel h2{font-size:22px;margin:0 0 14px}.solution-qr{background:white;padding:4px;max-width:220px}.solution-qr svg{display:block;width:100%;height:auto}.share-actions{display:flex;flex-wrap:wrap;gap:8px}.share-actions button{gap:8px}.share-link{display:block;margin-top:18px;font-size:12px;color:#666}.share-link input{font-size:12px;margin-top:6px}.shared-solution{max-width:1200px}.shared-solution h1{overflow-wrap:anywhere}.shared-solution .workflow-previews img{height:auto;max-height:480px}
@media(min-width:1700px){.editor-inspector-toggle{right:345px}}
@media(min-width:761px) and (max-width:1000px){.editor-inspector-toggle{right:290px}}
@media(max-width:760px){.editor-inspector-toggle{position:fixed;right:14px;top:14px;z-index:11}.canvas-workspace.inspector-closed .scene-column{height:100dvh}.solution-share-panel{grid-template-columns:1fr;padding:18px;gap:16px}.solution-qr{width:200px;margin:auto}.share-actions button{flex:1}.shared-solution{padding:24px 16px}}
/* TEST02 R02: feedback controls share the existing neutral design. */
.scene-prompt-editor{min-height:0;resize:vertical}
.crop-control{display:grid;gap:8px;margin:12px 0}.crop-control>label{display:grid;gap:6px}.crop-micro{display:flex;gap:8px;align-items:center}.crop-micro>button{width:44px;min-height:44px;flex-shrink:0}.crop-micro>label{display:flex;gap:6px;align-items:center;flex:1;min-width:0}.crop-micro input{width:100%;min-width:0}
.color-families{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.color-families button{min-height:40px;padding:8px 12px}.color-families button:disabled{opacity:.5;cursor:not-allowed}
.hardware-options{--hardware-card-height:186px;grid-auto-rows:var(--hardware-card-height);max-height:calc(var(--hardware-card-height)*3 + 20px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:3px 5px 3px 1px;gap:10px}.hardware-options .hardware-product{min-height:0;overflow:hidden;display:flex;flex-direction:column}.hardware-options .hardware-image{height:122px;min-height:0}.hardware-options .hardware-image img{max-height:94px;height:94px;object-fit:contain}.hardware-options .hardware-select{margin-top:auto;padding:5px}.hardware-options .hardware-select small{font-size:11px}.hardware-omit{margin:4px 0 12px}
.configuration-comparison{width:100%;overflow-x:auto}.configuration-comparison table{width:100%;table-layout:fixed;border-collapse:collapse}.configuration-comparison th,.configuration-comparison td{border:1px solid #dededb;text-align:left;vertical-align:top;padding:12px;overflow-wrap:anywhere;line-height:1.55}.configuration-comparison th:first-child{width:22%}.configuration-comparison thead{background:#f0f0ed}.configuration-comparison tbody th{font-weight:500;background:#f8f8f5}.configuration-comparison td{width:39%}.configuration-comparison tbody tr:nth-child(even) td{background:#fafaf8}.configuration-comparison+*{margin-top:16px}
@media(max-height:800px){.hardware-options{max-height:340px}}
@media(max-width:620px){.configuration-comparison th,.configuration-comparison td{padding:8px;font-size:12px}.configuration-comparison th:first-child{width:24%}.hardware-options{--hardware-card-height:168px}.hardware-options .hardware-image{height:110px}.hardware-options .hardware-image img{height:82px}}
@media(max-width:959px){.configuration-comparison table,.configuration-comparison tbody,.configuration-comparison tr{display:block}.configuration-comparison thead{display:none}.configuration-comparison tr{margin-bottom:14px}.configuration-comparison th:first-child,.configuration-comparison td{display:block;width:100%}.configuration-comparison td::before{content:attr(data-face-label);display:block;font-size:11px;color:#666;margin-bottom:4px}}
