/* VIEWLIGHT_CERTIFICATE_PROTECTION_V1 */
#infoCerts{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:14px;overflow:visible}
.cert-protected-card{cursor:default!important;position:relative;min-width:0}
.cert-small-preview{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:12px;background:#f1f2f1;color:#3d4945;min-height:140px}
.cert-small-preview img,#certGrid .cert-small-preview img{width:auto!important;height:auto!important;max-width:120px!important;max-height:170px!important;object-fit:contain;transform:none!important;filter:none!important;cursor:default}
#infoCerts .cert-link{display:flex;flex-direction:column;align-items:stretch;padding:12px;text-decoration:none;transform:none}
#infoCerts .cert-small-preview img{max-width:90px!important;max-height:120px!important}
#infoCerts .cert-name{font-size:14px;line-height:1.5;margin:10px 0 6px}
.cert-small-preview small{font-size:10px;letter-spacing:.04em}
.cert-protected-icon{display:grid;place-items:center;width:64px;height:80px;border:1px solid currentColor;font-size:30px;opacity:.55;margin:auto}
#certGrid .cert-protected-card{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:start}
#certGrid .compact-card-copy{padding:16px}#certGrid .compact-card-copy h3{font-size:17px;line-height:1.5}
.cert-request-note{font-size:12px;opacity:.75}.cert-validity{font-size:12px}.cert-highlight{outline:2px solid #aa8b57;outline-offset:4px}
#homeCertificates img{object-fit:contain!important;max-width:100px!important;max-height:140px!important;width:auto!important;height:auto!important;transform:none!important}
#certGrid.cert-list article{grid-template-columns:140px minmax(0,1fr)}
@media(max-width:600px){#certGrid .cert-protected-card,#certGrid.cert-list article{grid-template-columns:100px minmax(0,1fr)}#certGrid .cert-small-preview img{max-width:76px!important;max-height:108px!important}.cert-small-preview{padding:8px;min-height:115px}#certGrid .compact-card-copy{padding:12px}}

/* VIEWLIGHT_CERT_COMPACT_GRID_V1 */
body[data-page-type="certificates"] .sub-hero{min-height:0!important;padding:28px 0 20px!important}
body[data-page-type="certificates"] .sub-hero h1{font-size:32px!important;line-height:1.25!important;margin:8px 0!important}
body[data-page-type="certificates"] .sub-hero p{font-size:13px!important;line-height:1.65!important;max-width:980px}
body[data-page-type="certificates"] main>.section{padding:18px 0 32px!important}
body[data-page-type="certificates"] .cert-overview{gap:10px;margin:0 0 14px!important}
body[data-page-type="certificates"] .cert-overview>div{padding:7px 12px;gap:8px}
body[data-page-type="certificates"] .cert-overview strong{font-size:22px}
body[data-page-type="certificates"] .cert-overview span{font-size:12px}
body[data-page-type="certificates"] .archive-tools{gap:8px;margin-bottom:10px}
body[data-page-type="certificates"] .sub-count{font-size:12px;margin-bottom:10px}
#certGrid:not(.cert-list){display:grid!important;grid-template-columns:repeat(auto-fill,minmax(145px,1fr))!important;gap:10px!important;align-items:stretch}
#certGrid:not(.cert-list) .cert-protected-card{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;min-width:0!important;align-items:stretch!important;overflow:hidden}
#certGrid:not(.cert-list) .cert-small-preview{min-height:96px!important;padding:6px!important;gap:3px!important;flex:0 0 auto}
#certGrid:not(.cert-list) .cert-small-preview img{max-width:58px!important;max-height:80px!important;width:auto!important;height:auto!important;object-fit:contain!important}
#certGrid:not(.cert-list) .cert-small-preview small{font-size:9px!important;line-height:12px!important}
#certGrid:not(.cert-list) .compact-card-copy{padding:8px!important;min-width:0}
#certGrid:not(.cert-list) .compact-card-copy>small{display:none!important}
#certGrid:not(.cert-list) .compact-card-copy h3{font-size:13px!important;line-height:17px!important;margin:0 0 4px!important;height:34px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
#certGrid:not(.cert-list) .compact-card-copy p{font-size:11px!important;line-height:15px!important;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#certGrid:not(.cert-list) .cert-request-note,#certGrid:not(.cert-list) .cert-validity,#certGrid:not(.cert-list) .text-link{display:none!important}
@media(max-width:600px){#certGrid:not(.cert-list){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}body[data-page-type="certificates"] .sub-hero h1{font-size:26px!important}}
/* END_VIEWLIGHT_CERT_COMPACT_GRID_V1 */

/* VIEWLIGHT_CERT_DETAIL_V1 */
.cert-detail-trigger{border:0!important;border-radius:0!important;width:100%;margin:0;font:inherit;text-align:center;cursor:pointer!important;box-shadow:none!important}
.cert-detail-trigger:focus-visible{outline:2px solid #9c783e!important;outline-offset:-2px}
.cert-detail-trigger:hover{background:#e8ebe6!important}
body.cert-detail-open{overflow:hidden}
.certificate-detail-dialog{width:min(92vw,600px);max-width:600px;max-height:92vh;padding:0;border:1px solid #9b937b;border-radius:8px;background:#fafaf7;color:#28332e;box-shadow:0 20px 70px #0006;overflow:auto;font:inherit}
.certificate-detail-dialog:not([open]){display:none}
.certificate-detail-dialog::backdrop{background:rgba(9,14,12,.68)}
.cert-detail-header{display:flex!important;position:sticky!important;top:0;justify-content:space-between;align-items:flex-start;gap:14px;padding:14px 16px!important;background:#fafaf7!important;border-bottom:1px solid #d9dcd4;z-index:1}
.cert-detail-header h2{font-size:17px!important;line-height:1.4;margin:0 0 4px!important;color:#28332e!important}
.cert-detail-header p{font-size:12px!important;margin:0!important;color:#5c665e!important}
.cert-detail-close{flex:0 0 auto;padding:6px 10px;border:1px solid #a6afa6;background:#fff;color:#28332e;cursor:pointer;font-size:13px}
.cert-detail-image-wrap{padding:14px;text-align:center;background:#e9ece7}
.cert-detail-image{display:block;margin:0 auto;max-width:min(100%,480px)!important;max-height:65vh!important;width:auto!important;height:auto!important;object-fit:contain!important;transform:none!important}
.cert-detail-footer{padding:12px 16px!important;background:#fafaf7!important;color:#28332e!important;border-top:1px solid #d9dcd4}
.cert-detail-footer p,.cert-detail-footer a{font-size:12px!important;line-height:1.6!important;margin:0!important;color:#344a3c!important}
.cert-detail-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:9px 0}.cert-detail-actions a,.cert-detail-copy{border:1px solid #7b8b7d;padding:7px 11px!important;background:#fff;border-radius:4px;color:#28332e!important;font-size:12px;cursor:pointer}.cert-detail-actions a{background:#e6ede3!important;font-weight:600}
/* END_VIEWLIGHT_CERT_DETAIL_V1 */
