.cn-brandbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 20px}
.cn-brand-picker{position:relative;max-width:100%;font-size:16px}
.cn-brand-picker>summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:44px;padding:9px 14px;background:#fff;border:1px solid #b9c2cd;border-radius:8px;cursor:pointer}
.cn-brand-picker>summary::-webkit-details-marker{display:none}
.cn-brand-picker>summary:after{content:'⌄';margin-left:16px;font-size:20px;line-height:1}
.cn-brand-picker[open]>summary{border-color:#1d3854;box-shadow:0 0 0 2px #dce6ef}
.cn-brand-panel{position:absolute;z-index:30;top:calc(100% + 6px);left:0;width:340px;max-width:calc(100vw - 32px);padding:16px;background:#fff;border:1px solid #cbd3dc;border-radius:10px;box-shadow:0 10px 32px #142b4226}
.cn-brand-panel label{display:block;font-weight:600;margin-bottom:8px}
.cn-brand-panel input{box-sizing:border-box;width:100%;min-width:0;min-height:44px;border:1px solid #aab7c4;border-radius:6px;padding:9px 12px;font:inherit}
.cn-brand-panel nav{max-height:min(350px,45vh);overflow-y:auto;overscroll-behavior:contain}
.cn-brand-panel a{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;padding:8px 10px;border-radius:5px;color:#17334c;text-decoration:none}
.cn-brand-panel a:hover,.cn-brand-panel a:focus-visible{background:#eef3f7}
.cn-brand-panel a[aria-current]{background:#e6eff7;font-weight:700}
.cn-brand-panel a small{font-size:12px;color:#566171}
.cn-brand-panel a[hidden],.cn-brand-panel p[hidden]{display:none}
.cn-brand-all{margin:8px 0 4px;border-bottom:1px solid #e4e9ef}
.cn-brand-panel p{font-size:14px;color:#566171;margin:12px 0 0}
.cn-brand-clear{font-size:14px;color:#42586c;text-underline-offset:3px}
@media(max-width:600px){.cn-brandbar{gap:8px;margin-bottom:16px}.cn-brand-picker>summary{font-size:15px}.cn-brand-panel{width:320px}.cn-brand-clear{min-height:40px;display:inline-flex;align-items:center}}

.cn-brand-mark{width:76px;flex:0 0 76px;min-height:34px;display:flex;align-items:center;justify-content:center;background:#fff;border-radius:4px;padding:3px}
.cn-brand-mark:empty{display:none}
.cn-brand-mark img{width:72px;height:32px;object-fit:contain}
.cn-brand-name{flex:1;min-width:0}.cn-brand-name small{display:block;font-weight:400}
.cn-brand-picker summary strong{display:flex;gap:10px;align-items:center;min-width:0;overflow-wrap:anywhere}
.cn-brand-selected-logo{width:56px;height:24px;object-fit:contain;flex:none}
.cn-brand-group>summary{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 10px;cursor:pointer;list-style:none;color:#17334c;border-radius:5px}
.cn-brand-group>summary::-webkit-details-marker{display:none}
.cn-brand-group>summary:after{content:'⌄';margin-left:auto;font-size:22px}
.cn-brand-group[open]>summary:after{transform:rotate(180deg)}
.cn-brand-group>summary:hover,.cn-brand-group>summary:focus-visible{background:#eef3f7}
.cn-brand-group>summary small{display:block;font-size:12px;font-weight:400;color:#566171}
.cn-brand-children{margin:0 0 8px 18px;border-left:2px solid #e4e9ef;padding-left:8px}
.cn-brand-children .cn-brand-section{font-size:12px;font-weight:600;color:#566171;margin:12px 10px 4px;line-height:1.35}
.cn-brand-child-logo{width:56px;height:24px;object-fit:contain}
.cn-brand-panel [hidden]{display:none!important}
