:root{--ink:#203a32;--green:#305c4c;--line:#dfe5df;--muted:#78847e;--bg:#f7f9f6}*{box-sizing:border-box}body{margin:0;font:16px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}button{cursor:pointer}button,a,input,select,textarea{outline-offset:4px}button{border:1px solid var(--line);background:white;color:var(--ink);border-radius:7px;padding:10px 16px;transition:.15s}button:hover{border-color:var(--green);background:#edf2ed}header{height:88px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 4%;gap:20px}.brand{display:flex;align-items:center;gap:10px;font-size:31px;font-weight:700;letter-spacing:-1px;text-decoration:none;color:var(--ink)}.mark{background:var(--green);color:white;border-radius:9px;font-size:35px;line-height:40px;width:40px;text-align:center}.brand-sub{font-size:10px;letter-spacing:1.4px;max-width:95px;line-height:1.5;margin-left:10px;font-weight:500}nav{display:flex;gap:8px}nav button{border:0;font-size:14px;background:transparent}nav button.active{background:#edf3ee;color:var(--green);font-weight:600}#count{background:#dce8de;border-radius:4px;padding:1px 6px;margin-left:6px}.quiet{background:transparent;font-size:14px}.heading{display:flex;align-items:center;justify-content:space-between;margin:36px 0 28px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.7px;margin:0 0 8px}h1{font-size:32px;letter-spacing:-1.1px;font-weight:600;margin:0 0 6px}h2{font-size:16px;font-weight:600;margin:0}p{margin:0}.muted,.hint{color:var(--muted)}.saved{font-size:12px;color:var(--muted)}.saved:before{content:'✓';margin-right:8px;color:var(--green)}main{max-width:1440px;margin:auto;padding:0 4%}.workspace{display:grid;grid-template-columns:310px 1fr;background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 4px 24px #21372a04}.controls{padding:24px;border-right:1px solid var(--line)}.section-title{display:flex;align-items:center;gap:9px;margin:24px 0 16px}.section-title:first-child{margin-top:0}.step{font-size:11px;border:1px solid var(--line);border-radius:50%;width:23px;height:23px;display:grid;place-items:center;color:var(--muted)}.unit{margin-left:auto;font-size:12px;color:var(--muted)}.segmented{display:flex;background:#f0f3ef;border-radius:6px;padding:4px;gap:4px}.segmented button{flex:1;padding:6px;border:0;background:none;font-size:14px}.segmented .active{background:white;box-shadow:0 1px 4px #203a3212}.model-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.model{padding:10px 6px;font-size:12px;border-radius:6px}.model svg{display:block;width:55px;height:37px;margin:0 auto 5px}.model.active{border-color:var(--green);background:#eef4ef;box-shadow:inset 0 0 0 1px var(--green)}label{display:block;font-size:13px;font-weight:500;margin-bottom:12px}input,select,textarea{display:block;width:100%;padding:10px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--ink);margin-top:6px;font-size:14px}input:focus,select:focus,textarea:focus{outline:2px solid #87a492}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hint{font-size:11px;margin-top:-5px}.swatches{display:flex;gap:11px;margin:8px 0 18px}.swatch{width:33px;height:33px;border-radius:50%;padding:0;border:3px solid white;box-shadow:0 0 0 1px var(--line)}.swatch.active{box-shadow:0 0 0 2px var(--green)}#finishName{float:right;font-weight:400}.drawing-column{min-width:0;display:flex;flex-direction:column}.canvas-top,.canvas-bottom{display:flex;justify-content:space-between;align-items:center;padding:18px 26px;font-size:12px}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--green);margin-right:7px}.drawing{flex:1;min-height:360px;display:grid;place-items:center;background-color:#fcfdfb;background-image:radial-gradient(#cdd8cd 0.7px,transparent .7px);background-size:18px 18px}.drawing svg{width:100%;height:390px}.canvas-bottom{border-bottom:1px solid var(--line);color:var(--muted);font-size:11px}.spec-strip{display:flex;gap:55px;padding:22px 30px}.spec-strip span{display:block;font-size:10px;letter-spacing:1.2px;color:var(--muted);margin-bottom:6px}.spec-strip strong{font-size:14px;font-weight:500}.estimate{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#f0f5ef;margin:0 24px;padding:22px;border-radius:8px}.estimate .eyebrow{font-size:10px;display:block}.estimate strong{font-size:30px;display:block;font-weight:600}.estimate small{display:block;font-size:11px;color:var(--muted)}.primary{background:var(--green);color:white;border-color:var(--green);font-weight:500}.primary:hover{background:#214737;color:white}.drawing-note{text-align:center;color:var(--muted);font-size:10px;margin:15px}.ad-space{min-height:88px;margin:25px 0;border:1px dashed #d9dfd8;border-radius:8px;text-align:center;display:flex;flex-direction:column;justify-content:center;color:#98a098}.ad-space span{font-size:9px;letter-spacing:2px}.ad-space p{font-size:12px;margin-top:5px}footer{max-width:1440px;margin:30px auto 0;padding:20px 4%;display:flex;gap:25px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}footer b{font-size:19px;color:var(--green)}footer span:last-child{margin-left:auto}.card{background:#fff;border:1px solid var(--line);padding:26px;border-radius:10px;margin-bottom:20px}.quote-grid{display:grid;grid-template-columns:1fr 340px;gap:22px}.quote-item{display:flex;align-items:center;gap:20px;padding:16px 0;border-bottom:1px solid var(--line)}.quote-item svg{width:120px;height:100px;flex-shrink:0}.quote-item .info{flex:1}.quote-item input{width:70px}.quote-item p{font-size:13px;color:var(--muted)}.row{display:flex;justify-content:space-between;gap:20px;margin:12px 0}.total{font-size:26px;font-weight:600;border-top:1px solid var(--line);padding-top:18px}.actions{display:flex;gap:10px;flex-wrap:wrap}.empty{text-align:center;padding:65px 20px}.empty h2{font-size:24px;margin-bottom:10px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.card h2{margin-bottom:20px;font-size:20px}.notice{font-size:13px;color:var(--muted);margin:12px 0 20px}.full{width:100%}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 22px;border-radius:8px;opacity:0;pointer-events:none;transition:.2s;z-index:10}#toast.show{opacity:1}#printArea{display:none}[hidden]{display:none!important}@media(max-width:1000px){.brand-sub{display:none}.workspace{grid-template-columns:280px 1fr}.spec-strip{gap:25px}.estimate{align-items:flex-start;flex-direction:column}.quote-grid{grid-template-columns:1fr}header{padding:12px 4%;height:auto;flex-wrap:wrap}}@media(max-width:680px){header{gap:12px}.brand{font-size:27px}nav{order:3;width:100%;justify-content:space-between}nav button{padding:8px}.heading{margin:24px 0}h1{font-size:26px}.heading .muted{font-size:14px}.saved{display:none}.workspace{display:flex;flex-direction:column}.controls{border-right:0;border-bottom:1px solid var(--line)}.model-grid{grid-template-columns:repeat(4,1fr)}.drawing svg{height:310px}.drawing{min-height:300px}.canvas-top{padding:12px}.canvas-bottom{gap:15px;padding:12px}.spec-strip{padding:18px;gap:20px}.estimate{margin:0 14px;flex-direction:row;flex-wrap:wrap}.estimate .primary{width:100%}.settings-grid{grid-template-columns:1fr}.quote-item{gap:8px;flex-wrap:wrap}.quote-item svg{width:90px}.quote-item .info{min-width:160px}footer span:last-child{display:none}.eyebrow{font-size:10px}}@media print{@page{size:A4;margin:15mm}body{background:white;color:#172c24}body>header,body>main,body>footer,#toast{display:none!important}#printArea{display:block;font-size:11px}#printArea h1{font-size:28px}#printArea .print-head{display:flex;justify-content:space-between;border-bottom:2px solid #305c4c;padding-bottom:20px;margin-bottom:20px}#printArea .print-item{break-inside:avoid;display:flex;gap:20px;border-bottom:1px solid #ddd;padding:12px 0}#printArea svg{width:180px;height:145px}#printArea .print-summary{margin-left:auto;width:280px;break-inside:avoid}#printArea p{white-space:pre-wrap}#printArea .conditions{margin-top:30px;break-inside:avoid}}
label,.model{font-size:14px}.hint,.canvas-bottom,.saved,.drawing-note,.estimate small,.spec-strip span,.eyebrow,.ad-space span,footer,.brand-sub{font-size:12px}.canvas-top{font-size:14px}.model-grid .model svg{height:42px}.estimate .eyebrow{font-size:12px}.controls{padding:22px}.drawing-column{justify-content:space-between}.drawing{min-height:400px}.swatch{min-width:33px}.model{overflow-wrap:anywhere}
/* Editor centrado en el plano */
:root{--ink:#25332e;--green:#285c49;--bg:#f5f6f6;--line:#e4e8e5;--muted:#76827b}header{height:72px;flex-wrap:nowrap;padding:0 28px}.brand{font-size:27px}.mark{font-size:28px;width:33px;line-height:33px}main{max-width:none;padding:24px 28px}.workspace{grid-template-columns:286px minmax(0,1fr);min-height:calc(100vh - 122px);border:0;border-radius:0;background:transparent;box-shadow:none;gap:26px;overflow:visible}.controls{padding:0 22px 0 0;border-right:1px solid var(--line)}.editor-title h1{font-size:19px;letter-spacing:-.4px;margin:3px 0 7px}.editor-title .saved{font-size:12px}.editor-tabs{display:flex;border-bottom:1px solid var(--line);margin:25px 0 22px;gap:16px}.editor-tabs button{padding:0 0 12px;border:0;border-radius:0;background:none;font-size:14px;color:var(--muted)}.editor-tabs [aria-selected=true]{border-bottom:2px solid var(--green);color:var(--green);font-weight:600}.editor-pane .segmented{margin-bottom:24px;background:#e9edeb}.editor-pane label{margin-bottom:20px;font-size:14px}.editor-pane input,.editor-pane select{padding:11px;background:#fff;font-size:14px}.editor-pane details{border-top:1px solid var(--line);padding:17px 0}.editor-pane summary{cursor:pointer;font-size:14px;list-style:none;display:flex;justify-content:space-between}.editor-pane summary:after{content:'＋';color:var(--muted)}.editor-pane details[open] summary{margin-bottom:20px}.editor-pane details[open] summary:after{content:'−'}.editor-pane .hint{line-height:1.65;font-size:12px}.drawing-column{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;justify-content:flex-start}.canvas-top{padding:20px 24px;border:0;gap:12px}.canvas-top b{font-size:14px;font-weight:500;display:block}.canvas-top .muted{font-size:12px;display:block;margin-top:3px}.drawing{background:#fff;background-image:none;min-height:320px;flex:1}.drawing.grid{background-image:radial-gradient(#d0d9d3 .8px,transparent .8px);background-size:20px 20px}.drawing svg{height:100%;max-height:65vh;min-height:320px}.drawing [data-panel]{cursor:pointer;outline:none}.drawing [data-panel]:hover .panel-hit,.drawing [data-panel]:focus .panel-hit{stroke:#2b6250;stroke-width:2}.canvas-bottom{font-size:12px;border:0;padding:12px 24px;gap:12px;flex-wrap:wrap}.canvas-tools{display:flex;gap:4px}.canvas-tools button{font-size:12px;padding:7px 9px;border-color:transparent;background:transparent}.canvas-tools button[aria-pressed=true]{background:#edf2ee;color:var(--green)}.canvas-tools button:disabled{opacity:.3;cursor:default}.estimate{border-top:1px solid var(--line);border-radius:0;background:#fff;margin:0;padding:18px 24px;flex-direction:row;align-items:center;gap:15px}.estimate>div{display:flex;flex-direction:column}.estimate .muted{font-size:12px}.estimate strong{font-size:24px;font-weight:500;line-height:1.4}.estimate .primary{font-size:14px;padding:12px 18px}.drawing-note{margin:0 24px 14px;font-size:12px;text-align:left;color:#849089}.swatches{gap:14px;margin:0 0 24px}.swatch{width:34px;height:34px}input[type=color]{height:43px;padding:4px}.template-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.template-grid button{font-size:12px;text-align:left;min-height:54px;padding:8px}.weight-fields{display:flex;gap:8px;margin:-12px 0 18px}.weight-fields input{min-width:0;width:100%}.editor-pane .notice{margin:0 0 24px;font-size:14px}.ad-space{margin:24px 0 0}.card{box-shadow:none}.quote-grid{max-width:1250px;margin:auto}button:disabled{opacity:.45;cursor:default}.settings-grid{max-width:1100px;margin:auto}@media(min-width:1450px){main{max-width:1600px}.workspace{grid-template-columns:310px minmax(0,1fr)}}@media(max-width:900px){header{padding:0 18px;gap:12px}nav{gap:0}nav button{padding:8px;font-size:13px}header>.quiet{font-size:12px;padding:8px}main{padding:18px}.workspace{grid-template-columns:250px minmax(0,1fr);gap:16px}.controls{padding-right:16px}.estimate{flex-wrap:wrap;padding:18px}.canvas-top,.canvas-bottom{padding:16px}.drawing-note{margin-left:18px}.estimate .primary{width:100%}.canvas-tools{order:3;justify-content:center;width:100%}}@media(max-width:640px){header{height:auto;flex-wrap:wrap;padding:12px 16px}.brand{margin-right:auto}nav{order:3;width:100%;margin-top:4px}header>.quiet{margin-left:auto}main{padding:14px}.workspace{display:flex;flex-direction:column;gap:14px}.controls{border:0;padding:0}.editor-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.editor-title h1{font-size:18px;margin:0}.editor-title .saved{display:none}.editor-tabs{margin:18px 0 16px;gap:28px}.editor-pane .segmented{margin-bottom:16px}.editor-pane label{margin-bottom:14px}.editor-pane details{padding:13px 0}.drawing-column{min-height:460px}.drawing svg{min-height:260px;max-height:340px}.drawing{min-height:260px}.estimate .primary{width:auto}.canvas-tools{order:0;width:auto}.template-grid{grid-template-columns:repeat(3,1fr)}.swatches{margin-bottom:20px}.drawing-note{font-size:12px}.canvas-top{padding:14px}.editor-pane input,.editor-pane select{font-size:16px}}
/* Professional workspace: context stays visible, detail opens on demand. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.project-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-4px 0 18px}.project-bar button{font-size:13px}.project-current{display:flex;align-items:center;gap:6px;min-width:0}.project-current select{max-width:300px;margin:0;background:transparent;border-color:transparent;font-size:13px;text-overflow:ellipsis}.workspace{min-height:calc(100dvh - 175px)}.editor-tabs{gap:17px}.editor-tabs button{font-size:13px}.swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:12px 8px}.swatch{min-width:28px;width:30px;height:30px}.drawing{position:relative}.drawing svg{max-height:58vh;user-select:none;touch-action:none}.dimension-control{cursor:text;outline:none}.dimension-control:hover rect,.dimension-control:focus rect{stroke:#285c49;stroke-width:1.5}.resize-handle{cursor:ew-resize;touch-action:none}.resize-handle[data-resize=height]{cursor:ns-resize}.divider-handle{cursor:ew-resize;opacity:.35;transition:opacity .15s;touch-action:none}.divider-handle[data-divider=row]{cursor:ns-resize}.divider-handle:hover,.divider-handle:focus{opacity:1;outline:none}.resize-handle:focus circle:last-child{stroke:#accbbb;stroke-width:4}.check-label{display:flex;align-items:center;gap:12px;cursor:pointer;margin:0!important;font-size:14px!important}.check-label input{width:18px;height:18px;accent-color:var(--green);margin:0}.check-label small{display:block;font-size:12px;color:var(--muted);margin-top:4px}.accessory-row{padding:15px 0;border-bottom:1px solid var(--line)}.accessory-row .two{margin-top:14px}.accessory-row label{margin-bottom:0}.accessory-row input{min-width:0}.mobile-controls{display:none}.controls{max-height:calc(100dvh - 170px);overflow:auto;scrollbar-width:thin}.editor-title{padding-bottom:1px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:12px 0 24px}.section-heading h1{font-size:27px}.section-heading h2{margin:0}.section-heading.compact{margin:0 0 12px}.back-button{padding:0;border:0;margin-bottom:10px;color:var(--muted)}.quote-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.quote-tile{background:white;border:1px solid var(--line);border-radius:12px;padding:24px}.quote-tile h2{font-size:20px;margin:20px 0 6px;overflow-wrap:anywhere}.quote-tile>p{color:var(--muted);font-size:14px}.quote-tile .row{align-items:center}.quote-tile .row strong{font-size:23px;margin:15px 0}.quote-tile .actions button{font-size:14px}.status-tag{background:#edf3ee;color:#416350;border-radius:4px;padding:3px 7px;font-size:12px}.quote-tile .muted{font-size:12px}.item-symbol{width:80px;height:80px;display:grid;place-items:center;background:#f1f5f2;color:#789082;font-size:27px;border-radius:8px;flex-shrink:0}.quote-item .info{min-width:0;overflow-wrap:anywhere}.quote-item .info details{margin-top:8px;font-size:12px}.quote-item .info summary{cursor:pointer;color:var(--muted)}.quote-item .info details p{font-size:12px;padding-top:8px}.item-actions{display:flex;gap:2px;flex-wrap:wrap;margin-top:8px}.item-actions button{padding:4px 7px;font-size:12px}.item-amounts{width:190px;flex-shrink:0;text-align:right}.item-amounts input{width:100%;min-width:0}.item-amounts label{text-align:left;font-size:12px}.item-amounts b{font-size:14px}.quote-summary{position:sticky;top:20px}.quote-summary .hint{margin-top:12px}.total{font-size:23px;flex-wrap:wrap}.quote-item svg{width:110px;flex-shrink:0}.settings-grid .card p{line-height:1.6}
dialog{border:1px solid var(--line);border-radius:16px;padding:28px;width:min(520px,calc(100vw - 28px));max-height:calc(100dvh - 32px);color:var(--ink);box-shadow:0 30px 120px #0b241b30;overflow:auto}dialog::backdrop{background:#152b2360;backdrop-filter:blur(3px)}dialog h2{font-size:24px;letter-spacing:-.6px;margin:0 0 14px}dialog label{font-size:14px}dialog .hint{font-size:12px;line-height:1.7;margin:18px 0}dialog .primary{padding:12px 18px}dialog details{border-top:1px solid var(--line);padding-top:16px;margin-top:20px}dialog summary{cursor:pointer;font-size:14px;margin-bottom:16px}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}.dialog-top h2{margin:0}.icon-btn{border:0;background:transparent;font-size:25px;line-height:1;padding:6px 10px}.preview-dialog{width:min(1060px,calc(100vw - 24px));padding:0;background:#edf0ee;max-height:calc(100dvh - 24px);overflow:hidden}.preview-toolbar{padding:16px 22px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.preview-toolbar h2{font-size:18px;letter-spacing:0;margin:0}.preview-toolbar button{font-size:14px}.preview-scroll{max-height:calc(100dvh - 110px);overflow:auto;padding:28px}.document-sheet{max-width:794px;min-height:1050px;background:white;margin:auto;padding:42px;color:#20352c;box-shadow:0 2px 12px #203a3210;font-size:13px;line-height:1.6}.doc-header{display:flex;justify-content:space-between;gap:30px;border-bottom:3px solid var(--green);padding-bottom:24px;margin-bottom:28px}.doc-brand{font-size:25px;line-height:1.3;font-weight:650;margin-bottom:12px;overflow-wrap:anywhere}.doc-header p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.doc-number{min-width:150px;text-align:right}.doc-number>span,.doc-client span{font-size:10px;letter-spacing:1.2px;color:#718176}.doc-number h2{font-size:20px;margin:8px 0}.doc-client{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin-bottom:30px}.doc-client h2{font-size:16px;margin:6px 0;font-weight:600}.doc-item{border-top:1px solid #e3e8e3;padding:18px 0;break-inside:avoid}.doc-item-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px}.doc-item-heading h3{font-size:15px;margin:0;font-weight:600}.doc-item-heading h3 span{color:#87968b;font-weight:400;margin-right:8px}.doc-item-body{display:flex;align-items:center;gap:25px;margin-top:12px}.doc-item-body>div:last-child{flex:1;min-width:0}.doc-item-body p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.doc-plan{width:220px;flex-shrink:0}.doc-plan svg{width:100%;height:auto}.doc-unit{margin-top:10px!important;color:#667e6f}.doc-bottom{display:grid;grid-template-columns:1fr 260px;gap:36px;margin-top:25px;border-top:1px solid var(--line);padding-top:15px;break-inside:avoid}.doc-conditions h3{font-size:13px}.doc-conditions p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.doc-totals .row{font-size:12px}.doc-totals .total{font-size:21px}.doc-footer{border-top:1px solid var(--line);margin-top:36px;padding-top:15px;font-size:11px;color:#7b897e;break-inside:avoid}.doc-footer p{font-size:10px;margin-top:5px}.document-sheet:empty{min-height:0}@media(min-width:1450px){.workspace{grid-template-columns:310px 1fr}.editor-tabs{gap:22px}}@media(max-width:1150px){.quote-grid{grid-template-columns:minmax(0,1fr) 300px;gap:16px}.quote-item{flex-wrap:wrap}.item-amounts{margin-left:auto;width:210px}.quote-library{grid-template-columns:repeat(2,minmax(0,1fr))}.card{padding:20px}}@media(max-width:900px){.quote-grid{grid-template-columns:1fr}.quote-summary{position:static}.project-bar{gap:8px}.project-bar #companyShortcut{max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:0}.project-current select{max-width:220px}.workspace{grid-template-columns:245px minmax(0,1fr)}.controls{max-height:none}.editor-tabs{gap:13px}.editor-tabs button{font-size:12px}.drawing svg{max-height:58vh}}@media(max-width:640px){.project-bar{margin:0 0 14px;flex-wrap:wrap}.project-bar #companyShortcut{max-width:100%;font-size:12px}.project-current{width:100%;border-top:1px solid var(--line);padding-top:6px;justify-content:space-between}.project-current select{max-width:calc(100% - 40px);flex:1}.workspace{display:flex;position:relative;gap:10px;min-height:0}.drawing-column{order:0;min-height:0}.controls{order:1;border:1px solid var(--line);padding:14px;border-radius:10px;background:#fff;max-height:none;overflow:visible}.editor-title{display:none}.mobile-controls{display:flex;justify-content:space-between;align-items:center;width:100%;padding:0;background:none;border:0;font-size:14px;font-weight:600}.editor-tabs{display:none;margin:18px 0 16px;justify-content:space-between;gap:10px}.editor-tabs button{font-size:14px;min-height:34px}.editor-pane{display:none}.controls-expanded .editor-tabs{display:flex}.controls-expanded .editor-pane:not([hidden]){display:block}.drawing{min-height:230px}.drawing svg{min-height:230px;max-height:38dvh}.canvas-top{padding:12px 14px}.canvas-top b{font-size:13px}.canvas-top .quiet{font-size:12px;padding:8px}.canvas-bottom{padding:6px 12px;gap:6px}.canvas-tools{gap:0}.canvas-tools button{padding:6px;font-size:11px}.canvas-bottom>span{font-size:11px}.estimate{padding:12px 14px;gap:12px}.estimate strong{font-size:22px}.estimate .primary{font-size:13px;padding:10px 12px;min-height:42px}.drawing-note{margin:0 14px 12px;font-size:11px}.swatches{grid-template-columns:repeat(6,36px);gap:14px}.swatch{width:34px;height:34px}.quote-library{grid-template-columns:1fr}.section-heading{flex-wrap:wrap;gap:12px}.section-heading h1{font-size:24px}.section-heading .actions{width:100%}.section-heading .actions button{flex:1}.card{padding:16px}.quote-item{gap:12px}.quote-item svg{width:90px}.quote-item .info{min-width:150px}.item-amounts{width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px}.item-amounts .two{width:60%;gap:10px}.item-amounts label{margin:0}.quote-item .item-actions button{min-height:36px;font-size:13px}.quote-tile{padding:20px}.preview-scroll{padding:12px}.preview-toolbar{padding:12px}.preview-toolbar .actions{gap:4px}.document-sheet{padding:20px;min-height:700px}.doc-header{gap:15px}.doc-brand{font-size:20px}.doc-number{min-width:95px}.doc-number h2{font-size:16px}.doc-client{gap:14px}.doc-item-body{flex-direction:column;align-items:stretch;gap:8px}.doc-plan{width:200px;margin:auto}.doc-bottom{grid-template-columns:1fr;gap:12px}.doc-totals{order:-1}.doc-item-heading{gap:12px}.doc-item-heading h3{font-size:14px}.doc-item-heading b{white-space:nowrap;font-size:12px}.preview-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px)}dialog{padding:22px}dialog h2{font-size:23px}dialog input,dialog select,dialog textarea{font-size:16px}.doc-client h2{font-size:14px}}
@media print{dialog,dialog[open],dialog::backdrop{display:none!important}#printArea{display:block!important}.document-sheet{max-width:none;min-height:0;padding:0;box-shadow:none;font-size:11px}.doc-header{margin-bottom:18px}.doc-plan{width:175px}.doc-plan svg,#printArea svg{width:175px;height:auto}.doc-item-body{flex-direction:row;gap:18px}.doc-bottom{display:grid;grid-template-columns:1fr 250px}.doc-totals{order:0}.doc-brand{font-size:24px}.doc-number h2{font-size:18px}.doc-client{grid-template-columns:1fr 1fr}.doc-item{break-inside:avoid}.doc-item-heading{break-after:avoid}.doc-footer{font-size:10px}body{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
