/* V407 comparison card — responsive, accessible and readable in the Quote Tool. */
.bc407-dialog,#bb407-battle-card-editor{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.bc407-swipe{display:none;margin:0 0 8px;color:#557993;font-size:.8rem;font-weight:650}
.bc407-dialog{box-sizing:border-box;width:min(1120px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;border:0;border-radius:18px;background:#fff;color:#173b57;box-shadow:0 24px 80px #0b27394d;overflow:hidden}
.bc407-dialog::backdrop{background:#092d47b3;backdrop-filter:blur(4px)}
.bc407-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#f1f8fc;border-bottom:1px solid #d5e5ef;padding:16px 23px}
.bc407-dialog-header h2{font-size:clamp(1.25rem,2.4vw,1.7rem);margin:2px 0 0;color:#153e5a}
.bc407-kicker{font-size:.72rem;font-weight:800;letter-spacing:.15em;color:#537a97;margin:0}
.bc407-close{width:42px;height:42px;border-radius:10px;border:1px solid #cee0ea;background:#fff;color:#35617d;font-size:2rem;line-height:1;cursor:pointer}
.bc407-close:hover,.bc407-close:focus-visible{outline:2px solid #087ab8;outline-offset:2px}
.bc407-dialog-body{padding:22px 23px 26px;overflow:auto;max-height:calc(100dvh - 110px);overscroll-behavior:contain}
.bc407-lede{color:#536f83;font-size:1rem;line-height:1.6;margin:0 0 20px}
.bc407-scroll{width:100%;overflow-x:auto;border:1px solid #d8e6ef;border-radius:12px}
.bc407-table{min-width:630px;width:100%;border-collapse:collapse;font-size:.9rem}
.bc407-table th,.bc407-table td{padding:13px 14px;text-align:center;border-bottom:1px solid #e3ebf2;vertical-align:middle}
.bc407-table thead th{color:#183e5a;font-weight:750;background:#e9f4fb}
.bc407-table th:first-child{text-align:left;width:35%;min-width:175px}
.bc407-table tbody th{font-weight:650;color:#274760}
.bc407-table tbody tr:last-child >*{border-bottom:0}
.bc407-table tbody tr:nth-child(even){background:#f7fafc}
.bc407-section th{background:#dceff8!important;color:#185479!important;padding:11px 14px!important}
.bc407-hardware td{font-weight:650}
.bc407-state{display:inline-block;font-size:.82rem;font-weight:700;white-space:nowrap}
.bc407-state.yes{color:#157346}.bc407-state.no{color:#75879a}.bc407-state.optional{color:#886012}.bc407-state.confirm{color:#886012}
.bc407-footnote,.bc407-muted{font-size:.88rem;color:#61788a;line-height:1.5}
.bc407-footnote{margin-top:14px}
.bc407-send{margin:24px 0 0;border-top:1px solid #d9e6ef;padding-top:19px}
.bc407-send h3{font-size:1.1rem;margin:0 0 6px}
.bc407-send-fields,.bc407-routers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:12px 0}
.bc407-send-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.bc407-send-fields label,.bc407-admin-field{display:flex;flex-direction:column;gap:6px;font-size:.85rem;font-weight:650;color:#365d76}
.bc407-send-fields input,.bc407-admin-field input,.bc407-admin-field select,.bc407-admin-field textarea{box-sizing:border-box;width:100%;min-width:0;padding:11px 12px;border-radius:9px;border:1px solid #b9d3e4;background:#fff;color:#193c55;font:inherit}
.bc407-admin-field textarea{resize:vertical;min-height:58px}
.bc407-confirm{display:flex;align-items:center;gap:10px;cursor:pointer;margin:12px 0;font-size:.9rem}
.bc407-confirm input{width:18px;height:18px;flex:0 0 auto}
.bc407-primary,.bc407-secondary,.bc407-remove{border-radius:9px;border:1px solid #086fa8;padding:10px 16px;font-size:.9rem;font-weight:700;cursor:pointer}
.bc407-primary{background:#08679c;color:#fff}.bc407-secondary,.bc407-remove{background:#fff;color:#08679c}
.bc407-primary:disabled{opacity:.5;cursor:not-allowed}.bc407-status{color:#4e6b80;font-size:.84rem;min-height:1.5em}
.bc407-error{color:#a22b32!important;font-weight:650}
#bb407-battle-card-editor{background:#fff;border:1px solid #d7e6ee;border-radius:15px;padding:22px;margin:22px 0;color:#173e58}
.bc407-admin-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:19px}
.bc407-admin-head h3{font-size:1.4rem;margin:4px 0 2px}.bc407-admin-head p{margin:0}
.bc407-badge{background:#eaf4fa;color:#245d7b;padding:7px 10px;border-radius:99px;white-space:nowrap;font-size:.75rem;font-weight:700}
.bc407-admin-form{display:grid;gap:12px}.bc407-admin-form h4{font-size:1.05rem;margin:10px 0 0}.bc407-admin-form .bc407-muted{margin:0}
.bc407-features{display:grid;gap:8px}
.bc407-feature-row{display:grid;grid-template-columns:minmax(150px,1.5fr) repeat(3,minmax(100px,1fr)) auto;gap:10px;align-items:end;padding:10px;background:#f5f9fc;border:1px solid #e3edf4;border-radius:11px}
.bc407-remove{border-color:#b7c9d6;color:#60798e}
.bc407-admin-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;border-top:1px solid #d8e4ec;padding-top:17px;margin-top:17px}
.bc407-admin-status{margin:0 auto 0 0;color:#587187;font-size:.88rem}
.bc407-admin-preview{max-height:400px;overflow:auto}
.bc407-sr{position:absolute;clip:rect(0,0,0,0);height:1px;width:1px;overflow:hidden}
@media(max-width:900px){.bc407-feature-row{grid-template-columns:repeat(3,minmax(0,1fr))}.bc407-feature-row .bc407-admin-field:first-child{grid-column:1/-1}.bc407-remove{grid-column:3}}
@media(max-width:580px){.bc407-swipe{display:block}.bc407-dialog-body{padding:14px}.bc407-dialog-header{padding:13px}.bc407-send-fields,.bc407-routers{grid-template-columns:1fr}.bc407-feature-row{grid-template-columns:1fr 1fr}.bc407-feature-row .bc407-admin-field:first-child{grid-column:1/-1}.bc407-remove{grid-column:auto}.bc407-admin-head{align-items:flex-start;flex-direction:column}#bb407-battle-card-editor{padding:13px}.bc407-admin-status{flex-basis:100%}}
