/* Trang "Bộ công cụ nhập môn": dùng chung nền vũ trụ của kien-thuc.css */
.ccHero { min-height: 0; background: radial-gradient(ellipse at 80% 0%, #3d2a0a 0%, #0b1424 45%, #05080f 80%); }
.ccHero .ktHeroIn { padding-bottom: 40px; }
.ccProg { max-width: 520px; margin: 4px 0 18px; }
.ccBar { height: 12px; border-radius: 8px; background: #ffffff14; overflow: hidden; }
.ccBar i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, #4dd4ac, #ffd166); transition: width .5s; }
#ccTxt { margin: 8px 0 0; color: #c8d3de; font-size: 15px; }
.ccJump { display: flex; flex-wrap: wrap; gap: 8px; pointer-events: auto; }
.ccJump a { text-decoration: none; font-size: 14px; padding: 6px 12px; border-radius: 20px; border: 1px solid #ffffff26; background: #0b1424b3; color: #e6edf3; }
.ccJump a:hover { border-color: #ffd166; }

.ccMain h3 { font-size: 16px; color: #c8d3de; margin: 18px 0 10px; }
.ccLvl { --c: #4dd4ac; position: relative; background: #0a1220; border: 1px solid #ffffff14; border-left: 4px solid var(--c); border-radius: 18px; padding: 18px 20px 14px; margin: 0 0 18px; scroll-margin-top: 70px; }
.ccLvl.l2 { --c: #5cc8ff; } .ccLvl.l3 { --c: #b48cff; } .ccLvl.l4 { --c: #ffd166; }
.ccLvl > header { display: flex; gap: 14px; align-items: flex-start; }
.ccLvl > header div { flex: 1; min-width: 0; }
.ccLvl h2 { margin: 0 0 4px; font-size: 21px; color: #fff; line-height: 1.3; }
.ccLvl > header p { margin: 0; color: #a9b6c4; font-size: 15px; }
.ccNum { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 800; color: #05080f; background: var(--c); box-shadow: 0 0 22px color-mix(in srgb, var(--c) 45%, transparent); }
.ccPrice { flex: none; font-size: 13px; font-weight: 700; color: var(--c); border: 1px solid var(--c); border-radius: 20px; padding: 3px 10px; white-space: nowrap; }
.ccSteps { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.ccSteps li { margin: 0; }
.ccSteps label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; background: #0d1729; border: 1px solid #ffffff10; border-radius: 12px; padding: 10px 12px; font-size: 15.5px; line-height: 1.55; color: #dfe7ee; transition: background .2s, border-color .2s; }
.ccSteps label:hover { border-color: #ffffff30; }
.ccSteps input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--c); cursor: pointer; }
.ccSteps a { color: #8fd3ff; }
.ccSteps label:has(input:checked) { background: color-mix(in srgb, var(--c) 12%, #0d1729); border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.ccSteps label:has(input:checked) span { color: #a9b6c4; text-decoration: line-through; text-decoration-color: #ffffff40; }
.ccTools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.ccTool { display: flex; flex-direction: column; gap: 6px; background: #0d1729; border: 1px solid #ffffff10; border-radius: 14px; padding: 12px 14px; }
.ccTool b { color: #fff; font-size: 15.5px; line-height: 1.35; }
.ccTool span { color: #a9b6c4; font-size: 14px; line-height: 1.5; }
.ccTool em { margin-top: auto; font-style: normal; font-weight: 700; font-size: 13.5px; color: var(--c); }
.ccSoft { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ccSoft a { text-decoration: none; display: flex; flex-direction: column; gap: 2px; background: #0d1729; border: 1px solid #ffffff10; border-radius: 12px; padding: 9px 12px; }
.ccSoft a:hover { border-color: var(--c); }
.ccSoft b { color: #fff; font-size: 15px; }
.ccSoft span { color: #a9b6c4; font-size: 13.5px; line-height: 1.45; }
.ccWarn { background: #2a1d08; border: 1px solid #6b5520; border-radius: 16px; padding: 14px 18px; margin: 6px 0 10px; color: #f1e2bf; }
.ccWarn ul { margin: 8px 0; padding-left: 20px; }
.ccWarn li { font-size: 15px; line-height: 1.55; }
.ccWarn .small { color: #c9b98e; margin: 0; }
.ccDict { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.ccDict div { background: #0a1220; border: 1px solid #ffffff12; border-radius: 12px; padding: 10px 14px; }
.ccDict dt { font-weight: 800; color: #ffd166; }
.ccDict dd { margin: 2px 0 0; color: #c8d3de; font-size: 14.5px; line-height: 1.5; }
.ccEnd { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.ccEnd button { font: inherit; font-size: 14px; cursor: pointer; background: transparent; color: #93a1b0; border: 1px solid #ffffff26; border-radius: 10px; padding: 7px 12px; }
.ccEnd a { color: #8fd3ff; }
@media (max-width: 860px) { .ccTools, .ccSoft { grid-template-columns: minmax(0, 1fr); } .ccDict { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .ccLvl { padding: 14px 14px 12px; }
  .ccLvl > header { flex-wrap: wrap; gap: 10px; }
  .ccNum { width: 38px; height: 38px; font-size: 18px; }
  .ccLvl h2 { font-size: 18.5px; }
  .ccPrice { order: 3; }
}
