:root{--primary-color: #009eb3;--primary-hover: #00889b;--primary-dark: #007080;--primary-light: rgba(0, 158, 179, .08);--primary-border: rgba(0, 158, 179, .25);--primary-gradient: linear-gradient(135deg, #009eb3 0%, #00c0d8 100%);--primary-gradient-hover: linear-gradient(135deg, #008aa0 0%, #00abc2 100%);--primary-shadow: 0 8px 24px rgba(0, 158, 179, .32);--primary-shadow-hover: 0 12px 28px rgba(0, 158, 179, .45);--success-color: #059669;--success-bg: #ecfdf5;--success-border: #a7f3d0;--success-text: #065f46;--success-badge: #d1fae5;--info-color: #0284c7;--info-bg: #f0f9ff;--info-border: #bae6fd;--info-text: #0369a1;--info-badge: #e0f2fe;--warning-color: #d97706;--warning-bg: #fffbeb;--warning-border: #fde68a;--warning-text: #92400e;--warning-badge: #fef3c7;--error-color: #dc2626;--error-bg: #fef2f2;--error-border: #fecaca;--error-text: #991b1b;--error-badge: #fee2e2;--bg-gradient: #ffffff;--glass-bg: #ffffff;--glass-border: rgba(0, 0, 0, .08);--glass-shadow: 0 10px 30px rgba(0, 0, 0, .06);--text-color: #0f172a;--text-muted: #64748b;--text-subtle: #94a3b8;--surface-alt: #f8fafc;font-family:Plus Jakarta Sans,Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:var(--text-color);background:var(--bg-gradient);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box;margin:0;padding:0}body{margin:0;display:block;overflow-x:hidden;background:#fafbfc}#root{width:100%;max-width:1240px;margin:0 auto;padding:1.5rem 1.25rem 2.5rem;display:flex;flex-direction:column}@media(max-width:768px){#root{padding:1rem .75rem 2rem}}.app-header{text-align:center;margin-bottom:1.5rem}.main-title{font-size:1.85rem;line-height:1.25;color:var(--text-color);font-weight:800;letter-spacing:-.03em;margin-bottom:.35rem}@media(max-width:768px){.main-title{font-size:1.45rem}}.subtitle{text-align:center;color:var(--text-muted);font-size:.95rem;max-width:600px;margin:0 auto}.steps-bar{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-bottom:1.75rem;flex-wrap:wrap;background:#fff;padding:.5rem .75rem;border-radius:999px;border:1px solid rgba(0,0,0,.06);box-shadow:0 2px 8px #0000000a;width:fit-content;max-width:100%;margin-left:auto;margin-right:auto}@media(max-width:640px){.steps-bar{border-radius:16px;gap:.25rem;padding:.4rem}}.step-item{display:flex;align-items:center;gap:.45rem;padding:.35rem .7rem;border-radius:999px;font-size:.8rem;font-weight:600;color:var(--text-subtle);transition:all .25s ease}@media(max-width:640px){.step-item{padding:.3rem .45rem;font-size:.75rem}}.step-item.current{background:#009eb31a;color:var(--primary-color);border:1px solid rgba(0,158,179,.25)}.step-item.completed{color:var(--success-text);background:#10b98114}.step-number{width:22px;height:22px;border-radius:50%;background:#e2e8f0;color:#64748b;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;flex-shrink:0;transition:all .2s ease}.step-item.current .step-number{background:var(--primary-color);color:#fff;box-shadow:0 0 0 3px #009eb340}.step-item.completed .step-number{background:var(--success-color);color:#fff}.step-label{white-space:nowrap}.step-arrow{color:#cbd5e1;flex-shrink:0}.app-container{display:flex;flex-direction:column;gap:1.5rem;flex:1}@media(min-width:860px){.app-container{flex-direction:row;align-items:stretch}.left-panel{flex:0 0 380px;width:380px}.right-panel{flex:1;min-width:0}}.panel{background:var(--glass-bg);border:1px solid var(--glass-border);border-radius:20px;padding:1.5rem;box-shadow:var(--glass-shadow);display:flex;flex-direction:column;min-height:480px;transition:box-shadow .3s ease;width:100%}@media(max-width:768px){.panel{padding:1rem;min-height:auto}}.left-panel{display:flex;flex-direction:column;gap:1.2rem;justify-content:flex-start}.dropzone{width:100%;min-height:180px;max-height:240px;border:2px dashed rgba(0,158,179,.3);border-radius:16px;background:#f8fafc;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;transition:all .25s ease;position:relative;overflow:hidden}.dropzone:hover,.dropzone.active{border-color:var(--primary-color);background:#009eb30a;transform:scale(1.005)}.dropzone-icon-wrap{width:48px;height:48px;border-radius:50%;background:#009eb31a;color:var(--primary-color);display:flex;align-items:center;justify-content:center;margin-bottom:.6rem}.dropzone-text{font-weight:600;font-size:.95rem;color:var(--text-color);margin-bottom:.2rem}.dropzone-subtext{font-size:.8rem;color:var(--text-muted)}.hidden-input{display:none}.mobile-only{display:none!important}@media(max-width:768px){.mobile-only{display:flex!important}}.image-preview-container{position:relative;width:100%;height:100%;min-height:180px;max-height:240px;display:flex;align-items:center;justify-content:center;padding:.75rem;background:#f1f5f9;border-radius:14px}.image-preview{max-width:100%;max-height:220px;object-fit:contain;border-radius:10px;box-shadow:0 4px 14px #0000001f}.remove-btn{position:absolute;top:10px;right:10px;background:#ef4444;color:#fff;border:2px solid white;width:32px;height:32px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 8px #ef444466;transition:all .2s ease;z-index:10}.remove-btn:hover{transform:scale(1.12);background:#dc2626}.status-banner{border-radius:14px;padding:.9rem 1rem;display:flex;flex-direction:column;gap:.45rem;position:relative;overflow:hidden;transition:all .3s ease}.status-banner--info{background:var(--info-bg);border:1px solid var(--info-border);color:var(--info-text)}.status-banner--success{background:var(--success-bg);border:1px solid var(--success-border);color:var(--success-text)}.status-banner--loading{background:linear-gradient(135deg,#f0f9ff,#eef2ff);border:1px solid rgba(0,158,179,.3);color:#0369a1}.status-banner--error{background:var(--error-bg);border:1px solid var(--error-border);color:var(--error-text)}.status-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.status-header-left{display:flex;align-items:center;gap:.5rem}.status-icon-badge{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.status-banner--info .status-icon-badge{background:var(--info-badge);color:var(--info-color)}.status-banner--success .status-icon-badge{background:var(--success-badge);color:var(--success-color)}.status-banner--loading .status-icon-badge{background:#009eb326;color:var(--primary-color)}.status-banner--error .status-icon-badge{background:var(--error-badge);color:var(--error-color)}.status-title{font-size:.85rem;font-weight:700;letter-spacing:-.01em}.status-badge-pill{font-size:.72rem;font-weight:700;padding:2px 8px;border-radius:999px;background:#fff;box-shadow:0 1px 3px #00000014}.status-banner--loading .status-badge-pill{color:var(--primary-color);border:1px solid rgba(0,158,179,.25)}.status-banner--success .status-badge-pill{color:var(--success-color);border:1px solid var(--success-border)}.status-progress-track{width:100%;height:6px;background:#00000012;border-radius:999px;overflow:hidden;margin:.2rem 0}.status-progress-fill{height:100%;background:var(--primary-gradient);border-radius:999px;transition:width .3s ease;position:relative}.status-progress-indeterminate{width:40%;animation:indeterminate 1.5s infinite ease-in-out}@keyframes indeterminate{0%{transform:translate(-100%)}to{transform:translate(300%)}}.status-description{font-size:.8rem;line-height:1.4;opacity:.95}.status-subtext{font-size:.76rem;font-weight:600;display:flex;align-items:center;gap:4px;margin-top:2px}.status-banner--success .status-subtext{color:#047857}.status-banner--loading .status-subtext{color:#0284c7}.action-buttons-group{display:flex;flex-direction:column;gap:.65rem;width:100%}.step-action-btn{width:100%;padding:.75rem 1rem;border-radius:12px;font-size:.9rem;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:.75rem;cursor:pointer;transition:all .25s cubic-bezier(.4,0,.2,1);border:1px solid transparent;outline:none;position:relative;text-align:left}.step-action-content{display:flex;align-items:center;gap:.65rem;flex:1;min-width:0}.step-action-icon{width:32px;height:32px;border-radius:8px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .2s ease}.step-action-texts{display:flex;flex-direction:column;min-width:0}.step-action-label{font-size:.88rem;font-weight:700;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.step-action-hint{font-size:.72rem;font-weight:500;line-height:1.2;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.step-action-pill{font-size:.72rem;font-weight:700;padding:3px 8px;border-radius:6px;white-space:nowrap;display:flex;align-items:center;gap:4px;flex-shrink:0}.step-action-btn.btn-cta{background:var(--primary-gradient);color:#fff;border:1px solid rgba(255,255,255,.25);box-shadow:var(--primary-shadow);transform:translateZ(0)}.step-action-btn.btn-cta .step-action-icon{background:#fff3;color:#fff}.step-action-btn.btn-cta .step-action-hint{color:#ffffffe0}.step-action-btn.btn-cta .step-action-pill{background:#ffffff38;color:#fff;border:1px solid rgba(255,255,255,.3)}.step-action-btn.btn-cta:hover{background:var(--primary-gradient-hover);box-shadow:var(--primary-shadow-hover);transform:translateY(-2px)}.step-action-btn.btn-cta:hover .step-action-pill{background:#fff;color:var(--primary-color)}.step-action-btn.btn-processing{background:linear-gradient(135deg,#008294,#009eb3);color:#fff;border:1px solid rgba(255,255,255,.25);box-shadow:0 4px 16px #009eb340;cursor:wait}.step-action-btn.btn-processing .step-action-icon{background:#fff3}.step-action-btn.btn-processing .step-action-hint{color:#fffc}.step-action-btn.btn-processing .step-action-pill{background:#ffffff40;color:#fff}.step-action-btn.btn-completed{background:#f0fdf4;color:#065f46;border:1.5px solid #a7f3d0;box-shadow:0 2px 6px #10b98114}.step-action-btn.btn-completed .step-action-icon{background:#d1fae5;color:var(--success-color)}.step-action-btn.btn-completed .step-action-hint{color:#047857}.step-action-btn.btn-completed .step-action-pill{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.step-action-btn.btn-completed:hover{background:#ecfdf5;border-color:#6ee7b7;transform:translateY(-1px)}.step-action-btn.btn-locked{background:#f8fafc;color:#94a3b8;border:1px solid #e2e8f0;cursor:not-allowed;box-shadow:none}.step-action-btn.btn-locked .step-action-icon{background:#e2e8f0;color:#94a3b8}.step-action-btn.btn-locked .step-action-hint{color:#94a3b8}.step-action-btn.btn-locked .step-action-pill{background:#e2e8f0;color:#64748b}.btn-reset{width:100%;margin-top:.35rem;padding:.6rem 1rem;border-radius:10px;background:#fff;border:1px solid #e2e8f0;color:#64748b;font-size:.8rem;font-weight:600;display:flex;align-items:center;justify-content:center;gap:.4rem;cursor:pointer;transition:all .2s ease}.btn-reset:hover{background:#f8fafc;border-color:#cbd5e1;color:#0f172a}.mobile-photo-btn{background:var(--primary-gradient);color:#fff;padding:10px 18px;border-radius:10px;display:flex;align-items:center;gap:8px;font-size:.88rem;font-weight:600;box-shadow:0 4px 12px #009eb34d;margin-top:1rem;cursor:pointer;position:relative;overflow:hidden}.mobile-photo-btn:hover{box-shadow:0 6px 16px #009eb366}.tech-details{border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0;overflow:hidden;font-size:.78rem;color:var(--text-muted)}.tech-details summary{padding:.6rem .85rem;cursor:pointer;font-weight:600;display:flex;align-items:center;justify-content:space-between;-webkit-user-select:none;user-select:none;list-style:none}.tech-details summary::-webkit-details-marker{display:none}.tech-details summary:hover{background:#f1f5f9}.tech-details-content{padding:.6rem .85rem;border-top:1px solid #e2e8f0;display:flex;flex-direction:column;gap:.35rem;background:#fff}.privacy-notice{display:flex;align-items:flex-start;gap:8px;font-size:.76rem;color:var(--text-muted);background:#f8fafc;padding:.6rem .85rem;border-radius:10px;border:1px solid #f1f5f9}.right-panel{padding:0;overflow:hidden;display:flex;flex-direction:column;background:#fff}.canvas-container{width:100%;height:520px;position:relative;display:flex;flex-direction:column}@media(max-width:768px){.canvas-container{height:400px}}.canvas-container>div{width:100%!important;height:100%!important;flex:1}.placeholder-3d{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:var(--text-muted);text-align:center;padding:2rem;background:#fafbfc}.placeholder-icon{width:56px;height:56px;margin-bottom:1rem;color:var(--primary-color);opacity:.35}.brush-toolbar{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:8px;background:#fff;padding:8px 14px;border-radius:12px;box-shadow:0 4px 14px #00000012;border:1px solid #e2e8f0;margin-bottom:12px;color:var(--text-color);z-index:10;width:100%}.brush-tools-group{display:flex;align-items:center;gap:6px}.brush-btn{background:#f1f5f9;border:1px solid #e2e8f0;color:var(--text-muted);height:34px;padding:0 10px;border-radius:8px;display:flex;align-items:center;gap:6px;font-size:.78rem;font-weight:600;cursor:pointer;transition:all .2s ease}.brush-btn:hover{background:#e2e8f0;color:var(--text-color)}.brush-btn.active{background:var(--primary-color);color:#fff;border-color:var(--primary-color);box-shadow:0 2px 8px #009eb359}.brush-slider-group{display:flex;align-items:center;gap:8px}.brush-slider{appearance:none;width:90px;height:5px;background:#e2e8f0;border-radius:999px;outline:none}.brush-slider::-webkit-slider-thumb{appearance:none;width:16px;height:16px;border-radius:50%;background:var(--primary-color);cursor:pointer;box-shadow:0 1px 4px #0003}.brush-slider::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:var(--primary-color);cursor:pointer;box-shadow:0 1px 4px #0003;border:none}.brush-tip-badge{font-size:.72rem;color:#0369a1;background:#e0f2fe;padding:3px 8px;border-radius:6px;font-weight:600}.fade-in{animation:fadeIn .35s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
