.work-heading{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:35px 0 27px}
.work-heading .eyebrow{font-size:9px;color:var(--muted)}
.work-heading h1{font-size:30px;letter-spacing:-.04em;margin:10px 0}
.work-heading p:not(.eyebrow){font-size:12px;color:var(--muted)}
.local-badge{display:flex;align-items:center;gap:7px;font-size:10px;color:#536659}
.local-badge svg{width:16px;height:16px}
.workspace{display:grid;grid-template-columns:195px minmax(0,1fr) 255px;border:1px solid var(--line);border-radius:8px;background:#fff;overflow:hidden;min-height:595px}
.queue-panel{padding:19px 14px;display:flex;flex-direction:column;border-right:1px solid var(--line);background:#fbfbf8}
.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:6px;margin-bottom:24px}
.panel-heading h2{font-size:13px;font-weight:600;letter-spacing:0;line-height:1.5}
.panel-heading>svg{width:16px;height:16px}
.panel-heading h2 span{margin-left:5px;color:var(--muted);font-size:10px}
.panel-heading .icon-button{padding:5px;background:#fff}
.panel-heading svg{width:16px;height:16px}
.file-list{list-style:none;padding:0;margin:0 0 12px}
.file-row{display:flex;align-items:center;gap:4px;margin:0 0 8px;border:1px solid transparent;border-radius:5px;padding:5px}
.file-row.selected{background:#edf1ff;border-color:#cdd8ff}
.file-select{display:flex;align-items:center;gap:9px;border:0;background:transparent;padding:0;text-align:left;min-width:0;flex:1}
.file-select img{width:34px;height:38px;object-fit:cover;border-radius:3px;flex:none}
.file-select>span{min-width:0}
.file-select strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:500;max-width:90px}
.file-select small{display:block;font-size:9px;color:var(--muted);margin-top:5px}
.file-remove{background:none;border:0;padding:4px;line-height:1;color:#67737e;font-size:14px}
.queue-panel>#clear{font-size:10px;margin-top:12px}
.queue-note{border-top:1px solid var(--line);padding-top:15px;margin-top:auto;display:flex;gap:7px;color:var(--muted)}
.queue-note svg{width:13px;height:13px;margin-top:2px}
.queue-note p{font-size:9px}
.queue-panel>#queue-empty{font-size:11px;color:var(--muted);margin-bottom:20px}
.work-center{min-width:0;display:flex;flex-direction:column}
.canvas-toolbar{min-height:55px;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.canvas-toolbar>span{font-size:10px;color:var(--muted);max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.view-modes{display:flex;gap:3px;background:#f2f3f0;border-radius:4px;padding:3px}
.view-modes button{display:flex;align-items:center;gap:5px;border:0;border-radius:3px;background:transparent;padding:5px 8px;font-size:9px;white-space:nowrap}
.view-modes button[aria-pressed=true]{background:white;box-shadow:0 1px 3px #0000000a;color:var(--blue)}
.view-modes svg{width:12px;height:12px}
.canvas-area{background:#f3f3ee;flex:1;min-height:410px;position:relative;display:flex;align-items:center;justify-content:center;padding:20px}
.canvas-area.drag-over{outline:3px dashed var(--blue);outline-offset:-10px;background:#edf1ff}
.empty-stage{text-align:center;padding:10px;max-width:450px}
.upload-art{position:relative;width:64px;height:70px;margin:0 auto 22px;border:1px solid #c8d3ff;border-radius:6px;background:#e6ecff;transform:rotate(-7deg);display:grid;place-items:center;color:var(--blue)}
.upload-art>svg{width:28px;height:28px}
.upload-art>span{position:absolute;bottom:-6px;right:-9px;background:var(--blue);color:white;border:3px solid #f3f3ee;border-radius:50%;width:26px;height:26px;display:grid;place-items:center}
.upload-art>span svg{width:13px;height:13px}
.empty-stage h2{font-size:23px;letter-spacing:-.04em}
.empty-stage>p{font-size:12px;color:var(--muted);margin:8px 0 20px}
.empty-stage .button{font-size:12px;min-height:42px;padding:10px 20px}
.empty-stage .button svg{width:17px;height:17px}
.empty-stage>.micro{font-size:9px;margin:14px 0 22px}
.sample-picker{border-top:1px solid #dedfd8;padding-top:18px}
.sample-picker>span{font-size:10px;color:var(--muted)}
.sample-picker>div{display:flex;justify-content:center;gap:12px;margin-top:12px}
.sample-picker button{border:0;background:transparent;padding:0}
.sample-picker button img{width:56px;height:43px;object-fit:cover;border-radius:4px;transition:transform .2s}
.sample-picker button:hover img{transform:translateY(-3px)}
.sample-picker button span{display:block;font-size:8px;margin-top:5px;color:var(--muted)}
.image-stage{width:100%;display:flex;gap:12px;justify-content:center;align-items:center}
.image-stage figure{margin:0;flex:1;min-width:0;text-align:center}
.image-stage img{width:100%;height:350px;object-fit:contain;filter:drop-shadow(0 4px 6px #0000000b)}
.image-stage figcaption{font-size:9px;color:var(--muted);margin-top:12px}
.image-stage p{font-size:12px;color:var(--muted)}
.stats{display:flex;align-items:center;gap:20px;border-top:1px solid var(--line);padding:19px 20px}
.stats>div{display:flex;flex-direction:column;gap:8px}
.stats>div>span{font-size:9px;color:var(--muted)}
.stats strong{font-size:16px;font-weight:550}
.stats-arrow svg{width:15px;height:15px;color:#9298a0}
.stats .saving-stat{margin-left:auto;text-align:right}
.saving-stat strong{font-size:12px;color:#367754}
.saving-stat strong.increased{color:#a95722}
#status{min-height:40px;padding:0 20px 12px;font-size:10px;color:var(--muted)}
.settings-panel{padding:20px;border-left:1px solid var(--line);display:flex;flex-direction:column;background:#fff}
.settings-panel fieldset{margin:0;padding:0;border:0;min-width:0}
.settings-panel label{display:block;font-size:10px;font-weight:600;margin:18px 0 8px}
.settings-panel label:first-of-type{margin-top:0}
.settings-panel select{width:100%;background:#fbfbf9;border:1px solid var(--line);border-radius:4px;padding:10px;font-size:11px;color:var(--ink)}
.settings-panel input[type=range]{width:100%;margin:4px 0;accent-color:var(--blue);cursor:pointer}
.setting-title{display:flex;align-items:end;justify-content:space-between;margin-top:20px}
.setting-title label{margin:0 0 8px!important}
.setting-title output{font-size:10px;color:var(--blue);padding:3px 7px;background:#eef1ff;border-radius:3px;margin-bottom:7px}
.settings-panel .micro{font-size:9px;margin-top:7px;line-height:1.6}
.settings-panel #apply-all{font-size:10px;min-height:35px;padding:8px 5px;margin-top:20px;gap:6px}
.settings-panel #apply-all svg{width:14px;height:14px}
.export-bottom{margin-top:auto;padding-top:22px;text-align:center}
.export-bottom>span{font-size:10px;color:var(--muted);display:block;margin-bottom:13px}
.export-bottom .button{font-size:11px;padding:12px 7px;gap:7px;min-height:43px}
.export-bottom svg{width:15px;height:15px}
html[lang=ja] .work-heading h1{font-size:28px}
html[lang=ja] .empty-stage h2{font-size:21px}
html[lang=ja] .panel-heading h2{font-size:12px}
html[lang=ja] .view-modes button{font-size:9px}
@media(min-width:1450px){.workspace{grid-template-columns:210px minmax(0,1fr) 270px}
.canvas-area{min-height:465px}
.image-stage img{height:390px}
}
@media(max-width:1050px){.workspace{grid-template-columns:155px minmax(0,1fr) 220px}
.queue-panel{padding:17px 10px}
.settings-panel{padding:18px 14px}
.file-select strong{max-width:63px}
.file-select img{width:28px;height:33px}
.file-select{gap:6px}
.canvas-toolbar>span{max-width:130px}
.view-modes button{padding:5px}
.empty-stage h2{font-size:20px}
.stats{gap:10px;padding:15px}
.stats strong{font-size:14px}
.image-stage img{height:300px}
.canvas-area{padding:12px}
.view-modes button[data-view=compare] span{display:none}
}
@media(max-width:760px){.work-heading{padding:28px 0 22px;display:block}
.work-heading h1{font-size:26px}
.local-badge{margin-top:15px}
.workspace{grid-template-columns:1fr;overflow:visible}
.queue-panel{border-right:0;border-bottom:1px solid var(--line);padding:15px}
.panel-heading{margin-bottom:12px}
.file-list{display:flex;gap:7px;overflow-x:auto;margin:0}
.file-row{min-width:140px;margin:0}
.file-select strong{max-width:80px}
.queue-panel>#clear{margin-top:10px}
.queue-note{display:none}
.queue-panel>#queue-empty{margin:0}
.canvas-toolbar{padding:12px}
.canvas-area{min-height:390px}
.empty-stage{padding:10px 0}
.empty-stage h2{font-size:23px}
.image-stage img{height:290px}
.settings-panel{border-left:0;border-top:1px solid var(--line);padding:20px}
.settings-panel label{font-size:12px}
.settings-panel select{font-size:13px}
.settings-panel .micro{font-size:11px}
.settings-panel #apply-all{font-size:12px}
.export-bottom .button{font-size:13px}
.settings-panel .panel-heading h2{font-size:16px}
.stats>div>span{font-size:10px}
.stats strong{font-size:16px}
#status{font-size:11px}
.view-modes button[data-view=compare] span{display:inline}
.view-modes button{padding:6px}
.canvas-toolbar>span{max-width:125px}
html[lang=ja] .work-heading h1{font-size:23px}
html[lang=ja] .empty-stage h2{font-size:21px}
}
