* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    }

    body {
      background: linear-gradient(145deg, #f0f8f0 0%, #e8f3e8 100%);
      min-height: 100vh;
      color: #1a2e1a;
      line-height: 1.5;
    }

    .container {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 24px;
    }
    header {
      background: linear-gradient(135deg, #0d3b1a 0%, #1a5c2e 50%, #0f451f 100%);
      color: white;
      padding: 18px 0;
      box-shadow: 0 8px 32px rgba(13, 59, 26, 0.3);
      position: relative;
      overflow: hidden;
    }

    header::before {
      content: "";
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
      animation: shimmer 8s infinite linear;
    }

    @keyframes shimmer {
      0% { transform: translate(-30%, -30%) rotate(0deg); }
      100% { transform: translate(-30%, -30%) rotate(360deg); }
    }

    .header-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      position: relative;
      z-index: 1;
    }

    .logo {
      font-size: 26px;
      font-weight: 800;
      letter-spacing: 1px;
      text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo::before {
      content: "🥗";
      font-size: 32px;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }

    nav {
      display: flex;
      gap: 8px;
    }

    nav a {
      color: white;
      padding: 10px 18px;
      text-decoration: none;
      font-weight: 600;
      font-size: 15px;
      border-radius: 40px;
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      transition: all 0.3s ease;
    }

    nav a:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
      border-color: rgba(255, 255, 255, 0.3);
    }

    nav a.active {
      background: rgba(255, 255, 255, 0.25);
      border-color: rgba(255, 255, 255, 0.4);
    }

    .hero {
      background: linear-gradient(135deg, #c5e0c5 0%, #a8d4a8 50%, #b8dfb8 100%);
      padding: 48px 0;
      text-align: center;
      border-radius: 0 0 60px 60px;
      margin-bottom: 36px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 15px 40px rgba(30, 70, 30, 0.15);
    }

    .hero h1 {
      font-size: 38px;
      color: #0a2e0a;
      margin-bottom: 12px;
      font-weight: 800;
      text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.5);
      animation: fadeInUp 0.8s ease;
    }

    .hero p {
      font-size: 17px;
      color: #1a3a1a;
      max-width: 600px;
      margin: 0 auto;
      opacity: 0.95;
      animation: fadeInUp 0.8s ease 0.2s both;
    }

    @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      margin-bottom: 30px;
    }

    .stat-card {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(20px);
      border-radius: 20px;
      padding: 24px 20px;
      text-align: center;
      box-shadow: 0 10px 25px rgba(20, 60, 20, 0.06);
      border: 1px solid rgba(180, 215, 180, 0.4);
      transition: transform 0.3s ease;
    }

    .stat-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 30px rgba(46, 125, 50, 0.1);
    }

    .stat-icon {
      font-size: 36px;
      margin-bottom: 12px;
    }

    .stat-number {
      font-size: 32px;
      font-weight: 800;
      color: #1a5c2e;
      margin-bottom: 6px;
    }

    .stat-label {
      font-size: 14px;
      color: #456b45;
      font-weight: 500;
    }

    .card {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(20px);
      border-radius: 32px;
      padding: 32px;
      margin-bottom: 36px;
      box-shadow: 0 20px 40px rgba(20, 60, 20, 0.08),
                  0 4px 12px rgba(0, 0, 0, 0.03),
                  inset 0 1px 0 rgba(255, 255, 255, 0.8);
      border: 1px solid rgba(180, 215, 180, 0.4);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card:hover {
      box-shadow: 0 30px 60px rgba(30, 80, 30, 0.12),
                  0 8px 20px rgba(0, 0, 0, 0.05),
                  inset 0 1px 0 rgba(255, 255, 255, 0.9);
      transform: translateY(-3px);
    }

    .section-title {
      font-size: 24px;
      color: #0f3d1a;
      margin-bottom: 24px;
      font-weight: 700;
      border-left: 8px solid #2e7d32;
      padding-left: 20px;
      background: linear-gradient(90deg, rgba(46, 125, 50, 0.08) 0%, transparent 80%);
      border-radius: 0 4px 4px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .title-actions {
      display: flex;
      gap: 12px;
    }

    .btn-icon {
      padding: 8px 16px;
      background: #e8f5e9;
      border: 1px solid #c8e0c8;
      border-radius: 30px;
      font-size: 14px;
      font-weight: 600;
      color: #2e7d32;
      cursor: pointer;
      transition: all 0.25s ease;
    }

    .btn-icon:hover {
      background: #2e7d32;
      color: white;
      border-color: #2e7d32;
    }

    .filter-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 28px;
      padding-bottom: 20px;
      border-bottom: 1px solid #d0e4d0;
    }

    .filter-group {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .filter-group label {
      font-size: 14px;
      font-weight: 600;
      color: #2e5e2e;
    }

    .filter-select {
      padding: 10px 16px;
      border: 2px solid #cde0cd;
      border-radius: 30px;
      font-size: 14px;
      background: white;
      color: #1a3a1a;
      cursor: pointer;
      transition: all 0.2s;
    }

    .filter-select:focus {
      border-color: #2e7d32;
      outline: none;
      box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
    }

    .search-box {
      display: flex;
      align-items: center;
      margin-left: auto;
    }

    .search-input {
      padding: 10px 16px;
      border: 2px solid #cde0cd;
      border-radius: 30px;
      font-size: 14px;
      width: 220px;
      transition: all 0.2s;
    }

    .search-input:focus {
      border-color: #2e7d32;
      outline: none;
      box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
    }

    .history-list {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .history-item {
      background: #f8fcf8;
      border-radius: 20px;
      padding: 20px 24px;
      border: 1px solid #d8ead8;
      transition: all 0.25s ease;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
    }

    .history-item:hover {
      background: white;
      border-color: #a8d4a8;
      box-shadow: 0 8px 20px rgba(46, 125, 50, 0.08);
      transform: translateX(5px);
    }

    .history-info {
      display: flex;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
    }

    .history-icon {
      width: 56px;
      height: 56px;
      background: linear-gradient(145deg, #e4f3e4, #d4ead4);
      border-radius: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      color: #2e7d32;
      border: 1px solid #b8d8b8;
    }

    .history-details {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .history-title {
      font-size: 18px;
      font-weight: 700;
      color: #1a4a1a;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .history-badge {
      padding: 4px 12px;
      background: #e8f5e9;
      border-radius: 30px;
      font-size: 12px;
      font-weight: 600;
      color: #2e7d32;
      border: 1px solid #c8e0c8;
    }

    .history-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      font-size: 14px;
      color: #5a7e5a;
    }

    .history-meta span {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .history-preview {
      font-size: 14px;
      color: #3d6b3d;
      max-width: 400px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .history-actions {
      display: flex;
      gap: 10px;
    }

    .history-btn {
      padding: 10px 18px;
      border: 1.5px solid #cde0cd;
      background: white;
      border-radius: 30px;
      font-size: 14px;
      font-weight: 600;
      color: #2e7d32;
      cursor: pointer;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .history-btn:hover {
      background: #2e7d32;
      color: white;
      border-color: #2e7d32;
      transform: translateY(-2px);
      box-shadow: 0 6px 15px rgba(46, 125, 50, 0.15);
    }

    .history-btn.delete:hover {
      background: #d32f2f;
      border-color: #d32f2f;
    }

    .empty-state {
      text-align: center;
      padding: 60px 40px;
    }

    .empty-icon {
      font-size: 72px;
      margin-bottom: 20px;
      opacity: 0.6;
    }

    .empty-state h3 {
      color: #1a4a1a;
      margin-bottom: 12px;
      font-size: 22px;
    }

    .empty-state p {
      color: #5a7e5a;
      margin-bottom: 28px;
    }

    .empty-state .btn-primary {
      display: inline-block;
      padding: 14px 36px;
      background: linear-gradient(135deg, #1a5c2e, #2b7a3e);
      color: white;
      border-radius: 40px;
      text-decoration: none;
      font-weight: bold;
      transition: all 0.3s ease;
      box-shadow: 0 8px 20px rgba(26, 92, 46, 0.25);
    }

    .empty-state .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 30px rgba(26, 92, 46, 0.35);
    }

    .pagination {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 32px;
    }

    .page-btn {
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1.5px solid #cde0cd;
      background: white;
      border-radius: 14px;
      font-weight: 600;
      color: #2e7d32;
      cursor: pointer;
      transition: all 0.2s;
    }

    .page-btn:hover {
      background: #e8f5e9;
      border-color: #2e7d32;
    }

    .page-btn.active {
      background: #2e7d32;
      color: white;
      border-color: #2e7d32;
    }

    .page-btn.disabled {
      opacity: 0.4;
      cursor: not-allowed;
    }

    footer {
      background: linear-gradient(135deg, #0d3b1a 0%, #145a24 100%);
      color: white;
      text-align: center;
      padding: 28px 0;
      margin-top: 50px;
      border-radius: 60px 60px 0 0;
      box-shadow: 0 -10px 30px rgba(13, 59, 26, 0.15);
      position: relative;
      overflow: hidden;
    }

    footer::after {
      content: "🌱 🥑 🍅 🥦";
      position: absolute;
      bottom: 10px;
      right: 20px;
      font-size: 24px;
      opacity: 0.15;
    }

    @media (max-width: 900px) {
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .header-inner {
        flex-direction: column;
        gap: 15px;
      }

      nav {
        flex-wrap: wrap;
        justify-content: center;
      }

      .hero h1 {
        font-size: 30px;
      }

      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .filter-bar {
        flex-direction: column;
      }

      .search-box {
        margin-left: 0;
        width: 100%;
      }

      .search-input {
        width: 100%;
      }

      .history-item {
        flex-direction: column;
        align-items: flex-start;
      }

      .history-actions {
        width: 100%;
        justify-content: flex-end;
      }

      .history-preview {
        max-width: 100%;
      }
    }

    @media (max-width: 480px) {
      .stats-grid {
        grid-template-columns: 1fr;
      }

      .history-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
      }

      .history-meta {
        flex-direction: column;
        gap: 4px;
      }
    }