[hidden]{display:none!important}.photoActions{display:grid;gap:9px}.photoActions button,#editPhoto{width:100%}#photoError{color:#ffb3a6;font-size:12px;line-height:1.5}#photoError:empty{display:none}#photoLoading{font-size:12px;color:#ffc565}
#cropDialog{padding:0;width:min(94vw,480px);max-height:94dvh;border:1px solid #ffffff25;border-radius:22px;background:#172130;color:#f4f0e9;overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 100px #0009}#cropDialog::backdrop{background:#070d16d9;backdrop-filter:blur(6px)}.cropHeader{padding:22px 24px 12px}.cropHeader h2{font-size:23px;margin-top:8px}.cropHeader p{font-size:12px;color:#aebed1;line-height:1.6;margin:0}.cropView{display:flex;justify-content:center;background:#0f1621}#cropCanvas{display:block;width:min(100%,calc(43dvh * 480 / 520));height:auto;aspect-ratio:480/520;touch-action:none;cursor:grab}#cropCanvas:active{cursor:grabbing}#cropCanvas:focus-visible{outline:2px solid #ffc565;outline-offset:-3px}.cropControls{padding:16px 24px 22px}.cropZoomLabel{display:flex;justify-content:space-between;color:#b6c2d1;font-size:12px}.cropControls input{width:100%;accent-color:#ffc565;margin:12px 0;height:24px}.cropButtons{display:flex;gap:10px}.cropButtons button{text-align:center}.cropButtons .primary{flex:1;background:#ffc565;color:#292018;font-weight:bold}.cropTip{font-size:10px;color:#9aacbf;margin:0 0 8px;line-height:1.5}@media(max-height:600px){#cropCanvas{width:min(100%,220px)}#cropDialog{max-height:96dvh}}
@media(orientation:landscape){#cropDialog[open]{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,1fr);grid-template-rows:auto 1fr;width:min(96vw,920px);height:94dvh;max-height:94dvh;overflow:hidden}.cropHeader{grid-column:2;grid-row:1;padding:12px 16px 4px}.cropHeader h2{font-size:20px;margin:4px 0}.cropHeader p{font-size:11px;line-height:1.3}.cropHeader .eyebrow{display:none}.cropView{grid-column:1;grid-row:1/3;min-height:0;align-items:center}#cropCanvas{width:min(46vw,calc(88dvh * 480 / 520))!important;height:auto!important;max-width:100%;max-height:88dvh}.cropControls{grid-column:2;grid-row:2;padding:8px 16px 12px;display:flex;flex-direction:column;justify-content:center;gap:3px;min-height:0}.cropControls input{margin:4px 0;height:24px}.cropTip{font-size:9px;margin:2px 0}.cropButtons{margin-top:8px}.cropButtons button{min-height:38px;padding:8px}.cropControls #cropReset{padding:7px}.cropHeader .cropTip{display:none}}
