#uc-batch { margin-block: 24px; }
#uc-batch > .tool-help { margin-block: 12px; }
#uc-batch [hidden] { display: none !important; }
#uc-batch textarea, #hbi-input { width: 100%; resize: vertical; min-height: 100px; }
.unit-batch-preview { max-height: 360px; overflow: auto; }
#uc-batch th, #hex-byte-inspector th { color: var(--site-text, #17223b); }
#hex-byte-inspector .tool-select {
    width: 100%; max-width: 560px; height: auto; min-height: 46px;
    appearance: none; padding-inline-end: 34px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-size: 16px; background-position: right 12px center;
}
html[dir="rtl"] #hex-byte-inspector .tool-select { background-position: left 12px center; }
#hex-byte-inspector td { overflow-wrap: anywhere; }
#hex-byte-inspector .tool-help { margin-block: 10px 20px; }
.hex-task-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-block: 12px 18px; }
.hex-task-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 10px; border: 1px solid var(--site-border, #cbd5e1); border-radius: 6px; }
.hex-task-links a, #hex-byte-inspector + .tool-copy-block a { color: var(--site-accent, #2563eb); text-decoration: underline; }
