*{margin:0;padding:0;box-sizing:border-box}html,body{height:100%;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{background:#e8e8e8;overflow:hidden}.app-container,.embed-container{display:grid;height:100vh;gap:0}.app-container{grid-template-columns:380px 1fr 400px}.embed-container{grid-template-columns:320px 1fr 320px}.controls-panel,.pricing-panel{background:linear-gradient(180deg,#f5f5f5,#e8e8e8);overflow-y:auto;padding:20px;min-width:0}.controls-panel{border-right:3px solid #F20B0F;box-shadow:5px 0 15px #0000001a;padding-bottom:40px}.pricing-panel{border-left:3px solid #F20B0F;box-shadow:-5px 0 15px #0000001a}.viewer-container{background:#d8d8d8;position:relative;overflow:hidden;min-width:0}#canvas-container{width:100%;height:100%}.logo{margin-bottom:20px;text-align:center;padding:10px;background:linear-gradient(135deg,#06010c,#1a1a1a);border-radius:8px;box-shadow:0 4px 12px #0000004d}.logo img{max-width:180px;height:auto}.logo.has-dealer-logo{background:transparent!important;box-shadow:none}h2{font-size:18px;font-weight:700;margin-bottom:16px;color:#06010c;text-transform:uppercase;letter-spacing:.5px}fieldset{border:2px solid #D8D8D8;border-radius:8px;padding:12px;margin-bottom:12px;background:#fff;box-shadow:0 2px 8px #0000000d}fieldset:hover{border-color:#f20b0f}legend{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:#f20b0f;padding:0 8px;background:#fff}label{display:block;font-size:12px;font-weight:600;color:#06010c;margin-bottom:8px}.help-btn{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;background:#f20b0f;color:#fff;border-radius:50%;font-size:11px;font-weight:700;cursor:help;margin-left:4px;vertical-align:middle;position:relative}.help-btn:hover{background:#ac0307}.help-btn[title]:hover:after{content:attr(title);position:absolute;bottom:100%;left:50%;transform:translate(-50%);background:#06010c;color:#fff;padding:8px 12px;border-radius:6px;font-size:11px;font-weight:400;white-space:normal;width:220px;z-index:1000;margin-bottom:6px;line-height:1.4;text-align:left;box-shadow:0 4px 12px #0000004d}input[type=number],input[type=text],input[type=email],input[type=tel],select,textarea{width:100%;padding:10px 12px;border:2px solid #D8D8D8;border-radius:6px;font-size:14px;font-family:inherit;transition:all .2s;background:#fff;color:#06010c;font-weight:500}input:focus,select:focus,textarea:focus{outline:none;border-color:#f20b0f;box-shadow:0 0 0 3px #f20b0f26}input[type=checkbox]{width:18px;height:18px;margin-right:8px;accent-color:#F20B0F;cursor:pointer}textarea{resize:vertical;min-height:60px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pricing-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid #E8E8E8;font-size:14px;color:#06010c}.pricing-row.total{border-top:3px solid #F20B0F;border-bottom:none;padding-top:14px;margin-top:10px;font-weight:800;font-size:22px;color:#f20b0f}.btn{width:100%;padding:12px;border:none;border-radius:6px;font-size:14px;font-weight:700;cursor:pointer;transition:all .2s;margin-top:10px;text-transform:uppercase;letter-spacing:.5px}.btn-primary{background:linear-gradient(135deg,#f20b0f,#ac0307);color:#fff;box-shadow:0 4px 12px #f20b0f4d}.btn-primary:hover{background:linear-gradient(135deg,#ac0307,#8a0205);transform:translateY(-1px);box-shadow:0 6px 16px #f20b0f66}.btn-secondary{background:#949392;color:#fff}.btn-secondary:hover{background:#06010c}.btn-primary:disabled{background:#d8d8d8;cursor:not-allowed;color:#949392;box-shadow:none}.hidden{display:none!important}.success-message{background:linear-gradient(135deg,#10b981,#059669);color:#fff;padding:12px;border-radius:6px;margin-top:10px;text-align:center;font-weight:600}.modal{display:none;position:fixed;z-index:1000;left:0;top:0;width:100%;height:100%;background-color:#06010c80;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal-content{background:#fff;margin:0;padding:0;border-radius:12px;width:400px;max-width:90%;box-shadow:0 20px 60px #00000080;border:1px solid #E8E8E8;overflow:hidden;position:fixed;top:20px;left:400px}.modal-content .close{position:absolute;top:12px;right:16px;color:#fffc;font-size:28px;font-weight:700;line-height:20px;cursor:pointer;transition:color .2s;z-index:10}.modal-content .close:hover{color:#fff}#modalContent{background:linear-gradient(180deg,#fff,#f5f5f5)}#modalContent h3{margin:0;padding:16px 50px 16px 24px;color:#fff;font-size:16px;font-weight:700;text-transform:uppercase;letter-spacing:1px;background:linear-gradient(135deg,#f20b0f,#ac0307)}#modalContent .grid-2,#modalContent>div:not(:first-child){padding:0 24px}#modalContent label{color:#06010c;font-weight:600;font-size:12px}#modalContent input,#modalContent select{background:#fff;border:2px solid #D8D8D8;color:#06010c;padding:10px 12px}#modalContent input:focus,#modalContent select:focus{border-color:#f20b0f;box-shadow:0 0 0 3px #f20b0f26}#modalContent .modal-buttons{display:flex;gap:10px;margin:20px 24px 24px;padding-top:20px;border-top:1px solid #E8E8E8}#modalContent .modal-buttons .btn{flex:1;margin-top:0}.modal-body{padding:24px}.modal-buttons{display:flex;gap:10px;margin-top:20px}.modal-buttons .btn{flex:1;margin-top:0}.openings-list{max-height:200px;overflow-y:auto}.opening-item{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#fff;border:1px solid #E8E8E8;border-radius:6px;margin-bottom:6px;font-size:12px;color:#06010c}.opening-item:hover{border-color:#f20b0f}.opening-item span{flex:1}.btn-remove{background:#f20b0f;color:#fff;border:none;border-radius:4px;width:26px;height:26px;cursor:pointer;font-size:18px;line-height:1;padding:0;display:flex;align-items:center;justify-content:center}.btn-remove:hover{background:#ac0307}.color-section{margin-bottom:16px}.color-label{display:block;font-size:12px;font-weight:600;color:#06010c;margin-bottom:6px}.color-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:4px;margin-bottom:4px}.color-swatch{aspect-ratio:1;border:2px solid #E8E8E8;border-radius:4px;cursor:pointer;transition:all .15s;position:relative}.color-swatch:hover{transform:scale(1.1);z-index:1;box-shadow:0 4px 12px #0003}.color-swatch.selected{border-color:#f20b0f;box-shadow:0 0 0 3px #f20b0f}.color-swatch[title]:hover:after{content:attr(title);position:absolute;bottom:100%;left:50%;transform:translate(-50%);background:#06010c;color:#fff;padding:4px 8px;border-radius:4px;font-size:10px;white-space:nowrap;z-index:100;margin-bottom:4px}.color-selected{font-size:11px;color:#949392}.color-selected span{font-weight:600;color:#06010c}.color-dropdown{width:100%;padding:10px 12px;border:2px solid #D8D8D8;border-radius:6px;font-size:14px;font-family:inherit;cursor:pointer;background:#fff;color:#06010c}.color-dropdown option{padding:8px 10px;font-size:14px}.quote-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;border-bottom:3px solid #F20B0F}.quote-header h2{margin:0;font-size:20px;font-weight:800;color:#06010c}.quote-actions{display:flex;gap:6px;flex-wrap:wrap}.quote-actions .btn-sm{background:linear-gradient(135deg,#f20b0f,#ac0307);color:#fff;box-shadow:0 2px 8px #f20b0f4d;border:none}.quote-actions .btn-sm:hover{background:linear-gradient(135deg,#ac0307,#8a0205);transform:translateY(-1px);box-shadow:0 4px 12px #f20b0f66}.btn-sm{padding:6px 10px;font-size:11px;border-radius:4px;text-transform:uppercase}.btn-full{width:100%}.quote-images{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px}.quote-image-slot{aspect-ratio:16/10;background:#fff;border:2px dashed #D8D8D8;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.quote-image-slot:hover{border-color:#f20b0f}.quote-image-slot img{width:100%;height:100%;object-fit:cover}.quote-image-slot .placeholder-text{font-size:10px;color:#949392;text-align:center;padding:8px}.quote-image-slot.has-image{border-style:solid;border-color:#f20b0f}.quote-section{background:#fff;border:1px solid #E8E8E8;border-radius:8px;margin-bottom:10px;overflow:hidden;box-shadow:0 2px 8px #0000000d}.section-header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:linear-gradient(135deg,#f5f5f5,#e8e8e8);border-bottom:1px solid #E8E8E8}.section-title{font-size:13px;font-weight:700;color:#06010c;text-transform:uppercase;letter-spacing:.3px}.section-dims{font-size:12px;font-weight:700;color:#f20b0f}.section-specs{display:flex;gap:12px;padding:6px 12px;background:#fafafa;border-bottom:1px solid #E8E8E8;font-size:11px;color:#949392}.section-specs span{display:flex;align-items:center;gap:4px}.line-item,.line-item-sub{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;font-size:12px;border-bottom:1px solid #F5F5F5}.line-item:last-child,.line-item-sub:last-child{border-bottom:none}.line-item span:first-child{color:#06010c}.line-item span:last-child{font-weight:700;color:#06010c}.line-item-sub{padding-left:24px;background:#fafafa}.line-item-sub span:first-child{color:#949392;font-size:11px}.line-item-sub span:last-child{color:#06010c;font-weight:600}.line-item.subtotal{background:#f5f5f5;font-weight:700}.line-item.deduct span:last-child{color:#ac0307}.text-muted span:first-child{color:#949392;font-style:italic}.quote-total{background:linear-gradient(135deg,#f20b0f,#ac0307);border-radius:8px;padding:16px;margin-bottom:12px;box-shadow:0 4px 16px #f20b0f4d}.total-row{display:flex;justify-content:space-between;align-items:center}.total-row span:first-child{font-size:16px;font-weight:700;color:#fff;text-transform:uppercase;letter-spacing:1px}.total-row span:last-child{font-size:28px;font-weight:900;color:#fff}.payment-section{background:#fff}.payment-row{display:flex;justify-content:space-between;padding:10px 12px;font-size:12px;border-bottom:1px solid #F5F5F5}.payment-row:last-child{border-bottom:none}.payment-row span:first-child{color:#949392}.payment-row span:last-child{font-weight:700;color:#06010c}.customer-section{margin-top:12px}.customer-section .form-row{margin-bottom:8px}.customer-section label{font-size:11px;margin-bottom:4px}.customer-section input,.customer-section textarea{font-size:13px;padding:8px 10px}.quote-buttons{margin-top:12px}.quote-buttons .btn{padding:14px 16px;font-size:14px;font-weight:700}#openings_list .line-item-sub{padding-left:12px}.dealer-info-section,.customer-info-section{background:#fff;border:1px solid #E8E8E8;border-radius:6px;margin-bottom:12px;overflow:hidden;box-shadow:0 2px 8px #0000000d}.dealer-header,.customer-header{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:linear-gradient(135deg,#f5f5f5,#e8e8e8);cursor:pointer;font-size:12px;font-weight:700;color:#06010c;text-transform:uppercase;letter-spacing:.5px}.customer-header{cursor:pointer}.customer-header.collapsed .toggle-icon{transform:rotate(-90deg)}.toggle-btn{display:flex;align-items:center;gap:6px;background:#f20b0f1a;padding:4px 10px;border-radius:4px;transition:background .2s}.dealer-header:hover .toggle-btn,.customer-header:hover .toggle-btn{background:#f20b0f33}.toggle-text{font-size:10px;font-weight:600;color:#f20b0f;text-transform:uppercase;letter-spacing:.5px}.collapse-text{display:inline}.expand-text,.dealer-header.collapsed .collapse-text,.customer-header.collapsed .collapse-text{display:none}.dealer-header.collapsed .expand-text,.customer-header.collapsed .expand-text{display:inline}.toggle-icon{font-size:10px;transition:transform .2s;color:#f20b0f}.dealer-header.collapsed .toggle-icon{transform:rotate(-90deg)}.dealer-content{padding:12px;display:flex;flex-direction:column;gap:12px;background:#fff}.dealer-content.hidden{display:none}.customer-content{padding:12px;display:flex;flex-direction:column;gap:8px;background:#fff}.customer-content.hidden{display:none}.dealer-logo-row{display:flex;align-items:center;gap:12px}.dealer-logo-preview{width:60px;height:60px;background:#f5f5f5;border:2px dashed #D8D8D8;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:10px;color:#949392;overflow:hidden}.dealer-logo-preview img{width:100%;height:100%;object-fit:contain}.dealer-logo-preview.has-logo{border-style:solid;border-color:#f20b0f}.dealer-logo-actions{display:flex;flex-direction:column;gap:6px}.dealer-logo-actions label{cursor:pointer}.dealer-fields,.customer-fields{display:flex;flex-direction:column;gap:8px;padding:0 12px 12px}.dealer-content .dealer-fields{padding:0}.dealer-input{background:#fff;border:2px solid #E8E8E8;border-radius:4px;padding:10px 12px;font-size:12px;color:#06010c;width:100%;box-sizing:border-box;font-weight:500}.dealer-input:focus{outline:none;border-color:#f20b0f;box-shadow:0 0 0 3px #f20b0f26}.dealer-input::placeholder{color:#949392}.customer-input{background:#fff;border:2px solid #E8E8E8;border-radius:4px;padding:10px 12px;font-size:12px;color:#06010c;width:100%;box-sizing:border-box;font-weight:500}.customer-input:focus{outline:none;border-color:#f20b0f;box-shadow:0 0 0 3px #f20b0f26}.customer-input::placeholder{color:#949392}.customer-fields label{font-size:11px;font-weight:600;color:#06010c;text-transform:uppercase;letter-spacing:.5px;margin-top:4px}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:#e8e8e8;border-radius:5px}::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#949392,#d8d8d8);border-radius:5px}::-webkit-scrollbar-thumb:hover{background:#f20b0f}.section-divider{height:2px;background:linear-gradient(90deg,transparent 0%,#F20B0F 50%,transparent 100%);margin:16px 0}@media print{.pricing-panel{width:100%;max-width:800px;margin:0 auto;padding:20px}.quote-actions,.customer-section,.quote-buttons{display:none}.quote-section{break-inside:avoid}}.quote-panel-toggle{position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:1000;writing-mode:vertical-rl;text-orientation:mixed;background:linear-gradient(180deg,#c41e3a,#8b0000);color:#fff;padding:24px 14px;font-size:15px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;cursor:pointer;border-radius:12px 0 0 12px;box-shadow:-6px 0 20px #0006,0 0 30px #c41e3a4d;transition:all .3s ease;display:flex;align-items:center;gap:12px;border:2px solid rgba(255,255,255,.2);border-right:none}.quote-panel-toggle:hover{background:linear-gradient(180deg,#d4343f,#a00000);padding-right:20px;box-shadow:-8px 0 25px #00000080,0 0 40px #c41e3a80}.quote-panel-toggle:hover .toggle-arrow{animation:none;transform:translate(-3px)}.quote-panel-toggle .toggle-arrow{font-size:14px;transition:transform .3s ease;animation:pulse-arrow 2s ease-in-out infinite}@keyframes pulse-arrow{0%,to{transform:translate(0);opacity:1}50%{transform:translate(-4px);opacity:.7}}.app-container:not(.quote-collapsed) .quote-panel-toggle{opacity:0;pointer-events:none;visibility:hidden}.app-container.quote-collapsed .quote-panel-toggle{opacity:1;pointer-events:auto;visibility:visible}.app-container.quote-collapsed .quote-panel-toggle .toggle-arrow{transform:rotate(180deg)}.quote-collapse-bar{display:flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(180deg,#c41e3a,#8b0000);color:#fff;padding:14px 20px;margin:-20px -20px 16px;cursor:pointer;transition:all .2s ease;border-bottom:3px solid #06010C;position:sticky;top:-20px;z-index:10;box-shadow:0 4px 12px #0000004d}.quote-collapse-bar:hover{background:linear-gradient(180deg,#d4343f,#a00000);padding-right:30px}.quote-collapse-bar .collapse-text{font-size:14px;font-weight:700;text-transform:uppercase;letter-spacing:1.5px}.quote-collapse-bar .collapse-arrow{font-size:14px;transition:transform .2s ease}.quote-collapse-bar:hover .collapse-arrow{transform:translate(5px)}.app-container{transition:grid-template-columns .3s ease}.app-container.quote-collapsed{grid-template-columns:380px 1fr 0px}.pricing-panel{transition:transform .3s ease,opacity .3s ease,width .3s ease;overflow-y:auto;overflow-x:hidden}.app-container.quote-collapsed .pricing-panel{transform:translate(100%);opacity:0;width:0;padding:0;min-width:0;pointer-events:none;overflow:hidden}.viewer-container{transition:all .3s ease}.embed-container{transition:grid-template-columns .3s ease}.embed-container.quote-collapsed{grid-template-columns:320px 1fr 0px}.embed-container.quote-collapsed .pricing-panel{transform:translate(100%);opacity:0;width:0;padding:0;min-width:0;pointer-events:none;overflow:hidden}.embed-container:not(.quote-collapsed) .quote-panel-toggle{opacity:0;pointer-events:none;visibility:hidden}.embed-container.quote-collapsed .quote-panel-toggle{opacity:1;pointer-events:auto;visibility:visible}.powered-by-redline{display:none;text-align:center;padding:4px 0;font-size:11px;font-weight:500;letter-spacing:.5px;opacity:.55;-webkit-user-select:none;user-select:none;flex-shrink:0;background:#d8d8d8;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}body.embed-mode .powered-by-redline{display:flex;justify-content:center;gap:4px}.powered-by-redline .powered-by-prefix{color:#000}.powered-by-redline .powered-by-brand{color:#c41e3a;font-weight:700}:root{--embed-accent: #C41E3A;--embed-accent-hover: #a3182f;--embed-text: #ffffff;--embed-text-muted: #a0a0a0;--embed-bg: #0f0f14;--embed-surface: #1a1a24;--embed-border: #2a2a3a;--embed-success: #10b981;--embed-error: #ef4444}body.embed-mode{overflow-x:hidden}body.embed-mode .app-header,body.embed-mode .main-nav,body.embed-mode .sidebar,body.embed-mode .top-bar{display:none!important}body.embed-mode .app-container,body.embed-mode main,body.embed-mode .main-content{padding-top:0;margin-top:0}body.embed-hide-pricing .pricing-display,body.embed-hide-pricing .price-total,body.embed-hide-pricing .quote-total,body.embed-hide-pricing #pricing-section,body.embed-hide-pricing [data-pricing]{display:none!important}.embed-cta-container{padding:1.5rem;border-top:1px solid var(--embed-border);background:var(--embed-surface);text-align:center;margin-top:auto}.embed-cta-btn{display:inline-flex;align-items:center;justify-content:center;width:100%;padding:1rem 2rem;font-size:1.1rem;font-weight:700;color:#fff;background:var(--embed-accent);border:none;border-radius:8px;cursor:pointer;transition:all .2s ease;text-transform:uppercase;letter-spacing:.5px}.embed-cta-btn:hover{background:var(--embed-accent-hover);transform:translateY(-1px);box-shadow:0 4px 12px #c41e3a4d}.embed-cta-btn:active{transform:translateY(0)}.embed-cta-note{margin:.75rem 0 0;font-size:.85rem;color:var(--embed-text-muted)}.embed-blocked-state{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;background:var(--embed-bg);z-index:9999}.embed-blocked-content{text-align:center;padding:2rem;max-width:400px}.embed-blocked-icon{width:64px;height:64px;color:var(--embed-text-muted);margin-bottom:1.5rem}.embed-blocked-content h2{margin:0 0 .75rem;font-size:1.5rem;color:var(--embed-text)}.embed-blocked-content p{margin:0;color:var(--embed-text-muted);line-height:1.5}.embed-lead-modal{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10000;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:all .3s ease}.embed-lead-modal.open{opacity:1;visibility:visible}.embed-lead-modal-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#000000bf;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.embed-lead-modal-content{position:relative;width:90%;max-width:520px;max-height:90vh;overflow-y:auto;background:var(--embed-surface);border-radius:12px;box-shadow:0 20px 60px #00000080;transform:translateY(20px);transition:transform .3s ease}.embed-lead-modal.open .embed-lead-modal-content{transform:translateY(0)}.embed-lead-modal-close{position:absolute;top:1rem;right:1rem;width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:50%;cursor:pointer;color:var(--embed-text-muted);transition:all .2s ease}.embed-lead-modal-close:hover{background:#ffffff1a;color:var(--embed-text)}.embed-lead-modal-close svg{width:20px;height:20px}.embed-lead-modal-header{padding:1.5rem 1.5rem 1rem;border-bottom:1px solid var(--embed-border)}.embed-lead-modal-header h2{margin:0 0 .5rem;font-size:1.5rem;font-weight:700;color:var(--embed-text)}.embed-lead-modal-header p{margin:0;font-size:.9rem;color:var(--embed-text-muted)}.embed-lead-form{padding:1.5rem}.embed-lead-form-row{margin-bottom:1rem}.embed-lead-form-row-2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.embed-lead-form-row-3{display:grid;grid-template-columns:2fr 1fr 1fr;gap:1rem}.embed-lead-form-group{display:flex;flex-direction:column}.embed-lead-form-group label{font-size:.85rem;font-weight:600;color:var(--embed-text);margin-bottom:.5rem}.embed-lead-form-group label .required{color:var(--embed-error)}.embed-lead-form-group input,.embed-lead-form-group textarea{padding:.75rem 1rem;font-size:1rem;color:var(--embed-text);background:var(--embed-bg);border:1px solid var(--embed-border);border-radius:6px;transition:all .2s ease;font-family:inherit}.embed-lead-form-group input:focus,.embed-lead-form-group textarea:focus{outline:none;border-color:var(--embed-accent);box-shadow:0 0 0 3px #c41e3a26}.embed-lead-form-group input::placeholder,.embed-lead-form-group textarea::placeholder{color:var(--embed-text-muted);opacity:.6}.embed-lead-form-group textarea{resize:vertical;min-height:80px}.embed-lead-form-consent label{display:flex;align-items:flex-start;gap:.75rem;cursor:pointer;font-weight:400}.embed-lead-form-consent input[type=checkbox]{width:18px;height:18px;margin-top:2px;accent-color:var(--embed-accent);cursor:pointer}.embed-lead-form-consent span{font-size:.85rem;color:var(--embed-text-muted);line-height:1.4}.embed-lead-form-actions{display:flex;gap:1rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--embed-border)}.embed-lead-btn-cancel{flex:1;padding:.875rem 1.5rem;font-size:1rem;font-weight:600;color:var(--embed-text-muted);background:transparent;border:1px solid var(--embed-border);border-radius:6px;cursor:pointer;transition:all .2s ease}.embed-lead-btn-cancel:hover{background:#ffffff0d;color:var(--embed-text)}.embed-lead-btn-submit{flex:2;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.875rem 1.5rem;font-size:1rem;font-weight:600;color:#fff;background:var(--embed-accent);border:none;border-radius:6px;cursor:pointer;transition:all .2s ease}.embed-lead-btn-submit:hover:not(:disabled){background:var(--embed-accent-hover)}.embed-lead-btn-submit:disabled{opacity:.7;cursor:not-allowed}.embed-lead-btn-spinner{display:inline-flex;align-items:center}.embed-lead-btn-spinner .spinner-icon{width:20px;height:20px;animation:embed-spin 1s linear infinite}@keyframes embed-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.embed-lead-success{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 2rem;text-align:center}.embed-lead-success .success-icon{width:64px;height:64px;color:var(--embed-success);margin-bottom:1.5rem}.embed-lead-success h3{margin:0 0 .75rem;font-size:1.5rem;color:var(--embed-text)}.embed-lead-success p{margin:0 0 2rem;font-size:.95rem;color:var(--embed-text-muted);line-height:1.5}.embed-lead-btn-done{padding:.875rem 2rem;font-size:1rem;font-weight:600;color:#fff;background:var(--embed-success);border:none;border-radius:6px;cursor:pointer;transition:all .2s ease}.embed-lead-btn-done:hover{background:#0ea572}.embed-lead-error{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:3rem 2rem;text-align:center}.embed-lead-error .error-icon{width:64px;height:64px;color:var(--embed-error);margin-bottom:1.5rem}.embed-lead-error h3{margin:0 0 .75rem;font-size:1.5rem;color:var(--embed-text)}.embed-lead-error p{margin:0 0 2rem;font-size:.95rem;color:var(--embed-text-muted);line-height:1.5}.embed-lead-btn-retry{padding:.875rem 2rem;font-size:1rem;font-weight:600;color:#fff;background:var(--embed-error);border:none;border-radius:6px;cursor:pointer;transition:all .2s ease}.embed-lead-btn-retry:hover{background:#dc2626}@media (max-width: 600px){.embed-lead-modal-content{width:95%;max-height:95vh;border-radius:8px}.embed-lead-form-row-2,.embed-lead-form-row-3{grid-template-columns:1fr}.embed-lead-form-actions{flex-direction:column-reverse}.embed-lead-btn-cancel,.embed-lead-btn-submit{flex:none;width:100%}.embed-cta-btn{padding:.875rem 1.5rem;font-size:1rem}}.embed-lead-modal-content::-webkit-scrollbar{width:8px}.embed-lead-modal-content::-webkit-scrollbar-track{background:var(--embed-bg);border-radius:4px}.embed-lead-modal-content::-webkit-scrollbar-thumb{background:var(--embed-border);border-radius:4px}.embed-lead-modal-content::-webkit-scrollbar-thumb:hover{background:#3a3a4a}.embed-floating-cta{position:fixed;top:20px;right:20px;z-index:950;background:linear-gradient(180deg,#c41e3a,#8b0000);color:#fff;padding:14px 28px;border:none;border-radius:8px;font-weight:700;font-size:1rem;text-transform:uppercase;letter-spacing:.5px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;cursor:pointer;box-shadow:0 6px 20px #c41e3a66,0 2px 6px #0000004d;transition:transform .15s ease,box-shadow .15s ease}.embed-floating-cta:hover{transform:translateY(-2px);box-shadow:0 8px 24px #c41e3a80,0 4px 8px #00000059}.embed-floating-cta:active{transform:translateY(0)}body.embed-floating-cta-mode .quote-panel-toggle{display:none!important}@media (max-width: 768px),(max-width: 1024px) and (max-height: 500px){html body{overflow:hidden!important}html #placement-hint{display:none!important}html .app-container,html .embed-container,html .app-container.quote-collapsed,html .embed-container.quote-collapsed{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;width:100%!important;min-width:0!important;height:100dvh!important}html .viewer-container{order:1!important;flex:0 0 auto!important;width:100%!important;min-width:0!important;height:40dvh!important;min-height:220px!important;position:relative!important}html #canvas-container{width:100%!important;flex:1 1 auto!important;min-height:0!important;height:auto!important}html .viewer-container{display:grid!important;grid-template-columns:100%!important;grid-template-rows:auto minmax(0,1fr) auto!important}html .viewer-container>#layout-bar{grid-row:1!important;height:42px!important;min-height:0!important;max-height:none!important;box-sizing:border-box!important;align-items:center!important}html .viewer-container>#canvas-container{grid-row:2!important;grid-column:1!important}html .viewer-container>.powered-by-redline{grid-row:2!important;grid-column:1!important;align-self:end!important;position:relative!important;z-index:2!important}html .viewer-container>#openings-bar{grid-row:3!important}html .controls-panel{order:2!important;flex:1 1 auto!important;min-height:0!important;width:100%!important;min-width:0!important;max-width:none!important;overflow-x:hidden!important;overflow-y:auto!important;box-sizing:border-box!important;border-right:none!important;border-top:3px solid #F20B0F!important;box-shadow:0 -5px 15px #0000001a!important;padding:12px 12px calc(80px + env(safe-area-inset-bottom,0px))!important;margin-bottom:calc(52px + env(safe-area-inset-bottom,0px))!important;opacity:1!important}html #layout-bar{flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;flex-shrink:0!important;scrollbar-width:none!important}html #layout-bar::-webkit-scrollbar{display:none!important}html #layout-bar>*,html #layout-bar .layout-bar-main>*,html #layout-bar .layout-bar-right>*{flex-shrink:0!important;white-space:nowrap!important}html #layout-bar .layout-bar-main,html #layout-bar .layout-bar-right{flex:0 0 auto!important;flex-wrap:nowrap!important;margin-left:0!important}html #openings-bar{width:100%!important;flex-shrink:0!important;box-sizing:border-box!important}html #openings-bar .openings-bar-row{min-height:0!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important}html #openings-bar .openings-bar-row::-webkit-scrollbar{display:none!important}html #openings-bar:not(:has(#opening-type-tabs,#openings-bar-tabstrip)){display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;gap:14px!important;padding:6px 10px!important;max-height:56px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important}html #openings-bar:not(:has(#opening-type-tabs,#openings-bar-tabstrip))::-webkit-scrollbar{display:none!important}html #openings-bar:not(:has(#opening-type-tabs,#openings-bar-tabstrip))>.opening-group{display:flex!important;flex-wrap:nowrap!important;flex-shrink:0!important;align-items:center!important;gap:5px!important;margin:0!important}html #openings-bar:not(:has(#opening-type-tabs,#openings-bar-tabstrip)) .opening-label{white-space:nowrap!important;width:auto!important;min-width:0!important;overflow:visible!important;flex-shrink:0!important}html .controls-panel>.logo{display:none!important}html #openings-bar .opening-type-panel,html #openings-bar .opening-type-panel.active{flex-wrap:nowrap!important;flex-shrink:0!important;max-width:none!important}html .controls-panel input[type=number],html .controls-panel input[type=text],html .controls-panel input[type=email],html .controls-panel input[type=tel],html .controls-panel select,html .pricing-panel input[type=text],html .pricing-panel input[type=email],html .pricing-panel input[type=tel],html .pricing-panel textarea{font-size:16px!important}html .pricing-panel,html .app-container.quote-collapsed .pricing-panel,html .embed-container.quote-collapsed .pricing-panel{order:3!important;position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:auto!important;width:85%!important;max-width:360px!important;min-width:0!important;height:auto!important;z-index:500!important;padding:16px!important;overflow-x:hidden!important;overflow-y:auto!important;opacity:1!important;border-left:3px solid #F20B0F!important;box-shadow:-10px 0 30px #0000004d!important;transform:translate(100%)!important;transition:transform .3s ease!important;pointer-events:auto!important}html .app-container.quote-collapsed .pricing-panel,html .embed-container.quote-collapsed .pricing-panel{pointer-events:none!important}html .app-container:not(.quote-collapsed) .pricing-panel,html .embed-container:not(.quote-collapsed) .pricing-panel{transform:none!important}html .app-container:not(.quote-collapsed):before,html .embed-container:not(.quote-collapsed):before{content:""!important;position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;background:#06010c99!important;z-index:499!important;pointer-events:auto!important}html #quotePanelToggle.quote-panel-toggle{position:fixed!important;top:auto!important;bottom:0!important;left:0!important;right:0!important;width:auto!important;height:auto!important;min-height:52px!important;transform:none!important;writing-mode:horizontal-tb!important;text-orientation:mixed!important;border-radius:0!important;padding:16px 20px calc(16px + env(safe-area-inset-bottom,0px))!important;font-size:15px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:8px!important;z-index:400!important;box-shadow:0 -4px 20px #0000004d!important;opacity:1!important}html #quotePanelToggle.quote-panel-toggle .toggle-arrow{animation:none!important;transform:rotate(-90deg)!important}}@media (max-width: 768px),(max-width: 1024px) and (max-height: 500px){html{--rl-pm-top: env(safe-area-inset-top, 0px);--rl-pm-bottom: max(env(safe-area-inset-bottom, 0px), var(--rl-pm-gate-inset, 0px));--rl-pm-left: env(safe-area-inset-left, 0px);--rl-pm-right: env(safe-area-inset-right, 0px);--rl-pm-max-h: calc(100dvh - var(--rl-pm-top) - var(--rl-pm-bottom));--rl-pm-vb: max(0px, calc(100% - 100dvh) );--rl-pm-vr: max(0px, calc(100% - 100dvw) )}html.rl-pm-popup-open #quotePanelToggle,html.rl-pm-popup-open .quote-panel-toggle,html.rl-pm-popup-open #embed-floating-submit-btn,html.rl-pm-popup-open .embed-floating-cta{display:none!important}html .controls-panel{-webkit-overflow-scrolling:auto!important}html.rl-pm-popup-open .controls-panel,html .controls-panel:has(>#add_mode_pane:not([style*="display: none"]):not([style*="display:none"])){overflow:hidden!important;margin-bottom:0!important}html .controls-panel:has(>#add_mode_pane:not([style*="display: none"]):not([style*="display:none"])){z-index:5000!important}html #add_mode_pane.add-mode-pane:not([style*="display: none"]):not([style*="display:none"]){position:fixed!important;top:auto!important;bottom:max(var(--rl-pm-vb),calc(100% - 100svh))!important;left:var(--rl-pm-left)!important;right:calc(var(--rl-pm-vr) + var(--rl-pm-right))!important;width:auto!important;max-width:none!important;max-height:min(var(--rl-pm-max-h),64dvh)!important;margin:0!important;padding:12px 12px 0!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch;z-index:5000!important;border-radius:12px 12px 0 0!important;box-shadow:0 -8px 28px #00000059!important;transform:none!important;filter:none!important}html #add_mode_pane>div:has(>#btn_submit_add_mode){position:sticky!important;bottom:0!important;z-index:3!important;margin:12px -12px 0!important;padding:10px 12px calc(10px + var(--rl-pm-bottom))!important;background:inherit!important;border-top:1px solid #d5d8dc!important;box-shadow:0 -4px 12px #00000014!important}html #add_mode_pane>div:has(>#btn_submit_add_mode)>button{min-height:44px!important;font-size:15px!important}@media (max-height: 500px) and (min-width: 600px){html #add_mode_pane.add-mode-pane:not([style*="display: none"]):not([style*="display:none"]){top:var(--rl-pm-top)!important;bottom:calc(max(var(--rl-pm-vb),calc(100% - 100svh)) + var(--rl-pm-bottom))!important;right:auto!important;width:min(420px,55%)!important;max-height:var(--rl-pm-max-h)!important;border-radius:0 12px 12px 0!important;box-shadow:8px 0 28px #00000059!important}html #add_mode_pane>div:has(>#btn_submit_add_mode){padding-bottom:10px!important}}html #openingModal.modal,html .misc-modal-overlay,html .save-quote-modal-overlay,html .quote-locked-overlay,html .embed-lead-modal,html #rl-share-overlay.rl-share-ov{top:0!important;left:0!important;right:var(--rl-pm-vr)!important;bottom:var(--rl-pm-vb)!important;width:auto!important;height:auto!important}html .misc-modal-overlay,html .quote-locked-overlay,html .embed-lead-modal{padding-top:var(--rl-pm-top)!important;padding-bottom:var(--rl-pm-bottom)!important}html #openingModal.modal{z-index:5000!important}html #openingModal .modal-content{position:fixed!important;top:calc(50dvh + (var(--rl-pm-top) - var(--rl-pm-bottom)) / 2)!important;left:calc(8px + var(--rl-pm-left))!important;right:calc(8px + var(--rl-pm-right) + var(--rl-pm-vr))!important;bottom:auto!important;width:auto!important;max-width:none!important;max-height:calc(var(--rl-pm-max-h) - 16px)!important;margin:0!important;padding-bottom:0!important;transform:translateY(-50%)!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important}html #openingModal .modal-buttons{position:sticky!important;bottom:0!important;z-index:3!important;margin-bottom:0!important;padding:10px 0 12px!important;background:inherit!important}html #openingModal .modal-buttons button{min-height:44px!important}html .misc-modal-overlay .misc-modal{width:calc(100% - 16px)!important;max-height:calc(var(--rl-pm-max-h) - 16px)!important;padding-bottom:0!important;overscroll-behavior:contain!important}html .misc-modal-overlay .misc-modal-buttons{position:sticky!important;bottom:0!important;z-index:3!important;margin-bottom:0!important;padding-top:10px!important;padding-bottom:12px!important;background:inherit!important}html .misc-modal-overlay .misc-modal-buttons button{min-height:44px!important}html .save-quote-modal-overlay{padding:calc(8px + var(--rl-pm-top)) 8px calc(8px + var(--rl-pm-bottom))!important}html .save-quote-modal-overlay .save-quote-modal{max-height:calc(var(--rl-pm-max-h) - 16px)!important;overflow-y:auto!important;overscroll-behavior:contain!important}html .save-quote-modal-overlay .save-quote-modal-actions .btn,html .save-quote-modal-overlay .save-quote-modal-footer button{min-height:44px!important}html .quote-locked-overlay .quote-locked-modal{max-height:calc(var(--rl-pm-max-h) - 16px)!important;overflow-y:auto!important}html .quote-locked-overlay .quote-locked-actions button{min-height:44px!important}html .embed-lead-modal .embed-lead-modal-content{width:calc(100% - 16px)!important;max-height:calc(var(--rl-pm-max-h) - 16px)!important;overscroll-behavior:contain!important}html .embed-lead-modal .embed-lead-form-actions{position:sticky!important;bottom:0!important;z-index:3!important;margin-bottom:0!important;padding-bottom:12px!important;background:var(--embed-surface, #1a1a24)!important}html .embed-lead-modal .embed-lead-form-actions button{min-height:44px!important}html #rl-share-overlay.rl-share-ov{padding:calc(8px + var(--rl-pm-top)) calc(8px + var(--rl-pm-right)) calc(8px + var(--rl-pm-bottom)) calc(8px + var(--rl-pm-left))!important}html #rl-share-overlay .rl-share-card{max-height:calc(var(--rl-pm-max-h) - 16px)!important;padding:20px 18px 0!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important}html #rl-share-overlay .rl-share-card>.rl-share-foot{position:sticky!important;bottom:0!important;z-index:3!important;margin:18px -18px 0!important;padding:10px 18px 12px!important;background:#1a1a1a!important;border-top:1px solid #333!important}html #rl-share-overlay .rl-share-foot button{min-height:44px!important}html #interior-studio{right:var(--rl-pm-vr)!important;bottom:var(--rl-pm-vb)!important}html #interior-studio .is-done,html #interior-studio .is-close,html #interior-studio [data-is-close],html #interior-layout-panel .ilp-close,html #interior-layout-panel .ilp-edit{min-height:44px!important;min-width:44px!important}html #pad_place_panel,html #zone_place_panel,html #drain_place_panel,html #drain_trace_panel{top:calc(8px + var(--rl-pm-top))!important;right:calc(8px + var(--rl-pm-right) + var(--rl-pm-vr))!important;max-width:calc(100dvw - 16px)!important;max-height:calc(var(--rl-pm-max-h) - 16px)!important;overflow-y:auto!important}html #pad_place_panel button,html #zone_place_panel button,html #drain_place_panel button,html #drain_trace_panel button{min-height:44px!important}@media (max-height: 500px) and (min-width: 600px){html .app-container,html .embed-container,html .app-container.quote-collapsed,html .embed-container.quote-collapsed{display:grid!important;grid-template-columns:220px minmax(0,1fr)!important;grid-template-rows:100%!important;height:100dvh!important}html .controls-panel{order:1!important;grid-column:1!important;grid-row:1!important;width:auto!important;min-height:0!important;margin-bottom:0!important;padding:6px 6px calc(20px + env(safe-area-inset-bottom,0px))!important;border-top:none!important;border-right:2px solid #F20B0F!important}html .viewer-container{order:2!important;grid-column:2!important;grid-row:1!important;width:auto!important;height:100%!important;min-height:0!important}html #quotePanelToggle.quote-panel-toggle{position:fixed!important;top:50%!important;bottom:auto!important;left:auto!important;right:var(--rl-pm-vr)!important;width:auto!important;height:auto!important;min-height:0!important;transform:translateY(-50%)!important;writing-mode:vertical-rl!important;text-orientation:mixed!important;border-radius:8px 0 0 8px!important;padding:10px 8px!important;font-size:11px!important;flex-direction:column!important;z-index:400!important}html #quotePanelToggle.quote-panel-toggle .toggle-arrow{transform:none!important}html .controls-panel>.logo{display:none!important}}@media (max-height: 500px) and (min-width: 600px){html .app-container:not(.quote-collapsed) .pricing-panel,html .embed-container:not(.quote-collapsed) .pricing-panel{position:fixed!important;top:0!important;right:var(--rl-pm-vr)!important;bottom:var(--rl-pm-vb)!important;left:auto!important;width:min(380px,60%)!important;max-width:none!important;min-width:0!important;height:auto!important;z-index:500!important;padding:calc(12px + var(--rl-pm-top)) calc(12px + var(--rl-pm-right)) calc(12px + var(--rl-pm-bottom)) 12px!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;opacity:1!important;transform:none!important;pointer-events:auto!important;visibility:visible!important;border-left:3px solid #F20B0F!important;box-shadow:-10px 0 30px #0000004d!important}html .app-container:not(.quote-collapsed):before,html .embed-container:not(.quote-collapsed):before{content:""!important;position:fixed!important;top:0!important;right:0!important;bottom:0!important;left:0!important;background:#06010c99!important;z-index:499!important;pointer-events:auto!important}}html body.embed-mode .controls-panel>.logo{display:block!important;margin:0 0 8px!important;padding:6px!important;text-align:center!important}html body.embed-mode .controls-panel>.logo img{display:inline-block!important;width:auto!important;height:auto!important;max-width:180px!important;max-height:56px!important}@media (max-width: 768px) and (orientation: portrait){html #pf_building_bar{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}html #pf_building_bar>div:has(>.bldg-add-btn):not([style*="display:none"]):not([style*="display: none"]){display:contents!important}html #pf_building_bar>div:not(:has(>.bldg-add-btn)){grid-column:1 / -1!important}html #pf_building_bar>#bldg-placement-hint:not(.visible),html #pf_building_bar>#tf_structure_bar[style*="display: none"],html #pf_building_bar>#tf_structure_bar[style*="display:none"]{display:none!important}html #pf_building_bar .bldg-add-btn{min-width:0!important;min-height:44px!important;padding:6px!important;white-space:normal!important;line-height:1.2!important;box-sizing:border-box!important}html .controls-panel fieldset:has(#main_w) .grid-2,html .controls-panel fieldset:has(#main_w) .tf-grid-3{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px 8px!important}html body.tf-framing #section_project_info{display:block!important}html .viewer-container{position:relative}html.rl-dv-set .viewer-container{flex:0 0 auto!important;transition:none!important;height:var(--rl-dv-h)!important;min-height:0!important;max-height:none!important}html #rl-dv{order:1!important;position:relative!important;display:block!important;flex:0 0 0px!important;height:0!important;width:100%!important;z-index:30!important;touch-action:none!important}html #rl-dv:before{content:"";position:absolute;left:0;right:0;top:-10px;height:30px;touch-action:none;cursor:row-resize}html #rl-dv .rl-dv-grip{position:absolute;left:50%;top:-9px;width:52px;height:18px;margin-left:-26px;box-sizing:border-box;border:2px solid #F20B0F;border-radius:9px;background:#fff;box-shadow:0 1px 4px #00000059;pointer-events:none}html #rl-dv .rl-dv-grip:before,html #rl-dv .rl-dv-grip:after{content:"";position:absolute;left:14px;right:14px;height:2px;border-radius:1px;background:#f20b0f}html #rl-dv .rl-dv-grip:before{top:4px}html #rl-dv .rl-dv-grip:after{top:9px}html #rl-dv.rl-dv-dragging .rl-dv-grip{background:#f20b0f}html #rl-dv.rl-dv-dragging .rl-dv-grip:before,html #rl-dv.rl-dv-dragging .rl-dv-grip:after{background:#fff}html.rl-pm-popup-open #rl-dv{display:none!important}}@media (orientation: landscape){html #rl-dv{display:none!important}}html body.embed-mode #layout-bar>#embed-floating-submit-btn.rl-submit-in-bar{padding:6px 12px;font-size:11px;max-width:calc(100% - 240px)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;position:sticky!important;top:auto!important;right:0!important;bottom:auto!important;left:auto!important;z-index:2!important;margin:0 0 0 auto!important;transform:none!important;flex-shrink:0!important}html body.embed-mode .rl-submit-in-bar{font-family:revert!important;font-weight:600!important;letter-spacing:.3px!important;border-radius:3px!important;box-shadow:none!important;line-height:normal!important}html body.embed-mode #layout_zoom_hint,html body.embed-mode #layout-bar .layout-bar-divider{display:none!important}}
