@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/8a480f0b521d4e75-s.8e0177b5.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7178b3e590c64307-s.b97b3418.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/caa3a2e1cccd8315-s.p.853070df.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Fallback;src:local(Arial);ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.0%;size-adjust:104.76%}.geist_a71539c9-module__T19VSG__className{font-family:Geist,Geist Fallback;font-style:normal}.geist_a71539c9-module__T19VSG__variable{--font-geist-sans:"Geist","Geist Fallback"}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/4fa387ec64143e14-s.c1fdd6c2.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/bbc41e54d2fcbd21-s.799d8ef8.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/797e433ab948586e-s.p.dbea232f.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Mono Fallback;src:local(Arial);ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.0%;size-adjust:134.59%}.geist_mono_8d43a2aa-module__8Li5zG__className{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.geist_mono_8d43a2aa-module__8Li5zG__variable{--font-geist-mono:"Geist Mono","Geist Mono Fallback"}
@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--radius-sm:.25rem;--shadow-sm:0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a;--shadow-md:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.contents{display:contents}.flex{display:flex}.hidden{display:none}.table{display:table}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}}:root{--font-sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif;--bg-app:#f8f9fa;--bg-panel:#fff;--text-primary:#111;--text-secondary:#666;--border-color:#eaeaea;--accent-color:#2563eb;--accent-hover:#1d4ed8;--shadow-sm:0 1px 2px #0000000d;--shadow-md:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;--shadow-lg:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;--radius-md:12px;--radius-sm:8px}*{box-sizing:border-box}body{font-family:var(--font-sans);background-color:var(--bg-app);color:var(--text-primary);-webkit-font-smoothing:antialiased;margin:0}.app-container{width:100vw;height:100vh;display:flex;overflow:hidden}.sidebar{background:var(--bg-panel);border-right:1px solid var(--border-color);z-index:50;flex-direction:column;width:280px;transition:transform .3s,width .3s;display:flex}.sidebar.closed{border:none;width:0;overflow:hidden;transform:translate(-100%)}.sidebar-header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;height:64px;padding:0 20px;display:flex}.sidebar-header h2{color:var(--text-primary);margin:0;font-size:16px;font-weight:600}.sidebar-title-row{align-items:center;gap:8px;display:flex}.sidebar-close-btn{cursor:pointer;color:var(--text-secondary);background:0 0;border:none;border-radius:6px;padding:6px;transition:background .2s,color .2s;display:none}.sidebar-close-btn:hover{color:var(--text-primary);background:#f3f4f6}@media (max-width:768px){.sidebar-close-btn{justify-content:center;align-items:center;display:flex}}.sidebar-overlay{z-index:40;background:#0000004d;display:none;position:fixed;inset:0}@media (max-width:768px){.sidebar-overlay{display:block}}.sidebar-actions{border-bottom:1px solid var(--border-color);padding:12px}.clear-all-btn{color:#dc2626;cursor:pointer;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;justify-content:center;align-items:center;gap:6px;width:100%;padding:8px 12px;font-size:13px;font-weight:500;transition:all .2s;display:flex}.clear-all-btn:hover{background:#fee2e2;border-color:#fca5a5}.history-list{flex:1;padding:12px;overflow-y:auto}.history-item{border-radius:var(--radius-sm);cursor:pointer;border:1px solid #0000;align-items:center;margin-bottom:8px;padding:10px;transition:background .2s;display:flex;position:relative}.history-item:hover{border-color:var(--border-color);background:#f3f4f6}.history-item:hover .delete-item-btn{opacity:1}.delete-item-btn{cursor:pointer;color:var(--text-secondary);opacity:0;background:0 0;border:none;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;padding:6px;transition:all .2s;display:flex}.delete-item-btn:hover{color:#dc2626;background:#fee2e2}.delete-item-btn:disabled{cursor:not-allowed;opacity:.5}.spinner-small{border:2px solid #e5e7eb;border-top-color:var(--accent-color);border-radius:50%;width:12px;height:12px;animation:.6s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.modal-overlay{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:100;background:#0006;justify-content:center;align-items:center;padding:16px;animation:.3s ease-out fadeIn;display:flex;position:fixed;inset:0}.modal-content{background:#fff;border-radius:24px;width:100%;max-width:420px;animation:.3s cubic-bezier(.16,1,.3,1) scaleUp;position:relative;overflow:hidden;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a,0 0 0 1px #0000000d}.contact-modal{padding:0}@keyframes scaleUp{0%{opacity:0;transform:scale(.95)translateY(10px)}to{opacity:1;transform:scale(1)translateY(0)}}.modal-close-btn{cursor:pointer;width:32px;height:32px;color:var(--text-secondary);z-index:10;background:#0000000d;border:none;border-radius:50%;justify-content:center;align-items:center;transition:all .2s;display:flex;position:absolute;top:20px;right:20px}.modal-close-btn:hover{color:var(--text-primary);background:#0000001a;transform:rotate(90deg)}.modal-header{text-align:center;background:linear-gradient(#f8fafc,#fff);padding:40px 32px 24px}.modal-icon-wrapper{width:56px;height:56px;color:var(--accent-color);background:#eff6ff;border-radius:20px;justify-content:center;align-items:center;margin:0 auto 16px;display:flex;box-shadow:0 4px 6px -1px #2563eb1a}.modal-header h3{color:#1e293b;letter-spacing:-.5px;margin:0 0 8px;font-size:24px;font-weight:700}.modal-subtitle{color:#64748b;margin:0;font-size:15px}.modal-body{padding:0 32px 32px}.form-group{margin-bottom:20px}.input-wrapper{align-items:center;display:flex;position:relative}.input-icon{color:#94a3b8;pointer-events:none;transition:color .2s;position:absolute;left:16px}.textarea-icon{top:16px}.input-wrapper input,.input-wrapper textarea{color:#334155;background:#f8fafc;border:2px solid #0000;border-radius:16px;outline:none;width:100%;padding:14px 16px 14px 48px;font-family:inherit;font-size:15px;transition:all .2s}.input-wrapper textarea{resize:none;min-height:120px}.input-wrapper input:focus,.input-wrapper textarea:focus{border-color:var(--accent-color);background:#fff;box-shadow:0 0 0 4px #2563eb1a}.input-wrapper input:focus+.input-icon,.input-wrapper textarea:focus+.input-icon{color:var(--accent-color)}.error-message{color:#ef4444;background:#fef2f2;border-radius:12px;align-items:center;gap:8px;margin-bottom:20px;padding:12px;font-size:14px;animation:.4s cubic-bezier(.36,.07,.19,.97) both shake;display:flex}@keyframes shake{10%,90%{transform:translate(-1px)}20%,80%{transform:translate(2px)}30%,50%,70%{transform:translate(-4px)}40%,60%{transform:translate(4px)}}.submit-btn{background:linear-gradient(135deg,var(--accent-color),var(--accent-hover));color:#fff;cursor:pointer;border:none;border-radius:16px;justify-content:center;align-items:center;gap:8px;width:100%;padding:16px;font-size:16px;font-weight:600;transition:all .3s;display:flex;box-shadow:0 4px 12px #2563eb40}.submit-btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px #2563eb59}.submit-btn:disabled{opacity:.7;cursor:not-allowed;transform:none}.modal-actions{justify-content:flex-end;gap:12px;padding:0 32px 32px;display:flex}.modal-btn{cursor:pointer;border:none;border-radius:12px;align-items:center;gap:8px;padding:12px 20px;font-size:14px;font-weight:600;transition:all .2s;display:flex}.modal-btn-cancel{color:#64748b;background:#f1f5f9}.modal-btn-cancel:hover{color:#1e293b;background:#e2e8f0}.modal-btn-danger{color:#ef4444;background:#fee2e2}.modal-btn-danger:hover{color:#dc2626;background:#fecaca}.success-message{text-align:center;padding:20px 0;animation:.5s ease-out fadeIn}.success-icon-large{color:#22c55e;filter:drop-shadow(0 4px 12px #22c55e4d);margin-bottom:16px}.success-message h4{color:#1e293b;margin:0 0 8px;font-size:22px}.success-message p{color:#64748b;margin:0}.empty-history{height:200px;color:var(--text-secondary);flex-direction:column;justify-content:center;align-items:center;gap:10px;font-size:14px;display:flex}.history-item img{object-fit:cover;background:#eee;border-radius:6px;flex-shrink:0;width:40px;height:40px;margin-right:12px}.history-info{flex:1;overflow:hidden}.history-name{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:500;overflow:hidden}.history-time{color:var(--text-secondary);margin-top:2px;font-size:11px}.main-content{background:var(--bg-app);flex-direction:column;flex:1;display:flex;position:relative}.top-bar{background:var(--bg-panel);border-bottom:1px solid var(--border-color);height:64px;box-shadow:var(--shadow-sm);justify-content:space-between;align-items:center;padding:0 24px;display:flex}.left-header{align-items:center;gap:16px;display:flex}.left-header h1{letter-spacing:-.5px;margin:0;font-size:18px;font-weight:600}.icon-btn{cursor:pointer;color:var(--text-secondary);background:0 0;border:none;border-radius:6px;justify-content:center;align-items:center;padding:8px;transition:background .2s,color .2s;display:flex}.icon-btn:hover{color:var(--text-primary);background:#f3f4f6}.api-input-wrapper{align-items:center;display:flex;position:relative}.input-icon{color:var(--text-secondary);pointer-events:none;position:absolute;left:10px}.api-input-wrapper input{border:1px solid var(--border-color);background:#f9fafb;border-radius:6px;outline:none;width:220px;padding:8px 12px 8px 32px;font-size:13px;transition:border-color .2s,box-shadow .2s}.api-input-wrapper input:focus{border-color:var(--accent-color);background:#fff;box-shadow:0 0 0 2px #2563eb1a}.content-area{flex-direction:column;flex:1;align-items:center;padding:32px;display:flex;overflow-y:auto}.upload-container{width:100%;max-width:600px;margin-top:60px;animation:.5s ease-out fadeIn}.upload-box{cursor:pointer;background:var(--bg-panel);border:2px dashed #d1d5db;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;padding:60px 40px;transition:all .2s;display:flex}.upload-box:hover{border-color:var(--accent-color);background:#f8fafc;transform:translateY(-2px)}.upload-icon-circle{width:64px;height:64px;color:var(--accent-color);background:#eff6ff;border-radius:50%;justify-content:center;align-items:center;margin-bottom:16px;display:flex}.upload-box h3{margin:0 0 8px;font-size:18px;font-weight:600}.upload-box p{color:var(--text-secondary);margin:0;font-size:14px}.workspace{flex-direction:column;gap:24px;width:100%;max-width:1200px;animation:.3s ease-out fadeIn;display:flex}.centered-workspace{align-items:center}.workspace-actions{justify-content:space-between;align-items:center;width:100%;max-width:800px;display:flex}.upload-new-btn{border:1px solid var(--border-color);color:var(--text-secondary);cursor:pointer;background:#fff;border-radius:8px;align-items:center;gap:8px;padding:10px 16px;font-size:14px;font-weight:500;transition:all .2s;display:flex}.upload-new-btn:hover{color:var(--text-primary);box-shadow:var(--shadow-sm);background:#f9fafb;border-color:#d1d5db;transform:translateY(-1px)}.secondary-btn{border:1px solid var(--border-color);cursor:pointer;color:var(--text-secondary);background:#fff;border-radius:8px;align-items:center;gap:8px;padding:8px 16px;font-size:14px;transition:all .2s;display:flex}.secondary-btn:hover{color:var(--text-primary);background:#f9fafb;border-color:#d1d5db}.process-btn{color:#fff;cursor:pointer;background:#111;border:none;border-radius:8px;align-items:center;gap:8px;padding:10px 24px;font-size:14px;font-weight:500;transition:transform .1s,background .2s;display:flex;box-shadow:0 4px 12px #00000026}.process-btn:hover{background:#000;transform:translateY(-1px)}.single-image-container{width:100%;max-width:800px;box-shadow:var(--shadow-lg);background:#fff;border-radius:16px;justify-content:center;padding:10px;transition:box-shadow .3s;display:flex;position:relative}.main-image{border-radius:8px;max-width:100%;max-height:70vh;display:block}.single-image-container.glowing{animation:2s infinite alternate edgeGlow}@keyframes edgeGlow{0%{border:1px solid #2563eb4d;box-shadow:0 0 10px #2563eb33,0 0 20px #2563eb1a}to{border:1px solid #2563ebcc;box-shadow:0 0 25px #2563eb99,0 0 50px #2563eb4d}}.loading-overlay{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#ffffff80;border-radius:16px;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.pulse-text{color:var(--accent-color);box-shadow:var(--shadow-md);background:#fff;border-radius:20px;padding:10px 20px;font-weight:600;animation:1.5s infinite pulse}@keyframes pulse{50%{opacity:.5}}.error-toast{color:#b91c1c;z-index:100;background:#fee2e2;border:1px solid #fecaca;border-radius:30px;align-items:center;gap:12px;padding:12px 20px;font-size:14px;display:flex;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 4px 12px #0000001a}.error-toast button{cursor:pointer;color:#b91c1c;background:0 0;border:none;padding:4px;display:flex}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media (max-width:768px){.sidebar{width:280px;height:100%;position:absolute;box-shadow:2px 0 10px #0000001a}.sidebar.closed{transform:translate(-100%)}.sidebar.open{transform:translate(0)}.top-bar{height:56px;padding:0 16px}.left-header h1{font-size:16px}.left-header{gap:12px}.content-area{padding:16px}.upload-container{margin-top:40px}.upload-box{padding:40px 24px}.upload-icon-circle{width:56px;height:56px}.upload-box h3{font-size:16px}.upload-box p{font-size:13px}.workspace-actions{flex-direction:column;align-items:stretch;gap:12px}.upload-new-btn{justify-content:center}.process-btn{justify-content:center;width:100%;padding:12px 24px}.single-image-container{border-radius:12px;padding:8px}.main-image{border-radius:6px;max-height:60vh}.comparison-container{min-height:300px}.slider-circle{width:36px;height:36px}.slider-circle svg{width:16px;height:16px}.error-toast{border-radius:12px;font-size:13px;bottom:16px;left:16px;right:16px;transform:none}.pulse-text{padding:8px 16px;font-size:14px}.sidebar-header{height:56px;padding:0 16px}.history-list,.history-item{padding:8px}.history-item img{width:36px;height:36px}.delete-item-btn{opacity:1}.sidebar-actions{padding:8px}.modal-content{margin:16px}.modal-actions{flex-direction:column}.modal-btn{justify-content:center}}@media (max-width:480px){.upload-box{padding:32px 20px}.upload-icon-circle{width:48px;height:48px}.upload-icon-circle svg{width:24px;height:24px}.upload-box h3{font-size:15px}.content-area{padding:12px}.single-image-container{padding:6px}.main-image{max-height:50vh}.comparison-container{min-height:250px}.process-btn{padding:10px 20px;font-size:13px}.left-header h1{font-size:15px}.top-bar{height:52px;padding:0 12px}}.comparison-container{cursor:col-resize;-webkit-user-select:none;user-select:none;border-radius:8px;width:100%;height:auto;min-height:400px;position:relative;overflow:hidden}.comp-img{pointer-events:none;width:100%;height:auto;display:block}.comp-overlay{width:100%;height:100%;position:absolute;top:0;left:0;overflow:hidden}.slider-handle{z-index:10;pointer-events:none;filter:drop-shadow(0 0 2px #00000080);background:#fff;width:2px;position:absolute;top:0;bottom:0}.slider-line{background:#fff;width:2px;position:absolute;top:0;bottom:0;left:-1px}.slider-circle{width:40px;height:40px;color:var(--accent-color);background:#fff;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 2px 6px #0003}.contact-btn{background:var(--accent-color);color:#fff;cursor:pointer;border:none;border-radius:8px;align-items:center;gap:8px;padding:8px 16px;font-size:14px;font-weight:500;transition:all .2s;display:flex}.contact-btn:hover{background:var(--accent-hover);box-shadow:var(--shadow-sm);transform:translateY(-1px)}@media (max-width:768px){.contact-btn span{display:none}.contact-btn{padding:8px 12px}}
