    /* onboarding: step 2 — quick program add + list */
    .onb-prog-add{display:flex;gap:.5rem}
    .onb-prog-add .input{flex:1}
    .onb-prog-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;background:var(--s2);border:1px solid var(--b1);border-left:3px solid var(--b2);border-radius:var(--r);padding:.55rem .75rem;margin-bottom:.4rem;font-family:var(--fs);font-size:.86rem;font-weight:600;color:var(--text)}
    .onb-step2-actions{display:flex;gap:.6rem;margin-top:1.4rem}
    /* gym logo */
    .gymlogo-row{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
    .gymlogo-preview{width:76px;height:76px;border-radius:16px;border:1px solid var(--b1);background:var(--s2);display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}
    .gymlogo-preview img{width:100%;height:100%;object-fit:contain}
    .gymlogo-preview span{font-family:var(--fb);font-size:.58rem;color:var(--t3);text-align:center;padding:0 .3rem}
    .gymlogo-actions{display:flex;gap:.5rem;flex-wrap:wrap}
    /* accent picker */
    .accent-swatches{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}
    .accent-swatch{width:36px;height:36px;border-radius:50%;border:2.5px solid transparent;cursor:pointer;transition:all var(--ease);flex-shrink:0}
    .accent-swatch.active,.accent-swatch:hover{border-color:var(--text);transform:scale(1.12)}
    .accent-custom-row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
    .accent-custom-row input[type=color]{width:44px;height:44px;border-radius:10px;border:1px solid var(--b2);cursor:pointer;padding:2px;background:var(--s2)}
    .accent-custom-row .hint{margin:0}
    .accent-preview{width:44px;height:44px;border-radius:10px;border:1px solid var(--b2);font-family:var(--fd);font-weight:800;font-size:1.05rem;background:var(--lime);color:var(--on-accent)}
    .accent-swatches{max-width:100%}
    /* ── COACHES TABLE (Settings → Team) ── */
    /* deliberately no overflow-x here (unlike .log-table) — this table always fits its
       container at any width above the 640px mobile breakpoint, where it switches to
       stacked cards instead. overflow-x:auto would also force overflow-y to clip (per the
       CSS overflow spec, setting only one axis computes the other to 'auto' too), which cut
       off each row's kebab dropdown menu against the table's own bottom/right edge. */
    .coaches-tablewrap{border:1px solid var(--b1);border-radius:var(--rl)}
    .coaches-table{width:100%;border-collapse:collapse;font-family:var(--fb)}
    .coaches-table th{font-size:.58rem;font-weight:700;letter-spacing:.1em;color:var(--t3);padding:.7rem .9rem;border-bottom:1px solid var(--b2);text-align:left;white-space:nowrap;background:var(--s2)}
    .coaches-table td{padding:.7rem .9rem;border-bottom:1px solid var(--b1);font-size:.82rem;color:var(--t2);vertical-align:middle}
    .coaches-table tr:last-child td{border-bottom:none}
    .coaches-table tr:hover td{background:var(--s2)}
    .coaches-table .ct-name{color:var(--text);font-weight:700;font-family:var(--fs);font-size:.88rem}
    .coaches-table .ct-email{color:var(--t3);font-size:.76rem}
    .coach-status{display:inline-flex;align-items:center;gap:.35rem;font-family:var(--fb);font-size:.66rem;font-weight:700;letter-spacing:0;padding:.2rem .6rem;border-radius:100px;white-space:nowrap}
    .coach-status::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}
    .coach-status--active{color:var(--lime);background:var(--lime-d)}
    .coach-status--pending{color:var(--amber);background:var(--amber-b)}
    .coach-status--expired{color:var(--t3);background:var(--s2)}
    .coach-status--revoked{color:var(--red);background:var(--red-b,rgba(220,38,38,.1))}
    .coaches-table .ct-actions{display:flex;gap:.4rem;justify-content:flex-end;white-space:nowrap}
    .coaches-table .ct-actions .btn{padding:.4rem .7rem;font-size:.72rem}

    /* role badges — a consistent color language across the whole Facility Access page */
    .role-badge{display:inline-block;font-family:var(--fb);font-size:.62rem;font-weight:700;letter-spacing:0;padding:.2rem .55rem;border-radius:100px;white-space:nowrap}
    .role-badge--owner{color:#92400E;background:rgba(202,138,4,.16)}
    .role-badge--admin{color:var(--blue);background:var(--blue-b)}
    /* Head trainer sits between admin and coach, so it reads as a filled badge like admin's
       rather than the neutral outline a coach gets — a distinct hue, not a third shade of blue,
       because "is this one blue or the other blue?" is not a question a roster should ask. */
    .role-badge--head_trainer{color:var(--green);background:var(--green-b)}
    .role-badge--coach{color:var(--t3);background:var(--s2);border:1px solid var(--b2)}

    /* facility owner — its own card above the table, visually distinct from every coach row */
    .owner-card{display:flex;align-items:center;gap:.9rem;background:linear-gradient(135deg,rgba(202,138,4,.08),rgba(202,138,4,.02));border:1px solid rgba(202,138,4,.25);border-radius:var(--rl);padding:1rem 1.1rem;margin:1rem 0}
    .owner-card__body{flex:1;min-width:0}
    .owner-card__name{font-family:var(--fd);font-weight:800;font-size:1rem;color:var(--text)}
    .owner-card__email{font-family:var(--fb);font-size:.78rem;color:var(--t3);margin-top:.1rem}

    /* shared name+avatar cell — table rows and the owner card both use this */
    .ct-avatar{flex-shrink:0;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-family:var(--fd);font-weight:800;font-size:.85rem;color:var(--text);background:var(--s3);border:1px solid var(--b2)}
    .ct-namewrap{display:flex;align-items:center;gap:.65rem}

    /* "Show Revoked" collapsible — decluttered by default, one tap away */
    .team-revoked-toggle{display:flex;align-items:center;gap:.4rem;font-family:var(--fb);font-size:.78rem;font-weight:700;color:var(--t3);background:none;border:none;padding:.7rem .2rem;margin-top:.4rem}
    .team-revoked-toggle:hover{color:var(--text)}
    .team-revoked-toggle .ic{width:14px;height:14px}
    .coaches-table--revoked{opacity:.85}

    .facility-access-tabs{margin:1rem 0}

    @media(max-width:640px){
      .coaches-tablewrap{border:none;overflow:visible}
      .coaches-table{min-width:0}
      .coaches-table thead{display:none}
      .coaches-table,.coaches-table tbody,.coaches-table tr{display:block}
      .coaches-table tr{border:1px solid var(--b1);border-radius:var(--r);padding:.8rem .9rem;margin-bottom:.6rem;background:var(--s1)}
      .coaches-table tr:last-child{margin-bottom:0}
      .coaches-table td{display:block;border:none;padding:.15rem 0}
      .coaches-table td:empty{display:none}
      .coaches-table td[data-label]::before{content:attr(data-label) ": ";font-family:var(--fb);font-weight:700;font-size:.62rem;letter-spacing:0;color:var(--t3)}
      .coaches-table .ct-actions{justify-content:flex-start;margin-top:.5rem}
    }
