/* academy/assets/academy.css — Instructor Academy (on top of certify/assets/course.css) */
[hidden] { display: none !important; }
#axPrint { display: none; }
@media print { #axPrint { display: block; } }
.ax-center { text-align: center; }
.ax-small { font-size: 13px; font-weight: 700; color: var(--tp-muted); margin: 10px 2px 0; }
.ax-h3 { font-family: var(--tp-head); font-size: 19px; margin: 22px 0 10px; }

/* ---------- dashboard ---------- */
.ax-dash { background: #fff; border: 1px solid var(--tp-line); border-radius: 24px; padding: 20px; box-shadow: var(--tp-shadow); margin-bottom: 28px; }
.ax-dash-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ax-dash-head small { font-weight: 800; color: var(--tp-muted); font-size: 13px; }
.ax-dash-head h2 { margin: 2px 0 0; font-size: 26px; }
.ax-combined { display: flex; align-items: center; gap: 12px; background: #F8FAFC; border-radius: 18px; padding: 10px 16px; }
.ax-combined div { display: flex; flex-direction: column; line-height: 1.2; }
.ax-combined b { font-family: var(--tp-head); font-size: 24px; }
.ax-combined small { font-size: 12px; }
.ax-weeks { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 8px; }
.ax-wk { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; border: 1px solid var(--tp-line); background: #fff; text-decoration: none; color: var(--tp-ink); }
.ax-wk:hover { border-color: var(--sc); }
.ax-wk-n { width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; font-weight: 900; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--sc), var(--sc2)); }
.ax-wk-t { flex: 1; min-width: 0; }
.ax-wk-t b { display: block; font-size: 14px; line-height: 1.2; }
.ax-wk-t small { font-size: 12px; font-weight: 800; color: var(--tp-muted); }
.ax-wk-p { font-weight: 900; font-size: 13px; color: #334155; min-width: 44px; text-align: right; }
.ax-wk.upcoming { background: #F8FAFC; }
.ax-wk.upcoming .ax-wk-n { background: #CBD5E1; }
.ax-wk.open, .ax-wk.running, .ax-wk.learning { border-color: var(--sc); box-shadow: 0 8px 18px -14px var(--sc); }
.ax-wk.missed .ax-wk-p { color: var(--cx-bad); }
.ax-wk.bonus { border-style: dashed; }
.ax-wk.intern { grid-column: 1 / -1; background: var(--ss); }

/* ---------- plans ---------- */
.ax-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 18px; margin: 14px 0 34px; }
.ax-plan { position: relative; background: #fff; border: 2px solid var(--tp-line); border-radius: 24px; padding: 22px; box-shadow: var(--tp-shadow); display: flex; flex-direction: column; }
.ax-plan.best { border-color: #4F46E5; box-shadow: 0 20px 40px -24px #4F46E5; }
.ax-plan-tag { position: absolute; top: -12px; right: 18px; background: linear-gradient(135deg, #4F46E5, #EC4899); color: #fff; font-weight: 900; font-size: 12px; padding: 4px 10px; border-radius: 999px; }
.ax-plan h3 { margin: 0; font-size: 22px; }
.ax-price { font-family: var(--tp-head); font-size: 40px; font-weight: 900; color: #4F46E5; margin: 4px 0 10px; }
.ax-plan ul { margin: 0 0 14px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.ax-plan li { font-weight: 700; font-size: 14.5px; color: #334155; padding-left: 24px; position: relative; }
.ax-plan li::before { content: '✓'; position: absolute; left: 0; color: #10B981; font-weight: 900; }

/* ---------- curriculum ---------- */
.ax-month { margin: 22px 0 8px; }
.ax-month h3 { font-family: var(--tp-head); font-size: 20px; margin: 0 0 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ax-month h3 span { background: #1E293B; color: #fff; border-radius: 10px; padding: 3px 10px; font-size: 14px; }
.ax-month h3 em { font-style: normal; font-size: 12px; font-weight: 900; color: #4F46E5; background: #EEF2FF; padding: 3px 9px; border-radius: 999px; }
.ax-card.bonus { border: 2px dashed var(--sc); }
.ax-tagline { font-size: 12.5px; font-weight: 900; color: var(--sc); }
.ax-intern { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 22px; background: linear-gradient(135deg, #ECFDF5, #E0F2FE); border: 1px solid var(--tp-line); }
.ax-intern b { font-family: var(--tp-head); font-size: 18px; }
.ax-intern p { margin: 4px 0 0; font-weight: 700; color: #334155; }

/* ---------- apply form ---------- */
.ax-apply { margin-top: 30px; }
.ax-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ax-form.one { grid-template-columns: 1fr; max-width: 420px; }
.ax-form label { display: flex; flex-direction: column; gap: 5px; font-weight: 800; font-size: 14px; color: #334155; }
.ax-form label small { font-weight: 700; color: var(--tp-muted); }
.ax-form input, .ax-form select, .ax-form textarea { border: 1.5px solid var(--tp-line); border-radius: 12px; padding: 10px 12px; font: inherit; font-weight: 700; background: #fff; }
.ax-form input:focus, .ax-form select:focus, .ax-form textarea:focus { outline: none; border-color: #4F46E5; box-shadow: 0 0 0 3px #E0E7FF; }
.ax-form .wide { grid-column: 1 / -1; }
.ax-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ax-msg { margin: 0; padding: 10px 14px; border-radius: 12px; font-weight: 800; }
.ax-msg.ok { background: var(--cx-ok-s); color: #065F46; }
.ax-msg.bad { background: var(--cx-bad-s); color: #991B1B; }

/* ---------- subject page ---------- */
.ax-view { flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; margin: 8px 4px 8px 0; padding: 7px 12px; border-radius: 12px; border: 2px solid var(--sc); background: var(--sc); color: #fff; font-weight: 900; font-size: 13px; text-decoration: none; cursor: pointer; white-space: nowrap; font-family: inherit; }
.ax-view .tp-ic { width: 15px; height: 15px; }
.ax-view.locked { background: #F1F5F9; border-color: #CBD5E1; color: #475569; }
.ax-view.locked:hover { border-color: #94A3B8; }
.ax-ch .cx-sum-btn { margin-right: 6px; }
@media (max-width: 720px) { .ax-view { margin: 0 0 10px; } }

/* ---------- chapter page ---------- */
.cx-toc a.ax-toc-t { background: #1E293B; color: #fff; }
.ax-sims { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.ax-sim { display: flex; gap: 12px; padding: 14px; border-radius: 18px; background: var(--ss); }
.ax-sim > i { font-style: normal; font-size: 28px; }
.ax-sim b { font-family: var(--tp-head); font-size: 16.5px; }
.ax-sim p { margin: 4px 0 8px; font-weight: 700; font-size: 14px; color: #334155; line-height: 1.5; }
.ax-sim-go { display: flex; flex-wrap: wrap; gap: 8px; }
.ax-sim.has-lab { box-shadow: inset 0 0 0 2px rgba(245, 158, 11, .35); }
.ax-goal { font-weight: 800; font-size: 16px; margin: 0 0 12px; }
.ax-lab { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; }
.ax-lab h3 { margin: 0 0 8px; font-size: 16px; }
.ax-parts { background: var(--ss); border-radius: 16px; padding: 14px; }
.ax-parts ul { margin: 0; padding-left: 18px; font-weight: 700; font-size: 14px; line-height: 1.6; }
.ax-steps { margin: 0; padding: 0; list-style: none; counter-reset: st; display: flex; flex-direction: column; gap: 8px; }
.ax-steps li { counter-increment: st; position: relative; padding: 9px 12px 9px 46px; background: #fff; border: 1px solid var(--tp-line); border-radius: 14px; font-weight: 700; font-size: 14.5px; line-height: 1.5; }
.ax-steps li::before { content: counter(st); position: absolute; left: 10px; top: 8px; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: var(--sc); color: #fff; font-weight: 900; font-size: 13px; }
.ax-lab-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.ax-lab-foot > div { background: #F8FAFC; border-radius: 14px; padding: 12px 14px; }
.ax-lab-foot p { margin: 4px 0 0; font-weight: 700; font-size: 14px; color: #334155; }
.ax-teach { border-top: 4px solid #1E293B; }
.ax-acts { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; counter-reset: act; }
.ax-acts li { counter-increment: act; display: flex; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--tp-line); background: #fff; }
.ax-acts li > i { font-style: normal; font-size: 26px; line-height: 1; }
.ax-acts b { font-family: var(--tp-head); font-size: 16px; }
.ax-acts b::before { content: counter(act) '. '; color: var(--sc); }
.ax-acts p { margin: 3px 0 0; font-weight: 700; font-size: 14px; color: #334155; line-height: 1.5; }
.ax-note-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ax-note-bar h2 { margin: 0; }
.ax-note { margin-top: 12px; background: #fff; border: 1px solid var(--tp-line); border-radius: 18px; padding: 20px 22px; box-shadow: var(--tp-shadow); }
.ax-note header small { font-weight: 800; color: var(--tp-muted); font-size: 12px; }
.ax-note header h3 { margin: 2px 0 8px; font-size: 22px; }
.ax-note-intro { font-weight: 800; font-size: 15px; margin: 0 0 12px; padding: 10px 12px; border-left: 4px solid var(--sc); background: var(--ss); border-radius: 0 12px 12px 0; }
.ax-note-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.ax-note-grid h4 { margin: 0 0 4px; font-family: var(--tp-head); font-size: 15.5px; color: var(--sc); }
.ax-note-grid ul { margin: 0; padding-left: 18px; list-style: disc; font-size: 13.5px; font-weight: 600; line-height: 1.5; }
.ax-note-tip { margin: 12px 0 0; padding: 10px 12px; background: #FFFBEB; border-radius: 12px; font-size: 14px; font-weight: 700; }
@media (max-width: 760px) { .ax-lab, .ax-lab-foot, .ax-acts, .ax-note-grid, .ax-form, .ax-plans { grid-template-columns: 1fr; } }

/* ---------- certificate ---------- */
.ax-verify { max-width: 560px; margin: 0 auto; }
.ax-verify h1 { margin: 0 0 6px; }
.ax-cert-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ax-cert { max-width: 900px; margin: 0 auto; background: #fff; padding: 14px; border-radius: 8px; box-shadow: var(--tp-shadow); background-image: linear-gradient(135deg, #4F46E5, #EC4899); }
.ax-cert-in { background: #fff; border-radius: 4px; padding: 34px 40px; text-align: center; }
.ax-cert-org { font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #4F46E5; font-size: 13px; }
.ax-cert h1 { font-size: 36px; margin: 8px 0; }
.ax-cert h2 { font-size: 32px; margin: 4px 0 8px; color: #1E293B; border-bottom: 2px solid #E2E8F0; display: inline-block; padding: 0 24px 4px; }
.ax-cert p { font-weight: 700; color: #334155; margin: 6px 0; }
.ax-cert-grade { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 10px 0 16px; }
.ax-cert-grade b { font-family: var(--tp-head); font-size: 28px; }
.ax-cert-table { width: 100%; border-collapse: collapse; font-size: 13.5px; text-align: left; }
.ax-cert-table th, .ax-cert-table td { padding: 5px 8px; border-bottom: 1px solid #E2E8F0; }
.ax-cert-table th { background: #F8FAFC; font-weight: 900; }
.ax-cert-table tr.bonus td { color: #64748B; }
.ax-cert-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 16px; font-size: 12.5px; font-weight: 700; color: #475569; }

/* ---------- printing ---------- */
@media print {
  body.ax-printing-note > *:not(#axPrint) { display: none !important; }
  body.ax-printing-note { background: #fff !important; }
  #axPrint .ax-note { margin: 0; border: 0; box-shadow: none; padding: 0; font-size: 12px; }
  #axPrint .ax-note-grid { grid-template-columns: 1fr 1fr; }
  #axPrint, #axPrint * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ax-cert-bar, .tp-nav, header.tp-header, footer, .tp-footer, nav { display: none !important; }
  .ax-cert { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  @page { size: A4; margin: 12mm; }
}

/* Simulation Lab promo (academy home) */
.ax-lab { display: flex; align-items: center; gap: 18px; margin: 22px 0; padding: 18px 20px; border-radius: 22px; text-decoration: none; color: #E2E8F0; background: radial-gradient(circle at 12% 30%, #1E3A8A, #0B1120 70%); border: 1px solid #24324F; box-shadow: var(--tp-shadow, 0 10px 30px rgba(15,23,42,.15)); transition: transform .15s; }
.ax-lab:hover { transform: translateY(-2px); }
.ax-lab-art { flex: none; width: 74px; height: 74px; border-radius: 18px; display: grid; place-items: center; font-size: 40px; background: rgba(56,189,248,.15); }
.ax-lab-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ax-lab-t small { color: #FDE047; font-weight: 900; font-size: 13px; }
.ax-lab-t b { font-family: var(--tp-head, 'Baloo 2'), sans-serif; font-size: 24px; color: #fff; line-height: 1.1; }
.ax-lab-t span { color: #94A3B8; font-weight: 700; font-size: 14px; }
.ax-lab-go { flex: none; background: linear-gradient(135deg, #F59E0B, #F97316); color: #1C1205; font-weight: 900; border-radius: 12px; padding: 10px 16px; white-space: nowrap; }
@media (max-width: 640px) { .ax-lab { flex-wrap: wrap; } .ax-lab-art { width: 56px; height: 56px; font-size: 30px; } .ax-lab-go { width: 100%; text-align: center; } }
