/* Remote opening drawer: fixed controls, vertical scrolling only. */
.theme-config{width:min(400px,calc(100vw - 16px));right:8px!important;top:72px!important;overflow:visible;pointer-events:none}
.theme-config .theme-config-box.show{pointer-events:auto;border-radius:12px;overflow:hidden}
.theme-config .v2-remote-panel{margin:0!important;width:100%!important;height:calc(100vh - 80px);height:calc(100dvh - 80px);max-height:none;display:flex;flex-direction:column;overflow:hidden;border-radius:12px;box-sizing:border-box}
.v2-remote-panel .v2-remote-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;text-align:left;text-transform:none;flex:none;border-bottom:1px solid var(--line)}
.v2-remote-heading h2{font-size:16px;font-weight:650;line-height:1.4;margin:0;min-width:0}
.v2-remote-heading-actions{display:flex;gap:8px;flex:none}.v2-remote-heading-actions .btn{width:40px;height:40px;min-height:40px;padding:0;display:grid;place-items:center}
.v2-remote-search{padding:14px 16px;flex:none;border-bottom:1px solid var(--line)}.v2-remote-search input{width:100%;min-width:0;height:44px}
.v2-remote-panel .v2-remote-list{padding:0;min-height:0;flex:1;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}
#treeterminais,#treeterminais .list-group{width:100%;min-width:0;max-width:100%;margin:0}
#treeterminais .list-group-item{display:flex;flex-wrap:nowrap;align-items:center;gap:0;min-height:44px;padding:4px 8px 4px calc(8px + var(--remote-depth,0)*8px);border-radius:0;white-space:normal;background:var(--surface)!important;color:var(--ink)!important;border-color:var(--line)!important}
#treeterminais .list-group-item>.icon{width:20px;margin:0 4px 0 0;flex:none}
#treeterminais .v2-remote-node-label{flex:1;min-width:0;overflow-wrap:anywhere;white-space:normal;color:var(--ink)!important;font-size:13px;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#treeterminais .v2-remote-node-label:hover{color:var(--brand-text)!important}
#treeterminais .v2-remote-node-actions{float:none!important;flex:0 0 auto;display:flex;justify-content:flex-end;margin:0 0 0 6px;min-width:0}
#treeterminais .v2-remote-node-actions>.btn{width:32px;height:32px;min-height:32px;padding:0;display:grid;place-items:center;flex:none}
#treeterminais .search-result{background:var(--brand-tint)!important}
.v2-remote-tab[aria-expanded=true]{display:none!important}
@media(max-width:380px){.v2-remote-panel .v2-remote-heading{padding-inline:12px;gap:8px}.v2-remote-heading-actions{gap:6px}.v2-remote-search{padding-inline:12px}}
@media(max-width:1000px){#treeterminais .list-group-item{min-height:48px}#treeterminais .v2-remote-node-actions>.btn{width:40px;height:40px;min-height:40px}#treeterminais .v2-remote-node-actions>span.btn{width:24px}}

/* Borderless list, with the same hover surface as platform tables. */
.v2-remote-panel .v2-remote-search{border-bottom:0}
.v2-remote-panel .setings-item.v2-remote-list,#treeterminais,#treeterminais .list-group,#treeterminais .list-group-item{border:0!important;box-shadow:none}
#treeterminais .list-group-item:hover,#treeterminais .list-group-item:focus-within{background:var(--surface-2)!important}
