.tool-page{background:#141718;padding-bottom:64px}.tool-shell{background:#1c2021;border:1px solid #364039;border-radius:20px;padding:28px;box-shadow:0 8px 30px #00000005}.workflow{border-bottom:1px solid #364039;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 28px;padding:0 0 24px;list-style:none;display:grid}.workflow li{color:#afb8b1;grid-template-columns:34px 1fr;align-items:center;column-gap:10px;font-size:14px;font-weight:600;display:grid}.workflow li>span{background:#232829;border-radius:50%;grid-row:span 2;justify-content:center;align-items:center;width:34px;height:34px;font-size:13px;display:flex}.workflow li small{font-size:11px;font-weight:450}.workflow li[aria-current]{color:#c5fa66}.workflow li[aria-current]>span{color:#172009;background:#c5fa66}.workflow li.complete>span{color:#a2edb8;background:#232829}.tool-workspace{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start;gap:32px;display:grid}.upload-box{text-align:center;background:radial-gradient(at 50% 0,#c5fa660b,#0000 75%),#191e1a;border:1.5px dashed #364039;border-radius:15px;flex-direction:column;justify-content:center;align-items:center;min-height:315px;padding:38px 22px;transition:background .18s,border-color .18s;display:flex}.upload-box.dragover{border-color:var(--accent);background:#232829}.upload-icon{width:64px;height:64px;color:var(--accent);background:#1c2021;border-radius:18px;justify-content:center;align-items:center;margin-bottom:24px;display:flex;box-shadow:0 5px 14px #00000010}.upload-box h2{font-size:21px}.upload-box p{color:var(--muted);margin:10px 0 22px;font-size:14px}.upload-box small{color:var(--muted);margin-top:18px;font-size:12px}.upload-box.has-files{min-height:0;padding:20px}.upload-box.has-files .upload-icon,.upload-box.has-files h2,.upload-box.has-files>p{display:none}.upload-box.has-files small{margin-top:10px}.upload-button{cursor:pointer;position:relative}.upload-button:focus-within{outline-offset:4px;outline:3px solid #c5fa66}.upload-button input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.options{background:#1c2021;border:1px solid #364039;border-radius:14px;flex-direction:column;gap:17px;min-width:0;padding:24px;display:flex}.options-heading .overline{margin-bottom:7px;font-size:10px}.options h2{margin-bottom:6px;font-size:22px}.field-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;display:grid}.resize-control{background:#222d1c;border:1px solid #364039;border-radius:12px;padding:16px}.resize-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.resize-heading output{color:#c5fa66;font-weight:700}.resize-control input[type=range]{display:block}.resize-range-labels{color:#afb8b1;justify-content:space-between;margin-top:-4px;font-size:12px;display:flex}.resize-dimensions{color:#c5fa66;margin:10px 0 7px;font-size:14px;font-weight:650}.resize-preview{background:repeating-conic-gradient(#232829 0% 25%,#1c2021 0% 50%) 50%/16px 16px;border-radius:8px;width:100%;height:auto;display:block}.check-field{color:#afb8b1;cursor:pointer;align-items:center;gap:10px;min-height:44px;font-size:14px;display:flex}.check-field input{width:18px;height:18px;accent-color:var(--accent);flex-shrink:0}.preset-row{flex-wrap:wrap;gap:7px;display:flex}.preset{color:#afb8b1;background:#1c2021;border:1px solid #364039;border-radius:8px;min-height:44px;padding:9px 12px;font-size:12px;font-weight:550}.preset:hover{background:#232829;border-color:#364039}.preset[aria-pressed=true]{color:#c5fa66;background:#232829;border-color:#364039}.preset-detail{margin-left:4px;font-size:11px}.help-text{color:var(--muted);font-size:12px;line-height:1.75}.size-explanation{border-left:2px solid #364039;padding-left:12px}.process-actions{border-top:1px solid #364039;flex-direction:column;gap:10px;padding-top:18px;display:flex}.process-actions .button{width:100%}#requirement-summary{color:#c5fa66}.local-note{color:#a2edb8;justify-content:center;align-items:center;gap:8px;margin-top:24px;font-size:12px;display:flex}.file-list{counter-reset:file;flex-direction:column;gap:9px;margin-top:16px;display:flex}.file-row{background:#1c2021;border:1px solid #364039;border-radius:10px;align-items:center;gap:10px;min-width:0;padding:12px;display:flex}.file-row[draggable=true]{cursor:grab;counter-increment:file}.file-row[draggable=true]:before{content:counter(file, decimal-leading-zero);color:#c5fa66;font-size:11px;font-weight:650}.file-row img{object-fit:contain;background:#1c2021;border-radius:5px;width:42px;height:42px}.file-info{flex:1;min-width:0}.file-name{white-space:nowrap;text-overflow:ellipsis;font-size:13px;font-weight:600;overflow:hidden}.file-meta{color:var(--muted);font-size:12px}.file-actions{gap:4px;display:flex}.file-actions button{color:#afb8b1;background:#1c2021;border:1px solid #364039;border-radius:7px;min-width:44px;min-height:44px;font-size:17px}#order-help{margin-top:12px}.source-preview{text-align:center;background:#232829;border-radius:12px;margin-top:18px;padding:18px}.source-preview img{object-fit:contain;border-radius:6px;max-height:330px;margin:auto;display:block}.source-preview p{margin-top:12px}.crop-stage{touch-action:none;cursor:grab;background:#232829;border:1px solid #364039;border-radius:4px;width:auto;max-width:100%;height:auto;max-height:460px;margin:24px auto 14px;display:block;box-shadow:0 0 0 10px #0003}#crop-help{text-align:center;padding-top:8px}.status{color:#c5fa66;background:#232829;border-radius:10px;margin-top:20px;padding:15px 18px;font-size:14px}.status.error{color:#ffac91;background:#232829}.status.busy:before{content:"";border:2px solid #364039;border-top-color:var(--accent);border-radius:50%;width:14px;height:14px;margin-right:9px;animation:1s linear infinite spin;display:inline-block}.result-card{text-align:center;background:#19291e;border:1px solid #364039;border-radius:16px;margin-top:30px;padding:30px;scroll-margin-block:95px}.result-check{color:#a2edb8;background:#232829;border-radius:50%;justify-content:center;align-items:center;width:46px;height:46px;margin-bottom:14px;display:inline-flex}.result-card h2{font-size:27px}.result-card.unchanged{background:#1c2021;border-color:#364039}.result-card.unchanged .result-check{color:#afb8b1;background:#232829}.result-stats{text-align:left;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:25px 0;display:grid}.result-stats dl{background:#1c2021b3;border:1px solid #36403955;border-radius:10px;padding:14px 16px}.result-stats dt{color:var(--muted);font-size:12px}.result-stats dd{margin:6px 0 0;font-size:17px;font-weight:650}.result-comparison{grid-template-columns:1fr 1fr;gap:14px;margin-bottom:22px;display:grid}.result-comparison figure{background:#1c2021;border:1px solid #364039;border-radius:10px;min-width:0;margin:0;padding:12px}.result-comparison figcaption{color:var(--muted);text-align:left;margin-bottom:12px;font-size:12px}.result-comparison img{object-fit:contain;background:repeating-conic-gradient(#232829 0% 25%,#1c2021 0% 50%) 50%/16px 16px;border-radius:5px;width:100%;height:220px;margin:auto;display:block}.result-card p{margin-bottom:20px;font-size:14px}.result-card .button-row{justify-content:center}.result-card #download{min-width:210px}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=1000px){.tool-shell{padding:24px}.tool-workspace{gap:22px}.options{padding:20px}.file-row{flex-wrap:wrap}.file-actions{margin-left:auto}}@media (width<=700px){.tool-workspace{grid-template-columns:1fr}.tool-shell{border-radius:15px;padding:18px}.workflow{gap:8px;margin-bottom:20px;padding-bottom:20px}.workflow li{flex-wrap:wrap;gap:7px;font-size:12px;display:flex}.workflow li small{display:none}.workflow li>span{width:25px;height:25px;font-size:11px}.options{padding:20px 16px}.upload-box{min-height:270px;padding:26px 15px}.source-preview img{max-height:240px}.result-card{padding:24px 14px}.result-card h2{font-size:24px}.result-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.result-stats dl{padding:12px}.result-stats dd{font-size:16px}.result-comparison{gap:8px}.result-comparison figure{padding:8px}.result-comparison img{height:160px}.result-card .button-row{flex-direction:column}.result-card #download{min-width:0}.local-note{text-align:left;align-items:flex-start}.local-note svg{margin-top:3px}}@media (width<=360px){.tool-shell{padding:12px}.options{padding:18px 12px}.workflow li{gap:5px;font-size:11px}.workflow li>span{width:22px;height:22px}.field-row{gap:8px}.result-comparison img{height:120px}}
