:root {
    --ntqm-navy-950: #05111f;
    --ntqm-navy-900: #081a2d;
    --ntqm-navy-800: #0d2945;
    --ntqm-navy-700: #123a5f;
    --ntqm-ink: #0d1b2b;
    --ntqm-text: #203247;
    --ntqm-muted: #66778a;
    --ntqm-line: #e2e8f0;
    --ntqm-soft: #f5f8fb;
    --ntqm-white: #ffffff;
    --ntqm-gold: #d7af38;
    --ntqm-gold-hi: #f3d66a;
    --ntqm-up: #0c9d6a;
    --ntqm-up-soft: rgba(12, 157, 106, .11);
    --ntqm-down: #d63846;
    --ntqm-down-soft: rgba(214, 56, 70, .11);
    --ntqm-shadow-sm: 0 8px 24px rgba(5, 17, 31, .07);
    --ntqm-shadow-md: 0 18px 46px rgba(5, 17, 31, .11);
    --ntqm-radius-sm: 10px;
    --ntqm-radius: 16px;
    --ntqm-radius-lg: 24px;
}

.ntqm-template-root,
.ntqm-template-root *,
.ntqm-ticker,
.ntqm-ticker * {
    box-sizing: border-box;
}

.ntqm-market-template .jeg_content,
.ntqm-market-template .jeg_main,
.ntqm-market-template .container,
.ntqm-market-template .jeg_content .container {
    max-width: none;
    width: 100%;
}

.ntqm-template-root {
    width: 100%;
    overflow: clip;
    background: var(--ntqm-soft);
}

.ntqm-shell {
    direction: rtl;
    color: var(--ntqm-text);
    background: var(--ntqm-soft);
    font-family: inherit;
    --ntqm-accent: var(--ntqm-gold);
    --ntqm-accent-soft: rgba(215, 175, 56, .12);
}

.ntqm-accent-gold { --ntqm-accent: #d7af38; --ntqm-accent-soft: rgba(215, 175, 56, .13); }
.ntqm-accent-silver { --ntqm-accent: #94a3b8; --ntqm-accent-soft: rgba(148, 163, 184, .16); }
.ntqm-accent-platinum { --ntqm-accent: #7c9bb8; --ntqm-accent-soft: rgba(124, 155, 184, .15); }
.ntqm-accent-palladium { --ntqm-accent: #6f8da6; --ntqm-accent-soft: rgba(111, 141, 166, .15); }
.ntqm-accent-copper { --ntqm-accent: #b87333; --ntqm-accent-soft: rgba(184, 115, 51, .14); }
.ntqm-accent-bitcoin { --ntqm-accent: #f59e0b; --ntqm-accent-soft: rgba(245, 158, 11, .14); }
.ntqm-accent-ethereum { --ntqm-accent: #6475d9; --ntqm-accent-soft: rgba(100, 117, 217, .14); }

.ntqm-container {
    width: min(1280px, calc(100% - 32px));
    margin-inline: auto;
}

.ntqm-main {
    padding: 0 0 64px;
}

.ntqm-subnav {
    position: relative;
    z-index: 20;
    background: var(--ntqm-navy-950);
    border-top: 1px solid rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.ntqm-subnav__track {
    display: flex;
    align-items: center;
    gap: 3px;
    min-height: 48px;
    overflow-x: auto;
    scrollbar-width: none;
}

.ntqm-subnav__track::-webkit-scrollbar { display: none; }

.ntqm-subnav a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 16px;
    color: #c8d5e5 !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    border-bottom: 3px solid transparent;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.ntqm-subnav a:hover,
.ntqm-subnav a:focus-visible,
.ntqm-subnav a.is-active {
    color: #fff !important;
    background: rgba(255,255,255,.05);
    border-bottom-color: var(--ntqm-gold);
}

.ntqm-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 18px 2px 12px;
    color: var(--ntqm-muted);
    font-size: 12px;
    font-weight: 700;
}

.ntqm-breadcrumb a {
    color: #315f8c !important;
    text-decoration: none !important;
}

.ntqm-breadcrumb a:hover { text-decoration: underline !important; }

.ntqm-hero,
.ntqm-hub-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .55fr);
    gap: 28px;
    align-items: center;
    overflow: hidden;
    margin: 0 0 20px;
    padding: 34px;
    color: #fff;
    background:
        radial-gradient(circle at 8% 20%, color-mix(in srgb, var(--ntqm-accent) 20%, transparent), transparent 30%),
        linear-gradient(135deg, var(--ntqm-navy-950) 0%, var(--ntqm-navy-800) 68%, #123f67 100%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--ntqm-radius-lg);
    box-shadow: var(--ntqm-shadow-md);
}

.ntqm-hero::before,
.ntqm-hub-hero::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 6px;
    background: linear-gradient(180deg, var(--ntqm-accent), var(--ntqm-gold-hi));
}

.ntqm-hero::after,
.ntqm-hub-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    inset-inline-end: -110px;
    bottom: -170px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    box-shadow: 0 0 0 36px rgba(255,255,255,.025), 0 0 0 72px rgba(255,255,255,.018);
    pointer-events: none;
}

.ntqm-hero__copy,
.ntqm-hero__quote,
.ntqm-hub-hero > * { position: relative; z-index: 1; }

.ntqm-kicker,
.ntqm-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ntqm-accent);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .2px;
}

.ntqm-kicker {
    margin-bottom: 13px;
    padding: 7px 11px;
    color: #07111e;
    background: var(--ntqm-accent);
    border-radius: 999px;
}

.ntqm-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #19d38f;
    box-shadow: 0 0 0 0 rgba(25, 211, 143, .55);
    animation: ntqm-pulse 1.8s infinite;
}

@keyframes ntqm-pulse {
    0% { box-shadow: 0 0 0 0 rgba(25, 211, 143, .55); }
    70% { box-shadow: 0 0 0 7px rgba(25, 211, 143, 0); }
    100% { box-shadow: 0 0 0 0 rgba(25, 211, 143, 0); }
}

.ntqm-hero h1,
.ntqm-hub-hero h1 {
    max-width: 880px;
    margin: 0 0 13px;
    color: #fff;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.25;
    font-weight: 950;
    letter-spacing: -.5px;
}

.ntqm-hero__copy > p,
.ntqm-hub-hero > div > p {
    max-width: 840px;
    margin: 0;
    color: #c7d6e7;
    font-size: 15px;
    line-height: 1.95;
}

.ntqm-updated-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 16px;
    margin-top: 18px;
    color: #aebfd2;
    font-size: 12px;
    font-weight: 700;
}

