/* ============================================================
   COACH PRO — Mobile-first UI · Poppins
   ============================================================ */

:root {
    /* Backgrounds */
    --c-bg: #f5f7fc;
    --c-bg-2: #eef1f7;
    --c-surface: #ffffff;
    --c-card: #ffffff;

    /* Text — deeper, more confident */
    --c-text: #0a0e23;
    --c-text-2: #525570;
    --c-text-3: #989bb1;

    /* Borders */
    --c-border: #e5e8f1;
    --c-border-2: #f0f2f8;

    /* Primary — signature orange (unchanged) */
    --c-primary: #ff5e3a;
    --c-primary-2: #ff8c42;
    --c-primary-soft: rgba(255, 94, 58, 0.10);
    --c-grad: linear-gradient(135deg, #ff5e3a 0%, #ff8c42 100%);

    /* Secondary — modern indigo (was washed-out purple) */
    --c-secondary: #6366f1;
    --c-grad-2: linear-gradient(135deg, #6366f1 0%, #8b8df5 100%);

    /* Dark surfaces */
    --c-dark: #0a0e23;
    --c-dark-2: #1a1e3a;

    /* Status — vivid, modern */
    --c-success: #10b981;
    --c-warn: #f59e0b;
    --c-danger: #ef4444;
    --c-info: #3b82f6;

    /* Shadows — tinted with deep navy for richness */
    --shadow-sm: 0 1px 2px rgba(10, 14, 35, 0.05), 0 2px 8px rgba(10, 14, 35, 0.05);
    --shadow-md: 0 4px 16px rgba(10, 14, 35, 0.07), 0 8px 28px rgba(10, 14, 35, 0.06);
    --shadow-lg: 0 12px 32px rgba(10, 14, 35, 0.14);

    /* Geometry */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 22px;
    --r-xl: 28px;
    --r-pill: 999px;
    --ease: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body.coach-app-open {
    margin: 0;
    background: var(--c-bg);
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    color: var(--c-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.coach-app-open #coach-app-root {
    font-family: 'Poppins', sans-serif;
}

#coach-app-root {
    font-family: 'Poppins', sans-serif;
    color: var(--c-text);
    font-size: 15px;
    line-height: 1.5;
    min-height: 100dvh;
}

#coach-app-root, #coach-app-root * {
    font-family: inherit;
    box-sizing: border-box;
}

.coach-app {
    max-width: 1280px;
    margin: 0 auto;
    min-height: 100dvh;
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
    position: relative;
}

/* ============== LOADING ============== */
.coach-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}
.coach-spinner {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid var(--c-border);
    border-top-color: var(--c-primary);
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============== LOGIN ============== */
.coach-login-wrap {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #0a0e23 0%, #2d1b5e 50%, #ff5e3a 100%);
    font-family: 'Poppins', sans-serif;
}
.coach-login-card {
    background: white;
    width: 100%;
    max-width: 420px;
    border-radius: var(--r-xl);
    padding: 40px 32px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
    text-align: center;
}
.coach-login-logo {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    background: #0a0e23;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(10,14,35,0.25);
    overflow: hidden;
}
.coach-login-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.coach-login-logo svg {
    color: white;
}
.coach-login-card h1 { margin: 0 0 4px; font-weight: 800; font-size: 26px; letter-spacing: -0.5px; }
.coach-login-sub { color: var(--c-text-2); margin: 0 0 28px; font-size: 14px; }
.coach-login-card form { text-align: left; }
.coach-login-card label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-text-2);
    margin: 14px 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.coach-login-card input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--c-border);
    border-radius: var(--r-md);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.coach-login-card input:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 4px rgba(255,94,58,0.1);
}
.coach-login-card button {
    width: 100%;
    margin-top: 24px;
    padding: 15px;
    background: var(--c-grad);
    color: white;
    border: none;
    border-radius: var(--r-md);
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255,94,58,0.3);
    transition: transform 0.15s, box-shadow 0.15s;
}
.coach-login-card button:active { transform: scale(0.98); }
.coach-login-error {
    background: rgba(239,68,68,0.1);
    color: var(--c-danger);
    padding: 10px 14px;
    border-radius: var(--r-sm);
    font-size: 13px;
    margin-bottom: 8px;
    font-weight: 500;
}

/* ============== TOP BAR ============== */
.coach-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--c-bg);
    padding: calc(18px + env(safe-area-inset-top)) 18px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.coach-topbar h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.coach-topbar h1 .topbar-count {
    display: inline-block;
    background: var(--c-border-2);
    color: var(--c-text-2);
    font-size: 13px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    margin-left: 4px;
    vertical-align: middle;
    letter-spacing: 0;
}
.coach-topbar .sub {
    font-size: 12px;
    color: var(--c-text-2);
    font-weight: 500;
}
.coach-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.coach-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    object-fit: cover;
    background: var(--c-dark);
    box-shadow: 0 4px 12px rgba(10,14,35,0.15);
    flex-shrink: 0;
}
.coach-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--r-pill);
    background: white;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    color: var(--c-text);
    transition: transform 0.15s;
}
.coach-icon-btn:active { transform: scale(0.94); }
.coach-icon-btn.danger { color: var(--c-danger); }
.coach-icon-btn.primary { background: var(--c-grad); color: white; box-shadow: 0 6px 16px rgba(255,94,58,0.35); }

