/* Prizmetre Core: minimal, tema renk ve yazı tipini devralır. Harici font yok. */
.pm-core { --pm-line: rgba(128,128,128,.35); --pm-soft: rgba(128,128,128,.1); line-height: 1.5; max-width: 100%; }
.pm-core *, .pm-core *::before, .pm-core *::after { box-sizing: border-box; }
.pm-core [hidden] { display: none !important; }
.pm-core .pm-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.pm-core .pm-box { border: 1px solid var(--pm-line); border-radius: 8px; padding: 1rem; margin: 0 0 1rem; }
.pm-core h3 { margin: 0 0 .75rem; font-size: 1.1em; }
.pm-core .pm-muted { opacity: .75; font-size: .9em; display: block; margin-top: .25rem; }
.pm-core label { display: block; font-weight: 600; margin-bottom: .25rem; }
.pm-core .pm-radio { display: inline-flex; align-items: center; gap: .35rem; font-weight: 400; margin: 0 1rem .5rem 0; }
.pm-core input[type="text"], .pm-core input[type="number"], .pm-core input[type="search"], .pm-core select { width: 100%; max-width: 28rem; padding: .55rem .6rem; font: inherit; color: inherit; background: transparent; border: 1px solid var(--pm-line); border-radius: 6px; min-height: 44px; }
.pm-core input[type="file"] { max-width: 100%; }
.pm-core button { font: inherit; padding: .6rem 1.2rem; min-height: 44px; border-radius: 6px; cursor: pointer; }
.pm-core fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.pm-core legend { font-weight: 600; padding: 0; margin-bottom: .4rem; }
.pm-core .pm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.pm-core .pm-msg { padding: .6rem .8rem; border-radius: 6px; border-left: 4px solid currentColor; background: var(--pm-soft); }
.pm-core .pm-msg-ok { border-left-color: #2e7d32; }
.pm-core .pm-msg-warn { border-left-color: #b26a00; }
.pm-core .pm-msg-err { border-left-color: #c62828; }
.pm-core .pm-list { margin: 0 0 .75rem; padding-left: 1.1rem; }
.pm-core details > summary { cursor: pointer; font-weight: 600; padding: .4rem 0; }
.pm-core .pm-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pm-core .pm-table { width: 100%; border-collapse: collapse; font-size: .95em; }
.pm-core .pm-table th, .pm-core .pm-table td { text-align: left; padding: .45rem .5rem; border-bottom: 1px solid var(--pm-line); vertical-align: top; }
.pm-core .pm-filters { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: flex-end; margin-bottom: 1rem; }
.pm-core .pm-filters p { margin: 0; flex: 1 1 10rem; }
.pm-core .pm-filters p:last-child { flex: 0 0 auto; }
.pm-core .pm-big { font-size: 2em; font-weight: 700; margin: .25rem 0; line-height: 1.2; }
.pm-core .pm-big small { font-size: .45em; font-weight: 400; }
.pm-core .pm-dl { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin: 0 0 1rem; }
.pm-core .pm-dl dt { font-weight: 600; }
.pm-core .pm-dl dd { margin: 0; }
.pm-core .pm-badge { display: inline-block; padding: .1rem .5rem; border-radius: 999px; border: 1px solid var(--pm-line); font-size: .9em; }
.pm-core .pm-hist { margin: 1rem 0; }
.pm-core .pm-hist figcaption { font-weight: 600; margin-bottom: .4rem; }
.pm-core .pm-pager a, .pm-core .pm-pager span { display: inline-block; padding: .3rem .55rem; }
@media (max-width: 480px) {
	.pm-core .pm-cols { grid-template-columns: 1fr; }
	.pm-core .pm-dl { grid-template-columns: 1fr; }
	.pm-core .pm-dl dd { margin-bottom: .4rem; }
}

/* Ana sayfa: [prizmetre_son_modeller] ve [prizmetre_markalar] (1.0.1). Renkler temadaki --pm-* değişkenlerinden gelir. */
.pm-home-models { --pmh-primary: var(--pm-primary, #17483F); --pmh-text: var(--pm-text, #202923); --pmh-muted: var(--pm-muted, #64716B); --pmh-official: var(--pm-official, #7A847F); --pmh-line: var(--pm-line, #DDE3DE); }
.pm-home-models .pm-model-table { width: 100%; border-collapse: collapse; font-size: 13px; color: var(--pmh-text); }
.pm-home-models .pm-model-table th { font-size: 11px; line-height: 1.3; color: var(--pmh-muted); text-align: left; font-weight: 700; padding: 10px 8px; border-bottom: 1px solid var(--pmh-line); vertical-align: bottom; }
.pm-home-models .pm-model-table td { padding: 10px 8px; border-bottom: 1px solid var(--pmh-line); vertical-align: middle; }
.pm-home-models .pm-model-table tbody tr { position: relative; transition: background .12s; }
.pm-home-models .pm-model-table tbody tr:hover { background: rgba(23,72,63,.035); }
.pm-home-models .pm-model-table tbody tr:last-child td { border-bottom: 0; }
.pm-home-models .pm-cell-model { min-width: 215px; }
.pm-home-models .pm-model-cell { display: flex; align-items: center; gap: 12px; }
.pm-home-models .pm-mini-car { width: 64px; height: 40px; object-fit: contain; flex: 0 0 64px; display: block; border-radius: 4px; }
.pm-home-models .pm-mini-car-empty { background: rgba(128,128,128,.08); color: var(--pmh-muted); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.pm-home-models .pm-brand-logo { object-fit: contain; padding: 4px; background: #fff; }
.pm-home-models .pm-model-name { display: block; white-space: nowrap; font-weight: 700; font-size: 14px; color: var(--pmh-text); text-decoration: none; }
.pm-home-models .pm-model-name::after { content: ""; position: absolute; inset: 0; }
.pm-home-models .pm-model-meta { display: block; white-space: nowrap; color: var(--pmh-muted); font-size: 11px; }
.pm-home-models .pm-value, .pm-home-models .pm-difference { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 17px; }
.pm-home-models .pm-model-table th small { display: block; font-weight: 400; font-size: 10px; }
.pm-home-models .pm-cmp-cell { width: 52%; }
.pm-home-models .pm-cmp { display: grid; gap: 6px; }
.pm-home-models .pm-cmp-bar { box-sizing: border-box; min-width: 118px; height: 24px; border-radius: 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px 0 10px; font-size: 12px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pm-home-models .pm-cmp-w { background: #E4E9E6; color: #3E4A44; }
.pm-home-models .pm-cmp-r { background: var(--pmh-primary); color: #fff; }
.pm-home-models .pm-cmp-empty { width: 100%; border: 1.5px dashed #C9D1CC; color: var(--pmh-muted); font-weight: 500; background: none; }
.pm-home-models .pm-pill { background: #fff; color: var(--pmh-primary); border-radius: 99px; padding: 2px 8px; font-size: 11px; font-weight: 700; }
.pm-home-models .pm-difference { font-weight: 700; }
.pm-home-models .pm-difference small { display: block; font-weight: 400; color: var(--pmh-muted); font-size: 11px; }
.pm-home-models .pm-muted-dash { color: var(--pmh-muted); font-weight: 400; }
.pm-home-models .pm-count { display: block; color: var(--pmh-muted); font-size: 12px; margin-bottom: 3px; }
.pm-home-models .pm-confidence { display: inline-block; border-radius: 4px; padding: 2px 8px; font-size: 11px; font-weight: 600; white-space: nowrap; background: #E8ECE9; color: #34433B; }
.pm-home-models .pm-confidence.low { background: #DDE8F3; color: #234A6B; }
.pm-home-models .pm-confidence.medium { background: #E6EAE7; color: #34433B; }
.pm-home-models .pm-confidence.high { background: #DCEFE3; color: #1F5A35; }
.pm-home-models .pm-confidence.insufficient { background: #F8EBD3; color: #6B4600; }
.pm-home-models .pm-go { width: 24px; color: var(--pmh-text); }
.pm-home-models .pm-go a { color: inherit; display: inline-flex; }
.pm-home-models .pm-table-note { margin: 8px 8px 4px; font-size: 11px; color: var(--pmh-muted); }
.pm-home-models .pm-empty { padding: 28px 20px; text-align: center; color: var(--pmh-muted); }
.pm-home-models .pm-empty strong { display: block; color: var(--pmh-text); font-size: 18px; margin-bottom: 6px; }
.pm-home-brands .pm-brand-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pm-home-brands .pm-brand-list li { padding: 4px 10px; border-left: 1px solid var(--pm-line, #DDE3DE); min-width: 0; }
.pm-home-brands .pm-brand-list li:first-child { border-left: 0; padding-left: 0; }
.pm-home-brands .pm-brand-list a { display: block; font-weight: 700; font-size: 13px; color: var(--pm-text, #202923); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm-home-brands .pm-brand-list span { display: block; font-size: 11px; color: var(--pm-muted, #64716B); }
.pm-home-brands .pm-brands-more { text-align: right; margin: 14px 0 0; font-size: 13px; }
.pm-home-brands .pm-brands-empty { font-size: 13px; color: var(--pm-muted, #64716B); margin: 0; }
@media (max-width: 700px) {
	.pm-home-models .pm-model-table, .pm-home-models .pm-model-table tbody, .pm-home-models .pm-model-table tr, .pm-home-models .pm-model-table td { display: block; width: 100%; }
	.pm-home-models .pm-model-table thead { display: none; }
	.pm-home-models .pm-model-table tbody { display: grid; gap: 10px; }
	.pm-home-models .pm-model-table tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; background: #fff; border: 1px solid var(--pmh-line); border-radius: 10px; padding: 12px 14px; }
	.pm-home-models .pm-model-table td { border: 0; padding: 0; width: auto; }
	.pm-home-models .pm-model-name, .pm-home-models .pm-model-meta { white-space: normal; }
	.pm-home-models .pm-cell-model { grid-column: 1 / -1; min-width: 0; padding-right: 22px !important; }
	.pm-home-models .pm-value::before, .pm-home-models .pm-difference::before { display: block; font-size: 10px; font-weight: 400; color: var(--pmh-muted); }
	.pm-home-models .pm-cmp-cell { grid-column: 1 / -1; width: auto; }
	.pm-home-models .pm-conf-cell { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; border-top: 1px solid var(--pmh-line) !important; padding-top: 8px !important; }
	.pm-home-models .pm-count { margin: 0; }
	.pm-home-models .pm-mini-car-empty { display: none; }
	.pm-home-models .pm-go { position: absolute; top: 14px; right: 12px; width: auto; }
	.pm-home-brands .pm-brand-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 10px; }
	.pm-home-brands .pm-brand-list li:nth-child(3n+1) { border-left: 0; padding-left: 0; }
}

/* Araç detay sayfası: [prizmetre_arac_detay] (1.0.9). */
.pm-detail { --pmd-primary: var(--pm-primary, #17483F); --pmd-text: var(--pm-text, #202923); --pmd-muted: var(--pm-muted, #64716B); --pmd-line: var(--pm-line, #DFE5E0); color: var(--pmd-text); }
.pm-detail .pm-dt-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--pmd-muted); margin: 0 0 14px; }
.pm-detail .pm-dt-crumbs a { color: var(--pmd-muted); text-decoration: none; }
.pm-detail .pm-dt-crumbs a:hover { color: var(--pmd-primary); text-decoration: underline; }
.pm-detail .pm-dt-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 28px; align-items: center; background: #fff; border: 1px solid var(--pmd-line); border-radius: 12px; padding: 24px; }
.pm-detail .pm-dt-id { display: flex; gap: 18px; align-items: flex-start; min-width: 0; }
.pm-detail .pm-dt-logo { flex: 0 0 76px; width: 76px; height: 76px; border: 1px solid var(--pmd-line); border-radius: 10px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.pm-detail .pm-dt-logo-img { width: 100%; height: 100%; object-fit: contain; padding: 10px; box-sizing: border-box; }
.pm-detail .pm-dt-logo-initial { font-family: var(--pm-serif, Georgia, serif); font-size: 34px; font-weight: 700; color: var(--pmd-primary); }
.pm-detail .pm-dt-brand { margin: 2px 0 0; font-size: 14px; color: var(--pmd-muted); }
.pm-detail .pm-dt-title { font-family: var(--pm-serif, Georgia, serif); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -.8px; margin: 2px 0 4px; }
.pm-detail .pm-dt-version { margin: 0 0 14px; font-size: 18px; color: #4F5B55; }
.pm-detail .pm-dt-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pm-detail .pm-dt-chips li { border: 1px solid var(--pmd-line); background: #F7F8F5; border-radius: 6px; padding: 4px 10px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pm-detail .pm-dt-chips li span { font-weight: 400; color: var(--pmd-muted); }
.pm-detail .pm-gal { display: grid; gap: 10px; min-width: 0; }
.pm-detail .pm-gal-multi { grid-template-columns: minmax(0, 1fr) 96px; align-items: start; }
.pm-detail .pm-gal-figure { margin: 0; min-width: 0; }
.pm-detail .pm-gal-main { position: relative; aspect-ratio: 16 / 10; background: #EEF1EE; border-radius: 10px; overflow: hidden; display: grid; place-items: center; }
.pm-detail .pm-gal-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.pm-detail .pm-gal-none .pm-gal-main span { color: var(--pmd-muted); font-size: 14px; }
.pm-detail .pm-gal-credit { font-size: 11px; color: var(--pmd-muted); margin-top: 6px; text-align: right; }
.pm-detail .pm-gal-thumbs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: calc((96px * 10 / 16 + 8px) * 5); overflow-y: auto; }
.pm-detail .pm-gal-thumbs a { display: block; aspect-ratio: 16 / 10; background: #EEF1EE; border: 2px solid transparent; border-radius: 7px; overflow: hidden; }
.pm-detail .pm-gal-thumbs a[aria-current="true"] { border-color: var(--pmd-primary); }
.pm-detail .pm-gal-thumbs img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pm-detail .pm-dt-body { display: grid; grid-template-columns: minmax(0, 1.72fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; align-items: start; }
.pm-detail .pm-dt-card { background: #fff; border: 1px solid var(--pmd-line); border-radius: 12px; padding: 20px 22px; min-width: 0; }
.pm-detail .pm-dt-card h2 { font-family: var(--pm-serif, Georgia, serif); font-size: 22px; margin: 0 0 14px; }
.pm-detail .pm-dt-card h2 small { font-family: var(--pm-sans, sans-serif); font-size: 13px; font-weight: 400; color: var(--pmd-muted); }
.pm-detail .pm-dt-bars { display: grid; gap: 10px; }
.pm-detail .pm-dt-bar-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); align-items: center; gap: 12px; }
.pm-detail .pm-dt-bar-label { font-size: 13px; color: var(--pmd-muted); }
.pm-detail .pm-cmp-bar { box-sizing: border-box; min-width: 84px; height: 30px; border-radius: 7px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 5px 0 12px; font-size: 14px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pm-detail .pm-cmp-w { background: #E4E9E6; color: #3E4A44; }
.pm-detail .pm-cmp-r { background: var(--pmd-primary); color: #fff; }
.pm-detail .pm-cmp-season { background: #2F6B5E; }
.pm-detail .pm-cmp-empty { width: 100%; border: 1.5px dashed #C9D1CC; color: var(--pmd-muted); font-weight: 500; font-size: 13px; background: none; }
.pm-detail .pm-pill { background: #fff; color: var(--pmd-primary); border-radius: 99px; padding: 2px 8px; font-size: 11px; font-weight: 700; }
.pm-detail .pm-dt-note { margin: 14px 0 0; font-size: 12px; color: var(--pmd-muted); }
.pm-detail .pm-dt-stats { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.pm-detail .pm-dt-stats li { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--pmd-line); font-size: 13px; }
.pm-detail .pm-dt-stats li strong { font-size: 15px; }
.pm-detail .pm-dt-stats li span { color: var(--pmd-muted); }
.pm-detail .pm-count { display: inline; margin-right: 8px; }
.pm-detail .pm-confidence { display: inline-block; border-radius: 4px; padding: 2px 8px; font-size: 11px; font-weight: 600; background: #E8ECE9; color: #34433B; }
.pm-detail .pm-confidence.low { background: #DDE8F3; color: #234A6B; }
.pm-detail .pm-confidence.high { background: #DCEFE3; color: #1F5A35; }
.pm-detail .pm-confidence.insufficient { background: #F8EBD3; color: #6B4600; }
.pm-detail .pm-dt-nodata strong { display: block; font-size: 17px; margin-bottom: 4px; }
.pm-detail .pm-dt-nodata p { margin: 0 0 16px; font-size: 13px; color: var(--pmd-muted); }
.pm-detail .pm-dt-cta { display: flex; width: 100%; box-sizing: border-box; background: var(--pmd-primary); color: #fff; text-decoration: none; border-radius: 7px; padding: 11px 16px; font-weight: 700; font-size: 14px; justify-content: center; }
@media (max-width: 860px) {
	.pm-detail .pm-dt-hero { grid-template-columns: 1fr; padding: 16px; gap: 18px; }
	.pm-detail .pm-gal { order: -1; }
	.pm-detail .pm-gal-multi { grid-template-columns: 1fr; }
	.pm-detail .pm-gal-thumbs { display: flex; gap: 8px; overflow-x: auto; max-height: none; scroll-snap-type: x mandatory; padding-bottom: 2px; }
	.pm-detail .pm-gal-thumbs li { flex: 0 0 84px; scroll-snap-align: start; }
	.pm-detail .pm-dt-body { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.pm-detail .pm-dt-logo { flex-basis: 56px; width: 56px; height: 56px; }
	.pm-detail .pm-dt-bar-row { grid-template-columns: 1fr; gap: 4px; }
	.pm-detail .pm-dt-card { padding: 16px; }
}
.pm-detail .pm-gal-none .pm-gal-main { aspect-ratio: 16 / 7; }
/* Ayrıntılı özet: dağılım çubukları. */
.pm-core .pm-hist .pm-bar { display: grid; grid-template-columns: 70px minmax(0, 1fr) 36px; align-items: center; gap: 10px; font-size: 13px; margin: 4px 0; }
.pm-core .pm-hist .pm-bar-t { height: 12px; background: #EEF1EE; border-radius: 4px; overflow: hidden; }
.pm-core .pm-hist .pm-bar-t span { display: block; height: 100%; background: var(--pm-primary, #17483F); border-radius: 4px; }
.pm-core .pm-hist .pm-bar-c { color: var(--pm-muted, #64716B); font-variant-numeric: tabular-nums; }
