#compressorPage .compressorLayout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;align-items:stretch;min-height:calc(100dvh - 165px)}
#compressorPage .panel{min-width:0;padding:22px;box-sizing:border-box}
#compressorPage h2{font-size:24px;margin:8px 0 12px;line-height:1.3}
#compressorPage p{font-size:15px;line-height:1.65}
#compressorPage [hidden]{display:none!important}
.compressorMain{display:flex;flex-direction:column}
#compressDrop{flex:1;border:1.5px dashed #849d8f;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:340px;padding:30px;text-align:center;box-sizing:border-box;cursor:pointer}
#compressDrop.drag{border-color:#dfbf70;background:#0b725a25}
#compressDrop svg{width:52px;height:52px;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
#compressDrop p,#compressDrop h2{margin:0}
#compressDrop .helper{font-size:13px}
#compressSource{display:flex;flex-direction:column;gap:24px;flex:1}
.compressFileHeading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
#compressFilename{font-size:23px;overflow-wrap:anywhere}
.compressEyebrow{font-size:12px;letter-spacing:.1em;font-weight:600}
.compressStats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}
.compressStats>div{padding:20px 16px;background:#0b725a15;border:1px solid #91b29c55;border-radius:12px;min-width:0}
.compressStats span{display:block;font-size:14px;margin-bottom:10px}.compressStats strong{font-size:clamp(18px,2vw,28px);overflow-wrap:anywhere}
.compressActions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.compressActions a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;box-sizing:border-box;padding:12px 16px;border:1px solid #b99a5b;border-radius:9px;min-height:44px;font-weight:600}
#compressorPage .compressorSettings h2{font-size:20px}
#compressSettings{border:0;padding:0;margin:18px 0}
#compressSettings legend{font-size:14px;font-weight:600;margin-bottom:12px}
#compressorPage .compressLevel{display:flex;align-items:flex-start;gap:10px;padding:12px 10px;border:1px solid #91b29c55;border-radius:10px;margin:8px 0;cursor:pointer}
#compressorPage .compressLevel:has(input:checked){border-color:#b3924d;background:#0b725a1a}
#compressorPage input[type=radio],#compressorPage input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:0 0 18px;padding:0;margin:3px 0;accent-color:#0b725a}
.compressLevel strong{display:block;font-size:15px}.compressLevel small{display:block;font-size:13px;line-height:1.5;margin-top:5px;font-weight:400}
#compressorPage .compressFlatten{display:flex;gap:10px;font-size:14px;line-height:1.5;margin:20px 0 10px;cursor:pointer}
#compressorPage .helper{font-size:13px;line-height:1.6;font-weight:400}
#compressorPage .compressorSettings>button{display:block;width:100%;margin:10px 0;min-height:44px}
.compressLibraryPicker{border-top:1px solid #91b29c55;margin-top:22px;padding-top:18px}.compressLibraryPicker label{font-size:14px}.compressLibraryPicker select{width:100%;box-sizing:border-box;margin:8px 0;min-height:44px}.compressLibraryPicker button{width:100%;min-height:42px}
#compressStatus{margin:20px 0 0;overflow-wrap:anywhere}
.compressProgressLabel{display:flex;justify-content:space-between;gap:12px;font-size:14px;line-height:1.6}#compressProgress{width:100%;height:10px;accent-color:#0b725a;margin-top:8px}
html[data-theme=light] #compressorPage h2{color:#74213f}html[data-theme=light] .compressStats{color:#205345}
@media(max-width:900px){#compressorPage .compressorLayout{grid-template-columns:minmax(0,1fr) 280px}#compressorPage .panel{padding:16px}.compressStats{grid-template-columns:1fr;gap:8px}.compressStats>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px}.compressStats span{margin:0}.compressStats strong{font-size:22px}}
@media(max-width:650px){#compressorPage .compressorLayout{grid-template-columns:1fr;min-height:0}#compressDrop{min-height:280px;padding:24px 14px}.compressFileHeading{flex-wrap:wrap}#compressorPage h2,#compressFilename{font-size:21px}.compressActions>*{flex:1 1 130px;text-align:center}#compressorPage .compressorSettings{padding:18px}}
#compressorPage .compressLevel small{letter-spacing:normal;text-transform:none}
@media(min-width:651px){#compressorPage .compressorLayout{height:calc(100dvh - 170px);min-height:360px}#compressorPage .compressorMain,#compressorPage .compressorSettings{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}}
