.bsp-app {
  --bsp-ink: #18263b;
  --bsp-muted: #68758a;
  --bsp-line: #e4e9f0;
  --bsp-paper: #ffffff;
  --bsp-bg: #f4f7fb;
  --bsp-blue: #2456a6;
  --bsp-blue-deep: #173d7a;
  --bsp-orange: #e87c32;
  --bsp-maroon: #792c48;
  --bsp-green: #21835e;
  --bsp-radius: 18px;
  color: var(--bsp-ink);
  background: var(--bsp-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  width: 100%;
  max-width: 1180px;
  margin: 24px auto;
  overflow: hidden;
  border: 1px solid #e9edf3;
  border-radius: 24px;
  box-shadow: 0 18px 60px rgba(25, 46, 79, .10);
  isolation: isolate;
}
.bsp-app * { box-sizing: border-box; }
.bsp-app button, .bsp-app input, .bsp-app textarea { font: inherit; }
.bsp-app button { cursor: pointer; }
.bsp-app button:focus-visible, .bsp-app input:focus-visible, .bsp-app textarea:focus-visible { outline: 3px solid rgba(40, 105, 196, .28); outline-offset: 2px; }
.bsp-app h1, .bsp-app h2, .bsp-app h3, .bsp-app h4, .bsp-app p { margin-top: 0; }
.bsp-app h1, .bsp-app h2, .bsp-app h3, .bsp-app h4 { color: var(--bsp-ink); line-height: 1.2; letter-spacing: -.025em; }
.bsp-app p { color: var(--bsp-muted); }
.bsp-app .bsp-hero { position: relative; padding: 32px 5.4% 18px; color: #fff; overflow: hidden; background: radial-gradient(circle at 83% 8%, rgba(255,255,255,.18), transparent 24%), linear-gradient(118deg, #153e7c 0%, #2457a5 51%, #e87835 100%); }
.bsp-app .bsp-hero::after { content: ""; position: absolute; width: 380px; height: 380px; right: -125px; bottom: -260px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.045), 0 0 0 75px rgba(255,255,255,.035); pointer-events: none; }
.bsp-app .bsp-hero-top { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.bsp-app .bsp-brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.45); border-radius: 13px; color: #fff; background: rgba(255,255,255,.12); font-size: 19px; font-weight: 800; }
.bsp-app .bsp-eyebrow, .bsp-app .bsp-grade { color: rgba(255,255,255,.78); font-size: 10px; font-weight: 800; letter-spacing: .16em; margin: 0; }
.bsp-app .bsp-hero-content { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 24px; min-height: 260px; position: relative; z-index: 1; padding: 22px 0 28px; }
.bsp-app .bsp-grade { margin-bottom: 12px; }
.bsp-app .bsp-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 48px); max-width: 660px; margin-bottom: 14px; }
.bsp-app .bsp-hero-copy { max-width: 600px; color: rgba(255,255,255,.82); font-size: 15px; margin-bottom: 22px; }
.bsp-app .bsp-btn { border: 0; border-radius: 11px; padding: 11px 17px; font-size: 13px; font-weight: 750; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; line-height: 1.35; }
.bsp-app .bsp-btn:hover { transform: translateY(-1px); }
.bsp-app .bsp-btn-light { color: #1b447f; background: #fff; box-shadow: 0 8px 20px rgba(12,34,70,.18); }
.bsp-app .bsp-btn-primary { color: #fff; background: var(--bsp-blue); box-shadow: 0 6px 16px rgba(36,86,166,.16); }
.bsp-app .bsp-btn-primary:hover { background: var(--bsp-blue-deep); }
.bsp-app .bsp-btn-dark { color: #fff; background: #1b2a42; }
.bsp-app .bsp-btn-outline { border: 1px solid #cbd5e3; color: #25436c; background: #fff; }
.bsp-app .bsp-btn-quiet { color: #53627a; background: #edf1f6; }
.bsp-app .bsp-btn-danger { color: #9a3344; border: 1px solid #f1cbd1; background: #fff8f8; }
.bsp-app .bsp-btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
.bsp-app .bsp-hero-art { min-height: 225px; position: relative; display: grid; place-items: center; }
.bsp-app .bsp-orbit { position: absolute; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; transform: rotate(-24deg); }
.bsp-app .bsp-orbit-one { width: 260px; height: 150px; }
.bsp-app .bsp-orbit-two { width: 330px; height: 195px; transform: rotate(36deg); }
.bsp-app .bsp-code-card { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; width: 245px; padding: 25px 18px 21px; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 20px; background: rgba(14,36,76,.36); box-shadow: 0 18px 35px rgba(18,35,70,.18); backdrop-filter: blur(8px); transform: rotate(-5deg); }
.bsp-app .bsp-code-card span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.27); border-radius: 8px; font-size: 13px; font-weight: 800; }
.bsp-app .bsp-code-card span:nth-child(2) { background: rgba(255,171,83,.25); }
.bsp-app .bsp-code-card strong { width: 100%; text-align: center; margin-top: 9px; font-size: 11px; letter-spacing: .12em; }
.bsp-app .bsp-floating { position: absolute; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.36); border-radius: 12px; background: rgba(255,255,255,.16); color: #fff; font-weight: 800; backdrop-filter: blur(4px); }
.bsp-app .bsp-float-one { width: 43px; height: 43px; top: 15px; left: 12%; }
.bsp-app .bsp-float-two { width: 51px; height: 51px; right: 5%; bottom: 17px; font-size: 20px; }
.bsp-app .bsp-float-three { width: 38px; height: 38px; right: 18%; top: 5px; font-size: 23px; }
.bsp-app .bsp-hero-bottom { display: flex; justify-content: space-between; gap: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.7); font-size: 9px; font-weight: 800; letter-spacing: .12em; position: relative; z-index: 1; }
.bsp-app .bsp-nav { display: flex; gap: 5px; padding: 10px 4.5%; overflow-x: auto; background: #fff; border-bottom: 1px solid var(--bsp-line); scrollbar-width: thin; }
.bsp-app .bsp-nav-btn { flex: 0 0 auto; border: 0; border-radius: 9px; padding: 10px 13px; color: #637187; background: transparent; font-size: 12px; font-weight: 750; white-space: nowrap; }
.bsp-app .bsp-nav-btn:hover { color: #214e91; background: #f1f5fa; }
.bsp-app .bsp-nav-btn.is-active { color: #fff; background: #234f91; box-shadow: 0 5px 14px rgba(35,79,145,.18); }
.bsp-app .bsp-main { min-height: 480px; padding: 34px 5.2% 42px; background: #f7f9fc; scroll-margin-top: 16px; }
.bsp-app .bsp-loading { padding: 50px 10px; text-align: center; color: var(--bsp-muted); }
.bsp-app .bsp-section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.bsp-app .bsp-kicker { color: #7b8aa0; font-size: 9px; font-weight: 850; letter-spacing: .15em; margin: 0 0 8px; }
.bsp-app .bsp-section-head h2 { margin-bottom: 8px; font-size: clamp(25px, 3vw, 34px); }
.bsp-app .bsp-section-head p:not(.bsp-kicker) { margin-bottom: 0; max-width: 680px; font-size: 14px; }
.bsp-app .bsp-progress-chip { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 104px; height: 104px; border: 1px solid #dce5f0; border-radius: 50%; background: #fff; box-shadow: 0 7px 24px rgba(24,49,85,.06); }
.bsp-app .bsp-progress-chip strong { color: #234f91; font-size: 26px; line-height: 1.1; }
.bsp-app .bsp-progress-chip span { color: #8290a3; font-size: 9px; }
.bsp-app .bsp-learning-path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 21px 24px; margin-bottom: 34px; border: 1px solid #e3e9f1; border-radius: 16px; background: #fff; position: relative; }
.bsp-app .bsp-path-line { height: 2px; position: absolute; top: 42px; left: 12%; right: 12%; background: #e8edf4; }
.bsp-app .bsp-path-step { display: flex; align-items: center; flex-direction: column; text-align: center; gap: 3px; position: relative; z-index: 1; }
.bsp-app .bsp-path-step span { display: grid; place-items: center; width: 42px; height: 42px; border: 4px solid #fff; border-radius: 50%; color: #fff; background: #28589a; box-shadow: 0 0 0 1px #dbe4f0; font-size: 11px; font-weight: 850; }
.bsp-app .bsp-path-step:nth-child(3) span { background: var(--bsp-orange); }
.bsp-app .bsp-path-step:nth-child(4) span { background: var(--bsp-maroon); }
.bsp-app .bsp-path-step strong { color: #2a3950; font-size: 12px; margin-top: 5px; }
.bsp-app .bsp-path-step small { color: #8995a7; font-size: 10px; }
.bsp-app .bsp-section { margin-bottom: 28px; }
.bsp-app .bsp-section-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 17px; }
.bsp-app .bsp-section-title h2, .bsp-app .bsp-section-title h3 { margin-bottom: 0; }
.bsp-app .bsp-section-title h2 { font-size: 23px; }
.bsp-app .bsp-section-title h3 { font-size: 20px; }
.bsp-app .bsp-muted { color: #8592a5; font-size: 11px; }
.bsp-app .bsp-module-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bsp-app .bsp-module-card { --module: #2456a6; padding: 19px; border: 1px solid #e1e7ef; border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(25,46,79,.035); position: relative; overflow: hidden; }
.bsp-app .bsp-module-card::before { content: ""; position: absolute; height: 4px; left: 0; right: 0; top: 0; background: var(--module); }
.bsp-app .bsp-orange { --module: #e87c32; --module-soft: #fff4eb; --module-dark: #b65c1c; }
.bsp-app .bsp-blue { --module: #2456a6; --module-soft: #edf4ff; --module-dark: #1a478d; }
.bsp-app .bsp-maroon { --module: #792c48; --module-soft: #f9eff3; --module-dark: #69223d; }
.bsp-app .bsp-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; }
.bsp-app .bsp-card-number { color: var(--module); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.bsp-app .bsp-status { padding: 4px 8px; border-radius: 30px; color: #748298; background: #f1f4f8; font-size: 9px; font-weight: 750; }
.bsp-app .bsp-module-card h3 { font-size: 19px; margin-bottom: 7px; }
.bsp-app .bsp-module-card p { font-size: 12px; min-height: 42px; margin-bottom: 15px; }
.bsp-app .bsp-card-meta { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid #eef1f5; color: #8490a1; font-size: 10px; }
.bsp-app .bsp-module-card .bsp-btn { width: 100%; }
.bsp-app .bsp-callout { display: flex; align-items: center; gap: 16px; padding: 20px 22px; margin: 8px 0 20px; border-radius: 16px; color: #fff; background: linear-gradient(110deg, #213d68, #792c48); }
.bsp-app .bsp-callout-icon { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.24); border-radius: 13px; color: #ffca83; background: rgba(255,255,255,.08); font-size: 22px; }
.bsp-app .bsp-callout h3 { color: #fff; margin-bottom: 4px; font-size: 17px; }
.bsp-app .bsp-callout p { color: rgba(255,255,255,.75); font-size: 12px; margin: 0; }
.bsp-app .bsp-callout .bsp-btn { margin-left: auto; flex: 0 0 auto; }
.bsp-app .bsp-storage-note { display: flex; align-items: center; gap: 8px; color: #8894a6; font-size: 10px; margin: 15px 0 0; }
.bsp-app .bsp-storage-note span { color: #3d9a72; font-size: 9px; }
.bsp-app .bsp-lesson-banner { display: flex; align-items: center; justify-content: space-between; padding: 27px 30px; margin-bottom: 18px; border-radius: 18px; color: #fff; background: linear-gradient(115deg, var(--module-dark), var(--module)); position: relative; overflow: hidden; }
.bsp-app .bsp-lesson-banner::after { content: ""; position: absolute; right: 80px; top: -75px; width: 220px; height: 220px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.05), 0 0 0 60px rgba(255,255,255,.04); }
.bsp-app .bsp-lesson-banner .bsp-kicker { color: rgba(255,255,255,.7); }
.bsp-app .bsp-lesson-banner h2 { color: #fff; margin-bottom: 7px; font-size: clamp(26px, 3vw, 34px); }
.bsp-app .bsp-lesson-banner p:not(.bsp-kicker) { color: rgba(255,255,255,.78); margin: 0; font-size: 13px; }
.bsp-app .bsp-lesson-stamp { display: flex; align-items: center; justify-content: center; flex-direction: column; flex: 0 0 76px; height: 76px; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); font-size: 28px; font-weight: 850; position: relative; z-index: 1; }
.bsp-app .bsp-lesson-stamp small { font-size: 7px; letter-spacing: .12em; }
.bsp-app .bsp-content-grid, .bsp-app .bsp-code-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; margin-bottom: 17px; }
.bsp-app .bsp-panel { padding: 23px; margin-bottom: 17px; border: 1px solid #e3e9f0; border-radius: 16px; background: #fff; box-shadow: 0 5px 18px rgba(25,46,79,.025); }
.bsp-app .bsp-panel h3 { font-size: 19px; margin-bottom: 10px; }
.bsp-app .bsp-main-concept .bsp-lead { color: #53637a; font-size: 14px; line-height: 1.75; }
.bsp-app .bsp-analogy { display: flex; gap: 12px; padding: 14px; margin-top: 18px; border-radius: 12px; background: var(--module-soft); }
.bsp-app .bsp-analogy-icon { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; color: var(--module); background: #fff; font-size: 19px; }
.bsp-app .bsp-analogy strong { color: var(--module-dark); font-size: 11px; }
.bsp-app .bsp-analogy p { font-size: 11px; margin: 4px 0 0; line-height: 1.6; }
.bsp-app .bsp-objectives { background: #fbfcfe; }
.bsp-app .bsp-objectives ul, .bsp-app .bsp-code-explain { padding-left: 18px; margin: 12px 0 0; color: #5d6b7f; font-size: 12px; }
.bsp-app .bsp-objectives li, .bsp-app .bsp-code-explain li { margin-bottom: 9px; padding-left: 3px; }
.bsp-app .bsp-objectives li::marker { color: var(--module); }
.bsp-app .bsp-traits { padding-bottom: 20px; }
.bsp-app .bsp-trait-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.bsp-app .bsp-trait { padding: 14px; border-radius: 12px; background: #f7f9fc; }
.bsp-app .bsp-trait span { display: block; color: var(--module); font-size: 10px; font-weight: 900; margin-bottom: 7px; }
.bsp-app .bsp-trait p { color: #56657a; font-size: 11px; line-height: 1.55; margin: 0; }
.bsp-app .bsp-examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bsp-app .bsp-example { padding: 16px; border: 1px solid #e9edf3; border-radius: 13px; background: #fcfdff; }
.bsp-app .bsp-example-heading span { display: block; color: var(--module); font-size: 8px; font-weight: 900; letter-spacing: .13em; margin-bottom: 7px; }
.bsp-app .bsp-example h4 { font-size: 14px; margin-bottom: 10px; }
.bsp-app .bsp-example ol { padding-left: 17px; margin: 0 0 13px; color: #59687c; font-size: 11px; }
.bsp-app .bsp-example li { padding-left: 3px; margin-bottom: 5px; }
.bsp-app .bsp-example li::marker { color: var(--module); font-weight: 800; }
.bsp-app .bsp-why { padding-top: 11px; margin: 0; border-top: 1px solid #e9edf3; font-size: 10px; line-height: 1.55; }
.bsp-app .bsp-why strong { color: var(--module-dark); }
.bsp-app .bsp-code-grid { grid-template-columns: 1fr 1fr; }
.bsp-app .bsp-code { position: relative; padding: 16px; min-height: 140px; overflow-x: auto; border: 1px solid #273b58; border-radius: 12px; color: #e6efff; background: #172840; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 11px; line-height: 1.75; white-space: pre; }
.bsp-app .bsp-code code { color: inherit; font-family: inherit; }
.bsp-app .bsp-text-btn { padding: 0; border: 0; color: var(--module); background: transparent; font-size: 11px; font-weight: 800; }
.bsp-app .bsp-code-explain { margin-top: 13px; font-size: 10px; }
.bsp-app .bsp-code-explain li { margin-bottom: 5px; }
.bsp-app .bsp-code-explain li::marker { color: var(--module); }
.bsp-app .bsp-game-panel { border-top: 4px solid var(--module); }
.bsp-app .bsp-panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 18px; }
.bsp-app .bsp-panel-heading h3 { margin-bottom: 7px; }
.bsp-app .bsp-panel-heading p:not(.bsp-kicker) { font-size: 12px; margin: 0; max-width: 700px; }
.bsp-app .bsp-game-icon, .bsp-app .bsp-big-icon, .bsp-app .bsp-project-icon { display: grid; place-items: center; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 13px; color: var(--module); background: var(--module-soft); font-size: 22px; font-weight: 850; }
.bsp-app .bsp-sort-list { display: grid; gap: 8px; max-width: 760px; }
.bsp-app .bsp-sort-card { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; gap: 12px; min-height: 54px; padding: 8px 10px; border: 1px solid #e3e9f0; border-radius: 11px; background: #fbfcfe; color: #4d5e74; font-size: 12px; }
.bsp-app .bsp-sort-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: var(--module); background: var(--module-soft); font-size: 11px; font-weight: 850; }
.bsp-app .bsp-sort-controls { display: flex; gap: 5px; }
.bsp-app .bsp-sort-controls button { width: 30px; height: 30px; border: 1px solid #dbe2eb; border-radius: 8px; color: #43546b; background: #fff; font-weight: 800; }
.bsp-app .bsp-sort-controls button:disabled { opacity: .3; cursor: not-allowed; }
.bsp-app .bsp-game-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 15px; }
.bsp-app .bsp-game-feedback { padding: 11px 13px; margin-top: 13px; border-radius: 10px; color: #68768a; background: #f5f7fa; font-size: 11px; }
.bsp-app .bsp-game-feedback.is-good { color: #216c50; background: #edf8f2; }
.bsp-app .bsp-game-feedback.is-bad { color: #9c5b24; background: #fff6eb; }
.bsp-app .bsp-inline-success { color: #207b57; font-size: 11px; font-weight: 750; }
.bsp-app .bsp-inline-warning { display: block; padding: 10px 12px; border-radius: 9px; color: #9c5b24; background: #fff4e8; font-size: 11px; }
.bsp-app .bsp-game-progress { display: flex; align-items: center; gap: 12px; margin: 5px 0 18px; color: #8490a3; font-size: 10px; }
.bsp-app .bsp-game-progress > div { flex: 1; height: 6px; border-radius: 20px; background: #edf0f5; overflow: hidden; }
.bsp-app .bsp-game-progress i { display: block; height: 100%; border-radius: inherit; background: var(--module); }
.bsp-app .bsp-game-progress strong { color: var(--module-dark); }
.bsp-app .bsp-game-question h4 { font-size: 16px; margin-bottom: 14px; }
.bsp-app .bsp-choice-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.bsp-app .bsp-choice { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 9px 11px; text-align: left; border: 1px solid #e0e6ee; border-radius: 10px; color: #53637a; background: #fff; font-size: 11px; }
.bsp-app .bsp-choice:hover { border-color: var(--module); background: var(--module-soft); }
.bsp-app .bsp-choice span { display: grid; place-items: center; flex: 0 0 25px; height: 25px; border-radius: 7px; color: var(--module); background: var(--module-soft); font-weight: 850; }
.bsp-app .bsp-game-question > .bsp-btn { margin-top: 12px; }
.bsp-app .bsp-game-result { text-align: center; padding: 22px; border-radius: 14px; background: var(--module-soft); }
.bsp-app .bsp-game-result strong { display: block; color: var(--module-dark); font-size: 38px; line-height: 1.1; }
.bsp-app .bsp-game-result span { color: #77869a; font-size: 11px; }
.bsp-app .bsp-game-result p { margin: 10px 0 16px; font-size: 12px; }
.bsp-app .bsp-quiz-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: var(--module); background: var(--module-soft); font-size: 14px; font-weight: 900; }
.bsp-app .bsp-question { min-width: 0; padding: 16px 0; border: 0; border-bottom: 1px solid #edf0f4; margin: 0; }
.bsp-app .bsp-question legend { display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 0; color: #33445b; font-size: 12px; font-weight: 750; }
.bsp-app .bsp-question legend span { display: grid; place-items: center; flex: 0 0 25px; height: 25px; border-radius: 8px; color: var(--module); background: var(--module-soft); font-size: 10px; }
.bsp-app .bsp-quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 12px; padding: 12px 0 0 35px; }
.bsp-app .bsp-quiz-options label { display: flex; align-items: flex-start; gap: 7px; color: #68758a; font-size: 11px; cursor: pointer; }
.bsp-app .bsp-quiz-options input { accent-color: var(--module); margin: 3px 0 0; }
.bsp-app .bsp-quiz-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-top: 16px; }
.bsp-app .bsp-last-score { color: #7a8799; font-size: 11px; }
.bsp-app .bsp-last-score strong { color: var(--module-dark); }
.bsp-app .bsp-quiz-result { margin-top: 15px; }
.bsp-app .bsp-quiz-score { display: flex; align-items: center; gap: 13px; padding: 13px; border-radius: 11px; background: #edf8f2; }
.bsp-app .bsp-quiz-score strong { color: #207b57; font-size: 23px; }
.bsp-app .bsp-quiz-score span { color: #557b69; font-size: 11px; }
.bsp-app .bsp-quiz-review { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.bsp-app .bsp-quiz-review > div { padding: 10px; border-radius: 9px; background: #f5f7fa; }
.bsp-app .bsp-quiz-review > div.is-correct { background: #eff8f3; }
.bsp-app .bsp-quiz-review > div.is-wrong { background: #fff5ed; }
.bsp-app .bsp-quiz-review strong { font-size: 10px; color: #526176; }
.bsp-app .bsp-quiz-review p { font-size: 10px; margin: 4px 0 0; }
.bsp-app .bsp-action-panel { border-top: 4px solid #24916c; }
.bsp-app .bsp-action-panel .bsp-kicker { color: #39876b; }
.bsp-app .bsp-big-icon { color: #21835e; background: #eaf7f0; }
.bsp-app .bsp-action-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.bsp-app .bsp-action-layout h4 { font-size: 13px; margin-bottom: 12px; }
.bsp-app .bsp-action-list { list-style: none; padding: 0; margin: 0; }
.bsp-app .bsp-action-list li { padding: 9px 0; border-bottom: 1px solid #eef1f5; }
.bsp-app .bsp-action-list label { display: flex; align-items: flex-start; gap: 9px; color: #59687b; font-size: 11px; cursor: pointer; }
.bsp-app .bsp-action-list input { accent-color: #25865f; margin: 3px 0 0; flex: 0 0 auto; }
.bsp-app .bsp-action-list input:checked + span { color: #82908f; text-decoration: line-through; }
.bsp-app .bsp-action-note { padding: 15px; border-radius: 12px; background: #f4faf7; }
.bsp-app .bsp-action-note label { display: block; color: #426956; font-size: 11px; font-weight: 750; margin-bottom: 9px; }
.bsp-app textarea, .bsp-app input[type="text"] { width: 100%; max-width: 100%; }
.bsp-app .bsp-action-note textarea, .bsp-app .bsp-project-field textarea, .bsp-app .bsp-project-field input { display: block; padding: 10px 11px; border: 1px solid #dce5e1; border-radius: 9px; color: #43536a; background: #fff; font-size: 11px; line-height: 1.55; box-shadow: none; }
.bsp-app .bsp-action-note textarea { margin-bottom: 11px; }
.bsp-app textarea { resize: vertical; }
.bsp-app .bsp-small-note { color: #89959f; font-size: 9px; margin: 9px 0 0; }
.bsp-app .bsp-action-note .bsp-inline-success { display: inline-block; margin-top: 9px; }
.bsp-app .bsp-lesson-bottom { display: flex; justify-content: space-between; gap: 12px; padding-top: 5px; }
.bsp-app .bsp-footer { display: flex; justify-content: space-between; gap: 14px; padding: 17px 5.2%; color: #8491a4; background: #fff; border-top: 1px solid #e6ebf2; font-size: 10px; }
.bsp-app .bsp-toast { position: sticky; bottom: 15px; z-index: 5; width: max-content; max-width: calc(100% - 30px); margin: 0 auto 14px; padding: 10px 16px; border-radius: 9px; color: #fff; background: #213a5f; box-shadow: 0 8px 25px rgba(20,40,70,.2); font-size: 11px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: .2s ease; }
.bsp-app .bsp-toast.is-visible { opacity: 1; transform: translateY(0); }
.bsp-app .bsp-project-badge { display: grid; place-items: center; width: 88px; height: 88px; flex: 0 0 88px; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #2456a6, #792c48); font-size: 15px; font-weight: 900; line-height: 1.1; text-align: center; letter-spacing: .09em; }
.bsp-app .bsp-project-brief { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.bsp-app .bsp-project-brief > div { padding: 16px; border: 1px solid #e3e9f0; border-radius: 13px; background: #fff; }
.bsp-app .bsp-project-brief span { color: #2456a6; font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.bsp-app .bsp-project-brief h3 { font-size: 14px; margin: 6px 0; }
.bsp-app .bsp-project-brief p { font-size: 10px; margin: 0; }
.bsp-app .bsp-project-form .bsp-section-title { margin-bottom: 20px; }
.bsp-app .bsp-project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bsp-app .bsp-project-field { display: block; min-width: 0; }
.bsp-app .bsp-project-field > span { display: block; color: #53627a; font-size: 11px; font-weight: 800; margin-bottom: 6px; }
.bsp-app .bsp-project-field textarea, .bsp-app .bsp-project-field input { border-color: #dfe6ef; }
.bsp-app .bsp-project-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #edf0f4; }
.bsp-app .bsp-project-message { color: #21835e; font-size: 11px; margin-top: 10px; }
.bsp-app .bsp-rubric { margin-top: 18px; }
.bsp-app .bsp-rubric-table { border: 1px solid #e8edf3; border-radius: 10px; overflow: hidden; }
.bsp-app .bsp-rubric-table > div { display: flex; justify-content: space-between; gap: 20px; padding: 9px 12px; border-bottom: 1px solid #edf0f4; color: #667489; font-size: 11px; }
.bsp-app .bsp-rubric-table > div:first-child { color: #34455d; background: #f4f7fb; }
.bsp-app .bsp-rubric-table > div:last-child { border-bottom: 0; }
.bsp-app .bsp-rubric-table b { color: #284e83; }
.bsp-app .bsp-progress-panel { padding-top: 24px; }
.bsp-app .bsp-progress-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; border-bottom: 1px solid #edf0f4; }
.bsp-app .bsp-progress-row > div:first-child { display: flex; align-items: center; gap: 12px; }
.bsp-app .bsp-progress-number { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: #2456a6; background: #edf4ff; font-size: 11px; font-weight: 900; }
.bsp-app .bsp-progress-row strong { display: block; color: #33445b; font-size: 12px; }
.bsp-app .bsp-progress-row small { display: block; color: #8995a6; font-size: 10px; }
.bsp-app .bsp-progress-status { display: flex; align-items: center; gap: 12px; color: #9aa4b2; font-size: 10px; }
.bsp-app .bsp-progress-status .is-done { color: #21835e; font-weight: 800; }
.bsp-app .bsp-progress-status b { color: #294f85; font-size: 12px; min-width: 45px; text-align: right; }
.bsp-app .bsp-progress-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 20px; }

@media (max-width: 800px) {
  .bsp-app { margin: 12px auto; border-radius: 17px; }
  .bsp-app .bsp-hero { padding: 24px 5% 15px; }
  .bsp-app .bsp-hero-content { grid-template-columns: 1fr .65fr; min-height: 230px; gap: 5px; }
  .bsp-app .bsp-hero-art { transform: scale(.82); transform-origin: center right; }
  .bsp-app .bsp-main { padding: 27px 4.5% 32px; }
  .bsp-app .bsp-module-grid { gap: 10px; }
  .bsp-app .bsp-module-card { padding: 15px; }
  .bsp-app .bsp-content-grid { grid-template-columns: 1fr; gap: 0; }
  .bsp-app .bsp-trait-grid { grid-template-columns: repeat(2, 1fr); }
  .bsp-app .bsp-examples { grid-template-columns: 1fr 1fr; }
  .bsp-app .bsp-footer { padding-right: 4.5%; padding-left: 4.5%; }
}
@media (max-width: 560px) {
  .bsp-app { margin: 8px auto; border-radius: 14px; font-size: 15px; }
  .bsp-app .bsp-hero { padding: 19px 18px 13px; }
  .bsp-app .bsp-brand-mark { width: 36px; height: 36px; }
  .bsp-app .bsp-eyebrow { font-size: 8px; letter-spacing: .1em; }
  .bsp-app .bsp-hero-content { display: block; min-height: 0; padding: 24px 0 20px; }
  .bsp-app .bsp-hero h1 { max-width: 440px; font-size: 32px; }
  .bsp-app .bsp-hero-copy { font-size: 12px; max-width: 440px; }
  .bsp-app .bsp-hero-art { display: none; }
  .bsp-app .bsp-hero-bottom { flex-wrap: wrap; font-size: 8px; gap: 7px 14px; }
  .bsp-app .bsp-nav { padding: 8px 10px; gap: 3px; }
  .bsp-app .bsp-nav-btn { padding: 9px 10px; font-size: 10px; }
  .bsp-app .bsp-main { padding: 23px 14px 28px; }
  .bsp-app .bsp-section-head { align-items: flex-start; }
  .bsp-app .bsp-section-head h2 { font-size: 25px; }
  .bsp-app .bsp-section-head p:not(.bsp-kicker) { font-size: 12px; }
  .bsp-app .bsp-progress-chip { width: 76px; height: 76px; }
  .bsp-app .bsp-progress-chip strong { font-size: 20px; }
  .bsp-app .bsp-progress-chip span { max-width: 60px; text-align: center; font-size: 8px; }
  .bsp-app .bsp-learning-path { padding: 14px 8px; gap: 2px; }
  .bsp-app .bsp-path-line { top: 34px; }
  .bsp-app .bsp-path-step span { width: 34px; height: 34px; font-size: 9px; }
  .bsp-app .bsp-path-step strong { font-size: 10px; }
  .bsp-app .bsp-path-step small { font-size: 8px; }
  .bsp-app .bsp-module-grid { grid-template-columns: 1fr; }
  .bsp-app .bsp-module-card p { min-height: 0; }
  .bsp-app .bsp-callout { align-items: flex-start; flex-wrap: wrap; padding: 16px; gap: 11px; }
  .bsp-app .bsp-callout > div:nth-child(2) { flex: 1; min-width: 180px; }
  .bsp-app .bsp-callout .bsp-btn { width: 100%; margin: 0; }
  .bsp-app .bsp-lesson-banner { padding: 20px; }
  .bsp-app .bsp-lesson-banner::after { right: -110px; }
  .bsp-app .bsp-lesson-banner h2 { font-size: 25px; }
  .bsp-app .bsp-lesson-stamp { flex-basis: 57px; width: 57px; height: 57px; font-size: 21px; }
  .bsp-app .bsp-panel { padding: 17px; margin-bottom: 13px; }
  .bsp-app .bsp-panel h3 { font-size: 17px; }
  .bsp-app .bsp-trait-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .bsp-app .bsp-trait { padding: 11px; }
  .bsp-app .bsp-trait p { font-size: 10px; }
  .bsp-app .bsp-examples { grid-template-columns: 1fr; }
  .bsp-app .bsp-code-grid { grid-template-columns: 1fr; gap: 0; }
  .bsp-app .bsp-code { font-size: 10px; }
  .bsp-app .bsp-panel-heading { gap: 10px; }
  .bsp-app .bsp-game-icon, .bsp-app .bsp-big-icon { flex-basis: 38px; width: 38px; height: 38px; }
  .bsp-app .bsp-choice-list { grid-template-columns: 1fr; }
  .bsp-app .bsp-quiz-options { grid-template-columns: 1fr; padding-left: 34px; gap: 8px; }
  .bsp-app .bsp-quiz-review { grid-template-columns: 1fr; }
  .bsp-app .bsp-action-layout { grid-template-columns: 1fr; gap: 15px; }
  .bsp-app .bsp-lesson-bottom { flex-direction: column; }
  .bsp-app .bsp-lesson-bottom .bsp-btn { width: 100%; }
  .bsp-app .bsp-footer { flex-direction: column; gap: 4px; text-align: center; font-size: 9px; }
  .bsp-app .bsp-project-badge { width: 66px; height: 66px; flex-basis: 66px; font-size: 12px; }
  .bsp-app .bsp-project-brief { grid-template-columns: 1fr; }
  .bsp-app .bsp-project-grid { grid-template-columns: 1fr; }
  .bsp-app .bsp-project-actions { flex-direction: column; }
  .bsp-app .bsp-project-actions .bsp-btn { width: 100%; }
  .bsp-app .bsp-progress-row { align-items: flex-start; flex-direction: column; }
  .bsp-app .bsp-progress-status { width: 100%; justify-content: flex-end; }
  .bsp-app .bsp-progress-actions { flex-direction: column; }
  .bsp-app .bsp-progress-actions .bsp-btn { width: 100%; }
}
@media print {
  body * { visibility: hidden !important; }
  .bsp-app, .bsp-app .bsp-main, .bsp-app .bsp-main * { visibility: visible !important; }
  .bsp-app { width: 100% !important; max-width: none !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; }
  .bsp-app .bsp-hero, .bsp-app .bsp-nav, .bsp-app .bsp-footer, .bsp-app .bsp-toast, .bsp-app .bsp-project-actions, .bsp-app .bsp-btn { display: none !important; }
  .bsp-app .bsp-main { padding: 0 !important; background: #fff !important; }
  .bsp-app .bsp-panel, .bsp-app .bsp-project-brief > div { break-inside: avoid; box-shadow: none !important; }
  .bsp-app textarea, .bsp-app input { border: 1px solid #aaa !important; color: #111 !important; }
  .bsp-app .bsp-project-grid { display: block !important; }
  .bsp-app .bsp-project-field { display: block !important; margin-bottom: 12px; }
  .bsp-app .bsp-project-field textarea { min-height: 55px; }
}
