#certDlg{padding-top:60px;max-height:95dvh;overflow:auto}.cert-popup-controls{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#fff;color:#151515;padding:12px 0;margin-bottom:14px}.cert-popup-controls button{border:1px solid #ddd;border-radius:999px;background:#f97316;color:#fff;padding:12px 20px;font:500 14px Arial,sans-serif;cursor:pointer}.cert-popup-controls button:hover{background:#ea580c}#certBigPage{white-space:nowrap;font:14px Arial,sans-serif}@media(max-width:560px){.cert-popup-controls{gap:6px}.cert-popup-controls button{font-size:11px;padding:12px 9px}}
.cert-popup-controls{position:static;margin:14px 0 0;padding:12px 0 0}.cert-popup-controls button{background:#fff;color:#151515;border:1px solid #d0d0d0}.cert-popup-controls button:hover{background:#f0f0f0;border-color:#999}
#licenceDlg{padding:16px;width:min(96vw,1100px);max-height:94dvh;overflow:auto;border-radius:12px;background:white;color:#151515}#licenceDlg::backdrop{background:#000c}.licence-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:-16px;background:white;padding:8px 0 16px;z-index:1}.licence-toolbar h2{font:400 20px/1.3 Arial,sans-serif;margin:0}.licence-toolbar button{flex-shrink:0;width:42px;height:42px;border:1px solid #ddd;border-radius:50%;background:white;color:#151515;font-size:28px;cursor:pointer}#licenceImage{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
#licenceDlg{width:fit-content;max-width:94vw;max-height:92dvh;margin:auto;padding:14px;overflow:hidden;box-sizing:border-box}#licenceDlg[open]{display:flex;flex-direction:column;align-items:stretch}.licence-toolbar{position:static;flex:0 0 auto;top:auto;padding:0 0 12px;min-height:42px}.licence-toolbar h2{font-size:17px}.licence-toolbar button{width:36px;height:36px;font-size:25px}#licenceImage{width:auto;height:auto;max-width:min(82vw,760px);max-height:calc(92dvh - 94px);object-fit:contain;min-height:0;align-self:center}@media(max-width:560px){#licenceDlg{max-width:96vw;padding:10px}.licence-toolbar h2{font-size:15px}#licenceImage{max-width:calc(96vw - 20px);max-height:calc(90dvh - 80px)}}
#licenceDlg{padding:0;border:0;border-radius:0;background:transparent;overflow:visible}#licenceDlg .licence-toolbar{position:absolute;top:8px;right:8px;padding:0;min-height:0;background:transparent;z-index:3}#licenceTitle{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}#licenceClose{background:white;box-shadow:0 2px 8px #0003}#licenceImage{max-height:90dvh;max-width:min(90vw,760px);background:white}.permit:first-child .img{background:white}.permit:first-child .img img{clip-path:inset(2% 0 0 0)}#licenceImage[src$="mining-licence.jpg"]{clip-path:inset(2% 0 0 0)}@media(max-width:560px){#licenceDlg{padding:0}#licenceImage{max-width:94vw;max-height:90dvh}}