/* Basisregels dossier, afkomstig uit oorspronkelijke PMS-styles. */
.doc-breadcrumb{padding:4px 0 16px;border-bottom:1px solid var(--line);margin-bottom:16px}.doc-folder-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:10px;margin-bottom:18px}.doc-folder-wrap{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}.doc-folder{display:flex;align-items:center;gap:10px;text-align:left;border:0;background:#fff;padding:14px;cursor:pointer;width:100%}.doc-folder:hover{background:#f7fafc}.doc-folder span{font-size:24px}.doc-folder-actions{display:flex;gap:12px;padding:0 14px 10px}.doc-list{display:flex;flex-direction:column}.doc-row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #edf0f3}.doc-row:last-child{border-bottom:0}.doc-row img{width:48px;height:48px;object-fit:cover;border-radius:7px}.doc-type{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:#f3f6f8;border-radius:7px;font-size:23px}.doc-row-main{flex:1;min-width:0}.doc-row-main b{overflow-wrap:anywhere}
/* Document row interaction styles, migrated from inline PMS CSS. */

/* Compact checkbox + file icon, with the filename immediately beside them. */
#content .doc-explorer-table{table-layout:fixed!important;min-width:760px}
#content .doc-explorer-table th:first-child,#content .doc-explorer-table td:first-child{width:62px!important;min-width:62px!important;max-width:62px!important;padding:6px 3px!important;text-align:left!important}
#content .doc-explorer-table th:nth-child(2),#content .doc-explorer-table td:nth-child(2){width:36%!important;min-width:0!important;padding-left:7px!important;text-align:left!important}
#content .doc-explorer-table th:nth-child(3),#content .doc-explorer-table td:nth-child(3){width:19%!important;min-width:0!important;text-align:left!important}
#content .doc-explorer-table td:nth-child(3) .doc-path-tail{display:block;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;direction:rtl;text-align:left;unicode-bidi:plaintext}
#content .doc-explorer-table .doc-type-select-inline{display:flex!important;gap:3px!important;align-items:center!important;justify-content:flex-start!important;white-space:nowrap!important}
#content .doc-explorer-table .doc-bulk-select{width:16px!important;height:16px!important;margin:0!important;flex:0 0 16px!important;cursor:pointer}
#content .doc-explorer-table .doc-icon-inline{display:inline-flex;align-items:center;justify-content:center;width:22px;min-width:22px;font-size:17px;line-height:1}
#content .doc-explorer-table .doc-name-cell{display:block!important;min-width:0!important}
#content .doc-explorer-table .doc-filename{display:block!important;text-align:left!important;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#content .doc-wide-click{cursor:pointer!important}
#content .doc-wide-click:hover{background:#edf5fc!important}
#content .doc-wide-click:focus-visible{outline:2px solid #2e7fb7;outline-offset:-2px}
#content .doc-wide-click input,#content .doc-wide-click button,#content .doc-wide-click a{cursor:pointer}
#content .doc-explorer-table th:nth-child(4){width:105px!important}
#content .doc-explorer-table th:nth-child(5){width:75px!important}
#content .doc-explorer-table th:nth-child(6){width:80px!important}

/* Jansen2B dossier CSS: central definition of document layouts */

.doc-explorer-scroll{width:100%;overflow-x:auto}.doc-explorer-table{width:100%;min-width:900px;border-collapse:collapse;table-layout:auto;font-size:13px}.doc-explorer-table th,.doc-explorer-table td{padding:8px 10px;text-align:left;border-bottom:1px solid #e4eaf0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.doc-explorer-table th:nth-child(1){width:65px}.doc-explorer-table th:nth-child(2){width:38%}.doc-explorer-table th:nth-child(3){width:25%}.doc-explorer-table th:nth-child(4){width:115px}.doc-explorer-table th:nth-child(5){width:95px}.doc-explorer-table th:nth-child(6){width:90px}.doc-explorer-table tr:hover{background:#f3f7fa}.doc-sort{border:0;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer;padding:0}.doc-name-cell{display:flex;gap:8px;min-width:0;align-items:center}.doc-filename{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:none;border:0;text-align:left;cursor:pointer;color:#17618a;font:inherit;padding:0}.doc-name-cell .doc-filename{flex:1}.doc-bulk-select{flex:none}

.doc-explorer-table td:nth-child(2),.doc-explorer-table th:nth-child(2){min-width:260px!important;width:36%!important}
.doc-explorer-table td:nth-child(3),.doc-explorer-table th:nth-child(3){min-width:240px!important;width:30%!important}
.doc-explorer-table .doc-name-cell{min-width:0;width:100%}
.doc-explorer-table a.doc-filename,.doc-explorer-table button.doc-filename{display:inline-block!important;opacity:1!important;visibility:visible!important;color:#135d8e!important;text-decoration:none!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}

.pms-file-icon{display:inline-block;width:23px;height:29px;vertical-align:middle;flex-shrink:0}.pms-folder-icon{width:24px;height:25px}#content .doc-explorer-table .doc-icon-inline .pms-file-icon{width:23px;height:29px}#content .doc-explorer-table .doc-icon-inline{overflow:visible}.doc-type .pms-file-icon{width:25px;height:31px}

/* Eén Jansen2B-vormgeving voor alle dossierverkenners; alleen presentatie. */
:root{--j2b-doc-navy:#173d60;--j2b-doc-blue:#217cac;--j2b-doc-selected:#d9eaf8;--j2b-doc-border:#dbe5ed}
#content .doc-explorer,#content .doc-folder-grid,#content .doc-breadcrumb,#move-explorer-tree{
 font-family:inherit;font-size:14px;color:var(--j2b-doc-navy);line-height:1.4
}
#content .doc-explorer-table,#content .doc-explorer-table td,#content .doc-explorer-table th{font-size:14px}
#content .doc-explorer-table .doc-filename,#content .doc-folder,#move-explorer-tree .j2b-tree-label{
 font:inherit;font-size:14px;font-weight:500;color:var(--j2b-doc-navy)!important;letter-spacing:normal
}
#content .doc-folder{min-height:46px;gap:10px;border-radius:8px}
#content .doc-folder:hover,#content .doc-explorer-table tr:hover{background:#eff6fb}
#content .doc-icon-inline,#content .doc-folder>span{display:inline-flex;align-items:center;justify-content:center;width:27px;min-width:27px}
#content .doc-folder .pms-folder-icon,#content .doc-icon-inline .pms-folder-icon,#move-explorer-tree .pms-folder-icon{width:24px;height:25px}
#content .doc-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:5px;color:var(--j2b-doc-navy)}
#content .doc-breadcrumb .link{font-size:14px;color:var(--j2b-doc-blue)}
#move-explorer-tree .j2b-tree-label{border-radius:7px;min-height:34px;display:flex;align-items:center;gap:9px;width:100%;min-width:0}
#move-explorer-tree .j2b-tree-label[data-move-selected="true"]{background:var(--j2b-doc-selected)!important;color:var(--j2b-doc-navy)!important;font-weight:700!important}
#move-explorer-tree .j2b-tree-arrow{color:var(--j2b-doc-blue);font-size:14px}
#move-explorer-tree .j2b-tree-row[data-selected="true"]{background:var(--j2b-doc-selected)!important}
#move-explorer-path{font-size:14px;color:var(--j2b-doc-navy);line-height:1.5}


/* Dossierregels: dezelfde presentatie op project-, locatie-, object- en organisatieniveau. */
#content .doc-explorer-table tbody tr{height:46px}
#content .doc-explorer-table tbody td{font-size:14px!important;line-height:1.4!important;color:var(--j2b-doc-navy)}
#content .doc-explorer-table tbody .doc-filename{
 font-size:14px!important;font-weight:500!important;line-height:1.4!important;
 color:var(--j2b-doc-navy)!important;white-space:nowrap
}
#content .doc-explorer-table .doc-icon-inline{width:27px!important;min-width:27px!important}
#content .doc-explorer-table .doc-icon-inline .pms-folder-icon{width:24px!important;height:25px!important}
#content .doc-explorer-table thead th{font-size:13px!important;font-weight:700;color:#596a80}
#content .doc-explorer .toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 12px;margin:0 0 12px}
#content .doc-explorer .toolbar label{display:inline-flex;align-items:center;gap:7px;margin:0;font-size:13px}
#content .doc-explorer .toolbar input[type=checkbox]{width:17px;height:17px;margin:0;flex:none}
#content .doc-explorer .toolbar .btn{font-size:13px;padding:8px 11px}
#content .doc-explorer .toolbar [data-bulk-count]{font-size:13px}
#content .doc-folder-grid .doc-folder b{font-size:14px;font-weight:500}
@media(max-width:600px){
 #content .doc-explorer .toolbar{gap:8px}
 #content .doc-explorer-table tbody .doc-filename{font-size:14px!important}
}

.pms-document-hover{position:fixed;z-index:99999;pointer-events:none;background:#13283c;color:#fff;border:1px solid #396783;border-radius:6px;padding:9px 12px;max-width:min(390px,85vw);font:12px/1.5 system-ui;box-shadow:0 3px 13px #081b2b55;overflow-wrap:anywhere}.pms-document-hover strong{display:block;font-weight:700;margin-bottom:5px}.pms-document-hover div{margin-top:2px}
