/* Lesson presentation shared with the reference geometry task. */
.ri-learning.rl-reference{--ri-text:#334155;--ri-muted:#64748b;--ri-border:#e2e8f0;color:#334155;font-size:16px;line-height:1.7}
.rl-reference .ri-breadcrumb{font-size:14px;gap:8px;margin-bottom:24px}
.rl-reference .ri-breadcrumb a{color:#64748b}.rl-reference .ri-breadcrumb .rl-current{color:#2563eb;font-weight:500}
.rl-reference .ri-hero{display:flex;align-items:flex-start;gap:16px;padding:24px;border-radius:16px;background:linear-gradient(to right,#1e3a8a,#1e40af,#0284c7)}
.rl-hero-icon{display:grid;place-items:center;flex-shrink:0;padding:12px;background:#ffffff33;border-radius:12px}.rl-hero-icon svg{width:32px;height:32px}
.rl-hero-copy{flex:1;min-width:0}.rl-reference .ri-hero h1{font-size:24px;font-weight:700;line-height:1.35;margin:0 0 8px}.rl-reference .ri-hero p{font-size:16px;color:#bfdbfe;margin:8px 0 0}
.rl-reference .ri-section{border-radius:12px;border:1px solid #e2e8f0;background:#fff;padding:24px;margin:16px 0}
.rl-reference .ri-hero+.ri-section{margin-top:32px}.rl-reference .ri-section-heading{gap:12px;flex-wrap:wrap;margin-bottom:16px}.rl-reference .ri-section h2{font-size:18px;font-weight:700;color:#0f172a}.rl-reference .ri-section h3{color:#0f172a}
.rl-badge{display:inline-flex;align-items:center;gap:8px;border:1px solid #bfdbfe;border-radius:999px;padding:4px 12px;font-size:14px;font-weight:500;background:#dbeafe;color:#1e40af;white-space:nowrap}.rl-badge svg{width:16px;height:16px}.rl-badge-example{background:#dcfce7;border-color:#bbf7d0;color:#166534}.rl-badge-method{background:#fef3c7;border-color:#fde68a;color:#92400e}
.rl-prof{display:grid;place-items:center;margin-left:auto;padding:8px;border:0;border-radius:8px;background:#eef2ff;color:#4338ca;cursor:pointer;flex-shrink:0}.rl-prof:hover{background:#e0e7ff}.rl-prof svg{height:20px;width:20px}
.rl-reference .ri-rule{padding:0;background:none;border:0;border-radius:0}.rl-reference .ri-rule p{margin:0 0 16px}.rl-reference .ri-method{margin:16px 0 0;display:grid;gap:8px}.rl-reference .ri-method li{background:#f8fafc;border-radius:8px;padding:12px 12px 12px 48px;margin:0;font-size:16px;min-height:48px}.rl-reference .ri-method li:before{left:12px;top:14px;width:24px;height:24px;background:#dbeafe;color:#2563eb;font-size:12px}
.rl-reference .ri-example{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:20px}.rl-reference .ri-two-cols{grid-template-columns:1fr;gap:16px;margin-top:16px}.rl-reference .ri-visual{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:20px;margin:24px auto}.rl-reference .ri-lab-display .ri-visual{margin:0;border:0;padding:0}
.rl-attention{margin:20px 0 0;padding:16px;border-radius:8px;background:#fffbeb;border:1px solid #fde68a;color:#92400e}.rl-attention strong{display:block;margin-bottom:6px}
.rl-reference .ri-jump{margin:20px 0}.rl-reference .ri-section-number{border-radius:999px;width:auto;height:auto;padding:4px 12px;font-size:14px;background:#dbeafe;color:#1e40af;border:1px solid #bfdbfe}
.rl-reference .ri-progress-row{margin-top:16px}.rl-reference .ri-arabic{background:#f8fafc;padding:12px 16px;border:1px solid #e2e8f0;border-radius:8px}
@media(max-width:600px){.rl-reference .ri-hero{padding:20px;gap:12px}.rl-reference .ri-hero h1{font-size:21px}.rl-hero-icon{padding:8px}.rl-hero-icon svg{width:24px;height:24px}.rl-reference .ri-section{padding:18px}.rl-reference .ri-section-heading{gap:8px}.rl-reference .ri-visual{padding:10px}}
@media(prefers-reduced-motion:no-preference){.rl-reference .ri-section{animation:rl-appear .35s ease-out both}@keyframes rl-appear{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}
@media print{.rl-prof{display:none}.rl-reference .ri-hero{background:#fff;color:#0f172a;border:1px solid #cbd5e1}.rl-reference .ri-hero p{color:#334155}}
