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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f4f6f9;
    color: #333;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.app-header {
    background: linear-gradient(135deg, #0052d4, #4364f7, #6fb1fc);
    color: white;
    padding: 40px 20px 60px;
    text-align: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.header-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 8px;
}

.header-subtitle {
    font-size: 13px;
    opacity: 0.9;
}

.container {
    padding: 0 16px;
    margin-top: -40px;
    padding-bottom: 30px;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.product-info {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.product-img img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.product-name {
    font-size: 18px;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: bold;
}

.product-meta p {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px dashed #eee;
    padding-top: 16px;
}

.tag {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.tag.success { background: #e8f5e9; color: #2e7d32; }
.tag.cold { background: #e3f2fd; color: #1565c0; }

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
}

.card-header h3 {
    font-size: 16px;
    color: #2c3e50;
    margin: 0;
}

.status-badge {
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 12px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: #e0e0e0;
}

.timeline-item {
    position: relative;
    padding-left: 24px;
    margin-bottom: 20px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -1px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #bdbdbd;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #bdbdbd;
}

.timeline-item.active .timeline-dot {
    background: #4364f7;
    box-shadow: 0 0 0 2px rgba(67, 100, 247, 0.2);
}

.timeline-item .time {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.timeline-item .title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.timeline-item.active .title {
    color: #4364f7;
}

.timeline-item .desc {
    font-size: 13px;
    color: #666;
}

/* Charts */
.chart-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.chart-container {
    width: 100%;
    height: 250px;
    margin-bottom: 16px;
}

.env-stats {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

.stat-box {
    text-align: center;
    flex: 1;
    border-right: 1px solid #f0f0f0;
}

.stat-box:last-child {
    border-right: none;
}

.stat-value {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 4px;
}

.stat-value .unit {
    font-size: 12px;
    font-weight: normal;
}

.text-blue { color: #1976d2; }
.text-green { color: #388e3c; }
.text-orange { color: #f57c00; }

.stat-label {
    font-size: 12px;
    color: #888;
}

.footer {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 24px;
}

.tech-supp {
    font-family: monospace;
    margin-top: 4px;
    opacity: 0.7;
}