.tf-account-page{background:linear-gradient(180deg,#f4f8fb 0%,#fff 58%);min-height:640px;padding:clamp(64px,9vw,112px) 20px}
.tf-account-shell{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,460px);gap:clamp(40px,8vw,120px);align-items:start;max-width:1120px;margin:0 auto}
.tf-account-intro{padding-top:12px}.tf-account-intro h1{max-width:650px;margin:12px 0 24px}.tf-account-intro p{max-width:590px;color:#536b82;font-size:18px}
.tf-account-card{background:#fff;border:1px solid #d9e4ec;border-radius:16px;box-shadow:0 18px 50px #112b4612;padding:clamp(26px,4vw,42px)}
.tf-account-card h2{font-size:26px;margin:0 0 8px}.tf-account-card>p{color:#536b82;margin:0 0 24px}
.tf-account-form{display:grid;gap:16px}.tf-account-form label{font-size:14px;font-weight:700;color:#173652}.tf-account-form input{width:100%;box-sizing:border-box;margin-top:7px;padding:13px 14px;border:1px solid #b9ccd9;border-radius:8px;background:#fff;color:#112b46;font:16px/1.4 inherit}.tf-account-form input:focus{outline:3px solid #8fc6f044;border-color:#1764ad}
.tf-account-form .tf-account-remember{display:flex;align-items:center;gap:10px}.tf-account-form .tf-account-remember input{width:18px;height:18px;margin:0;accent-color:#0b63b6}
.tf-account-shell--auth{grid-template-columns:minmax(0,1fr) minmax(320px,440px);gap:clamp(32px,6vw,80px)}
body.account-auth .tf-account-page{box-sizing:border-box;width:100%;max-width:100%;min-height:0;padding:clamp(28px,5vh,56px) 20px}
.tf-account-shell--auth{box-sizing:border-box;width:min(1120px,100%);min-width:0;gap:clamp(28px,4vw,64px)}
.tf-account-shell--auth>*{min-width:0}
.tf-account-card--auth{box-sizing:border-box;min-width:0;padding:clamp(22px,2.5vw,30px)}
body.account-auth .tf-account-intro{padding-top:clamp(44px,5vh,64px)}
body.account-auth .tf-account-intro>.tf-eyebrow{margin-top:0!important}
.tf-account-card--auth>h2{margin-bottom:6px;font-family:var(--tf-sans,'Plus Jakarta Sans',Arial,sans-serif)!important;font-size:var(--tf-type-subheading)!important;line-height:1.25!important}
.tf-account-form--auth{gap:10px;min-width:0}
.tf-account-form--auth>label,.tf-account-form--auth .tf-account-form__row>label{display:grid;gap:4px;min-width:0}
.tf-account-form--auth input:not([type=checkbox]){box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:44px;margin-top:0;padding:8px 12px}
.tf-account-form__row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;min-width:0}
.tf-account-form__row>label{min-width:0}
@media(max-width:760px){body.account-auth .tf-account-page{padding-block:32px}body.account-auth .tf-account-intro{padding-top:0}.tf-account-shell--auth{grid-template-columns:minmax(0,1fr);gap:24px}}
@media(max-width:520px){body.account-auth .tf-account-page{padding:24px 16px}.tf-account-form__row{grid-template-columns:minmax(0,1fr)}.tf-account-card--auth{padding:20px}}
.tf-account-submit{border:0;cursor:pointer;width:100%;justify-content:center}.tf-account-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:20px;font-size:14px}.tf-account-links a{color:#075eaf;font-weight:700}.tf-account-status{padding:12px 14px;background:#eaf6ef;color:#17643b;border-radius:8px;margin:0 0 18px}.tf-account-errors{padding:12px 14px;background:#fff0f0;color:#a12d2d;border-radius:8px;margin:0 0 18px}.tf-account-errors ul{margin:0;padding-left:18px}
.tf-account-summary{display:grid;gap:18px}.tf-account-summary-row{padding:18px 0;border-top:1px solid #dce6ed}.tf-account-summary-row strong{display:block;color:#173652;font-size:14px;margin-bottom:4px}.tf-account-summary-row span{color:#536b82}.tf-account-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px}.tf-account-actions form{margin:0}
@media (max-width:760px){.tf-account-shell{grid-template-columns:1fr}.tf-account-page{min-height:0}.tf-account-intro p{font-size:16px}}

/* Unified account dashboard */
.tf-account-shell.tf-unified-account{grid-template-columns:minmax(0,1fr) minmax(280px,360px);column-gap:clamp(28px,5vw,68px);row-gap:44px;max-width:1240px}
.tf-unified-welcome h1{max-width:760px}
.tf-account-section-heading{margin:0 0 22px}
.tf-account-section-heading .tf-eyebrow{margin:0 0 8px;color:#c98100}
.tf-account-section-heading h2{margin:0 0 8px;color:#112b46}
.tf-account-section-heading>p:last-child{margin:0;color:#536b82}
.tf-account-wings,.tf-account-learning{grid-column:1/-1;min-width:0}
.tf-account-wing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.tf-account-wing-card{display:flex;min-width:0;flex-direction:column;align-items:flex-start;padding:22px;border:1px solid #d9e4ec;border-radius:14px;background:#fff;box-shadow:0 10px 28px #112b4608}
.tf-account-wing-card .tf-eyebrow{margin:0 0 8px;color:#c98100}
.tf-account-wing-card h3{margin:0 0 8px;color:#112b46;font-size:var(--tf-type-subheading,26px);line-height:1.2}
.tf-account-wing-card>p:not(.tf-eyebrow){margin:0 0 18px;color:#536b82}
.tf-account-wing-card>a{display:inline-flex;align-items:center;gap:8px;margin-top:auto;color:#075eaf;font-weight:700;text-decoration:none}
.tf-account-wing-card>a:hover{text-decoration:underline;text-underline-offset:3px}
.tf-account-wing-card--academy{border-color:#e5c57e;background:linear-gradient(180deg,#fffaf0,#fff)}
.tf-account-learning{padding-top:36px;border-top:1px solid #d9e4ec;scroll-margin-top:24px}
.tf-account-academy-block{margin-bottom:26px}
.tf-account-academy-block>h3,.tf-account-academy-grid>section>h3,.tf-account-academy-grid>aside>h3{margin:0 0 14px;color:#112b46;font-family:var(--tf-serif,'Lora',Georgia,serif);font-size:var(--tf-type-subheading,26px);line-height:1.2}
.tf-account-academy-grid{grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:20px}
.tf-account-academy-grid .academy-dashboard-card{padding:20px}
.tf-account-academy-grid .academy-dashboard-card h4{margin:0 0 8px;color:#112b46;font-size:var(--tf-type-subheading,26px);line-height:1.2}
.tf-account-progress-list{display:grid;gap:6px;margin:12px 0 0;padding:0;list-style:none}
.tf-account-progress-list li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:9px;align-items:center;padding:7px 0;border-bottom:1px solid #edf1f4}
.tf-account-progress-list form{margin:0}
.tf-account-progress-list .academy-link{padding:0;font:inherit}
.tf-account-academy-catalogue{margin:22px 0 0}
@media(max-width:1050px){.tf-account-wing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.tf-account-shell.tf-unified-account{grid-template-columns:1fr;row-gap:34px}.tf-account-wings,.tf-account-learning{grid-column:auto}.tf-account-wing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.tf-account-wing-grid{grid-template-columns:1fr}.tf-account-wing-card{padding:20px}.tf-account-progress-list li{grid-template-columns:auto minmax(0,1fr)}.tf-account-progress-list li form{grid-column:2}}
.tf-auth-footer{padding:12px 0!important;background:var(--tf-navy,#09243b)}
.tf-auth-footer__inner{display:flex;align-items:center;justify-content:center;gap:8px;color:#d8e2eb;font-size:12px}
.tf-auth-footer__inner a{color:#fff;text-decoration:underline;text-underline-offset:3px}
body.account-auth{margin:0}
body.account-auth{min-height:100vh;display:flex;flex-direction:column}
body.account-auth #main{display:flex;flex:1 0 auto;flex-direction:column;justify-content:center}
body.account-auth #site-header,body.account-auth #site-footer{flex-shrink:0}
body.account-auth .tf-account-page{background:linear-gradient(110deg,rgba(244,248,251,.68),rgba(255,255,255,.78)),url('/assets/account-background.jpg') center/cover no-repeat}
@media(max-width:420px){.tf-auth-footer{padding:10px 0!important}.tf-auth-footer__inner{gap:6px;font-size:11px}}
body.account-auth .tf-account-card--auth{padding:20px 24px}
body.account-auth .tf-account-card--auth>p{margin-bottom:16px}
body.account-auth .tf-account-form--auth{gap:8px}
body.account-auth .tf-account-form--auth input:not([type=checkbox]){min-height:40px;padding-block:7px}
body.account-auth .tf-account-submit{min-height:42px;padding-block:10px}
body.account-auth .tf-account-links{margin-top:12px}
@media(max-width:520px){body.account-auth .tf-account-card--auth{padding:18px}}
