.site-main:has(>.id-photo-page){background:radial-gradient(ellipse 520px 280px at 100% 70px,#e0eaff,transparent)}@media(min-width:1101px){.site-main:has(>.id-photo-page){padding-top:76px}}.id-photo-page{--photo-blue: #0962ff}.id-photo-page .compress-hero{padding-bottom:18px}.id-photo-workspace{display:grid;grid-template-columns:minmax(0,.91fr) minmax(0,1.09fr);gap:15px;align-items:stretch}.id-photo-column{display:grid;gap:10px;align-content:start;min-width:0}.id-photo-page .panel{padding:14px 16px}.id-photo-page h2{margin-bottom:10px}.id-photo-page .compress-import{grid-template-columns:repeat(2,minmax(0,1fr))}.id-photo-page .compress-drop,.id-photo-page .compress-file-card{min-height:154px}.id-photo-page .compress-file-info img{width:72px;height:90px}.id-photo-page .compress-file-actions{justify-content:flex-end}.id-photo-page .compress-file-actions .button{padding-inline:8px;min-height:31px}.id-photo-swatches{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.id-photo-swatches button{min-width:0;min-height:85px;border:1px solid #dce6f8;border-radius:9px;background:#f9fbfe;color:#101a32;padding:7px 3px;line-height:1.3}.id-photo-swatches [aria-pressed=true]{border-color:var(--photo-blue);background:#edf4ff;box-shadow:inset 0 0 0 1px var(--photo-blue)}.id-photo-swatches small{display:block;font-size:11px;color:#4c6586}.id-photo-swatch{display:block;margin:0 auto 5px;width:38px;height:33px;border-radius:7px;border:1px solid #cad8ed}[data-background=gradient] .id-photo-swatch{background:linear-gradient(#3492c4 30%,#fff)}[data-background=customColor] .id-photo-swatch{background:conic-gradient(#ff665b,#ffdc58,#76df72,#46cbf0,#8563fa,#ff665b);border-radius:50%}.id-photo-custom-color,.id-photo-manual,.id-photo-size-presets,.id-photo-ratios{display:flex;align-items:center;flex-wrap:wrap;gap:7px 10px}.id-photo-custom-color,.id-photo-manual{margin-top:10px}.id-photo-custom-color input[type=text]{width:105px}.id-photo-page input:not([type=file]),.id-photo-page select{accent-color:var(--photo-blue)}.id-photo-page input[type=text],.id-photo-page input[type=number],.id-photo-page select{border:1px solid #cdd9ee;border-radius:6px;background:#fff;color:inherit;padding:4px 7px;font:inherit}.id-photo-page input:invalid{border-color:#bf3d31}.id-photo-manual input{width:77px}.id-photo-shoulder{display:grid;grid-template-columns:auto minmax(0,1fr) 54px;align-items:center;gap:3px 9px;margin-top:10px}.id-photo-shoulder input{width:100%;margin:0}.id-photo-shoulder output{text-align:center;font-variant-numeric:tabular-nums}.id-photo-shoulder p{grid-column:1 / -1}.id-photo-ratios{border:0;padding:0;margin:0 0 4px}.id-photo-ratios label{display:flex;gap:5px;align-items:center}.id-photo-size-presets{margin-top:8px}.id-photo-size-presets select{max-width:min(100%,230px)}.id-photo-size-presets [aria-pressed=true]{color:#fff;background:var(--photo-blue);border-color:var(--photo-blue)}.id-photo-hint{font-size:12px;color:#536987}.id-photo-spec-tip{display:flex;align-items:center;gap:6px;margin-top:8px;padding:5px 7px;border-radius:7px;background:#edf4ff;color:#425b81;font-size:12px}.id-photo-spec-tip svg{width:15px;height:15px;color:var(--photo-blue)}.id-photo-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(112px,.32fr);gap:9px;margin:12px 0;align-items:start}.id-photo-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.id-photo-frame{position:relative;display:grid;aspect-ratio:.8;min-width:0;overflow:hidden;border-radius:8px;background:#edf3fb}.id-photo-frame img,.id-photo-frame canvas{position:absolute;width:100%;height:100%;object-fit:contain}.id-photo-frame canvas{touch-action:none;-webkit-user-select:none;user-select:none}.id-photo-frame .empty-state{padding-top:28px}.id-photo-chip{position:absolute;z-index:1;top:7px;left:7px;border-radius:14px;padding:2px 8px;color:#335176;background:#f7faff;font-size:12px;pointer-events:none}.id-photo-after .id-photo-chip{background:var(--photo-blue);color:#fff}.id-photo-guide{position:absolute;z-index:2;left:0;right:0;top:72%;height:18px;transform:translateY(-50%);cursor:ns-resize;touch-action:none;-webkit-user-select:none;user-select:none}.id-photo-guide:after{content:"";position:absolute;inset:8px 0 auto;border-top:2px dashed white;filter:drop-shadow(0 0 2px #284779)}.id-photo-framing{display:grid;gap:6px}.id-photo-framing h3{margin-bottom:1px;font-size:14px}.id-photo-framing .button{justify-content:flex-start;text-align:left;padding-inline:7px;min-height:32px;font-size:12px}.id-photo-framing .button svg{width:15px;height:15px}.id-photo-output-info,.id-photo-output-info>span{display:flex;align-items:center;gap:7px}.id-photo-output-info{flex-wrap:wrap;gap:6px 12px;padding:7px 0 11px;border-bottom:1px solid #e6edf8;color:#304668}.id-photo-output-info>span{padding-inline-start:10px;border-inline-start:1px solid #e2eaf6}.id-photo-output-info svg{width:16px;height:16px}.id-photo-density-info{position:relative}.id-photo-density-info summary{list-style:none;cursor:pointer}.id-photo-density-info summary::-webkit-details-marker{display:none}.id-photo-density-info p{position:absolute;z-index:3;right:0;width:min(200px,58vw);border:1px solid #d8e5fa;border-radius:7px;background:#fff;padding:7px;font-size:12px}.id-photo-output .id-photo-hint{margin-top:6px}.id-photo-output #idPhotoDownload{width:100%;min-height:43px;margin-top:11px;background:var(--photo-blue)}.id-photo-output #idPhotoRetry{margin-top:8px}.id-photo-page .id-photo-use-cases{margin-top:10px}.id-photo-use-cases .tool-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:0 0 6px}@media(max-width:1250px){.id-photo-stage{grid-template-columns:1fr}.id-photo-framing{display:flex;align-items:center;flex-wrap:wrap}}@media(max-width:1060px){.id-photo-workspace{grid-template-columns:1fr}}@media(max-width:600px){.id-photo-page .compress-import,.id-photo-use-cases .tool-features{grid-template-columns:1fr}.id-photo-swatches{grid-template-columns:repeat(3,minmax(0,1fr))}.id-photo-frame{aspect-ratio:.78}.id-photo-workspace{gap:10px}.id-photo-density-info p{left:auto;right:-32px}}.id-photo-frame canvas{inset:50% auto auto 50%;transform:translate(-50%,-50%);cursor:grab}.id-photo-frame canvas:active{cursor:grabbing}.id-photo-guide{left:50%;right:auto;transform:translate(-50%,-50%)}