.ntqm-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 999px;
    font-weight: 900;
}

.ntqm-status.is-live { color: #4ff0b4; background: rgba(25, 211, 143, .12); }
.ntqm-status.is-delayed { color: #ffd876; background: rgba(255, 216, 118, .12); }
.ntqm-status.is-stale { color: #ff8c95; background: rgba(255, 140, 149, .12); }

.ntqm-hero__quote {
    min-width: 0;
    padding: 24px;
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    backdrop-filter: blur(10px);
}

.ntqm-hero__quote > span {
    display: block;
    margin-bottom: 8px;
    color: #b8c8d9;
    font-size: 13px;
    font-weight: 700;
}

.ntqm-hero__quote > strong {
    display: block;
    overflow-wrap: anywhere;
    color: #fff;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1;
    font-weight: 950;
    font-variant-numeric: tabular-nums;
}

.ntqm-hero__quote > small {
    display: block;
    margin: 8px 0 17px;
    color: #c7d6e7;
    font-size: 13px;
    font-weight: 700;
}

.ntqm-change {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-style: normal;
    font-weight: 850;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.ntqm-change.is-up { color: var(--ntqm-up); background: var(--ntqm-up-soft); }
.ntqm-change.is-down { color: var(--ntqm-down); background: var(--ntqm-down-soft); }

.ntqm-hero .ntqm-change.is-up,
.ntqm-hub-hero .ntqm-change.is-up,
.ntqm-ticker .ntqm-change.is-up { color: #48e5aa; background: rgba(12,157,106,.18); }
.ntqm-hero .ntqm-change.is-down,
.ntqm-hub-hero .ntqm-change.is-down,
.ntqm-ticker .ntqm-change.is-down { color: #ff7e88; background: rgba(214,56,70,.18); }

.ntqm-change > [data-field="change-abs"] { opacity: .78; font-weight: 700; }
.ntqm-change--large { padding: 9px 14px; font-size: 15px; border-radius: 12px; }

.ntqm-change .ntqm-tick {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-inline-start: 2px;
    padding-inline-start: 7px;
    border-inline-start: 1px solid currentColor;
    opacity: .78;
    font-size: 9.5px;
    line-height: 1;
    font-style: normal;
    font-weight: 900;
}
.ntqm-change .ntqm-tick.is-up { color: var(--ntqm-up); opacity: 1; }
.ntqm-change .ntqm-tick.is-down { color: var(--ntqm-down); opacity: 1; }
.ntqm-change .ntqm-tick.is-flat { opacity: .62; }
.ntqm-hero .ntqm-change .ntqm-tick.is-up,
.ntqm-hub-hero .ntqm-change .ntqm-tick.is-up,
.ntqm-ticker .ntqm-change .ntqm-tick.is-up { color: #48e5aa; }
.ntqm-hero .ntqm-change .ntqm-tick.is-down,
.ntqm-hub-hero .ntqm-change .ntqm-tick.is-down,
.ntqm-ticker .ntqm-change .ntqm-tick.is-down { color: #ff7e88; }

[data-ntqm-symbol].ntqm-tick-up .ntqm-live-dot { background: var(--ntqm-up); }
[data-ntqm-symbol].ntqm-tick-down .ntqm-live-dot { background: var(--ntqm-down); }

.ntqm-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.ntqm-metrics article {
    min-width: 0;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--ntqm-line);
    border-radius: var(--ntqm-radius);
    box-shadow: var(--ntqm-shadow-sm);
}

.ntqm-metrics span,
.ntqm-metrics small {
    display: block;
    color: var(--ntqm-muted);
    font-size: 11.5px;
    font-weight: 750;
}

.ntqm-metrics strong {
    display: block;
    overflow-wrap: anywhere;
    margin: 8px 0 4px;
    color: var(--ntqm-ink);
    font-size: clamp(20px, 2.3vw, 28px);
    line-height: 1;
    font-weight: 950;
    font-variant-numeric: tabular-nums;
}

.ntqm-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(300px, .55fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 20px;
}

.ntqm-panel {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--ntqm-line);
    border-radius: var(--ntqm-radius);
    box-shadow: var(--ntqm-shadow-sm);
}

.ntqm-panel__head,
.ntqm-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--ntqm-line);
}

.ntqm-panel__head--compact { padding-bottom: 14px; }

.ntqm-panel__head h2,
.ntqm-section-heading h2,
.ntqm-methodology__head h2 {
    margin: 5px 0 0;
    color: var(--ntqm-ink);
    font-size: clamp(21px, 2vw, 28px);
    line-height: 1.35;
    font-weight: 950;
}

.ntqm-range-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    background: var(--ntqm-soft);
    border: 1px solid var(--ntqm-line);
    border-radius: 10px;
}

.ntqm-range-tabs button {
    min-height: 34px;
    padding: 0 11px;
    color: var(--ntqm-muted);
    background: transparent;
    border: 0;
    border-radius: 7px;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 850;
    cursor: pointer;
}

.ntqm-range-tabs button:hover,
.ntqm-range-tabs button:focus-visible,
.ntqm-range-tabs button.is-active {
    color: #fff;
    background: var(--ntqm-navy-900);
}

.ntqm-chart {
    position: relative;
    min-height: 360px;
    padding: 12px 18px 0;
    background: linear-gradient(180deg, #fff, #fbfdff);
}

.ntqm-chart__canvas {
    min-height: 330px;
    width: 100%;
}

.ntqm-chart svg {
    display: block;
    width: 100%;
    height: 330px;
    overflow: visible;
}

.ntqm-chart__grid { stroke: #e8edf3; stroke-width: 1; }
.ntqm-chart__axis { fill: #76879a; font-size: 11px; font-weight: 700; }
.ntqm-chart__line { fill: none; stroke: var(--ntqm-accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.ntqm-chart__area { fill: url(#ntqm-chart-gradient); opacity: .78; }
.ntqm-chart__point { fill: #fff; stroke: var(--ntqm-accent); stroke-width: 3; }
.ntqm-chart__crosshair { stroke: #718096; stroke-width: 1; stroke-dasharray: 4 4; }

.ntqm-chart__empty {
    display: grid;
    place-items: center;
    min-height: 300px;
    color: var(--ntqm-muted);
    text-align: center;
    font-weight: 800;
}

.ntqm-chart__tooltip {
    position: absolute;
    z-index: 5;
    min-width: 150px;
    padding: 10px 12px;
    color: #fff;
    background: var(--ntqm-navy-950);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 9px;
    box-shadow: 0 12px 28px rgba(5,17,31,.22);
    font-size: 11.5px;
    line-height: 1.7;
    pointer-events: none;
}

.ntqm-chart__tooltip strong { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }
.ntqm-chart-note {
    padding: 12px 20px 16px;
    color: var(--ntqm-muted);
    font-size: 11.5px;
    line-height: 1.8;
    border-top: 1px solid var(--ntqm-line);
}

.ntqm-converter {
    position: sticky;
    top: 20px;
    padding-bottom: 18px;
}

.ntqm-converter label {
    display: block;
    margin: 14px 20px 6px;
    color: var(--ntqm-text);
    font-size: 12px;
    font-weight: 850;
}

.ntqm-converter input,
.ntqm-converter select {
    display: block;
    width: calc(100% - 40px);
    min-height: 46px;
    margin: 0 20px;
    padding: 0 13px;
    color: var(--ntqm-ink);
    background: #fff;
    border: 1px solid #ccd6e1;
    border-radius: 9px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    outline: none;
}

.ntqm-converter input:focus,
.ntqm-converter select:focus {
    border-color: var(--ntqm-accent);
    box-shadow: 0 0 0 3px var(--ntqm-accent-soft);
}

.ntqm-converter__result {
    margin: 18px 20px 0;
    padding: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--ntqm-navy-950), var(--ntqm-navy-800));
    border-radius: 12px;
}

.ntqm-converter__result span { display: block; color: #b8c8d9; font-size: 11.5px; font-weight: 700; }
.ntqm-converter__result strong { display: block; margin-top: 7px; color: #fff; font-size: 25px; font-weight: 950; font-variant-numeric: tabular-nums; }
.ntqm-converter > p { margin: 12px 20px 0; color: var(--ntqm-muted); font-size: 11.5px; line-height: 1.75; }

.ntqm-table-panel { margin-bottom: 20px; overflow: hidden; }
.ntqm-table-wrap { overflow-x: auto; }
.ntqm-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.ntqm-table th,
.ntqm-table td {
    padding: 15px 18px;
    text-align: right;
    border-bottom: 1px solid #edf1f5;
    color: var(--ntqm-text);
    font-size: 13px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}

.ntqm-table th {
    color: #fff;
    background: var(--ntqm-navy-950);
    font-weight: 900;
}

.ntqm-table tbody tr:hover { background: #f8fbfe; }
.ntqm-table td:first-child { color: var(--ntqm-ink); font-weight: 900; }
.ntqm-table a { color: #1a5d96 !important; text-decoration: none !important; font-weight: 900; }
.ntqm-table a:hover { text-decoration: underline !important; }
.ntqm-table small { color: var(--ntqm-muted); }

.ntqm-related,
.ntqm-news,
.ntqm-faq { margin: 28px 0 0; }

.ntqm-section-heading {
    padding-inline: 0;
    border-bottom: 0;
}

.ntqm-section-heading > a {
    color: #1a5d96 !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 900;
}

.ntqm-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ntqm-related-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 18px;
    color: inherit !important;
    background: #fff;
    border: 1px solid var(--ntqm-line);
    border-radius: var(--ntqm-radius);
    box-shadow: var(--ntqm-shadow-sm);
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ntqm-related-card:hover { transform: translateY(-3px); border-color: var(--ntqm-accent); box-shadow: var(--ntqm-shadow-md); }
.ntqm-related-card > span { color: var(--ntqm-ink); font-size: 15px; font-weight: 900; }
.ntqm-related-card > span small { color: var(--ntqm-muted); font-size: 10px; }
.ntqm-related-card > strong { color: var(--ntqm-ink); font-size: 22px; font-weight: 950; font-variant-numeric: tabular-nums; }
.ntqm-related-card .ntqm-change { align-self: flex-start; }

.ntqm-methodology {
    margin-top: 28px;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--ntqm-line);
    border-radius: var(--ntqm-radius-lg);
    box-shadow: var(--ntqm-shadow-sm);
}

.ntqm-methodology__head { margin-bottom: 18px; }
.ntqm-methodology__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ntqm-methodology article {
    min-width: 0;
    padding: 17px;
    background: var(--ntqm-soft);
    border: 1px solid #e8edf3;
    border-radius: 12px;
}

.ntqm-methodology article > span { display: block; color: var(--ntqm-muted); font-size: 11px; font-weight: 850; }
.ntqm-methodology article > strong { display: block; margin: 7px 0; color: var(--ntqm-ink); font-size: 16px; line-height: 1.45; font-weight: 950; }
.ntqm-methodology article > p { margin: 0; color: var(--ntqm-muted); font-size: 12px; line-height: 1.8; }

.ntqm-faq__list {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ntqm-line);
    border-radius: var(--ntqm-radius);
    box-shadow: var(--ntqm-shadow-sm);
}

.ntqm-faq details { border-bottom: 1px solid var(--ntqm-line); }
.ntqm-faq details:last-child { border-bottom: 0; }
.ntqm-faq summary {
    position: relative;
    padding: 18px 22px 18px 50px;
    color: var(--ntqm-ink);
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}
.ntqm-faq summary::-webkit-details-marker { display: none; }
.ntqm-faq summary::after { content: "+"; position: absolute; inset-inline-end: 20px; top: 50%; transform: translateY(-50%); color: var(--ntqm-accent); font-size: 22px; font-weight: 500; }
.ntqm-faq details[open] summary::after { content: "−"; }
.ntqm-faq details > div { padding: 0 22px 18px; }
.ntqm-faq p { margin: 0; color: var(--ntqm-muted); font-size: 13px; line-height: 1.95; }

.ntqm-news-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.ntqm-news article {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--ntqm-line);
    border-radius: var(--ntqm-radius);
    box-shadow: var(--ntqm-shadow-sm);
}

.ntqm-news article a {
    display: flex;
    flex-direction: column;
    min-height: 190px;
    padding: 18px;
    color: inherit !important;
    text-decoration: none !important;
}

.ntqm-news time { color: var(--ntqm-muted); font-size: 11px; font-weight: 750; }
.ntqm-news h3 { margin: 12px 0 18px; color: var(--ntqm-ink); font-size: 16px; line-height: 1.65; font-weight: 900; }
.ntqm-news article span { margin-top: auto; color: #1a5d96; font-size: 11.5px; font-weight: 900; }

.ntqm-hub-hero { grid-template-columns: minmax(0, 1.4fr) minmax(290px, .6fr); }
.ntqm-pulse {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    padding: 20px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
}
.ntqm-pulse > span { color: var(--ntqm-accent); font-size: 12px; font-weight: 900; }
.ntqm-pulse > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 11px 12px; background: rgba(255,255,255,.05); border-radius: 10px; }
.ntqm-pulse small { color: #aebfd2; font-size: 10.5px; font-weight: 700; }
.ntqm-pulse strong { color: #fff; font-size: 15px; font-weight: 900; }
.ntqm-pulse .ntqm-change { grid-row: 1 / span 2; grid-column: 2; }

.ntqm-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 22px;
}

.ntqm-market-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    color: inherit !important;
    background: #fff;
    border: 1px solid var(--ntqm-line);
    border-radius: var(--ntqm-radius);
    box-shadow: var(--ntqm-shadow-sm);
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ntqm-market-card::before {
    content: "";
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 4px;
    background: var(--ntqm-accent);
}

.ntqm-market-card:hover { transform: translateY(-4px); border-color: var(--ntqm-accent); box-shadow: var(--ntqm-shadow-md); }
.ntqm-market-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 20px 19px 12px; }
.ntqm-market-card__top h2 { margin: 0 0 3px; color: var(--ntqm-ink); font-size: 20px; font-weight: 950; }
.ntqm-market-card__top > div > span { color: var(--ntqm-muted); font-size: 10.5px; font-weight: 800; }
.ntqm-market-card__price { padding: 4px 19px 18px; }
.ntqm-market-card__price > span { display: block; color: var(--ntqm-muted); font-size: 11.5px; font-weight: 750; }
.ntqm-market-card__price > strong { display: block; margin: 7px 0 5px; color: var(--ntqm-ink); font-size: clamp(28px, 3vw, 38px); line-height: 1; font-weight: 950; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ntqm-market-card__price > small { color: var(--ntqm-muted); font-size: 11px; font-weight: 700; }
.ntqm-market-card__meta { display: grid; grid-template-columns: 1fr 1fr; margin-top: auto; border-top: 1px solid var(--ntqm-line); }
.ntqm-market-card__meta > div { min-width: 0; padding: 13px 16px; border-inline-end: 1px solid var(--ntqm-line); }
.ntqm-market-card__meta > div:last-child { border-inline-end: 0; }
.ntqm-market-card__meta span { display: block; color: var(--ntqm-muted); font-size: 10px; font-weight: 750; }
.ntqm-market-card__meta strong { display: block; margin-top: 4px; color: var(--ntqm-ink); font-size: 13px; font-weight: 900; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ntqm-market-card__more { display: flex; align-items: center; justify-content: space-between; padding: 12px 17px; color: #fff; background: var(--ntqm-navy-950); font-size: 11.5px; font-weight: 900; }
.ntqm-market-card:hover .ntqm-market-card__more { background: var(--ntqm-navy-800); }

.ntqm-compact-card {
    direction: rtl;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin: 22px 0;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--ntqm-line);
    border-top: 4px solid var(--ntqm-accent);
    border-radius: var(--ntqm-radius);
    box-shadow: var(--ntqm-shadow-sm);
}
.ntqm-compact-card h2 { margin: 5px 0; color: var(--ntqm-ink); font-size: 25px; font-weight: 950; }
.ntqm-compact-card p { margin: 0; color: var(--ntqm-muted); font-size: 12px; }
.ntqm-compact-card__price { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.ntqm-compact-card__price > strong { color: var(--ntqm-ink); font-size: 34px; font-weight: 950; font-variant-numeric: tabular-nums; }
.ntqm-compact-card__price > small { color: var(--ntqm-muted); font-size: 11px; font-weight: 750; }
.ntqm-compact-card > a { grid-column: 1 / -1; color: #1a5d96 !important; font-size: 12px; font-weight: 900; text-decoration: none !important; }

.ntqm-alert {
    margin: 20px auto;
    padding: 16px 18px;
    color: #8a2d38;
    background: #fff3f4;
    border: 1px solid #f3c8cd;
    border-radius: 10px;
    text-align: center;
    font-weight: 800;
}

/* Ticker */
.ntqm-ticker {
    position: relative;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-inline: calc(50% - 50vw) !important;
    color: #fff;
    background: var(--ntqm-navy-950);
    border-bottom: 2px solid var(--ntqm-gold);
    overflow: hidden;
    direction: rtl;
    z-index: 40;
}

.ntqm-ticker__inner {
    display: flex;
    align-items: stretch;
    min-height: 48px;
    background: linear-gradient(90deg, #05111f 0%, #0d2945 52%, #05111f 100%);
}

.ntqm-ticker__badge {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    min-height: 48px;
    padding: 0 17px;
    color: #07111e !important;
    background: linear-gradient(180deg, var(--ntqm-gold-hi), var(--ntqm-gold));
    text-decoration: none !important;
    white-space: nowrap;
}
.ntqm-ticker__badge b { font-size: 13px; font-weight: 950; }
.ntqm-ticker__badge small { font-size: 10px; font-weight: 800; opacity: .72; }
.ntqm-ticker__badge .ntqm-live-dot { background: #0a6c48; animation: none; box-shadow: none; }

.ntqm-ticker__viewport { position: relative; flex: 1 1 auto; min-width: 0; overflow: hidden; }
.ntqm-ticker__viewport::before,
.ntqm-ticker__viewport::after { content: ""; position: absolute; top: 0; bottom: 0; width: 38px; z-index: 2; pointer-events: none; }
.ntqm-ticker__viewport::before { right: 0; background: linear-gradient(270deg, #05111f, transparent); }
.ntqm-ticker__viewport::after { left: 0; background: linear-gradient(90deg, #05111f, transparent); }

.ntqm-ticker__track {
    display: flex;
    align-items: center;
    width: max-content;
    min-height: 48px;
    animation: ntqm-scroll 70s linear infinite;
}
.ntqm-ticker:hover .ntqm-ticker__track { animation-play-state: paused; }
@keyframes ntqm-scroll { from { transform: translateX(0); } to { transform: translateX(50%); } }

.ntqm-ticker__item {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 15px;
    color: #fff !important;
    border-inline-end: 1px solid rgba(255,255,255,.075);
    text-decoration: none !important;
    white-space: nowrap;
}
.ntqm-ticker__item:hover { background: rgba(255,255,255,.05); }
.ntqm-ticker__name { color: #fff; font-size: 12.5px; font-weight: 900; }
.ntqm-ticker__item > small { color: var(--ntqm-gold-hi); font-size: 9.5px; font-weight: 900; }
.ntqm-ticker__item > strong { color: #fff; font-size: 13px; font-weight: 950; font-variant-numeric: tabular-nums; }
.ntqm-ticker__item > em { color: #91a7bd; font-size: 9.5px; font-style: normal; font-weight: 700; }
.ntqm-ticker__item .ntqm-change { padding: 3px 7px; font-size: 10px; }
.ntqm-ticker__item .ntqm-change > span[data-field="change-abs"] { display: none; }
.ntqm-ticker__item .ntqm-change .ntqm-tick { margin-inline-start: 0; padding-inline-start: 5px; font-size: 9px; }

.ntqm-ticker__time {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    min-height: 48px;
    padding: 0 14px;
    color: #b8c8d9;
    background: rgba(255,255,255,.035);
    border-inline-start: 1px solid rgba(255,255,255,.08);
    font-size: 10.5px;
    font-weight: 800;
    white-space: nowrap;
}
.ntqm-live-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; color: #48e5aa; background: rgba(12,157,106,.16); border-radius: 999px; font-size: 10px; font-weight: 900; }
.ntqm-live-pill .ntqm-live-dot { width: 6px; height: 6px; }

.ntqm-flash-up { animation: ntqm-flash-up .7s ease-out; }
.ntqm-flash-down { animation: ntqm-flash-down .7s ease-out; }
@keyframes ntqm-flash-up { 0% { color: #0c9d6a; } 100% { color: inherit; } }
@keyframes ntqm-flash-down { 0% { color: #d63846; } 100% { color: inherit; } }

@media (max-width: 1100px) {
    .ntqm-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ntqm-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ntqm-related-grid,
    .ntqm-news-grid,
    .ntqm-methodology__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .ntqm-hero,
    .ntqm-hub-hero { grid-template-columns: 1fr; padding: 27px; }
    .ntqm-layout { grid-template-columns: 1fr; }
    .ntqm-converter { position: static; }
}

@media (max-width: 720px) {
    .ntqm-container { width: min(100% - 20px, 1280px); }
    .ntqm-main { padding-bottom: 42px; }
    .ntqm-hero,
    .ntqm-hub-hero { padding: 23px 18px; border-radius: 16px; }
    .ntqm-hero h1,
    .ntqm-hub-hero h1 { font-size: 29px; }
    .ntqm-hero__quote { padding: 18px; }
    .ntqm-hero__quote > strong { font-size: 40px; }
    .ntqm-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ntqm-panel__head,
    .ntqm-section-heading { align-items: flex-start; flex-direction: column; padding: 17px; }
    .ntqm-range-tabs { width: 100%; overflow-x: auto; }
    .ntqm-range-tabs button { flex: 1 0 auto; }
    .ntqm-chart { min-height: 300px; padding-inline: 8px; }
    .ntqm-chart__canvas,
    .ntqm-chart svg { min-height: 280px; height: 280px; }
    .ntqm-hub-grid,
    .ntqm-related-grid,
    .ntqm-news-grid,
    .ntqm-methodology__grid { grid-template-columns: 1fr; }
    .ntqm-methodology { padding: 19px; }
    .ntqm-ticker__badge { padding: 0 11px; }
    .ntqm-ticker__badge small,
    .ntqm-ticker__time time { display: none; }
    .ntqm-ticker__item { padding: 0 11px; gap: 6px; }
    .ntqm-ticker__item > em { display: none; }
}

@media (max-width: 480px) {
    .ntqm-metrics { grid-template-columns: 1fr; }
    .ntqm-compact-card { grid-template-columns: 1fr; }
    .ntqm-compact-card__price { align-items: stretch; }
    .ntqm-updated-row { align-items: flex-start; flex-direction: column; }
    .ntqm-market-card__meta { grid-template-columns: 1fr; }
    .ntqm-market-card__meta > div { border-inline-end: 0; border-bottom: 1px solid var(--ntqm-line); }
    .ntqm-market-card__meta > div:last-child { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ntqm-live-dot,
    .ntqm-ticker__track { animation: none !important; }
    .ntqm-market-card,
    .ntqm-related-card { transition: none; }
}

/* =========================================================
   4.0 — كتلة الإجابة المباشرة (AEO/GEO)
========================================================= */
.ntqm-answer {
    margin: 22px 0;
    padding: 22px 24px;
    background: #fff;
    border: 1px solid var(--ntqm-line);
    border-inline-start: 5px solid var(--ntqm-accent);
    border-radius: var(--ntqm-radius);
    box-shadow: var(--ntqm-shadow-sm);
}
.ntqm-answer__q {
    margin: 0 0 10px;
    color: var(--ntqm-ink);
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.45;
}
.ntqm-answer__a {
    margin: 0;
    color: var(--ntqm-ink);
    font-size: clamp(16px, 1.6vw, 18px);
    line-height: 1.95;
}
.ntqm-answer__a b { font-weight: 800; }
.ntqm-answer__a time { font-weight: 600; white-space: nowrap; }
.ntqm-answer__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}
.ntqm-answer__facts li {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 12px;
    background: var(--ntqm-surface, #f6f8fb);
    border: 1px solid var(--ntqm-line);
    border-radius: 10px;
}
.ntqm-answer__facts span {
    color: var(--ntqm-muted);
    font-size: 12.5px;
}
.ntqm-answer__facts b {
    color: var(--ntqm-ink);
    font-size: 15px;
    font-weight: 700;
}

/* =========================================================
   4.05 — جداول الوحدات والسبائك والتاريخ
========================================================= */
.ntqm-table-intro {
    margin: 0 0 14px;
    color: var(--ntqm-muted);
    font-size: 15px;
    line-height: 1.9;
}
.ntqm-table--units th[scope="row"],
.ntqm-table--history th[scope="row"] {
    font-weight: 700;
    text-align: start;
    white-space: nowrap;
}
.ntqm-table .ntqm-num {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    white-space: nowrap;
}
.ntqm-table .ntqm-muted-cell {
    color: var(--ntqm-muted);
    font-weight: 600;
}
.ntqm-table .ntqm-note-cell {
    color: var(--ntqm-muted);
    font-size: 13.5px;
    line-height: 1.7;
}
.ntqm-delta {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.ntqm-delta.is-up { color: var(--ntqm-up); background: var(--ntqm-up-soft); }
.ntqm-delta.is-down { color: var(--ntqm-down); background: var(--ntqm-down-soft); }
.ntqm-delta.is-flat { color: var(--ntqm-muted); background: rgba(123, 140, 161, .14); }

@media (max-width: 640px) {
    .ntqm-table--units .ntqm-note-cell { display: none; }
    .ntqm-table--units thead th:last-child { display: none; }
}

/* =========================================================
   4.06 — حاسبة الزكاة
========================================================= */
.ntqm-zakat {
    margin: 22px 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--ntqm-line);
    border-inline-start: 5px solid var(--ntqm-accent);
    border-radius: var(--ntqm-radius);
    box-shadow: var(--ntqm-shadow-sm);
}
.ntqm-zakat__intro {
    margin: 0 0 18px;
    color: var(--ntqm-ink);
    font-size: 16px;
    line-height: 1.95;
}
.ntqm-zakat__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 18px;
    align-items: start;
}
.ntqm-zakat__form {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 18px;
    background: var(--ntqm-surface, #f6f8fb);
    border: 1px solid var(--ntqm-line);
    border-radius: 12px;
}
.ntqm-zakat__form label {
    color: var(--ntqm-muted);
    font-size: 13.5px;
    font-weight: 600;
}
.ntqm-zakat__form input,
.ntqm-zakat__form select {
    width: 100%;
    padding: 11px 13px;
    background: #fff;
    color: var(--ntqm-ink);
    border: 1px solid var(--ntqm-line);
    border-radius: 10px;
    font: inherit;
    font-weight: 700;
}
.ntqm-zakat__form input:focus-visible,
.ntqm-zakat__form select:focus-visible {
    outline: 2px solid var(--ntqm-accent);
    outline-offset: 1px;
}
.ntqm-zakat__form label + label { margin-top: 8px; }
.ntqm-zakat__out {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    align-content: start;
}
.ntqm-zakat__out > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 16px 18px;
    background: var(--ntqm-surface, #f6f8fb);
    border: 1px solid var(--ntqm-line);
    border-radius: 12px;
}
.ntqm-zakat__out span { color: var(--ntqm-muted); font-size: 13px; }
.ntqm-zakat__out strong {
    color: var(--ntqm-ink);
    font-size: clamp(21px, 2.4vw, 27px);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.25;
}
.ntqm-zakat__out small { color: var(--ntqm-muted); font-size: 12.5px; }
.ntqm-zakat__status {
    grid-column: 1 / -1;
    margin: 0;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.8;
}
.ntqm-zakat__status.is-due { color: var(--ntqm-up); background: var(--ntqm-up-soft); }
.ntqm-zakat__status.is-below { color: var(--ntqm-muted); background: rgba(123, 140, 161, .12); }
.ntqm-zakat__status:empty { display: none; }
.ntqm-zakat__note {
    margin: 18px 0 0;
    padding-top: 15px;
    border-top: 1px solid var(--ntqm-line);
    color: var(--ntqm-muted);
    font-size: 13.5px;
    line-height: 1.9;
}

@media (max-width: 780px) {
    .ntqm-zakat { padding: 20px 17px; }
    .ntqm-zakat__grid { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   4.1 — المحتوى التحريري الفريد وملخص القراءة
========================================================= */
.ntqm-snapshot {
    margin: 22px 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--ntqm-line);
    border-inline-start: 5px solid var(--ntqm-accent);
    border-radius: var(--ntqm-radius);
    box-shadow: var(--ntqm-shadow-sm);
}
.ntqm-snapshot.is-up { border-inline-start-color: var(--ntqm-up); }
.ntqm-snapshot.is-down { border-inline-start-color: var(--ntqm-down); }
.ntqm-snapshot.is-flat { border-inline-start-color: #7b8ca1; }
.ntqm-snapshot__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 13px;
}
.ntqm-snapshot__head h2 {
    margin: 5px 0 0;
    color: var(--ntqm-ink);
    font-size: clamp(21px, 2.2vw, 28px);
    line-height: 1.4;
    font-weight: 950;
}
.ntqm-snapshot__head > strong {
    flex: 0 0 auto;
    padding: 8px 12px;
    color: var(--ntqm-ink);
    background: var(--ntqm-soft);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}
.ntqm-snapshot.is-up .ntqm-snapshot__head > strong { color: var(--ntqm-up); background: var(--ntqm-up-soft); }
.ntqm-snapshot.is-down .ntqm-snapshot__head > strong { color: var(--ntqm-down); background: var(--ntqm-down-soft); }
.ntqm-snapshot > p {
    margin: 0 0 18px;
    color: var(--ntqm-text);
    font-size: 15px;
    line-height: 2;
}
.ntqm-range-meter {
    position: relative;
    height: 8px;
    overflow: hidden;
    background: #e9eef4;
    border-radius: 999px;
}
.ntqm-range-meter span {
    display: block;
    height: 100%;
    min-width: 4px;
    background: linear-gradient(90deg, var(--ntqm-accent), var(--ntqm-gold-hi));
    border-radius: inherit;
}
.ntqm-snapshot.is-up .ntqm-range-meter span { background: linear-gradient(90deg, #0a8058, var(--ntqm-up)); }
.ntqm-snapshot.is-down .ntqm-range-meter span { background: linear-gradient(90deg, #a92c38, var(--ntqm-down)); }
.ntqm-range-meter__labels {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    color: var(--ntqm-muted);
    font-size: 10.5px;
    font-weight: 800;
}

.ntqm-editorial { margin: 30px 0; }
.ntqm-editorial > .ntqm-section-heading {
    margin-bottom: 14px;
    padding-inline: 2px;
    background: transparent;
    border: 0;
}
.ntqm-editorial__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.ntqm-editorial-card {
    position: relative;
    padding: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ntqm-line);
    border-radius: var(--ntqm-radius);
    box-shadow: var(--ntqm-shadow-sm);
}
.ntqm-editorial-card::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--ntqm-accent), transparent 85%);
}
.ntqm-editorial-card h2 {
    margin: 7px 0 12px;
    color: var(--ntqm-ink);
    font-size: clamp(20px, 2vw, 25px);
    line-height: 1.5;
    font-weight: 950;
}
.ntqm-editorial-card p {
    margin: 0 0 12px;
    color: var(--ntqm-text);
    font-size: 14.5px;
    line-height: 2;
}
.ntqm-editorial-card p:last-of-type { margin-bottom: 0; }
.ntqm-editorial-card ul {
    display: grid;
    gap: 8px;
    margin: 16px 0 0;
    padding: 14px 18px 14px 12px;
    color: var(--ntqm-text);
    background: var(--ntqm-soft);
    border-radius: var(--ntqm-radius-sm);
}
.ntqm-editorial-card li {
    padding-inline-start: 4px;
    font-size: 13.5px;
    line-height: 1.8;
}
.ntqm-editorial-card li::marker { color: var(--ntqm-accent); }

.ntqm-trust-box {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 22px 0;
    overflow: hidden;
    background: var(--ntqm-navy-950);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--ntqm-radius);
    box-shadow: var(--ntqm-shadow-sm);
}
.ntqm-trust-box > div {
    min-width: 0;
    padding: 17px 18px;
    border-inline-end: 1px solid rgba(255,255,255,.09);
}
.ntqm-trust-box > div:last-child { border-inline-end: 0; }
.ntqm-trust-box span {
    display: block;
    margin-bottom: 6px;
    color: #8fa5ba;
    font-size: 10.5px;
    font-weight: 800;
}
.ntqm-trust-box strong,
.ntqm-trust-box a,
.ntqm-trust-box time {
    display: block;
    overflow: hidden;
    color: #fff !important;
    font-size: 13px;
    font-weight: 900;
    text-overflow: ellipsis;
    text-decoration: none !important;
    white-space: nowrap;
}
.ntqm-trust-box a:hover { color: var(--ntqm-gold-hi) !important; }

@media (max-width: 900px) {
    .ntqm-editorial__grid { grid-template-columns: 1fr; }
    .ntqm-trust-box { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ntqm-trust-box > div:nth-child(2) { border-inline-end: 0; }
    .ntqm-trust-box > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.09); }
}

@media (max-width: 600px) {
    .ntqm-snapshot { padding: 19px 17px; }
    .ntqm-snapshot__head { flex-direction: column; gap: 10px; }
    .ntqm-snapshot__head > strong { align-self: flex-start; }
    .ntqm-range-meter__labels span:nth-child(2) { display: none; }
    .ntqm-editorial-card { padding: 20px 17px; }
    .ntqm-trust-box { grid-template-columns: 1fr; }
    .ntqm-trust-box > div,
    .ntqm-trust-box > div:nth-child(2),
    .ntqm-trust-box > div:nth-child(-n+2) { border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.09); }
    .ntqm-trust-box > div:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
    .ntqm-change:not(.ntqm-change--large) .ntqm-tick { display: none; }
    .ntqm-change--large { flex-wrap: wrap; }
    .ntqm-change--large .ntqm-tick { flex-basis: auto; }
}
