/* 图片转 PDF：列表、设置、编辑弹层。类名统一 pdf- 前缀，避免影响其他工具页。 */

.pdf-hint { margin-top: 12px; }

/* ---------- 输出格式选择 ---------- */
.conv-formats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}
@media (min-width: 720px) {
  .conv-formats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.conv-format {
  display: grid;
  gap: 2px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  color: var(--fg);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.conv-format strong { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.conv-format span { font-size: 11.5px; line-height: 1.45; color: var(--muted-fg); }
.conv-format:hover { border-color: rgba(4, 120, 87, .5); }
.conv-format[aria-checked="true"] {
  border-color: var(--accent);
  background: rgba(4, 120, 87, .07);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.conv-format[aria-checked="true"] span { color: var(--fg); }
.conv-format.is-soon { border-style: dashed; }
.conv-format.is-soon strong { color: var(--muted-fg); }
.conv-format.is-soon:hover { border-color: var(--accent); background: rgba(4, 120, 87, .05); }
.conv-format em {
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--muted);
  color: var(--muted-fg);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}

.conv-desc {
  margin: -4px 0 16px;
  padding: 10px 14px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(4, 120, 87, .04);
}
.conv-desc strong { font-size: 12.5px; color: var(--accent); }
.conv-desc ul {
  display: grid;
  gap: 3px 18px;
  margin: 6px 0 0;
  padding-left: 1.05em;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted-fg);
}
.conv-desc li { list-style: disc; }
@media (min-width: 720px) {
  .conv-desc ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.conv-cloud {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px dashed rgba(4, 120, 87, .35);
  border-radius: 10px;
  background: rgba(4, 120, 87, .05);
}
.conv-cloud strong { font-size: 13.5px; }
.conv-cloud p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--muted-fg); }

/* ---------- 图片列表 ---------- */
.pdf-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}
.pdf-empty {
  padding: 18px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  color: var(--muted-fg);
  font-size: 13px;
  text-align: center;
}
.pdf-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px 12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.pdf-item:hover { border-color: rgba(4, 120, 87, .35); box-shadow: 0 4px 14px rgba(15, 23, 42, .05); }
.pdf-item__thumb {
  grid-row: 1 / span 2;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: var(--bg) repeating-conic-gradient(#eef2f6 0% 25%, transparent 0% 50%) 0 0 / 12px 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.pdf-item__thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pdf-item__main { min-width: 0; }
.pdf-item__name {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pdf-item__meta {
  margin: 2px 0 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted-fg);
}
.pdf-item__state { margin: 2px 0 0; font-size: 11.5px; color: var(--muted-fg); }
.pdf-item__state[data-edited="true"] { color: var(--accent); }
.pdf-item__ops {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.pdf-item__ops button {
  min-width: 40px;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  color: var(--fg);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.pdf-item__ops button:hover { border-color: var(--accent); color: var(--accent); }
.pdf-item__ops button[disabled] { opacity: .4; cursor: default; }
.pdf-item__ops button[disabled]:hover { border-color: var(--border); color: var(--fg); }
.pdf-item__ops .pdf-op--danger:hover { border-color: #B42318; color: #B42318; }
.pdf-item__ops .pdf-op--main { border-color: rgba(4, 120, 87, .3); color: var(--accent); font-weight: 600; }
.pdf-item__dl {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(4, 120, 87, .3);
  border-radius: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.pdf-item__dl:hover { background: rgba(4, 120, 87, .08); }

@media (max-width: 520px) {
  .pdf-item { grid-template-columns: 52px minmax(0, 1fr); }
  .pdf-item__thumb { width: 52px; height: 52px; }
}

/* ---------- 设置区 ---------- */
.pdf-options {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
@media (min-width: 720px) {
  .pdf-options { grid-template-columns: 1fr 1fr; }
  .pdf-options .ts-setting--wide { grid-column: 1 / -1; }
}

/* ---------- 结果 ---------- */
.pdf-result {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(4, 120, 87, .22);
  border-radius: 12px;
  background: rgba(4, 120, 87, .06);
}
.pdf-result[hidden] { display: none; }
.pdf-result strong { display: block; font-size: 14px; }
.pdf-result span { font-family: var(--mono); font-size: 12px; color: var(--muted-fg); }
.pdf-result .btn { margin-left: auto; }

/* ---------- 侧栏 ---------- */
.pdf-steps { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 13.5px; line-height: 1.7; color: var(--muted-fg); }
.pdf-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pdf-links a {
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--fg);
  font-size: 13px;
  text-decoration: none;
}
.pdf-links a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 编辑弹层 ---------- */
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 16px;
}
.pdf-modal[hidden] { display: none; }
.pdf-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); }
.pdf-modal__card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(880px, 100%);
  max-height: calc(100vh - 32px);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
  overflow: hidden;
}
.pdf-modal__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--border);
}
.pdf-modal__head h2 { margin: 0; font-family: var(--display); font-size: 19px; }
.pdf-modal__sub { margin: 2px 0 0; font-size: 12px; color: var(--muted-fg); overflow-wrap: anywhere; }
.pdf-modal__x {
  margin-left: auto;
  width: 36px;
  height: 36px;
  flex: none;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted-fg);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.pdf-modal__x:hover { background: var(--muted); color: var(--fg); }

