/* Trader journal: Checklist view (brand palette: #001319 / #062A31 / #12565C / #A0E0D8 / #E8D19B / #F8FAFA). */
.cl-panel{display:grid;gap:18px;max-width:980px}
.cl-panel[hidden]{display:none}
.cl-kicker{margin:0 0 6px;font-size:11px;letter-spacing:.22em;color:#a0e0d8;font-weight:600}
.cl-hero{padding:28px;border-radius:20px;border:1px solid rgba(232,209,155,.35);background:linear-gradient(150deg,rgba(232,209,155,.14),rgba(0,42,46,.85) 55%)}
.cl-hero h2{margin:0 0 6px;font-size:clamp(26px,3.4vw,40px);line-height:1.2;color:#f8fafa}
.cl-sub{margin:0 0 16px;color:rgba(248,250,250,.78);font-size:16px}
.cl-badges{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
.cl-badges li{display:inline-flex;align-items:center;gap:9px;padding:8px 16px;border-radius:999px;border:1px solid rgba(160,224,216,.45);background:rgba(160,224,216,.1);color:#f8fafa;font-weight:600;font-size:14px}
.cl-badges b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e8d19b;color:#001319;font-size:12px}
.cl-card{padding:24px;border-radius:20px;border:1px solid #12565c;background:#002a2e}
.cl-card h3{margin:0 0 6px;font-size:clamp(20px,2.4vw,26px);color:#f8fafa}
.cl-hint{margin:0 0 4px;color:rgba(248,250,250,.62);font-size:14px}
.cl-main{border-color:rgba(232,209,155,.4)}
.cl-main-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.cl-score{display:flex;align-items:baseline;gap:6px;color:rgba(248,250,250,.6)}
.cl-score b{font-size:clamp(34px,4vw,48px);line-height:1;color:#e8d19b}
.cl-bar{height:8px;border-radius:99px;background:rgba(248,250,250,.1);overflow:hidden;margin:14px 0 6px}
.cl-bar i{display:block;height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,#12565c,#a0e0d8);transition:width .25s}
.cl-group{margin:16px 0 0;padding:0;border:0;display:grid;gap:8px}
.cl-group legend{display:flex;align-items:center;gap:10px;margin-bottom:8px;padding:0;font-weight:700;font-size:17px;color:#f8fafa}
.cl-group legend span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#a0e0d8;color:#001319;font-size:13px}
.cl-group legend small{font-weight:400;color:rgba(248,250,250,.58);font-size:13px}
.cl-item{display:flex;gap:14px;align-items:flex-start;padding:14px 16px;border-radius:14px;border:1px solid rgba(18,86,92,.9);background:rgba(0,19,25,.55);cursor:pointer;min-height:48px}
.cl-item:hover{border-color:rgba(160,224,216,.6)}
.cl-item input{flex:none;width:22px;height:22px;margin:2px 0 0;accent-color:#7fd8a4}
.cl-item b{display:block;color:#f8fafa;font-size:16px;line-height:1.4}
.cl-item em{display:block;margin-top:3px;font-style:normal;color:rgba(248,250,250,.62);font-size:14px;line-height:1.55}
.cl-item:has(input:checked){border-color:#7fd8a4;background:rgba(127,216,164,.14)}
.cl-item:has(input:checked) b{color:#a0e0d8}
.cl-verdict{margin:18px 0 10px;padding:14px 18px;border-radius:14px;border:1px solid rgba(255,154,143,.6);background:rgba(255,154,143,.12);color:#f8fafa;font-weight:700;font-size:17px;text-align:center}
.cl-verdict.ok{border-color:#7fd8a4;background:rgba(127,216,164,.18);color:#a0e0d8}
.cl-reset{display:block;margin:0 auto;padding:10px 20px;min-height:44px;border-radius:999px;border:1px solid rgba(248,250,250,.25);background:transparent;color:rgba(248,250,250,.75);cursor:pointer;font:inherit}
.cl-reset:hover{border-color:#e8d19b;color:#e8d19b}
.cl-styles{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:10px}
.cl-styles li{display:grid;grid-template-columns:minmax(0,220px) 1fr;gap:14px;align-items:center;padding:14px 16px;border-radius:14px;background:rgba(0,19,25,.55);border:1px solid rgba(18,86,92,.9)}
.cl-styles b{display:block;color:#e8d19b;font-size:18px}
.cl-styles small{color:rgba(248,250,250,.6);font-size:13px}
.cl-pairs{margin:0;display:flex;flex-wrap:wrap;gap:8px}
.cl-pairs span{padding:7px 14px;border-radius:999px;border:1px solid rgba(160,224,216,.5);background:rgba(160,224,216,.1);color:#f8fafa;font-weight:600;font-size:15px}
.cl-pairs i{font-style:normal;color:#e8d19b;margin:0 3px}
.cl-note{margin:14px 0 0;color:rgba(248,250,250,.7);font-size:14px;line-height:1.6}
.cl-stop{border-color:rgba(255,154,143,.55)}
.cl-stop .cl-kicker{color:#ff9a8f}
.cl-stop ol{margin:14px 0 0;padding:0;list-style:none;counter-reset:cl;display:grid;gap:10px}
.cl-stop li{counter-increment:cl;position:relative;padding:12px 16px 12px 54px;border-radius:14px;background:rgba(255,154,143,.1);border:1px solid rgba(255,154,143,.4)}
.cl-stop li::before{content:counter(cl);position:absolute;left:14px;top:12px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#ff9a8f;color:#f8fafa;font-weight:700;font-size:14px}
.cl-stop li b{display:block;color:#f8fafa;font-size:16px}
.cl-stop li em{display:block;margin-top:2px;font-style:normal;color:rgba(248,250,250,.68);font-size:14px;line-height:1.55}
.cl-close{margin:6px 0 0;text-align:center;font-size:clamp(20px,2.4vw,28px);font-weight:700;color:#f8fafa;line-height:1.5}
.cl-close span{display:block;margin-top:6px;font-size:16px;font-weight:500;color:#e8d19b}
.cl-disc{margin:0 0 6px;text-align:center;color:rgba(248,250,250,.5);font-size:12.5px;letter-spacing:.04em}
@media (max-width:640px){
 .cl-hero,.cl-card{padding:18px}
 .cl-styles li{grid-template-columns:1fr}
 .cl-item{padding:14px}
 .cl-main-head{align-items:center}
}
/* pair picker */
.cl-tfgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0 10px}
.cl-tfcol{display:grid;gap:10px;align-content:start}
.cl-tfhead{margin:0;font-size:12px;letter-spacing:.14em;color:rgba(248,250,250,.6);font-weight:600}
.cl-tfcol button{min-height:48px;border-radius:10px;border:1px solid #12565c;background:rgba(0,19,25,.55);color:#a0e0d8;font:inherit;font-weight:800;font-size:18px;cursor:pointer}
.cl-tfcol button:hover{border-color:rgba(160,224,216,.7)}
.cl-tfcol[data-col=htf] button.on{background:#e8d19b;border-color:#e8d19b;color:#001319}
.cl-tfcol[data-col=ltf] button.on{background:#12565c;border-color:#a0e0d8;color:#f8fafa}
.cl-tfcol button.rec{border-color:#e8d19b;box-shadow:0 0 0 2px rgba(232,209,155,.35);color:#e8d19b}
.cl-tfresult{margin:0 0 6px;padding:12px 16px;border-radius:12px;border:1px solid rgba(248,250,250,.2);background:rgba(0,19,25,.55);color:rgba(248,250,250,.8);font-weight:600;line-height:1.5}
.cl-tfresult.ok{border-color:#7fd8a4;background:rgba(127,216,164,.15);color:#a0e0d8}
.cl-tfresult.bad{border-color:rgba(255,154,143,.6);background:rgba(255,154,143,.12);color:#f8fafa}
/* chart figures */
.cl-fig{margin:18px 0 0;padding:16px;border-radius:16px;border:1px solid rgba(18,86,92,.9);background:rgba(0,19,25,.55)}
.cl-fig figcaption{margin:0 0 10px;color:#f8fafa;font-size:16px}
.cl-fig figcaption b{color:#e8d19b}
.cl-svgwrap svg{display:block;width:100%;height:auto;border-radius:12px;background:#001319}
.cl-legend{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px}
.cl-legend li{display:flex;gap:10px;align-items:flex-start;color:rgba(248,250,250,.82);font-size:14.5px;line-height:1.5}
.cl-legend b{flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e8d19b;color:#001319;font-size:13px}
.cl-fignote{margin:12px 0 0;color:rgba(248,250,250,.65);font-size:13.5px;line-height:1.6}
.cl-fignote .r{color:#ff9a8f;font-weight:700}
.cl-fignote .g{color:#8faaae;font-weight:700}
@media (max-width:640px){.cl-fig{padding:12px}}
.cl-svgwrap{overflow-x:auto}
.cl-svgwrap svg{min-width:620px}
/* e-book walkthrough */
.cl-book{margin-top:16px;padding:14px;border-radius:18px;border:1px solid rgba(232,209,155,.35);background:rgba(0,19,25,.55);outline:none}
.cl-book:focus-visible{box-shadow:0 0 0 2px #a0e0d8}
.cl-book-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.cl-book-tag{padding:5px 14px;border-radius:999px;background:#12565c;color:#f8fafa;font-weight:800;font-size:14px;letter-spacing:.06em}
.cl-book-tag[data-tf=M15]{background:#e8d19b;color:#001319}
.cl-book-tag[data-tf="แผน"]{background:#a0e0d8;color:#001319}
.cl-book-page{color:rgba(248,250,250,.65);font-size:14px;font-weight:600}
.cl-book-img{position:relative;border-radius:12px;overflow:hidden;background:#001319;border:1px solid rgba(18,86,92,.9)}
.cl-book-img img{display:block;width:100%;height:auto}
.cl-book h4{margin:14px 0 6px;font-size:clamp(19px,2.2vw,24px);color:#e8d19b}
.cl-book p{margin:0;color:rgba(248,250,250,.85);font-size:16px;line-height:1.65}
.cl-book-nav{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px}
.cl-book-nav>button{min-height:46px;padding:0 18px;border-radius:999px;border:1px solid #a0e0d8;background:rgba(160,224,216,.12);color:#f8fafa;font:inherit;font-weight:700;cursor:pointer}
.cl-book-nav>button:disabled{opacity:.35;cursor:default}
.cl-book-dots{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.cl-book-dots button{width:12px;height:12px;padding:0;border-radius:50%;border:0;background:rgba(248,250,250,.28);cursor:pointer}
.cl-book-dots button.on{background:#e8d19b;transform:scale(1.25)}
@media (max-width:640px){.cl-book-nav>button{padding:0 12px;font-size:14px}.cl-book-dots{gap:6px}}

/* visual feed */
.cl-top{padding:6px 2px 0}
.cl-top h2{margin:0 0 4px;font-size:clamp(26px,3.4vw,38px);line-height:1.2;color:#f8fafa}
.cl-sub{margin:0;color:rgba(248,250,250,.7);font-size:16px}
.cl-feed{display:grid;gap:22px}
.cl-shot{margin:0;padding:14px;border-radius:20px;border:1px solid rgba(232,209,155,.3);background:rgba(0,19,25,.55)}
.cl-shot-top{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.cl-shot-n{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e8d19b;color:#001319;font-weight:800}
.cl-shot-top b{font-size:clamp(18px,2.2vw,22px);color:#f8fafa}
.cl-shot-why{margin:12px 2px 2px;color:rgba(248,250,250,.9);font-size:clamp(15.5px,1.6vw,17px);line-height:1.7}
.cl-sec{margin:10px 0 -4px;font-size:13px}
.cl-step{display:grid;gap:12px}
.cl-step[hidden]{display:none}
.cl-ann{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}

/* full width */
.cl-panel{max-width:1400px;width:100%}
.cl-shot{padding:0;overflow:hidden}
.cl-shot-top{padding:14px 18px 12px;margin:0}
.cl-shot .cl-book-img{border-radius:0;border-left:0;border-right:0}
.cl-shot-why{margin:0;padding:16px 18px 18px;font-size:clamp(16px,1.5vw,18px)}
@media (max-width:640px){.cl-shot-top{padding:12px 14px 10px}.cl-shot-why{padding:14px}}

/* one picture fits one screen */
.cl-shot .cl-book-img{aspect-ratio:var(--ar,1.5);width:min(100%,calc((100vh - 290px) * var(--ar,1.5)));min-width:min(100%,300px);margin:0 auto}
.cl-shot .cl-book-img img{width:100%;height:100%}
/* picker: no gold, high contrast */
.cl-tfcol button{background:#002a2e;border:1px solid #5e8c91;color:#f8fafa;font-weight:800}
.cl-tfcol button:hover{border-color:#a0e0d8}
.cl-tfcol[data-col=htf] button.on,.cl-tfcol[data-col=ltf] button.on{background:#a0e0d8;border-color:#a0e0d8;color:#001319}
.cl-tfcol button.rec{background:#12565c;border-color:#a0e0d8;color:#f8fafa;box-shadow:0 0 0 2px rgba(160,224,216,.45)}

/* checklist rows */
.cl-item{align-items:center;min-height:0;padding:14px 16px}
.cl-item input{margin:0}
.cl-item>span{display:block;line-height:1.45}
.cl-item b{font-size:17px;line-height:1.45}
.cl-main-head .cl-hint{margin:4px 0 0}

/* wide screens: chart on the left, big explanation on the right so the card is always full */
@media (min-width:1000px){
 .cl-shot[data-layout=side]{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,440px);grid-template-areas:"top top" "img why"}
 .cl-shot[data-layout=side] .cl-shot-top{grid-area:top}
 .cl-shot[data-layout=side] .cl-book-img{grid-area:img;width:min(100%,calc((100vh - 200px) * var(--ar,1.5)));margin:0}
 .cl-shot[data-layout=side] .cl-shot-why{grid-area:why;align-self:center;padding:28px 32px;font-size:clamp(18px,1.45vw,22px);line-height:1.8}
}

/* closing CTA */
.cl-cta{padding:clamp(20px,3vw,34px);border-radius:20px;border:1px solid rgba(232,209,155,.5);background:linear-gradient(150deg,rgba(232,209,155,.16),rgba(0,42,46,.9) 60%);text-align:center}
.cl-cta-badge{display:inline-block;margin:0 0 12px;padding:6px 16px;border-radius:999px;background:#e8d19b;color:#001319;font-weight:800;font-size:14px}
.cl-cta h3{margin:0 0 10px;font-size:clamp(22px,2.6vw,32px);line-height:1.35;color:#f8fafa}
.cl-cta>p:not(.cl-cta-badge){margin:0 auto;max-width:720px;color:rgba(248,250,250,.88);font-size:clamp(16px,1.5vw,19px);line-height:1.75}
.cl-cta-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:20px}
.cl-cta-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 26px;border-radius:999px;background:#e8d19b;color:#001319;font-weight:800;text-decoration:none}
.cl-cta-btn.line{background:transparent;color:#f8fafa;border:1px solid #a0e0d8}

/* beat the brand gold gradient on generic buttons */
body.bt .cl-panel .cl-tfcol button{background-image:none;background-color:#002a2e;border:1px solid #5e8c91;color:#f8fafa}
body.bt .cl-panel .cl-tfcol button:hover{border-color:#a0e0d8}
body.bt .cl-panel .cl-tfcol button.rec{background-color:#12565c;border-color:#a0e0d8;color:#f8fafa}
body.bt .cl-panel .cl-tfcol[data-col] button.on{background-color:#a0e0d8;border-color:#a0e0d8;color:#001319}
body.bt .cl-panel .cl-reset{background-image:none;background-color:transparent;border:1px solid rgba(248,250,250,.35);color:#f8fafa}
body.bt .cl-panel .cl-book-dots button{background-image:none;background-color:rgba(248,250,250,.28);border:0}
body.bt .cl-panel .cl-book-dots button.on{background-color:#e8d19b}

/* connector lines between HTF and LTF buttons */
.cl-tfgrid{position:relative;column-gap:clamp(64px,14vw,260px)}
.cl-links{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.cl-link{fill:none;stroke-width:3;stroke-linecap:round}
.cl-link.ok{stroke:#a0e0d8;stroke-dasharray:10 8;animation:clDash 1s linear infinite}
.cl-link.good{stroke:#7fd8a4;stroke-width:4}
.cl-link.bad{stroke:#ff9a8f;stroke-dasharray:4 9}
@keyframes clDash{to{stroke-dashoffset:-36}}
@media (prefers-reduced-motion:reduce){.cl-link.ok{animation:none}}

/* centered setup title + readable CTA (override page-level a/p colours) */
.cl-setup-head{text-align:center;padding:4px 0 2px}
.cl-setup-tag{display:inline-block;margin:0 0 8px;padding:5px 16px;border-radius:999px;border:1px solid #a0e0d8;color:#a0e0d8;font-weight:800;letter-spacing:.2em;font-size:13px}
.cl-setup-head h3{margin:0 0 6px;font-size:clamp(24px,3vw,36px);line-height:1.3;color:#f8fafa}
.cl-setup-sub{margin:0;color:rgba(248,250,250,.75);font-size:16px}
body.bt .cl-cta .cl-cta-badge{color:#001319!important;background-color:#e8d19b!important;font-weight:800}
body.bt .cl-cta .cl-cta-btn{color:#001319!important;background-color:#e8d19b!important;background-image:none!important;font-weight:800;font-size:17px}
body.bt .cl-cta .cl-cta-btn.line{color:#f8fafa!important;background-color:transparent!important;border:1px solid #a0e0d8}
body.bt .cl-cta h3{color:#f8fafa!important}
body.bt .cl-cta>p:not(.cl-cta-badge){color:#f8fafa!important}

/* sell / buy switch + style descriptions */
.cl-side{display:inline-flex;gap:8px;margin:10px 0 12px;padding:5px;border-radius:999px;border:1px solid #5e8c91;background:#002a2e}
body.bt .cl-panel .cl-side button{min-height:44px;padding:0 22px;border-radius:999px;border:0;background-image:none;background-color:transparent;color:#f8fafa;font:inherit;font-weight:800;cursor:pointer}
body.bt .cl-panel .cl-side button.on{background-color:#a0e0d8;color:#001319}
.cl-styles li{grid-template-columns:minmax(0,340px) 1fr}
.cl-styles small{display:block;margin-top:4px;font-size:14px;line-height:1.5;color:rgba(248,250,250,.8)}
.cl-hint b{color:#f8fafa}
@media (max-width:640px){.cl-styles li{grid-template-columns:1fr}}

.cl-rule{display:inline-block;margin:0 0 8px;padding:8px 18px;border-radius:12px;border:1px solid #e8d19b;background:rgba(232,209,155,.12);color:#f8fafa;font-size:16px}
.cl-rule b{color:#e8d19b}
