:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{margin:0;padding:0;box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}::-webkit-scrollbar{width:10px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#0c4da2;border-radius:5px}::-webkit-scrollbar-thumb:hover{background:#083a7e}::selection{background:#0c4da2;color:#fff}.app-header{background:linear-gradient(135deg,#1a0f0a,#2d1810);box-shadow:0 2px 20px #ff6b3533;border-bottom:1px solid rgba(255,107,53,.3);position:sticky;top:0;z-index:100}.header-container{max-width:1600px;margin:0 auto;padding:15px 20px;display:flex;justify-content:flex-start;align-items:center;gap:20px}.logo{display:flex;align-items:center}.logo a{display:flex;align-items:center;gap:15px;text-decoration:none}.logo img{height:90px;max-width:300px;object-fit:contain;filter:brightness(1.1) contrast(1.05)}.demo-text{font-size:24px;font-weight:700;color:#ff6b35;text-transform:uppercase;letter-spacing:2px;background:linear-gradient(135deg,#ff6b35,#ff9558);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;text-shadow:0 0 15px rgba(255,107,53,.5);animation:pulse 2s ease-in-out infinite alternate}@keyframes pulse{0%{text-shadow:0 0 15px rgba(255,107,53,.5)}to{text-shadow:0 0 25px rgba(255,107,53,.8)}}.menu-toggle{display:none;flex-direction:column;justify-content:space-between;width:30px;height:21px;background:transparent;border:none;cursor:pointer;padding:0}.menu-toggle span{display:block;height:3px;width:100%;background-color:#ff6b35;border-radius:3px;transition:all .3s ease;box-shadow:0 0 5px #ff6b354d}.main-nav ul{list-style:none;padding:0;margin:0;display:flex;gap:25px}.main-nav a{text-decoration:none;color:#fed;font-weight:500;font-size:16px;transition:all .3s ease;padding:5px 0;position:relative}.main-nav a:hover{color:#ff6b35;text-shadow:0 0 10px rgba(255,107,53,.5);transform:translateY(-1px)}.main-nav a.active{color:#ff6b35;text-shadow:0 0 10px rgba(255,107,53,.5)}.main-nav a.active:after{content:"";position:absolute;bottom:-2px;left:0;width:100%;height:3px;background:linear-gradient(135deg,#ff6b35,#ff9558);border-radius:3px;box-shadow:0 2px 8px #ff6b3566}.main-nav{display:flex;justify-content:flex-start;order:-1}.back-home{background:linear-gradient(135deg,#ff6b35,#ff9558)!important;color:#fff!important;padding:12px 24px!important;border-radius:25px!important;text-decoration:none!important;font-weight:600!important;transition:all .3s ease!important;box-shadow:0 4px 15px #ff6b354d!important;text-shadow:none!important}.back-home:hover{transform:translateY(-2px)!important;box-shadow:0 8px 25px #ff6b3566!important;text-shadow:none!important}.view-mode-toggle{display:flex;align-items:center;margin-left:auto;order:2}.toggle-switch{display:flex;align-items:center;gap:12px;cursor:pointer}.toggle-label{font-size:14px;font-weight:500;color:#fed;-webkit-user-select:none;user-select:none;white-space:nowrap;transition:all .3s ease}.toggle-switch input[type=checkbox]{display:none}.toggle-slider{position:relative;width:56px;height:28px;background-color:#ff6b35;border-radius:28px;transition:background-color .3s ease;box-shadow:0 4px 12px #ff6b354d}.toggle-slider:before{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;background-color:#fff;border-radius:50%;transition:transform .3s ease;box-shadow:0 2px 8px #0000004d}.toggle-switch input[type=checkbox]:checked+.toggle-slider{background-color:#e55100;box-shadow:0 4px 12px #e5510066}.toggle-switch input[type=checkbox]:checked+.toggle-slider:before{transform:translate(28px)}.toggle-switch input[type=checkbox]:checked~.toggle-label:last-child{color:#ff6b35;text-shadow:0 0 10px rgba(255,107,53,.5);font-weight:600}.toggle-switch input[type=checkbox]:not(:checked)~.toggle-label:first-of-type{color:#ff6b35;text-shadow:0 0 10px rgba(255,107,53,.5);font-weight:600}@media (max-width: 768px){.menu-toggle{display:flex}.view-mode-toggle{order:-1;margin:0 10px}.demo-text{font-size:18px;letter-spacing:1px}.toggle-label{font-size:12px}.toggle-slider{width:48px;height:24px}.toggle-slider:before{width:18px;height:18px}.toggle-switch input[type=checkbox]:checked+.toggle-slider:before{transform:translate(24px)}.main-nav{justify-content:flex-start}.back-home{padding:8px 16px!important;font-size:14px!important}}.app-footer{background:linear-gradient(135deg,#1a0f0a,#2d1810,#1a0f0a);color:#fed;padding:40px 0;margin-top:50px;border-top:2px solid rgba(255,107,53,.3);position:relative}.app-footer:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(ellipse at center top,rgba(255,107,53,.05) 0%,transparent 70%);pointer-events:none}.footer-container{max-width:1200px;margin:0 auto;padding:0 20px;position:relative;z-index:1}.footer-content{text-align:center;display:flex;flex-direction:column;gap:20px;align-items:center}.footer-links{display:flex;gap:30px;align-items:center;justify-content:center;flex-wrap:wrap}.footer-links a{color:#fedc;text-decoration:none;font-size:16px;font-weight:500;transition:all .3s ease;position:relative;padding:8px 0}.footer-links a:after{content:"";position:absolute;bottom:0;left:0;width:0;height:2px;background:linear-gradient(135deg,#ff6b35,#ff9558);transition:width .3s ease}.footer-links a:hover{color:#ff6b35;text-shadow:0 0 8px rgba(255,107,53,.3)}.footer-links a:hover:after{width:100%}.footer-content p{margin:0;font-size:14px;color:#ffeeddb3;font-weight:400;line-height:1.6}.footer-content{animation:fadeInUp .6s ease-out}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 768px){.app-footer{padding:30px 0}.footer-links{flex-direction:column;gap:15px}.footer-links a{font-size:14px}.footer-content p{font-size:13px;text-align:center}}.initial-view-selector{min-height:80vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem}.view-selector-header{text-align:center;margin-bottom:3rem}.view-selector-header h1{font-size:3rem;margin-bottom:1rem}.view-selector-subtitle{font-size:1.2rem;color:#888;margin-bottom:1.5rem}.permissions-notice{max-width:700px;margin:0 auto;padding:1rem 1.5rem;background:#ff6b351a;border:1px solid rgba(255,107,53,.3);border-radius:8px;text-align:center}.permissions-notice p{color:#ca9;font-size:.95rem;line-height:1.6;margin:0}.view-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;max-width:1200px;width:100%}.view-card{background:#1e1e1ecc;border:2px solid var(--card-color, #444);border-radius:12px;padding:2rem;text-align:center;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden}.view-card:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,transparent,var(--card-color, #444));opacity:0;transition:opacity .3s ease;z-index:0}.view-card:hover:before{opacity:.1}.view-card:hover{transform:translateY(-5px);border-color:var(--card-color, #444);box-shadow:0 10px 30px #00000080}.view-card>*{position:relative;z-index:1}.view-card-icon{font-size:4rem;margin-bottom:1rem}.view-card-title{font-size:1.8rem;color:var(--card-color, #fff);margin-bottom:1rem}.view-card-description{color:#aaa;margin-bottom:2rem;line-height:1.6}.view-card-button{background:var(--card-color, #444);color:#fff;border:none;padding:.75rem 2rem;border-radius:6px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.view-card-button:hover{opacity:.9;transform:scale(1.05)}@media (max-width: 768px){.view-cards{grid-template-columns:1fr}.view-selector-header h1{font-size:2rem}.view-card-title{font-size:1.5rem}}.pricing-module{background:#2d1810cc;border-radius:15px;box-shadow:0 8px 25px #ff6b3533;padding:30px;margin:30px 0;border:1px solid rgba(255,107,53,.3);color:#fed;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif}.pricing-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;padding-bottom:20px;border-bottom:2px solid rgba(255,107,53,.3)}.pricing-header h3{color:#ff6b35;font-size:24px;font-weight:700;margin:0;background:linear-gradient(135deg,#ff6b35,#ff9558);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.view-mode-badge{padding:8px 16px;border-radius:20px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:1px}.view-mode-badge.sales{background:linear-gradient(135deg,#ff6b35,#ff9558);color:#fff;box-shadow:0 4px 12px #ff6b354d}.view-mode-badge.technical{background:#ffeedd1a;color:#fed;border:1px solid rgba(255,238,221,.3)}.technical-view .cost-breakdown{background:#1a0f0a99;padding:25px;border-radius:12px;border:1px solid rgba(255,107,53,.2)}.technical-view h4{color:#fed;font-size:18px;margin-bottom:20px;font-weight:600}.cost-items{display:flex;flex-direction:column;gap:12px}.cost-item{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid rgba(255,238,221,.1)}.cost-item:last-child{border-bottom:none}.cost-item.total-cost{margin-top:15px;padding-top:15px;border-top:2px solid rgba(255,107,53,.3);font-size:16px}.cost-item span:first-child{color:#ffeedde6}.cost-item span:last-child{color:#ff6b35;font-weight:600}.cost-notes{margin-top:20px;padding:15px;background:#ff6b351a;border-radius:8px;border-left:4px solid #ff6b35}.cost-notes p{margin:5px 0;font-size:12px;color:#ffeeddb3}.sales-view{display:flex;flex-direction:column;gap:25px}.pricing-section{background:#1a0f0a99;padding:25px;border-radius:12px;border:1px solid rgba(255,107,53,.2)}.pricing-section h4{color:#ff6b35;font-size:18px;margin-bottom:20px;font-weight:600;background:linear-gradient(135deg,#ff6b35,#ff9558);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}.pricing-item{display:flex;justify-content:space-between;align-items:center;padding:15px;background:#2d1810cc;border-radius:8px;border:1px solid rgba(255,238,221,.1)}.pricing-item.highlight{border-color:#ff6b35;box-shadow:0 4px 15px #ff6b3533}.pricing-item span:first-child{color:#fedc;font-size:14px}.pricing-item .price{color:#ff6b35;font-weight:700;font-size:18px}.pricing-item .margin{color:#ffc107;font-weight:600}.volume-tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px}.tier-card{background:#2d1810cc;border:2px solid rgba(255,238,221,.1);border-radius:10px;padding:20px;text-align:center;cursor:pointer;transition:all .3s ease}.tier-card:hover{border-color:#ff6b3580;transform:translateY(-2px);box-shadow:0 8px 20px #ff6b3533}.tier-card.selected{border-color:#ff6b35;background:#ff6b351a;box-shadow:0 8px 25px #ff6b354d}.tier-label{color:#fedc;font-size:12px;font-weight:600;text-transform:uppercase;margin-bottom:8px}.tier-price{color:#ff6b35;font-size:20px;font-weight:700;margin-bottom:5px}.tier-discount{color:#ffc107;font-size:14px;font-weight:600;margin-bottom:5px}.tier-margin{color:#fed9;font-size:12px}.quote-details{display:flex;flex-direction:column;gap:12px}.quote-item{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid rgba(255,238,221,.1)}.quote-item:last-child{border-bottom:none}.quote-item.total{margin-top:15px;padding-top:15px;border-top:2px solid rgba(255,107,53,.3);font-size:16px}.quote-item span:first-child{color:#ffeedde6}.quote-item span:last-child{color:#ff6b35;font-weight:600}.roi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:20px}.roi-item{display:flex;flex-direction:column;align-items:center;padding:20px;background:#2d1810cc;border-radius:10px;border:1px solid rgba(255,238,221,.1)}.roi-item span:first-child{color:#fedc;font-size:12px;text-align:center;margin-bottom:8px}.roi-item .savings,.roi-item .payback,.roi-item .roi{color:#ff6b35;font-size:18px;font-weight:700}.payment-options{display:flex;flex-direction:column;gap:12px}.payment-option{padding:12px 15px;background:#2d1810cc;border-radius:8px;border-left:4px solid #ff6b35;color:#ffeedde6;font-size:14px}.payment-option strong{color:#ff6b35}.pricing-footer{margin-top:20px;padding:15px;background:#ff6b351a;border-radius:8px;text-align:center}.pricing-footer p{margin:0;font-size:12px;color:#ffeeddb3}.pricing-footer strong{color:#ff6b35}@media (max-width: 768px){.pricing-module{padding:20px;margin:20px 0}.pricing-header{flex-direction:column;align-items:flex-start;gap:10px}.pricing-grid{grid-template-columns:1fr}.volume-tiers{grid-template-columns:repeat(2,1fr)}.roi-grid{grid-template-columns:1fr}}.manufacturing-configurator{max-width:1600px;margin:0 auto;padding:0 20px}.configurator-header{margin-bottom:27px;display:flex;align-items:center;gap:20px}.back-button{background:var(--secondary-bg);border:1px solid var(--border-color);color:var(--text-primary);padding:10px 20px;border-radius:6px;font-size:.9rem;transition:all .3s ease;flex-shrink:0}.back-button:hover{background:var(--hover-bg);transform:translateY(-1px)}.header-content{flex:1}.header-content h1{font-size:2.5rem;margin-bottom:10px;font-weight:700}.header-content p{font-size:1.1rem;color:var(--text-secondary);max-width:600px}.configurator-content{display:grid;grid-template-columns:2fr 1fr;gap:40px;align-items:start}.config-sections{display:flex;flex-direction:column;gap:30px}.config-section{background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;padding:25px}.config-section h3{color:var(--primary-orange);font-size:1.3rem;margin-bottom:20px;font-weight:600}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:15px}.form-group{display:flex;flex-direction:column}.form-group label{color:var(--text-primary);font-weight:500;margin-bottom:8px;font-size:.9rem}.form-group input,.form-group select{background:var(--secondary-bg);border:1px solid rgba(255,107,53,.3);color:var(--text-primary);padding:10px 12px;border-radius:6px;font-size:.95rem;transition:all .3s ease}.form-group input:focus,.form-group select:focus{outline:none;border-color:var(--primary-orange);box-shadow:0 0 0 3px #ff6b351a}.form-group input:disabled{opacity:.5;cursor:not-allowed}.tech-info{font-size:.85rem;color:var(--text-secondary);margin-top:5px;font-style:italic}.material-properties{margin-top:10px;padding:10px;background:var(--primary-bg);border-radius:4px;border-left:3px solid var(--primary-orange)}.material-properties p{margin:0;font-size:.85rem;color:var(--text-secondary)}.holes-list{margin-top:15px}.hole-config{display:grid;grid-template-columns:auto 1fr 1fr 1fr auto;gap:10px;align-items:center;padding:10px;background:var(--secondary-bg);border-radius:6px;margin-bottom:10px}.hole-config span{font-size:.9rem;color:var(--text-secondary);min-width:60px}.hole-config input{background:var(--primary-bg);border:1px solid rgba(255,107,53,.3);color:var(--text-primary);padding:6px 8px;border-radius:4px;font-size:.85rem;width:100%}.hole-config button{background:#dc3545;color:#fff;border:none;padding:6px 10px;border-radius:4px;font-size:.9rem;cursor:pointer;transition:all .2s ease}.hole-config button:hover{background:#c82333;transform:none}.results-panel{display:flex;flex-direction:column;gap:25px;position:sticky;top:20px}.validation-errors{background:#dc35451a;border-color:#dc3545}.validation-errors h3{color:#dc3545;margin-bottom:15px}.validation-errors ul{list-style:none;margin:0;padding:0}.validation-errors li{color:var(--text-primary);margin-bottom:8px;padding-left:20px;position:relative}.validation-errors li:before{content:"•";color:#dc3545;position:absolute;left:0}.calculations,.performance-specs,.technical-specs{background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;padding:20px}.calculations h3,.performance-specs h3,.technical-specs h3{color:var(--primary-orange);font-size:1.2rem;margin-bottom:15px;font-weight:600}.calc-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-bottom:1px solid rgba(255,107,53,.1);color:var(--text-primary)}.calc-row:last-child{border-bottom:none}.calc-row.total{font-weight:600;font-size:1.05rem;border-top:2px solid var(--primary-orange);margin-top:10px;padding-top:12px}.calc-row span:first-child{color:var(--text-secondary)}.calc-row span:last-child{color:var(--text-primary);font-weight:500}.actions{background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;padding:20px}.primary-action{width:100%;background:linear-gradient(135deg,var(--primary-orange),#e55a2b);color:var(--text-primary);border:none;padding:15px 25px;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.primary-action:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 25px #ff6b354d}.primary-action:disabled{opacity:.5;cursor:not-allowed;transform:none}@media (max-width: 1024px){.configurator-content{grid-template-columns:1fr;gap:30px}.results-panel{position:static}}@media (max-width: 768px){.manufacturing-configurator{padding:0 15px}.header-content h1{font-size:2rem}.form-row{grid-template-columns:1fr;gap:15px}.config-section{padding:20px}.hole-config{grid-template-columns:1fr;gap:8px}.hole-config span{min-width:auto}}.config-section{animation:slideInUp .5s ease-out}@keyframes slideInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.calculating{opacity:.7;pointer-events:none}.calculating:after{content:"Calculating...";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:var(--primary-orange);font-weight:500}.valve-renderer{display:flex;justify-content:center;align-items:center;padding:20px;background:var(--secondary-bg);border-radius:8px;margin-top:15px}.valve-renderer svg{background:#fff;border-radius:6px;box-shadow:0 4px 12px #0000001a;transition:transform .3s ease}.valve-renderer svg:hover{transform:scale(1.02)}.valve-renderer text{font-family:Courier New,monospace;font-weight:500}.valve-renderer .tech-info{font-size:.85rem;color:var(--text-secondary);margin-top:8px;font-style:italic}.form-group select:disabled{background-color:var(--secondary-bg);color:var(--text-secondary);opacity:.6;cursor:not-allowed}.form-group .tech-info{font-size:.85rem;color:var(--text-secondary);margin-top:5px;border-left:3px solid var(--primary-orange);background:#ff6b350d;padding:8px;border-radius:4px}.validation-errors{background:linear-gradient(135deg,#dc35451a,#dc35450d);border-left:4px solid #dc3545}.validation-errors h3{color:#dc3545!important;display:flex;align-items:center;gap:8px}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:15px;margin-top:15px}.feature-option{background:var(--secondary-bg);border:1px solid var(--border-color);border-radius:8px;padding:15px;cursor:pointer;transition:all .3s ease;position:relative}.feature-option:hover:not(.disabled){background:var(--hover-bg);border-color:var(--primary-orange);transform:translateY(-2px);box-shadow:0 4px 12px #ff6b3526}.feature-option.selected{background:linear-gradient(135deg,#ff6b351a,#ff6b350d);border-color:var(--primary-orange);box-shadow:0 0 0 2px #ff6b354d}.feature-option.disabled{opacity:.5;cursor:not-allowed;background:#8080801a}.feature-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.feature-name{font-weight:600;color:var(--text-primary)}.feature-cost{font-size:.9rem;color:var(--primary-orange);font-weight:500}.feature-description{font-size:.85rem;color:var(--text-secondary);margin:0;line-height:1.4}.incompatible-notice{font-size:.8rem;color:#dc3545;font-style:italic;margin:8px 0 0}.readonly{background-color:var(--secondary-bg)!important;color:var(--text-secondary)!important;cursor:default!important;opacity:.8}.material-properties{background:#ff6b350d;border-left:3px solid var(--primary-orange);padding:10px;margin-top:10px;border-radius:4px}.material-properties p{margin:3px 0;font-size:.85rem;color:var(--text-secondary)}.bom-display{margin-top:20px}.bom-display-full-width{margin-top:40px;width:100%;max-width:1600px}.bom-display h3,.bom-display-full-width h3{margin-bottom:20px;font-size:1.3rem;color:var(--text-primary)}.bom-table{background:var(--secondary-bg);border-radius:8px;overflow:hidden}.bom-header{display:grid;grid-template-columns:60px 2fr 80px 80px 100px;gap:10px;padding:6px 15px;background:#ff6b351a;border-bottom:2px solid var(--primary-orange);font-weight:600;font-size:.9rem;color:var(--text-primary)}.bom-row{display:grid;grid-template-columns:60px 2fr 80px 80px 100px;gap:10px;padding:6px 15px;border-bottom:1px solid var(--border-color);font-size:.9rem;align-items:center}.bom-row:last-child{border-bottom:none}.bom-row:hover:not(.bom-row-total):not(.bom-row-labor){background:#ff6b3508}.bom-row-labor{background:#3498db0d;border-left:3px solid #3498db}.bom-row-total{background:#ff6b3514;border-top:2px solid var(--primary-orange);border-bottom:none;font-weight:600;margin-top:5px}.bom-col-item{text-align:center;font-weight:600;color:var(--text-secondary)}.bom-col-description strong{display:block;margin-bottom:0;line-height:1;color:var(--text-primary)}.bom-col-description small{display:block;color:var(--text-secondary);font-size:.8rem;line-height:1.2}.bom-col-description br{display:none}.bom-col-qty,.bom-col-unit{text-align:center;color:var(--text-secondary)}.bom-col-cost{text-align:right;font-weight:600;color:var(--primary-orange);font-family:Courier New,monospace}.bom-notes{margin-top:15px;padding:15px;background:#3498db0d;border-left:3px solid #3498db;border-radius:4px}.bom-notes p{margin:0 0 8px;font-weight:600;color:var(--text-primary)}.bom-notes ul{margin:0;padding-left:20px;display:grid;grid-template-columns:1fr 1fr;gap:5px 20px}.bom-notes li{margin:0;color:var(--text-secondary);font-size:.85rem;line-height:1.6}@media (max-width: 1024px){.bom-header,.bom-row{grid-template-columns:50px 2fr 70px 70px 90px;gap:8px;padding:10px 12px;font-size:.85rem}}@media (max-width: 768px){.bom-header,.bom-row{grid-template-columns:1fr;gap:5px}.bom-col-item,.bom-col-qty,.bom-col-unit,.bom-col-cost{text-align:left}.bom-header{display:none}.bom-col-item:before{content:"Item: ";font-weight:600}.bom-col-qty:before{content:"Qty: ";font-weight:600}.bom-col-unit:before{content:"Unit: ";font-weight:600}.bom-col-cost:before{content:"Cost: ";font-weight:600}}.dynamic-configurator{padding:2rem}.configurator-header{margin-bottom:2rem}.configurator-header .header-info{margin-top:1rem}.configurator-header h1{color:#fff;margin-bottom:.5rem}.configurator-header p{color:#aaa}.configurator-body{display:grid;gap:2rem}.fields-section h2,.calculations-section h2,.pricing-section h2{color:#fff;margin-bottom:1.5rem}.fields-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.field-container{display:flex;flex-direction:column;gap:.5rem}.field-label{color:#aaa;font-weight:500;display:flex;align-items:center;gap:.5rem}.required{color:#f44336}.tooltip{cursor:help;opacity:.7}.field-input,.field-input select{padding:.75rem;background:#0000004d;border:1px solid rgba(255,255,255,.2);border-radius:6px;color:#fff;font-size:1rem;transition:border-color .3s ease}.field-input:focus{outline:none;border-color:#667eea}.field-input.error{border-color:#f44336}.field-error{color:#f44336;font-size:.85rem}.number-input-container{position:relative;display:flex;align-items:center}.unit-label{position:absolute;right:1rem;color:#888;pointer-events:none}.radio-group{display:flex;flex-direction:column;gap:.5rem}.radio-label,.checkbox-label{display:flex;align-items:center;gap:.5rem;color:#fff;cursor:pointer}.slider-container{display:flex;align-items:center;gap:1rem}.slider-container input[type=range]{flex:1}.slider-value{color:#fff;font-weight:600;min-width:80px;text-align:right}.calculations-section,.pricing-section{background:#1e1e1ecc;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:1.5rem}.calculations-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.calculation-result{background:#0000004d;padding:1rem;border-radius:8px;display:flex;justify-content:space-between;align-items:center}.calc-label{color:#aaa}.calc-value{color:#fff;font-weight:600;font-size:1.1rem}.pricing-breakdown{display:flex;flex-direction:column;gap:.75rem}.price-row{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0;color:#aaa}.price-row span:last-child{color:#fff;font-weight:600}.price-row.subtotal{border-top:1px solid rgba(255,255,255,.1);padding-top:1rem;margin-top:.5rem}.price-row.discount span:last-child{color:#4caf50}.price-row.total{border-top:2px solid rgba(102,126,234,.5);padding-top:1rem;margin-top:.5rem;font-size:1.2rem}.price-row.total span{color:#667eea;font-weight:700}.configurator-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem}@media (max-width: 768px){.fields-grid,.calculations-grid{grid-template-columns:1fr}.configurator-actions{flex-direction:column}}.product-category-selector{max-width:1400px;margin:0 auto;padding:0 20px}.category-header{text-align:center;margin-bottom:60px;position:relative}.category-header .back-button{position:absolute;left:0;top:0;background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fff;padding:.5rem 1rem;border-radius:6px;cursor:pointer;transition:all .3s ease}.category-header .back-button:hover{background:#fff3}.category-header h1{font-size:3rem;margin-bottom:20px;font-weight:700}.category-subtitle{font-size:1.2rem;color:var(--text-secondary);max-width:900px;margin:0 auto;line-height:1.6}.categories-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:60px}.category-card{background:var(--card-bg);border:2px solid transparent;border-radius:12px;padding:20px;text-align:center;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden}.category-card:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(135deg,var(--primary-orange),#e55a2b);opacity:0;transition:opacity .3s ease;z-index:0}.category-card:hover:before{opacity:.1}.category-card:hover{transform:translateY(-8px);border-color:var(--primary-orange);box-shadow:0 12px 40px #ff6b354d}.category-card.coming-soon{opacity:.7;cursor:default}.category-card.coming-soon:hover{transform:none;border-color:transparent;box-shadow:none}.category-card.coming-soon:before{display:none}.category-title{font-size:1.2rem;font-weight:600;margin-bottom:10px;color:var(--text-primary);position:relative;z-index:1}.category-description{color:var(--text-secondary);line-height:1.4;margin-bottom:15px;position:relative;z-index:1;font-size:.9rem}.category-arrow{font-size:1.5rem;color:var(--primary-orange);font-weight:700;transition:transform .3s ease;position:relative;z-index:1}.category-card:hover .category-arrow{transform:translate(5px)}.coming-soon-badge{position:absolute;top:15px;right:15px;background:var(--primary-orange);color:var(--text-primary);padding:5px 12px;border-radius:20px;font-size:.8rem;font-weight:500;z-index:2}.custom-badge{position:absolute;top:15px;right:15px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:5px 12px;border-radius:20px;font-size:.8rem;font-weight:600;z-index:2}.category-icon{font-size:3rem;margin-bottom:1rem}.custom-configurator{border-color:#667eea4d}.custom-configurator:before{background:linear-gradient(135deg,#667eea,#764ba2)}.demo-info{margin-top:60px}.info-card{background:var(--secondary-bg);border:1px solid var(--border-color);border-radius:16px;padding:40px;text-align:center}.info-card h3{font-size:1.8rem;margin-bottom:20px;color:var(--primary-orange)}.info-card p{color:var(--text-secondary);line-height:1.7;margin-bottom:30px;font-size:1.1rem}.info-card ul{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:15px;max-width:1200px;margin:0 auto}.info-card li{padding:15px;background:var(--card-bg);border-radius:8px;border:1px solid rgba(255,107,53,.3);color:var(--text-primary);font-weight:500}.info-card li:before{content:"✓";color:var(--primary-orange);font-weight:700;margin-right:10px}@media (max-width: 1200px){.categories-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width: 900px){.categories-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.category-header h1{font-size:2.2rem}.category-subtitle{font-size:1rem}.categories-grid{grid-template-columns:1fr;gap:20px}.category-card{padding:25px}.info-card{padding:30px 20px}.info-card ul{grid-template-columns:repeat(2,1fr)}}@media (max-width: 480px){.info-card ul{grid-template-columns:1fr}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.category-card{animation:fadeInUp .6s ease forwards}.category-card:nth-child(1){animation-delay:.1s}.category-card:nth-child(2){animation-delay:.2s}.category-card:nth-child(3){animation-delay:.3s}.category-card:nth-child(4){animation-delay:.4s}.category-card:nth-child(5){animation-delay:.5s}.category-card:nth-child(6){animation-delay:.6s}.category-card:nth-child(7){animation-delay:.7s}.category-card:nth-child(8){animation-delay:.8s}.configurator-management{padding:2rem;max-width:1400px;margin:0 auto}.management-header{margin-bottom:2rem}.header-top{display:flex;align-items:center;gap:1rem;margin-bottom:2rem}.header-top h1{font-size:2.5rem;margin:0}.back-button{background:#ff6b350d;border:1px solid rgba(255,107,53,.3);color:#fed;padding:.65rem 1.25rem;border-radius:8px;cursor:pointer;transition:all .3s ease;font-weight:500;display:flex;align-items:center;gap:.5rem}.back-button:hover{background:#ff6b3526;border-color:#ff6b3599;transform:translate(-3px);box-shadow:0 3px 12px #ff6b354d}.management-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;gap:1rem;flex-wrap:wrap}.primary-button{background:linear-gradient(135deg,#ff6b35,#e55a2b);border:none;color:#fed;padding:.85rem 1.75rem;border-radius:10px;font-size:1rem;font-weight:600;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 12px #ff6b354d}.primary-button:hover{transform:translateY(-3px);box-shadow:0 8px 24px #ff6b3566;background:linear-gradient(135deg,#ff7b45,#f56a3b)}.primary-button:active{transform:translateY(-1px);box-shadow:0 4px 12px #ff6b354d}.primary-button:disabled{opacity:.4;cursor:not-allowed;transform:none;box-shadow:none}.secondary-button{background:#3a2f2a99;border:1px solid rgba(255,107,53,.4);color:#fed;padding:.85rem 1.75rem;border-radius:10px;font-size:1rem;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 2px 8px #0000004d}.secondary-button:hover:not(:disabled){background:#ff6b3526;border-color:#ff6b3599;transform:translateY(-2px);box-shadow:0 6px 16px #ff6b3540}.secondary-button:active:not(:disabled){transform:translateY(0);box-shadow:0 2px 8px #0000004d}.secondary-button:disabled{opacity:.3;cursor:not-allowed;border-color:#ffffff1a}.import-export-buttons{display:flex;gap:1rem}.button-icon{font-size:1.2rem}.management-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:2rem}.stat-card{background:#1e1e1ecc;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:1.5rem;text-align:center}.stat-value{font-size:2.5rem;font-weight:700;background:linear-gradient(135deg,#ff6b35,#fa8);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.stat-label{color:#888;margin-top:.5rem}.management-controls{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin-bottom:2rem}.search-box{flex:1;min-width:250px}.search-input{width:100%;padding:.75rem 1rem;background:#1e1e1ecc;border:1px solid rgba(255,255,255,.2);border-radius:8px;color:#fff;font-size:1rem}.search-input:focus{outline:none;border-color:#ff6b35;box-shadow:0 0 0 3px #ff6b351a}.filter-buttons{display:flex;gap:.5rem}.filter-button{background:#3a2f2a99;border:1px solid rgba(255,107,53,.3);color:#ca9;padding:.6rem 1.2rem;border-radius:8px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);font-weight:500;font-size:.95rem}.filter-button:hover{background:#ff6b351a;border-color:#ff6b3580;color:#fed;transform:translateY(-1px)}.filter-button.active{background:linear-gradient(135deg,#ff6b35,#e55a2b);border-color:transparent;color:#fed;box-shadow:0 4px 12px #ff6b354d}.configurators-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:1.5rem}.configurator-card{background:#3a2f2a99;border:1px solid rgba(255,107,53,.2);border-radius:12px;padding:1.5rem;transition:all .3s cubic-bezier(.4,0,.2,1);box-shadow:0 4px 12px #0000004d}.configurator-card:hover{border-color:#ff6b3599;transform:translateY(-4px);box-shadow:0 8px 24px #ff6b3533,0 4px 12px #0006;background:#4a3f3ab3}.card-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:1rem}.card-header h3{margin:0;font-size:1.3rem;color:#fed}.visibility-badge{padding:.35rem .85rem;border-radius:16px;font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;border:1px solid}.visibility-badge[data-visible=true]{background:#4caf5026;color:#4caf50;border-color:#4caf5066;box-shadow:0 2px 6px #4caf5033}.visibility-badge[data-visible=false]{background:#f4433626;color:#f44336;border-color:#f4433666;box-shadow:0 2px 6px #f4433633}.card-description{color:#ca9;margin-bottom:1rem;line-height:1.5}.card-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;margin-bottom:1rem;padding:1rem;background:#0000004d;border-radius:8px}.meta-item{display:flex;flex-direction:column;gap:.25rem}.meta-label{font-size:.75rem;color:#888;text-transform:uppercase;letter-spacing:.5px}.meta-value{font-size:1.1rem;font-weight:600;color:#fed}.card-actions{display:flex;gap:.5rem;justify-content:flex-end}.action-button{background:#3a2f2a80;border:1px solid rgba(255,107,53,.2);color:#fed;padding:.6rem .85rem;border-radius:8px;cursor:pointer;font-size:1.2rem;transition:all .3s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px #0003}.action-button:hover{transform:translateY(-2px) scale(1.05);box-shadow:0 4px 12px #0000004d}.action-button:active{transform:translateY(0) scale(1)}.action-button.edit:hover{background:#ffc10733;border-color:#ffc107;box-shadow:0 4px 12px #ffc1074d;color:#ffc107}.action-button.visibility:hover{background:#ff980033;border-color:#ff9800;box-shadow:0 4px 12px #ff98004d;color:#ff9800}.action-button.export:hover{background:#4caf5033;border-color:#4caf50;box-shadow:0 4px 12px #4caf504d;color:#4caf50}.action-button.delete:hover{background:#f4433633;border-color:#f44336;box-shadow:0 4px 12px #f443364d;color:#f44336}.empty-state{grid-column:1 / -1;text-align:center;padding:4rem 2rem;background:#1e1e1e80;border:2px dashed rgba(255,255,255,.2);border-radius:12px}.empty-icon{font-size:4rem;margin-bottom:1rem;opacity:.5}.empty-state h3{font-size:1.5rem;margin-bottom:.5rem;color:#fed}.empty-state p{color:#888;margin-bottom:2rem}@media (max-width: 768px){.management-actions{flex-direction:column;align-items:stretch}.import-export-buttons{width:100%}.secondary-button{flex:1}.configurators-grid,.card-meta{grid-template-columns:1fr}}.field-editor{height:100%}.field-editor-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.field-editor-header h2{color:#fff}.field-editor-content{display:grid;grid-template-columns:1fr 1.5fr;gap:2rem}.fields-list h3{color:#fff;margin-bottom:1rem}.empty-state{text-align:center;padding:2rem;color:#888}.field-items{display:flex;flex-direction:column;gap:.75rem}.field-item{background:#0000004d;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:1rem;transition:all .3s ease}.field-item:hover{border-color:#667eea80}.field-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.field-item-info{display:flex;align-items:center;gap:.75rem}.field-icon{font-size:1.5rem}.field-label{font-weight:600;color:#fff}.field-id{font-size:.85rem;color:#888;font-family:monospace}.field-item-actions{display:flex;gap:.25rem}.icon-button{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fff;padding:.25rem .5rem;border-radius:4px;cursor:pointer;font-size:1rem;transition:all .3s ease}.icon-button:hover:not(:disabled){background:#fff3}.icon-button:disabled{opacity:.3;cursor:not-allowed}.icon-button.delete:hover{background:#f443364d;border-color:#f44336}.field-item-meta{display:flex;gap:.5rem;flex-wrap:wrap}.field-type,.field-required,.field-unit{padding:.25rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600}.field-type{background:#667eea4d;color:#667eea}.field-required{background:#f443364d;color:#f44336}.field-unit{background:#4caf504d;color:#4caf50}.field-form{background:#0006;border:1px solid rgba(255,255,255,.2);border-radius:8px;padding:1.5rem;max-height:80vh;overflow-y:auto}.field-form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.field-form-header h3{color:#fff;margin:0}.close-button{background:transparent;border:none;color:#888;font-size:1.5rem;cursor:pointer;padding:0;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .3s ease}.close-button:hover{background:#ffffff1a;color:#fff}.options-editor{display:flex;flex-direction:column;gap:.5rem}.option-item{display:grid;grid-template-columns:1fr 1fr auto;gap:.5rem;align-items:center}.checkbox-label{display:flex;align-items:center;gap:.5rem;color:#fff;cursor:pointer}.form-actions{display:flex;gap:1rem;justify-content:flex-end;margin-top:2rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.1)}@media (max-width: 1024px){.field-editor-content{grid-template-columns:1fr}.field-form{max-height:none}}.dependency-editor{height:100%}.dependency-editor-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.dependency-editor-header h2{color:#fff}.dependency-info{background:#667eea1a;border:1px solid rgba(102,126,234,.3);border-radius:8px;padding:1rem;margin-bottom:2rem;color:#aaa}.dependency-editor-content{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.dependencies-list h3{color:#fff;margin-bottom:1rem}.dependency-items{display:flex;flex-direction:column;gap:1rem}.dependency-item{background:#0000004d;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:1rem;transition:all .3s ease}.dependency-item:hover{border-color:#667eea80}.dependency-flow{display:flex;align-items:center;gap:.5rem;margin-bottom:1rem;flex-wrap:wrap}.flow-step{display:flex;flex-direction:column;align-items:center;gap:.25rem}.flow-label{font-size:.7rem;color:#888;text-transform:uppercase}.flow-value{background:#667eea33;color:#667eea;padding:.25rem .5rem;border-radius:4px;font-size:.85rem;font-weight:600}.flow-arrow{color:#888;font-size:1.2rem}.dependency-actions{display:flex;gap:.5rem;justify-content:flex-end}.dependency-form{background:#0006;border:1px solid rgba(255,255,255,.2);border-radius:8px;padding:1.5rem;max-height:80vh;overflow-y:auto}.dependency-form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.dependency-form-header h3{color:#fff;margin:0}.dependency-preview{background:#4caf501a;border:1px solid rgba(76,175,80,.3);border-radius:8px;padding:1rem;margin-top:1rem}.dependency-preview strong{color:#4caf50;display:block;margin-bottom:.5rem}.dependency-preview p{color:#aaa;margin:0;line-height:1.6}.dependency-preview code{background:#00000080;padding:.2rem .4rem;border-radius:3px;color:#667eea;font-family:monospace}.form-hint{display:block;margin-top:.5rem;color:#888;font-size:.85rem}@media (max-width: 1024px){.dependency-editor-content{grid-template-columns:1fr}.dependency-form{max-height:none}.dependency-flow{flex-direction:column;align-items:stretch}.flow-arrow{transform:rotate(90deg)}}.calculation-editor{height:100%}.calculation-editor-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.calculation-editor-header h2{color:#fff}.calculation-info{background:#667eea1a;border:1px solid rgba(102,126,234,.3);border-radius:8px;padding:1rem;margin-bottom:2rem;color:#aaa}.calculation-editor-content{display:grid;grid-template-columns:1fr 1.2fr;gap:2rem}.calculations-list h3{color:#fff;margin-bottom:1rem}.calculation-items{display:flex;flex-direction:column;gap:1rem}.calculation-item{background:#0000004d;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:1rem;transition:all .3s ease}.calculation-item:hover{border-color:#667eea80}.calc-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:.75rem}.calc-header h4{color:#fff;margin:0 0 .25rem}.calc-description{color:#888;font-size:.9rem;margin:0}.calc-actions{display:flex;gap:.5rem}.calc-formula{background:#00000080;border-radius:6px;padding:.75rem;margin-bottom:.75rem}.calc-formula code{color:#667eea;font-family:monospace;font-size:.9rem}.calc-meta{display:flex;gap:1rem;flex-wrap:wrap;font-size:.85rem;color:#aaa}.calculation-form{background:#0006;border:1px solid rgba(255,255,255,.2);border-radius:8px;padding:1.5rem;max-height:80vh;overflow-y:auto}.calculation-form-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.calculation-form-header h3{color:#fff;margin:0}.dependencies-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.5rem;margin-bottom:1rem}.dependency-checkbox{display:flex;align-items:center;gap:.5rem;color:#fff;cursor:pointer;padding:.5rem;background:#0000004d;border-radius:4px;transition:background .3s ease}.dependency-checkbox:hover{background:#667eea33}.dependency-checkbox input[type=checkbox]{cursor:pointer}.code-editor{font-family:Courier New,monospace;background:#00000080!important;color:#4caf50!important}.formula-preview{background:#667eea1a;border:1px solid rgba(102,126,234,.3);border-radius:6px;padding:.75rem;margin-bottom:.5rem}.formula-preview strong{color:#667eea;display:block;margin-bottom:.5rem;font-size:.9rem}.formula-preview code{background:#00000080;padding:.5rem;border-radius:4px;color:#4caf50;font-family:Courier New,monospace;display:block;font-size:.95rem}.available-variables{margin-top:2rem;padding:1.5rem;background:#0003;border:1px solid rgba(255,255,255,.1);border-radius:8px}.available-variables h4{color:#667eea;margin-bottom:.5rem}.variable-tag.clickable{cursor:pointer;transition:all .2s ease;background:#667eea1a;border:1px solid rgba(102,126,234,.3)}@media (max-width: 1024px){.calculation-editor-content{grid-template-columns:1fr}.calculation-form{max-height:none}.dependencies-grid,.variables-grid.clickable{grid-template-columns:1fr}}.costing-editor{height:100%}.costing-editor-header h2{color:#fff;margin-bottom:1rem}.costing-info{background:#667eea1a;border:1px solid rgba(102,126,234,.3);border-radius:8px;padding:1rem;margin-bottom:2rem;color:#aaa}.costing-tabs{display:flex;gap:.5rem;margin-bottom:2rem;border-bottom:2px solid rgba(255,255,255,.1)}.costing-content{min-height:400px}.panel-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.panel-header h3{color:#fff}.materials-list,.operations-list{display:flex;flex-direction:column;gap:1rem}.material-item,.operation-item{background:#0000004d;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:1rem;transition:all .3s ease}.material-item:hover,.operation-item:hover{border-color:#667eea80}.item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.material-name-input,.operation-name-input{background:transparent;border:none;border-bottom:2px solid rgba(102,126,234,.5);color:#fff;font-size:1.1rem;font-weight:600;padding:.25rem;width:70%}.material-name-input:focus,.operation-name-input:focus{outline:none;border-bottom-color:#667eea}.pricing-panel h3{color:#fff;margin-bottom:1.5rem}.pricing-summary{background:#4caf501a;border:1px solid rgba(76,175,80,.3);border-radius:8px;padding:1.5rem;margin-top:2rem}.pricing-summary h4{color:#4caf50;margin-bottom:1rem}.pricing-summary ol{color:#aaa;line-height:2}.available-variables{background:#0000004d;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:1.5rem;margin-top:2rem}.available-variables h4{color:#fff;margin-bottom:1rem}.variables-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.5rem}.variable-tag{background:#667eea1a;border:1px solid rgba(102,126,234,.3);border-radius:6px;padding:.5rem;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.variable-tag code{color:#667eea;font-family:monospace;font-size:.85rem}.variable-label{color:#aaa;font-size:.85rem}.variable-type{padding:.2rem .4rem;border-radius:3px;font-size:.7rem;font-weight:600;text-transform:uppercase}.variable-type.field{background:#2196f34d;color:#2196f3}.variable-type.calculation{background:#9c27b04d;color:#9c27b0}.variables-hint{color:#888;font-size:.9rem;margin-bottom:1rem}.variables-grid.clickable{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.5rem;margin-bottom:1.5rem}.variable-tag.clickable{cursor:pointer;transition:all .2s ease}.variable-tag.clickable:hover{background:#667eea4d;border-color:#667eea;transform:translateY(-2px);box-shadow:0 4px 12px #667eea33}.variable-tag.clickable:active{transform:translateY(0)}.common-operators{margin-top:1.5rem}.common-operators h5{color:#fff;margin-bottom:.75rem;font-size:.95rem}.operator-buttons{display:flex;gap:.5rem;flex-wrap:wrap}.operator-btn{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);color:#fff;padding:.5rem 1rem;border-radius:4px;cursor:pointer;font-family:Courier New,monospace;font-size:1rem;font-weight:700;transition:all .2s ease;min-width:45px}.operator-btn:hover{background:#667eea4d;border-color:#667eea;transform:translateY(-2px)}.operator-btn:active{transform:translateY(0);background:#667eea80}@media (max-width: 768px){.costing-tabs{overflow-x:scroll}.variables-grid{grid-template-columns:1fr}}.preview-panel{height:100%;display:flex;flex-direction:column}.preview-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.preview-header h2{color:#fed}.preview-modes{display:flex;gap:.5rem}.mode-button{background:#3a2f2a80;border:1px solid rgba(255,107,53,.3);color:#fed;padding:.5rem 1rem;border-radius:6px;cursor:pointer;transition:all .3s ease}.mode-button:hover{background:#ff6b3526;border-color:#ff6b3580}.mode-button.active{background:linear-gradient(135deg,#ff6b35,#e55a2b);border-color:transparent;box-shadow:0 4px 12px #ff6b354d}.preview-content{flex:1;background:#0000004d;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:1.5rem;overflow:auto}.empty-preview{text-align:center;padding:4rem 2rem;color:#888}.preview-json{height:100%}.json-display{background:#00000080;border-radius:6px;padding:1rem;color:#4caf50;font-family:Courier New,monospace;font-size:.9rem;overflow:auto;max-height:70vh}.configurator-designer{padding:2rem;max-width:1600px;margin:0 auto}.designer-header{margin-bottom:2rem}.designer-header .header-top{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.error-banner{background:#f4433633;border:1px solid #f44336;border-radius:8px;padding:1rem;margin:1rem 0;color:#f44336}.error-banner ul{margin:.5rem 0 0 1.5rem}.designer-actions{display:flex;gap:1rem;justify-content:flex-end}.designer-tabs{display:flex;gap:.5rem;margin-bottom:2rem;border-bottom:2px solid rgba(255,255,255,.1);overflow-x:auto}.tab-button{background:transparent;border:none;color:#ca9;padding:1rem 1.5rem;cursor:pointer;transition:all .3s ease;display:flex;align-items:center;gap:.5rem;font-size:1rem;border-bottom:3px solid transparent;white-space:nowrap}.tab-button:hover{color:#fed;background:#ff6b350d}.tab-button.active{color:#fed;border-bottom-color:#ffc107}.tab-icon{font-size:1.2rem}.designer-content{background:#1e1e1ecc;border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:2rem;min-height:600px}.basic-info-panel h2{margin-bottom:2rem;color:#fed}.form-group{margin-bottom:1.5rem}.form-group label{display:block;margin-bottom:.5rem;color:#ca9;font-weight:500}.form-input,.form-textarea,.form-select{width:100%;padding:.75rem;background:#0000004d;border:1px solid rgba(255,107,53,.3);border-radius:6px;color:#fed;font-size:1rem;transition:border-color .3s ease}.form-input:focus,.form-textarea:focus,.form-select:focus{outline:none;border-color:#ff6b35;box-shadow:0 0 0 3px #ff6b351a}.form-textarea{resize:vertical}.form-checkbox{width:auto;margin-right:.5rem}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}@media (max-width: 768px){.designer-tabs{overflow-x:scroll}.form-row{grid-template-columns:1fr}}*{box-sizing:border-box;margin:0;padding:0}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;--primary-bg: #1a0f0a;--secondary-bg: #2a1f1a;--card-bg: #3a2f2a;--primary-orange: #ff6b35;--text-primary: #ffeedd;--text-secondary: #ccaa99;--border-color: #ff6b35;--hover-bg: #4a3f3a;color-scheme:dark;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{background-color:var(--primary-bg);color:var(--text-primary);background-image:radial-gradient(circle at 20% 80%,rgba(255,107,53,.1) 0%,transparent 50%),radial-gradient(circle at 80% 20%,rgba(255,107,53,.05) 0%,transparent 50%);background-attachment:fixed}.app{display:flex;flex-direction:column;min-height:100vh}.app-content{flex:1;padding:20px}button{border:none;font-family:inherit;cursor:pointer;background:linear-gradient(135deg,var(--primary-orange),#e55a2b);color:var(--text-primary);padding:12px 24px;border-radius:8px;font-weight:500;transition:all .3s ease}button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 25px #ff6b354d}button:disabled{cursor:not-allowed;opacity:.5;transform:none}.card{background:var(--card-bg);border:1px solid var(--border-color);border-radius:12px;padding:20px;box-shadow:0 4px 15px #0000004d;transition:all .3s ease}.card:hover{transform:translateY(-4px);box-shadow:0 8px 30px #ff6b3533}.gradient-text{background:linear-gradient(135deg,var(--primary-orange),#ffaa88);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