.pdf-modal__body { padding: 14px 18px; overflow: auto; }
.pdf-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  max-height: 46vh;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg) repeating-conic-gradient(#eef2f6 0% 25%, transparent 0% 50%) 0 0 / 14px 14px;
  overflow: hidden;
  touch-action: none;
}
.pdf-stage canvas {
  display: block;
  max-width: 100%;
  max-height: calc(46vh - 22px);
  width: auto;
  height: auto;
  cursor: crosshair;
  box-shadow: 0 2px 10px rgba(15, 23, 42, .12);
}
.pdf-crop {
  position: absolute;
  border: 2px solid var(--accent);
  background: rgba(4, 120, 87, .12);
  pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(15, 23, 42, .28);
}
.pdf-crop[hidden] { display: none; }
.pdf-crop.is-flash { animation: pdf-crop-flash .5s ease-out 2; }
@keyframes pdf-crop-flash {
  0% { border-color: var(--accent); box-shadow: 0 0 0 0 rgba(4, 120, 87, .45), 0 0 0 9999px rgba(15, 23, 42, .18); }
  100% { border-color: var(--accent); box-shadow: 0 0 0 6px rgba(4, 120, 87, 0), 0 0 0 9999px rgba(15, 23, 42, .18); }
}

.pdf-crop.is-adjustable {
  pointer-events: auto;
  cursor: move;
  touch-action: none;
  box-sizing: border-box;
  border: 1px solid var(--accent);
  background: transparent;
  box-shadow: 0 0 0 9999px rgba(15, 23, 42, .18);
}
.pdf-crop__h {
  position: absolute;
  box-sizing: border-box;
  width: 22px;
  height: 22px;
  border: 0;
  padding: 0;
  background: transparent;
  pointer-events: auto;
  touch-action: none;
}
.pdf-crop__h::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  background: transparent;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .75);
}
.pdf-crop__h--nw { left: -11px; top: -11px; cursor: nwse-resize; }
.pdf-crop__h--ne { right: -11px; top: -11px; cursor: nesw-resize; }
.pdf-crop__h--sw { left: -11px; bottom: -11px; cursor: nesw-resize; }
.pdf-crop__h--se { right: -11px; bottom: -11px; cursor: nwse-resize; }
.pdf-crop__h--n,
.pdf-crop__h--s {
  left: 26px;
  right: 26px;
  width: auto;
  height: 16px;
  cursor: ns-resize;
}
.pdf-crop__h--n { top: -8px; }
.pdf-crop__h--s { bottom: -8px; }
.pdf-crop__h--e,
.pdf-crop__h--w {
  top: 26px;
  bottom: 26px;
  width: 16px;
  height: auto;
  cursor: ew-resize;
}
.pdf-crop__h--w { left: -8px; }
.pdf-crop__h--e { right: -8px; }
.pdf-crop__h--n::after,
.pdf-crop__h--s::after {
  width: 26px;
  height: 3px;
  border: 0;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .8);
}
.pdf-crop__h--e::after,
.pdf-crop__h--w::after {
  width: 3px;
  height: 26px;
  border: 0;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .8);
}
.pdf-stage__hint { margin: 8px 0 0; font-size: 12px; color: var(--muted-fg); }

.pdf-edit-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pdf-edit-row .btn { flex: 0 1 auto; min-height: 40px; padding: 0 12px; font-size: 13px; }

