:root{--tps-red:#9f2436;--tps-ink:#1d2735;--tps-muted:#667085;--tps-line:#e2e5e9;--tps-bg:#f7f7f5;--tps-card:#fff}.tp-staff-grid{display:grid;gap:18px;max-width:1180px}.tp-staff-card{background:var(--tps-card);border:1px solid var(--tps-line);border-radius:18px;padding:20px;box-sizing:border-box}.tp-staff-card-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.tp-staff-card-head h2,.tp-staff-card-head h3{margin:4px 0 6px;color:var(--tps-ink)}.tp-staff-card-head p{margin:0;color:var(--tps-muted)}.tp-staff-kicker{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--tps-red);font-weight:800}.tp-staff-count{min-width:90px;text-align:center;border:1px solid var(--tps-line);border-radius:14px;padding:10px 12px;background:#fafafa}.tp-staff-count strong{display:block;font-size:27px;line-height:1;color:var(--tps-ink)}.tp-staff-count small{display:block;margin-top:4px;color:var(--tps-muted)}.tp-staff-address{margin-top:12px;color:#475467}.tp-staff-actions{display:flex;gap:9px;align-items:center;margin-top:16px;flex-wrap:wrap}.tp-staff-actions form,.tp-admin-assignment-actions form{margin:0}.tp-staff-status{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800}.status-pending{background:#fff7df;color:#8a5d00}.status-accepted{background:#e9f7ef;color:#17643a}.status-rejected,.status-removed,.status-withdrawn{background:#f3f4f6;color:#626b78}.tp-team,.tp-staff-admin-list{border-top:1px solid var(--tps-line);margin-top:18px;padding-top:16px}.tp-team h3,.tp-team h4,.tp-staff-admin-list h3{margin:0 0 12px}.tp-team-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:9px}.tp-team-person{border:1px solid var(--tps-line);border-radius:13px;padding:10px;display:flex;gap:10px;align-items:center}.tp-team-avatar img{border-radius:50%;display:block}.tp-team-person>div:last-child{display:flex;flex-direction:column;gap:3px}.tp-team-person small{color:var(--tps-muted)}.tp-team-person a{color:var(--tps-red);text-decoration:none;font-weight:700}.tp-lead-badge{display:inline-flex;width:max-content;background:#f7ecee;color:var(--tps-red);border-radius:999px;padding:3px 7px;font-size:9px;font-weight:800}.tp-staff-note,.tp-staff-notice{margin-top:15px;border-radius:12px;padding:11px 13px}.tp-staff-note{background:#f7f7f5;color:#505968}.tp-staff-notice{background:#e9f7ef;color:#17643a;border:1px solid #c8ead6;margin-bottom:16px;max-width:1150px}.tp-staff-muted{color:var(--tps-muted)}.tp-admin-assignments{display:grid;gap:8px}.tp-admin-assignment{display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(260px,auto);gap:10px;align-items:center;border:1px solid var(--tps-line);border-radius:12px;padding:10px}.tp-admin-assignment>div:first-child{display:flex;flex-direction:column;gap:2px}.tp-admin-assignment small{color:var(--tps-muted)}.tp-admin-assignment-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}.tp-lead-text{color:var(--tps-red);font-size:11px}.tp-instructor-public{max-width:1100px;margin:0 auto;padding:24px 16px}.tp-instructor-public-head{margin-bottom:20px}.tp-instructor-public-head>span{font-size:11px;font-weight:800;color:var(--tps-red);text-transform:uppercase;letter-spacing:.1em}.tp-instructor-public-head h2{font-size:clamp(28px,5vw,42px);margin:6px 0 7px;color:var(--tps-ink)}.tp-instructor-public-head p{color:var(--tps-muted);max-width:650px}.tp-instructor-login{max-width:520px;margin:30px auto;background:#fff;border:1px solid var(--tps-line);border-radius:18px;padding:24px}.tp-instructor-primary{display:inline-block;background:var(--tps-red);color:#fff!important;text-decoration:none;border-radius:10px;padding:10px 15px;font-weight:800}.tp-staff-card-public .button{display:inline-block;text-decoration:none;border:1px solid var(--tps-line);background:#fff;color:var(--tps-ink);border-radius:9px;padding:8px 12px;cursor:pointer}.tp-staff-card-public .button-primary{background:var(--tps-red);border-color:var(--tps-red);color:#fff}@media(max-width:760px){.tp-staff-card-head{flex-direction:column}.tp-staff-count{display:flex;gap:5px;align-items:baseline;text-align:left;min-width:0}.tp-staff-count strong{font-size:22px}.tp-admin-assignment{grid-template-columns:1fr}.tp-admin-assignment-actions{justify-content:flex-start}}

/* v0.13.0 — miesięczny kalendarz, aktywność i rezygnacje */
.status-withdrawal_pending{background:#fff0cf;color:#7a5200}.tp-month-calendar{max-width:1180px;background:#fff;border:1px solid var(--tps-line);border-radius:18px;padding:18px;margin:18px 0 24px;box-sizing:border-box}.tp-month-calendar-head{display:grid;grid-template-columns:44px 1fr 44px;gap:12px;align-items:center}.tp-month-calendar-head>div{text-align:center}.tp-month-calendar-head span{font-size:10px;color:var(--tps-muted);font-weight:800;text-transform:uppercase;letter-spacing:.08em}.tp-month-calendar-head h2{margin:3px 0 0;text-transform:capitalize;color:var(--tps-ink)}.tp-month-nav{width:42px;height:42px;border:1px solid var(--tps-line);border-radius:12px;display:grid;place-items:center;text-decoration:none!important;color:var(--tps-ink)!important;background:#fafafa;font-size:28px}.tp-month-legend{display:flex;flex-wrap:wrap;gap:8px 16px;margin:16px 0 12px;font-size:11px;color:var(--tps-muted)}.tp-month-legend span{display:flex;align-items:center;gap:6px}.tp-month-legend i{width:10px;height:10px;border-radius:3px}.tp-month-legend i.is-neutral,.tp-month-event.is-neutral{background:#d9dde2;color:#3d4652}.tp-month-legend i.is-pending,.tp-month-event.is-pending{background:#f4cf55;color:#5d4800}.tp-month-legend i.is-accepted,.tp-month-event.is-accepted{background:#57b878;color:#fff}.tp-month-legend i.is-withdrawal-pending,.tp-month-event.is-withdrawal-pending{background:#e7a641;color:#3f2b00}.tp-month-legend i.is-rejected,.tp-month-event.is-rejected{background:#8f1f31;color:#fff}.tp-month-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.tp-month-weekdays{padding-bottom:4px}.tp-month-weekdays>div{text-align:center;color:var(--tps-muted);font-size:10px;font-weight:800;text-transform:uppercase}.tp-month-day{min-height:92px;border:1px solid var(--tps-line);border-radius:10px;padding:6px;display:flex;flex-direction:column;justify-content:space-between;background:#fff;min-width:0}.tp-month-day.is-empty{border-color:transparent;background:transparent}.tp-month-events{display:grid;gap:3px}.tp-month-event{display:block;text-align:center;text-decoration:none!important;border-radius:6px;padding:4px 3px;font-size:9px;font-weight:900;line-height:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tp-month-day time{align-self:flex-end;color:var(--tps-muted);font-size:11px;font-weight:800}.tp-instructor-registry{max-width:1180px;border:1px solid var(--tps-line);background:#fff;border-radius:18px;padding:18px;margin:0 0 24px}.tp-instructor-registry-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.tp-instructor-registry-head span{font-size:10px;text-transform:uppercase;color:var(--tps-red);font-weight:800;letter-spacing:.08em}.tp-instructor-registry-head h2{margin:3px 0 0}.tp-instructor-registry-head>strong{font-size:24px}.tp-instructor-registry-list{display:grid;gap:7px}.tp-instructor-registry-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto auto;align-items:center;gap:10px;border-top:1px solid var(--tps-line);padding-top:8px}.tp-instructor-registry-row img{border-radius:50%}.tp-instructor-registry-row>div:nth-child(2){display:flex;flex-direction:column;gap:2px}.tp-instructor-registry-row small{color:var(--tps-muted)}.tp-instructor-active-badge,.tp-instructor-active-inline{display:inline-flex;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:900}.tp-instructor-active-badge.is-active,.tp-instructor-active-inline{background:#e9f7ef;color:#17643a}.tp-instructor-active-badge.is-inactive{background:#f3f4f6;color:#8f1f31}.tp-staff-list-title{margin:24px 0 12px}.tp-my-courses{max-width:1100px;margin:15px 0;border:1px solid var(--tps-line);border-radius:15px;background:#fff;overflow:hidden}.tp-my-courses>summary{cursor:pointer;padding:15px 17px;font-weight:850;color:var(--tps-ink);display:flex;align-items:center;justify-content:space-between}.tp-my-courses>summary span{background:#f1f2f4;border-radius:999px;padding:4px 8px;font-size:11px}.tp-my-courses>.tp-staff-grid{padding:0 15px 15px}.tp-my-courses .tp-staff-card{scroll-margin-top:24px}@media(max-width:760px){.tp-month-calendar{padding:12px}.tp-month-day{min-height:61px;padding:4px}.tp-month-event{font-size:7px;padding:3px 1px}.tp-month-grid{gap:3px}.tp-month-legend{font-size:9px;gap:6px 9px}.tp-instructor-registry-row{grid-template-columns:38px 1fr}.tp-instructor-registry-row>.tp-instructor-active-badge,.tp-instructor-registry-row>form{grid-column:2;justify-self:start}}

/* 0.14.28 — zapotrzebowanie i ręczne przypisywanie instruktorów */
.tp-staffing-info{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:10px 12px;border:1px solid var(--tps-line);border-radius:12px;background:#faf9f7}.tp-staffing-info strong{font-size:12px;color:var(--tps-ink)}.tp-staffing-info span{font-size:11px;color:var(--tps-muted);text-align:right}.tp-manual-instructor-form{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px;align-items:end;margin:0 0 12px;padding:12px;border:1px dashed var(--tps-line);border-radius:12px;background:#fafafa}.tp-manual-instructor-form label{display:grid;gap:5px;font-size:11px;font-weight:800;color:var(--tps-muted)}.tp-manual-instructor-form select{width:100%;min-height:38px;border:1px solid var(--tps-line);border-radius:8px;background:#fff;padding:0 9px}.tp-manual-instructor-form .button{min-height:38px}
@media(max-width:760px){.tp-staffing-info{align-items:flex-start;flex-direction:column}.tp-staffing-info span{text-align:left}.tp-manual-instructor-form{grid-template-columns:1fr}.tp-manual-instructor-form .button{width:100%}}

/* 0.14.29 — dostępność instruktorów według dni */
.tp-availability-fieldset{margin:10px 0;padding:10px 12px;border:1px solid #dedbd5;border-radius:12px;background:#faf9f7}.tp-availability-fieldset legend{padding:0 5px;font-size:11px;font-weight:700;color:#4b5563}.tp-availability-fieldset label{display:inline-flex;align-items:center;gap:5px;margin:4px 8px 4px 0;font-size:11px}.tp-availability-badge{display:inline-block;margin-top:4px;padding:3px 7px;border-radius:999px;background:#eef2f6;color:#445365;font-size:10px;font-weight:700}.tp-manual-instructor-form .tp-availability-fieldset{grid-column:1/-1;width:100%;box-sizing:border-box}
