.portal-batch-dialog { width:min(440px,calc(100vw - 40px)); max-height:calc(100vh - 48px); max-height:calc(100dvh - 48px); margin:auto; padding:24px; box-sizing:border-box; overflow:auto; border:1px solid #e1e5e8; border-radius:14px; color:#24343c; background:#fff; box-shadow:0 18px 65px #172c3c30; font:14px/1.65 system-ui,"Microsoft YaHei",sans-serif; }
.portal-batch-dialog::backdrop { background:#14243255; }
.portal-batch-dialog h2 { margin:0 0 12px; font-size:18px; font-weight:650; }
.portal-batch-dialog p { margin:0 0 24px; white-space:pre-wrap; overflow-wrap:anywhere; color:#53616a; }
.portal-batch-dialog > div { display:flex; justify-content:flex-end; gap:10px; }
.portal-batch-dialog button { min-width:76px; min-height:44px; padding:7px 18px; border:1px solid #dbe2e5; border-radius:7px; color:#46565f; background:#f8fafb; cursor:pointer; font:inherit; }
.portal-batch-dialog button:last-child { border-color:#16855c; color:#fff; background:#16855c; }
.portal-batch-dialog button:focus-visible,.portal-batch-dialog input:focus-visible { outline:2px solid #72b99d; outline-offset:3px; }
.portal-batch-dialog input { width:100%; margin:0 0 22px; box-sizing:border-box; padding:10px 12px; border:1px solid #ccd6db; border-radius:7px; color:#24343c; background:#fff; font:inherit; }
.portal-batch-compat-notice { max-width:100%; box-sizing:border-box; margin:12px 0; padding:12px 14px; border:1px solid #e6b9b5; border-radius:7px; color:var(--ws-danger,#a52f29); background:var(--ws-danger-soft,#fff1ef); font:14px/1.65 system-ui,"Microsoft YaHei",sans-serif; white-space:normal; overflow-wrap:anywhere; }
.portal-batch-compat-notice:focus { outline:2px solid var(--ws-danger,#a52f29); outline-offset:3px; }
html[data-theme="bluecream"] { color-scheme:light; }
@media (prefers-reduced-motion:reduce) { .portal-batch-dialog { scroll-behavior:auto; } }
