:root {
    --nmpt-orange: #ff5a1f;
    --nmpt-orange-2: #ff7a3d;
    --nmpt-ink: #171923;
    --nmpt-muted: #667085;
    --nmpt-line: #e7eaf0;
    --nmpt-soft: #f7f8fb;
    --nmpt-card: #fff;
    --nmpt-green: #139e61;
    --nmpt-red: #dd2c2c;
    --nmpt-blue: #2563eb;
}

.nmpt-admin-wrap { margin: 20px 20px 0 0; }
.nmpt-shortcode { max-width: 1600px; margin: 0 auto; }
.nmpt-app, .nmpt-app * { box-sizing: border-box; }
.nmpt-app {
    color: var(--nmpt-ink);
    background: radial-gradient(circle at 16% 0%, rgba(255,90,31,.08), transparent 28%), #f5f6f8;
    border: 1px solid rgba(21, 25, 36, .06);
    border-radius: 24px;
    padding: 22px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-shadow: 0 22px 70px rgba(15, 23, 42, .08);
    overflow: hidden;
}

.nmpt-topbar { display: flex; align-items: center; gap: 24px; min-height: 52px; margin-bottom: 18px; }
.nmpt-brand { font-size: 25px; font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.nmpt-brand span { color: var(--nmpt-orange); }
.nmpt-nav { display: flex; align-items: center; gap: 8px; flex: 1; overflow-x: auto; }
.nmpt-nav-item { border: 0; background: transparent; border-radius: 10px; padding: 10px 14px; font-weight: 700; color: #323847; cursor: pointer; white-space: nowrap; }
.nmpt-nav-item.is-active { color: var(--nmpt-orange); border: 1px solid rgba(255,90,31,.7); background: #fff; box-shadow: 0 7px 22px rgba(255,90,31,.08); }
.nmpt-user { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #3d4350; white-space: nowrap; }
.nmpt-icon-btn { width: 32px; height: 32px; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.65); }
.nmpt-sync-btn { min-height: 34px; border: 1px solid rgba(255,90,31,.35); background: #fff; color: var(--nmpt-orange); border-radius: 9px; padding: 0 12px; font-size: 12px; font-weight: 900; cursor: pointer; box-shadow: 0 6px 18px rgba(255,90,31,.08); }
.nmpt-sync-btn:disabled { opacity: .7; cursor: wait; }

.nmpt-sync-status { margin: -4px 0 18px; padding: 13px 15px; border: 1px solid #cbd5e1; border-radius: 10px; background: #f8fafc; color: #263140; box-shadow: 0 8px 20px rgba(15, 23, 42, .045); }
.nmpt-sync-status.is-running { border-color: rgba(37,99,235,.35); background: #eff6ff; }
.nmpt-sync-status.is-error { border-color: #fecaca; background: #fff1f2; color: #7f1d1d; }
.nmpt-sync-status-title { font-weight: 900; margin-bottom: 5px; }
.nmpt-sync-status-message { font-size: 13px; line-height: 1.45; }
.nmpt-sync-status pre { margin: 9px 0 0; max-height: 230px; overflow: auto; white-space: pre-wrap; word-break: break-word; font-size: 12px; line-height: 1.5; color: inherit; background: rgba(255,255,255,.64); border: 1px solid rgba(148,163,184,.35); border-radius: 8px; padding: 10px; }

.nmpt-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.nmpt-stat-card { display: flex; align-items: center; gap: 18px; min-height: 110px; background: var(--nmpt-card); border: 1px solid rgba(21, 25, 36, .08); border-radius: 14px; padding: 20px; box-shadow: 0 12px 30px rgba(15, 23, 42, .05); }
.nmpt-stat-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 25px; background: rgba(255, 90, 31, .10); color: var(--nmpt-orange); }
.nmpt-stat-card.blue .nmpt-stat-icon { color: var(--nmpt-blue); background: rgba(37,99,235,.1); }
.nmpt-stat-card.green .nmpt-stat-icon { color: var(--nmpt-green); background: rgba(19,158,97,.12); }
.nmpt-stat-card.red .nmpt-stat-icon { color: var(--nmpt-red); background: rgba(221,44,44,.10); }
.nmpt-stat-card span { display: block; font-size: 13px; font-weight: 800; color: #242a35; }
.nmpt-stat-card strong { display: block; font-size: 30px; line-height: 1.05; margin: 4px 0; }
.nmpt-stat-card em { display: block; font-style: normal; font-size: 13px; color: var(--nmpt-green); }
.nmpt-stat-card.red em { color: var(--nmpt-red); }

.nmpt-filters { display: grid; grid-template-columns: repeat(4, minmax(135px, 1fr)) minmax(230px, 1.35fr) auto auto; gap: 16px; align-items: end; background: var(--nmpt-card); border: 1px solid rgba(21, 25, 36, .08); border-radius: 14px; padding: 16px 20px; margin-bottom: 14px; box-shadow: 0 10px 25px rgba(15, 23, 42, .04); }
.nmpt-filters label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 800; color: #2d3442; }
.nmpt-filters select, .nmpt-search-wrap input { width: 100%; min-height: 42px; border: 1px solid #dce1e9; border-radius: 8px; background: #fff; color: #2d3442; padding: 0 12px; font-size: 14px; }
.nmpt-search-wrap { position: relative; display: flex; align-items: center; }
.nmpt-search-wrap span { position: absolute; left: 14px; color: #667085; font-size: 18px; }
.nmpt-search-wrap input { padding-left: 40px; }
.nmpt-button { min-height: 42px; border: 1px solid #dce1e9; background: #fff; color: #374151; border-radius: 8px; padding: 0 18px; font-weight: 800; cursor: pointer; }
.nmpt-button-primary { background: linear-gradient(135deg, var(--nmpt-orange), #ff6b00); color: #fff; border-color: var(--nmpt-orange); box-shadow: 0 10px 18px rgba(255,90,31,.22); }

.nmpt-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 18px; align-items: start; }
.nmpt-table-card, .nmpt-detail-card, .nmpt-chart-card, .nmpt-footnote { background: var(--nmpt-card); border: 1px solid rgba(21, 25, 36, .08); border-radius: 14px; box-shadow: 0 10px 26px rgba(15, 23, 42, .045); }
.nmpt-table-card { overflow: hidden; }
.nmpt-table-scroll { overflow-x: auto; }
.nmpt-table { width: 100%; border-collapse: collapse; min-width: 850px; }
.nmpt-table th { text-align: left; font-size: 12px; color: #2d3442; padding: 13px 16px; border-bottom: 1px solid var(--nmpt-line); background: rgba(250,251,253,.8); white-space: nowrap; }
.nmpt-table td { padding: 12px 16px; border-bottom: 1px solid var(--nmpt-line); font-size: 13px; color: #2e3541; vertical-align: middle; white-space: nowrap; }
.nmpt-table tr { cursor: pointer; transition: background .15s ease; }
.nmpt-table tbody tr:hover, .nmpt-table tbody tr.is-selected { background: #fff7f2; outline: 1px solid rgba(255,90,31,.22); outline-offset: -1px; }
.nmpt-table a { color: #4b5563; text-decoration: none; }
.nmpt-model-cell { display: flex; align-items: center; gap: 13px; }
.nmpt-row-go { color: var(--nmpt-orange) !important; font-size: 24px !important; text-align: right; }
.nmpt-table-footer { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 16px; font-size: 12px; color: #4b5563; }
.nmpt-pagination { display: inline-flex; gap: 5px; align-items: center; }
.nmpt-pagination button, .nmpt-ranges button, .nmpt-toggle-group button { border: 1px solid #dfe4ec; background: #fff; min-width: 34px; min-height: 32px; border-radius: 8px; cursor: pointer; color: #4a5565; }
.nmpt-pagination .is-active, .nmpt-ranges .is-active, .nmpt-toggle-group button.is-active { background: #fff2ea; border-color: rgba(255,90,31,.45); color: var(--nmpt-orange); font-weight: 900; }

.nmpt-bike-thumb, .nmpt-big-bike { display: inline-block; position: relative; flex: 0 0 auto; }
.nmpt-bike-thumb { width: 56px; height: 34px; }
.nmpt-big-bike { width: 260px; height: 168px; margin: 8px auto 18px; display: block; }
.nmpt-bike-thumb:not(.has-image):before, .nmpt-bike-thumb:not(.has-image):after, .nmpt-big-bike:not(.has-image):before, .nmpt-big-bike:not(.has-image):after { content: ''; position: absolute; border-radius: 999px; border: 3px solid #151923; background: #f8fafc; }
.nmpt-bike-thumb:before { width: 16px; height: 16px; left: 5px; bottom: 3px; }
.nmpt-bike-thumb:after { width: 16px; height: 16px; right: 3px; bottom: 3px; }
.nmpt-bike-thumb:not(.has-image) { background: linear-gradient(145deg, transparent 48%, #2f3540 49%, #2f3540 58%, transparent 59%), linear-gradient(140deg, transparent 34%, #6b7280 35%, #c9d0db 57%, transparent 58%); }
.nmpt-bike-thumb.has-image { width: 62px; height: 42px; border-radius: 9px; background: #f7f8fb; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--nmpt-line); }
.nmpt-bike-thumb.has-image img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; }
.nmpt-bike-thumb.scooter { background: linear-gradient(140deg, transparent 34%, #aab2be 35%, #eef2f6 66%, transparent 67%), linear-gradient(170deg, transparent 52%, #202532 53%, #202532 60%, transparent 61%); }
.nmpt-bike-thumb.adv { background: linear-gradient(145deg, transparent 22%, #475569 23%, #d6dde8 56%, transparent 57%), linear-gradient(160deg, transparent 48%, #111827 49%, #111827 58%, transparent 59%); }
.nmpt-big-bike:before { width: 54px; height: 54px; left: 18px; bottom: 18px; border-width: 6px; }
.nmpt-big-bike:after { width: 58px; height: 58px; right: 20px; bottom: 16px; border-width: 6px; }
.nmpt-big-bike:not(.has-image) { background: radial-gradient(circle at 50% 86%, rgba(15,23,42,.16), transparent 35%), linear-gradient(145deg, transparent 32%, #dfe6ef 33%, #f7fafc 58%, transparent 59%), linear-gradient(160deg, transparent 54%, #111827 55%, #111827 63%, transparent 64%); }
.nmpt-big-bike.has-image { width: 100%; max-width: 285px; min-height: 168px; height: 190px; border-radius: 14px; background: radial-gradient(circle at 50% 84%, rgba(15,23,42,.12), transparent 36%), #fafbfc; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--nmpt-line); }
.nmpt-big-bike.has-image img { width: 100%; height: 100%; object-fit: contain; display: block; padding: 10px; mix-blend-mode: multiply; }

.nmpt-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 7px; font-size: 12px; font-weight: 850; border: 1px solid rgba(19,158,97,.25); background: rgba(19,158,97,.08); color: var(--nmpt-green); }
.nmpt-badge.red { border-color: rgba(221,44,44,.25); background: rgba(221,44,44,.08); color: var(--nmpt-red); }
.nmpt-campaign-price { display: block; margin-top: 4px; color: var(--nmpt-green); font-size: 11px; }

.nmpt-detail-card { padding: 18px; }
.nmpt-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nmpt-detail-head h2 { font-size: 20px; margin: 0; letter-spacing: -.02em; }
.nmpt-star { border: 0; background: transparent; font-size: 24px; color: #8a94a6; cursor: pointer; }
.nmpt-price-box { border: 1px solid var(--nmpt-line); border-radius: 12px; padding: 16px; margin-bottom: 14px; }
.nmpt-price-box span { display: block; font-size: 12px; font-weight: 800; color: #4b5563; }
.nmpt-price-box strong { display: block; font-size: 28px; color: var(--nmpt-orange); line-height: 1.1; margin-top: 3px; }
.nmpt-change { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; }
.nmpt-change.down { color: var(--nmpt-green); }
.nmpt-change.up { color: var(--nmpt-red); }
.nmpt-change b { font-size: 16px; }
.nmpt-change small { color: #5b6472; }
.nmpt-prev { margin-top: 14px; color: #5b6472; }
.nmpt-prev del { font-size: 16px; }
.nmpt-toggle-group { border-top: 1px solid var(--nmpt-line); padding-top: 14px; margin-top: 14px; }
.nmpt-toggle-group label { display: block; font-size: 12px; font-weight: 900; margin-bottom: 10px; color: #374151; }
.nmpt-toggle-group div { display: flex; flex-wrap: wrap; gap: 8px; }
.nmpt-toggle-group button.is-active { background: linear-gradient(135deg, var(--nmpt-orange), #ff6b00); color: #fff; border-color: var(--nmpt-orange); }
.nmpt-detail-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: 12px; color: #667085; }
.nmpt-detail-foot a { border: 1px solid rgba(255,90,31,.55); border-radius: 8px; padding: 10px 12px; color: var(--nmpt-orange); text-decoration: none; font-weight: 900; white-space: nowrap; }

.nmpt-chart-card { grid-column: 1 / 2; min-height: 350px; padding: 18px 20px 10px; }
.nmpt-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nmpt-card-head h3 { margin: 0; font-size: 16px; letter-spacing: -.01em; }
.nmpt-ranges { display: flex; gap: 8px; }
.nmpt-ranges button { padding: 0 13px; min-height: 34px; }
.nmpt-legend { text-align: center; color: #4b5563; font-size: 12px; margin: 8px 0 2px; }
.nmpt-legend span { display: inline-block; width: 30px; height: 3px; border-radius: 99px; vertical-align: middle; margin: 0 6px 2px 12px; }
.nmpt-legend .blue { background: var(--nmpt-blue); }
.nmpt-legend .orange { background: var(--nmpt-orange); }
.nmpt-chart { width: 100%; min-height: 285px; overflow-x: auto; }
.nmpt-chart svg { width: 100%; min-width: 760px; height: auto; }
.nmpt-chart .grid { stroke: #e6eaf1; stroke-width: 1; stroke-dasharray: 3 4; }
.nmpt-chart .vertical { opacity: .65; }
.nmpt-chart .axis { fill: #667085; font-size: 11px; }
.nmpt-chart .line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.nmpt-chart .line.blue { stroke: var(--nmpt-blue); }
.nmpt-chart .line.orange { stroke: var(--nmpt-orange); stroke-dasharray: 8 6; }
.nmpt-chart .dot { fill: #fff; stroke-width: 2; }
.nmpt-chart .blue-dot { stroke: var(--nmpt-blue); }
.nmpt-chart .today-dot { fill: var(--nmpt-blue); stroke: #fff; stroke-width: 3; }
.nmpt-chart .callout rect { fill: #eff6ff; stroke: rgba(37,99,235,.35); }
.nmpt-chart .callout.green rect { fill: #ecfdf3; stroke: rgba(19,158,97,.35); }
.nmpt-chart .callout text { fill: var(--nmpt-blue); font-size: 11px; font-weight: 800; }
.nmpt-chart .callout.green text { fill: var(--nmpt-green); }
.nmpt-chart .callout .value { font-size: 11px; font-weight: 900; }
.nmpt-empty-chart { min-height: 250px; display: grid; place-items: center; color: #667085; }

.nmpt-footnote { margin-top: 18px; padding: 16px 18px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; color: #333b48; }
.nmpt-footnote span { color: #667085; font-size: 13px; }
.nmpt-shield { width: 42px; height: 42px; border-radius: 50%; display: grid !important; place-items: center; background: #fff5d6; color: #e0a013 !important; font-size: 24px !important; }
.nmpt-last-pull { font-size: 12px; color: #667085; white-space: nowrap; }

.nmpt-skeleton { height: 110px; border-radius: 14px; background: linear-gradient(90deg, #eef1f5, #f7f8fb, #eef1f5); background-size: 200% 100%; animation: nmptPulse 1.3s infinite linear; }
.nmpt-skeleton.tall { height: 420px; }
@keyframes nmptPulse { to { background-position-x: -200%; } }

@media (max-width: 1200px) {
    .nmpt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nmpt-grid { grid-template-columns: 1fr; }
    .nmpt-detail-card { grid-row: auto; }
    .nmpt-chart-card { grid-column: auto; }
    .nmpt-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .nmpt-app { padding: 14px; border-radius: 16px; }
    .nmpt-topbar { flex-direction: column; align-items: flex-start; }
    .nmpt-brand { font-size: 22px; }
    .nmpt-stats { grid-template-columns: 1fr; }
    .nmpt-filters { grid-template-columns: 1fr; }
    .nmpt-footnote { grid-template-columns: 1fr; }
    .nmpt-card-head { align-items: flex-start; flex-direction: column; }
    .nmpt-ranges { flex-wrap: wrap; }
}

.nmpt-source-ok { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 9px; background: rgba(19,158,97,.1); color: var(--nmpt-green); font-weight: 800; font-size: 12px; }
.nmpt-source-wait { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 9px; background: rgba(102,112,133,.1); color: #667085; font-weight: 800; font-size: 12px; }

/* --- v1.0.0 eklemeleri: model detay sayfası, sayfalama, kaynak formu --- */
.nmpt-badge.blue { border-color: rgba(37,99,235,.25); background: rgba(37,99,235,.08); color: #2563eb; }
.nmpt-pagination button:disabled { opacity: .4; cursor: default; }
.nmpt-per-page { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: #4a5565; }
.nmpt-per-page select { border: 1px solid #dfe4ec; border-radius: 8px; min-height: 30px; }
.nmpt-model-cell a { color: inherit; text-decoration: none; }
.nmpt-model-cell a:hover { text-decoration: underline; }

.nmpt-model-page { margin: 0 0 28px; }
.nmpt-model-page-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.nmpt-chip { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px; background: #f2f5fa; border: 1px solid #dfe4ec; font-size: 13px; font-weight: 700; color: #37445c; }
.nmpt-model-offers { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14px; }
.nmpt-model-offers th, .nmpt-model-offers td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #e7ebf2; vertical-align: top; }
.nmpt-model-offers th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #6b7688; }
.nmpt-model-empty { padding: 12px 14px; background: #f8fafc; border: 1px dashed #dfe4ec; border-radius: 10px; color: #5b697f; }
.nmpt-model-chart { margin: 0 0 18px; }
.nmpt-model-source { font-size: 12.5px; color: #6b7688; }

.nmpt-source-form .form-table th { width: 190px; }
.nmpt-delete-link { color: #b32d2e; }
