:root{
  --bg:#f4f6fb;--card:#fff;--text:#172033;--muted:#667286;--border:#dfe6f1;
  --blue:#2457ff;--blue2:#173fc0;--soft:#eef4ff;--green:#12805c;--yellow:#946300;--red:#b42318;
  --shadow:0 18px 45px rgba(20,32,56,.08);
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,Segoe UI,Arial,sans-serif;line-height:1.65}
.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:10}
.brand{display:flex;align-items:center;gap:12px}
.logo{width:44px;height:44px;border-radius:15px;background:var(--blue);color:#fff;font-weight:900;font-size:22px;display:grid;place-items:center}
.brand span{display:block;color:var(--muted);font-size:13px;margin-top:-3px}
.status{background:var(--soft);color:var(--blue2);border-radius:999px;padding:7px 13px;font-weight:800;font-size:13px}
.page{max-width:1080px;margin:28px auto 70px;padding:0 20px}
.card{background:var(--card);border:1px solid var(--border);border-radius:26px;padding:28px;margin-bottom:20px;box-shadow:var(--shadow)}
.hero{background:radial-gradient(circle at top right,rgba(36,87,255,.15),transparent 35%),linear-gradient(180deg,#fff,#fbfcff);padding:40px}
.label{display:inline-flex;background:var(--soft);color:var(--blue2);border-radius:999px;padding:7px 12px;font-weight:900;font-size:13px;margin-bottom:14px}
h1{font-size:42px;line-height:1.12;margin:0 0 16px}
h2{font-size:26px;margin:0 0 14px}
.lead{font-size:18px;color:#3d485c;max-width:850px}
.meta,.law-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.meta span,.law-chips span,.badge{background:#f5f7fb;border:1px solid var(--border);border-radius:999px;padding:7px 11px;font-size:13px;font-weight:800;color:#34415a}
.learn-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.learn-grid div{border:1px solid var(--border);border-radius:16px;background:#fbfcff;padding:14px;font-weight:800}
.note{border-left:4px solid var(--blue);background:#f3f7ff;border-radius:16px;padding:16px;margin-top:16px}
.muted{color:var(--muted)}
.section-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.btn{border:0;border-radius:14px;padding:11px 16px;font-weight:900;cursor:pointer;font-family:inherit}
.btn.primary{background:var(--blue);color:white;box-shadow:0 10px 20px rgba(36,87,255,.18)}
.btn.dark{background:#172033;color:#fff}
.accordion{display:grid;gap:10px}
.acc{border:1px solid var(--border);border-radius:18px;background:#fbfcff;overflow:hidden}
.acc-head{width:100%;border:0;background:#fbfcff;padding:14px;display:flex;align-items:center;gap:12px;text-align:left;cursor:pointer;font:inherit}
.acc-head b{min-width:34px;height:34px;border-radius:12px;background:var(--soft);color:var(--blue2);display:grid;place-items:center}
.acc-head span{font-weight:900;flex:1}
.acc-head em{font-style:normal;color:var(--muted);font-size:13px;font-weight:800}
.acc-body{display:none;border-top:1px solid var(--border);background:#fff;padding:14px;grid-template-columns:repeat(3,1fr);gap:10px}
.acc.open .acc-body{display:grid}
.acc-body div{border:1px solid var(--border);border-radius:14px;background:#fbfcff;padding:12px}
.acc-body strong{display:block;margin-bottom:4px}
.acc-body p{margin:0;color:#455066;font-size:14px}
.law-details{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin-top:18px}
.law-card{border:1px solid var(--border);border-radius:18px;background:#fbfcff;padding:18px}
.law-card.warning{background:#fffaf0;border-color:#ffe1a6}
.hidden{display:none!important}
.answer{background:#f4fff9;border:1px solid #ccefe0;border-radius:18px;padding:18px}
.case{border:1px solid var(--border);border-radius:18px;background:#fbfcff;padding:18px;margin:12px 0}
.case b{display:inline-flex;background:#172033;color:#fff;border-radius:999px;padding:5px 11px;font-size:13px}
.scenario{display:grid;gap:10px;margin:14px 0}
.option-card{border:1px solid var(--border);border-radius:16px;background:#fff;padding:14px;cursor:pointer;display:flex;gap:10px}
.option-card:hover,.option-card.selected{background:var(--soft);border-color:#bed0ff}
.result{border:1px solid var(--border);border-radius:18px;background:#fbfcff;padding:18px;margin-top:14px}
.question{border:1px solid var(--border);border-radius:18px;background:#fbfcff;padding:16px;margin:12px 0}
.q-option{display:block;border:1px solid var(--border);border-radius:13px;background:#fff;margin:8px 0;padding:9px;cursor:pointer}
.score{font-size:28px;color:var(--blue2);font-weight:900}
.finish{background:linear-gradient(180deg,#fff,#f7fbff)}
.next{border:1px solid var(--border);border-radius:18px;background:#fff;padding:16px;margin-top:14px}
.next span{display:block;color:var(--muted);font-size:13px;font-weight:800}
@media(max-width:900px){
  .learn-grid,.acc-body,.law-details{grid-template-columns:1fr}
  .section-head{flex-direction:column}
  h1{font-size:32px}
  .topbar{padding:0 18px}
}
/* DIRECTOR_NAV_STYLE_START */
.lesson-switcher{max-width:1180px;margin:14px auto 0;padding:0 24px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.lesson-switcher a,.lesson-switcher span{min-height:42px;display:flex;align-items:center;justify-content:center;text-align:center;border:1px solid var(--border,#dbe3ef);border-radius:8px;background:#fff;color:var(--text,#172033);font-weight:800;text-decoration:none;padding:9px 10px;line-height:1.25}
.lesson-switcher a:hover{border-color:#1f5fbf;background:#eef6ff;color:#164b9b}
.lesson-switcher span{color:var(--muted,#647087);background:#f4f7fb}
.lesson-switcher-bottom{margin:24px auto 6px}
@media(max-width:720px){.lesson-switcher{grid-template-columns:1fr;padding:0 16px}.lesson-switcher a,.lesson-switcher span{justify-content:flex-start;text-align:left}}
/* DIRECTOR_NAV_STYLE_END */