/* TradeSmartCrypto visual lessons v1: first five topics only. */
body.tscv-active{background:#faf8f0}
body.tscv-active .ath-wrap{background:#faf8f0;border-bottom:1px solid #dedfd2;padding:28px 32px}
body.tscv-active .ath-wrap h1{font-family:Georgia,serif;font-size:36px;color:#173e39;line-height:1.15}
body.tscv-active .ath-subject-num{background:#145e55;color:#fffefb;border-radius:50%}
body.tscv-active .ath-badge{border-color:#c3cfbf;color:#145e55;background:#fffefb}
body.tscv-active .ath-time{color:#5b6c65}
body.tscv-active .atc-wrap{background:#faf8f0;padding:24px 28px 36px}
body.tscv-active .atc-content{color:#24463f;font-size:16px;line-height:1.75}
body.tscv-active .elementor-element-293b7bc{gap:0;align-items:flex-start}
body.tscv-active .elementor-element-78ad3c8{width:calc(100% - 260px);max-width:1100px;flex-grow:1;min-width:0}
body.tscv-active .elementor-element-49caa8d{display:none}
body.tscv-active .atl-wrap{background:#fffefb}
.tscv-lesson{--paper:#fffefb;--ink:#173e39;--teal:#145e55;--gold:#936c22;--line:#dedfd2;--pale:#edf3ed;--muted:#5b6c65;width:100%;max-width:980px;margin:auto;overflow-wrap:anywhere}
.tscv-lesson *{box-sizing:border-box;min-width:0}
.tscv-hero{padding:30px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(135deg,#fffefb 60%,#edf3ed);position:relative}
.tscv-hero:before{content:'';display:block;width:52px;height:5px;border-radius:6px;background:#b28b3a;margin-bottom:22px}
.tscv-lesson .tscv-eyebrow{display:block;text-transform:uppercase;letter-spacing:1.6px;font-size:11px;font-weight:800;color:var(--teal);margin-bottom:12px}
.tscv-lesson .tscv-headline{font:700 clamp(27px,3.1vw,43px)/1.14 Georgia,serif;color:var(--ink);margin:0 0 20px;max-width:24ch}
.tscv-lesson .tscv-intro{font-size:17px;max-width:70ch}
.tscv-lesson .tscv-goals{font-size:14px;border-top:1px solid var(--line);padding-top:18px;margin-bottom:0}
.tscv-jumps{display:flex;flex-wrap:wrap;gap:8px;padding:20px 0}
.tscv-lesson a{color:var(--teal);text-decoration:underline;text-underline-offset:3px}
.tscv-jumps a{font-size:12px;text-decoration:none;border:1px solid var(--line);border-radius:30px;background:var(--paper);padding:8px 12px;line-height:1.4}
.tscv-jumps a:hover{background:var(--pale);border-color:var(--teal)}
.tscv-section{scroll-margin-top:90px;background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:26px;margin-bottom:22px}
body.tscv-active .tscv-section h2{font:700 27px/1.25 Georgia,serif;color:var(--ink);margin:0 0 24px;letter-spacing:-.4px}
.tscv-section h2>span{color:var(--gold);font:600 16px/1.5 sans-serif;white-space:nowrap}
body.tscv-active .tscv-lesson h3{font-size:18px;color:var(--teal);line-height:1.3;margin:20px 0 10px}
.tscv-lesson p{margin:0 0 16px}
.tscv-lesson strong{color:var(--ink)}
.tscv-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}
.tscv-card{position:relative;border:1px solid var(--line);border-radius:14px;background:linear-gradient(145deg,#fffefb,#f6f7ef);padding:22px}
body.tscv-active .tscv-card h3{margin:14px 0 10px}
.tscv-card p:last-child{margin-bottom:0}
.tscv-number{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #c3cfbf;background:var(--pale);border-radius:50%;color:var(--teal);font-size:13px;font-weight:800}
.tscv-prose>p>strong:first-child{color:var(--teal)}
.tscv-scene{border-left:4px solid #b28b3a;background:#f5f0e2;padding:24px;border-radius:0 14px 14px 0;margin:24px 0}
.tscv-lesson .tscv-takeaway{border-top:1px solid #d5caa9;padding-top:14px;margin:16px 0 0}
.tscv-reveal{border:1px solid var(--line);border-radius:12px;margin:12px 0;background:#fffefb;overflow:hidden}
.tscv-reveal summary{cursor:pointer;padding:18px 20px;color:var(--teal);font-weight:700;font-size:15px;list-style-position:outside;margin-left:20px}
.tscv-reveal[open]{border-color:#9bb8a8;background:#f5f8f1}
.tscv-reveal[open] summary{border-bottom:1px solid var(--line)}
.tscv-reveal>div{padding:18px 20px}
.tscv-reveal>div p:last-child{margin-bottom:0}
.tscv-lab{border:1px solid #acbfae;background:var(--pale);border-radius:16px;padding:24px;margin:24px 0}
.tscv-inputs{display:flex;gap:16px;flex-wrap:wrap;margin:16px 0}
.tscv-inputs label{flex:1 1 180px;font-size:13px;font-weight:700;color:var(--ink)}
.tscv-inputs input{display:block;width:100%;min-height:46px;margin-top:8px;border:1px solid #91a998;border-radius:8px;background:#fffefb;padding:10px 12px;color:var(--ink);font-size:16px}
.tscv-lab output{display:block;font-size:22px;font-weight:700;line-height:1.4;color:var(--teal);margin:18px 0;overflow-wrap:anywhere}
.tscv-lesson .tscv-small{font-size:13px;color:var(--muted);line-height:1.6;margin-bottom:0}
.tscv-chain{display:flex;align-items:center;gap:10px;justify-content:center;margin:24px 0}
.tscv-chain>div{background:var(--pale);border:1px solid #a7b9a4;border-radius:12px;flex:1;padding:20px 12px;text-align:center}
.tscv-chain strong,.tscv-chain span{display:block}.tscv-chain strong{font-size:19px}.tscv-chain>span{font-size:26px;color:var(--gold)}.tscv-chain div span{font-size:13px;margin-top:10px}
.tscv-lesson :is(a,summary,input):focus-visible{outline:3px solid #936c22;outline-offset:4px}
@media(min-width:1400px){body.tscv-active .elementor-element-78ad3c8{margin-right:auto;margin-left:auto}}
@media(max-width:900px){body.tscv-active .ath-inner{margin-left:0}body.tscv-active .elementor-element-81955f3{width:200px}body.tscv-active .elementor-element-78ad3c8{width:calc(100% - 200px)}}
@media(max-width:767px){body.tscv-active .elementor-element-78ad3c8{width:100%;max-width:100%}body.tscv-active .ath-wrap{padding:22px 16px}body.tscv-active .ath-wrap h1{font-size:30px}body.tscv-active .atc-wrap{padding:18px 12px 26px}.tscv-hero{padding:24px 20px}.tscv-section{padding:22px 18px;border-radius:14px}.tscv-grid{grid-template-columns:1fr}.tscv-lesson .tscv-headline{font-size:30px}.tscv-jumps{gap:7px}.tscv-jumps a{font-size:12px;max-width:100%}body.tscv-active .tscv-section h2{font-size:25px}.tscv-card{padding:20px}.tscv-lab{padding:20px 16px}.tscv-scene{padding:20px 16px}.tscv-chain{flex-direction:column}.tscv-chain>div{width:100%}.tscv-chain>span{transform:rotate(90deg)}.tscv-inputs{display:block}.tscv-inputs label{display:block;margin-top:12px}.tscv-lab output{font-size:21px}}
@media print{.tscv-jumps,.tscv-inputs{display:none}.tscv-reveal>div{display:block!important}.tscv-section{break-inside:avoid}}

.tscv-property{margin:16px 0}.tscv-property h3{margin-top:0!important}

body.tscv-active .atl-ch-name{background:#edf3ed;border-left-color:#a67b28;color:#173e39}body.tscv-active .atl-topic-link.active{color:#145e55;border-left-color:#145e55;background:#f4f6ee}body.tscv-active .atl-test-btn{background:#145e55;color:#fffefb}body.tscv-active .atl-progress-card{background:#f5f0e2;border-color:#d4c7a2}body.tscv-active .atl-progress-label{color:#795b1e}

/* Crypto Fundamentals batch two: semantic tables and preserved wallet details. */
.tscv-table-wrap{width:100%;overflow-x:auto;margin:22px 0}.tscv-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:14px}.tscv-table caption{text-align:left;font-size:13px;color:#5b6c65;margin-bottom:12px}.tscv-table th,.tscv-table td{text-align:left;padding:12px 10px;border:1px solid #dedfd2;overflow-wrap:anywhere}.tscv-table thead{background:#edf3ed;color:#145e55}.tscv-table tbody th{font-weight:600}.tscv-table tbody tr:nth-child(even){background:#faf8f0}.tscv-reveal>p{padding:18px 20px;margin:0!important}.tscv-lesson [id]{scroll-margin-top:90px}
@media(max-width:767px){.tscv-table{font-size:12px}.tscv-table th,.tscv-table td{padding:10px 6px}.tscv-chain strong{font-size:18px}}

/* v1.1.2: align the whole header with the lesson card at every reading breakpoint. */
body.tscv-active .ath-wrap{display:grid;grid-template-columns:20% minmax(0,1fr);padding-inline:0}
body.tscv-active .ath-wrap .ath-inner{grid-column:2;width:100%;max-width:1100px;box-sizing:border-box;margin:0;padding:0 28px;min-width:0}
body.tscv-active .ath-wrap .ath-inner>.ath-breadcrumb,body.tscv-active .ath-wrap .ath-inner>.ath-title-row,body.tscv-active .ath-wrap .ath-inner>.ath-meta{width:100%;max-width:980px;margin-left:auto;margin-right:auto;box-sizing:border-box}
@media(min-width:1400px){body.tscv-active .ath-wrap .ath-inner{margin-inline:auto}}
@media(max-width:900px){body.tscv-active .ath-wrap{grid-template-columns:200px minmax(0,1fr)}}
@media(max-width:767px){body.tscv-active .ath-wrap{grid-template-columns:minmax(0,1fr)}body.tscv-active .ath-wrap .ath-inner{grid-column:1;padding-inline:12px}}

/* Reading Charts: code-native accessible figures; no remote chart requests. */
.tscv-chart{margin:22px 0;padding:16px;border:1px solid #dedfd2;border-radius:14px;background:#f8faf3}.tscv-chart svg{display:block;width:100%;max-width:600px;height:auto;margin:auto;color:#24463f;overflow:visible}.tscv-chart svg text{fill:#24463f;font-family:Arial,sans-serif;font-size:20px}.tscv-chart figcaption{font-size:13px;line-height:1.6;color:#5b6c65;margin-top:16px}.tscv-view-controls:not([hidden]){display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.tscv-view-controls button{min-height:44px;padding:10px 18px;border:1px solid #9ab4a7;background:#fffefb;color:#145e55;border-radius:24px;font-size:14px;font-weight:700;cursor:pointer}.tscv-view-controls button[aria-pressed=true]{background:#145e55;color:#fffefb;border-color:#145e55}.tscv-lesson [hidden]{display:none!important}.tscv-lesson button:focus-visible{outline:3px solid #936c22;outline-offset:4px}.tscv-view-panel{padding:4px 0}.tscv-view-panel>p:first-child{margin-bottom:8px}.tscv-chart+.tscv-reveal{margin-top:16px}@media(max-width:767px){.tscv-chart{padding:8px}.tscv-chart svg{max-width:100%}.tscv-chart figcaption{font-size:12px}.tscv-view-controls button{flex:1 1 auto;padding:10px 12px}.tscv-view-controls:not([hidden]){gap:8px}}
