.free-start{display:flex;align-items:end;gap:10px;flex-wrap:wrap;border-top:1px solid #d8e3db;border-bottom:1px solid #d8e3db;padding:16px 0}
.free-start label{font-size:12px;font-weight:700;color:#56685c;min-width:190px}
.free-start select,.free-start input,.free-replay select,.free-console input,.free-console select{display:block;width:100%;margin-top:6px;background:#fff;border:1px solid #c8d6cd;border-radius:4px;padding:8px 10px;min-height:39px}
.free-session-head{display:flex;justify-content:space-between;align-items:center;margin:20px 0 8px}.free-session-head h2,.free-milestones h2{font-size:17px;margin:0}.free-session-head span{color:#718076;font-size:12px}
.free-sessions{display:flex;gap:8px;overflow-x:auto;padding:2px 0 14px}.free-session{flex:none;text-align:left;border:1px solid #d7e2d9;background:#fff;border-radius:4px;padding:9px 12px;min-width:150px;color:#344d3b;font-size:12px}.free-session strong,.free-session small{display:block}.free-session small{color:#748478;margin-top:4px}.free-session.active{border-color:#2d7b55;background:#eef6f0}
.free-work-head{display:flex;justify-content:space-between;align-items:end;gap:12px;border-top:1px solid #d8e3db;padding:14px 0 4px}.free-work-head h2{margin:0;font-size:20px}.free-price{text-align:right;font-variant-numeric:tabular-nums}.free-price span,.free-price strong{display:block}.free-price span{font-size:12px;color:#708075}.free-price strong{font-size:25px;color:#235d45}
.free-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px;align-items:start}.free-main{min-width:0}.free-chart-shell{height:520px!important;margin:14px 0 0!important}
.free-replay{display:flex;align-items:center;gap:7px;flex-wrap:wrap;background:#fff;border:1px solid #d6e0d9;border-top:0;border-radius:0 0 5px 5px;padding:10px}.free-replay select{width:90px;margin:0}.free-replay button{min-height:36px;padding:7px 12px}
.free-console{margin-top:14px;background:#fff;border:1px solid #d6e0d9;border-radius:5px;padding:16px}.free-equity{display:flex;justify-content:space-between;border-bottom:1px solid #e2e9e3;padding-bottom:12px}.free-equity small,.free-equity strong{display:block}.free-equity small{color:#738578;font-size:11px}.free-equity strong{font-size:20px;font-variant-numeric:tabular-nums}.free-live-status{padding:12px 0;border-bottom:1px solid #e2e9e3;color:#315b44;font-size:13px;font-weight:700}.free-console h3{font-size:15px;margin:14px 0}.free-console label{display:block;font-weight:700;font-size:12px;margin:11px 0}.free-console .segmented label{margin:0}.free-console .field-title{margin:10px 0 6px}.free-console .form-grid{gap:10px}.free-console .form-grid label{margin:0}.free-risk{font-size:12px;color:#6e7d70}.free-actions-buttons{display:flex;gap:8px;margin-top:10px}.free-disclaimer{font-size:11px;line-height:1.55;color:#687a6c;margin:14px 0 0}
.free-summary{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.free-summary>div{background:#eaf1ec;border-radius:3px;padding:8px 11px;min-width:110px}.free-summary small,.free-summary strong{display:block}.free-summary small{font-size:11px;color:#6e7d70}.free-summary strong{font-size:17px}
.free-history{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:14px}.free-history h3{font-size:15px;margin:12px 0 8px}.free-actions{background:#fff;border:1px solid #dbe5dd;border-radius:4px;padding:10px;max-height:230px;overflow:auto;font-size:12px}.free-actions div{border-bottom:1px solid #edf1ee;padding:5px 0}.free-actions small{color:#75887a;margin-right:7px}.free-milestones{margin-top:30px;border-top:1px solid #d7e2d9;padding-top:16px}.free-milestones .report-grid{margin-top:12px}.free-milestones p{font-size:12px;color:#718078}.free-milestones table{margin-top:12px}
.free-history>section{min-width:0}.free-history .table-wrap{max-width:100%}
@media(max-width:1000px){.free-layout{grid-template-columns:1fr}.free-console{margin-top:0}.free-chart-shell{height:470px!important}}
@media(max-width:760px){.free-start{flex-direction:column;align-items:stretch}.free-start label{min-width:0}.free-work-head h2{font-size:17px}.free-price strong{font-size:21px}.free-history{grid-template-columns:1fr}.free-chart-shell{height:420px!important}.free-replay{gap:5px}.free-replay button{padding:6px 9px;font-size:12px}.free-replay select{width:75px}.free-console{padding:14px}}
/* Reference: the supplied second candlestick screenshot. Keep the chart dominant. */
#free-view .page-head{margin-bottom:12px}#free-view .page-head h1{font-size:24px;margin-bottom:0}
.free-start{padding:12px 0;gap:10px}.free-start label{min-width:135px;flex:1}.free-start label:first-child{flex:.85}
.free-session-head{margin-top:14px}.free-sessions{padding-bottom:8px}.free-work-head{padding-top:12px}.free-work-head .eyebrow{margin-bottom:4px}
.free-layout{grid-template-columns:minmax(0,1fr) 290px;gap:16px}
.free-chart-shell{height:clamp(540px,72vh,820px)!important;border:1px solid #d6e0d9;border-radius:6px;background:#fff}
.free-console{padding:14px}.free-console label{margin:9px 0}
#free-chart{min-height:280px}.chart-readout{height:42px;gap:14px;font-size:12px;overflow-x:auto;scrollbar-width:none}
.chart-readout .ma20{color:#b57916}.chart-readout .ma60{color:#516bbc}.chart-tools .ma20-toggle.active{color:#a96e0c;background:#fcf5e8;border-color:#e5cd9d}.chart-tools .ma60-toggle.active{color:#516bbc;background:#eef1fb;border-color:#c8d1eb}
.chart-toolbar{height:46px}.chart-footer{height:38px}.chart-modes .chart-mode{font-size:13px;padding:6px 14px}
button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #2a7655;outline-offset:2px}
@media(min-width:1600px){.free-layout{grid-template-columns:minmax(0,1fr) 310px}.chart-readout{font-size:13px;gap:18px}}
@media(max-width:1000px){.free-layout{grid-template-columns:1fr}.free-chart-shell{height:560px!important}.free-console{margin-top:0}}
@media(max-width:760px){.free-chart-shell{height:500px!important}.chart-readout{gap:10px;font-size:11px;padding:0 10px}.chart-tools{gap:0}.chart-tool{padding:5px 7px}.free-chart-shell .chart-footer>span{display:none}}

main{max-width:1840px}.free-console{min-width:0}.free-sessions{max-width:100%}.free-milestones{min-width:0}.free-milestones .table-wrap{max-width:100%}
/* Keep application record-table styling out of the chart engine's layout tables. */
.price-chart table{width:auto;border-collapse:collapse;font-size:inherit}
.price-chart td,.price-chart th{padding:0;border:0;white-space:normal;background:transparent}
main{padding-top:18px}.free-setup{margin-bottom:8px}.free-setup>summary{cursor:pointer;color:#4b6557;font-size:13px;padding:8px 0;list-style-position:inside}
.has-session>.page-head{display:none}.has-session .free-work-head{border-top:0;padding-top:4px}.has-session .free-work-head .eyebrow{font-size:11px;color:#758478}
.has-session .free-chart-shell,.has-session .free-console{margin-top:10px!important}

.report-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.metric,#report-content{min-width:0}.metric strong{overflow-wrap:anywhere}@media(max-width:900px){.report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.report-grid{grid-template-columns:1fr}}
/* Simple training: a chart, four methods, and only the next decision. */
.continue-box{display:flex;justify-content:space-between;align-items:center;gap:16px;background:#fff;border:1px solid #d6e0d9;padding:18px;margin:8px 0 16px;border-radius:6px}.continue-box p{margin:4px 0 0;color:#677b70;font-size:13px}
.training-settings{flex:none;font-size:12px}.training-settings[open]{display:flex;gap:10px}.training-settings summary,.session-history>summary,.round-review>summary,.replay-more>summary,.fund-details>summary,.advanced-order>summary,.milestone-details>summary{cursor:pointer;color:#5d7466;font-size:12px;padding:8px 0}.training-settings label{margin:8px 0}.session-history{margin-top:12px}.free-sessions{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));max-height:240px;overflow:auto}.free-session{min-width:0}
.strategy-cards{display:grid;grid-template-columns:1fr 1fr;gap:7px}.strategy-cards button{background:#f7faf8;color:#395e4b;border:1px solid #d5e1d9;border-radius:4px;padding:10px 4px;font-size:13px;font-weight:700}.strategy-cards button.active{background:#e5f2e9;color:#185d3c;border-color:#3d8961}.free-console #strategy-help{font-size:12px;min-height:36px;margin:10px 0}.free-console h3{font-size:13px;margin:14px 0 9px}.trade-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.plan-picks{justify-content:space-between}.plan-picks button{font-size:11px;padding:4px}.free-console textarea,.strategy-warning textarea{font:inherit;display:block;width:100%;border:1px solid #c8d6cd;border-radius:4px;padding:8px;margin-top:6px;resize:vertical}.free-console input{min-width:0}#free-order{margin-top:12px;border-top:1px solid #dce6df;padding-top:4px}.advanced-order label{font-size:12px}.fund-details{font-size:12px}.fund-details .free-equity{margin-top:4px}.free-history{margin-bottom:14px}
.simple-metrics{display:flex;flex-wrap:wrap;gap:32px}.simple-metrics small,.simple-metrics strong{display:block}.simple-metrics small{font-size:12px;color:#718075}.simple-metrics strong{font-size:22px}.free-summary>div{background:transparent;padding-left:0}.free-milestones{margin-top:20px;padding-top:12px}.free-milestones h2{font-size:15px;margin-bottom:12px}
.strategy-warning{width:min(560px,calc(100vw - 32px));border:1px solid #dcc38d;border-radius:8px;padding:24px;color:#263a2e;max-height:85vh;overflow:auto}.strategy-warning::backdrop{background:#17352466}.strategy-warning h2{font-size:20px}.strategy-warning p{font-size:14px}.strategy-warning label{display:block;font-size:13px;font-weight:700}.warning-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}#strategy-warning-error{color:#a7402b}.strategy-warning .muted{font-size:12px}.report-section td details{max-width:320px;white-space:normal;font-size:12px}.report-section td details p{margin:7px 0}.report-section td{vertical-align:top}.replay-more{font-size:12px}.replay-more[open]{display:flex;flex-wrap:wrap;gap:5px}.replay-more select{display:inline-block}
@media(max-width:760px){.continue-box{padding:12px}.free-layout{grid-template-columns:1fr}.simple-metrics{gap:20px}.strategy-warning{padding:18px}.strategy-cards button{padding:12px}.free-console{margin-top:0}}

.editing-level{color:#185f42!important}.editing-level input{outline:2px solid #398c62;outline-offset:1px;background:#f3faf5!important}.plan-picks .active{background:#deeee4;border-color:#73aa8d}.chart-footer{height:auto;min-height:42px;flex-wrap:wrap;padding-top:5px;padding-bottom:5px}.chart-footer>span{font-size:11px}.plan-picks button{min-width:45%}

/* A compact trade ticket; chart actions sit beside the price they change. */
.free-layout{grid-template-columns:minmax(0,1fr) 360px}
.free-console{padding:16px 18px}.free-console h3{font-size:14px;margin:16px 0 10px}.free-console h3 small{font-size:11px;font-weight:400;float:right;color:#607267}
.direction-button{border:2px solid #cbd7d0;border-radius:5px;background:#fff;color:#39564a;font-weight:700;font-size:18px;padding:10px;min-height:48px}
.direction-button[data-open-side="1"].active{background:#b64b43;border-color:#b64b43;color:#fff}
.direction-button[data-open-side="-1"].active{background:#18785b;border-color:#18785b;color:#fff}
.direction-button:hover{border-color:#3c6954}.free-console .context-heading{font-size:12px;color:#607267;margin:14px 0 7px}
.strategy-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.strategy-cards button{padding:8px 2px;font-size:11px;white-space:nowrap}
.strategy-cards button.active{background:#264e3b;border-color:#264e3b;color:#fff}.free-console #strategy-help{min-height:0;margin:7px 0 10px;font-size:11px}
.level-fields{margin:8px 0 12px}.free-console .level-fields label{padding:0;min-width:0}
.level-button{width:100%;border:2px solid #087b57;border-radius:4px;background:#fff;color:#087b57;padding:7px 4px;font-size:12px;font-weight:700;min-height:36px}
.resistance-field .level-button{border-color:#6250aa;color:#6250aa}.support-field .level-button.active{background:#087b57;color:#fff}.resistance-field .level-button.active{background:#6250aa;color:#fff}
.free-console .level-fields input{margin-top:5px;font-variant-numeric:tabular-nums;font-size:13px;border-color:#a9c3b6}.free-console .resistance-field input{border-color:#b8acd3}
.resistance-field.editing-level input{outline-color:#6250aa;background:#f7f5fc!important}
.entry-choices{display:grid;grid-template-columns:1fr 1fr;gap:7px}.entry-button,.price-pick{border:1px solid #91af9f;background:#fff;color:#245e44;border-radius:4px;min-height:36px;padding:7px 8px;font-size:12px;font-weight:700}
.entry-button.active,.price-pick.active{background:#245e44;color:#fff;border-color:#245e44}
.entry-fields{margin-top:10px;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr)}.free-console input:disabled{background:#f2f5f3;color:#61756a}
.free-console .field-note{font-size:11px;color:#65796c;margin:6px 0}.exit-options>summary{cursor:pointer;color:#365f4a;font-size:12px;padding:9px 0;text-decoration:underline;text-underline-offset:3px}
.exit-prices>div{min-width:0}.free-console .exit-prices label{margin:0}.exit-prices label small{font-weight:400;color:#708276}.price-pick{width:100%;margin-top:6px;font-size:11px}
.free-console .exit-prices input{font-variant-numeric:tabular-nums}.exit-state{font-size:12px;font-weight:700;min-height:66px;margin:0;padding:8px;background:#edf5f0;border-radius:4px;overflow-wrap:anywhere}
.exit-reference{font-size:11px;margin:3px 0 8px}.exit-reference:empty{display:none}.free-console #free-order{margin-top:14px;padding-top:0}.free-console #free-risk{padding-top:7px;font-size:11px}
.chart-footer [data-free-pick="lower"]{color:#087b57;border:1px solid #087b57;background:#fff}.chart-footer [data-free-pick="upper"]{color:#6250aa;border:1px solid #6250aa;background:#fff}
.chart-footer [data-free-pick="lower"].active{background:#087b57;color:#fff}.chart-footer [data-free-pick="upper"].active{background:#6250aa;color:#fff}#end-pick{background:#264e3b;color:#fff}
button:focus-visible,summary:focus-visible{outline:3px solid #d79222;outline-offset:2px}.entry-button:hover,.price-pick:hover{box-shadow:inset 0 0 0 1px #245e44}
@media(max-width:1000px) and (min-width:761px){.free-layout{grid-template-columns:minmax(0,1fr) 320px}.free-console{padding:14px 12px}.strategy-cards button{font-size:10px}}
@media(max-width:760px){.free-layout{grid-template-columns:1fr}.free-console{padding:16px}.strategy-cards button{font-size:12px}.direction-button{min-height:48px}}

.lot-stepper{display:flex;align-items:stretch;margin-top:6px;border:1px solid #9eb5a8;border-radius:4px;overflow:hidden;min-height:39px}
.lot-stepper button{flex:0 0 28px;border:0;background:#e8efeb;color:#244d39;font-size:20px;font-weight:700;padding:0;min-height:39px}
.free-console .lot-stepper input{border:0;border-radius:0;margin:0;padding:5px 0;text-align:center;appearance:textfield;-moz-appearance:textfield;min-height:39px}
.lot-stepper input::-webkit-inner-spin-button,.lot-stepper input::-webkit-outer-spin-button{appearance:none;margin:0}
.lot-stepper button:hover{background:#cadfd1}.free-console .price-pick{min-height:40px;border-width:2px;font-size:12px}.free-console .entry-button{min-height:42px;border-width:2px}
#free-order button[type=submit]{min-height:54px;font-size:19px;letter-spacing:1px;border:2px solid transparent}
#free-order button[type=submit][data-side="1"]{background:#b64b43}#free-order button[type=submit][data-side="-1"]{background:#18785b}
#free-close,#free-cancel{width:100%;min-height:46px;border:2px solid #3c6853;background:#fff;font-size:15px}

#free-setup>summary{display:flex;align-items:center;gap:12px;width:fit-content;max-width:100%;padding:9px 14px;margin:4px 0 12px;border:1px solid #8fae9c;border-radius:5px;background:#fff;color:#24583f;list-style:none;font-size:13px}
#free-setup>summary::-webkit-details-marker{display:none}#free-setup>summary span{font-size:11px;color:#64796c}#free-setup[open]>summary{background:#e8f2eb;border-color:#397754}
.ticket-options>.advanced-order,.ticket-options>.exit-options{display:inline-block;vertical-align:top;width:calc(50% - 5px);margin:10px 0 8px}.ticket-options>.advanced-order{margin-right:6px}
.ticket-options>.advanced-order>summary,.ticket-options>.exit-options>summary{display:block;list-style:none;text-decoration:none;border:1px solid #91ad9e;border-radius:4px;background:#f2f7f4;padding:9px 6px;font-size:11px;font-weight:700;color:#2c6046;text-align:center;cursor:pointer;white-space:nowrap}
.ticket-options summary::-webkit-details-marker{display:none}.ticket-options>.advanced-order[open],.ticket-options>.exit-options[open]{display:block;width:100%;background:#f7faf8;border:1px solid #b8cdbf;border-radius:4px;padding:8px}
.ticket-options>[open]>summary{background:#dcece2;border-color:#4b8b67}.ticket-options>[open] label{margin:9px 0}#free-amend .exit-options{width:100%;margin-right:0}
.training-complete{padding:14px;margin:-1px -1px 16px;border:1px solid #aac9b6;border-top:4px solid #23694d;border-radius:5px;background:#f3f9f5}.free-console .training-complete h3{font-size:17px;margin:0 0 6px}.training-complete>p{font-size:12px;color:#56705f;margin:0 0 12px}.completion-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.completion-actions button{min-height:48px;font-size:16px}.training-complete #review-mode{margin:10px 0 0;font-size:11px}
.replay-more>summary,.round-review>summary{display:inline-block;list-style:none;border:1px solid #bacfc1;border-radius:4px;padding:7px 10px;background:#f2f7f4;color:#365f48;font-weight:700}.round-review{margin-top:10px}.replay-more>summary::-webkit-details-marker,.round-review>summary::-webkit-details-marker{display:none}
@media(max-width:480px){#free-setup>summary{gap:8px;font-size:12px}#free-setup>summary span{font-size:10px}}

.strategy-cards button{white-space:normal;padding:8px 4px 7px;min-width:0;text-align:center}
.strategy-cards button strong{display:block;font-size:11px;white-space:nowrap;line-height:1.4}
.strategy-cards button svg{display:block;width:100%;height:43px;margin:5px 0 3px;overflow:visible}
.strategy-cards button span{display:block;font-size:10px;font-weight:400;color:#61786a;white-space:nowrap;line-height:1.4}
.strategy-cards .sketch-history,.strategy-cards .sketch-action,.strategy-cards .sketch-guide{fill:none;stroke-linecap:round;stroke-linejoin:round}
.strategy-cards .sketch-history{stroke:#7e9588;stroke-width:2}.strategy-cards .sketch-action{stroke:#216c4c;stroke-width:2.4}.strategy-cards .sketch-guide{stroke:#a5b8ac;stroke-width:1;stroke-dasharray:3 3}
.strategy-cards .sketch-entry{fill:#dc921d;stroke:#fff;stroke-width:1}
.strategy-cards button.active span{color:#dce9e0}.strategy-cards button.active .sketch-history{stroke:#b4cdbd}.strategy-cards button.active .sketch-action{stroke:#fff}.strategy-cards button.active .sketch-guide{stroke:#97b6a3}.strategy-cards button.active .sketch-entry{stroke:#264e3b}
.free-console .context-heading .strategy-key{font-size:10px;color:#a86c11;float:right;font-weight:400}
.strategy-cards button:hover{border-color:#548568}.strategy-cards button.active:hover{border-color:#264e3b}
.free-console .strategy-visual-note{font-size:10px;color:#718176;margin:0 0 9px;line-height:1.4}
@media(max-width:1000px) and (min-width:761px){.strategy-cards button{padding-right:2px;padding-left:2px}.strategy-cards button strong{font-size:10px}.strategy-cards button span{font-size:9px}}
