/* MATERIALS-14: stage palette and age-appropriate material artwork stay inherited. */
.b40-choice-warning{grid-column:1/-1;font-size:14px;line-height:2;margin:0;color:var(--b40-muted)}
.b40-materials,.b40-plan-summary,.b40-plan-only{--b40-panel:var(--b16-panel,var(--b18-panel,#fff));--b40-text:var(--b16-text,var(--b18-text,#172440));--b40-muted:var(--b16-muted,var(--b18-muted,#58677e));--b40-border:var(--b16-border,var(--b18-border,#dce3ef));--b40-ink:var(--b16-ink,var(--b18-ink,#4f46e5));--b40-soft:var(--b16-soft,var(--b18-soft,#f5f4ff));color:var(--b40-text);min-width:0}
.b40-materials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.b40-materials *,.b40-plan-only *,.b40-plan-summary *{min-width:0;box-sizing:border-box}.b40-tier-heading{grid-column:1/-1;margin:14px 0 0;font-size:19px;font-weight:750;line-height:1.9;color:var(--b40-ink)}.b40-tier-heading:first-child{margin-top:0}.b40-course{border:1px solid var(--b40-border);border-radius:20px;background:var(--b40-panel);padding:22px;overflow:hidden;box-shadow:0 10px 28px #15294c08}.b40-course-head h3,.b40-course-head h4{font-size:21px;line-height:1.9;font-weight:750;margin:0;color:var(--b40-text);overflow-wrap:anywhere}.b40-course-head a{display:inline-flex;align-items:center;min-height:44px;color:inherit}.b40-course-scope,.b40-course-note,.b40-link-state{font-size:14px;line-height:2;color:var(--b40-muted);margin:9px 0}.b40-course .b35-policy{margin:12px 0}.b40-course .b35-policy-badges{display:flex;gap:7px;flex-wrap:wrap}.b40-course .b35-policy-badges>span{display:inline-flex;align-items:center;min-height:32px;border:1px solid var(--b40-border);background:var(--b40-soft);color:var(--b40-ink);padding:3px 9px;border-radius:9px;font-size:13px;line-height:1.8}.b40-course-materials{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.b40-course-materials--single{grid-template-columns:1fr}.b40-course-materials .b16-subject,.b40-course-materials .b13-subject{padding:16px;margin:0;border-radius:14px;box-shadow:none}.b40-course-materials .b16-subject-top{display:none}.b40-course-materials--single>.b16-subject,.b40-course-materials--single>.b13-subject{padding:0;border:0;background:transparent}.b40-course-materials h4,.b40-course-materials h5{font-size:17px;line-height:1.9;font-weight:700;overflow-wrap:anywhere;margin:0 0 9px}.b40-course-materials .b16-activities{grid-template-columns:1fr}.b40-course-materials .b16-activity{min-height:48px;gap:8px;font-size:13px}.b40-course-materials .b16-activity:last-child:nth-child(odd){grid-column:auto}.b40-course-materials .b13-content-links{display:grid;grid-template-columns:1fr;gap:8px}.b40-course-materials .b13-content-links a{display:flex;align-items:center;min-height:48px;gap:8px}.b40-course-materials .b13-content-links b{margin-inline-start:auto}.b40-course-materials .b13-content-links svg{width:21px;height:21px}.b40-choice,.b40-materials>.b37-choice-group{grid-column:1/-1}.b40-choice{border:1px solid var(--b40-border);border-radius:22px;padding:22px;background:var(--b40-soft)}.b40-choice-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.b40-choice-head h3{font-size:21px;font-weight:750;line-height:1.9;margin:0}.b40-choice-head p{font-size:14px;line-height:2;color:var(--b40-muted);margin:5px 0 0}.b40-choice-head>span{display:inline-flex;align-items:center;min-height:38px;padding:5px 12px;border:1px solid var(--b40-border);border-radius:11px;font-size:14px;line-height:1.9;background:var(--b40-panel);color:var(--b40-ink);flex-shrink:0}.b40-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.b40-course--empty{box-shadow:none;border-style:dashed}.b40-link-state{padding:9px 12px;border-radius:10px;background:var(--b40-soft)}.b40-plan-summary{padding:19px 21px;border:1px solid var(--b40-border);border-radius:17px;background:var(--b40-soft);margin-bottom:23px;font-size:14px;line-height:2}.b40-plan-summary p{color:var(--b40-muted);margin:8px 0 0}.b40-plan-facts{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px;color:var(--b40-ink)}.b40-plan-facts strong{font-size:24px;line-height:1.5}.b40-plan-sources{font-size:13px}.b40-plan-only{margin-top:24px;border:1px solid var(--b40-border);border-radius:16px;background:var(--b40-panel);padding:0 18px}.b40-plan-only summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:54px;font-size:14px;line-height:2;font-weight:650;color:var(--b40-ink);cursor:pointer;list-style:none}.b40-plan-only summary::-webkit-details-marker{display:none}.b40-plan-only summary:focus-visible,.b40-course a:focus-visible{outline:3px solid var(--b40-ink);outline-offset:4px;border-radius:6px}.b40-plan-only[open] summary>span{transform:rotate(45deg)}.b40-plan-only>p{font-size:14px;color:var(--b40-muted);line-height:2;margin:0 0 12px}.b40-plan-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding-bottom:18px}.b40-plan-row,.b40-plan-choice{padding:14px;border:1px solid var(--b40-border);border-radius:12px}.b40-plan-row h4,.b40-plan-choice h3{font-size:16px;font-weight:700;line-height:1.9;margin:0}.b40-plan-choice{grid-column:1/-1}.b40-plan-choice>.b40-plan-row{margin-top:10px}.b40-plan-choice>p{font-size:14px;line-height:2;color:var(--b40-muted);margin:5px 0}.b40-plan-row .b35-policy-badges{display:flex;flex-wrap:wrap;gap:6px}.b40-plan-row .b35-policy-badges>span{font-size:12px;line-height:1.9;color:var(--b40-ink)}.b40-standalone>.b16-subject,.b40-standalone>.b13-subject{height:100%;margin:0}
@media(max-width:1000px){.b40-course-materials{grid-template-columns:1fr}.b40-course{padding:18px}.b40-course-head h3,.b40-course-head h4{font-size:19px}}
@media(max-width:720px){.b40-materials,.b40-choice-grid,.b40-plan-rows{grid-template-columns:1fr;gap:14px}.b40-choice{padding:16px;border-radius:17px}.b40-choice-head{flex-wrap:wrap;gap:9px}.b40-choice-head h3{font-size:19px}.b40-choice-head>span{font-size:13px}.b40-plan-summary{padding:16px}.b40-plan-only{padding-inline:14px}.b40-tier-heading{font-size:18px}.b40-course-materials .b16-activity{font-size:14px}.b40-plan-choice{grid-column:auto}}
@media(prefers-reduced-motion:reduce){.b40-materials *,.b40-plan-only *{transition:none!important;animation:none!important}}
