/* 수술 전후 사진 올리기 화면 */
.up-step { padding: 18px 0; border-top: 1px solid #e1e4e7; }
.up-step:first-child { border-top: 0; padding-top: 0; }
.up-title { margin: 0 0 4px; font-weight: 700; font-size: 18px; }
.up-hint { margin: 0 0 10px; color: #5b636b; font-size: 15px; }
.up-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.up-chip { font: inherit; font-size: 16px; min-height: 44px; padding: 0 16px; border: 1.5px solid #c9d0d7; border-radius: 99px; background: #fff; color: #1b1f24; cursor: pointer; }
.up-chip[aria-pressed="true"] { background: #1f3f5f; border-color: #1f3f5f; color: #fff; font-weight: 600; }
.crop-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.crop-title { margin: 0 0 6px; font-weight: 700; }
.crop-canvas { display: block; width: 100%; height: auto; border-radius: 8px; background: #e7e9eb; touch-action: none; cursor: grab; }
.crop-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.crop-pick { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid #1b1f24; border-radius: 8px; font-weight: 600; cursor: pointer; margin: 0; }
.crop-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.crop-zoom { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 150px; margin: 0; font-weight: 500; color: #5b636b; }
.crop-zoom input { flex: 1; accent-color: #1f3f5f; }
.up-ghost { font: inherit; margin-top: 12px; min-height: 44px; padding: 0 16px; border: 1.5px solid #c9d0d7; border-radius: 8px; background: #fff; color: #1b1f24; cursor: pointer; }
.up-note { font: inherit; width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #b9bfc5; border-radius: 8px; }
.up-check { display: block; margin: 12px 0; font-weight: 500; }
.up-check input { width: 18px; height: 18px; vertical-align: -3px; accent-color: #1f3f5f; }
.up-go { font: inherit; font-weight: 700; min-height: 50px; padding: 0 24px; border: 0; border-radius: 10px; background: #1b1f24; color: #fff; cursor: pointer; }
.up-go[disabled] { opacity: .5; }
.up-msg { margin: 10px 0 0; font-weight: 600; color: #24476b; min-height: 1.6em; }
@media (max-width: 640px) { .crop-pair { grid-template-columns: minmax(0, 1fr); } }

/* 사진 맞추기 도구 (photo-edit.js) */
.crop-canvas.is-blur { cursor: crosshair; }
.crop-tools { gap: 8px; }
.crop-mode, .crop-ghost { font: inherit; min-height: 44px; padding: 0 14px; border: 1.5px solid #c9ced3; border-radius: 8px; background: #fff; color: #1b1f24; cursor: pointer; }
.crop-mode[aria-pressed="true"] { background: #1b1f24; border-color: #1b1f24; color: #fff; }
.crop-ghost { border-color: transparent; color: #24476b; text-decoration: underline; padding: 0 6px; }
.crop-tools [hidden] { display: none; }
.rv-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1.25rem; }
.rv-photos:empty { display: none; }
.rv-photo { padding: .75rem; border: 1px solid #e1e4e7; border-radius: 8px; background: #fff; }
.rv-photo .crop-row { font-weight: 400; }
.crop-zoom { white-space: nowrap; }
