/* HR-072 A candidate. All geometry-bearing image rules remain in the original theme. */
[data-hr057-zoom-scope] .hr057-zoom-figure { position: relative; }
[data-hr057-zoom-scope] .hr057-zoom-trigger {
  position: absolute;
  display: block;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  min-width: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #202a35;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
[data-hr057-zoom-scope] .hr057-zoom-trigger:hover,
[data-hr057-zoom-scope] .hr057-zoom-trigger:focus { background: transparent; color: #202a35; }
[data-hr057-zoom-scope] .hr057-zoom-trigger:focus-visible { outline: 3px solid #bd4b18; outline-offset: 3px; }
.hr057-zoom-affordance {
  position: absolute;
  right: 8px;
  bottom: 8px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #c9d2da;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  font: 25px/1 Arial, sans-serif;
  pointer-events: none;
}
.hr057-zoom-lens {
  position: absolute;
  box-sizing: border-box;
  border: 2px solid #bd4b18;
  border-radius: 50%;
  background-color: #fff;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
}
.hr057-zoom-lens[hidden], .hr057-zoom-trigger[hidden] { display: none; }
dialog.hr057-zoom-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: 0;
  margin: 0;
  border: 0;
  overflow: hidden;
  box-sizing: border-box;
  color: #202a35;
  background: #f7f9fa;
  overscroll-behavior: contain;
}
dialog.hr057-zoom-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
dialog.hr057-zoom-dialog::backdrop { background: rgba(0, 0, 0, .65); }
.hr057-zoom-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: max(12px, env(safe-area-inset-top)) 16px 12px; }
.hr057-zoom-title { margin: 0; font: 600 16px/1.4 Arial, sans-serif; }
.hr057-zoom-dialog button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #c9d2da;
  border-radius: 4px;
  color: #202a35;
  background: #fff;
  font: 600 16px/1.2 Arial, sans-serif;
  cursor: pointer;
}
.hr057-zoom-dialog button:hover { color: #202a35; background: #eef2f5; }
.hr057-zoom-dialog button:focus-visible { outline: 3px solid #bd4b18; outline-offset: 2px; }
.hr057-zoom-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.hr057-zoom-stage:active { cursor: grabbing; }
.hr057-zoom-dialog-image { position: absolute; left: 50%; top: 50%; max-width: none; max-height: none; margin: 0; object-fit: contain; transform-origin: center; pointer-events: none; user-select: none; -webkit-user-select: none; }
.hr057-zoom-controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); font: 14px/1.4 Arial, sans-serif; }
.hr057-zoom-help { flex: 0 0 100%; text-align: center; color: #546373; }
[class*="hr057-zoom"] { transition: none; animation: none; }
@media (prefers-reduced-motion: reduce) {
  [class*="hr057-zoom"], dialog.hr057-zoom-dialog::backdrop { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
