        :root {
            --pb-bg: #090d10;
            --pb-surface: #111822;
            --pb-surface-raised: #151d28;
            --pb-input: #0d131a;
            --pb-border: rgba(255, 255, 255, 0.08);
            --pb-input-border: #1f2937;
            --pb-emerald: #10b981;
            --pb-emerald-soft: #34d399;
            --pb-violet: #8b5cf6;
            --pb-text: #f8fafc;
            --pb-muted: #94a3b8;
        }
        html, body.app-shell {
            background-color: var(--pb-bg);
            color: var(--pb-text);
        }
        .app-header {
            background: rgba(9, 13, 16, 0.88);
            backdrop-filter: blur(16px);
            border-bottom: 1px solid var(--pb-border);
        }
        .app-logo-name,
        .app-logo-os {
            font-weight: 800;
            letter-spacing: 0.05em;
            text-shadow: 0 0 10px rgba(16, 185, 129, 0.7), 0 0 20px rgba(16, 185, 129, 0.3);
        }
        .app-logo-name {
            color: #f0fdf4;
        }
        .app-logo-os {
            margin-left: 0.375rem;
            color: #10b981;
        }
        .app-card {
            background: var(--pb-surface);
            border: 1px solid var(--pb-border);
        }
        .app-card-glass {
            background: rgba(17, 24, 34, 0.82);
            border: 1px solid var(--pb-border);
            backdrop-filter: blur(12px);
        }
        .app-inset {
            background: var(--pb-input);
            border: 1px solid rgba(255, 255, 255, 0.06);
        }
        .app-menu {
            background: rgba(17, 24, 34, 0.96);
            border: 1px solid var(--pb-border);
        }
        .app-field {
            background: var(--pb-input);
            border: 1px solid var(--pb-input-border);
            color: var(--pb-text);
            transition: border-color 0.15s ease, box-shadow 0.15s ease;
        }
        .app-field:focus {
            outline: none;
            border-color: var(--pb-emerald);
            box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
        }
        .app-field::placeholder {
            color: #52525b; /* zinc-600 — ghost text */
            opacity: 1;
        }
        .app-field.set-control {
            color: #f8fafc; /* filled value: clearly brighter than ghost */
        }
        .app-field.set-control::placeholder {
            color: #52525b;
            opacity: 1;
            font-weight: 600;
        }
        .text-muted { color: var(--pb-muted); }
        .text-title { color: var(--pb-text); }
        .app-progress-track {
            background: var(--pb-surface-raised);
        }
        .app-btn-add-exercise {
            background: rgba(16, 24, 34, 0.7);
            border: 1px dashed rgba(16, 185, 129, 0.45);
            color: #34d399;
            font-weight: 600;
            transition: all 0.2s ease;
        }
        .app-btn-add-exercise:hover {
            border-color: #10b981;
            background: rgba(16, 185, 129, 0.12);
            box-shadow: 0 0 12px rgba(16, 185, 129, 0.2);
        }
        .app-tab-active {
            background: #10b981;
            color: #090d10;
            font-weight: 700;
            box-shadow: 0 0 14px rgba(16, 185, 129, 0.35);
        }
        .app-badge-violet {
            background: rgba(139, 92, 246, 0.12);
            color: #c4b5fd;
            border: 1px solid rgba(139, 92, 246, 0.3);
        }
        .ai-msg-card {
            background: rgba(17, 24, 39, 0.75);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(139, 92, 246, 0.25);
            border-left: 3px solid #10b981;
            border-radius: 1rem;
            color: #f3f4f6;
            line-height: 1.6;
            padding: 0.875rem 1rem;
        }
        .app-btn-import {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(24, 24, 27, 0.9);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid #3f3f46;
            color: #e4e4e7;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            line-height: 1.25rem;
            border-radius: 0.75rem;
            padding: 0.625rem 1.25rem;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
            transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
        }
        .app-btn-import:hover {
            color: #34d399;
            border-color: rgba(16, 185, 129, 0.7);
            background: rgba(24, 24, 27, 0.95);
            box-shadow: 0 0 20px rgba(16, 185, 129, 0.15), 0 0 28px rgba(168, 85, 247, 0.08);
        }
        .status-pulse-dot {
            width: 0.5rem;
            height: 0.5rem;
            border-radius: 9999px;
            flex-shrink: 0;
            display: inline-block;
            vertical-align: middle;
            background: #10b981;
            box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55);
            animation: statusPulse 1.6s ease-out infinite;
        }
        @keyframes statusPulse {
            0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.55); }
            70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
            100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
        }
        .app-btn-fill-weeks {
            background: rgba(16, 185, 129, 0.12);
            border: 1px solid rgba(16, 185, 129, 0.4);
            color: #34d399;
            font-weight: 600;
            transition: all 0.2s ease;
        }
        .app-btn-fill-weeks:hover {
            background: rgba(16, 185, 129, 0.2);
            box-shadow: 0 0 16px rgba(16, 185, 129, 0.25);
            border-color: rgba(16, 185, 129, 0.55);
        }
        .app-btn-fill-weeks .fill-bolt {
            color: #fbbf24;
            filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.65));
        }
        .calc-segment {
            background: var(--pb-input);
            border: 1px solid var(--pb-border);
            border-radius: 0.75rem;
            padding: 0.25rem;
        }
        .calc-segment-btn {
            border-radius: 0.5rem;
            transition: all 0.15s ease;
            color: var(--pb-muted);
            border: 1px solid transparent;
        }
        .calc-segment-btn.is-active {
            background: rgba(16, 185, 129, 0.15);
            color: #34d399;
            font-weight: 700;
            border: 1px solid rgba(16, 185, 129, 0.35);
            box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
        }
        .calc-segment-btn.is-active-violet {
            background: rgba(139, 92, 246, 0.15);
            color: #c4b5fd;
            font-weight: 700;
            border: 1px solid rgba(139, 92, 246, 0.35);
            box-shadow: 0 0 12px rgba(139, 92, 246, 0.15);
        }
        .calc-warmup-row {
            background: rgba(13, 19, 26, 0.85);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 0.75rem;
        }
        .calc-warmup-row.is-work {
            background: rgba(16, 185, 129, 0.06);
            border-color: rgba(16, 185, 129, 0.35);
        }
        .calc-pct-chip {
            background: var(--pb-input);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 0.5rem;
        }
        .calc-plate-drawer {
            background: rgba(9, 13, 16, 0.98);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 0.875rem;
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
        }
        .calc-barbell-track {
            width: 100%;
            max-width: 280px;
            margin-left: auto;
            margin-right: auto;
            min-height: 3.5rem;
            padding-left: 0.25rem;
            padding-right: 0.25rem;
            overflow: hidden;
        }
        @media (min-width: 640px) {
            .calc-barbell-track {
                max-width: 320px;
            }
        }
        .calc-barbell-rail {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: flex-start;
            width: max-content;
            max-width: 100%;
            min-height: 3.5rem;
            margin-left: auto;
            margin-right: auto;
            flex-shrink: 1;
        }
        .calc-barbell-sleeve {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            height: 0.375rem;
            border-radius: 9999px;
            background: rgba(100, 116, 139, 0.85);
            pointer-events: none;
        }
        .calc-barbell-collar {
            position: relative;
            z-index: 10;
            flex-shrink: 0;
            border-radius: 2px;
            background: #64748b;
            border: 1px solid rgba(148, 163, 184, 0.55);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
        }
        .calc-barbell-collar.is-inner {
            width: 0.875rem;
            height: 0.875rem;
        }
        .calc-barbell-collar.is-outer {
            width: 0.375rem;
            height: 0.625rem;
            border-radius: 1px;
            margin-left: 1px;
        }
        .plate-chip {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            border-radius: 0.625rem;
            border: 1px solid rgba(255, 255, 255, 0.08);
            padding: 0.4rem 0.55rem;
            font-size: 10px;
            font-weight: 700;
            transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
            background: rgba(13, 19, 26, 0.9);
            color: #94a3b8;
        }
        .plate-chip.is-on {
            background: rgba(16, 185, 129, 0.12);
            border-color: rgba(16, 185, 129, 0.45);
            color: #34d399;
        }
        .plate-swatch {
            width: 0.7rem;
            height: 0.7rem;
            border-radius: 9999px;
            flex-shrink: 0;
            border: 1px solid rgba(0, 0, 0, 0.25);
        }
        .plate-disc {
            position: relative;
            z-index: 10;
            margin-left: 1px;
            margin-right: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 2px;
            border: 1px solid rgba(0, 0, 0, 0.25);
            flex-shrink: 0;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 1px 2px rgba(0, 0, 0, 0.35);
        }
        .plate-disc.is-25 { background: #e11d48; color: #fff; }
        .plate-disc.is-20 { background: #2563eb; color: #fff; }
        .plate-disc.is-15 { background: #eab308; color: #090d10; }
        .plate-disc.is-10 { background: #059669; color: #fff; }
        .plate-disc.is-5 { background: #f8fafc; color: #0f172a; }
        .plate-disc.is-2_5 { background: #f87171; color: #450a0a; }
        .plate-disc.is-1_25 { background: #94a3b8; color: #0f172a; }
        .plate-disc.is-0_5 {
            background: transparent;
            color: #e2e8f0;
            border: 2px solid #e2e8f0;
            border-radius: 9999px;
            box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.25), 0 0 0 1px rgba(15, 23, 42, 0.35);
        }
        .plate-disc.is-0_25 {
            background: transparent;
            color: #fbbf24;
            border: 2px solid #fbbf24;
            border-radius: 9999px;
            box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.2), 0 0 0 1px rgba(15, 23, 42, 0.35);
        }
        @keyframes cyberDrop {
            0% { opacity: 0; transform: scale(0.92) translateY(12px); filter: blur(4px); }
            100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
        }
        .summary-step-1,
        .summary-step-2,
        .summary-step-3,
        .summary-step-coach { opacity: 0; }
        .summary-step-1 { animation: cyberDrop 0.25s 0.05s ease-out forwards; }
        .summary-step-2 { animation: cyberDrop 0.25s 0.25s ease-out forwards; }
        .summary-step-coach { animation: cyberDrop 0.25s 0.35s ease-out forwards; }
        .summary-step-3 { animation: cyberDrop 0.25s 0.55s ease-out forwards; }
        @keyframes coachPulse {
            0%, 100% { opacity: 0.45; }
            50% { opacity: 1; }
        }
        .coach-loading-pulse {
            animation: coachPulse 1.4s ease-in-out infinite;
        }
        .coach-reply-enter {
            animation: cyberDrop 0.35s ease-out forwards;
        }
        @keyframes setFlash {
            0% {
                background-color: rgba(16, 185, 129, 0.25);
                border-color: #10b981;
                box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
            }
            100% {
                background-color: transparent;
                box-shadow: none;
            }
        }
        .set-complete-flash {
            animation: setFlash 0.4s ease-out;
        }
        .pr-celeb-overlay {
            position: fixed;
            inset: 0;
            z-index: 100;
            pointer-events: none;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 1;
            transition: opacity 0.4s ease;
        }
        .pr-celeb-overlay.is-fading {
            opacity: 0;
        }
        .pr-celeb-glow {
            position: absolute;
            inset: 0;
            background:
                radial-gradient(ellipse 55% 40% at 50% 45%, rgba(245, 158, 11, 0.28), transparent 70%),
                radial-gradient(ellipse 45% 35% at 50% 50%, rgba(16, 185, 129, 0.18), transparent 65%),
                rgba(0, 0, 0, 0.72);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }
        .pr-celeb-overlay.is-accessory .pr-celeb-glow {
            background:
                radial-gradient(ellipse 55% 40% at 50% 45%, rgba(16, 185, 129, 0.32), transparent 70%),
                radial-gradient(ellipse 45% 35% at 50% 50%, rgba(245, 158, 11, 0.12), transparent 65%),
                rgba(0, 0, 0, 0.72);
        }
        .pr-celeb-canvas {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }
        .pr-celeb-banner {
            position: relative;
            z-index: 2;
            text-align: center;
            padding: 1.5rem 1.75rem;
            max-width: min(92vw, 22rem);
            border-radius: 1.25rem;
            background: rgba(0, 0, 0, 0.88);
            border: 1px solid rgba(245, 158, 11, 0.35);
            box-shadow:
                0 0 40px rgba(245, 158, 11, 0.22),
                0 0 60px rgba(16, 185, 129, 0.12),
                0 16px 40px rgba(0, 0, 0, 0.55);
            animation: prBannerIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
        }
        .pr-celeb-overlay.is-accessory .pr-celeb-banner {
            border-color: rgba(16, 185, 129, 0.4);
            box-shadow:
                0 0 40px rgba(16, 185, 129, 0.22),
                0 0 60px rgba(245, 158, 11, 0.1),
                0 16px 40px rgba(0, 0, 0, 0.55);
        }
        .pr-celeb-title {
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 0.22em;
            text-transform: uppercase;
            color: #fbbf24;
            margin: 0 0 0.45rem;
        }
        .pr-celeb-detail {
            font-size: 1.5rem;
            font-weight: 900;
            font-variant-numeric: tabular-nums;
            color: #f8fafc;
            margin: 0;
            letter-spacing: -0.02em;
        }
        @keyframes prBannerIn {
            0% { opacity: 0; transform: scale(0.88) translateY(10px); }
            100% { opacity: 1; transform: scale(1) translateY(0); }
        }
        .set-index-col {
            position: relative;
            z-index: 20;
            overflow: visible;
            height: 2.75rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .dropset-row {
            background: #0c111d;
            border: 1px solid rgba(168, 85, 247, 0.3);
            border-radius: 0.75rem;
        }
        .dropset-row .set-swipe-front {
            background: #0c111d;
            box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.22);
        }
        .dropset-badge {
            display: inline-block;
            font-size: 8px;
            font-weight: 800;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            line-height: 1;
            padding: 0.2rem 0.4rem;
            border-radius: 0.25rem;
            background: rgba(59, 7, 100, 0.6);
            color: #d8b4fe;
            border: 1px solid rgba(168, 85, 247, 0.4);
        }
        .set-swipe-shell {
            position: relative;
            overflow: hidden;
            border-radius: 0.75rem;
            background: #0c111d;
            isolation: isolate;
            touch-action: pan-y;
        }
        .set-swipe-action {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 6rem;
            background: #e11d48;
            color: #fff;
            border: none;
            padding: 0;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.15s ease, visibility 0.15s ease;
        }
        .set-swipe-action.is-visible {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }
        .set-swipe-action:active {
            background: #be123c;
        }
        .set-swipe-front {
            position: relative;
            z-index: 10;
            background: #0c111d;
            border: 1px solid rgba(255, 255, 255, 0.06);
            border-radius: 0.75rem;
            transition: transform 0.2s ease;
            will-change: transform;
            transform: translateX(0);
        }
        .set-swipe-front.is-swiped {
            transform: translateX(-6rem);
        }
        /* Block swipe-to-delete (Voortgang / Builder) — 5rem action rail */
        .block-swipe-shell {
            position: relative;
            overflow: hidden;
            border-radius: 0.75rem;
            background: #0c111d;
            isolation: isolate;
            touch-action: pan-y;
        }
        .block-swipe-action {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 5rem;
            background: #e11d48;
            color: #fff;
            border: none;
            padding: 0;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.15s ease, visibility 0.15s ease;
        }
        .block-swipe-action.is-visible {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }
        .block-swipe-action:active {
            background: #be123c;
        }
        .block-swipe-front {
            position: relative;
            z-index: 10;
            background: #0c111d;
            transition: transform 0.2s ease;
            will-change: transform;
            transform: translateX(0);
        }
        .block-swipe-front.is-swiped {
            transform: translateX(-5rem);
        }
        .progress-chart-card {
            background: linear-gradient(180deg, #0c1220 0%, #0b0f17 100%);
            border: 1px solid rgba(255, 255, 255, 0.06);
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
        }
        .progress-chart-inner {
            background: rgba(8, 12, 18, 0.72);
            border: 1px solid rgba(255, 255, 255, 0.04);
            border-radius: 0.875rem;
        }
        .progress-kpi {
            background: #121824;
            border: 1px solid #1e293b;
            border-radius: 0.75rem;
            padding: 0.625rem 0.75rem;
        }
        .progress-mode-toggle {
            background: #0d131a;
            border: 1px solid #1e293b;
            border-radius: 0.75rem;
            padding: 0.2rem;
        }
        .progress-mode-btn {
            border-radius: 0.5rem;
            transition: all 0.15s ease;
            color: #94a3b8;
            border: 1px solid transparent;
        }
        .progress-mode-btn.is-active {
            background: rgba(16, 185, 129, 0.15);
            color: #34d399;
            font-weight: 700;
            border-color: rgba(16, 185, 129, 0.35);
        }
        .set-target-label {
            height: 0.875rem;
            margin-bottom: 0.2rem;
            font-size: 9px;
            line-height: 0.875rem;
            color: #71717a;
        }
        .set-control {
            height: 2.75rem;
            min-height: 2.75rem;
            max-height: 2.75rem;
            border-radius: 0.75rem;
            font-size: 1.125rem;
            line-height: 1.25rem;
            font-weight: 700;
            padding-top: 0;
            padding-bottom: 0;
            box-sizing: border-box;
        }
        .workout-hud {
            height: 44px;
            background: rgba(9, 13, 16, 0.95);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }
        .rest-timer {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            height: 1.75rem;
            padding: 0.25rem 0.625rem;
            border-radius: 0.375rem;
            color: #34d399;
            background: rgba(2, 44, 34, 0.4);
            border: 1px solid rgba(16, 185, 129, 0.3);
            transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
        }
        .rest-timer-icon {
            width: 14px;
            height: 14px;
            flex-shrink: 0;
            opacity: 0.9;
        }
        .rest-timer-digits {
            font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.08em;
            font-variant-numeric: tabular-nums;
            line-height: 1;
        }
        .rest-timer.is-running {
            color: #34d399;
            background: rgba(2, 44, 34, 0.55);
            border-color: rgba(16, 185, 129, 0.45);
        }
        .rest-timer.is-paused {
            color: #fbbf24;
            background: rgba(66, 32, 6, 0.45);
            border-color: rgba(251, 191, 36, 0.35);
        }
        .rest-timer.is-done-flash {
            color: #090d10;
            background: #10b981;
            border-color: #34d399;
            box-shadow: 0 0 14px rgba(16, 185, 129, 0.55);
        }
        .hud-calc-btn {
            width: 2rem;
            height: 2rem;
            border-radius: 0.5rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #94a3b8;
            background: rgba(15, 23, 42, 0.55);
            border: 1px solid rgba(71, 85, 105, 0.7);
            transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
        }
        .hud-calc-btn:hover,
        .hud-calc-btn:active {
            color: #34d399;
            border-color: rgba(16, 185, 129, 0.45);
            background: rgba(6, 78, 59, 0.35);
            box-shadow: 0 0 12px rgba(16, 185, 129, 0.25);
        }
        .hud-calc-icon {
            width: 20px;
            height: 20px;
        }
        .set-done-hit {
            position: relative;
            z-index: 2;
            isolation: isolate;
            border-radius: 0.75rem;
            background-color: #0f172a;
            border: 1px solid rgba(63, 63, 70, 0.7);
            color: #71717a;
            font-weight: 600;
            opacity: 1;
            transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
        }
        .set-done-hit:hover {
            border-color: rgba(16, 185, 129, 0.5);
            color: #34d399;
        }
        .set-done-hit.is-done {
            background-color: #10b981;
            border-color: #34d399;
            color: #090d10;
            font-weight: 800;
            box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
        }
        .set-done-hit.is-done:hover {
            border-color: #34d399;
            color: #090d10;
        }
        .note-bubble {
            position: relative;
            width: 1.75rem;
            height: 1.75rem;
            border-radius: 0.5rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: #71717a;
            transition: color 0.15s ease, background-color 0.15s ease;
        }
        .note-bubble.has-note { color: #34d399; }
        .note-bubble.has-note::after {
            content: '';
            position: absolute;
            top: 0.2rem;
            right: 0.2rem;
            width: 0.35rem;
            height: 0.35rem;
            border-radius: 9999px;
            background: #10b981;
        }
        /* Exercise drag-and-drop (SortableJS) — OLED emerald */
        .exercise-sortable-list.sortable-drag-active {
            cursor: grabbing;
        }
        .exercise-card.sortable-chosen,
        .exercise-card.sortable-drag {
            transform: scale(1.02);
            opacity: 0.95;
            border-color: rgba(16, 185, 129, 0.7) !important;
            box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
            z-index: 40;
        }
        .exercise-card.sortable-ghost {
            opacity: 1 !important;
            transform: none !important;
            box-shadow: none !important;
            border: 2px dashed rgba(16, 185, 129, 0.4) !important;
            border-radius: 1rem;
            background: rgba(2, 44, 34, 0.1) !important;
            min-height: 4.5rem;
        }
        .exercise-card.sortable-ghost > * {
            visibility: hidden;
        }
        .sortable-fallback.exercise-card {
            transform: scale(1.02);
            opacity: 0.95;
            border-color: rgba(16, 185, 129, 0.7) !important;
            box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
            border-radius: 1rem;
        }
        .pwa-install-banner {
            position: fixed;
            left: 0.75rem;
            right: 0.75rem;
            bottom: calc(0.75rem + env(safe-area-inset-bottom));
            z-index: 45;
            display: none;
            align-items: flex-start;
            gap: 0.75rem;
            padding: 0.7rem 0.85rem;
            border-radius: 1rem;
            background: rgba(3, 7, 18, 0.94);
            border: 1px solid rgba(255, 255, 255, 0.08);
            color: #e4e4e7;
            font-size: 0.75rem;
            line-height: 1.45;
            box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
        }
        .pwa-install-banner.is-visible { display: flex; }
        .pwa-install-banner p { margin: 0; flex: 1; }
        .pwa-install-banner button {
            flex-shrink: 0;
            width: 1.75rem;
            height: 1.75rem;
            border-radius: 0.6rem;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: transparent;
            color: #a1a1aa;
            font-size: 0.75rem;
        }
        .coach-chip {
            border-radius: 9999px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(13, 19, 26, 0.9);
            color: #a1a1aa;
            font-size: 0.68rem;
            font-weight: 600;
            line-height: 1.2;
            padding: 0.4rem 0.7rem;
            text-align: left;
        }
        .coach-chip.is-on {
            background: rgba(16, 185, 129, 0.16);
            border-color: rgba(16, 185, 129, 0.45);
            color: #6ee7b7;
        }
