
.afma-v3{--ink:#112b27;--forest:#103b34;--pine:#0a2925;--olive:#bbdb63;--gold:#e3bd70;--paper:#f7f6f1;--white:#fff;--muted:#667974;--line:#dce2d8;--mist:#eaf0e8;--danger:#92462f;--dangerbg:#fff2ea;--shadow:0 20px 60px rgba(15,47,40,.085)}
:where(.afma-v3) *{box-sizing:border-box}:where(.afma-v3) [hidden]{display:none!important}.afma-v3{scroll-behavior:smooth}.afma-v3{margin:0;color:var(--ink);background:var(--paper);font:15px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}:where(.afma-v3) button,
:where(.afma-v3) input,
:where(.afma-v3) select,
:where(.afma-v3) textarea{font:inherit}:where(.afma-v3) button{cursor:pointer}:where(.afma-v3) button:disabled{cursor:not-allowed;opacity:.55}:where(.afma-v3) a{color:inherit;text-decoration:none}:where(.afma-v3) a:focus-visible,
:where(.afma-v3) button:focus-visible,
:where(.afma-v3) input:focus-visible,
:where(.afma-v3) select:focus-visible,
:where(.afma-v3) textarea:focus-visible,
:where(.afma-v3) [tabindex]:focus-visible{outline:3px solid #e3bd70;outline-offset:3px}:where(.afma-v3) img{max-width:100%;display:block}:where(.afma-v3) .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}:where(.afma-v3) .skip{position:absolute;top:-80px;left:20px;padding:10px 16px;background:white;z-index:100}:where(.afma-v3) .skip:focus{top:12px}:where(.afma-v3) .wrap{max-width:1240px;padding:0 26px;margin:0 auto}:where(.afma-v3) .header{background:#082923;color:#fff;border-bottom:1px solid #325147}:where(.afma-v3) .header .wrap{min-height:74px;display:flex;align-items:center;gap:32px}:where(.afma-v3) .brand{font-weight:900;letter-spacing:.06em;font-size:23px;display:flex;gap:11px;align-items:center}:where(.afma-v3) .brandmark{width:31px;height:31px;border:2px solid var(--olive);border-radius:9px 2px 9px 2px;display:grid;place-items:center;color:var(--olive);font-size:19px}:where(.afma-v3) .brand small{display:block;font-size:9px;letter-spacing:.24em;color:#bfd2c5;line-height:1.1;font-weight:650}:where(.afma-v3) .nav{display:flex;align-items:center;gap:28px;font-size:14px;color:#d8e1dc}:where(.afma-v3) .nav a:hover{color:var(--olive)}:where(.afma-v3) .headright{margin-left:auto;display:flex;align-items:center;gap:14px}:where(.afma-v3) .search-btn{border:1px solid #46655a;border-radius:30px;background:transparent;color:#fff;padding:9px 16px}:where(.afma-v3) .menu-btn{display:none;border:1px solid #46655a;background:transparent;color:#fff;border-radius:9px;padding:8px 12px}
:where(.afma-v3) .breadcrumb{color:#75867f;display:flex;gap:8px;padding:24px 0 18px;font-size:13px}:where(.afma-v3) .breadcrumb a{text-decoration:underline;text-underline-offset:3px}:where(.afma-v3) .hero{border-radius:22px;overflow:hidden;display:grid;grid-template-columns:315px 1fr;background:var(--pine);color:white;box-shadow:var(--shadow)}:where(.afma-v3) .portrait{position:relative;min-height:348px;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(ellipse at 50% 19%,#496359,transparent 53%),linear-gradient(145deg,#21554a,#102d2a)}:where(.afma-v3) .portrait:before{content:"";width:300px;height:300px;border:1px solid #56796f;border-radius:50%;position:absolute;left:-75px;bottom:-130px}:where(.afma-v3) .portrait:after{content:"";width:140%;height:130px;border:1px solid rgba(255,255,255,.12);transform:rotate(-17deg);position:absolute;left:-50px;top:140px}:where(.afma-v3) .photo-pill{position:relative;z-index:2;margin:22px;align-self:start;border:1px solid #73958a;background:#103b34b8;color:#e9f3ea;font-size:11px;letter-spacing:.08em;text-transform:uppercase;padding:8px 10px;border-radius:7px}:where(.afma-v3) .portrait-art{position:relative;z-index:2;text-align:center;margin:auto 0;color:#cee5d1}:where(.afma-v3) .portrait-art .monogram{font-size:106px;font-weight:800;letter-spacing:-.12em;line-height:.9;opacity:.9;margin-left:-.14em}:where(.afma-v3) .portrait-art span{display:block;max-width:210px;margin:16px auto 0;font-size:12px;color:#bdd4c9}:where(.afma-v3) .portrait-foot{position:relative;z-index:2;padding:15px 20px;font-size:12px;border-top:1px solid #ffffff2d;color:#c3d6cc;display:flex;justify-content:space-between;align-items:center}:where(.afma-v3) .intro{padding:30px 36px;min-width:0}:where(.afma-v3) .eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:750;letter-spacing:.15em;text-transform:uppercase;color:var(--olive)}:where(.afma-v3) .eyebrow:before{content:"";width:19px;height:2px;background:currentColor}:where(.afma-v3) .intro h1{font-size:clamp(32px,4.4vw,62px);letter-spacing:-.055em;line-height:1.05;margin:16px 0 10px;font-weight:800}:where(.afma-v3) .subline{color:#caddd4;font-size:15px;display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center}:where(.afma-v3) .subline span:before{content:"·";color:var(--gold);margin-right:8px}:where(.afma-v3) .subline span:first-child:before{display:none}:where(.afma-v3) .affiliation{margin:16px 0 20px;font-size:13px;color:#edf4ef}:where(.afma-v3) .affiliation strong{color:var(--gold)}:where(.afma-v3) .intro-rule{height:1px;background:#355c51;margin-bottom:22px}:where(.afma-v3) .hero-data{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}:where(.afma-v3) .hero-data>div{border-right:1px solid #355c51;padding-right:10px}:where(.afma-v3) .hero-data>div:last-child{border-right:none}:where(.afma-v3) .hero-data .n{font-weight:850;font-size:30px;letter-spacing:-.05em;line-height:1.2}:where(.afma-v3) .hero-data .l{display:block;font-size:11px;color:#b0cbc0;margin-top:7px}:where(.afma-v3) .warning-hero{margin-top:17px;display:flex;gap:10px;background:#26453c;color:#e6e9dd;padding:12px 13px;border-left:3px solid var(--gold);font-size:12px;border-radius:5px}:where(.afma-v3) .warning-hero b{color:var(--gold)}:where(.afma-v3) .actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}:where(.afma-v3) .btn{min-height:43px;border-radius:8px;border:1px solid #cad6cf;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 17px;font-weight:720;background:#fff;color:var(--ink);font-size:13px;transition:transform .15s ease,background .15s ease}:where(.afma-v3) .btn:hover{transform:translateY(-1px)}:where(.afma-v3) .btn.primary{background:var(--olive);color:var(--pine);border-color:var(--olive)}:where(.afma-v3) .btn.outline{background:transparent;color:#f4fff6;border-color:#68847a}:where(.afma-v3) .btn.dark{background:var(--forest);color:white;border-color:var(--forest)}:where(.afma-v3) .btn.soft{background:var(--mist);border-color:transparent}:where(.afma-v3) .btn.sm{min-height:34px;padding:6px 10px;font-size:12px}
:where(.afma-v3) .bodygrid{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:24px;margin-top:24px;align-items:start}:where(.afma-v3) .work{min-width:0}:where(.afma-v3) .tabs{display:flex;gap:4px;padding:8px;overflow-x:auto;scrollbar-width:thin;background:#fff;border:1px solid var(--line);border-radius:12px;position:sticky;top:0;z-index:10;box-shadow:0 5px 24px rgba(23,45,33,.04)}:where(.afma-v3) .tabs button{white-space:nowrap;padding:10px 17px;border-radius:8px;border:0;background:transparent;font-weight:700;color:#536b62;font-size:13px}:where(.afma-v3) .tabs button[aria-selected=true]{background:var(--forest);color:#fff}:where(.afma-v3) .tabpanel{padding:29px 0 60px;animation:appear .22s ease}:where(.afma-v3) .tabpanel[hidden]{display:none}:where(.afma-v3) .sectitle{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin-bottom:19px}:where(.afma-v3) .sectitle h2{font-size:30px;letter-spacing:-.04em;line-height:1.1;margin:0}:where(.afma-v3) .sectitle p{font-size:13px;color:var(--muted);margin:6px 0 0}:where(.afma-v3) .meta{font-size:11px;text-transform:uppercase;letter-spacing:.11em;color:#71867a;font-weight:750}:where(.afma-v3) .panel{background:white;border:1px solid var(--line);padding:22px;border-radius:12px}:where(.afma-v3) .panel+.panel{margin-top:15px}:where(.afma-v3) .panel h3{margin:0 0 12px;font-size:17px;letter-spacing:-.02em}:where(.afma-v3) .panel p{color:#566a60;margin:7px 0 0;font-size:14px}:where(.afma-v3) .cols{display:grid;grid-template-columns:1.15fr 1fr;gap:16px}:where(.afma-v3) .callout{background:#f0f4e7;border-left:3px solid #98bd63;border-radius:5px;padding:14px;font-size:13px}:where(.afma-v3) .metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}:where(.afma-v3) .metric{padding:18px;border:1px solid var(--line);border-radius:10px;background:white}:where(.afma-v3) .metric b{font-size:28px;letter-spacing:-.04em;display:block}:where(.afma-v3) .metric span{font-size:12px;color:#667a6f}:where(.afma-v3) .evidence{display:flex;gap:7px;align-items:center;font-size:11px;font-weight:750;letter-spacing:.04em;color:#487254}:where(.afma-v3) .dot{width:7px;height:7px;background:#7caa68;border-radius:50%;display:inline-block}:where(.afma-v3) .pitch{height:258px;border-radius:11px;background:linear-gradient(90deg,#144437,#1d5144);position:relative;overflow:hidden;border:6px solid #245647}:where(.afma-v3) .pitch:before{content:"";position:absolute;inset:12px;border:1px solid #ffffff47}:where(.afma-v3) .pitch:after{content:"";position:absolute;left:50%;top:13px;bottom:13px;border-left:1px solid #ffffff42}:where(.afma-v3) .pitch .circle{position:absolute;width:90px;height:90px;border:1px solid #ffffff5c;border-radius:50%;top:50%;left:50%;transform:translate(-50%,-50%)}:where(.afma-v3) .pitch .zone{position:absolute;width:34%;height:66%;left:33%;top:17%;background:radial-gradient(ellipse,#c9e17982,#c9e17905 75%);border-radius:40%}:where(.afma-v3) .pitch .label{position:absolute;bottom:18px;left:20px;color:#e6fae5;font-size:12px}:where(.afma-v3) .tag{display:inline-block;border-radius:30px;background:#e9efe8;padding:5px 10px;font-size:11px;color:#416355;font-weight:720}:where(.afma-v3) .tag.warn{background:var(--dangerbg);color:var(--danger)}:where(.afma-v3) .statsbox{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}:where(.afma-v3) .statcard{border:1px solid var(--line);border-radius:11px;padding:17px;background:#fff}:where(.afma-v3) .statcard .top{font-size:13px;color:#65786d}:where(.afma-v3) .statcard strong{font-size:32px;line-height:1.3;letter-spacing:-.04em;display:block;margin:9px 0 8px}:where(.afma-v3) .bar{height:7px;border-radius:10px;background:#e4e9df;overflow:hidden}:where(.afma-v3) .bar i{display:block;height:100%;background:#6e9970;border-radius:10px}:where(.afma-v3) .statcard .note{font-size:11px;color:#698172;margin-top:8px}:where(.afma-v3) .banner-alert{display:flex;gap:11px;background:var(--dangerbg);color:#763c2a;border:1px solid #f2d9c7;border-radius:9px;padding:13px 16px;margin-bottom:16px;font-size:13px}:where(.afma-v3) .indicies{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}:where(.afma-v3) .index{background:#f3f6f1;border-radius:10px;padding:15px}:where(.afma-v3) .index strong{font-size:24px;display:block}:where(.afma-v3) .index small{font-size:12px;color:#596e61}:where(.afma-v3) .filter{display:flex;gap:9px;align-items:end;flex-wrap:wrap;padding:16px;background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:13px}:where(.afma-v3) .field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:#4b6357;flex:1;min-width:160px}:where(.afma-v3) .field input,
:where(.afma-v3) .field select,
:where(.afma-v3) .field textarea{border:1px solid #cbd5cd;border-radius:7px;background:white;color:var(--ink);min-height:43px;padding:10px 11px;outline-offset:2px;width:100%}:where(.afma-v3) .field textarea{min-height:125px;resize:vertical}:where(.afma-v3) .tablewrap{overflow-x:auto;background:#fff;border-radius:11px;border:1px solid var(--line)}:where(.afma-v3) table{border-collapse:collapse;width:100%;min-width:540px;font-size:13px}:where(.afma-v3) th,
:where(.afma-v3) td{text-align:left;padding:14px 16px;border-bottom:1px solid #ecf0e9;vertical-align:middle}:where(.afma-v3) th{font-size:11px;letter-spacing:.07em;text-transform:uppercase;color:#6c7e74;background:#f4f7f2}:where(.afma-v3) tr:last-child td{border-bottom:none}:where(.afma-v3) tr:hover td{background:#fcfdfb}:where(.afma-v3) .result{font-weight:800;color:#954936}:where(.afma-v3) .timeline{border-left:2px solid #cbd5b5;margin:10px 0 0 12px;padding:0 0 0 23px}:where(.afma-v3) .timeline .entry{position:relative;margin-bottom:20px}:where(.afma-v3) .timeline .entry:before{content:"";position:absolute;left:-31px;top:4px;width:12px;height:12px;background:#719969;border:3px solid white;border-radius:50%;box-shadow:0 0 0 1px #99b296}:where(.afma-v3) .entry strong{font-size:18px}:where(.afma-v3) .entry p{font-size:13px}:where(.afma-v3) .gallery-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:12px}:where(.afma-v3) .media{min-height:152px;position:relative;border-radius:10px;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#d2ead6;background:linear-gradient(137deg,#254e42,#0c2f2a);border:1px solid #497469;gap:6px;text-align:center;padding:12px}:where(.afma-v3) .media.feature{grid-row:span 2;min-height:315px}:where(.afma-v3) .media .symbol{font-size:40px;line-height:1;font-weight:750;opacity:.75}:where(.afma-v3) .media .caption{font-size:12px}:where(.afma-v3) .media strong{font-size:14px}:where(.afma-v3) .filters{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 15px}:where(.afma-v3) .filters button[aria-pressed=true]{background:var(--forest);color:#fff;border-color:var(--forest)}:where(.afma-v3) .side{position:sticky;top:85px}:where(.afma-v3) .side .panel{padding:19px}:where(.afma-v3) .side h3{font-size:14px}:where(.afma-v3) .definition{padding:11px 0;border-bottom:1px solid var(--line);display:flex;align-items:start;justify-content:space-between;gap:15px;font-size:12px}:where(.afma-v3) .definition:last-child{border-bottom:0}:where(.afma-v3) .definition span{color:#718279}:where(.afma-v3) .definition b{font-size:12px;text-align:right}:where(.afma-v3) .side-note{border:1px solid #e6dfc5;background:#fffbec;border-radius:11px;padding:17px;margin-top:14px;font-size:12px;color:#6b604b}:where(.afma-v3) .side-note b{display:block;margin-bottom:5px}:where(.afma-v3) .steps{padding-left:18px;color:#637369;font-size:13px}:where(.afma-v3) .steps li{margin-bottom:8px}:where(.afma-v3) .formrows{display:grid;grid-template-columns:1fr 1fr;gap:13px}:where(.afma-v3) .feedback{font-size:13px;color:#516d4d;font-weight:650;margin-top:14px}:where(.afma-v3) .feedback[hidden]{display:none}:where(.afma-v3) .footer{background:#0c2b27;color:#a7c0b4;padding:26px 0;margin-top:30px;font-size:12px}:where(.afma-v3) .footer .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px}:where(.afma-v3) .dev{background:#e8eedf;font-size:12px;padding:10px 20px;text-align:center;border-bottom:1px solid #cbd5c6;color:#3d594e}:where(.afma-v3) .dialog{border:0;border-radius:15px;max-width:480px;width:calc(100vw - 40px);padding:25px;box-shadow:0 35px 140px rgba(0,0,0,.25)}:where(.afma-v3) .dialog::backdrop{background:#061912a8}:where(.afma-v3) .dialog h3{margin:0;font-size:22px}:where(.afma-v3) .dialog p{font-size:13px;color:#647469}:where(.afma-v3) .dialog .close{float:right;background:transparent;border:0;font-size:22px;line-height:1}
@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1050px){:where(.afma-v3) .bodygrid{grid-template-columns:minmax(0,1fr)}:where(.afma-v3) .side{position:static;display:grid;grid-template-columns:1fr 1fr;gap:16px}:where(.afma-v3) .side-note{margin:0}:where(.afma-v3) .hero{grid-template-columns:260px 1fr}:where(.afma-v3) .portrait{min-height:350px}:where(.afma-v3) .intro{padding:26px}:where(.afma-v3) .intro h1{font-size:48px}}@media(max-width:720px){:where(.afma-v3) .wrap{padding:0 15px}:where(.afma-v3) .header .wrap{min-height:64px;gap:10px}:where(.afma-v3) .nav{display:none;position:absolute;left:0;right:0;top:64px;background:#092923;padding:18px 20px;z-index:30;border-bottom:1px solid #4c6e62}:where(.afma-v3) .nav.open{display:flex;flex-direction:column;align-items:start}:where(.afma-v3) .menu-btn{display:inline-flex}:where(.afma-v3) .search-btn{display:none}:where(.afma-v3) .brand{font-size:20px}:where(.afma-v3) .breadcrumb{padding:14px 0}:where(.afma-v3) .hero{grid-template-columns:1fr}:where(.afma-v3) .portrait{min-height:210px;display:block}:where(.afma-v3) .portrait-art{position:absolute;top:54px;left:0;right:0}:where(.afma-v3) .portrait-art .monogram{font-size:74px}:where(.afma-v3) .photo-pill{display:inline-block;margin:12px}:where(.afma-v3) .portrait-foot{position:absolute;bottom:0;left:0;right:0}:where(.afma-v3) .intro{padding:24px 20px}:where(.afma-v3) .intro h1{font-size:39px;margin:9px 0}:where(.afma-v3) .subline{font-size:13px;gap:5px 10px}:where(.afma-v3) .hero-data .n{font-size:24px}:where(.afma-v3) .hero-data .l{font-size:10px}:where(.afma-v3) .actions .btn{flex:1 1 auto}:where(.afma-v3) .tabs{top:0;border-radius:9px;margin-top:15px}:where(.afma-v3) .tabs button{padding:10px 13px}:where(.afma-v3) .tabpanel{padding-top:25px}:where(.afma-v3) .sectitle h2{font-size:26px}:where(.afma-v3) .cols,
:where(.afma-v3) .side,
:where(.afma-v3) .formrows{grid-template-columns:1fr}:where(.afma-v3) .metrics,
:where(.afma-v3) .indicies{grid-template-columns:repeat(2,1fr)}:where(.afma-v3) .gallery-grid{grid-template-columns:1fr 1fr}:where(.afma-v3) .media.feature{grid-column:span 2;grid-row:span 1;min-height:230px}:where(.afma-v3) .side-note{margin-top:0}:where(.afma-v3) .footer .wrap{flex-direction:column;align-items:flex-start}:where(.afma-v3) .statsbox{grid-template-columns:1fr 1fr}:where(.afma-v3) .statcard strong{font-size:25px}}@media(max-width:420px){:where(.afma-v3) .hero-data{gap:5px}:where(.afma-v3) .statcard{padding:12px}:where(.afma-v3) .metrics{gap:7px}:where(.afma-v3) .metric{padding:12px}:where(.afma-v3) .metric b{font-size:24px}:where(.afma-v3) .gallery-grid{grid-template-columns:1fr}:where(.afma-v3) .media.feature{grid-column:auto}:where(.afma-v3) .intro h1{font-size:36px}}@media(prefers-reduced-motion:reduce){:where(.afma-v3) *,
:where(.afma-v3) *:before,
:where(.afma-v3) *:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* AFMA Draft · Premium Talent Intelligence – V2. Original six profile tabs preserved. */
.afma-v3{--pine:#0d2220;--forest:#102c28;--olive:#ccf37e;--muted:#70827d;--ink:#132523;--paper:#f3f5ef;--mist:#eaf0e8;--line:#dbe4db;--gold:#ffca80;--shadow:0 16px 70px #12372a0c}
.afma-v3{background:var(--paper);font-family:Inter,"Avenir Next","Segoe UI",system-ui,sans-serif;letter-spacing:-.012em}
:where(.afma-v3) .wrap{max-width:1430px;padding-inline:36px}
:where(.afma-v3) .header{background:#0c201f;box-shadow:0 9px 34px #02100b13}
:where(.afma-v3) .header .wrap{min-height:78px}
:where(.afma-v3) .brand{font-size:23px;letter-spacing:-.05em}
:where(.afma-v3) .brandmark{background:var(--olive);border:0;color:#07170f;clip-path:polygon(0 0,74% 0,100% 25%,100% 100%,25% 100%,0 73%);border-radius:0;width:36px;height:36px;font-weight:950;font-size:22px}
:where(.afma-v3) .nav a{font-weight:600;opacity:.87}
:where(.afma-v3) .nav a:hover{opacity:1}
:where(.afma-v3) .search-btn{background:#1b3935;border-color:#45655b}
:where(.afma-v3) .dev{background:#dae9d1;color:#385344;padding:8px 12px;font-size:11px;font-weight:600}
:where(.afma-v3) .breadcrumb{padding:22px 0 18px;letter-spacing:0}
:where(.afma-v3) .hero{background:#102621;border-radius:21px;grid-template-columns:285px 1fr;box-shadow:0 23px 75px #091b1520;min-height:340px}
:where(.afma-v3) .portrait{min-height:355px;background:radial-gradient(circle at 50% 53%,#426d5c 0%,transparent 51%),repeating-linear-gradient(110deg,transparent 0 64px,#ffffff08 65px,transparent 66px),linear-gradient(135deg,#193e32,#071d19)}
:where(.afma-v3) .portrait:after{opacity:.65}
:where(.afma-v3) .portrait-art .monogram{color:#dcfca9;font-size:120px;text-shadow:0 0 60px #c0e29a40}
:where(.afma-v3) .photo-pill{border-color:#678879;background:#173c34}
:where(.afma-v3) .intro{padding:31px 42px}
:where(.afma-v3) .eyebrow{color:var(--olive)}
:where(.afma-v3) .intro h1{font-size:clamp(45px,5vw,70px);line-height:1;margin:13px 0 14px}
:where(.afma-v3) .subline{font-size:14px}
:where(.afma-v3) .hero-data .n{font-size:33px}
:where(.afma-v3) .hero-data .l{font-size:11px}
:where(.afma-v3) .warning-hero{background:#284537a8;border-left-color:var(--gold);max-width:730px}
:where(.afma-v3) .actions{margin-top:18px}:where(.afma-v3) .btn{border-radius:9px}:where(.afma-v3) .btn.primary{background:var(--olive);border-color:var(--olive)}
:where(.afma-v3) .bodygrid{grid-template-columns:minmax(0,1fr) 245px;gap:30px;margin-top:26px}
:where(.afma-v3) .bodygrid:has(#panel-stats:not([hidden])){grid-template-columns:minmax(0,1fr)}
:where(.afma-v3) .bodygrid:has(#panel-stats:not([hidden])) aside.side{display:none}
:where(.afma-v3) .tabs{top:0;border:1px solid #dce5db;background:#ffffffec;border-radius:13px;padding:7px;box-shadow:0 14px 50px #101f1520;gap:3px;backdrop-filter:blur(18px)}
:where(.afma-v3) .tabs button{min-height:47px;letter-spacing:-.01em;border-radius:9px;font-size:13px}
:where(.afma-v3) .tabs button[aria-selected=true]{background:#122d26;color:var(--olive);box-shadow:0 8px 24px #173d2730}
:where(.afma-v3) .tabpanel{padding:29px 0 40px}

/* Statistical report: distinctive editorial + data laboratory composition */
:where(.afma-v3) .stats-tab{padding-bottom:30px}
:where(.afma-v3) .stats-tab h2,
:where(.afma-v3) .stats-tab h3,
:where(.afma-v3) .stats-tab h4{letter-spacing:-.052em}
:where(.afma-v3) .stats-tab button{font-family:inherit}
:where(.afma-v3) .stats-tab [hidden]{display:none!important}
:where(.afma-v3) .analytics-hero{position:relative;overflow:hidden;min-height:310px;border-radius:22px;background:#0b2120;color:#f4f9ed;padding:35px 40px;display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:35px;align-items:center;isolation:isolate}
:where(.afma-v3) .analytics-hero:before{content:"";position:absolute;width:720px;height:720px;border:1px solid #8ebbb52e;border-radius:50%;left:48%;top:-255px;box-shadow:0 0 0 105px #8ebbb512,0 0 0 200px #8ebbb507;pointer-events:none;z-index:-1}
:where(.afma-v3) .analytics-hero:after{content:"";position:absolute;right:12%;bottom:-120px;width:440px;height:250px;background:radial-gradient(ellipse,#9ace8640,transparent 71%);filter:blur(28px);pointer-events:none;z-index:-1}
:where(.afma-v3) .hero-scan{position:absolute;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(90deg,transparent 48%,#ffffff04 49%,transparent 50%),repeating-linear-gradient(0deg,transparent 0 42px,#ffffff06 43px,transparent 44px);mask-image:linear-gradient(90deg,transparent 15%,black)}
:where(.afma-v3) .overline,
:where(.afma-v3) .tiny-heading,
:where(.afma-v3) .eyeline,
:where(.afma-v3) .field-upper{display:block;font-size:10px;font-weight:850;letter-spacing:.18em;line-height:1.45}
:where(.afma-v3) .overline{color:#d2e4cf;display:flex;align-items:center;gap:10px}:where(.afma-v3) .overline-num{opacity:.55;margin-left:13px}
:where(.afma-v3) .live-dot,
:where(.afma-v3) .pulse{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--olive);box-shadow:0 0 0 4px #ccf37e19}
:where(.afma-v3) .analytics-copy h2{font-size:clamp(37px,4.8vw,68px);line-height:1.08;letter-spacing:-.07em;margin:19px 0 15px;max-width:700px;font-weight:850}
:where(.afma-v3) .analytics-copy h2 em,
:where(.afma-v3) .statistics-intro h3 em,
:where(.afma-v3) .breakdown-title h3 em,
:where(.afma-v3) .competition-head h3 em{font-style:normal;color:var(--olive)}
:where(.afma-v3) .analytics-copy p{color:#b6cfc3;font-size:14px;line-height:1.65;max-width:560px;margin:0}
:where(.afma-v3) .hero-tags{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:26px;font-size:11px;font-weight:700;color:#e1eddc}:where(.afma-v3) .hero-tags span{padding:7px 12px;border:1px solid #416158;border-radius:30px;background:#233e35}:where(.afma-v3) .hero-tags .tag-caution{color:#f6d5a2;border-color:#b88c582f;background:#69512a42}
:where(.afma-v3) .score-feature{align-self:stretch;border:1px solid #52745b;background:linear-gradient(148deg,#2c503b95,#19362cc4);padding:22px 24px;border-radius:17px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:inset 0 1px 0 #b6e2a31a}
:where(.afma-v3) .score-feature-label{font-size:10px;letter-spacing:.17em;font-weight:850;color:#d5e7d2;display:flex;justify-content:space-between}:where(.afma-v3) .score-feature-label span{font-size:19px}
:where(.afma-v3) .score-value{font-size:clamp(74px,7.5vw,116px);font-weight:830;letter-spacing:-.115em;line-height:1.12;color:#d0f77e}:where(.afma-v3) .score-value span{font-size:.58em}
:where(.afma-v3) .score-sublabel{font-size:12px;color:#dbeadd}:where(.afma-v3) .score-sublabel strong{color:#f1dfaf}
:where(.afma-v3) .confidence-track{background:#67826e48;height:5px;border-radius:20px;margin:15px 0 7px;overflow:hidden}:where(.afma-v3) .confidence-track div{height:100%;background:#f4c481;border-radius:20px}
:where(.afma-v3) .confidence-foot{display:flex;justify-content:space-between;align-items:center;color:#bdcfbe;font-size:10px}:where(.afma-v3) .confidence-foot b{color:#f6d7a0;font-size:16px}
:where(.afma-v3) .analysis-switchboard{margin-top:18px;padding:22px 26px 18px;border:1px solid #dce5d9;border-radius:18px;background:#fff;box-shadow:0 16px 46px #0e322a0a}
:where(.afma-v3) .switchboard-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:16px}:where(.afma-v3) .tiny-heading{color:#6e877a}:where(.afma-v3) .dataset-note{font-size:11px;color:#577769;display:flex;gap:8px;align-items:center}:where(.afma-v3) .dataset-note .pulse{width:6px;height:6px;box-shadow:none}
:where(.afma-v3) .switchboard-flex{display:flex;align-items:end;justify-content:space-between;gap:20px;flex-wrap:wrap}:where(.afma-v3) .mode-select{display:flex;gap:10px;flex:1;max-width:660px}
:where(.afma-v3) .mode-btn{border:1px solid #dce6dc;background:#f7f9f6;text-align:left;flex:1;min-width:0;padding:14px 15px;display:flex;align-items:center;gap:12px;border-radius:12px;color:#244139;transition:background .2s,box-shadow .2s,transform .2s}
:where(.afma-v3) .mode-btn:hover,
:where(.afma-v3) .comp-pill:hover,
:where(.afma-v3) .preset:hover,
:where(.afma-v3) .unit-btn:hover{transform:translateY(-2px)}
:where(.afma-v3) .mode-btn.is-current{background:#153b30;color:white;border-color:#153b30;box-shadow:0 8px 22px #153b301c}
:where(.afma-v3) .mode-symbol{font-size:26px;font-weight:600;line-height:1;color:#86ba8e}:where(.afma-v3) .mode-btn.is-current .mode-symbol{color:#d1f67e}:where(.afma-v3) .mode-btn strong{display:block;font-size:13px}:where(.afma-v3) .mode-btn small{display:block;font-size:10px;color:#759083;margin-top:2px}:where(.afma-v3) .mode-btn.is-current small{color:#b2d0bc}
:where(.afma-v3) .filter-side{min-width:185px}:where(.afma-v3) .field-upper{font-size:9px;color:#7b8d80;margin-bottom:7px}
:where(.afma-v3) .unit-control{display:flex;padding:4px;gap:3px;background:#eff3ed;border:1px solid #e0e7df;border-radius:10px}:where(.afma-v3) .unit-btn{flex:1;border:0;background:transparent;padding:11px 10px;color:#536b5e;border-radius:7px;font-size:11px;font-weight:750;white-space:nowrap}:where(.afma-v3) .unit-btn.current{background:white;color:#102d25;box-shadow:0 4px 10px #091b0c16}
:where(.afma-v3) .competition-selector{margin-top:18px;padding-top:19px;border-top:1px solid #e8ede6}:where(.afma-v3) .competition-pills{display:flex;flex-wrap:wrap;gap:10px}:where(.afma-v3) .comp-pill{flex:1;min-width:280px;display:flex;align-items:center;gap:13px;text-align:left;padding:13px;border:1px solid #dce5dd;border-radius:13px;background:#f7f9f6;transition:transform .2s,background .2s,color .2s}:where(.afma-v3) .comp-pill.selected{background:#e8f3d7;border-color:#97b978}:where(.afma-v3) .comp-emblem{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;background:#203f35;color:#d8efb6;border-radius:10px;font-size:22px}:where(.afma-v3) .comp-emblem.mint{background:#d4e6ba;color:#1c422b}:where(.afma-v3) .comp-pill>span:nth-child(2){font-size:13px;font-weight:750;color:#234235}:where(.afma-v3) .comp-pill small{display:block;color:#738878;font-size:10px;font-weight:600;margin-top:2px}:where(.afma-v3) .comp-status{white-space:nowrap;font-size:9px;font-weight:800;color:#916b2a;background:#fcf0d7;padding:5px 7px;border-radius:6px;margin-left:auto}:where(.afma-v3) .comp-status.okay{background:#d5e8cd;color:#3b6f35}
:where(.afma-v3) .context-note{background:#f1f5ec;border:1px solid #e5ecdf;color:#647668;padding:10px 12px;border-radius:9px;font-size:11px;display:flex;gap:9px;align-items:flex-start;margin-top:15px}:where(.afma-v3) .context-note>span:first-child{font-size:18px;line-height:1;color:#517359}:where(.afma-v3) .context-note b{color:#355b45}
:where(.afma-v3) .stats-kpis{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;gap:12px;margin-top:16px}:where(.afma-v3) .kpi{position:relative;min-width:0;min-height:185px;border-radius:15px;padding:23px 22px;overflow:hidden;border:1px solid transparent;display:flex;flex-direction:column;justify-content:space-between;transition:transform .18s,box-shadow .18s}:where(.afma-v3) .kpi:hover{transform:translateY(-3px);box-shadow:0 16px 36px #173d2a13}
:where(.afma-v3) .kpi-primary{background:#c9f179;color:#173923}:where(.afma-v3) .kpi-light{background:#fff;border-color:#dce7dc}:where(.afma-v3) .kpi-sky{background:#deebe9;border-color:#cbdcdb}:where(.afma-v3) .kpi-dark{background:#174337;color:#e6ffcd}
:where(.afma-v3) .kpi-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:10px;letter-spacing:.12em;font-weight:850;opacity:.8}:where(.afma-v3) .kpi-icon{display:grid;place-items:center;border:1px solid #ffffff45;border-radius:100%;width:27px;height:27px;line-height:1;font-size:15px}:where(.afma-v3) .kpi-icon.dark{border-color:#8a9c8b6b}
:where(.afma-v3) .kpi-main{display:flex;align-items:baseline;gap:9px;min-width:0}:where(.afma-v3) .kpi-main strong{font-size:clamp(53px,5.5vw,83px);line-height:1;font-weight:830;letter-spacing:-.09em}:where(.afma-v3) .kpi-unit{font-size:11px;max-width:75px;line-height:1.4;color:inherit;opacity:.78}
:where(.afma-v3) .kpi-bottom{display:flex;gap:8px;align-items:center;font-size:10px;font-weight:620;opacity:.77}:where(.afma-v3) .horizontal-ruler{display:block;width:30px;height:1px;background:currentColor}:where(.afma-v3) .tiny-signal{width:6px;height:6px;border-radius:50%}:where(.afma-v3) .tiny-signal.green{background:#2d946a}:where(.afma-v3) .tiny-signal.orange{background:#c18c46}:where(.afma-v3) .tiny-signal.lime{background:#caf58c}
:where(.afma-v3) .statistics-intro{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:14px;margin:38px 0 15px}:where(.afma-v3) .statistics-intro h3,
:where(.afma-v3) .breakdown-title h3,
:where(.afma-v3) .competition-head h3{font-size:clamp(27px,3vw,39px);line-height:1.15;margin:9px 0 0;color:#153329}:where(.afma-v3) .statistics-intro h3 em,
:where(.afma-v3) .breakdown-title h3 em,
:where(.afma-v3) .competition-head h3 em{color:#5b8164}
:where(.afma-v3) .stat-presets{display:flex;gap:5px;flex-wrap:wrap}:where(.afma-v3) .preset{border:1px solid #dbe5db;border-radius:30px;padding:9px 13px;background:#fff;color:#597367;font-size:11px;font-weight:750;transition:transform .2s,background .2s}:where(.afma-v3) .preset.chosen{color:#d5f7ab;background:#15372d;border-color:#15372d}
:where(.afma-v3) .charts-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:13px}
:where(.afma-v3) .analysis-card{min-width:0;border:1px solid #d9e4db;border-radius:18px;padding:26px 27px;background:white;box-shadow:0 12px 32px #123e2a09;overflow:hidden}:where(.afma-v3) .analysis-card h4{font-size:25px;line-height:1.1;margin:8px 0 0;color:#16372a}:where(.afma-v3) .title-point{color:#80b75e}:where(.afma-v3) .analysis-card>p{color:#748a7e;font-size:12px;margin:12px 0 0;line-height:1.6}:where(.afma-v3) .card-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}:where(.afma-v3) .eyeline{color:#789486;font-size:9px}:where(.afma-v3) .card-badge{font-size:9px;color:#4f7952;background:#e7f5e5;border-radius:20px;padding:6px 9px;font-weight:770;white-space:nowrap}:where(.afma-v3) .card-badge.muted-badge{background:#e8eee8;color:#557367}
:where(.afma-v3) .precision-list{display:flex;flex-direction:column;gap:24px;margin-top:31px}:where(.afma-v3) .precision-header{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:13px;font-weight:790}:where(.afma-v3) .precision-header small{color:#779082;font-weight:600;margin-left:5px}:where(.afma-v3) .precision-header b{font-size:26px;letter-spacing:-.055em;color:#194532}
:where(.afma-v3) .precision-track{height:11px;margin-top:11px;background:#ecf1ea;border-radius:20px;overflow:hidden}:where(.afma-v3) .precision-fill{height:100%;border-radius:20px;transition:width .42s cubic-bezier(.2,.8,.2,1)}:where(.afma-v3) .precision-fill.lime{background:linear-gradient(90deg,#a2d452,#6dab70)}:where(.afma-v3) .precision-fill.mint{background:linear-gradient(90deg,#7dceb5,#2d987a)}:where(.afma-v3) .precision-fill.blue{background:linear-gradient(90deg,#a2c9c5,#3a8588)}:where(.afma-v3) .precision-helper{display:flex;justify-content:space-between;color:#8c9e94;font-size:10px;font-weight:550;margin-top:6px}:where(.afma-v3) .precision-helper span{font-size:14px}
:where(.afma-v3) .chart-footnote{margin-top:29px;border-top:1px solid #e6eee6;padding-top:14px;color:#6d8274;font-size:11px}
:where(.afma-v3) .radar-card{background:#102c29;border-color:#102c29;color:white;position:relative}:where(.afma-v3) .radar-card:after{content:"";position:absolute;width:230px;height:230px;right:-120px;bottom:-130px;border-radius:50%;border:25px solid #ffffff05;pointer-events:none}:where(.afma-v3) .radar-card h4{color:white}:where(.afma-v3) .radar-card>p{color:#adc8bb}:where(.afma-v3) .radar-card .eyeline{color:#c5decb}:where(.afma-v3) .radar-card .title-point{color:var(--olive)}:where(.afma-v3) .radar-card .muted-badge{color:#d5eece;background:#42634d}
:where(.afma-v3) .radar-layout{display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center;gap:6px;margin:10px 0 0;min-height:260px}:where(.afma-v3) .radar-layout svg{width:100%;max-width:340px;aspect-ratio:350/300;overflow:visible;display:block}
:where(.afma-v3) .radar-legend{display:flex;flex-direction:column;gap:10px}:where(.afma-v3) .radar-legend>div{display:grid;grid-template-columns:7px minmax(0,1fr) 28px;gap:7px;align-items:center;color:#a5c3b5;font-size:10px}:where(.afma-v3) .radar-legend i{width:6px;height:6px;border-radius:50%}:where(.afma-v3) .radar-legend strong{color:#ddf2d8;text-align:right;font-size:13px}
:where(.afma-v3) .radar-foot{display:flex;gap:7px;align-items:center;border-top:1px solid #47665c5c;padding-top:17px;color:#c4d4c4;font-size:11px}:where(.afma-v3) .radar-foot b{color:#fbdbab}:where(.afma-v3) .warning-dot{display:grid;place-items:center;border:1px solid #d7a65f;color:#f8dfac;border-radius:50%;width:19px;height:19px;font-weight:800}:where(.afma-v3) .radar-empty{color:#e9f3e4;background:#1d4037;border-radius:10px;padding:20px;line-height:1.5;font-size:12px;margin:15px 0}
:where(.afma-v3) .breakdown-title{margin:36px 0 16px}:where(.afma-v3) .breakdown-title p,
:where(.afma-v3) .competition-head p{font-size:12px;color:#7a8c80;margin:9px 0 0}
:where(.afma-v3) .detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}:where(.afma-v3) .detail-card{position:relative;border:1px solid #d7e3d7;background:#fff;border-radius:16px;padding:23px 24px 20px;overflow:hidden;min-height:300px;display:flex;flex-direction:column}:where(.afma-v3) .detail-card:before{content:"";position:absolute;width:125px;height:125px;border-radius:50%;background:#d7e6cb54;right:-65px;top:-65px}:where(.afma-v3) .detail-card.attack-card{background:#eaf1e5}:where(.afma-v3) .detail-card.build-card{background:#f9faf5}:where(.afma-v3) .detail-card.defense-card{background:#e5eeee}:where(.afma-v3) .detail-icon{display:grid;place-items:center;border-radius:10px;background:#d2e3ca;color:#28573a;width:38px;height:38px;margin-bottom:18px;font-size:20px;font-weight:750}:where(.afma-v3) .build-card .detail-icon{background:#d3e3d7}:where(.afma-v3) .defense-card .detail-icon{background:#c2dcd8;color:#276b68}
:where(.afma-v3) .detail-overline{font-weight:850;letter-spacing:.14em;font-size:9px;color:#6a8471}:where(.afma-v3) .detail-card h4{font-size:29px;margin:5px 0 14px;color:#163529}:where(.afma-v3) .detail-stats{margin-top:auto}:where(.afma-v3) .detail-stats>div{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:9px 0;border-bottom:1px solid #b7cbb950}:where(.afma-v3) .detail-stats>div span{font-size:12px;color:#5d7768}:where(.afma-v3) .detail-stats>div strong{font-size:18px;color:#143e30;letter-spacing:-.04em;white-space:nowrap}:where(.afma-v3) .detail-stats .unverified{font-size:11px;color:#9d6d2d}:where(.afma-v3) .detail-bot{display:flex;justify-content:space-between;gap:9px;font-size:10px;color:#779281;margin-top:14px}:where(.afma-v3) .detail-bot span{font-size:15px}
:where(.afma-v3) .competition-section{background:#fff;border:1px solid #dbe5d9;border-radius:18px;margin-top:30px;overflow:hidden}:where(.afma-v3) .competition-head{padding:28px 28px 20px;display:flex;align-items:end;justify-content:space-between;gap:15px}:where(.afma-v3) .competition-head h3{max-width:760px}:where(.afma-v3) .section-counter{border:1px solid #e3eae0;border-radius:40px;padding:8px 12px;color:#698172;font-size:11px;font-weight:700;white-space:nowrap}
:where(.afma-v3) .competition-tablewrap{overflow-x:auto}:where(.afma-v3) .competition-table{min-width:710px;width:100%;font-size:12px}:where(.afma-v3) .competition-table th{background:#f2f6ee;color:#738a76;font-size:9px;letter-spacing:.12em;border-bottom:1px solid #e7eee5;padding:13px 22px}:where(.afma-v3) .competition-table td{padding:17px 22px;border-bottom:1px solid #edf1ec;color:#284138}:where(.afma-v3) .competition-table tr:hover td{background:#f6faf4}:where(.afma-v3) .competition-table tr.total-row td{background:#fbfdf9}:where(.afma-v3) .competition-table td:first-child{min-width:290px}:where(.afma-v3) .competition-table td b{display:inline-block;font-size:13px;vertical-align:middle}:where(.afma-v3) .competition-table td small{display:block;color:#86998d;font-size:10px;padding-left:40px;margin-top:2px}:where(.afma-v3) .td-symbol{display:inline-grid;width:31px;height:31px;border-radius:8px;place-items:center;background:#e1edd8;color:#365d39;margin-right:9px;font-size:18px;font-weight:700;vertical-align:middle}
:where(.afma-v3) .table-tag{display:inline-block;font-size:10px;font-weight:800;padding:5px 9px;border-radius:6px;white-space:nowrap}:where(.afma-v3) .table-tag.verified{color:#3e7240;background:#e4f3df}:where(.afma-v3) .table-tag.unverified-tag{color:#926b38;background:#fcf0dc}:where(.afma-v3) .table-tag.source-tag{color:#447b75;background:#dcefed}
:where(.afma-v3) .row-action{border:1px solid #d2e3d2;border-radius:9px;background:#edf5ea;color:#315b37;padding:6px 10px;font-size:18px;min-height:36px;min-width:38px}:where(.afma-v3) .row-action:hover{background:#d2ecc3}:where(.afma-v3) .comp-table-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:15px;padding:15px 26px;color:#718578;font-size:10px}:where(.afma-v3) .table-link{border:0;background:transparent;font-weight:800;color:#28593a;font-size:11px;padding:7px;cursor:pointer}
:where(.afma-v3) .data-qa{border-radius:18px;background:#18382f;margin-top:22px;padding:26px 29px;display:flex;align-items:center;gap:20px;color:#ecf5ea}:where(.afma-v3) .qa-icon{width:44px;height:44px;display:grid;place-items:center;font-weight:750;color:#ffce8c;background:#654b2a;border:1px solid #a88150;border-radius:11px;flex:none;font-size:23px}:where(.afma-v3) .data-qa .tiny-heading{color:#bad1af}:where(.afma-v3) .data-qa h3{font-size:20px;letter-spacing:-.035em;margin:7px 0 8px}:where(.afma-v3) .data-qa p{font-size:11px;line-height:1.6;color:#c1d4c7;margin:0;max-width:840px}:where(.afma-v3) .quality-level{margin-left:auto;white-space:nowrap;align-self:flex-start;color:#f4d4a2;background:#70543064;border:1px solid #b28e605c;padding:8px 12px;border-radius:20px;font-size:10px;font-weight:800}
:where(.afma-v3) .analysis-last{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:16px;font-size:10px;color:#839587;font-weight:600}

/* Even the non-statistical pages gain deliberate spacing and richer hero hierarchy. */
:where(.afma-v3) .sectitle h2{font-size:34px}:where(.afma-v3) .panel{border-radius:15px;box-shadow:0 12px 35px #1e3a2610}:where(.afma-v3) .gallery-grid .media{border-radius:13px}:where(.afma-v3) .side .panel{background:#fff}
@media(max-width:1100px){:where(.afma-v3) .wrap{padding-inline:24px}:where(.afma-v3) .stats-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}:where(.afma-v3) .charts-grid{grid-template-columns:1fr}:where(.afma-v3) .analytics-hero{grid-template-columns:minmax(0,1fr) 245px}:where(.afma-v3) .radar-layout{grid-template-columns:minmax(0,1fr) 200px}:where(.afma-v3) .detail-grid{gap:10px}:where(.afma-v3) .detail-card{padding:18px}}
@media(max-width:860px){:where(.afma-v3) .hero{grid-template-columns:225px 1fr}:where(.afma-v3) .intro{padding:25px}:where(.afma-v3) .intro h1{font-size:52px}:where(.afma-v3) .hero-data .n{font-size:26px}:where(.afma-v3) .bodygrid{grid-template-columns:1fr}:where(.afma-v3) .side{position:static;display:grid;grid-template-columns:1fr 1fr;gap:15px}:where(.afma-v3) .analytics-hero{padding:28px;grid-template-columns:minmax(0,1fr) 230px}:where(.afma-v3) .score-value{font-size:80px}:where(.afma-v3) .analytics-copy h2{font-size:46px}:where(.afma-v3) .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}:where(.afma-v3) .detail-grid .defense-card{grid-column:span 2}:where(.afma-v3) .radar-layout{grid-template-columns:1fr 200px}}
@media(max-width:720px){:where(.afma-v3) .wrap{padding-inline:15px}:where(.afma-v3) .header .wrap{min-height:64px}:where(.afma-v3) .hero{grid-template-columns:1fr}:where(.afma-v3) .portrait{min-height:190px}:where(.afma-v3) .portrait-art{top:48px}:where(.afma-v3) .portrait-art .monogram{font-size:76px}:where(.afma-v3) .intro{padding:23px 22px}:where(.afma-v3) .intro h1{font-size:42px}:where(.afma-v3) .tabs{margin-top:15px}:where(.afma-v3) .tabpanel{padding-top:18px}:where(.afma-v3) .analytics-hero{padding:26px 23px;grid-template-columns:1fr;gap:24px}:where(.afma-v3) .analytics-copy h2{font-size:clamp(34px,8vw,48px)}:where(.afma-v3) .analytics-copy p{font-size:13px}:where(.afma-v3) .score-feature{padding:18px 20px;min-height:160px;display:grid;grid-template-columns:1fr 1fr;column-gap:10px;align-items:center}:where(.afma-v3) .score-feature-label{grid-column:span 2}:where(.afma-v3) .score-value{font-size:66px}:where(.afma-v3) .score-sublabel{font-size:11px}:where(.afma-v3) .confidence-track,
:where(.afma-v3) .confidence-foot{grid-column:span 2}:where(.afma-v3) .confidence-track{margin:8px 0 5px}:where(.afma-v3) .analysis-switchboard{padding:19px 17px}:where(.afma-v3) .switchboard-head{align-items:start}:where(.afma-v3) .dataset-note{font-size:10px}:where(.afma-v3) .switchboard-flex{align-items:stretch}:where(.afma-v3) .mode-select{max-width:none;width:100%}:where(.afma-v3) .filter-side{min-width:0;width:100%}:where(.afma-v3) .stats-kpis{gap:9px}:where(.afma-v3) .kpi{min-height:151px;padding:16px}:where(.afma-v3) .kpi-main strong{font-size:60px}:where(.afma-v3) .kpi-unit{font-size:10px}:where(.afma-v3) .statistics-intro{margin-top:29px;align-items:flex-start}:where(.afma-v3) .stat-presets{gap:5px}:where(.afma-v3) .preset{padding:8px 12px}:where(.afma-v3) .analysis-card{padding:21px 18px}:where(.afma-v3) .radar-layout{grid-template-columns:1fr 120px}:where(.afma-v3) .radar-legend>div{font-size:9px;grid-template-columns:5px 1fr 20px}:where(.afma-v3) .detail-grid{grid-template-columns:1fr}:where(.afma-v3) .detail-grid .defense-card{grid-column:auto}:where(.afma-v3) .detail-card{min-height:256px}:where(.afma-v3) .competition-head{padding:23px 18px;align-items:flex-start;flex-direction:column}:where(.afma-v3) .competition-table th,
:where(.afma-v3) .competition-table td{padding:13px}:where(.afma-v3) .comp-table-foot{padding:15px 18px}:where(.afma-v3) .data-qa{padding:20px;align-items:start;flex-wrap:wrap;gap:12px}:where(.afma-v3) .quality-level{margin-left:0}:where(.afma-v3) .hero-tags{margin-top:19px}:where(.afma-v3) .side{grid-template-columns:1fr}}
@media(max-width:460px){:where(.afma-v3) .wrap{padding-inline:12px}:where(.afma-v3) .intro{padding:21px 18px}:where(.afma-v3) .analytics-hero{border-radius:16px;padding:23px 18px}:where(.afma-v3) .analytics-copy h2{font-size:37px}:where(.afma-v3) .analytics-copy p{font-size:12px}:where(.afma-v3) .hero-tags{gap:5px}:where(.afma-v3) .hero-tags span{font-size:9px;padding:6px 8px}:where(.afma-v3) .score-feature{border-radius:13px}:where(.afma-v3) .analysis-switchboard{padding:17px 12px}:where(.afma-v3) .mode-btn{padding:12px 9px;gap:7px}:where(.afma-v3) .mode-btn strong{font-size:11px}:where(.afma-v3) .mode-btn small{font-size:9px}:where(.afma-v3) .mode-symbol{font-size:20px}:where(.afma-v3) .switchboard-head{flex-wrap:wrap}:where(.afma-v3) .comp-pill{min-width:0;width:100%;gap:8px}:where(.afma-v3) .comp-status{font-size:8px}:where(.afma-v3) .kpi{min-height:142px;padding:13px 11px}:where(.afma-v3) .kpi-main{flex-wrap:wrap;gap:2px}:where(.afma-v3) .kpi-main strong{font-size:53px}:where(.afma-v3) .kpi-unit{max-width:none;font-size:9px}:where(.afma-v3) .kpi-top{font-size:8px;letter-spacing:.09em}:where(.afma-v3) .kpi-bottom{font-size:9px}:where(.afma-v3) .kpi-icon{width:22px;height:22px;flex:none}:where(.afma-v3) .statistics-intro h3,
:where(.afma-v3) .breakdown-title h3,
:where(.afma-v3) .competition-head h3{font-size:29px}:where(.afma-v3) .radar-layout{grid-template-columns:1fr}:where(.afma-v3) .radar-layout svg{max-width:290px;margin:auto}:where(.afma-v3) .radar-legend{display:grid;grid-template-columns:1fr 1fr;gap:8px}:where(.afma-v3) .radar-legend>div{grid-template-columns:6px 1fr 20px}:where(.afma-v3) .precision-header small{display:block;margin-left:0;margin-top:1px}:where(.afma-v3) .precision-header b{font-size:22px}:where(.afma-v3) .card-heading{flex-wrap:wrap}:where(.afma-v3) .analysis-card h4{font-size:24px}:where(.afma-v3) .data-qa{gap:12px}:where(.afma-v3) .data-qa .qa-icon{width:36px;height:36px}:where(.afma-v3) .data-qa h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){:where(.afma-v3) .mode-btn,
:where(.afma-v3) .comp-pill,
:where(.afma-v3) .preset,
:where(.afma-v3) .unit-btn,
:where(.afma-v3) .precision-fill,
:where(.afma-v3) .kpi{transition:none!important}}
@media print{:where(.afma-v3) .header,
:where(.afma-v3) .dev,
:where(.afma-v3) .tabs,
:where(.afma-v3) .actions,
:where(.afma-v3) .mode-select,
:where(.afma-v3) .stat-presets,
:where(.afma-v3) .unit-control,
:where(.afma-v3) .competition-selector,
:where(.afma-v3) .footer,
:where(.afma-v3) .search-btn,
:where(.afma-v3) .table-link,
:where(.afma-v3) .row-action{display:none!important}:where(.afma-v3) .analytics-hero,
:where(.afma-v3) .radar-card,
:where(.afma-v3) .kpi-primary,
:where(.afma-v3) .kpi-dark{print-color-adjust:exact;-webkit-print-color-adjust:exact}:where(.afma-v3) .bodygrid{display:block}:where(.afma-v3) .stats-tab{display:block!important}:where(.afma-v3) .analysis-card,
:where(.afma-v3) .detail-card,
:where(.afma-v3) .competition-section{break-inside:avoid}}

:where(.afma-v3) .competition-mobile{display:none}
@media(max-width:720px){:where(.afma-v3) .competition-tablewrap{display:none}:where(.afma-v3) .competition-mobile{display:grid;gap:10px;padding:0 15px 18px}:where(.afma-v3) .mobile-comp{border:1px solid #dbe8dc;background:#f8fbf5;width:100%;text-align:left;border-radius:12px;padding:14px;color:#173c2d;display:block}:where(.afma-v3) .mobile-comp:hover{background:#ecf7e7}:where(.afma-v3) .mobile-comp-top{display:flex;gap:9px;align-items:center}:where(.afma-v3) .mobile-comp-top>span:nth-child(2){flex:1;min-width:0}:where(.afma-v3) .mobile-comp-top b{display:block;font-size:13px}:where(.afma-v3) .mobile-comp-top small{display:block;color:#738b7c;font-size:10px;margin-top:3px}:where(.afma-v3) .mobile-comp-arrow{font-size:20px;color:#67936e}:where(.afma-v3) .mobile-comp-numbers{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;border-top:1px solid #deeadc;margin-top:12px;padding-top:10px}:where(.afma-v3) .mobile-comp-numbers>span{display:flex;flex-direction:column;align-items:start}:where(.afma-v3) .mobile-comp-numbers strong{font-size:17px;letter-spacing:-.05em}:where(.afma-v3) .mobile-comp-numbers small{font-size:9px;color:#6a8572}:where(.afma-v3) .mobile-comp-alert{display:block;border-top:1px solid #e6ebe2;padding-top:11px;margin-top:10px;color:#967437;font-size:11px}:where(.afma-v3) .charts-grid:has(>[hidden]){grid-template-columns:1fr}}
/* Keyboard / touch and legibility refinements after real screenshot inspection. */
:where(.afma-v3) .mode-btn,
:where(.afma-v3) .unit-btn,
:where(.afma-v3) .preset,
:where(.afma-v3) .comp-pill,
:where(.afma-v3) .mobile-comp,
:where(.afma-v3) .row-action{min-height:44px}
:where(.afma-v3) .row-action{min-width:44px}
:where(.afma-v3) .precision-helper,
:where(.afma-v3) .chart-footnote,
:where(.afma-v3) .competition-head p,
:where(.afma-v3) .breakdown-title p{color:#526e5d}
:where(.afma-v3) .analysis-card>p,
:where(.afma-v3) .detail-stats>div span,
:where(.afma-v3) .competition-table td small{color:#536f61}
@media(max-width:720px){:where(.afma-v3) .mobile-comp-top small,
:where(.afma-v3) .mobile-comp-numbers small{color:#536f60}:where(.afma-v3) .preset{padding:10px 14px}:where(.afma-v3) .unit-btn{padding:12px}}

:where(.afma-v3) .radar-empty:not([hidden]){min-height:252px;display:flex;flex-direction:column;gap:11px;align-items:center;justify-content:center;text-align:center;padding:26px;background:radial-gradient(ellipse at 50% 55%,#315648,#173a32 72%);border:1px dashed #6384729e;border-radius:14px}:where(.afma-v3) .radar-empty-symbol{width:52px;height:52px;display:grid;place-items:center;border-radius:50%;border:1px solid #739c7b;color:#cbf18b;background:#466b463b;font-size:29px}:where(.afma-v3) .radar-empty strong{font-size:16px;letter-spacing:-.025em;color:#e7f6e3}:where(.afma-v3) .radar-empty span:last-child{max-width:290px;line-height:1.65;color:#b7d0bf}


/* AFMA Draft — Premium V3 / five tabs, intentionally scoped: Stats V2 remains unchanged. */
.afma-v3{--v3-black:#0c2420;--v3-deep:#0b2420;--v3-ink:#122d25;--v3-lime:#cef67e;--v3-cream:#f4f5ee;--v3-line:#d8e4d7;--v3-muted:#687d72;--v3-gold:#e8c98f}
:where(.afma-v3) .v3-panel{padding-block:31px 53px;color:var(--v3-ink);overflow:clip}
:where(.afma-v3) .v3-panel *,
:where(.afma-v3) .v3-panel *:before,
:where(.afma-v3) .v3-panel *:after{box-sizing:border-box}
:where(.afma-v3) .v3-panel [hidden]{display:none!important}
:where(.afma-v3) .v3-panel button{font:inherit;cursor:pointer}
:where(.afma-v3) .v3-panel svg{display:inline-block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.7;flex-shrink:0}
:where(.afma-v3) .v3-section-top{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:9px 1px 27px}
:where(.afma-v3) .v3-eyebrow{display:flex;gap:9px;align-items:center;font-size:10px;letter-spacing:.18em;font-weight:870;color:#547264;margin:0 0 13px}
:where(.afma-v3) .v3-pip{width:6px;height:6px;border-radius:50%;background:#8bc548;box-shadow:0 0 0 4px #a7d68b25}
:where(.afma-v3) .v3-title{font-size:clamp(37px,4.6vw,69px)!important;line-height:1.025;letter-spacing:-.065em;font-weight:880;margin:0 0 12px!important;color:#102b24}
:where(.afma-v3) .v3-title em{color:#6d9368;font-style:normal}
:where(.afma-v3) .v3-deck{margin:0!important;color:#657a70;max-width:760px;font-size:15px;line-height:1.7}
:where(.afma-v3) .v3-outline-tag{padding:12px 15px;border:1px solid #cbdaca;border-radius:999px;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-size:11px;font-weight:750;color:#45674f;margin-bottom:7px;background:#fff9}
:where(.afma-v3) .v3-outline-tag svg{width:14px;height:14px}
:where(.afma-v3) .v3-white-kicker,
:where(.afma-v3) .v3-dark-eyebrow{color:var(--v3-lime);font-size:10px;letter-spacing:.18em;font-weight:850;line-height:1.5}
:where(.afma-v3) .v3-dark-eyebrow{color:#739780}
:where(.afma-v3) .v3-linkbtn,
:where(.afma-v3) .v3-ghost-link{color:#164e30;border:0;background:none;display:inline-flex;align-items:center;gap:12px;font-size:12px;font-weight:850;padding:8px 0;text-decoration:none;min-height:42px}
:where(.afma-v3) .v3-linkbtn svg,
:where(.afma-v3) .v3-ghost-link svg{width:16px;height:16px;transition:transform .22s ease}:where(.afma-v3) .v3-linkbtn:hover svg,
:where(.afma-v3) .v3-ghost-link:hover svg{transform:translate(4px,-4px)}
:where(.afma-v3) .v3-linkbtn:focus-visible,
:where(.afma-v3) .v3-ghost-link:focus-visible,
:where(.afma-v3) .v3-panel button:focus-visible,
:where(.afma-v3) .v3-panel a:focus-visible,
:where(.afma-v3) .v3-panel input:focus-visible,
:where(.afma-v3) .v3-panel select:focus-visible,
:where(.afma-v3) .v3-panel textarea:focus-visible,
:where(.afma-v3) .v3-modal button:focus-visible{outline:3px solid #4eae98;outline-offset:4px}
/* 01 — editorial player dossier */
:where(.afma-v3) .v3-overview-hero{display:grid;grid-template-columns:1.03fr .97fr;overflow:hidden;min-height:438px;border-radius:22px;background:var(--v3-deep);box-shadow:0 22px 60px #09231b17}
:where(.afma-v3) .v3-overview-story{padding:34px 38px 33px;color:#f8fcf5;display:flex;flex-direction:column;position:relative;min-width:0;overflow:hidden;isolation:isolate}
:where(.afma-v3) .v3-overview-story:before{content:"";position:absolute;width:540px;height:540px;border:1px solid #ffffff12;border-radius:50%;top:-240px;left:-130px;box-shadow:0 0 0 105px #ffffff07,0 0 0 180px #ffffff04;z-index:-1}
:where(.afma-v3) .v3-dossier-no{font-size:clamp(55px,7vw,106px);font-weight:920;letter-spacing:-.1em;line-height:1.05;margin-top:19px;color:#d4f685}:where(.afma-v3) .v3-dossier-no span{font-weight:400;color:#7da591}
:where(.afma-v3) .v3-overview-story h3{font-weight:860;letter-spacing:-.07em;font-size:clamp(27px,3.1vw,45px);line-height:1.08;max-width:560px;margin:0 0 15px}:where(.afma-v3) .v3-overview-story h3 span{color:#a7cba9}
:where(.afma-v3) .v3-overview-story>p:not(.v3-white-kicker){font-size:14px;color:#b9d0c3;line-height:1.75;max-width:540px;margin:0 0 23px}
:where(.afma-v3) .v3-dossier-foot{display:flex;gap:9px;flex-wrap:wrap;margin-top:auto}:where(.afma-v3) .v3-dossier-foot span{display:flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #ffffff25;background:#ffffff0e;border-radius:999px;font-size:10px;color:#dceadb}:where(.afma-v3) .v3-dossier-foot svg{width:13px;height:13px;color:var(--v3-lime)}
:where(.afma-v3) .v3-overview-pitch{padding:25px;background:radial-gradient(ellipse at 50% 54%,#295641,#15392d 65%,#17392e);display:flex;flex-direction:column;justify-content:center;min-width:0}
:where(.afma-v3) .v3-pitch-caption{display:flex;align-items:center;justify-content:space-between;color:#c8dec7;font-size:10px;font-weight:800;letter-spacing:.13em;gap:10px}:where(.afma-v3) .v3-overview-pitch svg{display:block;width:100%;height:auto;stroke:none;max-height:340px}:where(.afma-v3) .v3-overview-pitch p{font-size:10px;color:#bbd5c2;line-height:1.6;text-align:center;margin:-5px 0 0}:where(.afma-v3) .v3-overview-pitch p strong{color:#e7f7d6}
:where(.afma-v3) .v3-overview-rail{background:#e4ecdf;border:1px solid #d9e4d5;border-radius:15px;margin-top:15px;display:grid;grid-template-columns:1.05fr repeat(3,1fr);gap:0;overflow:hidden}
:where(.afma-v3) .v3-rail-intro,
:where(.afma-v3) .v3-rail-stat{padding:24px 25px;min-width:0}:where(.afma-v3) .v3-rail-intro{background:#d5e9c6;display:flex;flex-direction:column;justify-content:center}:where(.afma-v3) .v3-rail-overline{font-size:9px;letter-spacing:.15em;font-weight:800;color:#456a4a;margin-bottom:7px}:where(.afma-v3) .v3-rail-intro strong{font-size:26px;letter-spacing:-.065em;line-height:1.12}:where(.afma-v3) .v3-rail-intro>span:last-child{font-size:11px;color:#5d765c}:where(.afma-v3) .v3-rail-stat{border-right:1px solid #cbd8c8}:where(.afma-v3) .v3-rail-stat:last-child{border:0}:where(.afma-v3) .v3-rail-stat b{font-size:43px;line-height:1;letter-spacing:-.08em;display:block}:where(.afma-v3) .v3-rail-stat b span{font-size:23px;margin-left:2px;color:#6a9774}:where(.afma-v3) .v3-rail-stat small{font-size:11px;color:#607769;line-height:1.5;display:block;margin:10px 0 13px}:where(.afma-v3) .v3-mini-track{height:5px;background:#c3d6bc;border-radius:5px;overflow:hidden}:where(.afma-v3) .v3-mini-track i{height:100%;display:block;background:#537a63;border-radius:5px}
:where(.afma-v3) .v3-split-story{display:grid;grid-template-columns:1.18fr .82fr;gap:17px;margin-top:18px}:where(.afma-v3) .v3-story-note{background:#fff;border:1px solid #e0e7dc;border-radius:19px;padding:30px 31px;min-width:0}:where(.afma-v3) .v3-story-note h3,
:where(.afma-v3) .v3-quality-card h3{font-size:clamp(26px,3.2vw,40px);font-weight:830;letter-spacing:-.055em;line-height:1.12;margin:6px 0 26px}:where(.afma-v3) .v3-story-note h3 em{font-style:normal;color:#6d9368}:where(.afma-v3) .v3-evidence-list>div{display:grid;grid-template-columns:32px 1fr auto;gap:17px;align-items:start;border-top:1px solid #e2e9df;padding:17px 0}:where(.afma-v3) .v3-evidence-index{font-size:11px;color:#7a9584;font-weight:850}:where(.afma-v3) .v3-evidence-list strong{font-size:15px}:where(.afma-v3) .v3-evidence-list p{font-size:12px;color:#6c7f74;margin:5px 0 0}:where(.afma-v3) .v3-evidence-list b{font-size:9px;letter-spacing:.08em;color:#397654;background:#e2f4e8;border-radius:5px;padding:5px 7px}:where(.afma-v3) .v3-story-note .v3-linkbtn{margin-top:9px}
:where(.afma-v3) .v3-quality-card{background:#14352b;border-radius:19px;padding:30px 31px;color:#f4faec;position:relative;overflow:hidden;isolation:isolate;min-width:0}:where(.afma-v3) .v3-quality-card:after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;border:1px solid #ffffff10;right:-120px;bottom:-160px;box-shadow:0 0 0 65px #ffffff08;z-index:-1}:where(.afma-v3) .v3-quality-mark{display:flex;gap:9px;align-items:center;color:#cce0cb;font-size:9px;letter-spacing:.16em;font-weight:800}:where(.afma-v3) .v3-quality-mark svg{color:var(--v3-lime);width:18px;height:18px}:where(.afma-v3) .v3-quality-card h3{margin-top:24px;margin-bottom:18px}:where(.afma-v3) .v3-quality-card h3 em{font-style:normal;color:var(--v3-lime)}:where(.afma-v3) .v3-quality-card>p{color:#bad3c4;font-size:13px;line-height:1.75}:where(.afma-v3) .v3-confidence{display:flex;align-items:center;gap:21px;margin:27px 0 16px}:where(.afma-v3) .v3-confidence>div:first-child{display:flex;flex-direction:column}:where(.afma-v3) .v3-confidence strong{font-size:59px;line-height:1;letter-spacing:-.1em;color:#d5f68b}:where(.afma-v3) .v3-confidence strong small{font-size:24px}:where(.afma-v3) .v3-confidence span{font-size:10px;color:#c2d6c6}:where(.afma-v3) .v3-confidence-track{flex:1;min-width:20px;background:#ffffff20;height:8px;border-radius:50px}:where(.afma-v3) .v3-confidence-track i{display:block;width:10%;height:100%;border-radius:50px;background:#f0ce8a}:where(.afma-v3) .v3-quality-card .v3-smallprint{font-size:11px;color:#a8c5b4}:where(.afma-v3) .v3-quality-card .v3-ghost-link{color:var(--v3-lime);margin-top:16px}
/* 02 — image catalog editorial without implying media availability */
:where(.afma-v3) .v3-gallery-intro{border-radius:21px;background:#0d2522;padding:33px 37px;display:flex;justify-content:space-between;align-items:flex-end;color:#f5fbec;gap:28px;position:relative;overflow:hidden}:where(.afma-v3) .v3-gallery-intro:after{content:"";position:absolute;right:5%;top:-130px;width:450px;height:450px;border-radius:50%;border:1px solid #ffffff16;box-shadow:0 0 0 75px #ffffff07;pointer-events:none}:where(.afma-v3) .v3-gallery-intro h3{font-size:clamp(31px,4vw,56px);line-height:1.07;letter-spacing:-.07em;font-weight:850;max-width:640px;margin:13px 0}:where(.afma-v3) .v3-gallery-intro h3 em{font-style:normal;color:var(--v3-lime)}:where(.afma-v3) .v3-gallery-intro p{color:#b9cfc0;line-height:1.65;max-width:650px;font-size:12px;margin:0}:where(.afma-v3) .v3-gallery-intro strong{color:#eff9e5}:where(.afma-v3) .v3-gallery-counter{display:flex;flex-direction:column;align-items:flex-end;gap:4px;min-width:150px}:where(.afma-v3) .v3-gallery-counter strong{font-size:104px;line-height:.9;letter-spacing:-.1em;color:var(--v3-lime)}:where(.afma-v3) .v3-gallery-counter span{font-size:9px;font-weight:800;line-height:1.6;letter-spacing:.1em;color:#c5dbca;text-align:right}
:where(.afma-v3) .v3-filter-bar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:25px 0 15px}:where(.afma-v3) .v3-filter-head{display:flex;flex-direction:column}:where(.afma-v3) .v3-filter-head span{font-size:16px;font-weight:830}:where(.afma-v3) .v3-filter-head small{font-size:11px;color:#789082}:where(.afma-v3) .v3-filter-pills{display:flex;align-items:center;gap:7px;flex-wrap:wrap}:where(.afma-v3) .v3-filter-pill{display:inline-flex;gap:14px;align-items:center;padding:10px 15px;min-height:42px;border-radius:50px;border:1px solid #d8e3d6;background:#fff;color:#547066;font-size:11px;font-weight:800}:where(.afma-v3) .v3-filter-pill span{opacity:.62;font-size:10px}:where(.afma-v3) .v3-filter-pill[aria-pressed=true]{color:#d7f9a0;background:#11352a;border-color:#11352a}:where(.afma-v3) .v3-filter-pill:hover:not([aria-pressed=true]){border-color:#a8c8a2;background:#eff6ec}
:where(.afma-v3) .v3-media-grid{display:grid;grid-template-columns:1.35fr .85fr .85fr;grid-auto-rows:minmax(230px,auto);gap:13px}:where(.afma-v3) .v3-media{min-width:0;position:relative;min-height:230px;overflow:hidden;display:flex;align-items:stretch;border:0;border-radius:16px!important;padding:0;text-align:left;color:white;isolation:isolate;background:#1a3b32;box-shadow:none}:where(.afma-v3) .v3-media-lead{grid-row:span 2;min-height:470px}:where(.afma-v3) .v3-media-video{grid-column:span 2}:where(.afma-v3) .v3-media-art{position:absolute;inset:0;overflow:hidden;display:block}:where(.afma-v3) .v3-media-art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 20%,#021813dd 98%)}:where(.afma-v3) .v3-media:hover .v3-media-art{transform:scale(1.035)}:where(.afma-v3) .v3-media-art{transition:transform .5s cubic-bezier(.2,.7,.1,1)}
:where(.afma-v3) .art-a{background:radial-gradient(circle at 38% 40%,#718e56 0%,transparent 43%),linear-gradient(155deg,#1a4840,#23492a 55%,#102a25)}:where(.afma-v3) .art-b{background:linear-gradient(120deg,#173735,#1d5548 45%,#305549)}:where(.afma-v3) .art-c{background:linear-gradient(145deg,#628769,#184b3e 70%)}:where(.afma-v3) .art-d{background:linear-gradient(145deg,#1c5250,#173b33)}:where(.afma-v3) .art-e{background:linear-gradient(130deg,#667e4d,#214c3b 65%)}:where(.afma-v3) .v3-art-lines{position:absolute;inset:9%;opacity:.44;transform:rotate(-17deg);border:2px solid #d7f6b0;border-radius:180px;box-shadow:0 0 0 80px #d9f7b20b,0 0 0 140px #d9f7b20b}:where(.afma-v3) .v3-art-round{position:absolute;top:25px;left:22px;font-size:13px;letter-spacing:.1em;font-weight:800;border:1px solid #ffffff88;border-radius:50%;height:42px;width:42px;display:grid;place-items:center}:where(.afma-v3) .v3-art-monogram{position:absolute;font-size:clamp(140px,20vw,260px);font-weight:960;letter-spacing:-.14em;color:#d5f398b0;top:25%;left:16%;transform:rotate(-9deg)}:where(.afma-v3) .v3-art-video-frame{position:absolute;inset:17% 15%;border:1px solid #ecffe466;display:grid;place-items:center;background:repeating-linear-gradient(90deg,#d4f0c20a 0 2px,transparent 2px 39px);transform:skewX(-6deg)}:where(.afma-v3) .v3-video-play{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;border:1px solid #d6f48b;background:#cff389;color:#15342b}:where(.afma-v3) .v3-video-play svg{stroke-width:2;width:24px;height:24px;fill:#15342b}:where(.afma-v3) .v3-timecode{position:absolute;bottom:13px;right:14px;font-size:10px;letter-spacing:.1em}:where(.afma-v3) .v3-art-angle{position:absolute;width:250px;height:250px;border:30px solid #d3efaf60;top:-90px;left:17%;transform:rotate(38deg)}:where(.afma-v3) .v3-art-outline{position:absolute;font-size:126px;line-height:1;letter-spacing:-.1em;font-weight:930;color:#d2f9b37f;right:18px;top:16px}:where(.afma-v3) .v3-art-rings{position:absolute;inset:-50px;border-radius:50%;border:1px solid #c1f3b3c0;box-shadow:0 0 0 37px #c1f3b31a,0 0 0 77px #c1f3b318}:where(.afma-v3) .v3-art-shirt{position:absolute;inset:5% 25% 10%;color:#c8efa5;display:grid;place-items:center}:where(.afma-v3) .v3-art-shirt svg{height:85%;width:85%;stroke:currentColor;fill:none}:where(.afma-v3) .v3-media-glass{position:relative;z-index:1;padding:20px;align-self:end;display:flex;flex-direction:column;gap:5px;width:100%;pointer-events:none}:where(.afma-v3) .v3-media-line{display:flex;gap:8px;justify-content:space-between;align-items:center;font-size:9px;font-weight:800;letter-spacing:.13em;color:#d5f8b9}:where(.afma-v3) .v3-media-line>span{display:flex;align-items:center;gap:6px}:where(.afma-v3) .v3-media-line svg{width:13px;height:13px}:where(.afma-v3) .v3-media-glass strong{font-size:clamp(19px,2.1vw,27px);font-weight:830;letter-spacing:-.048em;line-height:1.15}:where(.afma-v3) .v3-media-meta{font-size:11px;color:#d5e8d3}:where(.afma-v3) .v3-media:focus-visible{outline-offset:2px}:where(.afma-v3) .v3-media-footer{background:#e7f0e3;border:1px solid #d7e6d6;border-radius:13px;display:flex;gap:20px;align-items:center;justify-content:space-between;margin-top:17px;padding:17px 21px}:where(.afma-v3) .v3-media-footer>div{display:flex;gap:12px;align-items:center}:where(.afma-v3) .v3-media-footer>div>svg{color:#367c53;width:23px;height:23px}:where(.afma-v3) .v3-media-footer span{display:flex;flex-direction:column}:where(.afma-v3) .v3-media-footer strong{font-size:12px}:where(.afma-v3) .v3-media-footer small{font-size:10px;color:#6a8270}
/* 04 — encounter hub */
:where(.afma-v3) .v3-match-head,
:where(.afma-v3) .v3-career-hero{background:#102c26;color:white;border-radius:21px;padding:33px 40px;display:flex;align-items:center;justify-content:space-between;gap:35px;min-height:285px;overflow:hidden;position:relative}:where(.afma-v3) .v3-match-head:after,
:where(.afma-v3) .v3-career-hero:after{content:"";position:absolute;right:-100px;top:-100px;width:420px;height:420px;border-radius:50%;border:1px solid #ffffff15;box-shadow:0 0 0 68px #ffffff09;pointer-events:none}:where(.afma-v3) .v3-match-head h3,
:where(.afma-v3) .v3-career-hero h3{font-size:clamp(33px,4vw,57px);font-weight:850;line-height:1.07;letter-spacing:-.07em;margin:14px 0}:where(.afma-v3) .v3-match-head h3 em,
:where(.afma-v3) .v3-career-hero h3 em{font-style:normal;color:var(--v3-lime)}:where(.afma-v3) .v3-match-head p,
:where(.afma-v3) .v3-career-hero p{font-size:13px;max-width:660px;line-height:1.65;color:#bed1c3;margin:0}:where(.afma-v3) .v3-match-pill-group{display:flex;flex-wrap:wrap;gap:7px;margin-top:22px}:where(.afma-v3) .v3-match-pill-group span{font-size:10px;font-weight:850;letter-spacing:.06em;border:1px solid #ffffff30;border-radius:7px;padding:7px 10px;display:flex;align-items:center;gap:8px}:where(.afma-v3) .v3-match-pill-group i{width:6px;height:6px;background:var(--v3-lime);border-radius:50%}:where(.afma-v3) .v3-match-graphic{display:flex;align-items:center;flex-direction:column;justify-content:center;min-width:185px;position:relative;z-index:1}:where(.afma-v3) .v3-match-graphic:before{content:"";width:169px;height:169px;position:absolute;top:-3px;border:1px solid #97cba66b;border-radius:50%;box-shadow:0 0 0 22px #ffffff0a,0 0 0 47px #ffffff05}:where(.afma-v3) .v3-match-graphic strong{font-size:92px;letter-spacing:-.11em;line-height:1;color:var(--v3-lime)}:where(.afma-v3) .v3-match-graphic strong span{font-size:40px}:where(.afma-v3) .v3-match-graphic>span{font-size:9px;color:#d1e4cd;letter-spacing:.12em;text-align:center;margin-top:7px;font-weight:800}:where(.afma-v3) .v3-match-graphic small{display:block;margin-top:5px;opacity:.65}
:where(.afma-v3) .v3-match-tools{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;background:#fff;border:1px solid #e1e8df;padding:18px 20px;border-radius:15px;margin:17px 0}:where(.afma-v3) .v3-subnav{display:flex;gap:5px;background:#ecf2e9;border-radius:9px;padding:5px}:where(.afma-v3) .v3-subnav-button{border:0;background:transparent;padding:10px 13px;border-radius:7px;font-size:11px;font-weight:820;color:#527264;min-height:40px}:where(.afma-v3) .v3-subnav-button span{opacity:.7;margin-left:6px}:where(.afma-v3) .v3-subnav-button[aria-pressed=true]{background:#15382d;color:#d6f7ad}:where(.afma-v3) .v3-match-filter{display:flex;align-items:end;gap:10px;flex-wrap:wrap}:where(.afma-v3) .v3-smallfield{display:flex;flex-direction:column;gap:4px;font-size:10px;font-weight:780;color:#617c6e}:where(.afma-v3) .v3-smallfield input,
:where(.afma-v3) .v3-smallfield select{min-height:41px;border:1px solid #d5e3d6;border-radius:7px;background:#f8faf7;padding:8px 10px;color:#1d4633;font:inherit;font-size:12px;min-width:0}:where(.afma-v3) .v3-smallfield input{width:162px}:where(.afma-v3) .v3-reset{border:0;background:transparent;color:#32634b;font-size:11px;font-weight:850;min-height:41px;padding:8px}:where(.afma-v3) .v3-date-line{display:flex;justify-content:space-between;gap:12px;margin:20px 0 12px;align-items:center}:where(.afma-v3) .v3-date-line span{font-size:10px;letter-spacing:.17em;font-weight:850;color:#648373}:where(.afma-v3) .v3-date-line small{font-size:11px;color:#82948b}
:where(.afma-v3) .v3-scoreboard{background:#fff;border-radius:18px 18px 0 0;padding:30px 25px;display:grid;grid-template-columns:1fr 1.15fr 1fr;align-items:center;gap:12px;border:1px solid #dce8dc;border-bottom:0;min-height:245px}:where(.afma-v3) .v3-team{display:flex;align-items:center;flex-direction:column;text-align:center;gap:8px}:where(.afma-v3) .v3-team-avatar{height:62px;width:62px;border-radius:15px;display:grid;place-items:center;font-weight:930;font-size:30px;letter-spacing:-.09em;background:#e9e6e0;color:#9f4d4b;border:1px solid #d4d0ca}:where(.afma-v3) .v3-home{background:repeating-linear-gradient(90deg,#fafafa 0 12px,#dc5755 12px 24px);color:#122e2a;text-shadow:0 2px white}:where(.afma-v3) .v3-away{background:#252b30;color:#ec615f}:where(.afma-v3) .v3-team strong{font-size:16px;letter-spacing:-.04em}:where(.afma-v3) .v3-team small{font-size:9px;letter-spacing:.17em;color:#839389;font-weight:850}:where(.afma-v3) .v3-score{text-align:center;display:flex;flex-direction:column;align-items:center}:where(.afma-v3) .v3-score>span{font-size:9px;letter-spacing:.13em;font-weight:800;color:#7c8b7c}:where(.afma-v3) .v3-score strong{font-size:clamp(55px,7vw,93px);letter-spacing:-.1em;line-height:1.3;white-space:nowrap}:where(.afma-v3) .v3-score strong i{font-style:normal;color:#a3b3a5;font-size:.6em;padding:0 .05em}:where(.afma-v3) .v3-score>b{font-size:10px;background:#fff0e8;color:#9b523c;border-radius:30px;padding:6px 12px;letter-spacing:.13em}
:where(.afma-v3) .v3-match-observations{display:grid;grid-template-columns:repeat(4,1fr) 1.8fr;gap:0;background:#163d31;color:white;border-radius:0 0 17px 17px;overflow:hidden}:where(.afma-v3) .v3-match-observations>div{padding:18px 16px;border-right:1px solid #ffffff16}:where(.afma-v3) .v3-match-stat-big{font-size:33px;font-weight:850;letter-spacing:-.065em;color:var(--v3-lime);line-height:1.2;display:block}:where(.afma-v3) .v3-match-stat-big span{font-size:18px;color:#e7f7dd}:where(.afma-v3) .v3-match-observations small{font-size:9px;font-weight:800;letter-spacing:.13em;color:#d0e0d0;line-height:1.5}:where(.afma-v3) .v3-inspect-btn{display:flex;justify-content:space-between;align-items:center;gap:10px;background:var(--v3-lime);border:0;color:#1b3a28;padding:16px;font-size:11px;font-weight:850}:where(.afma-v3) .v3-inspect-btn svg{width:17px;height:17px}:where(.afma-v3) .v3-match-table{border:1px solid #e0e9df;background:#fff;border-radius:0 0 13px 13px;margin:0}:where(.afma-v3) .v3-match-table th{font-size:9px!important;letter-spacing:.1em!important}:where(.afma-v3) .v3-match-table td{font-size:12px!important}:where(.afma-v3) .v3-table-caption{display:flex;justify-content:space-between;gap:15px;background:#f3f7f0;padding:16px 20px;margin-top:18px;border:1px solid #e0e9df;border-bottom:0;border-radius:13px 13px 0 0}:where(.afma-v3) .v3-table-caption span:first-child{font-size:10px;letter-spacing:.13em;font-weight:850}:where(.afma-v3) .v3-table-caption span:last-child{font-size:10px;color:#658173}:where(.afma-v3) .v3-outcome{font-size:10px;font-weight:800;color:#b55c47}:where(.afma-v3) .v3-row-open{border:0;background:transparent;color:#356a50;font-weight:850;font-size:11px}:where(.afma-v3) .v3-empty{border:1px dashed #b5d0be;padding:35px;background:#f9fbf7;border-radius:12px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;margin:16px 0}:where(.afma-v3) .v3-empty svg{width:28px;height:28px;color:#7da488}:where(.afma-v3) .v3-empty span{font-size:12px;color:#6d8272}:where(.afma-v3) .v3-pending{margin-top:10px;border:1px solid #e6d7bc;background:#fff9ed;border-radius:16px;padding:27px}:where(.afma-v3) .v3-pending-kicker{font-size:10px;letter-spacing:.18em;font-weight:850;color:#956c37}:where(.afma-v3) .v3-pending-row{display:flex;gap:18px;align-items:center;margin:20px 0}:where(.afma-v3) .v3-pending-icon{height:58px;width:58px;border:1px solid #ddcba7;background:#fff3d9;border-radius:13px;display:grid;place-items:center;flex:none;color:#926d3b}:where(.afma-v3) .v3-pending-icon svg{width:27px;height:27px}:where(.afma-v3) .v3-pending-row h3{font-size:25px;margin:0 0 8px;letter-spacing:-.055em}:where(.afma-v3) .v3-pending-row h3 span{font-size:14px;color:#7f8069;font-weight:500}:where(.afma-v3) .v3-pending-row p{font-size:13px;margin:0;color:#7c6b55}:where(.afma-v3) .v3-status-pending{border-radius:30px;padding:7px 10px;font-weight:800;font-size:9px;letter-spacing:.08em;background:#fff0d7;color:#89632b;white-space:nowrap}:where(.afma-v3) .v3-pending-foot{border-top:1px solid #eadbc2;padding-top:14px;font-size:11px;color:#796e5d}:where(.afma-v3) .v3-source-strip{border-radius:13px;background:#e1eee2;border:1px solid #d3e5d5;display:flex;gap:14px;padding:16px 19px;align-items:center;margin-top:18px}:where(.afma-v3) .v3-source-strip>svg{color:#41785c;min-width:22px}:where(.afma-v3) .v3-source-strip p{font-size:11px;color:#486c59;flex:1;margin:0}:where(.afma-v3) .v3-source-strip .v3-ghost-link{white-space:nowrap;font-size:11px}
/* 05 — dual-lane career chronology */
:where(.afma-v3) .v3-career-hero{min-height:275px}:where(.afma-v3) .v3-career-spark{min-width:300px;height:200px;position:relative;background:repeating-linear-gradient(90deg,#ffffff07 0 1px,transparent 1px 35px),repeating-linear-gradient(0deg,#ffffff08 0 1px,transparent 1px 40px);border-radius:10px}:where(.afma-v3) .v3-spark-line{position:absolute;inset:15px;background:linear-gradient(135deg,transparent 0 21%,#ceef83 21% 22%,transparent 22% 47%,#ceef83 47% 48%,transparent 48% 72%,#ceef83 72% 73%,transparent 73%);clip-path:polygon(0 85%,23% 65%,42% 75%,65% 35%,100% 11%,100% 85%)}:where(.afma-v3) .v3-career-spark span{position:absolute;color:#e4fad2;background:#143c30;padding:5px;border:1px solid #ffffff2e;border-radius:6px;font-size:10px;font-weight:780}:where(.afma-v3) .v3-spark-a{left:3%;bottom:5%}:where(.afma-v3) .v3-spark-b{left:54%;top:30%}:where(.afma-v3) .v3-spark-c{right:0;top:0}
:where(.afma-v3) .v3-career-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:23px 0 18px}:where(.afma-v3) .v3-career-toolbar>div:first-child{display:flex;flex-direction:column}:where(.afma-v3) .v3-career-toolbar strong{font-size:17px}:where(.afma-v3) .v3-career-toolbar small{font-size:11px;color:#718879}:where(.afma-v3) .v3-career-grid{display:grid;grid-template-columns:1.55fr .8fr;gap:17px;align-items:start}:where(.afma-v3) .v3-timeline{background:white;border:1px solid #e1e8dd;border-radius:18px;padding:27px 26px 28px}:where(.afma-v3) .v3-journey-item{display:grid;grid-template-columns:95px 20px 1fr;gap:12px;padding-bottom:31px;position:relative}:where(.afma-v3) .v3-journey-item:last-child{padding-bottom:0}:where(.afma-v3) .v3-journey-item:after{content:"";width:1px;position:absolute;top:30px;bottom:0;left:117px;background:#d8e4da}:where(.afma-v3) .v3-journey-item:last-child:after{display:none}:where(.afma-v3) .v3-journey-year{font-size:24px;font-weight:870;letter-spacing:-.06em;line-height:1.2}:where(.afma-v3) .v3-journey-year span{display:block;font-size:9px;color:#729278;letter-spacing:.13em;margin-top:5px}:where(.afma-v3) .v3-journey-dot{height:13px;width:13px;border-radius:50%;background:#bbeb85;border:3px solid #376b4a;margin-top:8px;z-index:1}:where(.afma-v3) .v3-journey-detail{min-width:0}:where(.afma-v3) .v3-journey-top{display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin:0 0 14px}:where(.afma-v3) .v3-journey-type{font-size:10px;color:#567864;letter-spacing:.09em;font-weight:850}:where(.afma-v3) .v3-journey-status{font-size:9px;background:#e5f5e7;color:#34704a;border-radius:5px;padding:6px 8px;font-weight:800}:where(.afma-v3) .v3-journey-detail h3{margin:0 0 9px;font-size:clamp(21px,2.1vw,29px);font-weight:830;letter-spacing:-.06em}:where(.afma-v3) .v3-journey-detail h3 span{color:#879c8b;font-weight:520;font-size:15px}:where(.afma-v3) .v3-journey-detail p{font-size:12px;color:#657e70;line-height:1.7;margin:0 0 12px}:where(.afma-v3) .v3-source-link{font-size:11px;color:#2c754d;font-weight:800;text-underline-offset:4px;display:inline-flex;min-height:34px;align-items:center}:where(.afma-v3) .v3-career-side{background:#13342a;color:#f3faee;border-radius:18px;overflow:hidden}:where(.afma-v3) .v3-career-side-top{padding:29px 27px 19px}:where(.afma-v3) .v3-career-side-top strong{display:block;font-size:30px;letter-spacing:-.065em;line-height:1.12;margin:14px 0}:where(.afma-v3) .v3-career-side-top strong em{font-style:normal;color:var(--v3-lime)}:where(.afma-v3) .v3-career-side-top p{color:#b8cebe;font-size:12px;line-height:1.7;margin:0}:where(.afma-v3) .v3-legend-row{display:flex;gap:17px;padding:14px 27px;background:#194335;font-size:10px;color:#cae5cb}:where(.afma-v3) .v3-legend-row span{display:flex;align-items:center;gap:8px}:where(.afma-v3) .v3-legend-color{width:9px;height:9px;border-radius:50%;background:#bde38a}:where(.afma-v3) .v3-legend-color.alt{background:#eec98d}:where(.afma-v3) .v3-career-checks{padding:20px 27px 8px}:where(.afma-v3) .v3-career-checks p{display:flex;align-items:start;gap:11px;font-size:11px;color:#d5e7d1;margin:0 0 17px}:where(.afma-v3) .v3-career-checks svg{width:17px;height:17px;color:var(--v3-lime)}:where(.afma-v3) .v3-career-checks .v3-wait svg{color:#eed49f}:where(.afma-v3) .v3-career-side .v3-linkbtn{margin:2px 27px 23px;color:var(--v3-lime)}:where(.afma-v3) .v3-career-records{border:1px solid #e0e7dd;background:white;border-radius:17px;margin-top:17px;overflow:hidden}:where(.afma-v3) .v3-records-title{padding:25px;display:flex;align-items:center;justify-content:space-between;gap:16px}:where(.afma-v3) .v3-records-title h3{font-size:25px;letter-spacing:-.045em;margin:0}:where(.afma-v3) .v3-record-item{display:grid;grid-template-columns:35px 1fr auto;gap:15px;align-items:start;padding:20px 25px;border-top:1px solid #e6ebe2}:where(.afma-v3) .v3-record-num{font-size:11px;color:#789280;font-weight:850}:where(.afma-v3) .v3-record-item strong{font-size:14px}:where(.afma-v3) .v3-record-item p{font-size:12px;color:#6e8174;max-width:800px;margin:7px 0 0}:where(.afma-v3) .v3-record-item>span:last-child{font-size:9px;color:#877039;background:#fdf4e4;padding:7px 8px;border-radius:5px;font-weight:800;white-space:nowrap}
/* 06 — professional introduction */
:where(.afma-v3) .v3-contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:17px;align-items:stretch}:where(.afma-v3) .v3-contact-brief{background:#112e29;border-radius:20px;color:#f9fdf1;padding:32px 30px;display:flex;flex-direction:column;min-height:650px;position:relative;overflow:hidden}:where(.afma-v3) .v3-contact-brief:after{content:"";position:absolute;right:-100px;top:-100px;width:380px;height:380px;border:1px solid #ffffff17;border-radius:50%;box-shadow:0 0 0 85px #ffffff08;pointer-events:none}:where(.afma-v3) .v3-contact-brief h3{font-size:clamp(35px,3.7vw,52px);letter-spacing:-.065em;line-height:1.09;font-weight:850;margin:24px 0 16px}:where(.afma-v3) .v3-contact-brief h3 em{color:var(--v3-lime);font-style:normal}:where(.afma-v3) .v3-contact-brief>div:first-child>p{font-size:13px;color:#bed4c4;line-height:1.8;max-width:440px}:where(.afma-v3) .v3-contact-flow{margin:25px 0 25px}:where(.afma-v3) .v3-contact-flow>div{display:flex;gap:16px;align-items:start;position:relative;padding-bottom:23px}:where(.afma-v3) .v3-contact-flow>div:last-child{padding-bottom:0}:where(.afma-v3) .v3-contact-flow>div:not(:last-child):after{content:"";position:absolute;top:35px;bottom:0;left:17px;border-left:1px solid #afcf9a58}:where(.afma-v3) .v3-contact-flow>div>span{width:35px;height:35px;border:1px solid #adcd9890;color:var(--v3-lime);border-radius:50%;display:grid;place-items:center;flex:none;font-size:11px;font-weight:850}:where(.afma-v3) .v3-contact-flow strong{font-size:13px;display:block;margin:2px 0}:where(.afma-v3) .v3-contact-flow small{font-size:11px;color:#aac2b2}:where(.afma-v3) .v3-confidential{display:flex;gap:11px;padding:17px 16px;background:#204b3b;border-radius:11px;margin-top:auto}:where(.afma-v3) .v3-confidential svg{width:23px;height:23px;color:var(--v3-lime)}:where(.afma-v3) .v3-confidential strong{font-size:11px;display:block}:where(.afma-v3) .v3-confidential small{font-size:10px;display:block;color:#c1dac4;line-height:1.6;margin-top:5px}
:where(.afma-v3) .v3-contact-form-wrap{background:#fff;border:1px solid #dee7dc;padding:34px;border-radius:20px}:where(.afma-v3) .v3-form-heading{padding-bottom:22px;border-bottom:1px solid #e6ece4}:where(.afma-v3) .v3-form-heading h3{font-size:clamp(26px,3vw,37px);letter-spacing:-.055em;margin:0 0 7px}:where(.afma-v3) .v3-form-heading p{font-size:12px;color:#6d8173;margin:0}:where(.afma-v3) .v3-form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:23px}:where(.afma-v3) .v3-form-field{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:800;color:#365745}:where(.afma-v3) .v3-form-field>span{color:#b95c49;display:inline}:where(.afma-v3) .v3-form-field input,
:where(.afma-v3) .v3-form-field select,
:where(.afma-v3) .v3-form-field textarea{color:#17372c;border:1px solid #cbdccd;background:#f8faf6;border-radius:9px;padding:14px 13px;min-height:49px;font-size:13px;font-family:inherit;font-weight:450;width:100%;resize:vertical}:where(.afma-v3) .v3-form-field textarea{min-height:155px;line-height:1.55}:where(.afma-v3) .v3-form-field input:focus,
:where(.afma-v3) .v3-form-field textarea:focus,
:where(.afma-v3) .v3-form-field select:focus{background:#fff;border-color:#78ad8c}:where(.afma-v3) .v3-message-field{margin-top:18px}:where(.afma-v3) .v3-contact-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:11px 0 21px}:where(.afma-v3) .v3-contact-bottom span{font-size:10px;color:#6e8273;display:flex;align-items:center;gap:5px}:where(.afma-v3) .v3-contact-bottom svg{width:14px;height:14px}:where(.afma-v3) .v3-contact-bottom strong{color:#234a36}:where(.afma-v3) .v3-consent{display:flex;gap:12px;align-items:start;background:#f1f6ef;border:1px solid #dfebdb;border-radius:10px;padding:13px 14px;color:#526e5b;font-size:11px;line-height:1.65;cursor:pointer}:where(.afma-v3) .v3-consent input{accent-color:#124e38;width:18px;height:18px;flex:none;margin:2px 0}:where(.afma-v3) .v3-submit{width:100%;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 20px;background:#143f30;color:#dcf8b1;border-radius:10px;border:0;font-size:13px;font-weight:850;min-height:53px;margin-top:20px}:where(.afma-v3) .v3-submit:hover{background:#24563f}:where(.afma-v3) .v3-submit svg{width:18px;height:18px}:where(.afma-v3) .v3-form-feedback{font-size:12px;color:#286643;border-left:3px solid #89bb7c;background:#e7f6e6;padding:12px;margin:14px 0 0}:where(.afma-v3) .v3-form-tail{margin-top:19px;display:flex;align-items:center;gap:9px;color:#829387;font-size:10px}:where(.afma-v3) .v3-form-tail svg{width:15px;height:15px}
/* Modal dialogs */
:where(.afma-v3) .v3-modal{max-width:min(780px,calc(100vw - 26px));width:100%;max-height:90vh;border:0;border-radius:18px;padding:0;background:#fff;box-shadow:0 30px 110px #001b12a8;color:#143329;overflow:auto}:where(.afma-v3) .v3-modal::backdrop{background:#001810b9;backdrop-filter:blur(5px)}:where(.afma-v3) .v3-modal-banner{background:radial-gradient(circle at 70% 20%,#486943,#112d27 69%);color:white;min-height:205px;padding:25px 30px;display:flex;flex-direction:column;justify-content:space-between}:where(.afma-v3) .v3-modal-banner span{font-size:10px;letter-spacing:.14em;font-weight:850;color:#d5ecbc}:where(.afma-v3) .v3-modal-banner h2{color:#f4fbea;font-size:clamp(29px,4vw,47px);letter-spacing:-.06em;line-height:1.1;margin:18px 0 0}:where(.afma-v3) .v3-modal-inner{padding:26px 30px 28px}:where(.afma-v3) .v3-modal-inner p{font-size:13px;line-height:1.75;color:#5c7262}:where(.afma-v3) .v3-modal-inner strong{color:#193d2e}:where(.afma-v3) .v3-modal-controls{display:flex;gap:10px;justify-content:space-between;align-items:center;flex-wrap:wrap;border-top:1px solid #e2eadf;margin-top:18px;padding-top:18px}:where(.afma-v3) .v3-modal-button{background:#163c2e;color:#d7f6b2;border:0;border-radius:8px;padding:12px 16px;font-size:12px;font-weight:850;min-height:43px}:where(.afma-v3) .v3-modal-button.alt{background:#e9f1e6;color:#214b35}:where(.afma-v3) .v3-modal-button[disabled]{opacity:.4;cursor:default}:where(.afma-v3) .v3-modal-close{position:absolute;right:15px;top:15px;background:#ffffff24;color:#fff;border:1px solid #ffffff7a;border-radius:50%;height:36px;width:36px;font-size:24px;line-height:1;cursor:pointer}:where(.afma-v3) .v3-modal-header{font-size:10px;color:#779180;letter-spacing:.15em;font-weight:850}:where(.afma-v3) .v3-modal-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:19px}:where(.afma-v3) .v3-modal-metrics>div{padding:15px;background:#edf4e9;border-radius:10px}:where(.afma-v3) .v3-modal-metrics strong{display:block;font-size:25px;letter-spacing:-.06em}:where(.afma-v3) .v3-modal-metrics span{font-size:10px;color:#698071}:where(.afma-v3) .v3-contact-preview{background:#f1f5ee;border-radius:10px;padding:15px;margin-top:13px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.6}
/* Fill original old sidebar by giving narrative panels full width, matching Stats V2. */
:where(.afma-v3) .bodygrid:has(.v3-panel:not([hidden])){grid-template-columns:minmax(0,1fr)}:where(.afma-v3) .bodygrid:has(.v3-panel:not([hidden])) aside.side{display:none}
@media (max-width:1150px){:where(.afma-v3) .v3-media-grid{grid-template-columns:1.2fr 1fr;grid-auto-rows:minmax(225px,auto)}:where(.afma-v3) .v3-media-lead{grid-row:span 2}:where(.afma-v3) .v3-media-video{grid-column:auto}:where(.afma-v3) .v3-media-grid .v3-media:last-child{grid-column:span 2;min-height:235px}:where(.afma-v3) .v3-match-observations{grid-template-columns:repeat(4,1fr)}:where(.afma-v3) .v3-inspect-btn{grid-column:span 4;min-height:53px}}
@media(max-width:900px){:where(.afma-v3) .v3-overview-hero{grid-template-columns:1fr 1fr}:where(.afma-v3) .v3-overview-story{padding:27px}:where(.afma-v3) .v3-overview-pitch{padding:16px}:where(.afma-v3) .v3-overview-rail{grid-template-columns:repeat(3,1fr)}:where(.afma-v3) .v3-rail-intro{grid-column:span 3;min-height:75px}:where(.afma-v3) .v3-split-story{grid-template-columns:1fr 1fr}:where(.afma-v3) .v3-contact-grid{grid-template-columns:1fr}:where(.afma-v3) .v3-contact-brief{min-height:0}:where(.afma-v3) .v3-contact-flow{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}:where(.afma-v3) .v3-contact-flow>div:not(:last-child):after{display:none}:where(.afma-v3) .v3-career-grid{grid-template-columns:1fr}:where(.afma-v3) .v3-career-side{display:grid;grid-template-columns:1fr 1fr}:where(.afma-v3) .v3-career-side .v3-linkbtn{margin-top:5px}:where(.afma-v3) .v3-career-spark{min-width:200px}}
@media(max-width:680px){:where(.afma-v3) .v3-panel{padding-top:23px}:where(.afma-v3) .v3-section-top{display:block;padding-bottom:19px}:where(.afma-v3) .v3-title{font-size:clamp(34px,8.3vw,49px)!important}:where(.afma-v3) .v3-deck{font-size:13px}:where(.afma-v3) .v3-outline-tag{margin:14px 0 0}:where(.afma-v3) .v3-overview-hero{grid-template-columns:1fr}:where(.afma-v3) .v3-overview-story{min-height:390px;padding:25px 22px}:where(.afma-v3) .v3-dossier-no{font-size:90px;margin-top:18px}:where(.afma-v3) .v3-overview-story h3{font-size:39px}:where(.afma-v3) .v3-overview-pitch{padding:18px 14px 20px}:where(.afma-v3) .v3-overview-pitch svg{max-height:260px}:where(.afma-v3) .v3-overview-rail{grid-template-columns:repeat(3,minmax(0,1fr))}:where(.afma-v3) .v3-rail-intro{padding:14px 18px}:where(.afma-v3) .v3-rail-intro strong{font-size:21px}:where(.afma-v3) .v3-rail-stat{padding:14px 12px}:where(.afma-v3) .v3-rail-stat b{font-size:32px}:where(.afma-v3) .v3-rail-stat b span{font-size:15px}:where(.afma-v3) .v3-rail-stat small{font-size:9px}:where(.afma-v3) .v3-split-story{grid-template-columns:1fr}:where(.afma-v3) .v3-story-note,
:where(.afma-v3) .v3-quality-card{padding:24px 20px}:where(.afma-v3) .v3-evidence-list>div{grid-template-columns:22px 1fr auto;gap:8px}:where(.afma-v3) .v3-evidence-list b{font-size:8px}:where(.afma-v3) .v3-gallery-intro{padding:27px 22px;align-items:start}:where(.afma-v3) .v3-gallery-counter{min-width:60px}:where(.afma-v3) .v3-gallery-counter strong{font-size:62px}:where(.afma-v3) .v3-gallery-counter span{font-size:8px}:where(.afma-v3) .v3-gallery-intro h3{font-size:38px}:where(.afma-v3) .v3-filter-bar{align-items:start;flex-direction:column}:where(.afma-v3) .v3-filter-pills{gap:6px}:where(.afma-v3) .v3-media-grid{grid-template-columns:1fr 1fr;grid-auto-rows:230px;gap:10px}:where(.afma-v3) .v3-media-lead{grid-column:span 2;grid-row:span 1;min-height:300px}:where(.afma-v3) .v3-media-video{grid-column:span 2}:where(.afma-v3) .v3-media-grid .v3-media:last-child{grid-column:span 2;min-height:200px}:where(.afma-v3) .v3-media-glass{padding:15px}:where(.afma-v3) .v3-media-glass strong{font-size:20px}:where(.afma-v3) .v3-media-line{font-size:8px}:where(.afma-v3) .v3-media-meta{font-size:10px}:where(.afma-v3) .v3-media-footer{align-items:start;flex-direction:column}:where(.afma-v3) .v3-match-head,
:where(.afma-v3) .v3-career-hero{padding:27px 22px;min-height:0}:where(.afma-v3) .v3-match-head h3,
:where(.afma-v3) .v3-career-hero h3{font-size:41px}:where(.afma-v3) .v3-match-graphic,
:where(.afma-v3) .v3-career-spark{display:none}:where(.afma-v3) .v3-match-tools{padding:14px;align-items:stretch}:where(.afma-v3) .v3-match-filter{width:100%}:where(.afma-v3) .v3-smallfield{flex:1}:where(.afma-v3) .v3-smallfield input{width:100%}:where(.afma-v3) .v3-date-line{flex-direction:column;align-items:start;gap:2px}:where(.afma-v3) .v3-scoreboard{padding:22px 11px;grid-template-columns:1fr 1.2fr 1fr;min-height:195px}:where(.afma-v3) .v3-team-avatar{width:44px;height:44px;font-size:24px}:where(.afma-v3) .v3-team strong{font-size:11px;line-height:1.2}:where(.afma-v3) .v3-score strong{font-size:51px}:where(.afma-v3) .v3-score>span{font-size:8px;line-height:1.6}:where(.afma-v3) .v3-match-observations{grid-template-columns:repeat(2,1fr)}:where(.afma-v3) .v3-match-observations>div{padding:15px}:where(.afma-v3) .v3-inspect-btn{grid-column:span 2}:where(.afma-v3) .v3-table-caption{flex-direction:column;gap:4px}:where(.afma-v3) .v3-match-table{overflow-x:auto}:where(.afma-v3) .v3-match-table table{min-width:680px}:where(.afma-v3) .v3-pending{padding:21px 16px}:where(.afma-v3) .v3-pending-row{flex-wrap:wrap}:where(.afma-v3) .v3-pending-row h3{font-size:23px}:where(.afma-v3) .v3-source-strip{align-items:start;flex-wrap:wrap}:where(.afma-v3) .v3-source-strip .v3-ghost-link{margin-left:35px}:where(.afma-v3) .v3-career-toolbar{display:block}:where(.afma-v3) .v3-career-toolbar .v3-filter-pills{margin-top:14px}:where(.afma-v3) .v3-timeline{padding:23px 15px}:where(.afma-v3) .v3-journey-item{grid-template-columns:66px 14px 1fr;gap:8px}:where(.afma-v3) .v3-journey-item:after{left:81px}:where(.afma-v3) .v3-journey-year{font-size:17px}:where(.afma-v3) .v3-journey-detail h3{font-size:22px}:where(.afma-v3) .v3-journey-detail h3 span{display:block;font-size:12px}:where(.afma-v3) .v3-journey-top{margin-bottom:9px}:where(.afma-v3) .v3-journey-status{font-size:8px}:where(.afma-v3) .v3-career-side{display:block}:where(.afma-v3) .v3-records-title{padding:19px 17px}:where(.afma-v3) .v3-record-item{padding:17px 15px;grid-template-columns:22px 1fr;gap:9px}:where(.afma-v3) .v3-record-item>span:last-child{grid-column:2;justify-self:start}:where(.afma-v3) .v3-contact-form-wrap{padding:25px 18px}:where(.afma-v3) .v3-form-row{grid-template-columns:1fr}:where(.afma-v3) .v3-contact-flow{grid-template-columns:1fr}:where(.afma-v3) .v3-contact-bottom{flex-wrap:wrap}:where(.afma-v3) .v3-modal-metrics{grid-template-columns:repeat(3,1fr)}:where(.afma-v3) .v3-modal-inner{padding:19px}:where(.afma-v3) .v3-modal-banner{padding:20px;min-height:175px}}
@media(max-width:365px){:where(.afma-v3) .v3-dossier-no{font-size:72px}:where(.afma-v3) .v3-overview-story h3{font-size:33px}:where(.afma-v3) .v3-gallery-intro{flex-direction:column}:where(.afma-v3) .v3-gallery-counter{flex-direction:row;align-items:center}:where(.afma-v3) .v3-media-grid{grid-template-columns:1fr}:where(.afma-v3) .v3-media,
:where(.afma-v3) .v3-media-lead,
:where(.afma-v3) .v3-media-video,
:where(.afma-v3) .v3-media-grid .v3-media:last-child{grid-column:1;min-height:235px}:where(.afma-v3) .v3-match-head h3{font-size:35px}:where(.afma-v3) .v3-subnav-button{font-size:10px;padding:8px}:where(.afma-v3) .v3-team-avatar{width:36px;height:36px}:where(.afma-v3) .v3-score strong{font-size:39px}:where(.afma-v3) .v3-team strong{font-size:10px}:where(.afma-v3) .v3-journey-item{grid-template-columns:55px 13px 1fr}:where(.afma-v3) .v3-journey-item:after{left:67px}}
@media(prefers-reduced-motion:reduce){:where(.afma-v3) .v3-panel *,
:where(.afma-v3) .v3-panel *:before,
:where(.afma-v3) .v3-panel *:after,
:where(.afma-v3) .v3-modal *{animation-duration:.01ms!important;transition:none!important;scroll-behavior:auto!important}}
@media print{:where(.afma-v3) .v3-panel .v3-filter-pills,
:where(.afma-v3) .v3-panel button,
:where(.afma-v3) .v3-modal{display:none!important}:where(.afma-v3) .v3-panel [hidden]{display:none!important}:where(.afma-v3) .v3-overview-hero,
:where(.afma-v3) .v3-match-head,
:where(.afma-v3) .v3-career-hero,
:where(.afma-v3) .v3-contact-brief{print-color-adjust:exact;-webkit-print-color-adjust:exact}:where(.afma-v3) .v3-panel{page-break-inside:auto}:where(.afma-v3) .v3-story-note,
:where(.afma-v3) .v3-quality-card,
:where(.afma-v3) .v3-career-records,
:where(.afma-v3) .v3-journey-item{break-inside:avoid}}

/* V3 visual inspection corrections: mobile provenance layout and form label alignment. */
:where(.afma-v3) .v3-form-field{display:block}:where(.afma-v3) .v3-form-field>input,
:where(.afma-v3) .v3-form-field>select,
:where(.afma-v3) .v3-form-field>textarea{display:block;margin-top:8px}
@media(max-width:680px){:where(.afma-v3) .v3-source-strip{display:grid;grid-template-columns:25px minmax(0,1fr);gap:8px 11px;align-items:start}:where(.afma-v3) .v3-source-strip>svg{grid-column:1;grid-row:1}:where(.afma-v3) .v3-source-strip p{grid-column:2;grid-row:1;min-width:0}:where(.afma-v3) .v3-source-strip .v3-ghost-link{grid-column:2;grid-row:2;margin-left:0;white-space:normal}}
/* Real-browser QA fix: mobile open nav must never prevent the menu button being closed. */
@media(max-width:720px){:where(.afma-v3) .header .headright{position:relative;z-index:60}:where(.afma-v3) .header .menu-btn{position:relative;z-index:61}:where(.afma-v3) .header .nav.open{z-index:40}}


.afma-v3:not(.afma-v3-ready) main{visibility:hidden}
/* Integrated AFMA Draft brand and App Shell alignment. */
.afma-v3{
 --ink:#08120d;--pine:#0b2117;--forest:#0d281c;--olive:#b9f35a;--gold:#e3bd70;
 --paper:#f4f5f0;--white:#fff;--mist:#e9ede7;--line:#d5dbd4;--muted:#595959;
 --v3-black:#08120d;--v3-deep:#0b2117;--v3-ink:#08120d;--v3-lime:#b9f35a;
 --v3-cream:#f4f5f0;--v3-line:#d5dbd4;--v3-muted:#595959;--v3-gold:#e3bd70;
 width:100%;min-width:0;overflow-x:clip;isolation:isolate;color:var(--ink);background:var(--paper);
 padding-block:12px 48px;font-family:var(--font-inter),Inter,system-ui,sans-serif;
}
.afma-v3 .wrap{width:min(100%,1430px);margin-inline:auto;padding-inline:clamp(15px,2.5vw,36px);}
.afma-v3 .breadcrumb{font-size:12px;color:#51665a}
.afma-v3 .breadcrumb a{color:var(--green);font-weight:650}
.afma-v3 h1,.afma-v3 h2,.afma-v3 h3,.afma-v3 h4{font-family:var(--font-inter),Inter,system-ui,sans-serif}
.afma-v3 .tabs button[aria-selected="true"]{background:var(--ink);color:var(--lime)}
.afma-v3 .btn.primary{background:var(--lime);border-color:var(--lime);color:var(--ink)}
.afma-v3 .btn.outline{border-color:#aac9a7;color:#eefbe7}
.afma-v3 .v3-outline-tag{border-color:color-mix(in srgb,var(--draft) 28%,var(--line))}
.afma-v3 .v3-pip,.afma-v3 .live-dot,.afma-v3 .pulse{background:var(--lime)}
.afma-v3 .mode-btn.is-current,.afma-v3 .preset.chosen{background:var(--ink);border-color:var(--ink)}
.afma-v3 .kpi-primary{background:var(--lime)}
.afma-v3 .score-value,.afma-v3 .v3-gallery-counter strong{color:var(--lime)}
.afma-v3 .comp-pill.selected{background:color-mix(in srgb,var(--lime) 22%,white);border-color:#93b858}
.afma-v3 .analysis-switchboard,.afma-v3 .analysis-card,.afma-v3 .panel{border-color:var(--line)}
.afma-v3 .bodygrid{padding-top:2px}
.afma-v3 .v3-return{min-height:44px;display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--green);font-weight:700}
.afma-v3 .v3-return:focus-visible{outline:3px solid var(--draft);outline-offset:3px}
.afma-v3 .tabs{top:72px;scroll-margin-top:84px}
.afma-v3 .tabpanel{scroll-margin-top:164px}
.afma-v3 :is(button,a,input,textarea,select):focus-visible{outline:3px solid var(--draft);outline-offset:3px}
.afma-v3 .dialog,.afma-v3 .v3-modal{max-width:min(92vw,720px)}
.afma-v3 .dialog::backdrop,.afma-v3 .v3-modal::backdrop{background:rgba(3,14,9,.74)}
@media(max-width:720px){
 .afma-v3 .tabs{top:60px;overscroll-behavior-inline:contain}
 .afma-v3 .tabpanel{scroll-margin-top:136px}
 .afma-v3 .wrap{padding-inline:15px}
 .afma-v3 .bodygrid{display:grid;grid-template-columns:minmax(0,1fr)}
 .afma-v3 .hero{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:420px){
 .afma-v3 .wrap{padding-inline:12px}
 .afma-v3 .tabs button{min-height:44px}
}
@media(prefers-reduced-motion:reduce){
 .afma-v3 *,.afma-v3 *::before,.afma-v3 *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}
/* Mobile geometry QA: grid content must never establish a wider min-content viewport. */
.afma-v3{max-width:100%;box-sizing:border-box}
.afma-v3 .afma-v3-content{width:100%;max-width:100%;min-width:0}
.afma-v3 main.wrap{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.afma-v3 .hero,.afma-v3 .portrait,.afma-v3 .intro,.afma-v3 .bodygrid,.afma-v3 .work,.afma-v3 .tabpanel{
 width:100%;max-width:100%;min-width:0;box-sizing:border-box
}
.afma-v3 .hero-data,.afma-v3 .metrics,.afma-v3 .statsbox{max-width:100%;min-width:0}
.afma-v3 .intro :is(h1,p,span,div),.afma-v3 .warning-hero{overflow-wrap:anywhere}
.afma-v3 .actions{max-width:100%;flex-wrap:wrap}
.afma-v3 .tabs{max-width:100%;min-width:0}
@media(max-width:720px){
 .afma-v3 .hero{display:grid;grid-template-columns:minmax(0,1fr)!important;overflow:hidden}
 .afma-v3 .portrait,.afma-v3 .intro{grid-column:1;min-width:0}
 .afma-v3 .intro{padding-inline:clamp(16px,5vw,23px)!important}
 .afma-v3 .hero-data{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 .afma-v3 .hero-data>div{min-width:0;padding-right:5px}
 .afma-v3 .hero-data .n{font-size:clamp(20px,6vw,26px)}
 .afma-v3 .subline{display:flex;flex-wrap:wrap;min-width:0}
 .afma-v3 .actions>.btn{flex:1 1 130px;max-width:100%;white-space:normal;text-align:center}
 .afma-v3 .bodygrid{grid-template-columns:minmax(0,1fr);gap:18px}
 .afma-v3 .side{display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:100%}
 .afma-v3 .tabs{overflow-x:auto;scrollbar-width:thin}
 .afma-v3 .wrap{width:100%;max-width:100%;padding-inline:clamp(12px,4vw,16px)}
}
@media(max-width:420px){
 .afma-v3 .intro h1{font-size:clamp(34px,10vw,40px)}
 .afma-v3 .warning-hero{display:flex;max-width:100%;min-width:0;white-space:normal}
 .afma-v3 .v3-overview-rail,.afma-v3 .mode-select,.afma-v3 .score-feature{min-width:0;max-width:100%}
}

.afma-v3 .v3-preview-banner{display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.55}
.afma-v3 .v3-preview-banner a{display:inline;white-space:normal;text-decoration:underline;text-underline-offset:3px;color:var(--green)}

/* Premium V3 QA refinement — denser hero, accessible cards, proportional editorial rhythm. */
.afma-v3{--v3-ui-text:#385247;--v3-strong:#0b2319}
.afma-v3 .hero{grid-template-columns:minmax(220px,24%) minmax(0,1fr);min-height:0}
.afma-v3 .portrait{min-height:330px;max-height:380px;height:100%;display:flex}
.afma-v3 .portrait-art{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0;overflow:hidden}
.afma-v3 .portrait-art img.afma-portrait-image{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;position:absolute!important;inset:0;z-index:1;display:block}
.afma-v3 .portrait-art .afma-photo-caption{position:absolute;z-index:2;bottom:8px;left:8px;right:8px;margin:0;padding:6px 9px;border-radius:8px;background:rgba(4,24,17,.82);max-width:none;color:#ecf8ef;font-size:11px;text-align:center}
.afma-v3 .portrait-art .monogram{font-size:clamp(65px,8vw,105px)}
.afma-v3 .portrait-foot{gap:8px;flex-wrap:wrap;padding:10px 15px}
.afma-v3 .intro{display:flex;flex-direction:column;justify-content:center;padding:clamp(20px,2.6vw,34px)}
.afma-v3 .intro h1{font-size:clamp(30px,3.4vw,52px);letter-spacing:-.055em;line-height:1.08;max-width:100%;overflow-wrap:anywhere;margin-block:11px}
.afma-v3 .intro h1.is-long-name{font-size:clamp(27px,3vw,43px);letter-spacing:-.048em}
.afma-v3 .hero-data{margin-block:16px 12px}
.afma-v3 .hero-data .n{font-size:clamp(23px,2.7vw,36px)}
.afma-v3 .eyebrow,.afma-v3 .v3-white-kicker,.afma-v3 .v3-eyebrow{letter-spacing:.08em}
.afma-v3 .warning-hero{max-width:100%;font-size:12px;line-height:1.6}
.afma-v3 .actions{gap:9px;margin-top:13px}
.afma-v3 .actions .btn{min-height:42px;font-size:12px;letter-spacing:.02em}
.afma-v3 .tabs{box-shadow:0 6px 28px rgba(9,31,20,.055);gap:4px}
.afma-v3 .tabs button{min-height:44px;font-size:13px;padding-inline:15px}
.afma-v3 .v3-section-top{margin-block:22px 20px}
.afma-v3 .v3-section-top h2{font-size:clamp(30px,4vw,52px);line-height:1.08}
.afma-v3 .v3-section-top .v3-deck{font-size:14px;line-height:1.65}
.afma-v3 .tabpanel{margin-bottom:14px}
.afma-v3 .v3-overview-story h3{font-size:clamp(28px,3vw,46px)}
.afma-v3 .v3-overview-pitch svg{max-height:260px}
.afma-v3 .v3-media-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;align-items:stretch;gap:16px}
.afma-v3 .v3-media-grid .v3-media{grid-row:auto;grid-column:auto;min-height:240px;max-height:310px;aspect-ratio:1.12;display:flex;flex-direction:column;justify-content:end;box-shadow:none;cursor:pointer;background:linear-gradient(145deg,#173c2d,#0d241b)}
.afma-v3 .v3-media-grid .v3-media-lead{aspect-ratio:1;min-height:280px;max-height:320px}
.afma-v3 .v3-media-grid .v3-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.afma-v3 .v3-media-grid .v3-media:hover img{transform:scale(1.035)}
.afma-v3 .v3-media-grid .v3-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(1,17,12,.83) 100%);pointer-events:none}
.afma-v3 .v3-media-grid .v3-media-info{position:relative;z-index:2;padding:18px;display:flex;flex-direction:column;gap:6px;font-size:12px;color:#e3f2e7}
.afma-v3 .v3-media-grid .v3-media-info strong{font-size:17px;color:#fff;line-height:1.25}
.afma-v3 .v3-media-grid .v3-media-icon{position:relative;z-index:2;align-self:flex-start;margin:18px;width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:var(--lime);color:var(--ink);font-size:24px}
.afma-v3 .v3-media-grid .v3-media:not(:has(img)){background:linear-gradient(135deg,#174a3c,#0b2117);outline:1px solid #426c57;outline-offset:-1px}
.afma-v3 .v3-media-grid .v3-media:focus-visible{outline:3px solid var(--draft);outline-offset:3px}
.afma-v3 .v3-media-grid .v3-media-empty{grid-column:1/-1;min-height:185px;border:1px dashed #9ab9a4;border-radius:18px;background:#eff4ec;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;padding:30px;text-align:center;color:var(--ink)}
.afma-v3 .v3-media-grid .v3-media-empty strong{font-size:21px}
.afma-v3 .v3-career-hero{min-height:0;padding:clamp(22px,3vw,32px)}
.afma-v3 .v3-career-hero h3{font-size:clamp(30px,4vw,48px)}
.afma-v3 .v3-career-spark{min-width:0;min-height:0;font-size:14px;letter-spacing:.08em;text-align:center;max-width:35%}
.afma-v3 .v3-career-grid{grid-template-columns:minmax(0,1.55fr) minmax(260px,.8fr)}
.afma-v3 .v3-career-side{height:auto;min-height:0}
.afma-v3 .v3-contact-grid{align-items:start;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
.afma-v3 .v3-contact-brief{min-height:0;padding:clamp(22px,3vw,32px);gap:23px}
.afma-v3 .v3-contact-brief h3{font-size:clamp(30px,3.8vw,45px);margin:12px 0}
.afma-v3 .v3-contact-flow{margin-top:0;gap:14px}
.afma-v3 .v3-confidential{margin-top:0}
.afma-v3 .v3-contact-form-wrap{min-height:0}
.afma-v3 .v3-form-field input,.afma-v3 .v3-form-field select,.afma-v3 .v3-form-field textarea{font-size:14px;min-height:46px}
@media(max-width:900px){
 .afma-v3 .hero{grid-template-columns:minmax(185px,30%) minmax(0,1fr)}
 .afma-v3 .v3-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .afma-v3 .v3-career-grid,.afma-v3 .v3-contact-grid{grid-template-columns:minmax(0,1fr)}
 .afma-v3 .v3-contact-brief{min-height:0}
}
@media(max-width:720px){
 .afma-v3 .hero{grid-template-columns:minmax(0,1fr)}
 .afma-v3 .portrait{height:260px;min-height:230px;max-height:280px}
 .afma-v3 .intro h1,.afma-v3 .intro h1.is-long-name{font-size:clamp(28px,8vw,38px)}
 .afma-v3 .v3-media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .afma-v3 .v3-media-grid .v3-media,.afma-v3 .v3-media-grid .v3-media-lead{aspect-ratio:.9;min-height:205px;max-height:none}
 .afma-v3 .v3-media-grid .v3-media-info{padding:10px;gap:4px}
 .afma-v3 .v3-media-grid .v3-media-info strong{font-size:14px}
 .afma-v3 .v3-media-grid .v3-media-icon{margin:12px;width:40px;height:40px;font-size:19px}
 .afma-v3 .v3-career-spark{display:none}
 .afma-v3 .v3-career-hero{min-height:0}
}
@media(max-width:390px){
 .afma-v3 .v3-media-grid{grid-template-columns:minmax(0,1fr)}
 .afma-v3 .v3-media-grid .v3-media,.afma-v3 .v3-media-grid .v3-media-lead{aspect-ratio:1.25;min-height:215px}
}

/* Mobile portrait artwork: keep the initials or partner image visible, not cut by caption. */
@media(max-width:720px){
 .afma-v3 .portrait{height:294px!important;min-height:294px!important;max-height:none!important}
 .afma-v3 .portrait-art{flex:1 1 auto;min-height:165px;max-height:none;justify-content:center;padding-block:4px 30px}
 .afma-v3 .portrait-art .monogram{font-size:clamp(64px,17vw,84px);line-height:1;letter-spacing:-.06em;margin-left:0}
 .afma-v3 .portrait-art .afma-photo-caption{bottom:3px;font-size:10px}
 .afma-v3 .portrait-foot{padding-block:9px;font-size:11px}
 .afma-v3 .photo-pill{margin:14px;font-size:10px}
}

/* AFMA V3 — full-bleed portrait; badges float over the image, never reserve rows. */
.afma-v3 .hero{gap:0;align-items:stretch;overflow:hidden}
.afma-v3 .portrait{position:relative;display:block;padding:0;margin:0;overflow:hidden;height:100%;max-height:none;min-width:0;isolation:isolate}
.afma-v3 .portrait-art{position:absolute!important;inset:0!important;width:100%;height:100%;min-height:100%;max-height:none!important;margin:0!important;padding:0!important;display:grid;place-items:center;overflow:hidden;z-index:1}
.afma-v3 .portrait-art img.afma-portrait-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;display:block;margin:0!important;border-radius:0}
.afma-v3 .portrait-art .monogram{position:relative;z-index:0;margin:0;letter-spacing:-.06em}
.afma-v3 .photo-pill{position:relative;z-index:3;display:inline-flex;margin:15px;max-width:calc(100% - 30px)}
.afma-v3 .portrait-foot{position:absolute;z-index:3;left:0;right:0;bottom:0;display:flex;gap:8px;flex-wrap:wrap;padding:14px 16px;background:linear-gradient(0deg,rgba(4,24,17,.92),rgba(4,24,17,.70));backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.afma-v3 .portrait-art .afma-photo-caption{position:absolute;z-index:2;left:10px;right:10px;bottom:72px;margin:0;max-width:none}
.afma-v3 .portrait:before,.afma-v3 .portrait:after{pointer-events:none}
@media(max-width:720px){
 .afma-v3 .portrait{height:294px!important;min-height:294px!important;max-height:none!important}
 .afma-v3 .portrait-art{inset:0!important;padding:0!important;min-height:100%!important}
 .afma-v3 .photo-pill{margin:12px}
 .afma-v3 .portrait-foot{padding:10px 12px}
 .afma-v3 .portrait-art .afma-photo-caption{bottom:64px}
}


/* AFMA PREMIUM V3.1 — WCAG contrast, content density, adaptive media and match cards */
.afma-v3 .v3-deck{color:#52685e}
.afma-v3 .competition-table th{color:#526c59;font-size:11px}
.afma-v3 .v3-form-heading p,.afma-v3 .v3-contact-bottom span{color:#506855;font-size:12px}
.afma-v3 .v3-career-toolbar small{color:#516b5a;font-size:12px}
.afma-v3 .v3-eyebrow,.afma-v3 .v3-white-kicker,.afma-v3 .v3-dark-eyebrow,.afma-v3 .v3-rail-overline{font-size:11px;letter-spacing:.09em}
.afma-v3 .v3-section-top{gap:16px;padding-bottom:15px;margin-block:14px 12px;align-items:center}
.afma-v3 .v3-section-top h2,.afma-v3 .v3-title{font-size:clamp(28px,3.25vw,48px);line-height:1.12}
.afma-v3 .v3-section-top .v3-deck{font-size:14px;line-height:1.6}
.afma-v3 .v3-gallery-intro{padding:clamp(24px,3vw,36px);min-height:0}
.afma-v3 .v3-gallery-intro h3{font-size:clamp(25px,3vw,40px)}
.afma-v3 .analytics-hero{min-height:0;padding:clamp(24px,3vw,36px)}
.afma-v3 .v3-match-head,.afma-v3 .v3-career-hero{min-height:0;padding:clamp(22px,3vw,35px)}
.afma-v3 .v3-match-head h3,.afma-v3 .v3-career-hero h3{font-size:clamp(28px,3vw,43px)}
.afma-v3 .v3-match-graphic{min-height:0}
.afma-v3 .v3-match-pill-group{gap:7px;flex-wrap:wrap}
.afma-v3 .v3-match-pill-group span{font-size:11px}
.afma-v3 .v3-media-grid.is-single{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:stretch}
.afma-v3 .v3-media-grid.is-single .v3-media{width:100%;height:auto;min-height:290px;max-height:390px;aspect-ratio:auto}
.afma-v3 .afma-media-context{background:#fff;border:1px solid #d5dbd4;border-radius:17px;padding:clamp(20px,3vw,33px);min-width:0;display:flex;flex-direction:column;justify-content:center;gap:14px}
.afma-v3 .afma-media-context h3{font-size:clamp(22px,2.5vw,32px);line-height:1.16;letter-spacing:-.04em;margin:0;color:#081c13}
.afma-v3 .afma-media-context p{font-size:14px;line-height:1.6;color:#52685e;margin:0}
.afma-v3 .afma-media-context dl{margin:0;display:grid;gap:9px}
.afma-v3 .afma-media-context dl>div{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #e2e9df;padding-top:9px}
.afma-v3 .afma-media-context dt{color:#52685e;font-size:12px}
.afma-v3 .afma-media-context dd{color:#0a2118;font-size:13px;font-weight:700;margin:0;text-align:right}
.afma-v3 .afma-media-context a{align-self:flex-start;color:#155c3f;font-size:13px;font-weight:750;text-decoration:underline;text-underline-offset:4px}
.afma-v3 .v3-filter-pill:disabled{opacity:.55;cursor:not-allowed;filter:grayscale(.4)}
.afma-v3 .afma-kicker{color:#52685e;font-weight:800;font-size:12px;letter-spacing:.02em}
.afma-v3 .afma-match-card{background:#fff;border:1px solid #d9e3dc;border-radius:15px;margin:0 0 11px;padding:clamp(16px,2vw,24px);min-height:0;box-shadow:0 6px 18px rgba(10,42,27,.035)}
.afma-v3 .afma-match-card__main{display:flex;align-items:center;justify-content:space-between;gap:25px;min-width:0}
.afma-v3 .afma-match-card__context{min-width:0;flex:1}
.afma-v3 .afma-match-card__context h3{font-size:clamp(19px,2vw,24px);margin:6px 0 3px;line-height:1.2;overflow-wrap:anywhere}
.afma-v3 .afma-match-card__context p{font-size:12px;color:#52685e;margin:0;overflow-wrap:anywhere}
.afma-v3 .afma-match-card__result{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.afma-v3 .afma-match-card__result strong{font-size:clamp(25px,3vw,36px);font-variant-numeric:tabular-nums;white-space:nowrap;line-height:1.2;color:#0b2a1c}
.afma-v3 .afma-outcome{padding:6px 12px;border-radius:30px;background:#e9f1eb;font-size:12px;font-weight:800;color:#23563f}
.afma-v3 .afma-outcome--L{background:#fff0ea;color:#863d23}
.afma-v3 .afma-outcome--W{background:#e1f4df;color:#23582b}
.afma-v3 .afma-outcome--unknown{background:#f0f1ee;color:#414f46}
.afma-v3 .afma-match-card__foot{margin-top:12px;border-top:1px solid #e3e9e1;padding-top:11px;display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap;color:#52685e;font-size:12px}
.afma-v3 .v3-career-grid.is-sparse .v3-timeline{align-self:start}
.afma-v3 .v3-career-grid.is-sparse .v3-journey-item{min-height:0}
.afma-v3 .v3-contact-brief,.afma-v3 .v3-contact-form-wrap{min-height:0}
.afma-v3 :is(button,a,input,select,textarea,[role=tab]):focus-visible{outline:3px solid #b2e960;outline-offset:3px}
@media(max-width:720px){
 .afma-v3 .v3-section-top h2,.afma-v3 .v3-title{font-size:clamp(28px,7.4vw,39px)!important}
 .afma-v3 .v3-media-grid.is-single{grid-template-columns:minmax(0,1fr)}
 .afma-v3 .v3-media-grid.is-single .v3-media{min-height:230px;max-height:390px;aspect-ratio:1.5}
 .afma-v3 .v3-match-head,.afma-v3 .v3-career-hero{padding:24px 20px}
 .afma-v3 .afma-match-card__main{align-items:flex-start;gap:10px}
 .afma-v3 .afma-match-card__result{flex-direction:column;align-items:flex-end;gap:7px}
 .afma-v3 .v3-match-pill-group{gap:5px}
}
@media(max-width:390px){
 .afma-v3 .afma-match-card__main{flex-wrap:wrap}
 .afma-v3 .afma-match-card__result{flex-direction:row;align-items:center;width:100%;justify-content:space-between}
 .afma-v3 .v3-media-grid.is-single .v3-media{aspect-ratio:1.15}
}
@media(prefers-reduced-motion:reduce){
 .afma-v3 :is(.v3-media-grid img,.btn,.v3-journey-item,.afma-match-card){animation:none!important;transition:none!important;scroll-behavior:auto!important}
}


/* AFMA V3.2 — edge-to-edge player banner; align the tabs and every panel with the header's 1380px shell. */
.afma-v3{
  padding-top:0;
}
.afma-v3 main.wrap{
  width:100%;
  max-width:100%;
  padding:0;
  margin:0;
}
.afma-v3 main.wrap > .hero{
  width:100%;
  max-width:none;
  margin:0;
  border-radius:0;
  overflow:hidden;
}
.afma-v3 .bodygrid{
  display:block;
  width:min(calc(100% - 30px),1380px);
  max-width:1380px;
  padding:0;
  margin:clamp(16px,2vw,26px) auto 0;
}
.afma-v3 .bodygrid > .work{
  width:100%;
  max-width:100%;
  min-width:0;
}
.afma-v3 .bodygrid .tabs,
.afma-v3 .bodygrid .tabpanel{
  width:100%;
  max-width:100%;
  min-width:0;
}
.afma-v3 .bodygrid > .side{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));
  gap:16px;
  width:100%;
  max-width:100%;
  margin:24px 0 0;
}
@media(max-width:720px){
  .afma-v3 .bodygrid{width:calc(100% - 30px);margin-top:16px}
  .afma-v3 main.wrap > .hero{border-radius:0}
  .afma-v3 .bodygrid > .side{grid-template-columns:minmax(0,1fr)}
}

/* Guard against legacy max-width:1100px wrap spacing overriding the full-bleed banner. */
@media(max-width:1100px){
  .afma-v3 main.wrap{padding:0!important}
}


/* AFMA Premium V3.3 — share the canonical profile TacticalHeatmap, no fabricated GPS data. */
.afma-v3 .v3-overview-hero:has(.v3-premium-tactical){
  grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);
  align-items:stretch;
}
.afma-v3 .v3-overview-pitch.v3-with-shared-heatmap{
  padding:clamp(18px,2.5vw,36px);
  display:flex;
  align-items:center;
  justify-content:center;
  background:radial-gradient(circle at 55% 44%,rgba(185,243,90,.10),transparent 60%),linear-gradient(130deg,#133627,#061810);
  min-width:0;
}
.afma-v3 .v3-overview-pitch.v3-with-shared-heatmap > :not(.v3-premium-tactical){
  display:none!important;
}
.afma-v3 .v3-premium-tactical{
  display:grid;
  align-items:center;
  width:100%;
  min-width:0;
  max-width:600px;
  margin-inline:auto;
}
.afma-v3 .v3-premium-tactical .tactical-heatmap{
  width:100%;
  min-width:0;
  max-width:none;
  gap:14px;
  padding:clamp(15px,2vw,23px);
  border:1px solid rgba(200,229,201,.35);
  border-radius:14px;
  background:rgba(4,19,13,.89);
  box-shadow:0 18px 44px rgba(0,0,0,.18);
  color:#ecf5ee;
}
.afma-v3 .v3-premium-tactical .tactical-map-head span,
.afma-v3 .v3-premium-tactical .tactical-map-foot p{
  color:#d3e3d7;
}
.afma-v3 .v3-premium-tactical .tactical-map-head b{
  background:#b9f35a;
  color:#0b2319;
}
.afma-v3 .v3-premium-tactical .tactical-map-foot span{
  color:#dcffac;
  background:rgba(185,243,90,.15);
}
.afma-v3 .v3-premium-tactical .tactical-field{
  aspect-ratio:16/10;
  min-width:0;
}
.afma-v3 .v3-premium-tactical svg.tactical-heat-layer{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-height:none;
  overflow:visible;
}
.afma-v3 .v3-premium-tactical .tactical-map-foot{
  gap:10px;
  flex-wrap:wrap;
}
.afma-v3 .v3-premium-tactical .tactical-map-foot p{
  font-size:12px;
  line-height:1.5;
  margin-left:auto;
}
.afma-v3 .v3-overview-story{
  justify-content:center;
}
@media(max-width:900px){
  .afma-v3 .v3-overview-hero:has(.v3-premium-tactical){
    grid-template-columns:minmax(0,1fr);
  }
  .afma-v3 .v3-overview-pitch.v3-with-shared-heatmap{padding:22px}
  .afma-v3 .v3-premium-tactical{max-width:620px}
}
@media(max-width:420px){
  .afma-v3 .v3-overview-pitch.v3-with-shared-heatmap{padding:13px}
  .afma-v3 .v3-premium-tactical .tactical-heatmap{padding:12px;gap:12px}
  .afma-v3 .v3-premium-tactical .tactical-map-head span{font-size:10px;letter-spacing:.04em}
  .afma-v3 .v3-premium-tactical .tactical-map-foot{display:grid}
  .afma-v3 .v3-premium-tactical .tactical-map-foot p{margin:0;text-align:left}
}


/* AFMA V3.4 — Premium alignment/contrast polish. Banner background remains full-bleed,
   but its two content columns use the exact shared 1380px navigation/content shell. */
.afma-v3 main.wrap > .hero{
  padding:0 max(15px,calc((100% - 1380px)/2));
  box-sizing:border-box;
  background:#0e281f;
  gap:0;
}
.afma-v3 .v3-overview-hero:has(.v3-premium-tactical){
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
}
.afma-v3 .v3-overview-pitch.v3-with-shared-heatmap{
  padding:clamp(12px,1.65vw,22px);
}
.afma-v3 .v3-premium-tactical{max-width:none}
.afma-v3 .v3-premium-tactical .tactical-heatmap{
  padding:clamp(13px,1.5vw,19px);
  gap:12px;
}
.afma-v3 .v3-premium-tactical .tactical-field{aspect-ratio:16/9.7}
.afma-v3 .v3-overview-story{padding:clamp(23px,2.6vw,34px)}
.afma-v3 .v3-overview-story>p:not(.v3-white-kicker){
  font-size:14px;line-height:1.65;color:#d5e7d9;margin-bottom:16px;
}
.afma-v3 .v3-dossier-foot{gap:8px}
.afma-v3 .v3-dossier-foot span{font-size:12px;color:#e1f0e4;padding:7px 10px}
.afma-v3 .v3-overview-rail{margin-top:10px}
.afma-v3 .v3-split-story{margin-top:12px;gap:13px}
.afma-v3 .v3-rail-overline{font-size:11px;letter-spacing:.08em}
.afma-v3 .v3-rail-intro>span:last-child,
.afma-v3 .v3-rail-stat small{font-size:12px;line-height:1.5;color:#476153}
.afma-v3 .v3-story-note{padding:clamp(20px,2.3vw,28px)}
.afma-v3 .v3-quality-card{padding:clamp(20px,2.3vw,28px)}
.afma-v3 .v3-evidence-list p,.afma-v3 .v3-story-note>p,
.afma-v3 .v3-section-top .v3-deck{font-size:14px;line-height:1.6;color:#52685e}
.afma-v3 .v3-quality-card>p,
.afma-v3 .v3-quality-card .v3-smallprint{font-size:13px;line-height:1.62;color:#d5e9d9}
.afma-v3 .v3-quality-mark{font-size:11px;color:#d8f0dc}
.afma-v3 .v3-premium-tactical .tactical-map-head span{font-size:12px;color:#deefe3}
.afma-v3 .v3-premium-tactical .tactical-map-foot p{font-size:12px;color:#d8e9dc}
@media(max-width:900px){
 .afma-v3 .v3-overview-hero:has(.v3-premium-tactical){grid-template-columns:minmax(0,1fr)}
 .afma-v3 .v3-overview-pitch.v3-with-shared-heatmap{padding:16px}
 .afma-v3 .v3-premium-tactical{max-width:620px}
}
@media(max-width:420px){
 .afma-v3 .v3-overview-pitch.v3-with-shared-heatmap{padding:12px}
 .afma-v3 .v3-overview-story{padding:22px 18px}
 .afma-v3 .v3-premium-tactical .tactical-field{aspect-ratio:16/10.5}
 .afma-v3 .v3-premium-tactical .tactical-heatmap{padding:11px}
 .afma-v3 .v3-overview-story>p:not(.v3-white-kicker){font-size:13px}
}


/* One responsive shell for the banner's inner grid, tabs, panels and AFMA nav.
   DraftChrome's nav switches to 15px gutters below 1185px (not 821px). */
.afma-v3{
  --v3-player-shell-max:1380px;
  --v3-player-shell-gutter:24px;
}
@media(max-width:1184px){
  .afma-v3{--v3-player-shell-gutter:15px}
}
.afma-v3 main.wrap > .hero{
  padding-inline:max(var(--v3-player-shell-gutter),calc((100% - var(--v3-player-shell-max))/2));
}
.afma-v3 .bodygrid{
  width:min(calc(100% - var(--v3-player-shell-gutter) - var(--v3-player-shell-gutter)),var(--v3-player-shell-max));
  max-width:var(--v3-player-shell-max);
}

/* R6 — media/contact dialogs remain usable at 320px without page overflow. */
.afma-v3 .v3-modal{
  box-sizing:border-box;
  width:min(720px,calc(100vw - 24px));
  max-width:calc(100vw - 24px);
  max-height:calc(100vh - 24px);
  max-height:calc(100dvh - 24px);
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
}
.afma-v3 .v3-modal .v3-modal-inner,
.afma-v3 .v3-modal #v3-preview-body{
  min-width:0;
  max-width:100%;
  overflow-wrap:anywhere;
}
.afma-v3 .v3-modal .v3-modal-controls{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
}
.afma-v3 #afma-v3-real-media{min-width:0;max-width:100%}
.afma-v3 #afma-v3-real-media img,
.afma-v3 #afma-v3-real-media video{
  display:block;
  max-width:100%;
  height:auto;
  object-fit:contain;
}
.afma-v3 .v3-modal button:focus-visible,
.afma-v3 .v3-modal a:focus-visible{
  outline:3px solid #b9f35a;
  outline-offset:3px;
}
@media(max-width:420px){
  .afma-v3 .v3-modal{width:calc(100vw - 20px);max-width:calc(100vw - 20px)}
  .afma-v3 .v3-modal .v3-modal-inner{padding-inline:clamp(12px,4vw,18px)}
  .afma-v3 .v3-modal .v3-modal-controls .v3-modal-button{
    min-width:0;
    min-height:44px;
    flex:1 1 128px;
    white-space:normal;
    overflow-wrap:anywhere;
  }
}

/* R7 — Premium information hierarchy, readable dense data, intentional motion.
   Keep AFMA brand colors, the full-bleed banner, and the 1380px aligned shell. */
.afma-v3 [hidden]{display:none!important}
.afma-v3 .bodygrid :is(.tabpanel,.stats-tab,.charts-grid,.detail-grid,
  .stats-kpis,.analysis-switchboard,.competition-tablewrap,.v3-match-tools,
  .v3-contact-grid,.v3-career-grid,.v3-split-story){
  min-width:0;
}
.afma-v3 .v3-section-top{
  gap:clamp(12px,2vw,24px);
  margin-block:clamp(18px,2.6vw,30px) clamp(14px,2vw,22px);
}
.afma-v3 .v3-section-top h2{
  max-width:24ch;
  text-wrap:balance;
  letter-spacing:-.038em;
}
.afma-v3 .v3-section-top .v3-deck{
  max-width:72ch;
  color:#405c4e;
  line-height:1.7;
}
.afma-v3 .statistics-intro,
.afma-v3 .v3-filter-bar,
.afma-v3 .v3-match-tools,
.afma-v3 .v3-career-toolbar{
  min-width:0;
  gap:clamp(12px,1.8vw,20px);
}
.afma-v3 .stats-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(10px,1.25vw,18px);
}
.afma-v3 .stats-kpis > .kpi{
  min-width:0;
  padding:clamp(16px,1.85vw,26px);
  overflow-wrap:anywhere;
}
.afma-v3 .stats-kpis .kpi-main strong{
  font-variant-numeric:tabular-nums;
  line-height:1.05;
}
.afma-v3 .charts-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
  gap:clamp(12px,1.6vw,22px);
}
.afma-v3 .detail-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(12px,1.4vw,18px);
}
.afma-v3 .analysis-card,
.afma-v3 .detail-card{
  min-width:0;
  height:100%;
  overflow-wrap:anywhere;
}
.afma-v3 .detail-card .detail-stats{
  min-width:0;
  font-variant-numeric:tabular-nums;
}
.afma-v3 #radar-empty{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-align:center;
  min-height:252px;
  max-width:100%;
  padding:clamp(16px,2.5vw,30px);
  border:1px dashed #638472;
  border-radius:16px;
  background:radial-gradient(ellipse at 50% 55%,#315648,#173a32 72%);
  color:#b7d0bf;
  line-height:1.55;
}
.afma-v3 #radar-empty .radar-empty-symbol{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:1px solid #739c7b;
  border-radius:50%;
  background:#466b463b;
  color:#c7f472;
  font-size:25px;
}
.afma-v3 #radar-empty strong{max-width:36ch;color:#e7f6e3;font-size:15px;letter-spacing:-.02em}
.afma-v3 #radar-empty .radar-empty-copy{max-width:42ch;color:#b7d0bf;font-size:12px}
.afma-v3 #radar-empty .radar-empty-action{
  min-height:40px;
  margin-top:2px;
  padding:9px 14px;
  border:1px solid #d7f89c;
  border-radius:9px;
  background:#c7f472;
  color:#173629;
  font-family:inherit;
  font-size:12px;
  font-weight:750;
  line-height:1.2;
  cursor:pointer;
  transition:background-color .18s ease,transform .18s ease,box-shadow .18s ease;
}
.afma-v3 #radar-empty .radar-empty-action:hover{background:#d8fa9a;box-shadow:0 6px 18px #0a1d1538;transform:translateY(-1px)}
.afma-v3 #radar-empty .radar-empty-action:focus-visible{outline:3px solid #eef9d6;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.afma-v3 #radar-empty .radar-empty-action{transition:none}}
.afma-v3 #radar-empty[hidden]{display:none!important}
.afma-v3 .v3-evidence-coverage-warning{
  max-width:75ch;
  margin:12px 0 0;
  padding:11px 14px;
  border-left:3px solid #517b34;
  border-radius:0 8px 8px 0;
  background:#eef3e4;
  color:#24462e;
  font-size:13px;
  line-height:1.6;
}
.afma-v3 .competition-tablewrap,
.afma-v3 #panel-matches .v3-match-table{
  min-width:0;
  max-width:100%;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
  scrollbar-color:#8ca998 #eff4ee;
}
.afma-v3 .competition-tablewrap table,
.afma-v3 #panel-matches .v3-match-table table{
  width:100%;
  min-width:680px;
  border-collapse:separate;
  border-spacing:0;
}
.afma-v3 .competition-tablewrap :is(th,td),
.afma-v3 #panel-matches .v3-match-table :is(th,td){
  vertical-align:middle;
  font-variant-numeric:tabular-nums;
}
.afma-v3 .competition-tablewrap :is(th,td):first-child{
  position:sticky;
  left:0;
  z-index:1;
  background:#f7faf6;
  box-shadow:1px 0 0 #d5dbd4;
}
.afma-v3 .competition-tablewrap :is(th,td):focus-visible,
.afma-v3 :is(.competition-tablewrap,.v3-match-table):focus-visible{
  outline:3px solid #1d6242;
  outline-offset:-3px;
}
.afma-v3 :is(.stat-presets,.v3-filter-pills,.competition-pills,
  .v3-subnav,.unit-control){
  min-width:0;
  max-width:100%;
  flex-wrap:wrap;
  gap:8px;
}
.afma-v3 :is(.preset,.v3-filter-pill,.comp-pill,.mode-btn,.unit-btn,
  .v3-subnav-button,.mobile-comp,.row-action,.v3-reset){
  min-height:44px;
  max-width:100%;
  overflow-wrap:anywhere;
}
.afma-v3 :is(.v3-form-field,.v3-form-row){min-width:0}
.afma-v3 .v3-form-field :is(input,select,textarea){
  max-width:100%;
  min-height:46px;
  box-sizing:border-box;
}
.afma-v3 .v3-contact-brief,
.afma-v3 .v3-contact-form-wrap{
  min-width:0;
  overflow-wrap:anywhere;
}
.afma-v3 :is(.analysis-card,.detail-card,.afma-match-card,.v3-media){
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .afma-v3 :is(.analysis-card,.detail-card,.afma-match-card):hover{
    transform:translateY(-2px);
    box-shadow:0 14px 32px rgba(5,33,19,.10);
  }
}
.afma-v3 :is(button,a,input,select,textarea,[role="tab"]):focus-visible{
  outline:3px solid #1d6242;
  outline-offset:3px;
}
.afma-v3 :is(.hero,.v3-contact-brief,.v3-overview-story,
  .v3-quality-card,.v3-modal) :is(button,a,input,select,textarea):focus-visible{
  outline-color:#b9f35a;
}
@media(max-width:1100px){
  .afma-v3 .stats-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
  .afma-v3 .detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .afma-v3 .charts-grid,.afma-v3 .detail-grid{
    grid-template-columns:minmax(0,1fr);
  }
  .afma-v3 .statistics-intro,.afma-v3 .v3-match-tools{
    gap:14px;
  }
  .afma-v3 .v3-section-top h2{max-width:100%}
}
@media(max-width:520px){
  .afma-v3 .stats-kpis{grid-template-columns:minmax(0,1fr)}
  .afma-v3 .stats-kpis > .kpi{padding:18px}
  .afma-v3 .v3-section-top{margin-block:17px 13px}
  .afma-v3 .v3-section-top h2{font-size:clamp(26px,7.4vw,34px)!important}
  .afma-v3 .v3-filter-bar,
  .afma-v3 .v3-match-tools{padding-inline:clamp(12px,4vw,18px)}
  .afma-v3 .v3-media-grid .v3-media-info strong{overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){
  .afma-v3 :is(.analysis-card,.detail-card,.afma-match-card,.v3-media){
    transform:none!important;
    transition:none!important;
  }
}

/* Single-category views should use the available width, not retain a dead
   second or third column after the unrelated category is hidden. */
.afma-v3 .charts-grid:has(> .analysis-card[hidden]),
.afma-v3 .detail-grid:has(> .detail-card[hidden]){
  grid-template-columns:minmax(0,1fr);
}

/* R7 — absence of linked competitions must look intentional, never like zero. */
.afma-v3 .v3-competition-empty{
  display:flex;
  align-items:flex-start;
  max-width:100%;
  margin-block:14px;
  padding:clamp(18px,2vw,26px);
  border:1px dashed #98b6a3;
  border-left:4px solid #347a4d;
  border-radius:14px;
  background:#f0f5ef;
  color:#234635;
  font-size:14px;
  line-height:1.75;
  overflow-wrap:anywhere;
}
.afma-v3 .mode-btn:disabled{
  opacity:.6;
  cursor:not-allowed;
  filter:saturate(.7);
}

/* R8 — Progressive media: retain space for lazy thumbnails and disclose failures. */
.afma-v3 .v3-media-grid .v3-media img{
  display:block;
  width:100%;
  height:100%;
  aspect-ratio:13/10;
  object-fit:cover;
  background:linear-gradient(125deg,#1b4433,#0b2117);
}
.afma-v3 .v3-media-load-error{
  width:min(100%,52ch);
  margin:12px auto;
  padding:clamp(18px,3vw,28px);
  border:1px dashed #9bbca4;
  border-radius:14px;
  background:#eff4eb;
  color:#244632;
  text-align:center;
  line-height:1.7;
  overflow-wrap:anywhere;
}
.afma-v3 [data-classic-profile-link]:focus-visible{
  outline:3px solid #1d6242;
  outline-offset:3px;
}

/* R11 — AFMA Editorial Football Intelligence: accessible responsive polish. */
.afma-v3 #tabs{
  scroll-snap-type:x proximity;
  scroll-padding-inline:10px;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
}
.afma-v3 #tabs [role="tab"]{
  flex:0 0 auto;
  min-height:44px;
  scroll-snap-align:start;
  white-space:nowrap;
}
.afma-v3 #tabs [role="tab"][aria-selected="true"]{
  box-shadow:inset 0 -3px 0 var(--lime);
}
.afma-v3 :is(.stats-kpis .kpi-main strong,.detail-stats strong,
  .v3-match-pill-group span,.v3-gallery-counter strong){
  font-variant-numeric:tabular-nums;
}
.afma-v3 :is(.stats-kpis .kpi,.detail-card,.analysis-card){
  min-width:0;
  overflow-wrap:anywhere;
}
.afma-v3 :is(.stat-presets .preset,.v3-filter-pills .v3-filter-pill,
  .v3-subnav-button,.unit-btn)[aria-pressed="true"]{
  box-shadow:inset 0 -3px 0 var(--lime);
}
.afma-v3 :is(.stats-tab,.v3-career-grid,.v3-contact-grid){min-width:0}
.afma-v3 :is(#tabs,[role="group"]) button:focus-visible,
.afma-v3 :is(.competition-tablewrap,.v3-match-table):focus-visible{
  outline:3px solid #174b33;
  outline-offset:2px;
  box-shadow:0 0 0 5px rgba(255,255,255,.95);
}
@media(max-width:760px){
  .afma-v3 :is(.statistics-intro .stat-presets,
    #panel-gallery .v3-filter-pills,
    #panel-career .v3-filter-pills){
    display:flex;
    max-width:100%;
    min-width:0;
    flex-wrap:nowrap;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x proximity;
    scroll-padding-inline:6px;
    scrollbar-width:thin;
    padding:5px 6px 10px;
    gap:8px;
  }
  .afma-v3 :is(.statistics-intro .preset,
    #panel-gallery .v3-filter-pill,
    #panel-career .v3-filter-pill){
    flex:0 0 auto;
    scroll-snap-align:start;
    min-height:44px;
  }
  .afma-v3 .stats-kpis{gap:10px}
  .afma-v3 .stats-kpis > .kpi{padding:clamp(13px,3.4vw,18px)}
  .afma-v3 .stats-kpis .kpi-main strong{font-size:clamp(25px,6.5vw,34px)}
}
@media(min-width:356px) and (max-width:520px){
  .afma-v3 .stats-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:355px){
  .afma-v3 .stats-kpis{grid-template-columns:minmax(0,1fr)}
  .afma-v3 .stats-kpis .kpi-main strong{font-size:30px}
}
@media(prefers-reduced-motion:reduce){
  .afma-v3 #tabs,
  .afma-v3 :is(.stat-presets,.v3-filter-pills){scroll-behavior:auto!important}
}


/* DES-F1 / 2026-10-14 — production visual QA of the existing AFMA identity.
   Direction: football editorial dossier + compact scouting actions.
   Keep the desktop full-bleed banner, authentic portrait and six-tab structure. */
.afma-v3 .hero .actions .btn{
  min-height:46px;
  line-height:1.35;
  text-wrap:balance;
}
.afma-v3 .v3-overview-pitch :is(p,.v3-pitch-caption),
.afma-v3 .v3-overview-story :is(p,.v3-dossier-foot),
.afma-v3 .v3-quality-card :is(p,.v3-smallprint){
  color:#e0efe3;
}
.afma-v3 .hero-data .l{color:#d5e9db}
.afma-v3 .warning-hero{color:#f2f6ed}
.afma-v3 .v3-overview-pitch p{line-height:1.65}

/* When the player has a usable approved portrait, retain its subject; when
   absent, keep the existing mono/identity-unverified fallback as provided. */
@media(max-width:720px){
  .afma-v3 main.wrap > .hero{
    padding-inline:0;
    grid-template-columns:minmax(0,1fr)!important;
  }
  .afma-v3 .portrait{
    height:clamp(180px,48vw,220px)!important;
    min-height:0!important;
    max-height:220px!important;
    overflow:hidden;
    display:flex;
    flex-direction:column;
  }
  .afma-v3 .portrait-art{
    flex:1 1 auto;
    min-height:0;
    position:relative;
  }
  .afma-v3 .portrait-art img.afma-portrait-image{
    object-fit:cover!important;
    object-position:center 27%!important;
  }
  .afma-v3 .portrait-foot{
    flex:0 0 auto;
    padding:7px 14px;
    font-size:11px;
  }
  .afma-v3 .intro{
    padding:clamp(15px,4.3vw,22px)!important;
    justify-content:flex-start;
  }
  .afma-v3 .intro h1{
    font-size:clamp(31px,8vw,39px);
    margin-block:7px 10px;
    line-height:1.07;
  }
  .afma-v3 .hero-data{
    margin-block:12px 11px;
    gap:8px;
  }
  .afma-v3 .hero-data .n{font-size:clamp(22px,6vw,29px)}
  .afma-v3 .hero-data .l{font-size:11px;line-height:1.45}
  .afma-v3 .warning-hero{
    font-size:12px;
    line-height:1.55;
    padding:10px 12px;
  }
  .afma-v3 .hero .actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
    margin-top:12px;
    min-width:0;
  }
  .afma-v3 .hero .actions>.btn{
    width:100%;
    min-width:0;
    min-height:48px;
    max-width:none;
    padding:10px 12px;
    font-size:12px;
    line-height:1.35;
    white-space:normal;
    overflow-wrap:normal;
    word-break:normal;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    box-sizing:border-box;
  }
  .afma-v3 .hero .actions #tour-shortlist{
    grid-column:1 / -1;
    font-weight:750;
  }
  .afma-v3 .bodygrid{
    margin-top:12px;
  }
}
@media(max-width:355px){
  .afma-v3 .hero .actions{gap:8px}
  .afma-v3 .hero .actions>.btn{padding-inline:9px;font-size:11.5px}
}
/* Preserve intentional scrolling inside the horizontal tab rail, never move
   the full page merely to reveal a tab on initial hydration. */
.afma-v3 #tabs{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){
  .afma-v3 #tabs{scroll-behavior:auto!important}
}


/* DES-F2 — Presentation: real touch targets and focus treatment for the two
   internal dossier actions; preserve their semantic button/tab routing. */
.afma-v3 #panel-overview :is(.v3-linkbtn,.v3-ghost-link){
  min-height:48px;
  max-width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
  padding-block:11px;
  line-height:1.4;
  white-space:normal;
  text-align:start;
  touch-action:manipulation;
}
.afma-v3 #panel-overview :is(.v3-linkbtn,.v3-ghost-link):focus-visible{
  outline:3px solid #b9f35a;
  outline-offset:3px;
  border-radius:6px;
}
@media(max-width:420px){
  .afma-v3 #panel-overview :is(.v3-linkbtn,.v3-ghost-link){width:100%;justify-content:space-between}
}


/* DES-F2 Galerie — use accessible touch targets for the media-access CTA.
   No claims about media rights or new media sources are introduced here. */
.afma-v3 #panel-gallery .v3-media-footer .v3-linkbtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  line-height:1.45;
  padding-block:11px;
  max-width:100%;
  white-space:normal;
  text-align:center;
  touch-action:manipulation;
}
.afma-v3 #panel-gallery .v3-media-footer .v3-linkbtn:focus-visible{
  outline:3px solid #1d6242;
  outline-offset:3px;
  border-radius:6px;
}
@media(max-width:420px){
  .afma-v3 #panel-gallery .v3-media-footer .v3-linkbtn{width:100%}
}


/* DES-F2 Statistiques — legible source and period context on the AFMA dark/white
   analytical surfaces, without replacing the approved editorial art direction. */
.afma-v3 #panel-stats .analytics-hero .score-value{
  color:#d0f77e;
  text-shadow:0 1px 0 rgba(0,0,0,.12);
  font-variant-numeric:tabular-nums;
}
.afma-v3 #panel-stats #v3-stats-period-host>small{
  color:#355849!important; /* The period note had low contrast on white. */
  font-size:12px;
  line-height:1.55;
}
.afma-v3 #panel-stats .kpi-unit{
  line-height:1.45;
  overflow-wrap:normal;
}
.afma-v3 #panel-stats .stat-presets .preset:focus-visible,
.afma-v3 #panel-stats .unit-control .unit-btn:focus-visible{
  outline:3px solid #205e40;
  outline-offset:3px;
}
@media(prefers-reduced-motion:reduce){
  .afma-v3 #panel-stats :is(.precision-fill,.confidence-track>div,#v3-stats-period-host){
    transition:none!important;
  }
}


/* DES-F2 — Matchs: evidence ledger; not a calendar booking confirmation.
   Direction retained: football editorial record, not live-score animation. */
.afma-v3 #panel-matches :is(#result-filter,#opponent-filter){
  min-height:48px;
  max-width:100%;
  box-sizing:border-box;
  font:inherit;
  line-height:1.4;
  touch-action:manipulation;
}
.afma-v3 #panel-matches :is(#result-filter,#opponent-filter,.v3-match-clear):focus-visible{
  outline:3px solid #28744e;
  outline-offset:3px;
}
.afma-v3 #panel-matches .v3-match-empty{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  border:1px solid #cee1d3;
  border-left:4px solid #398364;
  border-radius:15px;
  padding:clamp(18px,3vw,27px);
  background:#f0f6f0;
  color:#1c4030;
}
.afma-v3 #panel-matches .v3-match-empty__symbol{
  display:inline-grid;
  place-items:center;
  width:36px;
  height:36px;
  border:1px solid #b6d1c0;
  border-radius:50%;
  color:#205b40;
  font-size:23px;
}
.afma-v3 #panel-matches .v3-match-empty strong{
  font-size:clamp(17px,2.5vw,21px);
  line-height:1.3;
  color:#123b2a;
}
.afma-v3 #panel-matches .v3-match-empty p{
  margin:0;
  max-width:62ch;
  line-height:1.6;
  color:#3b5948;
}
.afma-v3 #panel-matches .v3-match-clear{
  min-height:46px;
  padding:10px 17px;
  background:#184b34;
  color:#fff;
  border:1px solid #184b34;
  border-radius:9px;
  font-weight:720;
  cursor:pointer;
}
.afma-v3 #panel-matches .v3-match-clear:hover{background:#246c4a}
.afma-v3 #panel-matches .v3-pending-record{
  min-width:0;
  display:grid;
  gap:16px;
  border:1px solid #dfd7bf;
  border-radius:16px;
  padding:clamp(17px,2.6vw,26px);
  background:linear-gradient(135deg,#fffcf5,#f3f5ef);
  color:#1c4030;
}
.afma-v3 #panel-matches .v3-pending-record+.v3-pending-record{margin-top:12px}
.afma-v3 #panel-matches .v3-pending-record__lead{
  display:flex;
  min-width:0;
  gap:15px;
  align-items:flex-start;
}
.afma-v3 #panel-matches .v3-pending-record__mark{
  flex:0 0 auto;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:12px;
  background:#e9e8d6;
  font-size:24px;
  color:#6a572a;
}
.afma-v3 #panel-matches .v3-pending-record__lead>div{min-width:0}
.afma-v3 #panel-matches .v3-pending-record__kicker{
  font-size:11px;
  font-weight:770;
  letter-spacing:.09em;
  color:#715b30;
}
.afma-v3 #panel-matches .v3-pending-record h3{
  margin:6px 0 4px;
  font-size:clamp(21px,3vw,28px);
  line-height:1.22;
  color:#143d2a;
  overflow-wrap:anywhere;
}
.afma-v3 #panel-matches .v3-pending-record p{
  margin:0;
  font-size:13px;
  color:#526958;
}
.afma-v3 #panel-matches .v3-pending-record__note{
  border-top:1px solid #d4d8ca;
  padding-top:12px;
  font-size:13px;
  line-height:1.6;
  color:#355141;
}
/* Meaningful state entry: no score counter changes or false rearrangement. */
@keyframes afma-match-evidence-enter{
  from{opacity:0;transform:translateY(7px)}
  to{opacity:1;transform:translateY(0)}
}
@media(prefers-reduced-motion:no-preference){
  .afma-v3 #panel-matches :is(.v3-match-empty,.v3-pending-record){
    animation:afma-match-evidence-enter 220ms ease-out both;
  }
}
@media(prefers-reduced-motion:reduce){
  .afma-v3 #panel-matches :is(.v3-match-empty,.v3-pending-record){
    animation:none!important;
    transform:none!important;
  }
}


/* DES-F2 — Career: source-ordered timeline, graceful undated entries.
   No fictitious contract durations or selection appearances. */
.afma-v3 #panel-career .v3-journey-year{
  min-width:0;
  overflow-wrap:anywhere;
  font-variant-numeric:tabular-nums;
}
.afma-v3 #panel-career .v3-career-empty{
  display:grid;
  gap:9px;
  padding:clamp(18px,3vw,28px);
  background:#f1f6f1;
  color:#173d2b;
  border:1px solid #d0e1d2;
  border-left:4px solid #418c65;
  border-radius:14px;
}
.afma-v3 #panel-career .v3-career-empty strong{
  font-size:clamp(17px,2.5vw,21px);
  line-height:1.32;
}
.afma-v3 #panel-career .v3-career-empty p{
  max-width:64ch;
  margin:0;
  line-height:1.6;
  color:#3d5949;
}
@keyframes afma-career-documented-entry{
  from{opacity:0;transform:translateY(9px)}
  to{opacity:1;transform:translateY(0)}
}
@media(prefers-reduced-motion:no-preference){
  .afma-v3 #panel-career:not([hidden]) .v3-timeline .v3-journey-item{
    animation:afma-career-documented-entry 290ms ease-out both;
    animation-delay:calc(var(--v3-career-index,0) * 90ms);
  }
}
@media(prefers-reduced-motion:reduce){
  .afma-v3 #panel-career .v3-timeline .v3-journey-item{
    animation:none!important;
    transform:none!important;
    opacity:1!important;
  }
}


/* DES-F2 Contact — accessible draft validation; never simulate backend delivery. */
.afma-v3 #panel-contact .v3-form-field :is(input,select,textarea){
  min-height:48px;
  max-width:100%;
  box-sizing:border-box;
  font:inherit;
}
.afma-v3 #panel-contact :is(.v3-submit,.v3-modal-button){
  min-height:48px;
  max-width:100%;
}
.afma-v3 #panel-contact :is(input,select,textarea,.v3-submit):focus-visible{
  outline:3px solid #286d4b;
  outline-offset:3px;
}
.afma-v3 #panel-contact :is(input,select,textarea)[aria-invalid="true"]{
  border:2px solid #ae443d;
  background:#fff9f7;
}
.afma-v3 #panel-contact #contact-feedback[data-state="error"]{
  display:block;
  padding:13px 15px;
  margin-top:10px;
  border:1px solid #e8b7b0;
  border-left:4px solid #ae443d;
  border-radius:9px;
  background:#fff6f3;
  color:#77332e;
  line-height:1.5;
  font-weight:650;
}
.afma-v3 #panel-contact #contact-feedback[data-state="preview"]{
  display:block;
  padding:13px 15px;
  border:1px solid #a8cfb9;
  background:#eaf6ed;
  color:#164a30;
  border-radius:9px;
}
@media(max-width:420px){
  .afma-v3 #panel-contact .v3-submit{width:100%}
}

/* Stat icons styling matching AFMA brand and design capture */
.afma-v3 .v3-stat-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #edf2ed;
  flex: none;
  margin-right: 8px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.afma-v3 .v3-stat-ico img {
  display: block;
  object-fit: contain;
}
.afma-v3 .detail-stats > div > span {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: #2c4436;
}
.afma-v3 .precision-header > span {
  display: inline-flex;
  align-items: center;
}
.afma-v3 .kpi-icon {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 100%;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.afma-v3 .kpi-icon.dark {
  border-color: rgba(30, 60, 40, 0.25);
  background: rgba(0, 0, 0, 0.04);
}
.afma-v3 .kpi-icon img {
  display: block;
  object-fit: contain;
}
.afma-v3 .detail-icon {
  display: grid;
  place-items: center;
  border-radius: 10px;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  overflow: hidden;
}
.afma-v3 .detail-icon img {
  display: block;
  object-fit: contain;
}



/* Clear hierarchy for the data coverage note. */
.afma-v3 .warning-hero>div{display:grid;gap:3px;min-width:0}
.afma-v3 .warning-hero__title{color:var(--gold);font-size:12px;line-height:1.4}
.afma-v3 .warning-hero__copy{display:block;color:#f2f6ed;font-size:12px;line-height:1.55}

/* Keep the additional calendar scope compact so the evidence board leads the section. */
.afma-v3 .v3-match-tools{justify-content:flex-start;margin:0 0 16px;padding:0;border:0;border-radius:0;background:transparent}
.afma-v3 .v3-match-content{min-width:0}
.afma-v3 #v3-match-board-host{min-width:0;width:100%}

/* Gallery room: featured match footage, dossier portrait and the full media selection. */
.afma-v3 .v3-gallery-room{padding:clamp(18px,2.4vw,30px);border:1px solid #234633;border-radius:16px;background:#071713;color:#f4f8f1;box-shadow:0 18px 42px #061a1020}
.afma-v3 .v3-gallery-room-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:0 0 18px;border-bottom:1px solid #294235}
.afma-v3 .v3-gallery-room-head>div:first-child{min-width:0}
.afma-v3 .v3-gallery-room .v3-dark-eyebrow{margin:0 0 9px;color:#56c890;font-size:10px;font-weight:850;letter-spacing:.12em}
.afma-v3 .v3-gallery-room-head h3{margin:0 0 5px;color:#f7faf2;font-size:clamp(23px,2.15vw,30px);line-height:1.1;letter-spacing:-.045em;font-weight:850}
.afma-v3 .v3-gallery-room-head p:not(.v3-dark-eyebrow){max-width:610px;margin:0;color:#adc3b5;font-size:12px;line-height:1.55}
.afma-v3 #panel-gallery .v3-gallery-room .v3-filter-pills{justify-content:flex-end;flex-wrap:wrap;gap:7px}
.afma-v3 #panel-gallery .v3-gallery-room .v3-filter-pill{min-height:40px;padding:9px 14px;border-color:#31513e;background:#0c2119;color:#c7d9cd;white-space:nowrap}
.afma-v3 #panel-gallery .v3-gallery-room .v3-filter-pill[aria-pressed=true]{border-color:#13854a;background:#153b27;color:#62d794;box-shadow:0 0 0 1px #16874755,0 0 19px #28d57724}
.afma-v3 #panel-gallery .v3-gallery-room .v3-filter-pill:hover:not([aria-pressed=true]){border-color:#568269;background:#11291e;color:#f1f7ee}
.afma-v3 #panel-gallery .v3-gallery-room .v3-filter-pill:disabled{border-color:#263c30;background:#101d17;color:#6f8476}
.afma-v3 .v3-gallery-features{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:18px;padding:20px 0;border-bottom:1px solid #294235}
.afma-v3 .v3-gallery-features.is-one-feature{grid-template-columns:minmax(0,1fr)}
.afma-v3 .v3-gallery-feature{min-width:0;padding:12px;border:1px solid #274234;border-radius:12px;background:linear-gradient(145deg,#10231b,#091914)}
.afma-v3 .v3-feature-kicker{margin:0 0 10px;color:#43be82;font-size:9px;line-height:1.4;font-weight:850;letter-spacing:.1em}
.afma-v3 .v3-feature-video,.afma-v3 .v3-feature-photo{position:relative;display:grid;place-items:center;min-width:0;width:100%;overflow:hidden;aspect-ratio:16/9;border-radius:9px;background:#171d1a;border:1px solid #30483a}
.afma-v3 .v3-feature-player{display:block;width:100%;height:100%;min-height:0;aspect-ratio:16/9;object-fit:contain;background:#080b09}
.afma-v3 .v3-feature-launch,.afma-v3 .v3-feature-photo-open{position:absolute;inset:0;display:grid;place-items:center;width:100%;height:100%;padding:0;border:0;border-radius:0;background:#17201b;color:white;overflow:hidden;cursor:pointer}
.afma-v3 .v3-feature-launch img,.afma-v3 .v3-feature-photo-open img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.afma-v3 .v3-feature-launch:hover img,.afma-v3 .v3-feature-photo-open:hover img{transform:scale(1.025)}
.afma-v3 .v3-feature-launch::after{position:absolute;inset:38% 0 0;content:"";background:linear-gradient(transparent,#06140fe8)}
.afma-v3 .v3-feature-launch>span{position:relative;z-index:1;display:grid;place-items:center;width:54px;height:54px;border:1px solid #a2e376;background:#b5e979;color:#123522;border-radius:50%;font-size:19px;padding-left:3px}
.afma-v3 .v3-feature-launch strong{position:absolute;z-index:2;left:13px;bottom:12px;color:#f3f9ee;font-size:11px}
.afma-v3 .v3-feature-photo-open img{object-position:center 35%}
.afma-v3 .v3-feature-photo-open>span{position:absolute;right:12px;bottom:12px;z-index:2;display:grid;place-items:center;width:32px;height:32px;border:1px solid #66c78d;border-radius:50%;background:#06401cbd;color:#74e298;font-size:23px;line-height:1}
.afma-v3 .v3-feature-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;width:100%;height:100%;padding:20px;color:#b7c8bd;text-align:center;background:radial-gradient(ellipse at 50% 40%,#21342a,#171d1a 70%)}
.afma-v3 .v3-feature-empty>span{display:grid;place-items:center;width:43px;height:43px;border:1px solid #62826d;border-radius:50%;color:#9ad477;font-size:17px}
.afma-v3 .v3-feature-empty strong{font-size:12px}
.afma-v3 .v3-gallery-feature h4{margin:10px 0 2px;color:#f0f6ee;font-size:14px;line-height:1.35;font-weight:780}
.afma-v3 .v3-feature-caption{margin:0;color:#a8bdaf;font-size:10px;line-height:1.5}
.afma-v3 .v3-feature-launch:focus-visible,.afma-v3 .v3-feature-photo-open:focus-visible{outline:3px solid #71d999;outline-offset:-4px}
.afma-v3 .v3-gallery-library{padding-top:17px}
.afma-v3 .v3-gallery-library>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.afma-v3 .v3-gallery-library h4{margin:0;color:#f1f7ef;font-size:14px;font-weight:820;letter-spacing:-.015em}
.afma-v3 .v3-gallery-library>header>span{color:#a9c1b2;font-size:10px;text-align:right}
.afma-v3 #panel-gallery .v3-media-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:auto;align-items:stretch;gap:13px}
.afma-v3 #panel-gallery .v3-media-grid .v3-media,.afma-v3 #panel-gallery .v3-media-grid .v3-media-lead{grid-row:auto;grid-column:auto;min-height:190px;max-height:270px;aspect-ratio:1.48;border:1px solid #31513d;border-radius:10px!important;background:#101d17}
.afma-v3 #panel-gallery .v3-media-grid .v3-media-info{padding:14px;gap:5px}
.afma-v3 #panel-gallery .v3-media-grid .v3-media-info>span{color:#c5dfc9;font-size:9px;line-height:1.4;letter-spacing:.04em}
.afma-v3 #panel-gallery .v3-media-grid .v3-media-info strong{font-size:14px;line-height:1.25}
.afma-v3 #panel-gallery .v3-media-grid .v3-media-icon{width:36px;height:36px;margin:11px;font-size:17px}
.afma-v3 #panel-gallery .v3-media-grid .v3-media-empty{grid-column:1/-1;min-height:130px;border-color:#30483a;background:#0d1c15;color:#d6e4d9}
.afma-v3 #panel-gallery .v3-media-footer{margin-top:17px;border-color:#264332;background:#0d2119;color:#e3eee3}
.afma-v3 #panel-gallery .v3-media-footer small{color:#adc2b2}
.afma-v3 #panel-gallery .v3-media-footer>div>svg{color:#72ce93}
.afma-v3 #panel-gallery .afma-media-context{border-color:#2c4b38;background:#10241b;color:#eaf3ea}
.afma-v3 #panel-gallery .afma-media-context h3,.afma-v3 #panel-gallery .afma-media-context dd{color:#eff6ed}
.afma-v3 #panel-gallery .afma-media-context p,.afma-v3 #panel-gallery .afma-media-context dt{color:#b4c8b8}
.afma-v3 #panel-gallery .afma-media-context dl>div{border-color:#2c4938}
.afma-v3 #panel-gallery .afma-media-context a{color:#80dc9f}
@media(max-width:800px){.afma-v3 .v3-gallery-room-head{align-items:flex-start;flex-direction:column;gap:15px}.afma-v3 #panel-gallery .v3-gallery-room .v3-filter-pills{justify-content:flex-start}.afma-v3 .v3-gallery-features{grid-template-columns:1fr}.afma-v3 #panel-gallery .v3-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.afma-v3 .v3-gallery-room{padding:14px;border-radius:12px}.afma-v3 #panel-gallery .v3-gallery-room .v3-filter-pills{width:100%;flex-wrap:nowrap;overflow-x:auto;padding:2px 0 6px}.afma-v3 #panel-gallery .v3-gallery-room .v3-filter-pill{padding:8px 11px;font-size:10px}.afma-v3 .v3-gallery-feature{padding:9px}.afma-v3 .v3-gallery-library>header{align-items:flex-start;flex-direction:column;gap:5px}.afma-v3 .v3-gallery-library>header>span{text-align:left}.afma-v3 #panel-gallery .v3-media-grid{grid-template-columns:minmax(0,1fr)}.afma-v3 #panel-gallery .v3-media-grid .v3-media,.afma-v3 #panel-gallery .v3-media-grid .v3-media-lead{min-height:200px;max-height:none;aspect-ratio:1.4}}
.afma-v3 .nationality-flag-wrap{display:inline-flex;align-items:center;vertical-align:middle;flex-shrink:0}
.afma-v3 .nationality-flag{width:20px;height:15px;object-fit:cover;border:1px solid #ffffff38;border-radius:2px;vertical-align:middle}
.afma-v3 .nationality-flag-fallback{display:inline-grid;place-items:center;width:20px;height:15px;border:1px solid #ffffff40;border-radius:2px;background:#e9ede7;color:#102621;font-size:8px;font-weight:800;line-height:1;vertical-align:middle;flex-shrink:0}

/* Player dossier navigation: a clear six-section index with a strong active state. */
.afma-v3 #tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch;gap:6px;padding:8px;border:1px solid #d9e4d9;border-radius:17px;background:linear-gradient(125deg,#f7f9f6,#edf3ed);box-shadow:0 14px 32px rgba(13,41,28,.09)}
.afma-v3 #tabs [role="tab"]{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:58px;padding:9px 10px;border:1px solid transparent;border-radius:12px;background:transparent;color:#536b60;font-size:12px;font-weight:760;line-height:1.25;letter-spacing:0;transition:color .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}
.afma-v3 #tabs .tab-index{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border:1px solid #e1e9df;border-radius:9px;background:#fff;color:#6b8275;font-size:10px;font-weight:850;font-variant-numeric:tabular-nums;letter-spacing:.03em}
.afma-v3 #tabs .tab-label{min-width:0;white-space:nowrap}
.afma-v3 #tabs [role="tab"][aria-selected="true"]{border-color:#28513d;background:linear-gradient(135deg,#173b2d,#102a21);color:#f6faf3;box-shadow:0 8px 20px rgba(9,36,23,.18),inset 0 -3px 0 #a5df66}
.afma-v3 #tabs [role="tab"][aria-selected="true"] .tab-index{border-color:#b6df8a;background:#b6df8a;color:#143a29;box-shadow:0 3px 9px rgba(8,31,19,.18)}
@media(hover:hover){.afma-v3 #tabs [role="tab"]:hover:not([aria-selected="true"]){border-color:#d8e4d8;background:#fff;color:#16392a;box-shadow:0 4px 11px rgba(15,48,33,.07)}}
@media(max-width:1050px){.afma-v3 #tabs{display:flex;gap:6px}.afma-v3 #tabs [role="tab"]{flex:0 0 auto;justify-content:flex-start;min-width:145px}}
@media(max-width:480px){.afma-v3 #tabs{gap:5px;padding:6px;border-radius:13px}.afma-v3 #tabs [role="tab"]{min-width:132px;min-height:50px;padding:7px 9px;font-size:11px}.afma-v3 #tabs .tab-index{flex-basis:27px;width:27px;height:27px;border-radius:8px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.afma-v3 #tabs [role="tab"]{transition:none}}

/* Typography pass — improve reading sizes and keep display headings restrained. */
.afma-v3 .intro h1{font-size:clamp(30px,3.05vw,45px)}
.afma-v3 .intro h1.is-long-name{font-size:clamp(27px,2.75vw,39px)}
.afma-v3 .subline{font-size:16px}
.afma-v3 .affiliation{font-size:15px}
.afma-v3 .hero-data .l{font-size:13px}
.afma-v3 .warning-hero,.afma-v3 .warning-hero__title,.afma-v3 .warning-hero__copy{font-size:14px;line-height:1.6}
.afma-v3 .actions .btn{font-size:14px}
.afma-v3 .hero .actions>.btn{font-size:14px}
.afma-v3 #tabs [role="tab"]{font-size:14px}
.afma-v3 .v3-section-top h2,.afma-v3 .v3-title{font-size:clamp(27px,2.95vw,42px)!important;line-height:1.14}
.afma-v3 .v3-section-top .v3-deck{font-size:16px;line-height:1.65}
.afma-v3 .v3-overview-story h3{font-size:clamp(27px,2.75vw,40px)}
.afma-v3 .v3-overview-story>p:not(.v3-white-kicker){font-size:15px;line-height:1.7}
.afma-v3 .v3-career-hero h3,.afma-v3 .v3-match-head h3{font-size:clamp(27px,2.75vw,40px)}
.afma-v3 .v3-career-hero p:not(.v3-white-kicker),.afma-v3 .v3-journey-detail p,.afma-v3 .v3-career-side-top p,.afma-v3 .v3-career-checks p{font-size:14px;line-height:1.7}
.afma-v3 .v3-contact-brief h3{font-size:clamp(28px,3vw,40px)}
.afma-v3 .v3-contact-brief>div:first-child>p{font-size:15px;line-height:1.7}
.afma-v3 .v3-contact-flow strong{font-size:15px}
.afma-v3 .v3-contact-flow small{font-size:13px}
.afma-v3 .v3-gallery-intro h3{font-size:clamp(24px,2.7vw,36px)}
.afma-v3 .v3-gallery-room-head h3{font-size:clamp(22px,2vw,28px)}
.afma-v3 .v3-gallery-room-head p:not(.v3-dark-eyebrow),.afma-v3 .v3-feature-caption{font-size:14px;line-height:1.65}
.afma-v3 #panel-gallery .v3-gallery-room .v3-filter-pill{font-size:13px}
.afma-v3 .v3-gallery-feature h4,.afma-v3 .v3-gallery-library h4{font-size:16px}
.afma-v3 #panel-gallery .v3-media-grid .v3-media-info>span{font-size:11px}
.afma-v3 #panel-gallery .v3-media-grid .v3-media-info strong{font-size:16px}
.afma-v3 .v3-records-title h3{font-size:clamp(22px,2vw,27px)}
.afma-v3 .v3-record-item strong{font-size:15px}
.afma-v3 .v3-record-item p{font-size:14px;line-height:1.65}
.afma-v3 .v3-record-item>span:last-child:not(.v3-record-num){font-size:12px;line-height:1.35}
.afma-v3 .v3-records-title .v3-status-pending{font-size:11px}
.afma-v3 .v3-journey-detail h3{font-size:clamp(20px,1.8vw,26px)}
.afma-v3 .v3-journey-type,.afma-v3 .v3-journey-status{font-size:12px;line-height:1.4}
.afma-v3 .v3-source-link{font-size:13px}
@media(max-width:720px){
 .afma-v3 .intro h1,.afma-v3 .intro h1.is-long-name{font-size:clamp(29px,8vw,36px)}
 .afma-v3 .hero .actions>.btn{font-size:13px}
 .afma-v3 .v3-contact-brief h3{font-size:clamp(28px,6.2vw,36px)}
 .afma-v3 .v3-career-hero h3,.afma-v3 .v3-match-head h3{font-size:clamp(26px,6.5vw,36px)}
}
@media(max-width:680px){
 .afma-v3 .v3-overview-story h3{font-size:clamp(27px,7vw,36px)}
 .afma-v3 .v3-gallery-intro h3,.afma-v3 .v3-gallery-room-head h3{font-size:clamp(22px,5.8vw,28px)}
 .afma-v3 #tabs [role="tab"]{font-size:13px}
}
@media(max-width:480px){
 .afma-v3 .v3-section-top h2,.afma-v3 .v3-title{font-size:clamp(25px,6.8vw,32px)!important}
 .afma-v3 .v3-section-top .v3-deck,.afma-v3 .v3-overview-story>p:not(.v3-white-kicker),.afma-v3 .v3-career-hero p:not(.v3-white-kicker),.afma-v3 .v3-journey-detail p,.afma-v3 .v3-career-side-top p,.afma-v3 .v3-career-checks p,.afma-v3 .v3-record-item p,.afma-v3 .v3-contact-brief>div:first-child>p,.afma-v3 .v3-gallery-room-head p:not(.v3-dark-eyebrow),.afma-v3 .v3-feature-caption{font-size:14px}
 .afma-v3 #panel-gallery .v3-gallery-room .v3-filter-pill{font-size:12px}
}
@media(max-width:355px){.afma-v3 .hero .actions>.btn{font-size:12px}}
.afma-v3 #panel-gallery .v3-media-footer .v3-linkbtn{color:#72ce93}
/* The canonical profile keeps its real scouting, contact and report actions. */
.afma-v3 .v3-shortlist-host{display:contents}
.afma-v3 .hero .actions #tour-shortlist{
  min-height:46px;
  border:1px solid var(--olive);
  border-radius:8px;
  background:var(--olive);
  color:var(--pine);
  font-size:14px;
  font-weight:760;
  line-height:1.35;
  padding:9px 17px;
}
.afma-v3 .hero .actions #tour-shortlist:focus-visible,
.afma-v3 .hero .actions #report-link:focus-visible{
  outline:3px solid #d8f49a;
  outline-offset:3px;
}
.afma-v3 .v3-toaster-host:empty{display:none}
.afma-v3 .v3-toaster-host>.wrap{max-width:1180px;padding-inline:0}
.afma-v3 .v3-contact-form-wrap{padding:0}
.afma-v3 .v3-contact-form-wrap .v12-contact{
  grid-template-columns:minmax(0,1fr);
  gap:0;
  box-shadow:none;
}
.afma-v3 .v3-contact-form-wrap .v12-contact>div:first-child{
  padding:28px 30px 10px;
  background:#fff;
  color:var(--ink);
}
.afma-v3 .v3-contact-form-wrap .v12-contact>div:first-child p{color:#52675d}
.afma-v3 .v3-contact-form-wrap .v12-contact .contact-form{padding:12px 30px 30px}
.afma-v3 .v3-contact-form-wrap .v12-contact .contact-form label{font-size:14px;line-height:1.5}
.afma-v3 .v3-contact-form-wrap .v12-contact .field,
.afma-v3 .v3-contact-form-wrap .v12-contact textarea{
  min-height:48px;
  border:1px solid #bdc9c1;
  border-radius:8px;
  background:#fff;
  color:#10241c;
  font:inherit;
  padding:12px 14px;
}
.afma-v3 .v3-contact-form-wrap .v12-contact textarea{min-height:145px}
.afma-v3 .v3-contact-form-wrap .v12-contact :is(input,textarea):focus-visible{
  outline:3px solid #76a991;
  outline-offset:2px;
}
.afma-v3 .v3-contact-form-wrap .afma-contact-chips{display:flex;flex-wrap:wrap;gap:8px}
.afma-v3 .v3-contact-form-wrap .afma-contact-chips button{
  min-height:40px;
  padding:8px 12px;
  border:1px solid #c9d8ce;
  border-radius:999px;
  background:#f4f8f2;
  color:#153a2e;
  font:inherit;
  cursor:pointer;
}
.afma-v3 .v3-contact-form-wrap .afma-contact-chips button[aria-pressed="true"]{
  border-color:#187b4d;
  background:#e4f4e7;
}
.afma-v3 .v3-contact-form-wrap .afma-contact-privacy{font-size:13px;line-height:1.55;color:#42584d}
.afma-v3 .v3-contact-form-wrap .v15-contact-status{grid-column:1/-1}
.afma-v3 #v3-similar-host:empty{display:none}
@media(max-width:720px){
  .afma-v3 .v3-contact-form-wrap .v12-contact>div:first-child{padding:23px 20px 10px}
  .afma-v3 .v3-contact-form-wrap .v12-contact .contact-form{padding:12px 20px 22px}
}
.afma-v3 .v3-contact-form-wrap .v12-contact>div:first-child h2{
  max-width:620px;
  margin:8px 0 12px;
  font-size:clamp(25px,2.4vw,33px);
  line-height:1.14;
  letter-spacing:-.035em;
}
.afma-v3 .v3-contact-form-wrap .v12-contact>div:first-child p{
  font-size:15px;
  line-height:1.6;
}

/* DES-F3 — statistics controls: one clear scope / period / unit sequence. */
.afma-v3 #panel-stats .analytics-hero{gap:clamp(24px,3vw,40px)}
.afma-v3 #panel-stats .analytics-copy h2{
  max-width:25ch;
  margin:14px 0 13px;
  font-size:clamp(34px,3.55vw,52px);
  line-height:1.12;
  letter-spacing:-.055em;
  text-wrap:balance;
}
.afma-v3 #panel-stats .analytics-copy>p{max-width:62ch;font-size:15px;line-height:1.65}
.afma-v3 #panel-stats .hero-tags{gap:8px;margin-top:20px;font-size:12px}
.afma-v3 #panel-stats .hero-tags span{padding:8px 11px}
.afma-v3 #panel-stats .score-feature{padding:20px 21px}
.afma-v3 #panel-stats .score-value{font-size:clamp(64px,6.1vw,92px);letter-spacing:-.095em}
.afma-v3 #panel-stats .score-feature-label{font-size:11px}
.afma-v3 #panel-stats .score-sublabel{font-size:13px}
.afma-v3 #panel-stats .confidence-foot{font-size:11px}
.afma-v3 #panel-stats .analysis-switchboard{padding:18px 22px 16px;border-radius:16px;box-shadow:0 10px 28px rgba(16,47,35,.045)}
.afma-v3 #panel-stats .switchboard-head{align-items:center;gap:12px;margin-bottom:12px}
.afma-v3 #panel-stats .switchboard-head .tiny-heading{font-size:11px;letter-spacing:.14em}
.afma-v3 #panel-stats .switchboard-head .tiny-heading,
.afma-v3 #panel-stats .statistics-intro .tiny-heading{color:#52695b}
.afma-v3 #panel-stats :is(.statistics-intro,.breakdown-title,.competition-head) .tiny-heading{color:#52695b;font-size:11px;letter-spacing:.12em}
.afma-v3 #panel-stats .dataset-note{font-size:12px}
.afma-v3 #panel-stats .switchboard-flex{
  display:grid;
  grid-template-columns:minmax(330px,1.25fr) minmax(250px,1fr) minmax(190px,.78fr);
  align-items:start;
  gap:12px;
}
.afma-v3 #panel-stats .mode-select{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;width:100%;max-width:none;min-width:0;gap:8px 10px}
.afma-v3 #panel-stats .mode-select-label{grid-column:1/-1;margin:0;color:#52695b;font-size:11px;letter-spacing:.11em}
.afma-v3 #panel-stats .mode-btn{min-height:62px;padding:11px 13px;gap:10px;border-radius:11px}
.afma-v3 #panel-stats .mode-btn strong{font-size:14px;line-height:1.35}
.afma-v3 #panel-stats .mode-btn small{font-size:12px;line-height:1.4}
.afma-v3 #panel-stats .mode-btn:not(.is-current) small{color:#526f60}
.afma-v3 #panel-stats .mode-btn.is-current small{color:#c5ddcc}
.afma-v3 #panel-stats .mode-symbol{font-size:24px}
.afma-v3 #panel-stats #v3-stats-period-host{
  display:grid;
  align-content:start;
  gap:7px;
  min-width:0;
}
.afma-v3 #panel-stats #v3-stats-period-host>.field-upper,
.afma-v3 #panel-stats .filter-side>.field-upper{margin:0;color:#52695b;font-size:11px;letter-spacing:.11em}
.afma-v3 #panel-stats .v3-stat-period-select{
  width:100%;
  min-width:0;
  min-height:48px;
  padding:10px 13px;
  border:1px solid #cbd9cc;
  border-radius:9px;
  background:#fff;
  color:#17392d;
  font:inherit;
  font-size:14px;
}
.afma-v3 #panel-stats .v3-stat-period-note{color:#405f4e;font-size:12px;line-height:1.5}
.afma-v3 #panel-stats .filter-side{display:grid;align-content:start;gap:7px;min-width:0;width:100%}
.afma-v3 #panel-stats .unit-control{min-height:48px;padding:4px;gap:4px}
.afma-v3 #panel-stats .unit-btn{min-height:44px;padding:8px 10px;font-size:12px}
.afma-v3 #panel-stats .v3-stat-period-select:focus-visible,
.afma-v3 #panel-stats .unit-btn:focus-visible,
.afma-v3 #panel-stats .mode-btn:focus-visible{outline:3px solid #17633f;outline-offset:3px}
.afma-v3 #panel-stats .context-note{width:100%;max-width:100%;min-height:40px;align-items:center;margin-top:12px;padding:9px 13px;border-radius:10px;color:#52695b;font-size:13px;line-height:1.5}
.afma-v3 #panel-stats .scope-context-copy{min-width:0}
.afma-v3 #panel-stats .stats-kpis{gap:14px;margin-top:18px}
.afma-v3 #panel-stats .kpi{min-height:166px;padding:20px;border-radius:16px}
.afma-v3 #panel-stats .kpi-top{font-size:11px;letter-spacing:.09em}
.afma-v3 #panel-stats .kpi-main{gap:8px}
.afma-v3 #panel-stats .kpi-main strong{font-size:clamp(42px,4vw,58px);letter-spacing:-.065em}
.afma-v3 #panel-stats .kpi-unit{max-width:110px;font-size:12px;line-height:1.45}
.afma-v3 #panel-stats .kpi-bottom{font-size:11px;line-height:1.45}
.afma-v3 #panel-stats .statistics-intro{align-items:center;margin:30px 0 16px}
.afma-v3 #panel-stats .statistics-intro h3{font-size:clamp(24px,2.4vw,34px);line-height:1.2}
.afma-v3 #panel-stats .stat-presets{gap:7px}
.afma-v3 #panel-stats .stat-presets .preset{min-height:44px;padding:9px 13px;font-size:12px}
.afma-v3 #panel-stats .charts-grid{gap:16px}
.afma-v3 #panel-stats .analysis-card{padding:23px 24px;border-radius:16px;box-shadow:0 8px 24px rgba(16,47,35,.04)}
.afma-v3 #panel-stats .analysis-card h4{font-size:22px;line-height:1.2}
.afma-v3 #panel-stats .analysis-card>p{font-size:14px;line-height:1.6}
.afma-v3 #panel-stats .analysis-card:not(.radar-card) .eyeline{color:#52695b;font-size:10px}
.afma-v3 #panel-stats .radar-card .eyeline{color:#c5decb;font-size:10px}
.afma-v3 #panel-stats .card-badge{color:#3d6844;font-size:10px}
.afma-v3 #panel-stats .card-badge.muted-badge{color:#d5eece}
.afma-v3 #panel-stats .precision-list{gap:20px;margin-top:24px}
.afma-v3 #panel-stats .precision-header{font-size:14px}
.afma-v3 #panel-stats .precision-header small{color:#536f61;font-size:12px}
.afma-v3 #panel-stats .precision-header b{font-size:23px}
.afma-v3 #panel-stats .precision-helper{font-size:11px}
.afma-v3 #panel-stats .chart-footnote{margin-top:20px;padding-top:12px;font-size:12px}
.afma-v3 #panel-stats .comp-pill small{color:#526f60;font-size:12px}
.afma-v3 #panel-stats .competition-selector>.field-upper{color:#52695b;font-size:11px}
.afma-v3 #panel-stats .comp-status{color:#765014}
.afma-v3 #panel-stats .comp-status.okay{color:#315d2c}
.afma-v3 #panel-stats .competition-head p{color:#52695b;font-size:14px;line-height:1.55}
.afma-v3 #panel-stats .section-counter{color:#52695b}
.afma-v3 #panel-stats .competition-table th{color:#52695b;font-size:11px}
.afma-v3 #panel-stats .competition-table td small{color:#536f61;font-size:11px}
.afma-v3 #panel-stats .table-tag.unverified-tag{color:#77521f}
.afma-v3 #panel-stats .table-tag.source-tag{color:#35665f}
.afma-v3 #panel-stats .comp-table-foot{color:#52695b;font-size:12px;line-height:1.5}
.afma-v3 #panel-stats .detail-overline{color:#52695b;font-size:10px}
.afma-v3 #panel-stats .detail-stats>div span{color:#536f61}
.afma-v3 #panel-stats .detail-bot{color:#52695b;font-size:12px;line-height:1.5}
.afma-v3 #panel-stats .detail-stats .unverified{color:#77521f}
.afma-v3 #panel-stats .mobile-comp-alert{color:#77521f}
.afma-v3 #panel-stats .radar-legend>div{font-size:12px}
.afma-v3 #panel-stats .radar-foot{font-size:13px;line-height:1.55}
.afma-v3 #panel-stats .data-qa{gap:16px;padding:22px 24px;border-radius:15px}
.afma-v3 #panel-stats .data-qa h3{font-size:21px;line-height:1.25}
.afma-v3 #panel-stats .data-qa p{font-size:14px;line-height:1.65}
.afma-v3 #panel-stats .quality-level{font-size:12px;line-height:1.4}
@media(max-width:1000px){
  .afma-v3 #panel-stats .switchboard-flex{grid-template-columns:minmax(0,1fr) minmax(210px,.85fr);gap:14px}
  .afma-v3 #panel-stats .mode-select{grid-column:1/-1}
}
@media(max-width:720px){
  .afma-v3 #panel-stats .analytics-hero{gap:22px}
  .afma-v3 #panel-stats .analytics-copy h2{font-size:clamp(32px,7.3vw,44px)}
  .afma-v3 #panel-stats .analysis-switchboard{padding:18px 16px}
  .afma-v3 #panel-stats .context-note{width:100%}
  .afma-v3 #panel-stats .switchboard-head{align-items:flex-start;flex-direction:column}
  .afma-v3 #panel-stats .switchboard-flex{grid-template-columns:minmax(0,1fr);gap:14px}
  .afma-v3 #panel-stats .mode-select,
  .afma-v3 #panel-stats #v3-stats-period-host,
  .afma-v3 #panel-stats .filter-side{grid-column:1;min-width:0;width:100%}
  .afma-v3 #panel-stats .stats-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  .afma-v3 #panel-stats .kpi{min-height:150px;padding:17px}
  .afma-v3 #panel-stats .kpi-main strong{font-size:clamp(40px,7vw,52px)}
  .afma-v3 #panel-stats .statistics-intro{align-items:flex-start;flex-direction:column;gap:14px}
  .afma-v3 #panel-stats .stat-presets{width:100%;flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:8px}
  .afma-v3 #panel-stats .stat-presets .preset{flex:0 0 auto;scroll-snap-align:start}
  .afma-v3 #panel-stats .charts-grid{grid-template-columns:minmax(0,1fr)}
  .afma-v3 #panel-stats .mobile-comp-top small{color:#536f60;font-size:12px}
  .afma-v3 #panel-stats .mobile-comp-numbers small{color:#536f60;font-size:11px}
  .afma-v3 #panel-stats .mobile-comp-alert{font-size:12px}
}
@media(max-width:460px){
  .afma-v3 #panel-stats .analytics-copy h2{font-size:clamp(30px,8vw,37px)}
  .afma-v3 #panel-stats .analytics-copy>p{font-size:14px}
  .afma-v3 #panel-stats .hero-tags{font-size:11px}
  .afma-v3 #panel-stats .hero-tags span{font-size:11px}
  .afma-v3 #panel-stats .mode-select{grid-template-columns:minmax(0,1fr)}
  .afma-v3 #panel-stats .mode-select-label{grid-column:1}
  .afma-v3 #panel-stats .mode-btn{width:100%;min-height:56px}
  .afma-v3 #panel-stats .kpi{min-height:138px;padding:14px 12px}
  .afma-v3 #panel-stats .kpi-main strong{font-size:clamp(36px,10vw,44px)}
  .afma-v3 #panel-stats .kpi-unit{font-size:11px}
  .afma-v3 #panel-stats .kpi-top{font-size:10px;letter-spacing:.07em}
  .afma-v3 #panel-stats .kpi-bottom{font-size:10px}
  .afma-v3 #panel-stats .analysis-card{padding:20px 17px}
  .afma-v3 #panel-stats .data-qa{padding:18px 16px}
  .afma-v3 #panel-stats .comp-pill>span:nth-child(2){flex:1;min-width:0}
  .afma-v3 #panel-stats .comp-status{max-width:105px;white-space:normal;text-align:center;font-size:9px;line-height:1.25}
}
@media(max-width:520px){
  .afma-v3 #panel-stats .stats-kpis{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:355px){
  .afma-v3 #panel-stats .stats-kpis{grid-template-columns:minmax(0,1fr)}
}

/* Match log: carry the dossier palette through the shared interactive board. */
.afma-v3 #panel-matches .v3-section-top{margin-bottom:20px}
.afma-v3 #panel-matches #v3-match-board-host{min-width:0;width:100%}
.afma-v3 #panel-matches [data-afma-match-board]{
  display:grid;
  gap:16px;
  min-width:0;
  padding:clamp(16px,2vw,24px);
  border:1px solid #dce6da;
  border-radius:18px;
  background:#fff;
  box-shadow:0 14px 34px rgba(16,47,35,.055);
}
.afma-v3 #panel-matches [data-match-summary]{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 14px;
  margin:0;
  padding:0 0 14px;
  border-bottom:1px solid #e6ece3;
}
.afma-v3 #panel-matches [data-match-summary]>b{
  color:#102d24;
  font-family:var(--font-barlow),sans-serif;
  font-size:clamp(23px,2.3vw,30px);
  font-weight:800;
  line-height:1.1;
  letter-spacing:-.035em;
  word-spacing:.1em;
}
.afma-v3 #panel-matches [data-match-summary]>span{
  color:#526d5e;
  font-size:13px;
}
.afma-v3 #panel-matches [data-match-summary]>[data-match-unknown]{
  color:#815e29;
  font-size:13px;
}
.afma-v3 #panel-matches [data-match-summary]>[data-match-goals]{
  margin-left:auto;
  padding:7px 10px;
  border:1px solid #dcebd8;
  border-radius:999px;
  background:#f2f7ee;
  color:#315e43;
  font-size:12px;
  font-weight:700;
  font-variant-numeric:tabular-nums;
}
.afma-v3 #panel-matches [data-match-ribbon]{
  gap:8px;
  height:100px;
}
.afma-v3 #panel-matches [data-match-ribbon] li{min-width:38px}
.afma-v3 #panel-matches [data-match-ribbon] button{
  width:28px;
  border-radius:5px 5px 2px 2px;
  box-shadow:inset 0 1px rgba(255,255,255,.18);
}
.afma-v3 #panel-matches [data-match-ribbon] button:focus-visible,
.afma-v3 #panel-matches [data-match-ribbon] button[aria-pressed="true"]{
  outline-color:#2b895c;
}
.afma-v3 #panel-matches [data-match-selection]{
  min-height:0;
  margin:0;
  padding:11px 14px;
  border:1px solid #e1ebdc;
  border-left:3px solid #31845b;
  border-radius:0 9px 9px 0;
  background:#f5f8f1;
  color:#244a35;
  font-size:14px;
  line-height:1.55;
}
.afma-v3 #panel-matches [data-match-selection] span{color:#536f60}
.afma-v3 #panel-matches [data-match-filters]{
  display:flex;
  flex-wrap:wrap;
  align-items:end;
  gap:12px;
  margin:0;
  padding:14px;
  border:1px solid #dce7da;
  border-radius:12px;
  background:#f8faf6;
}
.afma-v3 #panel-matches [data-match-filters] label{
  flex:1 1 145px;
  min-width:130px;
  gap:6px;
  color:#476253;
  font-size:12px;
  font-weight:750;
}
.afma-v3 #panel-matches [data-match-filters] :is(select,input){
  width:100%;
  min-width:0;
  min-height:44px;
  padding:0 11px;
  border:1px solid #cbd9cb;
  border-radius:8px;
  background:#fff;
  color:#183a2d;
  font:inherit;
  font-size:13px;
}
.afma-v3 #panel-matches [data-match-filters] :is(select,input):focus-visible,
.afma-v3 #panel-matches [data-match-filters] button:focus-visible,
.afma-v3 #panel-matches [data-match-pagination] button:focus-visible,
.afma-v3 #panel-matches [data-match-table] button:focus-visible{
  outline:3px solid #17633f;
  outline-offset:2px;
}
.afma-v3 #panel-matches [data-match-report-toggle]{
  flex:1 1 180px;
  min-height:44px;
  border-radius:8px;
  border-color:#268c59;
  color:#1b6544;
}
.afma-v3 #panel-matches [data-match-report-toggle][aria-pressed="true"]{
  background:#218b5c;
  color:#fff;
}
.afma-v3 #panel-matches [data-match-reset]{
  min-height:44px;
  padding:0 14px;
  border:1px solid #bdcebf;
  border-radius:8px;
  background:#fff;
  color:#385a45;
  font:inherit;
  font-size:13px;
  font-weight:750;
  cursor:pointer;
}
.afma-v3 #panel-matches [data-match-reset]:disabled{opacity:.48;cursor:default}
.afma-v3 #panel-matches [data-match-count]{
  margin:0;
  color:#60786a;
  font-size:13px;
}
.afma-v3 #panel-matches [data-match-table-wrap]{
  min-width:0;
  overflow-x:auto;
  border:1px solid #dfe8dc;
  border-radius:12px;
  background:#fff;
  scrollbar-width:thin;
  scrollbar-color:#8ca998 #eff4ee;
}
.afma-v3 #panel-matches [data-match-table-wrap]:focus-visible{
  outline:3px solid #17633f;
  outline-offset:3px;
}
.afma-v3 #panel-matches [data-match-table]{
  width:100%;
  min-width:680px;
  border-collapse:collapse;
  color:#253f32;
  font-size:14px;
}
.afma-v3 #panel-matches [data-match-table]>thead th{
  padding:12px 13px;
  border-bottom:1px solid #d8e3d5;
  background:#f3f7f0;
  color:#4e6b59;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.afma-v3 #panel-matches [data-match-table]>tbody td{
  padding:12px 13px;
  border-bottom:1px solid #e7ede4;
  color:#2b4637;
  vertical-align:middle;
}
.afma-v3 #panel-matches [data-match-table]>tbody tr:last-child td{border-bottom:0}
.afma-v3 #panel-matches [data-match-table]>tbody tr:hover td{background:#f8faf6}
.afma-v3 #panel-matches [data-match-result]{
  min-width:24px;
  padding:3px 6px;
  border-radius:5px;
}
.afma-v3 #panel-matches [data-match-result="win"]{background:#1d6546}
.afma-v3 #panel-matches [data-match-result="draw"]{background:#64766b}
.afma-v3 #panel-matches [data-match-result="loss"]{background:#a34337}
.afma-v3 #panel-matches [data-match-table] button{
  min-height:36px;
  border:1px solid #b7cdb9;
  border-radius:8px;
  background:#f7faf5;
  color:#1b6745;
}
.afma-v3 #panel-matches [data-match-table] button[aria-expanded="true"]{
  border-color:#174b34;
  background:#174b34;
  color:#fff;
}
.afma-v3 #panel-matches [data-match-empty]{
  margin:0;
  padding:22px;
  border:1px dashed #c5d6c3;
  border-radius:12px;
  background:#f7faf4;
  color:#4e6b59;
  text-align:center;
}
.afma-v3 #panel-matches [data-match-pagination]{
  padding-top:12px;
  border-top:1px solid #e6ece3;
}
.afma-v3 #panel-matches [data-match-pagination] button{
  min-height:42px;
  padding:0 15px;
  border:1px solid #b8cdbb;
  border-radius:8px;
  background:#fff;
  color:#1b6544;
  font:inherit;
  font-size:12px;
  font-weight:750;
}
.afma-v3 #panel-matches [data-match-pagination] button:disabled{opacity:.45}
@media(max-width:640px){
  .afma-v3 #panel-matches [data-afma-match-board]{gap:13px;padding:14px;border-radius:14px}
  .afma-v3 #panel-matches [data-match-summary]>[data-match-goals]{margin-left:0}
  .afma-v3 #panel-matches [data-match-filters]{gap:10px;padding:12px}
  .afma-v3 #panel-matches [data-match-filters] label{flex-basis:calc(50% - 10px)}
  .afma-v3 #panel-matches [data-match-report-toggle],
  .afma-v3 #panel-matches [data-match-reset]{width:100%;flex-basis:100%}
}

/* Bring the standalone player dossier onto the site's shared AFMA type and color system. */
.afma-v3{
  --ink:#08120d;
  --forest:#185838;
  --pine:#08120d;
  --olive:#b9f35a;
  --paper:#f4f5f0;
  --line:#d5dbd4;
  --mist:#e9ede7;
  font-family:var(--sans,"Inter",system-ui,sans-serif);
}
.afma-v3 :is(h1,h2,h3,h4,.v3-title){
  font-family:var(--display,"Barlow Condensed","Arial Narrow",sans-serif);
}

/* Premium V3 evidence visibility and mobile containment. */
.afma-v3 #panel-stats .data-qa{display:grid;gap:8px;border-left:4px solid var(--v3-gold);background:#fffdf6;padding:14px 16px;margin-block:0 18px}
.afma-v3 #panel-stats .quality-level{display:inline-flex;width:fit-content;max-width:100%;align-items:center;min-height:32px;padding:6px 10px;border:1px solid #b7c99d;border-radius:999px;color:#173d28;background:#eef7e7;font-size:11px;font-weight:850;letter-spacing:.06em;line-height:1.25}
.afma-v3 #panel-stats .data-qa p{margin:0;line-height:1.55}
.afma-v3 .v3-evidence-coverage-warning{color:#6d4b12!important;font-weight:700}
.afma-v3 .competition-table,.afma-v3 .stats-table,.afma-v3 .statsbox{min-width:0;max-width:100%}
.afma-v3 .competition-table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
.afma-v3 .competition-table table{min-width:620px}
.afma-v3 .v3-stat-period-select{max-width:100%;min-width:0}
@media(max-width:720px){
  .afma-v3 #panel-stats .data-qa{padding:12px 13px;margin-bottom:14px}
  .afma-v3 #panel-stats .quality-level{font-size:10px;letter-spacing:.04em}
  .afma-v3 .analysis-switchboard{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
  .afma-v3 .analysis-switchboard>*{min-width:0;max-width:100%}
  .afma-v3 .competition-table{margin-inline:-2px}
  .afma-v3 .competition-table table{min-width:560px}
}
@media(max-width:390px){
  .afma-v3 #panel-stats .quality-level{width:100%;justify-content:center;text-align:center}
  .afma-v3 .competition-table table{min-width:520px}
}
.afma-v3 :where(.afma-v3){isolation:isolate}

/* The fixed mobile tab bar already supports navigation; keep the floating control
   from covering dossier copy on narrow screens. */
@media(max-width:420px){body:has(.afma-v3) .back-to-top{display:none}}

/* Animate data-backed stats when they enter view, while keeping reduced motion clear. */
@keyframes afma-premium-chart-grow{
  from{transform:scaleX(0)}
  to{transform:scaleX(1)}
}
@media(prefers-reduced-motion:no-preference){
  .afma-v3 #panel-stats:not([hidden]) .precision-fill{
    transform-origin:left center;
    animation:afma-premium-chart-grow 520ms cubic-bezier(.2,.75,.25,1) both;
  }
  .afma-v3 #panel-stats:not([hidden]) .confidence-track>div{
    transition:width 480ms cubic-bezier(.2,.75,.25,1);
  }
}
@media(prefers-reduced-motion:reduce){
  .afma-v3 .tabpanel{animation:none!important}
}
