:root{font-family:Pretendard,'Malgun Gothic',Apple SD Gothic Neo,Arial,sans-serif;color:#102638;background:#f7f6fa;--purple:#7626cf;--line:#e4dfec}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;background:white;border:1px solid var(--line);border-radius:9px;padding:11px 15px;color:inherit}button:hover{border-color:#9a64da}button:disabled{opacity:.5;cursor:default}.primary{background:var(--purple);color:white;border:0;font-weight:700;padding:14px 20px}.hidden{display:none!important}aside{width:235px;background:white;border-right:1px solid var(--line);position:fixed;inset:0 auto 0 0;padding:24px 15px;overflow:auto}.logo{width:190px;margin:0 5px 20px}nav button{display:block;width:100%;text-align:left;border:0;background:transparent;margin:3px 0;font-weight:600}.group{font-size:12px;color:#80768c;margin:15px 8px 5px;font-weight:700}.active{background:#eee3fb!important;color:var(--purple)}.asidefoot{font-size:12px;color:#8a8196;margin:20px 8px}main{margin-left:235px;min-height:100vh}header{display:flex;align-items:center;justify-content:space-between;padding:15px 28px;background:white;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:3}#content{max-width:1200px;margin:auto;padding:26px}h1{margin:0 0 10px;font-size:27px}h2{font-size:19px;margin:10px 0}p{line-height:1.5}.muted,small{color:#716a7e}.hero{background:linear-gradient(110deg,#eee3ff,#f9f5ff);border:1px solid #e4d4fa;padding:25px;border-radius:16px;margin-bottom:20px}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:12px}.card,.panel{background:white;border:1px solid var(--line);border-radius:14px;padding:20px}.card{text-align:left;min-height:105px}.card b{display:block;font-size:17px;margin:7px 0}.card .sym{font-size:24px;color:var(--purple)}.panel{margin-bottom:15px}.drop{border:2px dashed #c9b1ea;background:#faf7ff;border-radius:12px;text-align:center;padding:25px;cursor:pointer}.drop.drag{background:#ead9ff}.files{margin:12px 0}.file{display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:9px 0}.file img,.file video{width:60px;height:48px;object-fit:contain}.file .name{flex:1;min-width:0;overflow-wrap:anywhere}.file button{padding:7px 10px}.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:12px 0}label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}input,select,textarea{border:1px solid #dcd5e8;padding:11px;border-radius:8px;width:100%;background:white;color:inherit}input[type=checkbox]{width:auto}.check{flex-direction:row;align-items:center}.row{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.status{white-space:pre-wrap;overflow-wrap:anywhere;color:#63449a;margin:12px 0}progress{width:100%;height:14px;accent-color:var(--purple)}.job{background:white;border:1px solid var(--line);border-radius:12px;padding:15px;margin:10px 0}.job p{margin:6px 0;overflow-wrap:anywhere}.login{max-width:400px;margin:8vh auto;padding:30px;background:white;border:1px solid var(--line);border-radius:18px}.login img{width:100%;margin-bottom:20px}.login form{display:grid;gap:15px}.mobilelogo,#bottom{display:none}.preview{max-width:100%;max-height:300px;display:block;margin:12px auto}.badge{background:#eee3fb;color:#6424ab;border-radius:20px;padding:5px 10px;font-size:12px}.notice{background:#fff7e6;border:1px solid #f1dba7;padding:12px;border-radius:10px;font-size:14px;margin:12px 0}a.download{display:inline-block;text-decoration:none;background:#7626cf;color:white;border-radius:8px;padding:12px 18px} @media(max-width:760px){aside{display:none}main{margin:0;padding-bottom:82px}header{padding:10px 12px}.mobilelogo{display:block;width:135px}#crumb{display:none}#content{padding:14px 10px}h1{font-size:23px}.hero,.panel{padding:15px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.card{padding:14px 10px;min-height:105px}.card b{font-size:15px}#bottom{display:flex;position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid var(--line);padding:4px 0 max(5px,env(safe-area-inset-bottom));z-index:5}#bottom button{text-align:center;font-size:22px;margin:0;padding:6px 0}#bottom span{display:block;font-size:12px}.fields{grid-template-columns:1fr 1fr}.fields label{min-width:0}.login{margin:4vh 12px}.drop{padding:20px 10px}input,select,textarea{font-size:16px}.row .primary{flex:1}.file{gap:5px}.file button{padding:8px}.preview{max-height:240px}}
/* PDF page workspace */
.pdf-privacy{margin:0 0 12px;color:#67577a;font-size:14px}.pdf-fileline{margin-top:12px}.pdf-fileline b{overflow-wrap:anywhere;min-width:0}.pdf-fileline button{margin-left:auto}.pdf-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:8px}.pdf-title h2{margin:0}.pdf-count{font-size:14px;color:#7626cf}.pdf-toolbar{margin:12px 0}.pdf-toolbar button{font-size:13px;padding:9px 12px}.pdf-danger,.pdf-remove{color:#b82d42}.pdf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;align-items:start}.pdf-page{min-width:0;border:2px solid #e4dfec;border-radius:10px;padding:8px;background:#faf9fc;cursor:grab}.pdf-page.selected{border-color:#a46ae9;background:#f7f0ff}.pdf-page.excluded{border-color:#e4dfec;background:#f4f3f5}.pdf-page.excluded .pdf-sheet{opacity:.48}.pdf-page-label{display:flex;flex-direction:row;align-items:center;gap:6px;margin-bottom:7px;flex-wrap:wrap;cursor:pointer}.pdf-page-label input{accent-color:var(--purple);width:16px;height:16px;margin:0}.pdf-page-label small{font-size:11px;font-weight:400;margin-left:auto}.pdf-sheet{height:180px;display:flex;align-items:center;justify-content:center;background:#e8e5ec;border-radius:5px;overflow:hidden;padding:7px}.pdf-sheet img{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}.pdf-sheet img[data-rotation="90"]{transform:rotate(90deg) scale(.78)}.pdf-sheet img[data-rotation="180"]{transform:rotate(180deg)}.pdf-sheet img[data-rotation="270"]{transform:rotate(270deg) scale(.78)}.pdf-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-top:8px}.pdf-actions button{padding:7px 0;font-size:17px;min-width:0}.pdf-page.drop-target{border-color:#7626cf;outline:2px dashed #7626cf}.pdf-page.dragging{opacity:.55}.pdf-preview .muted{font-size:13px;margin:8px 0 14px}.pdf-preview .pdf-grid>p{grid-column:1/-1}.pdf-page:focus-within{outline:1px solid #a46ae9}@media(max-width:760px){.pdf-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pdf-sheet{height:155px}.pdf-page{padding:6px;cursor:default}.pdf-actions button{min-height:40px}.pdf-toolbar button{font-size:12px;padding:9px}.pdf-count{font-size:13px}.pdf-fileline button{margin-left:0}.pdf-page-label small{margin-left:0}.pdf-preview{padding:12px}}
/* Unified PDF editor */
.pdf-source-list{display:grid;gap:8px;margin-top:12px}.pdf-source{border:1px solid var(--line);border-left:5px solid var(--source);padding:10px;border-radius:9px;background:#faf9fc}.pdf-source-name{flex:1;min-width:140px;overflow-wrap:anywhere}.pdf-source-name small{display:block;margin-top:4px}.pdf-source button{padding:7px 10px;font-size:13px}.pdf-source input{width:min(100%,200px)}.source-0{--source:#7626cf}.source-1{--source:#2778c4}.source-2{--source:#23866d}.source-3{--source:#b16b15}.source-4{--source:#b84c78}.source-5{--source:#4e65a4}.pdf-page.selected{border-color:var(--source);background:#fbf9fe}.pdf-page-label small{color:var(--source);font-weight:600}.pdf-compression{background:#f8f5fc;border:1px solid var(--line);border-radius:12px;padding:15px;margin:12px 0}.pdf-quality{margin-top:12px}.pdf-quality label{display:grid;grid-template-columns:1fr auto;align-items:center}.pdf-quality label input{grid-column:1;accent-color:var(--purple);padding:0}.pdf-quality-value{grid-column:2;grid-row:2;font-size:22px;color:var(--purple)}.pdf-amounts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:12px 0}.pdf-amount{background:white;border:1px solid var(--line);border-radius:8px;padding:10px;min-width:0}.pdf-amount small{display:block;font-size:12px}.pdf-amount strong{display:block;font-size:20px;margin-top:6px;color:var(--purple);overflow-wrap:anywhere}.pdf-compression .muted{font-size:13px;margin:8px 0}.pdf-source-list .row{gap:8px}@media(max-width:760px){.pdf-amounts{grid-template-columns:repeat(2,minmax(0,1fr))}.pdf-amount strong{font-size:18px}.pdf-source-name{flex-basis:100%}.pdf-compression{padding:12px}.pdf-quality label input{min-width:0}.pdf-source button{min-height:38px}.pdf-preview .pdf-page-label small{font-size:11px}}

/* v0.1.6: four compression presets, three result values */
.pdf-presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:12px 0}.pdf-preset{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:78px;padding:12px 8px;text-align:center;border:1px solid var(--line);background:white;color:inherit;white-space:normal}.pdf-preset b{font-size:15px}.pdf-preset small{font-size:12px;color:#67577a}.pdf-preset.active{border:2px solid var(--purple);background:#efe4fc;color:var(--purple);padding:11px 7px}.pdf-preset:focus-visible{outline:2px solid var(--purple);outline-offset:2px}.pdf-presets.hidden{display:none}.pdf-amounts{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:760px){.pdf-presets{grid-template-columns:repeat(2,minmax(0,1fr))}.pdf-amounts{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.pdf-amount{padding:8px 5px}.pdf-amount strong{font-size:15px}.pdf-amount small{font-size:11px}}

.photo-name{display:block;overflow-wrap:anywhere;line-height:1.3;margin:8px 0 2px;min-height:28px}.photo-grid .pdf-sheet{height:180px}.photo-grid .pdf-page-label{margin-bottom:6px}.photo-grid .pdf-sheet small{padding:6px;text-align:center}.photo-grid .pdf-page{min-width:0}@media(max-width:760px){.photo-grid .pdf-sheet{height:155px}}

/* ConvertON result drag add-on r2 */


.local-result{flex:1 1 100%;min-width:0;width:100%}.share-status{margin:6px 0;color:#716a7e;font-size:13px}
/* Unified image editor 0.1.11 */
.image-grid .pdf-sheet{height:160px}.image-grid .pdf-sheet img{max-width:100%;max-height:100%;object-fit:contain}.image-grid .pdf-sheet small{padding:8px;text-align:center}.image-grid .pdf-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.image-grid .pdf-actions button{padding:6px 2px;min-width:0}.image-grid .photo-name{min-height:32px}.image-edit-button{margin-top:6px;width:100%;color:var(--purple);font-weight:600}.image-crop-dialog{width:min(960px,95vw);max-height:92dvh;padding:20px;border:1px solid var(--line);border-radius:14px;color:inherit;overflow:auto;box-shadow:0 12px 60px #0004}.image-crop-dialog::backdrop{background:#0008}.image-crop-dialog h2{margin:0}.image-crop-dialog>.row:first-child{justify-content:space-between}.image-crop-body{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;align-items:start;margin:12px 0}.image-crop-left,.image-crop-right{min-width:0}.crop-stage{position:relative;display:table;max-width:100%;margin:0 auto 10px;overflow:hidden;touch-action:none;background:#ddd;user-select:none;cursor:crosshair}.crop-stage>img{display:block;max-width:100%;max-height:55vh;width:auto;height:auto;object-fit:contain;pointer-events:none}.crop-rect{position:absolute;border:2px solid white;box-shadow:0 0 0 9999px #0007;cursor:move;touch-action:none;box-sizing:border-box;background-image:linear-gradient(to right,transparent 33%,#fff8 33%,#fff8 33.5%,transparent 33.5%,transparent 66%,#fff8 66%,#fff8 66.5%,transparent 66.5%),linear-gradient(to bottom,transparent 33%,#fff8 33%,#fff8 33.5%,transparent 33.5%,transparent 66%,#fff8 66%,#fff8 66.5%,transparent 66.5%)}.crop-handle{position:absolute;width:16px;height:16px;background:white;border:2px solid #7626cf;border-radius:2px;touch-action:none}.crop-handle.nw{left:-2px;top:-2px;cursor:nwse-resize}.crop-handle.ne{right:-2px;top:-2px;cursor:nesw-resize}.crop-handle.sw{left:-2px;bottom:-2px;cursor:nesw-resize}.crop-handle.se{right:-2px;bottom:-2px;cursor:nwse-resize}.crop-result{width:100%;height:180px;object-fit:contain;background:#f0edf4;border-radius:8px}.image-crop-right label{display:grid;grid-template-columns:50px 1fr 44px;align-items:center;gap:6px;margin:8px 0}.image-crop-right input[type=range]{padding:0;min-width:0;accent-color:var(--purple)}.image-crop-dialog button.active{background:#efe4fc;border-color:var(--purple);color:var(--purple)}.image-crop-dialog .row{flex-wrap:wrap}.image-crop-dialog .row button{margin:3px 0}.image-grid .pdf-page-label{margin-bottom:6px}@media(max-width:760px){.image-crop-body{grid-template-columns:1fr}.image-crop-dialog{padding:12px}.crop-stage>img{max-height:42vh}.crop-result{height:125px}.image-grid .pdf-sheet{height:145px}.image-grid .pdf-actions button{min-height:36px}.crop-handle{width:22px;height:22px}}

#o-percent+input[type=range]{padding:0;accent-color:var(--purple);width:100%;min-width:0;margin-top:8px}

.share-status{flex-basis:100%;line-height:1.6;overflow-wrap:anywhere}
