.iotab-catalog-tabs{display:flex;gap:7px;overflow-x:auto;white-space:nowrap;touch-action:pan-x;cursor:grab;user-select:none;padding:5px 0 10px;scrollbar-width:thin}.iotab-catalog-tab{flex:none;border:1px solid transparent;border-radius:10px;padding:8px 13px;min-height:40px;color:#34465b;background:rgba(255,255,255,.35);font:inherit}.iotab-catalog-tab[aria-selected=true]{background:#2878eb;color:#fff;border-color:#3689fc}.iotab-catalog-status{font-size:12px;color:#536a80;min-height:28px;padding:3px 0}.icon-tab-content-box.iotab-catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-content:start}.iotab-catalog-card{position:relative;display:flex;gap:9px;min-height:98px;padding:14px 38px 25px 10px;border:1px solid rgba(255,255,255,.5);border-radius:13px;background:rgba(255,255,255,.24);color:#263c52}.iotab-catalog-card>img{width:44px;height:44px;object-fit:contain;border-radius:11px;flex:none}.iotab-catalog-copy{min-width:0}.iotab-catalog-copy strong{font-size:14px;font-weight:600;line-height:1.5}.iotab-catalog-copy p{font-size:12px;opacity:.8;margin:4px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.iotab-catalog-add{position:absolute;right:5px;top:8px;width:32px;height:32px;border:0;border-radius:10px;background:#def4e7;color:#146b40;font-size:23px;line-height:1}.iotab-catalog-add:disabled{opacity:.5}.iotab-catalog-visit{position:absolute;right:10px;bottom:7px;font-size:11px;color:#2262a1}.iotab-catalog-count{position:absolute;left:10px;bottom:7px;font-size:10px;color:#526c7e}.iotab-catalog-empty,.iotab-catalog-more,.iotab-catalog-retry{grid-column:1/-1;text-align:center;padding:20px;border-radius:12px}.iotab-catalog-more,.iotab-catalog-retry{border:1px solid #9bb8d0;background:rgba(255,255,255,.4);color:#254a70}.iotab-member-entry{list-style:none;padding:4px}.iotab-member-entry button{display:flex;align-items:center;width:100%;min-height:44px;padding:10px 14px;border:0;border-radius:10px;background:transparent;color:inherit;text-align:left;font:inherit}.iotab-member-entry button:hover{background:rgba(50,130,230,.14)}.iotab-member-overlay{position:fixed;inset:0;z-index:200100;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(15,25,40,.3)}.iotab-member-dialog{display:flex;flex-direction:column;overflow:hidden;width:min(1180px,100%);height:min(840px,90vh);height:min(840px,90dvh);border:1px solid rgba(255,255,255,.8);border-radius:20px;background:rgba(244,249,253,.97);box-shadow:0 24px 80px #13294255;color:#263c52}.iotab-member-dialog header{display:flex;gap:12px;align-items:center;padding:16px 20px;border-bottom:1px solid #7893ab33}.iotab-member-dialog header strong{margin-right:auto}.iotab-member-dialog button,.iotab-member-dialog a{border:1px solid #9cb8cf;border-radius:9px;padding:7px 12px;background:transparent;color:#255a8e;font:inherit}.iotab-member-dialog button:hover,.iotab-member-dialog a:hover{background:#dcecff;color:#173c61}.iotab-member-hint{font-size:12px;padding:10px 20px;margin:0}.iotab-member-dialog iframe{width:100%;flex:1;min-height:0;border:0;background:#fff}html.io-black-mode .iotab-catalog-card{background:#17283b99;border-color:#60758a55;color:#e6eff8}html.io-black-mode .iotab-catalog-tab{color:#dbe8f7;background:#22364b}html.io-black-mode .iotab-catalog-tab[aria-selected=true]{background:#2878eb;color:white}html.io-black-mode .iotab-catalog-status,html.io-black-mode .iotab-catalog-count{color:#b5c7db}html.io-black-mode .iotab-catalog-visit{color:#9ccfff}html.io-black-mode .iotab-catalog-add{background:#1b503f;color:#adf4cb}html.io-black-mode .iotab-member-dialog{background:#162331;color:#e0ecf8;border-color:#60768c}html.io-black-mode .iotab-member-dialog a,html.io-black-mode .iotab-member-dialog button{color:#bcddff}html.io-black-mode .iotab-member-dialog button:hover,html.io-black-mode .iotab-member-dialog a:hover{background:#294561;color:white}@media(max-width:640px){.icon-tab-content-box.iotab-catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.iotab-catalog-tab{min-height:44px}.iotab-catalog-card{display:block;padding:12px 8px 40px}.iotab-catalog-card>img{width:38px;height:38px;margin-bottom:8px}.iotab-catalog-add{width:40px;height:40px;top:auto;bottom:3px;right:3px}.iotab-catalog-visit{left:8px;right:auto;bottom:14px}.iotab-catalog-count{left:52px;bottom:14px;font-size:9px}.iotab-member-overlay{padding:8px}.iotab-member-dialog{height:calc(100dvh - 16px)}.iotab-member-dialog header{padding:12px;gap:8px}}

/* 3.0.40.1 — cards: explicit content rows, never overlap the actions. */
#bm-add-icon-popup .icon-tab-content-box.iotab-catalog-grid{grid-auto-rows:max-content;align-items:start;gap:12px;padding:1px 5px 8px 1px;overflow-x:hidden}
#bm-add-icon-popup .iotab-catalog-card{display:grid!important;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;align-content:start;gap:8px 10px;height:auto!important;min-height:148px;padding:12px!important;overflow:hidden;box-sizing:border-box}
#bm-add-icon-popup .iotab-catalog-card>img{grid-column:1;grid-row:1;width:42px;height:42px;margin:0}
#bm-add-icon-popup .iotab-catalog-copy{grid-column:2;grid-row:1;min-width:0;overflow:hidden}
#bm-add-icon-popup .iotab-catalog-copy strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;font-size:13px;line-height:20px;max-height:40px;min-height:20px;font-weight:600}
#bm-add-icon-popup .iotab-catalog-copy p{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden!important;overflow-wrap:anywhere;font-size:12px;line-height:18px;max-height:36px;min-height:36px;margin:4px 0 0!important}
#bm-add-icon-popup .iotab-catalog-actions{grid-column:1/-1;display:flex;align-items:center;gap:8px;min-width:0;min-height:36px;border-top:1px solid #7893ab22;padding-top:7px}
#bm-add-icon-popup .iotab-catalog-actions .iotab-catalog-count,#bm-add-icon-popup .iotab-catalog-actions .iotab-catalog-visit,#bm-add-icon-popup .iotab-catalog-actions .iotab-catalog-add{position:static!important;inset:auto!important;flex:none}
#bm-add-icon-popup .iotab-catalog-actions .iotab-catalog-count{font-size:10px;white-space:nowrap}
#bm-add-icon-popup .iotab-catalog-actions .iotab-catalog-visit{margin-left:auto;font-size:12px}
#bm-add-icon-popup .iotab-catalog-actions .iotab-catalog-add{width:34px;height:34px;border-radius:10px}
.plugin-setting-win .setting-sidebar .iotab-member-entry{position:relative;display:flex;align-items:center;font-size:14px;font-weight:760!important;color:#2b3846!important;border-radius:6px;padding:8px;margin-bottom:2px;list-style:none}
.plugin-setting-win .setting-sidebar .iotab-member-entry button{display:flex;align-items:center;gap:0;width:100%;min-height:0;padding:0!important;margin:0;border:0;border-radius:0;background:transparent!important;color:inherit;font:inherit;text-align:left;line-height:inherit;cursor:pointer}
.iotab-member-nav-icon{width:1em;height:1em;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.plugin-setting-win .setting-sidebar .iotab-member-entry:hover{background:rgba(255,255,255,.35)}
html.io-black-mode .plugin-setting-win .setting-sidebar .iotab-member-entry{color:#edf3fa!important}
@media(max-width:640px){
 #bm-add-icon-popup .icon-tab-content-box.iotab-catalog-grid{grid-template-columns:minmax(0,1fr)!important;gap:10px;max-height:48vh;max-height:48dvh}
 #bm-add-icon-popup .iotab-catalog-card{min-height:136px;grid-template-columns:42px minmax(0,1fr)}
 #bm-add-icon-popup .iotab-catalog-copy strong{font-size:14px}
 #bm-add-icon-popup .iotab-catalog-actions .iotab-catalog-add{width:44px;height:40px}
 #bm-add-icon-popup .iotab-catalog-actions .iotab-catalog-visit{padding:8px 4px}
 #bm-add-icon-popup .iotab-catalog-tabs{gap:6px;padding-bottom:7px;scrollbar-width:none}
 #bm-add-icon-popup .iotab-catalog-tabs::-webkit-scrollbar{display:none}
 #bm-add-icon-popup .iotab-catalog-tab{font-size:13px;min-height:38px;padding:7px 11px}
 #bm-add-icon-popup .iotab-catalog-status{font-size:11px;min-height:25px}
 #bm-add-icon-popup .default-icon-box .modal-body{padding:12px}
 #bm-add-icon-popup .default-icon-box .search-input{font-size:14px!important}
}
/* 3.0.40.2: compact catalog, consistent selected category typography. */
#bm-add-icon-popup .iotab-catalog-tab,#bm-add-icon-popup .iotab-catalog-tab[aria-selected=true]{font-size:12px!important;font-weight:500!important;line-height:18px!important;min-height:32px!important;padding:6px 10px!important;letter-spacing:0!important}
#bm-add-icon-popup .iotab-catalog-tabs{gap:6px;padding-bottom:6px}
#bm-add-icon-popup .iotab-catalog-card{min-height:0!important;padding:10px!important;gap:5px 9px!important}
#bm-add-icon-popup .iotab-catalog-copy p{min-height:0!important;margin-top:3px!important}
#bm-add-icon-popup .iotab-catalog-actions{min-height:30px!important;padding-top:4px!important;gap:7px!important;border-top-color:#7893ab18}
#bm-add-icon-popup .iotab-catalog-actions .iotab-catalog-add{width:30px!important;height:30px!important;font-size:21px!important;border-radius:9px!important}
#bm-add-icon-popup .iotab-catalog-actions .iotab-catalog-visit{padding:3px 0!important;line-height:20px!important}
@media(max-width:640px){#bm-add-icon-popup .iotab-catalog-card{padding:10px 12px!important;gap:4px 10px!important}#bm-add-icon-popup .iotab-catalog-actions{padding-top:2px!important;min-height:36px!important}#bm-add-icon-popup .iotab-catalog-actions .iotab-catalog-add{width:40px!important;height:36px!important}#bm-add-icon-popup .iotab-catalog-actions .iotab-catalog-visit{padding:6px 4px!important}#bm-add-icon-popup .iotab-catalog-tab{min-height:36px!important}}
