.photo-repair-dialog{box-sizing:border-box;min-inline-size:0;overscroll-behavior:contain;color:#24302b;background:#f7f5ef;border:1px solid #b9c9bf;border-radius:20px;width:min(1040px,100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:24px;overflow:auto;box-shadow:0 24px 70px #11191557}.photo-repair-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#161d1ab8}.photo-repair-dialog header{justify-content:space-between;align-items:start;gap:16px;margin-bottom:20px;display:flex}.photo-repair-dialog h2{margin:4px 0 0;font:26px/1.2 Georgia,serif}.photo-repair-dialog small{color:#4f6f61;letter-spacing:.12em;text-transform:uppercase;font-size:11px}.photo-repair-dialog button{color:#24302b;min-height:40px;font:inherit;cursor:pointer;background:#fff;border:1px solid #b9c9bf;border-radius:9px;padding:8px 14px}.photo-repair-dialog button:disabled{opacity:.5;cursor:default}.photo-repair-dialog button.primary,.photo-repair-dialog .photo-repair-generate{color:#fff;background:#4f6f61;border-color:#4f6f61}.photo-repair-dialog .photo-repair-close{background:#4f6f6114;border:0;min-width:36px;padding:2px 10px;font-size:25px}.photo-repair-content{grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:24px;display:grid}.photo-repair-options{flex-direction:column;gap:13px;display:flex}.photo-repair-options label{gap:5px;min-width:0;font-size:13px;font-weight:400;display:grid}.photo-repair-options select,.photo-repair-options .photo-repair-key input{box-sizing:border-box;color:#24302b;width:100%;min-width:0;min-height:40px;font:inherit;background:#fff;border:1px solid #b9c9bf;border-radius:8px;padding:8px;font-size:16px}.photo-repair-options .photo-repair-faces{align-items:start;gap:8px;line-height:1.4;display:flex}.photo-repair-faces input{accent-color:#4f6f61;flex-shrink:0;width:18px;height:18px}.photo-repair-dialog p{color:#68746b;margin:0;font-size:12px;line-height:1.5}.photo-repair-dialog .photo-repair-error{color:#a03832}.photo-repair-comparison{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:12px;display:grid}.photo-repair-comparison figure{min-width:0;margin:0}.photo-repair-comparison figcaption{color:#4f6f61;margin-bottom:8px;font-size:13px;font-weight:600}.photo-repair-comparison figure>div{background:#eceee7;border:1px solid #d7ddd6;border-radius:12px;place-items:center;height:min(47vh,430px);min-height:260px;padding:8px;display:grid;overflow:hidden}.photo-repair-comparison img{object-fit:contain;width:100%;max-width:100%;height:100%;max-height:100%;display:block}.photo-repair-comparison>p{grid-column:1/-1}.photo-repair-dialog footer{border-top:1px solid #d7ddd6;justify-content:space-between;align-items:center;gap:20px;margin-top:22px;padding-top:18px;display:flex}.photo-repair-dialog footer>p{max-width:530px}.photo-repair-dialog footer>div{flex-shrink:0;gap:8px;display:flex}.photo-repair-dialog :is(button,select,input):focus-visible{outline-offset:2px;outline:3px solid #4f6f61}.photo-thumbnail-repair{color:#315b47;cursor:pointer;background:#fff;border:1px solid #b9c9bf;border-radius:8px;margin-top:6px;padding:6px 9px;font:12px/1.3 Arial,sans-serif;display:block}.photo-repair-pending{color:#315b47;font-size:12px}@media (max-width:700px){.photo-repair-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:16px}.photo-repair-content{grid-template-columns:1fr;gap:18px}.photo-repair-options{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.photo-repair-options>:is(p,button),.photo-repair-options .photo-repair-faces{grid-column:1/-1}.photo-repair-comparison figure>div{height:240px;min-height:150px}.photo-repair-dialog footer{flex-direction:column;align-items:stretch;gap:12px}.photo-repair-dialog footer>div{flex-wrap:wrap;justify-content:flex-end}}:where(html.mff-ipad-mini:not(.mff-tv-mode)) .photo-repair-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:16px}:where(html.mff-ipad-mini:not(.mff-tv-mode)) .photo-repair-content{grid-template-columns:1fr;gap:18px}:where(html.mff-ipad-mini:not(.mff-tv-mode)) .photo-repair-options{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}:where(html.mff-ipad-mini:not(.mff-tv-mode)) .photo-repair-options>:is(p,button),:where(html.mff-ipad-mini:not(.mff-tv-mode)) .photo-repair-options .photo-repair-faces{grid-column:1/-1}:where(html.mff-ipad-mini:not(.mff-tv-mode)) .photo-repair-comparison figure>div{height:240px;min-height:150px}:where(html.mff-ipad-mini:not(.mff-tv-mode)) .photo-repair-dialog footer{flex-direction:column;align-items:stretch;gap:12px}:where(html.mff-ipad-mini:not(.mff-tv-mode)) .photo-repair-dialog footer>div{flex-wrap:wrap;justify-content:flex-end}.photo-repair-options .photo-repair-key{grid-column:1/-1}.photo-repair-dialog a{color:#315b47}.photo-repair-embedded{width:100%;max-height:none;box-shadow:none;border:0;border-radius:0;margin:0;padding:16px;overflow:visible}.photo-editor-standard[hidden]{display:none!important}.photo-repair-compare-toggle{grid-column:1/-1;align-items:center;gap:8px;font-size:13px;display:flex}.photo-repair-single{grid-template-columns:minmax(0,1fr)}.photo-repair-embedded footer{flex-wrap:wrap}.photo-editor-standard{display:contents}.photo-repair-dialog[aria-busy=true],.photo-repair-dialog[aria-busy=true] *{cursor:wait}.photo-repair-busy{align-items:center;gap:8px;display:flex}.photo-repair-spinner{border:2px solid #b9c9bf;border-top-color:#315b47;border-radius:50%;flex:0 0 16px;width:16px;height:16px;animation:.8s linear infinite photo-repair-spin;display:inline-block}@keyframes photo-repair-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.photo-repair-spinner{animation:none}}.photo-repair-content{flex-direction:column;gap:20px;display:flex}.photo-repair-options{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));align-items:end;gap:12px;display:grid}.photo-repair-options>p,.photo-repair-options .photo-repair-faces{grid-column:1/-1}.photo-repair-comparison{align-items:start;width:100%}.photo-repair-comparison.photo-repair-landscape,.photo-repair-comparison.photo-repair-single{grid-template-columns:minmax(0,1fr)}.photo-repair-comparison figure>div{background:0 0;border:0;border-radius:0;height:auto;min-height:0;padding:0;position:relative;overflow:hidden}.photo-repair-comparison figure>div:has(img){aspect-ratio:1}.photo-repair-comparison img{object-fit:contain;max-width:none;max-height:none;position:absolute;top:50%;left:50%;translate:-50% -50%}.photo-repair-dialog footer{justify-content:flex-end}.photo-repair-version-actions{grid-column:1/-1;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;display:grid}.photo-repair-version-actions>:first-child{justify-self:start}.photo-repair-version-actions>:last-child{justify-self:end}@media (max-width:650px){.photo-repair-version-actions{gap:5px}.photo-repair-version-actions button{padding:7px;font-size:12px}}:where(html.mff-ipad-mini:not(.mff-tv-mode)) .photo-repair-version-actions{gap:5px}:where(html.mff-ipad-mini:not(.mff-tv-mode)) .photo-repair-version-actions button{padding:7px;font-size:12px}.photo-repair-landscape .photo-repair-version-actions{display:contents}.photo-repair-landscape .photo-repair-version-actions>:first-child{grid-area:1/1;justify-self:start}.photo-repair-landscape .photo-repair-version-actions>:nth-child(2){grid-area:1/1;justify-self:end}.photo-repair-landscape .photo-repair-version-actions>:last-child{grid-area:3/1;justify-self:start}.photo-repair-landscape figure:first-of-type{grid-row:2}.photo-repair-landscape figure:last-of-type{grid-row:4}.photo-face-workspace-wrap{display:contents}.photo-face-workspace-wrap[hidden]{display:none!important}.photo-unified-editor .photo-information-preview.photo-selected-version-preview{place-items:center;width:100%;display:grid}.photo-unified-editor .photo-information-preview.photo-selected-version-preview img{object-fit:contain;width:100%;height:auto;max-height:75dvh;display:block}.photo-repair-comparison figcaption{text-align:center}.photo-repair-comparison figure>div:not(:has(img)){aspect-ratio:1;place-items:center;display:grid}.photo-repair-comparison figure>div>p{text-align:center;margin:0;padding:16px}.photo-repair-options label{font-size:10.3333px}.photo-repair-options select,.photo-repair-options .photo-repair-key input{font-size:13.3333px}.photo-repair-options select{-webkit-appearance:none;appearance:none;box-sizing:border-box;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='m2 3 5 5 5-5' fill='none' stroke='%234f6f61' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 13px center;background-repeat:no-repeat;background-size:14px 10px;height:36px;min-height:36px;padding:5px 29px 5px 7px;line-height:24px}
