.bd-date-trigger { display:inline-flex; align-items:center; justify-content:center; min-height:34px; padding:6px 12px; border:1px solid #9fc9dd; border-radius:6px; background:#fff; color:#164866; font:inherit; font-variant-numeric:tabular-nums; cursor:pointer; }
.bd-date-trigger:hover { border-color:#087aa5; background:#f2f9fd; }
.bd-date-trigger:disabled { opacity:.55; cursor:not-allowed; }
.bd-date-panel { position:fixed; z-index:15000; box-sizing:border-box; max-height:calc(100dvh - 24px); overflow:auto; border:1px solid #b9cbd6; border-radius:10px; background:#fff; color:#243a48; box-shadow:0 12px 32px #16394d26; font:14px/1.45 "Microsoft YaHei",system-ui,sans-serif; font-variant-numeric:tabular-nums; }
.bd-date-panel * { box-sizing:border-box; }
.bd-date-panel button,.bd-date-panel select { font:inherit; color:inherit; border:1px solid transparent; border-radius:5px; background:#fff; cursor:pointer; }
.bd-date-panel button:focus-visible,.bd-date-panel select:focus-visible,.bd-date-trigger:focus-visible { outline:2px solid #086e9c; outline-offset:2px; }
.bd-date-panel button:hover:not(:disabled) { background:#e7f3fa; }
.bd-date-body { display:flex; }
.bd-date-shortcuts { flex:0 0 120px; border-right:1px solid #d6e1e8; padding:10px 0; }
.bd-date-shortcuts button { display:block; width:100%; text-align:left; padding:8px 14px; border-radius:0; }
.bd-date-shortcuts button.active { background:#087fae; color:#fff; }
.bd-date-calendars { flex:1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; padding:16px; }
.bd-date-calendars:has(>.bd-date-calendar:only-child) { grid-template-columns:1fr; }
.bd-date-nav { display:flex; align-items:center; justify-content:space-between; gap:4px; margin-bottom:14px; }
.bd-date-nav select { border-color:#bacbd6; padding:5px; max-width:92px; }
.bd-date-nav button { min-width:28px; height:32px; font-size:25px; line-height:1; }
.bd-date-week,.bd-date-grid { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); text-align:center; }
.bd-date-week { font-size:12px; font-weight:600; margin-bottom:8px; }
.bd-date-grid button,.bd-date-grid>span { min-height:36px; padding:4px 0; }
.bd-date-grid button.in-range { background:#e5f2fa; border-radius:0; }
.bd-date-grid button.selected,.bd-date-month-grid button.selected { background:#087fae; color:#fff; }
.bd-date-grid button:disabled { color:#81939e; cursor:not-allowed; background:#f5f7f9; }
.bd-date-month-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; }
.bd-date-month-grid button { padding:14px 8px; }
.bd-date-footer { display:flex; align-items:center; justify-content:flex-end; gap:8px; padding:12px 16px; border-top:1px solid #d6e1e8; }
.bd-date-footer strong { margin-right:auto; font-size:14px; }
.bd-date-footer button { padding:7px 12px; border-color:#b9cbd6; }
.bd-date-footer .bd-date-confirm { background:#087fae; color:#fff; border-color:#087fae; }
.bd-date-error { margin:0; padding:0 16px 8px; color:#a82525; }
.bd-date-error:empty { display:none; }
@media(max-width:640px) { .bd-date-body { display:block; } .bd-date-shortcuts { display:flex; overflow:auto; border-right:0; border-bottom:1px solid #d6e1e8; padding:4px; } .bd-date-shortcuts button { width:auto; white-space:nowrap; padding:8px 10px; border-radius:5px; } .bd-date-calendars { grid-template-columns:1fr; gap:20px; } .bd-date-footer { flex-wrap:wrap; position:sticky; bottom:0; background:#fff; } .bd-date-footer strong { flex-basis:100%; } .bd-date-grid button,.bd-date-grid>span { min-height:42px; } }
.bd-date-trigger[hidden],input[data-bd-hidden] { display:none!important; }
select[data-bd-hidden] { display:none!important; }
.bd-org-row { display:flex; align-items:flex-start; gap:12px; margin:6px 0; }
.bd-org-row>strong { flex:0 0 52px; padding-top:6px; color:#176996; font-size:12px; }
.bd-org-choices { display:flex; flex-wrap:wrap; align-items:center; gap:6px; min-width:0; max-height:180px; overflow:auto; }
.bd-org-choices .bd-org-chip { display:inline-flex; align-items:center; gap:6px; min-height:30px; padding:5px 12px; border:1px solid #91ccee; border-radius:6px; background:#fff; color:#176996; font:inherit; font-size:12px; cursor:pointer; }
.bd-org-choices .bd-org-chip.active { background:#087fae; color:#fff; border-color:#087fae; }
.bd-org-choices .bd-org-chip:hover:not(:disabled):not(.active) { background:#edf7fc; }
.bd-org-choices .bd-org-chip:focus-visible { outline:2px solid #086e9c; outline-offset:2px; }
.bd-org-choices .bd-org-chip:disabled { opacity:.55; cursor:not-allowed; }
.bd-org-chip img { width:22px; height:22px; padding:2px; object-fit:contain; background:#fff; border-radius:4px; }
@media(max-width:640px) { .bd-org-row { display:block; } .bd-org-row>strong { display:block; padding:0 0 6px; } }
.bd-query-bar { display:flex; align-items:center; gap:12px; padding:10px 0; margin:6px 0 12px; }
.bd-query-button { min-height:36px; padding:7px 18px; border:1px solid #087fae; border-radius:6px; background:#087fae; color:#fff; font:inherit; cursor:pointer; }
.bd-query-button:focus-visible { outline:2px solid #086e9c; outline-offset:3px; }
.bd-query-bar [role="status"] { color:#38566b; font-size:13px; }
[data-bd-query-state="idle"] table,[data-bd-query-state="idle"] .chart { visibility:hidden; }
@media(max-width:640px){.bd-query-bar { align-items:flex-start; }.bd-query-bar [role="status"] { flex:1; }}
