@font-face{font-family:Desk;src:local('Segoe UI')}*{box-sizing:border-box} :root{font-family:Desk,'Segoe UI',Arial,sans-serif;color:#244c50;background:#f5f8f6;font-size:14px;font-synthesis:none}body{margin:0}button,input,select{font:inherit}button,a,input,select{outline-offset:3px}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button{transition:background .16s,border-color .16s}a{color:inherit}button:focus-visible,a:focus-visible{outline:2px solid #0db8a3}.rail{position:fixed;inset:0 auto 0 0;width:218px;background:#10383b;color:#e9f5f0;padding:31px 22px 18px;display:flex;flex-direction:column;z-index:10}.brand{text-decoration:none;display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin:0 4px 28px}.brand img{width:145px;filter:brightness(0) invert(1)}.brand span{font-size:13px;color:#a9c7c1;letter-spacing:.6px}.workspace{display:flex;gap:11px;padding:16px 12px;background:#20474a;border:1px solid #34575a;border-radius:8px;margin-bottom:30px}.workspace-icon{font-size:25px;color:#62dfc7}.workspace strong{font-size:12px}.workspace small{display:block;font-size:10px;color:#a9c4bf;margin-top:5px}.nav-label,.tiny{font-size:9px;letter-spacing:1.15px;font-weight:700}.nav-label{color:#89aaa7;margin:0 10px 12px}.nav-button{border:0;color:#c0d3d0;background:transparent;text-align:left;width:100%;padding:13px 11px;margin-bottom:6px;border-radius:6px;display:flex;align-items:center;gap:10px;font-size:12px}.nav-button>span:first-child{font-size:19px}.nav-button.active{background:#2b5e5d;color:#fff;border-left:3px solid #65d8bf;padding-left:8px}.nav-button:hover{background:#2b5153}.count{font-size:10px;background:#386361;border-radius:4px;padding:2px 5px;margin-left:auto}.rail-bottom{margin-top:auto;padding:40px 11px 24px}.orbital{font-size:45px;color:#62b7a9;margin-bottom:16px}.rail-bottom strong{font-size:24px;font-weight:500;line-height:1.3;letter-spacing:-.5px}.rail-bottom p{font-size:11px;line-height:1.8;color:#a0bfba;margin:12px 0 20px}.rail-bottom a{font-size:11px;text-decoration:none;color:#b9ded3}.rail-foot{font-size:8px;letter-spacing:1px;color:#83aaa4;border-top:1px solid #2d5152;padding-top:16px}.shell{margin-left:218px}.topbar{height:70px;padding:0 30px;border-bottom:1px solid #dfebe6;background:#fff;display:flex;align-items:center;justify-content:space-between}.breadcrumb{font-size:12px;color:#7a9290}.breadcrumb span{padding:0 15px;color:#bccdc8}.breadcrumb strong{font-weight:500;color:#34585a}.top-actions{display:flex;align-items:center;gap:20px}.connection-status{font-size:11px;color:#798d88;display:flex;align-items:center;gap:7px}.connection-status i,.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#be9c5e}.connection-status.connected i,.live-dot{background:#0aa789}.internal-tag{font-size:10px;background:#f1f5f2;border:1px solid #e3ebe5;border-radius:5px;padding:6px 9px;color:#748b83}.avatar{display:grid;place-items:center;font-size:10px;width:30px;height:30px;border-radius:50%;background:#def0e8;color:#147568}main{max-width:1850px;margin:auto;padding:29px 30px 16px}.heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:1.8px;color:#369586;margin:0 0 10px}h1{font-size:29px;letter-spacing:-1px;font-weight:550;margin:0;color:#1d4246}h2{font-size:14px;letter-spacing:-.2px;margin:0;font-weight:600}.subtitle{font-size:12px;color:#7e9590;margin:9px 0 0}.heading-actions{display:flex;gap:8px}.button{background:white;border:1px solid #dbe6e0;color:#375a56;border-radius:6px;padding:10px 14px;font-size:11px;font-weight:600;white-space:nowrap}.button:hover{background:#ecf5ef;border-color:#accabe}.button.primary{color:#fff;background:#087f72;border-color:#087f72}.button.primary:hover{background:#07685d}.button span{margin-left:8px}.project-bar{display:flex;align-items:center;justify-content:space-between;border:1px solid #dfe9e4;border-radius:9px;background:white;padding:14px 17px;margin-bottom:16px;gap:10px}.project-name{display:flex;align-items:center;gap:12px;min-width:0}.project-symbol{width:35px;height:35px;display:grid;place-items:center;background:#e6f2ed;color:#118d79;font-size:26px;border-radius:6px}.project-name label{display:block;font-size:8px;letter-spacing:1.4px;color:#8a9e95;font-weight:700}.project-name input{border:0;padding:5px 0 0;color:#315653;font-weight:600;width:250px;background:transparent;font-size:12px}.draft-tag{border:1px solid #e9e5d1;background:#fbf9ee;font-size:9px;color:#9b8c53;padding:4px 7px;border-radius:4px}.templates{display:flex;gap:5px;align-items:center}.templates>span{font-size:10px;margin-right:8px;color:#90a098}.template{font-size:10px;border:1px solid #e4ece7;color:#758e84;border-radius:5px;background:white;padding:8px 10px}.template.active{background:#eaf4ee;border-color:#bddecd;color:#22795d}.builder{display:grid;grid-template-columns:216px minmax(300px,1fr) 258px;gap:15px;align-items:start}.panel{background:white;border:1px solid #dfe9e4;border-radius:9px;overflow:hidden}.component-panel{padding:18px 14px;min-height:651px}.panel-title{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.component-panel .panel-title{display:block}.panel-title .tiny{color:#95a69e;font-size:8px}.component-panel .panel-title .tiny{display:block;margin-top:6px}.component-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:15px}.component-card{background:#fff;border:1px solid #e3ebe5;border-radius:6px;padding:12px 6px 9px;color:#44675e;position:relative;text-align:center}.component-card:hover{background:#eaf6ef;border-color:#77bca7}.component-card .component-icon{font-size:25px;color:#429d88;display:block;line-height:28px;margin-bottom:7px}.component-card strong{display:block;font-size:10px;font-weight:500}.component-card .plus{position:absolute;right:5px;top:2px;font-size:11px;color:#9eb6aa}.component-tip{display:flex;gap:8px;margin-top:11px;color:#90a399}.component-tip>span{font-size:18px}.component-tip p{font-size:10px;line-height:1.6;margin:0}.component-tip strong{font-weight:500;color:#64877a}.selection-divider{border-top:1px solid #e7eee9;margin:17px 0}.properties{margin-top:13px}.field{display:block;margin-bottom:10px;color:#789287;font-size:10px}.field>span{display:block;margin-bottom:5px}.field input,.field select,.number-input{width:100%;border:1px solid #dde7df;background:#fcfdfb;border-radius:5px;padding:7px 8px;color:#365b4e;font-size:11px;min-width:0}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.binding{padding:10px;background:#f2f7f3;border-radius:5px;font-size:10px;line-height:1.5;overflow-wrap:anywhere}.binding small{display:block;color:#859c8c;margin-top:4px}.properties .button{margin-top:8px}.delete-button{border:0;background:transparent;color:#ac766a;font-size:10px;padding:10px 0 0}.muted{font-size:11px;color:#9bad9e;line-height:1.6}.canvas-panel{display:flex;flex-direction:column;height:651px;position:relative}.canvas-bar{height:49px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e3ece6;gap:10px}.canvas-bar>div{display:flex;align-items:center;gap:7px}.canvas-bar strong{font-size:11px}.canvas-bar .tiny{font-size:8px;color:#8fa497}.view-switch{background:#f1f5f1;border-radius:5px;padding:3px;gap:0!important}.view-switch button{border:0;background:transparent;color:#84998b;font-size:9px;padding:5px 9px;border-radius:3px}.view-switch button.active{background:white;box-shadow:0 1px 4px #39543c18;color:#218d6c}.viewer{height:100%;flex:1;min-height:100px;position:relative;background:#edf4f1;overflow:hidden}.viewer canvas{display:block}.viewer-loading{position:absolute;inset:0;display:grid;place-items:center;color:#76978c;font-size:12px}.canvas-tools{display:flex;justify-content:space-between;gap:5px;padding:9px 12px;border-top:1px solid #e3ece6}.tool-group{display:flex;gap:3px}.tool-group button{background:white;border:1px solid transparent;padding:6px 8px;color:#7f9b8b;border-radius:5px;white-space:nowrap}.tool-group button span{font-size:9px;margin-left:3px}.tool-group button.active{border-color:#cce4d7;background:#eef7f0;color:#218661}.tool-group button:hover{background:#f0f7f1}.canvas-footer{font-size:8px;display:flex;justify-content:space-between;color:#94a89a;padding:0 14px 12px;gap:6px}.estimate-panel{padding:18px;min-height:651px}.price-source{margin-top:21px;display:inline-block;background:#fbf5e4;color:#a18b4f;border-radius:4px;padding:4px 6px;font-size:8px;font-weight:700;letter-spacing:.5px}.price-source.real{background:#e1f5eb;color:#26875f}.main-price{margin:13px 0 23px}.main-price>span{font-size:11px;display:block;color:#729181}.main-price strong{display:block;font-size:35px;letter-spacing:-1.5px;font-weight:550;color:#225648;margin-top:4px}.main-price small{font-size:9px;color:#a5b5a8}.estimate-lines>div{display:flex;justify-content:space-between;gap:5px;font-size:11px;color:#8b9f91;margin-bottom:12px}.estimate-lines strong{font-weight:500;color:#446953}.cost-total{border-top:1px dashed #dce8dd;border-bottom:1px solid #e8eee7;padding:14px 0;margin-bottom:15px;display:flex;justify-content:space-between;font-size:12px}.cost-total strong{color:#34664c}.margin-field{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#6a8c75}.margin-field span{background:#eef7ed;border:1px solid #dcecd9;border-radius:4px;color:#337e4a;padding:3px 5px;font-size:10px}.margin-field input{width:36px;background:transparent;border:0;color:#337e4a;text-align:right;font-size:11px;appearance:textfield}.margin-track{height:4px;background:#eef4e9;border-radius:4px;margin:12px 0 7px;overflow:hidden}.margin-track>div{height:100%;background:#75b780}.margin-note{font-size:9px;color:#98ab95}.cost-settings{margin:20px 0 15px;border-top:1px solid #e6ede3;border-bottom:1px solid #e6ede3;padding:13px 0}.cost-settings summary{font-size:10px;color:#7a977c;cursor:pointer;list-style:none;display:flex;justify-content:space-between}.cost-settings[open] summary{margin-bottom:12px}.cost-settings p{font-size:9px;color:#94a58d;line-height:1.6}.batch-row{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#849b7f}.batch-row input{width:58px;border:1px solid #dde9d8;border-radius:4px;padding:6px;font-size:11px;color:#628055;text-align:right}.batch-total{display:flex;justify-content:space-between;align-items:center;padding:15px 0 18px;font-size:11px;color:#7d9876}.batch-total strong{font-size:16px;color:#426e38}.wide{width:100%}.text-button{border:0;background:transparent;font-size:10px;color:#789470;padding:11px}.estimate-note{font-size:9px;line-height:1.6;color:#a5b29a;text-align:center;margin:2px 0 0}.bom{margin-top:18px}.bom-heading{display:flex;justify-content:space-between;align-items:center;padding:21px 22px 18px}.bom-heading .eyebrow{font-size:8px;margin-bottom:7px}.bom h2{font-size:16px}.bom h2 span{font-size:10px;background:#eff5eb;color:#96aa86;padding:2px 5px;border-radius:4px;margin-left:4px}.linked-badge{font-size:10px;color:#839c70;background:#f2f7ed;border:1px solid #e2ebd9;padding:7px 10px;border-radius:5px}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:8px;letter-spacing:1px;color:#96a988;font-weight:500;background:#f9fbf6;padding:11px 22px;border-block:1px solid #edf1e7}td{font-size:11px;padding:13px 22px;border-bottom:1px solid #edf1e7;color:#739062}td strong{font-weight:500;color:#3e6432}td small{display:block;margin-top:4px;color:#a7b498;font-size:9px}td:nth-child(4),th:nth-child(4){text-align:right}td:last-child{width:1%;white-space:nowrap}tr.selected{background:#f0f8ed}.row-link{border:1px solid #dce9d2;background:white;border-radius:4px;color:#688b4e;padding:6px 8px;font-size:9px}.price-tag{font-size:9px;background:#f8f5e9;color:#b09c5d;padding:4px 7px;border-radius:4px}.price-tag.odoo{background:#e7f3e8;color:#539962}.validation{padding:12px 22px;font-size:10px;color:#9b965c;line-height:1.7;background:#fdfdf8}.validation strong{font-weight:500}.page-footer{display:flex;justify-content:space-between;font-size:9px;color:#9fae92;padding:19px 0 0;gap:10px}.page-footer strong{font-weight:600;letter-spacing:1px}dialog{border:1px solid #dce7df;border-radius:12px;padding:25px;color:#315b4b;background:#fff;max-width:720px;width:calc(100% - 40px);box-shadow:0 25px 100px #153f3b40}dialog::backdrop{background:#0c313b55;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.dialog-head h2{font-size:21px}.dialog-head .eyebrow{font-size:9px}.icon-button{background:#f1f6ef;border:0;border-radius:5px;font-size:23px;color:#8ca37e;width:30px;height:30px}.search-form{display:flex;gap:9px;margin:18px 0}.search-form input{flex:1;min-width:0;border:1px solid #dce8d6;border-radius:6px;padding:11px;font-size:12px}.catalog-results{min-height:150px;max-height:50vh;overflow:auto}.product-result{padding:14px 0;border-bottom:1px solid #e8eee3;display:flex;align-items:center;gap:15px}.product-result>div{flex:1;min-width:0}.product-result strong{font-size:12px;display:block}.product-result p{font-size:10px;color:#879d78;margin:6px 0 0;line-height:1.5}.product-result .product-price{white-space:nowrap;font-size:13px;color:#4e7e3b;text-align:right;flex:0}.product-result small{display:block;font-size:9px;margin-top:3px;color:#a0b18b}.dialog-foot{font-size:10px;color:#9bae8b;margin-top:20px;padding-top:15px;border-top:1px solid #e8eee3}.empty{padding:35px 15px;text-align:center;color:#9bad8c;font-size:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,25px);background:#16493b;color:white;padding:13px 20px;border-radius:8px;box-shadow:0 6px 30px #244e3430;font-size:12px;opacity:0;pointer-events:none;transition:.2s;z-index:100;max-width:90vw}.toast.show{opacity:1;transform:translate(-50%,0)}.toast.error{background:#805245}.table-scroll{overflow-x:auto}.product-warning{font-size:11px;color:#af9753;line-height:1.6}#catalogPurpose{font-size:12px;color:#77926b}.position-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.unit-warning{color:#a18243;font-size:9px;line-height:1.5}.pill{font-size:9px;color:#88a173}.delete-button:hover{color:#b4472a}.error-message{color:#98622b;font-size:12px;line-height:1.6;padding:15px}
@media(min-width:1600px){.builder{grid-template-columns:240px minmax(400px,1fr) 286px}.component-panel,.canvas-panel,.estimate-panel{min-height:710px}.canvas-panel{height:710px}.component-card{padding:15px 8px}.component-panel{padding:20px}.estimate-panel{padding:22px}}
@media(max-width:1250px){.rail{width:185px;padding-inline:15px}.shell{margin-left:185px}main{padding:25px 20px}.topbar{padding-inline:20px}.builder{grid-template-columns:185px minmax(280px,1fr) 226px;gap:10px}.estimate-panel{padding:14px}.component-panel{padding:15px 11px}.main-price strong{font-size:31px}.heading-actions{flex-direction:column}.templates>span{display:none}.project-name input{width:200px}.draft-tag{display:none}.canvas-bar{padding-inline:10px}.canvas-bar .tiny{display:none}.canvas-tools{padding-inline:6px}.tool-group button{padding:5px}.tool-group button span{font-size:8px}.canvas-footer>span:last-child{display:none}}
@media(max-width:1050px){.rail{width:75px;padding:24px 10px}.brand{margin-inline:0}.brand img{width:55px}.brand span,.workspace,.nav-label,.nav-button,.rail-bottom,.rail-foot{display:none}.rail nav:before{content:'◇';display:block;background:#2b5e5d;text-align:center;padding:14px 0;border-radius:6px;font-size:23px;color:#a5e2d0}.shell{margin-left:75px}.top-actions{gap:10px}.builder{grid-template-columns:185px minmax(290px,1fr)}.estimate-panel{grid-column:1/-1;min-height:0;display:grid;grid-template-columns:1fr 1fr;gap:12px 30px}.estimate-panel .panel-title,.estimate-panel .price-source,.estimate-panel .main-price{grid-column:1}.estimate-panel .price-source{width:fit-content;margin:0}.estimate-panel .main-price{margin:0}.estimate-lines{grid-column:2;grid-row:1/5}.cost-total{margin:0;grid-column:2}.estimate-panel .cost-settings{grid-column:1/-1}.estimate-panel .estimate-note{grid-column:1/-1}.template{font-size:9px}.project-name input{width:180px}h1{font-size:26px}.heading{gap:12px}.heading-actions .button{font-size:10px}.bom-heading{padding:18px}.linked-badge{font-size:8px}.component-panel,.canvas-panel{min-height:650px;height:650px}.component-panel{overflow-y:auto}}
@media(max-width:700px){.rail{display:none}.shell{margin-left:0}.topbar{height:55px;padding-inline:15px}.breadcrumb{font-size:10px}.breadcrumb span{padding-inline:7px}.internal-tag,.avatar{display:none}.connection-status{font-size:9px}main{padding:20px 12px}.heading{align-items:flex-start}.eyebrow{font-size:8px;letter-spacing:1.1px}h1{font-size:23px;max-width:230px}.subtitle{font-size:10px;line-height:1.5}.heading-actions .button{font-size:9px;padding:8px}.heading-actions .button span{display:none}.project-bar{padding:12px;flex-wrap:wrap}.project-name input{width:230px}.templates{width:100%;justify-content:space-between}.template{flex:1}.builder{display:flex;flex-direction:column}.component-panel{width:100%;height:auto;min-height:0;order:2}.component-list{grid-template-columns:repeat(7,1fr);gap:5px}.component-card{padding:6px 2px}.component-card strong{font-size:8px}.component-card .component-icon{font-size:20px;line-height:22px;margin-bottom:2px}.component-tip,.component-panel>.panel-title .tiny{display:none}.component-panel>.panel-title{display:flex}.selection-divider{margin:12px 0}.properties{display:grid;grid-template-columns:1fr 1fr;gap:8px}.properties .field{margin:0}.properties .binding{grid-column:1/-1}.canvas-panel{width:100%;height:460px;min-height:460px;order:1}.estimate-panel{width:100%;order:3;gap:8px 16px}.main-price strong{font-size:29px}.bom-heading{gap:10px}.bom h2{font-size:13px}th,td{padding:11px 13px}.linked-badge{max-width:125px;text-align:center;line-height:1.5}.page-footer{flex-direction:column;font-size:8px}.project-symbol{width:28px;height:28px}.canvas-footer{font-size:8px}.canvas-bar .tiny{display:none}.product-result{flex-wrap:wrap}.product-result>div{flex-basis:70%}.product-result .product-price{text-align:left}.dialog-actions{flex-wrap:wrap}}
.workspace-logo{width:34px;height:34px;object-fit:contain;flex-shrink:0;background:#fff;border-radius:5px;padding:2px}

/* SingleUseDesk: firma de la familia Desk, junto a la marca TECNIC. */
.brand .desk-wordmark{display:block;width:156px;height:auto;max-width:100%;filter:none}.workspace-logo{background:transparent;border-radius:0;padding:2px}
@media(max-width:1050px){.brand .desk-wordmark{display:none}}

.edit-actions{display:flex;gap:8px;padding:10px 16px;border-top:1px solid #dbe6e2;flex-wrap:wrap}.row-delete{color:#a13629;background:#fff1ec;border:1px solid #efc9bd;border-radius:5px;padding:6px 8px;margin-right:7px;cursor:pointer}.delete-button{font-size:12px;background:#fff1ec;padding:10px;border-radius:6px}.volume-presets{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:12px}.volume-presets button{border:1px solid #cadcd6;background:#f3f8f6;border-radius:4px;padding:4px;font-size:10px;cursor:pointer}.layout-form{padding:24px;display:grid;gap:14px;max-width:600px}.layout-form label{display:grid;gap:6px}.layout-form input,.layout-form textarea{width:100%;padding:10px;border:1px solid #cadcd6;border-radius:6px}.component-list{max-height:260px;overflow:auto}.canvas-panel{height:auto!important;min-height:650px}.component-panel{max-height:850px}

/* Keep every property reachable at desktop sizes as well as on narrow screens. */
.component-panel{overflow-y:auto;overscroll-behavior-y:auto;scrollbar-gutter:stable;max-height:850px;min-height:0}
@media(max-width:700px){.component-panel{max-height:none;overflow:visible}}

/* Editor: independent catalogue, properties and optional costing. */
[hidden]{display:none!important}.workspace-actions{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-size:12px;color:#456b65}.editor-tabs{display:flex;gap:6px;position:sticky;top:0;background:#fff;padding:0 0 14px;z-index:2}.editor-tabs button{flex:1}.editor-tabs .active{background:#e1f2ec;border-color:#65a99c;color:#166b5c}#componentSearch{width:100%;padding:10px;border:1px solid #c8dcd5;border-radius:6px;margin-bottom:15px}.component-panel .component-list{max-height:none;overflow:visible}.component-panel .panel-title{margin-bottom:14px}.property-section{border-top:1px solid #d5e4de;margin:14px 0;padding-top:10px}.property-section summary{cursor:pointer;font-size:13px;font-weight:600;padding:6px 0;color:#236f61}.property-section[open]>summary{margin-bottom:12px}.bag-port{border:1px solid #d5e3dd;border-radius:8px;padding:10px;margin:12px 0;min-width:0}.bag-port legend{font-size:11px;color:#167d73;padding:0 5px}.field input,.field select{min-height:36px;font-size:12px}.field>span{font-size:11px;color:#476c62}.component-panel .properties{display:block}.canvas-tools{order:-1;border-bottom:1px solid #dbe6e2}.canvas-bar{order:-2}.canvas-tools button{min-height:34px;font-size:12px}.tool-group button span{font-size:11px}.canvas-footer{font-size:10px}.component-panel{padding:16px!important}.component-card strong{font-size:11px}.estimate-panel{overflow:auto}.builder.estimate-hidden>.estimate-panel{display:none!important}.heading .subtitle,.heading .eyebrow{display:none}.heading{margin-bottom:14px}h1{font-size:24px}.topbar{height:52px}.project-bar{padding:10px 14px;margin-bottom:10px}.rail-bottom .orbital,.rail-bottom strong,.rail-bottom p{display:none}
@media(min-width:1000px){.rail{width:172px;padding:22px 14px}.brand img{max-width:135px}.brand .desk-wordmark{width:135px}.shell{margin-left:172px}main{padding:18px 20px}.builder{grid-template-columns:300px minmax(300px,1fr) 248px;align-items:start;gap:14px}.builder.estimate-hidden{grid-template-columns:300px minmax(300px,1fr)}.component-panel,.estimate-panel{height:calc(100vh - 235px);max-height:none;min-height:460px}.canvas-panel{height:calc(100vh - 235px)!important;min-height:460px!important}.viewer{min-height:230px}.heading-actions{flex-direction:row}.component-panel{overflow:auto}.estimate-panel{display:block}}
@media(min-width:1600px){.builder{grid-template-columns:330px minmax(400px,1fr) 270px}.builder.estimate-hidden{grid-template-columns:330px minmax(400px,1fr)}}
@media(max-width:999px){.builder,.builder.estimate-hidden{grid-template-columns:260px minmax(280px,1fr)}.estimate-panel{grid-column:1/-1}.component-panel{max-height:650px}.heading-actions{flex-direction:row}}
@media(max-width:700px){.workspace-actions>span{display:none}.component-panel{max-height:600px;overflow:auto}.component-list{grid-template-columns:repeat(3,1fr)}.canvas-tools{flex-wrap:wrap}.canvas-panel{min-height:430px!important;height:430px!important}.component-panel{min-height:0}.heading{flex-wrap:wrap}.heading-actions{width:100%;justify-content:flex-end}.topbar{height:48px}}

#articleAdminDialog{max-width:1050px;width:calc(100% - 48px)}#articleAdminDialog>p{font-size:12px;line-height:1.6;color:#57766d}.admin-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:22px;height:55vh;min-height:260px}.admin-layout>section{overflow:auto;min-width:0}.admin-layout>section:first-child{border-right:1px solid #dce6e1;padding-right:14px}#adminArticleSearch{width:100%;padding:10px;border:1px solid #cbded6;border-radius:6px;margin-bottom:12px}.admin-article{display:flex;justify-content:space-between;gap:8px;text-align:left;width:100%;background:#fff;border:1px solid #dde8e2;border-radius:6px;margin:5px 0;padding:11px 9px;font-size:12px;color:#315a50}.admin-article.active{background:#e4f2ec;border-color:#66a795}.admin-article small{color:#69867a}.admin-enable{display:flex;align-items:center;gap:9px;padding:13px;background:#eef7f2;border-radius:7px}.admin-options{border:1px solid #d5e4dd;border-radius:8px;margin:18px 0;padding:12px}.admin-options legend{font-weight:600;font-size:13px}.admin-options>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-options label{display:flex;align-items:center;gap:8px;font-size:12px}.admin-options input,.admin-enable input{accent-color:#087f72;width:16px;height:16px;flex-shrink:0}.admin-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:18px;border-top:1px solid #dde7e1;margin-top:16px}.admin-footer>span{margin-right:auto;font-size:12px}#adminArticleEditor h3{margin-top:5px}.article-disabled-note{background:#fff4dc;color:#775b22;padding:10px;border-radius:5px;font-size:12px}.article-empty{font-size:12px;color:#57766d}.nav-button{white-space:normal} @media(max-width:700px){.admin-layout{grid-template-columns:150px minmax(0,1fr);gap:10px}.admin-options>div{grid-template-columns:1fr}.admin-footer{flex-wrap:wrap}.admin-footer>span{width:100%}#articleAdminDialog{padding:15px;width:calc(100% - 20px)}}

.bom-part td{background:#f6faf8;color:#57716c;font-size:12px}.bom-part td:first-child{padding-left:32px}.bom-part small{display:block}

#designDialog{width:min(740px,94vw);max-height:90vh;overflow-y:auto}#designFields{display:block}#designFields .field{margin:14px 0}#designFields details{padding:14px;background:#f0f7f4;border-radius:8px}#designFields li{margin:7px 0}.dimension-row{display:grid;grid-template-columns:95px 1fr auto;gap:8px;align-items:end;margin:12px 0}.dimension-row input{width:100%;box-sizing:border-box}.dimension-row label{font-size:12px}
.dimension-row{grid-template-columns:110px 80px 1fr auto}@media(max-width:700px){.dimension-row{grid-template-columns:1fr 1fr}}
.layout-language-short{font-size:11px;color:#476d69;display:grid;gap:3px}.layout-language-short select{padding:7px 10px;border:1px solid #cddfd9;border-radius:6px;background:white}.heading-actions{flex-wrap:wrap}
.dimension-row input,.dimension-row select{min-width:0;padding:8px;border:1px solid #cddfd9;border-radius:6px;font:inherit;background:white}.dimension-row select{width:100%}
.dimension-row{grid-template-columns:105px 75px minmax(140px,1fr) 100px auto}@media(max-width:900px){.dimension-row{grid-template-columns:1fr 1fr}.dimension-row label:nth-child(3){grid-column:1/-1}}
.variant-manager{padding:16px 0;border-bottom:1px solid #d5e3df;margin-bottom:16px}.variant-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;border:1px solid #d5e3df;border-radius:8px;margin:10px 0}.variant-card p{font-size:12px;line-height:1.6}.variant-card small{color:#376860}#variantDialog{width:min(850px,94vw);max-height:90vh;overflow-y:auto}.variant-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.variant-odoo{background:#f1f7f4;padding:16px;border-radius:8px;margin:16px 0}#variantResults{max-height:280px;overflow:auto}@media(max-width:650px){.variant-fields{grid-template-columns:1fr}}
.cost-pending{background:#fff3ce!important;color:#754800}.pending-summary{background:#fff3ce;border-left:3px solid #cb8c12;padding:10px;color:#754800;font-size:12px;line-height:1.5}.has-pending #costTotal,.has-pending #saleTotal,.has-pending #batchSale{color:#8a5a08}

.cost-review-dialog{width:min(1150px,95vw);max-height:90vh;border:1px solid #cbdcde;border-radius:14px;padding:24px;color:#173b40}.cost-review-header,.cost-review-footer{display:flex;align-items:center;justify-content:space-between;gap:20px}.cost-review-services{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.cost-review-dialog input[type=number]{width:110px;padding:8px;border:1px solid #b8ceca;border-radius:5px}.cost-review-dialog td{padding:10px;max-width:430px;font-size:12px}.cost-review-dialog .table-scroll{max-height:48vh;overflow:auto}.cost-review-dialog th{position:sticky;top:0;background:#edf5f3}.cost-review-dialog::backdrop{background:#102f3670}@media(max-width:850px){.cost-review-services{grid-template-columns:1fr 1fr}}

.bom-detail-toggle{display:flex;gap:7px;align-items:center;font-size:12px;color:#365b54}.bom-heading{flex-wrap:wrap;gap:14px}.bom .table-scroll{max-height:65vh;overflow:auto}.bom th{position:sticky;top:0;z-index:1;background:#edf5f3}.estimate-panel>.cost-settings{display:none}.estimate-panel>#reviewCosts{margin:0 0 16px;background:#e6f3ee;color:#145c51;border-color:#9cc9bb;font-weight:600}.main-price{padding-top:6px}.volume-presets{display:none}.field{margin-bottom:14px}.properties>.binding{margin-top:20px}.project-bar .templates>span{font-size:11px}.cost-review-header{position:sticky;top:-24px;background:white;padding:12px 0;z-index:2}.cost-review-footer{border-top:1px solid #d6e3dd;margin-top:20px;padding-top:14px}.cost-review-footer p{max-width:65%;font-size:12px}.product-result .edit-actions{flex-wrap:wrap;justify-content:flex-end}

/* Article fiches: one task per section, clear unit costs. */
.admin-sections{display:flex;gap:8px;flex-wrap:wrap;position:sticky;top:0;background:white;padding:12px 0;z-index:2}.admin-sections .button{flex:1;white-space:nowrap}.variant-card{align-items:center;padding:18px;border:1px solid #d2e2de;border-radius:10px;margin:12px 0}.variant-card details{margin:8px 0}.variant-card details p{font-size:12px;line-height:1.6}.variant-cost-summary{margin-top:12px;line-height:1.9}.variant-cost-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;background:#eef6f3;padding:18px;border-radius:10px}.variant-cost-inputs input{font-size:19px;padding:12px}.variant-total{background:#123f3a;color:white;padding:16px;border-radius:8px;line-height:1.9;margin:14px 0}.variant-total .cost-pending{color:#ffe3a1;background:none}.variant-odoo{padding:14px;border:1px solid #d2e2de;margin:18px 0;border-radius:8px}.variant-odoo summary{cursor:pointer;font-weight:600}#variantForm h3{margin-top:24px}#variantForm>[type=submit]{position:sticky;bottom:0;width:100%;padding:14px}#variantDialog{max-height:90vh;overflow-y:auto}#adminArticleEditor>[hidden]{display:none}@media(max-width:680px){.variant-cost-inputs{grid-template-columns:1fr}.admin-sections{position:static}}

#variantForm [hidden]{display:none}.item-cost-table{min-width:720px}.item-cost-table input{min-width:80px;width:100%;padding:9px}.item-cost-table td:first-child{min-width:180px}.variant-trash{margin:20px 0;padding:14px;background:#f6f7f5}.button.danger{color:#a23f35}

#variantDialog.has-item-costs{width:min(1080px,96vw);max-width:96vw}.has-item-costs .item-cost-table{width:100%;min-width:730px}.has-item-costs .item-cost-table th{font-size:11px;letter-spacing:0;text-transform:none;padding:10px}.has-item-costs .item-cost-table td{padding:10px}.has-item-costs .item-cost-table td:first-child{width:28%}.has-item-costs .item-cost-table small{display:block;margin-top:5px}.has-item-costs .item-cost-table input,.has-item-costs .item-cost-table select{font-size:13px}.has-item-costs .variant-fields{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:700px){.has-item-costs .variant-fields{grid-template-columns:1fr}}

.item-cost-table input,.item-cost-table select{border:1px solid #cbded8;border-radius:6px;background:#fff;color:#183f39;padding:9px;box-sizing:border-box}.item-cost-table select{width:100%;margin-bottom:5px}.item-cost-table input:focus,.item-cost-table select:focus{outline:2px solid #22a694;outline-offset:1px}

/* Simple catalogue: rates once, variants in a compact list. */
#articleAdminDialog{max-width:1200px;max-height:94vh;overflow:auto}.admin-work-rates{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;gap:16px;align-items:end;padding:18px;background:#edf6f2;border:1px solid #cbded7;border-radius:10px;margin:14px 0}.admin-work-rates h3{margin:0 0 6px}.admin-work-rates p{font-size:12px;margin:0;line-height:1.5}.admin-work-rates input{font-size:18px;background:white}.admin-work-rates .field{margin:0}.admin-work-rates button{padding:12px}.admin-layout{height:43vh;grid-template-columns:220px minmax(0,1fr)}.variant-toolbar{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin:0 0 18px}.variant-list{width:100%;min-width:620px}.variant-list th{font-size:12px;letter-spacing:0;text-transform:none}.variant-list td{padding:15px 10px;vertical-align:middle;font-size:13px}.variant-list small{display:block;margin-top:5px}.variant-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.variant-actions .button{padding:8px 10px}.variant-empty{padding:30px;background:#f5f8f6;border-radius:8px}.variant-empty p{font-size:13px;line-height:1.6}.admin-advanced,.variant-extra{padding:14px 0;border-top:1px solid #dce6e1;margin-top:18px}.admin-advanced>summary,.variant-extra>summary{cursor:pointer;color:#52756b}.simple-cost-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;background:#f0f7f3;padding:16px;border-radius:10px}.simple-cost-grid .field{margin:0 0 10px}.work-rate-reference{padding:12px 15px;background:#eef5f2;border-radius:7px;margin:16px 0}.work-rate-reference small{display:block;margin-top:5px;color:#58746a}.duplicate-note{padding:14px;background:#edf7f2;border-left:3px solid #088474;line-height:1.6}#variantForm input[hidden]{display:none}@media(max-width:800px){.admin-work-rates{grid-template-columns:1fr 1fr}.admin-work-rates>div{grid-column:1/-1}.simple-cost-grid{grid-template-columns:1fr}.admin-layout{grid-template-columns:160px minmax(0,1fr)}}

.variant-list th:last-child,.variant-list td:last-child{width:200px;min-width:200px}.variant-list .variant-actions{flex-wrap:nowrap}.variant-list td{padding:12px 10px}

.variant-spec-group{padding:12px 16px;margin:12px 0;border:1px solid #d4e3de;border-radius:8px;background:#f8fbfa}.variant-spec-group h4{margin:0 0 12px;font-size:14px;color:#17685e}.variant-spec-group .field{margin-bottom:6px}.connection-help{font-size:12px;line-height:1.6;color:#466c63;padding:10px 14px;background:#edf6f2;border-radius:6px}

#variantMatrixDialog{width:min(1060px,95vw);max-height:92vh;overflow:auto;border:1px solid #b9d5cd;border-radius:14px;padding:26px;color:#193f3c}#variantMatrixDialog::backdrop{background:#123c4470;backdrop-filter:blur(3px)}.matrix-table{width:100%;min-width:700px}.matrix-table input[type=number]{width:115px;padding:10px;border:1px solid #c4dcd3;border-radius:6px;font-size:15px}.matrix-table input[type=checkbox]{width:20px;height:20px;accent-color:#078578}.matrix-table td{padding:9px}.matrix-table th{font-size:12px;letter-spacing:0;text-transform:none;background:#eaf5ef}.matrix-table tr:has(input:checked){background:#e7f5ef}.matrix-existing{opacity:.55}.matrix-table small{display:block}.matrix-tools{display:flex;gap:14px;margin:14px 0}.matrix-launch{margin:16px 0;background:#e4f3ed;color:#126e60;border-color:#87c5b2;width:100%;padding:14px}.variant-list th:last-child,.variant-list td:last-child{width:275px;min-width:275px}

#salesModeBanner{display:flex;align-items:center;gap:18px;padding:14px 20px;background:#e6f4ef;border:1px solid #b8d9ce;border-radius:9px;margin:12px 0 18px;color:#205a51}#salesModeBanner span{font-size:13px}.sales-catalog-dialog{width:min(1050px,94vw);max-height:90vh;overflow:auto;border:1px solid #bad6cd;border-radius:14px;padding:24px;color:#20473e}.sales-catalog-dialog::backdrop{background:#143a4670;backdrop-filter:blur(3px)}.sales-variant-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}.sales-variant-card{display:flex;flex-direction:column;gap:12px;text-align:left;padding:20px;background:white;border:1px solid #c3dcd3;border-radius:12px;color:#1d4941;cursor:pointer}.sales-variant-card:hover{border-color:#078b78;background:#f0f9f5}.sales-variant-card>span:not(.component-icon){font-size:12px;line-height:1.6}.sales-variant-card em{font-style:normal;color:#087e6c;font-weight:600}.sales-variant-card b{font-size:20px}.sales-variant-card b small{font-size:11px;font-weight:400}.sales-selected p{font-size:12px;line-height:1.7}.catalog-approved{display:block;padding:8px;background:#e2f3e9;color:#17634d;font-size:12px;margin-bottom:16px}.sales-guide p{font-size:13px;line-height:1.7;margin-bottom:24px}.commercial-mode #bindProduct,.commercial-mode [data-bind],.commercial-mode #catalogButton{display:none}.component-card small{font-size:11px;color:#56796f}

.sale-illustration{display:block;width:100%;height:110px;background:#f2f8f5;border-radius:8px;padding:10px;box-sizing:border-box;stroke-width:.6}.sales-variant-card>strong{font-size:16px}.sales-variant-card{min-width:0}.sales-catalog-dialog{max-width:1050px}.sales-variant-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}

.sales-connect{padding:14px;background:#edf6f2;border-radius:8px;margin:18px 0}.sales-connect select{width:100%}

.bag-visual-dialog{width:min(960px,95vw);max-height:92vh;overflow:auto;border:1px solid #bed3d0;border-radius:16px;padding:24px;color:#173f46}.bag-visual-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:28px}.bag-map{height:420px;position:relative;background:#f0f7f5;border-radius:16px}.bag-map svg{width:100%;height:100%}.port-dot{position:absolute;transform:translate(-50%,-50%);display:grid;place-items:center;width:38px;min-height:38px;border:2px solid #008b80;border-radius:12px;background:white;color:#12535b;cursor:pointer;z-index:1}.port-dot.selected{background:#087e74;color:white;box-shadow:0 0 0 4px #89d5c5}.port-dot small{font-size:10px}.zone-tag{position:absolute;left:6px;font-size:9px;color:#527771}.zone-tag.top{top:8%}.zone-tag.front{top:43%}.zone-tag.bottom{top:90%}.zone-add{display:flex;flex-wrap:wrap;gap:6px}.bag-price{margin:16px 0;padding:16px;background:#e9f5ef;border-radius:10px;display:grid;gap:8px}.bag-price strong{font-size:26px}.bag-price small{font-size:11px}.port-inspector{background:#f8fbfa;padding:20px;border-radius:12px}.port-inspector .field{margin-bottom:16px}.bag-visual-launch{margin-bottom:16px}.axis-pad{display:grid;gap:6px}.axis-control{display:grid;grid-template-columns:1fr 40px 40px;align-items:center;gap:6px;border-left:4px solid;padding:6px;background:#f5f9f8;border-radius:6px}.axis-control b{font-size:11px}.axis-control button{border:1px solid #d0dfdc;border-radius:6px;background:white;color:#173f46;height:34px;font-size:20px;cursor:pointer}.axis-x{border-color:#ce6868}.axis-y{border-color:#4c9c72}.axis-z{border-color:#5b8fc7}.graphic-transform{margin:12px 0}@media(max-width:700px){.bag-visual-layout{grid-template-columns:1fr}.bag-map{height:340px}}

.cost-review-status{padding:14px;background:#edf6f2;border:1px solid #c9dfd5;border-radius:8px;margin:12px 0}.cost-review-status label{display:flex;align-items:center;gap:8px}.cost-review-status input{width:auto}

.cost-pending-link{display:block;border:1px solid #e5bf70;background:#fff5d8;color:#714b0d;border-radius:6px;padding:7px 10px;margin:5px 0;text-align:left;cursor:pointer}.cost-field-target{outline:3px solid #e6b348!important;outline-offset:4px;background:#fff8de!important}

/* Workspace: compact project header, clear tools and one scroll per panel. */
:root{color:#24464b;background:#f2f6f5}
.heading h1{font-size:21px;letter-spacing:-.5px}.heading-actions{align-items:center;gap:7px}.heading-actions .button{min-height:36px}.layout-language-short{display:flex;align-items:center;gap:7px}.layout-language-short select{height:36px}
.project-controls{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.project-controls #toggleEstimate{border:0;background:#f0f6f4}.project-controls .templates{border-left:1px solid #dbe6e2;padding-left:14px}.project-name input{font-size:14px;width:clamp(180px,22vw,360px)}
.commercial-mode #salesModeBanner{display:none}.project-bar{margin-bottom:12px;min-height:58px}.panel{border-color:#d3e0dc;box-shadow:0 2px 6px #163f3804}
.editor-tabs{padding:3px;background:#edf3f1;border-radius:8px;margin-bottom:18px;top:0}.editor-tabs .button{border:0;background:transparent;min-height:36px;font-size:12px}.editor-tabs .active{background:white;color:#087b6c;box-shadow:0 1px 4px #173b3518}.component-panel .panel-title h2{font-size:15px}.component-panel .tiny{letter-spacing:.6px;color:#647f77}
.component-panel .field>span{font-size:12px;color:#45655e}.component-panel .field input,.component-panel .field select{font-size:13px;background:white;min-height:38px}.properties .binding{font-size:11px}.properties .binding small{color:#657f75}.component-card{padding:14px 8px;min-height:90px}.component-card strong{font-size:12px;font-weight:600}.component-card:hover{box-shadow:0 3px 10px #193e3710}
.canvas-bar{min-height:44px;height:44px;flex-shrink:0;padding:0 14px}.canvas-bar strong{font-size:12px}.view-switch button{font-size:11px;padding:6px 10px}.canvas-tools{flex-wrap:wrap;align-items:center;padding:7px 10px;gap:6px;background:#fafcfb;flex-shrink:0}.tool-group{gap:3px;flex-wrap:wrap}.tool-group+ .tool-group{margin-left:auto}.tool-group button{color:#45665f;font-size:11px;padding:6px}.tool-group button span{font-size:11px}.tool-group button.active{background:#dceee8;border-color:#9dc8bb;color:#076d5f}.canvas-footer{padding:8px 12px;line-height:1.4;color:#627e73;font-size:10px;flex-shrink:0}.canvas-panel>.edit-actions{padding:7px 12px}.edit-actions .button{font-size:10px;padding:6px 9px}.canvas-panel #deleteSelection{color:#9b5145}
.estimate-panel .panel-title{padding-bottom:12px;border-bottom:1px solid #e1eae6}.estimate-panel .price-source{margin-top:14px;font-size:9px;letter-spacing:0}.main-price{margin:10px 0 16px}.main-price>span{font-size:12px;color:#506d63}.main-price strong{font-size:34px;letter-spacing:-1px;font-weight:650}.main-price small{color:#6b8178;font-size:10px}.pending-summary{font-size:11px;padding:9px 10px;border-radius:5px;margin:10px 0}.estimate-breakdown{border-top:1px solid #e1eae6;padding:11px 0}.estimate-breakdown summary{cursor:pointer;color:#42685c;font-size:12px;font-weight:600}.estimate-breakdown .estimate-lines{padding-top:15px}.estimate-lines>div{color:#557367;font-size:12px}.cost-total{margin-bottom:12px;padding:12px 0;font-size:13px;border-top:0}.cost-total strong{font-size:17px}.estimate-panel>#reviewCosts{font-size:11px;white-space:normal;margin-bottom:18px;padding:9px}.margin-field{font-size:12px;color:#506e62}.margin-field input{font-size:13px}.margin-note{color:#647e70;line-height:1.4}.batch-row{margin-top:18px;border-top:1px solid #e1eae6;padding-top:14px;font-size:12px;color:#506e62}.batch-total{font-size:12px;color:#506e62}.estimate-note{color:#6b8174}.bom-heading{padding:16px 18px}.bom th{color:#4c7063;font-weight:600}.bom td{color:#436457}.bom td small{color:#70877b}
@media(min-width:1100px){.rail{width:172px}.shell{margin-left:172px}.topbar{height:44px;padding:0 20px}main{padding:12px 16px}.heading{min-height:38px;margin-bottom:10px}.builder{grid-template-columns:272px minmax(0,1fr) 248px;gap:12px}.builder.estimate-hidden{grid-template-columns:272px minmax(0,1fr)}.component-panel,.estimate-panel,.canvas-panel{height:calc(100dvh - 190px)!important;min-height:480px!important;max-height:none}.component-panel,.estimate-panel{overflow-y:auto;scrollbar-gutter:stable}.canvas-panel{overflow:hidden}.viewer{min-height:220px}.estimate-panel{padding:16px}.brand{margin-bottom:30px}.nav-button{font-size:12px}.canvas-tools .tool-group:first-child{border-right:1px solid #dbe6e2;padding-right:6px}}
@media(min-width:1600px){.builder{grid-template-columns:292px minmax(0,1fr) 270px}.builder.estimate-hidden{grid-template-columns:292px minmax(0,1fr)}}
@media(min-width:701px) and (max-width:1099px){.rail{width:150px;padding:20px 10px}.shell{margin-left:150px}.brand img{width:125px}.brand .desk-wordmark{display:block;width:125px}.nav-label,.nav-button,.rail-foot{display:flex}.rail nav:before{display:none}.nav-button{font-size:11px}.builder,.builder.estimate-hidden{grid-template-columns:240px minmax(0,1fr)}.heading{flex-wrap:wrap}.heading-actions{width:100%;justify-content:flex-start}.project-bar{flex-wrap:wrap}.component-panel,.canvas-panel{height:620px!important;min-height:0!important;max-height:620px}.estimate-panel{display:block;grid-column:1/-1;min-height:0;max-height:none;height:auto}.estimate-panel .main-price strong{font-size:32px}.estimate-panel>#reviewCosts{max-width:350px}.project-controls{width:100%;justify-content:space-between}}
@media(max-width:700px){.project-controls{width:100%;gap:10px}.project-controls .templates{border:0;padding:0}.project-name{width:100%;flex-wrap:wrap}.project-name input{width:210px}.heading-actions{justify-content:flex-start;gap:6px}.layout-language-short{font-size:10px}.heading-actions .button{padding:8px}.estimate-panel{display:block;min-height:0;max-height:none;height:auto}.component-panel{max-height:540px}.canvas-panel{height:520px!important}.canvas-bar{padding:0 9px}.canvas-bar strong{font-size:11px}.tool-group+.tool-group{margin-left:0}.canvas-tools{gap:4px}.tool-group button{font-size:11px}.draft-tag{display:inline-block}.bom-heading{align-items:flex-start}.project-controls .templates{flex-wrap:wrap}.bom .table-scroll{overflow:auto}}

.variant-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px;background:#f0f6f3;border:1px solid #d4e2dc;border-radius:9px;padding:14px;margin-bottom:12px}.variant-filters label{display:grid;gap:5px;font-size:11px;color:#41675b}.variant-filters label:first-child{grid-column:1/-1}.variant-filters input,.variant-filters select{width:100%;min-width:0;padding:9px;border:1px solid #c5d9d0;border-radius:5px;background:#fff;color:#254c41}.bulk-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}.bulk-toolbar>span{margin-right:auto;font-size:12px}.variant-list input[type=checkbox]{width:18px;height:18px;accent-color:#087f72}.variant-list th:first-child,.variant-list td:first-child{width:45px;min-width:45px;padding:8px}.variant-list tr:has(input:checked){background:#e7f4ef}.variant-bulk-dialog{max-width:900px;width:94vw;max-height:90vh;overflow:auto}.variant-bulk-dialog p{font-size:12px;line-height:1.6}.bulk-preview .table-scroll{max-height:35vh;overflow:auto}.bulk-preview th{position:sticky;top:0;background:#edf5f1}.bulk-preview td{font-size:12px}.bulk-preview details{margin:14px 0}.bulk-preview summary{cursor:pointer}.variant-manager .variant-empty{padding:18px}

#assemblyMetadataDialog textarea{width:100%;padding:12px;border:1px solid #c5d9d0;border-radius:7px;font:inherit;color:#254c41;resize:vertical}#assemblyMetadataDialog p{font-size:12px;line-height:1.6}.assembly-description{white-space:pre-wrap;overflow-wrap:anywhere;color:#42645b!important}#libraryList .product-result>div:first-child{min-width:0;flex:1}#libraryList .edit-actions{max-width:55%}@media(max-width:700px){#libraryList .edit-actions{max-width:100%}}

.library-filters{display:grid;grid-template-columns:minmax(180px,1fr) 180px auto;gap:12px;align-items:end;padding:16px 0;border-bottom:1px solid #dbe6e2}.library-filters label{display:grid;gap:6px;font-size:12px;color:#42665b}.library-filters input,.library-filters select{width:100%;min-width:0;border:1px solid #c5d9d0;border-radius:6px;padding:10px;background:white;color:#254c41}.library-filters #libraryResultsCount{grid-column:1/-1;font-size:11px;color:#56766a}#libraryTabs .active{background:#e1f2ec;border-color:#65a99c;color:#166b5c}#libraryList{max-height:52vh;overflow:auto}@media(max-width:600px){.library-filters{grid-template-columns:1fr 1fr}.library-filters label:first-child{grid-column:1/-1}}

#duplicateAssemblyDialog p{font-size:13px;line-height:1.6}#duplicateAssemblyDialog form>label{font-size:13px}#duplicateAssemblyDialog [type=submit]{margin-top:14px}

.bag-type-choices{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.bag-type-choices .sale-illustration{height:190px}.bag-basic-layout{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:18px}.bag-basic-layout .sale-illustration{height:230px}.bag-basic-layout p{font-size:12px;line-height:1.6}.bag-type-choices button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:600px){.bag-type-choices,.bag-basic-layout{grid-template-columns:1fr}.bag-type-choices .sale-illustration{height:110px}}
