/* Masttech 8498 (--design) — Ürün haritası (tools/product-map.mjs, design/mt-urun-haritasi.js).
   Beyaz ve açık gri yüzeyler, ince karolaj (design/mt-karolaj.css .mt-karolaj), Masttech kırmızısı yalnız vurgu ve seçimde.
   Tüm seçiciler .mt-pm altında; sitenin diğer sayfalarına etkisi yok. Mantıksal özellikler (RTL hazır). */
.mt-pm {
  --pm-red: var(--mt-red, #E3010F); --pm-ink: var(--mt-ink, #141414); --pm-slate: var(--mt-slate, #2B2F36); --pm-muted: #5E656B; /* FAZ 5: #69727D gri zeminde 4,43:1; AA için */
  --pm-line: var(--mt-line, #D9DCE0); --pm-line-soft: var(--mt-line-soft, #E9EBEE); --pm-bg: #F8F8F8; --pm-surface: #FFFFFF;
  --pm-em: #2B2F36; --pm-pn: #1F6FB2; --pm-light: #B7791F; --pm-warn: #8A5A00; --pm-warn-bg: #FFF4DC;
  --pm-radius: var(--mt-radius, 12px);
  display: block; background: var(--pm-bg); color: var(--pm-ink); font-family: var(--mt-font-body, 'Roboto', Arial, sans-serif); font-size: 15px; line-height: 1.5;
}
.mt-pm *, .mt-pm *::before, .mt-pm *::after { box-sizing: border-box; }
.mt-pm-wrap { max-width: 1280px; margin-inline: auto; padding-inline: 24px; }
.mt-pm-hero { padding-block: 40px 28px; --mt-karolaj-yukseklik: 320px; }
.mt-pm-crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 20px; padding: 0; font-size: 13px; color: var(--pm-muted); }
.mt-pm-crumbs li + li::before { content: '/'; margin-inline-end: 6px; color: var(--pm-line); }
.mt-pm-crumbs a { color: var(--pm-muted); text-decoration: none; }
.mt-pm-crumbs a:hover { color: var(--pm-red); }
.mt-pm-eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--pm-slate); }
.mt-pm-h1 { margin: 0 0 12px; font-family: var(--mt-font-display, 'Teko', sans-serif); font-weight: 500; font-size: clamp(34px, 5vw, 52px); line-height: 1; color: var(--pm-ink); text-transform: none; }
.mt-pm-lead { max-width: 760px; margin: 0; color: var(--pm-slate); font-size: 16px; }
.mt-pm-draft { display: inline-block; margin: 12px 0 0; padding: 2px 10px; border: 1px dashed var(--pm-warn); border-radius: 999px; color: var(--pm-warn); background: var(--pm-warn-bg); font-size: 12px; }
.mt-pm-body { padding-block: 8px 64px; }
.mt-pm-loading, .mt-pm-note { color: var(--pm-muted); font-size: 13px; margin: 8px 0 0; }
.mt-pm-h2 { margin: 0; font-family: var(--mt-font-display, 'Teko', sans-serif); font-weight: 500; font-size: 24px; line-height: 1; color: var(--pm-ink); }
.mt-pm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- yerleşim ---- */
.mt-pm-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.mt-pm-side, .mt-pm-main { background: var(--pm-surface); border: 1px solid var(--pm-line-soft); border-radius: var(--pm-radius); }
.mt-pm-side { position: sticky; top: calc(var(--mt-header-h, 76px) + 16px); display: grid; gap: 18px; padding: 20px; }
.mt-pm-side__head { display: flex; align-items: center; justify-content: space-between; }
.mt-pm-side__head .mt-pm-icon, .mt-pm-only-m { display: none; }
.mt-pm-side__actions { display: grid; gap: 8px; }
.mt-pm-main { padding: 16px 20px 20px; min-width: 0; }
.mt-pm-fs { border: 0; margin: 0; padding: 0; min-width: 0; }
.mt-pm-fs legend, .mt-pm-field, .mt-pm-rng__top { font-size: 13px; font-weight: 500; color: var(--pm-slate); }
.mt-pm-fs legend { margin-bottom: 8px; padding: 0; }
.mt-pm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mt-pm-chip { position: relative; cursor: pointer; }
.mt-pm-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mt-pm-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--pm-line); border-radius: 999px; font-size: 13px; color: var(--pm-muted); background: #fff; }
.mt-pm-chip input:checked + span { border-color: var(--pm-ink); color: var(--pm-ink); }
.mt-pm-chip input:focus-visible + span { outline: 2px solid var(--pm-red); outline-offset: 2px; }
.mt-pm-field { display: grid; gap: 6px; }
.mt-pm select { width: 100%; min-height: 40px; padding: 6px 10px; border: 1px solid var(--pm-line); border-radius: 8px; background: #fff; color: var(--pm-ink); font: inherit; font-size: 14px; }
.mt-pm-rng { display: grid; gap: 8px; }
.mt-pm-rng__top { display: flex; justify-content: space-between; gap: 8px; }
.mt-pm-rng output { font-weight: 400; color: var(--pm-ink); font-variant-numeric: tabular-nums; }
.mt-pm input[type=range] { width: 100%; accent-color: var(--pm-red); margin: 0; min-height: 24px; }

/* ---- düğmeler ---- */
.mt-pm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--pm-line); background: #fff; color: var(--pm-ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none; text-align: center; }
.mt-pm-btn:hover { border-color: var(--pm-ink); }
.mt-pm-btn--primary { background: var(--pm-red); border-color: var(--pm-red); color: #fff; }
.mt-pm-btn--primary:hover { background: var(--mt-red-hover, #BD000C); border-color: var(--mt-red-hover, #BD000C); }
.mt-pm-btn--sm { min-height: 32px; padding: 4px 12px; font-size: 13px; }
.mt-pm-btn:focus-visible, .mt-pm-code:focus-visible, .mt-pm-seg button:focus-visible, .mt-pm-link:focus-visible, .mt-pm-icon:focus-visible { outline: 2px solid var(--pm-red); outline-offset: 2px; }
.mt-pm-icon { width: 36px; height: 36px; border: 1px solid var(--pm-line); border-radius: 50%; background: #fff; font-size: 20px; line-height: 1; cursor: pointer; color: var(--pm-ink); }
.mt-pm-link { color: var(--pm-ink); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--pm-line); }
.mt-pm-link:hover { color: var(--pm-red); text-decoration-color: currentColor; }

/* ---- üst çubuk ---- */
.mt-pm-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.mt-pm-bar__r { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mt-pm-seg { display: inline-flex; padding: 3px; border: 1px solid var(--pm-line); border-radius: 999px; background: #F3F4F6; }
.mt-pm-seg button { min-height: 34px; padding: 4px 14px; border: 0; border-radius: 999px; background: transparent; color: var(--pm-muted); font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.mt-pm-seg button[aria-pressed=true] { background: #fff; color: var(--pm-ink); box-shadow: 0 1px 2px rgba(20, 20, 20, .12); }
.mt-pm-count { font-size: 13px; color: var(--pm-muted); font-variant-numeric: tabular-nums; }
.mt-pm-sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--pm-muted); }
.mt-pm-sort select { width: auto; min-height: 34px; }
.mt-pm-excl { margin: 0 0 12px; padding: 8px 12px; border-inline-start: 2px solid var(--pm-warn); background: var(--pm-warn-bg); color: var(--pm-warn); font-size: 13px; border-radius: 0 6px 6px 0; }
[dir=rtl] .mt-pm-excl { border-radius: 6px 0 0 6px; }
.mt-pm-empty { margin: 24px 0; text-align: center; color: var(--pm-muted); }
.mt-pm-hint { margin: 10px 0 0; font-size: 13px; color: var(--pm-muted); }

/* ---- 2D harita ---- */
.mt-pm-chart { border: 1px solid var(--pm-line-soft); border-radius: 8px; background:
  linear-gradient(rgb(20 24 28 / .03) 1px, transparent 1px) 0 0 / 20px 20px, linear-gradient(90deg, rgb(20 24 28 / .03) 1px, transparent 1px) 0 0 / 20px 20px, #FCFCFD; }
.mt-pm-chart svg { display: block; width: 100%; height: auto; }
.mt-pm-chart .g { stroke: var(--pm-line-soft); stroke-width: 1; }
.mt-pm-chart .ax { stroke: var(--pm-muted); stroke-width: 1; }
.mt-pm-chart .tk { font: 11px var(--mt-font-body, Roboto, Arial, sans-serif); fill: var(--pm-muted); }
.mt-pm-chart .tk--band { font-size: 10.5px; }
.mt-pm-chart .lb { font: 500 12px var(--mt-font-body, Roboto, Arial, sans-serif); fill: var(--pm-slate); }
.mt-pm-chart .band { fill: rgb(138 90 0 / .07); stroke: rgb(138 90 0 / .35); stroke-dasharray: 3 3; }
.mt-pm-chart .band--miss { fill: rgb(105 114 125 / .06); stroke: rgb(105 114 125 / .35); }
.mt-pm-chart .p { cursor: pointer; outline: none; }
.mt-pm-chart .p .hit { fill: transparent; }
.mt-pm-chart .p .dot { stroke: #fff; stroke-width: 1.5; transition: r .15s var(--mt-ease, ease); }
.mt-pm-chart .p--em .dot { fill: var(--pm-em); }
.mt-pm-chart .p--pn .dot { fill: var(--pm-pn); }
.mt-pm-chart .p--light .dot { fill: var(--pm-light); }
.mt-pm-chart .p.is-hollow .dot { fill: #fff; stroke-width: 1.6; stroke-dasharray: 2.2 1.6; }
.mt-pm-chart .p--em.is-hollow .dot { stroke: var(--pm-em); }
.mt-pm-chart .p--pn.is-hollow .dot { stroke: var(--pm-pn); }
.mt-pm-chart .p.is-dim { cursor: default; }
.mt-pm-chart .p.is-dim .dot { opacity: .16; }
.mt-pm-chart .p:hover .dot, .mt-pm-chart .p:focus-visible .dot { stroke: var(--pm-red); stroke-width: 2.5; stroke-dasharray: none; }
.mt-pm-chart .p.is-sel .dot { stroke: var(--pm-red); stroke-width: 3; stroke-dasharray: none; }
.mt-pm-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 12.5px; color: var(--pm-slate); }
.mt-pm-legend span { display: inline-flex; align-items: center; gap: 6px; }
.mt-pm-dot { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; vertical-align: middle; background: var(--pm-em); }
.mt-pm-dot--pn { background: var(--pm-pn); }
.mt-pm-dot--light { background: var(--pm-light); }
.mt-pm-dot--hollow { background: #fff; border: 1.6px dashed var(--pm-em); }
.mt-pm-dot--band { width: 18px; border-radius: 3px; background: rgb(138 90 0 / .1); border: 1px dashed rgb(138 90 0 / .5); }

/* ---- tablolar (matris, liste) ---- */
.mt-pm-table { overflow-x: auto; border: 1px solid var(--pm-line-soft); border-radius: 8px; }
.mt-pm-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.mt-pm-table th, .mt-pm-table td { padding: 10px 12px; text-align: start; border-bottom: 1px solid var(--pm-line-soft); vertical-align: middle; }
.mt-pm-table thead th { position: sticky; top: 0; background: #F6F7F8; color: var(--pm-slate); font-weight: 500; font-size: 12.5px; white-space: nowrap; }
.mt-pm-table tbody tr:last-child > * { border-bottom: 0; }
.mt-pm-table .n { text-align: end; font-variant-numeric: tabular-nums; }
.mt-pm-table tbody th { font-weight: 500; white-space: nowrap; }
.mt-pm-table tbody tr:hover { background: #FAFAFB; }
.mt-pm-table tr.is-sel { background: var(--mt-red-soft, #FDECEC); }
.mt-pm-matrix tbody tr { cursor: pointer; }
.mt-pm-matrix tbody tr:focus-visible { outline: 2px solid var(--pm-red); outline-offset: -2px; }
.mt-pm-range { position: relative; display: block; height: 6px; min-width: 120px; border-radius: 3px; background: var(--pm-line-soft); margin-bottom: 4px; }
.mt-pm-range::after { content: ''; position: absolute; inset-block: 0; inset-inline-start: var(--a); width: calc(var(--b) - var(--a)); border-radius: 3px; background: var(--pm-em); }
.mt-pm-range--pn::after { background: var(--pm-pn); }
.mt-pm-range--light::after { background: var(--pm-light); }
.mt-pm-rtxt { font-size: 12.5px; color: var(--pm-slate); font-variant-numeric: tabular-nums; }
.mt-pm-rtxt small, .mt-pm-unv { color: var(--pm-warn); font-size: 11.5px; }
.mt-pm-code { padding: 0; border: 0; background: none; color: var(--pm-ink); font: inherit; font-weight: 500; cursor: pointer; text-align: start; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.mt-pm-code:hover { color: var(--pm-red); }
.mt-pm-v { font-variant-numeric: tabular-nums; white-space: nowrap; }
.mt-pm-v.is-unv { color: var(--pm-muted); text-decoration: underline dotted; text-underline-offset: 3px; }
.mt-pm-st { display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: 11px; line-height: 1.5; white-space: nowrap; }
.mt-pm-st--conflict, .mt-pm-st--unverified { color: var(--pm-warn); background: var(--pm-warn-bg); border: 1px solid rgb(138 90 0 / .25); }
.mt-pm-st--missing { color: var(--pm-muted); background: #F1F2F4; border: 1px solid var(--pm-line-soft); }
.mt-pm-go { text-align: end; }

/* ---- model bilgi paneli ---- */
.mt-pm-scrim { position: fixed; inset: 0; z-index: 9998; background: rgb(20 20 20 / .32); opacity: 0; pointer-events: none; transition: opacity .2s; }
.mt-pm-scrim.is-open { opacity: 1; pointer-events: auto; }
.mt-pm-drawer { position: fixed; z-index: 9999; inset-block: 0; inset-inline-end: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: #fff; box-shadow: -12px 0 32px rgb(18 18 23 / .14); transform: translateX(105%); visibility: hidden; transition: transform .25s var(--mt-ease, ease), visibility 0s .25s; outline: none; }
[dir=rtl] .mt-pm-drawer { transform: translateX(-105%); box-shadow: 12px 0 32px rgb(18 18 23 / .14); }
.mt-pm-drawer.is-open { transform: none; visibility: visible; transition: transform .25s var(--mt-ease, ease); }
.mt-pm-drawer__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 12px; border-bottom: 1px solid var(--pm-line-soft); }
.mt-pm-drawer__title { margin: 0; font-family: var(--mt-font-display, 'Teko', sans-serif); font-weight: 500; font-size: 30px; line-height: 1; color: var(--pm-ink); direction: ltr; unicode-bidi: isolate; text-align: start; }
.mt-pm-drawer__body { flex: 1; overflow-y: auto; padding: 16px 20px; display: grid; gap: 12px; align-content: start; }
.mt-pm-drawer__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--pm-line-soft); display: grid; gap: 12px; }
.mt-pm-foot-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
.mt-pm-dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--pm-line-soft); border: 1px solid var(--pm-line-soft); border-radius: 8px; overflow: hidden; }
.mt-pm-dl div { background: #fff; padding: 10px 12px; }
.mt-pm-dl dt { font-size: 12px; color: var(--pm-muted); }
.mt-pm-dl dd { margin: 2px 0 0; font-weight: 500; }
.mt-pm-msabox { padding: 12px 14px; border: 1px solid var(--pm-line-soft); border-inline-start: 2px solid var(--pm-red); border-radius: 8px; background: #FBFBFC; }
.mt-pm-sent { margin: 4px 0 0; padding-inline-start: 18px; font-size: 14px; }
html.mt-pm-lock { overflow: hidden; }

/* ---- mobil ---- */
@media (max-width: 1024px) {
  .mt-pm-layout { grid-template-columns: minmax(0, 1fr); }
  .mt-pm-only-m { display: inline-flex; }
  .mt-pm-side { position: fixed; z-index: 9999; inset-inline: 0; bottom: 0; top: auto; max-height: 86vh; overflow-y: auto; border-radius: 16px 16px 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom));
    transform: translateY(105%); visibility: hidden; transition: transform .25s var(--mt-ease, ease), visibility 0s .25s; box-shadow: 0 -12px 32px rgb(18 18 23 / .14); }
  .mt-pm-side.is-open { transform: none; visibility: visible; transition: transform .25s var(--mt-ease, ease); }
  .mt-pm-side__head .mt-pm-icon { display: inline-block; }
}
@media (max-width: 720px) {
  .mt-pm-wrap { padding-inline: 16px; }
  .mt-pm-hero { padding-block: 28px 20px; }
  .mt-pm-main { padding: 12px; }
  .mt-pm-seg { width: 100%; }
  .mt-pm-seg button { flex: 1; padding-inline: 6px; font-size: 12.5px; white-space: normal; line-height: 1.2; }
  .mt-pm-bar__r { width: 100%; justify-content: space-between; }
  /* grafik: yatay kaydırma, dokunma hedefleri büyük (görünmez 11 px yarıçaplı alan) */
  .mt-pm-chart { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .mt-pm-chart svg { min-width: 600px; }
  /* tablolar kartlara dönüşür */
  .mt-pm-table { border: 0; overflow: visible; }
  .mt-pm-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mt-pm-table table, .mt-pm-table tbody, .mt-pm-table tr, .mt-pm-table th, .mt-pm-table td { display: block; }
  .mt-pm-table tr { margin-bottom: 10px; padding: 10px 12px; border: 1px solid var(--pm-line-soft); border-radius: 10px; background: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .mt-pm-table th, .mt-pm-table td { padding: 0; border: 0; text-align: start; }
  .mt-pm-table .n { text-align: start; }
  .mt-pm-table tbody th { grid-column: 1 / -1; font-size: 15px; }
  .mt-pm-table td[data-label]::before { content: attr(data-label); display: block; font-size: 11.5px; color: var(--pm-muted); }
  .mt-pm-table .mt-pm-go { grid-column: 1 / -1; text-align: start; }
  .mt-pm-range { min-width: 0; }
  .mt-pm-drawer { inset-block: auto 0; width: 100%; max-height: 90vh; border-radius: 16px 16px 0 0; transform: translateY(105%); }
  [dir=rtl] .mt-pm-drawer { transform: translateY(105%); }
  .mt-pm-drawer.is-open { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .mt-pm *, .mt-pm-drawer, .mt-pm-side, .mt-pm-scrim { transition: none !important; } }
.mt-pm-code--sib { color: var(--pm-red); text-decoration: underline; text-underline-offset: 3px; }

/* ---- sitenin genel (Elementor kit) h2/a/button stillerine karşı: bu sayfanın kendi değerleri ---- */
main.mt-pm .mt-pm-only-m { display: none; }
main.mt-pm h2.mt-pm-h2 { font-family: var(--mt-font-display, 'Teko', sans-serif); font-size: 24px; font-weight: 500; line-height: 1; letter-spacing: 0; margin: 0; color: var(--pm-ink); }
main.mt-pm h2.mt-pm-drawer__title { font-size: 30px; margin: 0; letter-spacing: 0; }
main.mt-pm a { font-family: var(--mt-font-body, 'Roboto', Arial, sans-serif); }
main.mt-pm .mt-pm-crumbs a, main.mt-pm .mt-pm-crumbs li { font-size: 13px; font-weight: 400; }
main.mt-pm a.mt-pm-link { font-size: 14px; font-weight: 400; }
main.mt-pm button.mt-pm-code { background: none; border: 0; padding: 0; color: var(--pm-ink); font-size: inherit; font-weight: 500; text-transform: none; letter-spacing: 0; border-radius: 0; box-shadow: none; min-height: 0; }
main.mt-pm button.mt-pm-code:hover, main.mt-pm button.mt-pm-code--sib { color: var(--pm-red); background: none; }
main.mt-pm .mt-pm-seg button, main.mt-pm button.mt-pm-btn, main.mt-pm button.mt-pm-icon { text-transform: none; letter-spacing: 0; box-shadow: none; }
main.mt-pm .mt-pm-seg button:not([aria-pressed=true]) { background: transparent; }
main.mt-pm button.mt-pm-btn:not(.mt-pm-btn--primary) { background: #fff; color: var(--pm-ink); }
main.mt-pm button.mt-pm-icon { background: #fff; color: var(--pm-ink); padding: 0; }
@media (max-width: 1024px) { main.mt-pm .mt-pm-only-m { display: inline-flex; } }

/* ===== UI düzeltmesi (2026-11-05 akşam): başlık aksı, eşit panel yükseklikleri, grafik etiket ayrımı, footer/Destek ===== */
/* sayfa: içerik kısa olsa da footer ekranın altında; footer altında boşluk yok */
main.mt-pm { min-height: calc(100vh - var(--mt-header-h, 76px) - 72px); min-height: calc(100svh - var(--mt-header-h, 76px) - 72px); }
/* panel açıkken yüzen Destek balonu düğmeleri örtmesin */
html.mt-pm-lock #mtChat { display: none !important; }

/* başlık bloğu: breadcrumb, etiket, başlık ve açıklama aynı aksta; dikey boşluklar 16 / 10 / 14 */
.mt-pm-hero { padding-block: 32px 28px; }
main.mt-pm .mt-pm-crumbs { margin: 0 0 16px; line-height: 20px; }
main.mt-pm .mt-pm-eyebrow { margin: 0 0 10px; line-height: 16px; }
main.mt-pm h1.mt-pm-h1 { max-width: 880px; margin: 0 0 14px; font-size: clamp(36px, 4.2vw, 52px); line-height: 1.02; letter-spacing: 0; }
main.mt-pm .mt-pm-lead { max-width: 720px; margin: 0; font-size: 16px; line-height: 1.6; color: var(--pm-slate); }
main.mt-pm .mt-pm-draft { margin-top: 14px; }
.mt-pm-body { padding-block: 8px 72px; }

/* paneller: aynı grid satırında, dış yükseklikleri eşit */
.mt-pm-layout { align-items: stretch; }
.mt-pm-side { position: static; display: flex; flex-direction: column; gap: 18px; }
.mt-pm-side__body { display: flex; flex-direction: column; gap: 18px; flex: 0 0 auto; }
/* Sinan 2026-11-09 13:08: alt butonlar panel dibine değil, doğrudan Maks. kapalı boy altına */
.mt-pm-side__actions { margin-top: 0; padding-top: 4px; }
.mt-pm-nfilt { font-family: var(--mt-font-body, Roboto, Arial, sans-serif); font-size: 13px; font-weight: 500; color: var(--pm-red); vertical-align: middle; }
.mt-pm-main { display: flex; flex-direction: column; }
.mt-pm-panes { position: relative; flex: 1; display: flex; flex-direction: column; }
.mt-pm-panes > [data-pane] { flex: 1; }
/* sekme değişiminde kart yüksekliği sabit: matris/liste, harita görünümünün yüksekliğinde kalır, fazlası tablonun içinde kayar */
.mt-pm-panes > [data-pane=matrix], .mt-pm-panes > [data-pane=list] { min-height: var(--pm-pane-h, 0px); }
.mt-pm-panes > [data-pane=matrix] .mt-pm-table { max-height: calc(var(--pm-pane-h, 640px) - 44px); overflow: auto; }
.mt-pm-panes > [data-pane=list] .mt-pm-table { max-height: var(--pm-pane-h, 640px); overflow: auto; }

/* grafik: çizim alanı, x başlığı ve alt şeritler ayrı satırlarda; şerit açıklamaları grafiğin altındaki açıklama bölümünde */
.mt-pm-chart { overflow: hidden; }
.mt-pm-chart .lb { font-size: 12.5px; font-weight: 500; fill: var(--pm-ink); }
.mt-pm-chart .sep { stroke: var(--pm-line); stroke-width: 1; stroke-dasharray: 2 3; }
.mt-pm-chart .tk--key { font-size: 12px; font-weight: 700; fill: var(--pm-slate); }
.mt-pm-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--pm-line-soft); border-radius: 8px; background: #FBFBFC; font-size: 12.5px; color: var(--pm-slate); }
.mt-pm-legend__g { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mt-pm-legend__g span { display: flex; align-items: center; gap: 8px; line-height: 1.35; }
.mt-pm-legend__t { margin: 0 0 2px; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--pm-muted); }
.mt-pm-legend__note { grid-column: 1 / -1; margin: 0; padding-top: 8px; border-top: 1px solid var(--pm-line-soft); font-size: 12px; color: var(--pm-muted); }
.mt-pm-dot--sel { background: #fff; border: 2.5px solid var(--pm-red); }
.mt-pm-bandkey { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 26px; height: 18px; border-radius: 3px; border: 1px dashed rgb(138 90 0 / .5); background: rgb(138 90 0 / .08); font-style: normal; font-size: 12px; font-weight: 700; color: var(--pm-warn); }
.mt-pm-bandkey--miss { border-color: rgb(105 114 125 / .5); background: rgb(105 114 125 / .07); color: var(--pm-muted); }
.mt-pm-hint { margin-top: 8px; }

/* tablet/mobil: paneller alt alta; filtre paneli grafiğin üstünde, başlıktaki düğmeyle açılır (alt panel/örtü yok) */
@media (max-width: 1024px) {
  .mt-pm-side { position: static; inset: auto; transform: none; visibility: visible; max-height: none; overflow: visible; border-radius: var(--pm-radius); box-shadow: none; padding: 14px 16px; padding-bottom: 14px; transition: none; gap: 0; }
  .mt-pm-side__body { display: none; padding-top: 16px; }
  .mt-pm-side.is-open .mt-pm-side__body { display: flex; }
  .mt-pm-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .mt-pm-legend { grid-template-columns: minmax(0, 1fr); }
  .mt-pm-panes > [data-pane=matrix], .mt-pm-panes > [data-pane=list] { min-height: 0; }
  .mt-pm-panes > [data-pane=matrix] .mt-pm-table, .mt-pm-panes > [data-pane=list] .mt-pm-table { max-height: none; overflow: visible; }
  main.mt-pm h1.mt-pm-h1 { font-size: 34px; }
  main.mt-pm .mt-pm-lead { font-size: 15px; }
  .mt-pm-hero { padding-block: 24px 20px; }
}
@media (max-width: 720px) { .mt-pm-chart { overflow-x: auto; overflow-y: hidden; } }
@media (max-width: 720px) { .mt-pm-chart svg { min-width: 340px; } }

/* Filtre eylem düğmeleri: panel içinde tam genişlik ve ortalı (uzun TR metni taşmasın) */
.mt-pm-side__actions { justify-items: stretch; }
main.mt-pm .mt-pm-side__actions > .mt-pm-btn { width: 100%; min-width: 0; margin: 0; white-space: normal; text-align: center; justify-content: center; line-height: 1.3; }

/* Model listesi: sabit sütun genişlikleri (önceki düzen korunur) */
.mt-pm-table table.mt-pm-ltab { table-layout: fixed; width: max(100%, var(--pm-ltab-w, 0px)); }
.mt-pm-ltab th, .mt-pm-ltab td { overflow-wrap: anywhere; }

/* Durum bilgi ikonu: turuncu = doğrulanmadı, gri = yayımlanmamış (eski etiket renkleri) */
.mt-pm-info { position: relative; display: inline-flex; align-items: center; justify-content: center; inline-size: 20px; block-size: 20px; margin: 0; padding: 0; border-radius: 50%; font: italic 600 12px/1 Georgia, 'Times New Roman', serif; vertical-align: middle; cursor: help; }
main.mt-pm button.mt-pm-info { min-height: 0; box-shadow: none; text-transform: none; letter-spacing: 0; }
.mt-pm-info::after { content: ""; position: absolute; inset: -12px; } /* 44 px dokunma alanı, düzeni değiştirmez */
main.mt-pm button.mt-pm-info--conflict, main.mt-pm button.mt-pm-info--unverified { color: var(--pm-warn); background: var(--pm-warn-bg); border: 1px solid rgb(138 90 0 / .35); }
main.mt-pm button.mt-pm-info--missing { color: var(--pm-muted); background: #F1F2F4; border: 1px solid var(--pm-line); }
main.mt-pm button.mt-pm-info:hover, main.mt-pm button.mt-pm-info[aria-expanded=true] { border-color: currentColor; }
.mt-pm-info:focus-visible { outline: 2px solid var(--pm-red); outline-offset: 2px; }

/* Bilgi baloncuğu (body'ye bağlı, sabit konum) */
.mt-pm-tip { position: fixed; z-index: 2147483000; max-inline-size: min(260px, calc(100vw - 16px)); padding: 7px 10px; border-radius: 6px; background: #1F2329; color: #fff; font: 500 12.5px/1.4 Roboto, system-ui, sans-serif; box-shadow: 0 4px 14px rgb(0 0 0 / .18); pointer-events: none; }
.mt-pm-tip[hidden] { display: none; }
.mt-pm-tip::after { content: ""; position: absolute; top: 100%; left: var(--pm-tip-ax, 50%); margin-left: -5px; border: 5px solid transparent; border-top-color: #1F2329; }
.mt-pm-tip.is-below::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #1F2329; }
.mt-pm-tip--unv { border-top: 2px solid #E0A33A; }
.mt-pm-tip--missing { border-top: 2px solid #A9AEB6; }
@media (max-width: 720px) {
  .mt-pm-table table.mt-pm-ltab { width: auto; table-layout: auto; }
  .mt-pm-ltab colgroup { display: none; }
}
.mt-pm-info { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* ===== Seri matrisi ve model listesi: prototip görsel dili (2026-11-05) ===== */
.mt-pm { --pm-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace; }

/* Seri matrisi: beyaz kart, ince satır çizgileri, zebra ve dikey çizgi yok */
main.mt-pm .mt-pm-matrix { background: #fff; border: 1px solid var(--pm-line-soft); border-radius: 10px; }
main.mt-pm .mt-pm-matrix table { border: 0; margin: 0; font-size: 14.5px; }
main.mt-pm .mt-pm-matrix th, main.mt-pm .mt-pm-matrix td { padding: 14px 18px; background: transparent; border: 0; border-bottom: 1px solid var(--pm-line-soft); vertical-align: middle; }
main.mt-pm .mt-pm-matrix tbody tr:last-child > * { border-bottom: 0; }
main.mt-pm .mt-pm-matrix thead th { position: sticky; top: 0; z-index: 1; background: #F6F7F8; font: 600 11px/1.2 var(--pm-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--pm-muted); white-space: nowrap; }
main.mt-pm .mt-pm-matrix tbody th { font: 700 14.5px var(--pm-mono); color: var(--pm-ink); white-space: nowrap; }
main.mt-pm .mt-pm-matrix tbody td { color: var(--pm-slate); font-variant-numeric: tabular-nums; }
main.mt-pm .mt-pm-matrix .n { font-family: var(--pm-mono); }
main.mt-pm .mt-pm-matrix tbody tr:hover > * { background: #F8F9FA; }
.mt-pm-matrix td:nth-child(3), .mt-pm-matrix td:nth-child(4) { min-width: 150px; }
.mt-pm-matrix .mt-pm-range { margin-bottom: 0; background: #DFE2E5; }
.mt-pm-matrix .mt-pm-range--em::after, .mt-pm-matrix .mt-pm-dot--em, .mt-pm-mcards .mt-pm-dot--em { background: var(--pm-red); }
.mt-pm-matrix .mt-pm-range--pn::after { background: #1F5F8B; }
.mt-pm-matrix .mt-pm-dot--pn, .mt-pm-mcards .mt-pm-dot--pn { background: #1F5F8B; }
.mt-pm-matrix .mt-pm-dot, .mt-pm-mcards .mt-pm-dot { width: 8px; height: 8px; }
.mt-pm-matrix .mt-pm-rtxt { display: block; margin-top: 4px; font: 500 10.5px var(--pm-mono); color: var(--pm-muted); }
.mt-pm-matrix .mt-pm-rtxt small, .mt-pm-matrix .mt-pm-unv { font-family: inherit; font-size: 10.5px; }

/* Model listesi: kart ızgarası */
.mt-pm-mcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; align-content: start; }
.mt-pm-mcard { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 16px; background: #fff; border: 1px solid var(--pm-line); border-radius: 10px; transition: border-color .15s; }
.mt-pm-mcard:hover, .mt-pm-mcard:focus-within { border-color: var(--pm-red); }
.mt-pm-mcard.is-sel { box-shadow: inset 0 0 0 1px var(--pm-red); border-color: var(--pm-red); background: #FFFAFA; }
.mt-pm-mcard__sil { display: block; block-size: 96px; }
.mt-pm-sil { display: block; inline-size: 100%; block-size: 100%; }
.mt-pm-sil .s-sec { fill: #9AA0A6; stroke: #5D646A; stroke-width: .6; }
.mt-pm-sil .s-sec:nth-child(even) { fill: #BCC1C6; }
.mt-pm-sil .s-base { fill: #DFE2E5; stroke: #B4BABF; stroke-width: .6; }
.mt-pm-sil .s-head { fill: var(--pm-red); }
.mt-pm-sil .s-ground { stroke: #B4BABF; }
.mt-pm-sil .s-dim { stroke: var(--pm-red); stroke-width: .8; }
.mt-pm-sil.is-unv .s-dim { stroke-dasharray: 2 2; }
.mt-pm-mcard__body { min-width: 0; }
main.mt-pm .mt-pm-mcard__code { margin: 0; font: 700 14px/1.3 var(--pm-mono); letter-spacing: 0; text-transform: none; }
main.mt-pm .mt-pm-mcard__code .mt-pm-code { all: unset; cursor: pointer; overflow-wrap: anywhere; color: var(--pm-ink); font: inherit; }
.mt-pm-mcard__code .mt-pm-code::after { content: ""; position: absolute; inset: 0; border-radius: 10px; } /* kartın tamamı tıklanabilir */
.mt-pm-mcard__code .mt-pm-code:focus-visible { outline: none; }
.mt-pm-mcard:has(.mt-pm-code:focus-visible) { outline: 2px solid var(--pm-red); outline-offset: 2px; }
.mt-pm-mcard__meta { margin: 4px 0 0; font-size: 12px; color: var(--pm-muted); }
.mt-pm-mcard__dl { margin: 8px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; align-items: center; font-size: 12px; }
.mt-pm-mcard__dl dt { color: var(--pm-muted); }
.mt-pm-mcard__dl dd { margin: 0; font-family: var(--pm-mono); color: var(--pm-ink); font-variant-numeric: tabular-nums; }
.mt-pm-mcard .mt-pm-info { position: relative; z-index: 2; } /* ikon kartın tıklama katmanının üstünde */
.mt-pm-mcard .mt-pm-v.is-unv { font-family: var(--pm-mono); }

/* sekme yüksekliği sabit: kart ızgarası harita yüksekliğinde, fazlası içinde kayar */
.mt-pm-panes > [data-pane=list] .mt-pm-mcards { max-height: var(--pm-pane-h, 640px); overflow: auto; padding: 2px; }
@media (max-width: 1024px) {
  .mt-pm-panes > [data-pane=list] .mt-pm-mcards { max-height: none; overflow: visible; }
}
@media (max-width: 720px) {
  main.mt-pm .mt-pm-matrix { border: 0; background: transparent; }
  main.mt-pm .mt-pm-matrix tbody tr { border: 1px solid var(--pm-line-soft); }
  main.mt-pm .mt-pm-matrix th, main.mt-pm .mt-pm-matrix td { padding: 0; border: 0; }
  .mt-pm-mcards { grid-template-columns: 1fr; }
}
main.mt-pm .mt-pm-matrix th, main.mt-pm .mt-pm-matrix td { padding: 13px 12px; }
main.mt-pm .mt-pm-matrix thead th { letter-spacing: .06em; }
.mt-pm-matrix td:nth-child(3), .mt-pm-matrix td:nth-child(4) { min-width: 130px; }
.mt-pm-matrix .mt-pm-range { min-width: 0; }
main.mt-pm .mt-pm-matrix td:last-child { white-space: normal; min-width: 120px; }

/* Filtre eylemleri: iki düğme aynı yükseklik/font; MSA düğmesi tek satır, kırmızı metin + kırmızı kenarlık, beyaz kapsül */
main.mt-pm .mt-pm-side__actions > .mt-pm-btn { min-height: 40px; padding: 8px 12px; font-size: 13.5px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
main.mt-pm .mt-pm-side__actions > button.mt-pm-btn[data-pm-msa-filters] { color: var(--pm-red); background: #fff; border: 1px solid var(--pm-red); font-weight: 500; }
main.mt-pm .mt-pm-side__actions > button.mt-pm-btn[data-pm-msa-filters]:hover { color: var(--mt-red-hover, #BD000C); border-color: var(--mt-red-hover, #BD000C); background: #FFF5F5; }
main.mt-pm .mt-pm-side__actions > button.mt-pm-btn[data-pm-msa-filters]:active { background: #FDECEC; }
main.mt-pm .mt-pm-side__actions > button.mt-pm-btn[data-pm-msa-filters]:focus-visible { outline: 2px solid var(--pm-red); outline-offset: 2px; }
