.oa-th-menu button { min-height:30px; margin:0; padding:4px 9px; border:1px solid #c4cedb; border-radius:5px; background:#fff; color:#205782; font:inherit; line-height:1.5; cursor:pointer; box-shadow:none; text-transform:none; }
.oa-th-enabled > button.oa-th-trigger { display:inline-flex; align-items:center; justify-content:center; vertical-align:middle; width:24px; min-width:24px; min-height:26px; padding:0; margin:0 0 0 5px; border:1px solid #bccbdb; border-radius:4px; background:#fff; color:#285980; font:bold 18px/1 sans-serif; cursor:pointer; box-shadow:none; }
.oa-th-filter-active > button.oa-th-trigger, .oa-th-enabled[aria-sort] > button.oa-th-trigger { background:#d8eafb; border-color:#3678b3; color:#123e65; }
.oa-th-trigger::before { content:"▾"; }
.oa-th-menu { position:fixed; z-index:100000; box-sizing:border-box; width:290px; max-width:calc(100vw - 16px); max-height:calc(100vh - 16px); overflow:auto; padding:14px; border:1px solid #b9c9da; border-radius:8px; background:#fff; color:#24364b; box-shadow:0 8px 28px #233f6330; font:13px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif; }
.oa-th-menu > strong { display:block; margin-bottom:10px; overflow-wrap:anywhere; }
.oa-th-menu label { display:block; margin:12px 0 8px; color:#34465b; }
.oa-th-menu input, .oa-th-menu select { box-sizing:border-box; display:block; width:100%; height:34px; margin:6px 0; padding:5px 7px; border:1px solid #b9c9da; border-radius:4px; background:#fff; color:#24364b; font:inherit; }
.oa-th-actions { display:flex; gap:8px; margin:8px 0; }
.oa-th-actions > .oa-th-sort { flex:1; white-space:pre-line; }
.oa-th-hint { margin:4px 0 10px; font-size:12px; color:#58697c; }
.oa-th-content details { margin:12px 0; padding:8px; border:1px solid #dce4ee; border-radius:5px; }
.oa-th-content summary { cursor:pointer; color:#205782; }
.oa-th-content > button { margin:5px 5px 5px 0; }
.oa-th-moves { padding-top:10px; border-top:1px solid #dce4ee; margin-top:12px; }
.oa-th-menu > button { margin:3px 5px 3px 0; }
.oa-th-menu button:disabled { opacity:.45; cursor:default; }
.oa-th-menu button:focus-visible, .oa-th-trigger:focus-visible { outline:2px solid #327eb9; outline-offset:2px; }
tr.oa-table-filtered { display:none !important; }
@media print { .oa-th-trigger, .oa-th-menu { display:none !important; } }
