/* J. Miller Concrete — Review 09: mobile full-photo viewer.
   No changes to original image files, desktop layout, estimate API or employee portal.
   Image links inside homepage navigation cards retain their original behavior. */
.jm09-photo-open { display:none; }
.jm09-viewer { border:0; padding:0; background:transparent; color:#f6fbff; width:100vw; max-width:100vw; height:100dvh; max-height:100dvh; margin:0; overflow:hidden; }
.jm09-viewer::backdrop { background:rgba(1,10,19,.91); }
.jm09-viewer-inner { height:100%; width:100%; display:flex; flex-direction:column; background:#081a2a; padding:env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); }
.jm09-toolbar { display:flex; align-items:center; justify-content:space-between; padding:12px max(16px,env(safe-area-inset-right,16px)); min-height:61px; gap:15px; }
.jm09-counter { font:700 12px/1.3 var(--font); letter-spacing:.11em; color:#c6e9fa; }
.jm09-close { border:1px solid #6f8fa7; border-radius:4px; background:#153a56; color:white; min-width:44px; min-height:44px; padding:8px 12px; font:700 13px var(--font); cursor:pointer; }
.jm09-stage { display:flex; justify-content:center; align-items:center; flex:1; position:relative; min-height:0; width:100%; overflow:hidden; touch-action:pan-y; }
.jm09-stage img { position:static!important; inset:auto!important; width:100%!important; height:100%!important; max-width:100%!important; max-height:100%!important; object-fit:contain!important; transform:none!important; filter:none!important; background:#081a2a; user-select:none; -webkit-user-drag:none; }
.jm09-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:2; width:43px; height:54px; border:1px solid rgba(173,222,245,.5); background:rgba(5,24,38,.75); color:white; border-radius:5px; font-size:28px; cursor:pointer; }
.jm09-arrow.prev { left:6px; }
.jm09-arrow.next { right:6px; }
.jm09-arrow[hidden] { display:none; }
.jm09-footer { padding:13px max(18px, env(safe-area-inset-right, 18px)) 20px; background:#081a2a; }
.jm09-caption { color:#eaf5fb; font:500 13px/1.5 var(--font); max-height:4.7em; overflow:auto; }
.jm09-hint { font:500 11px/1.4 var(--font); color:#8dbed6; margin-top:7px; }
@media (max-width: 800px) {
  .jm09-photo-open { display:inline-flex; align-items:center; justify-content:center; position:absolute; z-index:15; right:10px; bottom:10px; left:auto; top:auto; min-height:40px; min-width:44px; padding:7px 10px; gap:6px; border:1px solid rgba(255,255,255,.8); border-radius:4px; color:#fff; background:rgba(6,31,50,.88); font:700 11px/1.2 var(--font); letter-spacing:.01em; cursor:pointer; text-transform:none; box-shadow:0 2px 8px rgba(0,0,0,.22); }
  .jm09-photo-open svg { width:15px; height:15px; flex:none; }
  .jm09-photo-open:focus-visible { outline:3px solid #a3dffc; outline-offset:2px; }
  .jm09-viewer .jm09-caption { color:#eaf5fb; }
}
@media (min-width: 801px) { .jm09-viewer { display:none; } }
@media (prefers-reduced-motion: reduce) { .jm09-photo-open, .jm09-viewer * { transition:none!important; animation:none!important; } }
