:root{
  --afcoa-primary:#0f766e;--afcoa-primary-dark:#115e59;--afcoa-accent:#134e4a;
  --afcoa-success:#15803d;--afcoa-danger:#b91c1c;--afcoa-text:#18302e;
  --afcoa-muted:#647573;--afcoa-border:#dbe5e4;
}
/* Front-end controls are deliberately scoped and normalized so Flatsome/theme
 * form/button rules cannot inflate their spacing or typography. */
.afcoa-public-shell{max-width:1120px;margin:32px auto;padding:0 20px;color:var(--afcoa-text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif}
.afcoa-public-shell *,.afcoa-verify-widget *{box-sizing:border-box}

.afcoa-public-toolbar{
  width:816px;max-width:100%;margin:0 auto 16px;padding:0!important;
  display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap;
  min-height:58px;background:transparent!important;border:0!important;box-shadow:none!important
}
.afcoa-public-toolbar>div:first-child{min-width:0}
.afcoa-public-toolbar strong{
  display:block;margin:0!important;padding:0!important;color:var(--afcoa-text)!important;
  font-size:18px!important;line-height:1.22!important;font-weight:750!important;
  letter-spacing:0!important;text-transform:none!important
}
.afcoa-public-toolbar p{
  margin:5px 0 0!important;padding:0!important;color:var(--afcoa-muted)!important;
  font-size:14px!important;line-height:1.35!important;font-weight:400!important
}
.afcoa-public-toolbar>div:last-child{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0!important;padding:0!important}

.afcoa-public-button,.afcoa-verify-row button{
  appearance:none!important;-webkit-appearance:none!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  height:48px!important;min-height:48px!important;max-height:48px!important;
  margin:0!important;padding:0 18px!important;
  border:1px solid var(--afcoa-border)!important;border-radius:8px!important;
  background:#fff!important;color:var(--afcoa-text)!important;
  box-shadow:none!important;text-shadow:none!important;
  font-family:inherit!important;font-size:15px!important;line-height:1!important;font-weight:750!important;
  letter-spacing:0!important;text-transform:none!important;text-decoration:none!important;white-space:nowrap!important;
  cursor:pointer!important;transition:border-color .15s ease,background-color .15s ease,color .15s ease!important
}
.afcoa-public-button:hover,.afcoa-public-button:focus-visible{border-color:#a9bfbc!important;background:#f9fbfb!important;color:var(--afcoa-text)!important}
.afcoa-public-button.primary,.afcoa-verify-row button{
  background:var(--afcoa-primary)!important;border-color:var(--afcoa-primary)!important;color:#fff!important
}
.afcoa-public-button.primary:hover,.afcoa-public-button.primary:focus-visible,.afcoa-verify-row button:hover,.afcoa-verify-row button:focus-visible{
  background:var(--afcoa-primary-dark)!important;border-color:var(--afcoa-primary-dark)!important;color:#fff!important
}
.afcoa-public-button:focus-visible,.afcoa-verify-row button:focus-visible,.afcoa-verify-row input:focus-visible{
  outline:2px solid rgba(15,118,110,.28)!important;outline-offset:2px!important
}

.afcoa-lookup-message{max-width:720px;margin:40px auto;padding:24px;background:#fff;border:1px solid var(--afcoa-border);border-radius:12px}
.afcoa-error{border-left:4px solid var(--afcoa-danger)}

.afcoa-verify-widget{
  width:100%!important;max-width:720px!important;margin:24px auto!important;padding:24px!important;
  border:1px solid #e1e9e7!important;border-radius:12px!important;background:#fff!important;
  box-shadow:0 6px 18px rgba(15,76,71,.05)!important;color:var(--afcoa-text)!important;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important
}
.afcoa-verify-widget h3{
  margin:0 0 18px!important;padding:0!important;color:var(--afcoa-text)!important;
  font-size:24px!important;line-height:1.2!important;font-weight:750!important;
  letter-spacing:0!important;text-transform:none!important
}
.afcoa-verify-widget .afcoa-verify-form{margin:0!important;padding:0!important}
.afcoa-verify-widget label{
  display:block!important;margin:0 0 7px!important;padding:0!important;color:var(--afcoa-text)!important;
  font-size:13px!important;line-height:1.3!important;font-weight:750!important;
  letter-spacing:0!important;text-transform:none!important
}
.afcoa-verify-row{display:flex!important;gap:10px!important;align-items:stretch!important;margin:0!important;padding:0!important}
.afcoa-verify-row input{
  appearance:none!important;-webkit-appearance:none!important;
  flex:1 1 auto!important;min-width:0!important;width:auto!important;height:48px!important;min-height:48px!important;
  margin:0!important;padding:0 14px!important;border:1px solid #cbd8d6!important;border-radius:8px!important;
  background:#fff!important;color:var(--afcoa-text)!important;box-shadow:none!important;
  font-family:inherit!important;font-size:16px!important;line-height:1.2!important;font-weight:400!important;
  letter-spacing:0!important;text-transform:none!important
}
.afcoa-verify-row input::placeholder{color:#7b8584!important;opacity:1!important}
.afcoa-verify-row button{flex:0 0 auto!important;min-width:178px!important}

.certificate-stage{width:816px;height:1056px;margin:0 auto;position:relative;overflow:visible}
.certificate-page{margin:0 auto;background:#fff;box-sizing:border-box}
.certificate-page.page-layout{
  width:816px!important;max-width:816px!important;height:1056px!important;min-height:1056px!important;
  padding:0!important;margin:0!important;border:0!important;border-radius:0!important;
  box-shadow:inset 0 0 0 1px rgba(15,76,71,.13),0 14px 40px rgba(15,76,71,.10)!important;
  overflow:hidden!important;background:#fff!important;display:grid!important;
  grid-template-rows:96px 104px 35px 142px 35px 110px 386px 148px;transform-origin:top left;color:var(--afcoa-text)!important;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
.certificate-page.page-layout>*{min-width:0;box-sizing:border-box}
.cert-brand{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.cert-logo{display:flex;align-items:center;gap:11px}
.cert-status{text-align:right}
.branded-header{background:linear-gradient(135deg,#063f3b,#075e56);color:#fff;border:0;align-items:center}
.certificate-page.page-layout .branded-header{width:100%!important;height:96px!important;min-height:96px!important;margin:0!important;padding:13px 20px!important;border-radius:0!important;align-items:center!important;position:relative;background:linear-gradient(120deg,rgba(255,255,255,.025),transparent 44%),linear-gradient(135deg,#043f3a 0%,#07584f 100%)!important;border-bottom:1px solid rgba(255,255,255,.17)!important}
.certificate-page.page-layout .branded-header::after{content:"";position:absolute;left:20px;right:20px;bottom:7px;height:1px;background:linear-gradient(90deg,rgba(124,229,218,.52),rgba(255,255,255,.08),transparent)}
.certificate-page.page-layout .branded-logo{min-width:286px!important;max-width:318px!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
.certificate-page.page-layout .branded-logo img{display:block!important;max-width:306px!important;max-height:60px!important;width:auto!important;height:auto!important;object-fit:contain!important}
.certificate-page.page-layout .branded-title h3{font-size:30px!important;font-weight:750!important;letter-spacing:.65px!important;line-height:1.03!important;margin:0!important;color:#fff}
.certificate-page.page-layout .branded-title p,.certificate-page.page-layout .header-verification-hidden{display:none!important;margin:0!important;padding:0!important;height:0!important}

.cert-meta{display:grid;grid-template-columns:repeat(4,1fr)}
.certificate-page.page-layout .cert-meta{position:relative;background:#f7f9f8!important;margin:8px 16px 7px!important;height:89px!important;padding:0!important;gap:0!important;border:1px solid #e0e8e6!important;border-radius:7px!important;overflow:hidden!important}
.certificate-page.page-layout .meta-box{height:auto!important;min-height:0!important;border-radius:0!important;background:transparent!important;padding:8px 10px!important;border-right:1px solid #e4ebe9!important;border-bottom:1px solid #e4ebe9!important}
.certificate-page.page-layout .meta-box:nth-child(4n){border-right:0!important}.certificate-page.page-layout .meta-box:nth-child(n+5){border-bottom:0!important}
.certificate-page.page-layout .meta-box label{display:block;font-size:7.3px!important;font-weight:800!important;letter-spacing:.65px!important;color:#74827f!important;margin-bottom:3px!important;text-transform:uppercase}
.certificate-page.page-layout .meta-box div{font-size:9.6px!important;font-weight:750!important;letter-spacing:-.08px!important;color:#18302e!important}
.certificate-page.page-layout #pStatus{color:#07584f!important;font-weight:850!important}

.cert-section-title{text-transform:uppercase}
.certificate-page.page-layout>.cert-section-title{height:35px!important;margin:0 16px!important;padding:10px 0 5px!important;font-size:13px!important;line-height:1!important;align-self:stretch!important}
.certificate-page.page-layout>.cert-section-title,.certificate-page.page-layout .graph-section-title{color:#07584f!important;font-weight:850!important;letter-spacing:.78px!important;border-bottom:1.5px solid #0f766e!important}
.cert-table{width:100%;border-collapse:collapse}
.certificate-page.page-layout>.cert-table{width:calc(100% - 32px)!important;height:100%!important;margin:0 16px!important;min-width:0!important;table-layout:fixed!important;border-collapse:separate!important;border-spacing:0!important;border-top:1px solid #dce5e3!important;border-bottom:1px solid #dce5e3!important}
.certificate-page.page-layout>.cert-table th{font-size:8.5px!important;padding:7px 8px!important;line-height:1.08!important;background:#f2f5f4!important;color:#697774!important;font-weight:850!important;letter-spacing:.48px!important;border-top:0!important;border-bottom:1px solid #d6e0de!important;text-align:left;text-transform:uppercase}
.certificate-page.page-layout>.cert-table td{font-size:10.4px!important;padding:8px!important;line-height:1.16!important;color:#263c39!important;border-bottom:1px solid #e4ebe9!important;background:#fff!important;text-align:left;vertical-align:middle}
.certificate-page.page-layout>.cert-table tbody tr:last-child td{border-bottom:0!important}.certificate-page.page-layout>.cert-table tbody tr:nth-child(even) td{background:#fafcfb!important}.certificate-page.page-layout>.cert-table td:first-child{font-weight:650!important;color:#213835!important}
.cert-status-pill{display:inline-flex;align-items:center;justify-content:center;min-width:54px;padding:3px 7px;border-radius:999px;font-size:8.2px;line-height:1;font-weight:850;letter-spacing:.12px;white-space:nowrap}
.cert-status-pill.pass{color:#116530;background:#eaf6ed;border:1px solid #cce8d3}.cert-status-pill.measured{color:#075f75;background:#eaf5f8;border:1px solid #cce3e8}.cert-status-pill.fail{color:#9b1c1c;background:#fff0f0;border:1px solid #f2cccc}

.certificate-page.page-layout .chromatogram-block{height:386px!important;margin:0!important;padding:0 16px!important;display:grid!important;grid-template-rows:45px 313px 28px!important}
.certificate-page.page-layout .chromatogram-block .graph-section-title{height:38px!important;margin:0!important;padding:11px 0 5px!important;font-size:13px!important;line-height:1!important;align-self:start!important}
.certificate-page.page-layout .public-chromatogram-wrap{width:100%!important;height:313px!important;min-height:313px!important;max-height:313px!important;padding:5px!important;margin:0!important;display:flex!important;align-items:stretch!important;background:#fdfefe!important;border:1px solid #cedbd8!important;border-radius:3px!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.8),inset 0 1px 3px rgba(12,66,61,.035)!important;box-sizing:border-box}
.certificate-page.page-layout .public-chromatogram-wrap #publicCanvas{width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;border:0!important;border-radius:1px!important;background:#fff!important;display:block}
.certificate-page.page-layout .chromatogram-meta{height:28px!important;margin:0!important;padding:7px 0 0!important;font-size:8.5px!important;line-height:1!important;align-items:flex-start!important;color:#667572!important;letter-spacing:.05px!important;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.certificate-page.page-layout .chromatogram-meta strong{color:#3d504d!important;font-weight:800!important}

.certification-footer{background:linear-gradient(135deg,#063f3b,#075e56);color:#fff;display:grid;align-items:start}
.certificate-page.page-layout .certification-footer{width:100%!important;height:148px!important;min-height:148px!important;margin:0!important;padding:17px 18px 13px!important;border-radius:0!important;grid-template-columns:minmax(0,1fr) 112px!important;gap:24px!important;align-items:start!important;position:relative;background:linear-gradient(115deg,rgba(255,255,255,.018),transparent 45%),linear-gradient(135deg,#043f3a,#07584f)!important;border-top:1px solid rgba(124,229,218,.35)!important;box-sizing:border-box}
.certificate-page.page-layout .footer-column{min-width:0;color:#fff;position:relative;height:100%}
.certificate-page.page-layout .footer-heading{font-size:9px!important;margin-bottom:9px!important;letter-spacing:.72px!important;color:rgba(255,255,255,.77)!important;font-weight:900}
.certificate-page.page-layout .verification-code-footer{font-size:12.5px!important;line-height:1.12!important;color:#84e8dd!important;font-weight:850!important;letter-spacing:.55px!important}
.certificate-page.page-layout .footer-verify{text-align:left!important;align-self:center!important;padding-left:18px!important}.certificate-page.page-layout .footer-verify .verify-url{font-size:7.6px!important;line-height:1.22!important;margin-top:5px!important;text-align:left!important;color:rgba(255,255,255,.77)!important;overflow-wrap:anywhere}.certificate-page.page-layout .footer-lab-id{font-size:7.1px!important;margin-top:6px!important;color:rgba(255,255,255,.51)!important}
.certificate-page.page-layout .footer-qr{align-self:center!important;text-align:center;color:#fff}.certificate-page.page-layout .footer-qr #qrcode{background:#fff!important;padding:5px!important;border-radius:4px!important;box-shadow:0 2px 8px rgba(0,0,0,.12)!important;width:88px!important;margin:0 auto!important;box-sizing:border-box}.certificate-page.page-layout #qrcode canvas{display:block!important;width:78px!important;height:78px!important;max-width:78px!important;max-height:78px!important;padding:0!important;margin:0 auto!important;background:#fff!important}.certificate-page.page-layout #qrcode img{display:none!important}.certificate-page.page-layout .qr-caption{font-size:7px!important;margin-top:4px!important;line-height:1.05!important;color:rgba(255,255,255,.70)!important;letter-spacing:.08px!important}

@media(max-width:860px){
  .afcoa-public-shell{padding-left:10px;padding-right:10px}
  .afcoa-public-toolbar{width:100%}
}
@media(max-width:600px){
  .afcoa-public-shell{margin-top:20px;margin-bottom:20px}
  .afcoa-public-toolbar{align-items:flex-start;gap:12px}
  .afcoa-public-toolbar>div:last-child{width:100%}
  .afcoa-public-button{flex:1 1 0!important;min-width:0!important}
  .afcoa-verify-widget{padding:20px!important;margin:16px auto!important}
  .afcoa-verify-widget h3{font-size:22px!important;margin-bottom:16px!important}
  .afcoa-verify-row{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  .afcoa-verify-row input{width:100%!important}
  .afcoa-verify-row button{width:100%!important;min-width:0!important}
}

/*
 * Isolated export artboard.
 * Batch/admin PDF and PNG generation clones the certificate into this root so
 * wp-admin or theme ancestors cannot change the certificate's whitespace,
 * padding, backgrounds, or block geometry before html2canvas captures it.
 */
.afcoa-export-sandbox{
  all:initial!important;
  position:absolute!important;
  left:-20000px!important;
  top:0!important;
  display:block!important;
  width:816px!important;
  height:1056px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
  background:#fff!important;
  z-index:-2147483647!important;
}
.afcoa-export-sandbox,
.afcoa-export-sandbox *,
.afcoa-export-sandbox *::before,
.afcoa-export-sandbox *::after{
  box-sizing:border-box!important;
}
.afcoa-export-sandbox .certificate-stage{
  width:816px!important;
  height:1056px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:#fff!important;
}
.afcoa-export-sandbox .certificate-page.page-layout{
  width:816px!important;
  max-width:816px!important;
  height:1056px!important;
  min-height:1056px!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  transform-origin:top left!important;
  background:#fff!important;
}
.afcoa-export-sandbox .certificate-content-slot>.certificate-mode-panel,
.afcoa-export-sandbox .public-chromatogram-wrap,
.afcoa-export-sandbox .public-chromatogram-wrap #publicCanvas,
.afcoa-export-sandbox .chromatogram-meta{
  width:100%!important;
  max-width:100%!important;
}


/* =========================================================
   CERTIFICATE BODY COLOR LOCK — v0.2.3
   Keep the printable artboard clinically white regardless of
   WordPress/Flatsome/admin ancestor backgrounds. Neutral fills
   are limited to intentional metadata/table surfaces only.
   ========================================================= */
.certificate-page.page-layout,
.afcoa-export-sandbox .certificate-page.page-layout{
  background-color:#ffffff!important;
  background-image:none!important;
}
.certificate-page.page-layout > .cert-section-title,
.certificate-page.page-layout .chromatogram-block,
.certificate-page.page-layout .chromatogram-meta{
  background-color:#ffffff!important;
  background-image:none!important;
}
.certificate-page.page-layout > .cert-table,
.certificate-page.page-layout > .cert-table tbody,
.certificate-page.page-layout > .cert-table tbody tr{
  background-color:#ffffff!important;
  background-image:none!important;
}
/* Deliberate neutral surfaces from the approved light certificate reference. */
.certificate-page.page-layout .cert-meta{background-color:#f8f9f8!important;}
.certificate-page.page-layout > .cert-table thead th{background-color:#f3f5f4!important;}
.certificate-page.page-layout > .cert-table tbody tr:nth-child(even) td{background-color:#fbfcfb!important;}
.certificate-page.page-layout .public-chromatogram-wrap,
.certificate-page.page-layout .public-chromatogram-wrap #publicCanvas{background-color:#ffffff!important;}

/* =========================================================
   EXPORT ARTBOARD BACKGROUND SAFETY — v0.2.5
   Keep the existing 8-row certificate grid untouched. No pseudo-elements
   or extra DOM children are introduced because they would become grid items.
   The artboard itself and the isolated export surfaces are simply white.
   ========================================================= */
.certificate-page.page-layout,
.afcoa-export-sandbox,
.afcoa-export-sandbox .certificate-stage,
.afcoa-export-sandbox .certificate-page.page-layout{
  background-color:#ffffff!important;
  background-image:none!important;
}


/* =========================================================
   EXPORT SHADOW ISOLATION — v0.2.6
   The live certificate keeps its subtle inset/outer shadow. html2canvas can
   flatten the 13% teal inset shadow over white as RGB(224,232,231) / #e0e8e7
   across exposed grid gaps, so exports explicitly disable the page shadow.
   ========================================================= */
.afcoa-export-sandbox .certificate-page.page-layout{
  box-shadow:none!important;
}


/* =========================================================
   DUAL CERTIFICATE DESIGN — v0.2.7
   Row 7 remains exactly 386px. Only the content inside that single grid item
   switches between RP-HPLC and Results Only, so the 816×1056 artboard never
   gains or loses a grid child.
   ========================================================= */
.mode-hidden{display:none!important}
.certificate-page.page-layout .certificate-content-slot{
  height:386px!important;min-height:386px!important;max-height:386px!important;
  margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important
}
.certificate-page.page-layout .certificate-content-slot>.certificate-mode-panel{
  width:100%!important;height:386px!important;min-height:386px!important;max-height:386px!important
}
.certificate-page.page-layout .graph-mode-panel{background:#fff!important}
.certificate-page.page-layout .graph-mode-panel.mode-hidden,
.certificate-page.page-layout .additional-results-block.mode-hidden{display:none!important}

.certificate-page.page-layout .additional-results-block{
  height:386px!important;margin:0!important;padding:0 16px!important;display:grid!important;
  grid-template-rows:45px 228px 113px!important;background:#fff!important
}
.certificate-page.page-layout .additional-results-block .additional-section-title{
  height:38px!important;margin:0!important;padding:11px 0 5px!important;font-size:13px!important;
  line-height:1!important;align-self:start!important;color:#07584f!important;font-weight:850!important;
  letter-spacing:.78px!important;border-bottom:1.5px solid #0f766e!important;text-transform:uppercase
}
.certificate-page.page-layout .additional-results-block .additional-cert-table{
  width:100%!important;height:228px!important;margin:0!important;table-layout:fixed!important;
  border-collapse:separate!important;border-spacing:0!important;border-top:1px solid #dce5e3!important;border-bottom:1px solid #dce5e3!important
}
.certificate-page.page-layout .additional-results-block .additional-cert-table th{
  font-size:8.7px!important;padding:6px 8px!important;line-height:1.05!important;background:#f3f5f4!important;
  color:#697774!important;font-weight:850!important;letter-spacing:.48px!important;border-top:0!important;
  border-bottom:1px solid #d2dfdd!important;text-align:left;text-transform:uppercase
}
.certificate-page.page-layout .additional-results-block .additional-cert-table td{
  font-size:9.3px!important;padding:5px 8px!important;line-height:1.08!important;color:#263c39!important;
  border-bottom:1px solid #e4ebe9!important;background:#fff!important;text-align:left;vertical-align:middle
}
.certificate-page.page-layout .additional-results-block .additional-cert-table tbody tr:nth-child(even) td{background:#fbfcfb!important}
.certificate-page.page-layout .additional-results-block .additional-cert-table tbody tr:last-child td{border-bottom:0!important}
.certificate-page.page-layout .additional-empty{text-align:center!important;color:#6b7c7a!important;font-weight:600!important}
.certificate-page.page-layout .method-summary-panel{
  height:113px!important;margin:0!important;padding:0!important;border-top:1px solid #dce6e4!important;
  background:#f8faf9!important;display:grid!important;grid-template-rows:29px 84px!important;overflow:hidden!important
}
.certificate-page.page-layout .method-summary-title{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
  padding:7px 10px 5px!important;border-bottom:1px solid #e2eae8!important;color:#07584f!important;
  font-size:8.5px!important;line-height:1!important;font-weight:900!important;letter-spacing:.72px!important;text-transform:uppercase!important
}
.certificate-page.page-layout .method-summary-subtitle{color:#7b8b88!important;font-size:7px!important;font-weight:700!important;letter-spacing:.2px!important;text-transform:none!important;white-space:nowrap!important}
.certificate-page.page-layout .analysis-summary-meta{
  height:84px!important;display:grid!important;grid-template-columns:1fr 1fr 1.15fr!important;
  grid-template-rows:42px 42px!important;gap:0!important;padding:0!important;align-items:stretch!important
}
.certificate-page.page-layout .analysis-summary-item{
  min-width:0!important;padding:7px 10px 5px!important;border-right:1px solid #e4ebe9!important;
  border-bottom:1px solid #e4ebe9!important;background:#fff!important
}
.certificate-page.page-layout .analysis-summary-item:nth-child(3){border-right:0!important}
.certificate-page.page-layout .analysis-summary-item:nth-child(n+4){border-bottom:0!important}
.certificate-page.page-layout .analysis-summary-item.method-reference-item{grid-column:1!important;border-right:1px solid #e4ebe9!important}
.certificate-page.page-layout .analysis-summary-item.disposition-item{grid-column:2 / span 2!important;border-right:0!important;background:#f5faf8!important}
.certificate-page.page-layout .analysis-summary-item label{display:block!important;font-size:6.8px!important;line-height:1!important;color:#74827f!important;text-transform:uppercase!important;letter-spacing:.055em!important;font-weight:850!important;margin-bottom:4px!important}
.certificate-page.page-layout .analysis-summary-item div{font-size:8.7px!important;line-height:1.12!important;color:#203a37!important;font-weight:700!important;white-space:normal!important;overflow-wrap:anywhere!important}
.disposition-pill{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:72px!important;padding:3px 7px!important;border-radius:999px!important;font-size:7.5px!important;line-height:1!important;font-weight:900!important;letter-spacing:.18px!important;white-space:nowrap!important}
.disposition-pill.pass{color:#116530!important;background:#eaf6ed!important;border:1px solid #cce8d3!important}
.disposition-pill.pending,.cert-status-pill.pending{color:#5f6f6c!important;background:#eef2f1!important;border:1px solid #d9e1df!important}
.disposition-pill.fail{color:#9b1c1c!important;background:#fff0f0!important;border:1px solid #f2cccc!important}


/* Configurable branding + transparent logo — v0.3.0 */
.afcoa-public-button[href]{text-decoration:none!important}

/* Results-only long-label resilience — v0.3.2
   Presentation-only: full stored test names remain unchanged in the editor/database. */
.certificate-page.page-layout[data-certificate-type="results_only"] .core-analytical-table th:nth-child(1){width:27%!important}
.certificate-page.page-layout[data-certificate-type="results_only"] .core-analytical-table th:nth-child(2){width:18%!important}
.certificate-page.page-layout[data-certificate-type="results_only"] .core-analytical-table th:nth-child(3){width:18%!important}
.certificate-page.page-layout[data-certificate-type="results_only"] .core-analytical-table th:nth-child(4){width:25%!important}
.certificate-page.page-layout[data-certificate-type="results_only"] .core-analytical-table th:nth-child(5){width:12%!important}
.certificate-page.page-layout[data-certificate-type="results_only"] .core-analytical-table td:first-child{
  overflow-wrap:anywhere!important;word-break:normal!important
}
.certificate-page.page-layout[data-certificate-type="results_only"].results-compact .core-analytical-table td{
  padding:5px 7px!important;font-size:9.7px!important;line-height:1.08!important
}
.certificate-page.page-layout[data-certificate-type="results_only"].results-compact .core-analytical-table td:first-child{
  font-size:9.4px!important;line-height:1.06!important
}
.certificate-page.page-layout[data-certificate-type="results_only"].results-tight .core-analytical-table td{
  padding:4px 6px!important;font-size:9.1px!important;line-height:1.04!important
}
.certificate-page.page-layout[data-certificate-type="results_only"].results-tight .core-analytical-table td:first-child{
  font-size:8.8px!important;line-height:1.03!important
}
.certificate-page.page-layout .method-summary-title{
  justify-content:flex-start!important
}



/* Public Results Only summary cleanup — v0.3.3 */
/* Supporting attachments remain available in admin records but are intentionally omitted from the public certificate. */


/* Live verification preview resilience — v0.3.4
   These rules are deliberately scoped to the public shell. The isolated export
   sandbox is not a descendant of .afcoa-public-shell, so PDF/PNG geometry and
   typography remain unchanged. */
.afcoa-public-shell.afcoa-live-preview .certificate-stage{
  position:relative!important;
  max-width:100%!important;
}
.afcoa-public-shell.afcoa-live-preview .certificate-page.page-layout{
  transform-origin:top left!important;
  backface-visibility:hidden!important;
  -webkit-font-smoothing:antialiased;
}
.afcoa-public-shell.afcoa-live-preview .certificate-page.page-layout #pProduct{
  line-height:1.05!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
.afcoa-public-shell.afcoa-live-preview .certificate-page.page-layout #pProduct.afcoa-live-meta-compact{
  font-size:8.55px!important;
  line-height:1.02!important;
  letter-spacing:-.12px!important;
}
.afcoa-public-shell.afcoa-live-preview .certificate-page.page-layout #pProduct.afcoa-live-meta-tight{
  font-size:7.9px!important;
  line-height:1!important;
  letter-spacing:-.16px!important;
}
