

    

    .section-label {
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 3px;
      text-transform: uppercase;
      color: var(--muted);
      margin: 32px 0 12px;
      padding-left: 4px;
    }

    .table-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 8px;
      overflow: hidden;
      margin-bottom: 16px;
    }

    .exercise-table {
      width: 100%;
      border-collapse: collapse;
    }

    .exercise-table thead tr {
      border-bottom: 1px solid var(--border);
    }

    .exercise-table thead th {
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--muted);
      padding: 8px 16px;
      text-align: left;
    }

    .exercise-table thead th:not(:first-child) { text-align: center; }

    .exercise-table tbody tr {
      border-bottom: 1px solid #1e2024;
      transition: background 0.12s ease;
      cursor: pointer;
    }

    .exercise-table tbody tr:hover { background: #1c1f23; }
    .exercise-table tbody tr:last-child { border-bottom: none; }

    .exercise-table td {
      padding: 14px 16px;
      font-size: 14px;
      color: var(--text);
      vertical-align: middle;
    }

    .exercise-table td:not(:first-child) {
      text-align: center;
      color: var(--text-dim);
      font-size: 13px;
    }

    .exercise-name { font-weight: 500; }
    .exercise-note { font-size: 11px; color: var(--muted); margin-top: 2px; }

    .pill {
      display: inline-block;
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
      padding: 3px 8px;
      border-radius: 20px;
      margin-left: 8px;
      vertical-align: middle;
    }

    .pill-warm-up { background: rgba(71,200,255,0.12); color: var(--accent2); border: 1px solid rgba(71,200,255,0.2); }
    .pill-cardio { background: rgba(232,255,71,0.1); color: var(--accent); border: 1px solid rgba(232,255,71,0.2); }
    .pill-core { background: rgba(255,140,71,0.1); color: #ff9f47; border: 1px solid rgba(255,140,71,0.2); }
    .pill-strength { background: rgba(71,255,120,0.1); color: #47ff78; border: 1px solid rgba(71,255,120,0.2); }
    .pill-flexibility { background: rgba(255,71,190,0.1); color: #ff47c8; border: 1px solid rgba(255,71,190,0.2); } 
    .pill-rest { background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid rgba(255,255,255,0.15); }  
    .pill-hypertrophy { background: rgba(232,71,255,0.1); color: #e847ff; border: 1px solid rgba(232,71,255,0.2); }   
    
    
    .day-note {
      background: rgba(71,200,255,0.06);
      border: 1px solid rgba(71,200,255,0.15);
      border-radius: 6px;
      padding: 12px 16px;
      margin-bottom: 20px;
      font-size: 13px;
      color: var(--accent2);
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .rest-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 60px 40px;
      text-align: center;
    }

    .rest-card .rest-icon { font-size: 48px; margin-bottom: 16px; }
    .rest-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: 2px; color: var(--muted); margin-bottom: 8px; }
    .rest-card p { color: var(--muted); font-size: 14px; }

    /* Modal */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.85);
      z-index: 1000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
      backdrop-filter: blur(4px);
    }

    .modal-overlay.open { display: flex; }

    .modal {
      background: var(--dark);
      border: 1px solid var(--border);
      border-radius: 12px;
      max-width: 560px;
      max-height: 90%;
      width: 100%;
      overflow-y: scroll;
      scrollbar-color: var(--muted) transparent;
      animation: modalIn 0.2s ease;
    }

    @keyframes modalIn {
      from { opacity: 0; transform: scale(0.96) translateY(12px); }
      to { opacity: 1; transform: scale(1) translateY(0); }
    }

    .modal-image-wrap {
      width: 100%;
      height: 240px;
      background: #1a1c20;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;
    }

    .modal-image-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .modal-image-placeholder {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      color: var(--muted);
    }

    .modal-image-placeholder .icon { font-size: 40px; }
    .modal-image-placeholder p { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }

    .modal-body { 
      padding: 24px 28px 28px; 
    }

    .modal-tag {
      font-size: 10px;
      font-weight: 600;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 6px;
    }

    .modal-title {
      font-family: 'Bebas Neue', sans-serif;
      font-size: 28px;
      letter-spacing: 1px;
      color: var(--text);
      margin-bottom: 12px;
    }

    .modal-desc {
      font-size: 14px;
      color: var(--text-dim);
      line-height: 1.7;
      margin-bottom: 20px;
    }

    .modal-steps {
      list-style: none;
      margin-bottom: 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .modal-steps li {
      display: flex;
      gap: 12px;
      align-items: flex-start;
      font-size: 14px;
      color: var(--text-dim);
      line-height: 1.6;
    }

    .modal-steps li .step-num {
      flex-shrink: 0;
      width: 22px;
      height: 22px;
      background: var(--accent);
      color: var(--black);
      font-size: 11px;
      font-weight: 700;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 1px;
    }

    .modal-meta {
      display: flex;
      gap: 20px;
      margin-bottom: 20px;
      flex-wrap: wrap;
    }

    .modal-meta-item { font-size: 13px; }
    .modal-meta-item .label { color: var(--muted); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; display: block; margin-bottom: 2px; }
    .modal-meta-item .value { color: var(--text); font-weight: 500; }

    .modal-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--accent);
      color: var(--black);
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 10px 20px;
      border-radius: 4px;
      text-decoration: none;
      transition: opacity 0.15s;
    }

    .modal-link:hover { opacity: 0.85; }

    .modal-link.placeholder {
      background: var(--card);
      color: var(--muted);
      border: 1px solid var(--border);
      cursor: default;
    }

    .modal-close {
      position: absolute;
      top: 14px;
      right: 14px;
      background: rgba(0,0,0,0.5);
      border: none;
      color: var(--text);
      font-size: 18px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
      transition: background 0.15s;
    }

    .modal-close:hover { background: rgba(255,255,255,0.15); }

    .row-hint {
      font-size: 11px;
      color: var(--muted);
      text-align: right;
      margin-bottom: 8px;
      font-style: italic;
    }