/* Akademia — styles isolated from the global header, account and competitions. */
.tfpa-page{--ap-navy:#09283c;--ap-ink:#142d42;--ap-muted:#586e80;--ap-line:#dce5eb;--ap-soft:#f1f5f8;--ap-blue:#0964d9;background:#f4f7f9;color:var(--ap-ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.55;min-height:70vh;padding:22px 0 0;isolation:isolate}
.tfpa-page *{box-sizing:border-box}.tfpa-page [hidden]{display:none!important}.tfpa-page h1,.tfpa-page h2,.tfpa-page h3,.tfpa-page p{margin:0}.tfpa-page h1,.tfpa-page h2,.tfpa-page h3{color:var(--ap-ink);text-wrap:balance;line-height:1.2;letter-spacing:-.025em}.tfpa-page h1{font-size:clamp(27px,3vw,40px);font-weight:800}.tfpa-page h2{font-size:24px;font-weight:750}.tfpa-page h3{font-size:17px;font-weight:750}.tfpa-page p{color:var(--ap-muted);line-height:1.6}.tfpa-page a{text-decoration:none}.tfpa-page a:focus-visible,.tfpa-page button:focus-visible,.tfpa-page summary:focus-visible{outline:3px solid #2b8ce6;outline-offset:3px}.tfpa-page button,.tfpa-page input,.tfpa-page select,.tfpa-page textarea{font:inherit}.tfpa-page svg{flex:0 0 auto}.tfpa-wrap{width:min(1480px,calc(100% - 48px));margin:auto}.tfpa-hub-nav{display:flex;gap:24px;align-items:center;margin-bottom:20px;border-bottom:1px solid var(--ap-line)}.tfpa-hub-nav a{font-size:14px;font-weight:700;color:var(--ap-muted);padding:11px 0 13px;min-height:44px;border-bottom:2px solid transparent;margin-bottom:-1px}.tfpa-hub-nav a:hover{color:var(--ap-ink)}.tfpa-hub-nav a[aria-current]{color:var(--ap-navy);border-bottom-color:var(--ap-blue)}
.tfpa-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:28px;background:linear-gradient(115deg,#071a2b 0%,#0b3048 65%,#12516a 100%);border:1px solid #244658;border-radius:20px;padding:32px 36px;margin-bottom:26px;box-shadow:0 12px 30px #09283c0b}.tfpa-hero::after{content:"";position:absolute;width:290px;height:290px;border:1px solid #99d5e71a;right:-70px;top:-110px;border-radius:50%;box-shadow:0 0 0 35px #7bc8e208,0 0 0 70px #7bc8e206;pointer-events:none}.tfpa-hero>div,.tfpa-hero>a{position:relative;z-index:1}.tfpa-hero h1{color:#fff;margin:8px 0 10px;max-width:900px;overflow-wrap:anywhere}.tfpa-hero p{color:#c4d7e3;max-width:720px;font-size:15px}.tfpa-hero .tfpa-eyebrow{color:#8fc4df}.tfpa-hero--compact{padding:25px 30px}.tfpa-hero--compact h1{font-size:clamp(26px,2.8vw,35px)}.tfpa-hero-meta{font-size:13px;color:#bed5e4;margin-top:15px;overflow-wrap:anywhere}.tfpa-eyebrow{font-size:10px;font-weight:800;letter-spacing:.14em;line-height:1.5;text-transform:uppercase;color:#426f8c;display:block}.tfpa-section-heading{margin-bottom:22px}.tfpa-section-heading h2{margin:7px 0 9px;font-size:clamp(24px,2.2vw,30px)}.tfpa-section-heading p{max-width:780px;font-size:14px}
.tfpa-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:11px 18px;border-radius:9px;border:1px solid transparent;background:var(--ap-navy);color:#fff!important;font-size:14px!important;font-weight:750;line-height:1.3;text-align:center;cursor:pointer;transition:background .15s,box-shadow .15s;flex-shrink:0}.tfpa-btn:hover{background:#134867;box-shadow:0 3px 10px #123d5120}.tfpa-btn--light{background:#fff;color:var(--ap-navy)!important;border-color:#ffffff40}.tfpa-btn--light:hover{background:#e7f3fa}.tfpa-btn--soft{background:#edf4f8;color:var(--ap-navy)!important;border-color:#dbe7ef}.tfpa-btn--soft:hover{background:#dfeef7}.tfpa-btn:disabled{opacity:.65;cursor:wait}.tfpa-link{display:inline-flex;align-items:center;min-height:44px;padding:6px 0;background:none;border:0;color:#0960ab;font-size:13px;font-weight:750;cursor:pointer;text-align:left}.tfpa-link:hover{text-decoration:underline}.tfpa-danger{color:#a53c3e!important}.tfpa-muted{color:var(--ap-muted)!important;font-size:13px!important}.tfpa-required{color:#95651c}.tfpa-location{display:inline-flex;gap:7px;align-items:center;font-size:12px;color:#4c6d86;font-weight:650}.tfpa-price{display:block;margin:16px 0;color:var(--ap-ink);font-size:20px}.tfpa-break,.tfpa-prewrap{overflow-wrap:anywhere}
.tfpa-card{background:#fff;border:1px solid var(--ap-line);border-radius:14px;padding:24px;min-width:0;margin-bottom:18px;box-shadow:0 4px 16px #1d3e5203}.tfpa-card>h2,.tfpa-card>h3{margin-bottom:10px}.tfpa-card>p{margin:8px 0 14px}.tfpa-narrow{max-width:680px;margin:0 auto 36px}.tfpa-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tfpa-catalog>.tfpa-card{margin:0}.tfpa-catalog:has(+.tfpa-card){margin-bottom:22px}.tfpa-academy-card{display:flex;flex-direction:column;gap:17px}.tfpa-academy-card>p{flex:1;margin:0}.tfpa-academy-card .tfpa-row{margin-top:8px}.tfpa-row{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}.tfpa-row>div{min-width:0}.tfpa-row h3{overflow-wrap:anywhere}.tfpa-row>p{margin:0}.tfpa-empty{text-align:center;padding:34px 18px;color:var(--ap-muted)}.tfpa-empty-icon{display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;background:#eaf2f7;color:#47718e;border-radius:12px;margin-bottom:15px}.tfpa-empty h3{margin-bottom:10px}.tfpa-empty p{max-width:450px;margin:0 auto 20px;font-size:14px}.tfpa-card .tfpa-empty{padding:27px 5px}.tfpa-badge{display:inline-flex;align-items:center;padding:5px 9px;font-size:11px;font-weight:750;line-height:1.3;color:#42647c;background:#edf3f8;border:1px solid #dbe7ef;border-radius:6px;white-space:nowrap}.tfpa-badge--paid,.tfpa-badge--accepted,.tfpa-badge--active,.tfpa-badge--present,.tfpa-badge--open{color:#186044;background:#ebf6ef;border-color:#cfe8da}.tfpa-badge--new,.tfpa-badge--waitlist,.tfpa-badge--partial{color:#815915;background:#fff7e9;border-color:#f0dfbb}.tfpa-badge--overdue,.tfpa-badge--absent,.tfpa-badge--rejected{color:#963c3d;background:#fdf0ef;border-color:#f0d4d1}.tfpa-badge--cancelled,.tfpa-badge--withdrawn{color:#636a70;background:#f3f3f4;border-color:#dedfe1}.tfpa-alert{padding:15px 18px;background:#eaf5f0;color:#225b45;border:1px solid #c9e2d6;border-left:3px solid #369b74;border-radius:9px;margin-bottom:20px;font-size:14px}.tfpa-alert a{font-weight:750;color:inherit;text-decoration:underline}.tfpa-alert--error{background:#fff2f0;border-color:#efceca;border-left-color:#bb4f44;color:#852f29}
.tfpa-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:26px;align-items:start}.tfpa-sidebar{padding:18px 13px;background:#fff;border:1px solid var(--ap-line);border-radius:14px;position:sticky;top:calc(var(--tfp-header-fixed-height,76px) + 16px)}.tfpa-sidebar nav{display:flex;flex-direction:column;gap:4px;margin-top:15px}.tfpa-sidebar nav a{display:flex;align-items:center;gap:10px;min-height:45px;padding:11px 12px;font-size:13px;font-weight:700;color:#4b6377;border:1px solid transparent;border-radius:8px}.tfpa-sidebar nav a:hover{background:#f4f7f9;color:#11384f}.tfpa-sidebar nav a[aria-current]{background:#09283c;color:#fff;border-color:#09283c;box-shadow:0 4px 12px #0f324215}.tfpa-sidebar nav a b{margin-left:auto;font-size:10px;padding:1px 6px;border-radius:4px;background:#cce9fb;color:#0b4264}.tfpa-sidebar-bottom{padding:18px 10px 0;border-top:1px solid var(--ap-line);margin-top:18px;display:flex;flex-direction:column;align-items:start;gap:6px}.tfpa-content{min-width:0}.tfpa-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:24px}.tfpa-stats>a,.tfpa-stats>div{background:#fff;border:1px solid var(--ap-line);border-radius:12px;padding:19px;display:flex;flex-direction:column;gap:7px;color:var(--ap-ink);min-width:0}.tfpa-stats>a:hover{border-color:#8db5ce}.tfpa-stats span{font-size:12px;font-weight:650;color:#526b7d}.tfpa-stats strong{font-size:clamp(21px,2vw,28px);font-weight:800;letter-spacing:-.04em;line-height:1.2;overflow-wrap:anywhere}.tfpa-stats small{font-size:11px;color:#607889}.tfpa-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(270px,1fr);gap:18px}.tfpa-task{display:flex;gap:13px;align-items:center;min-height:85px;padding:16px 0;border-bottom:1px solid #e8edf2;color:#1a3c54}.tfpa-task>svg{color:#537994}.tfpa-task span{flex:1;display:flex;flex-direction:column;gap:4px}.tfpa-task strong{font-size:14px}.tfpa-task small{font-size:12px;color:#62798c}.tfpa-tip{padding:17px;border-radius:9px;background:#f0f5f8;color:#4d6b81;font-size:12px;margin-top:22px}.tfpa-tip input{font-size:12px!important;margin-top:8px}.tfpa-tip .tfpa-link{min-height:36px}
.tfpa-form{margin-top:10px}.tfpa-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.tfpa-field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px;min-width:0}.tfpa-fields>.tfpa-field{margin:0 0 3px}.tfpa-field>span,.tfpa-filter label,.tfpa-search>label{font-size:12px;font-weight:750;line-height:1.4;color:#304f66}.tfpa-page input:not([type=checkbox]):not([type=hidden]),.tfpa-page select,.tfpa-page textarea{display:block;background:#fff;border:1px solid #cbd9e3;border-radius:8px;min-height:44px;padding:11px 12px;width:100%;max-width:100%;min-width:0;color:#16374e;font-size:14px;line-height:1.45;box-shadow:0 1px 2px #17394f03}.tfpa-page input::placeholder,.tfpa-page textarea::placeholder{color:#637587;opacity:1}.tfpa-page input:focus,.tfpa-page select:focus,.tfpa-page textarea:focus{border-color:#418bca;outline:3px solid #64aff024;outline-offset:0}.tfpa-page textarea{resize:vertical;min-height:95px}.tfpa-page input[readonly]{background:#f8fbfc;color:#476278}.tfpa-check{display:flex;align-items:flex-start;gap:11px;padding:10px 0;font-size:13px;line-height:1.5;color:#36566d;min-height:44px}.tfpa-check input{appearance:auto;accent-color:#0b527a;flex:0 0 19px;width:19px;height:19px;min-height:0;margin:1px 0 0}.tfpa-check a{color:#0960ab;text-decoration:underline}.tfpa-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin-top:20px;padding-top:18px;border-top:1px solid #e4ebf1}.tfpa-actions p{margin-right:auto;max-width:65%;font-size:12px;line-height:1.5}.tfpa-form>.tfpa-fields{margin-bottom:16px}.tfpa-editor{border-top:1px solid #e0e8ef;margin-top:14px}.tfpa-editor summary{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:48px;list-style:none;padding:12px 0;cursor:pointer;color:#224b68;font-size:13px;font-weight:750}.tfpa-editor summary::-webkit-details-marker{display:none}.tfpa-editor summary>span{font-size:22px;line-height:1;color:#6c92ac;font-weight:400;transition:transform .18s}.tfpa-editor[open]>summary>span{transform:rotate(45deg)}.tfpa-editor-body{padding:8px 0 16px;min-width:0}.tfpa-card>.tfpa-editor:first-child{border:0;margin-top:0}.tfpa-editor-body>.tfpa-form:first-child{margin:0}.tfpa-editor-body>.tfpa-form .tfpa-fields{grid-template-columns:repeat(auto-fit,minmax(min(225px,100%),1fr))}.tfpa-search{max-width:700px;margin:0 0 28px}.tfpa-search>div{display:flex;gap:10px;margin-top:8px}.tfpa-filter{display:flex;gap:15px;align-items:end;margin-bottom:20px}.tfpa-filter label{display:flex;flex-direction:column;gap:7px;flex:1;max-width:460px}.tfpa-filter label+label{max-width:230px}.tfpa-child-fields{padding:15px;border-radius:10px;background:#f4f7f9;margin-bottom:16px}
.tfpa-lesson{display:flex;gap:16px;padding:20px 0;border-bottom:1px solid #e5ebf1;align-items:flex-start}.tfpa-lesson:last-child{border-bottom:0}.tfpa-date{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 50px;background:#edf4f8;color:#254c67;border:1px solid #dbe8f0;border-radius:10px;min-height:60px;padding:7px 4px}.tfpa-date strong{font-size:23px;line-height:1.2;letter-spacing:-.04em}.tfpa-date span{font-size:9px;letter-spacing:.08em;font-weight:800}.tfpa-lesson-main{min-width:0;flex:1}.tfpa-lesson h3{font-size:15px}.tfpa-lesson p{font-size:12px;margin-top:5px}.tfpa-lesson .tfpa-time{font-size:14px;font-weight:750;color:#26485f}.tfpa-time>span{font-size:12px;font-weight:500;color:#607b8e}.tfpa-note{margin-top:10px;font-size:12px;padding:9px 11px;background:#eff5f8;border-left:2px solid #79a4c1;color:#405f75;border-radius:0 5px 5px 0;overflow-wrap:anywhere}.tfpa-lesson.is-cancelled .tfpa-time{text-decoration:line-through;color:#975750}.tfpa-lesson.is-cancelled .tfpa-note{background:#fff4ed;border-left-color:#c88c67}.tfpa-attendance-row{display:grid;grid-template-columns:1fr minmax(180px,1fr);align-items:center;gap:18px;padding:12px 0;border-bottom:1px solid #e6edf2}.tfpa-attendance-row strong{font-size:13px}.tfpa-attendance-row .tfpa-field{margin:0}.tfpa-attendance-row .tfpa-field>span{font-size:10px;font-weight:500}.tfpa-attendance-summary{padding:14px 0;border-bottom:1px solid #e5ecf0;font-size:13px}.tfpa-page progress{appearance:none;border:0;height:5px;width:100%;border-radius:5px;background:#e5eef4}.tfpa-page progress::-webkit-progress-bar{background:#e5eef4;border-radius:5px}.tfpa-page progress::-webkit-progress-value{background:#3a83b1;border-radius:5px}.tfpa-page progress::-moz-progress-bar{background:#3a83b1;border-radius:5px}
.tfpa-payment{background:#fff;border:1px solid var(--ap-line);border-radius:12px;padding:20px;min-width:0;margin-bottom:15px}.tfpa-payment h3{font-size:16px}.tfpa-payment p{font-size:12px;margin-top:5px}.tfpa-payment-amounts{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:15px;margin-top:22px}.tfpa-payment-amounts>div{display:flex;flex-direction:column;gap:4px}.tfpa-payment-amounts small{font-size:10px;color:#5a7488}.tfpa-payment-amounts strong{font-size:22px;color:#0d334d;line-height:1.2;letter-spacing:-.035em}.tfpa-payment-amounts span{font-size:13px;font-weight:650;color:#32546c}.tfpa-history{margin-top:14px;padding-top:12px;border-top:1px solid #e4ecf1;font-size:12px}.tfpa-history summary{cursor:pointer;min-height:32px;color:#396785;font-weight:700}.tfpa-balance{padding:20px;border-radius:10px;background:#09283c;color:#fff;margin:20px 0}.tfpa-balance span{display:block;font-size:12px;color:#bed5e4}.tfpa-balance strong{display:block;margin-top:6px;font-size:32px;letter-spacing:-.04em}.tfpa-announcement{border-top:1px solid #e2eaf0;padding:21px 0 4px;margin-top:15px}.tfpa-announcement small{color:#507794;font-size:11px}.tfpa-announcement h3{margin:9px 0}.tfpa-announcement p{font-size:14px;overflow-wrap:anywhere}.tfpa-member-switch{display:flex;gap:10px;overflow:auto;max-width:100%;padding:0 0 12px;margin-bottom:14px}.tfpa-member-switch a{display:flex;align-items:center;gap:12px;min-width:230px;padding:13px 17px;color:#25455d;border-radius:10px;border:1px solid var(--ap-line);background:#fff;flex-shrink:0}.tfpa-member-switch a[aria-current]{background:#eaf2f8;border-color:#82abc7}.tfpa-member-switch strong{display:block;font-size:13px}.tfpa-member-switch small{font-size:11px;color:#59768c}.tfpa-avatar{display:flex;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 auto;border-radius:50%;background:#dceaf3;color:#254e6b;font-weight:750}.tfpa-member-intro{display:flex;align-items:center;justify-content:space-between;gap:20px}.tfpa-member-intro h2{margin:7px 0}.tfpa-member-intro p{font-size:13px}.tfpa-local-nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px}.tfpa-local-nav a{color:#315870;background:#fff;border:1px solid #d6e2eb;font-size:13px;min-height:44px;padding:10px 16px;border-radius:7px;font-weight:700}.tfpa-local-nav a:hover{background:#e7f0f6}.tfpa-member-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(310px,1fr);gap:24px;align-items:start}.tfpa-member-grid>div,.tfpa-member-grid>aside{min-width:0}.tfpa-member-grid .tfpa-card[id]{scroll-margin-top:calc(var(--tfp-header-fixed-height,80px) + 18px)}.tfpa-page-end{display:flex;justify-content:space-between;gap:20px;padding:28px 0;margin-top:28px;border-top:1px solid #dbe5ed;font-size:11px;letter-spacing:.025em;color:#526e82}
@media(min-width:1650px){.tfpa-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}.tfpa-content .tfpa-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1180px){.tfpa-layout{grid-template-columns:195px minmax(0,1fr);gap:20px}.tfpa-dashboard-grid{grid-template-columns:1fr}.tfpa-sidebar{padding:15px 9px}.tfpa-sidebar nav a{font-size:12px;padding:11px 9px}.tfpa-card{padding:20px}.tfpa-stats>a,.tfpa-stats>div{padding:16px}.tfpa-member-grid{grid-template-columns:minmax(0,1.15fr) minmax(300px,1fr)}}
@media(max-width:920px){.tfpa-wrap{width:calc(100% - 36px)}.tfpa-layout{display:block}.tfpa-sidebar{position:static;padding:12px;margin-bottom:22px}.tfpa-sidebar>.tfpa-field{max-width:420px;margin:0 0 12px}.tfpa-sidebar nav{flex-direction:row;overflow-x:auto;gap:5px;margin:0;padding-bottom:3px;scrollbar-width:thin}.tfpa-sidebar nav a{flex:0 0 auto;min-height:44px;font-size:13px}.tfpa-sidebar nav a svg{width:17px;height:17px}.tfpa-sidebar-bottom{flex-direction:row;justify-content:space-between;align-items:center;margin-top:10px;padding:8px 4px 0}.tfpa-sidebar-bottom .tfpa-link{min-height:32px}.tfpa-hero{padding:26px}.tfpa-hero p{font-size:14px}.tfpa-member-grid{grid-template-columns:1fr}.tfpa-member-grid>aside{display:grid;grid-template-columns:1fr;align-items:start}.tfpa-member-intro h2{font-size:22px}}
@media(max-width:600px){.tfpa-page{padding-top:10px;font-size:14px}.tfpa-wrap{width:calc(100% - 24px)}.tfpa-hub-nav{gap:19px;overflow-x:auto;margin-bottom:15px}.tfpa-hub-nav a{font-size:12px;white-space:nowrap}.tfpa-hero,.tfpa-hero--compact{border-radius:14px;padding:23px 21px;display:block;margin-bottom:20px}.tfpa-hero h1,.tfpa-hero--compact h1{font-size:28px;margin-top:9px;line-height:1.15}.tfpa-hero>a{margin-top:20px}.tfpa-hero p{font-size:13px}.tfpa-hero-meta{font-size:12px}.tfpa-eyebrow{font-size:9px}.tfpa-section-heading{margin-bottom:18px}.tfpa-section-heading h2{font-size:24px}.tfpa-section-heading p{font-size:13px}.tfpa-card{padding:18px 16px;border-radius:12px;margin-bottom:14px}.tfpa-page h2{font-size:21px}.tfpa-page h3{font-size:16px}.tfpa-card>p{font-size:13px}.tfpa-catalog{grid-template-columns:1fr;gap:14px}.tfpa-fields{grid-template-columns:1fr;gap:13px}.tfpa-editor-body>.tfpa-form .tfpa-fields{grid-template-columns:1fr}.tfpa-field>span{font-size:12px}.tfpa-page input:not([type=checkbox]):not([type=hidden]),.tfpa-page select,.tfpa-page textarea{font-size:16px;min-height:46px;padding:11px}.tfpa-sidebar nav a{padding:10px 11px;font-size:12px}.tfpa-sidebar nav a svg{display:none}.tfpa-sidebar{padding:9px}.tfpa-sidebar-bottom{padding-left:4px}.tfpa-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.tfpa-stats>a,.tfpa-stats>div{padding:15px}.tfpa-stats>:last-child{grid-column:1/-1}.tfpa-stats strong{font-size:25px}.tfpa-stats small{font-size:11px}.tfpa-actions{flex-direction:column;align-items:stretch;gap:14px;margin-top:17px;padding-top:16px}.tfpa-actions p{max-width:100%;font-size:12px}.tfpa-btn{min-height:46px;border-radius:8px;padding:12px 15px;font-size:13px!important}.tfpa-search>div{gap:8px}.tfpa-search .tfpa-btn{padding:10px 15px}.tfpa-filter{gap:10px;align-items:stretch;flex-wrap:wrap}.tfpa-filter label{max-width:100%;flex-basis:100%}.tfpa-filter label+label{max-width:100%;flex-basis:100%}.tfpa-editor summary{font-size:13px;min-height:48px}.tfpa-alert{font-size:13px;padding:13px}.tfpa-row{gap:9px}.tfpa-lesson{gap:12px;padding:17px 0}.tfpa-date{flex-basis:43px;min-height:54px;border-radius:8px}.tfpa-date strong{font-size:21px}.tfpa-lesson h3{font-size:14px}.tfpa-time>span{display:block;margin-top:2px}.tfpa-lesson-main .tfpa-row{gap:8px}.tfpa-lesson .tfpa-badge{font-size:10px}.tfpa-attendance-row{grid-template-columns:minmax(0,1fr) minmax(150px,1fr);gap:12px}.tfpa-attendance-row strong{font-size:12px;overflow-wrap:anywhere}.tfpa-attendance-row select{font-size:14px}.tfpa-attendance-row .tfpa-field>span{display:none}.tfpa-payment{padding:17px 14px}.tfpa-payment-amounts{gap:9px;grid-template-columns:1.1fr 1fr 1fr}.tfpa-payment-amounts strong{font-size:21px}.tfpa-payment-amounts span{font-size:12px}.tfpa-payment h3{font-size:15px}.tfpa-check{font-size:12px;padding:12px 0}.tfpa-member-switch{gap:8px}.tfpa-member-switch a{min-width:205px;padding:12px}.tfpa-member-intro{align-items:flex-start;flex-wrap:wrap}.tfpa-local-nav{gap:6px}.tfpa-local-nav a{font-size:12px;padding:11px 12px;flex:1;text-align:center}.tfpa-member-grid{gap:0}.tfpa-balance strong{font-size:30px}.tfpa-empty{padding:27px 10px}.tfpa-empty p{font-size:13px}.tfpa-page-end{flex-direction:column;gap:6px;margin-top:20px;padding:22px 0}.tfpa-task{min-height:79px}.tfpa-child-fields{padding:13px}}
.tfpa-week-nav>div{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.tfpa-week-nav>div strong{font-size:16px}.tfpa-week-nav form{display:flex;align-items:end;gap:14px;margin-top:15px;padding-top:15px;border-top:1px solid var(--ap-line);flex-wrap:wrap}.tfpa-week-nav form .tfpa-field{margin:0;flex:1;max-width:230px}.tfpa-week-nav .tfpa-link{font-size:12px}@media(max-width:600px){.tfpa-week-nav>div strong{order:-1;flex-basis:100%;font-size:16px}.tfpa-week-nav form{gap:10px}.tfpa-week-nav form .tfpa-field{min-width:150px}}
/* Academy entry and creation. Keep controls outside the scrolling tab strip. */
.tfpa-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}
.tfpa-toolbar .tfpa-hub-nav{margin:0;min-width:0;flex:1;overflow-x:auto;scrollbar-width:thin}
.tfpa-toolbar .tfpa-hub-nav a{flex-shrink:0;white-space:nowrap}
.tfpa-create-cta{background:#0964d9;box-shadow:0 4px 14px #0964d920}
.tfpa-create-cta:hover{background:#0757bd}.tfpa-create-cta>span{font-size:23px;font-weight:400;line-height:1}
.tfpa-hero--welcome{padding:34px 36px}.tfpa-hero--welcome h1{font-size:clamp(28px,3.2vw,42px);line-height:1.12}
.tfpa-welcome-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.tfpa-welcome-tags span{display:inline-flex;align-items:center;border:1px solid #b7dced33;padding:5px 11px;border-radius:6px;font-size:12px;color:#d1e4ee;background:#c1e7fc08}
.tfpa-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:28px}
.tfpa-entry-card{padding:28px 30px;display:flex;flex-direction:column;align-items:flex-start;margin-bottom:0}
.tfpa-entry-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:#edf3f8;color:#245373;margin-bottom:20px}
.tfpa-entry-icon svg{width:23px;height:23px}.tfpa-entry-card--family .tfpa-entry-icon{background:#e4f1ef;color:#32665f}
.tfpa-entry-card h2{margin:9px 0 10px;font-size:clamp(25px,2.4vw,31px)}
.tfpa-entry-card>p{font-size:14px;max-width:520px;margin:0 0 22px}
.tfpa-entry-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:4px}
.tfpa-entry-card .tfpa-entry-note{font-size:12px;margin:17px 0 0;color:#5c7282}
.tfpa-create-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);align-items:start;gap:clamp(28px,5vw,80px);padding:24px 0 36px;max-width:1240px;margin:auto}
.tfpa-create-intro h1{font-size:clamp(29px,3.1vw,43px);margin:14px 0 18px;max-width:620px;line-height:1.15}
.tfpa-create-intro>p{max-width:530px;font-size:15px}
.tfpa-create-steps{list-style:none;margin:28px 0 0;padding:0;max-width:520px}
.tfpa-create-steps li{display:flex;gap:16px;padding:17px 0;border-top:1px solid #dce6ec}
.tfpa-create-steps li>span{font-size:11px;font-weight:750;letter-spacing:.08em;color:#547f98;padding-top:3px;min-width:22px}
.tfpa-create-steps strong{font-size:14px;color:#203e52}.tfpa-create-steps p{font-size:13px;margin-top:4px}
.tfpa-create-form{padding:30px;margin:0;box-shadow:0 16px 48px #163f5408}
.tfpa-create-form .tfpa-section-heading{margin-bottom:27px}.tfpa-create-form .tfpa-section-heading h2{font-size:27px}
.tfpa-create-form .tfpa-field{margin-bottom:20px}.tfpa-create-form .tfpa-field>span{font-size:13px}
.tfpa-create-form input:not([type=hidden]){font-size:16px;min-height:48px}
.tfpa-create-privacy{display:flex;align-items:flex-start;gap:12px;background:#f0f5f8;border-radius:9px;padding:15px;color:#47677d;margin-top:6px}
.tfpa-create-privacy p{font-size:12px;color:#426178}.tfpa-create-privacy strong{font-weight:700}
.tfpa-create-form .tfpa-actions{border:0;padding-top:0;margin-top:22px}.tfpa-create-form .tfpa-actions .tfpa-btn{width:100%;min-height:48px}
.tfpa-create-form>.tfpa-link{margin-top:8px}
@media(max-width:920px){.tfpa-toolbar{flex-wrap:wrap;gap:13px}.tfpa-toolbar .tfpa-hub-nav{flex-basis:100%;order:1}.tfpa-toolbar .tfpa-create-cta{margin-left:auto}.tfpa-entry-card{padding:25px}.tfpa-create-layout{gap:25px;grid-template-columns:1fr 1fr}.tfpa-create-form{padding:24px}}
@media(max-width:700px){.tfpa-create-layout{grid-template-columns:1fr;padding-top:5px;gap:22px}.tfpa-create-intro h1{font-size:30px;margin:10px 0 12px}.tfpa-create-intro>p{font-size:13px}.tfpa-create-steps{display:none}.tfpa-entry-grid{grid-template-columns:1fr;gap:15px}.tfpa-toolbar .tfpa-create-cta{width:100%;order:2}.tfpa-toolbar .tfpa-hub-nav{gap:20px}.tfpa-hero--welcome{padding:25px 22px}.tfpa-entry-card{padding:24px 20px}.tfpa-entry-card h2{font-size:26px}.tfpa-entry-actions{width:100%;display:grid;grid-template-columns:1fr}.tfpa-entry-actions .tfpa-btn{width:100%}.tfpa-entry-icon{margin-bottom:16px}.tfpa-create-form{padding:24px 20px}.tfpa-create-form .tfpa-section-heading h2{font-size:25px}.tfpa-welcome-tags span{font-size:11px}.tfpa-welcome-tags{gap:6px;margin-top:17px}}
@media(prefers-reduced-motion:reduce){.tfpa-page *{scroll-behavior:auto!important;transition:none!important}}


/* Wyróżniony przełącznik akademii + bezpieczna strefa usuwania. */
.tfpa-academy-switch-field>span{color:#08777b!important;font-weight:850!important;letter-spacing:.01em}
.tfpa-page .tfpa-academy-switch-field select[data-academy-switch]{
  min-height:48px!important;
  border:1px solid #62c7c3!important;
  background:linear-gradient(180deg,#effcfb 0%,#e1f7f5 100%)!important;
  color:#075b61!important;
  font-weight:850!important;
  box-shadow:0 5px 16px rgba(8,119,123,.10),inset 0 0 0 1px rgba(255,255,255,.75)!important;
}
.tfpa-page .tfpa-academy-switch-field select[data-academy-switch]:hover{border-color:#31aaa7!important;background:#dff7f4!important}
.tfpa-page .tfpa-academy-switch-field select[data-academy-switch]:focus{border-color:#178f91!important;outline:3px solid rgba(23,143,145,.16)!important}
.tfpa-page .tfpa-academy-switch-field select[data-academy-switch] option{background:#fff;color:#173a50;font-weight:700}
.tfpa-danger-zone{display:flex;align-items:center;justify-content:space-between;gap:24px;border-color:#efc9c6!important;background:linear-gradient(135deg,#fffafa 0%,#fff5f3 100%)!important}
.tfpa-danger-zone>div{min-width:0;max-width:800px}.tfpa-danger-zone h3{color:#8f302f!important;margin:6px 0 7px!important}.tfpa-danger-zone p{margin:0!important;color:#7b5552!important;font-size:13px!important}
.tfpa-danger-zone .tfpa-eyebrow{color:#a44a46!important}.tfpa-danger-zone .tfpa-form{margin:0;flex:0 0 auto}
.tfpa-btn--danger{background:#b23b38!important;border-color:#a83331!important;color:#fff!important;box-shadow:0 5px 14px rgba(178,59,56,.15)!important}
.tfpa-btn--danger:hover{background:#962f2d!important;border-color:#8c2927!important}
@media(max-width:700px){.tfpa-danger-zone{align-items:stretch;flex-direction:column}.tfpa-danger-zone .tfpa-form,.tfpa-danger-zone .tfpa-btn--danger{width:100%}.tfpa-academy-switch-field{margin-bottom:14px!important}}

.tfpa-sidebar-bottom .tfpa-form{margin:0;width:100%}.tfpa-delete-academy-link{color:#a53c3e!important;min-height:34px!important;padding:4px 0!important;font-weight:800!important}.tfpa-delete-academy-link:hover{color:#862b2d!important;text-decoration:underline}

/* TFP — dyskretny przycisk usuwania akademii w bocznym panelu */
.tfpa-sidebar-bottom .tfpa-form {
  width: 100% !important;
  margin: 2px 0 0 !important;
}
.tfpa-sidebar-bottom .tfpa-delete-academy-link {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  width: 100% !important;
  min-height: 40px !important;
  padding: 9px 11px !important;
  margin: 0 !important;
  border: 1px solid #efd5d3 !important;
  border-radius: 10px !important;
  background: #fff8f7 !important;
  box-shadow: none !important;
  color: #9d3737 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  text-shadow: none !important;
  cursor: pointer !important;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease !important;
}
.tfpa-sidebar-bottom .tfpa-delete-academy-link::before {
  content: "" !important;
  width: 15px !important;
  height: 15px !important;
  flex: 0 0 15px !important;
  background: currentColor !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 3h6l1 2h4v2H4V5h4l1-2Zm-2 6h10l-.7 11.1A2 2 0 0 1 14.3 22H9.7a2 2 0 0 1-2-1.9L7 9Zm3 2v8h2v-8h-2Zm4 0v8h2v-8h-2Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 3h6l1 2h4v2H4V5h4l1-2Zm-2 6h10l-.7 11.1A2 2 0 0 1 14.3 22H9.7a2 2 0 0 1-2-1.9L7 9Zm3 2v8h2v-8h-2Zm4 0v8h2v-8h-2Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}
.tfpa-sidebar-bottom .tfpa-delete-academy-link:hover {
  background: #fff0ee !important;
  border-color: #e9b8b4 !important;
  color: #842d2d !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
}
.tfpa-sidebar-bottom .tfpa-delete-academy-link:focus-visible {
  outline: 3px solid rgba(173, 62, 59, .18) !important;
  outline-offset: 2px !important;
}

/* ========================================================================== */
/* TFP Academy — participant / parent app shell                               */
/* ========================================================================== */
body.tfpa-member-app{background:#f4f6fb!important;overflow-x:hidden}
body.tfpa-member-app .header.header--role-nav{display:none!important}
body.tfpa-member-app #tfpHeaderFixedSpacer{display:none!important;height:0!important;min-height:0!important}
body.tfpa-member-app .tfpa-page{padding:0!important;min-height:100vh;background:#f4f6fb!important}
body.tfpa-member-app .tfpa-wrap{width:100%!important;max-width:none!important;margin:0!important}
body.tfpa-member-app .tfpa-toolbar,body.tfpa-member-app .tfpa-page-end{display:none!important}
body.tfpa-member-app .tfpa-alert{max-width:1120px;margin:18px auto}

.tfpa-member-shell{--member-violet:#6c32f5;--member-violet-2:#8b52ff;--member-navy:#07172a;--member-navy-2:#0d223b;display:grid;grid-template-columns:286px minmax(0,1fr);min-height:100vh;background:#f5f7fb}
.tfpa-member-sidebar{position:sticky;top:0;align-self:start;height:100vh;overflow:auto;background:linear-gradient(180deg,#09182b 0%,#10243d 55%,#0a1b30 100%);color:#fff;padding:22px 16px 20px;z-index:20;box-shadow:14px 0 42px rgba(7,23,42,.08)}
.tfpa-member-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:4px 6px 18px;border-bottom:1px solid rgba(255,255,255,.08)}
.tfpa-member-brand{display:flex;align-items:center;gap:10px;color:#fff!important;font-size:19px;font-weight:800;letter-spacing:-.02em}.tfpa-member-brand strong span,.tfpa-member-sidebar-foot strong span{color:#9b63ff}.tfpa-member-brand-ball{display:inline-flex;width:30px;height:30px;border-radius:50%;align-items:center;justify-content:center;color:transparent;background:radial-gradient(circle at 36% 36%,#b794ff 0 12%,#7b46ff 38%,#4f24c5 100%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16),0 6px 16px rgba(111,55,240,.28);position:relative}.tfpa-member-brand-ball::after{content:"";position:absolute;inset:7px 2px;border-top:2px solid rgba(255,255,255,.72);border-radius:50%;transform:rotate(-31deg)}
.tfpa-member-close{display:none;width:40px;height:40px;border:0;background:rgba(255,255,255,.06);color:#fff;border-radius:12px;font-size:28px;line-height:1;cursor:pointer}
.tfpa-member-person{display:grid;grid-template-columns:54px minmax(0,1fr);align-items:center;gap:13px;padding:22px 7px 16px}.tfpa-member-person-avatar{display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:linear-gradient(145deg,#ffffff,#dfe7f0);border:2px solid rgba(255,255,255,.88);color:#16314c;font-size:21px;font-weight:900;box-shadow:0 6px 18px rgba(0,0,0,.18)}.tfpa-member-person strong{display:block;font-size:15px;color:#fff}.tfpa-member-person small{display:block;margin-top:2px;color:#b8c7da;font-size:12px;line-height:1.3}
.tfpa-member-selector{display:block;margin:8px 0;padding:10px 11px;border:1px solid rgba(170,191,220,.16);border-radius:13px;background:rgba(255,255,255,.045)}.tfpa-member-selector>span{display:block;margin:0 0 5px;color:#9fb2c9;font-size:9px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.tfpa-member-selector select{width:100%;min-height:34px;border:0!important;background:transparent!important;color:#fff!important;box-shadow:none!important;padding:0 25px 0 0!important;font-size:12px!important;font-weight:800}.tfpa-member-selector select option{color:#142b41;background:#fff}.tfpa-member-selector--person{margin-bottom:16px}
.tfpa-member-menu{display:flex;flex-direction:column;gap:4px}.tfpa-member-menu a{display:flex;align-items:center;gap:13px;min-height:46px;padding:0 13px;border-radius:11px;color:#e7edf5!important;font-size:13px;font-weight:650;transition:.16s ease}.tfpa-member-menu a svg{width:19px;height:19px;stroke-width:1.8}.tfpa-member-menu a:hover{background:rgba(255,255,255,.07);transform:translateX(1px)}.tfpa-member-menu a.is-active{background:linear-gradient(135deg,var(--member-violet) 0%,#7733ff 58%,#8f58ff 100%);box-shadow:0 10px 24px rgba(102,49,244,.24);color:#fff!important}.tfpa-member-menu em{margin-left:auto;display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#7c3cff;color:#fff;font-size:10px;font-style:normal;font-weight:900}
.tfpa-member-sidebar-foot{display:flex;align-items:center;gap:11px;margin-top:28px;padding:20px 6px 4px;border-top:1px solid rgba(255,255,255,.08)}.tfpa-member-sidebar-foot .tfpa-member-brand-ball{width:32px;height:32px;flex:0 0 32px}.tfpa-member-sidebar-foot strong{display:block;color:#fff;font-size:14px}.tfpa-member-sidebar-foot small{display:block;color:#8499b3;font-size:9px;margin-top:2px}

.tfpa-member-main{min-width:0;padding:0 26px 34px}.tfpa-member-topbar{height:64px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 4px;color:#6e7f92}.tfpa-member-topbar>div{display:flex;align-items:baseline;gap:8px;min-width:0}.tfpa-member-topbar span{font-size:11px;text-transform:uppercase;letter-spacing:.09em;font-weight:800;color:#8292a4}.tfpa-member-topbar strong{font-size:13px;color:#1b2f47;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tfpa-member-topbar a{font-size:12px;font-weight:800;color:#536d89!important}.tfpa-member-topbar-menu{display:none;border:0;background:#0c223a;color:#fff;width:42px;height:42px;border-radius:12px;font-size:21px}
.tfpa-member-hero{position:relative;min-height:188px;display:flex;align-items:center;gap:22px;overflow:hidden;border:1px solid #e1e5f0;border-radius:22px;padding:28px 34px;background:linear-gradient(90deg,rgba(250,249,255,.98) 0%,rgba(246,242,255,.92) 46%,rgba(226,215,255,.73) 100%),var(--tfpa-academy-hero) center/cover no-repeat;box-shadow:0 14px 40px rgba(30,35,60,.06)}.tfpa-member-hero::before{content:"";position:absolute;right:-30px;top:-100px;width:330px;height:330px;border-radius:50%;border:1px solid rgba(122,76,238,.13);box-shadow:0 0 0 44px rgba(122,76,238,.04),0 0 0 88px rgba(122,76,238,.025)}.tfpa-member-academy-logo{position:relative;z-index:1;width:92px;height:92px;flex:0 0 92px;display:grid;place-items:center;border-radius:22px;background:#fff;border:1px solid #e3ddf5;box-shadow:0 10px 28px rgba(42,36,80,.10);overflow:hidden}.tfpa-member-academy-logo img{width:100%;height:100%;object-fit:contain;padding:9px}.tfpa-member-academy-logo span{font-size:43px}.tfpa-member-hero-copy{position:relative;z-index:1;min-width:0;max-width:720px}.tfpa-member-hero-copy>span{display:block;color:#7041db;font-size:10px;font-weight:900;letter-spacing:.15em}.tfpa-member-hero-copy h1{margin:6px 0 5px!important;color:#111f38!important;font-size:clamp(28px,3vw,43px)!important;font-weight:850!important}.tfpa-member-hero-copy p{color:#4c5e78!important;font-size:13px!important}.tfpa-member-hero-copy small{display:block;max-width:600px;margin-top:9px;color:#718096;font-size:12px}.tfpa-member-hero-tennis{position:absolute;right:38px;bottom:28px;z-index:1;display:flex;flex-direction:column;align-items:flex-end;color:#6136d3;transform:rotate(-4deg)}.tfpa-member-hero-tennis span{font-family:cursive;font-size:24px;line-height:1}.tfpa-member-hero-tennis strong{font-family:cursive;font-size:29px;line-height:1.1;border-bottom:4px solid #7e49ef;padding-bottom:4px}.tfpa-member-status-note{margin:16px 0 0;padding:13px 16px;border-radius:12px;background:#fff7df;border:1px solid #ead7a4;color:#775b19;font-size:13px;font-weight:700}
.tfpa-member-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.tfpa-member-kpis>a{display:grid;grid-template-columns:44px minmax(0,1fr) 18px;align-items:center;gap:11px;min-height:94px;padding:16px;border:1px solid #e2e6ef;border-radius:16px;background:#fff;color:#172a43!important;box-shadow:0 6px 18px rgba(27,42,67,.035)}.tfpa-member-kpis>a>svg{width:17px;color:#6d3bf0}.tfpa-member-kpis small,.tfpa-member-kpis em{display:block;font-style:normal}.tfpa-member-kpis small{font-size:11px;color:#718096}.tfpa-member-kpis strong{display:block;margin:2px 0;font-size:19px;color:#152742}.tfpa-member-kpis em{font-size:10px;color:#8a97a8}.tfpa-member-kpi-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;font-size:18px;font-weight:900}.tfpa-member-kpi-icon--violet{background:#f1ebff;color:#6b36ed}.tfpa-member-kpi-icon--green{background:#e6f8f1;color:#20a878}.tfpa-member-kpi-icon--blue{background:#eaf1ff;color:#376ef0}.tfpa-member-kpi-icon--pink{background:#fff0f6;color:#ea3e84}
.tfpa-member-dashboard-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:14px}.tfpa-member-panel{min-width:0;margin:0!important;padding:20px;border:1px solid #e0e5ee;border-radius:17px;background:#fff;box-shadow:0 8px 22px rgba(28,41,67,.035)}.tfpa-member-panel--wide{grid-column:span 2}.tfpa-member-panel--full{grid-column:1/-1}.tfpa-member-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.tfpa-member-panel-head>div{display:flex;align-items:center;gap:9px;min-width:0;color:#6e3df0}.tfpa-member-panel-head h2{margin:0!important;color:#182b44!important;font-size:17px!important}.tfpa-member-panel-head a{color:#7241e7!important;font-size:11px;font-weight:800}.tfpa-member-empty{padding:30px 10px;text-align:center;color:#8290a2;font-size:12px}
.tfpa-member-training-list{display:flex;flex-direction:column;gap:8px}.tfpa-member-training-list article{display:grid;grid-template-columns:58px minmax(0,1fr) 22px;align-items:center;gap:13px;padding:11px 12px;border:1px solid #ebedf3;border-radius:13px;background:#fff}.tfpa-member-training-list article.is-next{background:linear-gradient(90deg,#f8f4ff,#fff);border-color:#e8dcff}.tfpa-member-training-list time{display:flex;flex-direction:column;align-items:center;padding-right:11px;border-right:3px solid #7b45f4;color:#65748a}.tfpa-member-training-list time span,.tfpa-member-training-list time small{font-size:8px;text-transform:uppercase;font-weight:800}.tfpa-member-training-list time strong{font-size:18px;color:#162a43}.tfpa-member-training-list article>div strong{display:block;color:#1c2d43;font-size:13px}.tfpa-member-training-list article>div span,.tfpa-member-training-list article>div small{display:block;margin-top:2px;color:#7b8797;font-size:10px}.tfpa-member-arrow{color:#7540eb;font-size:24px;text-align:right}
.tfpa-member-news-list{display:flex;flex-direction:column}.tfpa-member-news-list article{display:grid;grid-template-columns:8px minmax(0,1fr);gap:10px;padding:12px 0;border-bottom:1px solid #edf0f4}.tfpa-member-news-list article:last-child{border:0}.tfpa-member-news-dot{width:7px;height:7px;border-radius:50%;margin-top:7px;background:#7541ef}.tfpa-member-news-list small{display:block;color:#8a96a5;font-size:9px}.tfpa-member-news-list strong{display:block;margin:2px 0;color:#1c2e46;font-size:12px}.tfpa-member-news-list p{margin:0!important;color:#768496!important;font-size:10px!important;line-height:1.4!important}.tfpa-member-payment-summary{display:flex;align-items:center;gap:13px;padding:12px;border-radius:13px;background:#f6fbf8}.tfpa-member-payment-summary>span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#dcf5e9;color:#1a9b67;font-size:20px;font-weight:900}.tfpa-member-payment-summary small{display:block;color:#718096;font-size:10px}.tfpa-member-payment-summary strong{display:block;margin-top:2px;color:#142840;font-size:23px}.tfpa-member-panel details{margin-top:12px;padding-top:10px;border-top:1px solid #edf0f3}.tfpa-member-panel details summary{cursor:pointer;color:#5f43c7;font-size:11px;font-weight:800}.tfpa-member-panel details p{font-size:11px!important;color:#68788a!important}
.tfpa-member-attendance{display:grid;grid-template-columns:116px minmax(0,1fr);align-items:center;gap:15px}.tfpa-member-ring{--pct:0;display:grid;place-items:center;align-content:center;width:105px;height:105px;border-radius:50%;background:radial-gradient(circle at center,#fff 0 61%,transparent 62%),conic-gradient(#2ebd8e calc(var(--pct)*1%),#e8edf2 0);box-shadow:inset 0 0 0 1px #e1e7ed}.tfpa-member-ring strong{font-size:20px;color:#183049}.tfpa-member-ring span{font-size:9px;color:#7b8998}.tfpa-member-attendance dl{margin:0}.tfpa-member-attendance dl div{display:flex;justify-content:space-between;gap:12px;padding:4px 0;font-size:10px}.tfpa-member-attendance dt{color:#758395}.tfpa-member-attendance dd{margin:0;color:#20364e;font-weight:900}.tfpa-member-group-card{display:flex;align-items:center;gap:12px;padding:11px;border-radius:13px;background:#f7f5ff}.tfpa-member-group-photo{display:grid;place-items:center;width:60px;height:52px;border-radius:10px;background:linear-gradient(145deg,#1e6b4e,#bedf66);font-size:27px}.tfpa-member-group-card strong{display:block;color:#1b2d45;font-size:13px}.tfpa-member-group-card small{display:block;color:#788596;font-size:10px;margin-top:2px}.tfpa-member-panel ul{list-style:none;margin:12px 0 0;padding:0}.tfpa-member-panel li{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #edf0f4;font-size:10px}.tfpa-member-panel li b{color:#7a8795}.tfpa-member-panel li span{color:#263b51;text-align:right}.tfpa-member-calendar-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tfpa-member-calendar-list>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:5px 12px;padding:12px;border:1px solid #e7eaf0;border-radius:12px}.tfpa-member-calendar-list time{grid-row:1/3;color:#6f40df;font-size:10px;font-weight:850}.tfpa-member-calendar-list strong{font-size:12px;color:#1a2d46}.tfpa-member-calendar-list span{font-size:10px;color:#7a8796}.tfpa-member-footer-actions{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:18px 0 0;padding:14px 3px;border-top:1px solid #e3e7ef}.tfpa-member-footer-actions>a{color:#6941d0!important;font-size:12px;font-weight:800}.tfpa-member-footer-actions form{margin:0}.tfpa-member-footer-actions .tfpa-link{min-height:36px;font-size:11px}
.tfpa-member-mobile-open,.tfpa-member-backdrop{display:none}

@media(max-width:1180px){.tfpa-member-shell{grid-template-columns:250px minmax(0,1fr)}.tfpa-member-main{padding:0 18px 28px}.tfpa-member-dashboard-grid{grid-template-columns:1.2fr 1fr}.tfpa-member-panel--wide{grid-column:1/-1}.tfpa-member-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.tfpa-member-hero-tennis{display:none}}
@media(max-width:820px){
  body.tfpa-member-app{padding:0!important}
  .tfpa-member-shell{display:block;min-height:100vh}.tfpa-member-main{padding:0 12px 24px}
  .tfpa-member-sidebar{position:fixed;inset:0 auto 0 0;width:min(86vw,340px);height:100dvh;transform:translateX(-104%);transition:transform .24s ease;z-index:2147483600;border-radius:0 24px 24px 0;box-shadow:30px 0 70px rgba(0,0,0,.3)}
  .tfpa-member-app.tfpa-member-drawer-open .tfpa-member-sidebar{transform:translateX(0)}
  .tfpa-member-close{display:grid;place-items:center}.tfpa-member-backdrop{position:fixed;inset:0;z-index:2147483500;background:rgba(7,17,29,.58);backdrop-filter:blur(2px)}.tfpa-member-app.tfpa-member-drawer-open .tfpa-member-backdrop{display:block}
  .tfpa-member-topbar{height:62px;position:sticky;top:0;z-index:12;margin:0 -12px;padding:0 14px;background:rgba(8,24,42,.97);color:#fff;box-shadow:0 6px 18px rgba(0,0,0,.12)}.tfpa-member-topbar>div{display:none}.tfpa-member-topbar a{color:#e8eff7!important;font-size:10px}.tfpa-member-topbar-menu{display:grid;place-items:center}.tfpa-member-mobile-open{display:none}
  .tfpa-member-hero{min-height:185px;margin:12px 0;padding:20px 18px 22px;align-items:flex-end;background:linear-gradient(0deg,rgba(245,242,255,.98) 0%,rgba(245,242,255,.82) 48%,rgba(18,25,48,.08) 100%),var(--tfpa-academy-hero) center/cover no-repeat}.tfpa-member-academy-logo{width:70px;height:70px;flex-basis:70px;border-radius:18px}.tfpa-member-hero-copy h1{font-size:25px!important}.tfpa-member-hero-copy small{display:none}.tfpa-member-hero-tennis{display:none}
  .tfpa-member-kpis{grid-template-columns:1fr;gap:9px}.tfpa-member-kpis>a{min-height:84px;padding:13px 14px}.tfpa-member-dashboard-grid{grid-template-columns:1fr}.tfpa-member-panel,.tfpa-member-panel--wide,.tfpa-member-panel--full{grid-column:auto}.tfpa-member-calendar-list{grid-template-columns:1fr}.tfpa-member-attendance{grid-template-columns:105px minmax(0,1fr)}
  .tfpa-member-footer-actions{flex-direction:column;align-items:stretch}.tfpa-member-footer-actions>a{text-align:center}.tfpa-member-footer-actions form,.tfpa-member-footer-actions button{width:100%}
}
@media(max-width:520px){.tfpa-member-main{padding:0 9px 22px}.tfpa-member-hero{gap:12px;padding:18px 14px}.tfpa-member-academy-logo{width:58px;height:58px;flex-basis:58px}.tfpa-member-hero-copy>span{font-size:8px}.tfpa-member-hero-copy h1{font-size:21px!important}.tfpa-member-hero-copy p{font-size:10px!important}.tfpa-member-kpis>a{grid-template-columns:40px minmax(0,1fr) 16px}.tfpa-member-kpi-icon{width:38px;height:38px}.tfpa-member-panel{padding:16px}.tfpa-member-training-list article{grid-template-columns:50px minmax(0,1fr) 16px}.tfpa-member-calendar-list>div{grid-template-columns:78px minmax(0,1fr)}.tfpa-member-sidebar{width:min(90vw,330px)}}

/* Academy participant sidebar: no synthetic TennisFinalsPro mark. */
.tfpa-member-panel-label{display:block;padding:2px 6px 14px;color:#91a6bf;font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;border-bottom:1px solid rgba(255,255,255,.08)}
.tfpa-member-sidebar .tfpa-member-brand,.tfpa-member-sidebar .tfpa-member-sidebar-foot{display:none!important}

/* =====================================================================
   ACADEMY MEMBER / PARENT PANEL V2 — richer, chat-connected experience
   ===================================================================== */
body.tfpa-member-app .tfpa-member-main{scroll-behavior:smooth}
body.tfpa-member-app [id^="tfpa-member-"]{scroll-margin-top:82px}
.tfpa-member-menu a{position:relative;grid-template-columns:22px minmax(0,1fr) auto!important}
.tfpa-member-menu-badge{display:grid!important;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#7c3df2;color:#fff!important;font-style:normal!important;font-size:10px!important;font-weight:900!important;line-height:1!important;box-shadow:0 6px 16px rgba(124,61,242,.28)}
.tfpa-member-menu-badge[hidden]{display:none!important}.tfpa-member-menu-badge--warn{background:#e5a21a}
.tfpa-member-panel-lead{margin:-5px 0 16px!important;color:#758397!important;font-size:11px!important;line-height:1.55!important}
.tfpa-member-empty--compact{padding:18px 8px}

/* Chat preview */
.tfpa-member-chat-preview{display:flex;flex-direction:column;gap:7px}
.tfpa-member-chat-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 12px;border:1px solid #e8eaf1;border-radius:13px;background:#fff;color:#192c44!important;text-decoration:none!important;transition:border-color .18s ease,background .18s ease,transform .18s ease}
.tfpa-member-chat-row:hover{border-color:#ddcffb;background:#faf8ff;transform:translateY(-1px)}
.tfpa-member-chat-avatar{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:linear-gradient(145deg,#efe8ff,#e7f0ff);color:#6735d5;font-size:11px;font-weight:950;letter-spacing:.02em}
.tfpa-member-chat-copy{min-width:0}.tfpa-member-chat-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.tfpa-member-chat-top strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#172a43}.tfpa-member-chat-top time{flex:0 0 auto;font-size:9px;color:#8a95a5}.tfpa-member-chat-copy>small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px;color:#778599;font-size:10px}
.tfpa-member-chat-unread{display:grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:#7438ef;color:#fff;font-size:10px;font-style:normal;font-weight:900}.tfpa-member-chat-arrow{color:#7540eb;font-size:22px}

/* Segmented filters + full training list */
.tfpa-member-segmented{display:inline-flex;gap:3px;padding:3px;margin:0 0 14px;border:1px solid #e4e7ee;border-radius:11px;background:#f5f7fa}
.tfpa-member-segmented button{min-height:34px;padding:0 14px;border:0;border-radius:8px;background:transparent;color:#69778a;font:inherit;font-size:10px;font-weight:850;cursor:pointer}
.tfpa-member-segmented button.is-active{background:#fff;color:#6334d1;box-shadow:0 3px 10px rgba(38,43,55,.08)}
.tfpa-member-training-full-list{display:flex;flex-direction:column;gap:8px}
.tfpa-member-training-full-list article{display:grid;grid-template-columns:78px minmax(0,1fr) auto;align-items:center;gap:15px;padding:13px 14px;border:1px solid #e8ebf1;border-radius:13px;background:#fff}
.tfpa-member-training-full-list article[hidden]{display:none!important}.tfpa-member-training-full-list article.is-cancelled{opacity:.66;background:#fff8f8}
.tfpa-member-training-full-list time{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:55px;border-right:1px solid #e4e8ee;color:#6d40dc}.tfpa-member-training-full-list time strong{font-size:22px;line-height:1;color:#172b44}.tfpa-member-training-full-list time span{margin-top:4px;font-size:9px;font-weight:850}
.tfpa-member-training-copy strong,.tfpa-member-training-copy span,.tfpa-member-training-copy small{display:block}.tfpa-member-training-copy strong{font-size:13px;color:#1b2e46}.tfpa-member-training-copy span{margin-top:3px;font-size:10px;color:#66778b}.tfpa-member-training-copy small{margin-top:2px;font-size:9px;color:#8a96a5}
.tfpa-member-training-status span{display:inline-flex;align-items:center;min-height:27px;padding:0 9px;border-radius:999px;background:#edf8f3;color:#16865d;font-size:9px;font-weight:900;white-space:nowrap}.tfpa-member-training-status .is-violet{background:#f1ebff;color:#6934db}.tfpa-member-training-status .is-red{background:#fff0f0;color:#c43f49}

/* Interactive month calendar */
.tfpa-calendar-controls{display:flex!important;align-items:center!important;gap:8px!important;color:#172a43!important}.tfpa-calendar-controls strong{min-width:128px;text-align:center;font-size:12px;text-transform:capitalize}.tfpa-calendar-controls button{display:grid;place-items:center;width:32px;height:32px;border:1px solid #e2e6ed;border-radius:9px;background:#fff;color:#6434d8;font-size:19px;cursor:pointer}.tfpa-calendar-controls button:hover{background:#f6f2ff;border-color:#d8c9fb}
.tfpa-calendar-weekdays,.tfpa-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.tfpa-calendar-weekdays{margin-bottom:6px}.tfpa-calendar-weekdays span{text-align:center;color:#8793a3;font-size:9px;font-weight:850;text-transform:uppercase}
.tfpa-calendar-day{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:66px;padding:6px;border:1px solid #e8ebf0;border-radius:12px;background:#fff;color:#293b52;cursor:pointer;transition:.16s ease}.tfpa-calendar-day:hover{border-color:#d6c6fb;background:#faf8ff}.tfpa-calendar-day strong{font-size:13px}.tfpa-calendar-day.is-empty{border:0;background:transparent;pointer-events:none}.tfpa-calendar-day.is-today{box-shadow:inset 0 0 0 2px #c8b2fb}.tfpa-calendar-day.has-event{border-color:#ded0ff;background:linear-gradient(180deg,#fff,#faf7ff)}.tfpa-calendar-day.is-selected{background:linear-gradient(145deg,#6e39ea,#8c51ff);border-color:#6e39ea;color:#fff;box-shadow:0 9px 22px rgba(112,58,235,.2)}
.tfpa-calendar-markers{display:flex;gap:3px;min-height:5px}.tfpa-calendar-markers i{width:5px;height:5px;border-radius:50%;background:#7441ed}.tfpa-calendar-day.is-selected .tfpa-calendar-markers i{background:#fff}.tfpa-calendar-markers i.is-cancelled{background:#e95662!important}
.tfpa-calendar-day-details{margin-top:12px;padding-top:12px;border-top:1px solid #ebedf2}.tfpa-calendar-detail-row{display:grid;grid-template-columns:84px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 7px;border-bottom:1px solid #edf0f4}.tfpa-calendar-detail-row:last-child{border:0}.tfpa-calendar-detail-row time{color:#6335d2;font-size:10px;font-weight:900}.tfpa-calendar-detail-row strong,.tfpa-calendar-detail-row span{display:block}.tfpa-calendar-detail-row strong{font-size:12px;color:#1c2e46}.tfpa-calendar-detail-row span{margin-top:2px;color:#7b8795;font-size:9px}.tfpa-calendar-detail-row em{padding:6px 8px;border-radius:999px;background:#f0ebff;color:#6b37d9;font-size:8px;font-style:normal;font-weight:900}.tfpa-calendar-detail-row em.is-red{background:#fff0f0;color:#c43f49}

/* Payments */
.tfpa-member-payment-list{display:flex;flex-direction:column;gap:7px;margin-top:12px}.tfpa-member-payment-list article{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 13px;border:1px solid #e8ebf0;border-radius:12px}.tfpa-member-payment-list article>div:first-child strong,.tfpa-member-payment-list article>div:first-child span{display:block}.tfpa-member-payment-list article>div:first-child strong{font-size:12px;color:#1c2e46}.tfpa-member-payment-list article>div:first-child span{margin-top:3px;font-size:9px;color:#8290a1}.tfpa-payment-row-amount{text-align:right}.tfpa-payment-row-amount>strong,.tfpa-payment-row-amount>span,.tfpa-payment-row-amount>small{display:block}.tfpa-payment-row-amount>strong{font-size:13px;color:#1b2e45}.tfpa-payment-row-amount>span{margin-top:2px;font-size:9px;font-weight:900}.tfpa-payment-row-amount .is-paid{color:#16865d}.tfpa-payment-row-amount .is-overdue{color:#ce3d4e}.tfpa-payment-row-amount .is-pending,.tfpa-payment-row-amount .is-partial{color:#b97709}.tfpa-payment-row-amount>small{margin-top:2px;font-size:8px;color:#8a96a4}

/* Announcements + profile */
.tfpa-member-announcement-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tfpa-member-announcement-list article{padding:15px;border:1px solid #e7eaf0;border-radius:13px;background:#fff}.tfpa-member-announcement-list article.is-pinned{border-color:#ead5aa;background:#fffaf1}.tfpa-announcement-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.tfpa-announcement-meta span{padding:5px 7px;border-radius:999px;background:#f1ebff;color:#6d3bdd;font-size:8px;font-weight:950}.tfpa-member-announcement-list article.is-pinned .tfpa-announcement-meta span{background:#fff0cf;color:#8b5b00}.tfpa-announcement-meta time{font-size:8px;color:#8a96a5}.tfpa-member-announcement-list h3{margin:10px 0 5px!important;font-size:13px!important;color:#1b2d45!important}.tfpa-member-announcement-list p{margin:0!important;color:#68788b!important;font-size:10px!important;line-height:1.55!important}
.tfpa-member-profile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.tfpa-member-profile-grid>div{padding:14px;border:1px solid #e6eaf0;border-radius:12px;background:#fafbfc}.tfpa-member-profile-grid small,.tfpa-member-profile-grid strong,.tfpa-member-profile-grid span{display:block}.tfpa-member-profile-grid small{color:#8390a1;font-size:8px;text-transform:uppercase;font-weight:900;letter-spacing:.08em}.tfpa-member-profile-grid strong{margin-top:6px;color:#1b2e46;font-size:12px}.tfpa-member-profile-grid span{margin-top:3px;color:#718095;font-size:9px;line-height:1.45}

@media(max-width:900px){
  body.tfpa-member-app [id^="tfpa-member-"]{scroll-margin-top:75px}
  .tfpa-member-chat-row{grid-template-columns:40px minmax(0,1fr) auto;padding:10px}
  .tfpa-member-training-full-list article{grid-template-columns:62px minmax(0,1fr);gap:11px}.tfpa-member-training-status{grid-column:2}.tfpa-member-training-full-list time{min-height:48px}
  .tfpa-calendar-weekdays,.tfpa-calendar-grid{gap:4px}.tfpa-calendar-day{min-height:54px;border-radius:10px}.tfpa-calendar-controls strong{min-width:108px;font-size:11px}
  .tfpa-member-announcement-list{grid-template-columns:1fr}.tfpa-member-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
  .tfpa-member-panel-head{align-items:flex-start}.tfpa-member-panel-head>div{align-items:flex-start}.tfpa-member-panel-head a{font-size:10px}
  .tfpa-calendar-weekdays span{font-size:8px}.tfpa-calendar-day{min-height:47px;padding:4px}.tfpa-calendar-day strong{font-size:12px}.tfpa-calendar-detail-row{grid-template-columns:70px minmax(0,1fr);gap:8px}.tfpa-calendar-detail-row em{grid-column:2;justify-self:start}
  .tfpa-member-payment-list article{align-items:flex-start}.tfpa-member-profile-grid{grid-template-columns:1fr}
  .tfpa-member-training-full-list article{padding:11px 10px}.tfpa-member-segmented{display:flex}.tfpa-member-segmented button{flex:1}
}


/* Owner signups: fast accept / reject actions */
.tfpa-signup-card{position:relative}
.tfpa-signup-quick-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:14px 0 10px;padding:12px;border:1px solid #e1e9e5;border-radius:14px;background:linear-gradient(135deg,#f7fcfa,#fbfcff)}
.tfpa-signup-quick-actions .tfpa-form{display:inline-flex;margin:0}
.tfpa-signup-quick-actions .tfpa-btn{min-height:40px;padding:0 16px;border-radius:11px;font-size:11px;font-weight:900;box-shadow:none}
.tfpa-signup-quick-actions .tfpa-btn--accept{border:1px solid #85d8b3;background:linear-gradient(135deg,#e9fbf3,#d8f7e8);color:#08754b}
.tfpa-signup-quick-actions .tfpa-btn--accept:hover{border-color:#52bf8e;background:#cdf3e0;color:#05633f;transform:translateY(-1px)}
.tfpa-signup-quick-actions .tfpa-btn--reject{border:1px solid #efc3c7;background:#fff7f7;color:#b23745}
.tfpa-signup-quick-actions .tfpa-btn--reject:hover{border-color:#e49aa3;background:#ffeded;color:#972c39;transform:translateY(-1px)}
.tfpa-signup-quick-actions>small{flex:1 1 260px;color:#718195;font-size:10px;line-height:1.45}
@media(max-width:620px){.tfpa-signup-quick-actions{align-items:stretch}.tfpa-signup-quick-actions .tfpa-form{flex:1}.tfpa-signup-quick-actions .tfpa-btn{width:100%;justify-content:center}.tfpa-signup-quick-actions>small{flex-basis:100%}}
