
/* Compact continuation and operational popups, preview only. */
@media(max-width:767px){
body[data-compact-lower] #homeLowerCompact{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;width:100%;min-width:0;color:#f8f5fa}
body[data-compact-lower] #homeLowerCompact *{box-sizing:border-box;min-width:0}
body[data-compact-lower] #homeLowerCompact>.cl-block{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:10px!important;border:1px solid #e1bc3b!important;border-radius:15px!important;background:linear-gradient(125deg,#1b1a1be8,#0b0b12f2 55%)!important;box-shadow:inset 0 1px 0 #fff3a51a!important}
body[data-compact-lower] #homeLowerCompact h2,
body[data-compact-lower] #homeLowerCompact h3{font:700 15px/1.2 Inter,system-ui!important;letter-spacing:0!important;color:#f7f5fa!important;margin:0 0 6px!important}
body[data-compact-lower] #homeLowerCompact h4{font:650 12px/1.25 Inter,system-ui!important;margin:0 0 4px!important}
body[data-compact-lower] #homeLowerCompact p{font-size:10px!important;line-height:1.4!important;margin:4px 0!important}
body[data-compact-lower] #homeLowerCompact button,
body[data-compact-lower] #homeLowerCompact a{transition:background .18s,border-color .18s}
body[data-compact-lower] #homeLowerCompact button:focus-visible,
body[data-compact-lower] #homeLowerCompact a:focus-visible{outline:2px solid #ffe000;outline-offset:2px}
body[data-compact-lower] #homeLowerCompact>.calc-wrapper{padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
body[data-compact-lower] #openCalcBtn.cl-calc-trigger{width:100%!important;display:flex!important;align-items:center!important;gap:10px!important;min-height:58px!important;height:auto!important;padding:10px 12px!important;border:1px solid #f0c933!important;border-radius:14px!important;background:linear-gradient(110deg,#ffe00025,#141118e8)!important;box-shadow:inset 0 1px 0 #fff7b33a!important;color:#ffe000!important;text-align:left!important}
body[data-compact-lower] #openCalcBtn>svg{width:27px;height:30px;flex:none}
body[data-compact-lower] #openCalcBtn>span{flex:1;display:block}
body[data-compact-lower] #openCalcBtn strong{font-size:15px;line-height:1.2;display:block;color:#fff}
body[data-compact-lower] #openCalcBtn small{font-size:10px;line-height:1.3;display:block;color:#d0c7a6;margin-top:3px}
body[data-compact-lower] #openCalcBtn>b{font-size:26px;font-weight:400}
body[data-compact-lower] #homeLowerCompact .disciply-challenge-entry{display:flex!important;align-items:center;gap:8px;min-height:48px!important;text-decoration:none;color:#eee!important;font-size:12px!important}
body[data-compact-lower] #homeLowerCompact .disciply-challenge-entry strong{font-size:14px!important}
body[data-compact-lower] #homeLowerCompact .disciply-challenge-entry span{font-size:10px!important}
body[data-compact-lower] #homeLowerCompact .why-section .why-text{font-size:11px!important;color:#c9c3d1}
body[data-compact-lower] #phaseTwoOverview .phase-two-overview__bar{display:flex!important;align-items:center;gap:8px;padding:0!important;margin:0!important;min-height:0!important;border:0!important;background:none!important}
body[data-compact-lower] #phaseTwoOverview .phase-two-overview__copy{flex:1}
body[data-compact-lower] #phaseTwoOverview .phase-two-overview__eyebrow{font-size:8px;letter-spacing:1px;color:#ffe000}
body[data-compact-lower] #phaseTwoOverview:has(#phaseTwoOverviewToggle[aria-expanded="false"]) .phase-two-overview__copy p{display:none!important}
body[data-compact-lower] #phaseTwoOverview h3{margin:2px 0 0!important;font-size:14px!important}
body[data-compact-lower] #phaseTwoOverviewToggle{min-height:32px!important;padding:5px 8px!important;max-width:110px;border:1px solid #b19335;border-radius:20px;background:#ffe00010;color:#ffe000;font-size:10px!important;line-height:1.2!important}
body[data-compact-lower] #phaseTwoHome[hidden]{display:none!important}
body[data-compact-lower] #phaseTwoHome:not([hidden]){display:grid!important;grid-template-columns:1fr!important;gap:8px!important;padding:8px 0 0!important;margin:0!important}
body[data-compact-lower] #homeLowerCompact .phase-two-card{padding:9px!important;border:1px solid #ffe00055!important;border-radius:12px!important;background:#101016c9!important;box-shadow:none!important}
body[data-compact-lower] #homeLowerCompact .phase-two-card__header{gap:5px;margin:0 0 6px!important}
body[data-compact-lower] #homeLowerCompact .phase-two-card__eyebrow{font-size:8px;color:#ffe000}
body[data-compact-lower] #homeLowerCompact .phase-two-card__header h3{font-size:13px!important;margin:3px 0!important}
body[data-compact-lower] #homeLowerCompact .phase-two-card__badge{font-size:8px!important;padding:4px 6px!important}
body[data-compact-lower] #homeLowerCompact .phase-two-card__grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}
body[data-compact-lower] #homeLowerCompact .phase-two-card__metric{padding:7px!important;min-height:0!important;border-radius:9px!important}
body[data-compact-lower] #homeLowerCompact .phase-two-card__metric>span{font-size:9px!important;line-height:1.2!important}
body[data-compact-lower] #homeLowerCompact .phase-two-card__metric>strong{font-size:13px!important;line-height:1.25!important;margin-top:4px!important}
body[data-compact-lower] #homeLowerCompact .phase-two-card__subsection{padding:7px 0!important}
body[data-compact-lower] #homeLowerCompact .phase-two-card__subhead,
body[data-compact-lower] #homeLowerCompact .phase-two-pill{font-size:9px!important}
body[data-compact-lower] #homeLowerCompact .phase-two-card__link{font-size:10px!important;padding:7px!important;min-height:30px!important}
body[data-compact-lower] #homeLowerCompact .phase-two-card__foot{font-size:8px!important}
body[data-compact-lower] #homeLowerCompact>.analysis-wrapper{padding:0!important}
body[data-compact-lower] #homeLowerCompact .operational-consistency-section,
body[data-compact-lower] #homeLowerCompact .operational-consistency-card{padding:0!important;margin:0!important;width:100%!important;max-width:100%!important;border:0!important;border-radius:14px!important;background:none!important;box-shadow:none!important}
body[data-compact-lower] #homeLowerCompact .operational-consistency-header{padding:10px 10px 0!important;gap:4px!important}
body[data-compact-lower] #homeLowerCompact .operational-consistency-subtitle{font-size:9px!important;color:#bab4c3!important;margin:2px 0 0!important}
body[data-compact-lower] #homeLowerCompact .operational-consistency-subtitle br{display:none}
body[data-compact-lower] #homeLowerCompact .operational-consistency-kpis{display:grid!important;grid-template-columns:.75fr 1.25fr 1fr!important;gap:5px!important;padding:7px 10px!important;margin:0!important}
body[data-compact-lower] #homeLowerCompact .operational-consistency-kpi{padding:6px!important;min-height:0!important;border-radius:9px!important;gap:5px!important}
body[data-compact-lower] #homeLowerCompact .operational-consistency-kpi-icon{display:none!important}
body[data-compact-lower] #homeLowerCompact .operational-consistency-kpi-label{font-size:8px!important;line-height:1.15!important}
body[data-compact-lower] #homeLowerCompact .operational-consistency-kpi-value{font-size:13px!important;line-height:1.25!important;margin-top:4px!important}
body[data-compact-lower] #homeLowerCompact .operational-consistency-kpi-meta{font-size:7px!important}
body[data-compact-lower] #homeLowerCompact .operational-consistency-chart-shell{padding:0 9px!important;margin:0!important}
body[data-compact-lower] #homeLowerCompact .operational-consistency-chart-frame{padding:5px!important;margin:0!important;min-height:0!important;border-radius:10px!important}
body[data-compact-lower] #operationalConsistencyChart{height:130px!important;min-height:0!important}
body[data-compact-lower] #homeLowerCompact .operational-consistency-note{font-size:8px!important;line-height:1.35!important;margin:5px 0!important}
body[data-compact-lower] #homeLowerCompact .operational-consistency-note-icon{width:12px;height:12px}
body[data-compact-lower] #homeLowerCompact .operational-consistency-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;margin:6px 10px 10px!important;padding:3px!important;border:1px solid #ffe00045;border-radius:20px}
body[data-compact-lower] #homeLowerCompact .operational-consistency-tab{font-size:10px!important;min-height:29px!important;padding:5px!important;border-radius:16px!important}
body[data-compact-lower] #homeLowerCompact #withdrawalsSection h3{font-size:15px!important}
body[data-compact-lower] #homeLowerCompact .withdrawals-hero,
body[data-compact-lower] #homeLowerCompact .withdrawals-stats{gap:6px!important;padding:6px!important;min-height:0!important}
body[data-compact-lower] #homeLowerCompact .withdrawals-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important}
body[data-compact-lower] #homeLowerCompact #withdrawalTrendChart{max-height:120px!important}
body[data-compact-lower] #homeLowerCompact .withdrawals-actions button{font-size:10px!important;padding:7px!important;min-height:32px!important}
body[data-compact-lower] #homeLowerCompact .market-news-header{padding:0!important;display:flex!important;gap:7px!important;align-items:start!important}
body[data-compact-lower] #homeLowerCompact .market-news-icon{width:24px!important;height:25px!important;padding:3px!important}
body[data-compact-lower] #homeLowerCompact .market-news-icon svg{width:18px;height:18px}
body[data-compact-lower] #homeLowerCompact .market-news-heading{gap:6px!important}
body[data-compact-lower] #homeLowerCompact .market-news-eyebrow{font-size:8px!important;color:#ffe000!important}
body[data-compact-lower] #homeLowerCompact .market-news-heading h3{font-size:15px!important;margin:2px 0 4px!important}
body[data-compact-lower] #homeLowerCompact .market-news-overview{font-size:8px!important;max-width:90px!important;padding:0!important}
body[data-compact-lower] #homeLowerCompact .market-news-track{display:flex!important;gap:7px!important;overflow-x:auto!important;scroll-snap-type:x proximity;padding:7px 0!important;margin:0!important}
body[data-compact-lower] #homeLowerCompact .market-news-card{flex:0 0 76%!important;min-width:0!important;padding:9px!important;border:1px solid #ffe00045!important;border-radius:11px!important;min-height:0!important;background:#121019ba!important;scroll-snap-align:start}
body[data-compact-lower] #homeLowerCompact .market-news-card h4{font-size:12px!important;line-height:1.25!important}
body[data-compact-lower] #homeLowerCompact .market-news-card p{font-size:9px!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
body[data-compact-lower] #homeLowerCompact .market-news-footer{padding:3px 0 0!important;margin:0!important}
body[data-compact-lower] #homeLowerCompact .market-news-attribution{font-size:7px!important;color:#9b95a5!important}
body[data-compact-lower] #homeLowerCompact .market-breakdown-home-head{padding:0!important;gap:8px!important;align-items:start!important}
body[data-compact-lower] #homeLowerCompact .market-breakdown-home-eyebrow{font-size:8px!important;color:#ffe000}
body[data-compact-lower] #homeLowerCompact .market-breakdown-home-all{font-size:9px!important;white-space:nowrap;padding:5px 7px!important;border:1px solid #b29335;border-radius:15px;color:#ffe000}
body[data-compact-lower] #homeLowerCompact .market-breakdown-home-rail{display:flex!important;gap:7px!important;overflow-x:auto!important;padding:7px 0 0!important;margin:0!important}
body[data-compact-lower] #homeLowerCompact .market-breakdown-home-card,
body[data-compact-lower] #homeLowerCompact .market-breakdown-home-skeleton{flex:0 0 76%!important;min-width:0!important;border:1px solid #ffe00045!important;border-radius:11px!important;padding:8px!important;min-height:0!important}
body[data-compact-lower] #homeLowerCompact .market-breakdown-home-card img{height:100px!important;object-fit:cover!important}
body[data-compact-lower] #homeLowerCompact .market-breakdown-home-card h4{font-size:12px!important}
body[data-compact-lower] #homeLowerCompact .tiktok-mode-cta-card,
body[data-compact-lower] #homeLowerCompact .xm-cta-card,
body[data-compact-lower] #homeLowerCompact .support-center-card{padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;min-height:0!important}
body[data-compact-lower] #homeLowerCompact .tiktok-mode-cta-eyebrow,
body[data-compact-lower] #homeLowerCompact .xm-cta-badge,
body[data-compact-lower] #homeLowerCompact .support-center-eyebrow{font-size:8px!important;letter-spacing:.7px!important;color:#ffe000!important}
body[data-compact-lower] #homeLowerCompact .tiktok-mode-cta-actions,
body[data-compact-lower] #homeLowerCompact .xm-cta-actions,
body[data-compact-lower] #homeLowerCompact .support-center-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;padding:0!important;margin:7px 0 0!important}
body[data-compact-lower] #homeLowerCompact .tiktok-mode-cta-actions a,
body[data-compact-lower] #homeLowerCompact .xm-cta-actions a,
body[data-compact-lower] #homeLowerCompact .support-center-actions a{font-size:10px!important;line-height:1.2!important;min-height:33px!important;padding:7px!important;border:1px solid #b29436!important;border-radius:18px!important;background:#ffe00010!important;color:#ffe000!important;text-align:center!important;justify-content:center!important}
body[data-compact-lower] #homeLowerCompact .broker-widget__head{padding:0!important;gap:8px!important}
body[data-compact-lower] #homeLowerCompact .broker-widget__disciply-logo{width:78px!important;height:auto!important}
body[data-compact-lower] #homeLowerCompact .broker-widget__risk{font-size:9px!important;padding:6px!important;margin:6px 0!important;border-radius:8px!important;color:#dfd6b1!important}
body[data-compact-lower] #homeLowerCompact .broker-widget__grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}
body[data-compact-lower] #homeLowerCompact .broker-widget__broker{padding:7px!important;min-height:0!important;border-radius:10px!important;border:1px solid #ffe00045!important;background:#111015!important}
body[data-compact-lower] #homeLowerCompact .broker-widget__logo{height:32px!important;min-height:0!important}
body[data-compact-lower] #homeLowerCompact .broker-widget__logo img{max-height:28px!important;width:auto!important;max-width:100%!important}
body[data-compact-lower] #homeLowerCompact .broker-widget__direct{font-size:10px!important;padding:5px!important;min-height:27px!important;margin-top:5px!important}
body[data-compact-lower] #homeLowerCompact .broker-widget__top{font-size:7px!important;padding:2px 4px!important}
body[data-compact-lower] #homeLowerCompact .support-center-header{display:flex!important;gap:6px!important;align-items:start!important;margin:0!important;padding:0!important}
body[data-compact-lower] #homeLowerCompact .support-center-badge{font-size:8px!important;padding:4px!important}
body[data-compact-lower] #homeLowerCompact .support-center-trust-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;margin:7px 0!important;padding:0!important}
body[data-compact-lower] #homeLowerCompact .support-center-trust-item{display:block!important;text-align:center;padding:5px!important;border:1px solid #ffffff20;border-radius:8px}
body[data-compact-lower] #homeLowerCompact .support-center-trust-item svg{width:17px!important;height:18px!important}
body[data-compact-lower] #homeLowerCompact .support-center-trust-item strong{font-size:9px!important;line-height:1.2!important}
body[data-compact-lower] #homeLowerCompact .support-center-trust-item p{font-size:8px!important}
body[data-compact-lower] #homeLowerCompact .support-center-channel-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;margin:6px 0!important}
body[data-compact-lower] #homeLowerCompact .support-center-channel-card{padding:7px 5px!important;border:1px solid #ffe00045!important;border-radius:10px!important;min-height:0!important;background:#111016!important}
body[data-compact-lower] #homeLowerCompact .support-center-channel-icon{width:21px!important;height:22px!important;margin-bottom:5px!important}
body[data-compact-lower] #homeLowerCompact .support-center-channel-icon svg{width:18px!important;height:18px!important}
body[data-compact-lower] #homeLowerCompact .support-center-channel-title{font-size:10px!important;line-height:1.2!important}
body[data-compact-lower] #homeLowerCompact .support-center-channel-description{font-size:8px!important;line-height:1.3!important;margin-top:3px!important}
body[data-compact-lower] #homeLowerCompact .support-center-email-card{padding:8px!important;margin:7px 0!important;border:1px solid #ffe00045!important;border-radius:10px!important;background:#141017!important}
body[data-compact-lower] #homeLowerCompact .support-center-email-card a{font-size:12px!important;overflow-wrap:anywhere}
body[data-compact-lower] #homeLowerCompact .support-center-email-label,
body[data-compact-lower] #homeLowerCompact .support-center-email-note,
body[data-compact-lower] #homeLowerCompact .support-center-email-micro{font-size:8px!important}
body[data-compact-lower] #homeLowerCompact .support-center-email-micro svg{width:13px;height:14px}
body[data-compact-lower] #homeLowerCompact .support-center-actions svg{width:14px;height:14px}
body[data-compact-lower] #homeLowerCompact .home-editorial-resources__eyebrow{font-size:8px!important;color:#ffe000}
body[data-compact-lower] #homeLowerCompact .home-editorial-resources__grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;margin-top:7px!important}
body[data-compact-lower] #homeLowerCompact .home-editorial-resource{font-size:10px!important;padding:7px 6px!important;min-height:34px!important;border:1px solid #ffe00045!important;border-radius:9px!important;background:#141017!important;color:#eee!important}
body[data-compact-lower] #homeLowerCompact .home-logout-card{padding:5px!important;border-color:#ffffff25!important}
body[data-compact-lower] #homeLowerCompact #logoutBottom{font-size:11px!important;min-height:32px!important;width:100%;padding:6px!important;border:0!important;background:none!important;color:#ddd!important}
body[data-compact-lower] #homeLowerCompact .app-footer{padding:10px 10px calc(18px + env(safe-area-inset-bottom))!important;text-align:center}
body[data-compact-lower] #homeLowerCompact .app-footer .support-card{padding:8px!important;margin:0 0 8px!important;border:1px solid #ffe00040!important;border-radius:10px!important;background:#141017!important}
body[data-compact-lower] #homeLowerCompact .app-footer .support-card p{font-size:9px!important}
body[data-compact-lower] #homeLowerCompact #openSupportModalBtn{font-size:10px!important;padding:7px 9px!important;min-height:32px!important;border:1px solid #b29436;border-radius:17px;background:#ffe00010;color:#ffe000}
body[data-compact-lower] #homeLowerCompact .app-footer>p{font-size:8px!important;line-height:1.4!important;margin:5px 0!important}
body[data-compact-lower] #homeLowerCompact .app-footer a{font-size:9px!important;color:#e7d27c}
body[data-compact-lower] #homeLowerCompact #deleteAccount{font-size:9px!important;padding:5px 8px!important;min-height:26px!important;border:1px solid #ff46584a;border-radius:12px;background:#ff46580c;color:#ff6978}
body[data-compact-lower] #homeLowerCompact .app-footer .muted-text{font-size:7px!important;color:#938b9e}
body[data-compact-lower] #homeLowerCompact .app-footer>a img{max-height:35px!important;width:auto!important}

/* Preserve all calculator fields and handlers in a compact branded modal. */
body[data-compact-lower] #calculatorModal,
body[data-compact-lower] #supportModal{position:fixed!important;inset:0!important;padding:16px 12px!important;z-index:2147483646!important;background:#05050bd9!important;backdrop-filter:blur(12px)!important;align-items:center!important;justify-content:center!important}
body[data-compact-lower] #calculatorModal.hidden,
body[data-compact-lower] #supportModal.hidden{display:none!important}
body[data-compact-lower] #calculatorModal>.modal-content,
body[data-compact-lower] #supportModal>.modal-content{width:100%!important;max-width:460px!important;max-height:calc(100dvh - 32px)!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;border:1px solid #f1c933!important;border-radius:18px!important;padding:13px!important;background:linear-gradient(145deg,#1a1821,#0c0b12 65%)!important;color:#eee!important;box-shadow:0 15px 80px #0009,inset 0 1px 0 #fff4b228!important;margin:0!important;transform:none!important}
body[data-compact-lower] .cl-modal-head{display:flex;align-items:center;justify-content:space-between;gap:8px;position:sticky;top:-13px;z-index:2;padding:10px 0 8px;background:#14121b;margin:-6px 0 8px;border-bottom:1px solid #ffe00035}
body[data-compact-lower] .cl-modal-head>div>span{font-size:8px;color:#ffe000;letter-spacing:1px}
body[data-compact-lower] #calcTitle{font-size:17px!important;line-height:1.2!important;margin:3px 0 0!important;color:#fff!important}
body[data-compact-lower] .cl-modal-close{width:32px;height:32px;flex:none;border:1px solid #ffe00055;border-radius:50%;background:#ffe00009;color:#ffe000;font-size:24px;line-height:1}
body[data-compact-lower] #calculatorModal input,
body[data-compact-lower] #calculatorModal select,
body[data-compact-lower] #supportModal input,
body[data-compact-lower] #supportModal textarea,
body[data-compact-lower] #supportModal select{width:100%!important;min-height:39px!important;padding:9px!important;margin:0!important;border:1px solid #ffe00045!important;border-radius:9px!important;background:#0b0a11!important;color:#fff!important;font-size:14px!important;line-height:1.25!important;box-shadow:none!important}
body[data-compact-lower] #calculatorModal input:focus{outline:1px solid #ffe000;outline-offset:1px}
body[data-compact-lower] #calculatorModal label{display:block;font-size:11px!important;line-height:1.3!important;color:#cfc8d8!important;margin:0 0 4px!important}
body[data-compact-lower] .cl-capital{padding:8px;border:1px solid #ffe00045;border-radius:11px;background:#ffe00008;margin-bottom:9px}
body[data-compact-lower] #pasteCapitalBtn{margin:5px 0 0!important;min-height:28px!important;padding:5px 7px!important;font-size:10px!important;color:#ffe000!important;border:0!important;background:transparent!important;width:100%!important}
body[data-compact-lower] #riskRewardForm{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:0!important;padding:0!important}
body[data-compact-lower] #calculatorModal .field{margin:0!important;padding:0!important}
body[data-compact-lower] #percentResultCard{grid-column:1/-1;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;padding:7px!important;margin:0!important;border:1px solid #ffe00045!important;border-radius:11px!important;background:#ffffff03!important}
body[data-compact-lower] #percentResultCard p{display:flex!important;flex-direction:column!important;gap:4px!important;align-items:center!important;justify-content:center!important;font-size:10px!important;line-height:1.2!important;margin:0!important;padding:4px!important;border-right:1px solid #ffffff25}
body[data-compact-lower] #percentResultCard p:last-child{border:0}
body[data-compact-lower] #percentResultCard strong{font-size:18px!important}
body[data-compact-lower] #rischioPerc{color:#ff4658!important}
body[data-compact-lower] #profittoPerc{color:#16ff63!important}
body[data-compact-lower] #rr{color:#ffe000!important}
body[data-compact-lower] #calculatorModal .btn,
body[data-compact-lower] #supportModal .btn{min-height:35px!important;padding:8px!important;border:1px solid #a99141!important;border-radius:10px!important;background:#ffe0000b!important;color:#ffe000!important;font-size:12px!important;line-height:1.2!important}
body[data-compact-lower] #calculatorModal #useValsBtn,
body[data-compact-lower] #calculatorModal #calculateBtn{background:#ffe000!important;color:#171300!important;border-color:#ffe000!important;font-weight:700}
body[data-compact-lower] #openLotFormBtn{margin:10px 0 0!important;width:100%!important}
body[data-compact-lower] #lotCalculatorForm:not(.is-open){display:none!important}
body[data-compact-lower] #lotCalculatorForm.is-open{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:8px 0 0!important;padding:8px!important;border:1px solid #ffe00045!important;border-radius:12px!important;background:#ffffff03!important}
body[data-compact-lower] #lotCalculatorForm #calculateBtn,
body[data-compact-lower] #lotCalculatorForm .lot-warning-line{grid-column:1/-1}
body[data-compact-lower] #lotCalculatorForm .lot-output-field{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:7px}
body[data-compact-lower] #lotResult{color:#ffe000!important;font-size:20px!important;font-weight:700;text-align:center}
body[data-compact-lower] #lotCalculatorForm .lot-warning-line{font-size:10px!important;line-height:1.4!important;margin:0!important;color:#a9a1b8!important}
body[data-compact-lower] #lotCalculatorForm .lot-warning-line strong{font-size:10px!important;font-weight:500}
body[data-compact-lower] #supportModal h3{font-size:17px!important;margin:0 0 9px!important}
body[data-compact-lower] #supportModal p,
body[data-compact-lower] #supportModal label{font-size:11px!important;line-height:1.4!important}

/* Calendar day and graph popups share the same compact surfaces. */
body[data-compact-lower] #homeAnalyticsCompact [data-ca-day]{min-height:29px;border:1px solid #dcba38;border-radius:18px;background:#ffe0000f;color:#ffe000;font-size:10px;padding:5px 8px}
body[data-compact-lower] #homeAnalyticsCompact [data-ca-month]{border:1px solid #ffe00055;border-radius:18px;background:#0d0c14;padding:2px 4px}
body[data-compact-lower] #caInfoDialog{border-color:#f0ca39!important;background:#111017!important;box-shadow:0 10px 80px #000b!important;max-height:calc(100dvh - 24px)!important}
body[data-compact-lower] #caInfoDialog .ca-info-head{padding:10px 12px!important;border-color:#ffe00045}
body[data-compact-lower] #caInfoTitle{font-size:16px!important;line-height:1.25!important}
body[data-compact-lower] #caInfoDialog .ca-info-body{padding:10px!important}
body[data-compact-lower] #caInfoDialog.cl-day-dialog .ca-info-body>.card{border:0!important;padding:0!important;margin:0!important;background:none!important;box-shadow:none!important}
body[data-compact-lower] #caInfoDialog.cl-day-dialog .journal-operations-head,
body[data-compact-lower] #caInfoDialog.cl-day-dialog .trades-toolbar,
body[data-compact-lower] #caInfoDialog.cl-day-dialog #mt5SyncConfidenceCenter,
body[data-compact-lower] #caInfoDialog.cl-day-dialog .operations-secondary-actions{display:none!important}
body[data-compact-lower] .cl-day-summary{display:flex;justify-content:space-between;align-items:center;gap:9px;padding:9px;border:1px solid #ffe00055;border-radius:10px;background:#ffe0000a;margin-bottom:8px}
body[data-compact-lower] .cl-day-summary>span{font-size:10px;color:#c6bece}
body[data-compact-lower] .cl-day-summary>strong{font-size:14px;color:#ffe000}
body[data-compact-lower] #caInfoDialog.cl-day-dialog .trade{padding:9px!important;margin:6px 0!important;border:1px solid #ffe00040!important;border-radius:11px!important;background:#15111b!important}
body[data-compact-lower] #caInfoDialog.cl-day-dialog .trade strong{font-size:13px!important}
body[data-compact-lower] #caInfoDialog.cl-day-dialog .trade small{font-size:9px!important}
body[data-compact-lower] #dashboardChartModal,
body[data-compact-lower] #decisionImpactMapModal,
body[data-compact-lower] #chartFullscreenOverlay{z-index:2147483646!important;background:#05050bdc!important;backdrop-filter:blur(12px)!important;padding:12px!important}
body[data-compact-lower] #dashboardChartModal .decision-impact-map-modal__panel,
body[data-compact-lower] #decisionImpactMapModal .decision-impact-map-modal__panel,
body[data-compact-lower] #chartFullscreenOverlay .chart-fullscreen-shell{width:100%!important;max-width:100%!important;max-height:calc(100dvh - 24px)!important;margin:auto!important;border:1px solid #efc53b!important;border-radius:17px!important;background:linear-gradient(130deg,#191620,#0c0b12)!important;box-shadow:0 12px 70px #000b!important;overflow:hidden!important}
body[data-compact-lower] #dashboardChartModal .decision-impact-map-modal__head,
body[data-compact-lower] #decisionImpactMapModal .decision-impact-map-modal__head,
body[data-compact-lower] .chart-fullscreen-header{padding:10px!important;gap:7px!important;border-bottom:1px solid #ffe00040!important;background:#ffffff02!important}
body[data-compact-lower] #dashboardChartModalTitle,
body[data-compact-lower] #decisionImpactMapModal h4,
body[data-compact-lower] #chartFullscreenTitle{font-size:15px!important;line-height:1.25!important;color:#fff!important;margin:0!important}
body[data-compact-lower] #dashboardChartModalMeta,
body[data-compact-lower] #chartFullscreenMeta,
body[data-compact-lower] #decisionImpactMapModal .decision-impact-map-modal__meta{font-size:9px!important;line-height:1.3!important;color:#b8afc4!important;margin:4px 0 0!important}
body[data-compact-lower] .chart-fullscreen-btn,
body[data-compact-lower] .decision-impact-map-modal__action{min-width:30px!important;min-height:30px!important;padding:5px!important;border:1px solid #ffe00055!important;border-radius:9px!important;background:#ffe0000c!important;color:#ffe000!important;font-size:12px!important}
body[data-compact-lower] #chartFullscreenRangeBar{gap:4px!important;padding:5px!important}
body[data-compact-lower] #chartFullscreenRangeBar button{font-size:10px!important;padding:5px 7px!important;border-radius:14px!important}
body[data-compact-lower] #dashboardChartModalViewport,
body[data-compact-lower] #chartFullscreenCanvasWrap{background:#09080f!important;border-radius:0 0 16px 16px!important}
body[data-compact-lower]:is(:has(#calculatorModal:not(.hidden)),:has(#supportModal:not(.hidden)),:has(#caInfoDialog[open]),:has(#dashboardChartModal:not(.hidden)),:has(#decisionImpactMapModal:not(.hidden)),:has(#chartFullscreenOverlay[aria-hidden="false"])) #disciplyBottomNav{visibility:hidden!important;pointer-events:none!important}
}

@media(max-width:767px){
body[data-compact-lower] .disciply-challenge-tool,
body[data-compact-lower] #traderProfileSection.collapsed{display:none!important}
body[data-compact-lower] #homeLowerCompact .support-center-channel-card{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;min-width:0!important}
body[data-compact-lower] #homeLowerCompact .support-center-channel-card>*{min-width:0!important;width:auto!important}
body[data-compact-lower] #homeLowerCompact .support-center-channel-arrow{display:none!important}
body[data-compact-lower] #homeLowerCompact .support-center-channel-card strong{font-size:10px!important;line-height:1.3!important}
body[data-compact-lower] #homeLowerCompact .support-center-channel-card span{font-size:8px!important;line-height:1.35!important}
body[data-compact-lower] #homeLowerCompact .app-footer{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:6px!important;min-height:0!important}
body[data-compact-lower] #homeLowerCompact .app-footer>*{margin-top:0!important;margin-bottom:0!important}
body[data-compact-lower] #caInfoDialog.cl-day-dialog .trade-list-filters{display:none!important}
body[data-compact-lower] #caInfoDialog.cl-day-dialog .trade-content{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:7px!important;min-width:0!important}
body[data-compact-lower] #caInfoDialog.cl-day-dialog .trade-left{display:flex!important;flex-wrap:wrap!important;gap:5px!important;align-items:center!important;width:100%!important;min-width:0!important}
body[data-compact-lower] #caInfoDialog.cl-day-dialog .trade-right{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;width:100%!important;gap:8px!important;min-width:0!important}
body[data-compact-lower] #caInfoDialog.cl-day-dialog .trade-pnl-wrap{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:flex-end!important;gap:5px!important;min-width:0!important}
body[data-compact-lower] #caInfoDialog.cl-day-dialog .trade-dir{font-size:10px!important}
body[data-compact-lower] #caInfoDialog.cl-day-dialog .trade-pnl{font-size:14px!important}
body[data-compact-lower] #caInfoDialog.cl-day-dialog .trade-pnl-meta{font-size:10px!important;white-space:normal!important}
body[data-compact-lower] #caInfoDialog.cl-day-dialog .open-trade{font-size:9px!important}
body[data-compact-lower] #caInfoDialog.cl-day-dialog .trade-badge{font-size:8px!important;max-width:100%!important}
body[data-compact-lower] #dashboardChartModal .decision-impact-map-modal__panel,
body[data-compact-lower] #decisionImpactMapModal .decision-impact-map-modal__panel{position:relative!important;inset:auto!important;transform:none!important;transform-origin:center!important;display:flex!important;flex-direction:column!important;width:100%!important;height:70dvh!important;min-height:310px!important;max-height:calc(100dvh - 24px)!important}
body[data-compact-lower] #dashboardChartModal .decision-impact-map-modal__header,
body[data-compact-lower] #decisionImpactMapModal .decision-impact-map-modal__header{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;flex:none!important;gap:8px!important;padding:10px!important;height:auto!important;width:100%!important}
body[data-compact-lower] .decision-impact-map-modal__title{min-width:0!important;flex:1!important}
body[data-compact-lower] .decision-impact-map-modal__actions{display:flex!important;flex-direction:row!important;gap:5px!important;width:auto!important;flex:none!important}
body[data-compact-lower] #dashboardChartModalViewport,
body[data-compact-lower] #decisionImpactMapModal .decision-impact-map-modal__viewport{position:relative!important;flex:1!important;min-height:0!important;height:auto!important;width:100%!important}
body[data-compact-lower] #dashboardChartModalStage,
body[data-compact-lower] #decisionImpactMapModal .decision-impact-map-modal__stage{width:100%!important;height:100%!important}
body[data-compact-lower] #dashboardChartModalImage{width:100%!important;height:100%!important;object-fit:contain!important}
body[data-compact-lower] #chartFullscreenOverlay .chart-fullscreen-shell{transform:none!important}
}

@media(max-width:767px){
body[data-compact-lower] #homeLowerCompact .market-breakdown-home-chart{height:auto!important;aspect-ratio:300/145;min-height:105px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;background:#090b12!important}
body[data-compact-lower] #homeLowerCompact .market-breakdown-home-chart svg{display:block!important;width:100%!important;height:auto!important;max-height:100%!important}
body[data-compact-lower] #homeLowerCompact .market-breakdown-home-preview-loading,
body[data-compact-lower] #homeLowerCompact .market-breakdown-home-no-preview{font-size:11px!important;line-height:1.4!important;text-align:center!important;padding:8px!important}
body[data-compact-lower] #homeLowerCompact .market-breakdown-home-card h4{font-size:12px!important;line-height:1.4!important;min-height:3.9em!important;display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important}
body[data-compact-lower] #homeLowerCompact .market-breakdown-home-meta{gap:6px!important;flex-wrap:wrap!important;font-size:9px!important}
body[data-compact-lower] #homeLowerCompact .market-breakdown-home-card{flex-basis:86%!important}
}

/* Home: remove the three retired panels without detaching their data sources. */
@media(max-width:767px){
body[data-compact-lower] #homeAnalyticsCompact #performanceIntelligenceSection,
body[data-compact-lower] #homeLowerCompact > [data-cl-section="journal-guide"],
body[data-compact-lower] #homeLowerCompact > [data-cl-section="overview"]{display:none!important}
}
