/* AIツール（プロンプトをコピーして使う方式。追補23-01【20】(a)）
   色は shared/tokens.css の変数だけを使う。ボタンは tokens.css の .btn-go。 */

.ai-toc { margin: 1.6em 0 2.4em; }

.ai-tool {
  margin: 2.4em 0 0;
  padding: 0 0 2em;
  border-bottom: 1px solid var(--border-color);
}
.ai-tool:last-child { border-bottom: 0; }

.ai-tool h2 { display: flex; align-items: center; gap: 10px; }
.ai-tool__num {
  flex: 0 0 auto;
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--orange); color: var(--on-accent);
  font-family: var(--font-num); font-size: 16px; font-weight: 700;
}

.ai-tool__steps { padding-left: 1.6em; }
.ai-tool__steps li { margin: 0 0 .4em; }

.ai-tool__prompt {
  display: block; box-sizing: border-box;
  width: 100%; max-width: 100%;
  margin: .6em 0 0; padding: 14px 16px;
  border: 1px solid var(--sky-line); border-radius: var(--radius);
  background: var(--sky); color: var(--text-main);
  font-family: var(--font-base); font-size: 14px; line-height: 1.7;
  resize: vertical;
}
.ai-tool__prompt:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

.ai-tool__copy-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
  margin: 14px 0 0;
}
/* コピーはページを移るボタンではないので、.btn-go の「→」を外す */
.ai-tool__copy::after { content: none; }
.ai-tool__status {
  margin: 0; min-height: 1.6em;
  font-size: 14px; font-weight: 700; color: var(--navy);
}
.ai-tool__manual { margin: 8px 0 0; font-size: 13.5px; color: var(--text-muted); }

.ai-tool__caution ul { margin: 0; padding-left: 1.3em; }
.ai-tool__caution li { font-size: 14.5px; line-height: 1.8; color: var(--text-body); margin: 0 0 .3em; }

.ai-tool__related { margin: 1.4em 0 0; }
.ai-tool__related-title { margin: 0 0 .3em; font-weight: 700; color: var(--navy); }
.ai-tool__related ul { margin: 0; padding-left: 1.3em; }
