        /* KOOPERANT DISPLAY */
        .koop-display { background: var(--primary); color: white; padding: 14px; border-radius: var(--radius); margin-bottom: 14px; display: none; }
        .koop-display.visible { display: block; }
        .koop-display .koop-name { font-size: 18px; font-weight: 700; }
        .koop-display .koop-id { font-size: 12px; opacity: 0.8; }
        .parcel-label {
            background: rgba(255,255,255,0.92);
            border: 1px solid #333;
            border-radius: 6px;
            color: #111;
            font-weight: 700;
            font-size: 12px;
            padding: 2px 6px;
            box-shadow: 0 1px 4px rgba(0,0,0,0.25);
        }
        .meteo-panel { background: white; border-radius: var(--radius); padding: 14px; margin-bottom: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
        .meteo-current { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
        .meteo-temp { font-size: 36px; font-weight: 700; color: var(--primary); }
        .meteo-details { font-size: 13px; color: var(--text-muted); }
        .meteo-risk { padding: 10px 14px; border-radius: 8px; margin-bottom: 6px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
        .meteo-risk.danger { background: #fee2e2; color: #991b1b; border-left: 4px solid var(--danger); }
        .meteo-risk.warning { background: #fef3c7; color: #92400e; border-left: 4px solid var(--warning); }
        .meteo-risk.ok { background: #d1fae5; color: #065f46; border-left: 4px solid var(--success); }
        .meteo-forecast { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 12px; }
        .meteo-day { text-align: center; padding: 8px 2px; background: #f9fafb; border-radius: 6px; font-size: 11px; }
        .meteo-day .day-name { font-weight: 600; color: var(--text-muted); }
        .meteo-day .day-icon { font-size: 18px; margin: 4px 0; }
        .meteo-day .day-temp { font-weight: 600; }
        .meteo-day .day-rain { color: #3b82f6; font-size: 10px; }
        .spray-window { background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 8px; padding: 10px 12px; margin-bottom: 6px; font-size: 12px; }
        .spray-window .spray-time { font-weight: 700; color: var(--primary); font-size: 14px; }
        .spray-window .spray-details { color: var(--text-muted); margin-top: 2px; }

        .meteo-forecast-3d {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            padding-bottom: 2px;
        }

        .meteo-forecast-3d .meteo-day {
            min-width: 78px;
            flex: 0 0 auto;
            text-align: center;
            padding: 8px 6px;
            background: #f9fafb;
            border-radius: 8px;
            font-size: 11px;
        }

        .meteo-forecast-3d .day-name {
            font-weight: 600;
            color: var(--text-muted);
            margin-bottom: 2px;
        }

        .meteo-forecast-3d .day-icon {
            font-size: 18px;
            line-height: 1.1;
            margin: 2px 0;
        }

        .meteo-forecast-3d .day-temp {
            font-weight: 700;
            font-size: 12px;
        }

        .meteo-forecast-3d .day-temp-min {
            color: var(--text-muted);
            font-size: 11px;
        }

        .meteo-forecast-3d .day-rain {
            color: #3b82f6;
            font-size: 10px;
            margin-top: 2px;
        }

        .meteo-day-3d {
            min-width: 78px;
            flex: 0 0 auto;
            text-align: center;
            padding: 8px 6px;
            background: #f9fafb;
            border-radius: 8px;
            font-size: 11px;
        }

/* AGRO */
        .agro-btn { display: block; width: 100%; padding: 14px; margin-bottom: 8px; border: 2px solid var(--border); border-radius: var(--radius); background: white; font-size: 16px; text-align: left; cursor: pointer; }
        .agro-btn.selected { border-color: var(--primary); background: #e8f5e9; }


        .parcel-expert-toggle {
            margin-top: 10px;
            width: 100%;
            border: 1px solid #e5e7eb;
            background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
            border-radius: 12px;
            padding: 10px 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            font-size: 12px;
            font-weight: 700;
            color: var(--primary);
            box-shadow: 0 1px 2px rgba(0,0,0,0.04);
        }

        .parcel-expert-toggle:active {
            transform: scale(0.995);
        }

        .parcel-expert-title {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .parcel-expert-sub {
            font-size: 11px;
            font-weight: 500;
            color: var(--text-muted);
            margin-top: 2px;
        }

        .parcel-expert-chevron {
            font-size: 16px;
            line-height: 1;
            transition: transform 0.2s ease;
        }

        .parcel-expert-chevron.open {
            transform: rotate(180deg);
        }

        .parcel-expert-panel {
            margin-top: 8px;
            padding: 12px;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
            box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
        }

        .parcel-expert-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }

        .parcel-expert-item {
            background: #ffffff;
            border: 1px solid #eef2f7;
            border-radius: 10px;
            padding: 10px;
        }

        .parcel-expert-k {
            font-size: 11px;
            color: var(--text-muted);
            margin-bottom: 4px;
            font-weight: 600;
        }

        .parcel-expert-v {
            font-size: 15px;
            color: var(--text);
            font-weight: 700;
        }

        .parcel-mini-forecast {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 8px;
            margin-top: 10px;
        }

        .parcel-mini-day {
            background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            padding: 10px 8px;
            text-align: center;
            box-shadow: 0 1px 2px rgba(0,0,0,0.04);
        }

        .parcel-mini-day-name {
            font-size: 11px;
            color: var(--text-muted);
            font-weight: 700;
            margin-bottom: 4px;
        }

        .parcel-mini-day-icon {
            font-size: 18px;
            margin-bottom: 4px;
        }

        .parcel-mini-day-temp {
            font-size: 14px;
            font-weight: 700;
            color: var(--primary);
        }

        .parcel-mini-day-temp-low {
            font-size: 11px;
            color: var(--text-muted);
        }

        .parcel-mini-day-rain {
            margin-top: 4px;
            font-size: 10px;
            color: #2563eb;
            min-height: 12px;
        }

        .parcel-meteo-compact {
            margin-top: 8px;
            padding: 8px 10px;
            background: #f8faf8;
            border: 1px solid #e5e7eb;
            border-radius: 10px;
            font-size: 11px;
            line-height: 1.35;
        }

        .parcel-meteo-topline,
        .parcel-meteo-midline,
        .parcel-meteo-bottomline {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
        }

        .parcel-meteo-topline { margin-bottom: 4px; }
        .parcel-meteo-midline { margin-bottom: 4px; }

        .parcel-chip {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            white-space: nowrap;
        }

        .parcel-chip.temp {
            font-size: 15px;
            font-weight: 700;
            color: var(--primary);
        }

        .parcel-chip.ok {
            color: #065f46;
            font-weight: 600;
        }

        .parcel-chip.warn {
            color: #92400e;
            font-weight: 600;
        }

        .parcel-chip.danger {
            color: #991b1b;
            font-weight: 600;
        }

        .parcel-forecast-inline {
            display: flex;
            gap: 10px;
            flex-wrap: nowrap;
            overflow: hidden;
        }

        .parcel-forecast-day {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            white-space: nowrap;
            color: var(--text-muted);
        }

        #parceleList > div {
            max-height: 150px;
            overflow: hidden;
        }

/* Expert info panel - dozvoli overflow na parcela kartici */
#parceleList > div {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

.parcel-meteo-compact {
    overflow: visible !important;
}

.parcel-expert-wrapper {
    position: relative;
    margin-top: 8px;
}

.parcel-expert-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 8px 10px;
    background: #f8f8f4;
    border: 1px solid #e8e8e0;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    font-size: 12px;
}

.parcel-expert-panel {
    margin-top: 6px;
    padding: 10px;
    background: #f8f8f4;
    border: 1px solid #e8e8e0;
    border-radius: 8px;
}

.parcel-expert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.parcel-expert-item {
    padding: 6px 0;
}

.parcel-expert-k {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.parcel-expert-v {
    font-size: 14px;
    font-weight: 600;
}

.parcel-expert-chevron {
    transition: transform 0.2s;
    font-size: 16px;
}

.parcel-expert-chevron.open {
    transform: rotate(180deg);
}

        /* DIGITALNI AGRONOM */
        .agro-geo-banner { padding: 12px; border-radius: var(--radius); margin-bottom: 12px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
        .agro-geo-banner.detected { background: #d1fae5; color: #065f46; border: 2px solid var(--success); }
        .agro-geo-banner.nearby { background: #fef3c7; color: #92400e; border: 2px solid var(--warning); }
        .agro-geo-banner.manual { background: var(--bg); color: var(--text-muted); border: 2px solid var(--border); }

        .agro-meteo-strip { display: flex; gap: 12px; padding: 8px 12px; background: #f0f9ff; border-radius: var(--radius); margin-bottom: 12px; font-size: 12px; color: var(--text-muted); flex-wrap: wrap; }

        .agro-mera-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
        .agro-mera-btn { padding: 16px 12px; border: 2px solid var(--border); border-radius: var(--radius); background: white; font-size: 15px; text-align: center; cursor: pointer; transition: all 0.15s; }
        .agro-mera-btn:active { transform: scale(0.97); }
        .agro-mera-btn.selected { border-color: var(--primary); background: #e8f5e9; }
        .agro-mera-btn.disabled { opacity: 0.5; pointer-events: none; }

        .agro-preparat-section { background: var(--bg); border-radius: var(--radius); padding: 12px; margin-bottom: 12px; display: none; }
        .agro-preparat-section.visible { display: block; }

        .agro-preporuka { background: #e8f5e9; border: 2px solid var(--success); border-radius: var(--radius); padding: 12px; margin-bottom: 12px; display: none; }
        .agro-preporuka.visible { display: block; }

        .agro-karenca-warn { background: #fee2e2; border: 2px solid var(--danger); border-radius: var(--radius); padding: 12px; margin-bottom: 12px; display: none; font-size: 13px; }
        .agro-karenca-warn.visible { display: block; }

        .agro-meteo-warn { background: #fef3c7; border: 2px solid var(--warning); border-radius: var(--radius); padding: 12px; margin-bottom: 12px; display: none; font-size: 13px; }
        .agro-meteo-warn.danger { background: #fee2e2; border-color: var(--danger); }
        .agro-meteo-warn.visible { display: block; }

        .agro-oprema-section { background: var(--bg); border-radius: var(--radius); padding: 12px; margin-bottom: 12px; }
    
        .agro-timer { text-align: center; padding: 20px; background: var(--card); border-radius: var(--radius); margin-bottom: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
        .agro-timer-display { font-size: 36px; font-weight: 700; font-family: 'Courier New', monospace; color: var(--primary); margin-bottom: 8px; }
        .agro-timer-label { font-size: 12px; color: var(--text-muted); }
        .agro-timer-sticky { position: sticky; top: 60px; z-index: 50; background: var(--primary); color: white; padding: 8px 14px; border-radius: 0 0 var(--radius) var(--radius); display: none; font-size: 13px; font-weight: 600; text-align: center; }
        .agro-timer-sticky.active { display: block; }

        .agro-confirm { background: white; border-radius: var(--radius); padding: 16px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); margin-bottom: 12px; }
        .agro-confirm-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; border-bottom: 1px solid #f0f0f0; }
        .agro-confirm-row:last-child { border-bottom: none; }
        .agro-confirm-row .label { color: var(--text-muted); }
        .agro-confirm-row .value { font-weight: 600; }

        /* KNJIGA POLJA */
        .kp-bilans { background: white; border-radius: var(--radius); padding: 16px; margin-bottom: 14px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
        .kp-bilans-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; border-bottom: 1px solid #f0f0f0; }
        .kp-bilans-row:last-child { border-bottom: none; }
        .kp-bilans-row .kp-label { color: var(--text-muted); }
        .kp-bilans-row .kp-value { font-weight: 600; }
        .kp-bilans-row.kp-total { border-top: 2px solid var(--primary); padding-top: 12px; font-size: 16px; }
        .kp-bilans-row.kp-total .kp-value { color: var(--primary); font-weight: 700; }
        .kp-bilans-row .kp-neg { color: var(--danger); }
        .kp-bilans-row .kp-pos { color: var(--success); }

        .kp-section-title { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin: 16px 0 8px; }

        .kp-summary-table { width: 100%; border-collapse: collapse; font-size: 12px; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
        .kp-summary-table th { background: var(--primary); color: white; padding: 10px 8px; text-align: left; font-size: 11px; text-transform: uppercase; }
        .kp-summary-table td { padding: 8px; border-bottom: 1px solid #f0f0f0; }
        .kp-summary-table tr:last-child td { border-bottom: none; }
        .kp-summary-table .kp-row-total { background: #f0f0eb; font-weight: 700; }

        /* FISKALNI */
        .fis-table { width: 100%; border-collapse: collapse; font-size: 12px; background: white; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08); margin-bottom: 12px; }
        .fis-table th { background: var(--accent); color: white; padding: 8px; text-align: left; font-size: 11px; }
        .fis-table td { padding: 8px; border-bottom: 1px solid #f0f0f0; }
        .fis-match-exact { color: var(--success); font-weight: 600; }
        .fis-match-fuzzy { color: var(--warning); font-weight: 600; }
        .fis-match-none { color: var(--danger); }

        /* TROŠKOVI FORMA */
        .trosak-kat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 12px; }
        .trosak-kat-btn { padding: 10px 8px; border: 2px solid var(--border); border-radius: var(--radius); background: white; font-size: 12px; text-align: center; cursor: pointer; transition: all 0.15s; }
        .trosak-kat-btn:active { transform: scale(0.97); }
        .trosak-kat-btn.selected { border-color: var(--primary); background: #e8f5e9; }
