.build-planner-app{max-width:900px;margin:0 auto;padding:20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:var(--color-text);background-color:var(--color-bg)}.app-header p{margin:0;color:var(--color-text-secondary)}.planner-form{display:flex;flex-direction:column;gap:24px}.form-group{display:flex;flex-direction:column}.form-group label{font-weight:500;margin-bottom:8px;color:var(--color-text)}.form-group input,.form-group textarea,.form-group select{padding:12px;border:1px solid var(--border-color);border-radius:var(--border-radius);background-color:var(--color-bg);color:var(--color-text);font-size:1rem}.budget-select{cursor:pointer}.form-group input::placeholder,.form-group textarea::placeholder{color:var(--color-text-secondary)}.form-group input:focus,.form-group textarea:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 2px #07fef733}.question-input{min-height:100px;resize:vertical;font-family:inherit}.stage-buttons{display:flex;gap:12px;flex-wrap:wrap}.stage-button{flex:1;min-width:150px;padding:16px 20px;border:2px solid var(--border-color);border-radius:var(--border-radius);background:var(--color-secondary);color:var(--color-text);font-weight:600;font-size:1rem;cursor:pointer;transition:all .2s ease;position:relative}.stage-button:hover{border-color:var(--color-primary);background:#07fef71a;transform:translateY(-2px);box-shadow:var(--shadow)}.stage-button.selected{border-color:var(--color-primary);background:linear-gradient(135deg,var(--color-primary),var(--color-highlight));color:#fff}.stage-button .stage-title{display:block;font-size:1.1rem;margin-bottom:4px}.stage-button .stage-description{display:block;font-size:.85rem;opacity:.8;font-weight:400}.generate-button{background:linear-gradient(135deg,var(--color-primary),var(--color-highlight));color:#fff;border:none;border-radius:var(--border-radius);padding:16px 32px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:var(--shadow)}.generate-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:var(--shadow-lg)}.error-message{background:#ff33661a;border:1px solid var(--color-error);border-radius:var(--border-radius);padding:16px;color:var(--color-error);text-align:center;margin-top:16px}.results-section{background:var(--color-secondary);border:1px solid var(--border-color);border-radius:var(--border-radius);padding:20px;box-shadow:var(--shadow);margin-top:24px}.results-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--border-color)}.results-title{font-size:1.5rem;font-weight:700;color:var(--color-primary);margin:0}.stage-badge{background:linear-gradient(135deg,var(--color-primary),var(--color-highlight));color:#fff;padding:6px 12px;border-radius:20px;font-size:.9rem;font-weight:600}.cost-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}.cost-card{background:var(--color-bg);border:1px solid var(--border-color);border-radius:var(--border-radius);padding:16px;text-align:center}.cost-card h3{margin:0 0 8px;font-size:.9rem;color:var(--color-text-secondary);text-transform:uppercase;letter-spacing:.5px}.cost-card .amount{font-size:1.5rem;font-weight:700;color:var(--color-primary)}.recommendations-list{margin:24px 0}.recommendations-list h3{color:var(--color-text);margin-bottom:16px;font-size:1.2rem}.recommendation-item{background:var(--color-bg);border:1px solid var(--border-color);border-radius:var(--border-radius);padding:16px;margin-bottom:12px}.recommendation-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}.recommendation-name{font-weight:600;color:var(--color-text);font-size:1.1rem}.recommendation-costs{text-align:right;font-size:.9rem}.recommendation-costs div{margin:2px 0}.part-cost{color:var(--color-primary);font-weight:600}.labor-cost{color:var(--color-text-secondary)}.recommendation-description{color:var(--color-text-secondary);font-size:.95rem;line-height:1.4}.explanation-section{margin:24px 0}.explanation-section h3{color:var(--color-text);margin-bottom:12px}.explanation-text{color:var(--color-text-secondary);line-height:1.6;white-space:pre-wrap}.build-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin:20px 0}.build-info-item{text-align:center;padding:12px;background:var(--color-bg);border-radius:var(--border-radius)}.build-info-item .label{display:block;font-size:.8rem;color:var(--color-text-secondary);text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.build-info-item .value{display:block;font-size:1rem;color:var(--color-text);font-weight:600}.warnings-section{background:#ff33661a;border:1px solid var(--color-error);border-radius:var(--border-radius);padding:16px;margin:20px 0}.warnings-section h4{color:var(--color-error);margin:0 0 8px;font-size:1rem}.warnings-section ul{margin:0;padding-left:20px;color:var(--color-text-secondary)}.action-buttons{display:flex;gap:12px;justify-content:center;margin-top:24px;padding-top:20px;border-top:1px solid var(--border-color)}.action-button{background:var(--color-secondary);color:var(--color-text);border:1px solid var(--border-color);border-radius:var(--border-radius);padding:12px 24px;font-weight:600;cursor:pointer;transition:all .2s ease}.action-button.primary{background:linear-gradient(135deg,var(--color-primary),var(--color-highlight));color:#fff;border-color:transparent}.action-button:hover{transform:translateY(-1px);box-shadow:var(--shadow)}.build-loader{display:flex;align-items:center;justify-content:center;padding:60px 20px;background:linear-gradient(135deg,#07fef708,#d0278008);border-radius:var(--border-radius);border:1px solid var(--border-color);margin:40px 0}.loader-content{text-align:center;max-width:400px}.gears{position:relative;width:80px;height:60px;margin:0 auto 24px}.gear{position:absolute;border:3px solid var(--color-primary);border-radius:50%;animation:rotate 2s linear infinite}.gear.large{width:50px;height:50px;top:5px;left:0;border-style:dashed;animation-direction:normal}.gear.small{width:30px;height:30px;top:0;right:0;border-style:solid;animation-direction:reverse;animation-duration:1.5s}.gear:before{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:6px;height:6px;background:var(--color-primary);border-radius:50%}.build-loader h3{color:var(--color-primary);font-size:1.4rem;margin:0 0 8px;font-weight:600}.build-loader p{color:var(--color-text-secondary);font-size:.95rem;margin:0 0 20px}.progress-dots{display:flex;justify-content:center;gap:8px}.progress-dots span{width:8px;height:8px;background:var(--color-primary);border-radius:50%;animation:pulse 1.5s ease-in-out infinite}.progress-dots span:nth-child(2){animation-delay:.3s}.progress-dots span:nth-child(3){animation-delay:.6s}@keyframes rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes pulse{0%,80%,to{opacity:.3;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}.disclaimer{font-size:.8rem;color:var(--color-text-secondary);text-align:center;margin-top:16px;font-style:italic}.category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:16px}.category-card{background:var(--color-bg);border:2px solid var(--border-color);border-radius:var(--border-radius);padding:20px;cursor:pointer;transition:all .2s ease;text-align:center;box-shadow:0 2px 4px #0000001a;position:relative}.category-card:hover{border-color:var(--color-primary);transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.category-card.selected{border-color:var(--color-primary);background:#07fef70d;box-shadow:0 0 0 2px #07fef733}.category-icon{font-size:2rem;margin-bottom:12px;display:block}.category-title{font-size:1.1rem;font-weight:600;color:var(--color-text);margin-bottom:8px}.category-description{font-size:.9rem;color:var(--color-text-secondary);margin-bottom:8px;line-height:1.4}.category-metrics{font-size:.8rem;color:var(--color-primary);font-weight:500;font-style:italic}@media (max-width: 768px){.category-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 480px){.category-grid{grid-template-columns:1fr}}.save-message{padding:16px;border-radius:var(--border-radius);text-align:center;margin:16px 0;font-weight:500}.save-message.success{background:#00ff991a;border:1px solid var(--color-success);color:var(--color-success)}.save-message.error{background:#ff33661a;border:1px solid var(--color-error);color:var(--color-error)}.action-button.save-button{background:linear-gradient(135deg,var(--color-primary),#D82C83);color:#fff;border-color:transparent}.action-button.save-button:disabled{opacity:.5;cursor:not-allowed}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:50}.modal-content{background:var(--color-secondary);padding:24px;border-radius:12px;box-shadow:var(--shadow-lg);max-width:400px;width:90%;margin:16px;border:1px solid var(--border-color)}.modal-title{font-size:1.25rem;font-weight:600;color:var(--color-text);margin:0 0 16px}.form-label{display:block;font-weight:500;margin-bottom:8px;color:var(--color-text)}.form-input{width:100%;padding:12px;border:1px solid var(--border-color);border-radius:var(--border-radius);background-color:var(--color-bg);color:var(--color-text);font-size:1rem;box-sizing:border-box}.form-input:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 2px #07fef733}.modal-buttons{display:flex;gap:12px;margin-top:16px}.modal-button{flex:1;padding:12px 16px;border-radius:var(--border-radius);font-weight:600;cursor:pointer;transition:all .2s ease;border:none}.modal-button.save{background:linear-gradient(135deg,var(--color-primary),#D82C83);color:#fff}.modal-button.save:hover:not(:disabled){opacity:.9;transform:translateY(-1px)}.modal-button.save:disabled{opacity:.5;cursor:not-allowed}.modal-button.cancel{background:#6b7280;color:#fff}.modal-button.cancel:hover:not(:disabled){background:#4b5563}:root{--color-primary: #07FEF7;--color-bg: #121212;--color-secondary: #1F1F1F;--color-text: #FFFFFF;--color-text-secondary: #AAAAAA;--color-divider: #2A2A2A;--color-highlight: #D02780;--color-success: #00FF99;--color-error: #FF3366;--border-radius: 8px;--shadow: 0 4px 6px -1px rgba(0, 0, 0, .3);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .3);--border-color: #2A2A2A}.onsite-app{max-width:800px;margin:0 auto;padding:20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;color:var(--color-text);background-color:var(--color-bg)}.app-header{text-align:center;margin-bottom:30px}.app-header h1{font-size:2rem;font-weight:700;margin:0 0 8px;color:var(--color-primary)}.app-header p{margin:0;color:#6b7280}.notification-banner{background:linear-gradient(135deg,var(--color-primary),#0096cc);color:#fff;padding:1rem;margin-bottom:2rem;border-radius:12px;box-shadow:0 4px 12px #00c2ff33;animation:slideIn .3s ease-out}.notification-content{display:flex;align-items:center;gap:1rem}.notification-icon{font-size:2rem;opacity:.9}.notification-text strong{display:block;font-size:1.1rem;margin-bottom:.25rem}.notification-text p{margin:0;opacity:.9;font-size:.9rem}@keyframes slideIn{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}.car-form{display:flex;flex-direction:column;gap:24px}.form-section{background:var(--color-secondary);border:1px solid var(--border-color);border-radius:var(--border-radius);padding:20px;box-shadow:var(--shadow)}.form-section h2{margin:0 0 16px;font-size:1.25rem;font-weight:600;color:var(--color-text)}.scene-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.scene-header h2{margin:0}.randomize-button{background:linear-gradient(135deg,var(--color-primary),var(--color-highlight));color:#fff;border:none;border-radius:8px;padding:8px 16px;font-size:.9rem;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 2px 4px #0003}.randomize-button:hover{transform:translateY(-1px);box-shadow:0 4px 8px #0000004d}.randomize-button:active{transform:translateY(0)}.form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:16px}.form-row:last-child{margin-bottom:0}.form-group{display:flex;flex-direction:column;gap:4px}.form-group label{font-weight:500;font-size:.875rem;color:var(--color-text)}.form-group input,.form-group select{padding:8px 12px;background:var(--color-bg);border:1px solid var(--border-color);border-radius:var(--border-radius);font-size:.875rem;color:var(--color-text);transition:border-color .2s,box-shadow .2s}.form-group input:focus,.form-group select:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 3px #3b82f61a}.checkbox-group{flex-direction:row;align-items:center}.checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:500}.checkbox-label input[type=checkbox]{margin:0;cursor:pointer}.character-count{font-size:.75rem;color:var(--color-text-secondary);margin-top:4px;display:block}.preset-group{margin-bottom:20px}.preset-title{font-size:1rem;font-weight:600;margin:0 0 12px;color:var(--color-text)}.preset-buttons{display:flex;flex-wrap:wrap;gap:8px}.preset-button{padding:8px 16px;border:2px solid var(--border-color);border-radius:var(--border-radius);background:var(--color-secondary);color:var(--color-text);font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s}.preset-button:hover{border-color:var(--color-primary);background:#00c2ff1a}.preset-button.selected{border-color:var(--color-primary);background:var(--color-primary);color:var(--color-bg)}.location-countries{display:flex;flex-direction:column;gap:16px}.country-group{border:1px solid var(--border-color);border-radius:var(--border-radius);background:var(--color-secondary);padding:12px}.country-header{display:flex;align-items:center;gap:8px;margin-bottom:8px;padding-bottom:6px;border-bottom:1px solid var(--border-color)}.country-flag{font-size:1.2rem}.country-name{font-size:.875rem;font-weight:600;color:var(--color-text)}.country-locations{display:flex;flex-wrap:wrap;gap:6px}.location-button{padding:6px 12px;border:1px solid var(--border-color);border-radius:6px;background:var(--color-bg);color:var(--color-text);font-size:.75rem;font-weight:500;cursor:pointer;transition:all .2s;flex:1;min-width:120px;text-align:center}.location-button:hover{border-color:var(--color-primary);background:#00c2ff1a}.location-button.selected{border-color:var(--color-primary);background:var(--color-primary);color:var(--color-bg)}.time-preset-container{border:1px solid var(--border-color);border-radius:var(--border-radius);background:var(--color-secondary);padding:12px}.time-preset-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.time-preset-button{padding:8px 16px;border:1px solid var(--border-color);border-radius:6px;background:var(--color-bg);color:var(--color-text);font-size:.875rem;font-weight:500;cursor:pointer;transition:all .2s;text-align:center}.time-preset-button:hover{border-color:var(--color-primary);background:#00c2ff1a}.time-preset-button.selected{border-color:var(--color-primary);background:var(--color-primary);color:var(--color-bg)}.advanced-accordion{background:var(--color-secondary);border:1px solid var(--border-color);border-radius:var(--border-radius);box-shadow:var(--shadow)}.accordion-toggle{width:100%;padding:16px 20px;background:none;border:none;text-align:left;font-size:1.125rem;font-weight:600;cursor:pointer;display:flex;justify-content:space-between;align-items:center;color:var(--color-text)}.accordion-arrow{transition:transform .2s;font-size:.75rem}.accordion-arrow.open{transform:rotate(180deg)}.accordion-content{padding:0 20px 20px;border-top:1px solid var(--border-color)}.accordion-section{margin-bottom:20px}.accordion-section:last-child{margin-bottom:0}.accordion-section h4{margin:16px 0 12px;font-size:1rem;font-weight:600;color:var(--color-text)}.accordion-section h4:first-child{margin-top:16px}.generate-section{text-align:center}.generate-button{padding:12px 32px;background:var(--color-primary);color:#fff;border:none;border-radius:var(--border-radius);font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .2s;min-width:160px}.generate-button:hover:not(:disabled){background:#2563eb}.generate-button:disabled{opacity:.6;cursor:not-allowed}.error-message{margin-top:16px;padding:12px;background:#ff33661a;border:1px solid var(--color-error);border-radius:var(--border-radius);color:var(--color-error);display:flex;align-items:center;gap:12px;justify-content:center}.retry-button{padding:4px 12px;background:var(--color-error);color:var(--color-text);border:none;border-radius:4px;font-size:.875rem;cursor:pointer}.image-gallery{margin-top:30px}.loading-placeholder{text-align:center;padding:40px;background:var(--color-secondary);border:1px solid var(--border-color);border-radius:var(--border-radius);box-shadow:var(--shadow)}.loading-spinner{width:40px;height:40px;border:4px solid var(--border-color);border-top:4px solid var(--color-primary);border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 16px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.current-image{text-align:center;background:var(--color-secondary);border:1px solid var(--border-color);border-radius:var(--border-radius);padding:20px;box-shadow:var(--shadow);margin-bottom:20px}.main-image{max-width:100%;height:auto;border-radius:var(--border-radius);box-shadow:var(--shadow-lg);margin-bottom:16px}.download-button{padding:8px 24px;background:var(--color-primary);color:#fff;border:none;border-radius:var(--border-radius);font-weight:500;cursor:pointer;transition:background-color .2s}.download-button:hover{background:#00c2ffcc}.image-actions{display:flex;flex-direction:column;gap:20px;align-items:center}.community-upload-section{background:var(--color-bg);border:1px solid var(--border-color);border-radius:var(--border-radius);padding:20px;width:100%;max-width:400px}.community-upload-section h4{margin:0 0 12px;font-size:1rem;font-weight:600;color:var(--color-text);text-align:center}.description-input{width:100%;padding:12px;background:var(--color-secondary);border:1px solid var(--border-color);border-radius:var(--border-radius);color:var(--color-text);font-family:inherit;font-size:.875rem;resize:vertical;min-height:80px;margin-bottom:8px}.description-input:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 1px var(--color-primary)}.description-input::placeholder{color:var(--color-text-secondary)}.character-count{font-size:.75rem;color:var(--color-text-secondary);text-align:right;margin-bottom:16px}.upload-button{width:100%;padding:12px 24px;background:var(--color-highlight);color:#fff;border:none;border-radius:var(--border-radius);font-weight:500;font-size:.875rem;cursor:pointer;transition:all .2s}.upload-button:hover:not(:disabled){background:#d02780cc;transform:translateY(-1px)}.upload-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.upload-button.uploading{background:var(--color-text-secondary)}.upload-success{background:#00ff991a;border:1px solid var(--color-success);color:var(--color-success);padding:8px 12px;border-radius:var(--border-radius);font-size:.875rem;text-align:center;margin-bottom:12px}.upload-error{background:#ff33661a;border:1px solid var(--color-error);color:var(--color-error);padding:8px 12px;border-radius:var(--border-radius);font-size:.875rem;text-align:center;margin-bottom:12px}.gallery-section{background:var(--color-secondary);border:1px solid var(--border-color);border-radius:var(--border-radius);padding:20px;box-shadow:var(--shadow)}.gallery-section h3{margin:0 0 16px;font-size:1.125rem;font-weight:600;color:var(--color-text)}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px}.gallery-item{position:relative;border-radius:var(--border-radius);overflow:hidden;box-shadow:var(--shadow)}.gallery-thumbnail{width:100%;height:150px;object-fit:cover;display:block}.gallery-item-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s}.gallery-item:hover .gallery-item-overlay{opacity:1}.gallery-download-button{padding:8px 12px;background:var(--color-primary);color:#fff;border:none;border-radius:4px;font-size:1.25rem;cursor:pointer;transition:background-color .2s}.gallery-download-button:hover{background:#00c2ffcc}@media (max-width: 640px){.onsite-app{padding:16px}.form-row{grid-template-columns:1fr}.preset-buttons{flex-direction:column}.preset-button{text-align:center}.gallery-grid{grid-template-columns:repeat(2,1fr)}.country-group{padding:8px}.country-locations{gap:4px}.location-button{min-width:100px;font-size:.7rem;padding:5px 8px}.time-preset-grid{grid-template-columns:repeat(2,1fr)}.time-preset-button{font-size:.75rem;padding:6px 12px}}.reference-image-section{background:var(--color-secondary);border:2px dashed var(--border-color);border-radius:var(--border-radius);padding:20px;margin-bottom:25px;text-align:center}.reference-image-section h3{margin:0 0 8px;color:var(--color-primary);font-size:1.1rem;font-weight:600}.section-description{color:var(--color-text-secondary);font-size:.9rem;margin:0 0 20px;line-height:1.4}.file-upload{display:flex;flex-direction:column;align-items:center;gap:10px}.upload-button{display:inline-flex;align-items:center;gap:8px;padding:12px 24px;background:var(--color-primary);color:var(--color-bg);border:none;border-radius:var(--border-radius);font-weight:600;cursor:pointer;transition:all .2s;font-size:1rem}.upload-button:hover{background:#07fef7cc;transform:translateY(-2px)}.upload-icon{font-size:1.2rem}.upload-hint{color:var(--color-text-secondary);font-size:.8rem;margin:0}.reference-preview{display:flex;flex-direction:column;align-items:center;gap:12px}.preview-container{position:relative;display:inline-block}.preview-image{max-width:200px;max-height:150px;border-radius:var(--border-radius);border:2px solid var(--color-primary);object-fit:cover}.remove-image{position:absolute;top:-8px;right:-8px;width:24px;height:24px;background:var(--color-error);color:#fff;border:none;border-radius:50%;cursor:pointer;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;transition:background-color .2s}.remove-image:hover{background:#cc2a55}.preview-text{color:var(--color-success);font-size:.9rem;margin:0;font-weight:500}:root{--safe-area-inset-top: env(safe-area-inset-top);--safe-area-inset-right: env(safe-area-inset-right);--safe-area-inset-bottom: env(safe-area-inset-bottom);--safe-area-inset-left: env(safe-area-inset-left)}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;padding-top:var(--safe-area-inset-top);padding-bottom:var(--safe-area-inset-bottom)}*{box-sizing:border-box}#root{min-height:100vh;min-height:-webkit-fill-available}
