/* css/modal-technic.css - SCOPED & RESPONSIVE */

#modal_technic_gh .modal-top-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 15px; margin-bottom: 10px; flex-shrink: 0;
}

#modal_technic_gh .detail-card {
    background: #252527; border-radius: 18px; padding: 10px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    position: relative; border: 1px solid #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); min-height: 110px;
}

#modal_technic_gh .detail-card.technic-accent {
    border-color: rgba(52, 152, 219, 0.4);
}

#modal_technic_gh .detail-title {
    font-size: 0.7rem; color: #888; text-transform: uppercase; letter-spacing: 1px;
    position: absolute; top: 10px; left: 0; width: 100%; text-align: center;
}

#modal_technic_gh .chart-container {
    position: relative; width: 100%;
    min-height: 250px;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 15px; padding: 10px; margin-bottom: 5px;
    flex-grow: 1;
    border: 1px solid rgba(52, 152, 219, 0.1);
}

@media (min-width: 1000px) {
    #modal_technic_gh .chart-container { min-height: 40vh; }
    #modal_technic_gh .modal-top-grid { grid-template-columns: 1fr 1fr 1fr; }
}
/* Ergänzung in css/modal-technic.css für Nebengebäude (#9b59b6) */

#modal_technic_nb .modal-top-grid {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    gap: 15px; margin-bottom: 10px; flex-shrink: 0;
}

#modal_technic_nb .detail-card {
    background: #252527; border-radius: 18px; padding: 10px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    position: relative; border: 1px solid #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); min-height: 110px;
}

#modal_technic_nb .detail-card.technic-accent {
    border-color: rgba(155, 89, 182, 0.4);
}

#modal_technic_nb .detail-title {
    font-size: 0.7rem; color: #888; text-transform: uppercase; letter-spacing: 1px;
    position: absolute; top: 10px; left: 0; width: 100%; text-align: center;
}

#modal_technic_nb .chart-container {
    position: relative; width: 100%;
    min-height: 250px;
    background: rgba(155, 89, 182, 0.05);
    border-radius: 15px; padding: 10px; margin-bottom: 5px;
    flex-grow: 1;
    border: 1px solid rgba(155, 89, 182, 0.1);
}

@media (min-width: 1000px) {
    #modal_technic_nb .chart-container { min-height: 40vh; }
    #modal_technic_nb .modal-top-grid { grid-template-columns: 1fr 1fr 1fr; }
}