.photo-main{padding-top:42px;padding-bottom:50px}.photo-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px}.photo-heading h1{font-size:clamp(32px,4vw,52px);margin:12px 0}.photo-heading>div>p:last-child{color:var(--muted)}.photo-private{font-size:12px;display:flex;align-items:center;gap:9px;white-space:nowrap;padding-bottom:5px}.photo-app{border:1px solid var(--line);border-radius:14px;background:var(--panel);overflow:hidden;box-shadow:0 12px 40px #15243b05}.photo-toolbar{display:flex;justify-content:space-between;gap:12px;padding:16px 22px;border-bottom:1px solid var(--line)}.photo-open,.photo-history{display:flex;gap:8px;align-items:center}.photo-app button{border:1px solid var(--line);border-radius:7px;padding:10px 12px;font-size:12px;font-weight:550;background:var(--panel);min-height:40px}.photo-app button:hover:enabled{background:var(--soft);border-color:var(--accent)}.photo-app button:disabled{cursor:default;opacity:.4}.photo-app .photo-primary{background:var(--accent);color:#fff;border-color:var(--accent)}.photo-app .photo-primary:hover:enabled{background:#1746bc}.photo-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px}.photo-workspace{padding:22px;min-width:0;background:#f1f4fa;display:flex;flex-direction:column;align-self:start;position:sticky;top:0}.photo-file-meta{display:flex;justify-content:space-between;gap:15px;font:10px Mono,monospace;color:var(--muted);margin-bottom:18px}.photo-file-meta span:first-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.photo-file-meta span:last-child{flex-shrink:0}.photo-stage{min-height:440px;height:min(65vh,640px);display:flex;align-items:center;justify-content:center;position:relative;border:1px solid #e0e6ef;border-radius:8px;overflow:hidden;background-color:#fff;background-image:linear-gradient(45deg,#edf0f5 25%,transparent 25%),linear-gradient(-45deg,#edf0f5 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#edf0f5 75%),linear-gradient(-45deg,transparent 75%,#edf0f5 75%);background-size:20px 20px;background-position:0 0,0 10px,10px -10px,-10px 0}.photo-stage canvas{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;touch-action:auto;outline-offset:-3px}.photo-stage canvas.cropping{cursor:crosshair;touch-action:none}.photo-workspace.dragging{outline:3px dashed var(--accent);outline-offset:-7px}#photo-empty{text-align:center;max-width:370px;padding:24px;background:#ffffffed;border-radius:10px}#photo-empty h2{font-size:25px;line-height:1.2;margin:14px 0}#photo-empty p{font-size:13px;color:var(--muted);line-height:1.8}#photo-empty .photo-small{font-size:11px;margin-top:16px}.photo-empty-icon{font-size:48px;color:var(--accent);line-height:1}#photo-status{font-size:12px;color:var(--muted);padding-top:16px;min-height:52px}.photo-controls{margin:0;padding:0;border:0;border-left:0;min-width:0}.photo-controls section{padding:22px;border-bottom:1px solid var(--line)}.photo-controls section:last-child{border:0}.photo-controls h2{font:10px Mono,monospace;color:var(--accent);display:flex;gap:12px;align-items:center;letter-spacing:0;margin-bottom:18px}.photo-controls h2 span{font:600 15px DM,Arial,sans-serif;color:var(--ink)}.photo-controls label{display:block;font-size:11px;color:var(--muted);font-weight:500}.photo-controls input[type=number],.photo-controls select{display:block;width:100%;border:1px solid var(--line);border-radius:6px;padding:9px 10px;margin-top:6px;background:var(--panel);color:var(--ink);font-size:12px;min-height:38px}.photo-controls input[type=range]{width:100%;margin:10px 0 0;accent-color:var(--accent)}.photo-controls .photo-check{display:flex;align-items:center;gap:7px;margin-top:12px}.photo-check input{accent-color:var(--accent);margin:0}.photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.photo-wide{width:100%;margin-top:12px}.photo-transform{margin-top:12px}.photo-transform button{font-size:11px;padding:8px 5px}.photo-small{font-size:11px;color:var(--muted);line-height:1.65;margin:12px 0}.photo-slider{margin-top:15px}.photo-slider output,#photo-quality-value{float:right;font-family:Mono,monospace;font-size:10px}.photo-export{background:#f8faff}.photo-bottom{display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted);margin-top:20px}.photo-bottom a{color:var(--accent)}#photo-crop-fields{margin-top:12px}.photo-app button[aria-pressed=true]{border-color:var(--accent);background:var(--soft);color:var(--accent)}
@media(min-width:1000px){.photo-layout{align-items:start}.photo-workspace{min-height:620px}.photo-stage{height:610px;max-height:70vh}}
@media(max-width:900px){.photo-heading{display:block}.photo-private{margin-top:18px}.photo-layout{grid-template-columns:minmax(0,1fr) 280px}.photo-workspace{padding:16px}.photo-controls section{padding:18px}.photo-stage{min-height:330px;height:440px}}
@media(max-width:680px){body.site-unified.photo-editor-page .wrap{width:calc(100% - 28px)}.photo-main{padding-top:24px}.photo-heading{margin-bottom:22px}.photo-heading h1{font-size:34px}.photo-heading>div>p:last-child{font-size:14px}.photo-toolbar{flex-wrap:wrap;padding:12px}.photo-open{width:100%;justify-content:space-between}.photo-history{width:100%}.photo-history button{flex:1}.photo-layout{display:block}.photo-workspace{position:static;padding:14px}.photo-stage{min-height:240px;height:350px}.photo-controls{border-left:0;border-top:1px solid var(--line)}.photo-controls section{padding:20px}.photo-controls input[type=number],.photo-controls select{font-size:16px}.photo-app button{min-height:44px}.photo-bottom{display:block;line-height:1.8}.photo-bottom a{display:block;margin-top:8px}}

/* One shared workspace on the homepage and the dedicated editor route. */
.photo-app{overflow:clip}.photo-tools{display:flex;gap:6px;padding:12px 16px;border-bottom:1px solid var(--line);flex-wrap:wrap}.photo-tools button{flex:1;display:flex;justify-content:center;align-items:center;gap:9px;white-space:nowrap;border-color:transparent;min-width:96px}.photo-tools button span{font-size:18px;color:var(--accent)}.photo-tools button[aria-pressed=true]{background:var(--accent);color:#fff}.photo-tools button[aria-pressed=true] span{color:inherit}.photo-sidebar{border-left:1px solid var(--line);min-width:0}.photo-tool-heading{padding:24px 22px 10px}.photo-tool-heading h3{font-size:22px;line-height:1.15;margin:12px 0}.photo-tool-heading>p:last-child{font-size:12px;color:var(--muted);line-height:1.65}.photo-local-note{padding:18px 22px;font-size:11px;color:var(--muted);line-height:1.6}.photo-scope{margin-top:14px}.photo-result{display:block;text-align:center;font-size:12px;padding-top:14px;color:var(--accent)}.photo-filmstrip{display:flex;gap:8px;padding:12px 20px;border-bottom:1px solid var(--line);overflow:auto;background:#f8faff}.photo-file-card{display:flex;gap:3px;align-items:center;border:1px solid var(--line);border-radius:8px;padding:4px;flex-shrink:0;background:#fff}.photo-file-card button{padding:6px;min-height:32px;border:0}.photo-file-card .photo-file-select{max-width:175px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:6px 9px}.photo-file-select[aria-pressed=true]{background:var(--soft)!important;color:var(--accent)}.photo-file-card button:disabled{opacity:.35;cursor:default}.unified-workbench .photo-layout{grid-template-columns:minmax(0,1fr) 320px}.photo-save-controls{border:0!important}.photo-workspace{min-height:0}.photo-stage{height:520px;max-height:65vh}.unified-workbench .photo-heading{padding-top:0}
@media(max-width:900px){.unified-workbench .photo-layout{grid-template-columns:minmax(0,1fr) 280px}.photo-tools{gap:3px;padding:10px}.photo-tools button{min-width:85px;font-size:11px}.photo-stage{height:440px}}
@media(max-width:680px){.unified-workbench .photo-layout{display:block}.photo-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.photo-tools button{min-width:0;padding:8px 3px;gap:5px;font-size:10px}.photo-tools button span{font-size:15px}.photo-sidebar{border-left:0;border-top:1px solid var(--line)}.photo-filmstrip{padding:10px}.photo-file-card button{min-height:44px;min-width:32px}.photo-file-card .photo-file-select{max-width:145px}.photo-stage{height:330px}.photo-tool-heading{padding:20px 20px 8px}.photo-local-note{padding:14px 20px}.unified-workbench .bench-title>span{display:none}}

.photo-app .photo-tools button[aria-pressed=true]:hover:enabled{background:#1746bc;color:#fff}.photo-app .photo-tools button[aria-pressed=true]:hover:enabled span{color:#fff}
