* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f6f7f9;
    color: #1f2937;
}

.app-shell {
    min-height: 100vh;
}

.sticky-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 16px;
}

.section-select {
    width: 100%;
    max-width: 360px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    background: #ffffff;
}

.content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 16px 48px;
}

.panel {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
}

.summary-title {
    margin: 0 0 12px;
}

.summary-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 16px;
}

.sector-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sector-tag {
    background: #eef2ff;
    color: #3730a3;
    border-radius: 999px;
    font-size: 12px;
    padding: 5px 10px;
}

.sector-count-list {
    margin-top: 16px;
}

.sector-count-item {
    padding: 6px 0;
    border-bottom: 1px dashed #e5e7eb;
}

.chart-list-header {
    margin: 0 0 14px;
}

.stock-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .stock-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .stock-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stock-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
}

.stock-meta {
    padding: 14px;
    display: grid;
    gap: 8px;
    font-size: 13px;
}

.stock-name {
    font-size: 15px;
    font-weight: 600;
}

.stock-row {
    color: #374151;
}

.chart-img {
    display: block;
    width: 100%;
    height: auto;
    background: #f9fafb;
}

.chart-not-found {
    padding: 12px 14px 16px;
    color: #6b7280;
    font-size: 12px;
}

.status {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
}
