 .medtech-stock-dashboard {
    color: #172033;
    font-size: 14px;
    line-height: 1.5;
}

.medtech-stock-dashboard__overview {
    border-top: 2px solid #222;
    border-bottom: 2px solid #222;
    max-width: 560px;
    padding: 10px 0;
    margin-bottom: 24px;
}

.medtech-stock-dashboard__company h2 {
    font-size: 20px;
    line-height: 1.3;
    margin: 0;
}

.medtech-stock-dashboard__market,
.medtech-stock-dashboard__date {
    color: #667085;
    font-size: 12px;
    margin: 2px 0 8px;
}

.medtech-stock-dashboard__price-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.medtech-stock-dashboard__price {
    font-size: 24px;
    font-weight: 600;
}

.medtech-stock-dashboard__change.is-negative {
    color: #e13d20;
}

.medtech-stock-dashboard__change.is-positive {
    color: #16804a;
}

.medtech-stock-dashboard__stats,
.medtech-stock-dashboard__history {
    margin: 24px 0;
}

.medtech-stock-dashboard__stats h3,
.medtech-stock-dashboard__history h3 {
    font-size: 20px;
    margin: 0 0 10px;
}

.medtech-stock-dashboard__stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
}

.medtech-stock-dashboard__stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #d5d9e0;
    padding: 8px 0;
}

.medtech-stock-dashboard__stat span {
    color: #344054;
}

.medtech-stock-dashboard__stat strong {
    font-weight: 500;
    text-align: right;
}

.medtech-stock-dashboard__chart-wrap {
    position: relative;
    height: 300px;
    width: 100%;
    margin: 16px 0;
}

.medtech-stock-dashboard__periods {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin: 18px 0 22px;
}

.medtech-stock-dashboard__period {
    appearance: none;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #2869d8;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
    min-width: 54px;
    padding: 10px 16px;
}

.medtech-stock-dashboard__period:hover,
.medtech-stock-dashboard__period:focus-visible {
    background: #eaf1ff;
}

.medtech-stock-dashboard__period.is-active {
    background: #2869d8;
    color: #fff;
}

.medtech-stock-dashboard__status {
    color: #667085;
    font-size: 13px;
    min-height: 1.4em;
}

.medtech-stock-dashboard.is-loading {
    opacity: 0.7;
}

.medtech-stock__table-wrap {
    overflow-x: auto;
    width: 100%;
}

.medtech-stock__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.medtech-stock__table th,
.medtech-stock__table td {
    padding: 9px 10px;
    border-bottom: 1px solid #e1e5eb;
    text-align: left;
    white-space: nowrap;
}

.medtech-stock__table thead th {
    background: #e7f0ff;
    font-weight: 600;
}

.medtech-stock-error {
    color: #b42318;
}

@media (max-width: 640px) {
    .medtech-stock-dashboard__stats-grid {
        grid-template-columns: 1fr;
    }

    .medtech-stock-dashboard__chart-wrap {
        height: 240px;
    }

    .medtech-stock-dashboard__period {
        min-width: 42px;
        padding: 8px 10px;
    }
}
