.portal-page-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px}.portal-page-tools button,.portal-page-tools a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1px solid #e0e3e9;border-radius:11px;padding:9px 17px;background:#fff;color:#8f2637;font:inherit;font-weight:700;text-decoration:none;cursor:pointer}.portal-page-tools button:hover,.portal-page-tools a:hover{background:#fff1f3}.portal-page-tools a{font-size:13px;color:#4f5764}.portal-viewer-open{overflow:hidden}#portal-image-viewer{padding:0;border:0;border-radius:18px;width:min(1000px,96vw);max-width:96vw;height:min(850px,92dvh);max-height:92dvh;background:#f5f6f8;color:#202630;overflow:hidden}#portal-image-viewer::backdrop{background:rgba(12,17,24,.85)}#portal-image-viewer[open]{display:flex;flex-direction:column}.portal-image-header{display:flex;align-items:center;justify-content:space-between;gap:12px;background:white;padding:14px 18px;flex-shrink:0;border-bottom:1px solid #ddd}.portal-image-header strong{font-size:16px}.portal-image-actions{display:flex;gap:8px;flex-shrink:0}.portal-image-actions button{min-height:44px;padding:8px 14px;border:1px solid #d9dee5;border-radius:10px;background:white;color:#8f2637;font:inherit;cursor:pointer}.portal-image-body{overflow:auto;flex:1;min-height:0;padding:16px;text-align:center}.portal-image-body img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;margin:auto}.portal-image-body img.is-zoomed{max-width:none;max-height:none}.portal-image-status{padding:0 18px;margin:8px 0;color:#6b7280;font-size:13px}#portal-image-viewer button:focus-visible{outline:3px solid #3566b2;outline-offset:2px}@media(max-width:600px){.portal-page-tools{margin-bottom:16px}.portal-image-header{flex-wrap:wrap;padding:12px}.portal-image-header strong{flex:1;min-width:130px}.portal-image-actions button{padding:8px 11px}#portal-image-viewer{width:96vw;height:90dvh;border-radius:12px}.portal-image-body{padding:8px}}
