*{box-sizing:border-box}:root{color-scheme:light;--ink:#23252a;--muted:#6d727c;--line:#e3e5e9;--accent:#3866ef}body{margin:0;background:#fff;color:var(--ink);font:14px/1.55 -apple-system,BlinkMacSystemFont,'Segoe UI','Noto Sans KR',sans-serif}button,input,select{font:inherit;color:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{background:none;border:0}button:disabled{cursor:default;color:#969ba5;background:#f0f1f3}button:disabled.primary{background:#eceef1;color:#8a909b}svg{width:20px;height:20px;flex-shrink:0}input,select{border:1px solid #cdd1d9;border-radius:5px;background:#fff}input:focus,select:focus{outline:2px solid #d7e1ff;border-color:var(--accent)}:focus-visible{outline:2px solid var(--accent);outline-offset:3px}[hidden]{display:none!important}.skip{position:fixed;left:220px;top:-60px;background:white;padding:10px;z-index:90}.skip:focus{top:5px}#sidebar{position:fixed;inset:0 auto 0 0;width:214px;border-right:1px solid var(--line);padding:28px 18px;background:#fafafb;display:flex;flex-direction:column;z-index:40}.brand{display:flex;align-items:center;gap:9px;padding:0 10px;font-size:25px;font-weight:750;letter-spacing:-1.1px;color:#20242b}.brand svg{width:28px;height:28px}.brand-dot{color:var(--accent)}.tool-nav{margin-top:47px}.tool-nav p{font-size:11px;letter-spacing:1px;color:#818793;padding:0 12px;margin:0 0 12px}.tool-nav a{display:flex;align-items:center;gap:10px;font-size:12px;padding:12px 10px;border-radius:5px;color:#576170}.tool-nav a[aria-current]{background:#e9edf6;color:#273963;font-weight:600}.tool-nav svg{width:17px;height:17px}.sidebar-bottom{margin-top:auto;padding:16px 10px 0;font-size:11px;color:#9297a1}#close-menu,#menu{display:none}.app{margin-left:214px;padding:0 38px;max-width:1600px}header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding-top:29px}.title-row{display:flex;align-items:center;gap:12px}h1{font-size:23px;letter-spacing:-.9px;line-height:1.4;margin:0;font-weight:650}.header-actions{display:flex;align-items:center;gap:14px;flex-shrink:0}.subtle{display:flex;align-items:center;gap:6px;font-size:12px;min-height:36px;padding:6px 0;color:#59606b}.subtle svg{width:15px;height:15px}.subtle:hover{color:#20242b}#language{font-size:12px;padding:7px 9px;border-color:#dfe2e7}.bookmark-wrap{position:relative}#bookmark-help{position:absolute;right:0;top:44px;width:265px;padding:14px;border:1px solid #d6dce7;background:white;box-shadow:0 5px 16px #182c4820;z-index:50;font-size:12px;border-radius:5px}.intro{font-size:13px;color:var(--muted);margin:9px 0 28px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 280px;border:1px solid #d9dde4;border-radius:7px;overflow:hidden;min-height:530px}.preview-area{min-width:0;display:flex;flex-direction:column;position:relative;background:#fff}.preview-area.dragging{box-shadow:inset 0 0 0 2px var(--accent);background:#f5f8ff}.empty{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:48px 20px;min-height:435px}.empty-mark{color:#67707f;margin-bottom:20px}.empty-mark svg{width:42px;height:42px;stroke-width:1}.empty h2{font-size:17px;font-weight:550;letter-spacing:-.4px;margin:0 0 8px}.empty p{font-size:12px;color:#777e8b;margin:0 0 23px}.primary{background:#272d39;color:#fff;border:1px solid #272d39;border-radius:5px;font-size:13px;font-weight:550;min-height:42px;padding:10px 22px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary:hover:not(:disabled){background:#111824}.file-support{font-size:11px;color:#8b919b;margin-top:18px}.preview-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 18px;border-top:1px solid var(--line);font-size:11px;color:#7e8590;margin-top:auto}.preview-footer span:first-child{display:flex;align-items:center;gap:5px}.preview-footer svg{width:13px;height:13px}.settings{border-left:1px solid var(--line);padding:22px 22px 18px;background:#fff}.settings h2{font-size:14px;font-weight:600;margin:0 0 22px}.settings>label:not(.check){display:block;font-size:12px;margin:20px 0 7px;font-weight:550}.settings>label:first-of-type{margin-top:0}.number-field{display:flex;align-items:center;position:relative}.number-field input{width:100%;padding:10px 40px 10px 12px;font-size:23px;font-weight:550;font-variant-numeric:tabular-nums;appearance:textfield;-moz-appearance:textfield}.number-field input::-webkit-inner-spin-button{appearance:none}.number-field span{position:absolute;right:13px;color:#767e89;font-size:12px;pointer-events:none}.field-error{color:#b23e31;font-size:12px;margin:4px 0 0}.field-error:empty{display:none}.number-field input[aria-invalid=true]{border-color:#b23e31}.presets{display:flex;gap:5px;margin-top:8px}.presets button{padding:6px 0;flex:1;font-size:10px;border:1px solid #e0e3e8;border-radius:4px;color:#636c79}.presets button.selected{border-color:#819ded;color:#214cba;background:#f3f6ff}#format{width:100%;padding:9px 10px;font-size:12px}.field-help{font-size:11px;line-height:1.6;color:#868c96;margin:7px 0 0}.check{display:flex;align-items:flex-start;gap:7px;margin:22px 0;font-size:12px}.check input{accent-color:var(--accent);margin:3px 0 0;width:14px;height:14px}.check small{display:block;font-size:10px;color:#818894;margin-top:3px}.run,.download{width:100%}.cancel{display:block;width:100%;min-height:36px;color:#636d80;font-size:12px;margin-top:5px}progress{display:block;width:100%;height:3px;margin-top:12px;accent-color:var(--accent)}#status{font-size:11px;line-height:1.6;color:#697487;margin:10px 0;overflow-wrap:anywhere}#status:empty{margin:0}#status.error{color:#b23e31}.stats{border-top:1px solid var(--line);padding-top:17px;margin-top:22px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.stats span{font-size:10px;color:#858d99;display:block}.stats strong{font-size:16px;font-weight:550;font-variant-numeric:tabular-nums;display:block;margin-top:4px}#result-details{margin-top:12px}#saved{font-size:12px;font-weight:600;color:#315b3f;margin:0}#result-note{font-size:11px;color:#76818e;margin:5px 0 12px}.download{background:var(--accent);border-color:var(--accent);margin-top:14px}.download:hover{background:#244ec8}.download svg{width:16px;height:16px}.loaded{flex:1;min-width:0;display:flex;flex-direction:column}.file-bar{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 17px;border-bottom:1px solid var(--line)}.file-title{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.file-title svg{width:16px;height:16px;color:#9198a4}#filename{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.filetype{font-size:9px;color:#9299a3}.file-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.file-actions button{font-size:11px;color:#6d7683;padding:5px}.file-actions button:last-child{font-size:21px;line-height:1}.preview-toolbar{padding:13px 17px;display:flex;align-items:center;justify-content:space-between;gap:10px}.segmented{display:flex;background:#f1f2f5;padding:2px;border:1px solid #e8eaf0;border-radius:5px}.segmented button{padding:5px 13px;font-size:11px;border-radius:3px;color:#7d8593}.segmented button[aria-pressed=true]{background:#fff;color:#343c4b;box-shadow:0 1px 2px #27324715}.segmented button:disabled{background:transparent;color:#a2a7b0}#preview-caption{font-size:10px;color:#818996;font-variant-numeric:tabular-nums}.canvas{margin:0 17px 17px;min-height:325px;flex:1;display:flex;align-items:center;justify-content:center;overflow:hidden;background:repeating-conic-gradient(#f2f3f5 0 25%,#fff 0 50%) 0/18px 18px;border:1px solid #e9ebef}.canvas img{display:block;width:100%;height:100%;max-height:420px;object-fit:contain}.notes{margin-top:22px;font-size:12px;color:#7b8390}.notes summary{cursor:pointer;width:fit-content;color:#5e6776;font-size:11px}.notes>div{padding:8px 0;max-width:850px;font-size:12px;line-height:1.8}.policy{max-width:700px;line-height:1.9;color:#697180;margin-top:30px}.policy h2{font-size:17px;color:#333c48;margin-top:28px}.policy a{text-decoration:underline}footer{margin:45px 0 22px;padding-top:17px;border-top:1px solid #edf0f3;display:flex;justify-content:space-between;font-size:10px;color:#969da8}#overlay{position:fixed;inset:0;background:#20283966;z-index:35}.menu-open{overflow:hidden}@media(min-width:1600px){.app{padding-right:60px;padding-left:60px}}@media(max-width:1100px){.app{padding:0 25px}.workspace{grid-template-columns:minmax(0,1fr) 255px}.settings{padding:20px 17px}.preview-toolbar{flex-wrap:wrap}h1{font-size:21px}.header-actions{gap:9px}}@media(max-width:800px){#sidebar{transform:translateX(-100%);width:235px}#sidebar.open{transform:translateX(0)}#close-menu{display:block;position:absolute;right:9px;top:30px;font-size:24px}#menu{display:flex;padding:5px 0;align-items:center;justify-content:center}#menu svg{width:17px}.app{margin:0;padding:0 20px}header{padding-top:22px;flex-wrap:wrap;gap:14px}.title-row{gap:9px}h1{font-size:22px}.header-actions{margin-left:auto}.intro{margin:14px 0 20px;font-size:12px}.workspace{grid-template-columns:1fr}.settings{border-left:0;border-top:1px solid var(--line);padding:22px}.empty{min-height:290px;padding:30px 15px}.empty p{font-size:11px}.empty h2{font-size:16px}.preview-footer{padding:12px 14px;font-size:10px}.canvas{min-height:250px}.canvas img{max-height:300px}.settings h2{margin-bottom:20px}.presets button{font-size:12px}.stats strong{font-size:20px}.subtle{font-size:11px}#language{font-size:11px}.notes{margin-top:20px}footer{margin-top:30px}#bookmark-help{right:-70px;width:min(270px,calc(100vw - 40px))}.filetype{display:none}.skip{left:20px}.settings>label:not(.check){font-size:13px}.check{font-size:13px}.field-help,.check small{font-size:11px}}

/* A single, compact flow. */
.brand{font-size:22px;letter-spacing:-.8px}.brand svg{width:25px;height:25px}main{max-width:760px}.intro{margin-bottom:24px}.simple-workspace{max-width:720px}.simple-file{border:1px dashed #ccd1da;border-radius:6px;padding:24px;min-height:134px;background:#fcfcfd}.simple-file.dragging{border-color:#3866ef;background:#f1f5ff}.simple-file #empty{display:flex;align-items:center;gap:15px}.simple-file #empty>span{font-size:12px;color:#767e8a}.file-button{border:1px solid #c5cad3;border-radius:4px;padding:10px 17px;background:white;font-size:13px;min-height:42px}.file-button:hover{border-color:#606b7e}.simple-file>small{display:block;margin-top:14px;font-size:11px;color:#818995}.simple-file #loaded{display:flex;align-items:center;gap:14px}.simple-file #source-preview{width:52px;height:52px;object-fit:contain;background:#f0f1f3;border-radius:3px}.file-text{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}.file-text strong{font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-text span{font-size:11px;color:#7b8390}.text-action{font-size:12px;padding:8px 0;color:#626e80;text-decoration:underline;white-space:nowrap}#compress-form{margin-top:25px}#compress-form>label{font-size:13px;font-weight:550;display:block;margin-bottom:8px}.simple-actions{display:flex;gap:10px;align-items:center}.simple-actions .number-field{width:210px}.simple-actions .number-field input{font-size:19px;padding:9px 40px 9px 12px;height:44px}.simple-actions .primary{height:44px;min-width:122px}.simple-note{font-size:11px;color:#858d98;margin:12px 0 0}.simple-result{display:flex;align-items:center;gap:16px;padding:20px 0;margin-top:18px;border-top:1px solid #e0e4e9}.simple-result>img{width:65px;height:65px;object-fit:contain;background:repeating-conic-gradient(#eef0f3 0 25%,white 0 50%) 0/12px 12px}.result-text{display:flex;flex:1;flex-direction:column;gap:5px;min-width:0}.result-text strong{font-size:16px;font-weight:550}.result-text span{font-size:11px;color:#7c8591}.simple-result .primary{font-size:12px;padding:10px 17px}.notes{margin-top:26px}footer{margin-top:36px}@media(max-width:800px){.simple-file{padding:19px;min-height:124px}.simple-file #empty{gap:12px}.simple-file #empty>span{font-size:11px}.simple-actions .number-field{width:auto;flex:1}.simple-actions .primary{min-width:108px;padding:10px 12px}.simple-actions{flex-wrap:wrap}.simple-note{font-size:11px;line-height:1.7}.simple-result{gap:10px}.simple-result>img{width:44px;height:44px}.result-text strong{font-size:13px}.simple-result .primary{padding:8px 11px;font-size:11px}.simple-file #loaded{gap:10px}.brand{font-size:22px}}

.brand{font-size:15px;letter-spacing:-.5px;gap:7px;padding:0 5px}.brand svg{width:21px;height:21px}.mode-tabs{display:flex;gap:24px;border-bottom:1px solid #e0e4e9;margin-bottom:20px}.mode-tabs button{padding:11px 0;font-size:13px;color:#777f8b;border-bottom:2px solid transparent;margin-bottom:-1px}.mode-tabs button[aria-selected=true]{color:#252d3a;border-bottom-color:#252d3a;font-weight:600}.mode-tabs button:disabled{background:none}#convert-form{margin-top:23px}#convert-form [role=tabpanel]>label,.dimension-fields label{display:block;font-size:13px;font-weight:550;margin-bottom:8px}#panel-compress .number-field{width:210px}#panel-convert #format{width:210px;font-size:14px;height:44px}.dimension-fields{display:flex;gap:12px;align-items:center}.dimension-fields label{width:160px;margin:0}.dimension-fields .number-field{margin-top:8px}.dimension-fields input{font-size:19px;height:44px}.dimension-times{padding-top:26px;color:#8a929c}.convert-actions{display:flex;gap:15px;margin-top:16px;align-items:center}.convert-actions .primary{min-width:122px}#result-size{overflow-wrap:anywhere}@media(max-width:800px){.brand{font-size:15px}.mode-tabs{gap:24px}.mode-tabs button{font-size:12px}.dimension-fields label{width:calc((100% - 34px)/2)}.dimension-fields{gap:10px}#panel-compress .number-field,#panel-convert #format{width:100%}}
.brand{font-size:22px;letter-spacing:-.8px;gap:8px;padding:0}.brand-mascot{width:40px;height:40px;object-fit:contain;flex-shrink:0}

/* Branding belongs to the global header, outside tool navigation. */
.site-header{position:fixed;inset:0 0 auto;z-index:50;height:76px;padding:0 28px;margin:0;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border-bottom:1px solid var(--line)}
.site-header .brand{flex-shrink:0}.site-header .header-actions{margin-left:auto}#sidebar{top:76px;padding-top:28px}.tool-nav{margin-top:0}.app{padding-top:76px}.tool-header{padding-top:28px}#overlay{top:76px}
@media(max-width:800px){.site-header{height:68px;padding:0 16px;gap:8px;flex-wrap:nowrap}.site-header .brand{font-size:20px;gap:5px}.site-header .brand-mascot{width:34px;height:34px}.site-header .header-actions{gap:8px}.site-header #bookmark span{display:none}.site-header #bookmark{padding:8px}.site-header #language{max-width:82px}.site-header #bookmark-help{right:-88px;top:42px}#sidebar{top:68px;padding-top:60px}#overlay{top:68px}.app{padding-top:68px}.tool-header{padding-top:22px}.tool-nav{margin-top:0}}

/* White surfaces and neutral typography; katsu gold marks primary actions. */
:root{--ink:#25272b;--muted:#727780;--line:#e8eaed;--accent:#aa561d}
body{color:var(--ink);background:#ffffff}.site-header{background:#fff;border-bottom-color:#e8eaed}.brand{color:#25272b;letter-spacing:-.7px}.brand-mascot{width:44px;height:44px}
#sidebar{background:#ffffff;border-color:#e8eaed}.tool-nav p{color:#828790;letter-spacing:.5px}.tool-nav a{border-radius:13px;color:#60656e}.tool-nav a[aria-current]{background:#fff4db;color:#64491e;box-shadow:inset 0 0 0 1px #f4e7cc}.tool-nav a:hover{background:#f6f7f8}.sidebar-bottom{color:#828790}
h1{color:#25272b;letter-spacing:-.6px}.intro{color:#727780}.mode-tabs{gap:8px;border:0;padding:5px;background:#f4f5f6;border-radius:15px;width:fit-content;max-width:100%}.mode-tabs button{border:0;border-radius:11px;padding:10px 18px;margin:0;color:#6d727b;font-weight:500}.mode-tabs button[aria-selected=true]{background:#fff;color:#34383f;box-shadow:0 2px 5px #20242b0d;font-weight:650}.mode-tabs button:hover:not(:disabled){color:#34383f;background:#ffffff}
.simple-file{border:1.5px dashed #d5d8dd;border-radius:18px;background:#ffffff;position:relative}.simple-file.dragging{border-color:#a96024;background:#ffefca}.file-button{border-color:#d4d8de;border-radius:11px;color:#34383f;background:white;box-shadow:0 2px 0 #ffffff;font-weight:600}.file-button:hover{border-color:#8a919b;background:#f7f8f9}.simple-file #empty>span,.simple-file>small,.file-text span{color:#727780}
input,select{border-color:#d6dae0;border-radius:10px;color:#25272b}input:focus,select:focus{outline-color:#f5dcad;border-color:#b77432}.number-field input{background:#fff}.number-field>span{color:#727780}.primary{background:#edb957;color:#4e301b;border:1px solid #dda544;border-radius:11px;box-shadow:0 3px 0 #dca348;font-weight:650}.primary:hover:not(:disabled){background:#e7ac40;color:#402613}.primary:active:not(:disabled){transform:translateY(1px);box-shadow:0 1px 0 #dca348}button:disabled.primary{background:#f0f1f3;color:#949aa3;border-color:#e4e6e9;box-shadow:none}.simple-note,.result-text span{color:#727780}.text-action,.notes,footer,footer a{color:#727780}.notes summary:hover{color:#694321}.simple-result{border-color:#e8eaed}.simple-result>img{border-radius:9px}.subtle{color:#60656e;border-radius:9px}.subtle:hover{background:#f5f6f7}#bookmark-help{border-color:#dfe2e7;background:#ffffff;color:#434850;border-radius:12px}footer{border-color:#e8eaed}#progress{accent-color:#d89835}#status.error,.field-error{color:#a13325}
@media(max-width:800px){.mode-tabs{width:100%;gap:3px}.mode-tabs button{flex:1;padding:10px 8px;white-space:nowrap}.simple-file{border-radius:15px}.site-header .brand-mascot{width:36px;height:36px}}

footer{align-items:flex-start;gap:20px;flex-wrap:wrap}footer nav{display:flex;gap:14px;flex-wrap:wrap}footer a:hover{text-decoration:underline}.editorial{max-width:700px;font-size:15px;line-height:1.85;padding-top:8px}.editorial h2{font-size:20px;color:var(--ink);margin:30px 0 12px}.editorial p{color:#5c626b;overflow-wrap:anywhere}.editorial a,.guide-teaser a{color:#434a55;text-decoration:underline;text-underline-offset:3px}.editorial ul,.editorial ol{padding-left:24px}.editorial li{margin-bottom:10px}.back-link{font-size:13px}.contact-button{display:inline-block;margin:10px 0;text-decoration:none!important}.guide-link{display:flex;justify-content:space-between;gap:15px;padding:18px;margin:12px 0;background:#ffffff;border:1px solid #e3e6ea;border-radius:12px;text-decoration:none!important}.guide-link:hover{background:#f7f8f9}.guide-teaser{margin-top:36px;border-top:1px solid var(--line);padding-top:24px}.guide-teaser h2{font-size:16px;margin:0 0 8px}.guide-teaser p{font-size:13px;color:#727780}.guide-teaser a{font-size:13px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px}th,td{text-align:left;vertical-align:top;padding:12px;border:1px solid #e3e6ea}th{background:#f5f6f7}@media(max-width:800px){.editorial{font-size:14px}.editorial h2{font-size:18px}footer nav{gap:10px 14px}.guide-link{padding:14px}}

@media(max-width:800px){.site-header #menu{display:flex;width:40px;height:40px;padding:10px;flex-shrink:0;border-radius:8px;color:var(--ink)}.site-header #menu:hover{background:#f4f5f6}.site-header #menu svg{width:20px;height:20px}.site-header .header-actions{gap:4px}.site-header #bookmark-help{right:-124px}}

.task-links{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:28px;font-size:12px;color:#646b76}.task-links a{text-decoration:underline;text-underline-offset:3px}

/* Compact batch results, shown only for multiple files. */
#batch-list{list-style:none;padding:0;margin:16px 0 24px;border-top:1px solid #e5e7eb}#batch-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e5e7eb}#batch-list li>div{min-width:0}#batch-list strong{display:block;font-size:14px;overflow-wrap:anywhere}#batch-list span{display:block;color:#687078;font-size:13px;margin-top:4px}#batch-list a{white-space:nowrap;flex-shrink:0}#download-all{display:inline-flex;margin-top:16px}#download-all[hidden]{display:none}#loaded img:not([src]){display:none}
