.ai-studio-wrapper{--primary:#E86C2C;--primary-light:#FF8C5A;--primary-dark:#C55A20;--bg-main:#FFFFFF;--bg-panel:#F8F8F8;--bg-card:#FFFFFF;--bg-hover:#F0F0F0;--text-primary:#1A1A1A;--text-secondary:#666666;--text-muted:#999999;--border:#E5E5E5;--border-dark:#D0D0D0;--success:#4CAF50;--warning:#FF9800;font-family:Heebo,sans-serif;background:var(--bg-main);color:var(--text-primary);height:100vh;overflow:hidden;position:relative}.ai-studio-wrapper *{box-sizing:border-box}.ai-studio-wrapper .app-container{display:flex;height:100%}.ai-studio-wrapper .tool-nav{width:70px;background:var(--bg-panel);border-left:1px solid var(--border);display:flex;flex-direction:column;align-items:center;padding:12px 0;gap:4px}.ai-studio-wrapper .nav-logo{width:44px;height:44px;background:var(--primary);margin-bottom:20px;font-weight:700;color:#FFFFFF;font-size:18px}.ai-studio-wrapper .nav-item,.ai-studio-wrapper .nav-logo{border-radius:12px;display:flex;align-items:center;justify-content:center}.ai-studio-wrapper .nav-item{width:54px;height:54px;flex-direction:column;gap:4px;cursor:pointer;transition:all .2s;color:var(--text-secondary);border:1px solid transparent}.ai-studio-wrapper .nav-item:hover{background:var(--bg-hover);color:var(--text-primary)}.ai-studio-wrapper .nav-item.active{background:rgba(232,108,44,.15);border-color:var(--primary);color:var(--primary)}.ai-studio-wrapper .nav-item svg{width:22px;height:22px}.ai-studio-wrapper .nav-item span{font-size:10px;font-weight:500}.ai-studio-wrapper .nav-divider{width:40px;height:1px;background:var(--border);margin:8px 0}.ai-studio-wrapper .main-content{flex:1;display:flex;flex-direction:column;overflow:hidden}.ai-studio-wrapper .content-layout{flex:1;display:flex;overflow:hidden}.ai-studio-wrapper .settings-panel{width:320px;background:var(--bg-card);border-right:1px solid var(--border);display:flex;flex-direction:column;overflow:hidden;box-shadow:2px 0 8px rgba(0,0,0,.04)}.ai-studio-wrapper .panel-header{padding:16px 20px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between}.ai-studio-wrapper .panel-title{display:flex;align-items:center;gap:10px}.ai-studio-wrapper .panel-title h2{font-size:16px;font-weight:600}.ai-studio-wrapper .batch-badge{padding:4px 10px;background:var(--bg-card);border-radius:6px;font-size:11px;color:var(--text-secondary)}.ai-studio-wrapper .panel-content{flex:1;overflow-y:auto;padding:20px}.ai-studio-wrapper .settings-section{margin-bottom:24px}.ai-studio-wrapper .section-label{font-size:12px;color:var(--text-secondary);margin-bottom:10px;display:block}.ai-studio-wrapper .target-selector{background:var(--primary);color:#000;padding:14px 16px;border-radius:10px;font-weight:600;font-size:14px;text-align:center;cursor:pointer;transition:all .2s}.ai-studio-wrapper .target-selector:hover{background:var(--primary-dark)}.ai-studio-wrapper .action-btn{width:100%;padding:14px 16px;border-radius:10px;font-family:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:8px;border:none}.ai-studio-wrapper .action-btn.primary{background:var(--primary);color:#FFFFFF}.ai-studio-wrapper .action-btn.primary:hover{background:var(--primary-dark)}.ai-studio-wrapper .action-btn svg{width:18px;height:18px}.ai-studio-wrapper .info-box{background:var(--bg-card);border-radius:10px;padding:14px 16px;font-size:13px;color:var(--text-secondary);line-height:1.6}.ai-studio-wrapper .option-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.ai-studio-wrapper .option-grid.cols-2{grid-template-columns:repeat(2,1fr)}.ai-studio-wrapper .option-btn{padding:12px 8px;background:var(--bg-card);border:1px solid var(--border);border-radius:10px;color:var(--text-primary);font-family:inherit;font-size:12px;cursor:pointer;transition:all .2s;display:flex;flex-direction:column;align-items:center;gap:8px}.ai-studio-wrapper .option-btn:hover{border-color:var(--primary)}.ai-studio-wrapper .option-btn.selected{background:rgba(232,108,44,.1);border-color:var(--primary);color:var(--primary)}.ai-studio-wrapper .color-swatch{width:28px;height:28px;border-radius:50%;border:2px solid rgba(255,255,255,.1)}.ai-studio-wrapper .stone-swatch{width:28px;height:28px;border-radius:6px}.ai-studio-wrapper .upload-btn{width:100%;padding:14px;background:transparent;border:2px dashed var(--border);border-radius:10px;color:var(--text-secondary);font-family:inherit;font-size:13px;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px}.ai-studio-wrapper .upload-btn:hover{border-color:var(--primary);color:var(--primary)}.ai-studio-wrapper .upload-btn svg{width:18px;height:18px}.ai-studio-wrapper .settings-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.ai-studio-wrapper .settings-field{display:flex;flex-direction:column;gap:8px}.ai-studio-wrapper .field-label{font-size:12px;color:var(--text-secondary)}.ai-studio-wrapper .select-wrapper{position:relative}.ai-studio-wrapper .custom-select{width:100%;padding:12px 14px 12px 36px;background:var(--bg-card);border:1px solid var(--border);border-radius:10px;color:var(--text-primary);font-family:inherit;font-size:13px;cursor:pointer;appearance:none;-webkit-appearance:none;-moz-appearance:none;transition:all .2s}.ai-studio-wrapper .custom-select:hover{border-color:var(--text-secondary)}.ai-studio-wrapper .custom-select:focus{outline:none;border-color:var(--primary)}.ai-studio-wrapper .select-arrow{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;color:var(--text-secondary);pointer-events:none}.ai-studio-wrapper .color-picker-wrapper{display:flex;align-items:center;gap:10px;padding:8px 12px;background:var(--bg-card);border:1px solid var(--border);border-radius:10px}.ai-studio-wrapper .color-input{width:0;height:0;opacity:0;position:absolute}.ai-studio-wrapper .color-preview{width:28px;height:28px;border-radius:6px;border:2px solid var(--border);cursor:pointer;transition:all .2s}.ai-studio-wrapper .color-preview:hover{border-color:var(--text-secondary)}.ai-studio-wrapper .color-value{font-size:12px;color:var(--text-secondary);font-family:monospace}.ai-studio-wrapper .output-gallery{border-top:1px solid var(--border);background:var(--bg-card);transition:all .3s ease;padding:12px 20px}.ai-studio-wrapper .output-gallery.expanded{padding:16px 20px}.ai-studio-wrapper .gallery-header{display:flex;align-items:center;justify-content:space-between;cursor:pointer}.ai-studio-wrapper .gallery-header:hover .gallery-title{color:var(--primary)}.ai-studio-wrapper .gallery-title{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;transition:color .2s}.ai-studio-wrapper .gallery-title svg{width:16px;height:16px;color:var(--primary)}.ai-studio-wrapper .gallery-count{background:var(--primary);color:#FFFFFF;font-size:11px;font-weight:600;padding:2px 8px;border-radius:10px;margin-right:8px}.ai-studio-wrapper .gallery-actions{display:flex;gap:8px}.ai-studio-wrapper .gallery-tabs{display:flex;gap:4px;margin-top:12px;padding:4px;background:var(--bg-panel);border-radius:8px}.ai-studio-wrapper .gallery-tab{flex:1;padding:8px 12px;background:transparent;border:none;border-radius:6px;color:var(--text-secondary);font-family:inherit;font-size:12px;cursor:pointer;transition:all .2s}.ai-studio-wrapper .gallery-tab:hover{color:var(--text-primary)}.ai-studio-wrapper .gallery-tab.active{background:var(--bg-card);color:var(--text-primary);box-shadow:0 1px 3px rgba(0,0,0,.1)}.ai-studio-wrapper .gallery-btn{padding:6px 12px;background:var(--bg-panel);border:1px solid var(--border);border-radius:6px;color:var(--text-secondary);font-family:inherit;font-size:11px;cursor:pointer;display:flex;align-items:center;gap:4px}.ai-studio-wrapper .gallery-btn:hover{border-color:var(--text-secondary)}.ai-studio-wrapper .gallery-btn svg{width:12px;height:12px}.ai-studio-wrapper .gallery-content{margin-top:12px;max-height:0;overflow:hidden;transition:max-height .3s ease}.ai-studio-wrapper .output-gallery.expanded .gallery-content{max-height:200px;overflow-y:auto}.ai-studio-wrapper .gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:8px}.ai-studio-wrapper .gallery-item{aspect-ratio:1;background:#F0F0F0;border-radius:8px;overflow:hidden;position:relative;cursor:pointer;border:1px solid var(--border)}.ai-studio-wrapper .gallery-item img{width:100%;height:100%;object-fit:cover}.ai-studio-wrapper .video-thumb{width:100%;height:100%;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--primary),var(--primary-dark))}.ai-studio-wrapper .video-thumb svg{width:32px;height:32px;color:white}.ai-studio-wrapper .gallery-item:hover .gallery-item-actions{opacity:1}.ai-studio-wrapper .gallery-item-actions{position:absolute;inset:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;gap:6px;opacity:0;transition:opacity .2s}.ai-studio-wrapper .gallery-item-actions button{width:28px;height:28px;background:rgba(255,255,255,.2);border:none;border-radius:6px;color:white;cursor:pointer;display:flex;align-items:center;justify-content:center}.ai-studio-wrapper .gallery-item-actions button:hover{background:var(--primary);color:#FFFFFF}.ai-studio-wrapper .gallery-item-actions svg{width:14px;height:14px}.ai-studio-wrapper .gallery-empty{text-align:center;padding:16px;color:var(--text-muted);font-size:13px;display:flex;align-items:center;justify-content:center;gap:8px}.ai-studio-wrapper .gallery-empty svg{width:20px;height:20px;opacity:.5}.ai-studio-wrapper .center-area{flex:1;display:flex;flex-direction:column;overflow:hidden;background:#F0F0F0}.ai-studio-wrapper .files-section{padding:16px 20px;border-bottom:1px solid var(--border);background:var(--bg-card)}.ai-studio-wrapper .files-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.ai-studio-wrapper .files-title{font-size:13px;color:var(--text-secondary)}.ai-studio-wrapper .files-title span{color:var(--primary)}.ai-studio-wrapper .files-actions{display:flex;gap:8px}.ai-studio-wrapper .files-btn{padding:6px 12px;background:var(--bg-card);border:1px solid var(--border);border-radius:6px;color:var(--text-secondary);font-family:inherit;font-size:12px;cursor:pointer;display:flex;align-items:center;gap:6px;transition:all .2s}.ai-studio-wrapper .files-btn:hover{border-color:var(--text-secondary);color:var(--text-primary)}.ai-studio-wrapper .files-btn svg{width:14px;height:14px}.ai-studio-wrapper .files-grid{display:flex;gap:12px;overflow-x:auto;padding-bottom:8px}.ai-studio-wrapper .file-card{flex-shrink:0;width:140px;background:var(--bg-card);border:1px solid var(--border);border-radius:12px;padding:10px;cursor:pointer;transition:all .2s;position:relative;box-shadow:0 1px 3px rgba(0,0,0,.08)}.ai-studio-wrapper .file-card:hover{border-color:var(--border-dark);box-shadow:0 2px 8px rgba(0,0,0,.1)}.ai-studio-wrapper .file-card.selected{border-color:var(--primary);background:rgba(232,108,44,.05)}.ai-studio-wrapper .file-thumb{width:100%;aspect-ratio:1;background:#F0F0F0;border-radius:8px;overflow:hidden;margin-bottom:10px;display:flex;align-items:center;justify-content:center}.ai-studio-wrapper .file-thumb img{width:100%;height:100%;object-fit:cover}.ai-studio-wrapper .file-checkbox{position:absolute;top:16px;left:16px;width:20px;height:20px;background:rgba(255,255,255,.8);border:2px solid var(--border-dark);border-radius:4px;display:flex;align-items:center;justify-content:center}.ai-studio-wrapper .file-card.selected .file-checkbox{background:var(--primary);border-color:var(--primary)}.ai-studio-wrapper .file-checkbox svg{width:12px;height:12px;color:#FFFFFF;opacity:0}.ai-studio-wrapper .file-card.selected .file-checkbox svg{opacity:1}.ai-studio-wrapper .file-card.upload-card{border:2px dashed var(--border);background:transparent;cursor:pointer;transition:all .3s}.ai-studio-wrapper .file-card.upload-card:hover{border-color:var(--primary);background:rgba(232,108,44,.05)}.ai-studio-wrapper .upload-zone-inner{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px}.ai-studio-wrapper .upload-zone-inner svg{width:32px;height:32px;color:var(--primary);margin-bottom:8px}.ai-studio-wrapper .upload-zone-inner span{font-size:12px;color:var(--text-secondary);text-align:center}.ai-studio-wrapper .upload-zone-inner .upload-hint{font-size:10px;color:var(--text-muted);margin-top:4px}.ai-studio-wrapper .file-card.upload-card:hover .upload-zone-inner span,.ai-studio-wrapper .file-card.upload-card:hover .upload-zone-inner svg{color:var(--primary)}.ai-studio-wrapper .file-name{font-size:12px;font-weight:500;margin-bottom:4px}.ai-studio-wrapper .file-info{font-size:11px;color:var(--text-muted)}.ai-studio-wrapper .preview-area{flex:1;display:flex;flex-direction:column;padding:20px;overflow:hidden}.ai-studio-wrapper .preview-container{flex:1;display:flex;align-items:center;justify-content:center;background:var(--bg-card);border-radius:16px;overflow:hidden;position:relative;border:1px solid var(--border);box-shadow:0 2px 8px rgba(0,0,0,.06)}.ai-studio-wrapper .preview-image{max-width:100%;max-height:100%;object-fit:contain}.ai-studio-wrapper .preview-empty{text-align:center;color:var(--text-muted)}.ai-studio-wrapper .preview-empty svg{width:64px;height:64px;margin-bottom:16px;opacity:.3}.ai-studio-wrapper .processing-overlay{position:fixed;inset:0;background:rgba(255,255,255,.95);display:none;align-items:center;justify-content:center;flex-direction:column;gap:20px;z-index:1000}.ai-studio-wrapper .processing-overlay.active{display:flex}.ai-studio-wrapper .spinner{width:50px;height:50px;border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin 1s linear infinite}.ai-studio-wrapper .processing-overlay p{color:var(--text-secondary)}@keyframes spin{to{transform:rotate(1turn)}}.ai-studio-wrapper ::-webkit-scrollbar{width:6px;height:6px}.ai-studio-wrapper ::-webkit-scrollbar-track{background:var(--bg-panel)}.ai-studio-wrapper ::-webkit-scrollbar-thumb{background:var(--border-dark);border-radius:3px}.ai-studio-wrapper ::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}.ai-studio-wrapper .hamburger-btn{margin-bottom:20px;background:none;border:none;color:var(--text-secondary);cursor:pointer;padding:8px;border-radius:8px;transition:all .2s}.ai-studio-wrapper .hamburger-btn:hover{background:var(--bg-hover);color:var(--text-primary)}.ai-studio-wrapper .menu-overlay{position:fixed;top:0;right:0;bottom:0;width:300px;background:var(--bg-card);z-index:1000;box-shadow:-2px 0 10px rgba(0,0,0,.1);transform:translateX(100%);transition:transform .3s ease;padding:20px;display:flex;flex-direction:column}.ai-studio-wrapper .menu-overlay.open{transform:translateX(0)}.ai-studio-wrapper .menu-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;font-weight:700;font-size:18px}.ai-studio-wrapper .menu-links{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:15px}.ai-studio-wrapper .menu-links a{text-decoration:none;color:var(--text-primary);font-size:16px;display:flex;align-items:center;gap:12px;padding:10px;border-radius:8px;transition:background .2s}.ai-studio-wrapper .menu-links a:hover{background:var(--bg-hover)}@media (max-width:768px){.ai-studio-wrapper .app-container{flex-direction:column}.ai-studio-wrapper .tool-nav{order:10;width:100%;height:60px;flex-direction:row;border-left:none;border-top:1px solid var(--border);padding:0 10px;justify-content:space-around;align-items:center;z-index:100;background:var(--bg-main)}.ai-studio-wrapper .hamburger-btn,.ai-studio-wrapper .nav-divider,.ai-studio-wrapper .nav-logo{display:none}.ai-studio-wrapper .nav-item{height:100%;width:auto;flex:1;gap:2px;border-radius:0}.ai-studio-wrapper .nav-item svg{width:20px;height:20px}.ai-studio-wrapper .nav-item span{font-size:9px}.ai-studio-wrapper .content-layout{flex-direction:column;overflow-y:auto}.ai-studio-wrapper .main-content{overflow:hidden}.ai-studio-wrapper .settings-panel{width:100%;height:auto;max-height:none;border-right:none;border-bottom:1px solid var(--border);flex-shrink:0}.ai-studio-wrapper .panel-content{padding:15px;max-height:300px;overflow-y:auto}.ai-studio-wrapper .center-area{height:auto;min-height:50vh;overflow:visible;padding-bottom:60px}.ai-studio-wrapper .preview-area{height:50vh}.ai-studio-wrapper .gallery-grid{grid-template-columns:repeat(auto-fill,minmax(70px,1fr))}.ai-studio-wrapper .output-gallery.expanded .gallery-content{max-height:150px}.ai-studio-wrapper .files-grid{gap:8px}.ai-studio-wrapper .file-card{width:100px;padding:8px}.ai-studio-wrapper .file-thumb{margin-bottom:6px}.ai-studio-wrapper .option-grid{gap:6px}.ai-studio-wrapper .option-btn{padding:8px;font-size:11px}.ai-studio-wrapper .style-card{flex-direction:column;text-align:center}.ai-studio-wrapper .style-info{text-align:center}.ai-studio-wrapper .files-section{padding:12px 15px}}