.woocommerce-account .editorial{max-width:1100px;min-height:55vh}.woocommerce-account .woocommerce-MyAccount-navigation{display:block;width:100%;float:none;margin:10px 0 30px}.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:10px 22px;list-style:none;padding:0}.woocommerce-account .woocommerce-MyAccount-navigation a{padding:8px 0}.woocommerce-account .is-active>a{font-weight:bold}.woocommerce-account .woocommerce-MyAccount-content{width:100%;float:none}.tnfa-cards,.tnfa-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px}.tnfa-card{background:#203f8b;color:white;border-radius:10px;padding:24px}.tnfa-card h3{font-size:27px;margin:12px 0}.tnfa-card small{color:#ffe344}.tnfa-details div{padding:14px;border-top:1px solid #ced8e5}.tnfa-details dd{margin:5px 0;overflow-wrap:anywhere}.tnfa-history{margin:28px 0}#tnf-aff-results button{display:block;width:100%;padding:9px;text-align:left;cursor:pointer}
#tnfa-person{position:relative;z-index:12;margin-left:auto;color:#fff;flex-shrink:0}#navigation #tnfa-person{margin:0}#tnfa-person summary,#tnfa-person .tnfa-anon{display:grid;place-items:center;list-style:none;cursor:pointer;width:42px;height:42px;border-radius:50%;border:1px solid #ffffff85;background:#2d518b;color:white;overflow:hidden}#tnfa-person summary::-webkit-details-marker{display:none}.tnfa-face{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}.tnfa-face:not(img){padding:5px}.tnfa-pop{position:absolute;right:0;top:calc(100% + 6px);background:white;color:#193663;border:1px solid #d4dce6;box-shadow:0 8px 22px #132e5326;border-radius:12px;padding:6px;min-width:160px}.tnfa-pop a{display:block;text-decoration:none;font-size:16px;padding:9px 12px}.tnfa-pop a:hover{background:#eef3f8;border-radius:8px}.woocommerce-MyAccount-content>.tnfa-face{width:62px;height:62px;background:#214589;color:#fff}.tnfa-invoice{margin:18px 0;border:1px solid #c8d2e2;border-radius:12px;padding:18px}.tnfa-cards{gap:20px}.tnfa-card{border-radius:20px;background:linear-gradient(145deg,#17356e,#275597);padding:22px 24px}.tnfa-city{width:72px;height:52px;display:block;margin-bottom:18px}.tnfa-card:nth-child(even){background:linear-gradient(145deg,#213958,#47617c)}@media(max-width:900px){header .mobile-menu{margin-left:auto}header #tnfa-person{margin-left:4px}header #navigation{order:5}}

.tnfa-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
#tnfa-photo{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 20px;scroll-margin:100px}
.tnfa-photo-control{position:relative;display:block;width:90px;height:90px;background:#234386;color:white;border-radius:50%;overflow:hidden;cursor:pointer}
.tnfa-photo-control input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.tnfa-photo-control span{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:0 8px;background:rgba(7,18,38,.72);color:white;font:600 13px/1.2 sans-serif;opacity:0}
.tnfa-photo-control:hover span,.tnfa-photo-control:focus-within span{opacity:1}
.tnfa-photo-control:focus-within{outline:3px solid #4375cf;outline-offset:3px}
.tnfa-auto .tnfa-photo-save{display:none}.tnfa-remove{background:none;color:#234386;border:0;text-decoration:underline;cursor:pointer}
@media(hover:none){.tnfa-photo-control span{opacity:1}}
.woocommerce-account #customer_login{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.35fr);align-items:start;gap:clamp(16px,3vw,40px);padding:20px 0 40px}
.woocommerce-account #customer_login::before,.woocommerce-account #customer_login::after{display:none}
.woocommerce-account #customer_login>div{width:auto;float:none;min-width:0;border:1px solid #d6e0ed;border-radius:20px;padding:clamp(16px,3vw,32px);background:white;color:#19355d}
.woocommerce-account #customer_login>div:first-child{background:#eef3fa;border-top:5px solid #214389}
.woocommerce-account #customer_login h2{margin:0 0 18px;letter-spacing:-.025em}
.woocommerce-account #customer_login form{padding:0;border:0;margin:0}
#customer_login :is(input:not([type=checkbox],[type=radio],[type=hidden],[type=submit]),select){width:100%;box-sizing:border-box;border:1px solid #aebccf;border-radius:8px;background:white;color:#142f55;min-height:44px;padding:8px 12px;font:inherit}
#customer_login :focus-visible{outline:2px solid #2459a9;outline-offset:2px}
#customer_login label{line-height:1.55}#customer_login .tnfa-invoice{min-width:0;background:#f7f9fc;padding:16px}
#customer_login button[type=submit]{background:#213f87;color:white;border:0;border-radius:24px;padding:12px 23px;font-weight:650;cursor:pointer}
#customer_login button[type=submit]:hover{background:#b80030}
@media(max-width:720px){.woocommerce-account #customer_login,.tnfa-cards{grid-template-columns:minmax(0,1fr)}}
/* 1.5 vertical account navigation and ORCID */
.woocommerce-account .editorial>.woocommerce:has(>.woocommerce-MyAccount-navigation){display:grid;grid-template-columns:190px minmax(0,1fr);gap:36px;align-items:start}
.woocommerce-account .editorial>.woocommerce::before,.woocommerce-account .editorial>.woocommerce::after{display:none}
.woocommerce-account .woocommerce-MyAccount-navigation{width:auto;float:none;margin:0}
.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;flex-direction:column;gap:8px;margin:0}
.woocommerce-account .woocommerce-MyAccount-navigation li{width:100%;list-style:none}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:12px 16px;border-radius:10px;text-decoration:none;background:#eef2f8}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{background:#203f8b;color:#fff}
.woocommerce-account .woocommerce-MyAccount-content{min-width:0;width:100%}
.tnfa-orcid{display:inline-flex;align-items:center;gap:8px;text-decoration:none;border:1px solid #6a8b1c;color:#36540b;border-radius:24px;padding:6px 12px;background:#fff;font-weight:600;font-size:14px}
.tnfa-orcid span{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#a6ce39;color:#243800}
@media(max-width:700px){.woocommerce-account .editorial>.woocommerce:has(>.woocommerce-MyAccount-navigation){grid-template-columns:minmax(0,1fr);gap:24px}}
.woocommerce-account .editorial .woocommerce-MyAccount-navigation,.woocommerce-account .editorial .woocommerce-MyAccount-content{width:100%!important;float:none!important}
.woocommerce-account .editorial .woocommerce-MyAccount-navigation a{width:100%;box-sizing:border-box}
