.upscale-workspace{scroll-margin-top:22px}.upscale-columns{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);gap:24px}.upscale-source,.upscale-result-card,.upscale-history{padding:24px;min-width:0}.upscale-result-stage{min-height:390px;display:flex;align-items:center;justify-content:center;border:1px solid #efe6eb;border-radius:12px;background:#faf7f8;overflow:hidden}.upscale-result-stage>img{width:100%;height:390px;object-fit:contain}.upscale-workspace .analyze-button>svg:first-child{margin-right:0}.upscale-workspace button:disabled{opacity:.5;cursor:not-allowed}.upscale-workspace progress{width:min(220px,100%);height:7px;accent-color:#bd4969;margin-top:16px}.upscale-workspace .cutout-placeholder{width:80%}.upscale-history{margin-top:24px}.upscale-history-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.upscale-history-heading h3{font-size:15px;margin:0 0 8px}.upscale-history-heading span,.upscale-history-empty{font-size:11px;color:#a08594;line-height:1.8}.upscale-history-heading button{background:white;border:1px solid #e8ccd8;border-radius:7px;padding:7px 12px;font:inherit;font-size:11px;color:#a35473}.upscale-history-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.upscale-history-empty{grid-column:1/-1;margin:15px 0}.upscale-history-item{min-width:0;border:1px solid #eddee5;border-radius:10px;overflow:hidden;background:#fffcfd}.upscale-history-preview{display:block;width:100%;height:145px;border:0;background:#f8f2f5;padding:0;cursor:pointer}.upscale-history-preview img{width:100%;height:100%;object-fit:contain}.upscale-history-item footer{padding:10px;display:flex;flex-wrap:wrap;gap:7px;align-items:center}.upscale-history-item time{display:block;width:100%;font-size:10px;line-height:1.6;color:#a08694;overflow-wrap:anywhere}.upscale-history-item .cutout-download{font-size:10px;padding:6px 8px}.upscale-workspace .cutout-file-row>span{min-width:0}.upscale-workspace .result-status{flex-shrink:0}.tool-switch{max-width:100%;flex-wrap:wrap;justify-content:center}.header nav{flex-wrap:wrap;justify-content:center}.upscale-workspace [hidden]{display:none!important}
@media(max-width:900px){.upscale-history-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.header{height:auto;min-height:84px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px;gap:12px}.header nav{gap:16px}.tool-switch button{padding:10px 15px}}
@media(max-width:720px){.upscale-columns{grid-template-columns:1fr;gap:18px}.upscale-source,.upscale-result-card,.upscale-history{padding:20px}.upscale-result-stage{min-height:310px}.upscale-result-stage>img{height:310px}.upscale-history-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.upscale-history-preview{height:140px}.header nav{height:auto;min-height:32px;gap:10px 19px}.tool-switch button{padding:10px 12px}.upscale-workspace .cutout-intro{flex-wrap:wrap}.upscale-workspace .cutout-intro>.result-status{margin-top:0}.upscale-workspace .cutout-placeholder{margin:12px;padding:18px}}
