#modal.history-columns-drawer{position:fixed;inset:64px 0 0 auto;margin:0;width:416px;max-width:95vw;height:calc(100vh - 64px);max-height:none;border-radius:0;border:0;border-left:1px solid var(--divider);padding:0;box-shadow:-3px 0 8px #0002;background:var(--surface);color:var(--ink)}
#modal.history-columns-drawer::backdrop{background:transparent}
#modal.history-columns-drawer .dialog-head{position:sticky;top:0;background:var(--surface);margin:0;padding:30px 16px 14px;border-bottom:1px solid var(--divider);z-index:2}
#modal.history-columns-drawer #modalTitle{font-size:22px;font-weight:400}
#modal.history-columns-drawer .dialog-head button{width:26px;height:26px;min-height:26px;padding:0}
#modal.history-columns-drawer #modalBody{padding:16px}
.history-column-kind{position:absolute;top:8px;left:16px;z-index:3;font-size:12px;color:var(--secondary)}
#modal.history-columns-drawer [data-column-search]{width:100%;margin:0 0 16px;height:40px;min-height:40px}
.history-column-group{border:1px solid var(--divider);border-radius:4px;margin-bottom:16px;overflow:hidden}
.history-column-group-head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--divider);min-height:56px;font-size:15px}
#modal.history-columns-drawer .history-column-group-head button{border:0;background:transparent;color:var(--accent);min-height:30px;font-size:13px;padding:0}
.history-column-subheading{font-size:12px;color:var(--secondary);background:var(--soft);padding:8px 14px}
.history-column-row{display:flex;align-items:center;gap:8px;padding:7px 8px;min-height:48px;background:var(--surface);font-size:14px}
.history-column-row>span{flex:1;min-width:0;overflow-wrap:anywhere}
#modal.history-columns-drawer .history-column-row button{border:0;background:transparent;color:var(--secondary);width:28px;min-width:28px;min-height:30px;height:30px;padding:0;font-size:17px}
#modal.history-columns-drawer .history-column-row button:hover{background:var(--control-hover);color:var(--ink)}
.history-column-row .column-grip{cursor:grab}.history-column-group>p{padding:4px 14px;font-size:13px}
.customer-history .hcp-table-scroll table{min-width:0;border-collapse:separate;border-spacing:0}
.customer-history th[data-history-cell]{position:relative;padding:8px 12px;overflow:hidden;vertical-align:middle}
.customer-history td[data-history-cell]{overflow:hidden}
.customer-history th[data-history-cell]>button{max-width:calc(100% - 6px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.customer-history .history-column-resize{position:absolute;right:0;top:0;bottom:0;width:8px;cursor:col-resize;touch-action:none;border-right:1px solid var(--divider)}
.customer-history .history-column-resize:hover,.customer-history .history-column-resize:focus{background:var(--selected);outline:2px solid var(--focus);outline-offset:-2px}
.customer-history th.history-pinned{z-index:2;background:var(--soft);box-shadow:3px 0 5px #0001}
.customer-history td.history-pinned{z-index:1;background:var(--surface);box-shadow:3px 0 5px #0001}
.customer-history .customer-history-cell{min-width:0;max-width:none}
