
#pn-media-viewer{box-sizing:border-box;width:min(1280px,calc(100vw - 40px));height:min(900px,calc(100dvh - 40px));max-width:none;max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid #d2d9cd;border-radius:22px;background:#fffefa;color:#193f35;box-shadow:0 24px 80px #0004;font-family:inherit}
#pn-media-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
#pn-media-viewer *{box-sizing:border-box}
#pn-media-viewer::backdrop{background:#142c27cf}
#pn-media-viewer .pn-media-head{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 24px;border-bottom:1px solid #d2d9cd}
#pn-media-viewer h2{margin:0;color:#193f35;font-family:inherit;font-size:20px;font-weight:800;line-height:1.4;overflow-wrap:anywhere}
#pn-media-viewer .pn-media-actions{display:flex;gap:10px;flex:0 0 auto}
#pn-media-viewer button{min-height:44px;min-width:44px;padding:10px 16px;border:1px solid #aabaae;border-radius:12px;background:#e8ebdf;color:#193f35;font:inherit;font-size:15px;font-weight:800;line-height:1.4;cursor:pointer}
#pn-media-viewer button:hover{background:#dce3d6}
#pn-media-viewer .pn-media-close{background:#193f35;color:#fffefa;border-color:#193f35}
#pn-media-viewer .pn-media-close:hover{background:#2e5743}
#pn-media-viewer :is(button,[tabindex]):focus-visible{outline:3px solid #b66a00;outline-offset:3px}
#pn-media-viewer .pn-media-stage{min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;overflow:auto;padding:20px;background:#f0eee7;overscroll-behavior:contain}
#pn-media-viewer img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;border-radius:4px}
#pn-media-viewer img[hidden]{display:none}
#pn-media-viewer[data-zoom="true"] .pn-media-stage{display:block}
#pn-media-viewer[data-zoom="true"] img{width:var(--pn-media-width);max-width:none;max-height:none;object-fit:initial;margin:0 auto}
#pn-media-viewer .pn-media-note{padding:14px 24px;margin:0;color:#53665d;font-size:14px;line-height:1.6;max-height:110px;overflow:auto}
#pn-media-viewer .pn-media-status{margin:0;color:#193f35;font-size:16px;line-height:1.6;text-align:center}
#pn-media-viewer .pn-media-status:empty{display:none}
@media(max-width:600px){#pn-media-viewer{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);border-radius:16px}#pn-media-viewer .pn-media-head{align-items:flex-start;flex-wrap:wrap;gap:12px;padding:14px}#pn-media-viewer h2{font-size:17px;line-height:1.4}#pn-media-viewer .pn-media-actions{width:100%;justify-content:space-between}#pn-media-viewer button{font-size:14px;padding:10px 13px}#pn-media-viewer .pn-media-stage{padding:10px}#pn-media-viewer .pn-media-note{padding:12px 14px;font-size:13px;max-height:100px}}
