
.figure-checker{
  --fc-border:#d8dde5;
  --fc-border-strong:#b9c3cf;
  --fc-text:#20252b;
  --fc-muted:#64707d;
  --fc-soft:#f5f7f9;
  --fc-soft-blue:#f1f6fb;
  --fc-accent:#205493;
  --fc-accent-dark:#173f70;
  --fc-pass:#176b3a;
  --fc-pass-bg:#f3faf6;
  --fc-warn:#8a5a00;
  --fc-warn-bg:#fff8e8;
  --fc-issue:#9d2525;
  --fc-issue-bg:#fff4f4;
  --fc-info:#536f8b;
  max-width:1120px;
  margin:0 auto;
  color:var(--fc-text);
  line-height:1.45;
  font-family:inherit;
}
.figure-checker *{box-sizing:border-box}
.figure-checker button,.figure-checker input,.figure-checker select{font:inherit}

.fc-intro-block{max-width:900px;margin:0 0 1.35rem}
.fc-intro{margin:0;font-size:1.03rem;color:#303740}
.fc-scope{margin:.42rem 0 0;font-size:.9rem;color:var(--fc-muted)}

.fc-grid{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:1.15rem;align-items:start}
.fc-card{background:#fff;border:1px solid var(--fc-border);border-radius:12px;padding:1.25rem}
.fc-card h2,.fc-results h2{margin:0;font-size:1.35rem;line-height:1.2}
.fc-card-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.fc-preview-label{font-size:.8rem;color:var(--fc-muted);background:var(--fc-soft);padding:.22rem .48rem;border-radius:999px;white-space:nowrap}

.fc-step{display:grid;grid-template-columns:2rem minmax(0,1fr);gap:.75rem;padding:1rem 0;border-bottom:1px solid #edf0f3}
.fc-step:first-of-type{padding-top:.9rem}
.fc-step:last-of-type{border-bottom:0;padding-bottom:.4rem}
.fc-step-number{width:1.65rem;height:1.65rem;border-radius:50%;display:grid;place-items:center;background:var(--fc-soft-blue);color:var(--fc-accent);font-size:.82rem;font-weight:700;margin-top:.05rem}
.fc-step-body{min-width:0}
.fc-field{margin:0}
.fc-field+.fc-field{margin-top:.75rem}
.fc-field label,.fc-label{display:block;font-weight:650;margin-bottom:.38rem}
fieldset.fc-field{padding:0;border:0}
.fc-help{font-size:.86rem;color:var(--fc-muted);margin:.34rem 0 0}

.fc-field input[type="number"],.fc-field select,.fc-field input[type="file"]{
  width:100%;max-width:31rem;min-height:2.65rem;padding:.56rem .68rem;
  border:1px solid var(--fc-border-strong);border-radius:7px;background:#fff;color:var(--fc-text)
}
.fc-field select{cursor:pointer}
.fc-file-field input[type="file"]{padding:.34rem;background:#fbfcfd}
.fc-file-field input[type="file"]::file-selector-button{
  border:0;border-right:1px solid var(--fc-border);background:#edf3f8;color:#244d77;
  font-weight:650;padding:.56rem .8rem;margin:-.34rem .75rem -.34rem -.34rem;cursor:pointer
}

.fc-use-options{display:grid;grid-template-columns:1fr;gap:.48rem}
.fc-use-option{
  display:flex!important;align-items:flex-start;gap:.62rem;margin:0!important;padding:.68rem .72rem;
  border:1px solid var(--fc-border);border-radius:8px;cursor:pointer;background:#fff;font-weight:400!important
}
.fc-use-option:has(input:checked){border-color:#8fa9c4;background:var(--fc-soft-blue)}
.fc-use-option input{margin:.25rem 0 0;flex:0 0 auto}
.fc-use-option span{display:block;min-width:0}
.fc-use-option strong{display:block;font-size:.94rem}
.fc-use-option small{display:block;margin-top:.1rem;color:var(--fc-muted);font-size:.82rem;line-height:1.35}

.fc-actions{display:flex;align-items:center;gap:.62rem;flex-wrap:wrap;margin-top:1.15rem}
.fc-button{
  appearance:none;border:1px solid transparent;border-radius:7px;padding:.68rem 1.08rem;
  min-height:2.7rem;font-weight:700;cursor:pointer;background:var(--fc-accent);color:#fff
}
.fc-button:hover{background:var(--fc-accent-dark)}
.fc-button:disabled{opacity:.55;cursor:not-allowed}
.fc-secondary{background:#fff;color:#303740;border-color:var(--fc-border-strong)}
.fc-secondary:hover{background:var(--fc-soft)}
.fc-status{font-size:.9rem;color:var(--fc-muted)}
.fc-error{color:var(--fc-issue);font-weight:600}
.fc-privacy{font-size:.84rem;color:var(--fc-muted);margin:.75rem 0 0;padding-top:.75rem;border-top:1px solid #edf0f3}

.fc-button:focus-visible,.fc-tab:focus-visible,.fc-text-button:focus-visible,.fc-field input:focus-visible,.fc-field select:focus-visible,.fc-use-option:focus-within,.fc-expand summary:focus-visible,.fc-artwork-override summary:focus-visible{
  outline:3px solid rgba(32,84,147,.20);outline-offset:2px
}

.fc-preview-empty{min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--fc-muted);padding:2rem}
.fc-preview-empty p{max-width:25rem;margin:.85rem 0 0}
.fc-preview-placeholder{width:74px;height:58px;border:2px solid #c5ccd5;border-radius:7px;position:relative;background:#fafbfc}
.fc-preview-placeholder:before{content:"";position:absolute;left:12px;right:12px;bottom:12px;height:22px;background:linear-gradient(135deg,transparent 0 20%,#dfe4ea 21% 45%,transparent 46% 55%,#cfd6de 56% 100%);clip-path:polygon(0 100%,28% 35%,45% 63%,66% 18%,100% 100%)}
.fc-preview-placeholder:after{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:#cfd6de;top:11px;left:13px}

.fc-tabs{display:flex;flex-wrap:wrap;gap:.35rem;margin:0 0 .75rem}
.fc-tab{padding:.42rem .65rem;border:1px solid var(--fc-border);background:#fff;border-radius:6px;cursor:pointer;font-size:.88rem;color:#45505c}
.fc-tab:hover{background:var(--fc-soft)}
.fc-tab[aria-pressed="true"]{background:var(--fc-soft-blue);border-color:#8fa9c4;color:#204f7d;font-weight:650}
.fc-preview-stage{background:#fff;border:1px solid var(--fc-border);border-radius:8px;padding:1rem;overflow:auto;text-align:center;min-height:240px;display:flex;align-items:center;justify-content:center}
.fc-preview-stage.fc-transparent{background:repeating-conic-gradient(#e9ebef 0 25%,#fff 0 50%) 50%/20px 20px}
.fc-preview-stage canvas{max-width:100%;height:auto;background:transparent;vertical-align:middle}
.fc-preview-reference{margin:.68rem 0 .15rem;font-size:.88rem;color:#4f5b68}

.fc-results{margin-top:1.3rem;background:#fff;border:1px solid var(--fc-border);border-radius:12px;padding:1.35rem}
.fc-results-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.fc-eyebrow{display:block;text-transform:uppercase;letter-spacing:.06em;font-size:.72rem;font-weight:700;color:var(--fc-muted);margin-bottom:.2rem}
.fc-text-button{border:0;background:none;padding:.25rem 0;color:var(--fc-accent);font-weight:650;cursor:pointer}
.fc-text-button:hover{text-decoration:underline}

.fc-summary-panel{
  display:grid;grid-template-columns:auto minmax(0,1fr);gap:.8rem;align-items:start;
  padding:1rem 1.05rem;border:1px solid var(--fc-border);border-radius:9px;background:#fafbfc;margin-bottom:.85rem
}
.fc-summary-panel.fc-summary-warning{background:var(--fc-warn-bg);border-color:#ead6a4}
.fc-summary-panel.fc-summary-issue{background:var(--fc-issue-bg);border-color:#ebc3c3}
.fc-summary-panel.fc-summary-pass{background:var(--fc-pass-bg);border-color:#cce3d4}
.fc-summary-icon{width:2rem;height:2rem;border-radius:50%;display:grid;place-items:center;font-weight:800;background:#e8edf2;color:#526170}
.fc-summary-warning .fc-summary-icon{background:#f4dfaa;color:#735000}
.fc-summary-issue .fc-summary-icon{background:#efcccc;color:#842121}
.fc-summary-pass .fc-summary-icon{background:#d7eddf;color:#176b3a}
.fc-summary-copy strong{display:block;font-size:1.08rem;line-height:1.25}
.fc-summary-copy p{margin:.2rem 0 0;color:#505b67;font-size:.92rem}

.fc-artwork-summary{
  display:grid;grid-template-columns:10rem minmax(0,1fr);gap:.8rem;padding:.82rem 0;
  border-top:1px solid #edf0f3;border-bottom:1px solid #edf0f3;margin-bottom:1rem
}
.fc-artwork-label{font-size:.86rem;font-weight:650;color:#4f5b67;padding-top:.05rem}
.fc-artwork-detection{min-width:0}
.fc-artwork-line{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}
.fc-artwork-detection strong{font-weight:700}
.fc-artwork-reason{margin:.18rem 0 0;font-size:.85rem;color:var(--fc-muted)}
.fc-confidence{display:inline-block;padding:.1rem .4rem;border-radius:999px;background:#e9eef4;color:#4b5b6c;font-size:.74rem;font-weight:650}
.fc-artwork-override{margin-top:.38rem}
.fc-artwork-override summary{cursor:pointer;color:var(--fc-accent);font-size:.84rem;font-weight:650;width:max-content}
.fc-artwork-override select{margin-top:.55rem;width:100%;max-width:31rem;min-height:2.55rem;padding:.5rem .65rem;border:1px solid var(--fc-border-strong);border-radius:7px;background:#fff}

.fc-result-group{margin-top:1.15rem}
.fc-result-group h3{font-size:1.05rem;margin:0 0 .55rem}
.fc-group-intro{margin:-.25rem 0 .65rem;color:var(--fc-muted);font-size:.88rem}

.fc-result{
  display:grid;grid-template-columns:1.7rem minmax(0,1fr);gap:.65rem;
  padding:.78rem .82rem;margin:.5rem 0;border:1px solid var(--fc-border);border-radius:8px;background:#fff
}
.fc-result.warning{border-color:#e7d19d;background:#fffaf0}
.fc-result.issue{border-color:#e5bcbc;background:#fff7f7}
.fc-result.info{background:#f8fafc}
.fc-result-icon{width:1.55rem;height:1.55rem;border-radius:50%;display:grid;place-items:center;margin-top:.02rem;font-size:.8rem;font-weight:800;background:#e7ebef;color:#52606e}
.fc-result.warning .fc-result-icon{background:#f2dda7;color:#745000}
.fc-result.issue .fc-result-icon{background:#edcaca;color:#8a2525}
.fc-result.info .fc-result-icon{background:#e2eaf2;color:#536f8b}
.fc-result-title{font-weight:700;line-height:1.3}
.fc-result-message{margin:.14rem 0 0;color:#505b67;font-size:.91rem}
.fc-result-context{display:inline-block;margin-bottom:.18rem;text-transform:uppercase;letter-spacing:.04em;font-size:.68rem;font-weight:700;color:#76818d}
.fc-swatches{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.52rem}
.fc-swatch{display:inline-flex;align-items:center;gap:.28rem;font-size:.82rem}
.fc-swatch i{display:inline-block;width:1rem;height:1rem;border:1px solid #777;border-radius:2px}

.fc-pass-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem .8rem;margin:.4rem 0 0;padding:0;list-style:none}
.fc-pass-list li{position:relative;padding-left:1.35rem;font-size:.9rem;color:#405048}
.fc-pass-list li:before{content:"✓";position:absolute;left:0;top:0;color:var(--fc-pass);font-weight:800}

.fc-expand{margin-top:1rem;border-top:1px solid #e8ebef;padding-top:.72rem}
.fc-expand summary{cursor:pointer;color:#3e5369;font-weight:650;font-size:.92rem;width:max-content;max-width:100%}
.fc-expand-content{padding:.8rem 0 .2rem}
.fc-other-list{margin:0;padding:0;list-style:none}
.fc-other-list li{padding:.5rem 0;border-bottom:1px solid #edf0f3}
.fc-other-list li:last-child{border-bottom:0}
.fc-other-list strong{display:block;font-size:.9rem}
.fc-other-list span{display:block;margin-top:.1rem;color:var(--fc-muted);font-size:.86rem}
.fc-other-status{font-size:.72rem!important;text-transform:uppercase;letter-spacing:.04em;font-weight:700;color:#7a838d!important;margin:0 0 .08rem!important}

.fc-meta{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 .9rem;
  margin:.1rem 0 1rem;padding:.6rem .75rem;background:var(--fc-soft);border-radius:7px
}
.fc-meta div{padding:.38rem 0;border-bottom:1px solid #e2e6ea;min-width:0;font-size:.88rem}
.fc-meta div:nth-last-child(-n+3){border-bottom:0}
.fc-meta strong{font-size:.78rem;color:#57616d}

.fc-technical-section{margin:.9rem 0 0}
.fc-technical-section h4{margin:0 0 .35rem;font-size:.9rem}
.fc-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 .9rem;margin:0;padding:0;border-top:1px solid #eceef1}
.fc-details>div{padding:.48rem 0;border-bottom:1px solid #eceef1;min-width:0}
.fc-details dt{font-size:.78rem;font-weight:650;color:#58636f}
.fc-details dd{margin:.1rem 0 0;font-size:.88rem}

.fc-hidden{display:none!important}
.fc-muted{color:var(--fc-muted)}
.fc-visually-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

@media(max-width:800px){
  .fc-grid{grid-template-columns:1fr}
  .fc-preview-empty{min-height:240px}
  .fc-meta,.fc-details{grid-template-columns:1fr}
  .fc-meta div:nth-last-child(-n+3){border-bottom:1px solid #e2e6ea}
  .fc-meta div:last-child{border-bottom:0}
}
@media(max-width:560px){
  .fc-card,.fc-results{padding:1rem}
  .fc-step{grid-template-columns:1.7rem minmax(0,1fr);gap:.55rem}
  .fc-artwork-summary{grid-template-columns:1fr;gap:.3rem}
  .fc-pass-list{grid-template-columns:1fr}
  .fc-results-heading{align-items:flex-start}
  .fc-actions{align-items:stretch}
  .fc-button{flex:1 1 8rem}
}

.fc-finding-help{margin-top:.58rem;padding-top:.48rem;border-top:1px solid rgba(120,130,140,.18)}
.fc-finding-help summary{cursor:pointer;width:max-content;max-width:100%;font-size:.84rem;font-weight:650;color:var(--fc-accent)}
.fc-finding-help summary:hover{text-decoration:underline}
.fc-finding-help ul{margin:.5rem 0 .05rem;padding-left:1.15rem;color:#505b67;font-size:.86rem}
.fc-finding-help li{margin:.3rem 0;line-height:1.42}
.fc-finding-help-compact{border-top:0;padding-top:.15rem;margin-top:.35rem}

/* V2.2 publisher/custom publication requirements */
.fc-requirements-note{margin-top:.55rem;padding:.65rem .72rem;border-left:4px solid #9aacbe;background:#f7f9fb;border-radius:0 5px 5px 0;color:#4f5b67;font-size:.86rem}
.fc-requirements-note strong{color:#2f3944}.fc-requirements-note a{color:var(--fc-accent);font-weight:650;text-decoration:none}.fc-requirements-note a:hover{text-decoration:underline}
.fc-custom-requirements-head{margin-bottom:.55rem}.fc-custom-requirements-head .fc-help{display:block;margin-top:.18rem}
.fc-requirements-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem .8rem;padding:.75rem;background:#f7f9fb;border:1px solid var(--fc-border);border-radius:8px}
.fc-requirements-grid label{display:flex;flex-direction:column;gap:.3rem;margin:0;font-size:.84rem;font-weight:650;color:#4a5561}
.fc-requirements-grid input{width:100%;min-height:2.5rem;padding:.5rem .62rem;border:1px solid var(--fc-border-strong);border-radius:7px;background:#fff;color:var(--fc-text)}
.fc-requirements-source-links{display:inline-flex;gap:.55rem;flex-wrap:wrap;margin-left:.35rem}.fc-requirements-source-links a{font-size:.82rem}
@media(max-width:560px){.fc-requirements-grid{grid-template-columns:1fr}}

.fc-tool-hero{width:min(1120px,100%);margin:0 auto .75rem;padding:.25rem 0 0}
.fc-tool-kicker{display:block;margin-bottom:.42rem;color:var(--link);font-size:.78rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase}
.fc-tool-hero .post-title{margin:0;color:var(--brand-green);font-size:clamp(2rem,4vw,2.8rem);line-height:1.08}
.post-content .fc-tool-intro { width: calc(100% - 2rem); max-width: 64rem; margin: 0 auto 1.25rem; }
.fc-noscript{width:min(1120px,100%);margin:0 auto 1rem;padding:.8rem 1rem;border:1px solid #d8b1b1;border-radius:8px;background:#fff4f4;color:#8a2525;font-weight:700}

.post-content .figure-checker{
  --fc-border:var(--border);
  --fc-border-strong:#b8c1bc;
  --fc-text:var(--text);
  --fc-muted:var(--muted);
  --fc-soft:var(--surface-2);
  --fc-soft-blue:var(--tint-1);
  --fc-accent:var(--link);
  --fc-accent-dark:#126d99;
  --fc-card-bg:var(--surface);
  --fc-action-bg:var(--link);
  --fc-action-text:#fff;
  width:min(1120px,100%);
  max-width:1120px;
  color:var(--text);
}

/* High-specificity scoping prevents conflicts with the site's generic
   .post-content fieldset/input/heading/list rules. */
.post-content .figure-checker .fc-card,
.post-content .figure-checker .fc-results{background:var(--fc-card-bg);border-color:var(--fc-border);box-shadow:0 4px 14px rgba(0,0,0,.045)}
.post-content .figure-checker .fc-card h2,
.post-content .figure-checker .fc-results h2,
.post-content .figure-checker .fc-result-group h3,
.post-content .figure-checker .fc-technical-section h4{margin:0;color:var(--text);font-weight:700;line-height:1.22}
.post-content .figure-checker .fc-result-group h3{margin-bottom:.55rem}
.post-content .figure-checker .fc-technical-section h4{margin-bottom:.35rem}

.post-content .figure-checker fieldset.fc-field{max-width:none;margin:0;padding:0;border:0;border-radius:0;background:transparent}
.post-content .figure-checker fieldset.fc-field legend{font-weight:650}
.post-content .figure-checker .fc-field label,
.post-content .figure-checker .fc-label{margin:0 0 .38rem;color:var(--text);font-weight:650;line-height:1.3}
.post-content .figure-checker .fc-field input[type="number"],
.post-content .figure-checker .fc-field select,
.post-content .figure-checker .fc-field input[type="file"],
.post-content .figure-checker .fc-artwork-override select{width:100%;max-width:31rem;min-height:2.65rem;margin:0;border:1px solid var(--fc-border-strong);border-radius:7px;background:var(--surface);color:var(--text)}
.post-content .figure-checker .fc-field input[type="file"]{padding:.34rem;background:var(--surface-2)}
.post-content .figure-checker .fc-field input[type="file"]::file-selector-button{border:0;border-right:1px solid var(--fc-border);background:var(--tint-1);color:var(--text);font-weight:700}
.post-content .figure-checker .fc-requirements-grid input{width:100%;max-width:none;margin:0;background:var(--surface);color:var(--text);border-color:var(--fc-border-strong)}
.post-content .figure-checker .fc-requirements-grid{background:var(--surface-2);border-color:var(--fc-border)}
.post-content .figure-checker .fc-requirements-grid label{color:var(--text)}
.post-content .figure-checker .fc-requirements-note{background:var(--surface-2);color:var(--muted);border-left-color:var(--brand-green)}
.post-content .figure-checker .fc-requirements-note strong{color:var(--text)}
.post-content .figure-checker .fc-help,
.post-content .figure-checker .fc-status,
.post-content .figure-checker .fc-preview-reference,
.post-content .figure-checker .fc-privacy{color:var(--muted);line-height:1.42}
.post-content .figure-checker .fc-ready{color:var(--brand-green);font-weight:650}
.post-content .figure-checker .fc-error{color:var(--fc-issue);font-weight:700}

.post-content .figure-checker .fc-use-option{background:var(--surface);border-color:var(--fc-border)}
.post-content .figure-checker .fc-use-option:has(input:checked){background:var(--tint-1);border-color:var(--brand-green)}
.post-content .figure-checker .fc-use-option input[type="radio"]{width:auto;height:auto;margin:.25rem 0 0;accent-color:var(--brand-green)}
.post-content .figure-checker .fc-use-option strong{color:var(--text)}
.post-content .figure-checker .fc-use-option small{color:var(--muted)}

.post-content .figure-checker .fc-step{border-bottom-color:var(--border)}
.post-content .figure-checker .fc-step-number{background:var(--tint-1);color:var(--brand-green)}
.post-content .figure-checker .fc-button{background:var(--fc-action-bg);color:var(--fc-action-text);border-color:transparent}
.post-content .figure-checker .fc-button:hover,.post-content .figure-checker .fc-button:focus-visible{filter:brightness(.92)}
.post-content .figure-checker .fc-button:disabled{opacity:.5;filter:none}
.post-content .figure-checker .fc-secondary{background:var(--surface);color:var(--text);border-color:var(--fc-border-strong)}
.post-content .figure-checker .fc-secondary:hover{background:var(--surface-2);filter:none}

.post-content .figure-checker .fc-preview-label,
.post-content .figure-checker .fc-confidence{background:var(--surface-2);color:var(--muted)}
.post-content .figure-checker .fc-preview-empty{color:var(--muted)}
.post-content .figure-checker .fc-preview-placeholder{background:var(--surface-2);border-color:var(--fc-border-strong)}
.post-content .figure-checker .fc-preview-stage{background:var(--surface);border-color:var(--fc-border)}
.post-content .figure-checker .fc-tab{background:var(--surface);border-color:var(--fc-border);color:var(--muted)}
.post-content .figure-checker .fc-tab:hover{background:var(--surface-2)}
.post-content .figure-checker .fc-tab[aria-pressed="true"]{background:var(--tint-1);border-color:var(--brand-green);color:var(--text)}
.post-content .figure-checker .fc-text-button,
.post-content .figure-checker .fc-artwork-override summary,
.post-content .figure-checker .fc-expand summary,
.post-content .figure-checker .fc-finding-help summary{color:var(--link)}

.post-content .figure-checker .fc-meta,
.post-content .figure-checker .fc-result.info{background:var(--surface-2)}
.post-content .figure-checker .fc-meta div,
.post-content .figure-checker .fc-details,
.post-content .figure-checker .fc-details>div,
.post-content .figure-checker .fc-other-list li,
.post-content .figure-checker .fc-expand,
.post-content .figure-checker .fc-artwork-summary{border-color:var(--fc-border)}
.post-content .figure-checker .fc-meta strong,
.post-content .figure-checker .fc-details dt,
.post-content .figure-checker .fc-artwork-label,
.post-content .figure-checker .fc-result-context,
.post-content .figure-checker .fc-other-status{color:var(--muted)!important}
.post-content .figure-checker .fc-details dd,
.post-content .figure-checker .fc-artwork-detection strong,
.post-content .figure-checker .fc-result-title,
.post-content .figure-checker .fc-other-list strong{color:var(--text)}
.post-content .figure-checker .fc-artwork-reason,
.post-content .figure-checker .fc-result-message,
.post-content .figure-checker .fc-other-list span,
.post-content .figure-checker .fc-summary-copy p,
.post-content .figure-checker .fc-group-intro{color:var(--muted)}

.post-content .figure-checker .fc-pass-list,
.post-content .figure-checker .fc-other-list{list-style:none;margin:0}
.post-content .figure-checker .fc-finding-help ul{margin:.5rem 0 .05rem;padding-left:1.15rem;list-style:disc}
.post-content .figure-checker .fc-pass-list li,
.post-content .figure-checker .fc-other-list li,
.post-content .figure-checker .fc-finding-help li{line-height:1.42}
.post-content .figure-checker .fc-pass-list li{color:var(--text)}
.post-content .figure-checker .fc-pass-list li::before{color:var(--brand-green)}

/* Automatic file preparation / upload progress */
.fc-preview-placeholder-wrap{display:flex;flex-direction:column;align-items:center;justify-content:center}
.fc-upload-state{width:min(360px,90%);min-height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.7rem;text-align:center}
.fc-upload-spinner{width:2rem;height:2rem;border:3px solid var(--fc-border);border-top-color:var(--fc-accent);border-radius:50%;animation:fc-spin .85s linear infinite}
.fc-upload-label{margin:0!important;color:var(--text);font-size:.94rem;font-weight:650;line-height:1.35!important}
.fc-upload-progress{width:min(300px,100%);height:.55rem;overflow:hidden;border-radius:999px;background:var(--surface-2);border:1px solid var(--fc-border)}
.fc-upload-progress span{display:block;width:0;height:100%;border-radius:inherit;background:var(--fc-accent);transition:width .12s linear}
.fc-upload-percent{color:var(--muted);font-size:.82rem}
@keyframes fc-spin{to{transform:rotate(360deg)}}

/* Status cards */
.post-content .figure-checker .fc-summary-panel{background:var(--surface-2);border-color:var(--fc-border)}
.post-content .figure-checker .fc-summary-panel.fc-summary-pass,
.post-content .figure-checker .fc-result.pass{background:#f2f8f3;border-color:#bfd8c4}
.post-content .figure-checker .fc-summary-panel.fc-summary-warning,
.post-content .figure-checker .fc-result.warning{background:#fff8e8;border-color:#e5ce91}
.post-content .figure-checker .fc-summary-panel.fc-summary-issue,
.post-content .figure-checker .fc-result.issue{background:#fff4f4;border-color:#e4b5b5}

/* Dark mode uses the site's Marine tokens. */
body[data-theme="dark"] .fc-tool-hero .post-title{color:var(--text)}
body[data-theme="dark"] .fc-tool-kicker{color:var(--link)}
body[data-theme="dark"] .post-content .figure-checker{
  --fc-border:var(--border);
  --fc-border-strong:#3a4b5d;
  --fc-text:var(--text);
  --fc-muted:var(--muted);
  --fc-soft:var(--surface-2);
  --fc-soft-blue:var(--surface-2);
  --fc-accent:var(--link);
  --fc-accent-dark:var(--link-hover);
  --fc-card-bg:var(--surface);
  --fc-action-bg:var(--btn-bg);
  --fc-action-text:var(--btn-text);
  --fc-pass:#81c995;
  --fc-warn:#f2c86b;
  --fc-issue:#ff9a9a;
  color-scheme:dark;
}
body[data-theme="dark"] .post-content .figure-checker .fc-card,
body[data-theme="dark"] .post-content .figure-checker .fc-results{box-shadow:0 2px 10px rgba(0,0,0,.35)}
body[data-theme="dark"] .post-content .figure-checker .fc-use-option:has(input:checked),
body[data-theme="dark"] .post-content .figure-checker .fc-tab[aria-pressed="true"]{background:var(--surface-2);border-color:var(--link)}
body[data-theme="dark"] .post-content .figure-checker .fc-use-option input[type="radio"]{accent-color:var(--link)}
body[data-theme="dark"] .post-content .figure-checker .fc-step-number{background:var(--surface-2);color:var(--link)}
body[data-theme="dark"] .post-content .figure-checker .fc-requirements-note{border-left-color:var(--link)}
body[data-theme="dark"] .post-content .figure-checker .fc-button:hover,
body[data-theme="dark"] .post-content .figure-checker .fc-button:focus-visible{background:#2b3b56!important;filter:none}
body[data-theme="dark"] .post-content .figure-checker .fc-summary-panel{background:var(--surface-2)}
body[data-theme="dark"] .post-content .figure-checker .fc-summary-panel.fc-summary-pass,
body[data-theme="dark"] .post-content .figure-checker .fc-result.pass{background:#10251a;border-color:#285b3a}
body[data-theme="dark"] .post-content .figure-checker .fc-summary-panel.fc-summary-warning,
body[data-theme="dark"] .post-content .figure-checker .fc-result.warning{background:#2a2415;border-color:#6a5725}
body[data-theme="dark"] .post-content .figure-checker .fc-summary-panel.fc-summary-issue,
body[data-theme="dark"] .post-content .figure-checker .fc-result.issue{background:#2b1719;border-color:#71383e}
body[data-theme="dark"] .post-content .figure-checker .fc-result.info,
body[data-theme="dark"] .post-content .figure-checker .fc-meta{background:var(--surface-2)}
body[data-theme="dark"] .post-content .figure-checker .fc-summary-pass .fc-summary-icon{background:#173d27;color:#9ad7ad}
body[data-theme="dark"] .post-content .figure-checker .fc-summary-warning .fc-summary-icon,
body[data-theme="dark"] .post-content .figure-checker .fc-result.warning .fc-result-icon{background:#4a3d19;color:#ffd980}
body[data-theme="dark"] .post-content .figure-checker .fc-summary-issue .fc-summary-icon,
body[data-theme="dark"] .post-content .figure-checker .fc-result.issue .fc-result-icon{background:#51252a;color:#ffb3b3}
body[data-theme="dark"] .post-content .figure-checker .fc-result.info .fc-result-icon{background:#1d3042;color:var(--link)}
body[data-theme="dark"] .post-content .figure-checker .fc-pass-list li::before{color:#81c995}
body[data-theme="dark"] .post-content .figure-checker .fc-ready{color:#81c995}
body[data-theme="dark"] .post-content .figure-checker .fc-error{color:#ff9a9a}
body[data-theme="dark"] .fc-noscript{background:#2b1719;border-color:#71383e;color:#ffb3b3}

@media(max-width:560px){
  .fc-tool-hero{padding-top:.15rem}
}
@media(prefers-reduced-motion:reduce){
  .fc-upload-spinner{animation-duration:1.8s}
  .fc-upload-progress span{transition:none}
}

/* Figure Checker supporting content */
    .fc-page-support {width:min(1120px,100%);margin:1.6rem auto 0;padding:1.35rem;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 4px 14px rgba(0,0,0,.045);}
    .fc-page-support h2 {margin:0 0 .45rem!important;font-size:1.45rem!important;line-height:1.2!important;}
    .fc-page-support-intro {margin:0 0 .9rem!important;color:var(--muted);font-size:.94rem;line-height:1.45!important;}
    .fc-faq {border-top:1px solid var(--border);}
    .fc-faq details {margin:0;padding:.72rem 0;border-bottom:1px solid var(--border);background:transparent;}
    .fc-faq details:last-child {padding-bottom:.15rem;border-bottom:0;}
    .fc-faq summary {cursor:pointer;width:max-content;max-width:100%;padding:0;color:var(--link);font-weight:650;line-height:1.38;}
    .fc-faq summary:hover {text-decoration:underline;}
    .fc-faq-answer {padding:.65rem 0 .12rem 1.15rem;color:var(--muted);font-size:.93rem;line-height:1.5;}
    .fc-faq-answer p {margin:0!important;line-height:1.5!important;}
    .fc-page-disclaimer {width:min(1120px,100%);margin:1.8rem auto 0;padding:.9rem 1rem;border:1px solid var(--border);border-left:4px solid #718096;border-radius:9px;background:var(--surface);color:var(--muted);font-size:.86rem;line-height:1.48;box-shadow:0 2px 7px rgba(0,0,0,.035);}
    .fc-page-disclaimer strong {color:var(--text);}
    .fc-consulting-cta {width:min(1120px,100%);margin:1.8rem auto 0;padding:1.45rem 1.6rem;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1.6rem;align-items:center;border:1px solid var(--border);border-left:5px solid var(--brand-green);border-radius:16px;background:var(--surface-2);box-shadow:0 4px 14px rgba(0,0,0,.045);}
    .fc-consulting-label {margin-bottom:.7rem;color:var(--brand-green);font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;}
    .post-content .fc-consulting-cta h2 {margin:0 0 .6rem;color:var(--text);font-size:1.55rem;line-height:1.22;}
    .post-content .fc-consulting-cta p {max-width:760px;margin:0;color:var(--muted);font-size:.96rem;line-height:1.48;}
    .fc-consulting-actions {display:flex;min-width:250px;flex-direction:column;align-items:stretch;gap:.5rem;text-align:center;}
    .fc-consulting-button {display:inline-flex;align-items:center;justify-content:center;min-height:3rem;padding:.65rem 1rem;border-radius:8px;background:var(--brand-green);color:#fff!important;font-weight:700;text-align:center;text-decoration:none!important;}
    .fc-consulting-button:hover,.fc-consulting-button:focus-visible {filter:brightness(.93);}
    .fc-consulting-secondary {display:inline-block;color:var(--link)!important;font-weight:700;text-align:center;text-decoration:none!important;}
    .fc-consulting-secondary:hover {text-decoration:underline!important;}
    body[data-theme="dark"] .fc-page-support {background:var(--surface);border-color:var(--border);box-shadow:0 2px 10px rgba(0,0,0,.35);}
    body[data-theme="dark"] .fc-faq,body[data-theme="dark"] .fc-faq details {border-color:var(--border);}
    body[data-theme="dark"] .fc-faq summary {color:var(--link);}
    body[data-theme="dark"] .fc-page-disclaimer {background:var(--surface);border-color:var(--border);border-left-color:#6f8196;box-shadow:0 2px 8px rgba(0,0,0,.25);}
    body[data-theme="dark"] .fc-consulting-cta {background:var(--surface-2);border-color:var(--border);border-left-color:var(--link);}
    body[data-theme="dark"] .fc-consulting-label {color:var(--link);}
    body[data-theme="dark"] .fc-consulting-button {background:var(--btn-bg);color:var(--btn-text)!important;border:1px solid var(--border);}
    body[data-theme="dark"] .fc-consulting-button:hover,body[data-theme="dark"] .fc-consulting-button:focus-visible {background:#2b3b56;filter:none;}
    @media (max-width:760px) {
        .fc-consulting-cta {grid-template-columns:1fr;gap:1rem;padding:1.2rem;}
        .fc-consulting-actions {min-width:0;align-items:flex-start;}
        .fc-consulting-button {width:100%;}
        .fc-consulting-secondary {align-self:center;}
    }
