*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}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;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}:root{font-family:Inter,PingFang SC,Microsoft YaHei,Noto Sans CJK SC,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1c2924;background:#f5f7f5;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html{min-width:320px;background:#f5f7f5}body{min-width:320px;min-height:100vh;margin:0;background:#f5f7f5}::-moz-selection{color:#173d2f;background:#cce3d5}::selection{color:#173d2f;background:#cce3d5}#root{min-height:100vh}*{box-sizing:border-box}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.58}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(32,111,86,.24);outline-offset:2px}.app-shell{min-height:100vh;color:#1c2924}.site-header{height:76px;padding:0 max(24px,calc((100vw - 1240px)/2));display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fffffff0;border-bottom:1px solid #e1e7e2}.brand{display:inline-flex;align-items:center;gap:11px;color:#193c30;text-decoration:none}.brand-mark{width:40px;height:40px;display:grid;place-items:center;color:#fff;background:#206f56;border-radius:11px}.brand>span:last-child,.privacy-badge span{display:flex;flex-direction:column}.brand strong{font-size:17px;letter-spacing:.04em}.brand small{margin-top:2px;color:#7b8882;font-size:11px}.back-link,.text-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;color:#58665f;font-size:14px;text-decoration:none}.back-link:hover,.text-button:hover{color:#206f56}main{width:min(1240px,calc(100% - 48px));margin:0 auto;padding:44px 0 56px}.tool-intro{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-bottom:30px}.eyebrow{display:block;margin-bottom:8px;color:#39715e;font-size:10px;font-weight:750;letter-spacing:.18em}.tool-intro h1{margin:0;color:#17271f;font-size:clamp(25px,3.2vw,38px);font-weight:700;letter-spacing:-.035em;line-height:1.28}.tool-intro h1 span{margin:0 12px;color:#a3afa8;font-weight:350}.tool-intro p{margin:12px 0 0;color:#69766f;font-size:15px;line-height:1.7}.privacy-badge{flex:0 0 auto;display:flex;align-items:center;gap:11px;padding:13px 16px;color:#206f56;background:#e9f3ed;border:1px solid #d6e8dc;border-radius:12px}.privacy-badge strong{font-size:13px}.privacy-badge small{margin-top:3px;color:#648172;font-size:11px}.tool-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:6px;background:#e8ede9;border-radius:14px;margin-bottom:18px}.tool-tabs>button{min-height:70px;display:flex;align-items:center;justify-content:center;gap:12px;padding:10px 18px;color:#6d7972;background:transparent;border:0;border-radius:10px;text-align:left}.tool-tabs>button span{display:flex;flex-direction:column;gap:4px}.tool-tabs>button strong{font-size:15px}.tool-tabs>button small{font-size:11px;font-weight:400}.tool-tabs>button.is-active{color:#1d614b;background:#fff;box-shadow:0 2px 8px #1e362b14}.empty-workspace,.workspace{overflow:hidden;background:#fff;border:1px solid #e0e6e1;border-radius:16px;box-shadow:0 10px 32px #1f332909}.upload-zone{min-height:410px;margin:28px;padding:48px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#fafcfa;border:1.5px dashed #bdcac1;border-radius:12px;text-align:center;transition:border-color .16s ease,background .16s ease}.upload-zone.is-dragging{background:#eef7f1;border-color:#206f56}.upload-icon{width:66px;height:66px;display:grid;place-items:center;margin-bottom:20px;color:#206f56;background:#e7f1eb;border-radius:18px}.upload-zone h2{margin:0;font-size:20px;font-weight:650}.upload-zone p{margin:10px 0 24px;color:#7a8780;font-size:14px}.upload-zone>small{margin-top:16px;color:#929d97;font-size:12px}.primary-button,.secondary-button,.icon-button,.text-button{border:0}.primary-button{min-height:46px;display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:0 22px;color:#fff;background:#206f56;border-radius:9px;font-size:14px;font-weight:650;box-shadow:0 3px 8px #206f5626}.primary-button:hover:not(:disabled){background:#195c46}.trust-row{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #e7ebe8}.trust-row>span{min-height:86px;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;padding:18px;color:#89948e;font-size:11px;text-align:center}.trust-row>span+span{border-left:1px solid #e7ebe8}.trust-row svg{color:#4a806b}.trust-row strong{color:#45544c;font-size:12px}.file-bar{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 20px;border-bottom:1px solid #e5eae6}.file-bar>div{min-width:0;display:flex;align-items:center;gap:9px;color:#53625a}.file-bar>div>span{max-width:330px;overflow:hidden;font-size:13px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}.file-bar small{color:#8a958f;font-size:11px;white-space:nowrap}.text-button{flex:0 0 auto;padding:0 4px;background:transparent;font-size:12px}.work-grid{display:grid;grid-template-columns:minmax(0,1fr) 390px;min-height:650px}.preview-panel{min-width:0;display:flex;flex-direction:column;background:#f3f5f3;border-right:1px solid #e1e7e2}.panel-caption,.preview-foot{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 18px;color:#68756e;background:#fbfcfb;font-size:12px}.panel-caption{border-bottom:1px solid #e2e7e3}.panel-caption>span{color:#36483f;font-weight:650}.panel-caption small,.preview-foot{color:#8b9690;font-size:10px}.preview-foot{margin-top:auto;border-top:1px solid #e2e7e3}.crop-stage{position:relative;height:570px;min-height:390px;overflow:hidden;background:#222925}.portrait-stage{position:relative;height:570px;min-height:390px;display:grid;place-items:center;overflow:hidden;padding:24px;background:#e7ebe8}.portrait-stage>img{position:absolute;inset:24px;width:calc(100% - 48px);height:calc(100% - 48px);-o-object-fit:contain;object-fit:contain;filter:drop-shadow(0 5px 14px rgba(24,39,31,.08))}.processing-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;color:#204c3b;background:#f6f9f6f0;text-align:center}.processing-overlay span{max-width:300px;color:#77867d;font-size:12px;line-height:1.6}.controls-panel{min-width:0;background:#fff}.control-section{padding:23px 24px}.control-section+.control-section{border-top:1px solid #e5eae6}.section-heading{min-height:38px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:19px}.section-heading .eyebrow{margin-bottom:4px;font-size:9px}.section-heading h3{margin:0;color:#26382f;font-size:16px;font-weight:680}.icon-button{width:44px;height:44px;display:grid;place-items:center;margin:-8px -8px 0 0;color:#8b9690;background:transparent;border-radius:8px}.icon-button.is-active{color:#206f56;background:#edf5f0}.field-label{min-width:0;display:flex;flex-direction:column;gap:8px;margin-top:17px;color:#55645b;font-size:12px;font-weight:550}.field-label input[type=number],.field-label select,.input-with-unit{width:100%;min-width:0;height:44px;color:#26372e;background:#fbfcfb;border:1px solid #d9e0db;border-radius:8px;font-size:13px}.field-label input[type=number]{padding:0 12px}.field-label select{padding:0 34px 0 12px}.label-line{display:flex;align-items:center;justify-content:space-between;gap:12px}.label-line strong{color:#39715e;font-size:11px;font-variant-numeric:tabular-nums}input[type=range]{width:100%;height:32px;margin:0;accent-color:#206f56;cursor:pointer}.dimension-row{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);align-items:end;gap:8px}.dimension-times{height:44px;display:grid;place-items:center;color:#97a19b}.custom-ratio{margin-top:4px}.rotate-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.secondary-button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;color:#53645b;background:#f7f9f7;border:1px solid #dce3de;border-radius:8px;font-size:12px}.secondary-button:hover{color:#206f56;border-color:#a9c5b6}.preset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.preset{min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:5px 2px;color:#647169;background:#fafbfa;border:1px solid #e0e5e1;border-radius:7px}.preset strong{font-size:11px}.preset span{color:#98a19c;font-size:8px;white-space:nowrap}.preset.is-selected{color:#206f56;background:#eef5f0;border-color:#82ad98}.format-switch{display:grid;grid-template-columns:repeat(3,1fr);padding:3px;background:#f0f3f0;border-radius:8px}.format-switch button{min-height:38px;color:#76827b;background:transparent;border:0;border-radius:6px;font-size:12px}.format-switch button.is-selected{color:#206f56;background:#fff;font-weight:650;box-shadow:0 1px 4px #1a2f2514}.target-toggle{display:flex;align-items:flex-start;gap:10px;margin-top:20px;cursor:pointer}.target-toggle input{width:18px;height:18px;flex:0 0 auto;margin:1px 0 0;accent-color:#206f56}.target-toggle span{display:flex;flex-direction:column;gap:4px}.target-toggle strong{color:#46564d;font-size:12px}.target-toggle small{color:#939d97;font-size:10px;font-weight:400}.input-with-unit{display:flex;align-items:center;overflow:hidden}.input-with-unit input{height:42px!important;flex:1;border:0!important;background:transparent!important}.input-with-unit span{padding-right:12px;color:#7f8c84;font-size:11px;white-space:nowrap}.inline-hint{margin:13px 0 0;color:#8a958e;font-size:10px;font-weight:400;line-height:1.7}.download-button,.generate-button{width:100%;margin-top:20px}.preview-switch{display:flex;padding:2px;background:#edf1ee;border-radius:6px}.preview-switch button{min-width:58px;min-height:32px;padding:0 9px;color:#7b8780;background:transparent;border:0;border-radius:5px;font-size:10px}.preview-switch button.is-selected{color:#206f56;background:#fff}.color-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.color-option{position:relative;min-height:74px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#65736b;background:#fbfcfb;border:1px solid #dfe5e0;border-radius:8px;font-size:11px}.color-option.is-selected{color:#206f56;border-color:#6c9e87;background:#f5faf6}.color-option>svg{position:absolute;top:5px;right:5px}.color-swatch{width:28px;height:28px;border:1px solid rgba(30,42,36,.12);border-radius:50%;box-shadow:inset 0 0 0 2px #ffffff38}.custom-color>span{height:48px;display:flex;align-items:center;gap:12px;padding:4px 10px 4px 4px;background:#fafbfa;border:1px solid #dfe5e0;border-radius:8px}.custom-color input{width:56px;height:38px;padding:0;background:transparent;border:0;cursor:pointer}.custom-color code{color:#6d7a72;font-size:12px}.status-message{position:fixed;z-index:50;right:24px;bottom:24px;max-width:min(520px,calc(100vw - 32px));min-height:52px;display:flex;align-items:center;gap:16px;padding:13px 14px 13px 18px;border:1px solid;border-radius:10px;box-shadow:0 12px 40px #18282029;font-size:12px;line-height:1.6}.status-message.is-success{color:#285c46;background:#f0f8f2;border-color:#bad9c5}.status-message.is-error{color:#963d35;background:#fff5f2;border-color:#ecc6be}.status-message button{width:32px;height:32px;flex:0 0 auto;color:currentColor;background:transparent;border:0;font-size:22px}.tech-note{margin-top:24px;padding:28px 30px;background:#edf3ef;border:1px solid #dce7df;border-radius:14px}.tech-note>div:first-child{display:flex;align-items:center;gap:14px;color:#2d6d54}.tech-note h2{margin:0;color:#294438;font-size:18px}.tech-note .eyebrow{margin-bottom:4px;font-size:8px}.tech-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:22px}.tech-columns p{margin:0;color:#708077;font-size:11px;line-height:1.85}.tech-columns strong{display:block;margin-bottom:5px;color:#435a4d;font-size:12px}footer{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px max(24px,calc((100vw - 1240px)/2));color:#8a958f;background:#fff;border-top:1px solid #e1e7e2;font-size:11px}.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1023px){.work-grid{grid-template-columns:minmax(0,1fr) 340px}.control-section{padding:20px}.crop-stage,.portrait-stage{height:520px}.tool-intro{align-items:flex-start}.privacy-badge{margin-top:5px}}@media(max-width:820px){main{width:min(100% - 32px,680px);padding-top:30px}.site-header{padding:0 18px}.tool-intro{flex-direction:column;gap:18px}.privacy-badge{margin:0}.work-grid{grid-template-columns:1fr}.preview-panel{border-right:0;border-bottom:1px solid #e1e7e2}.crop-stage,.portrait-stage{height:min(560px,66vh)}.controls-panel{display:grid;grid-template-columns:1fr 1fr}.control-section+.control-section{border-top:0;border-left:1px solid #e5eae6}.tech-columns{gap:18px}.file-bar>div{flex-wrap:wrap}}@media(max-width:600px){.site-header{height:66px;padding:0 14px}.brand small,.back-link{font-size:0}.brand small{display:none}.back-link{width:44px}.back-link svg{width:21px;height:21px}main{width:calc(100% - 24px);padding:24px 0 36px}.tool-intro{margin-bottom:22px}.tool-intro h1{font-size:25px}.tool-intro h1 span{margin:0 6px}.tool-intro p{font-size:13px}.privacy-badge{width:100%}.tool-tabs>button{min-height:64px;gap:8px;padding:8px}.tool-tabs>button strong{font-size:12px}.tool-tabs>button small{display:none}.upload-zone{min-height:360px;margin:12px;padding:32px 16px}.upload-zone h2{font-size:17px}.trust-row{grid-template-columns:1fr}.trust-row>span{min-height:66px}.trust-row>span+span{border-top:1px solid #e7ebe8;border-left:0}.file-bar{padding:7px 12px}.file-bar>div{gap:6px}.file-bar>div>span{max-width:155px}.file-bar small{width:100%;padding-left:24px}.file-bar .text-button{font-size:0}.file-bar .text-button svg{width:19px;height:19px}.crop-stage,.portrait-stage{height:400px;min-height:340px}.panel-caption{flex-wrap:wrap}.panel-caption small{display:none}.preview-foot{flex-wrap:wrap}.controls-panel{display:block}.control-section+.control-section{border-top:1px solid #e5eae6;border-left:0}.control-section{padding:22px 20px}.preset span{font-size:8px}.tech-note{padding:22px 20px}.tech-columns{grid-template-columns:1fr;gap:18px}.status-message{right:16px;bottom:16px;left:16px}footer{flex-direction:column;justify-content:center;gap:5px;padding:18px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