/* ============== STAT CARDS ============== */
.coach-stats {
    padding: 0 18px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
}
.coach-stat {
    background: white;
    padding: 16px 14px;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.coach-stat .v {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
    margin-bottom: 6px;
}
.coach-stat .l {
    font-size: 11px;
    color: var(--c-text-2);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.coach-stat::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 4px;
    background: var(--c-grad);
}
.coach-stat:nth-child(2)::after { background: var(--c-grad-2); }
.coach-stat:nth-child(3)::after { background: linear-gradient(135deg, var(--c-success), #04b88a); }

/* ============== SEARCH ============== */
.coach-search {
    padding: 0 18px;
    margin-bottom: 14px;
    position: relative;
}
.coach-search input {
    width: 100%;
    padding: 13px 16px 13px 44px;
    background: white;
    border: none;
    border-radius: var(--r-pill);
    font-size: 14px;
    font-family: inherit;
    box-shadow: var(--shadow-sm);
}
.coach-search input:focus { outline: 2px solid var(--c-primary); }
.coach-search svg {
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--c-text-3);
    width: 18px;
    height: 18px;
}

/* ============== CUSTOMER LIST ============== */
.coach-list {
    padding: 0 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.coach-customer-card {
    background: white;
    border-radius: var(--r-md);
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}
.coach-customer-card:active { transform: scale(0.98); }
.coach-customer-card .avatar {
    width: 52px;
    height: 52px;
    border-radius: var(--r-pill);
    background: var(--c-grad);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}
.coach-customer-card .info { flex: 1; min-width: 0; }
.coach-customer-card .name {
    font-weight: 600;
    font-size: 15px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.coach-customer-card .goal {
    font-size: 12px;
    color: var(--c-text-2);
    margin: 2px 0 0;
}
.coach-customer-card .meta {
    font-size: 11px;
    color: var(--c-text-3);
    background: var(--c-border-2);
    padding: 4px 8px;
    border-radius: var(--r-pill);
    font-weight: 600;
    flex-shrink: 0;
}
.coach-customer-card .card-more {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    color: var(--c-text-3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}
.coach-customer-card .card-more:hover {
    background: var(--c-border-2);
    color: var(--c-text);
}
.coach-customer-card .card-more svg {
    width: 18px;
    height: 18px;
}

/* Generic action rows for bottom-sheet menus */
.coach-action-row {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--c-border-2);
    border: 1.5px solid transparent;
    border-radius: var(--r-md);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--c-text);
    transition: background 0.15s, transform 0.1s;
}
.coach-action-row:active { transform: scale(0.99); }
.coach-action-row:hover { background: var(--c-border); }
.coach-action-row .ico {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.coach-action-row .ico svg { width: 18px; height: 18px; }
.coach-action-row .label { flex: 1; }
.coach-action-row .chev { color: var(--c-text-3); display: flex; align-items: center; }
.coach-action-row.danger {
    color: var(--c-danger);
    background: rgba(239, 68, 68, 0.06);
}
.coach-action-row.danger:hover { background: rgba(239, 68, 68, 0.12); }
.coach-action-row.danger .ico {
    background: rgba(239, 68, 68, 0.12);
    color: var(--c-danger);
}

/* Empty */
.coach-empty {
    text-align: center;
    padding: 60px 24px;
    color: var(--c-text-2);
}
.coach-empty svg { width: 64px; height: 64px; margin-bottom: 14px; color: var(--c-text-3); }
.coach-empty h3 { margin: 0 0 6px; font-weight: 700; }
.coach-empty p { margin: 0; font-size: 14px; }

/* ============== BOTTOM NAV (modern floating glass pill) ============== */
.coach-bottombar {
    position: fixed;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 14px;
    right: 14px;
    background: rgba(10, 14, 35, 0.78);
    border-radius: 28px;
    padding: 6px;
    display: flex;
    justify-content: space-between;
    z-index: 100;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.28), 0 18px 48px rgba(0,0,0,0.14);
    border: 1px solid rgba(255,255,255,0.08);
    max-width: 480px;
    margin: 0 auto;
}
.coach-bottombar button {
    flex: 1;
    background: transparent;
    border: none;
    padding: 9px 6px;
    border-radius: 22px;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
    min-width: 0;
    position: relative;
}
.coach-bottombar button:active:not(.active) {
    transform: scale(0.92);
    color: rgba(255, 255, 255, 0.85);
}
.coach-bottombar button.active {
    background: var(--c-grad);
    color: white;
    box-shadow: 0 6px 16px rgba(255, 94, 58, 0.5);
}
.coach-bottombar button.active svg {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}
.coach-bottombar button svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s cubic-bezier(.4, 0, .2, 1);
}
.coach-bottombar button.active svg {
    transform: scale(1.08);
}

/* On desktop, return to bottom edge but keep pill shape */
@media (min-width: 1024px) {
    .coach-bottombar {
        position: fixed;
        top: 0; bottom: 0; left: 16px; right: auto;
        margin: 16px 0;
        flex-direction: column;
        justify-content: flex-start;
        gap: 6px;
        width: 76px;
        max-width: none;
        height: calc(100dvh - 32px);
        border-radius: 24px;
    }
    .coach-bottombar button {
        width: 100%;
        padding: 12px 6px;
        flex: 0 0 auto;
    }
}

/* ============== CUSTOMER PROFILE ============== */
.coach-profile {
    padding: 0 0 24px;
}
.coach-profile-header {
    background: var(--c-grad);
    padding: calc(22px + env(safe-area-inset-top)) 18px 32px;
    color: white;
    border-radius: 0 0 28px 28px;
    position: relative;
    overflow: hidden;
}
.coach-profile-header::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.coach-profile-header::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}
.coach-profile-header .row {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}
.coach-profile-header .back {
    background: rgba(255,255,255,0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.coach-profile-header .actions { margin-left: auto; display: flex; gap: 6px; }
.coach-profile-header .actions button {
    background: rgba(255,255,255,0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.coach-profile-body {
    margin-top: -18px;
    padding: 0 18px;
    position: relative;
    z-index: 2;
}
.coach-profile-avatar-row {
    display: flex;
    align-items: end;
    gap: 14px;
    margin-top: 18px;
    position: relative;
    z-index: 2;
}
.coach-profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: white;
    border: 4px solid white;
    box-shadow: var(--shadow-md);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: var(--c-primary);
    cursor: pointer;
    flex-shrink: 0;
}
.coach-profile-name {
    flex: 1;
    color: white;
    padding-bottom: 8px;
}
.coach-profile-name h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.coach-profile-name .goal { font-size: 13px; opacity: 0.9; margin-top: 2px; }

/* Tabs */
.coach-tabs {
    display: flex;
    gap: 4px;
    background: white;
    padding: 4px;
    border-radius: var(--r-pill);
    margin: 16px 18px;
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}
.coach-tabs button {
    flex: 1;
    padding: 9px 14px;
    background: transparent;
    border: none;
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    color: var(--c-text-2);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.coach-tabs button.active {
    background: var(--c-grad);
    color: white;
    box-shadow: 0 4px 10px rgba(255,94,58,0.3);
}

/* Info grid */
.coach-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 18px;
}
.coach-info-card {
    background: white;
    border-radius: var(--r-md);
    padding: 14px;
    box-shadow: var(--shadow-sm);
}
.coach-info-card .l {
    font-size: 11px;
    color: var(--c-text-2);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
    margin-bottom: 4px;
}
.coach-info-card .v {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* Section heading */
.coach-section-title {
    margin: 22px 18px 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-text-2);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.coach-section-title a, .coach-section-title button {
    background: transparent;
    border: none;
    color: var(--c-primary);
    font-weight: 700;
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    font-family: inherit;
}

/* ============== SESSION ============== */
.coach-session {
    padding: 0 0 100px;
}
.coach-session-header {
    background: linear-gradient(135deg, #1a1e3a 0%, #2d2d3e 100%);
    color: white;
    padding: calc(14px + env(safe-area-inset-top)) 16px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 40;
    border-radius: 0 0 20px 20px;
    margin-bottom: 4px;
    box-shadow: 0 6px 20px rgba(10,14,35,0.18);
}
.coach-session-header .title { flex: 1; min-width: 0; }
.coach-session-header .title h2 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.coach-session-header .title .sub {
    font-size: 10px;
    opacity: 0.55;
    margin-top: 1px;
    font-weight: 500;
}
.coach-session-header button {
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.coach-session-header button:hover { background: rgba(255,255,255,0.18); }
.coach-session-header button.save {
    width: auto;
    padding: 8px 18px;
    border-radius: var(--r-pill);
    background: var(--c-grad);
    font-weight: 700;
    font-size: 13px;
    font-family: inherit;
    box-shadow: 0 6px 14px rgba(255,94,58,0.4);
}
.coach-session-header button.save:hover { background: var(--c-grad); }

.coach-exercise-card {
    background: white;
    border-radius: var(--r-md);
    padding: 12px;
    margin: 10px 16px 0;
    box-shadow: var(--shadow-sm);
}
.coach-exercise-card .top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.coach-exercise-card .name {
    font-weight: 700;
    font-size: 15px;
    flex: 1;
    min-width: 0;
    letter-spacing: -0.2px;
}
.coach-exercise-card .x {
    background: transparent;
    border: none;
    color: var(--c-danger);
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.coach-exercise-card .x:hover { background: rgba(239,68,68,0.1); }

.coach-sets {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.coach-set-row {
    display: grid;
    grid-template-columns: 26px 1fr 1fr 30px;
    align-items: center;
    gap: 6px;
    padding: 3px 0;
}
.coach-set-row .num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--c-border-2);
    color: var(--c-text-2);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.coach-set-row input {
    width: 100%;
    padding: 8px 8px;
    border: 1.5px solid var(--c-border);
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    text-align: center;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.coach-set-row input:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(255,94,58,0.12);
}
.coach-set-row .rm {
    background: transparent;
    border: none;
    color: var(--c-text-3);
    cursor: pointer;
    padding: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.coach-set-row .rm:hover { background: var(--c-border-2); color: var(--c-danger); }

.coach-exercise-foot {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
    margin-top: 8px;
}
.coach-set-add {
    background: var(--c-border-2);
    border: none;
    padding: 10px 4px;
    border-radius: 10px;
    color: var(--c-text);
    font-weight: 700;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.15s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.coach-set-add:hover { background: var(--c-border); }
.coach-rest-btn {
    background: linear-gradient(135deg, #6366f1, #8b8df5);
    color: white;
    border: none;
    padding: 10px 4px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 4px 10px rgba(99,102,241,0.28);
    transition: transform 0.1s, box-shadow 0.15s;
}
.coach-rest-btn:active { transform: scale(0.97); }
.coach-rest-btn svg { width: 14px; height: 14px; }
.coach-sw-mini-btn {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    border: none;
    padding: 10px 4px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    box-shadow: 0 4px 10px rgba(16,185,129,0.28);
    transition: transform 0.1s, box-shadow 0.15s;
}
.coach-sw-mini-btn:active { transform: scale(0.97); }
.coach-sw-mini-btn svg { width: 14px; height: 14px; }

/* On very narrow phones, the labels get squeezed. Tighten further at <360px. */
@media (max-width: 359px) {
    .coach-exercise-foot {
        gap: 4px;
    }
    .coach-set-add, .coach-rest-btn, .coach-sw-mini-btn {
        font-size: 11px;
        padding: 10px 2px;
        gap: 3px;
    }
}

.coach-add-exercise {
    margin: 12px 16px 0;
    background: white;
    color: var(--c-primary);
    border: 2px dashed rgba(255,94,58,0.4);
    padding: 12px;
    width: calc(100% - 32px);
    border-radius: var(--r-md);
    font-weight: 700;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.15s, border-color 0.15s;
}
.coach-add-exercise:hover {
    background: rgba(255,94,58,0.04);
    border-color: var(--c-primary);
}

/* ============== WORKOUT TEMPLATES ============== */
.coach-template-row {
    display: flex;
    gap: 10px;
    margin: 12px 16px 0;
}
.coach-template-row .coach-add-exercise {
    margin: 0;
    width: auto;
    flex: 1;
}
.coach-template-btn {
    flex: 1;
    background: white;
    color: var(--c-text-2);
    border: 2px solid var(--c-border);
    padding: 12px;
    border-radius: var(--r-md);
    font-weight: 700;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: border-color 0.15s, color 0.15s;
}
.coach-template-btn:hover { border-color: var(--c-primary); color: var(--c-primary); }
.coach-template-save {
    margin: 10px 16px 0;
    width: calc(100% - 32px);
    background: var(--c-primary-soft);
    color: var(--c-primary);
    border: none;
    padding: 12px;
    border-radius: var(--r-md);
    font-weight: 700;
    font-family: inherit;
    font-size: 13.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.coach-template-save:active { transform: scale(0.99); }

/* Template list rows (load + manage) */
.coach-tpl-list { display: flex; flex-direction: column; gap: 8px; }
.coach-tpl-row {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--c-border-2);
    border-radius: 14px;
    padding: 4px 4px 4px 0;
}
.coach-tpl-row .tpl-main { flex: 1; padding: 12px 14px; cursor: pointer; min-width: 0; }
.coach-tpl-row .tpl-name { font-weight: 700; font-size: 14.5px; }
.coach-tpl-row .tpl-sub { font-size: 12px; color: var(--c-text-3); margin-top: 2px; }
.coach-tpl-row .tpl-del {
    width: 38px; height: 38px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: transparent; border: none; color: var(--c-text-3);
    border-radius: 10px; cursor: pointer;
}
.coach-tpl-row .tpl-del:hover { background: rgba(239,68,68,0.1); color: var(--c-danger); }

/* Template name preview chips */
.coach-tpl-preview { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.coach-tpl-preview .chip {
    background: var(--c-border-2);
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--c-text-2);
}

/* Template builder exercise rows */
.coach-tpl-ex-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.coach-tpl-ex-row {
    display: flex; align-items: center; gap: 10px;
    background: var(--c-border-2); border-radius: 12px; padding: 8px 10px;
}
.coach-tpl-ex-row .ico {
    width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 12px;
}
.coach-tpl-ex-row .nm { flex: 1; font-weight: 600; font-size: 14px; }
.coach-tpl-ex-row .rm {
    width: 30px; height: 30px; border: none; background: transparent;
    color: var(--c-text-3); cursor: pointer; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}
.coach-tpl-ex-row .rm:hover { background: rgba(239,68,68,0.1); color: var(--c-danger); }

/* Simple exercise picker (template builder) */
.coach-ex-pick-list { display: flex; flex-direction: column; gap: 6px; }
.coach-ex-pick {
    display: flex; align-items: center; gap: 10px;
    width: 100%; background: var(--c-border-2); border: none;
    border-radius: 12px; padding: 10px 12px; cursor: pointer; text-align: left;
    font-family: inherit;
}
.coach-ex-pick:hover { background: var(--c-border); }
.coach-ex-pick .ico {
    width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 11px;
}
.coach-ex-pick .nm { font-weight: 600; font-size: 14px; }

/* ============== SESSION EDIT / PAST LOG ============== */
.coach-log-past {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: calc(100% - 32px);
    margin: 0 16px 12px;
    padding: 12px;
    background: var(--c-primary-soft);
    color: var(--c-primary);
    border: 1.5px dashed rgba(255,94,58,0.4);
    border-radius: var(--r-md);
    font-weight: 700; font-family: inherit; font-size: 14px; cursor: pointer;
}
.coach-log-past:hover { border-color: var(--c-primary); }

.coach-edit-ex-list { display: flex; flex-direction: column; gap: 12px; }
.coach-edit-ex {
    background: var(--c-border-2);
    border-radius: 14px;
    padding: 12px;
}
.coach-edit-ex-head {
    display: flex; align-items: center; justify-content: space-between;
    font-weight: 700; font-size: 14.5px; margin-bottom: 10px;
}
.coach-edit-ex-head .rm {
    width: 28px; height: 28px; border: none; background: transparent;
    color: var(--c-text-3); cursor: pointer; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}
.coach-edit-ex-head .rm:hover { background: rgba(239,68,68,0.12); color: var(--c-danger); }
.coach-edit-set {
    display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.coach-edit-set .n {
    width: 22px; flex-shrink: 0; text-align: center;
    font-weight: 700; font-size: 13px; color: var(--c-text-3);
}
.coach-edit-set input {
    flex: 1; min-width: 0;
    padding: 9px 10px; border: 1.5px solid var(--c-border);
    border-radius: 10px; font-size: 14px; font-family: inherit;
    background: var(--c-card, #fff);
}
.coach-edit-set input:focus { outline: 2px solid var(--c-primary); border-color: transparent; }
.coach-edit-set .rm {
    width: 34px; height: 34px; flex-shrink: 0; border: none; background: transparent;
    color: var(--c-text-3); cursor: pointer; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}
.coach-edit-set .rm:hover { background: rgba(239,68,68,0.12); color: var(--c-danger); }
.coach-edit-addset {
    width: 100%; margin-top: 4px; padding: 8px;
    background: transparent; border: 1.5px dashed var(--c-border);
    border-radius: 10px; color: var(--c-text-2); font-weight: 600;
    font-size: 13px; cursor: pointer; font-family: inherit;
}
.coach-edit-addset:hover { border-color: var(--c-primary); color: var(--c-primary); }



/* ============== TIMER MODAL ============== */
.coach-timer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,14,35,0.85);
    backdrop-filter: blur(16px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.2s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes flashFade { 0% { opacity: 1; } 100% { opacity: 0; } }
.coach-timer-modal {
    background: white;
    border-radius: var(--r-xl);
    width: 100%;
    max-width: 400px;
    padding: 18px 22px 22px;
    text-align: center;
    position: relative;
}
.coach-timer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.coach-timer-label {
    flex: 1;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-text-2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.coach-timer-min {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--c-border-2);
    border: none;
    color: var(--c-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.coach-timer-min[data-min] { transform: rotate(90deg); }

.coach-timer-ring {
    width: 220px;
    height: 220px;
    margin: 0 auto 18px;
    position: relative;
}
.coach-timer-ring svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.coach-timer-ring circle { fill: none; stroke-width: 12; stroke-linecap: round; }
.coach-timer-ring .bg { stroke: var(--c-border); }
.coach-timer-ring .progress {
    stroke: url(#grad);
    transition: stroke-dashoffset 0.3s linear;
}
.coach-timer-ring .time {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
}
.coach-timer-ring .time .v {
    font-size: 50px;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1;
}
.coach-timer-ring .time .l {
    font-size: 11px;
    color: var(--c-text-2);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-top: 4px;
    font-weight: 600;
}

.coach-timer-presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 14px;
}
.coach-timer-presets button {
    padding: 10px 4px;
    border: 2px solid var(--c-border);
    background: white;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
    color: var(--c-text);
}
.coach-timer-presets button.active {
    border-color: var(--c-primary);
    background: var(--c-primary);
    color: white;
}
.coach-timer-actions {
    display: flex;
    gap: 8px;
}
.coach-timer-bg-hint {
    margin-top: 12px;
    text-align: center;
    font-size: 11.5px;
    line-height: 1.45;
}
.coach-timer-bg-hint .ok { color: rgba(255,255,255,0.7); }
.coach-timer-bg-hint .warn { color: #ffd9c9; }
.coach-enable-notif {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 12.5px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}
.coach-enable-notif:hover { background: rgba(255,255,255,0.2); }
.coach-test-notif {
    display: inline-block;
    margin-top: 6px;
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 11.5px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}
.coach-test-notif:hover { background: rgba(255,255,255,0.12); }
.coach-test-notif:disabled { opacity: 0.6; cursor: default; }

/* Notification diagnostics */
.coach-diag-list { display: flex; flex-direction: column; gap: 2px; }
.coach-diag-row {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 10px 4px; border-bottom: 1px solid var(--c-border-2);
}
.coach-diag-row:last-child { border-bottom: none; }
.coach-diag-row .ic { font-size: 16px; line-height: 1.3; flex-shrink: 0; }
.coach-diag-row .tx { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.coach-diag-row .tx .dt { color: var(--c-text-3); font-size: 12px; font-weight: 400; }
.coach-diag-msg {
    padding: 12px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5;
}
.coach-diag-msg.ok { background: rgba(16,185,129,0.12); color: #047857; }
.coach-diag-msg.fail { background: rgba(239,68,68,0.10); color: #b91c1c; }
.coach-timer-actions button {
    flex: 1;
    padding: 13px;
    border: none;
    border-radius: var(--r-md);
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    font-size: 14px;
}
.coach-timer-actions .start {
    background: var(--c-grad);
    color: white;
    box-shadow: 0 6px 16px rgba(255,94,58,0.3);
}
.coach-timer-actions .pause { background: var(--c-warn); color: var(--c-dark); }
.coach-timer-actions .close { background: var(--c-border-2); color: var(--c-text); }
.coach-timer-modal.done .coach-timer-ring { animation: shake 0.5s 3; }
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* ============== TIMER DOCK (minimized timers) ============== */
.coach-timer-dock {
    position: fixed;
    left: 8px;
    right: 8px;
    bottom: calc(86px + env(safe-area-inset-bottom));
    z-index: 95;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    pointer-events: none;
    justify-content: flex-start;
}
.coach-timer-pill {
    pointer-events: auto;
    background: white;
    border-radius: 30px;
    padding: 6px 10px 6px 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(10,14,35,0.15), 0 2px 6px rgba(10,14,35,0.08);
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.15s, box-shadow 0.15s;
    max-width: calc(100vw - 24px);
    min-width: 0;
}
.coach-timer-pill:active { transform: scale(0.97); }
.coach-timer-pill.running { border-color: rgba(255,94,58,0.25); }
.coach-timer-pill.paused { border-color: rgba(255,184,61,0.5); }
.coach-timer-pill.finished {
    background: var(--c-grad);
    color: white;
    animation: pillPulse 1s infinite;
}
@keyframes pillPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 24px rgba(255,94,58,0.4); }
    50%      { transform: scale(1.03); box-shadow: 0 12px 32px rgba(255,94,58,0.6); }
}
.coach-timer-pill .ring-mini {
    width: 48px;
    height: 48px;
    position: relative;
    flex-shrink: 0;
}
.coach-timer-pill .ring-mini svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.coach-timer-pill .ring-mini circle { fill: none; stroke-width: 5; stroke-linecap: round; }
.coach-timer-pill .ring-mini .bg { stroke: var(--c-border); }
.coach-timer-pill .ring-mini .progress { stroke: var(--c-primary); transition: stroke-dashoffset 0.3s linear; }
.coach-timer-pill.finished .ring-mini .bg { stroke: rgba(255,255,255,0.3); }
.coach-timer-pill.finished .ring-mini .progress { stroke: white; }
.coach-timer-pill .ring-mini .time {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: var(--c-text);
}
.coach-timer-pill.finished .ring-mini .time { color: white; font-size: 9px; }
.coach-timer-pill .text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.coach-timer-pill .text .label {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}
.coach-timer-pill .text .sub {
    font-size: 10px;
    color: var(--c-text-2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.coach-timer-pill.finished .text .sub { color: rgba(255,255,255,0.85); }
.coach-timer-pill .x {
    background: var(--c-border-2);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--c-text-2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.coach-timer-pill.finished .x { background: rgba(255,255,255,0.2); color: white; }

/* Stopwatch variant of the dock pill */
.coach-timer-pill.stopwatch { border-color: rgba(16,185,129,0.4); }
.coach-timer-pill.stopwatch.running { border-color: rgba(16,185,129,0.6); }
.coach-timer-pill .sw-mini {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(16,185,129,0.3);
}
.coach-timer-pill .sw-mini svg { width: 22px; height: 22px; }
.coach-timer-pill.stopwatch .sub {
    color: var(--c-text);
    font-variant-numeric: tabular-nums;
    font-size: 13px;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
}

/* ============== STOPWATCH MODAL ============== */
.coach-sw-modal h2 {
    text-align: center;
    margin: 0 24px 8px;
    font-size: 17px;
    color: var(--c-text-2);
    font-weight: 700;
}
.coach-sw-display {
    font-size: 64px;
    font-weight: 800;
    text-align: center;
    margin: 18px 0 22px;
    color: var(--c-text);
    font-variant-numeric: tabular-nums;
    letter-spacing: -2px;
    line-height: 1;
}
.coach-sw-controls {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
    padding: 0 4px;
}
.coach-sw-controls .sw-btn {
    border: none;
    border-radius: 14px;
    padding: 14px;
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.1s, background 0.15s;
}
.coach-sw-controls .sw-btn:active { transform: scale(0.96); }
.coach-sw-controls .sw-btn.ghost {
    background: var(--c-border-2);
    color: var(--c-text);
}
.coach-sw-controls .sw-btn.ghost:hover { background: var(--c-border); }
.coach-sw-controls .sw-btn.primary {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    box-shadow: 0 6px 16px rgba(16,185,129,0.4);
    font-size: 15px;
}
.coach-sw-laps {
    background: var(--c-border-2);
    border-radius: 14px;
    padding: 6px;
    max-height: 220px;
    overflow-y: auto;
    margin-top: 6px;
}
.coach-sw-laps .sw-lap-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 10px;
    font-variant-numeric: tabular-nums;
}
.coach-sw-laps .sw-lap-row:nth-child(even) { background: white; }
.coach-sw-laps .sw-lap-row .n { font-weight: 700; color: var(--c-text-2); }
.coach-sw-laps .sw-lap-row .t { font-weight: 800; color: var(--c-text); }
.coach-sw-laps-empty {
    padding: 18px 14px;
    text-align: center;
    color: var(--c-text-3);
    font-size: 13px;
    font-weight: 600;
}

/* ============== EXERCISE PICKER (rich cards) ============== */
.coach-picker-exercise {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--c-border-2);
    border: none;
    border-radius: var(--r-md);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    margin-bottom: 6px;
    transition: background 0.15s, transform 0.1s;
}
.coach-picker-exercise:hover { background: var(--c-border); }
.coach-picker-exercise:active { transform: scale(0.99); }
.coach-picker-exercise .ico {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: -0.2px;
}
.coach-picker-exercise .ico svg { width: 20px; height: 20px; }
.coach-picker-exercise .text { flex: 1; min-width: 0; }
.coach-picker-exercise .name {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--c-text);
}
.coach-picker-exercise .cat {
    display: block;
    font-size: 11px;
    color: var(--c-text-2);
    margin-top: 1px;
    font-weight: 500;
}
.coach-picker-exercise .check {
    margin-left: auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--c-grad);
    color: white;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}
.coach-picker-exercise.is-added {
    background: rgba(16,185,129,0.08);
    opacity: 0.7;
}
.coach-picker-exercise.is-added .check {
    background: var(--c-success);
    width: auto;
    padding: 0 10px;
    font-size: 11px;
    height: 22px;
    border-radius: var(--r-pill);
}

/* ============== SESSION TYPE PICKER ============== */
.coach-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.coach-type-card {
    background: var(--c-border-2);
    border: 2px solid transparent;
    border-radius: var(--r-md);
    padding: 18px 12px;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.coach-type-card:hover { background: var(--c-border); }
.coach-type-card:active { transform: scale(0.97); }
.coach-type-card .ico {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.coach-type-card .ico svg { width: 28px; height: 28px; }
.coach-type-card .name {
    font-weight: 700;
    font-size: 14px;
    color: var(--c-text);
}

/* Exercise count badge in picker title */
.ex-count {
    display: inline-block;
    background: var(--c-grad);
    color: white;
    font-size: 12px;
    font-weight: 800;
    border-radius: var(--r-pill);
    padding: 3px 10px;
    margin-left: 8px;
    vertical-align: middle;
}

/* ============== EXERCISE CARD ICON (in active session) ============== */
.coach-exercise-card .ex-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: -0.2px;
}
.coach-exercise-card .ex-ico svg { width: 18px; height: 18px; }

/* ============== MULTI-CLIENT TABS (unlimited clients) ============== */
.coach-multi {
    min-height: 100dvh;
}
.coach-multi-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: calc(12px + env(safe-area-inset-top)) 14px 12px;
    background: var(--c-bg);
    position: sticky;
    top: 0;
    z-index: 41;
    box-shadow: 0 1px 0 var(--c-border);
}
.coach-multi-tabs::-webkit-scrollbar { display: none; }
.coach-multi-tabs { scrollbar-width: none; }
.coach-multi-tabs button {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 2px solid transparent;
    padding: 6px 14px 6px 6px;
    border-radius: var(--r-pill);
    cursor: pointer;
    font-family: inherit;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.15s, transform 0.1s;
}
.coach-multi-tabs button:active { transform: scale(0.96); }
.coach-multi-tabs button.active {
    border-color: var(--c-primary);
    box-shadow: 0 6px 14px rgba(255,94,58,0.2);
}
.coach-multi-tabs button .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--c-grad);
    color: white;
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.coach-multi-tabs button .text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}
.coach-multi-tabs button .n {
    font-weight: 700;
    font-size: 13px;
    color: var(--c-text);
    white-space: nowrap;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.coach-multi-tabs button .t {
    display: inline-block;
    font-size: 9px;
    color: white;
    font-weight: 800;
    margin-top: 3px;
    padding: 1px 7px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.5;
    align-self: flex-start;
}
.coach-multi-tabs button.active .n { color: var(--c-primary); }
.coach-multi-tabs .coach-multi-add {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--c-grad) !important;
    color: white !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(255,94,58,0.35) !important;
    margin-left: 4px;
}
.coach-multi-tabs .coach-multi-add svg { width: 24px; height: 24px; }

/* In multi view, session header sits below the tabs */
.coach-multi .coach-session-header { top: 68px; }

/* ============== MODAL ============== */
.coach-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,14,35,0.6);
    backdrop-filter: blur(10px);
    z-index: 900;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: fadeIn 0.2s var(--ease);
}
.coach-modal {
    background: white;
    width: 100%;
    max-width: 480px;
    max-height: 92dvh;
    border-radius: 28px 28px 0 0;
    padding: 8px 0 max(env(safe-area-inset-bottom), 20px);
    animation: slideUp 0.25s var(--ease);
    display: flex;
    flex-direction: column;
}
@keyframes slideUp { from { transform: translateY(100%); } }
.coach-modal .grabber {
    width: 40px;
    height: 4px;
    background: var(--c-border);
    border-radius: var(--r-pill);
    margin: 6px auto 14px;
}
.coach-modal h2 {
    margin: 0 22px 14px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.4px;
}
.coach-modal .scroll {
    overflow-y: auto;
    padding: 0 22px;
    flex: 1;
}
.coach-modal label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-text-2);
    margin: 12px 0 5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.coach-modal input, .coach-modal select, .coach-modal textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--c-border);
    border-radius: var(--r-md);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
    background: white;
}
.coach-modal input:focus, .coach-modal select:focus, .coach-modal textarea:focus {
    outline: none;
    border-color: var(--c-primary);
}
.coach-modal textarea { min-height: 80px; resize: vertical; }
.coach-modal .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.coach-modal .footer {
    padding: 16px 22px 4px;
    display: flex;
    gap: 8px;
    border-top: 1px solid var(--c-border-2);
    margin-top: 14px;
}
.coach-modal .footer button {
    flex: 1;
    padding: 13px;
    border: none;
    border-radius: var(--r-md);
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    font-size: 14px;
}
.coach-modal .footer .save {
    background: var(--c-grad);
    color: white;
    box-shadow: 0 6px 16px rgba(255,94,58,0.3);
}
.coach-modal .footer .cancel { background: var(--c-border-2); color: var(--c-text); }
.coach-modal .footer .danger { background: var(--c-danger); color: white; }

/* Exercise picker */
.coach-picker-cat {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 4px 0 12px;
    margin: 0 -22px;
    padding-left: 22px;
    padding-right: 22px;
}
.coach-picker-cat button {
    padding: 8px 14px;
    border: 1.5px solid var(--c-border);
    background: white;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
    color: var(--c-text-2);
    white-space: nowrap;
}
.coach-picker-cat button.active {
    background: var(--c-dark);
    color: white;
    border-color: var(--c-dark);
}
.coach-picker-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.coach-picker-item {
    padding: 12px 14px;
    border: none;
    background: var(--c-border-2);
    border-radius: var(--r-sm);
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.coach-picker-item:hover { background: var(--c-border); }
.coach-picker-item .badge {
    font-size: 10px;
    background: white;
    padding: 3px 8px;
    border-radius: var(--r-pill);
    color: var(--c-text-2);
    font-weight: 700;
    text-transform: uppercase;
}

/* ============== CHART ============== */
.coach-chart-card {
    background: white;
    border-radius: var(--r-md);
    padding: 16px;
    margin: 0 18px 12px;
    box-shadow: var(--shadow-sm);
}
.coach-chart-card h4 {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-text-2);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.coach-chart-card .chart-wrap { position: relative; height: 220px; }
.coach-chart-card select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--c-border);
    border-radius: var(--r-sm);
    font-family: inherit;
    font-size: 13px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* PRs */
.coach-prs {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.coach-pr-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--c-border-2);
    border-radius: var(--r-sm);
}
.coach-pr-row .medal {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--c-grad);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}
.coach-pr-row .n { flex: 1; font-weight: 600; font-size: 14px; }
.coach-pr-row .w { font-weight: 800; color: var(--c-primary); font-size: 15px; }

/* ============== BODY FILES ============== */
.coach-files-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 18px;
}
.coach-file-card {
    background: white;
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    position: relative;
}
.coach-file-card .thumb {
    aspect-ratio: 1;
    background: var(--c-border-2) center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-text-3);
}
.coach-file-card .thumb svg { width: 40px; height: 40px; }
.coach-file-card .info { padding: 8px 10px; }
.coach-file-card .info .t {
    font-size: 11px;
    color: var(--c-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.coach-file-card .info .d { font-size: 12px; color: var(--c-text-2); font-weight: 500; }
.coach-file-card .del {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(10,14,35,0.5);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============== SESSIONS HISTORY ============== */
.coach-session-row {
    background: white;
    border-radius: var(--r-md);
    padding: 12px 14px;
    margin: 0 18px 8px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}
.coach-session-row .icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--c-grad-2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.coach-session-row .info { flex: 1; min-width: 0; }
.coach-session-row .t { font-weight: 700; font-size: 14px; }
.coach-session-row .s { font-size: 12px; color: var(--c-text-2); }
.coach-session-row .v {
    text-align: right;
    font-weight: 700;
    font-size: 13px;
    color: var(--c-primary);
}
.coach-session-row .v small { font-size: 10px; color: var(--c-text-3); display: block; font-weight: 600; }

/* ============== TOAST ============== */
.coach-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--c-dark);
    color: white;
    padding: 11px 20px;
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 600;
    z-index: 9999;
    animation: toastIn 0.25s var(--ease);
    box-shadow: var(--shadow-lg);
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ============== EXERCISES PAGE (polished) ============== */
.coach-cat-chips {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 2px 18px 14px;
    scrollbar-width: none;
}
.coach-cat-chips::-webkit-scrollbar { display: none; }
.coach-cat-chips button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    white-space: nowrap;
    background: white;
    border: 1.5px solid transparent;
    border-radius: var(--r-pill);
    font-family: inherit;
    font-weight: 600;
    font-size: 13px;
    color: var(--c-text);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.15s;
}
.coach-cat-chips button:active { transform: scale(0.96); }
.coach-cat-chips button.active {
    background: var(--c-dark);
    color: white;
    border-color: var(--c-dark);
    box-shadow: 0 6px 14px rgba(10,14,35,0.25);
}
.coach-cat-chips .chip-count {
    background: rgba(0,0,0,0.06);
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.6;
}
.coach-cat-chips button.active .chip-count {
    background: rgba(255,255,255,0.18);
    color: white;
}

.coach-cat-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 18px 10px;
}
.coach-cat-heading .ico {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.coach-cat-heading .ico svg { width: 18px; height: 18px; }
.coach-cat-heading .t {
    font-size: 13px;
    font-weight: 800;
    color: var(--c-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
}
.coach-cat-heading .n {
    font-size: 11px;
    font-weight: 700;
    color: var(--c-text-3);
    background: var(--c-border-2);
    padding: 3px 9px;
    border-radius: 999px;
}

.coach-ex-list {
    padding: 0 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.coach-ex-row {
    background: white;
    border-radius: var(--r-md);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.1s;
}
.coach-ex-row:active { transform: scale(0.99); }
.coach-ex-row .ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.3px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.coach-ex-row .ico svg { width: 22px; height: 22px; }
.coach-ex-row .info { flex: 1; min-width: 0; }
.coach-ex-row .name {
    font-weight: 600;
    font-size: 14px;
    color: var(--c-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.coach-ex-row .meta {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: 4px;
}
.coach-ex-row .cat-pill {
    font-size: 10px;
    color: white;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.coach-ex-row .custom-pill {
    font-size: 10px;
    color: var(--c-primary);
    background: rgba(255,94,58,0.12);
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.coach-ex-row .del-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(239,68,68,0.1);
    color: var(--c-danger);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.coach-ex-row .del-btn svg { width: 16px; height: 16px; }

@media (min-width: 700px) {
    .coach-ex-list { padding: 0 32px; }
    .coach-cat-heading { padding: 22px 32px 10px; }
    .coach-cat-chips { padding: 0 32px 16px; }
}

/* ============== FAB ============== */
.coach-fab {
    position: fixed;
    bottom: calc(94px + env(safe-area-inset-bottom));
    right: 18px;
    height: 56px;
    padding: 0 22px 0 18px;
    border-radius: 30px;
    background: var(--c-grad);
    color: white;
    border: none;
    box-shadow: 0 12px 24px rgba(255,94,58,0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 90;
    transition: transform 0.2s;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
}
.coach-fab:active { transform: scale(0.94); }
.coach-fab svg { width: 22px; height: 22px; flex-shrink: 0; }
@media (min-width: 1024px) {
    .coach-fab { bottom: 24px; right: 24px; }
}

/* ============== SETTINGS ============== */
.coach-settings {
    padding: 0 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.coach-settings-item {
    background: white;
    padding: 14px 16px;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}
.coach-settings-item .icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: var(--c-border-2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-primary);
}
.coach-settings-item .label { flex: 1; font-weight: 600; font-size: 14px; }
.coach-settings-item .value { color: var(--c-text-3); font-size: 12.5px; font-weight: 500; margin-right: 6px; max-width: 42%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coach-settings-item .arrow { color: var(--c-text-3); }
.coach-settings-item.danger .label { color: var(--c-danger); }
.coach-settings-item.danger .icon { background: rgba(239,68,68,0.1); color: var(--c-danger); }

/* Ringtone picker */
.coach-ring-list { display: flex; flex-direction: column; gap: 8px; }
.coach-ring-row {
    display: flex; align-items: center; gap: 12px;
    width: 100%; padding: 13px 14px;
    background: var(--c-border-2); border: 2px solid transparent;
    border-radius: 14px; cursor: pointer; text-align: left;
    transition: border-color 0.15s, background 0.15s;
}
.coach-ring-row:hover { background: var(--c-border); }
.coach-ring-row.active { border-color: var(--c-primary); background: var(--c-primary-soft); }
.coach-ring-row .dot {
    width: 18px; height: 18px; border-radius: 50%;
    border: 2px solid var(--c-border); flex-shrink: 0; position: relative;
}
.coach-ring-row.active .dot { border-color: var(--c-primary); }
.coach-ring-row.active .dot::after {
    content: ''; position: absolute; inset: 3px;
    background: var(--c-primary); border-radius: 50%;
}
.coach-ring-row .rt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.coach-ring-row .rn { font-weight: 600; font-size: 14px; }
.coach-ring-row .rs { font-size: 11.5px; color: var(--c-text-3); }
.coach-ring-row .play {
    width: 34px; height: 34px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--c-card, #fff); border: 1.5px solid var(--c-border);
    border-radius: 10px; color: var(--c-primary);
}
.coach-ring-row .play:active { transform: scale(0.92); }
.coach-ring-row .play svg { width: 16px; height: 16px; }
.coach-ring-upload {
    width: 100%; margin-top: 14px; padding: 12px;
    background: transparent; border: 1.5px dashed var(--c-border);
    border-radius: 12px; color: var(--c-text-2, var(--c-text-3));
    font-weight: 600; font-size: 13px; cursor: pointer;
}
.coach-ring-upload:hover { border-color: var(--c-primary); color: var(--c-primary); }


/* Responsive tweaks */
@media (min-width: 700px) {
    .coach-info-grid { grid-template-columns: repeat(4, 1fr); }
    .coach-files-grid { grid-template-columns: repeat(4, 1fr); }
    .coach-stats { grid-template-columns: repeat(4, 1fr); }
}

/* Hide scroll bars cleanly */
.coach-picker-cat::-webkit-scrollbar, .coach-tabs::-webkit-scrollbar { display: none; }
.coach-picker-cat, .coach-tabs { scrollbar-width: none; }

/* ============== BIG CTA BUTTON ============== */
.coach-big-cta {
    width: 100%;
    background: var(--c-grad);
    color: white;
    border: none;
    padding: 16px 20px;
    border-radius: var(--r-md);
    font-weight: 700;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255,94,58,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.15s, box-shadow 0.15s;
}
.coach-big-cta:active { transform: scale(0.98); }
.coach-big-cta svg { width: 20px; height: 20px; }

/* ============== CUSTOMER PICKER (richer than item) ============== */
.coach-picker-customer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--c-border-2);
    border: none;
    border-radius: var(--r-md);
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    margin-bottom: 6px;
    transition: background 0.15s, transform 0.1s;
}
.coach-picker-customer:hover { background: var(--c-border); }
.coach-picker-customer:active { transform: scale(0.99); }
.coach-picker-customer .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--c-grad);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}
.coach-picker-customer .text { flex: 1; min-width: 0; }
.coach-picker-customer .name {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: var(--c-text);
}
.coach-picker-customer .sub {
    display: block;
    font-size: 12px;
    color: var(--c-text-2);
    margin-top: 2px;
}

/* ============== DESKTOP / TABLET ENHANCEMENTS ============== */
@media (min-width: 700px) {
    .coach-app {
        padding-bottom: 100px;
    }
    .coach-topbar {
        padding: 28px 32px 18px;
    }
    .coach-topbar h1 { font-size: 28px; }
    .coach-stats, .coach-search, .coach-list,
    .coach-info-grid, .coach-settings, .coach-files-grid {
        padding-left: 32px;
        padding-right: 32px;
    }
    .coach-section-title {
        margin-left: 32px;
        margin-right: 32px;
    }
    .coach-exercise-card, .coach-session-row, .coach-chart-card, .coach-add-exercise {
        margin-left: 32px;
        margin-right: 32px;
    }
    .coach-add-exercise { width: calc(100% - 64px); }

    .coach-stats { grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .coach-stat { padding: 20px; }
    .coach-stat .v { font-size: 28px; }

    .coach-info-grid { grid-template-columns: repeat(4, 1fr); }
    .coach-files-grid { grid-template-columns: repeat(4, 1fr); }

    .coach-customer-card { padding: 16px; }
    .coach-customer-card .avatar { width: 56px; height: 56px; font-size: 20px; }

    /* Bottom nav: floating pill style is good on tablet too, no override needed */

    /* Modals get a normal centered modal on desktop instead of bottom sheet */
    .coach-modal-overlay {
        align-items: center;
        padding: 24px;
    }
    .coach-modal {
        max-width: 520px;
        border-radius: var(--r-xl);
        padding: 22px 0 22px;
        max-height: 86dvh;
    }
    .coach-modal .grabber { display: none; }
    .coach-modal h2 { margin: 0 28px 16px; font-size: 22px; }
    .coach-modal .scroll { padding: 0 28px; }
    .coach-modal .footer { padding: 18px 28px 0; }
}

@media (min-width: 1024px) {
    .coach-app {
        padding-bottom: 0;
        padding-left: 100px; /* room for side rail */
    }
    .coach-fab { bottom: 24px; right: 24px; }

    /* Profile header doesn't need the full-bleed rounded card on desktop */
    .coach-profile-header {
        border-radius: var(--r-xl);
        margin: 18px 32px 0;
        padding: 28px;
    }
    .coach-profile-body { padding: 0 32px; }
}

@media (min-width: 1280px) {
    .coach-app { padding-left: 90px; max-width: none; }
    .coach-topbar { padding-left: 48px; padding-right: 48px; }
}

/* Make body files grid show titles more spaciously on small phones */
@media (max-width: 380px) {
    .coach-files-grid { grid-template-columns: 1fr 1fr; }
    .coach-stats { grid-template-columns: 1fr 1fr; }
    .coach-stats .coach-stat:nth-child(3) { grid-column: span 2; }
}

/* Pane scrolling smoothing */
.coach-multi { -webkit-overflow-scrolling: touch; }
