@import url('./drawing-track-product-picker.css');
.dq-workspace{color:#1d1d1f;--dq-line:#e8e8ed;--dq-muted:#6e6e73;--dq-accent:#0071e3;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}.dq-workspace *{box-sizing:border-box}.dq-workspace svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.dq-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:23px}.dq-eyebrow{color:#6e6e73;font-size:12px;letter-spacing:2px;margin-bottom:9px}.dq-heading h1{font-size:28px;font-weight:600;letter-spacing:-.6px}.dq-heading p{color:#6e6e73;font-size:12px;line-height:1.8;margin-top:9px}.dq-heading-actions{display:flex;align-items:center;gap:9px}.dq-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:12px;line-height:1.5;min-height:35px;padding:8px 11px;border:1px solid #d2d2d7;border-radius:8px;background:#fff;color:#6e6e73;white-space:nowrap;cursor:pointer}.dq-button:hover{background:#f5f5f7;border-color:#d2d2d7}.dq-button:disabled{opacity:.5;cursor:default}.dq-primary{background:#0071e3;color:#fff;border-color:#0071e3;font-weight:500}.dq-primary:hover{background:#0077ed;border-color:#0077ed}.dq-library select{font-size:12px;max-width:235px;padding:8px 10px;min-height:35px;border:1px solid #d2d2d7;border-radius:8px;background:#fff;color:#6e6e73}.dq-plan-fields{display:grid;grid-template-columns:minmax(200px,1.4fr) minmax(180px,1fr) auto;gap:17px;align-items:center;border:1px solid var(--dq-line);background:#fff;padding:17px 20px;border-radius:10px;margin-bottom:19px}.dq-plan-fields label{display:grid;gap:7px;font-size:12px;color:#6e6e73}.dq-plan-fields input,.dq-plan-fields select{width:100%;height:35px;border:1px solid #d2d2d7;border-radius:7px;padding:7px 10px;background:#fff;font-size:12px;color:#1d1d1f}.dq-plan-fields input::placeholder{color:#86868b}.dq-save-state{font-size:12px;color:#6e6e73;white-space:nowrap;margin-top:15px}.dq-save-state.is-dirty{color:#a86712}.dq-columns{display:grid;grid-template-columns:220px minmax(320px,1fr) 258px;gap:16px;align-items:start}.dq-panel{border:1px solid var(--dq-line);border-radius:12px;background:#fff;min-width:0;overflow:hidden;box-shadow:0 2px 8px #1d1d1f05}.dq-panel-heading{padding:18px 16px 15px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #e8e8ed}.dq-panel-heading h2,.dq-canvas-title h2{font-size:13px;font-weight:500}.dq-panel-heading>span{font-size:12px;color:#6e6e73}.dq-catalog-filters{padding:14px 13px 0}.dq-search{position:relative;display:block}.dq-search svg{position:absolute;left:10px;top:10px;width:14px;height:14px;color:#6e6e73}.dq-search input{font-size:12px;height:35px;width:100%;border:1px solid #d2d2d7;border-radius:8px;padding:8px 8px 8px 31px;color:#1d1d1f}.dq-search input::placeholder{color:#86868b}.dq-filter-row{display:flex;gap:7px;margin-top:9px}.dq-filter-row select{font-size:12px;padding:7px 5px;background:#f5f5f7;border:1px solid #e8e8ed;border-radius:7px;min-width:0;flex:1;color:#6e6e73}.dq-catalog-tip{font-size:12px;line-height:1.7;color:#6e6e73;margin:10px 13px 7px}.dq-catalog{padding:3px 10px 12px;display:grid;gap:7px;max-height:560px;overflow:auto;overscroll-behavior:contain}.dq-product{display:flex;align-items:center;gap:9px;padding:9px 7px;background:#fff;border:1px solid #e8e8ed;border-radius:8px;width:100%;text-align:left;cursor:grab;color:#1d1d1f;position:relative}.dq-product:hover{background:#f5f5f7;border-color:#d2d2d7}.dq-product.is-armed{background:#eaf3ff;border-color:#0071e3}.dq-product.is-armed{box-shadow:inset 3px 0 #0071e3}.dq-product:disabled{cursor:default;opacity:.58}.dq-product-image{width:45px;height:45px;background:#f5f5f7;border-radius:7px;display:flex;align-items:center;justify-content:center;flex:none}.dq-product-image img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.dq-product-copy{display:grid;gap:5px;min-width:0;flex:1}.dq-product-copy strong{font-size:12px;line-height:1.5;font-weight:500;overflow-wrap:anywhere}.dq-product-copy small{font-size:12px;color:#6e6e73;line-height:1.5}.dq-product-copy b{font-size:12px;font-weight:400;color:#6e6e73}.dq-product-add{font-size:16px;color:#6e6e73;padding-right:2px}.dq-canvas-toolbar{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:16px 15px;border-bottom:1px solid #e8e8ed;min-height:69px}.dq-canvas-title small{display:block;margin-top:6px;font-size:12px;color:#6e6e73}.dq-upload{position:relative}.dq-upload input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.dq-upload:has(input:disabled){opacity:.5;pointer-events:none}.dq-placement-mode{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;background:#eaf3ff;border-bottom:1px solid #e8e8ed;font-size:12px;color:#6e6e73;line-height:1.8}.dq-placement-mode>span{display:flex;gap:6px;align-items:center;min-width:0}.dq-placement-mode svg{width:14px;height:14px}.dq-placement-mode .dq-button{background:none;border:0;padding:5px 4px;min-height:25px;font-size:12px;flex-shrink:0}.dq-placement-mode[hidden]{display:none}.dq-viewport{height:520px;overflow:auto;background-color:#f5f5f7;background-image:radial-gradient(#d2d2d7 1px,transparent 1px);background-size:16px 16px;position:relative;overscroll-behavior:contain}.dq-viewport.is-drop-target{box-shadow:inset 0 0 0 3px #0071e3;background-color:#eaf3ff}.dq-plane-holder{width:max-content;min-width:100%;height:max-content;min-height:100%;display:grid;place-items:center;padding:24px}.dq-plane{position:relative;background:white;box-shadow:0 3px 20px #1d1d1f12;flex-shrink:0;isolation:isolate}.dq-floorplan{position:absolute;inset:0;height:100%;width:100%;object-fit:fill;pointer-events:none;user-select:none}.dq-markers{position:absolute;inset:0;pointer-events:none}.dq-marker{position:absolute;width:35px;height:35px;background:#fffffff0;border:1px solid #d2d2d7;border-radius:8px;transform:translate(-50%,-50%);padding:3px;cursor:move;pointer-events:auto;touch-action:none;user-select:none;box-shadow:0 2px 5px #1d1d1f12;z-index:1}.dq-marker:hover,.dq-marker.is-selected{border:2px solid #0071e3;padding:2px;z-index:2;box-shadow:0 0 0 3px #0071e326}.dq-marker img{width:100%;height:100%;object-fit:contain;pointer-events:none;user-select:none}.dq-marker>span{position:absolute;right:-6px;top:-7px;min-width:16px;height:16px;border:1px solid #fff;background:#0071e3;color:#fff;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:8px;font-weight:500;padding:0 3px;pointer-events:none}.dq-marker.is-unavailable{border-color:#a86712}.dq-marker.is-unavailable>span{background:#a86712}.dq-canvas-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;border-top:1px solid #e8e8ed}.dq-canvas-footer>span{font-size:12px;line-height:1.7;color:#6e6e73;max-width:230px}.dq-zoom-controls{display:flex;gap:5px;align-items:center;flex-shrink:0}.dq-zoom-controls .dq-button{padding:5px;min-height:27px}.dq-zoom-controls svg{width:14px;height:14px}.dq-zoom-controls>span{font-size:12px;color:#6e6e73;min-width:35px;text-align:center}.dq-upload-empty{text-align:center;max-width:290px;padding:20px;color:#6e6e73}.dq-upload-empty>svg{width:47px;height:47px;stroke-width:1;margin-bottom:17px;color:#6e6e73}.dq-upload-empty h3{font-size:15px;font-weight:400;color:#1d1d1f;line-height:1.6}.dq-upload-empty p{font-size:12px;line-height:1.9;color:#6e6e73;margin:13px 0 21px}.dq-marker-editor{display:flex;align-items:center;gap:7px;padding:13px 14px;border-top:1px solid #e8e8ed;background:#f5f5f7}.dq-marker-editor[hidden]{display:none}.dq-marker-editor>div{flex:1;min-width:0}.dq-marker-editor strong{font-size:12px;font-weight:500;display:block;line-height:1.6;overflow-wrap:anywhere}.dq-marker-editor small{font-size:12px;color:#6e6e73;display:block;margin-top:4px}.dq-marker-editor .dq-button{min-height:29px;font-size:12px;padding:6px 8px}.dq-marker-editor svg{width:13px;height:13px}.dq-summary-items{padding:7px 13px;max-height:400px;overflow:auto}.dq-summary-item{display:flex;align-items:center;gap:9px;padding:14px 0;border-bottom:1px solid #e8e8ed}.dq-summary-item:last-child{border-bottom:0}.dq-summary-item>img{width:33px;height:33px;object-fit:contain;flex:none}.dq-summary-item>div{flex:1;min-width:0;display:grid;gap:5px}.dq-summary-item strong{font-size:12px;font-weight:500;line-height:1.6;overflow-wrap:anywhere}.dq-summary-item small{font-size:12px;color:#6e6e73}.dq-summary-item span{font-size:12px;line-height:1.6;color:#6e6e73}.dq-summary-item>b{font-size:12px;font-weight:400;color:#6e6e73;white-space:nowrap}.dq-summary-item>button{padding:1px;border:0;background:none;color:#6e6e73;flex:none}.dq-summary-item svg{width:13px;height:13px}.dq-summary-item.is-unavailable span{color:#a86712}.dq-summary-footer{padding:18px 16px 17px;background:#f5f5f7;border-top:1px solid #e8e8ed}.dq-total{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.dq-total>span{font-size:12px;color:#6e6e73}.dq-total strong{font-size:24px;font-weight:600;color:#1d1d1f;letter-spacing:-.6px}.dq-generation-actions{display:grid;gap:8px}.dq-generation-actions .dq-button{width:100%;font-size:12px;min-height:38px}.dq-quote-note{font-size:12px;color:#6e6e73;line-height:1.9;margin-top:15px}.dq-locked-note{font-size:12px;color:#a86712;background:#fff8ed;padding:11px;line-height:1.8;border-radius:7px}.dq-empty-small{padding:28px 10px;color:#6e6e73;line-height:1.9;font-size:12px;text-align:center}.dq-error{color:#b42318;background:#fff3f2;border:1px solid #f3d7d4;border-radius:8px;padding:12px 15px;font-size:12px;line-height:1.8;margin-bottom:17px}.dq-error[hidden]{display:none}.dq-operation{color:#6e6e73;font-size:12px;line-height:1.8;margin-top:9px}.dq-operation:empty{display:none}.dq-mobile-tabs{display:none}.dq-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.dq-workspace input:focus,.dq-workspace select:focus{outline:1px solid #0071e3;outline-offset:1px}.dq-workspace[aria-busy="true"] .dq-marker{pointer-events:none}
@media(min-width:1500px){.dq-columns{grid-template-columns:250px minmax(400px,1fr) 280px}.dq-viewport{height:590px}.dq-catalog{max-height:620px}}
.dq-update-note{font-size:12px;color:#6e6e73;line-height:1.8;grid-column:1/-1}
.dq-catalog-panel .dq-panel-heading{flex-wrap:wrap;gap:7px}.dq-catalog-panel .dq-panel-heading>span{font-size:12px;white-space:nowrap}.dq-model-card{cursor:pointer;padding-top:12px;padding-bottom:12px}.dq-model-card.has-armed-sku{border-color:#0071e3;background:#eaf3ff}.dq-model-card .dq-product-image{width:52px;height:62px}.dq-model-chevron{font-size:23px;color:#6e6e73;font-weight:300;margin-left:auto}.dq-model-navigation{display:grid;gap:7px;padding:12px 14px 14px;border-top:1px solid #e8e8ed;border-bottom:1px solid #e8e8ed;margin:9px 0;background:#f5f5f7}.dq-model-navigation[hidden],.dq-catalog-armed[hidden]{display:none}.dq-model-navigation button{background:none;border:0;padding:0;text-align:left;color:#6e6e73;font-size:12px;width:max-content;cursor:pointer}.dq-model-navigation button:hover{color:#0071e3}.dq-model-navigation strong{font-size:12px;line-height:1.6;font-weight:500;color:#1d1d1f;overflow-wrap:anywhere}.dq-model-navigation small{font-size:12px;line-height:1.7;color:#6e6e73}.dq-catalog-armed{display:grid;gap:5px;padding:10px 13px;margin:11px 11px 0;border:1px solid #d2d2d7;border-radius:8px;background:#eaf3ff}.dq-catalog-armed>span{font-size:12px;color:#6e6e73}.dq-catalog-armed strong{font-size:12px;line-height:1.6;font-weight:500;color:#1d1d1f;overflow-wrap:anywhere}.dq-catalog-armed small{font-size:12px;line-height:1.7;color:#6e6e73;overflow-wrap:anywhere}.dq-sku .dq-product-copy{gap:5px}.dq-sku .dq-product-copy strong{font-size:12px;color:#1d1d1f}.dq-sku-reference{overflow-wrap:anywhere}.dq-placement-mode>span{overflow-wrap:anywhere}.dq-model-card:focus-visible,.dq-sku:focus-visible{outline:2px solid #0071e3;outline-offset:1px}@media(max-width:700px){.dq-catalog-panel .dq-panel-heading>span{font-size:12px}.dq-model-navigation strong{font-size:14px}.dq-model-navigation button{font-size:12px}.dq-model-navigation small{font-size:12px}.dq-catalog-armed{padding:11px 13px}.dq-catalog-armed strong{font-size:12px}.dq-catalog-armed small{font-size:12px}.dq-model-card .dq-product-image{width:59px;height:65px}.dq-sku .dq-product-copy strong{font-size:12px}.dq-model-chevron{font-size:27px}}
@media(max-width:1150px){.dq-columns{grid-template-columns:185px minmax(260px,1fr) 225px;gap:11px}.dq-product-image{width:34px;height:38px}.dq-product{gap:7px;padding:8px 6px}.dq-canvas-footer>span{display:none}.dq-total strong{font-size:19px}.dq-summary-item{gap:6px}.dq-summary-item>img{width:26px}.dq-catalog-filters{padding-left:10px;padding-right:10px}.dq-panel-heading{padding-left:13px;padding-right:13px}.dq-canvas-toolbar{padding-left:12px;padding-right:12px}.dq-canvas-toolbar .dq-button{font-size:12px;padding:7px 8px}.dq-canvas-title h2{font-size:12px}.dq-zoom-controls{margin-left:auto}}
@media(max-width:1000px){.dq-columns{display:block}.dq-mobile-tabs{display:flex;margin-bottom:13px;background:#f5f5f7;border-radius:8px;padding:4px;gap:4px}.dq-mobile-tabs button{flex:1;border:0;background:none;border-radius:7px;padding:9px;font-size:12px;color:#6e6e73}.dq-mobile-tabs button.active{background:white;color:#6e6e73;box-shadow:0 1px 4px #1d1d1f12}.dq-mobile-tabs span{font-size:12px;color:#6e6e73;margin-left:4px}.dq-columns[data-dq-mobile-panel="canvas"]>.dq-catalog-panel,.dq-columns[data-dq-mobile-panel="canvas"]>.dq-summary-panel,.dq-columns[data-dq-mobile-panel="catalog"]>.dq-canvas-panel,.dq-columns[data-dq-mobile-panel="catalog"]>.dq-summary-panel,.dq-columns[data-dq-mobile-panel="summary"]>.dq-catalog-panel,.dq-columns[data-dq-mobile-panel="summary"]>.dq-canvas-panel{display:none}.dq-catalog{grid-template-columns:repeat(2,minmax(0,1fr));max-height:550px;padding:8px 13px 15px;gap:10px}.dq-product-image{width:55px;height:55px}.dq-catalog-filters{padding:16px}.dq-catalog-tip{margin-left:16px}.dq-product-copy strong{font-size:12px}.dq-product-copy small{font-size:12px}.dq-product-copy b{font-size:12px}.dq-summary-items{max-height:550px;padding:7px 20px}.dq-summary-item>img{width:43px;height:43px}.dq-summary-item strong{font-size:12px}.dq-summary-item small,.dq-summary-item span{font-size:12px}.dq-summary-item>b{font-size:14px}.dq-summary-item{gap:13px;padding:17px 0}.dq-summary-footer{padding:22px}.dq-generation-actions{grid-template-columns:1fr 1fr}.dq-locked-note,.dq-generation-actions>.dq-button:last-child:nth-child(3){grid-column:1/-1}.dq-quote-note{font-size:12px}.dq-total>span{font-size:12px}.dq-total strong{font-size:26px}.dq-viewport{height:490px}.dq-plan-fields{grid-template-columns:1.2fr 1fr auto}}
@media(max-width:700px){.dq-heading{align-items:flex-start;flex-wrap:wrap;gap:14px;margin-bottom:18px}.dq-heading h1{font-size:24px}.dq-heading p{font-size:12px}.dq-eyebrow{font-size:12px}.dq-heading-actions{width:100%;justify-content:space-between}.dq-library{min-width:0;flex:1;text-align:right}.dq-library select{max-width:210px;width:100%;font-size:12px}.dq-heading-actions .dq-button{font-size:12px}.dq-plan-fields{grid-template-columns:1fr;padding:15px;gap:13px;margin-bottom:15px}.dq-plan-fields input,.dq-plan-fields select{font-size:13px;height:39px}.dq-plan-fields label{font-size:12px}.dq-save-state{margin:0;font-size:12px}.dq-mobile-tabs button{font-size:12px}.dq-canvas-toolbar{padding:13px;min-height:66px}.dq-viewport{height:430px;max-height:60vh;min-height:300px}.dq-canvas-title h2{font-size:12px}.dq-canvas-title small{font-size:12px}.dq-canvas-toolbar .dq-button{font-size:12px}.dq-placement-mode{font-size:12px}.dq-canvas-footer{padding:11px 13px}.dq-marker{width:33px;height:33px}.dq-catalog{grid-template-columns:1fr;max-height:65vh}.dq-product{padding:12px;gap:13px}.dq-product-image{width:52px;height:52px}.dq-product-copy strong{font-size:12px}.dq-product-copy small{font-size:12px}.dq-product-copy b{font-size:12px}.dq-product-add{font-size:21px}.dq-summary-items{padding:3px 15px}.dq-summary-item{gap:9px}.dq-summary-item>img{width:37px;height:37px}.dq-summary-item strong{font-size:12px}.dq-summary-item small,.dq-summary-item span{font-size:12px}.dq-summary-item>b{font-size:13px}.dq-summary-footer{padding:18px}.dq-generation-actions{grid-template-columns:1fr}.dq-generation-actions .dq-button{font-size:12px;min-height:42px}.dq-quote-note{font-size:12px}.dq-marker-editor strong{font-size:12px}.dq-marker-editor .dq-button{min-height:33px;font-size:12px}.dq-error{font-size:12px}.dq-operation{font-size:12px}.dq-workspace .dq-upload-empty{padding:20px 10px}}
/* Drawing editor controls use neutral surfaces and a single blue action accent. */
.dq-heading{margin-bottom:16px}.dq-plan-fields{padding:12px 16px;margin-bottom:14px}.dq-save-state{margin-top:14px}.dq-columns{grid-template-columns:218px minmax(300px,1fr) 270px;gap:12px}.dq-design-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:9px 10px;margin-bottom:13px;border:1px solid var(--dq-line);border-radius:10px;background:#fff;position:relative;z-index:5}.dq-tool-group{display:flex;align-items:center;gap:4px;padding-right:8px;border-right:1px solid #e8e8ed;min-height:36px}.dq-tool-group:last-child{border-right:0;padding-right:0}.dq-view-tools{margin-left:auto}.dq-design-toolbar .dq-button{font-size:12px;min-height:32px;padding:6px 8px}.dq-tool{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:7px 8px;min-height:32px;border:1px solid transparent;border-radius:8px;background:#fff;color:#6e6e73;cursor:pointer;font-size:12px;white-space:nowrap}.dq-tool:hover{background:#f5f5f7;border-color:#e8e8ed;color:#1d1d1f}.dq-tool.active{background:#eaf3ff;border-color:#0071e326;color:#0071e3}.dq-tool:disabled{opacity:.45;cursor:default}.dq-tool svg,.dq-design-toolbar svg{width:15px;height:15px}.dq-tool-menu{position:relative}.dq-tool-menu summary{display:flex;align-items:center;gap:5px;list-style:none;cursor:pointer;color:#6e6e73;font-size:12px;padding:8px;border-radius:8px;white-space:nowrap}.dq-tool-menu summary::-webkit-details-marker{display:none}.dq-tool-menu[open] summary{background:#eaf3ff;color:#6e6e73}.dq-tool-menu>div{position:absolute;left:0;top:calc(100% + 8px);display:grid;min-width:135px;padding:7px;gap:4px;background:#fff;box-shadow:0 8px 28px #1d1d1f18;border:1px solid #d2d2d7;border-radius:10px;z-index:30}.dq-tool-menu>div .dq-tool,.dq-tool-menu>div .dq-button{justify-content:flex-start;width:100%;border:0}.dq-tool-color{display:flex;align-items:center;justify-content:center}.dq-tool-color input{width:27px;height:27px;padding:2px;border:1px solid #d2d2d7;border-radius:8px;background:#fff;cursor:pointer}.dq-design-toolbar select{font-size:12px;padding:6px 4px;border:1px solid #e8e8ed;border-radius:8px;max-width:75px;color:#6e6e73;background:#fff}.dq-viewport{height:620px;max-height:76vh;min-height:380px;touch-action:none}.dq-catalog{max-height:690px}.dq-workspace[data-dq-tool="pan"] .dq-viewport{cursor:grab}.dq-workspace[data-dq-tool="pan"] .dq-viewport:active{cursor:grabbing}.dq-workspace[data-dq-tool="place"] .dq-plane,.dq-workspace[data-dq-tool="text"] .dq-plane,.dq-workspace[data-dq-tool="line"] .dq-plane,.dq-workspace[data-dq-tool="arrow"] .dq-plane,.dq-workspace[data-dq-tool="rectangle"] .dq-plane,.dq-workspace[data-dq-tool="ellipse"] .dq-plane,.dq-workspace[data-dq-tool="pen"] .dq-plane{cursor:crosshair}.dq-marker{width:calc(var(--dq-marker-size,40px) * var(--dq-scale,1));height:calc(var(--dq-marker-size,40px) * var(--dq-scale,1));border-radius:10px;min-width:12px;min-height:12px;padding:2px}.dq-marker:hover,.dq-marker.is-selected{padding:1px}.dq-marker.is-locked{cursor:default}.dq-marker-symbol{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-size:clamp(8px,calc(20px * var(--dq-scale,1)),24px);font-weight:500;color:#0071e3;background:#eaf3ff;border:1px solid #0071e3;border-radius:50%}.dq-marker>span{font-size:8px;min-width:15px;height:15px;right:-7px;top:-8px}.dq-marker-label{position:absolute;display:block;top:calc(100% + 5px);left:50%;transform:translateX(-50%);font-size:9px;line-height:1.4;white-space:nowrap;background:#ffffffe0;padding:2px 4px;color:#1d1d1f;border-radius:2px;pointer-events:none;max-width:170px;overflow:hidden;text-overflow:ellipsis}.dq-marker-lock{position:absolute;left:-5px;bottom:-5px;width:10px;height:10px;background:#a86712;color:#fff;font-size:9px;font-style:normal;border-radius:2px;line-height:10px;pointer-events:none}.dq-workspace svg.dq-annotations{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.dq-annotation{pointer-events:all;cursor:move;outline:none}.dq-annotation.is-locked{cursor:default}.dq-annotation text{user-select:none}.dq-workspace[data-dq-tool="pan"] .dq-marker,.dq-workspace[data-dq-tool="pan"] .dq-annotation{cursor:grab}.dq-workspace:not([data-dq-tool="select"]) .dq-annotation,.dq-workspace:not([data-dq-tool="select"]) .dq-marker{pointer-events:none}.dq-marquee{position:absolute;border:1px solid #0071e3;background:#0071e326;pointer-events:none;z-index:8}.dq-marquee[hidden]{display:none}.dq-property-panel{padding:16px 15px;border-bottom:1px solid #e8e8ed;background:#f5f5f7}.dq-property-empty{font-size:12px;line-height:1.9;color:#6e6e73;padding:4px 0}.dq-property-heading{display:grid;gap:7px;margin-bottom:13px}.dq-property-heading strong{font-size:12px;font-weight:500;color:#1d1d1f;line-height:1.7;overflow-wrap:anywhere}.dq-property-heading small{font-size:12px;line-height:1.7;color:#6e6e73}.dq-property-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:11px 9px}.dq-property-grid label{display:grid;gap:6px;font-size:12px;color:#6e6e73;min-width:0}.dq-property-grid input,.dq-property-grid select,.dq-property-grid textarea,.dq-room-manager input{font-family:inherit;font-size:12px;border:1px solid #d2d2d7;border-radius:7px;padding:7px 8px;min-width:0;width:100%;background:#fff;color:#1d1d1f;outline-offset:1px}.dq-property-grid textarea{resize:vertical;line-height:1.7;min-height:58px}.dq-property-grid input[type="color"]{padding:2px 4px;height:31px}.dq-property-full{grid-column:1/-1}.dq-property-grid .dq-checkbox{display:flex;flex-direction:row;align-items:center;gap:6px;font-size:12px}.dq-property-grid .dq-checkbox input{width:13px;height:13px;accent-color:#0071e3;margin:0;padding:0}.dq-selection-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:13px}.dq-selection-actions .dq-button{font-size:12px;min-height:29px;padding:6px 8px}.dq-property-hint{font-size:12px;line-height:1.8;color:#6e6e73;margin-top:11px}.dq-settings{border-bottom:1px solid #e8e8ed;font-size:12px;color:#6e6e73}.dq-settings>summary{padding:13px 15px;cursor:pointer;list-style:none;display:flex;align-items:center;gap:6px;user-select:none}.dq-settings>summary::-webkit-details-marker{display:none}.dq-settings>summary:after{content:'＋';margin-left:auto;color:#6e6e73}.dq-settings[open]>summary:after{content:'－'}.dq-settings svg{width:14px;height:14px}.dq-settings>[data-dq-settings]{padding:0 15px 16px}.dq-room-manager{margin-top:17px;border-top:1px solid #e8e8ed;padding-top:13px;display:grid;gap:8px}.dq-room-manager strong{font-size:12px;font-weight:500;color:#6e6e73}.dq-room-manager>div{display:flex;align-items:center;gap:6px}.dq-room-manager button{flex-shrink:0;font-size:12px;border:1px solid #d2d2d7;background:#fff;color:#6e6e73;border-radius:7px;min-height:28px;min-width:27px;cursor:pointer}.dq-room-manager input{font-size:12px;padding:6px}.dq-room-summary{padding:12px 15px;border-bottom:1px solid #e8e8ed;display:grid;gap:6px}.dq-room-summary:empty{display:none}.dq-room-summary>strong{font-size:12px;font-weight:500;color:#6e6e73;margin-bottom:3px}.dq-room-summary>button{display:flex;justify-content:space-between;gap:10px;border:0;border-radius:7px;background:#f5f5f7;padding:7px 9px;font-size:12px;color:#6e6e73;text-align:left;cursor:pointer}.dq-room-summary>button:hover{background:#eaf3ff}.dq-room-summary>button>span{color:#6e6e73}.dq-summary-items{max-height:310px}.dq-legend{padding:12px 14px;border-top:1px solid #e8e8ed;background:#fff}.dq-legend[hidden]{display:none}.dq-legend>strong{font-size:12px;font-weight:500;color:#6e6e73}.dq-legend>div{display:flex;flex-wrap:wrap;gap:8px 13px;margin-top:9px;max-height:110px;overflow:auto}.dq-legend span{font-size:8px;line-height:1.8;color:#6e6e73}.dq-legend span>b{display:inline-block;min-width:21px;color:#6e6e73;font-weight:500}.dq-export-controls{display:grid;gap:7px;border-top:1px solid #e8e8ed;margin-top:14px;padding-top:13px}.dq-export-controls>label{display:grid;gap:6px;font-size:12px;color:#6e6e73;margin-bottom:3px}.dq-export-controls select{min-width:0;width:100%;border:1px solid #d2d2d7;border-radius:7px;background:#fff;padding:7px 8px;color:#6e6e73;font-size:12px}.dq-export-controls .dq-button{font-size:12px;min-height:33px}.dq-workspace[aria-busy="true"] [data-dq-object]{pointer-events:none}.dq-workspace button:focus-visible,.dq-workspace summary:focus-visible{outline:2px solid #0071e3;outline-offset:2px}.dq-hide-catalog .dq-columns{grid-template-columns:minmax(300px,1fr) 270px}.dq-hide-catalog .dq-catalog-panel{display:none}.dq-hide-summary .dq-columns{grid-template-columns:218px minmax(300px,1fr)}.dq-hide-summary .dq-summary-panel{display:none}.dq-hide-catalog.dq-hide-summary .dq-columns{grid-template-columns:1fr}.dq-focus{position:fixed;inset:0;width:100vw;height:100vh;padding:14px 18px;background:#f5f5f7;z-index:5000;overflow:auto}.dq-focus .dq-heading,.dq-focus .dq-plan-fields,.dq-focus .dq-catalog-panel,.dq-focus .dq-summary-panel{display:none}.dq-focus .dq-design-toolbar{margin-bottom:9px}.dq-focus .dq-columns{grid-template-columns:1fr}.dq-focus .dq-viewport{height:calc(100vh - 220px);max-height:none;min-height:300px}.dq-focus .dq-legend{max-height:105px}.dq-focus .dq-canvas-toolbar{padding:10px 15px;min-height:50px}.dq-focus .dq-canvas-footer{padding:8px 14px}
@media(min-width:1500px){.dq-columns{grid-template-columns:248px minmax(400px,1fr) 290px}.dq-viewport{height:690px}.dq-catalog{max-height:740px}.dq-hide-catalog .dq-columns{grid-template-columns:1fr 290px}.dq-hide-summary .dq-columns{grid-template-columns:248px 1fr}.dq-hide-catalog.dq-hide-summary .dq-columns,.dq-focus .dq-columns{grid-template-columns:1fr}}
@media(max-width:1250px){.dq-columns{grid-template-columns:190px minmax(280px,1fr) 250px;gap:9px}.dq-design-toolbar{gap:5px}.dq-tool-group{padding-right:5px;gap:2px}.dq-tool,.dq-design-toolbar .dq-button{font-size:12px;padding:6px}.dq-view-tools{margin-left:0}.dq-hide-catalog .dq-columns{grid-template-columns:1fr 250px}.dq-hide-summary .dq-columns{grid-template-columns:190px 1fr}.dq-hide-catalog.dq-hide-summary .dq-columns,.dq-focus .dq-columns{grid-template-columns:1fr}.dq-property-panel{padding:13px 12px}.dq-property-grid{gap:9px 6px}}
@media(max-width:1000px){.dq-columns,.dq-hide-catalog .dq-columns,.dq-hide-summary .dq-columns,.dq-hide-catalog.dq-hide-summary .dq-columns{display:block}.dq-hide-catalog .dq-columns[data-dq-mobile-panel="catalog"] .dq-catalog-panel,.dq-hide-summary .dq-columns[data-dq-mobile-panel="summary"] .dq-summary-panel{display:block}.dq-viewport{height:560px;max-height:65vh;min-height:340px}.dq-design-toolbar{margin-bottom:11px}.dq-view-tools [data-dq-action="toggle-catalog"],.dq-view-tools [data-dq-action="toggle-summary"]{display:none}.dq-property-heading strong{font-size:13px}.dq-property-grid label{font-size:12px}.dq-property-grid input,.dq-property-grid select,.dq-property-grid textarea{font-size:12px}.dq-property-panel{padding:18px}.dq-property-empty{font-size:12px}.dq-selection-actions .dq-button{font-size:12px;padding:8px 11px}.dq-settings>summary{font-size:12px;padding:15px 18px}.dq-settings>[data-dq-settings]{padding:0 18px 18px}.dq-room-manager input{font-size:12px}.dq-room-summary>strong,.dq-room-summary>button{font-size:12px}.dq-export-controls>label,.dq-export-controls select{font-size:12px}.dq-export-controls .dq-button{font-size:12px}.dq-focus .dq-mobile-tabs{display:none}.dq-focus .dq-viewport{height:calc(100vh - 250px);max-height:none}.dq-focus .dq-summary-panel,.dq-focus .dq-catalog-panel{display:none!important}}
@media(max-width:700px){.dq-design-toolbar{gap:6px;padding:7px}.dq-tool-group{border-right:0;padding-right:0}.dq-tool,.dq-design-toolbar .dq-button{font-size:12px;min-height:32px;padding:6px}.dq-tool svg,.dq-design-toolbar svg{width:14px;height:14px}.dq-tool-menu summary{padding:7px 5px;font-size:12px}.dq-tool-menu>div{min-width:135px}.dq-tool-color input{width:25px;height:25px}.dq-design-toolbar select{font-size:12px;max-width:65px}.dq-view-tools{margin-left:auto}.dq-view-tools [data-dq-action="save"]{display:none}.dq-viewport{height:480px;max-height:60vh;min-height:300px}.dq-property-grid input,.dq-property-grid select,.dq-property-grid textarea{font-size:12px}.dq-property-grid{gap:12px}.dq-legend span{font-size:9px}.dq-legend>strong{font-size:12px}.dq-canvas-footer>span{display:none}.dq-focus{padding:8px}.dq-focus .dq-viewport{height:calc(100vh - 290px)}.dq-focus .dq-legend{display:none}}

.dq-resize-handle{cursor:nwse-resize;pointer-events:all;stroke:#0071e3}.dq-resize-handle:hover{fill:#eaf3ff}.dq-heading-actions{flex-wrap:wrap}.dq-property-grid .dq-property-hint{margin-top:0;font-size:12px;line-height:1.7}

.dq-model-card[draggable="true"] .dq-product-image{cursor:grab}.dq-model-card[draggable="true"]:active .dq-product-image{cursor:grabbing}.dq-product-copy .dq-drag-spec{color:#1d1d1f;font-size:12px;line-height:1.5}.dq-drag-preview{position:fixed;left:-1000px;top:-1000px;width:44px;height:44px;padding:3px;border:2px solid #0071e3;border-radius:6px;background:#fff;pointer-events:none}.dq-drag-preview .dq-product-image{display:block;width:100%;height:100%;padding:0}.dq-drag-preview img{width:100%;height:100%;object-fit:contain}

.dq-delivery-preview{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue","PingFang SC",sans-serif;padding:0;border:1px solid #d2d2d7;border-radius:10px;width:min(1000px,94vw);max-height:92vh;color:#1d1d1f;background:#f5f5f7;box-shadow:0 20px 80px #1d1d1f24}.dq-delivery-preview::backdrop{background:#00000066}.dq-delivery-preview header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;background:#fff;border-bottom:1px solid #e8e8ed}.dq-delivery-preview h2{font-size:18px;margin:0 0 6px}.dq-delivery-preview header p{font-size:12px;margin:0;color:#6e6e73;overflow-wrap:anywhere}.dq-delivery-preview header button{border:1px solid #d2d2d7;border-radius:10px;cursor:pointer;background:#fff;color:#1d1d1f;width:36px;height:36px;flex-shrink:0}.dq-delivery-image{padding:18px;max-height:66vh;overflow:auto;text-align:center}.dq-delivery-image img{display:block;width:100%;height:auto;max-width:920px;margin:auto;background:#fff;box-shadow:0 2px 12px #1d1d1f12}.dq-delivery-preview footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 22px;background:#fff;border-top:1px solid #e8e8ed}.dq-delivery-preview footer span{font-size:12px;line-height:1.7;color:#6e6e73}.dq-delivery-preview footer a{display:inline-flex;text-decoration:none;white-space:nowrap;padding:10px 18px;border-radius:10px;color:#fff;background:#0071e3;font-size:13px}.dq-delivery-error{color:#b42318;font-size:12px;padding:0 22px 14px;margin:0}.dq-delivery-preview button:focus-visible,.dq-delivery-preview a:focus-visible{outline:2px solid #0071e3;outline-offset:3px}@media(max-width:700px){.dq-delivery-preview header,.dq-delivery-preview footer{padding:13px}.dq-delivery-preview footer{align-items:flex-start}.dq-delivery-image{padding:10px}}

/* Readable controls in the design workspace, including the narrow property column. */
.dq-workspace .dq-tool,.dq-workspace .dq-design-toolbar .dq-button,.dq-tool-menu summary{font-size:12px;color:#1d1d1f}.dq-property-grid label,.dq-property-empty,.dq-settings>summary,.dq-summary-item small,.dq-summary-item span{font-size:12px;color:#6e6e73}.dq-property-grid input,.dq-property-grid select,.dq-property-grid textarea{font-size:12px;color:#1d1d1f}.dq-product-copy strong,.dq-model-card .dq-product-copy strong,.dq-summary-item strong{font-size:13px;font-weight:500;color:#1d1d1f}.dq-product-copy small,.dq-product-copy b,.dq-quote-note,.dq-export-controls select{font-size:12px;color:#6e6e73}.dq-plan-fields input,.dq-plan-fields select{font-size:12px}.dq-heading p{font-size:12px;color:#6e6e73}.dq-workspace .dq-primary{color:#fff}.dq-property-grid .dq-property-hint{font-size:12px}.dq-marker-label{color:#1d1d1f}

/* Choose the exact product after dragging a grouped model onto the drawing. */
.dq-spec-dialog{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;width:min(600px,calc(100vw - 32px));max-width:none;max-height:88vh;max-height:88dvh;margin:auto;padding:0;border:1px solid #d2d2d7;border-radius:12px;background:#f5f5f7;color:#1d1d1f;box-shadow:0 24px 90px #1d1d1f24;overflow:hidden}.dq-spec-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.dq-spec-dialog,.dq-spec-dialog *{box-sizing:border-box}.dq-spec-dialog::backdrop{background:#00000066}.dq-spec-dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:14px 16px 12px;background:#fff;border-bottom:1px solid #e8e8ed}.dq-spec-dialog-header>div{min-width:0}.dq-spec-dialog-header small{display:block;font-size:12px;color:#6e6e73;line-height:1.6}.dq-spec-dialog-header h2{font-size:18px;font-weight:600;line-height:1.4;margin:3px 0 5px;color:#1d1d1f;overflow-wrap:anywhere}.dq-spec-dialog-header p{font-size:12px;line-height:1.7;margin:0;color:#6e6e73;overflow-wrap:anywhere}.dq-spec-dialog-header>button{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;padding:8px;border:1px solid #d2d2d7;border-radius:6px;background:#fff;color:#1d1d1f;cursor:pointer;font-family:inherit;font-size:20px}.dq-spec-dialog-header>button:hover{background:#f5f5f7;border-color:#d2d2d7}.dq-spec-dialog svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.dq-spec-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px 16px;min-height:0;overflow:auto;overscroll-behavior:contain;align-content:start}.dq-spec-option{position:relative;display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:76px;padding:9px 12px;border:1px solid #d2d2d7;border-radius:8px;background:#fff;text-align:left;font-family:inherit;color:#1d1d1f;cursor:pointer}.dq-spec-option:hover:not(:disabled){background:#eaf3ff;border-color:#0071e3}.dq-spec-option.is-selected{background:#eaf3ff;border-color:#0071e3;box-shadow:inset 0 0 0 1px #0071e3}.dq-spec-option:disabled{background:#f5f5f7;border-color:#d2d2d7;color:#86868b;opacity:.62;cursor:default}.dq-spec-image{display:flex;align-items:center;justify-content:center;flex:none;width:56px;height:56px;padding:0;border-radius:5px;background:transparent}.dq-spec-image img{display:block;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;pointer-events:none}.dq-spec-image svg{width:34px;height:34px;color:#6e6e73}.dq-spec-copy{display:grid;gap:4px;min-width:0;flex:1;padding-right:4px}.dq-spec-copy strong{font-size:13px;line-height:1.5;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dq-spec-copy small{font-size:12px;line-height:1.6;color:#6e6e73;overflow-wrap:anywhere}.dq-spec-copy b{font-size:12px;line-height:1.5;font-weight:400;color:#6e6e73;overflow-wrap:anywhere}.dq-spec-option:disabled .dq-spec-copy b{color:#86868b}.dq-spec-check{position:absolute;right:6px;top:6px;display:flex;align-items:center;justify-content:center;flex:none;visibility:hidden;width:16px;height:16px;border-radius:50%;background:#0071e3;color:#fff;font-size:12px}.dq-spec-option.is-selected .dq-spec-check{visibility:visible}.dq-spec-dialog-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 16px;background:#fff;border-top:1px solid #e8e8ed}.dq-spec-dialog-footer>span{font-size:12px;color:#6e6e73;line-height:1.7;min-width:0;overflow-wrap:anywhere}.dq-spec-dialog-footer .dq-button{font-family:inherit;font-size:12px;min-height:36px;min-width:70px;flex:none}.dq-spec-dialog button:focus-visible{outline:2px solid #0071e3;outline-offset:3px}
@media(max-width:600px){.dq-spec-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border-radius:10px}.dq-spec-dialog-header{padding:12px 14px;gap:12px}.dq-spec-dialog-header h2{font-size:17px}.dq-spec-dialog-header>button{width:38px;height:38px}.dq-spec-options{grid-template-columns:1fr;gap:8px;padding:10px 14px}.dq-spec-option{min-height:74px;padding:8px 10px;gap:10px}.dq-spec-image{width:56px;height:56px}.dq-spec-copy strong{font-size:13px}.dq-spec-copy small{font-size:12px}.dq-spec-dialog-footer{padding:10px 14px;gap:12px}.dq-spec-dialog-footer>span{font-size:12px}.dq-spec-dialog-footer .dq-button{min-height:40px}}

/* Slim edge handles remain available when either side panel is folded. */
.dq-canvas-panel{position:relative;overflow:visible}
.dq-side-toggle{
  position:absolute;z-index:4;top:50%;transform:translateY(-50%);
  display:flex;align-items:center;justify-content:center;
  width:26px;height:56px;padding:0;border:1px solid #d2d2d7;
  background:#f5f5f7;color:#6e6e73;
  cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease;
}
.dq-catalog-toggle{left:-1px;border-radius:0 14px 14px 0;box-shadow:3px 0 10px #1d1d1f12}
.dq-summary-toggle{right:-1px;border-radius:14px 0 0 14px;box-shadow:-3px 0 10px #1d1d1f12}
.dq-side-toggle svg{width:16px;height:16px;stroke-width:2;transition:transform .18s ease}
.dq-side-toggle[aria-expanded="false"]{background:#eaf3ff;border-color:#0071e326;color:#0071e3}
.dq-side-toggle[aria-expanded="false"] svg{transform:rotate(180deg)}
.dq-side-toggle:hover:not(:disabled),.dq-workspace .dq-side-toggle:focus-visible{
  background:#0071e3;border-color:#0071e3;color:#fff;box-shadow:0 2px 12px #0071e326;
}
.dq-workspace .dq-side-toggle:focus-visible{outline:2px solid #0071e3;outline-offset:3px}
.dq-side-toggle:active:not(:disabled){background:#005bb5}
.dq-side-toggle:disabled{opacity:.5;cursor:default}
.dq-side-toggle::after{
  content:attr(aria-label);position:absolute;top:50%;padding:7px 10px;
  border-radius:6px;background:#1d1d1f;color:#fff;font-family:inherit;
  font-size:12px;font-weight:400;line-height:1.5;white-space:nowrap;
  box-shadow:0 3px 12px #1d1d1f12;opacity:0;pointer-events:none;
  transition:opacity .16s ease,transform .16s ease;
}
.dq-catalog-toggle::after{left:calc(100% + 9px);transform:translate(4px,-50%)}
.dq-summary-toggle::after{right:calc(100% + 9px);transform:translate(-4px,-50%)}
.dq-side-toggle:hover:not(:disabled)::after,.dq-side-toggle:focus-visible::after{opacity:1;transform:translate(0,-50%)}
.dq-focus .dq-side-toggle{display:none}
@media(max-width:1000px){.dq-side-toggle{display:none}}
@media(prefers-reduced-motion:reduce){.dq-side-toggle,.dq-side-toggle svg,.dq-side-toggle::after{transition:none}}

/* The drawing studio uses the entire window; only its side panels scroll. */
.drawing-page-popup .dq-workspace{
  height:100%;min-height:0;display:grid;gap:10px 18px;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-rows:auto auto minmax(0,1fr);
  grid-template-areas:"fields heading" "tools tools" "drawing drawing";
}
.drawing-page-popup .dq-heading{grid-area:heading;margin:0;padding:0;border:0;background:none;position:static;gap:0;align-self:center}
.drawing-page-popup .dq-heading>div:first-child{display:none}
.drawing-page-popup .dq-heading-actions{gap:7px}
.drawing-page-popup .dq-library select{max-width:210px}
.drawing-page-popup .dq-plan-fields{
  grid-area:fields;grid-template-columns:minmax(160px,1fr) minmax(160px,.9fr) auto;
  gap:12px;margin:0;padding:0;border:0;background:transparent;
}
.drawing-page-popup .dq-plan-fields label{gap:5px}
.drawing-page-popup .dq-plan-fields input,.drawing-page-popup .dq-plan-fields select{height:32px;padding:6px 9px}
.drawing-page-popup .dq-save-state{margin-top:15px}
.drawing-page-popup .dq-error{grid-area:error;margin:0}
.drawing-page-popup .dq-workspace:has(>.dq-error:not([hidden])){
  grid-template-rows:auto auto auto minmax(0,1fr);
  grid-template-areas:"fields heading" "error error" "tools tools" "drawing drawing";
}
.drawing-page-popup .dq-design-toolbar{grid-area:tools;margin:0;padding:7px 10px}
.drawing-page-popup .dq-columns{
  grid-area:drawing;grid-template-columns:220px minmax(280px,1fr) 270px;
  gap:12px;align-items:stretch;min-height:0;
}
.drawing-page-popup .dq-catalog-panel{display:flex;flex-direction:column;min-height:0}
.drawing-page-popup .dq-panel-heading{flex-shrink:0;padding:13px 14px}
.drawing-page-popup .dq-catalog-filters,.drawing-page-popup .dq-catalog-tip{flex-shrink:0}
.drawing-page-popup .dq-catalog{min-height:0;max-height:none;flex:1;align-content:start}
.drawing-page-popup .dq-summary-panel{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
.drawing-page-popup .dq-summary-items{max-height:none}
.drawing-page-popup .dq-canvas-panel{display:flex;flex-direction:column;min-height:0}
.drawing-page-popup .dq-canvas-toolbar{flex-shrink:0;min-height:50px;padding:10px 14px;border-radius:8px 4px 0 0}
.drawing-page-popup .dq-placement-mode{flex-shrink:0}
.drawing-page-popup .dq-viewport{flex:1;height:auto;min-height:0;max-height:none}
.drawing-page-popup .dq-canvas-footer{flex-shrink:0;padding:8px 12px}
.drawing-page-popup .dq-legend{flex-shrink:0;display:flex;align-items:center;gap:10px;padding:8px 12px;border-radius:0 0 4px 4px}
.drawing-page-popup .dq-legend[hidden]{display:none}
.drawing-page-popup .dq-legend>strong{flex-shrink:0}
.drawing-page-popup .dq-legend>div{margin:0;max-height:36px}
.drawing-page-popup .dq-hide-catalog .dq-columns{grid-template-columns:minmax(280px,1fr) 270px}
.drawing-page-popup .dq-hide-summary .dq-columns{grid-template-columns:220px minmax(280px,1fr)}
.drawing-page-popup .dq-hide-catalog .dq-catalog-panel{display:none}
.drawing-page-popup .dq-hide-summary .dq-summary-panel{display:none}
.drawing-page-popup .dq-hide-catalog.dq-hide-summary .dq-columns,.drawing-page-popup .dq-focus .dq-columns{grid-template-columns:1fr}
.drawing-page-popup .dq-focus{display:flex;flex-direction:column;padding:12px;gap:10px}
.drawing-page-popup .dq-focus .dq-heading,.drawing-page-popup .dq-focus .dq-plan-fields,
.drawing-page-popup .dq-focus .dq-catalog-panel,.drawing-page-popup .dq-focus .dq-summary-panel{display:none}
.drawing-page-popup .dq-focus .dq-columns{flex:1;min-height:0}
@media(max-width:1100px) and (min-width:1001px){
  .drawing-page-popup .dq-workspace{column-gap:12px}
  .drawing-page-popup .dq-columns{grid-template-columns:200px minmax(280px,1fr) 250px}
  .drawing-page-popup .dq-hide-catalog .dq-columns{grid-template-columns:minmax(280px,1fr) 250px}
  .drawing-page-popup .dq-hide-summary .dq-columns{grid-template-columns:200px minmax(280px,1fr)}
  .drawing-page-popup .dq-hide-catalog.dq-hide-summary .dq-columns,.drawing-page-popup .dq-focus .dq-columns{grid-template-columns:1fr}
  .drawing-page-popup .dq-library select{max-width:160px}
}
@media(max-width:1000px){
  .drawing-page-popup .dq-workspace{display:flex;flex-direction:column;gap:10px}
  .drawing-page-popup .dq-heading{align-self:stretch;order:0}
  .drawing-page-popup .dq-heading-actions{width:100%}
  .drawing-page-popup .dq-library{min-width:0;flex:1}
  .drawing-page-popup .dq-library select{width:100%;max-width:none}
  .drawing-page-popup .dq-plan-fields{order:1;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:8px;flex-shrink:0}
  .drawing-page-popup .dq-error{order:2}
  .drawing-page-popup .dq-design-toolbar{order:3;flex-shrink:0}
  .drawing-page-popup .dq-mobile-tabs{order:4;margin:0;flex-shrink:0}
  .drawing-page-popup .dq-columns{order:5;flex:1;display:block;min-height:0;overflow:auto}
  .drawing-page-popup .dq-columns .dq-catalog-panel{display:none}
  .drawing-page-popup .dq-columns[data-dq-mobile-panel="catalog"] .dq-catalog-panel{display:flex;height:100%}
  .drawing-page-popup .dq-summary-panel,.drawing-page-popup .dq-canvas-panel{height:100%}
  .drawing-page-popup .dq-columns[data-dq-mobile-panel="summary"] .dq-summary-panel{display:block}
  .drawing-page-popup .dq-canvas-panel{display:none}
  .drawing-page-popup .dq-columns[data-dq-mobile-panel="canvas"] .dq-canvas-panel{display:flex}
  .drawing-page-popup .dq-focus .dq-columns[data-dq-mobile-panel] .dq-canvas-panel{display:flex}
  .drawing-page-popup .dq-focus .dq-columns[data-dq-mobile-panel] .dq-catalog-panel,
  .drawing-page-popup .dq-focus .dq-columns[data-dq-mobile-panel] .dq-summary-panel{display:none}
  .drawing-page-popup .dq-viewport{min-height:180px}
}
@media(max-width:700px){
  .drawing-page-popup .dq-plan-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .drawing-page-popup .dq-save-state{display:none}
  .drawing-page-popup .dq-design-toolbar{padding:6px;gap:4px}
}

/* Selection outlines are editor chrome, separate from user annotation colors. */
.dq-annotation.is-selected>rect[pointer-events="none"]{stroke:#0071e3}
.dq-workspace .dq-tool.active{color:#0071e3}

/* Drawing annotations, text presets and product appearance controls. */
.dq-tool-menu>summary{min-height:32px;line-height:1.4;user-select:none}
.dq-tool-menu[open]>summary{background:#eaf3ff;color:#0071e3}
.dq-tool-menu>div{
  width:max-content;min-width:158px;max-width:min(280px,calc(100vw - 32px));
  max-height:min(420px,60vh);max-height:min(420px,60dvh);overflow:auto;
  padding:6px;gap:3px;border-color:#e5e5e7;border-radius:12px;
  box-shadow:0 12px 36px #1d1d1f1c;overscroll-behavior:contain;
}
.dq-tool-menu>div .dq-tool,.dq-tool-menu>div .dq-button{
  min-height:36px;padding:8px 10px;white-space:normal;text-align:left;line-height:1.5;
}
.dq-workspace[data-dq-tool="polyline"] .dq-plane,
.dq-workspace[data-dq-tool="curve"] .dq-plane,
.dq-workspace[data-dq-tool="callout"] .dq-plane{cursor:crosshair}
.dq-path-hint{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;
  gap:8px 12px;flex-shrink:0;padding:9px 12px;border-bottom:1px solid #dbe9fb;
  background:#f0f6ff;color:#1d1d1f;font-size:12px;line-height:1.65;
}
.dq-path-hint[hidden]{display:none}
.dq-path-hint>span{flex:1;min-width:140px}
.dq-path-hint>div{display:flex;align-items:center;gap:6px;flex-shrink:0}
.dq-path-hint .dq-button{min-height:30px;padding:5px 9px;font-size:12px}
.dq-path-hint .dq-primary{background:#0071e3;border-color:#0071e3;color:#fff}
.dq-path-hint .dq-primary:hover{background:#0077ed;border-color:#0077ed}
.dq-marker[data-icon-shape]{
  box-sizing:border-box;background:#fff;min-width:0;min-height:0;
  border-width:calc(var(--dq-marker-border-width,1px) * var(--dq-scale,1));
  border-style:solid;border-color:var(--dq-marker-border-color,#d2d2d7);
  padding:calc(2px * var(--dq-scale,1));
}
.dq-marker[data-icon-shape="rounded"]{border-radius:calc(var(--dq-marker-size,40px) * .2 * var(--dq-scale,1))}
.dq-marker[data-icon-shape="square"]{border-radius:0}
.dq-marker[data-icon-shape="circle"]{border-radius:50%}
.dq-marker[data-icon-shape]>img,.dq-marker[data-icon-shape]>.dq-marker-symbol{border-radius:inherit}
.dq-marker[data-icon-shape]>img{display:block}
.dq-marker[data-icon-shape]>.dq-marker-symbol{background:transparent;border:0}
.dq-marker[data-icon-shape]:hover,.dq-marker[data-icon-shape].is-selected{
  outline:2px solid #0071e3;outline-offset:2px;box-shadow:0 2px 8px #1d1d1f14;
}
.dq-marker[data-icon-shape]{padding:calc(var(--dq-marker-padding,2px) * var(--dq-scale,1))}
.dq-marker[data-icon-shape="circle-fill"]{border-radius:50%}
.dq-marker[data-icon-shape="dot"]{border-radius:50%;border:0;background:var(--dq-marker-border-color,#0071e3);padding:0}
.dq-marker .dq-marker-symbol{color:inherit}
.dq-marker .dq-marker-cad{display:block;width:100%;height:100%;overflow:visible}
.dq-plane>.dq-annotations{z-index:1;pointer-events:none}
.dq-workspace .dq-stroke-annotation{pointer-events:none}
.dq-workspace[data-dq-tool="curtain-track"] .dq-plane{cursor:crosshair}
.dq-workspace[data-dq-tool="curtain-track-freeform"] .dq-plane{cursor:crosshair}
.dq-workspace .dq-track-menu{position:fixed;z-index:1200;min-width:132px;padding:6px;border:1px solid #dce2eb;border-radius:8px;background:#fff;box-shadow:0 8px 28px #1d1d1f20;font-family:inherit;color:#596374}
.dq-workspace .dq-track-menu[hidden]{display:none}
.dq-workspace .dq-track-menu>span{display:block;padding:5px 8px 7px;font-size:10px;color:#8792a1}
.dq-workspace .dq-track-menu>button{display:block;width:100%;padding:8px 10px;border:0;border-radius:5px;background:transparent;font-family:inherit;font-size:12px;text-align:left;color:inherit;cursor:pointer}
.dq-workspace .dq-track-menu>button:hover,.dq-workspace .dq-track-menu>button[aria-checked="true"]{background:#eaf3ff;color:#0071e3}
.dq-workspace .dq-track-menu>button[aria-checked="true"]::after{content:'✓';float:right;margin-left:20px}
.dq-workspace .dq-track-menu>button:disabled{opacity:.45;cursor:default}
.dq-workspace .dq-track-menu>hr{margin:5px 3px;border:0;border-top:1px solid #e4e5e9}
.dq-workspace .dq-track-menu>[hidden]{display:none}
.dq-workspace .dq-track-controls{display:flex;align-items:center;gap:9px;white-space:nowrap}
.dq-workspace .dq-track-controls[hidden]{display:none}
.dq-workspace .dq-track-control-group{display:flex;align-items:center;gap:2px}
.dq-workspace :is(.dq-track-product-control,.dq-track-motor-control)[hidden]{display:none}
.dq-workspace .dq-track-product-control[hidden]+.dq-track-control-group{padding-left:0;border-left:0}
.dq-workspace :is(.dq-track-product-control,.dq-track-motor-control){gap:6px;color:#626874}
.dq-workspace.dq-studio .dq-drawing-style :is([data-dq-track-product],[data-dq-track-motor]){width:174px;max-width:none;color:#263242}
.dq-workspace.dq-studio .dq-track-controls .dq-track-product-trigger{display:flex;align-items:center;gap:5px;height:29px;padding:3px 6px;border:1px solid #d2d2d7;border-radius:6px;background:#fff;text-align:left}
.dq-workspace .dq-track-product-trigger img{width:22px;height:22px;object-fit:contain;flex:none;border-radius:3px;background:#f5f6f8}
.dq-workspace .dq-track-product-trigger span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.dq-workspace .dq-track-product-trigger svg{width:12px;height:12px;flex:none}
.dq-workspace .dq-track-product-trigger:focus-visible{outline:2px solid #0071e3;outline-offset:2px}
.dq-workspace .dq-track-control-group+.dq-track-control-group{padding-left:9px;border-left:1px solid #e3e6eb}
.dq-workspace .dq-track-controls button{height:27px;padding:4px 8px;border:0;border-radius:5px;background:transparent;color:#626874;font:inherit;white-space:nowrap;cursor:pointer}
.dq-workspace .dq-track-controls button:hover{background:#f2f5fa}
.dq-workspace .dq-track-controls button.active{background:#eaf3ff;color:#0071e3}
.dq-workspace .dq-track-controls button:disabled{opacity:.45;cursor:default}
.dq-workspace .dq-track-label-size{display:flex;align-items:center;gap:6px;color:#626874;font:inherit}
.dq-workspace .dq-track-label-size input{box-sizing:border-box;width:54px;min-width:0;height:27px;padding:3px 5px;border:1px solid #d7dee8;border-radius:5px;background:#fff;color:#263242;font:inherit}
.dq-workspace .dq-track-label-size input:disabled{opacity:.45;cursor:default}
.dq-workspace[data-dq-tool="select"] [data-dq-track-label-id]{cursor:move;user-select:none}
.dq-workspace[data-dq-tool="select"] .is-locked [data-dq-track-label-id]{cursor:default}
.dq-workspace:not([data-dq-tool="select"]) .dq-stroke-annotation>*{pointer-events:none}
.dq-plane>.dq-markers{z-index:2;pointer-events:none}
.dq-plane>.dq-callouts{z-index:3;pointer-events:none}
.dq-property-section{padding-top:14px;margin-top:14px;border-top:1px solid #e5e5e7;min-width:0}
.dq-property-section:first-child{padding-top:0;margin-top:0;border-top:0}
.dq-property-section>.dq-property-heading{margin-bottom:10px;font-size:12px;font-weight:600;line-height:1.65;color:#1d1d1f}
.dq-property-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px}
.dq-property-actions .dq-button{min-width:0;min-height:34px;padding:7px 6px;white-space:normal;line-height:1.5}
.dq-layer-switches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;margin-top:10px}
.dq-layer-switches label{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.55;color:#6e6e73;min-width:0;cursor:pointer}
.dq-layer-switches input[type="checkbox"]{width:15px;height:15px;margin:0;padding:0;flex:none;accent-color:#0071e3;cursor:pointer}
.dq-design-note{margin:10px 0 0;padding:10px 11px;border:1px solid #e5e5e7;border-radius:8px;background:#fff;color:#6e6e73;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.dq-design-note strong{color:#1d1d1f;font-weight:500}

.dq-text-dialog{
  width:min(660px,calc(100vw - 32px));max-width:none;max-height:calc(100vh - 48px);
  max-height:calc(100dvh - 48px);margin:auto;padding:0;overflow:auto;
  border:1px solid #e5e5e7;border-radius:16px;background:#f5f5f7;color:#1d1d1f;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;
  box-shadow:0 24px 90px #1d1d1f24;overscroll-behavior:contain;
}
.dq-text-dialog,.dq-text-dialog *{box-sizing:border-box}
.dq-text-dialog::backdrop{background:#00000066}
.dq-text-dialog[open]{display:flex;flex-direction:column}
.dq-text-dialog-header{
  display:flex;align-items:flex-start;justify-content:space-between;gap:18px;
  padding:22px 24px 18px;border-bottom:1px solid #e5e5e7;background:#fff;flex:none;
}
.dq-text-dialog-header>div{min-width:0}
.dq-text-dialog-header h2{margin:0;font-size:22px;font-weight:600;line-height:1.45;letter-spacing:-.3px;overflow-wrap:anywhere}
.dq-text-dialog-header p{margin:7px 0 0;color:#6e6e73;font-size:12px;line-height:1.75;overflow-wrap:anywhere}
.dq-text-dialog-header small{display:block;margin-bottom:5px;color:#6e6e73;font-size:12px;line-height:1.6}
.dq-text-dialog-header>button{
  display:flex;align-items:center;justify-content:center;width:34px;height:34px;
  min-height:34px;padding:7px;border:1px solid #e5e5e7;border-radius:50%;
  flex:none;background:#f5f5f7;color:#6e6e73;font-family:inherit;font-size:20px;line-height:1;cursor:pointer;
}
.dq-text-dialog-header>button:hover{background:#e8e8ed;color:#1d1d1f}
.dq-text-dialog svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.dq-text-library{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
  min-height:120px;max-height:340px;overflow:auto;padding:20px 24px;
  align-content:start;overscroll-behavior:contain;flex:1 1 auto;
}
.dq-text-preset{
  display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
  gap:6px;min-width:0;width:100%;min-height:72px;padding:13px 14px;
  border:1px solid #e5e5e7;border-radius:10px;background:#fff;color:#1d1d1f;
  font-family:inherit;text-align:left;cursor:pointer;
}
.dq-text-preset strong{font-size:13px;font-weight:500;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.dq-text-preset small{font-size:12px;font-weight:400;line-height:1.5;color:#6e6e73;overflow-wrap:anywhere}
.dq-text-preset:hover{border-color:#92bceb;background:#f5f9ff}
.dq-text-preset.is-selected,.dq-text-preset[aria-pressed="true"]{border-color:#0071e3;background:#eaf3ff;box-shadow:inset 0 0 0 1px #0071e3}
.dq-text-preset-row{display:flex;align-items:stretch;min-width:0;border:1px solid #e5e5e7;border-radius:10px;background:#fff;overflow:hidden}
.dq-text-preset-row>.dq-text-preset{border:0;border-radius:0;flex:1}
.dq-text-preset-row>.dq-text-preset:hover{background:#f0f6ff}
.dq-text-preset-row>button:not(.dq-text-preset){
  display:flex;align-items:center;justify-content:center;flex:none;min-width:34px;
  padding:7px;border:0;border-left:1px solid #e5e5e7;background:#fff;
  font-family:inherit;font-size:13px;color:#6e6e73;cursor:pointer;
}
.dq-text-preset-row>button:not(.dq-text-preset):hover{background:#fff2f1;color:#b42318}
.dq-text-custom{display:grid;gap:8px;margin:0;padding:0 24px 20px;flex:none}
.dq-text-custom label,.dq-text-custom>span{display:grid;gap:8px;color:#6e6e73;font-size:12px;line-height:1.7}
label.dq-text-custom{color:#6e6e73;font-size:12px;line-height:1.7}
.dq-text-custom textarea{
  display:block;width:100%;min-height:82px;max-height:180px;resize:vertical;
  border:1px solid #d2d2d7;border-radius:9px;padding:10px 12px;
  background:#fff;color:#1d1d1f;font-family:inherit;font-size:13px;line-height:1.75;
}
.dq-text-custom textarea::placeholder{color:#86868b}
.dq-text-custom small{color:#6e6e73;font-size:12px;line-height:1.6}
.dq-text-dialog-footer{
  display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;
  gap:9px;padding:15px 24px;border-top:1px solid #e5e5e7;background:#fff;flex:none;
}
.dq-text-dialog-footer>span,.dq-text-dialog-footer>p{flex:1;margin:0;min-width:120px;color:#6e6e73;font-size:12px;line-height:1.7}
.dq-text-dialog-footer .dq-button{font-family:inherit;min-height:37px;padding:8px 13px;font-size:12px}
.dq-text-dialog button:focus-visible,.dq-text-dialog textarea:focus-visible{outline:2px solid #0071e3;outline-offset:3px}

@media(max-width:700px){
  .dq-design-toolbar .dq-tool-menu{position:static}
  .dq-tool-menu>div{
    left:6px;right:6px;top:calc(100% + 6px);width:auto;min-width:0;max-width:none;
    max-height:min(300px,45vh);max-height:min(300px,45dvh);
    grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;
  }
  .dq-tool-menu>div .dq-tool,.dq-tool-menu>div .dq-button{min-height:40px;padding:9px 10px}
  .dq-path-hint{padding:8px 10px;gap:7px}
  .dq-path-hint>div{margin-left:auto}
  .dq-path-hint .dq-button{min-height:34px}
  .dq-text-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border-radius:12px}
  .dq-text-dialog-header{padding:18px 16px 15px;gap:12px}
  .dq-text-dialog-header h2{font-size:20px}
  .dq-text-dialog-header>button{width:38px;height:38px;min-height:38px}
  .dq-text-library{padding:14px 16px;gap:9px;max-height:300px;min-height:110px}
  .dq-text-preset{min-height:78px;padding:11px 12px}
  .dq-text-preset-row>button:not(.dq-text-preset){min-width:36px}
  .dq-text-custom{padding:0 16px 16px}
  .dq-text-custom textarea{font-size:16px;min-height:76px}
  .dq-text-dialog-footer{padding:13px 16px;gap:8px}
  .dq-text-dialog-footer .dq-button{min-height:40px}
}
@media(max-width:420px){
  .dq-text-library{grid-template-columns:1fr}
  .dq-text-preset{min-height:65px}
  .dq-text-dialog-footer>span,.dq-text-dialog-footer>p{flex-basis:100%}
}
@media(max-height:560px){
  .dq-text-dialog-header{padding-top:14px;padding-bottom:12px}
  .dq-text-library{min-height:76px;padding-top:12px;padding-bottom:12px}
  .dq-text-custom textarea{min-height:64px}
  .dq-text-dialog-footer{padding-top:11px;padding-bottom:11px}
  .dq-tool-menu>div{max-height:35vh;max-height:35dvh}
}

/* PDF pages scroll independently while the title and download action stay visible. */
dialog.dq-pdf-preview{
  width:min(1000px,calc(100vw - 40px));max-width:none;min-width:0;
  height:min(860px,calc(100vh - 48px));height:min(860px,calc(100dvh - 48px));
  max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);
  margin:auto;padding:0;overflow:hidden;border:1px solid #d2d2d7;border-radius:12px;
  background:#f5f5f7;color:#1d1d1f;box-shadow:0 20px 80px #1d1d1f24;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;
  -webkit-font-smoothing:antialiased;
}
.dq-pdf-preview,.dq-pdf-preview *{box-sizing:border-box}
dialog.dq-pdf-preview[open]{display:flex;flex-direction:column}
.dq-pdf-preview::backdrop{background:#00000066}
.dq-pdf-preview>header{
  display:flex;align-items:flex-start;justify-content:space-between;gap:16px;
  flex:none;min-width:0;padding:18px 22px;border-bottom:1px solid #e8e8ed;background:#fff;
}
.dq-pdf-preview>header>div{min-width:0;flex:1}
.dq-pdf-preview h2{margin:0 0 6px;color:#1d1d1f;font-size:18px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.dq-pdf-preview>header p{margin:0;color:#6e6e73;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.dq-pdf-preview>header button{
  display:flex;align-items:center;justify-content:center;flex:none;
  width:36px;height:36px;min-width:36px;min-height:36px;padding:7px;
  border:1px solid #d2d2d7;border-radius:9px;background:#fff;color:#1d1d1f;
  font-family:inherit;font-size:20px;line-height:1;cursor:pointer;
}
.dq-pdf-preview>header button:hover{background:#f5f5f7;border-color:#86868b}
.dq-pdf-preview svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:none}
.dq-pdf-pages{
  display:grid;grid-template-columns:minmax(0,1fr);align-content:start;gap:20px;
  flex:1;min-width:0;min-height:0;padding:20px 22px;overflow-x:hidden;overflow-y:auto;
  background:#f5f5f7;overscroll-behavior:contain;scrollbar-width:thin;
}
.dq-pdf-pages figure{width:100%;min-width:0;max-width:920px;margin:0 auto}
.dq-pdf-pages figure>img{
  display:block;width:100%;max-width:100%;height:auto;margin:0;
  border:1px solid #e5e5e7;border-radius:2px;background:#fff;box-shadow:0 3px 14px #1d1d1f12;
}
.dq-pdf-pages figcaption{margin:10px 0 0;color:#6e6e73;text-align:center;font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.dq-pdf-preview>footer{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  flex:none;min-width:0;padding:16px 22px;border-top:1px solid #e8e8ed;background:#fff;
}
.dq-pdf-preview>footer>span,.dq-pdf-preview>footer>p,.dq-pdf-preview>footer>div{
  flex:1;min-width:0;margin:0;color:#6e6e73;font-size:12px;line-height:1.7;overflow-wrap:anywhere;
}
.dq-pdf-preview>footer a{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;
  min-height:40px;max-width:100%;padding:10px 18px;border:1px solid #0071e3;border-radius:9px;
  background:#0071e3;color:#fff;font-family:inherit;font-size:13px;font-weight:500;
  line-height:1.5;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:anywhere;cursor:pointer;
}
.dq-pdf-preview>footer a:hover{border-color:#0077ed;background:#0077ed;color:#fff}
.dq-pdf-preview>footer a[aria-disabled="true"]{opacity:.55;cursor:default}
.dq-pdf-preview .dq-delivery-error{flex:none;margin:0;padding:10px 22px;background:#fff2f1;color:#b42318;font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.dq-pdf-preview button:focus-visible,.dq-pdf-preview a:focus-visible,.dq-pdf-pages:focus-visible{outline:2px solid #0071e3;outline-offset:3px}
@media(max-width:600px){
  dialog.dq-pdf-preview{
    width:calc(100vw - 20px);height:calc(100vh - 24px);height:calc(100dvh - 24px);
    max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);border-radius:10px;
  }
  .dq-pdf-preview>header{gap:12px;padding:14px}
  .dq-pdf-preview h2{font-size:17px}
  .dq-pdf-preview>header button{width:40px;height:40px;min-width:40px;min-height:40px}
  .dq-pdf-pages{padding:12px;gap:17px}
  .dq-pdf-pages figcaption{margin-top:8px}
  .dq-pdf-preview>footer{flex-direction:column;align-items:stretch;gap:10px;padding:13px 14px}
  .dq-pdf-preview>footer>span,.dq-pdf-preview>footer>p,.dq-pdf-preview>footer>div{flex:none}
  .dq-pdf-preview>footer a{width:100%;min-height:44px}
  .dq-pdf-preview .dq-delivery-error{padding:9px 14px}
}
@media(max-height:560px){
  dialog.dq-pdf-preview{height:calc(100vh - 20px);height:calc(100dvh - 20px);max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px)}
  .dq-pdf-preview>header{padding:10px 14px;gap:10px}
  .dq-pdf-preview h2{margin-bottom:3px;font-size:16px}
  .dq-pdf-preview>header p{max-height:3.4em;overflow:auto}
  .dq-pdf-pages{padding:12px;gap:14px}
  .dq-pdf-preview>footer{flex-direction:row;align-items:center;gap:12px;padding:10px 14px}
  .dq-pdf-preview>footer>span,.dq-pdf-preview>footer>p,.dq-pdf-preview>footer>div{flex:1;max-height:5.1em;overflow:auto}
  .dq-pdf-preview>footer a{width:auto;min-height:40px;padding:8px 12px}
}

/* AID studio: a document-led workspace with floating palettes and an open canvas. */
.dq-workspace.dq-studio{
  --dq-line:#e4e5e9;--dq-muted:#6e6e73;--dq-accent:#0071e3;
  display:flex;flex-direction:column;gap:0;min-width:0;min-height:540px;
  height:calc(100dvh - 100px);background:#f2f3f5;color:#1d1d1f;padding:0 14px 14px;
}
.dq-workspace.dq-studio :is(button,input,select,textarea){font-family:inherit}
.dq-workspace.dq-studio button:focus-visible,.dq-workspace.dq-studio summary:focus-visible,
.dq-workspace.dq-studio [tabindex="0"]:focus-visible{outline:2px solid #0071e3;outline-offset:2px}
.dq-workspace.dq-studio .dq-viewport:focus,
.dq-workspace.dq-studio .dq-viewport:focus-visible{outline:none}
.dq-workspace.dq-studio .dq-heading{
  display:flex;align-items:center;justify-content:space-between;flex:none;gap:22px;
  margin:0;padding:14px 4px 16px;min-height:86px;background:transparent;border:0;
  position:relative;z-index:20;
}
.dq-workspace.dq-studio .dq-document-identity{display:flex;align-items:center;gap:13px;min-width:0;flex:1}
.dq-workspace.dq-studio .dq-document-identity>svg{width:34px;height:38px;stroke-width:1.25;color:#8c9098;flex:none}
.dq-workspace.dq-studio .dq-plan-fields{display:flex;flex-direction:column;flex:1;align-items:stretch;gap:4px;min-width:0;max-width:780px;margin:0;padding:0;border:0;border-radius:0;background:transparent}
.dq-workspace.dq-studio .dq-plan-fields label{display:flex;align-items:center;gap:6px;min-width:0;font-size:11px;color:#737780;white-space:nowrap}
.dq-workspace.dq-studio .dq-plan-fields .dq-title-field{display:block;min-width:0;margin:0}
.dq-workspace.dq-studio .dq-title-field input{
  display:block;width:100%;height:34px;min-height:34px;margin:0;padding:0 4px;
  border:1px solid transparent;border-radius:5px;background:transparent;
  color:#1d1d1f;font-size:22px;font-weight:600;letter-spacing:-.55px;line-height:1.4;
  text-overflow:ellipsis;
}
.dq-workspace.dq-studio .dq-title-field input:hover{border-color:#dfe1e5}
.dq-workspace.dq-studio .dq-title-field input:focus{background:#fff;border-color:#0071e3;outline:none;box-shadow:0 0 0 2px #0071e318}
.dq-workspace.dq-studio .dq-document-meta{display:flex;align-items:center;gap:15px;min-width:0;padding-left:5px}
.dq-workspace.dq-studio .dq-document-meta label{flex:0 1 auto;min-width:0;max-width:390px}
.dq-workspace.dq-studio .dq-document-meta select{height:23px;min-height:23px;max-width:320px;min-width:0;width:auto;padding:1px 18px 1px 0;border:0;border-radius:3px;background:transparent;color:#6e6e73;font-size:12px;line-height:1.5}
.dq-workspace.dq-studio .dq-save-state{display:flex;align-items:center;gap:6px;margin:0;font-size:11px;max-width:150px;white-space:nowrap;line-height:1.5;color:#7e8289}
.dq-workspace.dq-studio .dq-save-state::before{content:'';width:5px;height:5px;flex:none;border-radius:50%;background:#a4a7ae}
.dq-workspace.dq-studio .dq-save-state.is-dirty{color:#a86712}
.dq-workspace.dq-studio .dq-save-state.is-dirty::before{background:#b87814}
.dq-workspace.dq-studio .dq-heading-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;min-width:0;width:auto;flex:none}
.dq-workspace.dq-studio .dq-heading-actions>.dq-button{min-height:35px;padding:7px 13px;font-size:12px;border:1px solid #dcdfe4;border-radius:8px;background:#fff;color:#45474d;box-shadow:0 1px 2px #1d1d1f04}
.dq-workspace.dq-studio .dq-heading-actions>.dq-button:hover:not(:disabled){background:#f9faff;border-color:#bbc1ca}
.dq-workspace.dq-studio .dq-heading-actions>.dq-primary{background:#0071e3;border-color:#0071e3;color:#fff;box-shadow:none}
.dq-workspace.dq-studio .dq-heading-actions>.dq-primary:hover:not(:disabled){background:#0077ed;border-color:#0077ed}
.dq-workspace.dq-studio .dq-document-menu{position:relative}
.dq-workspace.dq-studio .dq-document-menu>summary{display:flex;align-items:center;justify-content:center;gap:6px;list-style:none;min-height:35px;padding:7px 10px;border:1px solid transparent;border-radius:8px;font-size:12px;color:#45474d;cursor:pointer;white-space:nowrap}
.dq-workspace.dq-studio .dq-document-menu>summary::-webkit-details-marker{display:none}
.dq-workspace.dq-studio .dq-document-menu>summary:hover,.dq-workspace.dq-studio .dq-document-menu[open]>summary{background:#e6e8ed;color:#1d1d1f}
.dq-workspace.dq-studio .dq-document-menu-body{position:absolute;z-index:60;right:0;top:calc(100% + 8px);display:grid;gap:7px;width:276px;max-width:calc(100vw - 28px);padding:12px;background:#fff;border:1px solid #e0e2e7;border-radius:12px;box-shadow:0 12px 36px #1d1d1f20}
.dq-workspace.dq-studio .dq-document-menu-body .dq-button{justify-content:flex-start;border-color:transparent;background:#fff;min-height:35px;color:#45474d;font-size:12px;padding:7px 8px}
.dq-workspace.dq-studio .dq-document-menu-body .dq-button:hover:not(:disabled){background:#f5f5f7}
.dq-workspace.dq-studio .dq-library{min-width:0;width:100%;text-align:left;flex:initial}
.dq-workspace.dq-studio .dq-library select{width:100%;max-width:none;min-height:35px;padding:7px 8px;border-color:#e0e2e7;border-radius:7px;background:#f8f9fb;color:#1d1d1f;font-size:12px}
.dq-workspace.dq-studio .dq-error{flex:none;margin:0 0 10px;padding:8px 13px;border-radius:8px;max-height:80px;overflow:auto}
.dq-workspace.dq-studio .dq-columns{
  --dq-catalog-width:250px;--dq-inspector-width:280px;
  display:grid;grid-template-columns:var(--dq-catalog-width) minmax(0,1fr) var(--dq-inspector-width);
  gap:12px;align-items:stretch;min-height:0;min-width:0;flex:1;overflow:visible;
}
.dq-workspace.dq-studio .dq-panel{min-height:0;min-width:0;margin:0;border:0;background:transparent;box-shadow:none;border-radius:0}
.dq-workspace.dq-studio .dq-catalog-panel,.dq-workspace.dq-studio .dq-summary-panel{display:flex;flex-direction:column;min-height:0;overflow:hidden;border:1px solid #e1e3e8;border-radius:12px;background:#fff;box-shadow:0 2px 7px #17243806}
.dq-workspace.dq-studio .dq-panel-heading{flex:none;padding:17px 16px 13px;min-height:50px;border-bottom:0;gap:5px}
.dq-workspace.dq-studio .dq-panel-heading h2{margin:0;font-size:14px;font-weight:600;line-height:1.5;letter-spacing:-.15px}
.dq-workspace.dq-studio .dq-panel-heading>span{font-size:11px;line-height:1.5;color:#84878e}
.dq-workspace.dq-studio .dq-catalog-panel .dq-panel-heading{flex-wrap:wrap}
.dq-workspace.dq-studio .dq-catalog-filters{padding:0 13px;flex:none}
.dq-workspace.dq-studio .dq-search input{height:35px;font-size:12px;background:#f1f2f5;border:1px solid transparent;border-radius:8px;padding-left:30px}
.dq-workspace.dq-studio .dq-filter-row{gap:7px;margin-top:8px}
.dq-workspace.dq-studio .dq-filter-row select{height:31px;background:#fff;border-color:#e4e6eb;font-size:12px;padding:4px 5px}
.dq-workspace.dq-studio .dq-catalog-tip{margin:10px 14px 11px;flex:none;font-size:11px;line-height:1.6;color:#84878e}
.dq-workspace.dq-studio .dq-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 9px;align-content:start;flex:1;min-height:0;max-height:none;padding:0 12px 16px;overflow:auto;scrollbar-width:thin}
.dq-workspace.dq-studio .dq-product{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:4px;min-width:0;padding:0 0 3px;border:1px solid transparent;border-radius:9px;background:#fff;box-shadow:none}
.dq-workspace.dq-studio .dq-product:hover:not(:disabled){border-color:#dce1e9;background:#f8f9fb}
.dq-workspace.dq-studio .dq-product.is-armed,.dq-workspace.dq-studio .dq-model-card.has-armed-sku{background:#f0f6ff;border-color:#0071e3;box-shadow:0 0 0 1px #0071e3}
.dq-workspace.dq-studio .dq-product-image,.dq-workspace.dq-studio .dq-model-card .dq-product-image{width:100%;height:80px;min-height:80px;border-radius:6px;background:#f4f5f7;padding:0}
.dq-workspace.dq-studio .dq-product-image img{display:block;width:100%;height:100%;object-fit:contain}
.dq-workspace.dq-studio .dq-product-copy{display:flex;flex-direction:column;gap:2px;width:100%;min-width:0;padding:0 3px}
.dq-workspace.dq-studio .dq-product-copy strong{font-size:12px;font-weight:400;line-height:1.5;min-height:0;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#35373c}
.dq-workspace.dq-studio .dq-product-copy small{font-size:11px;line-height:1.5;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#8b8e95}
.dq-workspace.dq-studio .dq-product-copy b{font-size:12px;line-height:1.5;color:#1d1d1f}
.dq-workspace.dq-studio .dq-model-chevron{display:none}
.dq-workspace.dq-studio .dq-catalog>.dq-button,.dq-workspace.dq-studio .dq-catalog>.dq-empty-small{grid-column:1/-1}
.dq-workspace.dq-studio .dq-canvas-panel{display:flex;flex-direction:column;position:relative;overflow:visible;background:transparent;border:0;border-radius:0;box-shadow:none}
.dq-workspace.dq-studio .dq-canvas-toolbar{display:flex;align-items:center;gap:7px;flex:none;min-height:47px;margin:0;padding:0 2px 10px;border:0;background:transparent;border-radius:0}
.dq-workspace.dq-studio .dq-canvas-title{display:block;min-width:0;flex:1}
.dq-workspace.dq-studio .dq-canvas-title h2{margin:0;font-size:12px;font-weight:500;line-height:1.5;color:#656b76;white-space:nowrap}
.dq-workspace.dq-studio .dq-canvas-title small{display:block;margin:1px 0 0;font-size:10px;color:#989da7;line-height:1.5}
.dq-workspace.dq-studio .dq-canvas-toolbar .dq-button{min-height:30px;padding:5px 7px;font-size:11px;border-color:transparent;background:transparent;border-radius:6px;color:#626874;gap:5px}
.dq-workspace.dq-studio .dq-canvas-toolbar .dq-button:hover:not(:disabled){background:#e4e7ec;border-color:#d8dde5;color:#303640}
.dq-workspace.dq-studio .dq-canvas-toolbar .dq-button svg{width:15px;height:15px}
.dq-workspace.dq-studio .dq-history-tools,.dq-workspace.dq-studio .dq-view-tools{display:flex;align-items:center;gap:2px;margin:0;flex:none}
.dq-workspace.dq-studio .dq-history-tools{padding-right:5px;border-right:1px solid #dadde3}
.dq-workspace.dq-studio .dq-canvas-body{display:flex;gap:10px;flex:1;min-height:0;min-width:0;position:relative;overflow:visible}
.dq-workspace.dq-studio .dq-stage{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;border-radius:8px;background:#edeff2;overflow:visible}
.dq-workspace.dq-studio .dq-design-toolbar{
  display:flex;flex-direction:column;align-items:stretch;align-self:flex-start;flex:none;
  gap:7px;width:46px;padding:6px;margin:0;border:1px solid #e0e3e8;
  border-radius:12px;background:#fff;box-shadow:0 3px 11px #1d1d1f08;
  position:relative;z-index:7;overflow:visible;
}
.dq-workspace.dq-studio .dq-tool-group{display:flex;flex-direction:column;align-items:stretch;gap:3px;min-height:0;padding:0 0 7px;border:0;border-bottom:1px solid #eceef2}
.dq-workspace.dq-studio .dq-tool-group:last-child{border:0;padding:0}
.dq-workspace.dq-studio .dq-design-toolbar>.dq-tool-group>.dq-tool,
.dq-workspace.dq-studio .dq-design-toolbar>.dq-tool-group>.dq-button,
.dq-workspace.dq-studio .dq-tool-menu>summary{display:flex;justify-content:center;align-items:center;width:32px;height:32px;min-height:32px;padding:7px;border:1px solid transparent;border-radius:7px;background:transparent;color:#717783;cursor:pointer;gap:0;font-size:0;line-height:1}
.dq-workspace.dq-studio .dq-design-toolbar>.dq-tool-group>.dq-tool>span,.dq-workspace.dq-studio .dq-menu-label{display:none}
.dq-workspace.dq-studio .dq-design-toolbar svg{width:17px;height:17px;stroke-width:1.65}
.dq-workspace.dq-studio .dq-design-toolbar>.dq-tool-group>.dq-tool:hover:not(:disabled),
.dq-workspace.dq-studio .dq-design-toolbar>.dq-tool-group>.dq-button:hover:not(:disabled),
.dq-workspace.dq-studio .dq-tool-menu>summary:hover{background:#f1f3f6;color:#1d1d1f}
.dq-workspace.dq-studio .dq-design-toolbar>.dq-tool-group>.dq-tool.active,
.dq-workspace.dq-studio .dq-tool-menu.has-active-tool>summary,.dq-workspace.dq-studio .dq-tool-menu[open]>summary{background:#e8f2ff;border-color:#dcecff;color:#0071e3}
.dq-workspace.dq-studio .dq-tool-menu{position:relative}
.dq-workspace.dq-studio .dq-tool-menu>div{position:absolute;z-index:45;left:calc(100% + 13px);right:auto;top:0;bottom:auto;width:180px;min-width:180px;max-width:calc(100vw - 80px);padding:6px;gap:3px;border:1px solid #dfe3e9;border-radius:10px;box-shadow:0 10px 32px #1d1d1f24;background:#fff;max-height:min(360px,60dvh);overflow:auto;grid-template-columns:1fr}
.dq-workspace.dq-studio .dq-tool-group:last-child .dq-tool-menu>div{top:auto;bottom:0}
.dq-workspace.dq-studio .dq-tool-menu>div .dq-tool,.dq-workspace.dq-studio .dq-tool-menu>div .dq-button{display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;height:auto;min-height:35px;padding:8px 10px;border:0;border-radius:6px;background:transparent;font-size:12px;color:#454b55;line-height:1.5}
.dq-workspace.dq-studio .dq-tool-menu>div .dq-tool>span{display:inline}
.dq-workspace.dq-studio .dq-tool-menu>div .dq-tool:hover,.dq-workspace.dq-studio .dq-tool-menu>div .dq-button:hover{background:#f2f5fa}
.dq-workspace.dq-studio .dq-tool-menu>div .dq-tool.active{background:#e8f2ff;color:#0071e3}
.dq-workspace.dq-studio .dq-drawing-style{display:flex;align-items:center;gap:7px;flex:none;align-self:flex-start;padding:6px 9px;margin:7px;background:#fff;border:1px solid #e0e3e9;border-radius:8px;box-shadow:0 2px 7px #1d1d1f06;font-size:11px}
.dq-workspace.dq-studio .dq-drawing-style select{height:27px;max-width:85px;padding:4px 5px;font-size:11px;border:1px solid #e3e6eb;border-radius:5px;color:#626874;background:#f9fafc}
.dq-workspace.dq-studio .dq-drawing-style[hidden]{display:none}
.dq-workspace.dq-studio .dq-placement-mode,.dq-workspace.dq-studio .dq-path-hint{flex:none;border-radius:7px 7px 0 0}
.dq-workspace.dq-studio .dq-viewport{flex:1;height:auto;max-height:none;min-height:120px;overflow:auto;background:transparent;background-image:none;touch-action:none;border-radius:8px}
.dq-workspace.dq-studio .dq-viewport.is-drop-target{background:#e9f2fc;box-shadow:inset 0 0 0 2px #0071e3}
.dq-workspace.dq-studio .dq-plane-holder{padding:24px}
.dq-workspace.dq-studio .dq-plane{box-shadow:0 2px 5px #1d1d1f0b,0 12px 30px #1d1d1f0e}
.dq-workspace.dq-studio .dq-canvas-footer{display:flex;align-items:center;flex:none;min-height:36px;margin-left:56px;padding:6px 2px;border:0;background:transparent;gap:8px}
.dq-workspace.dq-studio .dq-canvas-footer>span{max-width:none;font-size:11px;line-height:1.5;color:#6e7480}
.dq-workspace.dq-studio .dq-zoom-controls{gap:2px;margin-left:auto;padding:2px 4px;border:1px solid #e2e5eb;border-radius:7px;background:#fff}
.dq-workspace.dq-studio .dq-zoom-controls .dq-button{min-height:23px;padding:3px;border:0;background:transparent;border-radius:4px;color:#6f7580}
.dq-workspace.dq-studio .dq-zoom-controls .dq-button:hover{background:#edf1f6}
.dq-workspace.dq-studio .dq-zoom-controls>span{font-size:10px;min-width:44px;color:#737984;font-variant-numeric:tabular-nums}
.dq-workspace.dq-studio .dq-legend{display:flex;align-items:flex-start;gap:10px;flex:none;max-height:53px;margin-left:56px;padding:2px 2px 0;border:0;background:transparent;overflow:auto;border-radius:0}
.dq-workspace.dq-studio .dq-legend[hidden]{display:none}
.dq-workspace.dq-studio .dq-legend>strong{flex:none;font-size:11px;line-height:1.65;font-weight:500;color:#707782}
.dq-workspace.dq-studio .dq-legend>div{gap:2px 10px;max-height:none;margin:0;overflow:visible}
.dq-workspace.dq-studio .dq-legend span{font-size:11px;line-height:1.8;color:#68707c}
.dq-workspace.dq-studio .dq-legend span>b{color:#59616d;font-variant-numeric:tabular-nums;min-width:20px}
.dq-workspace.dq-studio .dq-side-toggle{width:18px;height:42px;top:50%;border:1px solid #e0e3e9;background:#fff;box-shadow:0 2px 6px #1d1d1f08;color:#9a9fa9}
.dq-workspace.dq-studio .dq-catalog-toggle{left:-13px;border-radius:6px}
.dq-workspace.dq-studio .dq-summary-toggle{right:-13px;border-radius:6px}
.dq-workspace.dq-studio .dq-side-toggle[aria-expanded="false"]{background:#eaf3ff;color:#0071e3}
.dq-workspace.dq-studio .dq-side-toggle:hover:not(:disabled){background:#0071e3;color:#fff}
.dq-workspace.dq-studio .dq-inspector-tabs{display:flex;flex:none;gap:17px;margin:0 16px;padding:0;background:transparent;border:0;border-bottom:1px solid #eceef2;border-radius:0}
.dq-workspace.dq-studio .dq-inspector-tabs button{position:relative;flex:1;min-width:0;min-height:35px;margin-bottom:-1px;padding:7px 3px 10px;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;box-shadow:none;color:#9297a0;font-size:12px;font-weight:500;cursor:pointer}
.dq-workspace.dq-studio .dq-inspector-tabs button[aria-selected="true"]{background:transparent;color:#1d1d1f;border-bottom-color:#1d1d1f;box-shadow:none}
.dq-workspace.dq-studio .dq-inspector-tabs button:hover:not(:disabled){color:#1d1d1f}

.dq-workspace.dq-studio .dq-inspector-body{flex:1;min-height:0;min-width:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-top:7px}
.dq-workspace.dq-studio .dq-inspector-pane{min-width:0}
.dq-workspace.dq-studio .dq-inspector-pane[hidden]{display:none}
.dq-workspace.dq-studio .dq-inspector-intro{padding:12px 16px 4px}
.dq-workspace.dq-studio .dq-inspector-intro h3{margin:0 0 6px;font-size:14px;font-weight:600;line-height:1.5}
.dq-workspace.dq-studio .dq-inspector-intro p{margin:0;font-size:12px;line-height:1.75;color:#6e6e73}
.dq-workspace.dq-studio .dq-property-panel{padding:16px;background:#fff;border:0}
.dq-workspace.dq-studio .dq-property-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:185px;padding:20px 5px;text-align:center;color:#6e6e73}
.dq-workspace.dq-studio .dq-property-empty>svg{width:31px;height:31px;stroke-width:1.25;color:#8c8c94;margin-bottom:3px}
.dq-workspace.dq-studio .dq-property-empty>strong{font-size:13px;font-weight:500;color:#45454a;line-height:1.7}
.dq-workspace.dq-studio .dq-property-empty>p{margin:0;font-size:12px;line-height:1.8;color:#77777d}
.dq-workspace.dq-studio .dq-property-heading strong{font-size:14px;line-height:1.65;font-weight:600}
.dq-workspace.dq-studio .dq-property-heading small{font-size:12px;line-height:1.6;color:#6e6e73}
.dq-workspace.dq-studio .dq-property-grid{gap:11px 10px}
.dq-workspace.dq-studio .dq-property-grid label{font-size:12px;line-height:1.5;color:#6e6e73;gap:6px}
.dq-workspace.dq-studio .dq-property-grid :is(input,select,textarea){font-size:13px;line-height:1.5;min-height:33px;border-color:#dedee3;border-radius:6px;background:#fcfcfd;padding:6px 8px}
.dq-workspace.dq-studio .dq-property-grid input[type="checkbox"]{min-height:0;width:15px;height:15px;padding:0}
.dq-workspace.dq-studio .dq-property-section{border-color:#ededf0}
.dq-workspace.dq-studio .dq-property-actions .dq-button{font-size:12px;min-height:33px;border-color:#dedee3;border-radius:6px}
.dq-workspace.dq-studio .dq-design-note{font-size:12px;line-height:1.8;border:0;background:#f5f5f7;padding:10px}
.dq-workspace.dq-studio .dq-settings{border-top:1px solid #ededf0;border-bottom:0;background:#fff}
.dq-workspace.dq-studio .dq-settings>summary{padding:14px 16px;font-size:12px;font-weight:500;color:#45454a}
.dq-workspace.dq-studio .dq-settings>[data-dq-settings]{padding:0 16px 16px}
.dq-workspace.dq-studio .dq-room-summary{padding:12px 16px;border-bottom:1px solid #ededf0}
.dq-workspace.dq-studio .dq-room-summary>strong{font-size:12px;font-weight:500;color:#45454a}
.dq-workspace.dq-studio .dq-room-summary>button{font-size:12px;background:#f5f5f7;border-radius:6px;min-height:30px}
.dq-workspace.dq-studio .dq-summary-items{max-height:none;overflow:visible;padding:0 16px}
.dq-workspace.dq-studio .dq-summary-item{gap:9px;padding:13px 0;border-color:#ededf0}
.dq-workspace.dq-studio .dq-summary-item>img{width:37px;height:37px;padding:3px;background:#f5f5f7;border-radius:6px}
.dq-workspace.dq-studio .dq-summary-item strong{font-size:12px;line-height:1.6;font-weight:500}
.dq-workspace.dq-studio .dq-summary-item :is(small,span){font-size:11px;line-height:1.6;color:#77777d}
.dq-workspace.dq-studio .dq-summary-item>b{font-size:12px;font-weight:500;color:#45454a;font-variant-numeric:tabular-nums}
.dq-workspace.dq-studio .dq-summary-footer{flex:none;padding:12px 15px;border-top:1px solid #e5e5e8;background:#fff;max-height:45%;overflow:auto}
.dq-workspace.dq-studio .dq-total{margin:0 0 10px;gap:10px;align-items:center}
.dq-workspace.dq-studio .dq-total>span{font-size:11px;line-height:1.5;color:#6e6e73}
.dq-workspace.dq-studio .dq-total strong{font-size:24px;line-height:1.25;letter-spacing:-.7px;font-weight:600;font-variant-numeric:tabular-nums}
.dq-workspace.dq-studio .dq-generation-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.dq-workspace.dq-studio .dq-generation-actions .dq-button{font-size:12px;min-height:34px;padding:7px 6px;white-space:normal;border-radius:7px}
.dq-workspace.dq-studio .dq-generation-actions .dq-update-note,.dq-workspace.dq-studio .dq-generation-actions .dq-locked-note{grid-column:1/-1;font-size:11px;line-height:1.6;margin:0}
.dq-workspace.dq-studio .dq-export-controls{margin:0;padding:14px 16px;gap:9px}
.dq-workspace.dq-studio .dq-export-controls label{font-size:12px;line-height:1.7;color:#6e6e73}
.dq-workspace.dq-studio .dq-export-controls select{font-size:12px;color:#1d1d1f;background:#f8f8fa;min-height:36px;border-radius:7px}
.dq-workspace.dq-studio .dq-export-controls .dq-button{justify-content:flex-start;min-height:41px;padding:10px 12px;font-size:12px;border-color:#dedee3;border-radius:7px}
.dq-workspace.dq-studio .dq-inspector-pane>.dq-quote-note{margin:0;padding:0 16px 16px;font-size:12px;line-height:1.8;color:#77777d}
.dq-workspace.dq-studio .dq-operation{margin:8px 0 0;font-size:11px;line-height:1.6}
.dq-workspace.dq-studio .dq-document-menu-body .dq-library>span{display:block;margin-bottom:7px;color:#868b95;font-size:11px;line-height:1.5}
.dq-workspace.dq-studio .dq-document-menu-body>div{display:grid;grid-template-columns:1fr 1fr;gap:5px;border-top:1px solid #eceef2;padding-top:7px}
.dq-workspace.dq-studio .dq-device-heading{display:block;padding-bottom:15px;margin-bottom:14px;border-bottom:1px solid #eceef2}
.dq-workspace.dq-studio .dq-device-heading strong{display:block;font-size:14px;font-weight:600;line-height:1.5;color:#353a43}
.dq-workspace.dq-studio .dq-device-heading small{display:block;margin-top:5px;font-size:11px;line-height:1.7;color:#9297a0;overflow-wrap:anywhere}
.dq-workspace.dq-studio .dq-total strong{font-size:26px;letter-spacing:-.75px}
.dq-workspace.dq-studio .dq-summary-footer{padding:15px 16px}
.dq-workspace.dq-studio .dq-generation-actions .dq-button{min-height:36px}
.dq-workspace.dq-studio.dq-hide-catalog .dq-columns{grid-template-columns:minmax(0,1fr) var(--dq-inspector-width)}
.dq-workspace.dq-studio.dq-hide-summary .dq-columns{grid-template-columns:var(--dq-catalog-width) minmax(0,1fr)}
.dq-workspace.dq-studio.dq-hide-catalog .dq-catalog-panel,.dq-workspace.dq-studio.dq-hide-summary .dq-summary-panel{display:none}
.dq-workspace.dq-studio.dq-hide-catalog.dq-hide-summary .dq-columns,.dq-workspace.dq-studio.dq-focus .dq-columns{grid-template-columns:minmax(0,1fr)}
.dq-workspace.dq-studio.dq-focus{position:fixed;inset:0;z-index:5000;width:100vw;height:100dvh;min-height:0;display:flex;flex-direction:column;padding:0 20px 14px;gap:0;overflow:hidden;background:#f2f3f5}
.dq-workspace.dq-studio.dq-focus .dq-heading{display:flex;padding-top:14px;padding-bottom:14px}
.dq-workspace.dq-studio.dq-focus .dq-plan-fields{display:flex}
.dq-workspace.dq-studio.dq-focus .dq-catalog-panel,.dq-workspace.dq-studio.dq-focus .dq-summary-panel,.dq-workspace.dq-studio.dq-focus .dq-mobile-tabs{display:none}
.dq-workspace.dq-studio.dq-focus .dq-columns{flex:1;min-height:0}
.dq-workspace.dq-studio.dq-focus .dq-viewport{min-height:0;height:auto;max-height:none;flex:1}
.dq-workspace.dq-studio.dq-focus .dq-legend{display:flex}
.dq-workspace.dq-studio.dq-focus .dq-legend[hidden]{display:none}
@media(min-width:1600px){
  .dq-workspace.dq-studio{padding-left:20px;padding-right:20px;padding-bottom:20px}
  .dq-workspace.dq-studio .dq-heading{padding-top:18px;padding-bottom:20px;min-height:94px}
  .dq-workspace.dq-studio .dq-columns{--dq-catalog-width:270px;--dq-inspector-width:300px;gap:16px}
  .dq-workspace.dq-studio .dq-product-image,.dq-workspace.dq-studio .dq-model-card .dq-product-image{height:80px;min-height:80px}
}
@media(min-width:1001px) and (max-width:1190px){
  .dq-workspace.dq-studio{padding-left:10px;padding-right:10px;padding-bottom:10px}
  .dq-workspace.dq-studio .dq-columns{--dq-catalog-width:220px;--dq-inspector-width:258px;gap:10px}
  .dq-workspace.dq-studio .dq-document-identity{gap:8px}
  .dq-workspace.dq-studio .dq-document-identity>svg{width:28px;height:32px}
  .dq-workspace.dq-studio .dq-title-field input{font-size:20px}
  .dq-workspace.dq-studio .dq-document-meta{gap:9px}
  .dq-workspace.dq-studio .dq-document-meta label{max-width:285px}
  .dq-workspace.dq-studio .dq-document-meta select{max-width:230px}
  .dq-workspace.dq-studio .dq-heading-actions{gap:5px}
  .dq-workspace.dq-studio .dq-heading-actions>.dq-button{padding:7px 10px}
  .dq-workspace.dq-studio .dq-product-image,.dq-workspace.dq-studio .dq-model-card .dq-product-image{height:80px;min-height:80px}
  .dq-workspace.dq-studio .dq-canvas-toolbar{gap:2px}
  .dq-workspace.dq-studio .dq-canvas-title small{font-size:9px}
  .dq-workspace.dq-studio .dq-canvas-toolbar .dq-button{padding:5px}
  .dq-workspace.dq-studio .dq-plane-holder{padding:18px}
  .dq-workspace.dq-studio .dq-canvas-body{gap:7px}
  .dq-workspace.dq-studio .dq-canvas-footer,.dq-workspace.dq-studio .dq-legend{margin-left:53px}
}
@media(max-width:1000px){
  .dq-workspace.dq-studio{min-height:580px;height:calc(100dvh - 70px);padding:0 12px 12px}
  .dq-workspace.dq-studio .dq-heading{order:0;gap:12px;padding:12px 2px 13px;min-height:78px}
  .dq-workspace.dq-studio .dq-document-identity{gap:8px}
  .dq-workspace.dq-studio .dq-document-identity>svg{width:27px;height:32px}
  .dq-workspace.dq-studio .dq-title-field input{font-size:19px;height:31px;min-height:31px}
  .dq-workspace.dq-studio .dq-document-meta{gap:8px;flex-wrap:wrap;row-gap:2px}
  .dq-workspace.dq-studio .dq-document-meta label{max-width:300px}
  .dq-workspace.dq-studio .dq-document-meta select{font-size:11px;max-width:240px}
  .dq-workspace.dq-studio .dq-save-state{font-size:10px}
  .dq-workspace.dq-studio .dq-heading-actions{gap:5px}
  .dq-workspace.dq-studio .dq-heading-actions>.dq-button{font-size:11px;padding:7px 9px;min-height:33px}
  .dq-workspace.dq-studio .dq-error{order:1}
  .dq-workspace.dq-studio .dq-mobile-tabs{order:2;display:flex;flex:none;border:1px solid #e2e5eb;background:#fff;border-radius:9px;padding:4px;margin:0 0 10px;gap:4px}
  .dq-workspace.dq-studio .dq-mobile-tabs button{min-height:31px;border-radius:6px;padding:6px 8px;color:#7f8590;font-size:12px}
  .dq-workspace.dq-studio .dq-mobile-tabs button.active{background:#edf4ff;color:#0071e3;box-shadow:none;font-weight:500}
  .dq-workspace.dq-studio .dq-columns,.dq-workspace.dq-studio.dq-hide-catalog .dq-columns,.dq-workspace.dq-studio.dq-hide-summary .dq-columns{order:3;display:block;min-height:0;overflow:visible;flex:1}
  .dq-workspace.dq-studio .dq-columns>.dq-panel{height:100%}
  .dq-workspace.dq-studio .dq-columns[data-dq-mobile-panel]>.dq-panel{display:none}
  .dq-workspace.dq-studio .dq-columns[data-dq-mobile-panel="catalog"]>.dq-catalog-panel,
  .dq-workspace.dq-studio .dq-columns[data-dq-mobile-panel="summary"]>.dq-summary-panel,
  .dq-workspace.dq-studio .dq-columns[data-dq-mobile-panel="canvas"]>.dq-canvas-panel{display:flex}
  .dq-workspace.dq-studio .dq-catalog{grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:14px;padding:0 16px 16px}
  .dq-workspace.dq-studio .dq-product-image,.dq-workspace.dq-studio .dq-model-card .dq-product-image{height:80px;min-height:80px}
  .dq-workspace.dq-studio .dq-catalog-filters{padding:0 16px}
  .dq-workspace.dq-studio .dq-catalog-tip{margin:10px 16px 13px}
  .dq-workspace.dq-studio .dq-canvas-body{flex-direction:column;gap:8px}
  .dq-workspace.dq-studio .dq-design-toolbar{flex-direction:row;align-items:center;align-self:stretch;justify-content:center;gap:8px;width:auto;min-height:42px;padding:5px 6px;border-radius:9px;flex-wrap:wrap}
  .dq-workspace.dq-studio .dq-tool-group{flex-direction:row;align-items:center;gap:3px;padding:0 8px 0 0;border-bottom:0;border-right:1px solid #eceef2}
  .dq-workspace.dq-studio .dq-tool-group:last-child{border:0;padding:0}
  .dq-workspace.dq-studio .dq-tool-menu{position:static}
  .dq-workspace.dq-studio .dq-tool-menu>div,.dq-workspace.dq-studio .dq-tool-group:last-child .dq-tool-menu>div{left:5px;right:5px;top:calc(100% + 6px);bottom:auto;width:auto;min-width:0;max-width:none;max-height:min(300px,45dvh);grid-template-columns:repeat(2,minmax(0,1fr))}
  .dq-workspace.dq-studio .dq-tool-menu>div .dq-tool,.dq-workspace.dq-studio .dq-tool-menu>div .dq-button{font-size:13px;min-height:38px}
  .dq-workspace.dq-studio .dq-stage{flex:1;min-height:0}
  .dq-workspace.dq-studio .dq-viewport{height:auto;max-height:none;min-height:150px;flex:1}
  .dq-workspace.dq-studio .dq-canvas-footer,.dq-workspace.dq-studio .dq-legend{margin-left:0}
  .dq-workspace.dq-studio .dq-property-empty{min-height:150px}
  .dq-workspace.dq-studio .dq-property-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dq-workspace.dq-studio .dq-summary-footer{padding:13px 16px;max-height:43%}
  .dq-workspace.dq-studio.dq-focus{padding:0 12px 12px}
  .dq-workspace.dq-studio.dq-focus .dq-columns[data-dq-mobile-panel]>.dq-canvas-panel{display:flex}
  .dq-workspace.dq-studio.dq-focus .dq-columns[data-dq-mobile-panel]>.dq-summary-panel,
  .dq-workspace.dq-studio.dq-focus .dq-columns[data-dq-mobile-panel]>.dq-catalog-panel{display:none}
}
@media(max-width:700px){
  .dq-workspace.dq-studio{padding:0 9px 9px}
  .dq-workspace.dq-studio .dq-heading{flex-wrap:wrap;gap:9px;padding:11px 2px 11px}
  .dq-workspace.dq-studio .dq-document-identity{flex-basis:100%;gap:7px}
  .dq-workspace.dq-studio .dq-document-identity>svg{width:25px;height:29px;align-self:flex-start;margin-top:4px}
  .dq-workspace.dq-studio .dq-title-field input{height:30px;min-height:30px;font-size:18px;letter-spacing:-.3px}
  .dq-workspace.dq-studio .dq-document-meta{gap:8px;flex-wrap:nowrap}
  .dq-workspace.dq-studio .dq-document-meta label{flex:1;min-width:0;max-width:none}
  .dq-workspace.dq-studio .dq-document-meta label>span{font-size:10px}
  .dq-workspace.dq-studio .dq-document-meta select{max-width:none;min-width:0;flex:1;width:100%;font-size:10px;padding-right:10px}
  .dq-workspace.dq-studio .dq-save-state{font-size:10px;gap:4px;max-width:100px}
  .dq-workspace.dq-studio .dq-heading-actions{justify-content:flex-end;flex:1;width:100%;gap:7px}
  .dq-workspace.dq-studio .dq-heading-actions>.dq-button{min-height:31px;padding:6px 10px;font-size:11px}
  .dq-workspace.dq-studio .dq-document-menu{margin-right:auto}
  .dq-workspace.dq-studio .dq-document-menu>summary{min-height:31px;padding:5px 7px;font-size:11px}
  .dq-workspace.dq-studio .dq-document-menu-body{left:0;right:auto}
  .dq-workspace.dq-studio .dq-document-menu-body .dq-button{font-size:12px;min-height:36px}
  .dq-workspace.dq-studio .dq-mobile-tabs{margin-bottom:8px;padding:3px}
  .dq-workspace.dq-studio .dq-mobile-tabs button{min-height:30px;font-size:11px}
  .dq-workspace.dq-studio .dq-canvas-toolbar{padding-bottom:7px;min-height:42px}
  .dq-workspace.dq-studio .dq-canvas-title h2{font-size:11px}
  .dq-workspace.dq-studio .dq-canvas-title small{font-size:10px}
  .dq-workspace.dq-studio .dq-canvas-toolbar .dq-button{font-size:10px;padding:5px;min-height:28px}
  .dq-workspace.dq-studio .dq-design-toolbar{gap:5px;padding:4px;min-height:39px;flex-wrap:nowrap}
  .dq-workspace.dq-studio .dq-tool-group{gap:1px;padding-right:5px}
  .dq-workspace.dq-studio .dq-design-toolbar>.dq-tool-group>.dq-tool,
  .dq-workspace.dq-studio .dq-design-toolbar>.dq-tool-group>.dq-button,
  .dq-workspace.dq-studio .dq-tool-menu>summary{width:29px;height:29px;min-height:29px;padding:6px}
  .dq-workspace.dq-studio .dq-design-toolbar svg{width:16px;height:16px}
  .dq-workspace.dq-studio .dq-plane-holder{padding:16px}
  .dq-workspace.dq-studio .dq-canvas-footer{padding:5px 2px;min-height:34px}
  .dq-workspace.dq-studio .dq-legend{padding:1px 2px 0;max-height:47px;gap:8px}
  .dq-workspace.dq-studio .dq-inspector-tabs button{min-height:36px;font-size:13px}
  .dq-workspace.dq-studio .dq-property-grid :is(input,select,textarea){font-size:14px;min-height:36px}
  .dq-workspace.dq-studio .dq-generation-actions .dq-button{min-height:36px}
}
@media(max-width:360px){
  .dq-workspace.dq-studio .dq-design-toolbar{gap:3px;padding:3px}
  .dq-workspace.dq-studio .dq-tool-group{gap:0;padding-right:3px}
  .dq-workspace.dq-studio .dq-design-toolbar>.dq-tool-group>.dq-tool,
  .dq-workspace.dq-studio .dq-design-toolbar>.dq-tool-group>.dq-button,
  .dq-workspace.dq-studio .dq-tool-menu>summary{width:27px;height:29px;padding:5px}
}
@media(max-height:640px) and (min-width:1001px){
  .dq-workspace.dq-studio .dq-heading{padding-top:9px;padding-bottom:10px;min-height:73px}
  .dq-workspace.dq-studio .dq-panel-heading{padding-top:13px;padding-bottom:10px;min-height:45px}
  .dq-workspace.dq-studio .dq-design-toolbar{gap:5px;padding:5px;width:44px}
  .dq-workspace.dq-studio .dq-tool-group{gap:1px;padding-bottom:5px}
  .dq-workspace.dq-studio .dq-design-toolbar>.dq-tool-group>.dq-tool,
  .dq-workspace.dq-studio .dq-design-toolbar>.dq-tool-group>.dq-button,
  .dq-workspace.dq-studio .dq-tool-menu>summary{width:32px;height:29px;min-height:29px;padding:6px}
  .dq-workspace.dq-studio .dq-catalog-tip{margin-top:7px;margin-bottom:8px}
  .dq-workspace.dq-studio .dq-property-empty{min-height:130px;padding-top:10px;padding-bottom:10px}
  .dq-workspace.dq-studio .dq-legend{max-height:38px;padding-top:0}
}
@media(prefers-reduced-motion:reduce){
  .dq-workspace.dq-studio *, .dq-workspace.dq-studio *::before,.dq-workspace.dq-studio *::after{scroll-behavior:auto;transition:none;animation:none}
}
/* Keep the document identity visible in legacy popup hosts as well. */
.dq-workspace.dq-studio .dq-heading>.dq-document-identity{display:flex}

/* A3 sheet studio: horizontal tools, paper first, floor tree above the schedule. */
.dq-workspace.dq-studio.dq-a3-studio{padding:0 12px 10px;background:#f5f5f7}
.dq-workspace.dq-studio.dq-a3-studio .dq-heading{min-height:66px;padding:9px 4px 10px;gap:16px}
.dq-workspace.dq-studio.dq-a3-studio .dq-document-identity>svg{width:26px;height:30px}
.dq-workspace.dq-studio.dq-a3-studio .dq-title-field input{font-size:20px;height:29px;min-height:29px}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar{display:flex;align-items:center;flex:none;gap:8px;min-width:0;min-height:62px;margin:0 -12px 10px;padding:5px 16px;background:#fff;border-top:1px solid #e8e8ed;border-bottom:1px solid #e0e2e6;position:relative;z-index:15}
.dq-workspace.dq-studio.dq-a3-studio .dq-design-toolbar{display:flex;flex-direction:row;align-items:center;align-self:auto;flex:0 1 auto;flex-wrap:nowrap;width:auto;min-height:0;margin:0;padding:0;gap:8px;border:0;border-radius:0;box-shadow:none;background:transparent}
.dq-workspace.dq-studio.dq-a3-studio .dq-tool-group{display:flex;flex-direction:row;align-items:center;gap:3px;padding:0 8px 0 0;border:0;border-right:1px solid #e8e8ed;min-height:42px}
.dq-workspace.dq-studio.dq-a3-studio .dq-tool-group:last-child{padding:0;border:0}
.dq-workspace.dq-studio.dq-a3-studio .dq-design-toolbar>.dq-tool-group>.dq-tool,
.dq-workspace.dq-studio.dq-a3-studio .dq-design-toolbar>.dq-tool-group>.dq-button,
.dq-workspace.dq-studio.dq-a3-studio .dq-tool-menu>summary,
.dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar>.dq-button,
.dq-workspace.dq-studio.dq-a3-studio .dq-history-tools>.dq-button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:45px;height:46px;min-height:46px;padding:4px 3px;border:1px solid transparent;border-radius:6px;box-shadow:none;background:transparent;color:#6e6e73;font-size:11px;font-weight:400;line-height:1.2;white-space:nowrap}
.dq-workspace.dq-studio.dq-a3-studio .dq-design-toolbar>.dq-tool-group>.dq-tool>span,
.dq-workspace.dq-studio.dq-a3-studio .dq-menu-label{display:inline;font-size:11px}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar svg{width:19px;height:19px;stroke-width:1.65;flex:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar .dq-button:hover:not(:disabled),
.dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar .dq-tool:hover:not(:disabled),
.dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar summary:hover{background:#f5f5f7;color:#1d1d1f}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar .dq-tool.active,
.dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar .dq-tool-menu.has-active-tool>summary{background:#eaf3ff;color:#0071e3;border-color:transparent}
.dq-workspace.dq-studio.dq-a3-studio .dq-history-tools{padding:0 0 0 8px;border:0;border-left:1px solid #e8e8ed;gap:3px}
.dq-workspace.dq-studio.dq-a3-studio .dq-tool-menu{position:relative}
.dq-workspace.dq-studio.dq-a3-studio .dq-tool-menu>div,
.dq-workspace.dq-studio.dq-a3-studio .dq-tool-group:last-child .dq-tool-menu>div{top:calc(100% + 10px);bottom:auto;left:0;right:auto;width:178px;min-width:178px;grid-template-columns:1fr}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-context{display:none;align-items:center;flex:none;min-width:0;margin:-10px -12px 10px;padding:7px 18px;border-bottom:1px solid #e4e5e9;background:#fff}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-context:has(>div:not([hidden])){display:flex}
.dq-workspace.dq-studio.dq-a3-studio .dq-drawing-style,
.dq-workspace.dq-studio.dq-a3-studio .dq-icon-context{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:0;padding:0;border:0;box-shadow:none;background:transparent;font-size:12px;color:#6e6e73}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-context [hidden]{display:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-icon-context label{display:flex;align-items:center;gap:7px;white-space:nowrap}
.dq-workspace.dq-studio.dq-a3-studio .dq-icon-context :is(input,select){min-width:0;height:29px;width:82px;border:1px solid #d2d2d7;border-radius:5px;background:#fff;padding:3px 6px;color:#1d1d1f;font-size:12px}
.dq-workspace.dq-studio.dq-a3-studio .dq-icon-context input[type=color]{width:40px;padding:2px}
.dq-workspace.dq-studio.dq-a3-studio .dq-columns{--dq-catalog-width:244px;--dq-inspector-width:282px;gap:10px}
.dq-workspace.dq-studio.dq-a3-studio .dq-catalog-panel,
.dq-workspace.dq-studio.dq-a3-studio .dq-summary-panel{border-radius:7px;box-shadow:none;border-color:#e4e5e9}
.dq-workspace.dq-studio.dq-a3-studio .dq-canvas-toolbar{min-height:30px;padding:0 2px 7px;gap:4px}
.dq-workspace.dq-studio.dq-a3-studio .dq-canvas-title{display:flex;align-items:center;gap:10px}
.dq-workspace.dq-studio.dq-a3-studio .dq-canvas-title small{font-size:11px;margin:0}
.dq-workspace.dq-studio.dq-a3-studio .dq-canvas-body{gap:0}
.dq-workspace.dq-studio.dq-a3-studio .dq-stage{background:#eceef1;border-radius:4px}
.dq-workspace.dq-studio.dq-a3-studio .dq-plane-holder{padding:24px}
.dq-workspace.dq-studio.dq-a3-studio .dq-canvas-footer,
.dq-workspace.dq-studio.dq-a3-studio .dq-legend{margin-left:0}
.dq-workspace.dq-studio.dq-a3-studio .dq-legend{display:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-a3-paper{background:#fff}
.dq-workspace.dq-studio.dq-a3-studio .dq-a3-paper>.dq-floorplan{position:absolute;left:2.857142857%;top:4.04040404%;width:80.476190476%;height:91.919191919%;object-fit:contain;pointer-events:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-paper-frame{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none;font-family:inherit;overflow:visible}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-panel{flex:none;min-height:0;max-height:39%;display:flex;flex-direction:column;border-bottom:1px solid #e8e8ed;padding-bottom:10px}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:14px 14px 10px;flex:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-heading h2{margin:0;font-size:14px;font-weight:600}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-heading .dq-button{min-height:26px;padding:3px 0;border:0;background:transparent;color:#0071e3;font-size:11px;box-shadow:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-tree{min-height:42px;overflow:auto;flex:1;scrollbar-width:thin}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row{display:flex;align-items:center;min-height:38px;padding:0 10px 0 12px;gap:5px;border-left:2px solid transparent}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row>button{display:flex;align-items:center;gap:8px;min-width:0;min-height:36px;padding:6px 3px;border:0;background:transparent;color:#45454a;text-align:left;font-size:12px;cursor:pointer}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row>button:first-child{flex:1}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row>button span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row>button small{color:#86868b;font-size:10px;flex:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row svg{width:17px;height:17px;flex:none;color:#9298a2;stroke-width:1.5}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row>[data-dq-add-child]{color:#0071e3;flex:none;width:25px;justify-content:center}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row>[data-dq-add-child] svg{color:inherit}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row.is-child{padding-left:34px;min-height:35px}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row.is-child svg{width:14px;height:14px}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row:hover{background:#f5f5f7}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row.is-active{background:#eef5ff;border-left-color:#0071e3}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row.is-active>button:first-child,
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row.is-active svg{color:#0071e3}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-label{display:flex;align-items:center;gap:9px;padding:8px 14px 0;font-size:11px;color:#86868b;flex:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-label input{flex:1;min-width:0;max-width:164px;height:27px;padding:4px 7px;background:#f7f7f9;border:1px solid transparent;border-radius:4px;color:#45454a;font-size:11px}
.dq-workspace.dq-studio.dq-a3-studio .dq-summary-panel>.dq-panel-heading{display:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-inspector-tabs{margin-top:7px}
.dq-workspace.dq-studio.dq-a3-studio .dq-inspector-tabs button[aria-selected=true]{color:#0071e3;border-bottom-color:#0071e3}
.dq-workspace.dq-studio.dq-a3-studio .dq-inspector-intro h3{font-size:13px}
.dq-workspace.dq-studio.dq-a3-studio .dq-total strong{font-size:23px}
.dq-sheet-dialog{width:min(410px,calc(100vw - 36px));padding:24px;border:1px solid #e0e2e7;border-radius:12px;background:#fff;box-shadow:0 24px 80px #1d1d1f33;color:#1d1d1f;font-family:inherit}
.dq-sheet-dialog::backdrop{background:#1d1d1f55}
.dq-sheet-dialog form{display:grid;gap:18px;margin:0}
.dq-sheet-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.dq-sheet-dialog h2{font-size:19px;font-weight:600;margin:0}
.dq-sheet-dialog [data-dq-sheet-close]{border:0;background:transparent;color:#86868b;font-size:24px;cursor:pointer;padding:0 4px}
.dq-sheet-dialog label{display:grid;gap:8px;color:#6e6e73;font-size:12px}
.dq-sheet-dialog :is(input,select){width:100%;min-width:0;box-sizing:border-box;height:37px;padding:8px 10px;border:1px solid #d2d2d7;border-radius:6px;background:#fff;color:#1d1d1f;font:inherit;font-size:13px}
.dq-sheet-dialog p{font-size:12px;line-height:1.8;color:#86868b;margin:0}
.dq-sheet-dialog footer{display:flex;justify-content:flex-end;gap:8px}
@media(min-width:1600px){.dq-workspace.dq-studio.dq-a3-studio .dq-columns{--dq-catalog-width:270px;--dq-inspector-width:300px}}
@media(min-width:1001px) and (max-width:1190px){.dq-workspace.dq-studio.dq-a3-studio .dq-columns{--dq-catalog-width:212px;--dq-inspector-width:256px}}
@media(max-width:1000px){
 .dq-workspace.dq-studio.dq-a3-studio .dq-heading{order:0}
 .dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar{order:1;flex-wrap:wrap;gap:4px;padding:5px 10px;min-height:54px;margin-bottom:8px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-top-context{order:2;margin-top:-8px;margin-bottom:8px;padding:7px 12px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-error{order:3}
 .dq-workspace.dq-studio.dq-a3-studio .dq-mobile-tabs{order:4}
 .dq-workspace.dq-studio.dq-a3-studio .dq-columns{order:5;display:block}
 .dq-workspace.dq-studio.dq-a3-studio .dq-tool-group{padding-right:5px;gap:1px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-design-toolbar{gap:4px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-design-toolbar>.dq-tool-group>.dq-tool,
 .dq-workspace.dq-studio.dq-a3-studio.dq-a3-studio .dq-design-toolbar>.dq-tool-group>.dq-button,
 .dq-workspace.dq-studio.dq-a3-studio .dq-tool-menu>summary,
 .dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar>.dq-button,
 .dq-workspace.dq-studio.dq-a3-studio .dq-history-tools>.dq-button{width:38px;height:42px;min-height:42px;font-size:10px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-menu-label,
 .dq-workspace.dq-studio.dq-a3-studio .dq-design-toolbar>.dq-tool-group>.dq-tool>span{font-size:10px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar svg{width:17px;height:17px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-canvas-body{flex-direction:column;gap:0}
 .dq-workspace.dq-studio.dq-a3-studio .dq-sheet-panel{max-height:43%}
 .dq-workspace.dq-studio.dq-a3-studio .dq-canvas-footer{margin:0}
 .dq-workspace.dq-studio.dq-a3-studio .dq-tool-menu>div{max-width:calc(100vw - 30px);width:165px;min-width:165px}
}
@media(max-width:520px){
 .dq-workspace.dq-studio.dq-a3-studio{padding:0 9px 9px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-heading{padding:9px 2px;gap:7px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-title-field input{font-size:18px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar{margin-left:-9px;margin-right:-9px;padding:4px 8px;gap:4px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-design-toolbar{flex-basis:100%;justify-content:space-between;gap:0}
 .dq-workspace.dq-studio.dq-a3-studio .dq-tool-group{gap:0;padding-right:3px;min-height:38px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-design-toolbar>.dq-tool-group>.dq-tool,
 .dq-workspace.dq-studio.dq-a3-studio.dq-a3-studio .dq-design-toolbar>.dq-tool-group>.dq-button,
 .dq-workspace.dq-studio.dq-a3-studio .dq-tool-menu>summary{width:31px;height:38px;min-height:38px;padding:3px 1px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar>.dq-button,
 .dq-workspace.dq-studio.dq-a3-studio .dq-history-tools>.dq-button{width:auto;flex-direction:row;min-width:48px;height:28px;min-height:28px;gap:4px;padding:4px 6px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-history-tools{margin-left:auto;border:0;padding-left:0}
 .dq-workspace.dq-studio.dq-a3-studio .dq-top-context{margin-left:-9px;margin-right:-9px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-icon-context{gap:8px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-icon-context>span{display:none}
 .dq-workspace.dq-studio.dq-a3-studio .dq-icon-context :is(input,select){width:65px;font-size:11px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-canvas-title small{font-size:10px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-canvas-toolbar{padding-bottom:5px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-tool-group:nth-child(2) .dq-tool-menu>div{left:auto;right:0}
}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-panel{max-height:48%}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-tree{position:relative}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row>button:first-child{flex:initial}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row>button[data-dq-sheet]{flex:1}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row>.dq-sheet-expand{flex:none;width:16px;justify-content:center;font-size:17px;color:#9298a2;padding:4px 0}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-children[hidden]{display:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-shape-fill{display:flex;align-items:center;gap:7px}
.dq-workspace.dq-studio.dq-a3-studio .dq-shape-fill[hidden]{display:none}

/* Approved sketch: catalog | drawing tools + A3 paper | floors + devices. */
.dq-workspace.dq-studio.dq-a3-studio{--dq-catalog-width:clamp(194px,15vw,286px);--dq-inspector-width:clamp(238px,17vw,326px);padding:0 5px 5px;gap:0}
.dq-workspace.dq-studio.dq-a3-studio .dq-heading{display:grid;grid-template-columns:var(--dq-catalog-width) minmax(0,1fr) var(--dq-inspector-width);gap:8px;min-height:48px;padding:6px 0;margin:0;flex:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-brand{display:flex;align-items:center;padding-left:18px}
.dq-workspace.dq-studio.dq-a3-studio .dq-brand img{display:block;width:83px;height:auto;object-fit:contain;flex-shrink:0}
.dq-workspace.dq-studio.dq-a3-studio .dq-design-heading{display:flex;align-items:center;min-width:0;gap:16px}
.dq-workspace.dq-studio.dq-a3-studio .dq-document-menu{flex:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-document-menu>summary{display:flex;align-items:center;gap:8px;padding:4px 0;border:0;background:transparent;border-radius:0;color:#303237}
.dq-workspace.dq-studio.dq-a3-studio .dq-document-menu>summary svg{width:23px;height:23px;color:#9c9fa5}
.dq-workspace.dq-studio.dq-a3-studio .dq-document-menu h1{font-size:20px;font-weight:600;letter-spacing:1px;margin:0;white-space:nowrap}
.dq-workspace.dq-studio.dq-a3-studio .dq-document-menu-body{left:0;right:auto;top:calc(100% + 16px);width:300px;z-index:40}
.dq-workspace.dq-studio.dq-a3-studio .dq-plan-fields{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:16px;min-width:0;max-width:820px;margin-left:auto;flex:1;width:auto;padding:0 8px;background:transparent}
.dq-workspace.dq-studio.dq-a3-studio .dq-plan-fields :is(.dq-title-field,.dq-customer-field){display:flex;flex-direction:row;align-items:center;gap:8px;min-width:0;margin:0}
.dq-workspace.dq-studio.dq-a3-studio .dq-field-label{flex:none;white-space:nowrap;font-size:13px;font-weight:600;line-height:18px;color:#1d1d1f}
.dq-workspace.dq-studio.dq-a3-studio .dq-title-field input{flex:1;min-width:0;width:100%;height:32px;min-height:32px;font-size:11px;font-weight:400;letter-spacing:0;border:1px solid #dedee3;border-radius:3px;padding:8px 10px;background:#fff}
.dq-workspace.dq-studio.dq-a3-studio .dq-title-field input::placeholder{color:#a1a1a6}
.dq-workspace.dq-studio.dq-a3-studio .dq-customer-choice{display:flex;align-items:center;gap:7px;min-width:0;flex:1;width:100%;height:32px;border:1px solid #dedee3;border-radius:3px;padding:7px 10px;background:#fff;text-align:left;cursor:pointer;color:#45454a;font:inherit}
.dq-workspace.dq-studio.dq-a3-studio .dq-customer-choice strong{flex-shrink:0;font-size:11px;font-weight:500;white-space:nowrap;max-width:45%;overflow:hidden;text-overflow:ellipsis}
.dq-workspace.dq-studio.dq-a3-studio .dq-customer-choice small{flex:1;min-width:0;font-size:9px;font-weight:400;color:#929298;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-left:auto}
.dq-workspace.dq-studio.dq-a3-studio .dq-customer-choice>span{font-size:9px;white-space:nowrap;color:#6e6e73}
@media(min-width:1001px){
 .dq-workspace.dq-studio.dq-a3-studio .dq-title-field input{max-width:240px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-customer-choice{max-width:220px}
}
.dq-workspace.dq-studio.dq-a3-studio .dq-heading-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:4px 6px;width:auto;margin:0;padding:0 8px;flex:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar>.dq-save-state{display:block;flex:none;margin:0 4px 0 auto;max-width:none;min-height:14px;font-size:10px;line-height:14px;color:#929298}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar>.dq-save-state::before{content:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar>.dq-save-state.is-dirty{color:#a65d10;font-weight:500}
.dq-workspace.dq-studio.dq-a3-studio .dq-heading-actions>.dq-button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:32px;height:32px;padding:5px 9px;border:1px solid #d8dce2;background:#fff;color:#454a52;font-size:12px;letter-spacing:0;font-weight:500;box-shadow:0 1px 2px #1d1d1f06;border-radius:6px}
.dq-workspace.dq-studio.dq-a3-studio .dq-heading-actions>.dq-button svg{width:14px;height:14px;stroke-width:1.7;flex:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-heading-actions>.dq-button:hover:not(:disabled){color:#0071e3;background:#f4f8ff;border-color:#a9c8ed}
.dq-workspace.dq-studio.dq-a3-studio .dq-heading-actions>.dq-primary{color:#fff;background:#0071e3;border-color:#0071e3;box-shadow:0 1px 3px #0071e326}
.dq-workspace.dq-studio.dq-a3-studio .dq-heading-actions>.dq-primary:hover:not(:disabled){color:#fff;background:#0064cb;border-color:#0064cb}
.dq-workspace.dq-studio.dq-a3-studio .dq-heading-actions>[data-dq-action=exit]{color:#6e6e73;background:#f8f9fb;border-color:#e0e3e8}
.dq-workspace.dq-studio.dq-a3-studio .dq-heading-actions>.dq-button:focus-visible{outline:2px solid #0071e3;outline-offset:3px}
.dq-workspace.dq-studio.dq-a3-studio .dq-heading-actions>.dq-button:disabled{opacity:.45;cursor:default}
.dq-workspace.dq-studio.dq-a3-studio .dq-columns{--dq-catalog-width:inherit;--dq-inspector-width:inherit;grid-template-columns:var(--dq-catalog-width) minmax(0,1fr) var(--dq-inspector-width);gap:8px}
.dq-workspace.dq-studio.dq-a3-studio .dq-canvas-panel{padding:0;gap:0;border:0;background:transparent;overflow:visible}
.dq-workspace.dq-studio.dq-a3-studio .dq-canvas-toolbar{display:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar{order:initial;margin:0 0 9px;padding:4px 6px;min-height:53px;gap:6px;flex-wrap:wrap;border:1px solid #eceef2;background:#fff}
.dq-workspace.dq-studio.dq-a3-studio .dq-design-toolbar{flex-basis:auto;gap:5px}
.dq-workspace.dq-studio.dq-a3-studio .dq-tool-group{gap:1px;padding-right:6px;min-height:39px}
.dq-workspace.dq-studio.dq-a3-studio .dq-design-toolbar>.dq-tool-group>.dq-tool,
.dq-workspace.dq-studio.dq-a3-studio .dq-design-toolbar>.dq-tool-group>.dq-button,
.dq-workspace.dq-studio.dq-a3-studio .dq-tool-menu>summary,
.dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar>.dq-button,
.dq-workspace.dq-studio.dq-a3-studio .dq-history-tools>.dq-button{width:36px;height:43px;min-height:43px;padding:4px 2px;gap:4px;flex-direction:column;font-size:10px}
.dq-workspace.dq-studio.dq-a3-studio .dq-menu-label,
.dq-workspace.dq-studio.dq-a3-studio .dq-design-toolbar>.dq-tool-group>.dq-tool>span{font-size:10px}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar svg{width:18px;height:18px}
.dq-workspace.dq-studio.dq-a3-studio .dq-history-tools{margin:0;gap:1px;padding-left:5px;border-left:1px solid #e8e8ed}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-context{order:initial;margin:-9px 0 9px;padding:8px 12px}
.dq-workspace.dq-studio.dq-a3-studio .dq-icon-context{gap:12px;font-size:11px}
.dq-workspace.dq-studio.dq-a3-studio .dq-icon-context :is(input,select){width:69px;font-size:11px}
.dq-workspace.dq-studio.dq-a3-studio .dq-icon-context input[type=color]{width:37px}
.dq-workspace.dq-studio.dq-a3-studio .dq-canvas-body{flex:1;min-height:0}
.dq-workspace.dq-studio.dq-a3-studio .dq-stage{border-radius:3px}
.dq-workspace.dq-studio.dq-a3-studio .dq-canvas-footer{margin:0;padding:5px 2px 0;min-height:32px}
.dq-workspace.dq-studio.dq-a3-studio .dq-catalog-panel,
.dq-workspace.dq-studio.dq-a3-studio .dq-summary-panel{border-radius:6px}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-panel{height:33%;min-height:175px;max-height:39%;padding:0}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-heading{padding:12px 10px 10px;min-height:43px}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-heading h2{font-size:13px}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row{padding:0 7px 0 8px;gap:4px;border-left:0;min-height:38px}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row:not(:has(.dq-sheet-expand)):not(.is-child){padding-left:28px}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row.is-child{padding-left:47px}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row>button[data-dq-sheet]{gap:9px}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-thumbnail{width:23px;height:18px;object-fit:contain;flex:none;border:1px solid #edf0f4;background:#fff}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-blank{background:linear-gradient(90deg,#fff 78%,#f0f2f6 78%);box-shadow:inset 0 0 0 2px #fff}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row>[data-dq-add-child]{position:relative;width:23px}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-row>[data-dq-add-child]>svg+svg{position:absolute;right:0;bottom:8px;width:11px;height:11px;border-radius:50%;background:#0071e3;color:#fff;stroke-width:2}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-menu{position:relative;flex:none;color:#0071e3}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-menu>summary{list-style:none;cursor:pointer;letter-spacing:1px;font-size:18px;font-weight:600;padding:5px}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-menu>summary::-webkit-details-marker{display:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-menu>div{position:absolute;right:0;top:100%;z-index:30;display:grid;min-width:130px;padding:5px;background:#fff;border:1px solid #e8e8ed;box-shadow:0 5px 18px #1d1d1f16;border-radius:5px}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-menu button{border:0;background:#fff;color:#45454a;font-size:12px;padding:8px;text-align:left;cursor:pointer;white-space:nowrap}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-menu button:hover{background:#eef5ff}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-tree[data-dq-can-sort="true"] .dq-sheet-floor>.dq-sheet-row>[data-dq-sheet]:not(:disabled){cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-tree.is-sheet-sorting{user-select:none;-webkit-user-select:none;overflow-anchor:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-floor.is-sheet-dragging{position:relative;z-index:3;background:#fff;box-shadow:0 5px 18px #1d1d1f24;outline:1px solid #b7d8fa;will-change:transform}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-floor.is-sheet-dragging>.dq-sheet-row>[data-dq-sheet]{cursor:grabbing}
.dq-workspace.dq-studio.dq-a3-studio [data-dq-sheet-name][title]{cursor:text}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-inline-name{box-sizing:border-box;min-width:0;margin:0;padding:1px 3px;border:1px solid #0071e3;border-radius:3px;background:#fff;color:#45454a;font:inherit;font-size:12px;line-height:1.5;z-index:4;outline:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-inline-name[aria-invalid="true"]{border-color:#c9372c}
.dq-workspace.dq-studio.dq-a3-studio .dq-inspector-tabs{margin:0;padding:0 16px;gap:26px;min-height:43px}
.dq-workspace.dq-studio.dq-a3-studio .dq-inspector-tabs button{font-size:13px;min-height:43px;padding:10px 2px;font-weight:600}
.dq-workspace.dq-studio.dq-a3-studio .dq-inspector-body{padding:0}
.dq-workspace.dq-studio.dq-a3-studio .dq-device-grouping{display:flex;background:#f5f5f7;border-radius:5px;margin:12px 8px;padding:3px}
.dq-workspace.dq-studio.dq-a3-studio .dq-device-grouping button{flex:1;border:0;border-radius:4px;background:transparent;color:#929298;padding:4px;font:inherit;font-size:12px;cursor:pointer}
.dq-workspace.dq-studio.dq-a3-studio .dq-device-grouping button[aria-pressed=true]{background:#fff;color:#45454a;box-shadow:0 1px 2px #1d1d1f05}
.dq-workspace.dq-studio.dq-a3-studio .dq-summary-items{padding:0}
.dq-workspace.dq-studio.dq-a3-studio .dq-device-group-title{display:flex;align-items:center;justify-content:space-between;gap:5px;background:#f5f5f7;min-height:35px;padding:6px 10px}
.dq-workspace.dq-studio.dq-a3-studio .dq-device-group-title strong{font-size:11px;font-weight:500;color:#62656b}
.dq-workspace.dq-studio.dq-a3-studio .dq-device-group-title strong:before{content:'▾';color:#c5c7cc;margin-right:8px}
.dq-workspace.dq-studio.dq-a3-studio .dq-device-group-title .dq-button{padding:2px 0;min-height:22px;border:0;background:transparent;color:#0071e3;font-size:10px}
.dq-workspace.dq-studio.dq-a3-studio .dq-summary-item{display:flex;width:100%;align-items:center;gap:9px;padding:12px 14px;border:0;border-bottom:1px solid #f5f5f7;background:#fff;text-align:left;font:inherit;cursor:pointer}
.dq-workspace.dq-studio.dq-a3-studio .dq-summary-item:hover{background:#f8faff}
.dq-workspace.dq-studio.dq-a3-studio .dq-summary-item>img{width:35px;height:35px;background:#fff;padding:1px;object-fit:contain;flex:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-summary-copy{min-width:0;flex:1;display:grid;gap:5px}
.dq-workspace.dq-studio.dq-a3-studio .dq-summary-copy>strong{font-size:11px;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#62656b;display:block}
.dq-workspace.dq-studio.dq-a3-studio .dq-summary-copy>span{display:flex;gap:5px;justify-content:space-between;align-items:center;min-width:0}
.dq-workspace.dq-studio.dq-a3-studio .dq-summary-copy small{font-size:10px;color:#929298;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dq-workspace.dq-studio.dq-a3-studio .dq-summary-copy b{font-size:10px;font-weight:400;color:#929298;white-space:nowrap}
.dq-workspace .dq-room-summary-tools{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 10px 8px}
.dq-workspace .dq-room-summary-tools>small{font-size:10px;color:#929298}
.dq-workspace .dq-room-summary-tools>span{display:flex;gap:9px}
.dq-workspace .dq-room-summary-tools .dq-button{padding:2px 0;min-height:24px;border:0;background:transparent;color:#0071e3;font-size:10px}
.dq-workspace .dq-room-summary-columns{display:grid;grid-template-columns:56px minmax(0,1fr) 38px;gap:8px;align-items:center;padding:6px 10px;background:#f6f7f9;border-block:1px solid #edf0f4;color:#929298;font-size:10px}
.dq-workspace .dq-room-summary-columns>span:last-child{text-align:right}
.dq-workspace .dq-room-device-row{display:grid;grid-template-columns:56px minmax(0,1fr);gap:8px;align-items:center;min-height:48px;padding:0 10px;border-bottom:1px solid #edf0f4}
.dq-workspace .dq-summary-room-cell{display:block;min-width:0;max-width:100%;padding:5px 0;border:0;background:transparent;color:#62656b;font:400 11px/1.6 system-ui;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
.dq-workspace button.dq-summary-room-cell:hover{color:#0071e3}
.dq-workspace .dq-summary-room-cell.is-unassigned{color:#929298;cursor:default}
.dq-workspace.dq-studio.dq-a3-studio .dq-room-device-row .dq-summary-item{min-width:0;min-height:48px;gap:6px;padding:7px 0;border:0;background:transparent}
.dq-workspace .dq-room-device-row:hover{background:#f8faff}
.dq-workspace.dq-studio.dq-a3-studio .dq-room-device-row .dq-summary-item>img{width:27px;height:27px;padding:0;background:transparent;object-fit:contain}
.dq-workspace.dq-studio.dq-a3-studio .dq-room-device-row .dq-summary-copy{gap:2px}
.dq-workspace.dq-studio.dq-a3-studio .dq-room-device-row .dq-summary-quantity{flex:none;min-width:38px;color:#77777d;font-size:10px;font-weight:400;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.dq-workspace.dq-studio.dq-a3-studio .dq-property-panel{border-top:1px solid #e8e8ed;margin-top:12px;padding:13px}
.dq-workspace.dq-studio.dq-a3-studio .dq-property-panel[hidden]{display:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-label{padding:15px 14px}
.dq-workspace.dq-studio.dq-a3-studio .dq-sheet-label input{max-width:none;min-height:32px}
.dq-workspace.dq-studio.dq-a3-studio .dq-settings{border:0;padding-top:3px}
.dq-workspace.dq-studio.dq-a3-studio .dq-export-section{margin-top:8px;border-top:1px solid #e8e8ed}
.dq-workspace.dq-studio.dq-a3-studio .dq-export-section>summary{padding:14px 16px;font-size:12px;font-weight:500;cursor:pointer}
.dq-workspace.dq-studio.dq-a3-studio [data-dq-actions]:not(:empty){padding:14px;border-top:1px solid #e8e8ed}
.dq-workspace.dq-studio.dq-a3-studio .dq-workspace-status{display:flex;align-items:center;gap:14px;position:absolute;bottom:13px;left:calc(var(--dq-catalog-width) + 19px);pointer-events:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-workspace-status .dq-save-state{display:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-workspace-status .dq-operation{margin:0;background:#fff;color:#0071e3;font-size:11px;line-height:24px;padding:0 7px;border-radius:3px}
.dq-workspace.dq-studio.dq-a3-studio .dq-workspace-status .dq-operation:empty{display:none}
@media(min-width:1001px){
 .dq-workspace.dq-studio.dq-a3-studio .dq-columns>.dq-catalog-panel{grid-column:1;grid-row:1}
 .dq-workspace.dq-studio.dq-a3-studio .dq-columns>.dq-canvas-panel{grid-column:2;grid-row:1}
 .dq-workspace.dq-studio.dq-a3-studio .dq-columns>.dq-summary-panel{grid-column:3;grid-row:1}
 .dq-workspace.dq-studio.dq-a3-studio:is(.dq-hide-catalog,.dq-focus) .dq-columns{grid-template-columns:0 minmax(0,1fr) var(--dq-inspector-width)}
 .dq-workspace.dq-studio.dq-a3-studio:is(.dq-hide-summary) .dq-columns{grid-template-columns:var(--dq-catalog-width) minmax(0,1fr) 0}
 .dq-workspace.dq-studio.dq-a3-studio:is(.dq-focus,.dq-hide-catalog.dq-hide-summary) .dq-columns{grid-template-columns:0 minmax(0,1fr) 0}
}
@media(max-width:1190px) and (min-width:1001px){
 .dq-workspace.dq-studio.dq-a3-studio .dq-plan-fields{gap:10px;width:auto;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
 .dq-workspace.dq-studio.dq-a3-studio .dq-customer-choice small{display:none}
 .dq-workspace.dq-studio.dq-a3-studio .dq-customer-choice>span{margin-left:auto}
}
@media(max-width:1000px){
 .dq-workspace.dq-studio.dq-a3-studio .dq-heading{display:flex;flex-wrap:wrap;gap:8px;padding:8px 4px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-brand{padding-left:0}.dq-workspace.dq-studio.dq-a3-studio .dq-brand img{width:60px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-design-heading{display:contents}
 .dq-workspace.dq-studio.dq-a3-studio .dq-document-menu h1{font-size:16px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-document-menu>summary svg{display:none}
 .dq-workspace.dq-studio.dq-a3-studio .dq-heading-actions{order:0;gap:3px 5px;margin-left:auto;padding:0}
 .dq-workspace.dq-studio.dq-a3-studio .dq-heading-actions>.dq-button{font-size:11px;padding:4px 8px;height:29px;min-height:29px;gap:4px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-plan-fields{order:1;width:100%;max-width:none;margin:0;padding:2px 0;background:transparent;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-customer-choice small{display:none}
 .dq-workspace.dq-studio.dq-a3-studio .dq-customer-choice strong{max-width:70%}.dq-workspace.dq-studio.dq-a3-studio .dq-customer-choice>span{margin-left:auto}
 .dq-workspace.dq-studio.dq-a3-studio .dq-columns{display:block}
 .dq-workspace.dq-studio.dq-a3-studio .dq-canvas-panel{height:100%}
 .dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar{margin:0 0 8px;padding:4px;gap:4px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-top-context{margin:-8px 0 8px;padding:8px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-sheet-panel{height:33%;min-height:150px}
}
@media(max-width:520px){
 .dq-workspace.dq-studio.dq-a3-studio .dq-plan-fields{grid-template-columns:minmax(0,1fr);gap:6px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-plan-fields :is(.dq-title-field,.dq-customer-field){gap:10px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar .dq-design-toolbar{flex-basis:100%;justify-content:space-between;gap:0}
 .dq-workspace.dq-studio.dq-a3-studio .dq-design-toolbar>.dq-tool-group>.dq-tool,
 .dq-workspace.dq-studio.dq-a3-studio .dq-design-toolbar>.dq-tool-group>.dq-button,
 .dq-workspace.dq-studio.dq-a3-studio .dq-tool-menu>summary{width:29px;min-width:0;height:37px;min-height:37px;font-size:9px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-tool-group{padding-right:3px;gap:0}
 .dq-workspace.dq-studio.dq-a3-studio .dq-history-tools>.dq-button,
 .dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar>.dq-button{width:49px;height:27px;min-height:27px;flex-direction:row}
 .dq-workspace.dq-studio.dq-a3-studio .dq-canvas-footer>span{font-size:9px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-workspace-status{left:12px;bottom:12px}
}
@media(max-width:1000px){.dq-workspace.dq-studio.dq-a3-studio .dq-plan-fields{flex:0 0 100%}}
.dq-workspace.dq-studio.dq-a3-studio .dq-icon-context [data-dq-property=iconMode]{width:94px}

@media(max-width:520px){.dq-workspace.dq-studio.dq-a3-studio .dq-heading-actions>.dq-button svg{display:none}}

/* Tool bodies activate immediately; only the corner opens alternate tools. */
.dq-workspace.dq-studio.dq-a3-studio .dq-tool-split{position:relative;flex:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-tool-split>.dq-tool{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:36px;height:43px;min-height:43px;padding:4px 2px;border:1px solid transparent;border-radius:6px;background:transparent;font-size:10px;font-weight:400;line-height:1.2}
.dq-workspace.dq-studio.dq-a3-studio .dq-tool-split>.dq-tool>span{display:inline;font-size:10px}
.dq-workspace.dq-studio.dq-a3-studio .dq-tool-split>.dq-tool-flyout{position:absolute;right:0;bottom:0;width:13px;height:14px}
.dq-workspace.dq-studio.dq-a3-studio .dq-tool-flyout>summary{display:flex;align-items:center;justify-content:center;width:13px;height:14px;min-height:14px;padding:0;border:0;border-radius:3px;background:transparent;line-height:1}
.dq-workspace.dq-studio.dq-a3-studio .dq-tool-flyout>summary>span{display:block;width:0;height:0;border-left:5px solid transparent;border-bottom:5px solid currentColor}
.dq-workspace.dq-studio.dq-a3-studio .dq-tool-flyout>summary[aria-disabled=true]{opacity:.4;cursor:default}
.dq-workspace.dq-studio.dq-a3-studio .dq-tool-flyout>div{top:calc(100% + 10px);left:calc(13px - 36px);max-height:min(360px,60dvh)}
@media(max-width:520px){
 .dq-workspace.dq-studio.dq-a3-studio .dq-tool-split>.dq-tool{width:29px;height:37px;min-height:37px;font-size:9px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-tool-split>.dq-tool>span{font-size:9px}
 .dq-workspace.dq-studio.dq-a3-studio .dq-tool-flyout>div{left:calc(13px - 29px)}
}
/* Context controls float above the canvas without reserving a permanent row. */
.dq-workspace.dq-studio.dq-a3-studio .dq-top-context{display:none;position:absolute;left:8px;top:8px;z-index:10;width:max-content;max-width:calc(100% - 16px);height:auto;min-height:40px;max-height:none;flex:none;gap:12px;align-items:center;margin:0;padding:6px 10px;background:#fff;border:1px solid #e4e5e9;border-radius:6px;box-shadow:0 3px 12px #1d1d1f12;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-context :is(.dq-drawing-style,.dq-icon-context){flex-wrap:nowrap;flex:none;align-self:center;white-space:nowrap}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-context :is(.dq-placement-mode,.dq-path-hint){display:flex;align-items:center;flex:none;gap:12px;margin:0;padding:0;min-height:30px;white-space:nowrap;border:0;background:transparent;font-size:11px;line-height:1.5}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-context [hidden]{display:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-context .dq-placement-mode{flex:1;min-width:0;color:#366492}
.dq-workspace.dq-studio.dq-a3-studio .dq-placement-mode>span{overflow:hidden}
.dq-workspace.dq-studio.dq-a3-studio .dq-placement-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dq-workspace.dq-studio.dq-a3-studio .dq-viewport{overflow:hidden;overflow:clip}
.dq-workspace.dq-studio.dq-a3-studio .dq-plane-holder{position:relative;display:block;width:100%;height:100%;min-width:0;min-height:0;padding:0}
.dq-workspace.dq-studio.dq-a3-studio .dq-plane{position:absolute;margin:0}
.dq-workspace.dq-studio.dq-a3-studio .dq-upload-empty{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}
.dq-workspace.dq-studio.dq-a3-studio.dq-panning :is(.dq-viewport,.dq-plane,.dq-marker,.dq-annotation){cursor:grabbing}
.dq-workspace.dq-studio.dq-a3-studio .dq-canvas-footer{height:38px;min-height:38px}
.dq-workspace.dq-studio.dq-a3-studio .dq-canvas-footer>[data-dq-position-help]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dq-workspace.dq-studio.dq-a3-studio .dq-canvas-navigation{display:flex;align-items:center;gap:7px;margin-left:auto;flex:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-canvas-navigation>.dq-button{height:30px;min-height:30px;padding:5px 9px;gap:5px;border:1px solid #dfe3e9;background:#fff;color:#657080;border-radius:6px;font-size:11px}
.dq-workspace.dq-studio.dq-a3-studio .dq-canvas-navigation>.dq-button:hover{border-color:#aac7e8;background:#f2f7fe;color:#0071e3}
.dq-workspace.dq-studio.dq-a3-studio .dq-canvas-navigation>.dq-button[aria-pressed=true],
.dq-workspace.dq-studio.dq-a3-studio .dq-canvas-navigation>.dq-button[data-dq-action="toggle-snap"][role="switch"][aria-checked="true"]{border-color:#b8d7fa;background:#eaf3ff;color:#0071e3}
.dq-workspace.dq-studio.dq-a3-studio [data-dq-action="toggle-snap"][role="switch"] .dq-snap-toggle-track{display:block;position:relative;flex:none;width:24px;height:14px;border-radius:7px;background:#c3cad4;pointer-events:none}
.dq-workspace.dq-studio.dq-a3-studio [data-dq-action="toggle-snap"][role="switch"] .dq-snap-toggle-track::before{content:"";position:absolute;left:2px;top:2px;width:10px;height:10px;border-radius:50%;background:#fff}
.dq-workspace.dq-studio.dq-a3-studio [data-dq-action="toggle-snap"][role="switch"][aria-checked="true"] .dq-snap-toggle-track{background:#0071e3}
.dq-workspace.dq-studio.dq-a3-studio [data-dq-action="toggle-snap"][role="switch"][aria-checked="true"] .dq-snap-toggle-track::before{transform:translateX(10px)}
.dq-workspace.dq-studio.dq-a3-studio .dq-canvas-navigation svg{width:14px;height:14px}
.dq-workspace.dq-studio.dq-a3-studio .dq-keyboard-symbol{font-size:17px;line-height:16px}
.dq-workspace.dq-studio.dq-a3-studio .dq-zoom-value{min-width:45px;padding:4px 3px;border:0;background:transparent;border-radius:4px;font:inherit;font-size:11px;color:#657080;cursor:pointer;font-variant-numeric:tabular-nums}
.dq-workspace.dq-studio.dq-a3-studio .dq-zoom-value:hover{color:#0071e3;background:#edf4ff}
.dq-workspace.dq-studio.dq-a3-studio.dq-fullscreen{position:fixed;inset:0;z-index:6000;width:100vw;height:100dvh;max-height:none;margin:0;background:#f5f5f7;padding:0 8px 8px;overflow:hidden}
.dq-shortcuts-dialog{width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid #e1e5eb;border-radius:14px;background:#fff;color:#242a33;box-shadow:0 24px 80px #17274030;overflow:auto;font-family:inherit}
.dq-shortcuts-dialog::backdrop{background:#19233355}
.dq-shortcuts-dialog>header{display:flex;align-items:center;justify-content:space-between;padding:23px 26px 18px;border-bottom:1px solid #edf0f4}
.dq-shortcuts-dialog header small{color:#838b98;font-size:11px}
.dq-shortcuts-dialog h2{margin:5px 0 0;font-size:20px;font-weight:600}
.dq-shortcuts-dialog header button{width:32px;height:32px;border:0;border-radius:7px;background:#f3f5f8;color:#687486;font-size:22px;cursor:pointer}
.dq-shortcuts-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;padding:22px 26px}
.dq-shortcuts-grid h3{margin:0 0 14px;color:#0071e3;font-size:12px;font-weight:600}
.dq-shortcuts-grid section>div{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:38px;border-bottom:1px solid #f1f3f6;font-size:12px}
.dq-shortcuts-grid kbd{padding:4px 6px;border:1px solid #e0e5ed;border-bottom-width:2px;border-radius:5px;background:#f7f9fc;color:#58687f;font:inherit;font-size:10px;white-space:nowrap}
.dq-shortcuts-dialog>footer{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 26px;background:#f8fafc;border-top:1px solid #edf0f4}
.dq-shortcuts-dialog footer p{margin:0;color:#87909e;font-size:11px;line-height:1.9}
.dq-shortcuts-dialog footer button{flex:none}
@media(max-width:700px){.dq-shortcuts-grid{grid-template-columns:1fr;gap:22px;padding:18px 22px}.dq-shortcuts-dialog>footer{align-items:flex-start;padding:16px 22px}.dq-workspace.dq-studio.dq-a3-studio .dq-canvas-navigation{gap:5px;flex:1;min-width:0;max-width:100%;flex-wrap:wrap;justify-content:flex-end}.dq-workspace.dq-studio.dq-a3-studio .dq-canvas-footer{height:auto}}
/* Image assistance lives in a modal; the drawing workspace keeps its dimensions. */
.dq-image-tools-dialog{box-sizing:border-box;width:min(1080px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid #dde3eb;border-radius:14px;background:#fff;color:#242a33;box-shadow:0 24px 80px #17274030;overflow:auto;font-family:inherit}
.dq-image-tools-dialog::backdrop{background:#19233355}
.dq-image-tools-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:20px 24px 16px;border-bottom:1px solid #edf0f4}
.dq-image-tools-dialog header small{color:#87909e;font-size:11px}
.dq-image-tools-dialog h2{margin:4px 0 7px;font-size:21px;font-weight:600;line-height:1.3}
.dq-image-tools-dialog header p{margin:0;color:#748091;font-size:12px;line-height:1.6}
.dq-image-tools-dialog header>button{flex:none;width:32px;height:32px;border:0;border-radius:7px;background:#f3f5f8;color:#687486;font-size:23px;cursor:pointer}
.dq-image-tools-dialog input,.dq-image-tools-dialog select{box-sizing:border-box;border:1px solid #dce2eb;border-radius:6px;background:#fff;color:#2e3745;padding:8px 10px;min-width:0;font:inherit;font-size:12px}
.dq-image-tools-dialog input:focus,.dq-image-tools-dialog select:focus{outline:2px solid #a8d0fb;outline-offset:1px}
.dq-image-tools-dialog .dq-button{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:5px;min-height:34px;padding:7px 12px;border:1px solid #dce2eb;border-radius:6px;background:#fff;color:#4b596e;font:inherit;font-size:12px;cursor:pointer}
.dq-image-tools-dialog .dq-button[data-primary=true]{border-color:#0071e3;background:#0071e3;color:#fff}
.dq-image-tools-dialog button:disabled{cursor:default;opacity:.42}
.dq-image-tools-dialog>footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 24px;border-top:1px solid #edf0f4;background:#f8fafc}
.dq-image-tools-dialog footer>span{font-size:11px;line-height:1.7;color:#778497}
.dq-image-tools-dialog footer>div{display:flex;gap:8px;flex:none}
.dq-image-error{margin:12px 24px 0;padding:10px 12px;border:1px solid #f0dfb7;border-radius:6px;background:#fffbf2;color:#946b25;font-size:12px;line-height:1.65}
.dq-image-tools-dialog [hidden]{display:none!important}
.dq-room-recognition-body{display:grid;grid-template-columns:minmax(0,1fr) 290px;min-height:250px;height:min(58dvh,600px)}
.dq-recognition-preview{display:flex;align-items:flex-start;justify-content:center;padding:20px;overflow:auto;background:#eef1f5;border-right:1px solid #e3e8ef}
.dq-recognition-image{position:relative;width:fit-content;max-width:100%;background:#fff;box-shadow:0 3px 16px #182d4510;line-height:0}
.dq-recognition-image>img{display:block;width:auto;max-width:100%;height:auto;max-height:calc(min(58dvh,600px) - 40px)}
.dq-recognition-image>[data-room-overlay]{position:absolute;inset:0}
.dq-recognition-image [data-room-locate]{position:absolute;min-width:0;min-height:0;border:1.5px solid #0071e3;border-radius:2px;background:#0071e30a;cursor:grab;padding:0;touch-action:none;user-select:none;z-index:1;box-sizing:border-box}
.dq-recognition-image [data-room-move]{position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:transparent;cursor:grab;touch-action:none}
.dq-recognition-image .dq-room-range-badge{position:absolute;left:5px;top:5px;display:grid;place-items:center;min-width:19px;height:19px;border-radius:50%;background:#0071e3;color:#fff;font:11px/1 system-ui;box-shadow:0 0 0 2px #fff;pointer-events:none}
.dq-recognition-image [data-room-title],.dq-recognition-image [data-room-title-input]{position:absolute;left:5px;top:29px;box-sizing:border-box;max-width:calc(100% - 10px);min-width:0;margin:0;padding:2px 4px;border:1px solid transparent;border-radius:3px;background:#fffffff0;color:#0864bd;font:500 11px/1.5 system-ui;line-height:1.5;z-index:1}
.dq-recognition-image [data-room-title]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:text;text-align:left}
.dq-recognition-image [data-room-title]:hover{border-color:#a8d0fb;background:#fff}
.dq-recognition-image [data-room-title-input]{width:150px;user-select:text;cursor:text;background:#fff;border-color:#0071e3}
.dq-recognition-image [data-room-locate].is-active{outline:1px solid #0071e3;outline-offset:1px;background:#0071e318;z-index:3}
.dq-recognition-image [data-room-locate].is-dragging{z-index:4}
.dq-recognition-image [data-room-locate].is-dragging [data-room-move]{cursor:grabbing}
.dq-recognition-image [data-room-resize]{position:absolute;width:10px;height:10px;min-width:0;min-height:0;padding:0;border:1.5px solid #0071e3;border-radius:2px;background:#fff;touch-action:none;z-index:2}
.dq-recognition-image [data-room-resize]:after{content:"";position:absolute;inset:-5px}
.dq-recognition-image [data-room-resize=nw]{left:-5px;top:-5px;cursor:nwse-resize}
.dq-recognition-image [data-room-resize=ne]{right:-5px;top:-5px;cursor:nesw-resize}
.dq-recognition-image [data-room-resize=sw]{left:-5px;bottom:-5px;cursor:nesw-resize}
.dq-recognition-image [data-room-resize=se]{right:-5px;bottom:-5px;cursor:nwse-resize}
.dq-recognition-image [data-room-move]:focus-visible,.dq-recognition-image [data-room-resize]:focus-visible{outline:2px solid #0071e3;outline-offset:3px}
.dq-recognition-candidates{display:flex;flex-direction:column;padding:16px;overflow:hidden;min-width:0;min-height:0}
.dq-recognition-candidates>[data-room-candidates]{flex:1;min-height:0;overflow:auto}
.dq-room-candidate{display:grid;grid-template-columns:28px minmax(0,1fr) 22px;gap:5px;align-items:center;padding:6px 0;border-bottom:1px solid #edf0f4}
.dq-room-candidate.is-active{background:#f0f7ff}
.dq-candidate-check{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:10px;color:#7b889a}
.dq-candidate-check input{accent-color:#0071e3;margin:0;width:14px;height:14px}
.dq-candidate-name{min-width:0}
.dq-candidate-name input{width:100%;padding:7px 8px}
.dq-room-candidate>button{width:22px;height:27px;padding:0;border:0;border-radius:4px;background:transparent;color:#8794a6;font-size:18px;cursor:pointer}
.dq-room-candidate>button:hover{background:#fff0f0;color:#c55}
.dq-room-manual{display:flex;gap:6px;margin-top:14px;flex:none}
.dq-room-manual input{flex:1;width:0}
.dq-recognition-candidates>p,.dq-image-empty{font-size:11px;line-height:1.9;color:#8a95a5;margin:12px 0}
.dq-background-preview{display:flex;align-items:flex-start;justify-content:center;min-height:220px;height:min(58dvh,600px);padding:18px;overflow:auto;background:#eef1f5}
.dq-background-preview>img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;background:#fff;box-shadow:0 3px 16px #182d4510}
.dq-background-preview>p{margin:70px 0;font-size:12px;color:#7b889a}
.dq-pdf-import-controls{display:flex;justify-content:center;align-items:center;gap:12px;padding:13px 24px;font-size:12px;color:#6a778a}
.dq-pdf-import-controls label{display:flex;align-items:center;gap:8px}
.dq-workspace .dq-background-settings{padding:2px 0 14px;margin-bottom:14px;border-bottom:1px solid #e8edf3}
.dq-workspace .dq-background-settings>strong{display:block;margin-bottom:10px;font-size:12px;font-weight:600}
.dq-workspace .dq-background-settings p{margin:8px 0 0;font-size:10px;line-height:1.8;color:#8a95a5}
.dq-workspace .dq-background-settings>.dq-button{margin-top:8px;font-size:11px}
.dq-workspace .dq-room-manager>.dq-room-manager-heading{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:8px}
.dq-workspace .dq-room-manager-heading .dq-button{min-height:25px;padding:4px 7px;font-size:10px}
.dq-workspace .dq-room-manager-actions{display:flex;gap:4px}
.dq-workspace .dq-room-manager .dq-room-range-button{padding:3px 5px;font-size:10px;color:#7c8898}
.dq-workspace .dq-room-manager .dq-room-range-button.has-region{color:#0071e3;border-color:#c1d9f5;background:#f2f7ff}
.dq-workspace .dq-room-assignment-hint{display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:10px;color:#8390a1;line-height:1.6}
.dq-workspace .dq-room-assignment-hint .dq-button{flex:none;font-size:10px;min-height:24px;padding:3px 6px}
.dq-workspace.dq-studio.dq-a3-studio .dq-room-heading-actions{display:flex;gap:5px;flex:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-room-heading-actions .dq-button{padding:0;min-height:24px;font-size:10px;white-space:nowrap}
@media(max-width:700px){.dq-image-tools-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.dq-image-tools-dialog>header{padding:16px}.dq-room-recognition-body{grid-template-columns:1fr;height:auto}.dq-recognition-preview{max-height:32dvh;border-right:0;border-bottom:1px solid #e3e8ef}.dq-recognition-candidates{max-height:35dvh}.dq-image-tools-dialog>footer{padding:12px 16px;align-items:flex-start;flex-wrap:wrap}.dq-background-preview{height:48dvh}}

/* Settings live in a compact window; the side panel keeps the device list. */
.dq-workspace.dq-studio.dq-a3-studio .dq-settings-dialog{width:460px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid #dce1e8;border-radius:14px;background:#fff;color:#454a52;box-shadow:0 20px 70px #172b4d30;font-family:inherit;font-size:12px;line-height:1.5;overflow:hidden}
.dq-workspace.dq-studio.dq-a3-studio .dq-settings-dialog[open]{display:flex;flex-direction:column}
.dq-settings-dialog::backdrop{background:#182d4538}
.dq-settings-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;padding:15px 18px;border-bottom:1px solid #e8edf3}
.dq-settings-dialog>header h2{margin:0;font-size:16px;font-weight:600;color:#303640}
.dq-settings-dialog>header button{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;border:0;border-radius:5px;background:transparent;color:#788290;font:inherit;font-size:22px;line-height:1;cursor:pointer}
.dq-settings-dialog>header button:hover{background:#f1f4f8;color:#303640}
.dq-settings-dialog-body{min-height:0;overflow:auto;overscroll-behavior:contain}
.dq-workspace.dq-studio.dq-a3-studio .dq-settings-dialog .dq-sheet-label{padding:16px 18px 12px;font-size:12px}
.dq-workspace.dq-studio.dq-a3-studio .dq-settings-dialog .dq-settings>[data-dq-settings]{padding:0 18px 16px}
.dq-workspace.dq-studio.dq-a3-studio .dq-settings-dialog .dq-background-settings>.dq-button{font-size:12px;min-height:30px;padding:5px 9px}
.dq-settings-dialog .dq-background-settings>strong,.dq-settings-dialog .dq-room-manager-heading>strong{font-size:12px;font-weight:600}
.dq-settings-dialog .dq-property-grid{gap:12px}
.dq-settings-dialog .dq-room-manager{margin-top:16px}
.dq-workspace.dq-studio.dq-a3-studio .dq-settings-dialog .dq-export-section{margin:0 18px 16px;padding:12px 0 0;border-top:1px solid #e8edf3}
.dq-settings-dialog .dq-export-section>summary{cursor:pointer;font-size:12px}
.dq-settings-dialog [data-dq-actions]:not(:empty){padding:0 18px 16px}
.dq-settings-dialog>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;padding:12px 18px;border-top:1px solid #e8edf3;background:#fafbfc}
.dq-settings-dialog>footer>span{color:#8a95a5;font-size:11px}
.dq-settings-dialog>footer .dq-button{min-height:32px;padding:5px 16px}
@media(max-width:520px){.dq-workspace.dq-studio.dq-a3-studio .dq-settings-dialog{max-width:calc(100vw - 20px);max-height:calc(100dvh - 24px)}}

/* Keep background import after the compact settings gear, clear of the paper. */
.dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar>[data-dq-action="show-settings"]{width:28px;height:43px;min-height:43px;padding:4px 2px;gap:4px;flex:none;flex-direction:column;font-size:10px}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar>[data-dq-action="show-settings"] svg{width:16px;height:16px}
.dq-workspace.dq-studio.dq-a3-studio .dq-plan-toolbar-actions{display:flex;align-items:center;gap:6px;flex:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar :is(.dq-background-import-entry,.dq-ai-plan-entry){flex:none;flex-direction:row;width:auto;height:32px;min-height:32px;padding:6px 9px;gap:5px;font-size:12px;border-color:#dedee3;border-radius:6px;background:#fff;color:#6e737c;box-shadow:none}
.dq-workspace.dq-studio.dq-a3-studio :is(.dq-background-import-entry,.dq-ai-plan-entry):hover:not(:disabled){color:#0071e3;border-color:#a9c8ed;background:#f4f8ff}
.dq-workspace.dq-studio.dq-a3-studio :is(.dq-background-import-entry,.dq-ai-plan-entry):focus-visible{outline:2px solid #0071e3;outline-offset:2px}
.dq-workspace.dq-studio.dq-a3-studio :is(.dq-background-import-entry,.dq-ai-plan-entry) svg{width:19px;height:19px}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar .dq-background-import-entry{background:#0071e3;color:#fff;border-color:#0071e3;font-weight:600}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-toolbar .dq-background-import-entry:hover:not(:disabled){background:#0062c4;color:#fff;border-color:#0062c4}
.dq-annotation image{user-select:none}
.dq-resize-handle[data-dq-resize="nw"],.dq-resize-handle[data-dq-resize="se"]{cursor:nwse-resize}
.dq-resize-handle[data-dq-resize="ne"],.dq-resize-handle[data-dq-resize="sw"]{cursor:nesw-resize}

/* Suggested ranges are edited in the recognition preview, never on source pixels. */
.dq-room-position-hint{display:none}
.dq-recognition-image [data-room-locate].is-pending .dq-room-range-badge{animation:dq-room-marker-pulse 1.4s ease-in-out infinite}
.dq-recognition-image [data-room-locate].is-dragging .dq-room-range-badge{animation-play-state:paused;opacity:1}
.dq-recognition-image [data-room-overlay].is-preview-unavailable [data-room-locate]{visibility:hidden}
@keyframes dq-room-marker-pulse{0%,100%{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 4px #0071e340}50%{opacity:.48;box-shadow:0 0 0 2px #fff,0 0 0 9px #0071e310}}
@media(prefers-reduced-motion:reduce){.dq-recognition-image [data-room-locate].is-pending .dq-room-range-badge{animation:none;outline:2px dashed #0071e3;outline-offset:3px}}
.dq-recognition-image [data-room-locate].is-excluded{border-color:#a5aeba;background:#8794a60a;opacity:.55}
.dq-recognition-image [data-room-locate].is-excluded .dq-room-range-badge{background:#929daa}

/* Device rows open the shared read-only product page; quantities retain point location. */
.dq-workspace.dq-studio.dq-a3-studio .dq-summary-product-link{display:flex;flex:1;align-items:center;gap:9px;min-width:0;padding:0;border:0;background:transparent;text-align:left;font:inherit;cursor:pointer}
.dq-workspace.dq-studio.dq-a3-studio .dq-summary-product-link>img{width:35px;height:35px;object-fit:contain;flex:none;background:transparent}
.dq-workspace.dq-studio.dq-a3-studio .dq-room-device-row .dq-summary-product-link{gap:6px}
.dq-workspace.dq-studio.dq-a3-studio .dq-room-device-row .dq-summary-product-link>img{width:27px;height:27px}
.dq-workspace.dq-studio.dq-a3-studio .dq-summary-product-link:hover .dq-summary-copy>strong{color:#0071e3}
.dq-workspace.dq-studio.dq-a3-studio .dq-summary-locate{flex:none;min-width:38px;min-height:32px;padding:4px 0;border:0;border-radius:4px;background:transparent;color:#77777d;font:inherit;cursor:pointer;text-align:right}
.dq-workspace.dq-studio.dq-a3-studio .dq-summary-locate:hover{color:#0071e3;background:#edf4ff}
.dq-workspace.dq-studio.dq-a3-studio .dq-summary-locate .dq-summary-quantity{font-size:10px;font-weight:400;white-space:nowrap;font-variant-numeric:tabular-nums;color:inherit}
.dq-product-detail-dialog{width:min(860px,calc(100vw - 32px));max-width:none;max-height:90dvh;margin:auto;padding:0;border:1px solid #e1e3e8;border-radius:14px;background:#fff;color:#1d1d1f;box-shadow:0 18px 60px #0003;overflow:hidden}
.dq-product-detail-dialog[open]{display:flex;flex-direction:column}
.dq-product-detail-dialog::backdrop{background:#1d1d1f55}
.dq-product-detail-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px;border-bottom:1px solid #e8e8ed;flex:none}
.dq-product-detail-dialog>header h2{margin:0;font-size:16px;font-weight:600}
.dq-product-detail-dialog>header button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:8px;background:#f5f5f7;color:#6e6e73;font-size:22px;cursor:pointer}
.dq-product-detail-dialog [data-dq-product-detail-content]{overflow:auto;min-height:0;overscroll-behavior:contain}
.dq-product-detail-dialog .pd-product{--pd-ink:#1d1d1f;--pd-muted:#6e6e73;--pd-bronze:#0071e3;--pd-line:#e8e8ed;background:#fff;font-family:inherit}
.dq-product-detail-dialog :is(.pd-gallery,.pd-main-image,.pd-thumbnails){background:#f5f5f7}
.dq-product-detail-dialog :is(.pd-brandline,.pd-category,.pd-description p,.pd-detail-copy p){color:#6e6e73}
.dq-product-detail-dialog .pd-product .pd-color{border-radius:6px}
@media(min-width:680px){.dq-product-detail-dialog .pd-product{display:grid;grid-template-columns:1fr 1fr;align-items:start}.dq-product-detail-dialog .pd-brandline,.dq-product-detail-dialog .pd-tablist,.dq-product-detail-dialog .pd-panel,.dq-product-detail-dialog .pd-end-mark{grid-column:1/-1}.dq-product-detail-dialog .pd-gallery{margin:0 0 20px 20px}.dq-product-detail-dialog .pd-intro{padding-top:20px}}
@media(max-width:600px){.dq-product-detail-dialog{width:calc(100vw - 20px);max-height:92dvh;border-radius:12px}.dq-product-detail-dialog>header{padding:10px 14px}.dq-product-detail-dialog .pd-main-image{aspect-ratio:4/3}.dq-product-detail-dialog .pd-product .pd-name{font-size:23px}}

/* Device appearance belongs to an explicit toolbar menu, without resizing the sheet. */
.dq-workspace.dq-studio.dq-a3-studio .dq-marker-style-menu>.dq-icon-context{display:block;left:0;top:calc(100% + 9px);width:min(860px,var(--dq-icon-space,860px));max-width:none;min-width:220px;margin:0;padding:13px 14px 10px;border:1px solid #dce2eb;border-radius:8px;background:#fff;box-shadow:0 8px 28px #1d1d1f18;white-space:normal;color:#596374}
.dq-workspace.dq-studio.dq-a3-studio .dq-marker-style-menu>.dq-icon-context[hidden]{display:none}
.dq-workspace.dq-studio.dq-a3-studio .dq-icon-controls{display:flex;align-items:center;flex-wrap:wrap;gap:13px 17px}
.dq-workspace.dq-studio.dq-a3-studio .dq-icon-controls label{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:400;white-space:nowrap}
.dq-workspace.dq-studio.dq-a3-studio .dq-icon-controls :is(input,select){height:30px;min-width:0;max-width:none;width:88px;padding:4px 7px;border:1px solid #d7dee8;border-radius:5px;background:#fff;color:#263242;font:inherit;font-size:12px}
.dq-workspace.dq-studio.dq-a3-studio .dq-icon-controls [data-dq-icon-style="iconMode"]{width:94px}
.dq-workspace.dq-studio.dq-a3-studio .dq-icon-controls .dq-icon-size>span{display:flex;align-items:center;gap:9px}
.dq-workspace.dq-studio.dq-a3-studio .dq-icon-controls input[type="range"]{width:100px;height:22px;border:0;padding:0;accent-color:#0071e3;background:transparent}
.dq-workspace.dq-studio.dq-a3-studio .dq-icon-controls input[type="number"]{width:54px}
.dq-workspace.dq-studio.dq-a3-studio .dq-icon-controls input[type="color"]{width:42px;padding:3px;cursor:pointer}
.dq-workspace.dq-studio.dq-a3-studio .dq-icon-context [data-dq-icon-scope]{margin:10px 0 0;padding-top:9px;border-top:1px solid #edf0f4;color:#8792a1;font-size:10px;line-height:1.4}
.dq-workspace.dq-studio.dq-a3-studio .dq-icon-controls :is(input,select):disabled{opacity:.45;cursor:default}
@media(max-width:700px){.dq-workspace.dq-studio.dq-a3-studio .dq-marker-style-menu>.dq-icon-context{padding:12px}.dq-workspace.dq-studio.dq-a3-studio .dq-icon-controls{gap:12px}.dq-workspace.dq-studio.dq-a3-studio .dq-icon-controls label{justify-content:space-between}.dq-workspace.dq-studio.dq-a3-studio .dq-icon-controls .dq-icon-size{width:100%}.dq-workspace.dq-studio.dq-a3-studio .dq-icon-controls input[type="range"]{width:min(100px,23vw)}}

/* A plain heading replaces the independent drawing-library menu. */
.dq-workspace.dq-studio.dq-a3-studio .dq-document-heading{display:flex;align-items:center;gap:8px;padding:4px 0;min-height:35px;flex:none;color:#303237}
.dq-workspace.dq-studio.dq-a3-studio .dq-document-heading svg{width:23px;height:23px;color:#9c9fa5}
.dq-workspace.dq-studio.dq-a3-studio .dq-document-heading h1{font-size:20px;font-weight:600;letter-spacing:1px;margin:0;white-space:nowrap}
@media(max-width:1000px){.dq-workspace.dq-studio.dq-a3-studio .dq-document-heading{min-height:31px}.dq-workspace.dq-studio.dq-a3-studio .dq-document-heading h1{font-size:16px}.dq-workspace.dq-studio.dq-a3-studio .dq-document-heading svg{display:none}}

/* Product-name callouts use the existing floating context, without moving the paper. */
.dq-workspace.dq-studio.dq-a3-studio .dq-design-toolbar>.dq-tool-group>[data-dq-action="product-callouts"].active{background:#eaf3ff;color:#0071e3;border-color:#c8dfff}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-context:has(>.dq-product-callouts:not([hidden])){align-items:flex-start;padding:9px 11px;overflow-y:auto;max-height:calc(100% - 16px)}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-context>.dq-product-callouts{display:flex;flex-direction:column;align-items:stretch;flex:0 1 auto;min-width:0;gap:8px;width:min(500px,calc(100vw - 60px));font-size:11px;line-height:1.45;color:#626874;white-space:normal}
.dq-workspace.dq-studio.dq-a3-studio .dq-top-context>.dq-product-callouts[hidden]{display:none}
.dq-workspace .dq-callout-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.dq-workspace .dq-callout-heading strong{color:#303640;font-size:12px;font-weight:600}
.dq-workspace .dq-callout-heading>div{display:flex;align-items:center;gap:12px}
.dq-workspace .dq-callout-heading button,.dq-workspace .dq-callout-actions button{height:28px;border:1px solid #dce1e8;border-radius:5px;padding:3px 8px;background:#fff;color:#5e6876;font:inherit;cursor:pointer;white-space:nowrap}
.dq-workspace .dq-callout-heading button:hover,.dq-workspace .dq-callout-actions button:hover{background:#f0f6ff;color:#0071e3;border-color:#bfd8f8}
.dq-workspace .dq-product-callouts :is(button,input,select):disabled{opacity:.45;cursor:default}
.dq-workspace .dq-product-callouts :is(button,input,select):focus-visible{outline:2px solid #0071e3;outline-offset:2px}
.dq-workspace .dq-callout-heading .dq-callout-reset{height:24px;padding:0;border:0;background:none;color:#6b7788;font-size:10px}
.dq-workspace .dq-callout-heading .dq-callout-close{height:24px;width:24px;padding:0;border:0;font-size:20px;line-height:1;color:#8a939f}
.dq-workspace .dq-callout-section{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:8px;margin:0;padding:0;min-width:0}
.dq-workspace .dq-callout-section+.dq-callout-section{padding-top:7px;border-top:1px solid #edf0f4}
.dq-workspace .dq-callout-section h3{margin:0;padding-top:7px;color:#39475a;font-size:11px;font-weight:600;line-height:1.4}
.dq-workspace .dq-callout-fields{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;min-width:0}
.dq-workspace .dq-callout-fields label{display:inline-flex;flex:none;flex-direction:row;align-items:center;gap:4px;min-width:0;color:#7b8492;font-size:10px;font-weight:400;white-space:nowrap}
.dq-workspace .dq-callout-fields :is(select,input){box-sizing:border-box;flex:none;width:68px;height:28px;min-width:0;border:1px solid #dce1e8;border-radius:5px;padding:3px 5px;background:#fff;color:#354052;font:inherit;font-size:11px}
.dq-workspace .dq-callout-fields [data-dq-callout-style="fontFamily"]{width:84px}
.dq-workspace .dq-callout-fields [data-dq-callout-style="fontSize"]{width:44px}
.dq-workspace .dq-callout-fields [data-dq-callout-style="fontWeight"]{width:62px}
.dq-workspace .dq-callout-fields [data-dq-callout-style="labelShape"]{width:80px}
.dq-workspace .dq-callout-fields input[type="color"]{padding:3px}
.dq-workspace .dq-callout-fields .dq-color-control{width:34px}
.dq-workspace .dq-callout-fields .dq-color-control>.dq-color-trigger{width:34px;min-width:34px;height:28px;justify-content:center;padding:4px;gap:0}
.dq-workspace .dq-callout-fields .dq-color-swatch{width:20px;height:16px}
.dq-workspace .dq-callout-fields .dq-color-chevron{display:none}
.dq-workspace .dq-callout-footer{display:flex;flex-direction:column;gap:5px;padding-top:8px;border-top:1px solid #edf0f4}
.dq-workspace .dq-callout-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.dq-workspace .dq-callout-actions>button{flex:none}
.dq-workspace .dq-callout-actions>[data-dq-callout-action="selected"]{background:#0071e3;color:#fff;border-color:#0071e3}
.dq-workspace .dq-callout-actions>[data-dq-callout-action="selected"]:hover{background:#0065cb;border-color:#0065cb}
.dq-workspace .dq-callout-actions>[data-dq-callout-action="clear"]{color:#7b8492}
.dq-workspace [data-dq-callout-help]{margin:0;color:#8a94a2;font-size:10px;line-height:1.5}
@media(max-width:460px){.dq-workspace .dq-callout-section{gap:6px}.dq-workspace .dq-callout-fields{gap:6px}.dq-workspace .dq-callout-actions>button{padding:3px 7px}}
.dq-workspace[data-dq-tool="callout"] .dq-marker{pointer-events:auto;cursor:crosshair}

/* Free-text editing follows the Text tool, keeping the paper and sidebar in place. */
.dq-workspace .dq-text-editor-popover{position:fixed;z-index:50;box-sizing:border-box;width:min(320px,calc(100vw - 16px));padding:10px 12px;background:#fff;border:1px solid #dce1e8;border-radius:7px;box-shadow:0 6px 24px #1d35551a;overflow:auto;color:#354052;font-size:11px;line-height:1.45}
.dq-workspace .dq-text-editor-popover[hidden]{display:none}
.dq-workspace .dq-text-editor-popover>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 7px}
.dq-workspace .dq-text-editor-popover>header strong{font-size:12px;font-weight:600;color:#303640}
.dq-workspace .dq-text-editor-popover>header button{display:grid;place-items:center;width:24px;height:24px;padding:0;border:0;border-radius:4px;background:transparent;color:#8a939f;font-family:inherit;font-size:20px;line-height:1;cursor:pointer}
.dq-workspace.dq-studio.dq-a3-studio .dq-text-editor-popover>.dq-property-panel{margin:0;padding:0;border:0;background:transparent}
.dq-workspace .dq-text-editor-styles{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
.dq-workspace .dq-text-editor-styles label{display:inline-flex;flex:none;align-items:center;gap:4px;font-size:10px;font-weight:400;white-space:nowrap;color:#7b8492}
.dq-workspace .dq-text-editor-styles :is(input,select){box-sizing:border-box;flex:none;width:68px;min-width:0;height:28px;padding:3px 5px;border:1px solid #dce1e8;border-radius:5px;background:#fff;color:#354052;font-family:inherit;font-size:11px}
.dq-workspace .dq-text-editor-styles [data-dq-property="fontSize"]{width:44px}
.dq-workspace .dq-text-editor-styles [data-dq-property="fontFamily"]{width:84px}
.dq-workspace .dq-text-editor-styles [data-dq-property="fontWeight"]{width:62px}
.dq-workspace .dq-text-editor-styles .dq-color-control{width:34px}
.dq-workspace .dq-text-editor-styles .dq-color-control>.dq-color-trigger{width:34px;min-width:34px;height:28px;justify-content:center;padding:4px;gap:0}
.dq-workspace .dq-text-editor-styles .dq-color-swatch{width:20px;height:16px}
.dq-workspace .dq-text-editor-styles .dq-color-chevron{display:none}
.dq-workspace .dq-text-editor-actions{display:flex;flex-wrap:wrap;gap:6px;padding-top:8px;margin-top:8px;border-top:1px solid #edf0f4}
.dq-workspace .dq-text-editor-actions .dq-button{flex:none;min-height:28px;padding:3px 7px;border-radius:5px;font-size:11px;line-height:1.4}
.dq-workspace .dq-text-editor-hint{margin:6px 0 0;color:#8a94a2;font-size:10px}
.dq-workspace .dq-text-editor-popover :is(button,input,select,textarea):disabled{opacity:.45;cursor:default}
.dq-workspace .dq-text-editor-popover :is(button,input,select,textarea):focus-visible{outline:2px solid #0071e3;outline-offset:2px}
.dq-workspace .dq-inline-text-editor{position:fixed;z-index:60;box-sizing:border-box;min-height:30px;padding:4px 6px;border:1px solid #0071e3;border-radius:3px;outline:2px solid #0071e326;background:#fffffff5;line-height:1.3;resize:none;overflow:auto;box-shadow:0 2px 8px #1d35551a}
.dq-workspace .dq-inline-text-editor[hidden]{display:none}
.dq-workspace [data-dq-text-editing] text{visibility:hidden}

/* Uncalibrated rulers offer a real-size input; recalibration belongs to Measure. */
.dq-measure-tool>.dq-measure-calibration{position:absolute;z-index:20;top:calc(100% + 7px);left:50%;transform:translateX(-50%);min-height:34px;padding:7px 12px;border:1px solid #c4d9f4;border-radius:7px;background:#fff;color:#0071e3;font-family:inherit;font-size:12px;font-weight:500;line-height:1.4;box-shadow:0 3px 12px #1d35551a;white-space:nowrap;cursor:pointer}
.dq-measure-tool>.dq-measure-calibration[hidden]{display:none}
.dq-measure-tool>.dq-measure-calibration:hover:not(:disabled){background:#edf5ff;border-color:#0071e3}
.dq-measure-tool>.dq-measure-calibration:focus-visible{outline:2px solid #0071e3;outline-offset:2px}
.dq-measure-tool>.dq-measure-calibration:disabled{opacity:.5;cursor:default}
.dq-ruler-calibration-trigger{position:absolute;z-index:5;min-height:32px;padding:6px 13px;border:1px solid #c4d9f4;border-radius:7px;background:#fff;color:#0071e3;font-family:inherit;font-size:12px;font-weight:500;line-height:1.4;box-shadow:0 2px 8px #1d35551a;cursor:pointer;white-space:nowrap}
.dq-ruler-calibration-trigger[hidden]{display:none}
.dq-ruler-calibration-trigger:hover{background:#edf5ff;border-color:#0071e3}
.dq-ruler-calibration-trigger:disabled{opacity:.5;cursor:default}
.dq-ruler-calibration-dialog{position:absolute;inset:auto;margin:0;z-index:8;box-sizing:border-box;width:280px;max-width:calc(100% - 16px);padding:12px;border:1px solid #c4d9f4;border-radius:8px;background:#fff;color:#1d1d1f;box-shadow:0 6px 24px #1d355524;font-family:inherit;cursor:default}
.dq-ruler-calibration-dialog form{margin:0}
.dq-workspace .dq-ruler-calibration-dialog header{display:flex;justify-content:space-between;align-items:center;padding:0;border:0;margin:0 0 8px;background:transparent}
.dq-ruler-calibration-dialog h2{margin:0;font-size:13px;line-height:20px;font-weight:600}
.dq-ruler-calibration-dialog p{margin:7px 0 0;font-size:11px;line-height:16px;color:#6e6e73}
.dq-ruler-calibration-dialog p:empty{display:none}
.dq-ruler-calibration-dialog header button{display:grid;place-items:center;border:0;border-radius:4px;width:24px;height:24px;padding:0;background:transparent;color:#86868b;font-size:20px;line-height:1;cursor:pointer}
.dq-ruler-calibration-dialog header button:hover{background:#f5f5f7;color:#1d1d1f}
.dq-ruler-length-input{display:flex;align-items:center;gap:6px}
.dq-ruler-length-input input,.dq-ruler-length-input select{min-width:0;box-sizing:border-box;height:34px;padding:6px 8px;border:1px solid #d2d2d7;border-radius:6px;background:#fff;color:#1d1d1f;font:inherit;font-size:13px}
.dq-ruler-length-input input{flex:1;width:100%}
.dq-ruler-length-input select{width:64px;flex:none}
.dq-ruler-length-input :focus{outline:2px solid #0071e333;outline-offset:1px;border-color:#0071e3}
.dq-ruler-calibration-dialog [data-dq-calibration-error]{color:#c44223}
.dq-ruler-calibration-dialog .dq-button{height:34px;min-height:34px;padding:6px 10px;font-size:12px;white-space:nowrap}
.dq-workspace .dq-plane>.dq-calibration-overlay{position:absolute;inset:0;width:100%;height:100%;z-index:4;overflow:visible;pointer-events:none}
.dq-calibration-overlay [data-dq-calibration-endpoint]{pointer-events:all;cursor:grab;touch-action:none}
.dq-calibration-overlay [data-dq-calibration-endpoint]:active{cursor:grabbing}
@media(max-width:600px){.dq-ruler-length-input input{font-size:16px}}

/* Catalog pictures inspect the product; names keep the existing placement action. */
.dq-model-card>button.dq-product-image,.dq-model-card>button.dq-product-copy{border:0;margin:0;font:inherit;color:inherit;text-align:left;appearance:none}
.dq-model-card>button.dq-product-image{padding:0;cursor:pointer}
.dq-model-card>button.dq-product-copy{padding:0;background:transparent;cursor:pointer}
.dq-workspace.dq-studio .dq-model-card>button.dq-product-copy{padding:0 3px}
.dq-model-card>button:focus-visible{outline:2px solid #0071e3;outline-offset:2px}
/* The package entry stays beside the catalog title; counts have their own quiet line. */
.dq-workspace.dq-studio .dq-catalog-panel .dq-panel-heading{position:relative;justify-content:space-between}
.dq-workspace.dq-studio .dq-catalog-panel .dq-panel-heading>[data-dq-catalog-count]{flex-basis:100%;white-space:normal}
.dq-template-menu{position:relative;z-index:8;margin-left:auto}
.dq-template-menu>summary{display:flex;align-items:center;gap:5px;list-style:none;cursor:pointer;font-size:12px;font-weight:500;color:#0071e3;border:1px solid #c6ddfa;background:#f1f7ff;border-radius:6px;padding:5px 9px;line-height:20px}
.dq-template-menu>summary::-webkit-details-marker{display:none}
.dq-template-menu>summary svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.dq-template-menu[open]>summary{background:#e8f2ff;border-color:#0071e3}
.dq-template-menu>summary:focus-visible,.dq-template-menu button:focus-visible{outline:2px solid #0071e3;outline-offset:2px}
.dq-template-chevron{font-size:13px;margin-left:2px}
.dq-template-menu>div{position:absolute;right:0;top:calc(100% + 6px);width:168px;background:#fff;border:1px solid #dce2ea;border-radius:9px;padding:5px;box-shadow:0 8px 24px #1d1d1f1a}
.dq-template-menu button{display:grid;gap:2px;width:100%;text-align:left;border:0;background:none;border-radius:5px;padding:9px 10px;cursor:pointer;color:#252b35}
.dq-template-menu button:hover{background:#edf5ff}
.dq-template-menu button strong{font-size:13px;font-weight:500}
.dq-template-menu button small{font-size:11px;line-height:1.5;color:#818896}
/* Background save keeps the current floor editable (aria-busy stays true for the host). */
.dq-workspace[aria-busy="true"][data-dq-saving="true"][data-dq-tool="select"] .dq-marker,.dq-workspace[aria-busy="true"][data-dq-saving="true"][data-dq-tool="select"] [data-dq-object]{pointer-events:auto}.dq-workspace[aria-busy="true"][data-dq-saving="true"][data-dq-tool="select"] .dq-annotation{pointer-events:all}
.dq-used-strip{--dq-used-ease:cubic-bezier(.22,1,.36,1);position:relative;height:0;min-width:0;z-index:3}.dq-used-strip[hidden]{display:none}
.dq-used-toggle{position:absolute;left:20px;bottom:19px;display:flex;align-items:center;justify-content:center;width:28px;height:32px;padding:0;border:1px solid #d2d2d7;border-radius:8px;background:#fff;color:#1d1d1f;cursor:pointer;z-index:2;box-shadow:0 4px 14px #1d1d1f24;transition:background-color .2s ease,color .2s ease,transform .15s ease}.dq-used-toggle:hover{background:#f5f5f7;color:#0071e3}.dq-used-toggle:active{transform:scale(.92)}.dq-workspace .dq-used-toggle svg{width:18px;height:18px;stroke-width:2.4;transition:transform .65s var(--dq-used-ease)}
.dq-used-list{position:absolute;left:12px;bottom:8px;display:flex;gap:6px;width:max-content;max-width:calc(100% - 24px);overflow-x:auto;overscroll-behavior-x:contain;padding:6px 10px 6px 50px;background:#fff;border:1px solid #e8e8ed;border-radius:12px;box-shadow:0 6px 22px #1d1d1f1f;scrollbar-width:thin;clip-path:inset(-12px -12px -12px 0 round 12px);transition:clip-path .75s cubic-bezier(.33,0,.15,1),opacity 0s,visibility 0s linear 0s}
.dq-used-item{position:relative;flex:none;width:40px;height:40px;padding:3px;border:1px solid #e8e8ed;border-radius:8px;background:#fff;cursor:grab;transition:opacity .5s ease calc(var(--dq-used-i,0) * var(--dq-used-step,30ms) + 170ms),transform .63s cubic-bezier(.22,1,.36,1) calc(var(--dq-used-i,0) * var(--dq-used-step,30ms) + 170ms),border-color .15s ease}.dq-used-item:hover{border-color:#0071e3}.dq-used-item.is-armed{border:2px solid #0071e3;padding:2px;box-shadow:0 0 0 3px #0071e326}.dq-used-item:disabled{cursor:default;opacity:.58}.dq-used-item img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;pointer-events:none}.dq-used-count{position:absolute;right:-5px;top:-5px;min-width:16px;height:16px;padding:0 4px;border:1px solid #fff;border-radius:8px;background:#0071e3;color:#fff;font-size:9px;font-weight:500;line-height:14px;text-align:center}
.dq-used-strip.is-collapsed .dq-used-toggle svg{transform:rotate(180deg)}.dq-used-strip.is-collapsed .dq-used-list{clip-path:inset(0 calc(100% - 44px) 0 0 round 12px);opacity:0;visibility:hidden;pointer-events:none;transition:clip-path .75s cubic-bezier(.65,0,.67,.2) .24s,opacity .18s ease .82s,visibility 0s linear 1.02s}.dq-used-strip.is-collapsed .dq-used-item{opacity:0;transform:translateX(-22px);transition:opacity .4s ease calc((var(--dq-used-n,1) - 1 - var(--dq-used-i,0)) * var(--dq-used-step,30ms)),transform .5s cubic-bezier(.55,0,.75,.2) calc((var(--dq-used-n,1) - 1 - var(--dq-used-i,0)) * var(--dq-used-step,30ms))}
@media(prefers-reduced-motion:reduce){.dq-used-toggle,.dq-used-toggle svg,.dq-used-list,.dq-used-item{transition:none!important}}
