.istt-tree{box-sizing:border-box;background:#fff;border-right:1px solid #dcdcde;font-size:13px;color:#1d2327;display:flex;flex-direction:column;overflow:hidden}
.istt-tree .it-body{flex:1;min-height:0;overflow:auto;padding:10px 6px 24px}
.istt-tree .it-slot:empty{display:none}
.istt-tree .it-slot{flex:none;border-top:1px solid #dcdcde;background:#f6f7f7}
.istt-tree .istt-mf-move{display:block;padding:10px}
.istt-tree .istt-mf-move select{width:100%;max-width:none;height:32px;min-height:32px;margin:0 0 6px}
.istt-tree .istt-mf-move .button{width:100%;height:32px;min-height:32px;line-height:30px;padding:0;text-align:center}
.istt-tree *{box-sizing:border-box}
.istt-tree .it-head{display:flex;align-items:center;justify-content:space-between;padding:0 6px 10px;gap:8px}
.istt-tree .it-head .button{display:inline-flex;align-items:center;gap:2px}
.istt-tree .it-head .dashicons{font-size:14px;width:14px;height:14px}
.istt-tree .it-row{display:flex;align-items:center;gap:2px;min-height:32px;padding-right:6px;border-radius:6px;cursor:pointer;user-select:none;border:1px solid transparent}
.istt-tree .it-row:hover{background:#f3f3f1}
.istt-tree .it-row.is-sel{background:#e6f0ee;color:#1b6a63;font-weight:600}
.istt-tree .it-row.it-over{background:#e6f0ee;border-color:#1b6a63}
.istt-tree .it-arrow{width:20px;height:24px;padding:0;border:0;background:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:#646970;flex:none}
.istt-tree .it-arrow--none{cursor:default}
.istt-tree .it-arrow .dashicons{font-size:16px;width:16px;height:16px}
.istt-tree .it-ico{color:#8c8f94;font-size:16px;width:16px;height:16px;flex:none;margin-right:4px}
.istt-tree .is-sel .it-ico{color:#1b6a63}
.istt-tree .it-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.istt-tree .it-count{color:#646970;font-size:11px;background:#f0f0f1;border-radius:10px;padding:1px 7px;flex:none;font-weight:400}
.istt-tree .it-acts{display:none;gap:0;flex:none;margin-left:4px}
.istt-tree .it-row:hover .it-acts{display:inline-flex}
.istt-tree .it-row:hover .it-count{display:none}
.istt-tree .it-acts button{border:0;background:none;padding:2px;cursor:pointer;color:#646970;border-radius:4px;line-height:1}
.istt-tree .it-acts button:hover{background:#dcdcde;color:#1d2327}
.istt-tree .it-acts .it-del:hover{color:#8e191c}
.istt-tree .it-acts .dashicons{font-size:15px;width:15px;height:15px}
.istt-tree .it-sep{height:1px;background:#e2e4e7;margin:8px 6px}
.istt-tree .it-edit{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:3px 6px 3px 8px}
.istt-tree .it-input{flex:1;min-width:0;height:28px;line-height:1}
.istt-tree .it-err{flex-basis:100%;color:#8e191c;font-size:12px}
.istt-tree .it-err:empty{display:none}
.istt-tree .it-empty{color:#646970;padding:6px 10px;margin:0}
.istt-has-tree>.istt-tree{position:absolute;top:0;left:0;bottom:0;width:250px;z-index:3;display:none}
@media (min-width:1000px){
  .istt-has-tree>.istt-tree{display:block}
  /* fereastra "Alege media": elementele sunt pozitionate absolut */
  .media-modal .attachments-browser.istt-has-tree .media-toolbar{left:250px}
  .media-modal .attachments-browser.istt-has-tree:not(.has-load-more) .attachments,
  .media-modal .attachments-browser.istt-has-tree.has-load-more .attachments-wrapper,
  .media-modal .attachments-browser.istt-has-tree .uploader-inline{left:250px}
  /* grila din Media: elemente in flux normal */
  .mode-grid .attachments-browser.istt-has-tree{box-sizing:border-box;padding-left:250px;min-height:calc(100vh - 220px);overflow:clip}
  /* sticky nu merge in interiorul unui parinte cu overflow hidden/auto: "clip" taie la fel, dar nu creeaza container de scroll */
  .mode-grid.media-frame:has(.istt-has-tree),
  .mode-grid.media-frame:has(.istt-has-tree) .media-frame-content{overflow:clip}
  .mode-grid .attachments-browser.istt-has-tree>.istt-tree{position:sticky;top:42px;bottom:auto;left:auto;float:left;margin-left:-250px;height:calc(100vh - 70px);max-height:calc(100vh - 70px)}
}
.istt-list-wrap{display:flex;gap:16px;align-items:flex-start;margin-top:8px}
.istt-list-wrap>.istt-tree{width:250px;flex:none;border:1px solid #dcdcde;border-radius:8px;position:sticky;top:42px;max-height:calc(100vh - 60px)}
.istt-list-main{flex:1;min-width:0}
@media (max-width:900px){.istt-list-wrap{flex-direction:column}.istt-list-wrap>.istt-tree{width:100%;position:static}}
.attachments-browser.istt-has-tree .attachment[draggable=true]{cursor:grab}
body.istt-dragging .uploader-window,body.istt-dragging .uploader-editor,body.istt-dragging .uploader-inline-content{display:none!important}
body.istt-dragging .istt-tree .it-row{cursor:copy}

