@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2) format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2) format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2) format("woff2-variations");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2) format("woff2-variations");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2) format("woff2-variations");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2) format("woff2-variations");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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:Inter Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2) format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:Inter Variable,Avenir Next,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none;text-rendering:optimizeLegibility;color-scheme:light;--primary: #0a6e5c;--primary-hover: #085646;--on-primary: #fff;--ink: #1c2423;--ink-2: #394440;--muted: #626d68;--rail: #f6f8f7;--canvas: #fff;--surface: #fff;--subtle: #f5f7f6;--line: #e2e7e4;--field-line: #a0aaa5;--selected: #e7f4f0;--selected-line: #bbdcd3;--focus: #0a6e5c;--error: #a94029;--error-bg: #fff0ed;--success: #0a6e5c;--radius: 12px;--shadow: #1c242312}:root[data-theme=dark]{color-scheme:dark;--primary: #3dd1ae;--primary-hover: #7fe3c8;--on-primary: #05261f;--ink: #e8eeeb;--ink-2: #c4d0ca;--muted: #a0aea6;--rail: #111815;--canvas: #151c19;--surface: #19221d;--subtle: #202b24;--line: #303e35;--field-line: #6b7c70;--selected: #123a33;--selected-line: #1f5a4e;--focus: #3dd1ae;--error: #f0a18a;--error-bg: #371f1b;--success: #7fe3c8;--shadow: #00000040}*{box-sizing:border-box}body{margin:0;min-width:320px;font-size:14px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--focus);outline-offset:4px}input,textarea{caret-color:var(--primary)}::selection{background:var(--selected);color:var(--primary)}::-webkit-scrollbar{width:7px;height:7px}::-webkit-scrollbar-thumb{background:var(--field-line);border-radius:9px}::-webkit-scrollbar-track{background:var(--subtle)}h1,h2,h3,p{margin:0}svg{flex-shrink:0}.skip-link{position:fixed;top:-60px;left:240px;background:var(--primary);color:var(--on-primary);padding:12px 20px;border-radius:8px;z-index:100}.skip-link:focus{top:12px}.app-shell{min-height:100vh}.sidebar{width:224px;position:fixed;inset:0 auto 0 0;background:var(--rail);border-right:1px solid var(--line);padding:28px 14px 22px;display:flex;flex-direction:column;z-index:20;overflow-y:auto}.brand{display:flex;align-items:center;gap:9px;font-size:25px;font-weight:750;letter-spacing:-.035em;line-height:1;color:var(--ink)}.brand svg{width:32px;height:32px;color:var(--primary)}.brand-dot{color:var(--primary);margin-left:-9px}.logo-button{display:inline-flex;padding:0;border:0;background:transparent}.sidebar .logo-button{margin-left:9px}.brand-parent{font-size:12px;color:var(--muted);margin:12px 0 36px 51px;line-height:1.5}.sidebar nav{display:flex;flex-direction:column;gap:4px}.nav-item{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;padding:11px 12px;text-align:left;color:var(--muted);border-radius:8px;font-size:14px;font-weight:550;min-height:44px;transition:background .18s ease-out,color .18s ease-out}.nav-item:hover{background:var(--subtle);color:var(--ink)}.nav-item.active{background:var(--selected);color:var(--primary)}.nav-count{margin-left:auto;width:22px;height:22px;display:grid;place-items:center;font-size:11px;border-radius:6px;background:var(--surface)}.nav-group-label{font-size:11px;font-weight:600;letter-spacing:.03em;color:var(--muted);margin:23px 12px 8px;padding-top:20px;border-top:1px solid var(--line)}.sidebar-bottom{margin-top:auto;padding-top:24px;border-top:1px solid var(--line)}.push-right{margin-left:auto}.main-shell{margin-left:224px;display:flex;flex-direction:column;min-height:100vh;background:var(--canvas)}.topbar{border-bottom:1px solid var(--line);min-height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:18px}.breadcrumb{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted);min-width:0}.breadcrumb span{color:var(--ink-2);font-weight:600}.topbar-right{display:flex;align-items:center;gap:16px;flex-shrink:0}.language-switch{display:inline-flex;align-items:center;gap:2px;padding:3px;border:1px solid var(--line);border-radius:8px;background:var(--surface);flex-shrink:0}.language-switch button{border:0;border-radius:5px;background:transparent;padding:6px 9px;color:var(--muted);font-size:12px;font-weight:600;min-height:30px}.language-switch button:hover{color:var(--primary)}.language-switch button[aria-pressed=true]{color:var(--primary);background:var(--selected)}.icon-button{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;padding:9px;border-radius:8px;color:var(--muted);min-width:36px;min-height:36px}.icon-button:hover{background:var(--selected);color:var(--primary)}main{padding:48px 48px 32px;max-width:1280px;width:100%;margin:0 auto;flex:1}h1{font-size:32px;font-weight:750;line-height:1.3;letter-spacing:-.025em;text-wrap:balance}.home-heading{display:flex;justify-content:space-between;align-items:center;gap:32px;margin:8px 0 44px}.home-heading p,.workspace-heading p{font-size:14px;color:var(--muted);line-height:1.7;margin-top:10px}.home-privacy{display:flex;align-items:center;gap:7px}.search-box{display:flex;align-items:center;gap:12px;width:min(40%,340px);padding:12px 15px;min-height:48px;border-radius:8px;border:1px solid var(--line);background:var(--surface);color:var(--muted)}.search-box:focus-within{border-color:var(--primary);outline:2px solid var(--focus);outline-offset:3px}.search-box input{border:0;outline:none;width:100%;min-width:0;font-size:14px;background:transparent;color:var(--ink)}.search-box input::placeholder{color:var(--muted);opacity:1}.search-box kbd{font-family:inherit;font-size:11px;white-space:nowrap;border:1px solid var(--line);padding:3px 6px;border-radius:5px}.search-box .icon-button{padding:0;min-height:24px;min-width:24px}.tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}.tool-card{border-bottom:1px solid var(--line);display:flex;align-items:center;gap:20px;padding:28px 12px;min-width:0;transition:background .18s ease-out,color .18s ease-out}.tool-card:hover{background:var(--subtle)}.tool-card:hover h2{color:var(--primary)}.tool-visual{width:42px;height:42px;flex-shrink:0;display:grid;place-items:center;color:var(--ink-2)}.tool-card-body{min-width:0;flex:1}.tool-card h2{font-size:17px;font-weight:600;line-height:1.5;letter-spacing:-.015em}.tool-card-body p{font-size:13px;line-height:1.7;color:var(--muted);margin-top:5px}.tool-arrow{color:var(--muted);margin-left:auto;transition:transform .18s ease-out,color .18s ease-out}.tool-card:hover .tool-arrow{color:var(--primary);transform:translate(3px)}.site-footer{display:flex;justify-content:space-between;padding:24px 36px;font-size:12px;color:var(--muted);gap:16px;line-height:1.7;border-top:1px solid var(--line)}.site-footer>div{display:flex;gap:19px}.site-footer button{background:transparent;border:0;padding:0;font-size:inherit;color:inherit}.no-results{text-align:center;padding:70px 20px;color:var(--muted)}.no-results svg{margin-bottom:18px}.no-results h2{font-size:22px}.no-results p{margin:15px 0 25px;font-size:14px}.back-link{display:inline-flex;align-items:center;gap:7px;font-size:13px;color:var(--muted);border:0;padding:0;background:transparent;margin-bottom:22px}.back-link:hover,.text-button:hover{color:var(--primary)}.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:32px;align-items:start}.image-workspace{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;min-width:0}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;min-height:58px;border-bottom:1px solid var(--line);font-size:13px;font-weight:600;gap:10px}.preview-toolbar>div{display:flex;align-items:center;gap:12px}.text-button{padding:0;border:0;background:transparent;color:var(--primary);font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:5px}.preview-stage{min-height:440px;padding:32px 24px;background:var(--subtle);position:relative;display:flex;align-items:center;justify-content:center}.preview-stage.dragging{background:var(--selected);outline:2px dashed var(--primary);outline-offset:-12px}.empty-workspace{width:100%;display:flex;flex-direction:column;align-items:center;text-align:center;padding:8px 0}.upload-art{color:var(--muted);margin-bottom:20px}.empty-workspace h2{font-size:22px;letter-spacing:-.02em;font-weight:650;line-height:1.5}.empty-workspace p{font-size:14px;color:var(--muted);margin-top:9px;line-height:1.7}.empty-workspace .button{margin-top:23px}.empty-workspace small{font-size:12px;line-height:1.9;color:var(--muted);margin-top:13px;max-width:330px}.sample-button{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:550;background:transparent;border:0;padding:8px;min-height:36px;margin-top:18px;color:var(--muted)}.sample-button:hover{color:var(--primary)}.button{padding:12px 17px;min-height:44px;border-radius:8px;display:inline-flex;justify-content:center;align-items:center;gap:8px;font-size:13px;font-weight:600;border:1px solid transparent;transition:background .18s ease-out}.button.primary{background:var(--primary);color:var(--on-primary)}.button.primary:hover:not(:disabled){background:var(--primary-hover)}.button.secondary{border-color:var(--line);background:var(--surface);color:var(--ink-2)}.button.secondary:hover:not(:disabled){background:var(--subtle)}.full{width:100%}.file-input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.preview-image-wrap{position:relative;display:inline-flex;max-width:100%;align-items:center;justify-content:center}.preview-image-wrap>img{max-width:100%;max-height:430px;width:auto;height:auto;display:block;box-shadow:0 10px 25px var(--shadow)}.preview-stage.has-image{min-height:470px;padding:35px 27px 48px}.sample-indicator{position:absolute;bottom:13px;font-size:11px;color:var(--muted);text-align:center;padding:0 10px}.processing-indicator{position:absolute;top:13px;right:13px;background:var(--surface);padding:7px 10px;border-radius:6px;font-size:12px;color:var(--muted)}.grid-overlay{position:absolute;inset:0;display:grid;pointer-events:none}.grid-overlay span{border:1px solid #ffffffbf;padding:5px 7px;font-size:13px;text-shadow:0 1px 3px #30233a;color:#fff;background:#0f172a12;display:flex;justify-content:flex-end;align-items:flex-end}.preview-bottom{display:flex;justify-content:space-between;align-items:center;padding:12px 17px;font-size:12px;color:var(--muted);gap:12px}.preview-tabs{display:flex;gap:2px;background:var(--subtle);padding:3px;border-radius:7px}.preview-tabs button{padding:7px 12px;border:0;background:transparent;border-radius:5px;font-size:12px;color:var(--muted)}.preview-tabs button.active{background:var(--selected);color:var(--primary)}.settings-panel{padding:8px 0 0;min-width:0}.settings-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.settings-title h2{font-size:17px;font-weight:650;letter-spacing:-.02em}.parameters{display:flex;flex-direction:column;gap:20px}.field{display:flex;flex-direction:column;gap:8px;min-width:0}.field-label{font-size:13px;font-weight:600;color:var(--ink-2)}.field input,.field select,.field textarea{width:100%;border:1px solid var(--field-line);border-radius:8px;padding:10px 11px;background:var(--surface);color:var(--ink-2);font-size:14px;line-height:1.7}.field select{min-height:44px}.field textarea{resize:vertical;min-height:80px}.field small{font-size:12px;color:var(--muted);line-height:1.7}.check-field{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink-2);line-height:1.6}.check-field input{accent-color:var(--primary);width:16px;height:16px;margin:0;flex-shrink:0}.size-presets{display:grid;grid-template-columns:1fr 1fr;gap:8px}.size-presets button{background:var(--surface);border:1px solid var(--line);color:var(--ink-2);border-radius:8px;padding:11px 8px;font-size:13px;display:flex;align-items:center;justify-content:center;gap:7px;min-height:43px}.size-presets button:hover{border-color:var(--primary)}.size-presets button.selected{border-color:var(--primary);background:var(--selected);color:var(--primary)}.range-field{display:flex;flex-direction:column;gap:12px}.range-field>span{display:flex;justify-content:space-between;gap:10px;font-size:13px;color:var(--ink-2)}.range-field b{color:var(--ink-2);font-size:12px;font-weight:550}.range-field input{width:100%;accent-color:var(--primary);margin:0;height:20px}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.parameter-note{color:var(--muted);font-size:12px;line-height:1.8}.result-summary.empty{margin:0;padding:0;border:0}.result-summary{margin-top:24px;padding-top:19px;border-top:1px solid var(--line);font-variant-numeric:tabular-nums;font-size:13px}.result-summary>div{display:flex;justify-content:space-between;margin-bottom:11px;color:var(--muted);gap:12px}.result-summary b{color:var(--ink);font-size:14px;font-weight:650}.result-status{display:flex;align-items:center;gap:5px;color:var(--success);font-size:12px;margin-top:13px;flex-wrap:wrap}.result-status>span{margin-left:auto;font-size:12px}.summary-empty{color:var(--muted);font-size:12px;line-height:1.7}.download-button{margin-top:20px}.error-message{color:var(--error);font-size:13px;line-height:1.8;padding:11px;background:var(--error-bg);border-radius:8px;margin-top:15px;overflow-wrap:anywhere}.saved-message{margin-top:12px;display:flex;align-items:center;gap:6px;color:var(--success);font-size:12px;line-height:1.8}.output-notice{font-size:12px;color:var(--muted);margin-top:13px;line-height:1.8}.source-list{border-top:1px solid var(--line);padding:7px 13px}.source-row{display:flex;align-items:center;gap:8px;padding:7px 0}.source-row>img{width:32px;height:30px;object-fit:cover;border-radius:4px}.source-row>span{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.source-row button{padding:6px;min-width:32px}.batch-list{border-top:1px solid var(--line);padding:8px 12px}.batch-row{display:flex;align-items:center;gap:8px;padding:4px;border-radius:8px}.batch-row.selected{background:var(--selected)}.batch-preview{display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-align:left;border:0;border-radius:6px;padding:8px;background:transparent;color:var(--ink-2)}.batch-preview:hover{background:var(--subtle)}.batch-preview img{width:44px;height:44px;border-radius:4px;object-fit:cover;flex-shrink:0}.batch-preview>span{display:flex;flex-direction:column;gap:4px;min-width:0}.batch-preview b{font-size:13px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.batch-preview small{color:var(--muted);font-size:12px;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.batch-row>.icon-button{flex-shrink:0}.info-page{max-width:700px}.info-page h1{font-size:32px}.info-page>p{font-size:15px;line-height:1.9;color:var(--muted);margin-top:20px}.info-page h2{font-size:20px;margin-top:32px;color:var(--ink-2)}.info-page .button{margin-top:30px}.mobile-bar{display:none}@media(max-width:1180px){.workspace-grid{grid-template-columns:minmax(0,1fr) 280px;gap:28px}.settings-panel{padding:8px 0 0}main{padding:28px}.topbar,.site-footer{padding-left:28px;padding-right:28px}.topbar-right{gap:10px}}@media(max-width:980px){.sidebar{width:208px}.main-shell{margin-left:208px}.brand{font-size:24px}.nav-item{font-size:13px}.workspace-grid{grid-template-columns:minmax(0,1fr)}.settings-panel{width:100%}.tool-card{padding:24px 8px;gap:12px}.tool-card h2{font-size:15px}.tool-visual{width:42px;height:42px}}@media(max-width:700px){.mobile-bar{min-height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;background:var(--rail);position:relative;z-index:30;border-bottom:1px solid var(--line)}.sidebar{display:none;width:100%;position:absolute;top:64px;bottom:auto;padding:15px 22px 24px;border-bottom:1px solid var(--line)}.sidebar.open{display:flex}.sidebar .logo-button,.sidebar .brand-parent,.sidebar-bottom{display:none}.sidebar .nav-group-label{margin-top:10px}.main-shell{margin-left:0}.topbar{min-height:56px;padding:0 22px;gap:12px}.breadcrumb{font-size:12px;gap:7px}.breadcrumb>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.breadcrumb>svg{width:10px}.topbar-right{gap:8px}.language-switch{padding:2px}.language-switch button{padding:6px;min-height:32px;font-size:11px}.theme-button{min-height:36px;min-width:36px}main{padding:26px 22px}.home-heading{margin:4px 0 20px;gap:24px;flex-direction:column;align-items:stretch}.home-heading h1{font-size:28px}.home-heading p{font-size:14px;margin-top:10px}.search-box{width:100%;min-height:48px;padding:12px 14px}.search-box kbd{display:none}.search-box input{font-size:16px}.tool-grid{grid-template-columns:1fr;gap:0}.tool-card{padding:22px 0;gap:14px}.tool-visual{width:46px;height:46px}.tool-card h2{font-size:16px}.tool-card-body p{font-size:13px}.site-footer{padding:22px;font-size:12px;flex-wrap:wrap}.skip-link{left:20px}.workspace-heading{gap:12px;margin-bottom:23px}.workspace-heading h1{font-size:27px}.workspace-heading p{font-size:14px}.back-link{margin-bottom:20px}.preview-stage{min-height:320px;padding:24px 18px}.empty-workspace h2{font-size:21px}.empty-workspace small{font-size:12px}.preview-stage.has-image{min-height:300px}.preview-image-wrap>img{max-height:350px}.preview-bottom{padding:12px;font-size:11px}.sample-indicator{font-size:10px}.settings-panel{padding:0}.button{font-size:14px;min-height:44px}.field input,.field select,.field textarea{font-size:16px}.range-field input{height:24px}.size-presets button{font-size:14px}.info-page h1{font-size:27px}.info-page>p{font-size:15px}.info-page h2{font-size:20px}}@media(max-width:360px){.breadcrumb>svg,.breadcrumb>span{display:none}.tool-card{padding:20px 0;gap:10px}.brand{font-size:24px}.source-row{gap:5px}.preview-bottom{gap:8px}.preview-tabs button{padding:7px 9px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}.tool-guide{margin-top:32px;color:var(--muted)}.tool-guide summary{display:inline-flex;align-items:center;gap:8px;padding:12px 0;min-height:44px;cursor:pointer;list-style:none;font-size:13px}.tool-guide summary::-webkit-details-marker{display:none}.tool-guide summary:focus-visible{outline:2px solid var(--focus);outline-offset:4px}.tool-guide summary:hover{color:var(--primary)}.tool-guide[open] summary svg{transform:rotate(90deg)}.guide-content{max-width:75ch;padding-top:16px;padding-bottom:24px}.tool-guide h2{font-size:20px;color:var(--ink);margin-bottom:14px;letter-spacing:-.02em}.tool-guide ol{padding-left:22px;line-height:1.9;font-size:14px}.tool-guide li+li{margin-top:8px}.tool-guide p{font-size:14px;line-height:1.8;margin-top:16px;color:var(--muted)}.analytics-choice{position:fixed;z-index:80;bottom:20px;right:20px;width:min(450px,calc(100vw - 40px));max-height:calc(100dvh - 40px);overflow-y:auto;padding:22px;border-radius:12px;background:var(--surface);box-shadow:0 12px 40px #0003;color:var(--ink)}.analytics-choice h2{font-size:19px;line-height:1.4;margin-bottom:12px}.analytics-choice p{font-size:14px;line-height:1.75;color:var(--ink-2);margin-bottom:16px}.analytics-choice>div{display:flex;flex-wrap:wrap;gap:10px}.analytics-choice .button{flex:1;justify-content:center;min-height:44px;white-space:normal}.analytics-choice.inline{position:static;width:100%;max-height:none;box-shadow:none;border:1px solid var(--line);margin:24px 0;background:var(--subtle)}.site-footer a{color:var(--muted);text-decoration:underline;text-underline-offset:4px}@media(max-width:700px){.tool-guide ol,.tool-guide p{font-size:16px}.analytics-choice{left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:auto;padding:20px}.analytics-choice.inline{width:100%}.analytics-choice p{font-size:16px}}
