.photo-preview-header{display:flex;align-items:center;gap:18px;width:100%;min-height:40px;padding-right:42px;color:#fff}.photo-history-tools{display:flex;gap:7px}.photo-preview-header button{display:flex;align-items:center;gap:6px;border:0;background:#ffffff12;color:#ddd;border-radius:20px;height:36px;padding:0 12px;font-size:12px}.photo-preview-header svg,.photo-edit-dock svg{width:20px;height:20px;flex:none}.photo-preview-header button:hover{background:#ffffff25;color:white}.photo-preview-header button:disabled{opacity:.3;cursor:default}.photo-editor-label{flex:1;text-align:center;font-size:12px;color:#ffffff9c}.photo-preview-header .photo-revert{color:#ff6961;background:#ff453a12;transition:background .2s,box-shadow .2s}.photo-preview-header .photo-revert.is-edited{animation:photo-revert-glow 2.2s ease-in-out infinite}.photo-preview-header .photo-revert:hover{background:#ff453a33;color:#ff9c97}.photo-edit-layout{display:flex;align-items:stretch;flex:1;width:100%;min-height:0;gap:18px}.photo-edit-layout .batch-image-preview-viewport{height:auto;min-width:0}.photo-edit-panel{width:276px;flex:0 0 276px;overflow-y:auto;overscroll-behavior:contain;color:#f4f4f6;background:#252528eb;border:1px solid #ffffff15;border-radius:18px;padding:18px;scrollbar-width:thin;scrollbar-color:#ffffff38 transparent}.photo-edit-panel[hidden],.photo-edit-panel section[hidden],.photo-crop-overlay[hidden]{display:none}.photo-edit-panel button{border:1px solid #ffffff16;background:#ffffff0c;color:#e4e4e8;border-radius:10px;font-size:12px;min-height:32px;padding:6px 10px}.photo-edit-panel button:hover{background:#ffffff22}.photo-edit-panel button[aria-pressed=true],.photo-edit-panel button[data-photo-action=auto]{color:#ffd60a;border-color:#ffd60a66;background:#ffd60a14}.photo-panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.photo-panel-title strong{font-size:14px;font-weight:600}.photo-slider{display:flex;flex-direction:column;gap:8px;margin:0 0 19px;font-size:12px}.photo-slider>span{display:flex;justify-content:space-between;color:#ddd}.photo-slider output{font-variant-numeric:tabular-nums;color:#b1b1b8}.photo-slider input[type=range]{width:100%;height:18px;min-height:0;padding:0;background:transparent;accent-color:#ffd60a;cursor:ew-resize}.photo-slider input::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:linear-gradient(to right,#777,#eee)}.photo-slider input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;border-radius:50%;width:14px;height:14px;background:#ffd60a;margin-top:-5px}.photo-edit-dock{display:flex;flex:none;gap:8px;padding:5px;background:#242426c9;border:1px solid #ffffff15;border-radius:22px;backdrop-filter:blur(15px)}.photo-edit-dock button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:82px;height:38px;border:0;color:#bbb;background:transparent;border-radius:18px;font-size:12px}.photo-edit-dock button:hover{background:#ffffff10;color:white}.photo-edit-dock button[aria-pressed=true]{background:#ffd60a1c;color:#ffd60a}.photo-edit-dock button:disabled{opacity:.35}.photo-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:24px}.photo-filter{display:flex;flex-direction:column;gap:6px;align-items:center}.photo-filter-swatch{width:100%;height:55px;border-radius:6px;background:linear-gradient(135deg,#385a82,#eaba75 60%,#ac6546)}.photo-filter-vivid{filter:saturate(1.7) contrast(1.15)}.photo-filter-vivid-warm{filter:saturate(1.5) sepia(.35)}.photo-filter-vivid-cool{filter:saturate(1.5) hue-rotate(25deg)}.photo-filter-dramatic{filter:contrast(1.7) saturate(.7)}.photo-filter-dramatic-warm{filter:contrast(1.7) sepia(.4)}.photo-filter-dramatic-cool{filter:contrast(1.7) hue-rotate(30deg)}.photo-filter-mono{filter:grayscale(1)}.photo-filter-silver{filter:grayscale(1) contrast(.8) brightness(1.3)}.photo-filter-noir{filter:grayscale(1) contrast(1.8)}.photo-geometry-buttons,.photo-mark-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:22px}.photo-geometry-buttons button:first-child{grid-column:1/-1}.photo-select-label,.photo-text-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px;font-size:12px}.photo-edit-panel select,.photo-edit-panel input[type=text]{border:1px solid #ffffff25;border-radius:8px;background:#17171b;color:#eee;padding:7px 10px;min-width:0}.photo-text-label{flex-direction:column;align-items:stretch}.photo-edit-panel input[type=color]{width:44px;height:30px;padding:2px;border:1px solid #ffffff30;border-radius:7px;background:transparent}.photo-edit-panel .photo-wide-button{width:100%;margin-top:6px}.photo-edit-panel .photo-wide-button:hover{color:#ffb453;background:#ff9f0a1a}.photo-crop-overlay{position:absolute;inset:0;pointer-events:none;overflow:hidden}.photo-crop-box{position:absolute;border:1px solid #fff;box-shadow:0 0 0 20000px #0008;cursor:move;pointer-events:auto;touch-action:none}.photo-crop-grid{position:absolute;inset:0;pointer-events:none;background:linear-gradient(to right,transparent 33.2%,#fff5 33.2%,#fff5 33.5%,transparent 33.5%,transparent 66.4%,#fff5 66.4%,#fff5 66.7%,transparent 66.7%),linear-gradient(to bottom,transparent 33.2%,#fff5 33.2%,#fff5 33.5%,transparent 33.5%,transparent 66.4%,#fff5 66.4%,#fff5 66.7%,transparent 66.7%)}.photo-crop-handle{position:absolute;display:block;width:20px;height:20px;pointer-events:auto}.photo-crop-handle::after{content:'';position:absolute;background:white;border-radius:2px}.photo-handle-nw{left:-10px;top:-10px;cursor:nwse-resize}.photo-handle-ne{right:-10px;top:-10px;cursor:nesw-resize}.photo-handle-sw{left:-10px;bottom:-10px;cursor:nesw-resize}.photo-handle-se{right:-10px;bottom:-10px;cursor:nwse-resize}.photo-handle-nw::after,.photo-handle-ne::after,.photo-handle-sw::after,.photo-handle-se::after{width:12px;height:12px;left:4px;top:4px}.photo-handle-n{left:calc(50% - 10px);top:-10px;cursor:ns-resize}.photo-handle-s{left:calc(50% - 10px);bottom:-10px;cursor:ns-resize}.photo-handle-e{right:-10px;top:calc(50% - 10px);cursor:ew-resize}.photo-handle-w{left:-10px;top:calc(50% - 10px);cursor:ew-resize}.photo-handle-n::after,.photo-handle-s::after{width:20px;height:3px;top:9px}.photo-handle-e::after,.photo-handle-w::after{height:20px;width:3px;left:9px}.photo-edit-panel input:focus-visible,.photo-edit-panel button:focus-visible,.photo-edit-dock button:focus-visible,.photo-preview-header button:focus-visible{outline:2px solid #ffd60a;outline-offset:3px}.batch-image-preview-modal.photo-editing{background:#111113}.batch-image-preview-stage>.batch-image-preview-toolbar{flex:none}.batch-image-preview-toolbar #batch-image-preview-download{color:#ffd60a;border-color:#ffd60a55;background:#ffd60a15}.photo-editing .batch-image-preview-help{display:none}.photo-editing .batch-image-preview-viewport img{border-radius:0;background:repeating-conic-gradient(#303033 0% 25%,#242427 0% 50%) 50%/20px 20px}.photo-preview-header~.batch-image-preview-close{z-index:2}@keyframes photo-revert-glow{0%,100%{box-shadow:0 0 0 0 #ff453a00,0 0 8px #ff453a14}50%{box-shadow:0 0 0 3px #ff453a16,0 0 18px #ff453a35}}@media(max-width:850px){.photo-edit-panel{width:220px;flex-basis:220px;padding:14px}.photo-edit-layout{gap:10px}.photo-preview-header{gap:7px}.photo-editor-label{display:none}.photo-preview-header .photo-revert{margin-left:auto}}@media(max-width:620px){.photo-edit-layout.is-editing{flex-direction:column}.photo-edit-panel{width:100%;flex:0 0 180px;padding:12px}.photo-edit-panel section{max-width:480px;margin:auto}.photo-filter-grid{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:15px}.photo-filter-swatch{height:35px}.photo-edit-dock{gap:2px}.photo-edit-dock button{min-width:64px;gap:4px}.photo-history-tools button{padding:0 9px}.photo-edit-layout.is-editing .batch-image-preview-viewport{min-height:150px}}@media(prefers-reduced-motion:reduce){.photo-preview-header .photo-revert.is-edited{animation:none;box-shadow:0 0 10px #ff453a25}}
.batch-image-preview-modal{background:#111113}.photo-filter-swatch{background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#3c3c40}
