.preferences-block{display:flex;flex-direction:column;gap:1rem}.preferences-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.brand-color-popover-wrap{position:relative}.brand-color-shell{position:relative;display:flex;flex-direction:column;gap:.65rem}.brand-color-card,.font-select-card{display:flex;align-items:center;gap:.65rem;width:100%;border:1px solid #e5e7eb;border-radius:12px;background:#fff;padding:.58rem .7rem;cursor:pointer;transition:all .2s ease;text-align:left}.brand-color-card:hover,.font-select-card:hover{border-color:#c4b5fd;box-shadow:0 8px 24px #7c3aed14}.brand-color-card.active,.font-select-card.open{border-color:#7c3aed;box-shadow:0 0 0 3px #7c3aed14}.brand-color-card-icon,.font-select-icon,.font-option-icon{width:42px;height:42px;flex:0 0 42px;border-radius:10px;border:1px solid rgba(17,24,39,.06)}.brand-color-card-icon{box-shadow:inset 0 0 0 1px #ffffff40}.font-select-icon,.font-option-icon{display:inline-flex;align-items:center;justify-content:center;background:#050505;color:#fff;font-size:1.05rem;font-weight:800;line-height:1;overflow:hidden}.font-preview-svg{display:block;width:100%;height:100%}.brand-color-card-copy,.font-select-copy,.font-option-copy{display:flex;flex-direction:column;gap:.08rem;min-width:0}.brand-color-card-copy{flex:1}.brand-color-card-copy strong,.font-select-copy strong,.font-option-copy strong{color:#111827;font-size:.92rem;font-weight:700;line-height:1.18}.brand-color-card-copy small,.font-select-copy small,.font-option-copy small{color:#8a8fa3;font-size:.8rem;line-height:1.25}.brand-color-card-action,.brand-color-card-arrow{color:#6b7280;font-size:1.15rem;line-height:1;flex:0 0 auto}.brand-color-card-action{cursor:pointer;padding:0 .15rem}.brand-color-card-arrow{transform:rotate(180deg)}.brand-color-popover{position:absolute;top:50%;left:calc(100% + 18px);z-index:30;width:392px;padding:.72rem;border:1px solid #ececf3;border-radius:14px;background:linear-gradient(180deg,#fff,#fbfbfd);box-shadow:0 24px 60px #1118272e;transform:translateY(-50%)}.brand-color-popover:before{content:"";position:absolute;left:-8px;top:50%;width:16px;height:16px;background:#fff;border-left:1px solid #ececf3;border-bottom:1px solid #ececf3;transform:translateY(-50%) rotate(45deg)}.brand-color-square{position:relative;width:100%;height:156px;border-radius:12px;cursor:crosshair;overflow:hidden;box-shadow:inset 0 0 0 1px #11182714}.brand-color-square-thumb{position:absolute;width:16px;height:16px;border-radius:999px;border:2px solid #fff;box-shadow:0 0 0 1px #11182740,0 2px 8px #11182740;transform:translate(-50%,-50%);pointer-events:none}.brand-color-slider-row{display:grid;grid-template-columns:38px 1fr 38px;gap:.55rem;align-items:center;margin-top:.55rem}.brand-color-slider-icon,.brand-color-slider-preview{width:38px;height:38px;border-radius:9px;border:1px solid #dfe3eb;display:flex;align-items:center;justify-content:center;background:#fff}.brand-color-slider-icon{font-size:1rem;color:#6b7280}.brand-color-eyedropper-btn{cursor:pointer;transition:all .2s ease}.brand-color-eyedropper-btn:hover:not(:disabled){border-color:#7c3aed;color:#7c3aed;background:#faf5ff}.brand-color-eyedropper-btn:disabled{cursor:not-allowed;opacity:.45}.brand-color-eyedropper-btn.picking{color:#7c3aed;border-color:#7c3aed;background:#faf5ff}.brand-color-hue-slider{width:100%;height:12px;border-radius:999px;-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;border:none}.brand-color-hue-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:18px;height:18px;border-radius:999px;background:#fff;border:3px solid #fff;box-shadow:0 0 0 1px #11182738,0 2px 8px #1118272e;cursor:pointer}.brand-color-hue-slider::-moz-range-thumb{width:18px;height:18px;border-radius:999px;background:#fff;border:3px solid #fff;box-shadow:0 0 0 1px #11182738,0 2px 8px #1118272e;cursor:pointer}.brand-color-swatches{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.45rem;margin-top:.55rem}.brand-color-swatch{width:100%;aspect-ratio:1;border-radius:8px;border:2px solid transparent;cursor:pointer;box-shadow:inset 0 0 0 1px #11182714}.brand-color-swatch.active{border-color:#7c3aed;box-shadow:0 0 0 3px #7c3aed14}.brand-color-hex-row{display:grid;grid-template-columns:58px 1fr;gap:.6rem;align-items:center;margin-top:.55rem}.brand-color-hex-label{color:#4b5563;font-size:.88rem;font-weight:600}.brand-color-hex-row input{height:40px;border-radius:9px;border:1px solid #d8dce6;background:#fff;padding:0 .85rem;font-size:.9rem;font-weight:600;color:#111827}.font-select-card{min-height:64px;padding:.58rem .7rem;border-radius:12px}.font-select-copy{flex:1}.font-select-arrow{color:#707788;font-size:1rem;line-height:1;transition:transform .2s ease}.font-select-arrow.open{transform:rotate(180deg)}.font-select-menu{margin-top:.45rem;border:1px solid #ebe7f7;border-radius:18px;background:#fff;padding:.4rem;box-shadow:0 18px 42px #1118271a;max-height:420px;overflow-y:auto}.font-option{display:flex;align-items:center;gap:.8rem;width:100%;border:none;background:transparent;min-height:82px;padding:.62rem .72rem;border-radius:15px;cursor:pointer;text-align:left;transition:background .18s ease}.font-option:hover{background:#f8f5ff}.font-option.active{background:#f2ecff}.font-option-copy strong{font-size:1rem}.font-option-copy small{font-size:.9rem}.font-option-copy{gap:.18rem}.preferences-footer{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.preference-tip-card{border:1px solid #ddd6fe;border-radius:12px;background:#faf5ff;color:#5b21b6;padding:.9rem 1rem;font-size:.84rem;line-height:1.55}.char-count{color:#9ca3af;font-size:.8rem;white-space:nowrap}@media (max-width: 1320px){.brand-color-popover{left:auto;right:0;top:calc(100% + 10px);width:min(442px,100%);transform:none}.brand-color-popover:before{left:auto;right:28px;top:-8px;border-left:1px solid #ececf3;border-bottom:none;border-right:1px solid #ececf3;border-top:1px solid #ececf3;transform:rotate(45deg)}}@media (max-width: 768px){.preferences-grid{grid-template-columns:1fr}.preferences-footer{flex-direction:column}.brand-color-popover{position:static;width:100%;margin-top:.7rem;transform:none}.brand-color-popover:before{display:none}.brand-color-square{height:148px}.brand-color-slider-row{grid-template-columns:44px 1fr 44px}.brand-color-slider-icon,.brand-color-slider-preview{width:44px;height:44px}}.amazon-listing-form{display:flex;flex-direction:column;gap:1.25rem}.form-section{background:#f9fafb;border:1px solid #e5e7eb;border-radius:14px;padding:1.25rem}.section-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.8rem}.section-header h3{margin:0;font-size:1.08rem;font-weight:700;color:#111827}.section-number{display:inline-flex;align-items:center;justify-content:center;padding:.3rem .7rem;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:.78rem;font-weight:700;white-space:nowrap}.section-description{margin:0 0 1rem;color:#6b7280;font-size:.92rem;line-height:1.55}.form-group{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.form-group:last-child{margin-bottom:0}.form-group label{font-size:.92rem;font-weight:600;color:#1f2937}.required{color:#dc2626}.form-group input,.form-group select,.form-group textarea{width:100%;padding:.78rem .95rem;border:1px solid #d1d5db;border-radius:10px;background:#fff;color:#111827;font-size:.94rem;line-height:1.55;transition:border-color .2s ease,box-shadow .2s ease;font-family:inherit}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.form-group textarea{resize:vertical}.unified-listing-input textarea{min-height:260px}.help-text{display:block;color:#6b7280;font-size:.82rem;line-height:1.5}.section-help{margin:1rem 0 1.25rem;padding:.85rem 1rem;border-radius:10px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;font-size:.86rem;line-height:1.55}.strategy-analyzer-slot{margin:1rem 0 1.25rem}.image-task-configurator{margin-top:.25rem;padding:1rem;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.image-task-configurator__header{margin-bottom:.9rem}.image-task-configurator__header h4{margin:0 0 .35rem;font-size:.98rem;font-weight:700;color:#111827}.image-task-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.image-task-row{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.85rem .9rem;border:1px solid #e5e7eb;border-radius:12px;background:#f9fafb}.image-task-copy{display:flex;flex-direction:column;gap:.18rem;min-width:0}.image-task-copy strong{font-size:.92rem;color:#111827}.image-task-copy small{color:#6b7280;font-size:.8rem;line-height:1.45}.image-task-stepper{display:inline-flex;align-items:center;gap:.55rem;flex:0 0 auto}.image-task-stepper button{width:28px;height:28px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#111827;font-size:1rem;font-weight:700;cursor:pointer}.image-task-stepper button:hover:not(:disabled){border-color:#6366f1;color:#4f46e5}.image-task-stepper button:disabled{opacity:.45;cursor:not-allowed}.image-task-stepper span{min-width:18px;text-align:center;font-size:.92rem;font-weight:700;color:#111827}.image-plans-container{margin-top:1rem;padding:1rem;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.image-plans-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}.image-plans-grid--full{grid-template-columns:repeat(2,minmax(0,1fr))}.image-plans-header{margin-bottom:1rem}.image-plans-header h4{margin:0 0 .35rem;font-size:1rem;font-weight:700;color:#111827}.image-plan-group{padding:1rem;border:1px solid #e5e7eb;border-radius:12px;background:#f9fafb}.image-plan-group--hero{margin-bottom:.9rem}.image-plans-empty{padding:1.4rem 1rem;border-radius:12px;background:#f9fafb;border:1px dashed #d1d5db;color:#6b7280;font-size:.9rem;text-align:center}.image-plan-label{display:flex;align-items:center;gap:.55rem;margin-bottom:.6rem}.image-badge{display:inline-flex;align-items:center;justify-content:center;padding:.22rem .55rem;border-radius:8px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:.78rem;font-weight:700}.image-type{font-size:.92rem;font-weight:600;color:#1f2937}.image-plan-group textarea{background:#fff;min-height:132px}.image-plan-group--hero textarea{min-height:96px}.plan-preview-actions{display:flex;flex-direction:column;gap:.45rem;margin-top:.1rem}.plan-preview-btn{align-self:flex-start;min-height:34px;padding:.45rem .8rem;border:1px solid #c7d2fe;border-radius:9px;background:#eef2ff;color:#4338ca;font-size:.84rem;font-weight:700;cursor:pointer}.plan-preview-btn:hover:not(:disabled){border-color:#818cf8;background:#e0e7ff}.plan-preview-btn:disabled{opacity:.7;cursor:wait}.image-plan-group .help-text.success{color:#047857}.strategy-english-prompt{margin:.4rem 0 .65rem;padding:.7rem .8rem;border:1px solid #dbeafe;border-radius:10px;background:#f8fbff}.strategy-english-prompt summary{cursor:pointer;color:#1d4ed8;font-size:.84rem;font-weight:700}.strategy-english-prompt small{display:block;margin-top:.5rem;color:#4b5563;line-height:1.55;white-space:pre-wrap}.strategy-english-prompt--final{border-color:#d1fae5;background:#f0fdf4}.strategy-english-prompt--final summary{color:#047857}.prompt-sync-status{font-weight:600}.prompt-sync-status--syncing{color:#2563eb}.prompt-sync-status--success{color:#047857}.prompt-sync-status--error{color:#b91c1c}@media (max-width: 768px){.image-task-list,.image-plans-grid{grid-template-columns:1fr}.form-section{padding:1rem}.section-header{align-items:flex-start;flex-direction:column}.image-plan-label{align-items:flex-start;flex-direction:column;gap:.35rem}}.product-image-uploader{margin-bottom:1.5rem}.uploader-header{margin-bottom:.8rem}.required-label{display:inline-block;font-weight:600;color:#343a40;font-size:1rem;margin-bottom:.3rem}.help-text{display:block;font-size:.85rem;color:#6c757d;font-style:italic}.upload-area{margin-bottom:.9rem}.file-input{display:none}.upload-label{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:1.4rem 1.2rem;border:2px dashed #ced4da;border-radius:12px;cursor:pointer;transition:all .2s;background:#f8f9fa;min-height:164px}.upload-label:hover{border-color:#007bff;background:#e7f1ff}.upload-area.dragging .upload-label{border-color:#28a745;background:#d4edda;transform:scale(1.02);box-shadow:0 4px 12px #28a74533}.upload-label.compressing{border-color:#ffc107;background:#fff8e1;cursor:wait}.upload-icon{font-size:2.2rem;margin-bottom:.35rem}.upload-icon.loading{animation:pulse 1.5s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(.95)}}.upload-text{font-size:.98rem;color:#495057;font-weight:600;margin-bottom:.22rem}.upload-hint{font-size:.8rem;color:#6c757d;text-align:center;line-height:1.45}.image-preview-toolbar{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.8rem;flex-wrap:wrap}.image-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:.85rem}.preview-item{position:relative;aspect-ratio:1;border-radius:10px;overflow:hidden;border:2px solid #e9ecef;background:#fff}.preview-item img{width:100%;height:100%;object-fit:cover}.preview-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;justify-content:space-between;align-items:flex-start;padding:.5rem;opacity:0;transition:opacity .2s}.preview-item:hover .preview-overlay{opacity:1}.preview-number{color:#fff;font-size:.78rem;font-weight:600;background:#007bffcc;padding:.2rem .5rem;border-radius:4px}.remove-btn{background:#dc3545e6;color:#fff;border:none;width:26px;height:26px;border-radius:50%;cursor:pointer;font-size:.95rem;display:flex;align-items:center;justify-content:center;transition:all .2s}.remove-btn:hover{background:#dc3545;transform:scale(1.1)}.image-count{font-size:.88rem;color:#28a745;font-weight:600;padding:.45rem .7rem;background:#d4edda;border-radius:999px}.upload-more-btn{border:1px solid #d1d5db;background:#fff;color:#374151;border-radius:999px;padding:.45rem .75rem;font-size:.84rem;font-weight:600;cursor:pointer;transition:all .2s ease}.upload-more-btn:hover{border-color:#2563eb;color:#2563eb;background:#eff6ff}@media (max-width: 768px){.upload-label{min-height:148px;padding:1.1rem 1rem}.image-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}}.task-grid{display:grid;grid-template-columns:1fr;gap:1.25rem}.task-grid-empty{text-align:center;padding:3rem;color:#999;font-size:1rem}.task-card{background:#fff;border:1px solid #e8e8e8;border-radius:10px;overflow:hidden;transition:all .2s}.task-card:hover{box-shadow:0 4px 16px #0000001a}.task-card-header{padding:1rem 1.2rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;justify-content:space-between;align-items:center}.task-info{flex:1}.task-title{font-size:1.1rem;margin:0 0 .3rem;font-weight:600}.task-time{font-size:.75rem;opacity:.9}.task-actions{display:flex;gap:.5rem}.continue-btn{padding:.4rem .9rem;background:linear-gradient(135deg,#11998e,#38ef7d);color:#fff;border:none;border-radius:6px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s;margin-right:.5rem}.continue-btn:hover{transform:scale(1.05);box-shadow:0 4px 12px #11998e4d}.download-all-btn{padding:.4rem .9rem;background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:6px;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s}.download-all-btn:hover{background:#ffffff4d;transform:scale(1.05)}.task-meta{padding:.6rem 1.2rem;background:#f8f9fa;border-bottom:1px solid #e9ecef;display:flex;gap:1.5rem;font-size:.85rem;color:#555}.meta-item{display:flex;align-items:center;gap:.3rem}.status-done{color:#28a745;font-weight:700}.status-progress{color:#007bff;font-weight:700}.status-stopped{color:#dc3545;font-weight:700}.status-stopping{color:#fd7e14;font-weight:700;animation:pulse 1s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.task-images-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem;padding:1.2rem}.task-image-card{background:#fafbfc;border:1px solid #e1e4e8;border-radius:8px;overflow:hidden;transition:all .2s}.task-image-card:hover{box-shadow:0 3px 12px #00000014;transform:translateY(-2px)}.image-card-header{padding:.5rem .7rem;background:#f0f2f5;border-bottom:1px solid #e1e4e8;display:flex;justify-content:space-between;align-items:center}.image-card-heading{display:flex;align-items:center;gap:.45rem;min-width:0}.image-name{min-width:0;color:#374151;font-size:.78rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.image-prompt-display{padding:.5rem .7rem;background:#fff;border-bottom:1px solid #e1e4e8;font-size:.75rem;color:#555;line-height:1.4}.image-prompt-display small{display:block}.image-prompt-display strong{color:#007bff}.english-prompt-details{padding:.5rem .7rem;background:#f8fbff;border-bottom:1px solid #e1e4e8;font-size:.75rem;color:#4b5563}.english-prompt-details summary{color:#0056b3;font-weight:700;cursor:pointer;margin-bottom:.35rem}.english-prompt-details small{display:block;line-height:1.45;white-space:pre-wrap}.image-badge{display:inline-block;background:#007bff;color:#fff;padding:.2rem .5rem;border-radius:4px;font-size:.75rem;font-weight:600}.image-status{font-size:.9rem}.image-resolution{padding:.35rem .7rem;background:#eef7ff;border-bottom:1px solid #d8eafb;color:#0056b3;font-size:.75rem;font-weight:700}.image-resolution span{color:#5f6f80;font-weight:600}.image-resolution.mismatch{background:#fff3cd;border-bottom-color:#ffe69c;color:#9a6700}.image-content{padding:.7rem;min-height:220px;display:flex;align-items:center;justify-content:center}.image-preview-button{width:100%;height:220px;padding:0;border:1px solid #e1e4e8;border-radius:6px;background:#fff;cursor:zoom-in;overflow:hidden;display:flex;align-items:center;justify-content:center}.image-preview-button:hover{border-color:#007bff;box-shadow:0 0 0 3px #007bff1f}.image-content img{width:100%;height:100%;object-fit:contain;display:block}.image-pending{text-align:center;color:#007bff;font-size:.9rem;animation:pulse 1.5s infinite}.image-error{text-align:center;color:#dc3545;font-size:.9rem;font-weight:600}.image-error small{display:block;margin-top:.5rem;color:#dc3545;font-size:.75rem;font-weight:400}.image-card-actions{display:flex;justify-content:center;gap:.5rem;padding:.5rem .7rem;border-top:1px solid #e1e4e8}.action-btn{width:32px;height:32px;border:none;border-radius:6px;font-size:1rem;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.action-btn.download{background:#28a745;color:#fff}.action-btn.download:hover{background:#218838;transform:scale(1.1)}.action-btn.preview{background:#17a2b8;color:#fff}.action-btn.preview:hover{background:#138496;transform:scale(1.1)}.action-btn.edit{background:#ffc107;color:#856404}.action-btn.edit:hover{background:#ffca2c;transform:scale(1.1)}.action-btn.regenerate{background:#dc3545;color:#fff;font-size:.85rem;font-weight:600;width:auto;padding:0 .8rem}.action-btn.regenerate:hover{background:#c82333;transform:scale(1.05)}.prompt-editor{padding:.7rem;background:#fff3cd;border-top:1px solid #e1e4e8}.prompt-editor textarea{width:100%;padding:.5rem;border:1px solid #ffc107;border-radius:4px;font-size:.8rem;font-family:inherit;resize:vertical;margin-bottom:.5rem}.editor-actions{display:flex;gap:.5rem}.btn-save{flex:1;padding:.4rem;background:#007bff;color:#fff;border:none;border-radius:4px;font-size:.8rem;font-weight:600;cursor:pointer}.btn-save:hover{background:#0056b3}.btn-cancel{padding:.4rem .8rem;background:#6c757d;color:#fff;border:none;border-radius:4px;font-size:.8rem;cursor:pointer}.btn-cancel:hover{background:#5a6268}.image-prompt{padding:.5rem .7rem;background:#f8f9fa;border-top:1px solid #e1e4e8}.image-prompt small{color:#666;font-size:.75rem;line-height:1.4;display:block}.task-placeholder{grid-column:1 / -1;color:#999;font-size:.9rem;padding:2rem;text-align:center;background:#f8f9fa;border-radius:8px}.image-preview-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2000;background:#111827db;display:flex;align-items:center;justify-content:center;padding:1.5rem}.image-preview-dialog{width:min(96vw,1200px);height:min(92vh,900px);background:#111827;border-radius:10px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 24px 80px #00000073}.image-preview-toolbar{flex:0 0 auto;padding:.75rem 1rem;background:#fff;color:#1f2937;display:flex;align-items:center;justify-content:space-between;gap:1rem}.image-preview-title{font-size:.95rem;font-weight:700}.image-preview-controls{display:flex;align-items:center;gap:.4rem}.image-preview-controls button{min-width:36px;height:32px;padding:0 .55rem;border:1px solid #d1d5db;border-radius:6px;background:#f9fafb;color:#111827;font-size:.85rem;font-weight:700;cursor:pointer}.image-preview-controls button:hover{border-color:#007bff;color:#007bff}.image-preview-controls span{min-width:48px;text-align:center;font-size:.85rem;font-weight:700}.image-preview-stage{flex:1;overflow:auto;display:flex;align-items:center;justify-content:center;padding:1.5rem}.image-preview-stage img{max-width:100%;max-height:100%;object-fit:contain;transform-origin:center center;transition:transform .15s ease}@media (max-width: 768px){.task-grid,.task-images-grid{grid-template-columns:1fr}.image-preview-toolbar{align-items:flex-start;flex-direction:column}.image-preview-controls{flex-wrap:wrap}}.generate-button{width:100%;padding:1rem 2rem;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:10px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 4px 12px #667eea4d}.generate-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.generate-button:active:not(:disabled){transform:translateY(0)}.generate-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.generate-button-container{display:flex;gap:1rem;align-items:center}.generate-button-container .generate-button{flex:1}.stop-button{padding:1rem 2rem;background:linear-gradient(135deg,#f093fb,#f5576c);color:#fff;border:none;border-radius:10px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .3s;box-shadow:0 4px 12px #f5576c4d;white-space:nowrap}.stop-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #f5576c66}.stop-button:active:not(:disabled){transform:translateY(0)}.stop-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.resolution-selector{margin-bottom:0}.selector-header{margin-bottom:.75rem}.selector-header h3{margin:0;font-size:1rem;line-height:1.2;color:#6b7280;font-weight:600}.resolution-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.resolution-option{min-height:62px;border:1.5px solid #d7dce5;border-radius:12px;background:#fff;color:#1f2937;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease}.resolution-option:hover{border-color:#8b5cf6;color:#6d28d9;background:#faf7ff}.resolution-option.selected{border-color:#7c3aed;color:#7c3aed;background:#fcfbff;box-shadow:0 0 0 2px #7c3aed14}@media (max-width: 768px){.resolution-options{gap:.6rem}.resolution-option{min-height:56px}}.settings-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;animation:fadeIn .2s ease}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.settings-modal{background:#fff;border-radius:12px;width:90%;max-width:600px;max-height:85vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 32px #0003;animation:slideIn .3s ease}@keyframes slideIn{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.2rem 1.5rem;border-bottom:1px solid #e9ecef;background:#f8f9fa}.modal-header h2{font-size:1.3rem;color:#343a40;margin:0}.close-btn{background:none;border:none;font-size:1.5rem;color:#6c757d;cursor:pointer;padding:.3rem .5rem;border-radius:4px;transition:all .2s}.close-btn:hover{background:#e9ecef;color:#343a40}.modal-body{flex:1;overflow-y:auto;padding:1.5rem}.config-section{margin-bottom:2rem}.config-section:last-child{margin-bottom:0}.config-section h3{font-size:1rem;color:#495057;margin-bottom:1rem;font-weight:600}.form-group{margin-bottom:1.2rem}.form-group label{display:block;font-size:.9rem;color:#343a40;font-weight:500;margin-bottom:.5rem}.form-group input,.form-group select{width:100%;padding:.6rem .8rem;border:1px solid #ced4da;border-radius:6px;font-size:.95rem;transition:all .2s}.form-group input:focus,.form-group select:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.form-group small{display:block;font-size:.8rem;color:#6c757d;margin-top:.3rem;font-style:italic}.test-btn{width:100%;padding:.7rem;background:#17a2b8;color:#fff;border:none;border-radius:6px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s;margin-bottom:.8rem}.test-btn:hover:not(:disabled){background:#138496;transform:translateY(-1px)}.test-btn:disabled{background:#6c757d;cursor:not-allowed;opacity:.7}.test-result{padding:.8rem;border-radius:6px;font-size:.9rem;font-weight:500;text-align:center}.test-result.success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.test-result.error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.modal-footer{display:flex;justify-content:flex-end;gap:.8rem;padding:1.2rem 1.5rem;border-top:1px solid #e9ecef;background:#f8f9fa}.cancel-btn{padding:.7rem 1.5rem;background:#fff;color:#6c757d;border:1px solid #ced4da;border-radius:6px;font-size:.95rem;font-weight:500;cursor:pointer;transition:all .2s}.cancel-btn:hover{background:#e9ecef}.save-btn{padding:.7rem 1.5rem;background:#28a745;color:#fff;border:none;border-radius:6px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .2s}.save-btn:hover{background:#218838;transform:translateY(-1px)}.settings-button{position:fixed;top:1.2rem;right:2rem;background:#fff;border:2px solid rgba(255,255,255,.3);border-radius:50%;width:48px;height:48px;font-size:1.5rem;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 8px #00000026;transition:all .2s;z-index:100}.settings-button:hover{background:#f8f9fa;transform:rotate(30deg) scale(1.05);box-shadow:0 4px 12px #0003}.tooltip{position:absolute;top:100%;right:0;background:#343a40;color:#fff;padding:.4rem .6rem;border-radius:4px;font-size:.8rem;font-weight:500;white-space:nowrap;opacity:0;visibility:hidden;transform:translateY(-5px);transition:all .2s;margin-top:.5rem}.tooltip:before{content:"";position:absolute;bottom:100%;right:1rem;border:6px solid transparent;border-bottom-color:#343a40}.settings-button:hover .tooltip{opacity:1;visibility:visible;transform:translateY(0)}.agent-analyzer{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;padding:1.5rem;color:#fff;margin-bottom:0;box-shadow:0 4px 12px #667eea4d}.analyzer-header{margin-bottom:1rem}.analyzer-header h3{font-size:1.2rem;margin:0 0 .5rem;font-weight:700;color:#fff}.analyzer-header .help-text{font-size:.9rem;color:#ffffffeb;line-height:1.7;font-style:normal;opacity:1}.analyze-btn{width:100%;padding:1rem 1.5rem;background:#fff;color:#667eea;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s;display:flex;align-items:center;justify-content:center;gap:.5rem;box-shadow:0 2px 8px #0003}.analyze-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 16px #0000004d}.analyze-btn.analyzing{opacity:.8;cursor:wait}.analyze-btn:disabled{cursor:not-allowed}.btn-icon{font-size:1.3rem}.loading-spinner{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-message{background:#fff3;padding:.8rem 1rem;border-radius:6px;margin-top:1rem;font-size:.9rem;border-left:3px solid #ff6b6b}.analyzer-features{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1rem;padding-top:1rem;border-top:1px solid rgba(255,255,255,.2)}.feature-item{display:flex;align-items:center;gap:.5rem;font-size:.85rem;color:#fffffff5;line-height:1.45}.feature-icon{font-size:1.2rem}.waiting-hint{margin-top:8px;padding:10px 14px;background:#fff8e6;border:1px solid #ffe2a8;border-radius:6px;font-size:13px;color:#926c00;text-align:center}.success-message{margin-top:8px;padding:10px 14px;background:#e6ffed;border:1px solid #86efac;border-radius:6px;font-size:14px;color:#065f46;text-align:center;font-weight:500;animation:slideIn .3s ease-out}.recommendation-hint{margin-top:8px;padding:10px 12px;background:#eff6ff;border:1px solid #93c5fd;border-radius:6px;font-size:13px;color:#1e40af;display:flex;align-items:center;justify-content:space-between;gap:12px}.recommendation-hint button{border:1px solid #93c5fd;background:#fff;color:#1d4ed8;border-radius:4px;padding:4px 10px;cursor:pointer;font-size:12px;white-space:nowrap}.recommendation-hint button:hover{background:#dbeafe}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.app{min-height:100vh;background:#f3f4f6;color:#111827}.header{background:linear-gradient(135deg,#f90,#ffad42);color:#fff;padding:1.5rem 2rem;box-shadow:0 2px 8px #0f172a1a}.header h1{margin:0;font-size:1.8rem;font-weight:700}.subtitle{display:block;margin-top:.4rem;font-size:.95rem;opacity:.92}.main{max-width:2100px;margin:0 auto;padding:4rem 1.25rem 2rem}.workspace-layout{display:grid;grid-template-columns:minmax(320px,.92fr) minmax(360px,.98fr) minmax(620px,1.7fr);gap:1.25rem;align-items:start}.workspace-column{display:flex;flex-direction:column;gap:1.5rem;min-width:0}.section{margin:0;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:1.35rem;box-shadow:0 8px 24px #0f172a0d}.workspace-panel{min-width:0}.panel-heading{margin-bottom:1.1rem}.panel-heading h2{margin:0;font-size:1.18rem;font-weight:700;color:#111827}.panel-heading p{margin:.45rem 0 0;font-size:.92rem;line-height:1.55;color:#6b7280}.stack-panel-group{display:flex;flex-direction:column;gap:1rem}.sub-panel{border:1px solid #e5e7eb;border-radius:12px;background:#f9fafb;padding:1rem}.sub-panel h3{margin:0 0 .85rem;font-size:1rem;color:#111827}.generate-panel{background:#fff}.action-panel{position:static}.action-panel-group{gap:.75rem}.compact-sub-panel{padding:.9rem}.results-panel{min-height:520px}.generate-hint{margin-top:1rem;padding:.8rem 1rem;border-radius:10px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:.9rem;line-height:1.5;text-align:center}.generate-hint.warning{background:#fef2f2;color:#991b1b;border-color:#fecaca}.config-warning-banner{position:fixed;top:80px;left:50%;transform:translate(-50%);z-index:999;display:flex;align-items:center;gap:1rem;padding:1rem 1.25rem;border-radius:10px;background:#fff7ed;color:#9a3412;box-shadow:0 12px 28px #0f172a2e;animation:slideDown .25s ease}@keyframes slideDown{0%{top:60px;opacity:0}to{top:80px;opacity:1}}.config-warning-banner button{border:none;border-radius:8px;background:#2563eb;color:#fff;padding:.55rem 1rem;font-weight:600;cursor:pointer}.config-warning-banner button:hover{background:#1d4ed8}@media (max-width: 1680px){.main{max-width:100%;padding-left:1rem;padding-right:1rem}.workspace-layout{grid-template-columns:minmax(300px,.95fr) minmax(340px,1fr) minmax(520px,1.45fr)}}@media (max-width: 1440px){.workspace-layout{grid-template-columns:minmax(300px,1fr) minmax(380px,1.2fr)}.action-panel{position:static}.workspace-column-right{grid-column:1 / -1}}@media (max-width: 960px){.main{padding:5rem 1rem 1rem}.workspace-layout{grid-template-columns:1fr}.action-panel{position:static}.config-warning-banner{left:1rem;right:1rem;transform:none;flex-direction:column;text-align:center}}.error-boundary-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:#f8fafc;padding:24px}.error-boundary-panel{width:min(520px,100%);background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:28px;box-shadow:0 16px 40px #0f172a1f;color:#1e293b}.error-boundary-panel h1{margin:0 0 12px;font-size:24px}.error-boundary-panel p{margin:0 0 16px;color:#475569;line-height:1.6}.error-boundary-panel pre{max-height:160px;overflow:auto;background:#0f172a;color:#e2e8f0;border-radius:6px;padding:12px;font-size:12px;white-space:pre-wrap;word-break:break-word}.error-boundary-panel button{border:none;background:#2563eb;color:#fff;border-radius:6px;padding:10px 16px;font-weight:600;cursor:pointer}.error-boundary-panel button:hover{background:#1d4ed8}*{margin:0;padding:0;box-sizing:border-box}body{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;background:#f5f5f5}#root{min-height:100vh}
