/* HÀNH TRÌNH THEO CHẶNG (knowledge.js): tiêu đề chặng trong mục lục, bản đồ ở trang chào, trang chặng, điểm kiểm tra. Nạp sau knowledge.css. */
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-stage{display:flex;align-items:center;gap:8px;width:100%;margin:10px 0 2px;padding:7px 8px;border:0;border-radius:8px;background-color:#f3f2f7 !important;text-align:left;cursor:pointer;font:inherit;color:#23212C !important;-webkit-text-fill-color:#23212C !important;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-stage:hover,html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-stage.active{background-color:#e6e3f1 !important;}
#knowledge .bk-stage-n{flex:none;font-size:10px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;opacity:.55;}
#knowledge .bk-stage b{flex:1;min-width:0;font-size:12.5px;line-height:1.25;}
#knowledge .bk-stage small{flex:none;font-size:11px;opacity:.6;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-stlink{display:inline;padding:0;border:0;background-color:transparent !important;font:inherit;font-weight:700;text-decoration:underline;cursor:pointer;color:inherit !important;-webkit-text-fill-color:currentColor !important;}
#knowledge .bk-journey{margin-top:30px;}
#knowledge .bk-journey h3{font-size:20px;margin:0 0 4px;}
#knowledge .bk-j-lead{margin:0 0 14px;font-size:14px;opacity:.7;}
#knowledge .bk-j-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-j-col{padding:14px 14px 10px;border:1px solid rgba(35,33,44,.12);border-radius:16px;background-color:#fff !important;}
#knowledge .bk-j-ph{display:flex;flex-direction:column;gap:2px;margin-bottom:10px;}
#knowledge .bk-j-ph span{font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;opacity:.55;}
#knowledge .bk-j-ph b{font-size:16px;}
#knowledge .bk-j-ph em{font-style:normal;font-size:12px;opacity:.65;}
#knowledge .bk-j-col ol{list-style:none;margin:0;padding:0 0 0 14px;position:relative;display:grid;gap:2px;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-j-col ol::before{content:"";position:absolute;left:13px;top:14px;bottom:14px;width:2px;background-color:#e2dff0 !important;}
#knowledge .bk-j-col li{margin:0;padding:0;list-style:none;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-j-st{position:relative;display:flex;align-items:center;gap:10px;width:100%;padding:6px 6px 6px 0;border:0;border-radius:10px;background-color:transparent !important;text-align:left;cursor:pointer;font:inherit;color:#23212C !important;-webkit-text-fill-color:#23212C !important;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-j-st:hover{background-color:#f3f2f7 !important;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-j-st i{position:relative;z-index:1;flex:none;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;margin-left:-1px;border-radius:50%;background-color:#23212C !important;font-style:normal;font-size:12px;font-weight:700;color:#fff !important;-webkit-text-fill-color:#fff !important;}
#knowledge .bk-j-st span{display:flex;flex-direction:column;min-width:0;}
#knowledge .bk-j-st b{font-size:13.5px;line-height:1.25;}
#knowledge .bk-j-st small{font-size:11.5px;opacity:.6;}
#knowledge .bk-st-prog{margin:0 0 6px;}
#knowledge .bk-stch{list-style:none;margin:0 0 6px;padding:0;display:grid;gap:8px;}
#knowledge .bk-stch li{margin:0;padding:0;list-style:none;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-stch-i{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:1px solid rgba(35,33,44,.12);border-radius:14px;background-color:#fff !important;text-align:left;cursor:pointer;font:inherit;color:#23212C !important;-webkit-text-fill-color:#23212C !important;transition:background-color .2s,border-color .2s;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-stch-i:hover{background-color:#f3f2f7 !important;border-color:rgba(35,33,44,.3);}
#knowledge .bk-stch-i.locked{opacity:.6;}
#knowledge .bk-stch-i > span{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0;}
#knowledge .bk-stch-i b{font-size:15px;line-height:1.3;}
#knowledge .bk-stch-i small{font-size:12.5px;line-height:1.4;opacity:.7;font-weight:400;}
#knowledge .bk-stch-i em{flex:none;font-style:normal;font-size:12px;opacity:.65;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-stch-i.done em{color:#15803d !important;-webkit-text-fill-color:#15803d !important;opacity:1;}
#knowledge .bk-chk{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:8px;}
#knowledge .bk-chk li{margin:0;padding:0;list-style:none;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-chk label{display:flex;align-items:flex-start;gap:11px;padding:12px 14px;border:1px solid rgba(35,33,44,.12);border-radius:12px;background-color:#fff !important;cursor:pointer;}
#knowledge .bk-chk input{flex:none;width:18px;height:18px;margin-top:2px;accent-color:#23212C;}
#knowledge .bk-chk input:checked + span{text-decoration:line-through;opacity:.55;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-stagecheck{margin:30px 0 6px;padding:16px 18px;border-radius:14px;background-color:#eceaf6 !important;}
#knowledge .bk-stagecheck b{display:block;font-size:15px;}
#knowledge .bk-stagecheck p{margin:4px 0 10px;font-size:14px;opacity:.75;}
@media (max-width:900px){#knowledge .bk-j-grid{grid-template-columns:1fr;}}

/* VARIETY: cards for bold-led lists, warning cards for mistakes, timeline for numbered steps, tick-off task list, table, FAQ, myth and fact */
#knowledge .bk-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:1.2em 0 1.5em;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-card{padding:14px 16px;border:1px solid rgba(35,33,44,.12);border-radius:14px;background-color:#fff !important;}
#knowledge .bk-card b{display:block;margin-bottom:4px;font-family:Inter,system-ui,sans-serif !important;font-size:.9em;line-height:1.3;}
#knowledge .bk-card p{margin:0;font-size:.92em;line-height:1.55;opacity:.85;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-traps .bk-card{position:relative;padding-left:44px;border-color:rgba(180,35,58,.25);background-color:#fdf5f6 !important;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-traps .bk-card::before{content:"!";position:absolute;left:14px;top:14px;display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background-color:#b4233a !important;color:#fff !important;-webkit-text-fill-color:#fff !important;font-family:Inter,sans-serif !important;font-size:13px;font-weight:800;}
#knowledge .bk-tl{list-style:none;margin:1.2em 0 1.5em;padding:0;position:relative;counter-reset:tl;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-tl::before{content:"";position:absolute;left:15px;top:16px;bottom:16px;width:2px;background-color:#e2dff0 !important;}
#knowledge .bk-tl li{position:relative;counter-increment:tl;display:flex;flex-direction:column;gap:2px;margin:0 0 14px;padding:0 0 0 46px;list-style:none;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-tl li::before{content:counter(tl);position:absolute;left:0;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background-color:#23212C !important;color:#fff !important;-webkit-text-fill-color:#fff !important;font-family:Inter,sans-serif !important;font-size:13px;font-weight:700;}
#knowledge .bk-tl b{font-family:Inter,system-ui,sans-serif !important;font-size:.92em;line-height:1.35;padding-top:5px;}
#knowledge .bk-tl span{font-size:.93em;line-height:1.6;opacity:.85;}
#knowledge .bk-tasklist small{display:inline;margin-left:8px;font-size:.85em;font-weight:500;letter-spacing:0;text-transform:none;opacity:.6;}
#knowledge .bk-tasklist ul{list-style:none;padding-left:0;}
#knowledge .bk-tasklist li{margin:0;padding:0;}
#knowledge .bk-tasklist label{display:flex;align-items:flex-start;gap:11px;cursor:pointer;}
#knowledge .bk-tasklist input{flex:none;width:18px;height:18px;margin-top:3px;accent-color:#23212C;}
#knowledge .bk-tasklist input:checked + span{text-decoration:line-through;opacity:.55;}
#knowledge .bk-tbl{margin:1.4em 0;overflow-x:auto;}
#knowledge .bk-tbl table{width:100%;border-collapse:collapse;font-family:Inter,system-ui,sans-serif !important;font-size:.88em;line-height:1.45;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-tbl th,html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-tbl td{padding:10px 12px;border-bottom:1px solid rgba(35,33,44,.12);text-align:left;vertical-align:top;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-tbl thead th{background-color:#23212C !important;color:#fff !important;-webkit-text-fill-color:#fff !important;font-weight:700;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-tbl tbody th{width:22%;background-color:#f3f2f7 !important;font-weight:700;}
#knowledge .bk-tbl-c{margin:8px 0 0;font-size:.82em;opacity:.65;}
#knowledge .bk-faq{margin:1.2em 0 1.5em;display:grid;gap:8px;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-faq details{border:1px solid rgba(35,33,44,.12);border-radius:12px;background-color:#fff !important;padding:0 16px;}
#knowledge .bk-faq summary{cursor:pointer;padding:13px 0;font-family:Inter,system-ui,sans-serif !important;font-size:.92em;font-weight:700;list-style:none;display:flex;justify-content:space-between;gap:12px;}
#knowledge .bk-faq summary::-webkit-details-marker{display:none;}
#knowledge .bk-faq summary::after{content:"+";flex:none;font-size:1.2em;opacity:.55;}
#knowledge .bk-faq details[open] summary::after{content:"\2212";}
#knowledge .bk-faq details p{margin:0 0 14px;font-size:.93em;line-height:1.6;opacity:.85;}
#knowledge .bk-myths{display:grid;gap:10px;margin:1.2em 0 1.5em;}
#knowledge .bk-myth{display:grid;grid-template-columns:1fr 1fr;gap:0;border-radius:14px;overflow:hidden;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-m-x{padding:14px 16px;background-color:#f3f2f7 !important;}
html.theme-clean:not(#a):not(#b):not(#c) #knowledge .bk-m-f{padding:14px 16px;background-color:#e7f5ec !important;}
#knowledge .bk-myth span{display:block;margin-bottom:4px;font-family:Inter,system-ui,sans-serif !important;font-size:.72em;font-weight:800;letter-spacing:.12em;text-transform:uppercase;opacity:.6;}
#knowledge .bk-myth p{margin:0;font-size:.93em;line-height:1.55;}
#knowledge .bk-m-x p{text-decoration:line-through;text-decoration-color:rgba(35,33,44,.35);opacity:.8;}
@media (max-width:640px){
  #knowledge .bk-cards{grid-template-columns:1fr;}
  #knowledge .bk-myth{grid-template-columns:1fr;}
}
