/* Scoped to certification content. Website header, menus, footer, and shared tokens are unchanged. */
body.record-ready .lookup-hero{display:block;padding:24px 0 0}
body.record-ready .lookup-intro,body.record-ready .lookup-heading,body.record-ready .lookup-meta,body.record-ready #lookup-form>label{display:none}
body.record-ready .lookup-panel{padding:0;background:transparent;border:0;box-shadow:none;max-width:570px;margin-left:auto}
body.record-ready #lookup-form .input-row{display:flex;gap:0}
body.record-ready #certificate-number{min-width:0;flex:1;height:46px;font-size:14px;padding:12px}
body.record-ready #lookup-form .input-row button{min-height:46px;padding:10px 18px;flex-shrink:0}
body.record-ready .result-shell{margin-top:22px}
.customer-certificate{background:white;border:0;box-shadow:none;--customer-gold:#70511e;--customer-line:#d6c8af;color:#1d2024}
.customer-certificate .verification-banner,.customer-certificate .certificate-header,.customer-certificate .certificate-primary-checks,.customer-certificate .certificate-primary-actions,.customer-certificate .holder-phone-guidance,.customer-certificate .evidence-heading,.customer-certificate .full-evidence>.coin-overview{display:none}
.customer-certificate .certificate-primary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;padding:0 0 24px;background:white;border:0}
.customer-certificate .certificate-primary-identity{grid-column:1;grid-row:1;align-self:start}
.customer-certificate .certificate-feature-image{grid-column:2;grid-row:1}
.customer-certificate .customer-eyebrow{font:700 12px/1.4 'DM Sans',Arial,sans-serif;letter-spacing:2px;color:var(--customer-gold);margin:0 0 15px}
.customer-certificate .certificate-primary-identity h2{max-width:none;margin:0;font:700 clamp(32px,3.4vw,50px)/1.1 'Times New Roman',Times,serif;letter-spacing:-1.6px}
.customer-certificate #primary-coin-variety{font:24px/1.3 'Times New Roman',Times,serif;margin:8px 0 0;color:#3a4456}
.customer-certificate .customer-identity{display:flex;align-items:center;gap:24px;margin:24px 0 22px;padding:0 0 23px;border-bottom:1px solid var(--customer-line)}
.customer-certificate .customer-identity>div+div{border-left:1px solid var(--customer-line);padding-left:24px}
.customer-certificate .customer-identity dt,.customer-certificate .certificate-quick-facts dt{font:700 11px/1.4 'DM Sans',Arial,sans-serif;letter-spacing:1.5px;color:#4b515d;margin:0 0 5px;text-transform:uppercase}
.customer-certificate .customer-identity dd{margin:0}
.customer-certificate #certificate-number-display,.customer-certificate .customer-mintage-value,.customer-certificate .customer-holder-type-value,.customer-certificate .customer-label-type-value,.customer-certificate .customer-certified-date-value{margin:0;font:700 23px/1.25 'Times New Roman',Times,serif;letter-spacing:0}
.customer-certificate #status-badge{border:0;background:transparent;padding:0;gap:10px;display:flex}
.customer-certificate #status-badge small{display:none}
.customer-certificate #status-badge strong{font:600 17px/1.35 'DM Sans',Arial,sans-serif;text-transform:capitalize;letter-spacing:0}
.customer-certificate .certificate-primary-grade{display:block;padding:0;border:0}
.customer-certificate .certificate-primary-grade>span{display:block;margin-bottom:7px;font:700 11px/1.4 'DM Sans',Arial,sans-serif;letter-spacing:1.5px;color:#454c57}
.customer-certificate .customer-grade-line{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.customer-certificate #primary-grade,.customer-certificate #primary-designation{font:700 50px/1.1 'Times New Roman',Times,serif;letter-spacing:-1.5px;color:#1d2024}
.customer-certificate .customer-qualification{font:13px/1.4 'DM Sans',Arial,sans-serif;color:#3f4b64;max-width:220px}
.customer-certificate .customer-grade-line .customer-text-link{font-size:13px;white-space:nowrap}
.customer-certificate .customer-text-link,.customer-dialog .customer-text-link{color:#70511e;text-decoration:underline;text-underline-offset:3px;font:16px/1.4 'Times New Roman',Times,serif;background:transparent;border:0;padding:0;min-height:0;text-transform:none;letter-spacing:0;cursor:pointer}
.customer-certificate .certificate-quick-facts{display:flex;gap:26px;flex-wrap:wrap;align-items:flex-start;margin:24px 0 0}
.customer-certificate .certificate-quick-facts>div{display:block;min-height:0;padding:0;border:0;flex:none}
.customer-certificate .certificate-quick-facts dd{font:700 22px/1.3 'Times New Roman',Times,serif;color:#1d2024;margin:0;overflow-wrap:normal}
.customer-certificate #quick-certified{white-space:nowrap}
.customer-certificate .customer-population-value{font:700 22px/1.2 'Times New Roman',Times,serif;color:#70511e;text-decoration:underline;text-underline-offset:4px;background:none;border:0;padding:0;cursor:pointer}
.customer-certificate .customer-population small{display:block;font:12px/1.4 'DM Sans',Arial,sans-serif;margin-top:6px;color:#536078}
.customer-certificate .certificate-feature-image figure{border:0;border-radius:3px;background:transparent}
.customer-certificate .certificate-feature-image figure button{background:transparent}
.customer-certificate .certificate-feature-image .image-gallery img{max-height:none;aspect-ratio:auto;object-fit:contain}
.customer-certificate .certificate-feature-image figcaption{display:none}
.customer-certificate .customer-image-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.customer-certificate #featured-image-heading{font:14px/1.4 'Times New Roman',Times,serif;letter-spacing:0;margin:0;text-align:left;color:#1d2024}
.customer-certificate .customer-image-bar #customer-atlas-link,.customer-certificate .customer-image-bar #view-all-images{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;margin:0;min-height:52px;padding:10px 12px;font:700 14px/1.35 'DM Sans',Arial,sans-serif;background:#70511e;color:white;border:1px solid #70511e;letter-spacing:0;white-space:normal;text-transform:none;text-align:center;text-decoration:none;cursor:pointer}
.customer-certificate .record-actions{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:16px;flex-wrap:wrap}
.customer-certificate .record-actions>*{font:14px/1.4 'DM Sans',Arial,sans-serif;text-transform:none;letter-spacing:0;min-height:24px;padding:0;background:none;border:0;color:#62451a;flex:none;text-decoration:none;cursor:pointer}
.customer-certificate .record-actions>*:not([hidden])+*:not([hidden]){border-left:1px solid var(--customer-line);padding-left:16px}
.customer-certificate .customer-summary{display:flex;align-items:flex-start;gap:26px;padding:23px 8px;border-top:1px solid var(--customer-line)}
.customer-certificate .customer-icon{display:inline-flex;align-items:center;justify-content:center;color:#70511e;flex-shrink:0}
.customer-certificate .customer-icon svg{width:23px;height:23px}
.customer-certificate .customer-round-icon{width:73px;height:73px;border-radius:50%;background:#f4f0e6}
.customer-certificate .customer-round-icon svg{width:36px;height:36px}
.customer-certificate .customer-summary-copy{min-width:0;flex:1}
.customer-certificate .customer-summary h3{font:700 29px/1.1 'Times New Roman',Times,serif;letter-spacing:-.6px;color:#1d2024;margin:0 0 7px}
.customer-certificate .customer-summary p{margin:0}
.customer-certificate .customer-session{font:19px/1.2 'Times New Roman',Times,serif;color:#242831}
.customer-certificate .customer-session[data-tone=danger]{color:#9d423d;font-weight:700}
.customer-certificate .customer-last-nfc{font:700 16px/1.4 'DM Sans',Arial,sans-serif;color:#1b2028;margin-top:4px!important}
.customer-certificate .customer-last-nfc strong{font-weight:700}
.customer-certificate .customer-support{font:15px/1.4 'DM Sans',Arial,sans-serif;color:#4e5970}
.customer-certificate .customer-holder-help{align-self:center;flex-shrink:0;margin-left:auto}
.customer-certificate .customer-rationale .customer-summary-copy{max-width:850px}
.customer-certificate .customer-rationale-text{font:16px/1.5 'DM Sans',Arial,sans-serif;color:#4e5970}
.customer-certificate .full-evidence{border:0}
.customer-certificate .customer-detail{border-top:1px solid var(--customer-line)}
.customer-certificate .customer-detail:last-child{border-bottom:1px solid var(--customer-line)}
.customer-certificate .customer-detail>summary{display:flex;align-items:center;gap:24px;list-style:none;cursor:pointer;min-height:48px;padding:12px 14px;font:20px/1.3 'Times New Roman',Times,serif;color:#1d2024;background:white}
.customer-certificate .customer-detail>summary::-webkit-details-marker{display:none}
.customer-certificate .customer-chevron{margin-left:auto}.customer-certificate .customer-chevron svg{width:18px;height:18px}
.customer-certificate .customer-detail[open] .customer-chevron{transform:rotate(180deg)}
.customer-certificate .customer-detail>summary:hover{background:#fcfaf6}
.customer-certificate .customer-detail-body{padding:20px 60px 30px;font:16px/1.6 'DM Sans',Arial,sans-serif}
.customer-certificate .customer-detail-body .facts-section,.customer-certificate .customer-detail-body .provenance-section,.customer-certificate .customer-detail-body .public-summary,.customer-certificate .customer-detail-body .authentication-state,.customer-certificate .customer-detail-body .market-view{padding:0;border:0;box-shadow:none}
.customer-certificate .customer-detail-body .section-heading,.customer-certificate .customer-detail-body .public-summary>.eyebrow{display:none}
.customer-certificate .customer-detail-body .evidence-fact-group{padding:18px;margin-bottom:18px}
.customer-certificate .customer-detail-body p{font-size:16px;line-height:1.6}
.customer-certificate .customer-mismatch{display:inline-block;margin:25px 0;font:14px/1.4 'Times New Roman',Times,serif;color:#70511e;text-decoration:underline;text-underline-offset:3px}
.customer-certificate button:focus-visible,.customer-certificate a:focus-visible,.customer-certificate summary:focus-visible,.customer-dialog button:focus-visible,.customer-dialog input:focus-visible{outline:3px solid #86682d;outline-offset:4px}
.customer-dialog{width:min(640px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow:auto;border:1px solid #baa778;border-radius:4px;padding:28px;background:white;color:#242831;box-shadow:0 18px 60px #0002;font:16px/1.5 'DM Sans',Arial,sans-serif}
.customer-dialog::backdrop{background:#171b22aa}.customer-dialog header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}
.customer-dialog h2{font:700 29px/1.1 'Times New Roman',Times,serif;margin:0}.customer-dialog h3{font:700 23px/1.2 'Times New Roman',Times,serif}
.customer-dialog p{font-size:16px;line-height:1.6}.customer-dialog .customer-modal-grade{font:700 34px/1.2 'Times New Roman',Times,serif}
.customer-dialog-close{min-height:42px;padding:8px 12px;border:1px solid #d6c8af;background:white;color:#70511e;cursor:pointer}
.customer-dialog label{display:block;margin:20px 0 6px}.customer-dialog input{width:100%;min-width:0;padding:12px;border:1px solid #cbbca0;font-size:14px}
.customer-primary-button{padding:12px 20px;min-height:44px;background:#70511e;color:white;font-size:12px;font-weight:700;border:1px solid #70511e;cursor:pointer;margin-top:14px}
@media(max-width:1000px){.customer-certificate .certificate-primary{gap:25px}.customer-certificate .certificate-primary-identity h2{font-size:37px}.customer-certificate .customer-holder-help{max-width:190px}.customer-certificate .customer-identity{gap:16px}.customer-certificate .customer-identity>div+div{padding-left:16px}.customer-certificate #status-badge strong{font-size:15px}}
@media(max-width:780px){body.record-ready .lookup-panel{max-width:none}.customer-certificate .certificate-primary{grid-template-columns:1fr;gap:25px;padding:0 0 24px}.customer-certificate .certificate-primary-identity{grid-column:1;grid-row:1}.customer-certificate .certificate-feature-image{grid-column:1;grid-row:2}.customer-certificate .customer-summary{gap:17px;padding:22px 0}.customer-certificate .customer-security{display:grid;grid-template-columns:52px minmax(0,1fr);row-gap:12px}.customer-certificate .customer-security .customer-holder-help{grid-column:2;margin:0;max-width:none;justify-self:start}.customer-certificate .customer-round-icon{width:52px;height:52px}.customer-certificate .customer-round-icon svg{width:29px;height:29px}.customer-certificate .customer-summary h3{font-size:27px}.customer-certificate .customer-detail-body{padding:16px 10px 25px}.customer-certificate .customer-detail>summary{gap:15px;padding:13px 3px;font-size:19px}}
@media(max-width:450px){body.record-ready #lookup-form .input-row button{font-size:11px;padding:10px}.customer-certificate .certificate-primary-identity h2{font-size:33px;letter-spacing:-1px}.customer-certificate #primary-coin-variety{font-size:21px}.customer-certificate .customer-identity{gap:15px}.customer-certificate .customer-identity>div+div{padding-left:15px}.customer-certificate #certificate-number-display,.customer-certificate .customer-mintage-value,.customer-certificate .customer-holder-type-value,.customer-certificate .customer-label-type-value,.customer-certificate .customer-certified-date-value{font-size:18px}.customer-certificate #status-badge strong{font-size:14px}.customer-certificate .customer-identity dt{font-size:10px;letter-spacing:1px}.customer-certificate #primary-grade,.customer-certificate #primary-designation{font-size:48px}.customer-certificate .customer-qualification{max-width:none;flex-basis:100%;font-size:14px}.customer-certificate .customer-grade-line .customer-text-link{font-size:14px}.customer-certificate .certificate-quick-facts{gap:20px;justify-content:space-between}.customer-certificate .certificate-quick-facts dd,.customer-certificate .customer-population-value{font-size:18px}.customer-certificate .certificate-quick-facts dt{font-size:10px;letter-spacing:1.2px}.customer-certificate .customer-population small{font-size:10px}.customer-certificate #view-all-images{font-size:11px;padding:12px 15px}.customer-certificate .customer-security{grid-template-columns:45px minmax(0,1fr)}.customer-certificate .customer-round-icon{width:45px;height:45px}.customer-certificate .customer-last-nfc{font-size:15px}.customer-certificate .customer-support{font-size:14px}.customer-certificate .customer-session{font-size:17px}.customer-certificate .customer-detail>summary{font-size:17px}.customer-certificate .customer-detail>summary svg{width:20px;height:20px}.customer-dialog{padding:22px}}
@media print{.customer-certificate .customer-summary,.customer-certificate .customer-mismatch,.customer-certificate .customer-detail{display:none!important}.customer-dialog{display:none!important}}
/* Local exceptions for secondary record links; shared website button styling stays intact. */
html body #certificate-card.customer-certificate .customer-text-link,html body #certificate-card.customer-certificate .customer-population-value{background:transparent!important;color:#70511e!important;border:0!important;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important}
html body #certificate-card.customer-certificate .customer-text-link:hover,html body #certificate-card.customer-certificate .customer-population-value:hover{background:transparent!important;color:#3d2c0e!important}
html body #certificate-card.customer-certificate .record-actions>:is(a,button){background:transparent!important;color:#62451a!important;min-height:24px!important;padding:0!important;font:400 14px/1.4 'DM Sans',Arial,sans-serif!important;text-transform:none!important;letter-spacing:0!important;border:0!important}
html body #certificate-card.customer-certificate .record-actions>*:not([hidden])+*:not([hidden]){border-left:1px solid #d6c8af!important;padding-left:16px!important}
html body #certificate-card.customer-certificate .record-actions>:is(a,button):hover{background:transparent!important;color:#3d2c0e!important;text-decoration:underline}
.customer-certificate .customer-qualification{text-transform:none!important;letter-spacing:0!important;flex:none;font-size:13px;max-width:none}
.customer-certificate .customer-grade-line{gap:12px 15px}
html body #certificate-card.customer-certificate .customer-population-value{font:700 22px/1.2 'Times New Roman',Times,serif!important;padding:0!important;min-height:0!important}
html body #certificate-card.customer-certificate .certificate-feature-image figure button{background:transparent!important;border:0!important}
@media(max-width:450px){.customer-certificate .customer-qualification{flex-basis:100%;font-size:14px}html body #certificate-card.customer-certificate .customer-population-value{font-size:18px!important}}
html body #certificate-card.customer-certificate .record-actions>:is(a,button){width:auto!important;max-width:none!important}
.customer-certificate .certificate-feature-image .image-gallery{width:100%;max-width:none}

/* MarketView sits naturally within the certification disclosure. */
.customer-certificate .customer-detail-body .market-view{background:transparent;overflow:visible}
.customer-certificate .market-view-header{align-items:flex-start;flex-wrap:wrap;gap:12px 24px;margin:0 0 24px;padding:0;background:transparent;color:#1d2024}
.customer-certificate .market-view-header h3{margin:0;font:700 30px/1.2 'Times New Roman',Times,serif;color:#1d2024;letter-spacing:-.5px}
.customer-certificate .market-view-header .eyebrow{margin:6px 0 0;font:400 14px/1.5 'DM Sans',Arial,sans-serif;color:#536078;letter-spacing:0;text-transform:none}
.customer-certificate .market-view-header>span{margin:6px 0 0;padding:0;border:0;background:transparent;color:#536078;font:400 13px/1.5 'DM Sans',Arial,sans-serif;text-align:left;white-space:normal}

/* Keep mobile lookup text readable before and after a certification loads. */
@media(max-width:780px){body #lookup-form #certificate-number{font-size:16px}}

/* Grade help and the market reference note use consistent secondary placement. */
.customer-certificate .customer-grade-line .customer-text-link{flex-basis:100%;width:100%;text-align:left;justify-content:flex-start}
.customer-certificate .customer-detail-body .market-disclosure{margin:12px 0 0;font-size:13px;font-style:italic;font-weight:400;line-height:1.45;color:#66707b}

/* MarketView is always visible on its own row below the certification facts. */
.customer-certificate .customer-inline-market{margin:24px 0 0;padding:18px 0 0;border:0;border-top:1px solid var(--customer-line);background:transparent;box-shadow:none;overflow:visible;width:100%}
.customer-certificate .customer-inline-market .market-view-header{gap:8px 16px;margin:0 0 14px}
.customer-certificate .customer-inline-market .market-view-header h3{font-size:26px}
.customer-certificate .customer-inline-market .market-view-header .eyebrow{font-size:13px;margin-top:4px}
.customer-certificate .customer-inline-market .market-view-header>span{font-size:11px;margin-top:6px}
.customer-certificate .customer-inline-market .market-metrics{grid-template-columns:repeat(2,minmax(0,1fr));margin:0}
.customer-certificate .customer-inline-market .market-metrics>div{min-height:132px;padding:18px;align-items:flex-start;text-align:left}
.customer-certificate .customer-inline-market .market-metrics>div:only-child{width:100%;justify-self:stretch}
.customer-certificate .customer-inline-market .market-metrics strong{font-size:42px;margin:10px 0}
.customer-certificate .customer-inline-market .market-metrics span,.customer-certificate .customer-inline-market .market-metrics small{font-size:14px;line-height:1.5}
.customer-certificate .customer-inline-market .market-disclosure{margin:12px 0 0;font-size:13px;font-style:italic;font-weight:400;line-height:1.45;color:#66707b}
.customer-certificate .customer-inline-market .market-state{font:14px/1.5 'DM Sans',Arial,sans-serif;color:#536078}
.customer-certificate .customer-inline-market .market-state p{margin:0 0 14px;font-size:14px;line-height:1.5}
@media(max-width:450px){.customer-certificate .customer-inline-market .market-metrics{grid-template-columns:1fr}}

/* Readable certificate summary on tablets and phones. */
@media(max-width:1100px){
.customer-certificate .certificate-primary{grid-template-columns:1fr;gap:28px}
.customer-certificate .certificate-primary-identity{grid-column:1;grid-row:1}
.customer-certificate .certificate-feature-image{grid-column:1;grid-row:2}
.customer-certificate .customer-identity dt,.customer-certificate .certificate-quick-facts dt,.customer-certificate .certificate-primary-grade>span{font-size:12px;letter-spacing:1px}
.customer-certificate #certificate-number-display,.customer-certificate .customer-mintage-value,.customer-certificate .customer-holder-type-value,.customer-certificate .customer-label-type-value,.customer-certificate .customer-certified-date-value{font-size:20px}
.customer-certificate #status-badge strong{font-size:16px}
.customer-certificate .customer-qualification{flex-basis:100%;font-size:16px;line-height:1.5}
.customer-certificate .customer-grade-line .customer-text-link{font-size:16px;line-height:1.5}
.customer-certificate .certificate-quick-facts dd{font-size:22px}
.customer-certificate .customer-population small{font-size:13px;line-height:1.5}
.customer-certificate .customer-inline-market .market-view-header{display:block;margin-bottom:16px}
.customer-certificate .customer-inline-market .market-view-header h3{font-size:28px}
.customer-certificate .customer-inline-market .market-view-header .eyebrow{font-size:16px;line-height:1.5}
.customer-certificate .customer-inline-market .market-view-header>span{display:block;margin-top:8px;font-size:14px;line-height:1.5}
.customer-certificate .customer-inline-market .market-metrics{grid-template-columns:1fr}
.customer-certificate .customer-inline-market .market-metrics>div{min-height:132px;padding:18px}
.customer-certificate .customer-inline-market .market-metrics span,.customer-certificate .customer-inline-market .market-metrics small{font-size:14px;line-height:1.5}
.customer-certificate .customer-inline-market .market-metrics strong{font-size:42px;margin:10px 0}
.customer-certificate .customer-inline-market .market-state,.customer-certificate .customer-inline-market .market-state p{font-size:16px;line-height:1.5}
.customer-certificate .customer-rationale-text,.customer-certificate .customer-support{font-size:17px;line-height:1.6}
.customer-certificate .customer-last-nfc{font-size:17px;line-height:1.5}
.customer-certificate .certificate-feature-image figure{max-width:760px;margin-left:auto;margin-right:auto}
}

/* On phones and tablets, images precede the grade in visual and reading order. */
@media(max-width:1100px){.customer-certificate .certificate-primary-identity>.certificate-feature-image{margin:0 0 28px}}

.customer-certificate .customer-market-footnote{margin:24px 0 0;padding:0;font-size:13px;font-style:italic;font-weight:400;line-height:1.45;color:#66707b}
.customer-certificate .customer-market-footnote[hidden]{display:none}

.customer-certificate .customer-market-details{margin-top:24px;font:16px/1.6 'DM Sans',Arial,sans-serif}
.customer-certificate .customer-market-details .market-opportunities{grid-template-columns:1fr}
.customer-certificate .customer-market-details .market-opportunities p:not(.eyebrow){font-size:14px;line-height:1.5}
.customer-certificate .customer-market-details .marketplace-listing-copy strong,.customer-certificate .customer-market-details .marketplace-listing-copy b{font-size:14px;line-height:1.5}
.customer-certificate .customer-market-details .marketplace-listing-copy small{font-size:12px;line-height:1.5}

html body #certificate-card.customer-certificate .customer-image-bar #customer-atlas-link,html body #certificate-card.customer-certificate .customer-image-bar #view-all-images{font:700 14px/1.35 'DM Sans',Arial,sans-serif!important;text-transform:none!important;letter-spacing:0!important}

html body #certificate-card.customer-certificate .record-actions>.customer-action{border-left:1px solid #d6c8af!important;padding-left:16px!important}

/* Certification image viewer only. Keep the image large and controls together. */
html body #image-lightbox.customer-gallery,html body #expanded-image-dialog.customer-gallery{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#fff;color:#242831;box-shadow:none}
#image-lightbox.customer-gallery .lightbox-shell{height:100%;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto auto}
#image-lightbox.customer-gallery .lightbox-header{grid-row:1}
#image-lightbox.customer-gallery .customer-gallery-status{grid-row:2}
#image-lightbox.customer-gallery .lightbox-stage{grid-row:3}
#image-lightbox.customer-gallery .customer-gallery-navigation{grid-row:4}
#image-lightbox.customer-gallery .lightbox-footer{grid-row:5}
#image-lightbox.customer-gallery .lightbox-header,#expanded-image-dialog.customer-gallery header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px;border:0;background:#fff;color:#242831}
#image-lightbox.customer-gallery .lightbox-header>div:first-child{min-width:0}
#image-lightbox.customer-gallery .lightbox-header h2,#expanded-image-dialog.customer-gallery h2{margin:0;font:600 20px/1.25 'DM Sans',Arial,sans-serif;color:#242831}
#image-lightbox.customer-gallery .lightbox-header .eyebrow{margin:0 0 4px;font:400 11px/1.3 'DM Sans',Arial,sans-serif;letter-spacing:1px;color:#66707b}
html body .customer-gallery-toolbar{display:flex;gap:8px;flex-shrink:0;margin:0;padding:0}
html body .customer-gallery-toolbar .customer-gallery-tool{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border:1px solid #dce0e4;border-radius:8px;background:#fff!important;color:#242831!important;text-decoration:none;cursor:pointer}
.customer-gallery-toolbar svg{display:block;width:20px;height:20px}
.customer-gallery-toolbar .customer-gallery-tool:hover{border-color:#70511e;background:#f7f5f1!important}
.customer-gallery-toolbar .customer-gallery-tool:focus-visible{outline:3px solid #70511e;outline-offset:2px}
.customer-gallery-toolbar .customer-gallery-tool:disabled{opacity:.45;cursor:wait}
html body #image-lightbox.customer-gallery .lightbox-stage{padding:8px 20px;background:#fff;overflow:hidden}
#image-lightbox.customer-gallery .lightbox-image-expand{background:transparent!important;border:0!important}
#image-lightbox.customer-gallery .lightbox-image-expand img{max-width:100%;max-height:100%;object-fit:contain}
#image-lightbox.customer-gallery .customer-gallery-navigation{display:grid;grid-template-columns:44px minmax(0,640px) 44px;justify-content:center;align-items:center;gap:12px;min-width:0;padding:12px 20px}
#image-lightbox.customer-gallery .lightbox-thumbnails{min-width:0;gap:8px;padding:0;border:0;background:#fff;scrollbar-color:#aeb3b9 #fff}
#image-lightbox.customer-gallery .lightbox-thumbnail{flex:0 0 92px;padding:4px;border:1px solid #dce0e4;border-radius:4px;background:#fff;color:#66707b}
#image-lightbox.customer-gallery .lightbox-thumbnail img{height:54px;background:#fff}
#image-lightbox.customer-gallery .lightbox-thumbnail span{font-size:10px;letter-spacing:0;text-transform:none}
#image-lightbox.customer-gallery .lightbox-thumbnail[aria-current="true"]{border:2px solid #70511e;padding:3px;color:#242831}
html body #image-lightbox.customer-gallery .lightbox-nav{position:static;width:44px;height:44px;padding:0;transform:none;border:1px solid #dce0e4;border-radius:8px;background:#fff!important;color:#242831!important;font:400 26px/1 Arial,sans-serif}
#image-lightbox.customer-gallery .lightbox-footer{display:block;padding:0 20px 12px;border:0;background:#fff;color:#66707b}
#image-lightbox.customer-gallery .lightbox-footer p{margin:0;max-width:none;font:400 12px/1.4 'DM Sans',Arial,sans-serif;text-align:center}
html body .customer-gallery .customer-gallery-status{margin:0;padding:0 20px 8px;font:400 13px/1.4 'DM Sans',Arial,sans-serif;color:#62451a}
#expanded-image-dialog.customer-gallery[open]{display:grid;grid-template-rows:auto auto minmax(0,1fr)}
#expanded-image-dialog.customer-gallery header{grid-row:1}
#expanded-image-dialog.customer-gallery .customer-gallery-status{grid-row:2}
#expanded-image-dialog.customer-gallery .expanded-image-stage{grid-row:3;padding:8px 20px;background:#fff}
@media(max-width:600px){
#image-lightbox.customer-gallery .lightbox-header,#expanded-image-dialog.customer-gallery header{padding:10px 12px;gap:10px}
#image-lightbox.customer-gallery .lightbox-header h2,#expanded-image-dialog.customer-gallery h2{font-size:17px}
html body .customer-gallery-toolbar{gap:6px}
html body #image-lightbox.customer-gallery .lightbox-stage,#expanded-image-dialog.customer-gallery .expanded-image-stage{padding:4px 12px}
#image-lightbox.customer-gallery .customer-gallery-navigation{grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;padding:10px 12px}
#image-lightbox.customer-gallery .lightbox-thumbnail{flex-basis:72px}
#image-lightbox.customer-gallery .lightbox-thumbnail img{height:46px}
#image-lightbox.customer-gallery .lightbox-footer{padding:0 12px 10px}
}
@media print{.customer-print-market-note{margin:8px 0;font-size:9px;font-weight:400;font-style:italic;line-height:1.35;color:#555}}

html body #image-lightbox.customer-gallery .lightbox-thumbnail{background:#fff!important;color:#66707b!important}
html body #image-lightbox.customer-gallery .lightbox-thumbnail[aria-current="true"]{color:#242831!important}

/* Explicit prototype coverage beside the record identity. */
.customer-prototype-notice{margin:16px 0;padding:16px 18px;border:1px solid #b39355;border-radius:6px;background:#fbf6e9;color:#332919;font-size:14px;line-height:1.5}
.customer-prototype-notice strong{display:block;font-size:15px}
.customer-prototype-notice p{margin:6px 0}
.customer-prototype-notice[hidden]{display:none}

/* Certification actions follow the shared brown/gold standard, including touch targets. */
html:root body #certificate-card.customer-certificate :is(.customer-image-bar>:is(a,button),.record-actions>:is(a,button),button.customer-text-link,button.customer-population-value),
html:root body .customer-dialog :is(button.customer-primary-button,button.customer-dialog-close) {
 box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;height:auto;padding:12px 18px!important;margin:0;
 border:1px solid #aa8745!important;border-radius:0;background:#70531e!important;color:#fff!important;box-shadow:none!important;
 font:700 14px/1.35 'DM Sans',Arial,sans-serif!important;letter-spacing:.06em!important;text-align:center;text-decoration:none!important;white-space:normal;cursor:pointer;
}
html:root body #certificate-card.customer-certificate :is(.customer-image-bar>:is(a,button),.record-actions>:is(a,button),button.customer-text-link,button.customer-population-value):hover,
html:root body .customer-dialog :is(button.customer-primary-button,button.customer-dialog-close):hover {background:#563f15!important;color:#fff!important;}
html:root body #certificate-card.customer-certificate .record-actions {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px;}
html:root body #certificate-card.customer-certificate .record-actions>:is(a,button) {width:100%!important;min-width:0;max-width:none!important;}
html:root body #certificate-card.customer-certificate .record-actions>*:not([hidden])+*:not([hidden]) {border-left:1px solid #aa8745!important;padding-left:18px!important;}
html:root body #certificate-card.customer-certificate .customer-image-bar {gap:12px;}
html:root body #certificate-card.customer-certificate .customer-image-bar>:is(a,button) {width:100%!important;min-width:0;min-height:56px;}
html:root body #certificate-card.customer-certificate .customer-grade-line button.customer-text-link {flex:0 1 auto;width:auto;max-width:100%;text-align:center;}
html:root body #certificate-card.customer-certificate button.customer-population-value {min-height:44px;padding:10px 16px!important;}
html:root body #certificate-card.customer-certificate .customer-holder-help {max-width:270px;}
html:root body #certificate-card.customer-certificate #featured-image-heading {display:block;margin:0 0 12px;font:700 16px/1.4 'DM Sans',Arial,sans-serif;color:#1d2024;}
html:root body.record-ready #lookup-form>label {display:block;margin:0 0 8px;font:700 13px/1.4 'DM Sans',Arial,sans-serif;letter-spacing:.04em;color:#454c57;}
html:root body.record-ready #lookup-form .input-row button {min-height:48px;padding:12px 18px;font-size:14px;}
html:root body.record-ready #certificate-number {height:48px;}
html:root body.record-ready :is(.verify-marketplace-rail,.market-strip) {display:none;}
html:root body .customer-gallery :is(.customer-gallery-tool,.lightbox-nav) {border:1px solid #aa8745!important;border-radius:0;background:#70531e!important;color:#fff!important;}
html:root body .customer-gallery :is(.customer-gallery-tool,.lightbox-nav):hover {background:#563f15!important;color:#fff!important;}
html:root body #image-lightbox.customer-gallery .lightbox-thumbnail {background:#70531e!important;color:#fff!important;border-color:#aa8745;}
html:root body #image-lightbox.customer-gallery .lightbox-thumbnail[aria-current="true"] {border:2px solid #e4c985;color:#fff!important;}
html:root body #certificate-card.customer-certificate :is(button,a):focus-visible,
html:root body .customer-dialog button:focus-visible {outline:3px solid #aa8745;outline-offset:3px;}
@media(max-width:780px){
 html:root body #certificate-card.customer-certificate .record-actions {gap:10px;}
 html:root body #certificate-card.customer-certificate .record-actions>:is(a,button) {min-height:64px;padding:12px 10px!important;letter-spacing:.03em!important;}
 html:root body #certificate-card.customer-certificate .record-actions>*:not([hidden])+*:not([hidden]) {padding-left:10px!important;}
 html:root body #certificate-card.customer-certificate .customer-image-bar>:is(a,button) {min-height:64px;padding:12px 10px!important;letter-spacing:.03em!important;}
 html:root body #certificate-card.customer-certificate .customer-holder-help {max-width:100%;margin:0;}
}
@media(max-width:450px){html:root body.record-ready #lookup-form .input-row button{font-size:14px;padding:12px;}}

/* One image action and a compact, full-width row of record tools. */
html:root body #certificate-card.customer-certificate .customer-image-bar {grid-template-columns:minmax(0,1fr);gap:0;}
html:root body #certificate-card.customer-certificate .customer-image-bar #view-all-images {height:48px;min-height:48px;padding:12px 18px!important;}
html:root body #certificate-card.customer-certificate .record-actions.customer-record-tools {box-sizing:border-box;width:100%!important;max-width:none!important;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:10px 0 0;padding:0;}
html:root body #certificate-card.customer-certificate .record-actions.customer-record-tools>:is(a,button) {width:100%!important;max-width:none!important;height:48px!important;min-height:48px!important;padding:10px!important;font:700 14px/1.35 'DM Sans',Arial,sans-serif!important;letter-spacing:.02em!important;}
html:root body #certificate-card.customer-certificate .record-actions.customer-record-tools>*:not([hidden])+*:not([hidden]) {padding-left:10px!important;border-left:1px solid #aa8745!important;}
@media(max-width:780px){html:root body #certificate-card.customer-certificate .record-actions.customer-record-tools {grid-template-columns:repeat(2,minmax(0,1fr));}}

/* Plain-language record counts and the value caveat remain beside their data. */
#certificate-card .customer-population-value{white-space:normal;line-height:1.4;max-width:100%;padding:10px 14px;font-size:14px}
#certificate-card .cx-market-note{font:400 13px/1.5 'DM Sans',Arial,sans-serif;margin:10px 0 0;color:#494e55}

.customer-certificate .customer-identity{align-items:flex-start}

/* Keep the image aligned with NFC information, and comparison tools below it. */
html:root body #certificate-card.customer-certificate .certificate-primary { align-items:start; }
html:root body #certificate-card.customer-certificate .certificate-primary-identity { min-width:0; }
html:root body #certificate-card.customer-certificate .certificate-primary-identity > .criterion-nfc-notice { margin:0 0 24px; }
html:root body #certificate-card.customer-certificate .certificate-feature-image { min-width:0;align-self:start; }
html:root body #certificate-card.customer-certificate .customer-image-comparison { display:flex;flex-direction:column;align-items:center;gap:8px;margin:16px 0 0;text-align:center; }
html:root body #certificate-card.customer-certificate .customer-image-comparison #featured-image-heading { width:100%;margin:0;text-align:center; }
html:root body #certificate-card.customer-certificate .customer-image-comparison .vaultvision-background-controls { justify-content:center;margin:0;max-width:100%;flex-wrap:wrap; }
html:root body #certificate-card.customer-certificate .customer-image-comparison .vaultvision-background-status { width:100%;margin:0;text-align:center; }
html:root body #certificate-card.customer-certificate .customer-grade-line { min-width:0;max-width:100%; }
html:root body #certificate-card.customer-certificate .customer-qualification { flex:0 1 100%;min-width:0;max-width:100%;white-space:normal!important;overflow-wrap:anywhere; }
html:root body #certificate-card.customer-certificate .customer-qualification-explanation { flex:0 1 100%;min-width:0;max-width:100%;margin:0;font:14px/1.55 'DM Sans',Arial,sans-serif;color:#3f4b64;white-space:normal;overflow-wrap:anywhere; }
html:root body #certificate-card.customer-certificate .customer-image-comparison [hidden],
html:root body #certificate-card.customer-certificate .customer-qualification-explanation[hidden] { display:none!important; }

/* Give the qualified-grade analysis a distinct, readable panel. */
html:root body #certificate-card.customer-certificate .customer-qualification-explanation {box-sizing:border-box;padding:16px 18px;background:#f1f2f3;border:1px solid #d5d8dc;border-left:4px solid #8a9098;border-radius:5px;color:#303640;}

/* Present the grade, its rationale, then any qualified-grade findings. */
html:root body #certificate-card.customer-certificate .certificate-primary-grade > .customer-rationale {display:block;margin:18px 0 0;padding:0;border:0;min-width:0;max-width:100%;}
html:root body #certificate-card.customer-certificate .certificate-primary-grade .customer-rationale h3 {font-size:25px;line-height:1.2;margin:0 0 10px;}
html:root body #certificate-card.customer-certificate .customer-qualified-analysis {min-width:0;max-width:100%;margin:18px 0 0;}
html:root body #certificate-card.customer-certificate .customer-qualified-analysis .customer-qualification {display:block;margin:0 0 8px;font-weight:700;}
html:root body #certificate-card.customer-certificate .customer-qualified-analysis[hidden] {display:none!important;}
html:root body #certificate-card.customer-certificate .certificate-quick-facts {display:none!important;}
/* Gold population panel stays with the certification images. */
html:root body #certificate-card.customer-certificate .customer-population-panel {box-sizing:border-box;margin:24px 0 0;padding:22px;background:#d9bd7e;border:1px solid #aa8745;border-radius:5px;color:#24211b;text-align:center;min-width:0;max-width:100%;}
html:root body #certificate-card.customer-certificate .customer-population-panel[hidden] {display:none!important;}
html:root body #certificate-card.customer-certificate .customer-population-panel dt {margin:0 0 14px;font:700 24px/1.2 'Times New Roman',Times,serif;letter-spacing:0;color:#24211b;text-transform:none;}
html:root body #certificate-card.customer-certificate .customer-population-panel dd {margin:0;}
html:root body #certificate-card.customer-certificate .customer-population-panel button.customer-population-value {box-sizing:border-box;width:100%;max-width:100%;min-height:58px;padding:12px 16px!important;font-size:22px!important;white-space:normal;line-height:1.4;}
html:root body #certificate-card.customer-certificate .customer-population-panel small {margin-top:10px;color:#41351d;font-size:13px;}
@media(max-width:450px){html:root body #certificate-card.customer-certificate .customer-population-panel{padding:18px;}html:root body #certificate-card.customer-certificate .customer-population-panel button.customer-population-value{font-size:18px!important;}}

/* Match image and population labels to the Mintage heading. */
html:root body #certificate-card.customer-certificate .customer-image-comparison #featured-image-heading,
html:root body #certificate-card.customer-certificate .customer-population-panel dt {font:700 11px/1.4 'DM Sans',Arial,sans-serif;letter-spacing:1.5px;text-transform:uppercase;color:#4b515d;}
@media(max-width:1100px){html:root body #certificate-card.customer-certificate .customer-image-comparison #featured-image-heading,html:root body #certificate-card.customer-certificate .customer-population-panel dt{font-size:12px;letter-spacing:1px;}}

/* Population uses the same label and action typography as the rest of the record. */
html:root body #certificate-card.customer-certificate .customer-population-panel button.customer-population-value {font:700 14px/1.35 'DM Sans',Arial,sans-serif!important;letter-spacing:.03em!important;text-transform:none!important;}

/* Parallel market and population reference cards. */
html:root body #certificate-card.customer-certificate .customer-reference-panels {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch;margin:24px 0 0;min-width:0;}
html:root body #certificate-card.customer-certificate .customer-reference-panels[hidden] {display:none!important;}
html:root body #certificate-card.customer-certificate .customer-reference-panels > #market-view.customer-inline-market {box-sizing:border-box;width:100%;min-width:0;margin:0;padding:20px;border:1px solid #d6c8af;border-radius:5px;background:#fff;}
html:root body #certificate-card.customer-certificate .customer-reference-panels > .customer-population-panel {margin:0;padding:20px;min-width:0;}
html:root body #certificate-card.customer-certificate .customer-reference-panels .market-view-header {display:block;margin:0 0 14px;text-align:center;}
html:root body #certificate-card.customer-certificate .customer-reference-panels #market-view-title {margin:0;font:700 11px/1.4 'DM Sans',Arial,sans-serif;letter-spacing:1.5px;text-transform:uppercase;color:#4b515d;}
html:root body #certificate-card.customer-certificate .customer-reference-panels .market-metrics {grid-template-columns:minmax(0,1fr);}
html:root body #certificate-card.customer-certificate .customer-reference-panels .market-metrics > div {box-sizing:border-box;min-height:0;width:100%;padding:0;border:0;background:transparent;align-items:center;text-align:center;}
html:root body #certificate-card.customer-certificate .customer-reference-panels .market-metrics strong {font:700 23px/1.25 'Times New Roman',Times,serif;margin:10px 0;}
html:root body #certificate-card.customer-certificate .customer-reference-panels .market-metrics span,
html:root body #certificate-card.customer-certificate .customer-reference-panels .market-metrics small {font:400 12px/1.4 'DM Sans',Arial,sans-serif;}
html:root body #certificate-card.customer-certificate .customer-reference-panels .cx-market-note {font-size:12px;text-align:center;}
html:root body #certificate-card.customer-certificate .customer-reference-panels .market-state,
html:root body #certificate-card.customer-certificate .customer-reference-panels .market-state p {font:400 13px/1.5 'DM Sans',Arial,sans-serif;text-align:center;}
@media(max-width:1100px){html:root body #certificate-card.customer-certificate .customer-reference-panels #market-view-title{font-size:12px;letter-spacing:1px;}}
@media(max-width:680px){html:root body #certificate-card.customer-certificate .customer-reference-panels{grid-template-columns:minmax(0,1fr);}}

/* Reference card headings follow the Why This Grade section heading. */
html:root body #certificate-card.customer-certificate .customer-reference-panels #market-view-title,
html:root body #certificate-card.customer-certificate .customer-reference-panels .customer-population-panel dt {font:700 25px/1.2 'Times New Roman',Times,serif;letter-spacing:0;text-transform:none;color:#1d2024;margin:0 0 16px;}
html:root body #certificate-card.customer-certificate .customer-reference-panels > #market-view.customer-inline-market {background:linear-gradient(145deg,#fff,#eef6f2);border-color:#b9cfc5;border-top:3px solid #a88745;}
html:root body #certificate-card.customer-certificate .customer-reference-panels .market-metrics strong {display:block;width:100%;font:700 44px/1.1 'Times New Roman',Times,serif;color:#173a31;margin:14px 0 6px;overflow-wrap:anywhere;}
html:root body #certificate-card.customer-certificate .customer-reference-panels .market-metrics small {display:block;flex:0 0 auto;width:100%;margin:6px 0 0;font:400 12px/1.5 'DM Sans',Arial,sans-serif;color:#53645e;}
html:root body #certificate-card.customer-certificate .customer-reference-panels .customer-population-panel button.customer-population-value {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:0;min-height:128px;padding:16px 0!important;}
html:root body #certificate-card.customer-certificate .customer-population-stat {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-width:0;padding:4px 10px;}
html:root body #certificate-card.customer-certificate .customer-population-stat + .customer-population-stat {border-left:1px solid rgba(255,255,255,.35);}
html:root body #certificate-card.customer-certificate .customer-population-number {display:block;font:700 44px/1.1 'Times New Roman',Times,serif;color:#fff;letter-spacing:0;}
html:root body #certificate-card.customer-certificate .customer-population-label {display:block;font:700 11px/1.4 'DM Sans',Arial,sans-serif;color:#fff;letter-spacing:.04em;text-transform:uppercase;white-space:normal;}

/* Balance primary certification facts on narrow screens. */
@media(max-width:780px){
 html:root body #certificate-card.customer-certificate .customer-identity{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;}
 html:root body #certificate-card.customer-certificate .customer-identity>div{min-width:0;}
 html:root body #certificate-card.customer-certificate .customer-identity>div+div{padding-left:12px;}
 html:root body #certificate-card.customer-certificate .customer-identity dt{font-size:10px;letter-spacing:.7px;}
 html:root body #certificate-card.customer-certificate .customer-identity #certificate-number-display,
 html:root body #certificate-card.customer-certificate .customer-identity .customer-mintage-value,
 html:root body #certificate-card.customer-certificate .customer-identity .customer-holder-type-value,
 html:root body #certificate-card.customer-certificate .customer-identity .customer-label-type-value,
 html:root body #certificate-card.customer-certificate .customer-identity .customer-certified-date-value{font-size:clamp(14px,4vw,18px);line-height:1.3;overflow-wrap:normal;}
 html:root body #certificate-card.customer-certificate .customer-identity #status-badge{font-size:13px;line-height:1.4;}
 html:root body #certificate-card.customer-certificate .customer-identity #status-badge strong{font-size:13px;line-height:1.4;}
}

/* Place NFC guidance in the space beside the lookup, above the record. */
body:not(.record-ready) .customer-lookup-nfc{display:none;}
html:root body.record-ready .lookup-hero{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px;align-items:start;padding:24px 32px 0;}
html:root body.record-ready .lookup-hero>.customer-lookup-nfc{grid-column:1;grid-row:1;box-sizing:border-box;min-width:0;width:100%;margin:0;}
html:root body.record-ready .lookup-hero>.lookup-panel{grid-column:2;grid-row:1;box-sizing:border-box;min-width:0;width:100%;max-width:none;margin:0;}
html:root body #certificate-card.customer-certificate .certificate-primary-identity>.customer-eyebrow{margin-top:0;}
@media(max-width:1000px){html:root body.record-ready .lookup-hero{gap:25px;}}
@media(max-width:780px){
 html:root body.record-ready .lookup-hero{grid-template-columns:minmax(0,1fr);gap:20px;padding:24px 0 0;}
 html:root body.record-ready .lookup-hero>.lookup-panel{grid-column:1;grid-row:1;}
 html:root body.record-ready .lookup-hero>.customer-lookup-nfc{grid-column:1;grid-row:2;}
}

/* Background controls use their actual tones and form one centered pair. */
html:root body :is(#certificate-card.customer-certificate,#image-lightbox.customer-gallery,#expanded-image-dialog.customer-gallery) .vaultvision-background-controls>span{display:none;}
html:root body :is(#certificate-card.customer-certificate,#image-lightbox.customer-gallery,#expanded-image-dialog.customer-gallery) .vaultvision-background-controls{justify-content:center;gap:10px;}
html:root body :is(#certificate-card.customer-certificate,#image-lightbox.customer-gallery,#expanded-image-dialog.customer-gallery) .vaultvision-background-controls button{box-sizing:border-box;width:112px;min-height:44px;padding:10px 12px!important;border:1px solid #a7adb4!important;border-radius:4px;font:600 13px/1.3 'DM Sans',Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important;outline:none;box-shadow:none;}
html:root body :is(#certificate-card.customer-certificate,#image-lightbox.customer-gallery,#expanded-image-dialog.customer-gallery) .vaultvision-background-controls button:first-of-type{background:linear-gradient(145deg,#fafbfc,#cbd0d6)!important;color:#252b32!important;}
html:root body :is(#certificate-card.customer-certificate,#image-lightbox.customer-gallery,#expanded-image-dialog.customer-gallery) .vaultvision-background-controls button:last-of-type{background:linear-gradient(145deg,#343940,#171a1f)!important;color:#fff!important;border-color:#343940!important;}
html:root body :is(#certificate-card.customer-certificate,#image-lightbox.customer-gallery,#expanded-image-dialog.customer-gallery) .vaultvision-background-controls button:hover{filter:brightness(.95);}
html:root body :is(#certificate-card.customer-certificate,#image-lightbox.customer-gallery,#expanded-image-dialog.customer-gallery) .vaultvision-background-controls button[aria-pressed=true]{border:2px solid #a88745!important;box-shadow:0 0 0 1px #a88745;outline:none;}
html:root body :is(#certificate-card.customer-certificate,#image-lightbox.customer-gallery,#expanded-image-dialog.customer-gallery) .vaultvision-background-controls button:focus-visible{outline:3px solid #286a9e;outline-offset:3px;}
html:root body #certificate-card.customer-certificate .customer-image-comparison{gap:10px;margin-top:18px;}
html:root body #certificate-card.customer-certificate .customer-image-comparison #featured-image-heading{font:600 13px/1.4 'DM Sans',Arial,sans-serif;letter-spacing:0;text-transform:none;color:#454c57;}
html:root body #certificate-card.customer-certificate .customer-image-comparison .vaultvision-background-status{font:400 12px/1.5 'DM Sans',Arial,sans-serif;letter-spacing:0;color:#606773;max-width:100%;margin:0 0 2px;}

html:root body :is(#certificate-card.customer-certificate,#image-lightbox.customer-gallery,#expanded-image-dialog.customer-gallery) .vaultvision-background-controls button{width:145px;max-width:calc((100% - 10px)/2);}

html:root body #certificate-card.customer-certificate .customer-rationale-text{white-space:pre-line;overflow-wrap:anywhere;}

html:root body #certificate-card.customer-certificate .public-summary{display:none!important;}
