.preview-panel{box-sizing:border-box;background:0 0;flex-direction:column;gap:1rem;width:100%;height:100%;min-height:100%;padding:1rem;display:flex;overflow:hidden}.preview-controls{border-bottom:1px solid #e9ecef;flex-wrap:wrap;flex-shrink:0;justify-content:space-between;align-items:center;gap:.75rem;padding-bottom:.9rem;display:flex}.control-group{flex-wrap:wrap;align-items:center;gap:.85rem;display:flex}.toggle-label{color:#333;cursor:pointer;align-items:center;gap:.45rem;font-size:.9rem;font-weight:500;display:inline-flex}.toggle-label input[type=checkbox]{cursor:pointer;accent-color:#667eea}.opacity-control-toolbar{align-items:center;gap:.45rem;min-width:0;display:inline-flex}.opacity-label,.opacity-value,.zoom-indicator,.fix-hint{color:#666;font-size:.85rem;font-weight:500}.fix-hint{color:#667eea}.bump-preview-toolbar{flex-wrap:wrap;align-items:flex-start}.bump-preview-toolbar .bump-download-section{min-width:fit-content}.opacity-slider{width:112px}.fix-mode-button,.undo-button,.redo-button,.reset-button{color:#333;cursor:pointer;background:#f8f9fa;border:1px solid #dee2e6;padding:.45rem .8rem;font-size:.85rem;transition:all .2s}.fix-mode-button:hover,.undo-button:hover:not(:disabled),.redo-button:hover:not(:disabled),.reset-button:hover:not(:disabled){background:#eef2ff;border-color:#667eea}.fix-mode-button.active{background:#667eea;border-color:#667eea;color:#fff!important}.undo-button:disabled,.redo-button:disabled{opacity:.45;cursor:not-allowed}.download-wrapper{display:inline-block;position:relative}.download-button{cursor:pointer;background:#667eea;border:none;padding:.5rem 1rem;font-size:.9rem;transition:all .2s;color:#fff!important}.download-button:hover{background:#5568d3}.download-menu{z-index:20;background:#fff;border:1px solid #dee2e6;min-width:150px;position:absolute;top:calc(100% + .35rem);right:0;box-shadow:0 12px 28px #0f172a1f}.download-menu-item{color:#333;text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #eef2f7;width:100%;padding:.7rem .95rem;font-size:.88rem;display:block}.download-menu-item:last-child{border-bottom:0}.download-menu-item:hover{background:#f8fafc}.preview-canvas-container{height:var(--tool-preview-canvas-height);min-height:var(--tool-preview-canvas-height);max-height:var(--tool-preview-canvas-height);width:100%;padding:var(--tool-preview-surface-padding);box-sizing:border-box;background-color:#f8f9fa;background-image:linear-gradient(45deg,#eee 25%,#0000 25%),linear-gradient(-45deg,#eee 25%,#0000 25%),linear-gradient(45deg,#0000 75%,#eee 75%),linear-gradient(-45deg,#0000 75%,#eee 75%);background-position:0 0,0 10px,10px -10px,-10px 0;background-repeat:repeat;background-size:20px 20px;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;flex:none;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.preview-canvas{width:auto;max-width:100%;height:auto;max-height:100%;image-rendering:pixelated;image-rendering:-moz-crisp-edges;image-rendering:crisp-edges;transform-origin:50%;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-user-drag:none;background:#fff;border:1px solid #ddd;transition:none;display:block;box-shadow:0 2px 8px #0000001a}.canvas-status-bar{background:#fffffff2;border-top:1px solid #dee2e6;justify-content:space-between;align-items:center;gap:1rem;padding:8px 12px;display:flex;position:absolute;bottom:0;left:0;right:0}.status-info,.status-shortcuts{color:#5f6b7a;flex-wrap:wrap;gap:.85rem 1.2rem;font-size:.78rem;display:flex}.status-info span{font-weight:600}.status-shortcuts span{font-weight:400}@media (max-width:768px){.preview-panel{padding:.8rem}.preview-controls{gap:.55rem;margin-bottom:.7rem;padding-bottom:.7rem}.control-group{gap:.55rem}.toggle-label,.opacity-label,.opacity-value,.zoom-indicator,.fix-hint,.download-button,.fix-mode-button,.undo-button,.redo-button,.reset-button{font-size:.8rem}.canvas-status-bar{flex-direction:column;align-items:flex-start}}
.bump-maker{box-sizing:border-box;background:0 0;flex-direction:column;width:100%;margin:0;padding:0 0 4rem;display:flex;overflow-x:hidden}.error-banner{color:#fff;background:#ff4757;border-radius:6px;justify-content:space-between;align-items:center;margin-bottom:20px;padding:12px 20px;display:flex;box-shadow:0 2px 8px #ff47574d}.error-close{color:#fff;cursor:pointer;background:0 0;border:none;margin-left:15px;padding:0;font-size:1.2rem}.error-close:hover{opacity:.8}.loading-banner{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;background:#ffffff1a;border-radius:8px;align-items:center;gap:15px;margin-bottom:20px;padding:15px 20px;display:flex}@media (max-width:1024px){.bump-maker{padding:0 0 3rem}}.control-options{color:#333;flex-direction:column;gap:8px;display:flex}.checkbox-label{cursor:pointer;-webkit-user-select:none;user-select:none;color:#333;align-items:center;gap:4px;font-size:.75rem;display:flex}.checkbox-label input[type=checkbox]{accent-color:#667eea;width:12px;height:12px}.update-button{background:var(--text);cursor:pointer;border:none;padding:4px 8px;font-size:.75rem;font-weight:500;transition:all .2s;color:#fff!important}.update-button:hover:not(:disabled){background:var(--accent-deep)}.update-button:disabled{cursor:not-allowed;background:#ccc;transform:none}.processing-status{border:1px solid var(--line);background:#f8fafceb;align-items:center;gap:12px;padding:15px;display:flex}.processing-info{flex:1}.processing-message{color:var(--text);margin-bottom:8px;font-size:.9rem;font-weight:500}.processing-progress{background:#0f172a1f;border-radius:2px;width:100%;height:4px;overflow:hidden}.progress-bar{background:var(--accent);height:100%;transition:width .3s}@media (max-width:768px){.bump-maker{padding:10px}}
