        html, body {
            margin: 0;
            padding: 0;
            background: #f7f8fa;
            font-family: Arial, sans-serif;
        }

        .page {
            width: min(96%, 1600px);
            margin: 24px auto 40px;
        }

        .selection-bar-wrap {
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
        }

        .selection-bar {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 12px 16px;
            background: #fff;
            border: 1px solid #e5e7eb;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
        }

        .selection-bar label {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: #333;
            font-size: 14px;
        }

        .selection-bar select,
        .selection-bar input[type="date"],
        .selection-bar button {
            height: 34px;
            padding: 0 10px;
            border: 1px solid #ccc;
            border-radius: 6px;
            background: #fff;
            font-size: 14px;
        }

        .selection-bar button {
            cursor: pointer;
            font-weight: 600;
        }

        .selection-bar button:hover {
            background: #f5f5f5;
        }
        
.table-wrap {
    overflow-x: auto;
    overflow-y: auto;
    max-height: 600px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    background: #fff;
}

thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f5f7fa;
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

        tbody td {
            padding: 12px 14px;
            text-align: left;
            border-bottom: 1px solid #e5e7eb;
            white-space: nowrap;
        }

        tbody tr:nth-child(even) {
            background: #fafafa;
        }

        tbody tr:hover {
            background: #eef6ff;
            transition: background 0.2s ease;
        }

        .chart-wrap {
            margin-top: 28px;
            padding: 16px;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
            border: 1px solid #e5e7eb;
        }

        #chart {
            width: 100%;
        }

        .empty-state {
            padding: 20px;
            text-align: center;
            color: #666;
        }
        
        .chart-wrap {
            margin-bottom: 40px;
        }

        #chartPerformance,
        #chartPrice {
            width: 100%;
            min-height: 520px;
        }
        
.explanation-toggle-wrap {
    width: 100%;
    margin-top: 10px;
}

.explanation-toggle {
  display: block;
  cursor: pointer;
  color: #1f5fbf;
  font-weight: 400;
  text-decoration: underline;
  user-select: none;
  font-size: 12px;
  text-align: center;
  margin: auto;
}

.explanation-toggle:hover {
    color: #123f82;
}

.explanation-panel {
    display: none;
    margin-top: 16px;
    padding: 18px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fafafa;
    line-height: 1.45;
}

.explanation-panel h3 {
    margin-top: 0;
}

.explanation-panel h4 {
    margin-bottom: 8px;
}

.explanation-panel ul {
    margin-top: 6px;
    margin-bottom: 18px;
}

.explanation-panel li {
    margin-bottom: 7px;
}

.explanation-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    background: #fff;
}

.explanation-table th,
.explanation-table td {
    border: 1px solid #d5d5d5;
    padding: 8px;
    vertical-align: top;
    text-align: left;
}

.explanation-table th {
    background: #f0f0f0;
}

.quick-date-wrap {
  display: block;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

.quick-date-label {
    color: #555;
    cursor:pointer;
}

.quick-date {
    color: #0645ad;
    text-decoration: underline;
    cursor: pointer;
}

.quick-date:hover {
    color: #000;
}

.quick-date-separator {
    color: #999;
}

.download-wrap {
    margin: 40px 0 20px;
    text-align: center;
}

.download-button {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 6px;
    background: #222;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.download-button:hover {
    background: #000;
}