.feature-header-actions{display:flex;gap:7px}.feature-header-actions .button{font-size:11px;padding:8px 10px}.board-edit-entry{margin-top:10px;font-size:11px}.feature-dialog{padding:24px;overflow:auto}.feature-dialog .dialog-heading{margin-bottom:12px}.feature-dialog h2 small{font-size:11px;font-weight:400;letter-spacing:0;color:#8ca198;margin-left:9px}.feature-description{color:#8c9e96;font-size:11px;line-height:1.9;margin:0 0 20px}.library-dialog{width:940px}.library-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:20px}.library-toolbar>input{flex:1;min-width:120px}.library-toolbar input,.library-toolbar select,.field-label input,.field-label textarea,.field-label select{border:1px solid #dce6e0;border-radius:5px;background:#fff;color:#3d5b50;padding:9px 10px;font-size:11px;min-width:0}.library-toolbar input:focus,.field-label input:focus,.field-label textarea:focus{border-color:#4a9b7b}.component-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;min-height:210px;max-height:55dvh;overflow:auto;padding:1px 3px 12px}.component-card{border:1px solid #e0e9e3;border-radius:8px;overflow:hidden;position:relative;background:#fff}.component-card>img{width:100%;height:150px;display:block;object-fit:contain;background:#eef3ef}.component-card-body{padding:12px}.component-card-body>strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.component-card-body>span{display:block;font-size:9px;color:#8fa398;margin-top:7px}.component-card-bottom{display:flex;justify-content:space-between;align-items:center;padding:0 12px 12px}.component-kind{font-size:8px;color:#8da595;border:1px solid #e0e9e1;border-radius:4px;padding:3px 5px}.component-card-bottom>.button{font-size:10px;min-height:29px;padding:6px 10px}.delete-library-asset{position:absolute;right:7px;top:7px;background:#fff9;width:23px;height:23px;border-radius:4px;border:1px solid #dfe9e2;color:#8ca397;font-size:17px}.delete-library-asset:hover{background:#fff0ed;color:#ac6b5e}.library-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e6eee8;padding-top:16px;margin-top:10px}.library-footer>span{font-size:10px;color:#9aa99f}.library-footer>div{display:flex;gap:7px}.library-footer .button{font-size:10px;min-height:31px;padding:6px 9px;text-decoration:none}.empty-message{text-align:center;color:#98aaa0;padding:40px}.component-upload-dialog{width:490px}.model-dropzone{display:flex;align-items:center;justify-content:center;flex-direction:column;border:1px dashed #b7d7c5;background:#f5faf6;border-radius:8px;min-height:130px;gap:10px;cursor:pointer;color:#6c9380;margin:18px 0 10px}.model-dropzone svg{width:23px;height:23px}.model-dropzone strong{font-size:13px;font-weight:500}.model-dropzone>span{font-size:9px;color:#91ab99}.upload-status{font-size:10px;color:#8a9f92;line-height:1.8;min-height:18px}.upload-status.error{color:#b5714f}.model-upload-preview{display:flex;align-items:center;gap:14px;background:#f0f6f1;border:1px solid #e3eee5;border-radius:6px;padding:9px;margin:12px 0}.model-upload-preview[hidden]{display:none}.model-upload-preview img{width:110px;height:78px;object-fit:contain}.model-upload-preview strong{font-size:11px;font-weight:500}.model-upload-preview p{font-size:10px;color:#78927d;margin:7px 0}.model-upload-preview span{font-size:9px;line-height:1.7;color:#95a798;display:block}.field-label{display:flex;flex-direction:column;gap:7px;font-size:10px;color:#7e9686;margin:14px 0}.field-label input,.field-label select,.field-label textarea{width:100%;font-size:11px;line-height:1.6}.field-label textarea{resize:vertical;min-height:40px}.model-dimensions{display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin:18px 0}.model-dimensions>label{font-size:10px;color:#8da293}.model-dimensions>label>div{display:flex;align-items:center;gap:6px;margin-top:8px}.model-dimensions input{width:100%;min-width:0;border:1px solid #dce6de;padding:7px;border-radius:4px;color:#426852;background:#fff}.model-dimensions span{font-size:9px;color:#a3b2a7}.dialog-actions{display:flex;gap:8px;justify-content:flex-end;border-top:1px solid #e4ece6;margin-top:20px;padding-top:18px}.boards-dialog{width:1080px}.project-brief{display:grid;grid-template-columns:1fr 1fr;column-gap:18px;background:#f5f8f5;padding:5px 17px 15px;border-radius:7px;margin-top:18px}.project-brief-wide{grid-column:1/-1}.brief-actions{display:flex;justify-content:space-between;align-items:center;gap:16px}.brief-actions>span{color:#96a69a;font-size:10px;line-height:1.8}.brief-actions .button{font-size:10px;white-space:nowrap}.board-plan-summary{display:flex;justify-content:space-between;align-items:center;margin:23px 0 15px}.board-plan-summary>span{font-size:11px;color:#6e927a}.board-plan-summary .button{font-size:10px}.board-table-wrap{overflow:auto;max-height:40dvh}.board-plan-table{border-collapse:collapse;width:100%;text-align:left;font-size:11px}.board-plan-table th{color:#91a598;font-size:10px;font-weight:400;padding:11px 10px;border-bottom:1px solid #dce7df;white-space:nowrap}.board-plan-table td{padding:14px 10px;border-bottom:1px solid #edf2ee;max-width:320px;vertical-align:middle}.board-plan-table td strong{font-size:11px;display:block;font-weight:550}.board-plan-table td small{font-size:9px;color:#99aca0;display:block;margin-top:6px;line-height:1.6}.board-plan-table td p{margin:0;font-size:10px;line-height:1.7;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#6d8c79}.board-plan-table td .button{font-size:10px;padding:6px 9px;min-height:29px;white-space:nowrap}.status-chip{font-size:9px;padding:4px 7px;border-radius:4px;background:#f1f5f2;color:#94a198;white-space:nowrap}.status-chip.done{background:#e6f5ed;color:#3c8c69}.board-editor-dialog{width:min(1240px,96vw);padding-bottom:0;max-height:94dvh;overflow:hidden}.board-editor-layout{display:grid;grid-template-columns:142px minmax(250px,1fr) 255px;gap:20px;height:min(65dvh,650px);border-top:1px solid #e5ece7;margin-top:18px;padding-top:15px}.editor-board-nav{display:flex;flex-direction:column;gap:5px;overflow:auto;padding-right:4px}.editor-board-nav button{display:flex;align-items:center;gap:7px;min-height:38px;flex-shrink:0;text-align:left;border:1px solid transparent;border-radius:5px;background:none;padding:8px 6px;font-size:10px;color:#8aa08e;line-height:1.6}.editor-board-nav button span{font-size:8px;color:#a1b7a5}.editor-board-nav button.active{color:#227a59;background:#edf7ee;border-color:#cde4d3}.editor-preview-section{display:flex;flex-direction:column;min-width:0;min-height:0}.editor-preview-title{display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#94a99a;margin:6px 0 15px}.editor-preview-title>span:first-child{font-size:10px;color:#668b73;white-space:nowrap}.editor-preview-title>span:last-child{text-align:right;font-size:8px}.editor-canvas-stage{background-color:#e6ece8;background-image:linear-gradient(45deg,#e0e8e2 25%,transparent 25%),linear-gradient(-45deg,#e0e8e2 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e0e8e2 75%),linear-gradient(-45deg,transparent 75%,#e0e8e2 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0;flex:1;min-height:150px;display:grid;place-items:center;padding:20px;overflow:hidden;border-radius:7px;border:1px solid #dce6de}.editor-canvas-stage canvas{display:block;max-width:100%;max-height:100%;width:auto;height:auto;box-shadow:0 8px 20px #1c3a2a18;cursor:move;touch-action:none}.editor-properties{overflow:auto;padding:0 7px 0 2px;scrollbar-width:thin;scrollbar-color:#d4e2d8 transparent}.editor-properties>.field-label:first-child{margin-top:2px}.editor-properties .field-label{margin-top:12px;margin-bottom:12px}.editor-properties .field-label input,.editor-properties .field-label textarea,.editor-properties .field-label select{padding:7px 8px;font-size:10px}.editor-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.editor-color-fields{display:flex;justify-content:space-between;gap:8px;margin:15px 0}.editor-color-fields label{display:flex;align-items:center;gap:5px;color:#91a391;font-size:9px}.editor-color-fields input{width:24px;height:24px;border:0;padding:0;background:none;cursor:pointer}.editor-preview-actions{display:flex;gap:7px;align-items:center;margin:11px 0 5px;flex-wrap:wrap}.editor-preview-actions>.button{font-size:9px;min-height:30px;padding:6px 9px}.editor-preview-actions>.text-button{margin-left:auto;width:auto;font-size:9px;padding:5px}.editor-preview-actions a{text-decoration:none}.editor-preview-actions a[hidden]{display:none}.editor-design-hint{font-size:9px;color:#96a998;line-height:1.8;margin:10px 0 0}.editor-footer{display:flex;justify-content:space-between;align-items:center;padding:17px 0;margin-top:16px;border-top:1px solid #e4ece6;gap:12px}.editor-footer>span{font-size:9px;color:#93a998;line-height:1.8}.editor-footer>div{display:flex;gap:8px;white-space:nowrap}.inline-warning{color:#b58142;background:#fcf5e9;border:1px solid #efe0c4;padding:8px 9px;border-radius:4px;font-size:9px;line-height:1.8;margin:12px 0}.inline-warning[hidden]{display:none}.text-link{border:0;padding:0;background:none;color:#318c68;font-size:9px}.instance-list{display:flex;flex-direction:column;gap:5px}.instance-row{width:100%;text-align:left;display:flex;align-items:center;gap:7px;padding:8px;border:1px solid #e4ece6;background:#fff;border-radius:5px;font-size:10px;min-width:0}.instance-row.active{background:#fff7eb;border-color:#edd8b3;color:#8f6a34}.instance-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.instance-row>small{font-size:8px;color:#a6b3a7}.instance-row svg{width:13px;height:13px;color:#9aaf9f}.inspector-title{margin-top:18px;display:flex;justify-content:space-between;align-items:center;gap:5px}.inspector-title>strong{font-size:11px;font-weight:550;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inspector-title>span{font-size:7px;color:#a2b3a6;white-space:nowrap}.transform-modes{display:flex;gap:3px;background:#f1f5f1;padding:3px;border-radius:5px;margin-top:12px}.transform-modes>button{flex:1;background:none;border:1px solid transparent;border-radius:4px;padding:6px;font-size:9px;color:#9aad9d}.transform-modes>button.active{background:#fff;border-color:#dce7dd;color:#46785b}.triple-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0 13px}.triple-fields label{font-size:8px;color:#9bab9d}.triple-fields input{width:100%;min-width:0;margin-top:5px;padding:6px 4px;font-size:10px;border:1px solid #dfe8df;border-radius:4px;background:white;color:#506b54}.field-caption{display:block;color:#95a798;font-size:8px;margin-top:13px}.simple-check{display:flex;align-items:center;gap:5px;font-size:9px;color:#859b89;margin-top:15px}.simple-check input{accent-color:#208863}.instance-actions{display:flex;gap:5px;margin-top:13px}.instance-actions .button{font-size:9px;min-height:28px;flex:1;padding:6px 4px}.danger-text{color:#ab7d62}.feature-sync-badge{font-size:8px;color:#318767;margin-left:6px}.feature-dialog [hidden]{display:none}.board-editor-dialog [hidden]{display:none}
@media(max-width:1250px){.feature-header-actions .button{padding:7px 8px}.feature-header-actions .button span{display:none}.board-editor-layout{grid-template-columns:110px minmax(220px,1fr) 230px;gap:14px}.board-editor-dialog{padding:18px 18px 0}.editor-preview-title{flex-direction:column;gap:5px}.editor-preview-title>span:last-child{text-align:left}.header-actions .save-status{display:none}.component-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.board-editor-layout{grid-template-columns:minmax(190px,1fr) 220px;gap:14px;height:65dvh}.editor-board-nav{grid-column:1/-1;flex-direction:row;max-height:50px;overflow-x:auto;overflow-y:hidden;padding:0;min-height:40px}.editor-board-nav button{white-space:nowrap;font-size:9px;min-height:32px}.board-editor-layout{grid-template-rows:40px 1fr}.editor-preview-section,.editor-properties{min-height:0}.editor-canvas-stage{padding:10px}.component-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.library-dialog{width:95vw}.library-footer{align-items:flex-start;flex-direction:column}.feature-dialog h2{font-size:19px}.feature-dialog h2 small{font-size:9px}.library-toolbar{flex-wrap:wrap}.project-brief{column-gap:12px;padding:4px 12px 12px}.board-plan-table{min-width:700px}.feature-header-actions{gap:2px}}
@media(max-width:580px){.board-editor-dialog{max-height:95dvh;padding:14px 12px 0}.board-editor-layout{height:70dvh;grid-template-columns:1fr;grid-template-rows:38px 230px minmax(150px,1fr);gap:10px;overflow:auto}.editor-preview-title{display:none}.editor-canvas-stage{min-height:100px}.editor-properties{padding:2px 5px;overflow:auto}.editor-preview-actions{margin-top:6px}.editor-design-hint{font-size:7px}.editor-footer{padding:10px 0;margin-top:8px}.editor-footer>.button{font-size:10px}.editor-footer>span{font-size:8px}.editor-footer>div .button{font-size:10px;padding:7px}.component-card>img{height:110px}.component-card-body>strong{font-size:11px}.component-card-bottom{padding:0 8px 8px}.component-card-body{padding:9px}.feature-dialog{padding:17px}.component-upload-dialog{width:94vw}.component-grid{gap:10px}.library-toolbar .button{font-size:10px}.library-footer>div{flex-wrap:wrap}.library-footer .button{font-size:9px}.project-brief{grid-template-columns:1fr}.project-brief-wide{grid-column:auto}.brief-actions{align-items:flex-end}.brief-actions>span{font-size:8px}.boards-dialog{padding:17px}.feature-header-actions .button{padding:6px;width:28px;min-height:31px}.header-actions .button.subtle{display:none}}
.arrangement-dialog{width:min(1180px,96vw);max-height:94dvh}.arrangement-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:24px;max-height:65dvh;overflow:auto}.arrangement-input{padding-right:12px;border-right:1px solid #e2ebe4}.arrangement-input>.field-label:first-child{margin-top:0}.arrangement-inline{display:flex;gap:8px}.arrangement-inline .button{font-size:10px;padding:7px 10px}.arrangement-counts{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.arrangement-counts .field-label{margin:8px 0}.arrangement-preferences{margin:15px 0;color:#688675;font-size:11px}.arrangement-preferences summary{cursor:pointer;padding:6px 0}.arrangement-input>.primary{margin-top:10px}.arrangement-sample-asset{margin-top:12px;text-align:left;font-size:10px;line-height:1.7}.arrangement-preview{margin-top:14px;min-height:180px;display:grid;place-items:center;background:#f4f7f4;border:1px solid #e0e9e3;border-radius:8px;overflow:hidden}.arrangement-preview:empty::after{content:'俯视方案将在这里显示';font-size:12px;color:#9aae9e}.arrangement-preview svg{width:100%;display:block}.arrangement-summary{padding:12px 14px;border-radius:6px;background:#edf6ef;color:#3a8061;font-size:12px;line-height:1.8}.arrangement-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.arrangement-choices article{border:1px solid #e2eae4;border-radius:6px;padding:12px;background:white}.arrangement-choices strong{font-size:11px;font-weight:550;display:flex;justify-content:space-between;gap:10px;line-height:1.8}.arrangement-choices strong span{color:#328060;white-space:nowrap}.arrangement-choices p{font-size:10px;color:#8b9f91;line-height:1.8;margin:7px 0}.arrangement-choices small{font-size:9px;color:#a1b0a4}.arrangement-entry{margin-bottom:17px;font-size:11px}.component-meta-button{margin-top:9px;font-size:10px}.component-card-body>.component-tags{font-size:9px;line-height:1.8;white-space:normal}.arrangement-dialog .editor-footer{margin-bottom:0;padding-bottom:0}.arrangement-result{min-width:0}.arrangement-input .panel-note,.arrangement-result .panel-note{font-size:10px;line-height:1.9;color:#91a496}
@media(max-width:850px){.arrangement-layout{grid-template-columns:230px minmax(0,1fr);gap:14px}.arrangement-choices{grid-template-columns:1fr}.arrangement-dialog .editor-footer{align-items:flex-start}.arrangement-dialog .editor-footer>div{flex-wrap:wrap}}
@media(max-width:580px){.arrangement-layout{grid-template-columns:1fr;max-height:70dvh}.arrangement-input{padding-right:0;border-right:0}.arrangement-choices{grid-template-columns:1fr 1fr}.arrangement-dialog .editor-footer>span{display:none}.arrangement-dialog .editor-footer>div{width:100%;justify-content:flex-end}}
.library-source-summary{font-size:10px;line-height:1.8;color:#759280;margin:-5px 0 17px}.component-source-link{display:block;font-size:9px;color:#3c8d70;margin-top:8px;line-height:1.7;text-decoration:none}.component-source-link:hover{text-decoration:underline}.component-dimension-note{display:block;font-size:8px;line-height:1.7;color:#96a89d;margin-top:4px}.component-card-bottom{gap:6px}.component-card-bottom .component-kind{font-size:7px;line-height:1.6;max-width:65%;white-space:normal}.library-pending{padding:22px;border:1px solid #e5d9bd;border-radius:7px;background:#fcf9f0}.library-pending h3{font-size:15px;color:#82714d;margin:0 0 12px}.library-pending p{font-size:11px;line-height:1.9;color:#9a8b69}.library-pending>a{display:block;padding:13px;margin:9px 0;background:#fff;border:1px solid #eadfc7;border-radius:5px;color:#7c795b;text-decoration:none;font-size:12px}.library-pending a:hover{color:#237e5d}.library-pending p a{color:#9d8b61;font-size:10px}

/* Direct editing in both plan and 3D previews. */
.preview-tools{background:#fff;border:1px solid #d6e5dd;border-radius:8px;padding:12px;margin:12px 0}.preview-tools-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.preview-tools-heading strong{font-size:12px}.preview-tools-heading span{font-size:10px;color:#71897d}.preview-edit-fields{display:grid;grid-template-columns:minmax(150px,2fr) repeat(3,minmax(75px,1fr));gap:10px}.preview-edit-fields .field-label{margin:12px 0}.preview-edit-fields input{min-width:0;width:100%}.preview-edit-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.preview-edit-actions .button{font-size:10px;min-height:30px;padding:6px 9px}.preview-edit-actions>span{font-size:10px;color:#7c9285;margin-left:auto}.preview-conflict{color:#ba4d40!important}.arrangement-preview{touch-action:none;outline-offset:3px}.arrangement-preview [data-plan-item]{cursor:grab}.arrangement-preview [data-plan-item]:active{cursor:grabbing}.arrangement-preview [data-plan-item]:focus{outline:none}.arrangement-preview [data-plan-item]:focus rect{stroke:#137f70;stroke-width:3}.arrangement-preview [data-plan-item] text{pointer-events:none}.viewport-component-editor{position:absolute;left:16px;bottom:54px;width:256px;max-width:calc(100% - 32px);padding:13px;background:rgba(255,255,255,.97);border:1px solid #d6e5dd;border-radius:9px;box-shadow:0 6px 24px #213b2c1a;z-index:3;pointer-events:auto}.viewport-component-editor[hidden],.preview-tools[hidden]{display:none}.viewport-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.viewport-editor-heading strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.viewport-component-editor .triple-fields{margin-bottom:10px}.viewport-component-editor .triple-fields label{font-size:10px;color:#637c6e}.viewport-component-editor .triple-fields input{font-size:12px;padding:7px 5px}.viewport-component-editor .transform-modes button{font-size:11px}.viewport-editor-footer{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:#7f9386}.viewport-editor-footer .text-link{font-size:10px}@media(max-width:760px){.preview-edit-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.preview-edit-fields .field-label:first-child{grid-column:1/-1}.preview-tools-heading{align-items:flex-start;flex-direction:column}.viewport-component-editor{bottom:42px;width:230px}}

.selection-tools{display:flex;gap:5px;margin:8px 0}.selection-tools select{min-width:0;flex:1;border:1px solid #dce7df;border-radius:5px;font-size:10px;padding:6px}.selection-tools .button{font-size:9px;padding:5px;min-height:29px;flex:1}.material-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:12px}.material-fields label{font-size:9px;color:#698473}.material-fields input{display:block;width:100%;min-width:0;border:1px solid #dce7df;margin-top:5px;height:28px;border-radius:4px}.material-fields .text-link{grid-column:1/-1;text-align:left}.multi-select-check{width:12px;height:12px;accent-color:#137f70;flex-shrink:0}

body.ps-presenting .app-header,body.ps-presenting .left-panel,body.ps-presenting .right-panel,body.ps-presenting .viewport-header,body.ps-presenting .camera-bar,body.ps-presenting .viewport-status,body.ps-presenting .viewport-component-editor,body.ps-presenting .view-cube,body.ps-presenting .dimension-tag,body.ps-presenting .scene-caption,body.ps-presenting .view-hint{display:none!important}body.ps-presenting .workspace{height:100dvh;display:block}body.ps-presenting .viewport-section{width:100vw;height:100dvh;min-height:0}body.ps-presenting .viewport{height:100%;min-height:0}

.library-categories{display:flex;gap:7px;flex-wrap:wrap;padding:2px 0 12px;border-bottom:1px solid #e4ece6}.library-category{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:7px 10px;background:#f4f7f4;border:1px solid #dfe8e0;border-radius:6px;font-size:11px;line-height:1.35;color:#6d8878;cursor:pointer}.library-category span{min-width:17px;font-size:9px;text-align:center;color:#92a599;background:#e8eee8;border-radius:8px;padding:1px 4px}.library-category.active{background:#e7f5ec;border-color:#76b394;color:#25744f}.library-category.active span{background:#cce8d7;color:#327551}.library-category:hover{border-color:#87b89b}.library-category:focus-visible{outline:2px solid #398f68;outline-offset:2px}.library-results{font-size:10px;color:#83998a;line-height:1.7;margin:10px 0 13px}.library-categories[hidden],.library-results[hidden]{display:none}@media(max-width:580px){.library-category{font-size:10px;padding:6px 8px;gap:4px}.library-categories{gap:5px}.component-grid{max-height:44dvh}}
.library-reference-links{margin-top:13px;border-top:1px solid #e7eee8;padding-top:12px}.library-reference-links>summary{font-size:10px;color:#8a9d90;cursor:pointer;padding:4px 0}.library-reference-links .library-pending{margin-top:10px;padding:15px}.library-reference-links .library-pending h3{font-size:12px}.library-reference-links .library-pending p{font-size:10px}
