:root {
    --farm-dark: #14532D;
    --farm-green: #16A34A;
    --farm-green-soft: #DCFCE7;
    --yolk-gold: #F59E0B;
    --yolk-soft: #FEF3C7;
    --bg-canvas: #F3F6F4;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #E5EAE7;
    margin: 0;
    color: #1F2937;
    overflow-x: hidden;
}

.mobile-shell {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: var(--bg-canvas);
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
    padding-bottom: 84px;
}

/* Top App Bar */
.app-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: linear-gradient(135deg, var(--farm-dark) 0%, #166534 100%);
    color: #FFFFFF;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(20, 83, 45, 0.2);
}

.brand-badge {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--yolk-gold);
    color: var(--farm-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
}

.brand-title {
    font-weight: 800;
    font-size: 15px;
    line-height: 1.1;
    letter-spacing: 0.3px;
}

.badge-farm {
    background: rgba(255, 255, 255, 0.16);
    color: #FDE68A;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 6px;
}

.brand-date {
    font-size: 11px;
    opacity: 0.85;
    margin-top: 2px;
}

.topbar-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.notif-dot {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--yolk-gold);
    color: #111827;
    font-size: 10px;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-content {
    padding: 14px 14px 24px;
}

/* Cards & Colors */
.hero-farm-card {
    background: linear-gradient(135deg, #14532D 0%, #15803D 100%);
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(20, 83, 45, 0.22);
}

.hdp-pill {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(253, 224, 71, 0.35);
    color: #FDE047;
    padding: 6px 12px;
    border-radius: 14px;
}

.mobile-card, .stat-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: #6B7280;
}

.stat-value {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
}

.stat-sub {
    font-size: 11px;
    color: #6B7280;
    margin-top: 3px;
}

.stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.bg-farm { background-color: var(--farm-dark) !important; }
.text-farm { color: var(--farm-dark) !important; }
.bg-green-soft { background-color: var(--farm-green-soft) !important; }
.bg-yolk-soft { background-color: var(--yolk-soft) !important; }
.text-yolk { color: #B45309 !important; }

.btn-farm {
    background-color: var(--farm-dark);
    color: #FFFFFF;
    border: none;
}
.btn-farm:hover, .btn-farm:active {
    background-color: #0F3F22;
    color: #FFFFFF;
}

/* Filter Chips */
.filter-chip {
    padding: 6px 14px;
    border-radius: 99px;
    background: #FFFFFF;
    color: #4B5563;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid #E5E7EB;
}
.filter-chip.active {
    background: var(--farm-dark);
    color: #FFFFFF;
    border-color: var(--farm-dark);
}

/* Bottom Navigation */
.app-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 66px;
    background: #FFFFFF;
    border-top: 1px solid #E5E7EB;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1030;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
}

.nav-item-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #6B7280;
    font-size: 11px;
    font-weight: 600;
    gap: 3px;
}

.nav-item-btn i {
    font-size: 18px;
}

.nav-item-btn.active {
    color: var(--farm-dark);
    font-weight: 800;
}

.nav-item-btn.active i {
    color: var(--farm-green);
}

/* Floating Action Button */
.fab-quick-btn {
    position: fixed;
    bottom: 80px;
    right: max(16px, calc(50% - 224px));
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--yolk-gold) 0%, #D97706 100%);
    color: #111827;
    border: none;
    font-size: 22px;
    box-shadow: 0 6px 18px rgba(217, 119, 6, 0.4);
    z-index: 1025;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-sheet {
    max-width: 480px;
    margin: 0 auto;
    height: auto !important;
    max-height: 75vh;
}

.quick-tile {
    display: block;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 12px;
    text-decoration: none;
    color: #111827;
}

.quick-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 16px;
}

/* Login & Profile */
.login-hero {
    background: linear-gradient(150deg, var(--farm-dark) 0%, #15803D 100%);
    padding: 44px 24px 36px;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
}

.login-logo {
    width: 68px;
    height: 68px;
    border-radius: 22px;
    background: var(--yolk-gold);
    color: var(--farm-dark);
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.avatar-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--yolk-gold);
    color: var(--farm-dark);
    font-weight: 800;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-grid-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: 12px;
    background: #F9FAFB;
    text-decoration: none;
    color: #1F2937;
    font-size: 12px;
    font-weight: 600;
}
.menu-grid-box i {
    font-size: 20px;
}