/* AX 공부 노트: career.css 위에 덧붙이는 규칙 */
.ax-note { margin: 18px 0 0; padding: 10px 14px; border-radius: 8px; color: var(--muted); background: var(--soft); font-size: 13px; }

.ax-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.ax-steps li { position: relative; padding: 22px 22px 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff; counter-increment: step; }
.ax-steps li::before { content: "0" counter(step); display: block; margin-bottom: 8px; color: var(--blue); font-size: 12px; font-weight: 800; }
.ax-steps li:nth-child(-n+2) , .ax-steps li:nth-child(n+5) { border-top: 3px solid var(--blue); }
.ax-steps b { font-size: 18px; }
.ax-steps p { margin: 8px 0 0; color: var(--text); font-size: 14px; }

.ax-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ax-cases article { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.ax-cases .tag { align-self: flex-start; padding: 2px 9px; border-radius: 999px; color: var(--blue); background: var(--blue-soft); font-size: 12px; font-weight: 800; }
.ax-cases h3 { margin: 12px 0 14px; font-size: 18px; line-height: 1.4; }
.ax-cases dl { margin: 0; font-size: 14px; }
.ax-cases dt { margin-top: 10px; color: var(--muted); font-size: 12px; font-weight: 800; }
.ax-cases dd { margin: 2px 0 0; color: var(--text); }
.ax-take { margin: 16px 0 12px; padding: 14px; border-left: 3px solid var(--orange); border-radius: 0 8px 8px 0; color: var(--ink); background: #fff7ed; font-size: 14px; }
.ax-take b { display: block; margin-bottom: 4px; color: var(--orange); font-size: 12px; }
.ax-cases .source { margin-top: auto; padding-top: 4px; color: var(--muted); font-size: 12px; text-decoration: underline; }
.ax-cases .source + .source { margin-top: 2px; }

.ax-mine { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ax-mine article { padding: 18px 20px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.ax-mine span { color: var(--blue); font-size: 12px; font-weight: 800; }
.ax-mine p { margin: 6px 0 0; color: var(--text); font-size: 14px; }
.ax-retro { margin-top: 18px; padding: 20px 24px; border: 1px solid var(--ink); border-radius: 8px; background: #fff; }
.ax-retro b { font-size: 16px; }
.ax-retro ul { margin: 10px 0 0; padding-left: 18px; color: var(--text); font-size: 14px; }
.ax-retro li + li { margin-top: 6px; }
.ax-retro strong { color: var(--ink); }

.ax-next { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ax-next article { display: flex; flex-direction: column; padding: 20px; border: 1px dashed var(--line); border-radius: 8px; background: #fff; }
.ax-next article.done { border: 1px solid var(--line); border-top: 3px solid var(--green); }
.ax-next span { color: var(--muted); font-size: 12px; font-weight: 800; }
.ax-next .done span { color: var(--green); }
.ax-next h3 { margin: 6px 0 8px; font-size: 16px; }
.ax-next p { margin: 0; color: var(--text); font-size: 13px; }
.ax-next a { margin-top: auto; padding-top: 12px; color: var(--blue); font-size: 13px; font-weight: 800; }

@media (max-width: 1100px) {
  .ax-next { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .ax-steps, .ax-cases, .ax-mine { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ax-next { grid-template-columns: 1fr; }
}
@media print {
  .ax-steps li, .ax-cases article, .ax-mine article, .ax-next article, .ax-retro { break-inside: avoid; }
}

/* 정리한 원칙 */
.ax-principles { margin-top: 18px; padding: 22px 26px; border: 1px solid var(--ink); border-radius: 8px; background: #fff; }
.ax-principles b { font-size: 16px; }
.ax-principles ol { margin: 10px 0 0; padding-left: 20px; color: var(--text); font-size: 14px; }
.ax-principles li + li { margin-top: 6px; }
.ax-principles strong { color: var(--ink); }
@media print { .ax-principles { break-inside: avoid; } }
