:root{--ed-blue:#169bd5;--ed-purple:#7040cf;--ed-line:#d8e0e5;--ed-bg:#f5f7f9;--ed-text:#1b2a34}*{box-sizing:border-box}body{margin:0;color:var(--ed-text);font-family:Arial,sans-serif;background:#fff}.ed-layout{display:grid;grid-template-columns:305px minmax(420px,1fr) 285px;height:calc(100vh - 208px);min-height:680px;background:var(--ed-bg);border-top:1px solid #dde4e8}.ed-options,.ed-summary{background:#fff;padding:18px;overflow:auto}.ed-options{border-right:1px solid var(--ed-line)}.ed-summary{border-left:1px solid var(--ed-line)}.ed-options h1,.ed-summary h2{font-size:18px;margin:0 0 18px}.ed-options section{border-bottom:1px solid var(--ed-line);padding:0 0 16px;margin:0 0 16px}.ed-options h2{font-size:14px;margin:0 0 10px}.ed-dimensions>div{display:grid;grid-template-columns:1fr 20px 1fr;align-items:end;gap:7px}.ed-dimensions label{font-size:11px}.ed-dimensions label span{display:flex;margin-top:5px;border:1px solid #cad5db;background:#f4f6f7}.ed-dimensions input{min-width:0;width:100%;border:0;background:transparent;padding:10px;font-size:16px}.ed-dimensions em{padding:11px 8px;background:#e2e7ea;font-style:normal;font-size:11px}.ed-dimensions>b{text-align:center;padding-bottom:11px;color:#97a3aa}.ed-dimensions small{display:block;margin-top:7px;color:#75838c}.ed-selected>button,.ed-accessory-row{display:flex;align-items:center;width:100%;min-height:58px;border:1px solid #cfd9df;border-radius:5px;background:#fff;padding:7px;text-align:left;cursor:pointer}.ed-selected button>span{display:flex;align-items:center;gap:9px;min-width:0;flex:1}.ed-selected img,.ed-selected i{width:45px;height:45px;object-fit:contain;border:1px solid #d9e0e4;background-size:cover}.ed-selected i{display:block}.ed-selected b{font-size:13px;overflow:hidden;text-overflow:ellipsis}.ed-selected em,.ed-accessory-row em{background:var(--ed-purple);color:#fff;border-radius:3px;padding:10px 9px;font-style:normal;font-size:12px}.ed-accessories details{border:1px solid var(--ed-line);margin-bottom:8px}.ed-accessories summary{padding:11px;background:#f1f5f7;font-weight:700;cursor:pointer}.ed-accessory-row{border:0;border-top:1px solid var(--ed-line);border-radius:0;min-height:55px}.ed-accessory-row>span{display:grid;gap:4px;flex:1}.ed-accessory-row small{color:#687780}.ed-options textarea{width:100%;resize:vertical;border:1px solid #ccd6dc;padding:10px}.ed-stage{position:relative;display:flex;align-items:center;justify-content:center;overflow:auto;padding:30px}.ed-status{position:absolute;top:12px;left:20px;color:#61727c;margin:0}.ed-status.error{color:#bd2d36}.ed-drawing{width:min(760px,95%);height:min(690px,88%);display:flex;align-items:center;justify-content:center}.ed-drawing svg{width:100%;height:100%;filter:drop-shadow(0 8px 9px rgba(24,43,54,.09))}.ed-summary dl{margin:0}.ed-summary dl>div{display:grid;grid-template-columns:44% 56%;gap:7px;padding:11px 0;border-bottom:1px solid var(--ed-line);font-size:12px}.ed-summary dt{font-weight:700}.ed-summary dd{margin:0;text-align:right;word-break:break-word}.ed-prices{margin-top:25px}.ed-prices p{display:flex;justify-content:space-between;font-size:13px}.ed-prices .total{border-top:1px solid var(--ed-line);padding-top:15px;font-size:17px}.ed-prices strong{color:var(--ed-purple);font-size:23px}.ed-summary>button{width:100%;border:0;background:var(--ed-purple);color:#fff;font-weight:700;padding:14px;margin-top:14px;border-radius:4px;cursor:pointer}.ed-summary>button:disabled{opacity:.5;cursor:not-allowed}.ed-summary>a{display:block;text-align:center;background:#e9edf0;color:#17252e;text-decoration:none;font-weight:700;padding:13px;margin-top:8px}.ed-modal{width:min(980px,92vw);max-height:86vh;border:0;border-radius:8px;padding:0;box-shadow:0 20px 60px #17252e55}.ed-modal::backdrop{background:#20323d88}.ed-modal header{display:flex;justify-content:space-between;align-items:center;padding:17px 20px;border-bottom:1px solid var(--ed-line)}.ed-modal h2{margin:0;font-size:18px}.ed-modal header button{border:0;background:none;font-size:28px;cursor:pointer}.ed-modal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:12px;padding:20px;overflow:auto;max-height:calc(86vh - 65px)}.ed-option{min-height:145px;border:1px solid #d2dce1;border-radius:5px;background:#fff;padding:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;cursor:pointer}.ed-option:hover,.ed-option.selected{border:2px solid var(--ed-purple);padding:8px;background:#f6f1ff}.ed-option img,.ed-option i{width:105px;height:88px;object-fit:contain;background-size:cover;background-position:center;border:1px solid #e0e5e8}.ed-option i{display:block}.ed-option b{text-align:center;font-size:12px}.ed-option small{color:#687780}.ed-option.none{min-height:80px}@media(max-width:1000px){.ed-layout{grid-template-columns:280px 1fr;height:auto;min-height:calc(100vh - 170px)}.ed-summary{grid-column:1/-1;border:0;border-top:1px solid var(--ed-line);display:grid;grid-template-columns:1fr 260px;gap:20px}.ed-summary h2{grid-column:1/-1}.ed-stage{min-height:650px}}@media(max-width:700px){.ed-layout{display:flex;flex-direction:column}.ed-options,.ed-summary{overflow:visible;border:0}.ed-stage{min-height:520px;padding:18px}.ed-drawing{height:470px}.ed-summary{display:block}.ed-modal-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.ed-option img,.ed-option i{width:100%;height:80px}}
.ed-price-audit{width:min(760px,calc(100vw - 30px));max-height:calc(100vh - 20px);padding:0;border:1px solid #26343d;border-radius:8px;box-shadow:0 18px 55px #0005}.ed-price-audit::backdrop{background:#17212a88}.ed-price-audit header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:#f2f5f7;border-bottom:1px solid #c8d1d8}.ed-price-audit h2{margin:0;font-size:14px}.ed-price-audit header button{border:0;background:transparent;font-size:21px;line-height:1;cursor:pointer}.ed-price-audit #ed-price-audit-content{padding:8px;overflow:auto}.ed-audit-table{width:100%;border:2px solid #59666f;border-collapse:collapse;font-size:11.2px;line-height:1.05}.ed-audit-table th,.ed-audit-table td{border-right:1px solid #77838b;border-bottom:1px solid #a5afb5;padding:3px 7px;text-align:left}.ed-audit-table th{border-bottom:2px solid #59666f;background:#dfe6ea}.ed-audit-table tbody tr:nth-child(even):not(.ed-audit-section):not(.ed-audit-total) td{background:#f5f7f8}.ed-audit-table td:nth-child(2),.ed-audit-table th:nth-child(2){border-left:2px solid #77838b}.ed-audit-table td:last-child,.ed-audit-table th:last-child{border-left:2px solid #59666f;text-align:right;white-space:nowrap}.ed-audit-table td:last-child{background:#f1f4f6;font-variant-numeric:tabular-nums;font-weight:700}.ed-audit-table .ed-audit-section td{border-top:3px solid #59666f;border-bottom:2px solid #77838b;background:#d7e0e5;font-weight:800;text-align:left}.ed-audit-table .ed-audit-total td{border-top:3px double #5530a5;font-weight:800;background:#eee7ff}.ed-audit-note{margin:5px 0 0;color:#667;font-size:9.6px}
.ed-custom-number-modal{width:min(620px,calc(100vw - 28px));padding:0;border:1px solid #34434a;border-radius:9px}.ed-custom-number-modal::backdrop{background:#17212a88}.ed-custom-number-modal header{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid #d4dce1}.ed-custom-number-modal h2{margin:0;font-size:20px}.ed-custom-number-modal header button{border:0;background:none;font-size:25px;cursor:pointer}.ed-custom-number-form{display:grid;gap:16px;padding:18px}.ed-custom-number-form>label{display:grid;gap:6px;font-weight:700}.ed-custom-number-form input[type=text]{min-height:44px;padding:8px 11px;font-size:20px}.ed-custom-number-styles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ed-custom-number-styles label{border:1px solid #c5d0d7;border-radius:6px;padding:12px;cursor:pointer}.ed-custom-number-styles label:has(input:checked){border:2px solid #7040d4;background:#f4efff}.ed-custom-number-position{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.ed-custom-number-position input{width:100%}.ed-custom-number-glass{padding:9px 12px;border-left:4px solid #1687d9;background:#edf8ff}.ed-custom-number-technical{padding:10px 12px;background:#fff7d6;border:1px solid #e5ca64}.ed-custom-number-apply{min-height:44px;border:0;border-radius:5px;background:#7040d4;color:#fff;font-weight:800;cursor:pointer}@media(max-width:520px){.ed-custom-number-styles{grid-template-columns:1fr}}
.ed-custom-number-drag{position:absolute;z-index:4;transform:translate(-50%,-72%);padding:5px 8px;border:1px dashed transparent;border-radius:4px;font-size:clamp(16px,3.4vw,31px);font-weight:800;line-height:1;white-space:nowrap;cursor:grab;touch-action:none;user-select:none;text-shadow:1px 1px 2px #0008;opacity:0;transition:opacity .15s ease,background .15s ease,border-color .15s ease}.ed-custom-number-drag:hover,.ed-custom-number-drag.is-dragging{border-color:#7040d4;background:#ffffffb8;cursor:grabbing;opacity:1}.ed-custom-number-drag[data-style="inox"]{color:#9ca4a8}.ed-custom-number-drag[data-style="led_white"]{color:#fff;text-shadow:0 0 5px #fff,0 0 12px #fff,1px 1px 2px #000}.ed-custom-number-drag[data-style="led_blue"]{color:#1687d9;text-shadow:0 0 5px #43aeff,0 0 13px #1687d9}.ed-custom-number-drag[data-style="frosted"]{color:#dcebed;text-shadow:1px 1px 1px #61727c}.ed-door-viewport.is-interior .ed-custom-number-drag{display:none}
.ed-custom-number-drag{font-size:clamp(11px,2.4vw,22px);padding:4px 6px}
.ed-handle-option{position:relative;min-width:0}.ed-handle-option>.ed-option{width:100%;height:100%}.ed-handle-info-button{position:absolute;z-index:3;left:7px;bottom:7px;width:27px;height:27px;border:0;border-radius:50%;background:var(--ed-blue);color:#fff;font:italic 800 16px/27px Georgia,serif;cursor:pointer;box-shadow:0 2px 6px #0003}.ed-handle-info-button:hover{background:var(--ed-purple)}.ed-handle-info{width:min(720px,calc(100vw - 28px));max-height:90vh;padding:0;border:0;border-radius:9px;box-shadow:0 20px 60px #17252e55}.ed-handle-info::backdrop{background:#20323d88}.ed-handle-info header{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;border-bottom:1px solid var(--ed-line)}.ed-handle-info h2{margin:0;font-size:19px}.ed-handle-info header button{border:0;background:transparent;font-size:28px;cursor:pointer}.ed-handle-info>div{display:grid;gap:15px;padding:18px;overflow:auto}.ed-handle-info img{display:block;max-width:100%;max-height:62vh;margin:auto;object-fit:contain}.ed-handle-info p{margin:0;line-height:1.55}
.ed-custom-number-actions{display:flex;gap:10px}.ed-custom-number-actions button{flex:1;min-height:44px;border-radius:5px;font-weight:800;cursor:pointer}.ed-custom-number-remove{border:1px solid #bd3030;background:#fff;color:#a51f1f}
