#bmc-document-search{background:#fff;border:1px solid #d6dfe3;border-radius:14px;padding:22px;margin:24px auto;color:#243b48;box-sizing:border-box}#bmc-document-search *{box-sizing:border-box}#bmc-document-search h2{font-size:1.3rem;margin:0 0 6px}#bmc-document-search .bds-intro{font-size:.92rem;margin:0 0 16px;color:#566976}#bmc-document-search form{display:grid;grid-template-columns:2fr 1fr 1fr 1fr auto auto;gap:10px;align-items:end}#bmc-document-search label{display:flex;flex-direction:column;gap:6px;font-size:.82rem;font-weight:600;min-width:0}#bmc-document-search input,#bmc-document-search select{font:inherit;font-size:16px;min-width:0;width:100%;height:44px;border:1px solid #b9c8d1;border-radius:7px;padding:8px;background:#fff;color:#203745}#bmc-document-search button,#bmc-document-search .bds-actions a{font:inherit;font-size:.87rem;border:1px solid #b9c8d1;border-radius:7px;min-height:44px;padding:10px 13px;cursor:pointer;background:#f5f8fa;color:#15394b;text-decoration:none}#bmc-document-search button[type=submit]{background:#15394b;color:#fff;border-color:#15394b}#bmc-document-search button:disabled{opacity:.5;cursor:wait}#bmc-document-search [data-status]{font-size:.86rem;margin:14px 0 0;color:#546774}#bmc-document-search [data-admin]{font-size:.8rem;text-align:right;margin-top:10px}#bmc-document-search .bds-result{padding:18px 0;border-top:1px solid #dbe3e8;margin-top:16px}#bmc-document-search h3{font-size:1rem;margin:0 0 8px;overflow-wrap:anywhere}#bmc-document-search .bds-result p{font-size:.88rem;line-height:1.5;margin:5px 0;overflow-wrap:anywhere}#bmc-document-search .bds-meta{color:#576c78}#bmc-document-search .bds-match{font-size:.75rem;color:#436570}#bmc-document-search .bds-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}#bmc-document-search dialog{width:min(1000px,94vw);max-height:94vh;padding:20px;border:1px solid #bac9d2;border-radius:12px;color:#243b48}#bmc-document-search dialog::backdrop{background:#14273399}#bmc-document-search dialog iframe{width:100%;height:65vh;border:1px solid #d6dfe3;margin-top:12px}#bmc-document-search [hidden]{display:none!important}#bmc-document-search dialog>button{float:right}#bmc-document-search dialog p{font-size:.85rem;margin:12px 0}#bmc-document-search :focus-visible{outline:3px solid #648b9e;outline-offset:3px}@media(max-width:1050px){#bmc-document-search form{grid-template-columns:repeat(3,minmax(0,1fr))}#bmc-document-search label:first-child{grid-column:span 3}}@media(max-width:600px){#bmc-document-search{padding:16px;margin:16px auto}#bmc-document-search form{grid-template-columns:repeat(2,minmax(0,1fr))}#bmc-document-search label:first-child{grid-column:span 2}#bmc-document-search label:nth-child(4){grid-column:span 2}}
/* Compact document finder. Scoped to this panel only. */
#bmc-document-search{padding:18px 22px;margin:20px auto;border-radius:12px;box-shadow:0 2px 7px #17394b06}
#bmc-document-search h2{font-size:1.15rem;letter-spacing:-.02em;margin-bottom:4px}
#bmc-document-search .bds-intro{font-size:.83rem;margin-bottom:14px}
#bmc-document-search form{grid-template-columns:minmax(240px,2fr) repeat(3,minmax(120px,1fr)) auto auto;gap:8px}
#bmc-document-search label{font-size:.76rem;gap:5px}
#bmc-document-search input,#bmc-document-search select{height:42px;font-size:.87rem}
#bmc-document-search input[type=search]{padding-left:12px;background:#f8fafb}
#bmc-document-search button,#bmc-document-search .bds-actions a{font-size:.8rem;min-height:42px;padding:9px 12px}
#bmc-document-search [data-status]{font-size:.78rem;margin:12px 0;color:#657885}
#bmc-document-search .bds-result{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 0;margin:0;border-top:1px solid #e4eaee}
#bmc-document-search .bds-file-icon{display:flex;align-items:center;justify-content:center;width:34px;height:40px;background:#eef3f6;border:1px solid #dce6eb;border-radius:6px;color:#456474;font-size:.6rem;font-weight:700;letter-spacing:.02em}
#bmc-document-search .bds-result-body{min-width:0}
#bmc-document-search .bds-result-heading{display:flex;flex-wrap:wrap;align-items:center;gap:5px 9px}
#bmc-document-search .bds-result h3{font-size:.9rem;line-height:1.4;margin:0;font-weight:650}
#bmc-document-search .bds-category{padding:3px 7px;background:#f0f5f6;border-radius:5px;color:#55707c;font-size:.67rem;white-space:normal}
#bmc-document-search .bds-result .bds-meta{font-size:.77rem;margin:4px 0 0;line-height:1.4}
#bmc-document-search .bds-details{font-size:.74rem;margin-top:5px;color:#627783}
#bmc-document-search .bds-details summary{cursor:pointer;list-style-position:inside;width:fit-content}
#bmc-document-search .bds-details p{font-size:.78rem;line-height:1.5}
#bmc-document-search .bds-actions{gap:6px;margin:0;justify-content:flex-end}
#bmc-document-search .bds-actions button,#bmc-document-search .bds-actions a{min-height:36px;padding:8px 10px;white-space:nowrap;font-size:.74rem;background:#fff;border-color:#d4dfe5}
#bmc-document-search .bds-actions button{background:#edf4f7;color:#244e62;border-color:#cbdde7;font-weight:600}
#bmc-document-search .bds-actions a:last-child{border-color:transparent;color:#617985}
#bmc-document-search .bds-pager{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding-top:12px;border-top:1px solid #e4eaee;font-size:.78rem;color:#5a707c}
#bmc-document-search .bds-pager button{min-height:36px;padding:6px 10px;background:#fff}
#bmc-document-search [data-admin]{margin-top:6px;font-size:.72rem}
@media(max-width:1150px){#bmc-document-search form{grid-template-columns:repeat(3,minmax(0,1fr))}#bmc-document-search label:first-child{grid-column:span 3}#bmc-document-search .bds-result{grid-template-columns:34px minmax(0,1fr)}#bmc-document-search .bds-actions{grid-column:2;justify-content:flex-start}}
@media(max-width:600px){#bmc-document-search{padding:16px;margin:14px auto}#bmc-document-search form{grid-template-columns:repeat(2,minmax(0,1fr))}#bmc-document-search label:first-child{grid-column:span 2}#bmc-document-search label:nth-child(4){grid-column:span 2}#bmc-document-search input,#bmc-document-search select{height:44px;font-size:16px}#bmc-document-search .bds-result{gap:8px 10px;padding:13px 0}#bmc-document-search .bds-actions{flex-wrap:wrap}#bmc-document-search .bds-actions button,#bmc-document-search .bds-actions a{min-height:44px;padding:11px 9px}#bmc-document-search .bds-pager{justify-content:space-between}}
/* Smaller, consistent search typography. */
#bmc-document-search h2{font-size:1rem}
#bmc-document-search .bds-intro{font-size:.75rem;margin-bottom:11px}
#bmc-document-search label{font-size:.7rem}
#bmc-document-search input,#bmc-document-search select{font-size:.8rem}
#bmc-document-search button,#bmc-document-search .bds-actions a{font-size:.73rem}
#bmc-document-search [data-status]{font-size:.71rem}
#bmc-document-search .bds-result h3{font-size:.8rem;line-height:1.35}
#bmc-document-search .bds-category{font-size:.62rem;padding:2px 6px}
#bmc-document-search .bds-result .bds-meta{font-size:.7rem}
#bmc-document-search .bds-details,#bmc-document-search .bds-details summary{font-size:.68rem}
#bmc-document-search .bds-details p{font-size:.71rem}
#bmc-document-search .bds-actions button,#bmc-document-search .bds-actions a{font-size:.68rem}
#bmc-document-search .bds-pager,#bmc-document-search .bds-pager button{font-size:.7rem}
#bmc-document-search [data-admin]{font-size:.67rem}
#bmc-document-search dialog h3{font-size:.9rem}
#bmc-document-search dialog p,#bmc-document-search dialog>a{font-size:.75rem}
@media(max-width:600px){#bmc-document-search input,#bmc-document-search select{font-size:16px}#bmc-document-search .bds-actions button,#bmc-document-search .bds-actions a{min-height:44px}}
/* Compact property summaries. No advanced-search panel. */
#bmc-document-search .bps-results{margin:12px 0}
#bmc-document-search .bps-title{font-size:.78rem;margin:0 0 8px}
#bmc-document-search .bps-property{border:1px solid #d9e4e9;border-radius:8px;margin:7px 0;background:#fff;overflow:hidden}
#bmc-document-search .bps-property>summary{cursor:pointer;padding:11px 12px;background:#f5f9fa;font-size:.78rem;list-style-position:inside}
#bmc-document-search .bps-property>summary>span{font-size:.7rem;color:#647985;margin-left:12px}
#bmc-document-search .bps-property-body{padding:10px}
#bmc-document-search .bps-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:start}
#bmc-document-search .bps-group{border:1px solid #e2e9ed;border-radius:6px;min-width:0;padding:0 10px}
#bmc-document-search .bps-group>summary{cursor:pointer;font-size:.73rem;font-weight:600;padding:10px 0;list-style-position:inside}
#bmc-document-search .bps-group p,#bmc-document-search .bps-note{font-size:.7rem;line-height:1.5;margin:6px 0;color:#5b707d;overflow-wrap:anywhere}
#bmc-document-search .bps-row{display:flex;flex-wrap:wrap;gap:3px 9px;align-items:baseline;border-top:1px solid #edf1f4;padding:7px 0;font-size:.7rem;overflow-wrap:anywhere}
#bmc-document-search .bps-row>span{color:#637985;min-width:125px}
#bmc-document-search .bps-row>strong{font-weight:500;flex:1 1 120px}
#bmc-document-search .bps-row small{font-size:.65rem;color:#72848e}
#bmc-document-search .bps-group a{font-size:.69rem;overflow-wrap:anywhere;color:#275e78}
#bmc-document-search .bps-group>a{display:block;padding:8px 0}
#bmc-document-search .bps-group>details{border-top:1px solid #edf1f4;padding:8px 0;font-size:.7rem}
#bmc-document-search .bps-group details summary{cursor:pointer}
#bmc-document-search .bps-group details a{display:block;padding:6px 0}
#bmc-document-search .bps-group button{font-size:.69rem;margin:6px 0;min-height:36px}
#bmc-document-search .bps-group .bds-result{grid-template-columns:minmax(0,1fr);gap:6px;padding:9px 0}
#bmc-document-search .bps-group .bds-file-icon{display:none}
#bmc-document-search .bps-group .bds-actions{grid-column:1;justify-content:flex-start}
#bmc-document-search .bps-group .bds-result h3{font-size:.75rem}
@media(max-width:650px){#bmc-document-search .bps-grid{grid-template-columns:1fr}#bmc-document-search .bps-property>summary>span{display:block;margin:4px 0 0 12px}#bmc-document-search .bps-group>summary{min-height:44px;padding:13px 0}#bmc-document-search .bps-group button{min-height:44px}}
/* Staff results share the compact search panel. */
#bmc-document-search .bss-results{margin:12px 0}
#bmc-document-search .bss-section{border:1px solid #d9e4e9;border-radius:8px;overflow:hidden}
#bmc-document-search .bss-section>summary{cursor:pointer;list-style-position:inside;background:#f5f9fa;padding:10px 12px;font-size:.76rem;font-weight:600}
#bmc-document-search .bss-person{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:11px 12px;border-top:1px solid #e7edf0;align-items:center}
#bmc-document-search .bss-person-body{min-width:0}
#bmc-document-search .bss-person h4{font-size:.8rem;line-height:1.4;margin:0 0 2px;color:#244454;overflow-wrap:anywhere}
#bmc-document-search .bss-job{font-size:.71rem;margin:2px 0 5px;color:#526b79}
#bmc-document-search .bss-assignments{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:.68rem;line-height:1.5;color:#647986;overflow-wrap:anywhere}
#bmc-document-search .bss-actions{display:flex;flex-direction:column;gap:5px;align-items:flex-end;font-size:.68rem;overflow-wrap:anywhere;min-width:0;max-width:280px}
#bmc-document-search .bss-actions a{font-size:.68rem;color:#2c6079;text-decoration:none}
#bmc-document-search .bss-actions a:hover{text-decoration:underline}
#bmc-document-search .bss-note{font-size:.7rem;padding:8px 12px;color:#647986}
#bmc-document-search .bss-pager{display:flex;gap:10px;align-items:center;justify-content:flex-end;padding:9px 12px;border-top:1px solid #e7edf0;font-size:.7rem;color:#647986}
#bmc-document-search .bss-pager button{font-size:.7rem;min-height:36px;padding:6px 9px;background:#fff}
@media(max-width:650px){#bmc-document-search .bss-person{grid-template-columns:1fr;gap:7px}#bmc-document-search .bss-actions{flex-direction:row;flex-wrap:wrap;justify-content:flex-start;align-items:center;max-width:100%;gap:4px 12px}#bmc-document-search .bss-actions a{display:inline-flex;align-items:center;min-height:44px}#bmc-document-search .bss-section>summary{min-height:44px;padding:13px 12px}#bmc-document-search .bss-pager button{min-height:44px}}
