/* Lesson internals only. All page, navbar, sidebar, hero and overview geometry
   remains controlled by the shared /assets/css/site-sidebar.css. */
.crv-section{scroll-margin-top:24px}
.crv-box,.crv-check{margin:22px 0;padding:20px 22px;border:1px solid #c7cbcf;border-radius:14px;background:#f8f8f8}
.crv-box>h3,.crv-check>h3{margin:0 0 14px;color:#34464d;font-size:1.18rem;line-height:1.35}
.crv-box>p:last-child,.crv-check>p:last-child{margin-bottom:0}
.crv-example{background:#fff;border-left:5px solid #657b84}
.crv-key{border-top:5px solid #c7cbcf}
.crv-warning{border-left:5px solid #a37c55;background:#f7f1ea}
.crv-neutral{background:#f4f4f4}
.rm-solution-label{font-weight:800;color:#34464d;border-top:1px solid #dce0e3;padding-top:15px;margin-top:20px}
.crv-answer{border-left:3px solid #657b84;padding:1px 14px;margin-top:18px;background:#f1f4f4;font-weight:650}
.crv-parts{padding-left:25px}
.crv-parts>li{padding-left:5px;margin:14px 0}
.crv-parts>li::marker{font-weight:750}
.crv-question-title{color:#34464d;margin:26px 0 12px}
.crv-figure{max-width:760px;margin:24px auto;padding:14px;border:1px solid #e0e2e4;border-radius:12px;background:white}
.crv-figure img{display:block;width:100%;height:auto}
.crv-figure figcaption{font-size:.88rem;line-height:1.45;color:#535d5f;margin-top:12px}
.crv-area-introduction,.crv-density-above-one{max-width:560px}
.crv-transformation-spread{max-width:100%}
.crv-visual-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.crv-visual-grid.crv-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.crv-visual-grid .crv-figure{margin:18px 0}
.crv-table-scroll{overflow-x:auto;margin:20px 0}
.crv-table{width:100%;border-collapse:collapse;font-size:.96rem}
.crv-table th,.crv-table td{padding:14px 12px;text-align:left;vertical-align:top;border-bottom:1px solid #d7dcdf}
.crv-table th{color:#34464d;background:#eef0f1}
.crv-table tr:nth-child(even){background:#f8f8f8}
.crv-table td:first-child{min-width:110px}
.crv-section .math.display{display:block;max-width:100%;overflow-x:auto;padding:4px 0}
.crv-section .math.inline{display:inline-block;max-width:100%;overflow-x:auto;vertical-align:middle;padding:2px 0}
.crv-section mjx-container[display="true"]{margin:.7em 0!important;text-align:left!important}
.crv-math-hint{display:block;font-size:.78rem;font-style:italic;color:#535d5f;margin:0 0 12px}
.crv-math-hint[hidden]{display:none}
.crv-section code{overflow-wrap:anywhere;background:#eef1f3;color:#243740;padding:3px 5px;border-radius:4px}
.crv-video{padding:20px;margin:28px 0;border:1px solid #c7cbcf;border-radius:14px;background:#f1f4f4}
.crv-video h3{color:#34464d;margin:0 0 12px;font-size:1.18rem}
.crv-video-frame{position:relative;aspect-ratio:16/9;background:#18262d;border-radius:10px;overflow:hidden}
.crv-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.crv-check{border-left:5px solid #756a76}
.crv-check a{font-weight:700}
.crv-solutions{border:1px solid #c7cbcf;border-radius:14px;margin:20px 0}
.crv-solutions>summary{cursor:pointer;font-weight:750;color:#34464d;background:#f1f4f4;padding:16px 20px;border-radius:13px}
.crv-solutions-body{padding:0 20px 20px}
@media(max-width:760px){
 .crv-box,.crv-check,.crv-video{padding:16px 14px}
 .crv-visual-grid,.crv-visual-grid.crv-three{grid-template-columns:minmax(0,1fr)}
 .crv-visual-grid .crv-figure{max-width:520px;margin:10px auto}
 .crv-figure{padding:8px}
 .crv-solutions-body{padding:0 12px 16px}
 .crv-table th,.crv-table td{padding:10px 8px}
}
