.photo-adjustment{--sake-space-photo-adjustment-dialog:390px;--sake-space-photo-adjustment-preview:360px;width:min(100%,var(--sake-space-photo-adjustment-dialog));max-width:100%;max-height:100dvh;padding:0;border:0;margin:auto auto 0;border-radius:var(--sake-space-radius-2xl) var(--sake-space-radius-2xl) 0 0;color:var(--sake-space-color-text-primary);background:var(--sake-space-color-bg-surface);font-family:var(--sake-space-font-family-label);overflow:hidden}.photo-adjustment[open]{display:flex;flex-direction:column}.photo-adjustment::backdrop{background:var(--sake-space-color-overlay-menu)}.photo-adjustment__body{min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:var(--sake-space-spacing-300);padding:var(--sake-space-spacing-400)}.photo-adjustment h2{margin:0;font-size:var(--sake-space-font-size-heading-h3);line-height:var(--sake-space-line-height-heading-h3);font-weight:var(--sake-space-font-weight-bold);letter-spacing:var(--sake-space-letter-spacing-heading-h3)}.photo-adjustment p{margin:0;font-size:var(--sake-space-font-size-label-default);line-height:var(--sake-space-line-height-label-default);font-weight:var(--sake-space-font-weight-medium);color:var(--sake-space-color-text-secondary)}.photo-adjustment header{display:flex;flex-direction:column;gap:var(--sake-space-spacing-050)}.photo-adjustment__footer,.photo-adjustment__row{display:flex;gap:var(--sake-space-spacing-200)}.photo-adjustment-entry,.photo-adjustment__button{min-height:var(--sake-space-size-control-large);border-radius:var(--sake-space-radius-lg);border:var(--sake-space-stroke-default) solid var(--sake-space-color-border-default);padding:var(--sake-space-spacing-200);font-size:var(--sake-space-font-size-button);line-height:var(--sake-space-line-height-button);font-weight:var(--sake-space-font-weight-bold);background:var(--sake-space-color-bg-surface);color:var(--sake-space-color-text-primary);text-align:center}.photo-adjustment__footer>button,.photo-adjustment__row>button{flex:1}.photo-adjustment__button[aria-pressed=true],.photo-adjustment__button[data-primary]{background:var(--sake-space-color-bg-brand);color:var(--sake-space-color-text-inverse);border-color:var(--sake-space-color-bg-brand)}.photo-adjustment-entry:disabled,.photo-adjustment__button:disabled,.photo-adjustment__zoom[data-disabled=true]{opacity:var(--sake-space-opacity-disabled)}.photo-adjustment__preview{position:relative;width:100%;aspect-ratio:1;flex:none;overflow:hidden;border-radius:var(--sake-space-radius-2xl);background:var(--sake-space-color-bg-subtle);-webkit-user-select:none;-moz-user-select:none;user-select:none}.photo-adjustment__preview[data-crop=true]{touch-action:none;cursor:grab}.photo-adjustment__preview img{position:absolute;width:100%;height:100%;max-width:none;pointer-events:none}.photo-adjustment__loading{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--sake-space-spacing-300);background:var(--sake-space-color-bg-subtle)}.photo-adjustment__zoom{display:flex;flex-direction:column;gap:var(--sake-space-spacing-200)}.photo-adjustment__zoom label{display:flex;justify-content:space-between;font-size:var(--sake-space-font-size-label-default);line-height:var(--sake-space-line-height-label-default);font-weight:var(--sake-space-font-weight-medium)}.photo-adjustment__zoom input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:var(--sake-space-spacing-600);margin:0;background:transparent}.photo-adjustment__zoom input::-webkit-slider-runnable-track{height:var(--sake-space-spacing-100);background:var(--sake-space-color-border-default);border-radius:var(--sake-space-radius-full)}.photo-adjustment__zoom input::-moz-range-track{height:var(--sake-space-spacing-100);background:var(--sake-space-color-border-default);border-radius:var(--sake-space-radius-full)}.photo-adjustment__zoom input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:var(--sake-space-spacing-600);height:var(--sake-space-spacing-600);margin-top:calc((var(--sake-space-spacing-100) - var(--sake-space-spacing-600)) / 2);border:0;border-radius:var(--sake-space-radius-full);background:var(--sake-space-color-bg-brand)}.photo-adjustment__zoom input::-moz-range-thumb{width:var(--sake-space-spacing-600);height:var(--sake-space-spacing-600);border:0;border-radius:var(--sake-space-radius-full);background:var(--sake-space-color-bg-brand)}.photo-adjustment__reset{display:flex;justify-content:flex-end}.photo-adjustment__text{border-color:transparent;padding-inline:var(--sake-space-spacing-500)}.photo-adjustment__footer{flex:none;padding:0 var(--sake-space-spacing-400) max(var(--sake-space-spacing-400),env(safe-area-inset-bottom))}.photo-adjustment-entry{width:100%;border:0;padding-inline:0}@media (min-width:768px){.photo-adjustment{margin:auto;max-height:calc(100dvh - var(--sake-space-spacing-800));border-radius:var(--sake-space-radius-2xl)}}