/* Foreign Income FX NEXT preview. Incremental additions to styles-v3.9.8.css.
   Presentation only: no commerce or tax purchase functionality. */
html{scroll-behavior:smooth;scroll-padding-top:90px}
.next-pricing-grid{align-items:stretch;gap:18px}
.next-plan{display:flex;flex-direction:column;min-width:0;border-radius:20px!important;overflow:hidden;box-shadow:0 12px 30px rgba(16,53,80,.045)}
.next-plan header{margin-bottom:7px}
.next-plan header>p{line-height:1.55}
.next-plan ul{margin:12px 0 20px!important;flex:1 0 auto}
.next-plan ul li{line-height:1.5;margin-bottom:10px}
.next-plan .button{min-height:46px;margin-top:auto;white-space:normal;text-align:center}
.next-plan .button:disabled{opacity:.66;cursor:not-allowed;filter:grayscale(.12);box-shadow:none}
.next-plan-emphasis{border:2px solid #307ea8!important}
.next-plan-footnote{font-size:.79rem!important;line-height:1.55;color:#51677b!important;margin:10px 0 0!important}
.next-plan .next-inline-link{margin:11px 0 0;display:inline-block}
.next-inline-link{color:#146087;font-size:.92rem;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.next-inline-link:hover{color:#103c58}
.next-inline-link:focus-visible{outline:3px solid #75a7d0;outline-offset:4px;border-radius:4px}
.next-upgrade-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;margin-top:24px;padding:24px 28px;background:#f1f7fb;border:1px solid #cee1ec;border-radius:18px}
.next-upgrade-panel h3{font-size:clamp(1.15rem,2vw,1.48rem);margin:7px 0 8px;color:#153c52;line-height:1.3}
.next-upgrade-panel p{margin:0;color:#3d5d70;line-height:1.65;font-size:.94rem;max-width:900px}
.next-upgrade-panel .next-inline-link{white-space:nowrap}
.next-matrix{margin-top:34px}
.next-matrix h3{font-size:clamp(1.3rem,2vw,1.75rem);margin:0 0 15px;color:#153749}
.next-table-scroll{overflow-x:auto;max-width:100%;border-radius:16px;border:1px solid #d5e3ee;background:#fff;scrollbar-width:thin}
.next-table-scroll:focus-visible{outline:3px solid #2d84b7;outline-offset:3px}
.next-table-scroll table{border-collapse:collapse;width:100%;min-width:635px;text-align:left}
.next-table-scroll th,.next-table-scroll td{padding:13px 16px;border-bottom:1px solid #e8eef3;font-size:.91rem;line-height:1.45;vertical-align:middle}
.next-table-scroll th:first-child{min-width:195px;width:37%;font-weight:700;color:#214355}
.next-table-scroll thead{background:#eaf4fb;color:#174767}
.next-table-scroll tbody tr:last-child th,.next-table-scroll tbody tr:last-child td{border-bottom:0}
.next-table-scroll tbody tr:nth-child(even){background:#fafcfd}
.next-table-note{color:#5c7180;font-size:.83rem;line-height:1.5;margin:10px 0 0}
.next-license-section{background:#123855;color:#f3f8fc;padding:clamp(44px,6vw,80px) 0}
.next-license-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(285px,.8fr);gap:clamp(26px,5vw,70px);align-items:center}
.next-license-copy .kicker{color:#98d1f4}
.next-license-copy h2{font-size:clamp(1.6rem,3.35vw,2.75rem);line-height:1.17;color:#fff;max-width:640px;margin:10px 0 18px}
.next-license-copy p{color:#d9e7f1;font-size:1.02rem;line-height:1.7;max-width:760px}
.next-license-copy strong{color:#fff}
.next-license-copy .next-inline-link{color:#b4e8ff;display:inline-block;margin-top:7px}
.next-license-scenario{background:#fff;color:#183c55;border-radius:21px;border:1px solid #e5eff5;padding:24px;box-shadow:0 22px 48px rgba(0,22,41,.2)}
.next-scenario-label{font-size:.79rem;text-transform:uppercase;letter-spacing:.08em;color:#567182;font-weight:800;display:block;margin-bottom:12px}
.next-license-scenario>div{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;padding:17px 0;border-bottom:1px solid #e7edf3;font-size:.9rem}
.next-license-scenario small{color:#587385;line-height:1.5;display:block;margin-top:13px}
.next-state{white-space:nowrap;font-size:.78rem;font-weight:800;border-radius:999px;padding:6px 9px}
.next-state.ready{color:#1f644d;background:#e4f5ed}.next-state.locked{color:#865a2c;background:#fff2df}
.next-trust-section{padding:clamp(46px,5vw,70px) 0;background:#f7fafc}
.next-trust-section h2{font-size:clamp(1.55rem,3vw,2.3rem);line-height:1.24;color:#173b53;margin:8px 0 20px}
.next-trust-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.next-trust-grid article{background:#fff;border:1px solid #dbe8ef;border-radius:16px;padding:21px;display:flex;flex-direction:column;min-width:0}
.next-trust-grid article h3{font-size:1.05rem;line-height:1.35;color:#194964;margin:0 0 10px}
.next-trust-grid article p{font-size:.9rem;line-height:1.63;color:#4e6675;margin:0 0 16px;flex:1 1 auto}
.next-trust-grid article a{font-size:.86rem;color:#17678b;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.next-result-hint{font-size:.89rem;line-height:1.6;color:#476779;padding:12px 14px;background:#eef5f9;border-radius:12px;margin:15px 0}
.next-legal-preview{background:#fff6e7;border:1px solid #ecd7b4;border-radius:12px;padding:15px 17px;color:#644b30;line-height:1.65;margin:20px 0}
/* Recovery and purchase-preparation surface. Everything below is display-only. */
.next-portal{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Helvetica,Arial,sans-serif;background:#f5f9fc;color:#173b50;min-height:100vh}
.next-portal *{box-sizing:border-box}
.next-portal a{color:#17618a}
.next-portal-shell{width:min(1120px,calc(100% - 40px));margin:0 auto}
.next-portal-header{background:white;border-bottom:1px solid #dbe6ef}
.next-portal-header .next-portal-shell{display:flex;align-items:center;gap:18px;justify-content:space-between;min-height:78px}
.next-portal-header img{height:32px;width:auto;max-width:230px;object-fit:contain}
.next-portal-header a{font-weight:650;font-size:.91rem}
.next-portal-main{padding:48px 0 70px}
.next-portal-intro{max-width:860px}
.next-portal-intro h1{font-size:clamp(2rem,4vw,3.05rem);letter-spacing:-.02em;line-height:1.18;color:#13384e;margin:13px 0}
.next-portal-intro p{font-size:1.04rem;color:#4b6677;line-height:1.7}
.next-portal-status{display:inline-block;padding:7px 11px;border-radius:999px;font-size:.77rem;font-weight:800;color:#8a572d;background:#fff0dd;border:1px solid #ecd7bd}
.next-portal-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:32px}
.next-portal-card{background:#fff;border:1px solid #d6e6f0;border-radius:18px;padding:25px;min-width:0;box-shadow:0 13px 40px rgba(31,71,99,.045)}
.next-portal-card h2{font-size:1.26rem;line-height:1.3;margin:0 0 10px;color:#193d53}
.next-portal-card p,.next-portal-card li{line-height:1.65;font-size:.93rem;color:#4b6676}
.next-portal-card label{display:block;font-size:.9rem;font-weight:750;margin:20px 0 6px;color:#234a60}
.next-portal-card select,.next-portal-card input{width:100%;padding:12px 13px;border:1px solid #cedde7;border-radius:10px;background:#f6f9fc;color:#3b5b6b;font:inherit;min-height:45px}
.next-portal-card input:disabled,.next-portal-card select:disabled{opacity:.8;cursor:not-allowed}
.next-portal-card button{width:100%;border-radius:10px;min-height:46px;padding:11px 15px;font:inherit;font-weight:800;margin-top:13px}
.next-portal-card button:disabled{background:#dde8ef;color:#557183;border:1px solid #cbdbe6;cursor:not-allowed}
.next-portal-card small{display:block;color:#627a89;line-height:1.58;margin-top:10px}
.next-portal-card .next-portal-price{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap;padding:11px 0}
.next-portal-card .next-portal-price strong{font-size:1.6rem;color:#173d54}
.next-portal-card .next-portal-price span{font-size:.85rem;color:#557081}
.next-portal-dotted{border:1px dashed #c2d9e9;padding:16px;border-radius:13px;margin:18px 0;background:#f8fbfd}
.next-portal-dotted strong{display:block;color:#21485f;font-size:.92rem}
.next-portal-dotted p{margin:5px 0 0}
.next-portal-info{border-radius:15px;background:#eaf5fb;border:1px solid #cce4f2;padding:18px 22px;margin-top:22px;color:#31586d;font-size:.93rem;line-height:1.65}
.next-portal-info a{font-weight:750}
.next-portal-footer{background:#173d54;padding:26px 0;color:#eef5f9;font-size:.88rem}
.next-portal-footer .next-portal-shell{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}
.next-portal-footer a{color:#e9f5ff}
@media(max-width:1100px){.next-trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.next-license-layout{grid-template-columns:1fr}.next-upgrade-panel{grid-template-columns:1fr}.next-upgrade-panel .next-inline-link{white-space:normal}}
@media(max-width:720px){.next-portal-steps{grid-template-columns:1fr}.next-portal-card{padding:20px}.next-portal-header img{max-width:170px}.next-portal-shell{width:min(1120px,calc(100% - 28px))}.next-portal-main{padding:33px 0 55px}.next-trust-grid{grid-template-columns:1fr}.next-plan{margin-top:12px}.next-upgrade-panel{padding:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

@media(max-width:540px){.next-portal-header .next-portal-shell{flex-wrap:wrap;padding:12px 0;row-gap:5px}.next-portal-header .next-portal-shell nav{display:flex;gap:8px;align-items:center;font-size:.87rem}.next-portal-header img{max-width:188px}}
/* License status and keyboard navigation in the existing NEXT design. */
[data-fx-status], [data-fx-buyer] { overflow-wrap:anywhere; }
[data-fx-status]:empty, [data-fx-buyer]:empty { display:none; }
.next-portal-card form { display:flex;flex-direction:column;gap:12px; }
:focus-visible { outline:3px solid #1263b6;outline-offset:4px; }
.skip-link { position:absolute;left:12px;top:-80px;z-index:999;background:#fff;padding:12px; }
.skip-link:focus { top:12px; }
@media (prefers-reduced-motion:reduce) { *, *::before, *::after { scroll-behavior:auto!important;animation:none!important;transition:none!important; } }

/* Contrast corrections verified by axe across DE/EN and viewport sizes. */
.import-card-future .import-card-label,.step-no,.receipt-date-caption,.pricing-heading p,.price-card-tax header p,.status-exploring,.roadmap-card-exploring .roadmap-family,.roadmap-tags-muted span,.operator-label,.operator-strip-inner span,.operator-business span{color:#4b5f73!important}
.receipt-date-point>span,.popular,.status-planned{color:#1255b5!important}
.status-next{color:#146c4a!important}
