/*



Theme Name: Forex Refresh



Template: hermer



Version: 0.3.9



Description: Isolated visual refresh of the existing Forex.pl content.



*/



:root{--fx-blue:#245f9c;--fx-blue-hover:#2870ac;--fx-green:#387e24;--fx-ink:#213558;--fx-muted:#51647c;--fx-line:#dce6ee;--fx-soft:#f2f7fb}



body{background:#fff}body h1,body h2,body h3,body h4{font-style:normal!important;letter-spacing:-.025em}body p{line-height:1.65}



body .button-green,body .button-blue{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:13px 23px!important;border-radius:10px!important;font-weight:650!important;text-decoration:none!important;transition:background .18s,box-shadow .18s,transform .18s;color:#fff!important;background:var(--fx-green)!important;border:1px solid transparent!important}



body .button-green *,body .button-blue *{color:inherit!important}



body .button-blue,body a.button-green[href*="konto-rzeczywiste"]{background:var(--fx-blue)!important}



body .button-green:hover{background:#306e20!important;box-shadow:0 5px 18px #387e2426;transform:none}body .button-blue:hover,body a.button-green[href*="konto-rzeczywiste"]:hover{background:var(--fx-blue-hover)!important;box-shadow:0 5px 18px #245f9c26}



body a:focus-visible,body button:focus-visible{outline:3px solid #e1ad25!important;outline-offset:4px;color:inherit}body .button-green:focus-visible,body .button-blue:focus-visible{color:#fff!important;background:var(--fx-blue)!important}



.site-header{border-bottom:1px solid var(--fx-line)}.site-branding .fx-logo{width:140px;height:auto!important;max-height:42px;object-fit:contain}



body .home article .slide{border-radius:18px}body .fx-form-shell{max-width:1160px;margin:28px auto 50px;padding:0 24px;display:grid;grid-template-columns:1fr 1.08fr;gap:28px;align-items:start}



body .fx-benefits{border-radius:22px;background:linear-gradient(135deg,#21568d,#2d76ae);padding:36px;color:white;position:sticky;top:60px}



body .fx-benefits *{color:inherit}body .fx-benefits .fx-eyebrow{font-size:12px;font-weight:750;letter-spacing:.1em;text-transform:uppercase;opacity:.85}body .fx-benefits h2{font-size:34px;line-height:1.15;margin:16px 0!important;max-width:13ch}body .fx-benefits p{color:#edf6ff;font-size:16px}body .fx-benefits ul{padding:0;list-style:none;margin:28px 0}body .fx-benefits li{padding:14px 0;border-top:1px solid #ffffff35;line-height:1.5}body .fx-benefits li strong{display:block;font-size:17px}body .fx-benefits li span{font-size:14px;color:#e0edf8}body .fx-benefits .fx-separate{font-size:13px;border:1px solid #ffffff45;border-radius:12px;padding:14px}



body .fx-form-card{background:#fff;border:1px solid var(--fx-line);border-radius:22px;padding:30px;box-shadow:0 14px 45px #2135580d}body .fx-form-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}body .fx-form-top img{width:85px;height:auto}body .fx-form-top span{font-size:12px;font-weight:650;color:var(--fx-muted)}body .fx-form-card h2{font-size:25px;margin:0 0 8px!important}body .fx-form-intro{font-size:14px;color:var(--fx-muted)}body .fx-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}body .fx-field{display:block;font-size:14px;font-weight:600;margin:0 0 14px}body .fx-field input{width:100%;min-height:48px;border:1px solid #b9c9d7;border-radius:9px;padding:10px 12px;margin-top:6px;background:#fff;color:var(--fx-ink);font-size:16px}body .fx-field input:focus{outline:2px solid #245f9c;outline-offset:1px}body .fx-check{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.55;font-weight:400;margin:14px 0}body .fx-check input{flex-shrink:0;width:18px;height:18px;margin-top:2px;accent-color:var(--fx-blue)}body .fx-check a{color:var(--fx-blue);text-decoration:underline}body .fx-phone-option{background:var(--fx-soft);padding:1px 14px;border-radius:10px;margin:12px 0}body .fx-form-card button[type=submit]{width:100%;margin:8px 0}body .fx-next{font-size:12px;text-align:center;color:var(--fx-muted)}body .fx-upgrade{font-size:13px;background:var(--fx-soft);padding:12px;border-radius:10px;margin-bottom:20px}body .fx-upgrade a{font-weight:700;color:var(--fx-blue)}



@media(max-width:780px){body .fx-form-shell{grid-template-columns:1fr;padding:0 16px;gap:18px;margin-top:16px}body .fx-benefits{position:static;padding:24px}body .fx-benefits h2{font-size:28px;max-width:none}body .fx-benefits ul{margin:16px 0}body .fx-benefits li{padding:10px 0}body .fx-form-card{padding:22px}body .fx-form-top{gap:12px}}



@media(max-width:420px){body .fx-fields{gap:10px}body .fx-form-card{padding:18px}body .fx-form-top span{font-size:11px}}



@media(prefers-reduced-motion:reduce){body .button-green,body .button-blue{transition:none;transform:none!important}}







/* Keep the form close to the navigation, especially on small screens. */



body:is(.page-id-4175,.page-id-4176) .title-container{padding:20px 16px;background:#245f9c}



body:is(.page-id-4175,.page-id-4176) .title-container h1{font-size:26px!important;text-transform:none;margin:0 0 8px}



body:is(.page-id-4175,.page-id-4176) #breadcrumbs{padding-top:12px!important}



body .fx-benefits h2{max-width:20ch;font-size:30px}



body .fx-benefits ul{list-style:none!important;padding-left:0!important}



@media(max-width:780px){body .fx-form-card{order:1}body .fx-benefits{order:2}body:is(.page-id-4175,.page-id-4176) .title-container{padding:16px}body:is(.page-id-4175,.page-id-4176) .title-container h1{font-size:24px!important}}







@media(max-width:1023px){body header#masthead{display:none}}



.gm-logo .fx-mobile-logo{display:block;width:125px;height:auto}.gm-menu-btn:focus-visible{outline:3px solid #e1ad25;outline-offset:5px}







@media(min-width:781px) and (max-width:960px){body .fx-form-shell{grid-template-columns:1fr;max-width:700px}body .fx-form-card{order:1}body .fx-benefits{order:2;position:static}}







body.home .slide .button-green{display:flex!important;width:max-content;max-width:100%;margin:12px auto 6px!important}







/* Refresh 0.2: stable hero, calmer navigation, consistent content rhythm. */



body{--fx-space:clamp(36px,5vw,68px)}



body.home .slide h1{min-height:0!important;margin:0 0 26px!important;font-size:clamp(30px,3.2vw,42px)!important;line-height:1.18;letter-spacing:-.035em}



body.home .slide h1 img{display:block;width:100px!important;height:40px!important;max-height:40px!important;margin:24px auto 0!important;flex-shrink:0}



body.home #post-19>.entry-content>.container:first-child{padding-top:42px;padding-bottom:38px}



body.home .slider:not(.slick-initialized){display:block}body.home .slider .slide{outline:none}body.home .slick-dots{display:none!important}



body.home .row.position-relative video{aspect-ratio:1;object-fit:contain;max-height:100%;right:-4rem}



body.home .slide .desc{font-size:16px;line-height:1.55;margin-bottom:12px;min-height:50px}



body.home .slide small{display:block;font-size:12px;line-height:1.5;color:#51647c;margin-top:8px}



body.home .slide .button-green{min-width:210px}



body.home .entry-content>.forex-grid.container{margin-top:var(--fx-space);margin-bottom:var(--fx-space)}



body.home .entry-content>.forex-grid-wrapper,body.home .entry-content>.info-block,body.home .entry-content>.investments,body.home .entry-content>.blog-wrapper,body.home .entry-content>.faq-wrapper{padding-top:var(--fx-space);padding-bottom:var(--fx-space);margin-top:0;margin-bottom:0}



body.home .forex-grid-wrapper .forex-grid{margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0}



body.home h2{font-size:clamp(24px,2.3vw,32px);line-height:1.25;max-width:34ch;margin-bottom:24px}



body.home .prehead{font-size:12px;font-weight:700;letter-spacing:.11em;margin:0 0 8px;color:#61718a}



body.home .dark-bg{background:#245782;padding:18px 0}body.home .dark-bg .button-green{margin-top:10px}



body .quote-grid{gap:24px}body #tab_wrapper>ul{display:flex;flex-wrap:wrap;gap:8px;border:0;margin-bottom:16px;padding-left:0}



body #tab_wrapper>ul li{border:1px solid #dce6ee!important;border-radius:10px;min-height:44px;padding:11px 18px;cursor:pointer;background:#f4f8fc;color:#245f9c;font-weight:650;transition:background .18s,box-shadow .18s}



body #tab_wrapper>ul li:hover,body #tab_wrapper>ul li:focus-visible{background:#e2eff9;box-shadow:0 0 0 2px #b5d2e8;outline:none}



body .forex-tab-content iframe{border-radius:14px;border:1px solid #dce6ee;display:block}



body .forex-grid-wrapper{background:#f4f8fb}body .blog-wrapper{background:#f4f8fb}body .faq-wrapper{background:#fff}



body .info-block{border-top:1px solid #e1e9ef;border-bottom:1px solid #e1e9ef}



body:not(.home) .title-container{background:#245f9c;padding:28px 18px}body:not(.home) .title-container h1{font-size:clamp(26px,3vw,38px)!important;line-height:1.2;text-transform:none}



body.single .entry-content{font-size:17px;line-height:1.75}body.single .entry-content p{line-height:1.75}body.single .entry-content h2,body.single .entry-content h3{margin-top:1.7em;line-height:1.3}



body.single .entry-content img{max-width:100%;height:auto;border-radius:12px}



body #masthead{padding:16px 0;border-bottom:1px solid #e0e8f0;background:#fff}



body #primary-menu{height:90px;margin:0;padding:0;gap:8px}



body #primary-menu:before{bottom:45px;width:100%;border-color:#e3eaf0}



body #primary-menu a{border-radius:9px;color:#274361!important;font-size:14px;font-weight:550;text-shadow:none!important;transition:background .18s,color .18s,box-shadow .18s;display:block;padding:10px 12px;line-height:1.35}



body #primary-menu a:hover,body #primary-menu a:focus-visible{background:#eaf3fb!important;color:#165a94!important;box-shadow:inset 0 0 0 1px #d4e6f5;text-shadow:none!important}



body #primary-menu>li.menu-hovered>a{background:#eef6e9!important;color:#2e6e21!important;font-weight:700}



body #primary-menu>li.menu-hovered>a:before,body #primary-menu>li.menu-hovered>a:after{display:none}



body #primary-menu>li>.sub-menu{top:49px!important;gap:3px;bottom:auto}



body #primary-menu>li.menu-hovered>.sub-menu{display:flex!important}



body #primary-menu>li>.sub-menu>li{margin:0;padding:0 0 8px!important}



body #primary-menu>li>.sub-menu .sub-menu{display:none!important;top:100%!important;bottom:auto;left:0;min-width:220px;max-width:330px;border:1px solid #dce6ee!important;background:#fff!important;border-radius:14px;padding:7px!important;box-shadow:0 12px 34px #173c6424;z-index:200;animation:fx-dropdown .16s ease-out}



body #primary-menu>li>.sub-menu .sub-menu .sub-menu{top:0!important;left:100%!important}



body #primary-menu>li>.sub-menu li:is(:hover,:focus-within)> .sub-menu{display:flex!important}



body #primary-menu>li>.sub-menu .sub-menu li{padding:0!important;margin:0;position:relative;border-radius:9px;background:transparent!important}



body #primary-menu>li>.sub-menu .sub-menu li a{white-space:normal;padding:10px 22px 10px 12px;font-size:14px}



body #primary-menu>li>.sub-menu .sub-menu li::after{top:11px;right:8px;color:#62839f}



body #primary-menu .fx-dismissed>.sub-menu{display:none!important}



@keyframes fx-dropdown{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}



body .gm-main-menu-wrapper{border-radius:18px 0 0 18px;box-shadow:-10px 0 35px #173c6420}



body .gm-main-menu .gm-menu-item a{border-radius:10px;transition:background .18s;color:#274361!important}



body .gm-main-menu .gm-menu-item a:hover,body .gm-main-menu .gm-menu-item a:focus-visible{background:#eaf3fb!important;color:#165a94!important}



body .gm-menu-btn{border-radius:10px;min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}



.fx-mobile-actions[hidden]{display:none!important}.fx-mobile-actions{display:none}



@media(max-width:1023px){body.home #post-19>.entry-content>.container:first-child{padding-top:28px;padding-bottom:26px}body.home .slide .row{justify-content:center}body.home .slide h1{font-size:32px!important}body.home .slide .desc{min-height:0}body.home .slide .col-lg-10{padding:14px 20px!important}body.home .slide h1 img{margin-top:20px!important}}



@media(max-width:767px){body.home .slide h1{font-size:30px!important;margin-bottom:12px!important}body.home .slide .button-green{width:100%;max-width:360px}body.home .slide .col-lg-10{margin-bottom:0!important}body.home .quote-grid{display:block}body #tab_wrapper>ul{gap:6px}body #tab_wrapper>ul li{flex:1 1 40%;text-align:center;padding:10px}body.home h2{max-width:none}body.home .forex-grid.container{padding-left:20px;padding-right:20px}body.home .entry-content>.dark-bg .container{padding-left:16px;padding-right:16px}body.home .fx-mobile-actions{display:flex;position:fixed;left:10px;right:10px;bottom:10px;bottom:max(10px,env(safe-area-inset-bottom));padding:8px;gap:8px;border:1px solid #d9e5ee;background:#fffffff5;box-shadow:0 8px 32px #173c6433;border-radius:16px;z-index:90}body.home .fx-mobile-actions a{flex:1;padding:11px 8px!important;font-size:12px;min-height:46px;white-space:normal;text-align:center}body.home #colophon{padding-bottom:100px}body.single .entry-content{font-size:16px}body.single .entry-content img.alignright{float:none;padding:0;margin:18px auto}}



@media(prefers-reduced-motion:reduce){body #primary-menu a,body .gm-main-menu a,body #tab_wrapper>ul li{transition:none!important}body #primary-menu .sub-menu{animation:none!important}}







/* Refresh 0.3: vivid, readable actions and a full-width market workspace. */



body{--fx-green:#358719;--fx-green-hover:#348618;--fx-blue:#176fd1;--fx-blue-hover:#095bbb}



body .button-green:hover{background:var(--fx-green-hover)!important}



body .button-blue:hover,body a.button-green[href*="konto-rzeczywiste"]:hover{background:var(--fx-blue-hover)!important}



body a.button-green[href*="konto-"],body a.button-blue[href*="konto-"],body .fx-form-card button[type=submit]{position:relative;isolation:isolate;--fx-glow:80,180,38;box-shadow:0 4px 14px rgba(var(--fx-glow),.17)}



body a.button-green[href*="konto-rzeczywiste"],body a.button-blue[href*="konto-rzeczywiste"]{--fx-glow:40,130,240}



body .button-green::after,body .button-blue::after{content:"";position:absolute;inset:0;border:0;border-radius:inherit;pointer-events:none;opacity:1;animation:fx-cta-glow 3.2s ease-in-out infinite;transform:none!important}



body .button-green:hover::after,body .button-blue:hover::after,body .button-green:focus-visible::after,body .button-blue:focus-visible::after{animation-name:fx-cta-glow-active;animation-duration:1.6s}



@keyframes fx-cta-glow{0%,100%{box-shadow:inset 0 0 0 1px #ffffff18,0 2px 8px rgba(var(--fx-glow),.1)}50%{box-shadow:inset 0 0 0 1px #ffffff60,0 3px 14px rgba(var(--fx-glow),.27)}}

@keyframes fx-cta-glow-active{0%,100%{box-shadow:inset 0 0 0 1px #ffffff45,0 3px 12px rgba(var(--fx-glow),.2)}50%{box-shadow:inset 0 0 0 2px #ffffffa0,0 4px 20px rgba(var(--fx-glow),.42)}}



body.home .quote-grid{display:block!important;width:100%;padding:0;max-width:1160px;margin:0 auto}



body.home #tab_wrapper{width:100%;min-width:0}



body.home #tab_wrapper>ul{display:flex!important;max-width:none;justify-content:center;margin:0 0 20px;gap:10px}



body.home #tab_wrapper>ul li{flex:0 1 160px;padding:12px 18px;list-style:none;text-align:center}



body.home #tab_wrapper>ul li p{background:transparent!important;border:0!important;padding:0!important;margin:0;color:inherit!important}



body.home #tab_wrapper>ul li[aria-pressed=true]{background:#176fd1!important;color:#fff!important;border-color:#176fd1!important;box-shadow:0 4px 14px #176fd122}



body.home .quote-grid .forex-charts-wrapper{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start}



body.home .quote-grid .forex-charts-wrapper>div{min-width:0;max-width:100%;width:100%;height:460px!important}



body.home .quote-grid .forex-charts-wrapper>div iframe{width:100%!important;max-width:100%;border-radius:14px}



body.home .quote-grid .forex-charts-wrapper>.tradingview-widget-container{max-width:none}



.fx-market-chart,.fx-market-chart>.tradingview-widget-container{height:460px;width:100%;border-radius:14px;overflow:hidden;background:#f5f8fc}



.fx-market-chart .tradingview-widget-container__widget{height:428px;width:100%}



body .tradingview-widget-copyright{font-size:12px;line-height:20px;min-height:24px;text-align:center}



body.home .quote-grid .forex-charts-column{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:100%;margin:26px auto 0;padding:24px;background:#f2f7fc;border:1px solid #dce8f2;border-radius:18px;max-width:none}



body.home .quote-grid .forex-charts-column p{grid-column:1/-1;text-align:center;max-width:760px;justify-self:center;margin:0 0 4px;font-size:16px}



body.home .quote-grid .forex-charts-column a{margin:0!important;width:100%;font-size:14px;text-align:center}



body.home .quote-grid .forex-charts-column a:first-of-type{grid-column:1/-1;max-width:320px;justify-self:center;background:var(--fx-blue)!important;margin:0 0 4px!important}



body.home .quote-grid .forex-charts-column a:not(:first-of-type){background:#fff!important;color:#1764ab!important;border-color:#c8ddec!important}



body.home .quote-grid .forex-charts-column a:not(:first-of-type):hover{background:#e3effa!important;box-shadow:0 4px 14px #176fd11a}



.fx-reading-progress{position:fixed;top:0;left:0;width:100%;height:4px;z-index:99990;pointer-events:none}



body.admin-bar .fx-reading-progress{top:32px}.fx-reading-progress span{display:block;width:100%;height:100%;background:linear-gradient(90deg,#419b20 0%,#2d5985 50%,#56b9ed 100%);transform-origin:left;transform:scaleX(0)}



@keyframes fx-section-in{from{opacity:.55;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}



.fx-entered{animation:fx-section-in .55s ease-out both}



body.home .dark-bg .tradingview-widget-copyright,body.home .dark-bg .tradingview-widget-copyright a{color:#fff!important}



@media(max-width:900px){body.home .quote-grid .forex-charts-wrapper{grid-template-columns:minmax(0,1fr) 290px;gap:14px}}



@media(max-width:767px){body.home #tab_wrapper>ul{gap:8px}body.home #tab_wrapper>ul li{flex:1 1 40%;padding:11px}body.home .quote-grid .forex-charts-wrapper{grid-template-columns:1fr;gap:20px}body.home .quote-grid .forex-charts-column{grid-template-columns:1fr 1fr;padding:18px;gap:10px}body.home .quote-grid .forex-charts-column a{padding:12px 8px!important;font-size:13px}.fx-reading-progress{height:3px}body.admin-bar .fx-reading-progress{top:46px}}



@media(prefers-reduced-motion:reduce){body .fx-entered{animation:none!important}body a.button-green::after,body a.button-blue::after,body .fx-form-card button[type=submit]::after{animation:none!important;opacity:.4}body .button-green:hover,body .button-blue:hover{transform:none!important}}







/* Four clear steps and a dismissible contextual action bar. */



.fx-journey{padding:56px 0;background:linear-gradient(135deg,#f0f7fd,#f7fbf3);border-top:1px solid #e1edf5;border-bottom:1px solid #e1edf5}



body.home .fx-journey h2{max-width:none;margin-bottom:12px}.fx-journey-intro{color:#52647c;margin-bottom:26px}



.fx-journey-grid{list-style:none!important;padding:0!important;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0}



.fx-journey-grid li{padding:24px;background:#fff;border:1px solid #dce8f1;border-radius:18px;box-shadow:0 6px 20px #173c6406}



.fx-step-number{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:13px;background:#eaf3fc;color:#1764ab;font-size:18px;font-weight:750;margin-bottom:20px}



.fx-journey-grid h3{font-size:19px;line-height:1.3;margin:0 0 12px}.fx-journey-grid p{font-size:14px;margin:0;line-height:1.65;color:#52647c}



.fx-journey-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:26px}.fx-learn-link{font-weight:650;color:#1764ab}



.fx-platform-note{font-size:12px;color:#52647c;max-width:800px;margin:20px 0 0}



body .fx-mobile-actions{position:fixed;display:flex;align-items:center;left:50%;right:auto;transform:translateX(-50%);bottom:16px;max-width:960px;width:calc(100% - 40px);padding:12px 16px;gap:14px;border:1px solid #d9e5ee;background:#fffffff5;box-shadow:0 8px 32px #173c6428;border-radius:16px;z-index:90}



body .fx-mobile-actions[hidden]{display:none!important}.fx-action-caption{margin-right:auto;color:#213558;min-width:160px}.fx-action-caption strong,.fx-action-caption small{display:block}.fx-action-caption small{font-size:12px;margin-top:4px;color:#51647c}



body .fx-dismiss-actions{border:0;background:#eef4f8;border-radius:50%;width:36px;height:36px;flex-shrink:0;color:#385875;font-size:24px;line-height:1;cursor:pointer}



body .fx-mobile-actions a{font-size:14px;white-space:nowrap}body .fx-mobile-actions a:focus-visible{outline-offset:2px}



@media(max-width:1023px){.fx-journey-grid{grid-template-columns:1fr 1fr}.fx-action-caption{display:none}body .fx-mobile-actions{max-width:640px;justify-content:center}}



@media(max-width:767px){body .fx-mobile-actions{left:10px;right:10px;transform:none;width:auto;bottom:max(10px,env(safe-area-inset-bottom));padding:9px;gap:8px}body .fx-mobile-actions a{font-size:12px;padding:11px 7px!important;flex:1;white-space:normal;text-align:center}body .fx-dismiss-actions{width:28px;height:36px;border-radius:8px;font-size:22px}.fx-journey{padding:36px 0}.fx-journey-grid{grid-template-columns:1fr}.fx-journey-grid li{padding:20px 20px 20px 78px;position:relative}.fx-step-number{position:absolute;left:18px;top:20px;width:42px;height:42px}.fx-journey-grid h3{font-size:18px}.fx-journey-actions{display:grid;grid-template-columns:1fr;text-align:center}.fx-journey-actions a{width:100%}}







.fx-exit-dialog{padding:0;border:1px solid #c9dfee;border-radius:24px;width:min(820px,calc(100% - 32px));max-height:calc(100dvh - 48px);margin:auto;color:#213558;background:#fff;box-shadow:0 28px 100px #132f6040;overflow:auto}



.fx-exit-dialog[open]{display:grid;grid-template-columns:.8fr 1.2fr}.fx-exit-dialog::backdrop{background:#10243999;backdrop-filter:blur(4px)}



.fx-exit-close{position:absolute;top:14px;right:14px;width:40px;height:40px;border:1px solid #ccdeec;border-radius:50%;background:#fff;color:#345776;font-size:25px;z-index:2;cursor:pointer}



.fx-exit-visual{padding:42px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(145deg,#155298,#2788c7);color:#fff;gap:22px}



.fx-exit-visual svg{width:135px;height:135px}.fx-exit-visual span{font-size:30px;font-weight:700;line-height:1.3}



.fx-exit-content{padding:44px 34px 26px}.fx-exit-content h2{font-size:32px!important;line-height:1.15;margin:12px 0 18px!important}.fx-exit-content>p:not(.prehead):not(.fx-platform-note){font-size:15px;line-height:1.6;color:#52647c}.fx-exit-content ul{padding-left:18px;margin:20px 0;font-size:14px;line-height:1.8}.fx-exit-content .button-blue{width:100%;text-align:center;font-size:14px}.fx-exit-demo{display:block;margin:16px 0;text-align:center;font-size:14px;color:#1764ab;font-weight:650}.fx-exit-later{display:block;border:0;background:none;color:#52647c;margin:16px auto 0;font-size:13px;text-decoration:underline;cursor:pointer}.fx-exit-content .fx-platform-note{font-size:11px;margin-top:18px}



@media(max-width:650px){.fx-exit-dialog[open]{grid-template-columns:1fr}.fx-exit-visual{display:none}.fx-exit-content{padding:50px 24px 24px}.fx-exit-content h2{font-size:27px!important}}







/* Actual Groovy mobile drawer selectors, independently verified against its DOM. */



body .gm-navigation-drawer--mobile{border-radius:20px 0 0 20px!important;box-shadow:-12px 0 38px #173c6426!important}



body .gm-mobile-menu-container{padding:10px 12px!important}body .gm-mobile-menu-container .gm-menu-item{border:0!important}



body .gm-mobile-menu-container a.gm-anchor{border:0!important;border-radius:10px!important;padding:13px 12px!important;min-height:44px;font-size:13px!important;text-transform:none!important;line-height:1.4;transition:background .18s}



body .gm-mobile-menu-container a.gm-anchor:hover,body .gm-mobile-menu-container a.gm-anchor:focus-visible{background:#e9f3fc!important;color:#1764ab!important}



body .gm-mobile-menu-container .gm-open>a.gm-anchor{background:#eff7eb!important;color:#2c7014!important}



body .gm-mobile-menu-container .gm-dropdown-menu{padding-left:12px!important;border:0!important}



body.home .entry-content>.forex-grid.container{padding-top:0;padding-bottom:0}



body .fx-mobile-actions:has(~ dialog[open]){display:none!important}



@media(prefers-reduced-motion:reduce){body .gm-mobile-menu-container a.gm-anchor{transition:none}}







body .fx-journey-actions a,body .fx-mobile-actions a{margin:0!important}



body.home .quote-grid .forex-charts-column a:not(:first-of-type){max-width:none!important}



body.single main>.container-fluid.px-0>.row{margin-left:0;margin-right:0}







body .fx-exit-visual,body .fx-exit-visual span,body .fx-exit-visual svg{color:#fff!important}



body:is(.page-id-4175,.page-id-4176) .title-container{padding:20px 16px!important}body:is(.page-id-4175,.page-id-4176) .title-container h1{font-size:26px!important;margin:0 0 6px!important}







/* Second visual pass: alignment, readable mobile headings, explicit optional fields. */



body .fx-form-top>span{font-size:12px;line-height:1.5;display:block}body .fx-form-top>span strong{display:block;font-weight:650}body .fx-form-top>span>span{display:block;font-weight:400}



body .fx-field small{font-size:11px;font-weight:400;color:#586b80;white-space:nowrap}



body .fx-form-card button.button-blue[type=submit]{--fx-glow:40,130,240}



.fx-mobile-benefits{display:none}



body.home .forex-grid-wrapper .forex-grid .grid-section{gap:20px;align-items:stretch}



body.home .forex-grid-wrapper .forex-grid .grid-section .block-wrapper{display:flex;border:1px solid #dce6ee;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 6px 24px #173c6408;transform:none}



body.home .forex-grid-wrapper .forex-grid .grid-section .block-wrapper .block{display:flex;flex-direction:column;background:#fff!important;padding:24px;transform:none;min-width:0;height:100%;width:100%}



body.home .forex-grid-wrapper .forex-grid .grid-section .block-wrapper .block figure{margin:0 0 20px}body.home .forex-grid-wrapper .forex-grid .grid-section .block-wrapper .block figure img{width:62px;height:62px;object-fit:contain}



body.home .forex-grid-wrapper .forex-grid .grid-section .block-wrapper .block .content{padding:0;margin:0 0 18px}



body.home .forex-grid-wrapper .forex-grid .grid-section .block-wrapper .block .content p.title{font-size:20px;line-height:1.4;margin:0 0 18px;min-height:56px}



body.home .forex-grid-wrapper .forex-grid .grid-section .block-wrapper .block .button-container{margin-top:auto;padding:0;min-height:48px;display:flex;align-items:center}



body.home .forex-grid-wrapper .forex-grid .grid-section .block-wrapper .block .button-container a{color:#1764ab;line-height:1.45;display:flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px}



body.home .investments-grid .block{border:1px solid #e0e9f0;border-radius:16px;padding:24px;background:#fff}



body .fx-exit-content ul{list-style:disc!important;padding-left:20px}



@media(max-width:1023px){body header.gm-navbar.gm-disable-desktop-view{height:70px!important;min-height:70px!important}body .fx-safety-banner{font-size:12px!important;padding:6px 14px!important;line-height:1.5!important}}



@media(max-width:780px){body .fx-form-top{align-items:center;gap:14px}body .fx-form-top>span{font-size:12px!important}body .fx-form-top img{width:74px}body .fx-mobile-benefits{display:block;font-size:12px;line-height:1.5;color:#52647c;margin:14px 0;padding:10px 12px;border-left:3px solid #328414;background:#f3f8ef;border-radius:0 8px 8px 0}body .fx-mobile-benefits strong{font-size:13px;color:#294b2a}body .fx-fields{gap:12px}body .fx-field small{display:block}body.home .forex-grid-wrapper .forex-grid .grid-section .block-wrapper .block .content p.title{min-height:0}}





/* CTA 0.3.2: fixed geometry in every context, edge-bound pulse. */

body .button-green,body .button-blue,body .button-green:hover,body .button-blue:hover,body .button-green:active,body .button-blue:active{position:relative;isolation:isolate;--fx-glow:80,180,38;transform:none!important;scale:none!important;font-size:var(--fx-cta-size,16px)!important;line-height:1.4!important;transition:background-color .18s,box-shadow .18s;color:#fff!important}

body .button-blue,body a.button-green[href*="konto-rzeczywiste"]{--fx-glow:40,130,240}

body .fx-mobile-actions a,body .fx-exit-content .button-blue{--fx-cta-size:14px}

@media(max-width:767px){body .fx-mobile-actions a{--fx-cta-size:12px}}

@media(prefers-reduced-motion:reduce){body .button-green::after,body .button-blue::after{animation:none!important;box-shadow:inset 0 0 0 1px #ffffff40}body .button-green,body .button-blue{transition:none!important}}



/* 0.3.3: symmetric CTA pairs and readable dark education panel. */

body.home .info-block .content h2,body.home .info-block .content h2 strong{color:#fff!important}

body.home .info-block .content p{color:#eff6ff!important}

body.home .info-block .content .prehead{color:#d4ecff!important}

body .fx-exit-content .button-blue,body .fx-exit-content .fx-exit-demo{display:flex;width:100%;max-width:none;box-sizing:border-box;justify-content:center;text-align:center;--fx-cta-size:14px}

body .fx-exit-content .fx-exit-demo{margin:12px auto 0!important}

@media(max-width:767px){

 body.home .slide .button-green{width:100%!important;max-width:360px!important;box-sizing:border-box;margin-left:auto!important;margin-right:auto!important;min-width:0}

 body .fx-journey-actions{width:100%;max-width:360px;margin-left:auto;margin-right:auto;justify-items:stretch}

 body .fx-journey-actions .button-green,body .fx-journey-actions .button-blue{width:100%;max-width:none!important;min-width:0;box-sizing:border-box;justify-content:center;text-align:center}

 body .fx-mobile-actions,body.home .fx-mobile-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:calc(100% - 24px);max-width:480px;box-sizing:border-box;padding:27px 10px 10px;gap:10px;align-items:stretch}

 body .fx-mobile-actions a,body.home .fx-mobile-actions a{width:100%;max-width:none!important;min-width:0;min-height:52px;box-sizing:border-box;margin:0!important;white-space:normal;text-align:center;justify-content:center;align-self:stretch}

 body .fx-dismiss-actions{position:absolute;top:0;right:5px;width:28px;height:26px;background:transparent}

 body .fx-exit-dialog{inset:0;width:calc(100% - 32px);max-width:480px;max-height:calc(100dvh - 32px);margin:auto;box-sizing:border-box}

 body .fx-exit-content{text-align:center}

 body .fx-exit-content ul{text-align:left}

}



/* Popup chrome: centered icon, quiet blue edge and inset keyboard focus. */

body .fx-exit-dialog{border:1px solid #7fa5c9;outline:none}

body .fx-exit-close{display:grid;place-items:center;width:40px;height:40px;padding:0!important;min-width:40px;min-height:40px;box-sizing:border-box;border:1px solid #c4dced;border-radius:50%;background:#f7fbff;color:#426485;line-height:1;font-size:0;box-shadow:none;transition:background-color .18s,border-color .18s}

body .fx-exit-close svg{display:block;width:18px;height:18px;pointer-events:none;stroke:currentColor}

body .fx-exit-close:hover{background:#eaf4fc;border-color:#8fb6d7;color:#235d91}

body .fx-exit-close:focus,body .fx-exit-close:focus-visible{outline:none!important;outline-offset:0;box-shadow:none;color:#235d91}

body .fx-exit-close:focus-visible{background:#eaf4fc;border-color:#5789b5;box-shadow:inset 0 0 0 1px #5789b5}



/* Approved high-resolution logo E across brand placements. */

body img[src*="forex-logo-color-match-v2.svg"]{height:auto!important;object-fit:contain;aspect-ratio:2167 / 725}

body .site-branding .fx-logo{width:150px;max-height:none}

body .gm-logo .fx-mobile-logo{width:145px;max-height:none}

body #colophon img[src*="forex-logo-color-match-v2.svg"]{width:160px;max-width:100%;max-height:none}



/* 0.3.6: persistent footer CTA, centered dismiss, outward brand-colored glow. */

body .fx-dismiss-actions{display:grid;place-items:center;padding:0!important;box-sizing:border-box;border:1px solid #c4dced;border-radius:50%;width:36px;height:36px;line-height:1;font-size:0;color:#426485;background:#f2f8fd}

body .fx-dismiss-actions svg{display:block;width:16px;height:16px;pointer-events:none}

body .fx-dismiss-actions:hover{background:#e5f1fb;color:#235d91}

body .fx-dismiss-actions:focus,body .fx-dismiss-actions:focus-visible{outline:none!important;box-shadow:none}

body .fx-dismiss-actions:focus-visible{border-color:#5789b5;box-shadow:inset 0 0 0 1px #5789b5}

@media(max-width:767px){body .fx-mobile-actions,body.home .fx-mobile-actions{padding-top:33px}body .fx-dismiss-actions{width:28px;height:28px;top:2px;right:6px}}

body a.button-green[href*="konto-"],body a.button-blue[href*="konto-"],body .fx-form-card button[type=submit]{--fx-glow:53,135,25;transition:transform .2s ease,background-color .18s,box-shadow .18s;transform-origin:center}

body a.button-blue[href*="konto-"],body a.button-green[href*="konto-rzeczywiste"],body .fx-form-card button.button-blue{--fx-glow:23,111,209}

body a.button-green[href*="konto-"]::after,body a.button-blue[href*="konto-"]::after,body .fx-form-card button[type=submit]::after{inset:0;opacity:1;border:0;border-radius:inherit;animation:fx-account-pulse 3s ease-in-out infinite;box-shadow:none}

@keyframes fx-account-pulse{0%,100%{box-shadow:0 0 0 0 rgba(var(--fx-glow),.12),0 3px 10px rgba(var(--fx-glow),.15)}50%{box-shadow:0 0 0 2px rgba(var(--fx-glow),.3),0 5px 21px rgba(var(--fx-glow),.38)}}

@keyframes fx-account-pulse-active{0%,100%{box-shadow:0 0 0 1px rgba(var(--fx-glow),.24),0 5px 17px rgba(var(--fx-glow),.3)}50%{box-shadow:0 0 0 3px rgba(var(--fx-glow),.4),0 6px 28px rgba(var(--fx-glow),.5)}}

@media(hover:hover) and (pointer:fine){body a.button-green[href*="konto-"]:hover,body a.button-blue[href*="konto-"]:hover,body .fx-form-card button[type=submit]:hover{transform:scale(1.015)!important}body a.button-green[href*="konto-"]:hover::after,body a.button-blue[href*="konto-"]:hover::after,body .fx-form-card button[type=submit]:hover::after{animation-name:fx-account-pulse-active;animation-duration:1.8s}}

@media(prefers-reduced-motion:reduce){body a.button-green[href*="konto-"]::after,body a.button-blue[href*="konto-"]::after,body .fx-form-card button[type=submit]::after{animation:none!important;box-shadow:0 2px 10px rgba(var(--fx-glow),.2)}body a.button-green[href*="konto-"]:hover,body a.button-blue[href*="konto-"]:hover,body .fx-form-card button[type=submit]:hover{transform:none!important;transition:none!important}}



/* 0.3.7: original-inspired palette and full-sized hero media. */

body{--fx-green:#419b20;--fx-green-hover:#38891a}

body a.button-green[href*="konto-"],body .fx-form-card button.button-green{--fx-glow:65,155,32}

body a.button-green[href*="konto-rzeczywiste"]{--fx-glow:23,111,209}

body.home .dark-bg{background:#213558}

body.home .dark-bg .tradingview-widget-copyright,body.home .dark-bg .tradingview-widget-copyright a,body.home .dark-bg .tradingview-widget-copyright span{color:#e3efff!important}

body.home .dark-bg iframe{filter:brightness(1.25)}

body.home .info-block .content .prehead{margin-bottom:18px!important}

body.home .info-block .content .button-green::after,body.home .info-block .content .button-green:hover::after{animation:fx-education-pulse 4.5s ease-in-out infinite}

@keyframes fx-education-pulse{0%,100%{box-shadow:0 2px 7px rgba(65,155,32,.12)}50%{box-shadow:0 0 0 1px rgba(65,155,32,.2),0 4px 13px rgba(65,155,32,.25)}}

@media(min-width:992px){body.home .row.position-relative video{width:60%;max-width:680px;height:auto;max-height:none;aspect-ratio:750 / 650;object-fit:contain;right:-80px;top:50%;transform:translateY(-50%);border:0;outline:0;border-radius:0;box-shadow:none;pointer-events:none}body.home #post-19>.entry-content>.container:first-child{overflow:hidden}}

@media(min-width:992px) and (max-width:1199px){body.home .row.position-relative video{width:56%;right:-20px}}

@media(prefers-reduced-motion:reduce){body.home .info-block .content .button-green::after{animation:none!important}}



/* 0.3.8: shared desktop content rail and balanced navigation. */

@media(min-width:1024px){

 body.home .container,body #masthead>.container,body #colophon .container{width:100%!important;max-width:1280px!important;margin-left:auto!important;margin-right:auto!important;padding-left:24px;padding-right:24px;box-sizing:border-box}

 body.home .container .container{max-width:100%!important;padding-left:0;padding-right:0}

 body #masthead .nav-grid{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:center;gap:32px;width:100%}

 body #masthead .site-branding{width:190px;max-width:none;flex:none;margin:0}

 body #masthead .site-branding .fx-logo{width:190px!important;max-width:100%;max-height:none}

 body #site-navigation{width:100%;min-width:0;margin-left:0}

 body #primary-menu{width:100%;justify-content:center}

 body #primary-menu>li>.sub-menu{left:0;width:100%;justify-content:center;flex-wrap:wrap}

 body #primary-menu>li>.sub-menu .sub-menu{width:auto;justify-content:flex-start}

}

@media(min-width:1024px) and (max-width:1199px){body #masthead .nav-grid{grid-template-columns:160px minmax(0,1fr);gap:20px}body #masthead .site-branding{width:160px}body #masthead .site-branding .fx-logo{width:160px!important}}

body .gm-logo .fx-mobile-logo{width:160px;max-width:100%;max-height:none}



@media(min-width:1024px){body #primary-menu>li{position:static!important}body #primary-menu>li>.sub-menu{flex-direction:row!important;max-width:none!important}body #primary-menu>li>.sub-menu>li{position:relative}}



/* 0.3.9: consistent visual layout, consistent palette and reusable learning CTA. */



body .fx-benefits,body .title-container,body.home .dark-bg{background:#2d5985!important}

body.home .info-block{background-color:#2d5985!important}

body .fx-benefits .fx-benefit-list{display:grid;gap:14px;padding:0;margin:24px 0;list-style:none}

body .fx-benefits .fx-benefit-list li{display:flex;align-items:center;gap:16px;padding:14px;border:1px solid #ffffff30;border-radius:16px;background:#ffffff09;margin:0}

body .fx-benefits .fx-benefit-list li:before{display:none}

.fx-benefit-list img{width:64px;height:64px;object-fit:contain;flex:none;filter:drop-shadow(0 0 8px #88d4ff30)}

.fx-benefit-list li:hover img{animation:fx-icon-glow 3s ease-in-out infinite}

.fx-benefit-list strong,.fx-benefit-list span{display:block;color:#fff!important}.fx-benefit-list span{font-size:14px;line-height:1.6;margin-top:5px}

@keyframes fx-icon-glow{50%{filter:drop-shadow(0 0 13px #88d4ff90)}}

body.fx-learning-page .chart-choice{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}

body.fx-learning-page .chart-choice a{display:flex;align-items:center;justify-content:center;min-height:64px;margin:0;padding:16px 20px;background:#245f9c;color:#fff;border:1px solid #5387ba;border-radius:14px;text-align:center;font-weight:600;line-height:1.45;text-decoration:none;transition:background .2s,box-shadow .2s,transform .2s}

body.fx-learning-page .chart-choice a:hover,body.fx-learning-page .chart-choice a:focus-visible{background:#2c70b3;animation:fx-learning-glow 3s ease-in-out infinite;transform:translateY(-2px)}

@keyframes fx-learning-glow{0%,100%{box-shadow:0 0 0 1px #4987c240,0 4px 12px #245f9c20}50%{box-shadow:0 0 0 2px #4987c270,0 6px 20px #245f9c40}}

.fx-learning-cta{max-width:1180px;margin:40px auto 64px;padding:36px;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr);gap:40px;align-items:center;background:#eef5fc;border:1px solid #c9dcec;border-radius:24px;color:#263858}

.fx-learning-cta h2{font-size:28px;line-height:1.3;margin:10px 0 18px}.fx-learning-cta p{line-height:1.7}.fx-learning-cta ul{padding-left:20px;line-height:1.9}.fx-learning-actions{display:flex;flex-direction:column;align-items:stretch;gap:16px;text-align:center}.fx-learning-actions a.button-blue,.fx-learning-actions a.button-green{width:100%;box-sizing:border-box;text-align:center}.fx-return-home{color:#245f9c;text-decoration:underline;text-underline-offset:4px}.fx-return-home:hover{color:#174574}

body.home .forex-grid-wrapper a:hover,body.home .forex-grid-wrapper a:focus-visible{color:#245f9c;text-decoration:underline;text-underline-offset:5px}

@media(max-width:780px){.fx-learning-cta{margin:28px 16px 40px;padding:24px;grid-template-columns:1fr;gap:20px}.fx-learning-cta h2{font-size:24px}body.fx-learning-page .chart-choice{grid-template-columns:1fr}.fx-benefit-list img{width:52px;height:52px}}

@media(prefers-reduced-motion:reduce){.fx-benefit-list li:hover img,body.fx-learning-page .chart-choice a:hover,body.fx-learning-page .chart-choice a:focus-visible{animation:none;transform:none}}



body.fx-learning-page .chart-choice a{width:100%!important;max-width:none!important;box-sizing:border-box;white-space:normal;overflow:visible}body .fx-learning-actions a.button-green,body .fx-learning-actions a.button-blue{width:100%!important;max-width:none!important;display:flex!important;justify-content:center;align-items:center;margin:0!important}



/* Restore original education artwork; suppress only external duplicate ticker caption. */

body.home .dark-bg .tradingview-widget-copyright{display:none!important}body.home .ticker-grid{align-items:center;gap:28px}body.home .ticker-grid .tradingview-widget-container{margin-bottom:0!important}body.home .ticker-grid>div:last-child{display:flex;justify-content:center;align-items:center}



body .fx-learning-action-title{font-size:24px;font-weight:750;line-height:1.3;color:#2d5985;margin:0 0 8px;text-align:center}



.fx-phone-fields{display:grid;grid-template-columns:minmax(110px,.8fr) minmax(0,1.4fr);gap:12px}.fx-phone-fields .fx-field{min-width:0}.fx-phone-fields select{width:100%;height:48px;border:1px solid #c7d5e3;border-radius:10px;background:white;padding:10px;font:inherit;color:#263858}.fx-phone-explain{font-size:13px;line-height:1.6;margin:12px 0}.fx-phone-fields input{width:100%;min-width:0;box-sizing:border-box}



body.home .dark-bg{padding:28px 0!important}body.home .ticker-grid{margin:0!important;min-height:80px;align-items:center!important}body.home .ticker-grid>div:last-child{height:100%;align-self:center;align-items:center}body.home .ticker-grid a.button-green{margin:0!important;top:auto!important;position:relative!important;transform:none!important}body.home .ticker-panel{align-self:center}body.home .ticker-panel iframe{display:block}@media(max-width:768px){body.home .dark-bg{padding:24px 0!important}body.home .ticker-grid{gap:20px}}



body a.button-green[href="/puls-rynku/kursy-walut/"]{--fx-glow:23,111,209;background:#176fd1!important;border:1px solid #438de0!important;position:relative;transition:transform .2s,background .2s}

body a.button-green[href="/puls-rynku/kursy-walut/"]::after{inset:0!important;border:0!important;border-radius:inherit;outline:0!important;animation:fx-account-pulse 3s ease-in-out infinite!important}

@media(hover:hover) and (pointer:fine){body a.button-green[href="/puls-rynku/kursy-walut/"]:hover{background:#1e78d8!important;transform:scale(1.015)!important}body a.button-green[href="/puls-rynku/kursy-walut/"]:hover::after{animation:fx-account-pulse-active 1.8s ease-in-out infinite!important}}

@media(prefers-reduced-motion:reduce){body a.button-green[href="/puls-rynku/kursy-walut/"]::after{animation:none!important}body a.button-green[href="/puls-rynku/kursy-walut/"]:hover{transform:none!important}}



/* Stable first-paint form entrance and compact country picker. */

body .fx-benefits{animation:fx-form-left .65s cubic-bezier(.2,.7,.2,1) both}body .fx-form-card{animation:fx-form-right .65s cubic-bezier(.2,.7,.2,1) both}

@keyframes fx-form-left{from{opacity:0;transform:translateX(-22px)}to{opacity:1;transform:none}}@keyframes fx-form-right{from{opacity:0;transform:translateX(22px)}to{opacity:1;transform:none}}

body .fx-phone-fields{grid-template-columns:112px minmax(0,1fr);align-items:start;gap:12px;margin-top:14px}

.fx-country-label{display:block;font-size:14px;font-weight:600;line-height:21px}.fx-country-picker{position:relative}.fx-country-picker details{position:relative;margin-top:6px}

.fx-country-picker summary{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:6px;list-style:none;height:48px;padding:0 10px;background:#fff;border:1px solid #b9c9d7;border-radius:9px;font-size:14px;cursor:pointer}.fx-country-picker summary::-webkit-details-marker{display:none}.fx-country-picker img{width:24px;height:16px;object-fit:cover;border-radius:2px;flex:none}.fx-country-options{position:absolute;top:54px;left:0;width:260px;max-width:calc(100vw - 70px);max-height:240px;overflow:auto;z-index:20;background:white;border:1px solid #c6d8e9;border-radius:14px;padding:6px;box-shadow:0 12px 32px #183c6829;scrollbar-width:thin;scrollbar-color:#3479b6 #e7f0f8}.fx-country-options button{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:0;border-radius:8px;background:white;color:#263858;text-align:left;font-size:14px}.fx-country-options button b{margin-left:auto}.fx-country-options button:hover,.fx-country-options button:focus-visible{background:#eaf3fc}.fx-country-picker summary:focus-visible{outline:2px solid #3479b6;outline-offset:2px}body .fx-phone-fields .fx-field{line-height:21px}body .fx-phone-fields input{height:48px;margin-top:6px}

@media(max-width:780px){body .fx-benefits,body .fx-form-card{animation-name:fx-form-mobile}@keyframes fx-form-mobile{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}}

@media(prefers-reduced-motion:reduce){body .fx-benefits,body .fx-form-card{animation:none!important;transform:none!important}}



.fx-phone-fields .fx-field small{line-height:21px;vertical-align:baseline}.fx-country-label{height:21.8px}



.fx-broker-info{max-width:1160px;margin:20px auto 64px;padding:0 24px;box-sizing:border-box;color:#263858}.fx-broker-heading{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:20px 0 26px}.fx-broker-heading img{width:150px;height:60px;object-fit:contain}.fx-broker-info h2{font-size:27px;line-height:1.3;margin:10px 0 16px}.fx-broker-info p{line-height:1.75}.fx-broker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.fx-broker-grid article{padding:26px;border:1px solid #d5e2ef;border-radius:20px;background:#f4f8fc}.fx-broker-grid h3{font-size:20px;margin:16px 0 12px}.fx-broker-number{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;background:#2d5985;color:white;border-radius:12px;font-weight:700}.fx-broker-process{margin-top:24px;padding:30px;border:1px solid #d5e2ef;border-radius:22px;background:white}.fx-broker-process ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding-left:22px;margin:24px 0}.fx-broker-process li{padding-left:4px}.fx-broker-process li span{display:block;margin-top:8px;font-size:14px;line-height:1.65}.fx-broker-links{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin-top:28px}.fx-broker-disclosure{font-size:13px;text-align:center;margin:22px 0;color:#586980}#registrationFormXTBReal{scroll-margin-top:100px}@media(max-width:780px){.fx-broker-info{padding:0 20px;margin-top:28px}.fx-broker-heading{align-items:flex-start;flex-direction:column;gap:8px}.fx-broker-grid,.fx-broker-process ol{grid-template-columns:1fr}.fx-broker-process{padding:24px}.fx-broker-info h2{font-size:24px}.fx-broker-links{flex-direction:column;align-items:stretch;text-align:center}.fx-broker-links a{width:100%!important;box-sizing:border-box}}



/* Exact shared label/control rows; avoid inline text baseline differences. */

body .fx-phone-fields{align-items:start}

body .fx-phone-fields>.fx-field{display:grid;grid-template-columns:auto 1fr;grid-template-rows:22px 48px;column-gap:4px;row-gap:6px;align-items:center;margin:0}

body .fx-phone-fields>.fx-field small{line-height:22px;align-self:center}

body .fx-phone-fields>.fx-field input{grid-column:1 / -1;grid-row:2;display:block;margin:0!important;height:48px!important;min-height:48px;box-sizing:border-box}

body .fx-country-label{display:block;height:22px;line-height:22px;margin:0}

body .fx-country-picker details{margin-top:6px}

body .fx-country-picker summary{height:48px;display:grid;grid-template-columns:24px minmax(0,1fr) 16px;gap:6px;align-items:center;padding:0 10px;box-sizing:border-box}

body .fx-country-picker summary>span{display:block;line-height:20px;text-align:center;margin:0;padding:0}

body .fx-country-chevron{display:block;align-self:center;width:16px;height:16px}

body .fx-form-card form>.fx-check{padding-left:14px;padding-right:14px;box-sizing:border-box}



body .fx-rates-wide{width:100%;height:600px!important;min-width:0;border:1px solid #d5e2ef;border-radius:18px;overflow:hidden;margin:28px 0}.fx-rates-wide>.tradingview-widget-container{height:100%;width:100%}@media(max-width:780px){body .fx-rates-wide{height:480px!important;margin:24px 0}}



/* Text links: consistent blue states, independent of parent-theme black focus. */

body :is(.entry-content,#colophon) a:not(.button-green):not(.button-blue):not(.chart-choice a){color:var(--fx-link-color,#245f9c)!important;text-underline-offset:4px;transition:color .18s ease,text-decoration-color .18s ease}

body :is(.entry-content,#colophon) a:not(.button-green):not(.button-blue):not(.chart-choice a):visited{color:var(--fx-link-color,#245f9c)!important}

body :is(.entry-content,#colophon) a:not(.button-green):not(.button-blue):not(.chart-choice a):is(:hover,:focus-visible){color:var(--fx-link-hover,#176fd1)!important;text-decoration:underline}

body :is(.entry-content,#colophon) a:not(.button-green):not(.button-blue):not(.chart-choice a):active{color:var(--fx-link-active,#2d5985)!important}

body .entry-content :is(.title-container,.dark-bg,.info-block,.fx-benefits){--fx-link-color:#e2f1ff;--fx-link-hover:#fff;--fx-link-active:#c8e5ff}

body :is(.button-blue,.button-green,.chart-choice>a):is(:visited,:active,:focus){color:#fff!important}

body :is(#primary-menu,.gm-main-menu) a:is(:visited,:active){color:#2d5985!important}

@media(prefers-reduced-motion:reduce){body :is(.entry-content,#colophon) a{transition:none!important}}



/* Every blue CTA uses its own outward blue glow, including broker details. */

body a.button-blue,body button.button-blue{--fx-glow:23,111,209;position:relative}

body a.button-blue::after,body button.button-blue::after{inset:0!important;border:0!important;outline:0!important;border-radius:inherit;animation:fx-account-pulse 3s ease-in-out infinite!important;pointer-events:none}

@media(hover:hover) and (pointer:fine){body a.button-blue:hover,body button.button-blue:hover{transform:scale(1.015)!important}body a.button-blue:hover::after,body button.button-blue:hover::after{animation:fx-account-pulse-active 1.8s ease-in-out infinite!important}}

@media(prefers-reduced-motion:reduce){body a.button-blue::after,body button.button-blue::after{animation:none!important;box-shadow:0 2px 10px rgba(23,111,209,.2)!important}body a.button-blue:hover,body button.button-blue:hover{transform:none!important}}



/* Pointer clicks retain :focus after :active ends: override legacy black focus explicitly. */

body #page a:not(.button-green):not(.button-blue):not(.chart-choice a):focus{color:var(--fx-link-active,#2d5985)!important}

body #page a:not(.button-green):not(.button-blue):not(.chart-choice a):hover{color:var(--fx-link-hover,#267bca)!important}

body #page a:not(.button-green):not(.button-blue):not(.chart-choice a):active{color:var(--fx-link-active,#1f527f)!important}

body.home #page .button-container a:is(:focus,:active){color:#2d5985!important;text-decoration:underline!important;text-underline-offset:4px}

body.home #page .button-container a:hover{color:#267bca!important;text-decoration:underline!important;text-underline-offset:4px}

body.home #page .button-container a svg path{fill:currentColor}



/* Shared muted blue palette across banners and navigation tiles. */

body .fx-benefits,body .title-container,body.home .dark-bg{background:linear-gradient(110deg,#294f78 0%,#2d5985 55%,#34618d 100%)!important}

body.fx-learning-page .chart-choice a{background:linear-gradient(110deg,#294f78,#34618d);border-color:#527ba1;color:#fff!important}

body.fx-learning-page .chart-choice a:is(:hover,:focus-visible){background:linear-gradient(110deg,#315e89,#3c6d99)!important;color:#fff!important}

body.fx-learning-page .chart-choice a:active{background:#294f78!important;color:#fff!important}



body.home .info-block{background-color:#2d5985!important;background-image:url("assets/education-muted-darker.webp")!important;background-size:cover;background-position:center}

@media(max-width:768px){body.home .info-block{background-image:linear-gradient(110deg,#294f78,#34618d)!important}}


/* Form fields: focus stays inside the existing rounded edge, without resizing. */
body :is(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="range"]):not([type="hidden"]),textarea,select,.fx-country-picker summary):is(:focus,:focus-visible){outline:none!important;outline-offset:0!important;border-color:#34618d!important;box-shadow:inset 0 0 0 1px #34618d!important}
body :is(input[type="checkbox"],input[type="radio"]):focus-visible{outline:2px solid #34618d!important;outline-offset:-2px!important;box-shadow:none!important}
@media(forced-colors:active){body :is(input,textarea,select,.fx-country-picker summary):focus-visible{outline:2px solid Highlight!important;outline-offset:-2px!important}}

/* Blue glow must survive legacy hover/active selectors with higher specificity. */
body .button-blue,body .button-blue:is(:hover,:active,:focus,:focus-visible){--fx-glow:23,111,209!important}

/* Mobile bottom account bar: extra room for the longer real-account label. */
@media(max-width:767px){body .fx-mobile-actions,body.home .fx-mobile-actions{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr)}}

/* Stack the footer separator below its logo on phones. */
@media(max-width:767px){body #colophon .footer-logo figure{margin-bottom:24px}body #colophon .footer-logo figure img{display:block}body #colophon .footer-logo figure br{display:none}body #colophon .footer-logo figure::after{position:static;display:block;width:100%;height:1px;margin-top:20px}}

/* Legacy mobile search opens an empty overlay: remove its entry point. */
@media(max-width:1023px){body .gm-search{display:none!important}}

/* Single-row primary navigation; existing child links remain available. */
@media(min-width:1024px){
body #primary-menu{display:flex;height:auto;min-height:64px;align-items:center;justify-content:space-between;gap:2px;position:relative}
body #primary-menu:before,body #primary-menu>li>a:before,body #primary-menu>li>a:after{display:none!important}
body #primary-menu>li{position:relative!important;padding:0!important;margin:0;flex:none}
body #primary-menu>li>a{font-size:clamp(13px,1.1vw,15px);padding:12px clamp(7px,.8vw,12px);white-space:nowrap}
body #primary-menu>li>.sub-menu{display:none!important;position:absolute!important;top:100%!important;left:0;width:250px!important;min-width:220px;max-width:290px!important;flex-direction:column!important;justify-content:flex-start;flex-wrap:nowrap;background:#fff!important;border:1px solid #dce6ee!important;border-radius:14px;padding:7px!important;box-shadow:0 12px 34px #173c6424;z-index:200;animation:fx-dropdown .16s ease-out}
body #primary-menu>li:is(:hover,:focus-within)>.sub-menu{display:flex!important}
body #primary-menu>li:last-child>.sub-menu{left:auto;right:0}
body #primary-menu>li>.sub-menu li{padding:0!important;position:relative;margin:0;width:100%}
body #primary-menu>li>.sub-menu li a{white-space:normal;padding:10px 20px 10px 12px}
body #primary-menu>li>.sub-menu .sub-menu{top:0!important;left:100%!important;max-height:65vh;overflow-y:auto}
body #primary-menu>li:nth-last-child(-n+2)>.sub-menu .sub-menu{left:auto!important;right:100%}
body #masthead .nav-grid{gap:24px}
}
body #primary-menu li:is(.current-menu-item,.fx-section-active)>a,body .gm-main-menu li:is(.current-menu-item,.fx-section-active)>a{background:#eaf3fb!important;color:#245f9c!important;border-radius:9px;box-shadow:inset 0 0 0 1px #d4e6f5}

/* Active section: subtle green light under its title. */
body #primary-menu>li.menu-hovered>.sub-menu{display:none!important}
body #primary-menu>li:is(:hover,:focus-within)>.sub-menu{display:flex!important}
body #primary-menu>li.fx-dismissed>.sub-menu{display:none!important}
body #primary-menu>li:is(.fx-section-active,.current-menu-item)>a,body .gm-main-menu li.fx-section-active>a{position:relative;padding-bottom:15px}
body #primary-menu>li:is(.fx-section-active,.current-menu-item)>a:after,body .gm-main-menu li.fx-section-active>a:after{content:""!important;display:block!important;position:absolute;left:16%;right:16%;bottom:4px;top:auto;width:auto;height:3px;border:0!important;border-radius:4px;background:linear-gradient(90deg,transparent,#419b20 25%,#62b936 75%,transparent);box-shadow:0 2px 5px #419b2030;transform:none!important}
body #colophon .footer-copyrights .social-media p:has(a.credits[href*="nextgengroup.pl"]){display:none!important}

body #primary-menu>li.menu-hovered:not(.fx-section-active):not(.current-menu-item)>a{background:transparent!important;color:#274361!important;font-weight:550}body #primary-menu>li.menu-hovered:not(.fx-section-active)>a:hover{background:#eaf3fb!important}

body .gm-navigation-drawer--mobile li.fx-section-active>a{position:relative;background:#eaf3fb!important;border-radius:9px;color:#245f9c!important}
body .gm-navigation-drawer--mobile li.fx-section-active>a .gm-menu-item__txt{position:relative;display:inline-block;padding-bottom:8px}
body .gm-navigation-drawer--mobile li.fx-section-active>a .gm-menu-item__txt:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:4px;background:linear-gradient(90deg,transparent,#419b20 25%,#62b936 75%,transparent)}

/* Active underline closer to lettering, spanning the highlighted item. */
body #primary-menu>li:is(.fx-section-active,.current-menu-item)>a:after{left:0;right:0;bottom:8px}
body .gm-navigation-drawer--mobile li.fx-section-active>a .gm-menu-item__txt:after{display:none}
body .gm-navigation-drawer--mobile li.fx-section-active>a:after{content:"";display:block;position:absolute;left:0;right:0;top:auto;bottom:8px;height:3px;width:auto;border:0;border-radius:4px;background:linear-gradient(90deg,transparent,#419b20 25%,#62b936 75%,transparent);transform:none}

/* Desktop menu grouped at the right, with controlled responsive spacing. */
@media(min-width:1024px){body #primary-menu{justify-content:flex-end;gap:clamp(8px,3.5vw,48px)}}

/* Slight inset for the active green underline. */
body #primary-menu>li:is(.fx-section-active,.current-menu-item)>a:after,body .gm-navigation-drawer--mobile li.fx-section-active>a:after{left:6px;right:6px}

/* Solid active marker; opening a submenu must not change label metrics. */
body #primary-menu>li:is(.fx-section-active,.current-menu-item)>a:after,body .gm-navigation-drawer--mobile li.fx-section-active>a:after{background:#419b20!important;box-shadow:none!important}
@media(min-width:1024px){
body #primary-menu>li>a,body #primary-menu>li:is(:hover,:focus-within,.menu-hovered)>a{font-weight:550!important;transform:none!important;scale:none!important;letter-spacing:normal!important}
}

/* Active marker follows the label rather than the button width. */
@media(min-width:1024px){body #primary-menu>li:is(.fx-section-active,.current-menu-item)>a:after{left:clamp(7px,.8vw,12px);right:clamp(7px,.8vw,12px);bottom:10px}}
body .gm-navigation-drawer--mobile li.fx-section-active>a:after{display:none!important}
body .gm-navigation-drawer--mobile li.fx-section-active>a .gm-menu-item__txt:after{display:block;left:0;right:0;bottom:2px;background:#419b20;box-shadow:none}

/* Shared soft-ended green accent for navigation and page titles. */
body #primary-menu>li:is(.fx-section-active,.current-menu-item)>a:after{left:6px;right:6px;background:linear-gradient(90deg,transparent 0%,#419b20 18%,#62b936 82%,transparent 100%)!important;box-shadow:none!important}
body .gm-navigation-drawer--mobile li.fx-section-active>a .gm-menu-item__txt:after{left:-4px;right:-4px;background:linear-gradient(90deg,transparent,#419b20 18%,#62b936 82%,transparent)!important}
body .title-container h1{display:inline-block;max-width:100%;position:relative}
body .title-container h1:after{left:0!important;right:0!important;width:auto!important;top:auto!important;bottom:-10px!important;height:3px;transform:none!important;border:0;border-radius:3px;background:linear-gradient(90deg,transparent 0%,#419b20 18%,#62b936 82%,transparent 100%)!important;box-shadow:none}

/* Stable scrollable flyouts and branded scrollbars. */
@media(min-width:1024px){body #primary-menu .sub-menu .sub-menu{overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#34618d #edf4fa;bottom:auto!important;scroll-behavior:auto}
body #primary-menu .sub-menu::-webkit-scrollbar{width:8px}
body #primary-menu .sub-menu::-webkit-scrollbar-track{background:#edf4fa;border-radius:8px}
body #primary-menu .sub-menu::-webkit-scrollbar-thumb{background:linear-gradient(#419b20,#2d5985,#56b9ed);border-radius:8px}
}
body .entry-content a.button-green::after{inset:0!important;border:0!important;outline:0!important;animation:fx-account-pulse 3s ease-in-out infinite!important}
@media(hover:hover) and (pointer:fine){body .entry-content a.button-green:hover::after{animation:fx-account-pulse-active 1.8s ease-in-out infinite!important}}
@media(prefers-reduced-motion:reduce){body .entry-content a.button-green::after{animation:none!important}}
body .entry-content p>a.button-green+small{display:block;clear:both;margin-top:12px;line-height:1.6;max-width:680px}
.fx-contact-form{max-width:700px;margin:0 auto;padding:28px;border:1px solid #d5e2ef;border-radius:20px;background:#fff;display:grid;gap:18px}
.fx-contact-form label{display:grid;gap:7px;font-weight:600;color:#263858}.fx-contact-form :is(input,select,textarea){width:100%;box-sizing:border-box;border:1px solid #b9cce0;border-radius:10px;padding:12px;font:inherit;background:white}.fx-contact-form textarea{min-height:160px;resize:vertical}.fx-contact-result{line-height:1.6;margin:0}.fx-contact-form button{justify-self:start}

@media(min-width:1024px){body #primary-menu .sub-menu .sub-menu{flex-direction:column!important;width:290px!important;min-width:250px!important;max-width:290px!important;overflow-x:hidden;max-height:min(60vh,460px)!important}body #primary-menu .sub-menu .sub-menu>li{flex:0 0 auto!important;width:100%!important;height:auto!important}body #primary-menu>li:nth-last-child(-n+3)>.sub-menu .sub-menu{left:auto!important;right:100%!important}}

body .entry-content .fx-account-entry{width:auto!important;max-width:100%!important;display:inline-flex!important;justify-content:center;margin:16px 0!important}body .entry-content .fx-account-entry+small{display:block;clear:both;margin-top:8px;line-height:1.6;max-width:680px}
@supports selector(::-webkit-scrollbar){body #primary-menu .sub-menu{scrollbar-color:auto;scrollbar-width:auto}}

.fx-topic-picker{position:relative;display:grid;gap:7px;color:#263858;font-weight:600;min-width:0}
body .fx-contact-form .fx-topic-trigger{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:48px;padding:12px 18px 12px 12px;border:1px solid #b9cce0;border-radius:10px;background:#fff;color:#263858;font:inherit;text-align:left;box-shadow:none;transform:none}
.fx-topic-trigger::after{content:"";width:8px;height:8px;border-right:2px solid #34618d;border-bottom:2px solid #34618d;transform:translateY(-2px) rotate(45deg);flex:none;margin-right:2px}
.fx-topic-trigger[aria-expanded="true"]::after{transform:translateY(2px) rotate(225deg)}
body .fx-topic-trigger:focus-visible{outline:2px solid #34618d;outline-offset:-2px}
.fx-topic-options{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:30;padding:6px;background:white;border:1px solid #d5e2ef;border-radius:14px;box-shadow:0 10px 28px #173c6424;max-height:280px;overflow-y:auto;overscroll-behavior:contain}
.fx-topic-options[hidden]{display:none}.fx-topic-options [role="option"]{padding:11px 12px;border-radius:9px;cursor:pointer;font-weight:400;line-height:1.4}
.fx-topic-options [role="option"]:is(:hover,:focus),.fx-topic-options [aria-selected="true"]{background:#eaf3fb;color:#245f9c;outline:none}
.fx-topic-options [role="option"]:focus-visible{box-shadow:inset 0 0 0 1px #34618d}

/* Match the top breathing room when optional phone fields are expanded. */
body .fx-phone-option:has(#phoneIntro:checked){padding-bottom:15px}

/* Optional status is already stated in the opt-in caption. */
body .fx-phone-fields>.fx-field small{display:none}

/* Production WPForms contact: retain plugin behavior, align presentation only. */
.page-id-539 div.wpforms-container{box-sizing:border-box;width:calc(100% - 32px);max-width:760px;margin:36px auto 56px;padding:clamp(20px,4vw,36px);border:1px solid #d6e2ef;border-radius:24px;background:#fff;box-shadow:0 12px 34px rgba(45,76,118,.06)}
.page-id-539 div.wpforms-container .wpforms-field{padding:0;margin:0 0 20px}
.page-id-539 div.wpforms-container .wpforms-field-label{font-size:14px;line-height:1.5;color:#293c60;margin-bottom:8px}
.page-id-539 div.wpforms-container input[type=text],.page-id-539 div.wpforms-container input[type=email],.page-id-539 div.wpforms-container select,.page-id-539 div.wpforms-container textarea{box-sizing:border-box;width:100%;max-width:none;border:1px solid #bdcde0;border-radius:10px;min-height:48px;padding:12px;color:#293c60;background-color:#fff;font-size:16px}
.page-id-539 div.wpforms-container select{padding-right:40px;background-position:right 16px center}
.page-id-539 div.wpforms-container input:focus,.page-id-539 div.wpforms-container select:focus,.page-id-539 div.wpforms-container textarea:focus{outline:none;border-color:#3e6dc3;box-shadow:inset 0 0 0 1px #3e6dc3}
.page-id-539 div.wpforms-container button[type=submit]{background:#3e6dc3;color:white;border:1px solid #3e6dc3;border-radius:12px;min-height:48px;padding:12px 30px;font-weight:700;box-shadow:0 5px 16px rgba(62,109,195,.2)}
.page-id-539 div.wpforms-container button[type=submit]:focus-visible{outline:2px solid #2e598c;outline-offset:3px}
.page-id-539 div.wpforms-container button[type=submit]:hover{background:#345eac;box-shadow:0 6px 20px rgba(62,109,195,.28)}

.page-id-539 div.wpforms-container select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23293c60' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:16px}

/* V11: identical comfortable touch target for both registration forms. */
@media(max-width:767px){body .fx-form-card button[type=submit]{display:block;width:100%;max-width:none;box-sizing:border-box;margin-left:0;margin-right:0;text-align:center}}

/* Additional homepage chart: retain TradingView, pair-matched ProRealTime below. */
.fx-chart-stack{width:100%;min-width:0;display:flex;flex-direction:column;gap:24px}
.fx-prt-card{width:100%;min-width:0;margin:0 auto;padding:18px;background:#fff;border:1px solid #dce5ef;border-radius:18px;box-sizing:border-box;overflow:hidden}
.fx-prt-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.fx-prt-heading h3{margin:0;font-size:20px;line-height:1.3;color:#36557d}
.fx-prt-heading span{font-size:14px;font-weight:600;color:#36557d;background:#eef4fa;border-radius:8px;padding:6px 10px}
.fx-prt-frame{display:block!important;width:100%!important;max-width:100%!important;height:460px!important;border:0!important;border-radius:8px}
@media(max-width:600px){.fx-chart-stack{gap:18px}.fx-prt-card{padding:10px;border-radius:14px}.fx-prt-heading h3{font-size:18px}.fx-prt-frame{height:420px!important}}

/* Each chart owns its row; the old fixed-height slot must not clip the stack. */
body.home .quote-grid .forex-charts-wrapper:has(.fx-prt-card)>div:has(>.fx-chart-stack),
body.home .quote-grid .forex-charts-wrapper .fx-chart-stack{display:contents;height:auto!important}
body.home .quote-grid .forex-charts-wrapper:has(.fx-prt-card) .fx-market-chart{grid-column:1;grid-row:1}
body.home .quote-grid .forex-charts-wrapper:has(.fx-prt-card)>.tradingview-widget-container{grid-column:2;grid-row:1}
body.home .quote-grid .forex-charts-wrapper .fx-prt-card{grid-column:1 / -1;grid-row:2;min-width:0;box-shadow:0 6px 24px rgba(54,85,125,.06)}
@media(max-width:767px){
 body.home .quote-grid .forex-charts-wrapper:has(.fx-prt-card)>.tradingview-widget-container{grid-column:1;grid-row:3}
 body.home .quote-grid .forex-charts-wrapper .fx-prt-card{grid-row:2}
}

/* Keep the directory link separate from pair-switching controls. */
body.home #kursy-walut-na-zywo{scroll-margin-top:100px}
body.home #tab_wrapper.fx-rates-navigation{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:start}
body.home #tab_wrapper.fx-rates-navigation>ul{grid-column:1;margin-bottom:20px;justify-content:flex-start}
body.home #tab_wrapper.fx-rates-navigation>.fx-other-rates{grid-column:2;display:flex;align-items:center;justify-content:center;min-height:48px;box-sizing:border-box;padding:12px 20px;border:1px solid #c8d8e8;border-radius:10px;background:#eef4fa;color:#36557d;font-weight:650;text-decoration:none;transition:background .2s,border-color .2s}
body.home #tab_wrapper.fx-rates-navigation>.fx-other-rates:hover{background:#e1edf7;border-color:#769bbb;color:#284769}
body.home #tab_wrapper.fx-rates-navigation>.fx-other-rates:focus-visible{outline:2px solid #36557d;outline-offset:3px}
body.home #tab_wrapper.fx-rates-navigation>:not(ul):not(.fx-other-rates){grid-column:1 / -1;min-width:0}
@media(max-width:767px){body.home #kursy-walut-na-zywo{scroll-margin-top:76px}body.home #tab_wrapper.fx-rates-navigation{grid-template-columns:minmax(0,1fr)}body.home #tab_wrapper.fx-rates-navigation>ul{margin-bottom:10px}body.home #tab_wrapper.fx-rates-navigation>.fx-other-rates{grid-column:1;margin-bottom:20px}}

/* V19: component display rules must not override native hidden semantics. */
body .fx-form-shell [hidden]{display:none!important}
/* Standalone legacy confirmation has no parent-theme font stylesheet. */
body.fx-legacy-confirmation{font-family:"Segoe UI",Arial,sans-serif;line-height:1.6;color:#263858}
body.fx-legacy-confirmation :is(input,select,textarea,button){font-family:inherit}
/* Lead success confirmation (forex-lead-production forms.js); native modal dialog. */
.fx-success-dialog{padding:0;border:1px solid #7fa5c9;border-radius:24px;width:min(520px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);margin:auto;box-sizing:border-box;overflow:auto;color:#213558;background:#fff;box-shadow:0 28px 100px #132f6040;outline:none}
.fx-success-dialog::backdrop{background:#10243999;backdrop-filter:blur(4px)}
.fx-success-dialog [hidden]{display:none!important}
.fx-success-body{padding:44px 34px 28px;text-align:center}
.fx-success-icon{display:grid;place-items:center;width:76px;height:76px;margin:0 auto 18px;border-radius:50%;background:#eaf3fb;color:#1764ab}
.fx-success-icon svg{display:block;width:44px;height:44px}
.fx-success-body .fx-success-eyebrow{margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:#2f7413}
body .fx-success-dialog h2{margin:0 0 14px!important;font-size:28px!important;line-height:1.2;color:#213558;text-wrap:balance}
.fx-success-body p{margin:0 0 12px;font-size:15px;line-height:1.6;color:#52647c;text-wrap:pretty}
.fx-success-body strong{color:#213558;font-weight:700}
.fx-success-email{overflow-wrap:anywhere}
.fx-success-body .fx-success-note{margin:16px 0 0;padding:12px 14px;border:1px solid #d6e7f4;border-radius:14px;background:#f4f9fd;font-size:14px;text-align:left}
.fx-success-body .fx-success-step{margin:22px 0 10px;font-size:14px;font-weight:650;color:#213558}
body .fx-success-dialog .fx-success-next{display:flex;width:100%;max-width:none;margin:0;box-sizing:border-box;justify-content:center;text-align:center}
.fx-success-later{display:block;margin:16px auto 0;border:0;background:none;color:#52647c;font-size:13px;text-decoration:underline;cursor:pointer}
body .fx-success-close{position:absolute;top:14px;right:14px;z-index:2;display:grid;place-items:center;width:40px;height:40px;min-width:40px;min-height:40px;padding:0!important;box-sizing:border-box;border:1px solid #c4dced;border-radius:50%;background:#f7fbff;color:#426485;line-height:1;font-size:0;box-shadow:none;cursor:pointer;transition:background-color .18s,border-color .18s}
body .fx-success-close svg{display:block;width:18px;height:18px;pointer-events:none;stroke:currentColor}
body .fx-success-close:hover{background:#eaf4fc;border-color:#8fb6d7;color:#235d91}
body .fx-success-close:focus,body .fx-success-close:focus-visible{outline:none!important;box-shadow:none;color:#235d91}
body .fx-success-close:focus-visible{background:#eaf4fc;border-color:#2f6ea5;box-shadow:0 0 0 3px #b9d3ea}
@media(prefers-reduced-motion:no-preference){.fx-success-dialog[open]{animation:fx-success-in .22s ease-out}}
@keyframes fx-success-in{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@media(max-width:650px){.fx-success-body{padding:52px 20px 22px}
body .fx-success-dialog h2{font-size:24px!important}
.fx-success-icon{width:64px;height:64px;margin-bottom:14px}
.fx-success-icon svg{width:38px;height:38px}}
