/* Bracket builder controls (site page and downloaded file). Big, plain and well spaced. */
.bre{--e-bg:#0e1012;--e-in:#16191d;--e-ln:#3d444e;--e-fg:#fff;--e-mu:#c0cfe0;--e-hi:#fac26a;--e-hi-ink:#1a1205;color:var(--e-fg);font-family:"Barlow","Helvetica Neue",Arial,sans-serif;font-size:16px;line-height:1.45}
.bre .ebox{background:var(--e-bg);border:1px solid #2b3037;border-radius:12px;padding:14px 16px;margin:0 0 14px}
.bre h2{margin:0 0 10px;font-family:"Barlow Condensed","Arial Narrow",sans-serif;font-size:21px;letter-spacing:.1em;text-transform:uppercase;color:var(--e-hi)}
.bre h3{margin:16px 0 6px;font-family:"Barlow Condensed","Arial Narrow",sans-serif;font-size:17px;letter-spacing:.1em;color:var(--e-mu)}
.bre label{display:block;margin:10px 0 4px;color:var(--e-mu);font-size:15px}
.bre label.switch{display:flex;align-items:center;gap:8px;margin:8px 14px 4px 0;color:var(--e-fg)}
.bre .brk-sw{display:flex;flex-wrap:wrap}
.bre input[type=text],.bre input[type=url],.bre input[type=password],.bre select{width:100%;box-sizing:border-box;min-height:44px;padding:0 10px;border-radius:10px;border:1px solid var(--e-ln);background:var(--e-in);color:var(--e-fg);font-size:16px;font-family:inherit}
.bre input[type=color]{width:64px;height:44px;padding:2px;border-radius:10px;border:1px solid var(--e-ln);background:var(--e-in)}
.bre input[type=checkbox]{width:20px;height:20px;accent-color:var(--e-hi)}
.bre .g2,.bre .g3,.bre .g4{display:grid;gap:0 12px;grid-template-columns:repeat(2,minmax(0,1fr))}
.bre .g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.bre .g4{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
@media (max-width:640px){.bre .g3{grid-template-columns:repeat(2,minmax(0,1fr))}.bre .g4{grid-template-columns:repeat(2,minmax(0,1fr))}}
.bre .row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.bre button,.bre .btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:10px;border:1px solid var(--e-ln);background:var(--e-in);color:var(--e-fg);font-weight:700;font-size:15px;font-family:inherit;cursor:pointer;text-decoration:none}
.bre button:hover,.bre .btn:hover{border-color:var(--e-hi)}
.bre button.pri,.bre .btn.pri{background:var(--e-hi);border-color:var(--e-hi);color:var(--e-hi-ink)}
.bre button:disabled{opacity:.5;cursor:default}
.bre .note{margin:6px 0 0;color:var(--e-mu);font-size:14px}
.bre .msg{min-height:22px;margin:8px 0 0;font-weight:600}.bre .msg.ok{color:#8be0a4}.bre .msg.err{color:#ff8a80}
.bre [hidden]{display:none!important}
.bre .brk-rd{margin-top:12px;padding-top:6px;border-top:1px solid #2b3037}
.bre .brk-m{display:grid;grid-template-columns:minmax(0,1fr) 54px 54px minmax(0,1fr) auto;gap:8px;align-items:center;margin:6px 0}
.bre .brk-m span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.bre .brk-m span.b{text-align:right}
.bre .brk-m span.w{color:var(--e-hi)}
.bre .brk-m input{text-align:center;padding:0 4px}
.bre .brk-m button{padding:0 10px;min-height:40px}
.bre .brk-m button.cur{background:#c9372c;border-color:#c9372c;color:#fff}
.bre .brk-g{display:grid;grid-template-columns:minmax(0,1fr) 60px 60px 60px;gap:6px;margin:4px 0}
.bre .brk-g.hd span{color:var(--e-mu);font-size:14px}
.bre .trow{display:grid;grid-template-columns:40px minmax(0,1fr) 84px auto auto;gap:8px;align-items:center;margin:6px 0}
.bre .trow .tn{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.bre .tlogo{width:40px;height:40px;object-fit:contain;border-radius:6px;background:var(--e-in)}
.bre .elogo{width:56px;height:56px;object-fit:contain;border-radius:8px;background:var(--e-in)}
.bre code{display:block;padding:10px 12px;background:#05070b;border:1px solid var(--e-ln);border-radius:10px;font-size:14px;overflow-wrap:anywhere;color:#dfe8f3}
.bre .tcell{display:flex;gap:6px;min-width:0}
.bre .tcell input{flex:1;min-width:0}
.bre button.lgbtn{flex:none;width:58px;min-height:44px;padding:0 4px;font-size:13px;line-height:1.1;white-space:normal}
.bre button.lgbtn.has{background:#fff1;padding:3px}
.bre button.lgbtn img{width:100%;height:36px;object-fit:contain}
.bre .brkdock .g4{grid-template-columns:repeat(2,minmax(0,1fr))}
.bre .brk-g .tcell{grid-column:1}
