/* 格式转换页。面单、表格、按钮在 app.css；顶栏、工具对照栏、编号步骤在 redeem.css */

.conv { padding-block: 32px 56px; }
.conv .slip + section, .conv section + section { margin-top: 24px; }
.conv .slip-head h1 { font-size: 20px; }
.conv .slip-head .barcode { margin-left: auto; }
.mast-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--green); }

.drop .hint b { color: var(--ink); }
.conv-pick { justify-content: center; margin-top: 12px; }

.paste { margin-top: 14px; }
.paste summary { cursor: pointer; font-weight: 600; font-size: 13px; color: var(--ink-2); width: max-content; }
.paste summary:hover { color: var(--ink); }
.paste textarea { margin-top: 8px; font-family: var(--mono); font-size: 12px; }

.opts { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hair); font-size: 13px; }
.opts label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.opts select { min-height: 32px; padding-block: 3px; }

.out-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }

.conv-table td.mono { font-family: var(--mono); font-size: 12px; word-break: break-all; }
.conv-table td.nowrap { white-space: nowrap; }
.conv-table tr.excl td { color: var(--ink-3); }
.conv-table .note { display: block; font-size: 12px; color: var(--amber); }
.conv-table .note.err { color: var(--red); }

.logbox { max-height: 200px; overflow: auto; padding: 12px 18px; font-family: var(--mono); font-size: 12px; line-height: 1.6; }
.logbox span { display: block; }
.logbox .w { color: var(--amber); }
.logbox .e { color: var(--red); }
.logbox .d { color: var(--ink-2); }

.guide { margin-top: 40px; padding-top: 32px; border-top: var(--rule); }
.guide > h2 { font-size: 22px; margin-bottom: 18px; }
.guide .tool-top h3 { font-family: var(--sans); font-size: 18px; }
.guide .tool-what { font-size: 14px; font-weight: 500; }
.guide .compare-note { margin-top: 14px; max-width: 760px; }
.steps li { min-width: 0; }
pre.cmd { max-width: 100%; margin: 8px 0 0; padding: 10px 12px; overflow-x: auto; background: var(--wash); border-radius: 2px; font-family: var(--mono); font-size: 12px; line-height: 1.6; white-space: pre; }

@media (max-width: 640px) {
  .conv { padding-top: 20px; }
  .conv .slip-head .barcode { width: 72px; height: 20px; }
  .out-actions { width: 100%; margin-left: 0; }
  .out-actions .btn { flex: 1 1 auto; }
  .conv-table { min-width: 640px; }
}
