        .cr-inline { display: inline; }
        .adsbygoogle { display: block; }
        .cr-toc-heading { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }

        /* Intro/PageContent are sanitized rich HTML from the admin
           content editor's toolbar (bold/list/tip/code/image/formula/
           H2/H3), rendered raw. Code-block chrome (.cr-code-block/
           .cr-code-header/.cr-code-dots/.cr-code-copy-btn) and the
           plain pre/code fallback now live in the shared cr-style.css
           -- h2/h3 stay here since they're specific to this page
           (Question/Explanation/ShortcutMethod content elsewhere
           doesn't support headings). */
        .cr-rich-content h2 {
            font-family: var(--font-display);
            font-size: 20px;
            font-weight: 700;
            color: var(--navy);
            margin: 10px 0 10px;
        }
        .cr-rich-content h2:first-child { margin-top: 0; }
        .cr-rich-content h3 {
            font-family: var(--font-display);
            font-size: 16px;
            font-weight: 700;
            color: var(--navy);
            margin: 14px 0 8px;
        }
        .cr-rich-content h3:first-child { margin-top: 0; }
        .cr-rich-content a {
            color: var(--navy-light);
            text-decoration: underline;
            text-underline-offset: 2px;
        }
        .cr-rich-content a:hover { color: var(--accent-dark); }
        .cr-content-type-badge {
            display: inline-block;
            font-family: var(--font-display);
            font-size: 11px;
            font-weight: 700;
            padding: 2px 10px;
            border-radius: 20px;
            background: rgba(255,255,255,0.15);
            color: #fff;
            margin-left: 10px;
            vertical-align: middle;
        }
        .cr-content-meta-line {
            font-family: var(--font-body);
            font-size: 13px;
            color: rgba(255,255,255,0.7);
            margin-top: 6px;
        }
        .cr-intro-box {
            border-left: 4px solid var(--accent);
            background: #fffbf0;
            border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
            padding: 14px 18px;
            margin-top: 20px;
            margin-bottom: 20px;
        }
        .cr-intro-box-body {
            font-family: var(--font-body);
            font-size: 15px;
            color: var(--black);
            line-height: 1.6;
        }
        .cr-author-box {
            border: 1px solid #dde3ec;
            border-radius: var(--radius-sm);
            padding: 18px 20px;
            margin-top: 24px;
            margin-bottom: 20px;
            background: #fff;
        }
        .cr-author-box-label {
            font-family: var(--font-body);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 0.4px;
            text-transform: uppercase;
            color: #888;
            margin: 0 0 12px;
        }
        .cr-author-box-row {
            display: flex;
            gap: 14px;
        }
        .cr-author-box-avatar {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            flex-shrink: 0;
            object-fit: cover;
        }
        .cr-author-box-avatar-placeholder {
            background: #0f2744;
            color: #e8a020;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-body);
            font-weight: 700;
            font-size: 18px;
            text-transform: uppercase;
        }
        .cr-author-box-body { min-width: 0; }
        .cr-author-box-name {
            font-family: var(--font-body);
            font-weight: 700;
            font-size: 15px;
            color: var(--black);
            margin: 0;
        }
        .cr-author-box-credentials {
            font-family: var(--font-body);
            font-size: 13px;
            color: #666;
            margin: 2px 0 8px;
        }
        .cr-author-box-bio {
            font-family: var(--font-body);
            font-size: 13px;
            color: #444;
            line-height: 1.6;
            margin: 0 0 10px;
        }
        .cr-author-box-links { display: flex; gap: 8px; flex-wrap: wrap; }
        .cr-author-box-link {
            font-family: var(--font-body);
            font-size: 12px;
            padding: 5px 10px;
            border-radius: 999px;
            border: 1px solid #ccc;
            color: #444;
            text-decoration: none;
        }
        .cr-author-box-link:hover { border-color: #999; }
        .cr-author-box-reviewed {
            font-family: var(--font-body);
            font-size: 12px;
            color: #666;
            margin: 14px 0 0;
            padding-top: 12px;
            border-top: 1px solid #eee;
        }
        .cr-page-content {
            font-family: var(--font-body);
            font-size: 15px;
            color: var(--black);
            line-height: 1.6;
            margin-bottom: 24px;
        }
        .cr-toc-list {
            position: relative;
            display: flex;
            flex-direction: column;
            gap: 14px;
            margin-bottom: 20px;
        }
        /* Timeline connector running through the numbered badges --
           only drawn when there's more than one chapter to connect
           (a single-chapter TOC never renders this list at all, but a
           two-chapter one still gets the line). Positioned to the
           badge's horizontal center (16px item padding + 20px badge
           half-width) and vertically inset so it starts/ends at the
           first/last badge's center rather than overshooting the list. */
        .cr-toc-list::before {
            content: "";
            position: absolute;
            left: 34px;
            top: 20px;
            bottom: 20px;
            width: 2px;
            background: linear-gradient(180deg, var(--accent, #e8a020), var(--border));
        }
        .cr-toc-item {
            position: relative;
            z-index: 1;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 14px 18px 14px 14px;
            display: flex;
            align-items: center;
            gap: 14px;
            text-decoration: none;
            box-shadow: 0 1px 2px rgba(15, 39, 68, 0.05);
            transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
        }
        .cr-toc-item:hover {
            border-color: var(--navy);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(15, 39, 68, 0.10);
        }
        .cr-toc-item-num {
            flex: 0 0 40px;
            height: 40px;
            border-radius: 50%;
            background: #eef2f7;
            color: #33475b;
            font-family: var(--font-display);
            font-size: 15px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 0 0 1px var(--border);
        }
        /* First chapter's badge gets the accent treatment so it reads
           as "start here" against the rest of the plain numbered list. */
        .cr-toc-item-first .cr-toc-item-num {
            background: linear-gradient(135deg, #e8a020, #c97f0a);
            color: #fff;
            box-shadow: 0 3px 8px rgba(201, 127, 10, 0.35);
        }
        .cr-toc-item-body { flex: 1; min-width: 0; }
        .cr-toc-item-title {
            display: block;
            font-family: var(--font-display);
            font-size: 15px;
            font-weight: 700;
            color: var(--navy);
        }
        .cr-toc-item-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 4px;
        }
        .cr-toc-item-meta-part {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 12px;
            color: var(--text-muted);
        }
        .cr-toc-item-meta-part svg { flex: 0 0 auto; }
        .cr-toc-item-chevron { flex: 0 0 16px; color: var(--text-muted); }
        .cr-chapter-nav { margin-top: 8px; }
        .cr-back-to-hub {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-family: var(--font-display);
            font-size: 13px;
            font-weight: 600;
            color: var(--text-muted);
            text-decoration: none;
            margin-bottom: 16px;
        }
        .cr-back-to-hub:hover { color: var(--navy); }
        .cr-pager {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            border-top: 1px solid var(--border);
            padding-top: 16px;
        }
        .cr-pager-card {
            display: flex;
            align-items: center;
            gap: 10px;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 10px;
            padding: 14px 16px;
            text-decoration: none;
            transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
        }
        .cr-pager-card:hover {
            border-color: var(--navy);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(15, 39, 68, 0.10);
        }
        .cr-pager-next { grid-column: 2; justify-content: flex-end; text-align: right; }
        .cr-pager-arrow { flex: 0 0 auto; font-size: 18px; color: var(--navy); }
        .cr-pager-label {
            display: block;
            font-family: var(--font-display);
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: var(--text-muted);
        }
        .cr-pager-title {
            display: block;
            font-family: var(--font-display);
            font-size: 14px;
            font-weight: 700;
            color: var(--navy);
            margin-top: 2px;
        }

        /* Sidebar widened from the shared 260px so thumbnail images
           (see .cr-sidebar-item below) have room to sit next to the
           title instead of forcing tiny text-only rows -- scoped to
           this page only, style-tutorial-new.css's .art-layout stays
           260px for cr-video.aspx/cr-practice.aspx/cr-subject.aspx.
           min-width matches the shared file's own 1024px breakpoint
           (above which it switches to 220px, then 1-column under
           768px) so this override only wins at the desktop width it's
           declared without a media query itself, this rule's equal
           specificity + later source order would otherwise clobber
           those tablet/mobile rules too. */
        @media (min-width: 1025px) {
            .art-layout { grid-template-columns: 1fr 320px; }
        }

        /* Sidebar "More to read" rows -- compact thumbnail + headline
           list (news-site "related stories" pattern), not the bigger
           card grid cr-subject.aspx uses. Thumbnail keeps a strict
           16:9 ratio via aspect-ratio so real images and the
           gradient/letter placeholder are always the same shape. */
        /* Two boxes (chapters + topic/subject) can now both render at
           once -- space them apart when that happens. */
        .art-related-box + .art-related-box { margin-top: 16px; }
        .cr-sidebar-list { list-style: none; margin: 0; padding: 8px 0; }
        .cr-sidebar-list li { border-bottom: 1px solid var(--border); }
        /* "In this guide" shows every chapter, however many there are
           (no TOP in CR_Content_SelectChildren) -- past ~10 rows this
           scrolls internally instead of the sidebar just growing
           forever. Topic/Subject boxes don't need this, they're
           capped at 5 rows server-side. */
        .cr-sidebar-list-scroll {
            max-height: 760px;
            overflow-y: auto;
        }
        .cr-sidebar-list li:last-child { border-bottom: none; }
        /* !important needed on display/padding -- the shared
           style-tutorial-new.css rule ".art-related-box ul li a" (type
           + descendant selectors) outranks this single-class selector
           on specificity alone regardless of source order, and its
           "display: block" would otherwise collapse this into an
           unstyled block layout entirely (no gap, no alignment
           control) rather than the deliberate flex column below --
           thumbnail on top, title/meta stacked underneath. */
        .cr-sidebar-row {
            display: flex !important;
            flex-direction: column;
            align-items: stretch;
            gap: 8px;
            padding: 10px 14px !important;
            text-decoration: none;
        }
        .cr-sidebar-row-thumb {
            display: block;
            flex: none;
            width: 100%;
            aspect-ratio: 16 / 9;
            border-radius: 6px;
            overflow: hidden;
        }
        .cr-sidebar-row-thumb-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            transition: transform 0.2s;
        }
        .cr-sidebar-row:hover .cr-sidebar-row-thumb-img {
            transform: scale(1.06);
        }
        /* Cancels the shared cr-style.css rule ".art-related-box ul li
           a:hover { padding-left: 18px !important; }" -- that indent
           shift read as an unwanted "lift" alongside the thumbnail
           zoom above. Needs the extra .cr-sidebar-list ancestor class
           to out-specify the shared rule's 3 type selectors (ul li a);
           .cr-sidebar-row:hover alone would still lose to it. Not
           editing the shared rule itself since other pages' related
           boxes still rely on that hover indent. */
        .cr-sidebar-list .cr-sidebar-row:hover {
            padding-left: 14px !important;
        }
        .cr-sidebar-row-thumb-placeholder {
            flex: none;
            width: 100%;
            aspect-ratio: 16 / 9;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-display);
            font-size: 18px;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.9);
        }
        .cr-sidebar-row-thumb-placeholder.article { background: linear-gradient(135deg, #7b70e0, #3c3489); }
        .cr-sidebar-row-thumb-placeholder.notes { background: linear-gradient(135deg, #1fae82, #085041); }
        .cr-sidebar-row-thumb-placeholder.tutorial { background: linear-gradient(135deg, #e17a4d, #712b13); }
        .cr-sidebar-row-thumb-placeholder.chapter { background: linear-gradient(135deg, #1d3a63, #0f2744); }
        .cr-sidebar-row-body { min-width: 0; }
        .cr-sidebar-row-title {
            display: block;
            font-family: var(--font-display);
            font-size: 13px;
            font-weight: 600;
            line-height: 1.4;
            color: var(--navy);
        }
        .cr-sidebar-row-meta {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-top: 4px;
        }
        .cr-sidebar-row-badge {
            display: inline-block;
            font-family: var(--font-display);
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            padding: 2px 6px;
            border-radius: 4px;
            background: var(--off-white);
            color: var(--text-muted);
        }
        .cr-sidebar-row-badge.article { background: #eeedfe; color: #3c3489; }
        .cr-sidebar-row-badge.notes { background: #e1f5ee; color: #085041; }
        .cr-sidebar-row-badge.tutorial { background: #faece7; color: #712b13; }
        .cr-sidebar-row-time {
            font-size: 11px;
            color: var(--text-muted);
        }
        /* Puts the "See all" link in the box's own header row, next to
           the heading, instead of a separate line under the list. */
        .cr-sidebar-box-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 10px;
        }
        .cr-sidebar-view-all {
            font-family: var(--font-display);
            font-weight: 700;
            font-size: 12px;
            text-transform: none;
            letter-spacing: normal;
            color: var(--navy);
            text-decoration: none;
            white-space: nowrap;
        }
        .cr-sidebar-view-all:hover { text-decoration: underline; }
