/* Base64 page: small additions on top of the shared tool layout. */
.b64-mode { display: inline-flex; gap: 6px; }
.b64-mode button[aria-pressed="false"] { background: var(--surface); color: var(--text); border-color: var(--border); font-weight: 400; }
.b64-size { padding: 4px 14px 8px; font-size: .8rem; color: var(--muted); min-height: 1.6em; }
#b64-grid.dragover textarea { background: var(--surface-2); }
.b64-preview { margin: 0; padding: 12px 14px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.b64-preview[hidden] { display: none; }
.b64-preview img { max-width: 100%; max-height: 320px; height: auto; border: 1px solid var(--border); border-radius: 6px; background: repeating-conic-gradient(var(--surface-2) 0 25%, var(--surface) 0 50%) 0 0 / 16px 16px; }
.b64-preview figcaption { font-size: .8rem; color: var(--muted); word-break: break-word; }
