/* B 历史检索模块，仅新增独立可折叠区域，保留既定母版结构与全部正式 PNG。 */
.b-theme .b-history-panel {
 margin:12px 22px 20px; border:1px solid #d9c4a9; border-radius:12px;
 background:#fffaf1; color:#583e34; padding:0 14px;
 font-size:13px; box-shadow:0 3px 14px #61412d12;
}
.b-theme .b-history-panel summary {
 cursor:pointer; padding:14px 2px; font-weight:700; color:#7b352d;
}
.b-theme .b-history-body {padding:0 2px 14px; display:grid; gap:9px;}
.b-theme .b-history-body label {display:flex; align-items:center; flex-wrap:wrap; gap:8px;}
.b-theme .b-history-body input,.b-theme .b-history-body select {
 max-width:100%; min-width:0; border:1px solid #dec9b0; border-radius:6px;
 background:white; color:#503831; padding:8px; font:inherit;
}
.b-theme .b-history-body button,.b-theme [data-b-history-open] {
 border:1px solid #ac5547; border-radius:7px; background:#fff8f3;
 color:#853a2f; font:inherit; font-weight:650; min-height:34px; padding:7px 10px; cursor:pointer;
}
.b-theme .b-history-body button:focus-visible,.b-theme [data-b-history-open]:focus-visible,
.b-theme .b-history-panel summary:focus-visible {outline:2px solid #95433b; outline-offset:2px;}
.b-theme [data-history-status][data-error="true"]{color:#ad2828;}
.b-theme .b-history-body [data-history-preview],.b-theme .b-history-body [data-history-query],
.b-theme .b-history-body [data-history-results] {padding:8px 0;border-top:1px solid #e4d4c2;}
.b-theme .b-history-body [data-history-query] {display:flex;align-items:center;flex-wrap:wrap;gap:9px;}
.b-theme .b-history-body [data-history-query] label{flex:1 1 175px;}
.b-theme .b-history-body [data-history-query] input{flex:1;min-width:130px;}
.b-theme .b-history-evidence {font-weight:650;line-height:1.6;}
.b-theme .b-history-list{max-height:240px;overflow-y:auto;padding-left:22px;line-height:1.75;}
.b-theme .b-history-list li{overflow-wrap:anywhere;}
.b-theme .b-history-body [hidden] {display:none !important;}
.b-app .b-history-panel{margin:8px 12px 10px;}
.b-app .b-history-body [data-history-query] {align-items:stretch;}
