:root {
        --primary: #008975;
        --primary-50: #f0f9f8;
        --primary-100: #e6f3f1;
        --primary-200: #99d5cd;
        --primary-dark: #006d5b;
        --gray-50: #f8fafc;
        --gray-100: #f1f5f9;
        --gray-200: #e2e8f0;
        --gray-300: #cbd5e1;
        --gray-400: #94a3b8;
        --gray-500: #64748b;
        --gray-600: #475569;
        --gray-700: #334155;
        --gray-800: #1e293b;
        --gray-900: #0f172a;
        --white: #ffffff;
        --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1),
          0 1px 2px 0 rgba(0, 0, 0, 0.06);
        --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
          0 2px 4px -1px rgba(0, 0, 0, 0.06);
        --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
          0 4px 6px -2px rgba(0, 0, 0, 0.05);
      }

      * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
      }

      body {
        font-family: "Poppins", sans-serif;
        background: var(--gray-50);
        color: var(--gray-800);
        line-height: 1.4;
        -webkit-font-smoothing: antialiased;
        font-size: 14px;
        overflow-x: hidden;
      }

      /* Compact Header */
      .header {
        background: var(--white);
        border-bottom: 1px solid var(--gray-200);
        position: sticky;
        top: 0;
        z-index: 50;
      }

      .header-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 56px;
      }

      .header-nav {
        display: flex;
        align-items: center;
        gap: 0.5rem;
      }

      .nav-link {
        color: var(--gray-600);
        text-decoration: none;
        font-size: 0.85rem;
        font-weight: 500;
        padding: 0.35rem 0.55rem;
        border-radius: 8px;
        transition: background 0.15s ease, color 0.15s ease;
      }

      .nav-link:hover {
        background: var(--gray-100);
        color: var(--gray-900);
        text-decoration: none;
      }

      .logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-decoration: none;
      }

      .logo-icon {
        width: 32px;
        height: 32px;
        background: linear-gradient(
          135deg,
          var(--primary) 0%,
          var(--primary-dark) 100%
        );
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        font-weight: 700;
        font-size: 0.9rem;
      }

      .logo-text {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
      }

      .logo-main {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--primary);
      }

      .logo-business {
        font-size: 0.7rem;
        font-weight: 600;
        color: var(--gray-600);
        text-transform: uppercase;
        letter-spacing: 0.03em;
      }

      .header-actions {
        display: flex;
        align-items: center;
        gap: 0.75rem;
      }

      .btn-primary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 0.9rem;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        color: var(--white);
        border-radius: 10px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.85rem;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.04);
        transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
      }

      .btn-primary:hover {
        color: var(--white);
        text-decoration: none;
        transform: translateY(-1px);
        box-shadow: 0 10px 18px rgba(15, 23, 42, 0.14);
        filter: brightness(1.03);
      }

      /* Compact Dropdown */
      .dropdown {
        position: relative;
      }

      .dropdown-trigger {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.4rem 0.75rem;
        border-radius: 6px;
        border: 1px solid var(--gray-200);
        background: var(--white);
        color: var(--gray-700);
        font-size: 0.8rem;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.15s ease;
      }

      .dropdown-trigger:hover {
        border-color: var(--primary);
      }

      .dropdown-menu {
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: 0.25rem;
        background: var(--white);
        border: 1px solid var(--gray-200);
        border-radius: 8px;
        padding: 0.5rem;
        min-width: 200px;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-4px);
        transition: all 0.15s ease;
        z-index: 50;
      }

      .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
      }

      .dropdown-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem;
        border-radius: 6px;
        color: var(--gray-700);
        text-decoration: none;
        font-size: 0.8rem;
        transition: all 0.15s ease;
      }

      .dropdown-item:hover {
        background: var(--primary-50);
        color: var(--primary);
      }

      .dropdown-divider {
        height: 1px;
        background: var(--gray-200);
        margin: 0.25rem 0;
      }

      /* User Avatar */
      .user-avatar {
        width: 28px;
        height: 28px;
        border-radius: 6px;
        object-fit: cover;
      }

      /* Compact Main Content */
      .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 1.25rem 1rem;
      }

      /* Compact Welcome Section */
      .welcome-section {
        margin-bottom: 1.5rem;
      }

      .welcome-title {
        font-size: 1.3rem;
        font-weight: 600;
        color: var(--gray-900);
        margin-bottom: 0.25rem;
      }

      .welcome-subtitle {
        font-size: 0.8rem;
        color: var(--gray-600);
        font-weight: 400;
      }

      /* Compact Stats Grid */
      .stats-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 0.75rem;
        margin-bottom: 1.5rem;
      }

      .stat-card {
        background: var(--white);
        border: 1px solid var(--gray-200);
        border-radius: 8px;
        padding: 1rem;
        position: relative;
        overflow: hidden;
        transition: all 0.15s ease;
      }

      .stat-card:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow-md);
      }

      .stat-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 3px;
        height: 100%;
        background: linear-gradient(
          180deg,
          var(--primary) 0%,
          var(--primary-dark) 100%
        );
      }

      .stat-value {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--gray-900);
        line-height: 1;
        margin-bottom: 0.25rem;
      }

      .stat-label {
        font-size: 0.75rem;
        color: var(--gray-600);
        font-weight: 500;
      }

      /* Compact Apps Grid */
      .apps-section {
        margin-bottom: 1.5rem;
      }

      .section-header {
        display: flex;
        align-items: center;
        justify-content: between;
        margin-bottom: 1rem;
      }

      .section-title {
        font-size: 1rem;
        font-weight: 600;
        color: var(--gray-900);
      }

      .apps-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
      }

      .app-card {
        background: var(--white);
        border: 1px solid var(--gray-200);
        border-radius: 8px;
        padding: 1.25rem;
        text-decoration: none;
        color: inherit;
        transition: all 0.15s ease;
        position: relative;
        overflow: hidden;
      }

      .app-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
        border-color: var(--primary-200);
      }

      .app-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(
          90deg,
          var(--primary) 0%,
          var(--primary-dark) 100%
        );
      }

      .app-header {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
      }

      .app-icon {
        width: 40px;
        height: 40px;
        background: linear-gradient(
          135deg,
          var(--primary) 0%,
          var(--primary-dark) 100%
        );
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        font-size: 1rem;
      }

      .app-title {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--gray-900);
      }

      .app-description {
        font-size: 0.8rem;
        color: var(--gray-600);
        line-height: 1.4;
        margin-bottom: 1rem;
      }

      .app-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        border-top: 1px solid var(--gray-200);
        padding-top: 0.75rem;
      }

      .app-stat {
        text-align: center;
      }

      .app-stat-value {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 0.125rem;
      }

      .app-stat-label {
        font-size: 0.7rem;
        color: var(--gray-500);
        text-transform: uppercase;
        letter-spacing: 0.03em;
        font-weight: 500;
      }

      /* Compact Recent Activity */
      .activity-section {
        background: var(--white);
        border: 1px solid var(--gray-200);
        border-radius: 8px;
        padding: 1.25rem;
      }

      .activity-list {
        list-style: none;
      }

      .activity-item {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--gray-200);
      }

      .activity-item:last-child {
        border-bottom: none;
      }

      .activity-icon {
        width: 32px;
        height: 32px;
        background: var(--primary-50);
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        font-size: 0.8rem;
        flex-shrink: 0;
      }

      .activity-content {
        flex: 1;
      }

      .activity-text {
        font-size: 0.8rem;
        color: var(--gray-800);
        margin-bottom: 0.125rem;
        font-weight: 500;
      }

      .activity-time {
        font-size: 0.7rem;
        color: var(--gray-500);
        display: flex;
        align-items: center;
        gap: 0.25rem;
      }

      .activity-badge {
        background: var(--primary-50);
        color: var(--primary);
        padding: 0.2rem 0.5rem;
        border-radius: 10px;
        font-size: 0.65rem;
        font-weight: 600;
        margin-left: auto;
      }

      /* Compact Quick Actions */
      .quick-actions {
        display: flex;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
        flex-wrap: wrap;
      }

      .action-btn {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background: var(--white);
        border: 1px solid var(--gray-200);
        border-radius: 6px;
        color: var(--gray-700);
        text-decoration: none;
        font-size: 0.8rem;
        font-weight: 500;
        transition: all 0.15s ease;
      }

      .action-btn:hover {
        border-color: var(--primary);
        color: var(--primary);
        text-decoration: none;
      }

      /* Footer */
      .footer {
        background: var(--white);
        border-top: 1px solid var(--gray-200);
      }

      .footer .container {
        padding-top: 1rem;
        padding-bottom: 1rem;
      }

      .footer-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        flex-wrap: wrap;
      }

      .footer-copyright {
        color: var(--gray-600);
        font-size: 0.8rem;
      }

      .footer-links {
        display: flex;
        align-items: center;
        gap: 0.85rem;
        flex-wrap: wrap;
      }

      .footer-link {
        color: var(--gray-600);
        font-size: 0.8rem;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
      }

      .footer-link:hover {
        color: var(--primary);
        text-decoration: none;
      }

      .footer-divider {
        color: var(--gray-400);
      }
