/* 各级代理子菜单 */
.tier-count{margin-left:6px;padding:0 6px;border-radius:9px;background:#16b8a6;color:#fff;font-style:normal;font-size:11px;line-height:16px;display:inline-block}
#controls.tier-head{display:block;margin:8px 0!important}
.tm-box{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:9px 12px;border:1px solid #d7e8e5;border-radius:9px;background:#fff;margin-bottom:8px}
.tm-title{font-weight:700;color:#1f3a4d;white-space:nowrap}.tm-title span{margin-left:4px;font-weight:400;font-size:12px;color:#7a8c99}
.tm-list{flex:1;display:flex;flex-wrap:wrap;gap:6px;min-width:200px}
.tm-chip{display:inline-flex;align-items:center;gap:5px;padding:2px 4px 2px 10px;border:1px solid #bfe6df;border-radius:14px;background:#effaf8;font-size:13px}
.tm-chip b{color:#0e8174;cursor:pointer}.tm-chip small{color:#7a8c99}
.tm-chip button{border:0;background:none;color:#a5b3be;font-size:15px;line-height:1;padding:0 4px;cursor:pointer}.tm-chip button:hover{color:#c53030}
.tm-add{display:flex;gap:6px}
.tm-add input{height:30px;padding:0 8px;border:1px solid #c9dcde;border-radius:6px;font:inherit;width:120px}
.tm-add input#tmContact{width:150px}
.tm-add button{height:30px}
.tier-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:7px 9px;border:1px solid #d7e8e5;border-radius:9px;background:#fff}
.tier-toolbar>button,.tier-toolbar .material-filter{height:32px;padding:0 11px;font-size:13px;white-space:nowrap}
.tier-toolbar .cost-search{flex:1;min-width:160px;height:32px}
.tier-toolbar .cost-count{margin-left:auto;font-size:12px;white-space:nowrap}
.tier-toolbar .agent-export-btn{background:#16b8a6;border-color:#16b8a6;color:#fff;font-weight:600}
.tier-price-grid{font-size:13px;width:100%}
.grid-wrap #grid.tier-price-grid tbody tr td{height:auto!important;padding:4px 10px!important}
.tier-price-grid th{background:#eef6f5!important}
.tp-cell b{font-size:14px;color:#078c7f}
.tp-cell b.tp-manual{color:#c05621}
.tp-tag{display:inline-block;margin-right:4px;padding:0 7px;border-radius:9px;font-size:11.5px;line-height:18px}
.tp-tag.stock{background:#e8f8f5;color:#0e8174}.tp-tag.hot{background:#fff4ea;color:#c05621}

.tm-accounts{border-color:#9fd9cf;background:#f6fcfb}
.tm-chip.acc{border-color:#16b8a6;background:#fff}
.tm-chip.acc small{font-size:11px}
.tm-chip.off{opacity:.5}
.tm-add select{height:30px;padding:0 6px;border:1px solid #c9dcde;border-radius:6px;font:inherit;max-width:280px}
.side-sub.side-sub2{padding-left:84px!important;font-size:13px!important;color:#9fb1bf}
.side-sub.side-sub2:before{content:"└ ";color:#5f7688}
.side-sub.side-sub2.active,.side-sub.side-sub2:hover{color:#fff}
/* 代理价格（统一读写代理表） */
.ap-head{display:flex;flex-direction:column;align-items:stretch;gap:8px}
.ap-accs{border:1px solid #d9e6e3;border-radius:10px;padding:8px 10px;background:#f7fbfa}
.ap-accs-title{display:flex;gap:10px;align-items:baseline;flex-wrap:wrap;margin-bottom:6px}
.ap-warn{color:#c0392b;font-weight:600;font-size:12px}
.ap-acc-list{display:flex;flex-wrap:wrap;gap:6px}
.ap-acc{display:flex;align-items:center;gap:6px;border:1px solid #cfe0dc;background:#fff;border-radius:8px;padding:3px 4px 3px 9px;font-size:13px}
.ap-acc small{color:#8a9a97}
.ap-acc select{padding:2px 4px;font-size:12px;height:auto;min-height:0;width:auto}
.ap-acc.unset{border-color:#e59a8f;background:#fff5f3}
.ap-acc.unset select{color:#c0392b;font-weight:600}
.ap-acc.off{opacity:.55}
.ap-save{margin-left:auto}
.ap-grid th small{display:block;font-weight:400;font-size:11px;color:#8a9a97;white-space:normal}
.ap-grid td,.ap-grid th{padding-top:3px;padding-bottom:3px}
.ap-in{width:78px;text-align:right;padding:2px 6px;font-size:13px;height:26px;border:1px solid #dbe4e2;border-radius:6px}
.ap-in::placeholder{color:#9aa8a5}
.ap-in.manual{border-color:#eb6834;color:#b34a1d;font-weight:600;background:#fff8f3}
.ap-grid tr.ap-dirty td{background:#fffbe8}
.ap-in{width:62px!important}.ap-grid th small{font-size:10.5px}
