/* Affiliatech Academy 1.5.1: decorative preview of the real member area (dashboard + lesson).
   Everything inside a window is sized in em from a base that follows the preview's width. */
.afp{--p-ink:#17232b;--p-muted:#5b6a72;--p-line:#dce4e8;--p-teal:#0f6e72;--p-teal2:#25868a;--p-soft:#e8f3f2;--p-bg:#f4f7f8;position:relative;container-type:inline-size;user-select:none;pointer-events:none;color:var(--p-ink);line-height:1.45}
.afp p{margin:0;color:inherit;max-width:none}
.afp i{font-style:normal}
.afp-win{position:relative;border-radius:14px;overflow:hidden;background:var(--p-bg);border:1px solid #ffffff2e;box-shadow:0 1px 0 #ffffff26 inset,0 40px 80px -20px #000c,0 18px 36px -18px #0009}
.afp-chrome{display:flex;align-items:center;gap:.5em;height:2.6em;padding:0 1em;background:#e6ecef;border-bottom:1px solid var(--p-line)}
.afp-chrome>i{width:.72em;height:.72em;border-radius:50%;background:#c9d3d8;flex:none}
.afp-url{flex:1;margin-left:.8em;max-width:30em;height:1.7em;line-height:1.7em;padding:0 1em;border-radius:99px;background:#fff;color:#56656d;font-size:.86em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.afp-url:before{content:"";display:inline-block;width:.55em;height:.65em;margin-right:.55em;border:1.5px solid #8a989f;border-radius:.15em;vertical-align:-.05em}
/* Dashboard window */
.afp-dash{font-size:11px;font-size:clamp(7.5px,1.85cqw,12.5px)}
.afp-hero .afp-dash{margin-right:14%}
.afp-top{display:flex;align-items:center;gap:1.4em;padding:.9em 1.6em;background:#fff;border-bottom:1px solid var(--p-line)}
.afp-brand{display:flex;align-items:center;gap:.45em;font-weight:750;letter-spacing:-.02em;font-size:1.05em;white-space:nowrap}
.afp-brand svg{width:1.9em;height:1.25em}
.afp .afp-brand em{font-style:normal;color:#9a6f12;font-weight:650}
.afp-nav{display:flex;gap:1.3em;margin-left:auto;color:#33434b;font-size:.9em;white-space:nowrap}
.afp-pill{padding:.45em 1em;border-radius:.5em;border:1px solid #9fd0cf;background:#eef8f7;color:var(--p-teal);font-size:.85em;font-weight:600;white-space:nowrap}
.afp-page{padding:1.4em 1.6em 1.6em}
.afp-eyebrow{font-size:.68em;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--p-teal)}
.afp-title{font-size:1.75em;font-weight:750;letter-spacing:-.03em;margin:.25em 0 .9em!important}
.afp-body{display:grid;grid-template-columns:9.5em minmax(0,1fr);gap:1.2em;align-items:start}
.afp-side{display:flex;flex-direction:column;gap:.15em;padding:.9em .6em;border-radius:.8em;background:#fff;border:1px solid var(--p-line);font-size:.9em}
.afp-side small{font-size:.66em;letter-spacing:.16em;text-transform:uppercase;color:#56656d;padding:0 .7em .5em}
.afp-side b,.afp-side i{padding:.5em .7em;border-radius:.5em;color:#3a4a52;font-weight:500}
.afp-side b{background:var(--p-soft);color:var(--p-teal);font-weight:650;box-shadow:inset 2px 0 0 var(--p-teal2)}
.afp-main{display:flex;flex-direction:column;gap:.7em;min-width:0}
.afp-welcome{font-size:1.5em;font-weight:750;letter-spacing:-.03em;margin-top:-.2em!important}
.afp-card{background:#fff;border:1px solid var(--p-line);border-radius:.8em;padding:.9em 1em}
.afp-progress{display:flex;flex-direction:column;gap:.5em}
.afp-row{display:flex;justify-content:space-between;align-items:baseline}
.afp-row b{font-size:.9em}.afp-row strong{font-size:2em;font-weight:750;letter-spacing:-.04em;line-height:1}
.afp-bar{height:.55em;border-radius:1em;background:#e3eaed;overflow:hidden}
.afp-bar span{display:block;width:30%;height:100%;border-radius:inherit;background:var(--p-teal2)}
.afp-progress small{font-size:.75em;color:var(--p-muted)}
.afp-btn{align-self:flex-start;display:inline-block;padding:.6em 1.1em;border-radius:.55em;background:var(--p-teal);color:#fff;font-weight:650;font-size:.85em;white-space:nowrap}
.afp-sub{font-size:1.05em;font-weight:700;letter-spacing:-.01em;margin-top:.2em!important}
.afp-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6em}
.afp-quick .afp-card{display:flex;flex-direction:column;gap:.3em;padding:.75em .8em}
.afp-quick small{font-size:.6em;letter-spacing:.14em;text-transform:uppercase;color:var(--p-teal);font-weight:700}
.afp-quick b{font-size:.88em;color:var(--p-teal);line-height:1.3}
.afp-quick i{font-size:.72em;color:var(--p-muted);line-height:1.4}
.afp-quick .afp-vx{background:radial-gradient(120% 120% at 90% 0%,#1d4f8a,#08162a 65%);border-color:#24476e}
.afp-vx small{color:#59e1df}.afp-vx b{color:#fff}.afp-vx i{color:#c6d6e6}
/* Lesson window */
.afp-lesson{position:relative;margin:-27% 0 0 auto;width:46%;font-size:11px;font-size:clamp(7.5px,1.75cqw,12px)}
.afp-lesson .afp-screen{background:#fff;padding:1.3em 1.4em 1.4em;display:flex;flex-direction:column;gap:.75em}
.afp-lesson .afp-eyebrow{display:flex;justify-content:space-between;gap:1em}
.afp-lesson .afp-eyebrow span{color:#56656d;letter-spacing:.1em}
.afp-ltitle{font-size:1.55em;font-weight:750;letter-spacing:-.03em;line-height:1.15}
.afp-goal{padding:.75em .9em;border-radius:.6em;background:var(--p-soft);border-left:3px solid var(--p-teal2);font-size:.82em;color:#24363e}
.afp-goal small,.afp-task small{display:block;font-size:.72em;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--p-teal);margin-bottom:.3em}
.afp-steps{list-style:none;margin:0;padding:0;display:grid;gap:.45em;counter-reset:afp;font-size:.86em}
.afp-steps li{counter-increment:afp;display:flex;align-items:center;gap:.6em;color:#2a3a42}
.afp-steps li:before{content:counter(afp);flex:none;width:1.6em;height:1.6em;border-radius:50%;display:grid;place-items:center;font-size:.8em;font-weight:700;border:1px solid #b9c7cd;color:#5b6a72}
.afp-steps li.is-done:before{content:"✓";background:var(--p-teal2);border-color:var(--p-teal2);color:#fff}
.afp-steps li.is-done{color:#5b6a72}
.afp-task{padding-top:.2em}
.afp-field{display:block;min-height:3.4em;padding:.6em .7em;border:1px solid #c9d5da;border-radius:.5em;font-size:.82em;color:#2a3a42;background:#fbfcfd}
.afp-caret{display:inline-block;width:1px;height:1.05em;margin-left:1px;background:var(--p-teal);vertical-align:-.15em}
.afp-actions{display:flex;flex-wrap:wrap;gap:.6em;align-items:center}
.afp-ghost{padding:.55em 1em;border-radius:.55em;border:1px solid #b9c7cd;font-size:.82em;font-weight:600;color:#2a3a42;white-space:nowrap}
/* Narrow previews: drop the top navigation and sidebar, keep the substance */
@container (max-width:540px){
 .afp-nav{display:none}
 .afp-pill{margin-left:auto}
 .afp-body{grid-template-columns:1fr}
 .afp-side{display:none}
 .afp-quick{grid-template-columns:repeat(2,minmax(0,1fr))}
 .afp-dash{font-size:clamp(8px,2.9cqw,12px)}
 .afp-title{font-size:1.5em}
}
@media(max-width:999px){
 .afp-hero .afp-dash{margin-right:0}
 .afp-lesson{display:none}
}
.af-auth-preview .afp-win{border-color:#d3dde2;box-shadow:0 24px 48px -28px #0f2a3559}
/* Beat member.css paragraph colours on the login/register pages */
.afp .afp-screen p.afp-title,.afp .afp-screen p.afp-welcome,.afp .afp-screen p.afp-sub,.afp .afp-screen p.afp-ltitle{color:var(--p-ink)}.afp .afp-screen p.afp-eyebrow{color:var(--p-teal)}
