*{box-sizing:border-box}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;margin:0}.navigation{background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 1px 3px #0000001a}.nav-links{display:flex;gap:.5rem;margin:0 auto;max-width:1400px;padding:0 2rem}.nav-link{border-bottom:3px solid #0000;color:#6b7280;font-weight:500;padding:1rem 1.5rem;position:relative;text-decoration:none;transition:all .2s ease}.nav-link.active,.nav-link:hover{background-color:#f8faff;color:#667eea}.nav-link.active{border-bottom-color:#667eea}.app{display:flex;flex-direction:column;min-height:100vh}.app-header{align-items:flex-start;background:linear-gradient(135deg,#667eea,#764ba2);box-shadow:0 2px 4px #0000001a;color:#fff;display:flex;flex-wrap:wrap;gap:1rem 2rem;justify-content:space-between;padding:1rem 2rem}.app-header h1{font-size:1.8rem;font-weight:600;margin:0}.header-left{flex-direction:column;min-width:260px}.app-nav,.header-left{display:flex;gap:.5rem}.app-nav{flex-wrap:wrap;max-width:60vw}.app-nav .btn-nav{background:#ffffff26;border:1px solid #ffffff59;color:#fff;font-size:.8rem;line-height:1.1;padding:.5rem .9rem}.app-nav .btn-nav:hover{background:#ffffff47}.app-nav .btn-nav.active,.app-nav .btn-nav[aria-current=page]{background:#fff;border-color:#fff;color:#4f46e5;cursor:default}.connection-status{align-items:center;display:flex;flex-wrap:wrap;font-size:.9rem;gap:.5rem;margin-left:auto}.status-connected{color:#10b981;font-weight:500}.status-disconnected{color:#ef4444;font-weight:500}.app-main{flex:1 1;padding:2rem;width:100%}.app-layout,.app-main{margin:0 auto;max-width:2000px}.app-layout{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:1fr 1fr 1fr;min-height:calc(100vh - 120px)}.left-panel{gap:2rem}.left-panel,.middle-panel{display:flex;flex-direction:column;min-width:0}.middle-panel{height:-webkit-fit-content;height:fit-content;max-height:calc(100vh - 4rem);position:-webkit-sticky;position:sticky;top:2rem}.right-panel{display:flex;flex-direction:column;min-width:0}.file-upload{align-items:center;background:#fff;border:2px dashed #d1d5db;border-radius:8px;cursor:pointer;display:flex;justify-content:center;min-height:200px;padding:3rem;text-align:center;transition:all .3s ease}.file-upload:hover:not(.disabled){background-color:#f8faff;border-color:#667eea}.file-upload.drag-over{background-color:#f0f4ff;border-color:#667eea}.file-upload.disabled{cursor:not-allowed;opacity:.6}.file-upload input{display:none}.upload-content{align-items:center;display:flex;flex-direction:column;gap:1rem}.upload-icon{font-size:3rem}.upload-text{color:#374151;font-size:1.1rem}.upload-subtext{color:#6b7280;font-size:.9rem}.file-selected{background:#fff;border:2px solid #e5e7eb;border-radius:8px;display:flex;flex-direction:column;gap:1rem;min-height:200px;padding:1.5rem;transition:all .3s ease}.file-selected.drag-over{background-color:#f0f4ff;border-color:#667eea;transform:scale(1.02)}.file-selected-content{align-items:center;display:flex;flex:1 1;gap:1rem;justify-content:space-between}.file-info-section{display:flex;flex:1 1;flex-direction:column;gap:.5rem}.file-selected-hint{background:#f9fafb;border:1px dashed #d1d5db;border-radius:6px;color:#6b7280;font-size:.85rem;padding:.75rem;text-align:center}.file-info{color:#059669;display:block;font-weight:500}.uploading-state{background:#fff;border:1px solid #e5e7eb;border-radius:8px;justify-content:center;min-height:200px;padding:3rem;text-align:center}.upload-progress,.uploading-state{align-items:center;display:flex;flex-direction:column;gap:1rem}.upload-progress span{color:#374151;font-weight:500}.upload-details{color:#6b7280;font-size:.9rem}.submit-section{border-top:1px solid #e5e7eb;display:flex;justify-content:center;margin-top:1.5rem;padding-top:1.5rem}.submit-section .btn{font-size:1rem;font-weight:600;min-width:180px;padding:.875rem 2rem}.config-section,.upload-section{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;padding:2rem}.upload-section h2{color:#1f2937;font-size:1.3rem;margin:0 0 1.5rem}.config-header{align-items:center;border-bottom:1px solid #e5e7eb;cursor:pointer;display:flex;gap:.75rem;margin-bottom:1.5rem;padding-bottom:.5rem;-webkit-user-select:none;user-select:none}.config-header:hover{background-color:#667eea0d;border-bottom:1px solid #e5e7eb;border-radius:6px;margin:-.5rem -1rem 1.5rem;padding:.5rem 1rem}.collapse-toggle{align-items:center;background:none;border:none;border-radius:4px;color:#667eea;cursor:pointer;display:flex;font-size:1rem;justify-content:center;min-width:2rem;padding:.5rem;transition:all .2s ease}.collapse-toggle:hover{background-color:#667eea1a}.collapse-toggle span{display:block;transition:transform .2s ease}.collapse-toggle.collapsed span{transform:rotate(-90deg)}.config-section h2{color:#1f2937;font-size:1.3rem;margin:0}.config-header-content{display:flex;flex:1 1;flex-direction:column;gap:.25rem}.config-scope-indicator{color:#6b7280;font-size:.8rem;font-weight:400}.section-header-with-context{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;justify-content:space-between;margin-bottom:.5rem}.section-header-with-context h2{margin:0}.context-indicator{background:#f3f4f6;border-radius:6px;color:#6b7280;font-size:.85rem;padding:.35rem .75rem}.context-indicator strong{color:#4f46e5}.no-document-message{background:#f9fafb;border:1px dashed #d1d5db;border-radius:8px;padding:2rem;text-align:center}.no-document-message p{color:#6b7280;margin:0}.request-form{display:flex;flex-direction:column;gap:2rem}.form-section{border:1px solid #e5e7eb;border-radius:8px;padding:1.5rem}.form-section h3{border-bottom:1px solid #e5e7eb;color:#374151;font-size:1.1rem;margin:0 0 1rem;padding-bottom:.5rem}.form-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr}.form-group{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.form-group label{color:#374151;font-size:.9rem;font-weight:500}.form-group input,.form-group select,.form-group textarea{border:1px solid #d1d5db;border-radius:6px;font-size:.9rem;padding:.75rem;transition:border-color .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.form-help-text{color:#6b7280;font-size:.85rem;line-height:1.4;margin-top:.5rem}.form-help-text small{font-size:.8rem}.toggle-label{align-items:center;color:#374151;cursor:pointer;display:flex;font-size:1rem;font-weight:500;justify-content:space-between}.toggle-switch{display:inline-block;height:24px;position:relative;width:50px}.toggle-input{height:0;opacity:0;width:0}.toggle-slider{background-color:#d1d5db;border-radius:24px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.toggle-slider:before{background-color:#fff;border-radius:50%;bottom:3px;box-shadow:0 1px 3px #0000004d;content:"";height:18px;left:3px;position:absolute;transition:.4s;width:18px}.toggle-input:checked+.toggle-slider{background:linear-gradient(135deg,#667eea,#764ba2)}.toggle-input:focus+.toggle-slider{box-shadow:0 0 0 3px #667eea4d}.toggle-input:checked+.toggle-slider:before{transform:translateX(26px)}.toggle-input:disabled+.toggle-slider{cursor:not-allowed;opacity:.6}.toggle-input:disabled+.toggle-slider:before{cursor:not-allowed}.btn{border:none;border-radius:6px;cursor:pointer;display:inline-block;font-size:.9rem;font-weight:500;padding:.75rem 1.5rem;text-align:center;text-decoration:none;transition:all .2s}.btn:disabled{cursor:not-allowed;opacity:.6}.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.btn-primary:hover:not(:disabled){box-shadow:0 4px 12px #667eea66;transform:translateY(-1px)}.btn-secondary{background:#f3f4f6;border:1px solid #d1d5db;color:#374151}.btn-secondary:hover:not(:disabled){background:#e5e7eb}.btn-success{background:#10b981;color:#fff}.btn-success:hover:not(:disabled){background:#059669}.btn-link{background:#0000;border:none;color:#667eea;cursor:pointer;font-size:.85rem;padding:.5rem 0;text-decoration:underline}.btn-link:hover:not(:disabled){color:#4f46e5;text-decoration:none}.error-message,.loading-message,.placeholder-message,.status-message{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;height:-webkit-fit-content;height:fit-content;max-width:100%;overflow-wrap:anywhere;padding:3rem;text-align:center;word-break:break-word}.loading-spinner{animation:spin 1s linear infinite;border:4px solid #f3f4f6;border-radius:50%;border-top-color:#667eea;height:40px;margin:1rem auto;width:40px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.error-message{color:#dc2626}.error-message p{overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-word}.results-container{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000001a;height:-webkit-fit-content;height:fit-content;overflow:hidden}.results{padding:2rem}.results-header{align-items:flex-start;border-bottom:2px solid #e5e7eb;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin-bottom:2rem;padding-bottom:1rem}.results-header h3{margin:0}.results-header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}.fraud-status{border-radius:8px;font-size:1rem;font-weight:600;padding:.75rem 1.5rem}.fraud-status.fraud-detected{background:#fee2e2;border:2px solid #fca5a5;color:#991b1b}.fraud-status.no-fraud{background:#d1fae5;border:2px solid #6ee7b7;color:#065f46}.results-section{margin-bottom:2rem}.results-section h4{color:#374151;font-size:1.1rem;font-weight:600;margin:0}.section-content{padding-top:.5rem}.analysis-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.analysis-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:1.5rem}.analysis-card.full-width{grid-column:1/-1}.analysis-label{color:#6b7280;font-size:.9rem;font-weight:600;letter-spacing:.05em;margin-bottom:.75rem;text-transform:uppercase}.analysis-value{font-size:2rem;font-weight:700;line-height:1.2}.analysis-explanation{color:#374151;font-size:.95rem;line-height:1.6}.indicator-list,.recommendation-list{display:flex;flex-direction:column;gap:.75rem;list-style:none;margin:0;padding:0}.indicator-item{background:#fef2f2;border-left:3px solid #dc2626;color:#991b1b}.indicator-item,.recommendation-item{border-radius:4px;font-size:.9rem;padding:.75rem}.recommendation-item{background:#f0f9ff;border-left:3px solid #3b82f6;color:#1e40af}.fraud-items-list{display:flex;flex-direction:column;gap:1rem}.fraud-item-card{background:#fef2f2;border:1px solid #fca5a5;border-left:4px solid #dc2626;border-radius:8px;padding:1rem}.fraud-item-header{margin-bottom:.75rem}.fraud-sign-badge{background:#dc2626;border-radius:6px;color:#fff;display:inline-block;font-size:.9rem;font-weight:600;padding:.5rem 1rem}.fraud-item-details,.fraud-item-field{color:#374151;font-size:.9rem;line-height:1.5;margin-top:.75rem}.fraud-item-details strong,.fraud-item-field strong{color:#991b1b;font-weight:600}.no-fraud-detected{background:#f0fdf4;border:1px solid #86efac;border-left:4px solid #16a34a;border-radius:8px;padding:1.5rem;text-align:center}.no-fraud-detected p{color:#166534;font-size:1rem;font-weight:500;margin:0}.token-usage{background:#f9fafb;border-radius:8px;display:flex;flex-direction:column;gap:.75rem;padding:1rem}.token-item{display:flex;justify-content:space-between;padding:.5rem 0}.token-label{color:#6b7280;font-weight:500}.token-value{color:#374151;font-weight:600}.response-group{display:flex;flex-direction:column;gap:1rem}.response-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:1rem}.response-header{color:#6b7280;display:flex;flex-direction:column;font-size:.9rem;gap:.5rem;margin-bottom:.5rem}.response-details{margin-top:.5rem}.response-details summary{color:#667eea;cursor:pointer;font-weight:500}.raw-text{background:#1f2937;border-radius:6px;color:#f9fafb;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.8rem;margin-top:.5rem;overflow-x:auto;padding:1rem;white-space:pre-wrap}.tool-calls-list{display:flex;flex-direction:column;gap:.75rem;margin-top:.5rem}.tool-call-card{background:#f9fafb;border:1px solid #e5e7eb;border-left:3px solid #667eea;border-radius:6px;padding:1rem}.tool-call-header{align-items:center;display:flex;gap:.75rem;margin-bottom:.5rem}.tool-call-type{background:#667eea;border-radius:4px;color:#fff;display:inline-block;font-size:.8rem;font-weight:600;padding:.25rem .75rem;text-transform:uppercase}.tool-call-name{color:#374151;font-size:.9rem;font-weight:600}.tool-call-id{color:#6b7280;font-size:.85rem;margin-bottom:.5rem}.tool-call-id strong{color:#374151}.tool-call-section{margin-top:.75rem}.tool-call-section-title{color:#4338ca;font-size:.85rem;font-weight:600;letter-spacing:.05em;margin-bottom:.5rem;text-transform:uppercase}.tool-call-args{background:#fff;border:1px solid #e5e7eb;border-radius:4px;display:flex;flex-direction:column;gap:.5rem;padding:.75rem}.tool-call-arg-item{grid-gap:.75rem;align-items:start;display:grid;font-size:.85rem;gap:.75rem;grid-template-columns:auto 1fr}.arg-key{color:#374151;font-weight:600;white-space:nowrap}.arg-value{background:#f9fafb;border-radius:3px;color:#1f2937;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.8rem;padding:.25rem .5rem;word-break:break-word}.tool-call-section .raw-text{background:#1f2937;color:#f9fafb;font-size:.75rem;max-height:200px;overflow-y:auto}.tool-call-section details summary{color:#667eea;cursor:pointer;font-size:.85rem;font-weight:500;margin-bottom:.5rem}.messages-list{display:flex;flex-direction:column;gap:1rem;margin-top:.5rem}.message-card{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:1rem}.message-header{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:.75rem}.message-tag{border-radius:4px;display:inline-block;font-size:.75rem;font-weight:600;padding:.25rem .75rem}.tool-result-tag{background:#fef3c7;color:#92400e}.tool-result-metadata{background:#f0fdf4;border:1px solid #bbf7d0;border-left:3px solid #16a34a;border-radius:6px;margin-bottom:.75rem;padding:1rem}.metadata-label{color:#166534;font-size:.85rem;font-weight:600;letter-spacing:.05em;margin-bottom:.5rem;text-transform:uppercase}.metadata-tokens{display:flex;flex-wrap:wrap;gap:1.5rem;margin-bottom:.5rem}.metadata-item{color:#15803d;font-size:.85rem;font-weight:500}.document-list{background:#fff;border:1px solid #e5e7eb;border-radius:8px;margin-top:1.5rem;padding:1rem}.document-list h3{color:#374151;font-size:1rem;font-weight:600;margin:0 0 1rem}.document-items{display:flex;flex-direction:column;gap:.5rem;max-height:300px;overflow-y:auto}.document-item{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:6px;cursor:pointer;display:flex;justify-content:space-between;padding:.75rem;transition:all .2s ease}.document-item:hover{background:#f8faff;border-color:#667eea}.document-item.active{background:#f0f4ff;border-color:#667eea}.document-item.processing{cursor:wait;opacity:.7}.document-item-content{align-items:center;display:flex;flex:1 1;gap:.75rem;min-width:0}.document-icon{flex-shrink:0;font-size:1.5rem}.document-info{flex:1 1;min-width:0}.document-name{color:#374151;font-size:.9rem;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-meta{color:#6b7280;font-size:.75rem;margin-top:.25rem}.document-context-info{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.context-badge{align-items:center;background:#f3f4f6;border-radius:4px;color:#4b5563;display:inline-flex;font-size:.7rem;gap:.25rem;padding:.15rem .5rem}.document-item.active .context-badge{background:#e0e7ff;color:#4f46e5}.document-item .btn-icon{flex-shrink:0;font-size:1rem;line-height:1;min-width:auto;opacity:.6;padding:.25rem .5rem}.document-item .btn-icon:hover{background:#fee2e2;color:#dc2626;opacity:1}.document-item .btn-icon:disabled{cursor:not-allowed;opacity:.3}.active-document-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}.active-document-actions .btn{flex:1 1;min-width:120px}.section-description{color:#6b7280;font-size:.9rem;line-height:1.5;margin-bottom:1.5rem}.subsection{border-top:1px solid #e5e7eb;margin-top:2rem;padding-top:1.5rem}.subsection h3{color:#374151;font-size:1.1rem;font-weight:600;margin:0 0 1rem}.reference-images-list{margin-top:1rem}.reference-images-list h4{color:#374151;font-size:.95rem;font-weight:600;margin:0 0 1rem}.reference-items{display:flex;flex-direction:column;gap:.5rem;max-height:300px;overflow-y:auto}.reference-item{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:6px;display:flex;justify-content:space-between;padding:.75rem;transition:all .2s ease}.reference-item:hover{background:#f8faff;border-color:#667eea}.reference-item-content{align-items:center;display:flex;flex:1 1;gap:.75rem;min-width:0}.reference-icon{flex-shrink:0;font-size:1.5rem}.reference-info{flex:1 1;min-width:0}.reference-name{color:#374151;font-size:.9rem;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reference-meta{color:#6b7280;font-size:.75rem;margin-top:.25rem}.reference-item-actions{align-items:center;display:flex;gap:.5rem}.reference-item .btn-icon{flex-shrink:0;font-size:1rem;line-height:1;min-width:auto;opacity:.6;padding:.25rem .5rem}.reference-item .btn-icon:hover:not(:disabled){background:#fee2e2;color:#dc2626;opacity:1}.reference-item .btn-icon-secondary:hover:not(:disabled){background:#e0e7ff;color:#4f46e5}.detection-result-card{border:2px solid;border-radius:8px;padding:1.5rem}.detection-result-card.abnormal{background:#fef2f2;border-color:#fca5a5}.detection-result-card.normal{background:#f0fdf4;border-color:#86efac}.detection-status{align-items:flex-start;display:flex;gap:1rem;margin-bottom:1rem}.status-icon{flex-shrink:0;font-size:3rem}.status-text h4{color:#1f2937;font-size:1.3rem;margin:0 0 .5rem}.status-text p{color:#374151;line-height:1.5;margin:0}.detection-details{border-top:1px solid;margin-top:1rem;padding-top:1rem}.detection-result-card.abnormal .detection-details{border-color:#fca5a5}.detection-result-card.normal .detection-details{border-color:#86efac}.detection-details h5{color:#374151;font-size:1rem;font-weight:600;margin:0 0 .75rem}.details-text{color:#1f2937;line-height:1.6;white-space:pre-wrap;word-break:break-word}.Toastify__toast-container{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.Toastify__toast{border-radius:8px;box-shadow:0 4px 12px #00000026;font-size:14px}.Toastify__toast--success{background:linear-gradient(135deg,#10b981,#059669)}.Toastify__toast--error{background:linear-gradient(135deg,#ef4444,#dc2626)}.Toastify__toast--warning{background:linear-gradient(135deg,#f59e0b,#d97706)}.Toastify__toast--info{background:linear-gradient(135deg,#3b82f6,#2563eb)}@media (max-width:1200px){.app-layout{gap:1rem;grid-template-columns:1fr}.middle-panel{max-height:none;position:static}.preview-image-full{max-height:500px}.analysis-grid{grid-template-columns:1fr}}@media (max-width:768px){.app-header{flex-direction:column;gap:1rem}.app-nav{max-width:100%}.app-main{padding:1rem}.form-row{grid-template-columns:1fr}.file-selected,.file-selected-content{flex-direction:column;gap:1rem;text-align:center}.file-info-section{align-items:center}.results-header{flex-direction:column;gap:1rem}.response-header{flex-direction:column;gap:.5rem}.Toastify__toast-container{padding:0 10px;width:100%}.Toastify__toast{border-radius:6px;margin-bottom:10px}.document-list{padding:.75rem}.document-items{max-height:200px}.document-item{padding:.5rem}.document-icon{font-size:1.25rem}.active-document-actions{flex-direction:column}.active-document-actions .btn{width:100%}}.merchant-sample-selector{display:flex;flex-direction:column;gap:1.5rem}.merchant-input-type-selection{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;display:flex;flex-direction:column;gap:.75rem;padding:1rem}.radio-label{align-items:center;color:#374151;cursor:pointer;display:flex;font-size:.95rem;gap:.5rem;transition:color .2s ease}.radio-label:hover{color:#667eea}.radio-label input[type=radio]{accent-color:#667eea;cursor:pointer;height:1.125rem;width:1.125rem}.radio-label input[type=radio]:disabled{cursor:not-allowed;opacity:.5}.radio-label span{font-weight:500}.mode-toggle{background:#f3f4f6;border-radius:8px;display:flex;gap:.5rem;padding:.25rem}.mode-button{background:#0000;border:none;border-radius:6px;color:#6b7280;cursor:pointer;flex:1 1;font-size:.95rem;font-weight:500;padding:.75rem 1rem;transition:all .2s ease}.mode-button:hover:not(:disabled){background:#667eea1a;color:#667eea}.mode-button.active{background:#fff;box-shadow:0 1px 3px #0000001a;color:#667eea}.mode-button:disabled{cursor:not-allowed;opacity:.5}.predefined-mode,.preview-section,.upload-mode{display:flex;flex-direction:column;gap:1rem}.preview-samples{margin-top:1rem}.preview-samples h4{color:#374151;font-size:1rem;margin:0 0 1rem}.preview-grid{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.preview-item{aspect-ratio:1;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;overflow:hidden;position:relative;transition:all .2s ease}.preview-item:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea33;transform:translateY(-2px)}.preview-item:focus{outline:2px solid #667eea;outline-offset:2px}.preview-item img{height:100%;object-fit:cover;width:100%}.preview-overlay{align-items:center;background:#0009;color:#fff;display:flex;font-weight:500;inset:0;justify-content:center;opacity:0;position:absolute;transition:opacity .2s ease}.preview-item:hover .preview-overlay{opacity:1}@media (max-width:768px){.mode-toggle{flex-direction:column}.preview-grid{gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}}.image-preview-panel{background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;display:flex;flex-direction:column;height:100%;overflow:hidden}.image-preview-header{align-items:center;background:#f9fafb;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:1rem 1.5rem}.image-preview-header h3{color:#374151;font-size:1.1rem;font-weight:600;margin:0}.image-preview-content{align-items:center;background:#f9fafb;display:flex;flex:1 1;justify-content:center;overflow:auto;padding:1.5rem}.preview-image-full{border-radius:4px;box-shadow:0 2px 8px #0000001a;cursor:pointer;height:auto;max-height:calc(100vh - 12rem);max-width:100%;object-fit:contain;transition:transform .2s ease;width:auto}.preview-image-full:hover{transform:scale(1.02)}.image-preview-footer{align-items:center;background:#fff;border-top:1px solid #e5e7eb;color:#6b7280;display:flex;font-size:.85rem;justify-content:space-between;padding:.75rem 1.5rem}.image-filename{color:#374151;font-weight:500;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-filesize{color:#9ca3af}.btn-sm{font-size:.85rem;padding:.4rem .8rem}:root{--toastify-color-light:#fff;--toastify-color-dark:#121212;--toastify-color-info:#3498db;--toastify-color-success:#07bc0c;--toastify-color-warning:#f1c40f;--toastify-color-error:#e74d3c;--toastify-color-transparent:#ffffffb3;--toastify-icon-color-info:var(--toastify-color-info);--toastify-icon-color-success:var(--toastify-color-success);--toastify-icon-color-warning:var(--toastify-color-warning);--toastify-icon-color-error:var(--toastify-color-error);--toastify-container-width:fit-content;--toastify-toast-width:320px;--toastify-toast-offset:16px;--toastify-toast-top:max(var(--toastify-toast-offset),env(safe-area-inset-top));--toastify-toast-right:max(var(--toastify-toast-offset),env(safe-area-inset-right));--toastify-toast-left:max(var(--toastify-toast-offset),env(safe-area-inset-left));--toastify-toast-bottom:max(var(--toastify-toast-offset),env(safe-area-inset-bottom));--toastify-toast-background:#fff;--toastify-toast-padding:14px;--toastify-toast-min-height:64px;--toastify-toast-max-height:800px;--toastify-toast-bd-radius:6px;--toastify-toast-shadow:0px 4px 12px #0000001a;--toastify-font-family:sans-serif;--toastify-z-index:9999;--toastify-text-color-light:#757575;--toastify-text-color-dark:#fff;--toastify-text-color-info:#fff;--toastify-text-color-success:#fff;--toastify-text-color-warning:#fff;--toastify-text-color-error:#fff;--toastify-spinner-color:#616161;--toastify-spinner-color-empty-area:#e0e0e0;--toastify-color-progress-light:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);--toastify-color-progress-dark:#bb86fc;--toastify-color-progress-info:var(--toastify-color-info);--toastify-color-progress-success:var(--toastify-color-success);--toastify-color-progress-warning:var(--toastify-color-warning);--toastify-color-progress-error:var(--toastify-color-error);--toastify-color-progress-bgo:0.2}.Toastify__toast-container{box-sizing:border-box;color:#fff;display:flex;flex-direction:column;position:fixed;-webkit-transform:translateZ(9999);-webkit-transform:translateZ(var(--toastify-z-index));width:-webkit-fit-content;width:fit-content;width:var(--toastify-container-width);z-index:9999;z-index:var(--toastify-z-index)}.Toastify__toast-container--top-left{left:max(16px,env(safe-area-inset-left));left:var(--toastify-toast-left);top:max(16px,env(safe-area-inset-top));top:var(--toastify-toast-top)}.Toastify__toast-container--top-center{align-items:center;left:50%;top:max(16px,env(safe-area-inset-top));top:var(--toastify-toast-top);transform:translateX(-50%)}.Toastify__toast-container--top-right{align-items:end;right:max(16px,env(safe-area-inset-right));right:var(--toastify-toast-right);top:max(16px,env(safe-area-inset-top));top:var(--toastify-toast-top)}.Toastify__toast-container--bottom-left{bottom:max(16px,env(safe-area-inset-bottom));bottom:var(--toastify-toast-bottom);left:max(16px,env(safe-area-inset-left));left:var(--toastify-toast-left)}.Toastify__toast-container--bottom-center{align-items:center;bottom:max(16px,env(safe-area-inset-bottom));bottom:var(--toastify-toast-bottom);left:50%;transform:translateX(-50%)}.Toastify__toast-container--bottom-right{align-items:end;bottom:max(16px,env(safe-area-inset-bottom));bottom:var(--toastify-toast-bottom);right:max(16px,env(safe-area-inset-right));right:var(--toastify-toast-right)}.Toastify__toast{--y:0;align-items:center;border-radius:6px;border-radius:var(--toastify-toast-bd-radius);box-shadow:0 4px 12px #0000001a;box-shadow:var(--toastify-toast-shadow);box-sizing:border-box;display:flex;flex:1 1 auto;font-family:sans-serif;font-family:var(--toastify-font-family);margin-bottom:1rem;max-height:800px;max-height:var(--toastify-toast-max-height);min-height:64px;min-height:var(--toastify-toast-min-height);padding:14px;padding:var(--toastify-toast-padding);position:relative;touch-action:none;width:320px;width:var(--toastify-toast-width);word-break:break-word;z-index:0}@media only screen and (max-width:480px){.Toastify__toast-container{left:env(safe-area-inset-left);margin:0;width:100vw}.Toastify__toast-container--top-center,.Toastify__toast-container--top-left,.Toastify__toast-container--top-right{top:env(safe-area-inset-top);transform:translateX(0)}.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-right{bottom:env(safe-area-inset-bottom);transform:translateX(0)}.Toastify__toast-container--rtl{left:auto;right:env(safe-area-inset-right)}.Toastify__toast{--toastify-toast-width:100%;border-radius:0;margin-bottom:0}}.Toastify__toast-container[data-stacked=true]{width:320px;width:var(--toastify-toast-width)}.Toastify__toast--stacked{position:absolute;transform:translate3d(0,var(--y),0) scale(var(--s));transition:transform .3s;width:100%}.Toastify__toast--stacked[data-collapsed] .Toastify__close-button,.Toastify__toast--stacked[data-collapsed] .Toastify__toast-body{transition:opacity .1s}.Toastify__toast--stacked[data-collapsed=false]{overflow:visible}.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0}.Toastify__toast--stacked:after{bottom:100%;content:"";height:calc(var(--g)*1px);left:0;position:absolute;right:0}.Toastify__toast--stacked[data-pos=top]{top:0}.Toastify__toast--stacked[data-pos=bot]{bottom:0}.Toastify__toast--stacked[data-pos=bot].Toastify__toast--stacked:before{transform-origin:top}.Toastify__toast--stacked[data-pos=top].Toastify__toast--stacked:before{transform-origin:bottom}.Toastify__toast--stacked:before{bottom:0;content:"";height:100%;left:0;position:absolute;right:0;transform:scaleY(3);z-index:-1}.Toastify__toast--rtl{direction:rtl}.Toastify__toast--close-on-click{cursor:pointer}.Toastify__toast-icon{-webkit-margin-end:10px;display:flex;flex-shrink:0;margin-inline-end:10px;width:22px}.Toastify--animate{animation-duration:.5s;animation-fill-mode:both}.Toastify--animate-icon{animation-duration:.3s;animation-fill-mode:both}.Toastify__toast-theme--dark{background:#121212;background:var(--toastify-color-dark);color:#fff;color:var(--toastify-text-color-dark)}.Toastify__toast-theme--colored.Toastify__toast--default,.Toastify__toast-theme--light{background:#fff;background:var(--toastify-color-light);color:#757575;color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{background:#3498db;background:var(--toastify-color-info);color:#fff;color:var(--toastify-text-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{background:#07bc0c;background:var(--toastify-color-success);color:#fff;color:var(--toastify-text-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{background:#f1c40f;background:var(--toastify-color-warning);color:#fff;color:var(--toastify-text-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{background:#e74d3c;background:var(--toastify-color-error);color:#fff;color:var(--toastify-text-color-error)}.Toastify__progress-bar-theme--light{background:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:#bb86fc;background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:#3498db;background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:#07bc0c;background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:#f1c40f;background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:#e74d3c;background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning{background:#ffffffb3;background:var(--toastify-color-transparent)}.Toastify__close-button{background:#0000;border:none;color:#fff;cursor:pointer;opacity:.7;outline:none;padding:0;position:absolute;right:6px;top:6px;transition:.3s ease;z-index:1}.Toastify__toast--rtl .Toastify__close-button{left:6px;right:auto}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:focus,.Toastify__close-button:hover{opacity:1}@keyframes Toastify__trackProgress{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Toastify__progress-bar{bottom:0;height:100%;left:0;opacity:.7;position:absolute;transform-origin:left;width:100%;z-index:1}.Toastify__progress-bar--animated{animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:transform .2s}.Toastify__progress-bar--rtl{border-bottom-left-radius:0;left:auto;right:0;transform-origin:right}.Toastify__progress-bar--wrp{border-bottom-left-radius:6px;border-bottom-left-radius:var(--toastify-toast-bd-radius);border-bottom-right-radius:6px;border-bottom-right-radius:var(--toastify-toast-bd-radius);bottom:0;height:5px;left:0;overflow:hidden;position:absolute;width:100%}.Toastify__progress-bar--wrp[data-hidden=true]{opacity:0}.Toastify__progress-bar--bg{height:100%;opacity:.2;opacity:var(--toastify-color-progress-bgo);width:100%}.Toastify__spinner{animation:Toastify__spin .65s linear infinite;border:2px solid #e0e0e0;border-color:var(--toastify-spinner-color-empty-area);border-radius:100%;border-right-color:#616161;border-right-color:var(--toastify-spinner-color);box-sizing:border-box;height:20px;width:20px}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutRight{20%{opacity:1;transform:translate3d(-20px,var(--y),0)}to{opacity:0;transform:translate3d(2000px,var(--y),0)}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;transform:translate3d(20px,var(--y),0)}to{opacity:0;transform:translate3d(-2000px,var(--y),0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes Toastify__bounceOutUp{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes Toastify__bounceOutDown{20%{transform:translate3d(0,calc(var(--y) - 10px),0)}40%,45%{opacity:1;transform:translate3d(0,calc(var(--y) + 20px),0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--bottom-left,.Toastify__bounce-enter--top-left{animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--bottom-right,.Toastify__bounce-enter--top-right{animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--bottom-left,.Toastify__bounce-exit--top-left{animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--bottom-right,.Toastify__bounce-exit--top-right{animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{animation-name:Toastify__bounceOutDown}@keyframes Toastify__zoomIn{0%{opacity:0;transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;transform:translate3d(0,var(--y),0) scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{animation-name:Toastify__zoomIn}.Toastify__zoom-exit{animation-name:Toastify__zoomOut}@keyframes Toastify__flipIn{0%{animation-timing-function:ease-in;opacity:0;transform:perspective(400px) rotateX(90deg)}40%{animation-timing-function:ease-in;transform:perspective(400px) rotateX(-20deg)}60%{opacity:1;transform:perspective(400px) rotateX(10deg)}80%{transform:perspective(400px) rotateX(-5deg)}to{transform:perspective(400px)}}@keyframes Toastify__flipOut{0%{transform:translate3d(0,var(--y),0) perspective(400px)}30%{opacity:1;transform:translate3d(0,var(--y),0) perspective(400px) rotateX(-20deg)}to{opacity:0;transform:translate3d(0,var(--y),0) perspective(400px) rotateX(90deg)}}.Toastify__flip-enter{animation-name:Toastify__flipIn}.Toastify__flip-exit{animation-name:Toastify__flipOut}@keyframes Toastify__slideInRight{0%{transform:translate3d(110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInLeft{0%{transform:translate3d(-110%,0,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInUp{0%{transform:translate3d(0,110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideInDown{0%{transform:translate3d(0,-110%,0);visibility:visible}to{transform:translate3d(0,var(--y),0)}}@keyframes Toastify__slideOutRight{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(110%,var(--y),0);visibility:hidden}}@keyframes Toastify__slideOutLeft{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(-110%,var(--y),0);visibility:hidden}}@keyframes Toastify__slideOutDown{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(0,500px,0);visibility:hidden}}@keyframes Toastify__slideOutUp{0%{transform:translate3d(0,var(--y),0)}to{transform:translate3d(0,-500px,0);visibility:hidden}}.Toastify__slide-enter--bottom-left,.Toastify__slide-enter--top-left{animation-name:Toastify__slideInLeft}.Toastify__slide-enter--bottom-right,.Toastify__slide-enter--top-right{animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{animation-name:Toastify__slideInUp}.Toastify__slide-exit--bottom-left,.Toastify__slide-exit--top-left{animation-duration:.3s;animation-name:Toastify__slideOutLeft;animation-timing-function:ease-in}.Toastify__slide-exit--bottom-right,.Toastify__slide-exit--top-right{animation-duration:.3s;animation-name:Toastify__slideOutRight;animation-timing-function:ease-in}.Toastify__slide-exit--top-center{animation-duration:.3s;animation-name:Toastify__slideOutUp;animation-timing-function:ease-in}.Toastify__slide-exit--bottom-center{animation-duration:.3s;animation-name:Toastify__slideOutDown;animation-timing-function:ease-in}@keyframes Toastify__spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}
/*# sourceMappingURL=main.813ea1f7.css.map*/