/* Database controls on the left, source records and pagination on the right. */
#integrated-evidence{display:grid;grid-template-columns:250px minmax(0,1fr);align-items:start;gap:24px}
#database-sidebar{min-width:0;padding:20px 16px;background:#edf5f7;border:1px solid #c9dde3;border-radius:14px;color:#173744}
#database-sidebar h3{font-size:15px;font-weight:700;color:#0c2540;margin:0 0 18px}
#database-sidebar .db-gene-filter{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:0 0 20px}
#database-sidebar .db-gene-filter label,.database-field>span{font-size:12px;font-weight:600;color:#365c6b}
#database-sidebar #db-gene-status{font-size:11px;line-height:1.7;overflow-wrap:anywhere}
#database-sidebar #kh-modes{display:flex;flex-direction:column;gap:5px;padding:0 0 18px;margin:0 0 18px;border-bottom:1px solid #c9dde3}
#database-sidebar #kh-modes button{text-align:left;line-height:1.5;white-space:normal;width:100%}
#database-sidebar .real-controls,#database-sidebar .kh-filters{display:flex;flex-direction:column;align-items:stretch;gap:14px;margin:0}
#database-sidebar .database-field{display:flex;flex-direction:column;gap:6px;min-width:0}
#database-sidebar input:not([type=checkbox]),#database-sidebar select{width:100%;min-width:0;max-width:100%;padding:10px;border:1px solid #bfd4dc;border-radius:7px;background:#fff;font-size:12px}
#database-sidebar input[type=checkbox]{flex:none;accent-color:#0e7078;margin-right:5px}
#database-sidebar .real-controls>label:not(.database-field),#database-sidebar #kh-paper-controls label{font-size:12px;line-height:1.7}
#database-sidebar .real-actions,#database-sidebar .tg-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:18px 0 0}
#database-sidebar .real-actions button,#database-sidebar #kh-export{width:100%;white-space:normal;text-align:left}
#database-sidebar #real-export-selected{background:#0e7078;color:#fff;border-color:#0e7078}
#database-sidebar #kh-paper-controls{display:flex;flex-direction:column;gap:12px}
#database-sidebar [hidden]{display:none!important}
#database-sidebar #kh-export{margin-top:18px}
#database-sidebar .tg-scope{display:flex;flex-direction:column;align-items:stretch;margin:0 0 18px;padding:0}
#database-related-controls .tg-actions{margin:0}
#database-related-controls .tg-actions input{flex:auto}
#database-results{min-width:0;max-width:100%}
#database-results #real-count,#database-results #kh-count{font-size:12px;color:#526d82;line-height:1.7;margin:0 0 14px}
#database-results .kh-toolbar{margin:0 0 14px}
#database-results #real-results,#database-results .kh-table-scroll{max-width:100%;overflow-x:auto}
#database-results #real-prev,#database-results #real-next{flex:none}
#database-results .kh-downloads{border-top:1px solid #dce8ed;margin-top:22px;line-height:1.8}
@media(max-width:900px){#integrated-evidence{grid-template-columns:220px minmax(0,1fr);gap:16px}}
@media(max-width:680px){#integrated-evidence{grid-template-columns:minmax(0,1fr)}#database-sidebar{padding:16px}#database-sidebar #kh-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#database-results .real-actions{gap:8px}#database-results .kh-downloads{flex-direction:column;gap:8px}}
