/* ============================================================
   MT Price History Tracker - Front-end styles
   Scoped under .mtph-* to avoid theme conflicts.
   ============================================================ */

.mtph-widget, .mtph-chart, .mtph-tracker {
    --mtph-bg: #fff;
    --mtph-fg: #14181f;
    --mtph-muted: #5b6470;
    --mtph-line: #e6e9ee;
    --mtph-accent: #2f6dff;
    --mtph-up: #c43d3d;
    --mtph-down: #1f9d55;
    --mtph-flat: #888;
    --mtph-radius: 14px;
    --mtph-shadow: 0 2px 12px rgba(20, 24, 31, 0.06);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    color: var(--mtph-fg);
    box-sizing: border-box;
}
.mtph-widget *, .mtph-chart *, .mtph-tracker * { box-sizing: border-box; }

/* ─── Widget (compact) ─────────────────────────────────────── */
.mtph-widget {
    background: var(--mtph-bg);
    border: 1px solid var(--mtph-line);
    border-radius: var(--mtph-radius);
    padding: 20px;
    margin: 24px 0;
    box-shadow: var(--mtph-shadow);
    max-width: 720px;
}
.mtph-widget__title {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--mtph-fg);
    line-height: 1.25;
}
.mtph-widget__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--mtph-line);
    padding-bottom: 14px;
    margin-bottom: 14px;
}
.mtph-widget__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--mtph-muted);
    font-weight: 600;
}
.mtph-widget__price {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    margin-top: 4px;
    letter-spacing: -0.02em;
}
.mtph-widget__change {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-weight: 700;
    font-size: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f3f5f8;
}
.mtph-widget__change.mtph-up { color: var(--mtph-up); background: #fdecec; }
.mtph-widget__change.mtph-down { color: var(--mtph-down); background: #e8f6ee; }
.mtph-widget__change.mtph-flat { color: var(--mtph-flat); background: #f3f5f8; }
.mtph-widget__change .mtph-widget__sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--mtph-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.mtph-widget__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}
.mtph-widget__stats > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mtph-widget__stats strong {
    font-size: 16px;
    font-weight: 700;
}
.mtph-widget__sources {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}
.mtph-widget__source {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fb;
    border: 1px solid var(--mtph-line);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    flex: 1;
    min-width: 130px;
}
.mtph-widget__source-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}
.mtph-widget__source-logo {
    height: 22px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}
.mtph-widget__source--bestbuy .mtph-widget__source-logo { height: 24px; }
.mtph-widget__source--amazon .mtph-widget__source-logo { height: 20px; }
.mtph-widget__source-label {
    color: var(--mtph-muted);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.mtph-widget__source-price {
    margin-left: auto;
    font-weight: 700;
}
.mtph-widget__chart {
    height: 180px;
    margin: 0 0 14px;
    position: relative;
}
.mtph-widget__chart .mtph-canvas { width: 100% !important; height: 100% !important; }
.mtph-widget__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--mtph-muted);
}
.mtph-widget__cta {
    color: var(--mtph-accent);
    text-decoration: none;
    font-weight: 600;
}
.mtph-widget__cta:hover { text-decoration: underline; }

