/* Site-specific shell. Algorithms and data attributes remain frozen 1.0.2. */
.tool-stage [data-bpcx-tool]{margin:0;padding:0;width:100%;max-width:none;background:#fff;box-shadow:0 12px 40px #153f2610;border:1px solid #cfddd4;border-radius:22px;overflow:hidden;font-family:inherit;--tool-ink:#17362d;--tool-action:#14634f;--tool-tint:#edf5ef}
.tool-stage [data-bpcx-tool] .bpcx-header{padding:23px 26px 18px;background:#f0f5ee;border-radius:0;border-bottom:1px solid #dbe5d9}
.tool-stage [data-bpcx-tool] .bpcx-header h2{font-family:inherit!important;font-size:clamp(35px,3.2vw,40px)!important;line-height:1.15!important;text-align:center!important;letter-spacing:-1.1px;color:#17362d!important;margin:0!important}
.tool-stage [data-bpcx-tool] .bpcx-panel{padding:24px;border:0;margin:0;background:#fff;border-radius:0}
.tool-stage [data-bpcx-tool] input,.tool-stage [data-bpcx-tool] select{font-size:16px;min-height:46px;border-radius:9px;background:#fff}
.tool-stage [data-bpcx-tool] button{min-height:44px;font-size:14px;border-radius:9px;line-height:1.35;font-weight:700;padding:11px 17px;transition:none}
.tool-stage [data-bpcx-tool] .bpcx-field>span{font-size:14px;font-weight:650;margin-bottom:7px}
.tool-stage [data-bpcx-tool] [data-results]{border-radius:15px;padding:22px;background:#edf5ef;border:1px solid #d6e5d8;min-width:0}
.tool-stage [data-bpcx-tool] [data-results]:empty::before{content:'Your timing results will appear here.';color:#526963;font-size:16px}
.tool-stage [data-bpcx-tool] .bpcx-actions{gap:10px;margin-block:16px}
.tool-stage [data-bpcx-tool] .bpcx-error{margin:16px 24px;border-radius:10px}
.tool-stage [data-bpcx-tool] .bpcx-small{font-size:13px;line-height:1.65;color:#526963}
.tool-stage [data-bpcx-tool] .bpcx-status{border-radius:9px}
.tool-stage [data-bpcx-tool] .bpcx-grid-two{gap:16px}
.tool-stage [data-bpcx-tool] [data-out=tempo]{font-size:22px;display:block;color:#17362d;margin:8px 0 16px}
.tool-stage [data-bpcx-tool=home] .tool-layout{grid-template-columns:1fr 1fr;gap:28px}
.tool-stage [data-bpcx-tool=home] .bpcx-header{background:#173e33}
.tool-stage [data-bpcx-tool=home] .bpcx-header h2{color:#fff!important}
.tool-stage [data-bpcx-tool=home] [data-action=calculate]{width:100%;font-size:16px}
.tool-stage [data-bpcx-tool=home] .tap-disclosure{border-top:1px solid #d8e3db;padding-top:14px;margin-top:18px}
.tool-stage [data-bpcx-tool=home] .tap-disclosure summary{cursor:pointer;font-size:14px;font-weight:700;color:#14634f}
.tool-stage [data-bpcx-tool=home] [data-example]{background:#fff;color:#14634f;border:1px solid #9cb7a9}
.tool-stage [data-bpcx-tool=tap-tempo] [data-action=tap]{min-height:90px;min-width:200px;font-size:23px;background:#815221;color:#fff}
.tool-stage [data-bpcx-tool=tap-tempo]{--tool-action:#815221;--tool-tint:#faf2e5}
.tool-stage [data-bpcx-tool=tap-tempo] .bpcx-header{background:#faf2e5}
.tool-stage [data-bpcx-tool=tap-tempo] .tool-tap{padding:20px;border-radius:15px;background:#f8f4eb;margin-bottom:24px}
.tool-stage [data-bpcx-tool=bpm-finder] .tool-file-input{padding:22px;border-radius:15px;background:#edf3f7;border:1px solid #d5e1e9;margin-block:22px}
.tool-stage [data-bpcx-tool=bpm-to-milliseconds]{--tool-action:#245f79;--tool-tint:#eaf3f8}
.tool-stage [data-bpcx-tool=bpm-to-milliseconds] .bpcx-header{background:#eaf3f8}
.tool-stage [data-bpcx-tool=bpm-delay-time]{--tool-action:#674c83;--tool-tint:#f1edf7}
.tool-stage [data-bpcx-tool=bpm-delay-time] .bpcx-header{background:#f1edf7}
.tool-stage [data-bpcx-tool] .primary-reading{display:block;font-size:clamp(32px,4vw,50px);font-weight:780;letter-spacing:-1.3px;line-height:1.15;margin-bottom:14px;color:#17362d}
.tool-stage [data-bpcx-tool=home] [data-results]>strong{display:block;font-size:clamp(32px,4vw,50px);font-weight:780;letter-spacing:-1.3px;line-height:1.15;margin-bottom:14px;color:#17362d}
.tool-stage [data-bpcx-tool] .bpcx-timing-grid{overflow:auto;max-width:100%}
.tool-stage [data-bpcx-tool] .tap-disclosure,.tool-stage [data-bpcx-tool] .bar-helper{padding:16px 0;border:0;border-top:1px solid #d8e3db;margin:14px 0}
.tool-stage [data-bpcx-tool] :is(.tap-disclosure,.bar-helper)>summary{cursor:pointer;font-size:14px;font-weight:700;color:#14634f;min-height:28px}
.tool-stage [data-bpcx-tool] .bar-helper p{font-size:13px;line-height:1.6}
.tool-stage [data-bpcx-tool] .helper-feedback{color:#14634f;font-weight:650}
.tool-stage [data-bpcx-tool] [data-bars][aria-invalid=true]{border-color:#a22e21}
.tool-stage [data-bpcx-tool] .demo-actions{display:flex;align-items:start;gap:16px;margin-top:16px;flex-wrap:wrap}
.tool-stage [data-bpcx-tool] .demo-actions>p{flex:1;min-width:180px;margin:0}
.tool-stage [data-bpcx-tool] .result-context{font-size:14px;line-height:1.6;display:block;font-variant-numeric:tabular-nums}
.tool-stage [data-bpcx-tool] .timing-table-scroll{overflow:auto;max-width:100%;margin-top:22px;border-radius:10px;border:1px solid #d5e3d9;background:#fff}
.tool-stage [data-bpcx-tool] .timing-table-scroll table{border-collapse:collapse;width:100%;font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}
.tool-stage [data-bpcx-tool] .timing-table-scroll caption{text-align:left;padding:12px;font-weight:650;white-space:normal;background:#e5eee7}
.tool-stage [data-bpcx-tool] .timing-table-scroll :is(th,td){padding:10px 12px;text-align:right;border-bottom:1px solid #e4ebe5}
.tool-stage [data-bpcx-tool] .timing-table-scroll th:first-child{text-align:left}
.tool-stage [data-bpcx-tool] .timing-table-scroll thead{background:#f3f7f2}
@media(max-width:700px){.tool-stage [data-bpcx-tool] .bpcx-panel{padding:18px}.tool-stage [data-bpcx-tool] .bpcx-header{padding:22px 16px}.tool-stage [data-bpcx-tool=home] .tool-layout{grid-template-columns:1fr;gap:20px}.tool-stage [data-bpcx-tool] [data-results]{padding:17px}.tool-stage [data-bpcx-tool] .bpcx-actions{display:flex;flex-wrap:wrap}.tool-stage [data-bpcx-tool] button{max-width:100%;white-space:normal}.tool-stage [data-bpcx-tool=tap-tempo] [data-action=tap]{width:100%}.tool-stage [data-bpcx-tool=bpm-finder] .tool-file-input{padding:16px}}
