/* Original marks: crop surrounding content and blend the white image matte into the surface. */
body .cert-mark { display:inline-block; position:relative; width:44px; height:44px; overflow:hidden; flex:none; vertical-align:middle; border-radius:0; background:transparent; mix-blend-mode:multiply; }
body .cert-mark img { position:absolute; display:block; max-width:none; margin:0; padding:0; border:0; border-radius:0; object-fit:fill; transform:none; filter:none; transition:none; }
body .cert-mark--iso { mix-blend-mode:normal; }
/* Compensate for transparent padding so the visible ISO mark matches adjacent emblems. */
body .cert-mark--iso img { width:150%; height:150%; inset:-25%; object-fit:contain; }
body .cert-mark--license { mix-blend-mode:normal; }
body .cert-mark--license img { width:100%; height:100%; inset:0; object-fit:contain; }
body .cert-mark--rs img { width:238.1667%; height:158.8333%; left:-63%; top:-29.5%; }
body .site-header.unified-header .certificate { cursor:pointer; text-decoration:none; color:var(--ink,#28343d); border-radius:4px; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:5px; }
body .site-header.unified-header .certificate:hover { background:#fff8ec; }
body .site-header.unified-header .certificate>.cert-mark { width:40px; height:40px; }
body .site-header.unified-header .certificate:focus-visible { outline:2px solid #947548; outline-offset:3px; }
body .certificate-rail-label { font-size:10px; white-space:nowrap; color:#626b75; }
@media(min-width:1221px) { body .site-header.unified-header .header-inner { grid-template-columns:166px minmax(0,1fr) 182px 230px; } }
html.certificate-open,html.certificate-open body { overflow:hidden !important; }
.certificate-dialog { width:min(1040px,calc(100vw - 64px)); max-width:1040px; max-height:calc(100dvh - 64px); padding:0; border:1px solid #e1e5e8; border-radius:10px; margin:auto; background:#fff; color:#2d3840; box-shadow:0 22px 90px #17212b26; font-family:inherit; overflow:hidden; }
.certificate-dialog::backdrop { background:#17212b55; backdrop-filter:blur(3px); }
.cert-dialog-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; padding:24px 28px; border-bottom:1px solid #e4e8eb; }
.cert-overline { margin:0 0 8px; font-size:11px; line-height:1.4; font-weight:500; letter-spacing:.055em; text-transform:uppercase; color:#837154; }
.cert-dialog-heading h2 { margin:0; font-size:27px; line-height:1.15; font-weight:500; letter-spacing:-.035em; }
.cert-close { width:40px; height:40px; display:grid; place-items:center; border:1px solid #e1e5e8; border-radius:5px; background:#fff; color:#52606a; font:inherit; font-size:27px; line-height:1; cursor:pointer; }
.cert-close:hover { background:#f6f7f8; }
.cert-dialog-layout { display:grid; grid-template-columns:236px minmax(0,1fr); height:min(680px,calc(100dvh - 176px)); }
.cert-tabs { border-right:1px solid #e4e8eb; padding:16px 12px; background:#fbfcfc; }
.cert-tabs button { display:flex; align-items:center; gap:12px; padding:16px 12px; width:100%; border:1px solid transparent; background:none; border-radius:5px; color:inherit; font:inherit; text-align:left; cursor:pointer; }
.cert-tabs button+button { margin-top:8px; }
.cert-tabs button[aria-selected=true] { background:#fff7e9; border-color:#e8d4af; }
.cert-tabs button:hover { background:#f3f5f6; }
.cert-tabs button[aria-selected=true]:hover { background:#fff3de; }
.cert-tabs strong { display:block; font-size:14px; font-weight:550; line-height:1.4; }
.cert-tabs small { display:block; margin-top:4px; font-size:11px; line-height:1.5; color:#71808a; }
.cert-tabs .cert-mark { width:36px; height:36px; }
.cert-panel { overflow-y:auto; min-width:0; padding:28px 30px; overscroll-behavior:contain; scrollbar-gutter:stable; }
.cert-detail-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.cert-detail-heading h3 { font-size:27px; line-height:1.18; font-weight:500; letter-spacing:-.035em; margin:0; max-width:480px; }
.cert-detail-heading .cert-mark { width:64px; height:64px; }
.cert-status-row { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:20px 0 16px; }
.cert-status { display:inline-block; background:#f1f3f4; color:#61707b; padding:7px 10px; border-radius:4px; font-size:12px; line-height:1.4; }
.cert-status--verified { background:#edf5ef; color:#477053; }
.cert-status-row small { color:#849099; font-size:11px; }
.cert-holder { margin:0 0 20px; color:#6d7a83; font-size:12px; line-height:1.6; }
.cert-metadata { display:grid; grid-template-columns:1.35fr 1fr 1fr; gap:16px; padding:18px 0; margin:0 0 20px; border-top:1px solid #e4e8eb; border-bottom:1px solid #e4e8eb; }
.cert-metadata dt { font-size:11px; color:#77858f; margin-bottom:8px; }
.cert-metadata dd { margin:0; font-size:14px; font-weight:550; }
.cert-actions { display:flex; flex-wrap:wrap; gap:12px 20px; align-items:center; margin:22px 0; }
.cert-actions a { color:#80633a; font-size:13px; text-decoration:none; line-height:1.4; }
.cert-actions a:hover { text-decoration:underline; }
.cert-actions a.cert-primary { display:inline-flex; align-items:center; min-height:42px; padding:11px 16px; border:1px solid #e2cda8; border-radius:5px; background:#fff7e9; }
.cert-preview { border:1px solid #e2e7ea; border-radius:6px; overflow:hidden; background:#f4f6f7; }
.cert-preview-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:10px 14px; border-bottom:1px solid #e2e7ea; background:#fff; font-size:12px; color:#6e7b85; }
.cert-preview-toolbar>div { display:flex; align-items:center; gap:10px; white-space:nowrap; }
.cert-preview-toolbar button { border:1px solid #e0e5e8; background:#fff; width:30px; height:30px; border-radius:4px; color:#52616c; font:inherit; cursor:pointer; }
.cert-preview-toolbar button:disabled { opacity:.35; cursor:default; }
.cert-page-link { display:block; padding:20px; }
.cert-page-link img { display:block; width:100%; height:auto; border:1px solid #e0e5e8; box-shadow:0 3px 12px #17212b09; }
.cert-footnote { font-size:12px; line-height:1.7; color:#7c8992; margin:18px 0 0; }
.cert-footnote a { color:#80633a; text-decoration:none; }
.cert-description { font-size:15px; line-height:1.75; margin:20px 0; color:#5e6c76; }
.cert-source-note { padding:20px; background:#f7f8f9; border:1px solid #e4e8eb; border-radius:6px; }
.cert-source-note h4 { margin:0 0 10px; font-size:16px; font-weight:550; }
.cert-source-note p { font-size:13px; line-height:1.75; color:#687782; margin:8px 0 0; }
.cert-contact { display:grid; gap:6px; border-top:1px solid #e4e8eb; padding-top:22px; margin-top:26px; font-size:13px; line-height:1.5; }
.cert-contact>span { color:#839099; font-size:11px; }
.cert-contact strong { font-size:15px; font-weight:550; }
.cert-contact a { color:#63727c; text-decoration:none; width:fit-content; }
.certificate-dialog button:focus-visible,.certificate-dialog a:focus-visible { outline:2px solid #947548; outline-offset:3px; }
body .cp-certificate-grid.cert-source-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
body .cert-source-grid .cp-certificate { display:flex; flex-direction:column; gap:18px; }
body .cert-source-grid .cp-certificate>div { display:flex; flex-direction:column; flex:1; }
body .cert-source-grid .cp-certificate h3 { line-height:1.3; }
body .cert-source-grid .cp-certificate p { flex:1; }
body .cert-source-grid .cert-card-status { display:block; color:#7c8993; font-size:11px; line-height:1.6; margin:10px 0 18px; }
@media(max-width:800px) { .certificate-dialog { width:calc(100vw - 24px); max-height:calc(100dvh - 24px); }.cert-dialog-layout { grid-template-columns:1fr; height:calc(100dvh - 130px); grid-template-rows:auto minmax(0,1fr); }.cert-tabs { display:flex; padding:8px; border-right:0; border-bottom:1px solid #e4e8eb; gap:6px; }.cert-tabs button { padding:10px 7px; justify-content:center; }.cert-tabs button+button { margin:0; }.cert-tabs small,.cert-tabs .cert-mark { display:none; }.cert-tabs strong { font-size:12px; }.cert-panel { padding:22px; }.cert-dialog-heading { padding:20px; }.cert-dialog-heading h2 { font-size:24px; }.cert-detail-heading h3 { font-size:24px; }.cert-metadata { grid-template-columns:1fr; gap:14px; }.cert-metadata div { display:flex; justify-content:space-between; gap:12px; }.cert-metadata dt { margin:0; }.cert-preview-toolbar { font-size:11px; }.cert-page-link { padding:10px; }body .cp-certificate-grid.cert-source-grid { grid-template-columns:1fr; } }
