.check-image-dialog{inset:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);width:min(1080px,100vw - 32px);max-width:calc(100vw - 32px);max-height:calc(100vh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));color:#20201d;background:#fffdf9;border:1px solid #ddd4c8;border-radius:16px;margin:auto;padding:0;position:fixed;overflow:hidden;box-shadow:0 24px 80px #19140d45}.check-image-dialog:not([open]){display:none}.check-image-dialog[open]{flex-direction:column;animation:.18s ease-out check-image-dialog-in;display:flex}.check-image-dialog::backdrop{background:#26221b99}.check-image-dialog__header{background:#fffdf9;border-bottom:1px solid #e7dfd4;flex:none;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;display:flex}.check-image-dialog__title{letter-spacing:.01em;align-items:center;gap:12px;margin:0;font-size:20px;font-weight:750;line-height:1.5;display:flex}.check-image-dialog__number{color:#fff;letter-spacing:.02em;background:#bc5627;border-radius:50%;flex:none;justify-content:center;align-items:center;width:34px;height:34px;font:600 14px/1 Arial,sans-serif;display:flex}.check-image-dialog__close{color:#39342d;background:#fff;border:1px solid #d9d1c6;border-radius:50%;flex:none;justify-content:center;align-items:center;width:44px;height:44px;padding:0;display:flex}.check-image-dialog__body{overscroll-behavior:contain;-webkit-overflow-scrolling:touch;flex:auto;min-height:0;padding:14px 16px 18px;overflow:auto}.check-image-dialog__toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.check-image-dialog__instruction{color:#676057;margin:0;font-size:13px;line-height:1.6}.check-image-dialog__zoom{color:#93411c;white-space:nowrap;background:#fff7ed;border:1px solid #d9c1ad;border-radius:7px;flex:none;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:8px 12px;font-size:13px;font-weight:700;line-height:1.4;display:inline-flex}.check-image-dialog__viewport{width:100%;height:min(56vh,75vw - 49.5px,784px);overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom;-webkit-overflow-scrolling:touch;background:#fff;border:1px solid #e1dbd2;border-radius:8px;height:min(56dvh,75vw - 49.5px,784px);overflow:auto}.check-image-dialog__canvas{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.check-image-dialog__canvas img{object-fit:contain;-webkit-user-select:none;user-select:none;width:auto;max-width:100%;height:auto;max-height:100%;display:block}.check-image-dialog__viewport.is-zoomed .check-image-dialog__canvas{width:min(240%,1448px);height:auto;min-height:100%;display:block}.check-image-dialog__viewport.is-zoomed .check-image-dialog__canvas img{width:100%;max-width:none;height:auto;max-height:none}.check-image-dialog__hint{color:#776c5f;min-height:1.6em;margin:8px 0 0;font-size:11px;line-height:1.6}.check-image-dialog__checks{border-top:1px solid #e8dfd4;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 24px;margin:12px 0 0;padding:14px 0 0;list-style:none;display:grid}.check-image-dialog__checks li{align-items:baseline;gap:8px;font-size:14px;font-weight:650;line-height:1.7;display:flex}.check-image-dialog__checks li:before{content:"";background:#bc5627;border-radius:50%;flex:none;width:5px;height:5px;display:block;transform:translateY(-2px)}.check-image-dialog__note{color:#776c5f;margin:14px 0 0;font-size:10px;line-height:1.7}.check-image-dialog__footer{background:#fffdf9;border-top:1px solid #e7dfd4;flex:none;padding:12px 16px}.check-image-dialog__consult{color:#fff;background:#bc5627;border-radius:7px;justify-content:center;align-items:center;gap:20px;width:min(100%,440px);min-height:50px;margin-inline:auto;padding:11px 18px;font-size:15px;font-weight:700;line-height:1.5;text-decoration:none;display:flex}.check-image-dialog__consult svg{flex:none;width:22px;height:16px}.check-image-dialog__consult-note{color:#676057;text-align:center;max-width:580px;margin:7px auto 0;font-size:11px;line-height:1.5}:is(.check-image-dialog__close:focus-visible,.check-image-dialog__zoom:focus-visible,.check-image-dialog__viewport:focus-visible,.check-image-dialog__consult:focus-visible){outline-offset:3px;outline:3px solid #935222}@media (hover:hover){.check-image-dialog__close:hover{background:#faf3e9;border-color:#bb8a66}.check-image-dialog__zoom:hover{background:#fff0df;border-color:#bc5627}.check-image-dialog__consult:hover{background:#a74820}}@media (max-width:700px){.check-image-dialog{border-radius:13px}.check-image-dialog__header{gap:8px;padding:9px 11px}.check-image-dialog__title{gap:8px;font-size:16px}.check-image-dialog__number{width:29px;height:29px;font-size:12px}.check-image-dialog__body{padding:10px 12px 15px}.check-image-dialog__toolbar{gap:8px;margin-bottom:8px}.check-image-dialog__instruction{font-size:11px}.check-image-dialog__zoom{gap:5px;padding-inline:9px;font-size:12px}.check-image-dialog__viewport{height:min(56vh,75vw - 43.5px);border-radius:5px;height:min(56dvh,75vw - 43.5px)}.check-image-dialog__hint{font-size:10px}.check-image-dialog__checks{gap:8px 13px;margin-top:10px;padding-top:12px}.check-image-dialog__checks li{gap:6px;font-size:12px;line-height:1.7}.check-image-dialog__note{margin-top:12px;font-size:9px}.check-image-dialog__footer{padding:10px 12px}.check-image-dialog__consult{gap:14px;min-height:46px;padding:10px 13px;font-size:13px}.check-image-dialog__consult-note{margin-top:6px;font-size:10px}}@media (max-width:360px){.check-image-dialog__title{font-size:14px}.check-image-dialog__instruction{max-width:145px}.check-image-dialog__checks{grid-template-columns:1fr;gap:6px}}@keyframes check-image-dialog-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media (prefers-reduced-motion:reduce){.check-image-dialog[open]{animation:none}}
