/* Base64 — tool-specific styles */
.b64-area { width: 100%; min-height: 130px; resize: vertical; background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--text); border-radius: var(--radius-sm); padding: 12px 14px; font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: .88rem; line-height: 1.55; word-break: break-all; }
.b64-area:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.b64-area[readonly] { color: var(--muted); }
.b64-controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 12px 0; }
.b64-controls .spacer { flex: 1; }
.b64-controls .status { margin: 0; }
.b64-check { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); cursor: pointer; }
.b64-check input { width: 16px; height: 16px; }
.b64-check code { background: var(--card-2); padding: 1px 6px; border-radius: 5px; font-size: .82em; }
.b64-preview { margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: repeating-conic-gradient(#1a1f38 0% 25%, #161a30 0% 50%) 50% / 22px 22px; text-align: center; }
.b64-preview img { max-width: 100%; max-height: 300px; border-radius: 8px; }
