.monthly-photo-dialog{box-sizing:border-box;width:min(480px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);margin:auto;padding:14px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;border:1px solid #bbb;border-radius:14px;background:#fff;color:#000}.monthly-photo-dialog::backdrop{background:#0008}.monthly-photo-dialog *{box-sizing:border-box;min-width:0}.monthly-photo-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:10px}.monthly-photo-dialog-header h2{font-size:19px;margin:0}.monthly-photo-dialog button{appearance:none;-webkit-appearance:none;margin:0;min-height:44px;padding:7px 10px;border:1px solid currentColor;border-radius:7px;color:inherit;-webkit-text-fill-color:currentColor;background:transparent;font:700 13px Inter,system-ui;cursor:pointer}.monthly-photo-dialog #photoType{font-size:17px}.monthly-photo-dialog .monthly-photo-strip{display:flex;width:100%;min-width:0;contain:inline-size;height:min(65dvh,620px);margin-top:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom;scrollbar-width:none}.monthly-photo-dialog .monthly-photo-strip::-webkit-scrollbar{display:none}.monthly-photo-dialog .monthly-photo-panel{flex:0 0 100%;height:100%;scroll-snap-align:start;display:grid;place-items:center}.monthly-photo-dialog .monthly-image{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;margin:0;filter:none!important}.monthly-photo-dialog .monthly-photo-empty{padding:20px;font-size:14px;text-align:center}.monthly-photo-dialog #photoDate{margin:10px 0 0;text-align:center;font-size:13px;line-height:1.4}.monthly-photo-dialog .mouse-dragging{scroll-snap-type:none;cursor:grabbing;user-select:none}html.bp-dark .monthly-photo-dialog{background:#000;color:#fff;border-color:#555}.monthly-photo-dialog button:focus-visible{outline:1px solid currentColor;outline-offset:2px}

.monthly-photo-dialog{filter:none!important}
