/* Scoped account filters; preserves existing events and saved column choices. */
.hc-account-controls{background:var(--bg2,#fff);border:1px solid var(--bd,#e5e7eb);border-radius:16px;padding:16px;margin:0 0 16px;display:flex;flex-direction:column;gap:12px}
.hc-account-controls .ad-toolbar{margin:0!important;gap:12px;flex-wrap:wrap}
.hc-account-controls .ad-toolbar-main{gap:8px;min-width:0;flex-wrap:wrap}
.hc-account-controls .ad-toolbar-period{padding-bottom:12px;border-bottom:1px solid var(--bd,#e5e7eb)}
.hc-account-controls .ad-period{padding:3px;border-radius:10px;gap:2px}
.hc-account-controls .ad-period-chip{min-height:34px;padding:7px 12px;border-radius:8px;font-size:12px;white-space:nowrap}
.hc-account-controls .fi,.hc-account-controls .btn,.hc-account-controls .ad-toolbar-note{height:38px;min-height:38px;border-radius:9px;font-size:12px}
.hc-account-controls .ad-toolbar-actions{gap:8px;margin-left:auto}
.hc-account-controls .btn-add-account{box-shadow:none;padding:0 14px}
.hc-account-controls .btn-add-account-plus{width:20px;height:20px;font-size:16px}
.hc-account-controls .ad-toolbar-search{flex:1 1 260px;min-width:180px}
.hc-account-controls .ad-toolbar-filter{flex:0 1 180px;width:180px;min-width:145px}
.hc-account-controls .hc-account-tools{margin:0;padding-top:10px;border-top:1px solid var(--bd,#e5e7eb);gap:10px;font-size:12px}
.hc-account-controls .hc-account-tools label{display:flex;gap:7px;align-items:center;cursor:pointer}
.hc-account-controls .hc-account-tools input[type=checkbox]{width:15px;height:15px;margin:0;accent-color:var(--blue,#2563eb)}
.hc-account-controls .hc-account-tools>div{gap:12px}
.hc-account-controls .ad-toolbar-count{height:auto;min-height:0;border:0;background:none;padding:0;font-size:12px}
.hc-account-controls .active-chips:empty{display:none}
.hc-account-controls .active-chips{margin:0}
@media(max-width:1000px){.hc-account-controls .ad-toolbar-period .ad-toolbar-main{flex:1 1 100%}.hc-account-controls .ad-toolbar:not(.ad-toolbar-period) .ad-toolbar-main{display:flex;width:100%}.hc-account-controls .ad-toolbar-search{flex-basis:100%;width:100%}.hc-account-controls .ad-toolbar-filter{flex:1 1 145px;width:auto}.hc-account-controls .ad-toolbar-period .ad-toolbar-actions{width:auto;justify-content:flex-end}}
@media(max-width:600px){.hc-account-controls{padding:12px}.hc-account-controls .ad-period{display:flex;max-width:100%;overflow-x:auto;flex-wrap:nowrap}.hc-account-controls .ad-period-chip{padding:7px 9px}.hc-account-controls .ad-toolbar-actions{width:100%!important}.hc-account-controls .ad-toolbar-actions>*{flex:1;justify-content:center}.hc-account-controls .hc-account-tools{align-items:flex-start}.hc-account-controls .hc-account-tools>div{width:100%;justify-content:space-between}.hc-account-controls .ad-toolbar-filter{min-width:0;flex-basis:calc(50% - 8px)}}
.hc-accounts-table th{position:relative;min-width:0!important;padding-right:20px!important}.hc-column-resizer{position:absolute;right:0;top:10%;height:80%;width:9px;cursor:col-resize;touch-action:none;border-right:2px solid transparent;z-index:2}.hc-column-resizer:hover,.hc-column-resizer:focus{border-right-color:var(--blue,#2563eb);background:rgba(37,99,235,.1);outline:none}.hc-accounts-table td{overflow:hidden;min-width:0!important}.hc-accounts-table td select,.hc-accounts-table td .ss-wrap{max-width:100%;min-width:0}.hc-accounts-table .hc-cost-cell .price-tag{display:flex;max-width:100%}
/* Align the combined cost cell with its header instead of the right edge. */
.hc-accounts-table th[data-column="price"]{text-align:left;padding-left:16px!important}
.hc-accounts-table .td-price-pair{padding:10px 16px!important;text-align:left;vertical-align:middle}
.hc-accounts-table .td-price-pair .price-pair{justify-content:start;gap:6px;width:max-content;max-width:100%}
.hc-accounts-table .td-price-pair .price-tag{grid-template-columns:44px minmax(40px,auto);column-gap:8px;padding:0;min-height:22px}
.hc-accounts-table .td-price-pair .price-tag-val,.hc-accounts-table .td-price-pair .price-tag-unset{text-align:left;line-height:22px}
/* Desktop account controls: two rows, filters and view settings share row two. */
@media(min-width:1101px){
.hc-account-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 14px}
.hc-account-controls>.ad-toolbar-period{grid-column:1/-1}
.hc-account-controls>.ad-toolbar:not(.ad-toolbar-period){grid-column:1;min-width:0}
.hc-account-controls>.ad-toolbar:not(.ad-toolbar-period) .ad-toolbar-main{flex-wrap:nowrap;width:100%}
.hc-account-controls .ad-toolbar-search{flex:1 1 190px;min-width:130px;width:190px}
.hc-account-controls .ad-toolbar-filter{flex:1 1 140px;width:140px;min-width:110px}
.hc-account-controls>.hc-account-tools{grid-column:2;grid-row:2;border:0;padding:0;gap:10px;flex-wrap:nowrap}
.hc-account-controls>.hc-account-tools label{white-space:nowrap;font-size:11px}
.hc-account-controls>.hc-account-tools>div{gap:8px;flex-wrap:nowrap}
.hc-account-controls>.hc-account-tools>div>span:not(#filter-count){display:none}
.hc-account-controls #filter-count{font-size:11px}
.hc-account-controls>.active-chips:not(:empty){grid-column:1/-1;grid-row:3}
}
@media(min-width:1101px) and (max-width:1500px){.hc-account-controls #filter-count{display:none}.hc-account-controls>.hc-account-tools{gap:8px}.hc-account-controls .ad-toolbar-filter{min-width:100px;font-size:11px}.hc-account-controls .ad-toolbar-search{min-width:120px}}
