:root{--ui-scale: 1.5;color-scheme:dark;--bg: #07100f;--surface: #0d1816;--surface-2: #12201d;--surface-3: #192925;--line: rgba(196, 239, 225, .11);--line-strong: rgba(196, 239, 225, .19);--text: #edf7f2;--muted: #8fa8a0;--muted-2: #637a73;--accent: #6ce0c4;--accent-strong: #9af4de;--accent-deep: #153e36;--danger: #ff9b8f;--shadow: 0 24px 70px rgba(0, 0, 0, .34);--radius: 14px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}body{background:var(--bg);color:var(--text)}button,input,select{font:inherit}button{color:inherit}svg{display:block;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.app{height:100%;display:grid;grid-template-rows:64px minmax(0,1fr)}.topbar{position:relative;z-index:10;display:grid;grid-template-columns:minmax(210px,1fr) auto minmax(330px,1fr);align-items:center;min-height:64px;padding:0 18px;background:#08100ff0;border-bottom:1px solid var(--line);backdrop-filter:blur(18px)}button{border:0}.brand{justify-self:start;display:flex;align-items:center;gap:10px;padding:7px 9px;border-radius:10px;background:transparent;cursor:pointer}.brand:hover{background:#ffffff0a}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:var(--accent);background:linear-gradient(145deg,#173b34,#0d2722);box-shadow:inset 0 0 0 1px #7ae0c62e}.brand-mark svg{width:23px;stroke:none;fill:currentColor}.brand>span:last-child{display:flex;align-items:baseline;gap:6px}.brand strong{font-size:15px;letter-spacing:-.02em}.brand small{color:var(--muted);font-size:12px}.document-title{text-align:center;min-width:190px}.document-name{display:block;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600}.save-state{display:block;margin-top:2px;color:var(--muted-2);font-size:10px}.top-actions{justify-self:end;display:flex;align-items:center;gap:7px}.privacy-pill{display:inline-flex;align-items:center;gap:7px;margin-right:5px;padding:6px 9px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:10px}.status-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 9px var(--accent)}.icon-button,.tool-button,.text-button,.secondary-button,.primary-button{transition:background-color .18s,border-color .18s,color .18s,transform .12s,opacity .18s}.icon-button{display:grid;place-items:center;width:34px;height:34px;border:1px solid transparent;border-radius:9px;color:var(--muted);background:transparent;cursor:pointer}.icon-button svg{width:17px}.icon-button:hover:not(:disabled){color:var(--text);background:var(--surface-3);border-color:var(--line)}button:disabled{opacity:.35;cursor:not-allowed}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:0 16px;border-radius:9px;color:#06231d;background:var(--accent);font-size:12px;font-weight:750;cursor:pointer;box-shadow:0 8px 26px #51d9b61f}.primary-button:hover:not(:disabled){background:var(--accent-strong)}.primary-button:active:not(:disabled),.secondary-button:active:not(:disabled){transform:translateY(1px)}.primary-button svg,.secondary-button svg{width:16px}.primary-button.large{min-height:44px;padding:0 21px;border-radius:11px;font-size:13px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 344px;min-height:0}.canvas-area{position:relative;min-width:0;overflow:hidden;background:radial-gradient(circle at 18% 15%,rgba(28,93,82,.18),transparent 38%),radial-gradient(circle at 80% 85%,rgba(22,67,73,.13),transparent 32%),#08110f}.canvas-area:before{content:"";position:absolute;inset:0;opacity:.13;background-image:linear-gradient(rgba(255,255,255,.022) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px);background-size:32px 32px;pointer-events:none}.inspector{position:relative;z-index:2;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;min-height:0;background:var(--surface);border-left:1px solid var(--line)}.inspector-header{display:flex;align-items:center;justify-content:space-between;padding:20px 20px 14px}.inspector-actions{display:flex;align-items:center;gap:5px}.eyebrow{margin:0 0 5px;color:var(--accent);font-size:9px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}h1,h2,h3,p{margin-top:0}.inspector-header h2{margin:0;font-size:17px;letter-spacing:-.025em}.text-button{padding:6px;color:var(--accent);background:transparent;font-size:11px;font-weight:650;cursor:pointer}.text-button:hover:not(:disabled){color:var(--accent-strong)}.analysis-card{display:flex;align-items:center;gap:11px;margin:0 16px 7px;padding:11px;border:1px solid var(--line);border-radius:11px;background:linear-gradient(130deg,#286b5c24,#ffffff05)}.analysis-icon{flex:0 0 auto;display:grid;place-items:center;width:34px;height:34px;border-radius:9px;color:var(--accent);background:var(--accent-deep)}.analysis-icon svg{width:18px}.analysis-card>div:nth-child(2){min-width:0;flex:1}.analysis-card span:not(.confidence){display:block;font-size:11px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.analysis-card small{display:block;margin-top:3px;color:var(--muted);font-size:9px;line-height:1.4}.confidence{flex:0 0 auto;padding:4px 6px;border-radius:5px;color:var(--accent);background:#6ce0c417;font-size:8px;font-weight:800;letter-spacing:.08em}.settings-shelf{margin:3px 16px 7px;padding:9px;border:1px solid var(--line);border-radius:10px;background:#00000014}.settings-shelf[hidden]{display:none}.settings-shelf-heading{display:flex;justify-content:space-between;margin-bottom:6px;color:var(--muted);font-size:8px;font-weight:700;text-transform:uppercase;letter-spacing:.07em}.settings-shelf-heading small{color:var(--muted-2);font-size:7px}#settingsShelfItems{display:grid;gap:5px}.settings-clip{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:5px;padding:6px 7px;border-radius:7px;background:var(--surface-2)}.settings-clip span,.settings-clip strong,.settings-clip small{min-width:0}.settings-clip strong,.settings-clip small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-clip strong{color:#d7e5e1;font-size:8px}.settings-clip small{margin-top:2px;color:var(--muted-2);font-size:7px}.settings-clip button{padding:4px 6px;border-radius:5px;color:var(--accent);background:#6ce0c412;font-size:7px;font-weight:700;cursor:pointer}.settings-clip .remove-clip{padding-inline:4px;color:var(--muted-2);background:transparent;font-size:12px}.controls-scroll{min-height:0;overflow:auto;padding:0 16px 24px;scrollbar-width:thin;scrollbar-color:var(--surface-3) transparent}.control-section{padding:17px 1px;border-bottom:1px solid var(--line)}.control-section:last-child{border-bottom:0}.section-heading,.section-toggle{width:100%;display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;padding:0;background:transparent;text-align:left}.section-toggle{cursor:pointer}.section-heading h3,.section-toggle h3{margin:0;font-size:12px;font-weight:680}.section-heading p,.section-toggle p{margin:3px 0 0;color:var(--muted-2);font-size:9px}.section-toggle svg{width:16px;color:var(--muted);transition:transform .2s}.section-toggle[aria-expanded=false] svg{transform:rotate(-90deg)}.section-toggle[aria-expanded=false]+.section-content{display:none}.switch{position:relative;width:32px;height:18px}.switch input{position:absolute;opacity:0}.switch span{position:absolute;inset:0;border-radius:999px;background:#26342f;box-shadow:inset 0 0 0 1px var(--line-strong);transition:.2s;cursor:pointer}.switch span:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:var(--muted);transition:.2s}.switch input:checked+span{background:#255f52}.switch input:checked+span:after{left:17px;background:var(--accent-strong)}.switch input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}.control-list{display:grid;gap:16px}.slider-control{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:7px;color:#c8d7d2;font-size:10px;transition:opacity .16s}.slider-control output{min-width:30px;color:var(--muted);font-variant-numeric:tabular-nums;text-align:right}.slider-control input{grid-column:1 / -1;width:100%;height:16px;margin:-3px 0 0;appearance:none;background:transparent;cursor:ew-resize}.slider-control input::-webkit-slider-runnable-track{height:3px;border-radius:99px;background:linear-gradient(to right,var(--accent) var(--fill, 50%),#283732 var(--fill, 50%))}.slider-control.bipolar input::-webkit-slider-runnable-track{background:linear-gradient(to right,#283732 0%,#283732 50%,var(--accent) 50%,var(--accent) var(--fill, 50%),#283732 var(--fill, 50%),#283732 100%)}.slider-control input::-webkit-slider-thumb{width:12px;height:12px;margin-top:-4.5px;appearance:none;border:2px solid #0d1816;border-radius:50%;background:#c9f7eb;box-shadow:0 0 0 1px #6ce0c459,0 2px 5px #00000059}.slider-control input:focus-visible{outline:none}.slider-control input:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px #6ce0c447}.control-actions{display:inline-flex;align-items:center;gap:2px}.mini-control{display:grid;place-items:center;width:20px;height:20px;padding:0;border-radius:5px;color:var(--muted-2);background:transparent;cursor:pointer}.mini-control svg{width:12px}.mini-control:hover{color:var(--text);background:var(--surface-3)}.mini-control:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.slider-control.bypassed>span:first-child,.slider-control.bypassed output,.slider-control.bypassed input{opacity:.34}.slider-control.bypassed .bypass-control{color:var(--accent);background:#6ce0c41a}.master-control{padding-top:2px}.sharpening-tool{display:grid;gap:16px;padding:12px;border:1px solid var(--line);border-radius:9px;background:#00000014;transition:opacity .16s}.sharpening-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.sharpening-heading>span:first-child{min-width:0}.sharpening-heading strong,.sharpening-heading small{display:block}.sharpening-heading strong{color:#d7e5e1;font-size:10px}.sharpening-heading small{margin-top:3px;color:var(--muted-2);font-size:8px;line-height:1.35}.sharpening-actions{display:inline-flex;gap:2px}.sharpening-tool.bypassed .sharpening-control{opacity:.34}.sharpening-tool.bypassed #sharpenBypass{color:var(--accent);background:#6ce0c41a}.levels-heading{align-items:flex-start;margin-bottom:10px}.levels-toolbar{display:flex;align-items:center;gap:4px}.levels-toolbar label{display:flex}.levels-toolbar select{min-width:67px;height:25px;padding:0 21px 0 8px;border:1px solid var(--line-strong);border-radius:6px;color:#c8d7d2;background:var(--surface-2);font-size:8px;cursor:pointer}.levels-toolbar select:focus-visible{outline:2px solid var(--accent);outline-offset:1px}.levels-control{position:relative;width:100%;aspect-ratio:9 / 4;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:linear-gradient(180deg,#ffffff06,#0000001a);transition:opacity .16s;touch-action:none}.levels-control canvas,.levels-control svg{position:absolute;inset:0;width:100%;height:100%}.levels-control canvas{opacity:.46}.levels-control svg{overflow:visible}.levels-grid{fill:none;stroke:#c4efe117;stroke-width:1;vector-effect:non-scaling-stroke}.levels-curve{fill:none;stroke:var(--accent);stroke-width:2;stroke-linecap:round;vector-effect:non-scaling-stroke}.levels-marker{fill:#c9f7eb;stroke:#0d1816;stroke-width:2;cursor:ns-resize;vector-effect:non-scaling-stroke}.levels-marker:hover,.levels-marker:focus-visible{fill:#fff;stroke:var(--accent);outline:none}.levels-control[data-channel=red] .levels-curve{stroke:#ff8f83}.levels-control[data-channel=red] .levels-marker{fill:#ffc0b8}.levels-control[data-channel=green] .levels-curve{stroke:#79e59b}.levels-control[data-channel=green] .levels-marker{fill:#bcf4cb}.levels-control[data-channel=blue] .levels-curve{stroke:#76b7ff}.levels-control[data-channel=blue] .levels-marker{fill:#bcdcff}.levels-control.bypassed canvas,.levels-control.bypassed .levels-grid,.levels-control.bypassed .levels-curve,.levels-control.bypassed .levels-marker{opacity:.3}.levels-toolbar #levelsBypass[aria-pressed=false]{color:var(--accent);background:#6ce0c41a}.levels-labels{display:grid;grid-template-columns:repeat(5,1fr);margin-top:5px;color:var(--muted-2);font-size:7px}.levels-labels span{text-align:center}.levels-labels span:first-child{text-align:left}.levels-labels span:last-child{text-align:right}.balance-heading{align-items:flex-start}.eyedropper-button{display:inline-flex;align-items:center;gap:5px;min-height:27px;padding:0 8px;border:1px solid var(--line-strong);border-radius:7px;color:var(--muted);background:var(--surface-2);font-size:8px;font-weight:650;cursor:pointer}.eyedropper-button svg{width:13px}.eyedropper-button:hover,.eyedropper-button.active{color:var(--accent-strong);border-color:#6ce0c46b;background:#2f7a6829}.sample-status{display:flex;align-items:center;gap:7px;margin:-7px 0 14px;padding:7px 8px;border-radius:7px;color:var(--muted);background:#6ce0c40f;font-size:8px}.sample-status[hidden]{display:none}.sample-status>span:nth-child(2){flex:1}.sample-swatch{width:12px;height:12px;border:1px solid rgba(255,255,255,.38);border-radius:3px;box-shadow:0 1px 3px #0000004d}.sample-status button{padding:2px 3px;color:var(--accent);background:transparent;font-size:8px;cursor:pointer}.inspector-footer{padding:12px 16px;border-top:1px solid var(--line);background:#0a1311e6}.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:0 14px;border:1px solid var(--line-strong);border-radius:9px;color:#c9d9d4;background:var(--surface-2);font-size:11px;font-weight:650;cursor:pointer}.secondary-button:hover:not(:disabled){border-color:#6ce0c459;background:var(--surface-3)}.inspector-footer .secondary-button{width:100%}.empty-state{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;text-align:center;overflow:auto}.empty-visual{position:relative;width:180px;height:140px;margin-bottom:3px}.empty-visual>svg{position:relative;z-index:1;width:100%;height:100%;filter:drop-shadow(0 20px 30px rgba(0,0,0,.28))}.orb{position:absolute;border-radius:50%;filter:blur(22px)}.orb-one{width:85px;height:85px;left:22px;top:27px;background:#35c3a12b}.orb-two{width:70px;height:70px;right:12px;bottom:8px;background:#1b707d2e}.empty-state h1{max-width:580px;margin:0 0 12px;font-size:clamp(30px,4vw,48px);line-height:1.04;letter-spacing:-.052em}.empty-state>p:not(.eyebrow){max-width:535px;margin-bottom:22px;color:var(--muted);font-size:13px;line-height:1.7}.empty-actions{display:flex;align-items:center;gap:12px}.empty-actions>span{color:var(--muted-2);font-size:10px}.format-row{display:flex;align-items:center;gap:9px;margin-top:22px;color:var(--muted-2);font-size:9px}.format-row i{width:2px;height:2px;border-radius:50%;background:var(--muted-2)}.library-section{width:min(620px,90%);margin-top:28px}.library-heading{display:flex;justify-content:space-between;margin-bottom:9px;color:var(--muted);font-size:9px;font-weight:650;text-transform:uppercase;letter-spacing:.08em}.library-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.library-item{position:relative;min-height:56px;padding:10px;overflow:hidden;border:1px solid var(--line);border-radius:9px;background:linear-gradient(145deg,#17342f,#10221f);text-align:left;cursor:pointer}.library-item:after{content:"";position:absolute;width:65px;height:65px;right:-17px;bottom:-32px;border-radius:50%;background:#6ce0c414}.library-item:hover{border-color:#6ce0c457;background:linear-gradient(145deg,#1a3c36,#122824)}.library-item strong,.library-item small{position:relative;z-index:1;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.library-item strong{margin-bottom:7px;font-size:9px;font-weight:650}.library-item small{color:var(--muted-2);font-size:8px}.canvas-toolbar{position:absolute;z-index:5;top:14px;left:18px;right:18px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;pointer-events:none}.canvas-toolbar button,.canvas-toolbar .canvas-color-info{pointer-events:auto}.toolbar-left{display:grid;justify-items:start;gap:7px;min-width:0}.segmented{display:inline-flex;padding:3px;border:1px solid var(--line);border-radius:10px;background:#0b1412d1;box-shadow:0 8px 30px #00000029;backdrop-filter:blur(15px)}.segmented button{padding:7px 11px;border-radius:7px;color:var(--muted);background:transparent;font-size:9px;cursor:pointer}.segmented button:hover{color:var(--text)}.segmented button.active{color:var(--text);background:var(--surface-3);box-shadow:0 1px 4px #00000038}.toolbar-right{display:flex;align-items:center;gap:5px}.tool-button{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 10px;border:1px solid var(--line);border-radius:9px;color:var(--muted);background:#0b1412d1;font-size:9px;cursor:pointer;backdrop-filter:blur(15px)}.tool-button svg{width:14px}.tool-button:hover,.tool-button.active{color:var(--text);border-color:var(--line-strong);background:var(--surface-3)}.zoom-controls{flex:0 0 auto;padding:2px}.zoom-controls button{min-width:29px;padding:6px 7px;font-variant-numeric:tabular-nums}#zoomStepButton{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:62px;color:var(--accent)}#zoomStepButton svg{width:13px}#zoomStepButton.active{color:var(--accent-strong);background:#265b4eb3;box-shadow:inset 0 0 0 1px #6ce0c429}.canvas-color-info{width:min(390px,calc(100vw - 400px));min-width:260px;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#0b1412e6;box-shadow:0 12px 34px #0000003d;backdrop-filter:blur(18px)}.color-card-toggle{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;padding:8px 10px;color:var(--muted);background:transparent;text-align:left;cursor:pointer}.color-card-toggle:hover{color:var(--text);background:#ffffff06}.color-card-toggle>svg:first-child{width:14px;color:var(--accent)}.color-card-toggle span,.color-card-toggle strong,.color-card-toggle small{min-width:0}.color-card-toggle strong,.color-card-toggle small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.color-card-toggle strong{color:#d7e5e1;font-size:9px}.color-card-toggle small{margin-top:2px;color:var(--muted-2);font-size:8px}.color-card-toggle .disclosure-icon{width:14px;transition:transform .18s}.color-card-toggle[aria-expanded=true] .disclosure-icon{transform:rotate(180deg)}.color-card-content{padding:9px 10px 10px;border-top:1px solid var(--line)}.color-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.color-card-heading>span:first-child{min-width:0}.canvas-color-info strong,.canvas-color-info small{display:block}.color-card-heading strong{overflow:hidden;color:#d7e5e1;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.color-card-heading small{margin-top:3px;color:var(--muted-2);font-size:8px}.canvas-color-info p{margin:8px 0 0;color:var(--muted);font-size:8px;line-height:1.45}.color-badges{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:3px}.color-badges span{padding:3px 5px;border-radius:4px;color:var(--accent);background:#6ce0c412;font-size:7px;font-weight:750;white-space:nowrap}.editor-stage{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:68px 36px 48px}.image-shell{position:relative;max-width:100%;max-height:100%;border-radius:8px;overflow:hidden;background:#040807;box-shadow:0 26px 80px #00000085,0 0 0 1px #ffffff17;transform-origin:center;transition:transform .18s ease-out;touch-action:none}.image-shell.pannable{cursor:grab}.image-shell.zoom-tool{cursor:zoom-in}.image-shell.panning{cursor:grabbing;transition:none}.image-shell.sampling{cursor:crosshair;box-shadow:0 26px 80px #00000085,0 0 0 2px var(--accent)}.image-shell.sampling .compare-line{pointer-events:none}.image-shell>img{display:block;max-width:100%;max-height:calc(100vh - 182px);width:auto;height:auto;object-fit:contain;user-select:none}.corrected-layer{position:absolute;inset:0;width:50%;overflow:hidden}.corrected-layer img{display:block;width:var(--image-width, auto);height:100%;max-width:none;object-fit:contain;user-select:none}.compare-line{position:absolute;z-index:4;left:50%;top:0;bottom:0;width:1px;color:#fff;background:#ffffffbf;box-shadow:0 0 0 1px #00000040;cursor:ew-resize;outline:none}.compare-handle{position:absolute;top:50%;left:50%;display:grid;place-items:center;width:32px;height:32px;transform:translate(-50%,-50%);border:1px solid rgba(255,255,255,.75);border-radius:50%;color:#10201c;background:#f4fffbed;box-shadow:0 5px 20px #00000057}.compare-handle svg{width:16px}.compare-line:focus-visible .compare-handle{box-shadow:0 0 0 3px var(--accent),0 5px 20px #00000057}.image-label{position:absolute;z-index:3;top:12px;padding:5px 7px;border-radius:5px;color:#ffffffdb;background:#00000061;font-size:8px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;backdrop-filter:blur(6px)}.before-label{right:12px}.after-label{left:12px}.sample-marker{position:absolute;z-index:8;width:17px;height:17px;transform:translate(-50%,-50%);border:2px solid white;border-radius:50%;box-shadow:0 0 0 2px #000000a6,0 3px 10px #0006;pointer-events:none}.sample-marker:after{content:"";position:absolute;inset:5px;border-radius:50%;background:var(--accent)}.sample-marker[hidden]{display:none}.processing-overlay{position:absolute;z-index:6;inset:0;display:flex;align-items:flex-end;justify-content:center;gap:8px;padding-bottom:17px;color:#ffffffd9;background:#050d0b14;font-size:9px;opacity:0;pointer-events:none;transition:opacity .18s}.processing-overlay.visible{opacity:1}.spinner{display:inline-block;width:13px;height:13px;border:2px solid rgba(255,255,255,.25);border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.image-meta{position:absolute;left:50%;bottom:18px;transform:translate(-50%);color:var(--muted-2);font-size:9px;white-space:nowrap}.drop-overlay{position:absolute;z-index:30;inset:14px;display:grid;place-items:center;border:1px dashed rgba(108,224,196,.48);border-radius:16px;background:#071814e0;backdrop-filter:blur(14px);opacity:0;pointer-events:none;transform:scale(.99);transition:opacity .18s,transform .18s}.drop-overlay.visible{opacity:1;transform:scale(1)}.drop-overlay>div{display:flex;flex-direction:column;align-items:center;gap:8px}.drop-overlay svg{width:30px;color:var(--accent)}.drop-overlay strong{font-size:18px}.drop-overlay span{color:var(--muted);font-size:10px}.export-dialog{width:min(520px,calc(100vw - 30px));padding:0;border:1px solid var(--line-strong);border-radius:16px;color:var(--text);background:#101b19;box-shadow:var(--shadow)}.export-dialog::backdrop{background:#020706b8;backdrop-filter:blur(7px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;padding:22px 23px 17px;border-bottom:1px solid var(--line)}.dialog-header h2{margin:0;font-size:18px;letter-spacing:-.025em}.dialog-body{padding:20px 23px}fieldset{margin:0;padding:0;border:0}legend{margin-bottom:10px;color:var(--muted);font-size:10px;font-weight:650}.format-options{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.format-options label{position:relative;cursor:pointer}.format-options input{position:absolute;opacity:0}.format-options span{display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--surface-2);transition:.18s}.format-options strong{font-size:11px}.format-options small{color:var(--muted);font-size:8px}.format-options input:checked+span{border-color:#6ce0c48c;background:#2f7a682b;box-shadow:inset 0 0 0 1px #6ce0c41f}.format-options input:focus-visible+span{outline:2px solid var(--accent);outline-offset:2px}.quality-row{display:grid;gap:10px;margin-top:20px}.quality-row>span{display:flex;justify-content:space-between;font-size:10px}.quality-row output{color:var(--muted)}.quality-row input{width:100%;accent-color:var(--accent)}.export-note{display:flex;align-items:center;gap:10px;margin-top:20px;padding:11px;border-radius:9px;color:var(--muted);background:#6ce0c40d;font-size:9px;line-height:1.45}.export-note svg{flex:0 0 auto;width:17px;color:var(--accent)}.color-export-note{margin-top:9px;padding:9px 10px;border:1px solid rgba(108,224,196,.1);border-radius:8px;color:var(--muted);background:#6ce0c409;font-size:8px;line-height:1.45}.color-export-note.warning{border-color:#f3bb6038;color:#d9c39e;background:#f3bb600d}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;padding:14px 23px;border-top:1px solid var(--line);background:#00000014}.button-loading{display:none;align-items:center;gap:7px}#downloadButton.loading .button-label{display:none}#downloadButton.loading .button-loading{display:inline-flex}#downloadButton.loading{min-width:190px;pointer-events:none}.toast-region{position:fixed;z-index:100;right:20px;bottom:20px;display:grid;gap:8px;pointer-events:none}.toast{display:flex;align-items:center;gap:9px;min-width:240px;max-width:360px;padding:11px 13px;border:1px solid var(--line-strong);border-radius:10px;color:#dceae6;background:#15221ff5;box-shadow:0 15px 40px #00000059;font-size:10px;animation:toast-in .24s ease-out}.toast.error{border-color:#ff9b8f47}.toast:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent)}.toast.error:before{background:var(--danger)}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}}.app{grid-template-rows:calc(64px * var(--ui-scale)) minmax(0,1fr)}.topbar{grid-template-columns:minmax(calc(210px * var(--ui-scale)),1fr) auto minmax(calc(330px * var(--ui-scale)),1fr);min-height:calc(64px * var(--ui-scale));padding:0 calc(18px * var(--ui-scale))}.brand{gap:calc(10px * var(--ui-scale));padding:calc(7px * var(--ui-scale)) calc(9px * var(--ui-scale));border-radius:calc(10px * var(--ui-scale))}.brand-mark{width:calc(34px * var(--ui-scale));height:calc(34px * var(--ui-scale));border-radius:calc(10px * var(--ui-scale))}.brand-mark svg{width:calc(23px * var(--ui-scale))}.brand>span:last-child{gap:calc(6px * var(--ui-scale))}.brand strong{font-size:calc(15px * var(--ui-scale))}.brand small{font-size:calc(12px * var(--ui-scale))}.document-title{min-width:calc(190px * var(--ui-scale))}.document-name{max-width:calc(300px * var(--ui-scale));font-size:calc(13px * var(--ui-scale))}.save-state{margin-top:calc(2px * var(--ui-scale));font-size:calc(10px * var(--ui-scale))}.top-actions{gap:calc(7px * var(--ui-scale))}.privacy-pill{gap:calc(7px * var(--ui-scale));margin-right:calc(5px * var(--ui-scale));padding:calc(6px * var(--ui-scale)) calc(9px * var(--ui-scale));font-size:calc(10px * var(--ui-scale))}.status-dot{width:calc(6px * var(--ui-scale));height:calc(6px * var(--ui-scale))}.icon-button{width:calc(34px * var(--ui-scale));height:calc(34px * var(--ui-scale));border-radius:calc(9px * var(--ui-scale))}.icon-button svg{width:calc(17px * var(--ui-scale))}.primary-button{gap:calc(8px * var(--ui-scale));min-height:calc(36px * var(--ui-scale));padding:0 calc(16px * var(--ui-scale));border-radius:calc(9px * var(--ui-scale));font-size:calc(12px * var(--ui-scale))}.primary-button svg,.secondary-button svg{width:calc(16px * var(--ui-scale))}.primary-button.large{min-height:calc(44px * var(--ui-scale));padding:0 calc(21px * var(--ui-scale));border-radius:calc(11px * var(--ui-scale));font-size:calc(13px * var(--ui-scale))}.workspace{grid-template-columns:minmax(0,1fr) calc(344px * var(--ui-scale))}.inspector-header{padding:calc(20px * var(--ui-scale)) calc(20px * var(--ui-scale)) calc(14px * var(--ui-scale))}.inspector-actions{gap:calc(5px * var(--ui-scale))}.eyebrow{margin-bottom:calc(5px * var(--ui-scale));font-size:calc(9px * var(--ui-scale))}.inspector-header h2{font-size:calc(17px * var(--ui-scale))}.text-button{padding:calc(6px * var(--ui-scale));font-size:calc(11px * var(--ui-scale))}.analysis-card{gap:calc(11px * var(--ui-scale));margin:0 calc(16px * var(--ui-scale)) calc(7px * var(--ui-scale));padding:calc(11px * var(--ui-scale));border-radius:calc(11px * var(--ui-scale))}.analysis-icon{width:calc(34px * var(--ui-scale));height:calc(34px * var(--ui-scale));border-radius:calc(9px * var(--ui-scale))}.analysis-icon svg{width:calc(18px * var(--ui-scale))}.analysis-card span:not(.confidence){font-size:calc(11px * var(--ui-scale))}.analysis-card small{margin-top:calc(3px * var(--ui-scale));font-size:calc(9px * var(--ui-scale))}.confidence{padding:calc(4px * var(--ui-scale)) calc(6px * var(--ui-scale));border-radius:calc(5px * var(--ui-scale));font-size:calc(8px * var(--ui-scale))}.settings-shelf{margin:calc(3px * var(--ui-scale)) calc(16px * var(--ui-scale)) calc(7px * var(--ui-scale));padding:calc(9px * var(--ui-scale));border-radius:calc(10px * var(--ui-scale))}.settings-shelf-heading{margin-bottom:calc(6px * var(--ui-scale));font-size:calc(8px * var(--ui-scale))}.settings-shelf-heading small{font-size:calc(7px * var(--ui-scale))}#settingsShelfItems{gap:calc(5px * var(--ui-scale))}.settings-clip{gap:calc(5px * var(--ui-scale));padding:calc(6px * var(--ui-scale)) calc(7px * var(--ui-scale));border-radius:calc(7px * var(--ui-scale))}.settings-clip strong{font-size:calc(8px * var(--ui-scale))}.settings-clip small{margin-top:calc(2px * var(--ui-scale));font-size:calc(7px * var(--ui-scale))}.settings-clip button{padding:calc(4px * var(--ui-scale)) calc(6px * var(--ui-scale));border-radius:calc(5px * var(--ui-scale));font-size:calc(7px * var(--ui-scale))}.settings-clip .remove-clip{padding-inline:calc(4px * var(--ui-scale));font-size:calc(12px * var(--ui-scale))}.controls-scroll{padding:0 calc(16px * var(--ui-scale)) calc(24px * var(--ui-scale))}.control-section{padding:calc(17px * var(--ui-scale)) calc(1px * var(--ui-scale))}.section-heading,.section-toggle{margin-bottom:calc(16px * var(--ui-scale))}.section-heading h3,.section-toggle h3{font-size:calc(12px * var(--ui-scale))}.section-heading p,.section-toggle p{margin-top:calc(3px * var(--ui-scale));font-size:calc(9px * var(--ui-scale));line-height:1.4}.section-toggle svg{width:calc(16px * var(--ui-scale))}.switch{width:calc(32px * var(--ui-scale));height:calc(18px * var(--ui-scale))}.switch span:after{top:calc(3px * var(--ui-scale));left:calc(3px * var(--ui-scale));width:calc(12px * var(--ui-scale));height:calc(12px * var(--ui-scale))}.switch input:checked+span:after{left:calc(17px * var(--ui-scale))}.control-list{gap:calc(16px * var(--ui-scale))}.slider-control{gap:calc(7px * var(--ui-scale));font-size:calc(10px * var(--ui-scale))}.slider-control output{min-width:calc(30px * var(--ui-scale))}.slider-control input{height:calc(16px * var(--ui-scale));margin-top:calc(-3px * var(--ui-scale))}.slider-control input::-webkit-slider-runnable-track{height:calc(3px * var(--ui-scale))}.slider-control input::-webkit-slider-thumb{width:calc(12px * var(--ui-scale));height:calc(12px * var(--ui-scale));margin-top:calc(-4.5px * var(--ui-scale));border-width:calc(2px * var(--ui-scale))}.control-actions,.sharpening-actions{gap:calc(2px * var(--ui-scale))}.mini-control{width:calc(20px * var(--ui-scale));height:calc(20px * var(--ui-scale));border-radius:calc(5px * var(--ui-scale))}.mini-control svg{width:calc(12px * var(--ui-scale))}.master-control{padding-top:calc(2px * var(--ui-scale))}.sharpening-tool{gap:calc(16px * var(--ui-scale));padding:calc(12px * var(--ui-scale));border-radius:calc(9px * var(--ui-scale))}.sharpening-heading{gap:calc(8px * var(--ui-scale))}.sharpening-heading strong{font-size:calc(10px * var(--ui-scale))}.sharpening-heading small{margin-top:calc(3px * var(--ui-scale));font-size:calc(8px * var(--ui-scale))}.levels-heading{margin-bottom:calc(10px * var(--ui-scale))}.levels-toolbar{gap:calc(4px * var(--ui-scale))}.levels-toolbar select{min-width:calc(67px * var(--ui-scale));height:calc(25px * var(--ui-scale));padding:0 calc(21px * var(--ui-scale)) 0 calc(8px * var(--ui-scale));border-radius:calc(6px * var(--ui-scale));font-size:calc(8px * var(--ui-scale))}.levels-control{border-radius:calc(8px * var(--ui-scale))}.levels-labels{margin-top:calc(5px * var(--ui-scale));font-size:calc(7px * var(--ui-scale))}.eyedropper-button{gap:calc(5px * var(--ui-scale));min-height:calc(27px * var(--ui-scale));padding:0 calc(8px * var(--ui-scale));border-radius:calc(7px * var(--ui-scale));font-size:calc(8px * var(--ui-scale))}.eyedropper-button svg{width:calc(13px * var(--ui-scale))}.sample-status{gap:calc(7px * var(--ui-scale));margin:calc(-7px * var(--ui-scale)) 0 calc(14px * var(--ui-scale));padding:calc(7px * var(--ui-scale)) calc(8px * var(--ui-scale));border-radius:calc(7px * var(--ui-scale));font-size:calc(8px * var(--ui-scale))}.sample-swatch{width:calc(12px * var(--ui-scale));height:calc(12px * var(--ui-scale));border-radius:calc(3px * var(--ui-scale))}.sample-status button{padding:calc(2px * var(--ui-scale)) calc(3px * var(--ui-scale));font-size:calc(8px * var(--ui-scale))}.inspector-footer{padding:calc(12px * var(--ui-scale)) calc(16px * var(--ui-scale))}.secondary-button{gap:calc(8px * var(--ui-scale));min-height:calc(36px * var(--ui-scale));padding:0 calc(14px * var(--ui-scale));border-radius:calc(9px * var(--ui-scale));font-size:calc(11px * var(--ui-scale))}.empty-state{padding:calc(40px * var(--ui-scale))}.empty-visual{width:calc(180px * var(--ui-scale));height:calc(140px * var(--ui-scale));margin-bottom:calc(3px * var(--ui-scale))}.empty-state h1{max-width:calc(580px * var(--ui-scale));margin-bottom:calc(12px * var(--ui-scale));font-size:clamp(calc(30px * var(--ui-scale)),calc(4vw * var(--ui-scale)),calc(48px * var(--ui-scale)))}.empty-state>p:not(.eyebrow){max-width:calc(535px * var(--ui-scale));margin-bottom:calc(22px * var(--ui-scale));font-size:calc(13px * var(--ui-scale))}.empty-actions{gap:calc(12px * var(--ui-scale))}.empty-actions>span{font-size:calc(10px * var(--ui-scale))}.format-row{gap:calc(9px * var(--ui-scale));margin-top:calc(22px * var(--ui-scale));font-size:calc(9px * var(--ui-scale))}.format-row i{width:calc(2px * var(--ui-scale));height:calc(2px * var(--ui-scale))}.library-section{width:min(calc(620px * var(--ui-scale)),90%);margin-top:calc(28px * var(--ui-scale))}.library-heading{margin-bottom:calc(9px * var(--ui-scale));font-size:calc(9px * var(--ui-scale))}.library-grid{gap:calc(7px * var(--ui-scale))}.library-item{min-height:calc(56px * var(--ui-scale));padding:calc(10px * var(--ui-scale));border-radius:calc(9px * var(--ui-scale))}.library-item strong{margin-bottom:calc(7px * var(--ui-scale));font-size:calc(9px * var(--ui-scale))}.library-item small{font-size:calc(8px * var(--ui-scale))}.canvas-toolbar{top:calc(14px * var(--ui-scale));left:calc(18px * var(--ui-scale));right:calc(18px * var(--ui-scale));gap:calc(10px * var(--ui-scale))}.toolbar-left{gap:calc(7px * var(--ui-scale))}.segmented{padding:calc(3px * var(--ui-scale));border-radius:calc(10px * var(--ui-scale))}.segmented button{padding:calc(7px * var(--ui-scale)) calc(11px * var(--ui-scale));border-radius:calc(7px * var(--ui-scale));font-size:calc(9px * var(--ui-scale))}.toolbar-right{gap:calc(5px * var(--ui-scale))}.tool-button{gap:calc(6px * var(--ui-scale));min-height:calc(32px * var(--ui-scale));padding:0 calc(10px * var(--ui-scale));border-radius:calc(9px * var(--ui-scale));font-size:calc(9px * var(--ui-scale))}.tool-button svg{width:calc(14px * var(--ui-scale))}.zoom-controls{padding:calc(2px * var(--ui-scale))}.zoom-controls button{min-width:calc(29px * var(--ui-scale));padding:calc(6px * var(--ui-scale)) calc(7px * var(--ui-scale))}#zoomStepButton{gap:calc(4px * var(--ui-scale));min-width:calc(62px * var(--ui-scale))}#zoomStepButton svg{width:calc(13px * var(--ui-scale))}.canvas-color-info{width:min(calc(390px * var(--ui-scale)),calc(100vw - 600px));min-width:calc(260px * var(--ui-scale));border-radius:calc(10px * var(--ui-scale))}.color-card-toggle{gap:calc(8px * var(--ui-scale));padding:calc(8px * var(--ui-scale)) calc(10px * var(--ui-scale))}.color-card-toggle>svg:first-child,.color-card-toggle .disclosure-icon{width:calc(14px * var(--ui-scale))}.color-card-toggle strong{font-size:calc(9px * var(--ui-scale))}.color-card-toggle small{margin-top:calc(2px * var(--ui-scale));font-size:calc(8px * var(--ui-scale))}.color-card-content{padding:calc(9px * var(--ui-scale)) calc(10px * var(--ui-scale)) calc(10px * var(--ui-scale))}.color-card-heading{gap:calc(8px * var(--ui-scale))}.color-card-heading strong{font-size:calc(10px * var(--ui-scale))}.color-card-heading small{margin-top:calc(3px * var(--ui-scale));font-size:calc(8px * var(--ui-scale))}.canvas-color-info p{margin-top:calc(8px * var(--ui-scale));font-size:calc(8px * var(--ui-scale))}.color-badges{gap:calc(3px * var(--ui-scale))}.color-badges span{padding:calc(3px * var(--ui-scale)) calc(5px * var(--ui-scale));border-radius:calc(4px * var(--ui-scale));font-size:calc(7px * var(--ui-scale))}.editor-stage{padding:calc(68px * var(--ui-scale)) calc(36px * var(--ui-scale)) calc(48px * var(--ui-scale))}.image-shell{border-radius:calc(8px * var(--ui-scale))}.image-shell>img{max-height:calc(100vh - 273px)}.compare-handle{width:calc(32px * var(--ui-scale));height:calc(32px * var(--ui-scale))}.compare-handle svg{width:calc(16px * var(--ui-scale))}.image-label{top:calc(12px * var(--ui-scale));padding:calc(5px * var(--ui-scale)) calc(7px * var(--ui-scale));border-radius:calc(5px * var(--ui-scale));font-size:calc(8px * var(--ui-scale))}.before-label{right:calc(12px * var(--ui-scale))}.after-label{left:calc(12px * var(--ui-scale))}.sample-marker{width:calc(17px * var(--ui-scale));height:calc(17px * var(--ui-scale));border-width:calc(2px * var(--ui-scale))}.sample-marker:after{inset:calc(5px * var(--ui-scale))}.processing-overlay{gap:calc(8px * var(--ui-scale));padding-bottom:calc(17px * var(--ui-scale));font-size:calc(9px * var(--ui-scale))}.spinner{width:calc(13px * var(--ui-scale));height:calc(13px * var(--ui-scale));border-width:calc(2px * var(--ui-scale))}.image-meta{bottom:calc(18px * var(--ui-scale));font-size:calc(9px * var(--ui-scale))}.drop-overlay{inset:calc(14px * var(--ui-scale));border-radius:calc(16px * var(--ui-scale))}.drop-overlay>div{gap:calc(8px * var(--ui-scale))}.drop-overlay svg{width:calc(30px * var(--ui-scale))}.drop-overlay strong{font-size:calc(18px * var(--ui-scale))}.drop-overlay span{font-size:calc(10px * var(--ui-scale))}.export-dialog{width:min(calc(520px * var(--ui-scale)),calc(100vw - 45px));border-radius:calc(16px * var(--ui-scale))}.dialog-header{padding:calc(22px * var(--ui-scale)) calc(23px * var(--ui-scale)) calc(17px * var(--ui-scale))}.dialog-header h2{font-size:calc(18px * var(--ui-scale))}.dialog-body{padding:calc(20px * var(--ui-scale)) calc(23px * var(--ui-scale))}legend{margin-bottom:calc(10px * var(--ui-scale));font-size:calc(10px * var(--ui-scale))}.format-options{gap:calc(8px * var(--ui-scale))}.format-options span{gap:calc(4px * var(--ui-scale));padding:calc(12px * var(--ui-scale));border-radius:calc(10px * var(--ui-scale))}.format-options strong{font-size:calc(11px * var(--ui-scale))}.format-options small{font-size:calc(8px * var(--ui-scale))}.quality-row{gap:calc(10px * var(--ui-scale));margin-top:calc(20px * var(--ui-scale))}.quality-row>span{font-size:calc(10px * var(--ui-scale))}.export-note{gap:calc(10px * var(--ui-scale));margin-top:calc(20px * var(--ui-scale));padding:calc(11px * var(--ui-scale));border-radius:calc(9px * var(--ui-scale));font-size:calc(9px * var(--ui-scale))}.export-note svg{width:calc(17px * var(--ui-scale))}.color-export-note{margin-top:calc(9px * var(--ui-scale));padding:calc(9px * var(--ui-scale)) calc(10px * var(--ui-scale));border-radius:calc(8px * var(--ui-scale));font-size:calc(8px * var(--ui-scale))}.dialog-actions{gap:calc(8px * var(--ui-scale));padding:calc(14px * var(--ui-scale)) calc(23px * var(--ui-scale))}.button-loading{gap:calc(7px * var(--ui-scale))}#downloadButton.loading{min-width:calc(190px * var(--ui-scale))}.toast-region{right:calc(20px * var(--ui-scale));bottom:calc(20px * var(--ui-scale));gap:calc(8px * var(--ui-scale))}.toast{gap:calc(9px * var(--ui-scale));min-width:calc(240px * var(--ui-scale));max-width:calc(360px * var(--ui-scale));padding:calc(11px * var(--ui-scale)) calc(13px * var(--ui-scale));border-radius:calc(10px * var(--ui-scale));font-size:calc(10px * var(--ui-scale))}.toast:before{width:calc(7px * var(--ui-scale));height:calc(7px * var(--ui-scale))}@media(max-width:1800px){html,body{overflow:auto}.app{min-height:100%;height:auto}.workspace{display:flex;flex-direction:column;min-height:calc(100vh - 96px)}.canvas-area{min-height:calc(100vh - 96px)}.inspector{width:min(calc(344px * var(--ui-scale)),100%);min-height:90vh;margin-inline:auto;border-top:1px solid var(--line);border-right:1px solid var(--line)}.privacy-pill{display:none}.topbar{grid-template-columns:1fr auto 1fr}}@media(max-width:1035px){.app{min-height:100%;height:auto;grid-template-rows:calc(58px * var(--ui-scale)) auto}.topbar{position:sticky;top:0;min-height:calc(58px * var(--ui-scale));grid-template-columns:1fr auto;padding:0 calc(10px * var(--ui-scale))}.document-title,#undoButton,#redoButton,.brand small{display:none}.workspace{min-height:calc(100vh - 87px)}.canvas-area{min-height:62vh}.inspector{min-height:70vh;border-left:0;border-right:0;border-top:1px solid var(--line)}.empty-state{position:relative;min-height:62vh;padding:calc(35px * var(--ui-scale)) calc(20px * var(--ui-scale))}.empty-visual{width:calc(145px * var(--ui-scale));height:calc(110px * var(--ui-scale))}.format-row{flex-wrap:wrap;justify-content:center}.library-grid{grid-template-columns:repeat(2,1fr)}.canvas-toolbar{left:calc(9px * var(--ui-scale));right:calc(9px * var(--ui-scale));overflow-x:auto}.toolbar-left{min-width:max-content}.canvas-color-info{width:min(calc(330px * var(--ui-scale)),calc(100vw - 27px));min-width:calc(230px * var(--ui-scale))}.segmented button{padding-inline:calc(8px * var(--ui-scale));white-space:nowrap}.toolbar-right{display:none}.editor-stage{padding:calc(62px * var(--ui-scale)) calc(12px * var(--ui-scale)) calc(38px * var(--ui-scale))}.image-shell>img{max-height:48vh}.image-meta{bottom:calc(12px * var(--ui-scale))}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}html,body{min-width:320px}.image-shell{display:grid;place-items:center;width:100%;height:100%;max-width:100%;max-height:100%;overflow:visible;border-radius:0;background:transparent;box-shadow:none}.image-frame{position:relative;display:grid;place-items:center;max-width:100%;max-height:100%;overflow:hidden;border-radius:calc(8px * var(--ui-scale));background:#040807;box-shadow:0 26px 80px #00000085,0 0 0 1px #ffffff17;transform-origin:center;transition:transform .18s ease-out;touch-action:none;will-change:transform}.image-shell.can-pan .image-frame{cursor:grab}.image-shell.can-pan:active .image-frame{cursor:grabbing;transition:none}.image-shell.zoom-tool .image-frame{cursor:zoom-in}.image-shell.sampling .image-frame{cursor:crosshair;box-shadow:0 26px 80px #00000085,0 0 0 2px var(--accent)}.image-frame>img{display:block;max-width:100%;max-height:calc(100vh - (182px * var(--ui-scale)));width:auto;height:auto;object-fit:contain;user-select:none}.corrected-layer canvas{display:block;width:var(--image-width, auto);height:100%;max-width:none;object-fit:fill}.processing-overlay:not([hidden]){opacity:1}.image-meta{display:flex;gap:calc(14px * var(--ui-scale))}.capability-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:calc(4px * var(--ui-scale));margin-top:calc(8px * var(--ui-scale))}.capability-grid>span{display:flex;align-items:center;gap:calc(5px * var(--ui-scale));padding:calc(5px * var(--ui-scale)) calc(6px * var(--ui-scale));border-radius:calc(5px * var(--ui-scale));color:var(--muted);background:#ffffff06;font-size:calc(7px * var(--ui-scale))}.capability-grid>span i{width:calc(5px * var(--ui-scale));height:calc(5px * var(--ui-scale));border-radius:50%;background:var(--muted-2)}.capability-grid>span.supported i{background:var(--accent)}.capability-grid>span.missing{opacity:.58}.capability-grid small{margin-left:auto;color:var(--muted-2);font-size:calc(7px * var(--ui-scale))}.available-format{color:var(--accent)}.coming-format{opacity:.62}.coming-format b{margin-left:calc(4px * var(--ui-scale));padding:calc(2px * var(--ui-scale)) calc(4px * var(--ui-scale));border-radius:calc(4px * var(--ui-scale));color:var(--muted);background:#ffffff0d;font-size:calc(7px * var(--ui-scale))}.unavailable-feature{opacity:.52}.unavailable-feature .library-item{width:100%;cursor:not-allowed}.unavailable-option{cursor:not-allowed!important}.unavailable-option span{opacity:.42;filter:saturate(.3)}.unavailable-option small{color:#c2ad88}.levels-control.disabled{opacity:.35;pointer-events:none}.color-card-content #sourceDetails p{margin:calc(8px * var(--ui-scale)) 0 0}#zoomToolButton{display:inline-flex;align-items:center;justify-content:center;gap:calc(4px * var(--ui-scale));min-width:calc(62px * var(--ui-scale));color:var(--accent)}#zoomToolButton svg{width:calc(13px * var(--ui-scale))}#zoomToolButton.active{color:var(--accent-strong);background:#265b4eb3;box-shadow:inset 0 0 0 1px #6ce0c429}.settings-clip.apply-only{grid-template-columns:minmax(0,1fr) auto}.sharpening-tool{padding:0;border:0;border-radius:0;background:transparent}.sharpening-heading strong{color:var(--text);font-size:calc(12px * var(--ui-scale));font-weight:680}.sharpening-heading small{margin-top:calc(3px * var(--ui-scale));font-size:calc(9px * var(--ui-scale));line-height:1.4}@media(min-width:1036px){html,body{overflow:auto}.app{--web-desktop-header-height: calc(64px * var(--ui-scale));min-height:100%;height:auto;grid-template-rows:var(--web-desktop-header-height) auto}.topbar{position:sticky;top:0}.workspace{display:grid;grid-template-columns:minmax(0,1fr) clamp(420px,32vw,calc(344px * var(--ui-scale)));align-items:start;min-height:calc(100vh - var(--web-desktop-header-height))}.canvas-area{position:sticky;top:var(--web-desktop-header-height);align-self:start;height:calc(100vh - var(--web-desktop-header-height));min-height:calc(100vh - var(--web-desktop-header-height))}.inspector{width:100%;min-height:calc(100vh - var(--web-desktop-header-height));height:auto;margin:0;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto auto;border-top:0;border-right:0}.inspector-header,.controls-scroll,.inspector-footer{width:auto;min-width:0;max-width:100%}.controls-scroll{overflow:visible}}@media(min-width:1036px)and (max-width:1350px){.canvas-toolbar{display:grid;grid-template-columns:minmax(0,1fr);justify-content:stretch;gap:calc(6px * var(--ui-scale))}.toolbar-left{display:block;width:100%;min-width:0;overflow:hidden}.toolbar-left .presets{max-width:100%;overflow-x:auto;scrollbar-width:none}.toolbar-left .presets::-webkit-scrollbar,.toolbar-right::-webkit-scrollbar{display:none}.canvas-color-info{display:none}.toolbar-right{justify-self:start;max-width:100%;overflow-x:auto;scrollbar-width:none}.editor-stage{padding-top:calc(94px * var(--ui-scale))}}@media(max-width:1035px){.app{--web-mobile-header-height: 72px;grid-template-rows:var(--web-mobile-header-height) auto}.topbar{min-height:var(--web-mobile-header-height);height:var(--web-mobile-header-height)}.workspace,.canvas-area,.inspector{width:100%;min-width:0;max-width:100%}.canvas-area,.inspector{container-type:inline-size}.app.has-photo .canvas-area{position:sticky;top:var(--web-mobile-header-height);z-index:8;height:clamp(320px,55vh,460px);height:clamp(320px,55svh,460px);min-height:clamp(320px,55vh,460px);min-height:clamp(320px,55svh,460px);max-height:460px;box-shadow:0 calc(9px * var(--ui-scale)) calc(24px * var(--ui-scale)) #00000052}.workspace{min-height:calc(100vh - var(--web-mobile-header-height))}.canvas-toolbar{top:calc(10px * var(--ui-scale));display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:calc(6px * var(--ui-scale));overflow:visible}.toolbar-left{display:block;width:100%;min-width:0;overflow:hidden}.toolbar-left .presets{display:flex;max-width:100%;padding:calc(2px * var(--ui-scale));overflow-x:auto;scrollbar-width:none}.toolbar-left .presets button{min-height:36px;padding:calc(3px * var(--ui-scale)) calc(5px * var(--ui-scale))}.toolbar-left .presets::-webkit-scrollbar{display:none}.canvas-color-info{display:none}.toolbar-right{display:flex}.toolbar-right>:not(#beforeAfterButton){display:none}#beforeAfterButton{display:inline-flex;flex:0 0 auto;min-height:42px;padding-inline:calc(8px * var(--ui-scale))}.editor-stage{padding:calc(48px * var(--ui-scale)) calc(12px * var(--ui-scale)) calc(8px * var(--ui-scale))}.image-meta{display:none}.inspector-header,.controls-scroll,.inspector-footer{width:100cqi;min-width:0;max-width:100cqi}.analysis-card,.settings-shelf{width:calc(100cqi - (32px * var(--ui-scale)));max-width:calc(100cqi - (32px * var(--ui-scale)))}.controls-scroll{overflow-x:hidden}.control-section{padding-block:calc(13px * var(--ui-scale))}.section-heading,.section-toggle{margin-bottom:calc(12px * var(--ui-scale))}.control-list{gap:calc(12px * var(--ui-scale))}.slider-control{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:calc(6px * var(--ui-scale));row-gap:calc(4px * var(--ui-scale))}.slider-control>span:first-child{grid-column:1;grid-row:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.slider-control output{grid-column:2;grid-row:1;justify-self:center;text-align:center}.slider-control .control-actions{grid-column:3;grid-row:1;justify-self:end}.slider-control input{grid-column:1 / -1;grid-row:2;margin-top:0}.master-control{padding-top:0}.sharpening-tool{gap:calc(12px * var(--ui-scale));padding:0}.control-section,.control-list,.slider-control,.levels-control,.sharpening-tool{min-width:0;max-width:100%}.editor-stage,.image-shell{width:100cqi;min-width:0;max-width:100cqi}.inspector-header,.balance-heading,.sharpening-heading{flex-wrap:wrap}.inspector-header>div:first-child,.balance-heading>div:first-child,.sharpening-heading>span:first-child{min-width:0}.inspector-actions{flex-wrap:wrap}.image-frame>img{max-height:48vh}.capability-grid{grid-template-columns:1fr}}@media(max-width:359px){.brand>span:last-child{display:none}}@media(max-width:1035px)and (orientation:landscape){.app.has-photo .canvas-area{height:clamp(240px,calc(100svh - var(--web-mobile-header-height) - 72px),360px);min-height:clamp(240px,calc(100svh - var(--web-mobile-header-height) - 72px),360px)}}
