.cpft-tool{max-width:48rem;background:var(--paper,#f7f5ef);border:1px solid #ded9cf;border-top:4px solid #ae8329;padding:clamp(1rem,3vw,2rem);color:#1c261c}
.cpft-tool h2{margin:.2em 0}
.cpft-tool p:not(.eyebrow){margin:.55rem 0}
.cpft-tool .standards-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1rem 0}
.cpft-tool label{display:block;font-weight:700}
.cpft-tool label small{display:inline;font-weight:400}
.cpft-tool select{width:100%;min-width:0;min-height:44px;display:block;margin-top:.25rem;padding:.35rem .55rem;border:1px solid #777;background:#fff;border-radius:.2rem;color:#161b15;font:inherit;font-size:1rem}
.cpft-tool .check{display:flex;align-items:flex-start;gap:.48rem;font-weight:500;margin:.75rem 0}
.cpft-tool .check input{margin:.33em 0 0}
.cpft-tool .help,.standards-card .help{font-size:.9rem;line-height:1.45}
.cpft-tool .lookup-error{color:#892324;font-weight:700}
#standards-dialog{position:fixed;inset:0;width:min(42rem,calc(100% - 1.5rem));max-height:calc(100% - 1.5rem);margin:auto;padding:clamp(.8rem,3vw,1.45rem);border:1px solid #989582;border-top:4px solid #ae8329;background:#fff;color:#1c261c;box-shadow:0 .65rem 3rem #10181044;overflow:auto}
#standards-dialog::backdrop{background:#111910aa}
#standards-dialog .record-actions{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;margin:0 0 .75rem}
.cpft-result-head{display:flex;align-items:center;justify-content:space-between;gap:.6rem;border-bottom:2px solid #ae8329;padding-bottom:.55rem}
.cpft-result-head img{width:clamp(64px,19vw,125px);height:auto;object-fit:contain}
.cpft-result-head h2{font-size:clamp(1.3rem,5vw,2.1rem);line-height:1.08;margin:.2rem 0}
.standards-card p{margin:.38rem 0}
.standards-card h3{font-size:1.1rem;margin:.85rem 0 .4rem}
.standards-card .standard-events>div{display:flex;align-items:center;justify-content:space-between;gap:.3rem .75rem;flex-wrap:wrap;background:#f2f1eb;border:1px solid #ded9cf;padding:.35rem .5rem;margin:.25rem 0}
.standards-card .standard-events dd{margin:0;display:flex;align-items:center;gap:.4rem}
.standard-point-value{white-space:nowrap;font-size:.82em;font-weight:800;border:1px solid #7e8b78;border-radius:.2rem;padding:.1rem .35rem;color:#233c25}
.standards-ranger{border-left:3px solid #a77c23;padding:.25rem .6rem;background:#fcf6e9;margin:.7rem 0}
.standards-ranger h3{margin:.3rem 0}
#standards-print{display:none}
@media print{@page{margin:.6in}body.cpft-print-ready>*:not(#standards-print){display:none!important}body.cpft-print-ready{background:white!important;overflow:visible!important}body.cpft-print-ready #standards-print{display:block!important;color:black;font-size:11pt}.standard-events>div,.standards-ranger{break-inside:avoid}}