.pdf-sliders {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.pdf-sliders label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; }
.pdf-sliders label span { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--accent); }
.pdf-sliders input[type="range"] { width: 100%; height: 30px; accent-color: var(--accent); }
.pdf-check { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; }
.pdf-check input { width: 20px; height: 20px; accent-color: var(--accent); }

.pdf-crop-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pdf-crop-actions .btn { flex: 0 1 auto; min-height: 40px; padding: 0 14px; font-size: 13px; }

.pdf-modal__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 12px 18px 16px;
  border-top: 1px solid var(--border);
}
.pdf-modal__spacer { flex: 1 1 auto; }
.pdf-modal__foot .btn { flex: 0 1 auto; min-height: 42px; }

@media (max-width: 640px) {
  .pdf-modal { padding: 0; }
  .pdf-modal__card { width: 100%; max-height: 100vh; height: 100%; border-radius: 0; }
  .pdf-stage { max-height: 38vh; }
  .pdf-stage canvas { max-height: calc(38vh - 22px); }
  .pdf-modal__foot .btn { flex: 1 1 120px; }
}

@media (prefers-reduced-motion: reduce) {
  .pdf-item { transition: none; }
}

/* ---------- Excel 识别预览 ---------- */
.xl-preview {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
.xl-preview[hidden] { display: none; }
.xl-preview__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.xl-preview__head strong { font-size: 14.5px; }
.xl-preview__hint { margin: 4px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--muted-fg); }
.xl-preview__note { margin: 2px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted-fg); opacity: .85; }
.xl-preview__count { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--muted-fg); }
.xl-scroll {
  margin-top: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.xl-sheet + .xl-sheet { border-top: 1px solid var(--border); }
.xl-sheet__name {
  position: sticky;
  left: 0;
  margin: 0;
  padding: 7px 10px;
  background: #FAFAFA;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted-fg);
}
.xl-table { border-collapse: collapse; width: max-content; min-width: 100%; font-size: 13px; }
.xl-table td {
  min-width: 64px;
  max-width: 260px;
  padding: 7px 9px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  white-space: pre-wrap;
  word-break: break-word;
  outline: none;
}
.xl-table td:focus { background: rgba(4, 120, 87, .06); box-shadow: inset 0 0 0 2px rgba(4, 120, 87, .45); }
.xl-table td.is-low { background: #FFF7DE; }
.xl-table td.is-fixed { background: rgba(4, 120, 87, .10); box-shadow: inset 3px 0 0 var(--accent); }
.xl-table td.is-picked { background: rgba(37, 99, 235, .10); box-shadow: inset 0 0 0 2px #2563EB; }
.xl-table td.is-low.is-picked { background: #FFF7DE; }
.xl-preview.is-picking .xl-table td { cursor: cell; }
.xl-preview.is-picking .xl-table td:hover { box-shadow: inset 0 0 0 2px rgba(37, 99, 235, .6); }
.xl-table tr:first-child td { font-weight: 600; }
.xl-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.xl-actions .btn { flex: 0 0 auto; }
.xl-actions .btn.is-active { border-color: #2563EB; color: #2563EB; background: rgba(37, 99, 235, .08); }
.xl-note { margin-top: 14px; }
.xl-note label { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; }
.xl-note textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
  line-height: 1.6;
  color: inherit;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  resize: vertical;
  outline: none;
}
.xl-note textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(4, 120, 87, .12); }
.xl-note__hint { margin: 6px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted-fg); }
.xl-picked { margin: 8px 0 0; font-size: 12.5px; color: #2563EB; }
.xl-picked[hidden] { display: none; }
.xl-preview .ts-status { margin: 10px 0 0; }

@media (max-width: 520px) {
  .xl-preview { padding: 12px; }
  .xl-actions .btn { flex: 1 1 auto; }
  .xl-table td { min-width: 54px; max-width: 200px; }
}

/* ---------- Word 识别预览 ---------- */
.wd-preview {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}
.wd-preview[hidden] { display: none; }
.wd-preview__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.wd-preview__head strong { font-size: 14.5px; }
.wd-preview__hint { margin: 4px 0 0; font-size: 12.5px; line-height: 1.7; color: var(--muted-fg); }
.wd-preview__note { margin: 2px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted-fg); opacity: .85; }
.wd-preview__count { margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--muted-fg); }
.wd-mark { padding: 0 4px; border-radius: 4px; }
.wd-mark--low { background: #FFF7DE; }
.wd-views { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.wd-views .btn { flex: 0 0 auto; }
.wd-views .btn.is-active { border-color: var(--accent); color: var(--accent); background: rgba(4, 120, 87, .08); }
.wd-scroll {
  margin-top: 10px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #F4F5F7;
  padding: 14px;
}
.wd-page { margin: 0 auto 14px; max-width: 760px; }
.wd-page:last-child { margin-bottom: 0; }
.wd-page__paper {
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, .12);
  container-type: inline-size;
  overflow: hidden;
}
.wd-page__tag {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--muted-fg);
}
.wd-line {
  position: absolute;
  line-height: 1.08;
  white-space: pre;
  transform: translateY(-0.08em);
}
.wd-seg {
  outline: none;
  border-radius: 2px;
  cursor: text;
}
.wd-seg:hover { background: rgba(4, 120, 87, .08); }
.wd-seg:focus { background: rgba(4, 120, 87, .10); box-shadow: inset 0 0 0 1px rgba(4, 120, 87, .55); }
.wd-seg.is-low { background: #FFF7DE; }
.wd-seg.is-fixed { background: rgba(4, 120, 87, .10); box-shadow: inset 2px 0 0 var(--accent); }
.wd-seg.is-picked { background: rgba(37, 99, 235, .12); box-shadow: inset 0 0 0 1px #2563EB; }
.wd-sheet + .wd-sheet { margin-top: 14px; }
.wd-sheet__name {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--muted-fg);
}
.wd-sheet--table { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.wd-table-wrap { overflow-x: auto; }
.wd-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  font-size: 13.5px;
  line-height: 1.6;
}
.wd-table td {
  border: 1px solid #9AA3AF;
  padding: 5px 7px;
  vertical-align: top;
  white-space: pre-wrap;
  word-break: break-word;
}
.wd-table td:empty::after { content: "\00a0"; }
/* 原图没有框线：只按列对齐，不画格线 */
.wd-table--plain td { border: 0; }
.wd-marquee {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  border: 1px dashed #2563EB;
  background: rgba(37, 99, 235, .10);
  border-radius: 2px;
}
.wd-row {
  display: flex;
  gap: 8px;
  padding: 5px 8px;
  border-bottom: 1px dashed var(--border);
  background: #fff;
  font-size: 13.5px;
  line-height: 1.75;
}
.wd-row:first-of-type { border-top: 1px solid var(--border); }
.wd-row__no {
  flex: 0 0 2.4em;
  text-align: right;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 2.1;
  color: var(--muted-fg);
}
.wd-row__text { flex: 1 1 auto; min-width: 0; white-space: pre-wrap; word-break: break-word; }
.wd-row__gap { color: var(--muted-fg); }
.wd-preview.is-picking .wd-seg { cursor: pointer; }
.wd-preview.is-picking .wd-row__text { cursor: pointer; }
.wd-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.wd-actions .btn { flex: 0 0 auto; }
.wd-actions .btn.is-active { border-color: #2563EB; color: #2563EB; background: rgba(37, 99, 235, .08); }
.wd-note { margin-top: 14px; }
.wd-note label { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 600; }
.wd-note textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
  line-height: 1.6;
  color: inherit;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  resize: vertical;
  outline: none;
}
.wd-note textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(4, 120, 87, .12); }
.wd-note__hint { margin: 6px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted-fg); }
.wd-picked { margin: 8px 0 0; font-size: 12.5px; color: #2563EB; }
.wd-picked[hidden] { display: none; }
.wd-preview .ts-status { margin: 10px 0 0; }

/* ---------- AI 矫正用法引导（Excel / Word 共用） ---------- */
.xl-ai-guide,
.wd-ai-guide {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(37, 99, 235, .28);
  border-radius: 10px;
  background: rgba(37, 99, 235, .05);
}
.xl-ai-guide__title,
.wd-ai-guide__title { margin: 0; font-size: 12.5px; font-weight: 600; color: #1D4ED8; }
.xl-ai-guide__list,
.wd-ai-guide__list { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; line-height: 1.75; }
.xl-ai-guide__list li + li,
.wd-ai-guide__list li + li { margin-top: 4px; }
.xl-ai-guide__tip,
.wd-ai-guide__tip { margin: 6px 0 0; font-size: 12px; line-height: 1.7; color: var(--muted-fg); }

@media (max-width: 520px) {
  .wd-preview { padding: 12px; }
  .wd-actions .btn { flex: 1 1 auto; }
  .wd-scroll { padding: 8px; }
}
