.fn-portal-entry-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.fn-portal-login-heading .fn-portal-entry-actions>.fn-portal-secondary{margin:0;width:auto;min-height:36px;padding:8px 12px;font-size:10px}
.fn-portal-entry-actions>[data-fn-learn-open]{border:1px solid #d9b7d1;border-radius:12px;min-height:36px;padding:8px 12px;background:#f8edf7;color:#805475;font-size:10px;font-weight:700;cursor:pointer}

.fn-learn-modal{
 box-sizing:border-box;width:min(920px,calc(100% - 32px));max-height:calc(100dvh - 48px);padding:0;
 border:1px solid #e6c5da;border-radius:24px;background:#fff9fc;color:#704d68;box-shadow:0 25px 80px #40264055;
 overflow:auto;overscroll-behavior:contain;font:14px/1.65 Arial,sans-serif;scrollbar-width:thin;scrollbar-color:#d6a1c0 #fff8fc
}
.fn-learn-modal::backdrop{background:#342038a6;backdrop-filter:blur(6px)}
html.fn-learn-open{overflow:hidden}
.fn-learn-modal>header{
 position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:flex-start;gap:16px;
 padding:24px 28px;background:linear-gradient(125deg,#fff8fc,#f3e9f6);border-bottom:1px solid #ebd3e3
}
.fn-learn-modal small{display:block;color:#90567c;font-size:10px;font-weight:700;letter-spacing:1.15px}
.fn-learn-modal h2{font:700 clamp(23px,4vw,31px)/1.2 'Trebuchet MS',sans-serif;margin:4px 0 7px;color:#713f63}
.fn-learn-modal>header p{max-width:62ch;margin:0}
.fn-learn-modal [data-fn-learn-close]{
 display:grid;place-items:center;border:1px solid #dcb6cf;border-radius:50%;width:40px;height:40px;padding:0;
 flex-shrink:0;color:#825573;background:#fffafd;font-size:22px;line-height:1;cursor:pointer
}
.fn-learn-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:22px 28px}
.fn-learn-feature{
 min-width:0;overflow:hidden;background:#fffdfd;border:1px solid #ead0e0;border-radius:16px;
 box-shadow:0 3px 10px #7742680b
}
.fn-learn-feature:first-child{
 grid-column:1/-1;display:grid;grid-template-columns:1.15fr 1fr;align-items:center;
 background:linear-gradient(118deg,#fff5fa,#f4edf9)
}
.fn-learn-feature img{display:block;width:100%;height:auto;background:#f1dce9}
.fn-learn-feature>div{padding:15px 17px 18px}
.fn-learn-feature:first-child>div{padding:20px 25px}
.fn-learn-feature h3{font:700 20px/1.25 'Trebuchet MS',sans-serif;color:#774668;margin:5px 0 7px}
.fn-learn-feature:first-child h3{font-size:25px}
.fn-learn-feature p{font-size:13px;margin:0}
.fn-learn-modal>footer{
 display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 28px;
 background:#f9eff7;border-top:1px solid #ead1e2
}
.fn-learn-modal>footer>span{font-size:11px;color:#795470}
.fn-learn-modal>footer .fn-portal-primary{width:auto;margin:0;min-width:164px}
.fn-learn-modal :focus-visible{outline:3px solid #af6e9d;outline-offset:2px}

@media(max-width:700px){
 .fn-portal-login-heading{gap:8px}
 .fn-portal-login-heading h2{font-size:20px}
 .fn-portal-entry-actions{gap:6px}
 .fn-portal-login-heading .fn-portal-entry-actions>.fn-portal-secondary,.fn-portal-entry-actions>[data-fn-learn-open]{padding:8px 9px;font-size:9px}
 .fn-learn-modal{width:calc(100% - 24px);max-height:calc(100dvh - 26px);border-radius:20px}
 .fn-learn-modal>header{padding:16px;gap:10px}
 .fn-learn-modal>header p{font-size:13px}
 .fn-learn-content{grid-template-columns:minmax(0,1fr);gap:12px;padding:14px}
 .fn-learn-feature:first-child{display:block}
 .fn-learn-feature:first-child img{aspect-ratio:16/10;object-fit:cover}
 .fn-learn-feature:first-child>div{padding:15px 17px 18px}
 .fn-learn-modal>footer{flex-direction:column;align-items:stretch;padding:16px}
 .fn-learn-modal>footer .fn-portal-primary{width:100%}
}
@media(max-width:360px){
 .fn-portal-login-heading{flex-wrap:wrap}
 .fn-portal-entry-actions{margin-left:auto}
}
