.lbm-ap-wrap,.lbm-ap-wrap *, .lbm-ap-wrap *::before, .lbm-ap-wrap *::after{box-sizing:border-box}
.lbm-ap-wrap{font-family:inherit;color:#1f2937;background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:24px;box-shadow:0 12px 30px rgba(15,23,42,.06);max-width:100%;overflow-x:hidden}
.lbm-ap-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px}
.lbm-ap-head h2{margin:0 0 8px;font-size:clamp(22px,3vw,32px);line-height:1.15;color:#0f172a;font-weight:800}
.lbm-ap-head p{margin:0;color:#64748b;font-size:15px;line-height:1.6;max-width:780px}
.lbm-ap-open-data{display:flex;gap:10px;align-items:flex-start;background:#f0f9ff;border:1px solid #bae6fd;border-radius:14px;color:#0c4a6e;padding:12px 14px;margin:12px 0 18px;font-size:13px;line-height:1.5}
.lbm-ap-open-data strong{white-space:nowrap;color:#075985}
.lbm-ap-cats{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 18px}
.lbm-ap-pill{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;border:1px solid #dbe3ef;background:#f8fafc;color:#334155;text-decoration:none;font-size:13px;font-weight:700;transition:.2s ease}
.lbm-ap-pill:hover,.lbm-ap-pill.is-active{background:#0f4c81;border-color:#0f4c81;color:#fff;text-decoration:none}
.lbm-ap-pill span{display:inline-flex;min-width:22px;height:22px;align-items:center;justify-content:center;border-radius:999px;background:rgba(15,76,129,.12);font-size:12px}
.lbm-ap-pill:hover span,.lbm-ap-pill.is-active span{background:rgba(255,255,255,.22)}
.lbm-ap-filter{display:flex;flex-wrap:wrap;gap:12px;align-items:end;background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:16px;margin:18px 0;max-width:100%;overflow:visible}
.lbm-ap-filter .lbm-ap-field{flex:0 1 170px;min-width:140px;max-width:100%}
.lbm-ap-filter .lbm-ap-search{flex:1 1 340px;min-width:240px}
.lbm-ap-field label{display:block;margin:0 0 6px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#475569}
.lbm-ap-field input,.lbm-ap-field select{width:100%;max-width:100%;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;padding:10px 12px;min-height:43px;font-size:14px;box-shadow:none}
.lbm-ap-field input:focus,.lbm-ap-field select:focus{outline:2px solid rgba(15,76,129,.18);border-color:#0f4c81}
.lbm-ap-actions-filter{display:flex;gap:10px;align-items:center;justify-content:flex-end;white-space:nowrap;flex:0 0 auto;min-width:190px;margin-left:auto}
.lbm-ap-actions-filter button{border:0;background:#0f4c81;color:#fff;border-radius:10px;min-height:43px;padding:0 20px;font-weight:800;cursor:pointer;flex:0 0 auto}
.lbm-ap-actions-filter button:hover{filter:brightness(.95)}
.lbm-ap-actions-filter a{color:#0f4c81;text-decoration:none;font-weight:800;font-size:13px;padding:10px 8px;flex:0 0 auto}
.lbm-ap-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:8px 0 16px;flex-wrap:wrap}
.lbm-ap-summary{color:#64748b;font-size:14px;line-height:1.6}
.lbm-ap-summary strong{color:#0f172a}
.lbm-ap-dot{display:inline-block;margin:0 6px;color:#cbd5e1}
.lbm-ap-export-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.lbm-ap-export-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:35px;border-radius:999px;padding:0 12px;background:#fff;border:1px solid #dbe3ef;color:#0f4c81;text-decoration:none;font-size:12px;font-weight:900;white-space:nowrap;transition:.2s ease}
.lbm-ap-export-actions a:hover{background:#0f4c81;border-color:#0f4c81;color:#fff;text-decoration:none;transform:translateY(-1px)}
.lbm-ap-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:100%}
.lbm-ap-grid>*{min-width:0}
.lbm-ap-card{display:flex;flex-direction:column;gap:12px;border:1px solid #e5e7eb;background:#fff;border-radius:16px;padding:16px;box-shadow:0 8px 20px rgba(15,23,42,.05);min-height:285px;transition:.2s ease;min-width:0;max-width:100%;overflow:hidden}
.lbm-ap-card:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(15,23,42,.08)}
.lbm-ap-card-top{display:flex;justify-content:space-between;gap:10px;align-items:center}
.lbm-ap-badge{display:inline-flex;align-items:center;background:#eaf2f8;color:#0f4c81;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}
.lbm-ap-ext{display:inline-flex;align-items:center;background:#f1f5f9;color:#475569;border-radius:8px;padding:5px 8px;font-size:11px;font-weight:900;letter-spacing:.04em}
.lbm-ap-card h3{margin:0;color:#0f172a;font-size:17px;line-height:1.35;font-weight:800;word-break:break-word;overflow-wrap:anywhere}
.lbm-ap-meta{display:grid;gap:4px;color:#64748b;font-size:13px;line-height:1.45}
.lbm-ap-path{margin-top:auto;color:#94a3b8;background:#f8fafc;border:1px dashed #e2e8f0;border-radius:10px;padding:8px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.lbm-ap-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:2px;max-width:100%}
.lbm-ap-btn{display:inline-flex;align-items:center;justify-content:center;min-height:39px;border-radius:10px;padding:0 14px;text-decoration:none;font-size:13px;font-weight:900;transition:.2s ease;max-width:100%;text-align:center}
.lbm-ap-btn:hover{text-decoration:none;transform:translateY(-1px)}
.lbm-ap-btn-view{background:#0f4c81;color:#fff}
.lbm-ap-btn-download{background:#ecfdf5;color:#047857;border:1px solid #bbf7d0}
.lbm-ap-btn-link{background:#f8fafc;color:#334155;border:1px solid #e2e8f0}
.lbm-ap-empty{border:1px dashed #cbd5e1;border-radius:16px;background:#f8fafc;padding:18px;color:#475569}
.lbm-ap-empty strong{display:block;color:#0f172a;margin-bottom:6px}
.lbm-ap-empty p{margin:0;line-height:1.6}
.lbm-ap-pagination{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin-top:20px}
.lbm-ap-pagination a,.lbm-ap-pagination button{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0;border-radius:10px;background:#f8fafc;border:1px solid #e5e7eb;text-decoration:none;color:#334155;font:inherit;font-weight:800;line-height:1;cursor:pointer}
.lbm-ap-pagination a.is-current,.lbm-ap-pagination a:hover,.lbm-ap-pagination button.is-current,.lbm-ap-pagination button:hover{background:#0f4c81;border-color:#0f4c81;color:#fff;text-decoration:none}
.lbm-ap-pagination button:disabled{cursor:default;opacity:1}
@media(max-width:1024px){.lbm-ap-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lbm-ap-filter .lbm-ap-search{flex-basis:100%}.lbm-ap-actions-filter{justify-content:flex-start;margin-left:0}.lbm-ap-export-actions{justify-content:flex-start}}
@media(max-width:640px){.lbm-ap-wrap{padding:16px;border-radius:14px;width:100%;max-width:100%;overflow-x:hidden}.lbm-ap-grid{grid-template-columns:1fr}.lbm-ap-filter{display:flex;flex-direction:column;align-items:stretch;padding:14px;gap:12px}.lbm-ap-filter .lbm-ap-field,.lbm-ap-filter .lbm-ap-search{flex:1 1 auto;width:100%;min-width:0}.lbm-ap-actions-filter{display:grid;grid-template-columns:1fr 1fr;width:100%;min-width:0;margin-left:0}.lbm-ap-actions-filter button,.lbm-ap-actions-filter a{width:100%;justify-content:center;text-align:center}.lbm-ap-card{min-height:unset}.lbm-ap-card-actions{display:grid;grid-template-columns:1fr;gap:8px}.lbm-ap-btn{width:100%;padding:0 10px}.lbm-ap-head h2{font-size:22px}.lbm-ap-open-data{display:block}.lbm-ap-open-data strong{display:block;margin-bottom:4px}.lbm-ap-export-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.lbm-ap-export-actions a{width:100%;min-width:0}.lbm-ap-toolbar{display:block}.lbm-ap-summary{margin-bottom:12px}.lbm-ap-dot{display:none}}
@media print{.lbm-ap-filter,.lbm-ap-cats,.lbm-ap-export-actions,.lbm-ap-card-actions,.lbm-ap-pagination{display:none!important}.lbm-ap-wrap{box-shadow:none;border:0;padding:0}.lbm-ap-grid{display:block}.lbm-ap-card{break-inside:avoid;box-shadow:none;margin-bottom:10px;min-height:unset}.lbm-ap-open-data{border:1px solid #ddd;background:#fff;color:#111}}

.lbm-ap-type{display:inline-flex;align-self:flex-start;color:#0f4c81;background:#f0f7fd;border-radius:999px;padding:5px 10px;font-size:12px;font-weight:800}
.lbm-ap-list{display:grid;gap:12px}.lbm-ap-list-item{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #e5e7eb;border-radius:14px;padding:15px 16px;background:#fff}.lbm-ap-list-main{min-width:0}.lbm-ap-list-item h3{font-size:16px;margin:8px 0 5px;color:#0f172a}.lbm-ap-list-item p{margin:0;font-size:13px;color:#64748b}.lbm-ap-list-item .lbm-ap-card-actions{flex-shrink:0}
.lbm-ap-table-wrap{overflow-x:auto;border:1px solid #e5e7eb;border-radius:14px}.lbm-ap-table{border-collapse:collapse;width:100%;background:#fff;font-size:13px}.lbm-ap-table th{text-align:left;padding:12px 14px;background:#f8fafc;color:#475569;text-transform:uppercase;font-size:11px;letter-spacing:.04em}.lbm-ap-table td{padding:12px 14px;border-top:1px solid #e5e7eb;vertical-align:middle;color:#334155}.lbm-ap-table td strong{display:block;color:#0f172a;font-size:14px}.lbm-ap-table td small{display:block;color:#64748b;margin-top:4px}.lbm-ap-table .lbm-ap-card-actions{white-space:nowrap;flex-wrap:nowrap}.lbm-ap-table .lbm-ap-btn{min-height:33px;padding:0 9px;font-size:12px}
.lbm-ap-tree{display:grid;gap:14px}.lbm-ap-tree-category{border:1px solid #e5e7eb;border-radius:16px;background:#fff;overflow:hidden}.lbm-ap-tree-category>summary{list-style:none;cursor:pointer;background:#f8fafc;color:#0f172a;font-weight:900;padding:16px;display:flex;justify-content:space-between;gap:12px}.lbm-ap-tree-category>summary::-webkit-details-marker{display:none}.lbm-ap-tree-category>summary span{color:#64748b;font-weight:700;font-size:13px}.lbm-ap-tree-type{padding:14px 16px;border-top:1px solid #e5e7eb}.lbm-ap-tree-type h3{margin:0 0 10px;font-size:14px;color:#0f4c81}.lbm-ap-tree-file{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:10px 0;border-top:1px dashed #e2e8f0}.lbm-ap-tree-file:first-of-type{border-top:0}.lbm-ap-tree-file strong{display:block;font-size:14px;color:#0f172a}.lbm-ap-tree-file small{display:block;margin-top:4px;color:#64748b;font-size:12px}.lbm-ap-tree-file .lbm-ap-card-actions{flex-shrink:0}
@media(max-width:1024px){.lbm-ap-list-item,.lbm-ap-tree-file{display:block}.lbm-ap-list-item .lbm-ap-card-actions,.lbm-ap-tree-file .lbm-ap-card-actions{margin-top:12px}}
@media(max-width:640px){.lbm-ap-table .lbm-ap-btn-link{display:none}.lbm-ap-list-item{padding:14px}}

/* Pesquisa AJAX e autocomplete - v3.3.0 */
.lbm-ap-searchbox{position:relative}
.lbm-ap-searchbox input{padding-right:38px}
.lbm-ap-suggestions{position:absolute;z-index:30;top:calc(100% + 6px);left:0;right:0;max-height:360px;overflow:auto;background:#fff;border:1px solid #dbe3ef;border-radius:12px;box-shadow:0 16px 34px rgba(15,23,42,.14)}
.lbm-ap-suggestion{display:block;padding:11px 13px;border-top:1px solid #eef2f7;color:#0f172a;text-decoration:none;transition:background .15s ease}
.lbm-ap-suggestion:first-child{border-top:0}
.lbm-ap-suggestion:hover,.lbm-ap-suggestion:focus{background:#f0f7fd;text-decoration:none;outline:none}
.lbm-ap-suggestion-title{display:block;font-size:14px;font-weight:800;line-height:1.35}
.lbm-ap-suggestion-meta{display:block;color:#64748b;font-size:12px;margin-top:4px;line-height:1.45}
.lbm-ap-results-region{position:relative;min-height:40px}
.lbm-ap-wrap.is-searching .lbm-ap-results-region{opacity:.58;pointer-events:none}
.lbm-ap-wrap.is-searching .lbm-ap-searchbox:after{content:"";position:absolute;right:12px;top:13px;width:15px;height:15px;border:2px solid #cbd5e1;border-top-color:#0f4c81;border-radius:50%;animation:lbm-ap-spin .7s linear infinite}
@keyframes lbm-ap-spin{to{transform:rotate(360deg)}}
@media(max-width:640px){.lbm-ap-suggestions{max-height:300px}}

/* Taxonomia v3.4.3: categoria principal + subcategoria visíveis lado a lado */
.lbm-ap-taxonomy{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.lbm-ap-badge-category{background:#eaf2f8;color:#0f4c81}
.lbm-ap-badge-subcategory{background:#f6f8fb;color:#334155;border:1px solid #dbe4ef}
@media(max-width:640px){.lbm-ap-card-top{align-items:flex-start}.lbm-ap-taxonomy{gap:6px}.lbm-ap-badge{font-size:11px;padding:5px 8px}}
/* v3.4.4 - atalhos de subcategorias e taxonomia mais legível */
.lbm-ap-subcats{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:-6px 0 18px}
.lbm-ap-subcats-label{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#64748b;margin-right:2px}
.lbm-ap-pill-sub{font-size:12px;padding:7px 10px;background:#fff}
.lbm-ap-pill-sub.is-active{background:#e8f2fb;color:#0f4f83;border-color:#b9d7ee}
.lbm-ap-badge,.lbm-ap-pill{text-transform:uppercase}


/* v3.5.0 - estabilidade visual mobile/desktop */
.lbm-ap-head,.lbm-ap-open-data,.lbm-ap-toolbar,.lbm-ap-results-region,.lbm-ap-list,.lbm-ap-table-wrap,.lbm-ap-tree{max-width:100%}
.lbm-ap-open-data span,.lbm-ap-summary,.lbm-ap-meta,.lbm-ap-list-item p,.lbm-ap-tree-file small{overflow-wrap:anywhere}
.lbm-ap-list-item,.lbm-ap-tree-file{min-width:0;max-width:100%}
@media(max-width:480px){.lbm-ap-wrap{border-radius:12px;padding:12px}.lbm-ap-filter{margin:14px 0}.lbm-ap-export-actions{grid-template-columns:1fr}.lbm-ap-card{padding:14px}.lbm-ap-badge{max-width:100%;white-space:normal}.lbm-ap-ext{flex-shrink:0}.lbm-ap-path{font-size:11px}.lbm-ap-card-top{gap:8px}}

/* v3.6.0 - navegação compacta inteligente de categorias/subcategorias */
.lbm-ap-nav{position:relative;background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:14px;margin:16px 0 18px;z-index:5;overflow:visible}
.lbm-ap-nav-row{display:flex;align-items:flex-start;gap:14px;min-width:0}
.lbm-ap-nav-row+.lbm-ap-nav-row{margin-top:12px;padding-top:12px;border-top:1px solid #e5e7eb}
.lbm-ap-nav-heading{flex:0 0 138px;min-width:120px;padding-top:7px;color:#475569;line-height:1.25}
.lbm-ap-nav-heading strong{display:block;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:#334155}
.lbm-ap-nav-heading small{display:block;margin-top:2px;font-size:11px;font-weight:700;color:#94a3b8;text-transform:none;letter-spacing:0}
.lbm-ap-nav-pills{display:flex;flex:1 1 auto;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;overflow:visible}
.lbm-ap-nav .lbm-ap-pill{padding:8px 11px;font-size:12px;line-height:1.2;min-height:38px}
.lbm-ap-more{position:relative;display:inline-flex;vertical-align:top;z-index:8}
.lbm-ap-more summary{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:8px 12px;border:1px dashed #b8c8dc;border-radius:999px;background:#fff;color:#0f4c81;font-size:12px;font-weight:900;text-transform:uppercase;cursor:pointer;list-style:none;transition:.2s ease;user-select:none}
.lbm-ap-more summary::-webkit-details-marker{display:none}
.lbm-ap-more summary:hover,.lbm-ap-more[open] summary{background:#eaf2f8;border-color:#9fc3df;color:#0f4c81}
.lbm-ap-more summary span{display:inline-flex;min-width:22px;height:22px;align-items:center;justify-content:center;border-radius:999px;background:rgba(15,76,129,.12);font-size:12px;color:#0f4c81}
.lbm-ap-more-panel{position:absolute;top:calc(100% + 8px);left:0;display:flex;flex-wrap:wrap;gap:8px;width:min(780px,calc(100vw - 64px));max-height:250px;overflow:auto;padding:12px;background:#fff;border:1px solid #dbe3ef;border-radius:14px;box-shadow:0 18px 45px rgba(15,23,42,.18);z-index:60}
.lbm-ap-more-subcats .lbm-ap-more-panel{width:min(760px,calc(100vw - 64px))}
.lbm-ap-nav [hidden]{display:none!important}
.lbm-ap-nav-row-sub .lbm-ap-nav-heading strong{color:#64748b}
@media(max-width:900px){.lbm-ap-nav-row{display:block}.lbm-ap-nav-heading{padding-top:0;margin:0 0 8px;min-width:0}.lbm-ap-nav-pills{display:flex}.lbm-ap-more{position:static}.lbm-ap-more-panel{left:auto;right:auto;width:100%;max-height:220px;margin-top:8px}.lbm-ap-nav .lbm-ap-pill,.lbm-ap-more summary{font-size:11px;min-height:36px;padding:7px 10px}}
@media(max-width:640px){.lbm-ap-nav{padding:12px;border-radius:14px;margin:14px 0}.lbm-ap-nav-pills{gap:7px}.lbm-ap-nav .lbm-ap-pill{max-width:100%;white-space:normal;text-align:left}.lbm-ap-more{display:block;width:100%}.lbm-ap-more summary{width:100%;justify-content:center;border-radius:12px}.lbm-ap-more-panel{position:static;display:flex;width:100%;max-height:210px;margin-top:8px;border-radius:12px}.lbm-ap-nav-heading small{display:none}}
@media print{.lbm-ap-nav{display:none!important}}
/* v3.6.0 hotfix interno: painel recolhível ocupa espaço somente quando aberto, sem sobrepor nem cortar em containers com overflow */
.lbm-ap-nav .lbm-ap-more[open]{display:block;flex:1 1 100%;width:100%}
.lbm-ap-nav .lbm-ap-more-panel{position:static;width:100%;max-width:100%;margin-top:8px;box-shadow:0 12px 26px rgba(15,23,42,.12)}


/* v3.7.0 - agrupamento inteligente por estrutura de pastas */
.lbm-ap-badge-group{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}
.lbm-ap-groups{display:grid;gap:18px}.lbm-ap-group-category{border:1px solid #dbe3ef;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 8px 24px rgba(15,23,42,.05)}
.lbm-ap-group-category>header{display:flex;align-items:center;gap:12px;padding:16px 18px;background:linear-gradient(180deg,#f8fafc,#f1f5f9);border-bottom:1px solid #e2e8f0}.lbm-ap-group-category>header .dashicons{width:34px;height:34px;font-size:34px;color:#0f4c81}.lbm-ap-group-category>header small{display:block;text-transform:uppercase;letter-spacing:.06em;font-size:10px;font-weight:900;color:#94a3b8}.lbm-ap-group-category>header h3{margin:2px 0 0;font-size:18px;color:#0f172a}
.lbm-ap-group-subcategory{padding:16px 18px}.lbm-ap-group-subcategory+h4{margin-top:10px}.lbm-ap-group-subcategory>h4{margin:0 0 12px;color:#0f4c81;font-size:14px;text-transform:uppercase;letter-spacing:.04em}
.lbm-ap-document-group{border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;background:#fff;margin-top:10px}.lbm-ap-document-group>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 15px;background:#f8fafc}.lbm-ap-document-group>summary::-webkit-details-marker{display:none}.lbm-ap-document-group>summary strong{display:block;color:#0f172a;font-size:15px}.lbm-ap-document-group>summary small{display:block;margin-top:3px;color:#64748b;font-size:12px}.lbm-ap-document-group>summary>span{font-size:12px;font-weight:900;color:#0f4c81;text-transform:uppercase}
.lbm-ap-document-group-files{padding:0 15px}.lbm-ap-group-file{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0;border-top:1px dashed #e2e8f0}.lbm-ap-group-file strong{display:block;color:#0f172a;font-size:14px}.lbm-ap-group-file small{display:block;margin-top:4px;color:#64748b;font-size:12px}.lbm-ap-group-file .lbm-ap-card-actions{flex-shrink:0}
@media(max-width:760px){.lbm-ap-group-category>header{padding:14px}.lbm-ap-group-subcategory{padding:14px}.lbm-ap-group-file{display:block}.lbm-ap-group-file .lbm-ap-card-actions{margin-top:10px}.lbm-ap-document-group>summary{align-items:flex-start}.lbm-ap-document-group>summary>span{display:none}}

/* v3.7.1 — Processos Seletivos agrupados (ativado somente quando detectado) */
.lbm-ap-process-groups{display:grid;gap:18px}.lbm-ap-process-group{overflow:hidden;border:1px solid #d9e2ec;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(15,76,129,.07)}
.lbm-ap-process-group>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 22px;background:#f4f8fc;cursor:pointer;list-style:none;border-bottom:1px solid transparent}.lbm-ap-process-group[open]>summary{border-bottom-color:#d9e2ec}.lbm-ap-process-group>summary::-webkit-details-marker{display:none}
.lbm-ap-process-heading{display:flex;align-items:center;gap:14px;min-width:0}.lbm-ap-process-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#e7f1fa;font-size:22px;flex:0 0 auto}.lbm-ap-process-heading small{display:block;margin-bottom:3px;color:#587089;font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.lbm-ap-process-heading h3{margin:0;color:#0f3557;font-size:20px;line-height:1.25}
.lbm-ap-process-summary-meta{display:flex;align-items:baseline;gap:6px;flex:0 0 auto;color:#0f4c81}.lbm-ap-process-summary-meta strong{font-size:22px}.lbm-ap-process-summary-meta span{font-size:13px;font-weight:800}.lbm-ap-process-summary-meta:after{content:'⌃';margin-left:10px;font-size:18px;transform:rotate(0deg)}.lbm-ap-process-group:not([open]) .lbm-ap-process-summary-meta:after{content:'⌄'}
.lbm-ap-process-body{padding:0 22px 8px}.lbm-ap-process-overview{display:flex;flex-wrap:wrap;gap:10px 26px;padding:14px 0;color:#526579;font-size:13px}.lbm-ap-process-files{border-top:1px solid #edf2f7}.lbm-ap-process-file{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 0;border-bottom:1px solid #edf2f7}.lbm-ap-process-file:last-child{border-bottom:0}.lbm-ap-process-file-main{min-width:0;flex:1}.lbm-ap-process-file-title{display:flex;align-items:center;gap:10px}.lbm-ap-process-file-title strong{color:#172033;font-size:15px;line-height:1.4}.lbm-ap-process-file-main small{display:block;margin-top:6px;color:#64748b;font-size:12px;line-height:1.5}.lbm-ap-process-unrecognized{margin-top:18px;padding:18px;border:1px dashed #cbd5e1;border-radius:14px}.lbm-ap-process-unrecognized h3{margin:0 0 6px}.lbm-ap-process-unrecognized p{margin:0 0 14px;color:#64748b}
@media(max-width:760px){.lbm-ap-process-group>summary{align-items:flex-start;padding:16px}.lbm-ap-process-heading{align-items:flex-start}.lbm-ap-process-icon{width:38px;height:38px;font-size:18px}.lbm-ap-process-heading h3{font-size:17px}.lbm-ap-process-summary-meta{display:block;text-align:right}.lbm-ap-process-summary-meta strong,.lbm-ap-process-summary-meta span{display:block}.lbm-ap-process-summary-meta:after{display:none}.lbm-ap-process-body{padding:0 16px 6px}.lbm-ap-process-overview{display:block}.lbm-ap-process-overview span{display:block;margin:5px 0}.lbm-ap-process-file{display:block}.lbm-ap-process-file-title{align-items:flex-start;justify-content:space-between}.lbm-ap-process-file .lbm-ap-card-actions{margin-top:12px}.lbm-ap-process-file .lbm-ap-btn{flex:1;text-align:center}}

/* v3.8.0-beta3 — filtros progressivos e reorganização automática */
.lbm-ap-filter{display:grid;grid-template-columns:minmax(260px,2fr) repeat(auto-fit,minmax(150px,1fr)) auto;align-items:end}
.lbm-ap-filter .lbm-ap-field,.lbm-ap-filter .lbm-ap-search{width:auto;min-width:0;max-width:none}
.lbm-ap-filter .lbm-ap-search{grid-column:auto}
.lbm-ap-actions-filter{margin-left:0;white-space:nowrap}
@media(max-width:1100px){.lbm-ap-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.lbm-ap-filter .lbm-ap-search{grid-column:1/-1}.lbm-ap-actions-filter{justify-content:flex-start}}
@media(max-width:700px){.lbm-ap-filter{display:flex;flex-direction:column;align-items:stretch}.lbm-ap-filter .lbm-ap-field,.lbm-ap-filter .lbm-ap-search{width:100%}}

/* v3.8.0 RC1-B — Biblioteca Digital LBM */
.lbm-ap-wrap{--lbm-primary:#0f4c81;--lbm-primary-soft:#eef6fc;--lbm-border:#dbe5ef;--lbm-text:#172033;--lbm-muted:#64748b}
.lbm-ap-head{padding-bottom:4px}.lbm-ap-head h2{letter-spacing:-.025em}.lbm-ap-head:before{content:'Biblioteca Digital LBM';display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:var(--lbm-primary-soft);color:var(--lbm-primary);font-size:11px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.lbm-ap-filter{padding:20px;border-color:var(--lbm-border);background:linear-gradient(180deg,#f8fbfe,#f4f8fc);box-shadow:0 8px 22px rgba(15,76,129,.06)}
.lbm-ap-filter .lbm-ap-search{grid-column:1/-1}.lbm-ap-search label{font-size:17px;text-transform:none;letter-spacing:0;color:var(--lbm-text)}
.lbm-ap-searchbox{position:relative}.lbm-ap-search-icon{position:absolute;left:15px;top:50%;transform:translateY(-50%);font-size:24px;color:var(--lbm-primary);pointer-events:none}.lbm-ap-searchbox input{min-height:56px;padding-left:48px;font-size:16px;border-radius:13px;border-color:#b8cadb}.lbm-ap-searchbox input::placeholder{color:#8190a3}
.lbm-ap-pill{border-radius:14px;background:#fff;min-height:48px;padding:9px 13px}.lbm-ap-nav .lbm-ap-pill{border-radius:12px}.lbm-ap-pill:before{content:'▦';font-size:15px;opacity:.72}.lbm-ap-pill-sub:before{content:'▤'}
.lbm-ap-card{min-height:245px;padding:18px;border-color:var(--lbm-border);box-shadow:0 6px 18px rgba(15,23,42,.045)}.lbm-ap-card-top{align-items:flex-start}.lbm-ap-taxonomy{display:flex;gap:6px;flex-wrap:wrap;min-width:0}.lbm-ap-document-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 auto;border-radius:11px;background:var(--lbm-primary-soft);color:var(--lbm-primary);font-size:20px}.lbm-ap-card h3{font-size:18px}.lbm-ap-meta-line{margin:0;color:#526579;font-size:13px;font-weight:700}.lbm-ap-system-meta{margin:-4px 0 0;color:#8795a7;font-size:11px}.lbm-ap-card-actions{margin-top:auto}.lbm-ap-btn{min-height:42px}.lbm-ap-path{display:none}
.lbm-ap-export-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:35px;border-radius:999px;padding:0 12px;background:#fff;border:1px solid #dbe3ef;color:#0f4c81;font:900 12px inherit;white-space:nowrap;cursor:pointer}.lbm-ap-export-actions button:hover{background:#0f4c81;border-color:#0f4c81;color:#fff}
.lbm-ap-empty{padding:24px;text-align:center;background:#fbfdff}.lbm-ap-empty:before{content:'⌕';display:grid;place-items:center;width:46px;height:46px;margin:0 auto 12px;border-radius:50%;background:var(--lbm-primary-soft);color:var(--lbm-primary);font-size:25px}
.lbm-ap-tree{gap:12px}.lbm-ap-tree-category>summary{align-items:center;padding:18px;background:#fff}.lbm-ap-acervo-heading{display:flex;align-items:center;gap:13px}.lbm-ap-acervo-heading strong{display:block;font-size:17px;color:var(--lbm-text)}.lbm-ap-acervo-heading small{display:block;margin-top:3px}.lbm-ap-acervo-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--lbm-primary-soft);color:var(--lbm-primary);font-size:20px}.lbm-ap-acervo-toggle{font-size:12px!important;color:var(--lbm-primary)!important;text-transform:uppercase;letter-spacing:.04em}.lbm-ap-acervo[open] .lbm-ap-acervo-toggle{font-size:0!important}.lbm-ap-acervo[open] .lbm-ap-acervo-toggle:after{content:'Recolher acervo';font-size:12px}.lbm-ap-acervo-content{border-top:1px solid var(--lbm-border)}
.lbm-ap-table td:empty,.lbm-ap-table td:has(> .lbm-ap-empty-value){display:none}
.lbm-ap-wrap a:focus-visible,.lbm-ap-wrap button:focus-visible,.lbm-ap-wrap input:focus-visible,.lbm-ap-wrap select:focus-visible,.lbm-ap-wrap summary:focus-visible{outline:3px solid #f59e0b;outline-offset:3px}
@media(max-width:700px){.lbm-ap-filter{padding:15px}.lbm-ap-searchbox input{min-height:54px;font-size:15px}.lbm-ap-card{padding:16px}.lbm-ap-card-actions{grid-template-columns:1fr 1fr}.lbm-ap-btn-link{grid-column:1/-1}.lbm-ap-tree-category>summary{padding:14px}.lbm-ap-acervo-toggle{display:none}.lbm-ap-tree-file{display:block;padding:14px}.lbm-ap-tree-file .lbm-ap-card-actions{margin-top:12px}.lbm-ap-table-wrap{overflow:visible;border:0}.lbm-ap-table,.lbm-ap-table tbody,.lbm-ap-table tr,.lbm-ap-table td{display:block;width:100%}.lbm-ap-table thead{display:none}.lbm-ap-table tr{margin-bottom:12px;padding:14px;border:1px solid var(--lbm-border);border-radius:14px;background:#fff}.lbm-ap-table td{padding:6px 0;border:0}.lbm-ap-table td:last-child{padding-top:10px}.lbm-ap-table .lbm-ap-card-actions{display:grid;grid-template-columns:1fr 1fr;white-space:normal}.lbm-ap-table .lbm-ap-btn-link{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.lbm-ap-wrap *{scroll-behavior:auto!important;transition:none!important;animation:none!important}.lbm-ap-card:hover,.lbm-ap-btn:hover,.lbm-ap-export-actions a:hover{transform:none}}

/* v3.8.0 RC1-C — Biblioteca Digital LBM: refinamento visual e ícones SVG internos */
.lbm-ap-wrap{
  --lbm-primary:#08702f;
  --lbm-primary-dark:#045324;
  --lbm-primary-soft:#eef9f1;
  --lbm-blue:#1769c2;
  --lbm-purple:#7650bd;
  --lbm-orange:#f58a00;
  --lbm-border:#dfe5eb;
  --lbm-text:#172033;
  --lbm-muted:#5d6b7f;
  display:flex;
  flex-direction:column;
  gap:18px;
  color:var(--lbm-text);
}
.lbm-ap-icon{display:block;width:1.35em;height:1.35em;flex:0 0 auto}
.lbm-ap-head{order:1;display:flex;justify-content:center;align-items:flex-start;gap:14px;text-align:center;padding:4px 0 0}
.lbm-ap-head:before{display:none}
.lbm-ap-head-icon{display:grid;place-items:center;width:48px;height:48px;color:var(--lbm-primary)}
.lbm-ap-head-icon .lbm-ap-icon{width:45px;height:45px;stroke-width:1.65}
.lbm-ap-head h2{margin:0;color:var(--lbm-primary-dark);font-size:clamp(28px,3vw,42px);line-height:1.1;font-weight:850;letter-spacing:-.035em}
.lbm-ap-head p{margin:7px 0 0;color:var(--lbm-muted);font-size:16px;line-height:1.45}
.lbm-ap-open-data{order:2;display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:12px;padding:14px 18px;border:1px solid #b9dec5;border-radius:10px;background:linear-gradient(90deg,#f5fcf7,#fbfefc);color:#135d32;box-shadow:none}
.lbm-ap-note-icon{display:grid;place-items:center;width:25px;height:25px}.lbm-ap-note-icon .lbm-ap-icon{width:22px;height:22px}
.lbm-ap-open-data strong{white-space:nowrap}.lbm-ap-open-data strong:after{content:'';display:inline-block;width:1px;height:20px;margin-left:12px;vertical-align:middle;background:#cfe5d6}.lbm-ap-open-data span:last-child{line-height:1.45}
.lbm-ap-filter{order:3;display:grid;grid-template-columns:repeat(5,minmax(130px,1fr)) auto;gap:14px 16px;padding:18px 20px;border:1px solid var(--lbm-border);border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(18,35,52,.045)}
.lbm-ap-filter .lbm-ap-search{grid-column:1/-1;padding:2px 0 18px;border-bottom:1px solid #edf0f3}
.lbm-ap-search label{margin:0 0 10px;font-size:18px;font-weight:850;color:var(--lbm-text)}
.lbm-ap-searchbox{position:relative}
.lbm-ap-search-icon{left:18px;width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:var(--lbm-primary);color:#fff}
.lbm-ap-search-icon .lbm-ap-icon{width:29px;height:29px}
.lbm-ap-searchbox input{min-height:58px;padding:0 18px 0 82px;border:1px solid #9eacc0;border-radius:10px;background:#fff;font-size:16px;box-shadow:none}
.lbm-ap-searchbox input:focus{border-color:var(--lbm-primary);box-shadow:0 0 0 3px rgba(8,112,47,.12)}
.lbm-ap-filter .lbm-ap-field label{font-size:12px;font-weight:850;letter-spacing:0;text-transform:none;color:#29364a}
.lbm-ap-filter select{min-height:44px;border:1px solid #ccd5df;border-radius:8px;background-color:#fff}
.lbm-ap-actions-filter{display:flex;align-items:center;gap:10px}.lbm-ap-actions-filter button{min-height:44px;border-radius:8px;background:var(--lbm-primary);border-color:var(--lbm-primary)}.lbm-ap-actions-filter a{font-weight:800;color:var(--lbm-primary)}
.lbm-ap-nav{order:4;border:1px solid var(--lbm-border);border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(18,35,52,.035);overflow:visible}
.lbm-ap-nav-row{padding:14px 18px}.lbm-ap-nav-row-main{display:grid;grid-template-columns:130px 1fr;align-items:center;gap:16px}.lbm-ap-nav-heading strong{font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:#273246}.lbm-ap-nav-heading small{font-size:12px;color:var(--lbm-muted)}
.lbm-ap-nav-pills{display:flex;gap:10px;flex-wrap:wrap}
.lbm-ap-pill{display:inline-flex;align-items:center;gap:9px;min-height:48px;padding:8px 14px;border:1px solid #d9e0e7;border-radius:10px;background:#fff;color:#172033;font-size:13px;font-weight:850;box-shadow:0 2px 7px rgba(18,35,52,.025)}
.lbm-ap-pill:before,.lbm-ap-pill-sub:before{display:none!important}.lbm-ap-pill>.lbm-ap-icon{width:22px;height:22px;color:var(--lbm-primary)}.lbm-ap-pill>.lbm-ap-pill-label{min-width:0}.lbm-ap-pill>span:last-child:not(.lbm-ap-pill-label){display:grid;place-items:center;min-width:27px;height:27px;padding:0 7px;border-radius:999px;background:#eef1f4;color:#354256;font-size:12px}
.lbm-ap-pill.is-active{background:linear-gradient(135deg,var(--lbm-primary),var(--lbm-primary-dark));border-color:var(--lbm-primary);color:#fff}.lbm-ap-pill.is-active>.lbm-ap-icon{color:#fff}.lbm-ap-pill.is-active>span:last-child:not(.lbm-ap-pill-label){background:#dff3e5;color:#174f2d}
.lbm-ap-toolbar{order:5;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;padding:14px 18px;border:1px solid var(--lbm-border);border-radius:14px;background:#fff}
.lbm-ap-summary{font-size:13px;color:var(--lbm-muted)}
.lbm-ap-export-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.lbm-ap-export-title{font-size:12px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;color:#273246;margin-right:2px}
.lbm-ap-export-actions a,.lbm-ap-export-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid #dce2e8;border-radius:9px;background:#fff;color:#1d2b3d;font-size:12px;font-weight:850;box-shadow:0 2px 7px rgba(18,35,52,.025)}
.lbm-ap-export-actions .lbm-ap-icon{width:22px;height:22px}.lbm-ap-export-csv .lbm-ap-icon{color:#0b9a43}.lbm-ap-export-json .lbm-ap-icon{color:#7d42d8}.lbm-ap-export-zip .lbm-ap-icon{color:#f27c00}.lbm-ap-print-button .lbm-ap-icon{color:#1869cf}
.lbm-ap-export-actions a:hover,.lbm-ap-export-actions button:hover{transform:translateY(-1px);border-color:#aeb9c5;background:#fbfcfd;color:#172033}
.lbm-ap-results-region{order:6}
.lbm-ap-tree{display:grid;gap:9px}.lbm-ap-tree-category{border:1px solid var(--lbm-border);border-left:5px solid var(--lbm-primary);border-radius:11px;background:#fff;box-shadow:0 3px 12px rgba(18,35,52,.035);overflow:hidden}
.lbm-ap-tree-category:nth-child(4n+2){border-left-color:var(--lbm-blue)}.lbm-ap-tree-category:nth-child(4n+3){border-left-color:var(--lbm-purple)}.lbm-ap-tree-category:nth-child(4n+4){border-left-color:var(--lbm-orange)}
.lbm-ap-tree-category>summary{min-height:68px;padding:10px 16px;background:#fff}.lbm-ap-acervo-heading{gap:13px}.lbm-ap-acervo-icon{width:48px;height:48px;border-radius:10px;background:var(--lbm-primary-soft);color:var(--lbm-primary)}.lbm-ap-tree-category:nth-child(4n+2) .lbm-ap-acervo-icon{background:#eef5ff;color:var(--lbm-blue)}.lbm-ap-tree-category:nth-child(4n+3) .lbm-ap-acervo-icon{background:#f5effc;color:var(--lbm-purple)}.lbm-ap-tree-category:nth-child(4n+4) .lbm-ap-acervo-icon{background:#fff3e7;color:var(--lbm-orange)}
.lbm-ap-acervo-icon .lbm-ap-icon{width:25px;height:25px}.lbm-ap-acervo-heading strong{font-size:15px;letter-spacing:.01em}.lbm-ap-acervo-heading small{font-size:12px;color:#637188}.lbm-ap-acervo-toggle{display:inline-flex;align-items:center;gap:8px;font-size:0!important}.lbm-ap-acervo-toggle .lbm-ap-icon{width:20px;height:20px;font-size:initial;transition:transform .2s ease}.lbm-ap-acervo[open] .lbm-ap-acervo-toggle:after{display:none}.lbm-ap-acervo[open] .lbm-ap-acervo-toggle .lbm-ap-icon{transform:rotate(180deg)}
.lbm-ap-card-actions .lbm-ap-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px}.lbm-ap-card-actions .lbm-ap-icon{width:17px;height:17px}
.lbm-ap-more-panel .lbm-ap-pill{width:100%}
@media(max-width:1000px){.lbm-ap-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.lbm-ap-toolbar{grid-template-columns:1fr}.lbm-ap-export-actions{justify-content:flex-start}.lbm-ap-nav-row-main{grid-template-columns:1fr}.lbm-ap-nav-heading{display:flex;align-items:baseline;gap:8px}}
@media(max-width:700px){.lbm-ap-wrap{gap:14px}.lbm-ap-head{align-items:center}.lbm-ap-head-icon{width:38px;height:38px}.lbm-ap-head-icon .lbm-ap-icon{width:36px;height:36px}.lbm-ap-head h2{font-size:27px}.lbm-ap-head p{font-size:14px}.lbm-ap-open-data{grid-template-columns:auto 1fr;gap:8px 10px;padding:13px}.lbm-ap-open-data strong{white-space:normal}.lbm-ap-open-data strong:after{display:none}.lbm-ap-open-data span:last-child{grid-column:1/-1}.lbm-ap-filter{display:flex;flex-direction:column;padding:14px}.lbm-ap-filter .lbm-ap-search{width:100%;padding-bottom:14px}.lbm-ap-search-icon{left:10px;width:42px;height:42px}.lbm-ap-search-icon .lbm-ap-icon{width:24px;height:24px}.lbm-ap-searchbox input{padding-left:62px;font-size:14px}.lbm-ap-actions-filter{width:100%}.lbm-ap-actions-filter button{flex:1}.lbm-ap-nav-row{padding:13px}.lbm-ap-nav-pills{display:grid;grid-template-columns:1fr 1fr;width:100%}.lbm-ap-pill{width:100%;justify-content:flex-start;min-width:0}.lbm-ap-pill-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lbm-ap-toolbar{padding:13px}.lbm-ap-export-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.lbm-ap-export-title{grid-column:1/-1}.lbm-ap-export-actions a,.lbm-ap-export-actions button{width:100%;padding:0 10px}.lbm-ap-tree-category>summary{padding:9px 10px}.lbm-ap-acervo-icon{width:42px;height:42px}.lbm-ap-acervo-heading strong{font-size:14px}}
@media(max-width:430px){.lbm-ap-nav-pills{grid-template-columns:1fr}.lbm-ap-head{display:block}.lbm-ap-head-icon{margin:0 auto 5px}.lbm-ap-export-actions{grid-template-columns:1fr 1fr}}

/* RC1-D — lapidação Biblioteca Digital LBM */
.lbm-ap-head{display:flex;justify-content:center;text-align:center}.lbm-ap-head>div{align-items:center}.lbm-ap-head h2{color:var(--lbm-primary);margin-bottom:2px}.lbm-ap-tagline{display:block;color:var(--lbm-primary);font-size:17px;margin-bottom:5px}.lbm-ap-head p{margin-top:0}
.lbm-ap-filter{grid-template-columns:repeat(5,minmax(130px,180px)) auto;justify-content:center;align-items:end;padding:22px 28px}.lbm-ap-search-intro{grid-column:1/-1;display:flex;align-items:center;gap:14px;width:100%;padding-bottom:4px}.lbm-ap-search-intro label{display:block;font-size:19px;font-weight:850;color:var(--lbm-text)}.lbm-ap-search-intro p{margin:4px 0 0;color:#637188;font-size:13px}.lbm-ap-section-icon{display:grid;place-items:center;width:52px;height:52px;flex:0 0 auto;border-radius:50%;background:#eef9f1;color:var(--lbm-primary)}.lbm-ap-section-icon .lbm-ap-icon{width:28px;height:28px}.lbm-ap-filter .lbm-ap-search{grid-column:1/-1;border:0;padding:0}.lbm-ap-searchbox{max-width:none}.lbm-ap-actions-filter{justify-content:center}
.lbm-ap-nav-row-main{grid-template-columns:minmax(260px,330px) 1fr;align-items:center}.lbm-ap-nav-heading{display:flex;align-items:center;gap:14px}.lbm-ap-nav-heading>div{min-width:0}.lbm-ap-nav-heading strong{font-size:17px;text-transform:none;letter-spacing:0}.lbm-ap-nav-heading small{font-size:13px;line-height:1.45;max-width:250px}.lbm-ap-nav-pills{align-items:center}
.lbm-ap-pill{background:#fff;color:#1f2b3d;border-color:#d9e1e9;box-shadow:none}.lbm-ap-pill:hover,.lbm-ap-pill:focus-visible{background:#fff;color:#1f2b3d;border-color:#bfcbd7;transform:none}.lbm-ap-pill:hover .lbm-ap-pill-label,.lbm-ap-pill:focus-visible .lbm-ap-pill-label{background:transparent;color:inherit}.lbm-ap-pill.is-active{background:#eff9f1;color:var(--lbm-primary);border-color:var(--lbm-primary);box-shadow:0 0 0 1px rgba(8,112,47,.06)}.lbm-ap-pill.is-active .lbm-ap-pill-label{background:rgba(8,112,47,.08);color:var(--lbm-primary)}.lbm-ap-pill.is-active:hover{background:#eff9f1;color:var(--lbm-primary)}
.lbm-ap-toolbar{align-items:center}.lbm-ap-export-actions a:hover,.lbm-ap-export-actions button:hover{transform:none;background:#fff;color:#1d2b3d;border-color:#bfcbd7}
.lbm-ap-tree-file-main{display:flex;align-items:flex-start;gap:12px;min-width:0}.lbm-ap-file-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 auto;border-radius:9px;background:#fff4f4;color:#db3d3d}.lbm-ap-file-icon .lbm-ap-icon{width:19px;height:19px}.lbm-ap-tree-file.is-load-more-hidden{display:none}.lbm-ap-load-more-wrap{padding:10px 16px 14px;border-top:1px solid #edf1f5;text-align:center}.lbm-ap-load-more{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;min-width:250px;padding:0 18px;border:1px solid #d7e1e9;border-radius:9px;background:#fff;color:var(--lbm-primary);font-weight:850;cursor:pointer}.lbm-ap-load-more:hover,.lbm-ap-load-more:focus-visible{background:#fff;border-color:var(--lbm-primary);color:var(--lbm-primary)}.lbm-ap-load-more .lbm-ap-icon{width:18px;height:18px}
.lbm-ap-footer{display:grid;grid-template-columns:1fr 1fr auto;gap:24px;align-items:center;margin-top:6px;padding:18px 20px;border-top:1px solid #dce8df;background:linear-gradient(180deg,#fbfefc,#f1faf4);color:#415268}.lbm-ap-footer>div{display:flex;align-items:center;gap:10px}.lbm-ap-footer>div:last-child{display:grid;gap:3px;justify-items:end}.lbm-ap-footer strong{display:block;color:var(--lbm-primary)}.lbm-ap-footer small{display:block}.lbm-ap-footer-mark{color:var(--lbm-primary)}.lbm-ap-footer-mark .lbm-ap-icon{width:28px;height:28px}
#lbm-ap-results{scroll-margin-top:24px}
@media(max-width:1000px){.lbm-ap-filter{grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch}.lbm-ap-nav-row-main{grid-template-columns:1fr}.lbm-ap-nav-heading small{max-width:none}.lbm-ap-footer{grid-template-columns:1fr 1fr}.lbm-ap-footer>div:last-child{grid-column:1/-1;justify-items:start}}
@media(max-width:700px){.lbm-ap-head{display:block}.lbm-ap-tagline{font-size:15px}.lbm-ap-filter{display:flex;align-items:stretch}.lbm-ap-search-intro{align-items:flex-start}.lbm-ap-section-icon{width:44px;height:44px}.lbm-ap-nav-heading{align-items:flex-start}.lbm-ap-tree-file-main{width:100%}.lbm-ap-load-more{width:100%;min-width:0}.lbm-ap-footer{grid-template-columns:1fr}.lbm-ap-footer>div:last-child{grid-column:auto}.lbm-ap-footer>div:last-child{justify-items:start}}

/* RC1-F — Final Polish: consistência visual para acervos extensos */
.lbm-ap-nav{
  padding:0;
  overflow:hidden;
}
.lbm-ap-nav-row{
  display:grid;
  grid-template-columns:minmax(230px,300px) minmax(0,1fr);
  gap:24px;
  align-items:start;
  padding:26px 28px;
}
.lbm-ap-nav-row+.lbm-ap-nav-row{
  border-top:1px solid #edf1f4;
}
.lbm-ap-nav-heading{
  display:flex;
  align-items:flex-start;
  gap:14px;
  min-width:0;
}
.lbm-ap-nav-heading>div{
  min-width:0;
}
.lbm-ap-nav-heading strong{
  display:block;
  margin:0;
  color:var(--lbm-text);
  font-size:18px;
  line-height:1.25;
  text-transform:none;
  letter-spacing:0;
}
.lbm-ap-nav-heading small{
  display:block;
  max-width:280px;
  margin-top:5px;
  color:#64748b;
  font-size:13px;
  line-height:1.5;
}
.lbm-ap-nav-row-sub .lbm-ap-nav-heading{
  padding-top:5px;
}
.lbm-ap-nav-row-sub .lbm-ap-nav-heading strong{
  font-size:16px;
}
.lbm-ap-nav-row-sub .lbm-ap-nav-heading small{
  font-size:12.5px;
}
.lbm-ap-nav-pills{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:12px;
  align-items:stretch;
  width:100%;
  min-width:0;
}
.lbm-ap-nav-row-sub .lbm-ap-nav-pills{
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:10px;
}
.lbm-ap-pill{
  width:100%;
  min-width:0;
  min-height:54px;
  padding:9px 12px;
  justify-content:flex-start;
  gap:9px;
  border-radius:12px;
  overflow:hidden;
}
.lbm-ap-pill-label{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.lbm-ap-pill>span:last-child:not(.lbm-ap-pill-label){
  flex:0 0 auto;
  min-width:25px;
  height:25px;
  padding:0 7px;
  font-size:11px;
  font-weight:850;
  background:#f1f4f7;
  color:#526174;
}
.lbm-ap-pill.is-active{
  background:#f3fbf5;
  border-color:#5eaa73;
  color:#176233;
  box-shadow:0 0 0 1px rgba(27,126,61,.04);
}
.lbm-ap-pill.is-active .lbm-ap-pill-label{
  background:transparent;
  color:#176233;
}
.lbm-ap-pill.is-active>span:last-child:not(.lbm-ap-pill-label){
  background:#e3f4e7;
  color:#176233;
}
.lbm-ap-pill:hover,
.lbm-ap-pill:focus-visible,
.lbm-ap-pill.is-active:hover{
  background:inherit;
  color:inherit;
  border-color:#aebbc8;
  box-shadow:none;
}
.lbm-ap-pill.is-active:hover,
.lbm-ap-pill.is-active:focus-visible{
  background:#f3fbf5;
  color:#176233;
  border-color:#5eaa73;
}
.lbm-ap-pill-sub{
  min-height:48px;
  padding:8px 12px;
  font-size:12px;
  border-radius:10px;
}
.lbm-ap-more{
  min-width:0;
}
.lbm-ap-more>summary{
  min-height:54px;
  border-radius:12px;
}
.lbm-ap-nav-row-sub .lbm-ap-more>summary{
  min-height:48px;
  border-radius:10px;
}
.lbm-ap-more-panel{
  min-width:250px;
}
.lbm-ap-toolbar{
  padding:16px 20px;
  gap:22px;
  border-radius:14px;
}
.lbm-ap-summary{
  max-width:760px;
  line-height:1.65;
}
.lbm-ap-summary .lbm-ap-total{
  color:var(--lbm-text);
  font-size:15px;
}
.lbm-ap-export-actions{
  justify-content:flex-end;
}
.lbm-ap-export-title{
  margin-right:4px;
}
.lbm-ap-export-actions a,
.lbm-ap-export-actions button{
  min-width:94px;
  min-height:46px;
}
.lbm-ap-tree-category{
  border-radius:13px;
}
.lbm-ap-tree-category>summary{
  padding:13px 18px;
}
.lbm-ap-tree-file{
  padding:17px 20px;
}
.lbm-ap-tree-file-main strong{
  line-height:1.4;
}
.lbm-ap-tree-file-main small{
  line-height:1.5;
}
@media(max-width:1100px){
  .lbm-ap-nav-row{
    grid-template-columns:1fr;
    gap:16px;
  }
  .lbm-ap-nav-heading small{
    max-width:none;
  }
  .lbm-ap-toolbar{
    grid-template-columns:1fr;
  }
  .lbm-ap-export-actions{
    justify-content:flex-start;
  }
}
@media(max-width:760px){
  .lbm-ap-nav-row{
    padding:18px 16px;
  }
  .lbm-ap-nav-pills,
  .lbm-ap-nav-row-sub .lbm-ap-nav-pills{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .lbm-ap-pill,
  .lbm-ap-pill-sub{
    min-height:50px;
  }
  .lbm-ap-toolbar{
    padding:14px;
  }
  .lbm-ap-export-actions{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .lbm-ap-export-actions a,
  .lbm-ap-export-actions button{
    min-width:0;
  }
  .lbm-ap-tree-file{
    padding:15px;
  }
}
@media(max-width:430px){
  .lbm-ap-nav-pills,
  .lbm-ap-nav-row-sub .lbm-ap-nav-pills{
    grid-template-columns:1fr;
  }
}

/* v3.8.0 RC1-G — AJAX confiável, loader e escolha de visualização */
.lbm-ap-loader[hidden]{display:none!important}
.lbm-ap-loader{display:flex;align-items:center;justify-content:center;gap:12px;margin:18px 0;padding:16px 20px;border:1px solid #dbe7df;border-radius:14px;background:#f6fbf7;color:#166534;font-weight:700}
.lbm-ap-loader-spinner{width:22px;height:22px;border:3px solid #cfe8d5;border-top-color:#0b7a35;border-radius:50%;animation:lbm-ap-spin .72s linear infinite}
.lbm-ap-wrap.is-searching .lbm-ap-results-region{opacity:.42;pointer-events:none;transition:opacity .18s ease}
.lbm-ap-wrap.is-searching .lbm-ap-searchbox:after{display:none}
.lbm-ap-view-switch{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.lbm-ap-view-switch>span{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#64748b;margin-right:2px}
.lbm-ap-view-switch button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 12px;border:1px solid #d7e0ea;border-radius:11px;background:#fff;color:#334155;font:inherit;font-size:13px;font-weight:750;cursor:pointer;box-shadow:none}
.lbm-ap-view-switch button .lbm-ap-icon{width:18px;height:18px}
.lbm-ap-view-switch button:hover{background:#fff;border-color:#b9c7d6;color:#1e293b}
.lbm-ap-view-switch button.is-active{background:#eef8f1;border-color:#69ad7d;color:#166534}
.lbm-ap-view-switch button:focus-visible{outline:3px solid rgba(21,128,61,.22);outline-offset:2px}
.lbm-ap-tree-category[open]>summary .lbm-ap-acervo-toggle .lbm-ap-icon{transform:rotate(180deg)}
@media (max-width:1100px){.lbm-ap-toolbar{align-items:flex-start}.lbm-ap-view-switch{order:3;width:100%;justify-content:flex-start}}
@media (max-width:680px){.lbm-ap-view-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.lbm-ap-view-switch>span{grid-column:1/-1}.lbm-ap-view-switch button{width:100%;min-height:46px}.lbm-ap-loader{position:sticky;top:10px;z-index:5}}
@media (prefers-reduced-motion:reduce){.lbm-ap-loader-spinner{animation-duration:1.5s}.lbm-ap-wrap.is-searching .lbm-ap-results-region{transition:none}}

/* v3.8.0 RC1-J — paleta principal configurável */
.lbm-ap-wrap{--lbm-primary-soft-strong:#dff3e5;--lbm-primary-border:#69ad7d;--lbm-primary-contrast:#fff;--lbm-primary-rgb:8,112,47}
.lbm-ap-head h2,.lbm-ap-tagline,.lbm-ap-head-icon,.lbm-ap-footer strong,.lbm-ap-footer-mark{color:var(--lbm-primary-dark)}
.lbm-ap-open-data{border-color:var(--lbm-primary-border);background:linear-gradient(90deg,var(--lbm-primary-soft),#fff);color:var(--lbm-primary-dark)}
.lbm-ap-open-data strong{color:var(--lbm-primary-dark)}
.lbm-ap-open-data strong:after{background:var(--lbm-primary-border)}
.lbm-ap-section-icon,.lbm-ap-document-icon,.lbm-ap-empty:before{background:var(--lbm-primary-soft);color:var(--lbm-primary-dark)}
.lbm-ap-search-icon,.lbm-ap-actions-filter button,.lbm-ap-btn-view{background:var(--lbm-primary);color:var(--lbm-primary-contrast)}
.lbm-ap-field input:focus,.lbm-ap-field select:focus,.lbm-ap-searchbox input:focus{border-color:var(--lbm-primary);outline-color:rgba(var(--lbm-primary-rgb),.18);box-shadow:0 0 0 3px rgba(var(--lbm-primary-rgb),.12)}
.lbm-ap-actions-filter a,.lbm-ap-type,.lbm-ap-tree-type h3,.lbm-ap-document-group>summary>span,.lbm-ap-process-summary-meta{color:var(--lbm-primary-dark)}
.lbm-ap-badge,.lbm-ap-badge-category{background:var(--lbm-primary-soft);color:var(--lbm-primary-dark)}
.lbm-ap-pill>.lbm-ap-icon,.lbm-ap-more summary,.lbm-ap-more summary span{color:var(--lbm-primary-dark)}
.lbm-ap-more summary span{background:var(--lbm-primary-soft-strong)}
.lbm-ap-more summary:hover,.lbm-ap-more[open] summary{background:var(--lbm-primary-soft);border-color:var(--lbm-primary-border);color:var(--lbm-primary-dark)}
.lbm-ap-pill.is-active,.lbm-ap-pill.is-active:hover,.lbm-ap-pill.is-active:focus-visible{background:var(--lbm-primary-soft);border-color:var(--lbm-primary);color:var(--lbm-primary-dark);box-shadow:0 0 0 1px rgba(var(--lbm-primary-rgb),.06)}
.lbm-ap-pill.is-active .lbm-ap-pill-label{color:var(--lbm-primary-dark)}
.lbm-ap-pill.is-active>span:last-child:not(.lbm-ap-pill-label){background:var(--lbm-primary-soft-strong);color:var(--lbm-primary-dark)}
.lbm-ap-pagination a.is-current,.lbm-ap-pagination a:hover,.lbm-ap-pagination button.is-current,.lbm-ap-pagination button:hover{background:var(--lbm-primary);border-color:var(--lbm-primary);color:var(--lbm-primary-contrast)}
.lbm-ap-group-category>header .dashicons{color:var(--lbm-primary-dark)}
.lbm-ap-process-group{box-shadow:0 8px 24px rgba(var(--lbm-primary-rgb),.07)}
.lbm-ap-process-icon{background:var(--lbm-primary-soft)}
.lbm-ap-tree-category,.lbm-ap-tree-category:nth-child(4n+2),.lbm-ap-tree-category:nth-child(4n+3),.lbm-ap-tree-category:nth-child(4n+4){border-left-color:var(--lbm-primary)}
.lbm-ap-acervo-icon,.lbm-ap-tree-category:nth-child(4n+2) .lbm-ap-acervo-icon,.lbm-ap-tree-category:nth-child(4n+3) .lbm-ap-acervo-icon,.lbm-ap-tree-category:nth-child(4n+4) .lbm-ap-acervo-icon{background:var(--lbm-primary-soft);color:var(--lbm-primary-dark)}
.lbm-ap-acervo-toggle,.lbm-ap-load-more{color:var(--lbm-primary-dark)!important}
.lbm-ap-load-more:hover,.lbm-ap-load-more:focus-visible{border-color:var(--lbm-primary);color:var(--lbm-primary-dark)}
.lbm-ap-footer{border-top-color:var(--lbm-primary-border);background:linear-gradient(180deg,#fff,var(--lbm-primary-soft))}
.lbm-ap-loader{border-color:var(--lbm-primary-border);background:var(--lbm-primary-soft);color:var(--lbm-primary-dark)}
.lbm-ap-loader-spinner{border-color:var(--lbm-primary-soft-strong);border-top-color:var(--lbm-primary)}
.lbm-ap-view-switch button.is-active{background:var(--lbm-primary-soft);border-color:var(--lbm-primary-border);color:var(--lbm-primary-dark)}
.lbm-ap-view-switch button:focus-visible{outline-color:rgba(var(--lbm-primary-rgb),.22)}

/* v3.8.0 RC1-L — nomes completos dos acervos documentais */
.lbm-ap-nav-row-main .lbm-ap-nav-pills{
  grid-template-columns:repeat(auto-fit,minmax(270px,1fr));
  align-items:stretch;
}
.lbm-ap-nav-row-main .lbm-ap-pill{
  min-height:64px;
  height:auto;
  align-items:center;
  overflow:visible;
}
.lbm-ap-nav-row-main .lbm-ap-pill>.lbm-ap-pill-label{
  display:block;
  flex:1 1 auto;
  width:auto;
  min-width:0;
  height:auto;
  min-height:0;
  padding:0;
  border-radius:0;
  background:transparent;
  color:inherit;
  font-size:13px;
  line-height:1.3;
  text-align:left;
  white-space:normal;
  overflow:visible;
  overflow-wrap:anywhere;
  text-overflow:clip;
  justify-content:flex-start;
}
@media(max-width:760px){
  .lbm-ap-nav-row-main .lbm-ap-nav-pills{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:520px){
  .lbm-ap-nav-row-main .lbm-ap-nav-pills{
    grid-template-columns:1fr;
  }
}

/* v3.8.0 RC1-M — tipos documentais recolhíveis dentro dos acervos */
.lbm-ap-tree .lbm-ap-tree-type{
  padding:0;
  border-top:1px solid var(--lbm-border);
  background:#fff;
}
.lbm-ap-tree .lbm-ap-tree-type:first-child{
  border-top:0;
}
.lbm-ap-tree-type>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:68px;
  padding:12px 20px;
  list-style:none;
  cursor:pointer;
  color:var(--lbm-text);
  background:#fbfcfd;
  transition:background .18s ease;
}
.lbm-ap-tree-type>summary::-webkit-details-marker{
  display:none;
}
.lbm-ap-tree-type>summary:hover,
.lbm-ap-tree-type>summary:focus-visible,
.lbm-ap-tree-type[open]>summary{
  background:var(--lbm-primary-soft);
}
.lbm-ap-subacervo-heading{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.lbm-ap-subacervo-heading>span:last-child{
  min-width:0;
}
.lbm-ap-subacervo-heading strong{
  display:block;
  color:var(--lbm-text);
  font-size:14px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.lbm-ap-subacervo-heading small{
  display:block;
  margin-top:3px;
  color:#68778b;
  font-size:12px;
  line-height:1.3;
}
.lbm-ap-subacervo-icon{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  flex:0 0 auto;
  border-radius:10px;
  background:#fff;
  color:var(--lbm-primary-dark);
  border:1px solid var(--lbm-primary-border);
}
.lbm-ap-subacervo-icon .lbm-ap-icon{
  width:21px;
  height:21px;
}
.lbm-ap-subacervo-toggle{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  color:var(--lbm-primary-dark);
  font-size:12px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.035em;
}
.lbm-ap-subacervo-toggle .lbm-ap-icon{
  width:19px;
  height:19px;
  transition:transform .18s ease;
}
.lbm-ap-subacervo[open] .lbm-ap-subacervo-toggle .lbm-ap-icon{
  transform:rotate(180deg);
}
.lbm-ap-subacervo[open] .lbm-ap-subacervo-toggle>span{
  font-size:0;
}
.lbm-ap-subacervo[open] .lbm-ap-subacervo-toggle>span:after{
  content:'Recolher';
  font-size:12px;
}
.lbm-ap-subacervo-content{
  padding:0 18px 4px;
  border-top:1px solid #e8edf2;
  background:#fff;
}
.lbm-ap-direct-documents{
  padding:0 18px 4px;
  border-top:0;
  background:#fff;
}
@media(max-width:700px){
  .lbm-ap-tree-type>summary{
    min-height:62px;
    padding:11px 14px;
  }
  .lbm-ap-subacervo-content,
  .lbm-ap-direct-documents{
    padding:0 14px 3px;
  }
  .lbm-ap-subacervo-toggle>span{
    display:none;
  }
}

/* v3.8.0 RC1-O — cabeçalho compacto, responsivo e com identidade LBM discreta */
.lbm-ap-wrap .lbm-ap-hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(220px,.65fr);
  align-items:center;
  min-height:250px;
  margin:0 0 18px;
  padding:28px clamp(24px,4vw,52px);
  overflow:hidden;
  border:1px solid var(--lbm-primary-border);
  border-radius:22px;
  background:radial-gradient(circle at 88% 18%,rgba(var(--lbm-primary-rgb),.18),transparent 34%),linear-gradient(125deg,#fff 0%,var(--lbm-primary-soft) 100%);
  box-shadow:0 18px 46px rgba(15,23,42,.07);
}
.lbm-ap-hero:after{
  content:"";
  position:absolute;
  top:-80%;
  bottom:-80%;
  left:-28%;
  width:24%;
  pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.62),transparent);
  transform:rotate(16deg);
  animation:lbm-ap-hero-shine 8s ease-in-out infinite;
}
.lbm-ap-hero-copy{position:relative;z-index:2;min-width:0}
.lbm-ap-hero-kicker{display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:6px 12px;border-radius:999px;background:var(--lbm-primary);color:var(--lbm-primary-contrast);font-size:12px;font-weight:850;letter-spacing:.045em;text-transform:uppercase}
.lbm-ap-hero-kicker .lbm-ap-icon{width:17px;height:17px}
.lbm-ap-hero h2{max-width:720px;margin:17px 0 8px;color:var(--lbm-primary-dark);font-size:clamp(28px,4.2vw,50px);font-weight:760;letter-spacing:-.04em;line-height:1.02}
.lbm-ap-hero p{max-width:650px;margin:0;color:#526177;font-size:clamp(14px,1.5vw,17px);line-height:1.5}
.lbm-ap-hero-brand{display:block;margin-top:18px;color:#64748b;font-size:11px;letter-spacing:.015em}
.lbm-ap-hero-brand strong{color:var(--lbm-primary-dark);font-weight:900}
.lbm-ap-hero-visual{position:relative;z-index:1;display:grid;place-items:center;min-width:0}
.lbm-ap-hero-visual img{display:block;width:min(100%,360px);height:auto;filter:drop-shadow(0 20px 18px rgba(15,40,86,.18));animation:lbm-ap-hero-float 5.5s ease-in-out infinite}
@keyframes lbm-ap-hero-float{0%,100%{transform:translate3d(0,0,0) rotate(-.5deg)}50%{transform:translate3d(0,-7px,0) rotate(.5deg)}}
@keyframes lbm-ap-hero-shine{0%,62%{left:-28%;opacity:0}72%{opacity:.85}88%,100%{left:118%;opacity:0}}
@media(max-width:760px){
  .lbm-ap-wrap .lbm-ap-hero{grid-template-columns:minmax(0,1fr) 132px;min-height:190px;padding:22px 18px;border-radius:18px}
  .lbm-ap-hero h2{margin-top:13px;font-size:clamp(25px,8vw,34px)}
  .lbm-ap-hero p{font-size:14px}
  .lbm-ap-hero-brand{margin-top:13px}
  .lbm-ap-hero-visual{align-self:end;margin-right:-28px}
  .lbm-ap-hero-visual img{width:190px}
}
@media(max-width:520px){
  .lbm-ap-wrap .lbm-ap-hero{grid-template-columns:1fr;padding:20px 18px 0;text-align:left}
  .lbm-ap-hero-visual{justify-self:end;width:46%;min-width:150px;margin:-18px -24px -13px 0;opacity:.92}
  .lbm-ap-hero-visual img{width:100%}
}
@media(prefers-reduced-motion:reduce){.lbm-ap-hero:after,.lbm-ap-hero-visual img{animation:none}}

/* v3.8.0 RC1-P — busca em primeiro plano e refinamento do banner mobile */
.lbm-ap-hero{order:1}
.lbm-ap-filter{order:2;margin-top:0}
.lbm-ap-open-data{order:3;margin-top:0}
.lbm-ap-cats,.lbm-ap-subcats{order:4}
.lbm-ap-loader{order:6}
@media(max-width:520px){
  .lbm-ap-wrap .lbm-ap-hero{padding:20px 18px 8px}
  .lbm-ap-hero-copy{text-align:left}
  .lbm-ap-hero h2{font-size:clamp(27px,9vw,35px)}
  .lbm-ap-hero-visual{justify-self:center;width:min(78%,260px);min-width:210px;margin:6px auto -10px;opacity:1}
  .lbm-ap-hero-visual img{width:100%}
  .lbm-ap-filter{width:100%;padding:16px;overflow:hidden}
  .lbm-ap-search-intro{width:100%;gap:12px;align-items:center}
  .lbm-ap-search-intro>div{min-width:0}
  .lbm-ap-search-intro label{font-size:18px;line-height:1.2}
  .lbm-ap-search-intro p{font-size:13px;line-height:1.45}
  .lbm-ap-filter .lbm-ap-search,.lbm-ap-searchbox,.lbm-ap-searchbox input{width:100%;min-width:0;max-width:100%}
  .lbm-ap-searchbox input{padding-right:12px;text-overflow:ellipsis}
  .lbm-ap-filter select{width:100%;max-width:100%}
  .lbm-ap-actions-filter{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .lbm-ap-actions-filter button,.lbm-ap-actions-filter a{display:flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:0 12px}
  .lbm-ap-open-data{width:100%;padding:14px}
}

/* v3.8.0 estável — resumo compacto com explorador de categorias sob demanda */
.lbm-ap-explorer{
  padding:0;
  border-color:var(--lbm-primary-border);
  border-radius:16px;
  background:#fff;
  overflow:hidden;
}
.lbm-ap-explorer-summary{
  display:flex;
  align-items:center;
  gap:14px;
  padding:15px 16px;
}
.lbm-ap-explorer-context{
  display:flex;
  align-items:center;
  gap:12px;
  flex:1 1 auto;
  min-width:0;
}
.lbm-ap-explorer-icon{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  flex:0 0 auto;
  border-radius:11px;
  background:var(--lbm-primary-soft);
  color:var(--lbm-primary-dark);
}
.lbm-ap-explorer-icon .lbm-ap-icon{width:22px;height:22px}
.lbm-ap-explorer-context>div{min-width:0}
.lbm-ap-explorer-context small{
  display:block;
  margin-bottom:2px;
  color:#718096;
  font-size:10px;
  font-weight:850;
  letter-spacing:.055em;
  text-transform:uppercase;
}
.lbm-ap-explorer-context strong{
  display:block;
  color:var(--lbm-text);
  font-size:14px;
  line-height:1.35;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.lbm-ap-explorer-count{
  flex:0 0 auto;
  padding:7px 10px;
  border-radius:999px;
  background:var(--lbm-primary-soft);
  color:var(--lbm-primary-dark);
  font-size:11px;
  font-weight:850;
  white-space:nowrap;
}
.lbm-ap-explorer-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  flex:0 0 auto;
  padding:0 14px;
  border:1px solid var(--lbm-primary);
  border-radius:10px;
  background:#fff;
  color:var(--lbm-primary-dark);
  font:inherit;
  font-size:12px;
  font-weight:850;
  cursor:pointer;
}
.lbm-ap-explorer-toggle:hover,.lbm-ap-explorer-toggle:focus-visible,.lbm-ap-explorer-toggle.is-open{
  border-color:var(--lbm-primary);
  background:var(--lbm-primary-soft);
  color:var(--lbm-primary-dark);
}
.lbm-ap-explorer-toggle span{transition:transform .2s ease}
.lbm-ap-explorer-toggle.is-open span{transform:rotate(90deg)}
.lbm-ap-explorer-suggestions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  padding:0 16px 14px;
}
.lbm-ap-explorer-suggestion{
  display:block;
  min-width:0;
  padding:8px 10px;
  border-left:3px solid var(--lbm-primary-border);
  border-radius:0 8px 8px 0;
  background:#f7faf8;
  color:var(--lbm-text);
  text-decoration:none!important;
}
.lbm-ap-explorer-suggestion strong{
  display:block;
  color:inherit;
  font-size:11px;
  line-height:1.3;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.lbm-ap-explorer-suggestion small{display:block;margin-top:2px;color:#718096;font-size:10px}
.lbm-ap-explorer-suggestion:hover,.lbm-ap-explorer-suggestion:focus-visible,.lbm-ap-explorer-suggestion.is-active{
  border-left-color:var(--lbm-primary);
  background:var(--lbm-primary-soft);
  color:var(--lbm-primary-dark);
}
.lbm-ap-explorer-panel{
  max-height:min(620px,68vh);
  overflow:auto;
  border-top:1px solid var(--lbm-border);
  background:#fbfcfd;
}
.lbm-ap-explorer-panel[hidden]{display:none!important}
.lbm-ap-explorer-group{
  display:grid;
  grid-template-columns:minmax(210px,270px) minmax(0,1fr);
  gap:20px;
  padding:20px;
}
.lbm-ap-explorer-group+.lbm-ap-explorer-group{border-top:1px solid var(--lbm-border)}
.lbm-ap-explorer-heading{display:flex;align-items:flex-start;gap:12px;min-width:0}
.lbm-ap-explorer-heading>div{min-width:0}
.lbm-ap-explorer-heading strong{display:block;color:var(--lbm-text);font-size:16px;line-height:1.3}
.lbm-ap-explorer-heading small{display:block;margin-top:4px;color:#64748b;font-size:12px;line-height:1.45}
.lbm-ap-explorer-options{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:9px;
  min-width:0;
}
.lbm-ap-explorer-type-options{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.lbm-ap-explorer-options .lbm-ap-pill{
  width:100%;
  min-width:0;
  min-height:46px;
  height:auto;
  padding:8px 10px;
  border-radius:10px;
  overflow:visible;
}
.lbm-ap-explorer-options .lbm-ap-pill-label{
  flex:1 1 auto;
  min-width:0;
  height:auto;
  padding:0;
  background:transparent;
  white-space:normal;
  overflow-wrap:anywhere;
}
@media(max-width:800px){
  .lbm-ap-explorer-suggestions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .lbm-ap-explorer-group{grid-template-columns:1fr}
}
@media(max-width:560px){
  .lbm-ap-explorer-summary{align-items:stretch;gap:9px;padding:12px}
  .lbm-ap-explorer-icon{width:38px;height:38px}
  .lbm-ap-explorer-context strong{font-size:12px}
  .lbm-ap-explorer-count{display:none}
  .lbm-ap-explorer-toggle{width:44px;min-height:44px;padding:0;font-size:0}
  .lbm-ap-explorer-toggle:before{content:'☰';font-size:17px}
  .lbm-ap-explorer-toggle span{display:none}
  .lbm-ap-explorer-suggestions{display:flex;gap:8px;padding:0 12px 12px;overflow-x:auto;scrollbar-width:none}
  .lbm-ap-explorer-suggestions::-webkit-scrollbar{display:none}
  .lbm-ap-explorer-suggestion{flex:0 0 145px}
  .lbm-ap-explorer-panel{max-height:72vh}
  .lbm-ap-explorer-group{gap:14px;padding:16px 12px}
  .lbm-ap-explorer-options,.lbm-ap-explorer-type-options{grid-template-columns:1fr 1fr;gap:8px}
  .lbm-ap-explorer-options .lbm-ap-pill{min-height:44px;font-size:11px}
}
@media(max-width:380px){
  .lbm-ap-explorer-options,.lbm-ap-explorer-type-options{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.lbm-ap-explorer-toggle span{transition:none}}

/* v3.9.0 — interface mais compacta, layout alternativo e paginação em janelas de 10 */
.lbm-ap-wrap{gap:12px}
.lbm-ap-filter{padding:16px 20px;gap:10px 14px}
.lbm-ap-filter .lbm-ap-search-intro{gap:11px}
.lbm-ap-filter .lbm-ap-section-icon{width:44px;height:44px}
.lbm-ap-toolbar{padding:12px 16px;gap:14px}
.lbm-ap-explorer-summary{padding:11px 14px}
.lbm-ap-explorer-suggestions{padding:0 14px 11px}
.lbm-ap-open-data{order:8;margin-top:0;padding:11px 16px}
.lbm-ap-pagination{align-items:center;gap:6px;margin-top:16px}
.lbm-ap-pagination a,.lbm-ap-pagination button{min-width:38px;height:38px}
.lbm-ap-pagination .lbm-ap-page-control{width:auto;padding:0 13px;gap:6px}
.lbm-ap-no-hero-image .lbm-ap-hero{grid-template-columns:1fr;min-height:0}
.lbm-ap-no-hero-image .lbm-ap-hero-copy{max-width:920px}

.lbm-ap-compact-menu{display:flex;flex-wrap:wrap;gap:8px;order:4;padding:10px;border:1px solid var(--lbm-border);border-radius:12px;background:#fff}
.lbm-ap-compact-menu button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 13px;border:1px solid var(--lbm-border);border-radius:9px;background:#fff;color:var(--lbm-text);font:inherit;font-size:12px;font-weight:850;cursor:pointer}
.lbm-ap-compact-menu button:hover,.lbm-ap-compact-menu button:focus-visible,.lbm-ap-compact-menu button.is-active{border-color:var(--lbm-primary);background:var(--lbm-primary-soft);color:var(--lbm-primary-dark)}
.lbm-ap-compact-menu .lbm-ap-icon{width:18px;height:18px}

.lbm-ap-general-compact .lbm-ap-hero{display:none}
.lbm-ap-general-compact .lbm-ap-filter{order:1;padding:12px}
.lbm-ap-general-compact .lbm-ap-search-intro{display:none}
.lbm-ap-general-compact .lbm-ap-filter .lbm-ap-search{grid-column:1/-1;padding:0;border:0}
.lbm-ap-general-compact .lbm-ap-searchbox input{min-height:50px}
.lbm-ap-general-compact .lbm-ap-filter>.lbm-ap-field:not(.lbm-ap-search),
.lbm-ap-general-compact .lbm-ap-filter>.lbm-ap-actions-filter{display:none}
.lbm-ap-general-compact.is-compact-filters-open .lbm-ap-filter>.lbm-ap-field:not(.lbm-ap-search){display:block}
.lbm-ap-general-compact.is-compact-filters-open .lbm-ap-filter>.lbm-ap-actions-filter{display:flex}
.lbm-ap-general-compact .lbm-ap-loader{order:2}
.lbm-ap-general-compact .lbm-ap-results-region{order:3}
.lbm-ap-general-compact .lbm-ap-compact-menu{order:4}
.lbm-ap-general-compact .lbm-ap-cats,
.lbm-ap-general-compact .lbm-ap-subcats,
.lbm-ap-general-compact .lbm-ap-explorer{display:none;order:5}
.lbm-ap-general-compact.is-compact-categories-open .lbm-ap-cats,
.lbm-ap-general-compact.is-compact-categories-open .lbm-ap-subcats{display:flex}
.lbm-ap-general-compact.is-compact-categories-open .lbm-ap-explorer{display:block}
.lbm-ap-general-compact .lbm-ap-toolbar{display:none;order:6}
.lbm-ap-general-compact.is-compact-actions-open .lbm-ap-toolbar{display:grid}
.lbm-ap-general-compact .lbm-ap-open-data{order:7}

@media(max-width:700px){
  .lbm-ap-wrap{gap:10px}
  .lbm-ap-pagination{gap:4px}
  .lbm-ap-pagination a,.lbm-ap-pagination button{min-width:34px;height:36px;border-radius:8px;font-size:12px}
  .lbm-ap-pagination .lbm-ap-page-control{padding:0 10px}
  .lbm-ap-pagination .lbm-ap-page-control span{display:none}
  .lbm-ap-compact-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:8px}
  .lbm-ap-compact-menu button{min-width:0;padding:7px 5px;line-height:1.25}
}
@media(max-width:430px){
  .lbm-ap-pagination{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}
  .lbm-ap-pagination a,.lbm-ap-pagination button{flex:0 0 auto}
  .lbm-ap-compact-menu{grid-template-columns:1fr}
}

/* v3.9.1 — barra de utilidades unificada e menu integrado à busca */
.lbm-ap-toolbar{
  grid-template-columns:minmax(280px,1fr) auto auto;
  gap:10px 14px;
  margin:0;
  padding:11px 13px;
  border-color:var(--lbm-primary-border);
  border-radius:16px;
  box-shadow:0 7px 22px rgba(15,23,42,.045);
}
.lbm-ap-summary{
  order:1;
  min-width:0;
  max-width:none;
  padding:5px 10px;
  border-left:3px solid var(--lbm-primary-border);
  line-height:1.5;
}
.lbm-ap-export-actions{order:2;flex-wrap:nowrap;gap:6px;justify-content:flex-start}
.lbm-ap-view-switch{order:3;flex-wrap:nowrap;gap:6px;justify-content:flex-end}
.lbm-ap-export-actions a,.lbm-ap-export-actions button{min-width:68px;min-height:40px;padding:0 10px}
.lbm-ap-view-switch button{min-height:40px;padding:7px 10px}
.lbm-ap-export-title,.lbm-ap-view-switch>span{margin-right:3px}

.lbm-ap-filter>.lbm-ap-compact-menu{
  grid-column:1/-1;
  width:100%;
  margin:2px 0 0;
  padding:10px 0 0;
  border:0;
  border-top:1px solid var(--lbm-border);
  border-radius:0;
  background:transparent;
}
.lbm-ap-general-compact .lbm-ap-compact-menu{order:initial}
.lbm-ap-general-compact .lbm-ap-cats,
.lbm-ap-general-compact .lbm-ap-subcats,
.lbm-ap-general-compact .lbm-ap-explorer{order:2}
.lbm-ap-general-compact .lbm-ap-toolbar{order:2}
.lbm-ap-general-compact .lbm-ap-loader{order:2}
.lbm-ap-general-compact .lbm-ap-results-region{order:3}

@media(max-width:1450px){
  .lbm-ap-toolbar{grid-template-columns:minmax(0,1fr) auto}
  .lbm-ap-summary{grid-column:1/-1}
  .lbm-ap-export-actions{grid-column:1}
  .lbm-ap-view-switch{grid-column:2;width:auto;justify-content:flex-end}
}
@media(max-width:1000px){
  .lbm-ap-toolbar{grid-template-columns:1fr}
  .lbm-ap-summary,.lbm-ap-export-actions,.lbm-ap-view-switch{grid-column:1;width:100%;justify-content:flex-start}
  .lbm-ap-export-actions,.lbm-ap-view-switch{flex-wrap:wrap}
}
@media(max-width:700px){
  .lbm-ap-toolbar{padding:11px}
  .lbm-ap-summary{padding:4px 8px}
  .lbm-ap-filter>.lbm-ap-compact-menu{display:grid;padding-top:9px}
}

/* v3.9.2 — paginação AJAX isolada com retorno ao cabeçalho */
.lbm-ap-pagination-loader{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:min(100%,440px);
  min-height:48px;
  margin:12px auto 0;
  padding:10px 16px;
  border:1px solid var(--lbm-primary-border);
  border-radius:12px;
  background:var(--lbm-primary-soft);
  color:var(--lbm-primary-dark);
  font-size:13px;
  font-weight:800;
  box-shadow:0 8px 22px rgba(var(--lbm-primary-rgb),.08);
}
.lbm-ap-pagination-loader .lbm-ap-loader-spinner{width:20px;height:20px;flex:0 0 auto}
.lbm-ap-wrap.is-pagination-loading>.lbm-ap-loader{display:none!important}
.lbm-ap-wrap.is-pagination-loading .lbm-ap-results-region{opacity:1}
.lbm-ap-wrap.is-pagination-loading .lbm-ap-results-region>*:not(.lbm-ap-pagination-loader){opacity:.38;transition:opacity .18s ease}
@media(max-width:520px){
  .lbm-ap-pagination-loader{width:100%;font-size:12px}
}

/* v3.9.4 — títulos completos e estados consistentes no explorador */
.lbm-ap-explorer-options [data-lbm-category-pill="1"]{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  column-gap:10px;
  min-height:64px;
  overflow:hidden;
}
.lbm-ap-explorer-options [data-lbm-category-pill="1"]>.lbm-ap-icon{
  grid-column:1;
  width:22px;
  height:22px;
  flex:none;
  color:var(--lbm-primary-dark);
}
.lbm-ap-explorer-options [data-lbm-category-pill="1"]>.lbm-ap-pill-label{
  display:block;
  grid-column:2;
  width:100%;
  min-width:0;
  height:auto;
  padding:0;
  border-radius:0;
  background:transparent;
  color:inherit;
  font-size:12px;
  line-height:1.35;
  text-align:left;
  white-space:normal;
  overflow:visible;
  overflow-wrap:anywhere;
  word-break:normal;
  text-overflow:clip;
}
.lbm-ap-explorer-options [data-lbm-category-pill="1"]>span:last-child:not(.lbm-ap-pill-label){
  grid-column:3;
  align-self:center;
}
.lbm-ap-explorer-options [data-lbm-category-pill="1"].is-active>.lbm-ap-icon,
.lbm-ap-explorer-options [data-lbm-category-pill="1"].is-active:hover>.lbm-ap-icon,
.lbm-ap-explorer-options [data-lbm-category-pill="1"].is-active:focus-visible>.lbm-ap-icon{
  color:var(--lbm-primary-dark);
}
.lbm-ap-explorer-type-options .lbm-ap-pill{
  min-height:58px;
  height:auto;
  line-height:1.35;
  white-space:normal;
  overflow-wrap:anywhere;
}

@media(max-width:800px){
  .lbm-ap-explorer-options [data-lbm-category-pill="1"]{min-height:60px}
}
@media(max-width:560px){
  .lbm-ap-explorer-options [data-lbm-category-pill="1"]{min-height:58px;padding:9px}
  .lbm-ap-explorer-options [data-lbm-category-pill="1"]>.lbm-ap-pill-label{font-size:11px}
  .lbm-ap-explorer-options [data-lbm-category-pill="1"]>.lbm-ap-icon{width:20px;height:20px}
  .lbm-ap-explorer-type-options .lbm-ap-pill{min-height:52px}
}
@media(max-width:480px){
  .lbm-ap-explorer-options,.lbm-ap-explorer-type-options{grid-template-columns:1fr}
  .lbm-ap-explorer-options [data-lbm-category-pill="1"]>.lbm-ap-pill-label{font-size:12px}
}
