.bs-performance{background:#edf3f8;color:#102942;border:1px solid #a8bdcd;border-radius:14px;overflow:hidden;margin:1rem 0;text-align:left;min-width:0;overflow-wrap:anywhere;container-type:inline-size;font-size:1rem;line-height:1.45}
.bs-performance>header{background:#102942;border-left:5px solid #ffc633;padding:1rem;position:static;display:block}
.bs-performance>header small{color:#ffcf48;font-size:.76rem;letter-spacing:.13em;font-weight:750}
.bs-performance>header h3,.bs-performance .bs-optics h4{font-size:1.18rem;line-height:1.3;margin:.2rem 0;color:white}
.bs-performance .bs-optics h4{color:#102942}
.bs-performance .bs-metrics,.bs-performance .bs-fields,.bs-performance dl{display:grid;gap:.55rem;grid-template-columns:repeat(3,minmax(0,1fr));padding:.8rem}
.bs-performance .bs-metrics>div,.bs-performance .bs-model{border:1px solid #bdceda;border-radius:9px;background:white;padding:.75rem;color:#143149}
.bs-performance .bs-metrics strong,.bs-performance .bs-model>strong{display:block;color:#102942;font-size:1.1rem;margin:.2rem 0}
.bs-performance .bs-metrics b{color:#215473;font-size:.87rem}
.bs-performance .bs-metrics span,.bs-performance p,.bs-performance small,.bs-performance dt{color:#354f63;font-size:.88rem;line-height:1.48;margin:.35rem 0}
.bs-performance .bs-metrics .bs-short{color:#942719;font-weight:650}
.bs-performance .bs-optics,.bs-performance>details,.bs-performance .bs-note{margin:0 .85rem .9rem}
.bs-performance .bs-model{margin:.55rem 0}
.bs-performance dl{grid-template-columns:repeat(4,minmax(0,1fr));padding:0;margin:.3rem 0;gap:.3rem}
.bs-performance dl>div{background:#edf3f8;border-radius:5px;text-align:center;padding:.35rem .1rem}
.bs-performance dd{margin:0;font-weight:750;color:#102942}
.bs-performance summary{font-size:.93rem;font-weight:700;color:#163f60;cursor:pointer;padding:.55rem 0}
.bs-performance .bs-fields{padding:.45rem 0;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr))}
.bs-performance .bs-fields label{display:flex;flex-direction:column;justify-content:space-between;min-width:0;font-size:.86rem;color:#102942}
.bs-performance .bs-fields input{width:100%;min-width:0;box-sizing:border-box;font-size:1rem;color:#102942;background:white;padding:.5rem;border:1px solid #738ea2;border-radius:5px}
.bs-performance .bs-note{border-left:3px solid #db9b05;padding:.65rem;background:#fff9e7;color:#463711}
@container (max-width:550px){.bs-performance .bs-metrics{grid-template-columns:1fr}.bs-performance dl{grid-template-columns:1fr 1fr}}

.bs-performance .apc-panel{background:white;border:1px solid #91aabe;border-top:4px solid #e2af16;border-radius:10px;padding:.85rem;margin:.8rem}
.bs-performance .apc-panel h4{font-size:1.1rem;color:#102942;margin:0}
.bs-performance .apc-panel select{display:block;box-sizing:border-box;max-width:100%;width:100%;padding:.55rem;color:#102942;font-size:1rem;background:white;border:1px solid #58718b;border-radius:6px}
.bs-performance .apc-panel a{font-size:.88rem;color:#154963;text-decoration:underline}
.bs-performance .apc-panel button{margin:0 .7rem .7rem 0;white-space:normal}
.apc-mark{display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap;background:#112c46;color:white;padding:1.3rem;font-weight:700;font-size:1.12rem;border-radius:9px}
.apc-mark:before{content:'ϟ';border:2px solid #ffcb35;color:#ffcb35;font-size:1.7rem;line-height:1.25;text-align:center;width:1.6em;border-radius:4px}

.ups-links,.ups-grid article>div:last-child{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;margin:1rem 0}
.ups-filter{padding:1rem;background:#e7eff6;border-radius:12px;align-items:end;border-left:4px solid #ecb825}
.ups-filter label{display:grid;gap:.25rem;font-weight:650;color:#102942;flex:1 1 185px;min-width:0}
.ups-filter select,.bs-performance .bs-fields select{width:100%;min-width:0;max-width:100%;padding:.65rem;border:1px solid #627e97;background:white;color:#102942;border-radius:7px;font-size:1rem}
.ups-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:1rem}
.ups-grid article{display:flex;flex-direction:column;border:1px solid #aec3d3;background:white;border-radius:12px;overflow:hidden;min-width:0;padding:1rem;gap:.7rem;overflow-wrap:anywhere}
.ups-grid article h2,.ups-grid article p{margin:0;color:#193549;line-height:1.45}
.ups-grid article h2{font-size:1.12rem}
.ups-grid article h2 a{color:#102942}
.ups-grid article>div:last-child{margin:auto 0 0;padding-top:.65rem;justify-content:space-between}
.ups-grid .apc-mark{justify-content:flex-start;padding:.75rem 1rem;font-size:1rem}
.bs-performance .ups-targets{margin:0 .85rem 1rem;background:#fff;padding:.8rem;border-radius:8px}
.bs-performance .ups-targets h4{color:#122e4a;margin:.15rem 0 .65rem;font-size:1.08rem}
.bs-performance .ups-targets .bs-fields{margin:0!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,175px),1fr))}
.bs-performance .apc-panel select{white-space:normal}
.bs-performance .apc-panel button{height:auto}

.bs-performance .dori-demo{margin:.7rem 0 .8rem;background:#102942;border-radius:10px;padding:.75rem;color:#fff}
.bs-performance .dori-bar{display:flex;gap:.5rem;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:0 0 .7rem}
.bs-performance .dori-bar strong{color:#fff;font-size:.98rem;line-height:1.35}
.bs-performance .dori-bar button{border:1px solid #ffce42;border-radius:6px;color:#112940;background:#ffce42;font:inherit;font-size:.86rem;line-height:1.3;font-weight:700;cursor:pointer;padding:.55rem .7rem;min-height:40px}
.bs-performance .dori-bar button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.bs-performance .dori-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem}
.bs-performance .dori-grid figure{padding:0;background:#fff;border-radius:7px;overflow:hidden;margin:0;min-width:0;display:block}
.bs-performance .dori-grid canvas{display:block;background:#cedae1;width:100%;height:auto;aspect-ratio:68/60;image-rendering:pixelated;border-bottom:3px solid #ffce42}
.bs-performance .dori-grid figcaption{display:grid;gap:.15rem;padding:.55rem;text-align:left;font-size:.86rem;line-height:1.36;color:#233b50}
.bs-performance .dori-grid figcaption strong{font-size:.94rem;color:#102942}
.bs-performance .dori-grid figcaption span:first-of-type{font-size:.8rem;font-weight:650;color:#21577c}
.bs-performance .dori-demo small{display:block;margin:.65rem 0 0;color:#e2edf6;font-size:.82rem}
@container(max-width:590px){.bs-performance .dori-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bs-performance .dori-demo{padding:.55rem}.bs-performance .dori-grid figcaption{padding:.42rem}}
@container(max-width:258px){.bs-performance .dori-grid{grid-template-columns:1fr}}

.bs-performance .bs-model .mount-info{background:#edf4fa;border-left:3px solid #31628a;border-radius:3px;padding:.55rem .7rem;margin:.6rem 0 .25rem;line-height:1.5}
.bs-performance .bs-model a{color:#125680;font-weight:650;text-decoration:underline;text-underline-offset:2px}
.bs-performance .bs-model .mount-status{display:block;margin:.15rem 0 .4rem;font-weight:600}
.bs-performance .bs-model .mount-warn{background:#fff2ee;color:#90251b;border-left:3px solid #b33323;padding:.55rem}
.bs-performance .bs-model select{width:100%;min-width:0;font:inherit;background:white;color:#102942;padding:.55rem;border:1px solid #738ea2;border-radius:5px}
.bs-performance .mount-presets{display:flex;gap:.45rem;flex-wrap:wrap;align-items:center;font-size:.86rem;margin:.15rem 0 .55rem}
.bs-performance .mount-presets button{border-radius:5px;padding:.45rem .65rem;border:1px solid #295878;color:#153953;background:#f2f7fb;cursor:pointer;font:inherit;font-weight:650;min-height:40px}
.bs-performance .mount-presets button:hover,.bs-performance .mount-presets button:focus-visible{background:#153953;color:white}
.bs-performance .bs-model dl small{display:block;margin:0;font-size:.78rem}
.bs-performance .bs-model label{display:block;font-size:.88rem;font-weight:600;color:#153653}
.bs-performance .bs-model select{display:block;margin:.25rem 0 .55rem;height:auto;white-space:normal}
.bs-performance .target-result{background:#10304e;border-radius:8px;padding:.7rem .85rem;display:grid;gap:.2rem;margin:.4rem 0 .75rem;font-size:.95rem;color:#fff}
.bs-performance .target-result strong{color:#ffda69;font-size:1.05rem}
.bs-performance .target-result span{color:#fff}
.bs-performance .target-status small,.bs-performance .target-matches small{display:block}
.bs-performance .target-pass{background:#e4f5ec;border-left:3px solid #217247;color:#155337;padding:.55rem}
.bs-performance dl .target-hit{box-shadow:inset 0 0 0 2px #cd9209;background:#fff5d6}
.bs-performance .target-choice{display:grid;grid-template-columns:78px minmax(0,1fr);gap:.75rem;border-top:1px solid #bccee0;padding:.7rem 0;align-items:center;font-size:.9rem}
.bs-performance .target-choice .target-photo{width:100%;background:white;height:auto;max-width:100%;margin:0}
.bs-performance .target-photo img{width:100%;height:72px;object-fit:contain}
.bs-performance .target-photo .builder-picture-caption{font-size:.63rem}
.bs-performance .target-choice button{background:#153953;color:#fff;border:0;border-radius:6px;min-height:42px;padding:.55rem .85rem;cursor:pointer;font:inherit;font-weight:650}
.bs-performance .target-choice button:focus-visible{outline:3px solid #b37200;outline-offset:2px}
@container(max-width:330px){.bs-performance .target-choice{grid-template-columns:1fr}.bs-performance .target-choice .target-photo{max-width:94px}}

.bs-performance .bs-model .dori-side{display:block;background:#102942;margin:.45rem 0 .65rem;padding:0;border:1px solid #244561;border-radius:10px;overflow:hidden;color:white}
.bs-performance .dori-side figcaption{display:flex;align-items:baseline;flex-wrap:wrap;justify-content:space-between;gap:.15rem .5rem;color:#d3e6f5;padding:.55rem .75rem;background:#163754;font-size:.8rem;line-height:1.4}
.bs-performance .dori-side figcaption strong{font-weight:700;color:#fff;font-size:.9rem}
.bs-performance .dori-side svg{display:block;width:100%;height:auto;margin:0;max-width:none;overflow:hidden;font-family:inherit}
.bs-performance .dori-side svg text{font-size:13px;font-weight:650;letter-spacing:0}
.bs-performance .dori-side svg .sight-tag{font-size:14px;font-weight:750}
.bs-performance .dori-side svg .axis-tag{font-size:12px;font-weight:500}

.bs-performance .target-matches :is(.target-pass,.mount-warn,.target-prompt,.target-none) {
 display:grid;gap:.3rem;padding:.75rem;margin:.55rem 0 .75rem;border-radius:6px;font-size:.94rem;line-height:1.45
}
.bs-performance .target-matches .target-prompt,.bs-performance .target-matches .target-none {
 color:#173451;background:#eef5fc;border-left:3px solid #356797
}
.bs-performance .target-matches .target-options {padding:.35rem 0;margin:0;min-width:0;color:#143149}
.bs-performance .target-options summary {font-weight:700;cursor:pointer;color:#164975;padding:.5rem 0}
.bs-performance .target-matches .target-choice {align-items:start;margin-top:.5rem;overflow-wrap:anywhere}
.bs-performance .target-choice .target-range {display:block;color:#146341;font-weight:700;margin:.2rem 0}
.bs-performance .target-choice a {display:inline-block;margin:.3rem 0;font-size:.87rem}
.bs-performance .target-matches button {display:block;min-height:44px;max-width:100%;background:#153953;color:#fff;border:0;border-radius:6px;padding:.55rem .8rem;font:inherit;font-weight:650;margin-top:.45rem;cursor:pointer;white-space:normal}
.bs-performance .target-matches button:focus-visible {outline:3px solid #b37200;outline-offset:2px}
.bs-performance .target-matches .target-choice button {width:100%}
.bs-performance .target-matches small {font-size:.88rem;line-height:1.45}

#cctv-package .bs-camera-plan[hidden]{display:none!important}
#cctv-package .bs-camera-plan{margin:.75rem 0;max-width:100%;box-sizing:border-box;min-width:0}
#cctv-package .bs-camera-plan>summary{display:list-item;padding:.9rem 1rem;color:#12304d;background:#e5eef7;line-height:1.4;cursor:pointer;font-size:1rem;font-weight:700}
#cctv-package .bs-camera-plan[open]>summary{background:#102942;color:white}
#cctv-package .bs-camera-plan>summary:focus-visible{outline:3px solid #eabf4f;outline-offset:-4px}
#cctv-package .bs-plan-body>label{display:block;margin:.8rem;color:#143149;font-size:.93rem;font-weight:650}
#cctv-package .bs-plan-body>label select{display:block;box-sizing:border-box;margin-top:.25rem;width:100%;min-height:44px;padding:.5rem;font-size:1rem;white-space:normal;background:#fff;border:1px solid #738ea2;border-radius:6px;color:#102942}
#cctv-package .bs-camera-plan .bs-optics{margin:0 .65rem .6rem}
#cctv-package .bs-camera-plan .bs-model{margin:.25rem 0}
#cctv-package .selected-recorder .package-card-actions button{cursor:pointer;pointer-events:auto;touch-action:manipulation;min-height:44px;white-space:normal}
#cctv-package .package-footer #package-next:not([hidden]){white-space:normal;min-width:0;line-height:1.3;touch-action:manipulation}

#cctv-package .bs-camera-plan .bs-plan-checks:not([hidden]){display:block;width:calc(100% - 1.6rem);margin:.75rem .8rem;min-height:44px;line-height:1.3;white-space:normal;background:#fff2d7;color:#593b0b;border:1px solid #bc8429;font-weight:700}
#cctv-package .bs-camera-plan .bs-plan-checks[hidden]{display:none!important}

#cctv-package .package-footer{flex-wrap:wrap;row-gap:.35rem}
#cctv-package .bs-fix-notice:not([hidden]){display:block;flex:1 0 100%;max-width:100%;border:1px solid #a62727;background:#ffe4e3;color:#741b1b;border-radius:.45rem;padding:.42rem .65rem;line-height:1.3;font-size:.9rem;font-weight:700;cursor:pointer;text-decoration:underline}
#cctv-package .bs-fix-notice[hidden]{display:none!important}
#cctv-package .package-footer #package-next{flex-shrink:1}
