:root{
  --bg: #f3f4f9; --panel: #ffffff; --panel-2: #e7e9f3; --line: #cdd1e5;
  --accent: #253b9d; --accent-soft: #ced3e9; --accent-dim: #f1f2f6;
  --text: #181c30; --muted: #50587c; --muted-2: #959ab1;
}

.big-input{ width: 100%; padding: 16px; border: 1px solid var(--line); border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 16px; background: var(--panel-2); color: var(--text); }
.big-input:focus{ outline: none; border-color: var(--accent); }

.result-card{ margin-top: 16px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 20px; text-align: center; min-height: 60px; display: flex; align-items: center; justify-content: center; }
.result-card .text{ font-size: 26px; font-weight: 800; font-family: 'JetBrains Mono', monospace; color: var(--accent); }
.result-card .placeholder{ color: var(--muted-2); font-weight: 400; font-size: 14px; font-family: 'Inter', sans-serif; }
.result-card .error{ color: #b3402f; font-size: 14px; font-weight: 400; font-family: 'Inter', sans-serif; }

.section-title{ font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin: 22px 0 8px; }
.batch-grid{ display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; }
@media (max-width: 720px){ .batch-grid{ grid-template-columns: 1fr; } .bridge{ transform: rotate(90deg); margin: 4px auto; } }
.pane{ border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.pane-head{ padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--panel-2); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
textarea, .output{ flex: 1; width: 100%; min-height: 160px; max-height: 400px; padding: 14px; border: none; resize: vertical; font-family: 'JetBrains Mono', monospace; font-size: 13px; line-height: 1.7; background: transparent; color: var(--text); overflow: auto; }
textarea:focus{ outline: none; }
.output{ white-space: pre-wrap; word-break: break-word; overflow: auto; }
.bridge{ display: flex; align-items: center; justify-content: center; padding: 8px; }
.bridge svg{ width: 28px; height: 28px; }
.bridge .arrow-line{ stroke: var(--accent); stroke-width: 2; }
.bridge .arrow-head{ fill: var(--accent); }

.btns{ display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.app{ padding: 11px 20px; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 13.5px; font-family: 'Inter', sans-serif; color: #fff; background: var(--accent); transition: filter .15s ease; }
.app:hover{ filter: brightness(1.08); }
.gray{ background: var(--line); color: var(--text); }

.note{ margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.6; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
