/* PBBF62 - compact scalable document library; only documents.php */
.documents-page .pbbf-doc-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:.6rem 1rem;margin:0 0 .7rem}
.documents-page .pbbf-doc-toolbar label{display:flex;flex-direction:column;gap:.25rem;font-size:.73rem;font-weight:700;color:#2d5f40}
.documents-page .pbbf-doc-search-label{flex:1 1 290px}
.documents-page .pbbf-doc-category-label{flex:0 1 210px}
.documents-page .pbbf-doc-toolbar input,.documents-page .pbbf-doc-toolbar select{min-height:37px;width:100%;font:inherit;font-size:.83rem;font-weight:400;color:#17251f;background:#fff;border:1px solid #cbdad0;border-radius:8px;padding:.42rem .7rem;box-sizing:border-box}
.documents-page .pbbf-doc-toolbar input:focus-visible,.documents-page .pbbf-doc-toolbar select:focus-visible{outline:2px solid #277c4a;outline-offset:1px}
.documents-page .pbbf-doc-count{font-size:.76rem;color:#677b6e;align-self:center;white-space:nowrap;margin-left:auto}
.documents-page .pbbf-doc-list{border:1px solid #dbe6df;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 3px 12px rgba(22,48,32,.035)}
.documents-page .pbbf-doc-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;column-gap:.78rem;padding:.7rem .9rem;border-bottom:1px solid #e5ece7;min-height:64px;box-sizing:border-box}
.documents-page .pbbf-doc-row:last-child{border-bottom:0}
.documents-page .pbbf-doc-row:nth-child(even){background:#fafcfb}
.documents-page .pbbf-doc-row[hidden]{display:none!important}
.documents-page .pbbf-doc-icon{display:flex;width:32px;height:39px;align-items:center;justify-content:center;flex:none;border-radius:6px;background:#983d34;color:#fff;font-size:.64rem;font-weight:800;letter-spacing:.025em}
.documents-page .pbbf-doc-info{min-width:0}
.documents-page .pbbf-doc-info h3{font-size:.9rem;line-height:1.3;color:#1b2822;margin:0 0 .16rem;font-weight:750}
.documents-page .pbbf-doc-meta{display:flex;gap:.65rem;flex-wrap:wrap;font-size:.7rem;line-height:1.25;color:#39754d}
.documents-page .pbbf-doc-meta span+span{color:#75857b}
.documents-page .pbbf-doc-info p{font-size:.75rem;line-height:1.35;color:#69786f;margin:.22rem 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;overflow:hidden}
.documents-page .pbbf-doc-row-actions{display:flex;align-items:center;gap:.4rem;white-space:nowrap}
.documents-page .pbbf-doc-row-actions a{display:inline-flex;align-items:center;justify-content:center;font-size:.74rem;font-weight:750;line-height:1.25;border-radius:6px;padding:.43rem .62rem;text-decoration:none;transition:background .15s;min-height:32px;box-sizing:border-box}
.documents-page .pbbf-doc-view{background:#d2ae44;color:#1e2c22}
.documents-page .pbbf-doc-view:hover{background:#e1bd58}
.documents-page .pbbf-doc-download{background:#fff;color:#236c40;border:1px solid #36794e}
.documents-page .pbbf-doc-download:hover{background:#eff8f1}
.documents-page .pbbf-doc-empty{padding:1rem;text-align:center;font-size:.85rem;color:#657468}
.documents-page .pbbf-doc-empty[hidden]{display:none}
@media(max-width:680px){.documents-page .pbbf-doc-row{grid-template-columns:30px minmax(0,1fr);gap:.58rem;padding:.65rem .68rem}.documents-page .pbbf-doc-row-actions{grid-column:2;justify-content:flex-start;margin-top:.28rem}.documents-page .pbbf-doc-icon{width:29px;height:36px}.documents-page .pbbf-doc-info h3{font-size:.84rem}.documents-page .pbbf-doc-toolbar{gap:.55rem}.documents-page .pbbf-doc-category-label{flex:1 1 150px}.documents-page .pbbf-doc-count{margin-left:0}.documents-page .pbbf-doc-info p{-webkit-line-clamp:2}}
