body.tfpa-staff-workspace{margin:0;background:#f3f6fa;color:#19384f;font-family:Arial,sans-serif}
body.tfpa-staff-workspace #tfpaStaff{max-width:1320px;width:calc(100% - 36px);margin:26px auto 50px;padding:0;color:#19384f;font-size:14px;line-height:1.55}
#tfpaStaff *{box-sizing:border-box}
#tfpaStaff [hidden]{display:none!important}
#tfpaStaff :is(h1,h2,h3,p){overflow-wrap:anywhere}
#tfpaStaff h1{margin:5px 0 7px;color:#123044;font-size:30px;line-height:1.2;font-weight:700}
#tfpaStaff h2{margin:0 0 10px;color:#17384e;font-size:19px;line-height:1.4;font-weight:650}
#tfpaStaff h3{margin:0 0 8px;color:#17384e;font-size:15px}
#tfpaStaff p{margin:5px 0 14px;color:#536e83;font-size:13px}
#tfpaStaff .tfpas-hero{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}
#tfpaStaff .tfpas-eyebrow{display:block;font-size:12px;font-weight:600;color:#5b7489}
#tfpaStaff .tfpas-back{display:inline-block;margin-bottom:10px;color:#6940a5;font-size:12px;text-decoration:none}
#tfpaStaff .tfpas-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:14px}
#tfpaStaff .tfpas-button{display:inline-flex;justify-content:center;align-items:center;min-height:42px;max-width:100%;padding:9px 13px;border:1px solid #cddbe6;border-radius:8px;background:#fff;color:#244a64;font:inherit;font-size:13px;font-weight:600;line-height:1.35;text-align:center;text-decoration:none;cursor:pointer;box-shadow:none}
#tfpaStaff .tfpas-button.is-primary{background:#7037c8;border-color:#7037c8;color:#fff}
#tfpaStaff .tfpas-button:hover{filter:brightness(.96)}
#tfpaStaff .tfpas-button:disabled{opacity:.6;cursor:wait}
#tfpaStaff .tfpas-nav{display:flex;flex-wrap:wrap;gap:5px;padding:6px;border:1px solid #dbe5ed;border-radius:12px;background:#e7eef5;margin-bottom:20px}
#tfpaStaff .tfpas-nav a{display:flex;flex:1 1 140px;align-items:center;justify-content:center;min-height:46px;padding:10px;border-radius:8px;color:#506d83;text-decoration:none;font-weight:600;font-size:13px;text-align:center}
#tfpaStaff .tfpas-nav a[aria-current]{background:#15354a;color:#fff}
#tfpaStaff .tfpas-subnav{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 16px}
#tfpaStaff .tfpas-subnav a{padding:8px 11px;min-height:38px;border:1px solid #dce4ef;border-radius:8px;background:#fff;color:#536b80;text-decoration:none;font-size:12px;font-weight:600}
#tfpaStaff .tfpas-subnav a[aria-current]{background:#eee7fa;color:#6433a4;border-color:#d7c6ec}
#tfpaStaff .tfpas-panel{min-width:0;margin-bottom:18px;padding:20px;border:1px solid #dbe5ed;border-radius:12px;background:#fff}
#tfpaStaff .tfpas-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
#tfpaStaff .tfpas-heading h2{margin-bottom:0}
#tfpaStaff .tfpas-heading p{margin:5px 0 0}
#tfpaStaff .tfpas-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px}
#tfpaStaff .tfpas-kpis>a{min-width:0;padding:19px;border:1px solid #dbe5ed;border-radius:12px;background:#fff;color:#264a63;text-decoration:none}
#tfpaStaff .tfpas-kpis span,#tfpaStaff .tfpas-kpis small{display:block;color:#587287;font-size:12px}
#tfpaStaff .tfpas-kpis strong{display:block;margin:7px 0;color:#17384e;font-size:28px;line-height:1.25;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#tfpaStaff .tfpas-kpis .is-balance{background:#edf8f4;border-color:#c7e5da}
#tfpaStaff .tfpas-kpis .is-balance strong{color:#08765d}
#tfpaStaff .tfpas-coaches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
#tfpaStaff .tfpas-calendar-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:start;gap:18px}
#tfpaStaff .tfpas-month{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
#tfpaStaff .tfpas-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
#tfpaStaff .tfpas-calendar>b{padding:7px 0;font-size:12px;text-align:center;color:#61778b}
#tfpaStaff .tfpas-calendar>a{display:flex;flex-direction:column;justify-content:space-between;min-height:76px;min-width:0;padding:8px;border:1px solid #dce5ef;border-radius:8px;background:#fff;color:#193b52;text-decoration:none}
#tfpaStaff .tfpas-calendar a.has-lessons{background:#edf8f4;border-color:#bddfd3}
#tfpaStaff .tfpas-calendar a.is-selected{outline:2px solid #078589;outline-offset:-2px;background:#dbefec}
#tfpaStaff .tfpas-calendar small{font-size:10px;color:#08765d;overflow-wrap:anywhere}
#tfpaStaff .tfpas-calendar strong{font-size:14px;font-weight:600}
#tfpaStaff .tfpas-lesson{padding:10px 0 14px;border-bottom:1px solid #e3eaf0}
#tfpaStaff .tfpas-lesson:last-child{border-bottom:0}
#tfpaStaff .tfpas-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid #e7edf2;min-width:0}
#tfpaStaff .tfpas-row:last-child{border-bottom:0}
#tfpaStaff .tfpas-row>div:first-child{flex:1 1 150px;min-width:0}
#tfpaStaff .tfpas-row strong{display:block;color:#1c3c53;font-size:14px;overflow-wrap:anywhere}
#tfpaStaff .tfpas-row :is(span,small){display:block;color:#587184;font-size:12px;overflow-wrap:anywhere}
#tfpaStaff .tfpas-row>b{color:#244a64;font-size:14px;font-variant-numeric:tabular-nums}
#tfpaStaff .tfpas-row form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:7px;margin:0}
#tfpaStaff .tfpas-row form .tfpas-field{margin:0}
#tfpaStaff .tfpas-editor{min-width:0;margin:12px 0;padding:0;border:1px solid #dce5ee;border-radius:9px;background:#fff}
#tfpaStaff .tfpas-editor>summary{padding:12px 14px;min-height:44px;color:#6136a4;font-size:13px;font-weight:600;cursor:pointer}
#tfpaStaff .tfpas-editor>form,#tfpaStaff .tfpas-editor>p,#tfpaStaff .tfpas-editor>.tfpas-rows{margin:0;padding:15px;border-top:1px solid #e6edf3}
#tfpaStaff .tfpas-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}
#tfpaStaff .tfpas-field{display:grid;min-width:0;gap:6px;margin:0 0 13px;color:#516e84;font-size:12px;line-height:1.5}
#tfpaStaff .tfpas-field :is(input,select){width:100%;min-width:0;max-width:100%;min-height:44px;padding:10px 11px;border:1px solid #cbd9e5;border-radius:8px;background:#fff;color:#17384f;font:inherit;font-size:16px;line-height:1.35;box-shadow:none}
#tfpaStaff .tfpas-field input[type=file]{padding:8px;font-size:12px}
#tfpaStaff .tfpas-check{display:flex;align-items:flex-start;gap:8px;color:#48657a;font-size:13px;line-height:1.6;margin:10px 0}
#tfpaStaff input[type=checkbox]{width:18px;height:18px;flex:none;accent-color:#7137c9}
#tfpaStaff .tfpas-roster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px;border:1px solid #d5e3ec;border-radius:9px;margin:10px 0}
#tfpaStaff .tfpas-roster legend{font-size:13px;font-weight:600;color:#294c65}
#tfpaStaff .tfpas-roster label{display:flex;align-items:center;gap:8px;font-size:13px;color:#294c65;overflow-wrap:anywhere}
#tfpaStaff .tfpas-invoice{padding:4px 0 18px;margin-bottom:12px;border-bottom:1px solid #dce6ee}
#tfpaStaff .tfpas-invoice-money{flex:none!important;text-align:right;font-size:13px}
#tfpaStaff .tfpas-invoice-money b{display:block;color:#a72849}
#tfpaStaff .tfpas-balance{display:flex;flex-direction:column;gap:5px;margin:14px 0;padding:17px;border:1px solid #c9e5db;border-radius:10px;background:#edf8f4;color:#28654e}
#tfpaStaff .tfpas-balance strong{color:#08765d;font-size:28px;line-height:1.3;font-weight:700;font-variant-numeric:tabular-nums}
#tfpaStaff .tfpas-balance span{font-size:13px;color:#3e6557}
#tfpaStaff .tfpas-help,#tfpaStaff .tfpas-muted{font-size:12px;color:#5a7185;line-height:1.7}
#tfpaStaff .tfpas-alert{padding:14px;margin:0 0 16px;border:1px solid #ecc5cf;border-radius:9px;background:#fff0f3;color:#9b2946;font-size:13px}
#tfpaStaff .tfpas-notice{padding:13px;margin:0 0 16px;border:1px solid #c9e2d9;border-radius:9px;background:#edf8f3;color:#1c6b52;font-size:13px}
#tfpaStaff .tfpas-empty{padding:24px 10px;text-align:center;color:#61778b;font-size:13px}
#tfpaStaff .tfpas-export{display:flex;justify-content:flex-end;margin:0 0 10px}
#tfpaStaff .tfpas-export a{color:#6335a3;font-size:12px;font-weight:600;text-decoration:none}
#tfpaStaff .tfpas-chat{width:100%;height:680px;min-height:440px;border:1px solid #dbe5ed;border-radius:12px;background:#fff}
#tfpaStaff dialog.tfpas-dialog{width:min(700px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:0;border:1px solid #ccdbe6;border-radius:14px;color:#19384f;background:#fff;box-shadow:0 20px 70px #0d2b4033}
#tfpaStaff dialog.tfpas-dialog::backdrop{background:#0a233e77}
#tfpaStaff .tfpas-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;border-bottom:1px solid #dce5ed;background:#f5f7fb}
#tfpaStaff .tfpas-dialog>header h2{margin:0;font-size:18px}
#tfpaStaff .tfpas-dialog>section{padding:18px;overflow:auto}
#tfpaStaff .tfpas-dialog .tfpas-editor{border:0;margin:0}
#tfpaStaff .tfpas-dialog .tfpas-editor>summary{display:none}
#tfpaStaff .tfpas-dialog .tfpas-editor>form{border:0;padding:0}
#tfpaStaff :is(a,button,input,select,summary):focus-visible{outline:3px solid #b29bdc;outline-offset:2px}
.tfpas-entry{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;padding:16px;border:1px solid #d5e1ec;border-radius:10px;background:#f7f9fc;color:#24465e}
.tfpas-entry p{margin:4px 0 0;color:#5a7185;font-size:12px}
.tfpas-chat-picker{min-width:0;width:100%}
.tfpas-chat-picker>nav{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px}
.tfpas-chat-picker>nav>a{display:flex;align-items:center;min-height:42px;padding:9px 13px;border:1px solid #ccdbe6;border-radius:8px;background:#fff;color:#39566e;font-size:13px;font-weight:600;text-decoration:none}
.tfpas-chat-picker>nav>a[aria-current]{background:#15354a;color:#fff;border-color:#15354a}
.tfpas-chat-picker>iframe{display:block;width:100%;height:680px;min-height:440px;border:1px solid #dbe5ed;border-radius:12px;background:#fff}
.tfpas-payment-recipient{display:grid;gap:4px;padding:12px;margin:10px 0;border:1px solid #d7c9eb;border-radius:8px;background:#f6f1ff;color:#442b67;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.tfpas-payment-recipient>strong{color:#442b67!important;font-size:13px!important}
.tfpas-payment-recipient>span{color:#533c71!important;font-size:12px!important}
@media(max-width:1050px){#tfpaStaff .tfpas-calendar-layout{grid-template-columns:minmax(0,1fr)}#tfpaStaff .tfpas-coaches{grid-template-columns:minmax(0,1fr)}}
@media(max-width:680px){body.tfpa-staff-workspace #tfpaStaff{width:calc(100% - 24px);margin-top:18px}#tfpaStaff h1{font-size:25px}#tfpaStaff .tfpas-kpis{grid-template-columns:minmax(0,1fr);gap:8px}#tfpaStaff .tfpas-kpis>a{padding:13px}#tfpaStaff .tfpas-kpis strong{font-size:25px}#tfpaStaff .tfpas-panel{padding:15px}#tfpaStaff .tfpas-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#tfpaStaff .tfpas-calendar>a{min-height:59px;padding:5px}#tfpaStaff .tfpas-fields,#tfpaStaff .tfpas-roster{grid-template-columns:minmax(0,1fr)}#tfpaStaff .tfpas-invoice-money{text-align:left}#tfpaStaff .tfpas-actions>.tfpas-button{flex:1 1 auto}#tfpaStaff .tfpas-chat{height:75dvh;min-height:440px}}

/* Shared academy workspace: one navigation and role-scoped content. */
body.tfpa-owner-app #tfpaStaff.tfpax-embedded{width:100%;max-width:none;margin:0;padding:0;color:#19384f;font-size:14px;line-height:1.55}
body.tfpa-pro #tfpa-main .tfpax-scope{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin:0 0 20px;padding:14px 16px;border:1px solid #d9e4ee;border-radius:12px;background:#fff;color:#254961}
body.tfpa-pro #tfpa-main .tfpax-scope label{display:grid;gap:6px;min-width:220px;max-width:100%;flex:1 1 240px;margin:0;color:#526d82;font-size:12px;font-weight:600}
body.tfpa-pro #tfpa-main .tfpax-scope select{width:100%;max-width:100%;min-height:44px;padding:9px 12px;border:1px solid #cddce8;border-radius:8px;background:#fff;color:#173c54;font-size:15px}
body.tfpa-pro #tfpa-main .tfpax-scope>a{padding:12px 6px;color:#6234a8;font-size:13px;text-decoration:none}
body.tfpa-pro #tfpa-main .tfpax-scope-note{margin:0 0 18px;color:#59758a;font-size:13px}
body.tfpa-pro #tfpa-main .tfpax-staff-setup{margin:20px 0;padding:16px;border:1px solid #d9e4ee;border-radius:12px;background:#fff}
body.tfpa-pro #tfpa-main .tfpax-staff-setup>summary{padding:6px 0;color:#58319a;font-weight:600;cursor:pointer}
body.tfpa-pro #tfpa-main .tfpax-staff-setup[open]>summary{margin-bottom:18px}
@media(max-width:680px){body.tfpa-pro #tfpa-main .tfpax-scope{padding:12px}body.tfpa-pro #tfpa-main .tfpax-scope label{min-width:0;flex-basis:100%}}
