/* Candlestick Types page: dedicated light theme, loaded after shared styles */
body:has(.candlestick-page),body:has(.candlestick-page) main {background:#f7fbf8!important;color:#20372b!important}
.candlestick-page .hero{background:radial-gradient(circle at 80% 18%,#d9f6e2 0%,transparent 42%);}
.candlestick-page h1,.candlestick-page h2,.candlestick-page h3,.candlestick-page .pattern-name{color:#173927!important}
.candlestick-page .hero p,.candlestick-page .basic-card p,.candlestick-page .pattern p,.candlestick-page .education>p,.candlestick-page .steps span{color:#516c5b!important}
.candlestick-page .eyebrow,.candlestick-page .kicker{color:#189846!important}
.candlestick-page .hero h1 em{color:#219e4a!important}
.candlestick-page .jump a{background:white;border:1px solid #cae4d2;color:#24623c!important;border-radius:12px;letter-spacing:.3px}
.candlestick-page .jump a:hover{background:#e9f8ed;border-color:#209d49}
.candlestick-page .basic-card{background:#fff;border:1px solid #d9ecdf;border-radius:19px;box-shadow:0 8px 24px #1b62300b}
.candlestick-page .common>div{background:#f5fbf7;border:1px solid #dbece0;border-radius:12px;color:#213d2e}
.candlestick-page .common small,.candlestick-page .labels{color:#587262!important}
.candlestick-page .demo i,.candlestick-page .doji,.candlestick-page .doji:after{background:#66796d}
.candlestick-page .split{gap:12px}
.candlestick-page .split>div{border-radius:14px;background:#218e49!important;color:white!important}
.candlestick-page .split>div:last-child{background:#bf3846!important}
.candlestick-page .grid{border:0;gap:12px}
.candlestick-page .pattern{border:1px solid #dce9df;border-radius:15px;background:#fff!important;box-shadow:0 5px 19px #194b2608}
.candlestick-page .pattern.bull{background:linear-gradient(180deg,#edf9f0,#fff 65%)!important}
.candlestick-page .pattern.bear{background:linear-gradient(180deg,#fff0f1,#fff 65%)!important}
.candlestick-page .bull .pattern-name{color:#187d40!important}
.candlestick-page .bear .pattern-name{color:#b32c3b!important}
.candlestick-page .c{background:#728579}
.candlestick-page .c:after{background:#20a45a}
.candlestick-page .c.down:after{background:#e44b59}
.candlestick-page .education{border:1px solid #d9eade;background:#eefaf1;border-radius:22px;color:#20392b}
.candlestick-page .steps{border-top-color:#cde2d1}
.candlestick-page .steps b{color:#198c43!important}
.candlestick-page .cta{background:linear-gradient(120deg,#e3f7e9,#f4fff7)!important;color:#183b27!important;border-top:1px solid #cde8d5}
.candlestick-page .cta h2,.candlestick-page .cta h2 em{color:#173927!important}
.candlestick-page .cta a{background:#239c47;color:white!important;border-radius:12px;font-size:13px;letter-spacing:0;box-shadow:0 10px 25px #26984a24}
.candlestick-page .cta p{color:#4f6b58!important}
body:has(.candlestick-page)>footer{padding:27px clamp(20px,5vw,70px)!important;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 30px;font-weight:500;letter-spacing:0;color:#536b5b!important}
body:has(.candlestick-page)>footer small{flex-basis:100%;margin-top:0;color:#5b7565!important}
body:has(.candlestick-page)>footer a{display:inline-flex;align-items:center}
body:has(.candlestick-page)>footer img{width:145px;max-width:40vw;height:auto;object-fit:contain}
@media(max-width:650px){.candlestick-page .grid{gap:8px}.candlestick-page .pattern{padding:14px}.candlestick-page .split{gap:7px}}
