.scale-heading .scale-adjust{align-items:center;gap:8px}.scale-heading .scale-adjust input{width:68px;font-size:30px}.scale-step-button{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0;border:1px solid #bdcbb4;border-radius:8px;background:#f1f6e8;color:#193f35;font-size:22px;line-height:1;touch-action:manipulation}.scale-step-button:hover:enabled{background:#deedc6}.scale-step-button:disabled{opacity:.35;cursor:not-allowed}.scale-help{font-size:10px;color:#819076;margin:7px 0 0}
.labs-home{display:inline-block;color:#536c54;font-size:12px;text-decoration:none;margin-bottom:26px;min-height:24px}.labs-home:hover{text-decoration:underline}
:root{font-family:system-ui,-apple-system,'Segoe UI','Yu Gothic',Meiryo,sans-serif;color:#193d35;background:#f5f5ef;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,a{font:inherit}button,a,select,input[type=range]{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,.dropzone:focus-visible{outline:3px solid #4c8276;outline-offset:4px}header{height:94px;border-bottom:1px solid #dfe3d9;display:flex;align-items:center;justify-content:space-between;padding:0 6%}.brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;font-size:25px;font-weight:800;letter-spacing:2px}.brand span{font-size:10px;letter-spacing:2px;margin-left:12px;font-weight:500}.local{font-size:12px;color:#63776b;display:flex;gap:8px;align-items:center}.local i{width:6px;height:6px;background:#6c9157;border-radius:50%}main{max-width:1280px;margin:auto;padding:50px 6% 25px}.eyebrow{font-size:10px;letter-spacing:3px;color:#788673;margin:0 0 13px}h1{font-size:clamp(28px,3.4vw,42px);letter-spacing:-1px;margin:0;font-weight:700}.intro>p:last-child{color:#788276;font-size:13px;margin:17px 0 33px}.mobile{display:none}.workspace{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);border:1px solid #d8dfd3;border-radius:18px;overflow:hidden;background:#fff}.preview-panel{min-width:0;display:flex;flex-direction:column;padding:24px;background:#fafbf6}.panel-top{display:flex;justify-content:space-between;font-size:11px;color:#63776b;margin-bottom:20px}.panel-top span:last-child{font-size:10px;letter-spacing:1px}.dropzone{min-height:390px;border:1.5px dashed #c4cfc0;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;background:radial-gradient(circle at center,#eef2e5,transparent 65%)}.dropzone.dragover{border-color:#173f38;background:#e7efdc}.dropzone input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.upload-icon{font-size:48px;font-weight:400;width:90px;height:90px;background:#e4ebdb;border-radius:25px;text-align:center;margin-bottom:24px;line-height:86px;color:#577e5d}.dropzone strong{font-size:17px;margin-bottom:10px}.dropzone>span:not(.upload-icon){font-size:12px;color:#748270}.dropzone small{margin-top:27px;font-size:10px;color:#8b9486}.image-stage{height:390px;border-radius:12px;position:relative;background-color:#f3f3ec;background-image:linear-gradient(45deg,#e5e8dc 25%,transparent 25%),linear-gradient(-45deg,#e5e8dc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e5e8dc 75%),linear-gradient(-45deg,transparent 75%,#e5e8dc 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0;display:flex;align-items:center;justify-content:center;overflow:hidden}.image-stage img{width:100%;height:100%;object-fit:contain;padding:16px}.preview-badge{position:absolute;left:12px;top:12px;font-size:10px;background:#fff;padding:5px 10px;border-radius:20px}.image-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:20px}.image-meta div{min-width:0}.image-meta small,.dimensions small{display:block;font-size:10px;color:#8a9586;margin-bottom:6px}.image-meta strong{display:block;font-weight:500;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.text-button{border:0;background:transparent;font-size:11px;color:#597052;white-space:nowrap}.controls{padding:26px 28px;border-left:1px solid #dce2d5}.step{display:flex;gap:12px;align-items:center;margin-bottom:24px}.step span{font-size:10px;color:#8a957f;letter-spacing:1px}.step h2{font-size:13px;margin:0;font-weight:600}.scale-heading{display:flex;justify-content:space-between;align-items:center}.controls label{font-size:11px;color:#71816a}.scale-heading>div{display:flex;align-items:baseline;color:#193d35;font-size:20px;gap:3px}.scale-heading input{width:85px;text-align:right;font-size:32px;font-weight:600;border:0;background:transparent;color:inherit;padding:0;appearance:textfield}.scale-heading input::-webkit-inner-spin-button{appearance:none}input[type=range]{width:100%;accent-color:#244e3c;margin:14px 0 4px}.range-label{display:flex;justify-content:space-between;font-size:10px;color:#8d9885}.presets{display:flex;gap:8px;margin-top:15px}.presets button{flex:1;padding:8px 0;border:1px solid #d9e1d0;background:#fff;border-radius:6px;font-size:11px;color:#6e7d62}.presets button.selected{background:#e8efd9;border-color:#a7b893;color:#224a36}.dimensions{display:flex;justify-content:space-between;align-items:center;padding:16px;background:#f4f6ef;border-radius:8px;margin-top:22px}.dimensions strong{font-size:12px;font-weight:500}.dimensions>span{color:#94a087;font-size:18px}.second{margin-top:25px;margin-bottom:17px}.controls select{width:100%;padding:11px 10px;margin:7px 0 15px;border:1px solid #dbe2d2;border-radius:7px;font-size:11px;background:#fff;color:#314b39}#quality-row{margin-bottom:15px}#quality-row label{display:flex;justify-content:space-between}#quality-row small{font-size:10px;color:#7c8874}.primary,.download{width:100%;border:0;border-radius:8px;padding:15px 17px;background:#193f35;color:#eafaee;display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:500;margin-top:4px;text-decoration:none}.primary:disabled{background:#dde4d4;color:#91a081;cursor:not-allowed}.download{background:#d9eeaa;color:#274734;justify-content:center;margin-top:9px}.status{font-size:10px;line-height:1.7;color:#819076;min-height:17px;margin:12px 0 0}.status.error{color:#a84432}footer{display:flex;justify-content:space-between;gap:20px;margin-top:25px;color:#7b8972}footer span{font-size:11px;padding-top:4px}footer p{font-size:9px;line-height:1.8;margin:0;text-align:right}[hidden]{display:none!important}@media(max-width:760px){header{height:74px;padding:0 5%}.brand{font-size:21px}.brand span{display:none}.local{font-size:9px}main{padding:32px 5% 25px}.workspace{grid-template-columns:1fr}.controls{border-left:0;border-top:1px solid #dce2d5;padding:24px}.preview-panel{padding:20px}.dropzone,.image-stage{min-height:270px;height:270px}.intro>p:last-child{font-size:11px;line-height:1.8;margin-bottom:24px}footer{flex-direction:column;gap:10px}footer p{text-align:left}.mobile{display:block}}

html{scroll-behavior:smooth;scroll-padding-top:25px}header nav,.footer-links nav{display:flex;gap:22px}header nav a,.footer-links a{color:#667a6b;text-decoration:none;font-size:12px}header nav a:hover,.footer-links a:hover{text-decoration:underline}.intro{position:relative}.intro>p:last-child{margin-bottom:20px}.feature-pills{display:flex;gap:8px;margin:20px 0 30px;flex-wrap:wrap}.feature-pills span{border:1px solid #d5dfcb;border-radius:30px;padding:6px 12px;color:#536c54;font-size:11px}.skip-link{position:absolute;top:-80px;left:20px;background:#fff;padding:15px;z-index:10}.skip-link:focus{top:10px}.image-stage{align-items:stretch;justify-content:stretch;overflow:auto}.compare-canvas{position:relative;flex-shrink:0;width:100%;height:100%}.compare-canvas img{display:block;width:100%;height:100%;object-fit:contain;padding:0}.compare-canvas #before{position:absolute;inset:0;image-rendering:auto}.image-stage.actual .compare-canvas{width:var(--image-width);height:var(--image-height)}.image-stage.actual img{object-fit:fill}.comparison-tools{padding:16px 0 0}.comparison-tools>div{display:flex;align-items:center;justify-content:space-between}.comparison-tools label{font-size:12px}.comparison-tools small{display:block;font-size:10px;color:#6a7e68;line-height:1.7}.queue-heading{display:flex;justify-content:space-between;align-items:center;margin-top:18px;font-size:10px;color:#73866e;gap:8px}.queue{display:grid;gap:6px;margin-top:10px;max-height:220px;overflow:auto}.queue-item{display:flex;justify-content:space-between;gap:12px;border:1px solid #dce4d4;border-radius:7px;background:#fff;padding:10px;color:#36513d;text-align:left;min-width:0}.queue-item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.queue-item small{font-size:10px;white-space:nowrap}.queue-item[aria-pressed=true]{border-color:#719475;background:#eaf1de}.setting-note{display:block;color:#7c8874;font-size:10px;line-height:1.7;margin:-4px 0 17px}progress{width:100%;height:8px;accent-color:#244e3c;margin-top:18px}.cancel{display:block;margin:10px auto}.guide,.faq{margin-top:64px}.section-heading h2{font-size:23px;margin:0 0 24px}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.guide-grid article{border-top:1px solid #ced8c6;padding:20px 0}.guide-grid article>span{font-size:11px;color:#79936b}.guide-grid h3{font-size:15px;margin:14px 0 10px}.guide-grid p,.faq p{color:#6a7c68;font-size:13px;line-height:1.9;margin:0}.faq details{border-top:1px solid #d5ddce;padding:20px 0}.faq summary{cursor:pointer;font-size:14px;font-weight:600}.faq details p{margin-top:15px;max-width:850px}.footer-links{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #d5ddce;margin-top:32px;padding-top:22px;gap:15px;flex-wrap:wrap;font-size:10px;color:#829077}.footer-links nav{gap:16px;flex-wrap:wrap}.footer-links a{font-size:10px}.document{max-width:880px}.document h1{font-size:32px}.document h2{font-size:19px;margin:32px 0 10px}.document p,.document li{font-size:14px;color:#647761;line-height:1.9}.document .back{color:#365f43;font-size:13px}.document ul{padding-left:22px}@media(max-width:760px){header nav{display:none}.guide-grid{grid-template-columns:1fr;gap:8px}.guide,.faq{margin-top:40px}.section-heading h2{font-size:20px}.feature-pills span{font-size:10px}.queue-heading{flex-wrap:wrap}.footer-links{align-items:flex-start}.local{max-width:120px;text-align:right}.dropzone strong{font-size:15px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Readable controls and comparison transparency */
.controls label{font-size:12px}.controls select{font-size:13px;padding:12px}.primary,.download{font-size:14px}.status{font-size:12px}.image-meta strong{font-size:12px}.dimensions strong{font-size:13px}.scale-help,.setting-note{font-size:11px}.compare-canvas #before{background-color:#f3f3ec;background-image:linear-gradient(45deg,#e5e8dc 25%,transparent 25%),linear-gradient(-45deg,#e5e8dc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e5e8dc 75%),linear-gradient(-45deg,transparent 75%,#e5e8dc 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.image-stage.actual #before{image-rendering:auto}.text-button{min-height:32px}.scale-step-button{min-width:42px;height:42px}.dropzone>span:not(.upload-icon){font-size:13px}.dropzone small{font-size:11px}

.tool-tabs{display:flex;gap:6px;margin:0 0 16px;padding:5px;width:fit-content;border:1px solid #d4dfcd;border-radius:12px;background:#eaf0e0}.tool-tabs button{border:0;border-radius:8px;padding:12px 22px;background:transparent;color:#627a58;font-size:14px}.tool-tabs button[aria-selected=true]{background:#193f35;color:#fff;box-shadow:0 2px 5px #193f3520}.tool-tabs button:disabled{opacity:.5;cursor:wait}.crop-help{font-size:12px;line-height:1.8;color:#6a7e68;margin:0 0 20px}.crop-preset{width:100%;border:1px solid #bed19e;border-radius:7px;background:#edf5df;color:#375b39;padding:11px;margin:0 0 20px;font-size:12px}.crop-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.crop-fields input,#crop-quality{display:block;width:100%;padding:10px;margin-top:7px;border:1px solid #cedac3;border-radius:7px;background:#fff;color:#214a38;font-size:14px}.crop-summary{padding:16px;background:#f4f6ef;border-radius:8px;margin-top:18px}.crop-summary small{display:block;font-size:11px;color:#819076}.crop-summary strong{display:block;font-size:16px;margin:8px 0}.crop-summary button{padding:0}#crop-quality-row{margin:0 0 16px}.spotify-export{border:1px solid #d4e3bf;padding:14px;border-radius:8px;background:#f3f8e9;margin-bottom:20px}.spotify-export label{display:flex;align-items:center;gap:8px;color:#365b3d}.spotify-export input{accent-color:#193f35}.spotify-export p,.spotify-export a{font-size:11px;line-height:1.8;color:#6a7e68}.crop-surface{position:absolute;overflow:hidden;touch-action:none;cursor:crosshair;user-select:none}.crop-box{position:absolute;border:2px solid #dcf5a9;box-shadow:0 0 0 20000px #08190a75;cursor:move;touch-action:none}.crop-box:focus-visible{outline:2px solid #fff;outline-offset:2px}.crop-grid{position:absolute;inset:0;background-image:linear-gradient(to right,transparent 33%,#ffffff70 33%,#ffffff70 33.3%,transparent 33.3%,transparent 66.6%,#ffffff70 66.6%,#ffffff70 66.9%,transparent 66.9%),linear-gradient(to bottom,transparent 33%,#ffffff70 33%,#ffffff70 33.3%,transparent 33.3%,transparent 66.6%,#ffffff70 66.6%,#ffffff70 66.9%,transparent 66.9%);pointer-events:none}.crop-box button{position:absolute;width:32px;height:32px;background:transparent;border:0;padding:0;touch-action:none}.crop-box button::after{content:'';position:absolute;inset:8px;border-radius:3px;background:#dcf5a9;border:1px solid #193f35}.crop-box [data-corner=nw]{left:-16px;top:-16px;cursor:nwse-resize}.crop-box [data-corner=ne]{right:-16px;top:-16px;cursor:nesw-resize}.crop-box [data-corner=sw]{left:-16px;bottom:-16px;cursor:nesw-resize}.crop-box [data-corner=se]{right:-16px;bottom:-16px;cursor:nwse-resize}.preview-badge{pointer-events:none;z-index:2}@media(max-width:760px){.tool-tabs{width:100%}.tool-tabs button{flex:1;padding:12px}.crop-fields{gap:10px}.crop-box button{width:36px;height:36px}.crop-box button::after{inset:9px}}

.audio-panel{display:grid;grid-template-columns:1.35fr 1fr;border:1px solid #d8dfd3;border-radius:20px;overflow:hidden;background:#fff}.audio-intro,.audio-settings{padding:28px}.audio-intro{background:#fafbf7}.audio-intro h2{font-size:28px;margin:12px 0}.audio-intro>p{line-height:1.8}.audio-settings{border-left:1px solid #d8dfd3}.audio-settings label{display:block;margin:20px 0 8px;font-size:13px}.audio-settings select{width:100%;height:46px;padding:0 12px;border:1px solid #d8dfd3;border-radius:7px;background:white;color:#193d35}.audio-settings audio{width:100%;margin:20px 0 4px}.audio-settings .setting-note{display:block;line-height:1.8}.audio-panel .dropzone{margin:24px 0;min-height:210px}.audio-settings progress{width:100%;margin-top:16px}.audio-intro strong{overflow-wrap:anywhere}.tool-tabs{flex-wrap:wrap}@media(max-width:760px){.audio-panel{grid-template-columns:1fr}.audio-settings{border-left:0;border-top:1px solid #d8dfd3}.audio-intro,.audio-settings{padding:22px}.tool-tabs button{flex:1;white-space:nowrap;font-size:12px}}

.audio-panel .dropzone.drag{border-color:#173f38;background:#e7efdc}

.category-tabs{display:flex;gap:28px;border-bottom:1px solid #d8dfd3;margin:0 0 22px}.category-tabs button{padding:12px 6px;border:0;border-bottom:3px solid transparent;background:transparent;color:#728070;font-size:19px;font-weight:650;min-width:86px}.category-tabs button[aria-selected=true]{color:#193f35;border-bottom-color:#193f35}.category-tabs button:disabled{opacity:.5;cursor:wait}@media(max-width:760px){.category-tabs{gap:16px}.category-tabs button{font-size:17px;min-width:74px}}