.mtph-widget__refresh-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 0;
    border-top: 1px solid #eef0f4;
    border-bottom: 1px solid #eef0f4;
    margin: 12px 0;
}
.mtph-widget__refresh {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mtph-accent, #2f6dff);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.05s ease, opacity 0.15s ease;
    line-height: 1;
}
.mtph-widget__refresh:hover:not(:disabled) { background: #1f56d4; }
.mtph-widget__refresh:active:not(:disabled) { transform: translateY(1px); }
.mtph-widget__refresh:disabled {
    background: #cbd2dc;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.85;
}
.mtph-widget__refresh-icon {
    font-size: 16px;
    display: inline-block;
    line-height: 1;
}
.mtph-widget--refreshing .mtph-widget__refresh-icon {
    animation: mtph-spin 0.9s linear infinite;
}
@keyframes mtph-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.mtph-widget__refresh-note {
    font-size: 13px;
    color: var(--mtph-muted, #5b6470);
    flex: 1 1 auto;
    min-width: 160px;
}
.mtph-widget__cooldown {
    font-weight: 600;
    color: #1f2937;
}

/* ─── Hero variant: embeds in dark review-hero ─────────────── */
.mtph-widget--hero {
    --mtph-bg: rgba(255, 255, 255, 0.07);
    --mtph-fg: #ffffff;
    --mtph-muted: #cbd5e1;
    --mtph-line: rgba(255, 255, 255, 0.16);
    --mtph-accent: #60a5fa;
    --mtph-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    --mtph-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
    --mtph-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--mtph-line);
    color: var(--mtph-fg);
    padding: 18px 20px;
    margin: 0;
    max-width: 100%;
    border-radius: 14px;
    font-family: var(--mtph-display);
}
.mtph-widget--hero .mtph-widget__title {
    font-family: var(--mtph-display);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #e2e8f0;
    font-weight: 600;
    margin: 0 0 14px;
    opacity: 0.85;
}
.mtph-widget--hero .mtph-widget__chart { display: none; }
.mtph-widget--hero .mtph-widget__head {
    border-bottom-color: var(--mtph-line);
    align-items: center;
    padding-bottom: 14px;
    margin-bottom: 14px;
}
.mtph-widget--hero .mtph-widget__label {
    color: #cbd5e1;
    font-family: var(--mtph-display);
    font-size: 10px;
    letter-spacing: 0.14em;
    font-weight: 600;
}
.mtph-widget--hero .mtph-widget__price {
    font-family: var(--mtph-mono);
    font-size: 28px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.mtph-widget--hero .mtph-widget__change {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: var(--mtph-mono);
    font-size: 13px;
    padding: 5px 10px;
    font-variant-numeric: tabular-nums;
}
.mtph-widget--hero .mtph-widget__change.mtph-up   { color: #fecaca; background: rgba(239, 68, 68, 0.28); }
.mtph-widget--hero .mtph-widget__change.mtph-down { color: #bbf7d0; background: rgba(34, 197, 94, 0.28); }
.mtph-widget--hero .mtph-widget__change.mtph-flat { color: #e2e8f0; background: rgba(255,255,255,0.1); }
.mtph-widget--hero .mtph-widget__change .mtph-widget__sub { color: rgba(226, 232, 240, 0.85); }

.mtph-widget--hero .mtph-widget__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}
.mtph-widget--hero .mtph-widget__stats > div {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 9px 11px;
}
.mtph-widget--hero .mtph-widget__stats strong {
    color: #ffffff;
    font-size: 14px;
    font-family: var(--mtph-mono);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.mtph-widget--hero .mtph-widget__sources { gap: 6px; margin-bottom: 14px; }
.mtph-widget--hero .mtph-widget__source {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.14);
    color: #f1f5f9;
    padding: 7px 11px;
    min-width: 110px;
}
.mtph-widget--hero .mtph-widget__source-label {
    color: #cbd5e1;
    font-family: var(--mtph-display);
    font-weight: 600;
    letter-spacing: 0.08em;
}
.mtph-widget--hero .mtph-widget__source-price {
    color: #ffffff;
    font-family: var(--mtph-mono);
    font-variant-numeric: tabular-nums;
}
.mtph-widget--hero .mtph-widget__source-logo {
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.mtph-widget--hero .mtph-widget__chart {
    height: 140px;
    padding: 6px 4px 0 4px;
    background: rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
}

.mtph-widget--hero .mtph-widget__refresh-row {
    border-color: rgba(255,255,255,0.12);
    padding: 12px 0;
    margin: 12px 0 8px;
    gap: 10px;
}
.mtph-widget--hero .mtph-widget__refresh {
    background: #60a5fa;
    color: #0b1220;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(96, 165, 250, 0.3);
    padding: 8px 14px;
    font-size: 13px;
}
.mtph-widget--hero .mtph-widget__refresh:hover:not(:disabled) {
    background: #93c5fd;
    color: #0b1220;
}
.mtph-widget--hero .mtph-widget__refresh:disabled {
    background: rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.7);
    box-shadow: none;
}
.mtph-widget--hero .mtph-widget__refresh-note { color: #cbd5e1; font-size: 12px; }
.mtph-widget--hero .mtph-widget__cooldown {
    color: #fff;
    font-family: var(--mtph-mono);
    font-variant-numeric: tabular-nums;
}
.mtph-widget--hero .mtph-widget__refresh {
    font-family: var(--mtph-display);
    letter-spacing: 0.02em;
}

.mtph-widget--hero .mtph-widget__foot {
    color: #cbd5e1;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 12px;
    margin-top: 4px;
    font-size: 12px;
}
.mtph-widget--hero .mtph-widget__cta { color: #93c5fd; font-weight: 700; }

@media (max-width: 640px) {
    .mtph-widget--hero {
        padding: 14px 14px;
    }
    .mtph-widget--hero .mtph-widget__stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .mtph-widget--hero .mtph-widget__stats > div { padding: 8px; }
    .mtph-widget--hero .mtph-widget__price { font-size: 24px; }
}

/* ─── Full chart shortcode ─────────────────────────────────── */
.mtph-chart {
    background: var(--mtph-bg);
    border: 1px solid var(--mtph-line);
    border-radius: var(--mtph-radius);
    padding: 24px;
    margin: 32px 0;
    box-shadow: var(--mtph-shadow);
}
.mtph-chart__title {
    margin: 0 0 16px;
    font-size: 22px;
    letter-spacing: -0.01em;
}
.mtph-chart__canvas-wrap {
    position: relative;
    height: 340px;
    margin-bottom: 24px;
}
.mtph-chart__canvas-wrap .mtph-canvas { width: 100% !important; height: 100% !important; }
.mtph-chart__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.mtph-chart__table th,
.mtph-chart__table td {
    border-bottom: 1px solid var(--mtph-line);
    padding: 8px 12px;
    text-align: left;
}
.mtph-chart__table th {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 11px;
    color: var(--mtph-muted);
}

/* ============================================================
   Tracker (master page) - smooth, brand-aligned variant
   Soft shadows, gentle radius, site colors (#60a5fa primary).
   ============================================================ */
.mtph-tracker {
    --t-bg-hero-1: #0f172a;
    --t-bg-hero-2: #1e3a5f;
    --t-bg-hero-3: #60a5fa;
    --t-bg-light: #ffffff;
    --t-line-light: #e5e7eb;
    --t-text-light: #111827;
    --t-muted-light: #6b7280;
    --t-muted-soft: #94a3b8;
    --t-primary: #60a5fa;
    --t-primary-deep: #3b82f6;
    --t-primary-tint: #eff6ff;
    --t-primary-soft-bg: #f0f4f8;
    --t-success: #16a34a;
    --t-success-bg: #ecfdf5;
    --t-danger: #ef4444;
    --t-danger-bg: #fef2f2;
    --t-amber: #f59e0b;
    --t-amber-bg: #fffbeb;
    --t-mag:   #d946ef;
    --t-mag-bg: #faf5ff;
    --t-mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;
    --t-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
    --t-shadow-md: 0 4px 10px rgba(15, 23, 42, 0.06), 0 10px 20px rgba(15, 23, 42, 0.05);
    --t-shadow-lg: 0 8px 24px rgba(15, 23, 42, 0.1), 0 18px 40px rgba(15, 23, 42, 0.08);
    --t-radius-sm: 10px;
    --t-radius-md: 14px;
    --t-radius-lg: 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
    color: var(--t-text-light);
}

/* ─── Hero summary ─────────────────────────────────────────── */
.mtph-hero {
    background: linear-gradient(135deg, var(--t-bg-hero-1) 0%, var(--t-bg-hero-2) 60%, var(--t-bg-hero-3) 100%);
    color: #fff;
    padding: 44px 36px 36px;
    margin: 0 0 28px;
    position: relative;
    overflow: hidden;
    border-radius: var(--t-radius-lg);
    box-shadow: var(--t-shadow-lg);
}
.mtph-hero::before {
    content: '';
    position: absolute;
    top: -220px; right: -160px;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(147, 197, 253, 0.35) 0%, rgba(96, 165, 250, 0) 65%);
    pointer-events: none;
}
.mtph-hero::after {
    content: '';
    position: absolute;
    bottom: -160px; left: -120px;
    width: 360px; height: 360px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0) 70%);
    pointer-events: none;
}
.mtph-hero__title {
    position: relative;
    z-index: 1;
    max-width: 720px;
}
.mtph-hero h1,
.mtph-hero h2 {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    font-weight: 700;
}
.mtph-hero p {
    margin: 0;
    color: rgba(226, 232, 240, 0.85);
    font-size: 17px;
    line-height: 1.6;
}
.mtph-hero p strong {
    color: #93c5fd;
    font-weight: 600;
}

.mtph-hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 28px;
    position: relative;
    z-index: 1;
}
@media (min-width: 760px) {
    .mtph-hero__stats { grid-template-columns: repeat(4, 1fr); }
}
.mtph-stat {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-radius: var(--t-radius-md);
    backdrop-filter: blur(6px);
}
.mtph-stat__num {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.mtph-stat__lbl {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: rgba(203, 213, 225, 0.75);
}

/* ─── Highlight cards ──────────────────────────────────────── */
.mtph-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 0 0 36px;
}
.mtph-highlight {
    --hl-c: var(--t-primary);
    --hl-bg: var(--t-primary-tint);
    background: #fff;
    border: 1px solid var(--t-line-light);
    padding: 20px;
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 14px;
    row-gap: 6px;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    border-radius: var(--t-radius-md);
    box-shadow: var(--t-shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mtph-highlight:hover {
    transform: translateY(-3px);
    box-shadow: var(--t-shadow-md);
}
.mtph-highlight__icon {
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
    background: var(--hl-bg);
    color: var(--hl-c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    border-radius: 12px;
}
.mtph-highlight__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--t-muted-light);
    font-weight: 600;
}
.mtph-highlight__phone {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--t-text-light);
}
.mtph-highlight__value {
    grid-column: 1 / -1;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 10px;
    color: var(--hl-c);
    font-variant-numeric: tabular-nums;
}
.mtph-highlight__sub {
    grid-column: 1 / -1;
    font-size: 12px;
    color: var(--t-muted-light);
}

.mtph-highlight--drop    { --hl-c: var(--t-success); --hl-bg: var(--t-success-bg); }
.mtph-highlight--cheap   { --hl-c: var(--t-primary); --hl-bg: var(--t-primary-tint); }
.mtph-highlight--premium { --hl-c: var(--t-amber);   --hl-bg: var(--t-amber-bg); }
.mtph-highlight--popular { --hl-c: var(--t-mag);     --hl-bg: var(--t-mag-bg); }

/* ─── Section head + filters ───────────────────────────────── */
.mtph-tracker__head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 24px;
}
@media (min-width: 760px) {
    .mtph-tracker__head { grid-template-columns: 1fr auto; align-items: end; }
}
.mtph-tracker__title h3 {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.02em;
    color: var(--t-text-light);
    font-weight: 700;
}
.mtph-tracker__sub {
    margin: 6px 0 0;
    color: var(--t-muted-light);
    font-size: 15px;
}
.mtph-tracker__filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: end;
}
.mtph-tracker__filters label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--t-muted-light);
    font-weight: 600;
}
.mtph-tracker__filters select,
.mtph-tracker__filters input {
    border: 1px solid var(--t-line-light);
    background: #fff;
    padding: 10px 14px;
    border-radius: var(--t-radius-sm);
    font-size: 14px;
    min-width: 170px;
    font: inherit;
    color: var(--t-text-light);
    box-shadow: var(--t-shadow-sm);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.mtph-tracker__filters select:focus,
.mtph-tracker__filters input:focus {
    outline: none;
    border-color: var(--t-primary);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

/* ─── Phone grid ───────────────────────────────────────────── */
.mtph-tracker__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 18px;
}
.mtph-tracker__loading {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--t-muted-light);
    padding: 60px 0;
    font-size: 14px;
}
.mtph-card {
    background: #fff;
    border: 1px solid var(--t-line-light);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-radius: var(--t-radius-md);
    box-shadow: var(--t-shadow-sm);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mtph-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--t-shadow-md);
}
.mtph-card__head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
}
.mtph-card__thumb {
    width: 100%;
    height: 180px;
    object-fit: contain;
    flex-shrink: 0;
    background: var(--t-primary-soft-bg);
    border-radius: 12px;
    padding: 14px;
}
.mtph-card__head > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mtph-card__head h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--t-text-light);
}
.mtph-card__head h3 a { color: inherit; text-decoration: none; }
.mtph-card__head h3 a:hover { color: var(--t-primary-deep); }
.mtph-card__brand {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--t-muted-light);
    font-weight: 600;
}
.mtph-card__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px solid var(--t-line-light);
    padding-top: 12px;
}
.mtph-card__price {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--t-text-light);
    font-variant-numeric: tabular-nums;
}
.mtph-card__change {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
}
.mtph-card__change.mtph-up   { color: var(--t-danger);  background: var(--t-danger-bg); }
.mtph-card__change.mtph-down { color: var(--t-success); background: var(--t-success-bg); }
.mtph-card__change.mtph-flat { color: var(--t-muted-light); background: var(--t-primary-soft-bg); }
.mtph-card__chart {
    height: 70px;
    position: relative;
}
.mtph-card__chart .mtph-canvas { width: 100% !important; height: 100% !important; }
.mtph-card__range {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--t-muted-light);
    font-variant-numeric: tabular-nums;
}
